@terminal3/t3n-sdk 5.16.0 → 5.19.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/dist/cli/index.js +1 -1
- package/dist/index.d.ts +96 -34
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1148,6 +1148,46 @@ interface Validity {
|
|
|
1148
1148
|
valid_from_secs?: number;
|
|
1149
1149
|
valid_until_secs?: number;
|
|
1150
1150
|
}
|
|
1151
|
+
/**
|
|
1152
|
+
* A verb a grantee holds on a {@link WireScope} path. Mirrors the org-data
|
|
1153
|
+
* `Access` wire enum (lowercase). **Only `"read"` is enforced** — `"write"` and
|
|
1154
|
+
* `"delete"` are declared-only; nothing in the node checks them yet. Do not
|
|
1155
|
+
* treat granting or withholding either as a security boundary.
|
|
1156
|
+
*/
|
|
1157
|
+
type ScopeAccessVerb = "read" | "write" | "delete";
|
|
1158
|
+
/**
|
|
1159
|
+
* One scoped data-path entry in a grant's `scopes` list — the unified shape
|
|
1160
|
+
* replacing the retired pair of parallel string lists (`scopes` +
|
|
1161
|
+
* `read_scopes`) where the verb was implied by which list a path appeared in.
|
|
1162
|
+
* Mirrors the org-data `WireScopeGroup` wire shape.
|
|
1163
|
+
*/
|
|
1164
|
+
interface WireScope {
|
|
1165
|
+
/** Data scope path the grantee may access (e.g. `"example/records"`). */
|
|
1166
|
+
path: string;
|
|
1167
|
+
/** Verbs the grantee holds on `path`. Must be non-empty. */
|
|
1168
|
+
access: ScopeAccessVerb[];
|
|
1169
|
+
}
|
|
1170
|
+
/**
|
|
1171
|
+
* Build a read-only {@link WireScope} list from bare paths — the common case,
|
|
1172
|
+
* since `"read"` is the only enforced verb. Mirrors the node integration
|
|
1173
|
+
* test harness's own `read_only_scopes` convention.
|
|
1174
|
+
*/
|
|
1175
|
+
declare function readOnlyScopes(paths: string[]): WireScope[];
|
|
1176
|
+
/**
|
|
1177
|
+
* Fan a legacy multi-function grant intent out into one row per function,
|
|
1178
|
+
* each sharing `base` verbatim. `base` is whatever the caller already built
|
|
1179
|
+
* (grantee, scopes, and any qualifiers it chose to include) minus `function`;
|
|
1180
|
+
* this only adds the mechanical per-function loop so every call site fans out
|
|
1181
|
+
* identically instead of re-deriving the shape.
|
|
1182
|
+
*
|
|
1183
|
+
* Rows that need to vary a field PER function (e.g. a direct-read function
|
|
1184
|
+
* carrying a narrower scope than its siblings — see `grantZPayrollAgent`)
|
|
1185
|
+
* build their own `.map()` instead; this helper is for the common case where
|
|
1186
|
+
* every fanned-out row is identical apart from `function`.
|
|
1187
|
+
*/
|
|
1188
|
+
declare function fanOutGrant<T extends {
|
|
1189
|
+
function: string;
|
|
1190
|
+
}>(base: Omit<T, "function">, functions: string[]): T[];
|
|
1151
1191
|
/**
|
|
1152
1192
|
* A grantee-bound capability grant — the element of BOTH grant-management
|
|
1153
1193
|
* surfaces: the org edge (`org-delegation-set` input / `org-delegation-get`
|
|
@@ -1157,10 +1197,16 @@ interface Validity {
|
|
|
1157
1197
|
*
|
|
1158
1198
|
* Mirrors the org-data `BoundGrant` wire shape verbatim (snake_case, no casing
|
|
1159
1199
|
* transform): `grantee` followed by the flattened capability body. The org edge
|
|
1160
|
-
* populates only `
|
|
1161
|
-
* carries the qualifiers `version_req` / `
|
|
1162
|
-
*
|
|
1200
|
+
* populates only `function` + `scopes`; the delegation edge additionally
|
|
1201
|
+
* carries the qualifiers `version_req` / `allowed_hosts` and the validity
|
|
1202
|
+
* `window`. All qualifier fields are optional and omitted from the wire when
|
|
1163
1203
|
* absent (never sent as `null`), so an org grant simply leaves them unset.
|
|
1204
|
+
*
|
|
1205
|
+
* **One function per grant**: a client authorising a grantee on several
|
|
1206
|
+
* functions posts several rows, each carrying the full `scopes` that function
|
|
1207
|
+
* needs — there is no more multi-function fan-out on the wire. The contract
|
|
1208
|
+
* keeps at most one grant per `(grantee, contract_id, function)`; a later row
|
|
1209
|
+
* with the same triple replaces the earlier one.
|
|
1164
1210
|
*/
|
|
1165
1211
|
interface BoundGrant {
|
|
1166
1212
|
/** The principal (`did:t3n:<40-hex>`) this grant applies to — a user or an
|
|
@@ -1169,16 +1215,18 @@ interface BoundGrant {
|
|
|
1169
1215
|
/** Target contract id (canonical name, e.g. `"tee:z-payroll/contracts"`), or
|
|
1170
1216
|
* `"*"`. On a read this echoes the queried contract. */
|
|
1171
1217
|
contract_id: string;
|
|
1172
|
-
/** WIT function
|
|
1173
|
-
*
|
|
1174
|
-
|
|
1175
|
-
/** Data
|
|
1176
|
-
scopes:
|
|
1218
|
+
/** The single WIT function this grant confers (e.g. `"set-records"`), or
|
|
1219
|
+
* `"*"` for every function on the contract (agent edge only). */
|
|
1220
|
+
function: string;
|
|
1221
|
+
/** Data scopes the grantee may access via `function`. */
|
|
1222
|
+
scopes: WireScope[];
|
|
1177
1223
|
/** Agent edge only: optional semver requirement; omitted matches any version. */
|
|
1178
1224
|
version_req?: string;
|
|
1179
|
-
/** Agent edge only
|
|
1180
|
-
*
|
|
1181
|
-
|
|
1225
|
+
/** Agent edge only, read-only artefact: the retired `read_scopes` cap carried
|
|
1226
|
+
* forward from a row written under the earlier multi-function-per-grant
|
|
1227
|
+
* shape. New writes never set this — express a direct-read function's
|
|
1228
|
+
* narrower scope as that function's own `scopes` instead. */
|
|
1229
|
+
legacy_read_scopes?: WireScope[];
|
|
1182
1230
|
/** Agent edge only: egress hosts the grantee may reach for this contract. */
|
|
1183
1231
|
allowed_hosts?: string[];
|
|
1184
1232
|
/** Agent edge only: optional validity time-box. */
|
|
@@ -1750,11 +1798,11 @@ interface OrgDataActionWire {
|
|
|
1750
1798
|
* their own grants. This is the user-approval proof the per-call delegation
|
|
1751
1799
|
* credential's `user_sig` used to carry.
|
|
1752
1800
|
*
|
|
1753
|
-
* A grant carries `
|
|
1754
|
-
*
|
|
1755
|
-
* `version_req`, and an optional validity `window`. The ≤
|
|
1756
|
-
* enforced contract-side at write time; the expiry gate
|
|
1757
|
-
* time.
|
|
1801
|
+
* A grant carries the single `function` it confers (one function per grant
|
|
1802
|
+
* row), the agent's delegated org-data `scopes`, egress `allowed_hosts`, an
|
|
1803
|
+
* optional semver `version_req`, and an optional validity `window`. The ≤
|
|
1804
|
+
* cap *length* check is enforced contract-side at write time; the expiry gate
|
|
1805
|
+
* is host-side at read time.
|
|
1758
1806
|
*
|
|
1759
1807
|
* The SDK is a literal snake_case mirror of the wire: {@link BoundGrant} IS the
|
|
1760
1808
|
* wire grant shape, so reads and writes pass through untouched — there is no
|
|
@@ -1805,15 +1853,23 @@ declare function parseMemberDelegationDoc(response: unknown): MemberDelegationDo
|
|
|
1805
1853
|
interface GrantsMergeResult {
|
|
1806
1854
|
/** Full merged grant list, ready for `member-delegation-update`. */
|
|
1807
1855
|
grants: BoundGrant[];
|
|
1808
|
-
/** `"<grantee> → <contract_id>"` rows preserved from the
|
|
1856
|
+
/** `"<grantee> → <contract_id> (<function>)"` rows preserved from the
|
|
1857
|
+
* existing policy. */
|
|
1809
1858
|
preservedRows: string[];
|
|
1810
1859
|
}
|
|
1811
1860
|
/**
|
|
1812
|
-
* Merge new grant rows into the existing flat list with
|
|
1813
|
-
* union semantics: an existing row whose
|
|
1814
|
-
* row is replaced; every other existing row is preserved
|
|
1815
|
-
* `preservedRows` as an audit aid). New rows for a
|
|
1861
|
+
* Merge new grant rows into the existing flat list with
|
|
1862
|
+
* `(grantee, contract_id, function)` union semantics: an existing row whose
|
|
1863
|
+
* triple matches a new row is replaced; every other existing row is preserved
|
|
1864
|
+
* (and reported in `preservedRows` as an audit aid). New rows for a triple not
|
|
1816
1865
|
* already present are appended.
|
|
1866
|
+
*
|
|
1867
|
+
* The key is the full triple, not just `(grantee, contract_id)`: a legacy
|
|
1868
|
+
* multi-function row now fans out into one row per function, and the
|
|
1869
|
+
* contract's own uniqueness rule is "at most one grant per
|
|
1870
|
+
* `(grantee, contract_id, function)`" (`DuplicateGranteeFunction`). Keying on
|
|
1871
|
+
* the pair alone would make granting a second function on the same contract
|
|
1872
|
+
* silently drop the first function's row instead of adding beside it.
|
|
1817
1873
|
*/
|
|
1818
1874
|
declare function mergeGrants(existing: BoundGrant[], additions: BoundGrant[]): GrantsMergeResult;
|
|
1819
1875
|
/**
|
|
@@ -3704,15 +3760,21 @@ declare class T3nClient {
|
|
|
3704
3760
|
* Authorise a delegatee for one contract on the caller's own behalf
|
|
3705
3761
|
* (envelope-free authorisation). Read-merge-writes the
|
|
3706
3762
|
* caller's delegation edge in `ROLE_ASSIGNMENTS_MAP` via `member-delegation-update`
|
|
3707
|
-
* (**SelfOnly**) with `(grantee, contract_id)` union semantics, so
|
|
3708
|
-
* contracts' grants for this or any delegatee
|
|
3763
|
+
* (**SelfOnly**) with `(grantee, contract_id, function)` union semantics, so
|
|
3764
|
+
* other contracts' and other functions' grants for this or any delegatee
|
|
3765
|
+
* survive untouched.
|
|
3709
3766
|
*
|
|
3710
3767
|
* The grant is the flat wire {@link BoundGrant}: its `grantee` is the delegatee
|
|
3711
|
-
* DID being authorised, and it carries `
|
|
3712
|
-
*
|
|
3713
|
-
* semver `version_req`, and an optional validity
|
|
3714
|
-
* check is enforced contract-side at write time;
|
|
3715
|
-
* at read time.
|
|
3768
|
+
* DID being authorised, and it carries the single `function` it confers (one
|
|
3769
|
+
* function per row), the delegated org-data `scopes`, egress
|
|
3770
|
+
* `allowed_hosts`, an optional semver `version_req`, and an optional validity
|
|
3771
|
+
* `window`. The ≤ cap *length* check is enforced contract-side at write time;
|
|
3772
|
+
* the expiry gate is host-side at read time.
|
|
3773
|
+
*
|
|
3774
|
+
* Authorising a delegatee on several functions takes several rows — pass an
|
|
3775
|
+
* array to write them in the same read-merge-write, rather than calling this
|
|
3776
|
+
* once per function (which would race against itself: each call re-reads the
|
|
3777
|
+
* document, so a second call's merge could miss the first call's write).
|
|
3716
3778
|
*
|
|
3717
3779
|
* This is the write surface `getDelegationInstructions` produces the
|
|
3718
3780
|
* parameters for. The caller MUST be the delegating user, authenticated as
|
|
@@ -3724,16 +3786,16 @@ declare class T3nClient {
|
|
|
3724
3786
|
* standing discovery), and any `options.discoverDids` are unioned in
|
|
3725
3787
|
* (order-preserving, deduplicated).
|
|
3726
3788
|
*
|
|
3727
|
-
* @param grant - the
|
|
3728
|
-
* `grantee` is the delegatee DID being authorised (contract_id,
|
|
3729
|
-
* scopes, window, egress hosts)
|
|
3789
|
+
* @param grant - the grant(s) to set — one or more {@link BoundGrant} rows
|
|
3790
|
+
* whose `grantee` is the delegatee DID being authorised (contract_id,
|
|
3791
|
+
* function, scopes, window, egress hosts)
|
|
3730
3792
|
* @param options - optional `discoverDids` to union into the document's
|
|
3731
3793
|
* discovery grants (org DIDs for org-mode `listContracts`, the caller's
|
|
3732
3794
|
* own DID for self mode)
|
|
3733
3795
|
* @returns the grant rows preserved from the existing policy (audit aid)
|
|
3734
3796
|
* @throws if the session is not authenticated, or the contract refuses
|
|
3735
3797
|
*/
|
|
3736
|
-
updateMemberDelegation(grant: BoundGrant, options?: {
|
|
3798
|
+
updateMemberDelegation(grant: BoundGrant | BoundGrant[], options?: {
|
|
3737
3799
|
discoverDids?: string[];
|
|
3738
3800
|
}): Promise<{
|
|
3739
3801
|
preservedRows: string[];
|
|
@@ -6824,5 +6886,5 @@ declare function tenantDidHex(tenantDid: string): string;
|
|
|
6824
6886
|
declare function validateTail(tail: string): string;
|
|
6825
6887
|
declare function canonicalTenantName(tenantDid: string, tail: string): string;
|
|
6826
6888
|
|
|
6827
|
-
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 };
|
|
6828
|
-
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 };
|
|
6889
|
+
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, fanOutGrant, 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, readOnlyScopes, redactSecrets, redactSecretsFromJson, requestToWire, resolveTrustAnchor, setEnvironment, setGlobalLogLevel, setNodeUrl, sevSnpVcekUrl, stringToBytes, tenantDidHex, toAgentAuthUpdateWire, toBaseUnits, validateConfig, validateTail, verifyDkgAttestation, verifyManifestSignature, verifySevSnpReport, verifyTdxQuote };
|
|
6890
|
+
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, ScopeAccessVerb, 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, WireScope, WorkloadAuthInput, WriteDataInput, WriterSet, WritersGetInput };
|