|
|
@@ -1611,6 +1611,8 @@ export type Job = Node & {
|
|
|
error?: Maybe<Scalars['JSON']>;
|
|
|
isSettled: Scalars['Boolean'];
|
|
|
duration: Scalars['Int'];
|
|
|
+ retries: Scalars['Int'];
|
|
|
+ attempts: Scalars['Int'];
|
|
|
};
|
|
|
|
|
|
export type JobFilterParameter = {
|
|
|
@@ -1622,6 +1624,8 @@ export type JobFilterParameter = {
|
|
|
progress?: Maybe<NumberOperators>;
|
|
|
isSettled?: Maybe<BooleanOperators>;
|
|
|
duration?: Maybe<NumberOperators>;
|
|
|
+ retries?: Maybe<NumberOperators>;
|
|
|
+ attempts?: Maybe<NumberOperators>;
|
|
|
};
|
|
|
|
|
|
export type JobList = PaginatedList & {
|
|
|
@@ -1649,6 +1653,8 @@ export type JobSortParameter = {
|
|
|
queueName?: Maybe<SortOrder>;
|
|
|
progress?: Maybe<SortOrder>;
|
|
|
duration?: Maybe<SortOrder>;
|
|
|
+ retries?: Maybe<SortOrder>;
|
|
|
+ attempts?: Maybe<SortOrder>;
|
|
|
};
|
|
|
|
|
|
/**
|
|
|
@@ -3351,7 +3357,10 @@ export type Product = Node & {
|
|
|
description: Scalars['String'];
|
|
|
featuredAsset?: Maybe<Asset>;
|
|
|
assets: Array<Asset>;
|
|
|
+ /** Returns all ProductVariants */
|
|
|
variants: Array<ProductVariant>;
|
|
|
+ /** Returns a paginated, sortable, filterable list of ProductVariants */
|
|
|
+ variantList: ProductVariantList;
|
|
|
optionGroups: Array<ProductOptionGroup>;
|
|
|
facetValues: Array<FacetValue>;
|
|
|
translations: Array<ProductTranslation>;
|
|
|
@@ -3359,6 +3368,10 @@ export type Product = Node & {
|
|
|
customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
+export type ProductVariantListArgs = {
|
|
|
+ options?: Maybe<ProductVariantListOptions>;
|
|
|
+};
|
|
|
+
|
|
|
export type ProductFilterParameter = {
|
|
|
enabled?: Maybe<BooleanOperators>;
|
|
|
createdAt?: Maybe<DateOperators>;
|
|
|
@@ -6502,6 +6515,19 @@ export type GetProductVariantListQuery = {
|
|
|
};
|
|
|
};
|
|
|
|
|
|
+export type GetProductWithVariantListQueryVariables = Exact<{
|
|
|
+ id?: Maybe<Scalars['ID']>;
|
|
|
+ variantListOptions?: Maybe<ProductVariantListOptions>;
|
|
|
+}>;
|
|
|
+
|
|
|
+export type GetProductWithVariantListQuery = {
|
|
|
+ product?: Maybe<
|
|
|
+ Pick<Product, 'id'> & {
|
|
|
+ variantList: Pick<ProductVariantList, 'totalItems'> & { items: Array<ProductVariantFragment> };
|
|
|
+ }
|
|
|
+ >;
|
|
|
+};
|
|
|
+
|
|
|
export type DeletePromotionMutationVariables = Exact<{
|
|
|
id: Scalars['ID'];
|
|
|
}>;
|
|
|
@@ -8824,6 +8850,20 @@ export namespace GetProductVariantList {
|
|
|
>;
|
|
|
}
|
|
|
|
|
|
+export namespace GetProductWithVariantList {
|
|
|
+ export type Variables = GetProductWithVariantListQueryVariables;
|
|
|
+ export type Query = GetProductWithVariantListQuery;
|
|
|
+ export type Product = NonNullable<GetProductWithVariantListQuery['product']>;
|
|
|
+ export type VariantList = NonNullable<
|
|
|
+ NonNullable<GetProductWithVariantListQuery['product']>['variantList']
|
|
|
+ >;
|
|
|
+ export type Items = NonNullable<
|
|
|
+ NonNullable<
|
|
|
+ NonNullable<NonNullable<GetProductWithVariantListQuery['product']>['variantList']>['items']
|
|
|
+ >[number]
|
|
|
+ >;
|
|
|
+}
|
|
|
+
|
|
|
export namespace DeletePromotion {
|
|
|
export type Variables = DeletePromotionMutationVariables;
|
|
|
export type Mutation = DeletePromotionMutation;
|