Update to newest schema
This commit is contained in:
parent
9a86c6beb5
commit
6d8a06af41
34 changed files with 920 additions and 2216 deletions
2621
schema.graphql
2621
schema.graphql
File diff suppressed because it is too large
Load diff
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { AttributeInputTypeEnum } from "./../../types/globalTypes";
|
import { AttributeInputTypeEnum, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL fragment: Product
|
// GraphQL fragment: Product
|
||||||
|
@ -170,7 +170,7 @@ export interface Product_variants {
|
||||||
|
|
||||||
export interface Product_weight {
|
export interface Product_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
|
import { WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL fragment: ProductTypeDetailsFragment
|
// GraphQL fragment: ProductTypeDetailsFragment
|
||||||
// ====================================================
|
// ====================================================
|
||||||
|
@ -34,7 +36,7 @@ export interface ProductTypeDetailsFragment_variantAttributes {
|
||||||
|
|
||||||
export interface ProductTypeDetailsFragment_weight {
|
export interface ProductTypeDetailsFragment_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
|
import { WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL fragment: ProductVariant
|
// GraphQL fragment: ProductVariant
|
||||||
// ====================================================
|
// ====================================================
|
||||||
|
@ -105,7 +107,7 @@ export interface ProductVariant_stocks {
|
||||||
|
|
||||||
export interface ProductVariant_weight {
|
export interface ProductVariant_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ShippingMethodTypeEnum } from "./../../types/globalTypes";
|
import { WeightUnitsEnum, ShippingMethodTypeEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL fragment: ShippingMethodFragment
|
// GraphQL fragment: ShippingMethodFragment
|
||||||
|
@ -16,7 +16,7 @@ export interface ShippingMethodFragment_minimumOrderPrice {
|
||||||
|
|
||||||
export interface ShippingMethodFragment_minimumOrderWeight {
|
export interface ShippingMethodFragment_minimumOrderWeight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ export interface ShippingMethodFragment_maximumOrderPrice {
|
||||||
|
|
||||||
export interface ShippingMethodFragment_maximumOrderWeight {
|
export interface ShippingMethodFragment_maximumOrderWeight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ShippingMethodTypeEnum } from "./../../types/globalTypes";
|
import { WeightUnitsEnum, ShippingMethodTypeEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL fragment: ShippingZoneDetailsFragment
|
// GraphQL fragment: ShippingZoneDetailsFragment
|
||||||
|
@ -22,7 +22,7 @@ export interface ShippingZoneDetailsFragment_shippingMethods_minimumOrderPrice {
|
||||||
|
|
||||||
export interface ShippingZoneDetailsFragment_shippingMethods_minimumOrderWeight {
|
export interface ShippingZoneDetailsFragment_shippingMethods_minimumOrderWeight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ export interface ShippingZoneDetailsFragment_shippingMethods_maximumOrderPrice {
|
||||||
|
|
||||||
export interface ShippingZoneDetailsFragment_shippingMethods_maximumOrderWeight {
|
export interface ShippingZoneDetailsFragment_shippingMethods_maximumOrderWeight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,14 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
|
import { WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL fragment: WeightFragment
|
// GraphQL fragment: WeightFragment
|
||||||
// ====================================================
|
// ====================================================
|
||||||
|
|
||||||
export interface WeightFragment {
|
export interface WeightFragment {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ import {
|
||||||
SearchProductTypes_search_edges_node_productAttributes
|
SearchProductTypes_search_edges_node_productAttributes
|
||||||
} from "@saleor/searches/types/SearchProductTypes";
|
} from "@saleor/searches/types/SearchProductTypes";
|
||||||
|
|
||||||
import { AttributeInputTypeEnum } from "../types/globalTypes";
|
import { AttributeInputTypeEnum, WeightUnitsEnum } from "../types/globalTypes";
|
||||||
import { ProductTypeDetails_productType } from "./types/ProductTypeDetails";
|
import { ProductTypeDetails_productType } from "./types/ProductTypeDetails";
|
||||||
import { ProductTypeList_productTypes_edges_node } from "./types/ProductTypeList";
|
import { ProductTypeList_productTypes_edges_node } from "./types/ProductTypeList";
|
||||||
|
|
||||||
|
@ -601,7 +601,7 @@ export const productType: ProductTypeDetails_productType = {
|
||||||
],
|
],
|
||||||
weight: {
|
weight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: "kg",
|
unit: WeightUnitsEnum.KG,
|
||||||
value: 7.82
|
value: 7.82
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { AttributeAssignInput } from "./../../types/globalTypes";
|
import { AttributeAssignInput, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: AssignAttribute
|
// GraphQL mutation operation: AssignAttribute
|
||||||
|
@ -42,7 +42,7 @@ export interface AssignAttribute_attributeAssign_productType_variantAttributes {
|
||||||
|
|
||||||
export interface AssignAttribute_attributeAssign_productType_weight {
|
export interface AssignAttribute_attributeAssign_productType_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ReorderInput, AttributeTypeEnum } from "./../../types/globalTypes";
|
import { ReorderInput, AttributeTypeEnum, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: ProductTypeAttributeReorder
|
// GraphQL mutation operation: ProductTypeAttributeReorder
|
||||||
|
@ -42,7 +42,7 @@ export interface ProductTypeAttributeReorder_productTypeReorderAttributes_produc
|
||||||
|
|
||||||
export interface ProductTypeAttributeReorder_productTypeReorderAttributes_productType_weight {
|
export interface ProductTypeAttributeReorder_productTypeReorderAttributes_productType_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ProductTypeInput } from "./../../types/globalTypes";
|
import { ProductTypeInput, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: ProductTypeCreate
|
// GraphQL mutation operation: ProductTypeCreate
|
||||||
|
@ -42,7 +42,7 @@ export interface ProductTypeCreate_productTypeCreate_productType_variantAttribut
|
||||||
|
|
||||||
export interface ProductTypeCreate_productTypeCreate_productType_weight {
|
export interface ProductTypeCreate_productTypeCreate_productType_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ export interface ProductTypeDetails_productType_variantAttributes {
|
||||||
|
|
||||||
export interface ProductTypeDetails_productType_weight {
|
export interface ProductTypeDetails_productType_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ProductTypeInput } from "./../../types/globalTypes";
|
import { ProductTypeInput, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: ProductTypeUpdate
|
// GraphQL mutation operation: ProductTypeUpdate
|
||||||
|
@ -42,7 +42,7 @@ export interface ProductTypeUpdate_productTypeUpdate_productType_variantAttribut
|
||||||
|
|
||||||
export interface ProductTypeUpdate_productTypeUpdate_productType_weight {
|
export interface ProductTypeUpdate_productTypeUpdate_productType_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
|
import { WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: UnassignAttribute
|
// GraphQL mutation operation: UnassignAttribute
|
||||||
// ====================================================
|
// ====================================================
|
||||||
|
@ -40,7 +42,7 @@ export interface UnassignAttribute_attributeUnassign_productType_variantAttribut
|
||||||
|
|
||||||
export interface UnassignAttribute_attributeUnassign_productType_weight {
|
export interface UnassignAttribute_attributeUnassign_productType_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
import { ProductVariant } from "@saleor/fragments/types/ProductVariant";
|
import { ProductVariant } from "@saleor/fragments/types/ProductVariant";
|
||||||
import { AttributeInputTypeEnum } from "@saleor/types/globalTypes";
|
import {
|
||||||
|
AttributeInputTypeEnum,
|
||||||
|
WeightUnitsEnum
|
||||||
|
} from "@saleor/types/globalTypes";
|
||||||
import { warehouseList } from "@saleor/warehouses/fixtures";
|
import { warehouseList } from "@saleor/warehouses/fixtures";
|
||||||
|
|
||||||
import { content } from "../storybook/stories/components/RichTextEditor";
|
import { content } from "../storybook/stories/components/RichTextEditor";
|
||||||
|
@ -281,7 +284,7 @@ export const product: (
|
||||||
trackInventory: true,
|
trackInventory: true,
|
||||||
weight: {
|
weight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: "kg",
|
unit: WeightUnitsEnum.KG,
|
||||||
value: 3
|
value: 3
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -316,14 +319,14 @@ export const product: (
|
||||||
trackInventory: false,
|
trackInventory: false,
|
||||||
weight: {
|
weight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: "kg",
|
unit: WeightUnitsEnum.KG,
|
||||||
value: 4
|
value: 4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
weight: {
|
weight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: "kg",
|
unit: WeightUnitsEnum.KG,
|
||||||
value: 5
|
value: 5
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -1672,7 +1675,7 @@ export const variant = (placeholderImage: string): ProductVariant => ({
|
||||||
trackInventory: true,
|
trackInventory: true,
|
||||||
weight: {
|
weight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: "kg",
|
unit: WeightUnitsEnum.KG,
|
||||||
value: 6
|
value: 6
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { AttributeValueInput, SeoInput, StockInput, ProductErrorCode, AttributeInputTypeEnum } from "./../../types/globalTypes";
|
import { AttributeValueInput, SeoInput, StockInput, ProductErrorCode, AttributeInputTypeEnum, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: ProductCreate
|
// GraphQL mutation operation: ProductCreate
|
||||||
|
@ -176,7 +176,7 @@ export interface ProductCreate_productCreate_product_variants {
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_weight {
|
export interface ProductCreate_productCreate_product_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { AttributeInputTypeEnum } from "./../../types/globalTypes";
|
import { AttributeInputTypeEnum, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL query operation: ProductDetails
|
// GraphQL query operation: ProductDetails
|
||||||
|
@ -170,7 +170,7 @@ export interface ProductDetails_product_variants {
|
||||||
|
|
||||||
export interface ProductDetails_product_weight {
|
export interface ProductDetails_product_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ProductErrorCode, AttributeInputTypeEnum } from "./../../types/globalTypes";
|
import { ProductErrorCode, AttributeInputTypeEnum, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: ProductImageCreate
|
// GraphQL mutation operation: ProductImageCreate
|
||||||
|
@ -176,7 +176,7 @@ export interface ProductImageCreate_productImageCreate_product_variants {
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_weight {
|
export interface ProductImageCreate_productImageCreate_product_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ProductErrorCode, AttributeInputTypeEnum } from "./../../types/globalTypes";
|
import { ProductErrorCode, AttributeInputTypeEnum, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: ProductImageUpdate
|
// GraphQL mutation operation: ProductImageUpdate
|
||||||
|
@ -176,7 +176,7 @@ export interface ProductImageUpdate_productImageUpdate_product_variants {
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_weight {
|
export interface ProductImageUpdate_productImageUpdate_product_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { AttributeValueInput, SeoInput, ProductErrorCode, AttributeInputTypeEnum } from "./../../types/globalTypes";
|
import { AttributeValueInput, SeoInput, ProductErrorCode, AttributeInputTypeEnum, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: ProductUpdate
|
// GraphQL mutation operation: ProductUpdate
|
||||||
|
@ -176,7 +176,7 @@ export interface ProductUpdate_productUpdate_product_variants {
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_weight {
|
export interface ProductUpdate_productUpdate_product_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
|
import { WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL query operation: ProductVariantDetails
|
// GraphQL query operation: ProductVariantDetails
|
||||||
// ====================================================
|
// ====================================================
|
||||||
|
@ -105,7 +107,7 @@ export interface ProductVariantDetails_productVariant_stocks {
|
||||||
|
|
||||||
export interface ProductVariantDetails_productVariant_weight {
|
export interface ProductVariantDetails_productVariant_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { AttributeValueInput, ProductVariantInput, SeoInput, StockInput, ProductErrorCode, AttributeInputTypeEnum, StockErrorCode } from "./../../types/globalTypes";
|
import { AttributeValueInput, ProductVariantInput, SeoInput, StockInput, ProductErrorCode, AttributeInputTypeEnum, WeightUnitsEnum, StockErrorCode } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: SimpleProductUpdate
|
// GraphQL mutation operation: SimpleProductUpdate
|
||||||
|
@ -176,7 +176,7 @@ export interface SimpleProductUpdate_productUpdate_product_variants {
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_weight {
|
export interface SimpleProductUpdate_productUpdate_product_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -314,7 +314,7 @@ export interface SimpleProductUpdate_productVariantUpdate_productVariant_stocks
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productVariantUpdate_productVariant_weight {
|
export interface SimpleProductUpdate_productVariantUpdate_productVariant_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -445,7 +445,7 @@ export interface SimpleProductUpdate_productVariantStocksCreate_productVariant_s
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productVariantStocksCreate_productVariant_weight {
|
export interface SimpleProductUpdate_productVariantStocksCreate_productVariant_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -575,7 +575,7 @@ export interface SimpleProductUpdate_productVariantStocksDelete_productVariant_s
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productVariantStocksDelete_productVariant_weight {
|
export interface SimpleProductUpdate_productVariantStocksDelete_productVariant_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -706,7 +706,7 @@ export interface SimpleProductUpdate_productVariantStocksUpdate_productVariant_s
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productVariantStocksUpdate_productVariant_weight {
|
export interface SimpleProductUpdate_productVariantStocksUpdate_productVariant_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ProductVariantCreateInput, ProductErrorCode } from "./../../types/globalTypes";
|
import { ProductVariantCreateInput, ProductErrorCode, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: VariantCreate
|
// GraphQL mutation operation: VariantCreate
|
||||||
|
@ -113,7 +113,7 @@ export interface VariantCreate_productVariantCreate_productVariant_stocks {
|
||||||
|
|
||||||
export interface VariantCreate_productVariantCreate_productVariant_weight {
|
export interface VariantCreate_productVariantCreate_productVariant_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ProductErrorCode } from "./../../types/globalTypes";
|
import { ProductErrorCode, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: VariantImageAssign
|
// GraphQL mutation operation: VariantImageAssign
|
||||||
|
@ -113,7 +113,7 @@ export interface VariantImageAssign_variantImageAssign_productVariant_stocks {
|
||||||
|
|
||||||
export interface VariantImageAssign_variantImageAssign_productVariant_weight {
|
export interface VariantImageAssign_variantImageAssign_productVariant_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ProductErrorCode } from "./../../types/globalTypes";
|
import { ProductErrorCode, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: VariantImageUnassign
|
// GraphQL mutation operation: VariantImageUnassign
|
||||||
|
@ -113,7 +113,7 @@ export interface VariantImageUnassign_variantImageUnassign_productVariant_stocks
|
||||||
|
|
||||||
export interface VariantImageUnassign_variantImageUnassign_productVariant_weight {
|
export interface VariantImageUnassign_variantImageUnassign_productVariant_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { StockInput, AttributeValueInput, ProductErrorCode, StockErrorCode } from "./../../types/globalTypes";
|
import { StockInput, AttributeValueInput, ProductErrorCode, WeightUnitsEnum, StockErrorCode } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: VariantUpdate
|
// GraphQL mutation operation: VariantUpdate
|
||||||
|
@ -113,7 +113,7 @@ export interface VariantUpdate_productVariantUpdate_productVariant_stocks {
|
||||||
|
|
||||||
export interface VariantUpdate_productVariantUpdate_productVariant_weight {
|
export interface VariantUpdate_productVariantUpdate_productVariant_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -244,7 +244,7 @@ export interface VariantUpdate_productVariantStocksUpdate_productVariant_stocks
|
||||||
|
|
||||||
export interface VariantUpdate_productVariantStocksUpdate_productVariant_weight {
|
export interface VariantUpdate_productVariantStocksUpdate_productVariant_weight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { ShippingZoneDetailsFragment } from "@saleor/fragments/types/ShippingZoneDetailsFragment";
|
import { ShippingZoneDetailsFragment } from "@saleor/fragments/types/ShippingZoneDetailsFragment";
|
||||||
import { ShippingZoneFragment } from "@saleor/fragments/types/ShippingZoneFragment";
|
import { ShippingZoneFragment } from "@saleor/fragments/types/ShippingZoneFragment";
|
||||||
|
|
||||||
import { ShippingMethodTypeEnum } from "../types/globalTypes";
|
import { ShippingMethodTypeEnum, WeightUnitsEnum } from "../types/globalTypes";
|
||||||
|
|
||||||
export const shippingZones: ShippingZoneFragment[] = [
|
export const shippingZones: ShippingZoneFragment[] = [
|
||||||
{
|
{
|
||||||
|
@ -1554,7 +1554,7 @@ export const shippingZone: ShippingZoneDetailsFragment = {
|
||||||
maximumOrderPrice: null,
|
maximumOrderPrice: null,
|
||||||
maximumOrderWeight: {
|
maximumOrderWeight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: "kg",
|
unit: WeightUnitsEnum.KG,
|
||||||
value: 80
|
value: 80
|
||||||
},
|
},
|
||||||
minimumOrderPrice: {
|
minimumOrderPrice: {
|
||||||
|
@ -1564,7 +1564,7 @@ export const shippingZone: ShippingZoneDetailsFragment = {
|
||||||
},
|
},
|
||||||
minimumOrderWeight: {
|
minimumOrderWeight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: "kg",
|
unit: WeightUnitsEnum.KG,
|
||||||
value: 0
|
value: 0
|
||||||
},
|
},
|
||||||
name: "DB Schenker",
|
name: "DB Schenker",
|
||||||
|
@ -1587,7 +1587,7 @@ export const shippingZone: ShippingZoneDetailsFragment = {
|
||||||
},
|
},
|
||||||
minimumOrderWeight: {
|
minimumOrderWeight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: "kg",
|
unit: WeightUnitsEnum.KG,
|
||||||
value: 0
|
value: 0
|
||||||
},
|
},
|
||||||
name: "Registred priority",
|
name: "Registred priority",
|
||||||
|
@ -1610,7 +1610,7 @@ export const shippingZone: ShippingZoneDetailsFragment = {
|
||||||
},
|
},
|
||||||
minimumOrderWeight: {
|
minimumOrderWeight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: "kg",
|
unit: WeightUnitsEnum.KG,
|
||||||
value: 0
|
value: 0
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -1634,7 +1634,7 @@ export const shippingZone: ShippingZoneDetailsFragment = {
|
||||||
},
|
},
|
||||||
minimumOrderWeight: {
|
minimumOrderWeight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: "kg",
|
unit: WeightUnitsEnum.KG,
|
||||||
value: 0
|
value: 0
|
||||||
},
|
},
|
||||||
name: "DHL",
|
name: "DHL",
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ShippingPriceInput, ShippingErrorCode, ShippingMethodTypeEnum } from "./../../types/globalTypes";
|
import { ShippingPriceInput, ShippingErrorCode, WeightUnitsEnum, ShippingMethodTypeEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: CreateShippingRate
|
// GraphQL mutation operation: CreateShippingRate
|
||||||
|
@ -28,7 +28,7 @@ export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMet
|
||||||
|
|
||||||
export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_minimumOrderWeight {
|
export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_minimumOrderWeight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMet
|
||||||
|
|
||||||
export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_maximumOrderWeight {
|
export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_maximumOrderWeight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ShippingErrorCode, ShippingMethodTypeEnum } from "./../../types/globalTypes";
|
import { ShippingErrorCode, WeightUnitsEnum, ShippingMethodTypeEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: DeleteShippingRate
|
// GraphQL mutation operation: DeleteShippingRate
|
||||||
|
@ -28,7 +28,7 @@ export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMet
|
||||||
|
|
||||||
export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_minimumOrderWeight {
|
export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_minimumOrderWeight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMet
|
||||||
|
|
||||||
export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_maximumOrderWeight {
|
export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_maximumOrderWeight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ShippingMethodTypeEnum } from "./../../types/globalTypes";
|
import { WeightUnitsEnum, ShippingMethodTypeEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL query operation: ShippingZone
|
// GraphQL query operation: ShippingZone
|
||||||
|
@ -22,7 +22,7 @@ export interface ShippingZone_shippingZone_shippingMethods_minimumOrderPrice {
|
||||||
|
|
||||||
export interface ShippingZone_shippingZone_shippingMethods_minimumOrderWeight {
|
export interface ShippingZone_shippingZone_shippingMethods_minimumOrderWeight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ export interface ShippingZone_shippingZone_shippingMethods_maximumOrderPrice {
|
||||||
|
|
||||||
export interface ShippingZone_shippingZone_shippingMethods_maximumOrderWeight {
|
export interface ShippingZone_shippingZone_shippingMethods_maximumOrderWeight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { ShippingPriceInput, ShippingErrorCode, ShippingMethodTypeEnum } from "./../../types/globalTypes";
|
import { ShippingPriceInput, ShippingErrorCode, WeightUnitsEnum, ShippingMethodTypeEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: UpdateShippingRate
|
// GraphQL mutation operation: UpdateShippingRate
|
||||||
|
@ -22,7 +22,7 @@ export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod_minimumOr
|
||||||
|
|
||||||
export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod_minimumOrderWeight {
|
export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod_minimumOrderWeight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod_maximumOr
|
||||||
|
|
||||||
export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod_maximumOrderWeight {
|
export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod_maximumOrderWeight {
|
||||||
__typename: "Weight";
|
__typename: "Weight";
|
||||||
unit: string;
|
unit: WeightUnitsEnum;
|
||||||
value: number;
|
value: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12289,6 +12289,29 @@ exports[`Storyshots Views / Apps / Webhooks / Create webhook default 1`] = `
|
||||||
<hr
|
<hr
|
||||||
class="Hr-root-id"
|
class="Hr-root-id"
|
||||||
/>
|
/>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id"
|
||||||
|
name="CHECKOUT_CREATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout created
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
@ -12312,6 +12335,29 @@ exports[`Storyshots Views / Apps / Webhooks / Create webhook default 1`] = `
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id"
|
||||||
|
name="CHECKOUT_UPDATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout updated
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
@ -12883,6 +12929,29 @@ exports[`Storyshots Views / Apps / Webhooks / Create webhook form errors 1`] = `
|
||||||
<hr
|
<hr
|
||||||
class="Hr-root-id"
|
class="Hr-root-id"
|
||||||
/>
|
/>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id"
|
||||||
|
name="CHECKOUT_CREATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout created
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
@ -12906,6 +12975,29 @@ exports[`Storyshots Views / Apps / Webhooks / Create webhook form errors 1`] = `
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id"
|
||||||
|
name="CHECKOUT_UPDATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout updated
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
@ -13477,6 +13569,31 @@ exports[`Storyshots Views / Apps / Webhooks / Create webhook loading 1`] = `
|
||||||
<hr
|
<hr
|
||||||
class="Hr-root-id"
|
class="Hr-root-id"
|
||||||
/>
|
/>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id MuiButtonBase-disabled-id"
|
||||||
|
disabled=""
|
||||||
|
tabindex="-1"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id Checkbox-disabled-id"
|
||||||
|
disabled=""
|
||||||
|
name="CHECKOUT_CREATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout created
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||||
|
@ -13502,6 +13619,31 @@ exports[`Storyshots Views / Apps / Webhooks / Create webhook loading 1`] = `
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id MuiButtonBase-disabled-id"
|
||||||
|
disabled=""
|
||||||
|
tabindex="-1"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id Checkbox-disabled-id"
|
||||||
|
disabled=""
|
||||||
|
name="CHECKOUT_UPDATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout updated
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||||
|
@ -14104,6 +14246,29 @@ exports[`Storyshots Views / Apps / Webhooks / Webhook details default 1`] = `
|
||||||
<hr
|
<hr
|
||||||
class="Hr-root-id"
|
class="Hr-root-id"
|
||||||
/>
|
/>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id"
|
||||||
|
name="CHECKOUT_CREATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout created
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
@ -14127,6 +14292,29 @@ exports[`Storyshots Views / Apps / Webhooks / Webhook details default 1`] = `
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id"
|
||||||
|
name="CHECKOUT_UPDATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout updated
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
@ -14698,6 +14886,29 @@ exports[`Storyshots Views / Apps / Webhooks / Webhook details form errors 1`] =
|
||||||
<hr
|
<hr
|
||||||
class="Hr-root-id"
|
class="Hr-root-id"
|
||||||
/>
|
/>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id"
|
||||||
|
name="CHECKOUT_CREATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout created
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
@ -14721,6 +14932,29 @@ exports[`Storyshots Views / Apps / Webhooks / Webhook details form errors 1`] =
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id"
|
||||||
|
name="CHECKOUT_UPDATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout updated
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
@ -15292,6 +15526,31 @@ exports[`Storyshots Views / Apps / Webhooks / Webhook details loading 1`] = `
|
||||||
<hr
|
<hr
|
||||||
class="Hr-root-id"
|
class="Hr-root-id"
|
||||||
/>
|
/>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id MuiButtonBase-disabled-id"
|
||||||
|
disabled=""
|
||||||
|
tabindex="-1"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id Checkbox-disabled-id"
|
||||||
|
disabled=""
|
||||||
|
name="CHECKOUT_CREATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout created
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||||
|
@ -15317,6 +15576,31 @@ exports[`Storyshots Views / Apps / Webhooks / Webhook details loading 1`] = `
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id MuiButtonBase-disabled-id"
|
||||||
|
disabled=""
|
||||||
|
tabindex="-1"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id Checkbox-disabled-id"
|
||||||
|
disabled=""
|
||||||
|
name="CHECKOUT_UPDATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout updated
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||||
|
@ -15907,6 +16191,29 @@ exports[`Storyshots Views / Apps / Webhooks / Webhook details unnamed 1`] = `
|
||||||
<hr
|
<hr
|
||||||
class="Hr-root-id"
|
class="Hr-root-id"
|
||||||
/>
|
/>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id"
|
||||||
|
name="CHECKOUT_CREATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout created
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
@ -15930,6 +16237,29 @@ exports[`Storyshots Views / Apps / Webhooks / Webhook details unnamed 1`] = `
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<label
|
||||||
|
class="MuiFormControlLabel-root-id"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Checkbox-root-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="Checkbox-box-id"
|
||||||
|
name="CHECKOUT_UPDATED"
|
||||||
|
type="checkbox"
|
||||||
|
value="false"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<span
|
||||||
|
class="MuiTypography-root-id MuiFormControlLabel-label-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Checkout updated
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
@ -124058,7 +124388,7 @@ Ctrl + K"
|
||||||
<div
|
<div
|
||||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
kg
|
KG
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<fieldset
|
<fieldset
|
||||||
|
@ -125933,7 +126263,7 @@ Ctrl + K"
|
||||||
<div
|
<div
|
||||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
kg
|
KG
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<fieldset
|
<fieldset
|
||||||
|
@ -132432,7 +132762,7 @@ Ctrl + K"
|
||||||
<div
|
<div
|
||||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
kg
|
KG
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<fieldset
|
<fieldset
|
||||||
|
@ -139525,7 +139855,7 @@ exports[`Storyshots Views / Products / Product variant details attribute errors
|
||||||
<div
|
<div
|
||||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
kg
|
KG
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<fieldset
|
<fieldset
|
||||||
|
@ -140490,7 +140820,7 @@ exports[`Storyshots Views / Products / Product variant details when loaded data
|
||||||
<div
|
<div
|
||||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
kg
|
KG
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<fieldset
|
<fieldset
|
||||||
|
@ -142485,7 +142815,7 @@ exports[`Storyshots Views / Shipping / Shipping zone details default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||||
>
|
>
|
||||||
0 kg - 80 kg
|
0 KG - 80 KG
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||||
|
@ -142554,7 +142884,7 @@ exports[`Storyshots Views / Shipping / Shipping zone details default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||||
>
|
>
|
||||||
from 0 kg
|
from 0 KG
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||||
|
@ -143280,7 +143610,7 @@ exports[`Storyshots Views / Shipping / Shipping zone details form errors 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||||
>
|
>
|
||||||
0 kg - 80 kg
|
0 KG - 80 KG
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||||
|
@ -143349,7 +143679,7 @@ exports[`Storyshots Views / Shipping / Shipping zone details form errors 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||||
>
|
>
|
||||||
from 0 kg
|
from 0 KG
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||||
|
|
|
@ -865,7 +865,9 @@ export enum WebhookErrorCode {
|
||||||
|
|
||||||
export enum WebhookEventTypeEnum {
|
export enum WebhookEventTypeEnum {
|
||||||
ANY_EVENTS = "ANY_EVENTS",
|
ANY_EVENTS = "ANY_EVENTS",
|
||||||
|
CHECKOUT_CREATED = "CHECKOUT_CREATED",
|
||||||
CHECKOUT_QUANTITY_CHANGED = "CHECKOUT_QUANTITY_CHANGED",
|
CHECKOUT_QUANTITY_CHANGED = "CHECKOUT_QUANTITY_CHANGED",
|
||||||
|
CHECKOUT_UPDATED = "CHECKOUT_UPDATED",
|
||||||
CUSTOMER_CREATED = "CUSTOMER_CREATED",
|
CUSTOMER_CREATED = "CUSTOMER_CREATED",
|
||||||
FULFILLMENT_CREATED = "FULFILLMENT_CREATED",
|
FULFILLMENT_CREATED = "FULFILLMENT_CREATED",
|
||||||
INVOICE_DELETED = "INVOICE_DELETED",
|
INVOICE_DELETED = "INVOICE_DELETED",
|
||||||
|
|
|
@ -32,6 +32,14 @@ const WebhookEvents: React.FC<WebhookEventsProps> = ({
|
||||||
defaultMessage: "All events",
|
defaultMessage: "All events",
|
||||||
description: "event"
|
description: "event"
|
||||||
}),
|
}),
|
||||||
|
[WebhookEventTypeEnum.CHECKOUT_CREATED]: intl.formatMessage({
|
||||||
|
defaultMessage: "Checkout created",
|
||||||
|
description: "event"
|
||||||
|
}),
|
||||||
|
[WebhookEventTypeEnum.CHECKOUT_UPDATED]: intl.formatMessage({
|
||||||
|
defaultMessage: "Checkout updated",
|
||||||
|
description: "event"
|
||||||
|
}),
|
||||||
[WebhookEventTypeEnum.CUSTOMER_CREATED]: intl.formatMessage({
|
[WebhookEventTypeEnum.CUSTOMER_CREATED]: intl.formatMessage({
|
||||||
defaultMessage: "Customer created",
|
defaultMessage: "Customer created",
|
||||||
description: "event"
|
description: "event"
|
||||||
|
|
Loading…
Reference in a new issue