@erp-galoper/main-package 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/openapi.ts +20 -4
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -298,7 +298,15 @@ export interface paths {
298
298
  get: operations["common_views_get_fiscal_year_end_date"];
299
299
  };
300
300
  "/api/v1/common/upload": {
301
- /** Upload Image */
301
+ /**
302
+ * Upload Image
303
+ * @description Endpoint for upload files
304
+ * Possible Responses:
305
+ * - 400: unsupportedFileType / noFileProvided
306
+ * - Unsupported file type / No file provided
307
+ * - 200: Success
308
+ * - Success
309
+ */
302
310
  post: operations["common_views_upload_image"];
303
311
  };
304
312
  "/api/v1/common/get_currency_code/": {
@@ -1734,7 +1742,15 @@ export interface operations {
1734
1742
  };
1735
1743
  };
1736
1744
  };
1737
- /** Upload Image */
1745
+ /**
1746
+ * Upload Image
1747
+ * @description Endpoint for upload files
1748
+ * Possible Responses:
1749
+ * - 400: unsupportedFileType / noFileProvided
1750
+ * - Unsupported file type / No file provided
1751
+ * - 200: Success
1752
+ * - Success
1753
+ */
1738
1754
  common_views_upload_image: {
1739
1755
  requestBody: {
1740
1756
  content: {
@@ -1750,8 +1766,8 @@ export interface operations {
1750
1766
  };
1751
1767
  };
1752
1768
  responses: {
1753
- /** @description Created */
1754
- 201: {
1769
+ /** @description OK */
1770
+ 200: {
1755
1771
  content: {
1756
1772
  "application/json": components["schemas"]["MessageResponse"];
1757
1773
  };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "main": "openapi.ts"
5
5
  }