Merge branch 'master' into develop

This commit is contained in:
olivermrbl
2022-08-24 12:30:33 +02:00
160 changed files with 17116 additions and 3239 deletions

View File

@@ -20,12 +20,13 @@ import { pickBy } from "lodash"
import { isDefined } from "../../../../utils"
/**
* @oas [get] /price-lists/:id/products
* @oas [get] /price-lists/{id}/products
* operationId: "GetPriceListsPriceListProducts"
* summary: "List Product in a Price List"
* description: "Retrieves a list of Product that are part of a Price List"
* x-authenticated: true
* parameters:
* - (path) id=* {string} ID of the price list.
* - (query) q {string} Query used for searching product title and description, variant title and sku, and collection title.
* - (query) id {string} ID of the product to search for.
* - in: query

View File

@@ -1,17 +1,18 @@
import { IsArray, IsOptional } from "class-validator"
import { getRetrieveConfig, pickByConfig } from "./utils/get-query-config"
import { EntityManager } from "typeorm"
import { TaxRate } from "../../../.."
import { TaxRateService } from "../../../../services"
import { validator } from "../../../../utils/validator"
import { EntityManager } from "typeorm"
/**
* @oas [post] /tax-rates/:id/product-types/batch
* @oas [post] /tax-rates/{id}/product-types/batch
* operationId: "PostTaxRatesTaxRateProductTypes"
* summary: "Add Tax Rate to Product Types"
* description: "Associates a Tax Rate with a list of Product Types"
* parameters:
* - (path) id=* {string} ID of the tax rate.
* - in: query
* name: fields
* description: "Which fields should be included in the result."

View File

@@ -1,17 +1,18 @@
import { IsArray, IsOptional } from "class-validator"
import { getRetrieveConfig, pickByConfig } from "./utils/get-query-config"
import { EntityManager } from "typeorm"
import { TaxRate } from "../../../.."
import { TaxRateService } from "../../../../services"
import { validator } from "../../../../utils/validator"
import { EntityManager } from "typeorm"
/**
* @oas [post] /tax-rates/:id/products/batch
* @oas [post] /tax-rates/{id}/products/batch
* operationId: "PostTaxRatesTaxRateProducts"
* summary: "Add Tax Rate to Products"
* description: "Associates a Tax Rate with a list of Products"
* parameters:
* - (path) id=* {string} ID of the tax rate.
* - in: query
* name: fields
* description: "Which fields should be included in the result."

View File

@@ -1,17 +1,18 @@
import { IsArray, IsOptional } from "class-validator"
import { getRetrieveConfig, pickByConfig } from "./utils/get-query-config"
import { EntityManager } from "typeorm"
import { TaxRate } from "../../../.."
import { TaxRateService } from "../../../../services"
import { validator } from "../../../../utils/validator"
import { EntityManager } from "typeorm"
/**
* @oas [post] /tax-rates/:id/shipping-options/batch
* @oas [post] /tax-rates/{id}/shipping-options/batch
* operationId: "PostTaxRatesTaxRateShippingOptions"
* summary: "Add Tax Rate to Product Types"
* description: "Associates a Tax Rate with a list of Shipping Options"
* parameters:
* - (path) id=* {string} ID of the tax rate.
* - in: query
* name: fields
* description: "Which fields should be included in the result."

View File

@@ -6,11 +6,12 @@ import { TaxRateService } from "../../../../services"
import { validator } from "../../../../utils/validator"
/**
* @oas [get] /tax-rates/:id
* @oas [get] /tax-rates/{id}
* operationId: "GetTaxRatesTaxRate"
* summary: "Get Tax Rate"
* description: "Retrieves a TaxRate"
* parameters:
* - (path) id=* {string} ID of the tax rate.
* - in: query
* name: fields
* description: "Which fields should be included in the result."

View File

@@ -1,17 +1,18 @@
import { IsArray, IsOptional } from "class-validator"
import { getRetrieveConfig, pickByConfig } from "./utils/get-query-config"
import { EntityManager } from "typeorm"
import { TaxRate } from "../../../.."
import { TaxRateService } from "../../../../services"
import { validator } from "../../../../utils/validator"
import { EntityManager } from "typeorm"
/**
* @oas [delete] /tax-rates/:id/product-types/batch
* @oas [delete] /tax-rates/{id}/product-types/batch
* operationId: "DeleteTaxRatesTaxRateProductTypes"
* summary: "Remove Tax Rate from Product Types"
* description: "Removes a Tax Rate from a list of Product Types"
* parameters:
* - (path) id=* {string} ID of the tax rate.
* - in: query
* name: fields
* description: "Which fields should be included in the result."

View File

@@ -1,17 +1,18 @@
import { IsArray, IsOptional } from "class-validator"
import { getRetrieveConfig, pickByConfig } from "./utils/get-query-config"
import { EntityManager } from "typeorm"
import { TaxRate } from "../../../.."
import { TaxRateService } from "../../../../services"
import { validator } from "../../../../utils/validator"
import { EntityManager } from "typeorm"
/**
* @oas [delete] /tax-rates/:id/products/batch
* @oas [delete] /tax-rates/{id}/products/batch
* operationId: "DeleteTaxRatesTaxRateProducts"
* summary: "Removes Tax Rate from Products"
* description: "Removes a Tax Rate from a list of Products"
* parameters:
* - (path) id=* {string} ID of the tax rate.
* - in: query
* name: fields
* description: "Which fields should be included in the result."

View File

@@ -1,17 +1,18 @@
import { IsArray, IsOptional } from "class-validator"
import { getRetrieveConfig, pickByConfig } from "./utils/get-query-config"
import { EntityManager } from "typeorm"
import { TaxRate } from "../../../.."
import { TaxRateService } from "../../../../services"
import { validator } from "../../../../utils/validator"
import { EntityManager } from "typeorm"
/**
* @oas [delete] /tax-rates/:id/shipping-options/batch
* @oas [delete] /tax-rates/{id}/shipping-options/batch
* operationId: "DeleteTaxRatesTaxRateShippingOptions"
* summary: "Removes a Tax Rate from Product Types"
* description: "Removes a Tax Rate from a list of Product Types"
* parameters:
* - (path) id=* {string} ID of the tax rate.
* - in: query
* name: fields
* description: "Which fields should be included in the result."

View File

@@ -10,11 +10,12 @@ import { validator } from "../../../../utils/validator"
import { isDefined } from "../../../../utils"
/**
* @oas [post] /tax-rates/:id
* @oas [post] /tax-rates/{id}
* operationId: "PostTaxRatesTaxRate"
* summary: "Update a Tax Rate"
* description: "Updates a Tax Rate"
* parameters:
* - (path) id=* {string} ID of the tax rate.
* - in: query
* name: fields
* description: "Which fields should be included in the result."