@valon-technologies/gestalt 0.0.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,640 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
2
+ // @generated from file v1/s3.proto (package gestalt.provider.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_empty, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file v1/s3.proto.
13
+ */
14
+ export const file_v1_s3: GenFile = /*@__PURE__*/
15
+ fileDesc("Cgt2MS9zMy5wcm90bxITZ2VzdGFsdC5wcm92aWRlci52MSI+CgtTM09iamVjdFJlZhIOCgZidWNrZXQYASABKAkSCwoDa2V5GAIgASgJEhIKCnZlcnNpb25faWQYAyABKAkirQIKDFMzT2JqZWN0TWV0YRItCgNyZWYYASABKAsyIC5nZXN0YWx0LnByb3ZpZGVyLnYxLlMzT2JqZWN0UmVmEgwKBGV0YWcYAiABKAkSDAoEc2l6ZRgDIAEoAxIUCgxjb250ZW50X3R5cGUYBCABKAkSMQoNbGFzdF9tb2RpZmllZBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASQQoIbWV0YWRhdGEYBiADKAsyLy5nZXN0YWx0LnByb3ZpZGVyLnYxLlMzT2JqZWN0TWV0YS5NZXRhZGF0YUVudHJ5EhUKDXN0b3JhZ2VfY2xhc3MYByABKAkaLwoNTWV0YWRhdGFFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIkMKCUJ5dGVSYW5nZRIS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9EX0hFQUQQBDKgBQoCUzMSXQoKSGVhZE9iamVjdBImLmdlc3RhbHQucHJvdmlkZXIudjEuSGVhZE9iamVjdFJlcXVlc3QaJy5nZXN0YWx0LnByb3ZpZGVyLnYxLkhlYWRPYmplY3RSZXNwb25zZRJcCgpSZWFkT2JqZWN0EiYuZ2VzdGFsdC5wcm92aWRlci52MS5SZWFkT2JqZWN0UmVxdWVzdBokLmdlc3RhbHQucHJvdmlkZXIudjEuUmVhZE9iamVjdENodW5rMAESYgoLV3JpdGVPYmplY3QSJy5nZXN0YWx0LnByb3ZpZGVyLnYxLldyaXRlT2JqZWN0UmVxdWVzdBooLmdlc3RhbHQucHJvdmlkZXIudjEuV3JpdGVPYmplY3RSZXNwb25zZSgBElAKDERlbGV0ZU9iamVjdBIoLmdlc3RhbHQucHJvdmlkZXIudjEuRGVsZXRlT2JqZWN0UmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJgCgtMaXN0T2JqZWN0cxInLmdlc3RhbHQucHJvdmlkZXIudjEuTGlzdE9iamVjdHNSZXF1ZXN0GiguZ2VzdGFsdC5wcm92aWRlci52MS5MaXN0T2JqZWN0c1Jlc3BvbnNlEl0KCkNvcHlPYmplY3QSJi5nZXN0YWx0LnByb3ZpZGVyLnYxLkNvcHlPYmplY3RSZXF1ZXN0GicuZ2VzdGFsdC5wcm92aWRlci52MS5Db3B5T2JqZWN0UmVzcG9uc2USZgoNUHJlc2lnbk9iamVjdBIpLmdlc3RhbHQucHJvdmlkZXIudjEuUHJlc2lnbk9iamVjdFJlcXVlc3QaKi5nZXN0YWx0LnByb3ZpZGVyLnYxLlByZXNpZ25PYmplY3RSZXNwb25zZUI7WjlnaXRodWIuY29tL3ZhbG9uLXRlY2hub2xvZ2llcy9nZXN0YWx0L3Nkay9nby9nZW4vdjE7cHJvdG9iBnByb3RvMw", [file_google_protobuf_empty, file_google_protobuf_timestamp]);
16
+
17
+ /**
18
+ * @generated from message gestalt.provider.v1.S3ObjectRef
19
+ */
20
+ export type S3ObjectRef = Message<"gestalt.provider.v1.S3ObjectRef"> & {
21
+ /**
22
+ * @generated from field: string bucket = 1;
23
+ */
24
+ bucket: string;
25
+
26
+ /**
27
+ * @generated from field: string key = 2;
28
+ */
29
+ key: string;
30
+
31
+ /**
32
+ * @generated from field: string version_id = 3;
33
+ */
34
+ versionId: string;
35
+ };
36
+
37
+ /**
38
+ * Describes the message gestalt.provider.v1.S3ObjectRef.
39
+ * Use `create(S3ObjectRefSchema)` to create a new message.
40
+ */
41
+ export const S3ObjectRefSchema: GenMessage<S3ObjectRef> = /*@__PURE__*/
42
+ messageDesc(file_v1_s3, 0);
43
+
44
+ /**
45
+ * @generated from message gestalt.provider.v1.S3ObjectMeta
46
+ */
47
+ export type S3ObjectMeta = Message<"gestalt.provider.v1.S3ObjectMeta"> & {
48
+ /**
49
+ * @generated from field: gestalt.provider.v1.S3ObjectRef ref = 1;
50
+ */
51
+ ref?: S3ObjectRef;
52
+
53
+ /**
54
+ * @generated from field: string etag = 2;
55
+ */
56
+ etag: string;
57
+
58
+ /**
59
+ * @generated from field: int64 size = 3;
60
+ */
61
+ size: bigint;
62
+
63
+ /**
64
+ * @generated from field: string content_type = 4;
65
+ */
66
+ contentType: string;
67
+
68
+ /**
69
+ * @generated from field: google.protobuf.Timestamp last_modified = 5;
70
+ */
71
+ lastModified?: Timestamp;
72
+
73
+ /**
74
+ * @generated from field: map<string, string> metadata = 6;
75
+ */
76
+ metadata: { [key: string]: string };
77
+
78
+ /**
79
+ * @generated from field: string storage_class = 7;
80
+ */
81
+ storageClass: string;
82
+ };
83
+
84
+ /**
85
+ * Describes the message gestalt.provider.v1.S3ObjectMeta.
86
+ * Use `create(S3ObjectMetaSchema)` to create a new message.
87
+ */
88
+ export const S3ObjectMetaSchema: GenMessage<S3ObjectMeta> = /*@__PURE__*/
89
+ messageDesc(file_v1_s3, 1);
90
+
91
+ /**
92
+ * @generated from message gestalt.provider.v1.ByteRange
93
+ */
94
+ export type ByteRange = Message<"gestalt.provider.v1.ByteRange"> & {
95
+ /**
96
+ * @generated from field: optional int64 start = 1;
97
+ */
98
+ start?: bigint;
99
+
100
+ /**
101
+ * @generated from field: optional int64 end = 2;
102
+ */
103
+ end?: bigint;
104
+ };
105
+
106
+ /**
107
+ * Describes the message gestalt.provider.v1.ByteRange.
108
+ * Use `create(ByteRangeSchema)` to create a new message.
109
+ */
110
+ export const ByteRangeSchema: GenMessage<ByteRange> = /*@__PURE__*/
111
+ messageDesc(file_v1_s3, 2);
112
+
113
+ /**
114
+ * @generated from message gestalt.provider.v1.HeadObjectRequest
115
+ */
116
+ export type HeadObjectRequest = Message<"gestalt.provider.v1.HeadObjectRequest"> & {
117
+ /**
118
+ * @generated from field: gestalt.provider.v1.S3ObjectRef ref = 1;
119
+ */
120
+ ref?: S3ObjectRef;
121
+ };
122
+
123
+ /**
124
+ * Describes the message gestalt.provider.v1.HeadObjectRequest.
125
+ * Use `create(HeadObjectRequestSchema)` to create a new message.
126
+ */
127
+ export const HeadObjectRequestSchema: GenMessage<HeadObjectRequest> = /*@__PURE__*/
128
+ messageDesc(file_v1_s3, 3);
129
+
130
+ /**
131
+ * @generated from message gestalt.provider.v1.HeadObjectResponse
132
+ */
133
+ export type HeadObjectResponse = Message<"gestalt.provider.v1.HeadObjectResponse"> & {
134
+ /**
135
+ * @generated from field: gestalt.provider.v1.S3ObjectMeta meta = 1;
136
+ */
137
+ meta?: S3ObjectMeta;
138
+ };
139
+
140
+ /**
141
+ * Describes the message gestalt.provider.v1.HeadObjectResponse.
142
+ * Use `create(HeadObjectResponseSchema)` to create a new message.
143
+ */
144
+ export const HeadObjectResponseSchema: GenMessage<HeadObjectResponse> = /*@__PURE__*/
145
+ messageDesc(file_v1_s3, 4);
146
+
147
+ /**
148
+ * @generated from message gestalt.provider.v1.ReadObjectRequest
149
+ */
150
+ export type ReadObjectRequest = Message<"gestalt.provider.v1.ReadObjectRequest"> & {
151
+ /**
152
+ * @generated from field: gestalt.provider.v1.S3ObjectRef ref = 1;
153
+ */
154
+ ref?: S3ObjectRef;
155
+
156
+ /**
157
+ * @generated from field: optional gestalt.provider.v1.ByteRange range = 2;
158
+ */
159
+ range?: ByteRange;
160
+
161
+ /**
162
+ * @generated from field: string if_match = 3;
163
+ */
164
+ ifMatch: string;
165
+
166
+ /**
167
+ * @generated from field: string if_none_match = 4;
168
+ */
169
+ ifNoneMatch: string;
170
+
171
+ /**
172
+ * @generated from field: google.protobuf.Timestamp if_modified_since = 5;
173
+ */
174
+ ifModifiedSince?: Timestamp;
175
+
176
+ /**
177
+ * @generated from field: google.protobuf.Timestamp if_unmodified_since = 6;
178
+ */
179
+ ifUnmodifiedSince?: Timestamp;
180
+ };
181
+
182
+ /**
183
+ * Describes the message gestalt.provider.v1.ReadObjectRequest.
184
+ * Use `create(ReadObjectRequestSchema)` to create a new message.
185
+ */
186
+ export const ReadObjectRequestSchema: GenMessage<ReadObjectRequest> = /*@__PURE__*/
187
+ messageDesc(file_v1_s3, 5);
188
+
189
+ /**
190
+ * @generated from message gestalt.provider.v1.ReadObjectChunk
191
+ */
192
+ export type ReadObjectChunk = Message<"gestalt.provider.v1.ReadObjectChunk"> & {
193
+ /**
194
+ * @generated from oneof gestalt.provider.v1.ReadObjectChunk.result
195
+ */
196
+ result: {
197
+ /**
198
+ * @generated from field: gestalt.provider.v1.S3ObjectMeta meta = 1;
199
+ */
200
+ value: S3ObjectMeta;
201
+ case: "meta";
202
+ } | {
203
+ /**
204
+ * @generated from field: bytes data = 2;
205
+ */
206
+ value: Uint8Array;
207
+ case: "data";
208
+ } | { case: undefined; value?: undefined };
209
+ };
210
+
211
+ /**
212
+ * Describes the message gestalt.provider.v1.ReadObjectChunk.
213
+ * Use `create(ReadObjectChunkSchema)` to create a new message.
214
+ */
215
+ export const ReadObjectChunkSchema: GenMessage<ReadObjectChunk> = /*@__PURE__*/
216
+ messageDesc(file_v1_s3, 6);
217
+
218
+ /**
219
+ * @generated from message gestalt.provider.v1.WriteObjectOpen
220
+ */
221
+ export type WriteObjectOpen = Message<"gestalt.provider.v1.WriteObjectOpen"> & {
222
+ /**
223
+ * @generated from field: gestalt.provider.v1.S3ObjectRef ref = 1;
224
+ */
225
+ ref?: S3ObjectRef;
226
+
227
+ /**
228
+ * @generated from field: string content_type = 2;
229
+ */
230
+ contentType: string;
231
+
232
+ /**
233
+ * @generated from field: string cache_control = 3;
234
+ */
235
+ cacheControl: string;
236
+
237
+ /**
238
+ * @generated from field: string content_disposition = 4;
239
+ */
240
+ contentDisposition: string;
241
+
242
+ /**
243
+ * @generated from field: string content_encoding = 5;
244
+ */
245
+ contentEncoding: string;
246
+
247
+ /**
248
+ * @generated from field: string content_language = 6;
249
+ */
250
+ contentLanguage: string;
251
+
252
+ /**
253
+ * @generated from field: map<string, string> metadata = 7;
254
+ */
255
+ metadata: { [key: string]: string };
256
+
257
+ /**
258
+ * @generated from field: string if_match = 8;
259
+ */
260
+ ifMatch: string;
261
+
262
+ /**
263
+ * @generated from field: string if_none_match = 9;
264
+ */
265
+ ifNoneMatch: string;
266
+ };
267
+
268
+ /**
269
+ * Describes the message gestalt.provider.v1.WriteObjectOpen.
270
+ * Use `create(WriteObjectOpenSchema)` to create a new message.
271
+ */
272
+ export const WriteObjectOpenSchema: GenMessage<WriteObjectOpen> = /*@__PURE__*/
273
+ messageDesc(file_v1_s3, 7);
274
+
275
+ /**
276
+ * @generated from message gestalt.provider.v1.WriteObjectRequest
277
+ */
278
+ export type WriteObjectRequest = Message<"gestalt.provider.v1.WriteObjectRequest"> & {
279
+ /**
280
+ * @generated from oneof gestalt.provider.v1.WriteObjectRequest.msg
281
+ */
282
+ msg: {
283
+ /**
284
+ * @generated from field: gestalt.provider.v1.WriteObjectOpen open = 1;
285
+ */
286
+ value: WriteObjectOpen;
287
+ case: "open";
288
+ } | {
289
+ /**
290
+ * @generated from field: bytes data = 2;
291
+ */
292
+ value: Uint8Array;
293
+ case: "data";
294
+ } | { case: undefined; value?: undefined };
295
+ };
296
+
297
+ /**
298
+ * Describes the message gestalt.provider.v1.WriteObjectRequest.
299
+ * Use `create(WriteObjectRequestSchema)` to create a new message.
300
+ */
301
+ export const WriteObjectRequestSchema: GenMessage<WriteObjectRequest> = /*@__PURE__*/
302
+ messageDesc(file_v1_s3, 8);
303
+
304
+ /**
305
+ * @generated from message gestalt.provider.v1.WriteObjectResponse
306
+ */
307
+ export type WriteObjectResponse = Message<"gestalt.provider.v1.WriteObjectResponse"> & {
308
+ /**
309
+ * @generated from field: gestalt.provider.v1.S3ObjectMeta meta = 1;
310
+ */
311
+ meta?: S3ObjectMeta;
312
+ };
313
+
314
+ /**
315
+ * Describes the message gestalt.provider.v1.WriteObjectResponse.
316
+ * Use `create(WriteObjectResponseSchema)` to create a new message.
317
+ */
318
+ export const WriteObjectResponseSchema: GenMessage<WriteObjectResponse> = /*@__PURE__*/
319
+ messageDesc(file_v1_s3, 9);
320
+
321
+ /**
322
+ * @generated from message gestalt.provider.v1.DeleteObjectRequest
323
+ */
324
+ export type DeleteObjectRequest = Message<"gestalt.provider.v1.DeleteObjectRequest"> & {
325
+ /**
326
+ * @generated from field: gestalt.provider.v1.S3ObjectRef ref = 1;
327
+ */
328
+ ref?: S3ObjectRef;
329
+ };
330
+
331
+ /**
332
+ * Describes the message gestalt.provider.v1.DeleteObjectRequest.
333
+ * Use `create(DeleteObjectRequestSchema)` to create a new message.
334
+ */
335
+ export const DeleteObjectRequestSchema: GenMessage<DeleteObjectRequest> = /*@__PURE__*/
336
+ messageDesc(file_v1_s3, 10);
337
+
338
+ /**
339
+ * @generated from message gestalt.provider.v1.ListObjectsRequest
340
+ */
341
+ export type ListObjectsRequest = Message<"gestalt.provider.v1.ListObjectsRequest"> & {
342
+ /**
343
+ * @generated from field: string bucket = 1;
344
+ */
345
+ bucket: string;
346
+
347
+ /**
348
+ * @generated from field: string prefix = 2;
349
+ */
350
+ prefix: string;
351
+
352
+ /**
353
+ * @generated from field: string delimiter = 3;
354
+ */
355
+ delimiter: string;
356
+
357
+ /**
358
+ * @generated from field: string continuation_token = 4;
359
+ */
360
+ continuationToken: string;
361
+
362
+ /**
363
+ * @generated from field: string start_after = 5;
364
+ */
365
+ startAfter: string;
366
+
367
+ /**
368
+ * @generated from field: int32 max_keys = 6;
369
+ */
370
+ maxKeys: number;
371
+ };
372
+
373
+ /**
374
+ * Describes the message gestalt.provider.v1.ListObjectsRequest.
375
+ * Use `create(ListObjectsRequestSchema)` to create a new message.
376
+ */
377
+ export const ListObjectsRequestSchema: GenMessage<ListObjectsRequest> = /*@__PURE__*/
378
+ messageDesc(file_v1_s3, 11);
379
+
380
+ /**
381
+ * @generated from message gestalt.provider.v1.ListObjectsResponse
382
+ */
383
+ export type ListObjectsResponse = Message<"gestalt.provider.v1.ListObjectsResponse"> & {
384
+ /**
385
+ * @generated from field: repeated gestalt.provider.v1.S3ObjectMeta objects = 1;
386
+ */
387
+ objects: S3ObjectMeta[];
388
+
389
+ /**
390
+ * @generated from field: repeated string common_prefixes = 2;
391
+ */
392
+ commonPrefixes: string[];
393
+
394
+ /**
395
+ * @generated from field: string next_continuation_token = 3;
396
+ */
397
+ nextContinuationToken: string;
398
+
399
+ /**
400
+ * @generated from field: bool has_more = 4;
401
+ */
402
+ hasMore: boolean;
403
+ };
404
+
405
+ /**
406
+ * Describes the message gestalt.provider.v1.ListObjectsResponse.
407
+ * Use `create(ListObjectsResponseSchema)` to create a new message.
408
+ */
409
+ export const ListObjectsResponseSchema: GenMessage<ListObjectsResponse> = /*@__PURE__*/
410
+ messageDesc(file_v1_s3, 12);
411
+
412
+ /**
413
+ * @generated from message gestalt.provider.v1.CopyObjectRequest
414
+ */
415
+ export type CopyObjectRequest = Message<"gestalt.provider.v1.CopyObjectRequest"> & {
416
+ /**
417
+ * @generated from field: gestalt.provider.v1.S3ObjectRef source = 1;
418
+ */
419
+ source?: S3ObjectRef;
420
+
421
+ /**
422
+ * @generated from field: gestalt.provider.v1.S3ObjectRef destination = 2;
423
+ */
424
+ destination?: S3ObjectRef;
425
+
426
+ /**
427
+ * @generated from field: string if_match = 3;
428
+ */
429
+ ifMatch: string;
430
+
431
+ /**
432
+ * @generated from field: string if_none_match = 4;
433
+ */
434
+ ifNoneMatch: string;
435
+ };
436
+
437
+ /**
438
+ * Describes the message gestalt.provider.v1.CopyObjectRequest.
439
+ * Use `create(CopyObjectRequestSchema)` to create a new message.
440
+ */
441
+ export const CopyObjectRequestSchema: GenMessage<CopyObjectRequest> = /*@__PURE__*/
442
+ messageDesc(file_v1_s3, 13);
443
+
444
+ /**
445
+ * @generated from message gestalt.provider.v1.CopyObjectResponse
446
+ */
447
+ export type CopyObjectResponse = Message<"gestalt.provider.v1.CopyObjectResponse"> & {
448
+ /**
449
+ * @generated from field: gestalt.provider.v1.S3ObjectMeta meta = 1;
450
+ */
451
+ meta?: S3ObjectMeta;
452
+ };
453
+
454
+ /**
455
+ * Describes the message gestalt.provider.v1.CopyObjectResponse.
456
+ * Use `create(CopyObjectResponseSchema)` to create a new message.
457
+ */
458
+ export const CopyObjectResponseSchema: GenMessage<CopyObjectResponse> = /*@__PURE__*/
459
+ messageDesc(file_v1_s3, 14);
460
+
461
+ /**
462
+ * @generated from message gestalt.provider.v1.PresignObjectRequest
463
+ */
464
+ export type PresignObjectRequest = Message<"gestalt.provider.v1.PresignObjectRequest"> & {
465
+ /**
466
+ * @generated from field: gestalt.provider.v1.S3ObjectRef ref = 1;
467
+ */
468
+ ref?: S3ObjectRef;
469
+
470
+ /**
471
+ * @generated from field: gestalt.provider.v1.PresignMethod method = 2;
472
+ */
473
+ method: PresignMethod;
474
+
475
+ /**
476
+ * @generated from field: int64 expires_seconds = 3;
477
+ */
478
+ expiresSeconds: bigint;
479
+
480
+ /**
481
+ * @generated from field: string content_type = 4;
482
+ */
483
+ contentType: string;
484
+
485
+ /**
486
+ * @generated from field: string content_disposition = 5;
487
+ */
488
+ contentDisposition: string;
489
+
490
+ /**
491
+ * @generated from field: map<string, string> headers = 6;
492
+ */
493
+ headers: { [key: string]: string };
494
+ };
495
+
496
+ /**
497
+ * Describes the message gestalt.provider.v1.PresignObjectRequest.
498
+ * Use `create(PresignObjectRequestSchema)` to create a new message.
499
+ */
500
+ export const PresignObjectRequestSchema: GenMessage<PresignObjectRequest> = /*@__PURE__*/
501
+ messageDesc(file_v1_s3, 15);
502
+
503
+ /**
504
+ * @generated from message gestalt.provider.v1.PresignObjectResponse
505
+ */
506
+ export type PresignObjectResponse = Message<"gestalt.provider.v1.PresignObjectResponse"> & {
507
+ /**
508
+ * @generated from field: string url = 1;
509
+ */
510
+ url: string;
511
+
512
+ /**
513
+ * @generated from field: gestalt.provider.v1.PresignMethod method = 2;
514
+ */
515
+ method: PresignMethod;
516
+
517
+ /**
518
+ * @generated from field: google.protobuf.Timestamp expires_at = 3;
519
+ */
520
+ expiresAt?: Timestamp;
521
+
522
+ /**
523
+ * @generated from field: map<string, string> headers = 4;
524
+ */
525
+ headers: { [key: string]: string };
526
+ };
527
+
528
+ /**
529
+ * Describes the message gestalt.provider.v1.PresignObjectResponse.
530
+ * Use `create(PresignObjectResponseSchema)` to create a new message.
531
+ */
532
+ export const PresignObjectResponseSchema: GenMessage<PresignObjectResponse> = /*@__PURE__*/
533
+ messageDesc(file_v1_s3, 16);
534
+
535
+ /**
536
+ * @generated from enum gestalt.provider.v1.PresignMethod
537
+ */
538
+ export enum PresignMethod {
539
+ /**
540
+ * @generated from enum value: PRESIGN_METHOD_UNSPECIFIED = 0;
541
+ */
542
+ UNSPECIFIED = 0,
543
+
544
+ /**
545
+ * @generated from enum value: PRESIGN_METHOD_GET = 1;
546
+ */
547
+ GET = 1,
548
+
549
+ /**
550
+ * @generated from enum value: PRESIGN_METHOD_PUT = 2;
551
+ */
552
+ PUT = 2,
553
+
554
+ /**
555
+ * @generated from enum value: PRESIGN_METHOD_DELETE = 3;
556
+ */
557
+ DELETE = 3,
558
+
559
+ /**
560
+ * @generated from enum value: PRESIGN_METHOD_HEAD = 4;
561
+ */
562
+ HEAD = 4,
563
+ }
564
+
565
+ /**
566
+ * Describes the enum gestalt.provider.v1.PresignMethod.
567
+ */
568
+ export const PresignMethodSchema: GenEnum<PresignMethod> = /*@__PURE__*/
569
+ enumDesc(file_v1_s3, 0);
570
+
571
+ /**
572
+ * @generated from service gestalt.provider.v1.S3
573
+ */
574
+ export const S3: GenService<{
575
+ /**
576
+ * @generated from rpc gestalt.provider.v1.S3.HeadObject
577
+ */
578
+ headObject: {
579
+ methodKind: "unary";
580
+ input: typeof HeadObjectRequestSchema;
581
+ output: typeof HeadObjectResponseSchema;
582
+ },
583
+ /**
584
+ * The first response frame carries object metadata. All subsequent frames
585
+ * carry byte chunks. Zero-byte objects therefore emit exactly one frame.
586
+ *
587
+ * @generated from rpc gestalt.provider.v1.S3.ReadObject
588
+ */
589
+ readObject: {
590
+ methodKind: "server_streaming";
591
+ input: typeof ReadObjectRequestSchema;
592
+ output: typeof ReadObjectChunkSchema;
593
+ },
594
+ /**
595
+ * The first request frame must carry WriteObjectOpen metadata. All
596
+ * subsequent frames carry raw bytes. The response is emitted only after the
597
+ * object has been durably committed by the provider.
598
+ *
599
+ * @generated from rpc gestalt.provider.v1.S3.WriteObject
600
+ */
601
+ writeObject: {
602
+ methodKind: "client_streaming";
603
+ input: typeof WriteObjectRequestSchema;
604
+ output: typeof WriteObjectResponseSchema;
605
+ },
606
+ /**
607
+ * @generated from rpc gestalt.provider.v1.S3.DeleteObject
608
+ */
609
+ deleteObject: {
610
+ methodKind: "unary";
611
+ input: typeof DeleteObjectRequestSchema;
612
+ output: typeof EmptySchema;
613
+ },
614
+ /**
615
+ * @generated from rpc gestalt.provider.v1.S3.ListObjects
616
+ */
617
+ listObjects: {
618
+ methodKind: "unary";
619
+ input: typeof ListObjectsRequestSchema;
620
+ output: typeof ListObjectsResponseSchema;
621
+ },
622
+ /**
623
+ * @generated from rpc gestalt.provider.v1.S3.CopyObject
624
+ */
625
+ copyObject: {
626
+ methodKind: "unary";
627
+ input: typeof CopyObjectRequestSchema;
628
+ output: typeof CopyObjectResponseSchema;
629
+ },
630
+ /**
631
+ * @generated from rpc gestalt.provider.v1.S3.PresignObject
632
+ */
633
+ presignObject: {
634
+ methodKind: "unary";
635
+ input: typeof PresignObjectRequestSchema;
636
+ output: typeof PresignObjectResponseSchema;
637
+ },
638
+ }> = /*@__PURE__*/
639
+ serviceDesc(file_v1_s3, 0);
640
+
@@ -0,0 +1,63 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
2
+ // @generated from file v1/secrets.proto (package gestalt.provider.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file v1/secrets.proto.
11
+ */
12
+ export const file_v1_secrets: GenFile = /*@__PURE__*/
13
+ fileDesc("ChB2MS9zZWNyZXRzLnByb3RvEhNnZXN0YWx0LnByb3ZpZGVyLnYxIiAKEEdldFNlY3JldFJlcXVlc3QSDAoEbmFtZRgBIAEoCSIiChFHZXRTZWNyZXRSZXNwb25zZRINCgV2YWx1ZRgBIAEoCTJtCg9TZWNyZXRzUHJvdmlkZXISWgoJR2V0U2VjcmV0EiUuZ2VzdGFsdC5wcm92aWRlci52MS5HZXRTZWNyZXRSZXF1ZXN0GiYuZ2VzdGFsdC5wcm92aWRlci52MS5HZXRTZWNyZXRSZXNwb25zZUI7WjlnaXRodWIuY29tL3ZhbG9uLXRlY2hub2xvZ2llcy9nZXN0YWx0L3Nkay9nby9nZW4vdjE7cHJvdG9iBnByb3RvMw");
14
+
15
+ /**
16
+ * @generated from message gestalt.provider.v1.GetSecretRequest
17
+ */
18
+ export type GetSecretRequest = Message<"gestalt.provider.v1.GetSecretRequest"> & {
19
+ /**
20
+ * @generated from field: string name = 1;
21
+ */
22
+ name: string;
23
+ };
24
+
25
+ /**
26
+ * Describes the message gestalt.provider.v1.GetSecretRequest.
27
+ * Use `create(GetSecretRequestSchema)` to create a new message.
28
+ */
29
+ export const GetSecretRequestSchema: GenMessage<GetSecretRequest> = /*@__PURE__*/
30
+ messageDesc(file_v1_secrets, 0);
31
+
32
+ /**
33
+ * @generated from message gestalt.provider.v1.GetSecretResponse
34
+ */
35
+ export type GetSecretResponse = Message<"gestalt.provider.v1.GetSecretResponse"> & {
36
+ /**
37
+ * @generated from field: string value = 1;
38
+ */
39
+ value: string;
40
+ };
41
+
42
+ /**
43
+ * Describes the message gestalt.provider.v1.GetSecretResponse.
44
+ * Use `create(GetSecretResponseSchema)` to create a new message.
45
+ */
46
+ export const GetSecretResponseSchema: GenMessage<GetSecretResponse> = /*@__PURE__*/
47
+ messageDesc(file_v1_secrets, 1);
48
+
49
+ /**
50
+ * @generated from service gestalt.provider.v1.SecretsProvider
51
+ */
52
+ export const SecretsProvider: GenService<{
53
+ /**
54
+ * @generated from rpc gestalt.provider.v1.SecretsProvider.GetSecret
55
+ */
56
+ getSecret: {
57
+ methodKind: "unary";
58
+ input: typeof GetSecretRequestSchema;
59
+ output: typeof GetSecretResponseSchema;
60
+ },
61
+ }> = /*@__PURE__*/
62
+ serviceDesc(file_v1_secrets, 0);
63
+