@tearleads/client-sdk 0.1.68 → 0.1.71

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 (123) hide show
  1. package/data/containers/shared/principalPolicies.js +8 -12
  2. package/data/containers/shared/principalPolicies.js.map +1 -1
  3. package/internal/api-client/ApiClient.d.ts +73 -3
  4. package/internal/api-client/apiRequestMetrics.d.ts +18 -4
  5. package/internal/api-client/apiRequestMetrics.js +55 -5
  6. package/internal/api-client/apiRequestMetrics.js.map +1 -1
  7. package/internal/api-client/durationSampleWindow.d.ts +26 -0
  8. package/internal/api-client/durationSampleWindow.js +42 -0
  9. package/internal/api-client/durationSampleWindow.js.map +1 -0
  10. package/internal/api-client/measureApiRequest.js +9 -4
  11. package/internal/api-client/measureApiRequest.js.map +1 -1
  12. package/internal/api-client/serverTiming.d.ts +12 -0
  13. package/internal/api-client/serverTiming.js +49 -0
  14. package/internal/api-client/serverTiming.js.map +1 -0
  15. package/internal/validators/documentCreateSeedRefinements.js +9 -0
  16. package/internal/validators/documentCreateSeedRefinements.js.map +1 -0
  17. package/internal/validators/operation/attachments.d.ts +48 -8
  18. package/internal/validators/operation/auth.d.ts +576 -76
  19. package/internal/validators/operation/containerMutations.d.ts +619 -44
  20. package/internal/validators/operation/containerMutations.js +7 -1
  21. package/internal/validators/operation/containerMutations.js.map +1 -1
  22. package/internal/validators/operation/documentMutations.d.ts +428 -12
  23. package/internal/validators/operation/documentMutations.js +6 -1
  24. package/internal/validators/operation/documentMutations.js.map +1 -1
  25. package/internal/validators/operation/documentSync.d.ts +33 -13
  26. package/internal/validators/operation/organizations.d.ts +648 -88
  27. package/internal/validators/operation/principals.d.ts +96 -16
  28. package/internal/validators/request/blob.d.ts +48 -8
  29. package/internal/validators/request/container.d.ts +96 -16
  30. package/internal/validators/request/container.js +5 -2
  31. package/internal/validators/request/container.js.map +1 -1
  32. package/internal/validators/request/containerMetadata.d.ts +409 -16
  33. package/internal/validators/request/containerMetadata.js +20 -3
  34. package/internal/validators/request/containerMetadata.js.map +1 -1
  35. package/internal/validators/request/document.d.ts +631 -10
  36. package/internal/validators/request/document.js +19 -1
  37. package/internal/validators/request/document.js.map +1 -1
  38. package/internal/validators/request/documentCreateSeed.js +35 -0
  39. package/internal/validators/request/documentCreateSeed.js.map +1 -0
  40. package/internal/validators/request/documentSyncSchema.d.ts +24 -4
  41. package/internal/validators/request/documentSyncSchema.js +2 -1
  42. package/internal/validators/request/documentSyncSchema.js.map +1 -1
  43. package/internal/validators/request/index.d.ts +1 -0
  44. package/internal/validators/request/index.js +1 -0
  45. package/internal/validators/request/index.js.map +1 -1
  46. package/internal/validators/request/organization.d.ts +96 -16
  47. package/internal/validators/request/organizationProvisioning.d.ts +1456 -246
  48. package/internal/validators/request/organizationProvisioning.js +9 -22
  49. package/internal/validators/request/organizationProvisioning.js.map +1 -1
  50. package/internal/validators/request/principal.d.ts +120 -20
  51. package/internal/validators/request/principalPolicyRef.d.ts +42 -0
  52. package/internal/validators/request/principalPolicyRef.js +19 -0
  53. package/internal/validators/request/principalPolicyRef.js.map +1 -0
  54. package/internal/validators/request/registration.d.ts +456 -76
  55. package/internal/validators/response/containerMetadata.d.ts +20 -0
  56. package/internal/validators/response/documentMutation.d.ts +43 -0
  57. package/internal/validators/response/documentMutation.js +12 -1
  58. package/internal/validators/response/documentMutation.js.map +1 -1
  59. package/internal/validators/response/documentSyncSchema.d.ts +13 -9
  60. package/internal/validators/response/documentSyncSchema.js +23 -18
  61. package/internal/validators/response/documentSyncSchema.js.map +1 -1
  62. package/internal/validators/response/index.d.ts +1 -1
  63. package/internal/validators/response/index.js.map +1 -1
  64. package/internal/validators/response/organizationProvisioning.d.ts +350 -0
  65. package/internal/validators/response/registration.d.ts +120 -0
  66. package/internal/validators/util/containerLimits.d.ts +8 -0
  67. package/internal/validators/util/containerLimits.js +8 -0
  68. package/internal/validators/util/containerLimits.js.map +1 -1
  69. package/package.json +1 -1
  70. package/stores/container-contents/containerState/containerStatePersistence.js +2 -0
  71. package/stores/container-contents/containerState/containerStatePersistence.js.map +1 -1
  72. package/stores/container-contents/remoteEvents/remoteEventSync.js +1 -1
  73. package/stores/container-contents/remoteEvents/remoteEventSync.js.map +1 -1
  74. package/stores/container-contents/state.js +2 -0
  75. package/stores/container-contents/state.js.map +1 -1
  76. package/stores/container-contents/syncAgent/syncAgentTypes.d.ts +5 -0
  77. package/stores/container-contents/syncAgent/syncAgentTypes.js.map +1 -1
  78. package/stores/documents/documentStore/sync/createdDocumentPersistence.js +71 -0
  79. package/stores/documents/documentStore/sync/createdDocumentPersistence.js.map +1 -0
  80. package/stores/documents/documentStore/sync/index.js +13 -2
  81. package/stores/documents/documentStore/sync/index.js.map +1 -1
  82. package/stores/documents/documentStore/sync/syncRemoteSignals.js +21 -3
  83. package/stores/documents/documentStore/sync/syncRemoteSignals.js.map +1 -1
  84. package/stores/documents/documentStore/sync/syncSeededCreate.js +50 -0
  85. package/stores/documents/documentStore/sync/syncSeededCreate.js.map +1 -0
  86. package/stores/documents/documentStore/sync/syncShared.js +16 -8
  87. package/stores/documents/documentStore/sync/syncShared.js.map +1 -1
  88. package/workflows/container-contents/container-state/create/createIntentSeed.js +60 -0
  89. package/workflows/container-contents/container-state/create/createIntentSeed.js.map +1 -0
  90. package/workflows/container-contents/container-state/create/createIntentSync.js +18 -19
  91. package/workflows/container-contents/container-state/create/createIntentSync.js.map +1 -1
  92. package/workflows/container-contents/container-state/create/createWithMetadata.js +43 -6
  93. package/workflows/container-contents/container-state/create/createWithMetadata.js.map +1 -1
  94. package/workflows/container-contents/container-state/create/createWithMetadataPlan.js +5 -1
  95. package/workflows/container-contents/container-state/create/createWithMetadataPlan.js.map +1 -1
  96. package/workflows/container-contents/container-state/remote.js +15 -0
  97. package/workflows/container-contents/container-state/remote.js.map +1 -1
  98. package/workflows/container-contents/container-state/types.js.map +1 -1
  99. package/workflows/container-contents/metadata/metadataEvents.d.ts +7 -1
  100. package/workflows/container-contents/metadata/metadataEvents.js +8 -2
  101. package/workflows/container-contents/metadata/metadataEvents.js.map +1 -1
  102. package/workflows/container-contents/remoteHydration/types.d.ts +3 -0
  103. package/workflows/container-contents/remoteHydration/types.js.map +1 -1
  104. package/workflows/containers/child/mutationRequestCore.js +2 -2
  105. package/workflows/containers/child/mutationRequestCore.js.map +1 -1
  106. package/workflows/containers/child/recitePlan.js +2 -2
  107. package/workflows/containers/child/recitePlan.js.map +1 -1
  108. package/workflows/containers/root/create.js +17 -28
  109. package/workflows/containers/root/create.js.map +1 -1
  110. package/workflows/containers/root/initialGroupPolicy.js +0 -23
  111. package/workflows/containers/root/initialGroupPolicy.js.map +1 -1
  112. package/workflows/documents/create/index.d.ts +7 -0
  113. package/workflows/documents/create/index.js +40 -2
  114. package/workflows/documents/create/index.js.map +1 -1
  115. package/workflows/documents/index.d.ts +1 -0
  116. package/workflows/documents/index.js +1 -0
  117. package/workflows/documents/index.js.map +1 -1
  118. package/workflows/documents/sync/initialSync.d.ts +39 -0
  119. package/workflows/documents/sync/initialSync.js +39 -6
  120. package/workflows/documents/sync/initialSync.js.map +1 -1
  121. package/workflows/documents/syncFailures/syncPolicyRepair.js +2 -8
  122. package/workflows/documents/syncFailures/syncPolicyRepair.js.map +1 -1
  123. package/workflows/registration/provisioningBootstrapBuilders.d.ts +12 -2
