@tearleads/client-sdk 0.0.0-stage → 0.1.13
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/README.md +108 -2
- package/client/Tearleads.d.ts +111 -0
- package/client/Tearleads.js +264 -0
- package/client/Tearleads.js.map +1 -0
- package/client/apiVersion.d.ts +17 -0
- package/client/apiVersion.js +27 -0
- package/client/apiVersion.js.map +1 -0
- package/client/billing/directCheckout.d.ts +86 -0
- package/client/billing/directCheckout.js +35 -0
- package/client/billing/directCheckout.js.map +1 -0
- package/client/billing/purchaseErrors.d.ts +24 -0
- package/client/billing/purchaseErrors.js +43 -0
- package/client/billing/purchaseErrors.js.map +1 -0
- package/client/billing/purchases.d.ts +177 -0
- package/client/billing/purchases.js +165 -0
- package/client/billing/purchases.js.map +1 -0
- package/client/billing/revenueCatCheckoutGate.js +71 -0
- package/client/billing/revenueCatCheckoutGate.js.map +1 -0
- package/client/billing/revenueCatErrors.js +122 -0
- package/client/billing/revenueCatErrors.js.map +1 -0
- package/client/billing/revenueCatIdentity.js +387 -0
- package/client/billing/revenueCatIdentity.js.map +1 -0
- package/client/billing/revenueCatIdentityTypes.js +2 -0
- package/client/billing/revenueCatIdentityTypes.js.map +1 -0
- package/client/billing/revenueCatNativeSubscriptionMove.js +74 -0
- package/client/billing/revenueCatNativeSubscriptionMove.js.map +1 -0
- package/client/billing/revenueCatProviderPhase.js +34 -0
- package/client/billing/revenueCatProviderPhase.js.map +1 -0
- package/client/billing/revenueCatProviderSettlement.js +19 -0
- package/client/billing/revenueCatProviderSettlement.js.map +1 -0
- package/client/billing/revenueCatPurchaseErrorNormalization.js +26 -0
- package/client/billing/revenueCatPurchaseErrorNormalization.js.map +1 -0
- package/client/billing/revenueCatPurchasePreparation.js +18 -0
- package/client/billing/revenueCatPurchasePreparation.js.map +1 -0
- package/client/billing/revenueCatTimeoutCoordinator.js +144 -0
- package/client/billing/revenueCatTimeoutCoordinator.js.map +1 -0
- package/client/blobs.d.ts +13 -0
- package/client/blobs.js +33 -0
- package/client/blobs.js.map +1 -0
- package/client/containerContents.d.ts +15 -0
- package/client/containerContents.js +217 -0
- package/client/containerContents.js.map +1 -0
- package/client/containerContentsTypes.d.ts +230 -0
- package/client/containerContentsTypes.js +2 -0
- package/client/containerContentsTypes.js.map +1 -0
- package/client/containerDocumentDiscovery.js +48 -0
- package/client/containerDocumentDiscovery.js.map +1 -0
- package/client/database.d.ts +32 -0
- package/client/database.js +77 -0
- package/client/database.js.map +1 -0
- package/client/deviceFirst.d.ts +33 -0
- package/client/deviceFirst.js +204 -0
- package/client/deviceFirst.js.map +1 -0
- package/client/documents.d.ts +39 -0
- package/client/documents.js +76 -0
- package/client/documents.js.map +1 -0
- package/client/events.d.ts +29 -0
- package/client/events.js +60 -0
- package/client/events.js.map +1 -0
- package/client/fileSaver.d.ts +44 -0
- package/client/fileSaver.js +20 -0
- package/client/fileSaver.js.map +1 -0
- package/client/identity.d.ts +50 -0
- package/client/identity.js +163 -0
- package/client/identity.js.map +1 -0
- package/client/identityKeyPackage.d.ts +30 -0
- package/client/identityKeyPackage.js +201 -0
- package/client/identityKeyPackage.js.map +1 -0
- package/client/index.d.ts +30 -0
- package/client/index.js +17 -0
- package/client/index.js.map +1 -0
- package/client/listenerSet.js +27 -0
- package/client/listenerSet.js.map +1 -0
- package/client/localKeyring/aesGcmWrapping.js +94 -0
- package/client/localKeyring/aesGcmWrapping.js.map +1 -0
- package/client/localKeyring/browser.d.ts +52 -0
- package/client/localKeyring/browser.js +72 -0
- package/client/localKeyring/browser.js.map +1 -0
- package/client/localKeyring/envelope.d.ts +8 -0
- package/client/localKeyring/envelope.js +54 -0
- package/client/localKeyring/envelope.js.map +1 -0
- package/client/localKeyring/index.d.ts +25 -0
- package/client/localKeyring/index.js +14 -0
- package/client/localKeyring/index.js.map +1 -0
- package/client/localKeyring/indexedDbKeystore.d.ts +9 -0
- package/client/localKeyring/indexedDbKeystore.js +146 -0
- package/client/localKeyring/indexedDbKeystore.js.map +1 -0
- package/client/localKeyring/indexedDbManifestStore.d.ts +8 -0
- package/client/localKeyring/indexedDbManifestStore.js +85 -0
- package/client/localKeyring/indexedDbManifestStore.js.map +1 -0
- package/client/localKeyring/indexedDbStoreConnection.js +129 -0
- package/client/localKeyring/indexedDbStoreConnection.js.map +1 -0
- package/client/localKeyring/indexedDbWrappingKeyRecord.js +90 -0
- package/client/localKeyring/indexedDbWrappingKeyRecord.js.map +1 -0
- package/client/localKeyring/jsonReaders.d.ts +8 -0
- package/client/localKeyring/jsonReaders.js +47 -0
- package/client/localKeyring/jsonReaders.js.map +1 -0
- package/client/localKeyring/localKeyringPinCode.d.ts +18 -0
- package/client/localKeyring/localKeyringPinCode.js +142 -0
- package/client/localKeyring/localKeyringPinCode.js.map +1 -0
- package/client/localKeyring/localKeyringPinCodeSupport.d.ts +34 -0
- package/client/localKeyring/localKeyringPinCodeSupport.js +135 -0
- package/client/localKeyring/localKeyringPinCodeSupport.js.map +1 -0
- package/client/localKeyring/localStorageManifestStore.d.ts +6 -0
- package/client/localKeyring/localStorageManifestStore.js +34 -0
- package/client/localKeyring/localStorageManifestStore.js.map +1 -0
- package/client/localKeyring/manifest.d.ts +5 -0
- package/client/localKeyring/manifest.js +43 -0
- package/client/localKeyring/manifest.js.map +1 -0
- package/client/localKeyring/memory.d.ts +3 -0
- package/client/localKeyring/memory.js +64 -0
- package/client/localKeyring/memory.js.map +1 -0
- package/client/localKeyring/primitives.d.ts +4 -0
- package/client/localKeyring/primitives.js +18 -0
- package/client/localKeyring/primitives.js.map +1 -0
- package/client/localKeyring/rootKey.js +22 -0
- package/client/localKeyring/rootKey.js.map +1 -0
- package/client/localKeyring/scope.d.ts +8 -0
- package/client/localKeyring/scope.js +46 -0
- package/client/localKeyring/scope.js.map +1 -0
- package/client/localKeyring/service.d.ts +2 -0
- package/client/localKeyring/service.js +116 -0
- package/client/localKeyring/service.js.map +1 -0
- package/client/localKeyring/session.js +76 -0
- package/client/localKeyring/session.js.map +1 -0
- package/client/localKeyring/sqliteKey.d.ts +2 -0
- package/client/localKeyring/sqliteKey.js +9 -0
- package/client/localKeyring/sqliteKey.js.map +1 -0
- package/client/localKeyring/types.d.ts +106 -0
- package/client/localKeyring/types.js +3 -0
- package/client/localKeyring/types.js.map +1 -0
- package/client/logger.d.ts +5 -0
- package/client/logger.js +8 -0
- package/client/logger.js.map +1 -0
- package/client/network.d.ts +87 -0
- package/client/network.js +105 -0
- package/client/network.js.map +1 -0
- package/client/organizations/index.d.ts +46 -0
- package/client/organizations/index.js +201 -0
- package/client/organizations/index.js.map +1 -0
- package/client/organizations/organizationAccessRestoration.js +38 -0
- package/client/organizations/organizationAccessRestoration.js.map +1 -0
- package/client/organizations/organizationDataUsage.d.ts +8 -0
- package/client/organizations/organizationDataUsage.js +75 -0
- package/client/organizations/organizationDataUsage.js.map +1 -0
- package/client/organizations/organizationGroupNameHydration.js +28 -0
- package/client/organizations/organizationGroupNameHydration.js.map +1 -0
- package/client/organizations/organizationGroupPresentation.d.ts +21 -0
- package/client/organizations/organizationGroupPresentation.js +17 -0
- package/client/organizations/organizationGroupPresentation.js.map +1 -0
- package/client/organizations/organizationMetadataProfileSync.js +38 -0
- package/client/organizations/organizationMetadataProfileSync.js.map +1 -0
- package/client/organizations/organizationReadModels.d.ts +22 -0
- package/client/organizations/organizationReadModels.js +279 -0
- package/client/organizations/organizationReadModels.js.map +1 -0
- package/client/organizations/organizationWorkflowRuntime.js +37 -0
- package/client/organizations/organizationWorkflowRuntime.js.map +1 -0
- package/client/organizations/principalContainerMutations.js +27 -0
- package/client/organizations/principalContainerMutations.js.map +1 -0
- package/client/organizations/principalMutationScope.js +20 -0
- package/client/organizations/principalMutationScope.js.map +1 -0
- package/client/organizations/principalMutations.d.ts +891 -0
- package/client/organizations/principalMutations.js +194 -0
- package/client/organizations/principalMutations.js.map +1 -0
- package/client/principalHistoryProtection.d.ts +19 -0
- package/client/principalHistoryProtection.js +76 -0
- package/client/principalHistoryProtection.js.map +1 -0
- package/client/root/index.d.ts +43 -0
- package/client/root/index.js +104 -0
- package/client/root/index.js.map +1 -0
- package/client/rootContainerAdoption.js +18 -0
- package/client/rootContainerAdoption.js.map +1 -0
- package/client/securityIncidents.d.ts +37 -0
- package/client/securityIncidents.js +287 -0
- package/client/securityIncidents.js.map +1 -0
- package/client/session/index.js +340 -0
- package/client/session/index.js.map +1 -0
- package/client/session/sessionContext.js +45 -0
- package/client/session/sessionContext.js.map +1 -0
- package/client/session/sessionIdentityTrust.d.ts +35 -0
- package/client/session/sessionIdentityTrust.js +62 -0
- package/client/session/sessionIdentityTrust.js.map +1 -0
- package/client/session/sessionListing.js +16 -0
- package/client/session/sessionListing.js.map +1 -0
- package/client/session/sessionLoginRefusal.js +16 -0
- package/client/session/sessionLoginRefusal.js.map +1 -0
- package/client/session/sessionOrganizationCreation.js +53 -0
- package/client/session/sessionOrganizationCreation.js.map +1 -0
- package/client/session/sessionPurgeRecovery.js +110 -0
- package/client/session/sessionPurgeRecovery.js.map +1 -0
- package/client/session/sessionRecoveryErrors.d.ts +9 -0
- package/client/session/sessionRecoveryErrors.js +15 -0
- package/client/session/sessionRecoveryErrors.js.map +1 -0
- package/client/session/sessionRootAuthority.js +84 -0
- package/client/session/sessionRootAuthority.js.map +1 -0
- package/client/session/sessionTypes.d.ts +153 -0
- package/client/session/sessionTypes.js +2 -0
- package/client/session/sessionTypes.js.map +1 -0
- package/client/syncBillingGate.d.ts +50 -0
- package/client/syncBillingGate.js +107 -0
- package/client/syncBillingGate.js.map +1 -0
- package/client/userIdentities.d.ts +16 -0
- package/client/userIdentities.js +32 -0
- package/client/userIdentities.js.map +1 -0
- package/client/workflowRuntime.d.ts +60 -0
- package/client/workflowRuntime.js +232 -0
- package/client/workflowRuntime.js.map +1 -0
- package/data/accessLevel.js +24 -0
- package/data/accessLevel.js.map +1 -0
- package/data/blobContracts.d.ts +19 -0
- package/data/blobContracts.js +88 -0
- package/data/blobContracts.js.map +1 -0
- package/data/blobs/createBlobStore.d.ts +2 -0
- package/data/blobs/createBlobStore.js +17 -0
- package/data/blobs/createBlobStore.js.map +1 -0
- package/data/blobs/encryptedBlobByteSource.js +133 -0
- package/data/blobs/encryptedBlobByteSource.js.map +1 -0
- package/data/blobs/encryptedBlobEnvelope.d.ts +53 -0
- package/data/blobs/encryptedBlobEnvelope.js +229 -0
- package/data/blobs/encryptedBlobEnvelope.js.map +1 -0
- package/data/blobs/encryptedBlobStore.d.ts +15 -0
- package/data/blobs/encryptedBlobStore.js +216 -0
- package/data/blobs/encryptedBlobStore.js.map +1 -0
- package/data/blobs/memoryBlobStore.d.ts +2 -0
- package/data/blobs/memoryBlobStore.js +25 -0
- package/data/blobs/memoryBlobStore.js.map +1 -0
- package/data/blobs/opfsBlobStore.d.ts +10 -0
- package/data/blobs/opfsBlobStore.js +126 -0
- package/data/blobs/opfsBlobStore.js.map +1 -0
- package/data/containers/containerBinding.d.ts +55 -0
- package/data/containers/containerBinding.js +51 -0
- package/data/containers/containerBinding.js.map +1 -0
- package/data/containers/containerMetadataDocument.d.ts +15 -0
- package/data/containers/containerMetadataDocument.js +43 -0
- package/data/containers/containerMetadataDocument.js.map +1 -0
- package/data/containers/shared/authorAccess.d.ts +15 -0
- package/data/containers/shared/authorAccess.js +25 -0
- package/data/containers/shared/authorAccess.js.map +1 -0
- package/data/containers/shared/containerPathLimits.d.ts +14 -0
- package/data/containers/shared/containerPathLimits.js +25 -0
- package/data/containers/shared/containerPathLimits.js.map +1 -0
- package/data/containers/shared/events.js +123 -0
- package/data/containers/shared/events.js.map +1 -0
- package/data/containers/shared/heldContainerHeads.js +124 -0
- package/data/containers/shared/heldContainerHeads.js.map +1 -0
- package/data/containers/shared/mutationAcknowledgement.js +187 -0
- package/data/containers/shared/mutationAcknowledgement.js.map +1 -0
- package/data/containers/shared/mutationFailures.js +51 -0
- package/data/containers/shared/mutationFailures.js.map +1 -0
- package/data/containers/shared/mutationRequestOptions.d.ts +4 -0
- package/data/containers/shared/mutationRequestOptions.js +2 -0
- package/data/containers/shared/mutationRequestOptions.js.map +1 -0
- package/data/containers/shared/principalPolicies.js +34 -0
- package/data/containers/shared/principalPolicies.js.map +1 -0
- package/data/containers/shared/projection.js +158 -0
- package/data/containers/shared/projection.js.map +1 -0
- package/data/containers/shared/readers.js +103 -0
- package/data/containers/shared/readers.js.map +1 -0
- package/data/containers/shared/reciteApi.d.ts +6 -0
- package/data/containers/shared/reciteApi.js +2 -0
- package/data/containers/shared/reciteApi.js.map +1 -0
- package/data/containers/shared/types.d.ts +232 -0
- package/data/containers/shared/types.js +2 -0
- package/data/containers/shared/types.js.map +1 -0
- package/data/crdtPeerSeed.js +167 -0
- package/data/crdtPeerSeed.js.map +1 -0
- package/data/documents/attachmentContentIdentity.js +17 -0
- package/data/documents/attachmentContentIdentity.js.map +1 -0
- package/data/documents/blob/shared/blobEnvelopeStream.js +58 -0
- package/data/documents/blob/shared/blobEnvelopeStream.js.map +1 -0
- package/data/documents/blob/shared/blobRecordCrypto.js +84 -0
- package/data/documents/blob/shared/blobRecordCrypto.js.map +1 -0
- package/data/documents/blob/shared/blobSourceSnapshot.d.ts +9 -0
- package/data/documents/blob/shared/blobSourceSnapshot.js +70 -0
- package/data/documents/blob/shared/blobSourceSnapshot.js.map +1 -0
- package/data/documents/blob/shared/chunkedBlobCrypto.js +174 -0
- package/data/documents/blob/shared/chunkedBlobCrypto.js.map +1 -0
- package/data/documents/blob/shared/crypto.js +3 -0
- package/data/documents/blob/shared/crypto.js.map +1 -0
- package/data/documents/blob/shared/events.js +85 -0
- package/data/documents/blob/shared/events.js.map +1 -0
- package/data/documents/blob/shared/projection.js +126 -0
- package/data/documents/blob/shared/projection.js.map +1 -0
- package/data/documents/blob/shared/readers.js +55 -0
- package/data/documents/blob/shared/readers.js.map +1 -0
- package/data/documents/blob/shared/responses.js +111 -0
- package/data/documents/blob/shared/responses.js.map +1 -0
- package/data/documents/blob/shared/types.d.ts +173 -0
- package/data/documents/blob/shared/types.js +7 -0
- package/data/documents/blob/shared/types.js.map +1 -0
- package/data/documents/documentConstants.d.ts +4 -0
- package/data/documents/documentConstants.js +12 -0
- package/data/documents/documentConstants.js.map +1 -0
- package/data/documents/documentContent.d.ts +15 -0
- package/data/documents/documentContent.js +124 -0
- package/data/documents/documentContent.js.map +1 -0
- package/data/documents/documentKinds.d.ts +100 -0
- package/data/documents/documentKinds.js +231 -0
- package/data/documents/documentKinds.js.map +1 -0
- package/data/documents/documentRowList.d.ts +31 -0
- package/data/documents/documentRowList.js +162 -0
- package/data/documents/documentRowList.js.map +1 -0
- package/data/documents/documentSummary.d.ts +24 -0
- package/data/documents/documentSummary.js +5 -0
- package/data/documents/documentSummary.js.map +1 -0
- package/data/documents/documentSync.js +68 -0
- package/data/documents/documentSync.js.map +1 -0
- package/data/documents/editAttribution.d.ts +77 -0
- package/data/documents/editAttribution.js +131 -0
- package/data/documents/editAttribution.js.map +1 -0
- package/data/documents/editAttributionBlame.d.ts +59 -0
- package/data/documents/editAttributionBlame.js +165 -0
- package/data/documents/editAttributionBlame.js.map +1 -0
- package/data/documents/editAttributionTypes.d.ts +14 -0
- package/data/documents/editAttributionTypes.js +5 -0
- package/data/documents/editAttributionTypes.js.map +1 -0
- package/data/documents/shared/containerKekCurrency.d.ts +22 -0
- package/data/documents/shared/containerKekCurrency.js +42 -0
- package/data/documents/shared/containerKekCurrency.js.map +1 -0
- package/data/documents/shared/containerKekEntryVerification.js +15 -0
- package/data/documents/shared/containerKekEntryVerification.js.map +1 -0
- package/data/documents/shared/containerKekLogFetch.d.ts +18 -0
- package/data/documents/shared/containerKekLogFetch.js +76 -0
- package/data/documents/shared/containerKekLogFetch.js.map +1 -0
- package/data/documents/shared/containerKekPath.d.ts +18 -0
- package/data/documents/shared/containerKekPath.js +265 -0
- package/data/documents/shared/containerKekPath.js.map +1 -0
- package/data/documents/shared/containerKekPathHistory.d.ts +61 -0
- package/data/documents/shared/containerKekPathHistory.js +223 -0
- package/data/documents/shared/containerKekPathHistory.js.map +1 -0
- package/data/documents/shared/containerKekPathVerification.d.ts +15 -0
- package/data/documents/shared/containerKekPathVerification.js +23 -0
- package/data/documents/shared/containerKekPathVerification.js.map +1 -0
- package/data/documents/shared/containerKekWrapping.js +61 -0
- package/data/documents/shared/containerKekWrapping.js.map +1 -0
- package/data/documents/shared/contentRecordAdditionalData.js +14 -0
- package/data/documents/shared/contentRecordAdditionalData.js.map +1 -0
- package/data/documents/shared/contentRecordKeys.js +40 -0
- package/data/documents/shared/contentRecordKeys.js.map +1 -0
- package/data/documents/shared/crypto.js +172 -0
- package/data/documents/shared/crypto.js.map +1 -0
- package/data/documents/shared/documentSyncUpdateDecryption.js +238 -0
- package/data/documents/shared/documentSyncUpdateDecryption.js.map +1 -0
- package/data/documents/shared/documentSyncUpdateIsolation.d.ts +55 -0
- package/data/documents/shared/documentSyncUpdateIsolation.js +298 -0
- package/data/documents/shared/documentSyncUpdateIsolation.js.map +1 -0
- package/data/documents/shared/documentUpdateIntegrity.js +18 -0
- package/data/documents/shared/documentUpdateIntegrity.js.map +1 -0
- package/data/documents/shared/events.js +121 -0
- package/data/documents/shared/events.js.map +1 -0
- package/data/documents/shared/keyringLogWalk.d.ts +45 -0
- package/data/documents/shared/keyringLogWalk.js +204 -0
- package/data/documents/shared/keyringLogWalk.js.map +1 -0
- package/data/documents/shared/keyringRebuild.d.ts +60 -0
- package/data/documents/shared/keyringRebuild.js +242 -0
- package/data/documents/shared/keyringRebuild.js.map +1 -0
- package/data/documents/shared/manifestBundleReaders.js +59 -0
- package/data/documents/shared/manifestBundleReaders.js.map +1 -0
- package/data/documents/shared/mutationAcknowledgement.js +10 -0
- package/data/documents/shared/mutationAcknowledgement.js.map +1 -0
- package/data/documents/shared/plaintextHash.js +8 -0
- package/data/documents/shared/plaintextHash.js.map +1 -0
- package/data/documents/shared/projection.d.ts +25 -0
- package/data/documents/shared/projection.js +132 -0
- package/data/documents/shared/projection.js.map +1 -0
- package/data/documents/shared/projectionContentKeys.d.ts +90 -0
- package/data/documents/shared/projectionContentKeys.js +262 -0
- package/data/documents/shared/projectionContentKeys.js.map +1 -0
- package/data/documents/shared/projectionTargets.d.ts +38 -0
- package/data/documents/shared/projectionTargets.js +164 -0
- package/data/documents/shared/projectionTargets.js.map +1 -0
- package/data/documents/shared/pullContinuation.d.ts +17 -0
- package/data/documents/shared/pullContinuation.js +53 -0
- package/data/documents/shared/pullContinuation.js.map +1 -0
- package/data/documents/shared/readers.js +156 -0
- package/data/documents/shared/readers.js.map +1 -0
- package/data/documents/shared/responses.d.ts +14 -0
- package/data/documents/shared/responses.js +133 -0
- package/data/documents/shared/responses.js.map +1 -0
- package/data/documents/shared/stableDocumentId.js +20 -0
- package/data/documents/shared/stableDocumentId.js.map +1 -0
- package/data/documents/shared/syncPagination.d.ts +20 -0
- package/data/documents/shared/syncPagination.js +109 -0
- package/data/documents/shared/syncPagination.js.map +1 -0
- package/data/documents/shared/syncResponseAuthorization.js +63 -0
- package/data/documents/shared/syncResponseAuthorization.js.map +1 -0
- package/data/documents/shared/syncResponses.d.ts +11 -0
- package/data/documents/shared/syncResponses.js +287 -0
- package/data/documents/shared/syncResponses.js.map +1 -0
- package/data/documents/shared/syncSubmitFailure.d.ts +9 -0
- package/data/documents/shared/syncSubmitFailure.js +2 -0
- package/data/documents/shared/syncSubmitFailure.js.map +1 -0
- package/data/documents/shared/types.d.ts +330 -0
- package/data/documents/shared/types.js +58 -0
- package/data/documents/shared/types.js.map +1 -0
- package/data/domainScope.d.ts +6 -0
- package/data/domainScope.js +5 -0
- package/data/domainScope.js.map +1 -0
- package/data/errorMessage.js +10 -0
- package/data/errorMessage.js.map +1 -0
- package/data/keyingCanonicalJson.js +83 -0
- package/data/keyingCanonicalJson.js.map +1 -0
- package/data/keyingProjectionVerification/accessManifestCheckpointEnforcement.js +57 -0
- package/data/keyingProjectionVerification/accessManifestCheckpointEnforcement.js.map +1 -0
- package/data/keyingProjectionVerification/bundleVerification.js +61 -0
- package/data/keyingProjectionVerification/bundleVerification.js.map +1 -0
- package/data/keyingProjectionVerification/checkpointContext.d.ts +32 -0
- package/data/keyingProjectionVerification/checkpointContext.js +82 -0
- package/data/keyingProjectionVerification/checkpointContext.js.map +1 -0
- package/data/keyingProjectionVerification/containerAncestorCitations.js +164 -0
- package/data/keyingProjectionVerification/containerAncestorCitations.js.map +1 -0
- package/data/keyingProjectionVerification/containerCreateManifest.js +28 -0
- package/data/keyingProjectionVerification/containerCreateManifest.js.map +1 -0
- package/data/keyingProjectionVerification/containerDestinationVerification.js +39 -0
- package/data/keyingProjectionVerification/containerDestinationVerification.js.map +1 -0
- package/data/keyingProjectionVerification/containerManifestVerification.js +285 -0
- package/data/keyingProjectionVerification/containerManifestVerification.js.map +1 -0
- package/data/keyingProjectionVerification/containerPathVerification.js +51 -0
- package/data/keyingProjectionVerification/containerPathVerification.js.map +1 -0
- package/data/keyingProjectionVerification/containerProjectionVerification.d.ts +24 -0
- package/data/keyingProjectionVerification/containerProjectionVerification.js +249 -0
- package/data/keyingProjectionVerification/containerProjectionVerification.js.map +1 -0
- package/data/keyingProjectionVerification/dependencyUnavailable.js +8 -0
- package/data/keyingProjectionVerification/dependencyUnavailable.js.map +1 -0
- package/data/keyingProjectionVerification/documentContainerProjections.js +8 -0
- package/data/keyingProjectionVerification/documentContainerProjections.js.map +1 -0
- package/data/keyingProjectionVerification/documentDependencyPaths.d.ts +17 -0
- package/data/keyingProjectionVerification/documentDependencyPaths.js +70 -0
- package/data/keyingProjectionVerification/documentDependencyPaths.js.map +1 -0
- package/data/keyingProjectionVerification/documentManifestPolicies.js +32 -0
- package/data/keyingProjectionVerification/documentManifestPolicies.js.map +1 -0
- package/data/keyingProjectionVerification/documentManifestPredecessor.js +12 -0
- package/data/keyingProjectionVerification/documentManifestPredecessor.js.map +1 -0
- package/data/keyingProjectionVerification/documentManifestVerification.js +135 -0
- package/data/keyingProjectionVerification/documentManifestVerification.js.map +1 -0
- package/data/keyingProjectionVerification/documentProjectionVerification.d.ts +25 -0
- package/data/keyingProjectionVerification/documentProjectionVerification.js +162 -0
- package/data/keyingProjectionVerification/documentProjectionVerification.js.map +1 -0
- package/data/keyingProjectionVerification/documentPurgeCheckpointCurrency.js +74 -0
- package/data/keyingProjectionVerification/documentPurgeCheckpointCurrency.js.map +1 -0
- package/data/keyingProjectionVerification/documentPurgeCheckpointEnforcement.js +8 -0
- package/data/keyingProjectionVerification/documentPurgeCheckpointEnforcement.js.map +1 -0
- package/data/keyingProjectionVerification/documentPurgeDocumentChainVerification.js +177 -0
- package/data/keyingProjectionVerification/documentPurgeDocumentChainVerification.js.map +1 -0
- package/data/keyingProjectionVerification/documentPurgePrincipalEvidence.js +104 -0
- package/data/keyingProjectionVerification/documentPurgePrincipalEvidence.js.map +1 -0
- package/data/keyingProjectionVerification/documentPurgeProofVerification.d.ts +32 -0
- package/data/keyingProjectionVerification/documentPurgeProofVerification.js +164 -0
- package/data/keyingProjectionVerification/documentPurgeProofVerification.js.map +1 -0
- package/data/keyingProjectionVerification/error.js +139 -0
- package/data/keyingProjectionVerification/error.js.map +1 -0
- package/data/keyingProjectionVerification/manifestCheckpointVerification.js +64 -0
- package/data/keyingProjectionVerification/manifestCheckpointVerification.js.map +1 -0
- package/data/keyingProjectionVerification/mergeProjectionPolicyEvidence.js +43 -0
- package/data/keyingProjectionVerification/mergeProjectionPolicyEvidence.js.map +1 -0
- package/data/keyingProjectionVerification/organizationFounderBinding.js +41 -0
- package/data/keyingProjectionVerification/organizationFounderBinding.js.map +1 -0
- package/data/keyingProjectionVerification/principalPolicyCache.js +76 -0
- package/data/keyingProjectionVerification/principalPolicyCache.js.map +1 -0
- package/data/keyingProjectionVerification/principalPolicySnapshotVerification.js +208 -0
- package/data/keyingProjectionVerification/principalPolicySnapshotVerification.js.map +1 -0
- package/data/keyingProjectionVerification/principalPolicyVerification.js +253 -0
- package/data/keyingProjectionVerification/principalPolicyVerification.js.map +1 -0
- package/data/keyingProjectionVerification/projectionAuthorizationEvidence.js +36 -0
- package/data/keyingProjectionVerification/projectionAuthorizationEvidence.js.map +1 -0
- package/data/keyingProjectionVerification/projectionPolicyEvidence.js +70 -0
- package/data/keyingProjectionVerification/projectionPolicyEvidence.js.map +1 -0
- package/data/keyingProjectionVerification/readers.d.ts +8 -0
- package/data/keyingProjectionVerification/readers.js +153 -0
- package/data/keyingProjectionVerification/readers.js.map +1 -0
- package/data/keyingProjectionVerification/resolvedPrincipalPolicy.js +70 -0
- package/data/keyingProjectionVerification/resolvedPrincipalPolicy.js.map +1 -0
- package/data/keyingProjectionVerification/snapshotVerificationCache.js +39 -0
- package/data/keyingProjectionVerification/snapshotVerificationCache.js.map +1 -0
- package/data/keyingProjectionVerification/types.d.ts +47 -0
- package/data/keyingProjectionVerification/types.js +72 -0
- package/data/keyingProjectionVerification/types.js.map +1 -0
- package/data/keyingProjectionVerification/userKeyResolver.d.ts +7 -0
- package/data/keyingProjectionVerification/userKeyResolver.js +17 -0
- package/data/keyingProjectionVerification/userKeyResolver.js.map +1 -0
- package/data/keyingProjectionVerification.d.ts +9 -0
- package/data/keyingProjectionVerification.js +16 -0
- package/data/keyingProjectionVerification.js.map +1 -0
- package/data/persistence/container-contents/containerContentsPersistence.d.ts +4 -0
- package/data/persistence/container-contents/containerContentsPersistence.js +199 -0
- package/data/persistence/container-contents/containerContentsPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerContentsPersistenceTypes.d.ts +340 -0
- package/data/persistence/container-contents/containerContentsPersistenceTypes.js +3 -0
- package/data/persistence/container-contents/containerContentsPersistenceTypes.js.map +1 -0
- package/data/persistence/container-contents/containerCreateIntentSettlement.js +115 -0
- package/data/persistence/container-contents/containerCreateIntentSettlement.js.map +1 -0
- package/data/persistence/container-contents/containerDeletionPersistence.js +168 -0
- package/data/persistence/container-contents/containerDeletionPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerDocumentReassignment.js +127 -0
- package/data/persistence/container-contents/containerDocumentReassignment.js.map +1 -0
- package/data/persistence/container-contents/containerHydrationPersistence.js +182 -0
- package/data/persistence/container-contents/containerHydrationPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerIntentPersistence.js +207 -0
- package/data/persistence/container-contents/containerIntentPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerMetadataMutationPersistence.js +259 -0
- package/data/persistence/container-contents/containerMetadataMutationPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerMetadataPullContinuationPersistence.js +32 -0
- package/data/persistence/container-contents/containerMetadataPullContinuationPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerMetadataRows.js +160 -0
- package/data/persistence/container-contents/containerMetadataRows.js.map +1 -0
- package/data/persistence/container-contents/containerMoveAbandonPersistence.js +29 -0
- package/data/persistence/container-contents/containerMoveAbandonPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerMoveIntentRows.js +37 -0
- package/data/persistence/container-contents/containerMoveIntentRows.js.map +1 -0
- package/data/persistence/container-contents/containerPendingUpdatePersistence.js +57 -0
- package/data/persistence/container-contents/containerPendingUpdatePersistence.js.map +1 -0
- package/data/persistence/container-contents/containerRebindPersistence.js +75 -0
- package/data/persistence/container-contents/containerRebindPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerReconcilePersistence.js +144 -0
- package/data/persistence/container-contents/containerReconcilePersistence.js.map +1 -0
- package/data/persistence/container-contents/containerRecoveryPersistence.js +139 -0
- package/data/persistence/container-contents/containerRecoveryPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerRemovalWork.js +30 -0
- package/data/persistence/container-contents/containerRemovalWork.js.map +1 -0
- package/data/persistence/container-contents/containerStructuralRepair.js +224 -0
- package/data/persistence/container-contents/containerStructuralRepair.js.map +1 -0
- package/data/persistence/container-contents/documentLinkRemovalRepair.js +135 -0
- package/data/persistence/container-contents/documentLinkRemovalRepair.js.map +1 -0
- package/data/persistence/container-contents/documentMoveIntentPersistence.js +213 -0
- package/data/persistence/container-contents/documentMoveIntentPersistence.js.map +1 -0
- package/data/persistence/container-contents/documentPlacementIntentEnqueue.js +149 -0
- package/data/persistence/container-contents/documentPlacementIntentEnqueue.js.map +1 -0
- package/data/persistence/container-contents/dormantContainerMetadata.d.ts +12 -0
- package/data/persistence/container-contents/dormantContainerMetadata.js +57 -0
- package/data/persistence/container-contents/dormantContainerMetadata.js.map +1 -0
- package/data/persistence/container-contents/dormantMetadataSweep.d.ts +20 -0
- package/data/persistence/container-contents/dormantMetadataSweep.js +102 -0
- package/data/persistence/container-contents/dormantMetadataSweep.js.map +1 -0
- package/data/persistence/container-contents/pendingContainerCreate.js +21 -0
- package/data/persistence/container-contents/pendingContainerCreate.js.map +1 -0
- package/data/persistence/container-contents/supersededContainerBindings.js +27 -0
- package/data/persistence/container-contents/supersededContainerBindings.js.map +1 -0
- package/data/persistence/containers/containerPersistence.d.ts +35 -0
- package/data/persistence/containers/containerPersistence.js +204 -0
- package/data/persistence/containers/containerPersistence.js.map +1 -0
- package/data/persistence/containers/containerSyncWatermarkPersistence.d.ts +48 -0
- package/data/persistence/containers/containerSyncWatermarkPersistence.js +238 -0
- package/data/persistence/containers/containerSyncWatermarkPersistence.js.map +1 -0
- package/data/persistence/containers/documentContainerProjectionPersistence.js +130 -0
- package/data/persistence/containers/documentContainerProjectionPersistence.js.map +1 -0
- package/data/persistence/containers/documentPlacement.js +51 -0
- package/data/persistence/containers/documentPlacement.js.map +1 -0
- package/data/persistence/documentPurgeCheckpointPersistence.d.ts +10 -0
- package/data/persistence/documentPurgeCheckpointPersistence.js +43 -0
- package/data/persistence/documentPurgeCheckpointPersistence.js.map +1 -0
- package/data/persistence/documents/containerDocumentTombstoneHoldsPersistence.js +108 -0
- package/data/persistence/documents/containerDocumentTombstoneHoldsPersistence.js.map +1 -0
- package/data/persistence/documents/documentDiscoveryCandidate.d.ts +6 -0
- package/data/persistence/documents/documentDiscoveryCandidate.js +33 -0
- package/data/persistence/documents/documentDiscoveryCandidate.js.map +1 -0
- package/data/persistence/documents/documentDiscoveryEvidencePersistence.d.ts +26 -0
- package/data/persistence/documents/documentDiscoveryEvidencePersistence.js +237 -0
- package/data/persistence/documents/documentDiscoveryEvidencePersistence.js.map +1 -0
- package/data/persistence/documents/documentDiscoveryReset.js +31 -0
- package/data/persistence/documents/documentDiscoveryReset.js.map +1 -0
- package/data/persistence/documents/documentsPersistence.d.ts +12 -0
- package/data/persistence/documents/documentsPersistence.js +233 -0
- package/data/persistence/documents/documentsPersistence.js.map +1 -0
- package/data/persistence/documents/internal/attachmentRows.js +78 -0
- package/data/persistence/documents/internal/attachmentRows.js.map +1 -0
- package/data/persistence/documents/internal/attachmentStagingPersistence.js +99 -0
- package/data/persistence/documents/internal/attachmentStagingPersistence.js.map +1 -0
- package/data/persistence/documents/internal/constants.d.ts +1 -0
- package/data/persistence/documents/internal/constants.js +2 -0
- package/data/persistence/documents/internal/constants.js.map +1 -0
- package/data/persistence/documents/internal/containerDocumentTombstoneHolds.js +182 -0
- package/data/persistence/documents/internal/containerDocumentTombstoneHolds.js.map +1 -0
- package/data/persistence/documents/internal/containerDocumentTombstones.js +164 -0
- package/data/persistence/documents/internal/containerDocumentTombstones.js.map +1 -0
- package/data/persistence/documents/internal/createDocumentWithHistoryCheckpoint.js +60 -0
- package/data/persistence/documents/internal/createDocumentWithHistoryCheckpoint.js.map +1 -0
- package/data/persistence/documents/internal/discardDocument.js +167 -0
- package/data/persistence/documents/internal/discardDocument.js.map +1 -0
- package/data/persistence/documents/internal/discoveredDocumentPlacement.js +30 -0
- package/data/persistence/documents/internal/discoveredDocumentPlacement.js.map +1 -0
- package/data/persistence/documents/internal/documentDeletionPersistence.js +152 -0
- package/data/persistence/documents/internal/documentDeletionPersistence.js.map +1 -0
- package/data/persistence/documents/internal/documentHistoryStatePersistence.js +10 -0
- package/data/persistence/documents/internal/documentHistoryStatePersistence.js.map +1 -0
- package/data/persistence/documents/internal/documentMutationPersistence.js +228 -0
- package/data/persistence/documents/internal/documentMutationPersistence.js.map +1 -0
- package/data/persistence/documents/internal/documentProjectionRows.js +65 -0
- package/data/persistence/documents/internal/documentProjectionRows.js.map +1 -0
- package/data/persistence/documents/internal/documentPullContinuationPersistence.js +20 -0
- package/data/persistence/documents/internal/documentPullContinuationPersistence.js.map +1 -0
- package/data/persistence/documents/internal/documentRecordIdentity.js +20 -0
- package/data/persistence/documents/internal/documentRecordIdentity.js.map +1 -0
- package/data/persistence/documents/internal/documentRows.js +178 -0
- package/data/persistence/documents/internal/documentRows.js.map +1 -0
- package/data/persistence/documents/internal/documentRuntimeState.js +39 -0
- package/data/persistence/documents/internal/documentRuntimeState.js.map +1 -0
- package/data/persistence/documents/internal/documentStoreStatePersistence.js +17 -0
- package/data/persistence/documents/internal/documentStoreStatePersistence.js.map +1 -0
- package/data/persistence/documents/internal/documentSummaryQueries.js +89 -0
- package/data/persistence/documents/internal/documentSummaryQueries.js.map +1 -0
- package/data/persistence/documents/internal/ensureDocumentsSchema.js +15 -0
- package/data/persistence/documents/internal/ensureDocumentsSchema.js.map +1 -0
- package/data/persistence/documents/internal/hydratedAttachmentPersistence.js +47 -0
- package/data/persistence/documents/internal/hydratedAttachmentPersistence.js.map +1 -0
- package/data/persistence/documents/internal/orphanSideRows.js +204 -0
- package/data/persistence/documents/internal/orphanSideRows.js.map +1 -0
- package/data/persistence/documents/internal/pendingCreateAdoption.js +43 -0
- package/data/persistence/documents/internal/pendingCreateAdoption.js.map +1 -0
- package/data/persistence/documents/internal/rowQueryPersistence.js +95 -0
- package/data/persistence/documents/internal/rowQueryPersistence.js.map +1 -0
- package/data/persistence/documents/internal/syncQueuePersistence.js +197 -0
- package/data/persistence/documents/internal/syncQueuePersistence.js.map +1 -0
- package/data/persistence/documents/types.d.ts +322 -0
- package/data/persistence/documents/types.js +2 -0
- package/data/persistence/documents/types.js.map +1 -0
- package/data/persistence/keyingCheckpointAdvancePersistence.js +200 -0
- package/data/persistence/keyingCheckpointAdvancePersistence.js.map +1 -0
- package/data/persistence/keyingCheckpointEvidence.js +32 -0
- package/data/persistence/keyingCheckpointEvidence.js.map +1 -0
- package/data/persistence/keyingCheckpointPersistence.js +133 -0
- package/data/persistence/keyingCheckpointPersistence.js.map +1 -0
- package/data/persistence/latestTimestamp.js +15 -0
- package/data/persistence/latestTimestamp.js.map +1 -0
- package/data/persistence/locallyAcknowledgedCheckpointPersistence.d.ts +53 -0
- package/data/persistence/locallyAcknowledgedCheckpointPersistence.js +167 -0
- package/data/persistence/locallyAcknowledgedCheckpointPersistence.js.map +1 -0
- package/data/persistence/organizationFounderPersistence.js +59 -0
- package/data/persistence/organizationFounderPersistence.js.map +1 -0
- package/data/persistence/organizationReplacementCheckpointPersistence.js +72 -0
- package/data/persistence/organizationReplacementCheckpointPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationAccessRevocationPersistence.js +45 -0
- package/data/persistence/organizations/organizationAccessRevocationPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationDataUsagePersistence.js +219 -0
- package/data/persistence/organizations/organizationDataUsagePersistence.js.map +1 -0
- package/data/persistence/organizations/organizationGroupNamePersistence.js +33 -0
- package/data/persistence/organizations/organizationGroupNamePersistence.js.map +1 -0
- package/data/persistence/organizations/organizationPresentationDenialPersistence.js +52 -0
- package/data/persistence/organizations/organizationPresentationDenialPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationProfileDocumentPointers.js +32 -0
- package/data/persistence/organizations/organizationProfileDocumentPointers.js.map +1 -0
- package/data/persistence/organizations/organizationProvisioningAttemptPersistence.js +69 -0
- package/data/persistence/organizations/organizationProvisioningAttemptPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelGrantPersistence.js +91 -0
- package/data/persistence/organizations/organizationReadModelGrantPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelInvalidation.d.ts +11 -0
- package/data/persistence/organizations/organizationReadModelInvalidation.js +35 -0
- package/data/persistence/organizations/organizationReadModelInvalidation.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelMemberLoad.js +96 -0
- package/data/persistence/organizations/organizationReadModelMemberLoad.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelMembershipPersistence.js +161 -0
- package/data/persistence/organizations/organizationReadModelMembershipPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelPersistence.js +301 -0
- package/data/persistence/organizations/organizationReadModelPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelPolicyHeadPersistence.js +64 -0
- package/data/persistence/organizations/organizationReadModelPolicyHeadPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelProjection.js +228 -0
- package/data/persistence/organizations/organizationReadModelProjection.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelProtocol.js +14 -0
- package/data/persistence/organizations/organizationReadModelProtocol.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelPurge.js +113 -0
- package/data/persistence/organizations/organizationReadModelPurge.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelResponseAssertions.js +42 -0
- package/data/persistence/organizations/organizationReadModelResponseAssertions.js.map +1 -0
- package/data/persistence/principalGrantRetirementPersistence.d.ts +9 -0
- package/data/persistence/principalGrantRetirementPersistence.js +40 -0
- package/data/persistence/principalGrantRetirementPersistence.js.map +1 -0
- package/data/persistence/principalHistoryEvidencePersistence.js +91 -0
- package/data/persistence/principalHistoryEvidencePersistence.js.map +1 -0
- package/data/persistence/principalHistoryPrefixPersistence.js +52 -0
- package/data/persistence/principalHistoryPrefixPersistence.js.map +1 -0
- package/data/persistence/principalHistoryStagePersistence.js +61 -0
- package/data/persistence/principalHistoryStagePersistence.js.map +1 -0
- package/data/persistence/principalKeyEnvelopeCandidates.js +67 -0
- package/data/persistence/principalKeyEnvelopeCandidates.js.map +1 -0
- package/data/persistence/principalPolicyBundleIntegrity.js +49 -0
- package/data/persistence/principalPolicyBundleIntegrity.js.map +1 -0
- package/data/persistence/principalPolicyCheckpointSelection.js +26 -0
- package/data/persistence/principalPolicyCheckpointSelection.js.map +1 -0
- package/data/persistence/principalPolicyOrganizationPersistence.js +42 -0
- package/data/persistence/principalPolicyOrganizationPersistence.js.map +1 -0
- package/data/persistence/principalPolicyPersistence.js +279 -0
- package/data/persistence/principalPolicyPersistence.js.map +1 -0
- package/data/persistence/principalPolicyReferenceCheckpoint.js +27 -0
- package/data/persistence/principalPolicyReferenceCheckpoint.js.map +1 -0
- package/data/persistence/principalPolicyReferenceIndexPersistence.js +52 -0
- package/data/persistence/principalPolicyReferenceIndexPersistence.js.map +1 -0
- package/data/persistence/principalPolicyReferencePersistence.js +215 -0
- package/data/persistence/principalPolicyReferencePersistence.js.map +1 -0
- package/data/persistence/securityIncidentPersistence.js +156 -0
- package/data/persistence/securityIncidentPersistence.js.map +1 -0
- package/data/persistence/storedPrincipalPolicyBundle.js +17 -0
- package/data/persistence/storedPrincipalPolicyBundle.js.map +1 -0
- package/data/persistence/trustedUserIdentityPinPersistence.js +252 -0
- package/data/persistence/trustedUserIdentityPinPersistence.js.map +1 -0
- package/data/persistence/trustedUserIdentityPinTransaction.js +51 -0
- package/data/persistence/trustedUserIdentityPinTransaction.js.map +1 -0
- package/data/persistence/verifiedPrincipalPolicyBundle.js +77 -0
- package/data/persistence/verifiedPrincipalPolicyBundle.js.map +1 -0
- package/data/persistence/verifiedPrincipalPolicyRetentionPersistence.js +18 -0
- package/data/persistence/verifiedPrincipalPolicyRetentionPersistence.js.map +1 -0
- package/data/principalPolicyStates.js +24 -0
- package/data/principalPolicyStates.js.map +1 -0
- package/data/principals/organizationAuthorityDescriptor.d.ts +22 -0
- package/data/principals/organizationAuthorityDescriptor.js +138 -0
- package/data/principals/organizationAuthorityDescriptor.js.map +1 -0
- package/data/principals/organizationGroupRoles.js +27 -0
- package/data/principals/organizationGroupRoles.js.map +1 -0
- package/data/principals/principalHistoryPrefixProtection.js +29 -0
- package/data/principals/principalHistoryPrefixProtection.js.map +1 -0
- package/data/principals/principalHistoryProtection.d.ts +10 -0
- package/data/principals/principalHistoryProtection.js +14 -0
- package/data/principals/principalHistoryProtection.js.map +1 -0
- package/data/principals/principalHistoryStageProtection.js +67 -0
- package/data/principals/principalHistoryStageProtection.js.map +1 -0
- package/data/principals/principalKeyValidation.js +19 -0
- package/data/principals/principalKeyValidation.js.map +1 -0
- package/data/principals/principalPolicyAdminSigners.js +81 -0
- package/data/principals/principalPolicyAdminSigners.js.map +1 -0
- package/data/principals/principalPolicyCrypto.js +73 -0
- package/data/principals/principalPolicyCrypto.js.map +1 -0
- package/data/principals/principalPolicyEvidence.d.ts +4 -0
- package/data/principals/principalPolicyEvidence.js +12 -0
- package/data/principals/principalPolicyEvidence.js.map +1 -0
- package/data/recordReaders.d.ts +17 -0
- package/data/recordReaders.js +76 -0
- package/data/recordReaders.js.map +1 -0
- package/data/securityIncidents.d.ts +26 -0
- package/data/securityIncidents.js +2 -0
- package/data/securityIncidents.js.map +1 -0
- package/data/sqlite/containerDocumentTombstoneHoldSchema.d.ts +142 -0
- package/data/sqlite/containerDocumentTombstoneHoldSchema.js +35 -0
- package/data/sqlite/containerDocumentTombstoneHoldSchema.js.map +1 -0
- package/data/sqlite/containerSchema.d.ts +1289 -0
- package/data/sqlite/containerSchema.js +112 -0
- package/data/sqlite/containerSchema.js.map +1 -0
- package/data/sqlite/documentAttachmentSchema.d.ts +513 -0
- package/data/sqlite/documentAttachmentSchema.js +94 -0
- package/data/sqlite/documentAttachmentSchema.js.map +1 -0
- package/data/sqlite/documentDiscoveryEvidenceSchema.js +28 -0
- package/data/sqlite/documentDiscoveryEvidenceSchema.js.map +1 -0
- package/data/sqlite/documentHistoryPersistence.d.ts +80 -0
- package/data/sqlite/documentHistoryPersistence.js +281 -0
- package/data/sqlite/documentHistoryPersistence.js.map +1 -0
- package/data/sqlite/documentOrphanBlobReclaims.js +6 -0
- package/data/sqlite/documentOrphanBlobReclaims.js.map +1 -0
- package/data/sqlite/documentPendingUpdatePersistence.d.ts +56 -0
- package/data/sqlite/documentPendingUpdatePersistence.js +169 -0
- package/data/sqlite/documentPendingUpdatePersistence.js.map +1 -0
- package/data/sqlite/documentPersistence.d.ts +22 -0
- package/data/sqlite/documentPersistence.js +35 -0
- package/data/sqlite/documentPersistence.js.map +1 -0
- package/data/sqlite/documentPersistenceTypes.d.ts +79 -0
- package/data/sqlite/documentPersistenceTypes.js +2 -0
- package/data/sqlite/documentPersistenceTypes.js.map +1 -0
- package/data/sqlite/documentPlacementIntentSchema.d.ts +327 -0
- package/data/sqlite/documentPlacementIntentSchema.js +60 -0
- package/data/sqlite/documentPlacementIntentSchema.js.map +1 -0
- package/data/sqlite/documentRecordPersistence.d.ts +275 -0
- package/data/sqlite/documentRecordPersistence.js +102 -0
- package/data/sqlite/documentRecordPersistence.js.map +1 -0
- package/data/sqlite/documentSyncFailurePersistence.d.ts +29 -0
- package/data/sqlite/documentSyncFailurePersistence.js +91 -0
- package/data/sqlite/documentSyncFailurePersistence.js.map +1 -0
- package/data/sqlite/organizationDataUsageSchema.js +40 -0
- package/data/sqlite/organizationDataUsageSchema.js.map +1 -0
- package/data/sqlite/organizationFounderSchema.js +9 -0
- package/data/sqlite/organizationFounderSchema.js.map +1 -0
- package/data/sqlite/organizationProvisioningAttemptSchema.js +23 -0
- package/data/sqlite/organizationProvisioningAttemptSchema.js.map +1 -0
- package/data/sqlite/organizationReadModelSchema.js +133 -0
- package/data/sqlite/organizationReadModelSchema.js.map +1 -0
- package/data/sqlite/organizationReadModelTableRegistry.d.ts +1479 -0
- package/data/sqlite/organizationReadModelTableRegistry.js +28 -0
- package/data/sqlite/organizationReadModelTableRegistry.js.map +1 -0
- package/data/sqlite/principalGrantRetirementSchema.js +12 -0
- package/data/sqlite/principalGrantRetirementSchema.js.map +1 -0
- package/data/sqlite/principalHistoryEvidenceSchema.js +46 -0
- package/data/sqlite/principalHistoryEvidenceSchema.js.map +1 -0
- package/data/sqlite/principalHistoryStageSchema.js +17 -0
- package/data/sqlite/principalHistoryStageSchema.js.map +1 -0
- package/data/sqlite/principalKeyFingerprintJson.js +9 -0
- package/data/sqlite/principalKeyFingerprintJson.js.map +1 -0
- package/data/sqlite/principalPolicySchema.d.ts +716 -0
- package/data/sqlite/principalPolicySchema.js +72 -0
- package/data/sqlite/principalPolicySchema.js.map +1 -0
- package/data/sqlite/schema.d.ts +9024 -0
- package/data/sqlite/schema.js +635 -0
- package/data/sqlite/schema.js.map +1 -0
- package/data/sqlite/securityIncidentSchema.d.ts +224 -0
- package/data/sqlite/securityIncidentSchema.js +28 -0
- package/data/sqlite/securityIncidentSchema.js.map +1 -0
- package/data/sqlite/sqlExec.d.ts +39 -0
- package/data/sqlite/sqlExec.js +118 -0
- package/data/sqlite/sqlExec.js.map +1 -0
- package/data/sqlite/sqlSchema.d.ts +4 -0
- package/data/sqlite/sqlSchema.js +3 -0
- package/data/sqlite/sqlSchema.js.map +1 -0
- package/data/sqlite/sqlTableSchema.d.ts +19 -0
- package/data/sqlite/sqlTableSchema.js +138 -0
- package/data/sqlite/sqlTableSchema.js.map +1 -0
- package/data/sqlite/sqlitePersistenceRuntime.d.ts +34 -0
- package/data/sqlite/sqlitePersistenceRuntime.js +204 -0
- package/data/sqlite/sqlitePersistenceRuntime.js.map +1 -0
- package/data/sqlite/storagePersistence.d.ts +68 -0
- package/data/sqlite/storagePersistence.js +81 -0
- package/data/sqlite/storagePersistence.js.map +1 -0
- package/data/stableUuid.js +39 -0
- package/data/stableUuid.js.map +1 -0
- package/data/sync/coordinatorPump.d.ts +10 -0
- package/data/sync/coordinatorPump.js +305 -0
- package/data/sync/coordinatorPump.js.map +1 -0
- package/data/sync/coordinatorState.d.ts +43 -0
- package/data/sync/coordinatorState.js +72 -0
- package/data/sync/coordinatorState.js.map +1 -0
- package/data/sync/databaseUnavailable.d.ts +4 -0
- package/data/sync/databaseUnavailable.js +47 -0
- package/data/sync/databaseUnavailable.js.map +1 -0
- package/data/sync/documentSyncOutgoingBatch.d.ts +17 -0
- package/data/sync/documentSyncOutgoingBatch.js +93 -0
- package/data/sync/documentSyncOutgoingBatch.js.map +1 -0
- package/data/sync/outgoingUpdateSettlement.d.ts +54 -0
- package/data/sync/outgoingUpdateSettlement.js +60 -0
- package/data/sync/outgoingUpdateSettlement.js.map +1 -0
- package/data/sync/sequence.d.ts +8 -0
- package/data/sync/sequence.js +9 -0
- package/data/sync/sequence.js.map +1 -0
- package/data/sync/syncCoordinator.d.ts +32 -0
- package/data/sync/syncCoordinator.js +160 -0
- package/data/sync/syncCoordinator.js.map +1 -0
- package/data/sync/syncLaneConfig.d.ts +16 -0
- package/data/sync/syncLaneConfig.js +2 -0
- package/data/sync/syncLaneConfig.js.map +1 -0
- package/data/sync/syncPrerequisites.d.ts +12 -0
- package/data/sync/syncPrerequisites.js +8 -0
- package/data/sync/syncPrerequisites.js.map +1 -0
- package/data/sync/syncTelemetry.d.ts +86 -0
- package/data/sync/syncTelemetry.js +69 -0
- package/data/sync/syncTelemetry.js.map +1 -0
- package/data/sync/uploadLane.d.ts +18 -0
- package/data/sync/uploadLane.js +116 -0
- package/data/sync/uploadLane.js.map +1 -0
- package/data/trustedUserIdentity/apiAdapter.d.ts +12 -0
- package/data/trustedUserIdentity/apiAdapter.js +33 -0
- package/data/trustedUserIdentity/apiAdapter.js.map +1 -0
- package/data/trustedUserIdentity/index.d.ts +6 -0
- package/data/trustedUserIdentity/index.js +6 -0
- package/data/trustedUserIdentity/index.js.map +1 -0
- package/data/trustedUserIdentity/requiredResolver.d.ts +3 -0
- package/data/trustedUserIdentity/requiredResolver.js +27 -0
- package/data/trustedUserIdentity/requiredResolver.js.map +1 -0
- package/data/trustedUserIdentity/service.d.ts +2 -0
- package/data/trustedUserIdentity/service.js +125 -0
- package/data/trustedUserIdentity/service.js.map +1 -0
- package/data/trustedUserIdentity/testFixtures.d.ts +15 -0
- package/data/trustedUserIdentity/testFixtures.js +33 -0
- package/data/trustedUserIdentity/testFixtures.js.map +1 -0
- package/data/trustedUserIdentity/trustDomain.d.ts +13 -0
- package/data/trustedUserIdentity/trustDomain.js +66 -0
- package/data/trustedUserIdentity/trustDomain.js.map +1 -0
- package/data/trustedUserIdentity/types.d.ts +69 -0
- package/data/trustedUserIdentity/types.js +18 -0
- package/data/trustedUserIdentity/types.js.map +1 -0
- package/data/trustedUserIdentity/validation.d.ts +16 -0
- package/data/trustedUserIdentity/validation.js +109 -0
- package/data/trustedUserIdentity/validation.js.map +1 -0
- package/documents.d.ts +7 -0
- package/documents.js +7 -0
- package/documents.js.map +1 -0
- package/index.d.ts +26 -0
- package/index.js +14 -0
- package/index.js.map +1 -0
- package/internal/api-client/ApiCache.js +112 -0
- package/internal/api-client/ApiCache.js.map +1 -0
- package/internal/api-client/ApiClient.d.ts +3968 -0
- package/internal/api-client/ApiClient.js +844 -0
- package/internal/api-client/ApiClient.js.map +1 -0
- package/internal/api-client/apiRequestRuntime.d.ts +48 -0
- package/internal/api-client/apiRequestRuntime.js +305 -0
- package/internal/api-client/apiRequestRuntime.js.map +1 -0
- package/internal/api-client/binaryRequestOperationTransport.js +41 -0
- package/internal/api-client/binaryRequestOperationTransport.js.map +1 -0
- package/internal/api-client/binaryResponseOperationTransport.d.ts +22 -0
- package/internal/api-client/binaryResponseOperationTransport.js +42 -0
- package/internal/api-client/binaryResponseOperationTransport.js.map +1 -0
- package/internal/api-client/index.d.ts +5 -0
- package/internal/api-client/index.js +3 -0
- package/internal/api-client/index.js.map +1 -0
- package/internal/api-client/operationResponse.d.ts +39 -0
- package/internal/api-client/operationResponse.js +78 -0
- package/internal/api-client/operationResponse.js.map +1 -0
- package/internal/api-client/operationTransport.d.ts +38 -0
- package/internal/api-client/operationTransport.js +118 -0
- package/internal/api-client/operationTransport.js.map +1 -0
- package/internal/api-client/operationTransportFactory.js +11 -0
- package/internal/api-client/operationTransportFactory.js.map +1 -0
- package/internal/api-client/operationTransportSurface.js +48 -0
- package/internal/api-client/operationTransportSurface.js.map +1 -0
- package/internal/api-client/principalHistoryRequest.js +90 -0
- package/internal/api-client/principalHistoryRequest.js.map +1 -0
- package/internal/api-client/principalHistoryRequestContext.js +67 -0
- package/internal/api-client/principalHistoryRequestContext.js.map +1 -0
- package/internal/api-client/principalPolicyPages.d.ts +20 -0
- package/internal/api-client/principalPolicyPages.js +181 -0
- package/internal/api-client/principalPolicyPages.js.map +1 -0
- package/internal/api-client/principalPolicyRequests.js +68 -0
- package/internal/api-client/principalPolicyRequests.js.map +1 -0
- package/internal/api-client/projectionHistoryTransport.js +107 -0
- package/internal/api-client/projectionHistoryTransport.js.map +1 -0
- package/internal/api-client/requestInternals.js +294 -0
- package/internal/api-client/requestInternals.js.map +1 -0
- package/internal/api-client/responseBodyFailure.js +13 -0
- package/internal/api-client/responseBodyFailure.js.map +1 -0
- package/internal/api-client/routes/auth/session.js +31 -0
- package/internal/api-client/routes/auth/session.js.map +1 -0
- package/internal/api-client/routes/blobs/attachments.js +21 -0
- package/internal/api-client/routes/blobs/attachments.js.map +1 -0
- package/internal/api-client/routes/blobs/get.d.ts +14 -0
- package/internal/api-client/routes/blobs/get.js +46 -0
- package/internal/api-client/routes/blobs/get.js.map +1 -0
- package/internal/api-client/routes/blobs/multipart.js +25 -0
- package/internal/api-client/routes/blobs/multipart.js.map +1 -0
- package/internal/api-client/routes/containers/mutations.js +54 -0
- package/internal/api-client/routes/containers/mutations.js.map +1 -0
- package/internal/api-client/routes/containers/reads.d.ts +22 -0
- package/internal/api-client/routes/containers/reads.js +31 -0
- package/internal/api-client/routes/containers/reads.js.map +1 -0
- package/internal/api-client/routes/documents/attachments.js +11 -0
- package/internal/api-client/routes/documents/attachments.js.map +1 -0
- package/internal/api-client/routes/documents/attributionRequests.js +72 -0
- package/internal/api-client/routes/documents/attributionRequests.js.map +1 -0
- package/internal/api-client/routes/documents/mutations.d.ts +32 -0
- package/internal/api-client/routes/documents/mutations.js +36 -0
- package/internal/api-client/routes/documents/mutations.js.map +1 -0
- package/internal/api-client/routes/organizations/billing.js +49 -0
- package/internal/api-client/routes/organizations/billing.js.map +1 -0
- package/internal/api-client/routes/organizations/createGroup.js +12 -0
- package/internal/api-client/routes/organizations/createGroup.js.map +1 -0
- package/internal/api-client/routes/organizations/dataUsage.js +11 -0
- package/internal/api-client/routes/organizations/dataUsage.js.map +1 -0
- package/internal/api-client/routes/organizations/deleteGroup.js +12 -0
- package/internal/api-client/routes/organizations/deleteGroup.js.map +1 -0
- package/internal/api-client/routes/organizations/groupMembers.js +12 -0
- package/internal/api-client/routes/organizations/groupMembers.js.map +1 -0
- package/internal/api-client/routes/organizations/profile.js +12 -0
- package/internal/api-client/routes/organizations/profile.js.map +1 -0
- package/internal/api-client/routes/organizations/roster.js +13 -0
- package/internal/api-client/routes/organizations/roster.js.map +1 -0
- package/internal/api-client/routes/organizations/stripeCheckout.js +42 -0
- package/internal/api-client/routes/organizations/stripeCheckout.js.map +1 -0
- package/internal/api-client/routes/path.js +4 -0
- package/internal/api-client/routes/path.js.map +1 -0
- package/internal/api-client/routes/principals/policy.js +34 -0
- package/internal/api-client/routes/principals/policy.js.map +1 -0
- package/internal/api-client/routes/writerProjections.js +56 -0
- package/internal/api-client/routes/writerProjections.js.map +1 -0
- package/internal/api-client/sessionRefresh.js +39 -0
- package/internal/api-client/sessionRefresh.js.map +1 -0
- package/internal/api-client/types.d.ts +61 -0
- package/internal/api-client/types.js +2 -0
- package/internal/api-client/types.js.map +1 -0
- package/internal/api-client/verifiedProjectionHistory.d.ts +4 -0
- package/internal/api-client/verifiedProjectionHistory.js +12 -0
- package/internal/api-client/verifiedProjectionHistory.js.map +1 -0
- package/internal/api-client/writerProjectionCitations.js +95 -0
- package/internal/api-client/writerProjectionCitations.js.map +1 -0
- package/internal/api-client/writerProjectionPrime.js +25 -0
- package/internal/api-client/writerProjectionPrime.js.map +1 -0
- package/internal/crypto/blobEnvelopeError.d.ts +8 -0
- package/internal/crypto/blobEnvelopeError.js +12 -0
- package/internal/crypto/blobEnvelopeError.js.map +1 -0
- package/internal/crypto/blobEnvelopeFields.js +34 -0
- package/internal/crypto/blobEnvelopeFields.js.map +1 -0
- package/internal/crypto/blobEnvelopeReader.d.ts +30 -0
- package/internal/crypto/blobEnvelopeReader.js +182 -0
- package/internal/crypto/blobEnvelopeReader.js.map +1 -0
- package/internal/crypto/blobEnvelopeV2.d.ts +38 -0
- package/internal/crypto/blobEnvelopeV2.js +100 -0
- package/internal/crypto/blobEnvelopeV2.js.map +1 -0
- package/internal/crypto/canonicalOrdering.d.ts +7 -0
- package/internal/crypto/canonicalOrdering.js +10 -0
- package/internal/crypto/canonicalOrdering.js.map +1 -0
- package/internal/crypto/challenge.d.ts +16 -0
- package/internal/crypto/challenge.js +53 -0
- package/internal/crypto/challenge.js.map +1 -0
- package/internal/crypto/contentKeyEnvelope.d.ts +48 -0
- package/internal/crypto/contentKeyEnvelope.js +96 -0
- package/internal/crypto/contentKeyEnvelope.js.map +1 -0
- package/internal/crypto/encapsulation/decryptAsRecipient.d.ts +6 -0
- package/internal/crypto/encapsulation/decryptAsRecipient.js +44 -0
- package/internal/crypto/encapsulation/decryptAsRecipient.js.map +1 -0
- package/internal/crypto/encapsulation/encryptForRecipients.d.ts +6 -0
- package/internal/crypto/encapsulation/encryptForRecipients.js +15 -0
- package/internal/crypto/encapsulation/encryptForRecipients.js.map +1 -0
- package/internal/crypto/encapsulation/generateKeyPair.d.ts +10 -0
- package/internal/crypto/encapsulation/generateKeyPair.js +17 -0
- package/internal/crypto/encapsulation/generateKeyPair.js.map +1 -0
- package/internal/crypto/encapsulation/types.d.ts +10 -0
- package/internal/crypto/encapsulation/types.js +2 -0
- package/internal/crypto/encapsulation/types.js.map +1 -0
- package/internal/crypto/encapsulation/unwrapDek.d.ts +6 -0
- package/internal/crypto/encapsulation/unwrapDek.js +37 -0
- package/internal/crypto/encapsulation/unwrapDek.js.map +1 -0
- package/internal/crypto/encapsulation/wrapDek.d.ts +7 -0
- package/internal/crypto/encapsulation/wrapDek.js +38 -0
- package/internal/crypto/encapsulation/wrapDek.js.map +1 -0
- package/internal/crypto/fingerprint.d.ts +1 -0
- package/internal/crypto/fingerprint.js +5 -0
- package/internal/crypto/fingerprint.js.map +1 -0
- package/internal/crypto/groupMetadata.d.ts +31 -0
- package/internal/crypto/groupMetadata.js +100 -0
- package/internal/crypto/groupMetadata.js.map +1 -0
- package/internal/crypto/hex.d.ts +2 -0
- package/internal/crypto/hex.js +14 -0
- package/internal/crypto/hex.js.map +1 -0
- package/internal/crypto/identitySeedPhrase.d.ts +16 -0
- package/internal/crypto/identitySeedPhrase.js +71 -0
- package/internal/crypto/identitySeedPhrase.js.map +1 -0
- package/internal/crypto/incrementalSha256.d.ts +6 -0
- package/internal/crypto/incrementalSha256.js +22 -0
- package/internal/crypto/incrementalSha256.js.map +1 -0
- package/internal/crypto/index.d.ts +38 -0
- package/internal/crypto/index.js +29 -0
- package/internal/crypto/index.js.map +1 -0
- package/internal/crypto/keying/accessEvent.d.ts +11 -0
- package/internal/crypto/keying/accessEvent.js +273 -0
- package/internal/crypto/keying/accessEvent.js.map +1 -0
- package/internal/crypto/keying/accessManifestSnapshot.d.ts +14 -0
- package/internal/crypto/keying/accessManifestSnapshot.js +52 -0
- package/internal/crypto/keying/accessManifestSnapshot.js.map +1 -0
- package/internal/crypto/keying/accessManifestSnapshotTypes.d.ts +11 -0
- package/internal/crypto/keying/accessManifestSnapshotTypes.js +8 -0
- package/internal/crypto/keying/accessManifestSnapshotTypes.js.map +1 -0
- package/internal/crypto/keying/accessManifestVerificationRevision.d.ts +8 -0
- package/internal/crypto/keying/accessManifestVerificationRevision.js +9 -0
- package/internal/crypto/keying/accessManifestVerificationRevision.js.map +1 -0
- package/internal/crypto/keying/canonical.d.ts +12 -0
- package/internal/crypto/keying/canonical.js +126 -0
- package/internal/crypto/keying/canonical.js.map +1 -0
- package/internal/crypto/keying/checkpoints.d.ts +16 -0
- package/internal/crypto/keying/checkpoints.js +149 -0
- package/internal/crypto/keying/checkpoints.js.map +1 -0
- package/internal/crypto/keying/containerAccess.d.ts +6 -0
- package/internal/crypto/keying/containerAccess.js +58 -0
- package/internal/crypto/keying/containerAccess.js.map +1 -0
- package/internal/crypto/keying/containerAccessBodies.d.ts +2 -0
- package/internal/crypto/keying/containerAccessBodies.js +160 -0
- package/internal/crypto/keying/containerAccessBodies.js.map +1 -0
- package/internal/crypto/keying/containerAccessReciteBody.d.ts +3 -0
- package/internal/crypto/keying/containerAccessReciteBody.js +19 -0
- package/internal/crypto/keying/containerAccessReciteBody.js.map +1 -0
- package/internal/crypto/keying/containerAccessRekeyBody.js +35 -0
- package/internal/crypto/keying/containerAccessRekeyBody.js.map +1 -0
- package/internal/crypto/keying/containerAccessState.d.ts +16 -0
- package/internal/crypto/keying/containerAccessState.js +166 -0
- package/internal/crypto/keying/containerAccessState.js.map +1 -0
- package/internal/crypto/keying/containerAccessStructure.js +44 -0
- package/internal/crypto/keying/containerAccessStructure.js.map +1 -0
- package/internal/crypto/keying/containerAccessTransitionBase.js +111 -0
- package/internal/crypto/keying/containerAccessTransitionBase.js.map +1 -0
- package/internal/crypto/keying/containerAccessTransitions.js +182 -0
- package/internal/crypto/keying/containerAccessTransitions.js.map +1 -0
- package/internal/crypto/keying/containerGrantPrincipalHead.js +20 -0
- package/internal/crypto/keying/containerGrantPrincipalHead.js.map +1 -0
- package/internal/crypto/keying/containerKek/contentKeyTargets.d.ts +6 -0
- package/internal/crypto/keying/containerKek/contentKeyTargets.js +294 -0
- package/internal/crypto/keying/containerKek/contentKeyTargets.js.map +1 -0
- package/internal/crypto/keying/containerKek.d.ts +8 -0
- package/internal/crypto/keying/containerKek.js +326 -0
- package/internal/crypto/keying/containerKek.js.map +1 -0
- package/internal/crypto/keying/containerKekCacheToken.js +31 -0
- package/internal/crypto/keying/containerKekCacheToken.js.map +1 -0
- package/internal/crypto/keying/containerKekEpochBinding.js +69 -0
- package/internal/crypto/keying/containerKekEpochBinding.js.map +1 -0
- package/internal/crypto/keying/containerKekKeyring.d.ts +39 -0
- package/internal/crypto/keying/containerKekKeyring.js +236 -0
- package/internal/crypto/keying/containerKekKeyring.js.map +1 -0
- package/internal/crypto/keying/containerKekMaterial.d.ts +13 -0
- package/internal/crypto/keying/containerKekMaterial.js +71 -0
- package/internal/crypto/keying/containerKekMaterial.js.map +1 -0
- package/internal/crypto/keying/containerKekParent.js +86 -0
- package/internal/crypto/keying/containerKekParent.js.map +1 -0
- package/internal/crypto/keying/containerKekPredecessor.d.ts +14 -0
- package/internal/crypto/keying/containerKekPredecessor.js +135 -0
- package/internal/crypto/keying/containerKekPredecessor.js.map +1 -0
- package/internal/crypto/keying/containerKekWrapping.d.ts +12 -0
- package/internal/crypto/keying/containerKekWrapping.js +125 -0
- package/internal/crypto/keying/containerKekWrapping.js.map +1 -0
- package/internal/crypto/keying/containerParentAuthority.d.ts +16 -0
- package/internal/crypto/keying/containerParentAuthority.js +53 -0
- package/internal/crypto/keying/containerParentAuthority.js.map +1 -0
- package/internal/crypto/keying/containerPathAccess.d.ts +45 -0
- package/internal/crypto/keying/containerPathAccess.js +111 -0
- package/internal/crypto/keying/containerPathAccess.js.map +1 -0
- package/internal/crypto/keying/containerPrincipalReferences.js +34 -0
- package/internal/crypto/keying/containerPrincipalReferences.js.map +1 -0
- package/internal/crypto/keying/containerSystemTopology.js +18 -0
- package/internal/crypto/keying/containerSystemTopology.js.map +1 -0
- package/internal/crypto/keying/containerUserRecipientKey.js +15 -0
- package/internal/crypto/keying/containerUserRecipientKey.js.map +1 -0
- package/internal/crypto/keying/documentAccess.d.ts +14 -0
- package/internal/crypto/keying/documentAccess.js +447 -0
- package/internal/crypto/keying/documentAccess.js.map +1 -0
- package/internal/crypto/keying/documentAccessAuthorization.d.ts +33 -0
- package/internal/crypto/keying/documentAccessAuthorization.js +89 -0
- package/internal/crypto/keying/documentAccessAuthorization.js.map +1 -0
- package/internal/crypto/keying/documentAccessBody.d.ts +2 -0
- package/internal/crypto/keying/documentAccessBody.js +35 -0
- package/internal/crypto/keying/documentAccessBody.js.map +1 -0
- package/internal/crypto/keying/documentBlobRewraps.js +82 -0
- package/internal/crypto/keying/documentBlobRewraps.js.map +1 -0
- package/internal/crypto/keying/documentCitationScope.js +55 -0
- package/internal/crypto/keying/documentCitationScope.js.map +1 -0
- package/internal/crypto/keying/documentContentWriteAuthority.d.ts +18 -0
- package/internal/crypto/keying/documentContentWriteAuthority.js +81 -0
- package/internal/crypto/keying/documentContentWriteAuthority.js.map +1 -0
- package/internal/crypto/keying/documentPurge.d.ts +17 -0
- package/internal/crypto/keying/documentPurge.js +124 -0
- package/internal/crypto/keying/documentPurge.js.map +1 -0
- package/internal/crypto/keying/index.d.ts +35 -0
- package/internal/crypto/keying/index.js +31 -0
- package/internal/crypto/keying/index.js.map +1 -0
- package/internal/crypto/keying/keyingHashDomains.d.ts +1 -0
- package/internal/crypto/keying/keyingHashDomains.js +2 -0
- package/internal/crypto/keying/keyingHashDomains.js.map +1 -0
- package/internal/crypto/keying/principalPolicy.d.ts +8 -0
- package/internal/crypto/keying/principalPolicy.js +189 -0
- package/internal/crypto/keying/principalPolicy.js.map +1 -0
- package/internal/crypto/keying/principalPolicyBundleHistory.d.ts +7 -0
- package/internal/crypto/keying/principalPolicyBundleHistory.js +75 -0
- package/internal/crypto/keying/principalPolicyBundleHistory.js.map +1 -0
- package/internal/crypto/keying/principalPolicyChainEntry.js +83 -0
- package/internal/crypto/keying/principalPolicyChainEntry.js.map +1 -0
- package/internal/crypto/keying/principalPolicyCommitments.js +37 -0
- package/internal/crypto/keying/principalPolicyCommitments.js.map +1 -0
- package/internal/crypto/keying/principalPolicyCurrent.d.ts +12 -0
- package/internal/crypto/keying/principalPolicyCurrent.js +57 -0
- package/internal/crypto/keying/principalPolicyCurrent.js.map +1 -0
- package/internal/crypto/keying/principalPolicyExternalAuthority.js +66 -0
- package/internal/crypto/keying/principalPolicyExternalAuthority.js.map +1 -0
- package/internal/crypto/keying/principalPolicyExternalAuthorityTypes.d.ts +15 -0
- package/internal/crypto/keying/principalPolicyExternalAuthorityTypes.js +2 -0
- package/internal/crypto/keying/principalPolicyExternalAuthorityTypes.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistory.d.ts +12 -0
- package/internal/crypto/keying/principalPolicyHistory.js +158 -0
- package/internal/crypto/keying/principalPolicyHistory.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryChecks.js +60 -0
- package/internal/crypto/keying/principalPolicyHistoryChecks.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryIndex.d.ts +30 -0
- package/internal/crypto/keying/principalPolicyHistoryIndex.js +112 -0
- package/internal/crypto/keying/principalPolicyHistoryIndex.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryPage.d.ts +17 -0
- package/internal/crypto/keying/principalPolicyHistoryPage.js +87 -0
- package/internal/crypto/keying/principalPolicyHistoryPage.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryProgress.js +90 -0
- package/internal/crypto/keying/principalPolicyHistoryProgress.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryProgressEntry.js +107 -0
- package/internal/crypto/keying/principalPolicyHistoryProgressEntry.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryProgressProtection.js +76 -0
- package/internal/crypto/keying/principalPolicyHistoryProgressProtection.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryReferences.d.ts +20 -0
- package/internal/crypto/keying/principalPolicyHistoryReferences.js +81 -0
- package/internal/crypto/keying/principalPolicyHistoryReferences.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryTypes.d.ts +46 -0
- package/internal/crypto/keying/principalPolicyHistoryTypes.js +21 -0
- package/internal/crypto/keying/principalPolicyHistoryTypes.js.map +1 -0
- package/internal/crypto/keying/principalPolicyMemberEnvelopes.js +27 -0
- package/internal/crypto/keying/principalPolicyMemberEnvelopes.js.map +1 -0
- package/internal/crypto/keying/principalPolicyPayload.js +20 -0
- package/internal/crypto/keying/principalPolicyPayload.js.map +1 -0
- package/internal/crypto/keying/principalPolicyReference.js +33 -0
- package/internal/crypto/keying/principalPolicyReference.js.map +1 -0
- package/internal/crypto/keying/principalPolicySelection.d.ts +11 -0
- package/internal/crypto/keying/principalPolicySelection.js +32 -0
- package/internal/crypto/keying/principalPolicySelection.js.map +1 -0
- package/internal/crypto/keying/principalPolicySignatures.js +36 -0
- package/internal/crypto/keying/principalPolicySignatures.js.map +1 -0
- package/internal/crypto/keying/principalPolicySignerKeys.js +30 -0
- package/internal/crypto/keying/principalPolicySignerKeys.js.map +1 -0
- package/internal/crypto/keying/principalPolicyTransition.d.ts +21 -0
- package/internal/crypto/keying/principalPolicyTransition.js +103 -0
- package/internal/crypto/keying/principalPolicyTransition.js.map +1 -0
- package/internal/crypto/keying/principalPolicyTypes.d.ts +126 -0
- package/internal/crypto/keying/principalPolicyTypes.js +23 -0
- package/internal/crypto/keying/principalPolicyTypes.js.map +1 -0
- package/internal/crypto/keying/shared.js +252 -0
- package/internal/crypto/keying/shared.js.map +1 -0
- package/internal/crypto/keying/transparency.d.ts +8 -0
- package/internal/crypto/keying/transparency.js +266 -0
- package/internal/crypto/keying/transparency.js.map +1 -0
- package/internal/crypto/keying/transparencyProofs.d.ts +28 -0
- package/internal/crypto/keying/transparencyProofs.js +215 -0
- package/internal/crypto/keying/transparencyProofs.js.map +1 -0
- package/internal/crypto/keying/transparencyTree.d.ts +14 -0
- package/internal/crypto/keying/transparencyTree.js +137 -0
- package/internal/crypto/keying/transparencyTree.js.map +1 -0
- package/internal/crypto/keying/types.d.ts +669 -0
- package/internal/crypto/keying/types.js +124 -0
- package/internal/crypto/keying/types.js.map +1 -0
- package/internal/crypto/keying/verificationError.d.ts +14 -0
- package/internal/crypto/keying/verificationError.js +28 -0
- package/internal/crypto/keying/verificationError.js.map +1 -0
- package/internal/crypto/keying/writeHeader.d.ts +5 -0
- package/internal/crypto/keying/writeHeader.js +226 -0
- package/internal/crypto/keying/writeHeader.js.map +1 -0
- package/internal/crypto/keying/writeHeaderAuthorization.js +81 -0
- package/internal/crypto/keying/writeHeaderAuthorization.js.map +1 -0
- package/internal/crypto/keying/writeHeaderCitations.js +21 -0
- package/internal/crypto/keying/writeHeaderCitations.js.map +1 -0
- package/internal/crypto/keying.d.ts +1 -0
- package/internal/crypto/keying.js +2 -0
- package/internal/crypto/keying.js.map +1 -0
- package/internal/crypto/organizationReplacement.d.ts +18 -0
- package/internal/crypto/organizationReplacement.js +133 -0
- package/internal/crypto/organizationReplacement.js.map +1 -0
- package/internal/crypto/principalContainerGrants.d.ts +3 -0
- package/internal/crypto/principalContainerGrants.js +39 -0
- package/internal/crypto/principalContainerGrants.js.map +1 -0
- package/internal/crypto/principalMemberEnvelopes.d.ts +7 -0
- package/internal/crypto/principalMemberEnvelopes.js +69 -0
- package/internal/crypto/principalMemberEnvelopes.js.map +1 -0
- package/internal/crypto/principalPolicyValidationError.d.ts +6 -0
- package/internal/crypto/principalPolicyValidationError.js +12 -0
- package/internal/crypto/principalPolicyValidationError.js.map +1 -0
- package/internal/crypto/principalState.d.ts +17 -0
- package/internal/crypto/principalState.js +280 -0
- package/internal/crypto/principalState.js.map +1 -0
- package/internal/crypto/principalStateMembers.js +39 -0
- package/internal/crypto/principalStateMembers.js.map +1 -0
- package/internal/crypto/principalStateTypes.d.ts +93 -0
- package/internal/crypto/principalStateTypes.js +2 -0
- package/internal/crypto/principalStateTypes.js.map +1 -0
- package/internal/crypto/principalStateVerification.d.ts +11 -0
- package/internal/crypto/principalStateVerification.js +47 -0
- package/internal/crypto/principalStateVerification.js.map +1 -0
- package/internal/crypto/projectionHistory.d.ts +14 -0
- package/internal/crypto/projectionHistory.js +90 -0
- package/internal/crypto/projectionHistory.js.map +1 -0
- package/internal/crypto/projectionHistorySlots.d.ts +13 -0
- package/internal/crypto/projectionHistorySlots.js +85 -0
- package/internal/crypto/projectionHistorySlots.js.map +1 -0
- package/internal/crypto/signing/generateKeyPair.d.ts +9 -0
- package/internal/crypto/signing/generateKeyPair.js +17 -0
- package/internal/crypto/signing/generateKeyPair.js.map +1 -0
- package/internal/crypto/signing/sign.d.ts +1 -0
- package/internal/crypto/signing/sign.js +9 -0
- package/internal/crypto/signing/sign.js.map +1 -0
- package/internal/crypto/signing/verifiedHistorySignature.js +37 -0
- package/internal/crypto/signing/verifiedHistorySignature.js.map +1 -0
- package/internal/crypto/signing/verifiedSignatureHistory.js +60 -0
- package/internal/crypto/signing/verifiedSignatureHistory.js.map +1 -0
- package/internal/crypto/signing/verify.d.ts +1 -0
- package/internal/crypto/signing/verify.js +16 -0
- package/internal/crypto/signing/verify.js.map +1 -0
- package/internal/crypto/symmetric.d.ts +11 -0
- package/internal/crypto/symmetric.js +54 -0
- package/internal/crypto/symmetric.js.map +1 -0
- package/internal/encoding/base64.js +16 -0
- package/internal/encoding/base64.js.map +1 -0
- package/internal/encoding/index.js +2 -0
- package/internal/encoding/index.js.map +1 -0
- package/internal/loro/document.d.ts +109 -0
- package/internal/loro/document.js +301 -0
- package/internal/loro/document.js.map +1 -0
- package/internal/loro/historyCanonicalization.js +74 -0
- package/internal/loro/historyCanonicalization.js.map +1 -0
- package/internal/loro/importMetadata.d.ts +8 -0
- package/internal/loro/importMetadata.js +17 -0
- package/internal/loro/importMetadata.js.map +1 -0
- package/internal/loro/index.d.ts +4 -0
- package/internal/loro/index.js +5 -0
- package/internal/loro/index.js.map +1 -0
- package/internal/loro/shared/index.d.ts +1 -0
- package/internal/loro/shared/index.js +2 -0
- package/internal/loro/shared/index.js.map +1 -0
- package/internal/loro/shared/validators.d.ts +12 -0
- package/internal/loro/shared/validators.js +2 -0
- package/internal/loro/shared/validators.js.map +1 -0
- package/internal/loro/updateIdentity.d.ts +8 -0
- package/internal/loro/updateIdentity.js +89 -0
- package/internal/loro/updateIdentity.js.map +1 -0
- package/internal/sqlite-worker/client.d.ts +27 -0
- package/internal/sqlite-worker/client.js +105 -0
- package/internal/sqlite-worker/client.js.map +1 -0
- package/internal/sqlite-worker/crossTabLocalClient.js +58 -0
- package/internal/sqlite-worker/crossTabLocalClient.js.map +1 -0
- package/internal/sqlite-worker/crossTabLocks.js +118 -0
- package/internal/sqlite-worker/crossTabLocks.js.map +1 -0
- package/internal/sqlite-worker/crossTabOwner.js +210 -0
- package/internal/sqlite-worker/crossTabOwner.js.map +1 -0
- package/internal/sqlite-worker/crossTabOwnership.js +53 -0
- package/internal/sqlite-worker/crossTabOwnership.js.map +1 -0
- package/internal/sqlite-worker/crossTabProtocol.js +53 -0
- package/internal/sqlite-worker/crossTabProtocol.js.map +1 -0
- package/internal/sqlite-worker/crossTabRuntime.js +387 -0
- package/internal/sqlite-worker/crossTabRuntime.js.map +1 -0
- package/internal/sqlite-worker/purgeOpfsDatabase.d.ts +13 -0
- package/internal/sqlite-worker/purgeOpfsDatabase.js +53 -0
- package/internal/sqlite-worker/purgeOpfsDatabase.js.map +1 -0
- package/internal/sqlite-worker/renewedClientTransport.d.ts +19 -0
- package/internal/sqlite-worker/renewedClientTransport.js +102 -0
- package/internal/sqlite-worker/renewedClientTransport.js.map +1 -0
- package/internal/sqlite-worker/runtime.d.ts +96 -0
- package/internal/sqlite-worker/runtime.js +280 -0
- package/internal/sqlite-worker/runtime.js.map +1 -0
- package/internal/sqlite-worker/sahPoolStorage.js +37 -0
- package/internal/sqlite-worker/sahPoolStorage.js.map +1 -0
- package/internal/sqlite-worker/types.d.ts +94 -0
- package/internal/sqlite-worker/types.js +4 -0
- package/internal/sqlite-worker/types.js.map +1 -0
- package/internal/sqlite-worker/workerCrash.js +40 -0
- package/internal/sqlite-worker/workerCrash.js.map +1 -0
- package/internal/validators/billing.d.ts +42 -0
- package/internal/validators/billing.js +86 -0
- package/internal/validators/billing.js.map +1 -0
- package/internal/validators/billingWebhookRefinements.js +9 -0
- package/internal/validators/billingWebhookRefinements.js.map +1 -0
- package/internal/validators/containerReadRefinements.js +32 -0
- package/internal/validators/containerReadRefinements.js.map +1 -0
- package/internal/validators/containerReadSchemas.js +4 -0
- package/internal/validators/containerReadSchemas.js.map +1 -0
- package/internal/validators/containerSystemSlot.d.ts +12 -0
- package/internal/validators/containerSystemSlot.js +44 -0
- package/internal/validators/containerSystemSlot.js.map +1 -0
- package/internal/validators/documentAttributionRefinements.js +8 -0
- package/internal/validators/documentAttributionRefinements.js.map +1 -0
- package/internal/validators/documentSyncCheckpoint.js +17 -0
- package/internal/validators/documentSyncCheckpoint.js.map +1 -0
- package/internal/validators/documentSyncRefinements.js +69 -0
- package/internal/validators/documentSyncRefinements.js.map +1 -0
- package/internal/validators/documentSyncRequestMode.js +9 -0
- package/internal/validators/documentSyncRequestMode.js.map +1 -0
- package/internal/validators/isPlainObject.js +8 -0
- package/internal/validators/isPlainObject.js.map +1 -0
- package/internal/validators/jsonSchema.js +295 -0
- package/internal/validators/jsonSchema.js.map +1 -0
- package/internal/validators/jsonSchemaEncoding.js +88 -0
- package/internal/validators/jsonSchemaEncoding.js.map +1 -0
- package/internal/validators/operation/apiVersion.d.ts +9 -0
- package/internal/validators/operation/apiVersion.js +16 -0
- package/internal/validators/operation/apiVersion.js.map +1 -0
- package/internal/validators/operation/attachments.d.ts +1313 -0
- package/internal/validators/operation/attachments.js +83 -0
- package/internal/validators/operation/attachments.js.map +1 -0
- package/internal/validators/operation/auth.d.ts +8306 -0
- package/internal/validators/operation/auth.js +164 -0
- package/internal/validators/operation/auth.js.map +1 -0
- package/internal/validators/operation/billingWebhooks.d.ts +379 -0
- package/internal/validators/operation/billingWebhooks.js +66 -0
- package/internal/validators/operation/billingWebhooks.js.map +1 -0
- package/internal/validators/operation/blobBytes.d.ts +377 -0
- package/internal/validators/operation/blobBytes.js +122 -0
- package/internal/validators/operation/blobBytes.js.map +1 -0
- package/internal/validators/operation/containerMutations.d.ts +12465 -0
- package/internal/validators/operation/containerMutations.js +131 -0
- package/internal/validators/operation/containerMutations.js.map +1 -0
- package/internal/validators/operation/containerReads.d.ts +695 -0
- package/internal/validators/operation/containerReads.js +124 -0
- package/internal/validators/operation/containerReads.js.map +1 -0
- package/internal/validators/operation/containerReplacement.d.ts +172 -0
- package/internal/validators/operation/containerReplacement.js +29 -0
- package/internal/validators/operation/containerReplacement.js.map +1 -0
- package/internal/validators/operation/definition.d.ts +49 -0
- package/internal/validators/operation/definition.js +76 -0
- package/internal/validators/operation/definition.js.map +1 -0
- package/internal/validators/operation/documentAttribution.d.ts +482 -0
- package/internal/validators/operation/documentAttribution.js +140 -0
- package/internal/validators/operation/documentAttribution.js.map +1 -0
- package/internal/validators/operation/documentMutations.d.ts +3386 -0
- package/internal/validators/operation/documentMutations.js +92 -0
- package/internal/validators/operation/documentMutations.js.map +1 -0
- package/internal/validators/operation/documentSync.d.ts +1236 -0
- package/internal/validators/operation/documentSync.js +46 -0
- package/internal/validators/operation/documentSync.js.map +1 -0
- package/internal/validators/operation/headerNames.d.ts +3 -0
- package/internal/validators/operation/headerNames.js +32 -0
- package/internal/validators/operation/headerNames.js.map +1 -0
- package/internal/validators/operation/health.d.ts +66 -0
- package/internal/validators/operation/health.js +21 -0
- package/internal/validators/operation/health.js.map +1 -0
- package/internal/validators/operation/index.d.ts +25 -0
- package/internal/validators/operation/index.js +26 -0
- package/internal/validators/operation/index.js.map +1 -0
- package/internal/validators/operation/multipartBlobs.d.ts +567 -0
- package/internal/validators/operation/multipartBlobs.js +74 -0
- package/internal/validators/operation/multipartBlobs.js.map +1 -0
- package/internal/validators/operation/organizationBilling.d.ts +1175 -0
- package/internal/validators/operation/organizationBilling.js +105 -0
- package/internal/validators/operation/organizationBilling.js.map +1 -0
- package/internal/validators/operation/organizationPolicyHistory.d.ts +480 -0
- package/internal/validators/operation/organizationPolicyHistory.js +23 -0
- package/internal/validators/operation/organizationPolicyHistory.js.map +1 -0
- package/internal/validators/operation/organizations.d.ts +11315 -0
- package/internal/validators/operation/organizations.js +203 -0
- package/internal/validators/operation/organizations.js.map +1 -0
- package/internal/validators/operation/principalPolicyPageQuery.d.ts +6 -0
- package/internal/validators/operation/principalPolicyPageQuery.js +20 -0
- package/internal/validators/operation/principalPolicyPageQuery.js.map +1 -0
- package/internal/validators/operation/principals.d.ts +3672 -0
- package/internal/validators/operation/principals.js +96 -0
- package/internal/validators/operation/principals.js.map +1 -0
- package/internal/validators/operation/registry.d.ts +94 -0
- package/internal/validators/operation/registry.js +97 -0
- package/internal/validators/operation/registry.js.map +1 -0
- package/internal/validators/operation/root.d.ts +583 -0
- package/internal/validators/operation/root.js +79 -0
- package/internal/validators/operation/root.js.map +1 -0
- package/internal/validators/operation/rootOrganizations.d.ts +1165 -0
- package/internal/validators/operation/rootOrganizations.js +86 -0
- package/internal/validators/operation/rootOrganizations.js.map +1 -0
- package/internal/validators/operation/stripeCheckout.d.ts +901 -0
- package/internal/validators/operation/stripeCheckout.js +86 -0
- package/internal/validators/operation/stripeCheckout.js.map +1 -0
- package/internal/validators/operation/writerProjections.d.ts +2338 -0
- package/internal/validators/operation/writerProjections.js +59 -0
- package/internal/validators/operation/writerProjections.js.map +1 -0
- package/internal/validators/organizationBillingRefinements.js +5 -0
- package/internal/validators/organizationBillingRefinements.js.map +1 -0
- package/internal/validators/organizationDataUsageRefinements.js +18 -0
- package/internal/validators/organizationDataUsageRefinements.js.map +1 -0
- package/internal/validators/organizationProvisioningRefinements.js +25 -0
- package/internal/validators/organizationProvisioningRefinements.js.map +1 -0
- package/internal/validators/organizationReadModelRefinements.js +8 -0
- package/internal/validators/organizationReadModelRefinements.js.map +1 -0
- package/internal/validators/projectionHistoryRefinements.js +5 -0
- package/internal/validators/projectionHistoryRefinements.js.map +1 -0
- package/internal/validators/realtime/index.js +5 -0
- package/internal/validators/realtime/index.js.map +1 -0
- package/internal/validators/realtime/wsClientDeclarations.js +57 -0
- package/internal/validators/realtime/wsClientDeclarations.js.map +1 -0
- package/internal/validators/realtime/wsInvalidationHints.js +76 -0
- package/internal/validators/realtime/wsInvalidationHints.js.map +1 -0
- package/internal/validators/realtime/wsServerFrames.js +64 -0
- package/internal/validators/realtime/wsServerFrames.js.map +1 -0
- package/internal/validators/realtime/wsShared.js +18 -0
- package/internal/validators/realtime/wsShared.js.map +1 -0
- package/internal/validators/request/auth/challenge.d.ts +12 -0
- package/internal/validators/request/auth/challenge.js +8 -0
- package/internal/validators/request/auth/challenge.js.map +1 -0
- package/internal/validators/request/auth/index.d.ts +2 -0
- package/internal/validators/request/auth/index.js +3 -0
- package/internal/validators/request/auth/index.js.map +1 -0
- package/internal/validators/request/auth/verify.d.ts +16 -0
- package/internal/validators/request/auth/verify.js +10 -0
- package/internal/validators/request/auth/verify.js.map +1 -0
- package/internal/validators/request/blob.d.ts +645 -0
- package/internal/validators/request/blob.js +68 -0
- package/internal/validators/request/blob.js.map +1 -0
- package/internal/validators/request/container.d.ts +598 -0
- package/internal/validators/request/container.js +60 -0
- package/internal/validators/request/container.js.map +1 -0
- package/internal/validators/request/containerMetadata.d.ts +961 -0
- package/internal/validators/request/containerMetadata.js +15 -0
- package/internal/validators/request/containerMetadata.js.map +1 -0
- package/internal/validators/request/containerParentLanes.d.ts +22 -0
- package/internal/validators/request/containerParentLanes.js +52 -0
- package/internal/validators/request/containerParentLanes.js.map +1 -0
- package/internal/validators/request/contentKeyEnvelopeSchema.js +23 -0
- package/internal/validators/request/contentKeyEnvelopeSchema.js.map +1 -0
- package/internal/validators/request/document.d.ts +838 -0
- package/internal/validators/request/document.js +81 -0
- package/internal/validators/request/document.js.map +1 -0
- package/internal/validators/request/documentSyncSchema.d.ts +485 -0
- package/internal/validators/request/documentSyncSchema.js +208 -0
- package/internal/validators/request/documentSyncSchema.js.map +1 -0
- package/internal/validators/request/index.d.ts +14 -0
- package/internal/validators/request/index.js +14 -0
- package/internal/validators/request/index.js.map +1 -0
- package/internal/validators/request/organization.d.ts +1529 -0
- package/internal/validators/request/organization.js +41 -0
- package/internal/validators/request/organization.js.map +1 -0
- package/internal/validators/request/organizationProvisioning.d.ts +18090 -0
- package/internal/validators/request/organizationProvisioning.js +123 -0
- package/internal/validators/request/organizationProvisioning.js.map +1 -0
- package/internal/validators/request/principal.d.ts +1677 -0
- package/internal/validators/request/principal.js +86 -0
- package/internal/validators/request/principal.js.map +1 -0
- package/internal/validators/request/registration.d.ts +5684 -0
- package/internal/validators/request/registration.js +12 -0
- package/internal/validators/request/registration.js.map +1 -0
- package/internal/validators/request/revenuecatWebhook.d.ts +385 -0
- package/internal/validators/request/revenuecatWebhook.js +72 -0
- package/internal/validators/request/revenuecatWebhook.js.map +1 -0
- package/internal/validators/request/stripeCheckout.d.ts +13 -0
- package/internal/validators/request/stripeCheckout.js +12 -0
- package/internal/validators/request/stripeCheckout.js.map +1 -0
- package/internal/validators/request/stripeWebhook.d.ts +5 -0
- package/internal/validators/request/stripeWebhook.js +7 -0
- package/internal/validators/request/stripeWebhook.js.map +1 -0
- package/internal/validators/response/accessLevel.d.ts +4 -0
- package/internal/validators/response/accessLevel.js +6 -0
- package/internal/validators/response/accessLevel.js.map +1 -0
- package/internal/validators/response/auth/challenge.d.ts +24 -0
- package/internal/validators/response/auth/challenge.js +11 -0
- package/internal/validators/response/auth/challenge.js.map +1 -0
- package/internal/validators/response/auth/index.d.ts +6 -0
- package/internal/validators/response/auth/index.js +7 -0
- package/internal/validators/response/auth/index.js.map +1 -0
- package/internal/validators/response/auth/sessionFailure.d.ts +28 -0
- package/internal/validators/response/auth/sessionFailure.js +22 -0
- package/internal/validators/response/auth/sessionFailure.js.map +1 -0
- package/internal/validators/response/auth/sessions.d.ts +90 -0
- package/internal/validators/response/auth/sessions.js +27 -0
- package/internal/validators/response/auth/sessions.js.map +1 -0
- package/internal/validators/response/auth/userIdentity.d.ts +28 -0
- package/internal/validators/response/auth/userIdentity.js +13 -0
- package/internal/validators/response/auth/userIdentity.js.map +1 -0
- package/internal/validators/response/auth/verify.d.ts +71 -0
- package/internal/validators/response/auth/verify.js +26 -0
- package/internal/validators/response/auth/verify.js.map +1 -0
- package/internal/validators/response/auth/wsTicket.d.ts +12 -0
- package/internal/validators/response/auth/wsTicket.js +9 -0
- package/internal/validators/response/auth/wsTicket.js.map +1 -0
- package/internal/validators/response/billingWebhooks.d.ts +31 -0
- package/internal/validators/response/billingWebhooks.js +17 -0
- package/internal/validators/response/billingWebhooks.js.map +1 -0
- package/internal/validators/response/blob.d.ts +854 -0
- package/internal/validators/response/blob.js +121 -0
- package/internal/validators/response/blob.js.map +1 -0
- package/internal/validators/response/blobMutationError.d.ts +17 -0
- package/internal/validators/response/blobMutationError.js +17 -0
- package/internal/validators/response/blobMutationError.js.map +1 -0
- package/internal/validators/response/container.d.ts +2484 -0
- package/internal/validators/response/container.js +188 -0
- package/internal/validators/response/container.js.map +1 -0
- package/internal/validators/response/containerMetadata.d.ts +392 -0
- package/internal/validators/response/containerMetadata.js +12 -0
- package/internal/validators/response/containerMetadata.js.map +1 -0
- package/internal/validators/response/containerMutationError.d.ts +443 -0
- package/internal/validators/response/containerMutationError.js +53 -0
- package/internal/validators/response/containerMutationError.js.map +1 -0
- package/internal/validators/response/containerNotFoundError.d.ts +12 -0
- package/internal/validators/response/containerNotFoundError.js +12 -0
- package/internal/validators/response/containerNotFoundError.js.map +1 -0
- package/internal/validators/response/containerParentLanes.d.ts +80 -0
- package/internal/validators/response/containerParentLanes.js +30 -0
- package/internal/validators/response/containerParentLanes.js.map +1 -0
- package/internal/validators/response/containerUnavailableError.d.ts +11 -0
- package/internal/validators/response/containerUnavailableError.js +11 -0
- package/internal/validators/response/containerUnavailableError.js.map +1 -0
- package/internal/validators/response/descendantRekeysRequiredError.js +9 -0
- package/internal/validators/response/descendantRekeysRequiredError.js.map +1 -0
- package/internal/validators/response/document.d.ts +374 -0
- package/internal/validators/response/document.js +95 -0
- package/internal/validators/response/document.js.map +1 -0
- package/internal/validators/response/documentMutation.d.ts +2585 -0
- package/internal/validators/response/documentMutation.js +100 -0
- package/internal/validators/response/documentMutation.js.map +1 -0
- package/internal/validators/response/documentMutationError.d.ts +17 -0
- package/internal/validators/response/documentMutationError.js +28 -0
- package/internal/validators/response/documentMutationError.js.map +1 -0
- package/internal/validators/response/documentSyncError.d.ts +470 -0
- package/internal/validators/response/documentSyncError.js +91 -0
- package/internal/validators/response/documentSyncError.js.map +1 -0
- package/internal/validators/response/documentSyncSchema.d.ts +477 -0
- package/internal/validators/response/documentSyncSchema.js +107 -0
- package/internal/validators/response/documentSyncSchema.js.map +1 -0
- package/internal/validators/response/error.d.ts +12 -0
- package/internal/validators/response/error.js +9 -0
- package/internal/validators/response/error.js.map +1 -0
- package/internal/validators/response/health.d.ts +12 -0
- package/internal/validators/response/health.js +9 -0
- package/internal/validators/response/health.js.map +1 -0
- package/internal/validators/response/index.d.ts +39 -0
- package/internal/validators/response/index.js +40 -0
- package/internal/validators/response/index.js.map +1 -0
- package/internal/validators/response/multipartBlobStageError.d.ts +37 -0
- package/internal/validators/response/multipartBlobStageError.js +34 -0
- package/internal/validators/response/multipartBlobStageError.js.map +1 -0
- package/internal/validators/response/organization.d.ts +2210 -0
- package/internal/validators/response/organization.js +186 -0
- package/internal/validators/response/organization.js.map +1 -0
- package/internal/validators/response/organizationBilling.d.ts +136 -0
- package/internal/validators/response/organizationBilling.js +104 -0
- package/internal/validators/response/organizationBilling.js.map +1 -0
- package/internal/validators/response/organizationBillingHistory.d.ts +243 -0
- package/internal/validators/response/organizationBillingHistory.js +75 -0
- package/internal/validators/response/organizationBillingHistory.js.map +1 -0
- package/internal/validators/response/organizationBillingManagementUrl.d.ts +28 -0
- package/internal/validators/response/organizationBillingManagementUrl.js +24 -0
- package/internal/validators/response/organizationBillingManagementUrl.js.map +1 -0
- package/internal/validators/response/organizationDataUsage.d.ts +50 -0
- package/internal/validators/response/organizationDataUsage.js +80 -0
- package/internal/validators/response/organizationDataUsage.js.map +1 -0
- package/internal/validators/response/organizationNativePurchaseEligibility.d.ts +36 -0
- package/internal/validators/response/organizationNativePurchaseEligibility.js +31 -0
- package/internal/validators/response/organizationNativePurchaseEligibility.js.map +1 -0
- package/internal/validators/response/organizationPolicyHistory.d.ts +380 -0
- package/internal/validators/response/organizationPolicyHistory.js +10 -0
- package/internal/validators/response/organizationPolicyHistory.js.map +1 -0
- package/internal/validators/response/organizationPresentationError.d.ts +17 -0
- package/internal/validators/response/organizationPresentationError.js +18 -0
- package/internal/validators/response/organizationPresentationError.js.map +1 -0
- package/internal/validators/response/organizationProvisioning.d.ts +4799 -0
- package/internal/validators/response/organizationProvisioning.js +71 -0
- package/internal/validators/response/organizationProvisioning.js.map +1 -0
- package/internal/validators/response/organizationReadModel.d.ts +733 -0
- package/internal/validators/response/organizationReadModel.js +159 -0
- package/internal/validators/response/organizationReadModel.js.map +1 -0
- package/internal/validators/response/organizationReadModelError.d.ts +16 -0
- package/internal/validators/response/organizationReadModelError.js +15 -0
- package/internal/validators/response/organizationReadModelError.js.map +1 -0
- package/internal/validators/response/principal.d.ts +2573 -0
- package/internal/validators/response/principal.js +66 -0
- package/internal/validators/response/principal.js.map +1 -0
- package/internal/validators/response/principalHistoryPreparation.js +9 -0
- package/internal/validators/response/principalHistoryPreparation.js.map +1 -0
- package/internal/validators/response/principalPolicyPage.d.ts +429 -0
- package/internal/validators/response/principalPolicyPage.js +16 -0
- package/internal/validators/response/principalPolicyPage.js.map +1 -0
- package/internal/validators/response/principalReference.d.ts +40 -0
- package/internal/validators/response/principalReference.js +15 -0
- package/internal/validators/response/principalReference.js.map +1 -0
- package/internal/validators/response/principalSnapshot.d.ts +775 -0
- package/internal/validators/response/principalSnapshot.js +88 -0
- package/internal/validators/response/principalSnapshot.js.map +1 -0
- package/internal/validators/response/projectionPolicyEvidence.d.ts +700 -0
- package/internal/validators/response/projectionPolicyEvidence.js +9 -0
- package/internal/validators/response/projectionPolicyEvidence.js.map +1 -0
- package/internal/validators/response/registration.d.ts +1668 -0
- package/internal/validators/response/registration.js +12 -0
- package/internal/validators/response/registration.js.map +1 -0
- package/internal/validators/response/root.d.ts +419 -0
- package/internal/validators/response/root.js +68 -0
- package/internal/validators/response/root.js.map +1 -0
- package/internal/validators/response/rootOrganizations.d.ts +561 -0
- package/internal/validators/response/rootOrganizations.js +64 -0
- package/internal/validators/response/rootOrganizations.js.map +1 -0
- package/internal/validators/response/stripeCheckout.d.ts +143 -0
- package/internal/validators/response/stripeCheckout.js +57 -0
- package/internal/validators/response/stripeCheckout.js.map +1 -0
- package/internal/validators/response/syncWatermark.d.ts +16 -0
- package/internal/validators/response/syncWatermark.js +10 -0
- package/internal/validators/response/syncWatermark.js.map +1 -0
- package/internal/validators/schema.js +158 -0
- package/internal/validators/schema.js.map +1 -0
- package/internal/validators/stripeCheckoutRefinements.js +5 -0
- package/internal/validators/stripeCheckoutRefinements.js.map +1 -0
- package/internal/validators/util/accessManifestBundle.d.ts +84 -0
- package/internal/validators/util/accessManifestBundle.js +34 -0
- package/internal/validators/util/accessManifestBundle.js.map +1 -0
- package/internal/validators/util/blob.d.ts +2 -0
- package/internal/validators/util/blob.js +3 -0
- package/internal/validators/util/blob.js.map +1 -0
- package/internal/validators/util/containerKekKeyringWire.d.ts +105 -0
- package/internal/validators/util/containerKekKeyringWire.js +98 -0
- package/internal/validators/util/containerKekKeyringWire.js.map +1 -0
- package/internal/validators/util/containerLimits.d.ts +2 -0
- package/internal/validators/util/containerLimits.js +3 -0
- package/internal/validators/util/containerLimits.js.map +1 -0
- package/internal/validators/util/documentSyncLimits.d.ts +10 -0
- package/internal/validators/util/documentSyncLimits.js +27 -0
- package/internal/validators/util/documentSyncLimits.js.map +1 -0
- package/internal/validators/util/index.d.ts +14 -0
- package/internal/validators/util/index.js +15 -0
- package/internal/validators/util/index.js.map +1 -0
- package/internal/validators/util/keyEnvelope.d.ts +7 -0
- package/internal/validators/util/keyEnvelope.js +12 -0
- package/internal/validators/util/keyEnvelope.js.map +1 -0
- package/internal/validators/util/organizationReplacement.d.ts +18 -0
- package/internal/validators/util/organizationReplacement.js +21 -0
- package/internal/validators/util/organizationReplacement.js.map +1 -0
- package/internal/validators/util/principalHistoryWire.d.ts +2 -0
- package/internal/validators/util/principalHistoryWire.js +3 -0
- package/internal/validators/util/principalHistoryWire.js.map +1 -0
- package/internal/validators/util/projectionHistoryWire.d.ts +23 -0
- package/internal/validators/util/projectionHistoryWire.js +33 -0
- package/internal/validators/util/projectionHistoryWire.js.map +1 -0
- package/internal/validators/util/properties.d.ts +17 -0
- package/internal/validators/util/properties.js +58 -0
- package/internal/validators/util/properties.js.map +1 -0
- package/internal/validators/util/protocol.d.ts +9 -0
- package/internal/validators/util/protocol.js +26 -0
- package/internal/validators/util/protocol.js.map +1 -0
- package/internal/validators/util/signedAt.d.ts +14 -0
- package/internal/validators/util/signedAt.js +21 -0
- package/internal/validators/util/signedAt.js.map +1 -0
- package/internal/validators/util/uuid.d.ts +2 -0
- package/internal/validators/util/uuid.js +5 -0
- package/internal/validators/util/uuid.js.map +1 -0
- package/internal/validators/util/walLsn.d.ts +3 -0
- package/internal/validators/util/walLsn.js +22 -0
- package/internal/validators/util/walLsn.js.map +1 -0
- package/internal/validators/writerProjectionRefinements.js +10 -0
- package/internal/validators/writerProjectionRefinements.js.map +1 -0
- package/package.json +35 -4
- package/sqlite.d.ts +18 -0
- package/sqlite.js +11 -0
- package/sqlite.js.map +1 -0
- package/stores/container-contents/accessRestorationSweep.js +146 -0
- package/stores/container-contents/accessRestorationSweep.js.map +1 -0
- package/stores/container-contents/backgroundHydration.js +32 -0
- package/stores/container-contents/backgroundHydration.js.map +1 -0
- package/stores/container-contents/containerContentsStore.d.ts +18 -0
- package/stores/container-contents/containerContentsStore.js +190 -0
- package/stores/container-contents/containerContentsStore.js.map +1 -0
- package/stores/container-contents/containerPurgeCore.js +98 -0
- package/stores/container-contents/containerPurgeCore.js.map +1 -0
- package/stores/container-contents/containerStateMap.js +49 -0
- package/stores/container-contents/containerStateMap.js.map +1 -0
- package/stores/container-contents/containerStatePersistence.js +57 -0
- package/stores/container-contents/containerStatePersistence.js.map +1 -0
- package/stores/container-contents/documentRecovery.js +114 -0
- package/stores/container-contents/documentRecovery.js.map +1 -0
- package/stores/container-contents/documentRotation.js +13 -0
- package/stores/container-contents/documentRotation.js.map +1 -0
- package/stores/container-contents/documentWork.js +29 -0
- package/stores/container-contents/documentWork.js.map +1 -0
- package/stores/container-contents/emptyTrashOperation.js +20 -0
- package/stores/container-contents/emptyTrashOperation.js.map +1 -0
- package/stores/container-contents/existingSystemContainer.js +58 -0
- package/stores/container-contents/existingSystemContainer.js.map +1 -0
- package/stores/container-contents/groupRewrapOperation.js +52 -0
- package/stores/container-contents/groupRewrapOperation.js.map +1 -0
- package/stores/container-contents/index.d.ts +6 -0
- package/stores/container-contents/index.js +6 -0
- package/stores/container-contents/index.js.map +1 -0
- package/stores/container-contents/localRefresh.js +189 -0
- package/stores/container-contents/localRefresh.js.map +1 -0
- package/stores/container-contents/logLabel.js +4 -0
- package/stores/container-contents/logLabel.js.map +1 -0
- package/stores/container-contents/metadataSyncSignal.js +37 -0
- package/stores/container-contents/metadataSyncSignal.js.map +1 -0
- package/stores/container-contents/missingContainerState.js +10 -0
- package/stores/container-contents/missingContainerState.js.map +1 -0
- package/stores/container-contents/missingSyncedContainerState.js +10 -0
- package/stores/container-contents/missingSyncedContainerState.js.map +1 -0
- package/stores/container-contents/operations.js +301 -0
- package/stores/container-contents/operations.js.map +1 -0
- package/stores/container-contents/organizationMetadataSystemContainer.js +44 -0
- package/stores/container-contents/organizationMetadataSystemContainer.js.map +1 -0
- package/stores/container-contents/purgeContainerOperation.js +17 -0
- package/stores/container-contents/purgeContainerOperation.js.map +1 -0
- package/stores/container-contents/reconcilableContainer.d.ts +48 -0
- package/stores/container-contents/reconcilableContainer.js +78 -0
- package/stores/container-contents/reconcilableContainer.js.map +1 -0
- package/stores/container-contents/remoteBackedContainerState.js +9 -0
- package/stores/container-contents/remoteBackedContainerState.js.map +1 -0
- package/stores/container-contents/remoteContainerIngestion.js +59 -0
- package/stores/container-contents/remoteContainerIngestion.js.map +1 -0
- package/stores/container-contents/remoteEventProjectionInvalidation.js +36 -0
- package/stores/container-contents/remoteEventProjectionInvalidation.js.map +1 -0
- package/stores/container-contents/remoteEventSync.js +38 -0
- package/stores/container-contents/remoteEventSync.js.map +1 -0
- package/stores/container-contents/remoteHydrationRefresh.js +113 -0
- package/stores/container-contents/remoteHydrationRefresh.js.map +1 -0
- package/stores/container-contents/remoteHydrationRequest.js +245 -0
- package/stores/container-contents/remoteHydrationRequest.js.map +1 -0
- package/stores/container-contents/remoteWriteGuards.js +54 -0
- package/stores/container-contents/remoteWriteGuards.js.map +1 -0
- package/stores/container-contents/remoteWriteQueue.js +51 -0
- package/stores/container-contents/remoteWriteQueue.js.map +1 -0
- package/stores/container-contents/reportShareFailure.js +44 -0
- package/stores/container-contents/reportShareFailure.js.map +1 -0
- package/stores/container-contents/setContainerIconOperation.js +47 -0
- package/stores/container-contents/setContainerIconOperation.js.map +1 -0
- package/stores/container-contents/shareOperations.js +90 -0
- package/stores/container-contents/shareOperations.js.map +1 -0
- package/stores/container-contents/startupHydration.js +110 -0
- package/stores/container-contents/startupHydration.js.map +1 -0
- package/stores/container-contents/state.d.ts +14 -0
- package/stores/container-contents/state.js +224 -0
- package/stores/container-contents/state.js.map +1 -0
- package/stores/container-contents/syncAgent.d.ts +8 -0
- package/stores/container-contents/syncAgent.js +241 -0
- package/stores/container-contents/syncAgent.js.map +1 -0
- package/stores/container-contents/syncAgentTypes.d.ts +81 -0
- package/stores/container-contents/syncAgentTypes.js +2 -0
- package/stores/container-contents/syncAgentTypes.js.map +1 -0
- package/stores/container-contents/syncLaneIteration.js +237 -0
- package/stores/container-contents/syncLaneIteration.js.map +1 -0
- package/stores/container-contents/systemContainerHydration.js +30 -0
- package/stores/container-contents/systemContainerHydration.js.map +1 -0
- package/stores/container-contents/systemContainerIcon.js +42 -0
- package/stores/container-contents/systemContainerIcon.js.map +1 -0
- package/stores/container-contents/systemContainerLookup.js +65 -0
- package/stores/container-contents/systemContainerLookup.js.map +1 -0
- package/stores/container-contents/systemContainerPostCreate.js +109 -0
- package/stores/container-contents/systemContainerPostCreate.js.map +1 -0
- package/stores/container-contents/systemContainerPromotion.js +49 -0
- package/stores/container-contents/systemContainerPromotion.js.map +1 -0
- package/stores/container-contents/types.d.ts +88 -0
- package/stores/container-contents/types.js +2 -0
- package/stores/container-contents/types.js.map +1 -0
- package/stores/container-contents/utils.js +63 -0
- package/stores/container-contents/utils.js.map +1 -0
- package/stores/container-contents/writeGeneration.js +37 -0
- package/stores/container-contents/writeGeneration.js.map +1 -0
- package/stores/documents/documentStore/ancestorRepairPark.js +29 -0
- package/stores/documents/documentStore/ancestorRepairPark.js.map +1 -0
- package/stores/documents/documentStore/attachmentDetachState.js +54 -0
- package/stores/documents/documentStore/attachmentDetachState.js.map +1 -0
- package/stores/documents/documentStore/attachmentHydration.js +54 -0
- package/stores/documents/documentStore/attachmentHydration.js.map +1 -0
- package/stores/documents/documentStore/attachmentHydrationCommit.js +53 -0
- package/stores/documents/documentStore/attachmentHydrationCommit.js.map +1 -0
- package/stores/documents/documentStore/attachmentIntents.js +39 -0
- package/stores/documents/documentStore/attachmentIntents.js.map +1 -0
- package/stores/documents/documentStore/attachmentMutationPersistence.js +37 -0
- package/stores/documents/documentStore/attachmentMutationPersistence.js.map +1 -0
- package/stores/documents/documentStore/attachmentPersistFollowup.js +16 -0
- package/stores/documents/documentStore/attachmentPersistFollowup.js.map +1 -0
- package/stores/documents/documentStore/attachmentPersistence.js +106 -0
- package/stores/documents/documentStore/attachmentPersistence.js.map +1 -0
- package/stores/documents/documentStore/attachmentSnapshot.js +33 -0
- package/stores/documents/documentStore/attachmentSnapshot.js.map +1 -0
- package/stores/documents/documentStore/attachmentSourceUpload.js +39 -0
- package/stores/documents/documentStore/attachmentSourceUpload.js.map +1 -0
- package/stores/documents/documentStore/attachmentStaging.js +73 -0
- package/stores/documents/documentStore/attachmentStaging.js.map +1 -0
- package/stores/documents/documentStore/attachmentUploadAttempt.js +97 -0
- package/stores/documents/documentStore/attachmentUploadAttempt.js.map +1 -0
- package/stores/documents/documentStore/attachmentUploadLane.js +49 -0
- package/stores/documents/documentStore/attachmentUploadLane.js.map +1 -0
- package/stores/documents/documentStore/attachmentUploadResume.js +95 -0
- package/stores/documents/documentStore/attachmentUploadResume.js.map +1 -0
- package/stores/documents/documentStore/attachmentWriteGeneration.js +32 -0
- package/stores/documents/documentStore/attachmentWriteGeneration.js.map +1 -0
- package/stores/documents/documentStore/attachments.js +330 -0
- package/stores/documents/documentStore/attachments.js.map +1 -0
- package/stores/documents/documentStore/discard.js +88 -0
- package/stores/documents/documentStore/discard.js.map +1 -0
- package/stores/documents/documentStore/documentHistoryCompaction.js +67 -0
- package/stores/documents/documentStore/documentHistoryCompaction.js.map +1 -0
- package/stores/documents/documentStore/durableDocumentReload.js +79 -0
- package/stores/documents/documentStore/durableDocumentReload.js.map +1 -0
- package/stores/documents/documentStore/historyRebuild.js +75 -0
- package/stores/documents/documentStore/historyRebuild.js.map +1 -0
- package/stores/documents/documentStore/identityWriteChain.js +20 -0
- package/stores/documents/documentStore/identityWriteChain.js.map +1 -0
- package/stores/documents/documentStore/initialization.js +318 -0
- package/stores/documents/documentStore/initialization.js.map +1 -0
- package/stores/documents/documentStore/initializationAttachments.js +9 -0
- package/stores/documents/documentStore/initializationAttachments.js.map +1 -0
- package/stores/documents/documentStore/initializationHistory.js +33 -0
- package/stores/documents/documentStore/initializationHistory.js.map +1 -0
- package/stores/documents/documentStore/initializationRecovery.js +107 -0
- package/stores/documents/documentStore/initializationRecovery.js.map +1 -0
- package/stores/documents/documentStore/internalRelink.js +12 -0
- package/stores/documents/documentStore/internalRelink.js.map +1 -0
- package/stores/documents/documentStore/mutationIdentityRevalidation.js +8 -0
- package/stores/documents/documentStore/mutationIdentityRevalidation.js.map +1 -0
- package/stores/documents/documentStore/mutations.js +254 -0
- package/stores/documents/documentStore/mutations.js.map +1 -0
- package/stores/documents/documentStore/orphanMaintenance.js +8 -0
- package/stores/documents/documentStore/orphanMaintenance.js.map +1 -0
- package/stores/documents/documentStore/pendingUpdateRefusal.js +15 -0
- package/stores/documents/documentStore/pendingUpdateRefusal.js.map +1 -0
- package/stores/documents/documentStore/persistence.js +268 -0
- package/stores/documents/documentStore/persistence.js.map +1 -0
- package/stores/documents/documentStore/pullContinuationInvalidation.js +61 -0
- package/stores/documents/documentStore/pullContinuationInvalidation.js.map +1 -0
- package/stores/documents/documentStore/remoteRevalidationTelemetry.js +15 -0
- package/stores/documents/documentStore/remoteRevalidationTelemetry.js.map +1 -0
- package/stores/documents/documentStore/remoteWork.js +43 -0
- package/stores/documents/documentStore/remoteWork.js.map +1 -0
- package/stores/documents/documentStore/reportWriteFailure.js +49 -0
- package/stores/documents/documentStore/reportWriteFailure.js.map +1 -0
- package/stores/documents/documentStore/rotation.js +307 -0
- package/stores/documents/documentStore/rotation.js.map +1 -0
- package/stores/documents/documentStore/rotationProvenance.js +52 -0
- package/stores/documents/documentStore/rotationProvenance.js.map +1 -0
- package/stores/documents/documentStore/rotationSettlement.js +222 -0
- package/stores/documents/documentStore/rotationSettlement.js.map +1 -0
- package/stores/documents/documentStore/rows.js +133 -0
- package/stores/documents/documentStore/rows.js.map +1 -0
- package/stores/documents/documentStore/state.js +223 -0
- package/stores/documents/documentStore/state.js.map +1 -0
- package/stores/documents/documentStore/storedDocument.js +29 -0
- package/stores/documents/documentStore/storedDocument.js.map +1 -0
- package/stores/documents/documentStore/sync.js +292 -0
- package/stores/documents/documentStore/sync.js.map +1 -0
- package/stores/documents/documentStore/syncAcceptedUpdateIds.js +35 -0
- package/stores/documents/documentStore/syncAcceptedUpdateIds.js.map +1 -0
- package/stores/documents/documentStore/syncAttachmentSettlement.js +72 -0
- package/stores/documents/documentStore/syncAttachmentSettlement.js.map +1 -0
- package/stores/documents/documentStore/syncAttachments.js +323 -0
- package/stores/documents/documentStore/syncAttachments.js.map +1 -0
- package/stores/documents/documentStore/syncDetachedAttachments.js +125 -0
- package/stores/documents/documentStore/syncDetachedAttachments.js.map +1 -0
- package/stores/documents/documentStore/syncFinalize.js +200 -0
- package/stores/documents/documentStore/syncFinalize.js.map +1 -0
- package/stores/documents/documentStore/syncGeneration.js +193 -0
- package/stores/documents/documentStore/syncGeneration.js.map +1 -0
- package/stores/documents/documentStore/syncOutgoingCoverage.js +96 -0
- package/stores/documents/documentStore/syncOutgoingCoverage.js.map +1 -0
- package/stores/documents/documentStore/syncRemoteSignals.js +67 -0
- package/stores/documents/documentStore/syncRemoteSignals.js.map +1 -0
- package/stores/documents/documentStore/syncRequest.js +158 -0
- package/stores/documents/documentStore/syncRequest.js.map +1 -0
- package/stores/documents/documentStore/syncShared.js +211 -0
- package/stores/documents/documentStore/syncShared.js.map +1 -0
- package/stores/documents/documentStore/syncUpdateImport.js +62 -0
- package/stores/documents/documentStore/syncUpdateImport.js.map +1 -0
- package/stores/documents/documentStore/versionCoverage.js +45 -0
- package/stores/documents/documentStore/versionCoverage.js.map +1 -0
- package/stores/documents/documentStore/writerProjectionGeneration.js +20 -0
- package/stores/documents/documentStore/writerProjectionGeneration.js.map +1 -0
- package/stores/documents/documentStore.d.ts +8 -0
- package/stores/documents/documentStore.js +212 -0
- package/stores/documents/documentStore.js.map +1 -0
- package/stores/documents/index.d.ts +2 -0
- package/stores/documents/index.js +3 -0
- package/stores/documents/index.js.map +1 -0
- package/stores/documents/registry.d.ts +43 -0
- package/stores/documents/registry.js +206 -0
- package/stores/documents/registry.js.map +1 -0
- package/stores/documents/types.d.ts +85 -0
- package/stores/documents/types.js +2 -0
- package/stores/documents/types.js.map +1 -0
- package/stores/local-projection/index.d.ts +3 -0
- package/stores/local-projection/index.js +2 -0
- package/stores/local-projection/index.js.map +1 -0
- package/stores/local-projection/localProjectionStore.d.ts +31 -0
- package/stores/local-projection/localProjectionStore.js +299 -0
- package/stores/local-projection/localProjectionStore.js.map +1 -0
- package/stores/local-projection/registry.d.ts +15 -0
- package/stores/local-projection/registry.js +24 -0
- package/stores/local-projection/registry.js.map +1 -0
- package/stores/local-projection/summaryCache.js +93 -0
- package/stores/local-projection/summaryCache.js.map +1 -0
- package/stores/local-projection/types.d.ts +45 -0
- package/stores/local-projection/types.js +2 -0
- package/stores/local-projection/types.js.map +1 -0
- package/sync/reconciliation/documentContentPull.js +49 -0
- package/sync/reconciliation/documentContentPull.js.map +1 -0
- package/sync/reconciliation/idleBackfill.js +37 -0
- package/sync/reconciliation/idleBackfill.js.map +1 -0
- package/sync/reconciliation/index.d.ts +3 -0
- package/sync/reconciliation/index.js +3 -0
- package/sync/reconciliation/index.js.map +1 -0
- package/sync/reconciliation/initialDocumentProbe.d.ts +37 -0
- package/sync/reconciliation/initialDocumentProbe.js +269 -0
- package/sync/reconciliation/initialDocumentProbe.js.map +1 -0
- package/sync/reconciliation/knownContainerSweep.js +126 -0
- package/sync/reconciliation/knownContainerSweep.js.map +1 -0
- package/sync/reconciliation/laneFailure.js +36 -0
- package/sync/reconciliation/laneFailure.js.map +1 -0
- package/sync/reconciliation/originatedDocuments.js +49 -0
- package/sync/reconciliation/originatedDocuments.js.map +1 -0
- package/sync/reconciliation/queue.d.ts +18 -0
- package/sync/reconciliation/queue.js +32 -0
- package/sync/reconciliation/queue.js.map +1 -0
- package/sync/reconciliation/reconcileContainer.js +31 -0
- package/sync/reconciliation/reconcileContainer.js.map +1 -0
- package/sync/reconciliation/service.d.ts +2 -0
- package/sync/reconciliation/service.js +282 -0
- package/sync/reconciliation/service.js.map +1 -0
- package/sync/reconciliation/serviceTypes.d.ts +66 -0
- package/sync/reconciliation/serviceTypes.js +2 -0
- package/sync/reconciliation/serviceTypes.js.map +1 -0
- package/sync/reconciliation/triggers.d.ts +28 -0
- package/sync/reconciliation/triggers.js +93 -0
- package/sync/reconciliation/triggers.js.map +1 -0
- package/workflows/blobs/attachmentBindingVerification.js +49 -0
- package/workflows/blobs/attachmentBindingVerification.js.map +1 -0
- package/workflows/blobs/attachmentDecryptor.js +41 -0
- package/workflows/blobs/attachmentDecryptor.js.map +1 -0
- package/workflows/blobs/attachmentKeyAuthenticator.js +68 -0
- package/workflows/blobs/attachmentKeyAuthenticator.js.map +1 -0
- package/workflows/blobs/automaticMultipartUpload.js +9 -0
- package/workflows/blobs/automaticMultipartUpload.js.map +1 -0
- package/workflows/blobs/blobChunkDecryption.js +34 -0
- package/workflows/blobs/blobChunkDecryption.js.map +1 -0
- package/workflows/blobs/decrypt.d.ts +12 -0
- package/workflows/blobs/decrypt.js +244 -0
- package/workflows/blobs/decrypt.js.map +1 -0
- package/workflows/blobs/detach.js +57 -0
- package/workflows/blobs/detach.js.map +1 -0
- package/workflows/blobs/hydrate.d.ts +52 -0
- package/workflows/blobs/hydrate.js +174 -0
- package/workflows/blobs/hydrate.js.map +1 -0
- package/workflows/blobs/hydrationResults.js +23 -0
- package/workflows/blobs/hydrationResults.js.map +1 -0
- package/workflows/blobs/index.d.ts +11 -0
- package/workflows/blobs/index.js +9 -0
- package/workflows/blobs/index.js.map +1 -0
- package/workflows/blobs/multipartStageFailures.js +36 -0
- package/workflows/blobs/multipartStageFailures.js.map +1 -0
- package/workflows/blobs/multipartUpload.js +288 -0
- package/workflows/blobs/multipartUpload.js.map +1 -0
- package/workflows/blobs/retainedAttachmentVerification.js +38 -0
- package/workflows/blobs/retainedAttachmentVerification.js.map +1 -0
- package/workflows/blobs/upload.d.ts +10 -0
- package/workflows/blobs/upload.js +243 -0
- package/workflows/blobs/upload.js.map +1 -0
- package/workflows/blobs/verifiedWrapScope.js +20 -0
- package/workflows/blobs/verifiedWrapScope.js.map +1 -0
- package/workflows/blobs/writerProjection.js +29 -0
- package/workflows/blobs/writerProjection.js.map +1 -0
- package/workflows/container-contents/availableDocumentLinkIntent.js +32 -0
- package/workflows/container-contents/availableDocumentLinkIntent.js.map +1 -0
- package/workflows/container-contents/blobInfo.d.ts +6 -0
- package/workflows/container-contents/blobInfo.js +323 -0
- package/workflows/container-contents/blobInfo.js.map +1 -0
- package/workflows/container-contents/blobInfoRows.js +72 -0
- package/workflows/container-contents/blobInfoRows.js.map +1 -0
- package/workflows/container-contents/blobInfoTypes.d.ts +48 -0
- package/workflows/container-contents/blobInfoTypes.js +2 -0
- package/workflows/container-contents/blobInfoTypes.js.map +1 -0
- package/workflows/container-contents/container-state/createAdoption.js +191 -0
- package/workflows/container-contents/container-state/createAdoption.js.map +1 -0
- package/workflows/container-contents/container-state/createChild.js +217 -0
- package/workflows/container-contents/container-state/createChild.js.map +1 -0
- package/workflows/container-contents/container-state/createIntentDepth.js +36 -0
- package/workflows/container-contents/container-state/createIntentDepth.js.map +1 -0
- package/workflows/container-contents/container-state/createIntentSettlement.js +21 -0
- package/workflows/container-contents/container-state/createIntentSettlement.js.map +1 -0
- package/workflows/container-contents/container-state/createIntentSync.js +354 -0
- package/workflows/container-contents/container-state/createIntentSync.js.map +1 -0
- package/workflows/container-contents/container-state/createTerminalFailure.js +19 -0
- package/workflows/container-contents/container-state/createTerminalFailure.js.map +1 -0
- package/workflows/container-contents/container-state/createWithMetadata.js +332 -0
- package/workflows/container-contents/container-state/createWithMetadata.js.map +1 -0
- package/workflows/container-contents/container-state/delete.js +34 -0
- package/workflows/container-contents/container-state/delete.js.map +1 -0
- package/workflows/container-contents/container-state/groupGrantVerification.js +93 -0
- package/workflows/container-contents/container-state/groupGrantVerification.js.map +1 -0
- package/workflows/container-contents/container-state/localPathDepth.js +60 -0
- package/workflows/container-contents/container-state/localPathDepth.js.map +1 -0
- package/workflows/container-contents/container-state/moveIntentSync.js +345 -0
- package/workflows/container-contents/container-state/moveIntentSync.js.map +1 -0
- package/workflows/container-contents/container-state/projectionCache.js +71 -0
- package/workflows/container-contents/container-state/projectionCache.js.map +1 -0
- package/workflows/container-contents/container-state/purgeProgress.d.ts +9 -0
- package/workflows/container-contents/container-state/purgeProgress.js +2 -0
- package/workflows/container-contents/container-state/purgeProgress.js.map +1 -0
- package/workflows/container-contents/container-state/purgeTree.js +251 -0
- package/workflows/container-contents/container-state/purgeTree.js.map +1 -0
- package/workflows/container-contents/container-state/purgeTreeCollection.js +34 -0
- package/workflows/container-contents/container-state/purgeTreeCollection.js.map +1 -0
- package/workflows/container-contents/container-state/purgeTreeContainerDeletion.js +67 -0
- package/workflows/container-contents/container-state/purgeTreeContainerDeletion.js.map +1 -0
- package/workflows/container-contents/container-state/remote.js +156 -0
- package/workflows/container-contents/container-state/remote.js.map +1 -0
- package/workflows/container-contents/container-state/share.js +305 -0
- package/workflows/container-contents/container-state/share.js.map +1 -0
- package/workflows/container-contents/container-state/sharePersistence.js +136 -0
- package/workflows/container-contents/container-state/sharePersistence.js.map +1 -0
- package/workflows/container-contents/container-state/types.js +2 -0
- package/workflows/container-contents/container-state/types.js.map +1 -0
- package/workflows/container-contents/containerDocumentListing.js +52 -0
- package/workflows/container-contents/containerDocumentListing.js.map +1 -0
- package/workflows/container-contents/containerEvents.js +112 -0
- package/workflows/container-contents/containerEvents.js.map +1 -0
- package/workflows/container-contents/containerInfo.d.ts +77 -0
- package/workflows/container-contents/containerInfo.js +200 -0
- package/workflows/container-contents/containerInfo.js.map +1 -0
- package/workflows/container-contents/containerPersistence.d.ts +21 -0
- package/workflows/container-contents/containerPersistence.js +40 -0
- package/workflows/container-contents/containerPersistence.js.map +1 -0
- package/workflows/container-contents/deferredDocumentLinks.js +9 -0
- package/workflows/container-contents/deferredDocumentLinks.js.map +1 -0
- package/workflows/container-contents/documentAttributionRanges.d.ts +26 -0
- package/workflows/container-contents/documentAttributionRanges.js +15 -0
- package/workflows/container-contents/documentAttributionRanges.js.map +1 -0
- package/workflows/container-contents/documentCharacterBlame.js +33 -0
- package/workflows/container-contents/documentCharacterBlame.js.map +1 -0
- package/workflows/container-contents/documentDiscovery.d.ts +12 -0
- package/workflows/container-contents/documentDiscovery.js +255 -0
- package/workflows/container-contents/documentDiscovery.js.map +1 -0
- package/workflows/container-contents/documentDiscoveryCandidates.js +29 -0
- package/workflows/container-contents/documentDiscoveryCandidates.js.map +1 -0
- package/workflows/container-contents/documentDiscoveryEvidence.js +91 -0
- package/workflows/container-contents/documentDiscoveryEvidence.js.map +1 -0
- package/workflows/container-contents/documentDiscoveryInputs.js +85 -0
- package/workflows/container-contents/documentDiscoveryInputs.js.map +1 -0
- package/workflows/container-contents/documentDiscoveryTypes.d.ts +154 -0
- package/workflows/container-contents/documentDiscoveryTypes.js +2 -0
- package/workflows/container-contents/documentDiscoveryTypes.js.map +1 -0
- package/workflows/container-contents/documentFieldBlame.js +26 -0
- package/workflows/container-contents/documentFieldBlame.js.map +1 -0
- package/workflows/container-contents/documentHeadScope.js +9 -0
- package/workflows/container-contents/documentHeadScope.js.map +1 -0
- package/workflows/container-contents/documentHydrationProbe.js +146 -0
- package/workflows/container-contents/documentHydrationProbe.js.map +1 -0
- package/workflows/container-contents/documentInfo.d.ts +18 -0
- package/workflows/container-contents/documentInfo.js +306 -0
- package/workflows/container-contents/documentInfo.js.map +1 -0
- package/workflows/container-contents/documentInfoTypes.d.ts +92 -0
- package/workflows/container-contents/documentInfoTypes.js +2 -0
- package/workflows/container-contents/documentInfoTypes.js.map +1 -0
- package/workflows/container-contents/documentLinkIntent.js +82 -0
- package/workflows/container-contents/documentLinkIntent.js.map +1 -0
- package/workflows/container-contents/documentLinks.d.ts +59 -0
- package/workflows/container-contents/documentLinks.js +262 -0
- package/workflows/container-contents/documentLinks.js.map +1 -0
- package/workflows/container-contents/documentLocalRelink.js +23 -0
- package/workflows/container-contents/documentLocalRelink.js.map +1 -0
- package/workflows/container-contents/documentMoveDeniedReplay.js +20 -0
- package/workflows/container-contents/documentMoveDeniedReplay.js.map +1 -0
- package/workflows/container-contents/documentMoveFailure.js +35 -0
- package/workflows/container-contents/documentMoveFailure.js.map +1 -0
- package/workflows/container-contents/documentMoveIntent.js +77 -0
- package/workflows/container-contents/documentMoveIntent.js.map +1 -0
- package/workflows/container-contents/documentMoveIntentErrors.js +17 -0
- package/workflows/container-contents/documentMoveIntentErrors.js.map +1 -0
- package/workflows/container-contents/documentMoveIntentSettlement.js +25 -0
- package/workflows/container-contents/documentMoveIntentSettlement.js.map +1 -0
- package/workflows/container-contents/documentMoveIntentSync.js +346 -0
- package/workflows/container-contents/documentMoveIntentSync.js.map +1 -0
- package/workflows/container-contents/documentMoveUnlinkIds.js +21 -0
- package/workflows/container-contents/documentMoveUnlinkIds.js.map +1 -0
- package/workflows/container-contents/documentMoveVanishedRefresh.js +100 -0
- package/workflows/container-contents/documentMoveVanishedRefresh.js.map +1 -0
- package/workflows/container-contents/documentPriming.js +248 -0
- package/workflows/container-contents/documentPriming.js.map +1 -0
- package/workflows/container-contents/documentPurge.d.ts +31 -0
- package/workflows/container-contents/documentPurge.js +129 -0
- package/workflows/container-contents/documentPurge.js.map +1 -0
- package/workflows/container-contents/documentQueries/rows.js +113 -0
- package/workflows/container-contents/documentQueries/rows.js.map +1 -0
- package/workflows/container-contents/documentQueries/sql.js +337 -0
- package/workflows/container-contents/documentQueries/sql.js.map +1 -0
- package/workflows/container-contents/documentQueries/types.d.ts +99 -0
- package/workflows/container-contents/documentQueries/types.js +2 -0
- package/workflows/container-contents/documentQueries/types.js.map +1 -0
- package/workflows/container-contents/documentQueries.d.ts +57 -0
- package/workflows/container-contents/documentQueries.js +205 -0
- package/workflows/container-contents/documentQueries.js.map +1 -0
- package/workflows/container-contents/documentRuntimeTargetSync.js +55 -0
- package/workflows/container-contents/documentRuntimeTargetSync.js.map +1 -0
- package/workflows/container-contents/documentStructure.d.ts +53 -0
- package/workflows/container-contents/documentStructure.js +183 -0
- package/workflows/container-contents/documentStructure.js.map +1 -0
- package/workflows/container-contents/documentStructureTypes.d.ts +32 -0
- package/workflows/container-contents/documentStructureTypes.js +2 -0
- package/workflows/container-contents/documentStructureTypes.js.map +1 -0
- package/workflows/container-contents/documentSubtreeQueries.js +169 -0
- package/workflows/container-contents/documentSubtreeQueries.js.map +1 -0
- package/workflows/container-contents/documentTombstoneEvidence.js +162 -0
- package/workflows/container-contents/documentTombstoneEvidence.js.map +1 -0
- package/workflows/container-contents/documentTombstoneGate.js +94 -0
- package/workflows/container-contents/documentTombstoneGate.js.map +1 -0
- package/workflows/container-contents/folderRecovery.d.ts +19 -0
- package/workflows/container-contents/folderRecovery.js +32 -0
- package/workflows/container-contents/folderRecovery.js.map +1 -0
- package/workflows/container-contents/index.d.ts +20 -0
- package/workflows/container-contents/index.js +19 -0
- package/workflows/container-contents/index.js.map +1 -0
- package/workflows/container-contents/localState.js +17 -0
- package/workflows/container-contents/localState.js.map +1 -0
- package/workflows/container-contents/metadata.d.ts +25 -0
- package/workflows/container-contents/metadata.js +217 -0
- package/workflows/container-contents/metadata.js.map +1 -0
- package/workflows/container-contents/metadataEvents.d.ts +7 -0
- package/workflows/container-contents/metadataEvents.js +47 -0
- package/workflows/container-contents/metadataEvents.js.map +1 -0
- package/workflows/container-contents/metadataIncomingUpdateIsolation.js +40 -0
- package/workflows/container-contents/metadataIncomingUpdateIsolation.js.map +1 -0
- package/workflows/container-contents/metadataMutationPreparation.d.ts +75 -0
- package/workflows/container-contents/metadataMutationPreparation.js +177 -0
- package/workflows/container-contents/metadataMutationPreparation.js.map +1 -0
- package/workflows/container-contents/metadataPersistence.d.ts +34 -0
- package/workflows/container-contents/metadataPersistence.js +254 -0
- package/workflows/container-contents/metadataPersistence.js.map +1 -0
- package/workflows/container-contents/metadataPullContinuationInvalidation.js +65 -0
- package/workflows/container-contents/metadataPullContinuationInvalidation.js.map +1 -0
- package/workflows/container-contents/metadataReadState.d.ts +2 -0
- package/workflows/container-contents/metadataReadState.js +11 -0
- package/workflows/container-contents/metadataReadState.js.map +1 -0
- package/workflows/container-contents/metadataRecord.js +43 -0
- package/workflows/container-contents/metadataRecord.js.map +1 -0
- package/workflows/container-contents/metadataRemoteSync.d.ts +38 -0
- package/workflows/container-contents/metadataRemoteSync.js +91 -0
- package/workflows/container-contents/metadataRemoteSync.js.map +1 -0
- package/workflows/container-contents/metadataStateInstallation.d.ts +3 -0
- package/workflows/container-contents/metadataStateInstallation.js +5 -0
- package/workflows/container-contents/metadataStateInstallation.js.map +1 -0
- package/workflows/container-contents/metadataStateIsolation.js +80 -0
- package/workflows/container-contents/metadataStateIsolation.js.map +1 -0
- package/workflows/container-contents/metadataSyncErrors.js +41 -0
- package/workflows/container-contents/metadataSyncErrors.js.map +1 -0
- package/workflows/container-contents/metadataSyncFollowup.js +11 -0
- package/workflows/container-contents/metadataSyncFollowup.js.map +1 -0
- package/workflows/container-contents/metadataSyncRegistrations.d.ts +4 -0
- package/workflows/container-contents/metadataSyncRegistrations.js +35 -0
- package/workflows/container-contents/metadataSyncRegistrations.js.map +1 -0
- package/workflows/container-contents/metadataSyncSettlement.d.ts +13 -0
- package/workflows/container-contents/metadataSyncSettlement.js +27 -0
- package/workflows/container-contents/metadataSyncSettlement.js.map +1 -0
- package/workflows/container-contents/metadataTypes.d.ts +54 -0
- package/workflows/container-contents/metadataTypes.js +2 -0
- package/workflows/container-contents/metadataTypes.js.map +1 -0
- package/workflows/container-contents/orphanedDocumentSql.js +39 -0
- package/workflows/container-contents/orphanedDocumentSql.js.map +1 -0
- package/workflows/container-contents/pendingWrites/aggregation.js +138 -0
- package/workflows/container-contents/pendingWrites/aggregation.js.map +1 -0
- package/workflows/container-contents/pendingWrites/deferredTails.js +213 -0
- package/workflows/container-contents/pendingWrites/deferredTails.js.map +1 -0
- package/workflows/container-contents/pendingWrites/rowReaders.js +12 -0
- package/workflows/container-contents/pendingWrites/rowReaders.js.map +1 -0
- package/workflows/container-contents/pendingWrites/sources.js +437 -0
- package/workflows/container-contents/pendingWrites/sources.js.map +1 -0
- package/workflows/container-contents/pendingWrites.d.ts +26 -0
- package/workflows/container-contents/pendingWrites.js +113 -0
- package/workflows/container-contents/pendingWrites.js.map +1 -0
- package/workflows/container-contents/pendingWritesTypes.d.ts +36 -0
- package/workflows/container-contents/pendingWritesTypes.js +2 -0
- package/workflows/container-contents/pendingWritesTypes.js.map +1 -0
- package/workflows/container-contents/projectionGeneration.js +10 -0
- package/workflows/container-contents/projectionGeneration.js.map +1 -0
- package/workflows/container-contents/projectionKeys.d.ts +15 -0
- package/workflows/container-contents/projectionKeys.js +25 -0
- package/workflows/container-contents/projectionKeys.js.map +1 -0
- package/workflows/container-contents/projectionView.js +25 -0
- package/workflows/container-contents/projectionView.js.map +1 -0
- package/workflows/container-contents/remoteContainerPageHydration.js +244 -0
- package/workflows/container-contents/remoteContainerPageHydration.js.map +1 -0
- package/workflows/container-contents/remoteContainerState.js +260 -0
- package/workflows/container-contents/remoteContainerState.js.map +1 -0
- package/workflows/container-contents/remoteHydration/childIndex.js +36 -0
- package/workflows/container-contents/remoteHydration/childIndex.js.map +1 -0
- package/workflows/container-contents/remoteHydration/completeHydration.js +25 -0
- package/workflows/container-contents/remoteHydration/completeHydration.js.map +1 -0
- package/workflows/container-contents/remoteHydration/containerStateFingerprint.js +14 -0
- package/workflows/container-contents/remoteHydration/containerStateFingerprint.js.map +1 -0
- package/workflows/container-contents/remoteHydration/destinationPrefetch.js +26 -0
- package/workflows/container-contents/remoteHydration/destinationPrefetch.js.map +1 -0
- package/workflows/container-contents/remoteHydration/destinationRoleCache.js +39 -0
- package/workflows/container-contents/remoteHydration/destinationRoleCache.js.map +1 -0
- package/workflows/container-contents/remoteHydration/destinationRootReload.js +10 -0
- package/workflows/container-contents/remoteHydration/destinationRootReload.js.map +1 -0
- package/workflows/container-contents/remoteHydration/heldContainerRebind.js +36 -0
- package/workflows/container-contents/remoteHydration/heldContainerRebind.js.map +1 -0
- package/workflows/container-contents/remoteHydration/insertRemoteContainer.js +135 -0
- package/workflows/container-contents/remoteHydration/insertRemoteContainer.js.map +1 -0
- package/workflows/container-contents/remoteHydration/laneFetchMarkers.js +27 -0
- package/workflows/container-contents/remoteHydration/laneFetchMarkers.js.map +1 -0
- package/workflows/container-contents/remoteHydration/parentLaneFetch.js +61 -0
- package/workflows/container-contents/remoteHydration/parentLaneFetch.js.map +1 -0
- package/workflows/container-contents/remoteHydration/parentLaneQueue.js +30 -0
- package/workflows/container-contents/remoteHydration/parentLaneQueue.js.map +1 -0
- package/workflows/container-contents/remoteHydration/principalPolicyCache.js +26 -0
- package/workflows/container-contents/remoteHydration/principalPolicyCache.js.map +1 -0
- package/workflows/container-contents/remoteHydration/reattachMetadata.js +49 -0
- package/workflows/container-contents/remoteHydration/reattachMetadata.js.map +1 -0
- package/workflows/container-contents/remoteHydration/reconciliation.js +322 -0
- package/workflows/container-contents/remoteHydration/reconciliation.js.map +1 -0
- package/workflows/container-contents/remoteHydration/remoteContainerTimestamps.js +31 -0
- package/workflows/container-contents/remoteHydration/remoteContainerTimestamps.js.map +1 -0
- package/workflows/container-contents/remoteHydration/replacementBinding.js +75 -0
- package/workflows/container-contents/remoteHydration/replacementBinding.js.map +1 -0
- package/workflows/container-contents/remoteHydration/tombstoneApplication.js +149 -0
- package/workflows/container-contents/remoteHydration/tombstoneApplication.js.map +1 -0
- package/workflows/container-contents/remoteHydration/tombstoneReasons.js +108 -0
- package/workflows/container-contents/remoteHydration/tombstoneReasons.js.map +1 -0
- package/workflows/container-contents/remoteHydration/types.d.ts +90 -0
- package/workflows/container-contents/remoteHydration/types.js +2 -0
- package/workflows/container-contents/remoteHydration/types.js.map +1 -0
- package/workflows/container-contents/remoteHydration/verifiedDestination.js +294 -0
- package/workflows/container-contents/remoteHydration/verifiedDestination.js.map +1 -0
- package/workflows/container-contents/remoteHydration.d.ts +28 -0
- package/workflows/container-contents/remoteHydration.js +302 -0
- package/workflows/container-contents/remoteHydration.js.map +1 -0
- package/workflows/container-contents/remoteHydrationLog.js +20 -0
- package/workflows/container-contents/remoteHydrationLog.js.map +1 -0
- package/workflows/container-contents/runtime.d.ts +69 -0
- package/workflows/container-contents/runtime.js +45 -0
- package/workflows/container-contents/runtime.js.map +1 -0
- package/workflows/container-contents/staleRootRecovery.js +111 -0
- package/workflows/container-contents/staleRootRecovery.js.map +1 -0
- package/workflows/container-contents/storedContainerState.js +84 -0
- package/workflows/container-contents/storedContainerState.js.map +1 -0
- package/workflows/container-contents/syncLane.d.ts +12 -0
- package/workflows/container-contents/syncLane.js +20 -0
- package/workflows/container-contents/syncLane.js.map +1 -0
- package/workflows/container-contents/syncState.d.ts +16 -0
- package/workflows/container-contents/syncState.js +28 -0
- package/workflows/container-contents/syncState.js.map +1 -0
- package/workflows/container-contents/systemSlot.d.ts +11 -0
- package/workflows/container-contents/systemSlot.js +19 -0
- package/workflows/container-contents/systemSlot.js.map +1 -0
- package/workflows/containers/child/carriedDescendantRekeys.js +118 -0
- package/workflows/containers/child/carriedDescendantRekeys.js.map +1 -0
- package/workflows/containers/child/create.d.ts +24 -0
- package/workflows/containers/child/create.js +337 -0
- package/workflows/containers/child/create.js.map +1 -0
- package/workflows/containers/child/createProjection.d.ts +6 -0
- package/workflows/containers/child/createProjection.js +43 -0
- package/workflows/containers/child/createProjection.js.map +1 -0
- package/workflows/containers/child/createSubmission.d.ts +58 -0
- package/workflows/containers/child/createSubmission.js +45 -0
- package/workflows/containers/child/createSubmission.js.map +1 -0
- package/workflows/containers/child/keyringOverrideLineage.d.ts +22 -0
- package/workflows/containers/child/keyringOverrideLineage.js +39 -0
- package/workflows/containers/child/keyringOverrideLineage.js.map +1 -0
- package/workflows/containers/child/move.d.ts +23 -0
- package/workflows/containers/child/move.js +268 -0
- package/workflows/containers/child/move.js.map +1 -0
- package/workflows/containers/child/moveArtifacts.js +102 -0
- package/workflows/containers/child/moveArtifacts.js.map +1 -0
- package/workflows/containers/child/moveRotation.js +88 -0
- package/workflows/containers/child/moveRotation.js.map +1 -0
- package/workflows/containers/child/moveWraps.js +49 -0
- package/workflows/containers/child/moveWraps.js.map +1 -0
- package/workflows/containers/child/mutationRequestCore.js +39 -0
- package/workflows/containers/child/mutationRequestCore.js.map +1 -0
- package/workflows/containers/child/mutationSubmit.js +122 -0
- package/workflows/containers/child/mutationSubmit.js.map +1 -0
- package/workflows/containers/child/policyRepair.js +23 -0
- package/workflows/containers/child/policyRepair.js.map +1 -0
- package/workflows/containers/child/recite.js +175 -0
- package/workflows/containers/child/recite.js.map +1 -0
- package/workflows/containers/child/recitePlan.js +80 -0
- package/workflows/containers/child/recitePlan.js.map +1 -0
- package/workflows/containers/child/rekey.d.ts +32 -0
- package/workflows/containers/child/rekey.js +227 -0
- package/workflows/containers/child/rekey.js.map +1 -0
- package/workflows/containers/child/rekeyProjection.d.ts +41 -0
- package/workflows/containers/child/rekeyProjection.js +110 -0
- package/workflows/containers/child/rekeyProjection.js.map +1 -0
- package/workflows/containers/child/rekeyRemote.d.ts +24 -0
- package/workflows/containers/child/rekeyRemote.js +64 -0
- package/workflows/containers/child/rekeyRemote.js.map +1 -0
- package/workflows/containers/child/revoke.d.ts +44 -0
- package/workflows/containers/child/revoke.js +229 -0
- package/workflows/containers/child/revoke.js.map +1 -0
- package/workflows/containers/child/revokeManifest.d.ts +12 -0
- package/workflows/containers/child/revokeManifest.js +48 -0
- package/workflows/containers/child/revokeManifest.js.map +1 -0
- package/workflows/containers/child/rotationContext.js +64 -0
- package/workflows/containers/child/rotationContext.js.map +1 -0
- package/workflows/containers/child/rotationPrincipalPolicies.js +19 -0
- package/workflows/containers/child/rotationPrincipalPolicies.js.map +1 -0
- package/workflows/containers/child/rotationWraps.js +85 -0
- package/workflows/containers/child/rotationWraps.js.map +1 -0
- package/workflows/containers/child/share.d.ts +65 -0
- package/workflows/containers/child/share.js +265 -0
- package/workflows/containers/child/share.js.map +1 -0
- package/workflows/containers/child/shareAncestorRepair.js +95 -0
- package/workflows/containers/child/shareAncestorRepair.js.map +1 -0
- package/workflows/containers/child/shareMaterialization.d.ts +25 -0
- package/workflows/containers/child/shareMaterialization.js +164 -0
- package/workflows/containers/child/shareMaterialization.js.map +1 -0
- package/workflows/containers/child/sharePlanCore.d.ts +82 -0
- package/workflows/containers/child/sharePlanCore.js +191 -0
- package/workflows/containers/child/sharePlanCore.js.map +1 -0
- package/workflows/containers/child/sharePrincipalPolicy.d.ts +50 -0
- package/workflows/containers/child/sharePrincipalPolicy.js +194 -0
- package/workflows/containers/child/sharePrincipalPolicy.js.map +1 -0
- package/workflows/containers/index.d.ts +22 -0
- package/workflows/containers/index.js +27 -0
- package/workflows/containers/index.js.map +1 -0
- package/workflows/containers/mutationResponse.d.ts +13 -0
- package/workflows/containers/mutationResponse.js +29 -0
- package/workflows/containers/mutationResponse.js.map +1 -0
- package/workflows/containers/root/create.d.ts +16 -0
- package/workflows/containers/root/create.js +290 -0
- package/workflows/containers/root/create.js.map +1 -0
- package/workflows/containers/root/initialGroupPolicy.js +35 -0
- package/workflows/containers/root/initialGroupPolicy.js.map +1 -0
- package/workflows/containers/writeRefusal.d.ts +22 -0
- package/workflows/containers/writeRefusal.js +32 -0
- package/workflows/containers/writeRefusal.js.map +1 -0
- package/workflows/documents/attachmentPersistence.d.ts +58 -0
- package/workflows/documents/attachmentPersistence.js +31 -0
- package/workflows/documents/attachmentPersistence.js.map +1 -0
- package/workflows/documents/author.d.ts +15 -0
- package/workflows/documents/author.js +17 -0
- package/workflows/documents/author.js.map +1 -0
- package/workflows/documents/authorAccessFailure.js +14 -0
- package/workflows/documents/authorAccessFailure.js.map +1 -0
- package/workflows/documents/blobMutationLock.d.ts +8 -0
- package/workflows/documents/blobMutationLock.js +35 -0
- package/workflows/documents/blobMutationLock.js.map +1 -0
- package/workflows/documents/create.d.ts +69 -0
- package/workflows/documents/create.js +313 -0
- package/workflows/documents/create.js.map +1 -0
- package/workflows/documents/createAdoption.js +100 -0
- package/workflows/documents/createAdoption.js.map +1 -0
- package/workflows/documents/createProjectionFetch.d.ts +27 -0
- package/workflows/documents/createProjectionFetch.js +26 -0
- package/workflows/documents/createProjectionFetch.js.map +1 -0
- package/workflows/documents/documentCreationPersistence.js +16 -0
- package/workflows/documents/documentCreationPersistence.js.map +1 -0
- package/workflows/documents/documentMutationCommit.d.ts +32 -0
- package/workflows/documents/documentMutationCommit.js +296 -0
- package/workflows/documents/documentMutationCommit.js.map +1 -0
- package/workflows/documents/documentMutationPreparation.d.ts +31 -0
- package/workflows/documents/documentMutationPreparation.js +146 -0
- package/workflows/documents/documentMutationPreparation.js.map +1 -0
- package/workflows/documents/documentPersistGuards.js +15 -0
- package/workflows/documents/documentPersistGuards.js.map +1 -0
- package/workflows/documents/historyContent.d.ts +28 -0
- package/workflows/documents/historyContent.js +56 -0
- package/workflows/documents/historyContent.js.map +1 -0
- package/workflows/documents/index.d.ts +35 -0
- package/workflows/documents/index.js +31 -0
- package/workflows/documents/index.js.map +1 -0
- package/workflows/documents/initialSync.js +65 -0
- package/workflows/documents/initialSync.js.map +1 -0
- package/workflows/documents/linkSet.d.ts +18 -0
- package/workflows/documents/linkSet.js +288 -0
- package/workflows/documents/linkSet.js.map +1 -0
- package/workflows/documents/linkSetAuthority.js +61 -0
- package/workflows/documents/linkSetAuthority.js.map +1 -0
- package/workflows/documents/linkSetBlobRewraps.js +141 -0
- package/workflows/documents/linkSetBlobRewraps.js.map +1 -0
- package/workflows/documents/linkSetProjectionSeed.js +119 -0
- package/workflows/documents/linkSetProjectionSeed.js.map +1 -0
- package/workflows/documents/linkSetRemote.d.ts +20 -0
- package/workflows/documents/linkSetRemote.js +184 -0
- package/workflows/documents/linkSetRemote.js.map +1 -0
- package/workflows/documents/orphanBlobReclaims.d.ts +5 -0
- package/workflows/documents/orphanBlobReclaims.js +141 -0
- package/workflows/documents/orphanBlobReclaims.js.map +1 -0
- package/workflows/documents/pendingUpdatePersistence.d.ts +22 -0
- package/workflows/documents/pendingUpdatePersistence.js +22 -0
- package/workflows/documents/pendingUpdatePersistence.js.map +1 -0
- package/workflows/documents/persistedDocumentRemoval.d.ts +44 -0
- package/workflows/documents/persistedDocumentRemoval.js +70 -0
- package/workflows/documents/persistedDocumentRemoval.js.map +1 -0
- package/workflows/documents/persistence.d.ts +23 -0
- package/workflows/documents/persistence.js +54 -0
- package/workflows/documents/persistence.js.map +1 -0
- package/workflows/documents/projectionKeys.d.ts +14 -0
- package/workflows/documents/projectionKeys.js +22 -0
- package/workflows/documents/projectionKeys.js.map +1 -0
- package/workflows/documents/purge.d.ts +46 -0
- package/workflows/documents/purge.js +184 -0
- package/workflows/documents/purge.js.map +1 -0
- package/workflows/documents/readOnlyProjectionFailure.js +30 -0
- package/workflows/documents/readOnlyProjectionFailure.js.map +1 -0
- package/workflows/documents/readOnlySync.d.ts +71 -0
- package/workflows/documents/readOnlySync.js +269 -0
- package/workflows/documents/readOnlySync.js.map +1 -0
- package/workflows/documents/reportDocumentSyncQuarantine.js +19 -0
- package/workflows/documents/reportDocumentSyncQuarantine.js.map +1 -0
- package/workflows/documents/rotationBaseline.js +76 -0
- package/workflows/documents/rotationBaseline.js.map +1 -0
- package/workflows/documents/runtime.d.ts +38 -0
- package/workflows/documents/runtime.js +19 -0
- package/workflows/documents/runtime.js.map +1 -0
- package/workflows/documents/sync.d.ts +4 -0
- package/workflows/documents/sync.js +285 -0
- package/workflows/documents/sync.js.map +1 -0
- package/workflows/documents/syncAbandon.js +51 -0
- package/workflows/documents/syncAbandon.js.map +1 -0
- package/workflows/documents/syncAttemptPlanning.js +79 -0
- package/workflows/documents/syncAttemptPlanning.js.map +1 -0
- package/workflows/documents/syncAttemptState.d.ts +27 -0
- package/workflows/documents/syncAttemptState.js +2 -0
- package/workflows/documents/syncAttemptState.js.map +1 -0
- package/workflows/documents/syncAutomaticContainerRekeys.js +119 -0
- package/workflows/documents/syncAutomaticContainerRekeys.js.map +1 -0
- package/workflows/documents/syncContainerRekeyPreparation.js +227 -0
- package/workflows/documents/syncContainerRekeyPreparation.js.map +1 -0
- package/workflows/documents/syncContainerRekeyProjection.js +79 -0
- package/workflows/documents/syncContainerRekeyProjection.js.map +1 -0
- package/workflows/documents/syncContainerRekeys.js +72 -0
- package/workflows/documents/syncContainerRekeys.js.map +1 -0
- package/workflows/documents/syncContentKeys.d.ts +39 -0
- package/workflows/documents/syncContentKeys.js +259 -0
- package/workflows/documents/syncContentKeys.js.map +1 -0
- package/workflows/documents/syncFailureClassification.d.ts +74 -0
- package/workflows/documents/syncFailureClassification.js +120 -0
- package/workflows/documents/syncFailureClassification.js.map +1 -0
- package/workflows/documents/syncFailureClearance.d.ts +17 -0
- package/workflows/documents/syncFailureClearance.js +12 -0
- package/workflows/documents/syncFailureClearance.js.map +1 -0
- package/workflows/documents/syncFailures.js +252 -0
- package/workflows/documents/syncFailures.js.map +1 -0
- package/workflows/documents/syncLane.d.ts +19 -0
- package/workflows/documents/syncLane.js +93 -0
- package/workflows/documents/syncLane.js.map +1 -0
- package/workflows/documents/syncPlanIdentity.js +203 -0
- package/workflows/documents/syncPlanIdentity.js.map +1 -0
- package/workflows/documents/syncPlanMaterial.js +306 -0
- package/workflows/documents/syncPlanMaterial.js.map +1 -0
- package/workflows/documents/syncPlanProjection.js +24 -0
- package/workflows/documents/syncPlanProjection.js.map +1 -0
- package/workflows/documents/syncPlanRequestBounds.js +54 -0
- package/workflows/documents/syncPlanRequestBounds.js.map +1 -0
- package/workflows/documents/syncPolicyRepair.js +48 -0
- package/workflows/documents/syncPolicyRepair.js.map +1 -0
- package/workflows/documents/syncRecoveryRekey.d.ts +70 -0
- package/workflows/documents/syncRecoveryRekey.js +120 -0
- package/workflows/documents/syncRecoveryRekey.js.map +1 -0
- package/workflows/documents/syncRekeyCommit.js +18 -0
- package/workflows/documents/syncRekeyCommit.js.map +1 -0
- package/workflows/documents/syncRepairAbandon.js +27 -0
- package/workflows/documents/syncRepairAbandon.js.map +1 -0
- package/workflows/documents/syncRepairAccess.js +42 -0
- package/workflows/documents/syncRepairAccess.js.map +1 -0
- package/workflows/documents/syncResponseResult.js +134 -0
- package/workflows/documents/syncResponseResult.js.map +1 -0
- package/workflows/documents/syncSubmittedResult.js +119 -0
- package/workflows/documents/syncSubmittedResult.js.map +1 -0
- package/workflows/documents/syncTrace.d.ts +75 -0
- package/workflows/documents/syncTrace.js +148 -0
- package/workflows/documents/syncTrace.js.map +1 -0
- package/workflows/documents/writerKeys.d.ts +14 -0
- package/workflows/documents/writerKeys.js +55 -0
- package/workflows/documents/writerKeys.js.map +1 -0
- package/workflows/organizations/billing.d.ts +111 -0
- package/workflows/organizations/billing.js +92 -0
- package/workflows/organizations/billing.js.map +1 -0
- package/workflows/organizations/containerGrantRevocation.d.ts +31 -0
- package/workflows/organizations/containerGrantRevocation.js +37 -0
- package/workflows/organizations/containerGrantRevocation.js.map +1 -0
- package/workflows/organizations/createOrganization.d.ts +59 -0
- package/workflows/organizations/createOrganization.js +127 -0
- package/workflows/organizations/createOrganization.js.map +1 -0
- package/workflows/organizations/dataUsageReadModel.d.ts +19 -0
- package/workflows/organizations/dataUsageReadModel.js +64 -0
- package/workflows/organizations/dataUsageReadModel.js.map +1 -0
- package/workflows/organizations/deleteOrganizationGroup.d.ts +18 -0
- package/workflows/organizations/deleteOrganizationGroup.js +64 -0
- package/workflows/organizations/deleteOrganizationGroup.js.map +1 -0
- package/workflows/organizations/groupCreation.d.ts +20 -0
- package/workflows/organizations/groupCreation.js +59 -0
- package/workflows/organizations/groupCreation.js.map +1 -0
- package/workflows/organizations/groupMembershipName.d.ts +8 -0
- package/workflows/organizations/groupMembershipName.js +18 -0
- package/workflows/organizations/groupMembershipName.js.map +1 -0
- package/workflows/organizations/groupMetadataAccess.d.ts +33 -0
- package/workflows/organizations/groupMetadataAccess.js +114 -0
- package/workflows/organizations/groupMetadataAccess.js.map +1 -0
- package/workflows/organizations/groupMetadataBinding.js +19 -0
- package/workflows/organizations/groupMetadataBinding.js.map +1 -0
- package/workflows/organizations/groupMetadataContainerAuthority.js +86 -0
- package/workflows/organizations/groupMetadataContainerAuthority.js.map +1 -0
- package/workflows/organizations/groupMetadataErrors.js +40 -0
- package/workflows/organizations/groupMetadataErrors.js.map +1 -0
- package/workflows/organizations/groupMetadataRuntime.js +28 -0
- package/workflows/organizations/groupMetadataRuntime.js.map +1 -0
- package/workflows/organizations/groupMutationAuthorization.js +10 -0
- package/workflows/organizations/groupMutationAuthorization.js.map +1 -0
- package/workflows/organizations/groupNameUniqueness.js +151 -0
- package/workflows/organizations/groupNameUniqueness.js.map +1 -0
- package/workflows/organizations/groupPolicyMutationAcknowledgement.js +239 -0
- package/workflows/organizations/groupPolicyMutationAcknowledgement.js.map +1 -0
- package/workflows/organizations/groupPolicyMutationContext.d.ts +95 -0
- package/workflows/organizations/groupPolicyMutationContext.js +228 -0
- package/workflows/organizations/groupPolicyMutationContext.js.map +1 -0
- package/workflows/organizations/groupPolicyMutationHead.js +26 -0
- package/workflows/organizations/groupPolicyMutationHead.js.map +1 -0
- package/workflows/organizations/groupPolicyRequests.js +175 -0
- package/workflows/organizations/groupPolicyRequests.js.map +1 -0
- package/workflows/organizations/groupPolicyVerification.js +74 -0
- package/workflows/organizations/groupPolicyVerification.js.map +1 -0
- package/workflows/organizations/index.d.ts +15 -0
- package/workflows/organizations/index.js +16 -0
- package/workflows/organizations/index.js.map +1 -0
- package/workflows/organizations/listLocalOrganizations.d.ts +20 -0
- package/workflows/organizations/listLocalOrganizations.js +137 -0
- package/workflows/organizations/listLocalOrganizations.js.map +1 -0
- package/workflows/organizations/loadPolicyHistoryDetails.js +79 -0
- package/workflows/organizations/loadPolicyHistoryDetails.js.map +1 -0
- package/workflows/organizations/localReadModelDetails.d.ts +25 -0
- package/workflows/organizations/localReadModelDetails.js +182 -0
- package/workflows/organizations/localReadModelDetails.js.map +1 -0
- package/workflows/organizations/organizationGroupDirectory.js +147 -0
- package/workflows/organizations/organizationGroupDirectory.js.map +1 -0
- package/workflows/organizations/organizationGroupNamePolicies.js +34 -0
- package/workflows/organizations/organizationGroupNamePolicies.js.map +1 -0
- package/workflows/organizations/organizationGroupNames.js +53 -0
- package/workflows/organizations/organizationGroupNames.js.map +1 -0
- package/workflows/organizations/organizationPolicyHistoryDetails.js +88 -0
- package/workflows/organizations/organizationPolicyHistoryDetails.js.map +1 -0
- package/workflows/organizations/organizationPolicyHistoryVerification.js +80 -0
- package/workflows/organizations/organizationPolicyHistoryVerification.js.map +1 -0
- package/workflows/organizations/organizationPresentationAccessState.js +173 -0
- package/workflows/organizations/organizationPresentationAccessState.js.map +1 -0
- package/workflows/organizations/organizationPresentationFailures.js +7 -0
- package/workflows/organizations/organizationPresentationFailures.js.map +1 -0
- package/workflows/organizations/organizationProfile.d.ts +16 -0
- package/workflows/organizations/organizationProfile.js +36 -0
- package/workflows/organizations/organizationProfile.js.map +1 -0
- package/workflows/organizations/organizationProvisioningAttempt.d.ts +36 -0
- package/workflows/organizations/organizationProvisioningAttempt.js +205 -0
- package/workflows/organizations/organizationProvisioningAttempt.js.map +1 -0
- package/workflows/organizations/organizationReplacementVerification.js +26 -0
- package/workflows/organizations/organizationReplacementVerification.js.map +1 -0
- package/workflows/organizations/organizationUserImport.d.ts +8 -0
- package/workflows/organizations/organizationUserImport.js +10 -0
- package/workflows/organizations/organizationUserImport.js.map +1 -0
- package/workflows/organizations/policyHistoryAccessDenial.js +19 -0
- package/workflows/organizations/policyHistoryAccessDenial.js.map +1 -0
- package/workflows/organizations/policyHistoryCache.js +39 -0
- package/workflows/organizations/policyHistoryCache.js.map +1 -0
- package/workflows/organizations/policyHistoryReadModel.d.ts +9 -0
- package/workflows/organizations/policyHistoryReadModel.js +98 -0
- package/workflows/organizations/policyHistoryReadModel.js.map +1 -0
- package/workflows/organizations/policyHistoryTypes.d.ts +54 -0
- package/workflows/organizations/policyHistoryTypes.js +2 -0
- package/workflows/organizations/policyHistoryTypes.js.map +1 -0
- package/workflows/organizations/principalContainerRematerialization.js +279 -0
- package/workflows/organizations/principalContainerRematerialization.js.map +1 -0
- package/workflows/organizations/principalContainerRematerializationPlanning.js +71 -0
- package/workflows/organizations/principalContainerRematerializationPlanning.js.map +1 -0
- package/workflows/organizations/principalContainerRematerializationTargets.js +90 -0
- package/workflows/organizations/principalContainerRematerializationTargets.js.map +1 -0
- package/workflows/organizations/principalPolicy.d.ts +98 -0
- package/workflows/organizations/principalPolicy.js +256 -0
- package/workflows/organizations/principalPolicy.js.map +1 -0
- package/workflows/organizations/principalPolicyRecipients.js +43 -0
- package/workflows/organizations/principalPolicyRecipients.js.map +1 -0
- package/workflows/organizations/principalPolicyRequest.d.ts +67 -0
- package/workflows/organizations/principalPolicyRequest.js +176 -0
- package/workflows/organizations/principalPolicyRequest.js.map +1 -0
- package/workflows/organizations/readModel.d.ts +65 -0
- package/workflows/organizations/readModel.js +10 -0
- package/workflows/organizations/readModel.js.map +1 -0
- package/workflows/organizations/readModelProjection.d.ts +39 -0
- package/workflows/organizations/readModelProjection.js +255 -0
- package/workflows/organizations/readModelProjection.js.map +1 -0
- package/workflows/organizations/rosterProfileContainer.d.ts +23 -0
- package/workflows/organizations/rosterProfileContainer.js +41 -0
- package/workflows/organizations/rosterProfileContainer.js.map +1 -0
- package/workflows/organizations/trustedOrganizationUsers.js +16 -0
- package/workflows/organizations/trustedOrganizationUsers.js.map +1 -0
- package/workflows/principals/externalAdminPolicy.d.ts +29 -0
- package/workflows/principals/externalAdminPolicy.js +176 -0
- package/workflows/principals/externalAdminPolicy.js.map +1 -0
- package/workflows/principals/index.d.ts +4 -0
- package/workflows/principals/index.js +5 -0
- package/workflows/principals/index.js.map +1 -0
- package/workflows/principals/policyCache.d.ts +19 -0
- package/workflows/principals/policyCache.js +242 -0
- package/workflows/principals/policyCache.js.map +1 -0
- package/workflows/principals/policyRepairBudget.d.ts +7 -0
- package/workflows/principals/policyRepairBudget.js +17 -0
- package/workflows/principals/policyRepairBudget.js.map +1 -0
- package/workflows/principals/policyVerification.js +51 -0
- package/workflows/principals/policyVerification.js.map +1 -0
- package/workflows/principals/principalHistoryRecoveryPrefix.js +65 -0
- package/workflows/principals/principalHistoryRecoveryPrefix.js.map +1 -0
- package/workflows/principals/principalHistoryRecoveryReferences.js +60 -0
- package/workflows/principals/principalHistoryRecoveryReferences.js.map +1 -0
- package/workflows/principals/principalHistoryRecoveryStage.js +61 -0
- package/workflows/principals/principalHistoryRecoveryStage.js.map +1 -0
- package/workflows/principals/principalHistoryRecoveryTypes.d.ts +34 -0
- package/workflows/principals/principalHistoryRecoveryTypes.js +16 -0
- package/workflows/principals/principalHistoryRecoveryTypes.js.map +1 -0
- package/workflows/principals/principalHistoryRecoveryVerification.js +24 -0
- package/workflows/principals/principalHistoryRecoveryVerification.js.map +1 -0
- package/workflows/principals/principalPolicyCacheAdvance.js +39 -0
- package/workflows/principals/principalPolicyCacheAdvance.js.map +1 -0
- package/workflows/principals/principalPolicyCacheScope.js +34 -0
- package/workflows/principals/principalPolicyCacheScope.js.map +1 -0
- package/workflows/principals/principalPolicyCacheValidation.js +149 -0
- package/workflows/principals/principalPolicyCacheValidation.js.map +1 -0
- package/workflows/principals/principalPolicyOrganizationScope.js +67 -0
- package/workflows/principals/principalPolicyOrganizationScope.js.map +1 -0
- package/workflows/principals/principalRecoveryDirectory.d.ts +10 -0
- package/workflows/principals/principalRecoveryDirectory.js +107 -0
- package/workflows/principals/principalRecoveryDirectory.js.map +1 -0
- package/workflows/principals/principalRecoveryMemo.js +46 -0
- package/workflows/principals/principalRecoveryMemo.js.map +1 -0
- package/workflows/principals/principalRecoveryOutage.js +40 -0
- package/workflows/principals/principalRecoveryOutage.js.map +1 -0
- package/workflows/principals/principalRecoveryQueue.js +22 -0
- package/workflows/principals/principalRecoveryQueue.js.map +1 -0
- package/workflows/principals/recoverPrincipalPolicyHistory.d.ts +7 -0
- package/workflows/principals/recoverPrincipalPolicyHistory.js +245 -0
- package/workflows/principals/recoverPrincipalPolicyHistory.js.map +1 -0
- package/workflows/principals/recoverScopedPrincipalPolicyHistory.d.ts +13 -0
- package/workflows/principals/recoverScopedPrincipalPolicyHistory.js +150 -0
- package/workflows/principals/recoverScopedPrincipalPolicyHistory.js.map +1 -0
- package/workflows/principals/runtimePolicyRecovery.js +65 -0
- package/workflows/principals/runtimePolicyRecovery.js.map +1 -0
- package/workflows/principals/runtimePolicyWarmer.js +33 -0
- package/workflows/principals/runtimePolicyWarmer.js.map +1 -0
- package/workflows/registration/bootstrapRootContainer.d.ts +7 -0
- package/workflows/registration/bootstrapRootContainer.js +33 -0
- package/workflows/registration/bootstrapRootContainer.js.map +1 -0
- package/workflows/registration/index.d.ts +5 -0
- package/workflows/registration/index.js +6 -0
- package/workflows/registration/index.js.map +1 -0
- package/workflows/registration/organizationProvisioningArtifacts.d.ts +60 -0
- package/workflows/registration/organizationProvisioningArtifacts.js +2 -0
- package/workflows/registration/organizationProvisioningArtifacts.js.map +1 -0
- package/workflows/registration/organizationProvisioningPersistence.d.ts +18 -0
- package/workflows/registration/organizationProvisioningPersistence.js +164 -0
- package/workflows/registration/organizationProvisioningPersistence.js.map +1 -0
- package/workflows/registration/persistRegistrationBootstrap.d.ts +93 -0
- package/workflows/registration/persistRegistrationBootstrap.js +204 -0
- package/workflows/registration/persistRegistrationBootstrap.js.map +1 -0
- package/workflows/registration/profileBootstrapPersistence.js +47 -0
- package/workflows/registration/profileBootstrapPersistence.js.map +1 -0
- package/workflows/registration/provisionedProfileDocument.js +34 -0
- package/workflows/registration/provisionedProfileDocument.js.map +1 -0
- package/workflows/registration/provisioningAcknowledgement.js +85 -0
- package/workflows/registration/provisioningAcknowledgement.js.map +1 -0
- package/workflows/registration/provisioningBootstrapBuilders.d.ts +450 -0
- package/workflows/registration/provisioningBootstrapBuilders.js +275 -0
- package/workflows/registration/provisioningBootstrapBuilders.js.map +1 -0
- package/workflows/registration/registerIdentity.d.ts +83 -0
- package/workflows/registration/registerIdentity.js +272 -0
- package/workflows/registration/registerIdentity.js.map +1 -0
- package/workflows/registration/registrationBootstrapPendingUpdates.js +16 -0
- package/workflows/registration/registrationBootstrapPendingUpdates.js.map +1 -0
- package/workflows/registration/registrationPrincipalPolicyPersistence.d.ts +13 -0
- package/workflows/registration/registrationPrincipalPolicyPersistence.js +74 -0
- package/workflows/registration/registrationPrincipalPolicyPersistence.js.map +1 -0
- package/workflows/registration/rootMetadataBootstrap.d.ts +5 -0
- package/workflows/registration/rootMetadataBootstrap.js +13 -0
- package/workflows/registration/rootMetadataBootstrap.js.map +1 -0
- package/workflows/root/dataUsage.d.ts +11 -0
- package/workflows/root/dataUsage.js +8 -0
- package/workflows/root/dataUsage.js.map +1 -0
- package/workflows/root/identities.d.ts +38 -0
- package/workflows/root/identities.js +19 -0
- package/workflows/root/identities.js.map +1 -0
- package/workflows/root/index.d.ts +3 -0
- package/workflows/root/index.js +4 -0
- package/workflows/root/index.js.map +1 -0
- package/workflows/root/organizations.d.ts +19 -0
- package/workflows/root/organizations.js +11 -0
- package/workflows/root/organizations.js.map +1 -0
- package/workflows/runtimeInput.d.ts +61 -0
- package/workflows/runtimeInput.js +2 -0
- package/workflows/runtimeInput.js.map +1 -0
- package/workflows/sync/index.d.ts +4 -0
- package/workflows/sync/index.js +4 -0
- package/workflows/sync/index.js.map +1 -0
- package/workflows/sync/remoteReset.d.ts +16 -0
- package/workflows/sync/remoteReset.js +293 -0
- package/workflows/sync/remoteReset.js.map +1 -0
- package/workflows/sync/remoteResetAttachments.js +26 -0
- package/workflows/sync/remoteResetAttachments.js.map +1 -0
- package/workflows/sync/remoteResetBatches.js +13 -0
- package/workflows/sync/remoteResetBatches.js.map +1 -0
- package/workflows/sync/remoteResetCursorScope.js +44 -0
- package/workflows/sync/remoteResetCursorScope.js.map +1 -0
- package/workflows/sync/remoteResetPlans.d.ts +26 -0
- package/workflows/sync/remoteResetPlans.js +227 -0
- package/workflows/sync/remoteResetPlans.js.map +1 -0
- package/workflows/sync/remoteResetPrincipalScope.d.ts +22 -0
- package/workflows/sync/remoteResetPrincipalScope.js +98 -0
- package/workflows/sync/remoteResetPrincipalScope.js.map +1 -0
- package/workflows/sync/remoteResetScope.d.ts +33 -0
- package/workflows/sync/remoteResetScope.js +121 -0
- package/workflows/sync/remoteResetScope.js.map +1 -0
|
@@ -0,0 +1,844 @@
|
|
|
1
|
+
import { sign } from "../crypto/index.js";
|
|
2
|
+
import { bindBlobAttachmentOperation, blobWireHeaderKeys, cancelStripeSubscriptionOperation, challengeOperation, claimNativeOrganizationSubscriptionOperation, completeMultipartBlobStageOperation, createContainerOperation, createContainerWithMetadataDocumentOperation, createDocumentOperation, createOrganizationGroupOperation, createOrganizationOperation, createStripeCheckoutOperation, createStripeCheckoutSessionOperation, createStripePortalOperation, deleteContainerOperation, deleteOrganizationGroupOperation, destroySessionOperation, detachBlobAttachmentOperation, documentSyncOperation, getContainerKekLogOperation, getContainerReplacementAuthorizationsOperation, getContainerWriterProjectionOperation, getDocumentPurgeProofOperation, getDocumentWriterProjectionOperation, getHealthOperation, getMultipartBlobStageOperation, getOrganizationBillingHistoryOperation, getOrganizationBillingManagementUrlOperation, getOrganizationBillingOperation, getOrganizationDataUsageOperation, getOrganizationNativePurchaseEligibilityOperation, getOrganizationPolicyHistoryOperation, getOrganizationReadModelOperation, getRootIdentityOperation, getRootOrganizationDataUsageOperation, getRootOrganizationOperation, getStripeCheckoutOptionsOperation, initiateMultipartBlobStageOperation, linkDocumentOperation, listContainerDocumentsOperation, listContainerParentLanesOperation, listDocumentAttachmentsOperation, listOrganizationGroupMembersOperation, listRootDataUsageReportOperation, listRootIdentitiesOperation, listRootIdentityOrganizationsOperation, listRootOrganizationIdentitiesOperation, listRootOrganizationsOperation, listSessionsOperation, logoutOperation, moveContainerOperation, purgeDocumentOperation, reciteContainerOperation, registerOperation, rekeyContainerOperation, revokeContainerOperation, shareContainerOperation, startOrganizationTrialOperation, unlinkDocumentOperation, updateOrganizationProfileOperation, updateOrganizationRosterEntryOperation, uploadMultipartBlobPartBytesOperation, userIdentityOperation, verifyOperation, webSocketTicketOperation, } from "../validators/operation/index.js";
|
|
3
|
+
import { BoundedCache } from "./ApiCache.js";
|
|
4
|
+
import { ApiRequestRuntime } from "./apiRequestRuntime.js";
|
|
5
|
+
import { createOperationTransport, } from "./operationTransportFactory.js";
|
|
6
|
+
import { PrincipalPolicyRequests } from "./principalPolicyRequests.js";
|
|
7
|
+
import { ProjectionHistoryTransport } from "./projectionHistoryTransport.js";
|
|
8
|
+
import { bindPrototypeMethods, cachedRequest, dedupedRequest, evictWriterProjectionIfSyncChanged, listContainerDocumentsRequestKey, listContainerParentLanesRequestKey, } from "./requestInternals.js";
|
|
9
|
+
import { destroySession as authDestroySession, listSessions as authListSessions, logout as authLogout, userIdentity as authUserIdentity, } from "./routes/auth/session.js";
|
|
10
|
+
import { bindBlobAttachment as blobAttachmentBind, detachBlobAttachment as blobAttachmentDetach, } from "./routes/blobs/attachments.js";
|
|
11
|
+
import { getBlobBytes, } from "./routes/blobs/get.js";
|
|
12
|
+
import { completeMultipartBlobStage as multipartComplete, getMultipartBlobStage as multipartGet, initiateMultipartBlobStage as multipartInitiate, } from "./routes/blobs/multipart.js";
|
|
13
|
+
import { containerCreate, containerCreateWithMetadataDocument, containerDelete, containerMove, containerRecite, containerRekey, containerRevoke, containerShare, } from "./routes/containers/mutations.js";
|
|
14
|
+
import { containerDocuments, containerKekLog, containerParentLanes, } from "./routes/containers/reads.js";
|
|
15
|
+
import { listDocumentAttachments as documentAttachmentsList } from "./routes/documents/attachments.js";
|
|
16
|
+
import { DocumentAttributionRequests } from "./routes/documents/attributionRequests.js";
|
|
17
|
+
import { documentCreate, documentLink, documentPurge, documentPurgeProof, documentUnlink, } from "./routes/documents/mutations.js";
|
|
18
|
+
import { organizationBilling } from "./routes/organizations/billing.js";
|
|
19
|
+
import { createOrganizationGroup as groupCreate } from "./routes/organizations/createGroup.js";
|
|
20
|
+
import { getOrganizationDataUsage as organizationDataUsage } from "./routes/organizations/dataUsage.js";
|
|
21
|
+
import { deleteOrganizationGroup as groupDelete } from "./routes/organizations/deleteGroup.js";
|
|
22
|
+
import { listOrganizationGroupMembers as groupMembers } from "./routes/organizations/groupMembers.js";
|
|
23
|
+
import { updateOrganizationProfile as profileUpdate } from "./routes/organizations/profile.js";
|
|
24
|
+
import { updateOrganizationRosterEntry as rosterUpdate } from "./routes/organizations/roster.js";
|
|
25
|
+
import { organizationStripeCheckout } from "./routes/organizations/stripeCheckout.js";
|
|
26
|
+
import { containerWriterProjection, documentWriterProjection, } from "./routes/writerProjections.js";
|
|
27
|
+
import { CitingProjectionCache, evictWriterProjectionsCiting, } from "./writerProjectionCitations.js";
|
|
28
|
+
import { primeWriterProjectionSlot } from "./writerProjectionPrime.js";
|
|
29
|
+
/** The rotations that may carry descendant rekeys, each with its operation. */
|
|
30
|
+
const CONTAINER_ROTATIONS = {
|
|
31
|
+
move: { operation: moveContainerOperation, route: containerMove },
|
|
32
|
+
rekey: { operation: rekeyContainerOperation, route: containerRekey },
|
|
33
|
+
revoke: { operation: revokeContainerOperation, route: containerRevoke },
|
|
34
|
+
};
|
|
35
|
+
export class ApiClient {
|
|
36
|
+
requestRuntime;
|
|
37
|
+
projectionHistory = new ProjectionHistoryTransport();
|
|
38
|
+
containerDocumentListRequestsByKey = new Map();
|
|
39
|
+
containerParentLaneRequestsByKey = new Map();
|
|
40
|
+
containerWriterProjectionRequestsByContainerId = new CitingProjectionCache();
|
|
41
|
+
documentWriterProjectionRequestsByDocumentId = new CitingProjectionCache();
|
|
42
|
+
containerWriterProjectionResultsInFlightByContainerId = new Map();
|
|
43
|
+
documentWriterProjectionResultsInFlightByDocumentId = new Map();
|
|
44
|
+
documentAttachmentListRequestsByDocumentId = new BoundedCache();
|
|
45
|
+
documentAttributionRequests;
|
|
46
|
+
userIdentityRequestsByUserId = new BoundedCache();
|
|
47
|
+
principalPolicyRequestsByKey = new BoundedCache();
|
|
48
|
+
principalPolicyRequests;
|
|
49
|
+
transport;
|
|
50
|
+
request;
|
|
51
|
+
requestResult;
|
|
52
|
+
constructor(baseUrl) {
|
|
53
|
+
bindPrototypeMethods(this, ApiClient.prototype);
|
|
54
|
+
this.requestRuntime = new ApiRequestRuntime(baseUrl);
|
|
55
|
+
this.principalPolicyRequests = new PrincipalPolicyRequests(this.requestRuntime, this.principalPolicyRequestsByKey, this.clearWriterProjectionCaches);
|
|
56
|
+
this.request = this.projectionHistory.wrapRequest(this.requestRuntime.request);
|
|
57
|
+
this.requestResult = this.projectionHistory.wrapRequestResult(this.requestRuntime.requestResult);
|
|
58
|
+
this.transport = createOperationTransport(this.requestRuntime.responseRequest);
|
|
59
|
+
this.documentAttributionRequests = new DocumentAttributionRequests(this.transport);
|
|
60
|
+
}
|
|
61
|
+
clearAuthScopedCaches() {
|
|
62
|
+
this.projectionHistory.clear();
|
|
63
|
+
this.containerDocumentListRequestsByKey.clear();
|
|
64
|
+
this.containerParentLaneRequestsByKey.clear();
|
|
65
|
+
this.documentAttachmentListRequestsByDocumentId.clear();
|
|
66
|
+
this.documentAttributionRequests.clear();
|
|
67
|
+
this.containerWriterProjectionRequestsByContainerId.clear();
|
|
68
|
+
this.documentWriterProjectionRequestsByDocumentId.clear();
|
|
69
|
+
this.containerWriterProjectionResultsInFlightByContainerId.clear();
|
|
70
|
+
this.documentWriterProjectionResultsInFlightByDocumentId.clear();
|
|
71
|
+
this.userIdentityRequestsByUserId.clear();
|
|
72
|
+
this.principalPolicyRequestsByKey.clear();
|
|
73
|
+
}
|
|
74
|
+
invalidateDocumentAttribution(documentId) {
|
|
75
|
+
this.documentAttributionRequests.invalidate(documentId);
|
|
76
|
+
}
|
|
77
|
+
clearWriterProjectionCaches() {
|
|
78
|
+
this.documentAttachmentListRequestsByDocumentId.clear();
|
|
79
|
+
this.containerWriterProjectionRequestsByContainerId.clear();
|
|
80
|
+
this.documentWriterProjectionRequestsByDocumentId.clear();
|
|
81
|
+
this.containerWriterProjectionResultsInFlightByContainerId.clear();
|
|
82
|
+
this.documentWriterProjectionResultsInFlightByDocumentId.clear();
|
|
83
|
+
}
|
|
84
|
+
/** After a peer changed these containers' manifests; see the helper. */
|
|
85
|
+
evictWriterProjectionsCiting(containerIds) {
|
|
86
|
+
evictWriterProjectionsCiting(new Set(containerIds), {
|
|
87
|
+
attachmentLists: this.documentAttachmentListRequestsByDocumentId,
|
|
88
|
+
containers: {
|
|
89
|
+
cache: this.containerWriterProjectionRequestsByContainerId,
|
|
90
|
+
inFlight: this.containerWriterProjectionResultsInFlightByContainerId,
|
|
91
|
+
},
|
|
92
|
+
documents: {
|
|
93
|
+
cache: this.documentWriterProjectionRequestsByDocumentId,
|
|
94
|
+
inFlight: this.documentWriterProjectionResultsInFlightByDocumentId,
|
|
95
|
+
},
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
evictUserIdentity(userId) {
|
|
99
|
+
this.userIdentityRequestsByUserId.delete(userId);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Evict a document's projection and attachment envelopes together: link/unlink
|
|
103
|
+
* changes both. A stale attachment list would regenerate an already committed
|
|
104
|
+
* destination wrap during a move. Unrelated documents keep their caches.
|
|
105
|
+
*/
|
|
106
|
+
evictDocumentWriterProjection(documentId) {
|
|
107
|
+
this.documentAttachmentListRequestsByDocumentId.delete(documentId);
|
|
108
|
+
this.documentWriterProjectionRequestsByDocumentId.delete(documentId);
|
|
109
|
+
this.documentWriterProjectionResultsInFlightByDocumentId.delete(documentId);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Container counterpart of {@link evictDocumentWriterProjection}: evict a
|
|
113
|
+
* single container's cached writer projection. A stale-projection create
|
|
114
|
+
* retry only implicates the container it is creating under, so it evicts just
|
|
115
|
+
* that entry rather than clearing the whole projection cache.
|
|
116
|
+
*/
|
|
117
|
+
evictContainerWriterProjection(containerId) {
|
|
118
|
+
this.containerWriterProjectionRequestsByContainerId.delete(containerId);
|
|
119
|
+
this.containerWriterProjectionResultsInFlightByContainerId.delete(containerId);
|
|
120
|
+
}
|
|
121
|
+
updateCachedDocumentAttachmentList(documentId, update) {
|
|
122
|
+
const cached = this.documentAttachmentListRequestsByDocumentId.get(documentId);
|
|
123
|
+
if (!cached) {
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
let next;
|
|
127
|
+
next = cached
|
|
128
|
+
.then((attachments) => {
|
|
129
|
+
if (!attachments) {
|
|
130
|
+
if (this.documentAttachmentListRequestsByDocumentId.get(documentId) ===
|
|
131
|
+
next) {
|
|
132
|
+
this.documentAttachmentListRequestsByDocumentId.delete(documentId);
|
|
133
|
+
}
|
|
134
|
+
return attachments;
|
|
135
|
+
}
|
|
136
|
+
return update(attachments);
|
|
137
|
+
})
|
|
138
|
+
.catch(() => {
|
|
139
|
+
// The underlying list fetch failed. Drop this derived cache entry so the
|
|
140
|
+
// next read refetches, and resolve to null (the cache's miss semantics)
|
|
141
|
+
// rather than rethrowing: nothing awaits this derived promise directly,
|
|
142
|
+
// so a rethrow would surface as an unhandled rejection. Callers already
|
|
143
|
+
// awaiting the original request still observe its rejection.
|
|
144
|
+
if (this.documentAttachmentListRequestsByDocumentId.get(documentId) ===
|
|
145
|
+
next) {
|
|
146
|
+
this.documentAttachmentListRequestsByDocumentId.delete(documentId);
|
|
147
|
+
}
|
|
148
|
+
return null;
|
|
149
|
+
});
|
|
150
|
+
this.documentAttachmentListRequestsByDocumentId.set(documentId, next);
|
|
151
|
+
}
|
|
152
|
+
cacheBlobAttachmentBindResponse(response) {
|
|
153
|
+
const { documentId, writeHeaderHash: _writeHeaderHash, ...binding } = response;
|
|
154
|
+
this.updateCachedDocumentAttachmentList(documentId, (attachments) => [
|
|
155
|
+
...attachments.filter((cachedBinding) => cachedBinding.slotId !== response.slotId),
|
|
156
|
+
binding,
|
|
157
|
+
]);
|
|
158
|
+
}
|
|
159
|
+
cacheBlobAttachmentDetachResponse(response) {
|
|
160
|
+
this.updateCachedDocumentAttachmentList(response.documentId, (attachments) => attachments.filter((binding) => binding.bindingId !== response.bindingId));
|
|
161
|
+
}
|
|
162
|
+
setOnError(handler) {
|
|
163
|
+
this.requestRuntime.setOnError(handler);
|
|
164
|
+
}
|
|
165
|
+
setOnNetworkError(handler) {
|
|
166
|
+
this.requestRuntime.setOnNetworkError(handler);
|
|
167
|
+
}
|
|
168
|
+
setOnNetworkSuccess(handler) {
|
|
169
|
+
this.requestRuntime.setOnNetworkSuccess(handler);
|
|
170
|
+
}
|
|
171
|
+
setOnApiVersion(handler) {
|
|
172
|
+
this.requestRuntime.setOnApiVersion(handler);
|
|
173
|
+
}
|
|
174
|
+
setOnSessionExpired(handler) {
|
|
175
|
+
this.requestRuntime.setOnSessionExpired(handler);
|
|
176
|
+
}
|
|
177
|
+
setOnPaymentRequired(handler) {
|
|
178
|
+
this.requestRuntime.setOnPaymentRequired(handler);
|
|
179
|
+
}
|
|
180
|
+
setAuthToken(token) {
|
|
181
|
+
if (this.requestRuntime.setAuthToken(token)) {
|
|
182
|
+
this.clearAuthScopedCaches();
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
getAuthToken() {
|
|
186
|
+
return this.requestRuntime.getAuthToken();
|
|
187
|
+
}
|
|
188
|
+
getRequestFailure(input) {
|
|
189
|
+
return this.requestRuntime.getRequestFailure(input);
|
|
190
|
+
}
|
|
191
|
+
async requestWebSocketTicket() {
|
|
192
|
+
const response = await this.transport.request(webSocketTicketOperation, {
|
|
193
|
+
params: {},
|
|
194
|
+
});
|
|
195
|
+
return response?.ticket ?? null;
|
|
196
|
+
}
|
|
197
|
+
getHealth() {
|
|
198
|
+
return this.transport.request(getHealthOperation, { params: {} });
|
|
199
|
+
}
|
|
200
|
+
registerUser(userId, organizationId, rootContainerId, signingPublicKey, encapsulationPublicKey, initialAdminGroup, initialMemberGroup, initialOrganizationPolicy, initialRootContainer, initialRootMetadataDocument, initialRosterProfileContainer, initialRosterProfileDocument, initialOrganizationMetadataContainer, initialOrganizationProfileDocument, initialSystemContainers) {
|
|
201
|
+
return this.transport.request(registerOperation, {
|
|
202
|
+
body: {
|
|
203
|
+
userId,
|
|
204
|
+
organizationId,
|
|
205
|
+
rootContainerId,
|
|
206
|
+
signingPublicKey: Array.from(signingPublicKey),
|
|
207
|
+
encapsulationPublicKey: Array.from(encapsulationPublicKey),
|
|
208
|
+
initialAdminGroup,
|
|
209
|
+
initialMemberGroup,
|
|
210
|
+
initialOrganizationPolicy,
|
|
211
|
+
initialRootContainer,
|
|
212
|
+
initialRootMetadataDocument,
|
|
213
|
+
initialRosterProfileContainer,
|
|
214
|
+
initialRosterProfileDocument,
|
|
215
|
+
initialOrganizationMetadataContainer,
|
|
216
|
+
initialOrganizationProfileDocument,
|
|
217
|
+
initialSystemContainers,
|
|
218
|
+
},
|
|
219
|
+
params: {},
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
createOrganization(request) {
|
|
223
|
+
return this.transport.request(createOrganizationOperation, {
|
|
224
|
+
body: request,
|
|
225
|
+
params: {},
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
async authenticate(fingerprint, secretKey) {
|
|
229
|
+
const challenge = await this.transport.request(challengeOperation, { body: { fingerprint }, params: {} }, { retryOnSessionExpired: false });
|
|
230
|
+
if (!challenge)
|
|
231
|
+
return null;
|
|
232
|
+
return this.authenticateWithChallenge(fingerprint, secretKey, challenge.challenge);
|
|
233
|
+
}
|
|
234
|
+
async authenticateWithChallenge(fingerprint, secretKey, challengeHex) {
|
|
235
|
+
const signed = sign(this.requestRuntime.authChallengeBytes(challengeHex, fingerprint), secretKey);
|
|
236
|
+
const response = await this.transport.request(verifyOperation, {
|
|
237
|
+
body: { fingerprint, signature: Array.from(signed) },
|
|
238
|
+
params: {},
|
|
239
|
+
}, { retryOnSessionExpired: false });
|
|
240
|
+
return response?.authenticated ? response : null;
|
|
241
|
+
}
|
|
242
|
+
getUserIdentity(userId) {
|
|
243
|
+
return cachedRequest(this.userIdentityRequestsByUserId, userId, () => this.request(authUserIdentity.path(userId), authUserIdentity.isResponse, authUserIdentity.method, undefined, undefined, userIdentityOperation));
|
|
244
|
+
}
|
|
245
|
+
getUserIdentityRequestFailure(userId) {
|
|
246
|
+
return this.getRequestFailure({
|
|
247
|
+
method: authUserIdentity.method,
|
|
248
|
+
path: authUserIdentity.path(userId),
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
listSessions() {
|
|
252
|
+
return this.request(authListSessions.path, authListSessions.isResponse, authListSessions.method, undefined, undefined, listSessionsOperation);
|
|
253
|
+
}
|
|
254
|
+
destroySession(sessionId) {
|
|
255
|
+
return this.request(authDestroySession.path(sessionId), authDestroySession.isResponse, authDestroySession.method, undefined, undefined, destroySessionOperation);
|
|
256
|
+
}
|
|
257
|
+
logout() {
|
|
258
|
+
return this.request(authLogout.path, authLogout.isResponse, authLogout.method, undefined, { retryOnSessionExpired: false }, logoutOperation);
|
|
259
|
+
}
|
|
260
|
+
getPrincipalPolicyPages(principalType, principalId, options = {}) {
|
|
261
|
+
return this.principalPolicyRequests.pages(principalType, principalId, options);
|
|
262
|
+
}
|
|
263
|
+
getCurrentPrincipalPolicy(principalType, principalId, options = {}) {
|
|
264
|
+
return this.principalPolicyRequests.get(principalType, principalId, options);
|
|
265
|
+
}
|
|
266
|
+
putPrincipalPolicy(principalType, principalId, input, options = {}) {
|
|
267
|
+
return this.principalPolicyRequests.put(principalType, principalId, input, options);
|
|
268
|
+
}
|
|
269
|
+
commitOrganizationGroupPolicy(organizationId, groupId, input) {
|
|
270
|
+
return this.commitOrganizationGroupPolicyResult(organizationId, groupId, input).then((result) => (result.ok ? result.data : null));
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Status-bearing group policy commit. A rematerialized rotation the server
|
|
274
|
+
* refuses for stranding a granted path names the descendant rekeys the batch
|
|
275
|
+
* must carry, which the plain method collapses to null.
|
|
276
|
+
*/
|
|
277
|
+
async commitOrganizationGroupPolicyResult(organizationId, groupId, input, options = {}) {
|
|
278
|
+
return this.principalPolicyRequests.commitResult(organizationId, groupId, input, options);
|
|
279
|
+
}
|
|
280
|
+
getOrganizationPolicyHistoryResult(organizationId, stateHash, options = {}) {
|
|
281
|
+
return this.transport.requestResult(getOrganizationPolicyHistoryOperation, { params: { organizationId }, query: { stateHash } }, options);
|
|
282
|
+
}
|
|
283
|
+
getOrganizationReadModelResult(organizationId, cursor, options = {}) {
|
|
284
|
+
return this.transport.requestResult(getOrganizationReadModelOperation, {
|
|
285
|
+
params: { organizationId },
|
|
286
|
+
query: { cursor },
|
|
287
|
+
}, options);
|
|
288
|
+
}
|
|
289
|
+
getRootOrganizationDataUsageResult(organizationId, options = {}) {
|
|
290
|
+
return this.transport.requestResult(getRootOrganizationDataUsageOperation, { params: { organizationId } }, options);
|
|
291
|
+
}
|
|
292
|
+
listRootDataUsageReportResult(query = {}, options = {}) {
|
|
293
|
+
return this.transport.requestResult(listRootDataUsageReportOperation, { params: {}, query }, options);
|
|
294
|
+
}
|
|
295
|
+
listRootOrganizationsResult(query = {}, options = {}) {
|
|
296
|
+
return this.transport.requestResult(listRootOrganizationsOperation, { params: {}, query }, options);
|
|
297
|
+
}
|
|
298
|
+
getRootOrganizationResult(organizationId, options = {}) {
|
|
299
|
+
return this.transport.requestResult(getRootOrganizationOperation, { params: { organizationId } }, options);
|
|
300
|
+
}
|
|
301
|
+
listRootOrganizationIdentitiesResult(organizationId, query = {}, options = {}) {
|
|
302
|
+
return this.transport.requestResult(listRootOrganizationIdentitiesOperation, { params: { organizationId }, query }, options);
|
|
303
|
+
}
|
|
304
|
+
listRootIdentitiesResult(query = {}, options = {}) {
|
|
305
|
+
return this.transport.requestResult(listRootIdentitiesOperation, { params: {}, query }, options);
|
|
306
|
+
}
|
|
307
|
+
getRootIdentityResult(userId, options = {}) {
|
|
308
|
+
return this.transport.requestResult(getRootIdentityOperation, { params: { userId } }, options);
|
|
309
|
+
}
|
|
310
|
+
listRootIdentityOrganizationsResult(userId, options = {}) {
|
|
311
|
+
return this.transport.requestResult(listRootIdentityOrganizationsOperation, { params: { userId } }, options);
|
|
312
|
+
}
|
|
313
|
+
getOrganizationDataUsageResult(organizationId, options = {}) {
|
|
314
|
+
return this.requestResult(organizationDataUsage.path(organizationId), organizationDataUsage.isResponse, organizationDataUsage.method, undefined, options, getOrganizationDataUsageOperation);
|
|
315
|
+
}
|
|
316
|
+
getOrganizationBilling(organizationId) {
|
|
317
|
+
return this.request(organizationBilling.get.path(organizationId), organizationBilling.get.isResponse, organizationBilling.get.method, undefined, undefined, getOrganizationBillingOperation);
|
|
318
|
+
}
|
|
319
|
+
getOrganizationBillingHistory(organizationId) {
|
|
320
|
+
return this.request(organizationBilling.history.path(organizationId), organizationBilling.history.isResponse, organizationBilling.history.method, undefined, undefined, getOrganizationBillingHistoryOperation);
|
|
321
|
+
}
|
|
322
|
+
getOrganizationBillingManagementUrl(organizationId) {
|
|
323
|
+
return this.request(organizationBilling.managementUrl.path(organizationId), organizationBilling.managementUrl.isResponse, organizationBilling.managementUrl.method, undefined, undefined, getOrganizationBillingManagementUrlOperation);
|
|
324
|
+
}
|
|
325
|
+
getOrganizationNativePurchaseEligibility(organizationId, store) {
|
|
326
|
+
return this.request(organizationBilling.nativeEligibility.path(organizationId, store), organizationBilling.nativeEligibility.isResponse, organizationBilling.nativeEligibility.method, undefined, undefined, getOrganizationNativePurchaseEligibilityOperation);
|
|
327
|
+
}
|
|
328
|
+
claimNativeOrganizationSubscription(organizationId, store) {
|
|
329
|
+
return this.requestResult(organizationBilling.nativeClaim.path(organizationId, store), organizationBilling.nativeClaim.isResponse, organizationBilling.nativeClaim.method, undefined, { reportErrors: false }, claimNativeOrganizationSubscriptionOperation);
|
|
330
|
+
}
|
|
331
|
+
/** Empty options means unconfigured; 403/409 remain errors. */
|
|
332
|
+
getStripeCheckoutOptions(organizationId, options = {}) {
|
|
333
|
+
return this.requestResult(organizationStripeCheckout.options.path(organizationId), organizationStripeCheckout.options.isResponse, organizationStripeCheckout.options.method, undefined, options, getStripeCheckoutOptionsOperation);
|
|
334
|
+
}
|
|
335
|
+
/** Starts or resumes inline checkout; an existing subscription returns 409. */
|
|
336
|
+
createStripeCheckout(organizationId) {
|
|
337
|
+
return this.request(organizationStripeCheckout.checkout.path(organizationId), organizationStripeCheckout.checkout.isResponse, organizationStripeCheckout.checkout.method, undefined, undefined, createStripeCheckoutOperation);
|
|
338
|
+
}
|
|
339
|
+
/** Opens hosted checkout; a null URL means unavailable or ineligible. */
|
|
340
|
+
createStripeCheckoutSession(organizationId, returnUrl) {
|
|
341
|
+
return this.request(organizationStripeCheckout.checkoutSession.path(organizationId), organizationStripeCheckout.checkoutSession.isResponse, organizationStripeCheckout.checkoutSession.method, JSON.stringify(organizationStripeCheckout.checkoutSession.body(returnUrl)), undefined, createStripeCheckoutSessionOperation);
|
|
342
|
+
}
|
|
343
|
+
/** Opens Stripe's subscription-management portal for the organization. */
|
|
344
|
+
createStripePortal(organizationId, returnUrl) {
|
|
345
|
+
return this.request(organizationStripeCheckout.portal.path(organizationId), organizationStripeCheckout.portal.isResponse, organizationStripeCheckout.portal.method, JSON.stringify(organizationStripeCheckout.portal.body(returnUrl)), undefined, createStripePortalOperation);
|
|
346
|
+
}
|
|
347
|
+
/** Schedules period-end cancellation; any non-2xx resolves null. */
|
|
348
|
+
cancelStripeSubscription(organizationId) {
|
|
349
|
+
return this.request(organizationStripeCheckout.cancel.path(organizationId), organizationStripeCheckout.cancel.isResponse, organizationStripeCheckout.cancel.method, undefined, undefined, cancelStripeSubscriptionOperation);
|
|
350
|
+
}
|
|
351
|
+
startOrganizationTrial(organizationId) {
|
|
352
|
+
return this.request(organizationBilling.startTrial.path(organizationId), organizationBilling.startTrial.isResponse, organizationBilling.startTrial.method, undefined, undefined, startOrganizationTrialOperation);
|
|
353
|
+
}
|
|
354
|
+
updateOrganizationRosterEntry(organizationId, userId, input) {
|
|
355
|
+
return this.request(rosterUpdate.path(organizationId, userId), rosterUpdate.isResponse, rosterUpdate.method, JSON.stringify(input), { expectedPaymentRequiredOrganizationId: organizationId }, updateOrganizationRosterEntryOperation);
|
|
356
|
+
}
|
|
357
|
+
updateOrganizationProfile(organizationId, input) {
|
|
358
|
+
return this.request(profileUpdate.path(organizationId), profileUpdate.isResponse, profileUpdate.method, JSON.stringify(input), { expectedPaymentRequiredOrganizationId: organizationId }, updateOrganizationProfileOperation);
|
|
359
|
+
}
|
|
360
|
+
createOrganizationGroup(organizationId, input) {
|
|
361
|
+
const groupRequestKey = JSON.stringify(["group", input.groupId]);
|
|
362
|
+
const organizationRequestKey = JSON.stringify([
|
|
363
|
+
"organization",
|
|
364
|
+
organizationId,
|
|
365
|
+
]);
|
|
366
|
+
this.principalPolicyRequestsByKey.delete(groupRequestKey);
|
|
367
|
+
this.principalPolicyRequestsByKey.delete(organizationRequestKey);
|
|
368
|
+
return this.request(groupCreate.path(organizationId), groupCreate.isResponse, groupCreate.method, JSON.stringify(input), { expectedPaymentRequiredOrganizationId: organizationId }, createOrganizationGroupOperation).finally(() => {
|
|
369
|
+
this.principalPolicyRequestsByKey.delete(groupRequestKey);
|
|
370
|
+
this.principalPolicyRequestsByKey.delete(organizationRequestKey);
|
|
371
|
+
this.clearWriterProjectionCaches();
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
deleteOrganizationGroup(organizationId, groupId, input) {
|
|
375
|
+
const groupRequestKey = JSON.stringify(["group", groupId]);
|
|
376
|
+
const organizationRequestKey = JSON.stringify([
|
|
377
|
+
"organization",
|
|
378
|
+
organizationId,
|
|
379
|
+
]);
|
|
380
|
+
this.principalPolicyRequestsByKey.delete(groupRequestKey);
|
|
381
|
+
this.principalPolicyRequestsByKey.delete(organizationRequestKey);
|
|
382
|
+
return this.request(groupDelete.path(organizationId, groupId), groupDelete.isResponse, groupDelete.method, JSON.stringify(input), { expectedPaymentRequiredOrganizationId: organizationId }, deleteOrganizationGroupOperation).finally(() => {
|
|
383
|
+
this.principalPolicyRequestsByKey.delete(groupRequestKey);
|
|
384
|
+
this.principalPolicyRequestsByKey.delete(organizationRequestKey);
|
|
385
|
+
this.clearWriterProjectionCaches();
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
listOrganizationGroupMembers(organizationId, groupId) {
|
|
389
|
+
return this.request(groupMembers.path(organizationId, groupId), groupMembers.isResponse, groupMembers.method, undefined, undefined, listOrganizationGroupMembersOperation);
|
|
390
|
+
}
|
|
391
|
+
createDocument(input, options = {}) {
|
|
392
|
+
return this.request(documentCreate.path, documentCreate.isResponse, documentCreate.method, JSON.stringify(input), options, createDocumentOperation);
|
|
393
|
+
}
|
|
394
|
+
createDocumentResult(input, options = {}) {
|
|
395
|
+
return this.requestResult(documentCreate.path, documentCreate.isResponse, documentCreate.method, JSON.stringify(input), options, createDocumentOperation);
|
|
396
|
+
}
|
|
397
|
+
getContainerWriterProjection(containerId) {
|
|
398
|
+
return cachedRequest(this.containerWriterProjectionRequestsByContainerId, containerId, () => this.request(containerWriterProjection.path(containerId), containerWriterProjection.isResponseFor(containerId), containerWriterProjection.method, undefined, undefined, getContainerWriterProjectionOperation));
|
|
399
|
+
}
|
|
400
|
+
getContainerReplacementAuthorizationsResult(containerId, replacesOrganizationId) {
|
|
401
|
+
return this.transport.requestResult(getContainerReplacementAuthorizationsOperation, { params: { containerId, replacesOrganizationId } }, { reportErrors: false });
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* The append-only rotation log for one container — the rebuild/repair
|
|
405
|
+
* read path. Never cached: it is fetched exactly when the served keyring
|
|
406
|
+
* failed verification and the ground truth is needed. A historical keyring
|
|
407
|
+
* is O(its epoch) bytes, so at most one ships per request, named by
|
|
408
|
+
* `keyringForEpoch`.
|
|
409
|
+
*/
|
|
410
|
+
getContainerKekLog(containerId, options = {}) {
|
|
411
|
+
return this.request(containerKekLog.path(containerId, options), containerKekLog.isResponse, containerKekLog.method, undefined, undefined, getContainerKekLogOperation);
|
|
412
|
+
}
|
|
413
|
+
getContainerWriterProjectionResult(containerId, options = {}) {
|
|
414
|
+
return this.writerProjectionResult(this.containerWriterProjectionRequestsByContainerId, this.containerWriterProjectionResultsInFlightByContainerId, containerId, containerWriterProjection.path(containerId), containerWriterProjection.isResponseFor(containerId), options, getContainerWriterProjectionOperation);
|
|
415
|
+
}
|
|
416
|
+
// Shared by the writer-projection result variants: coalesce concurrent
|
|
417
|
+
// result callers onto one in-flight fetch, reuse a cached success, fetch a
|
|
418
|
+
// result otherwise, and reconcile the cache without ever clobbering an entry
|
|
419
|
+
// that changed while the fetch was in flight.
|
|
420
|
+
writerProjectionResult(cache, inFlightResults, cacheKey, path, validator, options, failureOperation) {
|
|
421
|
+
// Request-affecting options make the response caller-specific: run the
|
|
422
|
+
// request directly with the caller's options, join no shared fetch, and
|
|
423
|
+
// never publish the outcome to the shared caches. Only reporting-only
|
|
424
|
+
// callers below participate in coalescing and cache warming.
|
|
425
|
+
if (options.headers !== undefined ||
|
|
426
|
+
options.retryOnSessionExpired !== undefined) {
|
|
427
|
+
return this.requestResult(path, validator, "GET", undefined, options, failureOperation);
|
|
428
|
+
}
|
|
429
|
+
// A concurrent burst shares one fetch — failure included — so it cannot
|
|
430
|
+
// repeat the HTTP request or the 402 billing signal. The entry lives only
|
|
431
|
+
// while the fetch is in flight: failures are shared, never cached, so a
|
|
432
|
+
// later retry refetches. An in-flight fetch is joinable only while the
|
|
433
|
+
// value slot and per-key invalidation stamp it started against are
|
|
434
|
+
// unchanged: a prime, a completed plain GET, or an eviction of THIS id
|
|
435
|
+
// that lands mid-flight makes the older fetch unadoptable, so a later
|
|
436
|
+
// caller reads the current cache state (or fetches fresh) instead of
|
|
437
|
+
// joining a fetch that predates it — while invalidations of other ids
|
|
438
|
+
// leave the coalescing intact. Eviction and priming also delete the
|
|
439
|
+
// entry outright; the identity guard keeps a late settle from deleting a
|
|
440
|
+
// successor's entry.
|
|
441
|
+
//
|
|
442
|
+
// The shared fetch itself is always silent; each caller applies its OWN
|
|
443
|
+
// reporting policy to the shared outcome below. Coalescing therefore
|
|
444
|
+
// never lets one caller's reportErrors suppress (or force) another's,
|
|
445
|
+
// and caller options never reach the request — the fetch takes none.
|
|
446
|
+
const slot = cache.get(cacheKey);
|
|
447
|
+
const invalidationStamp = cache.invalidationStamp(cacheKey);
|
|
448
|
+
const inFlight = inFlightResults.get(cacheKey);
|
|
449
|
+
let shared;
|
|
450
|
+
if (inFlight &&
|
|
451
|
+
inFlight.slot === slot &&
|
|
452
|
+
inFlight.invalidationStamp === invalidationStamp) {
|
|
453
|
+
shared = inFlight.resultPromise;
|
|
454
|
+
}
|
|
455
|
+
else {
|
|
456
|
+
const entry = {
|
|
457
|
+
invalidationStamp,
|
|
458
|
+
resultPromise: this.fetchWriterProjectionResult(cache, cacheKey, path, validator, failureOperation).finally(() => {
|
|
459
|
+
if (inFlightResults.get(cacheKey) === entry) {
|
|
460
|
+
inFlightResults.delete(cacheKey);
|
|
461
|
+
}
|
|
462
|
+
}),
|
|
463
|
+
slot,
|
|
464
|
+
};
|
|
465
|
+
inFlightResults.set(cacheKey, entry);
|
|
466
|
+
shared = entry.resultPromise;
|
|
467
|
+
}
|
|
468
|
+
if (options.reportErrors === false) {
|
|
469
|
+
return shared;
|
|
470
|
+
}
|
|
471
|
+
return shared.then((result) => {
|
|
472
|
+
if (!result.ok) {
|
|
473
|
+
result.report();
|
|
474
|
+
}
|
|
475
|
+
return result;
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
// The fetch half of writerProjectionResult. Cache reconciliation guards
|
|
479
|
+
// against both mid-flight slot replacement (identity comparison) and
|
|
480
|
+
// mid-flight eviction of an empty slot (the per-key invalidation stamp),
|
|
481
|
+
// so a projection an eviction (e.g. after a revoke) meant to drop is never
|
|
482
|
+
// re-cached.
|
|
483
|
+
async fetchWriterProjectionResult(cache, cacheKey, path, validator, failureOperation) {
|
|
484
|
+
let cached = cache.get(cacheKey);
|
|
485
|
+
while (cached) {
|
|
486
|
+
try {
|
|
487
|
+
const data = await cached;
|
|
488
|
+
if (data) {
|
|
489
|
+
return { data, ok: true };
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
catch {
|
|
493
|
+
// A rejected shared entry is reconciled by its own settle handler;
|
|
494
|
+
// fall through either way.
|
|
495
|
+
}
|
|
496
|
+
// The awaited entry settled empty. Re-read the slot before fetching: a
|
|
497
|
+
// newer entry installed while we awaited must be reused, not fetched
|
|
498
|
+
// over — the set below would otherwise clobber it.
|
|
499
|
+
const current = cache.get(cacheKey);
|
|
500
|
+
if (current === cached) {
|
|
501
|
+
break;
|
|
502
|
+
}
|
|
503
|
+
cached = current;
|
|
504
|
+
}
|
|
505
|
+
// The plain value cache never sees this fetch while it is in flight: a
|
|
506
|
+
// published always-silent entry would hand a concurrent PLAIN caller a
|
|
507
|
+
// null without its normal error reporting. Plain callers keep their own
|
|
508
|
+
// fetch-and-report behavior instead, and only a success is published.
|
|
509
|
+
// Always silent here: reporting is per-caller in writerProjectionResult,
|
|
510
|
+
// and taking no caller options is what guarantees nothing
|
|
511
|
+
// request-affecting can be smuggled into the shared fetch.
|
|
512
|
+
const invalidationStamp = cache.invalidationStamp(cacheKey);
|
|
513
|
+
const result = await this.requestResult(path, validator, "GET", undefined, {
|
|
514
|
+
reportErrors: false,
|
|
515
|
+
}, failureOperation);
|
|
516
|
+
if (result.ok) {
|
|
517
|
+
// Publish the success unless the slot changed or this id was
|
|
518
|
+
// invalidated mid-flight. The stamp check is what makes an eviction of
|
|
519
|
+
// THIS id visible even when the slot was empty before and after the
|
|
520
|
+
// flight — the case the identity comparison alone cannot see — and it
|
|
521
|
+
// never caches a projection an eviction meant to drop.
|
|
522
|
+
if (cache.get(cacheKey) === cached &&
|
|
523
|
+
cache.invalidationStamp(cacheKey) === invalidationStamp) {
|
|
524
|
+
cache.set(cacheKey, Promise.resolve(result.data));
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
else if (cached && cache.get(cacheKey) === cached) {
|
|
528
|
+
// The adopted entry settled empty and the fetch confirmed there is
|
|
529
|
+
// nothing to serve: drop it so a later read refetches.
|
|
530
|
+
cache.delete(cacheKey);
|
|
531
|
+
}
|
|
532
|
+
return result;
|
|
533
|
+
}
|
|
534
|
+
createContainer(input, options = {}) {
|
|
535
|
+
return this.request(containerCreate.path, containerCreate.isResponse, containerCreate.method, JSON.stringify(input), options, createContainerOperation);
|
|
536
|
+
}
|
|
537
|
+
async createContainerResult(input, options = {}) {
|
|
538
|
+
return this.requestResult(containerCreate.path, containerCreate.isResponse, containerCreate.method, JSON.stringify(input), options, createContainerOperation);
|
|
539
|
+
}
|
|
540
|
+
createContainerWithMetadataDocument(input, options = {}) {
|
|
541
|
+
return this.request(containerCreateWithMetadataDocument.path, containerCreateWithMetadataDocument.isResponse, containerCreateWithMetadataDocument.method, JSON.stringify(input), options, createContainerWithMetadataDocumentOperation);
|
|
542
|
+
}
|
|
543
|
+
createContainerWithMetadataDocumentResult(input, options = {}) {
|
|
544
|
+
return this.requestResult(containerCreateWithMetadataDocument.path, containerCreateWithMetadataDocument.isResponse, containerCreateWithMetadataDocument.method, JSON.stringify(input), options, createContainerWithMetadataDocumentOperation);
|
|
545
|
+
}
|
|
546
|
+
shareContainer(containerId, input, options = {}) {
|
|
547
|
+
return this.request(containerShare.path(containerId), containerShare.isResponse, containerShare.method, JSON.stringify(input), options, shareContainerOperation).finally(() => {
|
|
548
|
+
this.clearWriterProjectionCaches();
|
|
549
|
+
});
|
|
550
|
+
}
|
|
551
|
+
revokeContainer(containerId, input, options = {}) {
|
|
552
|
+
return this.request(containerRevoke.path(containerId), containerRevoke.isResponse, containerRevoke.method, JSON.stringify(input), options, revokeContainerOperation).finally(() => {
|
|
553
|
+
this.clearWriterProjectionCaches();
|
|
554
|
+
});
|
|
555
|
+
}
|
|
556
|
+
rekeyContainer(containerId, input, options = {}) {
|
|
557
|
+
return this.request(containerRekey.path(containerId), containerRekey.isResponse, containerRekey.method, JSON.stringify(input), options, rekeyContainerOperation).finally(() => {
|
|
558
|
+
this.clearWriterProjectionCaches();
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* Status-bearing rotations: a caller that must tell a permanent refusal (403
|
|
563
|
+
* once ancestor write access is revoked, 402) from a transient 5xx or an
|
|
564
|
+
* offline blip cannot do so through the plain methods, which collapse both to
|
|
565
|
+
* null. They are also how a rotation learns which descendant rekeys it must
|
|
566
|
+
* carry.
|
|
567
|
+
*/
|
|
568
|
+
rekeyContainerResult(containerId, input, options = {}) {
|
|
569
|
+
return this.rotationResult("rekey", containerId, input, options);
|
|
570
|
+
}
|
|
571
|
+
revokeContainerResult(containerId, input, options = {}) {
|
|
572
|
+
return this.rotationResult("revoke", containerId, input, options);
|
|
573
|
+
}
|
|
574
|
+
moveContainerResult(containerId, input, options = {}) {
|
|
575
|
+
return this.rotationResult("move", containerId, input, options);
|
|
576
|
+
}
|
|
577
|
+
async rotationResult(rotation, containerId, input, options) {
|
|
578
|
+
const { operation, route } = CONTAINER_ROTATIONS[rotation];
|
|
579
|
+
try {
|
|
580
|
+
return await this.requestResult(route.path(containerId), route.isResponse, route.method, JSON.stringify(input), options, operation);
|
|
581
|
+
}
|
|
582
|
+
finally {
|
|
583
|
+
this.clearWriterProjectionCaches();
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
reciteContainer(containerId, input, options = {}) {
|
|
587
|
+
return this.request(containerRecite.path(containerId), containerRecite.isResponse, containerRecite.method, JSON.stringify(input), options, reciteContainerOperation).finally(() => this.clearWriterProjectionCaches());
|
|
588
|
+
}
|
|
589
|
+
moveContainer(containerId, input, options = {}) {
|
|
590
|
+
return this.request(containerMove.path(containerId), containerMove.isResponse, containerMove.method, JSON.stringify(input), options, moveContainerOperation).finally(() => {
|
|
591
|
+
this.clearWriterProjectionCaches();
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
deleteContainer(containerId, options = {}) {
|
|
595
|
+
return this.request(containerDelete.path(containerId), containerDelete.isResponse, containerDelete.method, undefined, options, deleteContainerOperation).finally(() => {
|
|
596
|
+
this.clearWriterProjectionCaches();
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
deleteContainerResult(containerId, options = {}) {
|
|
600
|
+
return this.requestResult(containerDelete.path(containerId), containerDelete.isResponse, containerDelete.method, undefined, options, deleteContainerOperation).finally(() => {
|
|
601
|
+
this.clearWriterProjectionCaches();
|
|
602
|
+
});
|
|
603
|
+
}
|
|
604
|
+
getDocumentWriterProjection(documentId) {
|
|
605
|
+
return cachedRequest(this.documentWriterProjectionRequestsByDocumentId, documentId, () => this.request(documentWriterProjection.path(documentId), documentWriterProjection.isResponseFor(documentId), documentWriterProjection.method, undefined, undefined, getDocumentWriterProjectionOperation));
|
|
606
|
+
}
|
|
607
|
+
getDocumentEditAttribution(documentId, requestKey = "") {
|
|
608
|
+
return this.documentAttributionRequests.get(documentId, requestKey);
|
|
609
|
+
}
|
|
610
|
+
listDocumentEditAttributionRanges(documentId, options = {}) {
|
|
611
|
+
return this.documentAttributionRequests.listRanges(documentId, options);
|
|
612
|
+
}
|
|
613
|
+
getDocumentWriterProjectionResult(documentId, options = {}) {
|
|
614
|
+
return this.writerProjectionResult(this.documentWriterProjectionRequestsByDocumentId, this.documentWriterProjectionResultsInFlightByDocumentId, documentId, documentWriterProjection.path(documentId), documentWriterProjection.isResponseFor(documentId), options, getDocumentWriterProjectionOperation);
|
|
615
|
+
}
|
|
616
|
+
/**
|
|
617
|
+
* Seed the writer-projection cache from a mutation response the client just
|
|
618
|
+
* authored, so the next read resolves locally instead of a cold
|
|
619
|
+
* `GET /documents/:documentId/writer-projection`. The seed is the same
|
|
620
|
+
* material a fresh fetch returns (create/link/sync responses carry the
|
|
621
|
+
* manifest, content-key bundle, and KEK targets; authorizing paths are the
|
|
622
|
+
* projection the client supplied). No-op when a fetch is in flight or the
|
|
623
|
+
* slot is primed — never clobber an existing entry. The existing invalidation
|
|
624
|
+
* paths (sync-change, share/rekey/move, link/unlink) evict a primed
|
|
625
|
+
* projection that later goes stale, exactly as they evict a fetched one.
|
|
626
|
+
*/
|
|
627
|
+
primeDocumentWriterProjection(documentId, projection) {
|
|
628
|
+
primeWriterProjectionSlot({
|
|
629
|
+
cache: this.documentWriterProjectionRequestsByDocumentId,
|
|
630
|
+
describes: documentWriterProjection.isResponseFor(documentId),
|
|
631
|
+
id: documentId,
|
|
632
|
+
inFlightResults: this.documentWriterProjectionResultsInFlightByDocumentId,
|
|
633
|
+
label: "Document",
|
|
634
|
+
projection,
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
/**
|
|
638
|
+
* Container counterpart of {@link primeDocumentWriterProjection}: seed the
|
|
639
|
+
* container writer-projection cache from a create the client just authored so
|
|
640
|
+
* the next write under that container (a child folder, a document) resolves
|
|
641
|
+
* locally instead of a cold `GET /containers/:containerId/writer-projection`.
|
|
642
|
+
* The seed is the same material a fresh fetch returns — the create plan's
|
|
643
|
+
* authorizing path and container KEKs — validated by the caller against the
|
|
644
|
+
* create response before priming. No-op when a fetch is in flight or the slot
|
|
645
|
+
* is already primed, so it never clobbers a newer entry. The existing
|
|
646
|
+
* invalidation (share/revoke/rekey/move/delete -> clearWriterProjectionCaches)
|
|
647
|
+
* evicts a primed projection that later goes stale exactly as it evicts a
|
|
648
|
+
* fetched one, so a subsequent write on stale access still fails closed and
|
|
649
|
+
* retries with a fresh projection.
|
|
650
|
+
*/
|
|
651
|
+
primeContainerWriterProjection(containerId, projection) {
|
|
652
|
+
primeWriterProjectionSlot({
|
|
653
|
+
cache: this.containerWriterProjectionRequestsByContainerId,
|
|
654
|
+
describes: containerWriterProjection.isResponseFor(containerId),
|
|
655
|
+
id: containerId,
|
|
656
|
+
inFlightResults: this.containerWriterProjectionResultsInFlightByContainerId,
|
|
657
|
+
label: "Container",
|
|
658
|
+
projection,
|
|
659
|
+
});
|
|
660
|
+
}
|
|
661
|
+
linkDocument(documentId, input, options = {}) {
|
|
662
|
+
this.invalidateDocumentAttribution(documentId);
|
|
663
|
+
return this.request(documentLink.path(documentId), documentLink.isResponse, documentLink.method, JSON.stringify(input), options, linkDocumentOperation).finally(() => {
|
|
664
|
+
this.invalidateDocumentAttribution(documentId);
|
|
665
|
+
this.evictDocumentWriterProjection(documentId);
|
|
666
|
+
});
|
|
667
|
+
}
|
|
668
|
+
linkDocumentResult(documentId, input, options = {}) {
|
|
669
|
+
this.invalidateDocumentAttribution(documentId);
|
|
670
|
+
return this.requestResult(documentLink.path(documentId), documentLink.isResponse, documentLink.method, JSON.stringify(input), options, linkDocumentOperation).finally(() => {
|
|
671
|
+
this.invalidateDocumentAttribution(documentId);
|
|
672
|
+
this.evictDocumentWriterProjection(documentId);
|
|
673
|
+
});
|
|
674
|
+
}
|
|
675
|
+
listContainerParentLanes(input) {
|
|
676
|
+
return dedupedRequest(this.containerParentLaneRequestsByKey, listContainerParentLanesRequestKey(input), () => this.request(containerParentLanes.path, (value) => containerParentLanes.isResponseForRequest(input, value), containerParentLanes.method, JSON.stringify(input), undefined, listContainerParentLanesOperation));
|
|
677
|
+
}
|
|
678
|
+
listContainerDocuments(containerId, options) {
|
|
679
|
+
return dedupedRequest(this.containerDocumentListRequestsByKey, listContainerDocumentsRequestKey(containerId, options), () => this.request(containerDocuments.path(containerId, options), containerDocuments.isResponse, containerDocuments.method, undefined, undefined, listContainerDocumentsOperation));
|
|
680
|
+
}
|
|
681
|
+
listContainerDocumentsResult(containerId, options, requestOptions = {}) {
|
|
682
|
+
return this.requestResult(containerDocuments.path(containerId, options), containerDocuments.isResponse, containerDocuments.method, undefined, requestOptions, listContainerDocumentsOperation);
|
|
683
|
+
}
|
|
684
|
+
unlinkDocument(documentId, input, options = {}) {
|
|
685
|
+
this.invalidateDocumentAttribution(documentId);
|
|
686
|
+
return this.request(documentUnlink.path(documentId), documentUnlink.isResponse, documentUnlink.method, JSON.stringify(input), options, unlinkDocumentOperation).finally(() => {
|
|
687
|
+
this.invalidateDocumentAttribution(documentId);
|
|
688
|
+
this.evictDocumentWriterProjection(documentId);
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
unlinkDocumentResult(documentId, input, options = {}) {
|
|
692
|
+
this.invalidateDocumentAttribution(documentId);
|
|
693
|
+
return this.requestResult(documentUnlink.path(documentId), documentUnlink.isResponse, documentUnlink.method, JSON.stringify(input), options, unlinkDocumentOperation).finally(() => {
|
|
694
|
+
this.invalidateDocumentAttribution(documentId);
|
|
695
|
+
this.evictDocumentWriterProjection(documentId);
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
purgeDocument(documentId, input, options = {}) {
|
|
699
|
+
this.invalidateDocumentAttribution(documentId);
|
|
700
|
+
return this.request(documentPurge.path(documentId), documentPurge.isResponse, documentPurge.method, JSON.stringify(input), options, purgeDocumentOperation).finally(() => {
|
|
701
|
+
this.invalidateDocumentAttribution(documentId);
|
|
702
|
+
this.evictDocumentWriterProjection(documentId);
|
|
703
|
+
});
|
|
704
|
+
}
|
|
705
|
+
getDocumentPurgeProof(documentId, options, requestOptions = {}) {
|
|
706
|
+
return this.request(documentPurgeProof.path(documentId, options), documentPurgeProof.isResponse, documentPurgeProof.method, undefined, requestOptions, getDocumentPurgeProofOperation);
|
|
707
|
+
}
|
|
708
|
+
syncDocument(documentId, input, options = {}) {
|
|
709
|
+
this.invalidateDocumentAttribution(documentId);
|
|
710
|
+
const cachedBefore = this.documentWriterProjectionRequestsByDocumentId.get(documentId);
|
|
711
|
+
return this.transport
|
|
712
|
+
.request(documentSyncOperation, {
|
|
713
|
+
body: input,
|
|
714
|
+
params: { documentId },
|
|
715
|
+
}, options)
|
|
716
|
+
.then(async (response) => {
|
|
717
|
+
if (response) {
|
|
718
|
+
if (response.updates.length > 0) {
|
|
719
|
+
this.documentAttachmentListRequestsByDocumentId.delete(documentId);
|
|
720
|
+
}
|
|
721
|
+
await evictWriterProjectionIfSyncChanged(this.documentWriterProjectionRequestsByDocumentId, documentId, response, () => this.documentWriterProjectionResultsInFlightByDocumentId.delete(documentId));
|
|
722
|
+
}
|
|
723
|
+
else {
|
|
724
|
+
if (this.documentWriterProjectionRequestsByDocumentId.get(documentId) === cachedBefore) {
|
|
725
|
+
this.documentWriterProjectionRequestsByDocumentId.delete(documentId);
|
|
726
|
+
this.documentWriterProjectionResultsInFlightByDocumentId.delete(documentId);
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
return response;
|
|
730
|
+
})
|
|
731
|
+
.catch((error) => {
|
|
732
|
+
if (this.documentWriterProjectionRequestsByDocumentId.get(documentId) ===
|
|
733
|
+
cachedBefore) {
|
|
734
|
+
this.documentWriterProjectionRequestsByDocumentId.delete(documentId);
|
|
735
|
+
this.documentWriterProjectionResultsInFlightByDocumentId.delete(documentId);
|
|
736
|
+
}
|
|
737
|
+
throw error;
|
|
738
|
+
})
|
|
739
|
+
.finally(() => {
|
|
740
|
+
this.invalidateDocumentAttribution(documentId);
|
|
741
|
+
});
|
|
742
|
+
}
|
|
743
|
+
async syncDocumentResult(documentId, input, options = {}) {
|
|
744
|
+
this.invalidateDocumentAttribution(documentId);
|
|
745
|
+
const cachedBefore = this.documentWriterProjectionRequestsByDocumentId.get(documentId);
|
|
746
|
+
try {
|
|
747
|
+
const result = await this.transport.requestResult(documentSyncOperation, { body: input, params: { documentId } }, options);
|
|
748
|
+
if (result.ok) {
|
|
749
|
+
if (result.data.updates.length > 0) {
|
|
750
|
+
this.documentAttachmentListRequestsByDocumentId.delete(documentId);
|
|
751
|
+
}
|
|
752
|
+
await evictWriterProjectionIfSyncChanged(this.documentWriterProjectionRequestsByDocumentId, documentId, result.data, () => this.documentWriterProjectionResultsInFlightByDocumentId.delete(documentId));
|
|
753
|
+
}
|
|
754
|
+
else if (this.documentWriterProjectionRequestsByDocumentId.get(documentId) ===
|
|
755
|
+
cachedBefore) {
|
|
756
|
+
this.documentWriterProjectionRequestsByDocumentId.delete(documentId);
|
|
757
|
+
this.documentWriterProjectionResultsInFlightByDocumentId.delete(documentId);
|
|
758
|
+
}
|
|
759
|
+
return result;
|
|
760
|
+
}
|
|
761
|
+
finally {
|
|
762
|
+
this.invalidateDocumentAttribution(documentId);
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
initiateMultipartBlobStage(input) {
|
|
766
|
+
return this.request(multipartInitiate.path, multipartInitiate.isResponse, multipartInitiate.method, JSON.stringify(input), undefined, initiateMultipartBlobStageOperation);
|
|
767
|
+
}
|
|
768
|
+
getMultipartBlobStage(stageId) {
|
|
769
|
+
return this.request(multipartGet.path(stageId), multipartGet.isResponse, multipartGet.method, undefined, undefined, getMultipartBlobStageOperation);
|
|
770
|
+
}
|
|
771
|
+
uploadMultipartBlobPartBytes(stageId, partNumber, input) {
|
|
772
|
+
// Send the encrypted part as a File — not a raw Uint8Array and not a plain
|
|
773
|
+
// Blob. CapacitorHttp (enabled on the native builds so API requests bypass the
|
|
774
|
+
// WKWebView's broken cross-origin fetch) serializes request bodies across the
|
|
775
|
+
// JS->native bridge in its convertBody(): a Uint8Array octet-stream body is
|
|
776
|
+
// `TextDecoder().decode()`d to UTF-8 there — which corrupts encrypted
|
|
777
|
+
// ciphertext (arbitrary, non-UTF-8 bytes) — and a plain Blob is not recognized
|
|
778
|
+
// at all, falling through as JSON (`{}`). Only a File is read byte-for-byte
|
|
779
|
+
// (readAsBinaryString -> base64), so the ciphertext survives the bridge intact
|
|
780
|
+
// and the server's byte-length/SHA-256 validation passes. A File is a Blob, so
|
|
781
|
+
// it is equally valid on the plain web fetch path (the operation-derived
|
|
782
|
+
// Content-Type header still wins).
|
|
783
|
+
return this.transport.requestBinaryRequest(uploadMultipartBlobPartBytesOperation, {
|
|
784
|
+
headers: {
|
|
785
|
+
[blobWireHeaderKeys.partByteLength]: input.byteLength.toString(),
|
|
786
|
+
[blobWireHeaderKeys.partSha256]: input.sha256,
|
|
787
|
+
[blobWireHeaderKeys.partUploadId]: input.uploadId,
|
|
788
|
+
},
|
|
789
|
+
body: input.encryptedBytes,
|
|
790
|
+
params: { partNumber, stageId },
|
|
791
|
+
}, {
|
|
792
|
+
encodeBody: (body) => body instanceof File
|
|
793
|
+
? body
|
|
794
|
+
: new File([body], "encrypted-blob-part", {
|
|
795
|
+
type: "application/octet-stream",
|
|
796
|
+
}),
|
|
797
|
+
});
|
|
798
|
+
}
|
|
799
|
+
completeMultipartBlobStage(stageId, input) {
|
|
800
|
+
return this.request(multipartComplete.path(stageId), multipartComplete.isResponse, multipartComplete.method, JSON.stringify(input), undefined, completeMultipartBlobStageOperation);
|
|
801
|
+
}
|
|
802
|
+
getBlobBytes(blobId) {
|
|
803
|
+
return getBlobBytes(this.transport, blobId);
|
|
804
|
+
}
|
|
805
|
+
bindBlobAttachment(blobId, input, options = {}) {
|
|
806
|
+
return this.request(blobAttachmentBind.path(blobId), blobAttachmentBind.isResponse, blobAttachmentBind.method, JSON.stringify(input), options, bindBlobAttachmentOperation)
|
|
807
|
+
.then((response) => {
|
|
808
|
+
if (response) {
|
|
809
|
+
this.cacheBlobAttachmentBindResponse(response);
|
|
810
|
+
}
|
|
811
|
+
else {
|
|
812
|
+
this.documentAttachmentListRequestsByDocumentId.clear();
|
|
813
|
+
}
|
|
814
|
+
return response;
|
|
815
|
+
})
|
|
816
|
+
.catch((error) => {
|
|
817
|
+
this.documentAttachmentListRequestsByDocumentId.clear();
|
|
818
|
+
throw error;
|
|
819
|
+
});
|
|
820
|
+
}
|
|
821
|
+
detachBlobAttachment(blobId, bindingId, input, options = {}) {
|
|
822
|
+
return this.request(blobAttachmentDetach.path(blobId, bindingId), blobAttachmentDetach.isResponse, blobAttachmentDetach.method, JSON.stringify(input), options, detachBlobAttachmentOperation)
|
|
823
|
+
.then((response) => {
|
|
824
|
+
if (response) {
|
|
825
|
+
this.cacheBlobAttachmentDetachResponse(response);
|
|
826
|
+
}
|
|
827
|
+
else {
|
|
828
|
+
this.documentAttachmentListRequestsByDocumentId.clear();
|
|
829
|
+
}
|
|
830
|
+
return response;
|
|
831
|
+
})
|
|
832
|
+
.catch((error) => {
|
|
833
|
+
this.documentAttachmentListRequestsByDocumentId.clear();
|
|
834
|
+
throw error;
|
|
835
|
+
});
|
|
836
|
+
}
|
|
837
|
+
listDocumentAttachments(documentId, options = {}) {
|
|
838
|
+
if (options.refresh) {
|
|
839
|
+
this.documentAttachmentListRequestsByDocumentId.delete(documentId);
|
|
840
|
+
}
|
|
841
|
+
return cachedRequest(this.documentAttachmentListRequestsByDocumentId, documentId, () => this.request(documentAttachmentsList.path(documentId), documentAttachmentsList.isResponse, documentAttachmentsList.method, undefined, undefined, listDocumentAttachmentsOperation));
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
//# sourceMappingURL=ApiClient.js.map
|