@tearleads/client-sdk 0.1.239 → 0.1.241
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/documents/shared/sync/syncResponseAuthorization.js +12 -1
- package/data/documents/shared/sync/syncResponseAuthorization.js.map +1 -1
- package/data/documents/shared/sync/syncResponses.js +2 -2
- package/data/documents/shared/sync/syncResponses.js.map +1 -1
- package/data/documents/shared/types.d.ts +5 -1
- package/data/documents/shared/types.js.map +1 -1
- package/data/persistence/documents/documentAttachmentPresence.js +44 -0
- package/data/persistence/documents/documentAttachmentPresence.js.map +1 -0
- package/internal/api-client/ApiClient.d.ts +7 -7
- package/internal/api-client/client/apiClientContext.d.ts +1 -1
- package/internal/api-client/client/blobs.d.ts +1 -1
- package/internal/api-client/client/documents.d.ts +6 -6
- package/internal/validators/operation/attachments.d.ts +2 -2
- package/internal/validators/operation/containerMutations.d.ts +16 -16
- package/internal/validators/operation/documentMutations.d.ts +20 -20
- package/internal/validators/operation/documentSync.d.ts +24 -24
- package/internal/validators/response/blob.d.ts +6 -6
- package/internal/validators/response/blob.js +12 -2
- package/internal/validators/response/blob.js.map +1 -1
- package/internal/validators/response/containerMutationError.d.ts +2 -2
- package/internal/validators/response/documentMutationError.d.ts +3 -2
- package/internal/validators/response/documentMutationError.js +5 -0
- package/internal/validators/response/documentMutationError.js.map +1 -1
- package/internal/validators/response/documentSyncSchema.d.ts +48 -48
- package/internal/validators/response/documentSyncSchema.js +1 -1
- package/internal/validators/response/documentSyncSchema.js.map +1 -1
- package/package.json +1 -1
- package/workflows/blobs/hydration/decrypt.js +17 -1
- package/workflows/blobs/hydration/decrypt.js.map +1 -1
- package/workflows/documents/linkSet/linkSetBlobRewraps.d.ts +10 -4
- package/workflows/documents/linkSet/linkSetBlobRewraps.js +23 -11
- package/workflows/documents/linkSet/linkSetBlobRewraps.js.map +1 -1
- package/workflows/documents/linkSet/linkSetLegMachine.js +74 -0
- package/workflows/documents/linkSet/linkSetLegMachine.js.map +1 -0
- package/workflows/documents/linkSet/linkSetRemote.d.ts +4 -4
- package/workflows/documents/linkSet/linkSetRemote.js +96 -52
- package/workflows/documents/linkSet/linkSetRemote.js.map +1 -1
|
@@ -231,7 +231,7 @@ export declare const createContainerOperation: Omit<{
|
|
|
231
231
|
error: string;
|
|
232
232
|
}>>;
|
|
233
233
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
234
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
234
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
235
235
|
error: z.ZodString;
|
|
236
236
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
237
237
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -443,7 +443,7 @@ export declare const createContainerOperation: Omit<{
|
|
|
443
443
|
error: string;
|
|
444
444
|
}>>;
|
|
445
445
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
446
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
446
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
447
447
|
error: z.ZodString;
|
|
448
448
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
449
449
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -1352,7 +1352,7 @@ export declare const createContainerWithMetadataDocumentOperation: Omit<{
|
|
|
1352
1352
|
error: string;
|
|
1353
1353
|
}>>;
|
|
1354
1354
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
1355
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
1355
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
1356
1356
|
error: z.ZodString;
|
|
1357
1357
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
1358
1358
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -1660,7 +1660,7 @@ export declare const createContainerWithMetadataDocumentOperation: Omit<{
|
|
|
1660
1660
|
error: string;
|
|
1661
1661
|
}>>;
|
|
1662
1662
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
1663
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
1663
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
1664
1664
|
error: z.ZodString;
|
|
1665
1665
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
1666
1666
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -1948,7 +1948,7 @@ export declare const shareContainerOperation: Omit<{
|
|
|
1948
1948
|
error: string;
|
|
1949
1949
|
}>>;
|
|
1950
1950
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
1951
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
1951
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
1952
1952
|
error: z.ZodString;
|
|
1953
1953
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
1954
1954
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -2162,7 +2162,7 @@ export declare const shareContainerOperation: Omit<{
|
|
|
2162
2162
|
error: string;
|
|
2163
2163
|
}>>;
|
|
2164
2164
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
2165
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
2165
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
2166
2166
|
error: z.ZodString;
|
|
2167
2167
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
2168
2168
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -2362,7 +2362,7 @@ export declare const reciteContainerOperation: Omit<{
|
|
|
2362
2362
|
error: string;
|
|
2363
2363
|
}>>;
|
|
2364
2364
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
2365
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
2365
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
2366
2366
|
error: z.ZodString;
|
|
2367
2367
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
2368
2368
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -2540,7 +2540,7 @@ export declare const reciteContainerOperation: Omit<{
|
|
|
2540
2540
|
error: string;
|
|
2541
2541
|
}>>;
|
|
2542
2542
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
2543
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
2543
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
2544
2544
|
error: z.ZodString;
|
|
2545
2545
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
2546
2546
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -2996,7 +2996,7 @@ export declare const revokeContainerOperation: Omit<{
|
|
|
2996
2996
|
error: string;
|
|
2997
2997
|
}>>;
|
|
2998
2998
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
2999
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
2999
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
3000
3000
|
error: z.ZodString;
|
|
3001
3001
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
3002
3002
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -3294,7 +3294,7 @@ export declare const revokeContainerOperation: Omit<{
|
|
|
3294
3294
|
error: string;
|
|
3295
3295
|
}>>;
|
|
3296
3296
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
3297
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
3297
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
3298
3298
|
error: z.ZodString;
|
|
3299
3299
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
3300
3300
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -3750,7 +3750,7 @@ export declare const rekeyContainerOperation: Omit<{
|
|
|
3750
3750
|
error: string;
|
|
3751
3751
|
}>>;
|
|
3752
3752
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
3753
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
3753
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
3754
3754
|
error: z.ZodString;
|
|
3755
3755
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
3756
3756
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -4048,7 +4048,7 @@ export declare const rekeyContainerOperation: Omit<{
|
|
|
4048
4048
|
error: string;
|
|
4049
4049
|
}>>;
|
|
4050
4050
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
4051
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
4051
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
4052
4052
|
error: z.ZodString;
|
|
4053
4053
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
4054
4054
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -4504,7 +4504,7 @@ export declare const moveContainerOperation: Omit<{
|
|
|
4504
4504
|
error: string;
|
|
4505
4505
|
}>>;
|
|
4506
4506
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
4507
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
4507
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
4508
4508
|
error: z.ZodString;
|
|
4509
4509
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
4510
4510
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -4802,7 +4802,7 @@ export declare const moveContainerOperation: Omit<{
|
|
|
4802
4802
|
error: string;
|
|
4803
4803
|
}>>;
|
|
4804
4804
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
4805
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
4805
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
4806
4806
|
error: z.ZodString;
|
|
4807
4807
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
4808
4808
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -4920,7 +4920,7 @@ export declare const deleteContainerOperation: Omit<{
|
|
|
4920
4920
|
error: string;
|
|
4921
4921
|
}>>;
|
|
4922
4922
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
4923
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
4923
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
4924
4924
|
error: z.ZodString;
|
|
4925
4925
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
4926
4926
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -5060,7 +5060,7 @@ export declare const deleteContainerOperation: Omit<{
|
|
|
5060
5060
|
error: string;
|
|
5061
5061
|
}>>;
|
|
5062
5062
|
readonly 409: z.ZodUnion<readonly [z.ZodObject<{
|
|
5063
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
5063
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"container_mutation_state_stale" | "container_descendant_rekeys_required" | "container_ancestor_rekeys_required" | "container_descendant_rekeys_inaccessible" | "container_manifest_already_exists" | "container_path_too_deep">, z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>]>>;
|
|
5064
5064
|
error: z.ZodString;
|
|
5065
5065
|
requiredContainerIds: z.ZodOptional<z.ZodCustom<string[], string[]>>;
|
|
5066
5066
|
}, z.core.$loose>, z.ZodType<{
|
|
@@ -658,11 +658,11 @@ export declare const createDocumentOperation: Omit<{
|
|
|
658
658
|
error: string;
|
|
659
659
|
}>>;
|
|
660
660
|
readonly 404: z.ZodObject<{
|
|
661
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
661
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
662
662
|
error: z.ZodString;
|
|
663
663
|
}, z.core.$loose>;
|
|
664
664
|
readonly 409: z.ZodObject<{
|
|
665
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
665
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
666
666
|
error: z.ZodString;
|
|
667
667
|
}, z.core.$loose>;
|
|
668
668
|
readonly 500: z.ZodType<{
|
|
@@ -821,11 +821,11 @@ export declare const createDocumentOperation: Omit<{
|
|
|
821
821
|
error: string;
|
|
822
822
|
}>>;
|
|
823
823
|
readonly 404: z.ZodObject<{
|
|
824
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
824
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
825
825
|
error: z.ZodString;
|
|
826
826
|
}, z.core.$loose>;
|
|
827
827
|
readonly 409: z.ZodObject<{
|
|
828
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
828
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
829
829
|
error: z.ZodString;
|
|
830
830
|
}, z.core.$loose>;
|
|
831
831
|
readonly 500: z.ZodType<{
|
|
@@ -1220,11 +1220,11 @@ export declare const linkDocumentOperation: Omit<{
|
|
|
1220
1220
|
error: string;
|
|
1221
1221
|
}>>;
|
|
1222
1222
|
readonly 404: z.ZodObject<{
|
|
1223
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1223
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1224
1224
|
error: z.ZodString;
|
|
1225
1225
|
}, z.core.$loose>;
|
|
1226
1226
|
readonly 409: z.ZodObject<{
|
|
1227
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1227
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1228
1228
|
error: z.ZodString;
|
|
1229
1229
|
}, z.core.$loose>;
|
|
1230
1230
|
readonly 500: z.ZodType<{
|
|
@@ -1340,11 +1340,11 @@ export declare const linkDocumentOperation: Omit<{
|
|
|
1340
1340
|
error: string;
|
|
1341
1341
|
}>>;
|
|
1342
1342
|
readonly 404: z.ZodObject<{
|
|
1343
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1343
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1344
1344
|
error: z.ZodString;
|
|
1345
1345
|
}, z.core.$loose>;
|
|
1346
1346
|
readonly 409: z.ZodObject<{
|
|
1347
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1347
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1348
1348
|
error: z.ZodString;
|
|
1349
1349
|
}, z.core.$loose>;
|
|
1350
1350
|
readonly 500: z.ZodType<{
|
|
@@ -1739,11 +1739,11 @@ export declare const unlinkDocumentOperation: Omit<{
|
|
|
1739
1739
|
error: string;
|
|
1740
1740
|
}>>;
|
|
1741
1741
|
readonly 404: z.ZodObject<{
|
|
1742
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1742
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1743
1743
|
error: z.ZodString;
|
|
1744
1744
|
}, z.core.$loose>;
|
|
1745
1745
|
readonly 409: z.ZodObject<{
|
|
1746
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1746
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1747
1747
|
error: z.ZodString;
|
|
1748
1748
|
}, z.core.$loose>;
|
|
1749
1749
|
readonly 500: z.ZodType<{
|
|
@@ -1859,11 +1859,11 @@ export declare const unlinkDocumentOperation: Omit<{
|
|
|
1859
1859
|
error: string;
|
|
1860
1860
|
}>>;
|
|
1861
1861
|
readonly 404: z.ZodObject<{
|
|
1862
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1862
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1863
1863
|
error: z.ZodString;
|
|
1864
1864
|
}, z.core.$loose>;
|
|
1865
1865
|
readonly 409: z.ZodObject<{
|
|
1866
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1866
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1867
1867
|
error: z.ZodString;
|
|
1868
1868
|
}, z.core.$loose>;
|
|
1869
1869
|
readonly 500: z.ZodType<{
|
|
@@ -1987,11 +1987,11 @@ export declare const purgeDocumentOperation: Omit<{
|
|
|
1987
1987
|
error: string;
|
|
1988
1988
|
}>>;
|
|
1989
1989
|
readonly 404: z.ZodObject<{
|
|
1990
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1990
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1991
1991
|
error: z.ZodString;
|
|
1992
1992
|
}, z.core.$loose>;
|
|
1993
1993
|
readonly 409: z.ZodObject<{
|
|
1994
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1994
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
1995
1995
|
error: z.ZodString;
|
|
1996
1996
|
}, z.core.$loose>;
|
|
1997
1997
|
readonly 500: z.ZodType<{
|
|
@@ -2504,11 +2504,11 @@ export declare const purgeDocumentOperation: Omit<{
|
|
|
2504
2504
|
error: string;
|
|
2505
2505
|
}>>;
|
|
2506
2506
|
readonly 404: z.ZodObject<{
|
|
2507
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
2507
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
2508
2508
|
error: z.ZodString;
|
|
2509
2509
|
}, z.core.$loose>;
|
|
2510
2510
|
readonly 409: z.ZodObject<{
|
|
2511
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
2511
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
2512
2512
|
error: z.ZodString;
|
|
2513
2513
|
}, z.core.$loose>;
|
|
2514
2514
|
readonly 500: z.ZodType<{
|
|
@@ -2594,11 +2594,11 @@ export declare const getDocumentPurgeProofOperation: Omit<{
|
|
|
2594
2594
|
error: string;
|
|
2595
2595
|
}>>;
|
|
2596
2596
|
readonly 404: z.ZodObject<{
|
|
2597
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
2597
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
2598
2598
|
error: z.ZodString;
|
|
2599
2599
|
}, z.core.$loose>;
|
|
2600
2600
|
readonly 409: z.ZodObject<{
|
|
2601
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
2601
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
2602
2602
|
error: z.ZodString;
|
|
2603
2603
|
}, z.core.$loose>;
|
|
2604
2604
|
readonly 500: z.ZodType<{
|
|
@@ -3110,11 +3110,11 @@ export declare const getDocumentPurgeProofOperation: Omit<{
|
|
|
3110
3110
|
error: string;
|
|
3111
3111
|
}>>;
|
|
3112
3112
|
readonly 404: z.ZodObject<{
|
|
3113
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
3113
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
3114
3114
|
error: z.ZodString;
|
|
3115
3115
|
}, z.core.$loose>;
|
|
3116
3116
|
readonly 409: z.ZodObject<{
|
|
3117
|
-
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
3117
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"document_manifest_already_exists">, z.ZodLiteral<"document_sync_checkpoint_coverage_conflict" | "document_sync_conflict" | "document_sync_descendant_rekeys_required" | "document_sync_state_stale" | "document_sync_update_id_conflict">, z.ZodLiteral<"document_not_found">, z.ZodLiteral<"container_unavailable">, z.ZodLiteral<"document_link_attachments_changed">, z.ZodLiteral<"document_unlink_rotation_baseline_stale">]>>;
|
|
3118
3118
|
error: z.ZodString;
|
|
3119
3119
|
}, z.core.$loose>;
|
|
3120
3120
|
readonly 500: z.ZodType<{
|
|
@@ -464,12 +464,6 @@ export declare const documentSyncOperation: Omit<{
|
|
|
464
464
|
};
|
|
465
465
|
updates: {
|
|
466
466
|
accessEpoch: number;
|
|
467
|
-
authorizationTargets: {
|
|
468
|
-
containerId: string;
|
|
469
|
-
containerKeyEpoch: number;
|
|
470
|
-
containerKeyEpochId: string;
|
|
471
|
-
containerManifestHash: string;
|
|
472
|
-
}[];
|
|
473
467
|
authorFingerprint: string;
|
|
474
468
|
createdAt: string;
|
|
475
469
|
documentId: string;
|
|
@@ -479,6 +473,12 @@ export declare const documentSyncOperation: Omit<{
|
|
|
479
473
|
partialStartVersionVector: string;
|
|
480
474
|
plaintextHash: string;
|
|
481
475
|
writeHeader: Record<string, unknown>;
|
|
476
|
+
authorizationTargets?: {
|
|
477
|
+
containerId: string;
|
|
478
|
+
containerKeyEpoch: number;
|
|
479
|
+
containerKeyEpochId: string;
|
|
480
|
+
containerManifestHash: string;
|
|
481
|
+
}[] | undefined;
|
|
482
482
|
checkpointKind?: "rotate_baseline" | undefined;
|
|
483
483
|
checkpointPayloadKind?: "full_history_snapshot" | undefined;
|
|
484
484
|
sourceVersionVector?: string | undefined;
|
|
@@ -508,12 +508,6 @@ export declare const documentSyncOperation: Omit<{
|
|
|
508
508
|
};
|
|
509
509
|
updates: {
|
|
510
510
|
accessEpoch: number;
|
|
511
|
-
authorizationTargets: {
|
|
512
|
-
containerId: string;
|
|
513
|
-
containerKeyEpoch: number;
|
|
514
|
-
containerKeyEpochId: string;
|
|
515
|
-
containerManifestHash: string;
|
|
516
|
-
}[];
|
|
517
511
|
authorFingerprint: string;
|
|
518
512
|
createdAt: string;
|
|
519
513
|
documentId: string;
|
|
@@ -523,6 +517,12 @@ export declare const documentSyncOperation: Omit<{
|
|
|
523
517
|
partialStartVersionVector: string;
|
|
524
518
|
plaintextHash: string;
|
|
525
519
|
writeHeader: Record<string, unknown>;
|
|
520
|
+
authorizationTargets?: {
|
|
521
|
+
containerId: string;
|
|
522
|
+
containerKeyEpoch: number;
|
|
523
|
+
containerKeyEpochId: string;
|
|
524
|
+
containerManifestHash: string;
|
|
525
|
+
}[] | undefined;
|
|
526
526
|
checkpointKind?: "rotate_baseline" | undefined;
|
|
527
527
|
checkpointPayloadKind?: "full_history_snapshot" | undefined;
|
|
528
528
|
sourceVersionVector?: string | undefined;
|
|
@@ -552,12 +552,6 @@ export declare const documentSyncOperation: Omit<{
|
|
|
552
552
|
};
|
|
553
553
|
updates: {
|
|
554
554
|
accessEpoch: number;
|
|
555
|
-
authorizationTargets: {
|
|
556
|
-
containerId: string;
|
|
557
|
-
containerKeyEpoch: number;
|
|
558
|
-
containerKeyEpochId: string;
|
|
559
|
-
containerManifestHash: string;
|
|
560
|
-
}[];
|
|
561
555
|
authorFingerprint: string;
|
|
562
556
|
createdAt: string;
|
|
563
557
|
documentId: string;
|
|
@@ -567,6 +561,12 @@ export declare const documentSyncOperation: Omit<{
|
|
|
567
561
|
partialStartVersionVector: string;
|
|
568
562
|
plaintextHash: string;
|
|
569
563
|
writeHeader: Record<string, unknown>;
|
|
564
|
+
authorizationTargets?: {
|
|
565
|
+
containerId: string;
|
|
566
|
+
containerKeyEpoch: number;
|
|
567
|
+
containerKeyEpochId: string;
|
|
568
|
+
containerManifestHash: string;
|
|
569
|
+
}[] | undefined;
|
|
570
570
|
checkpointKind?: "rotate_baseline" | undefined;
|
|
571
571
|
checkpointPayloadKind?: "full_history_snapshot" | undefined;
|
|
572
572
|
sourceVersionVector?: string | undefined;
|
|
@@ -596,12 +596,6 @@ export declare const documentSyncOperation: Omit<{
|
|
|
596
596
|
};
|
|
597
597
|
updates: {
|
|
598
598
|
accessEpoch: number;
|
|
599
|
-
authorizationTargets: {
|
|
600
|
-
containerId: string;
|
|
601
|
-
containerKeyEpoch: number;
|
|
602
|
-
containerKeyEpochId: string;
|
|
603
|
-
containerManifestHash: string;
|
|
604
|
-
}[];
|
|
605
599
|
authorFingerprint: string;
|
|
606
600
|
createdAt: string;
|
|
607
601
|
documentId: string;
|
|
@@ -611,6 +605,12 @@ export declare const documentSyncOperation: Omit<{
|
|
|
611
605
|
partialStartVersionVector: string;
|
|
612
606
|
plaintextHash: string;
|
|
613
607
|
writeHeader: Record<string, unknown>;
|
|
608
|
+
authorizationTargets?: {
|
|
609
|
+
containerId: string;
|
|
610
|
+
containerKeyEpoch: number;
|
|
611
|
+
containerKeyEpochId: string;
|
|
612
|
+
containerManifestHash: string;
|
|
613
|
+
}[] | undefined;
|
|
614
614
|
checkpointKind?: "rotate_baseline" | undefined;
|
|
615
615
|
checkpointPayloadKind?: "full_history_snapshot" | undefined;
|
|
616
616
|
sourceVersionVector?: string | undefined;
|
|
@@ -387,7 +387,7 @@ export declare const BlobAttachmentSummarySchema: z.ZodType<{
|
|
|
387
387
|
linkedContainerKeyEpochIds: string[];
|
|
388
388
|
linkedContainerManifestHashes: string[];
|
|
389
389
|
organizationId: string;
|
|
390
|
-
targets
|
|
390
|
+
targets?: Record<string, unknown>[] | undefined;
|
|
391
391
|
};
|
|
392
392
|
writeHeader: Record<string, unknown>;
|
|
393
393
|
}, {
|
|
@@ -436,7 +436,7 @@ export declare const BlobAttachmentSummarySchema: z.ZodType<{
|
|
|
436
436
|
linkedContainerKeyEpochIds: string[];
|
|
437
437
|
linkedContainerManifestHashes: string[];
|
|
438
438
|
organizationId: string;
|
|
439
|
-
targets
|
|
439
|
+
targets?: Record<string, unknown>[] | undefined;
|
|
440
440
|
};
|
|
441
441
|
writeHeader: Record<string, unknown>;
|
|
442
442
|
}, z.core.$ZodTypeInternals<{
|
|
@@ -485,7 +485,7 @@ export declare const BlobAttachmentSummarySchema: z.ZodType<{
|
|
|
485
485
|
linkedContainerKeyEpochIds: string[];
|
|
486
486
|
linkedContainerManifestHashes: string[];
|
|
487
487
|
organizationId: string;
|
|
488
|
-
targets
|
|
488
|
+
targets?: Record<string, unknown>[] | undefined;
|
|
489
489
|
};
|
|
490
490
|
writeHeader: Record<string, unknown>;
|
|
491
491
|
}, {
|
|
@@ -534,7 +534,7 @@ export declare const BlobAttachmentSummarySchema: z.ZodType<{
|
|
|
534
534
|
linkedContainerKeyEpochIds: string[];
|
|
535
535
|
linkedContainerManifestHashes: string[];
|
|
536
536
|
organizationId: string;
|
|
537
|
-
targets
|
|
537
|
+
targets?: Record<string, unknown>[] | undefined;
|
|
538
538
|
};
|
|
539
539
|
writeHeader: Record<string, unknown>;
|
|
540
540
|
}>>;
|
|
@@ -585,7 +585,7 @@ export declare const ListDocumentAttachmentsResponseSchema: z.ZodCustom<{
|
|
|
585
585
|
linkedContainerKeyEpochIds: string[];
|
|
586
586
|
linkedContainerManifestHashes: string[];
|
|
587
587
|
organizationId: string;
|
|
588
|
-
targets
|
|
588
|
+
targets?: Record<string, unknown>[] | undefined;
|
|
589
589
|
};
|
|
590
590
|
writeHeader: Record<string, unknown>;
|
|
591
591
|
}[], {
|
|
@@ -634,7 +634,7 @@ export declare const ListDocumentAttachmentsResponseSchema: z.ZodCustom<{
|
|
|
634
634
|
linkedContainerKeyEpochIds: string[];
|
|
635
635
|
linkedContainerManifestHashes: string[];
|
|
636
636
|
organizationId: string;
|
|
637
|
-
targets
|
|
637
|
+
targets?: Record<string, unknown>[] | undefined;
|
|
638
638
|
};
|
|
639
639
|
writeHeader: Record<string, unknown>;
|
|
640
640
|
}[]>;
|
|
@@ -50,7 +50,7 @@ export const BlobContentKeyBundleResponseSchema = loosePlainObject({
|
|
|
50
50
|
targetHash: z.string(),
|
|
51
51
|
targets: arraySchema(BlobContentKeyTargetEnvelopeResponseSchema),
|
|
52
52
|
});
|
|
53
|
-
|
|
53
|
+
const blobKekTargetsShape = {
|
|
54
54
|
activeBindingIds: arraySchema(z.string()),
|
|
55
55
|
blobAccessManifestHash: z.string(),
|
|
56
56
|
blobId: z.string(),
|
|
@@ -60,6 +60,16 @@ export const BlobKekTargetsResponseSchema = loosePlainObject({
|
|
|
60
60
|
linkedContainerManifestHashes: arraySchema(z.string()),
|
|
61
61
|
organizationId: z.string(),
|
|
62
62
|
targets: arraySchema(plainObjectSchema),
|
|
63
|
+
};
|
|
64
|
+
export const BlobKekTargetsResponseSchema = loosePlainObject(blobKekTargetsShape);
|
|
65
|
+
/**
|
|
66
|
+
* The target set a blob's write was authorized against. `targets` is omitted
|
|
67
|
+
* when `blobKeyTargetHash` equals the listing's current `blobKekTargets`
|
|
68
|
+
* hash: the reader refills it from that set and re-hashes it.
|
|
69
|
+
*/
|
|
70
|
+
const BlobWriteAuthorizationResponseSchema = loosePlainObject({
|
|
71
|
+
...blobKekTargetsShape,
|
|
72
|
+
targets: arraySchema(plainObjectSchema).optional(),
|
|
63
73
|
});
|
|
64
74
|
export const BlobAttachmentSummarySchema = loosePlainObject({
|
|
65
75
|
bindingEvent: AccessEventBundleWireResponseSchema,
|
|
@@ -70,7 +80,7 @@ export const BlobAttachmentSummarySchema = loosePlainObject({
|
|
|
70
80
|
documentManifestHash: z.string(),
|
|
71
81
|
previousBindingId: z.string().nullable(),
|
|
72
82
|
slotId: z.string(),
|
|
73
|
-
writeAuthorization:
|
|
83
|
+
writeAuthorization: BlobWriteAuthorizationResponseSchema,
|
|
74
84
|
writeHeader: plainObjectSchema,
|
|
75
85
|
});
|
|
76
86
|
export const ListDocumentAttachmentsResponseSchema = arraySchema(BlobAttachmentSummarySchema);
|