@@ -99,6 +99,11 @@ export declare const organizationProvisioningResponseShape: {
99
99
  targets: Record<string, unknown>[];
100
100
  };
101
101
  id: string;
102
+ initialSync?: {
103
+ commitLsn: string | null;
104
+ commitLsnMode: "tracked" | "untracked";
105
+ acceptedOutgoingUpdateIds: string[];
106
+ } | undefined;
102
107
  };
103
108
  }, {
104
109
  container: {
@@ -196,6 +201,11 @@ export declare const organizationProvisioningResponseShape: {
196
201
  targets: Record<string, unknown>[];
197
202
  };
198
203
  id: string;
204
+ initialSync?: {
205
+ commitLsn: string | null;
206
+ commitLsnMode: "tracked" | "untracked";
207
+ acceptedOutgoingUpdateIds: string[];
208
+ } | undefined;
199
209
  };
200
210
  }, z.core.$ZodTypeInternals<{
201
211
  container: {
@@ -293,6 +303,11 @@ export declare const organizationProvisioningResponseShape: {
293
303
  targets: Record<string, unknown>[];
294
304
  };
295
305
  id: string;
306
+ initialSync?: {
307
+ commitLsn: string | null;
308
+ commitLsnMode: "tracked" | "untracked";
309
+ acceptedOutgoingUpdateIds: string[];
310
+ } | undefined;
296
311
  };
297
312
  }, {
298
313
  container: {
@@ -390,6 +405,11 @@ export declare const organizationProvisioningResponseShape: {
390
405
  targets: Record<string, unknown>[];
391
406
  };
392
407
  id: string;
408
+ initialSync?: {
409
+ commitLsn: string | null;
410
+ commitLsnMode: "tracked" | "untracked";
411
+ acceptedOutgoingUpdateIds: string[];
412
+ } | undefined;
393
413
  };
394
414
  }>>;
