@tearleads/client-sdk 0.1.243 → 0.1.244

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 (111) hide show
  1. package/client/organizations/principalMutations.d.ts +5 -0
  2. package/data/containers/shared/mutationAcknowledgement.d.ts +1 -1
  3. package/data/containers/shared/mutationAcknowledgement.js +3 -8
  4. package/data/containers/shared/mutationAcknowledgement.js.map +1 -1
  5. package/data/documents/shared/sync/mutationAcknowledgement.js +11 -2
  6. package/data/documents/shared/sync/mutationAcknowledgement.js.map +1 -1
  7. package/data/keyingProjectionVerification/checkpoints/heldBundleRecovery.d.ts +26 -0
  8. package/data/keyingProjectionVerification/checkpoints/heldBundleRecovery.js +46 -0
  9. package/data/keyingProjectionVerification/checkpoints/heldBundleRecovery.js.map +1 -0
  10. package/data/keyingProjectionVerification/container/containerDestinationVerification.d.ts +7 -4
  11. package/data/keyingProjectionVerification/container/containerDestinationVerification.js +5 -1
  12. package/data/keyingProjectionVerification/container/containerDestinationVerification.js.map +1 -1
  13. package/data/keyingProjectionVerification/container/containerProjectionVerification.js +9 -2
  14. package/data/keyingProjectionVerification/container/containerProjectionVerification.js.map +1 -1
  15. package/data/keyingProjectionVerification/document/documentContainerProjections.js +2 -1
  16. package/data/keyingProjectionVerification/document/documentContainerProjections.js.map +1 -1
  17. package/data/keyingProjectionVerification/document/documentProjectionVerification.js +9 -2
  18. package/data/keyingProjectionVerification/document/documentProjectionVerification.js.map +1 -1
  19. package/data/keyingProjectionVerification/index.d.ts +1 -0
  20. package/data/keyingProjectionVerification/index.js +1 -0
  21. package/data/keyingProjectionVerification/index.js.map +1 -1
  22. package/data/persistence/keyingCheckpoints/keyingCheckpointRepository.js +16 -4
  23. package/data/persistence/keyingCheckpoints/keyingCheckpointRepository.js.map +1 -1
  24. package/data/persistence/keyingCheckpoints/locallyAcknowledgedCheckpointPersistence.d.ts +13 -0
  25. package/data/persistence/keyingCheckpoints/locallyAcknowledgedCheckpointPersistence.js +11 -0
  26. package/data/persistence/keyingCheckpoints/locallyAcknowledgedCheckpointPersistence.js.map +1 -1
  27. package/data/persistence/verifiedCitations/authoredBundleCitation.d.ts +20 -0
  28. package/data/persistence/verifiedCitations/authoredBundleCitation.js +32 -0
  29. package/data/persistence/verifiedCitations/authoredBundleCitation.js.map +1 -0
  30. package/data/persistence/verifiedManifestBundlePersistence.d.ts +10 -0
  31. package/data/persistence/verifiedManifestBundlePersistence.js +95 -9
  32. package/data/persistence/verifiedManifestBundlePersistence.js.map +1 -1
  33. package/internal/api-client/ApiClient.d.ts +55 -0
  34. package/internal/api-client/client/containerMutations.d.ts +11 -0
  35. package/internal/api-client/client/documents.d.ts +5 -0
  36. package/internal/api-client/client/organizations.d.ts +20 -0
  37. package/internal/api-client/client/principalPolicies.d.ts +9 -0
  38. package/internal/api-client/client/session.d.ts +10 -0
  39. package/internal/api-client/principalPolicyRequests.d.ts +7 -0
  40. package/internal/api-client/writerProjectionCitations.d.ts +3 -0
  41. package/internal/api-client/writerProjectionCitations.js +12 -0
  42. package/internal/api-client/writerProjectionCitations.js.map +1 -1
  43. package/internal/crypto/index.d.ts +1 -1
  44. package/internal/crypto/index.js +1 -1
  45. package/internal/crypto/index.js.map +1 -1
  46. package/internal/crypto/keying/canonicalJsonGuard.d.ts +13 -0
  47. package/internal/crypto/keying/canonicalJsonGuard.js +23 -0
  48. package/internal/crypto/keying/canonicalJsonGuard.js.map +1 -1
  49. package/internal/crypto/keying/index.d.ts +1 -1
  50. package/internal/crypto/keying/index.js +1 -1
  51. package/internal/crypto/keying/index.js.map +1 -1
  52. package/internal/crypto/keying/keyingHashDomains.d.ts +1 -1
  53. package/internal/crypto/keying/keyingHashDomains.js.map +1 -1
  54. package/internal/validators/operation/auth.d.ts +40 -0
  55. package/internal/validators/operation/containerMutations.d.ts +44 -0
  56. package/internal/validators/operation/documentMutations.d.ts +12 -0
  57. package/internal/validators/operation/organizations.d.ts +48 -0
  58. package/internal/validators/operation/principals.d.ts +16 -0
  59. package/internal/validators/response/areas/containers.d.ts +1 -1
  60. package/internal/validators/response/areas/containers.js +1 -1
  61. package/internal/validators/response/areas/containers.js.map +1 -1
  62. package/internal/validators/response/container.d.ts +16 -0
  63. package/internal/validators/response/container.js +3 -0
  64. package/internal/validators/response/container.js.map +1 -1
  65. package/internal/validators/response/containerMetadata.d.ts +8 -0
  66. package/internal/validators/response/documentMutation.d.ts +8 -0
  67. package/internal/validators/response/documentMutation.js +2 -1
  68. package/internal/validators/response/documentMutation.js.map +1 -1
  69. package/internal/validators/response/organization.d.ts +8 -0
  70. package/internal/validators/response/organizationProvisioning.d.ts +113 -0
  71. package/internal/validators/response/organizationProvisioning.js +2 -1
  72. package/internal/validators/response/organizationProvisioning.js.map +1 -1
  73. package/internal/validators/response/principal.d.ts +16 -0
  74. package/internal/validators/response/registration.d.ts +40 -0
  75. package/internal/validators/response/writerProjectionWire.d.ts +25 -0
  76. package/internal/validators/response/writerProjectionWire.js +109 -3
  77. package/internal/validators/response/writerProjectionWire.js.map +1 -1
  78. package/package.json +1 -1
  79. package/stores/documents/documentStore/rotation/index.js +3 -1
  80. package/stores/documents/documentStore/rotation/index.js.map +1 -1
  81. package/stores/documents/documentStore/sync/syncAttachments.js +4 -1
  82. package/stores/documents/documentStore/sync/syncAttachments.js.map +1 -1
  83. package/stores/documents/documentStore/sync/syncDetachedAttachments.js +3 -1
  84. package/stores/documents/documentStore/sync/syncDetachedAttachments.js.map +1 -1
  85. package/stores/documents/documentStore/sync/syncRequest.js +3 -1
  86. package/stores/documents/documentStore/sync/syncRequest.js.map +1 -1
  87. package/workflows/container-contents/container-state/create/createAdoption.js +11 -3
  88. package/workflows/container-contents/container-state/create/createAdoption.js.map +1 -1
  89. package/workflows/container-contents/container-state/create/createWithMetadata.js +2 -2
  90. package/workflows/container-contents/container-state/create/createWithMetadata.js.map +1 -1
  91. package/workflows/container-contents/container-state/projectionCache.js +3 -0
  92. package/workflows/container-contents/container-state/projectionCache.js.map +1 -1
  93. package/workflows/container-contents/metadata/index.js +5 -2
  94. package/workflows/container-contents/metadata/index.js.map +1 -1
  95. package/workflows/containers/child/recite.js +4 -2
  96. package/workflows/containers/child/recite.js.map +1 -1
  97. package/workflows/documents/create/createAdoption.js +11 -2
  98. package/workflows/documents/create/createAdoption.js.map +1 -1
  99. package/workflows/documents/create/createResponse.js +1 -0
  100. package/workflows/documents/create/createResponse.js.map +1 -1
  101. package/workflows/documents/linkSet/linkSetRemote.js +1 -0
  102. package/workflows/documents/linkSet/linkSetRemote.js.map +1 -1
  103. package/workflows/documents/sync/syncAttemptPlanning.js +8 -2
  104. package/workflows/documents/sync/syncAttemptPlanning.js.map +1 -1
  105. package/workflows/documents/syncRekeys/syncAutomaticContainerRekeys.js +3 -2
  106. package/workflows/documents/syncRekeys/syncAutomaticContainerRekeys.js.map +1 -1
  107. package/workflows/documents/syncRekeys/syncContainerRekeyProjection.js +3 -2
  108. package/workflows/documents/syncRekeys/syncContainerRekeyProjection.js.map +1 -1
  109. package/workflows/registration/organizationCreation/organizationCreationIntent.d.ts +10 -0
  110. package/workflows/registration/provisioningAcknowledgement.js +16 -11
  111. package/workflows/registration/provisioningAcknowledgement.js.map +1 -1
