|
@@ -687,6 +687,7 @@ export interface Mutation {
|
|
|
removeCustomersFromGroup: CustomerGroup;
|
|
removeCustomersFromGroup: CustomerGroup;
|
|
|
createCustomer: Customer;
|
|
createCustomer: Customer;
|
|
|
updateCustomer: Customer;
|
|
updateCustomer: Customer;
|
|
|
|
|
+ deleteCustomer: boolean;
|
|
|
createCustomerAddress: Address;
|
|
createCustomerAddress: Address;
|
|
|
updateCustomerAddress: Address;
|
|
updateCustomerAddress: Address;
|
|
|
createFacet: Facet;
|
|
createFacet: Facet;
|
|
@@ -711,6 +712,7 @@ export interface Mutation {
|
|
|
updateProductOptionGroup: ProductOptionGroup;
|
|
updateProductOptionGroup: ProductOptionGroup;
|
|
|
createProduct: Product;
|
|
createProduct: Product;
|
|
|
updateProduct: Product;
|
|
updateProduct: Product;
|
|
|
|
|
+ deleteProduct?: boolean | null;
|
|
|
addOptionGroupToProduct: Product;
|
|
addOptionGroupToProduct: Product;
|
|
|
removeOptionGroupFromProduct: Product;
|
|
removeOptionGroupFromProduct: Product;
|
|
|
generateVariantsForProduct: Product;
|
|
generateVariantsForProduct: Product;
|
|
@@ -1669,6 +1671,9 @@ export interface CreateCustomerMutationArgs {
|
|
|
export interface UpdateCustomerMutationArgs {
|
|
export interface UpdateCustomerMutationArgs {
|
|
|
input: UpdateCustomerInput;
|
|
input: UpdateCustomerInput;
|
|
|
}
|
|
}
|
|
|
|
|
+export interface DeleteCustomerMutationArgs {
|
|
|
|
|
+ id: string;
|
|
|
|
|
+}
|
|
|
export interface CreateCustomerAddressMutationArgs {
|
|
export interface CreateCustomerAddressMutationArgs {
|
|
|
customerId: string;
|
|
customerId: string;
|
|
|
input: CreateAddressInput;
|
|
input: CreateAddressInput;
|
|
@@ -1744,6 +1749,9 @@ export interface CreateProductMutationArgs {
|
|
|
export interface UpdateProductMutationArgs {
|
|
export interface UpdateProductMutationArgs {
|
|
|
input: UpdateProductInput;
|
|
input: UpdateProductInput;
|
|
|
}
|
|
}
|
|
|
|
|
+export interface DeleteProductMutationArgs {
|
|
|
|
|
+ id: string;
|
|
|
|
|
+}
|
|
|
export interface AddOptionGroupToProductMutationArgs {
|
|
export interface AddOptionGroupToProductMutationArgs {
|
|
|
productId: string;
|
|
productId: string;
|
|
|
optionGroupId: string;
|
|
optionGroupId: string;
|
|
@@ -4397,6 +4405,7 @@ export namespace MutationResolvers {
|
|
|
removeCustomersFromGroup?: RemoveCustomersFromGroupResolver<CustomerGroup, any, Context>;
|
|
removeCustomersFromGroup?: RemoveCustomersFromGroupResolver<CustomerGroup, any, Context>;
|
|
|
createCustomer?: CreateCustomerResolver<Customer, any, Context>;
|
|
createCustomer?: CreateCustomerResolver<Customer, any, Context>;
|
|
|
updateCustomer?: UpdateCustomerResolver<Customer, any, Context>;
|
|
updateCustomer?: UpdateCustomerResolver<Customer, any, Context>;
|
|
|
|
|
+ deleteCustomer?: DeleteCustomerResolver<boolean, any, Context>;
|
|
|
createCustomerAddress?: CreateCustomerAddressResolver<Address, any, Context>;
|
|
createCustomerAddress?: CreateCustomerAddressResolver<Address, any, Context>;
|
|
|
updateCustomerAddress?: UpdateCustomerAddressResolver<Address, any, Context>;
|
|
updateCustomerAddress?: UpdateCustomerAddressResolver<Address, any, Context>;
|
|
|
createFacet?: CreateFacetResolver<Facet, any, Context>;
|
|
createFacet?: CreateFacetResolver<Facet, any, Context>;
|
|
@@ -4421,6 +4430,7 @@ export namespace MutationResolvers {
|
|
|
updateProductOptionGroup?: UpdateProductOptionGroupResolver<ProductOptionGroup, any, Context>;
|
|
updateProductOptionGroup?: UpdateProductOptionGroupResolver<ProductOptionGroup, any, Context>;
|
|
|
createProduct?: CreateProductResolver<Product, any, Context>;
|
|
createProduct?: CreateProductResolver<Product, any, Context>;
|
|
|
updateProduct?: UpdateProductResolver<Product, any, Context>;
|
|
updateProduct?: UpdateProductResolver<Product, any, Context>;
|
|
|
|
|
+ deleteProduct?: DeleteProductResolver<boolean | null, any, Context>;
|
|
|
addOptionGroupToProduct?: AddOptionGroupToProductResolver<Product, any, Context>;
|
|
addOptionGroupToProduct?: AddOptionGroupToProductResolver<Product, any, Context>;
|
|
|
removeOptionGroupFromProduct?: RemoveOptionGroupFromProductResolver<Product, any, Context>;
|
|
removeOptionGroupFromProduct?: RemoveOptionGroupFromProductResolver<Product, any, Context>;
|
|
|
generateVariantsForProduct?: GenerateVariantsForProductResolver<Product, any, Context>;
|
|
generateVariantsForProduct?: GenerateVariantsForProductResolver<Product, any, Context>;
|
|
@@ -4635,6 +4645,16 @@ export namespace MutationResolvers {
|
|
|
input: UpdateCustomerInput;
|
|
input: UpdateCustomerInput;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ export type DeleteCustomerResolver<R = boolean, Parent = any, Context = any> = Resolver<
|
|
|
|
|
+ R,
|
|
|
|
|
+ Parent,
|
|
|
|
|
+ Context,
|
|
|
|
|
+ DeleteCustomerArgs
|
|
|
|
|
+ >;
|
|
|
|
|
+ export interface DeleteCustomerArgs {
|
|
|
|
|
+ id: string;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
export type CreateCustomerAddressResolver<R = Address, Parent = any, Context = any> = Resolver<
|
|
export type CreateCustomerAddressResolver<R = Address, Parent = any, Context = any> = Resolver<
|
|
|
R,
|
|
R,
|
|
|
Parent,
|
|
Parent,
|
|
@@ -4876,6 +4896,16 @@ export namespace MutationResolvers {
|
|
|
input: UpdateProductInput;
|
|
input: UpdateProductInput;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ export type DeleteProductResolver<R = boolean | null, Parent = any, Context = any> = Resolver<
|
|
|
|
|
+ R,
|
|
|
|
|
+ Parent,
|
|
|
|
|
+ Context,
|
|
|
|
|
+ DeleteProductArgs
|
|
|
|
|
+ >;
|
|
|
|
|
+ export interface DeleteProductArgs {
|
|
|
|
|
+ id: string;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
export type AddOptionGroupToProductResolver<R = Product, Parent = any, Context = any> = Resolver<
|
|
export type AddOptionGroupToProductResolver<R = Product, Parent = any, Context = any> = Resolver<
|
|
|
R,
|
|
R,
|
|
|
Parent,
|
|
Parent,
|