@tearleads/client-sdk 0.1.67 → 0.1.69
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.
- package/data/containers/shared/principalPolicies.js +8 -12
- package/data/containers/shared/principalPolicies.js.map +1 -1
- package/data/persistence/principalHistory/principalHistoryStagePersistence.d.ts +2 -0
- package/data/persistence/principalHistory/principalHistoryStagePersistence.js +4 -0
- package/data/persistence/principalHistory/principalHistoryStagePersistence.js.map +1 -1
- package/internal/validators/operation/attachments.d.ts +48 -8
- package/internal/validators/operation/auth.d.ts +456 -76
- package/internal/validators/operation/containerMutations.d.ts +264 -44
- package/internal/validators/operation/documentMutations.d.ts +72 -12
- package/internal/validators/operation/documentSync.d.ts +24 -4
- package/internal/validators/operation/organizations.d.ts +528 -88
- package/internal/validators/operation/principals.d.ts +96 -16
- package/internal/validators/request/blob.d.ts +48 -8
- package/internal/validators/request/container.d.ts +96 -16
- package/internal/validators/request/container.js +5 -2
- package/internal/validators/request/container.js.map +1 -1
- package/internal/validators/request/containerMetadata.d.ts +96 -16
- package/internal/validators/request/document.d.ts +60 -10
- package/internal/validators/request/documentSyncSchema.d.ts +24 -4
- package/internal/validators/request/documentSyncSchema.js +2 -1
- package/internal/validators/request/documentSyncSchema.js.map +1 -1
- package/internal/validators/request/index.d.ts +1 -0
- package/internal/validators/request/index.js +1 -0
- package/internal/validators/request/index.js.map +1 -1
- package/internal/validators/request/organization.d.ts +96 -16
- package/internal/validators/request/organizationProvisioning.d.ts +1456 -246
- package/internal/validators/request/principal.d.ts +120 -20
- package/internal/validators/request/principalPolicyRef.d.ts +42 -0
- package/internal/validators/request/principalPolicyRef.js +19 -0
- package/internal/validators/request/principalPolicyRef.js.map +1 -0
- package/internal/validators/request/registration.d.ts +456 -76
- package/internal/validators/util/containerLimits.d.ts +8 -0
- package/internal/validators/util/containerLimits.js +8 -0
- package/internal/validators/util/containerLimits.js.map +1 -1
- package/package.json +1 -1
- package/workflows/container-contents/storedContainerState.js +5 -1
- package/workflows/container-contents/storedContainerState.js.map +1 -1
- package/workflows/containers/child/mutationRequestCore.js +2 -2
- package/workflows/containers/child/mutationRequestCore.js.map +1 -1
- package/workflows/containers/child/recitePlan.js +2 -2
- package/workflows/containers/child/recitePlan.js.map +1 -1
- package/workflows/containers/root/create.js +17 -28
- package/workflows/containers/root/create.js.map +1 -1
- package/workflows/containers/root/initialGroupPolicy.js +0 -23
- package/workflows/containers/root/initialGroupPolicy.js.map +1 -1
- package/workflows/documents/syncFailures/syncPolicyRepair.js +2 -8
- package/workflows/documents/syncFailures/syncPolicyRepair.js.map +1 -1
- package/workflows/principals/recoveryOperation/supersededStageResume.js +21 -0
- package/workflows/principals/recoveryOperation/supersededStageResume.js.map +1 -0
- package/workflows/principals/runtimePolicyRecovery.js +12 -9
- package/workflows/principals/runtimePolicyRecovery.js.map +1 -1
- package/workflows/registration/provisioningBootstrapBuilders.d.ts +12 -2
|
@@ -58,7 +58,12 @@ export declare const CreateOrganizationGroupRequestSchema: z.ZodObject<{
|
|
|
58
58
|
keyring: Record<string, unknown> | null;
|
|
59
59
|
manifest: Record<string, unknown>;
|
|
60
60
|
predecessorBridge: Record<string, unknown> | null;
|
|
61
|
-
|
|
61
|
+
principalPolicyRefs: {
|
|
62
|
+
principalType: "group" | "organization";
|
|
63
|
+
principalId: string;
|
|
64
|
+
version: number;
|
|
65
|
+
stateHash: string;
|
|
66
|
+
}[];
|
|
62
67
|
wraps: Record<string, unknown>[];
|
|
63
68
|
containerManifestHistoryRefs?: {
|
|
64
69
|
containerId: string;
|
|
@@ -140,7 +145,12 @@ export declare const CreateOrganizationGroupRequestSchema: z.ZodObject<{
|
|
|
140
145
|
keyring: Record<string, unknown> | null;
|
|
141
146
|
manifest: Record<string, unknown>;
|
|
142
147
|
predecessorBridge: Record<string, unknown> | null;
|
|
143
|
-
|
|
148
|
+
principalPolicyRefs: {
|
|
149
|
+
principalType: "group" | "organization";
|
|
150
|
+
principalId: string;
|
|
151
|
+
version: number;
|
|
152
|
+
stateHash: string;
|
|
153
|
+
}[];
|
|
144
154
|
wraps: Record<string, unknown>[];
|
|
145
155
|
containerManifestHistoryRefs?: {
|
|
146
156
|
containerId: string;
|
|
@@ -222,7 +232,12 @@ export declare const CreateOrganizationGroupRequestSchema: z.ZodObject<{
|
|
|
222
232
|
keyring: Record<string, unknown> | null;
|
|
223
233
|
manifest: Record<string, unknown>;
|
|
224
234
|
predecessorBridge: Record<string, unknown> | null;
|
|
225
|
-
|
|
235
|
+
principalPolicyRefs: {
|
|
236
|
+
principalType: "group" | "organization";
|
|
237
|
+
principalId: string;
|
|
238
|
+
version: number;
|
|
239
|
+
stateHash: string;
|
|
240
|
+
}[];
|
|
226
241
|
wraps: Record<string, unknown>[];
|
|
227
242
|
containerManifestHistoryRefs?: {
|
|
228
243
|
containerId: string;
|
|
@@ -304,7 +319,12 @@ export declare const CreateOrganizationGroupRequestSchema: z.ZodObject<{
|
|
|
304
319
|
keyring: Record<string, unknown> | null;
|
|
305
320
|
manifest: Record<string, unknown>;
|
|
306
321
|
predecessorBridge: Record<string, unknown> | null;
|
|
307
|
-
|
|
322
|
+
principalPolicyRefs: {
|
|
323
|
+
principalType: "group" | "organization";
|
|
324
|
+
principalId: string;
|
|
325
|
+
version: number;
|
|
326
|
+
stateHash: string;
|
|
327
|
+
}[];
|
|
308
328
|
wraps: Record<string, unknown>[];
|
|
309
329
|
containerManifestHistoryRefs?: {
|
|
310
330
|
containerId: string;
|
|
@@ -389,7 +409,12 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
389
409
|
keyring: Record<string, unknown> | null;
|
|
390
410
|
manifest: Record<string, unknown>;
|
|
391
411
|
predecessorBridge: Record<string, unknown> | null;
|
|
392
|
-
|
|
412
|
+
principalPolicyRefs: {
|
|
413
|
+
principalType: "group" | "organization";
|
|
414
|
+
principalId: string;
|
|
415
|
+
version: number;
|
|
416
|
+
stateHash: string;
|
|
417
|
+
}[];
|
|
393
418
|
wraps: Record<string, unknown>[];
|
|
394
419
|
containerManifestHistoryRefs?: {
|
|
395
420
|
containerId: string;
|
|
@@ -471,7 +496,12 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
471
496
|
keyring: Record<string, unknown> | null;
|
|
472
497
|
manifest: Record<string, unknown>;
|
|
473
498
|
predecessorBridge: Record<string, unknown> | null;
|
|
474
|
-
|
|
499
|
+
principalPolicyRefs: {
|
|
500
|
+
principalType: "group" | "organization";
|
|
501
|
+
principalId: string;
|
|
502
|
+
version: number;
|
|
503
|
+
stateHash: string;
|
|
504
|
+
}[];
|
|
475
505
|
wraps: Record<string, unknown>[];
|
|
476
506
|
containerManifestHistoryRefs?: {
|
|
477
507
|
containerId: string;
|
|
@@ -553,7 +583,12 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
553
583
|
keyring: Record<string, unknown> | null;
|
|
554
584
|
manifest: Record<string, unknown>;
|
|
555
585
|
predecessorBridge: Record<string, unknown> | null;
|
|
556
|
-
|
|
586
|
+
principalPolicyRefs: {
|
|
587
|
+
principalType: "group" | "organization";
|
|
588
|
+
principalId: string;
|
|
589
|
+
version: number;
|
|
590
|
+
stateHash: string;
|
|
591
|
+
}[];
|
|
557
592
|
wraps: Record<string, unknown>[];
|
|
558
593
|
containerManifestHistoryRefs?: {
|
|
559
594
|
containerId: string;
|
|
@@ -635,7 +670,12 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
635
670
|
keyring: Record<string, unknown> | null;
|
|
636
671
|
manifest: Record<string, unknown>;
|
|
637
672
|
predecessorBridge: Record<string, unknown> | null;
|
|
638
|
-
|
|
673
|
+
principalPolicyRefs: {
|
|
674
|
+
principalType: "group" | "organization";
|
|
675
|
+
principalId: string;
|
|
676
|
+
version: number;
|
|
677
|
+
stateHash: string;
|
|
678
|
+
}[];
|
|
639
679
|
wraps: Record<string, unknown>[];
|
|
640
680
|
containerManifestHistoryRefs?: {
|
|
641
681
|
containerId: string;
|
|
@@ -719,7 +759,12 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
719
759
|
keyring: Record<string, unknown> | null;
|
|
720
760
|
manifest: Record<string, unknown>;
|
|
721
761
|
predecessorBridge: Record<string, unknown> | null;
|
|
722
|
-
|
|
762
|
+
principalPolicyRefs: {
|
|
763
|
+
principalType: "group" | "organization";
|
|
764
|
+
principalId: string;
|
|
765
|
+
version: number;
|
|
766
|
+
stateHash: string;
|
|
767
|
+
}[];
|
|
723
768
|
wraps: Record<string, unknown>[];
|
|
724
769
|
containerManifestHistoryRefs?: {
|
|
725
770
|
containerId: string;
|
|
@@ -801,7 +846,12 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
801
846
|
keyring: Record<string, unknown> | null;
|
|
802
847
|
manifest: Record<string, unknown>;
|
|
803
848
|
predecessorBridge: Record<string, unknown> | null;
|
|
804
|
-
|
|
849
|
+
principalPolicyRefs: {
|
|
850
|
+
principalType: "group" | "organization";
|
|
851
|
+
principalId: string;
|
|
852
|
+
version: number;
|
|
853
|
+
stateHash: string;
|
|
854
|
+
}[];
|
|
805
855
|
wraps: Record<string, unknown>[];
|
|
806
856
|
containerManifestHistoryRefs?: {
|
|
807
857
|
containerId: string;
|
|
@@ -883,7 +933,12 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
883
933
|
keyring: Record<string, unknown> | null;
|
|
884
934
|
manifest: Record<string, unknown>;
|
|
885
935
|
predecessorBridge: Record<string, unknown> | null;
|
|
886
|
-
|
|
936
|
+
principalPolicyRefs: {
|
|
937
|
+
principalType: "group" | "organization";
|
|
938
|
+
principalId: string;
|
|
939
|
+
version: number;
|
|
940
|
+
stateHash: string;
|
|
941
|
+
}[];
|
|
887
942
|
wraps: Record<string, unknown>[];
|
|
888
943
|
containerManifestHistoryRefs?: {
|
|
889
944
|
containerId: string;
|
|
@@ -965,7 +1020,12 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
965
1020
|
keyring: Record<string, unknown> | null;
|
|
966
1021
|
manifest: Record<string, unknown>;
|
|
967
1022
|
predecessorBridge: Record<string, unknown> | null;
|
|
968
|
-
|
|
1023
|
+
principalPolicyRefs: {
|
|
1024
|
+
principalType: "group" | "organization";
|
|
1025
|
+
principalId: string;
|
|
1026
|
+
version: number;
|
|
1027
|
+
stateHash: string;
|
|
1028
|
+
}[];
|
|
969
1029
|
wraps: Record<string, unknown>[];
|
|
970
1030
|
containerManifestHistoryRefs?: {
|
|
971
1031
|
containerId: string;
|
|
@@ -1052,7 +1112,12 @@ export declare const DeleteOrganizationGroupRequestSchema: z.ZodType<{
|
|
|
1052
1112
|
keyring: Record<string, unknown> | null;
|
|
1053
1113
|
manifest: Record<string, unknown>;
|
|
1054
1114
|
predecessorBridge: Record<string, unknown> | null;
|
|
1055
|
-
|
|
1115
|
+
principalPolicyRefs: {
|
|
1116
|
+
principalType: "group" | "organization";
|
|
1117
|
+
principalId: string;
|
|
1118
|
+
version: number;
|
|
1119
|
+
stateHash: string;
|
|
1120
|
+
}[];
|
|
1056
1121
|
wraps: Record<string, unknown>[];
|
|
1057
1122
|
containerManifestHistoryRefs?: {
|
|
1058
1123
|
containerId: string;
|
|
@@ -1136,7 +1201,12 @@ export declare const DeleteOrganizationGroupRequestSchema: z.ZodType<{
|
|
|
1136
1201
|
keyring: Record<string, unknown> | null;
|
|
1137
1202
|
manifest: Record<string, unknown>;
|
|
1138
1203
|
predecessorBridge: Record<string, unknown> | null;
|
|
1139
|
-
|
|
1204
|
+
principalPolicyRefs: {
|
|
1205
|
+
principalType: "group" | "organization";
|
|
1206
|
+
principalId: string;
|
|
1207
|
+
version: number;
|
|
1208
|
+
stateHash: string;
|
|
1209
|
+
}[];
|
|
1140
1210
|
wraps: Record<string, unknown>[];
|
|
1141
1211
|
containerManifestHistoryRefs?: {
|
|
1142
1212
|
containerId: string;
|
|
@@ -1220,7 +1290,12 @@ export declare const DeleteOrganizationGroupRequestSchema: z.ZodType<{
|
|
|
1220
1290
|
keyring: Record<string, unknown> | null;
|
|
1221
1291
|
manifest: Record<string, unknown>;
|
|
1222
1292
|
predecessorBridge: Record<string, unknown> | null;
|
|
1223
|
-
|
|
1293
|
+
principalPolicyRefs: {
|
|
1294
|
+
principalType: "group" | "organization";
|
|
1295
|
+
principalId: string;
|
|
1296
|
+
version: number;
|
|
1297
|
+
stateHash: string;
|
|
1298
|
+
}[];
|
|
1224
1299
|
wraps: Record<string, unknown>[];
|
|
1225
1300
|
containerManifestHistoryRefs?: {
|
|
1226
1301
|
containerId: string;
|
|
@@ -1304,7 +1379,12 @@ export declare const DeleteOrganizationGroupRequestSchema: z.ZodType<{
|
|
|
1304
1379
|
keyring: Record<string, unknown> | null;
|
|
1305
1380
|
manifest: Record<string, unknown>;
|
|
1306
1381
|
predecessorBridge: Record<string, unknown> | null;
|
|
1307
|
-
|
|
1382
|
+
principalPolicyRefs: {
|
|
1383
|
+
principalType: "group" | "organization";
|
|
1384
|
+
principalId: string;
|
|
1385
|
+
version: number;
|
|
1386
|
+
stateHash: string;
|
|
1387
|
+
}[];
|
|
1308
1388
|
wraps: Record<string, unknown>[];
|
|
1309
1389
|
containerManifestHistoryRefs?: {
|
|
1310
1390
|
containerId: string;
|