feat: new barcodes system
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user