Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Rebuild types
dominik-zeglenc983f5993e09
diff --git a/saleor/static/dashboard-next/auth/types/TokenAuth.ts b/saleor/static/dashboard-next/auth/types/TokenAuth.tsindex 68500a7b75..a282edc472 100644--- a/saleor/static/dashboard-next/auth/types/TokenAuth.ts+++ b/saleor/static/dashboard-next/auth/types/TokenAuth.ts@@ -10,47 +10,24 @@ import { PermissionEnum } from "./../../types/globalTypes";export interface TokenAuth_tokenCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface TokenAuth_tokenCreate_user_permissions {__typename: "PermissionDisplay";- /**- * Internal code for permission.- */code: PermissionEnum;- /**- * Describe action(s) allowed to do by permission.- */name: string;}export interface TokenAuth_tokenCreate_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;lastName: string;isStaff: boolean;- /**- * A note about the customer- */note: string | null;- /**- * List of user's permissions.- */permissions: (TokenAuth_tokenCreate_user_permissions | null)[] | null;}@@ -62,13 +39,6 @@ export interface TokenAuth_tokenCreate {}export interface TokenAuth {- /**- * Mutation that authenticates a user and returns token and user data.- *- * It overrides the default graphql_jwt.ObtainJSONWebToken to wrap potential- * authentication errors in our Error type, which is consistent to how rest of- * the mutation works.- */tokenCreate: TokenAuth_tokenCreate | null;}diff --git a/saleor/static/dashboard-next/auth/types/User.ts b/saleor/static/dashboard-next/auth/types/User.tsindex 1825e31074..6027f7f828 100644--- a/saleor/static/dashboard-next/auth/types/User.ts+++ b/saleor/static/dashboard-next/auth/types/User.ts@@ -10,32 +10,17 @@ import { PermissionEnum } from "./../../types/globalTypes";export interface User_permissions {__typename: "PermissionDisplay";- /**- * Internal code for permission.- */code: PermissionEnum;- /**- * Describe action(s) allowed to do by permission.- */name: string;}export interface User {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;lastName: string;isStaff: boolean;- /**- * A note about the customer- */note: string | null;- /**- * List of user's permissions.- */permissions: (User_permissions | null)[] | null;}diff --git a/saleor/static/dashboard-next/auth/types/VerifyToken.ts b/saleor/static/dashboard-next/auth/types/VerifyToken.tsindex 1f5a429fe2..52dc496a41 100644--- a/saleor/static/dashboard-next/auth/types/VerifyToken.ts+++ b/saleor/static/dashboard-next/auth/types/VerifyToken.ts@@ -10,33 +10,18 @@ import { PermissionEnum } from "./../../types/globalTypes";export interface VerifyToken_tokenVerify_user_permissions {__typename: "PermissionDisplay";- /**- * Internal code for permission.- */code: PermissionEnum;- /**- * Describe action(s) allowed to do by permission.- */name: string;}export interface VerifyToken_tokenVerify_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;lastName: string;isStaff: boolean;- /**- * A note about the customer- */note: string | null;- /**- * List of user's permissions.- */permissions: (VerifyToken_tokenVerify_user_permissions | null)[] | null;}@@ -47,9 +32,6 @@ export interface VerifyToken_tokenVerify {}export interface VerifyToken {- /**- * Mutation that confirm if token is valid and also return user data.- */tokenVerify: VerifyToken_tokenVerify | null;}diff --git a/saleor/static/dashboard-next/categories/types/CategoryBulkDelete.ts b/saleor/static/dashboard-next/categories/types/CategoryBulkDelete.tsindex 13d305b995..7824cbe3fc 100644--- a/saleor/static/dashboard-next/categories/types/CategoryBulkDelete.ts+++ b/saleor/static/dashboard-next/categories/types/CategoryBulkDelete.ts@@ -8,30 +8,16 @@export interface CategoryBulkDelete_categoryBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CategoryBulkDelete_categoryBulkDelete {__typename: "CategoryBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: CategoryBulkDelete_categoryBulkDelete_errors[] | null;}export interface CategoryBulkDelete {- /**- * Deletes categories.- */categoryBulkDelete: CategoryBulkDelete_categoryBulkDelete | null;}diff --git a/saleor/static/dashboard-next/categories/types/CategoryCreate.ts b/saleor/static/dashboard-next/categories/types/CategoryCreate.tsindex e0dfe8d7bb..0bd794be3d 100644--- a/saleor/static/dashboard-next/categories/types/CategoryCreate.ts+++ b/saleor/static/dashboard-next/categories/types/CategoryCreate.ts@@ -10,43 +10,23 @@ import { CategoryInput } from "./../../types/globalTypes";export interface CategoryCreate_categoryCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CategoryCreate_categoryCreate_category_backgroundImage {__typename: "Image";- /**- * Alt text for an image.- */alt: string | null;- /**- * The URL of the image.- */url: string;}export interface CategoryCreate_categoryCreate_category_parent {__typename: "Category";- /**- * The ID of the object.- */id: string;}export interface CategoryCreate_categoryCreate_category {__typename: "Category";- /**- * The ID of the object.- */id: string;backgroundImage: CategoryCreate_categoryCreate_category_backgroundImage | null;name: string;@@ -58,17 +38,11 @@ export interface CategoryCreate_categoryCreate_category {export interface CategoryCreate_categoryCreate {__typename: "CategoryCreate";- /**- * List of errors that occurred executing the mutation.- */errors: CategoryCreate_categoryCreate_errors[] | null;category: CategoryCreate_categoryCreate_category | null;}export interface CategoryCreate {- /**- * Creates a new category.- */categoryCreate: CategoryCreate_categoryCreate | null;}diff --git a/saleor/static/dashboard-next/categories/types/CategoryDelete.ts b/saleor/static/dashboard-next/categories/types/CategoryDelete.tsindex 7d61c7e939..e68ff91b89 100644--- a/saleor/static/dashboard-next/categories/types/CategoryDelete.ts+++ b/saleor/static/dashboard-next/categories/types/CategoryDelete.ts@@ -8,30 +8,16 @@export interface CategoryDelete_categoryDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CategoryDelete_categoryDelete {__typename: "CategoryDelete";- /**- * List of errors that occurred executing the mutation.- */errors: CategoryDelete_categoryDelete_errors[] | null;}export interface CategoryDelete {- /**- * Deletes a category.- */categoryDelete: CategoryDelete_categoryDelete | null;}diff --git a/saleor/static/dashboard-next/categories/types/CategoryDetails.ts b/saleor/static/dashboard-next/categories/types/CategoryDetails.tsindex 6bd66f693c..5168b4606f 100644--- a/saleor/static/dashboard-next/categories/types/CategoryDetails.ts+++ b/saleor/static/dashboard-next/categories/types/CategoryDetails.ts@@ -8,62 +8,35 @@export interface CategoryDetails_category_backgroundImage {__typename: "Image";- /**- * Alt text for an image.- */alt: string | null;- /**- * The URL of the image.- */url: string;}export interface CategoryDetails_category_parent {__typename: "Category";- /**- * The ID of the object.- */id: string;}export interface CategoryDetails_category_children_edges_node_children {__typename: "CategoryCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface CategoryDetails_category_children_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface CategoryDetails_category_children_edges_node {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of children of the category.- */children: CategoryDetails_category_children_edges_node_children | null;- /**- * List of products in the category.- */products: CategoryDetails_category_children_edges_node_products | null;}export interface CategoryDetails_category_children_edges {__typename: "CategoryCountableEdge";- /**- * The item at the end of the edge- */node: CategoryDetails_category_children_edges_node;}@@ -74,101 +47,53 @@ export interface CategoryDetails_category_children {export interface CategoryDetails_category_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface CategoryDetails_category_products_edges_node_basePrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface CategoryDetails_category_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface CategoryDetails_category_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface CategoryDetails_category_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;- /**- * The product's default base price.- */basePrice: CategoryDetails_category_products_edges_node_basePrice | null;- /**- * Whether the product is in stock and visible or not.- */isAvailable: boolean | null;- /**- * The main thumbnail for a product.- */thumbnail: CategoryDetails_category_products_edges_node_thumbnail | null;productType: CategoryDetails_category_products_edges_node_productType;}export interface CategoryDetails_category_products_edges {__typename: "ProductCountableEdge";- /**- * A cursor for use in pagination- */cursor: string;- /**- * The item at the end of the edge- */node: CategoryDetails_category_products_edges_node;}export interface CategoryDetails_category_products {__typename: "ProductCountableConnection";- /**- * Pagination data for this connection.- */pageInfo: CategoryDetails_category_products_pageInfo;edges: CategoryDetails_category_products_edges[];}export interface CategoryDetails_category {__typename: "Category";- /**- * The ID of the object.- */id: string;backgroundImage: CategoryDetails_category_backgroundImage | null;name: string;@@ -176,20 +101,11 @@ export interface CategoryDetails_category {seoDescription: string | null;seoTitle: string | null;parent: CategoryDetails_category_parent | null;- /**- * List of children of the category.- */children: CategoryDetails_category_children | null;- /**- * List of products in the category.- */products: CategoryDetails_category_products | null;}export interface CategoryDetails {- /**- * Lookup a category by ID.- */category: CategoryDetails_category | null;}diff --git a/saleor/static/dashboard-next/categories/types/CategoryDetailsFragment.ts b/saleor/static/dashboard-next/categories/types/CategoryDetailsFragment.tsindex 58f4649efd..111a0e6c24 100644--- a/saleor/static/dashboard-next/categories/types/CategoryDetailsFragment.ts+++ b/saleor/static/dashboard-next/categories/types/CategoryDetailsFragment.ts@@ -8,29 +8,17 @@export interface CategoryDetailsFragment_backgroundImage {__typename: "Image";- /**- * Alt text for an image.- */alt: string | null;- /**- * The URL of the image.- */url: string;}export interface CategoryDetailsFragment_parent {__typename: "Category";- /**- * The ID of the object.- */id: string;}export interface CategoryDetailsFragment {__typename: "Category";- /**- * The ID of the object.- */id: string;backgroundImage: CategoryDetailsFragment_backgroundImage | null;name: string;diff --git a/saleor/static/dashboard-next/categories/types/CategoryUpdate.ts b/saleor/static/dashboard-next/categories/types/CategoryUpdate.tsindex 06b64c8ed9..c7d6e36ce9 100644--- a/saleor/static/dashboard-next/categories/types/CategoryUpdate.ts+++ b/saleor/static/dashboard-next/categories/types/CategoryUpdate.ts@@ -10,43 +10,23 @@ import { CategoryInput } from "./../../types/globalTypes";export interface CategoryUpdate_categoryUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CategoryUpdate_categoryUpdate_category_backgroundImage {__typename: "Image";- /**- * Alt text for an image.- */alt: string | null;- /**- * The URL of the image.- */url: string;}export interface CategoryUpdate_categoryUpdate_category_parent {__typename: "Category";- /**- * The ID of the object.- */id: string;}export interface CategoryUpdate_categoryUpdate_category {__typename: "Category";- /**- * The ID of the object.- */id: string;backgroundImage: CategoryUpdate_categoryUpdate_category_backgroundImage | null;name: string;@@ -58,17 +38,11 @@ export interface CategoryUpdate_categoryUpdate_category {export interface CategoryUpdate_categoryUpdate {__typename: "CategoryUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: CategoryUpdate_categoryUpdate_errors[] | null;category: CategoryUpdate_categoryUpdate_category | null;}export interface CategoryUpdate {- /**- * Updates a category.- */categoryUpdate: CategoryUpdate_categoryUpdate | null;}diff --git a/saleor/static/dashboard-next/categories/types/RootCategories.ts b/saleor/static/dashboard-next/categories/types/RootCategories.tsindex f044634e86..0c55c71df8 100644--- a/saleor/static/dashboard-next/categories/types/RootCategories.ts+++ b/saleor/static/dashboard-next/categories/types/RootCategories.ts@@ -8,78 +8,42 @@export interface RootCategories_categories_edges_node_children {__typename: "CategoryCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface RootCategories_categories_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface RootCategories_categories_edges_node {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of children of the category.- */children: RootCategories_categories_edges_node_children | null;- /**- * List of products in the category.- */products: RootCategories_categories_edges_node_products | null;}export interface RootCategories_categories_edges {__typename: "CategoryCountableEdge";- /**- * The item at the end of the edge- */node: RootCategories_categories_edges_node;}export interface RootCategories_categories_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface RootCategories_categories {__typename: "CategoryCountableConnection";edges: RootCategories_categories_edges[];- /**- * Pagination data for this connection.- */pageInfo: RootCategories_categories_pageInfo;}export interface RootCategories {- /**- * List of the shop's categories.- */categories: RootCategories_categories | null;}diff --git a/saleor/static/dashboard-next/collections/types/CollectionAssignProduct.ts b/saleor/static/dashboard-next/collections/types/CollectionAssignProduct.tsindex 3ecdc4133e..dc8fd38392 100644--- a/saleor/static/dashboard-next/collections/types/CollectionAssignProduct.ts+++ b/saleor/static/dashboard-next/collections/types/CollectionAssignProduct.ts@@ -8,115 +8,62 @@export interface CollectionAssignProduct_collectionAddProducts_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CollectionAssignProduct_collectionAddProducts_collection_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface CollectionAssignProduct_collectionAddProducts_collection_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface CollectionAssignProduct_collectionAddProducts_collection_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;isPublished: boolean;name: string;productType: CollectionAssignProduct_collectionAddProducts_collection_products_edges_node_productType;- /**- * The main thumbnail for a product.- */thumbnail: CollectionAssignProduct_collectionAddProducts_collection_products_edges_node_thumbnail | null;}export interface CollectionAssignProduct_collectionAddProducts_collection_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: CollectionAssignProduct_collectionAddProducts_collection_products_edges_node;}export interface CollectionAssignProduct_collectionAddProducts_collection_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface CollectionAssignProduct_collectionAddProducts_collection_products {__typename: "ProductCountableConnection";edges: CollectionAssignProduct_collectionAddProducts_collection_products_edges[];- /**- * Pagination data for this connection.- */pageInfo: CollectionAssignProduct_collectionAddProducts_collection_products_pageInfo;}export interface CollectionAssignProduct_collectionAddProducts_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;- /**- * List of products in this collection.- */products: CollectionAssignProduct_collectionAddProducts_collection_products | null;}export interface CollectionAssignProduct_collectionAddProducts {__typename: "CollectionAddProducts";- /**- * List of errors that occurred executing the mutation.- */errors: CollectionAssignProduct_collectionAddProducts_errors[] | null;- /**- * Collection to which products will be added.- */collection: CollectionAssignProduct_collectionAddProducts_collection | null;}export interface CollectionAssignProduct {- /**- * Adds products to a collection.- */collectionAddProducts: CollectionAssignProduct_collectionAddProducts | null;}diff --git a/saleor/static/dashboard-next/collections/types/CollectionBulkDelete.ts b/saleor/static/dashboard-next/collections/types/CollectionBulkDelete.tsindex 12ce0d9028..3afafab505 100644--- a/saleor/static/dashboard-next/collections/types/CollectionBulkDelete.ts+++ b/saleor/static/dashboard-next/collections/types/CollectionBulkDelete.ts@@ -8,30 +8,16 @@export interface CollectionBulkDelete_collectionBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CollectionBulkDelete_collectionBulkDelete {__typename: "CollectionBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: CollectionBulkDelete_collectionBulkDelete_errors[] | null;}export interface CollectionBulkDelete {- /**- * Deletes collections.- */collectionBulkDelete: CollectionBulkDelete_collectionBulkDelete | null;}diff --git a/saleor/static/dashboard-next/collections/types/CollectionBulkPublish.ts b/saleor/static/dashboard-next/collections/types/CollectionBulkPublish.tsindex 0936eec5b2..9cb56e743d 100644--- a/saleor/static/dashboard-next/collections/types/CollectionBulkPublish.ts+++ b/saleor/static/dashboard-next/collections/types/CollectionBulkPublish.ts@@ -8,30 +8,16 @@export interface CollectionBulkPublish_collectionBulkPublish_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CollectionBulkPublish_collectionBulkPublish {__typename: "CollectionBulkPublish";- /**- * List of errors that occurred executing the mutation.- */errors: CollectionBulkPublish_collectionBulkPublish_errors[] | null;}export interface CollectionBulkPublish {- /**- * Publish collections.- */collectionBulkPublish: CollectionBulkPublish_collectionBulkPublish | null;}diff --git a/saleor/static/dashboard-next/collections/types/CollectionDetails.ts b/saleor/static/dashboard-next/collections/types/CollectionDetails.tsindex 5e0a07b018..bfbc9441c2 100644--- a/saleor/static/dashboard-next/collections/types/CollectionDetails.ts+++ b/saleor/static/dashboard-next/collections/types/CollectionDetails.ts@@ -8,90 +8,51 @@export interface CollectionDetails_collection_backgroundImage {__typename: "Image";- /**- * Alt text for an image.- */alt: string | null;- /**- * The URL of the image.- */url: string;}export interface CollectionDetails_collection_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface CollectionDetails_collection_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface CollectionDetails_collection_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;isPublished: boolean;name: string;productType: CollectionDetails_collection_products_edges_node_productType;- /**- * The main thumbnail for a product.- */thumbnail: CollectionDetails_collection_products_edges_node_thumbnail | null;}export interface CollectionDetails_collection_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: CollectionDetails_collection_products_edges_node;}export interface CollectionDetails_collection_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface CollectionDetails_collection_products {__typename: "ProductCountableConnection";edges: CollectionDetails_collection_products_edges[];- /**- * Pagination data for this connection.- */pageInfo: CollectionDetails_collection_products_pageInfo;}export interface CollectionDetails_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;isPublished: boolean;name: string;@@ -100,36 +61,21 @@ export interface CollectionDetails_collection {publicationDate: any | null;seoDescription: string | null;seoTitle: string | null;- /**- * List of products in this collection.- */products: CollectionDetails_collection_products | null;}export interface CollectionDetails_shop_homepageCollection {__typename: "Collection";- /**- * The ID of the object.- */id: string;}export interface CollectionDetails_shop {__typename: "Shop";- /**- * Collection displayed on homepage- */homepageCollection: CollectionDetails_shop_homepageCollection | null;}export interface CollectionDetails {- /**- * Lookup a collection by ID.- */collection: CollectionDetails_collection | null;- /**- * Represents a shop resources.- */shop: CollectionDetails_shop | null;}diff --git a/saleor/static/dashboard-next/collections/types/CollectionDetailsFragment.ts b/saleor/static/dashboard-next/collections/types/CollectionDetailsFragment.tsindex 6fc844aba2..24ae24d14f 100644--- a/saleor/static/dashboard-next/collections/types/CollectionDetailsFragment.ts+++ b/saleor/static/dashboard-next/collections/types/CollectionDetailsFragment.ts@@ -8,21 +8,12 @@export interface CollectionDetailsFragment_backgroundImage {__typename: "Image";- /**- * Alt text for an image.- */alt: string | null;- /**- * The URL of the image.- */url: string;}export interface CollectionDetailsFragment {__typename: "Collection";- /**- * The ID of the object.- */id: string;isPublished: boolean;name: string;diff --git a/saleor/static/dashboard-next/collections/types/CollectionFragment.ts b/saleor/static/dashboard-next/collections/types/CollectionFragment.tsindex 205b1b91ef..0dfb0475ae 100644--- a/saleor/static/dashboard-next/collections/types/CollectionFragment.ts+++ b/saleor/static/dashboard-next/collections/types/CollectionFragment.ts@@ -8,9 +8,6 @@export interface CollectionFragment {__typename: "Collection";- /**- * The ID of the object.- */id: string;isPublished: boolean;name: string;diff --git a/saleor/static/dashboard-next/collections/types/CollectionList.ts b/saleor/static/dashboard-next/collections/types/CollectionList.tsindex 10e10cff2a..c17574dc0f 100644--- a/saleor/static/dashboard-next/collections/types/CollectionList.ts+++ b/saleor/static/dashboard-next/collections/types/CollectionList.ts@@ -8,67 +8,37 @@export interface CollectionList_collections_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface CollectionList_collections_edges_node {__typename: "Collection";- /**- * The ID of the object.- */id: string;isPublished: boolean;name: string;- /**- * List of products in this collection.- */products: CollectionList_collections_edges_node_products | null;}export interface CollectionList_collections_edges {__typename: "CollectionCountableEdge";- /**- * The item at the end of the edge- */node: CollectionList_collections_edges_node;}export interface CollectionList_collections_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface CollectionList_collections {__typename: "CollectionCountableConnection";edges: CollectionList_collections_edges[];- /**- * Pagination data for this connection.- */pageInfo: CollectionList_collections_pageInfo;}export interface CollectionList {- /**- * List of the shop's collections.- */collections: CollectionList_collections | null;}diff --git a/saleor/static/dashboard-next/collections/types/CollectionProductFragment.ts b/saleor/static/dashboard-next/collections/types/CollectionProductFragment.tsindex b7db8f82c7..987f310e03 100644--- a/saleor/static/dashboard-next/collections/types/CollectionProductFragment.ts+++ b/saleor/static/dashboard-next/collections/types/CollectionProductFragment.ts@@ -8,32 +8,20 @@export interface CollectionProductFragment_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface CollectionProductFragment_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface CollectionProductFragment {__typename: "Product";- /**- * The ID of the object.- */id: string;isPublished: boolean;name: string;productType: CollectionProductFragment_productType;- /**- * The main thumbnail for a product.- */thumbnail: CollectionProductFragment_thumbnail | null;}diff --git a/saleor/static/dashboard-next/collections/types/CollectionUpdate.ts b/saleor/static/dashboard-next/collections/types/CollectionUpdate.tsindex e9f874c15f..91453df7d7 100644--- a/saleor/static/dashboard-next/collections/types/CollectionUpdate.ts+++ b/saleor/static/dashboard-next/collections/types/CollectionUpdate.ts@@ -10,35 +10,18 @@ import { CollectionInput } from "./../../types/globalTypes";export interface CollectionUpdate_collectionUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CollectionUpdate_collectionUpdate_collection_backgroundImage {__typename: "Image";- /**- * Alt text for an image.- */alt: string | null;- /**- * The URL of the image.- */url: string;}export interface CollectionUpdate_collectionUpdate_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;isPublished: boolean;name: string;@@ -51,17 +34,11 @@ export interface CollectionUpdate_collectionUpdate_collection {export interface CollectionUpdate_collectionUpdate {__typename: "CollectionUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: CollectionUpdate_collectionUpdate_errors[] | null;collection: CollectionUpdate_collectionUpdate_collection | null;}export interface CollectionUpdate {- /**- * Updates a collection.- */collectionUpdate: CollectionUpdate_collectionUpdate | null;}diff --git a/saleor/static/dashboard-next/collections/types/CollectionUpdateWithHomepage.ts b/saleor/static/dashboard-next/collections/types/CollectionUpdateWithHomepage.tsindex f9a0d02f30..f378cc9045 100644--- a/saleor/static/dashboard-next/collections/types/CollectionUpdateWithHomepage.ts+++ b/saleor/static/dashboard-next/collections/types/CollectionUpdateWithHomepage.ts@@ -10,77 +10,40 @@ import { CollectionInput } from "./../../types/globalTypes";export interface CollectionUpdateWithHomepage_homepageCollectionUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CollectionUpdateWithHomepage_homepageCollectionUpdate_shop_homepageCollection {__typename: "Collection";- /**- * The ID of the object.- */id: string;}export interface CollectionUpdateWithHomepage_homepageCollectionUpdate_shop {__typename: "Shop";- /**- * Collection displayed on homepage- */homepageCollection: CollectionUpdateWithHomepage_homepageCollectionUpdate_shop_homepageCollection | null;}export interface CollectionUpdateWithHomepage_homepageCollectionUpdate {__typename: "HomepageCollectionUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: CollectionUpdateWithHomepage_homepageCollectionUpdate_errors[] | null;- /**- * Updated Shop- */shop: CollectionUpdateWithHomepage_homepageCollectionUpdate_shop | null;}export interface CollectionUpdateWithHomepage_collectionUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CollectionUpdateWithHomepage_collectionUpdate_collection_backgroundImage {__typename: "Image";- /**- * Alt text for an image.- */alt: string | null;- /**- * The URL of the image.- */url: string;}export interface CollectionUpdateWithHomepage_collectionUpdate_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;isPublished: boolean;name: string;@@ -93,21 +56,12 @@ export interface CollectionUpdateWithHomepage_collectionUpdate_collection {export interface CollectionUpdateWithHomepage_collectionUpdate {__typename: "CollectionUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: CollectionUpdateWithHomepage_collectionUpdate_errors[] | null;collection: CollectionUpdateWithHomepage_collectionUpdate_collection | null;}export interface CollectionUpdateWithHomepage {- /**- * Updates homepage collection of the shop- */homepageCollectionUpdate: CollectionUpdateWithHomepage_homepageCollectionUpdate | null;- /**- * Updates a collection.- */collectionUpdate: CollectionUpdateWithHomepage_collectionUpdate | null;}diff --git a/saleor/static/dashboard-next/collections/types/CreateCollection.ts b/saleor/static/dashboard-next/collections/types/CreateCollection.tsindex d19a581c5d..25987de780 100644--- a/saleor/static/dashboard-next/collections/types/CreateCollection.ts+++ b/saleor/static/dashboard-next/collections/types/CreateCollection.ts@@ -10,35 +10,18 @@ import { CollectionCreateInput } from "./../../types/globalTypes";export interface CreateCollection_collectionCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CreateCollection_collectionCreate_collection_backgroundImage {__typename: "Image";- /**- * Alt text for an image.- */alt: string | null;- /**- * The URL of the image.- */url: string;}export interface CreateCollection_collectionCreate_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;isPublished: boolean;name: string;@@ -51,17 +34,11 @@ export interface CreateCollection_collectionCreate_collection {export interface CreateCollection_collectionCreate {__typename: "CollectionCreate";- /**- * List of errors that occurred executing the mutation.- */errors: CreateCollection_collectionCreate_errors[] | null;collection: CreateCollection_collectionCreate_collection | null;}export interface CreateCollection {- /**- * Creates a new collection.- */collectionCreate: CreateCollection_collectionCreate | null;}diff --git a/saleor/static/dashboard-next/collections/types/RemoveCollection.ts b/saleor/static/dashboard-next/collections/types/RemoveCollection.tsindex 7ddda0ce47..de2c964839 100644--- a/saleor/static/dashboard-next/collections/types/RemoveCollection.ts+++ b/saleor/static/dashboard-next/collections/types/RemoveCollection.ts@@ -8,30 +8,16 @@export interface RemoveCollection_collectionDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface RemoveCollection_collectionDelete {__typename: "CollectionDelete";- /**- * List of errors that occurred executing the mutation.- */errors: RemoveCollection_collectionDelete_errors[] | null;}export interface RemoveCollection {- /**- * Deletes a collection.- */collectionDelete: RemoveCollection_collectionDelete | null;}diff --git a/saleor/static/dashboard-next/collections/types/UnassignCollectionProduct.ts b/saleor/static/dashboard-next/collections/types/UnassignCollectionProduct.tsindex b62c597ab9..d5bbfc6508 100644--- a/saleor/static/dashboard-next/collections/types/UnassignCollectionProduct.ts+++ b/saleor/static/dashboard-next/collections/types/UnassignCollectionProduct.ts@@ -8,115 +8,62 @@export interface UnassignCollectionProduct_collectionRemoveProducts_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UnassignCollectionProduct_collectionRemoveProducts_collection_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface UnassignCollectionProduct_collectionRemoveProducts_collection_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface UnassignCollectionProduct_collectionRemoveProducts_collection_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;isPublished: boolean;name: string;productType: UnassignCollectionProduct_collectionRemoveProducts_collection_products_edges_node_productType;- /**- * The main thumbnail for a product.- */thumbnail: UnassignCollectionProduct_collectionRemoveProducts_collection_products_edges_node_thumbnail | null;}export interface UnassignCollectionProduct_collectionRemoveProducts_collection_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: UnassignCollectionProduct_collectionRemoveProducts_collection_products_edges_node;}export interface UnassignCollectionProduct_collectionRemoveProducts_collection_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface UnassignCollectionProduct_collectionRemoveProducts_collection_products {__typename: "ProductCountableConnection";edges: UnassignCollectionProduct_collectionRemoveProducts_collection_products_edges[];- /**- * Pagination data for this connection.- */pageInfo: UnassignCollectionProduct_collectionRemoveProducts_collection_products_pageInfo;}export interface UnassignCollectionProduct_collectionRemoveProducts_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;- /**- * List of products in this collection.- */products: UnassignCollectionProduct_collectionRemoveProducts_collection_products | null;}export interface UnassignCollectionProduct_collectionRemoveProducts {__typename: "CollectionRemoveProducts";- /**- * List of errors that occurred executing the mutation.- */errors: UnassignCollectionProduct_collectionRemoveProducts_errors[] | null;- /**- * Collection from which products will be removed.- */collection: UnassignCollectionProduct_collectionRemoveProducts_collection | null;}export interface UnassignCollectionProduct {- /**- * Remove products from a collection.- */collectionRemoveProducts: UnassignCollectionProduct_collectionRemoveProducts | null;}diff --git a/saleor/static/dashboard-next/components/Shop/types/ShopInfo.ts b/saleor/static/dashboard-next/components/Shop/types/ShopInfo.tsindex 623f6631fc..b3b4fa6d74 100644--- a/saleor/static/dashboard-next/components/Shop/types/ShopInfo.ts+++ b/saleor/static/dashboard-next/components/Shop/types/ShopInfo.ts@@ -10,99 +10,42 @@ import { WeightUnitsEnum, LanguageCodeEnum } from "./../../../types/globalTypes"export interface ShopInfo_shop_countries {__typename: "CountryDisplay";- /**- * Country name.- */country: string;- /**- * Country code.- */code: string;}export interface ShopInfo_shop_defaultCountry {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface ShopInfo_shop_domain {__typename: "Domain";- /**- * The host name of the domain.- */host: string;- /**- * Shop's absolute URL.- */url: string;}export interface ShopInfo_shop_languages {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface ShopInfo_shop {__typename: "Shop";- /**- * List of countries available in the shop.- */countries: (ShopInfo_shop_countries | null)[];- /**- * Default shop's country- */defaultCountry: ShopInfo_shop_defaultCountry | null;- /**- * Default shop's currency.- */defaultCurrency: string;- /**- * Default weight unit- */defaultWeightUnit: WeightUnitsEnum | null;- /**- * Display prices with tax in store- */displayGrossPrices: boolean;- /**- * Shop's domain data.- */domain: ShopInfo_shop_domain;- /**- * List of the shops's supported languages.- */languages: (ShopInfo_shop_languages | null)[];- /**- * Include taxes in prices- */includeTaxesInPrices: boolean;- /**- * Shop's name.- */name: string;- /**- * Enable inventory tracking- */trackInventoryByDefault: boolean | null;}export interface ShopInfo {- /**- * Represents a shop resources.- */shop: ShopInfo_shop | null;}diff --git a/saleor/static/dashboard-next/containers/SearchCategories/types/SearchCategories.ts b/saleor/static/dashboard-next/containers/SearchCategories/types/SearchCategories.tsindex 0262ce460c..0bd976f19b 100644--- a/saleor/static/dashboard-next/containers/SearchCategories/types/SearchCategories.ts+++ b/saleor/static/dashboard-next/containers/SearchCategories/types/SearchCategories.ts@@ -8,18 +8,12 @@export interface SearchCategories_categories_edges_node {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface SearchCategories_categories_edges {__typename: "CategoryCountableEdge";- /**- * The item at the end of the edge- */node: SearchCategories_categories_edges_node;}@@ -29,9 +23,6 @@ export interface SearchCategories_categories {}export interface SearchCategories {- /**- * List of the shop's categories.- */categories: SearchCategories_categories | null;}diff --git a/saleor/static/dashboard-next/containers/SearchCollections/types/SearchCollections.ts b/saleor/static/dashboard-next/containers/SearchCollections/types/SearchCollections.tsindex 77ca121a82..ce9c70ccaf 100644--- a/saleor/static/dashboard-next/containers/SearchCollections/types/SearchCollections.ts+++ b/saleor/static/dashboard-next/containers/SearchCollections/types/SearchCollections.ts@@ -8,18 +8,12 @@export interface SearchCollections_collections_edges_node {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface SearchCollections_collections_edges {__typename: "CollectionCountableEdge";- /**- * The item at the end of the edge- */node: SearchCollections_collections_edges_node;}@@ -29,9 +23,6 @@ export interface SearchCollections_collections {}export interface SearchCollections {- /**- * List of the shop's collections.- */collections: SearchCollections_collections | null;}diff --git a/saleor/static/dashboard-next/containers/SearchCustomers/types/SearchCustomers.ts b/saleor/static/dashboard-next/containers/SearchCustomers/types/SearchCustomers.tsindex 4ed1a8f828..ad51c10ab0 100644--- a/saleor/static/dashboard-next/containers/SearchCustomers/types/SearchCustomers.ts+++ b/saleor/static/dashboard-next/containers/SearchCustomers/types/SearchCustomers.ts@@ -8,18 +8,12 @@export interface SearchCustomers_customers_edges_node {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface SearchCustomers_customers_edges {__typename: "UserCountableEdge";- /**- * The item at the end of the edge- */node: SearchCustomers_customers_edges_node;}@@ -29,9 +23,6 @@ export interface SearchCustomers_customers {}export interface SearchCustomers {- /**- * List of the shop's customers.- */customers: SearchCustomers_customers | null;}diff --git a/saleor/static/dashboard-next/containers/SearchPages/types/SearchPages.ts b/saleor/static/dashboard-next/containers/SearchPages/types/SearchPages.tsindex 32a4ca6cef..7357bb965d 100644--- a/saleor/static/dashboard-next/containers/SearchPages/types/SearchPages.ts+++ b/saleor/static/dashboard-next/containers/SearchPages/types/SearchPages.ts@@ -8,18 +8,12 @@export interface SearchPages_pages_edges_node {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface SearchPages_pages_edges {__typename: "PageCountableEdge";- /**- * The item at the end of the edge- */node: SearchPages_pages_edges_node;}@@ -29,9 +23,6 @@ export interface SearchPages_pages {}export interface SearchPages {- /**- * List of the shop's pages.- */pages: SearchPages_pages | null;}diff --git a/saleor/static/dashboard-next/containers/SearchProducts/types/SearchProducts.ts b/saleor/static/dashboard-next/containers/SearchProducts/types/SearchProducts.tsindex 050b1f5e88..fdafa6e104 100644--- a/saleor/static/dashboard-next/containers/SearchProducts/types/SearchProducts.ts+++ b/saleor/static/dashboard-next/containers/SearchProducts/types/SearchProducts.ts@@ -8,30 +8,18 @@export interface SearchProducts_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface SearchProducts_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;- /**- * The main thumbnail for a product.- */thumbnail: SearchProducts_products_edges_node_thumbnail | null;}export interface SearchProducts_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: SearchProducts_products_edges_node;}@@ -41,9 +29,6 @@ export interface SearchProducts_products {}export interface SearchProducts {- /**- * List of the shop's products.- */products: SearchProducts_products | null;}diff --git a/saleor/static/dashboard-next/customers/types/BulkRemoveCustomers.ts b/saleor/static/dashboard-next/customers/types/BulkRemoveCustomers.tsindex 7bc2413c8e..06251bbbc7 100644--- a/saleor/static/dashboard-next/customers/types/BulkRemoveCustomers.ts+++ b/saleor/static/dashboard-next/customers/types/BulkRemoveCustomers.ts@@ -8,30 +8,16 @@export interface BulkRemoveCustomers_customerBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface BulkRemoveCustomers_customerBulkDelete {__typename: "CustomerBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: BulkRemoveCustomers_customerBulkDelete_errors[] | null;}export interface BulkRemoveCustomers {- /**- * Deletes customers.- */customerBulkDelete: BulkRemoveCustomers_customerBulkDelete | null;}diff --git a/saleor/static/dashboard-next/customers/types/CreateCustomer.ts b/saleor/static/dashboard-next/customers/types/CreateCustomer.tsindex 0d7f5d059f..a816a40d08 100644--- a/saleor/static/dashboard-next/customers/types/CreateCustomer.ts+++ b/saleor/static/dashboard-next/customers/types/CreateCustomer.ts@@ -10,39 +10,22 @@ import { UserCreateInput } from "./../../types/globalTypes";export interface CreateCustomer_customerCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CreateCustomer_customerCreate_user {__typename: "User";- /**- * The ID of the object.- */id: string;}export interface CreateCustomer_customerCreate {__typename: "CustomerCreate";- /**- * List of errors that occurred executing the mutation.- */errors: CreateCustomer_customerCreate_errors[] | null;user: CreateCustomer_customerCreate_user | null;}export interface CreateCustomer {- /**- * Creates a new customer.- */customerCreate: CreateCustomer_customerCreate | null;}diff --git a/saleor/static/dashboard-next/customers/types/CreateCustomerAddress.ts b/saleor/static/dashboard-next/customers/types/CreateCustomerAddress.tsindex 3d26921e28..f49e42228b 100644--- a/saleor/static/dashboard-next/customers/types/CreateCustomerAddress.ts+++ b/saleor/static/dashboard-next/customers/types/CreateCustomerAddress.ts@@ -10,27 +10,13 @@ import { AddressInput } from "./../../types/globalTypes";export interface CreateCustomerAddress_addressCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CreateCustomerAddress_addressCreate_address_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface CreateCustomerAddress_addressCreate_address {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: CreateCustomerAddress_addressCreate_address_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,13 +38,7 @@ export interface CreateCustomerAddress_addressCreate_address {export interface CreateCustomerAddress_addressCreate_user_addresses_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -73,15 +47,9 @@ export interface CreateCustomerAddress_addressCreate_user_addresses {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: CreateCustomerAddress_addressCreate_user_addresses_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -92,32 +60,20 @@ export interface CreateCustomerAddress_addressCreate_user_addresses {export interface CreateCustomerAddress_addressCreate_user_defaultBillingAddress {__typename: "Address";- /**- * The ID of the object.- */id: string;}export interface CreateCustomerAddress_addressCreate_user_defaultShippingAddress {__typename: "Address";- /**- * The ID of the object.- */id: string;}export interface CreateCustomerAddress_addressCreate_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;lastName: string;- /**- * List of all user's addresses.- */addresses: (CreateCustomerAddress_addressCreate_user_addresses | null)[] | null;defaultBillingAddress: CreateCustomerAddress_addressCreate_user_defaultBillingAddress | null;defaultShippingAddress: CreateCustomerAddress_addressCreate_user_defaultShippingAddress | null;@@ -125,21 +81,12 @@ export interface CreateCustomerAddress_addressCreate_user {export interface CreateCustomerAddress_addressCreate {__typename: "AddressCreate";- /**- * List of errors that occurred executing the mutation.- */errors: CreateCustomerAddress_addressCreate_errors[] | null;address: CreateCustomerAddress_addressCreate_address | null;- /**- * A user instance for which the address was created.- */user: CreateCustomerAddress_addressCreate_user | null;}export interface CreateCustomerAddress {- /**- * Creates user address- */addressCreate: CreateCustomerAddress_addressCreate | null;}diff --git a/saleor/static/dashboard-next/customers/types/CustomerAddresses.ts b/saleor/static/dashboard-next/customers/types/CustomerAddresses.tsindex 5e72b4d6b5..b95d46a287 100644--- a/saleor/static/dashboard-next/customers/types/CustomerAddresses.ts+++ b/saleor/static/dashboard-next/customers/types/CustomerAddresses.ts@@ -8,13 +8,7 @@export interface CustomerAddresses_user_addresses_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -23,15 +17,9 @@ export interface CustomerAddresses_user_addresses {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: CustomerAddresses_user_addresses_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -42,41 +30,26 @@ export interface CustomerAddresses_user_addresses {export interface CustomerAddresses_user_defaultBillingAddress {__typename: "Address";- /**- * The ID of the object.- */id: string;}export interface CustomerAddresses_user_defaultShippingAddress {__typename: "Address";- /**- * The ID of the object.- */id: string;}export interface CustomerAddresses_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;lastName: string;- /**- * List of all user's addresses.- */addresses: (CustomerAddresses_user_addresses | null)[] | null;defaultBillingAddress: CustomerAddresses_user_defaultBillingAddress | null;defaultShippingAddress: CustomerAddresses_user_defaultShippingAddress | null;}export interface CustomerAddresses {- /**- * Lookup an user by ID.- */user: CustomerAddresses_user | null;}diff --git a/saleor/static/dashboard-next/customers/types/CustomerAddressesFragment.ts b/saleor/static/dashboard-next/customers/types/CustomerAddressesFragment.tsindex 81bb93ed5a..07fd6c695b 100644--- a/saleor/static/dashboard-next/customers/types/CustomerAddressesFragment.ts+++ b/saleor/static/dashboard-next/customers/types/CustomerAddressesFragment.ts@@ -8,13 +8,7 @@export interface CustomerAddressesFragment_addresses_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -23,15 +17,9 @@ export interface CustomerAddressesFragment_addresses {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: CustomerAddressesFragment_addresses_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -42,32 +30,20 @@ export interface CustomerAddressesFragment_addresses {export interface CustomerAddressesFragment_defaultBillingAddress {__typename: "Address";- /**- * The ID of the object.- */id: string;}export interface CustomerAddressesFragment_defaultShippingAddress {__typename: "Address";- /**- * The ID of the object.- */id: string;}export interface CustomerAddressesFragment {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;lastName: string;- /**- * List of all user's addresses.- */addresses: (CustomerAddressesFragment_addresses | null)[] | null;defaultBillingAddress: CustomerAddressesFragment_defaultBillingAddress | null;defaultShippingAddress: CustomerAddressesFragment_defaultShippingAddress | null;diff --git a/saleor/static/dashboard-next/customers/types/CustomerCreateData.ts b/saleor/static/dashboard-next/customers/types/CustomerCreateData.tsindex 240b4ad951..2f50298926 100644--- a/saleor/static/dashboard-next/customers/types/CustomerCreateData.ts+++ b/saleor/static/dashboard-next/customers/types/CustomerCreateData.ts@@ -8,27 +8,15 @@export interface CustomerCreateData_shop_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface CustomerCreateData_shop {__typename: "Shop";- /**- * List of countries available in the shop.- */countries: (CustomerCreateData_shop_countries | null)[];}export interface CustomerCreateData {- /**- * Represents a shop resources.- */shop: CustomerCreateData_shop | null;}diff --git a/saleor/static/dashboard-next/customers/types/CustomerDetails.ts b/saleor/static/dashboard-next/customers/types/CustomerDetails.tsindex 3753f9bb12..84cd2e0386 100644--- a/saleor/static/dashboard-next/customers/types/CustomerDetails.ts+++ b/saleor/static/dashboard-next/customers/types/CustomerDetails.ts@@ -10,13 +10,7 @@ import { PaymentChargeStatusEnum } from "./../../types/globalTypes";export interface CustomerDetails_user_defaultShippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -25,15 +19,9 @@ export interface CustomerDetails_user_defaultShippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: CustomerDetails_user_defaultShippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -44,13 +32,7 @@ export interface CustomerDetails_user_defaultShippingAddress {export interface CustomerDetails_user_defaultBillingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -59,15 +41,9 @@ export interface CustomerDetails_user_defaultBillingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: CustomerDetails_user_defaultBillingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -78,50 +54,26 @@ export interface CustomerDetails_user_defaultBillingAddress {export interface CustomerDetails_user_orders_edges_node_total_gross {__typename: "Money";- /**- * Currency code.- */currency: string;- /**- * Amount of money.- */amount: number;}export interface CustomerDetails_user_orders_edges_node_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: CustomerDetails_user_orders_edges_node_total_gross;}export interface CustomerDetails_user_orders_edges_node {__typename: "Order";- /**- * The ID of the object.- */id: string;created: any;- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;- /**- * Total amount of the order.- */total: CustomerDetails_user_orders_edges_node_total | null;}export interface CustomerDetails_user_orders_edges {__typename: "OrderCountableEdge";- /**- * The item at the end of the edge- */node: CustomerDetails_user_orders_edges_node;}@@ -132,18 +84,12 @@ export interface CustomerDetails_user_orders {export interface CustomerDetails_user_lastPlacedOrder_edges_node {__typename: "Order";- /**- * The ID of the object.- */id: string;created: any;}export interface CustomerDetails_user_lastPlacedOrder_edges {__typename: "OrderCountableEdge";- /**- * The item at the end of the edge- */node: CustomerDetails_user_lastPlacedOrder_edges_node;}@@ -154,9 +100,6 @@ export interface CustomerDetails_user_lastPlacedOrder {export interface CustomerDetails_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;@@ -165,25 +108,13 @@ export interface CustomerDetails_user {lastLogin: any | null;defaultShippingAddress: CustomerDetails_user_defaultShippingAddress | null;defaultBillingAddress: CustomerDetails_user_defaultBillingAddress | null;- /**- * A note about the customer- */note: string | null;isActive: boolean;- /**- * List of user's orders.- */orders: CustomerDetails_user_orders | null;- /**- * List of user's orders.- */lastPlacedOrder: CustomerDetails_user_lastPlacedOrder | null;}export interface CustomerDetails {- /**- * Lookup an user by ID.- */user: CustomerDetails_user | null;}diff --git a/saleor/static/dashboard-next/customers/types/CustomerDetailsFragment.ts b/saleor/static/dashboard-next/customers/types/CustomerDetailsFragment.tsindex 573d95e62e..cd2b1b0e8b 100644--- a/saleor/static/dashboard-next/customers/types/CustomerDetailsFragment.ts+++ b/saleor/static/dashboard-next/customers/types/CustomerDetailsFragment.ts@@ -8,13 +8,7 @@export interface CustomerDetailsFragment_defaultShippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -23,15 +17,9 @@ export interface CustomerDetailsFragment_defaultShippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: CustomerDetailsFragment_defaultShippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -42,13 +30,7 @@ export interface CustomerDetailsFragment_defaultShippingAddress {export interface CustomerDetailsFragment_defaultBillingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -57,15 +39,9 @@ export interface CustomerDetailsFragment_defaultBillingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: CustomerDetailsFragment_defaultBillingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -76,9 +52,6 @@ export interface CustomerDetailsFragment_defaultBillingAddress {export interface CustomerDetailsFragment {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;@@ -87,9 +60,6 @@ export interface CustomerDetailsFragment {lastLogin: any | null;defaultShippingAddress: CustomerDetailsFragment_defaultShippingAddress | null;defaultBillingAddress: CustomerDetailsFragment_defaultBillingAddress | null;- /**- * A note about the customer- */note: string | null;isActive: boolean;}diff --git a/saleor/static/dashboard-next/customers/types/CustomerFragment.ts b/saleor/static/dashboard-next/customers/types/CustomerFragment.tsindex 05b2e27ed0..f945af27ff 100644--- a/saleor/static/dashboard-next/customers/types/CustomerFragment.ts+++ b/saleor/static/dashboard-next/customers/types/CustomerFragment.ts@@ -8,9 +8,6 @@export interface CustomerFragment {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;diff --git a/saleor/static/dashboard-next/customers/types/ListCustomers.ts b/saleor/static/dashboard-next/customers/types/ListCustomers.tsindex baee949ec9..aeaf81931a 100644--- a/saleor/static/dashboard-next/customers/types/ListCustomers.ts+++ b/saleor/static/dashboard-next/customers/types/ListCustomers.ts@@ -8,68 +8,38 @@export interface ListCustomers_customers_edges_node_orders {__typename: "OrderCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface ListCustomers_customers_edges_node {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;lastName: string;- /**- * List of user's orders.- */orders: ListCustomers_customers_edges_node_orders | null;}export interface ListCustomers_customers_edges {__typename: "UserCountableEdge";- /**- * The item at the end of the edge- */node: ListCustomers_customers_edges_node;}export interface ListCustomers_customers_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface ListCustomers_customers {__typename: "UserCountableConnection";edges: ListCustomers_customers_edges[];- /**- * Pagination data for this connection.- */pageInfo: ListCustomers_customers_pageInfo;}export interface ListCustomers {- /**- * List of the shop's customers.- */customers: ListCustomers_customers | null;}diff --git a/saleor/static/dashboard-next/customers/types/RemoveCustomer.ts b/saleor/static/dashboard-next/customers/types/RemoveCustomer.tsindex e2523e0324..70a93326dc 100644--- a/saleor/static/dashboard-next/customers/types/RemoveCustomer.ts+++ b/saleor/static/dashboard-next/customers/types/RemoveCustomer.ts@@ -8,30 +8,16 @@export interface RemoveCustomer_customerDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface RemoveCustomer_customerDelete {__typename: "CustomerDelete";- /**- * List of errors that occurred executing the mutation.- */errors: RemoveCustomer_customerDelete_errors[] | null;}export interface RemoveCustomer {- /**- * Deletes a customer.- */customerDelete: RemoveCustomer_customerDelete | null;}diff --git a/saleor/static/dashboard-next/customers/types/RemoveCustomerAddress.ts b/saleor/static/dashboard-next/customers/types/RemoveCustomerAddress.tsindex 92ff350c30..a4f6cd9eeb 100644--- a/saleor/static/dashboard-next/customers/types/RemoveCustomerAddress.ts+++ b/saleor/static/dashboard-next/customers/types/RemoveCustomerAddress.ts@@ -8,27 +8,13 @@export interface RemoveCustomerAddress_addressDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface RemoveCustomerAddress_addressDelete_user_addresses_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -37,15 +23,9 @@ export interface RemoveCustomerAddress_addressDelete_user_addresses {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: RemoveCustomerAddress_addressDelete_user_addresses_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -56,32 +36,20 @@ export interface RemoveCustomerAddress_addressDelete_user_addresses {export interface RemoveCustomerAddress_addressDelete_user_defaultBillingAddress {__typename: "Address";- /**- * The ID of the object.- */id: string;}export interface RemoveCustomerAddress_addressDelete_user_defaultShippingAddress {__typename: "Address";- /**- * The ID of the object.- */id: string;}export interface RemoveCustomerAddress_addressDelete_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;lastName: string;- /**- * List of all user's addresses.- */addresses: (RemoveCustomerAddress_addressDelete_user_addresses | null)[] | null;defaultBillingAddress: RemoveCustomerAddress_addressDelete_user_defaultBillingAddress | null;defaultShippingAddress: RemoveCustomerAddress_addressDelete_user_defaultShippingAddress | null;@@ -89,20 +57,11 @@ export interface RemoveCustomerAddress_addressDelete_user {export interface RemoveCustomerAddress_addressDelete {__typename: "AddressDelete";- /**- * List of errors that occurred executing the mutation.- */errors: RemoveCustomerAddress_addressDelete_errors[] | null;- /**- * A user instance for which the address was deleted.- */user: RemoveCustomerAddress_addressDelete_user | null;}export interface RemoveCustomerAddress {- /**- * Deletes an address- */addressDelete: RemoveCustomerAddress_addressDelete | null;}diff --git a/saleor/static/dashboard-next/customers/types/SetCustomerDefaultAddress.ts b/saleor/static/dashboard-next/customers/types/SetCustomerDefaultAddress.tsindex d912c0e58c..e2732c8c78 100644--- a/saleor/static/dashboard-next/customers/types/SetCustomerDefaultAddress.ts+++ b/saleor/static/dashboard-next/customers/types/SetCustomerDefaultAddress.ts@@ -10,27 +10,13 @@ import { AddressTypeEnum } from "./../../types/globalTypes";export interface SetCustomerDefaultAddress_addressSetDefault_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface SetCustomerDefaultAddress_addressSetDefault_user_addresses_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface SetCustomerDefaultAddress_addressSetDefault_user_addresses {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: SetCustomerDefaultAddress_addressSetDefault_user_addresses_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,32 +38,20 @@ export interface SetCustomerDefaultAddress_addressSetDefault_user_addresses {export interface SetCustomerDefaultAddress_addressSetDefault_user_defaultBillingAddress {__typename: "Address";- /**- * The ID of the object.- */id: string;}export interface SetCustomerDefaultAddress_addressSetDefault_user_defaultShippingAddress {__typename: "Address";- /**- * The ID of the object.- */id: string;}export interface SetCustomerDefaultAddress_addressSetDefault_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;lastName: string;- /**- * List of all user's addresses.- */addresses: (SetCustomerDefaultAddress_addressSetDefault_user_addresses | null)[] | null;defaultBillingAddress: SetCustomerDefaultAddress_addressSetDefault_user_defaultBillingAddress | null;defaultShippingAddress: SetCustomerDefaultAddress_addressSetDefault_user_defaultShippingAddress | null;@@ -91,20 +59,11 @@ export interface SetCustomerDefaultAddress_addressSetDefault_user {export interface SetCustomerDefaultAddress_addressSetDefault {__typename: "AddressSetDefault";- /**- * List of errors that occurred executing the mutation.- */errors: SetCustomerDefaultAddress_addressSetDefault_errors[] | null;- /**- * An updated user instance.- */user: SetCustomerDefaultAddress_addressSetDefault_user | null;}export interface SetCustomerDefaultAddress {- /**- * Sets a default address for the given user.- */addressSetDefault: SetCustomerDefaultAddress_addressSetDefault | null;}diff --git a/saleor/static/dashboard-next/customers/types/UpdateCustomer.ts b/saleor/static/dashboard-next/customers/types/UpdateCustomer.tsindex 5f1bdaec0b..32be220488 100644--- a/saleor/static/dashboard-next/customers/types/UpdateCustomer.ts+++ b/saleor/static/dashboard-next/customers/types/UpdateCustomer.ts@@ -10,27 +10,13 @@ import { CustomerInput } from "./../../types/globalTypes";export interface UpdateCustomer_customerUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateCustomer_customerUpdate_user_defaultShippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface UpdateCustomer_customerUpdate_user_defaultShippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: UpdateCustomer_customerUpdate_user_defaultShippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,13 +38,7 @@ export interface UpdateCustomer_customerUpdate_user_defaultShippingAddress {export interface UpdateCustomer_customerUpdate_user_defaultBillingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -73,15 +47,9 @@ export interface UpdateCustomer_customerUpdate_user_defaultBillingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: UpdateCustomer_customerUpdate_user_defaultBillingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -92,9 +60,6 @@ export interface UpdateCustomer_customerUpdate_user_defaultBillingAddress {export interface UpdateCustomer_customerUpdate_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;@@ -103,26 +68,17 @@ export interface UpdateCustomer_customerUpdate_user {lastLogin: any | null;defaultShippingAddress: UpdateCustomer_customerUpdate_user_defaultShippingAddress | null;defaultBillingAddress: UpdateCustomer_customerUpdate_user_defaultBillingAddress | null;- /**- * A note about the customer- */note: string | null;isActive: boolean;}export interface UpdateCustomer_customerUpdate {__typename: "CustomerUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateCustomer_customerUpdate_errors[] | null;user: UpdateCustomer_customerUpdate_user | null;}export interface UpdateCustomer {- /**- * Updates an existing customer.- */customerUpdate: UpdateCustomer_customerUpdate | null;}diff --git a/saleor/static/dashboard-next/customers/types/UpdateCustomerAddress.ts b/saleor/static/dashboard-next/customers/types/UpdateCustomerAddress.tsindex 3d167cb723..4cf3ea5c3a 100644--- a/saleor/static/dashboard-next/customers/types/UpdateCustomerAddress.ts+++ b/saleor/static/dashboard-next/customers/types/UpdateCustomerAddress.ts@@ -10,27 +10,13 @@ import { AddressInput } from "./../../types/globalTypes";export interface UpdateCustomerAddress_addressUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateCustomerAddress_addressUpdate_address_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface UpdateCustomerAddress_addressUpdate_address {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: UpdateCustomerAddress_addressUpdate_address_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,17 +38,11 @@ export interface UpdateCustomerAddress_addressUpdate_address {export interface UpdateCustomerAddress_addressUpdate {__typename: "AddressUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateCustomerAddress_addressUpdate_errors[] | null;address: UpdateCustomerAddress_addressUpdate_address | null;}export interface UpdateCustomerAddress {- /**- * Updates an address- */addressUpdate: UpdateCustomerAddress_addressUpdate | null;}diff --git a/saleor/static/dashboard-next/discounts/types/SaleBulkDelete.ts b/saleor/static/dashboard-next/discounts/types/SaleBulkDelete.tsindex 1238859897..e02fcbac07 100644--- a/saleor/static/dashboard-next/discounts/types/SaleBulkDelete.ts+++ b/saleor/static/dashboard-next/discounts/types/SaleBulkDelete.ts@@ -8,30 +8,16 @@export interface SaleBulkDelete_saleBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface SaleBulkDelete_saleBulkDelete {__typename: "SaleBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: SaleBulkDelete_saleBulkDelete_errors[] | null;}export interface SaleBulkDelete {- /**- * Deletes sales.- */saleBulkDelete: SaleBulkDelete_saleBulkDelete | null;}diff --git a/saleor/static/dashboard-next/discounts/types/SaleCataloguesAdd.ts b/saleor/static/dashboard-next/discounts/types/SaleCataloguesAdd.tsindex 4745f95587..3f13023166 100644--- a/saleor/static/dashboard-next/discounts/types/SaleCataloguesAdd.ts+++ b/saleor/static/dashboard-next/discounts/types/SaleCataloguesAdd.ts@@ -10,256 +10,134 @@ import { CatalogueInput, SaleType } from "./../../types/globalTypes";export interface SaleCataloguesAdd_saleCataloguesAdd_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;isPublished: boolean;productType: SaleCataloguesAdd_saleCataloguesAdd_sale_products_edges_node_productType;- /**- * The main thumbnail for a product.- */thumbnail: SaleCataloguesAdd_saleCataloguesAdd_sale_products_edges_node_thumbnail | null;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: SaleCataloguesAdd_saleCataloguesAdd_sale_products_edges_node;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_products {__typename: "ProductCountableConnection";edges: SaleCataloguesAdd_saleCataloguesAdd_sale_products_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleCataloguesAdd_saleCataloguesAdd_sale_products_pageInfo;- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_categories_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_categories_edges_node {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in the category.- */products: SaleCataloguesAdd_saleCataloguesAdd_sale_categories_edges_node_products | null;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_categories_edges {__typename: "CategoryCountableEdge";- /**- * The item at the end of the edge- */node: SaleCataloguesAdd_saleCataloguesAdd_sale_categories_edges_node;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_categories_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_categories {__typename: "CategoryCountableConnection";edges: SaleCataloguesAdd_saleCataloguesAdd_sale_categories_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleCataloguesAdd_saleCataloguesAdd_sale_categories_pageInfo;- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_collections_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_collections_edges_node {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in this collection.- */products: SaleCataloguesAdd_saleCataloguesAdd_sale_collections_edges_node_products | null;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_collections_edges {__typename: "CollectionCountableEdge";- /**- * The item at the end of the edge- */node: SaleCataloguesAdd_saleCataloguesAdd_sale_collections_edges_node;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_collections_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale_collections {__typename: "CollectionCountableConnection";edges: SaleCataloguesAdd_saleCataloguesAdd_sale_collections_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleCataloguesAdd_saleCataloguesAdd_sale_collections_pageInfo;- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleCataloguesAdd_saleCataloguesAdd_sale {__typename: "Sale";- /**- * The ID of the object.- */id: string;name: string;type: SaleType;startDate: any;endDate: any | null;value: number;- /**- * List of products this sale applies to.- */products: SaleCataloguesAdd_saleCataloguesAdd_sale_products | null;- /**- * List of categories this sale applies to.- */categories: SaleCataloguesAdd_saleCataloguesAdd_sale_categories | null;- /**- * List of collections this sale applies to.- */collections: SaleCataloguesAdd_saleCataloguesAdd_sale_collections | null;}export interface SaleCataloguesAdd_saleCataloguesAdd {__typename: "SaleAddCatalogues";- /**- * List of errors that occurred executing the mutation.- */errors: SaleCataloguesAdd_saleCataloguesAdd_errors[] | null;- /**- * Sale of which catalogue IDs will be modified.- */sale: SaleCataloguesAdd_saleCataloguesAdd_sale | null;}export interface SaleCataloguesAdd {- /**- * Adds products, categories, collections to a voucher.- */saleCataloguesAdd: SaleCataloguesAdd_saleCataloguesAdd | null;}diff --git a/saleor/static/dashboard-next/discounts/types/SaleCataloguesRemove.ts b/saleor/static/dashboard-next/discounts/types/SaleCataloguesRemove.tsindex acb524fe12..96746e461c 100644--- a/saleor/static/dashboard-next/discounts/types/SaleCataloguesRemove.ts+++ b/saleor/static/dashboard-next/discounts/types/SaleCataloguesRemove.ts@@ -10,256 +10,134 @@ import { CatalogueInput, SaleType } from "./../../types/globalTypes";export interface SaleCataloguesRemove_saleCataloguesRemove_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;isPublished: boolean;productType: SaleCataloguesRemove_saleCataloguesRemove_sale_products_edges_node_productType;- /**- * The main thumbnail for a product.- */thumbnail: SaleCataloguesRemove_saleCataloguesRemove_sale_products_edges_node_thumbnail | null;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: SaleCataloguesRemove_saleCataloguesRemove_sale_products_edges_node;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_products {__typename: "ProductCountableConnection";edges: SaleCataloguesRemove_saleCataloguesRemove_sale_products_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleCataloguesRemove_saleCataloguesRemove_sale_products_pageInfo;- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_categories_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_categories_edges_node {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in the category.- */products: SaleCataloguesRemove_saleCataloguesRemove_sale_categories_edges_node_products | null;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_categories_edges {__typename: "CategoryCountableEdge";- /**- * The item at the end of the edge- */node: SaleCataloguesRemove_saleCataloguesRemove_sale_categories_edges_node;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_categories_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_categories {__typename: "CategoryCountableConnection";edges: SaleCataloguesRemove_saleCataloguesRemove_sale_categories_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleCataloguesRemove_saleCataloguesRemove_sale_categories_pageInfo;- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_collections_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_collections_edges_node {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in this collection.- */products: SaleCataloguesRemove_saleCataloguesRemove_sale_collections_edges_node_products | null;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_collections_edges {__typename: "CollectionCountableEdge";- /**- * The item at the end of the edge- */node: SaleCataloguesRemove_saleCataloguesRemove_sale_collections_edges_node;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_collections_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale_collections {__typename: "CollectionCountableConnection";edges: SaleCataloguesRemove_saleCataloguesRemove_sale_collections_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleCataloguesRemove_saleCataloguesRemove_sale_collections_pageInfo;- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleCataloguesRemove_saleCataloguesRemove_sale {__typename: "Sale";- /**- * The ID of the object.- */id: string;name: string;type: SaleType;startDate: any;endDate: any | null;value: number;- /**- * List of products this sale applies to.- */products: SaleCataloguesRemove_saleCataloguesRemove_sale_products | null;- /**- * List of categories this sale applies to.- */categories: SaleCataloguesRemove_saleCataloguesRemove_sale_categories | null;- /**- * List of collections this sale applies to.- */collections: SaleCataloguesRemove_saleCataloguesRemove_sale_collections | null;}export interface SaleCataloguesRemove_saleCataloguesRemove {__typename: "SaleRemoveCatalogues";- /**- * List of errors that occurred executing the mutation.- */errors: SaleCataloguesRemove_saleCataloguesRemove_errors[] | null;- /**- * Sale of which catalogue IDs will be modified.- */sale: SaleCataloguesRemove_saleCataloguesRemove_sale | null;}export interface SaleCataloguesRemove {- /**- * Removes products, categories, collections from a sale.- */saleCataloguesRemove: SaleCataloguesRemove_saleCataloguesRemove | null;}diff --git a/saleor/static/dashboard-next/discounts/types/SaleCreate.ts b/saleor/static/dashboard-next/discounts/types/SaleCreate.tsindex 1f3a8c34fa..0f30617fca 100644--- a/saleor/static/dashboard-next/discounts/types/SaleCreate.ts+++ b/saleor/static/dashboard-next/discounts/types/SaleCreate.ts@@ -10,23 +10,12 @@ import { SaleInput, SaleType } from "./../../types/globalTypes";export interface SaleCreate_saleCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface SaleCreate_saleCreate_sale {__typename: "Sale";- /**- * The ID of the object.- */id: string;name: string;type: SaleType;@@ -37,17 +26,11 @@ export interface SaleCreate_saleCreate_sale {export interface SaleCreate_saleCreate {__typename: "SaleCreate";- /**- * List of errors that occurred executing the mutation.- */errors: SaleCreate_saleCreate_errors[] | null;sale: SaleCreate_saleCreate_sale | null;}export interface SaleCreate {- /**- * Creates a new sale.- */saleCreate: SaleCreate_saleCreate | null;}diff --git a/saleor/static/dashboard-next/discounts/types/SaleDelete.ts b/saleor/static/dashboard-next/discounts/types/SaleDelete.tsindex 89c7cbab9f..b115753819 100644--- a/saleor/static/dashboard-next/discounts/types/SaleDelete.ts+++ b/saleor/static/dashboard-next/discounts/types/SaleDelete.ts@@ -8,30 +8,16 @@export interface SaleDelete_saleDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface SaleDelete_saleDelete {__typename: "SaleDelete";- /**- * List of errors that occurred executing the mutation.- */errors: SaleDelete_saleDelete_errors[] | null;}export interface SaleDelete {- /**- * Deletes a sale.- */saleDelete: SaleDelete_saleDelete | null;}diff --git a/saleor/static/dashboard-next/discounts/types/SaleDetails.ts b/saleor/static/dashboard-next/discounts/types/SaleDetails.tsindex 4ec48e7eea..938563606d 100644--- a/saleor/static/dashboard-next/discounts/types/SaleDetails.ts+++ b/saleor/static/dashboard-next/discounts/types/SaleDetails.ts@@ -10,230 +10,122 @@ import { SaleType } from "./../../types/globalTypes";export interface SaleDetails_sale_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface SaleDetails_sale_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface SaleDetails_sale_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;isPublished: boolean;productType: SaleDetails_sale_products_edges_node_productType;- /**- * The main thumbnail for a product.- */thumbnail: SaleDetails_sale_products_edges_node_thumbnail | null;}export interface SaleDetails_sale_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: SaleDetails_sale_products_edges_node;}export interface SaleDetails_sale_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleDetails_sale_products {__typename: "ProductCountableConnection";edges: SaleDetails_sale_products_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleDetails_sale_products_pageInfo;- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleDetails_sale_categories_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleDetails_sale_categories_edges_node {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in the category.- */products: SaleDetails_sale_categories_edges_node_products | null;}export interface SaleDetails_sale_categories_edges {__typename: "CategoryCountableEdge";- /**- * The item at the end of the edge- */node: SaleDetails_sale_categories_edges_node;}export interface SaleDetails_sale_categories_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleDetails_sale_categories {__typename: "CategoryCountableConnection";edges: SaleDetails_sale_categories_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleDetails_sale_categories_pageInfo;- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleDetails_sale_collections_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleDetails_sale_collections_edges_node {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in this collection.- */products: SaleDetails_sale_collections_edges_node_products | null;}export interface SaleDetails_sale_collections_edges {__typename: "CollectionCountableEdge";- /**- * The item at the end of the edge- */node: SaleDetails_sale_collections_edges_node;}export interface SaleDetails_sale_collections_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleDetails_sale_collections {__typename: "CollectionCountableConnection";edges: SaleDetails_sale_collections_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleDetails_sale_collections_pageInfo;- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleDetails_sale {__typename: "Sale";- /**- * The ID of the object.- */id: string;name: string;type: SaleType;startDate: any;endDate: any | null;value: number;- /**- * List of products this sale applies to.- */products: SaleDetails_sale_products | null;- /**- * List of categories this sale applies to.- */categories: SaleDetails_sale_categories | null;- /**- * List of collections this sale applies to.- */collections: SaleDetails_sale_collections | null;}export interface SaleDetails {- /**- * Lookup a sale by ID.- */sale: SaleDetails_sale | null;}diff --git a/saleor/static/dashboard-next/discounts/types/SaleDetailsFragment.ts b/saleor/static/dashboard-next/discounts/types/SaleDetailsFragment.tsindex 729811ec26..be8362a708 100644--- a/saleor/static/dashboard-next/discounts/types/SaleDetailsFragment.ts+++ b/saleor/static/dashboard-next/discounts/types/SaleDetailsFragment.ts@@ -10,222 +10,117 @@ import { SaleType } from "./../../types/globalTypes";export interface SaleDetailsFragment_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface SaleDetailsFragment_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface SaleDetailsFragment_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;isPublished: boolean;productType: SaleDetailsFragment_products_edges_node_productType;- /**- * The main thumbnail for a product.- */thumbnail: SaleDetailsFragment_products_edges_node_thumbnail | null;}export interface SaleDetailsFragment_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: SaleDetailsFragment_products_edges_node;}export interface SaleDetailsFragment_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleDetailsFragment_products {__typename: "ProductCountableConnection";edges: SaleDetailsFragment_products_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleDetailsFragment_products_pageInfo;- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleDetailsFragment_categories_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleDetailsFragment_categories_edges_node {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in the category.- */products: SaleDetailsFragment_categories_edges_node_products | null;}export interface SaleDetailsFragment_categories_edges {__typename: "CategoryCountableEdge";- /**- * The item at the end of the edge- */node: SaleDetailsFragment_categories_edges_node;}export interface SaleDetailsFragment_categories_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleDetailsFragment_categories {__typename: "CategoryCountableConnection";edges: SaleDetailsFragment_categories_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleDetailsFragment_categories_pageInfo;- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleDetailsFragment_collections_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleDetailsFragment_collections_edges_node {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in this collection.- */products: SaleDetailsFragment_collections_edges_node_products | null;}export interface SaleDetailsFragment_collections_edges {__typename: "CollectionCountableEdge";- /**- * The item at the end of the edge- */node: SaleDetailsFragment_collections_edges_node;}export interface SaleDetailsFragment_collections_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleDetailsFragment_collections {__typename: "CollectionCountableConnection";edges: SaleDetailsFragment_collections_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleDetailsFragment_collections_pageInfo;- /**- * A total count of items in the collection- */totalCount: number | null;}export interface SaleDetailsFragment {__typename: "Sale";- /**- * The ID of the object.- */id: string;name: string;type: SaleType;startDate: any;endDate: any | null;value: number;- /**- * List of products this sale applies to.- */products: SaleDetailsFragment_products | null;- /**- * List of categories this sale applies to.- */categories: SaleDetailsFragment_categories | null;- /**- * List of collections this sale applies to.- */collections: SaleDetailsFragment_collections | null;}diff --git a/saleor/static/dashboard-next/discounts/types/SaleFragment.ts b/saleor/static/dashboard-next/discounts/types/SaleFragment.tsindex b7013e32be..ef6a4ff0ea 100644--- a/saleor/static/dashboard-next/discounts/types/SaleFragment.ts+++ b/saleor/static/dashboard-next/discounts/types/SaleFragment.ts@@ -10,9 +10,6 @@ import { SaleType } from "./../../types/globalTypes";export interface SaleFragment {__typename: "Sale";- /**- * The ID of the object.- */id: string;name: string;type: SaleType;diff --git a/saleor/static/dashboard-next/discounts/types/SaleList.ts b/saleor/static/dashboard-next/discounts/types/SaleList.tsindex d1bd9aad9e..0667b9b723 100644--- a/saleor/static/dashboard-next/discounts/types/SaleList.ts+++ b/saleor/static/dashboard-next/discounts/types/SaleList.ts@@ -10,9 +10,6 @@ import { SaleType } from "./../../types/globalTypes";export interface SaleList_sales_edges_node {__typename: "Sale";- /**- * The ID of the object.- */id: string;name: string;type: SaleType;@@ -23,45 +20,24 @@ export interface SaleList_sales_edges_node {export interface SaleList_sales_edges {__typename: "SaleCountableEdge";- /**- * The item at the end of the edge- */node: SaleList_sales_edges_node;}export interface SaleList_sales_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleList_sales {__typename: "SaleCountableConnection";edges: SaleList_sales_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleList_sales_pageInfo;}export interface SaleList {- /**- * List of the shop's sales.- */sales: SaleList_sales | null;}diff --git a/saleor/static/dashboard-next/discounts/types/SaleUpdate.ts b/saleor/static/dashboard-next/discounts/types/SaleUpdate.tsindex 279e536e0d..ca835efb5c 100644--- a/saleor/static/dashboard-next/discounts/types/SaleUpdate.ts+++ b/saleor/static/dashboard-next/discounts/types/SaleUpdate.ts@@ -10,23 +10,12 @@ import { SaleInput, SaleType } from "./../../types/globalTypes";export interface SaleUpdate_saleUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface SaleUpdate_saleUpdate_sale {__typename: "Sale";- /**- * The ID of the object.- */id: string;name: string;type: SaleType;@@ -37,17 +26,11 @@ export interface SaleUpdate_saleUpdate_sale {export interface SaleUpdate_saleUpdate {__typename: "SaleUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: SaleUpdate_saleUpdate_errors[] | null;sale: SaleUpdate_saleUpdate_sale | null;}export interface SaleUpdate {- /**- * Updates a sale.- */saleUpdate: SaleUpdate_saleUpdate | null;}diff --git a/saleor/static/dashboard-next/discounts/types/VoucherBulkDelete.ts b/saleor/static/dashboard-next/discounts/types/VoucherBulkDelete.tsindex a56f6e0de5..ac3277e757 100644--- a/saleor/static/dashboard-next/discounts/types/VoucherBulkDelete.ts+++ b/saleor/static/dashboard-next/discounts/types/VoucherBulkDelete.ts@@ -8,30 +8,16 @@export interface VoucherBulkDelete_voucherBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface VoucherBulkDelete_voucherBulkDelete {__typename: "VoucherBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: VoucherBulkDelete_voucherBulkDelete_errors[] | null;}export interface VoucherBulkDelete {- /**- * Deletes vouchers.- */voucherBulkDelete: VoucherBulkDelete_voucherBulkDelete | null;}diff --git a/saleor/static/dashboard-next/discounts/types/VoucherCataloguesAdd.ts b/saleor/static/dashboard-next/discounts/types/VoucherCataloguesAdd.tsindex 3245e3ac5b..9f7fb3ae1c 100644--- a/saleor/static/dashboard-next/discounts/types/VoucherCataloguesAdd.ts+++ b/saleor/static/dashboard-next/discounts/types/VoucherCataloguesAdd.ts@@ -10,295 +10,152 @@ import { CatalogueInput, DiscountValueTypeEnum, VoucherTypeEnum } from "./../../export interface VoucherCataloguesAdd_voucherCataloguesAdd_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_minAmountSpent {__typename: "Money";- /**- * Currency code.- */currency: string;- /**- * Amount of money.- */amount: number;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;productType: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products_edges_node_productType;isPublished: boolean;- /**- * The main thumbnail for a product.- */thumbnail: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products_edges_node_thumbnail | null;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products_edges_node;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products {__typename: "ProductCountableConnection";edges: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products_edges[];- /**- * A total count of items in the collection- */totalCount: number | null;- /**- * Pagination data for this connection.- */pageInfo: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products_pageInfo;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_collections_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_collections_edges_node {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in this collection.- */products: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_collections_edges_node_products | null;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_collections_edges {__typename: "CollectionCountableEdge";- /**- * The item at the end of the edge- */node: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_collections_edges_node;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_collections_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_collections {__typename: "CollectionCountableConnection";edges: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_collections_edges[];- /**- * A total count of items in the collection- */totalCount: number | null;- /**- * Pagination data for this connection.- */pageInfo: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_collections_pageInfo;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_categories_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_categories_edges_node {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in the category.- */products: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_categories_edges_node_products | null;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_categories_edges {__typename: "CategoryCountableEdge";- /**- * The item at the end of the edge- */node: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_categories_edges_node;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_categories_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher_categories {__typename: "CategoryCountableConnection";edges: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_categories_edges[];- /**- * A total count of items in the collection- */totalCount: number | null;- /**- * Pagination data for this connection.- */pageInfo: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_categories_pageInfo;}export interface VoucherCataloguesAdd_voucherCataloguesAdd_voucher {__typename: "Voucher";- /**- * The ID of the object.- */id: string;code: string;startDate: any;endDate: any | null;usageLimit: number | null;- /**- * Determines a type of discount for voucher - value or percentage- */discountValueType: DiscountValueTypeEnum;discountValue: number;- /**- * List of countries available for the shipping voucher.- */countries: (VoucherCataloguesAdd_voucherCataloguesAdd_voucher_countries | null)[] | null;minAmountSpent: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_minAmountSpent | null;- /**- * Determines a type of voucher- */type: VoucherTypeEnum;used: number;applyOncePerOrder: boolean;- /**- * List of products this voucher applies to.- */products: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_products | null;- /**- * List of collections this voucher applies to.- */collections: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_collections | null;- /**- * List of categories this voucher applies to.- */categories: VoucherCataloguesAdd_voucherCataloguesAdd_voucher_categories | null;}export interface VoucherCataloguesAdd_voucherCataloguesAdd {__typename: "VoucherAddCatalogues";- /**- * List of errors that occurred executing the mutation.- */errors: VoucherCataloguesAdd_voucherCataloguesAdd_errors[] | null;- /**- * Voucher of which catalogue IDs will be modified.- */voucher: VoucherCataloguesAdd_voucherCataloguesAdd_voucher | null;}export interface VoucherCataloguesAdd {- /**- * Adds products, categories, collections to a voucher.- */voucherCataloguesAdd: VoucherCataloguesAdd_voucherCataloguesAdd | null;}diff --git a/saleor/static/dashboard-next/discounts/types/VoucherCataloguesRemove.ts b/saleor/static/dashboard-next/discounts/types/VoucherCataloguesRemove.tsindex 37fe152344..44ddef4c7d 100644--- a/saleor/static/dashboard-next/discounts/types/VoucherCataloguesRemove.ts+++ b/saleor/static/dashboard-next/discounts/types/VoucherCataloguesRemove.ts@@ -10,295 +10,152 @@ import { CatalogueInput, DiscountValueTypeEnum, VoucherTypeEnum } from "./../../export interface VoucherCataloguesRemove_voucherCataloguesRemove_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_minAmountSpent {__typename: "Money";- /**- * Currency code.- */currency: string;- /**- * Amount of money.- */amount: number;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;productType: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products_edges_node_productType;isPublished: boolean;- /**- * The main thumbnail for a product.- */thumbnail: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products_edges_node_thumbnail | null;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products_edges_node;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products {__typename: "ProductCountableConnection";edges: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products_edges[];- /**- * A total count of items in the collection- */totalCount: number | null;- /**- * Pagination data for this connection.- */pageInfo: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products_pageInfo;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_collections_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_collections_edges_node {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in this collection.- */products: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_collections_edges_node_products | null;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_collections_edges {__typename: "CollectionCountableEdge";- /**- * The item at the end of the edge- */node: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_collections_edges_node;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_collections_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_collections {__typename: "CollectionCountableConnection";edges: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_collections_edges[];- /**- * A total count of items in the collection- */totalCount: number | null;- /**- * Pagination data for this connection.- */pageInfo: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_collections_pageInfo;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_categories_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_categories_edges_node {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in the category.- */products: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_categories_edges_node_products | null;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_categories_edges {__typename: "CategoryCountableEdge";- /**- * The item at the end of the edge- */node: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_categories_edges_node;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_categories_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher_categories {__typename: "CategoryCountableConnection";edges: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_categories_edges[];- /**- * A total count of items in the collection- */totalCount: number | null;- /**- * Pagination data for this connection.- */pageInfo: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_categories_pageInfo;}export interface VoucherCataloguesRemove_voucherCataloguesRemove_voucher {__typename: "Voucher";- /**- * The ID of the object.- */id: string;code: string;startDate: any;endDate: any | null;usageLimit: number | null;- /**- * Determines a type of discount for voucher - value or percentage- */discountValueType: DiscountValueTypeEnum;discountValue: number;- /**- * List of countries available for the shipping voucher.- */countries: (VoucherCataloguesRemove_voucherCataloguesRemove_voucher_countries | null)[] | null;minAmountSpent: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_minAmountSpent | null;- /**- * Determines a type of voucher- */type: VoucherTypeEnum;used: number;applyOncePerOrder: boolean;- /**- * List of products this voucher applies to.- */products: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_products | null;- /**- * List of collections this voucher applies to.- */collections: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_collections | null;- /**- * List of categories this voucher applies to.- */categories: VoucherCataloguesRemove_voucherCataloguesRemove_voucher_categories | null;}export interface VoucherCataloguesRemove_voucherCataloguesRemove {__typename: "VoucherRemoveCatalogues";- /**- * List of errors that occurred executing the mutation.- */errors: VoucherCataloguesRemove_voucherCataloguesRemove_errors[] | null;- /**- * Voucher of which catalogue IDs will be modified.- */voucher: VoucherCataloguesRemove_voucherCataloguesRemove_voucher | null;}export interface VoucherCataloguesRemove {- /**- * Removes products, categories, collections from a voucher.- */voucherCataloguesRemove: VoucherCataloguesRemove_voucherCataloguesRemove | null;}diff --git a/saleor/static/dashboard-next/discounts/types/VoucherCreate.ts b/saleor/static/dashboard-next/discounts/types/VoucherCreate.tsindex 03f40d57ba..1d14c392ef 100644--- a/saleor/static/dashboard-next/discounts/types/VoucherCreate.ts+++ b/saleor/static/dashboard-next/discounts/types/VoucherCreate.ts@@ -10,77 +10,42 @@ import { VoucherInput, DiscountValueTypeEnum } from "./../../types/globalTypes";export interface VoucherCreate_voucherCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface VoucherCreate_voucherCreate_voucher_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface VoucherCreate_voucherCreate_voucher_minAmountSpent {__typename: "Money";- /**- * Currency code.- */currency: string;- /**- * Amount of money.- */amount: number;}export interface VoucherCreate_voucherCreate_voucher {__typename: "Voucher";- /**- * The ID of the object.- */id: string;code: string;startDate: any;endDate: any | null;usageLimit: number | null;- /**- * Determines a type of discount for voucher - value or percentage- */discountValueType: DiscountValueTypeEnum;discountValue: number;- /**- * List of countries available for the shipping voucher.- */countries: (VoucherCreate_voucherCreate_voucher_countries | null)[] | null;minAmountSpent: VoucherCreate_voucherCreate_voucher_minAmountSpent | null;}export interface VoucherCreate_voucherCreate {__typename: "VoucherCreate";- /**- * List of errors that occurred executing the mutation.- */errors: VoucherCreate_voucherCreate_errors[] | null;voucher: VoucherCreate_voucherCreate_voucher | null;}export interface VoucherCreate {- /**- * Creates a new voucher.- */voucherCreate: VoucherCreate_voucherCreate | null;}diff --git a/saleor/static/dashboard-next/discounts/types/VoucherDelete.ts b/saleor/static/dashboard-next/discounts/types/VoucherDelete.tsindex 01d67eefda..7a0fc7f4c0 100644--- a/saleor/static/dashboard-next/discounts/types/VoucherDelete.ts+++ b/saleor/static/dashboard-next/discounts/types/VoucherDelete.ts@@ -8,30 +8,16 @@export interface VoucherDelete_voucherDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface VoucherDelete_voucherDelete {__typename: "VoucherDelete";- /**- * List of errors that occurred executing the mutation.- */errors: VoucherDelete_voucherDelete_errors[] | null;}export interface VoucherDelete {- /**- * Deletes a voucher.- */voucherDelete: VoucherDelete_voucherDelete | null;}diff --git a/saleor/static/dashboard-next/discounts/types/VoucherDetails.ts b/saleor/static/dashboard-next/discounts/types/VoucherDetails.tsindex 5c84eaf80e..ed2e089fb3 100644--- a/saleor/static/dashboard-next/discounts/types/VoucherDetails.ts+++ b/saleor/static/dashboard-next/discounts/types/VoucherDetails.ts@@ -10,269 +10,140 @@ import { DiscountValueTypeEnum, VoucherTypeEnum } from "./../../types/globalTypeexport interface VoucherDetails_voucher_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface VoucherDetails_voucher_minAmountSpent {__typename: "Money";- /**- * Currency code.- */currency: string;- /**- * Amount of money.- */amount: number;}export interface VoucherDetails_voucher_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface VoucherDetails_voucher_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface VoucherDetails_voucher_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;productType: VoucherDetails_voucher_products_edges_node_productType;isPublished: boolean;- /**- * The main thumbnail for a product.- */thumbnail: VoucherDetails_voucher_products_edges_node_thumbnail | null;}export interface VoucherDetails_voucher_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: VoucherDetails_voucher_products_edges_node;}export interface VoucherDetails_voucher_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherDetails_voucher_products {__typename: "ProductCountableConnection";edges: VoucherDetails_voucher_products_edges[];- /**- * A total count of items in the collection- */totalCount: number | null;- /**- * Pagination data for this connection.- */pageInfo: VoucherDetails_voucher_products_pageInfo;}export interface VoucherDetails_voucher_collections_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface VoucherDetails_voucher_collections_edges_node {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in this collection.- */products: VoucherDetails_voucher_collections_edges_node_products | null;}export interface VoucherDetails_voucher_collections_edges {__typename: "CollectionCountableEdge";- /**- * The item at the end of the edge- */node: VoucherDetails_voucher_collections_edges_node;}export interface VoucherDetails_voucher_collections_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherDetails_voucher_collections {__typename: "CollectionCountableConnection";edges: VoucherDetails_voucher_collections_edges[];- /**- * A total count of items in the collection- */totalCount: number | null;- /**- * Pagination data for this connection.- */pageInfo: VoucherDetails_voucher_collections_pageInfo;}export interface VoucherDetails_voucher_categories_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface VoucherDetails_voucher_categories_edges_node {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in the category.- */products: VoucherDetails_voucher_categories_edges_node_products | null;}export interface VoucherDetails_voucher_categories_edges {__typename: "CategoryCountableEdge";- /**- * The item at the end of the edge- */node: VoucherDetails_voucher_categories_edges_node;}export interface VoucherDetails_voucher_categories_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherDetails_voucher_categories {__typename: "CategoryCountableConnection";edges: VoucherDetails_voucher_categories_edges[];- /**- * A total count of items in the collection- */totalCount: number | null;- /**- * Pagination data for this connection.- */pageInfo: VoucherDetails_voucher_categories_pageInfo;}export interface VoucherDetails_voucher {__typename: "Voucher";- /**- * The ID of the object.- */id: string;code: string;startDate: any;endDate: any | null;usageLimit: number | null;- /**- * Determines a type of discount for voucher - value or percentage- */discountValueType: DiscountValueTypeEnum;discountValue: number;- /**- * List of countries available for the shipping voucher.- */countries: (VoucherDetails_voucher_countries | null)[] | null;minAmountSpent: VoucherDetails_voucher_minAmountSpent | null;- /**- * Determines a type of voucher- */type: VoucherTypeEnum;used: number;applyOncePerOrder: boolean;- /**- * List of products this voucher applies to.- */products: VoucherDetails_voucher_products | null;- /**- * List of collections this voucher applies to.- */collections: VoucherDetails_voucher_collections | null;- /**- * List of categories this voucher applies to.- */categories: VoucherDetails_voucher_categories | null;}export interface VoucherDetails {- /**- * Lookup a voucher by ID.- */voucher: VoucherDetails_voucher | null;}diff --git a/saleor/static/dashboard-next/discounts/types/VoucherDetailsFragment.ts b/saleor/static/dashboard-next/discounts/types/VoucherDetailsFragment.tsindex d60a18deb3..7234bf69e2 100644--- a/saleor/static/dashboard-next/discounts/types/VoucherDetailsFragment.ts+++ b/saleor/static/dashboard-next/discounts/types/VoucherDetailsFragment.ts@@ -10,261 +10,135 @@ import { DiscountValueTypeEnum, VoucherTypeEnum } from "./../../types/globalTypeexport interface VoucherDetailsFragment_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface VoucherDetailsFragment_minAmountSpent {__typename: "Money";- /**- * Currency code.- */currency: string;- /**- * Amount of money.- */amount: number;}export interface VoucherDetailsFragment_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface VoucherDetailsFragment_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface VoucherDetailsFragment_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;productType: VoucherDetailsFragment_products_edges_node_productType;isPublished: boolean;- /**- * The main thumbnail for a product.- */thumbnail: VoucherDetailsFragment_products_edges_node_thumbnail | null;}export interface VoucherDetailsFragment_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: VoucherDetailsFragment_products_edges_node;}export interface VoucherDetailsFragment_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherDetailsFragment_products {__typename: "ProductCountableConnection";edges: VoucherDetailsFragment_products_edges[];- /**- * A total count of items in the collection- */totalCount: number | null;- /**- * Pagination data for this connection.- */pageInfo: VoucherDetailsFragment_products_pageInfo;}export interface VoucherDetailsFragment_collections_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface VoucherDetailsFragment_collections_edges_node {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in this collection.- */products: VoucherDetailsFragment_collections_edges_node_products | null;}export interface VoucherDetailsFragment_collections_edges {__typename: "CollectionCountableEdge";- /**- * The item at the end of the edge- */node: VoucherDetailsFragment_collections_edges_node;}export interface VoucherDetailsFragment_collections_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherDetailsFragment_collections {__typename: "CollectionCountableConnection";edges: VoucherDetailsFragment_collections_edges[];- /**- * A total count of items in the collection- */totalCount: number | null;- /**- * Pagination data for this connection.- */pageInfo: VoucherDetailsFragment_collections_pageInfo;}export interface VoucherDetailsFragment_categories_edges_node_products {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface VoucherDetailsFragment_categories_edges_node {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;- /**- * List of products in the category.- */products: VoucherDetailsFragment_categories_edges_node_products | null;}export interface VoucherDetailsFragment_categories_edges {__typename: "CategoryCountableEdge";- /**- * The item at the end of the edge- */node: VoucherDetailsFragment_categories_edges_node;}export interface VoucherDetailsFragment_categories_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherDetailsFragment_categories {__typename: "CategoryCountableConnection";edges: VoucherDetailsFragment_categories_edges[];- /**- * A total count of items in the collection- */totalCount: number | null;- /**- * Pagination data for this connection.- */pageInfo: VoucherDetailsFragment_categories_pageInfo;}export interface VoucherDetailsFragment {__typename: "Voucher";- /**- * The ID of the object.- */id: string;code: string;startDate: any;endDate: any | null;usageLimit: number | null;- /**- * Determines a type of discount for voucher - value or percentage- */discountValueType: DiscountValueTypeEnum;discountValue: number;- /**- * List of countries available for the shipping voucher.- */countries: (VoucherDetailsFragment_countries | null)[] | null;minAmountSpent: VoucherDetailsFragment_minAmountSpent | null;- /**- * Determines a type of voucher- */type: VoucherTypeEnum;used: number;applyOncePerOrder: boolean;- /**- * List of products this voucher applies to.- */products: VoucherDetailsFragment_products | null;- /**- * List of collections this voucher applies to.- */collections: VoucherDetailsFragment_collections | null;- /**- * List of categories this voucher applies to.- */categories: VoucherDetailsFragment_categories | null;}diff --git a/saleor/static/dashboard-next/discounts/types/VoucherFragment.ts b/saleor/static/dashboard-next/discounts/types/VoucherFragment.tsindex 2e385cedda..dac9ef3cda 100644--- a/saleor/static/dashboard-next/discounts/types/VoucherFragment.ts+++ b/saleor/static/dashboard-next/discounts/types/VoucherFragment.ts@@ -10,46 +10,25 @@ import { DiscountValueTypeEnum } from "./../../types/globalTypes";export interface VoucherFragment_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface VoucherFragment_minAmountSpent {__typename: "Money";- /**- * Currency code.- */currency: string;- /**- * Amount of money.- */amount: number;}export interface VoucherFragment {__typename: "Voucher";- /**- * The ID of the object.- */id: string;code: string;startDate: any;endDate: any | null;usageLimit: number | null;- /**- * Determines a type of discount for voucher - value or percentage- */discountValueType: DiscountValueTypeEnum;discountValue: number;- /**- * List of countries available for the shipping voucher.- */countries: (VoucherFragment_countries | null)[] | null;minAmountSpent: VoucherFragment_minAmountSpent | null;}diff --git a/saleor/static/dashboard-next/discounts/types/VoucherList.ts b/saleor/static/dashboard-next/discounts/types/VoucherList.tsindex 4e4acda952..e85387accc 100644--- a/saleor/static/dashboard-next/discounts/types/VoucherList.ts+++ b/saleor/static/dashboard-next/discounts/types/VoucherList.ts@@ -10,91 +10,49 @@ import { DiscountValueTypeEnum } from "./../../types/globalTypes";export interface VoucherList_vouchers_edges_node_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface VoucherList_vouchers_edges_node_minAmountSpent {__typename: "Money";- /**- * Currency code.- */currency: string;- /**- * Amount of money.- */amount: number;}export interface VoucherList_vouchers_edges_node {__typename: "Voucher";- /**- * The ID of the object.- */id: string;code: string;startDate: any;endDate: any | null;usageLimit: number | null;- /**- * Determines a type of discount for voucher - value or percentage- */discountValueType: DiscountValueTypeEnum;discountValue: number;- /**- * List of countries available for the shipping voucher.- */countries: (VoucherList_vouchers_edges_node_countries | null)[] | null;minAmountSpent: VoucherList_vouchers_edges_node_minAmountSpent | null;}export interface VoucherList_vouchers_edges {__typename: "VoucherCountableEdge";- /**- * The item at the end of the edge- */node: VoucherList_vouchers_edges_node;}export interface VoucherList_vouchers_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherList_vouchers {__typename: "VoucherCountableConnection";edges: VoucherList_vouchers_edges[];- /**- * Pagination data for this connection.- */pageInfo: VoucherList_vouchers_pageInfo;}export interface VoucherList {- /**- * List of the shop's vouchers.- */vouchers: VoucherList_vouchers | null;}diff --git a/saleor/static/dashboard-next/discounts/types/VoucherUpdate.ts b/saleor/static/dashboard-next/discounts/types/VoucherUpdate.tsindex aa240ccb81..61614b5b34 100644--- a/saleor/static/dashboard-next/discounts/types/VoucherUpdate.ts+++ b/saleor/static/dashboard-next/discounts/types/VoucherUpdate.ts@@ -10,77 +10,42 @@ import { VoucherInput, DiscountValueTypeEnum } from "./../../types/globalTypes";export interface VoucherUpdate_voucherUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface VoucherUpdate_voucherUpdate_voucher_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface VoucherUpdate_voucherUpdate_voucher_minAmountSpent {__typename: "Money";- /**- * Currency code.- */currency: string;- /**- * Amount of money.- */amount: number;}export interface VoucherUpdate_voucherUpdate_voucher {__typename: "Voucher";- /**- * The ID of the object.- */id: string;code: string;startDate: any;endDate: any | null;usageLimit: number | null;- /**- * Determines a type of discount for voucher - value or percentage- */discountValueType: DiscountValueTypeEnum;discountValue: number;- /**- * List of countries available for the shipping voucher.- */countries: (VoucherUpdate_voucherUpdate_voucher_countries | null)[] | null;minAmountSpent: VoucherUpdate_voucherUpdate_voucher_minAmountSpent | null;}export interface VoucherUpdate_voucherUpdate {__typename: "VoucherUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: VoucherUpdate_voucherUpdate_errors[] | null;voucher: VoucherUpdate_voucherUpdate_voucher | null;}export interface VoucherUpdate {- /**- * Updates a voucher.- */voucherUpdate: VoucherUpdate_voucherUpdate | null;}diff --git a/saleor/static/dashboard-next/home/types/Home.ts b/saleor/static/dashboard-next/home/types/Home.tsindex 6cdc36b49b..9400d0adc3 100644--- a/saleor/static/dashboard-next/home/types/Home.ts+++ b/saleor/static/dashboard-next/home/types/Home.ts@@ -10,147 +10,81 @@ import { OrderEventsEmailsEnum, OrderEventsEnum } from "./../../types/globalTypeexport interface Home_salesToday_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface Home_salesToday {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: Home_salesToday_gross;}export interface Home_ordersToday {__typename: "OrderCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface Home_ordersToFulfill {__typename: "OrderCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface Home_ordersToCapture {__typename: "OrderCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface Home_productsOutOfStock {__typename: "ProductCountableConnection";- /**- * A total count of items in the collection- */totalCount: number | null;}export interface Home_productTopToday_edges_node_revenue_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface Home_productTopToday_edges_node_revenue {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: Home_productTopToday_edges_node_revenue_gross;}export interface Home_productTopToday_edges_node_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;sortOrder: number | null;}export interface Home_productTopToday_edges_node_attributes {__typename: "SelectedAttribute";- /**- * Value of an attribute.- */value: Home_productTopToday_edges_node_attributes_value;}export interface Home_productTopToday_edges_node_product_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface Home_productTopToday_edges_node_product {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;- /**- * The main thumbnail for a product.- */thumbnail: Home_productTopToday_edges_node_product_thumbnail | null;}export interface Home_productTopToday_edges_node {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;- /**- * Total revenue generated by a variant in given- * period of time. Note: this field should be queried using- * `reportProductSales` query as it uses optimizations suitable- * for such calculations.- */revenue: Home_productTopToday_edges_node_revenue | null;- /**- * List of attributes assigned to this variant.- */attributes: Home_productTopToday_edges_node_attributes[];product: Home_productTopToday_edges_node_product;- /**- * Total quantity ordered.- */quantityOrdered: number | null;}export interface Home_productTopToday_edges {__typename: "ProductVariantCountableEdge";- /**- * The item at the end of the edge- */node: Home_productTopToday_edges_node;}@@ -161,70 +95,28 @@ export interface Home_productTopToday {export interface Home_activities_edges_node_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface Home_activities_edges_node {__typename: "OrderEvent";- /**- * Amount of money.- */amount: number | null;- /**- * Composed id of the Fulfillment.- */composedId: string | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * The ID of the object.- */id: string;- /**- * Content of the event.- */message: string | null;- /**- * User-friendly number of an order.- */orderNumber: string | null;- /**- * List of oversold lines names.- */oversoldItems: (string | null)[] | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: Home_activities_edges_node_user | null;}export interface Home_activities_edges {__typename: "OrderEventCountableEdge";- /**- * The item at the end of the edge- */node: Home_activities_edges_node;}@@ -234,33 +126,11 @@ export interface Home_activities {}export interface Home {- /**- * Total sales.- */salesToday: Home_salesToday | null;- /**- * List of the shop's orders.- */ordersToday: Home_ordersToday | null;- /**- * List of the shop's orders.- */ordersToFulfill: Home_ordersToFulfill | null;- /**- * List of the shop's orders.- */ordersToCapture: Home_ordersToCapture | null;- /**- * List of the shop's products.- */productsOutOfStock: Home_productsOutOfStock | null;- /**- * List of top selling products.- */productTopToday: Home_productTopToday | null;- /**- * List of activity events to display on- * homepage (at the moment it only contains order-events).- */activities: Home_activities | null;}diff --git a/saleor/static/dashboard-next/navigation/types/MenuBulkDelete.ts b/saleor/static/dashboard-next/navigation/types/MenuBulkDelete.tsindex d708a4ff50..b253b78b9f 100644--- a/saleor/static/dashboard-next/navigation/types/MenuBulkDelete.ts+++ b/saleor/static/dashboard-next/navigation/types/MenuBulkDelete.ts@@ -8,30 +8,16 @@export interface MenuBulkDelete_menuBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface MenuBulkDelete_menuBulkDelete {__typename: "MenuBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: MenuBulkDelete_menuBulkDelete_errors[] | null;}export interface MenuBulkDelete {- /**- * Deletes menus.- */menuBulkDelete: MenuBulkDelete_menuBulkDelete | null;}diff --git a/saleor/static/dashboard-next/navigation/types/MenuCreate.ts b/saleor/static/dashboard-next/navigation/types/MenuCreate.tsindex 3bff19ef3d..77613e784c 100644--- a/saleor/static/dashboard-next/navigation/types/MenuCreate.ts+++ b/saleor/static/dashboard-next/navigation/types/MenuCreate.ts@@ -10,39 +10,22 @@ import { MenuCreateInput } from "./../../types/globalTypes";export interface MenuCreate_menuCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface MenuCreate_menuCreate_menu {__typename: "Menu";- /**- * The ID of the object.- */id: string;}export interface MenuCreate_menuCreate {__typename: "MenuCreate";- /**- * List of errors that occurred executing the mutation.- */errors: MenuCreate_menuCreate_errors[] | null;menu: MenuCreate_menuCreate_menu | null;}export interface MenuCreate {- /**- * Creates a new Menu- */menuCreate: MenuCreate_menuCreate | null;}diff --git a/saleor/static/dashboard-next/navigation/types/MenuDelete.ts b/saleor/static/dashboard-next/navigation/types/MenuDelete.tsindex 829847a6d1..c5cf072b56 100644--- a/saleor/static/dashboard-next/navigation/types/MenuDelete.ts+++ b/saleor/static/dashboard-next/navigation/types/MenuDelete.ts@@ -8,30 +8,16 @@export interface MenuDelete_menuDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface MenuDelete_menuDelete {__typename: "MenuDelete";- /**- * List of errors that occurred executing the mutation.- */errors: MenuDelete_menuDelete_errors[] | null;}export interface MenuDelete {- /**- * Deletes a menu.- */menuDelete: MenuDelete_menuDelete | null;}diff --git a/saleor/static/dashboard-next/navigation/types/MenuDetails.ts b/saleor/static/dashboard-next/navigation/types/MenuDetails.tsindex 985e18d631..8fd2239849 100644--- a/saleor/static/dashboard-next/navigation/types/MenuDetails.ts+++ b/saleor/static/dashboard-next/navigation/types/MenuDetails.ts@@ -8,189 +8,126 @@export interface MenuDetails_menu_items_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuDetails_menu_items_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuDetails_menu_items_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuDetails_menu_items_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuDetails_menu_items_children_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_children_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_children_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuDetails_menu_items_children_children_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_children_children_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_children_children_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuDetails_menu_items_children_children_children_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_children_children_children_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetails_menu_items_children_children_children_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}@@ -199,17 +136,11 @@ export interface MenuDetails_menu_items_children_children_children_children_chil__typename: "MenuItem";category: MenuDetails_menu_items_children_children_children_children_children_children_category | null;collection: MenuDetails_menu_items_children_children_children_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetails_menu_items_children_children_children_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;}@@ -217,17 +148,11 @@ export interface MenuDetails_menu_items_children_children_children_children_chil__typename: "MenuItem";category: MenuDetails_menu_items_children_children_children_children_children_category | null;collection: MenuDetails_menu_items_children_children_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetails_menu_items_children_children_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuDetails_menu_items_children_children_children_children_children_children | null)[] | null;}@@ -236,17 +161,11 @@ export interface MenuDetails_menu_items_children_children_children_children {__typename: "MenuItem";category: MenuDetails_menu_items_children_children_children_children_category | null;collection: MenuDetails_menu_items_children_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetails_menu_items_children_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuDetails_menu_items_children_children_children_children_children | null)[] | null;}@@ -255,17 +174,11 @@ export interface MenuDetails_menu_items_children_children_children {__typename: "MenuItem";category: MenuDetails_menu_items_children_children_children_category | null;collection: MenuDetails_menu_items_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetails_menu_items_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuDetails_menu_items_children_children_children_children | null)[] | null;}@@ -274,17 +187,11 @@ export interface MenuDetails_menu_items_children_children {__typename: "MenuItem";category: MenuDetails_menu_items_children_children_category | null;collection: MenuDetails_menu_items_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetails_menu_items_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuDetails_menu_items_children_children_children | null)[] | null;}@@ -293,17 +200,11 @@ export interface MenuDetails_menu_items_children {__typename: "MenuItem";category: MenuDetails_menu_items_children_category | null;collection: MenuDetails_menu_items_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetails_menu_items_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuDetails_menu_items_children_children | null)[] | null;}@@ -312,35 +213,23 @@ export interface MenuDetails_menu_items {__typename: "MenuItem";category: MenuDetails_menu_items_category | null;collection: MenuDetails_menu_items_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetails_menu_items_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuDetails_menu_items_children | null)[] | null;}export interface MenuDetails_menu {__typename: "Menu";- /**- * The ID of the object.- */id: string;items: (MenuDetails_menu_items | null)[] | null;name: string;}export interface MenuDetails {- /**- * Lookup a menu by ID or name.- */menu: MenuDetails_menu | null;}diff --git a/saleor/static/dashboard-next/navigation/types/MenuDetailsFragment.ts b/saleor/static/dashboard-next/navigation/types/MenuDetailsFragment.tsindex a8b9d66243..1f1d4d5457 100644--- a/saleor/static/dashboard-next/navigation/types/MenuDetailsFragment.ts+++ b/saleor/static/dashboard-next/navigation/types/MenuDetailsFragment.ts@@ -8,189 +8,126 @@export interface MenuDetailsFragment_items_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuDetailsFragment_items_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuDetailsFragment_items_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuDetailsFragment_items_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuDetailsFragment_items_children_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_children_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_children_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuDetailsFragment_items_children_children_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_children_children_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_children_children_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuDetailsFragment_items_children_children_children_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_children_children_children_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuDetailsFragment_items_children_children_children_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}@@ -199,17 +136,11 @@ export interface MenuDetailsFragment_items_children_children_children_children_c__typename: "MenuItem";category: MenuDetailsFragment_items_children_children_children_children_children_children_category | null;collection: MenuDetailsFragment_items_children_children_children_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetailsFragment_items_children_children_children_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;}@@ -217,17 +148,11 @@ export interface MenuDetailsFragment_items_children_children_children_children_c__typename: "MenuItem";category: MenuDetailsFragment_items_children_children_children_children_children_category | null;collection: MenuDetailsFragment_items_children_children_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetailsFragment_items_children_children_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuDetailsFragment_items_children_children_children_children_children_children | null)[] | null;}@@ -236,17 +161,11 @@ export interface MenuDetailsFragment_items_children_children_children_children {__typename: "MenuItem";category: MenuDetailsFragment_items_children_children_children_children_category | null;collection: MenuDetailsFragment_items_children_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetailsFragment_items_children_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuDetailsFragment_items_children_children_children_children_children | null)[] | null;}@@ -255,17 +174,11 @@ export interface MenuDetailsFragment_items_children_children_children {__typename: "MenuItem";category: MenuDetailsFragment_items_children_children_children_category | null;collection: MenuDetailsFragment_items_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetailsFragment_items_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuDetailsFragment_items_children_children_children_children | null)[] | null;}@@ -274,17 +187,11 @@ export interface MenuDetailsFragment_items_children_children {__typename: "MenuItem";category: MenuDetailsFragment_items_children_children_category | null;collection: MenuDetailsFragment_items_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetailsFragment_items_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuDetailsFragment_items_children_children_children | null)[] | null;}@@ -293,17 +200,11 @@ export interface MenuDetailsFragment_items_children {__typename: "MenuItem";category: MenuDetailsFragment_items_children_category | null;collection: MenuDetailsFragment_items_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetailsFragment_items_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuDetailsFragment_items_children_children | null)[] | null;}@@ -312,26 +213,17 @@ export interface MenuDetailsFragment_items {__typename: "MenuItem";category: MenuDetailsFragment_items_category | null;collection: MenuDetailsFragment_items_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuDetailsFragment_items_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuDetailsFragment_items_children | null)[] | null;}export interface MenuDetailsFragment {__typename: "Menu";- /**- * The ID of the object.- */id: string;items: (MenuDetailsFragment_items | null)[] | null;name: string;diff --git a/saleor/static/dashboard-next/navigation/types/MenuFragment.ts b/saleor/static/dashboard-next/navigation/types/MenuFragment.tsindex bb27089a30..9b6f6fe99a 100644--- a/saleor/static/dashboard-next/navigation/types/MenuFragment.ts+++ b/saleor/static/dashboard-next/navigation/types/MenuFragment.ts@@ -8,17 +8,11 @@export interface MenuFragment_items {__typename: "MenuItem";- /**- * The ID of the object.- */id: string;}export interface MenuFragment {__typename: "Menu";- /**- * The ID of the object.- */id: string;name: string;items: (MenuFragment_items | null)[] | null;diff --git a/saleor/static/dashboard-next/navigation/types/MenuItemCreate.ts b/saleor/static/dashboard-next/navigation/types/MenuItemCreate.tsindex c974fbcf84..b993b610ce 100644--- a/saleor/static/dashboard-next/navigation/types/MenuItemCreate.ts+++ b/saleor/static/dashboard-next/navigation/types/MenuItemCreate.ts@@ -10,203 +10,132 @@ import { MenuItemCreateInput } from "./../../types/globalTypes";export interface MenuItemCreate_menuItemCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}@@ -215,17 +144,11 @@ export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_chil__typename: "MenuItem";category: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_children_category | null;collection: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;}@@ -233,17 +156,11 @@ export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_chil__typename: "MenuItem";category: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_category | null;collection: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children_children | null)[] | null;}@@ -252,17 +169,11 @@ export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_chil__typename: "MenuItem";category: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_category | null;collection: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children_children | null)[] | null;}@@ -271,17 +182,11 @@ export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_chil__typename: "MenuItem";category: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_category | null;collection: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children_children | null)[] | null;}@@ -290,17 +195,11 @@ export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children_chil__typename: "MenuItem";category: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_category | null;collection: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children_children | null)[] | null;}@@ -309,17 +208,11 @@ export interface MenuItemCreate_menuItemCreate_menuItem_menu_items_children {__typename: "MenuItem";category: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_category | null;collection: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemCreate_menuItemCreate_menuItem_menu_items_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuItemCreate_menuItemCreate_menuItem_menu_items_children_children | null)[] | null;}@@ -328,26 +221,17 @@ export interface MenuItemCreate_menuItemCreate_menuItem_menu_items {__typename: "MenuItem";category: MenuItemCreate_menuItemCreate_menuItem_menu_items_category | null;collection: MenuItemCreate_menuItemCreate_menuItem_menu_items_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemCreate_menuItemCreate_menuItem_menu_items_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuItemCreate_menuItemCreate_menuItem_menu_items_children | null)[] | null;}export interface MenuItemCreate_menuItemCreate_menuItem_menu {__typename: "Menu";- /**- * The ID of the object.- */id: string;items: (MenuItemCreate_menuItemCreate_menuItem_menu_items | null)[] | null;}@@ -359,17 +243,11 @@ export interface MenuItemCreate_menuItemCreate_menuItem {export interface MenuItemCreate_menuItemCreate {__typename: "MenuItemCreate";- /**- * List of errors that occurred executing the mutation.- */errors: MenuItemCreate_menuItemCreate_errors[] | null;menuItem: MenuItemCreate_menuItemCreate_menuItem | null;}export interface MenuItemCreate {- /**- * Creates a new Menu- */menuItemCreate: MenuItemCreate_menuItemCreate | null;}diff --git a/saleor/static/dashboard-next/navigation/types/MenuItemFragment.ts b/saleor/static/dashboard-next/navigation/types/MenuItemFragment.tsindex 667ff16b06..9d7a261e0d 100644--- a/saleor/static/dashboard-next/navigation/types/MenuItemFragment.ts+++ b/saleor/static/dashboard-next/navigation/types/MenuItemFragment.ts@@ -8,27 +8,18 @@export interface MenuItemFragment_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemFragment_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemFragment_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}@@ -37,16 +28,10 @@ export interface MenuItemFragment {__typename: "MenuItem";category: MenuItemFragment_category | null;collection: MenuItemFragment_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemFragment_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;}diff --git a/saleor/static/dashboard-next/navigation/types/MenuItemNestedFragment.ts b/saleor/static/dashboard-next/navigation/types/MenuItemNestedFragment.tsindex 0e27dd2e08..4559855b4c 100644--- a/saleor/static/dashboard-next/navigation/types/MenuItemNestedFragment.ts+++ b/saleor/static/dashboard-next/navigation/types/MenuItemNestedFragment.ts@@ -8,189 +8,126 @@export interface MenuItemNestedFragment_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuItemNestedFragment_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuItemNestedFragment_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuItemNestedFragment_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuItemNestedFragment_children_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_children_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_children_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuItemNestedFragment_children_children_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_children_children_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_children_children_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}export interface MenuItemNestedFragment_children_children_children_children_children_children_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_children_children_children_children_children_children_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemNestedFragment_children_children_children_children_children_children_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}@@ -199,17 +136,11 @@ export interface MenuItemNestedFragment_children_children_children_children_chil__typename: "MenuItem";category: MenuItemNestedFragment_children_children_children_children_children_children_category | null;collection: MenuItemNestedFragment_children_children_children_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemNestedFragment_children_children_children_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;}@@ -217,17 +148,11 @@ export interface MenuItemNestedFragment_children_children_children_children_chil__typename: "MenuItem";category: MenuItemNestedFragment_children_children_children_children_children_category | null;collection: MenuItemNestedFragment_children_children_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemNestedFragment_children_children_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuItemNestedFragment_children_children_children_children_children_children | null)[] | null;}@@ -236,17 +161,11 @@ export interface MenuItemNestedFragment_children_children_children_children {__typename: "MenuItem";category: MenuItemNestedFragment_children_children_children_children_category | null;collection: MenuItemNestedFragment_children_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemNestedFragment_children_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuItemNestedFragment_children_children_children_children_children | null)[] | null;}@@ -255,17 +174,11 @@ export interface MenuItemNestedFragment_children_children_children {__typename: "MenuItem";category: MenuItemNestedFragment_children_children_children_category | null;collection: MenuItemNestedFragment_children_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemNestedFragment_children_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuItemNestedFragment_children_children_children_children | null)[] | null;}@@ -274,17 +187,11 @@ export interface MenuItemNestedFragment_children_children {__typename: "MenuItem";category: MenuItemNestedFragment_children_children_category | null;collection: MenuItemNestedFragment_children_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemNestedFragment_children_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuItemNestedFragment_children_children_children | null)[] | null;}@@ -293,17 +200,11 @@ export interface MenuItemNestedFragment_children {__typename: "MenuItem";category: MenuItemNestedFragment_children_category | null;collection: MenuItemNestedFragment_children_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemNestedFragment_children_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuItemNestedFragment_children_children | null)[] | null;}@@ -312,17 +213,11 @@ export interface MenuItemNestedFragment {__typename: "MenuItem";category: MenuItemNestedFragment_category | null;collection: MenuItemNestedFragment_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemNestedFragment_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;children: (MenuItemNestedFragment_children | null)[] | null;}diff --git a/saleor/static/dashboard-next/navigation/types/MenuItemUpdate.ts b/saleor/static/dashboard-next/navigation/types/MenuItemUpdate.tsindex c28e96298e..d3c46bd07d 100644--- a/saleor/static/dashboard-next/navigation/types/MenuItemUpdate.ts+++ b/saleor/static/dashboard-next/navigation/types/MenuItemUpdate.ts@@ -10,41 +10,24 @@ import { MenuItemInput } from "./../../types/globalTypes";export interface MenuItemUpdate_menuItemUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface MenuItemUpdate_menuItemUpdate_menuItem_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemUpdate_menuItemUpdate_menuItem_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface MenuItemUpdate_menuItemUpdate_menuItem_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;}@@ -53,33 +36,21 @@ export interface MenuItemUpdate_menuItemUpdate_menuItem {__typename: "MenuItem";category: MenuItemUpdate_menuItemUpdate_menuItem_category | null;collection: MenuItemUpdate_menuItemUpdate_menuItem_collection | null;- /**- * The ID of the object.- */id: string;level: number;name: string;page: MenuItemUpdate_menuItemUpdate_menuItem_page | null;sortOrder: number | null;- /**- * URL to the menu item.- */url: string | null;}export interface MenuItemUpdate_menuItemUpdate {__typename: "MenuItemUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: MenuItemUpdate_menuItemUpdate_errors[] | null;menuItem: MenuItemUpdate_menuItemUpdate_menuItem | null;}export interface MenuItemUpdate {- /**- * Updates a menu item.- */menuItemUpdate: MenuItemUpdate_menuItemUpdate | null;}diff --git a/saleor/static/dashboard-next/navigation/types/MenuList.ts b/saleor/static/dashboard-next/navigation/types/MenuList.tsindex 1e241c14d3..8e95e11101 100644--- a/saleor/static/dashboard-next/navigation/types/MenuList.ts+++ b/saleor/static/dashboard-next/navigation/types/MenuList.ts@@ -8,17 +8,11 @@export interface MenuList_menus_edges_node_items {__typename: "MenuItem";- /**- * The ID of the object.- */id: string;}export interface MenuList_menus_edges_node {__typename: "Menu";- /**- * The ID of the object.- */id: string;name: string;items: (MenuList_menus_edges_node_items | null)[] | null;@@ -26,45 +20,24 @@ export interface MenuList_menus_edges_node {export interface MenuList_menus_edges {__typename: "MenuCountableEdge";- /**- * The item at the end of the edge- */node: MenuList_menus_edges_node;}export interface MenuList_menus_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface MenuList_menus {__typename: "MenuCountableConnection";edges: MenuList_menus_edges[];- /**- * Pagination data for this connection.- */pageInfo: MenuList_menus_pageInfo;}export interface MenuList {- /**- * List of the shop's menus.- */menus: MenuList_menus | null;}diff --git a/saleor/static/dashboard-next/navigation/types/MenuUpdate.ts b/saleor/static/dashboard-next/navigation/types/MenuUpdate.tsindex cb5c2ae6f0..0ab7d0d56c 100644--- a/saleor/static/dashboard-next/navigation/types/MenuUpdate.ts+++ b/saleor/static/dashboard-next/navigation/types/MenuUpdate.ts@@ -10,82 +10,40 @@ import { MenuItemMoveInput } from "./../../types/globalTypes";export interface MenuUpdate_menuUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface MenuUpdate_menuUpdate {__typename: "MenuUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: MenuUpdate_menuUpdate_errors[] | null;}export interface MenuUpdate_menuItemMove_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface MenuUpdate_menuItemMove {__typename: "MenuItemMove";- /**- * List of errors that occurred executing the mutation.- */errors: MenuUpdate_menuItemMove_errors[] | null;}export interface MenuUpdate_menuItemBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface MenuUpdate_menuItemBulkDelete {__typename: "MenuItemBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: MenuUpdate_menuItemBulkDelete_errors[] | null;}export interface MenuUpdate {- /**- * Updates a menu.- */menuUpdate: MenuUpdate_menuUpdate | null;- /**- * Moves items of menus- */menuItemMove: MenuUpdate_menuItemMove | null;- /**- * Deletes menu items.- */menuItemBulkDelete: MenuUpdate_menuItemBulkDelete | null;}diff --git a/saleor/static/dashboard-next/orders/types/AddressFragment.ts b/saleor/static/dashboard-next/orders/types/AddressFragment.tsindex 2a10a418f9..fbe0fe508a 100644--- a/saleor/static/dashboard-next/orders/types/AddressFragment.ts+++ b/saleor/static/dashboard-next/orders/types/AddressFragment.ts@@ -8,13 +8,7 @@export interface AddressFragment_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -23,15 +17,9 @@ export interface AddressFragment {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: AddressFragment_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;diff --git a/saleor/static/dashboard-next/orders/types/OrderAddNote.ts b/saleor/static/dashboard-next/orders/types/OrderAddNote.tsindex 6947fa7a2d..dc42af7cb5 100644--- a/saleor/static/dashboard-next/orders/types/OrderAddNote.ts+++ b/saleor/static/dashboard-next/orders/types/OrderAddNote.ts@@ -10,95 +10,42 @@ import { OrderAddNoteInput, OrderEventsEmailsEnum, OrderEventsEnum } from "./../export interface OrderAddNote_orderAddNote_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderAddNote_orderAddNote_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderAddNote_orderAddNote_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderAddNote_orderAddNote_order_events_user | null;}export interface OrderAddNote_orderAddNote_order {__typename: "Order";- /**- * The ID of the object.- */id: string;- /**- * List of events associated with the order.- */events: (OrderAddNote_orderAddNote_order_events | null)[] | null;}export interface OrderAddNote_orderAddNote {__typename: "OrderAddNote";- /**- * List of errors that occurred executing the mutation.- */errors: OrderAddNote_orderAddNote_errors[] | null;- /**- * Order with the note added.- */order: OrderAddNote_orderAddNote_order | null;}export interface OrderAddNote {- /**- * Adds note to the order.- */orderAddNote: OrderAddNote_orderAddNote | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderBulkCancel.ts b/saleor/static/dashboard-next/orders/types/OrderBulkCancel.tsindex 1b54476446..ad442d58ea 100644--- a/saleor/static/dashboard-next/orders/types/OrderBulkCancel.ts+++ b/saleor/static/dashboard-next/orders/types/OrderBulkCancel.ts@@ -8,30 +8,16 @@export interface OrderBulkCancel_orderBulkCancel_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderBulkCancel_orderBulkCancel {__typename: "OrderBulkCancel";- /**- * List of errors that occurred executing the mutation.- */errors: OrderBulkCancel_orderBulkCancel_errors[] | null;}export interface OrderBulkCancel {- /**- * Cancels orders.- */orderBulkCancel: OrderBulkCancel_orderBulkCancel | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderCancel.ts b/saleor/static/dashboard-next/orders/types/OrderCancel.tsindex da7c0ded79..4be781645e 100644--- a/saleor/static/dashboard-next/orders/types/OrderCancel.ts+++ b/saleor/static/dashboard-next/orders/types/OrderCancel.ts@@ -10,27 +10,13 @@ import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargexport interface OrderCancel_orderCancel_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderCancel_orderCancel_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderCancel_orderCancel_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderCancel_orderCancel_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderCancel_orderCancel_order_billingAddress {export interface OrderCancel_orderCancel_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderCancel_orderCancel_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderCancel_orderCancel_order_events_user | null;}export interface OrderCancel_orderCancel_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCancel_orderCancel_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCancel_orderCancel_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCancel_orderCancel_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderCancel_orderCancel_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderCancel_orderCancel_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderCancel_orderCancel_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderCancel_orderCancel_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderCancel_orderCancel_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderCancel_orderCancel_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderCancel_orderCancel_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderCancel_orderCancel_order_fulfillments_lines {export interface OrderCancel_orderCancel_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderCancel_orderCancel_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderCancel_orderCancel_order_fulfillments {export interface OrderCancel_orderCancel_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCancel_orderCancel_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCancel_orderCancel_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCancel_orderCancel_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderCancel_orderCancel_order_lines_unitPrice_net;}export interface OrderCancel_orderCancel_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderCancel_orderCancel_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderCancel_orderCancel_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderCancel_orderCancel_order_lines_thumbnail | null;}export interface OrderCancel_orderCancel_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderCancel_orderCancel_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderCancel_orderCancel_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderCancel_orderCancel_order_shippingAddress {export interface OrderCancel_orderCancel_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderCancel_orderCancel_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCancel_orderCancel_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCancel_orderCancel_order_shippingPrice_gross;}export interface OrderCancel_orderCancel_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCancel_orderCancel_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCancel_orderCancel_order_subtotal_gross;}export interface OrderCancel_orderCancel_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCancel_orderCancel_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCancel_orderCancel_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCancel_orderCancel_order_total_gross;- /**- * Amount of taxes.- */tax: OrderCancel_orderCancel_order_total_tax;}export interface OrderCancel_orderCancel_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCancel_orderCancel_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCancel_orderCancel_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderCancel_orderCancel_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCancel_orderCancel_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderCancel_orderCancel_order_availableShippingMethods_price | null;@@ -435,93 +241,38 @@ export interface OrderCancel_orderCancel_order_availableShippingMethods {export interface OrderCancel_orderCancel_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderCancel_orderCancel_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderCancel_orderCancel_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderCancel_orderCancel_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderCancel_orderCancel_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderCancel_orderCancel_order_shippingAddress | null;shippingMethod: OrderCancel_orderCancel_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderCancel_orderCancel_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderCancel_orderCancel_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderCancel_orderCancel_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderCancel_orderCancel_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderCancel_orderCancel_order_totalCaptured | null;user: OrderCancel_orderCancel_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderCancel_orderCancel_order_availableShippingMethods | null)[] | null;}export interface OrderCancel_orderCancel {__typename: "OrderCancel";- /**- * List of errors that occurred executing the mutation.- */errors: OrderCancel_orderCancel_errors[] | null;- /**- * Canceled order.- */order: OrderCancel_orderCancel_order | null;}export interface OrderCancel {- /**- * Cancel an order.- */orderCancel: OrderCancel_orderCancel | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderCapture.ts b/saleor/static/dashboard-next/orders/types/OrderCapture.tsindex e2d2972349..2c3bf0f51c 100644--- a/saleor/static/dashboard-next/orders/types/OrderCapture.ts+++ b/saleor/static/dashboard-next/orders/types/OrderCapture.ts@@ -10,27 +10,13 @@ import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargexport interface OrderCapture_orderCapture_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderCapture_orderCapture_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderCapture_orderCapture_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderCapture_orderCapture_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderCapture_orderCapture_order_billingAddress {export interface OrderCapture_orderCapture_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderCapture_orderCapture_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderCapture_orderCapture_order_events_user | null;}export interface OrderCapture_orderCapture_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCapture_orderCapture_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCapture_orderCapture_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCapture_orderCapture_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderCapture_orderCapture_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderCapture_orderCapture_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderCapture_orderCapture_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderCapture_orderCapture_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderCapture_orderCapture_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderCapture_orderCapture_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderCapture_orderCapture_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderCapture_orderCapture_order_fulfillments_lines {export interface OrderCapture_orderCapture_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderCapture_orderCapture_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderCapture_orderCapture_order_fulfillments {export interface OrderCapture_orderCapture_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCapture_orderCapture_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCapture_orderCapture_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCapture_orderCapture_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderCapture_orderCapture_order_lines_unitPrice_net;}export interface OrderCapture_orderCapture_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderCapture_orderCapture_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderCapture_orderCapture_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderCapture_orderCapture_order_lines_thumbnail | null;}export interface OrderCapture_orderCapture_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderCapture_orderCapture_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderCapture_orderCapture_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderCapture_orderCapture_order_shippingAddress {export interface OrderCapture_orderCapture_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderCapture_orderCapture_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCapture_orderCapture_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCapture_orderCapture_order_shippingPrice_gross;}export interface OrderCapture_orderCapture_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCapture_orderCapture_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCapture_orderCapture_order_subtotal_gross;}export interface OrderCapture_orderCapture_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCapture_orderCapture_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCapture_orderCapture_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCapture_orderCapture_order_total_gross;- /**- * Amount of taxes.- */tax: OrderCapture_orderCapture_order_total_tax;}export interface OrderCapture_orderCapture_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCapture_orderCapture_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCapture_orderCapture_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderCapture_orderCapture_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCapture_orderCapture_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderCapture_orderCapture_order_availableShippingMethods_price | null;@@ -435,93 +241,38 @@ export interface OrderCapture_orderCapture_order_availableShippingMethods {export interface OrderCapture_orderCapture_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderCapture_orderCapture_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderCapture_orderCapture_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderCapture_orderCapture_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderCapture_orderCapture_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderCapture_orderCapture_order_shippingAddress | null;shippingMethod: OrderCapture_orderCapture_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderCapture_orderCapture_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderCapture_orderCapture_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderCapture_orderCapture_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderCapture_orderCapture_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderCapture_orderCapture_order_totalCaptured | null;user: OrderCapture_orderCapture_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderCapture_orderCapture_order_availableShippingMethods | null)[] | null;}export interface OrderCapture_orderCapture {__typename: "OrderCapture";- /**- * List of errors that occurred executing the mutation.- */errors: OrderCapture_orderCapture_errors[] | null;- /**- * Captured order.- */order: OrderCapture_orderCapture_order | null;}export interface OrderCapture {- /**- * Capture an order.- */orderCapture: OrderCapture_orderCapture | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderCreateFulfillment.ts b/saleor/static/dashboard-next/orders/types/OrderCreateFulfillment.tsindex e3362c9555..0cba579432 100644--- a/saleor/static/dashboard-next/orders/types/OrderCreateFulfillment.ts+++ b/saleor/static/dashboard-next/orders/types/OrderCreateFulfillment.ts@@ -10,27 +10,13 @@ import { FulfillmentCreateInput, OrderEventsEmailsEnum, OrderEventsEnum, Fulfillexport interface OrderCreateFulfillment_orderFulfillmentCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderCreateFulfillment_orderFulfillmentCreate_order_billingAddrcity: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderCreateFulfillment_orderFulfillmentCreate_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderCreateFulfillment_orderFulfillmentCreate_order_billingAddrexport interface OrderCreateFulfillment_orderFulfillmentCreate_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderCreateFulfillment_orderFulfillmentCreate_order_events_user | null;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillmentexport interface OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillmentexport interface OrderCreateFulfillment_orderFulfillmentCreate_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCreateFulfillment_orderFulfillmentCreate_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderCreateFulfillment_orderFulfillmentCreate_order_lines_unitPrice_net;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderCreateFulfillment_orderFulfillmentCreate_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderCreateFulfillment_orderFulfillmentCreate_order_lines_thumbnail | null;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderCreateFulfillment_orderFulfillmentCreate_order_shippingAddcity: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderCreateFulfillment_orderFulfillmentCreate_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderCreateFulfillment_orderFulfillmentCreate_order_shippingAddexport interface OrderCreateFulfillment_orderFulfillmentCreate_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCreateFulfillment_orderFulfillmentCreate_order_shippingPrice_gross;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCreateFulfillment_orderFulfillmentCreate_order_subtotal_gross;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderCreateFulfillment_orderFulfillmentCreate_order_total_gross;- /**- * Amount of taxes.- */tax: OrderCreateFulfillment_orderFulfillmentCreate_order_total_tax;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderCreateFulfillment_orderFulfillmentCreate_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderCreateFulfillment_orderFulfillmentCreate_order_availableShippingMethods_price | null;@@ -435,93 +241,38 @@ export interface OrderCreateFulfillment_orderFulfillmentCreate_order_availableShexport interface OrderCreateFulfillment_orderFulfillmentCreate_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderCreateFulfillment_orderFulfillmentCreate_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderCreateFulfillment_orderFulfillmentCreate_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderCreateFulfillment_orderFulfillmentCreate_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderCreateFulfillment_orderFulfillmentCreate_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderCreateFulfillment_orderFulfillmentCreate_order_shippingAddress | null;shippingMethod: OrderCreateFulfillment_orderFulfillmentCreate_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderCreateFulfillment_orderFulfillmentCreate_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderCreateFulfillment_orderFulfillmentCreate_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderCreateFulfillment_orderFulfillmentCreate_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderCreateFulfillment_orderFulfillmentCreate_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderCreateFulfillment_orderFulfillmentCreate_order_totalCaptured | null;user: OrderCreateFulfillment_orderFulfillmentCreate_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderCreateFulfillment_orderFulfillmentCreate_order_availableShippingMethods | null)[] | null;}export interface OrderCreateFulfillment_orderFulfillmentCreate {__typename: "FulfillmentCreate";- /**- * List of errors that occurred executing the mutation.- */errors: OrderCreateFulfillment_orderFulfillmentCreate_errors[] | null;- /**- * Fulfilled order.- */order: OrderCreateFulfillment_orderFulfillmentCreate_order | null;}export interface OrderCreateFulfillment {- /**- * Creates a new fulfillment for an order.- */orderFulfillmentCreate: OrderCreateFulfillment_orderFulfillmentCreate | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderDetails.ts b/saleor/static/dashboard-next/orders/types/OrderDetails.tsindex a60d08ec8f..b6bb553804 100644--- a/saleor/static/dashboard-next/orders/types/OrderDetails.ts+++ b/saleor/static/dashboard-next/orders/types/OrderDetails.ts@@ -10,13 +10,7 @@ import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargexport interface OrderDetails_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -25,15 +19,9 @@ export interface OrderDetails_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderDetails_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -44,123 +32,60 @@ export interface OrderDetails_order_billingAddress {export interface OrderDetails_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderDetails_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderDetails_order_events_user | null;}export interface OrderDetails_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetails_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetails_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDetails_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderDetails_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderDetails_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderDetails_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderDetails_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderDetails_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderDetails_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderDetails_order_fulfillments_lines_orderLine | null;@@ -168,13 +93,7 @@ export interface OrderDetails_order_fulfillments_lines {export interface OrderDetails_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderDetails_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -183,78 +102,42 @@ export interface OrderDetails_order_fulfillments {export interface OrderDetails_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetails_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetails_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDetails_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderDetails_order_lines_unitPrice_net;}export interface OrderDetails_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderDetails_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderDetails_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderDetails_order_lines_thumbnail | null;}export interface OrderDetails_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -263,15 +146,9 @@ export interface OrderDetails_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderDetails_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -282,138 +159,75 @@ export interface OrderDetails_order_shippingAddress {export interface OrderDetails_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderDetails_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetails_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDetails_order_shippingPrice_gross;}export interface OrderDetails_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetails_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDetails_order_subtotal_gross;}export interface OrderDetails_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetails_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetails_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDetails_order_total_gross;- /**- * Amount of taxes.- */tax: OrderDetails_order_total_tax;}export interface OrderDetails_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetails_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetails_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderDetails_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetails_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderDetails_order_availableShippingMethods_price | null;@@ -421,109 +235,45 @@ export interface OrderDetails_order_availableShippingMethods {export interface OrderDetails_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderDetails_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderDetails_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderDetails_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderDetails_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderDetails_order_shippingAddress | null;shippingMethod: OrderDetails_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderDetails_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderDetails_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderDetails_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderDetails_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderDetails_order_totalCaptured | null;user: OrderDetails_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderDetails_order_availableShippingMethods | null)[] | null;}export interface OrderDetails_shop_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface OrderDetails_shop {__typename: "Shop";- /**- * List of countries available in the shop.- */countries: (OrderDetails_shop_countries | null)[];- /**- * Default weight unit- */defaultWeightUnit: WeightUnitsEnum | null;}export interface OrderDetails {- /**- * Lookup an order by ID.- */order: OrderDetails_order | null;- /**- * Represents a shop resources.- */shop: OrderDetails_shop | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderDetailsFragment.ts b/saleor/static/dashboard-next/orders/types/OrderDetailsFragment.tsindex 495590ba59..fc2f5d3bad 100644--- a/saleor/static/dashboard-next/orders/types/OrderDetailsFragment.ts+++ b/saleor/static/dashboard-next/orders/types/OrderDetailsFragment.ts@@ -10,13 +10,7 @@ import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargexport interface OrderDetailsFragment_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -25,15 +19,9 @@ export interface OrderDetailsFragment_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderDetailsFragment_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -44,123 +32,60 @@ export interface OrderDetailsFragment_billingAddress {export interface OrderDetailsFragment_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderDetailsFragment_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderDetailsFragment_events_user | null;}export interface OrderDetailsFragment_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetailsFragment_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetailsFragment_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDetailsFragment_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderDetailsFragment_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderDetailsFragment_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderDetailsFragment_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderDetailsFragment_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderDetailsFragment_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderDetailsFragment_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderDetailsFragment_fulfillments_lines_orderLine | null;@@ -168,13 +93,7 @@ export interface OrderDetailsFragment_fulfillments_lines {export interface OrderDetailsFragment_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderDetailsFragment_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -183,78 +102,42 @@ export interface OrderDetailsFragment_fulfillments {export interface OrderDetailsFragment_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetailsFragment_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetailsFragment_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDetailsFragment_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderDetailsFragment_lines_unitPrice_net;}export interface OrderDetailsFragment_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderDetailsFragment_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderDetailsFragment_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderDetailsFragment_lines_thumbnail | null;}export interface OrderDetailsFragment_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -263,15 +146,9 @@ export interface OrderDetailsFragment_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderDetailsFragment_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -282,138 +159,75 @@ export interface OrderDetailsFragment_shippingAddress {export interface OrderDetailsFragment_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderDetailsFragment_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetailsFragment_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDetailsFragment_shippingPrice_gross;}export interface OrderDetailsFragment_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetailsFragment_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDetailsFragment_subtotal_gross;}export interface OrderDetailsFragment_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetailsFragment_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetailsFragment_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDetailsFragment_total_gross;- /**- * Amount of taxes.- */tax: OrderDetailsFragment_total_tax;}export interface OrderDetailsFragment_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetailsFragment_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetailsFragment_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderDetailsFragment_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDetailsFragment_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderDetailsFragment_availableShippingMethods_price | null;@@ -421,73 +235,27 @@ export interface OrderDetailsFragment_availableShippingMethods {export interface OrderDetailsFragment {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderDetailsFragment_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderDetailsFragment_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderDetailsFragment_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderDetailsFragment_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderDetailsFragment_shippingAddress | null;shippingMethod: OrderDetailsFragment_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderDetailsFragment_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderDetailsFragment_subtotal | null;- /**- * Total amount of the order.- */total: OrderDetailsFragment_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderDetailsFragment_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderDetailsFragment_totalCaptured | null;user: OrderDetailsFragment_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderDetailsFragment_availableShippingMethods | null)[] | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftBulkCancel.ts b/saleor/static/dashboard-next/orders/types/OrderDraftBulkCancel.tsindex eaa88fcd31..e679e90552 100644--- a/saleor/static/dashboard-next/orders/types/OrderDraftBulkCancel.ts+++ b/saleor/static/dashboard-next/orders/types/OrderDraftBulkCancel.ts@@ -8,30 +8,16 @@export interface OrderDraftBulkCancel_draftOrderBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderDraftBulkCancel_draftOrderBulkDelete {__typename: "DraftOrderBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: OrderDraftBulkCancel_draftOrderBulkDelete_errors[] | null;}export interface OrderDraftBulkCancel {- /**- * Deletes draft orders.- */draftOrderBulkDelete: OrderDraftBulkCancel_draftOrderBulkDelete | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftCancel.ts b/saleor/static/dashboard-next/orders/types/OrderDraftCancel.tsindex 1e69c30d8c..675b8bac56 100644--- a/saleor/static/dashboard-next/orders/types/OrderDraftCancel.ts+++ b/saleor/static/dashboard-next/orders/types/OrderDraftCancel.ts@@ -10,27 +10,13 @@ import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargexport interface OrderDraftCancel_draftOrderDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderDraftCancel_draftOrderDelete_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderDraftCancel_draftOrderDelete_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderDraftCancel_draftOrderDelete_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderDraftCancel_draftOrderDelete_order_billingAddress {export interface OrderDraftCancel_draftOrderDelete_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderDraftCancel_draftOrderDelete_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderDraftCancel_draftOrderDelete_order_events_user | null;}export interface OrderDraftCancel_draftOrderDelete_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftCancel_draftOrderDelete_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftCancel_draftOrderDelete_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftCancel_draftOrderDelete_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderDraftCancel_draftOrderDelete_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderDraftCancel_draftOrderDelete_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderDraftCancel_draftOrderDelete_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderDraftCancel_draftOrderDelete_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderDraftCancel_draftOrderDelete_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderDraftCancel_draftOrderDelete_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderDraftCancel_draftOrderDelete_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderDraftCancel_draftOrderDelete_order_fulfillments_lines {export interface OrderDraftCancel_draftOrderDelete_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderDraftCancel_draftOrderDelete_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderDraftCancel_draftOrderDelete_order_fulfillments {export interface OrderDraftCancel_draftOrderDelete_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftCancel_draftOrderDelete_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftCancel_draftOrderDelete_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftCancel_draftOrderDelete_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderDraftCancel_draftOrderDelete_order_lines_unitPrice_net;}export interface OrderDraftCancel_draftOrderDelete_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderDraftCancel_draftOrderDelete_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderDraftCancel_draftOrderDelete_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderDraftCancel_draftOrderDelete_order_lines_thumbnail | null;}export interface OrderDraftCancel_draftOrderDelete_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderDraftCancel_draftOrderDelete_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderDraftCancel_draftOrderDelete_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderDraftCancel_draftOrderDelete_order_shippingAddress {export interface OrderDraftCancel_draftOrderDelete_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderDraftCancel_draftOrderDelete_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftCancel_draftOrderDelete_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftCancel_draftOrderDelete_order_shippingPrice_gross;}export interface OrderDraftCancel_draftOrderDelete_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftCancel_draftOrderDelete_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftCancel_draftOrderDelete_order_subtotal_gross;}export interface OrderDraftCancel_draftOrderDelete_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftCancel_draftOrderDelete_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftCancel_draftOrderDelete_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftCancel_draftOrderDelete_order_total_gross;- /**- * Amount of taxes.- */tax: OrderDraftCancel_draftOrderDelete_order_total_tax;}export interface OrderDraftCancel_draftOrderDelete_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftCancel_draftOrderDelete_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftCancel_draftOrderDelete_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderDraftCancel_draftOrderDelete_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftCancel_draftOrderDelete_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderDraftCancel_draftOrderDelete_order_availableShippingMethods_price | null;@@ -435,90 +241,38 @@ export interface OrderDraftCancel_draftOrderDelete_order_availableShippingMethodexport interface OrderDraftCancel_draftOrderDelete_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderDraftCancel_draftOrderDelete_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderDraftCancel_draftOrderDelete_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderDraftCancel_draftOrderDelete_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderDraftCancel_draftOrderDelete_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderDraftCancel_draftOrderDelete_order_shippingAddress | null;shippingMethod: OrderDraftCancel_draftOrderDelete_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderDraftCancel_draftOrderDelete_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderDraftCancel_draftOrderDelete_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderDraftCancel_draftOrderDelete_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderDraftCancel_draftOrderDelete_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderDraftCancel_draftOrderDelete_order_totalCaptured | null;user: OrderDraftCancel_draftOrderDelete_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderDraftCancel_draftOrderDelete_order_availableShippingMethods | null)[] | null;}export interface OrderDraftCancel_draftOrderDelete {__typename: "DraftOrderDelete";- /**- * List of errors that occurred executing the mutation.- */errors: OrderDraftCancel_draftOrderDelete_errors[] | null;order: OrderDraftCancel_draftOrderDelete_order | null;}export interface OrderDraftCancel {- /**- * Deletes a draft order.- */draftOrderDelete: OrderDraftCancel_draftOrderDelete | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftCreate.ts b/saleor/static/dashboard-next/orders/types/OrderDraftCreate.tsindex 3f26adc8eb..a978459ccb 100644--- a/saleor/static/dashboard-next/orders/types/OrderDraftCreate.ts+++ b/saleor/static/dashboard-next/orders/types/OrderDraftCreate.ts@@ -8,38 +8,21 @@export interface OrderDraftCreate_draftOrderCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderDraftCreate_draftOrderCreate_order {__typename: "Order";- /**- * The ID of the object.- */id: string;}export interface OrderDraftCreate_draftOrderCreate {__typename: "DraftOrderCreate";- /**- * List of errors that occurred executing the mutation.- */errors: OrderDraftCreate_draftOrderCreate_errors[] | null;order: OrderDraftCreate_draftOrderCreate_order | null;}export interface OrderDraftCreate {- /**- * Creates a new draft order.- */draftOrderCreate: OrderDraftCreate_draftOrderCreate | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftFinalize.ts b/saleor/static/dashboard-next/orders/types/OrderDraftFinalize.tsindex 378d0462c0..5076ae026c 100644--- a/saleor/static/dashboard-next/orders/types/OrderDraftFinalize.ts+++ b/saleor/static/dashboard-next/orders/types/OrderDraftFinalize.ts@@ -10,27 +10,13 @@ import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargexport interface OrderDraftFinalize_draftOrderComplete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderDraftFinalize_draftOrderComplete_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderDraftFinalize_draftOrderComplete_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderDraftFinalize_draftOrderComplete_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderDraftFinalize_draftOrderComplete_order_billingAddress {export interface OrderDraftFinalize_draftOrderComplete_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderDraftFinalize_draftOrderComplete_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderDraftFinalize_draftOrderComplete_order_events_user | null;}export interface OrderDraftFinalize_draftOrderComplete_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftFinalize_draftOrderComplete_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftFinalize_draftOrderComplete_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftFinalize_draftOrderComplete_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderDraftFinalize_draftOrderComplete_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderDraftFinalize_draftOrderComplete_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderDraftFinalize_draftOrderComplete_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderDraftFinalize_draftOrderComplete_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderDraftFinalize_draftOrderComplete_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderDraftFinalize_draftOrderComplete_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderDraftFinalize_draftOrderComplete_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderDraftFinalize_draftOrderComplete_order_fulfillments_linesexport interface OrderDraftFinalize_draftOrderComplete_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderDraftFinalize_draftOrderComplete_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderDraftFinalize_draftOrderComplete_order_fulfillments {export interface OrderDraftFinalize_draftOrderComplete_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftFinalize_draftOrderComplete_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftFinalize_draftOrderComplete_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftFinalize_draftOrderComplete_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderDraftFinalize_draftOrderComplete_order_lines_unitPrice_net;}export interface OrderDraftFinalize_draftOrderComplete_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderDraftFinalize_draftOrderComplete_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderDraftFinalize_draftOrderComplete_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderDraftFinalize_draftOrderComplete_order_lines_thumbnail | null;}export interface OrderDraftFinalize_draftOrderComplete_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderDraftFinalize_draftOrderComplete_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderDraftFinalize_draftOrderComplete_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderDraftFinalize_draftOrderComplete_order_shippingAddress {export interface OrderDraftFinalize_draftOrderComplete_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderDraftFinalize_draftOrderComplete_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftFinalize_draftOrderComplete_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftFinalize_draftOrderComplete_order_shippingPrice_gross;}export interface OrderDraftFinalize_draftOrderComplete_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftFinalize_draftOrderComplete_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftFinalize_draftOrderComplete_order_subtotal_gross;}export interface OrderDraftFinalize_draftOrderComplete_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftFinalize_draftOrderComplete_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftFinalize_draftOrderComplete_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftFinalize_draftOrderComplete_order_total_gross;- /**- * Amount of taxes.- */tax: OrderDraftFinalize_draftOrderComplete_order_total_tax;}export interface OrderDraftFinalize_draftOrderComplete_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftFinalize_draftOrderComplete_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftFinalize_draftOrderComplete_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderDraftFinalize_draftOrderComplete_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftFinalize_draftOrderComplete_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderDraftFinalize_draftOrderComplete_order_availableShippingMethods_price | null;@@ -435,93 +241,38 @@ export interface OrderDraftFinalize_draftOrderComplete_order_availableShippingMeexport interface OrderDraftFinalize_draftOrderComplete_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderDraftFinalize_draftOrderComplete_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderDraftFinalize_draftOrderComplete_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderDraftFinalize_draftOrderComplete_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderDraftFinalize_draftOrderComplete_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderDraftFinalize_draftOrderComplete_order_shippingAddress | null;shippingMethod: OrderDraftFinalize_draftOrderComplete_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderDraftFinalize_draftOrderComplete_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderDraftFinalize_draftOrderComplete_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderDraftFinalize_draftOrderComplete_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderDraftFinalize_draftOrderComplete_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderDraftFinalize_draftOrderComplete_order_totalCaptured | null;user: OrderDraftFinalize_draftOrderComplete_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderDraftFinalize_draftOrderComplete_order_availableShippingMethods | null)[] | null;}export interface OrderDraftFinalize_draftOrderComplete {__typename: "DraftOrderComplete";- /**- * List of errors that occurred executing the mutation.- */errors: OrderDraftFinalize_draftOrderComplete_errors[] | null;- /**- * Completed order.- */order: OrderDraftFinalize_draftOrderComplete_order | null;}export interface OrderDraftFinalize {- /**- * Completes creating an order.- */draftOrderComplete: OrderDraftFinalize_draftOrderComplete | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftList.ts b/saleor/static/dashboard-next/orders/types/OrderDraftList.tsindex e499774849..c3567edca4 100644--- a/saleor/static/dashboard-next/orders/types/OrderDraftList.ts+++ b/saleor/static/dashboard-next/orders/types/OrderDraftList.ts@@ -10,13 +10,7 @@ import { PaymentChargeStatusEnum, OrderStatus } from "./../../types/globalTypes"export interface OrderDraftList_draftOrders_edges_node_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -25,15 +19,9 @@ export interface OrderDraftList_draftOrders_edges_node_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderDraftList_draftOrders_edges_node_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -44,21 +32,12 @@ export interface OrderDraftList_draftOrders_edges_node_billingAddress {export interface OrderDraftList_draftOrders_edges_node_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftList_draftOrders_edges_node_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftList_draftOrders_edges_node_total_gross;}@@ -66,70 +45,34 @@ export interface OrderDraftList_draftOrders_edges_node {__typename: "Order";billingAddress: OrderDraftList_draftOrders_edges_node_billingAddress | null;created: any;- /**- * The ID of the object.- */id: string;- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;status: OrderStatus;- /**- * Total amount of the order.- */total: OrderDraftList_draftOrders_edges_node_total | null;- /**- * Email address of the customer.- */userEmail: string | null;}export interface OrderDraftList_draftOrders_edges {__typename: "OrderCountableEdge";- /**- * The item at the end of the edge- */node: OrderDraftList_draftOrders_edges_node;}export interface OrderDraftList_draftOrders_pageInfo {__typename: "PageInfo";- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;}export interface OrderDraftList_draftOrders {__typename: "OrderCountableConnection";edges: OrderDraftList_draftOrders_edges[];- /**- * Pagination data for this connection.- */pageInfo: OrderDraftList_draftOrders_pageInfo;}export interface OrderDraftList {- /**- * List of the shop's draft orders.- */draftOrders: OrderDraftList_draftOrders | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftUpdate.ts b/saleor/static/dashboard-next/orders/types/OrderDraftUpdate.tsindex 5e79670443..6d446e0fe4 100644--- a/saleor/static/dashboard-next/orders/types/OrderDraftUpdate.ts+++ b/saleor/static/dashboard-next/orders/types/OrderDraftUpdate.ts@@ -10,27 +10,13 @@ import { DraftOrderInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStaexport interface OrderDraftUpdate_draftOrderUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderDraftUpdate_draftOrderUpdate_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderDraftUpdate_draftOrderUpdate_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderDraftUpdate_draftOrderUpdate_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderDraftUpdate_draftOrderUpdate_order_billingAddress {export interface OrderDraftUpdate_draftOrderUpdate_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderDraftUpdate_draftOrderUpdate_order_events_user | null;}export interface OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines {export interface OrderDraftUpdate_draftOrderUpdate_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderDraftUpdate_draftOrderUpdate_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderDraftUpdate_draftOrderUpdate_order_fulfillments {export interface OrderDraftUpdate_draftOrderUpdate_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftUpdate_draftOrderUpdate_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderDraftUpdate_draftOrderUpdate_order_lines_unitPrice_net;}export interface OrderDraftUpdate_draftOrderUpdate_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderDraftUpdate_draftOrderUpdate_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderDraftUpdate_draftOrderUpdate_order_lines_thumbnail | null;}export interface OrderDraftUpdate_draftOrderUpdate_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderDraftUpdate_draftOrderUpdate_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderDraftUpdate_draftOrderUpdate_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderDraftUpdate_draftOrderUpdate_order_shippingAddress {export interface OrderDraftUpdate_draftOrderUpdate_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftUpdate_draftOrderUpdate_order_shippingPrice_gross;}export interface OrderDraftUpdate_draftOrderUpdate_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftUpdate_draftOrderUpdate_order_subtotal_gross;}export interface OrderDraftUpdate_draftOrderUpdate_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderDraftUpdate_draftOrderUpdate_order_total_gross;- /**- * Amount of taxes.- */tax: OrderDraftUpdate_draftOrderUpdate_order_total_tax;}export interface OrderDraftUpdate_draftOrderUpdate_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderDraftUpdate_draftOrderUpdate_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderDraftUpdate_draftOrderUpdate_order_availableShippingMethods_price | null;@@ -435,90 +241,38 @@ export interface OrderDraftUpdate_draftOrderUpdate_order_availableShippingMethodexport interface OrderDraftUpdate_draftOrderUpdate_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderDraftUpdate_draftOrderUpdate_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderDraftUpdate_draftOrderUpdate_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderDraftUpdate_draftOrderUpdate_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderDraftUpdate_draftOrderUpdate_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderDraftUpdate_draftOrderUpdate_order_shippingAddress | null;shippingMethod: OrderDraftUpdate_draftOrderUpdate_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderDraftUpdate_draftOrderUpdate_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderDraftUpdate_draftOrderUpdate_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderDraftUpdate_draftOrderUpdate_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderDraftUpdate_draftOrderUpdate_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderDraftUpdate_draftOrderUpdate_order_totalCaptured | null;user: OrderDraftUpdate_draftOrderUpdate_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderDraftUpdate_draftOrderUpdate_order_availableShippingMethods | null)[] | null;}export interface OrderDraftUpdate_draftOrderUpdate {__typename: "DraftOrderUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: OrderDraftUpdate_draftOrderUpdate_errors[] | null;order: OrderDraftUpdate_draftOrderUpdate_order | null;}export interface OrderDraftUpdate {- /**- * Updates a draft order.- */draftOrderUpdate: OrderDraftUpdate_draftOrderUpdate | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderEventFragment.ts b/saleor/static/dashboard-next/orders/types/OrderEventFragment.tsindex cdb765bc49..324d3d958f 100644--- a/saleor/static/dashboard-next/orders/types/OrderEventFragment.ts+++ b/saleor/static/dashboard-next/orders/types/OrderEventFragment.ts@@ -10,49 +10,19 @@ import { OrderEventsEmailsEnum, OrderEventsEnum } from "./../../types/globalTypeexport interface OrderEventFragment_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderEventFragment {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderEventFragment_user | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderFulfillmentCancel.ts b/saleor/static/dashboard-next/orders/types/OrderFulfillmentCancel.tsindex 5fc65892bc..217ddda7bc 100644--- a/saleor/static/dashboard-next/orders/types/OrderFulfillmentCancel.ts+++ b/saleor/static/dashboard-next/orders/types/OrderFulfillmentCancel.ts@@ -10,27 +10,13 @@ import { FulfillmentCancelInput, OrderEventsEmailsEnum, OrderEventsEnum, Fulfillexport interface OrderFulfillmentCancel_orderFulfillmentCancel_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_billingAddrcity: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderFulfillmentCancel_orderFulfillmentCancel_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_billingAddrexport interface OrderFulfillmentCancel_orderFulfillmentCancel_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderFulfillmentCancel_orderFulfillmentCancel_order_events_user | null;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillmentexport interface OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillmentexport interface OrderFulfillmentCancel_orderFulfillmentCancel_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderFulfillmentCancel_orderFulfillmentCancel_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderFulfillmentCancel_orderFulfillmentCancel_order_lines_unitPrice_net;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderFulfillmentCancel_orderFulfillmentCancel_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderFulfillmentCancel_orderFulfillmentCancel_order_lines_thumbnail | null;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_shippingAddcity: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderFulfillmentCancel_orderFulfillmentCancel_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_shippingAddexport interface OrderFulfillmentCancel_orderFulfillmentCancel_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderFulfillmentCancel_orderFulfillmentCancel_order_shippingPrice_gross;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderFulfillmentCancel_orderFulfillmentCancel_order_subtotal_gross;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderFulfillmentCancel_orderFulfillmentCancel_order_total_gross;- /**- * Amount of taxes.- */tax: OrderFulfillmentCancel_orderFulfillmentCancel_order_total_tax;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderFulfillmentCancel_orderFulfillmentCancel_order_availableShippingMethods_price | null;@@ -435,94 +241,38 @@ export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_availableShexport interface OrderFulfillmentCancel_orderFulfillmentCancel_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderFulfillmentCancel_orderFulfillmentCancel_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderFulfillmentCancel_orderFulfillmentCancel_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderFulfillmentCancel_orderFulfillmentCancel_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderFulfillmentCancel_orderFulfillmentCancel_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderFulfillmentCancel_orderFulfillmentCancel_order_shippingAddress | null;shippingMethod: OrderFulfillmentCancel_orderFulfillmentCancel_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderFulfillmentCancel_orderFulfillmentCancel_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderFulfillmentCancel_orderFulfillmentCancel_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderFulfillmentCancel_orderFulfillmentCancel_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderFulfillmentCancel_orderFulfillmentCancel_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderFulfillmentCancel_orderFulfillmentCancel_order_totalCaptured | null;user: OrderFulfillmentCancel_orderFulfillmentCancel_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderFulfillmentCancel_orderFulfillmentCancel_order_availableShippingMethods | null)[] | null;}export interface OrderFulfillmentCancel_orderFulfillmentCancel {__typename: "FulfillmentCancel";- /**- * List of errors that occurred executing the mutation.- */errors: OrderFulfillmentCancel_orderFulfillmentCancel_errors[] | null;- /**- * Order which fulfillment was cancelled.- */order: OrderFulfillmentCancel_orderFulfillmentCancel_order | null;}export interface OrderFulfillmentCancel {- /**- * Cancels existing fulfillment- * and optionally restocks items.- */orderFulfillmentCancel: OrderFulfillmentCancel_orderFulfillmentCancel | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderFulfillmentUpdateTracking.ts b/saleor/static/dashboard-next/orders/types/OrderFulfillmentUpdateTracking.tsindex 264c77ee72..e1a912f15f 100644--- a/saleor/static/dashboard-next/orders/types/OrderFulfillmentUpdateTracking.ts+++ b/saleor/static/dashboard-next/orders/types/OrderFulfillmentUpdateTracking.ts@@ -10,27 +10,13 @@ import { FulfillmentUpdateTrackingInput, OrderEventsEmailsEnum, OrderEventsEnum,export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_ocity: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_oexport interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_events_user | null;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_oexport interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_oexport interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_lines_unitPrice_net;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_lines_thumbnail | null;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_ocity: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_oexport interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_shippingPrice_gross;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_subtotal_gross;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_total_gross;- /**- * Amount of taxes.- */tax: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_total_tax;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_availableShippingMethods_price | null;@@ -435,93 +241,38 @@ export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_oexport interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_shippingAddress | null;shippingMethod: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_totalCaptured | null;user: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_availableShippingMethods | null)[] | null;}export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking {__typename: "FulfillmentUpdateTracking";- /**- * List of errors that occurred executing the mutation.- */errors: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_errors[] | null;- /**- * Order which fulfillment was updated.- */order: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order | null;}export interface OrderFulfillmentUpdateTracking {- /**- * Updates a fulfillment for an order.- */orderFulfillmentUpdateTracking: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderLineDelete.ts b/saleor/static/dashboard-next/orders/types/OrderLineDelete.tsindex cc90560ea1..946439ad23 100644--- a/saleor/static/dashboard-next/orders/types/OrderLineDelete.ts+++ b/saleor/static/dashboard-next/orders/types/OrderLineDelete.ts@@ -10,27 +10,13 @@ import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargexport interface OrderLineDelete_draftOrderLineDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderLineDelete_draftOrderLineDelete_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderLineDelete_draftOrderLineDelete_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderLineDelete_draftOrderLineDelete_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderLineDelete_draftOrderLineDelete_order_billingAddress {export interface OrderLineDelete_draftOrderLineDelete_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderLineDelete_draftOrderLineDelete_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderLineDelete_draftOrderLineDelete_order_events_user | null;}export interface OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines {export interface OrderLineDelete_draftOrderLineDelete_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderLineDelete_draftOrderLineDelete_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderLineDelete_draftOrderLineDelete_order_fulfillments {export interface OrderLineDelete_draftOrderLineDelete_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineDelete_draftOrderLineDelete_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineDelete_draftOrderLineDelete_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLineDelete_draftOrderLineDelete_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderLineDelete_draftOrderLineDelete_order_lines_unitPrice_net;}export interface OrderLineDelete_draftOrderLineDelete_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderLineDelete_draftOrderLineDelete_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderLineDelete_draftOrderLineDelete_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderLineDelete_draftOrderLineDelete_order_lines_thumbnail | null;}export interface OrderLineDelete_draftOrderLineDelete_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderLineDelete_draftOrderLineDelete_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderLineDelete_draftOrderLineDelete_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderLineDelete_draftOrderLineDelete_order_shippingAddress {export interface OrderLineDelete_draftOrderLineDelete_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderLineDelete_draftOrderLineDelete_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineDelete_draftOrderLineDelete_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLineDelete_draftOrderLineDelete_order_shippingPrice_gross;}export interface OrderLineDelete_draftOrderLineDelete_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineDelete_draftOrderLineDelete_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLineDelete_draftOrderLineDelete_order_subtotal_gross;}export interface OrderLineDelete_draftOrderLineDelete_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineDelete_draftOrderLineDelete_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineDelete_draftOrderLineDelete_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLineDelete_draftOrderLineDelete_order_total_gross;- /**- * Amount of taxes.- */tax: OrderLineDelete_draftOrderLineDelete_order_total_tax;}export interface OrderLineDelete_draftOrderLineDelete_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineDelete_draftOrderLineDelete_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineDelete_draftOrderLineDelete_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderLineDelete_draftOrderLineDelete_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineDelete_draftOrderLineDelete_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderLineDelete_draftOrderLineDelete_order_availableShippingMethods_price | null;@@ -435,93 +241,38 @@ export interface OrderLineDelete_draftOrderLineDelete_order_availableShippingMetexport interface OrderLineDelete_draftOrderLineDelete_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderLineDelete_draftOrderLineDelete_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderLineDelete_draftOrderLineDelete_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderLineDelete_draftOrderLineDelete_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderLineDelete_draftOrderLineDelete_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderLineDelete_draftOrderLineDelete_order_shippingAddress | null;shippingMethod: OrderLineDelete_draftOrderLineDelete_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderLineDelete_draftOrderLineDelete_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderLineDelete_draftOrderLineDelete_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderLineDelete_draftOrderLineDelete_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderLineDelete_draftOrderLineDelete_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderLineDelete_draftOrderLineDelete_order_totalCaptured | null;user: OrderLineDelete_draftOrderLineDelete_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderLineDelete_draftOrderLineDelete_order_availableShippingMethods | null)[] | null;}export interface OrderLineDelete_draftOrderLineDelete {__typename: "DraftOrderLineDelete";- /**- * List of errors that occurred executing the mutation.- */errors: OrderLineDelete_draftOrderLineDelete_errors[] | null;- /**- * A related draft order.- */order: OrderLineDelete_draftOrderLineDelete_order | null;}export interface OrderLineDelete {- /**- * Deletes an order line from a draft order.- */draftOrderLineDelete: OrderLineDelete_draftOrderLineDelete | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderLineFragment.ts b/saleor/static/dashboard-next/orders/types/OrderLineFragment.tsindex c1b1a60ade..725832671d 100644--- a/saleor/static/dashboard-next/orders/types/OrderLineFragment.ts+++ b/saleor/static/dashboard-next/orders/types/OrderLineFragment.ts@@ -8,65 +8,35 @@export interface OrderLineFragment_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineFragment_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineFragment_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLineFragment_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderLineFragment_unitPrice_net;}export interface OrderLineFragment_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderLineFragment {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderLineFragment_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderLineFragment_thumbnail | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderLineUpdate.ts b/saleor/static/dashboard-next/orders/types/OrderLineUpdate.tsindex 2ffe8bdd58..a511163ad6 100644--- a/saleor/static/dashboard-next/orders/types/OrderLineUpdate.ts+++ b/saleor/static/dashboard-next/orders/types/OrderLineUpdate.ts@@ -10,27 +10,13 @@ import { OrderLineInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatexport interface OrderLineUpdate_draftOrderLineUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderLineUpdate_draftOrderLineUpdate_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderLineUpdate_draftOrderLineUpdate_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderLineUpdate_draftOrderLineUpdate_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderLineUpdate_draftOrderLineUpdate_order_billingAddress {export interface OrderLineUpdate_draftOrderLineUpdate_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderLineUpdate_draftOrderLineUpdate_order_events_user | null;}export interface OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines {export interface OrderLineUpdate_draftOrderLineUpdate_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderLineUpdate_draftOrderLineUpdate_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderLineUpdate_draftOrderLineUpdate_order_fulfillments {export interface OrderLineUpdate_draftOrderLineUpdate_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLineUpdate_draftOrderLineUpdate_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderLineUpdate_draftOrderLineUpdate_order_lines_unitPrice_net;}export interface OrderLineUpdate_draftOrderLineUpdate_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderLineUpdate_draftOrderLineUpdate_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderLineUpdate_draftOrderLineUpdate_order_lines_thumbnail | null;}export interface OrderLineUpdate_draftOrderLineUpdate_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderLineUpdate_draftOrderLineUpdate_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderLineUpdate_draftOrderLineUpdate_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderLineUpdate_draftOrderLineUpdate_order_shippingAddress {export interface OrderLineUpdate_draftOrderLineUpdate_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLineUpdate_draftOrderLineUpdate_order_shippingPrice_gross;}export interface OrderLineUpdate_draftOrderLineUpdate_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLineUpdate_draftOrderLineUpdate_order_subtotal_gross;}export interface OrderLineUpdate_draftOrderLineUpdate_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLineUpdate_draftOrderLineUpdate_order_total_gross;- /**- * Amount of taxes.- */tax: OrderLineUpdate_draftOrderLineUpdate_order_total_tax;}export interface OrderLineUpdate_draftOrderLineUpdate_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLineUpdate_draftOrderLineUpdate_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderLineUpdate_draftOrderLineUpdate_order_availableShippingMethods_price | null;@@ -435,93 +241,38 @@ export interface OrderLineUpdate_draftOrderLineUpdate_order_availableShippingMetexport interface OrderLineUpdate_draftOrderLineUpdate_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderLineUpdate_draftOrderLineUpdate_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderLineUpdate_draftOrderLineUpdate_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderLineUpdate_draftOrderLineUpdate_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderLineUpdate_draftOrderLineUpdate_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderLineUpdate_draftOrderLineUpdate_order_shippingAddress | null;shippingMethod: OrderLineUpdate_draftOrderLineUpdate_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderLineUpdate_draftOrderLineUpdate_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderLineUpdate_draftOrderLineUpdate_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderLineUpdate_draftOrderLineUpdate_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderLineUpdate_draftOrderLineUpdate_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderLineUpdate_draftOrderLineUpdate_order_totalCaptured | null;user: OrderLineUpdate_draftOrderLineUpdate_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderLineUpdate_draftOrderLineUpdate_order_availableShippingMethods | null)[] | null;}export interface OrderLineUpdate_draftOrderLineUpdate {__typename: "DraftOrderLineUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: OrderLineUpdate_draftOrderLineUpdate_errors[] | null;- /**- * A related draft order.- */order: OrderLineUpdate_draftOrderLineUpdate_order | null;}export interface OrderLineUpdate {- /**- * Updates an order line of a draft order.- */draftOrderLineUpdate: OrderLineUpdate_draftOrderLineUpdate | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderLinesAdd.ts b/saleor/static/dashboard-next/orders/types/OrderLinesAdd.tsindex 44cb68473d..7630119903 100644--- a/saleor/static/dashboard-next/orders/types/OrderLinesAdd.ts+++ b/saleor/static/dashboard-next/orders/types/OrderLinesAdd.ts@@ -10,27 +10,13 @@ import { OrderLineCreateInput, OrderEventsEmailsEnum, OrderEventsEnum, Fulfillmeexport interface OrderLinesAdd_draftOrderLinesCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderLinesAdd_draftOrderLinesCreate_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderLinesAdd_draftOrderLinesCreate_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderLinesAdd_draftOrderLinesCreate_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderLinesAdd_draftOrderLinesCreate_order_billingAddress {export interface OrderLinesAdd_draftOrderLinesCreate_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderLinesAdd_draftOrderLinesCreate_order_events_user | null;}export interface OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines {export interface OrderLinesAdd_draftOrderLinesCreate_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderLinesAdd_draftOrderLinesCreate_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderLinesAdd_draftOrderLinesCreate_order_fulfillments {export interface OrderLinesAdd_draftOrderLinesCreate_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLinesAdd_draftOrderLinesCreate_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderLinesAdd_draftOrderLinesCreate_order_lines_unitPrice_net;}export interface OrderLinesAdd_draftOrderLinesCreate_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderLinesAdd_draftOrderLinesCreate_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderLinesAdd_draftOrderLinesCreate_order_lines_thumbnail | null;}export interface OrderLinesAdd_draftOrderLinesCreate_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderLinesAdd_draftOrderLinesCreate_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderLinesAdd_draftOrderLinesCreate_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderLinesAdd_draftOrderLinesCreate_order_shippingAddress {export interface OrderLinesAdd_draftOrderLinesCreate_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLinesAdd_draftOrderLinesCreate_order_shippingPrice_gross;}export interface OrderLinesAdd_draftOrderLinesCreate_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLinesAdd_draftOrderLinesCreate_order_subtotal_gross;}export interface OrderLinesAdd_draftOrderLinesCreate_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderLinesAdd_draftOrderLinesCreate_order_total_gross;- /**- * Amount of taxes.- */tax: OrderLinesAdd_draftOrderLinesCreate_order_total_tax;}export interface OrderLinesAdd_draftOrderLinesCreate_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderLinesAdd_draftOrderLinesCreate_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderLinesAdd_draftOrderLinesCreate_order_availableShippingMethods_price | null;@@ -435,93 +241,38 @@ export interface OrderLinesAdd_draftOrderLinesCreate_order_availableShippingMethexport interface OrderLinesAdd_draftOrderLinesCreate_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderLinesAdd_draftOrderLinesCreate_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderLinesAdd_draftOrderLinesCreate_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderLinesAdd_draftOrderLinesCreate_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderLinesAdd_draftOrderLinesCreate_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderLinesAdd_draftOrderLinesCreate_order_shippingAddress | null;shippingMethod: OrderLinesAdd_draftOrderLinesCreate_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderLinesAdd_draftOrderLinesCreate_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderLinesAdd_draftOrderLinesCreate_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderLinesAdd_draftOrderLinesCreate_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderLinesAdd_draftOrderLinesCreate_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderLinesAdd_draftOrderLinesCreate_order_totalCaptured | null;user: OrderLinesAdd_draftOrderLinesCreate_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderLinesAdd_draftOrderLinesCreate_order_availableShippingMethods | null)[] | null;}export interface OrderLinesAdd_draftOrderLinesCreate {__typename: "DraftOrderLinesCreate";- /**- * List of errors that occurred executing the mutation.- */errors: OrderLinesAdd_draftOrderLinesCreate_errors[] | null;- /**- * A related draft order.- */order: OrderLinesAdd_draftOrderLinesCreate_order | null;}export interface OrderLinesAdd {- /**- * Create order lines for a draft order.- */draftOrderLinesCreate: OrderLinesAdd_draftOrderLinesCreate | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderList.ts b/saleor/static/dashboard-next/orders/types/OrderList.tsindex 552a09f35d..959ca23095 100644--- a/saleor/static/dashboard-next/orders/types/OrderList.ts+++ b/saleor/static/dashboard-next/orders/types/OrderList.ts@@ -10,13 +10,7 @@ import { OrderStatusFilter, OrderFilterInput, PaymentChargeStatusEnum, OrderStatexport interface OrderList_orders_edges_node_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -25,15 +19,9 @@ export interface OrderList_orders_edges_node_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderList_orders_edges_node_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -44,21 +32,12 @@ export interface OrderList_orders_edges_node_billingAddress {export interface OrderList_orders_edges_node_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderList_orders_edges_node_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderList_orders_edges_node_total_gross;}@@ -66,70 +45,34 @@ export interface OrderList_orders_edges_node {__typename: "Order";billingAddress: OrderList_orders_edges_node_billingAddress | null;created: any;- /**- * The ID of the object.- */id: string;- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;status: OrderStatus;- /**- * Total amount of the order.- */total: OrderList_orders_edges_node_total | null;- /**- * Email address of the customer.- */userEmail: string | null;}export interface OrderList_orders_edges {__typename: "OrderCountableEdge";- /**- * The item at the end of the edge- */node: OrderList_orders_edges_node;}export interface OrderList_orders_pageInfo {__typename: "PageInfo";- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;}export interface OrderList_orders {__typename: "OrderCountableConnection";edges: OrderList_orders_edges[];- /**- * Pagination data for this connection.- */pageInfo: OrderList_orders_pageInfo;}export interface OrderList {- /**- * List of the shop's orders.- */orders: OrderList_orders | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderMarkAsPaid.ts b/saleor/static/dashboard-next/orders/types/OrderMarkAsPaid.tsindex c6bb5afd39..821ed8d397 100644--- a/saleor/static/dashboard-next/orders/types/OrderMarkAsPaid.ts+++ b/saleor/static/dashboard-next/orders/types/OrderMarkAsPaid.ts@@ -10,27 +10,13 @@ import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargexport interface OrderMarkAsPaid_orderMarkAsPaid_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderMarkAsPaid_orderMarkAsPaid_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderMarkAsPaid_orderMarkAsPaid_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderMarkAsPaid_orderMarkAsPaid_order_billingAddress {export interface OrderMarkAsPaid_orderMarkAsPaid_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderMarkAsPaid_orderMarkAsPaid_order_events_user | null;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines {export interface OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments {export interface OrderMarkAsPaid_orderMarkAsPaid_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderMarkAsPaid_orderMarkAsPaid_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderMarkAsPaid_orderMarkAsPaid_order_lines_unitPrice_net;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderMarkAsPaid_orderMarkAsPaid_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderMarkAsPaid_orderMarkAsPaid_order_lines_thumbnail | null;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderMarkAsPaid_orderMarkAsPaid_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderMarkAsPaid_orderMarkAsPaid_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderMarkAsPaid_orderMarkAsPaid_order_shippingAddress {export interface OrderMarkAsPaid_orderMarkAsPaid_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderMarkAsPaid_orderMarkAsPaid_order_shippingPrice_gross;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderMarkAsPaid_orderMarkAsPaid_order_subtotal_gross;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderMarkAsPaid_orderMarkAsPaid_order_total_gross;- /**- * Amount of taxes.- */tax: OrderMarkAsPaid_orderMarkAsPaid_order_total_tax;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderMarkAsPaid_orderMarkAsPaid_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderMarkAsPaid_orderMarkAsPaid_order_availableShippingMethods_price | null;@@ -435,93 +241,38 @@ export interface OrderMarkAsPaid_orderMarkAsPaid_order_availableShippingMethodsexport interface OrderMarkAsPaid_orderMarkAsPaid_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderMarkAsPaid_orderMarkAsPaid_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderMarkAsPaid_orderMarkAsPaid_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderMarkAsPaid_orderMarkAsPaid_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderMarkAsPaid_orderMarkAsPaid_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderMarkAsPaid_orderMarkAsPaid_order_shippingAddress | null;shippingMethod: OrderMarkAsPaid_orderMarkAsPaid_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderMarkAsPaid_orderMarkAsPaid_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderMarkAsPaid_orderMarkAsPaid_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderMarkAsPaid_orderMarkAsPaid_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderMarkAsPaid_orderMarkAsPaid_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderMarkAsPaid_orderMarkAsPaid_order_totalCaptured | null;user: OrderMarkAsPaid_orderMarkAsPaid_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderMarkAsPaid_orderMarkAsPaid_order_availableShippingMethods | null)[] | null;}export interface OrderMarkAsPaid_orderMarkAsPaid {__typename: "OrderMarkAsPaid";- /**- * List of errors that occurred executing the mutation.- */errors: OrderMarkAsPaid_orderMarkAsPaid_errors[] | null;- /**- * Order marked as paid.- */order: OrderMarkAsPaid_orderMarkAsPaid_order | null;}export interface OrderMarkAsPaid {- /**- * Mark order as manually paid.- */orderMarkAsPaid: OrderMarkAsPaid_orderMarkAsPaid | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderRefund.ts b/saleor/static/dashboard-next/orders/types/OrderRefund.tsindex 78cc9081ad..5fedbe1a9d 100644--- a/saleor/static/dashboard-next/orders/types/OrderRefund.ts+++ b/saleor/static/dashboard-next/orders/types/OrderRefund.ts@@ -10,27 +10,13 @@ import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargexport interface OrderRefund_orderRefund_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderRefund_orderRefund_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderRefund_orderRefund_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderRefund_orderRefund_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderRefund_orderRefund_order_billingAddress {export interface OrderRefund_orderRefund_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderRefund_orderRefund_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderRefund_orderRefund_order_events_user | null;}export interface OrderRefund_orderRefund_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderRefund_orderRefund_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderRefund_orderRefund_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderRefund_orderRefund_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderRefund_orderRefund_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderRefund_orderRefund_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderRefund_orderRefund_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderRefund_orderRefund_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderRefund_orderRefund_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderRefund_orderRefund_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderRefund_orderRefund_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderRefund_orderRefund_order_fulfillments_lines {export interface OrderRefund_orderRefund_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderRefund_orderRefund_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderRefund_orderRefund_order_fulfillments {export interface OrderRefund_orderRefund_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderRefund_orderRefund_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderRefund_orderRefund_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderRefund_orderRefund_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderRefund_orderRefund_order_lines_unitPrice_net;}export interface OrderRefund_orderRefund_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderRefund_orderRefund_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderRefund_orderRefund_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderRefund_orderRefund_order_lines_thumbnail | null;}export interface OrderRefund_orderRefund_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderRefund_orderRefund_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderRefund_orderRefund_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderRefund_orderRefund_order_shippingAddress {export interface OrderRefund_orderRefund_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderRefund_orderRefund_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderRefund_orderRefund_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderRefund_orderRefund_order_shippingPrice_gross;}export interface OrderRefund_orderRefund_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderRefund_orderRefund_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderRefund_orderRefund_order_subtotal_gross;}export interface OrderRefund_orderRefund_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderRefund_orderRefund_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderRefund_orderRefund_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderRefund_orderRefund_order_total_gross;- /**- * Amount of taxes.- */tax: OrderRefund_orderRefund_order_total_tax;}export interface OrderRefund_orderRefund_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderRefund_orderRefund_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderRefund_orderRefund_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderRefund_orderRefund_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderRefund_orderRefund_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderRefund_orderRefund_order_availableShippingMethods_price | null;@@ -435,93 +241,38 @@ export interface OrderRefund_orderRefund_order_availableShippingMethods {export interface OrderRefund_orderRefund_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderRefund_orderRefund_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderRefund_orderRefund_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderRefund_orderRefund_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderRefund_orderRefund_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderRefund_orderRefund_order_shippingAddress | null;shippingMethod: OrderRefund_orderRefund_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderRefund_orderRefund_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderRefund_orderRefund_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderRefund_orderRefund_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderRefund_orderRefund_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderRefund_orderRefund_order_totalCaptured | null;user: OrderRefund_orderRefund_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderRefund_orderRefund_order_availableShippingMethods | null)[] | null;}export interface OrderRefund_orderRefund {__typename: "OrderRefund";- /**- * List of errors that occurred executing the mutation.- */errors: OrderRefund_orderRefund_errors[] | null;- /**- * A refunded order.- */order: OrderRefund_orderRefund_order | null;}export interface OrderRefund {- /**- * Refund an order.- */orderRefund: OrderRefund_orderRefund | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderShippingMethodUpdate.ts b/saleor/static/dashboard-next/orders/types/OrderShippingMethodUpdate.tsindex 07fb5fbe05..abeb03535e 100644--- a/saleor/static/dashboard-next/orders/types/OrderShippingMethodUpdate.ts+++ b/saleor/static/dashboard-next/orders/types/OrderShippingMethodUpdate.ts@@ -10,44 +10,24 @@ import { OrderUpdateShippingInput } from "./../../types/globalTypes";export interface OrderShippingMethodUpdate_orderUpdateShipping_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderShippingMethodUpdate_orderUpdateShipping_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;}export interface OrderShippingMethodUpdate_orderUpdateShipping_order_shippingMethod_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderShippingMethodUpdate_orderUpdateShipping_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderShippingMethodUpdate_orderUpdateShipping_order_shippingMethod_price | null;@@ -55,58 +35,31 @@ export interface OrderShippingMethodUpdate_orderUpdateShipping_order_shippingMetexport interface OrderShippingMethodUpdate_orderUpdateShipping_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderShippingMethodUpdate_orderUpdateShipping_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderShippingMethodUpdate_orderUpdateShipping_order_shippingPrice_gross;}export interface OrderShippingMethodUpdate_orderUpdateShipping_order {__typename: "Order";- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderShippingMethodUpdate_orderUpdateShipping_order_availableShippingMethods | null)[] | null;- /**- * The ID of the object.- */id: string;shippingMethod: OrderShippingMethodUpdate_orderUpdateShipping_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderShippingMethodUpdate_orderUpdateShipping_order_shippingPrice | null;}export interface OrderShippingMethodUpdate_orderUpdateShipping {__typename: "OrderUpdateShipping";- /**- * List of errors that occurred executing the mutation.- */errors: OrderShippingMethodUpdate_orderUpdateShipping_errors[] | null;- /**- * Order with updated shipping method.- */order: OrderShippingMethodUpdate_orderUpdateShipping_order | null;}export interface OrderShippingMethodUpdate {- /**- * Updates a shipping method of the order.- */orderUpdateShipping: OrderShippingMethodUpdate_orderUpdateShipping | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderUpdate.ts b/saleor/static/dashboard-next/orders/types/OrderUpdate.tsindex 674f62d5e1..66946aaab5 100644--- a/saleor/static/dashboard-next/orders/types/OrderUpdate.ts+++ b/saleor/static/dashboard-next/orders/types/OrderUpdate.ts@@ -10,27 +10,13 @@ import { OrderUpdateInput } from "./../../types/globalTypes";export interface OrderUpdate_orderUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderUpdate_orderUpdate_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderUpdate_orderUpdate_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderUpdate_orderUpdate_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,13 +38,7 @@ export interface OrderUpdate_orderUpdate_order_billingAddress {export interface OrderUpdate_orderUpdate_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -73,15 +47,9 @@ export interface OrderUpdate_orderUpdate_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderUpdate_orderUpdate_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -92,13 +60,7 @@ export interface OrderUpdate_orderUpdate_order_shippingAddress {export interface OrderUpdate_orderUpdate_order {__typename: "Order";- /**- * The ID of the object.- */id: string;- /**- * Email address of the customer.- */userEmail: string | null;billingAddress: OrderUpdate_orderUpdate_order_billingAddress | null;shippingAddress: OrderUpdate_orderUpdate_order_shippingAddress | null;@@ -106,17 +68,11 @@ export interface OrderUpdate_orderUpdate_order {export interface OrderUpdate_orderUpdate {__typename: "OrderUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: OrderUpdate_orderUpdate_errors[] | null;order: OrderUpdate_orderUpdate_order | null;}export interface OrderUpdate {- /**- * Updates an order.- */orderUpdate: OrderUpdate_orderUpdate | null;}diff --git a/saleor/static/dashboard-next/orders/types/OrderVoid.ts b/saleor/static/dashboard-next/orders/types/OrderVoid.tsindex b895a3beec..1d3e76026a 100644--- a/saleor/static/dashboard-next/orders/types/OrderVoid.ts+++ b/saleor/static/dashboard-next/orders/types/OrderVoid.ts@@ -10,27 +10,13 @@ import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargexport interface OrderVoid_orderVoid_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface OrderVoid_orderVoid_order_billingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -39,15 +25,9 @@ export interface OrderVoid_orderVoid_order_billingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderVoid_orderVoid_order_billingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -58,123 +38,60 @@ export interface OrderVoid_orderVoid_order_billingAddress {export interface OrderVoid_orderVoid_order_events_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderVoid_orderVoid_order_events {__typename: "OrderEvent";- /**- * The ID of the object.- */id: string;- /**- * Amount of money.- */amount: number | null;- /**- * Date when event happened at in ISO 8601 format.- */date: any | null;- /**- * Email of the customer- */email: string | null;- /**- * Type of an email sent to the customer- */emailType: OrderEventsEmailsEnum | null;- /**- * Content of the event.- */message: string | null;- /**- * Number of items.- */quantity: number | null;- /**- * Order event type- */type: OrderEventsEnum | null;- /**- * User who performed the action.- */user: OrderVoid_orderVoid_order_events_user | null;}export interface OrderVoid_orderVoid_order_fulfillments_lines_orderLine_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderVoid_orderVoid_order_fulfillments_lines_orderLine_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderVoid_orderVoid_order_fulfillments_lines_orderLine_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderVoid_orderVoid_order_fulfillments_lines_orderLine_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderVoid_orderVoid_order_fulfillments_lines_orderLine_unitPrice_net;}export interface OrderVoid_orderVoid_order_fulfillments_lines_orderLine_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderVoid_orderVoid_order_fulfillments_lines_orderLine {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderVoid_orderVoid_order_fulfillments_lines_orderLine_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderVoid_orderVoid_order_fulfillments_lines_orderLine_thumbnail | null;}export interface OrderVoid_orderVoid_order_fulfillments_lines {__typename: "FulfillmentLine";- /**- * The ID of the object.- */id: string;quantity: number;orderLine: OrderVoid_orderVoid_order_fulfillments_lines_orderLine | null;@@ -182,13 +99,7 @@ export interface OrderVoid_orderVoid_order_fulfillments_lines {export interface OrderVoid_orderVoid_order_fulfillments {__typename: "Fulfillment";- /**- * The ID of the object.- */id: string;- /**- * List of lines for the fulfillment- */lines: (OrderVoid_orderVoid_order_fulfillments_lines | null)[] | null;fulfillmentOrder: number;status: FulfillmentStatus;@@ -197,78 +108,42 @@ export interface OrderVoid_orderVoid_order_fulfillments {export interface OrderVoid_orderVoid_order_lines_unitPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderVoid_orderVoid_order_lines_unitPrice_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderVoid_orderVoid_order_lines_unitPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderVoid_orderVoid_order_lines_unitPrice_gross;- /**- * Amount of money without taxes.- */net: OrderVoid_orderVoid_order_lines_unitPrice_net;}export interface OrderVoid_orderVoid_order_lines_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface OrderVoid_orderVoid_order_lines {__typename: "OrderLine";- /**- * The ID of the object.- */id: string;isShippingRequired: boolean;productName: string;productSku: string;quantity: number;quantityFulfilled: number;- /**- * Price of the single item in the order line.- */unitPrice: OrderVoid_orderVoid_order_lines_unitPrice | null;- /**- * The main thumbnail for the ordered product.- */thumbnail: OrderVoid_orderVoid_order_lines_thumbnail | null;}export interface OrderVoid_orderVoid_order_shippingAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -277,15 +152,9 @@ export interface OrderVoid_orderVoid_order_shippingAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: OrderVoid_orderVoid_order_shippingAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -296,138 +165,75 @@ export interface OrderVoid_orderVoid_order_shippingAddress {export interface OrderVoid_orderVoid_order_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;}export interface OrderVoid_orderVoid_order_shippingPrice_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderVoid_orderVoid_order_shippingPrice {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderVoid_orderVoid_order_shippingPrice_gross;}export interface OrderVoid_orderVoid_order_subtotal_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderVoid_orderVoid_order_subtotal {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderVoid_orderVoid_order_subtotal_gross;}export interface OrderVoid_orderVoid_order_total_gross {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderVoid_orderVoid_order_total_tax {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderVoid_orderVoid_order_total {__typename: "TaxedMoney";- /**- * Amount of money including taxes.- */gross: OrderVoid_orderVoid_order_total_gross;- /**- * Amount of taxes.- */tax: OrderVoid_orderVoid_order_total_tax;}export interface OrderVoid_orderVoid_order_totalAuthorized {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderVoid_orderVoid_order_totalCaptured {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderVoid_orderVoid_order_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;}export interface OrderVoid_orderVoid_order_availableShippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface OrderVoid_orderVoid_order_availableShippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;price: OrderVoid_orderVoid_order_availableShippingMethods_price | null;@@ -435,93 +241,38 @@ export interface OrderVoid_orderVoid_order_availableShippingMethods {export interface OrderVoid_orderVoid_order {__typename: "Order";- /**- * The ID of the object.- */id: string;billingAddress: OrderVoid_orderVoid_order_billingAddress | null;- /**- * Informs whether a draft order can be finalized(turned into a regular order).- */canFinalize: boolean;created: any;customerNote: string;- /**- * List of events associated with the order.- */events: (OrderVoid_orderVoid_order_events | null)[] | null;- /**- * List of shipments for the order.- */fulfillments: (OrderVoid_orderVoid_order_fulfillments | null)[];- /**- * List of order lines.- */lines: (OrderVoid_orderVoid_order_lines | null)[];- /**- * User-friendly number of an order.- */number: string | null;- /**- * Internal payment status.- */paymentStatus: PaymentChargeStatusEnum | null;shippingAddress: OrderVoid_orderVoid_order_shippingAddress | null;shippingMethod: OrderVoid_orderVoid_order_shippingMethod | null;shippingMethodName: string | null;- /**- * Total price of shipping.- */shippingPrice: OrderVoid_orderVoid_order_shippingPrice | null;status: OrderStatus;- /**- * The sum of line prices not including shipping.- */subtotal: OrderVoid_orderVoid_order_subtotal | null;- /**- * Total amount of the order.- */total: OrderVoid_orderVoid_order_total | null;- /**- * List of actions that can be performed in- * the current state of an order.- */actions: (OrderAction | null)[];- /**- * Amount authorized for the order.- */totalAuthorized: OrderVoid_orderVoid_order_totalAuthorized | null;- /**- * Amount captured by payment.- */totalCaptured: OrderVoid_orderVoid_order_totalCaptured | null;user: OrderVoid_orderVoid_order_user | null;- /**- * Email address of the customer.- */userEmail: string | null;- /**- * Shipping methods that can be used with this order.- */availableShippingMethods: (OrderVoid_orderVoid_order_availableShippingMethods | null)[] | null;}export interface OrderVoid_orderVoid {__typename: "OrderVoid";- /**- * List of errors that occurred executing the mutation.- */errors: OrderVoid_orderVoid_errors[] | null;- /**- * A voided order.- */order: OrderVoid_orderVoid_order | null;}export interface OrderVoid {- /**- * Void an order.- */orderVoid: OrderVoid_orderVoid | null;}diff --git a/saleor/static/dashboard-next/orders/types/SearchOrderVariant.ts b/saleor/static/dashboard-next/orders/types/SearchOrderVariant.tsindex 6a25ccdb56..f2f0949ebb 100644--- a/saleor/static/dashboard-next/orders/types/SearchOrderVariant.ts+++ b/saleor/static/dashboard-next/orders/types/SearchOrderVariant.ts@@ -8,96 +8,51 @@export interface SearchOrderVariant_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface SearchOrderVariant_products_edges_node_variants_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface SearchOrderVariant_products_edges_node_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;name: string;sku: string;- /**- * Price of the product variant.- */price: SearchOrderVariant_products_edges_node_variants_price | null;}export interface SearchOrderVariant_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;- /**- * The main thumbnail for a product.- */thumbnail: SearchOrderVariant_products_edges_node_thumbnail | null;- /**- * List of variants for the product- */variants: (SearchOrderVariant_products_edges_node_variants | null)[] | null;}export interface SearchOrderVariant_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: SearchOrderVariant_products_edges_node;}export interface SearchOrderVariant_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SearchOrderVariant_products {__typename: "ProductCountableConnection";edges: SearchOrderVariant_products_edges[];- /**- * Pagination data for this connection.- */pageInfo: SearchOrderVariant_products_pageInfo;}export interface SearchOrderVariant {- /**- * List of the shop's products.- */products: SearchOrderVariant_products | null;}diff --git a/saleor/static/dashboard-next/pages/types/PageBulkPublish.ts b/saleor/static/dashboard-next/pages/types/PageBulkPublish.tsindex 1a2c75f52b..1a84cab831 100644--- a/saleor/static/dashboard-next/pages/types/PageBulkPublish.ts+++ b/saleor/static/dashboard-next/pages/types/PageBulkPublish.ts@@ -8,30 +8,16 @@export interface PageBulkPublish_pageBulkPublish_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface PageBulkPublish_pageBulkPublish {__typename: "PageBulkPublish";- /**- * List of errors that occurred executing the mutation.- */errors: PageBulkPublish_pageBulkPublish_errors[] | null;}export interface PageBulkPublish {- /**- * Publish pages.- */pageBulkPublish: PageBulkPublish_pageBulkPublish | null;}diff --git a/saleor/static/dashboard-next/pages/types/PageBulkRemove.ts b/saleor/static/dashboard-next/pages/types/PageBulkRemove.tsindex 44ac7d72c9..be5c1f85b4 100644--- a/saleor/static/dashboard-next/pages/types/PageBulkRemove.ts+++ b/saleor/static/dashboard-next/pages/types/PageBulkRemove.ts@@ -8,30 +8,16 @@export interface PageBulkRemove_pageBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface PageBulkRemove_pageBulkDelete {__typename: "PageBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: PageBulkRemove_pageBulkDelete_errors[] | null;}export interface PageBulkRemove {- /**- * Deletes pages.- */pageBulkDelete: PageBulkRemove_pageBulkDelete | null;}diff --git a/saleor/static/dashboard-next/pages/types/PageCreate.ts b/saleor/static/dashboard-next/pages/types/PageCreate.tsindex 330142d186..b873677611 100644--- a/saleor/static/dashboard-next/pages/types/PageCreate.ts+++ b/saleor/static/dashboard-next/pages/types/PageCreate.ts@@ -10,23 +10,12 @@ import { PageInput } from "./../../types/globalTypes";export interface PageCreate_pageCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface PageCreate_pageCreate_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;slug: string;@@ -39,17 +28,11 @@ export interface PageCreate_pageCreate_page {export interface PageCreate_pageCreate {__typename: "PageCreate";- /**- * List of errors that occurred executing the mutation.- */errors: PageCreate_pageCreate_errors[] | null;page: PageCreate_pageCreate_page | null;}export interface PageCreate {- /**- * Creates a new page.- */pageCreate: PageCreate_pageCreate | null;}diff --git a/saleor/static/dashboard-next/pages/types/PageDetails.ts b/saleor/static/dashboard-next/pages/types/PageDetails.tsindex 14ef35550f..ffc94dd3ac 100644--- a/saleor/static/dashboard-next/pages/types/PageDetails.ts+++ b/saleor/static/dashboard-next/pages/types/PageDetails.ts@@ -8,9 +8,6 @@export interface PageDetails_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;slug: string;@@ -22,9 +19,6 @@ export interface PageDetails_page {}export interface PageDetails {- /**- * Lookup a page by ID or by slug.- */page: PageDetails_page | null;}diff --git a/saleor/static/dashboard-next/pages/types/PageDetailsFragment.ts b/saleor/static/dashboard-next/pages/types/PageDetailsFragment.tsindex f0b313359b..1b1e48c924 100644--- a/saleor/static/dashboard-next/pages/types/PageDetailsFragment.ts+++ b/saleor/static/dashboard-next/pages/types/PageDetailsFragment.ts@@ -8,9 +8,6 @@export interface PageDetailsFragment {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;slug: string;diff --git a/saleor/static/dashboard-next/pages/types/PageFragment.ts b/saleor/static/dashboard-next/pages/types/PageFragment.tsindex f484c638e1..c10ca71124 100644--- a/saleor/static/dashboard-next/pages/types/PageFragment.ts+++ b/saleor/static/dashboard-next/pages/types/PageFragment.ts@@ -8,9 +8,6 @@export interface PageFragment {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;slug: string;diff --git a/saleor/static/dashboard-next/pages/types/PageList.ts b/saleor/static/dashboard-next/pages/types/PageList.tsindex f1fec0fbfb..df8718b7bd 100644--- a/saleor/static/dashboard-next/pages/types/PageList.ts+++ b/saleor/static/dashboard-next/pages/types/PageList.ts@@ -8,9 +8,6 @@export interface PageList_pages_edges_node {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;slug: string;@@ -19,45 +16,24 @@ export interface PageList_pages_edges_node {export interface PageList_pages_edges {__typename: "PageCountableEdge";- /**- * The item at the end of the edge- */node: PageList_pages_edges_node;}export interface PageList_pages_pageInfo {__typename: "PageInfo";- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;}export interface PageList_pages {__typename: "PageCountableConnection";edges: PageList_pages_edges[];- /**- * Pagination data for this connection.- */pageInfo: PageList_pages_pageInfo;}export interface PageList {- /**- * List of the shop's pages.- */pages: PageList_pages | null;}diff --git a/saleor/static/dashboard-next/pages/types/PageRemove.ts b/saleor/static/dashboard-next/pages/types/PageRemove.tsindex 010eb46e62..d1f63ed633 100644--- a/saleor/static/dashboard-next/pages/types/PageRemove.ts+++ b/saleor/static/dashboard-next/pages/types/PageRemove.ts@@ -8,30 +8,16 @@export interface PageRemove_pageDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface PageRemove_pageDelete {__typename: "PageDelete";- /**- * List of errors that occurred executing the mutation.- */errors: PageRemove_pageDelete_errors[] | null;}export interface PageRemove {- /**- * Deletes a page.- */pageDelete: PageRemove_pageDelete | null;}diff --git a/saleor/static/dashboard-next/pages/types/PageUpdate.ts b/saleor/static/dashboard-next/pages/types/PageUpdate.tsindex b536e034bd..853a0a34ca 100644--- a/saleor/static/dashboard-next/pages/types/PageUpdate.ts+++ b/saleor/static/dashboard-next/pages/types/PageUpdate.ts@@ -10,23 +10,12 @@ import { PageInput } from "./../../types/globalTypes";export interface PageUpdate_pageUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface PageUpdate_pageUpdate_page {__typename: "Page";- /**- * The ID of the object.- */id: string;title: string;slug: string;@@ -39,17 +28,11 @@ export interface PageUpdate_pageUpdate_page {export interface PageUpdate_pageUpdate {__typename: "PageUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: PageUpdate_pageUpdate_errors[] | null;page: PageUpdate_pageUpdate_page | null;}export interface PageUpdate {- /**- * Updates an existing page.- */pageUpdate: PageUpdate_pageUpdate | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts b/saleor/static/dashboard-next/productTypes/types/AttributeCreate.tsindex cb973a936b..1711348911 100644--- a/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts+++ b/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts@@ -10,154 +10,71 @@ import { AttributeCreateInput, AttributeTypeEnum } from "./../../types/globalTypexport interface AttributeCreate_attributeCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface AttributeCreate_attributeCreate_productType_taxType {__typename: "TaxType";- /**- * Description of the tax type- */description: string | null;- /**- * External tax code used to identify given tax group- */taxCode: string | null;}export interface AttributeCreate_attributeCreate_productType_productAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface AttributeCreate_attributeCreate_productType_productAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (AttributeCreate_attributeCreate_productType_productAttributes_values | null)[] | null;}export interface AttributeCreate_attributeCreate_productType_variantAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface AttributeCreate_attributeCreate_productType_variantAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (AttributeCreate_attributeCreate_productType_variantAttributes_values | null)[] | null;}export interface AttributeCreate_attributeCreate_productType_weight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface AttributeCreate_attributeCreate_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;isShippingRequired: boolean;- /**- * A type of tax. Assigned by enabled tax gateway- */taxType: AttributeCreate_attributeCreate_productType_taxType | null;- /**- * Product attributes of that product type.- */productAttributes: (AttributeCreate_attributeCreate_productType_productAttributes | null)[] | null;- /**- * Variant attributes of that product type.- */variantAttributes: (AttributeCreate_attributeCreate_productType_variantAttributes | null)[] | null;weight: AttributeCreate_attributeCreate_productType_weight | null;}export interface AttributeCreate_attributeCreate {__typename: "AttributeCreate";- /**- * List of errors that occurred executing the mutation.- */errors: AttributeCreate_attributeCreate_errors[] | null;- /**- * A product type to which an attribute was added.- */productType: AttributeCreate_attributeCreate_productType | null;}export interface AttributeCreate {- /**- * Creates an attribute.- */attributeCreate: AttributeCreate_attributeCreate | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts b/saleor/static/dashboard-next/productTypes/types/AttributeDelete.tsindex df5bb48275..456bc2f21b 100644--- a/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts+++ b/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts@@ -8,154 +8,71 @@export interface AttributeDelete_attributeDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface AttributeDelete_attributeDelete_productType_taxType {__typename: "TaxType";- /**- * Description of the tax type- */description: string | null;- /**- * External tax code used to identify given tax group- */taxCode: string | null;}export interface AttributeDelete_attributeDelete_productType_productAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface AttributeDelete_attributeDelete_productType_productAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (AttributeDelete_attributeDelete_productType_productAttributes_values | null)[] | null;}export interface AttributeDelete_attributeDelete_productType_variantAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface AttributeDelete_attributeDelete_productType_variantAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (AttributeDelete_attributeDelete_productType_variantAttributes_values | null)[] | null;}export interface AttributeDelete_attributeDelete_productType_weight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface AttributeDelete_attributeDelete_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;isShippingRequired: boolean;- /**- * A type of tax. Assigned by enabled tax gateway- */taxType: AttributeDelete_attributeDelete_productType_taxType | null;- /**- * Product attributes of that product type.- */productAttributes: (AttributeDelete_attributeDelete_productType_productAttributes | null)[] | null;- /**- * Variant attributes of that product type.- */variantAttributes: (AttributeDelete_attributeDelete_productType_variantAttributes | null)[] | null;weight: AttributeDelete_attributeDelete_productType_weight | null;}export interface AttributeDelete_attributeDelete {__typename: "AttributeDelete";- /**- * List of errors that occurred executing the mutation.- */errors: AttributeDelete_attributeDelete_errors[] | null;- /**- * A related product type.- */productType: AttributeDelete_attributeDelete_productType | null;}export interface AttributeDelete {- /**- * Deletes an attribute.- */attributeDelete: AttributeDelete_attributeDelete | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/AttributeFragment.ts b/saleor/static/dashboard-next/productTypes/types/AttributeFragment.tsindex a20793d680..35a35464f7 100644--- a/saleor/static/dashboard-next/productTypes/types/AttributeFragment.ts+++ b/saleor/static/dashboard-next/productTypes/types/AttributeFragment.ts@@ -8,36 +8,15 @@export interface AttributeFragment_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface AttributeFragment {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (AttributeFragment_values | null)[] | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/AttributeUpdate.ts b/saleor/static/dashboard-next/productTypes/types/AttributeUpdate.tsindex 35d4f499bf..08245fd55a 100644--- a/saleor/static/dashboard-next/productTypes/types/AttributeUpdate.ts+++ b/saleor/static/dashboard-next/productTypes/types/AttributeUpdate.ts@@ -10,67 +10,32 @@ import { AttributeUpdateInput } from "./../../types/globalTypes";export interface AttributeUpdate_attributeUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface AttributeUpdate_attributeUpdate_attribute_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface AttributeUpdate_attributeUpdate_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (AttributeUpdate_attributeUpdate_attribute_values | null)[] | null;}export interface AttributeUpdate_attributeUpdate {__typename: "AttributeUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: AttributeUpdate_attributeUpdate_errors[] | null;attribute: AttributeUpdate_attributeUpdate_attribute | null;}export interface AttributeUpdate {- /**- * Updates attribute.- */attributeUpdate: AttributeUpdate_attributeUpdate | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeBulkDelete.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeBulkDelete.tsindex 3637603329..5924436f60 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeBulkDelete.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeBulkDelete.ts@@ -8,30 +8,16 @@export interface ProductTypeBulkDelete_productTypeBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ProductTypeBulkDelete_productTypeBulkDelete {__typename: "ProductTypeBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: ProductTypeBulkDelete_productTypeBulkDelete_errors[] | null;}export interface ProductTypeBulkDelete {- /**- * Deletes product types.- */productTypeBulkDelete: ProductTypeBulkDelete_productTypeBulkDelete | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.tsindex bc25c5931b..e6dfb6c0ac 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts@@ -10,151 +10,71 @@ import { ProductTypeInput } from "./../../types/globalTypes";export interface ProductTypeCreate_productTypeCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ProductTypeCreate_productTypeCreate_productType_taxType {__typename: "TaxType";- /**- * Description of the tax type- */description: string | null;- /**- * External tax code used to identify given tax group- */taxCode: string | null;}export interface ProductTypeCreate_productTypeCreate_productType_productAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductTypeCreate_productTypeCreate_productType_productAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (ProductTypeCreate_productTypeCreate_productType_productAttributes_values | null)[] | null;}export interface ProductTypeCreate_productTypeCreate_productType_variantAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductTypeCreate_productTypeCreate_productType_variantAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (ProductTypeCreate_productTypeCreate_productType_variantAttributes_values | null)[] | null;}export interface ProductTypeCreate_productTypeCreate_productType_weight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface ProductTypeCreate_productTypeCreate_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;isShippingRequired: boolean;- /**- * A type of tax. Assigned by enabled tax gateway- */taxType: ProductTypeCreate_productTypeCreate_productType_taxType | null;- /**- * Product attributes of that product type.- */productAttributes: (ProductTypeCreate_productTypeCreate_productType_productAttributes | null)[] | null;- /**- * Variant attributes of that product type.- */variantAttributes: (ProductTypeCreate_productTypeCreate_productType_variantAttributes | null)[] | null;weight: ProductTypeCreate_productTypeCreate_productType_weight | null;}export interface ProductTypeCreate_productTypeCreate {__typename: "ProductTypeCreate";- /**- * List of errors that occurred executing the mutation.- */errors: ProductTypeCreate_productTypeCreate_errors[] | null;productType: ProductTypeCreate_productTypeCreate_productType | null;}export interface ProductTypeCreate {- /**- * Creates a new product type.- */productTypeCreate: ProductTypeCreate_productTypeCreate | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeCreateData.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeCreateData.tsindex ecc6deec2e..b50c7f29c5 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeCreateData.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeCreateData.ts@@ -10,31 +10,16 @@ import { WeightUnitsEnum } from "./../../types/globalTypes";export interface ProductTypeCreateData_shop {__typename: "Shop";- /**- * Default weight unit- */defaultWeightUnit: WeightUnitsEnum | null;}export interface ProductTypeCreateData_taxTypes {__typename: "TaxType";- /**- * External tax code used to identify given tax group- */taxCode: string | null;- /**- * Description of the tax type- */description: string | null;}export interface ProductTypeCreateData {- /**- * Represents a shop resources.- */shop: ProductTypeCreateData_shop | null;- /**- * List of all tax rates available from tax gateway- */taxTypes: (ProductTypeCreateData_taxTypes | null)[] | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeDelete.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeDelete.tsindex 9684ab7ac1..a4b523b6a8 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeDelete.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeDelete.ts@@ -8,39 +8,22 @@export interface ProductTypeDelete_productTypeDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ProductTypeDelete_productTypeDelete_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;}export interface ProductTypeDelete_productTypeDelete {__typename: "ProductTypeDelete";- /**- * List of errors that occurred executing the mutation.- */errors: ProductTypeDelete_productTypeDelete_errors[] | null;productType: ProductTypeDelete_productTypeDelete_productType | null;}export interface ProductTypeDelete {- /**- * Deletes a product type.- */productTypeDelete: ProductTypeDelete_productTypeDelete | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeDetails.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeDetails.tsindex 6464645758..3c1a8e0a84 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeDetails.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeDetails.ts@@ -10,156 +10,72 @@ import { WeightUnitsEnum } from "./../../types/globalTypes";export interface ProductTypeDetails_productType_taxType {__typename: "TaxType";- /**- * Description of the tax type- */description: string | null;- /**- * External tax code used to identify given tax group- */taxCode: string | null;}export interface ProductTypeDetails_productType_productAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductTypeDetails_productType_productAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (ProductTypeDetails_productType_productAttributes_values | null)[] | null;}export interface ProductTypeDetails_productType_variantAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductTypeDetails_productType_variantAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (ProductTypeDetails_productType_variantAttributes_values | null)[] | null;}export interface ProductTypeDetails_productType_weight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface ProductTypeDetails_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;isShippingRequired: boolean;- /**- * A type of tax. Assigned by enabled tax gateway- */taxType: ProductTypeDetails_productType_taxType | null;- /**- * Product attributes of that product type.- */productAttributes: (ProductTypeDetails_productType_productAttributes | null)[] | null;- /**- * Variant attributes of that product type.- */variantAttributes: (ProductTypeDetails_productType_variantAttributes | null)[] | null;weight: ProductTypeDetails_productType_weight | null;}export interface ProductTypeDetails_shop {__typename: "Shop";- /**- * Default weight unit- */defaultWeightUnit: WeightUnitsEnum | null;}export interface ProductTypeDetails_taxTypes {__typename: "TaxType";- /**- * External tax code used to identify given tax group- */taxCode: string | null;- /**- * Description of the tax type- */description: string | null;}export interface ProductTypeDetails {- /**- * Lookup a product type by ID.- */productType: ProductTypeDetails_productType | null;- /**- * Represents a shop resources.- */shop: ProductTypeDetails_shop | null;- /**- * List of all tax rates available from tax gateway- */taxTypes: (ProductTypeDetails_taxTypes | null)[] | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeDetailsFragment.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeDetailsFragment.tsindex 533b7772d7..4b7466e9c1 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeDetailsFragment.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeDetailsFragment.ts@@ -8,120 +8,54 @@export interface ProductTypeDetailsFragment_taxType {__typename: "TaxType";- /**- * Description of the tax type- */description: string | null;- /**- * External tax code used to identify given tax group- */taxCode: string | null;}export interface ProductTypeDetailsFragment_productAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductTypeDetailsFragment_productAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (ProductTypeDetailsFragment_productAttributes_values | null)[] | null;}export interface ProductTypeDetailsFragment_variantAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductTypeDetailsFragment_variantAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (ProductTypeDetailsFragment_variantAttributes_values | null)[] | null;}export interface ProductTypeDetailsFragment_weight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface ProductTypeDetailsFragment {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;isShippingRequired: boolean;- /**- * A type of tax. Assigned by enabled tax gateway- */taxType: ProductTypeDetailsFragment_taxType | null;- /**- * Product attributes of that product type.- */productAttributes: (ProductTypeDetailsFragment_productAttributes | null)[] | null;- /**- * Variant attributes of that product type.- */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 b352104b9f..d96c186689 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeFragment.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeFragment.ts@@ -8,27 +8,15 @@export interface ProductTypeFragment_taxType {__typename: "TaxType";- /**- * Description of the tax type- */description: string | null;- /**- * External tax code used to identify given tax group- */taxCode: string | null;}export interface ProductTypeFragment {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;isShippingRequired: boolean;- /**- * A type of tax. Assigned by enabled tax gateway- */taxType: ProductTypeFragment_taxType | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeList.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeList.tsindex 4941ea4864..e7fcf18178 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeList.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeList.ts@@ -8,72 +8,39 @@export interface ProductTypeList_productTypes_edges_node_taxType {__typename: "TaxType";- /**- * Description of the tax type- */description: string | null;- /**- * External tax code used to identify given tax group- */taxCode: string | null;}export interface ProductTypeList_productTypes_edges_node {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;isShippingRequired: boolean;- /**- * A type of tax. Assigned by enabled tax gateway- */taxType: ProductTypeList_productTypes_edges_node_taxType | null;}export interface ProductTypeList_productTypes_edges {__typename: "ProductTypeCountableEdge";- /**- * The item at the end of the edge- */node: ProductTypeList_productTypes_edges_node;}export interface ProductTypeList_productTypes_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;}export interface ProductTypeList_productTypes {__typename: "ProductTypeCountableConnection";edges: ProductTypeList_productTypes_edges[];- /**- * Pagination data for this connection.- */pageInfo: ProductTypeList_productTypes_pageInfo;}export interface ProductTypeList {- /**- * List of the shop's product types.- */productTypes: ProductTypeList_productTypes | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.tsindex bbe32bbf0f..87433c0b1e 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts@@ -10,151 +10,71 @@ import { ProductTypeInput } from "./../../types/globalTypes";export interface ProductTypeUpdate_productTypeUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ProductTypeUpdate_productTypeUpdate_productType_taxType {__typename: "TaxType";- /**- * Description of the tax type- */description: string | null;- /**- * External tax code used to identify given tax group- */taxCode: string | null;}export interface ProductTypeUpdate_productTypeUpdate_productType_productAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductTypeUpdate_productTypeUpdate_productType_productAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (ProductTypeUpdate_productTypeUpdate_productType_productAttributes_values | null)[] | null;}export interface ProductTypeUpdate_productTypeUpdate_productType_variantAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductTypeUpdate_productTypeUpdate_productType_variantAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (ProductTypeUpdate_productTypeUpdate_productType_variantAttributes_values | null)[] | null;}export interface ProductTypeUpdate_productTypeUpdate_productType_weight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface ProductTypeUpdate_productTypeUpdate_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;isShippingRequired: boolean;- /**- * A type of tax. Assigned by enabled tax gateway- */taxType: ProductTypeUpdate_productTypeUpdate_productType_taxType | null;- /**- * Product attributes of that product type.- */productAttributes: (ProductTypeUpdate_productTypeUpdate_productType_productAttributes | null)[] | null;- /**- * Variant attributes of that product type.- */variantAttributes: (ProductTypeUpdate_productTypeUpdate_productType_variantAttributes | null)[] | null;weight: ProductTypeUpdate_productTypeUpdate_productType_weight | null;}export interface ProductTypeUpdate_productTypeUpdate {__typename: "ProductTypeUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: ProductTypeUpdate_productTypeUpdate_errors[] | null;productType: ProductTypeUpdate_productTypeUpdate_productType | null;}export interface ProductTypeUpdate {- /**- * Updates an existing product type.- */productTypeUpdate: ProductTypeUpdate_productTypeUpdate | null;}diff --git a/saleor/static/dashboard-next/products/types/Money.ts b/saleor/static/dashboard-next/products/types/Money.tsindex 01aa15517e..f48f8fa9da 100644--- a/saleor/static/dashboard-next/products/types/Money.ts+++ b/saleor/static/dashboard-next/products/types/Money.ts@@ -8,12 +8,6 @@export interface Money {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}diff --git a/saleor/static/dashboard-next/products/types/Product.ts b/saleor/static/dashboard-next/products/types/Product.tsindex 644a8b207f..2396b200b2 100644--- a/saleor/static/dashboard-next/products/types/Product.ts+++ b/saleor/static/dashboard-next/products/types/Product.ts@@ -8,31 +8,19 @@export interface Product_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface Product_collections {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface Product_basePrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}@@ -44,217 +32,110 @@ export interface Product_margin {export interface Product_purchaseCost_start {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface Product_purchaseCost_stop {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface Product_purchaseCost {__typename: "MoneyRange";- /**- * Lower bound of a price range.- */start: Product_purchaseCost_start | null;- /**- * Upper bound of a price range.- */stop: Product_purchaseCost_stop | null;}export interface Product_attributes_attribute_values {__typename: "AttributeValue";- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface Product_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * List of attribute's values.- */values: (Product_attributes_attribute_values | null)[] | null;}export interface Product_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface Product_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: Product_attributes_attribute;- /**- * Value of an attribute.- */value: Product_attributes_value;}export interface Product_pricing_priceRange_start_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface Product_pricing_priceRange_start {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: Product_pricing_priceRange_start_net;}export interface Product_pricing_priceRange_stop_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface Product_pricing_priceRange_stop {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: Product_pricing_priceRange_stop_net;}export interface Product_pricing_priceRange {__typename: "TaxedMoneyRange";- /**- * Lower bound of a price range.- */start: Product_pricing_priceRange_start | null;- /**- * Upper bound of a price range.- */stop: Product_pricing_priceRange_stop | null;}export interface Product_pricing {__typename: "ProductPricingInfo";- /**- * The discounted price range of the product variants.- */priceRange: Product_pricing_priceRange | null;}export interface Product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface Product_variants_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface Product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;sku: string;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: Product_variants_priceOverride | null;- /**- * Gross margin percentage value.- */margin: number | null;quantity: number;quantityAllocated: number;- /**- * Quantity of a product available for sale.- */stockQuantity: number;}export interface Product_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;@@ -262,52 +143,24 @@ export interface Product_productType {export interface Product {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoTitle: string | null;seoDescription: string | null;category: Product_category;- /**- * List of collections for the product- */collections: (Product_collections | null)[] | null;- /**- * The product's default base price.- */basePrice: Product_basePrice | null;margin: Product_margin | null;purchaseCost: Product_purchaseCost | null;- /**- * Whether the product is in stock and visible or not.- */isAvailable: boolean | null;isPublished: boolean;chargeTaxes: boolean;publicationDate: any | null;- /**- * List of attributes assigned to this product.- */attributes: Product_attributes[];- /**- * Lists the storefront product's pricing,- * the current price and discounts, only meant for displaying.- */pricing: Product_pricing | null;- /**- * List of images for the product- */images: (Product_images | null)[] | null;- /**- * List of variants for the product- */variants: (Product_variants | null)[] | null;productType: Product_productType;- /**- * The storefront URL for the product.- */url: string;}diff --git a/saleor/static/dashboard-next/products/types/ProductCreate.ts b/saleor/static/dashboard-next/products/types/ProductCreate.tsindex d0247f455d..5688b7287e 100644--- a/saleor/static/dashboard-next/products/types/ProductCreate.ts+++ b/saleor/static/dashboard-next/products/types/ProductCreate.ts@@ -10,45 +10,25 @@ import { AttributeValueInput, SeoInput } from "./../../types/globalTypes";export interface ProductCreate_productCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ProductCreate_productCreate_product_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductCreate_productCreate_product_collections {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductCreate_productCreate_product_basePrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}@@ -60,217 +40,110 @@ export interface ProductCreate_productCreate_product_margin {export interface ProductCreate_productCreate_product_purchaseCost_start {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductCreate_productCreate_product_purchaseCost_stop {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductCreate_productCreate_product_purchaseCost {__typename: "MoneyRange";- /**- * Lower bound of a price range.- */start: ProductCreate_productCreate_product_purchaseCost_start | null;- /**- * Upper bound of a price range.- */stop: ProductCreate_productCreate_product_purchaseCost_stop | null;}export interface ProductCreate_productCreate_product_attributes_attribute_values {__typename: "AttributeValue";- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductCreate_productCreate_product_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * List of attribute's values.- */values: (ProductCreate_productCreate_product_attributes_attribute_values | null)[] | null;}export interface ProductCreate_productCreate_product_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductCreate_productCreate_product_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: ProductCreate_productCreate_product_attributes_attribute;- /**- * Value of an attribute.- */value: ProductCreate_productCreate_product_attributes_value;}export interface ProductCreate_productCreate_product_pricing_priceRange_start_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductCreate_productCreate_product_pricing_priceRange_start {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: ProductCreate_productCreate_product_pricing_priceRange_start_net;}export interface ProductCreate_productCreate_product_pricing_priceRange_stop_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductCreate_productCreate_product_pricing_priceRange_stop {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: ProductCreate_productCreate_product_pricing_priceRange_stop_net;}export interface ProductCreate_productCreate_product_pricing_priceRange {__typename: "TaxedMoneyRange";- /**- * Lower bound of a price range.- */start: ProductCreate_productCreate_product_pricing_priceRange_start | null;- /**- * Upper bound of a price range.- */stop: ProductCreate_productCreate_product_pricing_priceRange_stop | null;}export interface ProductCreate_productCreate_product_pricing {__typename: "ProductPricingInfo";- /**- * The discounted price range of the product variants.- */priceRange: ProductCreate_productCreate_product_pricing_priceRange | null;}export interface ProductCreate_productCreate_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface ProductCreate_productCreate_product_variants_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductCreate_productCreate_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;sku: string;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: ProductCreate_productCreate_product_variants_priceOverride | null;- /**- * Gross margin percentage value.- */margin: number | null;quantity: number;quantityAllocated: number;- /**- * Quantity of a product available for sale.- */stockQuantity: number;}export interface ProductCreate_productCreate_product_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;@@ -278,69 +151,35 @@ export interface ProductCreate_productCreate_product_productType {export interface ProductCreate_productCreate_product {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoTitle: string | null;seoDescription: string | null;category: ProductCreate_productCreate_product_category;- /**- * List of collections for the product- */collections: (ProductCreate_productCreate_product_collections | null)[] | null;- /**- * The product's default base price.- */basePrice: ProductCreate_productCreate_product_basePrice | null;margin: ProductCreate_productCreate_product_margin | null;purchaseCost: ProductCreate_productCreate_product_purchaseCost | null;- /**- * Whether the product is in stock and visible or not.- */isAvailable: boolean | null;isPublished: boolean;chargeTaxes: boolean;publicationDate: any | null;- /**- * List of attributes assigned to this product.- */attributes: ProductCreate_productCreate_product_attributes[];- /**- * Lists the storefront product's pricing,- * the current price and discounts, only meant for displaying.- */pricing: ProductCreate_productCreate_product_pricing | null;- /**- * List of images for the product- */images: (ProductCreate_productCreate_product_images | null)[] | null;- /**- * List of variants for the product- */variants: (ProductCreate_productCreate_product_variants | null)[] | null;productType: ProductCreate_productCreate_product_productType;- /**- * The storefront URL for the product.- */url: string;}export interface ProductCreate_productCreate {__typename: "ProductCreate";- /**- * List of errors that occurred executing the mutation.- */errors: ProductCreate_productCreate_errors[] | null;product: ProductCreate_productCreate_product | null;}export interface ProductCreate {- /**- * Creates a new product.- */productCreate: ProductCreate_productCreate | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductCreateData.ts b/saleor/static/dashboard-next/products/types/ProductCreateData.tsindex 58de87e4b3..a198653410 100644--- a/saleor/static/dashboard-next/products/types/ProductCreateData.ts+++ b/saleor/static/dashboard-next/products/types/ProductCreateData.ts@@ -8,60 +8,30 @@export interface ProductCreateData_productTypes_edges_node_productAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;sortOrder: number | null;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductCreateData_productTypes_edges_node_productAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * List of attribute's values.- */values: (ProductCreateData_productTypes_edges_node_productAttributes_values | null)[] | null;}export interface ProductCreateData_productTypes_edges_node {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;- /**- * Product attributes of that product type.- */productAttributes: (ProductCreateData_productTypes_edges_node_productAttributes | null)[] | null;}export interface ProductCreateData_productTypes_edges {__typename: "ProductTypeCountableEdge";- /**- * The item at the end of the edge- */node: ProductCreateData_productTypes_edges_node;}@@ -71,8 +41,5 @@ export interface ProductCreateData_productTypes {}export interface ProductCreateData {- /**- * List of the shop's product types.- */productTypes: ProductCreateData_productTypes | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductDelete.ts b/saleor/static/dashboard-next/products/types/ProductDelete.tsindex a0d367c1a4..d5efb26f1f 100644--- a/saleor/static/dashboard-next/products/types/ProductDelete.ts+++ b/saleor/static/dashboard-next/products/types/ProductDelete.ts@@ -8,39 +8,22 @@export interface ProductDelete_productDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ProductDelete_productDelete_product {__typename: "Product";- /**- * The ID of the object.- */id: string;}export interface ProductDelete_productDelete {__typename: "ProductDelete";- /**- * List of errors that occurred executing the mutation.- */errors: ProductDelete_productDelete_errors[] | null;product: ProductDelete_productDelete_product | null;}export interface ProductDelete {- /**- * Deletes a product.- */productDelete: ProductDelete_productDelete | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductDetails.ts b/saleor/static/dashboard-next/products/types/ProductDetails.tsindex 9899762887..4e0326d16a 100644--- a/saleor/static/dashboard-next/products/types/ProductDetails.ts+++ b/saleor/static/dashboard-next/products/types/ProductDetails.ts@@ -8,31 +8,19 @@export interface ProductDetails_product_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductDetails_product_collections {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductDetails_product_basePrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}@@ -44,217 +32,110 @@ export interface ProductDetails_product_margin {export interface ProductDetails_product_purchaseCost_start {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductDetails_product_purchaseCost_stop {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductDetails_product_purchaseCost {__typename: "MoneyRange";- /**- * Lower bound of a price range.- */start: ProductDetails_product_purchaseCost_start | null;- /**- * Upper bound of a price range.- */stop: ProductDetails_product_purchaseCost_stop | null;}export interface ProductDetails_product_attributes_attribute_values {__typename: "AttributeValue";- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductDetails_product_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * List of attribute's values.- */values: (ProductDetails_product_attributes_attribute_values | null)[] | null;}export interface ProductDetails_product_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductDetails_product_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: ProductDetails_product_attributes_attribute;- /**- * Value of an attribute.- */value: ProductDetails_product_attributes_value;}export interface ProductDetails_product_pricing_priceRange_start_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductDetails_product_pricing_priceRange_start {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: ProductDetails_product_pricing_priceRange_start_net;}export interface ProductDetails_product_pricing_priceRange_stop_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductDetails_product_pricing_priceRange_stop {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: ProductDetails_product_pricing_priceRange_stop_net;}export interface ProductDetails_product_pricing_priceRange {__typename: "TaxedMoneyRange";- /**- * Lower bound of a price range.- */start: ProductDetails_product_pricing_priceRange_start | null;- /**- * Upper bound of a price range.- */stop: ProductDetails_product_pricing_priceRange_stop | null;}export interface ProductDetails_product_pricing {__typename: "ProductPricingInfo";- /**- * The discounted price range of the product variants.- */priceRange: ProductDetails_product_pricing_priceRange | null;}export interface ProductDetails_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface ProductDetails_product_variants_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductDetails_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;sku: string;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: ProductDetails_product_variants_priceOverride | null;- /**- * Gross margin percentage value.- */margin: number | null;quantity: number;quantityAllocated: number;- /**- * Quantity of a product available for sale.- */stockQuantity: number;}export interface ProductDetails_product_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;@@ -262,60 +143,29 @@ export interface ProductDetails_product_productType {export interface ProductDetails_product {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoTitle: string | null;seoDescription: string | null;category: ProductDetails_product_category;- /**- * List of collections for the product- */collections: (ProductDetails_product_collections | null)[] | null;- /**- * The product's default base price.- */basePrice: ProductDetails_product_basePrice | null;margin: ProductDetails_product_margin | null;purchaseCost: ProductDetails_product_purchaseCost | null;- /**- * Whether the product is in stock and visible or not.- */isAvailable: boolean | null;isPublished: boolean;chargeTaxes: boolean;publicationDate: any | null;- /**- * List of attributes assigned to this product.- */attributes: ProductDetails_product_attributes[];- /**- * Lists the storefront product's pricing,- * the current price and discounts, only meant for displaying.- */pricing: ProductDetails_product_pricing | null;- /**- * List of images for the product- */images: (ProductDetails_product_images | null)[] | null;- /**- * List of variants for the product- */variants: (ProductDetails_product_variants | null)[] | null;productType: ProductDetails_product_productType;- /**- * The storefront URL for the product.- */url: string;}export interface ProductDetails {- /**- * Lookup a product by ID.- */product: ProductDetails_product | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductFragment.ts b/saleor/static/dashboard-next/products/types/ProductFragment.tsindex 2464335ad7..7187a97910 100644--- a/saleor/static/dashboard-next/products/types/ProductFragment.ts+++ b/saleor/static/dashboard-next/products/types/ProductFragment.ts@@ -8,51 +8,27 @@export interface ProductFragment_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface ProductFragment_basePrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductFragment_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductFragment {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;- /**- * The main thumbnail for a product.- */thumbnail: ProductFragment_thumbnail | null;- /**- * Whether the product is in stock and visible or not.- */isAvailable: boolean | null;- /**- * The product's default base price.- */basePrice: ProductFragment_basePrice | null;productType: ProductFragment_productType;}diff --git a/saleor/static/dashboard-next/products/types/ProductImageById.ts b/saleor/static/dashboard-next/products/types/ProductImageById.tsindex bd93c6152f..d5fc6ef978 100644--- a/saleor/static/dashboard-next/products/types/ProductImageById.ts+++ b/saleor/static/dashboard-next/products/types/ProductImageById.ts@@ -8,50 +8,26 @@export interface ProductImageById_product_mainImage {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;- /**- * The URL of the image.- */url: string;}export interface ProductImageById_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface ProductImageById_product {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;- /**- * Get a single product image by ID- */mainImage: ProductImageById_product_mainImage | null;- /**- * List of images for the product- */images: (ProductImageById_product_images | null)[] | null;}export interface ProductImageById {- /**- * Lookup a product by ID.- */product: ProductImageById_product | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductImageCreate.ts b/saleor/static/dashboard-next/products/types/ProductImageCreate.tsindex 31bced34fb..1e4baa7298 100644--- a/saleor/static/dashboard-next/products/types/ProductImageCreate.ts+++ b/saleor/static/dashboard-next/products/types/ProductImageCreate.ts@@ -8,45 +8,25 @@export interface ProductImageCreate_productImageCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ProductImageCreate_productImageCreate_product_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductImageCreate_productImageCreate_product_collections {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductImageCreate_productImageCreate_product_basePrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}@@ -58,217 +38,110 @@ export interface ProductImageCreate_productImageCreate_product_margin {export interface ProductImageCreate_productImageCreate_product_purchaseCost_start {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductImageCreate_productImageCreate_product_purchaseCost_stop {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductImageCreate_productImageCreate_product_purchaseCost {__typename: "MoneyRange";- /**- * Lower bound of a price range.- */start: ProductImageCreate_productImageCreate_product_purchaseCost_start | null;- /**- * Upper bound of a price range.- */stop: ProductImageCreate_productImageCreate_product_purchaseCost_stop | null;}export interface ProductImageCreate_productImageCreate_product_attributes_attribute_values {__typename: "AttributeValue";- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductImageCreate_productImageCreate_product_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * List of attribute's values.- */values: (ProductImageCreate_productImageCreate_product_attributes_attribute_values | null)[] | null;}export interface ProductImageCreate_productImageCreate_product_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductImageCreate_productImageCreate_product_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: ProductImageCreate_productImageCreate_product_attributes_attribute;- /**- * Value of an attribute.- */value: ProductImageCreate_productImageCreate_product_attributes_value;}export interface ProductImageCreate_productImageCreate_product_pricing_priceRange_start_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductImageCreate_productImageCreate_product_pricing_priceRange_start {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: ProductImageCreate_productImageCreate_product_pricing_priceRange_start_net;}export interface ProductImageCreate_productImageCreate_product_pricing_priceRange_stop_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductImageCreate_productImageCreate_product_pricing_priceRange_stop {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: ProductImageCreate_productImageCreate_product_pricing_priceRange_stop_net;}export interface ProductImageCreate_productImageCreate_product_pricing_priceRange {__typename: "TaxedMoneyRange";- /**- * Lower bound of a price range.- */start: ProductImageCreate_productImageCreate_product_pricing_priceRange_start | null;- /**- * Upper bound of a price range.- */stop: ProductImageCreate_productImageCreate_product_pricing_priceRange_stop | null;}export interface ProductImageCreate_productImageCreate_product_pricing {__typename: "ProductPricingInfo";- /**- * The discounted price range of the product variants.- */priceRange: ProductImageCreate_productImageCreate_product_pricing_priceRange | null;}export interface ProductImageCreate_productImageCreate_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface ProductImageCreate_productImageCreate_product_variants_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductImageCreate_productImageCreate_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;sku: string;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: ProductImageCreate_productImageCreate_product_variants_priceOverride | null;- /**- * Gross margin percentage value.- */margin: number | null;quantity: number;quantityAllocated: number;- /**- * Quantity of a product available for sale.- */stockQuantity: number;}export interface ProductImageCreate_productImageCreate_product_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;@@ -276,72 +149,35 @@ export interface ProductImageCreate_productImageCreate_product_productType {export interface ProductImageCreate_productImageCreate_product {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoTitle: string | null;seoDescription: string | null;category: ProductImageCreate_productImageCreate_product_category;- /**- * List of collections for the product- */collections: (ProductImageCreate_productImageCreate_product_collections | null)[] | null;- /**- * The product's default base price.- */basePrice: ProductImageCreate_productImageCreate_product_basePrice | null;margin: ProductImageCreate_productImageCreate_product_margin | null;purchaseCost: ProductImageCreate_productImageCreate_product_purchaseCost | null;- /**- * Whether the product is in stock and visible or not.- */isAvailable: boolean | null;isPublished: boolean;chargeTaxes: boolean;publicationDate: any | null;- /**- * List of attributes assigned to this product.- */attributes: ProductImageCreate_productImageCreate_product_attributes[];- /**- * Lists the storefront product's pricing,- * the current price and discounts, only meant for displaying.- */pricing: ProductImageCreate_productImageCreate_product_pricing | null;- /**- * List of images for the product- */images: (ProductImageCreate_productImageCreate_product_images | null)[] | null;- /**- * List of variants for the product- */variants: (ProductImageCreate_productImageCreate_product_variants | null)[] | null;productType: ProductImageCreate_productImageCreate_product_productType;- /**- * The storefront URL for the product.- */url: string;}export interface ProductImageCreate_productImageCreate {__typename: "ProductImageCreate";- /**- * List of errors that occurred executing the mutation.- */errors: ProductImageCreate_productImageCreate_errors[] | null;product: ProductImageCreate_productImageCreate_product | null;}export interface ProductImageCreate {- /**- * Create a product image. This mutation must be- * sent as a `multipart` request. More detailed specs of the upload format- * can be found here:- * https: // github.com/jaydenseric/graphql-multipart-request-spec- */productImageCreate: ProductImageCreate_productImageCreate | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductImageDelete.ts b/saleor/static/dashboard-next/products/types/ProductImageDelete.tsindex 434c172086..4d55c57a81 100644--- a/saleor/static/dashboard-next/products/types/ProductImageDelete.ts+++ b/saleor/static/dashboard-next/products/types/ProductImageDelete.ts@@ -8,21 +8,12 @@export interface ProductImageDelete_productImageDelete_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;}export interface ProductImageDelete_productImageDelete_product {__typename: "Product";- /**- * The ID of the object.- */id: string;- /**- * List of images for the product- */images: (ProductImageDelete_productImageDelete_product_images | null)[] | null;}@@ -32,9 +23,6 @@ export interface ProductImageDelete_productImageDelete {}export interface ProductImageDelete {- /**- * Deletes a product image.- */productImageDelete: ProductImageDelete_productImageDelete | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductImageFragment.ts b/saleor/static/dashboard-next/products/types/ProductImageFragment.tsindex 87440fd3c9..de4e5b5ca8 100644--- a/saleor/static/dashboard-next/products/types/ProductImageFragment.ts+++ b/saleor/static/dashboard-next/products/types/ProductImageFragment.ts@@ -8,14 +8,8 @@export interface ProductImageFragment {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}diff --git a/saleor/static/dashboard-next/products/types/ProductImageReorder.ts b/saleor/static/dashboard-next/products/types/ProductImageReorder.tsindex 1cbb61e967..4e59603896 100644--- a/saleor/static/dashboard-next/products/types/ProductImageReorder.ts+++ b/saleor/static/dashboard-next/products/types/ProductImageReorder.ts@@ -8,57 +8,31 @@export interface ProductImageReorder_productImageReorder_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ProductImageReorder_productImageReorder_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface ProductImageReorder_productImageReorder_product {__typename: "Product";- /**- * The ID of the object.- */id: string;- /**- * List of images for the product- */images: (ProductImageReorder_productImageReorder_product_images | null)[] | null;}export interface ProductImageReorder_productImageReorder {__typename: "ProductImageReorder";- /**- * List of errors that occurred executing the mutation.- */errors: ProductImageReorder_productImageReorder_errors[] | null;product: ProductImageReorder_productImageReorder_product | null;}export interface ProductImageReorder {- /**- * Changes ordering of the product image.- */productImageReorder: ProductImageReorder_productImageReorder | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts b/saleor/static/dashboard-next/products/types/ProductImageUpdate.tsindex a915859a0e..bd2a9d1787 100644--- a/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts+++ b/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts@@ -8,45 +8,25 @@export interface ProductImageUpdate_productImageUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ProductImageUpdate_productImageUpdate_product_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductImageUpdate_productImageUpdate_product_collections {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductImageUpdate_productImageUpdate_product_basePrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}@@ -58,217 +38,110 @@ export interface ProductImageUpdate_productImageUpdate_product_margin {export interface ProductImageUpdate_productImageUpdate_product_purchaseCost_start {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductImageUpdate_productImageUpdate_product_purchaseCost_stop {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductImageUpdate_productImageUpdate_product_purchaseCost {__typename: "MoneyRange";- /**- * Lower bound of a price range.- */start: ProductImageUpdate_productImageUpdate_product_purchaseCost_start | null;- /**- * Upper bound of a price range.- */stop: ProductImageUpdate_productImageUpdate_product_purchaseCost_stop | null;}export interface ProductImageUpdate_productImageUpdate_product_attributes_attribute_values {__typename: "AttributeValue";- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductImageUpdate_productImageUpdate_product_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * List of attribute's values.- */values: (ProductImageUpdate_productImageUpdate_product_attributes_attribute_values | null)[] | null;}export interface ProductImageUpdate_productImageUpdate_product_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductImageUpdate_productImageUpdate_product_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: ProductImageUpdate_productImageUpdate_product_attributes_attribute;- /**- * Value of an attribute.- */value: ProductImageUpdate_productImageUpdate_product_attributes_value;}export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRange_start_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRange_start {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: ProductImageUpdate_productImageUpdate_product_pricing_priceRange_start_net;}export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRange_stop_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRange_stop {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: ProductImageUpdate_productImageUpdate_product_pricing_priceRange_stop_net;}export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRange {__typename: "TaxedMoneyRange";- /**- * Lower bound of a price range.- */start: ProductImageUpdate_productImageUpdate_product_pricing_priceRange_start | null;- /**- * Upper bound of a price range.- */stop: ProductImageUpdate_productImageUpdate_product_pricing_priceRange_stop | null;}export interface ProductImageUpdate_productImageUpdate_product_pricing {__typename: "ProductPricingInfo";- /**- * The discounted price range of the product variants.- */priceRange: ProductImageUpdate_productImageUpdate_product_pricing_priceRange | null;}export interface ProductImageUpdate_productImageUpdate_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface ProductImageUpdate_productImageUpdate_product_variants_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductImageUpdate_productImageUpdate_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;sku: string;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: ProductImageUpdate_productImageUpdate_product_variants_priceOverride | null;- /**- * Gross margin percentage value.- */margin: number | null;quantity: number;quantityAllocated: number;- /**- * Quantity of a product available for sale.- */stockQuantity: number;}export interface ProductImageUpdate_productImageUpdate_product_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;@@ -276,69 +149,35 @@ export interface ProductImageUpdate_productImageUpdate_product_productType {export interface ProductImageUpdate_productImageUpdate_product {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoTitle: string | null;seoDescription: string | null;category: ProductImageUpdate_productImageUpdate_product_category;- /**- * List of collections for the product- */collections: (ProductImageUpdate_productImageUpdate_product_collections | null)[] | null;- /**- * The product's default base price.- */basePrice: ProductImageUpdate_productImageUpdate_product_basePrice | null;margin: ProductImageUpdate_productImageUpdate_product_margin | null;purchaseCost: ProductImageUpdate_productImageUpdate_product_purchaseCost | null;- /**- * Whether the product is in stock and visible or not.- */isAvailable: boolean | null;isPublished: boolean;chargeTaxes: boolean;publicationDate: any | null;- /**- * List of attributes assigned to this product.- */attributes: ProductImageUpdate_productImageUpdate_product_attributes[];- /**- * Lists the storefront product's pricing,- * the current price and discounts, only meant for displaying.- */pricing: ProductImageUpdate_productImageUpdate_product_pricing | null;- /**- * List of images for the product- */images: (ProductImageUpdate_productImageUpdate_product_images | null)[] | null;- /**- * List of variants for the product- */variants: (ProductImageUpdate_productImageUpdate_product_variants | null)[] | null;productType: ProductImageUpdate_productImageUpdate_product_productType;- /**- * The storefront URL for the product.- */url: string;}export interface ProductImageUpdate_productImageUpdate {__typename: "ProductImageUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: ProductImageUpdate_productImageUpdate_errors[] | null;product: ProductImageUpdate_productImageUpdate_product | null;}export interface ProductImageUpdate {- /**- * Updates a product image.- */productImageUpdate: ProductImageUpdate_productImageUpdate | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductList.ts b/saleor/static/dashboard-next/products/types/ProductList.tsindex 8e62e39881..0758898759 100644--- a/saleor/static/dashboard-next/products/types/ProductList.ts+++ b/saleor/static/dashboard-next/products/types/ProductList.ts@@ -10,96 +10,51 @@ import { ProductFilterInput } from "./../../types/globalTypes";export interface ProductList_products_edges_node_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface ProductList_products_edges_node_basePrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductList_products_edges_node_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductList_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;- /**- * The main thumbnail for a product.- */thumbnail: ProductList_products_edges_node_thumbnail | null;- /**- * Whether the product is in stock and visible or not.- */isAvailable: boolean | null;- /**- * The product's default base price.- */basePrice: ProductList_products_edges_node_basePrice | null;productType: ProductList_products_edges_node_productType;}export interface ProductList_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: ProductList_products_edges_node;}export interface ProductList_products_pageInfo {__typename: "PageInfo";- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;}export interface ProductList_products {__typename: "ProductCountableConnection";edges: ProductList_products_edges[];- /**- * Pagination data for this connection.- */pageInfo: ProductList_products_pageInfo;}export interface ProductList {- /**- * List of the shop's products.- */products: ProductList_products | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductUpdate.ts b/saleor/static/dashboard-next/products/types/ProductUpdate.tsindex 510f9917fd..b991242e01 100644--- a/saleor/static/dashboard-next/products/types/ProductUpdate.ts+++ b/saleor/static/dashboard-next/products/types/ProductUpdate.ts@@ -10,45 +10,25 @@ import { AttributeValueInput, SeoInput } from "./../../types/globalTypes";export interface ProductUpdate_productUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ProductUpdate_productUpdate_product_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductUpdate_productUpdate_product_collections {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductUpdate_productUpdate_product_basePrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}@@ -60,217 +40,110 @@ export interface ProductUpdate_productUpdate_product_margin {export interface ProductUpdate_productUpdate_product_purchaseCost_start {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductUpdate_productUpdate_product_purchaseCost_stop {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductUpdate_productUpdate_product_purchaseCost {__typename: "MoneyRange";- /**- * Lower bound of a price range.- */start: ProductUpdate_productUpdate_product_purchaseCost_start | null;- /**- * Upper bound of a price range.- */stop: ProductUpdate_productUpdate_product_purchaseCost_stop | null;}export interface ProductUpdate_productUpdate_product_attributes_attribute_values {__typename: "AttributeValue";- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductUpdate_productUpdate_product_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * List of attribute's values.- */values: (ProductUpdate_productUpdate_product_attributes_attribute_values | null)[] | null;}export interface ProductUpdate_productUpdate_product_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductUpdate_productUpdate_product_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: ProductUpdate_productUpdate_product_attributes_attribute;- /**- * Value of an attribute.- */value: ProductUpdate_productUpdate_product_attributes_value;}export interface ProductUpdate_productUpdate_product_pricing_priceRange_start_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductUpdate_productUpdate_product_pricing_priceRange_start {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: ProductUpdate_productUpdate_product_pricing_priceRange_start_net;}export interface ProductUpdate_productUpdate_product_pricing_priceRange_stop_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductUpdate_productUpdate_product_pricing_priceRange_stop {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: ProductUpdate_productUpdate_product_pricing_priceRange_stop_net;}export interface ProductUpdate_productUpdate_product_pricing_priceRange {__typename: "TaxedMoneyRange";- /**- * Lower bound of a price range.- */start: ProductUpdate_productUpdate_product_pricing_priceRange_start | null;- /**- * Upper bound of a price range.- */stop: ProductUpdate_productUpdate_product_pricing_priceRange_stop | null;}export interface ProductUpdate_productUpdate_product_pricing {__typename: "ProductPricingInfo";- /**- * The discounted price range of the product variants.- */priceRange: ProductUpdate_productUpdate_product_pricing_priceRange | null;}export interface ProductUpdate_productUpdate_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface ProductUpdate_productUpdate_product_variants_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductUpdate_productUpdate_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;sku: string;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: ProductUpdate_productUpdate_product_variants_priceOverride | null;- /**- * Gross margin percentage value.- */margin: number | null;quantity: number;quantityAllocated: number;- /**- * Quantity of a product available for sale.- */stockQuantity: number;}export interface ProductUpdate_productUpdate_product_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;@@ -278,69 +151,35 @@ export interface ProductUpdate_productUpdate_product_productType {export interface ProductUpdate_productUpdate_product {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoTitle: string | null;seoDescription: string | null;category: ProductUpdate_productUpdate_product_category;- /**- * List of collections for the product- */collections: (ProductUpdate_productUpdate_product_collections | null)[] | null;- /**- * The product's default base price.- */basePrice: ProductUpdate_productUpdate_product_basePrice | null;margin: ProductUpdate_productUpdate_product_margin | null;purchaseCost: ProductUpdate_productUpdate_product_purchaseCost | null;- /**- * Whether the product is in stock and visible or not.- */isAvailable: boolean | null;isPublished: boolean;chargeTaxes: boolean;publicationDate: any | null;- /**- * List of attributes assigned to this product.- */attributes: ProductUpdate_productUpdate_product_attributes[];- /**- * Lists the storefront product's pricing,- * the current price and discounts, only meant for displaying.- */pricing: ProductUpdate_productUpdate_product_pricing | null;- /**- * List of images for the product- */images: (ProductUpdate_productUpdate_product_images | null)[] | null;- /**- * List of variants for the product- */variants: (ProductUpdate_productUpdate_product_variants | null)[] | null;productType: ProductUpdate_productUpdate_product_productType;- /**- * The storefront URL for the product.- */url: string;}export interface ProductUpdate_productUpdate {__typename: "ProductUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: ProductUpdate_productUpdate_errors[] | null;product: ProductUpdate_productUpdate_product | null;}export interface ProductUpdate {- /**- * Updates an existing product.- */productUpdate: ProductUpdate_productUpdate | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductVariant.ts b/saleor/static/dashboard-next/products/types/ProductVariant.tsindex fc08a659fc..86239a5995 100644--- a/saleor/static/dashboard-next/products/types/ProductVariant.ts+++ b/saleor/static/dashboard-next/products/types/ProductVariant.ts@@ -8,197 +8,93 @@export interface ProductVariant_attributes_attribute_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductVariant_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (ProductVariant_attributes_attribute_values | null)[] | null;}export interface ProductVariant_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductVariant_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: ProductVariant_attributes_attribute;- /**- * Value of an attribute.- */value: ProductVariant_attributes_value;}export interface ProductVariant_costPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductVariant_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface ProductVariant_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductVariant_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface ProductVariant_product_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface ProductVariant_product_variants_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface ProductVariant_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;name: string;sku: string;- /**- * List of images for the product variant- */images: (ProductVariant_product_variants_images | null)[] | null;}export interface ProductVariant_product {__typename: "Product";- /**- * The ID of the object.- */id: string;- /**- * List of images for the product- */images: (ProductVariant_product_images | null)[] | null;name: string;- /**- * The main thumbnail for a product.- */thumbnail: ProductVariant_product_thumbnail | null;- /**- * List of variants for the product- */variants: (ProductVariant_product_variants | null)[] | null;}export interface ProductVariant {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;- /**- * List of attributes assigned to this variant.- */attributes: ProductVariant_attributes[];- /**- * Cost price of the variant.- */costPrice: ProductVariant_costPrice | null;- /**- * List of images for the product variant- */images: (ProductVariant_images | null)[] | null;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: ProductVariant_priceOverride | null;product: ProductVariant_product;sku: string;diff --git a/saleor/static/dashboard-next/products/types/ProductVariantBulkDelete.ts b/saleor/static/dashboard-next/products/types/ProductVariantBulkDelete.tsindex 41e3bc0b00..d77fb6ca3e 100644--- a/saleor/static/dashboard-next/products/types/ProductVariantBulkDelete.ts+++ b/saleor/static/dashboard-next/products/types/ProductVariantBulkDelete.ts@@ -8,30 +8,16 @@export interface ProductVariantBulkDelete_productVariantBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ProductVariantBulkDelete_productVariantBulkDelete {__typename: "ProductVariantBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: ProductVariantBulkDelete_productVariantBulkDelete_errors[] | null;}export interface ProductVariantBulkDelete {- /**- * Deletes product variants.- */productVariantBulkDelete: ProductVariantBulkDelete_productVariantBulkDelete | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductVariantCreateData.ts b/saleor/static/dashboard-next/products/types/ProductVariantCreateData.tsindex 896cf93e40..956873a6a1 100644--- a/saleor/static/dashboard-next/products/types/ProductVariantCreateData.ts+++ b/saleor/static/dashboard-next/products/types/ProductVariantCreateData.ts@@ -8,126 +8,63 @@export interface ProductVariantCreateData_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface ProductVariantCreateData_product_productType_variantAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;sortOrder: number | null;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductVariantCreateData_product_productType_variantAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * List of attribute's values.- */values: (ProductVariantCreateData_product_productType_variantAttributes_values | null)[] | null;}export interface ProductVariantCreateData_product_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;- /**- * Variant attributes of that product type.- */variantAttributes: (ProductVariantCreateData_product_productType_variantAttributes | null)[] | null;}export interface ProductVariantCreateData_product_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface ProductVariantCreateData_product_variants_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface ProductVariantCreateData_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;name: string;sku: string;- /**- * List of images for the product variant- */images: (ProductVariantCreateData_product_variants_images | null)[] | null;}export interface ProductVariantCreateData_product {__typename: "Product";- /**- * The ID of the object.- */id: string;- /**- * List of images for the product- */images: (ProductVariantCreateData_product_images | null)[] | null;name: string;productType: ProductVariantCreateData_product_productType;- /**- * The main thumbnail for a product.- */thumbnail: ProductVariantCreateData_product_thumbnail | null;- /**- * List of variants for the product- */variants: (ProductVariantCreateData_product_variants | null)[] | null;}export interface ProductVariantCreateData {- /**- * Lookup a product by ID.- */product: ProductVariantCreateData_product | null;}diff --git a/saleor/static/dashboard-next/products/types/ProductVariantDetails.ts b/saleor/static/dashboard-next/products/types/ProductVariantDetails.tsindex 363be5e875..d7337cbac7 100644--- a/saleor/static/dashboard-next/products/types/ProductVariantDetails.ts+++ b/saleor/static/dashboard-next/products/types/ProductVariantDetails.ts@@ -8,197 +8,93 @@export interface ProductVariantDetails_productVariant_attributes_attribute_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductVariantDetails_productVariant_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (ProductVariantDetails_productVariant_attributes_attribute_values | null)[] | null;}export interface ProductVariantDetails_productVariant_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface ProductVariantDetails_productVariant_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: ProductVariantDetails_productVariant_attributes_attribute;- /**- * Value of an attribute.- */value: ProductVariantDetails_productVariant_attributes_value;}export interface ProductVariantDetails_productVariant_costPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductVariantDetails_productVariant_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface ProductVariantDetails_productVariant_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ProductVariantDetails_productVariant_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface ProductVariantDetails_productVariant_product_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface ProductVariantDetails_productVariant_product_variants_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface ProductVariantDetails_productVariant_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;name: string;sku: string;- /**- * List of images for the product variant- */images: (ProductVariantDetails_productVariant_product_variants_images | null)[] | null;}export interface ProductVariantDetails_productVariant_product {__typename: "Product";- /**- * The ID of the object.- */id: string;- /**- * List of images for the product- */images: (ProductVariantDetails_productVariant_product_images | null)[] | null;name: string;- /**- * The main thumbnail for a product.- */thumbnail: ProductVariantDetails_productVariant_product_thumbnail | null;- /**- * List of variants for the product- */variants: (ProductVariantDetails_productVariant_product_variants | null)[] | null;}export interface ProductVariantDetails_productVariant {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;- /**- * List of attributes assigned to this variant.- */attributes: ProductVariantDetails_productVariant_attributes[];- /**- * Cost price of the variant.- */costPrice: ProductVariantDetails_productVariant_costPrice | null;- /**- * List of images for the product variant- */images: (ProductVariantDetails_productVariant_images | null)[] | null;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: ProductVariantDetails_productVariant_priceOverride | null;product: ProductVariantDetails_productVariant_product;sku: string;@@ -207,9 +103,6 @@ export interface ProductVariantDetails_productVariant {}export interface ProductVariantDetails {- /**- * Lookup a variant by ID.- */productVariant: ProductVariantDetails_productVariant | null;}diff --git a/saleor/static/dashboard-next/products/types/SimpleProductUpdate.ts b/saleor/static/dashboard-next/products/types/SimpleProductUpdate.tsindex f94ed9803d..5b0b3d69b7 100644--- a/saleor/static/dashboard-next/products/types/SimpleProductUpdate.ts+++ b/saleor/static/dashboard-next/products/types/SimpleProductUpdate.ts@@ -10,45 +10,25 @@ import { AttributeValueInput, ProductVariantInput, SeoInput } from "./../../typeexport interface SimpleProductUpdate_productUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface SimpleProductUpdate_productUpdate_product_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;}export interface SimpleProductUpdate_productUpdate_product_collections {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;}export interface SimpleProductUpdate_productUpdate_product_basePrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}@@ -60,217 +40,110 @@ export interface SimpleProductUpdate_productUpdate_product_margin {export interface SimpleProductUpdate_productUpdate_product_purchaseCost_start {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface SimpleProductUpdate_productUpdate_product_purchaseCost_stop {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface SimpleProductUpdate_productUpdate_product_purchaseCost {__typename: "MoneyRange";- /**- * Lower bound of a price range.- */start: SimpleProductUpdate_productUpdate_product_purchaseCost_start | null;- /**- * Upper bound of a price range.- */stop: SimpleProductUpdate_productUpdate_product_purchaseCost_stop | null;}export interface SimpleProductUpdate_productUpdate_product_attributes_attribute_values {__typename: "AttributeValue";- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface SimpleProductUpdate_productUpdate_product_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * List of attribute's values.- */values: (SimpleProductUpdate_productUpdate_product_attributes_attribute_values | null)[] | null;}export interface SimpleProductUpdate_productUpdate_product_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface SimpleProductUpdate_productUpdate_product_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: SimpleProductUpdate_productUpdate_product_attributes_attribute;- /**- * Value of an attribute.- */value: SimpleProductUpdate_productUpdate_product_attributes_value;}export interface SimpleProductUpdate_productUpdate_product_pricing_priceRange_start_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface SimpleProductUpdate_productUpdate_product_pricing_priceRange_start {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: SimpleProductUpdate_productUpdate_product_pricing_priceRange_start_net;}export interface SimpleProductUpdate_productUpdate_product_pricing_priceRange_stop_net {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface SimpleProductUpdate_productUpdate_product_pricing_priceRange_stop {__typename: "TaxedMoney";- /**- * Amount of money without taxes.- */net: SimpleProductUpdate_productUpdate_product_pricing_priceRange_stop_net;}export interface SimpleProductUpdate_productUpdate_product_pricing_priceRange {__typename: "TaxedMoneyRange";- /**- * Lower bound of a price range.- */start: SimpleProductUpdate_productUpdate_product_pricing_priceRange_start | null;- /**- * Upper bound of a price range.- */stop: SimpleProductUpdate_productUpdate_product_pricing_priceRange_stop | null;}export interface SimpleProductUpdate_productUpdate_product_pricing {__typename: "ProductPricingInfo";- /**- * The discounted price range of the product variants.- */priceRange: SimpleProductUpdate_productUpdate_product_pricing_priceRange | null;}export interface SimpleProductUpdate_productUpdate_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface SimpleProductUpdate_productUpdate_product_variants_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface SimpleProductUpdate_productUpdate_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;sku: string;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: SimpleProductUpdate_productUpdate_product_variants_priceOverride | null;- /**- * Gross margin percentage value.- */margin: number | null;quantity: number;quantityAllocated: number;- /**- * Quantity of a product available for sale.- */stockQuantity: number;}export interface SimpleProductUpdate_productUpdate_product_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;hasVariants: boolean;@@ -278,272 +151,129 @@ export interface SimpleProductUpdate_productUpdate_product_productType {export interface SimpleProductUpdate_productUpdate_product {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoTitle: string | null;seoDescription: string | null;category: SimpleProductUpdate_productUpdate_product_category;- /**- * List of collections for the product- */collections: (SimpleProductUpdate_productUpdate_product_collections | null)[] | null;- /**- * The product's default base price.- */basePrice: SimpleProductUpdate_productUpdate_product_basePrice | null;margin: SimpleProductUpdate_productUpdate_product_margin | null;purchaseCost: SimpleProductUpdate_productUpdate_product_purchaseCost | null;- /**- * Whether the product is in stock and visible or not.- */isAvailable: boolean | null;isPublished: boolean;chargeTaxes: boolean;publicationDate: any | null;- /**- * List of attributes assigned to this product.- */attributes: SimpleProductUpdate_productUpdate_product_attributes[];- /**- * Lists the storefront product's pricing,- * the current price and discounts, only meant for displaying.- */pricing: SimpleProductUpdate_productUpdate_product_pricing | null;- /**- * List of images for the product- */images: (SimpleProductUpdate_productUpdate_product_images | null)[] | null;- /**- * List of variants for the product- */variants: (SimpleProductUpdate_productUpdate_product_variants | null)[] | null;productType: SimpleProductUpdate_productUpdate_product_productType;- /**- * The storefront URL for the product.- */url: string;}export interface SimpleProductUpdate_productUpdate {__typename: "ProductUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: SimpleProductUpdate_productUpdate_errors[] | null;product: SimpleProductUpdate_productUpdate_product | null;}export interface SimpleProductUpdate_productVariantUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface SimpleProductUpdate_productVariantUpdate_productVariant_attributes_attribute_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface SimpleProductUpdate_productVariantUpdate_productVariant_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (SimpleProductUpdate_productVariantUpdate_productVariant_attributes_attribute_values | null)[] | null;}export interface SimpleProductUpdate_productVariantUpdate_productVariant_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface SimpleProductUpdate_productVariantUpdate_productVariant_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: SimpleProductUpdate_productVariantUpdate_productVariant_attributes_attribute;- /**- * Value of an attribute.- */value: SimpleProductUpdate_productVariantUpdate_productVariant_attributes_value;}export interface SimpleProductUpdate_productVariantUpdate_productVariant_costPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface SimpleProductUpdate_productVariantUpdate_productVariant_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface SimpleProductUpdate_productVariantUpdate_productVariant_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface SimpleProductUpdate_productVariantUpdate_productVariant_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface SimpleProductUpdate_productVariantUpdate_productVariant_product_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface SimpleProductUpdate_productVariantUpdate_productVariant_product_variants_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface SimpleProductUpdate_productVariantUpdate_productVariant_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;name: string;sku: string;- /**- * List of images for the product variant- */images: (SimpleProductUpdate_productVariantUpdate_productVariant_product_variants_images | null)[] | null;}export interface SimpleProductUpdate_productVariantUpdate_productVariant_product {__typename: "Product";- /**- * The ID of the object.- */id: string;- /**- * List of images for the product- */images: (SimpleProductUpdate_productVariantUpdate_productVariant_product_images | null)[] | null;name: string;- /**- * The main thumbnail for a product.- */thumbnail: SimpleProductUpdate_productVariantUpdate_productVariant_product_thumbnail | null;- /**- * List of variants for the product- */variants: (SimpleProductUpdate_productVariantUpdate_productVariant_product_variants | null)[] | null;}export interface SimpleProductUpdate_productVariantUpdate_productVariant {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;- /**- * List of attributes assigned to this variant.- */attributes: SimpleProductUpdate_productVariantUpdate_productVariant_attributes[];- /**- * Cost price of the variant.- */costPrice: SimpleProductUpdate_productVariantUpdate_productVariant_costPrice | null;- /**- * List of images for the product variant- */images: (SimpleProductUpdate_productVariantUpdate_productVariant_images | null)[] | null;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: SimpleProductUpdate_productVariantUpdate_productVariant_priceOverride | null;product: SimpleProductUpdate_productVariantUpdate_productVariant_product;sku: string;@@ -553,21 +283,12 @@ export interface SimpleProductUpdate_productVariantUpdate_productVariant {export interface SimpleProductUpdate_productVariantUpdate {__typename: "ProductVariantUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: SimpleProductUpdate_productVariantUpdate_errors[] | null;productVariant: SimpleProductUpdate_productVariantUpdate_productVariant | null;}export interface SimpleProductUpdate {- /**- * Updates an existing product.- */productUpdate: SimpleProductUpdate_productUpdate | null;- /**- * Updates an existing variant for product- */productVariantUpdate: SimpleProductUpdate_productVariantUpdate | null;}diff --git a/saleor/static/dashboard-next/products/types/VariantCreate.ts b/saleor/static/dashboard-next/products/types/VariantCreate.tsindex 34710eda6e..3c8d9f64c1 100644--- a/saleor/static/dashboard-next/products/types/VariantCreate.ts+++ b/saleor/static/dashboard-next/products/types/VariantCreate.ts@@ -10,211 +10,99 @@ import { AttributeValueInput } from "./../../types/globalTypes";export interface VariantCreate_productVariantCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface VariantCreate_productVariantCreate_productVariant_attributes_attribute_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface VariantCreate_productVariantCreate_productVariant_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (VariantCreate_productVariantCreate_productVariant_attributes_attribute_values | null)[] | null;}export interface VariantCreate_productVariantCreate_productVariant_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface VariantCreate_productVariantCreate_productVariant_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: VariantCreate_productVariantCreate_productVariant_attributes_attribute;- /**- * Value of an attribute.- */value: VariantCreate_productVariantCreate_productVariant_attributes_value;}export interface VariantCreate_productVariantCreate_productVariant_costPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface VariantCreate_productVariantCreate_productVariant_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface VariantCreate_productVariantCreate_productVariant_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface VariantCreate_productVariantCreate_productVariant_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface VariantCreate_productVariantCreate_productVariant_product_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface VariantCreate_productVariantCreate_productVariant_product_variants_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface VariantCreate_productVariantCreate_productVariant_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;name: string;sku: string;- /**- * List of images for the product variant- */images: (VariantCreate_productVariantCreate_productVariant_product_variants_images | null)[] | null;}export interface VariantCreate_productVariantCreate_productVariant_product {__typename: "Product";- /**- * The ID of the object.- */id: string;- /**- * List of images for the product- */images: (VariantCreate_productVariantCreate_productVariant_product_images | null)[] | null;name: string;- /**- * The main thumbnail for a product.- */thumbnail: VariantCreate_productVariantCreate_productVariant_product_thumbnail | null;- /**- * List of variants for the product- */variants: (VariantCreate_productVariantCreate_productVariant_product_variants | null)[] | null;}export interface VariantCreate_productVariantCreate_productVariant {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;- /**- * List of attributes assigned to this variant.- */attributes: VariantCreate_productVariantCreate_productVariant_attributes[];- /**- * Cost price of the variant.- */costPrice: VariantCreate_productVariantCreate_productVariant_costPrice | null;- /**- * List of images for the product variant- */images: (VariantCreate_productVariantCreate_productVariant_images | null)[] | null;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: VariantCreate_productVariantCreate_productVariant_priceOverride | null;product: VariantCreate_productVariantCreate_productVariant_product;sku: string;@@ -224,17 +112,11 @@ export interface VariantCreate_productVariantCreate_productVariant {export interface VariantCreate_productVariantCreate {__typename: "ProductVariantCreate";- /**- * List of errors that occurred executing the mutation.- */errors: VariantCreate_productVariantCreate_errors[] | null;productVariant: VariantCreate_productVariantCreate_productVariant | null;}export interface VariantCreate {- /**- * Creates a new variant for a product- */productVariantCreate: VariantCreate_productVariantCreate | null;}diff --git a/saleor/static/dashboard-next/products/types/VariantDelete.ts b/saleor/static/dashboard-next/products/types/VariantDelete.tsindex 2dad0b399a..7aceceb21e 100644--- a/saleor/static/dashboard-next/products/types/VariantDelete.ts+++ b/saleor/static/dashboard-next/products/types/VariantDelete.ts@@ -8,39 +8,22 @@export interface VariantDelete_productVariantDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface VariantDelete_productVariantDelete_productVariant {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;}export interface VariantDelete_productVariantDelete {__typename: "ProductVariantDelete";- /**- * List of errors that occurred executing the mutation.- */errors: VariantDelete_productVariantDelete_errors[] | null;productVariant: VariantDelete_productVariantDelete_productVariant | null;}export interface VariantDelete {- /**- * Deletes a product variant.- */productVariantDelete: VariantDelete_productVariantDelete | null;}diff --git a/saleor/static/dashboard-next/products/types/VariantImageAssign.ts b/saleor/static/dashboard-next/products/types/VariantImageAssign.tsindex 6ca4b3102c..dfc6bf05c3 100644--- a/saleor/static/dashboard-next/products/types/VariantImageAssign.ts+++ b/saleor/static/dashboard-next/products/types/VariantImageAssign.ts@@ -8,211 +8,99 @@export interface VariantImageAssign_variantImageAssign_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface VariantImageAssign_variantImageAssign_productVariant_attributes_attribute_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface VariantImageAssign_variantImageAssign_productVariant_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (VariantImageAssign_variantImageAssign_productVariant_attributes_attribute_values | null)[] | null;}export interface VariantImageAssign_variantImageAssign_productVariant_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface VariantImageAssign_variantImageAssign_productVariant_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: VariantImageAssign_variantImageAssign_productVariant_attributes_attribute;- /**- * Value of an attribute.- */value: VariantImageAssign_variantImageAssign_productVariant_attributes_value;}export interface VariantImageAssign_variantImageAssign_productVariant_costPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface VariantImageAssign_variantImageAssign_productVariant_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface VariantImageAssign_variantImageAssign_productVariant_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface VariantImageAssign_variantImageAssign_productVariant_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface VariantImageAssign_variantImageAssign_productVariant_product_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface VariantImageAssign_variantImageAssign_productVariant_product_variants_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface VariantImageAssign_variantImageAssign_productVariant_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;name: string;sku: string;- /**- * List of images for the product variant- */images: (VariantImageAssign_variantImageAssign_productVariant_product_variants_images | null)[] | null;}export interface VariantImageAssign_variantImageAssign_productVariant_product {__typename: "Product";- /**- * The ID of the object.- */id: string;- /**- * List of images for the product- */images: (VariantImageAssign_variantImageAssign_productVariant_product_images | null)[] | null;name: string;- /**- * The main thumbnail for a product.- */thumbnail: VariantImageAssign_variantImageAssign_productVariant_product_thumbnail | null;- /**- * List of variants for the product- */variants: (VariantImageAssign_variantImageAssign_productVariant_product_variants | null)[] | null;}export interface VariantImageAssign_variantImageAssign_productVariant {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;- /**- * List of attributes assigned to this variant.- */attributes: VariantImageAssign_variantImageAssign_productVariant_attributes[];- /**- * Cost price of the variant.- */costPrice: VariantImageAssign_variantImageAssign_productVariant_costPrice | null;- /**- * List of images for the product variant- */images: (VariantImageAssign_variantImageAssign_productVariant_images | null)[] | null;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: VariantImageAssign_variantImageAssign_productVariant_priceOverride | null;product: VariantImageAssign_variantImageAssign_productVariant_product;sku: string;@@ -222,17 +110,11 @@ export interface VariantImageAssign_variantImageAssign_productVariant {export interface VariantImageAssign_variantImageAssign {__typename: "VariantImageAssign";- /**- * List of errors that occurred executing the mutation.- */errors: VariantImageAssign_variantImageAssign_errors[] | null;productVariant: VariantImageAssign_variantImageAssign_productVariant | null;}export interface VariantImageAssign {- /**- * Assign an image to a product variant- */variantImageAssign: VariantImageAssign_variantImageAssign | null;}diff --git a/saleor/static/dashboard-next/products/types/VariantImageUnassign.ts b/saleor/static/dashboard-next/products/types/VariantImageUnassign.tsindex 5b7fbaa41a..420d03223a 100644--- a/saleor/static/dashboard-next/products/types/VariantImageUnassign.ts+++ b/saleor/static/dashboard-next/products/types/VariantImageUnassign.ts@@ -8,211 +8,99 @@export interface VariantImageUnassign_variantImageUnassign_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface VariantImageUnassign_variantImageUnassign_productVariant_attributes_attribute_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface VariantImageUnassign_variantImageUnassign_productVariant_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (VariantImageUnassign_variantImageUnassign_productVariant_attributes_attribute_values | null)[] | null;}export interface VariantImageUnassign_variantImageUnassign_productVariant_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface VariantImageUnassign_variantImageUnassign_productVariant_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: VariantImageUnassign_variantImageUnassign_productVariant_attributes_attribute;- /**- * Value of an attribute.- */value: VariantImageUnassign_variantImageUnassign_productVariant_attributes_value;}export interface VariantImageUnassign_variantImageUnassign_productVariant_costPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface VariantImageUnassign_variantImageUnassign_productVariant_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface VariantImageUnassign_variantImageUnassign_productVariant_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface VariantImageUnassign_variantImageUnassign_productVariant_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface VariantImageUnassign_variantImageUnassign_productVariant_product_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface VariantImageUnassign_variantImageUnassign_productVariant_product_variants_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface VariantImageUnassign_variantImageUnassign_productVariant_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;name: string;sku: string;- /**- * List of images for the product variant- */images: (VariantImageUnassign_variantImageUnassign_productVariant_product_variants_images | null)[] | null;}export interface VariantImageUnassign_variantImageUnassign_productVariant_product {__typename: "Product";- /**- * The ID of the object.- */id: string;- /**- * List of images for the product- */images: (VariantImageUnassign_variantImageUnassign_productVariant_product_images | null)[] | null;name: string;- /**- * The main thumbnail for a product.- */thumbnail: VariantImageUnassign_variantImageUnassign_productVariant_product_thumbnail | null;- /**- * List of variants for the product- */variants: (VariantImageUnassign_variantImageUnassign_productVariant_product_variants | null)[] | null;}export interface VariantImageUnassign_variantImageUnassign_productVariant {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;- /**- * List of attributes assigned to this variant.- */attributes: VariantImageUnassign_variantImageUnassign_productVariant_attributes[];- /**- * Cost price of the variant.- */costPrice: VariantImageUnassign_variantImageUnassign_productVariant_costPrice | null;- /**- * List of images for the product variant- */images: (VariantImageUnassign_variantImageUnassign_productVariant_images | null)[] | null;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: VariantImageUnassign_variantImageUnassign_productVariant_priceOverride | null;product: VariantImageUnassign_variantImageUnassign_productVariant_product;sku: string;@@ -222,17 +110,11 @@ export interface VariantImageUnassign_variantImageUnassign_productVariant {export interface VariantImageUnassign_variantImageUnassign {__typename: "VariantImageUnassign";- /**- * List of errors that occurred executing the mutation.- */errors: VariantImageUnassign_variantImageUnassign_errors[] | null;productVariant: VariantImageUnassign_variantImageUnassign_productVariant | null;}export interface VariantImageUnassign {- /**- * Unassign an image from a product variant- */variantImageUnassign: VariantImageUnassign_variantImageUnassign | null;}diff --git a/saleor/static/dashboard-next/products/types/VariantUpdate.ts b/saleor/static/dashboard-next/products/types/VariantUpdate.tsindex b87297e275..e979e4edfb 100644--- a/saleor/static/dashboard-next/products/types/VariantUpdate.ts+++ b/saleor/static/dashboard-next/products/types/VariantUpdate.ts@@ -10,211 +10,99 @@ import { AttributeValueInput } from "./../../types/globalTypes";export interface VariantUpdate_productVariantUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface VariantUpdate_productVariantUpdate_productVariant_attributes_attribute_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface VariantUpdate_productVariantUpdate_productVariant_attributes_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Internal representation of an attribute name.- */slug: string | null;- /**- * List of attribute's values.- */values: (VariantUpdate_productVariantUpdate_productVariant_attributes_attribute_values | null)[] | null;}export interface VariantUpdate_productVariantUpdate_productVariant_attributes_value {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Internal representation of a value (unique per attribute).- */slug: string | null;}export interface VariantUpdate_productVariantUpdate_productVariant_attributes {__typename: "SelectedAttribute";- /**- * Name of an attribute displayed in the interface.- */attribute: VariantUpdate_productVariantUpdate_productVariant_attributes_attribute;- /**- * Value of an attribute.- */value: VariantUpdate_productVariantUpdate_productVariant_attributes_value;}export interface VariantUpdate_productVariantUpdate_productVariant_costPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface VariantUpdate_productVariantUpdate_productVariant_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface VariantUpdate_productVariantUpdate_productVariant_priceOverride {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface VariantUpdate_productVariantUpdate_productVariant_product_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;alt: string;sortOrder: number | null;- /**- * The URL of the image.- */url: string;}export interface VariantUpdate_productVariantUpdate_productVariant_product_thumbnail {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface VariantUpdate_productVariantUpdate_productVariant_product_variants_images {__typename: "ProductImage";- /**- * The ID of the object.- */id: string;- /**- * The URL of the image.- */url: string;}export interface VariantUpdate_productVariantUpdate_productVariant_product_variants {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;name: string;sku: string;- /**- * List of images for the product variant- */images: (VariantUpdate_productVariantUpdate_productVariant_product_variants_images | null)[] | null;}export interface VariantUpdate_productVariantUpdate_productVariant_product {__typename: "Product";- /**- * The ID of the object.- */id: string;- /**- * List of images for the product- */images: (VariantUpdate_productVariantUpdate_productVariant_product_images | null)[] | null;name: string;- /**- * The main thumbnail for a product.- */thumbnail: VariantUpdate_productVariantUpdate_productVariant_product_thumbnail | null;- /**- * List of variants for the product- */variants: (VariantUpdate_productVariantUpdate_productVariant_product_variants | null)[] | null;}export interface VariantUpdate_productVariantUpdate_productVariant {__typename: "ProductVariant";- /**- * The ID of the object.- */id: string;- /**- * List of attributes assigned to this variant.- */attributes: VariantUpdate_productVariantUpdate_productVariant_attributes[];- /**- * Cost price of the variant.- */costPrice: VariantUpdate_productVariantUpdate_productVariant_costPrice | null;- /**- * List of images for the product variant- */images: (VariantUpdate_productVariantUpdate_productVariant_images | null)[] | null;name: string;- /**- * Override the base price of a product if necessary.- * A value of `null` indicates that the default product- * price is used.- */priceOverride: VariantUpdate_productVariantUpdate_productVariant_priceOverride | null;product: VariantUpdate_productVariantUpdate_productVariant_product;sku: string;@@ -224,17 +112,11 @@ export interface VariantUpdate_productVariantUpdate_productVariant {export interface VariantUpdate_productVariantUpdate {__typename: "ProductVariantUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: VariantUpdate_productVariantUpdate_errors[] | null;productVariant: VariantUpdate_productVariantUpdate_productVariant | null;}export interface VariantUpdate {- /**- * Updates an existing variant for product- */productVariantUpdate: VariantUpdate_productVariantUpdate | null;}diff --git a/saleor/static/dashboard-next/products/types/productBulkDelete.ts b/saleor/static/dashboard-next/products/types/productBulkDelete.tsindex 05c5f8e16a..51f2e18707 100644--- a/saleor/static/dashboard-next/products/types/productBulkDelete.ts+++ b/saleor/static/dashboard-next/products/types/productBulkDelete.ts@@ -8,30 +8,16 @@export interface productBulkDelete_productBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface productBulkDelete_productBulkDelete {__typename: "ProductBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: productBulkDelete_productBulkDelete_errors[] | null;}export interface productBulkDelete {- /**- * Deletes products.- */productBulkDelete: productBulkDelete_productBulkDelete | null;}diff --git a/saleor/static/dashboard-next/products/types/productBulkPublish.ts b/saleor/static/dashboard-next/products/types/productBulkPublish.tsindex 58086bbbad..2fc3585887 100644--- a/saleor/static/dashboard-next/products/types/productBulkPublish.ts+++ b/saleor/static/dashboard-next/products/types/productBulkPublish.ts@@ -8,30 +8,16 @@export interface productBulkPublish_productBulkPublish_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface productBulkPublish_productBulkPublish {__typename: "ProductBulkPublish";- /**- * List of errors that occurred executing the mutation.- */errors: productBulkPublish_productBulkPublish_errors[] | null;}export interface productBulkPublish {- /**- * Publish products.- */productBulkPublish: productBulkPublish_productBulkPublish | null;}diff --git a/saleor/static/dashboard-next/shipping/types/BulkDeleteShippingRate.ts b/saleor/static/dashboard-next/shipping/types/BulkDeleteShippingRate.tsindex 7ddfcb653a..f6e9585998 100644--- a/saleor/static/dashboard-next/shipping/types/BulkDeleteShippingRate.ts+++ b/saleor/static/dashboard-next/shipping/types/BulkDeleteShippingRate.ts@@ -8,30 +8,16 @@export interface BulkDeleteShippingRate_shippingPriceBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface BulkDeleteShippingRate_shippingPriceBulkDelete {__typename: "ShippingPriceBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: BulkDeleteShippingRate_shippingPriceBulkDelete_errors[] | null;}export interface BulkDeleteShippingRate {- /**- * Deletes shipping prices.- */shippingPriceBulkDelete: BulkDeleteShippingRate_shippingPriceBulkDelete | null;}diff --git a/saleor/static/dashboard-next/shipping/types/BulkDeleteShippingZone.ts b/saleor/static/dashboard-next/shipping/types/BulkDeleteShippingZone.tsindex c4fcacc40c..38f30216d5 100644--- a/saleor/static/dashboard-next/shipping/types/BulkDeleteShippingZone.ts+++ b/saleor/static/dashboard-next/shipping/types/BulkDeleteShippingZone.ts@@ -8,30 +8,16 @@export interface BulkDeleteShippingZone_shippingZoneBulkDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface BulkDeleteShippingZone_shippingZoneBulkDelete {__typename: "ShippingZoneBulkDelete";- /**- * List of errors that occurred executing the mutation.- */errors: BulkDeleteShippingZone_shippingZoneBulkDelete_errors[] | null;}export interface BulkDeleteShippingZone {- /**- * Deletes shipping zones.- */shippingZoneBulkDelete: BulkDeleteShippingZone_shippingZoneBulkDelete | null;}diff --git a/saleor/static/dashboard-next/shipping/types/CreateShippingRate.ts b/saleor/static/dashboard-next/shipping/types/CreateShippingRate.tsindex ffa6fc808b..0d1326c9c4 100644--- a/saleor/static/dashboard-next/shipping/types/CreateShippingRate.ts+++ b/saleor/static/dashboard-next/shipping/types/CreateShippingRate.ts@@ -10,95 +10,48 @@ import { ShippingPriceInput, ShippingMethodTypeEnum } from "./../../types/globalexport interface CreateShippingRate_shippingPriceCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CreateShippingRate_shippingPriceCreate_shippingZone_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_minimumOrderPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_minimumOrderWeight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_maximumOrderPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_maximumOrderWeight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;minimumOrderPrice: CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_minimumOrderPrice | null;minimumOrderWeight: CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_minimumOrderWeight | null;@@ -106,46 +59,25 @@ export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMetmaximumOrderWeight: CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_maximumOrderWeight | null;name: string;price: CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_price | null;- /**- * Type of the shipping method.- */type: ShippingMethodTypeEnum | null;}export interface CreateShippingRate_shippingPriceCreate_shippingZone {__typename: "ShippingZone";- /**- * The ID of the object.- */id: string;- /**- * List of countries available for the method.- */countries: (CreateShippingRate_shippingPriceCreate_shippingZone_countries | null)[] | null;name: string;default: boolean;- /**- * List of shipping methods available for orders shipped to countries within this shipping zone.- */shippingMethods: (CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods | null)[] | null;}export interface CreateShippingRate_shippingPriceCreate {__typename: "ShippingPriceCreate";- /**- * List of errors that occurred executing the mutation.- */errors: CreateShippingRate_shippingPriceCreate_errors[] | null;- /**- * A shipping zone to which the shipping method belongs.- */shippingZone: CreateShippingRate_shippingPriceCreate_shippingZone | null;}export interface CreateShippingRate {- /**- * Creates a new shipping price.- */shippingPriceCreate: CreateShippingRate_shippingPriceCreate | null;}diff --git a/saleor/static/dashboard-next/shipping/types/CreateShippingZone.ts b/saleor/static/dashboard-next/shipping/types/CreateShippingZone.tsindex f0d170faea..e82ba553ec 100644--- a/saleor/static/dashboard-next/shipping/types/CreateShippingZone.ts+++ b/saleor/static/dashboard-next/shipping/types/CreateShippingZone.ts@@ -10,57 +10,31 @@ import { ShippingZoneInput } from "./../../types/globalTypes";export interface CreateShippingZone_shippingZoneCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface CreateShippingZone_shippingZoneCreate_shippingZone_countries {__typename: "CountryDisplay";- /**- * Country name.- */country: string;- /**- * Country code.- */code: string;}export interface CreateShippingZone_shippingZoneCreate_shippingZone {__typename: "ShippingZone";- /**- * List of countries available for the method.- */countries: (CreateShippingZone_shippingZoneCreate_shippingZone_countries | null)[] | null;default: boolean;- /**- * The ID of the object.- */id: string;name: string;}export interface CreateShippingZone_shippingZoneCreate {__typename: "ShippingZoneCreate";- /**- * List of errors that occurred executing the mutation.- */errors: CreateShippingZone_shippingZoneCreate_errors[] | null;shippingZone: CreateShippingZone_shippingZoneCreate_shippingZone | null;}export interface CreateShippingZone {- /**- * Creates a new shipping zone.- */shippingZoneCreate: CreateShippingZone_shippingZoneCreate | null;}diff --git a/saleor/static/dashboard-next/shipping/types/DeleteShippingRate.ts b/saleor/static/dashboard-next/shipping/types/DeleteShippingRate.tsindex 8cf60dcc73..cc37e44e28 100644--- a/saleor/static/dashboard-next/shipping/types/DeleteShippingRate.ts+++ b/saleor/static/dashboard-next/shipping/types/DeleteShippingRate.ts@@ -10,95 +10,48 @@ import { ShippingMethodTypeEnum } from "./../../types/globalTypes";export interface DeleteShippingRate_shippingPriceDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface DeleteShippingRate_shippingPriceDelete_shippingZone_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_minimumOrderPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_minimumOrderWeight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_maximumOrderPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_maximumOrderWeight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;minimumOrderPrice: DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_minimumOrderPrice | null;minimumOrderWeight: DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_minimumOrderWeight | null;@@ -106,46 +59,25 @@ export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMetmaximumOrderWeight: DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_maximumOrderWeight | null;name: string;price: DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_price | null;- /**- * Type of the shipping method.- */type: ShippingMethodTypeEnum | null;}export interface DeleteShippingRate_shippingPriceDelete_shippingZone {__typename: "ShippingZone";- /**- * The ID of the object.- */id: string;- /**- * List of countries available for the method.- */countries: (DeleteShippingRate_shippingPriceDelete_shippingZone_countries | null)[] | null;name: string;default: boolean;- /**- * List of shipping methods available for orders shipped to countries within this shipping zone.- */shippingMethods: (DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods | null)[] | null;}export interface DeleteShippingRate_shippingPriceDelete {__typename: "ShippingPriceDelete";- /**- * List of errors that occurred executing the mutation.- */errors: DeleteShippingRate_shippingPriceDelete_errors[] | null;- /**- * A shipping zone to which the shipping method belongs.- */shippingZone: DeleteShippingRate_shippingPriceDelete_shippingZone | null;}export interface DeleteShippingRate {- /**- * Deletes a shipping price.- */shippingPriceDelete: DeleteShippingRate_shippingPriceDelete | null;}diff --git a/saleor/static/dashboard-next/shipping/types/DeleteShippingZone.ts b/saleor/static/dashboard-next/shipping/types/DeleteShippingZone.tsindex 4af4851d85..5f1cbb1761 100644--- a/saleor/static/dashboard-next/shipping/types/DeleteShippingZone.ts+++ b/saleor/static/dashboard-next/shipping/types/DeleteShippingZone.ts@@ -8,30 +8,16 @@export interface DeleteShippingZone_shippingZoneDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface DeleteShippingZone_shippingZoneDelete {__typename: "ShippingZoneDelete";- /**- * List of errors that occurred executing the mutation.- */errors: DeleteShippingZone_shippingZoneDelete_errors[] | null;}export interface DeleteShippingZone {- /**- * Deletes a shipping zone.- */shippingZoneDelete: DeleteShippingZone_shippingZoneDelete | null;}diff --git a/saleor/static/dashboard-next/shipping/types/ShippingMethodFragment.ts b/saleor/static/dashboard-next/shipping/types/ShippingMethodFragment.tsindex 8d99d1c858..0c33ded594 100644--- a/saleor/static/dashboard-next/shipping/types/ShippingMethodFragment.ts+++ b/saleor/static/dashboard-next/shipping/types/ShippingMethodFragment.ts@@ -10,69 +10,36 @@ import { ShippingMethodTypeEnum } from "./../../types/globalTypes";export interface ShippingMethodFragment_minimumOrderPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ShippingMethodFragment_minimumOrderWeight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface ShippingMethodFragment_maximumOrderPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ShippingMethodFragment_maximumOrderWeight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface ShippingMethodFragment_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ShippingMethodFragment {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;minimumOrderPrice: ShippingMethodFragment_minimumOrderPrice | null;minimumOrderWeight: ShippingMethodFragment_minimumOrderWeight | null;@@ -80,8 +47,5 @@ export interface ShippingMethodFragment {maximumOrderWeight: ShippingMethodFragment_maximumOrderWeight | null;name: string;price: ShippingMethodFragment_price | null;- /**- * Type of the shipping method.- */type: ShippingMethodTypeEnum | null;}diff --git a/saleor/static/dashboard-next/shipping/types/ShippingZone.ts b/saleor/static/dashboard-next/shipping/types/ShippingZone.tsindex 677d267ad6..7b8dc090bb 100644--- a/saleor/static/dashboard-next/shipping/types/ShippingZone.ts+++ b/saleor/static/dashboard-next/shipping/types/ShippingZone.ts@@ -10,81 +10,42 @@ import { ShippingMethodTypeEnum } from "./../../types/globalTypes";export interface ShippingZone_shippingZone_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface ShippingZone_shippingZone_shippingMethods_minimumOrderPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ShippingZone_shippingZone_shippingMethods_minimumOrderWeight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface ShippingZone_shippingZone_shippingMethods_maximumOrderPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ShippingZone_shippingZone_shippingMethods_maximumOrderWeight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface ShippingZone_shippingZone_shippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ShippingZone_shippingZone_shippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;minimumOrderPrice: ShippingZone_shippingZone_shippingMethods_minimumOrderPrice | null;minimumOrderWeight: ShippingZone_shippingZone_shippingMethods_minimumOrderWeight | null;@@ -92,34 +53,19 @@ export interface ShippingZone_shippingZone_shippingMethods {maximumOrderWeight: ShippingZone_shippingZone_shippingMethods_maximumOrderWeight | null;name: string;price: ShippingZone_shippingZone_shippingMethods_price | null;- /**- * Type of the shipping method.- */type: ShippingMethodTypeEnum | null;}export interface ShippingZone_shippingZone {__typename: "ShippingZone";- /**- * The ID of the object.- */id: string;- /**- * List of countries available for the method.- */countries: (ShippingZone_shippingZone_countries | null)[] | null;name: string;default: boolean;- /**- * List of shipping methods available for orders shipped to countries within this shipping zone.- */shippingMethods: (ShippingZone_shippingZone_shippingMethods | null)[] | null;}export interface ShippingZone {- /**- * Lookup a shipping zone by ID.- */shippingZone: ShippingZone_shippingZone | null;}diff --git a/saleor/static/dashboard-next/shipping/types/ShippingZoneDetailsFragment.ts b/saleor/static/dashboard-next/shipping/types/ShippingZoneDetailsFragment.tsindex bbc9ff9fd5..981e085a95 100644--- a/saleor/static/dashboard-next/shipping/types/ShippingZoneDetailsFragment.ts+++ b/saleor/static/dashboard-next/shipping/types/ShippingZoneDetailsFragment.ts@@ -10,81 +10,42 @@ import { ShippingMethodTypeEnum } from "./../../types/globalTypes";export interface ShippingZoneDetailsFragment_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface ShippingZoneDetailsFragment_shippingMethods_minimumOrderPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ShippingZoneDetailsFragment_shippingMethods_minimumOrderWeight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface ShippingZoneDetailsFragment_shippingMethods_maximumOrderPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ShippingZoneDetailsFragment_shippingMethods_maximumOrderWeight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface ShippingZoneDetailsFragment_shippingMethods_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface ShippingZoneDetailsFragment_shippingMethods {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;minimumOrderPrice: ShippingZoneDetailsFragment_shippingMethods_minimumOrderPrice | null;minimumOrderWeight: ShippingZoneDetailsFragment_shippingMethods_minimumOrderWeight | null;@@ -92,26 +53,14 @@ export interface ShippingZoneDetailsFragment_shippingMethods {maximumOrderWeight: ShippingZoneDetailsFragment_shippingMethods_maximumOrderWeight | null;name: string;price: ShippingZoneDetailsFragment_shippingMethods_price | null;- /**- * Type of the shipping method.- */type: ShippingMethodTypeEnum | null;}export interface ShippingZoneDetailsFragment {__typename: "ShippingZone";- /**- * The ID of the object.- */id: string;- /**- * List of countries available for the method.- */countries: (ShippingZoneDetailsFragment_countries | null)[] | null;name: string;default: boolean;- /**- * List of shipping methods available for orders shipped to countries within this shipping zone.- */shippingMethods: (ShippingZoneDetailsFragment_shippingMethods | null)[] | null;}diff --git a/saleor/static/dashboard-next/shipping/types/ShippingZoneFragment.ts b/saleor/static/dashboard-next/shipping/types/ShippingZoneFragment.tsindex 331413cbd0..c5523d4188 100644--- a/saleor/static/dashboard-next/shipping/types/ShippingZoneFragment.ts+++ b/saleor/static/dashboard-next/shipping/types/ShippingZoneFragment.ts@@ -8,25 +8,13 @@export interface ShippingZoneFragment_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface ShippingZoneFragment {__typename: "ShippingZone";- /**- * The ID of the object.- */id: string;- /**- * List of countries available for the method.- */countries: (ShippingZoneFragment_countries | null)[] | null;name: string;}diff --git a/saleor/static/dashboard-next/shipping/types/ShippingZones.ts b/saleor/static/dashboard-next/shipping/types/ShippingZones.tsindex ecea31a7fe..fc56f06d93 100644--- a/saleor/static/dashboard-next/shipping/types/ShippingZones.ts+++ b/saleor/static/dashboard-next/shipping/types/ShippingZones.ts@@ -8,70 +8,37 @@export interface ShippingZones_shippingZones_edges_node_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface ShippingZones_shippingZones_edges_node {__typename: "ShippingZone";- /**- * The ID of the object.- */id: string;- /**- * List of countries available for the method.- */countries: (ShippingZones_shippingZones_edges_node_countries | null)[] | null;name: string;}export interface ShippingZones_shippingZones_edges {__typename: "ShippingZoneCountableEdge";- /**- * The item at the end of the edge- */node: ShippingZones_shippingZones_edges_node;}export interface ShippingZones_shippingZones_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface ShippingZones_shippingZones {__typename: "ShippingZoneCountableConnection";edges: ShippingZones_shippingZones_edges[];- /**- * Pagination data for this connection.- */pageInfo: ShippingZones_shippingZones_pageInfo;}export interface ShippingZones {- /**- * List of the shop's shipping zones.- */shippingZones: ShippingZones_shippingZones | null;}diff --git a/saleor/static/dashboard-next/shipping/types/UpdateDefaultWeightUnit.ts b/saleor/static/dashboard-next/shipping/types/UpdateDefaultWeightUnit.tsindex 6b373cee28..b24aab1ab0 100644--- a/saleor/static/dashboard-next/shipping/types/UpdateDefaultWeightUnit.ts+++ b/saleor/static/dashboard-next/shipping/types/UpdateDefaultWeightUnit.ts@@ -10,42 +10,22 @@ import { WeightUnitsEnum } from "./../../types/globalTypes";export interface UpdateDefaultWeightUnit_shopSettingsUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateDefaultWeightUnit_shopSettingsUpdate_shop {__typename: "Shop";- /**- * Default weight unit- */defaultWeightUnit: WeightUnitsEnum | null;}export interface UpdateDefaultWeightUnit_shopSettingsUpdate {__typename: "ShopSettingsUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateDefaultWeightUnit_shopSettingsUpdate_errors[] | null;- /**- * Updated Shop- */shop: UpdateDefaultWeightUnit_shopSettingsUpdate_shop | null;}export interface UpdateDefaultWeightUnit {- /**- * Updates shop settings- */shopSettingsUpdate: UpdateDefaultWeightUnit_shopSettingsUpdate | null;}diff --git a/saleor/static/dashboard-next/shipping/types/UpdateShippingRate.ts b/saleor/static/dashboard-next/shipping/types/UpdateShippingRate.tsindex 39d8a18a8f..70f1ad65c5 100644--- a/saleor/static/dashboard-next/shipping/types/UpdateShippingRate.ts+++ b/saleor/static/dashboard-next/shipping/types/UpdateShippingRate.ts@@ -10,83 +10,42 @@ import { ShippingPriceInput, ShippingMethodTypeEnum } from "./../../types/globalexport interface UpdateShippingRate_shippingPriceUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod_minimumOrderPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod_minimumOrderWeight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod_maximumOrderPrice {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod_maximumOrderWeight {__typename: "Weight";- /**- * Weight unit- */unit: string;- /**- * Weight value- */value: number;}export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod_price {__typename: "Money";- /**- * Amount of money.- */amount: number;- /**- * Currency code.- */currency: string;}export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;minimumOrderPrice: UpdateShippingRate_shippingPriceUpdate_shippingMethod_minimumOrderPrice | null;minimumOrderWeight: UpdateShippingRate_shippingPriceUpdate_shippingMethod_minimumOrderWeight | null;@@ -94,25 +53,16 @@ export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod {maximumOrderWeight: UpdateShippingRate_shippingPriceUpdate_shippingMethod_maximumOrderWeight | null;name: string;price: UpdateShippingRate_shippingPriceUpdate_shippingMethod_price | null;- /**- * Type of the shipping method.- */type: ShippingMethodTypeEnum | null;}export interface UpdateShippingRate_shippingPriceUpdate {__typename: "ShippingPriceUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateShippingRate_shippingPriceUpdate_errors[] | null;shippingMethod: UpdateShippingRate_shippingPriceUpdate_shippingMethod | null;}export interface UpdateShippingRate {- /**- * Updates a new shipping price.- */shippingPriceUpdate: UpdateShippingRate_shippingPriceUpdate | null;}diff --git a/saleor/static/dashboard-next/shipping/types/UpdateShippingZone.ts b/saleor/static/dashboard-next/shipping/types/UpdateShippingZone.tsindex 510433c340..f6ef4621c2 100644--- a/saleor/static/dashboard-next/shipping/types/UpdateShippingZone.ts+++ b/saleor/static/dashboard-next/shipping/types/UpdateShippingZone.ts@@ -10,57 +10,31 @@ import { ShippingZoneInput } from "./../../types/globalTypes";export interface UpdateShippingZone_shippingZoneUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateShippingZone_shippingZoneUpdate_shippingZone_countries {__typename: "CountryDisplay";- /**- * Country name.- */country: string;- /**- * Country code.- */code: string;}export interface UpdateShippingZone_shippingZoneUpdate_shippingZone {__typename: "ShippingZone";- /**- * List of countries available for the method.- */countries: (UpdateShippingZone_shippingZoneUpdate_shippingZone_countries | null)[] | null;default: boolean;- /**- * The ID of the object.- */id: string;name: string;}export interface UpdateShippingZone_shippingZoneUpdate {__typename: "ShippingZoneUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateShippingZone_shippingZoneUpdate_errors[] | null;shippingZone: UpdateShippingZone_shippingZoneUpdate_shippingZone | null;}export interface UpdateShippingZone {- /**- * Updates a new shipping zone.- */shippingZoneUpdate: UpdateShippingZone_shippingZoneUpdate | null;}diff --git a/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyAdd.ts b/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyAdd.tsindex 8201705bbf..a326a9cca7 100644--- a/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyAdd.ts+++ b/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyAdd.ts@@ -10,39 +10,19 @@ import { AuthorizationKeyInput, AuthorizationKeyType } from "./../../types/globaexport interface AuthorizationKeyAdd_authorizationKeyAdd_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface AuthorizationKeyAdd_authorizationKeyAdd_shop_authorizationKeys {__typename: "AuthorizationKey";- /**- * Authorization key (client ID).- */key: string;- /**- * Name of the authorization backend.- */name: AuthorizationKeyType;}export interface AuthorizationKeyAdd_authorizationKeyAdd_shop_companyAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -51,15 +31,9 @@ export interface AuthorizationKeyAdd_authorizationKeyAdd_shop_companyAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: AuthorizationKeyAdd_authorizationKeyAdd_shop_companyAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -70,70 +44,32 @@ export interface AuthorizationKeyAdd_authorizationKeyAdd_shop_companyAddress {export interface AuthorizationKeyAdd_authorizationKeyAdd_shop_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface AuthorizationKeyAdd_authorizationKeyAdd_shop_domain {__typename: "Domain";- /**- * The host name of the domain.- */host: string;}export interface AuthorizationKeyAdd_authorizationKeyAdd_shop {__typename: "Shop";- /**- * List of configured authorization keys. Authorization- * keys are used to enable third party OAuth authorization- * (currently Facebook or Google).- */authorizationKeys: (AuthorizationKeyAdd_authorizationKeyAdd_shop_authorizationKeys | null)[];- /**- * Company address- */companyAddress: AuthorizationKeyAdd_authorizationKeyAdd_shop_companyAddress | null;- /**- * List of countries available in the shop.- */countries: (AuthorizationKeyAdd_authorizationKeyAdd_shop_countries | null)[];- /**- * Shop's description.- */description: string | null;- /**- * Shop's domain data.- */domain: AuthorizationKeyAdd_authorizationKeyAdd_shop_domain;- /**- * Shop's name.- */name: string;}export interface AuthorizationKeyAdd_authorizationKeyAdd {__typename: "AuthorizationKeyAdd";- /**- * List of errors that occurred executing the mutation.- */errors: AuthorizationKeyAdd_authorizationKeyAdd_errors[] | null;- /**- * Updated Shop- */shop: AuthorizationKeyAdd_authorizationKeyAdd_shop | null;}export interface AuthorizationKeyAdd {- /**- * Adds an authorization key.- */authorizationKeyAdd: AuthorizationKeyAdd_authorizationKeyAdd | null;}diff --git a/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyDelete.ts b/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyDelete.tsindex 847e0281cd..024e7f5998 100644--- a/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyDelete.ts+++ b/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyDelete.ts@@ -10,39 +10,19 @@ import { AuthorizationKeyType } from "./../../types/globalTypes";export interface AuthorizationKeyDelete_authorizationKeyDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface AuthorizationKeyDelete_authorizationKeyDelete_shop_authorizationKeys {__typename: "AuthorizationKey";- /**- * Authorization key (client ID).- */key: string;- /**- * Name of the authorization backend.- */name: AuthorizationKeyType;}export interface AuthorizationKeyDelete_authorizationKeyDelete_shop_companyAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -51,15 +31,9 @@ export interface AuthorizationKeyDelete_authorizationKeyDelete_shop_companyAddrecity: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: AuthorizationKeyDelete_authorizationKeyDelete_shop_companyAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -70,70 +44,32 @@ export interface AuthorizationKeyDelete_authorizationKeyDelete_shop_companyAddreexport interface AuthorizationKeyDelete_authorizationKeyDelete_shop_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface AuthorizationKeyDelete_authorizationKeyDelete_shop_domain {__typename: "Domain";- /**- * The host name of the domain.- */host: string;}export interface AuthorizationKeyDelete_authorizationKeyDelete_shop {__typename: "Shop";- /**- * List of configured authorization keys. Authorization- * keys are used to enable third party OAuth authorization- * (currently Facebook or Google).- */authorizationKeys: (AuthorizationKeyDelete_authorizationKeyDelete_shop_authorizationKeys | null)[];- /**- * Company address- */companyAddress: AuthorizationKeyDelete_authorizationKeyDelete_shop_companyAddress | null;- /**- * List of countries available in the shop.- */countries: (AuthorizationKeyDelete_authorizationKeyDelete_shop_countries | null)[];- /**- * Shop's description.- */description: string | null;- /**- * Shop's domain data.- */domain: AuthorizationKeyDelete_authorizationKeyDelete_shop_domain;- /**- * Shop's name.- */name: string;}export interface AuthorizationKeyDelete_authorizationKeyDelete {__typename: "AuthorizationKeyDelete";- /**- * List of errors that occurred executing the mutation.- */errors: AuthorizationKeyDelete_authorizationKeyDelete_errors[] | null;- /**- * Updated Shop- */shop: AuthorizationKeyDelete_authorizationKeyDelete_shop | null;}export interface AuthorizationKeyDelete {- /**- * Deletes an authorization key.- */authorizationKeyDelete: AuthorizationKeyDelete_authorizationKeyDelete | null;}diff --git a/saleor/static/dashboard-next/siteSettings/types/ShopFragment.ts b/saleor/static/dashboard-next/siteSettings/types/ShopFragment.tsindex 52b30cb63c..d27566ab8c 100644--- a/saleor/static/dashboard-next/siteSettings/types/ShopFragment.ts+++ b/saleor/static/dashboard-next/siteSettings/types/ShopFragment.ts@@ -10,25 +10,13 @@ import { AuthorizationKeyType } from "./../../types/globalTypes";export interface ShopFragment_authorizationKeys {__typename: "AuthorizationKey";- /**- * Authorization key (client ID).- */key: string;- /**- * Name of the authorization backend.- */name: AuthorizationKeyType;}export interface ShopFragment_companyAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -37,15 +25,9 @@ export interface ShopFragment_companyAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: ShopFragment_companyAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -56,50 +38,21 @@ export interface ShopFragment_companyAddress {export interface ShopFragment_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface ShopFragment_domain {__typename: "Domain";- /**- * The host name of the domain.- */host: string;}export interface ShopFragment {__typename: "Shop";- /**- * List of configured authorization keys. Authorization- * keys are used to enable third party OAuth authorization- * (currently Facebook or Google).- */authorizationKeys: (ShopFragment_authorizationKeys | null)[];- /**- * Company address- */companyAddress: ShopFragment_companyAddress | null;- /**- * List of countries available in the shop.- */countries: (ShopFragment_countries | null)[];- /**- * Shop's description.- */description: string | null;- /**- * Shop's domain data.- */domain: ShopFragment_domain;- /**- * Shop's name.- */name: string;}diff --git a/saleor/static/dashboard-next/siteSettings/types/ShopSettingsUpdate.ts b/saleor/static/dashboard-next/siteSettings/types/ShopSettingsUpdate.tsindex 7c306a0362..2fa80ac0d7 100644--- a/saleor/static/dashboard-next/siteSettings/types/ShopSettingsUpdate.ts+++ b/saleor/static/dashboard-next/siteSettings/types/ShopSettingsUpdate.ts@@ -10,39 +10,19 @@ import { SiteDomainInput, ShopSettingsInput, AddressInput, AuthorizationKeyTypeexport interface ShopSettingsUpdate_shopSettingsUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ShopSettingsUpdate_shopSettingsUpdate_shop_authorizationKeys {__typename: "AuthorizationKey";- /**- * Authorization key (client ID).- */key: string;- /**- * Name of the authorization backend.- */name: AuthorizationKeyType;}export interface ShopSettingsUpdate_shopSettingsUpdate_shop_companyAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -51,15 +31,9 @@ export interface ShopSettingsUpdate_shopSettingsUpdate_shop_companyAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: ShopSettingsUpdate_shopSettingsUpdate_shop_companyAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -70,135 +44,63 @@ export interface ShopSettingsUpdate_shopSettingsUpdate_shop_companyAddress {export interface ShopSettingsUpdate_shopSettingsUpdate_shop_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface ShopSettingsUpdate_shopSettingsUpdate_shop_domain {__typename: "Domain";- /**- * The host name of the domain.- */host: string;}export interface ShopSettingsUpdate_shopSettingsUpdate_shop {__typename: "Shop";- /**- * List of configured authorization keys. Authorization- * keys are used to enable third party OAuth authorization- * (currently Facebook or Google).- */authorizationKeys: (ShopSettingsUpdate_shopSettingsUpdate_shop_authorizationKeys | null)[];- /**- * Company address- */companyAddress: ShopSettingsUpdate_shopSettingsUpdate_shop_companyAddress | null;- /**- * List of countries available in the shop.- */countries: (ShopSettingsUpdate_shopSettingsUpdate_shop_countries | null)[];- /**- * Shop's description.- */description: string | null;- /**- * Shop's domain data.- */domain: ShopSettingsUpdate_shopSettingsUpdate_shop_domain;- /**- * Shop's name.- */name: string;}export interface ShopSettingsUpdate_shopSettingsUpdate {__typename: "ShopSettingsUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: ShopSettingsUpdate_shopSettingsUpdate_errors[] | null;- /**- * Updated Shop- */shop: ShopSettingsUpdate_shopSettingsUpdate_shop | null;}export interface ShopSettingsUpdate_shopDomainUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ShopSettingsUpdate_shopDomainUpdate_shop_domain {__typename: "Domain";- /**- * The host name of the domain.- */host: string;- /**- * Shop's absolute URL.- */url: string;}export interface ShopSettingsUpdate_shopDomainUpdate_shop {__typename: "Shop";- /**- * Shop's domain data.- */domain: ShopSettingsUpdate_shopDomainUpdate_shop_domain;}export interface ShopSettingsUpdate_shopDomainUpdate {__typename: "ShopDomainUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: ShopSettingsUpdate_shopDomainUpdate_errors[] | null;- /**- * Updated Shop- */shop: ShopSettingsUpdate_shopDomainUpdate_shop | null;}export interface ShopSettingsUpdate_shopAddressUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface ShopSettingsUpdate_shopAddressUpdate_shop_companyAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -207,15 +109,9 @@ export interface ShopSettingsUpdate_shopAddressUpdate_shop_companyAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: ShopSettingsUpdate_shopAddressUpdate_shop_companyAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -226,36 +122,18 @@ export interface ShopSettingsUpdate_shopAddressUpdate_shop_companyAddress {export interface ShopSettingsUpdate_shopAddressUpdate_shop {__typename: "Shop";- /**- * Company address- */companyAddress: ShopSettingsUpdate_shopAddressUpdate_shop_companyAddress | null;}export interface ShopSettingsUpdate_shopAddressUpdate {__typename: "ShopAddressUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: ShopSettingsUpdate_shopAddressUpdate_errors[] | null;- /**- * Updated Shop- */shop: ShopSettingsUpdate_shopAddressUpdate_shop | null;}export interface ShopSettingsUpdate {- /**- * Updates shop settings- */shopSettingsUpdate: ShopSettingsUpdate_shopSettingsUpdate | null;- /**- * Updates site domain of the shop- */shopDomainUpdate: ShopSettingsUpdate_shopDomainUpdate | null;- /**- * Update shop address- */shopAddressUpdate: ShopSettingsUpdate_shopAddressUpdate | null;}diff --git a/saleor/static/dashboard-next/siteSettings/types/SiteSettings.ts b/saleor/static/dashboard-next/siteSettings/types/SiteSettings.tsindex 109cdd7c45..ee049f7385 100644--- a/saleor/static/dashboard-next/siteSettings/types/SiteSettings.ts+++ b/saleor/static/dashboard-next/siteSettings/types/SiteSettings.ts@@ -10,25 +10,13 @@ import { AuthorizationKeyType } from "./../../types/globalTypes";export interface SiteSettings_shop_authorizationKeys {__typename: "AuthorizationKey";- /**- * Authorization key (client ID).- */key: string;- /**- * Name of the authorization backend.- */name: AuthorizationKeyType;}export interface SiteSettings_shop_companyAddress_country {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}@@ -37,15 +25,9 @@ export interface SiteSettings_shop_companyAddress {city: string;cityArea: string;companyName: string;- /**- * Default shop's country- */country: SiteSettings_shop_companyAddress_country;countryArea: string;firstName: string;- /**- * The ID of the object.- */id: string;lastName: string;phone: string | null;@@ -56,57 +38,25 @@ export interface SiteSettings_shop_companyAddress {export interface SiteSettings_shop_countries {__typename: "CountryDisplay";- /**- * Country code.- */code: string;- /**- * Country name.- */country: string;}export interface SiteSettings_shop_domain {__typename: "Domain";- /**- * The host name of the domain.- */host: string;}export interface SiteSettings_shop {__typename: "Shop";- /**- * List of configured authorization keys. Authorization- * keys are used to enable third party OAuth authorization- * (currently Facebook or Google).- */authorizationKeys: (SiteSettings_shop_authorizationKeys | null)[];- /**- * Company address- */companyAddress: SiteSettings_shop_companyAddress | null;- /**- * List of countries available in the shop.- */countries: (SiteSettings_shop_countries | null)[];- /**- * Shop's description.- */description: string | null;- /**- * Shop's domain data.- */domain: SiteSettings_shop_domain;- /**- * Shop's name.- */name: string;}export interface SiteSettings {- /**- * Represents a shop resources.- */shop: SiteSettings_shop | null;}diff --git a/saleor/static/dashboard-next/staff/types/StaffAvatarDelete.ts b/saleor/static/dashboard-next/staff/types/StaffAvatarDelete.tsindex e2c56efc5c..763ee71e63 100644--- a/saleor/static/dashboard-next/staff/types/StaffAvatarDelete.ts+++ b/saleor/static/dashboard-next/staff/types/StaffAvatarDelete.ts@@ -8,50 +8,27 @@export interface StaffAvatarDelete_userAvatarDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface StaffAvatarDelete_userAvatarDelete_user_avatar {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface StaffAvatarDelete_userAvatarDelete_user {__typename: "User";- /**- * The ID of the object.- */id: string;avatar: StaffAvatarDelete_userAvatarDelete_user_avatar | null;}export interface StaffAvatarDelete_userAvatarDelete {__typename: "UserAvatarDelete";- /**- * List of errors that occurred executing the mutation.- */errors: StaffAvatarDelete_userAvatarDelete_errors[] | null;- /**- * An updated user instance.- */user: StaffAvatarDelete_userAvatarDelete_user | null;}export interface StaffAvatarDelete {- /**- * Deletes a user avatar. Only for staff members.- */userAvatarDelete: StaffAvatarDelete_userAvatarDelete | null;}diff --git a/saleor/static/dashboard-next/staff/types/StaffAvatarUpdate.ts b/saleor/static/dashboard-next/staff/types/StaffAvatarUpdate.tsindex 5f65d7e4fa..847f5c80d0 100644--- a/saleor/static/dashboard-next/staff/types/StaffAvatarUpdate.ts+++ b/saleor/static/dashboard-next/staff/types/StaffAvatarUpdate.ts@@ -8,54 +8,28 @@export interface StaffAvatarUpdate_userAvatarUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface StaffAvatarUpdate_userAvatarUpdate_user_avatar {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface StaffAvatarUpdate_userAvatarUpdate_user {__typename: "User";- /**- * The ID of the object.- */id: string;avatar: StaffAvatarUpdate_userAvatarUpdate_user_avatar | null;}export interface StaffAvatarUpdate_userAvatarUpdate {__typename: "UserAvatarUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: StaffAvatarUpdate_userAvatarUpdate_errors[] | null;- /**- * An updated user instance.- */user: StaffAvatarUpdate_userAvatarUpdate_user | null;}export interface StaffAvatarUpdate {- /**- * Create a user avatar. Only for staff members. This mutation must- * be sent as a `multipart` request. More detailed specs of the- * upload format can be found here:- * https: // github.com/jaydenseric/graphql-multipart-request-spec- */userAvatarUpdate: StaffAvatarUpdate_userAvatarUpdate | null;}diff --git a/saleor/static/dashboard-next/staff/types/StaffList.ts b/saleor/static/dashboard-next/staff/types/StaffList.tsindex b22d32a994..2a3663628e 100644--- a/saleor/static/dashboard-next/staff/types/StaffList.ts+++ b/saleor/static/dashboard-next/staff/types/StaffList.ts@@ -10,17 +10,11 @@ import { PermissionEnum } from "./../../types/globalTypes";export interface StaffList_staffUsers_edges_node_avatar {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface StaffList_staffUsers_edges_node {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;@@ -31,73 +25,37 @@ export interface StaffList_staffUsers_edges_node {export interface StaffList_staffUsers_edges {__typename: "UserCountableEdge";- /**- * A cursor for use in pagination- */cursor: string;- /**- * The item at the end of the edge- */node: StaffList_staffUsers_edges_node;}export interface StaffList_staffUsers_pageInfo {__typename: "PageInfo";- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;}export interface StaffList_staffUsers {__typename: "UserCountableConnection";edges: StaffList_staffUsers_edges[];- /**- * Pagination data for this connection.- */pageInfo: StaffList_staffUsers_pageInfo;}export interface StaffList_shop_permissions {__typename: "PermissionDisplay";- /**- * Internal code for permission.- */code: PermissionEnum;- /**- * Describe action(s) allowed to do by permission.- */name: string;}export interface StaffList_shop {__typename: "Shop";- /**- * List of available permissions.- */permissions: (StaffList_shop_permissions | null)[];}export interface StaffList {- /**- * List of the shop's staff users.- */staffUsers: StaffList_staffUsers | null;- /**- * Represents a shop resources.- */shop: StaffList_shop | null;}diff --git a/saleor/static/dashboard-next/staff/types/StaffMemberAdd.ts b/saleor/static/dashboard-next/staff/types/StaffMemberAdd.tsindex 6da1425f75..b19fcddb31 100644--- a/saleor/static/dashboard-next/staff/types/StaffMemberAdd.ts+++ b/saleor/static/dashboard-next/staff/types/StaffMemberAdd.ts@@ -10,68 +10,39 @@ import { StaffCreateInput, PermissionEnum } from "./../../types/globalTypes";export interface StaffMemberAdd_staffCreate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface StaffMemberAdd_staffCreate_user_avatar {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface StaffMemberAdd_staffCreate_user_permissions {__typename: "PermissionDisplay";- /**- * Internal code for permission.- */code: PermissionEnum;- /**- * Describe action(s) allowed to do by permission.- */name: string;}export interface StaffMemberAdd_staffCreate_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;isActive: boolean;lastName: string;avatar: StaffMemberAdd_staffCreate_user_avatar | null;- /**- * List of user's permissions.- */permissions: (StaffMemberAdd_staffCreate_user_permissions | null)[] | null;}export interface StaffMemberAdd_staffCreate {__typename: "StaffCreate";- /**- * List of errors that occurred executing the mutation.- */errors: StaffMemberAdd_staffCreate_errors[] | null;user: StaffMemberAdd_staffCreate_user | null;}export interface StaffMemberAdd {- /**- * Creates a new staff user.- */staffCreate: StaffMemberAdd_staffCreate | null;}diff --git a/saleor/static/dashboard-next/staff/types/StaffMemberDelete.ts b/saleor/static/dashboard-next/staff/types/StaffMemberDelete.tsindex a5ce06fc0a..7a238232f1 100644--- a/saleor/static/dashboard-next/staff/types/StaffMemberDelete.ts+++ b/saleor/static/dashboard-next/staff/types/StaffMemberDelete.ts@@ -8,30 +8,16 @@export interface StaffMemberDelete_staffDelete_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface StaffMemberDelete_staffDelete {__typename: "StaffDelete";- /**- * List of errors that occurred executing the mutation.- */errors: StaffMemberDelete_staffDelete_errors[] | null;}export interface StaffMemberDelete {- /**- * Deletes a staff user.- */staffDelete: StaffMemberDelete_staffDelete | null;}diff --git a/saleor/static/dashboard-next/staff/types/StaffMemberDetails.ts b/saleor/static/dashboard-next/staff/types/StaffMemberDetails.tsindex 03441d12e0..d7cc5b7638 100644--- a/saleor/static/dashboard-next/staff/types/StaffMemberDetails.ts+++ b/saleor/static/dashboard-next/staff/types/StaffMemberDetails.ts@@ -10,69 +10,39 @@ import { PermissionEnum } from "./../../types/globalTypes";export interface StaffMemberDetails_user_avatar {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface StaffMemberDetails_user_permissions {__typename: "PermissionDisplay";- /**- * Internal code for permission.- */code: PermissionEnum;- /**- * Describe action(s) allowed to do by permission.- */name: string;}export interface StaffMemberDetails_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;isActive: boolean;lastName: string;avatar: StaffMemberDetails_user_avatar | null;- /**- * List of user's permissions.- */permissions: (StaffMemberDetails_user_permissions | null)[] | null;}export interface StaffMemberDetails_shop_permissions {__typename: "PermissionDisplay";- /**- * Internal code for permission.- */code: PermissionEnum;- /**- * Describe action(s) allowed to do by permission.- */name: string;}export interface StaffMemberDetails_shop {__typename: "Shop";- /**- * List of available permissions.- */permissions: (StaffMemberDetails_shop_permissions | null)[];}export interface StaffMemberDetails {- /**- * Lookup an user by ID.- */user: StaffMemberDetails_user | null;- /**- * Represents a shop resources.- */shop: StaffMemberDetails_shop | null;}diff --git a/saleor/static/dashboard-next/staff/types/StaffMemberDetailsFragment.ts b/saleor/static/dashboard-next/staff/types/StaffMemberDetailsFragment.tsindex 08ae0ed1b9..332de7b4a2 100644--- a/saleor/static/dashboard-next/staff/types/StaffMemberDetailsFragment.ts+++ b/saleor/static/dashboard-next/staff/types/StaffMemberDetailsFragment.ts@@ -10,37 +10,22 @@ import { PermissionEnum } from "./../../types/globalTypes";export interface StaffMemberDetailsFragment_avatar {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface StaffMemberDetailsFragment_permissions {__typename: "PermissionDisplay";- /**- * Internal code for permission.- */code: PermissionEnum;- /**- * Describe action(s) allowed to do by permission.- */name: string;}export interface StaffMemberDetailsFragment {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;isActive: boolean;lastName: string;avatar: StaffMemberDetailsFragment_avatar | null;- /**- * List of user's permissions.- */permissions: (StaffMemberDetailsFragment_permissions | null)[] | null;}diff --git a/saleor/static/dashboard-next/staff/types/StaffMemberFragment.ts b/saleor/static/dashboard-next/staff/types/StaffMemberFragment.tsindex 6e7afd2392..f5098fcdf8 100644--- a/saleor/static/dashboard-next/staff/types/StaffMemberFragment.ts+++ b/saleor/static/dashboard-next/staff/types/StaffMemberFragment.ts@@ -8,17 +8,11 @@export interface StaffMemberFragment_avatar {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface StaffMemberFragment {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;diff --git a/saleor/static/dashboard-next/staff/types/StaffMemberUpdate.ts b/saleor/static/dashboard-next/staff/types/StaffMemberUpdate.tsindex 7cdb5d0395..158b084db7 100644--- a/saleor/static/dashboard-next/staff/types/StaffMemberUpdate.ts+++ b/saleor/static/dashboard-next/staff/types/StaffMemberUpdate.ts@@ -10,68 +10,39 @@ import { StaffInput, PermissionEnum } from "./../../types/globalTypes";export interface StaffMemberUpdate_staffUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface StaffMemberUpdate_staffUpdate_user_avatar {__typename: "Image";- /**- * The URL of the image.- */url: string;}export interface StaffMemberUpdate_staffUpdate_user_permissions {__typename: "PermissionDisplay";- /**- * Internal code for permission.- */code: PermissionEnum;- /**- * Describe action(s) allowed to do by permission.- */name: string;}export interface StaffMemberUpdate_staffUpdate_user {__typename: "User";- /**- * The ID of the object.- */id: string;email: string;firstName: string;isActive: boolean;lastName: string;avatar: StaffMemberUpdate_staffUpdate_user_avatar | null;- /**- * List of user's permissions.- */permissions: (StaffMemberUpdate_staffUpdate_user_permissions | null)[] | null;}export interface StaffMemberUpdate_staffUpdate {__typename: "StaffUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: StaffMemberUpdate_staffUpdate_errors[] | null;user: StaffMemberUpdate_staffUpdate_user | null;}export interface StaffMemberUpdate {- /**- * Updates an existing staff user.- */staffUpdate: StaffMemberUpdate_staffUpdate | null;}diff --git a/saleor/static/dashboard-next/taxes/types/CountryFragment.ts b/saleor/static/dashboard-next/taxes/types/CountryFragment.tsindex 7470edc95d..b7fd1852f3 100644--- a/saleor/static/dashboard-next/taxes/types/CountryFragment.ts+++ b/saleor/static/dashboard-next/taxes/types/CountryFragment.ts@@ -8,12 +8,6 @@export interface CountryFragment {__typename: "CountryDisplay";- /**- * Country name.- */country: string;- /**- * Country code.- */code: string;}diff --git a/saleor/static/dashboard-next/taxes/types/CountryList.ts b/saleor/static/dashboard-next/taxes/types/CountryList.tsindex dbdb4f93e2..42c5c38b4b 100644--- a/saleor/static/dashboard-next/taxes/types/CountryList.ts+++ b/saleor/static/dashboard-next/taxes/types/CountryList.ts@@ -10,67 +10,31 @@ import { TaxRateType } from "./../../types/globalTypes";export interface CountryList_shop_countries_vat_reducedRates {__typename: "ReducedRate";- /**- * A type of goods.- */rateType: TaxRateType;- /**- * Reduced VAT rate in percent.- */rate: number;}export interface CountryList_shop_countries_vat {__typename: "VAT";- /**- * Standard VAT rate in percent.- */standardRate: number | null;- /**- * Country's VAT rate exceptions for specific types of goods.- */reducedRates: (CountryList_shop_countries_vat_reducedRates | null)[];}export interface CountryList_shop_countries {__typename: "CountryDisplay";- /**- * Country name.- */country: string;- /**- * Country code.- */code: string;- /**- * Country tax.- */vat: CountryList_shop_countries_vat | null;}export interface CountryList_shop {__typename: "Shop";- /**- * Charge taxes on shipping- */chargeTaxesOnShipping: boolean;- /**- * Include taxes in prices- */includeTaxesInPrices: boolean;- /**- * Display prices with tax in store- */displayGrossPrices: boolean;- /**- * List of countries available in the shop.- */countries: (CountryList_shop_countries | null)[];}export interface CountryList {- /**- * Represents a shop resources.- */shop: CountryList_shop | null;}diff --git a/saleor/static/dashboard-next/taxes/types/CountryWithTaxesFragment.ts b/saleor/static/dashboard-next/taxes/types/CountryWithTaxesFragment.tsindex 6f0ad7beed..776eaa3802 100644--- a/saleor/static/dashboard-next/taxes/types/CountryWithTaxesFragment.ts+++ b/saleor/static/dashboard-next/taxes/types/CountryWithTaxesFragment.ts@@ -10,40 +10,19 @@ import { TaxRateType } from "./../../types/globalTypes";export interface CountryWithTaxesFragment_vat_reducedRates {__typename: "ReducedRate";- /**- * A type of goods.- */rateType: TaxRateType;- /**- * Reduced VAT rate in percent.- */rate: number;}export interface CountryWithTaxesFragment_vat {__typename: "VAT";- /**- * Standard VAT rate in percent.- */standardRate: number | null;- /**- * Country's VAT rate exceptions for specific types of goods.- */reducedRates: (CountryWithTaxesFragment_vat_reducedRates | null)[];}export interface CountryWithTaxesFragment {__typename: "CountryDisplay";- /**- * Country name.- */country: string;- /**- * Country code.- */code: string;- /**- * Country tax.- */vat: CountryWithTaxesFragment_vat | null;}diff --git a/saleor/static/dashboard-next/taxes/types/FetchTaxes.ts b/saleor/static/dashboard-next/taxes/types/FetchTaxes.tsindex 8832dd51b3..0de92aa61f 100644--- a/saleor/static/dashboard-next/taxes/types/FetchTaxes.ts+++ b/saleor/static/dashboard-next/taxes/types/FetchTaxes.ts@@ -8,53 +8,27 @@export interface FetchTaxes_shopFetchTaxRates_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface FetchTaxes_shopFetchTaxRates_shop_countries {__typename: "CountryDisplay";- /**- * Country name.- */country: string;- /**- * Country code.- */code: string;}export interface FetchTaxes_shopFetchTaxRates_shop {__typename: "Shop";- /**- * List of countries available in the shop.- */countries: (FetchTaxes_shopFetchTaxRates_shop_countries | null)[];}export interface FetchTaxes_shopFetchTaxRates {__typename: "ShopFetchTaxRates";- /**- * List of errors that occurred executing the mutation.- */errors: FetchTaxes_shopFetchTaxRates_errors[] | null;- /**- * Updated Shop- */shop: FetchTaxes_shopFetchTaxRates_shop | null;}export interface FetchTaxes {- /**- * Fetch tax rates- */shopFetchTaxRates: FetchTaxes_shopFetchTaxRates | null;}diff --git a/saleor/static/dashboard-next/taxes/types/ShopTaxesFragment.ts b/saleor/static/dashboard-next/taxes/types/ShopTaxesFragment.tsindex abaf31fe70..b336e6cfa6 100644--- a/saleor/static/dashboard-next/taxes/types/ShopTaxesFragment.ts+++ b/saleor/static/dashboard-next/taxes/types/ShopTaxesFragment.ts@@ -8,16 +8,7 @@export interface ShopTaxesFragment {__typename: "Shop";- /**- * Charge taxes on shipping- */chargeTaxesOnShipping: boolean;- /**- * Include taxes in prices- */includeTaxesInPrices: boolean;- /**- * Display prices with tax in store- */displayGrossPrices: boolean;}diff --git a/saleor/static/dashboard-next/taxes/types/UpdateTaxSettings.ts b/saleor/static/dashboard-next/taxes/types/UpdateTaxSettings.tsindex 01df1b36f6..1150c6a5c9 100644--- a/saleor/static/dashboard-next/taxes/types/UpdateTaxSettings.ts+++ b/saleor/static/dashboard-next/taxes/types/UpdateTaxSettings.ts@@ -10,50 +10,24 @@ import { ShopSettingsInput } from "./../../types/globalTypes";export interface UpdateTaxSettings_shopSettingsUpdate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateTaxSettings_shopSettingsUpdate_shop {__typename: "Shop";- /**- * Charge taxes on shipping- */chargeTaxesOnShipping: boolean;- /**- * Include taxes in prices- */includeTaxesInPrices: boolean;- /**- * Display prices with tax in store- */displayGrossPrices: boolean;}export interface UpdateTaxSettings_shopSettingsUpdate {__typename: "ShopSettingsUpdate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateTaxSettings_shopSettingsUpdate_errors[] | null;- /**- * Updated Shop- */shop: UpdateTaxSettings_shopSettingsUpdate_shop | null;}export interface UpdateTaxSettings {- /**- * Updates shop settings- */shopSettingsUpdate: UpdateTaxSettings_shopSettingsUpdate | null;}diff --git a/saleor/static/dashboard-next/translations/types/AttributeTranslationFragment.ts b/saleor/static/dashboard-next/translations/types/AttributeTranslationFragment.tsindex 326ec8331e..59d52d3a4e 100644--- a/saleor/static/dashboard-next/translations/types/AttributeTranslationFragment.ts+++ b/saleor/static/dashboard-next/translations/types/AttributeTranslationFragment.ts@@ -8,54 +8,27 @@export interface AttributeTranslationFragment_translation {__typename: "AttributeTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface AttributeTranslationFragment_values_translation {__typename: "AttributeValueTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface AttributeTranslationFragment_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute Value fields for the given language code.- */translation: AttributeTranslationFragment_values_translation | null;}export interface AttributeTranslationFragment {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute fields for the given language code.- */translation: AttributeTranslationFragment_translation | null;- /**- * List of attribute's values.- */values: (AttributeTranslationFragment_values | null)[] | null;}diff --git a/saleor/static/dashboard-next/translations/types/CategoryTranslationDetails.ts b/saleor/static/dashboard-next/translations/types/CategoryTranslationDetails.tsindex 938a4ec571..1cbd8c2317 100644--- a/saleor/static/dashboard-next/translations/types/CategoryTranslationDetails.ts+++ b/saleor/static/dashboard-next/translations/types/CategoryTranslationDetails.ts@@ -10,22 +10,13 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface CategoryTranslationDetails_category_translation_language {__typename: "LanguageDisplay";- /**- * Language.- */language: string;}export interface CategoryTranslationDetails_category_translation {__typename: "CategoryTranslation";- /**- * The ID of the object.- */id: string;descriptionJson: any;- /**- * Translation's language- */language: CategoryTranslationDetails_category_translation_language;name: string;seoDescription: string | null;@@ -34,24 +25,15 @@ export interface CategoryTranslationDetails_category_translation {export interface CategoryTranslationDetails_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoDescription: string | null;seoTitle: string | null;- /**- * Returns translated Category fields for the given language code.- */translation: CategoryTranslationDetails_category_translation | null;}export interface CategoryTranslationDetails {- /**- * Lookup a category by ID.- */category: CategoryTranslationDetails_category | null;}diff --git a/saleor/static/dashboard-next/translations/types/CategoryTranslationFragment.ts b/saleor/static/dashboard-next/translations/types/CategoryTranslationFragment.tsindex f4aa932617..669ed30cfd 100644--- a/saleor/static/dashboard-next/translations/types/CategoryTranslationFragment.ts+++ b/saleor/static/dashboard-next/translations/types/CategoryTranslationFragment.ts@@ -8,22 +8,13 @@export interface CategoryTranslationFragment_translation_language {__typename: "LanguageDisplay";- /**- * Language.- */language: string;}export interface CategoryTranslationFragment_translation {__typename: "CategoryTranslation";- /**- * The ID of the object.- */id: string;descriptionJson: any;- /**- * Translation's language- */language: CategoryTranslationFragment_translation_language;name: string;seoDescription: string | null;@@ -32,16 +23,10 @@ export interface CategoryTranslationFragment_translation {export interface CategoryTranslationFragment {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoDescription: string | null;seoTitle: string | null;- /**- * Returns translated Category fields for the given language code.- */translation: CategoryTranslationFragment_translation | null;}diff --git a/saleor/static/dashboard-next/translations/types/CategoryTranslations.ts b/saleor/static/dashboard-next/translations/types/CategoryTranslations.tsindex 1f6fe3d90b..e450a738a7 100644--- a/saleor/static/dashboard-next/translations/types/CategoryTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/CategoryTranslations.ts@@ -10,22 +10,13 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface CategoryTranslations_categories_edges_node_translation_language {__typename: "LanguageDisplay";- /**- * Language.- */language: string;}export interface CategoryTranslations_categories_edges_node_translation {__typename: "CategoryTranslation";- /**- * The ID of the object.- */id: string;descriptionJson: any;- /**- * Translation's language- */language: CategoryTranslations_categories_edges_node_translation_language;name: string;seoDescription: string | null;@@ -34,61 +25,34 @@ export interface CategoryTranslations_categories_edges_node_translation {export interface CategoryTranslations_categories_edges_node {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoDescription: string | null;seoTitle: string | null;- /**- * Returns translated Category fields for the given language code.- */translation: CategoryTranslations_categories_edges_node_translation | null;}export interface CategoryTranslations_categories_edges {__typename: "CategoryCountableEdge";- /**- * The item at the end of the edge- */node: CategoryTranslations_categories_edges_node;}export interface CategoryTranslations_categories_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface CategoryTranslations_categories {__typename: "CategoryCountableConnection";edges: CategoryTranslations_categories_edges[];- /**- * Pagination data for this connection.- */pageInfo: CategoryTranslations_categories_pageInfo;}export interface CategoryTranslations {- /**- * List of the shop's categories.- */categories: CategoryTranslations_categories | null;}diff --git a/saleor/static/dashboard-next/translations/types/CollectionTranslationDetails.ts b/saleor/static/dashboard-next/translations/types/CollectionTranslationDetails.tsindex fdf3ec0ed2..cc8d7472c2 100644--- a/saleor/static/dashboard-next/translations/types/CollectionTranslationDetails.ts+++ b/saleor/static/dashboard-next/translations/types/CollectionTranslationDetails.ts@@ -10,22 +10,13 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface CollectionTranslationDetails_collection_translation_language {__typename: "LanguageDisplay";- /**- * Language.- */language: string;}export interface CollectionTranslationDetails_collection_translation {__typename: "CollectionTranslation";- /**- * The ID of the object.- */id: string;descriptionJson: any;- /**- * Translation's language- */language: CollectionTranslationDetails_collection_translation_language;name: string;seoDescription: string | null;@@ -34,24 +25,15 @@ export interface CollectionTranslationDetails_collection_translation {export interface CollectionTranslationDetails_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoDescription: string | null;seoTitle: string | null;- /**- * Returns translated Collection fields for the given language code.- */translation: CollectionTranslationDetails_collection_translation | null;}export interface CollectionTranslationDetails {- /**- * Lookup a collection by ID.- */collection: CollectionTranslationDetails_collection | null;}diff --git a/saleor/static/dashboard-next/translations/types/CollectionTranslationFragment.ts b/saleor/static/dashboard-next/translations/types/CollectionTranslationFragment.tsindex 4053334613..b217a814ad 100644--- a/saleor/static/dashboard-next/translations/types/CollectionTranslationFragment.ts+++ b/saleor/static/dashboard-next/translations/types/CollectionTranslationFragment.ts@@ -8,22 +8,13 @@export interface CollectionTranslationFragment_translation_language {__typename: "LanguageDisplay";- /**- * Language.- */language: string;}export interface CollectionTranslationFragment_translation {__typename: "CollectionTranslation";- /**- * The ID of the object.- */id: string;descriptionJson: any;- /**- * Translation's language- */language: CollectionTranslationFragment_translation_language;name: string;seoDescription: string | null;@@ -32,16 +23,10 @@ export interface CollectionTranslationFragment_translation {export interface CollectionTranslationFragment {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoDescription: string | null;seoTitle: string | null;- /**- * Returns translated Collection fields for the given language code.- */translation: CollectionTranslationFragment_translation | null;}diff --git a/saleor/static/dashboard-next/translations/types/CollectionTranslations.ts b/saleor/static/dashboard-next/translations/types/CollectionTranslations.tsindex 7a06efe08a..5ff3fe9bae 100644--- a/saleor/static/dashboard-next/translations/types/CollectionTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/CollectionTranslations.ts@@ -10,22 +10,13 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface CollectionTranslations_collections_edges_node_translation_language {__typename: "LanguageDisplay";- /**- * Language.- */language: string;}export interface CollectionTranslations_collections_edges_node_translation {__typename: "CollectionTranslation";- /**- * The ID of the object.- */id: string;descriptionJson: any;- /**- * Translation's language- */language: CollectionTranslations_collections_edges_node_translation_language;name: string;seoDescription: string | null;@@ -34,61 +25,34 @@ export interface CollectionTranslations_collections_edges_node_translation {export interface CollectionTranslations_collections_edges_node {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoDescription: string | null;seoTitle: string | null;- /**- * Returns translated Collection fields for the given language code.- */translation: CollectionTranslations_collections_edges_node_translation | null;}export interface CollectionTranslations_collections_edges {__typename: "CollectionCountableEdge";- /**- * The item at the end of the edge- */node: CollectionTranslations_collections_edges_node;}export interface CollectionTranslations_collections_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface CollectionTranslations_collections {__typename: "CollectionCountableConnection";edges: CollectionTranslations_collections_edges[];- /**- * Pagination data for this connection.- */pageInfo: CollectionTranslations_collections_pageInfo;}export interface CollectionTranslations {- /**- * List of the shop's collections.- */collections: CollectionTranslations_collections | null;}diff --git a/saleor/static/dashboard-next/translations/types/PageTranslationDetails.ts b/saleor/static/dashboard-next/translations/types/PageTranslationDetails.tsindex efd2990816..8763d2c4c9 100644--- a/saleor/static/dashboard-next/translations/types/PageTranslationDetails.ts+++ b/saleor/static/dashboard-next/translations/types/PageTranslationDetails.ts@@ -10,52 +10,31 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface PageTranslationDetails_page_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface PageTranslationDetails_page_translation {__typename: "PageTranslation";- /**- * The ID of the object.- */id: string;contentJson: any;seoDescription: string | null;seoTitle: string | null;title: string;- /**- * Translation's language- */language: PageTranslationDetails_page_translation_language;}export interface PageTranslationDetails_page {__typename: "Page";- /**- * The ID of the object.- */id: string;contentJson: any;seoDescription: string | null;seoTitle: string | null;title: string;- /**- * Returns translated Page fields for the given language code.- */translation: PageTranslationDetails_page_translation | null;}export interface PageTranslationDetails {- /**- * Lookup a page by ID or by slug.- */page: PageTranslationDetails_page | null;}diff --git a/saleor/static/dashboard-next/translations/types/PageTranslationFragment.ts b/saleor/static/dashboard-next/translations/types/PageTranslationFragment.tsindex a01a104aed..cbbd01c62b 100644--- a/saleor/static/dashboard-next/translations/types/PageTranslationFragment.ts+++ b/saleor/static/dashboard-next/translations/types/PageTranslationFragment.ts@@ -10,44 +10,26 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface PageTranslationFragment_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface PageTranslationFragment_translation {__typename: "PageTranslation";- /**- * The ID of the object.- */id: string;contentJson: any;seoDescription: string | null;seoTitle: string | null;title: string;- /**- * Translation's language- */language: PageTranslationFragment_translation_language;}export interface PageTranslationFragment {__typename: "Page";- /**- * The ID of the object.- */id: string;contentJson: any;seoDescription: string | null;seoTitle: string | null;title: string;- /**- * Returns translated Page fields for the given language code.- */translation: PageTranslationFragment_translation | null;}diff --git a/saleor/static/dashboard-next/translations/types/PageTranslations.ts b/saleor/static/dashboard-next/translations/types/PageTranslations.tsindex e79004689b..d9ac202218 100644--- a/saleor/static/dashboard-next/translations/types/PageTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/PageTranslations.ts@@ -10,89 +10,50 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface PageTranslations_pages_edges_node_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface PageTranslations_pages_edges_node_translation {__typename: "PageTranslation";- /**- * The ID of the object.- */id: string;contentJson: any;seoDescription: string | null;seoTitle: string | null;title: string;- /**- * Translation's language- */language: PageTranslations_pages_edges_node_translation_language;}export interface PageTranslations_pages_edges_node {__typename: "Page";- /**- * The ID of the object.- */id: string;contentJson: any;seoDescription: string | null;seoTitle: string | null;title: string;- /**- * Returns translated Page fields for the given language code.- */translation: PageTranslations_pages_edges_node_translation | null;}export interface PageTranslations_pages_edges {__typename: "PageCountableEdge";- /**- * The item at the end of the edge- */node: PageTranslations_pages_edges_node;}export interface PageTranslations_pages_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface PageTranslations_pages {__typename: "PageCountableConnection";edges: PageTranslations_pages_edges[];- /**- * Pagination data for this connection.- */pageInfo: PageTranslations_pages_pageInfo;}export interface PageTranslations {- /**- * List of the shop's pages.- */pages: PageTranslations_pages | null;}diff --git a/saleor/static/dashboard-next/translations/types/ProductTranslationDetails.ts b/saleor/static/dashboard-next/translations/types/ProductTranslationDetails.tsindex fe66e6e3c7..48fb97434a 100644--- a/saleor/static/dashboard-next/translations/types/ProductTranslationDetails.ts+++ b/saleor/static/dashboard-next/translations/types/ProductTranslationDetails.ts@@ -10,26 +10,14 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface ProductTranslationDetails_product_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface ProductTranslationDetails_product_translation {__typename: "ProductTranslation";- /**- * The ID of the object.- */id: string;descriptionJson: any;- /**- * Translation's language- */language: ProductTranslationDetails_product_translation_language;name: string;seoDescription: string | null;@@ -38,24 +26,15 @@ export interface ProductTranslationDetails_product_translation {export interface ProductTranslationDetails_product {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoDescription: string | null;seoTitle: string | null;- /**- * Returns translated Product fields for the given language code.- */translation: ProductTranslationDetails_product_translation | null;}export interface ProductTranslationDetails {- /**- * Lookup a product by ID.- */product: ProductTranslationDetails_product | null;}diff --git a/saleor/static/dashboard-next/translations/types/ProductTranslationFragment.ts b/saleor/static/dashboard-next/translations/types/ProductTranslationFragment.tsindex 2f11355370..e540e23c9d 100644--- a/saleor/static/dashboard-next/translations/types/ProductTranslationFragment.ts+++ b/saleor/static/dashboard-next/translations/types/ProductTranslationFragment.ts@@ -10,26 +10,14 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface ProductTranslationFragment_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface ProductTranslationFragment_translation {__typename: "ProductTranslation";- /**- * The ID of the object.- */id: string;descriptionJson: any;- /**- * Translation's language- */language: ProductTranslationFragment_translation_language;name: string;seoDescription: string | null;@@ -38,16 +26,10 @@ export interface ProductTranslationFragment_translation {export interface ProductTranslationFragment {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoDescription: string | null;seoTitle: string | null;- /**- * Returns translated Product fields for the given language code.- */translation: ProductTranslationFragment_translation | null;}diff --git a/saleor/static/dashboard-next/translations/types/ProductTranslations.ts b/saleor/static/dashboard-next/translations/types/ProductTranslations.tsindex 71f949ddc7..1d1595fee4 100644--- a/saleor/static/dashboard-next/translations/types/ProductTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/ProductTranslations.ts@@ -10,26 +10,14 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface ProductTranslations_products_edges_node_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface ProductTranslations_products_edges_node_translation {__typename: "ProductTranslation";- /**- * The ID of the object.- */id: string;descriptionJson: any;- /**- * Translation's language- */language: ProductTranslations_products_edges_node_translation_language;name: string;seoDescription: string | null;@@ -38,61 +26,34 @@ export interface ProductTranslations_products_edges_node_translation {export interface ProductTranslations_products_edges_node {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoDescription: string | null;seoTitle: string | null;- /**- * Returns translated Product fields for the given language code.- */translation: ProductTranslations_products_edges_node_translation | null;}export interface ProductTranslations_products_edges {__typename: "ProductCountableEdge";- /**- * The item at the end of the edge- */node: ProductTranslations_products_edges_node;}export interface ProductTranslations_products_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface ProductTranslations_products {__typename: "ProductCountableConnection";edges: ProductTranslations_products_edges[];- /**- * Pagination data for this connection.- */pageInfo: ProductTranslations_products_pageInfo;}export interface ProductTranslations {- /**- * List of the shop's products.- */products: ProductTranslations_products | null;}diff --git a/saleor/static/dashboard-next/translations/types/ProductTypeTranslationDetails.ts b/saleor/static/dashboard-next/translations/types/ProductTypeTranslationDetails.tsindex 23ba62307a..a74f26b32f 100644--- a/saleor/static/dashboard-next/translations/types/ProductTypeTranslationDetails.ts+++ b/saleor/static/dashboard-next/translations/types/ProductTypeTranslationDetails.ts@@ -10,133 +10,67 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface ProductTypeTranslationDetails_productType_productAttributes_translation {__typename: "AttributeTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductTypeTranslationDetails_productType_productAttributes_values_translation {__typename: "AttributeValueTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductTypeTranslationDetails_productType_productAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute Value fields for the given language code.- */translation: ProductTypeTranslationDetails_productType_productAttributes_values_translation | null;}export interface ProductTypeTranslationDetails_productType_productAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute fields for the given language code.- */translation: ProductTypeTranslationDetails_productType_productAttributes_translation | null;- /**- * List of attribute's values.- */values: (ProductTypeTranslationDetails_productType_productAttributes_values | null)[] | null;}export interface ProductTypeTranslationDetails_productType_variantAttributes_translation {__typename: "AttributeTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductTypeTranslationDetails_productType_variantAttributes_values_translation {__typename: "AttributeValueTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductTypeTranslationDetails_productType_variantAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute Value fields for the given language code.- */translation: ProductTypeTranslationDetails_productType_variantAttributes_values_translation | null;}export interface ProductTypeTranslationDetails_productType_variantAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute fields for the given language code.- */translation: ProductTypeTranslationDetails_productType_variantAttributes_translation | null;- /**- * List of attribute's values.- */values: (ProductTypeTranslationDetails_productType_variantAttributes_values | null)[] | null;}export interface ProductTypeTranslationDetails_productType {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;- /**- * Product attributes of that product type.- */productAttributes: (ProductTypeTranslationDetails_productType_productAttributes | null)[] | null;- /**- * Variant attributes of that product type.- */variantAttributes: (ProductTypeTranslationDetails_productType_variantAttributes | null)[] | null;}export interface ProductTypeTranslationDetails {- /**- * Lookup a product type by ID.- */productType: ProductTypeTranslationDetails_productType | null;}diff --git a/saleor/static/dashboard-next/translations/types/ProductTypeTranslationFragment.ts b/saleor/static/dashboard-next/translations/types/ProductTypeTranslationFragment.tsindex ed6c6ace60..ac30567abd 100644--- a/saleor/static/dashboard-next/translations/types/ProductTypeTranslationFragment.ts+++ b/saleor/static/dashboard-next/translations/types/ProductTypeTranslationFragment.ts@@ -8,125 +8,62 @@export interface ProductTypeTranslationFragment_productAttributes_translation {__typename: "AttributeTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductTypeTranslationFragment_productAttributes_values_translation {__typename: "AttributeValueTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductTypeTranslationFragment_productAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute Value fields for the given language code.- */translation: ProductTypeTranslationFragment_productAttributes_values_translation | null;}export interface ProductTypeTranslationFragment_productAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute fields for the given language code.- */translation: ProductTypeTranslationFragment_productAttributes_translation | null;- /**- * List of attribute's values.- */values: (ProductTypeTranslationFragment_productAttributes_values | null)[] | null;}export interface ProductTypeTranslationFragment_variantAttributes_translation {__typename: "AttributeTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductTypeTranslationFragment_variantAttributes_values_translation {__typename: "AttributeValueTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductTypeTranslationFragment_variantAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute Value fields for the given language code.- */translation: ProductTypeTranslationFragment_variantAttributes_values_translation | null;}export interface ProductTypeTranslationFragment_variantAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute fields for the given language code.- */translation: ProductTypeTranslationFragment_variantAttributes_translation | null;- /**- * List of attribute's values.- */values: (ProductTypeTranslationFragment_variantAttributes_values | null)[] | null;}export interface ProductTypeTranslationFragment {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;- /**- * Product attributes of that product type.- */productAttributes: (ProductTypeTranslationFragment_productAttributes | null)[] | null;- /**- * Variant attributes of that product type.- */variantAttributes: (ProductTypeTranslationFragment_variantAttributes | null)[] | null;}diff --git a/saleor/static/dashboard-next/translations/types/ProductTypeTranslations.ts b/saleor/static/dashboard-next/translations/types/ProductTypeTranslations.tsindex e8b51cdcf5..17ba27fed8 100644--- a/saleor/static/dashboard-next/translations/types/ProductTypeTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/ProductTypeTranslations.ts@@ -10,170 +10,86 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface ProductTypeTranslations_productTypes_edges_node_productAttributes_translation {__typename: "AttributeTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductTypeTranslations_productTypes_edges_node_productAttributes_values_translation {__typename: "AttributeValueTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductTypeTranslations_productTypes_edges_node_productAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute Value fields for the given language code.- */translation: ProductTypeTranslations_productTypes_edges_node_productAttributes_values_translation | null;}export interface ProductTypeTranslations_productTypes_edges_node_productAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute fields for the given language code.- */translation: ProductTypeTranslations_productTypes_edges_node_productAttributes_translation | null;- /**- * List of attribute's values.- */values: (ProductTypeTranslations_productTypes_edges_node_productAttributes_values | null)[] | null;}export interface ProductTypeTranslations_productTypes_edges_node_variantAttributes_translation {__typename: "AttributeTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductTypeTranslations_productTypes_edges_node_variantAttributes_values_translation {__typename: "AttributeValueTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface ProductTypeTranslations_productTypes_edges_node_variantAttributes_values {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute Value fields for the given language code.- */translation: ProductTypeTranslations_productTypes_edges_node_variantAttributes_values_translation | null;}export interface ProductTypeTranslations_productTypes_edges_node_variantAttributes {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute fields for the given language code.- */translation: ProductTypeTranslations_productTypes_edges_node_variantAttributes_translation | null;- /**- * List of attribute's values.- */values: (ProductTypeTranslations_productTypes_edges_node_variantAttributes_values | null)[] | null;}export interface ProductTypeTranslations_productTypes_edges_node {__typename: "ProductType";- /**- * The ID of the object.- */id: string;name: string;- /**- * Product attributes of that product type.- */productAttributes: (ProductTypeTranslations_productTypes_edges_node_productAttributes | null)[] | null;- /**- * Variant attributes of that product type.- */variantAttributes: (ProductTypeTranslations_productTypes_edges_node_variantAttributes | null)[] | null;}export interface ProductTypeTranslations_productTypes_edges {__typename: "ProductTypeCountableEdge";- /**- * The item at the end of the edge- */node: ProductTypeTranslations_productTypes_edges_node;}export interface ProductTypeTranslations_productTypes_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface ProductTypeTranslations_productTypes {__typename: "ProductTypeCountableConnection";edges: ProductTypeTranslations_productTypes_edges[];- /**- * Pagination data for this connection.- */pageInfo: ProductTypeTranslations_productTypes_pageInfo;}export interface ProductTypeTranslations {- /**- * List of the shop's product types.- */productTypes: ProductTypeTranslations_productTypes | null;}diff --git a/saleor/static/dashboard-next/translations/types/SaleTranslationDetails.ts b/saleor/static/dashboard-next/translations/types/SaleTranslationDetails.tsindex 0a6db6f4d0..2fe0c1c9b9 100644--- a/saleor/static/dashboard-next/translations/types/SaleTranslationDetails.ts+++ b/saleor/static/dashboard-next/translations/types/SaleTranslationDetails.ts@@ -10,46 +10,25 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface SaleTranslationDetails_sale_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface SaleTranslationDetails_sale_translation {__typename: "SaleTranslation";- /**- * The ID of the object.- */id: string;- /**- * Translation's language- */language: SaleTranslationDetails_sale_translation_language;name: string | null;}export interface SaleTranslationDetails_sale {__typename: "Sale";- /**- * The ID of the object.- */id: string;name: string;- /**- * Returns translated sale fields for the given language code.- */translation: SaleTranslationDetails_sale_translation | null;}export interface SaleTranslationDetails {- /**- * Lookup a sale by ID.- */sale: SaleTranslationDetails_sale | null;}diff --git a/saleor/static/dashboard-next/translations/types/SaleTranslationFragment.ts b/saleor/static/dashboard-next/translations/types/SaleTranslationFragment.tsindex b8b1848bdc..3978bf69e8 100644--- a/saleor/static/dashboard-next/translations/types/SaleTranslationFragment.ts+++ b/saleor/static/dashboard-next/translations/types/SaleTranslationFragment.ts@@ -10,38 +10,20 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface SaleTranslationFragment_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface SaleTranslationFragment_translation {__typename: "SaleTranslation";- /**- * The ID of the object.- */id: string;- /**- * Translation's language- */language: SaleTranslationFragment_translation_language;name: string | null;}export interface SaleTranslationFragment {__typename: "Sale";- /**- * The ID of the object.- */id: string;name: string;- /**- * Returns translated sale fields for the given language code.- */translation: SaleTranslationFragment_translation | null;}diff --git a/saleor/static/dashboard-next/translations/types/SaleTranslations.ts b/saleor/static/dashboard-next/translations/types/SaleTranslations.tsindex d67dd6eaec..d014353ca2 100644--- a/saleor/static/dashboard-next/translations/types/SaleTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/SaleTranslations.ts@@ -10,83 +10,44 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface SaleTranslations_sales_edges_node_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface SaleTranslations_sales_edges_node_translation {__typename: "SaleTranslation";- /**- * The ID of the object.- */id: string;- /**- * Translation's language- */language: SaleTranslations_sales_edges_node_translation_language;name: string | null;}export interface SaleTranslations_sales_edges_node {__typename: "Sale";- /**- * The ID of the object.- */id: string;name: string;- /**- * Returns translated sale fields for the given language code.- */translation: SaleTranslations_sales_edges_node_translation | null;}export interface SaleTranslations_sales_edges {__typename: "SaleCountableEdge";- /**- * The item at the end of the edge- */node: SaleTranslations_sales_edges_node;}export interface SaleTranslations_sales_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface SaleTranslations_sales {__typename: "SaleCountableConnection";edges: SaleTranslations_sales_edges[];- /**- * Pagination data for this connection.- */pageInfo: SaleTranslations_sales_pageInfo;}export interface SaleTranslations {- /**- * List of the shop's sales.- */sales: SaleTranslations_sales | null;}diff --git a/saleor/static/dashboard-next/translations/types/ShippingMethodTranslationFragment.ts b/saleor/static/dashboard-next/translations/types/ShippingMethodTranslationFragment.tsindex c75b33bede..565d2b42bd 100644--- a/saleor/static/dashboard-next/translations/types/ShippingMethodTranslationFragment.ts+++ b/saleor/static/dashboard-next/translations/types/ShippingMethodTranslationFragment.ts@@ -10,38 +10,20 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface ShippingMethodTranslationFragment_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface ShippingMethodTranslationFragment_translation {__typename: "ShippingMethodTranslation";- /**- * The ID of the object.- */id: string;- /**- * Translation's language- */language: ShippingMethodTranslationFragment_translation_language;name: string | null;}export interface ShippingMethodTranslationFragment {__typename: "ShippingMethod";- /**- * The ID of the object.- */id: string;name: string;- /**- * Returns translated Shipping Method fields for the given language code.- */translation: ShippingMethodTranslationFragment_translation | null;}diff --git a/saleor/static/dashboard-next/translations/types/UpdateAttributeTranslations.ts b/saleor/static/dashboard-next/translations/types/UpdateAttributeTranslations.tsindex 29cfba4f91..1aae04d1b6 100644--- a/saleor/static/dashboard-next/translations/types/UpdateAttributeTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/UpdateAttributeTranslations.ts@@ -10,56 +10,30 @@ import { NameTranslationInput, LanguageCodeEnum } from "./../../types/globalTypeexport interface UpdateAttributeTranslations_attributeTranslate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateAttributeTranslations_attributeTranslate_attribute_translation {__typename: "AttributeTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface UpdateAttributeTranslations_attributeTranslate_attribute {__typename: "Attribute";- /**- * The ID of the object.- */id: string;- /**- * Name of an attribute displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute fields for the given language code.- */translation: UpdateAttributeTranslations_attributeTranslate_attribute_translation | null;}export interface UpdateAttributeTranslations_attributeTranslate {__typename: "AttributeTranslate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateAttributeTranslations_attributeTranslate_errors[] | null;attribute: UpdateAttributeTranslations_attributeTranslate_attribute | null;}export interface UpdateAttributeTranslations {- /**- * Creates/Updates translations for Attribute.- */attributeTranslate: UpdateAttributeTranslations_attributeTranslate | null;}diff --git a/saleor/static/dashboard-next/translations/types/UpdateAttributeValueTranslations.ts b/saleor/static/dashboard-next/translations/types/UpdateAttributeValueTranslations.tsindex 686dff9c3b..b5c165008a 100644--- a/saleor/static/dashboard-next/translations/types/UpdateAttributeValueTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/UpdateAttributeValueTranslations.ts@@ -10,56 +10,30 @@ import { NameTranslationInput, LanguageCodeEnum } from "./../../types/globalTypeexport interface UpdateAttributeValueTranslations_attributeValueTranslate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateAttributeValueTranslations_attributeValueTranslate_attributeValue_translation {__typename: "AttributeValueTranslation";- /**- * The ID of the object.- */id: string;name: string;}export interface UpdateAttributeValueTranslations_attributeValueTranslate_attributeValue {__typename: "AttributeValue";- /**- * The ID of the object.- */id: string;- /**- * Name of a value displayed in the interface.- */name: string | null;- /**- * Returns translated Attribute Value fields for the given language code.- */translation: UpdateAttributeValueTranslations_attributeValueTranslate_attributeValue_translation | null;}export interface UpdateAttributeValueTranslations_attributeValueTranslate {__typename: "AttributeValueTranslate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateAttributeValueTranslations_attributeValueTranslate_errors[] | null;attributeValue: UpdateAttributeValueTranslations_attributeValueTranslate_attributeValue | null;}export interface UpdateAttributeValueTranslations {- /**- * Creates/Updates translations for Attribute Value.- */attributeValueTranslate: UpdateAttributeValueTranslations_attributeValueTranslate | null;}diff --git a/saleor/static/dashboard-next/translations/types/UpdateCategoryTranslations.ts b/saleor/static/dashboard-next/translations/types/UpdateCategoryTranslations.tsindex bc697cd08c..583049e780 100644--- a/saleor/static/dashboard-next/translations/types/UpdateCategoryTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/UpdateCategoryTranslations.ts@@ -10,36 +10,19 @@ import { TranslationInput, LanguageCodeEnum } from "./../../types/globalTypes";export interface UpdateCategoryTranslations_categoryTranslate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateCategoryTranslations_categoryTranslate_category_translation_language {__typename: "LanguageDisplay";- /**- * Language.- */language: string;}export interface UpdateCategoryTranslations_categoryTranslate_category_translation {__typename: "CategoryTranslation";- /**- * The ID of the object.- */id: string;descriptionJson: any;- /**- * Translation's language- */language: UpdateCategoryTranslations_categoryTranslate_category_translation_language;name: string;seoDescription: string | null;@@ -48,33 +31,21 @@ export interface UpdateCategoryTranslations_categoryTranslate_category_translatiexport interface UpdateCategoryTranslations_categoryTranslate_category {__typename: "Category";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoDescription: string | null;seoTitle: string | null;- /**- * Returns translated Category fields for the given language code.- */translation: UpdateCategoryTranslations_categoryTranslate_category_translation | null;}export interface UpdateCategoryTranslations_categoryTranslate {__typename: "CategoryTranslate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateCategoryTranslations_categoryTranslate_errors[] | null;category: UpdateCategoryTranslations_categoryTranslate_category | null;}export interface UpdateCategoryTranslations {- /**- * Creates/Updates translations for Category.- */categoryTranslate: UpdateCategoryTranslations_categoryTranslate | null;}diff --git a/saleor/static/dashboard-next/translations/types/UpdateCollectionTranslations.ts b/saleor/static/dashboard-next/translations/types/UpdateCollectionTranslations.tsindex bb1c9f3b89..8a1ec15232 100644--- a/saleor/static/dashboard-next/translations/types/UpdateCollectionTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/UpdateCollectionTranslations.ts@@ -10,36 +10,19 @@ import { TranslationInput, LanguageCodeEnum } from "./../../types/globalTypes";export interface UpdateCollectionTranslations_collectionTranslate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateCollectionTranslations_collectionTranslate_collection_translation_language {__typename: "LanguageDisplay";- /**- * Language.- */language: string;}export interface UpdateCollectionTranslations_collectionTranslate_collection_translation {__typename: "CollectionTranslation";- /**- * The ID of the object.- */id: string;descriptionJson: any;- /**- * Translation's language- */language: UpdateCollectionTranslations_collectionTranslate_collection_translation_language;name: string;seoDescription: string | null;@@ -48,33 +31,21 @@ export interface UpdateCollectionTranslations_collectionTranslate_collection_traexport interface UpdateCollectionTranslations_collectionTranslate_collection {__typename: "Collection";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoDescription: string | null;seoTitle: string | null;- /**- * Returns translated Collection fields for the given language code.- */translation: UpdateCollectionTranslations_collectionTranslate_collection_translation | null;}export interface UpdateCollectionTranslations_collectionTranslate {__typename: "CollectionTranslate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateCollectionTranslations_collectionTranslate_errors[] | null;collection: UpdateCollectionTranslations_collectionTranslate_collection | null;}export interface UpdateCollectionTranslations {- /**- * Creates/Updates translations for Collection.- */collectionTranslate: UpdateCollectionTranslations_collectionTranslate | null;}diff --git a/saleor/static/dashboard-next/translations/types/UpdatePageTranslations.ts b/saleor/static/dashboard-next/translations/types/UpdatePageTranslations.tsindex f675227a52..020ef5c04c 100644--- a/saleor/static/dashboard-next/translations/types/UpdatePageTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/UpdatePageTranslations.ts@@ -10,75 +10,43 @@ import { PageTranslationInput, LanguageCodeEnum } from "./../../types/globalTypeexport interface UpdatePageTranslations_pageTranslate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdatePageTranslations_pageTranslate_page_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface UpdatePageTranslations_pageTranslate_page_translation {__typename: "PageTranslation";- /**- * The ID of the object.- */id: string;contentJson: any;seoDescription: string | null;seoTitle: string | null;title: string;- /**- * Translation's language- */language: UpdatePageTranslations_pageTranslate_page_translation_language;}export interface UpdatePageTranslations_pageTranslate_page {__typename: "Page";- /**- * The ID of the object.- */id: string;contentJson: any;seoDescription: string | null;seoTitle: string | null;title: string;- /**- * Returns translated Page fields for the given language code.- */translation: UpdatePageTranslations_pageTranslate_page_translation | null;}export interface UpdatePageTranslations_pageTranslate {__typename: "PageTranslate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdatePageTranslations_pageTranslate_errors[] | null;page: UpdatePageTranslations_pageTranslate_page | null;}export interface UpdatePageTranslations {- /**- * Creates/Updates translations for Page.- */pageTranslate: UpdatePageTranslations_pageTranslate | null;}diff --git a/saleor/static/dashboard-next/translations/types/UpdateProductTranslations.ts b/saleor/static/dashboard-next/translations/types/UpdateProductTranslations.tsindex 9903e641e0..d0fb45ded4 100644--- a/saleor/static/dashboard-next/translations/types/UpdateProductTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/UpdateProductTranslations.ts@@ -10,40 +10,20 @@ import { TranslationInput, LanguageCodeEnum } from "./../../types/globalTypes";export interface UpdateProductTranslations_productTranslate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateProductTranslations_productTranslate_product_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface UpdateProductTranslations_productTranslate_product_translation {__typename: "ProductTranslation";- /**- * The ID of the object.- */id: string;descriptionJson: any;- /**- * Translation's language- */language: UpdateProductTranslations_productTranslate_product_translation_language;name: string;seoDescription: string | null;@@ -52,33 +32,21 @@ export interface UpdateProductTranslations_productTranslate_product_translationexport interface UpdateProductTranslations_productTranslate_product {__typename: "Product";- /**- * The ID of the object.- */id: string;name: string;descriptionJson: any;seoDescription: string | null;seoTitle: string | null;- /**- * Returns translated Product fields for the given language code.- */translation: UpdateProductTranslations_productTranslate_product_translation | null;}export interface UpdateProductTranslations_productTranslate {__typename: "ProductTranslate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateProductTranslations_productTranslate_errors[] | null;product: UpdateProductTranslations_productTranslate_product | null;}export interface UpdateProductTranslations {- /**- * Creates/Updates translations for Product.- */productTranslate: UpdateProductTranslations_productTranslate | null;}diff --git a/saleor/static/dashboard-next/translations/types/UpdateSaleTranslations.ts b/saleor/static/dashboard-next/translations/types/UpdateSaleTranslations.tsindex d2e55e6b48..f503df7f59 100644--- a/saleor/static/dashboard-next/translations/types/UpdateSaleTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/UpdateSaleTranslations.ts@@ -10,69 +10,37 @@ import { NameTranslationInput, LanguageCodeEnum } from "./../../types/globalTypeexport interface UpdateSaleTranslations_saleTranslate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateSaleTranslations_saleTranslate_sale_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface UpdateSaleTranslations_saleTranslate_sale_translation {__typename: "SaleTranslation";- /**- * The ID of the object.- */id: string;- /**- * Translation's language- */language: UpdateSaleTranslations_saleTranslate_sale_translation_language;name: string | null;}export interface UpdateSaleTranslations_saleTranslate_sale {__typename: "Sale";- /**- * The ID of the object.- */id: string;name: string;- /**- * Returns translated sale fields for the given language code.- */translation: UpdateSaleTranslations_saleTranslate_sale_translation | null;}export interface UpdateSaleTranslations_saleTranslate {__typename: "SaleTranslate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateSaleTranslations_saleTranslate_errors[] | null;sale: UpdateSaleTranslations_saleTranslate_sale | null;}export interface UpdateSaleTranslations {- /**- * Creates/updates translations for a sale.- */saleTranslate: UpdateSaleTranslations_saleTranslate | null;}diff --git a/saleor/static/dashboard-next/translations/types/UpdateVoucherTranslations.ts b/saleor/static/dashboard-next/translations/types/UpdateVoucherTranslations.tsindex 8fdfff60cd..e5fdf47719 100644--- a/saleor/static/dashboard-next/translations/types/UpdateVoucherTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/UpdateVoucherTranslations.ts@@ -10,69 +10,37 @@ import { NameTranslationInput, LanguageCodeEnum } from "./../../types/globalTypeexport interface UpdateVoucherTranslations_voucherTranslate_errors {__typename: "Error";- /**- * Name of a field that caused the error. A value of- * `null` indicates that the error isn't associated with a particular- * field.- */field: string | null;- /**- * The error message.- */message: string | null;}export interface UpdateVoucherTranslations_voucherTranslate_voucher_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface UpdateVoucherTranslations_voucherTranslate_voucher_translation {__typename: "VoucherTranslation";- /**- * The ID of the object.- */id: string;- /**- * Translation's language- */language: UpdateVoucherTranslations_voucherTranslate_voucher_translation_language;name: string | null;}export interface UpdateVoucherTranslations_voucherTranslate_voucher {__typename: "Voucher";- /**- * The ID of the object.- */id: string;name: string | null;- /**- * Returns translated Voucher fields for the given language code.- */translation: UpdateVoucherTranslations_voucherTranslate_voucher_translation | null;}export interface UpdateVoucherTranslations_voucherTranslate {__typename: "VoucherTranslate";- /**- * List of errors that occurred executing the mutation.- */errors: UpdateVoucherTranslations_voucherTranslate_errors[] | null;voucher: UpdateVoucherTranslations_voucherTranslate_voucher | null;}export interface UpdateVoucherTranslations {- /**- * Creates/Updates translations for Voucher.- */voucherTranslate: UpdateVoucherTranslations_voucherTranslate | null;}diff --git a/saleor/static/dashboard-next/translations/types/VoucherTranslationDetails.ts b/saleor/static/dashboard-next/translations/types/VoucherTranslationDetails.tsindex ed7af3374d..b14a21093d 100644--- a/saleor/static/dashboard-next/translations/types/VoucherTranslationDetails.ts+++ b/saleor/static/dashboard-next/translations/types/VoucherTranslationDetails.ts@@ -10,46 +10,25 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface VoucherTranslationDetails_voucher_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface VoucherTranslationDetails_voucher_translation {__typename: "VoucherTranslation";- /**- * The ID of the object.- */id: string;- /**- * Translation's language- */language: VoucherTranslationDetails_voucher_translation_language;name: string | null;}export interface VoucherTranslationDetails_voucher {__typename: "Voucher";- /**- * The ID of the object.- */id: string;name: string | null;- /**- * Returns translated Voucher fields for the given language code.- */translation: VoucherTranslationDetails_voucher_translation | null;}export interface VoucherTranslationDetails {- /**- * Lookup a voucher by ID.- */voucher: VoucherTranslationDetails_voucher | null;}diff --git a/saleor/static/dashboard-next/translations/types/VoucherTranslationFragment.ts b/saleor/static/dashboard-next/translations/types/VoucherTranslationFragment.tsindex a9544861f7..080d3489c6 100644--- a/saleor/static/dashboard-next/translations/types/VoucherTranslationFragment.ts+++ b/saleor/static/dashboard-next/translations/types/VoucherTranslationFragment.ts@@ -10,38 +10,20 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface VoucherTranslationFragment_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface VoucherTranslationFragment_translation {__typename: "VoucherTranslation";- /**- * The ID of the object.- */id: string;- /**- * Translation's language- */language: VoucherTranslationFragment_translation_language;name: string | null;}export interface VoucherTranslationFragment {__typename: "Voucher";- /**- * The ID of the object.- */id: string;name: string | null;- /**- * Returns translated Voucher fields for the given language code.- */translation: VoucherTranslationFragment_translation | null;}diff --git a/saleor/static/dashboard-next/translations/types/VoucherTranslations.ts b/saleor/static/dashboard-next/translations/types/VoucherTranslations.tsindex a61b8c8e43..5a16149088 100644--- a/saleor/static/dashboard-next/translations/types/VoucherTranslations.ts+++ b/saleor/static/dashboard-next/translations/types/VoucherTranslations.ts@@ -10,83 +10,44 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";export interface VoucherTranslations_vouchers_edges_node_translation_language {__typename: "LanguageDisplay";- /**- * Language code.- */code: LanguageCodeEnum;- /**- * Language.- */language: string;}export interface VoucherTranslations_vouchers_edges_node_translation {__typename: "VoucherTranslation";- /**- * The ID of the object.- */id: string;- /**- * Translation's language- */language: VoucherTranslations_vouchers_edges_node_translation_language;name: string | null;}export interface VoucherTranslations_vouchers_edges_node {__typename: "Voucher";- /**- * The ID of the object.- */id: string;name: string | null;- /**- * Returns translated Voucher fields for the given language code.- */translation: VoucherTranslations_vouchers_edges_node_translation | null;}export interface VoucherTranslations_vouchers_edges {__typename: "VoucherCountableEdge";- /**- * The item at the end of the edge- */node: VoucherTranslations_vouchers_edges_node;}export interface VoucherTranslations_vouchers_pageInfo {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}export interface VoucherTranslations_vouchers {__typename: "VoucherCountableConnection";edges: VoucherTranslations_vouchers_edges[];- /**- * Pagination data for this connection.- */pageInfo: VoucherTranslations_vouchers_pageInfo;}export interface VoucherTranslations {- /**- * List of the shop's vouchers.- */vouchers: VoucherTranslations_vouchers | null;}diff --git a/saleor/static/dashboard-next/types/PageInfoFragment.ts b/saleor/static/dashboard-next/types/PageInfoFragment.tsindex 2b6d644416..5f64585f87 100644--- a/saleor/static/dashboard-next/types/PageInfoFragment.ts+++ b/saleor/static/dashboard-next/types/PageInfoFragment.ts@@ -8,20 +8,8 @@export interface PageInfoFragment {__typename: "PageInfo";- /**- * When paginating forwards, the cursor to continue.- */endCursor: string | null;- /**- * When paginating forwards, are there more items?- */hasNextPage: boolean;- /**- * When paginating backwards, are there more items?- */hasPreviousPage: boolean;- /**- * When paginating backwards, the cursor to continue.- */startCursor: string | null;}diff --git a/saleor/static/dashboard-next/types/globalTypes.ts b/saleor/static/dashboard-next/types/globalTypes.tsindex 4e2be356ce..f5d7e217f9 100644--- a/saleor/static/dashboard-next/types/globalTypes.ts+++ b/saleor/static/dashboard-next/types/globalTypes.ts@@ -6,9 +6,6 @@// START Enums and Input Objects//==============================================================-/**- * An enumeration.- */export enum AddressTypeEnum {BILLING = "BILLING",SHIPPING = "SHIPPING",@@ -19,9 +16,6 @@ export enum AttributeTypeEnum {VARIANT = "VARIANT",}-/**- * An enumeration.- */export enum AuthorizationKeyType {FACEBOOK = "FACEBOOK",GOOGLE_OAUTH2 = "GOOGLE_OAUTH2",@@ -32,17 +26,11 @@ export enum DiscountValueTypeEnum {PERCENTAGE = "PERCENTAGE",}-/**- * An enumeration.- */export enum FulfillmentStatus {CANCELED = "CANCELED",FULFILLED = "FULFILLED",}-/**- * An enumeration.- */export enum LanguageCodeEnum {AR = "AR",AZ = "AZ",@@ -52,6 +40,7 @@ export enum LanguageCodeEnum {CS = "CS",DA = "DA",DE = "DE",+ EL = "EL",EN = "EN",ES = "ES",ES_CO = "ES_CO",@@ -95,9 +84,6 @@ export enum OrderAction {VOID = "VOID",}-/**- * An enumeration.- */export enum OrderEventsEmailsEnum {DIGITAL_LINKS = "DIGITAL_LINKS",FULFILLMENT_CONFIRMATION = "FULFILLMENT_CONFIRMATION",@@ -107,9 +93,6 @@ export enum OrderEventsEmailsEnum {TRACKING_UPDATED = "TRACKING_UPDATED",}-/**- * An enumeration.- */export enum OrderEventsEnum {CANCELED = "CANCELED",DRAFT_ADDED_PRODUCTS = "DRAFT_ADDED_PRODUCTS",@@ -134,9 +117,6 @@ export enum OrderEventsEnum {UPDATED_ADDRESS = "UPDATED_ADDRESS",}-/**- * An enumeration.- */export enum OrderStatus {CANCELED = "CANCELED",DRAFT = "DRAFT",@@ -154,9 +134,6 @@ export enum OrderStatusFilter {UNFULFILLED = "UNFULFILLED",}-/**- * An enumeration.- */export enum PaymentChargeStatusEnum {FULLY_CHARGED = "FULLY_CHARGED",FULLY_REFUNDED = "FULLY_REFUNDED",@@ -165,9 +142,6 @@ export enum PaymentChargeStatusEnum {PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",}-/**- * An enumeration.- */export enum PermissionEnum {IMPERSONATE_USERS = "IMPERSONATE_USERS",MANAGE_DISCOUNTS = "MANAGE_DISCOUNTS",@@ -183,17 +157,11 @@ export enum PermissionEnum {MANAGE_USERS = "MANAGE_USERS",}-/**- * An enumeration.- */export enum SaleType {FIXED = "FIXED",PERCENTAGE = "PERCENTAGE",}-/**- * An enumeration.- */export enum ShippingMethodTypeEnum {PRICE = "PRICE",WEIGHT = "WEIGHT",@@ -204,9 +172,6 @@ export enum StockAvailability {OUT_OF_STOCK = "OUT_OF_STOCK",}-/**- * An enumeration.- */export enum TaxRateType {ACCOMMODATION = "ACCOMMODATION",ADMISSION_TO_CULTURAL_EVENTS = "ADMISSION_TO_CULTURAL_EVENTS",@@ -245,9 +210,6 @@ export enum VoucherTypeEnum {VALUE = "VALUE",}-/**- * An enumeration.- */export enum WeightUnitsEnum {G = "G",KG = "KG",@@ -609,6 +571,7 @@ export interface VoucherInput {minCheckoutItemsQuantity?: number | null;countries?: (string | null)[] | null;applyOncePerOrder?: boolean | null;+ applyOncePerCustomer?: boolean | null;usageLimit?: number | null;}