@@ -13,6 +13,7 @@ export declare const organizationProvisioningResponseShape: {
13
13
  keyTargetHash: string;
14
14
  parentContainerKeyEpochId: string | null;
15
15
  };
16
+ bundleDigest: string;
16
17
  containerId: string;
17
18
  createdAt: string;
18
19
  eventHash: string;
@@ -27,6 +28,7 @@ export declare const organizationProvisioningResponseShape: {
27
28
  };
28
29
  metadataDocument: {
29
30
  createdAt: string;
31
+ bundleDigest: string;
30
32
  contentKeyEpoch: number;
31
33
  eventHash: string;
32
34
  id: string;
@@ -48,6 +50,7 @@ export declare const organizationProvisioningResponseShape: {
48
50
  keyTargetHash: string;
49
51
  parentContainerKeyEpochId: string | null;
50
52
  };
53
+ bundleDigest: string;
51
54
  containerId: string;
52
55
  createdAt: string;
53
56
  eventHash: string;
@@ -62,6 +65,7 @@ export declare const organizationProvisioningResponseShape: {
62
65
  };
63
66
  metadataDocument: {
64
67
  createdAt: string;
68
+ bundleDigest: string;
65
69
  contentKeyEpoch: number;
66
70
  eventHash: string;
67
71
  id: string;
@@ -83,6 +87,7 @@ export declare const organizationProvisioningResponseShape: {
83
87
  keyTargetHash: string;
84
88
  parentContainerKeyEpochId: string | null;
85
89
  };
90
+ bundleDigest: string;
86
91
  containerId: string;
87
92
  createdAt: string;
88
93
  eventHash: string;
@@ -97,6 +102,7 @@ export declare const organizationProvisioningResponseShape: {
97
102
  };
98
103
  metadataDocument: {
99
104
  createdAt: string;
105
+ bundleDigest: string;
100
106
  contentKeyEpoch: number;
101
107
  eventHash: string;
102
108
  id: string;
@@ -118,6 +124,7 @@ export declare const organizationProvisioningResponseShape: {
118
124
  keyTargetHash: string;
119
125
  parentContainerKeyEpochId: string | null;
120
126
  };
127
+ bundleDigest: string;
121
128
  containerId: string;
122
129
  createdAt: string;
123
130
  eventHash: string;
@@ -132,6 +139,7 @@ export declare const organizationProvisioningResponseShape: {
132
139
  };
133
140
  metadataDocument: {
134
141
  createdAt: string;
142
+ bundleDigest: string;
135
143
  contentKeyEpoch: number;
136
144
  eventHash: string;
137
145
  id: string;
@@ -147,6 +155,7 @@ export declare const organizationProvisioningResponseShape: {
147
155
  organizationMetadataContainerId: z.ZodString;
148
156
  organizationProfileDocument: z.ZodOptional<z.ZodType<{
149
157
  createdAt: string;
158
+ bundleDigest: string;
150
159
  contentKeyEpoch: number;
151
160
  eventHash: string;
152
161
  id: string;
@@ -159,6 +168,7 @@ export declare const organizationProvisioningResponseShape: {
159
168
  } | undefined;
160
169
  }, {
161
170
  createdAt: string;
171
+ bundleDigest: string;
162
172
  contentKeyEpoch: number;
163
173
  eventHash: string;
164
174
  id: string;
@@ -171,6 +181,7 @@ export declare const organizationProvisioningResponseShape: {
171
181
  } | undefined;
172
182
  }, z.core.$ZodTypeInternals<{
173
183
  createdAt: string;
184
+ bundleDigest: string;
174
185
  contentKeyEpoch: number;
175
186
  eventHash: string;
176
187
  id: string;
@@ -183,6 +194,7 @@ export declare const organizationProvisioningResponseShape: {
183
194
  } | undefined;
184
195
  }, {
185
196
  createdAt: string;
197
+ bundleDigest: string;
186
198
  contentKeyEpoch: number;
187
199
  eventHash: string;
188
200
  id: string;
@@ -195,11 +207,13 @@ export declare const organizationProvisioningResponseShape: {
195
207
  } | undefined;
196
208
  }>>>;
197
209
  organizationProfileDocumentId: z.ZodOptional<z.ZodString>;
210
+ rootBundleDigest: z.ZodCustom<string, string>;
198
211
  rootContainerId: z.ZodString;
199
212
  rootMetadataAccessEpoch: z.ZodNumber;
200
213
  rootMetadataAccessStateHash: z.ZodString;
201
214
  rootMetadataDocument: z.ZodType<{
202
215
  createdAt: string;
216
+ bundleDigest: string;
203
217
  contentKeyEpoch: number;
204
218
  eventHash: string;
205
219
  id: string;
@@ -212,6 +226,7 @@ export declare const organizationProvisioningResponseShape: {
212
226
  } | undefined;
213
227
  }, {
214
228
  createdAt: string;
229
+ bundleDigest: string;
215
230
  contentKeyEpoch: number;
216
231
  eventHash: string;
217
232
  id: string;
@@ -224,6 +239,7 @@ export declare const organizationProvisioningResponseShape: {
224
239
  } | undefined;
225
240
  }, z.core.$ZodTypeInternals<{
226
241
  createdAt: string;
242
+ bundleDigest: string;
227
243
  contentKeyEpoch: number;
228
244
  eventHash: string;
229
245
  id: string;
@@ -236,6 +252,7 @@ export declare const organizationProvisioningResponseShape: {
236
252
  } | undefined;
237
253
  }, {
238
254
  createdAt: string;
255
+ bundleDigest: string;
239
256
  contentKeyEpoch: number;
240
257
  eventHash: string;
241
258
  id: string;
@@ -258,6 +275,7 @@ export declare const organizationProvisioningResponseShape: {
258
275
  keyTargetHash: string;
259
276
  parentContainerKeyEpochId: string | null;
260
277
  };
278
+ bundleDigest: string;
261
279
  containerId: string;
262
280
  createdAt: string;
263
281
  eventHash: string;
@@ -272,6 +290,7 @@ export declare const organizationProvisioningResponseShape: {
272
290
  };
273
291
  metadataDocument: {
274
292
  createdAt: string;
293
+ bundleDigest: string;
275
294
  contentKeyEpoch: number;
276
295
  eventHash: string;
277
296
  id: string;
@@ -293,6 +312,7 @@ export declare const organizationProvisioningResponseShape: {
293
312
  keyTargetHash: string;
294
313
  parentContainerKeyEpochId: string | null;
295
314
  };
315
+ bundleDigest: string;
296
316
  containerId: string;
297
317
  createdAt: string;
298
318
  eventHash: string;
@@ -307,6 +327,7 @@ export declare const organizationProvisioningResponseShape: {
307
327
  };
308
328
  metadataDocument: {
309
329
  createdAt: string;
330
+ bundleDigest: string;
310
331
  contentKeyEpoch: number;
311
332
  eventHash: string;
312
333
  id: string;
@@ -328,6 +349,7 @@ export declare const organizationProvisioningResponseShape: {
328
349
  keyTargetHash: string;
329
350
  parentContainerKeyEpochId: string | null;
330
351
  };
352
+ bundleDigest: string;
331
353
  containerId: string;
332
354
  createdAt: string;
333
355
  eventHash: string;
@@ -342,6 +364,7 @@ export declare const organizationProvisioningResponseShape: {
342
364
  };
343
365
  metadataDocument: {
344
366
  createdAt: string;
367
+ bundleDigest: string;
345
368
  contentKeyEpoch: number;
346
369
  eventHash: string;
347
370
  id: string;
@@ -363,6 +386,7 @@ export declare const organizationProvisioningResponseShape: {
363
386
  keyTargetHash: string;
364
387
  parentContainerKeyEpochId: string | null;
365
388
  };
389
+ bundleDigest: string;
366
390
  containerId: string;
367
391
  createdAt: string;
368
392
  eventHash: string;
@@ -377,6 +401,7 @@ export declare const organizationProvisioningResponseShape: {
377
401
  };
378
402
  metadataDocument: {
379
403
  createdAt: string;
404
+ bundleDigest: string;
380
405
  contentKeyEpoch: number;
381
406
  eventHash: string;
382
407
  id: string;
@@ -392,6 +417,7 @@ export declare const organizationProvisioningResponseShape: {
392
417
  rosterProfileContainerId: z.ZodOptional<z.ZodString>;
393
418
  rosterProfileDocument: z.ZodOptional<z.ZodType<{
394
419
  createdAt: string;
420
+ bundleDigest: string;
395
421
  contentKeyEpoch: number;
396
422
  eventHash: string;
397
423
  id: string;
@@ -404,6 +430,7 @@ export declare const organizationProvisioningResponseShape: {
404
430
  } | undefined;
405
431
  }, {
406
432
  createdAt: string;
433
+ bundleDigest: string;
407
434
  contentKeyEpoch: number;
408
435
  eventHash: string;
409
436
  id: string;
@@ -416,6 +443,7 @@ export declare const organizationProvisioningResponseShape: {
416
443
  } | undefined;
417
444
  }, z.core.$ZodTypeInternals<{
418
445
  createdAt: string;
446
+ bundleDigest: string;
419
447
  contentKeyEpoch: number;
420
448
  eventHash: string;
421
449
  id: string;
@@ -428,6 +456,7 @@ export declare const organizationProvisioningResponseShape: {
428
456
  } | undefined;
429
457
  }, {
430
458
  createdAt: string;
459
+ bundleDigest: string;
431
460
  contentKeyEpoch: number;
432
461
  eventHash: string;
433
462
  id: string;
@@ -450,6 +479,7 @@ export declare const organizationProvisioningResponseShape: {
450
479
  keyTargetHash: string;
451
480
  parentContainerKeyEpochId: string | null;
452
481
  };
482
+ bundleDigest: string;
453
483
  containerId: string;
454
484
  createdAt: string;
455
485
  eventHash: string;
@@ -464,6 +494,7 @@ export declare const organizationProvisioningResponseShape: {
464
494
  };
465
495
  metadataDocument: {
466
496
  createdAt: string;
497
+ bundleDigest: string;
467
498
  contentKeyEpoch: number;
468
499
  eventHash: string;
469
500
  id: string;
@@ -485,6 +516,7 @@ export declare const organizationProvisioningResponseShape: {
485
516
  keyTargetHash: string;
486
517
  parentContainerKeyEpochId: string | null;
487
518
  };
519
+ bundleDigest: string;
488
520
  containerId: string;
489
521
  createdAt: string;
490
522
  eventHash: string;
@@ -499,6 +531,7 @@ export declare const organizationProvisioningResponseShape: {
499
531
  };
500
532
  metadataDocument: {
501
533
  createdAt: string;
534
+ bundleDigest: string;
502
535
  contentKeyEpoch: number;
503
536
  eventHash: string;
504
537
  id: string;
@@ -528,6 +561,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
528
561
  keyTargetHash: string;
529
562
  parentContainerKeyEpochId: string | null;
530
563
  };
564
+ bundleDigest: string;
531
565
  containerId: string;
532
566
  createdAt: string;
533
567
  eventHash: string;
@@ -542,6 +576,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
542
576
  };
543
577
  metadataDocument: {
544
578
  createdAt: string;
579
+ bundleDigest: string;
545
580
  contentKeyEpoch: number;
546
581
  eventHash: string;
547
582
  id: string;
@@ -555,11 +590,13 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
555
590
  };
556
591
  };
557
592
  organizationMetadataContainerId: string;
593
+ rootBundleDigest: string;
558
594
  rootContainerId: string;
559
595
  rootMetadataAccessEpoch: number;
560
596
  rootMetadataAccessStateHash: string;
561
597
  rootMetadataDocument: {
562
598
  createdAt: string;
599
+ bundleDigest: string;
563
600
  contentKeyEpoch: number;
564
601
  eventHash: string;
565
602
  id: string;
@@ -582,6 +619,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
582
619
  keyTargetHash: string;
583
620
  parentContainerKeyEpochId: string | null;
584
621
  };
622
+ bundleDigest: string;
585
623
  containerId: string;
586
624
  createdAt: string;
587
625
  eventHash: string;
@@ -596,6 +634,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
596
634
  };
597
635
  metadataDocument: {
598
636
  createdAt: string;
637
+ bundleDigest: string;
599
638
  contentKeyEpoch: number;
600
639
  eventHash: string;
601
640
  id: string;
@@ -611,6 +650,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
611
650
  userId: string;
612
651
  organizationProfileDocument?: {
613
652
  createdAt: string;
653
+ bundleDigest: string;
614
654
  contentKeyEpoch: number;
615
655
  eventHash: string;
616
656
  id: string;
@@ -633,6 +673,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
633
673
  keyTargetHash: string;
634
674
  parentContainerKeyEpochId: string | null;
635
675
  };
676
+ bundleDigest: string;
636
677
  containerId: string;
637
678
  createdAt: string;
638
679
  eventHash: string;
@@ -647,6 +688,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
647
688
  };
648
689
  metadataDocument: {
649
690
  createdAt: string;
691
+ bundleDigest: string;
650
692
  contentKeyEpoch: number;
651
693
  eventHash: string;
652
694
  id: string;
@@ -662,6 +704,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
662
704
  rosterProfileContainerId?: string | undefined;
663
705
  rosterProfileDocument?: {
664
706
  createdAt: string;
707
+ bundleDigest: string;
665
708
  contentKeyEpoch: number;
666
709
  eventHash: string;
667
710
  id: string;
@@ -688,6 +731,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
688
731
  keyTargetHash: string;
689
732
  parentContainerKeyEpochId: string | null;
690
733
  };
734
+ bundleDigest: string;
691
735
  containerId: string;
692
736
  createdAt: string;
693
737
  eventHash: string;
@@ -702,6 +746,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
702
746
  };
703
747
  metadataDocument: {
704
748
  createdAt: string;
749
+ bundleDigest: string;
705
750
  contentKeyEpoch: number;
706
751
  eventHash: string;
707
752
  id: string;
@@ -715,11 +760,13 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
715
760
  };
716
761
  };
717
762
  organizationMetadataContainerId: string;
763
+ rootBundleDigest: string;
718
764
  rootContainerId: string;
719
765
  rootMetadataAccessEpoch: number;
720
766
  rootMetadataAccessStateHash: string;
721
767
  rootMetadataDocument: {
722
768
  createdAt: string;
769
+ bundleDigest: string;
723
770
  contentKeyEpoch: number;
724
771
  eventHash: string;
725
772
  id: string;
@@ -742,6 +789,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
742
789
  keyTargetHash: string;
743
790
  parentContainerKeyEpochId: string | null;
744
791
  };
792
+ bundleDigest: string;
745
793
  containerId: string;
746
794
  createdAt: string;
747
795
  eventHash: string;
@@ -756,6 +804,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
756
804
  };
757
805
  metadataDocument: {
758
806
  createdAt: string;
807
+ bundleDigest: string;
759
808
  contentKeyEpoch: number;
760
809
  eventHash: string;
761
810
  id: string;
@@ -771,6 +820,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
771
820
  userId: string;
772
821
  organizationProfileDocument?: {
773
822
  createdAt: string;
823
+ bundleDigest: string;
774
824
  contentKeyEpoch: number;
775
825
  eventHash: string;
776
826
  id: string;
@@ -793,6 +843,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
793
843
  keyTargetHash: string;
794
844
  parentContainerKeyEpochId: string | null;
795
845
  };
846
+ bundleDigest: string;
796
847
  containerId: string;
797
848
  createdAt: string;
798
849
  eventHash: string;
@@ -807,6 +858,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
807
858
  };
808
859
  metadataDocument: {
809
860
  createdAt: string;
861
+ bundleDigest: string;
810
862
  contentKeyEpoch: number;
811
863
  eventHash: string;
812
864
  id: string;
@@ -822,6 +874,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
822
874
  rosterProfileContainerId?: string | undefined;
823
875
  rosterProfileDocument?: {
824
876
  createdAt: string;
877
+ bundleDigest: string;
825
878
  contentKeyEpoch: number;
826
879
  eventHash: string;
827
880
  id: string;
@@ -848,6 +901,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
848
901
  keyTargetHash: string;
849
902
  parentContainerKeyEpochId: string | null;
850
903
  };
904
+ bundleDigest: string;
851
905
  containerId: string;
852
906
  createdAt: string;
853
907
  eventHash: string;
@@ -862,6 +916,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
862
916
  };
863
917
  metadataDocument: {
864
918
  createdAt: string;
919
+ bundleDigest: string;
865
920
  contentKeyEpoch: number;
866
921
  eventHash: string;
867
922
  id: string;
@@ -875,11 +930,13 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
875
930
  };
876
931
  };
877
932
  organizationMetadataContainerId: string;
933
+ rootBundleDigest: string;
878
934
  rootContainerId: string;
879
935
  rootMetadataAccessEpoch: number;
880
936
  rootMetadataAccessStateHash: string;
881
937
  rootMetadataDocument: {
882
938
  createdAt: string;
939
+ bundleDigest: string;
883
940
  contentKeyEpoch: number;
884
941
  eventHash: string;
885
942
  id: string;
@@ -902,6 +959,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
902
959
  keyTargetHash: string;
903
960
  parentContainerKeyEpochId: string | null;
904
961
  };
962
+ bundleDigest: string;
905
963
  containerId: string;
906
964
  createdAt: string;
907
965
  eventHash: string;
@@ -916,6 +974,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
916
974
  };
917
975
  metadataDocument: {
918
976
  createdAt: string;
977
+ bundleDigest: string;
919
978
  contentKeyEpoch: number;
920
979
  eventHash: string;
921
980
  id: string;
@@ -931,6 +990,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
931
990
  userId: string;
932
991
  organizationProfileDocument?: {
933
992
  createdAt: string;
993
+ bundleDigest: string;
934
994
  contentKeyEpoch: number;
935
995
  eventHash: string;
936
996
  id: string;
@@ -953,6 +1013,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
953
1013
  keyTargetHash: string;
954
1014
  parentContainerKeyEpochId: string | null;
955
1015
  };
1016
+ bundleDigest: string;
956
1017
  containerId: string;
957
1018
  createdAt: string;
958
1019
  eventHash: string;
@@ -967,6 +1028,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
967
1028
  };
968
1029
  metadataDocument: {
969
1030
  createdAt: string;
1031
+ bundleDigest: string;
970
1032
  contentKeyEpoch: number;
971
1033
  eventHash: string;
972
1034
  id: string;
@@ -982,6 +1044,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
982
1044
  rosterProfileContainerId?: string | undefined;
983
1045
  rosterProfileDocument?: {
984
1046
  createdAt: string;
1047
+ bundleDigest: string;
985
1048
  contentKeyEpoch: number;
986
1049
  eventHash: string;
987
1050
  id: string;
@@ -1008,6 +1071,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1008
1071
  keyTargetHash: string;
1009
1072
  parentContainerKeyEpochId: string | null;
1010
1073
  };
1074
+ bundleDigest: string;
1011
1075
  containerId: string;
1012
1076
  createdAt: string;
1013
1077
  eventHash: string;
@@ -1022,6 +1086,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1022
1086
  };
1023
1087
  metadataDocument: {
1024
1088
  createdAt: string;
1089
+ bundleDigest: string;
1025
1090
  contentKeyEpoch: number;
1026
1091
  eventHash: string;
1027
1092
  id: string;
@@ -1035,11 +1100,13 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1035
1100
  };
1036
1101
  };
1037
1102
  organizationMetadataContainerId: string;
1103
+ rootBundleDigest: string;
1038
1104
  rootContainerId: string;
1039
1105
  rootMetadataAccessEpoch: number;
1040
1106
  rootMetadataAccessStateHash: string;
1041
1107
  rootMetadataDocument: {
1042
1108
  createdAt: string;
1109
+ bundleDigest: string;
1043
1110
  contentKeyEpoch: number;
1044
1111
  eventHash: string;
1045
1112
  id: string;
@@ -1062,6 +1129,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1062
1129
  keyTargetHash: string;
1063
1130
  parentContainerKeyEpochId: string | null;
1064
1131
  };
1132
+ bundleDigest: string;
1065
1133
  containerId: string;
1066
1134
  createdAt: string;
1067
1135
  eventHash: string;
@@ -1076,6 +1144,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1076
1144
  };
1077
1145
  metadataDocument: {
1078
1146
  createdAt: string;
1147
+ bundleDigest: string;
1079
1148
  contentKeyEpoch: number;
1080
1149
  eventHash: string;
1081
1150
  id: string;
@@ -1091,6 +1160,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1091
1160
  userId: string;
1092
1161
  organizationProfileDocument?: {
1093
1162
  createdAt: string;
1163
+ bundleDigest: string;
1094
1164
  contentKeyEpoch: number;
1095
1165
  eventHash: string;
1096
1166
  id: string;
@@ -1113,6 +1183,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1113
1183
  keyTargetHash: string;
1114
1184
  parentContainerKeyEpochId: string | null;
1115
1185
  };
1186
+ bundleDigest: string;
1116
1187
  containerId: string;
1117
1188
  createdAt: string;
1118
1189
  eventHash: string;
@@ -1127,6 +1198,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1127
1198
  };
1128
1199
  metadataDocument: {
1129
1200
  createdAt: string;
1201
+ bundleDigest: string;
1130
1202
  contentKeyEpoch: number;
1131
1203
  eventHash: string;
1132
1204
  id: string;
@@ -1142,6 +1214,7 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1142
1214
  rosterProfileContainerId?: string | undefined;
1143
1215
  rosterProfileDocument?: {
1144
1216
  createdAt: string;
1217
+ bundleDigest: string;
1145
1218
  contentKeyEpoch: number;
1146
1219
  eventHash: string;
1147
1220
  id: string;
@@ -1190,6 +1263,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1190
1263
  keyTargetHash: string;
1191
1264
  parentContainerKeyEpochId: string | null;
1192
1265
  };
1266
+ bundleDigest: string;
1193
1267
  containerId: string;
1194
1268
  createdAt: string;
1195
1269
  eventHash: string;
@@ -1204,6 +1278,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1204
1278
  };
1205
1279
  metadataDocument: {
1206
1280
  createdAt: string;
1281
+ bundleDigest: string;
1207
1282
  contentKeyEpoch: number;
1208
1283
  eventHash: string;
1209
1284
  id: string;
@@ -1217,11 +1292,13 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1217
1292
  };
1218
1293
  };
1219
1294
  organizationMetadataContainerId: string;
1295
+ rootBundleDigest: string;
1220
1296
  rootContainerId: string;
1221
1297
  rootMetadataAccessEpoch: number;
1222
1298
  rootMetadataAccessStateHash: string;
1223
1299
  rootMetadataDocument: {
1224
1300
  createdAt: string;
1301
+ bundleDigest: string;
1225
1302
  contentKeyEpoch: number;
1226
1303
  eventHash: string;
1227
1304
  id: string;
@@ -1244,6 +1321,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1244
1321
  keyTargetHash: string;
1245
1322
  parentContainerKeyEpochId: string | null;
1246
1323
  };
1324
+ bundleDigest: string;
1247
1325
  containerId: string;
1248
1326
  createdAt: string;
1249
1327
  eventHash: string;
@@ -1258,6 +1336,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1258
1336
  };
1259
1337
  metadataDocument: {
1260
1338
  createdAt: string;
1339
+ bundleDigest: string;
1261
1340
  contentKeyEpoch: number;
1262
1341
  eventHash: string;
1263
1342
  id: string;
@@ -1273,6 +1352,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1273
1352
  userId: string;
1274
1353
  organizationProfileDocument?: {
1275
1354
  createdAt: string;
1355
+ bundleDigest: string;
1276
1356
  contentKeyEpoch: number;
1277
1357
  eventHash: string;
1278
1358
  id: string;
@@ -1295,6 +1375,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1295
1375
  keyTargetHash: string;
1296
1376
  parentContainerKeyEpochId: string | null;
1297
1377
  };
1378
+ bundleDigest: string;
1298
1379
  containerId: string;
1299
1380
  createdAt: string;
1300
1381
  eventHash: string;
@@ -1309,6 +1390,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1309
1390
  };
1310
1391
  metadataDocument: {
1311
1392
  createdAt: string;
1393
+ bundleDigest: string;
1312
1394
  contentKeyEpoch: number;
1313
1395
  eventHash: string;
1314
1396
  id: string;
@@ -1324,6 +1406,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1324
1406
  rosterProfileContainerId?: string | undefined;
1325
1407
  rosterProfileDocument?: {
1326
1408
  createdAt: string;
1409
+ bundleDigest: string;
1327
1410
  contentKeyEpoch: number;
1328
1411
  eventHash: string;
1329
1412
  id: string;
@@ -1364,6 +1447,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1364
1447
  keyTargetHash: string;
1365
1448
  parentContainerKeyEpochId: string | null;
1366
1449
  };
1450
+ bundleDigest: string;
1367
1451
  containerId: string;
1368
1452
  createdAt: string;
1369
1453
  eventHash: string;
@@ -1378,6 +1462,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1378
1462
  };
1379
1463
  metadataDocument: {
1380
1464
  createdAt: string;
1465
+ bundleDigest: string;
1381
1466
  contentKeyEpoch: number;
1382
1467
  eventHash: string;
1383
1468
  id: string;
@@ -1391,11 +1476,13 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1391
1476
  };
1392
1477
  };
1393
1478
  organizationMetadataContainerId: string;
1479
+ rootBundleDigest: string;
1394
1480
  rootContainerId: string;
1395
1481
  rootMetadataAccessEpoch: number;
1396
1482
  rootMetadataAccessStateHash: string;
1397
1483
  rootMetadataDocument: {
1398
1484
  createdAt: string;
1485
+ bundleDigest: string;
1399
1486
  contentKeyEpoch: number;
1400
1487
  eventHash: string;
1401
1488
  id: string;
@@ -1418,6 +1505,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1418
1505
  keyTargetHash: string;
1419
1506
  parentContainerKeyEpochId: string | null;
1420
1507
  };
1508
+ bundleDigest: string;
1421
1509
  containerId: string;
1422
1510
  createdAt: string;
1423
1511
  eventHash: string;
@@ -1432,6 +1520,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1432
1520
  };
