|
@@ -650,7 +650,6 @@ export interface Mutation {
|
|
|
removeOptionGroupFromProduct: Product;
|
|
removeOptionGroupFromProduct: Product;
|
|
|
generateVariantsForProduct: Product;
|
|
generateVariantsForProduct: Product;
|
|
|
updateProductVariants: (ProductVariant | null)[];
|
|
updateProductVariants: (ProductVariant | null)[];
|
|
|
- applyFacetValuesToProductVariants: ProductVariant[];
|
|
|
|
|
createPromotion: Promotion;
|
|
createPromotion: Promotion;
|
|
|
updatePromotion: Promotion;
|
|
updatePromotion: Promotion;
|
|
|
createRole: Role;
|
|
createRole: Role;
|
|
@@ -1651,10 +1650,6 @@ export interface GenerateVariantsForProductMutationArgs {
|
|
|
export interface UpdateProductVariantsMutationArgs {
|
|
export interface UpdateProductVariantsMutationArgs {
|
|
|
input: UpdateProductVariantInput[];
|
|
input: UpdateProductVariantInput[];
|
|
|
}
|
|
}
|
|
|
-export interface ApplyFacetValuesToProductVariantsMutationArgs {
|
|
|
|
|
- facetValueIds: string[];
|
|
|
|
|
- productVariantIds: string[];
|
|
|
|
|
-}
|
|
|
|
|
export interface CreatePromotionMutationArgs {
|
|
export interface CreatePromotionMutationArgs {
|
|
|
input: CreatePromotionInput;
|
|
input: CreatePromotionInput;
|
|
|
}
|
|
}
|
|
@@ -3905,11 +3900,6 @@ export namespace MutationResolvers {
|
|
|
removeOptionGroupFromProduct?: RemoveOptionGroupFromProductResolver<Product, any, Context>;
|
|
removeOptionGroupFromProduct?: RemoveOptionGroupFromProductResolver<Product, any, Context>;
|
|
|
generateVariantsForProduct?: GenerateVariantsForProductResolver<Product, any, Context>;
|
|
generateVariantsForProduct?: GenerateVariantsForProductResolver<Product, any, Context>;
|
|
|
updateProductVariants?: UpdateProductVariantsResolver<(ProductVariant | null)[], any, Context>;
|
|
updateProductVariants?: UpdateProductVariantsResolver<(ProductVariant | null)[], any, Context>;
|
|
|
- applyFacetValuesToProductVariants?: ApplyFacetValuesToProductVariantsResolver<
|
|
|
|
|
- ProductVariant[],
|
|
|
|
|
- any,
|
|
|
|
|
- Context
|
|
|
|
|
- >;
|
|
|
|
|
createPromotion?: CreatePromotionResolver<Promotion, any, Context>;
|
|
createPromotion?: CreatePromotionResolver<Promotion, any, Context>;
|
|
|
updatePromotion?: UpdatePromotionResolver<Promotion, any, Context>;
|
|
updatePromotion?: UpdatePromotionResolver<Promotion, any, Context>;
|
|
|
createRole?: CreateRoleResolver<Role, any, Context>;
|
|
createRole?: CreateRoleResolver<Role, any, Context>;
|
|
@@ -4384,16 +4374,6 @@ export namespace MutationResolvers {
|
|
|
input: UpdateProductVariantInput[];
|
|
input: UpdateProductVariantInput[];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- export type ApplyFacetValuesToProductVariantsResolver<
|
|
|
|
|
- R = ProductVariant[],
|
|
|
|
|
- Parent = any,
|
|
|
|
|
- Context = any
|
|
|
|
|
- > = Resolver<R, Parent, Context, ApplyFacetValuesToProductVariantsArgs>;
|
|
|
|
|
- export interface ApplyFacetValuesToProductVariantsArgs {
|
|
|
|
|
- facetValueIds: string[];
|
|
|
|
|
- productVariantIds: string[];
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
export type CreatePromotionResolver<R = Promotion, Parent = any, Context = any> = Resolver<
|
|
export type CreatePromotionResolver<R = Promotion, Parent = any, Context = any> = Resolver<
|
|
|
R,
|
|
R,
|
|
|
Parent,
|
|
Parent,
|
|
@@ -5207,20 +5187,6 @@ export namespace RemoveOptionGroupFromProduct {
|
|
|
};
|
|
};
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export namespace ApplyFacetValuesToProductVariants {
|
|
|
|
|
- export type Variables = {
|
|
|
|
|
- facetValueIds: string[];
|
|
|
|
|
- productVariantIds: string[];
|
|
|
|
|
- };
|
|
|
|
|
-
|
|
|
|
|
- export type Mutation = {
|
|
|
|
|
- __typename?: 'Mutation';
|
|
|
|
|
- applyFacetValuesToProductVariants: ApplyFacetValuesToProductVariants[];
|
|
|
|
|
- };
|
|
|
|
|
-
|
|
|
|
|
- export type ApplyFacetValuesToProductVariants = ProductVariant.Fragment;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
export namespace GetProductWithVariants {
|
|
export namespace GetProductWithVariants {
|
|
|
export type Variables = {
|
|
export type Variables = {
|
|
|
id: string;
|
|
id: string;
|