@terminal3/t3n-sdk 5.14.0 → 5.15.2
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/dist/cli/index.js +1 -1
- package/dist/index.d.ts +173 -10
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/scripts/sign-trust-manifest.mjs +3903 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -592,14 +592,24 @@ declare class MockTransport implements Transport {
|
|
|
592
592
|
}
|
|
593
593
|
|
|
594
594
|
/**
|
|
595
|
-
* TDX quote verifier backed by the Rust `
|
|
596
|
-
* WASM. Full cryptographic verification: ECDSA P-256
|
|
597
|
-
* signature
|
|
598
|
-
*
|
|
595
|
+
* TDX and SEV-SNP quote verifier backed by the Rust `tee-quote` crate
|
|
596
|
+
* compiled to WASM. Full cryptographic verification: TDX's ECDSA P-256
|
|
597
|
+
* attestation-key signature + PCK certificate chain walk to Intel's root
|
|
598
|
+
* CA, or SEV-SNP's report signature + VCEK/VLEK chain walk to AMD's
|
|
599
|
+
* pinned root + CRL revocation check — plus report_data + measurement
|
|
600
|
+
* comparison either way.
|
|
599
601
|
*
|
|
600
602
|
* The WASM bytes are inlined as base64 (see quote_verifier_bytes.ts)
|
|
601
603
|
* so the SDK works without bundler WASM plugins and without runtime
|
|
602
604
|
* asset URL resolution.
|
|
605
|
+
*
|
|
606
|
+
* SEV-SNP verification needs AMD KDS collateral (VCEK/VLEK leaf,
|
|
607
|
+
* intermediate chain, CRL) this module never fetches itself — see
|
|
608
|
+
* {@link SevSnpCollateral} and {@link fetchSevSnpCollateral} in
|
|
609
|
+
* `sev-snp-kds.ts`. Confirmed empirically: AMD's KDS (kdsintf.amd.com)
|
|
610
|
+
* sends `Access-Control-Allow-Origin: *` on all three endpoints a
|
|
611
|
+
* verifier needs, so a browser can fetch them directly, no CORS proxy
|
|
612
|
+
* required.
|
|
603
613
|
*/
|
|
604
614
|
interface QuoteVerifyResult {
|
|
605
615
|
valid: boolean;
|
|
@@ -612,13 +622,42 @@ interface QuoteVerifyResult {
|
|
|
612
622
|
rtmr1?: string;
|
|
613
623
|
report_data?: string;
|
|
614
624
|
}
|
|
625
|
+
/** Result of {@link verifySevSnpReport}. */
|
|
626
|
+
interface SevSnpVerifyResult {
|
|
627
|
+
valid: boolean;
|
|
628
|
+
error?: string;
|
|
629
|
+
/** Base64-encoded 48-byte MEASUREMENT extracted from the report. */
|
|
630
|
+
measurement?: string;
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* AMD KDS collateral for one SEV-SNP report — the VCEK/VLEK leaf
|
|
634
|
+
* certificate, the `[ASK,ARK]`/`[ASVK,ARK]` intermediate chain, and the
|
|
635
|
+
* matching CRL, all base64-encoded. Fetch these directly from AMD KDS
|
|
636
|
+
* (confirmed CORS-open) — see `fetchSevSnpCollateral` in
|
|
637
|
+
* `sev-snp-kds.ts`.
|
|
638
|
+
*/
|
|
639
|
+
interface SevSnpCollateral {
|
|
640
|
+
/** VCEK/VLEK leaf certificate (DER, base64). */
|
|
641
|
+
leaf_der_b64: string;
|
|
642
|
+
/** `[ASK, ARK]` / `[ASVK, ARK]` intermediate chain (PEM, base64). */
|
|
643
|
+
kds_chain_pem_b64: string;
|
|
644
|
+
/** Matching CRL (DER, base64). */
|
|
645
|
+
crl_der_b64: string;
|
|
646
|
+
}
|
|
615
647
|
interface PeerQuoteResult {
|
|
616
648
|
peer_id: string;
|
|
617
649
|
valid: boolean;
|
|
618
650
|
error?: string;
|
|
651
|
+
/** TDX only. */
|
|
619
652
|
rtmr3?: string;
|
|
620
|
-
/** See {@link QuoteVerifyResult.rtmr1}. */
|
|
653
|
+
/** TDX only. See {@link QuoteVerifyResult.rtmr1}. */
|
|
621
654
|
rtmr1?: string;
|
|
655
|
+
/**
|
|
656
|
+
* Base64-encoded 48-byte SEV-SNP MEASUREMENT (SEV-SNP only). Mutually
|
|
657
|
+
* exclusive with `rtmr3`/`rtmr1` — a raw quote is one vendor or the
|
|
658
|
+
* other (see {@link detectQuoteVendor}).
|
|
659
|
+
*/
|
|
660
|
+
measurement?: string;
|
|
622
661
|
}
|
|
623
662
|
interface DkgVerifyResult {
|
|
624
663
|
valid: boolean;
|
|
@@ -673,6 +712,23 @@ interface TrustAnchor {
|
|
|
673
712
|
* here.
|
|
674
713
|
*/
|
|
675
714
|
rtmr1_allowlist: string[];
|
|
715
|
+
/**
|
|
716
|
+
* Base64-encoded 48-byte SEV-SNP MEASUREMENT values of the expected
|
|
717
|
+
* node image. Every SEV-SNP peer's MEASUREMENT must be a member —
|
|
718
|
+
* applies only to peers whose quote is an SEV-SNP report (auto-detected,
|
|
719
|
+
* see {@link detectQuoteVendor}), so `[]` is correct for an all-TDX
|
|
720
|
+
* fleet. Unlike `rtmr1_allowlist`, MEASUREMENT is confirmed
|
|
721
|
+
* host-invariant, so this is a simple exact-match allowlist, not a
|
|
722
|
+
* per-host-firmware union — still an array so a rolling deploy's
|
|
723
|
+
* old‖new images both verify.
|
|
724
|
+
*/
|
|
725
|
+
sev_snp_measurement_allowlist: string[];
|
|
726
|
+
/**
|
|
727
|
+
* AMD product line (`"Milan"`/`"Genoa"`) the cluster's SEV-SNP nodes
|
|
728
|
+
* run on — selects the pinned ARK root. Required only if the cluster
|
|
729
|
+
* actually has SEV-SNP peers; omit for an all-TDX fleet.
|
|
730
|
+
*/
|
|
731
|
+
sev_snp_product?: string;
|
|
676
732
|
/**
|
|
677
733
|
* Optional provenance of the pinned values, for diagnostics only —
|
|
678
734
|
* never passed to the verifier and never part of any security
|
|
@@ -738,16 +794,83 @@ declare function verifyTdxQuote(quoteB64: string, attestationMsgB64: string, exp
|
|
|
738
794
|
* see `unsafe_trust_server` on the client config, which branches around
|
|
739
795
|
* the whole verify path.
|
|
740
796
|
*
|
|
797
|
+
* For a mixed TDX/SEV-SNP fleet, each peer's vendor is auto-detected from
|
|
798
|
+
* its raw quote bytes (see {@link detectQuoteVendor}); an SEV-SNP peer
|
|
799
|
+
* verifies against `sevSnpCollateral`/`anchor.sev_snp_measurement_allowlist`/
|
|
800
|
+
* `anchor.sev_snp_product` instead of the RTMR1/RTMR3 allowlists. Pure and
|
|
801
|
+
* synchronous like the TDX path — this function never fetches anything
|
|
802
|
+
* itself; a caller with SEV-SNP peers fetches each one's own AMD KDS
|
|
803
|
+
* collateral first (see `fetchSevSnpCollateral` in `sev-snp-kds.ts`) and
|
|
804
|
+
* passes it in.
|
|
805
|
+
*
|
|
741
806
|
* @param encapsKeyB64 - Base64-encoded ML-KEM encapsulation key
|
|
742
807
|
* (from `/status.encaps_key`)
|
|
743
808
|
* @param attestationMsgB64 - Base64-encoded raw attestation message
|
|
744
809
|
* (from `/status.dkg_attestation.attestation_msg`)
|
|
745
810
|
* @param peerIds - Base58 peer IDs as reported by the bundle
|
|
746
|
-
* @param quotes - Map of peer_id → base64-encoded TDX
|
|
747
|
-
* @param anchor - Client-pinned expected peer IDs + RTMR
|
|
811
|
+
* @param quotes - Map of peer_id → base64-encoded quote (TDX or SEV-SNP)
|
|
812
|
+
* @param anchor - Client-pinned expected peer IDs + RTMR/MEASUREMENT
|
|
813
|
+
* allowlists
|
|
814
|
+
* @param sevSnpCollateral - Map of peer_id → AMD KDS collateral, for
|
|
815
|
+
* peers detected as SEV-SNP. Omit (or pass `{}`) for an all-TDX fleet.
|
|
748
816
|
* @returns Per-peer verification results and overall validity
|
|
749
817
|
*/
|
|
750
|
-
declare function verifyDkgAttestation(encapsKeyB64: string, attestationMsgB64: string, peerIds: string[], quotes: Record<string, string>, anchor: TrustAnchor): Promise<DkgVerifyResult>;
|
|
818
|
+
declare function verifyDkgAttestation(encapsKeyB64: string, attestationMsgB64: string, peerIds: string[], quotes: Record<string, string>, anchor: TrustAnchor, sevSnpCollateral?: Record<string, SevSnpCollateral>): Promise<DkgVerifyResult>;
|
|
819
|
+
/**
|
|
820
|
+
* Verify a single SEV-SNP attestation report with full cryptographic
|
|
821
|
+
* verification: report signature to the pinned AMD root (via
|
|
822
|
+
* caller-supplied KDS collateral), CRL revocation, and
|
|
823
|
+
* report_data + MEASUREMENT comparison. The offline, single-report
|
|
824
|
+
* sibling of {@link verifyTdxQuote}.
|
|
825
|
+
*
|
|
826
|
+
* Deliberately simpler than the node's own P2P peer-admission policy:
|
|
827
|
+
* VCEK-only (a VLEK report's leaf isn't served by KDS at all — it comes
|
|
828
|
+
* from the guest's own host GHCB table — and carries no per-chip binding
|
|
829
|
+
* anyway) and no TCB floor (an operational fleet-hygiene concern, not a
|
|
830
|
+
* client trust boundary — the MEASUREMENT allowlist is what proves *this
|
|
831
|
+
* is our approved image*).
|
|
832
|
+
*
|
|
833
|
+
* @param reportB64 - Base64-encoded raw 1184-byte SEV-SNP `ATTESTATION_REPORT`
|
|
834
|
+
* @param attestationMsgB64 - Base64-encoded attestation message
|
|
835
|
+
* (for DKG: encaps_key || sorted_peer_id_bytes)
|
|
836
|
+
* @param collateral - AMD KDS collateral for this specific report
|
|
837
|
+
* @param expectedMeasurementB64 - Optional base64-encoded 48-byte
|
|
838
|
+
* expected MEASUREMENT
|
|
839
|
+
* @param product - AMD product line (`"Milan"`/`"Genoa"`)
|
|
840
|
+
* @returns Verification result with the extracted measurement
|
|
841
|
+
*/
|
|
842
|
+
declare function verifySevSnpReport(reportB64: string, attestationMsgB64: string, collateral: SevSnpCollateral, expectedMeasurementB64: string | undefined, product: string): Promise<SevSnpVerifyResult>;
|
|
843
|
+
/**
|
|
844
|
+
* Which vendor produced a raw quote/report — `"tdx"`, `"sev-snp"`, or
|
|
845
|
+
* `"unknown"`. Lets a caller decide whether it needs to fetch AMD KDS
|
|
846
|
+
* collateral for a given peer before calling {@link verifyDkgAttestation},
|
|
847
|
+
* without duplicating the WASM module's own quote-parsing logic in JS.
|
|
848
|
+
*
|
|
849
|
+
* @param quoteB64 - Base64-encoded raw quote/report bytes
|
|
850
|
+
*/
|
|
851
|
+
declare function detectQuoteVendor(quoteB64: string): Promise<"tdx" | "sev-snp" | "unknown">;
|
|
852
|
+
/** Result of {@link sevSnpVcekUrl}. */
|
|
853
|
+
interface VcekUrlResult {
|
|
854
|
+
url?: string;
|
|
855
|
+
error?: string;
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* Build the AMD KDS URL for an SEV-SNP report's VCEK leaf certificate —
|
|
859
|
+
* the one collateral endpoint whose URL depends on the report itself
|
|
860
|
+
* (`CHIP_ID` + the four `REPORTED_TCB` security-patch-level components).
|
|
861
|
+
* `cert_chain`/`crl` URLs need no report data and can be templated
|
|
862
|
+
* directly: `https://kdsintf.amd.com/vcek/v1/<product>/cert_chain` and
|
|
863
|
+
* `.../crl` — see `fetchSevSnpCollateral` in `sev-snp-kds.ts`, which
|
|
864
|
+
* assembles all three.
|
|
865
|
+
*
|
|
866
|
+
* This does no cryptographic verification — parsing a report proves
|
|
867
|
+
* nothing about its authenticity; it only reads two fields needed to
|
|
868
|
+
* address the KDS request.
|
|
869
|
+
*
|
|
870
|
+
* @param reportB64 - Base64-encoded raw SEV-SNP `ATTESTATION_REPORT`
|
|
871
|
+
* @param product - AMD product line (`"Milan"`/`"Genoa"`)
|
|
872
|
+
*/
|
|
873
|
+
declare function sevSnpVcekUrl(reportB64: string, product: string): Promise<VcekUrlResult>;
|
|
751
874
|
|
|
752
875
|
/**
|
|
753
876
|
* Configuration types for T3n Client
|
|
@@ -5780,6 +5903,32 @@ interface ConfigValidationResult {
|
|
|
5780
5903
|
errors: string[];
|
|
5781
5904
|
}
|
|
5782
5905
|
|
|
5906
|
+
/**
|
|
5907
|
+
* Fetches the AMD KDS collateral (VCEK/VLEK leaf, intermediate chain,
|
|
5908
|
+
* CRL) an SEV-SNP peer's report needs for offline verification (see
|
|
5909
|
+
* {@link SevSnpCollateral}).
|
|
5910
|
+
*
|
|
5911
|
+
* Confirmed empirically: AMD's KDS (kdsintf.amd.com) sends
|
|
5912
|
+
* `Access-Control-Allow-Origin: *` on all three endpoints below, so a
|
|
5913
|
+
* browser can fetch them directly — no CORS proxy needed. This is the
|
|
5914
|
+
* TypeScript half of the split responsibility `quote-verifier-loader.ts`
|
|
5915
|
+
* documents: TypeScript fetches, WASM verifies fully offline against a
|
|
5916
|
+
* pinned AMD root.
|
|
5917
|
+
*/
|
|
5918
|
+
|
|
5919
|
+
/**
|
|
5920
|
+
* Fetch the full AMD KDS collateral bundle (VCEK leaf, intermediate
|
|
5921
|
+
* chain, CRL) needed to verify one SEV-SNP report, ready to pass as
|
|
5922
|
+
* `verifyDkgAttestation`'s/`verifySevSnpReport`'s `SevSnpCollateral`
|
|
5923
|
+
* argument.
|
|
5924
|
+
*
|
|
5925
|
+
* @param reportB64 - Base64-encoded raw SEV-SNP `ATTESTATION_REPORT`
|
|
5926
|
+
* @param product - AMD product line (`"Milan"`/`"Genoa"`)
|
|
5927
|
+
* @throws if the report can't be parsed for its VCEK URL, or any of the
|
|
5928
|
+
* three KDS fetches fails
|
|
5929
|
+
*/
|
|
5930
|
+
declare function fetchSevSnpCollateral(reportB64: string, product: string): Promise<SevSnpCollateral>;
|
|
5931
|
+
|
|
5783
5932
|
/**
|
|
5784
5933
|
* Operator-signed trust-manifest distribution.
|
|
5785
5934
|
*
|
|
@@ -5828,6 +5977,20 @@ interface SignedTrustManifest {
|
|
|
5828
5977
|
rtmr3_allowlist: string[];
|
|
5829
5978
|
/** Base64-encoded 48-byte RTMR1 measurements of the expected image(s). */
|
|
5830
5979
|
rtmr1_allowlist: string[];
|
|
5980
|
+
/**
|
|
5981
|
+
* Base64-encoded 48-byte SEV-SNP MEASUREMENT values of the expected
|
|
5982
|
+
* image(s) — applies only to peers whose quote is an SEV-SNP report
|
|
5983
|
+
* (see `detectQuoteVendor`). Optional and defaults to `[]`: an
|
|
5984
|
+
* all-TDX-fleet manifest, or one published before this field existed,
|
|
5985
|
+
* simply omits it.
|
|
5986
|
+
*/
|
|
5987
|
+
sev_snp_measurement_allowlist?: string[];
|
|
5988
|
+
/**
|
|
5989
|
+
* AMD product line (`"Milan"`/`"Genoa"`) the cluster's SEV-SNP nodes
|
|
5990
|
+
* run on. Optional — required only if `sev_snp_measurement_allowlist`
|
|
5991
|
+
* is non-empty.
|
|
5992
|
+
*/
|
|
5993
|
+
sev_snp_product?: string;
|
|
5831
5994
|
/** RFC 3339 timestamp the manifest was signed. */
|
|
5832
5995
|
signed_at: string;
|
|
5833
5996
|
/** Hex secp256k1 signature (compact 64-byte r‖s) over the canonical payload. */
|
|
@@ -6600,5 +6763,5 @@ declare function tenantDidHex(tenantDid: string): string;
|
|
|
6600
6763
|
declare function validateTail(tail: string): string;
|
|
6601
6764
|
declare function canonicalTenantName(tenantDid: string, tail: string): string;
|
|
6602
6765
|
|
|
6603
|
-
export { AGENT_CARDS_SCOPE, AuthMethod, AuthenticationError, BASE_UNITS_PER_TOKEN, ContractResponseError, DEFAULT_ENVIRONMENT, DEFAULT_INDIVIDUAL_THRESHOLD_CENTS, DEFAULT_KYC_POLL_CADENCE, HandshakeError, HttpTransport, InvokeError, KycStatusTimeoutError, LogLevel, MockTransport, NODE_URLS, OrgDataClient, OtpRateLimitedError, RpcError, SessionExpiredError, SessionOrgDataClient, SessionStateError, SessionStatus, SessionUsageReportClient, T3nClient, T3nConfigError, T3nError, TERMINAL_KYC_STATUSES, TOKEN_DECIMALS, TenantClient, TenantContractsNamespace, TenantMapsNamespace, TenantNamespace, TenantSdkValidationError, TenantTokenNamespace, UnsupportedTenantSdkOperationError, UserUpsertError, WasmError, WireEncodingError, Z_PAYROLL_AUDIT_READ_FUNCTIONS, Z_PAYROLL_RUN_FUNCTIONS, _b64uEncode, assertShape, b64uDecodeStrict, b64uEncodeBytes, buildSecretWriteArgs, bytesToString, canonicalTenantName, clearKeyCache, clearManifestVersionFloor, compactDidFromBytes, createDefaultHandlers, createEmailOtpAuthInput, createEthAuthInput, createLogger, createMlKemPublicKeyHandler, createOidcAuthInput, createOrgDataClientFromSession, createRandomHandler, createUsageReportClientFromSession, createWorkloadAuthInput, decodeWasmErrorMessage, deriveAgentCardEntryId, discoverCheckDelegation, discoverDescribeContract, discoverDescribeFunction, discoverListContracts, discoverWhoami, eth_get_address, extractWasmError, fetchDkgAttestation, fetchMlKemPublicKey, fetchTrustedManifest, formatTokens, generateRandomString, generateUUID, getContractVersion, getEnvironment, getEnvironmentName, getGlobalLogLevel, getLogger, getNodeUrl, invoke, isAgentCardResponse, isAgentEgressGetResponse, isContractAgentCountsResponse, isDataGetResponse, isDataListResponse, isListAgentsResponse, isListHumanMembersResponse, isMutationResponse, isObject, isOrgAdminStatus, isOrgContractDelegation, isOrgContractGrants, isOrgPolicyMeta, isOrgPolicyView, isOrgUsageReport, isOrgWriters, isRoleAssignmentsResponse, isRoleGetResponse, isSecretListResponse, isSecretRecord, isSecretView, isUnsafeTrustServer, loadConfig, loadWasmComponent, manifestToTrustAnchor, maskKeyMaterial, mergeAgentAuthEntries, mergeDiscoverDids, mergeGrants, metamask_get_address, metamask_sign, parseAgentAuthGet, parseAgentAuthPolicy, parseContractResponse, parseMemberDelegationDoc, redactSecrets, redactSecretsFromJson, requestToWire, resolveTrustAnchor, setEnvironment, setGlobalLogLevel, setNodeUrl, stringToBytes, tenantDidHex, toAgentAuthUpdateWire, toBaseUnits, validateConfig, validateTail, verifyDkgAttestation, verifyManifestSignature, verifyTdxQuote };
|
|
6604
|
-
export type { ActivityCallerType, ActivityEntry, ActivityExportFile, ActivityExportStatus, ActivityOutcome, ActivityReport, AdminActionAuth, AdmitForOrgOptions, AgentAuthEntry, AgentAuthMergeResult, AgentAuthPolicy, AgentAuthScriptGrant, AgentAuthUpdateInput, AgentCardRefInput, AgentCardResponse, AgentCardSetInput, AgentEgressEntry, AgentEgressGetResponse, AgentEgressRefInput, AgentSummary, AssignRolesInput, AuthInput, BalanceRow, BoundGrant, ChargeReason, ClientAuth, ClientHandshake, ComputePayrollRequest, ConfigValidationResult, ContractAgentCountsInput, ContractAgentCountsResponse, ContractDescriptorDocument, ContractDescriptorFacets, ContractExecuteInput, ContractKind, ContractLifecycleStatus, ContractListDetailedOptions, ContractListDetailedPage, ContractPublishInput, ContractRegisterResult, ContractResponseSchema, ContractSetDescriptorInput, ContractUnsetDescriptorInput, ContractUnsetDescriptorResult, CreatePolicyInput, DataGetInput, DataGetResponse, DataListInput, DataListResponse, DelegationGrantKind, DelegationGrantRef, DeleteDataInput, DeleteGrantsInput, DeleteScopeInput, DescribeContractParams, DescribeContractResult, DescribeFunctionParams, DescribeFunctionResult, DetailedContract, Did, DidKind, Direction, DiscoverOptions, DkgAttestation, DkgVerifyResult, DrainContractAgentCountsInput, EmailOtpAuthInput, EmailOtpCredentials, Environment, EthAuthInput, ExecuteBusinessContractOptions, ExecuteOrgDataActionOptions, ExportActivityLogOptions, FetchTrustedManifestOptions, FunctionDescriptorEntry, GetActivityLogOptions, GetUsageOptions, GrantCheckParams, GrantCheckResult, GranteeInput, GrantsGetInput, GrantsMergeResult, GuestToHostHandler, GuestToHostHandlers, HandshakeResult, HumanMember, InvokeOptions, InvokeRequest, JsonRpcRequest, JsonRpcResponse, KycPollCadence, KycPollOptions, KycStatus, KycStatusKind, ListAgentsInput, ListAgentsResponse, ListContractsParams, ListContractsResult, ListContractsScope, ListHumanMembersInput, ListHumanMembersResponse, ListedContract, Logger, MapCreateInput, MapLifecycleStatus, MapResponse, MapUpdateInput, MapVisibility, MemberDelegationDoc, MemberRole, MutationResponse, OidcAuthInput, OidcCredentials, OrgAdminStatus, OrgContractDelegation, OrgContractGrants, OrgDataActionWire, OrgDataClientOptions, OrgDelegationAddGrantsInput, OrgDelegationDeleteInput, OrgDelegationGetInput, OrgDelegationRemoveGrantsInput, OrgDelegationSetInput, OrgPolicyMeta, OrgPolicyView, OrgRemoveGrantTarget, OrgRemoveMemberDelegationInput, OrgUsageReport, OrgUsageReportInput, OrgWriters, OtpChannel, OtpMergeSuggestion, OtpRequestInput, OtpRequestResult, OtpVerifyInput, OtpVerifyResult, PayrollRunRequest, PeerQuoteResult, PolicyGetInput, PurgeOrgInput, QuoteVerifyResult, ReaderSet, RemoveMemberGrantsInput, RemoveTarget, RoleAssignments, RoleAssignmentsResponse, RoleDefinition, RoleGetResponse, RoleGrant, RoleIdInput, SdkConfig, SecretKind, SecretListInput, SecretListResponse, SecretNameInput, SecretRecord, SecretSetValueInput, SecretView, SecretWriteInput, SessionCrypto, SessionId, SetAgentEgressInput, SetDefaultQuotasOptions, SetGrantsInput, SetRoleInput, SetWritersInput, SignedTrustManifest, StringEncoding, SubmitUserInputArgs, SubmitUserInputResult, T3nClientConfig, TenantAdmitProjection, TenantAdmitStatus, TenantBaseClient, TenantClientConfig, TenantContractExecuteInput, TenantContractPublishInput, TenantContractSetDescriptorInput, TenantContractUnsetDescriptorInput, TenantExecutionSession, TenantMapCreateInput, TenantMapUpdatePatch, TenantMeResponse, TenantSdkEnvironment, TenantSelfAdmitResult, TenantStatus, TenantTargetOptions, TokenTxKind, Transport, TrustAnchor, TrustAnchorOrUnsafe, TrustAnchorSource, TrustManifestPayload, UnassignRolesInput, UnsafeTrustServer, UpdateMetaInput, UpdateQuotasOptions, UsageEntry, UsagePage, UsageReportSignature, UserGrant, UserInputProfile, UserUpsertErrorKind, Validity, WasmComponent, WasmNextResult, WhoamiResult, WireBlock, WorkloadAuthInput, WriteDataInput, WriterSet, WritersGetInput };
|
|
6766
|
+
export { AGENT_CARDS_SCOPE, AuthMethod, AuthenticationError, BASE_UNITS_PER_TOKEN, ContractResponseError, DEFAULT_ENVIRONMENT, DEFAULT_INDIVIDUAL_THRESHOLD_CENTS, DEFAULT_KYC_POLL_CADENCE, HandshakeError, HttpTransport, InvokeError, KycStatusTimeoutError, LogLevel, MockTransport, NODE_URLS, OrgDataClient, OtpRateLimitedError, RpcError, SessionExpiredError, SessionOrgDataClient, SessionStateError, SessionStatus, SessionUsageReportClient, T3nClient, T3nConfigError, T3nError, TERMINAL_KYC_STATUSES, TOKEN_DECIMALS, TenantClient, TenantContractsNamespace, TenantMapsNamespace, TenantNamespace, TenantSdkValidationError, TenantTokenNamespace, UnsupportedTenantSdkOperationError, UserUpsertError, WasmError, WireEncodingError, Z_PAYROLL_AUDIT_READ_FUNCTIONS, Z_PAYROLL_RUN_FUNCTIONS, _b64uEncode, assertShape, b64uDecodeStrict, b64uEncodeBytes, buildSecretWriteArgs, bytesToString, canonicalTenantName, clearKeyCache, clearManifestVersionFloor, compactDidFromBytes, createDefaultHandlers, createEmailOtpAuthInput, createEthAuthInput, createLogger, createMlKemPublicKeyHandler, createOidcAuthInput, createOrgDataClientFromSession, createRandomHandler, createUsageReportClientFromSession, createWorkloadAuthInput, decodeWasmErrorMessage, deriveAgentCardEntryId, detectQuoteVendor, discoverCheckDelegation, discoverDescribeContract, discoverDescribeFunction, discoverListContracts, discoverWhoami, eth_get_address, extractWasmError, fetchDkgAttestation, fetchMlKemPublicKey, fetchSevSnpCollateral, fetchTrustedManifest, formatTokens, generateRandomString, generateUUID, getContractVersion, getEnvironment, getEnvironmentName, getGlobalLogLevel, getLogger, getNodeUrl, invoke, isAgentCardResponse, isAgentEgressGetResponse, isContractAgentCountsResponse, isDataGetResponse, isDataListResponse, isListAgentsResponse, isListHumanMembersResponse, isMutationResponse, isObject, isOrgAdminStatus, isOrgContractDelegation, isOrgContractGrants, isOrgPolicyMeta, isOrgPolicyView, isOrgUsageReport, isOrgWriters, isRoleAssignmentsResponse, isRoleGetResponse, isSecretListResponse, isSecretRecord, isSecretView, isUnsafeTrustServer, loadConfig, loadWasmComponent, manifestToTrustAnchor, maskKeyMaterial, mergeAgentAuthEntries, mergeDiscoverDids, mergeGrants, metamask_get_address, metamask_sign, parseAgentAuthGet, parseAgentAuthPolicy, parseContractResponse, parseMemberDelegationDoc, redactSecrets, redactSecretsFromJson, requestToWire, resolveTrustAnchor, setEnvironment, setGlobalLogLevel, setNodeUrl, sevSnpVcekUrl, stringToBytes, tenantDidHex, toAgentAuthUpdateWire, toBaseUnits, validateConfig, validateTail, verifyDkgAttestation, verifyManifestSignature, verifySevSnpReport, verifyTdxQuote };
|
|
6767
|
+
export type { ActivityCallerType, ActivityEntry, ActivityExportFile, ActivityExportStatus, ActivityOutcome, ActivityReport, AdminActionAuth, AdmitForOrgOptions, AgentAuthEntry, AgentAuthMergeResult, AgentAuthPolicy, AgentAuthScriptGrant, AgentAuthUpdateInput, AgentCardRefInput, AgentCardResponse, AgentCardSetInput, AgentEgressEntry, AgentEgressGetResponse, AgentEgressRefInput, AgentSummary, AssignRolesInput, AuthInput, BalanceRow, BoundGrant, ChargeReason, ClientAuth, ClientHandshake, ComputePayrollRequest, ConfigValidationResult, ContractAgentCountsInput, ContractAgentCountsResponse, ContractDescriptorDocument, ContractDescriptorFacets, ContractExecuteInput, ContractKind, ContractLifecycleStatus, ContractListDetailedOptions, ContractListDetailedPage, ContractPublishInput, ContractRegisterResult, ContractResponseSchema, ContractSetDescriptorInput, ContractUnsetDescriptorInput, ContractUnsetDescriptorResult, CreatePolicyInput, DataGetInput, DataGetResponse, DataListInput, DataListResponse, DelegationGrantKind, DelegationGrantRef, DeleteDataInput, DeleteGrantsInput, DeleteScopeInput, DescribeContractParams, DescribeContractResult, DescribeFunctionParams, DescribeFunctionResult, DetailedContract, Did, DidKind, Direction, DiscoverOptions, DkgAttestation, DkgVerifyResult, DrainContractAgentCountsInput, EmailOtpAuthInput, EmailOtpCredentials, Environment, EthAuthInput, ExecuteBusinessContractOptions, ExecuteOrgDataActionOptions, ExportActivityLogOptions, FetchTrustedManifestOptions, FunctionDescriptorEntry, GetActivityLogOptions, GetUsageOptions, GrantCheckParams, GrantCheckResult, GranteeInput, GrantsGetInput, GrantsMergeResult, GuestToHostHandler, GuestToHostHandlers, HandshakeResult, HumanMember, InvokeOptions, InvokeRequest, JsonRpcRequest, JsonRpcResponse, KycPollCadence, KycPollOptions, KycStatus, KycStatusKind, ListAgentsInput, ListAgentsResponse, ListContractsParams, ListContractsResult, ListContractsScope, ListHumanMembersInput, ListHumanMembersResponse, ListedContract, Logger, MapCreateInput, MapLifecycleStatus, MapResponse, MapUpdateInput, MapVisibility, MemberDelegationDoc, MemberRole, MutationResponse, OidcAuthInput, OidcCredentials, OrgAdminStatus, OrgContractDelegation, OrgContractGrants, OrgDataActionWire, OrgDataClientOptions, OrgDelegationAddGrantsInput, OrgDelegationDeleteInput, OrgDelegationGetInput, OrgDelegationRemoveGrantsInput, OrgDelegationSetInput, OrgPolicyMeta, OrgPolicyView, OrgRemoveGrantTarget, OrgRemoveMemberDelegationInput, OrgUsageReport, OrgUsageReportInput, OrgWriters, OtpChannel, OtpMergeSuggestion, OtpRequestInput, OtpRequestResult, OtpVerifyInput, OtpVerifyResult, PayrollRunRequest, PeerQuoteResult, PolicyGetInput, PurgeOrgInput, QuoteVerifyResult, ReaderSet, RemoveMemberGrantsInput, RemoveTarget, RoleAssignments, RoleAssignmentsResponse, RoleDefinition, RoleGetResponse, RoleGrant, RoleIdInput, SdkConfig, SecretKind, SecretListInput, SecretListResponse, SecretNameInput, SecretRecord, SecretSetValueInput, SecretView, SecretWriteInput, SessionCrypto, SessionId, SetAgentEgressInput, SetDefaultQuotasOptions, SetGrantsInput, SetRoleInput, SetWritersInput, SevSnpCollateral, SevSnpVerifyResult, SignedTrustManifest, StringEncoding, SubmitUserInputArgs, SubmitUserInputResult, T3nClientConfig, TenantAdmitProjection, TenantAdmitStatus, TenantBaseClient, TenantClientConfig, TenantContractExecuteInput, TenantContractPublishInput, TenantContractSetDescriptorInput, TenantContractUnsetDescriptorInput, TenantExecutionSession, TenantMapCreateInput, TenantMapUpdatePatch, TenantMeResponse, TenantSdkEnvironment, TenantSelfAdmitResult, TenantStatus, TenantTargetOptions, TokenTxKind, Transport, TrustAnchor, TrustAnchorOrUnsafe, TrustAnchorSource, TrustManifestPayload, UnassignRolesInput, UnsafeTrustServer, UpdateMetaInput, UpdateQuotasOptions, UsageEntry, UsagePage, UsageReportSignature, UserGrant, UserInputProfile, UserUpsertErrorKind, Validity, VcekUrlResult, WasmComponent, WasmNextResult, WhoamiResult, WireBlock, WorkloadAuthInput, WriteDataInput, WriterSet, WritersGetInput };
|