1433
1521
  metadataDocument: {
1434
1522
  createdAt: string;
1523
+ bundleDigest: string;
1435
1524
  contentKeyEpoch: number;
1436
1525
  eventHash: string;
1437
1526
  id: string;
@@ -1447,6 +1536,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1447
1536
  userId: string;
1448
1537
  organizationProfileDocument?: {
1449
1538
  createdAt: string;
1539
+ bundleDigest: string;
1450
1540
  contentKeyEpoch: number;
1451
1541
  eventHash: string;
1452
1542
  id: string;
@@ -1469,6 +1559,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1469
1559
  keyTargetHash: string;
1470
1560
  parentContainerKeyEpochId: string | null;
1471
1561
  };
1562
+ bundleDigest: string;
1472
1563
  containerId: string;
1473
1564
  createdAt: string;
1474
1565
  eventHash: string;
@@ -1483,6 +1574,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1483
1574
  };
1484
1575
  metadataDocument: {
1485
1576
  createdAt: string;
1577
+ bundleDigest: string;
1486
1578
  contentKeyEpoch: number;
1487
1579
  eventHash: string;
1488
1580
  id: string;
@@ -1498,6 +1590,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1498
1590
  rosterProfileContainerId?: string | undefined;
1499
1591
  rosterProfileDocument?: {
1500
1592
  createdAt: string;
1593
+ bundleDigest: string;
1501
1594
  contentKeyEpoch: number;
1502
1595
  eventHash: string;
1503
1596
  id: string;
@@ -1538,6 +1631,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1538
1631
  keyTargetHash: string;
1539
1632
  parentContainerKeyEpochId: string | null;
1540
1633
  };
1634
+ bundleDigest: string;
1541
1635
  containerId: string;
1542
1636
  createdAt: string;
1543
1637
  eventHash: string;
@@ -1552,6 +1646,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1552
1646
  };
