Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix types
Krzysztof Bialoglowiczf435cf5c58a7
diff --git a/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts b/saleor/static/dashboard-next/productTypes/types/AttributeCreate.tsindex 63548a3bc3..1711348911 100644--- a/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts+++ b/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts@@ -2,7 +2,7 @@/* eslint-disable */// This file was automatically generated and should not be edited.-import { AttributeCreateInput, AttributeTypeEnum, TaxRateType } from "./../../types/globalTypes";+import { AttributeCreateInput, AttributeTypeEnum } from "./../../types/globalTypes";// ====================================================// GraphQL mutation operation: AttributeCreate@@ -14,6 +14,12 @@ export interface AttributeCreate_attributeCreate_errors {message: string | null;}+export interface AttributeCreate_attributeCreate_productType_taxType {+ __typename: "TaxType";+ description: string | null;+ taxCode: string | null;+}+export interface AttributeCreate_attributeCreate_productType_productAttributes_values {__typename: "AttributeValue";id: string;@@ -56,7 +62,7 @@ export interface AttributeCreate_attributeCreate_productType {name: string;hasVariants: boolean;isShippingRequired: boolean;- taxRate: TaxRateType | null;+ taxType: AttributeCreate_attributeCreate_productType_taxType | null;productAttributes: (AttributeCreate_attributeCreate_productType_productAttributes | null)[] | null;variantAttributes: (AttributeCreate_attributeCreate_productType_variantAttributes | null)[] | null;weight: AttributeCreate_attributeCreate_productType_weight | null;diff --git a/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts b/saleor/static/dashboard-next/productTypes/types/AttributeDelete.tsindex f62cd728fd..456bc2f21b 100644--- a/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts+++ b/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts@@ -2,8 +2,6 @@/* eslint-disable */// This file was automatically generated and should not be edited.-import { TaxRateType } from "./../../types/globalTypes";-// ====================================================// GraphQL mutation operation: AttributeDelete// ====================================================@@ -14,6 +12,12 @@ export interface AttributeDelete_attributeDelete_errors {message: string | null;}+export interface AttributeDelete_attributeDelete_productType_taxType {+ __typename: "TaxType";+ description: string | null;+ taxCode: string | null;+}+export interface AttributeDelete_attributeDelete_productType_productAttributes_values {__typename: "AttributeValue";id: string;@@ -56,7 +60,7 @@ export interface AttributeDelete_attributeDelete_productType {name: string;hasVariants: boolean;isShippingRequired: boolean;- taxRate: TaxRateType | null;+ taxType: AttributeDelete_attributeDelete_productType_taxType | null;productAttributes: (AttributeDelete_attributeDelete_productType_productAttributes | null)[] | null;variantAttributes: (AttributeDelete_attributeDelete_productType_variantAttributes | null)[] | null;weight: AttributeDelete_attributeDelete_productType_weight | null;diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.tsindex a146ea60f6..e6dfb6c0ac 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts@@ -2,7 +2,7 @@/* eslint-disable */// This file was automatically generated and should not be edited.-import { ProductTypeInput, TaxRateType } from "./../../types/globalTypes";+import { ProductTypeInput } from "./../../types/globalTypes";// ====================================================// GraphQL mutation operation: ProductTypeCreate@@ -14,6 +14,12 @@ export interface ProductTypeCreate_productTypeCreate_errors {message: string | null;}+export interface ProductTypeCreate_productTypeCreate_productType_taxType {+ __typename: "TaxType";+ description: string | null;+ taxCode: string | null;+}+export interface ProductTypeCreate_productTypeCreate_productType_productAttributes_values {__typename: "AttributeValue";id: string;@@ -56,7 +62,7 @@ export interface ProductTypeCreate_productTypeCreate_productType {name: string;hasVariants: boolean;isShippingRequired: boolean;- taxRate: TaxRateType | null;+ taxType: ProductTypeCreate_productTypeCreate_productType_taxType | null;productAttributes: (ProductTypeCreate_productTypeCreate_productType_productAttributes | null)[] | null;variantAttributes: (ProductTypeCreate_productTypeCreate_productType_variantAttributes | null)[] | null;weight: ProductTypeCreate_productTypeCreate_productType_weight | null;diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeCreateData.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeCreateData.tsindex 483dedd6a7..b50c7f29c5 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeCreateData.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeCreateData.ts@@ -13,6 +13,13 @@ export interface ProductTypeCreateData_shop {defaultWeightUnit: WeightUnitsEnum | null;}+export interface ProductTypeCreateData_taxTypes {+ __typename: "TaxType";+ taxCode: string | null;+ description: string | null;+}+export interface ProductTypeCreateData {shop: ProductTypeCreateData_shop | null;+ taxTypes: (ProductTypeCreateData_taxTypes | null)[] | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeDetails.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeDetails.tsindex 38cbc73a6e..3c1a8e0a84 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeDetails.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeDetails.ts@@ -2,12 +2,18 @@/* eslint-disable */// This file was automatically generated and should not be edited.-import { TaxRateType, WeightUnitsEnum } from "./../../types/globalTypes";+import { WeightUnitsEnum } from "./../../types/globalTypes";// ====================================================// GraphQL query operation: ProductTypeDetails// ====================================================+export interface ProductTypeDetails_productType_taxType {+ __typename: "TaxType";+ description: string | null;+ taxCode: string | null;+}+export interface ProductTypeDetails_productType_productAttributes_values {__typename: "AttributeValue";id: string;@@ -50,7 +56,7 @@ export interface ProductTypeDetails_productType {name: string;hasVariants: boolean;isShippingRequired: boolean;- taxRate: TaxRateType | null;+ taxType: ProductTypeDetails_productType_taxType | null;productAttributes: (ProductTypeDetails_productType_productAttributes | null)[] | null;variantAttributes: (ProductTypeDetails_productType_variantAttributes | null)[] | null;weight: ProductTypeDetails_productType_weight | null;@@ -61,9 +67,16 @@ export interface ProductTypeDetails_shop {defaultWeightUnit: WeightUnitsEnum | null;}+export interface ProductTypeDetails_taxTypes {+ __typename: "TaxType";+ taxCode: string | null;+ description: string | null;+}+export interface ProductTypeDetails {productType: ProductTypeDetails_productType | null;shop: ProductTypeDetails_shop | null;+ taxTypes: (ProductTypeDetails_taxTypes | null)[] | null;}export interface ProductTypeDetailsVariables {diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeDetailsFragment.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeDetailsFragment.tsindex 85b673786c..4b7466e9c1 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeDetailsFragment.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeDetailsFragment.ts@@ -2,12 +2,16 @@/* eslint-disable */// This file was automatically generated and should not be edited.-import { TaxRateType } from "./../../types/globalTypes";-// ====================================================// GraphQL fragment: ProductTypeDetailsFragment// ====================================================+export interface ProductTypeDetailsFragment_taxType {+ __typename: "TaxType";+ description: string | null;+ taxCode: string | null;+}+export interface ProductTypeDetailsFragment_productAttributes_values {__typename: "AttributeValue";id: string;@@ -50,7 +54,7 @@ export interface ProductTypeDetailsFragment {name: string;hasVariants: boolean;isShippingRequired: boolean;- taxRate: TaxRateType | null;+ taxType: ProductTypeDetailsFragment_taxType | null;productAttributes: (ProductTypeDetailsFragment_productAttributes | null)[] | null;variantAttributes: (ProductTypeDetailsFragment_variantAttributes | null)[] | null;weight: ProductTypeDetailsFragment_weight | null;diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeFragment.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeFragment.tsindex f1443f1ff6..d96c186689 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeFragment.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeFragment.ts@@ -2,17 +2,21 @@/* eslint-disable */// This file was automatically generated and should not be edited.-import { TaxRateType } from "./../../types/globalTypes";-// ====================================================// GraphQL fragment: ProductTypeFragment// ====================================================+export interface ProductTypeFragment_taxType {+ __typename: "TaxType";+ description: string | null;+ taxCode: string | null;+}+export interface ProductTypeFragment {__typename: "ProductType";id: string;name: string;hasVariants: boolean;isShippingRequired: boolean;- taxRate: TaxRateType | null;+ taxType: ProductTypeFragment_taxType | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeList.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeList.tsindex 89d1f26d0f..e7fcf18178 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeList.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeList.ts@@ -2,19 +2,23 @@/* eslint-disable */// This file was automatically generated and should not be edited.-import { TaxRateType } from "./../../types/globalTypes";-// ====================================================// GraphQL query operation: ProductTypeList// ====================================================+export interface ProductTypeList_productTypes_edges_node_taxType {+ __typename: "TaxType";+ description: string | null;+ taxCode: string | null;+}+export interface ProductTypeList_productTypes_edges_node {__typename: "ProductType";id: string;name: string;hasVariants: boolean;isShippingRequired: boolean;- taxRate: TaxRateType | null;+ taxType: ProductTypeList_productTypes_edges_node_taxType | null;}export interface ProductTypeList_productTypes_edges {diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.tsindex 6c7f4ce119..87433c0b1e 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts@@ -2,7 +2,7 @@/* eslint-disable */// This file was automatically generated and should not be edited.-import { ProductTypeInput, TaxRateType } from "./../../types/globalTypes";+import { ProductTypeInput } from "./../../types/globalTypes";// ====================================================// GraphQL mutation operation: ProductTypeUpdate@@ -14,6 +14,12 @@ export interface ProductTypeUpdate_productTypeUpdate_errors {message: string | null;}+export interface ProductTypeUpdate_productTypeUpdate_productType_taxType {+ __typename: "TaxType";+ description: string | null;+ taxCode: string | null;+}+export interface ProductTypeUpdate_productTypeUpdate_productType_productAttributes_values {__typename: "AttributeValue";id: string;@@ -56,7 +62,7 @@ export interface ProductTypeUpdate_productTypeUpdate_productType {name: string;hasVariants: boolean;isShippingRequired: boolean;- taxRate: TaxRateType | null;+ taxType: ProductTypeUpdate_productTypeUpdate_productType_taxType | null;productAttributes: (ProductTypeUpdate_productTypeUpdate_productType_productAttributes | null)[] | null;variantAttributes: (ProductTypeUpdate_productTypeUpdate_productType_variantAttributes | null)[] | null;weight: ProductTypeUpdate_productTypeUpdate_productType_weight | null;diff --git a/saleor/static/dashboard-next/types/globalTypes.ts b/saleor/static/dashboard-next/types/globalTypes.tsindex f6091e6828..ae52e6117f 100644--- a/saleor/static/dashboard-next/types/globalTypes.ts+++ b/saleor/static/dashboard-next/types/globalTypes.ts@@ -567,6 +567,7 @@ export interface VoucherInput {collections?: (string | null)[] | null;categories?: (string | null)[] | null;minAmountSpent?: any | null;+ minCheckoutItemsQuantity?: number | null;countries?: (string | null)[] | null;applyOncePerOrder?: boolean | null;usageLimit?: number | null;