@terminal3/t3n-sdk 5.7.0 → 5.9.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/index.d.ts CHANGED
@@ -1464,7 +1464,7 @@ interface DataGetResponse {
1464
1464
  declare function isDataGetResponse(value: unknown): value is DataGetResponse;
1465
1465
  /**
1466
1466
  * Return shape of `agentCardGet` — composed client-side from the generic
1467
- * `org-data-get` read of the card's entry (there is no card-specific read
1467
+ * `org-data-get` read of the card's entry (reads have no card-specific
1468
1468
  * operation on the contract). To check whether a public copy exists, probe
1469
1469
  * the anonymous `GET /api/agent-card/{did}` endpoint.
1470
1470
  */
@@ -2724,9 +2724,6 @@ interface DescribeFunctionResult {
2724
2724
  * All cryptographic complexity is handled in WASM components.
2725
2725
  */
2726
2726
 
2727
- /**
2728
- * Main T3n SDK Client
2729
- */
2730
2727
  declare class T3nClient {
2731
2728
  private readonly config;
2732
2729
  private readonly transport;
@@ -3095,6 +3092,97 @@ declare class T3nClient {
3095
3092
  * empty / too long)
3096
3093
  */
3097
3094
  createOrganisation(name: string): Promise<Did>;
3095
+ /**
3096
+ * Tear down an org-owned agent, credentials and all.
3097
+ *
3098
+ * A single `delete-agent` dispatch on `tee:organisation/contracts`: the
3099
+ * contract removes the agent's `public:agent_registry` row and its membership
3100
+ * edges, and invokes `tee:org-data.org-agent-footprint-delete` in the same
3101
+ * consensus tx for every organisation the agent belongs to — that org's
3102
+ * authority edges, every member's delegation edge to the agent, the
3103
+ * reverse-index rows they name, the agent's self-egress edge, and both copies
3104
+ * of its card. Everything commits or rolls back together, so a refusal leaves
3105
+ * the agent intact with working credentials rather than half deleted.
3106
+ *
3107
+ * The contract gates on the caller being an admin of `orgDid`, on the agent
3108
+ * carrying that org's membership row, and on the agent classifying positively
3109
+ * as an agent — a DID it cannot classify is refused rather than deleted.
3110
+ *
3111
+ * The agent's API keys are not enumerated and not revoked one by one: they
3112
+ * stop working because API-key authentication requires the key's principal to
3113
+ * still exist (its `did_kinds` classification row), and this delete removes
3114
+ * that row.
3115
+ *
3116
+ * @param orgDid - an organisation the caller administers and the agent belongs
3117
+ * to (`did:t3n:<hex>` or bare hex)
3118
+ * @param agentDid - the agent to tear down
3119
+ * @returns what the teardown swept: organisations, authority edges, and
3120
+ * whether a registry row existed
3121
+ * @throws if the session is not authenticated, if the deployed contract
3122
+ * predates `delete-agent`, or if the contract refuses (including a refused
3123
+ * footprint sweep)
3124
+ */
3125
+ deleteAgent(orgDid: string, agentDid: string): Promise<{
3126
+ orgsSwept: number;
3127
+ edgesPurged: number;
3128
+ registryRecordDeleted: boolean;
3129
+ }>;
3130
+ /**
3131
+ * Edit an org-owned agent's registry record — the admin-side counterpart to
3132
+ * the agent's own `agentSetCard`, which only the agent's own session can call.
3133
+ *
3134
+ * Dispatches `update-agent` on `tee:organisation/contracts`; the contract
3135
+ * gates on the caller being an admin of `orgDid` and on the agent carrying that
3136
+ * org's membership row. At least one field must be given.
3137
+ *
3138
+ * Three-way per field: omitting it preserves the stored value, an empty string
3139
+ * clears it, a value sets it. `ownerDid` is the publish-consent link
3140
+ * `agentCardPublish` checks.
3141
+ *
3142
+ * The agent's display NAME is not here — it lives in the card, edited with
3143
+ * {@link agentCardSet}.
3144
+ *
3145
+ * @param orgDid - an organisation the caller administers and the agent belongs to
3146
+ * @param agentDid - the agent whose record is being edited
3147
+ * @param updates - `agentUri` and/or `ownerDid`
3148
+ * @returns the URI and owner link now stored (absent when the record carries none)
3149
+ * @throws if the session is not authenticated, if the deployed contract
3150
+ * predates `update-agent`, if neither field is given, or if the contract refuses
3151
+ */
3152
+ updateAgent(orgDid: string, agentDid: string, updates: {
3153
+ agentUri?: string;
3154
+ ownerDid?: string;
3155
+ }): Promise<{
3156
+ agentUri?: string;
3157
+ ownerDid?: string;
3158
+ }>;
3159
+ /**
3160
+ * Remove an agent's own registry footprint: its `AGENT_REGISTRY_MAP` record,
3161
+ * the world-readable card, and the private card `tee:agent-registry` hosts in
3162
+ * the agent's own data space.
3163
+ *
3164
+ * Dispatches `agent-registry-deregister` on `tee:agent-registry/contracts`,
3165
+ * NOT on the organisation contract: this is the self-service half of an agent
3166
+ * teardown and needs no org.
3167
+ *
3168
+ * Only an agent with no recorded owner may deregister, and only itself. A
3169
+ * record naming an `ownerDid` is refused for everyone, the owner included: an
3170
+ * org-owned agent is torn down by its org through {@link deleteAgent}, which
3171
+ * also stops its API keys and clears the rows this contract cannot write, and a
3172
+ * delegated agent is retired by its owner through `revoke-delegated-agent`.
3173
+ * Deregistration removes what the DID published, not its classification.
3174
+ *
3175
+ * @param agentDid - the subject; omitted means the caller's own DID, and a
3176
+ * value may only restate it
3177
+ * @returns which of the three rows existed and were removed
3178
+ * @throws if the session is not authenticated, if the deployed contract
3179
+ * predates the export, or if the caller is not the record's authority
3180
+ */
3181
+ deregisterAgent(agentDid?: string): Promise<{
3182
+ registryDeleted: boolean;
3183
+ publicCardDeleted: boolean;
3184
+ privateCardDeleted: boolean;
3185
+ }>;
3098
3186
  /**
3099
3187
  * Provision a fresh org-owned agent.
3100
3188
  *
@@ -3156,11 +3244,33 @@ declare class T3nClient {
3156
3244
  }>;
3157
3245
  /**
3158
3246
  * Normalise an organisation / user DID to the bare 40-hex form the
3159
- * `tee:organisation` contract's `organisation_did` / `user_did` fields
3160
- * expect (those take a hex string, not the `did:t3n:` display form).
3161
- * Accepts `did:t3n:<40 hex>` or bare 40 hex.
3247
+ * `tee:organisation` contract's organisation-lifecycle exports
3248
+ * (`organisation-update`, `organisation-delete`, the attribution pair)
3249
+ * expect in `organisation_did` / `user_did`. The agent-lifecycle exports
3250
+ * (`create-agent`, `delete-agent`, `update-agent`) take the `did:t3n:` wire
3251
+ * form instead — see {@link didToWire}. Accepts `did:t3n:<40 hex>` or bare
3252
+ * 40 hex.
3162
3253
  */
3163
3254
  private static didToCompactHex;
3255
+ /**
3256
+ * Normalise a DID to the `did:t3n:<40 hex>` wire form the agent-lifecycle
3257
+ * exports parse (`CompactDid::from_str`, which requires the prefix). Accepts
3258
+ * `did:t3n:<40 hex>` or bare 40 hex.
3259
+ */
3260
+ private static didToWire;
3261
+ /**
3262
+ * Resolve the deployed version of `contractId`, refusing before any dispatch
3263
+ * when it is older than the caller needs, with a message naming the version the
3264
+ * node runs and the one required.
3265
+ *
3266
+ * `remedy` completes the refusal for a caller that has a second option beyond
3267
+ * upgrading — dropping the argument that raised the requirement.
3268
+ *
3269
+ * Returns the resolved version so a caller can pass it straight to the
3270
+ * dispatch; the lookup is cached per (node, contract), so asking twice for two
3271
+ * different thresholds costs one fetch.
3272
+ */
3273
+ private requireContractVersion;
3164
3274
  /**
3165
3275
  * Dispatch a `tee:organisation/contracts` function over the authenticated
3166
3276
  * `action.execute` path (org-scoped writes are gated in-contract on the
@@ -3184,15 +3294,18 @@ declare class T3nClient {
3184
3294
  * Delete an organisation the caller administers, footprint and all.
3185
3295
  *
3186
3296
  * A single `organisation-delete` dispatch tears down both stores the org
3187
- * spans: the contract removes the `OrganisationRecord`, memberships, and
3188
- * `OrgPolicyMeta`, and purges the org's `tee:org-data` footprint (every
3189
- * grant, writer list, data entry, and index row keyed under the org DID)
3190
- * in-contract, in the same consensus tx. Purge and delete therefore commit
3191
- * or roll back together — a purge failure aborts the whole delete, so a
3192
- * successful call never strands org-data.
3193
- *
3194
- * The org record's emptiness guards still apply (the org must have no
3195
- * non-admin members and no children).
3297
+ * spans: the contract tears down the org's own agents (their keys stop
3298
+ * working), removes the `OrganisationRecord`, memberships, and
3299
+ * `OrgPolicyMeta`, and purges the org's `tee:org-data` footprint — every
3300
+ * grant, writer list, data entry, index row, role definition and SECRET keyed
3301
+ * under the org DID — in-contract, in the same consensus tx. The secrets are
3302
+ * destroyed irreversibly with the org. Purge and delete commit or roll back
3303
+ * together — a purge failure aborts the whole delete, so a successful call
3304
+ * never strands org-data.
3305
+ *
3306
+ * The org must have no child organisations. Membership is not a blocker:
3307
+ * every member edge, human and org-owned agent alike, is cascade-removed by
3308
+ * the in-contract purge.
3196
3309
  *
3197
3310
  * @param orgDid - the target organisation (`did:t3n:<hex>` or bare hex)
3198
3311
  * @throws if the session is not authenticated, or if `organisation-delete`
@@ -4260,9 +4373,10 @@ declare function toBaseUnits(tokens: number): number;
4260
4373
 
4261
4374
  /**
4262
4375
  * Org-data scope agent cards are stored under. The private card body is
4263
- * ordinary org-data — written / read / deleted with the generic
4264
- * `org-data-*` operations under this scope; only publication has dedicated
4265
- * contract operations.
4376
+ * ordinary org-data — read and deleted with the generic `org-data-*` operations
4377
+ * under this scope. Writing it, and publishing it, are card-specific contract
4378
+ * operations (`agent-card-set` / `agent-card-publish`) so the whole card surface
4379
+ * answers to one authority rule.
4266
4380
  */
4267
4381
  declare const AGENT_CARDS_SCOPE = "agent-cards";
4268
4382
  /**
@@ -4824,12 +4938,13 @@ declare class OrgDataClient {
4824
4938
  */
4825
4939
  deleteScope(input: DeleteScopeInput): Promise<MutationResponse>;
4826
4940
  /**
4827
- * Full teardown of an org's org-data footprint — every
4828
- * grant, writer list, data entry, and index row keyed under the org DID.
4829
- * Org-admin-gated. Run this **before** `T3nClient.deleteOrganisation`,
4830
- * which removes the `OrgPolicyMeta` this call authorises against — together
4831
- * they leave the org with no org-data residue. `deleted_entries` reports the
4832
- * row count cleared.
4941
+ * Full teardown of an org's org-data footprint — every grant, writer list,
4942
+ * data entry, index row, role definition and SECRET keyed under the org DID,
4943
+ * plus every membership edge. The secrets are destroyed irreversibly: no
4944
+ * contract can be injected with or read them afterwards. Org-admin-gated.
4945
+ * `T3nClient.deleteOrganisation` runs this in-contract as part of the delete;
4946
+ * called standalone it clears the footprint while keeping the org.
4947
+ * `deleted_entries` reports the row count cleared.
4833
4948
  */
4834
4949
  purgeOrg(input: PurgeOrgInput): Promise<MutationResponse>;
4835
4950
  /**
@@ -4890,10 +5005,20 @@ declare class OrgDataClient {
4890
5005
  /** Retrieve a single data entry by entry ID (admin-only). */
4891
5006
  dataGet(input: DataGetInput): Promise<DataGetResponse>;
4892
5007
  /**
4893
- * Create or overwrite an agent's private card (org scope-writer, or the
4894
- * owner itself for a self-owned space). Validates locally with the same
4895
- * gate the contract applies at publish. The card stays private until
5008
+ * Create or overwrite an agent's private card. The card stays private until
4896
5009
  * {@link agentCardPublish}.
5010
+ *
5011
+ * On `tee:org-data/contracts` >= 2.10.0 this dispatches the card-specific
5012
+ * `agent-card-set`, which admits an org ADMIN as well as an `agent-cards`
5013
+ * scope writer — the same principals `agentCardPublish` admits, and the card
5014
+ * is the only home of an agent's display name. Below that version the write
5015
+ * is the generic `org-data-write` at the canonical card entry ID, so it
5016
+ * succeeds for an `agent-cards` scope writer only. The stored bytes and the
5017
+ * entry ID are the same either way, so {@link agentCardGet} reads back
5018
+ * identically.
5019
+ *
5020
+ * Validated locally first so a malformed body is refused before the round
5021
+ * trip; the contract enforces the same invariant.
4897
5022
  */
4898
5023
  agentCardSet(input: AgentCardSetInput): Promise<MutationResponse>;
4899
5024
  /**
@@ -5823,6 +5948,23 @@ interface ContractSetDescriptorInput {
5823
5948
  */
5824
5949
  descriptor: unknown;
5825
5950
  }
5951
+ /**
5952
+ * Input for `TenantContractsNamespace.unsetDescriptor`: withdraw a published
5953
+ * descriptor via `tee:tenant/contracts.unset-descriptor`.
5954
+ */
5955
+ interface ContractUnsetDescriptorInput {
5956
+ tail: string;
5957
+ /** Semver whose published descriptor is withdrawn. */
5958
+ version: string;
5959
+ }
5960
+ /**
5961
+ * Result of {@link TenantContractsNamespace.unsetDescriptor}. `deleted` is
5962
+ * `false` when no descriptor was published, so an idempotent repeat is
5963
+ * distinguishable from a real withdrawal.
5964
+ */
5965
+ interface ContractUnsetDescriptorResult {
5966
+ deleted: boolean;
5967
+ }
5826
5968
  interface ContractExecuteInput {
5827
5969
  version: string;
5828
5970
  functionName: string;
@@ -5897,6 +6039,7 @@ type TenantMapCreateInput = MapCreateInput;
5897
6039
  type TenantMapUpdatePatch = MapUpdateInput;
5898
6040
  type TenantContractPublishInput = ContractPublishInput;
5899
6041
  type TenantContractSetDescriptorInput = ContractSetDescriptorInput;
6042
+ type TenantContractUnsetDescriptorInput = ContractUnsetDescriptorInput;
5900
6043
  type TenantContractExecuteInput = ContractExecuteInput;
5901
6044
  /**
5902
6045
  * Coarse lifecycle state of a tenant map, mirroring the contract's
@@ -5943,15 +6086,7 @@ interface ContractListDetailedOptions extends TenantTargetOptions {
5943
6086
  /**
5944
6087
  * Options for {@link TenantClient.admitForOrg}.
5945
6088
  */
5946
- interface AdmitForOrgOptions {
5947
- /** 40-hex or `did:t3n:` org DID to admit as an org-owned tenant. */
5948
- orgDid: string;
5949
- /** Human-readable label stored with the tenant record. */
5950
- tenantLabel: string;
5951
- /** Tenant quotas (same shape as individual tenant admission). */
5952
- quotas: Record<string, unknown>;
5953
- /** Storage location (same shape as individual tenant admission). */
5954
- storageLocation: Record<string, unknown>;
6089
+ interface AdminActionAuth {
5955
6090
  /**
5956
6091
  * A sign function that takes the serialised request body (JSON string) and
5957
6092
  * returns a hex-encoded Ethereum personal-sign signature. The signed body is
@@ -5962,6 +6097,39 @@ interface AdmitForOrgOptions {
5962
6097
  /** Override the node base URL (defaults to `config.baseUrl`). */
5963
6098
  baseUrl?: string;
5964
6099
  }
6100
+ interface AdmitForOrgOptions extends AdminActionAuth {
6101
+ /** 40-hex or `did:t3n:` org DID to admit as an org-owned tenant. */
6102
+ orgDid: string;
6103
+ /** Human-readable label stored with the tenant record. */
6104
+ tenantLabel: string;
6105
+ /**
6106
+ * Tenant quotas. Omit to take the cluster defaults set by
6107
+ * {@link TenantClient.setDefaultQuotas}; the call is refused when neither
6108
+ * is present.
6109
+ */
6110
+ quotas?: Record<string, unknown>;
6111
+ /** Storage location (same shape as individual tenant admission). */
6112
+ storageLocation: Record<string, unknown>;
6113
+ }
6114
+ /**
6115
+ * Options for {@link TenantClient.setDefaultQuotas}.
6116
+ */
6117
+ interface SetDefaultQuotasOptions extends AdminActionAuth {
6118
+ /** The full quota set new tenants get when admitted without their own. */
6119
+ quotas: Record<string, unknown>;
6120
+ }
6121
+ /**
6122
+ * Options for {@link TenantClient.updateQuotas}.
6123
+ */
6124
+ interface UpdateQuotasOptions extends AdminActionAuth {
6125
+ /** 40-hex or `did:t3n:` DID of the tenant whose quotas change. */
6126
+ tenant: string;
6127
+ /**
6128
+ * The full replacement quota set. Byte counters are preserved from the live
6129
+ * row, so caps below current usage are refused.
6130
+ */
6131
+ quotas: Record<string, unknown>;
6132
+ }
5965
6133
  declare class TenantNamespace {
5966
6134
  private readonly client;
5967
6135
  constructor(client: TenantClient);
@@ -6028,6 +6196,18 @@ declare class TenantContractsNamespace {
6028
6196
  * without one is not dispatchable through it.
6029
6197
  */
6030
6198
  setDescriptor(input: ContractSetDescriptorInput, opts?: TenantTargetOptions): Promise<unknown>;
6199
+ /**
6200
+ * Withdraw the published descriptor for a `name@version` via
6201
+ * `unset-descriptor`, returning the contract to the undescribed state
6202
+ * `listDetailed` reports as `descriptor: null`. The contract itself stays
6203
+ * registered.
6204
+ *
6205
+ * Same owner gate as {@link setDescriptor}. Idempotent: `deleted: false` when
6206
+ * no descriptor was published. A withdrawn descriptor makes the contract
6207
+ * undispatchable through the MCP funnel, which reads the stored document as
6208
+ * its sole source.
6209
+ */
6210
+ unsetDescriptor(input: ContractUnsetDescriptorInput, opts?: TenantTargetOptions): Promise<ContractUnsetDescriptorResult>;
6031
6211
  /**
6032
6212
  * List the canonical names of every contract registered under the resolved
6033
6213
  * tenant — the org-admin inventory view.
@@ -6146,6 +6326,33 @@ declare class TenantClient {
6146
6326
  * if `OrgPolicyMeta` is absent, or if the admin set is empty.
6147
6327
  */
6148
6328
  admitForOrg(opts: AdmitForOrgOptions): Promise<unknown>;
6329
+ /**
6330
+ * Set the cluster-wide default quotas that {@link TenantClient.admitForOrg}
6331
+ * uses when a call supplies none.
6332
+ *
6333
+ * Writes only that field. The sibling action that carries it replaces the
6334
+ * whole operator-config row, so using it to change defaults would clear the
6335
+ * self-admit switch or the welcome grant by omission.
6336
+ *
6337
+ * Existing tenants keep the quotas they were admitted with — use
6338
+ * {@link TenantClient.updateQuotas} for those.
6339
+ */
6340
+ setDefaultQuotas(opts: SetDefaultQuotasOptions): Promise<unknown>;
6341
+ /**
6342
+ * Replace one tenant's quotas.
6343
+ *
6344
+ * The live byte counters are preserved by the node, so a cap below the
6345
+ * tenant's current usage is refused rather than silently stranding it over
6346
+ * quota.
6347
+ */
6348
+ updateQuotas(opts: UpdateQuotasOptions): Promise<unknown>;
6349
+ /**
6350
+ * Fetch a nonce, sign `payload` with it, and POST to `/api/admin`.
6351
+ *
6352
+ * `op` names the SDK method in error messages, `action` is the wire action
6353
+ * the node routes on, and `fields` carries the rest of the body.
6354
+ */
6355
+ private dispatchAdminAction;
6149
6356
  getEnvironment(): TenantClientConfig["environment"];
6150
6357
  canonicalName(tail: string): string;
6151
6358
  /**
@@ -6175,4 +6382,4 @@ declare function validateTail(tail: string): string;
6175
6382
  declare function canonicalTenantName(tenantDid: string, tail: string): string;
6176
6383
 
6177
6384
  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, 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 };
6178
- export type { ActivityCallerType, ActivityEntry, ActivityExportFile, ActivityExportStatus, ActivityOutcome, ActivityReport, AdmitForOrgOptions, AgentAuthEntry, AgentAuthMergeResult, AgentAuthPolicy, AgentAuthScriptGrant, AgentAuthUpdateInput, AgentCardRefInput, AgentCardResponse, AgentCardSetInput, AgentEgressEntry, AgentEgressGetResponse, AgentEgressRefInput, AgentSummary, AssignRolesInput, AuthInput, BalanceRow, BoundGrant, 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, 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, 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, Validity, WasmComponent, WasmNextResult, WhoamiResult, WireBlock, WorkloadAuthInput, WriteDataInput, WriterSet, WritersGetInput };
6385
+ 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, ConfigValidationResult, 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, Direction, DiscoverOptions, DkgAttestation, DkgVerifyResult, 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 };