1553
1647
  metadataDocument: {
1554
1648
  createdAt: string;
1649
+ bundleDigest: string;
1555
1650
  contentKeyEpoch: number;
1556
1651
  eventHash: string;
1557
1652
  id: string;
@@ -1565,11 +1660,13 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1565
1660
  };
1566
1661
  };
1567
1662
  organizationMetadataContainerId: string;
1663
+ rootBundleDigest: string;
1568
1664
  rootContainerId: string;
1569
1665
  rootMetadataAccessEpoch: number;
1570
1666
  rootMetadataAccessStateHash: string;
1571
1667
  rootMetadataDocument: {
1572
1668
  createdAt: string;
1669
+ bundleDigest: string;
1573
1670
  contentKeyEpoch: number;
1574
1671
  eventHash: string;
1575
1672
  id: string;
@@ -1592,6 +1689,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1592
1689
  keyTargetHash: string;
1593
1690
  parentContainerKeyEpochId: string | null;
1594
1691
  };
1692
+ bundleDigest: string;
1595
1693
  containerId: string;
1596
1694
  createdAt: string;
1597
1695
  eventHash: string;
@@ -1606,6 +1704,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1606
1704
  };
1607
1705
  metadataDocument: {
1608
1706
  createdAt: string;
1707
+ bundleDigest: string;
1609
1708
  contentKeyEpoch: number;
1610
1709
  eventHash: string;
1611
1710
  id: string;
@@ -1621,6 +1720,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1621
1720
  userId: string;
1622
1721
  organizationProfileDocument?: {
1623
1722
  createdAt: string;
1723
+ bundleDigest: string;
1624
1724
  contentKeyEpoch: number;
1625
1725
  eventHash: string;
1626
1726
  id: string;
@@ -1643,6 +1743,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1643
1743
  keyTargetHash: string;
1644
1744
  parentContainerKeyEpochId: string | null;
1645
1745
  };
1746
+ bundleDigest: string;
1646
1747
  containerId: string;
1647
1748
  createdAt: string;
1648
1749
  eventHash: string;
@@ -1657,6 +1758,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1657
1758
  };
