@tearleads/client-sdk 0.1.43 → 0.1.45

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 (189) hide show
  1. package/client/containerDocumentDiscovery.js +71 -29
  2. package/client/containerDocumentDiscovery.js.map +1 -1
  3. package/client/deviceFirst.js +4 -5
  4. package/client/deviceFirst.js.map +1 -1
  5. package/data/persistence/container-contents/containerContentsPersistence.js +2 -3
  6. package/data/persistence/container-contents/containerContentsPersistence.js.map +1 -1
  7. package/data/persistence/container-contents/containerCreateIntentSettlement.js +16 -16
  8. package/data/persistence/container-contents/containerCreateIntentSettlement.js.map +1 -1
  9. package/data/persistence/container-contents/containerDeletionPersistence.js +5 -11
  10. package/data/persistence/container-contents/containerDeletionPersistence.js.map +1 -1
  11. package/data/persistence/container-contents/containerDocumentReassignment.js +13 -13
  12. package/data/persistence/container-contents/containerDocumentReassignment.js.map +1 -1
  13. package/data/persistence/container-contents/containerHydrationPersistence.js +7 -4
  14. package/data/persistence/container-contents/containerHydrationPersistence.js.map +1 -1
  15. package/data/persistence/container-contents/containerIntentPersistence.js +43 -42
  16. package/data/persistence/container-contents/containerIntentPersistence.js.map +1 -1
  17. package/data/persistence/container-contents/containerMetadataMutationPersistence.js +15 -20
  18. package/data/persistence/container-contents/containerMetadataMutationPersistence.js.map +1 -1
  19. package/data/persistence/container-contents/containerMoveAbandonPersistence.js +1 -6
  20. package/data/persistence/container-contents/containerMoveAbandonPersistence.js.map +1 -1
  21. package/data/persistence/container-contents/containerMoveIntentRows.js +9 -8
  22. package/data/persistence/container-contents/containerMoveIntentRows.js.map +1 -1
  23. package/data/persistence/container-contents/containerReconcilePersistence.js +4 -8
  24. package/data/persistence/container-contents/containerReconcilePersistence.js.map +1 -1
  25. package/data/persistence/container-contents/containerRecoveryPersistence.js +20 -19
  26. package/data/persistence/container-contents/containerRecoveryPersistence.js.map +1 -1
  27. package/data/persistence/container-contents/containerRemovalWork.js +10 -10
  28. package/data/persistence/container-contents/containerRemovalWork.js.map +1 -1
  29. package/data/persistence/container-contents/containerStructuralRepair.js +21 -44
  30. package/data/persistence/container-contents/containerStructuralRepair.js.map +1 -1
  31. package/data/persistence/container-contents/documentLinkRemovalRepair.js +12 -11
  32. package/data/persistence/container-contents/documentLinkRemovalRepair.js.map +1 -1
  33. package/data/persistence/container-contents/documentMoveIntentPersistence.js +53 -28
  34. package/data/persistence/container-contents/documentMoveIntentPersistence.js.map +1 -1
  35. package/data/persistence/container-contents/documentPlacementIntentEnqueue.js +9 -8
  36. package/data/persistence/container-contents/documentPlacementIntentEnqueue.js.map +1 -1
  37. package/data/persistence/container-contents/documentPurgePlacement.js +6 -6
  38. package/data/persistence/container-contents/documentPurgePlacement.js.map +1 -1
  39. package/data/persistence/container-contents/dormantContainerMetadata.js +1 -5
  40. package/data/persistence/container-contents/dormantContainerMetadata.js.map +1 -1
  41. package/data/persistence/container-contents/pendingContainerCreate.js +5 -5
  42. package/data/persistence/container-contents/pendingContainerCreate.js.map +1 -1
  43. package/data/persistence/containers/containerPersistence.js +10 -27
  44. package/data/persistence/containers/containerPersistence.js.map +1 -1
  45. package/data/persistence/containers/containerSyncWatermarkPersistence.d.ts +11 -3
  46. package/data/persistence/containers/containerSyncWatermarkPersistence.js +46 -58
  47. package/data/persistence/containers/containerSyncWatermarkPersistence.js.map +1 -1
  48. package/data/persistence/containers/documentContainerProjectionPersistence.js +2 -2
  49. package/data/persistence/containers/documentContainerProjectionPersistence.js.map +1 -1
  50. package/data/persistence/containers/documentPlacement.js +10 -10
  51. package/data/persistence/containers/documentPlacement.js.map +1 -1
  52. package/data/persistence/documents/internal/discardDocument.js +5 -5
  53. package/data/persistence/documents/internal/discardDocument.js.map +1 -1
  54. package/data/persistence/documents/internal/documentDeletionPersistence.js +7 -9
  55. package/data/persistence/documents/internal/documentDeletionPersistence.js.map +1 -1
  56. package/data/persistence/documents/internal/documentMutationPersistence.js +6 -8
  57. package/data/persistence/documents/internal/documentMutationPersistence.js.map +1 -1
  58. package/data/persistence/documents/internal/ensureDocumentsSchema.js +2 -2
  59. package/data/persistence/documents/internal/ensureDocumentsSchema.js.map +1 -1
  60. package/data/persistence/documents/internal/orphanSideRows.js +3 -22
  61. package/data/persistence/documents/internal/orphanSideRows.js.map +1 -1
  62. package/data/persistence/organizations/organizationDataUsagePersistence.js +31 -64
  63. package/data/persistence/organizations/organizationDataUsagePersistence.js.map +1 -1
  64. package/data/persistence/organizations/organizationReadModelPurge.js +1 -5
  65. package/data/persistence/organizations/organizationReadModelPurge.js.map +1 -1
  66. package/data/persistence/principalCurrentAcknowledgementPersistence.js +24 -17
  67. package/data/persistence/principalCurrentAcknowledgementPersistence.js.map +1 -1
  68. package/data/persistence/principalHistoryIncompleteRetention.js +3 -9
  69. package/data/persistence/principalHistoryIncompleteRetention.js.map +1 -1
  70. package/data/persistence/principalHistoryStagePersistence.d.ts +3 -9
  71. package/data/persistence/principalHistoryStagePersistence.js +15 -25
  72. package/data/persistence/principalHistoryStagePersistence.js.map +1 -1
  73. package/data/persistence/principalHistoryStageRetention.js +16 -15
  74. package/data/persistence/principalHistoryStageRetention.js.map +1 -1
  75. package/data/persistence/principalHistoryUnpublishedRetention.js +6 -13
  76. package/data/persistence/principalHistoryUnpublishedRetention.js.map +1 -1
  77. package/data/sqlite/containerSchema.d.ts +84 -180
  78. package/data/sqlite/containerSchema.js +14 -23
  79. package/data/sqlite/containerSchema.js.map +1 -1
  80. package/data/sqlite/documentPlacementIntentSchema.js +3 -50
  81. package/data/sqlite/documentPlacementIntentSchema.js.map +1 -1
  82. package/data/sqlite/documentSyncFailurePersistence.d.ts +16 -6
  83. package/data/sqlite/documentSyncFailurePersistence.js +44 -54
  84. package/data/sqlite/documentSyncFailurePersistence.js.map +1 -1
  85. package/data/sqlite/{documentPlacementIntentSchema.d.ts → localIntentSchema.d.ts} +162 -88
  86. package/data/sqlite/localIntentSchema.js +90 -0
  87. package/data/sqlite/localIntentSchema.js.map +1 -0
  88. package/data/sqlite/organizationDataUsageSchema.js +11 -17
  89. package/data/sqlite/organizationDataUsageSchema.js.map +1 -1
  90. package/data/sqlite/principalHistoryRetentionSchema.js +0 -15
  91. package/data/sqlite/principalHistoryRetentionSchema.js.map +1 -1
  92. package/data/sqlite/principalHistoryStageSchema.d.ts +44 -2
  93. package/data/sqlite/principalHistoryStageSchema.js +14 -2
  94. package/data/sqlite/principalHistoryStageSchema.js.map +1 -1
  95. package/data/sqlite/schema.d.ts +1019 -2284
  96. package/data/sqlite/schema.js +48 -169
  97. package/data/sqlite/schema.js.map +1 -1
  98. package/internal/api-client/ApiClient.d.ts +6 -34
  99. package/internal/api-client/ApiClient.js +8 -10
  100. package/internal/api-client/ApiClient.js.map +1 -1
  101. package/internal/api-client/apiRequestRuntime.d.ts +2 -0
  102. package/internal/api-client/apiRequestRuntime.js +4 -0
  103. package/internal/api-client/apiRequestRuntime.js.map +1 -1
  104. package/internal/api-client/requestInternals.js +7 -7
  105. package/internal/api-client/requestInternals.js.map +1 -1
  106. package/internal/api-client/routes/containers/reads.d.ts +13 -7
  107. package/internal/api-client/routes/containers/reads.js +36 -15
  108. package/internal/api-client/routes/containers/reads.js.map +1 -1
  109. package/internal/api-client/types.d.ts +1 -5
  110. package/internal/api-client/types.js.map +1 -1
  111. package/internal/validators/containerReadRefinements.js +15 -5
  112. package/internal/validators/containerReadRefinements.js.map +1 -1
  113. package/internal/validators/containerReadSchemas.d.ts +36 -0
  114. package/internal/validators/containerReadSchemas.js +64 -1
  115. package/internal/validators/containerReadSchemas.js.map +1 -1
  116. package/internal/validators/operation/containerReads.d.ts +118 -182
  117. package/internal/validators/operation/containerReads.js +20 -54
  118. package/internal/validators/operation/containerReads.js.map +1 -1
  119. package/internal/validators/operation/index.d.ts +1 -1
  120. package/internal/validators/operation/index.js +1 -1
  121. package/internal/validators/operation/index.js.map +1 -1
  122. package/internal/validators/operation/registry.d.ts +2 -2
  123. package/internal/validators/operation/registry.js +2 -2
  124. package/internal/validators/operation/registry.js.map +1 -1
  125. package/internal/validators/request/containerDocumentLanes.d.ts +23 -0
  126. package/internal/validators/request/containerDocumentLanes.js +23 -0
  127. package/internal/validators/request/containerDocumentLanes.js.map +1 -0
  128. package/internal/validators/request/containerParentLanes.js +5 -35
  129. package/internal/validators/request/containerParentLanes.js.map +1 -1
  130. package/internal/validators/request/index.d.ts +1 -0
  131. package/internal/validators/request/index.js +1 -0
  132. package/internal/validators/request/index.js.map +1 -1
  133. package/internal/validators/response/containerDocumentLanes.d.ts +82 -0
  134. package/internal/validators/response/containerDocumentLanes.js +35 -0
  135. package/internal/validators/response/containerDocumentLanes.js.map +1 -0
  136. package/internal/validators/response/containerParentLanes.js +3 -15
  137. package/internal/validators/response/containerParentLanes.js.map +1 -1
  138. package/internal/validators/response/index.d.ts +2 -1
  139. package/internal/validators/response/index.js +1 -1
  140. package/internal/validators/response/index.js.map +1 -1
  141. package/package.json +1 -1
  142. package/sync/reconciliation/knownContainerSweep.js +57 -54
  143. package/sync/reconciliation/knownContainerSweep.js.map +1 -1
  144. package/sync/reconciliation/reconcileContainer.js +49 -17
  145. package/sync/reconciliation/reconcileContainer.js.map +1 -1
  146. package/sync/reconciliation/service.js +44 -16
  147. package/sync/reconciliation/service.js.map +1 -1
  148. package/sync/reconciliation/serviceTypes.d.ts +23 -2
  149. package/sync/reconciliation/serviceTypes.js.map +1 -1
  150. package/workflows/container-contents/containerDocumentListing.js +92 -38
  151. package/workflows/container-contents/containerDocumentListing.js.map +1 -1
  152. package/workflows/container-contents/containerPersistence.d.ts +8 -2
  153. package/workflows/container-contents/containerPersistence.js +6 -7
  154. package/workflows/container-contents/containerPersistence.js.map +1 -1
  155. package/workflows/container-contents/documentDiscovery.d.ts +3 -3
  156. package/workflows/container-contents/documentDiscovery.js +24 -96
  157. package/workflows/container-contents/documentDiscovery.js.map +1 -1
  158. package/workflows/container-contents/documentDiscoveryApply.js +65 -0
  159. package/workflows/container-contents/documentDiscoveryApply.js.map +1 -0
  160. package/workflows/container-contents/documentDiscoveryLanes.js +53 -0
  161. package/workflows/container-contents/documentDiscoveryLanes.js.map +1 -0
  162. package/workflows/container-contents/documentDiscoveryTypes.d.ts +25 -19
  163. package/workflows/container-contents/documentDiscoveryTypes.js.map +1 -1
  164. package/workflows/container-contents/documentPriming.js +6 -10
  165. package/workflows/container-contents/documentPriming.js.map +1 -1
  166. package/workflows/container-contents/documentQueries/sql.js +11 -10
  167. package/workflows/container-contents/documentQueries/sql.js.map +1 -1
  168. package/workflows/container-contents/documentQueries.js +2 -2
  169. package/workflows/container-contents/documentQueries.js.map +1 -1
  170. package/workflows/container-contents/pendingDownloads.js +2 -5
  171. package/workflows/container-contents/pendingDownloads.js.map +1 -1
  172. package/workflows/container-contents/pendingWrites/deferredTails.js +3 -11
  173. package/workflows/container-contents/pendingWrites/deferredTails.js.map +1 -1
  174. package/workflows/container-contents/pendingWrites/sources.js +56 -80
  175. package/workflows/container-contents/pendingWrites/sources.js.map +1 -1
  176. package/workflows/container-contents/pendingWrites.js +6 -4
  177. package/workflows/container-contents/pendingWrites.js.map +1 -1
  178. package/workflows/container-contents/remoteContainerState.js +2 -1
  179. package/workflows/container-contents/remoteContainerState.js.map +1 -1
  180. package/workflows/container-contents/remoteHydration/laneFetchMarkers.js +11 -17
  181. package/workflows/container-contents/remoteHydration/laneFetchMarkers.js.map +1 -1
  182. package/workflows/sync/remoteReset.js +16 -23
  183. package/workflows/sync/remoteReset.js.map +1 -1
  184. package/workflows/sync/remoteResetCursorScope.js +10 -18
  185. package/workflows/sync/remoteResetCursorScope.js.map +1 -1
  186. package/workflows/sync/remoteResetPrincipalScope.js +1 -2
  187. package/workflows/sync/remoteResetPrincipalScope.js.map +1 -1
  188. package/workflows/sync/remoteResetScope.js +18 -18
  189. package/workflows/sync/remoteResetScope.js.map +1 -1
