@terminal3/t3n-sdk 4.37.0 → 4.38.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 +190 -5
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1850,6 +1850,112 @@ interface GrantCheckResult {
|
|
|
1850
1850
|
satisfied: DelegationGrantRef[];
|
|
1851
1851
|
missing: DelegationGrantRef[];
|
|
1852
1852
|
}
|
|
1853
|
+
/** Response for the `whoami` operation: who the key resolves to, and where. */
|
|
1854
|
+
interface WhoamiResult {
|
|
1855
|
+
/** The DID the relayed api key resolves to. */
|
|
1856
|
+
did: string;
|
|
1857
|
+
/**
|
|
1858
|
+
* The org DIDs the agent itself belongs to (its own agent-keyed membership),
|
|
1859
|
+
* or `[]` when it belongs to none. Each is a valid `org_did` for
|
|
1860
|
+
* `contracts.list` scope `"org"`, so this is the seed for browsing the agent's
|
|
1861
|
+
* own orgs.
|
|
1862
|
+
*/
|
|
1863
|
+
organisations: string[];
|
|
1864
|
+
/**
|
|
1865
|
+
* The agent's owning / managing DID — usually the org that created it. `null`
|
|
1866
|
+
* for a missing record (agents created without a hosted card or agent URI have
|
|
1867
|
+
* no registry record), a record with no owner link, or a malformed record
|
|
1868
|
+
* (decode failure is logged at `WARN`, never a silent authority downgrade); a
|
|
1869
|
+
* snapshot read failure is surfaced as an error, not reported as `null`. The
|
|
1870
|
+
* owner link is mutable and may have changed since creation, so treat this as
|
|
1871
|
+
* best-effort, not an authority.
|
|
1872
|
+
*/
|
|
1873
|
+
owner: string | null;
|
|
1874
|
+
}
|
|
1875
|
+
/** Params for the `describe.contract` operation. */
|
|
1876
|
+
interface DescribeContractParams {
|
|
1877
|
+
/**
|
|
1878
|
+
* Registry name: `tee:<name>/contracts` (core) or `z:<tid>:<tail>` (tenant).
|
|
1879
|
+
* The bare core form `contracts.list` presents (`tee:<name>` / `y:<name>`) is
|
|
1880
|
+
* also accepted — the node maps it onto the `/contracts` registry key — so a
|
|
1881
|
+
* `ListedContract.name` feeds straight in.
|
|
1882
|
+
*/
|
|
1883
|
+
contract: string;
|
|
1884
|
+
/** Explicit version; omitted resolves the current registered version. */
|
|
1885
|
+
version?: string;
|
|
1886
|
+
}
|
|
1887
|
+
/** Params for the `describe.function` operation. */
|
|
1888
|
+
interface DescribeFunctionParams {
|
|
1889
|
+
/**
|
|
1890
|
+
* Registry name: `tee:<name>/contracts` (core) or `z:<tid>:<tail>` (tenant).
|
|
1891
|
+
* The bare core form `contracts.list` presents (`tee:<name>` / `y:<name>`) is
|
|
1892
|
+
* also accepted — the node maps it onto the `/contracts` registry key.
|
|
1893
|
+
*/
|
|
1894
|
+
contract: string;
|
|
1895
|
+
/** The single function to project from the contract's descriptor. */
|
|
1896
|
+
function: string;
|
|
1897
|
+
/** Explicit version; omitted resolves the current registered version. */
|
|
1898
|
+
version?: string;
|
|
1899
|
+
}
|
|
1900
|
+
/**
|
|
1901
|
+
* One function's descriptor entry — the `describe.function` result and the
|
|
1902
|
+
* element type of a {@link ContractDescriptorDocument}'s `functions` array.
|
|
1903
|
+
*
|
|
1904
|
+
* Left open-ended: the descriptor document's full schema (argument schema,
|
|
1905
|
+
* wire projection, auth requirements) is owned by the contract descriptor
|
|
1906
|
+
* registry and served verbatim by the node. The named fields are the ones the
|
|
1907
|
+
* node's descriptor path always presents.
|
|
1908
|
+
*/
|
|
1909
|
+
interface FunctionDescriptorEntry {
|
|
1910
|
+
/** Contract function name (e.g. `compute-payroll`). */
|
|
1911
|
+
name: string;
|
|
1912
|
+
summary?: string;
|
|
1913
|
+
/** Whether the function mutates state. */
|
|
1914
|
+
mutates?: boolean;
|
|
1915
|
+
[key: string]: unknown;
|
|
1916
|
+
}
|
|
1917
|
+
/**
|
|
1918
|
+
* The node's descriptor document for a contract — the `descriptor` field of a
|
|
1919
|
+
* {@link DescribeContractResult}. Open-ended for the same reason as
|
|
1920
|
+
* {@link FunctionDescriptorEntry}: the node returns the registry's descriptor
|
|
1921
|
+
* document verbatim.
|
|
1922
|
+
*/
|
|
1923
|
+
interface ContractDescriptorDocument {
|
|
1924
|
+
name?: string;
|
|
1925
|
+
version?: string;
|
|
1926
|
+
summary?: string;
|
|
1927
|
+
tags?: string[];
|
|
1928
|
+
functions?: FunctionDescriptorEntry[];
|
|
1929
|
+
[key: string]: unknown;
|
|
1930
|
+
}
|
|
1931
|
+
/**
|
|
1932
|
+
* Result of the `describe.contract` operation. The node wraps the descriptor
|
|
1933
|
+
* document with the resolved dispatch `version`, so an authorised describe hands
|
|
1934
|
+
* back the exact `scriptVersion` an {@link invoke} call needs alongside the
|
|
1935
|
+
* schema. Returned only on the authorised path; a gate miss or unknown contract
|
|
1936
|
+
* yields the uniform non-disclosive error, never this wrapper.
|
|
1937
|
+
*/
|
|
1938
|
+
interface DescribeContractResult {
|
|
1939
|
+
/** The canonical registry name, echoed from the request. */
|
|
1940
|
+
contract: string;
|
|
1941
|
+
/** The resolved dispatch version — pass as `scriptVersion` to `invoke`. */
|
|
1942
|
+
version: string;
|
|
1943
|
+
/** The contract's full descriptor document. */
|
|
1944
|
+
descriptor: ContractDescriptorDocument;
|
|
1945
|
+
}
|
|
1946
|
+
/**
|
|
1947
|
+
* Result of the `describe.function` operation: the resolved dispatch `version`
|
|
1948
|
+
* paired with the single projected function entry. Same authorised-path-only
|
|
1949
|
+
* guarantee as {@link DescribeContractResult}.
|
|
1950
|
+
*/
|
|
1951
|
+
interface DescribeFunctionResult {
|
|
1952
|
+
/** The canonical registry name, echoed from the request. */
|
|
1953
|
+
contract: string;
|
|
1954
|
+
/** The resolved dispatch version — pass as `scriptVersion` to `invoke`. */
|
|
1955
|
+
version: string;
|
|
1956
|
+
/** The single projected function's descriptor entry. */
|
|
1957
|
+
descriptor: FunctionDescriptorEntry;
|
|
1958
|
+
}
|
|
1853
1959
|
|
|
1854
1960
|
/**
|
|
1855
1961
|
* T3n Client - Main SDK class
|
|
@@ -2993,7 +3099,21 @@ declare function createDefaultHandlers(baseUrl: string, trustAnchor: TrustAnchor
|
|
|
2993
3099
|
* component loader, or any handshake/session machinery — `invoke` is
|
|
2994
3100
|
* a single fetch, nothing else.
|
|
2995
3101
|
*
|
|
2996
|
-
* ###
|
|
3102
|
+
* ### Keyed discovery transports
|
|
3103
|
+
* Alongside `invoke` (which acts), this module exports the keyed **discovery**
|
|
3104
|
+
* reads — {@link discoverWhoami}, {@link discoverListContracts},
|
|
3105
|
+
* {@link discoverCheckDelegation}, {@link discoverDescribeContract},
|
|
3106
|
+
* {@link discoverDescribeFunction}. They are the api-key counterpart of the
|
|
3107
|
+
* session `T3nClient.listContracts` / `checkDelegation` reads: each POSTs a
|
|
3108
|
+
* `{ method, params }` envelope to the node's `POST /api/discover` with the
|
|
3109
|
+
* same `X-T3N-Api-Key` header, HTTPS guard, timeout, and key-safe error
|
|
3110
|
+
* hygiene as `invoke`, and returns the node's raw JSON result. The session
|
|
3111
|
+
* `T3nClient` methods are untouched — these live beside `invoke`, off the
|
|
3112
|
+
* session client, so the relay reads never open a session. Every transport
|
|
3113
|
+
* shares the {@link postKeyed} core, so there is one implementation of the
|
|
3114
|
+
* secure-transport + secret-hygiene rules below, not two.
|
|
3115
|
+
*
|
|
3116
|
+
* ### HTTPS guard
|
|
2997
3117
|
* The API key is a long-lived bearer credential relayed in a plain header,
|
|
2998
3118
|
* so `invoke` refuses to send it over an insecure transport: `baseUrl`
|
|
2999
3119
|
* must be `https:`, unless the host is a local-dev loopback
|
|
@@ -3001,7 +3121,7 @@ declare function createDefaultHandlers(baseUrl: string, trustAnchor: TrustAnchor
|
|
|
3001
3121
|
* allowed. The check runs before any network activity — an insecure
|
|
3002
3122
|
* `baseUrl` never gets as far as a `fetch` call.
|
|
3003
3123
|
*
|
|
3004
|
-
* ### Error hygiene
|
|
3124
|
+
* ### Error hygiene
|
|
3005
3125
|
* Every error `invoke` throws is a fixed, generic
|
|
3006
3126
|
* {@link InvokeError} message — the response body text, the
|
|
3007
3127
|
* underlying network error's message, and the api key are never
|
|
@@ -3060,7 +3180,7 @@ interface InvokeOptions {
|
|
|
3060
3180
|
*
|
|
3061
3181
|
* The message is always one of a small set of fixed, generic strings — it
|
|
3062
3182
|
* NEVER contains the raw api key, the response body text, or the
|
|
3063
|
-
* underlying network error's message
|
|
3183
|
+
* underlying network error's message: a server (or a
|
|
3064
3184
|
* misbehaving intermediary) that echoes the key or other secrets back in
|
|
3065
3185
|
* an error body must not be able to leak them through this error's
|
|
3066
3186
|
* message.
|
|
@@ -3084,6 +3204,71 @@ declare class InvokeError extends T3nError {
|
|
|
3084
3204
|
* that is not valid JSON
|
|
3085
3205
|
*/
|
|
3086
3206
|
declare function invoke<T = unknown>(opts: InvokeOptions, schema?: ContractResponseSchema<T>): Promise<T>;
|
|
3207
|
+
/**
|
|
3208
|
+
* Transport options shared by the keyed discovery reads. Mirrors the transport
|
|
3209
|
+
* half of {@link InvokeOptions} (no `request`; the operation params are the
|
|
3210
|
+
* second argument of each read). Same HTTPS + secret-hygiene rules as `invoke`.
|
|
3211
|
+
*/
|
|
3212
|
+
interface DiscoverOptions {
|
|
3213
|
+
/**
|
|
3214
|
+
* RPC base URL of the T3n node, e.g. `https://node.example.com`. Must be
|
|
3215
|
+
* `https:` unless the host is a local-dev loopback — see
|
|
3216
|
+
* {@link InvokeOptions.baseUrl}.
|
|
3217
|
+
*/
|
|
3218
|
+
baseUrl: string;
|
|
3219
|
+
/**
|
|
3220
|
+
* The agent's opaque API key (`t3n_key_<...>`), relayed verbatim in the
|
|
3221
|
+
* `X-T3N-Api-Key` header. Never logged and never interpolated into any
|
|
3222
|
+
* error this module throws.
|
|
3223
|
+
*/
|
|
3224
|
+
apiKey: string;
|
|
3225
|
+
/** Fetch timeout in ms. Defaults to 30s, matching {@link invoke}. */
|
|
3226
|
+
timeoutMs?: number;
|
|
3227
|
+
}
|
|
3228
|
+
/**
|
|
3229
|
+
* `whoami` — resolve the DID the relayed key maps to. The node never
|
|
3230
|
+
* trusts a caller-supplied DID; this is the relay's sole DID source.
|
|
3231
|
+
*
|
|
3232
|
+
* @throws {InvokeError} if `baseUrl` is insecure, on a network failure/timeout,
|
|
3233
|
+
* or on a non-2xx response
|
|
3234
|
+
*/
|
|
3235
|
+
declare function discoverWhoami(opts: DiscoverOptions): Promise<WhoamiResult>;
|
|
3236
|
+
/**
|
|
3237
|
+
* `contracts.list` — the keyed counterpart of {@link T3nClient.listContracts}.
|
|
3238
|
+
* Absent `params` (`{}`) lists the curated `core` contracts; `org` / `self`
|
|
3239
|
+
* scopes are discovery-grant gated server-side (R5 non-disclosive empty page).
|
|
3240
|
+
*
|
|
3241
|
+
* @throws {InvokeError} — see {@link discoverWhoami}
|
|
3242
|
+
*/
|
|
3243
|
+
declare function discoverListContracts(opts: DiscoverOptions, params?: ListContractsParams): Promise<ListContractsResult>;
|
|
3244
|
+
/**
|
|
3245
|
+
* `delegation.check` — the keyed counterpart of
|
|
3246
|
+
* {@link T3nClient.checkDelegation}. Returns the `agent_auth ∩ UserGrant`
|
|
3247
|
+
* verdict for the acting agent (as itself, or for `params.pii_did`).
|
|
3248
|
+
*
|
|
3249
|
+
* @throws {InvokeError} — see {@link discoverWhoami}
|
|
3250
|
+
*/
|
|
3251
|
+
declare function discoverCheckDelegation(opts: DiscoverOptions, params: GrantCheckParams): Promise<GrantCheckResult>;
|
|
3252
|
+
/**
|
|
3253
|
+
* `describe.contract` — the authority-gated keyed describe read. Returns
|
|
3254
|
+
* `{ contract, version, descriptor }`: the resolved dispatch `version` (the
|
|
3255
|
+
* `scriptVersion` an {@link invoke} call needs) alongside the contract's full
|
|
3256
|
+
* descriptor document. Unlike the session/stdio public descriptor GET, the relay
|
|
3257
|
+
* path is membership-gated on the contract's owning org and returns a uniform
|
|
3258
|
+
* non-disclosive error for both "not found" and "not authorised"
|
|
3259
|
+
* (anti-enumeration).
|
|
3260
|
+
*
|
|
3261
|
+
* @throws {InvokeError} — see {@link discoverWhoami}
|
|
3262
|
+
*/
|
|
3263
|
+
declare function discoverDescribeContract(opts: DiscoverOptions, params: DescribeContractParams): Promise<DescribeContractResult>;
|
|
3264
|
+
/**
|
|
3265
|
+
* `describe.function` — the authority-gated keyed describe read for a single
|
|
3266
|
+
* function. Returns `{ contract, version, descriptor }` with `descriptor` the
|
|
3267
|
+
* projected function entry. Same gating as {@link discoverDescribeContract}.
|
|
3268
|
+
*
|
|
3269
|
+
* @throws {InvokeError} — see {@link discoverWhoami}
|
|
3270
|
+
*/
|
|
3271
|
+
declare function discoverDescribeFunction(opts: DiscoverOptions, params: DescribeFunctionParams): Promise<DescribeFunctionResult>;
|
|
3087
3272
|
|
|
3088
3273
|
/**
|
|
3089
3274
|
* Token fixed-point units (USDT-style 6 decimals).
|
|
@@ -5228,5 +5413,5 @@ declare function tenantDidHex(tenantDid: string): string;
|
|
|
5228
5413
|
declare function validateTail(tail: string): string;
|
|
5229
5414
|
declare function canonicalTenantName(tenantDid: string, tail: string): string;
|
|
5230
5415
|
|
|
5231
|
-
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, eth_get_address, extractWasmError, fetchDkgAttestation, fetchMlKemPublicKey, fetchTrustedManifest, formatTokens, generateRandomString, generateUUID, getEnvironment, getEnvironmentName, getGlobalLogLevel, getLogger, getNodeUrl, getScriptVersion, invoke, isAgentCardResponse, isAgentEgressGetResponse, isDataGetResponse, isDataListResponse, isListAgentsResponse, isListHumanMembersResponse, isMutationResponse, isObject, isOrgAdminStatus, isOrgContractGrants, isOrgPolicyMeta, isOrgPolicyView, isOrgUsageReport, isOrgWriters, isRoleAssignmentsResponse, isRoleGetResponse, isSecretListResponse, isSecretRecord, isSecretView, isUnsafeTrustServer, loadConfig, loadWasmComponent, manifestToTrustAnchor, maskKeyMaterial, mergeAgentAuthEntries, mergeDiscoverDids, metamask_get_address, metamask_sign, parseAgentAuthGet, parseAgentAuthPolicy, parseContractResponse, redactSecrets, redactSecretsFromJson, requestToWire, setEnvironment, setGlobalLogLevel, setNodeUrl, stringToBytes, tenantDidHex, toAgentAuthUpdateWire, toBaseUnits, validateConfig, validateTail, verifyDkgAttestation, verifyManifestSignature, verifyTdxQuote };
|
|
5232
|
-
export type { ActivityCallerType, ActivityEntry, ActivityOutcome, ActivityReport, AdmitForOrgOptions, AgentAuthEntry, AgentAuthMergeResult, AgentAuthPolicy, AgentAuthScriptGrant, AgentAuthUpdateInput, AgentCardRefInput, AgentCardResponse, AgentCardSetInput, AgentEgressEntry, AgentEgressGetResponse, AgentEgressRefInput, AgentSummary, AssignRolesInput, AuthInput, BalanceRow, ChargeReason, ClientAuth, ClientHandshake, ConfigValidationResult, ContractDescriptorFacets, ContractExecuteInput, ContractKind, ContractLifecycleStatus, ContractListDetailedOptions, ContractListDetailedPage, ContractPublishInput, ContractRegisterResult, ContractResponseSchema, ContractSetDescriptorInput, CreatePolicyInput, DataGetInput, DataGetResponse, DataListInput, DataListResponse, DelegationGrantKind, DelegationGrantRef, DeleteDataInput, DeleteGrantsInput, DeleteScopeInput, DetailedContract, Did, Direction, DkgAttestation, DkgVerifyResult, EmailOtpAuthInput, EmailOtpCredentials, Environment, EthAuthInput, ExecuteBusinessContractOptions, ExecuteOrgDataActionOptions, FetchTrustedManifestOptions, GetActivityLogOptions, GetUsageOptions, GrantCheckParams, GrantCheckResult, GranteeInput, GrantsGetInput, 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, MemberRole, MutationResponse, OidcAuthInput, OidcCredentials, OrgAdminStatus, OrgContractGrants, OrgDataActionWire, OrgDataClientOptions, OrgPolicyMeta, OrgPolicyView, OrgUsageReport, OrgUsageReportInput, OrgWriters, OtpChannel, OtpMergeSuggestion, OtpRequestInput, OtpRequestResult, OtpVerifyInput, OtpVerifyResult, PayrollRunRequest, PeerQuoteResult, PolicyGetInput, PurgeOrgInput, QuoteVerifyResult, ReaderSet, RemoveMemberGrantsInput, RoleAssignments, RoleAssignmentsResponse, RoleDefinition, RoleGetResponse, RoleGrant, RoleIdInput, SdkConfig, SecretKind, SecretListInput, SecretListResponse, SecretNameInput, SecretRecord, SecretSetValueInput, SecretView, SecretWriteInput, SessionCrypto, SessionId, SetAgentEgressInput, SetGrantsInput, SetRoleInput, SetWritersInput, SignedTrustManifest, StringEncoding, SubmitUserInputArgs, SubmitUserInputResult, T3nClientConfig, TenantAdmitProjection, TenantAdmitStatus, TenantBaseClient, TenantClientConfig, TenantContractExecuteInput, TenantContractPublishInput, TenantContractSetDescriptorInput, TenantExecutionSession, TenantMapCreateInput, TenantMapUpdatePatch, TenantMeResponse, TenantSdkEnvironment, TenantSelfAdmitResult, TenantStatus, TenantTargetOptions, TokenTxKind, Transport, TrustAnchor, TrustAnchorOrUnsafe, TrustAnchorSource, TrustManifestPayload, UnassignRolesInput, UnsafeTrustServer, UpdateMetaInput, UsageEntry, UsagePage, UsageReportSignature, UserGrant, UserInputProfile, UserUpsertErrorKind, WasmComponent, WasmNextResult, WireBlock, WorkloadAuthInput, WriteDataInput, WriterSet, WritersGetInput };
|
|
5416
|
+
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, getEnvironment, getEnvironmentName, getGlobalLogLevel, getLogger, getNodeUrl, getScriptVersion, invoke, isAgentCardResponse, isAgentEgressGetResponse, isDataGetResponse, isDataListResponse, isListAgentsResponse, isListHumanMembersResponse, isMutationResponse, isObject, isOrgAdminStatus, isOrgContractGrants, isOrgPolicyMeta, isOrgPolicyView, isOrgUsageReport, isOrgWriters, isRoleAssignmentsResponse, isRoleGetResponse, isSecretListResponse, isSecretRecord, isSecretView, isUnsafeTrustServer, loadConfig, loadWasmComponent, manifestToTrustAnchor, maskKeyMaterial, mergeAgentAuthEntries, mergeDiscoverDids, metamask_get_address, metamask_sign, parseAgentAuthGet, parseAgentAuthPolicy, parseContractResponse, redactSecrets, redactSecretsFromJson, requestToWire, setEnvironment, setGlobalLogLevel, setNodeUrl, stringToBytes, tenantDidHex, toAgentAuthUpdateWire, toBaseUnits, validateConfig, validateTail, verifyDkgAttestation, verifyManifestSignature, verifyTdxQuote };
|
|
5417
|
+
export type { ActivityCallerType, ActivityEntry, ActivityOutcome, ActivityReport, AdmitForOrgOptions, AgentAuthEntry, AgentAuthMergeResult, AgentAuthPolicy, AgentAuthScriptGrant, AgentAuthUpdateInput, AgentCardRefInput, AgentCardResponse, AgentCardSetInput, AgentEgressEntry, AgentEgressGetResponse, AgentEgressRefInput, AgentSummary, AssignRolesInput, AuthInput, BalanceRow, ChargeReason, ClientAuth, ClientHandshake, ConfigValidationResult, ContractDescriptorDocument, ContractDescriptorFacets, ContractExecuteInput, ContractKind, ContractLifecycleStatus, ContractListDetailedOptions, ContractListDetailedPage, ContractPublishInput, ContractRegisterResult, ContractResponseSchema, ContractSetDescriptorInput, CreatePolicyInput, DataGetInput, DataGetResponse, DataListInput, DataListResponse, DelegationGrantKind, DelegationGrantRef, DeleteDataInput, DeleteGrantsInput, DeleteScopeInput, DescribeContractParams, DescribeContractResult, DescribeFunctionParams, DescribeFunctionResult, DetailedContract, Did, Direction, DiscoverOptions, DkgAttestation, DkgVerifyResult, EmailOtpAuthInput, EmailOtpCredentials, Environment, EthAuthInput, ExecuteBusinessContractOptions, ExecuteOrgDataActionOptions, FetchTrustedManifestOptions, FunctionDescriptorEntry, GetActivityLogOptions, GetUsageOptions, GrantCheckParams, GrantCheckResult, GranteeInput, GrantsGetInput, 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, MemberRole, MutationResponse, OidcAuthInput, OidcCredentials, OrgAdminStatus, OrgContractGrants, OrgDataActionWire, OrgDataClientOptions, OrgPolicyMeta, OrgPolicyView, OrgUsageReport, OrgUsageReportInput, OrgWriters, OtpChannel, OtpMergeSuggestion, OtpRequestInput, OtpRequestResult, OtpVerifyInput, OtpVerifyResult, PayrollRunRequest, PeerQuoteResult, PolicyGetInput, PurgeOrgInput, QuoteVerifyResult, ReaderSet, RemoveMemberGrantsInput, RoleAssignments, RoleAssignmentsResponse, RoleDefinition, RoleGetResponse, RoleGrant, RoleIdInput, SdkConfig, SecretKind, SecretListInput, SecretListResponse, SecretNameInput, SecretRecord, SecretSetValueInput, SecretView, SecretWriteInput, SessionCrypto, SessionId, SetAgentEgressInput, SetGrantsInput, SetRoleInput, SetWritersInput, SignedTrustManifest, StringEncoding, SubmitUserInputArgs, SubmitUserInputResult, T3nClientConfig, TenantAdmitProjection, TenantAdmitStatus, TenantBaseClient, TenantClientConfig, TenantContractExecuteInput, TenantContractPublishInput, TenantContractSetDescriptorInput, TenantExecutionSession, TenantMapCreateInput, TenantMapUpdatePatch, TenantMeResponse, TenantSdkEnvironment, TenantSelfAdmitResult, TenantStatus, TenantTargetOptions, TokenTxKind, Transport, TrustAnchor, TrustAnchorOrUnsafe, TrustAnchorSource, TrustManifestPayload, UnassignRolesInput, UnsafeTrustServer, UpdateMetaInput, UsageEntry, UsagePage, UsageReportSignature, UserGrant, UserInputProfile, UserUpsertErrorKind, WasmComponent, WasmNextResult, WhoamiResult, WireBlock, WorkloadAuthInput, WriteDataInput, WriterSet, WritersGetInput };
|