@tearleads/client-sdk 0.1.249 → 0.1.251

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 (119) hide show
  1. package/data/documents/shared/events.js +2 -1
  2. package/data/documents/shared/events.js.map +1 -1
  3. package/data/keyingProjectionVerification/principalPolicy/mergeProjectionPolicyEvidence.js +1 -4
  4. package/data/keyingProjectionVerification/principalPolicy/mergeProjectionPolicyEvidence.js.map +1 -1
  5. package/data/persistence/principalPolicy/heldOrganizationDirectories.js +6 -1
  6. package/data/persistence/principalPolicy/heldOrganizationDirectories.js.map +1 -1
  7. package/data/persistence/principalPolicy/principalPolicyBundleIntegrity.js +1 -1
  8. package/data/persistence/principalPolicy/principalPolicyBundleIntegrity.js.map +1 -1
  9. package/data/persistence/principalPolicy/verifiedPrincipalPolicyCurrent.js +1 -5
  10. package/data/persistence/principalPolicy/verifiedPrincipalPolicyCurrent.js.map +1 -1
  11. package/data/principals/organizationGroupDirectoryRequest.js +0 -2
  12. package/data/principals/organizationGroupDirectoryRequest.js.map +1 -1
  13. package/data/principals/organizationPolicyRequest.js +0 -2
  14. package/data/principals/organizationPolicyRequest.js.map +1 -1
  15. package/data/principals/principalPolicyRequest.js +0 -2
  16. package/data/principals/principalPolicyRequest.js.map +1 -1
  17. package/internal/api-client/ApiClient.d.ts +0 -58
  18. package/internal/api-client/client/apiClientContext.d.ts +0 -30
  19. package/internal/api-client/client/documents.d.ts +0 -12
  20. package/internal/api-client/client/principalPolicies.d.ts +0 -18
  21. package/internal/api-client/client/writerProjections.d.ts +0 -12
  22. package/internal/api-client/heldDirectoryCitations.d.ts +8 -4
  23. package/internal/api-client/heldDirectoryCitations.js +6 -10
  24. package/internal/api-client/heldDirectoryCitations.js.map +1 -1
  25. package/internal/api-client/organizationPolicyHistory.d.ts +0 -6
  26. package/internal/api-client/principalPolicyRequests.d.ts +0 -18
  27. package/internal/api-client/verifiedManifestCitations.js +3 -3
  28. package/internal/api-client/verifiedManifestCitations.js.map +1 -1
  29. package/internal/crypto/index.d.ts +1 -1
  30. package/internal/crypto/index.js.map +1 -1
  31. package/internal/crypto/keying/principalPolicyPayload.js +2 -12
  32. package/internal/crypto/keying/principalPolicyPayload.js.map +1 -1
  33. package/internal/crypto/keying/principalPolicyTypes.d.ts +5 -6
  34. package/internal/crypto/keying/principalPolicyTypes.js.map +1 -1
  35. package/internal/crypto/principalState.d.ts +1 -1
  36. package/internal/crypto/principalState.js.map +1 -1
  37. package/internal/crypto/principalStateTypes.d.ts +0 -1
  38. package/internal/crypto/principalStateTypes.js.map +1 -1
  39. package/internal/validators/documentCreateSeedRefinements.js +2 -2
  40. package/internal/validators/documentCreateSeedRefinements.js.map +1 -1
  41. package/internal/validators/operation/auth.d.ts +50 -1727
  42. package/internal/validators/operation/auth.js +2 -2
  43. package/internal/validators/operation/auth.js.map +1 -1
  44. package/internal/validators/operation/containerMutations.d.ts +1 -294
  45. package/internal/validators/operation/containerMutations.js +2 -2
  46. package/internal/validators/operation/containerMutations.js.map +1 -1
  47. package/internal/validators/operation/documentMutations.d.ts +1 -342
  48. package/internal/validators/operation/documentMutations.js +2 -2
  49. package/internal/validators/operation/documentMutations.js.map +1 -1
  50. package/internal/validators/operation/organizationPolicyHistory.d.ts +0 -24
  51. package/internal/validators/operation/organizations.d.ts +50 -1751
  52. package/internal/validators/operation/organizations.js +2 -2
  53. package/internal/validators/operation/organizations.js.map +1 -1
  54. package/internal/validators/operation/principals.d.ts +0 -56
  55. package/internal/validators/operation/writerProjections.d.ts +0 -48
  56. package/internal/validators/organizationProvisioningRefinements.js +2 -2
  57. package/internal/validators/organizationProvisioningRefinements.js.map +1 -1
  58. package/internal/validators/request/containerMetadata.d.ts +0 -276
  59. package/internal/validators/request/containerMetadata.js +5 -4
  60. package/internal/validators/request/containerMetadata.js.map +1 -1
  61. package/internal/validators/request/document.d.ts +0 -277
  62. package/internal/validators/request/document.js +8 -4
  63. package/internal/validators/request/document.js.map +1 -1
  64. package/internal/validators/request/documentCreateSeed.d.ts +99 -0
  65. package/internal/validators/request/documentCreateSeed.js +132 -9
  66. package/internal/validators/request/documentCreateSeed.js.map +1 -1
  67. package/internal/validators/request/documentSyncSchema.d.ts +41 -0
  68. package/internal/validators/request/documentSyncSchema.js +1 -1
  69. package/internal/validators/request/documentSyncSchema.js.map +1 -1
  70. package/internal/validators/request/index.d.ts +1 -0
  71. package/internal/validators/request/index.js +1 -0
  72. package/internal/validators/request/index.js.map +1 -1
  73. package/internal/validators/request/organization.d.ts +0 -32
  74. package/internal/validators/request/organizationProvisioning.d.ts +263 -5639
  75. package/internal/validators/request/organizationProvisioning.js +10 -4
  76. package/internal/validators/request/organizationProvisioning.js.map +1 -1
  77. package/internal/validators/request/principal.d.ts +4 -48
  78. package/internal/validators/request/principal.js +4 -2
  79. package/internal/validators/request/principal.js.map +1 -1
  80. package/internal/validators/request/registration.d.ts +71 -1727
  81. package/internal/validators/response/container.d.ts +0 -48
  82. package/internal/validators/response/documentMutation.d.ts +0 -96
  83. package/internal/validators/response/organizationPolicyHistory.d.ts +0 -24
  84. package/internal/validators/response/policyEvidenceWire.d.ts +5 -3
  85. package/internal/validators/response/policyEvidenceWire.js +6 -4
  86. package/internal/validators/response/policyEvidenceWire.js.map +1 -1
  87. package/internal/validators/response/principal.d.ts +0 -48
  88. package/internal/validators/response/principalPolicyPage.d.ts +0 -48
  89. package/internal/validators/response/principalSnapshot.d.ts +4 -24
  90. package/internal/validators/response/principalSnapshot.js +4 -6
  91. package/internal/validators/response/principalSnapshot.js.map +1 -1
  92. package/internal/validators/response/projectionPolicyEvidence.d.ts +0 -48
  93. package/package.json +1 -1
  94. package/workflows/container-contents/container-state/create/createWithMetadata.js +6 -3
  95. package/workflows/container-contents/container-state/create/createWithMetadata.js.map +1 -1
  96. package/workflows/documents/create/index.js +4 -4
  97. package/workflows/documents/create/index.js.map +1 -1
  98. package/workflows/documents/sync/initialSync.d.ts +26 -11
  99. package/workflows/documents/sync/initialSync.js +32 -12
  100. package/workflows/documents/sync/initialSync.js.map +1 -1
  101. package/workflows/organizations/groupPolicy/currentPolicyMutationAcknowledgement.js +1 -6
  102. package/workflows/organizations/groupPolicy/currentPolicyMutationAcknowledgement.js.map +1 -1
  103. package/workflows/organizations/groupPolicy/groupPolicyMutationAcknowledgement.js +1 -6
  104. package/workflows/organizations/groupPolicy/groupPolicyMutationAcknowledgement.js.map +1 -1
  105. package/workflows/organizations/policyHistory/organizationPolicyHistoryVerification.js +4 -6
  106. package/workflows/organizations/policyHistory/organizationPolicyHistoryVerification.js.map +1 -1
  107. package/workflows/organizations/principalPolicy/principalPolicyReceiptArtifacts.js +1 -7
  108. package/workflows/organizations/principalPolicy/principalPolicyReceiptArtifacts.js.map +1 -1
  109. package/workflows/principals/policyCache/principalPolicyCacheValidation.js +0 -13
  110. package/workflows/principals/policyCache/principalPolicyCacheValidation.js.map +1 -1
  111. package/workflows/principals/publicHistory/publicProjectionDirectory.js +4 -5
  112. package/workflows/principals/publicHistory/publicProjectionDirectory.js.map +1 -1
  113. package/workflows/registration/provisionedProfileDocument.js +2 -2
  114. package/workflows/registration/provisionedProfileDocument.js.map +1 -1
  115. package/workflows/registration/provisioningBootstrapBuilders.d.ts +0 -74
  116. package/workflows/registration/provisioningBootstrapBuilders.js +3 -3
  117. package/workflows/registration/provisioningBootstrapBuilders.js.map +1 -1
  118. package/workflows/registration/registrationPrincipalPolicyPersistence.js +1 -7
  119. package/workflows/registration/registrationPrincipalPolicyPersistence.js.map +1 -1
