@secondlayer/shared 7.2.2 → 7.3.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.
@@ -2115,99 +2115,6 @@ declare class Logger {
2115
2115
  }
2116
2116
  declare const logger: Logger;
2117
2117
  import { z as z2 } from "zod";
2118
- interface StxTransferFilter {
2119
- type: "stx_transfer";
2120
- sender?: string;
2121
- recipient?: string;
2122
- minAmount?: number;
2123
- maxAmount?: number;
2124
- }
2125
- interface StxMintFilter {
2126
- type: "stx_mint";
2127
- recipient?: string;
2128
- minAmount?: number;
2129
- }
2130
- interface StxBurnFilter {
2131
- type: "stx_burn";
2132
- sender?: string;
2133
- minAmount?: number;
2134
- }
2135
- interface StxLockFilter {
2136
- type: "stx_lock";
2137
- lockedAddress?: string;
2138
- minAmount?: number;
2139
- }
2140
- interface FtTransferFilter {
2141
- type: "ft_transfer";
2142
- sender?: string;
2143
- recipient?: string;
2144
- assetIdentifier?: string;
2145
- minAmount?: number;
2146
- }
2147
- interface FtMintFilter {
2148
- type: "ft_mint";
2149
- recipient?: string;
2150
- assetIdentifier?: string;
2151
- minAmount?: number;
2152
- }
2153
- interface FtBurnFilter {
2154
- type: "ft_burn";
2155
- sender?: string;
2156
- assetIdentifier?: string;
2157
- minAmount?: number;
2158
- }
2159
- interface NftTransferFilter {
2160
- type: "nft_transfer";
2161
- sender?: string;
2162
- recipient?: string;
2163
- assetIdentifier?: string;
2164
- tokenId?: string;
2165
- }
2166
- interface NftMintFilter {
2167
- type: "nft_mint";
2168
- recipient?: string;
2169
- assetIdentifier?: string;
2170
- tokenId?: string;
2171
- }
2172
- interface NftBurnFilter {
2173
- type: "nft_burn";
2174
- sender?: string;
2175
- assetIdentifier?: string;
2176
- tokenId?: string;
2177
- }
2178
- interface ContractCallFilter {
2179
- type: "contract_call";
2180
- contractId?: string;
2181
- functionName?: string;
2182
- caller?: string;
2183
- }
2184
- interface ContractDeployFilter {
2185
- type: "contract_deploy";
2186
- deployer?: string;
2187
- contractName?: string;
2188
- }
2189
- interface PrintEventFilter {
2190
- type: "print_event";
2191
- contractId?: string;
2192
- topic?: string;
2193
- contains?: string;
2194
- }
2195
- type EventFilter = StxTransferFilter | StxMintFilter | StxBurnFilter | StxLockFilter | FtTransferFilter | FtMintFilter | FtBurnFilter | NftTransferFilter | NftMintFilter | NftBurnFilter | ContractCallFilter | ContractDeployFilter | PrintEventFilter;
2196
- declare const StxTransferFilterSchema: z2.ZodType<StxTransferFilter>;
2197
- declare const StxMintFilterSchema: z2.ZodType<StxMintFilter>;
2198
- declare const StxBurnFilterSchema: z2.ZodType<StxBurnFilter>;
2199
- declare const StxLockFilterSchema: z2.ZodType<StxLockFilter>;
2200
- declare const FtTransferFilterSchema: z2.ZodType<FtTransferFilter>;
2201
- declare const FtMintFilterSchema: z2.ZodType<FtMintFilter>;
2202
- declare const FtBurnFilterSchema: z2.ZodType<FtBurnFilter>;
2203
- declare const NftTransferFilterSchema: z2.ZodType<NftTransferFilter>;
2204
- declare const NftMintFilterSchema: z2.ZodType<NftMintFilter>;
2205
- declare const NftBurnFilterSchema: z2.ZodType<NftBurnFilter>;
2206
- declare const ContractCallFilterSchema: z2.ZodType<ContractCallFilter>;
2207
- declare const ContractDeployFilterSchema: z2.ZodType<ContractDeployFilter>;
2208
- declare const PrintEventFilterSchema: z2.ZodType<PrintEventFilter>;
2209
- declare const EventFilterSchema: z2.ZodType<EventFilter>;
2210
- import { z as z3 } from "zod";
2211
2118
  interface DeploySubgraphRequest {
2212
2119
  name: string;
2213
2120
  version?: string;
@@ -2235,7 +2142,7 @@ interface DeploySubgraphRequest {
2235
2142
  */
2236
2143
  visibility?: "public" | "private";
2237
2144
  }
2238
- declare const DeploySubgraphRequestSchema: z3.ZodType<DeploySubgraphRequest>;
2145
+ declare const DeploySubgraphRequestSchema: z2.ZodType<DeploySubgraphRequest>;
2239
2146
  interface DeploySubgraphResponse {
2240
2147
  action: "created" | "unchanged" | "handler_updated" | "updated" | "reindexed";
2241
2148
  subgraphId: string;
@@ -2434,18 +2341,18 @@ interface SubgraphAggregateResponse {
2434
2341
  min?: Record<string, string | null>;
2435
2342
  max?: Record<string, string | null>;
2436
2343
  }
2437
- import { z as z4 } from "zod";
2344
+ import { z as z3 } from "zod";
2438
2345
  declare const SUBSCRIPTION_FORMATS: readonly ["standard-webhooks", "inngest", "trigger", "cloudflare", "cloudevents", "raw"];
2439
2346
  declare const SUBSCRIPTION_RUNTIMES: readonly ["inngest", "trigger", "cloudflare", "node"];
2440
2347
  declare const SUBSCRIPTION_STATUSES: readonly ["active", "paused", "error"];
2441
2348
  declare const SUBSCRIPTION_FILTER_OPERATORS: readonly ["eq", "neq", "gt", "gte", "lt", "lte", "in"];
2442
- declare const SubscriptionStatusSchema: z4.ZodType<SubscriptionStatus2>;
2443
- declare const SubscriptionFormatSchema: z4.ZodType<SubscriptionFormat2>;
2444
- declare const SubscriptionRuntimeSchema: z4.ZodType<SubscriptionRuntime2>;
2445
- declare const SubscriptionFilterPrimitiveSchema: z4.ZodType<SubscriptionFilterPrimitive>;
2446
- declare const SubscriptionFilterOperatorSchema: z4.ZodType<SubscriptionFilterOperator>;
2447
- declare const SubscriptionFilterClauseSchema: z4.ZodType<SubscriptionFilterClause>;
2448
- declare const SubscriptionFilterSchema: z4.ZodType<SubscriptionFilter>;
2349
+ declare const SubscriptionStatusSchema: z3.ZodType<SubscriptionStatus2>;
2350
+ declare const SubscriptionFormatSchema: z3.ZodType<SubscriptionFormat2>;
2351
+ declare const SubscriptionRuntimeSchema: z3.ZodType<SubscriptionRuntime2>;
2352
+ declare const SubscriptionFilterPrimitiveSchema: z3.ZodType<SubscriptionFilterPrimitive>;
2353
+ declare const SubscriptionFilterOperatorSchema: z3.ZodType<SubscriptionFilterOperator>;
2354
+ declare const SubscriptionFilterClauseSchema: z3.ZodType<SubscriptionFilterClause>;
2355
+ declare const SubscriptionFilterSchema: z3.ZodType<SubscriptionFilter>;
2449
2356
  declare const CHAIN_TRIGGER_TYPES: readonly ["stx_transfer", "stx_mint", "stx_burn", "stx_lock", "ft_transfer", "ft_mint", "ft_burn", "nft_transfer", "nft_mint", "nft_burn", "contract_call", "contract_deploy", "print_event", "sbtc_deposit", "sbtc_withdrawal_create", "sbtc_withdrawal_accept", "sbtc_withdrawal_reject", "sbtc_withdrawal_swept_confirmed"];
2450
2357
  /**
2451
2358
  * Per-type accepted filter fields for chain triggers, DERIVED from
@@ -2453,9 +2360,9 @@ declare const CHAIN_TRIGGER_TYPES: readonly ["stx_transfer", "stx_mint", "stx_bu
2453
2360
  * the validator. `{ stx_transfer: ["sender","recipient","minAmount","maxAmount"], ... }`.
2454
2361
  */
2455
2362
  declare const CHAIN_TRIGGER_FIELDS: Record<string, string[]>;
2456
- declare const CreateSubscriptionRequestSchema: z4.ZodType<ParsedCreateSubscriptionRequest>;
2457
- declare const UpdateSubscriptionRequestSchema: z4.ZodType<UpdateSubscriptionRequest>;
2458
- declare const ReplaySubscriptionRequestSchema: z4.ZodType<ReplaySubscriptionRequest>;
2363
+ declare const CreateSubscriptionRequestSchema: z3.ZodType<ParsedCreateSubscriptionRequest>;
2364
+ declare const UpdateSubscriptionRequestSchema: z3.ZodType<UpdateSubscriptionRequest>;
2365
+ declare const ReplaySubscriptionRequestSchema: z3.ZodType<ReplaySubscriptionRequest>;
2459
2366
  type SubscriptionStatus2 = (typeof SUBSCRIPTION_STATUSES)[number];
2460
2367
  /** Polymorphic subscription mode (mirrors db/types `SubscriptionKind`). */
2461
2368
  type SubscriptionKind2 = "subgraph" | "chain";
@@ -2676,7 +2583,7 @@ interface SubscriptionSchemaTable {
2676
2583
  columns: Record<string, SubscriptionSchemaColumn>;
2677
2584
  }
2678
2585
  type SubscriptionSchemaTables = Record<string, SubscriptionSchemaTable>;
2679
- declare function formatSubscriptionSchemaErrors(error: z4.ZodError): string[];
2586
+ declare function formatSubscriptionSchemaErrors(error: z3.ZodError): string[];
2680
2587
  declare function validateSubscriptionFilterForTable(input: {
2681
2588
  subgraphName?: string
2682
2589
  tableName: string
@@ -2777,8 +2684,9 @@ declare function publicKeyPemFromPrivate(privateKeyPem: string): string;
2777
2684
  declare function ed25519KeyId(publicKeyPem: string): string;
2778
2685
  declare function signEd25519(payload: string, privateKey: KeyObject): string;
2779
2686
  declare function verifyEd25519(payload: string, signatureBase64: string, publicKey: KeyObject): boolean;
2780
- declare const DECODED_EVENT_TYPES: readonly ["stx_transfer", "stx_mint", "stx_burn", "stx_lock", "ft_transfer", "ft_mint", "ft_burn", "nft_transfer", "nft_mint", "nft_burn", "print"];
2781
- type DecodedEventType = (typeof DECODED_EVENT_TYPES)[number];
2687
+ import { DECODED_EVENT_TYPES } from "@secondlayer/stacks/filters";
2688
+ import { DecodedEventType } from "@secondlayer/stacks/filters";
2689
+ import { DECODED_EVENT_TYPES as DECODED_EVENT_TYPES2, DecodedEventType as DecodedEventType2 } from "@secondlayer/stacks/filters";
2782
2690
  /** Alias kept for the Streams surface (identical to {@link DECODED_EVENT_TYPES}).
2783
2691
  * Explicit type annotation required — isolatedDeclarations emits `unknown` for
2784
2692
  * a bare const-to-const alias. */
@@ -3093,4 +3001,4 @@ interface ChainTestDelivery {
3093
3001
  * "Chain subscription webhook payloads" doc.
3094
3002
  */
3095
3003
  type ChainWebhookDelivery = ChainApplyDeliveryOf<"stx_transfer", ChainEventEnvelope<"stx_transfer_event", ChainStxTransferData>> | ChainApplyDeliveryOf<"stx_mint", ChainEventEnvelope<"stx_mint_event", ChainStxMintData>> | ChainApplyDeliveryOf<"stx_burn", ChainEventEnvelope<"stx_burn_event", ChainStxBurnData>> | ChainApplyDeliveryOf<"stx_lock", ChainEventEnvelope<"stx_lock_event", ChainStxLockData>> | ChainApplyDeliveryOf<"ft_transfer", ChainEventEnvelope<"ft_transfer_event", ChainFtTransferData>> | ChainApplyDeliveryOf<"ft_mint", ChainEventEnvelope<"ft_mint_event", ChainFtMintData>> | ChainApplyDeliveryOf<"ft_burn", ChainEventEnvelope<"ft_burn_event", ChainFtBurnData>> | ChainApplyDeliveryOf<"nft_transfer", ChainEventEnvelope<"nft_transfer_event", ChainNftTransferData>> | ChainApplyDeliveryOf<"nft_mint", ChainEventEnvelope<"nft_mint_event", ChainNftMintData>> | ChainApplyDeliveryOf<"nft_burn", ChainEventEnvelope<"nft_burn_event", ChainNftBurnData>> | ChainApplyDeliveryOf<"print_event", ChainEventEnvelope<"contract_event", ChainPrintEventData>> | ChainApplyDeliveryOf<"contract_call", ChainTxLevelEvent> | ChainApplyDeliveryOf<"contract_deploy", ChainTxLevelEvent> | ChainApplyDeliveryOf<"sbtc_deposit", SbtcDepositEvent> | ChainApplyDeliveryOf<"sbtc_withdrawal_create", SbtcWithdrawalEvent> | ChainApplyDeliveryOf<"sbtc_withdrawal_accept", SbtcWithdrawalEvent> | ChainApplyDeliveryOf<"sbtc_withdrawal_reject", SbtcWithdrawalEvent> | ChainApplyDeliveryOf<"sbtc_withdrawal_swept_confirmed", SbtcWithdrawalSweptConfirmedEvent> | ChainReorgRollbackDelivery | ChainTestDelivery;
3096
- export { validateSubscriptionFilterForTable, sql, setMigrationRole, parseJsonb, onControlPlane, onChainPlane, logger, jsonb, isPox5DecoderEnabled, isPox4DecoderEnabled, getTargetDb, getSourceDb, getRawClientFor, getRawClient, getMigrationRole, getErrorMessage, getEnv, getDbSplitStatus, getDb, generateSubgraphSpec, generateSubgraphOpenApi, generateSubgraphMarkdown, generateSubgraphAgentSchema, formatSubscriptionSchemaErrors, finalizedBurnHeight, encodeStreamsCursor, exports_ed25519 as ed25519, decodeStreamsCursor, exports_hmac as crypto, closeDb, assertDbSplit, X402PaymentsTable, X402BalancesTable, VersionConflictError, ValidationError, UsageSnapshotsTable, UsageSnapshot, UsageDailyTable, UsageDaily, UpdateTransaction, UpdateTenantUsageMonthly, UpdateTenantComputeAddon, UpdateTenant, UpdateSubscriptionRequestSchema, UpdateSubscriptionRequest, UpdateSubscriptionOutbox, UpdateSubscription, UpdateSubgraphOperation, UpdateSubgraph, UpdateProject, UpdateIndexProgress, UpdateEvent, UpdateContract, UpdateBlock, UpdateApiKey, UpdateAccountSpendCap, UpdateAccountCredits, TriggerEvaluatorStateTable, TriggerEvaluatorState, TransactionsTable, TransactionsArchiveTable, Transaction, TenantsTable, TenantUsageMonthlyTable, TenantUsageMonthly, TenantSuspendedError, TenantStatus, TenantComputeAddonsTable, TenantComputeAddon, Tenant, TeamMembersTable, TeamMember, TeamInvitationsTable, TeamInvitation, TABLE_TO_DB, SubscriptionsTable, SubscriptionSummary, SubscriptionStatusSchema, SubscriptionStatus, SubscriptionSchemaTables, SubscriptionSchemaTable, SubscriptionSchemaColumn, SubscriptionRuntimeSchema, SubscriptionRuntime, SubscriptionOutboxTable, SubscriptionOutbox, SubscriptionKind, SubscriptionFormatSchema, SubscriptionFormat, SubscriptionFilterSchema, SubscriptionFilterPrimitiveSchema, SubscriptionFilterPrimitive, SubscriptionFilterOperatorSchema, SubscriptionFilterOperator, SubscriptionFilterClauseSchema, SubscriptionFilterClause, SubscriptionFilter, SubscriptionDetail, SubscriptionDelivery, SubscriptionDeliveriesTable, Subscription, SubgraphsTable, SubgraphUsageDailyTable, SubgraphUsageDaily, SubgraphTableSnapshotsTable, SubgraphSyncInfo, SubgraphSummary, SubgraphSpecOptions, SubgraphSpecFormat, SubgraphResourceWarning, SubgraphQueryParams, SubgraphProcessingStatsTable, SubgraphOperationsTable, SubgraphOperationStatus, SubgraphOperationKind, SubgraphOperation, SubgraphHealthSnapshotsTable, SubgraphHealthSnapshot, SubgraphGapsTable, SubgraphGapsResponse, SubgraphGapRange, SubgraphGapEntry, SubgraphGap, SubgraphDetail, SubgraphAggregateResponse, SubgraphAggregateParams, SubgraphAgentSchema, Subgraph, StxTransferFilterSchema, StxTransferFilter, StxMintFilterSchema, StxMintFilter, StxLockFilterSchema, StxLockFilter, StxBurnFilterSchema, StxBurnFilter, StreamsEventType, StreamsDbEventType, StreamsCursor, SessionsTable, Session, ServiceHeartbeatsTable, SecondLayerError, SbtcWithdrawalSweptConfirmedEvent, SbtcWithdrawalEvent, SbtcTokenEventsTable, SbtcTokenEventType, SbtcSupplySnapshotsTable, SbtcSettlementsTable, SbtcEventsTable, SbtcEventTopic, SbtcDepositEvent, SUBSCRIPTION_STATUSES, SUBSCRIPTION_RUNTIMES, SUBSCRIPTION_FORMATS, SUBSCRIPTION_FILTER_OPERATORS, STREAMS_TO_DB_EVENT_TYPES, STREAMS_EVENT_TYPES, STREAMS_DB_EVENT_TYPES, SOURCE_READ_TYPES, SOURCE_READ_PKS, SOURCE_READ_COLUMNS, RotateSecretResponse, ReplaySubscriptionRequestSchema, ReplaySubscriptionRequest, ReplayResult, ReindexResponse, RateLimitError, ProvisioningAuditStatus, ProvisioningAuditLogTable, ProvisioningAuditLog, ProvisioningAuditEvent, ProjectsTable, Project, ProcessedStripeEventsTable, PrintEventFilterSchema, PrintEventFilter, Pox5EventsTable, Pox5EventTopic, Pox4SignersDailyTable, Pox4FunctionName, Pox4CyclesDailyTable, Pox4CallsTable, PaymentRequiredError, ParsedUpdateSubscriptionRequest, ParsedReplaySubscriptionRequest, ParsedCreateSubscriptionRequest, OutboxStatus, NumericAsText, NotFoundError, NftTransferFilterSchema, NftTransferFilter, NftMintFilterSchema, NftMintFilter, NftBurnFilterSchema, NftBurnFilter, MigrationRole, MempoolTransactionsTable, MempoolTransaction, MagicLinksTable, MagicLink, KeyRotatedError, InsertTransaction, InsertTenantUsageMonthly, InsertTenantComputeAddon, InsertTenant, InsertTeamMember, InsertTeamInvitation, InsertSubscriptionOutbox, InsertSubscriptionDelivery, InsertSubscription, InsertSubgraphUsageDaily, InsertSubgraphOperation, InsertSubgraphHealthSnapshot, InsertSubgraphGap, InsertSubgraph, InsertSession, InsertProvisioningAuditLog, InsertProject, InsertMempoolTransaction, InsertMagicLink, InsertIndexProgress, InsertEvent, InsertContract, InsertClaimToken, InsertBlock, InsertApiKey, InsertAccountSpendCap, InsertAccountInsight, InsertAccountCredits, InsertAccountAgentRun, InsertAccount, IndexProgressTable, IndexProgress, IndexPrimaryKey, IndexColumnType, IndexColumn, FtTransferFilterSchema, FtTransferFilter, FtMintFilterSchema, FtMintFilter, FtBurnFilterSchema, FtBurnFilter, ForbiddenError, EventsTable, EventsArchiveTable, EventFilterSchema, EventFilter, Event, ErrorCodes, ErrorCode, Env, EMPTY_RANGE_EVENT_INDEX_SENTINEL, DeploySubgraphResponse, DeploySubgraphRequestSchema, DeploySubgraphRequest, DeliveryRow, DecoderCheckpointsTable, DecodedEventsTable, DecodedEventType, DeadRow, DeadLetterEventsTable, DbSplitStatus, DbReadRow, DbPlane, DatabaseError, Database, DEFAULT_BTC_CONFIRMATIONS, DECODED_EVENT_TYPES, DB_TO_STREAMS_EVENT_TYPE, CreateSubscriptionResponse, CreateSubscriptionRequestSchema, CreateSubscriptionRequest, ContractsTable, ContractDeployFilterSchema, ContractDeployFilter, ContractCallFilterSchema, ContractCallFilter, Contract, ClaimTokensTable, ClaimToken, ChainWebhookEnvelope, ChainWebhookDelivery, ChainTxLevelEvent, ChainTestDelivery, ChainStxTransferData, ChainStxMintData, ChainStxLockData, ChainStxBurnData, ChainReorgsTable, ChainReorgRollbackEnvelope, ChainReorgRollbackDelivery, ChainReorgOrphanedEntry, ChainPrintEventData, ChainNftTransferData, ChainNftMintData, ChainNftBurnData, ChainFtTransferData, ChainFtMintData, ChainFtBurnData, ChainEventEnvelope, ChainApplyEnvelopeOf, ChainApplyEnvelope, ChainApplyDeliveryOf, CODE_TO_STATUS, CHAIN_TRIGGER_TYPES, CHAIN_TRIGGER_FIELDS, ByoBreakingChangeDetails, BurnBlockRewardsTable, BurnBlockRewardSlotsTable, BnsNamespacesTable, BnsNamespaceEventsTable, BnsNamespaceEventStatus, BnsNamesTable, BnsNameEventsTable, BnsNameEventTopic, BnsMarketplaceEventsTable, BnsMarketplaceAction, BlocksTable, Block, AuthorizationError, AuthenticationError, ApiKeysTable, ApiKey, AccountsTable, AccountSpendCapsTable, AccountSpendCap, AccountInsightsTable, AccountInsight, AccountCreditsTable, AccountCredits, AccountAgentRunsTable, AccountAgentRun, Account };
3004
+ export { validateSubscriptionFilterForTable, sql, setMigrationRole, parseJsonb, onControlPlane, onChainPlane, logger, jsonb, isPox5DecoderEnabled, isPox4DecoderEnabled, getTargetDb, getSourceDb, getRawClientFor, getRawClient, getMigrationRole, getErrorMessage, getEnv, getDbSplitStatus, getDb, generateSubgraphSpec, generateSubgraphOpenApi, generateSubgraphMarkdown, generateSubgraphAgentSchema, formatSubscriptionSchemaErrors, finalizedBurnHeight, encodeStreamsCursor, exports_ed25519 as ed25519, decodeStreamsCursor, exports_hmac as crypto, closeDb, assertDbSplit, X402PaymentsTable, X402BalancesTable, VersionConflictError, ValidationError, UsageSnapshotsTable, UsageSnapshot, UsageDailyTable, UsageDaily, UpdateTransaction, UpdateTenantUsageMonthly, UpdateTenantComputeAddon, UpdateTenant, UpdateSubscriptionRequestSchema, UpdateSubscriptionRequest, UpdateSubscriptionOutbox, UpdateSubscription, UpdateSubgraphOperation, UpdateSubgraph, UpdateProject, UpdateIndexProgress, UpdateEvent, UpdateContract, UpdateBlock, UpdateApiKey, UpdateAccountSpendCap, UpdateAccountCredits, TriggerEvaluatorStateTable, TriggerEvaluatorState, TransactionsTable, TransactionsArchiveTable, Transaction, TenantsTable, TenantUsageMonthlyTable, TenantUsageMonthly, TenantSuspendedError, TenantStatus, TenantComputeAddonsTable, TenantComputeAddon, Tenant, TeamMembersTable, TeamMember, TeamInvitationsTable, TeamInvitation, TABLE_TO_DB, SubscriptionsTable, SubscriptionSummary, SubscriptionStatusSchema, SubscriptionStatus, SubscriptionSchemaTables, SubscriptionSchemaTable, SubscriptionSchemaColumn, SubscriptionRuntimeSchema, SubscriptionRuntime, SubscriptionOutboxTable, SubscriptionOutbox, SubscriptionKind, SubscriptionFormatSchema, SubscriptionFormat, SubscriptionFilterSchema, SubscriptionFilterPrimitiveSchema, SubscriptionFilterPrimitive, SubscriptionFilterOperatorSchema, SubscriptionFilterOperator, SubscriptionFilterClauseSchema, SubscriptionFilterClause, SubscriptionFilter, SubscriptionDetail, SubscriptionDelivery, SubscriptionDeliveriesTable, Subscription, SubgraphsTable, SubgraphUsageDailyTable, SubgraphUsageDaily, SubgraphTableSnapshotsTable, SubgraphSyncInfo, SubgraphSummary, SubgraphSpecOptions, SubgraphSpecFormat, SubgraphResourceWarning, SubgraphQueryParams, SubgraphProcessingStatsTable, SubgraphOperationsTable, SubgraphOperationStatus, SubgraphOperationKind, SubgraphOperation, SubgraphHealthSnapshotsTable, SubgraphHealthSnapshot, SubgraphGapsTable, SubgraphGapsResponse, SubgraphGapRange, SubgraphGapEntry, SubgraphGap, SubgraphDetail, SubgraphAggregateResponse, SubgraphAggregateParams, SubgraphAgentSchema, Subgraph, StreamsEventType, StreamsDbEventType, StreamsCursor, SessionsTable, Session, ServiceHeartbeatsTable, SecondLayerError, SbtcWithdrawalSweptConfirmedEvent, SbtcWithdrawalEvent, SbtcTokenEventsTable, SbtcTokenEventType, SbtcSupplySnapshotsTable, SbtcSettlementsTable, SbtcEventsTable, SbtcEventTopic, SbtcDepositEvent, SUBSCRIPTION_STATUSES, SUBSCRIPTION_RUNTIMES, SUBSCRIPTION_FORMATS, SUBSCRIPTION_FILTER_OPERATORS, STREAMS_TO_DB_EVENT_TYPES, STREAMS_EVENT_TYPES, STREAMS_DB_EVENT_TYPES, SOURCE_READ_TYPES, SOURCE_READ_PKS, SOURCE_READ_COLUMNS, RotateSecretResponse, ReplaySubscriptionRequestSchema, ReplaySubscriptionRequest, ReplayResult, ReindexResponse, RateLimitError, ProvisioningAuditStatus, ProvisioningAuditLogTable, ProvisioningAuditLog, ProvisioningAuditEvent, ProjectsTable, Project, ProcessedStripeEventsTable, Pox5EventsTable, Pox5EventTopic, Pox4SignersDailyTable, Pox4FunctionName, Pox4CyclesDailyTable, Pox4CallsTable, PaymentRequiredError, ParsedUpdateSubscriptionRequest, ParsedReplaySubscriptionRequest, ParsedCreateSubscriptionRequest, OutboxStatus, NumericAsText, NotFoundError, MigrationRole, MempoolTransactionsTable, MempoolTransaction, MagicLinksTable, MagicLink, KeyRotatedError, InsertTransaction, InsertTenantUsageMonthly, InsertTenantComputeAddon, InsertTenant, InsertTeamMember, InsertTeamInvitation, InsertSubscriptionOutbox, InsertSubscriptionDelivery, InsertSubscription, InsertSubgraphUsageDaily, InsertSubgraphOperation, InsertSubgraphHealthSnapshot, InsertSubgraphGap, InsertSubgraph, InsertSession, InsertProvisioningAuditLog, InsertProject, InsertMempoolTransaction, InsertMagicLink, InsertIndexProgress, InsertEvent, InsertContract, InsertClaimToken, InsertBlock, InsertApiKey, InsertAccountSpendCap, InsertAccountInsight, InsertAccountCredits, InsertAccountAgentRun, InsertAccount, IndexProgressTable, IndexProgress, IndexPrimaryKey, IndexColumnType, IndexColumn, ForbiddenError, EventsTable, EventsArchiveTable, Event, ErrorCodes, ErrorCode, Env, EMPTY_RANGE_EVENT_INDEX_SENTINEL, DeploySubgraphResponse, DeploySubgraphRequestSchema, DeploySubgraphRequest, DeliveryRow, DecoderCheckpointsTable, DecodedEventsTable, DecodedEventType2 as DecodedEventType, DeadRow, DeadLetterEventsTable, DbSplitStatus, DbReadRow, DbPlane, DatabaseError, Database, DEFAULT_BTC_CONFIRMATIONS, DECODED_EVENT_TYPES2 as DECODED_EVENT_TYPES, DB_TO_STREAMS_EVENT_TYPE, CreateSubscriptionResponse, CreateSubscriptionRequestSchema, CreateSubscriptionRequest, ContractsTable, Contract, ClaimTokensTable, ClaimToken, ChainWebhookEnvelope, ChainWebhookDelivery, ChainTxLevelEvent, ChainTestDelivery, ChainStxTransferData, ChainStxMintData, ChainStxLockData, ChainStxBurnData, ChainReorgsTable, ChainReorgRollbackEnvelope, ChainReorgRollbackDelivery, ChainReorgOrphanedEntry, ChainPrintEventData, ChainNftTransferData, ChainNftMintData, ChainNftBurnData, ChainFtTransferData, ChainFtMintData, ChainFtBurnData, ChainEventEnvelope, ChainApplyEnvelopeOf, ChainApplyEnvelope, ChainApplyDeliveryOf, CODE_TO_STATUS, CHAIN_TRIGGER_TYPES, CHAIN_TRIGGER_FIELDS, ByoBreakingChangeDetails, BurnBlockRewardsTable, BurnBlockRewardSlotsTable, BnsNamespacesTable, BnsNamespaceEventsTable, BnsNamespaceEventStatus, BnsNamesTable, BnsNameEventsTable, BnsNameEventTopic, BnsMarketplaceEventsTable, BnsMarketplaceAction, BlocksTable, Block, AuthorizationError, AuthenticationError, ApiKeysTable, ApiKey, AccountsTable, AccountSpendCapsTable, AccountSpendCap, AccountInsightsTable, AccountInsight, AccountCreditsTable, AccountCredits, AccountAgentRunsTable, AccountAgentRun, Account };