@tearleads/client-sdk 0.1.115 → 0.1.117
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/client/containerContents/documentDiscovery.js +5 -3
- package/client/containerContents/documentDiscovery.js.map +1 -1
- package/data/persistence/container-contents/containerContentsPersistence.js +14 -13
- package/data/persistence/container-contents/containerContentsPersistence.js.map +1 -1
- package/data/persistence/documents/internal/ensureDocumentsSchema.js +10 -12
- package/data/persistence/documents/internal/ensureDocumentsSchema.js.map +1 -1
- package/data/sqlite/schema/containerSchema.d.ts +1 -0
- package/data/sqlite/schema/containerSchema.js +8 -1
- package/data/sqlite/schema/containerSchema.js.map +1 -1
- package/data/sqlite/schema/documentAttachmentSchema.d.ts +0 -2
- package/data/sqlite/schema/documentAttachmentSchema.js +0 -4
- package/data/sqlite/schema/documentAttachmentSchema.js.map +1 -1
- package/data/sqlite/schema/index.d.ts +2 -0
- package/data/sqlite/schema/index.js +10 -1
- package/data/sqlite/schema/index.js.map +1 -1
- package/data/sqlite/schema/principalPolicySchema.js +0 -1
- package/data/sqlite/schema/principalPolicySchema.js.map +1 -1
- package/data/sqlite/schema/verifiedManifestBundleSchema.js +4 -2
- package/data/sqlite/schema/verifiedManifestBundleSchema.js.map +1 -1
- package/data/sqlite/sqlExec.d.ts +12 -0
- package/data/sqlite/sqlExec.js +47 -3
- package/data/sqlite/sqlExec.js.map +1 -1
- package/data/sqlite/sqlTableSchema.js +40 -15
- package/data/sqlite/sqlTableSchema.js.map +1 -1
- package/data/sqlite/sqlitePersistenceRuntime.js +18 -10
- package/data/sqlite/sqlitePersistenceRuntime.js.map +1 -1
- package/internal/api-client/ApiClient.d.ts +118 -0
- package/internal/api-client/ApiClient.js +4 -0
- package/internal/api-client/ApiClient.js.map +1 -1
- package/internal/api-client/index.d.ts +1 -1
- package/internal/api-client/index.js.map +1 -1
- package/internal/api-client/principalPolicyPages.d.ts +15 -1
- package/internal/api-client/principalPolicyPages.js +48 -2
- package/internal/api-client/principalPolicyPages.js.map +1 -1
- package/internal/api-client/principalPolicyRequests.d.ts +118 -1
- package/internal/api-client/principalPolicyRequests.js +4 -1
- package/internal/api-client/principalPolicyRequests.js.map +1 -1
- package/internal/validators/operation/principalPolicyPageQuery.d.ts +9 -0
- package/internal/validators/operation/principalPolicyPageQuery.js +10 -0
- package/internal/validators/operation/principalPolicyPageQuery.js.map +1 -1
- package/internal/validators/operation/principals.d.ts +37 -4
- package/internal/validators/operation/principals.js +5 -3
- package/internal/validators/operation/principals.js.map +1 -1
- package/internal/validators/response/index.d.ts +1 -1
- package/internal/validators/response/index.js +1 -1
- package/internal/validators/response/index.js.map +1 -1
- package/internal/validators/response/principalPolicyPage.d.ts +497 -1
- package/internal/validators/response/principalPolicyPage.js +18 -0
- package/internal/validators/response/principalPolicyPage.js.map +1 -1
- package/package.json +1 -1
- package/workflows/container-contents/documentLinks/index.d.ts +4 -0
- package/workflows/container-contents/documentLinks/index.js +10 -3
- package/workflows/container-contents/documentLinks/index.js.map +1 -1
- package/workflows/container-contents/remoteHydration/remoteContainers/remoteContainerPageHydration.js +7 -2
- package/workflows/container-contents/remoteHydration/remoteContainers/remoteContainerPageHydration.js.map +1 -1
- package/workflows/container-contents/tombstones/documentTombstoneEvidence.js +6 -5
- package/workflows/container-contents/tombstones/documentTombstoneEvidence.js.map +1 -1
- package/workflows/principals/principalPolicyHistoryReader.d.ts +6 -1
- package/workflows/principals/principalPolicyHistoryReader.js +4 -1
- package/workflows/principals/principalPolicyHistoryReader.js.map +1 -1
- package/workflows/principals/recoveryOperation/principalRecoveryDirectory.js +108 -59
- package/workflows/principals/recoveryOperation/principalRecoveryDirectory.js.map +1 -1
- package/workflows/principals/runtimePolicyRecovery.js +26 -14
- package/workflows/principals/runtimePolicyRecovery.js.map +1 -1
- package/workflows/principals/runtimePolicyWarmer.d.ts +26 -0
- package/workflows/principals/runtimePolicyWarmer.js +8 -5
- package/workflows/principals/runtimePolicyWarmer.js.map +1 -1
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GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,wBAAwB,CAAC","sourcesContent":["export {\n type AccessManifestBundleWireResponse,\n isAccessManifestBundleWireResponse,\n} from \"../util\";\nexport {\n type EffectiveAccessLevel,\n EffectiveAccessLevelSchema,\n isEffectiveAccessLevel,\n} from \"./accessLevel\";\nexport {\n type ChallengeErrorResponse,\n ChallengeErrorResponseSchema,\n type ChallengeResponse,\n ChallengeResponseSchema,\n type DestroySessionResponse,\n DestroySessionResponseSchema,\n isChallengeErrorResponse,\n isChallengeResponse,\n isDestroySessionResponse,\n isListSessionsResponse,\n isSessionRefreshRequiredFailure,\n isUserIdentityResponse,\n isUserSessionResponse,\n isVerifyResponse,\n isWebSocketTicketResponse,\n type ListSessionsResponse,\n ListSessionsResponseSchema,\n SESSION_ERROR_CODES,\n type SessionErrorCode,\n SessionErrorCodeSchema,\n type SessionFailureResponse,\n SessionFailureResponseSchema,\n type UserIdentityResponse,\n UserIdentityResponseSchema,\n type UserSessionResponse,\n UserSessionResponseSchema,\n VERIFY_ERROR_CODES,\n type VerifyFailureResponse,\n VerifyFailureResponseSchema,\n type VerifyResponse,\n type VerifySuccessResponse,\n VerifySuccessResponseSchema,\n type WebSocketTicketResponse,\n WebSocketTicketResponseSchema,\n} from \"./auth\";\nexport {\n isRevenueCatWebhookResponse,\n isStripeWebhookResponse,\n type RevenueCatWebhookResponse,\n RevenueCatWebhookResponseSchema,\n type StripeWebhookResponse,\n StripeWebhookResponseSchema,\n} from \"./billingWebhooks\";\nexport {\n type BlobAttachmentBindResponse,\n BlobAttachmentBindResponseSchema,\n type BlobAttachmentDetachResponse,\n BlobAttachmentDetachResponseSchema,\n type BlobAttachmentSummary,\n BlobAttachmentSummarySchema,\n type BlobContentKeyBundleResponse,\n BlobContentKeyBundleResponseSchema,\n type BlobContentKeyTargetEnvelopeResponse,\n BlobContentKeyTargetEnvelopeResponseSchema,\n type BlobKekTargetsResponse,\n BlobKekTargetsResponseSchema,\n type InitiateMultipartBlobStageResponse,\n InitiateMultipartBlobStageResponseSchema,\n isBlobAttachmentBindResponse,\n isBlobAttachmentDetachResponse,\n isInitiateMultipartBlobStageResponse,\n isListDocumentAttachmentsResponse,\n isMultipartBlobStageStatusResponse,\n isUploadMultipartBlobPartResponse,\n type ListDocumentAttachmentsResponse,\n ListDocumentAttachmentsResponseSchema,\n type MultipartBlobStagePart,\n MultipartBlobStagePartSchema,\n type MultipartBlobStageStatusResponse,\n MultipartBlobStageStatusResponseSchema,\n type UploadMultipartBlobPartResponse,\n UploadMultipartBlobPartResponseSchema,\n} from \"./blob\";\nexport {\n BLOB_MUTATION_ERROR_CODES,\n type BlobMutationErrorCode,\n type BlobMutationFailureResponse,\n BlobMutationFailureResponseSchema,\n} from \"./blobMutationError\";\nexport {\n CONTAINER_PROJECTION_STATE_INVALID_ERROR_CODE,\n type ContainerDeleteResponse,\n ContainerDeleteResponseSchema,\n type ContainerKekKeyringWireResponse,\n type ContainerKekLogEpochResponse,\n ContainerKekLogEpochResponseSchema,\n type ContainerKekLogResponse,\n ContainerKekLogResponseSchema,\n type ContainerKekResponse,\n type ContainerKeyingPathResponse,\n ContainerKeyingPathResponseSchema,\n type ContainerMutationResponse,\n ContainerMutationResponseSchema,\n type ContainerReciteResponse,\n ContainerReciteResponseSchema,\n type ContainerRotationResponse,\n ContainerRotationResponseSchema,\n type ContainerSummary,\n ContainerSummaryResponseSchema,\n type ContainerSyncTombstone,\n ContainerSyncTombstoneResponseSchema,\n ContainerWriterProjectionErrorResponseSchema,\n type ContainerWriterProjectionResponse,\n ContainerWriterProjectionResponseSchema,\n type ContainerWriterProjectionWireResponse,\n ContainerWriterProjectionWireResponseSchema,\n isContainerDeleteResponse,\n isContainerKekLogResponse,\n isContainerMutationResponse,\n isContainerReciteResponse,\n isContainerRotationResponse,\n isContainerWriterProjectionResponse,\n isContainerWriterProjectionWireResponse,\n isListContainersResponse,\n type ListContainersResponse,\n ListContainersResponseSchema,\n} from \"./container\";\nexport type { ListContainerDocumentLanesResponse } from \"./containerDocumentLanes\";\nexport {\n type ContainerCreateWithMetadataDocumentResponse,\n ContainerCreateWithMetadataDocumentResponseSchema,\n isContainerCreateWithMetadataDocumentResponse,\n} from \"./containerMetadata\";\nexport {\n CONTAINER_MUTATION_ERROR_CODES,\n ContainerMutationBehaviorErrorCodeSchema,\n type ContainerMutationErrorCode,\n ContainerMutationErrorCodeSchema,\n type ContainerMutationFailureResponse,\n ContainerMutationFailureResponseSchema,\n} from \"./containerMutationError\";\nexport {\n CONTAINER_NOT_FOUND_ERROR_CODE,\n type ContainerNotFoundErrorResponse,\n ContainerNotFoundErrorResponseSchema,\n} from \"./containerNotFoundError\";\nexport {\n isListContainerParentLanesResponse,\n type ListContainerParentLanesResponse,\n ListContainerParentLanesResponseSchema,\n} from \"./containerParentLanes\";\nexport {\n CONTAINER_UNAVAILABLE_ERROR_CODE,\n type ContainerUnavailableErrorCode,\n} from \"./containerUnavailableError\";\nexport {\n type ContainerDocumentSummary,\n ContainerDocumentSummaryResponseSchema,\n type ContainerDocumentSyncTombstone,\n ContainerDocumentSyncTombstoneResponseSchema,\n type DocumentEditAttributionRangeResponse,\n DocumentEditAttributionRangeResponseSchema,\n type DocumentEditAttributionResponse,\n DocumentEditAttributionResponseSchema,\n type DocumentEditAttributionSegmentResponse,\n DocumentEditAttributionSegmentResponseSchema,\n isDocumentEditAttributionResponse,\n isListDocumentEditAttributionRangesResponse,\n type ListContainerDocumentsResponse,\n ListContainerDocumentsResponseSchema,\n type ListDocumentEditAttributionRangesResponse,\n ListDocumentEditAttributionRangesResponseSchema,\n} from \"./document\";\nexport {\n type DocumentContentKeyBundleResponse,\n DocumentContentKeyBundleResponseSchema,\n type DocumentContentKeyTargetEnvelopeResponse,\n DocumentContentKeyTargetEnvelopeResponseSchema,\n type DocumentCreateResponse,\n DocumentCreateResponseSchema,\n type DocumentCreateSeedResponse,\n type DocumentKekTargetsResponse,\n DocumentKekTargetsResponseSchema,\n type DocumentLinkSetMutationResponse,\n DocumentLinkSetMutationResponseSchema,\n type DocumentPurgeProofResponse,\n DocumentPurgeProofResponseSchema,\n type DocumentPurgeResponse,\n DocumentPurgeResponseSchema,\n type DocumentSyncPullPageResponse,\n DocumentSyncPullPageResponseSchema,\n type DocumentSyncResponse,\n DocumentSyncResponseSchema,\n type DocumentSyncUpdateResponse,\n DocumentSyncUpdateResponseSchema,\n type DocumentWriterProjectionResponse,\n DocumentWriterProjectionResponseSchema,\n type DocumentWriterProjectionWireResponse,\n DocumentWriterProjectionWireResponseSchema,\n documentKekTargetsFromContentKeyBundle,\n isDocumentContentKeyBundleResponse,\n isDocumentCreateResponse,\n isDocumentKekTargetsResponse,\n isDocumentLinkSetMutationResponse,\n isDocumentPurgeProofResponse,\n isDocumentPurgeResponse,\n isDocumentSyncResponse,\n isDocumentWriterProjectionResponse,\n isDocumentWriterProjectionWireResponse,\n} from \"./documentMutation\";\nexport {\n DOCUMENT_MUTATION_ERROR_CODES,\n DocumentMutationBehaviorErrorCodeSchema,\n type DocumentMutationErrorCode,\n DocumentMutationErrorCodeSchema,\n type DocumentMutationFailureResponse,\n DocumentMutationFailureResponseSchema,\n} from \"./documentMutationError\";\nexport {\n DOCUMENT_NOT_FOUND_ERROR_CODE,\n DOCUMENT_PROJECTION_ERROR_CODES,\n DOCUMENT_SYNC_ERROR_CODES,\n type DocumentNotFoundErrorCode,\n type DocumentNotFoundErrorResponse,\n DocumentNotFoundErrorResponseSchema,\n type DocumentProjectionErrorCode,\n DocumentProjectionErrorCodeSchema,\n type DocumentSyncErrorCode,\n DocumentSyncErrorCodeSchema,\n type DocumentSyncErrorResponse,\n DocumentSyncErrorResponseSchema,\n type DocumentSyncStateStaleErrorResponse,\n DocumentSyncStateStaleErrorResponseSchema,\n type DocumentWriterProjectionErrorResponse,\n DocumentWriterProjectionErrorResponseSchema,\n isDocumentSyncErrorCode,\n isDocumentSyncErrorResponse,\n isDocumentSyncStateStaleErrorResponse,\n} from \"./documentSyncError\";\nexport {\n type ErrorResponse,\n ErrorResponseSchema,\n isErrorResponse,\n} from \"./error\";\nexport {\n type HealthResponse,\n HealthResponseSchema,\n isHealthResponse,\n} from \"./health\";\nexport {\n MULTIPART_BLOB_STAGE_ERROR_CODES,\n type MultipartBlobStageConflictErrorResponse,\n MultipartBlobStageConflictErrorResponseSchema,\n type MultipartBlobStageErrorCode,\n type MultipartBlobStageExpiredErrorResponse,\n MultipartBlobStageExpiredErrorResponseSchema,\n type MultipartBlobStageNotFoundErrorResponse,\n MultipartBlobStageNotFoundErrorResponseSchema,\n} from \"./multipartBlobStageError\";\nexport {\n type CreateOrganizationGroupResponse,\n CreateOrganizationGroupResponseSchema,\n type DeleteOrganizationGroupResponse,\n DeleteOrganizationGroupResponseSchema,\n isCreateOrganizationGroupResponse,\n isDeleteOrganizationGroupResponse,\n isListOrganizationGroupsResponse,\n isOrganizationContainerGrantResponse,\n isOrganizationContainerGrantSubjectType,\n isOrganizationContainerGrantsResponse,\n isOrganizationDirectoryResponse,\n isOrganizationDirectoryUserResponse,\n isOrganizationGroupContainerAccessLevel,\n isOrganizationGroupContainerResponse,\n isOrganizationGroupContainersResponse,\n isOrganizationGroupCurrentStateResponse,\n isOrganizationGroupMemberResponse,\n isOrganizationGroupMembersResponse,\n isOrganizationGroupSummaryResponse,\n isOrganizationProfileResponse,\n isOrganizationUserDetailGrantsResponse,\n isOrganizationUserDetailResponse,\n type ListOrganizationGroupsResponse,\n ListOrganizationGroupsResponseSchema,\n type OrganizationContainerGrantResponse,\n OrganizationContainerGrantResponseSchema,\n type OrganizationContainerGrantSubjectType,\n type OrganizationContainerGrantsResponse,\n OrganizationContainerGrantsResponseSchema,\n type OrganizationDirectoryResponse,\n OrganizationDirectoryResponseSchema,\n type OrganizationDirectoryUserResponse,\n OrganizationDirectoryUserResponseSchema,\n type OrganizationGroupContainerAccessLevel,\n type OrganizationGroupContainerResponse,\n OrganizationGroupContainerResponseSchema,\n type OrganizationGroupContainersResponse,\n OrganizationGroupContainersResponseSchema,\n type OrganizationGroupCurrentStateResponse,\n OrganizationGroupCurrentStateResponseSchema,\n type OrganizationGroupMemberResponse,\n OrganizationGroupMemberResponseSchema,\n type OrganizationGroupMembersResponse,\n OrganizationGroupMembersResponseSchema,\n type OrganizationGroupSummaryResponse,\n OrganizationGroupSummaryResponseSchema,\n type OrganizationProfileResponse,\n OrganizationProfileResponseSchema,\n type OrganizationRole,\n type OrganizationRosterStatus,\n type OrganizationUserDetailGrantsResponse,\n OrganizationUserDetailGrantsResponseSchema,\n type OrganizationUserDetailResponse,\n OrganizationUserDetailResponseSchema,\n} from \"./organization\";\nexport {\n type BillingErrorResponse,\n BillingErrorResponseSchema,\n isOrganizationBillingProvider,\n isOrganizationBillingResponse,\n isOrganizationBillingStatus,\n isPaymentRequiredErrorResponse,\n type OrganizationBillingProvider,\n OrganizationBillingProviderSchema,\n type OrganizationBillingResponse,\n OrganizationBillingResponseSchema,\n type OrganizationBillingStatus,\n OrganizationBillingStatusSchema,\n type OrganizationBillingSubscriptionSource,\n OrganizationBillingSubscriptionSourceSchema,\n type PaymentRequiredErrorResponse,\n PaymentRequiredErrorResponseSchema,\n} from \"./organizationBilling\";\nexport {\n isOrganizationBillingHistoryResponse,\n type OrganizationBillingHistoryCategory,\n OrganizationBillingHistoryCategorySchema,\n type OrganizationBillingHistoryEntry,\n OrganizationBillingHistoryEntrySchema,\n type OrganizationBillingHistoryEnvironment,\n OrganizationBillingHistoryEnvironmentSchema,\n type OrganizationBillingHistoryOutcome,\n OrganizationBillingHistoryOutcomeSchema,\n type OrganizationBillingHistoryProvider,\n OrganizationBillingHistoryProviderSchema,\n type OrganizationBillingHistoryResponse,\n OrganizationBillingHistoryResponseSchema,\n} from \"./organizationBillingHistory\";\nexport {\n isOrganizationBillingManagementUrlResponse,\n type OrganizationBillingManagementUrlResponse,\n OrganizationBillingManagementUrlResponseSchema,\n} from \"./organizationBillingManagementUrl\";\nexport {\n isOrganizationDataUsageResponse,\n ORGANIZATION_DOCUMENT_USAGE_CATEGORIES,\n type OrganizationBlobDataUsageResponse,\n type OrganizationDataUsageResponse,\n OrganizationDataUsageResponseSchema,\n type OrganizationDocumentDataUsageResponse,\n type OrganizationDocumentUsageCategory,\n type OrganizationDocumentUsageCategoryBreakdown,\n} from \"./organizationDataUsage\";\nexport {\n isOrganizationMembershipResponse,\n isOrganizationMembershipsResponse,\n type OrganizationMembershipResponse,\n OrganizationMembershipResponseSchema,\n type OrganizationMembershipsResponse,\n OrganizationMembershipsResponseSchema,\n} from \"./organizationMembership\";\nexport {\n isOrganizationNativePurchaseEligibilityResponse,\n type OrganizationNativePurchaseEligibilityResponse,\n OrganizationNativePurchaseEligibilityResponseSchema,\n type OrganizationNativePurchaseIneligibilityReason,\n OrganizationNativePurchaseIneligibilityReasonSchema,\n} from \"./organizationNativePurchaseEligibility\";\nexport {\n type OrganizationPolicyHistoryResponse,\n OrganizationPolicyHistoryResponseSchema,\n PRINCIPAL_DISPLAY_HISTORY_PAGE_SIZE,\n} from \"./organizationPolicyHistory\";\nexport {\n ORGANIZATION_PRESENTATION_ERROR_CODES,\n type OrganizationPresentationErrorCode,\n OrganizationPresentationErrorCodeSchema,\n type OrganizationPresentationFailureResponse,\n OrganizationPresentationFailureResponseSchema,\n} from \"./organizationPresentationError\";\nexport {\n type CreateOrganizationResponse,\n CreateOrganizationResponseSchema,\n isCreateOrganizationResponse,\n isOrganizationProvisioningResponse,\n type OrganizationProvisioningResponse,\n OrganizationProvisioningResponseSchema,\n} from \"./organizationProvisioning\";\nexport {\n isOrganizationReadModelResponse,\n type OrganizationReadModelDeltaResponse,\n type OrganizationReadModelDirectoryResponse,\n type OrganizationReadModelGrantsResponse,\n type OrganizationReadModelGroupMemberResponse,\n type OrganizationReadModelGroupMembershipResponse,\n type OrganizationReadModelGroupMembershipsResponse,\n type OrganizationReadModelOrganizationPolicyResponse,\n type OrganizationReadModelResponse,\n OrganizationReadModelResponseSchema,\n type OrganizationReadModelSnapshotResponse,\n} from \"./organizationReadModel\";\nexport {\n ORGANIZATION_READ_MODEL_ERROR_CODES,\n type OrganizationReadModelErrorCode,\n OrganizationReadModelErrorCodeSchema,\n type OrganizationReadModelFailureResponse,\n OrganizationReadModelFailureResponseSchema,\n} from \"./organizationReadModelError\";\nexport {\n CommitOrganizationGroupPolicyConflictResponseSchema,\n type CommitOrganizationGroupPolicyResponse,\n CommitOrganizationGroupPolicyResponseSchema,\n type CurrentPrincipalMemberEnvelopesResponse,\n CurrentPrincipalMemberEnvelopesResponseSchema,\n isCommitOrganizationGroupPolicyResponse,\n isCurrentPrincipalMemberEnvelopesResponse,\n isPrincipalPolicyBundleResponse,\n isPrincipalPolicyMutationResponse,\n isPrincipalPolicyStaleErrorResponse,\n isPrincipalPolicyStateChainEntryResponse,\n isPrincipalStatePayloadResponse,\n isPrincipalStateResponse,\n type PrincipalContainerGrantResponse,\n PrincipalContainerGrantResponseSchema,\n type PrincipalMemberEnvelopeResponse,\n PrincipalMemberEnvelopeResponseSchema,\n type PrincipalPolicyBundleResponse,\n PrincipalPolicyBundleResponseSchema,\n type PrincipalPolicyErrorResponse,\n PrincipalPolicyErrorResponseSchema,\n type PrincipalPolicyMutationResponse,\n PrincipalPolicyMutationResponseSchema,\n type PrincipalPolicySnapshotResponse,\n PrincipalPolicySnapshotResponseSchema,\n type PrincipalPolicyStaleErrorResponse,\n PrincipalPolicyStaleErrorResponseSchema,\n type PrincipalPolicyStateChainEntryResponse,\n PrincipalPolicyStateChainEntryResponseSchema,\n type PrincipalProjectionMemberResponse,\n PrincipalProjectionMemberResponseSchema,\n type PrincipalStateExternalAuthorityResponse,\n PrincipalStateExternalAuthorityResponseSchema,\n type PrincipalStatePayloadResponse,\n PrincipalStatePayloadResponseSchema,\n type PrincipalStateResponse,\n PrincipalStateResponseSchema,\n} from \"./principal\";\nexport {\n isPrincipalPolicyPageResponse,\n type PrincipalPolicyPageResponse,\n PrincipalPolicyPageResponseSchema,\n} from \"./principalPolicyPage\";\nexport {\n isPrincipalPolicySnapshotPageResponse,\n type PrincipalPolicyHistorySourceResponse,\n PrincipalPolicyHistorySourceResponseSchema,\n type PrincipalPolicySnapshotPageResponse,\n PrincipalPolicySnapshotPageResponseSchema,\n} from \"./principalPolicySnapshotPage\";\nexport {\n isReferencedPrincipalStateResponse,\n type ReferencedPrincipalStateResponse,\n ReferencedPrincipalStateResponseSchema,\n} from \"./principalReference\";\nexport {\n type ProjectionPolicyEvidenceResponse,\n ProjectionPolicyEvidenceResponseSchema,\n} from \"./projectionPolicyEvidence\";\nexport {\n isRegistrationResponse,\n type RegistrationResponse,\n RegistrationResponseSchema,\n} from \"./registration\";\nexport {\n isRootIdentitiesResponse,\n isRootIdentityDetailResponse,\n isRootIdentityOrganizationsResponse,\n isRootIdentitySuspensionResponse,\n type RootIdentitiesResponse,\n RootIdentitiesResponseSchema,\n type RootIdentityDetailResponse,\n RootIdentityDetailResponseSchema,\n type RootIdentityOrganizationBillingResponse,\n RootIdentityOrganizationBillingResponseSchema,\n type RootIdentityOrganizationResponse,\n RootIdentityOrganizationResponseSchema,\n type RootIdentityOrganizationsResponse,\n RootIdentityOrganizationsResponseSchema,\n type RootIdentitySessionResponse,\n RootIdentitySessionResponseSchema,\n type RootIdentitySummaryResponse,\n RootIdentitySummaryResponseSchema,\n type RootIdentitySuspensionResponse,\n RootIdentitySuspensionResponseSchema,\n} from \"./root\";\nexport {\n ROOT_AUDIT_ACTIONS,\n type RootAuditAction,\n RootAuditActionSchema,\n type RootAuditEventResponse,\n RootAuditEventResponseSchema,\n type RootAuditEventsResponse,\n RootAuditEventsResponseSchema,\n} from \"./rootAudit\";\nexport {\n ROOT_OPS_HEALTH_OVERDUE_MINUTES,\n ROOT_OPS_HEALTH_SECTION_LIMIT,\n ROOT_OPS_HEALTH_UPCOMING_DAYS,\n ROOT_SEAT_SYNC_CONDITIONS,\n type RootOpsHealthReportResponse,\n RootOpsHealthReportResponseSchema,\n RootSeatSyncConditionSchema,\n} from \"./rootOpsHealth\";\nexport {\n type RootDataUsageReportResponse,\n RootDataUsageReportResponseSchema,\n type RootOrganizationDetailResponse,\n RootOrganizationDetailResponseSchema,\n type RootOrganizationIdentitiesResponse,\n RootOrganizationIdentitiesResponseSchema,\n type RootOrganizationIdentityResponse,\n RootOrganizationIdentityResponseSchema,\n type RootOrganizationSummaryResponse,\n RootOrganizationSummaryResponseSchema,\n type RootOrganizationsResponse,\n RootOrganizationsResponseSchema,\n} from \"./rootOrganizations\";\nexport {\n ROOT_REVENUECAT_DISPOSITIONS,\n ROOT_REVENUECAT_EVENT_ROLES,\n type RootOrganizationRevenuecatEventResponse,\n RootOrganizationRevenuecatEventResponseSchema,\n type RootOrganizationRevenuecatEventsResponse,\n RootOrganizationRevenuecatEventsResponseSchema,\n type RootRevenuecatDisposition,\n RootRevenuecatDispositionSchema,\n type RootRevenuecatEventResponse,\n RootRevenuecatEventResponseSchema,\n type RootRevenuecatEventsReportResponse,\n RootRevenuecatEventsReportResponseSchema,\n} from \"./rootRevenuecat\";\nexport {\n isStripeCancelResponse,\n isStripeCheckoutIntentResponse,\n isStripeCheckoutOptionsResponse,\n isStripeCheckoutSessionResponse,\n isStripePortalResponse,\n type StripeCancelResponse,\n StripeCancelResponseSchema,\n type StripeCheckoutIntentResponse,\n StripeCheckoutIntentResponseSchema,\n type StripeCheckoutOptionsResponse,\n StripeCheckoutOptionsResponseSchema,\n type StripeCheckoutSessionResponse,\n StripeCheckoutSessionResponseSchema,\n type StripePortalResponse,\n StripePortalResponseSchema,\n type StripeSyncOptionResponse,\n StripeSyncOptionResponseSchema,\n} from \"./stripeCheckout\";\nexport {\n isSyncWatermark,\n type SyncWatermark,\n SyncWatermarkSchema,\n} from \"./syncWatermark\";\nexport {\n decodeContainerWriterProjection,\n decodeDocumentWriterProjection,\n encodeContainerWriterProjection,\n encodeDocumentWriterProjection,\n} from \"./writerProjectionWire\";\n"]}
|
|
1
|
+
{"version":3,"file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AmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,wBAAwB,CAAC","sourcesContent":["export {\n type AccessManifestBundleWireResponse,\n isAccessManifestBundleWireResponse,\n} from \"../util\";\nexport {\n type EffectiveAccessLevel,\n EffectiveAccessLevelSchema,\n isEffectiveAccessLevel,\n} from \"./accessLevel\";\nexport {\n type ChallengeErrorResponse,\n ChallengeErrorResponseSchema,\n type ChallengeResponse,\n ChallengeResponseSchema,\n type DestroySessionResponse,\n DestroySessionResponseSchema,\n isChallengeErrorResponse,\n isChallengeResponse,\n isDestroySessionResponse,\n isListSessionsResponse,\n isSessionRefreshRequiredFailure,\n isUserIdentityResponse,\n isUserSessionResponse,\n isVerifyResponse,\n isWebSocketTicketResponse,\n type ListSessionsResponse,\n ListSessionsResponseSchema,\n SESSION_ERROR_CODES,\n type SessionErrorCode,\n SessionErrorCodeSchema,\n type SessionFailureResponse,\n SessionFailureResponseSchema,\n type UserIdentityResponse,\n UserIdentityResponseSchema,\n type UserSessionResponse,\n UserSessionResponseSchema,\n VERIFY_ERROR_CODES,\n type VerifyFailureResponse,\n VerifyFailureResponseSchema,\n type VerifyResponse,\n type VerifySuccessResponse,\n VerifySuccessResponseSchema,\n type WebSocketTicketResponse,\n WebSocketTicketResponseSchema,\n} from \"./auth\";\nexport {\n isRevenueCatWebhookResponse,\n isStripeWebhookResponse,\n type RevenueCatWebhookResponse,\n RevenueCatWebhookResponseSchema,\n type StripeWebhookResponse,\n StripeWebhookResponseSchema,\n} from \"./billingWebhooks\";\nexport {\n type BlobAttachmentBindResponse,\n BlobAttachmentBindResponseSchema,\n type BlobAttachmentDetachResponse,\n BlobAttachmentDetachResponseSchema,\n type BlobAttachmentSummary,\n BlobAttachmentSummarySchema,\n type BlobContentKeyBundleResponse,\n BlobContentKeyBundleResponseSchema,\n type BlobContentKeyTargetEnvelopeResponse,\n BlobContentKeyTargetEnvelopeResponseSchema,\n type BlobKekTargetsResponse,\n BlobKekTargetsResponseSchema,\n type InitiateMultipartBlobStageResponse,\n InitiateMultipartBlobStageResponseSchema,\n isBlobAttachmentBindResponse,\n isBlobAttachmentDetachResponse,\n isInitiateMultipartBlobStageResponse,\n isListDocumentAttachmentsResponse,\n isMultipartBlobStageStatusResponse,\n isUploadMultipartBlobPartResponse,\n type ListDocumentAttachmentsResponse,\n ListDocumentAttachmentsResponseSchema,\n type MultipartBlobStagePart,\n MultipartBlobStagePartSchema,\n type MultipartBlobStageStatusResponse,\n MultipartBlobStageStatusResponseSchema,\n type UploadMultipartBlobPartResponse,\n UploadMultipartBlobPartResponseSchema,\n} from \"./blob\";\nexport {\n BLOB_MUTATION_ERROR_CODES,\n type BlobMutationErrorCode,\n type BlobMutationFailureResponse,\n BlobMutationFailureResponseSchema,\n} from \"./blobMutationError\";\nexport {\n CONTAINER_PROJECTION_STATE_INVALID_ERROR_CODE,\n type ContainerDeleteResponse,\n ContainerDeleteResponseSchema,\n type ContainerKekKeyringWireResponse,\n type ContainerKekLogEpochResponse,\n ContainerKekLogEpochResponseSchema,\n type ContainerKekLogResponse,\n ContainerKekLogResponseSchema,\n type ContainerKekResponse,\n type ContainerKeyingPathResponse,\n ContainerKeyingPathResponseSchema,\n type ContainerMutationResponse,\n ContainerMutationResponseSchema,\n type ContainerReciteResponse,\n ContainerReciteResponseSchema,\n type ContainerRotationResponse,\n ContainerRotationResponseSchema,\n type ContainerSummary,\n ContainerSummaryResponseSchema,\n type ContainerSyncTombstone,\n ContainerSyncTombstoneResponseSchema,\n ContainerWriterProjectionErrorResponseSchema,\n type ContainerWriterProjectionResponse,\n ContainerWriterProjectionResponseSchema,\n type ContainerWriterProjectionWireResponse,\n ContainerWriterProjectionWireResponseSchema,\n isContainerDeleteResponse,\n isContainerKekLogResponse,\n isContainerMutationResponse,\n isContainerReciteResponse,\n isContainerRotationResponse,\n isContainerWriterProjectionResponse,\n isContainerWriterProjectionWireResponse,\n isListContainersResponse,\n type ListContainersResponse,\n ListContainersResponseSchema,\n} from \"./container\";\nexport type { ListContainerDocumentLanesResponse } from \"./containerDocumentLanes\";\nexport {\n type ContainerCreateWithMetadataDocumentResponse,\n ContainerCreateWithMetadataDocumentResponseSchema,\n isContainerCreateWithMetadataDocumentResponse,\n} from \"./containerMetadata\";\nexport {\n CONTAINER_MUTATION_ERROR_CODES,\n ContainerMutationBehaviorErrorCodeSchema,\n type ContainerMutationErrorCode,\n ContainerMutationErrorCodeSchema,\n type ContainerMutationFailureResponse,\n ContainerMutationFailureResponseSchema,\n} from \"./containerMutationError\";\nexport {\n CONTAINER_NOT_FOUND_ERROR_CODE,\n type ContainerNotFoundErrorResponse,\n ContainerNotFoundErrorResponseSchema,\n} from \"./containerNotFoundError\";\nexport {\n isListContainerParentLanesResponse,\n type ListContainerParentLanesResponse,\n ListContainerParentLanesResponseSchema,\n} from \"./containerParentLanes\";\nexport {\n CONTAINER_UNAVAILABLE_ERROR_CODE,\n type ContainerUnavailableErrorCode,\n} from \"./containerUnavailableError\";\nexport {\n type ContainerDocumentSummary,\n ContainerDocumentSummaryResponseSchema,\n type ContainerDocumentSyncTombstone,\n ContainerDocumentSyncTombstoneResponseSchema,\n type DocumentEditAttributionRangeResponse,\n DocumentEditAttributionRangeResponseSchema,\n type DocumentEditAttributionResponse,\n DocumentEditAttributionResponseSchema,\n type DocumentEditAttributionSegmentResponse,\n DocumentEditAttributionSegmentResponseSchema,\n isDocumentEditAttributionResponse,\n isListDocumentEditAttributionRangesResponse,\n type ListContainerDocumentsResponse,\n ListContainerDocumentsResponseSchema,\n type ListDocumentEditAttributionRangesResponse,\n ListDocumentEditAttributionRangesResponseSchema,\n} from \"./document\";\nexport {\n type DocumentContentKeyBundleResponse,\n DocumentContentKeyBundleResponseSchema,\n type DocumentContentKeyTargetEnvelopeResponse,\n DocumentContentKeyTargetEnvelopeResponseSchema,\n type DocumentCreateResponse,\n DocumentCreateResponseSchema,\n type DocumentCreateSeedResponse,\n type DocumentKekTargetsResponse,\n DocumentKekTargetsResponseSchema,\n type DocumentLinkSetMutationResponse,\n DocumentLinkSetMutationResponseSchema,\n type DocumentPurgeProofResponse,\n DocumentPurgeProofResponseSchema,\n type DocumentPurgeResponse,\n DocumentPurgeResponseSchema,\n type DocumentSyncPullPageResponse,\n DocumentSyncPullPageResponseSchema,\n type DocumentSyncResponse,\n DocumentSyncResponseSchema,\n type DocumentSyncUpdateResponse,\n DocumentSyncUpdateResponseSchema,\n type DocumentWriterProjectionResponse,\n DocumentWriterProjectionResponseSchema,\n type DocumentWriterProjectionWireResponse,\n DocumentWriterProjectionWireResponseSchema,\n documentKekTargetsFromContentKeyBundle,\n isDocumentContentKeyBundleResponse,\n isDocumentCreateResponse,\n isDocumentKekTargetsResponse,\n isDocumentLinkSetMutationResponse,\n isDocumentPurgeProofResponse,\n isDocumentPurgeResponse,\n isDocumentSyncResponse,\n isDocumentWriterProjectionResponse,\n isDocumentWriterProjectionWireResponse,\n} from \"./documentMutation\";\nexport {\n DOCUMENT_MUTATION_ERROR_CODES,\n DocumentMutationBehaviorErrorCodeSchema,\n type DocumentMutationErrorCode,\n DocumentMutationErrorCodeSchema,\n type DocumentMutationFailureResponse,\n DocumentMutationFailureResponseSchema,\n} from \"./documentMutationError\";\nexport {\n DOCUMENT_NOT_FOUND_ERROR_CODE,\n DOCUMENT_PROJECTION_ERROR_CODES,\n DOCUMENT_SYNC_ERROR_CODES,\n type DocumentNotFoundErrorCode,\n type DocumentNotFoundErrorResponse,\n DocumentNotFoundErrorResponseSchema,\n type DocumentProjectionErrorCode,\n DocumentProjectionErrorCodeSchema,\n type DocumentSyncErrorCode,\n DocumentSyncErrorCodeSchema,\n type DocumentSyncErrorResponse,\n DocumentSyncErrorResponseSchema,\n type DocumentSyncStateStaleErrorResponse,\n DocumentSyncStateStaleErrorResponseSchema,\n type DocumentWriterProjectionErrorResponse,\n DocumentWriterProjectionErrorResponseSchema,\n isDocumentSyncErrorCode,\n isDocumentSyncErrorResponse,\n isDocumentSyncStateStaleErrorResponse,\n} from \"./documentSyncError\";\nexport {\n type ErrorResponse,\n ErrorResponseSchema,\n isErrorResponse,\n} from \"./error\";\nexport {\n type HealthResponse,\n HealthResponseSchema,\n isHealthResponse,\n} from \"./health\";\nexport {\n MULTIPART_BLOB_STAGE_ERROR_CODES,\n type MultipartBlobStageConflictErrorResponse,\n MultipartBlobStageConflictErrorResponseSchema,\n type MultipartBlobStageErrorCode,\n type MultipartBlobStageExpiredErrorResponse,\n MultipartBlobStageExpiredErrorResponseSchema,\n type MultipartBlobStageNotFoundErrorResponse,\n MultipartBlobStageNotFoundErrorResponseSchema,\n} from \"./multipartBlobStageError\";\nexport {\n type CreateOrganizationGroupResponse,\n CreateOrganizationGroupResponseSchema,\n type DeleteOrganizationGroupResponse,\n DeleteOrganizationGroupResponseSchema,\n isCreateOrganizationGroupResponse,\n isDeleteOrganizationGroupResponse,\n isListOrganizationGroupsResponse,\n isOrganizationContainerGrantResponse,\n isOrganizationContainerGrantSubjectType,\n isOrganizationContainerGrantsResponse,\n isOrganizationDirectoryResponse,\n isOrganizationDirectoryUserResponse,\n isOrganizationGroupContainerAccessLevel,\n isOrganizationGroupContainerResponse,\n isOrganizationGroupContainersResponse,\n isOrganizationGroupCurrentStateResponse,\n isOrganizationGroupMemberResponse,\n isOrganizationGroupMembersResponse,\n isOrganizationGroupSummaryResponse,\n isOrganizationProfileResponse,\n isOrganizationUserDetailGrantsResponse,\n isOrganizationUserDetailResponse,\n type ListOrganizationGroupsResponse,\n ListOrganizationGroupsResponseSchema,\n type OrganizationContainerGrantResponse,\n OrganizationContainerGrantResponseSchema,\n type OrganizationContainerGrantSubjectType,\n type OrganizationContainerGrantsResponse,\n OrganizationContainerGrantsResponseSchema,\n type OrganizationDirectoryResponse,\n OrganizationDirectoryResponseSchema,\n type OrganizationDirectoryUserResponse,\n OrganizationDirectoryUserResponseSchema,\n type OrganizationGroupContainerAccessLevel,\n type OrganizationGroupContainerResponse,\n OrganizationGroupContainerResponseSchema,\n type OrganizationGroupContainersResponse,\n OrganizationGroupContainersResponseSchema,\n type OrganizationGroupCurrentStateResponse,\n OrganizationGroupCurrentStateResponseSchema,\n type OrganizationGroupMemberResponse,\n OrganizationGroupMemberResponseSchema,\n type OrganizationGroupMembersResponse,\n OrganizationGroupMembersResponseSchema,\n type OrganizationGroupSummaryResponse,\n OrganizationGroupSummaryResponseSchema,\n type OrganizationProfileResponse,\n OrganizationProfileResponseSchema,\n type OrganizationRole,\n type OrganizationRosterStatus,\n type OrganizationUserDetailGrantsResponse,\n OrganizationUserDetailGrantsResponseSchema,\n type OrganizationUserDetailResponse,\n OrganizationUserDetailResponseSchema,\n} from \"./organization\";\nexport {\n type BillingErrorResponse,\n BillingErrorResponseSchema,\n isOrganizationBillingProvider,\n isOrganizationBillingResponse,\n isOrganizationBillingStatus,\n isPaymentRequiredErrorResponse,\n type OrganizationBillingProvider,\n OrganizationBillingProviderSchema,\n type OrganizationBillingResponse,\n OrganizationBillingResponseSchema,\n type OrganizationBillingStatus,\n OrganizationBillingStatusSchema,\n type OrganizationBillingSubscriptionSource,\n OrganizationBillingSubscriptionSourceSchema,\n type PaymentRequiredErrorResponse,\n PaymentRequiredErrorResponseSchema,\n} from \"./organizationBilling\";\nexport {\n isOrganizationBillingHistoryResponse,\n type OrganizationBillingHistoryCategory,\n OrganizationBillingHistoryCategorySchema,\n type OrganizationBillingHistoryEntry,\n OrganizationBillingHistoryEntrySchema,\n type OrganizationBillingHistoryEnvironment,\n OrganizationBillingHistoryEnvironmentSchema,\n type OrganizationBillingHistoryOutcome,\n OrganizationBillingHistoryOutcomeSchema,\n type OrganizationBillingHistoryProvider,\n OrganizationBillingHistoryProviderSchema,\n type OrganizationBillingHistoryResponse,\n OrganizationBillingHistoryResponseSchema,\n} from \"./organizationBillingHistory\";\nexport {\n isOrganizationBillingManagementUrlResponse,\n type OrganizationBillingManagementUrlResponse,\n OrganizationBillingManagementUrlResponseSchema,\n} from \"./organizationBillingManagementUrl\";\nexport {\n isOrganizationDataUsageResponse,\n ORGANIZATION_DOCUMENT_USAGE_CATEGORIES,\n type OrganizationBlobDataUsageResponse,\n type OrganizationDataUsageResponse,\n OrganizationDataUsageResponseSchema,\n type OrganizationDocumentDataUsageResponse,\n type OrganizationDocumentUsageCategory,\n type OrganizationDocumentUsageCategoryBreakdown,\n} from \"./organizationDataUsage\";\nexport {\n isOrganizationMembershipResponse,\n isOrganizationMembershipsResponse,\n type OrganizationMembershipResponse,\n OrganizationMembershipResponseSchema,\n type OrganizationMembershipsResponse,\n OrganizationMembershipsResponseSchema,\n} from \"./organizationMembership\";\nexport {\n isOrganizationNativePurchaseEligibilityResponse,\n type OrganizationNativePurchaseEligibilityResponse,\n OrganizationNativePurchaseEligibilityResponseSchema,\n type OrganizationNativePurchaseIneligibilityReason,\n OrganizationNativePurchaseIneligibilityReasonSchema,\n} from \"./organizationNativePurchaseEligibility\";\nexport {\n type OrganizationPolicyHistoryResponse,\n OrganizationPolicyHistoryResponseSchema,\n PRINCIPAL_DISPLAY_HISTORY_PAGE_SIZE,\n} from \"./organizationPolicyHistory\";\nexport {\n ORGANIZATION_PRESENTATION_ERROR_CODES,\n type OrganizationPresentationErrorCode,\n OrganizationPresentationErrorCodeSchema,\n type OrganizationPresentationFailureResponse,\n OrganizationPresentationFailureResponseSchema,\n} from \"./organizationPresentationError\";\nexport {\n type CreateOrganizationResponse,\n CreateOrganizationResponseSchema,\n isCreateOrganizationResponse,\n isOrganizationProvisioningResponse,\n type OrganizationProvisioningResponse,\n OrganizationProvisioningResponseSchema,\n} from \"./organizationProvisioning\";\nexport {\n isOrganizationReadModelResponse,\n type OrganizationReadModelDeltaResponse,\n type OrganizationReadModelDirectoryResponse,\n type OrganizationReadModelGrantsResponse,\n type OrganizationReadModelGroupMemberResponse,\n type OrganizationReadModelGroupMembershipResponse,\n type OrganizationReadModelGroupMembershipsResponse,\n type OrganizationReadModelOrganizationPolicyResponse,\n type OrganizationReadModelResponse,\n OrganizationReadModelResponseSchema,\n type OrganizationReadModelSnapshotResponse,\n} from \"./organizationReadModel\";\nexport {\n ORGANIZATION_READ_MODEL_ERROR_CODES,\n type OrganizationReadModelErrorCode,\n OrganizationReadModelErrorCodeSchema,\n type OrganizationReadModelFailureResponse,\n OrganizationReadModelFailureResponseSchema,\n} from \"./organizationReadModelError\";\nexport {\n CommitOrganizationGroupPolicyConflictResponseSchema,\n type CommitOrganizationGroupPolicyResponse,\n CommitOrganizationGroupPolicyResponseSchema,\n type CurrentPrincipalMemberEnvelopesResponse,\n CurrentPrincipalMemberEnvelopesResponseSchema,\n isCommitOrganizationGroupPolicyResponse,\n isCurrentPrincipalMemberEnvelopesResponse,\n isPrincipalPolicyBundleResponse,\n isPrincipalPolicyMutationResponse,\n isPrincipalPolicyStaleErrorResponse,\n isPrincipalPolicyStateChainEntryResponse,\n isPrincipalStatePayloadResponse,\n isPrincipalStateResponse,\n type PrincipalContainerGrantResponse,\n PrincipalContainerGrantResponseSchema,\n type PrincipalMemberEnvelopeResponse,\n PrincipalMemberEnvelopeResponseSchema,\n type PrincipalPolicyBundleResponse,\n PrincipalPolicyBundleResponseSchema,\n type PrincipalPolicyErrorResponse,\n PrincipalPolicyErrorResponseSchema,\n type PrincipalPolicyMutationResponse,\n PrincipalPolicyMutationResponseSchema,\n type PrincipalPolicySnapshotResponse,\n PrincipalPolicySnapshotResponseSchema,\n type PrincipalPolicyStaleErrorResponse,\n PrincipalPolicyStaleErrorResponseSchema,\n type PrincipalPolicyStateChainEntryResponse,\n PrincipalPolicyStateChainEntryResponseSchema,\n type PrincipalProjectionMemberResponse,\n PrincipalProjectionMemberResponseSchema,\n type PrincipalStateExternalAuthorityResponse,\n PrincipalStateExternalAuthorityResponseSchema,\n type PrincipalStatePayloadResponse,\n PrincipalStatePayloadResponseSchema,\n type PrincipalStateResponse,\n PrincipalStateResponseSchema,\n} from \"./principal\";\nexport {\n isPrincipalPolicyPageResponse,\n isPrincipalPolicyUnchangedResponse,\n type PrincipalPolicyPageResponse,\n PrincipalPolicyPageResponseSchema,\n type PrincipalPolicyReadResponse,\n PrincipalPolicyReadResponseSchema,\n type PrincipalPolicyUnchangedResponse,\n PrincipalPolicyUnchangedResponseSchema,\n} from \"./principalPolicyPage\";\nexport {\n isPrincipalPolicySnapshotPageResponse,\n type PrincipalPolicyHistorySourceResponse,\n PrincipalPolicyHistorySourceResponseSchema,\n type PrincipalPolicySnapshotPageResponse,\n PrincipalPolicySnapshotPageResponseSchema,\n} from \"./principalPolicySnapshotPage\";\nexport {\n isReferencedPrincipalStateResponse,\n type ReferencedPrincipalStateResponse,\n ReferencedPrincipalStateResponseSchema,\n} from \"./principalReference\";\nexport {\n type ProjectionPolicyEvidenceResponse,\n ProjectionPolicyEvidenceResponseSchema,\n} from \"./projectionPolicyEvidence\";\nexport {\n isRegistrationResponse,\n type RegistrationResponse,\n RegistrationResponseSchema,\n} from \"./registration\";\nexport {\n isRootIdentitiesResponse,\n isRootIdentityDetailResponse,\n isRootIdentityOrganizationsResponse,\n isRootIdentitySuspensionResponse,\n type RootIdentitiesResponse,\n RootIdentitiesResponseSchema,\n type RootIdentityDetailResponse,\n RootIdentityDetailResponseSchema,\n type RootIdentityOrganizationBillingResponse,\n RootIdentityOrganizationBillingResponseSchema,\n type RootIdentityOrganizationResponse,\n RootIdentityOrganizationResponseSchema,\n type RootIdentityOrganizationsResponse,\n RootIdentityOrganizationsResponseSchema,\n type RootIdentitySessionResponse,\n RootIdentitySessionResponseSchema,\n type RootIdentitySummaryResponse,\n RootIdentitySummaryResponseSchema,\n type RootIdentitySuspensionResponse,\n RootIdentitySuspensionResponseSchema,\n} from \"./root\";\nexport {\n ROOT_AUDIT_ACTIONS,\n type RootAuditAction,\n RootAuditActionSchema,\n type RootAuditEventResponse,\n RootAuditEventResponseSchema,\n type RootAuditEventsResponse,\n RootAuditEventsResponseSchema,\n} from \"./rootAudit\";\nexport {\n ROOT_OPS_HEALTH_OVERDUE_MINUTES,\n ROOT_OPS_HEALTH_SECTION_LIMIT,\n ROOT_OPS_HEALTH_UPCOMING_DAYS,\n ROOT_SEAT_SYNC_CONDITIONS,\n type RootOpsHealthReportResponse,\n RootOpsHealthReportResponseSchema,\n RootSeatSyncConditionSchema,\n} from \"./rootOpsHealth\";\nexport {\n type RootDataUsageReportResponse,\n RootDataUsageReportResponseSchema,\n type RootOrganizationDetailResponse,\n RootOrganizationDetailResponseSchema,\n type RootOrganizationIdentitiesResponse,\n RootOrganizationIdentitiesResponseSchema,\n type RootOrganizationIdentityResponse,\n RootOrganizationIdentityResponseSchema,\n type RootOrganizationSummaryResponse,\n RootOrganizationSummaryResponseSchema,\n type RootOrganizationsResponse,\n RootOrganizationsResponseSchema,\n} from \"./rootOrganizations\";\nexport {\n ROOT_REVENUECAT_DISPOSITIONS,\n ROOT_REVENUECAT_EVENT_ROLES,\n type RootOrganizationRevenuecatEventResponse,\n RootOrganizationRevenuecatEventResponseSchema,\n type RootOrganizationRevenuecatEventsResponse,\n RootOrganizationRevenuecatEventsResponseSchema,\n type RootRevenuecatDisposition,\n RootRevenuecatDispositionSchema,\n type RootRevenuecatEventResponse,\n RootRevenuecatEventResponseSchema,\n type RootRevenuecatEventsReportResponse,\n RootRevenuecatEventsReportResponseSchema,\n} from \"./rootRevenuecat\";\nexport {\n isStripeCancelResponse,\n isStripeCheckoutIntentResponse,\n isStripeCheckoutOptionsResponse,\n isStripeCheckoutSessionResponse,\n isStripePortalResponse,\n type StripeCancelResponse,\n StripeCancelResponseSchema,\n type StripeCheckoutIntentResponse,\n StripeCheckoutIntentResponseSchema,\n type StripeCheckoutOptionsResponse,\n StripeCheckoutOptionsResponseSchema,\n type StripeCheckoutSessionResponse,\n StripeCheckoutSessionResponseSchema,\n type StripePortalResponse,\n StripePortalResponseSchema,\n type StripeSyncOptionResponse,\n StripeSyncOptionResponseSchema,\n} from \"./stripeCheckout\";\nexport {\n isSyncWatermark,\n type SyncWatermark,\n SyncWatermarkSchema,\n} from \"./syncWatermark\";\nexport {\n decodeContainerWriterProjection,\n decodeDocumentWriterProjection,\n encodeContainerWriterProjection,\n encodeDocumentWriterProjection,\n} from \"./writerProjectionWire\";\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
/** A fragment of one exact policy prefix, including its pinned current artifacts. */
|
|
3
3
|
export declare const PrincipalPolicyPageResponseSchema: z.ZodType<{
|
|
4
4
|
previousStates: {
|
|
@@ -427,3 +427,499 @@ export declare const PrincipalPolicyPageResponseSchema: z.ZodType<{
|
|
|
427
427
|
}>>;
|
|
428
428
|
export type PrincipalPolicyPageResponse = z.infer<typeof PrincipalPolicyPageResponseSchema>;
|
|
429
429
|
export declare function isPrincipalPolicyPageResponse(value: unknown): value is PrincipalPolicyPageResponse;
|
|
430
|
+
/**
|
|
431
|
+
* The reply to a conditional discovery read whose named head is still live.
|
|
432
|
+
* It is not evidence: the client authenticates the head it already holds.
|
|
433
|
+
*/
|
|
434
|
+
export declare const PrincipalPolicyUnchangedResponseSchema: z.ZodObject<{
|
|
435
|
+
unchanged: z.ZodLiteral<true>;
|
|
436
|
+
head: z.ZodType<{
|
|
437
|
+
keyEpoch: number;
|
|
438
|
+
keyFingerprint: string;
|
|
439
|
+
principalId: string;
|
|
440
|
+
principalType: "group" | "organization";
|
|
441
|
+
stateHash: string;
|
|
442
|
+
version: number;
|
|
443
|
+
}, {
|
|
444
|
+
keyEpoch: number;
|
|
445
|
+
keyFingerprint: string;
|
|
446
|
+
principalId: string;
|
|
447
|
+
principalType: "group" | "organization";
|
|
448
|
+
stateHash: string;
|
|
449
|
+
version: number;
|
|
450
|
+
}, z.core.$ZodTypeInternals<{
|
|
451
|
+
keyEpoch: number;
|
|
452
|
+
keyFingerprint: string;
|
|
453
|
+
principalId: string;
|
|
454
|
+
principalType: "group" | "organization";
|
|
455
|
+
stateHash: string;
|
|
456
|
+
version: number;
|
|
457
|
+
}, {
|
|
458
|
+
keyEpoch: number;
|
|
459
|
+
keyFingerprint: string;
|
|
460
|
+
principalId: string;
|
|
461
|
+
principalType: "group" | "organization";
|
|
462
|
+
stateHash: string;
|
|
463
|
+
version: number;
|
|
464
|
+
}>>;
|
|
465
|
+
}, z.core.$strict>;
|
|
466
|
+
export type PrincipalPolicyUnchangedResponse = z.infer<typeof PrincipalPolicyUnchangedResponseSchema>;
|
|
467
|
+
/** A policy page, or the bare head when a conditional read named it. */
|
|
468
|
+
export declare const PrincipalPolicyReadResponseSchema: z.ZodUnion<readonly [z.ZodType<{
|
|
469
|
+
previousStates: {
|
|
470
|
+
grants: {
|
|
471
|
+
accessLevel: "admin" | "read" | "write";
|
|
472
|
+
containerId: string;
|
|
473
|
+
}[];
|
|
474
|
+
projection: {
|
|
475
|
+
role: "member" | "admin";
|
|
476
|
+
userId: string;
|
|
477
|
+
}[];
|
|
478
|
+
state: {
|
|
479
|
+
createdAt: string;
|
|
480
|
+
encapsulationPublicKey: string;
|
|
481
|
+
externalAuthority: {
|
|
482
|
+
keyEpoch: number;
|
|
483
|
+
keyFingerprint: string;
|
|
484
|
+
principalId: string;
|
|
485
|
+
principalType: "group";
|
|
486
|
+
stateHash: string;
|
|
487
|
+
version: number;
|
|
488
|
+
} | null;
|
|
489
|
+
grantCount: number;
|
|
490
|
+
grantRoot: string;
|
|
491
|
+
keyEpoch: number;
|
|
492
|
+
keyFingerprint: string;
|
|
493
|
+
memberCount: number;
|
|
494
|
+
memberEnvelopesRoot: string;
|
|
495
|
+
membershipMode: "projection";
|
|
496
|
+
membershipRoot: string;
|
|
497
|
+
payloadCiphertextHash: string;
|
|
498
|
+
prevStateHash: string | null;
|
|
499
|
+
principalId: string;
|
|
500
|
+
principalType: "group" | "organization";
|
|
501
|
+
projectionRoot: string;
|
|
502
|
+
signature: string;
|
|
503
|
+
signedAt: string;
|
|
504
|
+
signerUserId: string;
|
|
505
|
+
signerUserKeyFingerprint: string;
|
|
506
|
+
stateHash: string;
|
|
507
|
+
version: number;
|
|
508
|
+
};
|
|
509
|
+
}[];
|
|
510
|
+
historyPage: {
|
|
511
|
+
afterVersion: number;
|
|
512
|
+
nextAfterVersion: number | null;
|
|
513
|
+
};
|
|
514
|
+
currentGrants: {
|
|
515
|
+
accessLevel: "admin" | "read" | "write";
|
|
516
|
+
containerId: string;
|
|
517
|
+
}[];
|
|
518
|
+
currentMemberEnvelopes: {
|
|
519
|
+
envelopes: {
|
|
520
|
+
kemCipherText: string;
|
|
521
|
+
memberKeyFingerprint: string;
|
|
522
|
+
userId: string;
|
|
523
|
+
wrappedKey: string;
|
|
524
|
+
}[];
|
|
525
|
+
epoch: number;
|
|
526
|
+
principalId: string;
|
|
527
|
+
principalType: "group" | "organization";
|
|
528
|
+
stateHash: string;
|
|
529
|
+
};
|
|
530
|
+
currentPayload: {
|
|
531
|
+
cipherSuite: "aes-256-gcm";
|
|
532
|
+
ciphertext: string;
|
|
533
|
+
ciphertextHash: string;
|
|
534
|
+
createdAt: string;
|
|
535
|
+
principalId: string;
|
|
536
|
+
principalType: "group" | "organization";
|
|
537
|
+
stateHash: string;
|
|
538
|
+
};
|
|
539
|
+
currentProjection: {
|
|
540
|
+
role: "member" | "admin";
|
|
541
|
+
userId: string;
|
|
542
|
+
}[];
|
|
543
|
+
currentState: {
|
|
544
|
+
createdAt: string;
|
|
545
|
+
encapsulationPublicKey: string;
|
|
546
|
+
externalAuthority: {
|
|
547
|
+
keyEpoch: number;
|
|
548
|
+
keyFingerprint: string;
|
|
549
|
+
principalId: string;
|
|
550
|
+
principalType: "group";
|
|
551
|
+
stateHash: string;
|
|
552
|
+
version: number;
|
|
553
|
+
} | null;
|
|
554
|
+
grantCount: number;
|
|
555
|
+
grantRoot: string;
|
|
556
|
+
keyEpoch: number;
|
|
557
|
+
keyFingerprint: string;
|
|
558
|
+
memberCount: number;
|
|
559
|
+
memberEnvelopesRoot: string;
|
|
560
|
+
membershipMode: "projection";
|
|
561
|
+
membershipRoot: string;
|
|
562
|
+
payloadCiphertextHash: string;
|
|
563
|
+
prevStateHash: string | null;
|
|
564
|
+
principalId: string;
|
|
565
|
+
principalType: "group" | "organization";
|
|
566
|
+
projectionRoot: string;
|
|
567
|
+
signature: string;
|
|
568
|
+
signedAt: string;
|
|
569
|
+
signerUserId: string;
|
|
570
|
+
signerUserKeyFingerprint: string;
|
|
571
|
+
stateHash: string;
|
|
572
|
+
version: number;
|
|
573
|
+
};
|
|
574
|
+
}, {
|
|
575
|
+
previousStates: {
|
|
576
|
+
grants: {
|
|
577
|
+
accessLevel: "admin" | "read" | "write";
|
|
578
|
+
containerId: string;
|
|
579
|
+
}[];
|
|
580
|
+
projection: {
|
|
581
|
+
role: "member" | "admin";
|
|
582
|
+
userId: string;
|
|
583
|
+
}[];
|
|
584
|
+
state: {
|
|
585
|
+
createdAt: string;
|
|
586
|
+
encapsulationPublicKey: string;
|
|
587
|
+
externalAuthority: {
|
|
588
|
+
keyEpoch: number;
|
|
589
|
+
keyFingerprint: string;
|
|
590
|
+
principalId: string;
|
|
591
|
+
principalType: "group";
|
|
592
|
+
stateHash: string;
|
|
593
|
+
version: number;
|
|
594
|
+
} | null;
|
|
595
|
+
grantCount: number;
|
|
596
|
+
grantRoot: string;
|
|
597
|
+
keyEpoch: number;
|
|
598
|
+
keyFingerprint: string;
|
|
599
|
+
memberCount: number;
|
|
600
|
+
memberEnvelopesRoot: string;
|
|
601
|
+
membershipMode: "projection";
|
|
602
|
+
membershipRoot: string;
|
|
603
|
+
payloadCiphertextHash: string;
|
|
604
|
+
prevStateHash: string | null;
|
|
605
|
+
principalId: string;
|
|
606
|
+
principalType: "group" | "organization";
|
|
607
|
+
projectionRoot: string;
|
|
608
|
+
signature: string;
|
|
609
|
+
signedAt: string;
|
|
610
|
+
signerUserId: string;
|
|
611
|
+
signerUserKeyFingerprint: string;
|
|
612
|
+
stateHash: string;
|
|
613
|
+
version: number;
|
|
614
|
+
};
|
|
615
|
+
}[];
|
|
616
|
+
historyPage: {
|
|
617
|
+
afterVersion: number;
|
|
618
|
+
nextAfterVersion: number | null;
|
|
619
|
+
};
|
|
620
|
+
currentGrants: {
|
|
621
|
+
accessLevel: "admin" | "read" | "write";
|
|
622
|
+
containerId: string;
|
|
623
|
+
}[];
|
|
624
|
+
currentMemberEnvelopes: {
|
|
625
|
+
envelopes: {
|
|
626
|
+
kemCipherText: string;
|
|
627
|
+
memberKeyFingerprint: string;
|
|
628
|
+
userId: string;
|
|
629
|
+
wrappedKey: string;
|
|
630
|
+
}[];
|
|
631
|
+
epoch: number;
|
|
632
|
+
principalId: string;
|
|
633
|
+
principalType: "group" | "organization";
|
|
634
|
+
stateHash: string;
|
|
635
|
+
};
|
|
636
|
+
currentPayload: {
|
|
637
|
+
cipherSuite: "aes-256-gcm";
|
|
638
|
+
ciphertext: string;
|
|
639
|
+
ciphertextHash: string;
|
|
640
|
+
createdAt: string;
|
|
641
|
+
principalId: string;
|
|
642
|
+
principalType: "group" | "organization";
|
|
643
|
+
stateHash: string;
|
|
644
|
+
};
|
|
645
|
+
currentProjection: {
|
|
646
|
+
role: "member" | "admin";
|
|
647
|
+
userId: string;
|
|
648
|
+
}[];
|
|
649
|
+
currentState: {
|
|
650
|
+
createdAt: string;
|
|
651
|
+
encapsulationPublicKey: string;
|
|
652
|
+
externalAuthority: {
|
|
653
|
+
keyEpoch: number;
|
|
654
|
+
keyFingerprint: string;
|
|
655
|
+
principalId: string;
|
|
656
|
+
principalType: "group";
|
|
657
|
+
stateHash: string;
|
|
658
|
+
version: number;
|
|
659
|
+
} | null;
|
|
660
|
+
grantCount: number;
|
|
661
|
+
grantRoot: string;
|
|
662
|
+
keyEpoch: number;
|
|
663
|
+
keyFingerprint: string;
|
|
664
|
+
memberCount: number;
|
|
665
|
+
memberEnvelopesRoot: string;
|
|
666
|
+
membershipMode: "projection";
|
|
667
|
+
membershipRoot: string;
|
|
668
|
+
payloadCiphertextHash: string;
|
|
669
|
+
prevStateHash: string | null;
|
|
670
|
+
principalId: string;
|
|
671
|
+
principalType: "group" | "organization";
|
|
672
|
+
projectionRoot: string;
|
|
673
|
+
signature: string;
|
|
674
|
+
signedAt: string;
|
|
675
|
+
signerUserId: string;
|
|
676
|
+
signerUserKeyFingerprint: string;
|
|
677
|
+
stateHash: string;
|
|
678
|
+
version: number;
|
|
679
|
+
};
|
|
680
|
+
}, z.core.$ZodTypeInternals<{
|
|
681
|
+
previousStates: {
|
|
682
|
+
grants: {
|
|
683
|
+
accessLevel: "admin" | "read" | "write";
|
|
684
|
+
containerId: string;
|
|
685
|
+
}[];
|
|
686
|
+
projection: {
|
|
687
|
+
role: "member" | "admin";
|
|
688
|
+
userId: string;
|
|
689
|
+
}[];
|
|
690
|
+
state: {
|
|
691
|
+
createdAt: string;
|
|
692
|
+
encapsulationPublicKey: string;
|
|
693
|
+
externalAuthority: {
|
|
694
|
+
keyEpoch: number;
|
|
695
|
+
keyFingerprint: string;
|
|
696
|
+
principalId: string;
|
|
697
|
+
principalType: "group";
|
|
698
|
+
stateHash: string;
|
|
699
|
+
version: number;
|
|
700
|
+
} | null;
|
|
701
|
+
grantCount: number;
|
|
702
|
+
grantRoot: string;
|
|
703
|
+
keyEpoch: number;
|
|
704
|
+
keyFingerprint: string;
|
|
705
|
+
memberCount: number;
|
|
706
|
+
memberEnvelopesRoot: string;
|
|
707
|
+
membershipMode: "projection";
|
|
708
|
+
membershipRoot: string;
|
|
709
|
+
payloadCiphertextHash: string;
|
|
710
|
+
prevStateHash: string | null;
|
|
711
|
+
principalId: string;
|
|
712
|
+
principalType: "group" | "organization";
|
|
713
|
+
projectionRoot: string;
|
|
714
|
+
signature: string;
|
|
715
|
+
signedAt: string;
|
|
716
|
+
signerUserId: string;
|
|
717
|
+
signerUserKeyFingerprint: string;
|
|
718
|
+
stateHash: string;
|
|
719
|
+
version: number;
|
|
720
|
+
};
|
|
721
|
+
}[];
|
|
722
|
+
historyPage: {
|
|
723
|
+
afterVersion: number;
|
|
724
|
+
nextAfterVersion: number | null;
|
|
725
|
+
};
|
|
726
|
+
currentGrants: {
|
|
727
|
+
accessLevel: "admin" | "read" | "write";
|
|
728
|
+
containerId: string;
|
|
729
|
+
}[];
|
|
730
|
+
currentMemberEnvelopes: {
|
|
731
|
+
envelopes: {
|
|
732
|
+
kemCipherText: string;
|
|
733
|
+
memberKeyFingerprint: string;
|
|
734
|
+
userId: string;
|
|
735
|
+
wrappedKey: string;
|
|
736
|
+
}[];
|
|
737
|
+
epoch: number;
|
|
738
|
+
principalId: string;
|
|
739
|
+
principalType: "group" | "organization";
|
|
740
|
+
stateHash: string;
|
|
741
|
+
};
|
|
742
|
+
currentPayload: {
|
|
743
|
+
cipherSuite: "aes-256-gcm";
|
|
744
|
+
ciphertext: string;
|
|
745
|
+
ciphertextHash: string;
|
|
746
|
+
createdAt: string;
|
|
747
|
+
principalId: string;
|
|
748
|
+
principalType: "group" | "organization";
|
|
749
|
+
stateHash: string;
|
|
750
|
+
};
|
|
751
|
+
currentProjection: {
|
|
752
|
+
role: "member" | "admin";
|
|
753
|
+
userId: string;
|
|
754
|
+
}[];
|
|
755
|
+
currentState: {
|
|
756
|
+
createdAt: string;
|
|
757
|
+
encapsulationPublicKey: string;
|
|
758
|
+
externalAuthority: {
|
|
759
|
+
keyEpoch: number;
|
|
760
|
+
keyFingerprint: string;
|
|
761
|
+
principalId: string;
|
|
762
|
+
principalType: "group";
|
|
763
|
+
stateHash: string;
|
|
764
|
+
version: number;
|
|
765
|
+
} | null;
|
|
766
|
+
grantCount: number;
|
|
767
|
+
grantRoot: string;
|
|
768
|
+
keyEpoch: number;
|
|
769
|
+
keyFingerprint: string;
|
|
770
|
+
memberCount: number;
|
|
771
|
+
memberEnvelopesRoot: string;
|
|
772
|
+
membershipMode: "projection";
|
|
773
|
+
membershipRoot: string;
|
|
774
|
+
payloadCiphertextHash: string;
|
|
775
|
+
prevStateHash: string | null;
|
|
776
|
+
principalId: string;
|
|
777
|
+
principalType: "group" | "organization";
|
|
778
|
+
projectionRoot: string;
|
|
779
|
+
signature: string;
|
|
780
|
+
signedAt: string;
|
|
781
|
+
signerUserId: string;
|
|
782
|
+
signerUserKeyFingerprint: string;
|
|
783
|
+
stateHash: string;
|
|
784
|
+
version: number;
|
|
785
|
+
};
|
|
786
|
+
}, {
|
|
787
|
+
previousStates: {
|
|
788
|
+
grants: {
|
|
789
|
+
accessLevel: "admin" | "read" | "write";
|
|
790
|
+
containerId: string;
|
|
791
|
+
}[];
|
|
792
|
+
projection: {
|
|
793
|
+
role: "member" | "admin";
|
|
794
|
+
userId: string;
|
|
795
|
+
}[];
|
|
796
|
+
state: {
|
|
797
|
+
createdAt: string;
|
|
798
|
+
encapsulationPublicKey: string;
|
|
799
|
+
externalAuthority: {
|
|
800
|
+
keyEpoch: number;
|
|
801
|
+
keyFingerprint: string;
|
|
802
|
+
principalId: string;
|
|
803
|
+
principalType: "group";
|
|
804
|
+
stateHash: string;
|
|
805
|
+
version: number;
|
|
806
|
+
} | null;
|
|
807
|
+
grantCount: number;
|
|
808
|
+
grantRoot: string;
|
|
809
|
+
keyEpoch: number;
|
|
810
|
+
keyFingerprint: string;
|
|
811
|
+
memberCount: number;
|
|
812
|
+
memberEnvelopesRoot: string;
|
|
813
|
+
membershipMode: "projection";
|
|
814
|
+
membershipRoot: string;
|
|
815
|
+
payloadCiphertextHash: string;
|
|
816
|
+
prevStateHash: string | null;
|
|
817
|
+
principalId: string;
|
|
818
|
+
principalType: "group" | "organization";
|
|
819
|
+
projectionRoot: string;
|
|
820
|
+
signature: string;
|
|
821
|
+
signedAt: string;
|
|
822
|
+
signerUserId: string;
|
|
823
|
+
signerUserKeyFingerprint: string;
|
|
824
|
+
stateHash: string;
|
|
825
|
+
version: number;
|
|
826
|
+
};
|
|
827
|
+
}[];
|
|
828
|
+
historyPage: {
|
|
829
|
+
afterVersion: number;
|
|
830
|
+
nextAfterVersion: number | null;
|
|
831
|
+
};
|
|
832
|
+
currentGrants: {
|
|
833
|
+
accessLevel: "admin" | "read" | "write";
|
|
834
|
+
containerId: string;
|
|
835
|
+
}[];
|
|
836
|
+
currentMemberEnvelopes: {
|
|
837
|
+
envelopes: {
|
|
838
|
+
kemCipherText: string;
|
|
839
|
+
memberKeyFingerprint: string;
|
|
840
|
+
userId: string;
|
|
841
|
+
wrappedKey: string;
|
|
842
|
+
}[];
|
|
843
|
+
epoch: number;
|
|
844
|
+
principalId: string;
|
|
845
|
+
principalType: "group" | "organization";
|
|
846
|
+
stateHash: string;
|
|
847
|
+
};
|
|
848
|
+
currentPayload: {
|
|
849
|
+
cipherSuite: "aes-256-gcm";
|
|
850
|
+
ciphertext: string;
|
|
851
|
+
ciphertextHash: string;
|
|
852
|
+
createdAt: string;
|
|
853
|
+
principalId: string;
|
|
854
|
+
principalType: "group" | "organization";
|
|
855
|
+
stateHash: string;
|
|
856
|
+
};
|
|
857
|
+
currentProjection: {
|
|
858
|
+
role: "member" | "admin";
|
|
859
|
+
userId: string;
|
|
860
|
+
}[];
|
|
861
|
+
currentState: {
|
|
862
|
+
createdAt: string;
|
|
863
|
+
encapsulationPublicKey: string;
|
|
864
|
+
externalAuthority: {
|
|
865
|
+
keyEpoch: number;
|
|
866
|
+
keyFingerprint: string;
|
|
867
|
+
principalId: string;
|
|
868
|
+
principalType: "group";
|
|
869
|
+
stateHash: string;
|
|
870
|
+
version: number;
|
|
871
|
+
} | null;
|
|
872
|
+
grantCount: number;
|
|
873
|
+
grantRoot: string;
|
|
874
|
+
keyEpoch: number;
|
|
875
|
+
keyFingerprint: string;
|
|
876
|
+
memberCount: number;
|
|
877
|
+
memberEnvelopesRoot: string;
|
|
878
|
+
membershipMode: "projection";
|
|
879
|
+
membershipRoot: string;
|
|
880
|
+
payloadCiphertextHash: string;
|
|
881
|
+
prevStateHash: string | null;
|
|
882
|
+
principalId: string;
|
|
883
|
+
principalType: "group" | "organization";
|
|
884
|
+
projectionRoot: string;
|
|
885
|
+
signature: string;
|
|
886
|
+
signedAt: string;
|
|
887
|
+
signerUserId: string;
|
|
888
|
+
signerUserKeyFingerprint: string;
|
|
889
|
+
stateHash: string;
|
|
890
|
+
version: number;
|
|
891
|
+
};
|
|
892
|
+
}>>, z.ZodObject<{
|
|
893
|
+
unchanged: z.ZodLiteral<true>;
|
|
894
|
+
head: z.ZodType<{
|
|
895
|
+
keyEpoch: number;
|
|
896
|
+
keyFingerprint: string;
|
|
897
|
+
principalId: string;
|
|
898
|
+
principalType: "group" | "organization";
|
|
899
|
+
stateHash: string;
|
|
900
|
+
version: number;
|
|
901
|
+
}, {
|
|
902
|
+
keyEpoch: number;
|
|
903
|
+
keyFingerprint: string;
|
|
904
|
+
principalId: string;
|
|
905
|
+
principalType: "group" | "organization";
|
|
906
|
+
stateHash: string;
|
|
907
|
+
version: number;
|
|
908
|
+
}, z.core.$ZodTypeInternals<{
|
|
909
|
+
keyEpoch: number;
|
|
910
|
+
keyFingerprint: string;
|
|
911
|
+
principalId: string;
|
|
912
|
+
principalType: "group" | "organization";
|
|
913
|
+
stateHash: string;
|
|
914
|
+
version: number;
|
|
915
|
+
}, {
|
|
916
|
+
keyEpoch: number;
|
|
917
|
+
keyFingerprint: string;
|
|
918
|
+
principalId: string;
|
|
919
|
+
principalType: "group" | "organization";
|
|
920
|
+
stateHash: string;
|
|
921
|
+
version: number;
|
|
922
|
+
}>>;
|
|
923
|
+
}, z.core.$strict>]>;
|
|
924
|
+
export type PrincipalPolicyReadResponse = z.infer<typeof PrincipalPolicyReadResponseSchema>;
|
|
925
|
+
export declare function isPrincipalPolicyUnchangedResponse(value: unknown): value is PrincipalPolicyUnchangedResponse;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
1
2
|
import { arraySchema, loosePlainObject, safeNonNegativeIntegerSchema, } from "../schema.js";
|
|
2
3
|
import { PRINCIPAL_POLICY_HISTORY_PAGE_LIMIT } from "../util/principalHistoryWire.js";
|
|
3
4
|
import { PrincipalPolicyStateChainEntryResponseSchema, principalPolicyCurrentResponseShape, } from "./principal.js";
|
|
5
|
+
import { ReferencedPrincipalStateResponseSchema } from "./principalReference.js";
|
|
4
6
|
/** A fragment of one exact policy prefix, including its pinned current artifacts. */
|
|
5
7
|
export const PrincipalPolicyPageResponseSchema = loosePlainObject({
|
|
6
8
|
...principalPolicyCurrentResponseShape,
|
|
@@ -13,4 +15,20 @@ export const PrincipalPolicyPageResponseSchema = loosePlainObject({
|
|
|
13
15
|
export function isPrincipalPolicyPageResponse(value) {
|
|
14
16
|
return PrincipalPolicyPageResponseSchema.safeParse(value).success;
|
|
15
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* The reply to a conditional discovery read whose named head is still live.
|
|
20
|
+
* It is not evidence: the client authenticates the head it already holds.
|
|
21
|
+
*/
|
|
22
|
+
export const PrincipalPolicyUnchangedResponseSchema = z.strictObject({
|
|
23
|
+
unchanged: z.literal(true),
|
|
24
|
+
head: ReferencedPrincipalStateResponseSchema,
|
|
25
|
+
});
|
|
26
|
+
/** A policy page, or the bare head when a conditional read named it. */
|
|
27
|
+
export const PrincipalPolicyReadResponseSchema = z.union([
|
|
28
|
+
PrincipalPolicyPageResponseSchema,
|
|
29
|
+
PrincipalPolicyUnchangedResponseSchema,
|
|
30
|
+
]);
|
|
31
|
+
export function isPrincipalPolicyUnchangedResponse(value) {
|
|
32
|
+
return PrincipalPolicyUnchangedResponseSchema.safeParse(value).success;
|
|
33
|
+
}
|
|
16
34
|
//# sourceMappingURL=principalPolicyPage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"principalPolicyPage.js","sourceRoot":"","sources":["principalPolicyPage.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"principalPolicyPage.js","sourceRoot":"","sources":["principalPolicyPage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,4BAA4B,GAC7B,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EACL,4CAA4C,EAC5C,mCAAmC,GACpC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sCAAsC,EAAE,MAAM,sBAAsB,CAAC;AAE9E,qFAAqF;AACrF,MAAM,CAAC,MAAM,iCAAiC,GAAG,gBAAgB,CAAC;IAChE,GAAG,mCAAmC;IACtC,cAAc,EAAE,WAAW,CACzB,4CAA4C,EAC5C,mCAAmC,CACpC;IACD,WAAW,EAAE,gBAAgB,CAAC;QAC5B,YAAY,EAAE,4BAA4B;QAC1C,gBAAgB,EAAE,4BAA4B,CAAC,QAAQ,EAAE;KAC1D,CAAC;CACH,CAAC,CAAC;AAMH,MAAM,UAAU,6BAA6B,CAC3C,KAAc;IAEd,OAAO,iCAAiC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACpE,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,YAAY,CAAC;IACnE,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAC1B,IAAI,EAAE,sCAAsC;CAC7C,CAAC,CAAC;AAMH,wEAAwE;AACxE,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC;IACvD,iCAAiC;IACjC,sCAAsC;CACvC,CAAC,CAAC;AAMH,MAAM,UAAU,kCAAkC,CAChD,KAAc;IAEd,OAAO,sCAAsC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACzE,CAAC","sourcesContent":["import { z } from \"zod\";\nimport {\n arraySchema,\n loosePlainObject,\n safeNonNegativeIntegerSchema,\n} from \"../schema\";\nimport { PRINCIPAL_POLICY_HISTORY_PAGE_LIMIT } from \"../util/principalHistoryWire\";\nimport {\n PrincipalPolicyStateChainEntryResponseSchema,\n principalPolicyCurrentResponseShape,\n} from \"./principal\";\nimport { ReferencedPrincipalStateResponseSchema } from \"./principalReference\";\n\n/** A fragment of one exact policy prefix, including its pinned current artifacts. */\nexport const PrincipalPolicyPageResponseSchema = loosePlainObject({\n ...principalPolicyCurrentResponseShape,\n previousStates: arraySchema(\n PrincipalPolicyStateChainEntryResponseSchema,\n PRINCIPAL_POLICY_HISTORY_PAGE_LIMIT,\n ),\n historyPage: loosePlainObject({\n afterVersion: safeNonNegativeIntegerSchema,\n nextAfterVersion: safeNonNegativeIntegerSchema.nullable(),\n }),\n});\n\nexport type PrincipalPolicyPageResponse = z.infer<\n typeof PrincipalPolicyPageResponseSchema\n>;\n\nexport function isPrincipalPolicyPageResponse(\n value: unknown,\n): value is PrincipalPolicyPageResponse {\n return PrincipalPolicyPageResponseSchema.safeParse(value).success;\n}\n\n/**\n * The reply to a conditional discovery read whose named head is still live.\n * It is not evidence: the client authenticates the head it already holds.\n */\nexport const PrincipalPolicyUnchangedResponseSchema = z.strictObject({\n unchanged: z.literal(true),\n head: ReferencedPrincipalStateResponseSchema,\n});\n\nexport type PrincipalPolicyUnchangedResponse = z.infer<\n typeof PrincipalPolicyUnchangedResponseSchema\n>;\n\n/** A policy page, or the bare head when a conditional read named it. */\nexport const PrincipalPolicyReadResponseSchema = z.union([\n PrincipalPolicyPageResponseSchema,\n PrincipalPolicyUnchangedResponseSchema,\n]);\n\nexport type PrincipalPolicyReadResponse = z.infer<\n typeof PrincipalPolicyReadResponseSchema\n>;\n\nexport function isPrincipalPolicyUnchangedResponse(\n value: unknown,\n): value is PrincipalPolicyUnchangedResponse {\n return PrincipalPolicyUnchangedResponseSchema.safeParse(value).success;\n}\n"]}
|