@erp-galoper/types 1.0.48 → 1.0.49

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 +86 -1
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -10926,6 +10926,33 @@ export interface paths {
10926
10926
  patch?: never;
10927
10927
  trace?: never;
10928
10928
  };
10929
+ "/api/v1/purchase/invoices/{id}/export-pdf/": {
10930
+ parameters: {
10931
+ query?: never;
10932
+ header?: never;
10933
+ path?: never;
10934
+ cookie?: never;
10935
+ };
10936
+ /**
10937
+ * Export Purchase Invoice Pdf
10938
+ * @description Endpoint for exporting a purchase invoice to PDF
10939
+ * Responses:
10940
+ * - 200: purchaseInvoiceExported
10941
+ * - 403: permissionDenied
10942
+ * - 404: purchaseInvoiceDoesNotExist
10943
+ * - 500: internalServerError
10944
+ * - Permission Key :
10945
+ * - purchaseinvoice : [export]
10946
+ */
10947
+ get: operations["purchase_purchase_invoice_views_export_purchase_invoice_pdf"];
10948
+ put?: never;
10949
+ post?: never;
10950
+ delete?: never;
10951
+ options?: never;
10952
+ head?: never;
10953
+ patch?: never;
10954
+ trace?: never;
10955
+ };
10929
10956
  "/api/v1/purchase/payment-vouchers/calculate-equivalents/": {
10930
10957
  parameters: {
10931
10958
  query?: never;
@@ -26200,7 +26227,7 @@ export interface components {
26200
26227
  /**
26201
26228
  * Id
26202
26229
  * Format: uuid
26203
- * @example f47fff31-da53-4b5f-a4d1-fe12eb91b697
26230
+ * @example de521f4f-e5f6-440d-8931-95d22cecac66
26204
26231
  */
26205
26232
  id: string;
26206
26233
  /**
@@ -65701,6 +65728,64 @@ export interface operations {
65701
65728
  };
65702
65729
  };
65703
65730
  };
65731
+ purchase_purchase_invoice_views_export_purchase_invoice_pdf: {
65732
+ parameters: {
65733
+ query?: never;
65734
+ header?: never;
65735
+ path: {
65736
+ id: string;
65737
+ };
65738
+ cookie?: never;
65739
+ };
65740
+ requestBody?: never;
65741
+ responses: {
65742
+ /** @description OK */
65743
+ 200: {
65744
+ headers: {
65745
+ [name: string]: unknown;
65746
+ };
65747
+ content: {
65748
+ "application/json": string;
65749
+ };
65750
+ };
65751
+ /** @description Bad Request */
65752
+ 400: {
65753
+ headers: {
65754
+ [name: string]: unknown;
65755
+ };
65756
+ content: {
65757
+ "application/json": components["schemas"]["ErrorMessages"];
65758
+ };
65759
+ };
65760
+ /** @description Forbidden */
65761
+ 403: {
65762
+ headers: {
65763
+ [name: string]: unknown;
65764
+ };
65765
+ content: {
65766
+ "application/json": components["schemas"]["MessageWithCode"];
65767
+ };
65768
+ };
65769
+ /** @description Not Found */
65770
+ 404: {
65771
+ headers: {
65772
+ [name: string]: unknown;
65773
+ };
65774
+ content: {
65775
+ "application/json": components["schemas"]["MessageWithCode"];
65776
+ };
65777
+ };
65778
+ /** @description Internal Server Error */
65779
+ 500: {
65780
+ headers: {
65781
+ [name: string]: unknown;
65782
+ };
65783
+ content: {
65784
+ "application/json": components["schemas"]["MessageWithCode"];
65785
+ };
65786
+ };
65787
+ };
65788
+ };
65704
65789
  purchase_payment_voucher_views_calculate_equivalents: {
65705
65790
  parameters: {
65706
65791
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],