feat: new barcodes system

This commit is contained in:
2024-06-01 04:26:08 +03:00
parent 0536b5d9d4
commit c4dc887305
9 changed files with 106 additions and 6 deletions

View File

@@ -3,6 +3,8 @@
/* tslint:disable */
/* eslint-disable */
import type { Body_upload_product_image } from '../models/Body_upload_product_image';
import type { GetProductBarcodePdfRequest } from '../models/GetProductBarcodePdfRequest';
import type { GetProductBarcodePdfResponse } from '../models/GetProductBarcodePdfResponse';
import type { GetProductBarcodeRequest } from '../models/GetProductBarcodeRequest';
import type { GetProductBarcodeResponse } from '../models/GetProductBarcodeResponse';
import type { ProductAddBarcodeRequest } from '../models/ProductAddBarcodeRequest';
@@ -215,6 +217,26 @@ export class ProductService {
},
});
}
/**
* Get Product Barcode Pdf
* @returns GetProductBarcodePdfResponse Successful Response
* @throws ApiError
*/
public static getProductBarcodePdf({
requestBody,
}: {
requestBody: GetProductBarcodePdfRequest,
}): CancelablePromise<GetProductBarcodePdfResponse> {
return __request(OpenAPI, {
method: 'POST',
url: '/product/barcode/get-pdf',
body: requestBody,
mediaType: 'application/json',
errors: {
422: `Validation Error`,
},
});
}
/**
* Upload Product Image
* @returns ProductUploadImageResponse Successful Response