Import Tiny product compositions
This commit is contained in:
19
src/types.ts
19
src/types.ts
@@ -498,6 +498,25 @@ export interface ProductComposition {
|
||||
components: ProductCompositionComponent[];
|
||||
}
|
||||
|
||||
export interface ProductCompositionImportSummary {
|
||||
imported: number;
|
||||
failed: number;
|
||||
componentCount: number;
|
||||
referenceCount: number;
|
||||
skippedReferenceCount: number;
|
||||
issues: Array<{
|
||||
type: string;
|
||||
productSku?: string;
|
||||
product?: string;
|
||||
component?: string;
|
||||
componentSku?: string;
|
||||
tinyProductId?: string;
|
||||
unit?: string;
|
||||
count?: number;
|
||||
message?: string;
|
||||
}>;
|
||||
}
|
||||
|
||||
export interface ClientAnalyticsItem {
|
||||
customerKey: string;
|
||||
clientToken: string;
|
||||
|
||||
Reference in New Issue
Block a user