395
415
  organizationMetadataContainerId: z.ZodString;
@@ -428,6 +448,11 @@ export declare const organizationProvisioningResponseShape: {
428
448
  targets: Record<string, unknown>[];
429
449
  };
430
450
  id: string;
451
+ initialSync?: {
452
+ commitLsn: string | null;
453
+ commitLsnMode: "tracked" | "untracked";
454
+ acceptedOutgoingUpdateIds: string[];
455
+ } | undefined;
431
456
  }, {
432
457
  accessManifest: {
433
458
  event: {
@@ -463,6 +488,11 @@ export declare const organizationProvisioningResponseShape: {
463
488
  targets: Record<string, unknown>[];
464
489
  };
465
490
  id: string;
491
+ initialSync?: {
492
+ commitLsn: string | null;
493
+ commitLsnMode: "tracked" | "untracked";
494
+ acceptedOutgoingUpdateIds: string[];
495
+ } | undefined;
466
496
  }, z.core.$ZodTypeInternals<{
467
497
  accessManifest: {
468
498
  event: {
@@ -498,6 +528,11 @@ export declare const organizationProvisioningResponseShape: {
498
528
  targets: Record<string, unknown>[];
499
529
  };
500
530
  id: string;
531
+ initialSync?: {
532
+ commitLsn: string | null;
533
+ commitLsnMode: "tracked" | "untracked";
534
+ acceptedOutgoingUpdateIds: string[];
535
+ } | undefined;
501
536
  }, {
502
537
  accessManifest: {
503
538
  event: {
@@ -533,6 +568,11 @@ export declare const organizationProvisioningResponseShape: {
533
568
  targets: Record<string, unknown>[];
534
569
  };
535
570
  id: string;
571
+ initialSync?: {
572
+ commitLsn: string | null;
573
+ commitLsnMode: "tracked" | "untracked";
574
+ acceptedOutgoingUpdateIds: string[];
575
+ } | undefined;
536
576
  }>>>;
537
577
  organizationProfileDocumentId: z.ZodOptional<z.ZodString>;
538
578
  rootContainerId: z.ZodString;
@@ -573,6 +613,11 @@ export declare const organizationProvisioningResponseShape: {
573
613
  targets: Record<string, unknown>[];
574
614
  };
575
615
  id: string;
616
+ initialSync?: {
617
+ commitLsn: string | null;
618
+ commitLsnMode: "tracked" | "untracked";
619
+ acceptedOutgoingUpdateIds: string[];
620
+ } | undefined;
576
621
  }, {
577
622
  accessManifest: {
578
623
  event: {
@@ -608,6 +653,11 @@ export declare const organizationProvisioningResponseShape: {
608
653
  targets: Record<string, unknown>[];
609
654
  };
610
655
  id: string;
656
+ initialSync?: {
657
+ commitLsn: string | null;
658
+ commitLsnMode: "tracked" | "untracked";
659
+ acceptedOutgoingUpdateIds: string[];
660
+ } | undefined;
611
661
  }, z.core.$ZodTypeInternals<{
612
662
  accessManifest: {
613
663
  event: {
@@ -643,6 +693,11 @@ export declare const organizationProvisioningResponseShape: {
643
693
  targets: Record<string, unknown>[];
644
694
  };
645
695
  id: string;
696
+ initialSync?: {
697
+ commitLsn: string | null;
698
+ commitLsnMode: "tracked" | "untracked";
699
+ acceptedOutgoingUpdateIds: string[];
700
+ } | undefined;
646
701
  }, {
647
702
  accessManifest: {
648
703
  event: {
@@ -678,6 +733,11 @@ export declare const organizationProvisioningResponseShape: {
678
733
  targets: Record<string, unknown>[];
679
734
  };
680
735
  id: string;
736
+ initialSync?: {
737
+ commitLsn: string | null;
738
+ commitLsnMode: "tracked" | "untracked";
739
+ acceptedOutgoingUpdateIds: string[];
740
+ } | undefined;
681
741
  }>>;
682
742
  rootMetadataDocumentId: z.ZodString;
683
743
  rosterProfileContainer: z.ZodOptional<z.ZodType<{
@@ -776,6 +836,11 @@ export declare const organizationProvisioningResponseShape: {
776
836
  targets: Record<string, unknown>[];
777
837
  };
778
838
  id: string;
839
+ initialSync?: {
840
+ commitLsn: string | null;
841
+ commitLsnMode: "tracked" | "untracked";
842
+ acceptedOutgoingUpdateIds: string[];
843
+ } | undefined;
779
844
  };
780
845
  }, {
781
846
  container: {
@@ -873,6 +938,11 @@ export declare const organizationProvisioningResponseShape: {
873
938
  targets: Record<string, unknown>[];
874
939
  };
875
940
  id: string;
941
+ initialSync?: {
942
+ commitLsn: string | null;
943
+ commitLsnMode: "tracked" | "untracked";
944
+ acceptedOutgoingUpdateIds: string[];
945
+ } | undefined;
876
946
  };
877
947
  }, z.core.$ZodTypeInternals<{
878
948
  container: {
@@ -970,6 +1040,11 @@ export declare const organizationProvisioningResponseShape: {
970
1040
  targets: Record<string, unknown>[];
971
1041
  };
972
1042
  id: string;
1043
+ initialSync?: {
1044
+ commitLsn: string | null;
1045
+ commitLsnMode: "tracked" | "untracked";
1046
+ acceptedOutgoingUpdateIds: string[];
1047
+ } | undefined;
973
1048
  };
974
1049
  }, {
975
1050
  container: {
@@ -1067,6 +1142,11 @@ export declare const organizationProvisioningResponseShape: {
1067
1142
  targets: Record<string, unknown>[];
1068
1143
  };
1069
1144
  id: string;
1145
+ initialSync?: {
1146
+ commitLsn: string | null;
1147
+ commitLsnMode: "tracked" | "untracked";
1148
+ acceptedOutgoingUpdateIds: string[];
1149
+ } | undefined;
1070
1150
  };
1071
1151
  }>>>;
1072
1152
  rosterProfileContainerId: z.ZodOptional<z.ZodString>;
@@ -1105,6 +1185,11 @@ export declare const organizationProvisioningResponseShape: {
1105
1185
  targets: Record<string, unknown>[];
1106
1186
  };
1107
1187
  id: string;
1188
+ initialSync?: {
1189
+ commitLsn: string | null;
1190
+ commitLsnMode: "tracked" | "untracked";
1191
+ acceptedOutgoingUpdateIds: string[];
1192
+ } | undefined;
1108
1193
  }, {
1109
1194
  accessManifest: {
1110
1195
  event: {
@@ -1140,6 +1225,11 @@ export declare const organizationProvisioningResponseShape: {
1140
1225
  targets: Record<string, unknown>[];
1141
1226
  };
1142
1227
  id: string;
1228
+ initialSync?: {
1229
+ commitLsn: string | null;
1230
+ commitLsnMode: "tracked" | "untracked";
1231
+ acceptedOutgoingUpdateIds: string[];
1232
+ } | undefined;
1143
1233
  }, z.core.$ZodTypeInternals<{
1144
1234
  accessManifest: {
1145
1235
  event: {
@@ -1175,6 +1265,11 @@ export declare const organizationProvisioningResponseShape: {
1175
1265
  targets: Record<string, unknown>[];
1176
1266
  };
1177
1267
  id: string;
1268
+ initialSync?: {
1269
+ commitLsn: string | null;
1270
+ commitLsnMode: "tracked" | "untracked";
1271
+ acceptedOutgoingUpdateIds: string[];
1272
+ } | undefined;
1178
1273
  }, {
1179
1274
  accessManifest: {
1180
1275
  event: {
@@ -1210,6 +1305,11 @@ export declare const organizationProvisioningResponseShape: {
1210
1305
  targets: Record<string, unknown>[];
1211
1306
  };
1212
1307
  id: string;
1308
+ initialSync?: {
1309
+ commitLsn: string | null;
1310
+ commitLsnMode: "tracked" | "untracked";
1311
+ acceptedOutgoingUpdateIds: string[];
1312
+ } | undefined;
1213
1313
  }>>>;
1214
1314
  rosterProfileDocumentId: z.ZodOptional<z.ZodString>;
1215
1315
  systemContainers: z.ZodCustom<{
@@ -1308,6 +1408,11 @@ export declare const organizationProvisioningResponseShape: {
1308
1408
  targets: Record<string, unknown>[];
1309
1409
  };
1310
1410
  id: string;
1411
+ initialSync?: {
1412
+ commitLsn: string | null;
1413
+ commitLsnMode: "tracked" | "untracked";
1414
+ acceptedOutgoingUpdateIds: string[];
1415
+ } | undefined;
1311
1416
  };
1312
1417
  }[], {
1313
1418
  container: {
@@ -1405,6 +1510,11 @@ export declare const organizationProvisioningResponseShape: {
1405
1510
  targets: Record<string, unknown>[];
1406
1511
  };
1407
1512
  id: string;
1513
+ initialSync?: {
1514
+ commitLsn: string | null;
1515
+ commitLsnMode: "tracked" | "untracked";
1516
+ acceptedOutgoingUpdateIds: string[];
1517
+ } | undefined;
1408
1518
  };
1409
1519
  }[]>;
1410
1520
  userId: z.ZodString;
@@ -1510,6 +1620,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1510
1620
  targets: Record<string, unknown>[];
1511
1621
  };
1512
1622
  id: string;
1623
+ initialSync?: {
1624
+ commitLsn: string | null;
1625
+ commitLsnMode: "tracked" | "untracked";
1626
+ acceptedOutgoingUpdateIds: string[];
1627
+ } | undefined;
1513
1628
  };
1514
1629
  };
1515
1630
  organizationMetadataContainerId: string;
@@ -1551,6 +1666,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1551
1666
  targets: Record<string, unknown>[];
1552
1667
  };
1553
1668
  id: string;
1669
+ initialSync?: {
1670
+ commitLsn: string | null;
1671
+ commitLsnMode: "tracked" | "untracked";
1672
+ acceptedOutgoingUpdateIds: string[];
1673
+ } | undefined;
1554
1674
  };
1555
1675
  rootMetadataDocumentId: string;
1556
1676
  systemContainers: {
@@ -1649,6 +1769,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1649
1769
  targets: Record<string, unknown>[];
1650
1770
  };
1651
1771
  id: string;
1772
+ initialSync?: {
1773
+ commitLsn: string | null;
1774
+ commitLsnMode: "tracked" | "untracked";
1775
+ acceptedOutgoingUpdateIds: string[];
1776
+ } | undefined;
1652
1777
  };
1653
1778
  }[];
1654
1779
  userId: string;
@@ -1687,6 +1812,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1687
1812
  targets: Record<string, unknown>[];
1688
1813
  };
1689
1814
  id: string;
1815
+ initialSync?: {
1816
+ commitLsn: string | null;
1817
+ commitLsnMode: "tracked" | "untracked";
1818
+ acceptedOutgoingUpdateIds: string[];
1819
+ } | undefined;
1690
1820
  } | undefined;
1691
1821
  organizationProfileDocumentId?: string | undefined;
1692
1822
  rosterProfileContainer?: {
@@ -1785,6 +1915,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1785
1915
  targets: Record<string, unknown>[];
1786
1916
  };
1787
1917
  id: string;
1918
+ initialSync?: {
1919
+ commitLsn: string | null;
1920
+ commitLsnMode: "tracked" | "untracked";
1921
+ acceptedOutgoingUpdateIds: string[];
1922
+ } | undefined;
1788
1923
  };
1789
1924
  } | undefined;
1790
1925
  rosterProfileContainerId?: string | undefined;
@@ -1823,6 +1958,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1823
1958
  targets: Record<string, unknown>[];
1824
1959
  };
1825
1960
  id: string;
1961
+ initialSync?: {
1962
+ commitLsn: string | null;
1963
+ commitLsnMode: "tracked" | "untracked";
1964
+ acceptedOutgoingUpdateIds: string[];
1965
+ } | undefined;
1826
1966
  } | undefined;
1827
1967
  rosterProfileDocumentId?: string | undefined;
1828
1968
  }, {
@@ -1925,6 +2065,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1925
2065
  targets: Record<string, unknown>[];
1926
2066
  };