@@ -22,9 +22,7 @@ export declare const createOrganizationOperation: Omit<{
22
22
  groupId: string;
23
23
  initialGroupPolicy: {
24
24
  encryptedPayload: {
25
- cipherSuite: "aes-256-gcm";
26
25
  ciphertext: string;
27
- ciphertextHash: string;
28
26
  };
29
27
  grants: {
30
28
  accessLevel: "write" | "admin" | "read";
@@ -117,9 +115,7 @@ export declare const createOrganizationOperation: Omit<{
117
115
  groupId: string;
118
116
  initialGroupPolicy: {
119
117
  encryptedPayload: {
120
- cipherSuite: "aes-256-gcm";
121
118
  ciphertext: string;
122
- ciphertextHash: string;
123
119
  };
124
120
  grants: {
125
121
  accessLevel: "write" | "admin" | "read";
@@ -210,10 +206,6 @@ export declare const createOrganizationOperation: Omit<{
210
206
  };
211
207
  initialOrganizationMetadataContainer: {
212
208
  initialMetadataSync: {
213
- contentKeyEpoch: number;
214
- expectedLinkSetManifestHash: string;
215
- expectedTargetHash: string;
216
- localVersionVector: string | null;
217
209
  outgoingUpdates: {
218
210
  encryptedData: string;
219
211
  id: string;
@@ -225,69 +217,6 @@ export declare const createOrganizationOperation: Omit<{
225
217
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
226
218
  sourceVersionVector?: string | undefined;
227
219
  }[];
228
- supportsPullPagination: true;
229
- authorizingContainerPathRefs?: {
230
- containerId: string;
231
- manifestHash: string;
232
- }[][] | undefined;
233
- containerRekeys?: {
234
- body: unknown;
235
- event: Record<string, unknown>;
236
- expectedManifestHash: string;
237
- keyEpoch: Record<string, unknown>;
238
- keyring: Record<string, unknown> | null;
239
- predecessorBridge: Record<string, unknown> | null;
240
- principalPolicyRefs: {
241
- principalType: "group" | "organization";
242
- principalId: string;
243
- version: number;
244
- stateHash: string;
245
- }[];
246
- wraps: Record<string, unknown>[];
247
- containerManifestHistoryRefs?: {
248
- containerId: string;
249
- manifestHash: string;
250
- }[] | undefined;
251
- destinationParentContainerPathRefs?: {
252
- containerId: string;
253
- manifestHash: string;
254
- }[] | undefined;
255
- parentContainerPathRefs?: {
256
- containerId: string;
257
- manifestHash: string;
258
- }[] | undefined;
259
- parentKekRef?: {
260
- containerId: string;
261
- containerKeyEpochId: string;
262
- keyEpochHash: string;
263
- } | null | undefined;
264
- previousContainerPathRefs?: {
265
- containerId: string;
266
- manifestHash: string;
267
- }[] | undefined;
268
- previousManifestRef?: {
269
- containerId: string;
270
- manifestHash: string;
271
- } | null | undefined;
272
- userRecipientKeys?: Record<string, unknown>[] | undefined;
273
- }[] | undefined;
274
- contentKeyBundle?: {
275
- contentKeyEpoch: number;
276
- linkSetManifestHash: string;
277
- targetHash: string;
278
- targets: {
279
- containerId: string;
280
- containerKeyEpoch: number;
281
- containerKeyEpochId: string;
282
- containerManifestHash: string;
283
- wrappedKey: string;
284
- wrappingMetadata: Record<string, unknown>;
285
- }[];
286
- } | undefined;
287
- historyMode?: "raw" | undefined;
288
- inlineRekeyCommitId?: string | undefined;
289
- minLsn?: string | undefined;
290
- pullCursor?: string | undefined;
291
220
  };
292
221
  container: {
293
222
  body: unknown;
@@ -347,7 +276,6 @@ export declare const createOrganizationOperation: Omit<{
347
276
  };
348
277
  event: Record<string, unknown>;
349
278
  expectedManifestHash: string;
350
- manifest: Record<string, unknown>;
351
279
  authorizingContainerPathRefs?: {
352
280
  containerId: string;
353
281
  manifestHash: string;
@@ -402,9 +330,7 @@ export declare const createOrganizationOperation: Omit<{
402
330
  };
403
331
  initialOrganizationPolicy: {
404
332
  encryptedPayload: {
405
- cipherSuite: "aes-256-gcm";
406
333
  ciphertext: string;
407
- ciphertextHash: string;
408
334
  };
409
335
  grants: {
410
336
  accessLevel: "write" | "admin" | "read";
@@ -535,10 +461,6 @@ export declare const createOrganizationOperation: Omit<{
535
461
  };
536
462
  initialRootMetadataDocument: {
537
463
  initialSync: {
538
- contentKeyEpoch: number;
539
- expectedLinkSetManifestHash: string;
540
- expectedTargetHash: string;
541
- localVersionVector: string | null;
542
464
  outgoingUpdates: {
543
465
  encryptedData: string;
544
466
  id: string;
@@ -550,69 +472,6 @@ export declare const createOrganizationOperation: Omit<{
550
472
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
551
473
  sourceVersionVector?: string | undefined;
552
474
  }[];
553
- supportsPullPagination: true;
554
- authorizingContainerPathRefs?: {
555
- containerId: string;
556
- manifestHash: string;
557
- }[][] | undefined;
558
- containerRekeys?: {
559
- body: unknown;
560
- event: Record<string, unknown>;
561
- expectedManifestHash: string;
562
- keyEpoch: Record<string, unknown>;
563
- keyring: Record<string, unknown> | null;
564
- predecessorBridge: Record<string, unknown> | null;
565
- principalPolicyRefs: {
566
- principalType: "group" | "organization";
567
- principalId: string;
568
- version: number;
569
- stateHash: string;
570
- }[];
571
- wraps: Record<string, unknown>[];
572
- containerManifestHistoryRefs?: {
573
- containerId: string;
574
- manifestHash: string;
575
- }[] | undefined;
576
- destinationParentContainerPathRefs?: {
577
- containerId: string;
578
- manifestHash: string;
579
- }[] | undefined;
580
- parentContainerPathRefs?: {
581
- containerId: string;
582
- manifestHash: string;
583
- }[] | undefined;
584
- parentKekRef?: {
585
- containerId: string;
586
- containerKeyEpochId: string;
587
- keyEpochHash: string;
588
- } | null | undefined;
589
- previousContainerPathRefs?: {
590
- containerId: string;
591
- manifestHash: string;
592
- }[] | undefined;
593
- previousManifestRef?: {
594
- containerId: string;
595
- manifestHash: string;
596
- } | null | undefined;
597
- userRecipientKeys?: Record<string, unknown>[] | undefined;
598
- }[] | undefined;
599
- contentKeyBundle?: {
600
- contentKeyEpoch: number;
601
- linkSetManifestHash: string;
602
- targetHash: string;
603
- targets: {
604
- containerId: string;
605
- containerKeyEpoch: number;
606
- containerKeyEpochId: string;
607
- containerManifestHash: string;
608
- wrappedKey: string;
609
- wrappingMetadata: Record<string, unknown>;
610
- }[];
611
- } | undefined;
612
- historyMode?: "raw" | undefined;
613
- inlineRekeyCommitId?: string | undefined;
614
- minLsn?: string | undefined;
615
- pullCursor?: string | undefined;
616
475
  };
617
476
  body: unknown;
618
477
  contentKeyBundle: {
@@ -630,7 +489,6 @@ export declare const createOrganizationOperation: Omit<{
630
489
  };
631
490
  event: Record<string, unknown>;
632
491
  expectedManifestHash: string;
633
- manifest: Record<string, unknown>;
634
492
  authorizingContainerPathRefs?: {
635
493
  containerId: string;
636
494
  manifestHash: string;
@@ -703,10 +561,6 @@ export declare const createOrganizationOperation: Omit<{
703
561
  replacesOrganizationId?: string | undefined;
704
562
  initialOrganizationProfileDocument?: {
705
563
  initialSync: {
706
- contentKeyEpoch: number;
707
- expectedLinkSetManifestHash: string;
708
- expectedTargetHash: string;
709
- localVersionVector: string | null;
710
564
  outgoingUpdates: {
711
565
  encryptedData: string;
712
566
  id: string;
@@ -718,69 +572,6 @@ export declare const createOrganizationOperation: Omit<{
718
572
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
719
573
  sourceVersionVector?: string | undefined;
720
574
  }[];
721
- supportsPullPagination: true;
722
- authorizingContainerPathRefs?: {
723
- containerId: string;
724
- manifestHash: string;
725
- }[][] | undefined;
726
- containerRekeys?: {
727
- body: unknown;
728
- event: Record<string, unknown>;
729
- expectedManifestHash: string;
730
- keyEpoch: Record<string, unknown>;
731
- keyring: Record<string, unknown> | null;
732
- predecessorBridge: Record<string, unknown> | null;
733
- principalPolicyRefs: {
734
- principalType: "group" | "organization";
735
- principalId: string;
736
- version: number;
737
- stateHash: string;
738
- }[];
739
- wraps: Record<string, unknown>[];
740
- containerManifestHistoryRefs?: {
741
- containerId: string;
742
- manifestHash: string;
743
- }[] | undefined;
744
- destinationParentContainerPathRefs?: {
745
- containerId: string;
746
- manifestHash: string;
747
- }[] | undefined;
748
- parentContainerPathRefs?: {
749
- containerId: string;
750
- manifestHash: string;
751
- }[] | undefined;
752
- parentKekRef?: {
753
- containerId: string;
754
- containerKeyEpochId: string;
755
- keyEpochHash: string;
756
- } | null | undefined;
757
- previousContainerPathRefs?: {
758
- containerId: string;
759
- manifestHash: string;
760
- }[] | undefined;
761
- previousManifestRef?: {
762
- containerId: string;
763
- manifestHash: string;
764
- } | null | undefined;
765
- userRecipientKeys?: Record<string, unknown>[] | undefined;
766
- }[] | undefined;
767
- contentKeyBundle?: {
768
- contentKeyEpoch: number;
769
- linkSetManifestHash: string;
770
- targetHash: string;
771
- targets: {
772
- containerId: string;
773
- containerKeyEpoch: number;
774
- containerKeyEpochId: string;
775
- containerManifestHash: string;
776
- wrappedKey: string;
777
- wrappingMetadata: Record<string, unknown>;
778
- }[];
779
- } | undefined;
780
- historyMode?: "raw" | undefined;
781
- inlineRekeyCommitId?: string | undefined;
782
- minLsn?: string | undefined;
783
- pullCursor?: string | undefined;
784
575
  };
785
576
  body: unknown;
786
577
  contentKeyBundle: {
@@ -798,7 +589,6 @@ export declare const createOrganizationOperation: Omit<{
798
589
  };
799
590
  event: Record<string, unknown>;
800
591
  expectedManifestHash: string;
801
- manifest: Record<string, unknown>;
802
592
  authorizingContainerPathRefs?: {
803
593
  containerId: string;
804
594
  manifestHash: string;
@@ -851,10 +641,6 @@ export declare const createOrganizationOperation: Omit<{
851
641
  } | undefined;
852
642
  initialRosterProfileContainer?: {
853
643
  initialMetadataSync: {
854
- contentKeyEpoch: number;
855
- expectedLinkSetManifestHash: string;
856
- expectedTargetHash: string;
857
- localVersionVector: string | null;
858
644
  outgoingUpdates: {
859
645
  encryptedData: string;
860
646
  id: string;
@@ -866,69 +652,6 @@ export declare const createOrganizationOperation: Omit<{
866
652
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
867
653
  sourceVersionVector?: string | undefined;
868
654
  }[];
869
- supportsPullPagination: true;
870
- authorizingContainerPathRefs?: {
871
- containerId: string;
872
- manifestHash: string;
873
- }[][] | undefined;
874
- containerRekeys?: {
875
- body: unknown;
876
- event: Record<string, unknown>;
877
- expectedManifestHash: string;
878
- keyEpoch: Record<string, unknown>;
879
- keyring: Record<string, unknown> | null;
880
- predecessorBridge: Record<string, unknown> | null;
881
- principalPolicyRefs: {
882
- principalType: "group" | "organization";
883
- principalId: string;
884
- version: number;
885
- stateHash: string;
886
- }[];
887
- wraps: Record<string, unknown>[];
888
- containerManifestHistoryRefs?: {
889
- containerId: string;
890
- manifestHash: string;
891
- }[] | undefined;
892
- destinationParentContainerPathRefs?: {
893
- containerId: string;
894
- manifestHash: string;
895
- }[] | undefined;
896
- parentContainerPathRefs?: {
897
- containerId: string;
898
- manifestHash: string;
899
- }[] | undefined;
900
- parentKekRef?: {
901
- containerId: string;
902
- containerKeyEpochId: string;
903
- keyEpochHash: string;
904
- } | null | undefined;
905
- previousContainerPathRefs?: {
906
- containerId: string;
907
- manifestHash: string;
908
- }[] | undefined;
909
- previousManifestRef?: {
910
- containerId: string;
911
- manifestHash: string;
912
- } | null | undefined;
913
- userRecipientKeys?: Record<string, unknown>[] | undefined;
914
- }[] | undefined;
915
- contentKeyBundle?: {
916
- contentKeyEpoch: number;
917
- linkSetManifestHash: string;
918
- targetHash: string;
919
- targets: {
920
- containerId: string;
921
- containerKeyEpoch: number;
922
- containerKeyEpochId: string;
923
- containerManifestHash: string;
924
- wrappedKey: string;
925
- wrappingMetadata: Record<string, unknown>;
926
- }[];
927
- } | undefined;
928
- historyMode?: "raw" | undefined;
929
- inlineRekeyCommitId?: string | undefined;
930
- minLsn?: string | undefined;
931
- pullCursor?: string | undefined;
932
655
  };
933
656
  container: {
934
657
  body: unknown;
@@ -988,7 +711,6 @@ export declare const createOrganizationOperation: Omit<{
988
711
  };
989
712
  event: Record<string, unknown>;
990
713
  expectedManifestHash: string;
991
- manifest: Record<string, unknown>;
992
714
  authorizingContainerPathRefs?: {
993
715
  containerId: string;
994
716
  manifestHash: string;
@@ -1043,10 +765,6 @@ export declare const createOrganizationOperation: Omit<{
1043
765
  } | undefined;
1044
766
  initialRosterProfileDocument?: {
1045
767
  initialSync: {
1046
- contentKeyEpoch: number;
1047
- expectedLinkSetManifestHash: string;
1048
- expectedTargetHash: string;
1049
- localVersionVector: string | null;
1050
768
  outgoingUpdates: {
1051
769
  encryptedData: string;
1052
770
  id: string;
@@ -1058,76 +776,13 @@ export declare const createOrganizationOperation: Omit<{
1058
776
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
1059
777
  sourceVersionVector?: string | undefined;
1060
778
  }[];
1061
- supportsPullPagination: true;
1062
- authorizingContainerPathRefs?: {
1063
- containerId: string;
1064
- manifestHash: string;
1065
- }[][] | undefined;
1066
- containerRekeys?: {
1067
- body: unknown;
1068
- event: Record<string, unknown>;
1069
- expectedManifestHash: string;
1070
- keyEpoch: Record<string, unknown>;
1071
- keyring: Record<string, unknown> | null;
1072
- predecessorBridge: Record<string, unknown> | null;
1073
- principalPolicyRefs: {
1074
- principalType: "group" | "organization";
1075
- principalId: string;
1076
- version: number;
1077
- stateHash: string;
1078
- }[];
1079
- wraps: Record<string, unknown>[];
1080
- containerManifestHistoryRefs?: {
1081
- containerId: string;
1082
- manifestHash: string;
1083
- }[] | undefined;
1084
- destinationParentContainerPathRefs?: {
1085
- containerId: string;
1086
- manifestHash: string;
1087
- }[] | undefined;
1088
- parentContainerPathRefs?: {
1089
- containerId: string;
1090
- manifestHash: string;
1091
- }[] | undefined;
1092
- parentKekRef?: {
1093
- containerId: string;
1094
- containerKeyEpochId: string;
1095
- keyEpochHash: string;
1096
- } | null | undefined;
1097
- previousContainerPathRefs?: {
1098
- containerId: string;
1099
- manifestHash: string;
1100
- }[] | undefined;
1101
- previousManifestRef?: {
1102
- containerId: string;
1103
- manifestHash: string;
1104
- } | null | undefined;
1105
- userRecipientKeys?: Record<string, unknown>[] | undefined;
1106
- }[] | undefined;
1107
- contentKeyBundle?: {
1108
- contentKeyEpoch: number;
1109
- linkSetManifestHash: string;
1110
- targetHash: string;
1111
- targets: {
1112
- containerId: string;
1113
- containerKeyEpoch: number;
1114
- containerKeyEpochId: string;
1115
- containerManifestHash: string;
1116
- wrappedKey: string;
1117
- wrappingMetadata: Record<string, unknown>;
1118
- }[];
1119
- } | undefined;
1120
- historyMode?: "raw" | undefined;
1121
- inlineRekeyCommitId?: string | undefined;
1122
- minLsn?: string | undefined;
1123
- pullCursor?: string | undefined;
1124
- };
1125
- body: unknown;
1126
- contentKeyBundle: {
1127
- contentKeyEpoch: number;
1128
- linkSetManifestHash: string;
1129
- targetHash: string;
1130
- targets: {
779
+ };
780
+ body: unknown;
781
+ contentKeyBundle: {
782
+ contentKeyEpoch: number;
783
+ linkSetManifestHash: string;
784
+ targetHash: string;
785
+ targets: {
1131
786
  containerId: string;
1132
787
  containerKeyEpoch: number;
1133
788
  containerKeyEpochId: string;
@@ -1138,7 +793,6 @@ export declare const createOrganizationOperation: Omit<{
1138
793
  };
1139
794
  event: Record<string, unknown>;
1140
795
  expectedManifestHash: string;
1141
- manifest: Record<string, unknown>;
1142
796
  authorizingContainerPathRefs?: {
1143
797
  containerId: string;
1144
798
  manifestHash: string;
@@ -1191,10 +845,6 @@ export declare const createOrganizationOperation: Omit<{
1191
845
  } | undefined;
1192
846
  initialSystemContainers?: {
1193
847
  initialMetadataSync: {
1194
- contentKeyEpoch: number;
1195
- expectedLinkSetManifestHash: string;
1196
- expectedTargetHash: string;
1197
- localVersionVector: string | null;
1198
848
  outgoingUpdates: {
1199
849
  encryptedData: string;
1200
850
  id: string;
@@ -1206,69 +856,6 @@ export declare const createOrganizationOperation: Omit<{
1206
856
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
1207
857
  sourceVersionVector?: string | undefined;
1208
858
  }[];
1209
- supportsPullPagination: true;
1210
- authorizingContainerPathRefs?: {
1211
- containerId: string;
1212
- manifestHash: string;
1213
- }[][] | undefined;
1214
- containerRekeys?: {
1215
- body: unknown;
1216
- event: Record<string, unknown>;
1217
- expectedManifestHash: string;
1218
- keyEpoch: Record<string, unknown>;
1219
- keyring: Record<string, unknown> | null;
1220
- predecessorBridge: Record<string, unknown> | null;
1221
- principalPolicyRefs: {
1222
- principalType: "group" | "organization";
1223
- principalId: string;
1224
- version: number;
1225
- stateHash: string;
1226
- }[];
1227
- wraps: Record<string, unknown>[];
1228
- containerManifestHistoryRefs?: {
1229
- containerId: string;
1230
- manifestHash: string;
1231
- }[] | undefined;
1232
- destinationParentContainerPathRefs?: {
1233
- containerId: string;
1234
- manifestHash: string;
1235
- }[] | undefined;
1236
- parentContainerPathRefs?: {
1237
- containerId: string;
1238
- manifestHash: string;
1239
- }[] | undefined;
1240
- parentKekRef?: {
1241
- containerId: string;
1242
- containerKeyEpochId: string;
1243
- keyEpochHash: string;
1244
- } | null | undefined;
1245
- previousContainerPathRefs?: {
1246
- containerId: string;
1247
- manifestHash: string;
1248
- }[] | undefined;
1249
- previousManifestRef?: {
1250
- containerId: string;
1251
- manifestHash: string;
1252
- } | null | undefined;
1253
- userRecipientKeys?: Record<string, unknown>[] | undefined;
1254
- }[] | undefined;
1255
- contentKeyBundle?: {
1256
- contentKeyEpoch: number;
1257
- linkSetManifestHash: string;
1258
- targetHash: string;
1259
- targets: {
1260
- containerId: string;
1261
- containerKeyEpoch: number;
1262
- containerKeyEpochId: string;
1263
- containerManifestHash: string;
1264
- wrappedKey: string;
1265
- wrappingMetadata: Record<string, unknown>;
1266
- }[];
1267
- } | undefined;
1268
- historyMode?: "raw" | undefined;
1269
- inlineRekeyCommitId?: string | undefined;
1270
- minLsn?: string | undefined;
1271
- pullCursor?: string | undefined;
1272
859
  };
1273
860
  container: {
1274
861
  body: unknown;
@@ -1328,7 +915,6 @@ export declare const createOrganizationOperation: Omit<{
1328
915
  };
1329
916
  event: Record<string, unknown>;
1330
917
  expectedManifestHash: string;
1331
- manifest: Record<string, unknown>;
1332
918
  authorizingContainerPathRefs?: {
1333
919
  containerId: string;
1334
920
  manifestHash: string;
@@ -1386,9 +972,7 @@ export declare const createOrganizationOperation: Omit<{
1386
972
  groupId: string;
1387
973
  initialGroupPolicy: {
1388
974
  encryptedPayload: {
1389
- cipherSuite: "aes-256-gcm";
1390
975
  ciphertext: string;
1391
- ciphertextHash: string;
1392
976
  };
1393
977
  grants: {
1394
978
  accessLevel: "write" | "admin" | "read";
@@ -1481,9 +1065,7 @@ export declare const createOrganizationOperation: Omit<{
1481
1065
  groupId: string;
1482
1066
  initialGroupPolicy: {
1483
1067
  encryptedPayload: {
1484
- cipherSuite: "aes-256-gcm";
1485
1068
  ciphertext: string;
1486
- ciphertextHash: string;
1487
1069
  };
1488
1070
  grants: {
1489
1071
  accessLevel: "write" | "admin" | "read";
@@ -1574,10 +1156,6 @@ export declare const createOrganizationOperation: Omit<{
1574
1156
  };
1575
1157
  initialOrganizationMetadataContainer: {
1576
1158
  initialMetadataSync: {
1577
- contentKeyEpoch: number;
1578
- expectedLinkSetManifestHash: string;
1579
- expectedTargetHash: string;
1580
- localVersionVector: string | null;
1581
1159
  outgoingUpdates: {
1582
1160
  encryptedData: string;
1583
1161
  id: string;
@@ -1589,69 +1167,6 @@ export declare const createOrganizationOperation: Omit<{
1589
1167
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
1590
1168
  sourceVersionVector?: string | undefined;
1591
1169
  }[];
1592
- supportsPullPagination: true;
1593
- authorizingContainerPathRefs?: {
1594
- containerId: string;
1595
- manifestHash: string;
1596
- }[][] | undefined;
1597
- containerRekeys?: {
1598
- body: unknown;
1599
- event: Record<string, unknown>;
1600
- expectedManifestHash: string;
1601
- keyEpoch: Record<string, unknown>;
1602
- keyring: Record<string, unknown> | null;
1603
- predecessorBridge: Record<string, unknown> | null;
1604
- principalPolicyRefs: {
1605
- principalType: "group" | "organization";
1606
- principalId: string;
1607
- version: number;
1608
- stateHash: string;
1609
- }[];
1610
- wraps: Record<string, unknown>[];
1611
- containerManifestHistoryRefs?: {
1612
- containerId: string;
1613
- manifestHash: string;
1614
- }[] | undefined;
1615
- destinationParentContainerPathRefs?: {
1616
- containerId: string;
1617
- manifestHash: string;
1618
- }[] | undefined;
1619
- parentContainerPathRefs?: {
1620
- containerId: string;
1621
- manifestHash: string;
1622
- }[] | undefined;
1623
- parentKekRef?: {
1624
- containerId: string;
1625
- containerKeyEpochId: string;
1626
- keyEpochHash: string;
1627
- } | null | undefined;
1628
- previousContainerPathRefs?: {
1629
- containerId: string;
1630
- manifestHash: string;
1631
- }[] | undefined;
1632
- previousManifestRef?: {
1633
- containerId: string;
1634
- manifestHash: string;
1635
- } | null | undefined;
1636
- userRecipientKeys?: Record<string, unknown>[] | undefined;
1637
- }[] | undefined;
1638
- contentKeyBundle?: {
1639
- contentKeyEpoch: number;
1640
- linkSetManifestHash: string;
1641
- targetHash: string;
1642
- targets: {
1643
- containerId: string;
1644
- containerKeyEpoch: number;
1645
- containerKeyEpochId: string;
1646
- containerManifestHash: string;
1647
- wrappedKey: string;
1648
- wrappingMetadata: Record<string, unknown>;
1649
- }[];
1650
- } | undefined;
1651
- historyMode?: "raw" | undefined;
1652
- inlineRekeyCommitId?: string | undefined;
1653
- minLsn?: string | undefined;
1654
- pullCursor?: string | undefined;
1655
1170
  };
1656
1171
  container: {
1657
1172
  body: unknown;
@@ -1711,7 +1226,6 @@ export declare const createOrganizationOperation: Omit<{
1711
1226
  };
1712
1227
  event: Record<string, unknown>;
1713
1228
  expectedManifestHash: string;
1714
- manifest: Record<string, unknown>;
1715
1229
  authorizingContainerPathRefs?: {
1716
1230
  containerId: string;
1717
1231
  manifestHash: string;
@@ -1766,9 +1280,7 @@ export declare const createOrganizationOperation: Omit<{
1766
1280
  };
1767
1281
  initialOrganizationPolicy: {
1768
1282
  encryptedPayload: {
1769
- cipherSuite: "aes-256-gcm";
1770
1283
  ciphertext: string;
1771
- ciphertextHash: string;
1772
1284
  };
1773
1285
  grants: {
1774
1286
  accessLevel: "write" | "admin" | "read";
@@ -1899,10 +1411,6 @@ export declare const createOrganizationOperation: Omit<{
1899
1411
  };
1900
1412
  initialRootMetadataDocument: {
1901
1413
  initialSync: {
1902
- contentKeyEpoch: number;
1903
- expectedLinkSetManifestHash: string;
1904
- expectedTargetHash: string;
1905
- localVersionVector: string | null;
1906
1414
  outgoingUpdates: {
1907
1415
  encryptedData: string;
1908
1416
  id: string;
@@ -1914,69 +1422,6 @@ export declare const createOrganizationOperation: Omit<{
1914
1422
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
1915
1423
  sourceVersionVector?: string | undefined;
1916
1424
  }[];
1917
- supportsPullPagination: true;
1918
- authorizingContainerPathRefs?: {
1919
- containerId: string;
1920
- manifestHash: string;
1921
- }[][] | undefined;
1922
- containerRekeys?: {
1923
- body: unknown;
1924
- event: Record<string, unknown>;
1925
- expectedManifestHash: string;
1926
- keyEpoch: Record<string, unknown>;
1927
- keyring: Record<string, unknown> | null;
1928
- predecessorBridge: Record<string, unknown> | null;
1929
- principalPolicyRefs: {
1930
- principalType: "group" | "organization";
1931
- principalId: string;
1932
- version: number;
1933
- stateHash: string;
1934
- }[];
1935
- wraps: Record<string, unknown>[];
1936
- containerManifestHistoryRefs?: {
1937
- containerId: string;
1938
- manifestHash: string;
1939
- }[] | undefined;
1940
- destinationParentContainerPathRefs?: {
1941
- containerId: string;
1942
- manifestHash: string;
1943
- }[] | undefined;
1944
- parentContainerPathRefs?: {
1945
- containerId: string;
1946
- manifestHash: string;
1947
- }[] | undefined;
1948
- parentKekRef?: {
1949
- containerId: string;
1950
- containerKeyEpochId: string;
1951
- keyEpochHash: string;
1952
- } | null | undefined;
1953
- previousContainerPathRefs?: {
1954
- containerId: string;
1955
- manifestHash: string;
1956
- }[] | undefined;
1957
- previousManifestRef?: {
1958
- containerId: string;
1959
- manifestHash: string;
1960
- } | null | undefined;
1961
- userRecipientKeys?: Record<string, unknown>[] | undefined;
1962
- }[] | undefined;
1963
- contentKeyBundle?: {
1964
- contentKeyEpoch: number;
1965
- linkSetManifestHash: string;
1966
- targetHash: string;
1967
- targets: {
1968
- containerId: string;
1969
- containerKeyEpoch: number;
1970
- containerKeyEpochId: string;
1971
- containerManifestHash: string;
1972
- wrappedKey: string;
1973
- wrappingMetadata: Record<string, unknown>;
1974
- }[];
1975
- } | undefined;
1976
- historyMode?: "raw" | undefined;
1977
- inlineRekeyCommitId?: string | undefined;
1978
- minLsn?: string | undefined;
1979
- pullCursor?: string | undefined;
1980
1425
  };
1981
1426
  body: unknown;
1982
1427
  contentKeyBundle: {
@@ -1994,7 +1439,6 @@ export declare const createOrganizationOperation: Omit<{
1994
1439
  };
1995
1440
  event: Record<string, unknown>;
1996
1441
  expectedManifestHash: string;
1997
- manifest: Record<string, unknown>;
1998
1442
  authorizingContainerPathRefs?: {
1999
1443
  containerId: string;
2000
1444
  manifestHash: string;
@@ -2067,10 +1511,6 @@ export declare const createOrganizationOperation: Omit<{
2067
1511
  replacesOrganizationId?: string | undefined;
2068
1512
  initialOrganizationProfileDocument?: {
2069
1513
  initialSync: {
2070
- contentKeyEpoch: number;
2071
- expectedLinkSetManifestHash: string;
2072
- expectedTargetHash: string;
2073
- localVersionVector: string | null;
2074
1514
  outgoingUpdates: {
2075
1515
  encryptedData: string;
2076
1516
  id: string;
@@ -2082,69 +1522,6 @@ export declare const createOrganizationOperation: Omit<{
2082
1522
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
2083
1523
  sourceVersionVector?: string | undefined;
2084
1524
  }[];
2085
- supportsPullPagination: true;
2086
- authorizingContainerPathRefs?: {
2087
- containerId: string;
2088
- manifestHash: string;
2089
- }[][] | undefined;
2090
- containerRekeys?: {
2091
- body: unknown;
2092
- event: Record<string, unknown>;
2093
- expectedManifestHash: string;
2094
- keyEpoch: Record<string, unknown>;
2095
- keyring: Record<string, unknown> | null;
2096
- predecessorBridge: Record<string, unknown> | null;
2097
- principalPolicyRefs: {
2098
- principalType: "group" | "organization";
2099
- principalId: string;
2100
- version: number;
2101
- stateHash: string;
2102
- }[];
2103
- wraps: Record<string, unknown>[];
2104
- containerManifestHistoryRefs?: {
2105
- containerId: string;
2106
- manifestHash: string;
2107
- }[] | undefined;
2108
- destinationParentContainerPathRefs?: {
2109
- containerId: string;
2110
- manifestHash: string;
2111
- }[] | undefined;
2112
- parentContainerPathRefs?: {
2113
- containerId: string;
2114
- manifestHash: string;
2115
- }[] | undefined;
2116
- parentKekRef?: {
2117
- containerId: string;
2118
- containerKeyEpochId: string;
2119
- keyEpochHash: string;
2120
- } | null | undefined;
2121
- previousContainerPathRefs?: {
2122
- containerId: string;
2123
- manifestHash: string;
2124
- }[] | undefined;
2125
- previousManifestRef?: {
2126
- containerId: string;
2127
- manifestHash: string;
2128
- } | null | undefined;
2129
- userRecipientKeys?: Record<string, unknown>[] | undefined;
2130
- }[] | undefined;
2131
- contentKeyBundle?: {
2132
- contentKeyEpoch: number;
2133
- linkSetManifestHash: string;
2134
- targetHash: string;
2135
- targets: {
2136
- containerId: string;
2137
- containerKeyEpoch: number;
2138
- containerKeyEpochId: string;
2139
- containerManifestHash: string;
2140
- wrappedKey: string;
2141
- wrappingMetadata: Record<string, unknown>;
2142
- }[];
2143
- } | undefined;
2144
- historyMode?: "raw" | undefined;
2145
- inlineRekeyCommitId?: string | undefined;
2146
- minLsn?: string | undefined;
2147
- pullCursor?: string | undefined;
2148
1525
  };
2149
1526
  body: unknown;
2150
1527
  contentKeyBundle: {
@@ -2162,7 +1539,6 @@ export declare const createOrganizationOperation: Omit<{
2162
1539
  };
2163
1540
  event: Record<string, unknown>;
2164
1541
  expectedManifestHash: string;
2165
- manifest: Record<string, unknown>;
2166
1542
  authorizingContainerPathRefs?: {
2167
1543
  containerId: string;
2168
1544
  manifestHash: string;
@@ -2215,10 +1591,6 @@ export declare const createOrganizationOperation: Omit<{
2215
1591
  } | undefined;
2216
1592
  initialRosterProfileContainer?: {
2217
1593
  initialMetadataSync: {
2218
- contentKeyEpoch: number;
2219
- expectedLinkSetManifestHash: string;
2220
- expectedTargetHash: string;
2221
- localVersionVector: string | null;
2222
1594
  outgoingUpdates: {
2223
1595
  encryptedData: string;
2224
1596
  id: string;
@@ -2230,69 +1602,6 @@ export declare const createOrganizationOperation: Omit<{
2230
1602
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
2231
1603
  sourceVersionVector?: string | undefined;
2232
1604
  }[];
2233
- supportsPullPagination: true;
2234
- authorizingContainerPathRefs?: {
2235
- containerId: string;
2236
- manifestHash: string;
2237
- }[][] | undefined;
2238
- containerRekeys?: {
2239
- body: unknown;
2240
- event: Record<string, unknown>;
2241
- expectedManifestHash: string;
2242
- keyEpoch: Record<string, unknown>;
2243
- keyring: Record<string, unknown> | null;
2244
- predecessorBridge: Record<string, unknown> | null;
2245
- principalPolicyRefs: {
2246
- principalType: "group" | "organization";
2247
- principalId: string;
2248
- version: number;
2249
- stateHash: string;
2250
- }[];
2251
- wraps: Record<string, unknown>[];
2252
- containerManifestHistoryRefs?: {
2253
- containerId: string;
2254
- manifestHash: string;
2255
- }[] | undefined;
2256
- destinationParentContainerPathRefs?: {
2257
- containerId: string;
2258
- manifestHash: string;
2259
- }[] | undefined;
2260
- parentContainerPathRefs?: {
2261
- containerId: string;
2262
- manifestHash: string;
2263
- }[] | undefined;
2264
- parentKekRef?: {
2265
- containerId: string;
2266
- containerKeyEpochId: string;
2267
- keyEpochHash: string;
2268
- } | null | undefined;
2269
- previousContainerPathRefs?: {
2270
- containerId: string;
2271
- manifestHash: string;
2272
- }[] | undefined;
2273
- previousManifestRef?: {
2274
- containerId: string;
2275
- manifestHash: string;
2276
- } | null | undefined;
2277
- userRecipientKeys?: Record<string, unknown>[] | undefined;
2278
- }[] | undefined;
2279
- contentKeyBundle?: {
2280
- contentKeyEpoch: number;
2281
- linkSetManifestHash: string;
2282
- targetHash: string;
2283
- targets: {
2284
- containerId: string;
2285
- containerKeyEpoch: number;
2286
- containerKeyEpochId: string;
2287
- containerManifestHash: string;
2288
- wrappedKey: string;
2289
- wrappingMetadata: Record<string, unknown>;
2290
- }[];
2291
- } | undefined;
2292
- historyMode?: "raw" | undefined;
2293
- inlineRekeyCommitId?: string | undefined;
2294
- minLsn?: string | undefined;
2295
- pullCursor?: string | undefined;
2296
1605
  };
2297
1606
  container: {
2298
1607
  body: unknown;
@@ -2352,7 +1661,6 @@ export declare const createOrganizationOperation: Omit<{
2352
1661
  };
2353
1662
  event: Record<string, unknown>;
2354
1663
  expectedManifestHash: string;
2355
- manifest: Record<string, unknown>;
2356
1664
  authorizingContainerPathRefs?: {
2357
1665
  containerId: string;
2358
1666
  manifestHash: string;
@@ -2407,10 +1715,6 @@ export declare const createOrganizationOperation: Omit<{
2407
1715
  } | undefined;
2408
1716
  initialRosterProfileDocument?: {
2409
1717
  initialSync: {
2410
- contentKeyEpoch: number;
2411
- expectedLinkSetManifestHash: string;
2412
- expectedTargetHash: string;
2413
- localVersionVector: string | null;
2414
1718
  outgoingUpdates: {
2415
1719
  encryptedData: string;
2416
1720
  id: string;
@@ -2422,69 +1726,6 @@ export declare const createOrganizationOperation: Omit<{
2422
1726
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
2423
1727
  sourceVersionVector?: string | undefined;
2424
1728
  }[];
2425
- supportsPullPagination: true;
2426
- authorizingContainerPathRefs?: {
2427
- containerId: string;
2428
- manifestHash: string;
2429
- }[][] | undefined;
2430
- containerRekeys?: {
2431
- body: unknown;
2432
- event: Record<string, unknown>;
2433
- expectedManifestHash: string;
2434
- keyEpoch: Record<string, unknown>;
2435
- keyring: Record<string, unknown> | null;
2436
- predecessorBridge: Record<string, unknown> | null;
2437
- principalPolicyRefs: {
2438
- principalType: "group" | "organization";
2439
- principalId: string;
2440
- version: number;
2441
- stateHash: string;
2442
- }[];
2443
- wraps: Record<string, unknown>[];
2444
- containerManifestHistoryRefs?: {
2445
- containerId: string;
2446
- manifestHash: string;
2447
- }[] | undefined;
2448
- destinationParentContainerPathRefs?: {
2449
- containerId: string;
2450
- manifestHash: string;
2451
- }[] | undefined;
2452
- parentContainerPathRefs?: {
2453
- containerId: string;
2454
- manifestHash: string;
2455
- }[] | undefined;
2456
- parentKekRef?: {
2457
- containerId: string;
2458
- containerKeyEpochId: string;
2459
- keyEpochHash: string;
2460
- } | null | undefined;
2461
- previousContainerPathRefs?: {
2462
- containerId: string;
2463
- manifestHash: string;
2464
- }[] | undefined;
2465
- previousManifestRef?: {
2466
- containerId: string;
2467
- manifestHash: string;
2468
- } | null | undefined;
2469
- userRecipientKeys?: Record<string, unknown>[] | undefined;
2470
- }[] | undefined;
2471
- contentKeyBundle?: {
2472
- contentKeyEpoch: number;
2473
- linkSetManifestHash: string;
2474
- targetHash: string;
2475
- targets: {
2476
- containerId: string;
2477
- containerKeyEpoch: number;
2478
- containerKeyEpochId: string;
2479
- containerManifestHash: string;
2480
- wrappedKey: string;
2481
- wrappingMetadata: Record<string, unknown>;
2482
- }[];
2483
- } | undefined;
2484
- historyMode?: "raw" | undefined;
2485
- inlineRekeyCommitId?: string | undefined;
2486
- minLsn?: string | undefined;
2487
- pullCursor?: string | undefined;
2488
1729
  };
2489
1730
  body: unknown;
2490
1731
  contentKeyBundle: {
@@ -2502,7 +1743,6 @@ export declare const createOrganizationOperation: Omit<{
2502
1743
  };
2503
1744
  event: Record<string, unknown>;
2504
1745
  expectedManifestHash: string;
2505
- manifest: Record<string, unknown>;
2506
1746
  authorizingContainerPathRefs?: {
2507
1747
  containerId: string;
2508
1748
  manifestHash: string;
@@ -2549,90 +1789,23 @@ export declare const createOrganizationOperation: Omit<{
2549
1789
  userRecipientKeys?: Record<string, unknown>[] | undefined;
2550
1790
  }[] | undefined;
2551
1791
  targetContainerPathRefs?: {
2552
- containerId: string;
2553
- manifestHash: string;
2554
- }[] | undefined;
2555
- } | undefined;
2556
- initialSystemContainers?: {
2557
- initialMetadataSync: {
2558
- contentKeyEpoch: number;
2559
- expectedLinkSetManifestHash: string;
2560
- expectedTargetHash: string;
2561
- localVersionVector: string | null;
2562
- outgoingUpdates: {
2563
- encryptedData: string;
2564
- id: string;
2565
- partialEndVersionVector: string;
2566
- partialStartVersionVector: string;
2567
- plaintextHash: string;
2568
- writeHeader: Record<string, unknown>;
2569
- checkpointKind?: "rotate_baseline" | undefined;
2570
- checkpointPayloadKind?: "full_history_snapshot" | undefined;
2571
- sourceVersionVector?: string | undefined;
2572
- }[];
2573
- supportsPullPagination: true;
2574
- authorizingContainerPathRefs?: {
2575
- containerId: string;
2576
- manifestHash: string;
2577
- }[][] | undefined;
2578
- containerRekeys?: {
2579
- body: unknown;
2580
- event: Record<string, unknown>;
2581
- expectedManifestHash: string;
2582
- keyEpoch: Record<string, unknown>;
2583
- keyring: Record<string, unknown> | null;
2584
- predecessorBridge: Record<string, unknown> | null;
2585
- principalPolicyRefs: {
2586
- principalType: "group" | "organization";
2587
- principalId: string;
2588
- version: number;
2589
- stateHash: string;
2590
- }[];
2591
- wraps: Record<string, unknown>[];
2592
- containerManifestHistoryRefs?: {
2593
- containerId: string;
2594
- manifestHash: string;
2595
- }[] | undefined;
2596
- destinationParentContainerPathRefs?: {
2597
- containerId: string;
2598
- manifestHash: string;
2599
- }[] | undefined;
2600
- parentContainerPathRefs?: {
2601
- containerId: string;
2602
- manifestHash: string;
2603
- }[] | undefined;
2604
- parentKekRef?: {
2605
- containerId: string;
2606
- containerKeyEpochId: string;
2607
- keyEpochHash: string;
2608
- } | null | undefined;
2609
- previousContainerPathRefs?: {
2610
- containerId: string;
2611
- manifestHash: string;
2612
- }[] | undefined;
2613
- previousManifestRef?: {
2614
- containerId: string;
2615
- manifestHash: string;
2616
- } | null | undefined;
2617
- userRecipientKeys?: Record<string, unknown>[] | undefined;
2618
- }[] | undefined;
2619
- contentKeyBundle?: {
2620
- contentKeyEpoch: number;
2621
- linkSetManifestHash: string;
2622
- targetHash: string;
2623
- targets: {
2624
- containerId: string;
2625
- containerKeyEpoch: number;
2626
- containerKeyEpochId: string;
2627
- containerManifestHash: string;
2628
- wrappedKey: string;
2629
- wrappingMetadata: Record<string, unknown>;
2630
- }[];
2631
- } | undefined;
2632
- historyMode?: "raw" | undefined;
2633
- inlineRekeyCommitId?: string | undefined;
2634
- minLsn?: string | undefined;
2635
- pullCursor?: string | undefined;
1792
+ containerId: string;
1793
+ manifestHash: string;
1794
+ }[] | undefined;
1795
+ } | undefined;
1796
+ initialSystemContainers?: {
1797
+ initialMetadataSync: {
1798
+ outgoingUpdates: {
1799
+ encryptedData: string;
1800
+ id: string;
1801
+ partialEndVersionVector: string;
1802
+ partialStartVersionVector: string;
1803
+ plaintextHash: string;
1804
+ writeHeader: Record<string, unknown>;
1805
+ checkpointKind?: "rotate_baseline" | undefined;
1806
+ checkpointPayloadKind?: "full_history_snapshot" | undefined;
1807
+ sourceVersionVector?: string | undefined;
1808
+ }[];
2636
1809
  };
2637
1810
  container: {
2638
1811
  body: unknown;
@@ -2692,7 +1865,6 @@ export declare const createOrganizationOperation: Omit<{
2692
1865
  };
2693
1866
  event: Record<string, unknown>;
2694
1867
  expectedManifestHash: string;
2695
- manifest: Record<string, unknown>;
2696
1868
  authorizingContainerPathRefs?: {
2697
1869
  containerId: string;
2698
1870
  manifestHash: string;
@@ -2750,9 +1922,7 @@ export declare const createOrganizationOperation: Omit<{
2750
1922
  groupId: string;
2751
1923
  initialGroupPolicy: {
2752
1924
  encryptedPayload: {
2753
- cipherSuite: "aes-256-gcm";
2754
1925
  ciphertext: string;
2755
- ciphertextHash: string;
2756
1926
  };
2757
1927
  grants: {
2758
1928
  accessLevel: "write" | "admin" | "read";
@@ -2845,9 +2015,7 @@ export declare const createOrganizationOperation: Omit<{
2845
2015
  groupId: string;
2846
2016
  initialGroupPolicy: {
2847
2017
  encryptedPayload: {
2848
- cipherSuite: "aes-256-gcm";
2849
2018
  ciphertext: string;
2850
- ciphertextHash: string;
2851
2019
  };
2852
2020
  grants: {
2853
2021
  accessLevel: "write" | "admin" | "read";
@@ -2938,10 +2106,6 @@ export declare const createOrganizationOperation: Omit<{
2938
2106
  };
2939
2107
  initialOrganizationMetadataContainer: {
2940
2108
  initialMetadataSync: {
2941
- contentKeyEpoch: number;
2942
- expectedLinkSetManifestHash: string;
2943
- expectedTargetHash: string;
2944
- localVersionVector: string | null;
2945
2109
  outgoingUpdates: {
2946
2110
  encryptedData: string;
2947
2111
  id: string;
@@ -2953,69 +2117,6 @@ export declare const createOrganizationOperation: Omit<{
2953
2117
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
2954
2118
  sourceVersionVector?: string | undefined;
2955
2119
  }[];
2956
- supportsPullPagination: true;
2957
- authorizingContainerPathRefs?: {
2958
- containerId: string;
2959
- manifestHash: string;
2960
- }[][] | undefined;
2961
- containerRekeys?: {
2962
- body: unknown;
2963
- event: Record<string, unknown>;
2964
- expectedManifestHash: string;
2965
- keyEpoch: Record<string, unknown>;
2966
- keyring: Record<string, unknown> | null;
2967
- predecessorBridge: Record<string, unknown> | null;
2968
- principalPolicyRefs: {
2969
- principalType: "group" | "organization";
2970
- principalId: string;
2971
- version: number;
2972
- stateHash: string;
2973
- }[];
2974
- wraps: Record<string, unknown>[];
2975
- containerManifestHistoryRefs?: {
2976
- containerId: string;
2977
- manifestHash: string;
2978
- }[] | undefined;
2979
- destinationParentContainerPathRefs?: {
2980
- containerId: string;
2981
- manifestHash: string;
2982
- }[] | undefined;
2983
- parentContainerPathRefs?: {
2984
- containerId: string;
2985
- manifestHash: string;
2986
- }[] | undefined;
2987
- parentKekRef?: {
2988
- containerId: string;
2989
- containerKeyEpochId: string;
2990
- keyEpochHash: string;
2991
- } | null | undefined;
2992
- previousContainerPathRefs?: {
2993
- containerId: string;
2994
- manifestHash: string;
2995
- }[] | undefined;
2996
- previousManifestRef?: {
2997
- containerId: string;
2998
- manifestHash: string;
2999
- } | null | undefined;
3000
- userRecipientKeys?: Record<string, unknown>[] | undefined;
3001
- }[] | undefined;
3002
- contentKeyBundle?: {
3003
- contentKeyEpoch: number;
3004
- linkSetManifestHash: string;
3005
- targetHash: string;
3006
- targets: {
3007
- containerId: string;
3008
- containerKeyEpoch: number;
3009
- containerKeyEpochId: string;
3010
- containerManifestHash: string;
3011
- wrappedKey: string;
3012
- wrappingMetadata: Record<string, unknown>;
3013
- }[];
3014
- } | undefined;
3015
- historyMode?: "raw" | undefined;
3016
- inlineRekeyCommitId?: string | undefined;
3017
- minLsn?: string | undefined;
3018
- pullCursor?: string | undefined;
3019
2120
  };
3020
2121
  container: {
3021
2122
  body: unknown;
@@ -3075,7 +2176,6 @@ export declare const createOrganizationOperation: Omit<{
3075
2176
  };
3076
2177
  event: Record<string, unknown>;
3077
2178
  expectedManifestHash: string;
3078
- manifest: Record<string, unknown>;
3079
2179
  authorizingContainerPathRefs?: {
3080
2180
  containerId: string;
3081
2181
  manifestHash: string;
@@ -3130,9 +2230,7 @@ export declare const createOrganizationOperation: Omit<{
3130
2230
  };
3131
2231
  initialOrganizationPolicy: {
3132
2232
  encryptedPayload: {
3133
- cipherSuite: "aes-256-gcm";
3134
2233
  ciphertext: string;
3135
- ciphertextHash: string;
3136
2234
  };
3137
2235
  grants: {
3138
2236
  accessLevel: "write" | "admin" | "read";
@@ -3263,10 +2361,6 @@ export declare const createOrganizationOperation: Omit<{
3263
2361
  };
3264
2362
  initialRootMetadataDocument: {
3265
2363
  initialSync: {
3266
- contentKeyEpoch: number;
3267
- expectedLinkSetManifestHash: string;
3268
- expectedTargetHash: string;
3269
- localVersionVector: string | null;
3270
2364
  outgoingUpdates: {
3271
2365
  encryptedData: string;
3272
2366
  id: string;
@@ -3278,69 +2372,6 @@ export declare const createOrganizationOperation: Omit<{
3278
2372
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
3279
2373
  sourceVersionVector?: string | undefined;
3280
2374
  }[];
3281
- supportsPullPagination: true;
3282
- authorizingContainerPathRefs?: {
3283
- containerId: string;
3284
- manifestHash: string;
3285
- }[][] | undefined;
3286
- containerRekeys?: {
3287
- body: unknown;
3288
- event: Record<string, unknown>;
3289
- expectedManifestHash: string;
3290
- keyEpoch: Record<string, unknown>;
3291
- keyring: Record<string, unknown> | null;
3292
- predecessorBridge: Record<string, unknown> | null;
3293
- principalPolicyRefs: {
3294
- principalType: "group" | "organization";
3295
- principalId: string;
3296
- version: number;
3297
- stateHash: string;
3298
- }[];
3299
- wraps: Record<string, unknown>[];
3300
- containerManifestHistoryRefs?: {
3301
- containerId: string;
3302
- manifestHash: string;
3303
- }[] | undefined;
3304
- destinationParentContainerPathRefs?: {
3305
- containerId: string;
3306
- manifestHash: string;
3307
- }[] | undefined;
3308
- parentContainerPathRefs?: {
3309
- containerId: string;
3310
- manifestHash: string;
3311
- }[] | undefined;
3312
- parentKekRef?: {
3313
- containerId: string;
3314
- containerKeyEpochId: string;
3315
- keyEpochHash: string;
3316
- } | null | undefined;
3317
- previousContainerPathRefs?: {
3318
- containerId: string;
3319
- manifestHash: string;
3320
- }[] | undefined;
3321
- previousManifestRef?: {
3322
- containerId: string;
3323
- manifestHash: string;
3324
- } | null | undefined;
3325
- userRecipientKeys?: Record<string, unknown>[] | undefined;
3326
- }[] | undefined;
3327
- contentKeyBundle?: {
3328
- contentKeyEpoch: number;
3329
- linkSetManifestHash: string;
3330
- targetHash: string;
3331
- targets: {
3332
- containerId: string;
3333
- containerKeyEpoch: number;
3334
- containerKeyEpochId: string;
3335
- containerManifestHash: string;
3336
- wrappedKey: string;
3337
- wrappingMetadata: Record<string, unknown>;
3338
- }[];
3339
- } | undefined;
3340
- historyMode?: "raw" | undefined;
3341
- inlineRekeyCommitId?: string | undefined;
3342
- minLsn?: string | undefined;
3343
- pullCursor?: string | undefined;
3344
2375
  };
3345
2376
  body: unknown;
3346
2377
  contentKeyBundle: {
@@ -3358,7 +2389,6 @@ export declare const createOrganizationOperation: Omit<{
3358
2389
  };
3359
2390
  event: Record<string, unknown>;
3360
2391
  expectedManifestHash: string;
3361
- manifest: Record<string, unknown>;
3362
2392
  authorizingContainerPathRefs?: {
3363
2393
  containerId: string;
3364
2394
  manifestHash: string;
@@ -3431,10 +2461,6 @@ export declare const createOrganizationOperation: Omit<{
3431
2461
  replacesOrganizationId?: string | undefined;
3432
2462
  initialOrganizationProfileDocument?: {
3433
2463
  initialSync: {
3434
- contentKeyEpoch: number;
3435
- expectedLinkSetManifestHash: string;
3436
- expectedTargetHash: string;
3437
- localVersionVector: string | null;
3438
2464
  outgoingUpdates: {
3439
2465
  encryptedData: string;
3440
2466
  id: string;
@@ -3446,69 +2472,6 @@ export declare const createOrganizationOperation: Omit<{
3446
2472
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
3447
2473
  sourceVersionVector?: string | undefined;
3448
2474
  }[];
3449
- supportsPullPagination: true;
3450
- authorizingContainerPathRefs?: {
3451
- containerId: string;
3452
- manifestHash: string;
3453
- }[][] | undefined;
3454
- containerRekeys?: {
3455
- body: unknown;
3456
- event: Record<string, unknown>;
3457
- expectedManifestHash: string;
3458
- keyEpoch: Record<string, unknown>;
3459
- keyring: Record<string, unknown> | null;
3460
- predecessorBridge: Record<string, unknown> | null;
3461
- principalPolicyRefs: {
3462
- principalType: "group" | "organization";
3463
- principalId: string;
3464
- version: number;
3465
- stateHash: string;
3466
- }[];
3467
- wraps: Record<string, unknown>[];
3468
- containerManifestHistoryRefs?: {
3469
- containerId: string;
3470
- manifestHash: string;
3471
- }[] | undefined;
3472
- destinationParentContainerPathRefs?: {
3473
- containerId: string;
3474
- manifestHash: string;
3475
- }[] | undefined;
3476
- parentContainerPathRefs?: {
3477
- containerId: string;
3478
- manifestHash: string;
3479
- }[] | undefined;
3480
- parentKekRef?: {
3481
- containerId: string;
3482
- containerKeyEpochId: string;
3483
- keyEpochHash: string;
3484
- } | null | undefined;
3485
- previousContainerPathRefs?: {
3486
- containerId: string;
3487
- manifestHash: string;
3488
- }[] | undefined;
3489
- previousManifestRef?: {
3490
- containerId: string;
3491
- manifestHash: string;
3492
- } | null | undefined;
3493
- userRecipientKeys?: Record<string, unknown>[] | undefined;
3494
- }[] | undefined;
3495
- contentKeyBundle?: {
3496
- contentKeyEpoch: number;
3497
- linkSetManifestHash: string;
3498
- targetHash: string;
3499
- targets: {
3500
- containerId: string;
3501
- containerKeyEpoch: number;
3502
- containerKeyEpochId: string;
3503
- containerManifestHash: string;
3504
- wrappedKey: string;
3505
- wrappingMetadata: Record<string, unknown>;
3506
- }[];
3507
- } | undefined;
3508
- historyMode?: "raw" | undefined;
3509
- inlineRekeyCommitId?: string | undefined;
3510
- minLsn?: string | undefined;
3511
- pullCursor?: string | undefined;
3512
2475
  };
3513
2476
  body: unknown;
3514
2477
  contentKeyBundle: {
@@ -3526,7 +2489,6 @@ export declare const createOrganizationOperation: Omit<{
3526
2489
  };
3527
2490
  event: Record<string, unknown>;
3528
2491
  expectedManifestHash: string;
3529
- manifest: Record<string, unknown>;
3530
2492
  authorizingContainerPathRefs?: {
3531
2493
  containerId: string;
3532
2494
  manifestHash: string;
@@ -3579,84 +2541,17 @@ export declare const createOrganizationOperation: Omit<{
3579
2541
  } | undefined;
3580
2542
  initialRosterProfileContainer?: {
3581
2543
  initialMetadataSync: {
3582
- contentKeyEpoch: number;
3583
- expectedLinkSetManifestHash: string;
3584
- expectedTargetHash: string;
3585
- localVersionVector: string | null;
3586
2544
  outgoingUpdates: {
3587
2545
  encryptedData: string;
3588
2546
  id: string;
3589
2547
  partialEndVersionVector: string;
3590
- partialStartVersionVector: string;
3591
- plaintextHash: string;
3592
- writeHeader: Record<string, unknown>;
3593
- checkpointKind?: "rotate_baseline" | undefined;
3594
- checkpointPayloadKind?: "full_history_snapshot" | undefined;
3595
- sourceVersionVector?: string | undefined;
3596
- }[];
3597
- supportsPullPagination: true;
3598
- authorizingContainerPathRefs?: {
3599
- containerId: string;
3600
- manifestHash: string;
3601
- }[][] | undefined;
3602
- containerRekeys?: {
3603
- body: unknown;
3604
- event: Record<string, unknown>;
3605
- expectedManifestHash: string;
3606
- keyEpoch: Record<string, unknown>;
3607
- keyring: Record<string, unknown> | null;
3608
- predecessorBridge: Record<string, unknown> | null;
3609
- principalPolicyRefs: {
3610
- principalType: "group" | "organization";
3611
- principalId: string;
3612
- version: number;
3613
- stateHash: string;
3614
- }[];
3615
- wraps: Record<string, unknown>[];
3616
- containerManifestHistoryRefs?: {
3617
- containerId: string;
3618
- manifestHash: string;
3619
- }[] | undefined;
3620
- destinationParentContainerPathRefs?: {
3621
- containerId: string;
3622
- manifestHash: string;
3623
- }[] | undefined;
3624
- parentContainerPathRefs?: {
3625
- containerId: string;
3626
- manifestHash: string;
3627
- }[] | undefined;
3628
- parentKekRef?: {
3629
- containerId: string;
3630
- containerKeyEpochId: string;
3631
- keyEpochHash: string;
3632
- } | null | undefined;
3633
- previousContainerPathRefs?: {
3634
- containerId: string;
3635
- manifestHash: string;
3636
- }[] | undefined;
3637
- previousManifestRef?: {
3638
- containerId: string;
3639
- manifestHash: string;
3640
- } | null | undefined;
3641
- userRecipientKeys?: Record<string, unknown>[] | undefined;
3642
- }[] | undefined;
3643
- contentKeyBundle?: {
3644
- contentKeyEpoch: number;
3645
- linkSetManifestHash: string;
3646
- targetHash: string;
3647
- targets: {
3648
- containerId: string;
3649
- containerKeyEpoch: number;
3650
- containerKeyEpochId: string;
3651
- containerManifestHash: string;
3652
- wrappedKey: string;
3653
- wrappingMetadata: Record<string, unknown>;
3654
- }[];
3655
- } | undefined;
3656
- historyMode?: "raw" | undefined;
3657
- inlineRekeyCommitId?: string | undefined;
3658
- minLsn?: string | undefined;
3659
- pullCursor?: string | undefined;
2548
+ partialStartVersionVector: string;
2549
+ plaintextHash: string;
2550
+ writeHeader: Record<string, unknown>;
2551
+ checkpointKind?: "rotate_baseline" | undefined;
2552
+ checkpointPayloadKind?: "full_history_snapshot" | undefined;
2553
+ sourceVersionVector?: string | undefined;
2554
+ }[];
3660
2555
  };
3661
2556
  container: {
3662
2557
  body: unknown;
@@ -3716,7 +2611,6 @@ export declare const createOrganizationOperation: Omit<{
3716
2611
  };
3717
2612
  event: Record<string, unknown>;
3718
2613
  expectedManifestHash: string;
3719
- manifest: Record<string, unknown>;
3720
2614
  authorizingContainerPathRefs?: {
3721
2615
  containerId: string;
3722
2616
  manifestHash: string;
@@ -3771,10 +2665,6 @@ export declare const createOrganizationOperation: Omit<{
3771
2665
  } | undefined;
3772
2666
  initialRosterProfileDocument?: {
3773
2667
  initialSync: {
3774
- contentKeyEpoch: number;
3775
- expectedLinkSetManifestHash: string;
3776
- expectedTargetHash: string;
3777
- localVersionVector: string | null;
3778
2668
  outgoingUpdates: {
3779
2669
  encryptedData: string;
3780
2670
  id: string;
@@ -3786,69 +2676,6 @@ export declare const createOrganizationOperation: Omit<{
3786
2676
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
3787
2677
  sourceVersionVector?: string | undefined;
3788
2678
  }[];
3789
- supportsPullPagination: true;
3790
- authorizingContainerPathRefs?: {
3791
- containerId: string;
3792
- manifestHash: string;
3793
- }[][] | undefined;
3794
- containerRekeys?: {
3795
- body: unknown;
3796
- event: Record<string, unknown>;
3797
- expectedManifestHash: string;
3798
- keyEpoch: Record<string, unknown>;
3799
- keyring: Record<string, unknown> | null;
3800
- predecessorBridge: Record<string, unknown> | null;
3801
- principalPolicyRefs: {
3802
- principalType: "group" | "organization";
3803
- principalId: string;
3804
- version: number;
3805
- stateHash: string;
3806
- }[];
3807
- wraps: Record<string, unknown>[];
3808
- containerManifestHistoryRefs?: {
3809
- containerId: string;
3810
- manifestHash: string;
3811
- }[] | undefined;
3812
- destinationParentContainerPathRefs?: {
3813
- containerId: string;
3814
- manifestHash: string;
3815
- }[] | undefined;
3816
- parentContainerPathRefs?: {
3817
- containerId: string;
3818
- manifestHash: string;
3819
- }[] | undefined;
3820
- parentKekRef?: {
3821
- containerId: string;
3822
- containerKeyEpochId: string;
3823
- keyEpochHash: string;
3824
- } | null | undefined;
3825
- previousContainerPathRefs?: {
3826
- containerId: string;
3827
- manifestHash: string;
3828
- }[] | undefined;
3829
- previousManifestRef?: {
3830
- containerId: string;
3831
- manifestHash: string;
3832
- } | null | undefined;
3833
- userRecipientKeys?: Record<string, unknown>[] | undefined;
3834
- }[] | undefined;
3835
- contentKeyBundle?: {
3836
- contentKeyEpoch: number;
3837
- linkSetManifestHash: string;
3838
- targetHash: string;
3839
- targets: {
3840
- containerId: string;
3841
- containerKeyEpoch: number;
3842
- containerKeyEpochId: string;
3843
- containerManifestHash: string;
3844
- wrappedKey: string;
3845
- wrappingMetadata: Record<string, unknown>;
3846
- }[];
3847
- } | undefined;
3848
- historyMode?: "raw" | undefined;
3849
- inlineRekeyCommitId?: string | undefined;
3850
- minLsn?: string | undefined;
3851
- pullCursor?: string | undefined;
3852
2679
  };
3853
2680
  body: unknown;
3854
2681
  contentKeyBundle: {
@@ -3866,7 +2693,6 @@ export declare const createOrganizationOperation: Omit<{
3866
2693
  };
3867
2694
  event: Record<string, unknown>;
3868
2695
  expectedManifestHash: string;
3869
- manifest: Record<string, unknown>;
3870
2696
  authorizingContainerPathRefs?: {
3871
2697
  containerId: string;
3872
2698
  manifestHash: string;
@@ -3919,10 +2745,6 @@ export declare const createOrganizationOperation: Omit<{
3919
2745
  } | undefined;
3920
2746
  initialSystemContainers?: {
3921
2747
  initialMetadataSync: {
3922
- contentKeyEpoch: number;
3923
- expectedLinkSetManifestHash: string;
3924
- expectedTargetHash: string;
3925
- localVersionVector: string | null;
3926
2748
  outgoingUpdates: {
3927
2749
  encryptedData: string;
3928
2750
  id: string;
@@ -3934,69 +2756,6 @@ export declare const createOrganizationOperation: Omit<{
3934
2756
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
3935
2757
  sourceVersionVector?: string | undefined;
3936
2758
  }[];
3937
- supportsPullPagination: true;
3938
- authorizingContainerPathRefs?: {
3939
- containerId: string;
3940
- manifestHash: string;
3941
- }[][] | undefined;
3942
- containerRekeys?: {
3943
- body: unknown;
3944
- event: Record<string, unknown>;
3945
- expectedManifestHash: string;
3946
- keyEpoch: Record<string, unknown>;
3947
- keyring: Record<string, unknown> | null;
3948
- predecessorBridge: Record<string, unknown> | null;
3949
- principalPolicyRefs: {
3950
- principalType: "group" | "organization";
3951
- principalId: string;
3952
- version: number;
3953
- stateHash: string;
3954
- }[];
3955
- wraps: Record<string, unknown>[];
3956
- containerManifestHistoryRefs?: {
3957
- containerId: string;
3958
- manifestHash: string;
3959
- }[] | undefined;
3960
- destinationParentContainerPathRefs?: {
3961
- containerId: string;
3962
- manifestHash: string;
3963
- }[] | undefined;
3964
- parentContainerPathRefs?: {
3965
- containerId: string;
3966
- manifestHash: string;
3967
- }[] | undefined;
3968
- parentKekRef?: {
3969
- containerId: string;
3970
- containerKeyEpochId: string;
3971
- keyEpochHash: string;
3972
- } | null | undefined;
3973
- previousContainerPathRefs?: {
3974
- containerId: string;
3975
- manifestHash: string;
3976
- }[] | undefined;
3977
- previousManifestRef?: {
3978
- containerId: string;
3979
- manifestHash: string;
3980
- } | null | undefined;
3981
- userRecipientKeys?: Record<string, unknown>[] | undefined;
3982
- }[] | undefined;
3983
- contentKeyBundle?: {
3984
- contentKeyEpoch: number;
3985
- linkSetManifestHash: string;
3986
- targetHash: string;
3987
- targets: {
3988
- containerId: string;
3989
- containerKeyEpoch: number;
3990
- containerKeyEpochId: string;
3991
- containerManifestHash: string;
3992
- wrappedKey: string;
3993
- wrappingMetadata: Record<string, unknown>;
3994
- }[];
3995
- } | undefined;
3996
- historyMode?: "raw" | undefined;
3997
- inlineRekeyCommitId?: string | undefined;
3998
- minLsn?: string | undefined;
3999
- pullCursor?: string | undefined;
4000
2759
  };
4001
2760
  container: {
4002
2761
  body: unknown;
@@ -4056,7 +2815,6 @@ export declare const createOrganizationOperation: Omit<{
4056
2815
  };
4057
2816
  event: Record<string, unknown>;
4058
2817
  expectedManifestHash: string;
4059
- manifest: Record<string, unknown>;
4060
2818
  authorizingContainerPathRefs?: {
4061
2819
  containerId: string;
4062
2820
  manifestHash: string;
@@ -4114,9 +2872,7 @@ export declare const createOrganizationOperation: Omit<{
4114
2872
  groupId: string;
4115
2873
  initialGroupPolicy: {
4116
2874
  encryptedPayload: {
4117
- cipherSuite: "aes-256-gcm";
4118
2875
  ciphertext: string;
4119
- ciphertextHash: string;
4120
2876
  };
4121
2877
  grants: {
4122
2878
  accessLevel: "write" | "admin" | "read";
@@ -4209,9 +2965,7 @@ export declare const createOrganizationOperation: Omit<{
4209
2965
  groupId: string;
4210
2966
  initialGroupPolicy: {
4211
2967
  encryptedPayload: {
4212
- cipherSuite: "aes-256-gcm";
4213
2968
  ciphertext: string;
4214
- ciphertextHash: string;
4215
2969
  };
4216
2970
  grants: {
4217
2971
  accessLevel: "write" | "admin" | "read";
@@ -4302,10 +3056,6 @@ export declare const createOrganizationOperation: Omit<{
4302
3056
  };
4303
3057
  initialOrganizationMetadataContainer: {
4304
3058
  initialMetadataSync: {
4305
- contentKeyEpoch: number;
4306
- expectedLinkSetManifestHash: string;
4307
- expectedTargetHash: string;
4308
- localVersionVector: string | null;
4309
3059
  outgoingUpdates: {
4310
3060
  encryptedData: string;
4311
3061
  id: string;
@@ -4317,69 +3067,6 @@ export declare const createOrganizationOperation: Omit<{
4317
3067
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
4318
3068
  sourceVersionVector?: string | undefined;
4319
3069
  }[];
4320
- supportsPullPagination: true;
4321
- authorizingContainerPathRefs?: {
4322
- containerId: string;
4323
- manifestHash: string;
4324
- }[][] | undefined;
4325
- containerRekeys?: {
4326
- body: unknown;
4327
- event: Record<string, unknown>;
4328
- expectedManifestHash: string;
4329
- keyEpoch: Record<string, unknown>;
4330
- keyring: Record<string, unknown> | null;
4331
- predecessorBridge: Record<string, unknown> | null;
4332
- principalPolicyRefs: {
4333
- principalType: "group" | "organization";
4334
- principalId: string;
4335
- version: number;
4336
- stateHash: string;
4337
- }[];
4338
- wraps: Record<string, unknown>[];
4339
- containerManifestHistoryRefs?: {
4340
- containerId: string;
4341
- manifestHash: string;
4342
- }[] | undefined;
4343
- destinationParentContainerPathRefs?: {
4344
- containerId: string;
4345
- manifestHash: string;
4346
- }[] | undefined;
4347
- parentContainerPathRefs?: {
4348
- containerId: string;
4349
- manifestHash: string;
4350
- }[] | undefined;
4351
- parentKekRef?: {
4352
- containerId: string;
4353
- containerKeyEpochId: string;
4354
- keyEpochHash: string;
4355
- } | null | undefined;
4356
- previousContainerPathRefs?: {
4357
- containerId: string;
4358
- manifestHash: string;
4359
- }[] | undefined;
4360
- previousManifestRef?: {
4361
- containerId: string;
4362
- manifestHash: string;
4363
- } | null | undefined;
4364
- userRecipientKeys?: Record<string, unknown>[] | undefined;
4365
- }[] | undefined;
4366
- contentKeyBundle?: {
4367
- contentKeyEpoch: number;
4368
- linkSetManifestHash: string;
4369
- targetHash: string;
4370
- targets: {
4371
- containerId: string;
4372
- containerKeyEpoch: number;
4373
- containerKeyEpochId: string;
4374
- containerManifestHash: string;
4375
- wrappedKey: string;
4376
- wrappingMetadata: Record<string, unknown>;
4377
- }[];
4378
- } | undefined;
4379
- historyMode?: "raw" | undefined;
4380
- inlineRekeyCommitId?: string | undefined;
4381
- minLsn?: string | undefined;
4382
- pullCursor?: string | undefined;
4383
3070
  };
4384
3071
  container: {
4385
3072
  body: unknown;
@@ -4439,7 +3126,6 @@ export declare const createOrganizationOperation: Omit<{
4439
3126
  };
4440
3127
  event: Record<string, unknown>;
4441
3128
  expectedManifestHash: string;
4442
- manifest: Record<string, unknown>;
4443
3129
  authorizingContainerPathRefs?: {
4444
3130
  containerId: string;
4445
3131
  manifestHash: string;
@@ -4494,9 +3180,7 @@ export declare const createOrganizationOperation: Omit<{
4494
3180
  };
4495
3181
  initialOrganizationPolicy: {
4496
3182
  encryptedPayload: {
4497
- cipherSuite: "aes-256-gcm";
4498
3183
  ciphertext: string;
4499
- ciphertextHash: string;
4500
3184
  };
4501
3185
  grants: {
4502
3186
  accessLevel: "write" | "admin" | "read";
@@ -4621,90 +3305,23 @@ export declare const createOrganizationOperation: Omit<{
4621
3305
  }[] | undefined;
4622
3306
  previousManifestRef?: {
4623
3307
  containerId: string;
4624
- manifestHash: string;
4625
- } | null | undefined;
4626
- userRecipientKeys?: Record<string, unknown>[] | undefined;
4627
- };
4628
- initialRootMetadataDocument: {
4629
- initialSync: {
4630
- contentKeyEpoch: number;
4631
- expectedLinkSetManifestHash: string;
4632
- expectedTargetHash: string;
4633
- localVersionVector: string | null;
4634
- outgoingUpdates: {
4635
- encryptedData: string;
4636
- id: string;
4637
- partialEndVersionVector: string;
4638
- partialStartVersionVector: string;
4639
- plaintextHash: string;
4640
- writeHeader: Record<string, unknown>;
4641
- checkpointKind?: "rotate_baseline" | undefined;
4642
- checkpointPayloadKind?: "full_history_snapshot" | undefined;
4643
- sourceVersionVector?: string | undefined;
4644
- }[];
4645
- supportsPullPagination: true;
4646
- authorizingContainerPathRefs?: {
4647
- containerId: string;
4648
- manifestHash: string;
4649
- }[][] | undefined;
4650
- containerRekeys?: {
4651
- body: unknown;
4652
- event: Record<string, unknown>;
4653
- expectedManifestHash: string;
4654
- keyEpoch: Record<string, unknown>;
4655
- keyring: Record<string, unknown> | null;
4656
- predecessorBridge: Record<string, unknown> | null;
4657
- principalPolicyRefs: {
4658
- principalType: "group" | "organization";
4659
- principalId: string;
4660
- version: number;
4661
- stateHash: string;
4662
- }[];
4663
- wraps: Record<string, unknown>[];
4664
- containerManifestHistoryRefs?: {
4665
- containerId: string;
4666
- manifestHash: string;
4667
- }[] | undefined;
4668
- destinationParentContainerPathRefs?: {
4669
- containerId: string;
4670
- manifestHash: string;
4671
- }[] | undefined;
4672
- parentContainerPathRefs?: {
4673
- containerId: string;
4674
- manifestHash: string;
4675
- }[] | undefined;
4676
- parentKekRef?: {
4677
- containerId: string;
4678
- containerKeyEpochId: string;
4679
- keyEpochHash: string;
4680
- } | null | undefined;
4681
- previousContainerPathRefs?: {
4682
- containerId: string;
4683
- manifestHash: string;
4684
- }[] | undefined;
4685
- previousManifestRef?: {
4686
- containerId: string;
4687
- manifestHash: string;
4688
- } | null | undefined;
4689
- userRecipientKeys?: Record<string, unknown>[] | undefined;
4690
- }[] | undefined;
4691
- contentKeyBundle?: {
4692
- contentKeyEpoch: number;
4693
- linkSetManifestHash: string;
4694
- targetHash: string;
4695
- targets: {
4696
- containerId: string;
4697
- containerKeyEpoch: number;
4698
- containerKeyEpochId: string;
4699
- containerManifestHash: string;
4700
- wrappedKey: string;
4701
- wrappingMetadata: Record<string, unknown>;
4702
- }[];
4703
- } | undefined;
4704
- historyMode?: "raw" | undefined;
4705
- inlineRekeyCommitId?: string | undefined;
4706
- minLsn?: string | undefined;
4707
- pullCursor?: string | undefined;
3308
+ manifestHash: string;
3309
+ } | null | undefined;
3310
+ userRecipientKeys?: Record<string, unknown>[] | undefined;
3311
+ };
3312
+ initialRootMetadataDocument: {
3313
+ initialSync: {
3314
+ outgoingUpdates: {
3315
+ encryptedData: string;
3316
+ id: string;
3317
+ partialEndVersionVector: string;
3318
+ partialStartVersionVector: string;
3319
+ plaintextHash: string;
3320
+ writeHeader: Record<string, unknown>;
3321
+ checkpointKind?: "rotate_baseline" | undefined;
3322
+ checkpointPayloadKind?: "full_history_snapshot" | undefined;
3323
+ sourceVersionVector?: string | undefined;
3324
+ }[];
4708
3325
  };
4709
3326
  body: unknown;
4710
3327
  contentKeyBundle: {
@@ -4722,7 +3339,6 @@ export declare const createOrganizationOperation: Omit<{
4722
3339
  };
4723
3340
  event: Record<string, unknown>;
4724
3341
  expectedManifestHash: string;
4725
- manifest: Record<string, unknown>;
4726
3342
  authorizingContainerPathRefs?: {
4727
3343
  containerId: string;
4728
3344
  manifestHash: string;
@@ -4795,10 +3411,6 @@ export declare const createOrganizationOperation: Omit<{
4795
3411
  replacesOrganizationId?: string | undefined;
4796
3412
  initialOrganizationProfileDocument?: {
4797
3413
  initialSync: {
4798
- contentKeyEpoch: number;
4799
- expectedLinkSetManifestHash: string;
4800
- expectedTargetHash: string;
4801
- localVersionVector: string | null;
4802
3414
  outgoingUpdates: {
4803
3415
  encryptedData: string;
4804
3416
  id: string;
@@ -4810,69 +3422,6 @@ export declare const createOrganizationOperation: Omit<{
4810
3422
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
4811
3423
  sourceVersionVector?: string | undefined;
4812
3424
  }[];
4813
- supportsPullPagination: true;
4814
- authorizingContainerPathRefs?: {
4815
- containerId: string;
4816
- manifestHash: string;
4817
- }[][] | undefined;
4818
- containerRekeys?: {
4819
- body: unknown;
4820
- event: Record<string, unknown>;
4821
- expectedManifestHash: string;
4822
- keyEpoch: Record<string, unknown>;
4823
- keyring: Record<string, unknown> | null;
4824
- predecessorBridge: Record<string, unknown> | null;
4825
- principalPolicyRefs: {
4826
- principalType: "group" | "organization";
4827
- principalId: string;
4828
- version: number;
4829
- stateHash: string;
4830
- }[];
4831
- wraps: Record<string, unknown>[];
4832
- containerManifestHistoryRefs?: {
4833
- containerId: string;
4834
- manifestHash: string;
4835
- }[] | undefined;
4836
- destinationParentContainerPathRefs?: {
4837
- containerId: string;
4838
- manifestHash: string;
4839
- }[] | undefined;
4840
- parentContainerPathRefs?: {
4841
- containerId: string;
4842
- manifestHash: string;
4843
- }[] | undefined;
4844
- parentKekRef?: {
4845
- containerId: string;
4846
- containerKeyEpochId: string;
4847
- keyEpochHash: string;
4848
- } | null | undefined;
4849
- previousContainerPathRefs?: {
4850
- containerId: string;
4851
- manifestHash: string;
4852
- }[] | undefined;
4853
- previousManifestRef?: {
4854
- containerId: string;
4855
- manifestHash: string;
4856
- } | null | undefined;
4857
- userRecipientKeys?: Record<string, unknown>[] | undefined;
4858
- }[] | undefined;
4859
- contentKeyBundle?: {
4860
- contentKeyEpoch: number;
4861
- linkSetManifestHash: string;
4862
- targetHash: string;
4863
- targets: {
4864
- containerId: string;
4865
- containerKeyEpoch: number;
4866
- containerKeyEpochId: string;
4867
- containerManifestHash: string;
4868
- wrappedKey: string;
4869
- wrappingMetadata: Record<string, unknown>;
4870
- }[];
4871
- } | undefined;
4872
- historyMode?: "raw" | undefined;
4873
- inlineRekeyCommitId?: string | undefined;
4874
- minLsn?: string | undefined;
4875
- pullCursor?: string | undefined;
4876
3425
  };
4877
3426
  body: unknown;
4878
3427
  contentKeyBundle: {
@@ -4890,7 +3439,6 @@ export declare const createOrganizationOperation: Omit<{
4890
3439
  };
4891
3440
  event: Record<string, unknown>;
4892
3441
  expectedManifestHash: string;
4893
- manifest: Record<string, unknown>;
4894
3442
  authorizingContainerPathRefs?: {
4895
3443
  containerId: string;
4896
3444
  manifestHash: string;
@@ -4943,10 +3491,6 @@ export declare const createOrganizationOperation: Omit<{
4943
3491
  } | undefined;
4944
3492
  initialRosterProfileContainer?: {
4945
3493
  initialMetadataSync: {
4946
- contentKeyEpoch: number;
4947
- expectedLinkSetManifestHash: string;
4948
- expectedTargetHash: string;
4949
- localVersionVector: string | null;
4950
3494
  outgoingUpdates: {
4951
3495
  encryptedData: string;
4952
3496
  id: string;
@@ -4958,69 +3502,6 @@ export declare const createOrganizationOperation: Omit<{
4958
3502
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
4959
3503
  sourceVersionVector?: string | undefined;
4960
3504
  }[];
4961
- supportsPullPagination: true;
4962
- authorizingContainerPathRefs?: {
4963
- containerId: string;
4964
- manifestHash: string;
4965
- }[][] | undefined;
4966
- containerRekeys?: {
4967
- body: unknown;
4968
- event: Record<string, unknown>;
4969
- expectedManifestHash: string;
4970
- keyEpoch: Record<string, unknown>;
4971
- keyring: Record<string, unknown> | null;
4972
- predecessorBridge: Record<string, unknown> | null;
4973
- principalPolicyRefs: {
4974
- principalType: "group" | "organization";
4975
- principalId: string;
4976
- version: number;
4977
- stateHash: string;
4978
- }[];
4979
- wraps: Record<string, unknown>[];
4980
- containerManifestHistoryRefs?: {
4981
- containerId: string;
4982
- manifestHash: string;
4983
- }[] | undefined;
4984
- destinationParentContainerPathRefs?: {
4985
- containerId: string;
4986
- manifestHash: string;
4987
- }[] | undefined;
4988
- parentContainerPathRefs?: {
4989
- containerId: string;
4990
- manifestHash: string;
4991
- }[] | undefined;
4992
- parentKekRef?: {
4993
- containerId: string;
4994
- containerKeyEpochId: string;
4995
- keyEpochHash: string;
4996
- } | null | undefined;
4997
- previousContainerPathRefs?: {
4998
- containerId: string;
4999
- manifestHash: string;
5000
- }[] | undefined;
5001
- previousManifestRef?: {
5002
- containerId: string;
5003
- manifestHash: string;
5004
- } | null | undefined;
5005
- userRecipientKeys?: Record<string, unknown>[] | undefined;
5006
- }[] | undefined;
5007
- contentKeyBundle?: {
5008
- contentKeyEpoch: number;
5009
- linkSetManifestHash: string;
5010
- targetHash: string;
5011
- targets: {
5012
- containerId: string;
5013
- containerKeyEpoch: number;
5014
- containerKeyEpochId: string;
5015
- containerManifestHash: string;
5016
- wrappedKey: string;
5017
- wrappingMetadata: Record<string, unknown>;
5018
- }[];
5019
- } | undefined;
5020
- historyMode?: "raw" | undefined;
5021
- inlineRekeyCommitId?: string | undefined;
5022
- minLsn?: string | undefined;
5023
- pullCursor?: string | undefined;
5024
3505
  };
5025
3506
  container: {
5026
3507
  body: unknown;
@@ -5080,7 +3561,6 @@ export declare const createOrganizationOperation: Omit<{
5080
3561
  };
5081
3562
  event: Record<string, unknown>;
5082
3563
  expectedManifestHash: string;
5083
- manifest: Record<string, unknown>;
5084
3564
  authorizingContainerPathRefs?: {
5085
3565
  containerId: string;
5086
3566
  manifestHash: string;
@@ -5135,10 +3615,6 @@ export declare const createOrganizationOperation: Omit<{
5135
3615
  } | undefined;
5136
3616
  initialRosterProfileDocument?: {
5137
3617
  initialSync: {
5138
- contentKeyEpoch: number;
5139
- expectedLinkSetManifestHash: string;
5140
- expectedTargetHash: string;
5141
- localVersionVector: string | null;
5142
3618
  outgoingUpdates: {
5143
3619
  encryptedData: string;
5144
3620
  id: string;
@@ -5150,69 +3626,6 @@ export declare const createOrganizationOperation: Omit<{
5150
3626
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
5151
3627
  sourceVersionVector?: string | undefined;
5152
3628
  }[];
5153
- supportsPullPagination: true;
5154
- authorizingContainerPathRefs?: {
5155
- containerId: string;
5156
- manifestHash: string;
5157
- }[][] | undefined;
5158
- containerRekeys?: {
5159
- body: unknown;
5160
- event: Record<string, unknown>;
5161
- expectedManifestHash: string;
5162
- keyEpoch: Record<string, unknown>;
5163
- keyring: Record<string, unknown> | null;
5164
- predecessorBridge: Record<string, unknown> | null;
5165
- principalPolicyRefs: {
5166
- principalType: "group" | "organization";
5167
- principalId: string;
5168
- version: number;
5169
- stateHash: string;
5170
- }[];
5171
- wraps: Record<string, unknown>[];
5172
- containerManifestHistoryRefs?: {
5173
- containerId: string;
5174
- manifestHash: string;
5175
- }[] | undefined;
5176
- destinationParentContainerPathRefs?: {
5177
- containerId: string;
5178
- manifestHash: string;
5179
- }[] | undefined;
5180
- parentContainerPathRefs?: {
5181
- containerId: string;
5182
- manifestHash: string;
5183
- }[] | undefined;
5184
- parentKekRef?: {
5185
- containerId: string;
5186
- containerKeyEpochId: string;
5187
- keyEpochHash: string;
5188
- } | null | undefined;
5189
- previousContainerPathRefs?: {
5190
- containerId: string;
5191
- manifestHash: string;
5192
- }[] | undefined;
5193
- previousManifestRef?: {
5194
- containerId: string;
5195
- manifestHash: string;
5196
- } | null | undefined;
5197
- userRecipientKeys?: Record<string, unknown>[] | undefined;
5198
- }[] | undefined;
5199
- contentKeyBundle?: {
5200
- contentKeyEpoch: number;
5201
- linkSetManifestHash: string;
5202
- targetHash: string;
5203
- targets: {
5204
- containerId: string;
5205
- containerKeyEpoch: number;
5206
- containerKeyEpochId: string;
5207
- containerManifestHash: string;
5208
- wrappedKey: string;
5209
- wrappingMetadata: Record<string, unknown>;
5210
- }[];
5211
- } | undefined;
5212
- historyMode?: "raw" | undefined;
5213
- inlineRekeyCommitId?: string | undefined;
5214
- minLsn?: string | undefined;
5215
- pullCursor?: string | undefined;
5216
3629
  };
5217
3630
  body: unknown;
5218
3631
  contentKeyBundle: {
@@ -5230,7 +3643,6 @@ export declare const createOrganizationOperation: Omit<{
5230
3643
  };
5231
3644
  event: Record<string, unknown>;
5232
3645
  expectedManifestHash: string;
5233
- manifest: Record<string, unknown>;
5234
3646
  authorizingContainerPathRefs?: {
5235
3647
  containerId: string;
5236
3648
  manifestHash: string;
@@ -5283,10 +3695,6 @@ export declare const createOrganizationOperation: Omit<{
5283
3695
  } | undefined;
5284
3696
  initialSystemContainers?: {
5285
3697
  initialMetadataSync: {
5286
- contentKeyEpoch: number;
5287
- expectedLinkSetManifestHash: string;
5288
- expectedTargetHash: string;
5289
- localVersionVector: string | null;
5290
3698
  outgoingUpdates: {
5291
3699
  encryptedData: string;
5292
3700
  id: string;
@@ -5298,69 +3706,6 @@ export declare const createOrganizationOperation: Omit<{
5298
3706
  checkpointPayloadKind?: "full_history_snapshot" | undefined;
5299
3707
  sourceVersionVector?: string | undefined;
5300
3708
  }[];
5301
- supportsPullPagination: true;
5302
- authorizingContainerPathRefs?: {
5303
- containerId: string;
5304
- manifestHash: string;
5305
- }[][] | undefined;
5306
- containerRekeys?: {
5307
- body: unknown;
5308
- event: Record<string, unknown>;
5309
- expectedManifestHash: string;
5310
- keyEpoch: Record<string, unknown>;
5311
- keyring: Record<string, unknown> | null;
5312
- predecessorBridge: Record<string, unknown> | null;
5313
- principalPolicyRefs: {
5314
- principalType: "group" | "organization";
5315
- principalId: string;
5316
- version: number;
5317
- stateHash: string;
5318
- }[];
5319
- wraps: Record<string, unknown>[];
5320
- containerManifestHistoryRefs?: {
5321
- containerId: string;
5322
- manifestHash: string;
5323
- }[] | undefined;
5324
- destinationParentContainerPathRefs?: {
5325
- containerId: string;
5326
- manifestHash: string;
5327
- }[] | undefined;
5328
- parentContainerPathRefs?: {
5329
- containerId: string;
5330
- manifestHash: string;
5331
- }[] | undefined;
5332
- parentKekRef?: {
5333
- containerId: string;
5334
- containerKeyEpochId: string;
5335
- keyEpochHash: string;
5336
- } | null | undefined;
5337
- previousContainerPathRefs?: {
5338
- containerId: string;
5339
- manifestHash: string;
5340
- }[] | undefined;
5341
- previousManifestRef?: {
5342
- containerId: string;
5343
- manifestHash: string;
5344
- } | null | undefined;
5345
- userRecipientKeys?: Record<string, unknown>[] | undefined;
5346
- }[] | undefined;
5347
- contentKeyBundle?: {
5348
- contentKeyEpoch: number;
5349
- linkSetManifestHash: string;
5350
- targetHash: string;
5351
- targets: {
5352
- containerId: string;
5353
- containerKeyEpoch: number;
5354
- containerKeyEpochId: string;
5355
- containerManifestHash: string;
5356
- wrappedKey: string;
5357
- wrappingMetadata: Record<string, unknown>;
5358
- }[];
5359
- } | undefined;
5360
- historyMode?: "raw" | undefined;
5361
- inlineRekeyCommitId?: string | undefined;
5362
- minLsn?: string | undefined;
5363
- pullCursor?: string | undefined;
5364
3709
  };
5365
3710
  container: {
5366
3711
  body: unknown;
@@ -5420,7 +3765,6 @@ export declare const createOrganizationOperation: Omit<{
5420
3765
  };
5421
3766
  event: Record<string, unknown>;
5422
3767
  expectedManifestHash: string;
5423
- manifest: Record<string, unknown>;
5424
3768
  authorizingContainerPathRefs?: {
5425
3769
  containerId: string;
5426
3770
  manifestHash: string;
@@ -6294,34 +4638,13 @@ export declare const createOrganizationOperation: Omit<{
6294
4638
  }>>;
6295
4639
  };
6296
4640
  readonly runtimeRefinements: readonly [{
6297
- readonly description: "inlineRekeyCommitId must be present exactly when containerRekeys is non-empty";
6298
- readonly id: "request.inline-rekey-commit-marker";
6299
- }, {
6300
- readonly description: "authorizingContainerPathRefs is required when outgoingUpdates is non-empty";
6301
- readonly id: "request.authorizing-paths-for-writes";
6302
- }, {
6303
- readonly description: "containerRekeys may be non-empty only when outgoingUpdates is non-empty";
6304
- readonly id: "request.container-rekeys-require-write";
6305
- }, {
6306
- readonly description: "outgoing update ids must be unique within the request";
6307
- readonly id: "request.unique-outgoing-update-ids";
6308
- }, {
6309
- readonly description: "a request carrying pullCursor must not contain outgoing updates, container rekeys, a content-key bundle, or authorizing paths";
6310
- readonly id: "request.pull-continuation-read-only";
6311
- }, {
6312
- readonly description: "historyMode \"raw\" must not be combined with outgoing updates, container rekeys, a content-key bundle, or authorizing paths";
6313
- readonly id: "request.raw-history-read-only";
6314
- }, {
6315
- readonly description: "historyMode \"raw\" requires localVersionVector to be null so the complete retained history is requested";
6316
- readonly id: "request.raw-history-null-frontier";
6317
- }, {
6318
4641
  readonly description: "checkpointKind, checkpointPayloadKind, and sourceVersionVector must be absent together or form a rotation baseline";
6319
4642
  readonly id: "request.rotation-checkpoint-fields";
6320
4643
  }, {
6321
- readonly description: "each provisioned system-container metadata seed must contain exactly one outgoing update and no container rekeys";
4644
+ readonly description: "each provisioned system-container metadata seed must contain exactly one outgoing update and no container rekeys, and with its metadata document's content-key bundle and target path form a valid document sync that serializes within the document sync request limit";
6322
4645
  readonly id: "request.organization-provisioning-container-seed";
6323
4646
  }, {
6324
- readonly description: "each provisioned document seed must contain exactly one outgoing update and no container rekeys";
4647
+ readonly description: "each provisioned document seed must contain exactly one outgoing update and no container rekeys, and with its document's content-key bundle and target path form a valid document sync that serializes within the document sync request limit";
6325
4648
  readonly id: "request.organization-provisioning-document-seed";
6326
4649
  }, {
6327
4650
  readonly description: "core and profile metadata update id arrays contain no duplicates";
@@ -6970,9 +5293,7 @@ export declare const createOrganizationGroupOperation: Omit<{
6970
5293
  readonly body: z.ZodObject<{
6971
5294
  organizationPolicy: z.ZodType<{
6972
5295
  encryptedPayload: {
6973
- cipherSuite: "aes-256-gcm";
6974
5296
  ciphertext: string;
6975
- ciphertextHash: string;
6976
5297
  };
6977
5298
  grants: {
6978
5299
  accessLevel: "write" | "admin" | "read";
@@ -7061,9 +5382,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7061
5382
  }[] | undefined;
7062
5383
  }, {
7063
5384
  encryptedPayload: {
7064
- cipherSuite: "aes-256-gcm";
7065
5385
  ciphertext: string;
7066
- ciphertextHash: string;
7067
5386
  };
7068
5387
  grants: {
7069
5388
  accessLevel: "write" | "admin" | "read";
@@ -7152,9 +5471,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7152
5471
  }[] | undefined;
7153
5472
  }, z.core.$ZodTypeInternals<{
7154
5473
  encryptedPayload: {
7155
- cipherSuite: "aes-256-gcm";
7156
5474
  ciphertext: string;
7157
- ciphertextHash: string;
7158
5475
  };
7159
5476
  grants: {
7160
5477
  accessLevel: "write" | "admin" | "read";
@@ -7243,9 +5560,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7243
5560
  }[] | undefined;
7244
5561
  }, {
7245
5562
  encryptedPayload: {
7246
- cipherSuite: "aes-256-gcm";
7247
5563
  ciphertext: string;
7248
- ciphertextHash: string;
7249
5564
  };
7250
5565
  grants: {
7251
5566
  accessLevel: "write" | "admin" | "read";
@@ -7336,9 +5651,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7336
5651
  groupId: z.ZodCustom<string, string>;
7337
5652
  initialGroupPolicy: z.ZodType<{
7338
5653
  encryptedPayload: {
7339
- cipherSuite: "aes-256-gcm";
7340
5654
  ciphertext: string;
7341
- ciphertextHash: string;
7342
5655
  };
7343
5656
  grants: {
7344
5657
  accessLevel: "write" | "admin" | "read";
@@ -7427,9 +5740,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7427
5740
  }[] | undefined;
7428
5741
  }, {
7429
5742
  encryptedPayload: {
7430
- cipherSuite: "aes-256-gcm";
7431
5743
  ciphertext: string;
7432
- ciphertextHash: string;
7433
5744
  };
7434
5745
  grants: {
7435
5746
  accessLevel: "write" | "admin" | "read";
@@ -7518,9 +5829,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7518
5829
  }[] | undefined;
7519
5830
  }, z.core.$ZodTypeInternals<{
7520
5831
  encryptedPayload: {
7521
- cipherSuite: "aes-256-gcm";
7522
5832
  ciphertext: string;
7523
- ciphertextHash: string;
7524
5833
  };
7525
5834
  grants: {
7526
5835
  accessLevel: "write" | "admin" | "read";
@@ -7609,9 +5918,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7609
5918
  }[] | undefined;
7610
5919
  }, {
7611
5920
  encryptedPayload: {
7612
- cipherSuite: "aes-256-gcm";
7613
5921
  ciphertext: string;
7614
- ciphertextHash: string;
7615
5922
  };
7616
5923
  grants: {
7617
5924
  accessLevel: "write" | "admin" | "read";
@@ -8129,9 +6436,7 @@ export declare const deleteOrganizationGroupOperation: Omit<{
8129
6436
  readonly body: z.ZodType<{
8130
6437
  organizationPolicy: {
8131
6438
  encryptedPayload: {
8132
- cipherSuite: "aes-256-gcm";
8133
6439
  ciphertext: string;
8134
- ciphertextHash: string;
8135
6440
  };
8136
6441
  grants: {
8137
6442
  accessLevel: "write" | "admin" | "read";
@@ -8222,9 +6527,7 @@ export declare const deleteOrganizationGroupOperation: Omit<{
8222
6527
  }, {
8223
6528
  organizationPolicy: {
8224
6529
  encryptedPayload: {
8225
- cipherSuite: "aes-256-gcm";
8226
6530
  ciphertext: string;
8227
- ciphertextHash: string;
8228
6531
  };
8229
6532
  grants: {
8230
6533
  accessLevel: "write" | "admin" | "read";
@@ -8315,9 +6618,7 @@ export declare const deleteOrganizationGroupOperation: Omit<{
8315
6618
  }, z.core.$ZodTypeInternals<{
8316
6619
  organizationPolicy: {
8317
6620
  encryptedPayload: {
8318
- cipherSuite: "aes-256-gcm";
8319
6621
  ciphertext: string;
8320
- ciphertextHash: string;
8321
6622
  };
8322
6623
  grants: {
8323
6624
  accessLevel: "write" | "admin" | "read";
@@ -8408,9 +6709,7 @@ export declare const deleteOrganizationGroupOperation: Omit<{
8408
6709
  }, {
8409
6710
  organizationPolicy: {
8410
6711
  encryptedPayload: {
8411
- cipherSuite: "aes-256-gcm";
8412
6712
  ciphertext: string;
8413
- ciphertextHash: string;
8414
6713
  };
8415
6714
  grants: {
8416
6715
  accessLevel: "write" | "admin" | "read";