@erp-galoper/types 1.0.57 → 1.0.59
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.
- package/openapi.ts +93 -1
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -16319,6 +16319,37 @@ export interface paths {
|
|
|
16319
16319
|
patch?: never;
|
|
16320
16320
|
trace?: never;
|
|
16321
16321
|
};
|
|
16322
|
+
"/api/v1/sales/invoices/{id}/export-pdf/": {
|
|
16323
|
+
parameters: {
|
|
16324
|
+
query?: never;
|
|
16325
|
+
header?: never;
|
|
16326
|
+
path?: never;
|
|
16327
|
+
cookie?: never;
|
|
16328
|
+
};
|
|
16329
|
+
/**
|
|
16330
|
+
* Export Sales Invoice Pdf
|
|
16331
|
+
* @description Endpoint for exporting a sales order to PDF
|
|
16332
|
+
* Responses:
|
|
16333
|
+
* - 200:
|
|
16334
|
+
* - salesInvoiceExported
|
|
16335
|
+
* - 403:
|
|
16336
|
+
* - permissionDenied
|
|
16337
|
+
* - 404:
|
|
16338
|
+
* - salesInvoiceDoesNotExist
|
|
16339
|
+
* - 500:
|
|
16340
|
+
* - internalServerError
|
|
16341
|
+
* - Permission Key :
|
|
16342
|
+
* - salesinvoice : [export]
|
|
16343
|
+
*/
|
|
16344
|
+
get: operations["sales_invoice_views_export_sales_invoice_pdf"];
|
|
16345
|
+
put?: never;
|
|
16346
|
+
post?: never;
|
|
16347
|
+
delete?: never;
|
|
16348
|
+
options?: never;
|
|
16349
|
+
head?: never;
|
|
16350
|
+
patch?: never;
|
|
16351
|
+
trace?: never;
|
|
16352
|
+
};
|
|
16322
16353
|
"/api/v1/sales/return-orders/": {
|
|
16323
16354
|
parameters: {
|
|
16324
16355
|
query?: never;
|
|
@@ -16356,6 +16387,7 @@ export interface paths {
|
|
|
16356
16387
|
* - "quantityExceeds"
|
|
16357
16388
|
* - "itemDoesNotExist"
|
|
16358
16389
|
* - "salesInvoiceItemDoesNotExist"
|
|
16390
|
+
* - SalesInvoicesShouldHaveSameGlobalTaxRate
|
|
16359
16391
|
*
|
|
16360
16392
|
* - 403: - "permissionDenied"
|
|
16361
16393
|
* - "noModuleAccess"
|
|
@@ -16591,6 +16623,7 @@ export interface paths {
|
|
|
16591
16623
|
* - "quantityExceeds"
|
|
16592
16624
|
* - "itemNotInReturnOrder"
|
|
16593
16625
|
* - "salesInvoiceItemDoesNotExist"
|
|
16626
|
+
* - SalesInvoicesShouldHaveSameGlobalTaxRate
|
|
16594
16627
|
*
|
|
16595
16628
|
* - 403: - "permissionDenied"
|
|
16596
16629
|
* - "noModuleAccess"
|
|
@@ -16665,6 +16698,7 @@ export interface paths {
|
|
|
16665
16698
|
* - "itemNotInReturnOrder"
|
|
16666
16699
|
* - "salesInvoiceItemDoesNotExist"
|
|
16667
16700
|
* - "SalesReturnInvoiceShouldBeDraft"
|
|
16701
|
+
* - SalesInvoicesShouldHaveSameGlobalTaxRate
|
|
16668
16702
|
* - 403: - "permissionDenied"
|
|
16669
16703
|
* - "noModuleAccess"
|
|
16670
16704
|
* - "noBranchAccess"
|
|
@@ -26416,7 +26450,7 @@ export interface components {
|
|
|
26416
26450
|
/**
|
|
26417
26451
|
* Id
|
|
26418
26452
|
* Format: uuid
|
|
26419
|
-
* @example
|
|
26453
|
+
* @example f2f477a7-e139-4910-97d2-f0bb22cd770d
|
|
26420
26454
|
*/
|
|
26421
26455
|
id: string;
|
|
26422
26456
|
/**
|
|
@@ -76287,6 +76321,64 @@ export interface operations {
|
|
|
76287
76321
|
};
|
|
76288
76322
|
};
|
|
76289
76323
|
};
|
|
76324
|
+
sales_invoice_views_export_sales_invoice_pdf: {
|
|
76325
|
+
parameters: {
|
|
76326
|
+
query?: never;
|
|
76327
|
+
header?: never;
|
|
76328
|
+
path: {
|
|
76329
|
+
id: string;
|
|
76330
|
+
};
|
|
76331
|
+
cookie?: never;
|
|
76332
|
+
};
|
|
76333
|
+
requestBody?: never;
|
|
76334
|
+
responses: {
|
|
76335
|
+
/** @description OK */
|
|
76336
|
+
200: {
|
|
76337
|
+
headers: {
|
|
76338
|
+
[name: string]: unknown;
|
|
76339
|
+
};
|
|
76340
|
+
content: {
|
|
76341
|
+
"application/json": string;
|
|
76342
|
+
};
|
|
76343
|
+
};
|
|
76344
|
+
/** @description Bad Request */
|
|
76345
|
+
400: {
|
|
76346
|
+
headers: {
|
|
76347
|
+
[name: string]: unknown;
|
|
76348
|
+
};
|
|
76349
|
+
content: {
|
|
76350
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
76351
|
+
};
|
|
76352
|
+
};
|
|
76353
|
+
/** @description Forbidden */
|
|
76354
|
+
403: {
|
|
76355
|
+
headers: {
|
|
76356
|
+
[name: string]: unknown;
|
|
76357
|
+
};
|
|
76358
|
+
content: {
|
|
76359
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
76360
|
+
};
|
|
76361
|
+
};
|
|
76362
|
+
/** @description Not Found */
|
|
76363
|
+
404: {
|
|
76364
|
+
headers: {
|
|
76365
|
+
[name: string]: unknown;
|
|
76366
|
+
};
|
|
76367
|
+
content: {
|
|
76368
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
76369
|
+
};
|
|
76370
|
+
};
|
|
76371
|
+
/** @description Internal Server Error */
|
|
76372
|
+
500: {
|
|
76373
|
+
headers: {
|
|
76374
|
+
[name: string]: unknown;
|
|
76375
|
+
};
|
|
76376
|
+
content: {
|
|
76377
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
76378
|
+
};
|
|
76379
|
+
};
|
|
76380
|
+
};
|
|
76381
|
+
};
|
|
76290
76382
|
sales_return_order_views_list_sales_return_orders: {
|
|
76291
76383
|
parameters: {
|
|
76292
76384
|
query?: {
|