@atlasent/sdk 2.12.0 → 2.13.0
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 +9 -0
- package/dist/hono.cjs +42 -0
- package/dist/hono.cjs.map +1 -1
- package/dist/hono.d.cts +2 -2
- package/dist/hono.d.ts +2 -2
- package/dist/hono.js +42 -0
- package/dist/hono.js.map +1 -1
- package/dist/index.cjs +42 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +36 -3
- package/dist/index.d.ts +36 -3
- package/dist/index.js +42 -0
- package/dist/index.js.map +1 -1
- package/dist/{protect-B6w-WQMB.d.cts → protect-Bk9q12ia.d.cts} +75 -1
- package/dist/{protect-B6w-WQMB.d.ts → protect-Bk9q12ia.d.ts} +75 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DecisionCanonical, R as RateLimitState, c as AtlaSentClientOptions, E as EvaluateRequest, d as EvaluateResponse, B as BatchEvalItem, e as BatchEvalResponse, S as SubscribeDecisionsOptions, f as DecisionStreamEvent, g as EvaluatePreflightResponse, V as VerifyPermitRequest, h as VerifyPermitResponse, i as DeployGateRequest, j as DeployGateResponse, k as RevokePermitRequest, l as RevokePermitResponse, m as RevokePermitByIdInput, n as RevokePermitByIdResponse, o as VerifyPermitByIdResponse, G as GetPermitResponse, p as PermitValidResponse, L as ListPermitsRequest, q as ListPermitsResponse, r as ApiKeySelfResponse, s as AuditEventsQuery, t as AuditEventsResult, u as AuditExportRequest, v as AuditExportResult, w as StreamOptions, x as StreamEvent, b as ProtectRequest, P as Permit, O as OverrideV1, A as AtlaSentDeniedError, a as AtlaSentError,
|
|
2
|
-
export {
|
|
1
|
+
import { D as DecisionCanonical, R as RateLimitState, c as AtlaSentClientOptions, E as EvaluateRequest, d as EvaluateResponse, B as BatchEvalItem, e as BatchEvalResponse, S as SubscribeDecisionsOptions, f as DecisionStreamEvent, g as EvaluatePreflightResponse, V as VerifyPermitRequest, h as VerifyPermitResponse, i as DeployGateRequest, j as DeployGateResponse, k as RevokePermitRequest, l as RevokePermitResponse, m as RevokePermitByIdInput, n as RevokePermitByIdResponse, o as VerifyPermitByIdResponse, G as GetPermitResponse, p as PermitValidResponse, L as ListPermitsRequest, q as ListPermitsResponse, r as ApiKeySelfResponse, s as AuditEventsQuery, t as AuditEventsResult, u as AuditExportRequest, v as AuditExportResult, w as StreamOptions, x as StreamEvent, y as LicenseStatus, z as LicenseVerifyResult, b as ProtectRequest, P as Permit, O as OverrideV1, A as AtlaSentDeniedError, a as AtlaSentError, C as DecisionReceipt, F as ComplianceEvidenceRun, H as DecisionReceiptAlgorithm, I as protect, J as deployGate, K as configure } from './protect-Bk9q12ia.cjs';
|
|
2
|
+
export { M as ActionEvidenceBundle, N as AtlaSentDecision, Q as AtlaSentDeniedErrorInit, T as AtlaSentErrorCode, U as AtlaSentErrorInit, W as AtlaSentEscalateError, X as AtlaSentEscalateErrorInit, Y as AuditDecision, Z as AuditEvent, _ as AuditEventsPage, $ as AuditExport, a0 as AuditExportSignatureStatus, a1 as BundleVerificationError, a2 as BvsSnapshot, a3 as CompletionProof, a4 as ComplianceControlCoverage, a5 as ComplianceEvidenceSummary, a6 as ComplianceFramework, a7 as ComplianceRunStatus, a8 as ConfigureOptions, a9 as ConsentClassProjection, aa as ConstraintTrace, ab as ConstraintTracePolicy, ac as ConstraintTraceStage, ad as CreateOverrideRequest, ae as DEFAULT_RETRY_POLICY, af as DEPLOYMENT_PRODUCTION_ACTION, ag as DEPLOY_GATE_CODES, ah as Decision, ai as DecisionReceiptPayload, aj as DeployGateContext, ak as DeployGateDenyCode, al as DeployGateEvidence, am as DeployOverrideClaim, an as DeployPermitClaim, ao as EvaluateBatchResultItem, ap as EvaluateResponsePermit, aq as EvaluateRiskEnvelope, ar as EvaluateRiskEnvelopeFactor, as as EvidenceControl, at as EvidenceControlStatus, au as ListEvidenceRunsResponse, av as OverrideEvent, aw as OverrideEventType, ax as OverrideEventsResponse, ay as OverrideListResponse, az as OverrideStatus, aA as PRODUCTION_DEPLOY_ACTION, aB as PermitOutcome, aC as PermitRecord, aD as PermitRevoked, aE as PermitStatus, aF as PermitWithEvidence, aG as ProtectWithEvidenceOptions, aH as RetryPolicy, aI as SOC2ControlId, aJ as StreamDecisionEvent, aK as StreamParseError, aL as StreamProgressEvent, aM as StreamTimeoutError, aN as TriggerEvidenceRunRequest, aO as TriggerEvidenceRunResponse, aP as WhyPolicyEvaluation, aQ as WhyStage, aR as WhyTrace, aS as buildDecisionReceiptPayload, aT as buildWhyTrace, aU as computeBackoffMs, aV as computeBundleHash, aW as computeContextHash, aX as evidenceRunPasses, aY as hasAttemptsLeft, aZ as isRetryable, a_ as mergePolicy, a$ as nonPassingControls, b0 as normalizePermitOutcome, b1 as protectWithEvidence, b2 as signDecisionReceiptHmac, b3 as soc2ControlCoverageForDecision, b4 as verifyDecisionReceiptHmac } from './protect-Bk9q12ia.cjs';
|
|
3
3
|
import { webcrypto } from 'node:crypto';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -2615,6 +2615,39 @@ declare class AtlaSentClient {
|
|
|
2615
2615
|
* ```
|
|
2616
2616
|
*/
|
|
2617
2617
|
protectStream(input: EvaluateRequest, opts?: StreamOptions): AsyncIterable<StreamEvent>;
|
|
2618
|
+
/**
|
|
2619
|
+
* Retrieve the license status of this self-hosted or air-gapped deployment.
|
|
2620
|
+
*
|
|
2621
|
+
* Calls `GET /v1/license`. Returns the current validity state, expiry,
|
|
2622
|
+
* enabled feature flags, and optional capacity limits for the installed
|
|
2623
|
+
* license key.
|
|
2624
|
+
*
|
|
2625
|
+
* Callers should check `result.status === "active"` before proceeding.
|
|
2626
|
+
* A `"grace"` status means the license has lapsed but a grace window
|
|
2627
|
+
* (`grace_until`) is still open — the deployment continues to function
|
|
2628
|
+
* but the license should be renewed immediately.
|
|
2629
|
+
*
|
|
2630
|
+
* Throws {@link AtlaSentError} on transport / auth failures.
|
|
2631
|
+
*/
|
|
2632
|
+
getLicense(): Promise<LicenseStatus & {
|
|
2633
|
+
rateLimit: RateLimitState | null;
|
|
2634
|
+
}>;
|
|
2635
|
+
/**
|
|
2636
|
+
* Validate a signed license blob against this deployment's installed
|
|
2637
|
+
* public key.
|
|
2638
|
+
*
|
|
2639
|
+
* Calls `POST /v1/license/verify`. Use this when onboarding a new license
|
|
2640
|
+
* key or rotating an expiring one — submit the blob received from AtlaSent
|
|
2641
|
+
* and check `result.valid` before applying the new license.
|
|
2642
|
+
*
|
|
2643
|
+
* A `valid: false` response is **not** thrown — inspect the returned
|
|
2644
|
+
* object. Only transport / server errors throw {@link AtlaSentError}.
|
|
2645
|
+
*
|
|
2646
|
+
* @param blob — The signed license blob string provided by AtlaSent.
|
|
2647
|
+
*/
|
|
2648
|
+
verifyLicense(blob: string): Promise<LicenseVerifyResult & {
|
|
2649
|
+
rateLimit: RateLimitState | null;
|
|
2650
|
+
}>;
|
|
2618
2651
|
private post;
|
|
2619
2652
|
private postWithPathFallback;
|
|
2620
2653
|
private get;
|
|
@@ -7357,4 +7390,4 @@ declare const atlasent: {
|
|
|
7357
7390
|
readonly databaseTableDeleteGate: typeof protectDatabaseTableDelete;
|
|
7358
7391
|
};
|
|
7359
7392
|
|
|
7360
|
-
export { type AccessCertActionType, type AccessCertOptions, type AccessGovernanceEvent, type AccessGovernanceLogPage, type AccessGovernanceLogQuery, type AccessGovernanceLogSubClient, type ActionBundleInput, type ActionBundleReceipt, type ActionContext, type ActionDependency, type ActionDependencyResponse, type ActionFreeze, type ActionMetaContext, type ActionTypeOverrideStat, type ActorContext, type ActorOverrideStat, type AgentAuthorityDomain, type AgentEvaluationStatus, type AgentEvidenceRef, type AgentFindingSeverity, type AgentInvokerKind, type AgentSubjectKind, type AgentToolMode, type AgentToolOptions, type AmountThreshold, type AnomalyActionType, type AnomalyResponseEvent, type AnomalyResponseRule, type AnomalyType, ApiKeySelfResponse, type ApplyPolicySyncResponse, type ApprovalArtifactSlot, type ApprovalArtifactV1, type ApprovalConcentrationAnalysis, type ApprovalIssuer, type ApprovalPermit, type ApprovalProvenance, type ApprovalQuorumV1, type ApprovalReference, type ApprovalReviewer, type ApprovalRuntimeConfig, type ApprovalStatus, type ApproveBudgetExceptionRequest, type ApproverBreakdown, AtlaSentClient, AtlaSentClientOptions, AtlaSentDeniedError, AtlaSentError, type AuditBundle, type AuditChainFilters, type AuditChainPage, AuditEventsQuery, AuditEventsResult, AuditExportRequest, AuditExportResult, type AuthSubClient, type AuthenticateConnectorInput, type AuthenticateConnectorResponse, type AuthorityRecord, type AuthorizationDecision, type AuthorizeStreamHandlers, type AutonomousBoundsDenyCode, type AutonomousExecutionBounds, type AutonomousExecutionCheckResult, type AutonomousExecutionRecord, BCCAEClient, BEHAVIOR_SENSITIVE_CATEGORIES, BatchEvalItem, BatchEvalResponse, type BatchRecordReleaseOptions, type BccaeActorType, type BccaeClientOptions, type BccaeDeploymentEnv, type BccaeEvaluateInput, type BccaeEvaluateResponse, type BccaeEvidenceResponse, type BccaeExecuteInput, type BccaeExecuteResponse, type BccaeRequestSource, type BccaeResourceClassification, type BccaeRevocationTargetType, type BccaeRevokeInput, type BccaeRevokeResponse, type BccaeSecurityPosture, type BccaeTrustLevel, type BehaviorEventCategory, type BehaviorEventOptions, type BudgetConstraintCheckResult, type BudgetDenyCode, type BudgetExceptionRequest, type BudgetExceptionStatus, type BudgetLimit, type BudgetPolicy, type BudgetScope, type BudgetSpendingState, type BudgetViolation, type BudgetaryDriftAnalysis, type BuildActionContextInput, type BuildClaimEvidenceLinkOpts, type BuildFromActionBundleOpts, type BundleVerificationResult, type CAPAOptions, CONTEXT_NAMESPACES, CUSTOMER_DATA_EXPORT_ACTION, CanonicalProtectedActionType, type ChainIntegrityReport, type ClaimEvidenceLink, type ClinicalDataAccessOptions, type CloseActionType, type CloseGovernanceOptions, ComplianceEvidenceRun, type ComplianceExport, type ComputeOrgRiskOptions, type ComputeOrgRiskResponse, type ConcentrationAlert, type ConnectedSystemRow, type ConnectorAuditLogEntry, type ConnectorCredentialRow, type ConnectorCredentialType, type ConnectorEnforcementEventInput, type ConnectorEnforcementPolicy, type ConnectorEnforcementResult, type ConnectorRow, type ConnectorStatus, type ConnectorSyncState, type ConnectorType, type ContextEnvelope, type ContextNamespaceEntry, type ContextNamespaceKey, type ContextSignal, type ContextValidationError, type ContextValidationResult, type ContextValidationWarning, type ContractActionOptions, type ContractActionType, type ControlSurfaceConfig, type CreateActionDependencyRequest, type CreateAnomalyResponseRuleRequest, type CreateBudgetExceptionRequest, type CreateEscalationOptions, type CreateGraphEdgeInput, type CreateGraphNodeInput, type CreateImpersonationGrantRequest, type CreateRegulatoryEscalationRequest, type CreateWebhookSubscriptionRequest, type CrossOrgImpersonationGrant, type CrossOrgPermissionCheckListParams, type CrossOrgPermissionCheckRequest, type CrossOrgPermissionCheckResult, type CrossOrgTrustHop, type CurrencyCode, DEFAULT_INCENTIVE_CONFIG, DEFAULT_REDACTION_RULES, DEFAULT_RISK_TIER_THRESHOLDS, DEFAULT_TRUST_TTL_MS, DEPLOY_V1_ACTION, type DataDeleteActionType, type DataDeleteOptions, type DataExportOptions, type DatabaseActionOptions, type DatabaseActionType, type DatabaseDestructiveActionType, type DatabaseMigrationActionType, DecisionCanonical, DecisionReceipt, DecisionReceiptAlgorithm, DecisionStreamEvent, type DelegationPropagationSummary, type DeltaSlot, type DeltaStatus, type DenialEvidence, type DependencyLink, type DependencyRequirement, type DependencyStatus, type DeployEnvironment, type DeployEvidenceInput, type DeployEvidenceSlot, type DeployGateOptions, DeployGateRequest, DeployGateResponse, type DeploymentActionType, type DeploymentV2Options, type DisputeOrigin, type DisputeRecord, type DisputeReversalSummary, type DisputeStatus, type DriftChangeType, type DriftDetail, type DriftSeverity, type EconomicEvidenceBundle, type EmergencyFreeze, type EmergencyOverrideActionRow, type EnforcementAction, type EnforcementMode, type EnforcementQuorumConfig, type EnforcementStatus, type EnforcementWebhookEvent, type EngineVersionKind, type EngineVersionRecord, type EngineVersionResponse, type EngineVersionStatus, type EnvelopeDriftDetail, type EnvelopeVerification, type EnvironmentContext, EscalationDeniedError, type EscalationHandle, type EscalationOutcome, EscalationTimeoutError, type EvaluateBatchItem, type EvaluateBatchResponse, type EvaluateManyRequest, EvaluatePreflightResponse, EvaluateRequest, EvaluateResponse, type EvidenceBundle, type EvidenceBundleCreateParams, type EvidenceBundleListPage, type EvidenceBundleListParams, type EvidenceBundleSignableContent, type EvidenceBundleStatus, type EvidenceBundleSubClient, type EvidenceBundleVerificationResult, type EvidenceBundleVerifyResult, type EvidencePurpose, type EvidenceSlotStatus, type ExecutionAnomaly, type ExecutionApproverRow, type ExecutionCeiling, type ExecutionReceipt, FeatureNotEnabledError, type FeatureNotEnabledErrorInit, type FinancialActionClass, type FinancialActionType, type FinancialCloseActionType, type FinancialCloseOptions, type FinancialExecutionRecord, type FinancialExecutionStatus, type FinancialGovernanceSummary, type FinancialQuorumDenyCode, type FinancialQuorumInput, type FinancialQuorumPolicy, type FinancialQuorumResult, type FinancialRiskScore, type FinancialRiskTier, type FinancialRoleRequirement, type GdprLegalBasis, type GetEnforcementStatusOptions, type GetLatestOrgRiskResponse, GetPermitResponse, type GovernanceAgent, type GovernanceAgentEvaluation, type GovernanceAgentFinding, type GovernanceBehaviorPattern, GovernanceEnforcementError, type GovernanceEnforcementErrorInit, type GovernanceEvent, type GovernanceGate, type GovernanceGraphQueryParams, type GovernanceGraphQueryResponse, type GovernanceGraphQueryType, type GovernanceGraphResultRow, type GovernanceSignalAction, type GovernanceWebhookEvent, type GraphEdge, type GraphEdgeType, type GraphNode, type GraphNodeType, type GraphQLRequest, type GraphQLResponse, type GxpActionOptions, type GxpActionType, type HealthReport, type HistoricalContext, type HitlAiUnavailableFallback, type HitlApprovalRecord, type HitlApproveRequest, type HitlApproverPoolEntry, type HitlApproverType, type HitlChainHop, type HitlChainSummary, type HitlCreateRequest, type HitlDetailResponse, type HitlEscalation, type HitlFallbackDecision, type HitlHeterogeneousQuorumExtension, type HitlHeterogeneousQuorumTally, type HitlListResponse, type HitlQuorumProgress, type HitlQuorumTier, type HitlRejectRequest, type HitlRespondRequest, type HitlStatus, type HrActionOptions, type HrActionType, type IdentityAssertionBinding, type IdentityAssertionV1, type IdentityIssuer, type IdentityIssuerKey, type IdentitySubject, type IdentityTrustedIssuersConfig, type IdpConnection, type ImpersonationToken, type ImpersonationValidationResult, type IncentiveAlignmentConfig, type IncentiveSignal, type IncentiveSignalType, type IncidentChainActorEntry, type IncidentChainEvidenceRow, type IncidentChainExecutionRow, type IncidentTimelineResponse, type InfraActionOptions, type InfraActionType, type InstallConnectorInput, type InstallConnectorResponse, type IntegrationEvidenceSlot, type JWK, type LegacyEvaluateRequest, type LegacyEvaluateResponse, type LiabilityAttributionInput, type LiabilityAttributionRecord, type LiabilityChainValidation, type LiabilityClassification, type LiabilityEdge, type LiabilityNode, type LiabilityParty, type LiabilityPartyRole, type LiabilityVisualization, type ListActionDependenciesResponse, type ListConnectorsResponse, type ListEnforcementPoliciesResponse, type ListEngineVersionsResponse, type ListGovernanceAgentsResponse, type ListGovernanceEvaluationsQuery, type ListGovernanceEvaluationsResponse, type ListGovernanceFindingsQuery, type ListGovernanceFindingsResponse, type ListGraphEdgesResponse, type ListGraphNodesResponse, type ListHitlEscalationsRequest, type ListHitlEscalationsResponse, type ListOrgRiskHistoryResponse, ListPermitsRequest, ListPermitsResponse, type ListPolicySyncRunsResponse, type ListWebhookDeliveriesResponse, type ListWebhookSubscriptionsResponse, type MisalignmentAlert, type ModelGovernanceActionType, type ModelGovernanceOptions, NOT_APPLICABLE, type NotApplicable, type OfflineEvidenceBundleData, type OrgRiskLevel, type OrgRiskScore, type OrgSummary, type OverrideAnalytics, OverrideV1, type PaymentOperationActionType, type PaymentOperationOptions, type PaymentReleaseOptions, Permit, type PermitEvidence, type PermitV1, PermitValidResponse, type PolicyBundleEntry, type PolicyRef, type PolicySyncDiff, type PolicySyncRun, type PolicySyncStatus, type PostExecutionResult, type PricingActionOptions, type PricingActionType, type PrincipalKind, type ProductionDeployerRow, type ProofEvaluationSummary, type ProofPayload, type ProofResponse, type ProtectOrEscalateOptions, ProtectRequest, type ProtectedAction, type ProtectedActionEntry, type QuorumBypassConnectorRow, type QuorumIndependence, type QuorumPolicy, type QuorumProof, type QuorumRoleRequirement, RateLimitState, type ReconciliationCertifyOptions, type RecordContextEnvelopeInput, type RecordSignalActionRequest, type RecordSignalOutcomeRequest, type RedactionMode, type RedactionRule, type RegisterEngineVersionRequest, type RegulatoryAuthorityLevel, type RegulatoryEscalation, type RegulatoryEscalationStatus, type ReplayDecisionResponse, type ReplayDecisionValue, type ReplayRequest, type ReplayResponse, type ReplayVarianceKind, type ReportProtectedActionOptions, type RequestOverrideOptions, type ResourceContext, type ReversalStage, type ReversalWorkflow, type RevokeConnectorResponse, RevokePermitByIdInput, RevokePermitByIdResponse, RevokePermitRequest, RevokePermitResponse, type RiskFactor, type RiskTierThreshold, type RiskTimelinePoint, type RotateCredentialsResponse, type RuntimeAuditEntry, type RuntimeEvidenceSlot, RuntimeV2Client, SCIM_GROUP_SCHEMA, SCIM_PATCH_OP_SCHEMA, SCIM_USER_SCHEMA, type SandboxDiff, type SandboxDiffEmpty, type SandboxDiffPerTable, type SandboxDiffResponse, type SandboxRunMode, type SandboxRunStatus, type SandboxRunWrite, type SandboxWriteOp, type ScimEmail, type ScimGroupRef, type ScimGroupsSubClient, type ScimListParams, type ScimListResponse, type ScimMeta, type ScimName, type ScimPatchOp, type ScimSubClient, type ScimUser, type ScimUserCreate, type ScimUserUpdate, type ScimUsersSubClient, type SecurityActionOptions, type SecurityActionType, type ShadowConfig, type ShadowEventPayload, type ShadowMode, type ShadowOptions, type ShadowOutcome, type SignalActionSummary, type SignalActionType, type SignedApprovalArtifact, type SnapshotSourceKind, type SpendingConstraint, type SsoConnection, type SsoConnectionInput, type SsoConnectionWire, type SsoEnforceAction, type SsoEnforceResult, type SsoEvent, type SsoEventWire, type SsoJitRule, type SsoJitRuleInput, type SsoJitRulePatch, type SsoJitRuleWire, type SsoReadiness, type SsoReadinessWire, type SsoRole, type SsoSubClient, type StateSnapshot, type StateSnapshotInput, type StateSnapshotRef, type StreamComplete, type StreamDecisionFrame, type StreamErrorFrame, StreamEvent, StreamOptions, type SubmitPolicySyncRequest, type SubmitPolicySyncResponse, SubscribeDecisionsOptions, type SyncConnectorResponse, type TokenResponse, type TriggerAnomalyResponseRequest, type TrustRootKey, TrustRootManager, type TrustRootManagerOptions, type TrustRootRevocationEntry, type TrustRootSnapshot, type TrustSnapshot, type UpsertEnforcementPolicyInput, type UpsertEnforcementPolicyResponse, type UserApprovalRow, type V2EvaluateRequest, type V2EvaluateResponse, type V2Feature, type V2Transport, V2_BATCH_PATH, V2_GRAPHQL_MAX_DEPTH, V2_GRAPHQL_PATH, V2_MAX_BATCH_ITEMS, V2_MAX_BODY_BYTES, V2_STREAM_PATH, VENDOR_PAYMENT_ACTION, VQPClient, type VQPClientOptions, type VQPGenerateInput, type VQPGenerateResponse, type VQPVerifyInput, type VQPVerifyResponse, type ValidateContextOptions, type VerificationChecklist, type VerificationFailure, type VerificationResult, type VerifyBundleOptions, type VerifyClaimEvidenceLinkOpts, type VerifyClaimEvidenceLinkResult, type VerifyKey, VerifyPermitByIdResponse, VerifyPermitRequest, VerifyPermitResponse, type VqpVerdict, type WaitForApprovalOptions, type WebhookDelivery, type WebhookDeliveryStatus, type WebhookPayload, type WebhookSubscription, WebhookVerificationError, type WeightDistribution, __setGlobalTrustRootManagerForTests, _computeEvidenceRootHash, assertWebhook, authorizeStream, bootstrapTrust, budgetUtilizationSeverity, buildActionContext, buildClaimEvidenceLink, buildClaimEvidenceLinkFromActionBundle, buildLiabilityChain, buildLiabilityVisualization, buildRiskTimeline, buildSignableContent, canonicalJSON, canonicalizeForEvidence, checkAutonomousBounds, checkBudgetConstraints, checkIntegrationHealth, clampTokenDuration, classifyCommand, classifyRiskTier, classifyToolRisk, computeApprovalRiskScore, computeEscalatedApprovalCount, computeExposureScore, computeGovernanceHealthScore, computeHHI, computeLiabilityWeights, computeOverallRiskScore, computeOverrideScore, computeRemediationUrgency, computeSignalEngagementRate, configure, configureApprovalRuntime, configureControlSurface, configureShadow, createEscalation, atlasent as default, delegationPropagationHadEffect, deployGate, detectAutonomousAnomaly, detectMisalignedIncentives, detectSelfApproval, enforceAutonomousBounds, enforceBudgetConstraint, enforceEconomicGovernance, enforceFinancialQuorum, evaluateFinancialQuorum, evaluateMany, findPrimaryLiabilityParties, flattenActionContext, formatPolicySyncDiff, generateBccaeNonce, getEnforcementStatus, getGlobalTrustRootManager, getOrgSummary, graphql, hhiToConcentrationScore, highestAgentFindingSeverity, highestSeverityAction, hitlRequiredApproverCount, isBudgetExceptionActive, isBudgetExceptionTerminal, isEscalationSlaBreached, isFreezeActive, isImpersonationGrantUsable, isKidRevoked, isPolicySyncTerminal, isRegulatoryEscalationTerminal, isSandboxDiffPopulated, isSubstantiveSignalResponse, isTrustSnapshotExpired, makeAccessGovernanceLogClient, makeAuthClient, makeEvidenceBundleClient, makeScimClient, makeSsoClient, matchAnomalyRules, normalizeEvaluateRequest, normalizeEvaluateResponse, protect, protectAccessCertAction, protectAccessCertRevoke, protectBatchRecordRelease, protectBehaviorEvent, protectCloseAction, protectContractAction, protectContractExecution, protectCustomerDataDelete, protectDataExport, protectDatabaseAction, protectDatabaseMigration, protectDatabaseSchemaDrop, protectDatabaseTableDelete, protectDeploy, protectDeploymentV2, protectFinancialCloseAction, protectGxpAction, protectHrAction, protectHrOffboard, protectHrRoleEscalate, protectInfraAction, protectModelGovernance, protectModelPromotion, protectOrEscalate, protectPaymentOperation, protectPaymentRelease, protectPeriodCloseCertify, protectPricingAction, protectPricingRule, protectReconciliationCertify, protectSecurityAccessQuarantine, protectSecurityAction, protectSecurityIncidentEscalate, protectShadow, protectToolCall, redactContext, reportProtectedAction, reportShadowEvent, requestOverride, requirePermit, scoreToRiskTier, serializeSignableContent, signedBytesFor, summarizeCrossOrgPermission, transitionDispute, transitionReversal, validateActionContext, validateLiabilityChain, verifyAuditBundle, verifyBundle, verifyClaimEvidenceLink, verifyEvidenceBundle, verifyEvidenceBundleStructure, verifyWebhook, verifyWebhookSignature, waitForEscalationApproval, wireToSsoConnection, wireToSsoEvent, wireToSsoJitRule, wireToSsoReadiness, withPermit, withinAutonomousCeiling };
|
|
7393
|
+
export { type AccessCertActionType, type AccessCertOptions, type AccessGovernanceEvent, type AccessGovernanceLogPage, type AccessGovernanceLogQuery, type AccessGovernanceLogSubClient, type ActionBundleInput, type ActionBundleReceipt, type ActionContext, type ActionDependency, type ActionDependencyResponse, type ActionFreeze, type ActionMetaContext, type ActionTypeOverrideStat, type ActorContext, type ActorOverrideStat, type AgentAuthorityDomain, type AgentEvaluationStatus, type AgentEvidenceRef, type AgentFindingSeverity, type AgentInvokerKind, type AgentSubjectKind, type AgentToolMode, type AgentToolOptions, type AmountThreshold, type AnomalyActionType, type AnomalyResponseEvent, type AnomalyResponseRule, type AnomalyType, ApiKeySelfResponse, type ApplyPolicySyncResponse, type ApprovalArtifactSlot, type ApprovalArtifactV1, type ApprovalConcentrationAnalysis, type ApprovalIssuer, type ApprovalPermit, type ApprovalProvenance, type ApprovalQuorumV1, type ApprovalReference, type ApprovalReviewer, type ApprovalRuntimeConfig, type ApprovalStatus, type ApproveBudgetExceptionRequest, type ApproverBreakdown, AtlaSentClient, AtlaSentClientOptions, AtlaSentDeniedError, AtlaSentError, type AuditBundle, type AuditChainFilters, type AuditChainPage, AuditEventsQuery, AuditEventsResult, AuditExportRequest, AuditExportResult, type AuthSubClient, type AuthenticateConnectorInput, type AuthenticateConnectorResponse, type AuthorityRecord, type AuthorizationDecision, type AuthorizeStreamHandlers, type AutonomousBoundsDenyCode, type AutonomousExecutionBounds, type AutonomousExecutionCheckResult, type AutonomousExecutionRecord, BCCAEClient, BEHAVIOR_SENSITIVE_CATEGORIES, BatchEvalItem, BatchEvalResponse, type BatchRecordReleaseOptions, type BccaeActorType, type BccaeClientOptions, type BccaeDeploymentEnv, type BccaeEvaluateInput, type BccaeEvaluateResponse, type BccaeEvidenceResponse, type BccaeExecuteInput, type BccaeExecuteResponse, type BccaeRequestSource, type BccaeResourceClassification, type BccaeRevocationTargetType, type BccaeRevokeInput, type BccaeRevokeResponse, type BccaeSecurityPosture, type BccaeTrustLevel, type BehaviorEventCategory, type BehaviorEventOptions, type BudgetConstraintCheckResult, type BudgetDenyCode, type BudgetExceptionRequest, type BudgetExceptionStatus, type BudgetLimit, type BudgetPolicy, type BudgetScope, type BudgetSpendingState, type BudgetViolation, type BudgetaryDriftAnalysis, type BuildActionContextInput, type BuildClaimEvidenceLinkOpts, type BuildFromActionBundleOpts, type BundleVerificationResult, type CAPAOptions, CONTEXT_NAMESPACES, CUSTOMER_DATA_EXPORT_ACTION, CanonicalProtectedActionType, type ChainIntegrityReport, type ClaimEvidenceLink, type ClinicalDataAccessOptions, type CloseActionType, type CloseGovernanceOptions, ComplianceEvidenceRun, type ComplianceExport, type ComputeOrgRiskOptions, type ComputeOrgRiskResponse, type ConcentrationAlert, type ConnectedSystemRow, type ConnectorAuditLogEntry, type ConnectorCredentialRow, type ConnectorCredentialType, type ConnectorEnforcementEventInput, type ConnectorEnforcementPolicy, type ConnectorEnforcementResult, type ConnectorRow, type ConnectorStatus, type ConnectorSyncState, type ConnectorType, type ContextEnvelope, type ContextNamespaceEntry, type ContextNamespaceKey, type ContextSignal, type ContextValidationError, type ContextValidationResult, type ContextValidationWarning, type ContractActionOptions, type ContractActionType, type ControlSurfaceConfig, type CreateActionDependencyRequest, type CreateAnomalyResponseRuleRequest, type CreateBudgetExceptionRequest, type CreateEscalationOptions, type CreateGraphEdgeInput, type CreateGraphNodeInput, type CreateImpersonationGrantRequest, type CreateRegulatoryEscalationRequest, type CreateWebhookSubscriptionRequest, type CrossOrgImpersonationGrant, type CrossOrgPermissionCheckListParams, type CrossOrgPermissionCheckRequest, type CrossOrgPermissionCheckResult, type CrossOrgTrustHop, type CurrencyCode, DEFAULT_INCENTIVE_CONFIG, DEFAULT_REDACTION_RULES, DEFAULT_RISK_TIER_THRESHOLDS, DEFAULT_TRUST_TTL_MS, DEPLOY_V1_ACTION, type DataDeleteActionType, type DataDeleteOptions, type DataExportOptions, type DatabaseActionOptions, type DatabaseActionType, type DatabaseDestructiveActionType, type DatabaseMigrationActionType, DecisionCanonical, DecisionReceipt, DecisionReceiptAlgorithm, DecisionStreamEvent, type DelegationPropagationSummary, type DeltaSlot, type DeltaStatus, type DenialEvidence, type DependencyLink, type DependencyRequirement, type DependencyStatus, type DeployEnvironment, type DeployEvidenceInput, type DeployEvidenceSlot, type DeployGateOptions, DeployGateRequest, DeployGateResponse, type DeploymentActionType, type DeploymentV2Options, type DisputeOrigin, type DisputeRecord, type DisputeReversalSummary, type DisputeStatus, type DriftChangeType, type DriftDetail, type DriftSeverity, type EconomicEvidenceBundle, type EmergencyFreeze, type EmergencyOverrideActionRow, type EnforcementAction, type EnforcementMode, type EnforcementQuorumConfig, type EnforcementStatus, type EnforcementWebhookEvent, type EngineVersionKind, type EngineVersionRecord, type EngineVersionResponse, type EngineVersionStatus, type EnvelopeDriftDetail, type EnvelopeVerification, type EnvironmentContext, EscalationDeniedError, type EscalationHandle, type EscalationOutcome, EscalationTimeoutError, type EvaluateBatchItem, type EvaluateBatchResponse, type EvaluateManyRequest, EvaluatePreflightResponse, EvaluateRequest, EvaluateResponse, type EvidenceBundle, type EvidenceBundleCreateParams, type EvidenceBundleListPage, type EvidenceBundleListParams, type EvidenceBundleSignableContent, type EvidenceBundleStatus, type EvidenceBundleSubClient, type EvidenceBundleVerificationResult, type EvidenceBundleVerifyResult, type EvidencePurpose, type EvidenceSlotStatus, type ExecutionAnomaly, type ExecutionApproverRow, type ExecutionCeiling, type ExecutionReceipt, FeatureNotEnabledError, type FeatureNotEnabledErrorInit, type FinancialActionClass, type FinancialActionType, type FinancialCloseActionType, type FinancialCloseOptions, type FinancialExecutionRecord, type FinancialExecutionStatus, type FinancialGovernanceSummary, type FinancialQuorumDenyCode, type FinancialQuorumInput, type FinancialQuorumPolicy, type FinancialQuorumResult, type FinancialRiskScore, type FinancialRiskTier, type FinancialRoleRequirement, type GdprLegalBasis, type GetEnforcementStatusOptions, type GetLatestOrgRiskResponse, GetPermitResponse, type GovernanceAgent, type GovernanceAgentEvaluation, type GovernanceAgentFinding, type GovernanceBehaviorPattern, GovernanceEnforcementError, type GovernanceEnforcementErrorInit, type GovernanceEvent, type GovernanceGate, type GovernanceGraphQueryParams, type GovernanceGraphQueryResponse, type GovernanceGraphQueryType, type GovernanceGraphResultRow, type GovernanceSignalAction, type GovernanceWebhookEvent, type GraphEdge, type GraphEdgeType, type GraphNode, type GraphNodeType, type GraphQLRequest, type GraphQLResponse, type GxpActionOptions, type GxpActionType, type HealthReport, type HistoricalContext, type HitlAiUnavailableFallback, type HitlApprovalRecord, type HitlApproveRequest, type HitlApproverPoolEntry, type HitlApproverType, type HitlChainHop, type HitlChainSummary, type HitlCreateRequest, type HitlDetailResponse, type HitlEscalation, type HitlFallbackDecision, type HitlHeterogeneousQuorumExtension, type HitlHeterogeneousQuorumTally, type HitlListResponse, type HitlQuorumProgress, type HitlQuorumTier, type HitlRejectRequest, type HitlRespondRequest, type HitlStatus, type HrActionOptions, type HrActionType, type IdentityAssertionBinding, type IdentityAssertionV1, type IdentityIssuer, type IdentityIssuerKey, type IdentitySubject, type IdentityTrustedIssuersConfig, type IdpConnection, type ImpersonationToken, type ImpersonationValidationResult, type IncentiveAlignmentConfig, type IncentiveSignal, type IncentiveSignalType, type IncidentChainActorEntry, type IncidentChainEvidenceRow, type IncidentChainExecutionRow, type IncidentTimelineResponse, type InfraActionOptions, type InfraActionType, type InstallConnectorInput, type InstallConnectorResponse, type IntegrationEvidenceSlot, type JWK, type LegacyEvaluateRequest, type LegacyEvaluateResponse, type LiabilityAttributionInput, type LiabilityAttributionRecord, type LiabilityChainValidation, type LiabilityClassification, type LiabilityEdge, type LiabilityNode, type LiabilityParty, type LiabilityPartyRole, type LiabilityVisualization, LicenseStatus, LicenseVerifyResult, type ListActionDependenciesResponse, type ListConnectorsResponse, type ListEnforcementPoliciesResponse, type ListEngineVersionsResponse, type ListGovernanceAgentsResponse, type ListGovernanceEvaluationsQuery, type ListGovernanceEvaluationsResponse, type ListGovernanceFindingsQuery, type ListGovernanceFindingsResponse, type ListGraphEdgesResponse, type ListGraphNodesResponse, type ListHitlEscalationsRequest, type ListHitlEscalationsResponse, type ListOrgRiskHistoryResponse, ListPermitsRequest, ListPermitsResponse, type ListPolicySyncRunsResponse, type ListWebhookDeliveriesResponse, type ListWebhookSubscriptionsResponse, type MisalignmentAlert, type ModelGovernanceActionType, type ModelGovernanceOptions, NOT_APPLICABLE, type NotApplicable, type OfflineEvidenceBundleData, type OrgRiskLevel, type OrgRiskScore, type OrgSummary, type OverrideAnalytics, OverrideV1, type PaymentOperationActionType, type PaymentOperationOptions, type PaymentReleaseOptions, Permit, type PermitEvidence, type PermitV1, PermitValidResponse, type PolicyBundleEntry, type PolicyRef, type PolicySyncDiff, type PolicySyncRun, type PolicySyncStatus, type PostExecutionResult, type PricingActionOptions, type PricingActionType, type PrincipalKind, type ProductionDeployerRow, type ProofEvaluationSummary, type ProofPayload, type ProofResponse, type ProtectOrEscalateOptions, ProtectRequest, type ProtectedAction, type ProtectedActionEntry, type QuorumBypassConnectorRow, type QuorumIndependence, type QuorumPolicy, type QuorumProof, type QuorumRoleRequirement, RateLimitState, type ReconciliationCertifyOptions, type RecordContextEnvelopeInput, type RecordSignalActionRequest, type RecordSignalOutcomeRequest, type RedactionMode, type RedactionRule, type RegisterEngineVersionRequest, type RegulatoryAuthorityLevel, type RegulatoryEscalation, type RegulatoryEscalationStatus, type ReplayDecisionResponse, type ReplayDecisionValue, type ReplayRequest, type ReplayResponse, type ReplayVarianceKind, type ReportProtectedActionOptions, type RequestOverrideOptions, type ResourceContext, type ReversalStage, type ReversalWorkflow, type RevokeConnectorResponse, RevokePermitByIdInput, RevokePermitByIdResponse, RevokePermitRequest, RevokePermitResponse, type RiskFactor, type RiskTierThreshold, type RiskTimelinePoint, type RotateCredentialsResponse, type RuntimeAuditEntry, type RuntimeEvidenceSlot, RuntimeV2Client, SCIM_GROUP_SCHEMA, SCIM_PATCH_OP_SCHEMA, SCIM_USER_SCHEMA, type SandboxDiff, type SandboxDiffEmpty, type SandboxDiffPerTable, type SandboxDiffResponse, type SandboxRunMode, type SandboxRunStatus, type SandboxRunWrite, type SandboxWriteOp, type ScimEmail, type ScimGroupRef, type ScimGroupsSubClient, type ScimListParams, type ScimListResponse, type ScimMeta, type ScimName, type ScimPatchOp, type ScimSubClient, type ScimUser, type ScimUserCreate, type ScimUserUpdate, type ScimUsersSubClient, type SecurityActionOptions, type SecurityActionType, type ShadowConfig, type ShadowEventPayload, type ShadowMode, type ShadowOptions, type ShadowOutcome, type SignalActionSummary, type SignalActionType, type SignedApprovalArtifact, type SnapshotSourceKind, type SpendingConstraint, type SsoConnection, type SsoConnectionInput, type SsoConnectionWire, type SsoEnforceAction, type SsoEnforceResult, type SsoEvent, type SsoEventWire, type SsoJitRule, type SsoJitRuleInput, type SsoJitRulePatch, type SsoJitRuleWire, type SsoReadiness, type SsoReadinessWire, type SsoRole, type SsoSubClient, type StateSnapshot, type StateSnapshotInput, type StateSnapshotRef, type StreamComplete, type StreamDecisionFrame, type StreamErrorFrame, StreamEvent, StreamOptions, type SubmitPolicySyncRequest, type SubmitPolicySyncResponse, SubscribeDecisionsOptions, type SyncConnectorResponse, type TokenResponse, type TriggerAnomalyResponseRequest, type TrustRootKey, TrustRootManager, type TrustRootManagerOptions, type TrustRootRevocationEntry, type TrustRootSnapshot, type TrustSnapshot, type UpsertEnforcementPolicyInput, type UpsertEnforcementPolicyResponse, type UserApprovalRow, type V2EvaluateRequest, type V2EvaluateResponse, type V2Feature, type V2Transport, V2_BATCH_PATH, V2_GRAPHQL_MAX_DEPTH, V2_GRAPHQL_PATH, V2_MAX_BATCH_ITEMS, V2_MAX_BODY_BYTES, V2_STREAM_PATH, VENDOR_PAYMENT_ACTION, VQPClient, type VQPClientOptions, type VQPGenerateInput, type VQPGenerateResponse, type VQPVerifyInput, type VQPVerifyResponse, type ValidateContextOptions, type VerificationChecklist, type VerificationFailure, type VerificationResult, type VerifyBundleOptions, type VerifyClaimEvidenceLinkOpts, type VerifyClaimEvidenceLinkResult, type VerifyKey, VerifyPermitByIdResponse, VerifyPermitRequest, VerifyPermitResponse, type VqpVerdict, type WaitForApprovalOptions, type WebhookDelivery, type WebhookDeliveryStatus, type WebhookPayload, type WebhookSubscription, WebhookVerificationError, type WeightDistribution, __setGlobalTrustRootManagerForTests, _computeEvidenceRootHash, assertWebhook, authorizeStream, bootstrapTrust, budgetUtilizationSeverity, buildActionContext, buildClaimEvidenceLink, buildClaimEvidenceLinkFromActionBundle, buildLiabilityChain, buildLiabilityVisualization, buildRiskTimeline, buildSignableContent, canonicalJSON, canonicalizeForEvidence, checkAutonomousBounds, checkBudgetConstraints, checkIntegrationHealth, clampTokenDuration, classifyCommand, classifyRiskTier, classifyToolRisk, computeApprovalRiskScore, computeEscalatedApprovalCount, computeExposureScore, computeGovernanceHealthScore, computeHHI, computeLiabilityWeights, computeOverallRiskScore, computeOverrideScore, computeRemediationUrgency, computeSignalEngagementRate, configure, configureApprovalRuntime, configureControlSurface, configureShadow, createEscalation, atlasent as default, delegationPropagationHadEffect, deployGate, detectAutonomousAnomaly, detectMisalignedIncentives, detectSelfApproval, enforceAutonomousBounds, enforceBudgetConstraint, enforceEconomicGovernance, enforceFinancialQuorum, evaluateFinancialQuorum, evaluateMany, findPrimaryLiabilityParties, flattenActionContext, formatPolicySyncDiff, generateBccaeNonce, getEnforcementStatus, getGlobalTrustRootManager, getOrgSummary, graphql, hhiToConcentrationScore, highestAgentFindingSeverity, highestSeverityAction, hitlRequiredApproverCount, isBudgetExceptionActive, isBudgetExceptionTerminal, isEscalationSlaBreached, isFreezeActive, isImpersonationGrantUsable, isKidRevoked, isPolicySyncTerminal, isRegulatoryEscalationTerminal, isSandboxDiffPopulated, isSubstantiveSignalResponse, isTrustSnapshotExpired, makeAccessGovernanceLogClient, makeAuthClient, makeEvidenceBundleClient, makeScimClient, makeSsoClient, matchAnomalyRules, normalizeEvaluateRequest, normalizeEvaluateResponse, protect, protectAccessCertAction, protectAccessCertRevoke, protectBatchRecordRelease, protectBehaviorEvent, protectCloseAction, protectContractAction, protectContractExecution, protectCustomerDataDelete, protectDataExport, protectDatabaseAction, protectDatabaseMigration, protectDatabaseSchemaDrop, protectDatabaseTableDelete, protectDeploy, protectDeploymentV2, protectFinancialCloseAction, protectGxpAction, protectHrAction, protectHrOffboard, protectHrRoleEscalate, protectInfraAction, protectModelGovernance, protectModelPromotion, protectOrEscalate, protectPaymentOperation, protectPaymentRelease, protectPeriodCloseCertify, protectPricingAction, protectPricingRule, protectReconciliationCertify, protectSecurityAccessQuarantine, protectSecurityAction, protectSecurityIncidentEscalate, protectShadow, protectToolCall, redactContext, reportProtectedAction, reportShadowEvent, requestOverride, requirePermit, scoreToRiskTier, serializeSignableContent, signedBytesFor, summarizeCrossOrgPermission, transitionDispute, transitionReversal, validateActionContext, validateLiabilityChain, verifyAuditBundle, verifyBundle, verifyClaimEvidenceLink, verifyEvidenceBundle, verifyEvidenceBundleStructure, verifyWebhook, verifyWebhookSignature, waitForEscalationApproval, wireToSsoConnection, wireToSsoEvent, wireToSsoJitRule, wireToSsoReadiness, withPermit, withinAutonomousCeiling };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DecisionCanonical, R as RateLimitState, c as AtlaSentClientOptions, E as EvaluateRequest, d as EvaluateResponse, B as BatchEvalItem, e as BatchEvalResponse, S as SubscribeDecisionsOptions, f as DecisionStreamEvent, g as EvaluatePreflightResponse, V as VerifyPermitRequest, h as VerifyPermitResponse, i as DeployGateRequest, j as DeployGateResponse, k as RevokePermitRequest, l as RevokePermitResponse, m as RevokePermitByIdInput, n as RevokePermitByIdResponse, o as VerifyPermitByIdResponse, G as GetPermitResponse, p as PermitValidResponse, L as ListPermitsRequest, q as ListPermitsResponse, r as ApiKeySelfResponse, s as AuditEventsQuery, t as AuditEventsResult, u as AuditExportRequest, v as AuditExportResult, w as StreamOptions, x as StreamEvent, b as ProtectRequest, P as Permit, O as OverrideV1, A as AtlaSentDeniedError, a as AtlaSentError,
|
|
2
|
-
export {
|
|
1
|
+
import { D as DecisionCanonical, R as RateLimitState, c as AtlaSentClientOptions, E as EvaluateRequest, d as EvaluateResponse, B as BatchEvalItem, e as BatchEvalResponse, S as SubscribeDecisionsOptions, f as DecisionStreamEvent, g as EvaluatePreflightResponse, V as VerifyPermitRequest, h as VerifyPermitResponse, i as DeployGateRequest, j as DeployGateResponse, k as RevokePermitRequest, l as RevokePermitResponse, m as RevokePermitByIdInput, n as RevokePermitByIdResponse, o as VerifyPermitByIdResponse, G as GetPermitResponse, p as PermitValidResponse, L as ListPermitsRequest, q as ListPermitsResponse, r as ApiKeySelfResponse, s as AuditEventsQuery, t as AuditEventsResult, u as AuditExportRequest, v as AuditExportResult, w as StreamOptions, x as StreamEvent, y as LicenseStatus, z as LicenseVerifyResult, b as ProtectRequest, P as Permit, O as OverrideV1, A as AtlaSentDeniedError, a as AtlaSentError, C as DecisionReceipt, F as ComplianceEvidenceRun, H as DecisionReceiptAlgorithm, I as protect, J as deployGate, K as configure } from './protect-Bk9q12ia.js';
|
|
2
|
+
export { M as ActionEvidenceBundle, N as AtlaSentDecision, Q as AtlaSentDeniedErrorInit, T as AtlaSentErrorCode, U as AtlaSentErrorInit, W as AtlaSentEscalateError, X as AtlaSentEscalateErrorInit, Y as AuditDecision, Z as AuditEvent, _ as AuditEventsPage, $ as AuditExport, a0 as AuditExportSignatureStatus, a1 as BundleVerificationError, a2 as BvsSnapshot, a3 as CompletionProof, a4 as ComplianceControlCoverage, a5 as ComplianceEvidenceSummary, a6 as ComplianceFramework, a7 as ComplianceRunStatus, a8 as ConfigureOptions, a9 as ConsentClassProjection, aa as ConstraintTrace, ab as ConstraintTracePolicy, ac as ConstraintTraceStage, ad as CreateOverrideRequest, ae as DEFAULT_RETRY_POLICY, af as DEPLOYMENT_PRODUCTION_ACTION, ag as DEPLOY_GATE_CODES, ah as Decision, ai as DecisionReceiptPayload, aj as DeployGateContext, ak as DeployGateDenyCode, al as DeployGateEvidence, am as DeployOverrideClaim, an as DeployPermitClaim, ao as EvaluateBatchResultItem, ap as EvaluateResponsePermit, aq as EvaluateRiskEnvelope, ar as EvaluateRiskEnvelopeFactor, as as EvidenceControl, at as EvidenceControlStatus, au as ListEvidenceRunsResponse, av as OverrideEvent, aw as OverrideEventType, ax as OverrideEventsResponse, ay as OverrideListResponse, az as OverrideStatus, aA as PRODUCTION_DEPLOY_ACTION, aB as PermitOutcome, aC as PermitRecord, aD as PermitRevoked, aE as PermitStatus, aF as PermitWithEvidence, aG as ProtectWithEvidenceOptions, aH as RetryPolicy, aI as SOC2ControlId, aJ as StreamDecisionEvent, aK as StreamParseError, aL as StreamProgressEvent, aM as StreamTimeoutError, aN as TriggerEvidenceRunRequest, aO as TriggerEvidenceRunResponse, aP as WhyPolicyEvaluation, aQ as WhyStage, aR as WhyTrace, aS as buildDecisionReceiptPayload, aT as buildWhyTrace, aU as computeBackoffMs, aV as computeBundleHash, aW as computeContextHash, aX as evidenceRunPasses, aY as hasAttemptsLeft, aZ as isRetryable, a_ as mergePolicy, a$ as nonPassingControls, b0 as normalizePermitOutcome, b1 as protectWithEvidence, b2 as signDecisionReceiptHmac, b3 as soc2ControlCoverageForDecision, b4 as verifyDecisionReceiptHmac } from './protect-Bk9q12ia.js';
|
|
3
3
|
import { webcrypto } from 'node:crypto';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -2615,6 +2615,39 @@ declare class AtlaSentClient {
|
|
|
2615
2615
|
* ```
|
|
2616
2616
|
*/
|
|
2617
2617
|
protectStream(input: EvaluateRequest, opts?: StreamOptions): AsyncIterable<StreamEvent>;
|
|
2618
|
+
/**
|
|
2619
|
+
* Retrieve the license status of this self-hosted or air-gapped deployment.
|
|
2620
|
+
*
|
|
2621
|
+
* Calls `GET /v1/license`. Returns the current validity state, expiry,
|
|
2622
|
+
* enabled feature flags, and optional capacity limits for the installed
|
|
2623
|
+
* license key.
|
|
2624
|
+
*
|
|
2625
|
+
* Callers should check `result.status === "active"` before proceeding.
|
|
2626
|
+
* A `"grace"` status means the license has lapsed but a grace window
|
|
2627
|
+
* (`grace_until`) is still open — the deployment continues to function
|
|
2628
|
+
* but the license should be renewed immediately.
|
|
2629
|
+
*
|
|
2630
|
+
* Throws {@link AtlaSentError} on transport / auth failures.
|
|
2631
|
+
*/
|
|
2632
|
+
getLicense(): Promise<LicenseStatus & {
|
|
2633
|
+
rateLimit: RateLimitState | null;
|
|
2634
|
+
}>;
|
|
2635
|
+
/**
|
|
2636
|
+
* Validate a signed license blob against this deployment's installed
|
|
2637
|
+
* public key.
|
|
2638
|
+
*
|
|
2639
|
+
* Calls `POST /v1/license/verify`. Use this when onboarding a new license
|
|
2640
|
+
* key or rotating an expiring one — submit the blob received from AtlaSent
|
|
2641
|
+
* and check `result.valid` before applying the new license.
|
|
2642
|
+
*
|
|
2643
|
+
* A `valid: false` response is **not** thrown — inspect the returned
|
|
2644
|
+
* object. Only transport / server errors throw {@link AtlaSentError}.
|
|
2645
|
+
*
|
|
2646
|
+
* @param blob — The signed license blob string provided by AtlaSent.
|
|
2647
|
+
*/
|
|
2648
|
+
verifyLicense(blob: string): Promise<LicenseVerifyResult & {
|
|
2649
|
+
rateLimit: RateLimitState | null;
|
|
2650
|
+
}>;
|
|
2618
2651
|
private post;
|
|
2619
2652
|
private postWithPathFallback;
|
|
2620
2653
|
private get;
|
|
@@ -7357,4 +7390,4 @@ declare const atlasent: {
|
|
|
7357
7390
|
readonly databaseTableDeleteGate: typeof protectDatabaseTableDelete;
|
|
7358
7391
|
};
|
|
7359
7392
|
|
|
7360
|
-
export { type AccessCertActionType, type AccessCertOptions, type AccessGovernanceEvent, type AccessGovernanceLogPage, type AccessGovernanceLogQuery, type AccessGovernanceLogSubClient, type ActionBundleInput, type ActionBundleReceipt, type ActionContext, type ActionDependency, type ActionDependencyResponse, type ActionFreeze, type ActionMetaContext, type ActionTypeOverrideStat, type ActorContext, type ActorOverrideStat, type AgentAuthorityDomain, type AgentEvaluationStatus, type AgentEvidenceRef, type AgentFindingSeverity, type AgentInvokerKind, type AgentSubjectKind, type AgentToolMode, type AgentToolOptions, type AmountThreshold, type AnomalyActionType, type AnomalyResponseEvent, type AnomalyResponseRule, type AnomalyType, ApiKeySelfResponse, type ApplyPolicySyncResponse, type ApprovalArtifactSlot, type ApprovalArtifactV1, type ApprovalConcentrationAnalysis, type ApprovalIssuer, type ApprovalPermit, type ApprovalProvenance, type ApprovalQuorumV1, type ApprovalReference, type ApprovalReviewer, type ApprovalRuntimeConfig, type ApprovalStatus, type ApproveBudgetExceptionRequest, type ApproverBreakdown, AtlaSentClient, AtlaSentClientOptions, AtlaSentDeniedError, AtlaSentError, type AuditBundle, type AuditChainFilters, type AuditChainPage, AuditEventsQuery, AuditEventsResult, AuditExportRequest, AuditExportResult, type AuthSubClient, type AuthenticateConnectorInput, type AuthenticateConnectorResponse, type AuthorityRecord, type AuthorizationDecision, type AuthorizeStreamHandlers, type AutonomousBoundsDenyCode, type AutonomousExecutionBounds, type AutonomousExecutionCheckResult, type AutonomousExecutionRecord, BCCAEClient, BEHAVIOR_SENSITIVE_CATEGORIES, BatchEvalItem, BatchEvalResponse, type BatchRecordReleaseOptions, type BccaeActorType, type BccaeClientOptions, type BccaeDeploymentEnv, type BccaeEvaluateInput, type BccaeEvaluateResponse, type BccaeEvidenceResponse, type BccaeExecuteInput, type BccaeExecuteResponse, type BccaeRequestSource, type BccaeResourceClassification, type BccaeRevocationTargetType, type BccaeRevokeInput, type BccaeRevokeResponse, type BccaeSecurityPosture, type BccaeTrustLevel, type BehaviorEventCategory, type BehaviorEventOptions, type BudgetConstraintCheckResult, type BudgetDenyCode, type BudgetExceptionRequest, type BudgetExceptionStatus, type BudgetLimit, type BudgetPolicy, type BudgetScope, type BudgetSpendingState, type BudgetViolation, type BudgetaryDriftAnalysis, type BuildActionContextInput, type BuildClaimEvidenceLinkOpts, type BuildFromActionBundleOpts, type BundleVerificationResult, type CAPAOptions, CONTEXT_NAMESPACES, CUSTOMER_DATA_EXPORT_ACTION, CanonicalProtectedActionType, type ChainIntegrityReport, type ClaimEvidenceLink, type ClinicalDataAccessOptions, type CloseActionType, type CloseGovernanceOptions, ComplianceEvidenceRun, type ComplianceExport, type ComputeOrgRiskOptions, type ComputeOrgRiskResponse, type ConcentrationAlert, type ConnectedSystemRow, type ConnectorAuditLogEntry, type ConnectorCredentialRow, type ConnectorCredentialType, type ConnectorEnforcementEventInput, type ConnectorEnforcementPolicy, type ConnectorEnforcementResult, type ConnectorRow, type ConnectorStatus, type ConnectorSyncState, type ConnectorType, type ContextEnvelope, type ContextNamespaceEntry, type ContextNamespaceKey, type ContextSignal, type ContextValidationError, type ContextValidationResult, type ContextValidationWarning, type ContractActionOptions, type ContractActionType, type ControlSurfaceConfig, type CreateActionDependencyRequest, type CreateAnomalyResponseRuleRequest, type CreateBudgetExceptionRequest, type CreateEscalationOptions, type CreateGraphEdgeInput, type CreateGraphNodeInput, type CreateImpersonationGrantRequest, type CreateRegulatoryEscalationRequest, type CreateWebhookSubscriptionRequest, type CrossOrgImpersonationGrant, type CrossOrgPermissionCheckListParams, type CrossOrgPermissionCheckRequest, type CrossOrgPermissionCheckResult, type CrossOrgTrustHop, type CurrencyCode, DEFAULT_INCENTIVE_CONFIG, DEFAULT_REDACTION_RULES, DEFAULT_RISK_TIER_THRESHOLDS, DEFAULT_TRUST_TTL_MS, DEPLOY_V1_ACTION, type DataDeleteActionType, type DataDeleteOptions, type DataExportOptions, type DatabaseActionOptions, type DatabaseActionType, type DatabaseDestructiveActionType, type DatabaseMigrationActionType, DecisionCanonical, DecisionReceipt, DecisionReceiptAlgorithm, DecisionStreamEvent, type DelegationPropagationSummary, type DeltaSlot, type DeltaStatus, type DenialEvidence, type DependencyLink, type DependencyRequirement, type DependencyStatus, type DeployEnvironment, type DeployEvidenceInput, type DeployEvidenceSlot, type DeployGateOptions, DeployGateRequest, DeployGateResponse, type DeploymentActionType, type DeploymentV2Options, type DisputeOrigin, type DisputeRecord, type DisputeReversalSummary, type DisputeStatus, type DriftChangeType, type DriftDetail, type DriftSeverity, type EconomicEvidenceBundle, type EmergencyFreeze, type EmergencyOverrideActionRow, type EnforcementAction, type EnforcementMode, type EnforcementQuorumConfig, type EnforcementStatus, type EnforcementWebhookEvent, type EngineVersionKind, type EngineVersionRecord, type EngineVersionResponse, type EngineVersionStatus, type EnvelopeDriftDetail, type EnvelopeVerification, type EnvironmentContext, EscalationDeniedError, type EscalationHandle, type EscalationOutcome, EscalationTimeoutError, type EvaluateBatchItem, type EvaluateBatchResponse, type EvaluateManyRequest, EvaluatePreflightResponse, EvaluateRequest, EvaluateResponse, type EvidenceBundle, type EvidenceBundleCreateParams, type EvidenceBundleListPage, type EvidenceBundleListParams, type EvidenceBundleSignableContent, type EvidenceBundleStatus, type EvidenceBundleSubClient, type EvidenceBundleVerificationResult, type EvidenceBundleVerifyResult, type EvidencePurpose, type EvidenceSlotStatus, type ExecutionAnomaly, type ExecutionApproverRow, type ExecutionCeiling, type ExecutionReceipt, FeatureNotEnabledError, type FeatureNotEnabledErrorInit, type FinancialActionClass, type FinancialActionType, type FinancialCloseActionType, type FinancialCloseOptions, type FinancialExecutionRecord, type FinancialExecutionStatus, type FinancialGovernanceSummary, type FinancialQuorumDenyCode, type FinancialQuorumInput, type FinancialQuorumPolicy, type FinancialQuorumResult, type FinancialRiskScore, type FinancialRiskTier, type FinancialRoleRequirement, type GdprLegalBasis, type GetEnforcementStatusOptions, type GetLatestOrgRiskResponse, GetPermitResponse, type GovernanceAgent, type GovernanceAgentEvaluation, type GovernanceAgentFinding, type GovernanceBehaviorPattern, GovernanceEnforcementError, type GovernanceEnforcementErrorInit, type GovernanceEvent, type GovernanceGate, type GovernanceGraphQueryParams, type GovernanceGraphQueryResponse, type GovernanceGraphQueryType, type GovernanceGraphResultRow, type GovernanceSignalAction, type GovernanceWebhookEvent, type GraphEdge, type GraphEdgeType, type GraphNode, type GraphNodeType, type GraphQLRequest, type GraphQLResponse, type GxpActionOptions, type GxpActionType, type HealthReport, type HistoricalContext, type HitlAiUnavailableFallback, type HitlApprovalRecord, type HitlApproveRequest, type HitlApproverPoolEntry, type HitlApproverType, type HitlChainHop, type HitlChainSummary, type HitlCreateRequest, type HitlDetailResponse, type HitlEscalation, type HitlFallbackDecision, type HitlHeterogeneousQuorumExtension, type HitlHeterogeneousQuorumTally, type HitlListResponse, type HitlQuorumProgress, type HitlQuorumTier, type HitlRejectRequest, type HitlRespondRequest, type HitlStatus, type HrActionOptions, type HrActionType, type IdentityAssertionBinding, type IdentityAssertionV1, type IdentityIssuer, type IdentityIssuerKey, type IdentitySubject, type IdentityTrustedIssuersConfig, type IdpConnection, type ImpersonationToken, type ImpersonationValidationResult, type IncentiveAlignmentConfig, type IncentiveSignal, type IncentiveSignalType, type IncidentChainActorEntry, type IncidentChainEvidenceRow, type IncidentChainExecutionRow, type IncidentTimelineResponse, type InfraActionOptions, type InfraActionType, type InstallConnectorInput, type InstallConnectorResponse, type IntegrationEvidenceSlot, type JWK, type LegacyEvaluateRequest, type LegacyEvaluateResponse, type LiabilityAttributionInput, type LiabilityAttributionRecord, type LiabilityChainValidation, type LiabilityClassification, type LiabilityEdge, type LiabilityNode, type LiabilityParty, type LiabilityPartyRole, type LiabilityVisualization, type ListActionDependenciesResponse, type ListConnectorsResponse, type ListEnforcementPoliciesResponse, type ListEngineVersionsResponse, type ListGovernanceAgentsResponse, type ListGovernanceEvaluationsQuery, type ListGovernanceEvaluationsResponse, type ListGovernanceFindingsQuery, type ListGovernanceFindingsResponse, type ListGraphEdgesResponse, type ListGraphNodesResponse, type ListHitlEscalationsRequest, type ListHitlEscalationsResponse, type ListOrgRiskHistoryResponse, ListPermitsRequest, ListPermitsResponse, type ListPolicySyncRunsResponse, type ListWebhookDeliveriesResponse, type ListWebhookSubscriptionsResponse, type MisalignmentAlert, type ModelGovernanceActionType, type ModelGovernanceOptions, NOT_APPLICABLE, type NotApplicable, type OfflineEvidenceBundleData, type OrgRiskLevel, type OrgRiskScore, type OrgSummary, type OverrideAnalytics, OverrideV1, type PaymentOperationActionType, type PaymentOperationOptions, type PaymentReleaseOptions, Permit, type PermitEvidence, type PermitV1, PermitValidResponse, type PolicyBundleEntry, type PolicyRef, type PolicySyncDiff, type PolicySyncRun, type PolicySyncStatus, type PostExecutionResult, type PricingActionOptions, type PricingActionType, type PrincipalKind, type ProductionDeployerRow, type ProofEvaluationSummary, type ProofPayload, type ProofResponse, type ProtectOrEscalateOptions, ProtectRequest, type ProtectedAction, type ProtectedActionEntry, type QuorumBypassConnectorRow, type QuorumIndependence, type QuorumPolicy, type QuorumProof, type QuorumRoleRequirement, RateLimitState, type ReconciliationCertifyOptions, type RecordContextEnvelopeInput, type RecordSignalActionRequest, type RecordSignalOutcomeRequest, type RedactionMode, type RedactionRule, type RegisterEngineVersionRequest, type RegulatoryAuthorityLevel, type RegulatoryEscalation, type RegulatoryEscalationStatus, type ReplayDecisionResponse, type ReplayDecisionValue, type ReplayRequest, type ReplayResponse, type ReplayVarianceKind, type ReportProtectedActionOptions, type RequestOverrideOptions, type ResourceContext, type ReversalStage, type ReversalWorkflow, type RevokeConnectorResponse, RevokePermitByIdInput, RevokePermitByIdResponse, RevokePermitRequest, RevokePermitResponse, type RiskFactor, type RiskTierThreshold, type RiskTimelinePoint, type RotateCredentialsResponse, type RuntimeAuditEntry, type RuntimeEvidenceSlot, RuntimeV2Client, SCIM_GROUP_SCHEMA, SCIM_PATCH_OP_SCHEMA, SCIM_USER_SCHEMA, type SandboxDiff, type SandboxDiffEmpty, type SandboxDiffPerTable, type SandboxDiffResponse, type SandboxRunMode, type SandboxRunStatus, type SandboxRunWrite, type SandboxWriteOp, type ScimEmail, type ScimGroupRef, type ScimGroupsSubClient, type ScimListParams, type ScimListResponse, type ScimMeta, type ScimName, type ScimPatchOp, type ScimSubClient, type ScimUser, type ScimUserCreate, type ScimUserUpdate, type ScimUsersSubClient, type SecurityActionOptions, type SecurityActionType, type ShadowConfig, type ShadowEventPayload, type ShadowMode, type ShadowOptions, type ShadowOutcome, type SignalActionSummary, type SignalActionType, type SignedApprovalArtifact, type SnapshotSourceKind, type SpendingConstraint, type SsoConnection, type SsoConnectionInput, type SsoConnectionWire, type SsoEnforceAction, type SsoEnforceResult, type SsoEvent, type SsoEventWire, type SsoJitRule, type SsoJitRuleInput, type SsoJitRulePatch, type SsoJitRuleWire, type SsoReadiness, type SsoReadinessWire, type SsoRole, type SsoSubClient, type StateSnapshot, type StateSnapshotInput, type StateSnapshotRef, type StreamComplete, type StreamDecisionFrame, type StreamErrorFrame, StreamEvent, StreamOptions, type SubmitPolicySyncRequest, type SubmitPolicySyncResponse, SubscribeDecisionsOptions, type SyncConnectorResponse, type TokenResponse, type TriggerAnomalyResponseRequest, type TrustRootKey, TrustRootManager, type TrustRootManagerOptions, type TrustRootRevocationEntry, type TrustRootSnapshot, type TrustSnapshot, type UpsertEnforcementPolicyInput, type UpsertEnforcementPolicyResponse, type UserApprovalRow, type V2EvaluateRequest, type V2EvaluateResponse, type V2Feature, type V2Transport, V2_BATCH_PATH, V2_GRAPHQL_MAX_DEPTH, V2_GRAPHQL_PATH, V2_MAX_BATCH_ITEMS, V2_MAX_BODY_BYTES, V2_STREAM_PATH, VENDOR_PAYMENT_ACTION, VQPClient, type VQPClientOptions, type VQPGenerateInput, type VQPGenerateResponse, type VQPVerifyInput, type VQPVerifyResponse, type ValidateContextOptions, type VerificationChecklist, type VerificationFailure, type VerificationResult, type VerifyBundleOptions, type VerifyClaimEvidenceLinkOpts, type VerifyClaimEvidenceLinkResult, type VerifyKey, VerifyPermitByIdResponse, VerifyPermitRequest, VerifyPermitResponse, type VqpVerdict, type WaitForApprovalOptions, type WebhookDelivery, type WebhookDeliveryStatus, type WebhookPayload, type WebhookSubscription, WebhookVerificationError, type WeightDistribution, __setGlobalTrustRootManagerForTests, _computeEvidenceRootHash, assertWebhook, authorizeStream, bootstrapTrust, budgetUtilizationSeverity, buildActionContext, buildClaimEvidenceLink, buildClaimEvidenceLinkFromActionBundle, buildLiabilityChain, buildLiabilityVisualization, buildRiskTimeline, buildSignableContent, canonicalJSON, canonicalizeForEvidence, checkAutonomousBounds, checkBudgetConstraints, checkIntegrationHealth, clampTokenDuration, classifyCommand, classifyRiskTier, classifyToolRisk, computeApprovalRiskScore, computeEscalatedApprovalCount, computeExposureScore, computeGovernanceHealthScore, computeHHI, computeLiabilityWeights, computeOverallRiskScore, computeOverrideScore, computeRemediationUrgency, computeSignalEngagementRate, configure, configureApprovalRuntime, configureControlSurface, configureShadow, createEscalation, atlasent as default, delegationPropagationHadEffect, deployGate, detectAutonomousAnomaly, detectMisalignedIncentives, detectSelfApproval, enforceAutonomousBounds, enforceBudgetConstraint, enforceEconomicGovernance, enforceFinancialQuorum, evaluateFinancialQuorum, evaluateMany, findPrimaryLiabilityParties, flattenActionContext, formatPolicySyncDiff, generateBccaeNonce, getEnforcementStatus, getGlobalTrustRootManager, getOrgSummary, graphql, hhiToConcentrationScore, highestAgentFindingSeverity, highestSeverityAction, hitlRequiredApproverCount, isBudgetExceptionActive, isBudgetExceptionTerminal, isEscalationSlaBreached, isFreezeActive, isImpersonationGrantUsable, isKidRevoked, isPolicySyncTerminal, isRegulatoryEscalationTerminal, isSandboxDiffPopulated, isSubstantiveSignalResponse, isTrustSnapshotExpired, makeAccessGovernanceLogClient, makeAuthClient, makeEvidenceBundleClient, makeScimClient, makeSsoClient, matchAnomalyRules, normalizeEvaluateRequest, normalizeEvaluateResponse, protect, protectAccessCertAction, protectAccessCertRevoke, protectBatchRecordRelease, protectBehaviorEvent, protectCloseAction, protectContractAction, protectContractExecution, protectCustomerDataDelete, protectDataExport, protectDatabaseAction, protectDatabaseMigration, protectDatabaseSchemaDrop, protectDatabaseTableDelete, protectDeploy, protectDeploymentV2, protectFinancialCloseAction, protectGxpAction, protectHrAction, protectHrOffboard, protectHrRoleEscalate, protectInfraAction, protectModelGovernance, protectModelPromotion, protectOrEscalate, protectPaymentOperation, protectPaymentRelease, protectPeriodCloseCertify, protectPricingAction, protectPricingRule, protectReconciliationCertify, protectSecurityAccessQuarantine, protectSecurityAction, protectSecurityIncidentEscalate, protectShadow, protectToolCall, redactContext, reportProtectedAction, reportShadowEvent, requestOverride, requirePermit, scoreToRiskTier, serializeSignableContent, signedBytesFor, summarizeCrossOrgPermission, transitionDispute, transitionReversal, validateActionContext, validateLiabilityChain, verifyAuditBundle, verifyBundle, verifyClaimEvidenceLink, verifyEvidenceBundle, verifyEvidenceBundleStructure, verifyWebhook, verifyWebhookSignature, waitForEscalationApproval, wireToSsoConnection, wireToSsoEvent, wireToSsoJitRule, wireToSsoReadiness, withPermit, withinAutonomousCeiling };
|
|
7393
|
+
export { type AccessCertActionType, type AccessCertOptions, type AccessGovernanceEvent, type AccessGovernanceLogPage, type AccessGovernanceLogQuery, type AccessGovernanceLogSubClient, type ActionBundleInput, type ActionBundleReceipt, type ActionContext, type ActionDependency, type ActionDependencyResponse, type ActionFreeze, type ActionMetaContext, type ActionTypeOverrideStat, type ActorContext, type ActorOverrideStat, type AgentAuthorityDomain, type AgentEvaluationStatus, type AgentEvidenceRef, type AgentFindingSeverity, type AgentInvokerKind, type AgentSubjectKind, type AgentToolMode, type AgentToolOptions, type AmountThreshold, type AnomalyActionType, type AnomalyResponseEvent, type AnomalyResponseRule, type AnomalyType, ApiKeySelfResponse, type ApplyPolicySyncResponse, type ApprovalArtifactSlot, type ApprovalArtifactV1, type ApprovalConcentrationAnalysis, type ApprovalIssuer, type ApprovalPermit, type ApprovalProvenance, type ApprovalQuorumV1, type ApprovalReference, type ApprovalReviewer, type ApprovalRuntimeConfig, type ApprovalStatus, type ApproveBudgetExceptionRequest, type ApproverBreakdown, AtlaSentClient, AtlaSentClientOptions, AtlaSentDeniedError, AtlaSentError, type AuditBundle, type AuditChainFilters, type AuditChainPage, AuditEventsQuery, AuditEventsResult, AuditExportRequest, AuditExportResult, type AuthSubClient, type AuthenticateConnectorInput, type AuthenticateConnectorResponse, type AuthorityRecord, type AuthorizationDecision, type AuthorizeStreamHandlers, type AutonomousBoundsDenyCode, type AutonomousExecutionBounds, type AutonomousExecutionCheckResult, type AutonomousExecutionRecord, BCCAEClient, BEHAVIOR_SENSITIVE_CATEGORIES, BatchEvalItem, BatchEvalResponse, type BatchRecordReleaseOptions, type BccaeActorType, type BccaeClientOptions, type BccaeDeploymentEnv, type BccaeEvaluateInput, type BccaeEvaluateResponse, type BccaeEvidenceResponse, type BccaeExecuteInput, type BccaeExecuteResponse, type BccaeRequestSource, type BccaeResourceClassification, type BccaeRevocationTargetType, type BccaeRevokeInput, type BccaeRevokeResponse, type BccaeSecurityPosture, type BccaeTrustLevel, type BehaviorEventCategory, type BehaviorEventOptions, type BudgetConstraintCheckResult, type BudgetDenyCode, type BudgetExceptionRequest, type BudgetExceptionStatus, type BudgetLimit, type BudgetPolicy, type BudgetScope, type BudgetSpendingState, type BudgetViolation, type BudgetaryDriftAnalysis, type BuildActionContextInput, type BuildClaimEvidenceLinkOpts, type BuildFromActionBundleOpts, type BundleVerificationResult, type CAPAOptions, CONTEXT_NAMESPACES, CUSTOMER_DATA_EXPORT_ACTION, CanonicalProtectedActionType, type ChainIntegrityReport, type ClaimEvidenceLink, type ClinicalDataAccessOptions, type CloseActionType, type CloseGovernanceOptions, ComplianceEvidenceRun, type ComplianceExport, type ComputeOrgRiskOptions, type ComputeOrgRiskResponse, type ConcentrationAlert, type ConnectedSystemRow, type ConnectorAuditLogEntry, type ConnectorCredentialRow, type ConnectorCredentialType, type ConnectorEnforcementEventInput, type ConnectorEnforcementPolicy, type ConnectorEnforcementResult, type ConnectorRow, type ConnectorStatus, type ConnectorSyncState, type ConnectorType, type ContextEnvelope, type ContextNamespaceEntry, type ContextNamespaceKey, type ContextSignal, type ContextValidationError, type ContextValidationResult, type ContextValidationWarning, type ContractActionOptions, type ContractActionType, type ControlSurfaceConfig, type CreateActionDependencyRequest, type CreateAnomalyResponseRuleRequest, type CreateBudgetExceptionRequest, type CreateEscalationOptions, type CreateGraphEdgeInput, type CreateGraphNodeInput, type CreateImpersonationGrantRequest, type CreateRegulatoryEscalationRequest, type CreateWebhookSubscriptionRequest, type CrossOrgImpersonationGrant, type CrossOrgPermissionCheckListParams, type CrossOrgPermissionCheckRequest, type CrossOrgPermissionCheckResult, type CrossOrgTrustHop, type CurrencyCode, DEFAULT_INCENTIVE_CONFIG, DEFAULT_REDACTION_RULES, DEFAULT_RISK_TIER_THRESHOLDS, DEFAULT_TRUST_TTL_MS, DEPLOY_V1_ACTION, type DataDeleteActionType, type DataDeleteOptions, type DataExportOptions, type DatabaseActionOptions, type DatabaseActionType, type DatabaseDestructiveActionType, type DatabaseMigrationActionType, DecisionCanonical, DecisionReceipt, DecisionReceiptAlgorithm, DecisionStreamEvent, type DelegationPropagationSummary, type DeltaSlot, type DeltaStatus, type DenialEvidence, type DependencyLink, type DependencyRequirement, type DependencyStatus, type DeployEnvironment, type DeployEvidenceInput, type DeployEvidenceSlot, type DeployGateOptions, DeployGateRequest, DeployGateResponse, type DeploymentActionType, type DeploymentV2Options, type DisputeOrigin, type DisputeRecord, type DisputeReversalSummary, type DisputeStatus, type DriftChangeType, type DriftDetail, type DriftSeverity, type EconomicEvidenceBundle, type EmergencyFreeze, type EmergencyOverrideActionRow, type EnforcementAction, type EnforcementMode, type EnforcementQuorumConfig, type EnforcementStatus, type EnforcementWebhookEvent, type EngineVersionKind, type EngineVersionRecord, type EngineVersionResponse, type EngineVersionStatus, type EnvelopeDriftDetail, type EnvelopeVerification, type EnvironmentContext, EscalationDeniedError, type EscalationHandle, type EscalationOutcome, EscalationTimeoutError, type EvaluateBatchItem, type EvaluateBatchResponse, type EvaluateManyRequest, EvaluatePreflightResponse, EvaluateRequest, EvaluateResponse, type EvidenceBundle, type EvidenceBundleCreateParams, type EvidenceBundleListPage, type EvidenceBundleListParams, type EvidenceBundleSignableContent, type EvidenceBundleStatus, type EvidenceBundleSubClient, type EvidenceBundleVerificationResult, type EvidenceBundleVerifyResult, type EvidencePurpose, type EvidenceSlotStatus, type ExecutionAnomaly, type ExecutionApproverRow, type ExecutionCeiling, type ExecutionReceipt, FeatureNotEnabledError, type FeatureNotEnabledErrorInit, type FinancialActionClass, type FinancialActionType, type FinancialCloseActionType, type FinancialCloseOptions, type FinancialExecutionRecord, type FinancialExecutionStatus, type FinancialGovernanceSummary, type FinancialQuorumDenyCode, type FinancialQuorumInput, type FinancialQuorumPolicy, type FinancialQuorumResult, type FinancialRiskScore, type FinancialRiskTier, type FinancialRoleRequirement, type GdprLegalBasis, type GetEnforcementStatusOptions, type GetLatestOrgRiskResponse, GetPermitResponse, type GovernanceAgent, type GovernanceAgentEvaluation, type GovernanceAgentFinding, type GovernanceBehaviorPattern, GovernanceEnforcementError, type GovernanceEnforcementErrorInit, type GovernanceEvent, type GovernanceGate, type GovernanceGraphQueryParams, type GovernanceGraphQueryResponse, type GovernanceGraphQueryType, type GovernanceGraphResultRow, type GovernanceSignalAction, type GovernanceWebhookEvent, type GraphEdge, type GraphEdgeType, type GraphNode, type GraphNodeType, type GraphQLRequest, type GraphQLResponse, type GxpActionOptions, type GxpActionType, type HealthReport, type HistoricalContext, type HitlAiUnavailableFallback, type HitlApprovalRecord, type HitlApproveRequest, type HitlApproverPoolEntry, type HitlApproverType, type HitlChainHop, type HitlChainSummary, type HitlCreateRequest, type HitlDetailResponse, type HitlEscalation, type HitlFallbackDecision, type HitlHeterogeneousQuorumExtension, type HitlHeterogeneousQuorumTally, type HitlListResponse, type HitlQuorumProgress, type HitlQuorumTier, type HitlRejectRequest, type HitlRespondRequest, type HitlStatus, type HrActionOptions, type HrActionType, type IdentityAssertionBinding, type IdentityAssertionV1, type IdentityIssuer, type IdentityIssuerKey, type IdentitySubject, type IdentityTrustedIssuersConfig, type IdpConnection, type ImpersonationToken, type ImpersonationValidationResult, type IncentiveAlignmentConfig, type IncentiveSignal, type IncentiveSignalType, type IncidentChainActorEntry, type IncidentChainEvidenceRow, type IncidentChainExecutionRow, type IncidentTimelineResponse, type InfraActionOptions, type InfraActionType, type InstallConnectorInput, type InstallConnectorResponse, type IntegrationEvidenceSlot, type JWK, type LegacyEvaluateRequest, type LegacyEvaluateResponse, type LiabilityAttributionInput, type LiabilityAttributionRecord, type LiabilityChainValidation, type LiabilityClassification, type LiabilityEdge, type LiabilityNode, type LiabilityParty, type LiabilityPartyRole, type LiabilityVisualization, LicenseStatus, LicenseVerifyResult, type ListActionDependenciesResponse, type ListConnectorsResponse, type ListEnforcementPoliciesResponse, type ListEngineVersionsResponse, type ListGovernanceAgentsResponse, type ListGovernanceEvaluationsQuery, type ListGovernanceEvaluationsResponse, type ListGovernanceFindingsQuery, type ListGovernanceFindingsResponse, type ListGraphEdgesResponse, type ListGraphNodesResponse, type ListHitlEscalationsRequest, type ListHitlEscalationsResponse, type ListOrgRiskHistoryResponse, ListPermitsRequest, ListPermitsResponse, type ListPolicySyncRunsResponse, type ListWebhookDeliveriesResponse, type ListWebhookSubscriptionsResponse, type MisalignmentAlert, type ModelGovernanceActionType, type ModelGovernanceOptions, NOT_APPLICABLE, type NotApplicable, type OfflineEvidenceBundleData, type OrgRiskLevel, type OrgRiskScore, type OrgSummary, type OverrideAnalytics, OverrideV1, type PaymentOperationActionType, type PaymentOperationOptions, type PaymentReleaseOptions, Permit, type PermitEvidence, type PermitV1, PermitValidResponse, type PolicyBundleEntry, type PolicyRef, type PolicySyncDiff, type PolicySyncRun, type PolicySyncStatus, type PostExecutionResult, type PricingActionOptions, type PricingActionType, type PrincipalKind, type ProductionDeployerRow, type ProofEvaluationSummary, type ProofPayload, type ProofResponse, type ProtectOrEscalateOptions, ProtectRequest, type ProtectedAction, type ProtectedActionEntry, type QuorumBypassConnectorRow, type QuorumIndependence, type QuorumPolicy, type QuorumProof, type QuorumRoleRequirement, RateLimitState, type ReconciliationCertifyOptions, type RecordContextEnvelopeInput, type RecordSignalActionRequest, type RecordSignalOutcomeRequest, type RedactionMode, type RedactionRule, type RegisterEngineVersionRequest, type RegulatoryAuthorityLevel, type RegulatoryEscalation, type RegulatoryEscalationStatus, type ReplayDecisionResponse, type ReplayDecisionValue, type ReplayRequest, type ReplayResponse, type ReplayVarianceKind, type ReportProtectedActionOptions, type RequestOverrideOptions, type ResourceContext, type ReversalStage, type ReversalWorkflow, type RevokeConnectorResponse, RevokePermitByIdInput, RevokePermitByIdResponse, RevokePermitRequest, RevokePermitResponse, type RiskFactor, type RiskTierThreshold, type RiskTimelinePoint, type RotateCredentialsResponse, type RuntimeAuditEntry, type RuntimeEvidenceSlot, RuntimeV2Client, SCIM_GROUP_SCHEMA, SCIM_PATCH_OP_SCHEMA, SCIM_USER_SCHEMA, type SandboxDiff, type SandboxDiffEmpty, type SandboxDiffPerTable, type SandboxDiffResponse, type SandboxRunMode, type SandboxRunStatus, type SandboxRunWrite, type SandboxWriteOp, type ScimEmail, type ScimGroupRef, type ScimGroupsSubClient, type ScimListParams, type ScimListResponse, type ScimMeta, type ScimName, type ScimPatchOp, type ScimSubClient, type ScimUser, type ScimUserCreate, type ScimUserUpdate, type ScimUsersSubClient, type SecurityActionOptions, type SecurityActionType, type ShadowConfig, type ShadowEventPayload, type ShadowMode, type ShadowOptions, type ShadowOutcome, type SignalActionSummary, type SignalActionType, type SignedApprovalArtifact, type SnapshotSourceKind, type SpendingConstraint, type SsoConnection, type SsoConnectionInput, type SsoConnectionWire, type SsoEnforceAction, type SsoEnforceResult, type SsoEvent, type SsoEventWire, type SsoJitRule, type SsoJitRuleInput, type SsoJitRulePatch, type SsoJitRuleWire, type SsoReadiness, type SsoReadinessWire, type SsoRole, type SsoSubClient, type StateSnapshot, type StateSnapshotInput, type StateSnapshotRef, type StreamComplete, type StreamDecisionFrame, type StreamErrorFrame, StreamEvent, StreamOptions, type SubmitPolicySyncRequest, type SubmitPolicySyncResponse, SubscribeDecisionsOptions, type SyncConnectorResponse, type TokenResponse, type TriggerAnomalyResponseRequest, type TrustRootKey, TrustRootManager, type TrustRootManagerOptions, type TrustRootRevocationEntry, type TrustRootSnapshot, type TrustSnapshot, type UpsertEnforcementPolicyInput, type UpsertEnforcementPolicyResponse, type UserApprovalRow, type V2EvaluateRequest, type V2EvaluateResponse, type V2Feature, type V2Transport, V2_BATCH_PATH, V2_GRAPHQL_MAX_DEPTH, V2_GRAPHQL_PATH, V2_MAX_BATCH_ITEMS, V2_MAX_BODY_BYTES, V2_STREAM_PATH, VENDOR_PAYMENT_ACTION, VQPClient, type VQPClientOptions, type VQPGenerateInput, type VQPGenerateResponse, type VQPVerifyInput, type VQPVerifyResponse, type ValidateContextOptions, type VerificationChecklist, type VerificationFailure, type VerificationResult, type VerifyBundleOptions, type VerifyClaimEvidenceLinkOpts, type VerifyClaimEvidenceLinkResult, type VerifyKey, VerifyPermitByIdResponse, VerifyPermitRequest, VerifyPermitResponse, type VqpVerdict, type WaitForApprovalOptions, type WebhookDelivery, type WebhookDeliveryStatus, type WebhookPayload, type WebhookSubscription, WebhookVerificationError, type WeightDistribution, __setGlobalTrustRootManagerForTests, _computeEvidenceRootHash, assertWebhook, authorizeStream, bootstrapTrust, budgetUtilizationSeverity, buildActionContext, buildClaimEvidenceLink, buildClaimEvidenceLinkFromActionBundle, buildLiabilityChain, buildLiabilityVisualization, buildRiskTimeline, buildSignableContent, canonicalJSON, canonicalizeForEvidence, checkAutonomousBounds, checkBudgetConstraints, checkIntegrationHealth, clampTokenDuration, classifyCommand, classifyRiskTier, classifyToolRisk, computeApprovalRiskScore, computeEscalatedApprovalCount, computeExposureScore, computeGovernanceHealthScore, computeHHI, computeLiabilityWeights, computeOverallRiskScore, computeOverrideScore, computeRemediationUrgency, computeSignalEngagementRate, configure, configureApprovalRuntime, configureControlSurface, configureShadow, createEscalation, atlasent as default, delegationPropagationHadEffect, deployGate, detectAutonomousAnomaly, detectMisalignedIncentives, detectSelfApproval, enforceAutonomousBounds, enforceBudgetConstraint, enforceEconomicGovernance, enforceFinancialQuorum, evaluateFinancialQuorum, evaluateMany, findPrimaryLiabilityParties, flattenActionContext, formatPolicySyncDiff, generateBccaeNonce, getEnforcementStatus, getGlobalTrustRootManager, getOrgSummary, graphql, hhiToConcentrationScore, highestAgentFindingSeverity, highestSeverityAction, hitlRequiredApproverCount, isBudgetExceptionActive, isBudgetExceptionTerminal, isEscalationSlaBreached, isFreezeActive, isImpersonationGrantUsable, isKidRevoked, isPolicySyncTerminal, isRegulatoryEscalationTerminal, isSandboxDiffPopulated, isSubstantiveSignalResponse, isTrustSnapshotExpired, makeAccessGovernanceLogClient, makeAuthClient, makeEvidenceBundleClient, makeScimClient, makeSsoClient, matchAnomalyRules, normalizeEvaluateRequest, normalizeEvaluateResponse, protect, protectAccessCertAction, protectAccessCertRevoke, protectBatchRecordRelease, protectBehaviorEvent, protectCloseAction, protectContractAction, protectContractExecution, protectCustomerDataDelete, protectDataExport, protectDatabaseAction, protectDatabaseMigration, protectDatabaseSchemaDrop, protectDatabaseTableDelete, protectDeploy, protectDeploymentV2, protectFinancialCloseAction, protectGxpAction, protectHrAction, protectHrOffboard, protectHrRoleEscalate, protectInfraAction, protectModelGovernance, protectModelPromotion, protectOrEscalate, protectPaymentOperation, protectPaymentRelease, protectPeriodCloseCertify, protectPricingAction, protectPricingRule, protectReconciliationCertify, protectSecurityAccessQuarantine, protectSecurityAction, protectSecurityIncidentEscalate, protectShadow, protectToolCall, redactContext, reportProtectedAction, reportShadowEvent, requestOverride, requirePermit, scoreToRiskTier, serializeSignableContent, signedBytesFor, summarizeCrossOrgPermission, transitionDispute, transitionReversal, validateActionContext, validateLiabilityChain, verifyAuditBundle, verifyBundle, verifyClaimEvidenceLink, verifyEvidenceBundle, verifyEvidenceBundleStructure, verifyWebhook, verifyWebhookSignature, waitForEscalationApproval, wireToSsoConnection, wireToSsoEvent, wireToSsoJitRule, wireToSsoReadiness, withPermit, withinAutonomousCeiling };
|
package/dist/index.js
CHANGED
|
@@ -1975,6 +1975,48 @@ var AtlaSentClient = class {
|
|
|
1975
1975
|
break;
|
|
1976
1976
|
}
|
|
1977
1977
|
}
|
|
1978
|
+
// ── License verification (self-hosted / air-gapped) ──────────────────────
|
|
1979
|
+
/**
|
|
1980
|
+
* Retrieve the license status of this self-hosted or air-gapped deployment.
|
|
1981
|
+
*
|
|
1982
|
+
* Calls `GET /v1/license`. Returns the current validity state, expiry,
|
|
1983
|
+
* enabled feature flags, and optional capacity limits for the installed
|
|
1984
|
+
* license key.
|
|
1985
|
+
*
|
|
1986
|
+
* Callers should check `result.status === "active"` before proceeding.
|
|
1987
|
+
* A `"grace"` status means the license has lapsed but a grace window
|
|
1988
|
+
* (`grace_until`) is still open — the deployment continues to function
|
|
1989
|
+
* but the license should be renewed immediately.
|
|
1990
|
+
*
|
|
1991
|
+
* Throws {@link AtlaSentError} on transport / auth failures.
|
|
1992
|
+
*/
|
|
1993
|
+
async getLicense() {
|
|
1994
|
+
const { body, rateLimit } = await this.get("/v1/license");
|
|
1995
|
+
return { ...body, rateLimit };
|
|
1996
|
+
}
|
|
1997
|
+
/**
|
|
1998
|
+
* Validate a signed license blob against this deployment's installed
|
|
1999
|
+
* public key.
|
|
2000
|
+
*
|
|
2001
|
+
* Calls `POST /v1/license/verify`. Use this when onboarding a new license
|
|
2002
|
+
* key or rotating an expiring one — submit the blob received from AtlaSent
|
|
2003
|
+
* and check `result.valid` before applying the new license.
|
|
2004
|
+
*
|
|
2005
|
+
* A `valid: false` response is **not** thrown — inspect the returned
|
|
2006
|
+
* object. Only transport / server errors throw {@link AtlaSentError}.
|
|
2007
|
+
*
|
|
2008
|
+
* @param blob — The signed license blob string provided by AtlaSent.
|
|
2009
|
+
*/
|
|
2010
|
+
async verifyLicense(blob) {
|
|
2011
|
+
if (!blob || typeof blob !== "string") {
|
|
2012
|
+
throw new AtlaSentError("blob is required", { code: "bad_request" });
|
|
2013
|
+
}
|
|
2014
|
+
const { body, rateLimit } = await this.post(
|
|
2015
|
+
"/v1/license/verify",
|
|
2016
|
+
{ blob }
|
|
2017
|
+
);
|
|
2018
|
+
return { ...body, rateLimit };
|
|
2019
|
+
}
|
|
1978
2020
|
async post(path, body, query) {
|
|
1979
2021
|
return this.request(path, "POST", body, query);
|
|
1980
2022
|
}
|