|
@@ -4483,7 +4483,7 @@ export type Query = {
|
|
|
stockLocations: StockLocationList;
|
|
stockLocations: StockLocationList;
|
|
|
tag: Tag;
|
|
tag: Tag;
|
|
|
tags: TagList;
|
|
tags: TagList;
|
|
|
- taxCategories: Array<TaxCategory>;
|
|
|
|
|
|
|
+ taxCategories: TaxCategoryList;
|
|
|
taxCategory?: Maybe<TaxCategory>;
|
|
taxCategory?: Maybe<TaxCategory>;
|
|
|
taxRate?: Maybe<TaxRate>;
|
|
taxRate?: Maybe<TaxRate>;
|
|
|
taxRates: TaxRateList;
|
|
taxRates: TaxRateList;
|
|
@@ -4689,6 +4689,10 @@ export type QueryTagsArgs = {
|
|
|
options?: InputMaybe<TagListOptions>;
|
|
options?: InputMaybe<TagListOptions>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type QueryTaxCategoriesArgs = {
|
|
|
|
|
+ options?: InputMaybe<TaxCategoryListOptions>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type QueryTaxCategoryArgs = {
|
|
export type QueryTaxCategoryArgs = {
|
|
|
id: Scalars['ID'];
|
|
id: Scalars['ID'];
|
|
|
};
|
|
};
|
|
@@ -5379,6 +5383,39 @@ export type TaxCategory = Node & {
|
|
|
updatedAt: Scalars['DateTime'];
|
|
updatedAt: Scalars['DateTime'];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type TaxCategoryFilterParameter = {
|
|
|
|
|
+ createdAt?: InputMaybe<DateOperators>;
|
|
|
|
|
+ id?: InputMaybe<IdOperators>;
|
|
|
|
|
+ isDefault?: InputMaybe<BooleanOperators>;
|
|
|
|
|
+ name?: InputMaybe<StringOperators>;
|
|
|
|
|
+ updatedAt?: InputMaybe<DateOperators>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type TaxCategoryList = PaginatedList & {
|
|
|
|
|
+ items: Array<TaxCategory>;
|
|
|
|
|
+ totalItems: Scalars['Int'];
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type TaxCategoryListOptions = {
|
|
|
|
|
+ /** Allows the results to be filtered */
|
|
|
|
|
+ filter?: InputMaybe<TaxCategoryFilterParameter>;
|
|
|
|
|
+ /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
|
|
|
|
|
+ filterOperator?: InputMaybe<LogicalOperator>;
|
|
|
|
|
+ /** Skips the first n results, for use in pagination */
|
|
|
|
|
+ skip?: InputMaybe<Scalars['Int']>;
|
|
|
|
|
+ /** Specifies which properties to sort the results by */
|
|
|
|
|
+ sort?: InputMaybe<TaxCategorySortParameter>;
|
|
|
|
|
+ /** Takes n results, for use in pagination */
|
|
|
|
|
+ take?: InputMaybe<Scalars['Int']>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type TaxCategorySortParameter = {
|
|
|
|
|
+ createdAt?: InputMaybe<SortOrder>;
|
|
|
|
|
+ id?: InputMaybe<SortOrder>;
|
|
|
|
|
+ name?: InputMaybe<SortOrder>;
|
|
|
|
|
+ updatedAt?: InputMaybe<SortOrder>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type TaxLine = {
|
|
export type TaxLine = {
|
|
|
description: Scalars['String'];
|
|
description: Scalars['String'];
|
|
|
taxRate: Scalars['Float'];
|
|
taxRate: Scalars['Float'];
|
|
@@ -11231,7 +11268,7 @@ export type DeleteTagMutation = { deleteTag: { message?: string | null; result:
|
|
|
export type GetTaxCategoryListQueryVariables = Exact<{ [key: string]: never }>;
|
|
export type GetTaxCategoryListQueryVariables = Exact<{ [key: string]: never }>;
|
|
|
|
|
|
|
|
export type GetTaxCategoryListQuery = {
|
|
export type GetTaxCategoryListQuery = {
|
|
|
- taxCategories: Array<{ id: string; name: string; isDefault: boolean }>;
|
|
|
|
|
|
|
+ taxCategories: { items: Array<{ id: string; name: string; isDefault: boolean }> };
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type GetTaxCategoryQueryVariables = Exact<{
|
|
export type GetTaxCategoryQueryVariables = Exact<{
|