Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix products types

Krzysztof Bialoglowicz083bf2684eac
diff --git a/saleor/static/dashboard-next/categories/types/CategoryDetails.ts b/saleor/static/dashboard-next/categories/types/CategoryDetails.ts
index dfd03d48f9..101a84c3ac 100644
--- a/saleor/static/dashboard-next/categories/types/CategoryDetails.ts
+++ b/saleor/static/dashboard-next/categories/types/CategoryDetails.ts
@@ -54,7 +54,7 @@ export interface CategoryDetails_category_products_pageInfo {
}
export interface CategoryDetails_category_products_edges_node_availability {
- __typename: "ProductAvailability";
+ __typename: "ProductPricingInfo";
available: boolean | null;
}
diff --git a/saleor/static/dashboard-next/products/types/Product.ts b/saleor/static/dashboard-next/products/types/Product.ts
index 10ebd1f2ce..9797b91e99 100644
--- a/saleor/static/dashboard-next/products/types/Product.ts
+++ b/saleor/static/dashboard-next/products/types/Product.ts
@@ -104,7 +104,7 @@ export interface Product_availability_priceRange {
}
export interface Product_availability {
- __typename: "ProductAvailability";
+ __typename: "ProductPricingInfo";
available: boolean | null;
priceRange: Product_availability_priceRange | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductCreate.ts b/saleor/static/dashboard-next/products/types/ProductCreate.ts
index d444319430..a8e9bb0283 100644
--- a/saleor/static/dashboard-next/products/types/ProductCreate.ts
+++ b/saleor/static/dashboard-next/products/types/ProductCreate.ts
@@ -112,7 +112,7 @@ export interface ProductCreate_productCreate_product_availability_priceRange {
}
export interface ProductCreate_productCreate_product_availability {
- __typename: "ProductAvailability";
+ __typename: "ProductPricingInfo";
available: boolean | null;
priceRange: ProductCreate_productCreate_product_availability_priceRange | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductDetails.ts b/saleor/static/dashboard-next/products/types/ProductDetails.ts
index 2a3e64f521..1623b5985a 100644
--- a/saleor/static/dashboard-next/products/types/ProductDetails.ts
+++ b/saleor/static/dashboard-next/products/types/ProductDetails.ts
@@ -104,7 +104,7 @@ export interface ProductDetails_product_availability_priceRange {
}
export interface ProductDetails_product_availability {
- __typename: "ProductAvailability";
+ __typename: "ProductPricingInfo";
available: boolean | null;
priceRange: ProductDetails_product_availability_priceRange | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductFragment.ts b/saleor/static/dashboard-next/products/types/ProductFragment.ts
index 6b1f88316b..b831bfed3c 100644
--- a/saleor/static/dashboard-next/products/types/ProductFragment.ts
+++ b/saleor/static/dashboard-next/products/types/ProductFragment.ts
@@ -12,7 +12,7 @@ export interface ProductFragment_thumbnail {
}
export interface ProductFragment_availability {
- __typename: "ProductAvailability";
+ __typename: "ProductPricingInfo";
available: boolean | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductImageCreate.ts b/saleor/static/dashboard-next/products/types/ProductImageCreate.ts
index 90cc2fe767..f751ed83f5 100644
--- a/saleor/static/dashboard-next/products/types/ProductImageCreate.ts
+++ b/saleor/static/dashboard-next/products/types/ProductImageCreate.ts
@@ -110,7 +110,7 @@ export interface ProductImageCreate_productImageCreate_product_availability_pric
}
export interface ProductImageCreate_productImageCreate_product_availability {
- __typename: "ProductAvailability";
+ __typename: "ProductPricingInfo";
available: boolean | null;
priceRange: ProductImageCreate_productImageCreate_product_availability_priceRange | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts b/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts
index b05ef90ae4..734eaf0fdd 100644
--- a/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts
+++ b/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts
@@ -110,7 +110,7 @@ export interface ProductImageUpdate_productImageUpdate_product_availability_pric
}
export interface ProductImageUpdate_productImageUpdate_product_availability {
- __typename: "ProductAvailability";
+ __typename: "ProductPricingInfo";
available: boolean | null;
priceRange: ProductImageUpdate_productImageUpdate_product_availability_priceRange | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductList.ts b/saleor/static/dashboard-next/products/types/ProductList.ts
index 4ccbd10f8e..cfb7cd582a 100644
--- a/saleor/static/dashboard-next/products/types/ProductList.ts
+++ b/saleor/static/dashboard-next/products/types/ProductList.ts
@@ -14,7 +14,7 @@ export interface ProductList_products_edges_node_thumbnail {
}
export interface ProductList_products_edges_node_availability {
- __typename: "ProductAvailability";
+ __typename: "ProductPricingInfo";
available: boolean | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductUpdate.ts b/saleor/static/dashboard-next/products/types/ProductUpdate.ts
index d49b7c077a..615a089ef4 100644
--- a/saleor/static/dashboard-next/products/types/ProductUpdate.ts
+++ b/saleor/static/dashboard-next/products/types/ProductUpdate.ts
@@ -112,7 +112,7 @@ export interface ProductUpdate_productUpdate_product_availability_priceRange {
}
export interface ProductUpdate_productUpdate_product_availability {
- __typename: "ProductAvailability";
+ __typename: "ProductPricingInfo";
available: boolean | null;
priceRange: ProductUpdate_productUpdate_product_availability_priceRange | null;
}
diff --git a/saleor/static/dashboard-next/products/types/SimpleProductUpdate.ts b/saleor/static/dashboard-next/products/types/SimpleProductUpdate.ts
index fd9c816e2b..99e9d6e5f4 100644
--- a/saleor/static/dashboard-next/products/types/SimpleProductUpdate.ts
+++ b/saleor/static/dashboard-next/products/types/SimpleProductUpdate.ts
@@ -112,7 +112,7 @@ export interface SimpleProductUpdate_productUpdate_product_availability_priceRan
}
export interface SimpleProductUpdate_productUpdate_product_availability {
- __typename: "ProductAvailability";
+ __typename: "ProductPricingInfo";
available: boolean | null;
priceRange: SimpleProductUpdate_productUpdate_product_availability_priceRange | null;
}
diff --git a/saleor/static/dashboard-next/types/globalTypes.ts b/saleor/static/dashboard-next/types/globalTypes.ts
index 1a3ca41d9a..7cc2d0d9b8 100644
--- a/saleor/static/dashboard-next/types/globalTypes.ts
+++ b/saleor/static/dashboard-next/types/globalTypes.ts
@@ -115,8 +115,12 @@ export enum OrderStatus {
}
export enum OrderStatusFilter {
+ CANCELED = "CANCELED",
+ FULFILLED = "FULFILLED",
+ PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
READY_TO_CAPTURE = "READY_TO_CAPTURE",
READY_TO_FULFILL = "READY_TO_FULFILL",
+ UNFULFILLED = "UNFULFILLED",
}
export enum PaymentChargeStatusEnum {