@erp-galoper/main-package 1.0.298 → 1.0.300

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 +84 -1
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -1699,6 +1699,31 @@ export interface paths {
1699
1699
  patch: operations["accounting_journalvoucher_views_edit_journal_voucher"];
1700
1700
  trace?: never;
1701
1701
  };
1702
+ "/api/v1/accounting/journal_vouchers/{id}/export-pdf/": {
1703
+ parameters: {
1704
+ query?: never;
1705
+ header?: never;
1706
+ path?: never;
1707
+ cookie?: never;
1708
+ };
1709
+ /**
1710
+ * Export Journal Voucher Pdf
1711
+ * @description Endpoint for exporting a journal voucher to PDF
1712
+ * Responses:
1713
+ * - 200: journalVoucherExported
1714
+ * - 403: permissionDenied
1715
+ * - 404: journalVoucherDoesNotExist
1716
+ * - 500: serverError
1717
+ */
1718
+ get: operations["accounting_journalvoucher_views_export_journal_voucher_pdf"];
1719
+ put?: never;
1720
+ post?: never;
1721
+ delete?: never;
1722
+ options?: never;
1723
+ head?: never;
1724
+ patch?: never;
1725
+ trace?: never;
1726
+ };
1702
1727
  "/api/v1/common/regions/": {
1703
1728
  parameters: {
1704
1729
  query?: never;
@@ -15917,7 +15942,7 @@ export interface components {
15917
15942
  /**
15918
15943
  * Id
15919
15944
  * Format: uuid
15920
- * @example dbed673f-f24f-456d-a767-8505d25ea19a
15945
+ * @example f3d84ccd-28ae-42de-b22d-e05636f3b594
15921
15946
  */
15922
15947
  id: string;
15923
15948
  /**
@@ -22063,6 +22088,64 @@ export interface operations {
22063
22088
  };
22064
22089
  };
22065
22090
  };
22091
+ accounting_journalvoucher_views_export_journal_voucher_pdf: {
22092
+ parameters: {
22093
+ query?: never;
22094
+ header?: never;
22095
+ path: {
22096
+ id: string;
22097
+ };
22098
+ cookie?: never;
22099
+ };
22100
+ requestBody?: never;
22101
+ responses: {
22102
+ /** @description OK */
22103
+ 200: {
22104
+ headers: {
22105
+ [name: string]: unknown;
22106
+ };
22107
+ content: {
22108
+ "application/json": string;
22109
+ };
22110
+ };
22111
+ /** @description Bad Request */
22112
+ 400: {
22113
+ headers: {
22114
+ [name: string]: unknown;
22115
+ };
22116
+ content: {
22117
+ "application/json": components["schemas"]["ErrorMessages"];
22118
+ };
22119
+ };
22120
+ /** @description Forbidden */
22121
+ 403: {
22122
+ headers: {
22123
+ [name: string]: unknown;
22124
+ };
22125
+ content: {
22126
+ "application/json": components["schemas"]["MessageWithCode"];
22127
+ };
22128
+ };
22129
+ /** @description Not Found */
22130
+ 404: {
22131
+ headers: {
22132
+ [name: string]: unknown;
22133
+ };
22134
+ content: {
22135
+ "application/json": components["schemas"]["MessageWithCode"];
22136
+ };
22137
+ };
22138
+ /** @description Internal Server Error */
22139
+ 500: {
22140
+ headers: {
22141
+ [name: string]: unknown;
22142
+ };
22143
+ content: {
22144
+ "application/json": components["schemas"]["MessageWithCode"];
22145
+ };
22146
+ };
22147
+ };
22148
+ };
22066
22149
  common_views_list_regions: {
22067
22150
  parameters: {
22068
22151
  query: {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.298",
3
+ "version": "1.0.300",
4
4
  "main": "openapi.ts"
5
5
  }