1658
1759
  metadataDocument: {
1659
1760
  createdAt: string;
1761
+ bundleDigest: string;
1660
1762
  contentKeyEpoch: number;
1661
1763
  eventHash: string;
1662
1764
  id: string;
@@ -1672,6 +1774,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1672
1774
  rosterProfileContainerId?: string | undefined;
1673
1775
  rosterProfileDocument?: {
1674
1776
  createdAt: string;
1777
+ bundleDigest: string;
1675
1778
  contentKeyEpoch: number;
1676
1779
  eventHash: string;
1677
1780
  id: string;
@@ -1712,6 +1815,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1712
1815
  keyTargetHash: string;
1713
1816
  parentContainerKeyEpochId: string | null;
1714
1817
  };
1818
+ bundleDigest: string;
1715
1819
  containerId: string;
1716
1820
  createdAt: string;
1717
1821
  eventHash: string;
@@ -1726,6 +1830,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1726
1830
  };
1727
1831
  metadataDocument: {
1728
1832
  createdAt: string;
1833
+ bundleDigest: string;
1729
1834
  contentKeyEpoch: number;
1730
1835
  eventHash: string;
1731
1836
  id: string;
@@ -1739,11 +1844,13 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1739
1844
  };
1740
1845
  };
1741
1846
  organizationMetadataContainerId: string;
