@carddb/core 0.4.2 → 0.4.5

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
@@ -579,7 +579,7 @@ interface ImportJob {
579
579
  publisher: Publisher;
580
580
  datasetId: string;
581
581
  dataset: Dataset;
582
- accountId: string;
582
+ accountId: string | null;
583
583
  status: ImportJobStatus;
584
584
  mode: ImportMode;
585
585
  onConflict: OnConflict;
@@ -911,9 +911,10 @@ type DeckEnvironment = 'TEST' | 'LIVE';
911
911
  type DeckAccessMode = 'PUBLIC' | 'OWNER_ONLY' | 'AUTHORIZED_TOKEN';
912
912
  type DeckDiscoverability = 'LISTED' | 'UNLISTED';
913
913
  type DeckState = 'DRAFT' | 'PUBLISHED' | 'ARCHIVED' | 'DELETED';
914
- type DeckTokenReadMode = 'PUBLIC' | 'PREVIEW' | 'EMBED' | 'FULL';
915
- type DeckSessionScope = 'DECKS_READ' | 'DECKS_WRITE' | 'DECKS_PUBLISH' | 'DECKS_DELETE' | 'DECKS_EMBED' | 'DECKS_PREVIEW' | 'DECKS_COLLABORATE';
916
- type DeckAccessTokenSigningAlgorithm = 'ED25519';
914
+ type DeckReadState = 'DRAFT' | 'PUBLISHED';
915
+ type DeckRepresentation = 'PUBLIC' | 'EMBED' | 'DETAILED';
916
+ type DeckTokenScope = 'DECK_DRAFT_READ' | 'DECK_DRAFT_WRITE' | 'DECK_PUBLISH' | 'DECK_DELETE' | 'DECK_PUBLISHED_READ' | 'DECK_VERSION_READ' | 'DECK_COLLABORATE';
917
+ type DeckTokenSigningAlgorithm = 'ED25519';
917
918
  type DeckImportFormat = 'SIMPLE_TEXT' | 'CONFIGURED';
918
919
  type DeckExportFormat = 'SIMPLE_TEXT';
919
920
  type DeckCollaboratorRole = 'VIEWER' | 'EDITOR';
@@ -1071,46 +1072,18 @@ interface DeckAPIApplicationAccess {
1071
1072
  createdAt: string;
1072
1073
  updatedAt: string;
1073
1074
  }
1074
- interface DeckPreviewToken {
1075
- id: string;
1076
- deckId: string;
1077
- label: string | null;
1078
- expiresAt: string | null;
1079
- revokedAt: string | null;
1080
- lastUsedAt: string | null;
1081
- createdAt: string;
1082
- updatedAt: string;
1083
- }
1084
- interface DeckPreviewTokenCreatePayload {
1085
- token: string;
1086
- previewToken: DeckPreviewToken;
1087
- }
1088
- interface DeckEmbedToken {
1089
- id: string;
1090
- deckId: string;
1091
- apiApplicationId: string | null;
1092
- label: string | null;
1093
- readMode: DeckTokenReadMode;
1094
- allowedOrigins: string[];
1095
- externalSubject: string | null;
1096
- expiresAt: string | null;
1097
- revokedAt: string | null;
1098
- lastUsedAt: string | null;
1099
- createdAt: string;
1100
- updatedAt: string;
1101
- }
1102
- interface DeckEmbedTokenCreatePayload {
1103
- token: string;
1104
- embedToken: DeckEmbedToken;
1075
+ interface DeckPublishedVersionSelector {
1076
+ versionId?: string;
1077
+ versionNumber?: number;
1105
1078
  }
1106
- interface DeckAccessTokenIssuer {
1079
+ interface DeckTokenIssuer {
1107
1080
  id: string;
1108
- deckId: string;
1109
1081
  apiApplicationId: string;
1110
1082
  label: string | null;
1111
- readModes: DeckTokenReadMode[];
1083
+ allowedScopes: DeckTokenScope[];
1084
+ allowedRepresentations: DeckRepresentation[];
1112
1085
  maxTokenLifetimeSeconds: number;
1113
- directSigningAlg: DeckAccessTokenSigningAlgorithm | null;
1086
+ directSigningAlg: DeckTokenSigningAlgorithm | null;
1114
1087
  directSigningKeyId: string | null;
1115
1088
  directSigningPublicKey: string | null;
1116
1089
  directSigningKeyRevokedAt: string | null;
@@ -1118,40 +1091,24 @@ interface DeckAccessTokenIssuer {
1118
1091
  createdAt: string;
1119
1092
  updatedAt: string;
1120
1093
  }
1121
- interface DeckAccessToken {
1094
+ interface DeckToken {
1122
1095
  id: string;
1123
- deckId: string;
1124
1096
  apiApplicationId: string;
1125
- issuerId: string;
1126
- readMode: DeckTokenReadMode;
1097
+ issuerId: string | null;
1098
+ deckId: string | null;
1099
+ gameId: string | null;
1127
1100
  externalSubject: string | null;
1101
+ scopes: DeckTokenScope[];
1102
+ representation: DeckRepresentation | null;
1128
1103
  expiresAt: string;
1129
1104
  revokedAt: string | null;
1130
1105
  lastUsedAt: string | null;
1131
1106
  createdAt: string;
1132
1107
  updatedAt: string;
1133
1108
  }
1134
- interface DeckAccessTokenExchangePayload {
1135
- token: string;
1136
- accessToken: DeckAccessToken;
1137
- }
1138
- interface DeckSessionToken {
1139
- id: string;
1140
- accountId: string;
1141
- apiApplicationId: string;
1142
- gameId: string;
1143
- environment: DeckEnvironment;
1144
- externalSubject: string;
1145
- scopes: string[];
1146
- expiresAt: string;
1147
- revokedAt: string | null;
1148
- lastUsedAt: string | null;
1149
- createdAt: string;
1150
- updatedAt: string;
1151
- }
1152
- interface DeckSessionTokenExchangePayload {
1109
+ interface DeckTokenExchangePayload {
1153
1110
  token: string;
1154
- sessionToken: DeckSessionToken;
1111
+ deckToken: DeckToken;
1155
1112
  }
1156
1113
  interface DeckEntry {
1157
1114
  id: string;
@@ -1187,7 +1144,11 @@ interface DeckCreateInput {
1187
1144
  rulesetId?: string;
1188
1145
  sourceUrl?: string;
1189
1146
  metadata?: Record<string, unknown>;
1190
- entries: DeckEntryInput[];
1147
+ /**
1148
+ * Omit/null to create an empty deck on first upsert or preserve entries on update.
1149
+ * Pass [] to explicitly replace existing entries with an empty decklist.
1150
+ */
1151
+ entries?: DeckEntryInput[] | null;
1191
1152
  }
1192
1153
  interface DeckUpsertByExternalRefInput {
1193
1154
  externalRef: string;
@@ -1358,43 +1319,26 @@ interface DeckSectionDefinition {
1358
1319
  legalCardTypes: string[];
1359
1320
  metadata: Record<string, unknown>;
1360
1321
  }
1361
- interface DeckPreviewTokenCreateInput {
1362
- deckId: string;
1363
- label?: string;
1364
- expiresAt?: string;
1365
- }
1366
- interface DeckEmbedTokenCreateInput {
1367
- deckId: string;
1368
- label?: string;
1369
- readMode?: DeckTokenReadMode;
1370
- allowedOrigins?: string[];
1371
- externalSubject?: string;
1372
- expiresAt?: string;
1373
- }
1374
- interface DeckAccessTokenIssuerCreateInput {
1375
- deckId: string;
1376
- apiApplicationId?: string;
1322
+ interface DeckTokenIssuerCreateInput {
1377
1323
  label?: string;
1378
- readModes?: DeckTokenReadMode[];
1324
+ allowedScopes: DeckTokenScope[];
1325
+ allowedRepresentations?: DeckRepresentation[];
1379
1326
  maxTokenLifetimeSeconds?: number;
1380
- directSigningKey?: DeckAccessTokenIssuerSigningKeyInput;
1327
+ directSigningKey?: DeckTokenIssuerSigningKeyInput;
1381
1328
  }
1382
- interface DeckAccessTokenIssuerSigningKeyInput {
1383
- algorithm: DeckAccessTokenSigningAlgorithm;
1329
+ interface DeckTokenIssuerSigningKeyInput {
1330
+ algorithm: DeckTokenSigningAlgorithm;
1384
1331
  keyId: string;
1385
1332
  publicKey: string;
1386
1333
  }
1387
- interface DeckAccessTokenExchangeInput {
1388
- deckId: string;
1389
- readMode: DeckTokenReadMode;
1334
+ interface DeckTokenExchangeInput {
1335
+ issuerId?: string;
1336
+ deckId?: string;
1337
+ publisherSlug?: string;
1338
+ gameKey?: string;
1390
1339
  externalSubject?: string;
1391
- expiresAt?: string;
1392
- }
1393
- interface DeckSessionTokenExchangeInput {
1394
- publisherSlug: string;
1395
- gameKey: string;
1396
- externalSubject: string;
1397
- scopes: DeckSessionScope[];
1340
+ scopes: DeckTokenScope[];
1341
+ representation?: DeckRepresentation;
1398
1342
  expiresAt?: string;
1399
1343
  }
1400
1344
  interface DeckAPIApplicationAccessGrantInput {
@@ -2406,15 +2350,6 @@ declare const QueryBuilder: {
2406
2350
  query: string;
2407
2351
  variables: Record<string, unknown>;
2408
2352
  };
2409
- deckPreview(): {
2410
- query: string;
2411
- };
2412
- deckEmbed(): {
2413
- query: string;
2414
- };
2415
- deckAccess(): {
2416
- query: string;
2417
- };
2418
2353
  deckDraftDiff(): {
2419
2354
  query: string;
2420
2355
  };
@@ -2437,12 +2372,6 @@ declare const QueryBuilder: {
2437
2372
  deckCollaborators(): {
2438
2373
  query: string;
2439
2374
  };
2440
- deckEmbedTokens(): {
2441
- query: string;
2442
- };
2443
- deckAccessTokenIssuers(): {
2444
- query: string;
2445
- };
2446
2375
  deckApiApplicationAccesses(): {
2447
2376
  query: string;
2448
2377
  };
@@ -2459,9 +2388,6 @@ declare const QueryBuilder: {
2459
2388
  deckImportFormatTest(): {
2460
2389
  query: string;
2461
2390
  };
2462
- deckPreviewTokens(): {
2463
- query: string;
2464
- };
2465
2391
  createDeck(): {
2466
2392
  query: string;
2467
2393
  };
@@ -2534,31 +2460,19 @@ declare const QueryBuilder: {
2534
2460
  removeDeckCollaborator(): {
2535
2461
  query: string;
2536
2462
  };
2537
- createDeckPreviewToken(): {
2463
+ createDeckTokenIssuer(): {
2538
2464
  query: string;
2539
2465
  };
2540
- revokeDeckPreviewToken(): {
2466
+ revokeDeckTokenIssuer(): {
2541
2467
  query: string;
2542
2468
  };
2543
- createDeckEmbedToken(): {
2469
+ revokeDeckTokenIssuerSigningKey(): {
2544
2470
  query: string;
2545
2471
  };
2546
- revokeDeckEmbedToken(): {
2472
+ exchangeDeckToken(): {
2547
2473
  query: string;
2548
2474
  };
2549
- createDeckAccessTokenIssuer(): {
2550
- query: string;
2551
- };
2552
- revokeDeckAccessTokenIssuer(): {
2553
- query: string;
2554
- };
2555
- revokeDeckAccessTokenIssuerSigningKey(): {
2556
- query: string;
2557
- };
2558
- exchangeDeckAccessToken(): {
2559
- query: string;
2560
- };
2561
- exchangeDeckSessionToken(): {
2475
+ revokeDeckToken(): {
2562
2476
  query: string;
2563
2477
  };
2564
2478
  grantDeckApiApplicationAccess(): {
@@ -2567,9 +2481,6 @@ declare const QueryBuilder: {
2567
2481
  revokeDeckApiApplicationAccess(): {
2568
2482
  query: string;
2569
2483
  };
2570
- revokeDeckAccessToken(): {
2571
- query: string;
2572
- };
2573
2484
  deckCreateVariables(input: DeckCreateInput): Record<string, unknown>;
2574
2485
  deckUpdateVariables(id: string, input: DeckUpdateInput): Record<string, unknown>;
2575
2486
  deckEntryAddVariables(input: DeckEntryAddInput): Record<string, unknown>;
@@ -2582,6 +2493,8 @@ declare const QueryBuilder: {
2582
2493
  deckImportFormatUpdateVariables(id: string, input: DeckImportFormatUpdateInput): Record<string, unknown>;
2583
2494
  deckImportFormatTestVariables(input: DeckImportFormatTestInput): Record<string, unknown>;
2584
2495
  deckUpsertByExternalRefVariables(input: DeckUpsertByExternalRefInput): Record<string, unknown>;
2496
+ deckReadVariables(id: string, readState: DeckReadState, version?: DeckPublishedVersionSelector): Record<string, unknown>;
2497
+ deckExternalRefReadVariables(externalRef: string, readState: DeckReadState, version?: DeckPublishedVersionSelector): Record<string, unknown>;
2585
2498
  deckClaimVariables(id: string, input: DeckClaimInput): Record<string, unknown>;
2586
2499
  deckTransferOwnershipVariables(id: string, input: DeckTransferOwnershipInput): Record<string, unknown>;
2587
2500
  deckCopyVariables(id: string, input: DeckCopyInput): Record<string, unknown>;
@@ -2592,11 +2505,8 @@ declare const QueryBuilder: {
2592
2505
  deckExportVariables(id: string, format: DeckExportFormat): Record<string, unknown>;
2593
2506
  deckVersionDiffVariables(fromVersionId: string, toVersionId: string): Record<string, unknown>;
2594
2507
  deckCollaboratorVariables(deckId: string, accountId: string, role?: DeckCollaboratorRole): Record<string, unknown>;
2595
- deckPreviewTokenCreateVariables(input: DeckPreviewTokenCreateInput): Record<string, unknown>;
2596
- deckEmbedTokenCreateVariables(input: DeckEmbedTokenCreateInput): Record<string, unknown>;
2597
- deckAccessTokenIssuerCreateVariables(input: DeckAccessTokenIssuerCreateInput): Record<string, unknown>;
2598
- deckAccessTokenExchangeVariables(input: DeckAccessTokenExchangeInput): Record<string, unknown>;
2599
- deckSessionTokenExchangeVariables(input: DeckSessionTokenExchangeInput): Record<string, unknown>;
2508
+ deckTokenIssuerCreateVariables(input: DeckTokenIssuerCreateInput): Record<string, unknown>;
2509
+ deckTokenExchangeVariables(input: DeckTokenExchangeInput): Record<string, unknown>;
2600
2510
  deckApiApplicationAccessesVariables(deckId: string, includeRevoked?: boolean): Record<string, unknown>;
2601
2511
  myDeckApiApplicationAccessesVariables(applicationId?: string): Record<string, unknown>;
2602
2512
  deckApiApplicationAccessGrantVariables(input: DeckAPIApplicationAccessGrantInput): Record<string, unknown>;
@@ -2762,4 +2672,4 @@ declare class Collection<T> implements AsyncIterable<T> {
2762
2672
  each(): AsyncIterable<T>;
2763
2673
  }
2764
2674
 
2765
- 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 };
2675
+ 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 DeckAppAccessRetention, type DeckClaimInput, type DeckCollaborator, type DeckCollaboratorRole, type DeckCopyInput, type DeckCopyPayload, type DeckCreateInput, type DeckDiff, type DeckDiscoverability, 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 DeckPublishInput, type DeckPublishPayload, type DeckPublishedVersionSelector, type DeckReadState, type DeckRemoveInvalidEntriesInput, type DeckRepresentation, type DeckSectionDefinition, type DeckSectionDefinitionsParams, type DeckState, type DeckToken, type DeckTokenExchangeInput, type DeckTokenExchangePayload, type DeckTokenIssuer, type DeckTokenIssuerCreateInput, type DeckTokenIssuerSigningKeyInput, type DeckTokenScope, type DeckTokenSigningAlgorithm, 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 };
package/dist/index.d.ts CHANGED
@@ -579,7 +579,7 @@ interface ImportJob {
579
579
  publisher: Publisher;
580
580
  datasetId: string;
581
581
  dataset: Dataset;
582
- accountId: string;
582
+ accountId: string | null;
583
583
  status: ImportJobStatus;
584
584
  mode: ImportMode;
585
585
  onConflict: OnConflict;
@@ -911,9 +911,10 @@ type DeckEnvironment = 'TEST' | 'LIVE';
911
911
  type DeckAccessMode = 'PUBLIC' | 'OWNER_ONLY' | 'AUTHORIZED_TOKEN';
912
912
  type DeckDiscoverability = 'LISTED' | 'UNLISTED';
913
913
  type DeckState = 'DRAFT' | 'PUBLISHED' | 'ARCHIVED' | 'DELETED';
914
- type DeckTokenReadMode = 'PUBLIC' | 'PREVIEW' | 'EMBED' | 'FULL';
915
- type DeckSessionScope = 'DECKS_READ' | 'DECKS_WRITE' | 'DECKS_PUBLISH' | 'DECKS_DELETE' | 'DECKS_EMBED' | 'DECKS_PREVIEW' | 'DECKS_COLLABORATE';
916
- type DeckAccessTokenSigningAlgorithm = 'ED25519';
914
+ type DeckReadState = 'DRAFT' | 'PUBLISHED';
915
+ type DeckRepresentation = 'PUBLIC' | 'EMBED' | 'DETAILED';
916
+ type DeckTokenScope = 'DECK_DRAFT_READ' | 'DECK_DRAFT_WRITE' | 'DECK_PUBLISH' | 'DECK_DELETE' | 'DECK_PUBLISHED_READ' | 'DECK_VERSION_READ' | 'DECK_COLLABORATE';
917
+ type DeckTokenSigningAlgorithm = 'ED25519';
917
918
  type DeckImportFormat = 'SIMPLE_TEXT' | 'CONFIGURED';
918
919
  type DeckExportFormat = 'SIMPLE_TEXT';
919
920
  type DeckCollaboratorRole = 'VIEWER' | 'EDITOR';
@@ -1071,46 +1072,18 @@ interface DeckAPIApplicationAccess {
1071
1072
  createdAt: string;
1072
1073
  updatedAt: string;
1073
1074
  }
1074
- interface DeckPreviewToken {
1075
- id: string;
1076
- deckId: string;
1077
- label: string | null;
1078
- expiresAt: string | null;
1079
- revokedAt: string | null;
1080
- lastUsedAt: string | null;
1081
- createdAt: string;
1082
- updatedAt: string;
1083
- }
1084
- interface DeckPreviewTokenCreatePayload {
1085
- token: string;
1086
- previewToken: DeckPreviewToken;
1087
- }
1088
- interface DeckEmbedToken {
1089
- id: string;
1090
- deckId: string;
1091
- apiApplicationId: string | null;
1092
- label: string | null;
1093
- readMode: DeckTokenReadMode;
1094
- allowedOrigins: string[];
1095
- externalSubject: string | null;
1096
- expiresAt: string | null;
1097
- revokedAt: string | null;
1098
- lastUsedAt: string | null;
1099
- createdAt: string;
1100
- updatedAt: string;
1101
- }
1102
- interface DeckEmbedTokenCreatePayload {
1103
- token: string;
1104
- embedToken: DeckEmbedToken;
1075
+ interface DeckPublishedVersionSelector {
1076
+ versionId?: string;
1077
+ versionNumber?: number;
1105
1078
  }
1106
- interface DeckAccessTokenIssuer {
1079
+ interface DeckTokenIssuer {
1107
1080
  id: string;
1108
- deckId: string;
1109
1081
  apiApplicationId: string;
1110
1082
  label: string | null;
1111
- readModes: DeckTokenReadMode[];
1083
+ allowedScopes: DeckTokenScope[];
1084
+ allowedRepresentations: DeckRepresentation[];
1112
1085
  maxTokenLifetimeSeconds: number;
1113
- directSigningAlg: DeckAccessTokenSigningAlgorithm | null;
1086
+ directSigningAlg: DeckTokenSigningAlgorithm | null;
1114
1087
  directSigningKeyId: string | null;
1115
1088
  directSigningPublicKey: string | null;
1116
1089
  directSigningKeyRevokedAt: string | null;
@@ -1118,40 +1091,24 @@ interface DeckAccessTokenIssuer {
1118
1091
  createdAt: string;
1119
1092
  updatedAt: string;
1120
1093
  }
1121
- interface DeckAccessToken {
1094
+ interface DeckToken {
1122
1095
  id: string;
1123
- deckId: string;
1124
1096
  apiApplicationId: string;
1125
- issuerId: string;
1126
- readMode: DeckTokenReadMode;
1097
+ issuerId: string | null;
1098
+ deckId: string | null;
1099
+ gameId: string | null;
1127
1100
  externalSubject: string | null;
1101
+ scopes: DeckTokenScope[];
1102
+ representation: DeckRepresentation | null;
1128
1103
  expiresAt: string;
1129
1104
  revokedAt: string | null;
1130
1105
  lastUsedAt: string | null;
1131
1106
  createdAt: string;
1132
1107
  updatedAt: string;
1133
1108
  }
1134
- interface DeckAccessTokenExchangePayload {
1135
- token: string;
1136
- accessToken: DeckAccessToken;
1137
- }
1138
- interface DeckSessionToken {
1139
- id: string;
1140
- accountId: string;
1141
- apiApplicationId: string;
1142
- gameId: string;
1143
- environment: DeckEnvironment;
1144
- externalSubject: string;
1145
- scopes: string[];
1146
- expiresAt: string;
1147
- revokedAt: string | null;
1148
- lastUsedAt: string | null;
1149
- createdAt: string;
1150
- updatedAt: string;
1151
- }
1152
- interface DeckSessionTokenExchangePayload {
1109
+ interface DeckTokenExchangePayload {
1153
1110
  token: string;
1154
- sessionToken: DeckSessionToken;
1111
+ deckToken: DeckToken;
1155
1112
  }
1156
1113
  interface DeckEntry {
1157
1114
  id: string;
@@ -1187,7 +1144,11 @@ interface DeckCreateInput {
1187
1144
  rulesetId?: string;
1188
1145
  sourceUrl?: string;
1189
1146
  metadata?: Record<string, unknown>;
1190
- entries: DeckEntryInput[];
1147
+ /**
1148
+ * Omit/null to create an empty deck on first upsert or preserve entries on update.
1149
+ * Pass [] to explicitly replace existing entries with an empty decklist.
1150
+ */
1151
+ entries?: DeckEntryInput[] | null;
1191
1152
  }
1192
1153
  interface DeckUpsertByExternalRefInput {
1193
1154
  externalRef: string;
@@ -1358,43 +1319,26 @@ interface DeckSectionDefinition {
1358
1319
  legalCardTypes: string[];
1359
1320
  metadata: Record<string, unknown>;
1360
1321
  }
1361
- interface DeckPreviewTokenCreateInput {
1362
- deckId: string;
1363
- label?: string;
1364
- expiresAt?: string;
1365
- }
1366
- interface DeckEmbedTokenCreateInput {
1367
- deckId: string;
1368
- label?: string;
1369
- readMode?: DeckTokenReadMode;
1370
- allowedOrigins?: string[];
1371
- externalSubject?: string;
1372
- expiresAt?: string;
1373
- }
1374
- interface DeckAccessTokenIssuerCreateInput {
1375
- deckId: string;
1376
- apiApplicationId?: string;
1322
+ interface DeckTokenIssuerCreateInput {
1377
1323
  label?: string;
1378
- readModes?: DeckTokenReadMode[];
1324
+ allowedScopes: DeckTokenScope[];
1325
+ allowedRepresentations?: DeckRepresentation[];
1379
1326
  maxTokenLifetimeSeconds?: number;
1380
- directSigningKey?: DeckAccessTokenIssuerSigningKeyInput;
1327
+ directSigningKey?: DeckTokenIssuerSigningKeyInput;
1381
1328
  }
1382
- interface DeckAccessTokenIssuerSigningKeyInput {
1383
- algorithm: DeckAccessTokenSigningAlgorithm;
1329
+ interface DeckTokenIssuerSigningKeyInput {
1330
+ algorithm: DeckTokenSigningAlgorithm;
1384
1331
  keyId: string;
1385
1332
  publicKey: string;
1386
1333
  }
1387
- interface DeckAccessTokenExchangeInput {
1388
- deckId: string;
1389
- readMode: DeckTokenReadMode;
1334
+ interface DeckTokenExchangeInput {
1335
+ issuerId?: string;
1336
+ deckId?: string;
1337
+ publisherSlug?: string;
1338
+ gameKey?: string;
1390
1339
  externalSubject?: string;
1391
- expiresAt?: string;
1392
- }
1393
- interface DeckSessionTokenExchangeInput {
1394
- publisherSlug: string;
1395
- gameKey: string;
1396
- externalSubject: string;
1397
- scopes: DeckSessionScope[];
1340
+ scopes: DeckTokenScope[];
1341
+ representation?: DeckRepresentation;
1398
1342
  expiresAt?: string;
1399
1343
  }
1400
1344
  interface DeckAPIApplicationAccessGrantInput {
@@ -2406,15 +2350,6 @@ declare const QueryBuilder: {
2406
2350
  query: string;
2407
2351
  variables: Record<string, unknown>;
2408
2352
  };
2409
- deckPreview(): {
2410
- query: string;
2411
- };
2412
- deckEmbed(): {
2413
- query: string;
2414
- };
2415
- deckAccess(): {
2416
- query: string;
2417
- };
2418
2353
  deckDraftDiff(): {
2419
2354
  query: string;
2420
2355
  };
@@ -2437,12 +2372,6 @@ declare const QueryBuilder: {
2437
2372
  deckCollaborators(): {
2438
2373
  query: string;
2439
2374
  };
2440
- deckEmbedTokens(): {
2441
- query: string;
2442
- };
2443
- deckAccessTokenIssuers(): {
2444
- query: string;
2445
- };
2446
2375
  deckApiApplicationAccesses(): {
2447
2376
  query: string;
2448
2377
  };
@@ -2459,9 +2388,6 @@ declare const QueryBuilder: {
2459
2388
  deckImportFormatTest(): {
2460
2389
  query: string;
2461
2390
  };
2462
- deckPreviewTokens(): {
2463
- query: string;
2464
- };
2465
2391
  createDeck(): {
2466
2392
  query: string;
2467
2393
  };
@@ -2534,31 +2460,19 @@ declare const QueryBuilder: {
2534
2460
  removeDeckCollaborator(): {
2535
2461
  query: string;
2536
2462
  };
2537
- createDeckPreviewToken(): {
2463
+ createDeckTokenIssuer(): {
2538
2464
  query: string;
2539
2465
  };
2540
- revokeDeckPreviewToken(): {
2466
+ revokeDeckTokenIssuer(): {
2541
2467
  query: string;
2542
2468
  };
2543
- createDeckEmbedToken(): {
2469
+ revokeDeckTokenIssuerSigningKey(): {
2544
2470
  query: string;
2545
2471
  };
2546
- revokeDeckEmbedToken(): {
2472
+ exchangeDeckToken(): {
2547
2473
  query: string;
2548
2474
  };
2549
- createDeckAccessTokenIssuer(): {
2550
- query: string;
2551
- };
2552
- revokeDeckAccessTokenIssuer(): {
2553
- query: string;
2554
- };
2555
- revokeDeckAccessTokenIssuerSigningKey(): {
2556
- query: string;
2557
- };
2558
- exchangeDeckAccessToken(): {
2559
- query: string;
2560
- };
2561
- exchangeDeckSessionToken(): {
2475
+ revokeDeckToken(): {
2562
2476
  query: string;
2563
2477
  };
2564
2478
  grantDeckApiApplicationAccess(): {
@@ -2567,9 +2481,6 @@ declare const QueryBuilder: {
2567
2481
  revokeDeckApiApplicationAccess(): {
2568
2482
  query: string;
2569
2483
  };
2570
- revokeDeckAccessToken(): {
2571
- query: string;
2572
- };
2573
2484
  deckCreateVariables(input: DeckCreateInput): Record<string, unknown>;
2574
2485
  deckUpdateVariables(id: string, input: DeckUpdateInput): Record<string, unknown>;
2575
2486
  deckEntryAddVariables(input: DeckEntryAddInput): Record<string, unknown>;
@@ -2582,6 +2493,8 @@ declare const QueryBuilder: {
2582
2493
  deckImportFormatUpdateVariables(id: string, input: DeckImportFormatUpdateInput): Record<string, unknown>;
2583
2494
  deckImportFormatTestVariables(input: DeckImportFormatTestInput): Record<string, unknown>;
2584
2495
  deckUpsertByExternalRefVariables(input: DeckUpsertByExternalRefInput): Record<string, unknown>;
2496
+ deckReadVariables(id: string, readState: DeckReadState, version?: DeckPublishedVersionSelector): Record<string, unknown>;
2497
+ deckExternalRefReadVariables(externalRef: string, readState: DeckReadState, version?: DeckPublishedVersionSelector): Record<string, unknown>;
2585
2498
  deckClaimVariables(id: string, input: DeckClaimInput): Record<string, unknown>;
2586
2499
  deckTransferOwnershipVariables(id: string, input: DeckTransferOwnershipInput): Record<string, unknown>;
2587
2500
  deckCopyVariables(id: string, input: DeckCopyInput): Record<string, unknown>;
@@ -2592,11 +2505,8 @@ declare const QueryBuilder: {
2592
2505
  deckExportVariables(id: string, format: DeckExportFormat): Record<string, unknown>;
2593
2506
  deckVersionDiffVariables(fromVersionId: string, toVersionId: string): Record<string, unknown>;
2594
2507
  deckCollaboratorVariables(deckId: string, accountId: string, role?: DeckCollaboratorRole): Record<string, unknown>;
2595
- deckPreviewTokenCreateVariables(input: DeckPreviewTokenCreateInput): Record<string, unknown>;
2596
- deckEmbedTokenCreateVariables(input: DeckEmbedTokenCreateInput): Record<string, unknown>;
2597
- deckAccessTokenIssuerCreateVariables(input: DeckAccessTokenIssuerCreateInput): Record<string, unknown>;
2598
- deckAccessTokenExchangeVariables(input: DeckAccessTokenExchangeInput): Record<string, unknown>;
2599
- deckSessionTokenExchangeVariables(input: DeckSessionTokenExchangeInput): Record<string, unknown>;
2508
+ deckTokenIssuerCreateVariables(input: DeckTokenIssuerCreateInput): Record<string, unknown>;
2509
+ deckTokenExchangeVariables(input: DeckTokenExchangeInput): Record<string, unknown>;
2600
2510
  deckApiApplicationAccessesVariables(deckId: string, includeRevoked?: boolean): Record<string, unknown>;
2601
2511
  myDeckApiApplicationAccessesVariables(applicationId?: string): Record<string, unknown>;
2602
2512
  deckApiApplicationAccessGrantVariables(input: DeckAPIApplicationAccessGrantInput): Record<string, unknown>;
@@ -2762,4 +2672,4 @@ declare class Collection<T> implements AsyncIterable<T> {
2762
2672
  each(): AsyncIterable<T>;
2763
2673
  }
2764
2674
 
2765
- 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 };
2675
+ 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 DeckAppAccessRetention, type DeckClaimInput, type DeckCollaborator, type DeckCollaboratorRole, type DeckCopyInput, type DeckCopyPayload, type DeckCreateInput, type DeckDiff, type DeckDiscoverability, 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 DeckPublishInput, type DeckPublishPayload, type DeckPublishedVersionSelector, type DeckReadState, type DeckRemoveInvalidEntriesInput, type DeckRepresentation, type DeckSectionDefinition, type DeckSectionDefinitionsParams, type DeckState, type DeckToken, type DeckTokenExchangeInput, type DeckTokenExchangePayload, type DeckTokenIssuer, type DeckTokenIssuerCreateInput, type DeckTokenIssuerSigningKeyInput, type DeckTokenScope, type DeckTokenSigningAlgorithm, 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 };