@cobaltcore-dev/aurora 0.17.1 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/client/AuthProvider-Cj_Btfnc.mjs +56 -0
  2. package/dist/client/AuthProvider-Cj_Btfnc.mjs.map +1 -0
  3. package/dist/client/{BucketToastNotifications-D2Cq2VrV.mjs → BucketToastNotifications-BGd2wVmh.mjs} +2 -2
  4. package/dist/client/{BucketToastNotifications-D2Cq2VrV.mjs.map → BucketToastNotifications-BGd2wVmh.mjs.map} +1 -1
  5. package/dist/client/DeletePcaModal-BU6kbKsw.mjs +80 -0
  6. package/dist/client/DeletePcaModal-BU6kbKsw.mjs.map +1 -0
  7. package/dist/client/DetailsInfo-BUyuYpJj.mjs +52 -0
  8. package/dist/client/DetailsInfo-BUyuYpJj.mjs.map +1 -0
  9. package/dist/client/{FloatingIpActionModals-BUc6yaQ8.mjs → FloatingIpActionModals-DAtZoYGS.mjs} +22 -22
  10. package/dist/client/{FloatingIpActionModals-BUc6yaQ8.mjs.map → FloatingIpActionModals-DAtZoYGS.mjs.map} +1 -1
  11. package/dist/client/{ImageToastNotifications-Dz-VsSwl.mjs → ImageToastNotifications-BhjU1bfT.mjs} +7 -7
  12. package/dist/client/{ImageToastNotifications-Dz-VsSwl.mjs.map → ImageToastNotifications-BhjU1bfT.mjs.map} +1 -1
  13. package/dist/client/{_auth-6uste_10.mjs → _auth-BtRCgHQe.mjs} +2 -2
  14. package/dist/client/{_auth-6uste_10.mjs.map → _auth-BtRCgHQe.mjs.map} +1 -1
  15. package/dist/client/{_flavorId-Cx5tf2KQ.mjs → _flavorId-BQY7YhNx.mjs} +2 -2
  16. package/dist/client/{_flavorId-Cx5tf2KQ.mjs.map → _flavorId-BQY7YhNx.mjs.map} +1 -1
  17. package/dist/client/{_flavorId-C6RJfhh8.mjs → _flavorId-sS1sg_DZ.mjs} +3 -3
  18. package/dist/client/{_flavorId-C6RJfhh8.mjs.map → _flavorId-sS1sg_DZ.mjs.map} +1 -1
  19. package/dist/client/{_floatingIpId-B0l4YNQc.mjs → _floatingIpId-BHZGh8U8.mjs} +2 -2
  20. package/dist/client/{_floatingIpId-B0l4YNQc.mjs.map → _floatingIpId-BHZGh8U8.mjs.map} +1 -1
  21. package/dist/client/{_floatingIpId-cpueAc2F2.mjs → _floatingIpId-CR3aD38l2.mjs} +5 -5
  22. package/dist/client/{_floatingIpId-cpueAc2F2.mjs.map → _floatingIpId-CR3aD38l2.mjs.map} +1 -1
  23. package/dist/client/{_imageId-Bv711w1n.mjs → _imageId-Cf-Xdksv.mjs} +3 -3
  24. package/dist/client/{_imageId-Bv711w1n.mjs.map → _imageId-Cf-Xdksv.mjs.map} +1 -1
  25. package/dist/client/_pcaId-B7j0sXnY.mjs +545 -0
  26. package/dist/client/_pcaId-B7j0sXnY.mjs.map +1 -0
  27. package/dist/client/{_projectId-fEA6fnFQ.mjs → _projectId-Cq9JnhRj.mjs} +3 -3
  28. package/dist/client/{_projectId-fEA6fnFQ.mjs.map → _projectId-Cq9JnhRj.mjs.map} +1 -1
  29. package/dist/client/{_projectId-w-tZz0FI.mjs → _projectId-D8FHe0gr.mjs} +2 -2
  30. package/dist/client/{_projectId-w-tZz0FI.mjs.map → _projectId-D8FHe0gr.mjs.map} +1 -1
  31. package/dist/client/{_projectId-qvINx3Dx.mjs → _projectId-Ig3QqYzt.mjs} +2 -2
  32. package/dist/client/{_projectId-qvINx3Dx.mjs.map → _projectId-Ig3QqYzt.mjs.map} +1 -1
  33. package/dist/client/{_projectId-BOaPmCuz.mjs → _projectId-b4NGeECR.mjs} +3 -3
  34. package/dist/client/{_projectId-BOaPmCuz.mjs.map → _projectId-b4NGeECR.mjs.map} +1 -1
  35. package/dist/client/{_securityGroupId-B-RYPDDc.mjs → _securityGroupId-BVSsCus9.mjs} +2 -2
  36. package/dist/client/{_securityGroupId-B-RYPDDc.mjs.map → _securityGroupId-BVSsCus9.mjs.map} +1 -1
  37. package/dist/client/{_securityGroupId-BC3KC6h5.mjs → _securityGroupId-gwV4eB0s.mjs} +16 -16
  38. package/dist/client/{_securityGroupId-BC3KC6h5.mjs.map → _securityGroupId-gwV4eB0s.mjs.map} +1 -1
  39. package/dist/client/{_storageType-ZFnIALny.mjs → _storageType-CH2khFcZ.mjs} +2 -2
  40. package/dist/client/{_storageType-ZFnIALny.mjs.map → _storageType-CH2khFcZ.mjs.map} +1 -1
  41. package/dist/client/{_storageType-MgntkZb6.mjs → _storageType-D-1H6SX1.mjs} +856 -856
  42. package/dist/client/{_storageType-MgntkZb6.mjs.map → _storageType-D-1H6SX1.mjs.map} +1 -1
  43. package/dist/client/{aurora-AAy9BJE7.mjs → aurora-Owys0YMN.mjs} +2 -2
  44. package/dist/client/{aurora-AAy9BJE7.mjs.map → aurora-Owys0YMN.mjs.map} +1 -1
  45. package/dist/client/build-DgeVmENN.mjs.map +1 -1
  46. package/dist/client/{floatingips-Bkk5-I_p.mjs → floatingips-DyBEotB8.mjs} +10 -10
  47. package/dist/client/{floatingips-Bkk5-I_p.mjs.map → floatingips-DyBEotB8.mjs.map} +1 -1
  48. package/dist/client/hooks-iGiEkLTp.mjs +12 -0
  49. package/dist/client/hooks-iGiEkLTp.mjs.map +1 -0
  50. package/dist/client/{images-FE3vJ6pP.mjs → images-BklbSacK.mjs} +2 -2
  51. package/dist/client/{images-FE3vJ6pP.mjs.map → images-BklbSacK.mjs.map} +1 -1
  52. package/dist/client/{images-DBLfzuJA.mjs → images-C3voJ3B1.mjs} +259 -259
  53. package/dist/client/{images-DBLfzuJA.mjs.map → images-C3voJ3B1.mjs.map} +1 -1
  54. package/dist/client/index.d.ts +3 -1
  55. package/dist/client/index.js +370 -414
  56. package/dist/client/index.js.map +1 -1
  57. package/dist/client/md-CyCflQee.mjs.map +1 -1
  58. package/dist/client/{objects-DpgXMFrG.mjs → objects-B3Z8h4RU.mjs} +2 -2
  59. package/dist/client/{objects-DpgXMFrG.mjs.map → objects-B3Z8h4RU.mjs.map} +1 -1
  60. package/dist/client/{objects-Deo1Ic1A.mjs → objects-CGOfO00N.mjs} +499 -475
  61. package/dist/client/objects-CGOfO00N.mjs.map +1 -0
  62. package/dist/client/{pca-BkAJ5jvX.mjs → pca-72YR_Pk0.mjs} +3 -3
  63. package/dist/client/pca-72YR_Pk0.mjs.map +1 -0
  64. package/dist/client/pca-CsBx_IDO.mjs +251 -0
  65. package/dist/client/pca-CsBx_IDO.mjs.map +1 -0
  66. package/dist/client/pcaAccess-Br4kVjLQ.mjs +9 -0
  67. package/dist/client/pcaAccess-Br4kVjLQ.mjs.map +1 -0
  68. package/dist/client/{securitygroups-D14Jv1GQ.mjs → securitygroups-8vRbXmBL.mjs} +3 -3
  69. package/dist/client/{securitygroups-D14Jv1GQ.mjs.map → securitygroups-8vRbXmBL.mjs.map} +1 -1
  70. package/dist/client/trpcClient-BxcNKnhv.mjs +65 -0
  71. package/dist/client/trpcClient-BxcNKnhv.mjs.map +1 -0
  72. package/dist/client/trpcClient.d.ts +3014 -0
  73. package/dist/server/index.d.ts +3058 -1
  74. package/dist/server/index.js +53 -23
  75. package/package.json +4 -2
  76. package/dist/client/AuthProvider-BQSJk5R4.mjs +0 -63
  77. package/dist/client/AuthProvider-BQSJk5R4.mjs.map +0 -1
  78. package/dist/client/_pcaId-CPLb5J6d.mjs +0 -479
  79. package/dist/client/_pcaId-CPLb5J6d.mjs.map +0 -1
  80. package/dist/client/_pcaId-Hx_72pnp.mjs +0 -36
  81. package/dist/client/_pcaId-Hx_72pnp.mjs.map +0 -1
  82. package/dist/client/constants-BAqOfvr0.mjs +0 -153
  83. package/dist/client/constants-BAqOfvr0.mjs.map +0 -1
  84. package/dist/client/hooks-CnX5q5wN.mjs +0 -2
  85. package/dist/client/objects-Deo1Ic1A.mjs.map +0 -1
  86. package/dist/client/pca-BkAJ5jvX.mjs.map +0 -1
  87. package/dist/client/pca-P0ud1PA9.mjs +0 -202
  88. package/dist/client/pca-P0ud1PA9.mjs.map +0 -1
  89. package/dist/client/pcaAccess-BYUY700H.mjs +0 -9
  90. package/dist/client/pcaAccess-BYUY700H.mjs.map +0 -1
  91. package/dist/client/trpcClient-Dy_MP_Pv.mjs +0 -57
  92. package/dist/client/trpcClient-Dy_MP_Pv.mjs.map +0 -1
