@bunny.net/api-client-effect-database 0.0.0-stage → 1.0.202611301153
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/CHANGELOG.md +7 -0
- package/LICENSE +21 -0
- package/README.md +78 -2
- package/dist/mod.d.ts +24 -0
- package/dist/mod.js +24 -0
- package/dist/mod.js.map +1 -0
- package/dist/src/generated/client.d.ts +2182 -0
- package/dist/src/generated/client.js +528 -0
- package/dist/src/generated/client.js.map +1 -0
- package/dist/src/generated/schemas.d.ts +311 -0
- package/dist/src/generated/schemas.js +160 -0
- package/dist/src/generated/schemas.js.map +1 -0
- package/package.json +44 -3
|
@@ -0,0 +1,2182 @@
|
|
|
1
|
+
import { Context, Effect, Layer, Schema } from "effect";
|
|
2
|
+
import { HttpClient } from "@effect/platform";
|
|
3
|
+
import { BunnyCredentials, type BunnyClientError, type ClientOptions, type OperationFailure, type ResponseUnion, type SecurityScheme } from "@bunny.net/api-client-effect-runtime";
|
|
4
|
+
type SchemaType<S extends Schema.Schema.Any> = Schema.Schema.Type<S>;
|
|
5
|
+
export declare const securitySchemes: {
|
|
6
|
+
readonly Bearer: SecurityScheme;
|
|
7
|
+
readonly AccessKey: SecurityScheme;
|
|
8
|
+
};
|
|
9
|
+
export declare const ListConfigV3ResponseStatus200: Schema.TypeLiteral<{
|
|
10
|
+
StorageRegionAvailable: Schema.Array$<Schema.TypeLiteral<{
|
|
11
|
+
Id: typeof Schema.String;
|
|
12
|
+
Name: typeof Schema.String;
|
|
13
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
14
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
15
|
+
PrimaryRegions: Schema.Array$<Schema.TypeLiteral<{
|
|
16
|
+
Id: Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>;
|
|
17
|
+
Name: typeof Schema.String;
|
|
18
|
+
Latitude: typeof Schema.Number;
|
|
19
|
+
Longitude: typeof Schema.Number;
|
|
20
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
21
|
+
Country: Schema.TypeLiteral<{
|
|
22
|
+
Alpha2: typeof Schema.String;
|
|
23
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
24
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
25
|
+
ReplicaRegions: Schema.Array$<Schema.TypeLiteral<{
|
|
26
|
+
Id: Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>;
|
|
27
|
+
Name: typeof Schema.String;
|
|
28
|
+
Latitude: typeof Schema.Number;
|
|
29
|
+
Longitude: typeof Schema.Number;
|
|
30
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
31
|
+
Country: Schema.TypeLiteral<{
|
|
32
|
+
Alpha2: typeof Schema.String;
|
|
33
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
34
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
35
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
36
|
+
export declare const ListConfigV3ResponseStatus401: Schema.TypeLiteral<{
|
|
37
|
+
title: typeof Schema.String;
|
|
38
|
+
type: typeof Schema.String;
|
|
39
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
40
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
41
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
42
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
43
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
44
|
+
export declare const ListConfigV3ResponseStatus403: Schema.TypeLiteral<{
|
|
45
|
+
title: typeof Schema.String;
|
|
46
|
+
type: typeof Schema.String;
|
|
47
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
48
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
49
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
50
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
51
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
52
|
+
export declare const ListConfigV3ResponseStatus429: Schema.TypeLiteral<{
|
|
53
|
+
title: typeof Schema.String;
|
|
54
|
+
type: typeof Schema.String;
|
|
55
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
56
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
57
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
58
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
59
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
60
|
+
declare const ListConfigV3SuccessSchemas: {
|
|
61
|
+
readonly "200": {
|
|
62
|
+
readonly schema: Schema.TypeLiteral<{
|
|
63
|
+
StorageRegionAvailable: Schema.Array$<Schema.TypeLiteral<{
|
|
64
|
+
Id: typeof Schema.String;
|
|
65
|
+
Name: typeof Schema.String;
|
|
66
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
67
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
68
|
+
PrimaryRegions: Schema.Array$<Schema.TypeLiteral<{
|
|
69
|
+
Id: Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>;
|
|
70
|
+
Name: typeof Schema.String;
|
|
71
|
+
Latitude: typeof Schema.Number;
|
|
72
|
+
Longitude: typeof Schema.Number;
|
|
73
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
74
|
+
Country: Schema.TypeLiteral<{
|
|
75
|
+
Alpha2: typeof Schema.String;
|
|
76
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
77
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
78
|
+
ReplicaRegions: Schema.Array$<Schema.TypeLiteral<{
|
|
79
|
+
Id: Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>;
|
|
80
|
+
Name: typeof Schema.String;
|
|
81
|
+
Latitude: typeof Schema.Number;
|
|
82
|
+
Longitude: typeof Schema.Number;
|
|
83
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
84
|
+
Country: Schema.TypeLiteral<{
|
|
85
|
+
Alpha2: typeof Schema.String;
|
|
86
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
87
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
88
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
89
|
+
readonly kind: "json";
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
declare const ListConfigV3ErrorSchemas: {
|
|
93
|
+
readonly "401": {
|
|
94
|
+
readonly schema: Schema.TypeLiteral<{
|
|
95
|
+
title: typeof Schema.String;
|
|
96
|
+
type: typeof Schema.String;
|
|
97
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
98
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
99
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
100
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
101
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
102
|
+
readonly kind: "json";
|
|
103
|
+
};
|
|
104
|
+
readonly "403": {
|
|
105
|
+
readonly schema: Schema.TypeLiteral<{
|
|
106
|
+
title: typeof Schema.String;
|
|
107
|
+
type: typeof Schema.String;
|
|
108
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
109
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
110
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
111
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
112
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
113
|
+
readonly kind: "json";
|
|
114
|
+
};
|
|
115
|
+
readonly "429": {
|
|
116
|
+
readonly schema: Schema.TypeLiteral<{
|
|
117
|
+
title: typeof Schema.String;
|
|
118
|
+
type: typeof Schema.String;
|
|
119
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
120
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
121
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
122
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
123
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
124
|
+
readonly kind: "json";
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
export type ListConfigV3Success = ResponseUnion<typeof ListConfigV3SuccessSchemas>;
|
|
128
|
+
export type ListConfigV3Error = ResponseUnion<typeof ListConfigV3ErrorSchemas>;
|
|
129
|
+
export type ListConfigV3Response = ListConfigV3Success | ListConfigV3Error;
|
|
130
|
+
export type ListConfigV3Failure = OperationFailure<typeof ListConfigV3ErrorSchemas>;
|
|
131
|
+
export declare const GetOptimalConfigV3Input: Schema.Struct<{
|
|
132
|
+
query: Schema.Struct<{
|
|
133
|
+
cdnServerToken: typeof Schema.String;
|
|
134
|
+
}>;
|
|
135
|
+
}>;
|
|
136
|
+
export type GetOptimalConfigV3Input = SchemaType<typeof GetOptimalConfigV3Input>;
|
|
137
|
+
export declare const GetOptimalConfigV3ResponseStatus200: Schema.TypeLiteral<{
|
|
138
|
+
StorageRegion: Schema.TypeLiteral<{
|
|
139
|
+
Id: typeof Schema.String;
|
|
140
|
+
Name: typeof Schema.String;
|
|
141
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
142
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
143
|
+
PrimaryRegions: Schema.Array$<Schema.TypeLiteral<{
|
|
144
|
+
Id: Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>;
|
|
145
|
+
Name: typeof Schema.String;
|
|
146
|
+
Latitude: typeof Schema.Number;
|
|
147
|
+
Longitude: typeof Schema.Number;
|
|
148
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
149
|
+
Country: Schema.TypeLiteral<{
|
|
150
|
+
Alpha2: typeof Schema.String;
|
|
151
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
152
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
153
|
+
ReplicaRegions: Schema.Array$<Schema.TypeLiteral<{
|
|
154
|
+
Id: Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>;
|
|
155
|
+
Name: typeof Schema.String;
|
|
156
|
+
Latitude: typeof Schema.Number;
|
|
157
|
+
Longitude: typeof Schema.Number;
|
|
158
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
159
|
+
Country: Schema.TypeLiteral<{
|
|
160
|
+
Alpha2: typeof Schema.String;
|
|
161
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
162
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
163
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
164
|
+
export declare const GetOptimalConfigV3ResponseStatus400: Schema.TypeLiteral<{
|
|
165
|
+
title: typeof Schema.String;
|
|
166
|
+
type: typeof Schema.String;
|
|
167
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
168
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
169
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
170
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
171
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
172
|
+
export declare const GetOptimalConfigV3ResponseStatus401: Schema.TypeLiteral<{
|
|
173
|
+
title: typeof Schema.String;
|
|
174
|
+
type: typeof Schema.String;
|
|
175
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
176
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
177
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
178
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
179
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
180
|
+
export declare const GetOptimalConfigV3ResponseStatus403: Schema.TypeLiteral<{
|
|
181
|
+
title: typeof Schema.String;
|
|
182
|
+
type: typeof Schema.String;
|
|
183
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
184
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
185
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
186
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
187
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
188
|
+
export declare const GetOptimalConfigV3ResponseStatus429: Schema.TypeLiteral<{
|
|
189
|
+
title: typeof Schema.String;
|
|
190
|
+
type: typeof Schema.String;
|
|
191
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
192
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
193
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
194
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
195
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
196
|
+
export declare const GetOptimalConfigV3ResponseStatus500: Schema.TypeLiteral<{
|
|
197
|
+
title: typeof Schema.String;
|
|
198
|
+
type: typeof Schema.String;
|
|
199
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
200
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
201
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
202
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
203
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
204
|
+
declare const GetOptimalConfigV3SuccessSchemas: {
|
|
205
|
+
readonly "200": {
|
|
206
|
+
readonly schema: Schema.TypeLiteral<{
|
|
207
|
+
StorageRegion: Schema.TypeLiteral<{
|
|
208
|
+
Id: typeof Schema.String;
|
|
209
|
+
Name: typeof Schema.String;
|
|
210
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
211
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
212
|
+
PrimaryRegions: Schema.Array$<Schema.TypeLiteral<{
|
|
213
|
+
Id: Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>;
|
|
214
|
+
Name: typeof Schema.String;
|
|
215
|
+
Latitude: typeof Schema.Number;
|
|
216
|
+
Longitude: typeof Schema.Number;
|
|
217
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
218
|
+
Country: Schema.TypeLiteral<{
|
|
219
|
+
Alpha2: typeof Schema.String;
|
|
220
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
221
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
222
|
+
ReplicaRegions: Schema.Array$<Schema.TypeLiteral<{
|
|
223
|
+
Id: Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>;
|
|
224
|
+
Name: typeof Schema.String;
|
|
225
|
+
Latitude: typeof Schema.Number;
|
|
226
|
+
Longitude: typeof Schema.Number;
|
|
227
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
228
|
+
Country: Schema.TypeLiteral<{
|
|
229
|
+
Alpha2: typeof Schema.String;
|
|
230
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
231
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
232
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
233
|
+
readonly kind: "json";
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
declare const GetOptimalConfigV3ErrorSchemas: {
|
|
237
|
+
readonly "400": {
|
|
238
|
+
readonly schema: Schema.TypeLiteral<{
|
|
239
|
+
title: typeof Schema.String;
|
|
240
|
+
type: typeof Schema.String;
|
|
241
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
242
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
243
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
244
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
245
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
246
|
+
readonly kind: "json";
|
|
247
|
+
};
|
|
248
|
+
readonly "401": {
|
|
249
|
+
readonly schema: Schema.TypeLiteral<{
|
|
250
|
+
title: typeof Schema.String;
|
|
251
|
+
type: typeof Schema.String;
|
|
252
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
253
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
254
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
255
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
256
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
257
|
+
readonly kind: "json";
|
|
258
|
+
};
|
|
259
|
+
readonly "403": {
|
|
260
|
+
readonly schema: Schema.TypeLiteral<{
|
|
261
|
+
title: typeof Schema.String;
|
|
262
|
+
type: typeof Schema.String;
|
|
263
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
264
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
265
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
266
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
267
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
268
|
+
readonly kind: "json";
|
|
269
|
+
};
|
|
270
|
+
readonly "429": {
|
|
271
|
+
readonly schema: Schema.TypeLiteral<{
|
|
272
|
+
title: typeof Schema.String;
|
|
273
|
+
type: typeof Schema.String;
|
|
274
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
275
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
276
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
277
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
278
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
279
|
+
readonly kind: "json";
|
|
280
|
+
};
|
|
281
|
+
readonly "500": {
|
|
282
|
+
readonly schema: Schema.TypeLiteral<{
|
|
283
|
+
title: typeof Schema.String;
|
|
284
|
+
type: typeof Schema.String;
|
|
285
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
286
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
287
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
288
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
289
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
290
|
+
readonly kind: "json";
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
export type GetOptimalConfigV3Success = ResponseUnion<typeof GetOptimalConfigV3SuccessSchemas>;
|
|
294
|
+
export type GetOptimalConfigV3Error = ResponseUnion<typeof GetOptimalConfigV3ErrorSchemas>;
|
|
295
|
+
export type GetOptimalConfigV3Response = GetOptimalConfigV3Success | GetOptimalConfigV3Error;
|
|
296
|
+
export type GetOptimalConfigV3Failure = OperationFailure<typeof GetOptimalConfigV3ErrorSchemas>;
|
|
297
|
+
export declare const GetOptimalSingleRegionConfigV3Input: Schema.Struct<{
|
|
298
|
+
query: Schema.Struct<{
|
|
299
|
+
cdnServerToken: typeof Schema.String;
|
|
300
|
+
}>;
|
|
301
|
+
}>;
|
|
302
|
+
export type GetOptimalSingleRegionConfigV3Input = SchemaType<typeof GetOptimalSingleRegionConfigV3Input>;
|
|
303
|
+
export declare const GetOptimalSingleRegionConfigV3ResponseStatus200: Schema.TypeLiteral<{
|
|
304
|
+
StorageRegion: Schema.TypeLiteral<{
|
|
305
|
+
Id: typeof Schema.String;
|
|
306
|
+
Name: typeof Schema.String;
|
|
307
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
308
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
309
|
+
Region: Schema.optional<Schema.Union<[Schema.TypeLiteral<{
|
|
310
|
+
Id: Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>;
|
|
311
|
+
Name: typeof Schema.String;
|
|
312
|
+
Latitude: typeof Schema.Number;
|
|
313
|
+
Longitude: typeof Schema.Number;
|
|
314
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
315
|
+
Country: Schema.TypeLiteral<{
|
|
316
|
+
Alpha2: typeof Schema.String;
|
|
317
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
318
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>, typeof Schema.Null]>>;
|
|
319
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
320
|
+
export declare const GetOptimalSingleRegionConfigV3ResponseStatus400: Schema.TypeLiteral<{
|
|
321
|
+
title: typeof Schema.String;
|
|
322
|
+
type: typeof Schema.String;
|
|
323
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
324
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
325
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
326
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
327
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
328
|
+
export declare const GetOptimalSingleRegionConfigV3ResponseStatus401: Schema.TypeLiteral<{
|
|
329
|
+
title: typeof Schema.String;
|
|
330
|
+
type: typeof Schema.String;
|
|
331
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
332
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
333
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
334
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
335
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
336
|
+
export declare const GetOptimalSingleRegionConfigV3ResponseStatus403: Schema.TypeLiteral<{
|
|
337
|
+
title: typeof Schema.String;
|
|
338
|
+
type: typeof Schema.String;
|
|
339
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
340
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
341
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
342
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
343
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
344
|
+
export declare const GetOptimalSingleRegionConfigV3ResponseStatus429: Schema.TypeLiteral<{
|
|
345
|
+
title: typeof Schema.String;
|
|
346
|
+
type: typeof Schema.String;
|
|
347
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
348
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
349
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
350
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
351
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
352
|
+
export declare const GetOptimalSingleRegionConfigV3ResponseStatus500: Schema.TypeLiteral<{
|
|
353
|
+
title: typeof Schema.String;
|
|
354
|
+
type: typeof Schema.String;
|
|
355
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
356
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
357
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
358
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
359
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
360
|
+
declare const GetOptimalSingleRegionConfigV3SuccessSchemas: {
|
|
361
|
+
readonly "200": {
|
|
362
|
+
readonly schema: Schema.TypeLiteral<{
|
|
363
|
+
StorageRegion: Schema.TypeLiteral<{
|
|
364
|
+
Id: typeof Schema.String;
|
|
365
|
+
Name: typeof Schema.String;
|
|
366
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
367
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
368
|
+
Region: Schema.optional<Schema.Union<[Schema.TypeLiteral<{
|
|
369
|
+
Id: Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>;
|
|
370
|
+
Name: typeof Schema.String;
|
|
371
|
+
Latitude: typeof Schema.Number;
|
|
372
|
+
Longitude: typeof Schema.Number;
|
|
373
|
+
Group: Schema.Literal<["EU", "NA", "SA", "AF", "ASIA", "OC"]>;
|
|
374
|
+
Country: Schema.TypeLiteral<{
|
|
375
|
+
Alpha2: typeof Schema.String;
|
|
376
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
377
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>, typeof Schema.Null]>>;
|
|
378
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
379
|
+
readonly kind: "json";
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
declare const GetOptimalSingleRegionConfigV3ErrorSchemas: {
|
|
383
|
+
readonly "400": {
|
|
384
|
+
readonly schema: Schema.TypeLiteral<{
|
|
385
|
+
title: typeof Schema.String;
|
|
386
|
+
type: typeof Schema.String;
|
|
387
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
388
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
389
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
390
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
391
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
392
|
+
readonly kind: "json";
|
|
393
|
+
};
|
|
394
|
+
readonly "401": {
|
|
395
|
+
readonly schema: Schema.TypeLiteral<{
|
|
396
|
+
title: typeof Schema.String;
|
|
397
|
+
type: typeof Schema.String;
|
|
398
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
399
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
400
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
401
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
402
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
403
|
+
readonly kind: "json";
|
|
404
|
+
};
|
|
405
|
+
readonly "403": {
|
|
406
|
+
readonly schema: Schema.TypeLiteral<{
|
|
407
|
+
title: typeof Schema.String;
|
|
408
|
+
type: typeof Schema.String;
|
|
409
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
410
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
411
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
412
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
413
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
414
|
+
readonly kind: "json";
|
|
415
|
+
};
|
|
416
|
+
readonly "429": {
|
|
417
|
+
readonly schema: Schema.TypeLiteral<{
|
|
418
|
+
title: typeof Schema.String;
|
|
419
|
+
type: typeof Schema.String;
|
|
420
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
421
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
422
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
423
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
424
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
425
|
+
readonly kind: "json";
|
|
426
|
+
};
|
|
427
|
+
readonly "500": {
|
|
428
|
+
readonly schema: Schema.TypeLiteral<{
|
|
429
|
+
title: typeof Schema.String;
|
|
430
|
+
type: typeof Schema.String;
|
|
431
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
432
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
433
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
434
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
435
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
436
|
+
readonly kind: "json";
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
export type GetOptimalSingleRegionConfigV3Success = ResponseUnion<typeof GetOptimalSingleRegionConfigV3SuccessSchemas>;
|
|
440
|
+
export type GetOptimalSingleRegionConfigV3Error = ResponseUnion<typeof GetOptimalSingleRegionConfigV3ErrorSchemas>;
|
|
441
|
+
export type GetOptimalSingleRegionConfigV3Response = GetOptimalSingleRegionConfigV3Success | GetOptimalSingleRegionConfigV3Error;
|
|
442
|
+
export type GetOptimalSingleRegionConfigV3Failure = OperationFailure<typeof GetOptimalSingleRegionConfigV3ErrorSchemas>;
|
|
443
|
+
export declare const GetLimitsV3ResponseStatus200: Schema.TypeLiteral<{
|
|
444
|
+
CurrentDatabases: Schema.filter<typeof Schema.Number>;
|
|
445
|
+
MaxDatabases: Schema.filter<typeof Schema.Number>;
|
|
446
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
447
|
+
export declare const GetLimitsV3ResponseStatus401: Schema.TypeLiteral<{
|
|
448
|
+
title: typeof Schema.String;
|
|
449
|
+
type: typeof Schema.String;
|
|
450
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
451
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
452
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
453
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
454
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
455
|
+
export declare const GetLimitsV3ResponseStatus403: Schema.TypeLiteral<{
|
|
456
|
+
title: typeof Schema.String;
|
|
457
|
+
type: typeof Schema.String;
|
|
458
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
459
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
460
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
461
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
462
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
463
|
+
export declare const GetLimitsV3ResponseStatus429: Schema.TypeLiteral<{
|
|
464
|
+
title: typeof Schema.String;
|
|
465
|
+
type: typeof Schema.String;
|
|
466
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
467
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
468
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
469
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
470
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
471
|
+
export declare const GetLimitsV3ResponseStatus500: Schema.TypeLiteral<{
|
|
472
|
+
title: typeof Schema.String;
|
|
473
|
+
type: typeof Schema.String;
|
|
474
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
475
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
476
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
477
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
478
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
479
|
+
declare const GetLimitsV3SuccessSchemas: {
|
|
480
|
+
readonly "200": {
|
|
481
|
+
readonly schema: Schema.TypeLiteral<{
|
|
482
|
+
CurrentDatabases: Schema.filter<typeof Schema.Number>;
|
|
483
|
+
MaxDatabases: Schema.filter<typeof Schema.Number>;
|
|
484
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
485
|
+
readonly kind: "json";
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
declare const GetLimitsV3ErrorSchemas: {
|
|
489
|
+
readonly "401": {
|
|
490
|
+
readonly schema: Schema.TypeLiteral<{
|
|
491
|
+
title: typeof Schema.String;
|
|
492
|
+
type: typeof Schema.String;
|
|
493
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
494
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
495
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
496
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
497
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
498
|
+
readonly kind: "json";
|
|
499
|
+
};
|
|
500
|
+
readonly "403": {
|
|
501
|
+
readonly schema: Schema.TypeLiteral<{
|
|
502
|
+
title: typeof Schema.String;
|
|
503
|
+
type: typeof Schema.String;
|
|
504
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
505
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
506
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
507
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
508
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
509
|
+
readonly kind: "json";
|
|
510
|
+
};
|
|
511
|
+
readonly "429": {
|
|
512
|
+
readonly schema: Schema.TypeLiteral<{
|
|
513
|
+
title: typeof Schema.String;
|
|
514
|
+
type: typeof Schema.String;
|
|
515
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
516
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
517
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
518
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
519
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
520
|
+
readonly kind: "json";
|
|
521
|
+
};
|
|
522
|
+
readonly "500": {
|
|
523
|
+
readonly schema: Schema.TypeLiteral<{
|
|
524
|
+
title: typeof Schema.String;
|
|
525
|
+
type: typeof Schema.String;
|
|
526
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
527
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
528
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
529
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
530
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
531
|
+
readonly kind: "json";
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
|
+
export type GetLimitsV3Success = ResponseUnion<typeof GetLimitsV3SuccessSchemas>;
|
|
535
|
+
export type GetLimitsV3Error = ResponseUnion<typeof GetLimitsV3ErrorSchemas>;
|
|
536
|
+
export type GetLimitsV3Response = GetLimitsV3Success | GetLimitsV3Error;
|
|
537
|
+
export type GetLimitsV3Failure = OperationFailure<typeof GetLimitsV3ErrorSchemas>;
|
|
538
|
+
export declare const GetLiveDatabasesMetricsV3Input: Schema.Struct<{
|
|
539
|
+
body: Schema.Struct<{
|
|
540
|
+
DbIds: Schema.Array$<typeof Schema.String>;
|
|
541
|
+
}>;
|
|
542
|
+
}>;
|
|
543
|
+
export type GetLiveDatabasesMetricsV3Input = SchemaType<typeof GetLiveDatabasesMetricsV3Input>;
|
|
544
|
+
export declare const GetLiveDatabasesMetricsV3ResponseStatus200: Schema.TypeLiteral<{
|
|
545
|
+
LiveMetrics: Schema.Record$<typeof Schema.String, Schema.Union<[Schema.TypeLiteral<{
|
|
546
|
+
State: Schema.Literal<["Live"]>;
|
|
547
|
+
Metadata: Schema.TypeLiteral<{
|
|
548
|
+
Main: Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>;
|
|
549
|
+
Replicas: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
550
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
551
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>, Schema.TypeLiteral<{
|
|
552
|
+
State: Schema.Literal<["ReplicaOnly"]>;
|
|
553
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>, Schema.TypeLiteral<{
|
|
554
|
+
State: Schema.Literal<["Offline"]>;
|
|
555
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>]>>;
|
|
556
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
557
|
+
export declare const GetLiveDatabasesMetricsV3ResponseStatus400: Schema.TypeLiteral<{
|
|
558
|
+
title: typeof Schema.String;
|
|
559
|
+
type: typeof Schema.String;
|
|
560
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
561
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
562
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
563
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
564
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
565
|
+
export declare const GetLiveDatabasesMetricsV3ResponseStatus401: Schema.TypeLiteral<{
|
|
566
|
+
title: typeof Schema.String;
|
|
567
|
+
type: typeof Schema.String;
|
|
568
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
569
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
570
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
571
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
572
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
573
|
+
export declare const GetLiveDatabasesMetricsV3ResponseStatus403: Schema.TypeLiteral<{
|
|
574
|
+
title: typeof Schema.String;
|
|
575
|
+
type: typeof Schema.String;
|
|
576
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
577
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
578
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
579
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
580
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
581
|
+
export declare const GetLiveDatabasesMetricsV3ResponseStatus429: Schema.TypeLiteral<{
|
|
582
|
+
title: typeof Schema.String;
|
|
583
|
+
type: typeof Schema.String;
|
|
584
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
585
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
586
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
587
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
588
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
589
|
+
export declare const GetLiveDatabasesMetricsV3ResponseStatus500: Schema.TypeLiteral<{
|
|
590
|
+
title: typeof Schema.String;
|
|
591
|
+
type: typeof Schema.String;
|
|
592
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
593
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
594
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
595
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
596
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
597
|
+
declare const GetLiveDatabasesMetricsV3SuccessSchemas: {
|
|
598
|
+
readonly "200": {
|
|
599
|
+
readonly schema: Schema.TypeLiteral<{
|
|
600
|
+
LiveMetrics: Schema.Record$<typeof Schema.String, Schema.Union<[Schema.TypeLiteral<{
|
|
601
|
+
State: Schema.Literal<["Live"]>;
|
|
602
|
+
Metadata: Schema.TypeLiteral<{
|
|
603
|
+
Main: Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>;
|
|
604
|
+
Replicas: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
605
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
606
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>, Schema.TypeLiteral<{
|
|
607
|
+
State: Schema.Literal<["ReplicaOnly"]>;
|
|
608
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>, Schema.TypeLiteral<{
|
|
609
|
+
State: Schema.Literal<["Offline"]>;
|
|
610
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>]>>;
|
|
611
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
612
|
+
readonly kind: "json";
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
declare const GetLiveDatabasesMetricsV3ErrorSchemas: {
|
|
616
|
+
readonly "400": {
|
|
617
|
+
readonly schema: Schema.TypeLiteral<{
|
|
618
|
+
title: typeof Schema.String;
|
|
619
|
+
type: typeof Schema.String;
|
|
620
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
621
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
622
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
623
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
624
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
625
|
+
readonly kind: "json";
|
|
626
|
+
};
|
|
627
|
+
readonly "401": {
|
|
628
|
+
readonly schema: Schema.TypeLiteral<{
|
|
629
|
+
title: typeof Schema.String;
|
|
630
|
+
type: typeof Schema.String;
|
|
631
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
632
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
633
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
634
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
635
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
636
|
+
readonly kind: "json";
|
|
637
|
+
};
|
|
638
|
+
readonly "403": {
|
|
639
|
+
readonly schema: Schema.TypeLiteral<{
|
|
640
|
+
title: typeof Schema.String;
|
|
641
|
+
type: typeof Schema.String;
|
|
642
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
643
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
644
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
645
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
646
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
647
|
+
readonly kind: "json";
|
|
648
|
+
};
|
|
649
|
+
readonly "429": {
|
|
650
|
+
readonly schema: Schema.TypeLiteral<{
|
|
651
|
+
title: typeof Schema.String;
|
|
652
|
+
type: typeof Schema.String;
|
|
653
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
654
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
655
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
656
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
657
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
658
|
+
readonly kind: "json";
|
|
659
|
+
};
|
|
660
|
+
readonly "500": {
|
|
661
|
+
readonly schema: Schema.TypeLiteral<{
|
|
662
|
+
title: typeof Schema.String;
|
|
663
|
+
type: typeof Schema.String;
|
|
664
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
665
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
666
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
667
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
668
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
669
|
+
readonly kind: "json";
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
export type GetLiveDatabasesMetricsV3Success = ResponseUnion<typeof GetLiveDatabasesMetricsV3SuccessSchemas>;
|
|
673
|
+
export type GetLiveDatabasesMetricsV3Error = ResponseUnion<typeof GetLiveDatabasesMetricsV3ErrorSchemas>;
|
|
674
|
+
export type GetLiveDatabasesMetricsV3Response = GetLiveDatabasesMetricsV3Success | GetLiveDatabasesMetricsV3Error;
|
|
675
|
+
export type GetLiveDatabasesMetricsV3Failure = OperationFailure<typeof GetLiveDatabasesMetricsV3ErrorSchemas>;
|
|
676
|
+
export declare const ListDatabasesV3Input: Schema.Struct<{
|
|
677
|
+
query: Schema.Struct<{
|
|
678
|
+
search: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
679
|
+
page: Schema.filter<typeof Schema.Number>;
|
|
680
|
+
perPage: Schema.optional<Schema.filter<typeof Schema.Number>>;
|
|
681
|
+
}>;
|
|
682
|
+
}>;
|
|
683
|
+
export type ListDatabasesV3Input = SchemaType<typeof ListDatabasesV3Input>;
|
|
684
|
+
export declare const ListDatabasesV3ResponseStatus200: Schema.TypeLiteral<{
|
|
685
|
+
Items: Schema.Array$<Schema.TypeLiteral<{
|
|
686
|
+
Name: typeof Schema.String;
|
|
687
|
+
Id: typeof Schema.String;
|
|
688
|
+
Url: typeof Schema.String;
|
|
689
|
+
BlockReads: typeof Schema.Boolean;
|
|
690
|
+
BlockWrites: typeof Schema.Boolean;
|
|
691
|
+
SizeMaxBytes: Schema.filter<typeof Schema.Number>;
|
|
692
|
+
CurrentSizeBytes: Schema.filter<typeof Schema.Number>;
|
|
693
|
+
StorageRegion: typeof Schema.String;
|
|
694
|
+
PrimaryRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
695
|
+
ReplicasRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
696
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
697
|
+
CurrentPage: Schema.filter<typeof Schema.Number>;
|
|
698
|
+
TotalItems: Schema.filter<typeof Schema.Number>;
|
|
699
|
+
HasMoreItems: typeof Schema.Boolean;
|
|
700
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
701
|
+
export declare const ListDatabasesV3ResponseStatus400: Schema.TypeLiteral<{
|
|
702
|
+
title: typeof Schema.String;
|
|
703
|
+
type: typeof Schema.String;
|
|
704
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
705
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
706
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
707
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
708
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
709
|
+
export declare const ListDatabasesV3ResponseStatus401: Schema.TypeLiteral<{
|
|
710
|
+
title: typeof Schema.String;
|
|
711
|
+
type: typeof Schema.String;
|
|
712
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
713
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
714
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
715
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
716
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
717
|
+
export declare const ListDatabasesV3ResponseStatus403: Schema.TypeLiteral<{
|
|
718
|
+
title: typeof Schema.String;
|
|
719
|
+
type: typeof Schema.String;
|
|
720
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
721
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
722
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
723
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
724
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
725
|
+
export declare const ListDatabasesV3ResponseStatus429: Schema.TypeLiteral<{
|
|
726
|
+
title: typeof Schema.String;
|
|
727
|
+
type: typeof Schema.String;
|
|
728
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
729
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
730
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
731
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
732
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
733
|
+
export declare const ListDatabasesV3ResponseStatus500: Schema.TypeLiteral<{
|
|
734
|
+
title: typeof Schema.String;
|
|
735
|
+
type: typeof Schema.String;
|
|
736
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
737
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
738
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
739
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
740
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
741
|
+
declare const ListDatabasesV3SuccessSchemas: {
|
|
742
|
+
readonly "200": {
|
|
743
|
+
readonly schema: Schema.TypeLiteral<{
|
|
744
|
+
Items: Schema.Array$<Schema.TypeLiteral<{
|
|
745
|
+
Name: typeof Schema.String;
|
|
746
|
+
Id: typeof Schema.String;
|
|
747
|
+
Url: typeof Schema.String;
|
|
748
|
+
BlockReads: typeof Schema.Boolean;
|
|
749
|
+
BlockWrites: typeof Schema.Boolean;
|
|
750
|
+
SizeMaxBytes: Schema.filter<typeof Schema.Number>;
|
|
751
|
+
CurrentSizeBytes: Schema.filter<typeof Schema.Number>;
|
|
752
|
+
StorageRegion: typeof Schema.String;
|
|
753
|
+
PrimaryRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
754
|
+
ReplicasRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
755
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
756
|
+
CurrentPage: Schema.filter<typeof Schema.Number>;
|
|
757
|
+
TotalItems: Schema.filter<typeof Schema.Number>;
|
|
758
|
+
HasMoreItems: typeof Schema.Boolean;
|
|
759
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
760
|
+
readonly kind: "json";
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
declare const ListDatabasesV3ErrorSchemas: {
|
|
764
|
+
readonly "400": {
|
|
765
|
+
readonly schema: Schema.TypeLiteral<{
|
|
766
|
+
title: typeof Schema.String;
|
|
767
|
+
type: typeof Schema.String;
|
|
768
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
769
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
770
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
771
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
772
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
773
|
+
readonly kind: "json";
|
|
774
|
+
};
|
|
775
|
+
readonly "401": {
|
|
776
|
+
readonly schema: Schema.TypeLiteral<{
|
|
777
|
+
title: typeof Schema.String;
|
|
778
|
+
type: typeof Schema.String;
|
|
779
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
780
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
781
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
782
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
783
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
784
|
+
readonly kind: "json";
|
|
785
|
+
};
|
|
786
|
+
readonly "403": {
|
|
787
|
+
readonly schema: Schema.TypeLiteral<{
|
|
788
|
+
title: typeof Schema.String;
|
|
789
|
+
type: typeof Schema.String;
|
|
790
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
791
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
792
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
793
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
794
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
795
|
+
readonly kind: "json";
|
|
796
|
+
};
|
|
797
|
+
readonly "429": {
|
|
798
|
+
readonly schema: Schema.TypeLiteral<{
|
|
799
|
+
title: typeof Schema.String;
|
|
800
|
+
type: typeof Schema.String;
|
|
801
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
802
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
803
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
804
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
805
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
806
|
+
readonly kind: "json";
|
|
807
|
+
};
|
|
808
|
+
readonly "500": {
|
|
809
|
+
readonly schema: Schema.TypeLiteral<{
|
|
810
|
+
title: typeof Schema.String;
|
|
811
|
+
type: typeof Schema.String;
|
|
812
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
813
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
814
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
815
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
816
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
817
|
+
readonly kind: "json";
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
export type ListDatabasesV3Success = ResponseUnion<typeof ListDatabasesV3SuccessSchemas>;
|
|
821
|
+
export type ListDatabasesV3Error = ResponseUnion<typeof ListDatabasesV3ErrorSchemas>;
|
|
822
|
+
export type ListDatabasesV3Response = ListDatabasesV3Success | ListDatabasesV3Error;
|
|
823
|
+
export type ListDatabasesV3Failure = OperationFailure<typeof ListDatabasesV3ErrorSchemas>;
|
|
824
|
+
export declare const CreateDatabaseV3Input: Schema.Struct<{
|
|
825
|
+
body: Schema.Struct<{
|
|
826
|
+
Name: typeof Schema.String;
|
|
827
|
+
StorageRegion: typeof Schema.String;
|
|
828
|
+
PrimaryRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
829
|
+
ReplicasRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
830
|
+
}>;
|
|
831
|
+
}>;
|
|
832
|
+
export type CreateDatabaseV3Input = SchemaType<typeof CreateDatabaseV3Input>;
|
|
833
|
+
export declare const CreateDatabaseV3ResponseStatus200: Schema.TypeLiteral<{
|
|
834
|
+
DbId: typeof Schema.String;
|
|
835
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
836
|
+
export declare const CreateDatabaseV3ResponseStatus400: Schema.TypeLiteral<{
|
|
837
|
+
title: typeof Schema.String;
|
|
838
|
+
type: typeof Schema.String;
|
|
839
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
840
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
841
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
842
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
843
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
844
|
+
export declare const CreateDatabaseV3ResponseStatus401: Schema.TypeLiteral<{
|
|
845
|
+
title: typeof Schema.String;
|
|
846
|
+
type: typeof Schema.String;
|
|
847
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
848
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
849
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
850
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
851
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
852
|
+
export declare const CreateDatabaseV3ResponseStatus403: Schema.TypeLiteral<{
|
|
853
|
+
title: typeof Schema.String;
|
|
854
|
+
type: typeof Schema.String;
|
|
855
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
856
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
857
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
858
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
859
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
860
|
+
export declare const CreateDatabaseV3ResponseStatus409: Schema.TypeLiteral<{
|
|
861
|
+
title: typeof Schema.String;
|
|
862
|
+
type: typeof Schema.String;
|
|
863
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
864
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
865
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
866
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
867
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
868
|
+
export declare const CreateDatabaseV3ResponseStatus429: Schema.TypeLiteral<{
|
|
869
|
+
title: typeof Schema.String;
|
|
870
|
+
type: typeof Schema.String;
|
|
871
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
872
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
873
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
874
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
875
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
876
|
+
export declare const CreateDatabaseV3ResponseStatus500: Schema.TypeLiteral<{
|
|
877
|
+
title: typeof Schema.String;
|
|
878
|
+
type: typeof Schema.String;
|
|
879
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
880
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
881
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
882
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
883
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
884
|
+
declare const CreateDatabaseV3SuccessSchemas: {
|
|
885
|
+
readonly "200": {
|
|
886
|
+
readonly schema: Schema.TypeLiteral<{
|
|
887
|
+
DbId: typeof Schema.String;
|
|
888
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
889
|
+
readonly kind: "json";
|
|
890
|
+
};
|
|
891
|
+
};
|
|
892
|
+
declare const CreateDatabaseV3ErrorSchemas: {
|
|
893
|
+
readonly "400": {
|
|
894
|
+
readonly schema: Schema.TypeLiteral<{
|
|
895
|
+
title: typeof Schema.String;
|
|
896
|
+
type: typeof Schema.String;
|
|
897
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
898
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
899
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
900
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
901
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
902
|
+
readonly kind: "json";
|
|
903
|
+
};
|
|
904
|
+
readonly "401": {
|
|
905
|
+
readonly schema: Schema.TypeLiteral<{
|
|
906
|
+
title: typeof Schema.String;
|
|
907
|
+
type: typeof Schema.String;
|
|
908
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
909
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
910
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
911
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
912
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
913
|
+
readonly kind: "json";
|
|
914
|
+
};
|
|
915
|
+
readonly "403": {
|
|
916
|
+
readonly schema: Schema.TypeLiteral<{
|
|
917
|
+
title: typeof Schema.String;
|
|
918
|
+
type: typeof Schema.String;
|
|
919
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
920
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
921
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
922
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
923
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
924
|
+
readonly kind: "json";
|
|
925
|
+
};
|
|
926
|
+
readonly "409": {
|
|
927
|
+
readonly schema: Schema.TypeLiteral<{
|
|
928
|
+
title: typeof Schema.String;
|
|
929
|
+
type: typeof Schema.String;
|
|
930
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
931
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
932
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
933
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
934
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
935
|
+
readonly kind: "json";
|
|
936
|
+
};
|
|
937
|
+
readonly "429": {
|
|
938
|
+
readonly schema: Schema.TypeLiteral<{
|
|
939
|
+
title: typeof Schema.String;
|
|
940
|
+
type: typeof Schema.String;
|
|
941
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
942
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
943
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
944
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
945
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
946
|
+
readonly kind: "json";
|
|
947
|
+
};
|
|
948
|
+
readonly "500": {
|
|
949
|
+
readonly schema: Schema.TypeLiteral<{
|
|
950
|
+
title: typeof Schema.String;
|
|
951
|
+
type: typeof Schema.String;
|
|
952
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
953
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
954
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
955
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
956
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
957
|
+
readonly kind: "json";
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
export type CreateDatabaseV3Success = ResponseUnion<typeof CreateDatabaseV3SuccessSchemas>;
|
|
961
|
+
export type CreateDatabaseV3Error = ResponseUnion<typeof CreateDatabaseV3ErrorSchemas>;
|
|
962
|
+
export type CreateDatabaseV3Response = CreateDatabaseV3Success | CreateDatabaseV3Error;
|
|
963
|
+
export type CreateDatabaseV3Failure = OperationFailure<typeof CreateDatabaseV3ErrorSchemas>;
|
|
964
|
+
export declare const GetDatabaseV3Input: Schema.Struct<{
|
|
965
|
+
path: Schema.Struct<{
|
|
966
|
+
db_id: typeof Schema.String;
|
|
967
|
+
}>;
|
|
968
|
+
}>;
|
|
969
|
+
export type GetDatabaseV3Input = SchemaType<typeof GetDatabaseV3Input>;
|
|
970
|
+
export declare const GetDatabaseV3ResponseStatus200: Schema.TypeLiteral<{
|
|
971
|
+
Db: Schema.TypeLiteral<{
|
|
972
|
+
Name: typeof Schema.String;
|
|
973
|
+
Id: typeof Schema.String;
|
|
974
|
+
Url: typeof Schema.String;
|
|
975
|
+
BlockReads: typeof Schema.Boolean;
|
|
976
|
+
BlockWrites: typeof Schema.Boolean;
|
|
977
|
+
SizeMaxBytes: Schema.filter<typeof Schema.Number>;
|
|
978
|
+
CurrentSizeBytes: Schema.filter<typeof Schema.Number>;
|
|
979
|
+
StorageRegion: typeof Schema.String;
|
|
980
|
+
PrimaryRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
981
|
+
ReplicasRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
982
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
983
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
984
|
+
export declare const GetDatabaseV3ResponseStatus400: Schema.TypeLiteral<{
|
|
985
|
+
title: typeof Schema.String;
|
|
986
|
+
type: typeof Schema.String;
|
|
987
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
988
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
989
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
990
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
991
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
992
|
+
export declare const GetDatabaseV3ResponseStatus401: Schema.TypeLiteral<{
|
|
993
|
+
title: typeof Schema.String;
|
|
994
|
+
type: typeof Schema.String;
|
|
995
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
996
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
997
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
998
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
999
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1000
|
+
export declare const GetDatabaseV3ResponseStatus403: Schema.TypeLiteral<{
|
|
1001
|
+
title: typeof Schema.String;
|
|
1002
|
+
type: typeof Schema.String;
|
|
1003
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1004
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1005
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1006
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1007
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1008
|
+
export declare const GetDatabaseV3ResponseStatus404: Schema.TypeLiteral<{
|
|
1009
|
+
title: typeof Schema.String;
|
|
1010
|
+
type: typeof Schema.String;
|
|
1011
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1012
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1013
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1014
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1015
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1016
|
+
export declare const GetDatabaseV3ResponseStatus429: Schema.TypeLiteral<{
|
|
1017
|
+
title: typeof Schema.String;
|
|
1018
|
+
type: typeof Schema.String;
|
|
1019
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1020
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1021
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1022
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1023
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1024
|
+
export declare const GetDatabaseV3ResponseStatus500: Schema.TypeLiteral<{
|
|
1025
|
+
title: typeof Schema.String;
|
|
1026
|
+
type: typeof Schema.String;
|
|
1027
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1028
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1029
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1030
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1031
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1032
|
+
declare const GetDatabaseV3SuccessSchemas: {
|
|
1033
|
+
readonly "200": {
|
|
1034
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1035
|
+
Db: Schema.TypeLiteral<{
|
|
1036
|
+
Name: typeof Schema.String;
|
|
1037
|
+
Id: typeof Schema.String;
|
|
1038
|
+
Url: typeof Schema.String;
|
|
1039
|
+
BlockReads: typeof Schema.Boolean;
|
|
1040
|
+
BlockWrites: typeof Schema.Boolean;
|
|
1041
|
+
SizeMaxBytes: Schema.filter<typeof Schema.Number>;
|
|
1042
|
+
CurrentSizeBytes: Schema.filter<typeof Schema.Number>;
|
|
1043
|
+
StorageRegion: typeof Schema.String;
|
|
1044
|
+
PrimaryRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
1045
|
+
ReplicasRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
1046
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1047
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1048
|
+
readonly kind: "json";
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
|
+
declare const GetDatabaseV3ErrorSchemas: {
|
|
1052
|
+
readonly "400": {
|
|
1053
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1054
|
+
title: typeof Schema.String;
|
|
1055
|
+
type: typeof Schema.String;
|
|
1056
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1057
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1058
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1059
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1060
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1061
|
+
readonly kind: "json";
|
|
1062
|
+
};
|
|
1063
|
+
readonly "401": {
|
|
1064
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1065
|
+
title: typeof Schema.String;
|
|
1066
|
+
type: typeof Schema.String;
|
|
1067
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1068
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1069
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1070
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1071
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1072
|
+
readonly kind: "json";
|
|
1073
|
+
};
|
|
1074
|
+
readonly "403": {
|
|
1075
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1076
|
+
title: typeof Schema.String;
|
|
1077
|
+
type: typeof Schema.String;
|
|
1078
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1079
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1080
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1081
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1082
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1083
|
+
readonly kind: "json";
|
|
1084
|
+
};
|
|
1085
|
+
readonly "404": {
|
|
1086
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1087
|
+
title: typeof Schema.String;
|
|
1088
|
+
type: typeof Schema.String;
|
|
1089
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1090
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1091
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1092
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1093
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1094
|
+
readonly kind: "json";
|
|
1095
|
+
};
|
|
1096
|
+
readonly "429": {
|
|
1097
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1098
|
+
title: typeof Schema.String;
|
|
1099
|
+
type: typeof Schema.String;
|
|
1100
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1101
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1102
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1103
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1104
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1105
|
+
readonly kind: "json";
|
|
1106
|
+
};
|
|
1107
|
+
readonly "500": {
|
|
1108
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1109
|
+
title: typeof Schema.String;
|
|
1110
|
+
type: typeof Schema.String;
|
|
1111
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1112
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1113
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1114
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1115
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1116
|
+
readonly kind: "json";
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
1119
|
+
export type GetDatabaseV3Success = ResponseUnion<typeof GetDatabaseV3SuccessSchemas>;
|
|
1120
|
+
export type GetDatabaseV3Error = ResponseUnion<typeof GetDatabaseV3ErrorSchemas>;
|
|
1121
|
+
export type GetDatabaseV3Response = GetDatabaseV3Success | GetDatabaseV3Error;
|
|
1122
|
+
export type GetDatabaseV3Failure = OperationFailure<typeof GetDatabaseV3ErrorSchemas>;
|
|
1123
|
+
export declare const UpdateDatabaseV3Input: Schema.Struct<{
|
|
1124
|
+
path: Schema.Struct<{
|
|
1125
|
+
db_id: typeof Schema.String;
|
|
1126
|
+
}>;
|
|
1127
|
+
body: Schema.Struct<{
|
|
1128
|
+
PrimaryRegions: Schema.optional<Schema.NullOr<Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>>>;
|
|
1129
|
+
ReplicasRegions: Schema.optional<Schema.NullOr<Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>>>;
|
|
1130
|
+
}>;
|
|
1131
|
+
}>;
|
|
1132
|
+
export type UpdateDatabaseV3Input = SchemaType<typeof UpdateDatabaseV3Input>;
|
|
1133
|
+
export declare const UpdateDatabaseV3ResponseStatus200: Schema.TypeLiteral<{
|
|
1134
|
+
Db: Schema.TypeLiteral<{
|
|
1135
|
+
Name: typeof Schema.String;
|
|
1136
|
+
Id: typeof Schema.String;
|
|
1137
|
+
Url: typeof Schema.String;
|
|
1138
|
+
BlockReads: typeof Schema.Boolean;
|
|
1139
|
+
BlockWrites: typeof Schema.Boolean;
|
|
1140
|
+
SizeMaxBytes: Schema.filter<typeof Schema.Number>;
|
|
1141
|
+
CurrentSizeBytes: Schema.filter<typeof Schema.Number>;
|
|
1142
|
+
StorageRegion: typeof Schema.String;
|
|
1143
|
+
PrimaryRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
1144
|
+
ReplicasRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
1145
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1146
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1147
|
+
export declare const UpdateDatabaseV3ResponseStatus400: Schema.TypeLiteral<{
|
|
1148
|
+
title: typeof Schema.String;
|
|
1149
|
+
type: typeof Schema.String;
|
|
1150
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1151
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1152
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1153
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1154
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1155
|
+
export declare const UpdateDatabaseV3ResponseStatus401: Schema.TypeLiteral<{
|
|
1156
|
+
title: typeof Schema.String;
|
|
1157
|
+
type: typeof Schema.String;
|
|
1158
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1159
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1160
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1161
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1162
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1163
|
+
export declare const UpdateDatabaseV3ResponseStatus403: Schema.TypeLiteral<{
|
|
1164
|
+
title: typeof Schema.String;
|
|
1165
|
+
type: typeof Schema.String;
|
|
1166
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1167
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1168
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1169
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1170
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1171
|
+
export declare const UpdateDatabaseV3ResponseStatus404: Schema.TypeLiteral<{
|
|
1172
|
+
title: typeof Schema.String;
|
|
1173
|
+
type: typeof Schema.String;
|
|
1174
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1175
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1176
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1177
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1178
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1179
|
+
export declare const UpdateDatabaseV3ResponseStatus409: Schema.TypeLiteral<{
|
|
1180
|
+
title: typeof Schema.String;
|
|
1181
|
+
type: typeof Schema.String;
|
|
1182
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1183
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1184
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1185
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1186
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1187
|
+
export declare const UpdateDatabaseV3ResponseStatus429: Schema.TypeLiteral<{
|
|
1188
|
+
title: typeof Schema.String;
|
|
1189
|
+
type: typeof Schema.String;
|
|
1190
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1191
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1192
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1193
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1194
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1195
|
+
export declare const UpdateDatabaseV3ResponseStatus500: Schema.TypeLiteral<{
|
|
1196
|
+
title: typeof Schema.String;
|
|
1197
|
+
type: typeof Schema.String;
|
|
1198
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1199
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1200
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1201
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1202
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1203
|
+
declare const UpdateDatabaseV3SuccessSchemas: {
|
|
1204
|
+
readonly "200": {
|
|
1205
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1206
|
+
Db: Schema.TypeLiteral<{
|
|
1207
|
+
Name: typeof Schema.String;
|
|
1208
|
+
Id: typeof Schema.String;
|
|
1209
|
+
Url: typeof Schema.String;
|
|
1210
|
+
BlockReads: typeof Schema.Boolean;
|
|
1211
|
+
BlockWrites: typeof Schema.Boolean;
|
|
1212
|
+
SizeMaxBytes: Schema.filter<typeof Schema.Number>;
|
|
1213
|
+
CurrentSizeBytes: Schema.filter<typeof Schema.Number>;
|
|
1214
|
+
StorageRegion: typeof Schema.String;
|
|
1215
|
+
PrimaryRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
1216
|
+
ReplicasRegions: Schema.Array$<Schema.Literal<["AMS", "ASB", "AT", "BE", "BO", "BR", "BU", "CA", "CO", "CZ", "DE", "DEN", "DK", "ES", "FR", "GA", "GR", "HK", "HR", "ID", "IL", "ISR", "IT", "JH", "JP", "LA", "MI", "MX", "MY", "NG", "NY", "PH", "PL", "SE", "SG", "SIL", "SYD", "TH", "TR", "TX", "UK", "WA"]>>;
|
|
1217
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1218
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1219
|
+
readonly kind: "json";
|
|
1220
|
+
};
|
|
1221
|
+
};
|
|
1222
|
+
declare const UpdateDatabaseV3ErrorSchemas: {
|
|
1223
|
+
readonly "400": {
|
|
1224
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1225
|
+
title: typeof Schema.String;
|
|
1226
|
+
type: typeof Schema.String;
|
|
1227
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1228
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1229
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1230
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1231
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1232
|
+
readonly kind: "json";
|
|
1233
|
+
};
|
|
1234
|
+
readonly "401": {
|
|
1235
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1236
|
+
title: typeof Schema.String;
|
|
1237
|
+
type: typeof Schema.String;
|
|
1238
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1239
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1240
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1241
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1242
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1243
|
+
readonly kind: "json";
|
|
1244
|
+
};
|
|
1245
|
+
readonly "403": {
|
|
1246
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1247
|
+
title: typeof Schema.String;
|
|
1248
|
+
type: typeof Schema.String;
|
|
1249
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1250
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1251
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1252
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1253
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1254
|
+
readonly kind: "json";
|
|
1255
|
+
};
|
|
1256
|
+
readonly "404": {
|
|
1257
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1258
|
+
title: typeof Schema.String;
|
|
1259
|
+
type: typeof Schema.String;
|
|
1260
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1261
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1262
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1263
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1264
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1265
|
+
readonly kind: "json";
|
|
1266
|
+
};
|
|
1267
|
+
readonly "409": {
|
|
1268
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1269
|
+
title: typeof Schema.String;
|
|
1270
|
+
type: typeof Schema.String;
|
|
1271
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1272
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1273
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1274
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1275
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1276
|
+
readonly kind: "json";
|
|
1277
|
+
};
|
|
1278
|
+
readonly "429": {
|
|
1279
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1280
|
+
title: typeof Schema.String;
|
|
1281
|
+
type: typeof Schema.String;
|
|
1282
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1283
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1284
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1285
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1286
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1287
|
+
readonly kind: "json";
|
|
1288
|
+
};
|
|
1289
|
+
readonly "500": {
|
|
1290
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1291
|
+
title: typeof Schema.String;
|
|
1292
|
+
type: typeof Schema.String;
|
|
1293
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1294
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1295
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1296
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1297
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1298
|
+
readonly kind: "json";
|
|
1299
|
+
};
|
|
1300
|
+
};
|
|
1301
|
+
export type UpdateDatabaseV3Success = ResponseUnion<typeof UpdateDatabaseV3SuccessSchemas>;
|
|
1302
|
+
export type UpdateDatabaseV3Error = ResponseUnion<typeof UpdateDatabaseV3ErrorSchemas>;
|
|
1303
|
+
export type UpdateDatabaseV3Response = UpdateDatabaseV3Success | UpdateDatabaseV3Error;
|
|
1304
|
+
export type UpdateDatabaseV3Failure = OperationFailure<typeof UpdateDatabaseV3ErrorSchemas>;
|
|
1305
|
+
export declare const DeleteDatabaseV3Input: Schema.Struct<{
|
|
1306
|
+
path: Schema.Struct<{
|
|
1307
|
+
db_id: typeof Schema.String;
|
|
1308
|
+
}>;
|
|
1309
|
+
}>;
|
|
1310
|
+
export type DeleteDatabaseV3Input = SchemaType<typeof DeleteDatabaseV3Input>;
|
|
1311
|
+
export declare const DeleteDatabaseV3ResponseStatus200: Schema.TypeLiteral<{
|
|
1312
|
+
DbId: typeof Schema.String;
|
|
1313
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1314
|
+
export declare const DeleteDatabaseV3ResponseStatus400: Schema.TypeLiteral<{
|
|
1315
|
+
title: typeof Schema.String;
|
|
1316
|
+
type: typeof Schema.String;
|
|
1317
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1318
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1319
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1320
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1321
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1322
|
+
export declare const DeleteDatabaseV3ResponseStatus401: Schema.TypeLiteral<{
|
|
1323
|
+
title: typeof Schema.String;
|
|
1324
|
+
type: typeof Schema.String;
|
|
1325
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1326
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1327
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1328
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1329
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1330
|
+
export declare const DeleteDatabaseV3ResponseStatus403: Schema.TypeLiteral<{
|
|
1331
|
+
title: typeof Schema.String;
|
|
1332
|
+
type: typeof Schema.String;
|
|
1333
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1334
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1335
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1336
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1337
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1338
|
+
export declare const DeleteDatabaseV3ResponseStatus404: Schema.TypeLiteral<{
|
|
1339
|
+
title: typeof Schema.String;
|
|
1340
|
+
type: typeof Schema.String;
|
|
1341
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1342
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1343
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1344
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1345
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1346
|
+
export declare const DeleteDatabaseV3ResponseStatus429: Schema.TypeLiteral<{
|
|
1347
|
+
title: typeof Schema.String;
|
|
1348
|
+
type: typeof Schema.String;
|
|
1349
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1350
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1351
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1352
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1353
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1354
|
+
export declare const DeleteDatabaseV3ResponseStatus500: Schema.TypeLiteral<{
|
|
1355
|
+
title: typeof Schema.String;
|
|
1356
|
+
type: typeof Schema.String;
|
|
1357
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1358
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1359
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1360
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1361
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1362
|
+
declare const DeleteDatabaseV3SuccessSchemas: {
|
|
1363
|
+
readonly "200": {
|
|
1364
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1365
|
+
DbId: typeof Schema.String;
|
|
1366
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1367
|
+
readonly kind: "json";
|
|
1368
|
+
};
|
|
1369
|
+
};
|
|
1370
|
+
declare const DeleteDatabaseV3ErrorSchemas: {
|
|
1371
|
+
readonly "400": {
|
|
1372
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1373
|
+
title: typeof Schema.String;
|
|
1374
|
+
type: typeof Schema.String;
|
|
1375
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1376
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1377
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1378
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1379
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1380
|
+
readonly kind: "json";
|
|
1381
|
+
};
|
|
1382
|
+
readonly "401": {
|
|
1383
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1384
|
+
title: typeof Schema.String;
|
|
1385
|
+
type: typeof Schema.String;
|
|
1386
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1387
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1388
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1389
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1390
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1391
|
+
readonly kind: "json";
|
|
1392
|
+
};
|
|
1393
|
+
readonly "403": {
|
|
1394
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1395
|
+
title: typeof Schema.String;
|
|
1396
|
+
type: typeof Schema.String;
|
|
1397
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1398
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1399
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1400
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1401
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1402
|
+
readonly kind: "json";
|
|
1403
|
+
};
|
|
1404
|
+
readonly "404": {
|
|
1405
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1406
|
+
title: typeof Schema.String;
|
|
1407
|
+
type: typeof Schema.String;
|
|
1408
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1409
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1410
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1411
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1412
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1413
|
+
readonly kind: "json";
|
|
1414
|
+
};
|
|
1415
|
+
readonly "429": {
|
|
1416
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1417
|
+
title: typeof Schema.String;
|
|
1418
|
+
type: typeof Schema.String;
|
|
1419
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1420
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1421
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1422
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1423
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1424
|
+
readonly kind: "json";
|
|
1425
|
+
};
|
|
1426
|
+
readonly "500": {
|
|
1427
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1428
|
+
title: typeof Schema.String;
|
|
1429
|
+
type: typeof Schema.String;
|
|
1430
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1431
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1432
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1433
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1434
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1435
|
+
readonly kind: "json";
|
|
1436
|
+
};
|
|
1437
|
+
};
|
|
1438
|
+
export type DeleteDatabaseV3Success = ResponseUnion<typeof DeleteDatabaseV3SuccessSchemas>;
|
|
1439
|
+
export type DeleteDatabaseV3Error = ResponseUnion<typeof DeleteDatabaseV3ErrorSchemas>;
|
|
1440
|
+
export type DeleteDatabaseV3Response = DeleteDatabaseV3Success | DeleteDatabaseV3Error;
|
|
1441
|
+
export type DeleteDatabaseV3Failure = OperationFailure<typeof DeleteDatabaseV3ErrorSchemas>;
|
|
1442
|
+
export declare const GetDatabaseUsageV3Input: Schema.Struct<{
|
|
1443
|
+
path: Schema.Struct<{
|
|
1444
|
+
db_id: typeof Schema.String;
|
|
1445
|
+
}>;
|
|
1446
|
+
query: Schema.Struct<{
|
|
1447
|
+
from: Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>;
|
|
1448
|
+
to: Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>;
|
|
1449
|
+
}>;
|
|
1450
|
+
}>;
|
|
1451
|
+
export type GetDatabaseUsageV3Input = SchemaType<typeof GetDatabaseUsageV3Input>;
|
|
1452
|
+
export declare const GetDatabaseUsageV3ResponseStatus200: Schema.TypeLiteral<{
|
|
1453
|
+
RowsRead: Schema.filter<typeof Schema.Number>;
|
|
1454
|
+
RowsWritten: Schema.filter<typeof Schema.Number>;
|
|
1455
|
+
AvgLatencyMs: typeof Schema.Number;
|
|
1456
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1457
|
+
export declare const GetDatabaseUsageV3ResponseStatus400: Schema.TypeLiteral<{
|
|
1458
|
+
title: typeof Schema.String;
|
|
1459
|
+
type: typeof Schema.String;
|
|
1460
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1461
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1462
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1463
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1464
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1465
|
+
export declare const GetDatabaseUsageV3ResponseStatus401: Schema.TypeLiteral<{
|
|
1466
|
+
title: typeof Schema.String;
|
|
1467
|
+
type: typeof Schema.String;
|
|
1468
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1469
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1470
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1471
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1472
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1473
|
+
export declare const GetDatabaseUsageV3ResponseStatus403: Schema.TypeLiteral<{
|
|
1474
|
+
title: typeof Schema.String;
|
|
1475
|
+
type: typeof Schema.String;
|
|
1476
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1477
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1478
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1479
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1480
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1481
|
+
export declare const GetDatabaseUsageV3ResponseStatus404: Schema.TypeLiteral<{
|
|
1482
|
+
title: typeof Schema.String;
|
|
1483
|
+
type: typeof Schema.String;
|
|
1484
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1485
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1486
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1487
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1488
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1489
|
+
export declare const GetDatabaseUsageV3ResponseStatus429: Schema.TypeLiteral<{
|
|
1490
|
+
title: typeof Schema.String;
|
|
1491
|
+
type: typeof Schema.String;
|
|
1492
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1493
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1494
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1495
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1496
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1497
|
+
export declare const GetDatabaseUsageV3ResponseStatus500: Schema.TypeLiteral<{
|
|
1498
|
+
title: typeof Schema.String;
|
|
1499
|
+
type: typeof Schema.String;
|
|
1500
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1501
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1502
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1503
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1504
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1505
|
+
declare const GetDatabaseUsageV3SuccessSchemas: {
|
|
1506
|
+
readonly "200": {
|
|
1507
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1508
|
+
RowsRead: Schema.filter<typeof Schema.Number>;
|
|
1509
|
+
RowsWritten: Schema.filter<typeof Schema.Number>;
|
|
1510
|
+
AvgLatencyMs: typeof Schema.Number;
|
|
1511
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1512
|
+
readonly kind: "json";
|
|
1513
|
+
};
|
|
1514
|
+
};
|
|
1515
|
+
declare const GetDatabaseUsageV3ErrorSchemas: {
|
|
1516
|
+
readonly "400": {
|
|
1517
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1518
|
+
title: typeof Schema.String;
|
|
1519
|
+
type: typeof Schema.String;
|
|
1520
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1521
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1522
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1523
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1524
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1525
|
+
readonly kind: "json";
|
|
1526
|
+
};
|
|
1527
|
+
readonly "401": {
|
|
1528
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1529
|
+
title: typeof Schema.String;
|
|
1530
|
+
type: typeof Schema.String;
|
|
1531
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1532
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1533
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1534
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1535
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1536
|
+
readonly kind: "json";
|
|
1537
|
+
};
|
|
1538
|
+
readonly "403": {
|
|
1539
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1540
|
+
title: typeof Schema.String;
|
|
1541
|
+
type: typeof Schema.String;
|
|
1542
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1543
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1544
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1545
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1546
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1547
|
+
readonly kind: "json";
|
|
1548
|
+
};
|
|
1549
|
+
readonly "404": {
|
|
1550
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1551
|
+
title: typeof Schema.String;
|
|
1552
|
+
type: typeof Schema.String;
|
|
1553
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1554
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1555
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1556
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1557
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1558
|
+
readonly kind: "json";
|
|
1559
|
+
};
|
|
1560
|
+
readonly "429": {
|
|
1561
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1562
|
+
title: typeof Schema.String;
|
|
1563
|
+
type: typeof Schema.String;
|
|
1564
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1565
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1566
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1567
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1568
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1569
|
+
readonly kind: "json";
|
|
1570
|
+
};
|
|
1571
|
+
readonly "500": {
|
|
1572
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1573
|
+
title: typeof Schema.String;
|
|
1574
|
+
type: typeof Schema.String;
|
|
1575
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1576
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1577
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1578
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1579
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1580
|
+
readonly kind: "json";
|
|
1581
|
+
};
|
|
1582
|
+
};
|
|
1583
|
+
export type GetDatabaseUsageV3Success = ResponseUnion<typeof GetDatabaseUsageV3SuccessSchemas>;
|
|
1584
|
+
export type GetDatabaseUsageV3Error = ResponseUnion<typeof GetDatabaseUsageV3ErrorSchemas>;
|
|
1585
|
+
export type GetDatabaseUsageV3Response = GetDatabaseUsageV3Success | GetDatabaseUsageV3Error;
|
|
1586
|
+
export type GetDatabaseUsageV3Failure = OperationFailure<typeof GetDatabaseUsageV3ErrorSchemas>;
|
|
1587
|
+
export declare const GetActiveDatabasesUsageV3ResponseStatus200: Schema.TypeLiteral<{
|
|
1588
|
+
ActiveDb: Schema.filter<typeof Schema.Number>;
|
|
1589
|
+
TotalDb: Schema.filter<typeof Schema.Number>;
|
|
1590
|
+
TotalDbSize: typeof Schema.String;
|
|
1591
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1592
|
+
export declare const GetActiveDatabasesUsageV3ResponseStatus401: Schema.TypeLiteral<{
|
|
1593
|
+
title: typeof Schema.String;
|
|
1594
|
+
type: typeof Schema.String;
|
|
1595
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1596
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1597
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1598
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1599
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1600
|
+
export declare const GetActiveDatabasesUsageV3ResponseStatus403: Schema.TypeLiteral<{
|
|
1601
|
+
title: typeof Schema.String;
|
|
1602
|
+
type: typeof Schema.String;
|
|
1603
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1604
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1605
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1606
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1607
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1608
|
+
export declare const GetActiveDatabasesUsageV3ResponseStatus429: Schema.TypeLiteral<{
|
|
1609
|
+
title: typeof Schema.String;
|
|
1610
|
+
type: typeof Schema.String;
|
|
1611
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1612
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1613
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1614
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1615
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1616
|
+
export declare const GetActiveDatabasesUsageV3ResponseStatus500: Schema.TypeLiteral<{
|
|
1617
|
+
title: typeof Schema.String;
|
|
1618
|
+
type: typeof Schema.String;
|
|
1619
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1620
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1621
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1622
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1623
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1624
|
+
declare const GetActiveDatabasesUsageV3SuccessSchemas: {
|
|
1625
|
+
readonly "200": {
|
|
1626
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1627
|
+
ActiveDb: Schema.filter<typeof Schema.Number>;
|
|
1628
|
+
TotalDb: Schema.filter<typeof Schema.Number>;
|
|
1629
|
+
TotalDbSize: typeof Schema.String;
|
|
1630
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1631
|
+
readonly kind: "json";
|
|
1632
|
+
};
|
|
1633
|
+
};
|
|
1634
|
+
declare const GetActiveDatabasesUsageV3ErrorSchemas: {
|
|
1635
|
+
readonly "401": {
|
|
1636
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1637
|
+
title: typeof Schema.String;
|
|
1638
|
+
type: typeof Schema.String;
|
|
1639
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1640
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1641
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1642
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1643
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1644
|
+
readonly kind: "json";
|
|
1645
|
+
};
|
|
1646
|
+
readonly "403": {
|
|
1647
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1648
|
+
title: typeof Schema.String;
|
|
1649
|
+
type: typeof Schema.String;
|
|
1650
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1651
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1652
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1653
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1654
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1655
|
+
readonly kind: "json";
|
|
1656
|
+
};
|
|
1657
|
+
readonly "429": {
|
|
1658
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1659
|
+
title: typeof Schema.String;
|
|
1660
|
+
type: typeof Schema.String;
|
|
1661
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1662
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1663
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1664
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1665
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1666
|
+
readonly kind: "json";
|
|
1667
|
+
};
|
|
1668
|
+
readonly "500": {
|
|
1669
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1670
|
+
title: typeof Schema.String;
|
|
1671
|
+
type: typeof Schema.String;
|
|
1672
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1673
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1674
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1675
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1676
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1677
|
+
readonly kind: "json";
|
|
1678
|
+
};
|
|
1679
|
+
};
|
|
1680
|
+
export type GetActiveDatabasesUsageV3Success = ResponseUnion<typeof GetActiveDatabasesUsageV3SuccessSchemas>;
|
|
1681
|
+
export type GetActiveDatabasesUsageV3Error = ResponseUnion<typeof GetActiveDatabasesUsageV3ErrorSchemas>;
|
|
1682
|
+
export type GetActiveDatabasesUsageV3Response = GetActiveDatabasesUsageV3Success | GetActiveDatabasesUsageV3Error;
|
|
1683
|
+
export type GetActiveDatabasesUsageV3Failure = OperationFailure<typeof GetActiveDatabasesUsageV3ErrorSchemas>;
|
|
1684
|
+
export declare const GetDatabaseStatisticsV3Input: Schema.Struct<{
|
|
1685
|
+
path: Schema.Struct<{
|
|
1686
|
+
db_id: typeof Schema.String;
|
|
1687
|
+
}>;
|
|
1688
|
+
query: Schema.Struct<{
|
|
1689
|
+
from: Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>;
|
|
1690
|
+
to: Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>;
|
|
1691
|
+
}>;
|
|
1692
|
+
}>;
|
|
1693
|
+
export type GetDatabaseStatisticsV3Input = SchemaType<typeof GetDatabaseStatisticsV3Input>;
|
|
1694
|
+
export declare const GetDatabaseStatisticsV3ResponseStatus200: Schema.TypeLiteral<{
|
|
1695
|
+
RowReadCount: Schema.TypeLiteral<{
|
|
1696
|
+
Unit: Schema.Literal<["NoUnit", "milliseconds", "megabyte"]>;
|
|
1697
|
+
Data: Schema.Array$<Schema.Tuple2<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>, typeof Schema.Number>>;
|
|
1698
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1699
|
+
RowWriteCount: Schema.TypeLiteral<{
|
|
1700
|
+
Unit: Schema.Literal<["NoUnit", "milliseconds", "megabyte"]>;
|
|
1701
|
+
Data: Schema.Array$<Schema.Tuple2<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>, typeof Schema.Number>>;
|
|
1702
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1703
|
+
DelegatedWriteRequests: Schema.TypeLiteral<{
|
|
1704
|
+
Unit: Schema.Literal<["NoUnit", "milliseconds", "megabyte"]>;
|
|
1705
|
+
Data: Schema.Array$<Schema.Tuple2<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>, typeof Schema.Number>>;
|
|
1706
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1707
|
+
Storage: Schema.TypeLiteral<{
|
|
1708
|
+
Unit: Schema.Literal<["NoUnit", "milliseconds", "megabyte"]>;
|
|
1709
|
+
Data: Schema.Array$<Schema.Tuple2<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>, typeof Schema.Number>>;
|
|
1710
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1711
|
+
Latency: Schema.TypeLiteral<{
|
|
1712
|
+
Unit: Schema.Literal<["NoUnit", "milliseconds", "megabyte"]>;
|
|
1713
|
+
Data: Schema.Record$<typeof Schema.String, Schema.TypeLiteral<{
|
|
1714
|
+
Data: Schema.Array$<Schema.Tuple2<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>, typeof Schema.Number>>;
|
|
1715
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
1716
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1717
|
+
QueryCount: Schema.TypeLiteral<{
|
|
1718
|
+
Unit: Schema.Literal<["NoUnit", "milliseconds", "megabyte"]>;
|
|
1719
|
+
Data: Schema.Array$<Schema.Tuple2<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>, typeof Schema.Number>>;
|
|
1720
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1721
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1722
|
+
export declare const GetDatabaseStatisticsV3ResponseStatus400: Schema.TypeLiteral<{
|
|
1723
|
+
title: typeof Schema.String;
|
|
1724
|
+
type: typeof Schema.String;
|
|
1725
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1726
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1727
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1728
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1729
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1730
|
+
export declare const GetDatabaseStatisticsV3ResponseStatus401: Schema.TypeLiteral<{
|
|
1731
|
+
title: typeof Schema.String;
|
|
1732
|
+
type: typeof Schema.String;
|
|
1733
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1734
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1735
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1736
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1737
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1738
|
+
export declare const GetDatabaseStatisticsV3ResponseStatus403: Schema.TypeLiteral<{
|
|
1739
|
+
title: typeof Schema.String;
|
|
1740
|
+
type: typeof Schema.String;
|
|
1741
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1742
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1743
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1744
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1745
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1746
|
+
export declare const GetDatabaseStatisticsV3ResponseStatus404: Schema.TypeLiteral<{
|
|
1747
|
+
title: typeof Schema.String;
|
|
1748
|
+
type: typeof Schema.String;
|
|
1749
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1750
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1751
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1752
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1753
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1754
|
+
export declare const GetDatabaseStatisticsV3ResponseStatus429: Schema.TypeLiteral<{
|
|
1755
|
+
title: typeof Schema.String;
|
|
1756
|
+
type: typeof Schema.String;
|
|
1757
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1758
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1759
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1760
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1761
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1762
|
+
export declare const GetDatabaseStatisticsV3ResponseStatus500: Schema.TypeLiteral<{
|
|
1763
|
+
title: typeof Schema.String;
|
|
1764
|
+
type: typeof Schema.String;
|
|
1765
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1766
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1767
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1768
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1769
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1770
|
+
declare const GetDatabaseStatisticsV3SuccessSchemas: {
|
|
1771
|
+
readonly "200": {
|
|
1772
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1773
|
+
RowReadCount: Schema.TypeLiteral<{
|
|
1774
|
+
Unit: Schema.Literal<["NoUnit", "milliseconds", "megabyte"]>;
|
|
1775
|
+
Data: Schema.Array$<Schema.Tuple2<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>, typeof Schema.Number>>;
|
|
1776
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1777
|
+
RowWriteCount: Schema.TypeLiteral<{
|
|
1778
|
+
Unit: Schema.Literal<["NoUnit", "milliseconds", "megabyte"]>;
|
|
1779
|
+
Data: Schema.Array$<Schema.Tuple2<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>, typeof Schema.Number>>;
|
|
1780
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1781
|
+
DelegatedWriteRequests: Schema.TypeLiteral<{
|
|
1782
|
+
Unit: Schema.Literal<["NoUnit", "milliseconds", "megabyte"]>;
|
|
1783
|
+
Data: Schema.Array$<Schema.Tuple2<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>, typeof Schema.Number>>;
|
|
1784
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1785
|
+
Storage: Schema.TypeLiteral<{
|
|
1786
|
+
Unit: Schema.Literal<["NoUnit", "milliseconds", "megabyte"]>;
|
|
1787
|
+
Data: Schema.Array$<Schema.Tuple2<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>, typeof Schema.Number>>;
|
|
1788
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1789
|
+
Latency: Schema.TypeLiteral<{
|
|
1790
|
+
Unit: Schema.Literal<["NoUnit", "milliseconds", "megabyte"]>;
|
|
1791
|
+
Data: Schema.Record$<typeof Schema.String, Schema.TypeLiteral<{
|
|
1792
|
+
Data: Schema.Array$<Schema.Tuple2<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>, typeof Schema.Number>>;
|
|
1793
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>>;
|
|
1794
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1795
|
+
QueryCount: Schema.TypeLiteral<{
|
|
1796
|
+
Unit: Schema.Literal<["NoUnit", "milliseconds", "megabyte"]>;
|
|
1797
|
+
Data: Schema.Array$<Schema.Tuple2<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>, typeof Schema.Number>>;
|
|
1798
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1799
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1800
|
+
readonly kind: "json";
|
|
1801
|
+
};
|
|
1802
|
+
};
|
|
1803
|
+
declare const GetDatabaseStatisticsV3ErrorSchemas: {
|
|
1804
|
+
readonly "400": {
|
|
1805
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1806
|
+
title: typeof Schema.String;
|
|
1807
|
+
type: typeof Schema.String;
|
|
1808
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1809
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1810
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1811
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1812
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1813
|
+
readonly kind: "json";
|
|
1814
|
+
};
|
|
1815
|
+
readonly "401": {
|
|
1816
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1817
|
+
title: typeof Schema.String;
|
|
1818
|
+
type: typeof Schema.String;
|
|
1819
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1820
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1821
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1822
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1823
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1824
|
+
readonly kind: "json";
|
|
1825
|
+
};
|
|
1826
|
+
readonly "403": {
|
|
1827
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1828
|
+
title: typeof Schema.String;
|
|
1829
|
+
type: typeof Schema.String;
|
|
1830
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1831
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1832
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1833
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1834
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1835
|
+
readonly kind: "json";
|
|
1836
|
+
};
|
|
1837
|
+
readonly "404": {
|
|
1838
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1839
|
+
title: typeof Schema.String;
|
|
1840
|
+
type: typeof Schema.String;
|
|
1841
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1842
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1843
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1844
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1845
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1846
|
+
readonly kind: "json";
|
|
1847
|
+
};
|
|
1848
|
+
readonly "429": {
|
|
1849
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1850
|
+
title: typeof Schema.String;
|
|
1851
|
+
type: typeof Schema.String;
|
|
1852
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1853
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1854
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1855
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1856
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1857
|
+
readonly kind: "json";
|
|
1858
|
+
};
|
|
1859
|
+
readonly "500": {
|
|
1860
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1861
|
+
title: typeof Schema.String;
|
|
1862
|
+
type: typeof Schema.String;
|
|
1863
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1864
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1865
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1866
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1867
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1868
|
+
readonly kind: "json";
|
|
1869
|
+
};
|
|
1870
|
+
};
|
|
1871
|
+
export type GetDatabaseStatisticsV3Success = ResponseUnion<typeof GetDatabaseStatisticsV3SuccessSchemas>;
|
|
1872
|
+
export type GetDatabaseStatisticsV3Error = ResponseUnion<typeof GetDatabaseStatisticsV3ErrorSchemas>;
|
|
1873
|
+
export type GetDatabaseStatisticsV3Response = GetDatabaseStatisticsV3Success | GetDatabaseStatisticsV3Error;
|
|
1874
|
+
export type GetDatabaseStatisticsV3Failure = OperationFailure<typeof GetDatabaseStatisticsV3ErrorSchemas>;
|
|
1875
|
+
export declare const GenerateDatabaseTokenV3Input: Schema.Struct<{
|
|
1876
|
+
path: Schema.Struct<{
|
|
1877
|
+
db_id: typeof Schema.String;
|
|
1878
|
+
}>;
|
|
1879
|
+
body: Schema.Struct<{
|
|
1880
|
+
ExpiresAt: Schema.optional<Schema.NullOr<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>>>;
|
|
1881
|
+
Authorization: Schema.Literal<["full-access", "read-only"]>;
|
|
1882
|
+
}>;
|
|
1883
|
+
}>;
|
|
1884
|
+
export type GenerateDatabaseTokenV3Input = SchemaType<typeof GenerateDatabaseTokenV3Input>;
|
|
1885
|
+
export declare const GenerateDatabaseTokenV3ResponseStatus200: Schema.TypeLiteral<{
|
|
1886
|
+
Token: typeof Schema.String;
|
|
1887
|
+
ExpiresAt: Schema.optional<Schema.NullOr<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>>>;
|
|
1888
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1889
|
+
export declare const GenerateDatabaseTokenV3ResponseStatus400: Schema.TypeLiteral<{
|
|
1890
|
+
title: typeof Schema.String;
|
|
1891
|
+
type: typeof Schema.String;
|
|
1892
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1893
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1894
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1895
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1896
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1897
|
+
export declare const GenerateDatabaseTokenV3ResponseStatus401: Schema.TypeLiteral<{
|
|
1898
|
+
title: typeof Schema.String;
|
|
1899
|
+
type: typeof Schema.String;
|
|
1900
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1901
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1902
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1903
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1904
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1905
|
+
export declare const GenerateDatabaseTokenV3ResponseStatus403: Schema.TypeLiteral<{
|
|
1906
|
+
title: typeof Schema.String;
|
|
1907
|
+
type: typeof Schema.String;
|
|
1908
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1909
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1910
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1911
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1912
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1913
|
+
export declare const GenerateDatabaseTokenV3ResponseStatus404: Schema.TypeLiteral<{
|
|
1914
|
+
title: typeof Schema.String;
|
|
1915
|
+
type: typeof Schema.String;
|
|
1916
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1917
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1918
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1919
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1920
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1921
|
+
export declare const GenerateDatabaseTokenV3ResponseStatus429: Schema.TypeLiteral<{
|
|
1922
|
+
title: typeof Schema.String;
|
|
1923
|
+
type: typeof Schema.String;
|
|
1924
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1925
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1926
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1927
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1928
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1929
|
+
export declare const GenerateDatabaseTokenV3ResponseStatus500: Schema.TypeLiteral<{
|
|
1930
|
+
title: typeof Schema.String;
|
|
1931
|
+
type: typeof Schema.String;
|
|
1932
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1933
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1934
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1935
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1936
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1937
|
+
declare const GenerateDatabaseTokenV3SuccessSchemas: {
|
|
1938
|
+
readonly "200": {
|
|
1939
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1940
|
+
Token: typeof Schema.String;
|
|
1941
|
+
ExpiresAt: Schema.optional<Schema.NullOr<Schema.transform<typeof Schema.String, typeof Schema.ValidDateFromSelf>>>;
|
|
1942
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1943
|
+
readonly kind: "json";
|
|
1944
|
+
};
|
|
1945
|
+
};
|
|
1946
|
+
declare const GenerateDatabaseTokenV3ErrorSchemas: {
|
|
1947
|
+
readonly "400": {
|
|
1948
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1949
|
+
title: typeof Schema.String;
|
|
1950
|
+
type: typeof Schema.String;
|
|
1951
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1952
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1953
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1954
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1955
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1956
|
+
readonly kind: "json";
|
|
1957
|
+
};
|
|
1958
|
+
readonly "401": {
|
|
1959
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1960
|
+
title: typeof Schema.String;
|
|
1961
|
+
type: typeof Schema.String;
|
|
1962
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1963
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1964
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1965
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1966
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1967
|
+
readonly kind: "json";
|
|
1968
|
+
};
|
|
1969
|
+
readonly "403": {
|
|
1970
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1971
|
+
title: typeof Schema.String;
|
|
1972
|
+
type: typeof Schema.String;
|
|
1973
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1974
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1975
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1976
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1977
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1978
|
+
readonly kind: "json";
|
|
1979
|
+
};
|
|
1980
|
+
readonly "404": {
|
|
1981
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1982
|
+
title: typeof Schema.String;
|
|
1983
|
+
type: typeof Schema.String;
|
|
1984
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1985
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1986
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1987
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1988
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
1989
|
+
readonly kind: "json";
|
|
1990
|
+
};
|
|
1991
|
+
readonly "429": {
|
|
1992
|
+
readonly schema: Schema.TypeLiteral<{
|
|
1993
|
+
title: typeof Schema.String;
|
|
1994
|
+
type: typeof Schema.String;
|
|
1995
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
1996
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1997
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
1998
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
1999
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2000
|
+
readonly kind: "json";
|
|
2001
|
+
};
|
|
2002
|
+
readonly "500": {
|
|
2003
|
+
readonly schema: Schema.TypeLiteral<{
|
|
2004
|
+
title: typeof Schema.String;
|
|
2005
|
+
type: typeof Schema.String;
|
|
2006
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2007
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2008
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2009
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2010
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2011
|
+
readonly kind: "json";
|
|
2012
|
+
};
|
|
2013
|
+
};
|
|
2014
|
+
export type GenerateDatabaseTokenV3Success = ResponseUnion<typeof GenerateDatabaseTokenV3SuccessSchemas>;
|
|
2015
|
+
export type GenerateDatabaseTokenV3Error = ResponseUnion<typeof GenerateDatabaseTokenV3ErrorSchemas>;
|
|
2016
|
+
export type GenerateDatabaseTokenV3Response = GenerateDatabaseTokenV3Success | GenerateDatabaseTokenV3Error;
|
|
2017
|
+
export type GenerateDatabaseTokenV3Failure = OperationFailure<typeof GenerateDatabaseTokenV3ErrorSchemas>;
|
|
2018
|
+
export declare const RevokeDatabaseTokensV3Input: Schema.Struct<{
|
|
2019
|
+
path: Schema.Struct<{
|
|
2020
|
+
db_id: typeof Schema.String;
|
|
2021
|
+
}>;
|
|
2022
|
+
}>;
|
|
2023
|
+
export type RevokeDatabaseTokensV3Input = SchemaType<typeof RevokeDatabaseTokensV3Input>;
|
|
2024
|
+
export declare const RevokeDatabaseTokensV3ResponseStatus204: typeof Schema.Undefined;
|
|
2025
|
+
export declare const RevokeDatabaseTokensV3ResponseStatus400: Schema.TypeLiteral<{
|
|
2026
|
+
title: typeof Schema.String;
|
|
2027
|
+
type: typeof Schema.String;
|
|
2028
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2029
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2030
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2031
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2032
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2033
|
+
export declare const RevokeDatabaseTokensV3ResponseStatus401: Schema.TypeLiteral<{
|
|
2034
|
+
title: typeof Schema.String;
|
|
2035
|
+
type: typeof Schema.String;
|
|
2036
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2037
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2038
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2039
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2040
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2041
|
+
export declare const RevokeDatabaseTokensV3ResponseStatus403: Schema.TypeLiteral<{
|
|
2042
|
+
title: typeof Schema.String;
|
|
2043
|
+
type: typeof Schema.String;
|
|
2044
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2045
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2046
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2047
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2048
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2049
|
+
export declare const RevokeDatabaseTokensV3ResponseStatus404: Schema.TypeLiteral<{
|
|
2050
|
+
title: typeof Schema.String;
|
|
2051
|
+
type: typeof Schema.String;
|
|
2052
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2053
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2054
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2055
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2056
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2057
|
+
export declare const RevokeDatabaseTokensV3ResponseStatus429: Schema.TypeLiteral<{
|
|
2058
|
+
title: typeof Schema.String;
|
|
2059
|
+
type: typeof Schema.String;
|
|
2060
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2061
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2062
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2063
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2064
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2065
|
+
export declare const RevokeDatabaseTokensV3ResponseStatus500: Schema.TypeLiteral<{
|
|
2066
|
+
title: typeof Schema.String;
|
|
2067
|
+
type: typeof Schema.String;
|
|
2068
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2069
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2070
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2071
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2072
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2073
|
+
declare const RevokeDatabaseTokensV3SuccessSchemas: {
|
|
2074
|
+
readonly "204": {
|
|
2075
|
+
readonly schema: typeof Schema.Undefined;
|
|
2076
|
+
readonly kind: "empty";
|
|
2077
|
+
};
|
|
2078
|
+
};
|
|
2079
|
+
declare const RevokeDatabaseTokensV3ErrorSchemas: {
|
|
2080
|
+
readonly "400": {
|
|
2081
|
+
readonly schema: Schema.TypeLiteral<{
|
|
2082
|
+
title: typeof Schema.String;
|
|
2083
|
+
type: typeof Schema.String;
|
|
2084
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2085
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2086
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2087
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2088
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2089
|
+
readonly kind: "json";
|
|
2090
|
+
};
|
|
2091
|
+
readonly "401": {
|
|
2092
|
+
readonly schema: Schema.TypeLiteral<{
|
|
2093
|
+
title: typeof Schema.String;
|
|
2094
|
+
type: typeof Schema.String;
|
|
2095
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2096
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2097
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2098
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2099
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2100
|
+
readonly kind: "json";
|
|
2101
|
+
};
|
|
2102
|
+
readonly "403": {
|
|
2103
|
+
readonly schema: Schema.TypeLiteral<{
|
|
2104
|
+
title: typeof Schema.String;
|
|
2105
|
+
type: typeof Schema.String;
|
|
2106
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2107
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2108
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2109
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2110
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2111
|
+
readonly kind: "json";
|
|
2112
|
+
};
|
|
2113
|
+
readonly "404": {
|
|
2114
|
+
readonly schema: Schema.TypeLiteral<{
|
|
2115
|
+
title: typeof Schema.String;
|
|
2116
|
+
type: typeof Schema.String;
|
|
2117
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2118
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2119
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2120
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2121
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2122
|
+
readonly kind: "json";
|
|
2123
|
+
};
|
|
2124
|
+
readonly "429": {
|
|
2125
|
+
readonly schema: Schema.TypeLiteral<{
|
|
2126
|
+
title: typeof Schema.String;
|
|
2127
|
+
type: typeof Schema.String;
|
|
2128
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2129
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2130
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2131
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2132
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2133
|
+
readonly kind: "json";
|
|
2134
|
+
};
|
|
2135
|
+
readonly "500": {
|
|
2136
|
+
readonly schema: Schema.TypeLiteral<{
|
|
2137
|
+
title: typeof Schema.String;
|
|
2138
|
+
type: typeof Schema.String;
|
|
2139
|
+
status: Schema.filter<typeof Schema.Number>;
|
|
2140
|
+
detail: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2141
|
+
instance: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
2142
|
+
details: Schema.optional<typeof Schema.Unknown>;
|
|
2143
|
+
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
2144
|
+
readonly kind: "json";
|
|
2145
|
+
};
|
|
2146
|
+
};
|
|
2147
|
+
export type RevokeDatabaseTokensV3Success = ResponseUnion<typeof RevokeDatabaseTokensV3SuccessSchemas>;
|
|
2148
|
+
export type RevokeDatabaseTokensV3Error = ResponseUnion<typeof RevokeDatabaseTokensV3ErrorSchemas>;
|
|
2149
|
+
export type RevokeDatabaseTokensV3Response = RevokeDatabaseTokensV3Success | RevokeDatabaseTokensV3Error;
|
|
2150
|
+
export type RevokeDatabaseTokensV3Failure = OperationFailure<typeof RevokeDatabaseTokensV3ErrorSchemas>;
|
|
2151
|
+
/** The operations of `BunnyDatabase`, one method per spec operation. */
|
|
2152
|
+
export interface BunnyDatabaseService {
|
|
2153
|
+
readonly listConfigV3: () => Effect.Effect<ListConfigV3Success, ListConfigV3Failure | BunnyClientError>;
|
|
2154
|
+
readonly getOptimalConfigV3: (input: GetOptimalConfigV3Input) => Effect.Effect<GetOptimalConfigV3Success, GetOptimalConfigV3Failure | BunnyClientError>;
|
|
2155
|
+
readonly getOptimalSingleRegionConfigV3: (input: GetOptimalSingleRegionConfigV3Input) => Effect.Effect<GetOptimalSingleRegionConfigV3Success, GetOptimalSingleRegionConfigV3Failure | BunnyClientError>;
|
|
2156
|
+
readonly getLimitsV3: () => Effect.Effect<GetLimitsV3Success, GetLimitsV3Failure | BunnyClientError>;
|
|
2157
|
+
readonly getLiveDatabasesMetricsV3: (input: GetLiveDatabasesMetricsV3Input) => Effect.Effect<GetLiveDatabasesMetricsV3Success, GetLiveDatabasesMetricsV3Failure | BunnyClientError>;
|
|
2158
|
+
readonly listDatabasesV3: (input: ListDatabasesV3Input) => Effect.Effect<ListDatabasesV3Success, ListDatabasesV3Failure | BunnyClientError>;
|
|
2159
|
+
readonly createDatabaseV3: (input: CreateDatabaseV3Input) => Effect.Effect<CreateDatabaseV3Success, CreateDatabaseV3Failure | BunnyClientError>;
|
|
2160
|
+
readonly getDatabaseV3: (input: GetDatabaseV3Input) => Effect.Effect<GetDatabaseV3Success, GetDatabaseV3Failure | BunnyClientError>;
|
|
2161
|
+
readonly updateDatabaseV3: (input: UpdateDatabaseV3Input) => Effect.Effect<UpdateDatabaseV3Success, UpdateDatabaseV3Failure | BunnyClientError>;
|
|
2162
|
+
readonly deleteDatabaseV3: (input: DeleteDatabaseV3Input) => Effect.Effect<DeleteDatabaseV3Success, DeleteDatabaseV3Failure | BunnyClientError>;
|
|
2163
|
+
readonly getDatabaseUsageV3: (input: GetDatabaseUsageV3Input) => Effect.Effect<GetDatabaseUsageV3Success, GetDatabaseUsageV3Failure | BunnyClientError>;
|
|
2164
|
+
readonly getActiveDatabasesUsageV3: () => Effect.Effect<GetActiveDatabasesUsageV3Success, GetActiveDatabasesUsageV3Failure | BunnyClientError>;
|
|
2165
|
+
readonly getDatabaseStatisticsV3: (input: GetDatabaseStatisticsV3Input) => Effect.Effect<GetDatabaseStatisticsV3Success, GetDatabaseStatisticsV3Failure | BunnyClientError>;
|
|
2166
|
+
readonly generateDatabaseTokenV3: (input: GenerateDatabaseTokenV3Input) => Effect.Effect<GenerateDatabaseTokenV3Success, GenerateDatabaseTokenV3Failure | BunnyClientError>;
|
|
2167
|
+
readonly revokeDatabaseTokensV3: (input: RevokeDatabaseTokensV3Input) => Effect.Effect<RevokeDatabaseTokensV3Success, RevokeDatabaseTokensV3Failure | BunnyClientError>;
|
|
2168
|
+
}
|
|
2169
|
+
declare const BunnyDatabase_base: Context.TagClass<BunnyDatabase, "@bunny.net/api-client-effect-database/BunnyDatabase", BunnyDatabaseService>;
|
|
2170
|
+
/**
|
|
2171
|
+
* `BunnyDatabase` as an Effect service. Provide `BunnyDatabase.Default` (or
|
|
2172
|
+
* `BunnyDatabase.layer({ baseUrl })`) together with an `HttpClient` layer and
|
|
2173
|
+
* `BunnyCredentials`; every method is an Effect that fails with the
|
|
2174
|
+
* operation's typed `BunnyResponseError` or a `BunnyClientError`.
|
|
2175
|
+
*/
|
|
2176
|
+
export declare class BunnyDatabase extends BunnyDatabase_base {
|
|
2177
|
+
static readonly make: (options?: ClientOptions) => Effect.Effect<BunnyDatabaseService, never, HttpClient.HttpClient | BunnyCredentials>;
|
|
2178
|
+
static readonly layer: (options?: ClientOptions) => Layer.Layer<BunnyDatabase, never, HttpClient.HttpClient | BunnyCredentials>;
|
|
2179
|
+
/** The service with the spec's own server URL. */
|
|
2180
|
+
static readonly Default: Layer.Layer<BunnyDatabase, never, HttpClient.HttpClient | BunnyCredentials>;
|
|
2181
|
+
}
|
|
2182
|
+
export {};
|