@@ -1,6 +1,7 @@
1
1
  import { z } from "zod";
2
- import { isListContainerParentLanesRequest } from "../request/index.js";
3
- import { ErrorResponseSchema, isContainerKekLogResponse, isListContainerDocumentsResponse, isListContainerParentLanesResponse } from "../response/index.js";
2
+ import { isListContainerDocumentLanesRequest, isListContainerParentLanesRequest } from "../request/index.js";
3
+ import { ErrorResponseSchema, isContainerKekLogResponse, isListContainerParentLanesResponse } from "../response/index.js";
4
+ import { isListContainerDocumentLanesResponse } from "../response/containerDocumentLanes.js";
4
5
  export declare const ContainerReadPathParamsSchema: z.ZodObject<{
5
6
  containerId: z.ZodString;
6
7
  }, z.core.$strict>;
@@ -17,14 +18,8 @@ export declare const ContainerKekLogQuerySchema: z.ZodType<{
17
18
  keyringForEpoch?: string | number | undefined;
18
19
  afterKeyEpoch?: string | number | undefined;
19
20
  }>>;
20
- export declare const ListContainerDocumentsQuerySchema: z.ZodPipe<z.ZodCustom<Record<string, unknown>, Record<string, unknown>>, z.ZodObject<{
21
- watermarkUpdatedAt: z.ZodOptional<z.ZodString>;
22
- watermarkId: z.ZodOptional<z.ZodString>;
23
- limit: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
24
- }, z.core.$loose>>;
25
21
  export type ContainerReadPathParams = z.infer<typeof ContainerReadPathParamsSchema>;
26
22
  export type ContainerKekLogQuery = z.infer<typeof ContainerKekLogQuerySchema>;
