@nymbalhq/platform 1.7.0 → 1.8.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/{chunk-PYB26JT2.js → chunk-VMUBZ5ET.js} +402 -150
- package/dist/chunk-VMUBZ5ET.js.map +1 -0
- package/dist/index.d.ts +111 -9
- package/dist/index.js +504 -87
- package/dist/index.js.map +1 -1
- package/dist/{register-NPVDXQ2B.js → register-IEIKFGAW.js} +2 -2
- package/package.json +5 -5
- package/dist/chunk-PYB26JT2.js.map +0 -1
- /package/dist/{register-NPVDXQ2B.js.map → register-IEIKFGAW.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NymbalConfig, AssistantMaskField } from '@nymbalhq/config';
|
|
1
|
+
import { NymbalConfig, CustomerField, AssistantMaskField } from '@nymbalhq/config';
|
|
2
2
|
export { secureCookies } from '@nymbalhq/config';
|
|
3
|
-
import { Logger, DocumentStoreAdapter, EventBusAdapter, MediaStorage, Product, ProductStatus, ProductType, ProductMedia, Variant, VariantDimensions, VariantOption, VariantStatus, Category, Customer, Role, CustomerAddress, Order, OrderStatus, Address, OrderLineItem, CaptureMethod, OrderSource, OrderHistoryEntry, OrderRefundStatus, OrderRefund, InventoryReservation, StockAdjustmentReason, StockAdjustment, Review, ReviewModerationStatus, NymbalEvent, Cart, AuditSubject, AuditActor, AuditOutcome, AuditEntry, AlertKind, AlertStatus, ProposalStatus, ProposalDecider, ProposalView, HealthReport, PutOptions, QueryParams, QueryResult, EventHandler, SubscriptionConfig, Subscription, NymbalEnvironment, NymbalEventType, NymbalEventMap, RequestAuth, AdapterSetting, CommerceSlotAdapters, SecurityAdapter, AiAdapter, PaymentsAdapter, CartSource, EmailAdapter, ProductSnapshot, CartItem, StockStatus, PaymentIntent, CheckoutPayment, SearchParams, SearchResult, SearchAdapter, OrderPayment, Refund, RecentViewer, ReviewsAdapter, Caller, ToolResult, ProposalPage, CommerceSlot, HttpAdapter, ToolSurface, RequestContext, ResponseEnvelope, RouteHandler, ToolDefinition, JsonSchemaObject, AssistantFrame, ResolvedNetwork, AgentSurfaces, AgentSurfaceUrls, AgentSurfaceAdapter, HealthStatus, SecurityNetwork, OriginLockRule, Slot, ProviderPackageModule, RateLimitAction, AnalyticsAdapter, ShippingAdapter, TaxAdapter } from '@nymbalhq/types';
|
|
3
|
+
import { Logger, DocumentStoreAdapter, EventBusAdapter, MediaStorage, Product, ProductStatus, ProductType, ProductMedia, Variant, VariantDimensions, VariantOption, VariantStatus, Category, Customer, Role, CustomerAddress, Order, OrderStatus, Address, OrderLineItem, CaptureMethod, OrderSource, OrderHistoryEntry, OrderRefundStatus, OrderRefund, InventoryReservation, StockAdjustmentReason, StockAdjustment, Review, ReviewModerationStatus, NymbalEvent, Cart, AuditSubject, AuditActor, AuditOutcome, AuditEntry, AlertKind, AlertStatus, ProposalStatus, ProposalDecider, ProposalView, HealthReport, PutOptions, QueryParams, QueryResult, EventHandler, SubscriptionConfig, Subscription, NymbalEnvironment, NymbalEventType, NymbalEventMap, RequestAuth, AdapterSetting, CommerceSlotAdapters, SecurityAdapter, AiAdapter, PaymentsAdapter, CartSource, EmailAdapter, ProductSnapshot, CartItem, StockStatus, PaymentIntent, CheckoutPayment, SearchParams, SearchResult, SearchAdapter, OrderPayment, Refund, RecentViewer, ReviewsAdapter, Caller, ToolResult, ProposalPage, CommerceSlot, HttpAdapter, ToolSurface, RequestContext, ResponseEnvelope, RouteHandler, ToolDefinition, JsonSchemaObject, AssistantFrame, ResolvedNetwork, AgentSurfaces, ChatUsage, AgentSurfaceUrls, AgentSurfaceAdapter, HealthStatus, SecurityNetwork, OriginLockRule, Slot, ProviderPackageModule, RateLimitAction, AnalyticsAdapter, ShippingAdapter, TaxAdapter } from '@nymbalhq/types';
|
|
4
4
|
export { MediaStorage, buildSecurityHeaders, isValidCorrelationId } from '@nymbalhq/types';
|
|
5
5
|
import BetterSqlite3 from 'better-sqlite3';
|
|
6
6
|
import pg from 'pg';
|
|
@@ -422,6 +422,27 @@ interface AgentTotals {
|
|
|
422
422
|
/** At most `top` sources: revenue descending, then count descending, then source ascending. */
|
|
423
423
|
bySource: AgentSourceTotals[];
|
|
424
424
|
}
|
|
425
|
+
/** The admin order list's filters, each run in the query. */
|
|
426
|
+
interface OrderListFilter {
|
|
427
|
+
status?: OrderStatus;
|
|
428
|
+
/**
|
|
429
|
+
* ISO instants in any form the route admits (a date, seconds without milliseconds, an offset), compared as instants:
|
|
430
|
+
* createdAt >= from, createdAt <= to.
|
|
431
|
+
*/
|
|
432
|
+
from?: string;
|
|
433
|
+
to?: string;
|
|
434
|
+
/** The customerId or the email holds it, case-insensitive, every character literal (% and _ are not wildcards). */
|
|
435
|
+
customer?: string;
|
|
436
|
+
/** The orderNumber or the email holds it, case-insensitive, every character literal. */
|
|
437
|
+
q?: string;
|
|
438
|
+
/**
|
|
439
|
+
* The shipping postalCode, upper-cased without spaces (U+0020 only), starts with this upper-cased without spaces,
|
|
440
|
+
* every character literal; a missing or empty shipping postalCode matches nothing.
|
|
441
|
+
*/
|
|
442
|
+
postcode?: string;
|
|
443
|
+
/** The shipping country equals this, case-insensitive; a missing or empty shipping country matches nothing. */
|
|
444
|
+
country?: string;
|
|
445
|
+
}
|
|
425
446
|
interface OrderInsert {
|
|
426
447
|
id: string;
|
|
427
448
|
orderNumber: string;
|
|
@@ -478,11 +499,13 @@ interface OrderRepository extends StoreRepository {
|
|
|
478
499
|
totalsByCustomer(tx: ReadTx, customerId: string): Promise<CustomerOrderTotals>;
|
|
479
500
|
/** The `agent:` orders created at or after `since`, any status, and the `top` agents among them. */
|
|
480
501
|
agentTotals(tx: ReadTx, since: Date, top: number): Promise<AgentTotals>;
|
|
481
|
-
|
|
482
|
-
|
|
502
|
+
/** The orders the filter matches, createdAt descending, then sequence descending. */
|
|
503
|
+
list(tx: ReadTx, opts?: OrderListFilter & {
|
|
483
504
|
limit?: number;
|
|
484
505
|
offset?: number;
|
|
485
506
|
}): Promise<Order[]>;
|
|
507
|
+
/** How many orders the filter matches. */
|
|
508
|
+
count(tx: ReadTx, filter?: OrderListFilter): Promise<number>;
|
|
486
509
|
/** Rows by id after `page.after`: a walk over the table that a concurrent write cannot make skip a row. */
|
|
487
510
|
listPage(tx: ReadTx, page: KeysetPage): Promise<Order[]>;
|
|
488
511
|
insert(tx: Tx, o: OrderInsert): Promise<void>;
|
|
@@ -2031,10 +2054,26 @@ interface RouteSchema {
|
|
|
2031
2054
|
*/
|
|
2032
2055
|
handles?: Record<string, string>;
|
|
2033
2056
|
/**
|
|
2034
|
-
* The customer fields a
|
|
2057
|
+
* The customer fields a route's answer can carry. The assistant sends a tool's result to the AI provider as it is, so
|
|
2035
2058
|
* `agents.assistant.customerData: false` leaves every marked route off the assistant, and the docs list them.
|
|
2036
2059
|
*/
|
|
2037
2060
|
personal?: readonly PersonalField[];
|
|
2061
|
+
/**
|
|
2062
|
+
* The command removes, hides for good or reverses a record (a delete, an archive, a cancellation, a refund): the
|
|
2063
|
+
* admin's assistant runs at most MAX_DESTRUCTIVE_PER_TURN of them in one turn.
|
|
2064
|
+
*/
|
|
2065
|
+
destructive?: true;
|
|
2066
|
+
/** Kept from one agent surface while the others keep the tool: `assistant: false` is not offered to Ask. */
|
|
2067
|
+
agents?: {
|
|
2068
|
+
assistant?: false;
|
|
2069
|
+
};
|
|
2070
|
+
/**
|
|
2071
|
+
* The admin's assistant sends each of the answer's `items` to the model as this record's summary
|
|
2072
|
+
* (`assistant/summary.ts`); every other reader gets the items whole.
|
|
2073
|
+
*/
|
|
2074
|
+
summary?: 'order' | 'product';
|
|
2075
|
+
/** The answer names orders or customers the admin's assistant shows a card of, read by the admin from the store. */
|
|
2076
|
+
record?: 'order' | 'customer';
|
|
2038
2077
|
}
|
|
2039
2078
|
/** A customer field a route's answer can carry. */
|
|
2040
2079
|
type PersonalField = 'email' | 'phone' | 'address';
|
|
@@ -2084,6 +2123,8 @@ interface InvokerDeps {
|
|
|
2084
2123
|
proposals: Pick<ProposalService, 'propose' | 'run'>;
|
|
2085
2124
|
policy: Policy;
|
|
2086
2125
|
logger: Logger;
|
|
2126
|
+
/** The customer fields an admin-scope tool's result never carries to the caller; [] sends them. */
|
|
2127
|
+
withhold: readonly CustomerField[];
|
|
2087
2128
|
}
|
|
2088
2129
|
/** The tool surface, and how a stored proposal is run through its route (for the proposal service, not for agents). */
|
|
2089
2130
|
interface Invoker extends ToolSurface {
|
|
@@ -2118,11 +2159,14 @@ interface AssistantDeps {
|
|
|
2118
2159
|
tools: ToolSurface;
|
|
2119
2160
|
proposals: Pick<ProposalService, 'get'>;
|
|
2120
2161
|
logger: Logger;
|
|
2121
|
-
/** The store's name and
|
|
2162
|
+
/** The store's name, currency and IANA time zone, for the model's instructions. */
|
|
2122
2163
|
store?: {
|
|
2123
2164
|
name: string;
|
|
2124
2165
|
currency: string;
|
|
2166
|
+
timezone: string;
|
|
2125
2167
|
};
|
|
2168
|
+
/** The clock the turn's date is read from, once at its start; `Date.now` when absent. */
|
|
2169
|
+
now?: () => number;
|
|
2126
2170
|
limits?: {
|
|
2127
2171
|
maxSteps?: number;
|
|
2128
2172
|
turnMs?: number;
|
|
@@ -2158,7 +2202,8 @@ declare function streamOf(ai: AiAdapter): Stream;
|
|
|
2158
2202
|
* One assistant turn: the model is called with the store's tools, each tool it asks for runs through the tool surface
|
|
2159
2203
|
* as the admin, and its result goes back to it, until it answers without calls. `emit` receives every frame; the turn
|
|
2160
2204
|
* ends with one `done` or one `error` frame, or with none when `signal` aborts (the merchant has gone). It is bounded by
|
|
2161
|
-
* `maxSteps` model requests, `turnMs`, ten calls per reply, ten writes and 64 000 characters
|
|
2205
|
+
* `maxSteps` model requests, `turnMs`, ten calls per reply, ten writes, three of them destructive, and 64 000 characters
|
|
2206
|
+
* of results; a reply its length limit cut ends the turn with `assistant.answer_cut`. Each call
|
|
2162
2207
|
* carries its own correlation id, `<turnId>.<n>`, and logs one line without its arguments or result.
|
|
2163
2208
|
*/
|
|
2164
2209
|
declare function runAssistantTurn(deps: AssistantDeps, turn: AssistantTurn, emit: (frame: AssistantFrame) => void, signal?: AbortSignal): Promise<void>;
|
|
@@ -2222,6 +2267,10 @@ interface GoldenOrder {
|
|
|
2222
2267
|
id: string;
|
|
2223
2268
|
orderNumber: string;
|
|
2224
2269
|
email: string;
|
|
2270
|
+
/** The full name on the order's shipping address. */
|
|
2271
|
+
name: string;
|
|
2272
|
+
/** The full name of the order's customer account; null for a guest order. */
|
|
2273
|
+
account: string | null;
|
|
2225
2274
|
capturedMinor: number;
|
|
2226
2275
|
refundedMinor: number;
|
|
2227
2276
|
}
|
|
@@ -2268,6 +2317,16 @@ declare const GOLDEN_QUESTIONS: readonly GoldenQuestion[];
|
|
|
2268
2317
|
*/
|
|
2269
2318
|
declare function goldenStore(app: NymbalApp): Promise<void>;
|
|
2270
2319
|
|
|
2320
|
+
/** One call the model made, as the store's tools received it. */
|
|
2321
|
+
interface GoldenCall {
|
|
2322
|
+
name: string;
|
|
2323
|
+
/** `command` for any write (a session write too); `unknown` for a name the store's tools lack. */
|
|
2324
|
+
kind: 'read' | 'command' | 'unknown';
|
|
2325
|
+
/** The arguments the tools received, placeholders revealed; null for a call that never reached them. */
|
|
2326
|
+
args: Record<string, unknown> | null;
|
|
2327
|
+
/** `ok`, `proposed`, `applied`, or the error code. */
|
|
2328
|
+
outcome: string;
|
|
2329
|
+
}
|
|
2271
2330
|
interface GoldenResult {
|
|
2272
2331
|
id: string;
|
|
2273
2332
|
/** The question as asked, its order numbers filled in. */
|
|
@@ -2280,12 +2339,39 @@ interface GoldenResult {
|
|
|
2280
2339
|
/** The ids of the proposals the turn made. */
|
|
2281
2340
|
proposals: string[];
|
|
2282
2341
|
answer: string;
|
|
2342
|
+
/** Every call, in order, with its kind, arguments and outcome. */
|
|
2343
|
+
trace: GoldenCall[];
|
|
2283
2344
|
}
|
|
2345
|
+
/** The tokens of every request a run made, as the provider reported them; the cache counts are 0 where it gave none. */
|
|
2346
|
+
type GoldenUsage = Required<ChatUsage>;
|
|
2284
2347
|
interface GoldenReport {
|
|
2285
2348
|
passed: number;
|
|
2286
2349
|
total: number;
|
|
2287
2350
|
results: GoldenResult[];
|
|
2351
|
+
/** The models the provider said answered, in the order first met. */
|
|
2352
|
+
models: string[];
|
|
2353
|
+
usage: GoldenUsage;
|
|
2354
|
+
}
|
|
2355
|
+
/** Several runs of the golden set, each question judged by majority. */
|
|
2356
|
+
interface GoldenTally {
|
|
2357
|
+
runs: number;
|
|
2358
|
+
/** The questions that are `ok`. */
|
|
2359
|
+
passed: number;
|
|
2360
|
+
total: number;
|
|
2361
|
+
/** In the first report's order: how many runs passed each, and whether more than half did. */
|
|
2362
|
+
questions: Array<{
|
|
2363
|
+
id: string;
|
|
2364
|
+
passed: number;
|
|
2365
|
+
ok: boolean;
|
|
2366
|
+
}>;
|
|
2367
|
+
}
|
|
2368
|
+
/** The AI provider refused a question's turn in a way no later question would escape: the run stops there. */
|
|
2369
|
+
declare class GoldenAdapterError extends Error {
|
|
2370
|
+
readonly question: string;
|
|
2371
|
+
readonly code: string;
|
|
2372
|
+
constructor(question: string, code: string, message: string);
|
|
2288
2373
|
}
|
|
2374
|
+
declare function tallyGolden(reports: readonly GoldenReport[]): GoldenTally;
|
|
2289
2375
|
interface RunGoldenOptions {
|
|
2290
2376
|
/** Question ids to run; all of them when omitted. */
|
|
2291
2377
|
only?: string[];
|
|
@@ -2297,6 +2383,22 @@ interface RunGoldenOptions {
|
|
|
2297
2383
|
*/
|
|
2298
2384
|
declare function runGolden(app: NymbalApp, opts?: RunGoldenOptions): Promise<GoldenReport>;
|
|
2299
2385
|
|
|
2386
|
+
/** A record of the last real eval run, as `nymbal eval assistant --stamp` writes it. */
|
|
2387
|
+
interface AssistantEvalStamp {
|
|
2388
|
+
hash: string;
|
|
2389
|
+
/** `pending` until a run against a real provider records one. */
|
|
2390
|
+
provider: string;
|
|
2391
|
+
model: string | null;
|
|
2392
|
+
runs: number | null;
|
|
2393
|
+
passed: number | null;
|
|
2394
|
+
total: number | null;
|
|
2395
|
+
threshold: number | null;
|
|
2396
|
+
/** The day of the run, `YYYY-MM-DD`. */
|
|
2397
|
+
date: string | null;
|
|
2398
|
+
}
|
|
2399
|
+
/** The hash of `assistantEvalInput`, as the stamp records it. */
|
|
2400
|
+
declare function assistantEvalHash(surface: Pick<ToolSurface, 'list'>): string;
|
|
2401
|
+
|
|
2300
2402
|
/** The Universal Commerce Protocol release this store speaks. */
|
|
2301
2403
|
declare const UCP_VERSION = "2026-08-25";
|
|
2302
2404
|
/**
|
|
@@ -2833,5 +2935,5 @@ interface LocalFsMediaStorageOptions {
|
|
|
2833
2935
|
declare const LOCAL_FS_MEDIA_CAPABILITIES: readonly string[];
|
|
2834
2936
|
declare function createLocalFsMediaStorage(options: LocalFsMediaStorageOptions): MediaStorage;
|
|
2835
2937
|
|
|
2836
|
-
export { ALERT_CONFIRMATION_INTERVAL_MS, ASSISTANT_AGENT, CATCH_UP_MARGIN_MS, CSRF_COOKIE, CSRF_HEADER, GOLDEN_QUESTIONS, InMemoryDocumentStore, InProcessEventBus, LOCAL_FS_MEDIA_CAPABILITIES, PROVIDER_REFUND_REASON, READ_MODELS, READ_MODEL_NAMES, REDIS_DEFAULTS, REFRESH_REUSE_WINDOW_MS, REVIEW_VERIFYING_STATUSES, RateLimiter, RebuildError, RouteTable, SECRETS_KEY_ENV, SECRETS_KEY_OLD_ENV, UCP_VERSION, actorOf, agentNameOf, agentReadiness, appendAuditEntry, audit, auditEntriesInOrder, auditedCommand, buildAdapters, buildRepositories, buildServices, checkAdapterModule, confirmationDue, createAlertService, createAlertSubscriptionRepository, createApp, createAuditEntryRepository, createAuthService, createCartCatalogue, createCartRepository, createCartService, createCategoryRepository, createCategoryService, createCheckoutService, createCommandStore, createCustomerRepository, createCustomerService, createEmailSuppressionRepository, createEventBuilder, createEventLogRepository, createEventPublisher, createImportRemovalService, createInventoryReservationRepository, createInventoryService, createInvoker, createCategoryRepository$1 as createLegacyCategoryRepository, createProductRepository$1 as createLegacyProductRepository, createLocalFsMediaStorage, createLogger, createMiddlewareSecurityAdapter, createNativeAnalyticsAdapter, createNativeEmailAdapter, createNativeReviewsAdapter, createNativeSearchAdapter, createNativeShippingAdapter, createNativeStubPaymentsAdapter, createNativeTaxAdapter, createOrderAccessKeyRepository, createOrderHistoryRepository, createOrderRefundRepository, createOrderRepository, createOrderSequenceRepository, createOrderService, createOrderShipmentRepository, createPlatform, createProcessedEventRepository, createProductCategoryRepository, createProductRepository, createProductService, createProposalRepository, createProposalService, createRecentlyViewedService, createRefreshTokenRepository, createRefundService, createRelay, createReviewRepository, createReviewService, createSearchService, createSettingsRepository, createStockAdjustmentRepository, createUcpSurface, createVariantRepository, currentActor, currentCorrelationId, declaredSettings, decodeProposalCursor, decrypt, diagnose, diffReadModel, emailDelivers, encodeProposalCursor, encodeSearchCursor, encrypt, fillFromSettings, findAppliedByKey, goldenStore, importAdapterModule, installLine, isLoopbackHost, isMissingSettingsTable, isSellable, jsonSchemaOf, keyId, keyProblem, listAuditEntries, migrationState, missingPackage, newAlertToken, newCorrelationId, openReadModels, orderPayment, parseDurationToMs, policyOf, proposalView, rawClients, readSecretsKey, rebuild, recordingAdapter, refreshRefunded, registerAdminStaticRoute, registerAlertHandler, registerAlertRoutes, registerAllRoutes, registerHandlers, resolveAuthSecret, resolveChoice, resolvePrimitives, routeSchemas, runAsActor, runAssistantTurn, runGolden, runMigrations, runSeed, runWithCorrelation, sanitizeDescription, scrub, seedCategories, seedProducts, settingAad, settlementOf, sqliteFile, startCartAbandonmentSweeper, startEventRetentionSweeper, startInventoryReservationSweeper, startRefreshTokenSweeper, streamOf, toolName, toolsOf, ucpProfile, withIdempotency };
|
|
2837
|
-
export type { AbandonedCart, AbandonedWindow, Actor, AdapterRegistry, AgentSourceTotals, AgentTotals, AlertConfirmed, AlertService, AlertSubscribeInput, AlertSubscription, AlertSubscriptionPatch, AlertSubscriptionRepository, AlertSubscriptionRequest, AppliedEntry, AssistantDeps, AssistantTurn, AttachHttpOptions, AuditCursor, AuditEntryInsert, AuditEntryRepository, AuditFilter, AuditQuery, AuthSecret, AuthService, AuthTokens, BeginCheckoutInput, BeginCheckoutResult, BuildAdaptersDeps, BuildServicesDeps, CapabilitiesReport, CapabilitySlot, CapturedPayment, CartCatalogue, CartRepository, CartService, CatchUpFailure, CategoryCreateInput, CategoryInsert, CategoryRepository, CategoryService, CategoryUpdate, CategoryUpdateInput, CheckoutService, Choice, CollectionDiff, CommandStore, CommandStoreOptions, CommerceAdapters, CreateAlertServiceDeps, CreateAppOptions, CreateAuthServiceDeps, CreateCartServiceDeps, CreateCheckoutServiceDeps, CreateInventoryServiceDeps, CreateLoggerOptions, CreateOrderServiceDeps, CreatePlatformOptions, CreateProductServiceDeps, CreatePublisherOptions, CreateRefundServiceDeps, CreateRelayOptions, CustomerInsert, CustomerJwtPayload, CustomerNote, CustomerOrderTotals, CustomerRepository, CustomerService, CustomerUpdate, CustomerWithHash, DiagnoseOptions, DiagnosisCheck, DiagnosisReport, DiagnosisStatus, EmailSuppressionInput, EmailSuppressionReason, EmailSuppressionRepository, EncryptedValue, EventArchiveWriter, EventBuilderContext, EventLogFilter, EventLogRepository, EventPublisher, EventRetentionSweeperDeps, Executed, FinalizeResult, GoldenFact, GoldenKind, GoldenQuestion, GoldenReport, GoldenResult, IdempotencyOptions, ImportCustomerInput, ImportRemovalService, ImportRemovalServiceDeps, InMemoryDocumentStoreOptions, InProcessEventBusOptions, InjectedAdapters, InventoryReservationRepository, InventoryService, Invoker, InvokerDeps, KeysetPage, CategoryInsert$1 as LegacyCategoryInsert, CategoryRow as LegacyCategoryRow, ProductInsert$1 as LegacyProductInsert, ProductRow as LegacyProductRow, LocalFsMediaStorageOptions, LoggedEvent, MakeEventOptions, ManualPayments, MigrateOptions, MigrationState, NativeEmailAdapterConfig, NymbalApp, OpenReadModelsOptions, OrderAccessKeyInsert, OrderAccessKeyPurpose, OrderAccessKeyRepository, OrderCapture, OrderCreateDraftInput, OrderHistoryInsert, OrderHistoryRepository, OrderImportInput, OrderInsert, OrderKeyState, OrderRefundInsert, OrderRefundRepository, OrderRepository, OrderSequenceRepository, OrderService, OrderShipmentInput, OrderShipmentRepository, Platform, PlatformConnectionOptions, Policy, PostgresClient, Primitives, ProcessedEventRepository, ProductCategoryRepository, ProductCreateInput, ProductInsert, ProductRepository, ProductService, ProductUpdate, ProductUpdateInput, ProfileUpdate, Proposal, ProposalCursor, ProposalDecision, ProposalInsert, ProposalQuery, ProposalRecord, ProposalRepository, ProposalService, ProposalServiceDeps, ProposalSettlement, PublishOptions, RawClients, ReadModel, ReadModelDiff, ReadModelName, ReadTx, RebuildDeps, RebuildReport, RebuildReportEntry, RecentlyViewedService, RecentlyViewedServiceDeps, RefreshTokenInsert, RefreshTokenRepository, RefreshTokenRow, RefreshTokenSweeperDeps, RefundInput, RefundResult, RefundService, RegisterAlertHandlerDeps, RegisterAlertRoutesDeps, RegisterAllRoutesDeps, RegisterHandlersDeps, RegisterInput, Relay, RemovalOutcome, Repositories, ReservationInsert, ReserveStockResult, Resolution, ResolvePrimitivesOptions, ReviewInsert, ReviewKey, ReviewRepository, ReviewService, ReviewServiceDeps, ReviewSubmitInput, RouteSchema, RunGoldenOptions, SearchService, SecretsKey, SeedCategory, SeedDeps, SeedProduct, SeedResult, ServiceRegistry, SettingRow, SettingSource, SettingValue, SettingsRepository, Settlement, SlotCapabilities, SqliteClient, StockAdjustmentInsert, StockAdjustmentRepository, StoreActivity, StoreRepository, StoredCipher, SweeperHandle, Tx, UcpSurfaceDeps, VariantInsert, VariantPriceInput, VariantRepository, VariantUpdate };
|
|
2938
|
+
export { ALERT_CONFIRMATION_INTERVAL_MS, ASSISTANT_AGENT, CATCH_UP_MARGIN_MS, CSRF_COOKIE, CSRF_HEADER, GOLDEN_QUESTIONS, GoldenAdapterError, InMemoryDocumentStore, InProcessEventBus, LOCAL_FS_MEDIA_CAPABILITIES, PROVIDER_REFUND_REASON, READ_MODELS, READ_MODEL_NAMES, REDIS_DEFAULTS, REFRESH_REUSE_WINDOW_MS, REVIEW_VERIFYING_STATUSES, RateLimiter, RebuildError, RouteTable, SECRETS_KEY_ENV, SECRETS_KEY_OLD_ENV, UCP_VERSION, actorOf, agentNameOf, agentReadiness, appendAuditEntry, assistantEvalHash, audit, auditEntriesInOrder, auditedCommand, buildAdapters, buildRepositories, buildServices, checkAdapterModule, confirmationDue, createAlertService, createAlertSubscriptionRepository, createApp, createAuditEntryRepository, createAuthService, createCartCatalogue, createCartRepository, createCartService, createCategoryRepository, createCategoryService, createCheckoutService, createCommandStore, createCustomerRepository, createCustomerService, createEmailSuppressionRepository, createEventBuilder, createEventLogRepository, createEventPublisher, createImportRemovalService, createInventoryReservationRepository, createInventoryService, createInvoker, createCategoryRepository$1 as createLegacyCategoryRepository, createProductRepository$1 as createLegacyProductRepository, createLocalFsMediaStorage, createLogger, createMiddlewareSecurityAdapter, createNativeAnalyticsAdapter, createNativeEmailAdapter, createNativeReviewsAdapter, createNativeSearchAdapter, createNativeShippingAdapter, createNativeStubPaymentsAdapter, createNativeTaxAdapter, createOrderAccessKeyRepository, createOrderHistoryRepository, createOrderRefundRepository, createOrderRepository, createOrderSequenceRepository, createOrderService, createOrderShipmentRepository, createPlatform, createProcessedEventRepository, createProductCategoryRepository, createProductRepository, createProductService, createProposalRepository, createProposalService, createRecentlyViewedService, createRefreshTokenRepository, createRefundService, createRelay, createReviewRepository, createReviewService, createSearchService, createSettingsRepository, createStockAdjustmentRepository, createUcpSurface, createVariantRepository, currentActor, currentCorrelationId, declaredSettings, decodeProposalCursor, decrypt, diagnose, diffReadModel, emailDelivers, encodeProposalCursor, encodeSearchCursor, encrypt, fillFromSettings, findAppliedByKey, goldenStore, importAdapterModule, installLine, isLoopbackHost, isMissingSettingsTable, isSellable, jsonSchemaOf, keyId, keyProblem, listAuditEntries, migrationState, missingPackage, newAlertToken, newCorrelationId, openReadModels, orderPayment, parseDurationToMs, policyOf, proposalView, rawClients, readSecretsKey, rebuild, recordingAdapter, refreshRefunded, registerAdminStaticRoute, registerAlertHandler, registerAlertRoutes, registerAllRoutes, registerHandlers, resolveAuthSecret, resolveChoice, resolvePrimitives, routeSchemas, runAsActor, runAssistantTurn, runGolden, runMigrations, runSeed, runWithCorrelation, sanitizeDescription, scrub, seedCategories, seedProducts, settingAad, settlementOf, sqliteFile, startCartAbandonmentSweeper, startEventRetentionSweeper, startInventoryReservationSweeper, startRefreshTokenSweeper, streamOf, tallyGolden, toolName, toolsOf, ucpProfile, withIdempotency };
|
|
2939
|
+
export type { AbandonedCart, AbandonedWindow, Actor, AdapterRegistry, AgentSourceTotals, AgentTotals, AlertConfirmed, AlertService, AlertSubscribeInput, AlertSubscription, AlertSubscriptionPatch, AlertSubscriptionRepository, AlertSubscriptionRequest, AppliedEntry, AssistantDeps, AssistantEvalStamp, AssistantTurn, AttachHttpOptions, AuditCursor, AuditEntryInsert, AuditEntryRepository, AuditFilter, AuditQuery, AuthSecret, AuthService, AuthTokens, BeginCheckoutInput, BeginCheckoutResult, BuildAdaptersDeps, BuildServicesDeps, CapabilitiesReport, CapabilitySlot, CapturedPayment, CartCatalogue, CartRepository, CartService, CatchUpFailure, CategoryCreateInput, CategoryInsert, CategoryRepository, CategoryService, CategoryUpdate, CategoryUpdateInput, CheckoutService, Choice, CollectionDiff, CommandStore, CommandStoreOptions, CommerceAdapters, CreateAlertServiceDeps, CreateAppOptions, CreateAuthServiceDeps, CreateCartServiceDeps, CreateCheckoutServiceDeps, CreateInventoryServiceDeps, CreateLoggerOptions, CreateOrderServiceDeps, CreatePlatformOptions, CreateProductServiceDeps, CreatePublisherOptions, CreateRefundServiceDeps, CreateRelayOptions, CustomerInsert, CustomerJwtPayload, CustomerNote, CustomerOrderTotals, CustomerRepository, CustomerService, CustomerUpdate, CustomerWithHash, DiagnoseOptions, DiagnosisCheck, DiagnosisReport, DiagnosisStatus, EmailSuppressionInput, EmailSuppressionReason, EmailSuppressionRepository, EncryptedValue, EventArchiveWriter, EventBuilderContext, EventLogFilter, EventLogRepository, EventPublisher, EventRetentionSweeperDeps, Executed, FinalizeResult, GoldenCall, GoldenFact, GoldenKind, GoldenQuestion, GoldenReport, GoldenResult, GoldenTally, GoldenUsage, IdempotencyOptions, ImportCustomerInput, ImportRemovalService, ImportRemovalServiceDeps, InMemoryDocumentStoreOptions, InProcessEventBusOptions, InjectedAdapters, InventoryReservationRepository, InventoryService, Invoker, InvokerDeps, KeysetPage, CategoryInsert$1 as LegacyCategoryInsert, CategoryRow as LegacyCategoryRow, ProductInsert$1 as LegacyProductInsert, ProductRow as LegacyProductRow, LocalFsMediaStorageOptions, LoggedEvent, MakeEventOptions, ManualPayments, MigrateOptions, MigrationState, NativeEmailAdapterConfig, NymbalApp, OpenReadModelsOptions, OrderAccessKeyInsert, OrderAccessKeyPurpose, OrderAccessKeyRepository, OrderCapture, OrderCreateDraftInput, OrderHistoryInsert, OrderHistoryRepository, OrderImportInput, OrderInsert, OrderKeyState, OrderListFilter, OrderRefundInsert, OrderRefundRepository, OrderRepository, OrderSequenceRepository, OrderService, OrderShipmentInput, OrderShipmentRepository, Platform, PlatformConnectionOptions, Policy, PostgresClient, Primitives, ProcessedEventRepository, ProductCategoryRepository, ProductCreateInput, ProductInsert, ProductRepository, ProductService, ProductUpdate, ProductUpdateInput, ProfileUpdate, Proposal, ProposalCursor, ProposalDecision, ProposalInsert, ProposalQuery, ProposalRecord, ProposalRepository, ProposalService, ProposalServiceDeps, ProposalSettlement, PublishOptions, RawClients, ReadModel, ReadModelDiff, ReadModelName, ReadTx, RebuildDeps, RebuildReport, RebuildReportEntry, RecentlyViewedService, RecentlyViewedServiceDeps, RefreshTokenInsert, RefreshTokenRepository, RefreshTokenRow, RefreshTokenSweeperDeps, RefundInput, RefundResult, RefundService, RegisterAlertHandlerDeps, RegisterAlertRoutesDeps, RegisterAllRoutesDeps, RegisterHandlersDeps, RegisterInput, Relay, RemovalOutcome, Repositories, ReservationInsert, ReserveStockResult, Resolution, ResolvePrimitivesOptions, ReviewInsert, ReviewKey, ReviewRepository, ReviewService, ReviewServiceDeps, ReviewSubmitInput, RouteSchema, RunGoldenOptions, SearchService, SecretsKey, SeedCategory, SeedDeps, SeedProduct, SeedResult, ServiceRegistry, SettingRow, SettingSource, SettingValue, SettingsRepository, Settlement, SlotCapabilities, SqliteClient, StockAdjustmentInsert, StockAdjustmentRepository, StoreActivity, StoreRepository, StoredCipher, SweeperHandle, Tx, UcpSurfaceDeps, VariantInsert, VariantPriceInput, VariantRepository, VariantUpdate };
|