@@ -0,0 +1,3014 @@
1
+ import { createTRPCReact, CreateTRPCReact } from '@trpc/react-query';
2
+ import { createTRPCClient, TRPCClient } from '@trpc/client';
3
+ import { AuroraRouter } from '../server/routers';
4
+ /** Type alias for the React tRPC client */
5
+ export type TrpcReact = ReturnType<typeof createTRPCReact<AuroraRouter>>;
6
+ /** Type alias for the vanilla tRPC client */
7
+ export type TrpcClient = ReturnType<typeof createTRPCClient<AuroraRouter>>;
8
+ /** Generic type for creating a typed React tRPC client with a custom router */
9
+ export type CreateTypedTrpcReact<TRouter extends AuroraRouter> = CreateTRPCReact<TRouter, unknown>;
10
+ /** Generic type for creating a typed vanilla tRPC client with a custom router */
11
+ export type CreateTypedTrpcClient<TRouter extends AuroraRouter> = TRPCClient<TRouter>;
12
+ /**
13
+ * Invalidate the cached CSRF token.
14
+ * Call this when receiving a 403 response to trigger a fresh token fetch on the next request.
15
+ */
16
+ export declare const invalidateCsrfToken: () => void;
17
+ export declare function setBffEndpoint(endpoint: string): void;
18
+ export declare const trpcReact: TrpcReact;
19
+ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuiltRouter<{
20
+ ctx: import('../server/context').AuroraPortalContext;
21
+ meta: object;
22
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
23
+ transformer: false;
24
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
25
+ services: import('@trpc/server').TRPCBuiltRouter<{
26
+ ctx: import('../server/context').AuroraPortalContext;
27
+ meta: object;
28
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
29
+ transformer: false;
30
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
31
+ pca: {
32
+ list: import('@trpc/server').TRPCQueryProcedure<{
33
+ input: {
34
+ project_id: string;
35
+ limit?: number | undefined;
36
+ next_page_marker?: string | undefined;
37
+ };
38
+ output: {
39
+ certificate_authorities: {
40
+ id: string;
41
+ project_id: string;
42
+ state: "CREATING" | "AWAITING_CERTIFICATE" | "READY" | "FAILED" | "UNEXPECTED";
43
+ certificate?: {
44
+ pem: string;
45
+ validity: {
46
+ not_after: number;
47
+ not_before?: number | undefined;
48
+ };
49
+ } | undefined;
50
+ certificate_chain?: {
51
+ certificates: {
52
+ pem: string;
53
+ }[];
54
+ pem: string;
55
+ } | undefined;
56
+ configuration?: {
57
+ subject: {
58
+ named_attributes: {
59
+ cn: string;
60
+ c?: string[] | undefined;
61
+ l?: string[] | undefined;
62
+ o?: string[] | undefined;
63
+ ou?: string[] | undefined;
64
+ postal_code?: string[] | undefined;
65
+ st?: string[] | undefined;
66
+ serial_number?: string | undefined;
67
+ street?: string[] | undefined;
68
+ };
69
+ additional_attribute?: {
70
+ key: number[];
71
+ value: string;
72
+ }[] | undefined;
73
+ };
74
+ } | undefined;
75
+ csr?: string | undefined;
76
+ display_subject?: string | undefined;
77
+ imported_certificate_chain?: string | undefined;
78
+ }[];
79
+ links: {
80
+ href: string;
81
+ rel: string;
82
+ }[];
83
+ next_page_marker?: string | undefined;
84
+ };
85
+ meta: object;
86
+ }>;
87
+ create: import('@trpc/server').TRPCMutationProcedure<{
88
+ input: {
89
+ project_id: string;
90
+ configuration: {
91
+ subject: {
92
+ named_attributes: {
93
+ cn: string;
94
+ };
95
+ };
96
+ };
97
+ };
98
+ output: {
99
+ id: string;
100
+ project_id: string;
101
+ state: "CREATING" | "AWAITING_CERTIFICATE" | "READY" | "FAILED" | "UNEXPECTED";
102
+ certificate?: {
103
+ pem: string;
104
+ validity: {
105
+ not_after: number;
106
+ not_before?: number | undefined;
107
+ };
108
+ } | undefined;
109
+ certificate_chain?: {
110
+ certificates: {
111
+ pem: string;
112
+ }[];
113
+ pem: string;
114
+ } | undefined;
115
+ configuration?: {
116
+ subject: {
117
+ named_attributes: {
118
+ cn: string;
119
+ c?: string[] | undefined;
120
+ l?: string[] | undefined;
121
+ o?: string[] | undefined;
122
+ ou?: string[] | undefined;
123
+ postal_code?: string[] | undefined;
124
+ st?: string[] | undefined;
125
+ serial_number?: string | undefined;
126
+ street?: string[] | undefined;
127
+ };
128
+ additional_attribute?: {
129
+ key: number[];
130
+ value: string;
131
+ }[] | undefined;
132
+ };
133
+ } | undefined;
134
+ csr?: string | undefined;
135
+ display_subject?: string | undefined;
136
+ imported_certificate_chain?: string | undefined;
137
+ };
138
+ meta: object;
139
+ }>;
140
+ getById: import('@trpc/server').TRPCQueryProcedure<{
141
+ input: {
142
+ project_id: string;
143
+ certificate_authority_id: string;
144
+ };
145
+ output: {
146
+ id: string;
147
+ project_id: string;
148
+ state: "CREATING" | "AWAITING_CERTIFICATE" | "READY" | "FAILED" | "UNEXPECTED";
149
+ certificate?: {
150
+ pem: string;
151
+ validity: {
152
+ not_after: number;
153
+ not_before?: number | undefined;
154
+ };
155
+ } | undefined;
156
+ certificate_chain?: {
157
+ certificates: {
158
+ pem: string;
159
+ }[];
160
+ pem: string;
161
+ } | undefined;
162
+ configuration?: {
163
+ subject: {
164
+ named_attributes: {
165
+ cn: string;
166
+ c?: string[] | undefined;
167
+ l?: string[] | undefined;
168
+ o?: string[] | undefined;
169
+ ou?: string[] | undefined;
170
+ postal_code?: string[] | undefined;
171
+ st?: string[] | undefined;
172
+ serial_number?: string | undefined;
173
+ street?: string[] | undefined;
174
+ };
175
+ additional_attribute?: {
176
+ key: number[];
177
+ value: string;
178
+ }[] | undefined;
179
+ };
180
+ } | undefined;
181
+ csr?: string | undefined;
182
+ display_subject?: string | undefined;
183
+ imported_certificate_chain?: string | undefined;
184
+ };
185
+ meta: object;
186
+ }>;
187
+ delete: import('@trpc/server').TRPCMutationProcedure<{
188
+ input: {
189
+ project_id: string;
190
+ certificate_authority_id: string;
191
+ };
192
+ output: void;
193
+ meta: object;
194
+ }>;
195
+ import: import('@trpc/server').TRPCMutationProcedure<{
196
+ input: {
197
+ project_id: string;
198
+ certificate_authority_id: string;
199
+ imported_certificate_chain: string;
200
+ };
201
+ output: {
202
+ id: string;
203
+ project_id: string;
204
+ state: "CREATING" | "AWAITING_CERTIFICATE" | "READY" | "FAILED" | "UNEXPECTED";
205
+ certificate?: {
206
+ pem: string;
207
+ validity: {
208
+ not_after: number;
209
+ not_before?: number | undefined;
210
+ };
211
+ } | undefined;
212
+ certificate_chain?: {
213
+ certificates: {
214
+ pem: string;
215
+ }[];
216
+ pem: string;
217
+ } | undefined;
218
+ configuration?: {
219
+ subject: {
220
+ named_attributes: {
221
+ cn: string;
222
+ c?: string[] | undefined;
223
+ l?: string[] | undefined;
224
+ o?: string[] | undefined;
225
+ ou?: string[] | undefined;
226
+ postal_code?: string[] | undefined;
227
+ st?: string[] | undefined;
228
+ serial_number?: string | undefined;
229
+ street?: string[] | undefined;
230
+ };
231
+ additional_attribute?: {
232
+ key: number[];
233
+ value: string;
234
+ }[] | undefined;
235
+ };
236
+ } | undefined;
237
+ csr?: string | undefined;
238
+ display_subject?: string | undefined;
239
+ imported_certificate_chain?: string | undefined;
240
+ };
241
+ meta: object;
242
+ }>;
243
+ listCertificates: import('@trpc/server').TRPCQueryProcedure<{
244
+ input: {
245
+ project_id: string;
246
+ certificate_authority_id: string;
247
+ limit?: number | undefined;
248
+ next_page_marker?: string | undefined;
249
+ };
250
+ output: {
251
+ certificates: {
252
+ certificate_authority_id: string;
253
+ id: string;
254
+ project_id: string;
255
+ certificate?: {
256
+ pem: string;
257
+ validity: {
258
+ not_after: number;
259
+ not_before?: number | undefined;
260
+ };
261
+ } | undefined;
262
+ certificate_chain?: {
263
+ certificates: {
264
+ pem: string;
265
+ }[];
266
+ pem: string;
267
+ } | undefined;
268
+ configuration?: {
269
+ validity: {
270
+ not_after: number;
271
+ not_before?: number | undefined;
272
+ };
273
+ } | undefined;
274
+ csr?: string | undefined;
275
+ }[];
276
+ links: {
277
+ href: string;
278
+ rel: string;
279
+ }[];
280
+ next_page_marker?: string | undefined;
281
+ };
282
+ meta: object;
283
+ }>;
284
+ createCertificate: import('@trpc/server').TRPCMutationProcedure<{
285
+ input: {
286
+ project_id: string;
287
+ certificate_authority_id: string;
288
+ csr: string;
289
+ configuration: {
290
+ validity: {
291
+ not_after: number;
292
+ not_before?: number | undefined;
293
+ };
294
+ };
295
+ };
296
+ output: {
297
+ certificate_authority_id: string;
298
+ id: string;
299
+ project_id: string;
300
+ certificate?: {
301
+ pem: string;
302
+ validity: {
303
+ not_after: number;
304
+ not_before?: number | undefined;
305
+ };
306
+ } | undefined;
307
+ certificate_chain?: {
308
+ certificates: {
309
+ pem: string;
310
+ }[];
311
+ pem: string;
312
+ } | undefined;
313
+ configuration?: {
314
+ validity: {
315
+ not_after: number;
316
+ not_before?: number | undefined;
317
+ };
318
+ } | undefined;
319
+ csr?: string | undefined;
320
+ };
321
+ meta: object;
322
+ }>;
323
+ getByIdCertificate: import('@trpc/server').TRPCQueryProcedure<{
324
+ input: {
325
+ project_id: string;
326
+ certificate_authority_id: string;
327
+ certificate_id: string;
328
+ };
329
+ output: {
330
+ certificate_authority_id: string;
331
+ id: string;
332
+ project_id: string;
333
+ certificate?: {
334
+ pem: string;
335
+ validity: {
336
+ not_after: number;
337
+ not_before?: number | undefined;
338
+ };
339
+ } | undefined;
340
+ certificate_chain?: {
341
+ certificates: {
342
+ pem: string;
343
+ }[];
344
+ pem: string;
345
+ } | undefined;
346
+ configuration?: {
347
+ validity: {
348
+ not_after: number;
349
+ not_before?: number | undefined;
350
+ };
351
+ } | undefined;
352
+ csr?: string | undefined;
353
+ };
354
+ meta: object;
355
+ }>;
356
+ };
357
+ }>>;
358
+ }> & import('@trpc/server').TRPCDecorateCreateRouterOptions<{
359
+ network: import('@trpc/server').TRPCBuiltRouter<{
360
+ ctx: import('../server/context').AuroraPortalContext;
361
+ meta: object;
362
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
363
+ transformer: false;
364
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
365
+ canUser: import('@trpc/server').TRPCQueryProcedure<{
366
+ input: {
367
+ project_id: string;
368
+ permission: string | string[];
369
+ };
370
+ output: boolean[];
371
+ meta: object;
372
+ }>;
373
+ floatingIp: {
374
+ list: import('@trpc/server').TRPCQueryProcedure<{
375
+ input: {
376
+ project_id: string;
377
+ id?: string | undefined;
378
+ router_id?: string | null | undefined;
379
+ status?: "DOWN" | "ACTIVE" | "ERROR" | undefined;
380
+ tenant_id?: string | undefined;
381
+ revision_number?: number | undefined;
382
+ description?: string | null | undefined;
383
+ floating_network_id?: string | undefined;
384
+ fixed_ip_address?: string | undefined;
385
+ floating_ip_address?: string | undefined;
386
+ port_id?: string | null | undefined;
387
+ sort_dir?: "asc" | "desc" | undefined;
388
+ sort_key?: "id" | "project_id" | "status" | "tenant_id" | "router_id" | "floating_network_id" | "fixed_ip_address" | "floating_ip_address" | undefined;
389
+ tags?: string[] | undefined;
390
+ "tags-any"?: string | undefined;
391
+ "not-tags"?: string | undefined;
392
+ "not-tags-any"?: string | undefined;
393
+ fields?: string | string[] | undefined;
394
+ limit?: number | undefined;
395
+ marker?: string | undefined;
396
+ page_reverse?: boolean | undefined;
397
+ searchTerm?: string | undefined;
398
+ };
399
+ output: {
400
+ router_id: string | null;
401
+ revision_number: number;
402
+ project_id: string;
403
+ tenant_id: string;
404
+ floating_network_id: string;
405
+ fixed_ip_address: string | null;
406
+ floating_ip_address: string;
407
+ port_id: string | null;
408
+ id: string;
409
+ status: "DOWN" | "ACTIVE" | "ERROR";
410
+ description?: string | null | undefined;
411
+ distributed?: boolean | undefined;
412
+ dns_domain?: string | undefined;
413
+ dns_name?: string | undefined;
414
+ created_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
415
+ updated_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
416
+ port_details?: {
417
+ status: "DOWN" | "ACTIVE" | "ERROR";
418
+ name: string;
419
+ admin_state_up: boolean;
420
+ network_id: string;
421
+ device_owner: string;
422
+ mac_address: string;
423
+ device_id: string;
424
+ } | null | undefined;
425
+ tags?: string[] | undefined;
426
+ port_forwardings?: {
427
+ protocol: "tcp" | "udp";
428
+ internal_ip_address: string;
429
+ id: string;
430
+ internal_port?: number | undefined;
431
+ internal_port_range?: string | undefined;
432
+ internal_port_id?: string | undefined;
433
+ external_port?: number | undefined;
434
+ external_port_range?: string | undefined;
435
+ description?: string | null | undefined;
436
+ }[] | null | undefined;
437
+ qos_network_policy_id?: string | undefined;
438
+ qos_policy_id?: string | undefined;
439
+ }[];
440
+ meta: object;
441
+ }>;
442
+ create: import('@trpc/server').TRPCMutationProcedure<{
443
+ input: {
444
+ project_id: string;
445
+ tenant_id: string;
446
+ floating_network_id: string;
447
+ fixed_ip_address?: string | undefined;
448
+ floating_ip_address?: string | undefined;
449
+ port_id?: string | undefined;
450
+ subnet_id?: string | undefined;
451
+ distributed?: boolean | undefined;
452
+ description?: string | undefined;
453
+ dns_domain?: string | undefined;
454
+ dns_name?: string | undefined;
455
+ qos_policy_id?: string | undefined;
456
+ };
457
+ output: {
458
+ router_id: string | null;
459
+ revision_number: number;
460
+ project_id: string;
461
+ tenant_id: string;
462
+ floating_network_id: string;
463
+ fixed_ip_address: string | null;
464
+ floating_ip_address: string;
465
+ port_id: string | null;
466
+ id: string;
467
+ status: "DOWN" | "ACTIVE" | "ERROR";
468
+ description?: string | null | undefined;
469
+ distributed?: boolean | undefined;
470
+ dns_domain?: string | undefined;
471
+ dns_name?: string | undefined;
472
+ created_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
473
+ updated_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
474
+ port_details?: {
475
+ status: "DOWN" | "ACTIVE" | "ERROR";
476
+ name: string;
477
+ admin_state_up: boolean;
478
+ network_id: string;
479
+ device_owner: string;
480
+ mac_address: string;
481
+ device_id: string;
482
+ } | null | undefined;
483
+ tags?: string[] | undefined;
484
+ port_forwardings?: {
485
+ protocol: "tcp" | "udp";
486
+ internal_ip_address: string;
487
+ id: string;
488
+ internal_port?: number | undefined;
489
+ internal_port_range?: string | undefined;
490
+ internal_port_id?: string | undefined;
491
+ external_port?: number | undefined;
492
+ external_port_range?: string | undefined;
493
+ description?: string | null | undefined;
494
+ }[] | null | undefined;
495
+ qos_network_policy_id?: string | undefined;
496
+ qos_policy_id?: string | undefined;
497
+ };
498
+ meta: object;
499
+ }>;
500
+ getById: import('@trpc/server').TRPCQueryProcedure<{
501
+ input: {
502
+ project_id: string;
503
+ floatingip_id: string;
504
+ };
505
+ output: {
506
+ router_id: string | null;
507
+ revision_number: number;
508
+ project_id: string;
509
+ tenant_id: string;
510
+ floating_network_id: string;
511
+ fixed_ip_address: string | null;
512
+ floating_ip_address: string;
513
+ port_id: string | null;
514
+ id: string;
515
+ status: "DOWN" | "ACTIVE" | "ERROR";
516
+ description?: string | null | undefined;
517
+ distributed?: boolean | undefined;
518
+ dns_domain?: string | undefined;
519
+ dns_name?: string | undefined;
520
+ created_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
521
+ updated_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
522
+ port_details?: {
523
+ status: "DOWN" | "ACTIVE" | "ERROR";
524
+ name: string;
525
+ admin_state_up: boolean;
526
+ network_id: string;
527
+ device_owner: string;
528
+ mac_address: string;
529
+ device_id: string;
530
+ } | null | undefined;
531
+ tags?: string[] | undefined;
532
+ port_forwardings?: {
533
+ protocol: "tcp" | "udp";
534
+ internal_ip_address: string;
535
+ id: string;
536
+ internal_port?: number | undefined;
537
+ internal_port_range?: string | undefined;
538
+ internal_port_id?: string | undefined;
539
+ external_port?: number | undefined;
540
+ external_port_range?: string | undefined;
541
+ description?: string | null | undefined;
542
+ }[] | null | undefined;
543
+ qos_network_policy_id?: string | undefined;
544
+ qos_policy_id?: string | undefined;
545
+ };
546
+ meta: object;
547
+ }>;
548
+ update: import('@trpc/server').TRPCMutationProcedure<{
549
+ input: {
550
+ project_id: string;
551
+ floatingip_id: string;
552
+ port_id: string | null;
553
+ fixed_ip_address?: string | undefined;
554
+ description?: string | undefined;
555
+ distributed?: boolean | undefined;
556
+ };
557
+ output: {
558
+ router_id: string | null;
559
+ revision_number: number;
560
+ project_id: string;
561
+ tenant_id: string;
562
+ floating_network_id: string;
563
+ fixed_ip_address: string | null;
564
+ floating_ip_address: string;
565
+ port_id: string | null;
566
+ id: string;
567
+ status: "DOWN" | "ACTIVE" | "ERROR";
568
+ description?: string | null | undefined;
569
+ distributed?: boolean | undefined;
570
+ dns_domain?: string | undefined;
571
+ dns_name?: string | undefined;
572
+ created_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
573
+ updated_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
574
+ port_details?: {
575
+ status: "DOWN" | "ACTIVE" | "ERROR";
576
+ name: string;
577
+ admin_state_up: boolean;
578
+ network_id: string;
579
+ device_owner: string;
580
+ mac_address: string;
581
+ device_id: string;
582
+ } | null | undefined;
583
+ tags?: string[] | undefined;
584
+ port_forwardings?: {
585
+ protocol: "tcp" | "udp";
586
+ internal_ip_address: string;
587
+ id: string;
588
+ internal_port?: number | undefined;
589
+ internal_port_range?: string | undefined;
590
+ internal_port_id?: string | undefined;
591
+ external_port?: number | undefined;
592
+ external_port_range?: string | undefined;
593
+ description?: string | null | undefined;
594
+ }[] | null | undefined;
595
+ qos_network_policy_id?: string | undefined;
596
+ qos_policy_id?: string | undefined;
597
+ };
598
+ meta: object;
599
+ }>;
600
+ delete: import('@trpc/server').TRPCMutationProcedure<{
601
+ input: {
602
+ project_id: string;
603
+ floatingip_id: string;
604
+ };
605
+ output: boolean;
606
+ meta: object;
607
+ }>;
608
+ listExternalNetworks: import('@trpc/server').TRPCQueryProcedure<{
609
+ input: {
610
+ project_id: string;
611
+ "router:external"?: true | undefined;
612
+ };
613
+ output: {
614
+ id: string;
615
+ name: string;
616
+ project_id: string;
617
+ shared: boolean;
618
+ status: "DOWN" | "ACTIVE" | "BUILD" | "ERROR";
619
+ "router:external"?: boolean | undefined;
620
+ updated_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
621
+ is_default?: boolean | undefined;
622
+ }[];
623
+ meta: object;
624
+ }>;
625
+ listDnsDomains: import('@trpc/server').TRPCQueryProcedure<{
626
+ input: {
627
+ project_id: string;
628
+ };
629
+ output: {
630
+ id: string;
631
+ name: string;
632
+ }[];
633
+ meta: object;
634
+ }>;
635
+ listAvailablePorts: import('@trpc/server').TRPCQueryProcedure<{
636
+ input: {
637
+ project_id: string;
638
+ status?: "ACTIVE" | undefined;
639
+ admin_state_up?: true | undefined;
640
+ };
641
+ output: {
642
+ id: string;
643
+ name?: string | null | undefined;
644
+ fixed_ips?: {
645
+ ip_address: string;
646
+ subnet_id?: string | undefined;
647
+ }[] | undefined;
648
+ }[];
649
+ meta: object;
650
+ }>;
651
+ };
652
+ securityGroup: {
653
+ list: import('@trpc/server').TRPCQueryProcedure<{
654
+ input: {
655
+ project_id: string;
656
+ sort_key?: string | undefined;
657
+ sort_dir?: "asc" | "desc" | undefined;
658
+ name?: string | undefined;
659
+ description?: string | undefined;
660
+ tenant_id?: string | undefined;
661
+ shared?: boolean | undefined;
662
+ tags?: string | undefined;
663
+ tags_any?: string | undefined;
664
+ not_tags?: string | undefined;
665
+ not_tags_any?: string | undefined;
666
+ searchTerm?: string | undefined;
667
+ };
668
+ output: {
669
+ id: string;
670
+ name?: string | null | undefined;
671
+ description?: string | null | undefined;
672
+ tenant_id?: string | null | undefined;
673
+ project_id?: string | null | undefined;
674
+ stateful?: boolean | undefined;
675
+ shared?: boolean | undefined;
676
+ tags?: string[] | undefined;
677
+ security_group_rules?: {
678
+ id: string;
679
+ direction?: "ingress" | "egress" | undefined;
680
+ ethertype?: "IPv4" | "IPv6" | undefined;
681
+ description?: string | null | undefined;
682
+ security_group_id?: string | undefined;
683
+ protocol?: string | null | undefined;
684
+ port_range_min?: number | null | undefined;
685
+ port_range_max?: number | null | undefined;
686
+ remote_ip_prefix?: string | null | undefined;
687
+ remote_group_id?: string | null | undefined;
688
+ remote_address_group_id?: string | null | undefined;
689
+ tenant_id?: string | null | undefined;
690
+ project_id?: string | null | undefined;
691
+ revision_number?: number | undefined;
692
+ tags?: string[] | undefined;
693
+ created_at?: string | undefined;
694
+ updated_at?: string | null | undefined;
695
+ }[] | undefined;
696
+ revision_number?: number | undefined;
697
+ created_at?: string | undefined;
698
+ updated_at?: string | null | undefined;
699
+ }[];
700
+ meta: object;
701
+ }>;
702
+ getById: import('@trpc/server').TRPCQueryProcedure<{
703
+ input: {
704
+ project_id: string;
705
+ securityGroupId: string;
706
+ };
707
+ output: {
708
+ id: string;
709
+ name?: string | null | undefined;
710
+ description?: string | null | undefined;
711
+ tenant_id?: string | null | undefined;
712
+ project_id?: string | null | undefined;
713
+ stateful?: boolean | undefined;
714
+ shared?: boolean | undefined;
715
+ tags?: string[] | undefined;
716
+ security_group_rules?: {
717
+ id: string;
718
+ direction?: "ingress" | "egress" | undefined;
719
+ ethertype?: "IPv4" | "IPv6" | undefined;
720
+ description?: string | null | undefined;
721
+ security_group_id?: string | undefined;
722
+ protocol?: string | null | undefined;
723
+ port_range_min?: number | null | undefined;
724
+ port_range_max?: number | null | undefined;
725
+ remote_ip_prefix?: string | null | undefined;
726
+ remote_group_id?: string | null | undefined;
727
+ remote_address_group_id?: string | null | undefined;
728
+ tenant_id?: string | null | undefined;
729
+ project_id?: string | null | undefined;
730
+ revision_number?: number | undefined;
731
+ tags?: string[] | undefined;
732
+ created_at?: string | undefined;
733
+ updated_at?: string | null | undefined;
734
+ }[] | undefined;
735
+ revision_number?: number | undefined;
736
+ created_at?: string | undefined;
737
+ updated_at?: string | null | undefined;
738
+ };
739
+ meta: object;
740
+ }>;
741
+ create: import('@trpc/server').TRPCMutationProcedure<{
742
+ input: {
743
+ project_id: string;
744
+ name: string;
745
+ description?: string | undefined;
746
+ stateful?: boolean | undefined;
747
+ };
748
+ output: {
749
+ id: string;
750
+ name?: string | null | undefined;
751
+ description?: string | null | undefined;
752
+ tenant_id?: string | null | undefined;
753
+ project_id?: string | null | undefined;
754
+ stateful?: boolean | undefined;
755
+ shared?: boolean | undefined;
756
+ tags?: string[] | undefined;
757
+ security_group_rules?: {
758
+ id: string;
759
+ direction?: "ingress" | "egress" | undefined;
760
+ ethertype?: "IPv4" | "IPv6" | undefined;
761
+ description?: string | null | undefined;
762
+ security_group_id?: string | undefined;
763
+ protocol?: string | null | undefined;
764
+ port_range_min?: number | null | undefined;
765
+ port_range_max?: number | null | undefined;
766
+ remote_ip_prefix?: string | null | undefined;
767
+ remote_group_id?: string | null | undefined;
768
+ remote_address_group_id?: string | null | undefined;
769
+ tenant_id?: string | null | undefined;
770
+ project_id?: string | null | undefined;
771
+ revision_number?: number | undefined;
772
+ tags?: string[] | undefined;
773
+ created_at?: string | undefined;
774
+ updated_at?: string | null | undefined;
775
+ }[] | undefined;
776
+ revision_number?: number | undefined;
777
+ created_at?: string | undefined;
778
+ updated_at?: string | null | undefined;
779
+ };
780
+ meta: object;
781
+ }>;
782
+ deleteById: import('@trpc/server').TRPCMutationProcedure<{
783
+ input: {
784
+ project_id: string;
785
+ securityGroupId: string;
786
+ };
787
+ output: void;
788
+ meta: object;
789
+ }>;
790
+ update: import('@trpc/server').TRPCMutationProcedure<{
791
+ input: {
792
+ project_id: string;
793
+ securityGroupId: string;
794
+ name?: string | undefined;
795
+ description?: string | undefined;
796
+ stateful?: boolean | undefined;
797
+ };
798
+ output: {
799
+ id: string;
800
+ name?: string | null | undefined;
801
+ description?: string | null | undefined;
802
+ tenant_id?: string | null | undefined;
803
+ project_id?: string | null | undefined;
804
+ stateful?: boolean | undefined;
805
+ shared?: boolean | undefined;
806
+ tags?: string[] | undefined;
807
+ security_group_rules?: {
808
+ id: string;
809
+ direction?: "ingress" | "egress" | undefined;
810
+ ethertype?: "IPv4" | "IPv6" | undefined;
811
+ description?: string | null | undefined;
812
+ security_group_id?: string | undefined;
813
+ protocol?: string | null | undefined;
814
+ port_range_min?: number | null | undefined;
815
+ port_range_max?: number | null | undefined;
816
+ remote_ip_prefix?: string | null | undefined;
817
+ remote_group_id?: string | null | undefined;
818
+ remote_address_group_id?: string | null | undefined;
819
+ tenant_id?: string | null | undefined;
820
+ project_id?: string | null | undefined;
821
+ revision_number?: number | undefined;
822
+ tags?: string[] | undefined;
823
+ created_at?: string | undefined;
824
+ updated_at?: string | null | undefined;
825
+ }[] | undefined;
826
+ revision_number?: number | undefined;
827
+ created_at?: string | undefined;
828
+ updated_at?: string | null | undefined;
829
+ };
830
+ meta: object;
831
+ }>;
832
+ };
833
+ securityGroupRule: {
834
+ delete: import('@trpc/server').TRPCMutationProcedure<{
835
+ input: {
836
+ project_id: string;
837
+ ruleId: string;
838
+ };
839
+ output: void;
840
+ meta: object;
841
+ }>;
842
+ create: import('@trpc/server').TRPCMutationProcedure<{
843
+ input: {
844
+ project_id: string;
845
+ security_group_id: string;
846
+ direction: "ingress" | "egress";
847
+ ethertype?: "IPv4" | "IPv6" | undefined;
848
+ description?: string | undefined;
849
+ protocol?: string | null | undefined;
850
+ port_range_min?: number | null | undefined;
851
+ port_range_max?: number | null | undefined;
852
+ remote_ip_prefix?: string | null | undefined;
853
+ remote_group_id?: string | null | undefined;
854
+ remote_address_group_id?: string | null | undefined;
855
+ };
856
+ output: {
857
+ id: string;
858
+ direction?: "ingress" | "egress" | undefined;
859
+ ethertype?: "IPv4" | "IPv6" | undefined;
860
+ description?: string | null | undefined;
861
+ security_group_id?: string | undefined;
862
+ protocol?: string | null | undefined;
863
+ port_range_min?: number | null | undefined;
864
+ port_range_max?: number | null | undefined;
865
+ remote_ip_prefix?: string | null | undefined;
866
+ remote_group_id?: string | null | undefined;
867
+ remote_address_group_id?: string | null | undefined;
868
+ tenant_id?: string | null | undefined;
869
+ project_id?: string | null | undefined;
870
+ revision_number?: number | undefined;
871
+ tags?: string[] | undefined;
872
+ created_at?: string | undefined;
873
+ updated_at?: string | null | undefined;
874
+ };
875
+ meta: object;
876
+ }>;
877
+ };
878
+ rbacPolicy: {
879
+ list: import('@trpc/server').TRPCQueryProcedure<{
880
+ input: {
881
+ project_id: string;
882
+ securityGroupId: string;
883
+ };
884
+ output: {
885
+ id: string;
886
+ object_type: "network" | "security_group" | "qos_policy";
887
+ object_id: string;
888
+ action: "access_as_shared" | "access_as_external";
889
+ target_tenant: string;
890
+ tenant_id?: string | null | undefined;
891
+ project_id?: string | null | undefined;
892
+ }[];
893
+ meta: object;
894
+ }>;
895
+ create: import('@trpc/server').TRPCMutationProcedure<{
896
+ input: {
897
+ project_id: string;
898
+ securityGroupId: string;
899
+ targetTenant: string;
900
+ };
901
+ output: {
902
+ id: string;
903
+ object_type: "network" | "security_group" | "qos_policy";
904
+ object_id: string;
905
+ action: "access_as_shared" | "access_as_external";
906
+ target_tenant: string;
907
+ tenant_id?: string | null | undefined;
908
+ project_id?: string | null | undefined;
909
+ };
910
+ meta: object;
911
+ }>;
912
+ update: import('@trpc/server').TRPCMutationProcedure<{
913
+ input: {
914
+ project_id: string;
915
+ policyId: string;
916
+ targetTenant: string;
917
+ };
918
+ output: {
919
+ id: string;
920
+ object_type: "network" | "security_group" | "qos_policy";
921
+ object_id: string;
922
+ action: "access_as_shared" | "access_as_external";
923
+ target_tenant: string;
924
+ tenant_id?: string | null | undefined;
925
+ project_id?: string | null | undefined;
926
+ };
927
+ meta: object;
928
+ }>;
929
+ delete: import('@trpc/server').TRPCMutationProcedure<{
930
+ input: {
931
+ project_id: string;
932
+ policyId: string;
933
+ };
934
+ output: void;
935
+ meta: object;
936
+ }>;
937
+ };
938
+ }>>;
939
+ }> & import('@trpc/server').TRPCDecorateCreateRouterOptions<{
940
+ project: import('@trpc/server').TRPCBuiltRouter<{
941
+ ctx: import('../server/context').AuroraPortalContext;
942
+ meta: object;
943
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
944
+ transformer: false;
945
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
946
+ getAuthProjects: import('@trpc/server').TRPCQueryProcedure<{
947
+ input: void;
948
+ output: {
949
+ id: string;
950
+ name: string;
951
+ enabled: boolean;
952
+ domain_id?: string | null | undefined;
953
+ parent_id?: string | null | undefined;
954
+ is_domain?: boolean | null | undefined;
955
+ tags?: string[] | null | undefined;
956
+ options?: Record<string, string | boolean> | null | undefined;
957
+ description?: string | null | undefined;
958
+ links?: {
959
+ self?: string | null | undefined;
960
+ } | undefined;
961
+ domain_name?: string | undefined;
962
+ parents?: {
963
+ project: {
964
+ id: string;
965
+ name: string;
966
+ enabled: boolean;
967
+ domain_id?: string | null | undefined;
968
+ parent_id?: string | null | undefined;
969
+ is_domain?: boolean | null | undefined;
970
+ tags?: string[] | null | undefined;
971
+ options?: Record<string, string | boolean> | null | undefined;
972
+ description?: string | null | undefined;
973
+ links?: {
974
+ self?: string | null | undefined;
975
+ } | undefined;
976
+ };
977
+ }[] | undefined;
978
+ }[] | undefined;
979
+ meta: object;
980
+ }>;
981
+ searchProjects: import('@trpc/server').TRPCQueryProcedure<{
982
+ input: {
983
+ search?: string | undefined;
984
+ } | undefined;
985
+ output: {
986
+ id: string;
987
+ name: string;
988
+ enabled: boolean;
989
+ domain_id?: string | null | undefined;
990
+ parent_id?: string | null | undefined;
991
+ is_domain?: boolean | null | undefined;
992
+ tags?: string[] | null | undefined;
993
+ options?: Record<string, string | boolean> | null | undefined;
994
+ description?: string | null | undefined;
995
+ links?: {
996
+ self?: string | null | undefined;
997
+ } | undefined;
998
+ domain_name?: string | undefined;
999
+ parents?: {
1000
+ project: {
1001
+ id: string;
1002
+ name: string;
1003
+ enabled: boolean;
1004
+ domain_id?: string | null | undefined;
1005
+ parent_id?: string | null | undefined;
1006
+ is_domain?: boolean | null | undefined;
1007
+ tags?: string[] | null | undefined;
1008
+ options?: Record<string, string | boolean> | null | undefined;
1009
+ description?: string | null | undefined;
1010
+ links?: {
1011
+ self?: string | null | undefined;
1012
+ } | undefined;
1013
+ };
1014
+ }[] | undefined;
1015
+ }[] | undefined;
1016
+ meta: object;
1017
+ }>;
1018
+ }>>;
1019
+ }> & import('@trpc/server').TRPCDecorateCreateRouterOptions<{
1020
+ storage: {
1021
+ canUser: import('@trpc/server').TRPCQueryProcedure<{
1022
+ input: {
1023
+ project_id: string;
1024
+ permission: string | string[];
1025
+ };
1026
+ output: boolean[];
1027
+ meta: object;
1028
+ }>;
1029
+ swift: import('@trpc/server').TRPCBuiltRouter<{
1030
+ ctx: import('../server/context').AuroraPortalContext;
1031
+ meta: object;
1032
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
1033
+ transformer: false;
1034
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
1035
+ getServiceInfo: import('@trpc/server').TRPCQueryProcedure<{
1036
+ input: void;
1037
+ output: {
1038
+ swift: {
1039
+ version?: string | undefined;
1040
+ allow_account_management?: boolean | undefined;
1041
+ account_autocreate?: boolean | undefined;
1042
+ policies?: {
1043
+ name: string;
1044
+ default?: boolean | undefined;
1045
+ }[] | undefined;
1046
+ bulk_delete?: {
1047
+ max_deletes_per_request: number;
1048
+ max_failed_deletes: number;
1049
+ } | undefined;
1050
+ bulk_upload?: {
1051
+ max_containers_per_extraction: number;
1052
+ max_failed_extractions: number;
1053
+ } | undefined;
1054
+ container_quotas?: unknown;
1055
+ account_quotas?: unknown;
1056
+ slo?: {
1057
+ max_manifest_segments: number;
1058
+ max_manifest_size: number;
1059
+ min_segment_size: number;
1060
+ } | undefined;
1061
+ tempurl?: {
1062
+ methods: string[];
1063
+ } | undefined;
1064
+ container_listing_limit?: number | undefined;
1065
+ account_listing_limit?: number | undefined;
1066
+ max_container_name_length?: number | undefined;
1067
+ max_object_name_length?: number | undefined;
1068
+ max_file_size?: number | undefined;
1069
+ max_meta_name_length?: number | undefined;
1070
+ max_meta_value_length?: number | undefined;
1071
+ max_meta_count?: number | undefined;
1072
+ max_meta_overall_size?: number | undefined;
1073
+ max_header_size?: number | undefined;
1074
+ container_sync?: unknown;
1075
+ symlink?: unknown;
1076
+ versioned_writes?: unknown;
1077
+ };
1078
+ };
1079
+ meta: object;
1080
+ }>;
1081
+ listContainers: import('@trpc/server').TRPCQueryProcedure<{
1082
+ input: {
1083
+ project_id: string;
1084
+ account?: string | undefined;
1085
+ limit?: number | undefined;
1086
+ marker?: string | undefined;
1087
+ end_marker?: string | undefined;
1088
+ prefix?: string | undefined;
1089
+ delimiter?: string | undefined;
1090
+ reverse?: boolean | undefined;
1091
+ format?: "json" | "xml" | "plain" | undefined;
1092
+ xNewest?: boolean | undefined;
1093
+ };
1094
+ output: {
1095
+ name: string;
1096
+ count: number;
1097
+ bytes: number;
1098
+ last_modified?: string | undefined;
1099
+ }[];
1100
+ meta: object;
1101
+ }>;
1102
+ getAccountMetadata: import('@trpc/server').TRPCQueryProcedure<{
1103
+ input: {
1104
+ project_id: string;
1105
+ account?: string | undefined;
1106
+ xNewest?: boolean | undefined;
1107
+ };
1108
+ output: {
1109
+ objectCount: number;
1110
+ containerCount: number;
1111
+ bytesUsed: number;
1112
+ metadata?: Record<string, string> | undefined;
1113
+ quotaBytes?: number | undefined;
1114
+ tempUrlKey?: string | undefined;
1115
+ tempUrlKey2?: string | undefined;
1116
+ };
1117
+ meta: object;
1118
+ }>;
1119
+ updateAccountMetadata: import('@trpc/server').TRPCMutationProcedure<{
1120
+ input: {
1121
+ project_id: string;
1122
+ metadata: Record<string, string>;
1123
+ account?: string | undefined;
1124
+ removeMetadata?: string[] | undefined;
1125
+ tempUrlKey?: string | undefined;
1126
+ tempUrlKey2?: string | undefined;
1127
+ };
1128
+ output: boolean;
1129
+ meta: object;
1130
+ }>;
1131
+ deleteAccount: import('@trpc/server').TRPCMutationProcedure<{
1132
+ input: {
1133
+ project_id: string;
1134
+ account?: string | undefined;
1135
+ };
1136
+ output: boolean;
1137
+ meta: object;
1138
+ }>;
1139
+ listObjects: import('@trpc/server').TRPCQueryProcedure<{
1140
+ input: {
1141
+ project_id: string;
1142
+ container: string;
1143
+ account?: string | undefined;
1144
+ limit?: number | undefined;
1145
+ marker?: string | undefined;
1146
+ end_marker?: string | undefined;
1147
+ prefix?: string | undefined;
1148
+ delimiter?: string | undefined;
1149
+ path?: string | undefined;
1150
+ reverse?: boolean | undefined;
1151
+ format?: "json" | "xml" | "plain" | undefined;
1152
+ xNewest?: boolean | undefined;
1153
+ };
1154
+ output: {
1155
+ name: string;
1156
+ hash: string;
1157
+ bytes: number;
1158
+ content_type: string;
1159
+ last_modified: string;
1160
+ symlink_path?: string | undefined;
1161
+ }[];
1162
+ meta: object;
1163
+ }>;
1164
+ createContainer: import('@trpc/server').TRPCMutationProcedure<{
1165
+ input: {
1166
+ project_id: string;
1167
+ container: string;
1168
+ account?: string | undefined;
1169
+ metadata?: Record<string, string> | undefined;
1170
+ read?: string | undefined;
1171
+ write?: string | undefined;
1172
+ storagePolicy?: string | undefined;
1173
+ versionsLocation?: string | undefined;
1174
+ historyLocation?: string | undefined;
1175
+ quotaBytes?: number | undefined;
1176
+ quotaCount?: number | undefined;
1177
+ tempUrlKey?: string | undefined;
1178
+ tempUrlKey2?: string | undefined;
1179
+ };
1180
+ output: boolean;
1181
+ meta: object;
1182
+ }>;
1183
+ getContainerMetadata: import('@trpc/server').TRPCQueryProcedure<{
1184
+ input: {
1185
+ project_id: string;
1186
+ container: string;
1187
+ account?: string | undefined;
1188
+ xNewest?: boolean | undefined;
1189
+ };
1190
+ output: {
1191
+ objectCount: number;
1192
+ bytesUsed: number;
1193
+ metadata?: Record<string, string> | undefined;
1194
+ quotaBytes?: number | undefined;
1195
+ quotaCount?: number | undefined;
1196
+ storagePolicy?: string | undefined;
1197
+ versionsLocation?: string | undefined;
1198
+ historyLocation?: string | undefined;
1199
+ versionsEnabled?: boolean | undefined;
1200
+ read?: string | undefined;
1201
+ write?: string | undefined;
1202
+ syncTo?: string | undefined;
1203
+ syncKey?: string | undefined;
1204
+ tempUrlKey?: string | undefined;
1205
+ tempUrlKey2?: string | undefined;
1206
+ };
1207
+ meta: object;
1208
+ }>;
1209
+ updateContainerMetadata: import('@trpc/server').TRPCMutationProcedure<{
1210
+ input: {
1211
+ project_id: string;
1212
+ container: string;
1213
+ account?: string | undefined;
1214
+ metadata?: Record<string, string> | undefined;
1215
+ removeMetadata?: string[] | undefined;
1216
+ read?: string | undefined;
1217
+ write?: string | undefined;
1218
+ versionsLocation?: string | undefined;
1219
+ historyLocation?: string | undefined;
1220
+ removeVersionsLocation?: boolean | undefined;
1221
+ removeHistoryLocation?: boolean | undefined;
1222
+ quotaBytes?: number | undefined;
1223
+ quotaCount?: number | undefined;
1224
+ tempUrlKey?: string | undefined;
1225
+ tempUrlKey2?: string | undefined;
1226
+ };
1227
+ output: boolean;
1228
+ meta: object;
1229
+ }>;
1230
+ getContainerPublicUrl: import('@trpc/server').TRPCQueryProcedure<{
1231
+ input: {
1232
+ project_id: string;
1233
+ container: string;
1234
+ account?: string | undefined;
1235
+ xNewest?: boolean | undefined;
1236
+ };
1237
+ output: string | null;
1238
+ meta: object;
1239
+ }>;
1240
+ deleteContainer: import('@trpc/server').TRPCMutationProcedure<{
1241
+ input: {
1242
+ project_id: string;
1243
+ container: string;
1244
+ account?: string | undefined;
1245
+ };
1246
+ output: boolean;
1247
+ meta: object;
1248
+ }>;
1249
+ emptyContainer: import('@trpc/server').TRPCMutationProcedure<{
1250
+ input: {
1251
+ project_id: string;
1252
+ container: string;
1253
+ account?: string | undefined;
1254
+ };
1255
+ output: number;
1256
+ meta: object;
1257
+ }>;
1258
+ getObjectMetadata: import('@trpc/server').TRPCQueryProcedure<{
1259
+ input: {
1260
+ project_id: string;
1261
+ container: string;
1262
+ object: string;
1263
+ account?: string | undefined;
1264
+ multipartManifest?: "get" | undefined;
1265
+ symlink?: "get" | undefined;
1266
+ xNewest?: boolean | undefined;
1267
+ ifMatch?: string | undefined;
1268
+ ifNoneMatch?: string | undefined;
1269
+ ifModifiedSince?: string | undefined;
1270
+ ifUnmodifiedSince?: string | undefined;
1271
+ };
1272
+ output: {
1273
+ contentType?: string | undefined;
1274
+ contentLength?: number | undefined;
1275
+ contentEncoding?: string | undefined;
1276
+ contentDisposition?: string | undefined;
1277
+ etag?: string | undefined;
1278
+ lastModified?: string | undefined;
1279
+ deleteAt?: number | undefined;
1280
+ customMetadata?: Record<string, string> | undefined;
1281
+ objectManifest?: string | undefined;
1282
+ staticLargeObject?: boolean | undefined;
1283
+ symlinkTarget?: string | undefined;
1284
+ symlinkTargetAccount?: string | undefined;
1285
+ };
1286
+ meta: object;
1287
+ }>;
1288
+ updateObjectMetadata: import('@trpc/server').TRPCMutationProcedure<{
1289
+ input: {
1290
+ project_id: string;
1291
+ container: string;
1292
+ object: string;
1293
+ account?: string | undefined;
1294
+ metadata?: Record<string, string> | undefined;
1295
+ contentType?: string | undefined;
1296
+ contentEncoding?: string | undefined;
1297
+ contentDisposition?: string | undefined;
1298
+ deleteAt?: number | undefined;
1299
+ deleteAfter?: number | undefined;
1300
+ };
1301
+ output: boolean;
1302
+ meta: object;
1303
+ }>;
1304
+ copyObject: import('@trpc/server').TRPCMutationProcedure<{
1305
+ input: {
1306
+ project_id: string;
1307
+ container: string;
1308
+ object: string;
1309
+ destination: string;
1310
+ account?: string | undefined;
1311
+ destinationAccount?: string | undefined;
1312
+ metadata?: Record<string, string> | undefined;
1313
+ contentType?: string | undefined;
1314
+ contentEncoding?: string | undefined;
1315
+ contentDisposition?: string | undefined;
1316
+ freshMetadata?: boolean | undefined;
1317
+ multipartManifest?: "get" | undefined;
1318
+ symlink?: "get" | undefined;
1319
+ };
1320
+ output: boolean;
1321
+ meta: object;
1322
+ }>;
1323
+ deleteObject: import('@trpc/server').TRPCMutationProcedure<{
1324
+ input: {
1325
+ project_id: string;
1326
+ container: string;
1327
+ object: string;
1328
+ account?: string | undefined;
1329
+ multipartManifest?: "delete" | undefined;
1330
+ };
1331
+ output: boolean;
1332
+ meta: object;
1333
+ }>;
1334
+ bulkDelete: import('@trpc/server').TRPCMutationProcedure<{
1335
+ input: {
1336
+ project_id: string;
1337
+ objects: string[];
1338
+ account?: string | undefined;
1339
+ };
1340
+ output: {
1341
+ numberDeleted: number;
1342
+ numberNotFound: number;
1343
+ errors: {
1344
+ path: string;
1345
+ status: string;
1346
+ error: string;
1347
+ }[];
1348
+ };
1349
+ meta: object;
1350
+ }>;
1351
+ createFolder: import('@trpc/server').TRPCMutationProcedure<{
1352
+ input: {
1353
+ project_id: string;
1354
+ container: string;
1355
+ folderPath: string;
1356
+ account?: string | undefined;
1357
+ metadata?: Record<string, string> | undefined;
1358
+ };
1359
+ output: boolean;
1360
+ meta: object;
1361
+ }>;
1362
+ listFolderContents: import('@trpc/server').TRPCQueryProcedure<{
1363
+ input: {
1364
+ project_id: string;
1365
+ container: string;
1366
+ account?: string | undefined;
1367
+ folderPath?: string | undefined;
1368
+ limit?: number | undefined;
1369
+ marker?: string | undefined;
1370
+ };
1371
+ output: {
1372
+ folders: {
1373
+ name: string;
1374
+ path: string;
1375
+ }[];
1376
+ objects: {
1377
+ name: string;
1378
+ hash: string;
1379
+ bytes: number;
1380
+ content_type: string;
1381
+ last_modified: string;
1382
+ symlink_path?: string | undefined;
1383
+ }[];
1384
+ };
1385
+ meta: object;
1386
+ }>;
1387
+ moveFolder: import('@trpc/server').TRPCMutationProcedure<{
1388
+ input: {
1389
+ project_id: string;
1390
+ container: string;
1391
+ sourcePath: string;
1392
+ destinationPath: string;
1393
+ account?: string | undefined;
1394
+ destinationContainer?: string | undefined;
1395
+ };
1396
+ output: number;
1397
+ meta: object;
1398
+ }>;
1399
+ deleteFolder: import('@trpc/server').TRPCMutationProcedure<{
1400
+ input: {
1401
+ project_id: string;
1402
+ container: string;
1403
+ folderPath: string;
1404
+ account?: string | undefined;
1405
+ recursive?: boolean | undefined;
1406
+ };
1407
+ output: number;
1408
+ meta: object;
1409
+ }>;
1410
+ generateTempUrl: import('@trpc/server').TRPCMutationProcedure<{
1411
+ input: {
1412
+ project_id: string;
1413
+ container: string;
1414
+ object: string;
1415
+ method: "DELETE" | "GET" | "POST" | "PUT";
1416
+ expiresIn: number;
1417
+ account?: string | undefined;
1418
+ filename?: string | undefined;
1419
+ };
1420
+ output: {
1421
+ url: string;
1422
+ expiresAt: number;
1423
+ };
1424
+ meta: object;
1425
+ }>;
1426
+ uploadObject: import('@trpc/server').TRPCMutationProcedure<{
1427
+ input: import('@trpc/server/unstable-core-do-not-import').OctetInput;
1428
+ output: {
1429
+ success: boolean;
1430
+ };
1431
+ meta: object;
1432
+ }>;
1433
+ watchUploadProgress: import('@trpc/server').TRPCSubscriptionProcedure<{
1434
+ input: {
1435
+ uploadId: string;
1436
+ };
1437
+ output: AsyncIterable<{
1438
+ uploaded: number;
1439
+ total: number;
1440
+ percent: number;
1441
+ }, void, any>;
1442
+ meta: object;
1443
+ }>;
1444
+ downloadObject: import('@trpc/server').TRPCMutationProcedure<{
1445
+ input: {
1446
+ project_id: string;
1447
+ container: string;
1448
+ object: string;
1449
+ downloadId: string;
1450
+ account?: string | undefined;
1451
+ filename?: string | undefined;
1452
+ };
1453
+ output: AsyncGenerator<{
1454
+ chunk: string;
1455
+ downloaded: number;
1456
+ total: number;
1457
+ contentType?: string;
1458
+ filename?: string;
1459
+ }, any, any>;
1460
+ meta: object;
1461
+ }>;
1462
+ watchDownloadProgress: import('@trpc/server').TRPCSubscriptionProcedure<{
1463
+ input: {
1464
+ downloadId: string;
1465
+ };
1466
+ output: AsyncIterable<{
1467
+ downloaded: number;
1468
+ total: number;
1469
+ percent: number;
1470
+ }, void, any>;
1471
+ meta: object;
1472
+ }>;
1473
+ }>>;
1474
+ ceph: import('@trpc/server').TRPCBuiltRouter<{
1475
+ ctx: import('../server/context').AuroraPortalContext;
1476
+ meta: object;
1477
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
1478
+ transformer: false;
1479
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
1480
+ ec2Credentials: import('@trpc/server').TRPCBuiltRouter<{
1481
+ ctx: import('../server/context').AuroraPortalContext;
1482
+ meta: object;
1483
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
1484
+ transformer: false;
1485
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
1486
+ list: import('@trpc/server').TRPCQueryProcedure<{
1487
+ input: {
1488
+ project_id: string;
1489
+ };
1490
+ output: {
1491
+ id: string;
1492
+ access: string;
1493
+ user_id: string;
1494
+ project_id: string;
1495
+ }[];
1496
+ meta: object;
1497
+ }>;
1498
+ create: import('@trpc/server').TRPCMutationProcedure<{
1499
+ input: {
1500
+ project_id: string;
1501
+ };
1502
+ output: {
1503
+ id: string;
1504
+ access: string;
1505
+ user_id: string;
1506
+ project_id: string;
1507
+ secret: string;
1508
+ };
1509
+ meta: object;
1510
+ }>;
1511
+ delete: import('@trpc/server').TRPCMutationProcedure<{
1512
+ input: {
1513
+ project_id: string;
1514
+ credentialId: string;
1515
+ };
1516
+ output: {
1517
+ success: true;
1518
+ };
1519
+ meta: object;
1520
+ }>;
1521
+ }>>;
1522
+ containers: import('@trpc/server').TRPCBuiltRouter<{
1523
+ ctx: import('../server/context').AuroraPortalContext;
1524
+ meta: object;
1525
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
1526
+ transformer: false;
1527
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
1528
+ status: import('@trpc/server').TRPCQueryProcedure<{
1529
+ input: {
1530
+ project_id: string;
1531
+ };
1532
+ output: {
1533
+ hasCredentials: boolean;
1534
+ };
1535
+ meta: object;
1536
+ }>;
1537
+ list: import('@trpc/server').TRPCQueryProcedure<{
1538
+ input: {
1539
+ project_id: string;
1540
+ includeMetadata?: boolean | undefined;
1541
+ };
1542
+ output: {
1543
+ name: string;
1544
+ count: number;
1545
+ bytes: number;
1546
+ last_modified?: string | undefined;
1547
+ creationDate?: string | undefined;
1548
+ }[];
1549
+ meta: object;
1550
+ }>;
1551
+ create: import('@trpc/server').TRPCMutationProcedure<{
1552
+ input: {
1553
+ project_id: string;
1554
+ bucketName: string;
1555
+ enableVersioning?: boolean | undefined;
1556
+ };
1557
+ output: {
1558
+ success: boolean;
1559
+ versioningError?: string | undefined;
1560
+ };
1561
+ meta: object;
1562
+ }>;
1563
+ delete: import('@trpc/server').TRPCMutationProcedure<{
1564
+ input: {
1565
+ project_id: string;
1566
+ bucketName: string;
1567
+ };
1568
+ output: boolean;
1569
+ meta: object;
1570
+ }>;
1571
+ }>>;
1572
+ objects: import('@trpc/server').TRPCBuiltRouter<{
1573
+ ctx: import('../server/context').AuroraPortalContext;
1574
+ meta: object;
1575
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
1576
+ transformer: false;
1577
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
1578
+ list: import('@trpc/server').TRPCQueryProcedure<{
1579
+ input: {
1580
+ project_id: string;
1581
+ containerName: string;
1582
+ prefix?: string | undefined;
1583
+ delimiter?: string | undefined;
1584
+ maxKeys?: number | undefined;
1585
+ continuationToken?: string | undefined;
1586
+ keyMarker?: string | undefined;
1587
+ versionIdMarker?: string | undefined;
1588
+ showVersions?: boolean | undefined;
1589
+ };
1590
+ output: {
1591
+ objects: {
1592
+ key: string;
1593
+ size: number;
1594
+ lastModified?: string | undefined;
1595
+ etag?: string | undefined;
1596
+ storageClass?: string | undefined;
1597
+ }[];
1598
+ folders: {
1599
+ prefix: string;
1600
+ }[];
1601
+ isTruncated: boolean;
1602
+ nextContinuationToken?: string | undefined;
1603
+ versions?: {
1604
+ key: string;
1605
+ versionId: string;
1606
+ isLatest: boolean;
1607
+ size: number;
1608
+ isDeleteMarker: boolean;
1609
+ lastModified?: string | undefined;
1610
+ etag?: string | undefined;
1611
+ storageClass?: string | undefined;
1612
+ }[] | undefined;
1613
+ nextKeyMarker?: string | undefined;
1614
+ nextVersionIdMarker?: string | undefined;
1615
+ };
1616
+ meta: object;
1617
+ }>;
1618
+ getDetails: import('@trpc/server').TRPCQueryProcedure<{
1619
+ input: {
1620
+ project_id: string;
1621
+ containerName: string;
1622
+ objectKey: string;
1623
+ };
1624
+ output: {
1625
+ key: string;
1626
+ size: number;
1627
+ lastModified?: string | undefined;
1628
+ etag?: string | undefined;
1629
+ storageClass?: string | undefined;
1630
+ contentType?: string | undefined;
1631
+ metadata?: Record<string, string> | undefined;
1632
+ };
1633
+ meta: object;
1634
+ }>;
1635
+ deleteAll: import('@trpc/server').TRPCMutationProcedure<{
1636
+ input: {
1637
+ project_id: string;
1638
+ containerName: string;
1639
+ includeVersionsAndDeleteMarkers?: boolean | undefined;
1640
+ };
1641
+ output: number;
1642
+ meta: object;
1643
+ }>;
1644
+ delete: import('@trpc/server').TRPCMutationProcedure<{
1645
+ input: {
1646
+ project_id: string;
1647
+ containerName: string;
1648
+ objectKey: string;
1649
+ };
1650
+ output: boolean;
1651
+ meta: object;
1652
+ }>;
1653
+ createFolder: import('@trpc/server').TRPCMutationProcedure<{
1654
+ input: {
1655
+ project_id: string;
1656
+ containerName: string;
1657
+ folderPath: string;
1658
+ };
1659
+ output: boolean;
1660
+ meta: object;
1661
+ }>;
1662
+ copy: import('@trpc/server').TRPCMutationProcedure<{
1663
+ input: {
1664
+ project_id: string;
1665
+ sourceBucket: string;
1666
+ sourceKey: string;
1667
+ destinationBucket: string;
1668
+ destinationKey: string;
1669
+ copyMetadata?: boolean | undefined;
1670
+ };
1671
+ output: {
1672
+ key: string;
1673
+ etag?: string | undefined;
1674
+ lastModified?: string | undefined;
1675
+ };
1676
+ meta: object;
1677
+ }>;
1678
+ move: import('@trpc/server').TRPCMutationProcedure<{
1679
+ input: {
1680
+ project_id: string;
1681
+ sourceBucket: string;
1682
+ sourceKey: string;
1683
+ destinationBucket: string;
1684
+ destinationKey: string;
1685
+ };
1686
+ output: boolean;
1687
+ meta: object;
1688
+ }>;
1689
+ updateMetadata: import('@trpc/server').TRPCMutationProcedure<{
1690
+ input: {
1691
+ project_id: string;
1692
+ containerName: string;
1693
+ objectKey: string;
1694
+ metadata: Record<string, string>;
1695
+ };
1696
+ output: {
1697
+ key: string;
1698
+ size: number;
1699
+ lastModified?: string | undefined;
1700
+ etag?: string | undefined;
1701
+ storageClass?: string | undefined;
1702
+ contentType?: string | undefined;
1703
+ metadata?: Record<string, string> | undefined;
1704
+ };
1705
+ meta: object;
1706
+ }>;
1707
+ downloadObject: import('@trpc/server').TRPCMutationProcedure<{
1708
+ input: {
1709
+ project_id: string;
1710
+ containerName: string;
1711
+ objectKey: string;
1712
+ filename: string;
1713
+ downloadId: string;
1714
+ };
1715
+ output: AsyncGenerator<{
1716
+ chunk: string;
1717
+ downloaded: number;
1718
+ total: number;
1719
+ contentType?: string;
1720
+ filename?: string;
1721
+ }, any, any>;
1722
+ meta: object;
1723
+ }>;
1724
+ watchDownloadProgress: import('@trpc/server').TRPCSubscriptionProcedure<{
1725
+ input: {
1726
+ project_id: string;
1727
+ downloadId: string;
1728
+ };
1729
+ output: AsyncIterable<{
1730
+ downloaded: number;
1731
+ total: number;
1732
+ percent: number;
1733
+ }, void, any>;
1734
+ meta: object;
1735
+ }>;
1736
+ }>>;
1737
+ versioning: import('@trpc/server').TRPCBuiltRouter<{
1738
+ ctx: import('../server/context').AuroraPortalContext;
1739
+ meta: object;
1740
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
1741
+ transformer: false;
1742
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
1743
+ getStatus: import('@trpc/server').TRPCQueryProcedure<{
1744
+ input: {
1745
+ project_id: string;
1746
+ bucket: string;
1747
+ };
1748
+ output: {
1749
+ status: "Enabled" | "Suspended" | "Unversioned";
1750
+ mfaDelete?: "Enabled" | "Disabled" | undefined;
1751
+ };
1752
+ meta: object;
1753
+ }>;
1754
+ setStatus: import('@trpc/server').TRPCMutationProcedure<{
1755
+ input: {
1756
+ project_id: string;
1757
+ bucket: string;
1758
+ status: "Enabled" | "Suspended";
1759
+ };
1760
+ output: {
1761
+ success: boolean;
1762
+ };
1763
+ meta: object;
1764
+ }>;
1765
+ listVersions: import('@trpc/server').TRPCQueryProcedure<{
1766
+ input: {
1767
+ project_id: string;
1768
+ bucket: string;
1769
+ prefix?: string | undefined;
1770
+ keyMarker?: string | undefined;
1771
+ versionIdMarker?: string | undefined;
1772
+ maxKeys?: number | undefined;
1773
+ };
1774
+ output: import('../server/Storage/routers/ceph/versioningRouter').ListVersionsOutput;
1775
+ meta: object;
1776
+ }>;
1777
+ listObjectVersions: import('@trpc/server').TRPCQueryProcedure<{
1778
+ input: {
1779
+ project_id: string;
1780
+ bucket: string;
1781
+ key: string;
1782
+ };
1783
+ output: {
1784
+ key: string;
1785
+ versionId: string;
1786
+ isLatest: boolean;
1787
+ lastModified: string;
1788
+ size: number;
1789
+ isDeleteMarker: boolean;
1790
+ storageClass?: string | undefined;
1791
+ owner?: {
1792
+ displayName?: string | undefined;
1793
+ id?: string | undefined;
1794
+ } | undefined;
1795
+ etag?: string | undefined;
1796
+ }[];
1797
+ meta: object;
1798
+ }>;
1799
+ deleteVersion: import('@trpc/server').TRPCMutationProcedure<{
1800
+ input: {
1801
+ project_id: string;
1802
+ bucket: string;
1803
+ key: string;
1804
+ versionId: string;
1805
+ };
1806
+ output: {
1807
+ success: boolean;
1808
+ };
1809
+ meta: object;
1810
+ }>;
1811
+ restoreVersion: import('@trpc/server').TRPCMutationProcedure<{
1812
+ input: {
1813
+ project_id: string;
1814
+ bucket: string;
1815
+ key: string;
1816
+ versionId: string;
1817
+ };
1818
+ output: {
1819
+ success: boolean;
1820
+ versionId: string;
1821
+ };
1822
+ meta: object;
1823
+ }>;
1824
+ checkDeletedContent: import('@trpc/server').TRPCQueryProcedure<{
1825
+ input: {
1826
+ project_id: string;
1827
+ bucket: string;
1828
+ folders: string[];
1829
+ };
1830
+ output: {
1831
+ prefix: string;
1832
+ hasDeletedContent: boolean;
1833
+ isFolderDeleted: boolean;
1834
+ }[];
1835
+ meta: object;
1836
+ }>;
1837
+ }>>;
1838
+ bucketPolicy: import('@trpc/server').TRPCBuiltRouter<{
1839
+ ctx: import('../server/context').AuroraPortalContext;
1840
+ meta: object;
1841
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
1842
+ transformer: false;
1843
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
1844
+ get: import('@trpc/server').TRPCQueryProcedure<{
1845
+ input: {
1846
+ project_id: string;
1847
+ bucketName: string;
1848
+ };
1849
+ output: {
1850
+ policy: {
1851
+ Version: string;
1852
+ Statement: {
1853
+ Effect: "Allow" | "Deny";
1854
+ Sid?: string | undefined;
1855
+ Principal?: string | {
1856
+ AWS?: string | string[] | undefined;
1857
+ Service?: string | string[] | undefined;
1858
+ Federated?: string | string[] | undefined;
1859
+ } | undefined;
1860
+ NotPrincipal?: string | {
1861
+ AWS?: string | string[] | undefined;
1862
+ Service?: string | string[] | undefined;
1863
+ Federated?: string | string[] | undefined;
1864
+ } | undefined;
1865
+ Action?: string | string[] | undefined;
1866
+ NotAction?: string | string[] | undefined;
1867
+ Resource?: string | string[] | undefined;
1868
+ NotResource?: string | string[] | undefined;
1869
+ Condition?: Record<string, Record<string, string | number | boolean | string[]>> | undefined;
1870
+ }[];
1871
+ Id?: string | undefined;
1872
+ } | null;
1873
+ policyText: string | null;
1874
+ };
1875
+ meta: object;
1876
+ }>;
1877
+ set: import('@trpc/server').TRPCMutationProcedure<{
1878
+ input: {
1879
+ project_id: string;
1880
+ bucketName: string;
1881
+ policy: string;
1882
+ };
1883
+ output: boolean;
1884
+ meta: object;
1885
+ }>;
1886
+ delete: import('@trpc/server').TRPCMutationProcedure<{
1887
+ input: {
1888
+ project_id: string;
1889
+ bucketName: string;
1890
+ };
1891
+ output: boolean;
1892
+ meta: object;
1893
+ }>;
1894
+ }>>;
1895
+ }>>;
1896
+ };
1897
+ }> & import('@trpc/server').TRPCDecorateCreateRouterOptions<{
1898
+ compute: import('@trpc/server').TRPCBuiltRouter<{
1899
+ ctx: import('../server/context').AuroraPortalContext;
1900
+ meta: object;
1901
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
1902
+ transformer: false;
1903
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
1904
+ canUser: import('@trpc/server').TRPCQueryProcedure<{
1905
+ input: {
1906
+ project_id: string;
1907
+ permission: string | string[];
1908
+ };
1909
+ output: boolean[];
1910
+ meta: object;
1911
+ }>;
1912
+ getServerGroupsByProjectId: import('@trpc/server').TRPCQueryProcedure<{
1913
+ input: {
1914
+ project_id: string;
1915
+ };
1916
+ output: {
1917
+ id: string;
1918
+ name: string;
1919
+ policies?: string[] | undefined;
1920
+ policy?: string | undefined;
1921
+ members?: string[] | undefined;
1922
+ metadata?: Record<string, unknown> | undefined;
1923
+ project_id?: string | undefined;
1924
+ user_id?: string | undefined;
1925
+ created_at?: string | undefined;
1926
+ updated_at?: string | null | undefined;
1927
+ policy_details?: Record<string, unknown> | undefined;
1928
+ rules?: Record<string, unknown> | undefined;
1929
+ }[] | undefined;
1930
+ meta: object;
1931
+ }>;
1932
+ getKeypairsByProjectId: import('@trpc/server').TRPCQueryProcedure<{
1933
+ input: {
1934
+ project_id: string;
1935
+ };
1936
+ output: {
1937
+ name: string;
1938
+ public_key?: string | undefined;
1939
+ fingerprint?: string | undefined;
1940
+ type?: string | undefined;
1941
+ user_id?: string | null | undefined;
1942
+ created_at?: string | undefined;
1943
+ deleted?: boolean | undefined;
1944
+ deleted_at?: string | null | undefined;
1945
+ updated_at?: string | null | undefined;
1946
+ id?: number | undefined;
1947
+ private_key?: string | null | undefined;
1948
+ }[] | undefined;
1949
+ meta: object;
1950
+ }>;
1951
+ listImagesWithSearch: import('@trpc/server').TRPCQueryProcedure<{
1952
+ input: {
1953
+ project_id: string;
1954
+ sort_key?: "name" | "id" | "status" | "visibility" | "protected" | "container_format" | "disk_format" | "min_ram" | "min_disk" | "size" | "created_at" | "updated_at" | "owner" | undefined;
1955
+ sort_dir?: "asc" | "desc" | undefined;
1956
+ sort?: string | undefined;
1957
+ limit?: number | undefined;
1958
+ marker?: string | undefined;
1959
+ name?: string | undefined;
1960
+ status?: string | undefined;
1961
+ visibility?: "all" | "public" | "private" | "shared" | "community" | undefined;
1962
+ owner?: string | undefined;
1963
+ protected?: string | undefined;
1964
+ container_format?: string | undefined;
1965
+ disk_format?: string | undefined;
1966
+ size_min?: number | undefined;
1967
+ size_max?: number | undefined;
1968
+ min_ram?: number | undefined;
1969
+ min_disk?: number | undefined;
1970
+ tag?: string | undefined;
1971
+ os_type?: "linux" | "windows" | undefined;
1972
+ os_hidden?: boolean | undefined;
1973
+ member_status?: "all" | "pending" | "accepted" | "rejected" | undefined;
1974
+ created_at?: string | undefined;
1975
+ updated_at?: string | undefined;
1976
+ first?: string | undefined;
1977
+ next?: string | undefined;
1978
+ };
1979
+ output: {
1980
+ images: {
1981
+ [x: string]: unknown;
1982
+ id: string;
1983
+ name?: string | null | undefined;
1984
+ status?: string | undefined;
1985
+ visibility?: string | undefined;
1986
+ protected?: boolean | undefined;
1987
+ checksum?: string | null | undefined;
1988
+ container_format?: string | null | undefined;
1989
+ disk_format?: string | null | undefined;
1990
+ min_ram?: number | undefined;
1991
+ min_disk?: number | undefined;
1992
+ size?: number | null | undefined;
1993
+ virtual_size?: number | null | undefined;
1994
+ created_at?: string | undefined;
1995
+ updated_at?: string | undefined;
1996
+ deleted_at?: string | null | undefined;
1997
+ owner?: string | null | undefined;
1998
+ os_hidden?: boolean | undefined;
1999
+ os_hash_algo?: string | null | undefined;
2000
+ os_hash_value?: string | null | undefined;
2001
+ schema?: string | undefined;
2002
+ metadata?: Record<string, string> | undefined;
2003
+ file?: string | undefined;
2004
+ self?: string | undefined;
2005
+ tags?: string[] | undefined;
2006
+ direct_url?: string | null | undefined;
2007
+ hw_disk_bus?: string | null | undefined;
2008
+ hw_scsi_model?: string | null | undefined;
2009
+ hw_serial?: string | null | undefined;
2010
+ hw_qemu_guest_agent?: boolean | undefined;
2011
+ hw_vif_model?: string | null | undefined;
2012
+ hw_rng_model?: string | null | undefined;
2013
+ hw_machine_type?: string | null | undefined;
2014
+ os_type?: string | null | undefined;
2015
+ os_distro?: string | null | undefined;
2016
+ os_version?: string | null | undefined;
2017
+ os_require_quiesce?: boolean | undefined;
2018
+ links?: {
2019
+ href?: string | null | undefined;
2020
+ rel?: string | null | undefined;
2021
+ }[] | undefined;
2022
+ members?: string[] | undefined;
2023
+ locations?: {
2024
+ url: string;
2025
+ metadata?: Record<string, any> | undefined;
2026
+ }[] | undefined;
2027
+ }[];
2028
+ first?: string | undefined;
2029
+ next?: string | undefined;
2030
+ schema?: string | undefined;
2031
+ };
2032
+ meta: object;
2033
+ }>;
2034
+ listImagesWithPagination: import('@trpc/server').TRPCQueryProcedure<{
2035
+ input: {
2036
+ project_id: string;
2037
+ sort_key?: "name" | "id" | "status" | "visibility" | "protected" | "container_format" | "disk_format" | "min_ram" | "min_disk" | "size" | "created_at" | "updated_at" | "owner" | undefined;
2038
+ sort_dir?: "asc" | "desc" | undefined;
2039
+ sort?: string | undefined;
2040
+ limit?: number | undefined;
2041
+ marker?: string | undefined;
2042
+ name?: string | undefined;
2043
+ status?: string | undefined;
2044
+ visibility?: "all" | "public" | "private" | "shared" | "community" | undefined;
2045
+ owner?: string | undefined;
2046
+ protected?: string | undefined;
2047
+ container_format?: string | undefined;
2048
+ disk_format?: string | undefined;
2049
+ size_min?: number | undefined;
2050
+ size_max?: number | undefined;
2051
+ min_ram?: number | undefined;
2052
+ min_disk?: number | undefined;
2053
+ tag?: string | undefined;
2054
+ os_type?: "linux" | "windows" | undefined;
2055
+ os_hidden?: boolean | undefined;
2056
+ member_status?: "all" | "pending" | "accepted" | "rejected" | undefined;
2057
+ created_at?: string | undefined;
2058
+ updated_at?: string | undefined;
2059
+ first?: string | undefined;
2060
+ next?: string | undefined;
2061
+ };
2062
+ output: {
2063
+ images: {
2064
+ [x: string]: unknown;
2065
+ id: string;
2066
+ name?: string | null | undefined;
2067
+ status?: string | undefined;
2068
+ visibility?: string | undefined;
2069
+ protected?: boolean | undefined;
2070
+ checksum?: string | null | undefined;
2071
+ container_format?: string | null | undefined;
2072
+ disk_format?: string | null | undefined;
2073
+ min_ram?: number | undefined;
2074
+ min_disk?: number | undefined;
2075
+ size?: number | null | undefined;
2076
+ virtual_size?: number | null | undefined;
2077
+ created_at?: string | undefined;
2078
+ updated_at?: string | undefined;
2079
+ deleted_at?: string | null | undefined;
2080
+ owner?: string | null | undefined;
2081
+ os_hidden?: boolean | undefined;
2082
+ os_hash_algo?: string | null | undefined;
2083
+ os_hash_value?: string | null | undefined;
2084
+ schema?: string | undefined;
2085
+ metadata?: Record<string, string> | undefined;
2086
+ file?: string | undefined;
2087
+ self?: string | undefined;
2088
+ tags?: string[] | undefined;
2089
+ direct_url?: string | null | undefined;
2090
+ hw_disk_bus?: string | null | undefined;
2091
+ hw_scsi_model?: string | null | undefined;
2092
+ hw_serial?: string | null | undefined;
2093
+ hw_qemu_guest_agent?: boolean | undefined;
2094
+ hw_vif_model?: string | null | undefined;
2095
+ hw_rng_model?: string | null | undefined;
2096
+ hw_machine_type?: string | null | undefined;
2097
+ os_type?: string | null | undefined;
2098
+ os_distro?: string | null | undefined;
2099
+ os_version?: string | null | undefined;
2100
+ os_require_quiesce?: boolean | undefined;
2101
+ links?: {
2102
+ href?: string | null | undefined;
2103
+ rel?: string | null | undefined;
2104
+ }[] | undefined;
2105
+ members?: string[] | undefined;
2106
+ locations?: {
2107
+ url: string;
2108
+ metadata?: Record<string, any> | undefined;
2109
+ }[] | undefined;
2110
+ }[];
2111
+ first?: string | undefined;
2112
+ next?: string | undefined;
2113
+ schema?: string | undefined;
2114
+ };
2115
+ meta: object;
2116
+ }>;
2117
+ getImageById: import('@trpc/server').TRPCQueryProcedure<{
2118
+ input: {
2119
+ project_id: string;
2120
+ imageId: string;
2121
+ };
2122
+ output: {
2123
+ [x: string]: unknown;
2124
+ id: string;
2125
+ name?: string | null | undefined;
2126
+ status?: string | undefined;
2127
+ visibility?: string | undefined;
2128
+ protected?: boolean | undefined;
2129
+ checksum?: string | null | undefined;
2130
+ container_format?: string | null | undefined;
2131
+ disk_format?: string | null | undefined;
2132
+ min_ram?: number | undefined;
2133
+ min_disk?: number | undefined;
2134
+ size?: number | null | undefined;
2135
+ virtual_size?: number | null | undefined;
2136
+ created_at?: string | undefined;
2137
+ updated_at?: string | undefined;
2138
+ deleted_at?: string | null | undefined;
2139
+ owner?: string | null | undefined;
2140
+ os_hidden?: boolean | undefined;
2141
+ os_hash_algo?: string | null | undefined;
2142
+ os_hash_value?: string | null | undefined;
2143
+ schema?: string | undefined;
2144
+ metadata?: Record<string, string> | undefined;
2145
+ file?: string | undefined;
2146
+ self?: string | undefined;
2147
+ tags?: string[] | undefined;
2148
+ direct_url?: string | null | undefined;
2149
+ hw_disk_bus?: string | null | undefined;
2150
+ hw_scsi_model?: string | null | undefined;
2151
+ hw_serial?: string | null | undefined;
2152
+ hw_qemu_guest_agent?: boolean | undefined;
2153
+ hw_vif_model?: string | null | undefined;
2154
+ hw_rng_model?: string | null | undefined;
2155
+ hw_machine_type?: string | null | undefined;
2156
+ os_type?: string | null | undefined;
2157
+ os_distro?: string | null | undefined;
2158
+ os_version?: string | null | undefined;
2159
+ os_require_quiesce?: boolean | undefined;
2160
+ links?: {
2161
+ href?: string | null | undefined;
2162
+ rel?: string | null | undefined;
2163
+ }[] | undefined;
2164
+ members?: string[] | undefined;
2165
+ locations?: {
2166
+ url: string;
2167
+ metadata?: Record<string, any> | undefined;
2168
+ }[] | undefined;
2169
+ };
2170
+ meta: object;
2171
+ }>;
2172
+ createImage: import('@trpc/server').TRPCMutationProcedure<{
2173
+ input: {
2174
+ [x: string]: string;
2175
+ project_id: string;
2176
+ name?: string | undefined;
2177
+ id?: string | undefined;
2178
+ container_format?: string | undefined;
2179
+ disk_format?: string | undefined;
2180
+ visibility?: "public" | "private" | "shared" | "community" | undefined;
2181
+ protected?: boolean | undefined;
2182
+ min_ram?: number | undefined;
2183
+ min_disk?: number | undefined;
2184
+ tags?: string[] | undefined;
2185
+ os_type?: "linux" | "windows" | undefined;
2186
+ os_distro?: string | undefined;
2187
+ os_version?: string | undefined;
2188
+ architecture?: string | undefined;
2189
+ os_hidden?: boolean | undefined;
2190
+ hw_disk_bus?: string | undefined;
2191
+ hw_scsi_model?: string | undefined;
2192
+ hw_serial?: string | undefined;
2193
+ hw_qemu_guest_agent?: boolean | undefined;
2194
+ hw_vif_model?: string | undefined;
2195
+ hw_rng_model?: string | undefined;
2196
+ hw_machine_type?: string | undefined;
2197
+ };
2198
+ output: {
2199
+ [x: string]: unknown;
2200
+ id: string;
2201
+ name?: string | null | undefined;
2202
+ status?: string | undefined;
2203
+ visibility?: string | undefined;
2204
+ protected?: boolean | undefined;
2205
+ checksum?: string | null | undefined;
2206
+ container_format?: string | null | undefined;
2207
+ disk_format?: string | null | undefined;
2208
+ min_ram?: number | undefined;
2209
+ min_disk?: number | undefined;
2210
+ size?: number | null | undefined;
2211
+ virtual_size?: number | null | undefined;
2212
+ created_at?: string | undefined;
2213
+ updated_at?: string | undefined;
2214
+ deleted_at?: string | null | undefined;
2215
+ owner?: string | null | undefined;
2216
+ os_hidden?: boolean | undefined;
2217
+ os_hash_algo?: string | null | undefined;
2218
+ os_hash_value?: string | null | undefined;
2219
+ schema?: string | undefined;
2220
+ metadata?: Record<string, string> | undefined;
2221
+ file?: string | undefined;
2222
+ self?: string | undefined;
2223
+ tags?: string[] | undefined;
2224
+ direct_url?: string | null | undefined;
2225
+ hw_disk_bus?: string | null | undefined;
2226
+ hw_scsi_model?: string | null | undefined;
2227
+ hw_serial?: string | null | undefined;
2228
+ hw_qemu_guest_agent?: boolean | undefined;
2229
+ hw_vif_model?: string | null | undefined;
2230
+ hw_rng_model?: string | null | undefined;
2231
+ hw_machine_type?: string | null | undefined;
2232
+ os_type?: string | null | undefined;
2233
+ os_distro?: string | null | undefined;
2234
+ os_version?: string | null | undefined;
2235
+ os_require_quiesce?: boolean | undefined;
2236
+ links?: {
2237
+ href?: string | null | undefined;
2238
+ rel?: string | null | undefined;
2239
+ }[] | undefined;
2240
+ members?: string[] | undefined;
2241
+ locations?: {
2242
+ url: string;
2243
+ metadata?: Record<string, any> | undefined;
2244
+ }[] | undefined;
2245
+ };
2246
+ meta: object;
2247
+ }>;
2248
+ uploadImage: import('@trpc/server').TRPCMutationProcedure<{
2249
+ input: import('@trpc/server/unstable-core-do-not-import').OctetInput;
2250
+ output: {
2251
+ success: boolean;
2252
+ imageId: string;
2253
+ };
2254
+ meta: object;
2255
+ }>;
2256
+ watchUploadProgress: import('@trpc/server').TRPCSubscriptionProcedure<{
2257
+ input: {
2258
+ project_id: string;
2259
+ uploadId: string;
2260
+ };
2261
+ output: AsyncIterable<{
2262
+ percent: number;
2263
+ uploaded: number;
2264
+ total: number;
2265
+ }, void, any>;
2266
+ meta: object;
2267
+ }>;
2268
+ updateImage: import('@trpc/server').TRPCMutationProcedure<{
2269
+ input: {
2270
+ project_id: string;
2271
+ imageId: string;
2272
+ operations: {
2273
+ op: "replace" | "copy" | "move" | "add" | "remove" | "test";
2274
+ path: string;
2275
+ value?: any;
2276
+ from?: string | undefined;
2277
+ }[];
2278
+ };
2279
+ output: {
2280
+ [x: string]: unknown;
2281
+ id: string;
2282
+ name?: string | null | undefined;
2283
+ status?: string | undefined;
2284
+ visibility?: string | undefined;
2285
+ protected?: boolean | undefined;
2286
+ checksum?: string | null | undefined;
2287
+ container_format?: string | null | undefined;
2288
+ disk_format?: string | null | undefined;
2289
+ min_ram?: number | undefined;
2290
+ min_disk?: number | undefined;
2291
+ size?: number | null | undefined;
2292
+ virtual_size?: number | null | undefined;
2293
+ created_at?: string | undefined;
2294
+ updated_at?: string | undefined;
2295
+ deleted_at?: string | null | undefined;
2296
+ owner?: string | null | undefined;
2297
+ os_hidden?: boolean | undefined;
2298
+ os_hash_algo?: string | null | undefined;
2299
+ os_hash_value?: string | null | undefined;
2300
+ schema?: string | undefined;
2301
+ metadata?: Record<string, string> | undefined;
2302
+ file?: string | undefined;
2303
+ self?: string | undefined;
2304
+ tags?: string[] | undefined;
2305
+ direct_url?: string | null | undefined;
2306
+ hw_disk_bus?: string | null | undefined;
2307
+ hw_scsi_model?: string | null | undefined;
2308
+ hw_serial?: string | null | undefined;
2309
+ hw_qemu_guest_agent?: boolean | undefined;
2310
+ hw_vif_model?: string | null | undefined;
2311
+ hw_rng_model?: string | null | undefined;
2312
+ hw_machine_type?: string | null | undefined;
2313
+ os_type?: string | null | undefined;
2314
+ os_distro?: string | null | undefined;
2315
+ os_version?: string | null | undefined;
2316
+ os_require_quiesce?: boolean | undefined;
2317
+ links?: {
2318
+ href?: string | null | undefined;
2319
+ rel?: string | null | undefined;
2320
+ }[] | undefined;
2321
+ members?: string[] | undefined;
2322
+ locations?: {
2323
+ url: string;
2324
+ metadata?: Record<string, any> | undefined;
2325
+ }[] | undefined;
2326
+ };
2327
+ meta: object;
2328
+ }>;
2329
+ updateImageVisibility: import('@trpc/server').TRPCMutationProcedure<{
2330
+ input: {
2331
+ project_id: string;
2332
+ imageId: string;
2333
+ visibility: "public" | "private" | "shared" | "community";
2334
+ };
2335
+ output: {
2336
+ [x: string]: unknown;
2337
+ id: string;
2338
+ name?: string | null | undefined;
2339
+ status?: string | undefined;
2340
+ visibility?: string | undefined;
2341
+ protected?: boolean | undefined;
2342
+ checksum?: string | null | undefined;
2343
+ container_format?: string | null | undefined;
2344
+ disk_format?: string | null | undefined;
2345
+ min_ram?: number | undefined;
2346
+ min_disk?: number | undefined;
2347
+ size?: number | null | undefined;
2348
+ virtual_size?: number | null | undefined;
2349
+ created_at?: string | undefined;
2350
+ updated_at?: string | undefined;
2351
+ deleted_at?: string | null | undefined;
2352
+ owner?: string | null | undefined;
2353
+ os_hidden?: boolean | undefined;
2354
+ os_hash_algo?: string | null | undefined;
2355
+ os_hash_value?: string | null | undefined;
2356
+ schema?: string | undefined;
2357
+ metadata?: Record<string, string> | undefined;
2358
+ file?: string | undefined;
2359
+ self?: string | undefined;
2360
+ tags?: string[] | undefined;
2361
+ direct_url?: string | null | undefined;
2362
+ hw_disk_bus?: string | null | undefined;
2363
+ hw_scsi_model?: string | null | undefined;
2364
+ hw_serial?: string | null | undefined;
2365
+ hw_qemu_guest_agent?: boolean | undefined;
2366
+ hw_vif_model?: string | null | undefined;
2367
+ hw_rng_model?: string | null | undefined;
2368
+ hw_machine_type?: string | null | undefined;
2369
+ os_type?: string | null | undefined;
2370
+ os_distro?: string | null | undefined;
2371
+ os_version?: string | null | undefined;
2372
+ os_require_quiesce?: boolean | undefined;
2373
+ links?: {
2374
+ href?: string | null | undefined;
2375
+ rel?: string | null | undefined;
2376
+ }[] | undefined;
2377
+ members?: string[] | undefined;
2378
+ locations?: {
2379
+ url: string;
2380
+ metadata?: Record<string, any> | undefined;
2381
+ }[] | undefined;
2382
+ };
2383
+ meta: object;
2384
+ }>;
2385
+ deleteImage: import('@trpc/server').TRPCMutationProcedure<{
2386
+ input: {
2387
+ project_id: string;
2388
+ imageId: string;
2389
+ };
2390
+ output: boolean;
2391
+ meta: object;
2392
+ }>;
2393
+ deactivateImage: import('@trpc/server').TRPCMutationProcedure<{
2394
+ input: {
2395
+ project_id: string;
2396
+ imageId: string;
2397
+ };
2398
+ output: boolean;
2399
+ meta: object;
2400
+ }>;
2401
+ reactivateImage: import('@trpc/server').TRPCMutationProcedure<{
2402
+ input: {
2403
+ project_id: string;
2404
+ imageId: string;
2405
+ };
2406
+ output: boolean;
2407
+ meta: object;
2408
+ }>;
2409
+ listImageMembers: import('@trpc/server').TRPCQueryProcedure<{
2410
+ input: {
2411
+ project_id: string;
2412
+ imageId: string;
2413
+ };
2414
+ output: {
2415
+ member_id: string;
2416
+ image_id: string;
2417
+ status: "pending" | "accepted" | "rejected";
2418
+ created_at: string;
2419
+ updated_at: string;
2420
+ schema?: string | undefined;
2421
+ }[];
2422
+ meta: object;
2423
+ }>;
2424
+ getImageMember: import('@trpc/server').TRPCQueryProcedure<{
2425
+ input: {
2426
+ project_id: string;
2427
+ imageId: string;
2428
+ memberId: string;
2429
+ };
2430
+ output: {
2431
+ member_id: string;
2432
+ image_id: string;
2433
+ status: "pending" | "accepted" | "rejected";
2434
+ created_at: string;
2435
+ updated_at: string;
2436
+ schema?: string | undefined;
2437
+ };
2438
+ meta: object;
2439
+ }>;
2440
+ createImageMember: import('@trpc/server').TRPCMutationProcedure<{
2441
+ input: {
2442
+ project_id: string;
2443
+ imageId: string;
2444
+ member: string;
2445
+ };
2446
+ output: {
2447
+ member_id: string;
2448
+ image_id: string;
2449
+ status: "pending" | "accepted" | "rejected";
2450
+ created_at: string;
2451
+ updated_at: string;
2452
+ schema?: string | undefined;
2453
+ };
2454
+ meta: object;
2455
+ }>;
2456
+ updateImageMember: import('@trpc/server').TRPCMutationProcedure<{
2457
+ input: {
2458
+ project_id: string;
2459
+ imageId: string;
2460
+ memberId: string;
2461
+ status: "pending" | "accepted" | "rejected";
2462
+ };
2463
+ output: {
2464
+ member_id: string;
2465
+ image_id: string;
2466
+ status: "pending" | "accepted" | "rejected";
2467
+ created_at: string;
2468
+ updated_at: string;
2469
+ schema?: string | undefined;
2470
+ };
2471
+ meta: object;
2472
+ }>;
2473
+ deleteImageMember: import('@trpc/server').TRPCMutationProcedure<{
2474
+ input: {
2475
+ project_id: string;
2476
+ imageId: string;
2477
+ memberId: string;
2478
+ };
2479
+ output: boolean;
2480
+ meta: object;
2481
+ }>;
2482
+ deleteImages: import('@trpc/server').TRPCMutationProcedure<{
2483
+ input: {
2484
+ project_id: string;
2485
+ imageIds: string[];
2486
+ };
2487
+ output: {
2488
+ successful: string[];
2489
+ failed: {
2490
+ imageId: string;
2491
+ error: string;
2492
+ }[];
2493
+ };
2494
+ meta: object;
2495
+ }>;
2496
+ activateImages: import('@trpc/server').TRPCMutationProcedure<{
2497
+ input: {
2498
+ project_id: string;
2499
+ imageIds: string[];
2500
+ };
2501
+ output: {
2502
+ successful: string[];
2503
+ failed: {
2504
+ imageId: string;
2505
+ error: string;
2506
+ }[];
2507
+ };
2508
+ meta: object;
2509
+ }>;
2510
+ deactivateImages: import('@trpc/server').TRPCMutationProcedure<{
2511
+ input: {
2512
+ project_id: string;
2513
+ imageIds: string[];
2514
+ };
2515
+ output: {
2516
+ successful: string[];
2517
+ failed: {
2518
+ imageId: string;
2519
+ error: string;
2520
+ }[];
2521
+ };
2522
+ meta: object;
2523
+ }>;
2524
+ listSharedImagesByMemberStatus: import('@trpc/server').TRPCQueryProcedure<{
2525
+ input: {
2526
+ project_id: string;
2527
+ memberStatus: "pending" | "accepted" | "rejected";
2528
+ name?: string | undefined;
2529
+ status?: string | undefined;
2530
+ disk_format?: string | undefined;
2531
+ container_format?: string | undefined;
2532
+ protected?: string | undefined;
2533
+ sort?: string | undefined;
2534
+ };
2535
+ output: {
2536
+ [x: string]: unknown;
2537
+ id: string;
2538
+ name?: string | null | undefined;
2539
+ status?: string | undefined;
2540
+ visibility?: string | undefined;
2541
+ protected?: boolean | undefined;
2542
+ checksum?: string | null | undefined;
2543
+ container_format?: string | null | undefined;
2544
+ disk_format?: string | null | undefined;
2545
+ min_ram?: number | undefined;
2546
+ min_disk?: number | undefined;
2547
+ size?: number | null | undefined;
2548
+ virtual_size?: number | null | undefined;
2549
+ created_at?: string | undefined;
2550
+ updated_at?: string | undefined;
2551
+ deleted_at?: string | null | undefined;
2552
+ owner?: string | null | undefined;
2553
+ os_hidden?: boolean | undefined;
2554
+ os_hash_algo?: string | null | undefined;
2555
+ os_hash_value?: string | null | undefined;
2556
+ schema?: string | undefined;
2557
+ metadata?: Record<string, string> | undefined;
2558
+ file?: string | undefined;
2559
+ self?: string | undefined;
2560
+ tags?: string[] | undefined;
2561
+ direct_url?: string | null | undefined;
2562
+ hw_disk_bus?: string | null | undefined;
2563
+ hw_scsi_model?: string | null | undefined;
2564
+ hw_serial?: string | null | undefined;
2565
+ hw_qemu_guest_agent?: boolean | undefined;
2566
+ hw_vif_model?: string | null | undefined;
2567
+ hw_rng_model?: string | null | undefined;
2568
+ hw_machine_type?: string | null | undefined;
2569
+ os_type?: string | null | undefined;
2570
+ os_distro?: string | null | undefined;
2571
+ os_version?: string | null | undefined;
2572
+ os_require_quiesce?: boolean | undefined;
2573
+ links?: {
2574
+ href?: string | null | undefined;
2575
+ rel?: string | null | undefined;
2576
+ }[] | undefined;
2577
+ members?: string[] | undefined;
2578
+ locations?: {
2579
+ url: string;
2580
+ metadata?: Record<string, any> | undefined;
2581
+ }[] | undefined;
2582
+ }[];
2583
+ meta: object;
2584
+ }>;
2585
+ getImageMetadataExcludedProperties: import('@trpc/server').TRPCQueryProcedure<{
2586
+ input: {
2587
+ project_id: string;
2588
+ };
2589
+ output: string[];
2590
+ meta: object;
2591
+ }>;
2592
+ getFlavorById: import('@trpc/server').TRPCQueryProcedure<{
2593
+ input: {
2594
+ project_id: string;
2595
+ flavorId: string;
2596
+ };
2597
+ output: {
2598
+ id: string;
2599
+ name: string;
2600
+ vcpus: number;
2601
+ ram: number;
2602
+ disk: number;
2603
+ "OS-FLV-DISABLED:disabled"?: boolean | undefined;
2604
+ "OS-FLV-EXT-DATA:ephemeral"?: number | undefined;
2605
+ "os-flavor-access:is_public"?: boolean | undefined;
2606
+ swap?: string | number | undefined;
2607
+ rxtx_factor?: number | undefined;
2608
+ description?: string | null | undefined;
2609
+ links?: {
2610
+ href?: string | null | undefined;
2611
+ rel?: string | null | undefined;
2612
+ }[] | undefined;
2613
+ extra_specs?: Record<string, string> | undefined;
2614
+ };
2615
+ meta: object;
2616
+ }>;
2617
+ getFlavorsByProjectId: import('@trpc/server').TRPCQueryProcedure<{
2618
+ input: {
2619
+ project_id: string;
2620
+ sortBy?: string | undefined;
2621
+ sortDirection?: string | undefined;
2622
+ searchTerm?: string | undefined;
2623
+ };
2624
+ output: {
2625
+ flavors: {
2626
+ id: string;
2627
+ name: string;
2628
+ vcpus: number;
2629
+ ram: number;
2630
+ disk: number;
2631
+ "OS-FLV-DISABLED:disabled"?: boolean | undefined;
2632
+ "OS-FLV-EXT-DATA:ephemeral"?: number | undefined;
2633
+ "os-flavor-access:is_public"?: boolean | undefined;
2634
+ swap?: string | number | undefined;
2635
+ rxtx_factor?: number | undefined;
2636
+ description?: string | null | undefined;
2637
+ links?: {
2638
+ href?: string | null | undefined;
2639
+ rel?: string | null | undefined;
2640
+ }[] | undefined;
2641
+ extra_specs?: Record<string, string> | undefined;
2642
+ }[];
2643
+ privateFlavorError: string | undefined;
2644
+ };
2645
+ meta: object;
2646
+ }>;
2647
+ createFlavor: import('@trpc/server').TRPCMutationProcedure<{
2648
+ input: {
2649
+ project_id: string;
2650
+ flavor: {
2651
+ name: string;
2652
+ vcpus: number;
2653
+ ram: number;
2654
+ disk: number;
2655
+ id?: string | undefined;
2656
+ swap?: number | undefined;
2657
+ rxtx_factor?: number | undefined;
2658
+ "OS-FLV-EXT-DATA:ephemeral"?: number | undefined;
2659
+ "os-flavor-access:is_public"?: boolean | undefined;
2660
+ };
2661
+ };
2662
+ output: {
2663
+ id: string;
2664
+ name: string;
2665
+ vcpus: number;
2666
+ ram: number;
2667
+ disk: number;
2668
+ "OS-FLV-DISABLED:disabled"?: boolean | undefined;
2669
+ "OS-FLV-EXT-DATA:ephemeral"?: number | undefined;
2670
+ "os-flavor-access:is_public"?: boolean | undefined;
2671
+ swap?: string | number | undefined;
2672
+ rxtx_factor?: number | undefined;
2673
+ description?: string | null | undefined;
2674
+ links?: {
2675
+ href?: string | null | undefined;
2676
+ rel?: string | null | undefined;
2677
+ }[] | undefined;
2678
+ extra_specs?: Record<string, string> | undefined;
2679
+ };
2680
+ meta: object;
2681
+ }>;
2682
+ deleteFlavor: import('@trpc/server').TRPCMutationProcedure<{
2683
+ input: {
2684
+ project_id: string;
2685
+ flavorId: string;
2686
+ };
2687
+ output: {
2688
+ success: boolean;
2689
+ message: string;
2690
+ };
2691
+ meta: object;
2692
+ }>;
2693
+ createExtraSpecs: import('@trpc/server').TRPCMutationProcedure<{
2694
+ input: {
2695
+ project_id: string;
2696
+ flavorId: string;
2697
+ extra_specs: Record<string, string>;
2698
+ };
2699
+ output: Record<string, string>;
2700
+ meta: object;
2701
+ }>;
2702
+ getExtraSpecs: import('@trpc/server').TRPCQueryProcedure<{
2703
+ input: {
2704
+ project_id: string;
2705
+ flavorId: string;
2706
+ };
2707
+ output: Record<string, string>;
2708
+ meta: object;
2709
+ }>;
2710
+ deleteExtraSpec: import('@trpc/server').TRPCMutationProcedure<{
2711
+ input: {
2712
+ project_id: string;
2713
+ flavorId: string;
2714
+ key: string;
2715
+ };
2716
+ output: {
2717
+ success: boolean;
2718
+ message: string;
2719
+ };
2720
+ meta: object;
2721
+ }>;
2722
+ getFlavorAccess: import('@trpc/server').TRPCQueryProcedure<{
2723
+ input: {
2724
+ project_id: string;
2725
+ flavorId: string;
2726
+ };
2727
+ output: import('../server/Compute/helpers/flavorHelpers').FlavorAccess[];
2728
+ meta: object;
2729
+ }>;
2730
+ addTenantAccess: import('@trpc/server').TRPCMutationProcedure<{
2731
+ input: {
2732
+ project_id: string;
2733
+ flavorId: string;
2734
+ targetProjectId: string;
2735
+ };
2736
+ output: import('../server/Compute/helpers/flavorHelpers').FlavorAccess[];
2737
+ meta: object;
2738
+ }>;
2739
+ removeTenantAccess: import('@trpc/server').TRPCMutationProcedure<{
2740
+ input: {
2741
+ project_id: string;
2742
+ flavorId: string;
2743
+ targetProjectId: string;
2744
+ };
2745
+ output: import('../server/Compute/helpers/flavorHelpers').FlavorAccess[];
2746
+ meta: object;
2747
+ }>;
2748
+ getServersByProjectId: import('@trpc/server').TRPCQueryProcedure<{
2749
+ input: {
2750
+ project_id: string;
2751
+ };
2752
+ output: {
2753
+ [x: string]: unknown;
2754
+ id: string;
2755
+ accessIPv4?: string | null | undefined;
2756
+ accessIPv6?: string | null | undefined;
2757
+ addresses?: Record<string, {
2758
+ addr?: string | undefined;
2759
+ mac_addr?: string | undefined;
2760
+ type?: string | undefined;
2761
+ version?: number | undefined;
2762
+ }[]> | undefined;
2763
+ created?: string | null | undefined;
2764
+ description?: string | null | undefined;
2765
+ flavor?: {
2766
+ disk?: number | undefined;
2767
+ ephemeral?: number | undefined;
2768
+ extra_specs?: Record<string, any> | undefined;
2769
+ original_name?: string | undefined;
2770
+ ram?: number | undefined;
2771
+ swap?: number | undefined;
2772
+ vcpus?: number | undefined;
2773
+ } | undefined;
2774
+ hostId?: string | undefined;
2775
+ host_status?: "" | "UP" | "DOWN" | "UNKNOWN" | "MAINTENANCE" | undefined;
2776
+ image?: string | {
2777
+ id?: string | null | undefined;
2778
+ links?: {
2779
+ href?: string | null | undefined;
2780
+ rel?: string | null | undefined;
2781
+ }[] | undefined;
2782
+ } | null | undefined;
2783
+ key_name?: string | null | undefined;
2784
+ links?: {
2785
+ href?: string | null | undefined;
2786
+ rel?: string | null | undefined;
2787
+ }[] | undefined;
2788
+ locked?: boolean | undefined;
2789
+ locked_reason?: string | null | undefined;
2790
+ metadata?: Record<string, string> | undefined;
2791
+ name?: string | null | undefined;
2792
+ "OS-DCF:diskConfig"?: "AUTO" | "MANUAL" | undefined;
2793
+ "OS-EXT-AZ:availability_zone"?: string | null | undefined;
2794
+ "OS-EXT-SRV-ATTR:host"?: string | null | undefined;
2795
+ "OS-EXT-SRV-ATTR:hostname"?: string | null | undefined;
2796
+ "OS-EXT-SRV-ATTR:hypervisor_hostname"?: string | null | undefined;
2797
+ "OS-EXT-SRV-ATTR:instance_name"?: string | null | undefined;
2798
+ "OS-EXT-SRV-ATTR:kernel_id"?: string | null | undefined;
2799
+ "OS-EXT-SRV-ATTR:launch_index"?: number | undefined;
2800
+ "OS-EXT-SRV-ATTR:ramdisk_id"?: string | null | undefined;
2801
+ "OS-EXT-SRV-ATTR:reservation_id"?: string | null | undefined;
2802
+ "OS-EXT-SRV-ATTR:root_device_name"?: string | null | undefined;
2803
+ "OS-EXT-SRV-ATTR:user_data"?: string | null | undefined;
2804
+ "OS-EXT-STS:power_state"?: number | undefined;
2805
+ "OS-EXT-STS:task_state"?: string | null | undefined;
2806
+ "OS-EXT-STS:vm_state"?: string | null | undefined;
2807
+ OS_EXT_SRV_ATTR_host?: string | undefined;
2808
+ OS_EXT_STS_task_state?: string | undefined;
2809
+ OS_EXT_STS_vm_state?: string | undefined;
2810
+ progress?: number | undefined;
2811
+ status?: string | undefined;
2812
+ tags?: string[] | undefined;
2813
+ tenant_id?: string | null | undefined;
2814
+ updated?: string | null | undefined;
2815
+ }[] | undefined;
2816
+ meta: object;
2817
+ }>;
2818
+ }>>;
2819
+ }> & import('@trpc/server').TRPCDecorateCreateRouterOptions<{
2820
+ auth: import('@trpc/server').TRPCBuiltRouter<{
2821
+ ctx: import('../server/context').AuroraPortalContext;
2822
+ meta: object;
2823
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
2824
+ transformer: false;
2825
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
2826
+ getCurrentUserSession: import('@trpc/server').TRPCQueryProcedure<{
2827
+ input: void;
2828
+ output: {
2829
+ application_credential?: {
2830
+ id: string;
2831
+ name: string;
2832
+ restricted: boolean;
2833
+ };
2834
+ audit_ids?: string[];
2835
+ catalog?: {
2836
+ endpoints: {
2837
+ id: string;
2838
+ interface: string;
2839
+ region: string;
2840
+ region_id: string;
2841
+ url: string;
2842
+ }[];
2843
+ type: string;
2844
+ id: string;
2845
+ name: string;
2846
+ }[];
2847
+ expires_at: string;
2848
+ issued_at: string;
2849
+ methods: string[];
2850
+ roles: {
2851
+ id: string;
2852
+ name: string;
2853
+ }[];
2854
+ system: {
2855
+ all: boolean;
2856
+ };
2857
+ project?: {
2858
+ domain?: {
2859
+ id?: string;
2860
+ name?: string;
2861
+ };
2862
+ id?: string;
2863
+ name?: string;
2864
+ };
2865
+ domain?: {
2866
+ id?: string;
2867
+ name?: string;
2868
+ };
2869
+ user: {
2870
+ domain: {
2871
+ id: string;
2872
+ name: string;
2873
+ };
2874
+ id: string;
2875
+ name: string;
2876
+ password_expires_at: string;
2877
+ };
2878
+ } | null;
2879
+ meta: object;
2880
+ }>;
2881
+ getAuthToken: import('@trpc/server').TRPCQueryProcedure<{
2882
+ input: void;
2883
+ output: string | null;
2884
+ meta: object;
2885
+ }>;
2886
+ getCurrentScope: import('@trpc/server').TRPCQueryProcedure<{
2887
+ input: void;
2888
+ output: {
2889
+ project: {
2890
+ domain?: {
2891
+ id?: string;
2892
+ name?: string;
2893
+ };
2894
+ id?: string;
2895
+ name?: string;
2896
+ } | undefined;
2897
+ domain: {
2898
+ id?: string;
2899
+ name?: string;
2900
+ } | undefined;
2901
+ } | null;
2902
+ meta: object;
2903
+ }>;
2904
+ setCurrentScope: import('@trpc/server').TRPCMutationProcedure<{
2905
+ input: {
2906
+ type: "domain";
2907
+ domainId: string;
2908
+ } | {
2909
+ type: "project";
2910
+ projectId: string;
2911
+ } | {
2912
+ type: "unscoped";
2913
+ value: string;
2914
+ };
2915
+ output: {
2916
+ project: null;
2917
+ domain: {
2918
+ id?: string;
2919
+ name?: string;
2920
+ } | undefined;
2921
+ } | {
2922
+ project: {
2923
+ domain?: {
2924
+ id?: string;
2925
+ name?: string;
2926
+ };
2927
+ id?: string;
2928
+ name?: string;
2929
+ } | undefined;
2930
+ domain: {
2931
+ id?: string;
2932
+ name?: string;
2933
+ } | undefined;
2934
+ } | {
2935
+ project: null;
2936
+ domain: null;
2937
+ };
2938
+ meta: object;
2939
+ }>;
2940
+ createUserSession: import('@trpc/server').TRPCMutationProcedure<{
2941
+ input: {
2942
+ user: string;
2943
+ password: string;
2944
+ domainName: string;
2945
+ };
2946
+ output: {
2947
+ application_credential?: {
2948
+ id: string;
2949
+ name: string;
2950
+ restricted: boolean;
2951
+ };
2952
+ audit_ids?: string[];
2953
+ catalog?: {
2954
+ endpoints: {
2955
+ id: string;
2956
+ interface: string;
2957
+ region: string;
2958
+ region_id: string;
2959
+ url: string;
2960
+ }[];
2961
+ type: string;
2962
+ id: string;
2963
+ name: string;
2964
+ }[];
2965
+ expires_at: string;
2966
+ issued_at: string;
2967
+ methods: string[];
2968
+ roles: {
2969
+ id: string;
2970
+ name: string;
2971
+ }[];
2972
+ system: {
2973
+ all: boolean;
2974
+ };
2975
+ project?: {
2976
+ domain?: {
2977
+ id?: string;
2978
+ name?: string;
2979
+ };
2980
+ id?: string;
2981
+ name?: string;
2982
+ };
2983
+ domain?: {
2984
+ id?: string;
2985
+ name?: string;
2986
+ };
2987
+ user: {
2988
+ domain: {
2989
+ id: string;
2990
+ name: string;
2991
+ };
2992
+ id: string;
2993
+ name: string;
2994
+ password_expires_at: string;
2995
+ };
2996
+ };
2997
+ meta: object;
2998
+ }>;
2999
+ terminateUserSession: import('@trpc/server').TRPCMutationProcedure<{
3000
+ input: void;
3001
+ output: void;
3002
+ meta: object;
3003
+ }>;
3004
+ getAvailableServices: import('@trpc/server').TRPCQueryProcedure<{
3005
+ input: void;
3006
+ output: {
3007
+ name: string;
3008
+ type: string;
3009
+ }[];
3010
+ meta: object;
3011
+ }>;
3012
+ }>>;
3013
+ }>>>;
3014
+ export declare const trpcClient: TrpcClient;