@lana-commerce/core 14.0.0-alpha.23 → 14.0.0-alpha.24
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/package.json
CHANGED
|
@@ -4731,6 +4731,8 @@ export interface Product {
|
|
|
4731
4731
|
tiered_pricing_mode: TieredPricingMode;
|
|
4732
4732
|
/** The name of the product */
|
|
4733
4733
|
title: string;
|
|
4734
|
+
/** Type of the product */
|
|
4735
|
+
type: ProductType;
|
|
4734
4736
|
/** The date and time when the product was last updated, RFC 3339 format */
|
|
4735
4737
|
updated_at: string;
|
|
4736
4738
|
/** Variants of the product */
|
|
@@ -4797,6 +4799,8 @@ export interface ProductCreate {
|
|
|
4797
4799
|
tiered_pricing_mode?: TieredPricingMode | null;
|
|
4798
4800
|
/** The name of the product */
|
|
4799
4801
|
title: string;
|
|
4802
|
+
/** Type of the product */
|
|
4803
|
+
type?: ProductType | null;
|
|
4800
4804
|
}
|
|
4801
4805
|
export interface ProductExpandableItems {
|
|
4802
4806
|
/** Generic array of expandable items */
|
|
@@ -4888,6 +4892,8 @@ export interface ProductModify {
|
|
|
4888
4892
|
tiered_pricing_mode?: TieredPricingMode | null;
|
|
4889
4893
|
/** The name of the product */
|
|
4890
4894
|
title?: string | null;
|
|
4895
|
+
/** Type of the product */
|
|
4896
|
+
type?: ProductType | null;
|
|
4891
4897
|
}
|
|
4892
4898
|
export interface ProductPage {
|
|
4893
4899
|
/** Total number of items in the collection */
|
|
@@ -5275,6 +5281,7 @@ export interface ProductSearchResult {
|
|
|
5275
5281
|
/** Minimum price for given search conditions */
|
|
5276
5282
|
price_min: number;
|
|
5277
5283
|
}
|
|
5284
|
+
export type ProductType = "bundle" | "digital_good" | "gift_card" | "physical" | "service";
|
|
5278
5285
|
export interface ProductVariant {
|
|
5279
5286
|
/** File attachment for digital good product variants */
|
|
5280
5287
|
attachment?: {
|
|
@@ -5424,8 +5431,6 @@ export interface ProductVariantCreate {
|
|
|
5424
5431
|
/** Specifies whether or not a tax is charged when the product variant is sold */
|
|
5425
5432
|
taxable?: boolean | null;
|
|
5426
5433
|
tiered_pricing?: TieredPricingCreate | null;
|
|
5427
|
-
/** Type of the variant */
|
|
5428
|
-
type?: VariantType | null;
|
|
5429
5434
|
/** Width of the product (in millimeters) used which can be used when calculating shipping costs */
|
|
5430
5435
|
width?: number | null;
|
|
5431
5436
|
}
|
|
@@ -5487,8 +5492,6 @@ export interface ProductVariantModify {
|
|
|
5487
5492
|
/** Specifies whether or not a tax is charged when the product variant is sold */
|
|
5488
5493
|
taxable?: boolean | null;
|
|
5489
5494
|
tiered_pricing?: TieredPricingCreate | null;
|
|
5490
|
-
/** Type of the variant */
|
|
5491
|
-
type?: VariantType | null;
|
|
5492
5495
|
/** Width of the product (in millimeters) used which can be used when calculating shipping costs */
|
|
5493
5496
|
width?: number | null;
|
|
5494
5497
|
}
|
|
@@ -12766,6 +12769,8 @@ export interface EndpointProductVariantsPriceHistory extends Endpoint<EndpointPr
|
|
|
12766
12769
|
/** Query price history of a customer group */
|
|
12767
12770
|
customer_group_id(v: string): EndpointProductVariantsPriceHistory;
|
|
12768
12771
|
from(v: string): EndpointProductVariantsPriceHistory;
|
|
12772
|
+
/** Query price history for a particular sales channel */
|
|
12773
|
+
sales_channel_id(v: string): EndpointProductVariantsPriceHistory;
|
|
12769
12774
|
/** Unique shop identifier. See also: [Unique Identifiers](/overview/concepts/unique-identifiers) */
|
|
12770
12775
|
shop_id(v: string): EndpointProductVariantsPriceHistory;
|
|
12771
12776
|
to(v: string): EndpointProductVariantsPriceHistory;
|
|
@@ -1152,6 +1152,7 @@ export interface ProductSearchOptionValueAgg {
|
|
|
1152
1152
|
/** ID of the option value */
|
|
1153
1153
|
name: string;
|
|
1154
1154
|
}
|
|
1155
|
+
export type ProductType = "bundle" | "digital_good" | "gift_card" | "physical" | "service";
|
|
1155
1156
|
export type ProductVariantsPageSortBy = "created_at";
|
|
1156
1157
|
export type ProductsPageSortBy = "created_at" | "updated_at";
|
|
1157
1158
|
export type ProfileImage = "auto" | "file";
|
|
@@ -2187,6 +2188,8 @@ export interface StorefrontProduct {
|
|
|
2187
2188
|
tiered_pricing_mode: TieredPricingMode;
|
|
2188
2189
|
/** The name of the product */
|
|
2189
2190
|
title: string;
|
|
2191
|
+
/** Type of the product */
|
|
2192
|
+
type: ProductType;
|
|
2190
2193
|
/** The date and time when the product was last updated, RFC 3339 format */
|
|
2191
2194
|
updated_at: string;
|
|
2192
2195
|
variants: Array<{
|