@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
|
@@ -41,7 +41,12 @@ export declare const createDocumentOperation: Omit<{
|
|
|
41
41
|
keyring: Record<string, unknown> | null;
|
|
42
42
|
manifest: Record<string, unknown>;
|
|
43
43
|
predecessorBridge: Record<string, unknown> | null;
|
|
44
|
-
|
|
44
|
+
principalPolicyRefs: {
|
|
45
|
+
principalType: "group" | "organization";
|
|
46
|
+
principalId: string;
|
|
47
|
+
version: number;
|
|
48
|
+
stateHash: string;
|
|
49
|
+
}[];
|
|
45
50
|
wraps: Record<string, unknown>[];
|
|
46
51
|
containerManifestHistoryRefs?: {
|
|
47
52
|
containerId: string;
|
|
@@ -100,7 +105,12 @@ export declare const createDocumentOperation: Omit<{
|
|
|
100
105
|
keyring: Record<string, unknown> | null;
|
|
101
106
|
manifest: Record<string, unknown>;
|
|
102
107
|
predecessorBridge: Record<string, unknown> | null;
|
|
103
|
-
|
|
108
|
+
principalPolicyRefs: {
|
|
109
|
+
principalType: "group" | "organization";
|
|
110
|
+
principalId: string;
|
|
111
|
+
version: number;
|
|
112
|
+
stateHash: string;
|
|
113
|
+
}[];
|
|
104
114
|
wraps: Record<string, unknown>[];
|
|
105
115
|
containerManifestHistoryRefs?: {
|
|
106
116
|
containerId: string;
|
|
@@ -159,7 +169,12 @@ export declare const createDocumentOperation: Omit<{
|
|
|
159
169
|
keyring: Record<string, unknown> | null;
|
|
160
170
|
manifest: Record<string, unknown>;
|
|
161
171
|
predecessorBridge: Record<string, unknown> | null;
|
|
162
|
-
|
|
172
|
+
principalPolicyRefs: {
|
|
173
|
+
principalType: "group" | "organization";
|
|
174
|
+
principalId: string;
|
|
175
|
+
version: number;
|
|
176
|
+
stateHash: string;
|
|
177
|
+
}[];
|
|
163
178
|
wraps: Record<string, unknown>[];
|
|
164
179
|
containerManifestHistoryRefs?: {
|
|
165
180
|
containerId: string;
|
|
@@ -218,7 +233,12 @@ export declare const createDocumentOperation: Omit<{
|
|
|
218
233
|
keyring: Record<string, unknown> | null;
|
|
219
234
|
manifest: Record<string, unknown>;
|
|
220
235
|
predecessorBridge: Record<string, unknown> | null;
|
|
221
|
-
|
|
236
|
+
principalPolicyRefs: {
|
|
237
|
+
principalType: "group" | "organization";
|
|
238
|
+
principalId: string;
|
|
239
|
+
version: number;
|
|
240
|
+
stateHash: string;
|
|
241
|
+
}[];
|
|
222
242
|
wraps: Record<string, unknown>[];
|
|
223
243
|
containerManifestHistoryRefs?: {
|
|
224
244
|
containerId: string;
|
|
@@ -589,7 +609,12 @@ export declare const linkDocumentOperation: Omit<{
|
|
|
589
609
|
keyring: Record<string, unknown> | null;
|
|
590
610
|
manifest: Record<string, unknown>;
|
|
591
611
|
predecessorBridge: Record<string, unknown> | null;
|
|
592
|
-
|
|
612
|
+
principalPolicyRefs: {
|
|
613
|
+
principalType: "group" | "organization";
|
|
614
|
+
principalId: string;
|
|
615
|
+
version: number;
|
|
616
|
+
stateHash: string;
|
|
617
|
+
}[];
|
|
593
618
|
wraps: Record<string, unknown>[];
|
|
594
619
|
containerManifestHistoryRefs?: {
|
|
595
620
|
containerId: string;
|
|
@@ -659,7 +684,12 @@ export declare const linkDocumentOperation: Omit<{
|
|
|
659
684
|
keyring: Record<string, unknown> | null;
|
|
660
685
|
manifest: Record<string, unknown>;
|
|
661
686
|
predecessorBridge: Record<string, unknown> | null;
|
|
662
|
-
|
|
687
|
+
principalPolicyRefs: {
|
|
688
|
+
principalType: "group" | "organization";
|
|
689
|
+
principalId: string;
|
|
690
|
+
version: number;
|
|
691
|
+
stateHash: string;
|
|
692
|
+
}[];
|
|
663
693
|
wraps: Record<string, unknown>[];
|
|
664
694
|
containerManifestHistoryRefs?: {
|
|
665
695
|
containerId: string;
|
|
@@ -729,7 +759,12 @@ export declare const linkDocumentOperation: Omit<{
|
|
|
729
759
|
keyring: Record<string, unknown> | null;
|
|
730
760
|
manifest: Record<string, unknown>;
|
|
731
761
|
predecessorBridge: Record<string, unknown> | null;
|
|
732
|
-
|
|
762
|
+
principalPolicyRefs: {
|
|
763
|
+
principalType: "group" | "organization";
|
|
764
|
+
principalId: string;
|
|
765
|
+
version: number;
|
|
766
|
+
stateHash: string;
|
|
767
|
+
}[];
|
|
733
768
|
wraps: Record<string, unknown>[];
|
|
734
769
|
containerManifestHistoryRefs?: {
|
|
735
770
|
containerId: string;
|
|
@@ -799,7 +834,12 @@ export declare const linkDocumentOperation: Omit<{
|
|
|
799
834
|
keyring: Record<string, unknown> | null;
|
|
800
835
|
manifest: Record<string, unknown>;
|
|
801
836
|
predecessorBridge: Record<string, unknown> | null;
|
|
802
|
-
|
|
837
|
+
principalPolicyRefs: {
|
|
838
|
+
principalType: "group" | "organization";
|
|
839
|
+
principalId: string;
|
|
840
|
+
version: number;
|
|
841
|
+
stateHash: string;
|
|
842
|
+
}[];
|
|
803
843
|
wraps: Record<string, unknown>[];
|
|
804
844
|
containerManifestHistoryRefs?: {
|
|
805
845
|
containerId: string;
|
|
@@ -1182,7 +1222,12 @@ export declare const unlinkDocumentOperation: Omit<{
|
|
|
1182
1222
|
keyring: Record<string, unknown> | null;
|
|
1183
1223
|
manifest: Record<string, unknown>;
|
|
1184
1224
|
predecessorBridge: Record<string, unknown> | null;
|
|
1185
|
-
|
|
1225
|
+
principalPolicyRefs: {
|
|
1226
|
+
principalType: "group" | "organization";
|
|
1227
|
+
principalId: string;
|
|
1228
|
+
version: number;
|
|
1229
|
+
stateHash: string;
|
|
1230
|
+
}[];
|
|
1186
1231
|
wraps: Record<string, unknown>[];
|
|
1187
1232
|
containerManifestHistoryRefs?: {
|
|
1188
1233
|
containerId: string;
|
|
@@ -1252,7 +1297,12 @@ export declare const unlinkDocumentOperation: Omit<{
|
|
|
1252
1297
|
keyring: Record<string, unknown> | null;
|
|
1253
1298
|
manifest: Record<string, unknown>;
|
|
1254
1299
|
predecessorBridge: Record<string, unknown> | null;
|
|
1255
|
-
|
|
1300
|
+
principalPolicyRefs: {
|
|
1301
|
+
principalType: "group" | "organization";
|
|
1302
|
+
principalId: string;
|
|
1303
|
+
version: number;
|
|
1304
|
+
stateHash: string;
|
|
1305
|
+
}[];
|
|
1256
1306
|
wraps: Record<string, unknown>[];
|
|
1257
1307
|
containerManifestHistoryRefs?: {
|
|
1258
1308
|
containerId: string;
|
|
@@ -1322,7 +1372,12 @@ export declare const unlinkDocumentOperation: Omit<{
|
|
|
1322
1372
|
keyring: Record<string, unknown> | null;
|
|
1323
1373
|
manifest: Record<string, unknown>;
|
|
1324
1374
|
predecessorBridge: Record<string, unknown> | null;
|
|
1325
|
-
|
|
1375
|
+
principalPolicyRefs: {
|
|
1376
|
+
principalType: "group" | "organization";
|
|
1377
|
+
principalId: string;
|
|
1378
|
+
version: number;
|
|
1379
|
+
stateHash: string;
|
|
1380
|
+
}[];
|
|
1326
1381
|
wraps: Record<string, unknown>[];
|
|
1327
1382
|
containerManifestHistoryRefs?: {
|
|
1328
1383
|
containerId: string;
|
|
@@ -1392,7 +1447,12 @@ export declare const unlinkDocumentOperation: Omit<{
|
|
|
1392
1447
|
keyring: Record<string, unknown> | null;
|
|
1393
1448
|
manifest: Record<string, unknown>;
|
|
1394
1449
|
predecessorBridge: Record<string, unknown> | null;
|
|
1395
|
-
|
|
1450
|
+
principalPolicyRefs: {
|
|
1451
|
+
principalType: "group" | "organization";
|
|
1452
|
+
principalId: string;
|
|
1453
|
+
version: number;
|
|
1454
|
+
stateHash: string;
|
|
1455
|
+
}[];
|
|
1396
1456
|
wraps: Record<string, unknown>[];
|
|
1397
1457
|
containerManifestHistoryRefs?: {
|
|
1398
1458
|
containerId: string;
|
|
@@ -37,7 +37,12 @@ export declare const documentSyncOperation: Omit<{
|
|
|
37
37
|
keyring: Record<string, unknown> | null;
|
|
38
38
|
manifest: Record<string, unknown>;
|
|
39
39
|
predecessorBridge: Record<string, unknown> | null;
|
|
40
|
-
|
|
40
|
+
principalPolicyRefs: {
|
|
41
|
+
principalType: "group" | "organization";
|
|
42
|
+
principalId: string;
|
|
43
|
+
version: number;
|
|
44
|
+
stateHash: string;
|
|
45
|
+
}[];
|
|
41
46
|
wraps: Record<string, unknown>[];
|
|
42
47
|
containerManifestHistoryRefs?: {
|
|
43
48
|
containerId: string;
|
|
@@ -108,7 +113,12 @@ export declare const documentSyncOperation: Omit<{
|
|
|
108
113
|
keyring: Record<string, unknown> | null;
|
|
109
114
|
manifest: Record<string, unknown>;
|
|
110
115
|
predecessorBridge: Record<string, unknown> | null;
|
|
111
|
-
|
|
116
|
+
principalPolicyRefs: {
|
|
117
|
+
principalType: "group" | "organization";
|
|
118
|
+
principalId: string;
|
|
119
|
+
version: number;
|
|
120
|
+
stateHash: string;
|
|
121
|
+
}[];
|
|
112
122
|
wraps: Record<string, unknown>[];
|
|
113
123
|
containerManifestHistoryRefs?: {
|
|
114
124
|
containerId: string;
|
|
@@ -179,7 +189,12 @@ export declare const documentSyncOperation: Omit<{
|
|
|
179
189
|
keyring: Record<string, unknown> | null;
|
|
180
190
|
manifest: Record<string, unknown>;
|
|
181
191
|
predecessorBridge: Record<string, unknown> | null;
|
|
182
|
-
|
|
192
|
+
principalPolicyRefs: {
|
|
193
|
+
principalType: "group" | "organization";
|
|
194
|
+
principalId: string;
|
|
195
|
+
version: number;
|
|
196
|
+
stateHash: string;
|
|
197
|
+
}[];
|
|
183
198
|
wraps: Record<string, unknown>[];
|
|
184
199
|
containerManifestHistoryRefs?: {
|
|
185
200
|
containerId: string;
|
|
@@ -250,7 +265,12 @@ export declare const documentSyncOperation: Omit<{
|
|
|
250
265
|
keyring: Record<string, unknown> | null;
|
|
251
266
|
manifest: Record<string, unknown>;
|
|
252
267
|
predecessorBridge: Record<string, unknown> | null;
|
|
253
|
-
|
|
268
|
+
principalPolicyRefs: {
|
|
269
|
+
principalType: "group" | "organization";
|
|
270
|
+
principalId: string;
|
|
271
|
+
version: number;
|
|
272
|
+
stateHash: string;
|
|
273
|
+
}[];
|
|
254
274
|
wraps: Record<string, unknown>[];
|
|
255
275
|
containerManifestHistoryRefs?: {
|
|
256
276
|
containerId: string;
|