@sixb/server 0.1.7 → 0.1.9

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 (79) hide show
  1. package/dist/auth/access-token-boundary.d.ts +3 -0
  2. package/dist/auth/access-token-boundary.d.ts.map +1 -1
  3. package/dist/auth/public-routes.d.ts.map +1 -1
  4. package/dist/auth/shared-access.d.ts +66 -0
  5. package/dist/auth/shared-access.d.ts.map +1 -0
  6. package/dist/index.d.ts +1 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +1454 -658
  9. package/dist/index.js.map +25 -20
  10. package/dist/openapi/security.d.ts +15 -1
  11. package/dist/openapi/security.d.ts.map +1 -1
  12. package/dist/openapi/tags.d.ts +6 -2
  13. package/dist/openapi/tags.d.ts.map +1 -1
  14. package/dist/registerRoutes.d.ts +2 -0
  15. package/dist/registerRoutes.d.ts.map +1 -1
  16. package/dist/routes/actions.d.ts.map +1 -1
  17. package/dist/routes/agents.d.ts +5 -5
  18. package/dist/routes/auth.d.ts +9 -9
  19. package/dist/routes/connector-connection-runs.d.ts +8 -8
  20. package/dist/routes/connector-connections.d.ts +4 -4
  21. package/dist/routes/datasets.d.ts +5 -3
  22. package/dist/routes/datasets.d.ts.map +1 -1
  23. package/dist/routes/files.d.ts.map +1 -1
  24. package/dist/routes/logs.d.ts +3 -3
  25. package/dist/routes/pipelines.d.ts +4 -0
  26. package/dist/routes/pipelines.d.ts.map +1 -1
  27. package/dist/routes/share-grants.d.ts +264 -0
  28. package/dist/routes/share-grants.d.ts.map +1 -0
  29. package/dist/routes/shared-access.d.ts +155 -0
  30. package/dist/routes/shared-access.d.ts.map +1 -0
  31. package/dist/routes/syncs.d.ts +2 -0
  32. package/dist/routes/syncs.d.ts.map +1 -1
  33. package/dist/routes/workflows.d.ts +7 -7
  34. package/dist/routes/ws/agents.d.ts.map +1 -1
  35. package/dist/routes/ws/logs.d.ts +10 -10
  36. package/dist/schemas/agents.d.ts +22 -30
  37. package/dist/schemas/agents.d.ts.map +1 -1
  38. package/dist/schemas/ai-accounting.d.ts +332 -24
  39. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  40. package/dist/schemas/auth.d.ts +40 -40
  41. package/dist/schemas/common.d.ts +6 -0
  42. package/dist/schemas/common.d.ts.map +1 -1
  43. package/dist/schemas/datasets.d.ts +28 -22
  44. package/dist/schemas/datasets.d.ts.map +1 -1
  45. package/dist/schemas/logs.d.ts +24 -24
  46. package/dist/schemas/pipelines.d.ts +36 -0
  47. package/dist/schemas/pipelines.d.ts.map +1 -1
  48. package/dist/schemas/share-grants.d.ts +518 -0
  49. package/dist/schemas/share-grants.d.ts.map +1 -0
  50. package/dist/schemas/shared-access.d.ts +42 -0
  51. package/dist/schemas/shared-access.d.ts.map +1 -0
  52. package/dist/schemas/syncs.d.ts +7 -0
  53. package/dist/schemas/syncs.d.ts.map +1 -1
  54. package/dist/schemas/workflows.d.ts +20 -20
  55. package/dist/server.d.ts +5 -0
  56. package/dist/server.d.ts.map +1 -1
  57. package/package.json +7 -7
  58. package/src/auth/access-token-boundary.ts +17 -2
  59. package/src/auth/public-routes.ts +5 -0
  60. package/src/auth/shared-access.ts +376 -0
  61. package/src/index.ts +1 -0
  62. package/src/openapi/security.ts +20 -1
  63. package/src/openapi/tags.ts +4 -0
  64. package/src/registerRoutes.ts +6 -0
  65. package/src/routes/actions.ts +5 -10
  66. package/src/routes/agent-api-gateway.ts +1 -1
  67. package/src/routes/agents.ts +1 -1
  68. package/src/routes/files.ts +2 -6
  69. package/src/routes/share-grants.ts +238 -0
  70. package/src/routes/shared-access.ts +165 -0
  71. package/src/routes/ws/agents.ts +5 -3
  72. package/src/routes/ws/events.ts +1 -1
  73. package/src/schemas/agents.ts +1 -4
  74. package/src/schemas/ai-accounting.ts +3 -0
  75. package/src/schemas/common.ts +2 -0
  76. package/src/schemas/datasets.ts +2 -1
  77. package/src/schemas/share-grants.ts +109 -0
  78. package/src/schemas/shared-access.ts +31 -0
  79. package/src/server.ts +91 -1