1847
+ rootBundleDigest: string;
1742
1848
  rootContainerId: string;
1743
1849
  rootMetadataAccessEpoch: number;
1744
1850
  rootMetadataAccessStateHash: string;
1745
1851
  rootMetadataDocument: {
1746
1852
  createdAt: string;
1853
+ bundleDigest: string;
1747
1854
  contentKeyEpoch: number;
1748
1855
  eventHash: string;
1749
1856
  id: string;
@@ -1766,6 +1873,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1766
1873
  keyTargetHash: string;
1767
1874
  parentContainerKeyEpochId: string | null;
1768
1875
  };
1876
+ bundleDigest: string;
1769
1877
  containerId: string;
1770
1878
  createdAt: string;
1771
1879
  eventHash: string;
@@ -1780,6 +1888,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1780
1888
  };
1781
1889
  metadataDocument: {
1782
1890
  createdAt: string;
1891
+ bundleDigest: string;
1783
1892
  contentKeyEpoch: number;
1784
1893
  eventHash: string;
1785
1894
  id: string;
@@ -1795,6 +1904,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1795
1904
  userId: string;
1796
1905
  organizationProfileDocument?: {
1797
1906
  createdAt: string;
1907
+ bundleDigest: string;
1798
1908
  contentKeyEpoch: number;
1799
1909
  eventHash: string;
1800
1910
  id: string;
@@ -1817,6 +1927,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1817
1927
  keyTargetHash: string;
1818
1928
  parentContainerKeyEpochId: string | null;
1819
1929
  };
1930
+ bundleDigest: string;
1820
1931
  containerId: string;
1821
1932
  createdAt: string;
1822
1933
  eventHash: string;
@@ -1831,6 +1942,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1831
1942
  };
1832
1943
  metadataDocument: {
1833
1944
  createdAt: string;
1945
+ bundleDigest: string;
1834
1946
  contentKeyEpoch: number;
1835
1947
  eventHash: string;
1836
1948
  id: string;
@@ -1846,6 +1958,7 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
1846
1958
  rosterProfileContainerId?: string | undefined;
1847
1959
  rosterProfileDocument?: {
1848
1960
  createdAt: string;
1961
+ bundleDigest: string;
1849
1962
  contentKeyEpoch: number;
1850
1963
  eventHash: string;
1851
1964
  id: string;