1927
2067
  id: string;
2068
+ initialSync?: {
2069
+ commitLsn: string | null;
2070
+ commitLsnMode: "tracked" | "untracked";
2071
+ acceptedOutgoingUpdateIds: string[];
2072
+ } | undefined;
1928
2073
  };
1929
2074
  };
1930
2075
  organizationMetadataContainerId: string;
@@ -1966,6 +2111,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
1966
2111
  targets: Record<string, unknown>[];
1967
2112
  };
1968
2113
  id: string;
2114
+ initialSync?: {
2115
+ commitLsn: string | null;
2116
+ commitLsnMode: "tracked" | "untracked";
2117
+ acceptedOutgoingUpdateIds: string[];
2118
+ } | undefined;
1969
2119
  };
1970
2120
  rootMetadataDocumentId: string;
1971
2121
  systemContainers: {
@@ -2064,6 +2214,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2064
2214
  targets: Record<string, unknown>[];
2065
2215
  };
2066
2216
  id: string;
2217
+ initialSync?: {
2218
+ commitLsn: string | null;
2219
+ commitLsnMode: "tracked" | "untracked";
2220
+ acceptedOutgoingUpdateIds: string[];
2221
+ } | undefined;
2067
2222
  };
2068
2223
  }[];
2069
2224
  userId: string;