27
- export type ListContainerDocumentsQuery = z.infer<typeof ListContainerDocumentsQuerySchema>;
28
23
  export declare const getContainerKekLogOperation: Omit<{
29
24
  readonly auth: "session";
30
25
  readonly failureResponses: {
@@ -255,13 +250,28 @@ export declare const getContainerKekLogOperation: Omit<{
255
250
  };
256
251
  readonly failureStatuses: readonly [400, 401, 403, 404, 409, 500] | readonly [400, 401, 403, 404, 409, 500, 503];
257
252
  };
258
- export declare const listContainerDocumentsOperation: Omit<{
253
+ export declare const listContainerDocumentLanesOperation: Omit<{
259
254
  readonly auth: "session";
255
+ readonly body: z.ZodObject<{
256
+ lanes: z.ZodCustom<{
257
+ containerId: string;
258
+ laneId: string;
259
+ watermark: {
260
+ id: string;
261
+ updatedAt: string;
262
+ } | null;
263
+ limit?: number | undefined;
264
+ }[], {
265
+ containerId: string;
266
+ laneId: string;
267
+ watermark: {
268
+ id: string;
269
+ updatedAt: string;
270
+ } | null;
271
+ limit?: number | undefined;
272
+ }[]>;
273
+ }, z.core.$strict>;
260
274
  readonly failureResponses: {
261
- readonly 404: z.ZodObject<{
262
- code: z.ZodLiteral<"container_not_found">;
263
- error: z.ZodString;
264
- }, z.core.$loose>;
265
275
  readonly 400: z.ZodType<{
266
276
  error: string;
267
277
  }, {
@@ -284,24 +294,6 @@ export declare const listContainerDocumentsOperation: Omit<{
284
294
  error: string;
285
295
  code?: "session_refresh_required" | undefined;
286
296
  }>>;
287
- readonly 403: z.ZodType<{
288
- error: string;
289
- }, {
290
- error: string;
291
- }, z.core.$ZodTypeInternals<{
292
- error: string;
293
- }, {
294
- error: string;
295
- }>>;
296
- readonly 409: z.ZodType<{
297
- error: string;
298
- }, {
299
- error: string;
300
- }, z.core.$ZodTypeInternals<{
301
- error: string;
302
- }, {
303
- error: string;
304
- }>>;
305
297
  readonly 500: z.ZodType<{
306
298
  error: string;
307
299
  }, {
@@ -312,143 +304,104 @@ export declare const listContainerDocumentsOperation: Omit<{
312
304
  error: string;
313
305
  }>>;
314
306
  };
315
- readonly failureStatuses: readonly [400, 401, 403, 404, 409, 500];
316
- readonly id: "containers.documents.list";
317
- readonly method: "GET";
318
- readonly params: z.ZodObject<{
319
- containerId: z.ZodString;
320
- }, z.core.$strict>;
321
- readonly path: "/containers/{containerId}/documents";
322
- readonly query: z.ZodPipe<z.ZodCustom<Record<string, unknown>, Record<string, unknown>>, z.ZodObject<{
323
- watermarkUpdatedAt: z.ZodOptional<z.ZodString>;
324
- watermarkId: z.ZodOptional<z.ZodString>;
325
- limit: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
326
- }, z.core.$loose>>;
307
+ readonly failureStatuses: readonly [400, 401, 500];
308
+ readonly id: "containers.documentLanes.query";
309
+ readonly method: "POST";
310
+ readonly params: z.ZodObject<{}, z.core.$strict>;
311
+ readonly path: "/containers/documents/query";
327
312
  readonly responses: {
328
- readonly 200: z.ZodType<{
329
- hasMore: boolean;
330
- items: {
331
- createdAt: string;
332
- currentAccessEpoch: number;
333
- currentAccessStateHash: string;
334
- effectiveAccessLevel: "admin" | "read" | "write";
335
- id: string;
336
- linkedContainerIds: string[];
337
- referencedPrincipals: {
338
- keyEpoch: number;
339
- keyFingerprint: string;
340
- principalId: string;
341
- principalType: "group" | "organization";
342
- stateHash: string;
343
- version: number;
344
- }[];
345
- updatedAt: string;
346
- }[];
347
- nextWatermark: {
348
- id: string;
349
- updatedAt: string;
350
- } | null;
351
- tombstones: {
352
- containerId: string;
353
- documentId: string;
354
- updatedAt: string;
355
- }[];
356
- }, {
357
- hasMore: boolean;
358
- items: {
359
- createdAt: string;
360
- currentAccessEpoch: number;
361
- currentAccessStateHash: string;
362
- effectiveAccessLevel: "admin" | "read" | "write";
363
- id: string;
364
- linkedContainerIds: string[];
365
- referencedPrincipals: {
366
- keyEpoch: number;
367
- keyFingerprint: string;
368
- principalId: string;
369
- principalType: "group" | "organization";
370
- stateHash: string;
371
- version: number;
372
- }[];
373
- updatedAt: string;
374
- }[];
375
- nextWatermark: {
376
- id: string;
377
- updatedAt: string;
378
- } | null;
379
- tombstones: {
380
- containerId: string;
381
- documentId: string;
382
- updatedAt: string;
383
- }[];
384
- }, z.core.$ZodTypeInternals<{
385
- hasMore: boolean;
386
- items: {
387
- createdAt: string;
388
- currentAccessEpoch: number;
389
- currentAccessStateHash: string;
390
- effectiveAccessLevel: "admin" | "read" | "write";
391
- id: string;
392
- linkedContainerIds: string[];
393
- referencedPrincipals: {
394
- keyEpoch: number;
395
- keyFingerprint: string;
396
- principalId: string;
397
- principalType: "group" | "organization";
398
- stateHash: string;
399
- version: number;
400
- }[];
401
- updatedAt: string;
402
- }[];
403
- nextWatermark: {
404
- id: string;
405
- updatedAt: string;
406
- } | null;
407
- tombstones: {
408
- containerId: string;
409
- documentId: string;
410
- updatedAt: string;
411
- }[];
412
- }, {
413
- hasMore: boolean;
414
- items: {
415
- createdAt: string;
416
- currentAccessEpoch: number;
417
- currentAccessStateHash: string;
418
- effectiveAccessLevel: "admin" | "read" | "write";
419
- id: string;
420
- linkedContainerIds: string[];
421
- referencedPrincipals: {
422
- keyEpoch: number;
423
- keyFingerprint: string;
424
- principalId: string;
425
- principalType: "group" | "organization";
426
- stateHash: string;
427
- version: number;
428
- }[];
429
- updatedAt: string;
430
- }[];
431
- nextWatermark: {
432
- id: string;
433
- updatedAt: string;
434
- } | null;
435
- tombstones: {
436
- containerId: string;
437
- documentId: string;
438
- updatedAt: string;
439
- }[];
440
- }>>;
313
+ readonly 200: z.ZodObject<{
314
+ results: z.ZodCustom<({
315
+ laneId: string;
316
+ page: {
317
+ hasMore: boolean;
318
+ items: {
319
+ createdAt: string;
320
+ currentAccessEpoch: number;
321
+ currentAccessStateHash: string;
322
+ effectiveAccessLevel: "admin" | "read" | "write";
323
+ id: string;
324
+ linkedContainerIds: string[];
325
+ referencedPrincipals: {
326
+ keyEpoch: number;
327
+ keyFingerprint: string;
328
+ principalId: string;
329
+ principalType: "group" | "organization";
330
+ stateHash: string;
331
+ version: number;
332
+ }[];
333
+ updatedAt: string;
334
+ }[];
335
+ nextWatermark: {
336
+ id: string;
337
+ updatedAt: string;
338
+ } | null;
339
+ tombstones: {
340
+ containerId: string;
341
+ documentId: string;
342
+ updatedAt: string;
343
+ }[];
344
+ };
345
+ } | {
346
+ failure: {
347
+ error: string;
348
+ status: 403 | 404 | 409;
349
+ code?: "container_not_found" | undefined;
350
+ };
351
+ laneId: string;
352
+ })[], ({
353
+ laneId: string;
354
+ page: {
355
+ hasMore: boolean;
356
+ items: {
357
+ createdAt: string;
358
+ currentAccessEpoch: number;
359
+ currentAccessStateHash: string;
360
+ effectiveAccessLevel: "admin" | "read" | "write";
361
+ id: string;
362
+ linkedContainerIds: string[];
363
+ referencedPrincipals: {
364
+ keyEpoch: number;
365
+ keyFingerprint: string;
366
+ principalId: string;
367
+ principalType: "group" | "organization";
368
+ stateHash: string;
369
+ version: number;
370
+ }[];
371
+ updatedAt: string;
372
+ }[];
373
+ nextWatermark: {
374
+ id: string;
375
+ updatedAt: string;
376
+ } | null;
377
+ tombstones: {
378
+ containerId: string;
379
+ documentId: string;
380
+ updatedAt: string;
381
+ }[];
382
+ };
383
+ } | {
384
+ failure: {
385
+ error: string;
386
+ status: 403 | 404 | 409;
387
+ code?: "container_not_found" | undefined;
388
+ };
389
+ laneId: string;
390
+ })[]>;
391
+ }, z.core.$strict>;
441
392
  };
442
393
  readonly runtimeRefinements: readonly [{
443
- readonly description: "container-document watermark fields must be supplied together with a parseable date";
444
- readonly id: "request.container-documents-watermark";
394
+ readonly description: "container document-lane request lane ids must be unique";
395
+ readonly id: "request.container-document-lane-unique-ids";
396
+ }, {
397
+ readonly description: "container document-lane request page limits must total at most 500";
398
+ readonly id: "request.container-document-lane-page-total";
399
+ }, {
400
+ readonly description: "container document-lane response lane ids must be unique";
401
+ readonly id: "response.container-document-lane-unique-ids";
445
402
  }];
446
403
  }, "failureResponses" | "failureStatuses"> & {
447
404
  readonly failureResponses: {
448
- readonly 404: z.ZodObject<{
449
- code: z.ZodLiteral<"container_not_found">;
450
- error: z.ZodString;
451
- }, z.core.$loose>;
452
405
  readonly 400: z.ZodType<{
453
406
  error: string;
454
407
  }, {
@@ -471,24 +424,6 @@ export declare const listContainerDocumentsOperation: Omit<{
471
424
  error: string;
472
425
  code?: "session_refresh_required" | undefined;
473
426
  }>>;
474
- readonly 403: z.ZodType<{
475
- error: string;
476
- }, {
477
- error: string;
478
- }, z.core.$ZodTypeInternals<{
479
- error: string;
480
- }, {
481
- error: string;
482
- }>>;
483
- readonly 409: z.ZodType<{
484
- error: string;
485
- }, {
486
- error: string;
487
- }, z.core.$ZodTypeInternals<{
488
- error: string;
489
- }, {
490
- error: string;
491
- }>>;
492
427
  readonly 500: z.ZodType<{
493
428
  error: string;
494
429
  }, {
@@ -501,7 +436,7 @@ export declare const listContainerDocumentsOperation: Omit<{
501
436
  } & {
502
437
  readonly 503: typeof ErrorResponseSchema;
503
438
  };
504
- readonly failureStatuses: readonly [400, 401, 403, 404, 409, 500] | readonly [400, 401, 403, 404, 409, 500, 503];
439
+ readonly failureStatuses: readonly [400, 401, 500, 503] | readonly [400, 401, 500];
505
440
  };
506
441
  export declare const listContainerParentLanesOperation: Omit<{
507
442
  readonly auth: "session";
@@ -690,6 +625,7 @@ export declare const listContainerParentLanesOperation: Omit<{
690
625
  readonly failureStatuses: readonly [400, 401, 500, 503] | readonly [400, 401, 500];
691
626
  };
692
627
  export declare const isGetContainerKekLogOperationResponse: typeof isContainerKekLogResponse;
693
- export declare const isListContainerDocumentsOperationResponse: typeof isListContainerDocumentsResponse;
628
+ export declare const isListContainerDocumentLanesOperationRequest: typeof isListContainerDocumentLanesRequest;
629
+ export declare const isListContainerDocumentLanesOperationResponse: typeof isListContainerDocumentLanesResponse;
694
630
  export declare const isListContainerParentLanesOperationRequest: typeof isListContainerParentLanesRequest;
695
631
  export declare const isListContainerParentLanesOperationResponse: typeof isListContainerParentLanesResponse;
@@ -1,26 +1,13 @@
1
1
  import { z } from "zod";
2
- import { containerDocumentRuntimeRefinements, containerKekLogResponseRuntimeRefinements, containerParentLaneRuntimeRefinements, } from "../containerReadRefinements.js";
3
- import { registerJsonSchemaFragment, registerJsonSchemaRuntimeRefinements, registerJsonSchemaView, } from "../jsonSchema.js";
4
- import { isListContainerParentLanesRequest, ListContainerParentLanesRequestSchema, } from "../request/index.js";
5
- import { ContainerKekLogResponseSchema, ContainerNotFoundErrorResponseSchema, ErrorResponseSchema, isContainerKekLogResponse, isListContainerDocumentsResponse, isListContainerParentLanesResponse, ListContainerDocumentsResponseSchema, ListContainerParentLanesResponseSchema, SessionFailureResponseSchema, } from "../response/index.js";
6
- import { loosePlainObject, plainObjectSchema } from "../schema.js";
2
+ import { containerDocumentLaneRuntimeRefinements, containerKekLogResponseRuntimeRefinements, containerParentLaneRuntimeRefinements, } from "../containerReadRefinements.js";
3
+ import { registerJsonSchemaFragment } from "../jsonSchema.js";
4
+ import { isListContainerDocumentLanesRequest, isListContainerParentLanesRequest, ListContainerDocumentLanesRequestSchema, ListContainerParentLanesRequestSchema, } from "../request/index.js";
5
+ import { ContainerKekLogResponseSchema, ErrorResponseSchema, isContainerKekLogResponse, isListContainerParentLanesResponse, ListContainerParentLanesResponseSchema, SessionFailureResponseSchema, } from "../response/index.js";
6
+ import { isListContainerDocumentLanesResponse, ListContainerDocumentLanesResponseSchema, } from "../response/containerDocumentLanes.js";
7
+ import { loosePlainObject } from "../schema.js";
7
8
  import { MAX_CONTAINER_KEY_EPOCH } from "../util/index.js";
8
9
  import { defineJsonOperation } from "./definition.js";
9
10
  const DIGITS_PATTERN = /^\d+$/u;
10
- function listPageLimitSchema() {
11
- const jsonSchema = { minimum: 1, type: "integer" };
12
- const inputSchema = registerJsonSchemaFragment(z.union([z.number(), z.string()]).superRefine((value, context) => {
13
- if (typeof value === "string" && !DIGITS_PATTERN.test(value)) {
14
- context.addIssue({ code: "custom", message: "Invalid limit" });
15
- return;
16
- }
17
- const parsed = Number(value);
18
- if (!Number.isSafeInteger(parsed) || parsed < 1) {
19
- context.addIssue({ code: "custom", message: "Invalid limit" });
20
- }
21
- }), jsonSchema);
22
- return registerJsonSchemaFragment(inputSchema.transform(Number), jsonSchema);
23
- }
24
11
  function containerKekLogEpochQuerySchema() {
25
12
  return registerJsonSchemaFragment(z.union([z.number(), z.string()]).refine((value) => {
26
13
  if (typeof value === "string" && !DIGITS_PATTERN.test(value))
@@ -42,29 +29,6 @@ export const ContainerKekLogQuerySchema = loosePlainObject({
42
29
  keyringForEpoch: containerKekLogEpochQuerySchema().optional(),
43
30
  afterKeyEpoch: containerKekLogEpochQuerySchema().optional(),
44
31
  });
45
- const listContainerDocumentsQueryShape = {
46
- watermarkUpdatedAt: z.string().optional(),
47
- watermarkId: z.string().optional(),
48
- limit: listPageLimitSchema().optional(),
49
- };
50
- const listContainerDocumentsQueryObjectSchema = z.looseObject(listContainerDocumentsQueryShape);
51
- export const ListContainerDocumentsQuerySchema = registerJsonSchemaRuntimeRefinements(registerJsonSchemaView(plainObjectSchema
52
- .pipe(listContainerDocumentsQueryObjectSchema)
53
- .superRefine(({ watermarkId, watermarkUpdatedAt }, context) => {
54
- const isValid = (watermarkId === undefined && watermarkUpdatedAt === undefined) ||
55
- (watermarkId !== undefined &&
56
- watermarkUpdatedAt !== undefined &&
57
- watermarkId.length > 0 &&
58
- watermarkUpdatedAt.length > 0 &&
59
- !Number.isNaN(new Date(watermarkUpdatedAt).getTime()));
60
- if (!isValid) {
61
- context.addIssue({
62
- code: "custom",
63
- message: "Invalid watermark",
64
- path: ["watermarkUpdatedAt"],
65
- });
66
- }
67
- }), listContainerDocumentsQueryObjectSchema), containerDocumentRuntimeRefinements);
68
32
  const containerReadFailureResponses = {
69
33
  400: ErrorResponseSchema,
70
34
  401: SessionFailureResponseSchema,
@@ -86,20 +50,21 @@ export const getContainerKekLogOperation = defineJsonOperation({
86
50
  responses: { 200: ContainerKekLogResponseSchema },
87
51
  runtimeRefinements: containerKekLogResponseRuntimeRefinements,
88
52
  });
89
- export const listContainerDocumentsOperation = defineJsonOperation({
53
+ export const listContainerDocumentLanesOperation = defineJsonOperation({
90
54
  auth: "session",
55
+ body: ListContainerDocumentLanesRequestSchema,
91
56
  failureResponses: {
92
- ...containerReadFailureResponses,
93
- 404: ContainerNotFoundErrorResponseSchema,
57
+ 400: ErrorResponseSchema,
58
+ 401: SessionFailureResponseSchema,
59
+ 500: ErrorResponseSchema,
94
60
  },
95
- failureStatuses: containerReadFailureStatuses,
96
- id: "containers.documents.list",
97
- method: "GET",
98
- params: ContainerReadPathParamsSchema,
99
- path: "/containers/{containerId}/documents",
100
- query: ListContainerDocumentsQuerySchema,
101
- responses: { 200: ListContainerDocumentsResponseSchema },
102
- runtimeRefinements: containerDocumentRuntimeRefinements,
61
+ failureStatuses: [400, 401, 500],
62
+ id: "containers.documentLanes.query",
63
+ method: "POST",
64
+ params: z.strictObject({}),
65
+ path: "/containers/documents/query",
66
+ responses: { 200: ListContainerDocumentLanesResponseSchema },
67
+ runtimeRefinements: containerDocumentLaneRuntimeRefinements,
103
68
  });
104
69
  export const listContainerParentLanesOperation = defineJsonOperation({
105
70
  auth: "session",
@@ -118,7 +83,8 @@ export const listContainerParentLanesOperation = defineJsonOperation({
118
83
  runtimeRefinements: containerParentLaneRuntimeRefinements,
119
84
  });
120
85
  export const isGetContainerKekLogOperationResponse = isContainerKekLogResponse;
121
- export const isListContainerDocumentsOperationResponse = isListContainerDocumentsResponse;
86
+ export const isListContainerDocumentLanesOperationRequest = isListContainerDocumentLanesRequest;
87
+ export const isListContainerDocumentLanesOperationResponse = isListContainerDocumentLanesResponse;
122
88
  export const isListContainerParentLanesOperationRequest = isListContainerParentLanesRequest;
123
89
  export const isListContainerParentLanesOperationResponse = isListContainerParentLanesResponse;
124
90
  //# sourceMappingURL=containerReads.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"containerReads.js","sourceRoot":"","sources":["containerReads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,mCAAmC,EACnC,yCAAyC,EACzC,qCAAqC,GACtC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,0BAA0B,EAC1B,oCAAoC,EACpC,sBAAsB,GACvB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,iCAAiC,EACjC,qCAAqC,GACtC,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,6BAA6B,EAC7B,oCAAoC,EACpC,mBAAmB,EACnB,yBAAyB,EACzB,gCAAgC,EAChC,kCAAkC,EAClC,oCAAoC,EACpC,sCAAsC,EACtC,4BAA4B,GAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,WA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AM,CAAC,MAAM,+BAA+B,GAAG,mBAAmB,CAAC;IACjE,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE;QAChB,GAAG,6BAA6B;QAChC,GAAG,EAAE,oCAAoC;KAC1C;IACD,eAAe,EAAE,4BAA4B;IAC7C,EAAE,EAAE,2BAA2B;IAC/B,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,6BAA6B;IACrC,IAAI,EAAE,qCAAqC;IAC3C,KAAK,EAAE,iCAAiC;IACxC,SAAS,EAAE,EAAE,GAAG,EAAE,oCAAoC,EAAE;IACxD,kBAAkB,EAAE,mCAAmC;CACxD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG,mBAAmB,CAAC;IACnE,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,qCAAqC;IAC3C,gBAAgB,EAAE;QAChB,GAAG,EAAE,mBAAmB;QACxB,GAAG,EAAE,4BAA4B;QACjC,GAAG,EAAE,mBAAmB;KACzB;IACD,eAAe,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IAChC,EAAE,EAAE,8BAA8B;IAClC,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC;IAC1B,IAAI,EAAE,gCAAgC;IACtC,SAAS,EAAE,EAAE,GAAG,EAAE,sCAAsC,EAAE;IAC1D,kBAAkB,EAAE,qCAAqC;CAC1D,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qCAAqC,GAAG,yBAAyB,CAAC;AAC/E,MAAM,CAAC,MAAM,yCAAyC,GACpD,gCAAgC,CAAC;AACnC,MAAM,CAAC,MAAM,0CAA0C,GACrD,iCAAiC,CAAC;AACpC,MAAM,CAAC,MAAM,2CAA2C,GACtD,kCAAkC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport {\n containerDocumentRuntimeRefinements,\n containerKekLogResponseRuntimeRefinements,\n containerParentLaneRuntimeRefinements,\n} from \"../containerReadRefinements\";\nimport {\n registerJsonSchemaFragment,\n registerJsonSchemaRuntimeRefinements,\n registerJsonSchemaView,\n} from \"../jsonSchema\";\nimport {\n isListContainerParentLanesRequest,\n ListContainerParentLanesRequestSchema,\n} from \"../request\";\nimport {\n ContainerKekLogResponseSchema,\n ContainerNotFoundErrorResponseSchema,\n ErrorResponseSchema,\n isContainerKekLogResponse,\n isListContainerDocumentsResponse,\n isListContainerParentLanesResponse,\n ListContainerDocumentsResponseSchema,\n ListContainerParentLanesResponseSchema,\n SessionFailureResponseSchema,\n} from \"../response\";\nimport { loosePlainObject, plainObjectSchema } from \"../schema\";\nimport { MAX_CONTAINER_KEY_EPOCH } from \"../util\";\nimport { defineJsonOperation } from \"./definition\";\n\nconst DIGITS_PATTERN = /^\\d+$/u;\n\nfunction listPageLimitSchema() {\n const jsonSchema = { minimum: 1, type: \"integer\" } as const;\n const inputSchema = registerJsonSchemaFragment(\n z.union([z.number(), z.string()]).superRefine((value, context) => {\n if (typeof value === \"string\" && !DIGITS_PATTERN.test(value)) {\n context.addIssue({ code: \"custom\", message: \"Invalid limit\" });\n return;\n }\n\n const parsed = Number(value);\n if (!Number.isSafeInteger(parsed) || parsed < 1) {\n context.addIssue({ code: \"custom\", message: \"Invalid limit\" });\n }\n }),\n jsonSchema,\n );\n\n return registerJsonSchemaFragment(inputSchema.transform(Number), jsonSchema);\n}\n\nfunction containerKekLogEpochQuerySchema() {\n return registerJsonSchemaFragment(\n z.union([z.number(), z.string()]).refine((value) => {\n if (typeof value === \"string\" && !DIGITS_PATTERN.test(value))\n return false;\n const parsed = Number(value);\n return (\n Number.isSafeInteger(parsed) &&\n parsed > 0 &&\n parsed <= MAX_CONTAINER_KEY_EPOCH\n );\n }, \"Invalid key epoch\"),\n {\n maximum: MAX_CONTAINER_KEY_EPOCH,\n minimum: 1,\n type: \"integer\",\n },\n );\n}\n\nexport const ContainerReadPathParamsSchema = z.strictObject({\n containerId: z.string(),\n});\n\nexport const ContainerKekLogQuerySchema = loosePlainObject({\n keyringForEpoch: containerKekLogEpochQuerySchema().optional(),\n afterKeyEpoch: containerKekLogEpochQuerySchema().optional(),\n});\n\nconst listContainerDocumentsQueryShape = {\n watermarkUpdatedAt: z.string().optional(),\n watermarkId: z.string().optional(),\n limit: listPageLimitSchema().optional(),\n} as const;\nconst listContainerDocumentsQueryObjectSchema = z.looseObject(\n listContainerDocumentsQueryShape,\n);\n\nexport const ListContainerDocumentsQuerySchema =\n registerJsonSchemaRuntimeRefinements(\n registerJsonSchemaView(\n plainObjectSchema\n .pipe(listContainerDocumentsQueryObjectSchema)\n .superRefine(({ watermarkId, watermarkUpdatedAt }, context) => {\n const isValid =\n (watermarkId === undefined && watermarkUpdatedAt === undefined) ||\n (watermarkId !== undefined &&\n watermarkUpdatedAt !== undefined &&\n watermarkId.length > 0 &&\n watermarkUpdatedAt.length > 0 &&\n !Number.isNaN(new Date(watermarkUpdatedAt).getTime()));\n if (!isValid) {\n context.addIssue({\n code: \"custom\",\n message: \"Invalid watermark\",\n path: [\"watermarkUpdatedAt\"],\n });\n }\n }),\n listContainerDocumentsQueryObjectSchema,\n ),\n containerDocumentRuntimeRefinements,\n );\n\nexport type ContainerReadPathParams = z.infer<\n typeof ContainerReadPathParamsSchema\n>;\nexport type ContainerKekLogQuery = z.infer<typeof ContainerKekLogQuerySchema>;\nexport type ListContainerDocumentsQuery = z.infer<\n typeof ListContainerDocumentsQuerySchema\n>;\n\nconst containerReadFailureResponses = {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 409: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n} as const;\n\nconst containerReadFailureStatuses = [400, 401, 403, 404, 409, 500] as const;\n\nexport const getContainerKekLogOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: containerReadFailureResponses,\n failureStatuses: containerReadFailureStatuses,\n id: \"containers.kekLog.get\",\n method: \"GET\",\n params: ContainerReadPathParamsSchema,\n path: \"/containers/{containerId}/kek-log\",\n query: ContainerKekLogQuerySchema,\n responses: { 200: ContainerKekLogResponseSchema },\n runtimeRefinements: containerKekLogResponseRuntimeRefinements,\n});\n\nexport const listContainerDocumentsOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: {\n ...containerReadFailureResponses,\n 404: ContainerNotFoundErrorResponseSchema,\n },\n failureStatuses: containerReadFailureStatuses,\n id: \"containers.documents.list\",\n method: \"GET\",\n params: ContainerReadPathParamsSchema,\n path: \"/containers/{containerId}/documents\",\n query: ListContainerDocumentsQuerySchema,\n responses: { 200: ListContainerDocumentsResponseSchema },\n runtimeRefinements: containerDocumentRuntimeRefinements,\n});\n\nexport const listContainerParentLanesOperation = defineJsonOperation({\n auth: \"session\",\n body: ListContainerParentLanesRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 500],\n id: \"containers.parentLanes.query\",\n method: \"POST\",\n params: z.strictObject({}),\n path: \"/containers/parent-lanes/query\",\n responses: { 200: ListContainerParentLanesResponseSchema },\n runtimeRefinements: containerParentLaneRuntimeRefinements,\n});\n\nexport const isGetContainerKekLogOperationResponse = isContainerKekLogResponse;\nexport const isListContainerDocumentsOperationResponse =\n isListContainerDocumentsResponse;\nexport const isListContainerParentLanesOperationRequest =\n isListContainerParentLanesRequest;\nexport const isListContainerParentLanesOperationResponse =\n isListContainerParentLanesResponse;\n"]}
1
+ {"version":3,"file":"containerReads.js","sourceRoot":"","sources":["containerReads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,uCAAuC,EACvC,yCAAyC,EACzC,qCAAqC,GACtC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EACL,mCAAmC,EACnC,iCAAiC,EACjC,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,YAAY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AAC;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG,mBAAmB,CAAC;IACnE,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,qCAAqC;IAC3C,gBAAgB,EAAE;QAChB,GAAG,EAAE,mBAAmB;QACxB,GAAG,EAAE,4BAA4B;QACjC,GAAG,EAAE,mBAAmB;KACzB;IACD,eAAe,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IAChC,EAAE,EAAE,8BAA8B;IAClC,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC;IAC1B,IAAI,EAAE,gCAAgC;IACtC,SAAS,EAAE,EAAE,GAAG,EAAE,sCAAsC,EAAE;IAC1D,kBAAkB,EAAE,qCAAqC;CAC1D,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qCAAqC,GAAG,yBAAyB,CAAC;AAC/E,MAAM,CAAC,MAAM,4CAA4C,GACvD,mCAAmC,CAAC;AACtC,MAAM,CAAC,MAAM,6CAA6C,GACxD,oCAAoC,CAAC;AACvC,MAAM,CAAC,MAAM,0CAA0C,GACrD,iCAAiC,CAAC;AACpC,MAAM,CAAC,MAAM,2CAA2C,GACtD,kCAAkC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport {\n containerDocumentLaneRuntimeRefinements,\n containerKekLogResponseRuntimeRefinements,\n containerParentLaneRuntimeRefinements,\n} from \"../containerReadRefinements\";\nimport { registerJsonSchemaFragment } from \"../jsonSchema\";\nimport {\n isListContainerDocumentLanesRequest,\n isListContainerParentLanesRequest,\n ListContainerDocumentLanesRequestSchema,\n ListContainerParentLanesRequestSchema,\n} from \"../request\";\nimport {\n ContainerKekLogResponseSchema,\n ErrorResponseSchema,\n isContainerKekLogResponse,\n isListContainerParentLanesResponse,\n ListContainerParentLanesResponseSchema,\n SessionFailureResponseSchema,\n} from \"../response\";\nimport {\n isListContainerDocumentLanesResponse,\n ListContainerDocumentLanesResponseSchema,\n} from \"../response/containerDocumentLanes\";\nimport { loosePlainObject } from \"../schema\";\nimport { MAX_CONTAINER_KEY_EPOCH } from \"../util\";\nimport { defineJsonOperation } from \"./definition\";\n\nconst DIGITS_PATTERN = /^\\d+$/u;\n\nfunction containerKekLogEpochQuerySchema() {\n return registerJsonSchemaFragment(\n z.union([z.number(), z.string()]).refine((value) => {\n if (typeof value === \"string\" && !DIGITS_PATTERN.test(value))\n return false;\n const parsed = Number(value);\n return (\n Number.isSafeInteger(parsed) &&\n parsed > 0 &&\n parsed <= MAX_CONTAINER_KEY_EPOCH\n );\n }, \"Invalid key epoch\"),\n {\n maximum: MAX_CONTAINER_KEY_EPOCH,\n minimum: 1,\n type: \"integer\",\n },\n );\n}\n\nexport const ContainerReadPathParamsSchema = z.strictObject({\n containerId: z.string(),\n});\n\nexport const ContainerKekLogQuerySchema = loosePlainObject({\n keyringForEpoch: containerKekLogEpochQuerySchema().optional(),\n afterKeyEpoch: containerKekLogEpochQuerySchema().optional(),\n});\n\nexport type ContainerReadPathParams = z.infer<\n typeof ContainerReadPathParamsSchema\n>;\nexport type ContainerKekLogQuery = z.infer<typeof ContainerKekLogQuerySchema>;\n\nconst containerReadFailureResponses = {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 409: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n} as const;\n\nconst containerReadFailureStatuses = [400, 401, 403, 404, 409, 500] as const;\n\nexport const getContainerKekLogOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: containerReadFailureResponses,\n failureStatuses: containerReadFailureStatuses,\n id: \"containers.kekLog.get\",\n method: \"GET\",\n params: ContainerReadPathParamsSchema,\n path: \"/containers/{containerId}/kek-log\",\n query: ContainerKekLogQuerySchema,\n responses: { 200: ContainerKekLogResponseSchema },\n runtimeRefinements: containerKekLogResponseRuntimeRefinements,\n});\n\nexport const listContainerDocumentLanesOperation = defineJsonOperation({\n auth: \"session\",\n body: ListContainerDocumentLanesRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 500],\n id: \"containers.documentLanes.query\",\n method: \"POST\",\n params: z.strictObject({}),\n path: \"/containers/documents/query\",\n responses: { 200: ListContainerDocumentLanesResponseSchema },\n runtimeRefinements: containerDocumentLaneRuntimeRefinements,\n});\n\nexport const listContainerParentLanesOperation = defineJsonOperation({\n auth: \"session\",\n body: ListContainerParentLanesRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 500],\n id: \"containers.parentLanes.query\",\n method: \"POST\",\n params: z.strictObject({}),\n path: \"/containers/parent-lanes/query\",\n responses: { 200: ListContainerParentLanesResponseSchema },\n runtimeRefinements: containerParentLaneRuntimeRefinements,\n});\n\nexport const isGetContainerKekLogOperationResponse = isContainerKekLogResponse;\nexport const isListContainerDocumentLanesOperationRequest =\n isListContainerDocumentLanesRequest;\nexport const isListContainerDocumentLanesOperationResponse =\n isListContainerDocumentLanesResponse;\nexport const isListContainerParentLanesOperationRequest =\n isListContainerParentLanesRequest;\nexport const isListContainerParentLanesOperationResponse =\n isListContainerParentLanesResponse;\n"]}
@@ -5,7 +5,7 @@ export { billingWebhookWireHeaderKeys, billingWebhookWireHeaderNames, isReceiveR
5
5
  export { BinaryBodySchema, type BlobBytesPathParams, BlobBytesPathParamsSchema, type BlobBytesResponseHeaders, BlobBytesResponseHeadersSchema, blobWireHeaderKeys, blobWireHeaderNames, getBlobBytesOperation, isUploadMultipartBlobPartBytesOperationResponse, type MultipartBlobPartHeaders, MultipartBlobPartHeadersSchema, type MultipartBlobPartPathParams, MultipartBlobPartPathParamsSchema, uploadMultipartBlobPartBytesOperation, } from "./blobBytes.js";
6
6
  export { type BlobDownloadResponse, BlobDownloadResponseSchema, getBlobDownloadOperation, } from "./blobDownloads.js";
7
7
  export { type ContainerMutationPathParams, ContainerMutationPathParamsSchema, createContainerOperation, createContainerWithMetadataDocumentOperation, deleteContainerOperation, isContainerMutationOperationRequest, isContainerMutationOperationResponse, isContainerRotationOperationRequest, isContainerRotationOperationResponse, isCreateContainerWithMetadataDocumentOperationRequest, isCreateContainerWithMetadataDocumentOperationResponse, isDeleteContainerOperationResponse, moveContainerOperation, reciteContainerOperation, rekeyContainerOperation, revokeContainerOperation, shareContainerOperation, } from "./containerMutations.js";
8
- export { type ContainerKekLogQuery, ContainerKekLogQuerySchema, type ContainerReadPathParams, ContainerReadPathParamsSchema, getContainerKekLogOperation, isGetContainerKekLogOperationResponse, isListContainerDocumentsOperationResponse, isListContainerParentLanesOperationRequest, isListContainerParentLanesOperationResponse, type ListContainerDocumentsQuery, ListContainerDocumentsQuerySchema, listContainerDocumentsOperation, listContainerParentLanesOperation, } from "./containerReads.js";
8
+ export { type ContainerKekLogQuery, ContainerKekLogQuerySchema, type ContainerReadPathParams, ContainerReadPathParamsSchema, getContainerKekLogOperation, isGetContainerKekLogOperationResponse, isListContainerDocumentLanesOperationRequest, isListContainerDocumentLanesOperationResponse, isListContainerParentLanesOperationRequest, isListContainerParentLanesOperationResponse, listContainerDocumentLanesOperation, listContainerParentLanesOperation, } from "./containerReads.js";
9
9
  export { type ContainerReplacementAuthorizationsResponse, ContainerReplacementAuthorizationsResponseSchema, getContainerReplacementAuthorizationsOperation, } from "./containerReplacement.js";
10
10
  export { defineHttpOperation, defineJsonOperation, type HttpOperation, type HttpOperationMediaType, type HttpOperationMethod, type JsonOperation, type JsonOperationMethod, type OperationSchemaInput, type OperationSchemaOutput, operationRequestPath, operationRequestPathForInput, operationRequestPathWithQuery, operationRoutePath, type RuntimeRefinement, } from "./definition.js";
11
11
  export { type DocumentAttributionPathParams, DocumentAttributionPathParamsSchema, type DocumentAttributionRangesQuery, DocumentAttributionRangesQuerySchema, type DocumentAttributionRequestHeaders, DocumentAttributionRequestHeadersSchema, documentAttributionWireHeaderKeys, documentAttributionWireHeaderNames, getDocumentAttributionOperation, isGetDocumentAttributionOperationResponse, isListDocumentAttributionRangesOperationResponse, listDocumentAttributionRangesOperation, } from "./documentAttribution.js";
@@ -5,7 +5,7 @@ export { billingWebhookWireHeaderKeys, billingWebhookWireHeaderNames, isReceiveR
5
5
  export { BinaryBodySchema, BlobBytesPathParamsSchema, BlobBytesResponseHeadersSchema, blobWireHeaderKeys, blobWireHeaderNames, getBlobBytesOperation, isUploadMultipartBlobPartBytesOperationResponse, MultipartBlobPartHeadersSchema, MultipartBlobPartPathParamsSchema, uploadMultipartBlobPartBytesOperation, } from "./blobBytes.js";
6
6
  export { BlobDownloadResponseSchema, getBlobDownloadOperation, } from "./blobDownloads.js";
7
7
  export { ContainerMutationPathParamsSchema, createContainerOperation, createContainerWithMetadataDocumentOperation, deleteContainerOperation, isContainerMutationOperationRequest, isContainerMutationOperationResponse, isContainerRotationOperationRequest, isContainerRotationOperationResponse, isCreateContainerWithMetadataDocumentOperationRequest, isCreateContainerWithMetadataDocumentOperationResponse, isDeleteContainerOperationResponse, moveContainerOperation, reciteContainerOperation, rekeyContainerOperation, revokeContainerOperation, shareContainerOperation, } from "./containerMutations.js";
8
- export { ContainerKekLogQuerySchema, ContainerReadPathParamsSchema, getContainerKekLogOperation, isGetContainerKekLogOperationResponse, isListContainerDocumentsOperationResponse, isListContainerParentLanesOperationRequest, isListContainerParentLanesOperationResponse, ListContainerDocumentsQuerySchema, listContainerDocumentsOperation, listContainerParentLanesOperation, } from "./containerReads.js";
8
+ export { ContainerKekLogQuerySchema, ContainerReadPathParamsSchema, getContainerKekLogOperation, isGetContainerKekLogOperationResponse, isListContainerDocumentLanesOperationRequest, isListContainerDocumentLanesOperationResponse, isListContainerParentLanesOperationRequest, isListContainerParentLanesOperationResponse, listContainerDocumentLanesOperation, listContainerParentLanesOperation, } from "./containerReads.js";
9
9
  export { ContainerReplacementAuthorizationsResponseSchema, getContainerReplacementAuthorizationsOperation, } from "./containerReplacement.js";
10
10
  export { defineHttpOperation, defineJsonOperation, operationRequestPath, operationRequestPathForInput, operationRequestPathWithQuery, operationRoutePath, } from "./definition.js";
11
11
  export { DocumentAttributionPathParamsSchema, DocumentAttributionRangesQuerySchema, DocumentAttributionRequestHeadersSchema, documentAttributionWireHeaderKeys, documentAttributionWireHeaderNames, getDocumentAttributionOperation, isGetDocumentAttributionOperationResponse, isListDocumentAttributionRangesOperationResponse, listDocumentAttributionRangesOperation, } from "./documentAttribution.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAEL,qCAAqC,EAErC,8BAA8B,EAC9B,2BAA2B,EAE3B,mCAAmC,EACnC,6BAA6B,EAC7B,oCAAoC,EACpC,qCAAqC,EACrC,sCAAsC,EACtC,uCAAuC,EACvC,0CAA0C,EAC1C,gCAAgC,GACjC,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,2BAA2B,EAC3B,4BAA4B,EAC5B,iCAAiC,EACjC,+BAA+B,EAC/B,yBAAyB,EACzB,8BAA8B,EAC9B,+BAA+B,EAC/B,+BAA+B,EAC/B,wBAAwB,EACxB,yBAAyB,EACzB,kCAAkC,EAClC,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,wBAAwB,GACzB,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,0CAA0C,EAC1C,2CAA2C,EAC3C,sCAAsC,EACtC,uCAAuC,EAEvC,8BAA8B,EAC9B,iCAAiC,EACjC,6BAA6B,EAE7B,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAEzB,8BAA8B,EAC9B,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,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B,EAC3B,+CAA+C,EAC/C,gDAAgD,EAChD,qCAAqC,EACrC,oCAAoC,EACpC,qCAAqC,EAErC,uCAAuC,EAEvC,+BAA+B,EAC/B,2BAA2B,GAC5B,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,mCAAmC,EAEnC,kCAAkC,GACnC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EACL,wBAAwB,EACxB,kCAAkC,EAClC,qCAAqC,EACrC,gDAAgD,EAChD,2BAA2B,EAC3B,sCAAsC,EACtC,2BAA2B,EAE3B,yBAAyB,EAEzB,4BAA4B,GAC7B,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,qCAAqC,EACrC,4BAA4B,EAC5B,gCAAgC,EAChC,uCAAuC,EACvC,8BAA8B,GAG/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iCAAiC,EACjC,6BAA6B,EAC7B,oCAAoC,EACpC,2BAA2B,EAC3B,iCAAiC,EACjC,2CAA2C,EAC3C,uCAAuC,EACvC,6CAA6C,EAC7C,8CAA8C,EAC9C,oCAAoC,EACpC,qCAAqC,EACrC,2CAA2C,EAE3C,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAEL,yCAAyC,EAEzC,wCAAwC,EACxC,qCAAqC,EACrC,oCAAoC,EACpC,+CAA+C,EAC/C,8CAA8C,GAC/C,MAAM,qBAAqB,CAAC","sourcesContent":["export { apiVersionHeaderName, parseApiVersion } from \"./apiVersion\";\nexport {\n type BlobAttachmentBindingPathParams,\n BlobAttachmentBindingPathParamsSchema,\n type BlobAttachmentPathParams,\n BlobAttachmentPathParamsSchema,\n bindBlobAttachmentOperation,\n type DocumentAttachmentsPathParams,\n DocumentAttachmentsPathParamsSchema,\n detachBlobAttachmentOperation,\n isBindBlobAttachmentOperationRequest,\n isBindBlobAttachmentOperationResponse,\n isDetachBlobAttachmentOperationRequest,\n isDetachBlobAttachmentOperationResponse,\n isListDocumentAttachmentsOperationResponse,\n listDocumentAttachmentsOperation,\n} from \"./attachments\";\nexport {\n challengeOperation,\n destroySessionOperation,\n isChallengeOperationRequest,\n isChallengeOperationResponse,\n isDestroySessionOperationResponse,\n isListSessionsOperationResponse,\n isLogoutOperationResponse,\n isRegistrationOperationRequest,\n isRegistrationOperationResponse,\n isUserIdentityOperationResponse,\n isVerifyOperationRequest,\n isVerifyOperationResponse,\n isWebSocketTicketOperationResponse,\n listSessionsOperation,\n logoutOperation,\n registerOperation,\n userIdentityOperation,\n verifyOperation,\n webSocketTicketOperation,\n} from \"./auth\";\nexport {\n billingWebhookWireHeaderKeys,\n billingWebhookWireHeaderNames,\n isReceiveRevenueCatWebhookOperationRequest,\n isReceiveRevenueCatWebhookOperationResponse,\n isReceiveStripeWebhookOperationRequest,\n isReceiveStripeWebhookOperationResponse,\n type RevenueCatWebhookHeaders,\n RevenueCatWebhookHeadersSchema,\n receiveRevenueCatWebhookOperation,\n receiveStripeWebhookOperation,\n type StripeWebhookHeaders,\n StripeWebhookHeadersSchema,\n} from \"./billingWebhooks\";\nexport {\n BinaryBodySchema,\n type BlobBytesPathParams,\n BlobBytesPathParamsSchema,\n type BlobBytesResponseHeaders,\n BlobBytesResponseHeadersSchema,\n blobWireHeaderKeys,\n blobWireHeaderNames,\n getBlobBytesOperation,\n isUploadMultipartBlobPartBytesOperationResponse,\n type MultipartBlobPartHeaders,\n MultipartBlobPartHeadersSchema,\n type MultipartBlobPartPathParams,\n MultipartBlobPartPathParamsSchema,\n uploadMultipartBlobPartBytesOperation,\n} from \"./blobBytes\";\nexport {\n type BlobDownloadResponse,\n BlobDownloadResponseSchema,\n getBlobDownloadOperation,\n} from \"./blobDownloads\";\nexport {\n type ContainerMutationPathParams,\n ContainerMutationPathParamsSchema,\n createContainerOperation,\n createContainerWithMetadataDocumentOperation,\n deleteContainerOperation,\n isContainerMutationOperationRequest,\n isContainerMutationOperationResponse,\n isContainerRotationOperationRequest,\n isContainerRotationOperationResponse,\n isCreateContainerWithMetadataDocumentOperationRequest,\n isCreateContainerWithMetadataDocumentOperationResponse,\n isDeleteContainerOperationResponse,\n moveContainerOperation,\n reciteContainerOperation,\n rekeyContainerOperation,\n revokeContainerOperation,\n shareContainerOperation,\n} from \"./containerMutations\";\nexport {\n type ContainerKekLogQuery,\n ContainerKekLogQuerySchema,\n type ContainerReadPathParams,\n ContainerReadPathParamsSchema,\n getContainerKekLogOperation,\n isGetContainerKekLogOperationResponse,\n isListContainerDocumentsOperationResponse,\n isListContainerParentLanesOperationRequest,\n isListContainerParentLanesOperationResponse,\n type ListContainerDocumentsQuery,\n ListContainerDocumentsQuerySchema,\n listContainerDocumentsOperation,\n listContainerParentLanesOperation,\n} from \"./containerReads\";\nexport {\n type ContainerReplacementAuthorizationsResponse,\n ContainerReplacementAuthorizationsResponseSchema,\n getContainerReplacementAuthorizationsOperation,\n} from \"./containerReplacement\";\nexport {\n defineHttpOperation,\n defineJsonOperation,\n type HttpOperation,\n type HttpOperationMediaType,\n type HttpOperationMethod,\n type JsonOperation,\n type JsonOperationMethod,\n type OperationSchemaInput,\n type OperationSchemaOutput,\n operationRequestPath,\n operationRequestPathForInput,\n operationRequestPathWithQuery,\n operationRoutePath,\n type RuntimeRefinement,\n} from \"./definition\";\nexport {\n type DocumentAttributionPathParams,\n DocumentAttributionPathParamsSchema,\n type DocumentAttributionRangesQuery,\n DocumentAttributionRangesQuerySchema,\n type DocumentAttributionRequestHeaders,\n DocumentAttributionRequestHeadersSchema,\n documentAttributionWireHeaderKeys,\n documentAttributionWireHeaderNames,\n getDocumentAttributionOperation,\n isGetDocumentAttributionOperationResponse,\n isListDocumentAttributionRangesOperationResponse,\n listDocumentAttributionRangesOperation,\n} from \"./documentAttribution\";\nexport {\n createDocumentOperation,\n type DocumentMutationPathParams,\n DocumentMutationPathParamsSchema,\n type DocumentPurgeProofQuery,\n DocumentPurgeProofQuerySchema,\n getDocumentPurgeProofOperation,\n isCreateDocumentOperationRequest,\n isCreateDocumentOperationResponse,\n isDocumentLinkSetMutationOperationRequest,\n isDocumentLinkSetMutationOperationResponse,\n isGetDocumentPurgeProofOperationResponse,\n isPurgeDocumentOperationRequest,\n isPurgeDocumentOperationResponse,\n linkDocumentOperation,\n purgeDocumentOperation,\n unlinkDocumentOperation,\n} from \"./documentMutations\";\nexport {\n type DocumentSyncPathParams,\n DocumentSyncPathParamsSchema,\n documentSyncOperation,\n isDocumentSyncOperationRequest,\n isDocumentSyncOperationResponse,\n} from \"./documentSync\";\nexport {\n operationRequestHeaderNames,\n operationResponseHeaderNames,\n} from \"./headerNames\";\nexport {\n getHealthOperation,\n isGetHealthOperationResponse,\n} from \"./health\";\nexport {\n getMultipartBlobStageOperation,\n initiateMultipartBlobStageOperation,\n isGetMultipartBlobStageOperationResponse,\n isInitiateMultipartBlobStageOperationRequest,\n isInitiateMultipartBlobStageOperationResponse,\n type MultipartBlobStagePathParams,\n MultipartBlobStagePathParamsSchema,\n} from \"./multipartBlobs\";\nexport {\n authorizeMultipartBlobPartUploadOperation,\n type MultipartBlobPartUploadRequest,\n MultipartBlobPartUploadRequestSchema,\n type MultipartBlobPartUploadResponse,\n MultipartBlobPartUploadResponseSchema,\n} from \"./multipartPartUploads\";\nexport {\n claimNativeOrganizationSubscriptionOperation,\n getOrganizationBillingHistoryOperation,\n getOrganizationBillingManagementUrlOperation,\n getOrganizationBillingOperation,\n getOrganizationNativePurchaseEligibilityOperation,\n isClaimNativeOrganizationSubscriptionOperationResponse,\n isGetOrganizationBillingHistoryOperationResponse,\n isGetOrganizationBillingManagementUrlOperationResponse,\n isGetOrganizationBillingOperationResponse,\n isGetOrganizationNativePurchaseEligibilityOperationResponse,\n isStartOrganizationTrialOperationResponse,\n type OrganizationBillingNativeClaimPathParams,\n OrganizationBillingNativeClaimPathParamsSchema,\n type OrganizationBillingNativeEligibilityQuery,\n OrganizationBillingNativeEligibilityQuerySchema,\n type OrganizationBillingPathParams,\n OrganizationBillingPathParamsSchema,\n startOrganizationTrialOperation,\n} from \"./organizationBilling\";\nexport { getOrganizationPolicyHistoryOperation } from \"./organizationPolicyHistory\";\nexport {\n createOrganizationGroupOperation,\n createOrganizationOperation,\n deleteOrganizationGroupOperation,\n getOrganizationDataUsageOperation,\n getOrganizationReadModelOperation,\n isCreateOrganizationGroupOperationRequest,\n isCreateOrganizationGroupOperationResponse,\n isCreateOrganizationOperationRequest,\n isCreateOrganizationOperationResponse,\n isDeleteOrganizationGroupOperationResponse,\n isGetOrganizationDataUsageOperationResponse,\n isGetOrganizationReadModelOperationResponse,\n isListOrganizationGroupMembersOperationResponse,\n isUpdateOrganizationProfileOperationRequest,\n isUpdateOrganizationProfileOperationResponse,\n isUpdateOrganizationRosterEntryOperationRequest,\n isUpdateOrganizationRosterEntryOperationResponse,\n listOrganizationGroupMembersOperation,\n type OrganizationGroupPathParams,\n OrganizationGroupPathParamsSchema,\n type OrganizationPathParams,\n OrganizationPathParamsSchema,\n type OrganizationRosterPathParams,\n OrganizationRosterPathParamsSchema,\n updateOrganizationProfileOperation,\n updateOrganizationRosterEntryOperation,\n} from \"./organizations\";\nexport {\n type PrincipalPolicyPageQuery,\n PrincipalPolicyPageQuerySchema,\n} from \"./principalPolicyPageQuery\";\nexport {\n commitOrganizationGroupPolicyOperation,\n getPrincipalPolicyOperation,\n isCommitOrganizationGroupPolicyOperationRequest,\n isCommitOrganizationGroupPolicyOperationResponse,\n isGetPrincipalPolicyOperationResponse,\n isPutPrincipalPolicyOperationRequest,\n isPutPrincipalPolicyOperationResponse,\n type OrganizationGroupPolicyPathParams,\n OrganizationGroupPolicyPathParamsSchema,\n type PrincipalPolicyPathParams,\n PrincipalPolicyPathParamsSchema,\n putPrincipalPolicyOperation,\n} from \"./principals\";\nexport {\n getProjectionPolicyHistoryOperation,\n type ProjectionPolicyHistoryQuery,\n ProjectionPolicyHistoryQuerySchema,\n} from \"./projectionPolicyHistory\";\nexport { protocolOperations } from \"./registry\";\nexport {\n getRootIdentityOperation,\n isGetRootIdentityOperationResponse,\n isListRootIdentitiesOperationResponse,\n isListRootIdentityOrganizationsOperationResponse,\n listRootIdentitiesOperation,\n listRootIdentityOrganizationsOperation,\n MAX_ROOT_IDENTITY_PAGE_SIZE,\n type RootIdentitiesQuery,\n RootIdentitiesQuerySchema,\n type RootIdentityPathParams,\n RootIdentityPathParamsSchema,\n} from \"./root\";\nexport {\n getRootOrganizationDataUsageOperation,\n getRootOrganizationOperation,\n listRootDataUsageReportOperation,\n listRootOrganizationIdentitiesOperation,\n listRootOrganizationsOperation,\n type RootOrganizationPageQuery,\n type RootOrganizationsQuery,\n} from \"./rootOrganizations\";\nexport {\n cancelStripeSubscriptionOperation,\n createStripeCheckoutOperation,\n createStripeCheckoutSessionOperation,\n createStripePortalOperation,\n getStripeCheckoutOptionsOperation,\n isCancelStripeSubscriptionOperationResponse,\n isCreateStripeCheckoutOperationResponse,\n isCreateStripeCheckoutSessionOperationRequest,\n isCreateStripeCheckoutSessionOperationResponse,\n isCreateStripePortalOperationRequest,\n isCreateStripePortalOperationResponse,\n isGetStripeCheckoutOptionsOperationResponse,\n type StripeCheckoutPathParams,\n StripeCheckoutPathParamsSchema,\n} from \"./stripeCheckout\";\nexport {\n type ContainerWriterProjectionPathParams,\n ContainerWriterProjectionPathParamsSchema,\n type DocumentWriterProjectionPathParams,\n DocumentWriterProjectionPathParamsSchema,\n getContainerWriterProjectionOperation,\n getDocumentWriterProjectionOperation,\n isGetContainerWriterProjectionOperationResponse,\n isGetDocumentWriterProjectionOperationResponse,\n} from \"./writerProjections\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAEL,qCAAqC,EAErC,8BAA8B,EAC9B,2BAA2B,EAE3B,mCAAmC,EACnC,6BAA6B,EAC7B,oCAAoC,EACpC,qCAAqC,EACrC,sCAAsC,EACtC,uCAAuC,E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,EACjC,6BAA6B,EAC7B,oCAAoC,EACpC,2BAA2B,EAC3B,iCAAiC,EACjC,2CAA2C,EAC3C,uCAAuC,EACvC,6CAA6C,EAC7C,8CAA8C,EAC9C,oCAAoC,EACpC,qCAAqC,EACrC,2CAA2C,EAE3C,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAEL,yCAAyC,EAEzC,wCAAwC,EACxC,qCAAqC,EACrC,oCAAoC,EACpC,+CAA+C,EAC/C,8CAA8C,GAC/C,MAAM,qBAAqB,CAAC","sourcesContent":["export { apiVersionHeaderName, parseApiVersion } from \"./apiVersion\";\nexport {\n type BlobAttachmentBindingPathParams,\n BlobAttachmentBindingPathParamsSchema,\n type BlobAttachmentPathParams,\n BlobAttachmentPathParamsSchema,\n bindBlobAttachmentOperation,\n type DocumentAttachmentsPathParams,\n DocumentAttachmentsPathParamsSchema,\n detachBlobAttachmentOperation,\n isBindBlobAttachmentOperationRequest,\n isBindBlobAttachmentOperationResponse,\n isDetachBlobAttachmentOperationRequest,\n isDetachBlobAttachmentOperationResponse,\n isListDocumentAttachmentsOperationResponse,\n listDocumentAttachmentsOperation,\n} from \"./attachments\";\nexport {\n challengeOperation,\n destroySessionOperation,\n isChallengeOperationRequest,\n isChallengeOperationResponse,\n isDestroySessionOperationResponse,\n isListSessionsOperationResponse,\n isLogoutOperationResponse,\n isRegistrationOperationRequest,\n isRegistrationOperationResponse,\n isUserIdentityOperationResponse,\n isVerifyOperationRequest,\n isVerifyOperationResponse,\n isWebSocketTicketOperationResponse,\n listSessionsOperation,\n logoutOperation,\n registerOperation,\n userIdentityOperation,\n verifyOperation,\n webSocketTicketOperation,\n} from \"./auth\";\nexport {\n billingWebhookWireHeaderKeys,\n billingWebhookWireHeaderNames,\n isReceiveRevenueCatWebhookOperationRequest,\n isReceiveRevenueCatWebhookOperationResponse,\n isReceiveStripeWebhookOperationRequest,\n isReceiveStripeWebhookOperationResponse,\n type RevenueCatWebhookHeaders,\n RevenueCatWebhookHeadersSchema,\n receiveRevenueCatWebhookOperation,\n receiveStripeWebhookOperation,\n type StripeWebhookHeaders,\n StripeWebhookHeadersSchema,\n} from \"./billingWebhooks\";\nexport {\n BinaryBodySchema,\n type BlobBytesPathParams,\n BlobBytesPathParamsSchema,\n type BlobBytesResponseHeaders,\n BlobBytesResponseHeadersSchema,\n blobWireHeaderKeys,\n blobWireHeaderNames,\n getBlobBytesOperation,\n isUploadMultipartBlobPartBytesOperationResponse,\n type MultipartBlobPartHeaders,\n MultipartBlobPartHeadersSchema,\n type MultipartBlobPartPathParams,\n MultipartBlobPartPathParamsSchema,\n uploadMultipartBlobPartBytesOperation,\n} from \"./blobBytes\";\nexport {\n type BlobDownloadResponse,\n BlobDownloadResponseSchema,\n getBlobDownloadOperation,\n} from \"./blobDownloads\";\nexport {\n type ContainerMutationPathParams,\n ContainerMutationPathParamsSchema,\n createContainerOperation,\n createContainerWithMetadataDocumentOperation,\n deleteContainerOperation,\n isContainerMutationOperationRequest,\n isContainerMutationOperationResponse,\n isContainerRotationOperationRequest,\n isContainerRotationOperationResponse,\n isCreateContainerWithMetadataDocumentOperationRequest,\n isCreateContainerWithMetadataDocumentOperationResponse,\n isDeleteContainerOperationResponse,\n moveContainerOperation,\n reciteContainerOperation,\n rekeyContainerOperation,\n revokeContainerOperation,\n shareContainerOperation,\n} from \"./containerMutations\";\nexport {\n type ContainerKekLogQuery,\n ContainerKekLogQuerySchema,\n type ContainerReadPathParams,\n ContainerReadPathParamsSchema,\n getContainerKekLogOperation,\n isGetContainerKekLogOperationResponse,\n isListContainerDocumentLanesOperationRequest,\n isListContainerDocumentLanesOperationResponse,\n isListContainerParentLanesOperationRequest,\n isListContainerParentLanesOperationResponse,\n listContainerDocumentLanesOperation,\n listContainerParentLanesOperation,\n} from \"./containerReads\";\nexport {\n type ContainerReplacementAuthorizationsResponse,\n ContainerReplacementAuthorizationsResponseSchema,\n getContainerReplacementAuthorizationsOperation,\n} from \"./containerReplacement\";\nexport {\n defineHttpOperation,\n defineJsonOperation,\n type HttpOperation,\n type HttpOperationMediaType,\n type HttpOperationMethod,\n type JsonOperation,\n type JsonOperationMethod,\n type OperationSchemaInput,\n type OperationSchemaOutput,\n operationRequestPath,\n operationRequestPathForInput,\n operationRequestPathWithQuery,\n operationRoutePath,\n type RuntimeRefinement,\n} from \"./definition\";\nexport {\n type DocumentAttributionPathParams,\n DocumentAttributionPathParamsSchema,\n type DocumentAttributionRangesQuery,\n DocumentAttributionRangesQuerySchema,\n type DocumentAttributionRequestHeaders,\n DocumentAttributionRequestHeadersSchema,\n documentAttributionWireHeaderKeys,\n documentAttributionWireHeaderNames,\n getDocumentAttributionOperation,\n isGetDocumentAttributionOperationResponse,\n isListDocumentAttributionRangesOperationResponse,\n listDocumentAttributionRangesOperation,\n} from \"./documentAttribution\";\nexport {\n createDocumentOperation,\n type DocumentMutationPathParams,\n DocumentMutationPathParamsSchema,\n type DocumentPurgeProofQuery,\n DocumentPurgeProofQuerySchema,\n getDocumentPurgeProofOperation,\n isCreateDocumentOperationRequest,\n isCreateDocumentOperationResponse,\n isDocumentLinkSetMutationOperationRequest,\n isDocumentLinkSetMutationOperationResponse,\n isGetDocumentPurgeProofOperationResponse,\n isPurgeDocumentOperationRequest,\n isPurgeDocumentOperationResponse,\n linkDocumentOperation,\n purgeDocumentOperation,\n unlinkDocumentOperation,\n} from \"./documentMutations\";\nexport {\n type DocumentSyncPathParams,\n DocumentSyncPathParamsSchema,\n documentSyncOperation,\n isDocumentSyncOperationRequest,\n isDocumentSyncOperationResponse,\n} from \"./documentSync\";\nexport {\n operationRequestHeaderNames,\n operationResponseHeaderNames,\n} from \"./headerNames\";\nexport {\n getHealthOperation,\n isGetHealthOperationResponse,\n} from \"./health\";\nexport {\n getMultipartBlobStageOperation,\n initiateMultipartBlobStageOperation,\n isGetMultipartBlobStageOperationResponse,\n isInitiateMultipartBlobStageOperationRequest,\n isInitiateMultipartBlobStageOperationResponse,\n type MultipartBlobStagePathParams,\n MultipartBlobStagePathParamsSchema,\n} from \"./multipartBlobs\";\nexport {\n authorizeMultipartBlobPartUploadOperation,\n type MultipartBlobPartUploadRequest,\n MultipartBlobPartUploadRequestSchema,\n type MultipartBlobPartUploadResponse,\n MultipartBlobPartUploadResponseSchema,\n} from \"./multipartPartUploads\";\nexport {\n claimNativeOrganizationSubscriptionOperation,\n getOrganizationBillingHistoryOperation,\n getOrganizationBillingManagementUrlOperation,\n getOrganizationBillingOperation,\n getOrganizationNativePurchaseEligibilityOperation,\n isClaimNativeOrganizationSubscriptionOperationResponse,\n isGetOrganizationBillingHistoryOperationResponse,\n isGetOrganizationBillingManagementUrlOperationResponse,\n isGetOrganizationBillingOperationResponse,\n isGetOrganizationNativePurchaseEligibilityOperationResponse,\n isStartOrganizationTrialOperationResponse,\n type OrganizationBillingNativeClaimPathParams,\n OrganizationBillingNativeClaimPathParamsSchema,\n type OrganizationBillingNativeEligibilityQuery,\n OrganizationBillingNativeEligibilityQuerySchema,\n type OrganizationBillingPathParams,\n OrganizationBillingPathParamsSchema,\n startOrganizationTrialOperation,\n} from \"./organizationBilling\";\nexport { getOrganizationPolicyHistoryOperation } from \"./organizationPolicyHistory\";\nexport {\n createOrganizationGroupOperation,\n createOrganizationOperation,\n deleteOrganizationGroupOperation,\n getOrganizationDataUsageOperation,\n getOrganizationReadModelOperation,\n isCreateOrganizationGroupOperationRequest,\n isCreateOrganizationGroupOperationResponse,\n isCreateOrganizationOperationRequest,\n isCreateOrganizationOperationResponse,\n isDeleteOrganizationGroupOperationResponse,\n isGetOrganizationDataUsageOperationResponse,\n isGetOrganizationReadModelOperationResponse,\n isListOrganizationGroupMembersOperationResponse,\n isUpdateOrganizationProfileOperationRequest,\n isUpdateOrganizationProfileOperationResponse,\n isUpdateOrganizationRosterEntryOperationRequest,\n isUpdateOrganizationRosterEntryOperationResponse,\n listOrganizationGroupMembersOperation,\n type OrganizationGroupPathParams,\n OrganizationGroupPathParamsSchema,\n type OrganizationPathParams,\n OrganizationPathParamsSchema,\n type OrganizationRosterPathParams,\n OrganizationRosterPathParamsSchema,\n updateOrganizationProfileOperation,\n updateOrganizationRosterEntryOperation,\n} from \"./organizations\";\nexport {\n type PrincipalPolicyPageQuery,\n PrincipalPolicyPageQuerySchema,\n} from \"./principalPolicyPageQuery\";\nexport {\n commitOrganizationGroupPolicyOperation,\n getPrincipalPolicyOperation,\n isCommitOrganizationGroupPolicyOperationRequest,\n isCommitOrganizationGroupPolicyOperationResponse,\n isGetPrincipalPolicyOperationResponse,\n isPutPrincipalPolicyOperationRequest,\n isPutPrincipalPolicyOperationResponse,\n type OrganizationGroupPolicyPathParams,\n OrganizationGroupPolicyPathParamsSchema,\n type PrincipalPolicyPathParams,\n PrincipalPolicyPathParamsSchema,\n putPrincipalPolicyOperation,\n} from \"./principals\";\nexport {\n getProjectionPolicyHistoryOperation,\n type ProjectionPolicyHistoryQuery,\n ProjectionPolicyHistoryQuerySchema,\n} from \"./projectionPolicyHistory\";\nexport { protocolOperations } from \"./registry\";\nexport {\n getRootIdentityOperation,\n isGetRootIdentityOperationResponse,\n isListRootIdentitiesOperationResponse,\n isListRootIdentityOrganizationsOperationResponse,\n listRootIdentitiesOperation,\n listRootIdentityOrganizationsOperation,\n MAX_ROOT_IDENTITY_PAGE_SIZE,\n type RootIdentitiesQuery,\n RootIdentitiesQuerySchema,\n type RootIdentityPathParams,\n RootIdentityPathParamsSchema,\n} from \"./root\";\nexport {\n getRootOrganizationDataUsageOperation,\n getRootOrganizationOperation,\n listRootDataUsageReportOperation,\n listRootOrganizationIdentitiesOperation,\n listRootOrganizationsOperation,\n type RootOrganizationPageQuery,\n type RootOrganizationsQuery,\n} from \"./rootOrganizations\";\nexport {\n cancelStripeSubscriptionOperation,\n createStripeCheckoutOperation,\n createStripeCheckoutSessionOperation,\n createStripePortalOperation,\n getStripeCheckoutOptionsOperation,\n isCancelStripeSubscriptionOperationResponse,\n isCreateStripeCheckoutOperationResponse,\n isCreateStripeCheckoutSessionOperationRequest,\n isCreateStripeCheckoutSessionOperationResponse,\n isCreateStripePortalOperationRequest,\n isCreateStripePortalOperationResponse,\n isGetStripeCheckoutOptionsOperationResponse,\n type StripeCheckoutPathParams,\n StripeCheckoutPathParamsSchema,\n} from \"./stripeCheckout\";\nexport {\n type ContainerWriterProjectionPathParams,\n ContainerWriterProjectionPathParamsSchema,\n type DocumentWriterProjectionPathParams,\n DocumentWriterProjectionPathParamsSchema,\n getContainerWriterProjectionOperation,\n getDocumentWriterProjectionOperation,\n isGetContainerWriterProjectionOperationResponse,\n isGetDocumentWriterProjectionOperationResponse,\n} from \"./writerProjections\";\n"]}
@@ -4,7 +4,7 @@ import { receiveRevenueCatWebhookOperation, receiveStripeWebhookOperation } from
4
4
  import { getBlobBytesOperation, uploadMultipartBlobPartBytesOperation } from "./blobBytes.js";
5
5
  import { getBlobDownloadOperation } from "./blobDownloads.js";
6
6
  import { createContainerOperation, createContainerWithMetadataDocumentOperation, deleteContainerOperation, moveContainerOperation, reciteContainerOperation, rekeyContainerOperation, revokeContainerOperation, shareContainerOperation } from "./containerMutations.js";
7
- import { getContainerKekLogOperation, listContainerDocumentsOperation, listContainerParentLanesOperation } from "./containerReads.js";
7
+ import { getContainerKekLogOperation, listContainerDocumentLanesOperation, listContainerParentLanesOperation } from "./containerReads.js";
8
8
  import { getContainerReplacementAuthorizationsOperation } from "./containerReplacement.js";
9
9
  import { getDocumentAttributionOperation, listDocumentAttributionRangesOperation } from "./documentAttribution.js";
10
10
  import { createDocumentOperation, getDocumentPurgeProofOperation, linkDocumentOperation, purgeDocumentOperation, unlinkDocumentOperation } from "./documentMutations.js";
@@ -51,7 +51,7 @@ export declare const protocolOperations: readonly [
51
51
  typeof purgeDocumentOperation,
52
52
  typeof unlinkDocumentOperation,
53
53
  typeof getContainerKekLogOperation,
54
- typeof listContainerDocumentsOperation,
54
+ typeof listContainerDocumentLanesOperation,
55
55
  typeof listContainerParentLanesOperation,
56
56
  typeof createContainerOperation,
57
57
  typeof createContainerWithMetadataDocumentOperation,