@ax-hub/sdk 0.0.5 → 0.1.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.cts CHANGED
@@ -305,28 +305,6 @@ declare class HttpClient {
305
305
  private logRequest;
306
306
  }
307
307
 
308
- interface ParsedFrame {
309
- id?: string;
310
- event?: string;
311
- data: string;
312
- }
313
- type StreamItem<T> = {
314
- type: 'item';
315
- value: T;
316
- id: string | undefined;
317
- } | {
318
- type: 'gap';
319
- sinceId: string | undefined;
320
- missingCount?: number;
321
- } | {
322
- type: 'decode-skip';
323
- frame: ParsedFrame;
324
- error: AxHubError;
325
- };
326
- interface SSEStream<T> extends AsyncIterable<StreamItem<T>> {
327
- dispose(): void;
328
- }
329
-
330
308
  interface PaginatedList<T> {
331
309
  items: T[];
332
310
  nextCursor: string | null;
@@ -408,84 +386,6 @@ interface RequestOptions {
408
386
  interface PageRequestOptions extends ListOptions, RequestOptions {
409
387
  }
410
388
 
411
- interface GatewayEngine {
412
- name: 'postgres' | 'mysql' | string;
413
- capabilities: string[];
414
- }
415
- interface GatewayConnector {
416
- id: string;
417
- engine: string;
418
- name: string;
419
- [key: string]: unknown;
420
- }
421
- interface GatewayResource {
422
- id: string;
423
- connectorId: string;
424
- name: string;
425
- [key: string]: unknown;
426
- }
427
- interface GatewayQueryInput {
428
- resourceId?: string;
429
- connectorId?: string;
430
- path?: string;
431
- sql: string;
432
- params?: unknown[];
433
- rowLimit?: number;
434
- }
435
- interface GatewayQueryColumn {
436
- name: string;
437
- dataType: string;
438
- }
439
- interface GatewayQueryResult<Row = Record<string, unknown>> {
440
- allowed: boolean;
441
- denyReason?: string;
442
- columns: GatewayQueryColumn[];
443
- rows: Row[];
444
- rowCount: number;
445
- matchedPolicies?: string[];
446
- }
447
- declare class GatewayClient {
448
- private readonly http;
449
- constructor(http: HttpClient);
450
- scoped(tenantSlug: string): TenantGatewayClient;
451
- }
452
- declare class TenantGatewayClient {
453
- readonly engines: GatewayEnginesClient;
454
- readonly connectors: GatewayConnectorsClient;
455
- readonly resources: GatewayResourcesClient;
456
- readonly query: GatewayQueryClient;
457
- constructor(http: HttpClient, tenantSlug: string);
458
- }
459
- declare class GatewayEnginesClient {
460
- private readonly http;
461
- private readonly base;
462
- constructor(http: HttpClient, base: string);
463
- list(opts?: RequestOptions): Promise<GatewayEngine[]>;
464
- }
465
- declare class GatewayCrud<T extends {
466
- id: string;
467
- }> {
468
- protected readonly http: HttpClient;
469
- protected readonly base: string;
470
- constructor(http: HttpClient, base: string);
471
- list(opts?: RequestOptions): Promise<T[]>;
472
- get(id: string, opts?: RequestOptions): Promise<T>;
473
- create(input: Record<string, unknown>, opts?: RequestOptions): Promise<T>;
474
- update(id: string, patch: Record<string, unknown>, opts?: RequestOptions): Promise<T>;
475
- delete(id: string, opts?: RequestOptions): Promise<void>;
476
- }
477
- declare class GatewayConnectorsClient extends GatewayCrud<GatewayConnector> {
478
- }
479
- declare class GatewayResourcesClient extends GatewayCrud<GatewayResource> {
480
- }
481
- declare class GatewayQueryClient {
482
- private readonly http;
483
- private readonly base;
484
- constructor(http: HttpClient, base: string);
485
- run<Row extends Record<string, unknown> = Record<string, unknown>>(input: GatewayQueryInput, opts?: RequestOptions): Promise<GatewayQueryResult<Row>>;
486
- stream<Row extends Record<string, unknown> = Record<string, unknown>>(input: GatewayQueryInput, opts?: RequestOptions): SSEStream<Row>;
487
- }
488
-
489
389
  interface AuditEvent {
490
390
  id: string;
491
391
  type?: string;
@@ -593,8 +493,11 @@ declare class AuthzClient {
593
493
  scoped(tenantSlug: string): TenantAuthzClient;
594
494
  }
595
495
  declare class TenantAuthzClient {
496
+ /** @adminOnly Tag governance. `list()` requires tenant_admin (v0.1, SPEC 307) — member callers get ForbiddenError (no auto-retry; permission, not transient). Members browse the data catalog via `gateway.catalog`. */
596
497
  readonly tags: Crud<AuthzTag>;
498
+ /** @adminOnly Subject governance. `list()` requires tenant_admin (v0.1) — member callers get ForbiddenError. */
597
499
  readonly subjects: Crud<AuthzSubject>;
500
+ /** @adminOnly Grant governance. `list()` requires tenant_admin (v0.1) — member callers get ForbiddenError. */
598
501
  readonly grants: Crud<AuthzGrant>;
599
502
  readonly evaluator: AuthzEvaluatorClient;
600
503
  constructor(http: HttpClient, tenantSlug: string);
@@ -1864,6 +1767,28 @@ declare class AppScopedTablesClient {
1864
1767
  inspect(tableName: string, opts?: RequestOptions): Promise<unknown>;
1865
1768
  }
1866
1769
 
1770
+ interface ParsedFrame {
1771
+ id?: string;
1772
+ event?: string;
1773
+ data: string;
1774
+ }
1775
+ type StreamItem<T> = {
1776
+ type: 'item';
1777
+ value: T;
1778
+ id: string | undefined;
1779
+ } | {
1780
+ type: 'gap';
1781
+ sinceId: string | undefined;
1782
+ missingCount?: number;
1783
+ } | {
1784
+ type: 'decode-skip';
1785
+ frame: ParsedFrame;
1786
+ error: AxHubError;
1787
+ };
1788
+ interface SSEStream<T> extends AsyncIterable<StreamItem<T>> {
1789
+ dispose(): void;
1790
+ }
1791
+
1867
1792
  type DeploymentStatus = 'queued' | 'building' | 'deploying' | 'succeeded' | 'failed' | 'cancelled' | 'rolled_back';
1868
1793
  interface DeploymentResponse {
1869
1794
  id: string;
@@ -2004,6 +1929,258 @@ declare class DeploymentsClient {
2004
1929
  }): SSEStream<PodEventEvent>;
2005
1930
  }
2006
1931
 
1932
+ interface GatewayEngine {
1933
+ name: 'postgres' | 'mysql' | string;
1934
+ capabilities: string[];
1935
+ }
1936
+ interface GatewayConnector {
1937
+ id: string;
1938
+ engine: string;
1939
+ name: string;
1940
+ [key: string]: unknown;
1941
+ }
1942
+ interface GatewayResource {
1943
+ id: string;
1944
+ connectorId: string;
1945
+ name: string;
1946
+ [key: string]: unknown;
1947
+ }
1948
+ interface GatewayQueryInput {
1949
+ resourceId?: string;
1950
+ connectorId?: string;
1951
+ path?: string;
1952
+ sql: string;
1953
+ params?: unknown[];
1954
+ rowLimit?: number;
1955
+ }
1956
+ interface GatewayQueryColumn {
1957
+ name: string;
1958
+ dataType: string;
1959
+ }
1960
+ interface GatewayQueryResult<Row = Record<string, unknown>> {
1961
+ allowed: boolean;
1962
+ denyReason?: string;
1963
+ columns: GatewayQueryColumn[];
1964
+ rows: Row[];
1965
+ rowCount: number;
1966
+ matchedPolicies?: string[];
1967
+ }
1968
+ interface CatalogKindAction {
1969
+ allowedEffects: string[];
1970
+ inputSchema?: unknown;
1971
+ resultSchema?: unknown;
1972
+ }
1973
+ interface CatalogKind {
1974
+ kind: string;
1975
+ engine: string;
1976
+ displayName: string;
1977
+ invokable: boolean;
1978
+ actions: Record<string, CatalogKindAction>;
1979
+ }
1980
+ interface CatalogConnector {
1981
+ id: string;
1982
+ name: string;
1983
+ engine: string;
1984
+ description?: string;
1985
+ url: string;
1986
+ }
1987
+ interface CatalogTag {
1988
+ id: string;
1989
+ name: string;
1990
+ }
1991
+ /** permissions.read on a catalog list item. `allowedColumns`/`columnMasks` are detail-only. */
1992
+ interface CatalogPermissionsReadList {
1993
+ allowed: boolean;
1994
+ denyReason?: string;
1995
+ rowFilter?: string;
1996
+ mask?: string;
1997
+ inputSchema?: unknown;
1998
+ resultSchema?: unknown;
1999
+ }
2000
+ /** permissions.read on a catalog detail (table) — adds the SQL-authoring reference fields. */
2001
+ interface CatalogPermissionsReadDetail extends CatalogPermissionsReadList {
2002
+ /** Columns the caller may SELECT. Present on table detail only — the 1st reference for SQL authoring. */
2003
+ allowedColumns?: string[];
2004
+ /** Per-column mask algorithm (redact/null/hash/partial/last4). */
2005
+ columnMasks?: Record<string, string>;
2006
+ }
2007
+ interface CatalogResourceView {
2008
+ id: string;
2009
+ connector: string;
2010
+ connectorId: string;
2011
+ path: string;
2012
+ url: string;
2013
+ kind?: string;
2014
+ type: string;
2015
+ name: string;
2016
+ attributes: Record<string, unknown>;
2017
+ tags: CatalogTag[];
2018
+ permissions: {
2019
+ read: CatalogPermissionsReadList;
2020
+ };
2021
+ }
2022
+ interface CatalogAncestor {
2023
+ id: string;
2024
+ name: string;
2025
+ type: string;
2026
+ path: string;
2027
+ }
2028
+ interface CatalogResourceDetail {
2029
+ id: string;
2030
+ connector: string;
2031
+ connectorId: string;
2032
+ path: string;
2033
+ url: string;
2034
+ kind?: string;
2035
+ type: string;
2036
+ name: string;
2037
+ attributes: Record<string, unknown>;
2038
+ tags: CatalogTag[];
2039
+ ancestors: CatalogAncestor[];
2040
+ children: CatalogResourceView[];
2041
+ permissions: {
2042
+ read: CatalogPermissionsReadDetail;
2043
+ };
2044
+ }
2045
+ interface CatalogResourceFilter {
2046
+ search?: string;
2047
+ kind?: string;
2048
+ connector?: string;
2049
+ connectorId?: string;
2050
+ limit?: number;
2051
+ }
2052
+ interface InvokeInput {
2053
+ sql: string;
2054
+ params?: unknown[];
2055
+ rowLimit?: number;
2056
+ }
2057
+ /** invoke(...) result. Mirrors GatewayQueryResult + the resolved `action`. Rows are zipped to objects. */
2058
+ interface InvokeResult<Row = Record<string, unknown>> {
2059
+ allowed: boolean;
2060
+ action: string;
2061
+ denyReason?: string;
2062
+ columns: GatewayQueryColumn[];
2063
+ rows: Row[];
2064
+ rowCount: number;
2065
+ matchedPolicies?: string[];
2066
+ }
2067
+ declare class GatewayClient {
2068
+ private readonly http;
2069
+ constructor(http: HttpClient);
2070
+ scoped(tenantSlug: string): TenantGatewayClient;
2071
+ }
2072
+ declare class TenantGatewayClient {
2073
+ /** @adminOnly Global engine catalog. Governance read — requires tenant_admin (v0.1, SPEC 307). */
2074
+ readonly engines: GatewayEnginesClient;
2075
+ /** @adminOnly Connector governance (list/create/update/...). Member callers get ForbiddenError (v0.1). Members use `catalog.listConnectors()`. */
2076
+ readonly connectors: GatewayConnectorsClient;
2077
+ /** @adminOnly Raw resource governance. Member callers get ForbiddenError (v0.1). Members use `catalog.listResources()`. */
2078
+ readonly resources: GatewayResourcesClient;
2079
+ /** Run a parameterized read query. Member OK. See also `catalog.invoke()`. */
2080
+ readonly query: GatewayQueryClient;
2081
+ /** Member-facing catalog: discover connectors/resources you can read + invoke. */
2082
+ readonly catalog: GatewayCatalogClient;
2083
+ constructor(http: HttpClient, tenantSlug: string);
2084
+ }
2085
+ declare class GatewayEnginesClient {
2086
+ private readonly http;
2087
+ private readonly base;
2088
+ constructor(http: HttpClient, base: string);
2089
+ list(opts?: RequestOptions): Promise<GatewayEngine[]>;
2090
+ }
2091
+ declare class GatewayCrud<T extends {
2092
+ id: string;
2093
+ }> {
2094
+ protected readonly http: HttpClient;
2095
+ protected readonly base: string;
2096
+ constructor(http: HttpClient, base: string);
2097
+ list(opts?: RequestOptions): Promise<T[]>;
2098
+ get(id: string, opts?: RequestOptions): Promise<T>;
2099
+ create(input: Record<string, unknown>, opts?: RequestOptions): Promise<T>;
2100
+ update(id: string, patch: Record<string, unknown>, opts?: RequestOptions): Promise<T>;
2101
+ delete(id: string, opts?: RequestOptions): Promise<void>;
2102
+ }
2103
+ declare class GatewayConnectorsClient extends GatewayCrud<GatewayConnector> {
2104
+ }
2105
+ declare class GatewayResourcesClient extends GatewayCrud<GatewayResource> {
2106
+ }
2107
+ declare class GatewayQueryClient {
2108
+ private readonly http;
2109
+ private readonly base;
2110
+ constructor(http: HttpClient, base: string);
2111
+ /**
2112
+ * Run a parameterized read query against a connector resource.
2113
+ *
2114
+ * Policy deny is a normal HTTP 200 response, NOT a throw: branch on `result.allowed`.
2115
+ * When denied, `matchedPolicies` is empty/absent and `denyReason` is generic
2116
+ * ("policy deny") or a `safesql:`-prefixed SQL-format message — use `isPolicyDeny()` /
2117
+ * `isSqlFormatError()` to tell them apart.
2118
+ *
2119
+ * @throws InternalServerError v0.1 — referencing a column outside the catalog's
2120
+ * `allowedColumns` lets the SQL reach the external DB, which answers column-not-found;
2121
+ * the backend surfaces that as 500. Do NOT auto-retry — guide the user to the
2122
+ * resource detail's `allowedColumns` (see `getAccessibleColumns`).
2123
+ * @throws PoolStaleError 401 after a credential refresh retry.
2124
+ */
2125
+ run<Row extends Record<string, unknown> = Record<string, unknown>>(input: GatewayQueryInput, opts?: RequestOptions): Promise<GatewayQueryResult<Row>>;
2126
+ }
2127
+ /**
2128
+ * Member-facing gateway catalog: connectors/resources the caller can read, plus `invoke`.
2129
+ * Distinct from the `@adminOnly` governance clients (`connectors`/`resources`/`engines`).
2130
+ */
2131
+ declare class GatewayCatalogClient {
2132
+ private readonly http;
2133
+ private readonly base;
2134
+ constructor(http: HttpClient, tenantBase: string);
2135
+ /** ResourceKind capability catalog (global, tenant-independent). Member OK. */
2136
+ listKinds(opts?: RequestOptions): Promise<CatalogKind[]>;
2137
+ /** Connectors the caller has read access to (1+ readable resource). Member OK. */
2138
+ listConnectors(opts?: RequestOptions): Promise<CatalogConnector[]>;
2139
+ /** Search resources the caller can read (across connectors). Member OK. */
2140
+ listResources(filter?: CatalogResourceFilter, opts?: RequestOptions): Promise<CatalogResourceView[]>;
2141
+ /**
2142
+ * Single resource detail (with `allowedColumns` for SQL authoring). Member OK.
2143
+ *
2144
+ * @throws NotFoundError when the caller has no read access to `path` — denied and
2145
+ * non-existent are intentionally indistinguishable (strict zero-trust, v0.1).
2146
+ * Use `hasAccess()` for a boolean check that does not throw.
2147
+ */
2148
+ getResource(connector: string, path: string, opts?: RequestOptions): Promise<CatalogResourceDetail>;
2149
+ /**
2150
+ * Invoke an action on a resource (v1: `read`). Member OK.
2151
+ *
2152
+ * Policy deny is a normal HTTP 200 (`allowed: false`), NOT a throw — branch on the result.
2153
+ * @throws InternalServerError referencing a column outside `allowedColumns` (no auto-retry).
2154
+ */
2155
+ invoke<Row extends Record<string, unknown> = Record<string, unknown>>(connector: string, path: string, input: InvokeInput, opts?: RequestOptions): Promise<InvokeResult<Row>>;
2156
+ /** True if the caller can read `path` (getResource without throwing on denial). Member OK. */
2157
+ hasAccess(connector: string, path: string, opts?: RequestOptions): Promise<boolean>;
2158
+ /**
2159
+ * Catalog list + each resource's detail (with `allowedColumns`) in one call. Member OK.
2160
+ * Issues one detail request per resource (N+1) — avoid over large catalogs / in tight loops.
2161
+ */
2162
+ listResourcesWithDetail(filter?: CatalogResourceFilter, opts?: RequestOptions): Promise<CatalogResourceDetail[]>;
2163
+ }
2164
+ /** True when the response is allowed (typed narrowing convenience). */
2165
+ declare function isAllowed(r: GatewayQueryResult | InvokeResult): boolean;
2166
+ /**
2167
+ * True when a deny is an SQL-format rejection the caller can fix by editing the SQL.
2168
+ *
2169
+ * Keys on the backend's `safesql:` deny_reason prefix (e.g. "safesql: only SELECT or WITH
2170
+ * allowed (got \"insert\")"). String-prefix matching is brittle by construction — the
2171
+ * backend wording may change. (The improvement spec's "SQL 형식 오류:" literal was inaccurate;
2172
+ * the real prefix is `safesql:`.)
2173
+ */
2174
+ declare function isSqlFormatError(r: GatewayQueryResult | InvokeResult): boolean;
2175
+ /** True when a deny is a policy denial (not an SQL-format error). Editing SQL will not help. */
2176
+ declare function isPolicyDeny(r: GatewayQueryResult | InvokeResult): boolean;
2177
+ /** Columns the caller may SELECT from a resource detail (empty if none/denied). */
2178
+ declare function getAccessibleColumns(detail: CatalogResourceDetail): string[];
2179
+ /** Mask algorithm applied to a column (redact/null/hash/partial/last4), or null if unmasked. */
2180
+ declare function getMaskHint(detail: CatalogResourceDetail, columnName: string): string | null;
2181
+ /** Last path segment for a SQL `FROM` clause ("axhub-qa-mysql/employees" → "employees"). */
2182
+ declare function tableFromPath(path: string): string;
2183
+
2007
2184
  interface IssuePersonalAccessTokenInput {
2008
2185
  name: string;
2009
2186
  expiresInDays?: number;
@@ -2403,4 +2580,4 @@ interface VerifyWebhookResult {
2403
2580
  declare function signWebhook(rawBody: Buffer | Uint8Array | string, secret: string, timestamp?: string): string;
2404
2581
  declare function verifyWebhook(input: VerifyWebhookInput): VerifyWebhookResult;
2405
2582
 
2406
- export { AbortError, AccessDeniedError, type AddColumnInput, type AddCommentInput, type AddGrantInput, AlreadyAccessedError, AlreadyActiveError, AlreadyDeletedError, AlreadyInactiveError, AlreadyMemberError, AlreadyRevokedError, AlreadySettledError, type AnonymizeInput, type AppAccess, type AppCategory, type AppID, type AppId, type AppResponse, AppScopedClient, AppScopedDataClient, type AppSlug, type AppTable, type AppTemplate, AppUnavailableError, AppsClient, AuditClient, type AuditEvent, type AuditEventID, type AuthProvider, type AuthRing, AuthorizationPendingError, AuthzClient, type AuthzGrant, type AuthzSubject, type AuthzTag, AxHubClient, type AxHubClientOptions, AxHubError, type AxHubErrorInit, BadRequestError, type Branded, type BuildLogEvent, type BulkInviteResult, type ColumnType, type Comment, ConfigurationError, ConflictError, type ConnectGitInput, type ConnectorID, type CreateAppInput, type CreateCategoryInput, type CreateDeploymentInput, type CreateOAuthClientInput, type CreateTableInput, type CreateTenantInput, type CursorDirection, DEFAULT_BASE_URL, type DataBulkResult, DataClient, type DataCountOptions, type DataGetOptions, type DataListOptions, type DataOrderBy, DataTableClient, type DataTableSchema, type DecideInput, type DecideResult, DecodeError, type DeploymentID, type DeploymentId, type DeploymentResponse, type DeploymentStatus, DeploymentsClient, type DeviceAuthorizationResponse, DeviceFlowDeniedError, DeviceFlowTimeoutError, type DiscoverAppsOptions, type DiscoverOptions, type DispatchContext, DomainTakenError, DuplicateError, type EmailDomain, type EmitAuditEventInput, EmptyError, type EnvVar, ExpiredTokenError, type FetchLike, type FieldError, ForbiddenError, GatewayClient, type GatewayConnector, type GatewayEngine, type GatewayQueryColumn, type GatewayQueryInput, type GatewayQueryResult, type GatewayResource, type GitConnection, type GitConnectionSetup, type GitConnectionStatus, type GithubInstallStart, type GrantID, type GrantPrincipalType, type GrantScope, IdentityClient, IdentityDeviceCodeClient, IdentityMeClient, IdentityOAuthClient, IdentityOIDCClient, IdentityPATClient, type IdentityProvider, IdentityProviderClient, IdentitySystemOAuthClientsClient, type InferRow, type InstallStartInput, type IntegrityCheckResult, InternalServerError, IntrospectFailedError, InvalidCursorError, InvalidGrantError, InvalidPathError, InvalidStateTransitionError, InvalidValueError, InvitationExpiredError, type InviteTenantMemberInput, type IssuePersonalAccessTokenInput, type IssuePersonalAccessTokenResult, type KeysetCursor, LastAdminError, LegacyCursorError, type LikeResult, type LikeStatus, type ListAllItem, type ListAllOptions, type ListOptions, type Logger, type MeResponse, type MockClientOptions, type MockFixtures, MockInProductionError, type MockRow, type MockSchemas, MockStore, NetworkError, NoAuth, NotAdminError, NotAllowedError, NotDeletedError, NotFoundError, NotMemberError, type OAuthClient, type OAuthClientWithSecret, OAuthError, type OAuthErrorInit, type OAuthTokenResponse, type OrderByField, type PATID, type PATSummary, type PaginatedList, type ParsedFrame, type PatId, PendingExistsError, PermanentlyDeletedError, PermissionDeniedError, type PodEventEvent, type PodLogEvent, PoolStaleError, PreconditionFailedError, type PublicationRequest, type PublicationRequestStatus, PublicationRequestsClient, type QueryExpr, type RateLimitStrategy, RateLimitedError, type RequestId, RequiredError, type ResourceID, type RetryInfo, type SSEStream, ScanLimitExceededError, SchemaCache, type SchemaCacheOptions, SchemaNameTakenError, type SchemaShapeFromRow, type SelectColumns, type SettlePublicationInput, type SignIconUploadInput, type SignIconUploadResult, SlowDownError, SlugTakenError, StaticTokenAuth, StreamConsumedError, type StreamItem, type SubjectID, type SubmitPublicationInput, type SystemOAuthClient, type TableColumn, type TableConstraint, type TableGrant, type TableID, type TableIndex, TableNotFoundError, type TableSchema, type TagID, type Tenant, type TenantID, type TenantId, type TenantInvitation, type TenantMember, TenantScopedAppsClient, TenantScopedClient, type TenantSlug, TenantSlugRequiredError, TenantsClient, TimeoutError, TokenExpiredError, TokenInvalidError, TokenMissingError, type TokenType, UnauthenticatedError, UnavailableError, type UnlikeResult, type UnpublishInput, type UpdateAppInput, type UpdateGitConnectionInput, type UpdateTenantInput, type UserID, type UserId, ValidationError, type VerifyWebhookInput, type VerifyWebhookResult, WebhookVerificationError, type WebhookVerifyReason, and, asAppId, asAppSlug, asDeploymentId, asPatId, asRequestId, asTenantId, asTenantSlug, asUserId, assertMockModeAllowed, createMockStore, cursorFromRow, decodeCursor, defineSchema, dispatch, encodeCursor, escapeLike, formatErrorMessage, id, isOAuthPath, not, or, orderByFingerprint, parseRetryAfter, raw, schemaCacheKey, signWebhook, verifyWebhook, where };
2583
+ export { AbortError, AccessDeniedError, type AddColumnInput, type AddCommentInput, type AddGrantInput, AlreadyAccessedError, AlreadyActiveError, AlreadyDeletedError, AlreadyInactiveError, AlreadyMemberError, AlreadyRevokedError, AlreadySettledError, type AnonymizeInput, type AppAccess, type AppCategory, type AppID, type AppId, type AppResponse, AppScopedClient, AppScopedDataClient, type AppSlug, type AppTable, type AppTemplate, AppUnavailableError, AppsClient, AuditClient, type AuditEvent, type AuditEventID, type AuthProvider, type AuthRing, AuthorizationPendingError, AuthzClient, type AuthzGrant, type AuthzSubject, type AuthzTag, AxHubClient, type AxHubClientOptions, AxHubError, type AxHubErrorInit, BadRequestError, type Branded, type BuildLogEvent, type BulkInviteResult, type CatalogAncestor, type CatalogConnector, type CatalogKind, type CatalogKindAction, type CatalogPermissionsReadDetail, type CatalogPermissionsReadList, type CatalogResourceDetail, type CatalogResourceFilter, type CatalogResourceView, type CatalogTag, type ColumnType, type Comment, ConfigurationError, ConflictError, type ConnectGitInput, type ConnectorID, type CreateAppInput, type CreateCategoryInput, type CreateDeploymentInput, type CreateOAuthClientInput, type CreateTableInput, type CreateTenantInput, type CursorDirection, DEFAULT_BASE_URL, type DataBulkResult, DataClient, type DataCountOptions, type DataGetOptions, type DataListOptions, type DataOrderBy, DataTableClient, type DataTableSchema, type DecideInput, type DecideResult, DecodeError, type DeploymentID, type DeploymentId, type DeploymentResponse, type DeploymentStatus, DeploymentsClient, type DeviceAuthorizationResponse, DeviceFlowDeniedError, DeviceFlowTimeoutError, type DiscoverAppsOptions, type DiscoverOptions, type DispatchContext, DomainTakenError, DuplicateError, type EmailDomain, type EmitAuditEventInput, EmptyError, type EnvVar, ExpiredTokenError, type FetchLike, type FieldError, ForbiddenError, GatewayCatalogClient, GatewayClient, type GatewayConnector, type GatewayEngine, type GatewayQueryColumn, type GatewayQueryInput, type GatewayQueryResult, type GatewayResource, type GitConnection, type GitConnectionSetup, type GitConnectionStatus, type GithubInstallStart, type GrantID, type GrantPrincipalType, type GrantScope, IdentityClient, IdentityDeviceCodeClient, IdentityMeClient, IdentityOAuthClient, IdentityOIDCClient, IdentityPATClient, type IdentityProvider, IdentityProviderClient, IdentitySystemOAuthClientsClient, type InferRow, type InstallStartInput, type IntegrityCheckResult, InternalServerError, IntrospectFailedError, InvalidCursorError, InvalidGrantError, InvalidPathError, InvalidStateTransitionError, InvalidValueError, InvitationExpiredError, type InviteTenantMemberInput, type InvokeInput, type InvokeResult, type IssuePersonalAccessTokenInput, type IssuePersonalAccessTokenResult, type KeysetCursor, LastAdminError, LegacyCursorError, type LikeResult, type LikeStatus, type ListAllItem, type ListAllOptions, type ListOptions, type Logger, type MeResponse, type MockClientOptions, type MockFixtures, MockInProductionError, type MockRow, type MockSchemas, MockStore, NetworkError, NoAuth, NotAdminError, NotAllowedError, NotDeletedError, NotFoundError, NotMemberError, type OAuthClient, type OAuthClientWithSecret, OAuthError, type OAuthErrorInit, type OAuthTokenResponse, type OrderByField, type PATID, type PATSummary, type PaginatedList, type ParsedFrame, type PatId, PendingExistsError, PermanentlyDeletedError, PermissionDeniedError, type PodEventEvent, type PodLogEvent, PoolStaleError, PreconditionFailedError, type PublicationRequest, type PublicationRequestStatus, PublicationRequestsClient, type QueryExpr, type RateLimitStrategy, RateLimitedError, type RequestId, RequiredError, type ResourceID, type RetryInfo, type SSEStream, ScanLimitExceededError, SchemaCache, type SchemaCacheOptions, SchemaNameTakenError, type SchemaShapeFromRow, type SelectColumns, type SettlePublicationInput, type SignIconUploadInput, type SignIconUploadResult, SlowDownError, SlugTakenError, StaticTokenAuth, StreamConsumedError, type StreamItem, type SubjectID, type SubmitPublicationInput, type SystemOAuthClient, type TableColumn, type TableConstraint, type TableGrant, type TableID, type TableIndex, TableNotFoundError, type TableSchema, type TagID, type Tenant, TenantGatewayClient, type TenantID, type TenantId, type TenantInvitation, type TenantMember, TenantScopedAppsClient, TenantScopedClient, type TenantSlug, TenantSlugRequiredError, TenantsClient, TimeoutError, TokenExpiredError, TokenInvalidError, TokenMissingError, type TokenType, UnauthenticatedError, UnavailableError, type UnlikeResult, type UnpublishInput, type UpdateAppInput, type UpdateGitConnectionInput, type UpdateTenantInput, type UserID, type UserId, ValidationError, type VerifyWebhookInput, type VerifyWebhookResult, WebhookVerificationError, type WebhookVerifyReason, and, asAppId, asAppSlug, asDeploymentId, asPatId, asRequestId, asTenantId, asTenantSlug, asUserId, assertMockModeAllowed, createMockStore, cursorFromRow, decodeCursor, defineSchema, dispatch, encodeCursor, escapeLike, formatErrorMessage, getAccessibleColumns, getMaskHint, id, isAllowed, isOAuthPath, isPolicyDeny, isSqlFormatError, not, or, orderByFingerprint, parseRetryAfter, raw, schemaCacheKey, signWebhook, tableFromPath, verifyWebhook, where };