|
@@ -1804,6 +1804,8 @@ export type Mutation = {
|
|
|
createTaxCategory: TaxCategory;
|
|
createTaxCategory: TaxCategory;
|
|
|
/** Update an existing TaxCategory */
|
|
/** Update an existing TaxCategory */
|
|
|
updateTaxCategory: TaxCategory;
|
|
updateTaxCategory: TaxCategory;
|
|
|
|
|
+ /** Deletes a TaxCategory */
|
|
|
|
|
+ deleteTaxCategory: DeletionResponse;
|
|
|
/** Create a new TaxRate */
|
|
/** Create a new TaxRate */
|
|
|
createTaxRate: TaxRate;
|
|
createTaxRate: TaxRate;
|
|
|
/** Update an existing TaxRate */
|
|
/** Update an existing TaxRate */
|
|
@@ -2091,6 +2093,10 @@ export type MutationUpdateTaxCategoryArgs = {
|
|
|
input: UpdateTaxCategoryInput;
|
|
input: UpdateTaxCategoryInput;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type MutationDeleteTaxCategoryArgs = {
|
|
|
|
|
+ id: Scalars['ID'];
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type MutationCreateTaxRateArgs = {
|
|
export type MutationCreateTaxRateArgs = {
|
|
|
input: CreateTaxRateInput;
|
|
input: CreateTaxRateInput;
|
|
|
};
|
|
};
|
|
@@ -5091,6 +5097,44 @@ export type UpdateStockMutation = { __typename?: 'Mutation' } & {
|
|
|
updateProductVariants: Array<Maybe<{ __typename?: 'ProductVariant' } & VariantWithStockFragment>>;
|
|
updateProductVariants: Array<Maybe<{ __typename?: 'ProductVariant' } & VariantWithStockFragment>>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type GetTaxCategoryListQueryVariables = {};
|
|
|
|
|
+
|
|
|
|
|
+export type GetTaxCategoryListQuery = { __typename?: 'Query' } & {
|
|
|
|
|
+ taxCategories: Array<{ __typename?: 'TaxCategory' } & Pick<TaxCategory, 'id' | 'name'>>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type GetTaxCategoryQueryVariables = {
|
|
|
|
|
+ id: Scalars['ID'];
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type GetTaxCategoryQuery = { __typename?: 'Query' } & {
|
|
|
|
|
+ taxCategory: Maybe<{ __typename?: 'TaxCategory' } & Pick<TaxCategory, 'id' | 'name'>>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type CreateTaxCategoryMutationVariables = {
|
|
|
|
|
+ input: CreateTaxCategoryInput;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type CreateTaxCategoryMutation = { __typename?: 'Mutation' } & {
|
|
|
|
|
+ createTaxCategory: { __typename?: 'TaxCategory' } & Pick<TaxCategory, 'id' | 'name'>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type UpdateTaxCategoryMutationVariables = {
|
|
|
|
|
+ input: UpdateTaxCategoryInput;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type UpdateTaxCategoryMutation = { __typename?: 'Mutation' } & {
|
|
|
|
|
+ updateTaxCategory: { __typename?: 'TaxCategory' } & Pick<TaxCategory, 'id' | 'name'>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type DeleteTaxCategoryMutationVariables = {
|
|
|
|
|
+ id: Scalars['ID'];
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type DeleteTaxCategoryMutation = { __typename?: 'Mutation' } & {
|
|
|
|
|
+ deleteTaxCategory: { __typename?: 'DeletionResponse' } & Pick<DeletionResponse, 'result' | 'message'>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type GetTaxRatesQueryVariables = {};
|
|
export type GetTaxRatesQueryVariables = {};
|
|
|
|
|
|
|
|
export type GetTaxRatesQuery = { __typename?: 'Query' } & {
|
|
export type GetTaxRatesQuery = { __typename?: 'Query' } & {
|
|
@@ -6316,6 +6360,36 @@ export namespace UpdateStock {
|
|
|
export type UpdateProductVariants = VariantWithStockFragment;
|
|
export type UpdateProductVariants = VariantWithStockFragment;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+export namespace GetTaxCategoryList {
|
|
|
|
|
+ export type Variables = GetTaxCategoryListQueryVariables;
|
|
|
|
|
+ export type Query = GetTaxCategoryListQuery;
|
|
|
|
|
+ export type TaxCategories = NonNullable<GetTaxCategoryListQuery['taxCategories'][0]>;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+export namespace GetTaxCategory {
|
|
|
|
|
+ export type Variables = GetTaxCategoryQueryVariables;
|
|
|
|
|
+ export type Query = GetTaxCategoryQuery;
|
|
|
|
|
+ export type TaxCategory = NonNullable<GetTaxCategoryQuery['taxCategory']>;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+export namespace CreateTaxCategory {
|
|
|
|
|
+ export type Variables = CreateTaxCategoryMutationVariables;
|
|
|
|
|
+ export type Mutation = CreateTaxCategoryMutation;
|
|
|
|
|
+ export type CreateTaxCategory = CreateTaxCategoryMutation['createTaxCategory'];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+export namespace UpdateTaxCategory {
|
|
|
|
|
+ export type Variables = UpdateTaxCategoryMutationVariables;
|
|
|
|
|
+ export type Mutation = UpdateTaxCategoryMutation;
|
|
|
|
|
+ export type UpdateTaxCategory = UpdateTaxCategoryMutation['updateTaxCategory'];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+export namespace DeleteTaxCategory {
|
|
|
|
|
+ export type Variables = DeleteTaxCategoryMutationVariables;
|
|
|
|
|
+ export type Mutation = DeleteTaxCategoryMutation;
|
|
|
|
|
+ export type DeleteTaxCategory = DeleteTaxCategoryMutation['deleteTaxCategory'];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
export namespace GetTaxRates {
|
|
export namespace GetTaxRates {
|
|
|
export type Variables = GetTaxRatesQueryVariables;
|
|
export type Variables = GetTaxRatesQueryVariables;
|
|
|
export type Query = GetTaxRatesQuery;
|
|
export type Query = GetTaxRatesQuery;
|