|
|
@@ -70,6 +70,8 @@ export type Query = {
|
|
|
fulfillmentHandlers: Array<ConfigurableOperationDefinition>;
|
|
|
testShippingMethod: TestShippingMethodResult;
|
|
|
testEligibleShippingMethods: Array<ShippingMethodQuote>;
|
|
|
+ tag: Tag;
|
|
|
+ tags: TagList;
|
|
|
taxCategories: Array<TaxCategory>;
|
|
|
taxCategory?: Maybe<TaxCategory>;
|
|
|
taxRates: TaxRateList;
|
|
|
@@ -224,6 +226,14 @@ export type QueryTestEligibleShippingMethodsArgs = {
|
|
|
input: TestEligibleShippingMethodsInput;
|
|
|
};
|
|
|
|
|
|
+export type QueryTagArgs = {
|
|
|
+ id: Scalars['ID'];
|
|
|
+};
|
|
|
+
|
|
|
+export type QueryTagsArgs = {
|
|
|
+ options?: Maybe<TagListOptions>;
|
|
|
+};
|
|
|
+
|
|
|
export type QueryTaxCategoryArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
@@ -399,6 +409,12 @@ export type Mutation = {
|
|
|
updateShippingMethod: ShippingMethod;
|
|
|
/** Delete a ShippingMethod */
|
|
|
deleteShippingMethod: DeletionResponse;
|
|
|
+ /** Create a new Tag */
|
|
|
+ createTag: Tag;
|
|
|
+ /** Update an existing Tag */
|
|
|
+ updateTag: Tag;
|
|
|
+ /** Delete an existing Tag */
|
|
|
+ deleteTag: DeletionResponse;
|
|
|
/** Create a new TaxCategory */
|
|
|
createTaxCategory: TaxCategory;
|
|
|
/** Update an existing TaxCategory */
|
|
|
@@ -776,6 +792,18 @@ export type MutationDeleteShippingMethodArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
|
|
|
+export type MutationCreateTagArgs = {
|
|
|
+ input: CreateTagInput;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationUpdateTagArgs = {
|
|
|
+ input: UpdateTagInput;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationDeleteTagArgs = {
|
|
|
+ id: Scalars['ID'];
|
|
|
+};
|
|
|
+
|
|
|
export type MutationCreateTaxCategoryArgs = {
|
|
|
input: CreateTaxCategoryInput;
|
|
|
};
|
|
|
@@ -2139,6 +2167,15 @@ export type StockMovementList = {
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
|
|
|
+export type CreateTagInput = {
|
|
|
+ value: Scalars['String'];
|
|
|
+};
|
|
|
+
|
|
|
+export type UpdateTagInput = {
|
|
|
+ id: Scalars['ID'];
|
|
|
+ value?: Maybe<Scalars['String']>;
|
|
|
+};
|
|
|
+
|
|
|
export type CreateTaxCategoryInput = {
|
|
|
name: Scalars['String'];
|
|
|
};
|
|
|
@@ -3836,6 +3873,11 @@ export type Tag = Node & {
|
|
|
value: Scalars['String'];
|
|
|
};
|
|
|
|
|
|
+export type TagList = PaginatedList & {
|
|
|
+ items: Array<Tag>;
|
|
|
+ totalItems: Scalars['Int'];
|
|
|
+};
|
|
|
+
|
|
|
export type TaxCategory = Node & {
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
@@ -3978,6 +4020,13 @@ export type ShippingMethodListOptions = {
|
|
|
filter?: Maybe<ShippingMethodFilterParameter>;
|
|
|
};
|
|
|
|
|
|
+export type TagListOptions = {
|
|
|
+ skip?: Maybe<Scalars['Int']>;
|
|
|
+ take?: Maybe<Scalars['Int']>;
|
|
|
+ sort?: Maybe<TagSortParameter>;
|
|
|
+ filter?: Maybe<TagFilterParameter>;
|
|
|
+};
|
|
|
+
|
|
|
export type TaxRateListOptions = {
|
|
|
skip?: Maybe<Scalars['Int']>;
|
|
|
take?: Maybe<Scalars['Int']>;
|
|
|
@@ -4274,6 +4323,19 @@ export type ShippingMethodSortParameter = {
|
|
|
fulfillmentHandlerCode?: Maybe<SortOrder>;
|
|
|
};
|
|
|
|
|
|
+export type TagFilterParameter = {
|
|
|
+ createdAt?: Maybe<DateOperators>;
|
|
|
+ updatedAt?: Maybe<DateOperators>;
|
|
|
+ value?: Maybe<StringOperators>;
|
|
|
+};
|
|
|
+
|
|
|
+export type TagSortParameter = {
|
|
|
+ id?: Maybe<SortOrder>;
|
|
|
+ createdAt?: Maybe<SortOrder>;
|
|
|
+ updatedAt?: Maybe<SortOrder>;
|
|
|
+ value?: Maybe<SortOrder>;
|
|
|
+};
|
|
|
+
|
|
|
export type TaxRateFilterParameter = {
|
|
|
createdAt?: Maybe<DateOperators>;
|
|
|
updatedAt?: Maybe<DateOperators>;
|
|
|
@@ -6143,6 +6205,38 @@ export type UpdateStockMutationVariables = Exact<{
|
|
|
|
|
|
export type UpdateStockMutation = { updateProductVariants: Array<Maybe<VariantWithStockFragment>> };
|
|
|
|
|
|
+export type GetTagListQueryVariables = Exact<{
|
|
|
+ options?: Maybe<TagListOptions>;
|
|
|
+}>;
|
|
|
+
|
|
|
+export type GetTagListQuery = {
|
|
|
+ tags: Pick<TagList, 'totalItems'> & { items: Array<Pick<Tag, 'id' | 'value'>> };
|
|
|
+};
|
|
|
+
|
|
|
+export type GetTagQueryVariables = Exact<{
|
|
|
+ id: Scalars['ID'];
|
|
|
+}>;
|
|
|
+
|
|
|
+export type GetTagQuery = { tag: Pick<Tag, 'id' | 'value'> };
|
|
|
+
|
|
|
+export type CreateTagMutationVariables = Exact<{
|
|
|
+ input: CreateTagInput;
|
|
|
+}>;
|
|
|
+
|
|
|
+export type CreateTagMutation = { createTag: Pick<Tag, 'id' | 'value'> };
|
|
|
+
|
|
|
+export type UpdateTagMutationVariables = Exact<{
|
|
|
+ input: UpdateTagInput;
|
|
|
+}>;
|
|
|
+
|
|
|
+export type UpdateTagMutation = { updateTag: Pick<Tag, 'id' | 'value'> };
|
|
|
+
|
|
|
+export type DeleteTagMutationVariables = Exact<{
|
|
|
+ id: Scalars['ID'];
|
|
|
+}>;
|
|
|
+
|
|
|
+export type DeleteTagMutation = { deleteTag: Pick<DeletionResponse, 'message' | 'result'> };
|
|
|
+
|
|
|
export type GetTaxCategoryListQueryVariables = Exact<{ [key: string]: never }>;
|
|
|
|
|
|
export type GetTaxCategoryListQuery = { taxCategories: Array<Pick<TaxCategory, 'id' | 'name'>> };
|
|
|
@@ -8213,6 +8307,37 @@ export namespace UpdateStock {
|
|
|
>;
|
|
|
}
|
|
|
|
|
|
+export namespace GetTagList {
|
|
|
+ export type Variables = GetTagListQueryVariables;
|
|
|
+ export type Query = GetTagListQuery;
|
|
|
+ export type Tags = NonNullable<GetTagListQuery['tags']>;
|
|
|
+ export type Items = NonNullable<NonNullable<NonNullable<GetTagListQuery['tags']>['items']>[number]>;
|
|
|
+}
|
|
|
+
|
|
|
+export namespace GetTag {
|
|
|
+ export type Variables = GetTagQueryVariables;
|
|
|
+ export type Query = GetTagQuery;
|
|
|
+ export type Tag = NonNullable<GetTagQuery['tag']>;
|
|
|
+}
|
|
|
+
|
|
|
+export namespace CreateTag {
|
|
|
+ export type Variables = CreateTagMutationVariables;
|
|
|
+ export type Mutation = CreateTagMutation;
|
|
|
+ export type CreateTag = NonNullable<CreateTagMutation['createTag']>;
|
|
|
+}
|
|
|
+
|
|
|
+export namespace UpdateTag {
|
|
|
+ export type Variables = UpdateTagMutationVariables;
|
|
|
+ export type Mutation = UpdateTagMutation;
|
|
|
+ export type UpdateTag = NonNullable<UpdateTagMutation['updateTag']>;
|
|
|
+}
|
|
|
+
|
|
|
+export namespace DeleteTag {
|
|
|
+ export type Variables = DeleteTagMutationVariables;
|
|
|
+ export type Mutation = DeleteTagMutation;
|
|
|
+ export type DeleteTag = NonNullable<DeleteTagMutation['deleteTag']>;
|
|
|
+}
|
|
|
+
|
|
|
export namespace GetTaxCategoryList {
|
|
|
export type Variables = GetTaxCategoryListQueryVariables;
|
|
|
export type Query = GetTaxCategoryListQuery;
|