@wix/stores 1.0.99 → 1.0.100
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/build/cjs/src/stores-catalog-v1-product.http.d.ts +6 -6
- package/build/cjs/src/stores-catalog-v1-product.http.js +113 -113
- package/build/cjs/src/stores-catalog-v1-product.http.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.meta.d.ts +7 -7
- package/build/cjs/src/stores-catalog-v1-product.meta.js +58 -58
- package/build/cjs/src/stores-catalog-v1-product.meta.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.public.d.ts +475 -5
- package/build/cjs/src/stores-catalog-v1-product.public.js +19 -19
- package/build/cjs/src/stores-catalog-v1-product.public.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.types.d.ts +231 -231
- package/build/cjs/src/stores-catalog-v1-product.universal.d.ts +379 -379
- package/build/cjs/src/stores-catalog-v1-product.universal.js +163 -163
- package/build/cjs/src/stores-catalog-v1-product.universal.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.http.d.ts +6 -6
- package/build/es/src/stores-catalog-v1-product.http.js +109 -109
- package/build/es/src/stores-catalog-v1-product.http.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.meta.d.ts +7 -7
- package/build/es/src/stores-catalog-v1-product.meta.js +54 -54
- package/build/es/src/stores-catalog-v1-product.meta.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.public.d.ts +475 -5
- package/build/es/src/stores-catalog-v1-product.public.js +16 -16
- package/build/es/src/stores-catalog-v1-product.public.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.types.d.ts +231 -231
- package/build/es/src/stores-catalog-v1-product.universal.d.ts +379 -379
- package/build/es/src/stores-catalog-v1-product.universal.js +159 -159
- package/build/es/src/stores-catalog-v1-product.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores-catalog-v1-product.public.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product.public.ts"],"names":[],"mappings":";;;AACA,+FAiD+C;AAElC,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC;AAE1D,SAAgB,
|
|
1
|
+
{"version":3,"file":"stores-catalog-v1-product.public.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product.public.ts"],"names":[],"mappings":";;;AACA,+FAiD+C;AAElC,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC;AAE1D,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,IAAA,mDAAsB,EACpB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sCAOC;AAED,SAAgB,yBAAyB,CAAC,UAAsB;IAC9D,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,IAAA,+DAAkC,EAChC,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,8DAOC;AAED,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,GAAW,EAAE,OAAsB,EAAE,EAAE,CAC7C,IAAA,mDAAsB,EACpB,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,sCAQC;AAED,SAAgB,yBAAyB,CAAC,UAAsB;IAC9D,OAAO,CAAC,GAAW,EAAE,OAAyC,EAAE,EAAE,CAChE,IAAA,+DAAkC,EAChC,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,8DAQC;AAED,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,IAAA,mDAAsB,EACpB,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sCAOC;AAED,SAAg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N,CAAC;AAPD,gDAOC;AAED,SAAgB,eAAe,CAAC,UAAsB;IACpD,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,IAAA,qDAAwB,EACtB,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,0CAOC;AAED,6FAQ+C;AAP7C,kIAAA,WAAW,OAAA;AACX,sIAAA,eAAe,OAAA;AACf,sIAAA,eAAe,OAAA;AACf,oIAAA,aAAa,OAAA;AACb,iIAAA,UAAU,OAAA;AACV,mIAAA,YAAY,OAAA;AACZ,gIAAA,SAAS,OAAA"}
|
|
@@ -471,25 +471,6 @@ export interface Settings {
|
|
|
471
471
|
/** User-selected keyword terms for a specific page. */
|
|
472
472
|
keywords?: Keyword[];
|
|
473
473
|
}
|
|
474
|
-
export interface V1CreateProductPlatformizedRequest {
|
|
475
|
-
/** Product information. */
|
|
476
|
-
product?: Product;
|
|
477
|
-
}
|
|
478
|
-
export interface V1CreateProductPlatformizedResponse {
|
|
479
|
-
product?: Product;
|
|
480
|
-
}
|
|
481
|
-
export interface V1UpdateProductPlatformizedRequest {
|
|
482
|
-
product: Product;
|
|
483
|
-
}
|
|
484
|
-
export interface V1UpdateProductPlatformizedResponse {
|
|
485
|
-
product?: Product;
|
|
486
|
-
}
|
|
487
|
-
export interface V1DeleteProductPlatformizedRequest {
|
|
488
|
-
/** ID of the product to delete. */
|
|
489
|
-
id: string;
|
|
490
|
-
}
|
|
491
|
-
export interface V1DeleteProductPlatformizedResponse {
|
|
492
|
-
}
|
|
493
474
|
export interface CreateProductRequest {
|
|
494
475
|
/** Product information. */
|
|
495
476
|
product?: Product;
|
|
@@ -952,6 +933,25 @@ export interface BulkAdjustProductPropertiesByFilterSyncResponse {
|
|
|
952
933
|
/** Bulk action metadata. */
|
|
953
934
|
bulkActionMetadata?: BulkActionMetadata;
|
|
954
935
|
}
|
|
936
|
+
export interface V1CreateProductPlatformizedRequest {
|
|
937
|
+
/** Product information. */
|
|
938
|
+
product?: Product;
|
|
939
|
+
}
|
|
940
|
+
export interface V1CreateProductPlatformizedResponse {
|
|
941
|
+
product?: Product;
|
|
942
|
+
}
|
|
943
|
+
export interface V1UpdateProductPlatformizedRequest {
|
|
944
|
+
product: Product;
|
|
945
|
+
}
|
|
946
|
+
export interface V1UpdateProductPlatformizedResponse {
|
|
947
|
+
product?: Product;
|
|
948
|
+
}
|
|
949
|
+
export interface V1DeleteProductPlatformizedRequest {
|
|
950
|
+
/** ID of the product to delete. */
|
|
951
|
+
id: string;
|
|
952
|
+
}
|
|
953
|
+
export interface V1DeleteProductPlatformizedResponse {
|
|
954
|
+
}
|
|
955
955
|
export interface ProductCreated {
|
|
956
956
|
/** Product ID (generated automatically by the catalog). */
|
|
957
957
|
productId?: string;
|
|
@@ -1462,7 +1462,7 @@ export interface AggregateProductsRequest {
|
|
|
1462
1462
|
export interface AggregateProductsResponse {
|
|
1463
1463
|
aggregates?: Record<string, any> | null;
|
|
1464
1464
|
}
|
|
1465
|
-
export interface
|
|
1465
|
+
export interface CreateProductResponseNonNullableFields {
|
|
1466
1466
|
product?: {
|
|
1467
1467
|
id: string;
|
|
1468
1468
|
slug: string;
|
|
@@ -1701,7 +1701,7 @@ export interface V1CreateProductPlatformizedResponseNonNullableFields {
|
|
|
1701
1701
|
exportProductId: string;
|
|
1702
1702
|
};
|
|
1703
1703
|
}
|
|
1704
|
-
export interface
|
|
1704
|
+
export interface CreateProductPlatformizedResponseNonNullableFields {
|
|
1705
1705
|
product?: {
|
|
1706
1706
|
id: string;
|
|
1707
1707
|
slug: string;
|
|
@@ -1940,7 +1940,7 @@ export interface V1UpdateProductPlatformizedResponseNonNullableFields {
|
|
|
1940
1940
|
exportProductId: string;
|
|
1941
1941
|
};
|
|
1942
1942
|
}
|
|
1943
|
-
export interface
|
|
1943
|
+
export interface UpdateProductResponseNonNullableFields {
|
|
1944
1944
|
product?: {
|
|
1945
1945
|
id: string;
|
|
1946
1946
|
slug: string;
|
|
@@ -2179,7 +2179,7 @@ export interface CreateProductResponseNonNullableFields {
|
|
|
2179
2179
|
exportProductId: string;
|
|
2180
2180
|
};
|
|
2181
2181
|
}
|
|
2182
|
-
export interface
|
|
2182
|
+
export interface UpdateProductPlatformizedResponseNonNullableFields {
|
|
2183
2183
|
product?: {
|
|
2184
2184
|
id: string;
|
|
2185
2185
|
slug: string;
|
|
@@ -2418,7 +2418,213 @@ export interface CreateProductPlatformizedResponseNonNullableFields {
|
|
|
2418
2418
|
exportProductId: string;
|
|
2419
2419
|
};
|
|
2420
2420
|
}
|
|
2421
|
-
export interface
|
|
2421
|
+
export interface UpdateVariantsResponseNonNullableFields {
|
|
2422
|
+
variants: {
|
|
2423
|
+
id: string;
|
|
2424
|
+
variant?: {
|
|
2425
|
+
priceData?: {
|
|
2426
|
+
currency: string;
|
|
2427
|
+
discountedPrice: number;
|
|
2428
|
+
formatted?: {
|
|
2429
|
+
price: string;
|
|
2430
|
+
discountedPrice: string;
|
|
2431
|
+
};
|
|
2432
|
+
};
|
|
2433
|
+
convertedPriceData?: {
|
|
2434
|
+
currency: string;
|
|
2435
|
+
discountedPrice: number;
|
|
2436
|
+
formatted?: {
|
|
2437
|
+
price: string;
|
|
2438
|
+
discountedPrice: string;
|
|
2439
|
+
};
|
|
2440
|
+
};
|
|
2441
|
+
costAndProfitData?: {
|
|
2442
|
+
formattedItemCost: string;
|
|
2443
|
+
profit: number;
|
|
2444
|
+
formattedProfit: string;
|
|
2445
|
+
profitMargin: number;
|
|
2446
|
+
};
|
|
2447
|
+
weight: number;
|
|
2448
|
+
sku: string;
|
|
2449
|
+
visible: boolean;
|
|
2450
|
+
};
|
|
2451
|
+
stock?: {
|
|
2452
|
+
trackQuantity: boolean;
|
|
2453
|
+
inStock: boolean;
|
|
2454
|
+
};
|
|
2455
|
+
}[];
|
|
2456
|
+
}
|
|
2457
|
+
export interface CreateCollectionResponseNonNullableFields {
|
|
2458
|
+
collection?: {
|
|
2459
|
+
media?: {
|
|
2460
|
+
mainMedia?: {
|
|
2461
|
+
image?: {
|
|
2462
|
+
url: string;
|
|
2463
|
+
width: number;
|
|
2464
|
+
height: number;
|
|
2465
|
+
};
|
|
2466
|
+
video?: {
|
|
2467
|
+
files: {
|
|
2468
|
+
url: string;
|
|
2469
|
+
width: number;
|
|
2470
|
+
height: number;
|
|
2471
|
+
}[];
|
|
2472
|
+
stillFrameMediaId: string;
|
|
2473
|
+
};
|
|
2474
|
+
thumbnail?: {
|
|
2475
|
+
url: string;
|
|
2476
|
+
width: number;
|
|
2477
|
+
height: number;
|
|
2478
|
+
};
|
|
2479
|
+
mediaType: MediaItemType;
|
|
2480
|
+
title: string;
|
|
2481
|
+
id: string;
|
|
2482
|
+
};
|
|
2483
|
+
items: {
|
|
2484
|
+
image?: {
|
|
2485
|
+
url: string;
|
|
2486
|
+
width: number;
|
|
2487
|
+
height: number;
|
|
2488
|
+
};
|
|
2489
|
+
video?: {
|
|
2490
|
+
files: {
|
|
2491
|
+
url: string;
|
|
2492
|
+
width: number;
|
|
2493
|
+
height: number;
|
|
2494
|
+
}[];
|
|
2495
|
+
stillFrameMediaId: string;
|
|
2496
|
+
};
|
|
2497
|
+
thumbnail?: {
|
|
2498
|
+
url: string;
|
|
2499
|
+
width: number;
|
|
2500
|
+
height: number;
|
|
2501
|
+
};
|
|
2502
|
+
mediaType: MediaItemType;
|
|
2503
|
+
title: string;
|
|
2504
|
+
id: string;
|
|
2505
|
+
}[];
|
|
2506
|
+
};
|
|
2507
|
+
numberOfProducts: number;
|
|
2508
|
+
seoSchema?: {
|
|
2509
|
+
tags: {
|
|
2510
|
+
type: string;
|
|
2511
|
+
children: string;
|
|
2512
|
+
custom: boolean;
|
|
2513
|
+
disabled: boolean;
|
|
2514
|
+
}[];
|
|
2515
|
+
settings?: {
|
|
2516
|
+
preventAutoRedirect: boolean;
|
|
2517
|
+
keywords: {
|
|
2518
|
+
term: string;
|
|
2519
|
+
isMain: boolean;
|
|
2520
|
+
}[];
|
|
2521
|
+
};
|
|
2522
|
+
};
|
|
2523
|
+
};
|
|
2524
|
+
}
|
|
2525
|
+
export interface UpdateCollectionResponseNonNullableFields {
|
|
2526
|
+
collection?: {
|
|
2527
|
+
media?: {
|
|
2528
|
+
mainMedia?: {
|
|
2529
|
+
image?: {
|
|
2530
|
+
url: string;
|
|
2531
|
+
width: number;
|
|
2532
|
+
height: number;
|
|
2533
|
+
};
|
|
2534
|
+
video?: {
|
|
2535
|
+
files: {
|
|
2536
|
+
url: string;
|
|
2537
|
+
width: number;
|
|
2538
|
+
height: number;
|
|
2539
|
+
}[];
|
|
2540
|
+
stillFrameMediaId: string;
|
|
2541
|
+
};
|
|
2542
|
+
thumbnail?: {
|
|
2543
|
+
url: string;
|
|
2544
|
+
width: number;
|
|
2545
|
+
height: number;
|
|
2546
|
+
};
|
|
2547
|
+
mediaType: MediaItemType;
|
|
2548
|
+
title: string;
|
|
2549
|
+
id: string;
|
|
2550
|
+
};
|
|
2551
|
+
items: {
|
|
2552
|
+
image?: {
|
|
2553
|
+
url: string;
|
|
2554
|
+
width: number;
|
|
2555
|
+
height: number;
|
|
2556
|
+
};
|
|
2557
|
+
video?: {
|
|
2558
|
+
files: {
|
|
2559
|
+
url: string;
|
|
2560
|
+
width: number;
|
|
2561
|
+
height: number;
|
|
2562
|
+
}[];
|
|
2563
|
+
stillFrameMediaId: string;
|
|
2564
|
+
};
|
|
2565
|
+
thumbnail?: {
|
|
2566
|
+
url: string;
|
|
2567
|
+
width: number;
|
|
2568
|
+
height: number;
|
|
2569
|
+
};
|
|
2570
|
+
mediaType: MediaItemType;
|
|
2571
|
+
title: string;
|
|
2572
|
+
id: string;
|
|
2573
|
+
}[];
|
|
2574
|
+
};
|
|
2575
|
+
numberOfProducts: number;
|
|
2576
|
+
seoSchema?: {
|
|
2577
|
+
tags: {
|
|
2578
|
+
type: string;
|
|
2579
|
+
children: string;
|
|
2580
|
+
custom: boolean;
|
|
2581
|
+
disabled: boolean;
|
|
2582
|
+
}[];
|
|
2583
|
+
settings?: {
|
|
2584
|
+
preventAutoRedirect: boolean;
|
|
2585
|
+
keywords: {
|
|
2586
|
+
term: string;
|
|
2587
|
+
isMain: boolean;
|
|
2588
|
+
}[];
|
|
2589
|
+
};
|
|
2590
|
+
};
|
|
2591
|
+
};
|
|
2592
|
+
}
|
|
2593
|
+
export interface BulkUpdateProductsResponseNonNullableFields {
|
|
2594
|
+
results: {
|
|
2595
|
+
itemMetadata?: {
|
|
2596
|
+
originalIndex: number;
|
|
2597
|
+
success: boolean;
|
|
2598
|
+
error?: {
|
|
2599
|
+
code: string;
|
|
2600
|
+
description: string;
|
|
2601
|
+
};
|
|
2602
|
+
};
|
|
2603
|
+
}[];
|
|
2604
|
+
bulkActionMetadata?: {
|
|
2605
|
+
totalSuccesses: number;
|
|
2606
|
+
totalFailures: number;
|
|
2607
|
+
undetailedFailures: number;
|
|
2608
|
+
};
|
|
2609
|
+
}
|
|
2610
|
+
export interface BulkAdjustProductPropertiesResponseNonNullableFields {
|
|
2611
|
+
results: {
|
|
2612
|
+
itemMetadata?: {
|
|
2613
|
+
originalIndex: number;
|
|
2614
|
+
success: boolean;
|
|
2615
|
+
error?: {
|
|
2616
|
+
code: string;
|
|
2617
|
+
description: string;
|
|
2618
|
+
};
|
|
2619
|
+
};
|
|
2620
|
+
}[];
|
|
2621
|
+
bulkActionMetadata?: {
|
|
2622
|
+
totalSuccesses: number;
|
|
2623
|
+
totalFailures: number;
|
|
2624
|
+
undetailedFailures: number;
|
|
2625
|
+
};
|
|
2626
|
+
}
|
|
2627
|
+
export interface V1CreateProductPlatformizedResponseNonNullableFields {
|
|
2422
2628
|
product?: {
|
|
2423
2629
|
id: string;
|
|
2424
2630
|
slug: string;
|
|
@@ -2657,7 +2863,7 @@ export interface UpdateProductResponseNonNullableFields {
|
|
|
2657
2863
|
exportProductId: string;
|
|
2658
2864
|
};
|
|
2659
2865
|
}
|
|
2660
|
-
export interface
|
|
2866
|
+
export interface V1UpdateProductPlatformizedResponseNonNullableFields {
|
|
2661
2867
|
product?: {
|
|
2662
2868
|
id: string;
|
|
2663
2869
|
slug: string;
|
|
@@ -2896,212 +3102,6 @@ export interface UpdateProductPlatformizedResponseNonNullableFields {
|
|
|
2896
3102
|
exportProductId: string;
|
|
2897
3103
|
};
|
|
2898
3104
|
}
|
|
2899
|
-
export interface UpdateVariantsResponseNonNullableFields {
|
|
2900
|
-
variants: {
|
|
2901
|
-
id: string;
|
|
2902
|
-
variant?: {
|
|
2903
|
-
priceData?: {
|
|
2904
|
-
currency: string;
|
|
2905
|
-
discountedPrice: number;
|
|
2906
|
-
formatted?: {
|
|
2907
|
-
price: string;
|
|
2908
|
-
discountedPrice: string;
|
|
2909
|
-
};
|
|
2910
|
-
};
|
|
2911
|
-
convertedPriceData?: {
|
|
2912
|
-
currency: string;
|
|
2913
|
-
discountedPrice: number;
|
|
2914
|
-
formatted?: {
|
|
2915
|
-
price: string;
|
|
2916
|
-
discountedPrice: string;
|
|
2917
|
-
};
|
|
2918
|
-
};
|
|
2919
|
-
costAndProfitData?: {
|
|
2920
|
-
formattedItemCost: string;
|
|
2921
|
-
profit: number;
|
|
2922
|
-
formattedProfit: string;
|
|
2923
|
-
profitMargin: number;
|
|
2924
|
-
};
|
|
2925
|
-
weight: number;
|
|
2926
|
-
sku: string;
|
|
2927
|
-
visible: boolean;
|
|
2928
|
-
};
|
|
2929
|
-
stock?: {
|
|
2930
|
-
trackQuantity: boolean;
|
|
2931
|
-
inStock: boolean;
|
|
2932
|
-
};
|
|
2933
|
-
}[];
|
|
2934
|
-
}
|
|
2935
|
-
export interface CreateCollectionResponseNonNullableFields {
|
|
2936
|
-
collection?: {
|
|
2937
|
-
media?: {
|
|
2938
|
-
mainMedia?: {
|
|
2939
|
-
image?: {
|
|
2940
|
-
url: string;
|
|
2941
|
-
width: number;
|
|
2942
|
-
height: number;
|
|
2943
|
-
};
|
|
2944
|
-
video?: {
|
|
2945
|
-
files: {
|
|
2946
|
-
url: string;
|
|
2947
|
-
width: number;
|
|
2948
|
-
height: number;
|
|
2949
|
-
}[];
|
|
2950
|
-
stillFrameMediaId: string;
|
|
2951
|
-
};
|
|
2952
|
-
thumbnail?: {
|
|
2953
|
-
url: string;
|
|
2954
|
-
width: number;
|
|
2955
|
-
height: number;
|
|
2956
|
-
};
|
|
2957
|
-
mediaType: MediaItemType;
|
|
2958
|
-
title: string;
|
|
2959
|
-
id: string;
|
|
2960
|
-
};
|
|
2961
|
-
items: {
|
|
2962
|
-
image?: {
|
|
2963
|
-
url: string;
|
|
2964
|
-
width: number;
|
|
2965
|
-
height: number;
|
|
2966
|
-
};
|
|
2967
|
-
video?: {
|
|
2968
|
-
files: {
|
|
2969
|
-
url: string;
|
|
2970
|
-
width: number;
|
|
2971
|
-
height: number;
|
|
2972
|
-
}[];
|
|
2973
|
-
stillFrameMediaId: string;
|
|
2974
|
-
};
|
|
2975
|
-
thumbnail?: {
|
|
2976
|
-
url: string;
|
|
2977
|
-
width: number;
|
|
2978
|
-
height: number;
|
|
2979
|
-
};
|
|
2980
|
-
mediaType: MediaItemType;
|
|
2981
|
-
title: string;
|
|
2982
|
-
id: string;
|
|
2983
|
-
}[];
|
|
2984
|
-
};
|
|
2985
|
-
numberOfProducts: number;
|
|
2986
|
-
seoSchema?: {
|
|
2987
|
-
tags: {
|
|
2988
|
-
type: string;
|
|
2989
|
-
children: string;
|
|
2990
|
-
custom: boolean;
|
|
2991
|
-
disabled: boolean;
|
|
2992
|
-
}[];
|
|
2993
|
-
settings?: {
|
|
2994
|
-
preventAutoRedirect: boolean;
|
|
2995
|
-
keywords: {
|
|
2996
|
-
term: string;
|
|
2997
|
-
isMain: boolean;
|
|
2998
|
-
}[];
|
|
2999
|
-
};
|
|
3000
|
-
};
|
|
3001
|
-
};
|
|
3002
|
-
}
|
|
3003
|
-
export interface UpdateCollectionResponseNonNullableFields {
|
|
3004
|
-
collection?: {
|
|
3005
|
-
media?: {
|
|
3006
|
-
mainMedia?: {
|
|
3007
|
-
image?: {
|
|
3008
|
-
url: string;
|
|
3009
|
-
width: number;
|
|
3010
|
-
height: number;
|
|
3011
|
-
};
|
|
3012
|
-
video?: {
|
|
3013
|
-
files: {
|
|
3014
|
-
url: string;
|
|
3015
|
-
width: number;
|
|
3016
|
-
height: number;
|
|
3017
|
-
}[];
|
|
3018
|
-
stillFrameMediaId: string;
|
|
3019
|
-
};
|
|
3020
|
-
thumbnail?: {
|
|
3021
|
-
url: string;
|
|
3022
|
-
width: number;
|
|
3023
|
-
height: number;
|
|
3024
|
-
};
|
|
3025
|
-
mediaType: MediaItemType;
|
|
3026
|
-
title: string;
|
|
3027
|
-
id: string;
|
|
3028
|
-
};
|
|
3029
|
-
items: {
|
|
3030
|
-
image?: {
|
|
3031
|
-
url: string;
|
|
3032
|
-
width: number;
|
|
3033
|
-
height: number;
|
|
3034
|
-
};
|
|
3035
|
-
video?: {
|
|
3036
|
-
files: {
|
|
3037
|
-
url: string;
|
|
3038
|
-
width: number;
|
|
3039
|
-
height: number;
|
|
3040
|
-
}[];
|
|
3041
|
-
stillFrameMediaId: string;
|
|
3042
|
-
};
|
|
3043
|
-
thumbnail?: {
|
|
3044
|
-
url: string;
|
|
3045
|
-
width: number;
|
|
3046
|
-
height: number;
|
|
3047
|
-
};
|
|
3048
|
-
mediaType: MediaItemType;
|
|
3049
|
-
title: string;
|
|
3050
|
-
id: string;
|
|
3051
|
-
}[];
|
|
3052
|
-
};
|
|
3053
|
-
numberOfProducts: number;
|
|
3054
|
-
seoSchema?: {
|
|
3055
|
-
tags: {
|
|
3056
|
-
type: string;
|
|
3057
|
-
children: string;
|
|
3058
|
-
custom: boolean;
|
|
3059
|
-
disabled: boolean;
|
|
3060
|
-
}[];
|
|
3061
|
-
settings?: {
|
|
3062
|
-
preventAutoRedirect: boolean;
|
|
3063
|
-
keywords: {
|
|
3064
|
-
term: string;
|
|
3065
|
-
isMain: boolean;
|
|
3066
|
-
}[];
|
|
3067
|
-
};
|
|
3068
|
-
};
|
|
3069
|
-
};
|
|
3070
|
-
}
|
|
3071
|
-
export interface BulkUpdateProductsResponseNonNullableFields {
|
|
3072
|
-
results: {
|
|
3073
|
-
itemMetadata?: {
|
|
3074
|
-
originalIndex: number;
|
|
3075
|
-
success: boolean;
|
|
3076
|
-
error?: {
|
|
3077
|
-
code: string;
|
|
3078
|
-
description: string;
|
|
3079
|
-
};
|
|
3080
|
-
};
|
|
3081
|
-
}[];
|
|
3082
|
-
bulkActionMetadata?: {
|
|
3083
|
-
totalSuccesses: number;
|
|
3084
|
-
totalFailures: number;
|
|
3085
|
-
undetailedFailures: number;
|
|
3086
|
-
};
|
|
3087
|
-
}
|
|
3088
|
-
export interface BulkAdjustProductPropertiesResponseNonNullableFields {
|
|
3089
|
-
results: {
|
|
3090
|
-
itemMetadata?: {
|
|
3091
|
-
originalIndex: number;
|
|
3092
|
-
success: boolean;
|
|
3093
|
-
error?: {
|
|
3094
|
-
code: string;
|
|
3095
|
-
description: string;
|
|
3096
|
-
};
|
|
3097
|
-
};
|
|
3098
|
-
}[];
|
|
3099
|
-
bulkActionMetadata?: {
|
|
3100
|
-
totalSuccesses: number;
|
|
3101
|
-
totalFailures: number;
|
|
3102
|
-
undetailedFailures: number;
|
|
3103
|
-
};
|
|
3104
|
-
}
|
|
3105
3105
|
export interface QueryProductsPlatformizedResponseNonNullableFields {
|
|
3106
3106
|
products: {
|
|
3107
3107
|
id: string;
|