@@ -2102,6 +2257,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2102
2257
  targets: Record<string, unknown>[];
2103
2258
  };
2104
2259
  id: string;
2260
+ initialSync?: {
2261
+ commitLsn: string | null;
2262
+ commitLsnMode: "tracked" | "untracked";
2263
+ acceptedOutgoingUpdateIds: string[];
2264
+ } | undefined;
2105
2265
  } | undefined;
2106
2266
  organizationProfileDocumentId?: string | undefined;
2107
2267
  rosterProfileContainer?: {
@@ -2200,6 +2360,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2200
2360
  targets: Record<string, unknown>[];
2201
2361
  };
2202
2362
  id: string;
2363
+ initialSync?: {
2364
+ commitLsn: string | null;
2365
+ commitLsnMode: "tracked" | "untracked";
2366
+ acceptedOutgoingUpdateIds: string[];
2367
+ } | undefined;
2203
2368
  };
2204
2369
  } | undefined;
2205
2370
  rosterProfileContainerId?: string | undefined;
@@ -2238,6 +2403,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2238
2403
  targets: Record<string, unknown>[];
2239
2404
  };
2240
2405
  id: string;
2406
+ initialSync?: {
2407
+ commitLsn: string | null;
2408
+ commitLsnMode: "tracked" | "untracked";
2409
+ acceptedOutgoingUpdateIds: string[];
2410
+ } | undefined;
2241
2411
  } | undefined;
2242
2412
  rosterProfileDocumentId?: string | undefined;
2243
2413
  }, z.core.$ZodTypeInternals<{
@@ -2340,6 +2510,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2340
2510
  targets: Record<string, unknown>[];
2341
2511
  };
2342
2512
  id: string;
2513
+ initialSync?: {
2514
+ commitLsn: string | null;
2515
+ commitLsnMode: "tracked" | "untracked";
2516
+ acceptedOutgoingUpdateIds: string[];
2517
+ } | undefined;
2343
2518
  };
2344
2519
  };
2345
2520
  organizationMetadataContainerId: string;
@@ -2381,6 +2556,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2381
2556
  targets: Record<string, unknown>[];
2382
2557
  };
2383
2558
  id: string;
2559
+ initialSync?: {
2560
+ commitLsn: string | null;
2561
+ commitLsnMode: "tracked" | "untracked";
2562
+ acceptedOutgoingUpdateIds: string[];
2563
+ } | undefined;
2384
2564
  };
2385
2565
  rootMetadataDocumentId: string;
2386
2566
  systemContainers: {
@@ -2479,6 +2659,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2479
2659
  targets: Record<string, unknown>[];
2480
2660
  };
2481
2661
  id: string;
2662
+ initialSync?: {
2663
+ commitLsn: string | null;
2664
+ commitLsnMode: "tracked" | "untracked";
2665
+ acceptedOutgoingUpdateIds: string[];
2666
+ } | undefined;
2482
2667
  };
