@carddb/core 0.3.15 → 0.4.1

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
@@ -2,7 +2,7 @@
2
2
  * Core types for CardDB JavaScript clients
3
3
  */
4
4
  type LogLevel = 'debug' | 'info' | 'warn' | 'error';
5
- type ResourceType = 'publishers' | 'games' | 'datasets' | 'records' | 'decks' | 'importFormats' | 'imports' | 'exports' | 'files';
5
+ type ResourceType = 'publishers' | 'games' | 'datasets' | 'records' | 'decks' | 'importFormats' | 'imports' | 'exports' | 'files' | 'scans' | 'scanTemplates';
6
6
  interface Logger {
7
7
  debug(message: string, ...args: unknown[]): void;
8
8
  info(message: string, ...args: unknown[]): void;
@@ -112,6 +112,7 @@ interface PresignedUpload {
112
112
  uploadUrl: string;
113
113
  expiresAt: string;
114
114
  }
115
+ type UploadPurpose = 'scan_image' | 'import' | 'scan_template_example' | (string & {});
115
116
  type PublisherStatus = 'ACTIVE' | 'DEACTIVATED';
116
117
  interface Publisher {
117
118
  id: string;
@@ -175,6 +176,285 @@ interface GameRef {
175
176
  key: string;
176
177
  name: string;
177
178
  }
179
+ type ScanJobStatus = 'pending' | 'processing' | 'completed' | 'failed' | 'cancelled';
180
+ interface CreateScanJobInput {
181
+ publisherSlug: string;
182
+ gameKey: string;
183
+ datasetKey: string;
184
+ fileId: string;
185
+ clientRequestId?: string;
186
+ templateId?: string;
187
+ templateVersionId?: string;
188
+ hints?: Record<string, unknown>;
189
+ clientOcrHints?: Record<string, unknown>;
190
+ clientNormalization?: Record<string, unknown>;
191
+ webhookUrl?: string;
192
+ webhookSecret?: string;
193
+ }
194
+ interface CreateScanUploadSessionInput {
195
+ publisherSlug: string;
196
+ gameKey: string;
197
+ datasetKey: string;
198
+ filename: string;
199
+ contentType: string;
200
+ size: number;
201
+ }
202
+ interface ConfirmScanUploadInput {
203
+ publisherSlug: string;
204
+ gameKey: string;
205
+ datasetKey: string;
206
+ fileId: string;
207
+ }
208
+ interface ScanJobPayload {
209
+ job: ScanJob;
210
+ created: boolean;
211
+ }
212
+ interface ScanJob {
213
+ jobId: string;
214
+ status: ScanJobStatus | (string & {});
215
+ publisherSlug: string;
216
+ gameKey: string;
217
+ datasetKey: string;
218
+ fileId: string;
219
+ clientRequestId: string | null;
220
+ templateId: string | null;
221
+ templateVersionId: string | null;
222
+ bestMatch: ScanBestMatch | null;
223
+ candidates: ScanCandidate[];
224
+ extracted: Record<string, unknown>;
225
+ metrics: ScanJobMetrics | null;
226
+ webhook: ScanWebhookState | null;
227
+ error: ScanJobError | null;
228
+ createdAt: string;
229
+ updatedAt: string;
230
+ startedAt: string | null;
231
+ completedAt: string | null;
232
+ }
233
+ interface ScanBestMatch {
234
+ recordId: string;
235
+ score: number | null;
236
+ confidence: string | null;
237
+ }
238
+ interface ScanCandidate {
239
+ recordId: string;
240
+ rank: number;
241
+ score: number;
242
+ confidence: string | null;
243
+ reasons: string[];
244
+ }
245
+ interface ScanJobError {
246
+ code: string;
247
+ message: string;
248
+ }
249
+ interface ScanWebhookState {
250
+ configured: boolean;
251
+ url: string | null;
252
+ latestDeliveryId: string | null;
253
+ status: string | null;
254
+ attemptCount: number | null;
255
+ nextAttemptAt: string | null;
256
+ lastAttemptAt: string | null;
257
+ deliveredAt: string | null;
258
+ lastStatusCode: number | null;
259
+ lastError: string | null;
260
+ }
261
+ interface ScanJobMetrics {
262
+ featureVersion: string;
263
+ candidateCount: number;
264
+ confidenceScore: number | null;
265
+ confidenceLabel: string | null;
266
+ stages: ScanStageMetrics[];
267
+ timings: Record<string, unknown> | null;
268
+ }
269
+ interface ScanStageMetrics {
270
+ name: string;
271
+ status: string | null;
272
+ durationMs: number | null;
273
+ completedAt: string | null;
274
+ details: Record<string, unknown> | null;
275
+ }
276
+ interface SubmitScanFeedbackInput {
277
+ jobId: string;
278
+ selectedRecordId?: string;
279
+ correct?: boolean;
280
+ notes?: string;
281
+ metadata?: Record<string, unknown>;
282
+ }
283
+ interface ScanFeedbackPayload {
284
+ feedbackId: string;
285
+ jobId: string;
286
+ status: string;
287
+ persisted: boolean;
288
+ correct: boolean | null;
289
+ predictedRecordId: string | null;
290
+ selectedRecordId: string | null;
291
+ featureVersion: string;
292
+ message: string;
293
+ }
294
+ interface ScanMetricsInput {
295
+ publisherSlug: string;
296
+ gameKey: string;
297
+ datasetKey: string;
298
+ since?: string;
299
+ until?: string;
300
+ }
301
+ interface ScanMetrics {
302
+ publisherSlug: string;
303
+ gameKey: string;
304
+ datasetKey: string;
305
+ since: string;
306
+ until: string;
307
+ generatedAt: string;
308
+ totalJobs: number;
309
+ completedJobs: number;
310
+ failedJobs: number;
311
+ failureRate: number;
312
+ averageShortlistSize: number;
313
+ confidenceDistribution: Record<string, unknown>;
314
+ feedback: ScanFeedbackMetrics;
315
+ featureVersions: ScanFeatureVersionMetrics[];
316
+ }
317
+ interface ScanFeedbackMetrics {
318
+ total: number;
319
+ correct: number;
320
+ corrected: number;
321
+ unknown: number;
322
+ accuracy: number | null;
323
+ }
324
+ interface ScanFeatureVersionMetrics {
325
+ featureVersion: string;
326
+ jobCount: number;
327
+ completedJobs: number;
328
+ failedJobs: number;
329
+ averageConfidence: number | null;
330
+ averageShortlistSize: number;
331
+ feedbackCount: number;
332
+ correctFeedback: number;
333
+ correctedFeedback: number;
334
+ feedbackAccuracy: number | null;
335
+ }
336
+ interface ResolveScanTemplateInput {
337
+ publisherSlug: string;
338
+ gameKey: string;
339
+ datasetKey?: string;
340
+ templateId?: string;
341
+ }
342
+ interface ScanTemplatesInput {
343
+ publisherSlug: string;
344
+ gameKey: string;
345
+ datasetKey?: string;
346
+ includeArchived?: boolean;
347
+ }
348
+ interface SaveScanTemplateInput {
349
+ publisherSlug: string;
350
+ gameKey: string;
351
+ datasetKey: string;
352
+ key: string;
353
+ name: string;
354
+ status: string;
355
+ version: number;
356
+ isDefault: boolean;
357
+ exampleFileId?: string;
358
+ cardAspectRatio?: number;
359
+ notes?: string;
360
+ config?: Record<string, unknown>;
361
+ regions: ScanTemplateRegionInput[];
362
+ }
363
+ interface PreviewScanTemplateInput extends SaveScanTemplateInput {
364
+ datasetKey: string;
365
+ regionOcrHints?: Record<string, unknown>;
366
+ }
367
+ interface ScanTemplateRegionInput {
368
+ id?: string;
369
+ key: string;
370
+ label: string;
371
+ sortOrder: number;
372
+ shapeType: string;
373
+ geometry: Record<string, unknown>;
374
+ semanticType: string;
375
+ extractionMode: string;
376
+ lookupMode: string;
377
+ isRequired: boolean;
378
+ weight?: number;
379
+ config?: Record<string, unknown>;
380
+ }
381
+ interface ScanTemplateResolution {
382
+ template: ScanTemplate | null;
383
+ warnings: ScanTemplateWarning[];
384
+ }
385
+ interface ScanTemplateList {
386
+ templates: ScanTemplate[];
387
+ }
388
+ interface ScanTemplatePayload {
389
+ template: ScanTemplate;
390
+ warnings: ScanTemplateWarning[];
391
+ }
392
+ interface ScanTemplatePreview {
393
+ warnings: ScanTemplateWarning[];
394
+ regions: ScanTemplateRegionPreview[];
395
+ message: string;
396
+ }
397
+ interface ScanTemplate {
398
+ id: string;
399
+ key: string;
400
+ name: string;
401
+ status: string;
402
+ version: number;
403
+ isDefault: boolean;
404
+ publisherSlug: string;
405
+ gameKey: string;
406
+ datasetKey: string | null;
407
+ exampleFileId: string | null;
408
+ coordinateSpace: string;
409
+ cardAspectRatio: number | null;
410
+ notes: string | null;
411
+ config: Record<string, unknown>;
412
+ regions: ScanTemplateRegion[];
413
+ createdAt: string;
414
+ updatedAt: string;
415
+ }
416
+ interface ScanTemplateRegion {
417
+ id: string;
418
+ key: string;
419
+ label: string;
420
+ sortOrder: number;
421
+ shapeType: string;
422
+ geometry: Record<string, unknown>;
423
+ semanticType: string;
424
+ extractionMode: string;
425
+ lookupMode: string;
426
+ isRequired: boolean;
427
+ weight: number | null;
428
+ config: Record<string, unknown>;
429
+ }
430
+ interface ScanTemplateRegionPreview {
431
+ key: string;
432
+ label: string;
433
+ semanticType: string;
434
+ extractionMode: string;
435
+ lookupMode: string;
436
+ rawText: string;
437
+ normalizedValue: string;
438
+ source: string;
439
+ status: string;
440
+ confidence: number | null;
441
+ }
442
+ interface ScanTemplateWarning {
443
+ code: string;
444
+ region: string | null;
445
+ message: string;
446
+ }
447
+ interface GameScanRegion {
448
+ id: string;
449
+ key: string;
450
+ name: string;
451
+ description: string | null;
452
+ sortOrder: number;
453
+ isActive: boolean;
454
+ metadata: Record<string, unknown>;
455
+ createdAt: string;
456
+ updatedAt: string;
457
+ }
178
458
  interface Dataset {
179
459
  id: string;
180
460
  publisherId: string;
@@ -2017,6 +2297,42 @@ declare const QueryBuilder: {
2017
2297
  fileDelete(): {
2018
2298
  query: string;
2019
2299
  };
2300
+ createScanUploadSession(): {
2301
+ query: string;
2302
+ };
2303
+ confirmScanUpload(): {
2304
+ query: string;
2305
+ };
2306
+ createScanJob(): {
2307
+ query: string;
2308
+ };
2309
+ scanJob(): {
2310
+ query: string;
2311
+ };
2312
+ submitScanFeedback(): {
2313
+ query: string;
2314
+ };
2315
+ scanMetrics(): {
2316
+ query: string;
2317
+ };
2318
+ resolveScanTemplate(): {
2319
+ query: string;
2320
+ };
2321
+ scanTemplates(): {
2322
+ query: string;
2323
+ };
2324
+ createScanTemplate(): {
2325
+ query: string;
2326
+ };
2327
+ updateScanTemplate(): {
2328
+ query: string;
2329
+ };
2330
+ previewScanTemplate(): {
2331
+ query: string;
2332
+ };
2333
+ gameScanRegions(): {
2334
+ query: string;
2335
+ };
2020
2336
  exportJob(): {
2021
2337
  query: string;
2022
2338
  };
@@ -2286,6 +2602,17 @@ declare const QueryBuilder: {
2286
2602
  datasetRecordsUpsertVariables(input: DatasetRecordsUpsertInput): Record<string, unknown>;
2287
2603
  datasetRecordsDeleteVariables(input: DatasetRecordsDeleteInput): Record<string, unknown>;
2288
2604
  fileUploadRequestVariables(input: FileUploadInput): Record<string, unknown>;
2605
+ createScanUploadSessionVariables(input: CreateScanUploadSessionInput): Record<string, unknown>;
2606
+ confirmScanUploadVariables(input: ConfirmScanUploadInput): Record<string, unknown>;
2607
+ createScanJobVariables(input: CreateScanJobInput): Record<string, unknown>;
2608
+ submitScanFeedbackVariables(input: SubmitScanFeedbackInput): Record<string, unknown>;
2609
+ scanMetricsVariables(input: ScanMetricsInput): Record<string, unknown>;
2610
+ resolveScanTemplateVariables(input: ResolveScanTemplateInput): Record<string, unknown>;
2611
+ scanTemplatesVariables(input: ScanTemplatesInput): Record<string, unknown>;
2612
+ createScanTemplateVariables(input: SaveScanTemplateInput): Record<string, unknown>;
2613
+ updateScanTemplateVariables(id: string, input: SaveScanTemplateInput): Record<string, unknown>;
2614
+ previewScanTemplateVariables(input: PreviewScanTemplateInput): Record<string, unknown>;
2615
+ gameScanRegionsVariables(publisherSlug: string, gameKey: string, includeInactive?: boolean): Record<string, unknown>;
2289
2616
  datasetExportVariables(input: DatasetExportInput): Record<string, unknown>;
2290
2617
  fetchMe(): {
2291
2618
  query: string;
@@ -2422,4 +2749,4 @@ declare class Collection<T> implements AsyncIterable<T> {
2422
2749
  each(): AsyncIterable<T>;
2423
2750
  }
2424
2751
 
2425
- export { type APIAccount, type APIApplication, type APIKeyInfo, type AppDecksFilterInput, type AppDecksParams, AuthenticationError, type BulkCreateResult, type BulkImportResult, type BulkInsertMode, type BulkRecordError, type Cache, type CardDBConfig, CardDBError, Collection, type Connection, ConnectionError, type CsvOptions, type Dataset, type DatasetExportInput, type DatasetImportFromFileInput, type DatasetImportFromPayloadInput, type DatasetImportFromUrlInput, type DatasetImportPreview, type DatasetImportPreviewInput, type DatasetImportPreviewResult, type DatasetImportRunInput, type DatasetImportValidateInput, type DatasetPurpose, type DatasetRecord, type DatasetRecordDeleteJob, type DatasetRecordDeleteJobConnection, type DatasetRecordDeleteJobResult, type DatasetRecordDeleteJobStatus, type DatasetRecordDeleteResultStatus, type DatasetRecordDeleteTargetType, type DatasetRecordsDeleteInput, type DatasetRecordsUpsertInput, type DatasetRecordsUpsertPayload, type DatasetRef, type DatasetSchema, type DatasetVisibility, type Deck, type DeckAPIApplicationAccess, type DeckAPIApplicationAccessGrantInput, type DeckAPIApplicationAccessGrantSource, type DeckAPIApplicationAccessRole, type DeckAccessApplication, type DeckAccessMode, type DeckAccessToken, type DeckAccessTokenExchangeInput, type DeckAccessTokenExchangePayload, type DeckAccessTokenIssuer, type DeckAccessTokenIssuerCreateInput, type DeckAccessTokenIssuerSigningKeyInput, type DeckAccessTokenSigningAlgorithm, type DeckAppAccessRetention, type DeckClaimInput, type DeckCollaborator, type DeckCollaboratorRole, type DeckCopyInput, type DeckCopyPayload, type DeckCreateInput, type DeckDiff, type DeckDiscoverability, type DeckEmbedToken, type DeckEmbedTokenCreateInput, type DeckEmbedTokenCreatePayload, type DeckEntriesReplaceInput, type DeckEntriesReplacePayload, type DeckEntry, type DeckEntryAddInput, type DeckEntryInput, type DeckEntryMutationPayload, type DeckEntryReorderInput, type DeckEntryReorderItemInput, type DeckEntryReorderPayload, type DeckEntryUpdateInput, type DeckEnvironment, type DeckExportFormat, type DeckExportPayload, type DeckHydrateEntriesInput, type DeckHydrateEntriesPayload, type DeckImportAmbiguousEntry, type DeckImportCandidate, type DeckImportEntry, type DeckImportFormat, type DeckImportFormatCreateInput, type DeckImportFormatDefinition, type DeckImportFormatDefinitionConnection, type DeckImportFormatDetection, type DeckImportFormatTestInput, type DeckImportFormatTestPayload, type DeckImportFormatUpdateInput, type DeckImportInput, type DeckImportIssue, type DeckImportPayload, type DeckImportUnmatchedEntry, type DeckOwnerType, type DeckOwnershipTransferPayload, type DeckPreviewToken, type DeckPreviewTokenCreateInput, type DeckPreviewTokenCreatePayload, type DeckPublishInput, type DeckPublishPayload, type DeckRemoveInvalidEntriesInput, type DeckSectionDefinition, type DeckSectionDefinitionsParams, type DeckSessionScope, type DeckSessionToken, type DeckSessionTokenExchangeInput, type DeckSessionTokenExchangePayload, type DeckState, type DeckTokenReadMode, type DeckTransferOwnershipInput, type DeckUpdateInput, type DeckUpsertByExternalRefInput, type DeckUpsertByExternalRefPayload, type DeckValidateInput, type DeckValidatedAgainst, type DeckValidation, type DeckValidationAffectedEntry, type DeckValidationIssue, type DeckValidationSeverity, type DeckVersion, type DeckVersionConnection, type DeckVisibility, type Edge, type ExportFormat, type ExportJob, type ExportJobConnection, type ExportJobStatus, type FieldInfo, type FieldMapping, type FieldMappingOverrideInput, type FieldMappingStatus, type FieldType, type File, type FileInfo, type FileStatus, type FileUploadInput, FilterBuilder, type FilterBuilderInterface, type FilterCondition, type FilterInput, type FilterOperatorValue, type FilterValue, type Game, type GameCreateInput, type GameImportDatasetStatus, type GameImportFromFileInput, type GameImportFromPayloadInput, type GameImportFromUrlInput, type GameImportJob, type GameImportJobConnection, type GameImportPreview, type GameImportPreviewInput, type GameImportRunInput, type GameRef, type GameUpdateInput, type GameVisibility, GraphQLError, type GraphQLErrorInfo, type HydrateDeckEntryInput, type HydratedDeckEntry, type ImportFormat, type ImportJob, type ImportJobAsset, type ImportJobAssetInput, type ImportJobConnection, type ImportJobLog, type ImportJobLogConnection, type ImportJobStatus, type ImportLogLevel, type ImportMode, type ImportOptions, type ImportStats, type ImportValidationError, type ImportWarning, type ImportWarningSeverity, type InferredChildField, type LinkFieldInfo, LinkResolutionError, type LinkResolutionFailure, type ListDeckImportFormatsParams, type ListDeckVersionsParams, type ListDecksParams, type LogLevel, type Logger, type NextPageLoader, NotFoundError, type ObjectField, type OnConflict, type PageInfo, type PresignedUpload, type PublicDecksFilterInput, type PublicDecksParams, type Publisher, type PublisherRef, type PublisherStatus, QueryBuilder, RateLimitError, type RateLimitInfo, type ResolvedLink, type ResourceType, RestrictedError, type SearchDatasetsParams, type SearchGamesParams, type SearchPublishersParams, type SearchRecordsParams, ServerError, type TCGPlayerPrice, type TCGPlayerPricing, TimeoutError, ValidationError, type ViewerDecksFilterInput, type ViewerDecksParams, contains, eq, gt, gte, ilike, isNotNull, isNull, like, lt, lte, neq, notWithin, resolveFilter, within };
2752
+ export { type APIAccount, type APIApplication, type APIKeyInfo, type AppDecksFilterInput, type AppDecksParams, AuthenticationError, type BulkCreateResult, type BulkImportResult, type BulkInsertMode, type BulkRecordError, type Cache, type CardDBConfig, CardDBError, Collection, type ConfirmScanUploadInput, type Connection, ConnectionError, type CreateScanJobInput, type CreateScanUploadSessionInput, type CsvOptions, type Dataset, type DatasetExportInput, type DatasetImportFromFileInput, type DatasetImportFromPayloadInput, type DatasetImportFromUrlInput, type DatasetImportPreview, type DatasetImportPreviewInput, type DatasetImportPreviewResult, type DatasetImportRunInput, type DatasetImportValidateInput, type DatasetPurpose, type DatasetRecord, type DatasetRecordDeleteJob, type DatasetRecordDeleteJobConnection, type DatasetRecordDeleteJobResult, type DatasetRecordDeleteJobStatus, type DatasetRecordDeleteResultStatus, type DatasetRecordDeleteTargetType, type DatasetRecordsDeleteInput, type DatasetRecordsUpsertInput, type DatasetRecordsUpsertPayload, type DatasetRef, type DatasetSchema, type DatasetVisibility, type Deck, type DeckAPIApplicationAccess, type DeckAPIApplicationAccessGrantInput, type DeckAPIApplicationAccessGrantSource, type DeckAPIApplicationAccessRole, type DeckAccessApplication, type DeckAccessMode, type DeckAccessToken, type DeckAccessTokenExchangeInput, type DeckAccessTokenExchangePayload, type DeckAccessTokenIssuer, type DeckAccessTokenIssuerCreateInput, type DeckAccessTokenIssuerSigningKeyInput, type DeckAccessTokenSigningAlgorithm, type DeckAppAccessRetention, type DeckClaimInput, type DeckCollaborator, type DeckCollaboratorRole, type DeckCopyInput, type DeckCopyPayload, type DeckCreateInput, type DeckDiff, type DeckDiscoverability, type DeckEmbedToken, type DeckEmbedTokenCreateInput, type DeckEmbedTokenCreatePayload, type DeckEntriesReplaceInput, type DeckEntriesReplacePayload, type DeckEntry, type DeckEntryAddInput, type DeckEntryInput, type DeckEntryMutationPayload, type DeckEntryReorderInput, type DeckEntryReorderItemInput, type DeckEntryReorderPayload, type DeckEntryUpdateInput, type DeckEnvironment, type DeckExportFormat, type DeckExportPayload, type DeckHydrateEntriesInput, type DeckHydrateEntriesPayload, type DeckImportAmbiguousEntry, type DeckImportCandidate, type DeckImportEntry, type DeckImportFormat, type DeckImportFormatCreateInput, type DeckImportFormatDefinition, type DeckImportFormatDefinitionConnection, type DeckImportFormatDetection, type DeckImportFormatTestInput, type DeckImportFormatTestPayload, type DeckImportFormatUpdateInput, type DeckImportInput, type DeckImportIssue, type DeckImportPayload, type DeckImportUnmatchedEntry, type DeckOwnerType, type DeckOwnershipTransferPayload, type DeckPreviewToken, type DeckPreviewTokenCreateInput, type DeckPreviewTokenCreatePayload, type DeckPublishInput, type DeckPublishPayload, type DeckRemoveInvalidEntriesInput, type DeckSectionDefinition, type DeckSectionDefinitionsParams, type DeckSessionScope, type DeckSessionToken, type DeckSessionTokenExchangeInput, type DeckSessionTokenExchangePayload, type DeckState, type DeckTokenReadMode, type DeckTransferOwnershipInput, type DeckUpdateInput, type DeckUpsertByExternalRefInput, type DeckUpsertByExternalRefPayload, type DeckValidateInput, type DeckValidatedAgainst, type DeckValidation, type DeckValidationAffectedEntry, type DeckValidationIssue, type DeckValidationSeverity, type DeckVersion, type DeckVersionConnection, type DeckVisibility, type Edge, type ExportFormat, type ExportJob, type ExportJobConnection, type ExportJobStatus, type FieldInfo, type FieldMapping, type FieldMappingOverrideInput, type FieldMappingStatus, type FieldType, type File, type FileInfo, type FileStatus, type FileUploadInput, FilterBuilder, type FilterBuilderInterface, type FilterCondition, type FilterInput, type FilterOperatorValue, type FilterValue, type Game, type GameCreateInput, type GameImportDatasetStatus, type GameImportFromFileInput, type GameImportFromPayloadInput, type GameImportFromUrlInput, type GameImportJob, type GameImportJobConnection, type GameImportPreview, type GameImportPreviewInput, type GameImportRunInput, type GameRef, type GameScanRegion, type GameUpdateInput, type GameVisibility, GraphQLError, type GraphQLErrorInfo, type HydrateDeckEntryInput, type HydratedDeckEntry, type ImportFormat, type ImportJob, type ImportJobAsset, type ImportJobAssetInput, type ImportJobConnection, type ImportJobLog, type ImportJobLogConnection, type ImportJobStatus, type ImportLogLevel, type ImportMode, type ImportOptions, type ImportStats, type ImportValidationError, type ImportWarning, type ImportWarningSeverity, type InferredChildField, type LinkFieldInfo, LinkResolutionError, type LinkResolutionFailure, type ListDeckImportFormatsParams, type ListDeckVersionsParams, type ListDecksParams, type LogLevel, type Logger, type NextPageLoader, NotFoundError, type ObjectField, type OnConflict, type PageInfo, type PresignedUpload, type PreviewScanTemplateInput, type PublicDecksFilterInput, type PublicDecksParams, type Publisher, type PublisherRef, type PublisherStatus, QueryBuilder, RateLimitError, type RateLimitInfo, type ResolveScanTemplateInput, type ResolvedLink, type ResourceType, RestrictedError, type SaveScanTemplateInput, type ScanBestMatch, type ScanCandidate, type ScanFeatureVersionMetrics, type ScanFeedbackMetrics, type ScanFeedbackPayload, type ScanJob, type ScanJobError, type ScanJobMetrics, type ScanJobPayload, type ScanJobStatus, type ScanMetrics, type ScanMetricsInput, type ScanStageMetrics, type ScanTemplate, type ScanTemplateList, type ScanTemplatePayload, type ScanTemplatePreview, type ScanTemplateRegion, type ScanTemplateRegionInput, type ScanTemplateRegionPreview, type ScanTemplateResolution, type ScanTemplateWarning, type ScanTemplatesInput, type ScanWebhookState, type SearchDatasetsParams, type SearchGamesParams, type SearchPublishersParams, type SearchRecordsParams, ServerError, type SubmitScanFeedbackInput, type TCGPlayerPrice, type TCGPlayerPricing, TimeoutError, type UploadPurpose, ValidationError, type ViewerDecksFilterInput, type ViewerDecksParams, contains, eq, gt, gte, ilike, isNotNull, isNull, like, lt, lte, neq, notWithin, resolveFilter, within };