@erp-galoper/types 1.0.54 → 1.0.55

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
@@ -16732,6 +16732,33 @@ export interface paths {
16732
16732
  patch?: never;
16733
16733
  trace?: never;
16734
16734
  };
16735
+ "/api/v1/sales/return-invoices/{id}/export-pdf/": {
16736
+ parameters: {
16737
+ query?: never;
16738
+ header?: never;
16739
+ path?: never;
16740
+ cookie?: never;
16741
+ };
16742
+ /**
16743
+ * Export Sales Return Invoice Pdf
16744
+ * @description Endpoint for exporting a sales return invoice to PDF
16745
+ * Responses:
16746
+ * - 200: salesReturnInvoiceExported
16747
+ * - 403: permissionDenied
16748
+ * - 404: salesReturnInvoiceDoesNotExist
16749
+ * - 500: internalServerError
16750
+ * - Permission Key :
16751
+ * - salesreturninvoice : [export]
16752
+ */
16753
+ get: operations["sales_return_invoice_views_export_sales_return_invoice_pdf"];
16754
+ put?: never;
16755
+ post?: never;
16756
+ delete?: never;
16757
+ options?: never;
16758
+ head?: never;
16759
+ patch?: never;
16760
+ trace?: never;
16761
+ };
16735
16762
  "/api/v1/sales/refund-vouchers/refundable-documents/": {
16736
16763
  parameters: {
16737
16764
  query?: never;
@@ -26362,7 +26389,7 @@ export interface components {
26362
26389
  /**
26363
26390
  * Id
26364
26391
  * Format: uuid
26365
- * @example 332c4227-2a85-43b0-8f74-a389e73771c2
26392
+ * @example 8bcbb8e4-90c2-4df3-8128-329f23c70c03
26366
26393
  */
26367
26394
  id: string;
26368
26395
  /**
@@ -77129,6 +77156,64 @@ export interface operations {
77129
77156
  };
77130
77157
  };
77131
77158
  };
77159
+ sales_return_invoice_views_export_sales_return_invoice_pdf: {
77160
+ parameters: {
77161
+ query?: never;
77162
+ header?: never;
77163
+ path: {
77164
+ id: string;
77165
+ };
77166
+ cookie?: never;
77167
+ };
77168
+ requestBody?: never;
77169
+ responses: {
77170
+ /** @description OK */
77171
+ 200: {
77172
+ headers: {
77173
+ [name: string]: unknown;
77174
+ };
77175
+ content: {
77176
+ "application/json": string;
77177
+ };
77178
+ };
77179
+ /** @description Bad Request */
77180
+ 400: {
77181
+ headers: {
77182
+ [name: string]: unknown;
77183
+ };
77184
+ content: {
77185
+ "application/json": components["schemas"]["ErrorMessages"];
77186
+ };
77187
+ };
77188
+ /** @description Forbidden */
77189
+ 403: {
77190
+ headers: {
77191
+ [name: string]: unknown;
77192
+ };
77193
+ content: {
77194
+ "application/json": components["schemas"]["MessageWithCode"];
77195
+ };
77196
+ };
77197
+ /** @description Not Found */
77198
+ 404: {
77199
+ headers: {
77200
+ [name: string]: unknown;
77201
+ };
77202
+ content: {
77203
+ "application/json": components["schemas"]["MessageWithCode"];
77204
+ };
77205
+ };
77206
+ /** @description Internal Server Error */
77207
+ 500: {
77208
+ headers: {
77209
+ [name: string]: unknown;
77210
+ };
77211
+ content: {
77212
+ "application/json": components["schemas"]["MessageWithCode"];
77213
+ };
77214
+ };
77215
+ };
77216
+ };
77132
77217
  sales_refund_voucher_views_get_sales_refundable_documents: {
77133
77218
  parameters: {
77134
77219
  query: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],