@@ -0,0 +1,518 @@
1
+ import { z } from "zod";
2
+ export declare const ShareGrantTargetSchema: z.ZodObject<{
3
+ objectTypeId: z.ZodEffects<z.ZodString, string, string>;
4
+ primaryId: z.ZodEffects<z.ZodString, string, string>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ objectTypeId: string;
7
+ primaryId: string;
8
+ }, {
9
+ objectTypeId: string;
10
+ primaryId: string;
11
+ }>;
12
+ export declare const SharedAccessGrantSchema: z.ZodObject<{
13
+ id: z.ZodEffects<z.ZodString, string, string>;
14
+ definitionId: z.ZodEffects<z.ZodString, string, string>;
15
+ target: z.ZodObject<{
16
+ objectTypeId: z.ZodEffects<z.ZodString, string, string>;
17
+ primaryId: z.ZodEffects<z.ZodString, string, string>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ objectTypeId: string;
20
+ primaryId: string;
21
+ }, {
22
+ objectTypeId: string;
23
+ primaryId: string;
24
+ }>;
25
+ issuedBy: z.ZodObject<{
26
+ type: z.ZodEnum<["user", "serviceAccount"]>;
27
+ id: z.ZodEffects<z.ZodString, string, string>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ id: string;
30
+ type: "user" | "serviceAccount";
31
+ }, {
32
+ id: string;
33
+ type: "user" | "serviceAccount";
34
+ }>;
35
+ destinationPath: z.ZodString;
36
+ createdAt: z.ZodString;
37
+ expiresAt: z.ZodString;
38
+ revokedAt: z.ZodOptional<z.ZodString>;
39
+ revokedBy: z.ZodOptional<z.ZodObject<{
40
+ type: z.ZodEnum<["user", "serviceAccount", "system"]>;
41
+ id: z.ZodEffects<z.ZodString, string, string>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ id: string;
44
+ type: "user" | "serviceAccount" | "system";
45
+ }, {
46
+ id: string;
47
+ type: "user" | "serviceAccount" | "system";
48
+ }>>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ id: string;
51
+ expiresAt: string;
52
+ createdAt: string;
53
+ target: {
54
+ objectTypeId: string;
55
+ primaryId: string;
56
+ };
57
+ definitionId: string;
58
+ issuedBy: {
59
+ id: string;
60
+ type: "user" | "serviceAccount";
61
+ };
62
+ destinationPath: string;
63
+ revokedAt?: string | undefined;
64
+ revokedBy?: {
65
+ id: string;
66
+ type: "user" | "serviceAccount" | "system";
67
+ } | undefined;
68
+ }, {
69
+ id: string;
70
+ expiresAt: string;
71
+ createdAt: string;
72
+ target: {
73
+ objectTypeId: string;
74
+ primaryId: string;
75
+ };
76
+ definitionId: string;
77
+ issuedBy: {
78
+ id: string;
79
+ type: "user" | "serviceAccount";
80
+ };
81
+ destinationPath: string;
82
+ revokedAt?: string | undefined;
83
+ revokedBy?: {
84
+ id: string;
85
+ type: "user" | "serviceAccount" | "system";
86
+ } | undefined;
87
+ }>;
88
+ export declare const IssueSharedAccessGrantBodySchema: z.ZodObject<{
89
+ definitionId: z.ZodEffects<z.ZodString, string, string>;
90
+ target: z.ZodObject<{
91
+ objectTypeId: z.ZodEffects<z.ZodString, string, string>;
92
+ primaryId: z.ZodEffects<z.ZodString, string, string>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ objectTypeId: string;
95
+ primaryId: string;
96
+ }, {
97
+ objectTypeId: string;
98
+ primaryId: string;
99
+ }>;
100
+ destinationPath: z.ZodString;
101
+ expiresAt: z.ZodString;
102
+ }, "strip", z.ZodTypeAny, {
103
+ expiresAt: string;
104
+ target: {
105
+ objectTypeId: string;
106
+ primaryId: string;
107
+ };
108
+ definitionId: string;
109
+ destinationPath: string;
110
+ }, {
111
+ expiresAt: string;
112
+ target: {
113
+ objectTypeId: string;
114
+ primaryId: string;
115
+ };
116
+ definitionId: string;
117
+ destinationPath: string;
118
+ }>;
119
+ export declare const IssueSharedAccessGrantResponseSchema: z.ZodObject<{
120
+ grant: z.ZodObject<{
121
+ id: z.ZodEffects<z.ZodString, string, string>;
122
+ definitionId: z.ZodEffects<z.ZodString, string, string>;
123
+ target: z.ZodObject<{
124
+ objectTypeId: z.ZodEffects<z.ZodString, string, string>;
125
+ primaryId: z.ZodEffects<z.ZodString, string, string>;
126
+ }, "strip", z.ZodTypeAny, {
127
+ objectTypeId: string;
128
+ primaryId: string;
129
+ }, {
130
+ objectTypeId: string;
131
+ primaryId: string;
132
+ }>;
133
+ issuedBy: z.ZodObject<{
134
+ type: z.ZodEnum<["user", "serviceAccount"]>;
135
+ id: z.ZodEffects<z.ZodString, string, string>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ id: string;
138
+ type: "user" | "serviceAccount";
139
+ }, {
140
+ id: string;
141
+ type: "user" | "serviceAccount";
142
+ }>;
143
+ destinationPath: z.ZodString;
144
+ createdAt: z.ZodString;
145
+ expiresAt: z.ZodString;
146
+ revokedAt: z.ZodOptional<z.ZodString>;
147
+ revokedBy: z.ZodOptional<z.ZodObject<{
148
+ type: z.ZodEnum<["user", "serviceAccount", "system"]>;
149
+ id: z.ZodEffects<z.ZodString, string, string>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ id: string;
152
+ type: "user" | "serviceAccount" | "system";
153
+ }, {
154
+ id: string;
155
+ type: "user" | "serviceAccount" | "system";
156
+ }>>;
157
+ }, "strip", z.ZodTypeAny, {
158
+ id: string;
159
+ expiresAt: string;
160
+ createdAt: string;
161
+ target: {
162
+ objectTypeId: string;
163
+ primaryId: string;
164
+ };
165
+ definitionId: string;
166
+ issuedBy: {
167
+ id: string;
168
+ type: "user" | "serviceAccount";
169
+ };
170
+ destinationPath: string;
171
+ revokedAt?: string | undefined;
172
+ revokedBy?: {
173
+ id: string;
174
+ type: "user" | "serviceAccount" | "system";
175
+ } | undefined;
176
+ }, {
177
+ id: string;
178
+ expiresAt: string;
179
+ createdAt: string;
180
+ target: {
181
+ objectTypeId: string;
182
+ primaryId: string;
183
+ };
184
+ definitionId: string;
185
+ issuedBy: {
186
+ id: string;
187
+ type: "user" | "serviceAccount";
188
+ };
189
+ destinationPath: string;
190
+ revokedAt?: string | undefined;
191
+ revokedBy?: {
192
+ id: string;
193
+ type: "user" | "serviceAccount" | "system";
194
+ } | undefined;
195
+ }>;
196
+ /** Same-origin URL. The bearer secret exists only in its fragment. */
197
+ url: z.ZodString;
198
+ }, "strip", z.ZodTypeAny, {
199
+ url: string;
200
+ grant: {
201
+ id: string;
202
+ expiresAt: string;
203
+ createdAt: string;
204
+ target: {
205
+ objectTypeId: string;
206
+ primaryId: string;
207
+ };
208
+ definitionId: string;
209
+ issuedBy: {
210
+ id: string;
211
+ type: "user" | "serviceAccount";
212
+ };
213
+ destinationPath: string;
214
+ revokedAt?: string | undefined;
215
+ revokedBy?: {
216
+ id: string;
217
+ type: "user" | "serviceAccount" | "system";
218
+ } | undefined;
219
+ };
220
+ }, {
221
+ url: string;
222
+ grant: {
223
+ id: string;
224
+ expiresAt: string;
225
+ createdAt: string;
226
+ target: {
227
+ objectTypeId: string;
228
+ primaryId: string;
229
+ };
230
+ definitionId: string;
231
+ issuedBy: {
232
+ id: string;
233
+ type: "user" | "serviceAccount";
234
+ };
235
+ destinationPath: string;
236
+ revokedAt?: string | undefined;
237
+ revokedBy?: {
238
+ id: string;
239
+ type: "user" | "serviceAccount" | "system";
240
+ } | undefined;
241
+ };
242
+ }>;
243
+ export declare const ListSharedAccessGrantsQuerySchema: z.ZodObject<{
244
+ definitionId: z.ZodEffects<z.ZodString, string, string>;
245
+ primaryId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
246
+ includeRevoked: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
247
+ includeExpired: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
248
+ limit: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, unknown>>;
249
+ offset: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, unknown>>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ definitionId: string;
252
+ primaryId?: string | undefined;
253
+ limit?: number | undefined;
254
+ offset?: number | undefined;
255
+ includeRevoked?: boolean | undefined;
256
+ includeExpired?: boolean | undefined;
257
+ }, {
258
+ definitionId: string;
259
+ primaryId?: string | undefined;
260
+ limit?: unknown;
261
+ offset?: unknown;
262
+ includeRevoked?: unknown;
263
+ includeExpired?: unknown;
264
+ }>;
265
+ export declare const ListSharedAccessGrantsResponseSchema: z.ZodObject<{
266
+ grants: z.ZodArray<z.ZodObject<{
267
+ id: z.ZodEffects<z.ZodString, string, string>;
268
+ definitionId: z.ZodEffects<z.ZodString, string, string>;
269
+ target: z.ZodObject<{
270
+ objectTypeId: z.ZodEffects<z.ZodString, string, string>;
271
+ primaryId: z.ZodEffects<z.ZodString, string, string>;
272
+ }, "strip", z.ZodTypeAny, {
273
+ objectTypeId: string;
274
+ primaryId: string;
275
+ }, {
276
+ objectTypeId: string;
277
+ primaryId: string;
278
+ }>;
279
+ issuedBy: z.ZodObject<{
280
+ type: z.ZodEnum<["user", "serviceAccount"]>;
281
+ id: z.ZodEffects<z.ZodString, string, string>;
282
+ }, "strip", z.ZodTypeAny, {
283
+ id: string;
284
+ type: "user" | "serviceAccount";
285
+ }, {
286
+ id: string;
287
+ type: "user" | "serviceAccount";
288
+ }>;
289
+ destinationPath: z.ZodString;
290
+ createdAt: z.ZodString;
291
+ expiresAt: z.ZodString;
292
+ revokedAt: z.ZodOptional<z.ZodString>;
293
+ revokedBy: z.ZodOptional<z.ZodObject<{
294
+ type: z.ZodEnum<["user", "serviceAccount", "system"]>;
295
+ id: z.ZodEffects<z.ZodString, string, string>;
296
+ }, "strip", z.ZodTypeAny, {
297
+ id: string;
298
+ type: "user" | "serviceAccount" | "system";
299
+ }, {
300
+ id: string;
301
+ type: "user" | "serviceAccount" | "system";
302
+ }>>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ id: string;
305
+ expiresAt: string;
306
+ createdAt: string;
307
+ target: {
308
+ objectTypeId: string;
309
+ primaryId: string;
310
+ };
311
+ definitionId: string;
312
+ issuedBy: {
313
+ id: string;
314
+ type: "user" | "serviceAccount";
315
+ };
316
+ destinationPath: string;
317
+ revokedAt?: string | undefined;
318
+ revokedBy?: {
319
+ id: string;
320
+ type: "user" | "serviceAccount" | "system";
321
+ } | undefined;
322
+ }, {
323
+ id: string;
324
+ expiresAt: string;
325
+ createdAt: string;
326
+ target: {
327
+ objectTypeId: string;
328
+ primaryId: string;
329
+ };
330
+ definitionId: string;
331
+ issuedBy: {
332
+ id: string;
333
+ type: "user" | "serviceAccount";
334
+ };
335
+ destinationPath: string;
336
+ revokedAt?: string | undefined;
337
+ revokedBy?: {
338
+ id: string;
339
+ type: "user" | "serviceAccount" | "system";
340
+ } | undefined;
341
+ }>, "many">;
342
+ hasMore: z.ZodBoolean;
343
+ total: z.ZodNumber;
344
+ }, "strip", z.ZodTypeAny, {
345
+ hasMore: boolean;
346
+ total: number;
347
+ grants: {
348
+ id: string;
349
+ expiresAt: string;
350
+ createdAt: string;
351
+ target: {
352
+ objectTypeId: string;
353
+ primaryId: string;
354
+ };
355
+ definitionId: string;
356
+ issuedBy: {
357
+ id: string;
358
+ type: "user" | "serviceAccount";
359
+ };
360
+ destinationPath: string;
361
+ revokedAt?: string | undefined;
362
+ revokedBy?: {
363
+ id: string;
364
+ type: "user" | "serviceAccount" | "system";
365
+ } | undefined;
366
+ }[];
367
+ }, {
368
+ hasMore: boolean;
369
+ total: number;
370
+ grants: {
371
+ id: string;
372
+ expiresAt: string;
373
+ createdAt: string;
374
+ target: {
375
+ objectTypeId: string;
376
+ primaryId: string;
377
+ };
378
+ definitionId: string;
379
+ issuedBy: {
380
+ id: string;
381
+ type: "user" | "serviceAccount";
382
+ };
383
+ destinationPath: string;
384
+ revokedAt?: string | undefined;
385
+ revokedBy?: {
386
+ id: string;
387
+ type: "user" | "serviceAccount" | "system";
388
+ } | undefined;
389
+ }[];
390
+ }>;
391
+ export declare const SharedAccessGrantIdParamsSchema: z.ZodObject<{
392
+ grantId: z.ZodEffects<z.ZodString, string, string>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ grantId: string;
395
+ }, {
396
+ grantId: string;
397
+ }>;
398
+ export declare const RevokeSharedAccessGrantResponseSchema: z.ZodObject<{
399
+ grant: z.ZodObject<{
400
+ id: z.ZodEffects<z.ZodString, string, string>;
401
+ definitionId: z.ZodEffects<z.ZodString, string, string>;
402
+ target: z.ZodObject<{
403
+ objectTypeId: z.ZodEffects<z.ZodString, string, string>;
404
+ primaryId: z.ZodEffects<z.ZodString, string, string>;
405
+ }, "strip", z.ZodTypeAny, {
406
+ objectTypeId: string;
407
+ primaryId: string;
408
+ }, {
409
+ objectTypeId: string;
410
+ primaryId: string;
411
+ }>;
412
+ issuedBy: z.ZodObject<{
413
+ type: z.ZodEnum<["user", "serviceAccount"]>;
414
+ id: z.ZodEffects<z.ZodString, string, string>;
415
+ }, "strip", z.ZodTypeAny, {
416
+ id: string;
417
+ type: "user" | "serviceAccount";
418
+ }, {
419
+ id: string;
420
+ type: "user" | "serviceAccount";
421
+ }>;
422
+ destinationPath: z.ZodString;
423
+ createdAt: z.ZodString;
424
+ expiresAt: z.ZodString;
425
+ revokedAt: z.ZodOptional<z.ZodString>;
426
+ revokedBy: z.ZodOptional<z.ZodObject<{
427
+ type: z.ZodEnum<["user", "serviceAccount", "system"]>;
428
+ id: z.ZodEffects<z.ZodString, string, string>;
429
+ }, "strip", z.ZodTypeAny, {
430
+ id: string;
431
+ type: "user" | "serviceAccount" | "system";
432
+ }, {
433
+ id: string;
434
+ type: "user" | "serviceAccount" | "system";
435
+ }>>;
436
+ }, "strip", z.ZodTypeAny, {
437
+ id: string;
438
+ expiresAt: string;
439
+ createdAt: string;
440
+ target: {
441
+ objectTypeId: string;
442
+ primaryId: string;
443
+ };
444
+ definitionId: string;
445
+ issuedBy: {
446
+ id: string;
447
+ type: "user" | "serviceAccount";
448
+ };
449
+ destinationPath: string;
450
+ revokedAt?: string | undefined;
451
+ revokedBy?: {
452
+ id: string;
453
+ type: "user" | "serviceAccount" | "system";
454
+ } | undefined;
455
+ }, {
456
+ id: string;
457
+ expiresAt: string;
458
+ createdAt: string;
459
+ target: {
460
+ objectTypeId: string;
461
+ primaryId: string;
462
+ };
463
+ definitionId: string;
464
+ issuedBy: {
465
+ id: string;
466
+ type: "user" | "serviceAccount";
467
+ };
468
+ destinationPath: string;
469
+ revokedAt?: string | undefined;
470
+ revokedBy?: {
471
+ id: string;
472
+ type: "user" | "serviceAccount" | "system";
473
+ } | undefined;
474
+ }>;
475
+ }, "strip", z.ZodTypeAny, {
476
+ grant: {
477
+ id: string;
478
+ expiresAt: string;
479
+ createdAt: string;
480
+ target: {
481
+ objectTypeId: string;
482
+ primaryId: string;
483
+ };
484
+ definitionId: string;
485
+ issuedBy: {
486
+ id: string;
487
+ type: "user" | "serviceAccount";
488
+ };
489
+ destinationPath: string;
490
+ revokedAt?: string | undefined;
491
+ revokedBy?: {
492
+ id: string;
493
+ type: "user" | "serviceAccount" | "system";
494
+ } | undefined;
495
+ };
496
+ }, {
497
+ grant: {
498
+ id: string;
499
+ expiresAt: string;
500
+ createdAt: string;
501
+ target: {
502
+ objectTypeId: string;
503
+ primaryId: string;
504
+ };
505
+ definitionId: string;
506
+ issuedBy: {
507
+ id: string;
508
+ type: "user" | "serviceAccount";
509
+ };
510
+ destinationPath: string;
511
+ revokedAt?: string | undefined;
512
+ revokedBy?: {
513
+ id: string;
514
+ type: "user" | "serviceAccount" | "system";
515
+ } | undefined;
516
+ };
517
+ }>;
518
+ //# sourceMappingURL=share-grants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"share-grants.d.ts","sourceRoot":"","sources":["../../src/schemas/share-grants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8BvB,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAA;AAmBF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUlC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK3C,CAAA;AAEF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAE/C,sEAAsE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEtE,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;EAa5C,CAAA;AAEF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI/C,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;EAE1C,CAAA;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEhD,CAAA"}
@@ -0,0 +1,42 @@
1
+ import { z } from "zod";
2
+ export declare const SharedAccessGrantParamsSchema: z.ZodObject<{
3
+ grantId: z.ZodEffects<z.ZodString, string, string>;
4
+ }, "strip", z.ZodTypeAny, {
5
+ grantId: string;
6
+ }, {
7
+ grantId: string;
8
+ }>;
9
+ export declare const ExchangeSharedAccessBodySchema: z.ZodObject<{
10
+ secret: z.ZodString;
11
+ }, "strip", z.ZodTypeAny, {
12
+ secret: string;
13
+ }, {
14
+ secret: string;
15
+ }>;
16
+ export declare const SharedAccessSessionResponseSchema: z.ZodObject<{
17
+ grantId: z.ZodEffects<z.ZodString, string, string>;
18
+ destinationPath: z.ZodString;
19
+ expiresAt: z.ZodString;
20
+ absoluteExpiresAt: z.ZodString;
21
+ csrfToken: z.ZodString;
22
+ }, "strip", z.ZodTypeAny, {
23
+ grantId: string;
24
+ csrfToken: string;
25
+ expiresAt: string;
26
+ destinationPath: string;
27
+ absoluteExpiresAt: string;
28
+ }, {
29
+ grantId: string;
30
+ csrfToken: string;
31
+ expiresAt: string;
32
+ destinationPath: string;
33
+ absoluteExpiresAt: string;
34
+ }>;
35
+ export declare const SharedAccessSignOutResponseSchema: z.ZodObject<{
36
+ signedOut: z.ZodLiteral<true>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ signedOut: true;
39
+ }, {
40
+ signedOut: true;
41
+ }>;
42
+ //# sourceMappingURL=shared-access.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared-access.d.ts","sourceRoot":"","sources":["../../src/schemas/shared-access.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAYvB,eAAO,MAAM,6BAA6B;;;;;;EAExC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;EAEzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;EAM5C,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;;EAE5C,CAAA"}
@@ -126,6 +126,7 @@ export declare const SyncSchema: z.ZodObject<{
126
126
  id: z.ZodString;
127
127
  description: z.ZodOptional<z.ZodString>;
128
128
  primaryKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
129
+ sequenceBy: z.ZodOptional<z.ZodString>;
129
130
  partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
130
131
  schema: z.ZodObject<{
131
132
  columns: z.ZodArray<z.ZodObject<{
@@ -165,6 +166,7 @@ export declare const SyncSchema: z.ZodObject<{
165
166
  };
166
167
  description?: string | undefined;
167
168
  primaryKey?: string | string[] | undefined;
169
+ sequenceBy?: string | undefined;
168
170
  partitionBy?: string[] | undefined;
169
171
  }, {
170
172
  id: string;
@@ -177,6 +179,7 @@ export declare const SyncSchema: z.ZodObject<{
177
179
  };
178
180
  description?: string | undefined;
179
181
  primaryKey?: string | string[] | undefined;
182
+ sequenceBy?: string | undefined;
180
183
  partitionBy?: string[] | undefined;
181
184
  }>;
182
185
  }, "strip", z.ZodTypeAny, {
@@ -192,6 +195,7 @@ export declare const SyncSchema: z.ZodObject<{
192
195
  };
193
196
  description?: string | undefined;
194
197
  primaryKey?: string | string[] | undefined;
198
+ sequenceBy?: string | undefined;
195
199
  partitionBy?: string[] | undefined;
196
200
  };
197
201
  }, {
@@ -207,6 +211,7 @@ export declare const SyncSchema: z.ZodObject<{
207
211
  };
208
212
  description?: string | undefined;
209
213
  primaryKey?: string | string[] | undefined;
214
+ sequenceBy?: string | undefined;
210
215
  partitionBy?: string[] | undefined;
211
216
  };
212
217
  }>;
@@ -297,6 +302,7 @@ export declare const SyncSchema: z.ZodObject<{
297
302
  };
298
303
  description?: string | undefined;
299
304
  primaryKey?: string | string[] | undefined;
305
+ sequenceBy?: string | undefined;
300
306
  partitionBy?: string[] | undefined;
301
307
  };
302
308
  };
@@ -343,6 +349,7 @@ export declare const SyncSchema: z.ZodObject<{
343
349
  };
344
350
  description?: string | undefined;
345
351
  primaryKey?: string | string[] | undefined;
352
+ sequenceBy?: string | undefined;
346
353
  partitionBy?: string[] | undefined;
347
354
  };
348
355
  };
@@ -1 +1 @@
1
- {"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/schemas/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAA;AAEF,eAAO,MAAM,mBAAmB,sEAAoE,CAAA;AAGpG,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAA;AAOF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBxB,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAarB,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIpC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;EAKvC,CAAA"}
1
+ {"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/schemas/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAA;AAEF,eAAO,MAAM,mBAAmB,sEAAoE,CAAA;AAGpG,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAA;AAOF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBxB,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAarB,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIpC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;EAKvC,CAAA"}