2483
2668
  }[];
2484
2669
  userId: string;
@@ -2517,6 +2702,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2517
2702
  targets: Record<string, unknown>[];
2518
2703
  };
2519
2704
  id: string;
2705
+ initialSync?: {
2706
+ commitLsn: string | null;
2707
+ commitLsnMode: "tracked" | "untracked";
2708
+ acceptedOutgoingUpdateIds: string[];
2709
+ } | undefined;
2520
2710
  } | undefined;
2521
2711
  organizationProfileDocumentId?: string | undefined;
2522
2712
  rosterProfileContainer?: {
@@ -2615,6 +2805,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2615
2805
  targets: Record<string, unknown>[];
2616
2806
  };
2617
2807
  id: string;
2808
+ initialSync?: {
2809
+ commitLsn: string | null;
2810
+ commitLsnMode: "tracked" | "untracked";
2811
+ acceptedOutgoingUpdateIds: string[];
2812
+ } | undefined;
2618
2813
  };
2619
2814
  } | undefined;
2620
2815
  rosterProfileContainerId?: string | undefined;
@@ -2653,6 +2848,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2653
2848
  targets: Record<string, unknown>[];
2654
2849
  };
2655
2850
  id: string;
2851
+ initialSync?: {
2852
+ commitLsn: string | null;
2853
+ commitLsnMode: "tracked" | "untracked";
2854
+ acceptedOutgoingUpdateIds: string[];
2855
+ } | undefined;
2656
2856
  } | undefined;
2657
2857
  rosterProfileDocumentId?: string | undefined;
2658
2858
  }, {
@@ -2755,6 +2955,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2755
2955
  targets: Record<string, unknown>[];
2756
2956
  };
2757
2957
  id: string;
2958
+ initialSync?: {
2959
+ commitLsn: string | null;
2960
+ commitLsnMode: "tracked" | "untracked";
2961
+ acceptedOutgoingUpdateIds: string[];
2962
+ } | undefined;
2758
2963
  };
2759
2964
  };
2760
2965
  organizationMetadataContainerId: string;
@@ -2796,6 +3001,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2796
3001
  targets: Record<string, unknown>[];
2797
3002
  };
2798
3003
  id: string;
3004
+ initialSync?: {
3005
+ commitLsn: string | null;
3006
+ commitLsnMode: "tracked" | "untracked";
3007
+ acceptedOutgoingUpdateIds: string[];
3008
+ } | undefined;
2799
3009
  };
2800
3010
  rootMetadataDocumentId: string;
2801
3011
  systemContainers: {
@@ -2894,6 +3104,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2894
3104
  targets: Record<string, unknown>[];
2895
3105
  };
2896
3106
  id: string;
3107
+ initialSync?: {
3108
+ commitLsn: string | null;
3109
+ commitLsnMode: "tracked" | "untracked";
3110
+ acceptedOutgoingUpdateIds: string[];
3111
+ } | undefined;
2897
3112
  };
2898
3113
  }[];
2899
3114
  userId: string;
@@ -2932,6 +3147,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
2932
3147
  targets: Record<string, unknown>[];
2933
3148
  };
2934
3149
  id: string;
3150
+ initialSync?: {
3151
+ commitLsn: string | null;
3152
+ commitLsnMode: "tracked" | "untracked";
3153
+ acceptedOutgoingUpdateIds: string[];
3154
+ } | undefined;
2935
3155
  } | undefined;
2936
3156
  organizationProfileDocumentId?: string | undefined;
2937
3157
  rosterProfileContainer?: {
@@ -3030,6 +3250,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
3030
3250
  targets: Record<string, unknown>[];
3031
3251
  };
3032
3252
  id: string;
3253
+ initialSync?: {
3254
+ commitLsn: string | null;
3255
+ commitLsnMode: "tracked" | "untracked";
3256
+ acceptedOutgoingUpdateIds: string[];
3257
+ } | undefined;
3033
3258
  };
3034
3259
  } | undefined;
3035
3260
  rosterProfileContainerId?: string | undefined;
@@ -3068,6 +3293,11 @@ export declare const OrganizationProvisioningResponseSchema: z.ZodType<{
3068
3293
  targets: Record<string, unknown>[];
3069
3294
  };
3070
3295
  id: string;
3296
+ initialSync?: {
3297
+ commitLsn: string | null;
3298
+ commitLsnMode: "tracked" | "untracked";
3299
+ acceptedOutgoingUpdateIds: string[];
3300
+ } | undefined;
3071
3301
  } | undefined;
3072
3302
  rosterProfileDocumentId?: string | undefined;
3073
3303
  }>>;
@@ -3192,6 +3422,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
3192
3422
  targets: Record<string, unknown>[];
3193
3423
  };
3194
3424
  id: string;
3425
+ initialSync?: {
3426
+ commitLsn: string | null;
3427
+ commitLsnMode: "tracked" | "untracked";
3428
+ acceptedOutgoingUpdateIds: string[];
3429
+ } | undefined;
3195
3430
  };
3196
3431
  };
3197
3432
  organizationMetadataContainerId: string;
@@ -3233,6 +3468,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
3233
3468
  targets: Record<string, unknown>[];
3234
3469
  };
3235
3470
  id: string;
3471
+ initialSync?: {
3472
+ commitLsn: string | null;
3473
+ commitLsnMode: "tracked" | "untracked";
3474
+ acceptedOutgoingUpdateIds: string[];
3475
+ } | undefined;
3236
3476
  };
