@erp-galoper/types 1.0.52 → 1.0.53

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
@@ -15361,6 +15361,33 @@ export interface paths {
15361
15361
  patch?: never;
15362
15362
  trace?: never;
15363
15363
  };
15364
+ "/api/v1/sales/orders/{id}/export-pdf/": {
15365
+ parameters: {
15366
+ query?: never;
15367
+ header?: never;
15368
+ path?: never;
15369
+ cookie?: never;
15370
+ };
15371
+ /**
15372
+ * Export Sales Order Pdf
15373
+ * @description Endpoint for exporting a sales order to PDF
15374
+ * Responses:
15375
+ * - 200: salesOrderExported
15376
+ * - 403: permissionDenied
15377
+ * - 404: salesOrderDoesNotExist
15378
+ * - 500: internalServerError
15379
+ * - Permission Key :
15380
+ * - salesorder : [export]
15381
+ */
15382
+ get: operations["sales_order_views_export_sales_order_pdf"];
15383
+ put?: never;
15384
+ post?: never;
15385
+ delete?: never;
15386
+ options?: never;
15387
+ head?: never;
15388
+ patch?: never;
15389
+ trace?: never;
15390
+ };
15364
15391
  "/api/v1/purchase/credit-notes/": {
15365
15392
  parameters: {
15366
15393
  query?: never;
@@ -26308,7 +26335,7 @@ export interface components {
26308
26335
  /**
26309
26336
  * Id
26310
26337
  * Format: uuid
26311
- * @example 43f7edb2-fc8e-4666-bf7e-7a5536863eca
26338
+ * @example 311d5481-934d-4b5a-befb-8a9b5c07b052
26312
26339
  */
26313
26340
  id: string;
26314
26341
  /**
@@ -74458,6 +74485,64 @@ export interface operations {
74458
74485
  };
74459
74486
  };
74460
74487
  };
74488
+ sales_order_views_export_sales_order_pdf: {
74489
+ parameters: {
74490
+ query?: never;
74491
+ header?: never;
74492
+ path: {
74493
+ id: string;
74494
+ };
74495
+ cookie?: never;
74496
+ };
74497
+ requestBody?: never;
74498
+ responses: {
74499
+ /** @description OK */
74500
+ 200: {
74501
+ headers: {
74502
+ [name: string]: unknown;
74503
+ };
74504
+ content: {
74505
+ "application/json": string;
74506
+ };
74507
+ };
74508
+ /** @description Bad Request */
74509
+ 400: {
74510
+ headers: {
74511
+ [name: string]: unknown;
74512
+ };
74513
+ content: {
74514
+ "application/json": components["schemas"]["ErrorMessages"];
74515
+ };
74516
+ };
74517
+ /** @description Forbidden */
74518
+ 403: {
74519
+ headers: {
74520
+ [name: string]: unknown;
74521
+ };
74522
+ content: {
74523
+ "application/json": components["schemas"]["MessageWithCode"];
74524
+ };
74525
+ };
74526
+ /** @description Not Found */
74527
+ 404: {
74528
+ headers: {
74529
+ [name: string]: unknown;
74530
+ };
74531
+ content: {
74532
+ "application/json": components["schemas"]["MessageWithCode"];
74533
+ };
74534
+ };
74535
+ /** @description Internal Server Error */
74536
+ 500: {
74537
+ headers: {
74538
+ [name: string]: unknown;
74539
+ };
74540
+ content: {
74541
+ "application/json": components["schemas"]["MessageWithCode"];
74542
+ };
74543
+ };
74544
+ };
74545
+ };
74461
74546
  purchase_credit_note_views_list_purchase_credit_notes: {
74462
74547
  parameters: {
74463
74548
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],