@carddb/core 0.4.0 → 0.4.2
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.cjs +41 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +36 -1
- package/dist/index.d.ts +36 -1
- package/dist/index.js +41 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -191,6 +191,20 @@ interface CreateScanJobInput {
|
|
|
191
191
|
webhookUrl?: string;
|
|
192
192
|
webhookSecret?: string;
|
|
193
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
|
+
}
|
|
194
208
|
interface ScanJobPayload {
|
|
195
209
|
job: ScanJob;
|
|
196
210
|
created: boolean;
|
|
@@ -295,7 +309,14 @@ interface ScanMetrics {
|
|
|
295
309
|
completedJobs: number;
|
|
296
310
|
failedJobs: number;
|
|
297
311
|
failureRate: number;
|
|
312
|
+
noMatchCount: number;
|
|
313
|
+
noMatchRate: number;
|
|
298
314
|
averageShortlistSize: number;
|
|
315
|
+
vectorQueryCount: number;
|
|
316
|
+
vectorFallbackCount: number;
|
|
317
|
+
averageVectorCandidates: number;
|
|
318
|
+
averageVectorQueryMs: number;
|
|
319
|
+
averageEmbeddingMs: number;
|
|
299
320
|
confidenceDistribution: Record<string, unknown>;
|
|
300
321
|
feedback: ScanFeedbackMetrics;
|
|
301
322
|
featureVersions: ScanFeatureVersionMetrics[];
|
|
@@ -312,8 +333,14 @@ interface ScanFeatureVersionMetrics {
|
|
|
312
333
|
jobCount: number;
|
|
313
334
|
completedJobs: number;
|
|
314
335
|
failedJobs: number;
|
|
336
|
+
noMatchCount: number;
|
|
315
337
|
averageConfidence: number | null;
|
|
316
338
|
averageShortlistSize: number;
|
|
339
|
+
vectorQueryCount: number;
|
|
340
|
+
vectorFallbackCount: number;
|
|
341
|
+
averageVectorCandidates: number;
|
|
342
|
+
averageVectorQueryMs: number;
|
|
343
|
+
averageEmbeddingMs: number;
|
|
317
344
|
feedbackCount: number;
|
|
318
345
|
correctFeedback: number;
|
|
319
346
|
correctedFeedback: number;
|
|
@@ -2283,6 +2310,12 @@ declare const QueryBuilder: {
|
|
|
2283
2310
|
fileDelete(): {
|
|
2284
2311
|
query: string;
|
|
2285
2312
|
};
|
|
2313
|
+
createScanUploadSession(): {
|
|
2314
|
+
query: string;
|
|
2315
|
+
};
|
|
2316
|
+
confirmScanUpload(): {
|
|
2317
|
+
query: string;
|
|
2318
|
+
};
|
|
2286
2319
|
createScanJob(): {
|
|
2287
2320
|
query: string;
|
|
2288
2321
|
};
|
|
@@ -2582,6 +2615,8 @@ declare const QueryBuilder: {
|
|
|
2582
2615
|
datasetRecordsUpsertVariables(input: DatasetRecordsUpsertInput): Record<string, unknown>;
|
|
2583
2616
|
datasetRecordsDeleteVariables(input: DatasetRecordsDeleteInput): Record<string, unknown>;
|
|
2584
2617
|
fileUploadRequestVariables(input: FileUploadInput): Record<string, unknown>;
|
|
2618
|
+
createScanUploadSessionVariables(input: CreateScanUploadSessionInput): Record<string, unknown>;
|
|
2619
|
+
confirmScanUploadVariables(input: ConfirmScanUploadInput): Record<string, unknown>;
|
|
2585
2620
|
createScanJobVariables(input: CreateScanJobInput): Record<string, unknown>;
|
|
2586
2621
|
submitScanFeedbackVariables(input: SubmitScanFeedbackInput): Record<string, unknown>;
|
|
2587
2622
|
scanMetricsVariables(input: ScanMetricsInput): Record<string, unknown>;
|
|
@@ -2727,4 +2762,4 @@ declare class Collection<T> implements AsyncIterable<T> {
|
|
|
2727
2762
|
each(): AsyncIterable<T>;
|
|
2728
2763
|
}
|
|
2729
2764
|
|
|
2730
|
-
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 CreateScanJobInput, 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 };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -191,6 +191,20 @@ interface CreateScanJobInput {
|
|
|
191
191
|
webhookUrl?: string;
|
|
192
192
|
webhookSecret?: string;
|
|
193
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
|
+
}
|
|
194
208
|
interface ScanJobPayload {
|
|
195
209
|
job: ScanJob;
|
|
196
210
|
created: boolean;
|
|
@@ -295,7 +309,14 @@ interface ScanMetrics {
|
|
|
295
309
|
completedJobs: number;
|
|
296
310
|
failedJobs: number;
|
|
297
311
|
failureRate: number;
|
|
312
|
+
noMatchCount: number;
|
|
313
|
+
noMatchRate: number;
|
|
298
314
|
averageShortlistSize: number;
|
|
315
|
+
vectorQueryCount: number;
|
|
316
|
+
vectorFallbackCount: number;
|
|
317
|
+
averageVectorCandidates: number;
|
|
318
|
+
averageVectorQueryMs: number;
|
|
319
|
+
averageEmbeddingMs: number;
|
|
299
320
|
confidenceDistribution: Record<string, unknown>;
|
|
300
321
|
feedback: ScanFeedbackMetrics;
|
|
301
322
|
featureVersions: ScanFeatureVersionMetrics[];
|
|
@@ -312,8 +333,14 @@ interface ScanFeatureVersionMetrics {
|
|
|
312
333
|
jobCount: number;
|
|
313
334
|
completedJobs: number;
|
|
314
335
|
failedJobs: number;
|
|
336
|
+
noMatchCount: number;
|
|
315
337
|
averageConfidence: number | null;
|
|
316
338
|
averageShortlistSize: number;
|
|
339
|
+
vectorQueryCount: number;
|
|
340
|
+
vectorFallbackCount: number;
|
|
341
|
+
averageVectorCandidates: number;
|
|
342
|
+
averageVectorQueryMs: number;
|
|
343
|
+
averageEmbeddingMs: number;
|
|
317
344
|
feedbackCount: number;
|
|
318
345
|
correctFeedback: number;
|
|
319
346
|
correctedFeedback: number;
|
|
@@ -2283,6 +2310,12 @@ declare const QueryBuilder: {
|
|
|
2283
2310
|
fileDelete(): {
|
|
2284
2311
|
query: string;
|
|
2285
2312
|
};
|
|
2313
|
+
createScanUploadSession(): {
|
|
2314
|
+
query: string;
|
|
2315
|
+
};
|
|
2316
|
+
confirmScanUpload(): {
|
|
2317
|
+
query: string;
|
|
2318
|
+
};
|
|
2286
2319
|
createScanJob(): {
|
|
2287
2320
|
query: string;
|
|
2288
2321
|
};
|
|
@@ -2582,6 +2615,8 @@ declare const QueryBuilder: {
|
|
|
2582
2615
|
datasetRecordsUpsertVariables(input: DatasetRecordsUpsertInput): Record<string, unknown>;
|
|
2583
2616
|
datasetRecordsDeleteVariables(input: DatasetRecordsDeleteInput): Record<string, unknown>;
|
|
2584
2617
|
fileUploadRequestVariables(input: FileUploadInput): Record<string, unknown>;
|
|
2618
|
+
createScanUploadSessionVariables(input: CreateScanUploadSessionInput): Record<string, unknown>;
|
|
2619
|
+
confirmScanUploadVariables(input: ConfirmScanUploadInput): Record<string, unknown>;
|
|
2585
2620
|
createScanJobVariables(input: CreateScanJobInput): Record<string, unknown>;
|
|
2586
2621
|
submitScanFeedbackVariables(input: SubmitScanFeedbackInput): Record<string, unknown>;
|
|
2587
2622
|
scanMetricsVariables(input: ScanMetricsInput): Record<string, unknown>;
|
|
@@ -2727,4 +2762,4 @@ declare class Collection<T> implements AsyncIterable<T> {
|
|
|
2727
2762
|
each(): AsyncIterable<T>;
|
|
2728
2763
|
}
|
|
2729
2764
|
|
|
2730
|
-
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 CreateScanJobInput, 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 };
|
|
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 };
|
package/dist/index.js
CHANGED
|
@@ -1283,7 +1283,14 @@ var SCAN_METRICS_FIELDS = `
|
|
|
1283
1283
|
completedJobs
|
|
1284
1284
|
failedJobs
|
|
1285
1285
|
failureRate
|
|
1286
|
+
noMatchCount
|
|
1287
|
+
noMatchRate
|
|
1286
1288
|
averageShortlistSize
|
|
1289
|
+
vectorQueryCount
|
|
1290
|
+
vectorFallbackCount
|
|
1291
|
+
averageVectorCandidates
|
|
1292
|
+
averageVectorQueryMs
|
|
1293
|
+
averageEmbeddingMs
|
|
1287
1294
|
confidenceDistribution
|
|
1288
1295
|
feedback {
|
|
1289
1296
|
total
|
|
@@ -1297,8 +1304,14 @@ var SCAN_METRICS_FIELDS = `
|
|
|
1297
1304
|
jobCount
|
|
1298
1305
|
completedJobs
|
|
1299
1306
|
failedJobs
|
|
1307
|
+
noMatchCount
|
|
1300
1308
|
averageConfidence
|
|
1301
1309
|
averageShortlistSize
|
|
1310
|
+
vectorQueryCount
|
|
1311
|
+
vectorFallbackCount
|
|
1312
|
+
averageVectorCandidates
|
|
1313
|
+
averageVectorQueryMs
|
|
1314
|
+
averageEmbeddingMs
|
|
1302
1315
|
feedbackCount
|
|
1303
1316
|
correctFeedback
|
|
1304
1317
|
correctedFeedback
|
|
@@ -2353,6 +2366,28 @@ ${RESOLVED_LINKS_FIELDS}` : selectedRecordFields;
|
|
|
2353
2366
|
`
|
|
2354
2367
|
};
|
|
2355
2368
|
},
|
|
2369
|
+
createScanUploadSession() {
|
|
2370
|
+
return {
|
|
2371
|
+
query: `
|
|
2372
|
+
mutation CreateScanUploadSession($input: CreateScanUploadSessionInput!) {
|
|
2373
|
+
createScanUploadSession(input: $input) {
|
|
2374
|
+
${PRESIGNED_UPLOAD_FIELDS}
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
`
|
|
2378
|
+
};
|
|
2379
|
+
},
|
|
2380
|
+
confirmScanUpload() {
|
|
2381
|
+
return {
|
|
2382
|
+
query: `
|
|
2383
|
+
mutation ConfirmScanUpload($input: ConfirmScanUploadInput!) {
|
|
2384
|
+
confirmScanUpload(input: $input) {
|
|
2385
|
+
${FILE_FIELDS}
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
`
|
|
2389
|
+
};
|
|
2390
|
+
},
|
|
2356
2391
|
createScanJob() {
|
|
2357
2392
|
return {
|
|
2358
2393
|
query: `
|
|
@@ -3627,6 +3662,12 @@ ${RESOLVED_LINKS_FIELDS}` : selectedRecordFields;
|
|
|
3627
3662
|
fileUploadRequestVariables(input) {
|
|
3628
3663
|
return { input };
|
|
3629
3664
|
},
|
|
3665
|
+
createScanUploadSessionVariables(input) {
|
|
3666
|
+
return { input };
|
|
3667
|
+
},
|
|
3668
|
+
confirmScanUploadVariables(input) {
|
|
3669
|
+
return { input };
|
|
3670
|
+
},
|
|
3630
3671
|
createScanJobVariables(input) {
|
|
3631
3672
|
return { input };
|
|
3632
3673
|
},
|