3237
3477
  rootMetadataDocumentId: string;
3238
3478
  systemContainers: {
@@ -3331,6 +3571,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
3331
3571
  targets: Record<string, unknown>[];
3332
3572
  };
3333
3573
  id: string;
3574
+ initialSync?: {
3575
+ commitLsn: string | null;
3576
+ commitLsnMode: "tracked" | "untracked";
3577
+ acceptedOutgoingUpdateIds: string[];
3578
+ } | undefined;
3334
3579
  };
3335
3580
  }[];
3336
3581
  userId: string;
@@ -3369,6 +3614,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
3369
3614
  targets: Record<string, unknown>[];
3370
3615
  };
3371
3616
  id: string;
3617
+ initialSync?: {
3618
+ commitLsn: string | null;
3619
+ commitLsnMode: "tracked" | "untracked";
3620
+ acceptedOutgoingUpdateIds: string[];
3621
+ } | undefined;
3372
3622
  } | undefined;
3373
3623
  organizationProfileDocumentId?: string | undefined;
3374
3624
  rosterProfileContainer?: {
@@ -3467,6 +3717,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
3467
3717
  targets: Record<string, unknown>[];
3468
3718
  };
3469
3719
  id: string;
3720
+ initialSync?: {
3721
+ commitLsn: string | null;
3722
+ commitLsnMode: "tracked" | "untracked";
3723
+ acceptedOutgoingUpdateIds: string[];
3724
+ } | undefined;
3470
3725
  };
3471
3726
  } | undefined;
3472
3727
  rosterProfileContainerId?: string | undefined;
@@ -3505,6 +3760,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
3505
3760
  targets: Record<string, unknown>[];
3506
3761
  };
3507
3762
  id: string;
3763
+ initialSync?: {
3764
+ commitLsn: string | null;
3765
+ commitLsnMode: "tracked" | "untracked";
3766
+ acceptedOutgoingUpdateIds: string[];
3767
+ } | undefined;
3508
3768
  } | undefined;
3509
3769
  rosterProfileDocumentId?: string | undefined;
3510
3770
  }, {
@@ -3621,6 +3881,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
3621
3881
  targets: Record<string, unknown>[];
3622
3882
  };
3623
3883
  id: string;
3884
+ initialSync?: {
3885
+ commitLsn: string | null;
3886
+ commitLsnMode: "tracked" | "untracked";
3887
+ acceptedOutgoingUpdateIds: string[];
3888
+ } | undefined;
3624
3889
  };
3625
3890
  };
3626
3891
  organizationMetadataContainerId: string;
@@ -3662,6 +3927,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
3662
3927
  targets: Record<string, unknown>[];
3663
3928
  };
3664
3929
  id: string;
3930
+ initialSync?: {
3931
+ commitLsn: string | null;
3932
+ commitLsnMode: "tracked" | "untracked";
3933
+ acceptedOutgoingUpdateIds: string[];
3934
+ } | undefined;
3665
3935
  };
3666
3936
  rootMetadataDocumentId: string;
3667
3937
  systemContainers: {
@@ -3760,6 +4030,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
3760
4030
  targets: Record<string, unknown>[];
3761
4031
  };
3762
4032
  id: string;
4033
+ initialSync?: {
4034
+ commitLsn: string | null;
4035
+ commitLsnMode: "tracked" | "untracked";
4036
+ acceptedOutgoingUpdateIds: string[];
4037
+ } | undefined;
3763
4038
  };
3764
4039
  }[];
3765
4040
  userId: string;
@@ -3798,6 +4073,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
3798
4073
  targets: Record<string, unknown>[];
3799
4074
  };
3800
4075
  id: string;
4076
+ initialSync?: {
4077
+ commitLsn: string | null;
4078
+ commitLsnMode: "tracked" | "untracked";
4079
+ acceptedOutgoingUpdateIds: string[];
4080
+ } | undefined;
3801
4081
  } | undefined;
3802
4082
  organizationProfileDocumentId?: string | undefined;
3803
4083
  rosterProfileContainer?: {
@@ -3896,6 +4176,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
3896
4176
  targets: Record<string, unknown>[];
3897
4177
  };
3898
4178
  id: string;
4179
+ initialSync?: {
4180
+ commitLsn: string | null;
4181
+ commitLsnMode: "tracked" | "untracked";
4182
+ acceptedOutgoingUpdateIds: string[];
4183
+ } | undefined;
3899
4184
  };
3900
4185
  } | undefined;
3901
4186
  rosterProfileContainerId?: string | undefined;
@@ -3934,6 +4219,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
3934
4219
  targets: Record<string, unknown>[];
3935
4220
  };
3936
4221
  id: string;
4222
+ initialSync?: {
4223
+ commitLsn: string | null;
4224
+ commitLsnMode: "tracked" | "untracked";
4225
+ acceptedOutgoingUpdateIds: string[];
4226
+ } | undefined;
3937
4227
  } | undefined;
3938
4228
  rosterProfileDocumentId?: string | undefined;
3939
4229
  }, z.core.$ZodTypeInternals<{
@@ -4050,6 +4340,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
4050
4340
  targets: Record<string, unknown>[];
4051
4341
  };
4052
4342
  id: string;
4343
+ initialSync?: {
4344
+ commitLsn: string | null;
4345
+ commitLsnMode: "tracked" | "untracked";
4346
+ acceptedOutgoingUpdateIds: string[];
4347
+ } | undefined;
4053
4348
  };
4054
4349
  };
