Skip to content

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

Fix types

Krzysztof Bialoglowicz4c39207367e1
diff --git a/saleor/static/dashboard-next/discounts/types/VoucherCataloguesAdd.ts b/saleor/static/dashboard-next/discounts/types/VoucherCataloguesAdd.ts
index 9f7fb3ae1c..51f9973730 100644
--- a/saleor/static/dashboard-next/discounts/types/VoucherCataloguesAdd.ts
+++ b/saleor/static/dashboard-next/discounts/types/VoucherCataloguesAdd.ts
@@ -141,9 +141,11 @@ export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher {
discountValue: number;
countries: (VoucherCataloguesAdd_voucherCataloguesAdd_voucher_countries | null)[] | null;
minAmountSpent: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_minAmountSpent | null;
+ minCheckoutItemsQuantity: number | null;
type: VoucherTypeEnum;
used: number;
applyOncePerOrder: boolean;
+ applyOncePerCustomer: boolean;
products: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products | null;
collections: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_collections | null;
categories: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_categories | null;
diff --git a/saleor/static/dashboard-next/discounts/types/VoucherCataloguesRemove.ts b/saleor/static/dashboard-next/discounts/types/VoucherCataloguesRemove.ts
index 44ddef4c7d..12cbb13da9 100644
--- a/saleor/static/dashboard-next/discounts/types/VoucherCataloguesRemove.ts
+++ b/saleor/static/dashboard-next/discounts/types/VoucherCataloguesRemove.ts
@@ -141,9 +141,11 @@ export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher {
discountValue: number;
countries: (VoucherCataloguesRemove_voucherCataloguesRemove_voucher_countries | null)[] | null;
minAmountSpent: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_minAmountSpent | null;
+ minCheckoutItemsQuantity: number | null;
type: VoucherTypeEnum;
used: number;
applyOncePerOrder: boolean;
+ applyOncePerCustomer: boolean;
products: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products | null;
collections: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_collections | null;
categories: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_categories | null;
diff --git a/saleor/static/dashboard-next/discounts/types/VoucherCreate.ts b/saleor/static/dashboard-next/discounts/types/VoucherCreate.ts
index 1d14c392ef..e45cb1d5b6 100644
--- a/saleor/static/dashboard-next/discounts/types/VoucherCreate.ts
+++ b/saleor/static/dashboard-next/discounts/types/VoucherCreate.ts
@@ -37,6 +37,7 @@ export interface VoucherCreate_voucherCreate_voucher {
discountValue: number;
countries: (VoucherCreate_voucherCreate_voucher_countries | null)[] | null;
minAmountSpent: VoucherCreate_voucherCreate_voucher_minAmountSpent | null;
+ minCheckoutItemsQuantity: number | null;
}
export interface VoucherCreate_voucherCreate {
diff --git a/saleor/static/dashboard-next/discounts/types/VoucherDetails.ts b/saleor/static/dashboard-next/discounts/types/VoucherDetails.ts
index ed2e089fb3..e6efc06b38 100644
--- a/saleor/static/dashboard-next/discounts/types/VoucherDetails.ts
+++ b/saleor/static/dashboard-next/discounts/types/VoucherDetails.ts
@@ -135,9 +135,11 @@ export interface VoucherDetails_voucher {
discountValue: number;
countries: (VoucherDetails_voucher_countries | null)[] | null;
minAmountSpent: VoucherDetails_voucher_minAmountSpent | null;
+ minCheckoutItemsQuantity: number | null;
type: VoucherTypeEnum;
used: number;
applyOncePerOrder: boolean;
+ applyOncePerCustomer: boolean;
products: VoucherDetails_voucher_products | null;
collections: VoucherDetails_voucher_collections | null;
categories: VoucherDetails_voucher_categories | null;
diff --git a/saleor/static/dashboard-next/discounts/types/VoucherDetailsFragment.ts b/saleor/static/dashboard-next/discounts/types/VoucherDetailsFragment.ts
index 7234bf69e2..f8481e68dd 100644
--- a/saleor/static/dashboard-next/discounts/types/VoucherDetailsFragment.ts
+++ b/saleor/static/dashboard-next/discounts/types/VoucherDetailsFragment.ts
@@ -135,9 +135,11 @@ export interface VoucherDetailsFragment {
discountValue: number;
countries: (VoucherDetailsFragment_countries | null)[] | null;
minAmountSpent: VoucherDetailsFragment_minAmountSpent | null;
+ minCheckoutItemsQuantity: number | null;
type: VoucherTypeEnum;
used: number;
applyOncePerOrder: boolean;
+ applyOncePerCustomer: boolean;
products: VoucherDetailsFragment_products | null;
collections: VoucherDetailsFragment_collections | null;
categories: VoucherDetailsFragment_categories | null;
diff --git a/saleor/static/dashboard-next/discounts/types/VoucherFragment.ts b/saleor/static/dashboard-next/discounts/types/VoucherFragment.ts
index dac9ef3cda..62a8483a41 100644
--- a/saleor/static/dashboard-next/discounts/types/VoucherFragment.ts
+++ b/saleor/static/dashboard-next/discounts/types/VoucherFragment.ts
@@ -31,4 +31,5 @@ export interface VoucherFragment {
discountValue: number;
countries: (VoucherFragment_countries | null)[] | null;
minAmountSpent: VoucherFragment_minAmountSpent | null;
+ minCheckoutItemsQuantity: number | null;
}
diff --git a/saleor/static/dashboard-next/discounts/types/VoucherList.ts b/saleor/static/dashboard-next/discounts/types/VoucherList.ts
index e85387accc..9b421ef414 100644
--- a/saleor/static/dashboard-next/discounts/types/VoucherList.ts
+++ b/saleor/static/dashboard-next/discounts/types/VoucherList.ts
@@ -31,6 +31,7 @@ export interface VoucherList_vouchers_edges_node {
discountValue: number;
countries: (VoucherList_vouchers_edges_node_countries | null)[] | null;
minAmountSpent: VoucherList_vouchers_edges_node_minAmountSpent | null;
+ minCheckoutItemsQuantity: number | null;
}
export interface VoucherList_vouchers_edges {
diff --git a/saleor/static/dashboard-next/discounts/types/VoucherUpdate.ts b/saleor/static/dashboard-next/discounts/types/VoucherUpdate.ts
index 61614b5b34..1dd2e53c6d 100644
--- a/saleor/static/dashboard-next/discounts/types/VoucherUpdate.ts
+++ b/saleor/static/dashboard-next/discounts/types/VoucherUpdate.ts
@@ -37,6 +37,7 @@ export interface VoucherUpdate_voucherUpdate_voucher {
discountValue: number;
countries: (VoucherUpdate_voucherUpdate_voucher_countries | null)[] | null;
minAmountSpent: VoucherUpdate_voucherUpdate_voucher_minAmountSpent | null;
+ minCheckoutItemsQuantity: number | null;
}
export interface VoucherUpdate_voucherUpdate {