4055
4350
  organizationMetadataContainerId: string;
@@ -4091,6 +4386,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
4091
4386
  targets: Record<string, unknown>[];
4092
4387
  };
4093
4388
  id: string;
4389
+ initialSync?: {
4390
+ commitLsn: string | null;
4391
+ commitLsnMode: "tracked" | "untracked";
4392
+ acceptedOutgoingUpdateIds: string[];
4393
+ } | undefined;
4094
4394
  };
4095
4395
  rootMetadataDocumentId: string;
4096
4396
  systemContainers: {
@@ -4189,6 +4489,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
4189
4489
  targets: Record<string, unknown>[];
4190
4490
  };
4191
4491
  id: string;
4492
+ initialSync?: {
4493
+ commitLsn: string | null;
4494
+ commitLsnMode: "tracked" | "untracked";
4495
+ acceptedOutgoingUpdateIds: string[];
4496
+ } | undefined;
4192
4497
  };
4193
4498
  }[];
4194
4499
  userId: string;
@@ -4227,6 +4532,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
4227
4532
  targets: Record<string, unknown>[];
4228
4533
  };
4229
4534
  id: string;
4535
+ initialSync?: {
4536
+ commitLsn: string | null;
4537
+ commitLsnMode: "tracked" | "untracked";
4538
+ acceptedOutgoingUpdateIds: string[];
4539
+ } | undefined;
4230
4540
  } | undefined;
4231
4541
  organizationProfileDocumentId?: string | undefined;
4232
4542
  rosterProfileContainer?: {
@@ -4325,6 +4635,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
4325
4635
  targets: Record<string, unknown>[];
4326
4636
  };
4327
4637
  id: string;
4638
+ initialSync?: {
4639
+ commitLsn: string | null;
4640
+ commitLsnMode: "tracked" | "untracked";
4641
+ acceptedOutgoingUpdateIds: string[];
4642
+ } | undefined;
4328
4643
  };
4329
4644
  } | undefined;
4330
4645
  rosterProfileContainerId?: string | undefined;
@@ -4363,6 +4678,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
4363
4678
  targets: Record<string, unknown>[];
4364
4679
  };
4365
4680
  id: string;
4681
+ initialSync?: {
4682
+ commitLsn: string | null;
4683
+ commitLsnMode: "tracked" | "untracked";
4684
+ acceptedOutgoingUpdateIds: string[];
4685
+ } | undefined;
4366
4686
  } | undefined;
4367
4687
  rosterProfileDocumentId?: string | undefined;
4368
4688
  }, {
@@ -4479,6 +4799,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
4479
4799
  targets: Record<string, unknown>[];
4480
4800
  };
4481
4801
  id: string;
4802
+ initialSync?: {
4803
+ commitLsn: string | null;
4804
+ commitLsnMode: "tracked" | "untracked";
4805
+ acceptedOutgoingUpdateIds: string[];
4806
+ } | undefined;
4482
4807
  };
4483
4808
  };
4484
4809
  organizationMetadataContainerId: string;
@@ -4520,6 +4845,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
4520
4845
  targets: Record<string, unknown>[];
4521
4846
  };
4522
4847
  id: string;
4848
+ initialSync?: {
4849
+ commitLsn: string | null;
4850
+ commitLsnMode: "tracked" | "untracked";
4851
+ acceptedOutgoingUpdateIds: string[];
4852
+ } | undefined;
4523
4853
  };
4524
4854
  rootMetadataDocumentId: string;
4525
4855
  systemContainers: {
@@ -4618,6 +4948,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
4618
4948
  targets: Record<string, unknown>[];
4619
4949
  };
4620
4950
  id: string;
4951
+ initialSync?: {
4952
+ commitLsn: string | null;
4953
+ commitLsnMode: "tracked" | "untracked";
4954
+ acceptedOutgoingUpdateIds: string[];
4955
+ } | undefined;
4621
4956
  };
4622
4957
  }[];
4623
4958
  userId: string;
@@ -4656,6 +4991,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
4656
4991
  targets: Record<string, unknown>[];
4657
4992
  };
4658
4993
  id: string;
4994
+ initialSync?: {
4995
+ commitLsn: string | null;
4996
+ commitLsnMode: "tracked" | "untracked";
4997
+ acceptedOutgoingUpdateIds: string[];
4998
+ } | undefined;
4659
4999
  } | undefined;
4660
5000
  organizationProfileDocumentId?: string | undefined;
4661
5001
  rosterProfileContainer?: {
@@ -4754,6 +5094,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
4754
5094
  targets: Record<string, unknown>[];
4755
5095
  };
4756
5096
  id: string;
5097
+ initialSync?: {
5098
+ commitLsn: string | null;
5099
+ commitLsnMode: "tracked" | "untracked";
5100
+ acceptedOutgoingUpdateIds: string[];
5101
+ } | undefined;
4757
5102
  };
4758
5103
  } | undefined;
4759
5104
  rosterProfileContainerId?: string | undefined;
@@ -4792,6 +5137,11 @@ export declare const CreateOrganizationResponseSchema: z.ZodType<{
4792
5137
  targets: Record<string, unknown>[];
4793
5138
  };
4794
5139
  id: string;
5140
+ initialSync?: {
5141
+ commitLsn: string | null;
5142
+ commitLsnMode: "tracked" | "untracked";
5143
+ acceptedOutgoingUpdateIds: string[];
5144
+ } | undefined;
4795
5145
  } | undefined;
4796
5146
  rosterProfileDocumentId?: string | undefined;
4797
5147
  }>>;