@erp-galoper/types 1.0.603 → 1.0.605
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 +92 -3
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -4327,6 +4327,7 @@ export interface paths {
|
|
|
4327
4327
|
* - branchDoesNotExist
|
|
4328
4328
|
* - unitOfMeasureDoesNotExist
|
|
4329
4329
|
* - itemPackageDoesNotExist
|
|
4330
|
+
* - item+warehouse+branch+unitOfMeasure+itemPackageConflict
|
|
4330
4331
|
* - 403: "permissionDenied"
|
|
4331
4332
|
* - "noBranchAccess"
|
|
4332
4333
|
* - 500: "serverError"
|
|
@@ -4377,6 +4378,7 @@ export interface paths {
|
|
|
4377
4378
|
* - branchDoesNotExist
|
|
4378
4379
|
* - unitOfMeasureDoesNotExist
|
|
4379
4380
|
* - itemPackageDoesNotExist
|
|
4381
|
+
* - item+warehouse+branch+unitOfMeasure+itemPackageConflict
|
|
4380
4382
|
* - 403: "permissionDenied"
|
|
4381
4383
|
* - "noBranchAccess"
|
|
4382
4384
|
* - 404: "openingQuantityDoesNotExist"
|
|
@@ -9786,6 +9788,35 @@ export interface paths {
|
|
|
9786
9788
|
patch?: never;
|
|
9787
9789
|
trace?: never;
|
|
9788
9790
|
};
|
|
9791
|
+
"/api/v1/purchase/advance-payments/{id}/export-pdf/": {
|
|
9792
|
+
parameters: {
|
|
9793
|
+
query?: never;
|
|
9794
|
+
header?: never;
|
|
9795
|
+
path?: never;
|
|
9796
|
+
cookie?: never;
|
|
9797
|
+
};
|
|
9798
|
+
/**
|
|
9799
|
+
* Export Advance Payment Pdf
|
|
9800
|
+
* @description Endpoint for exporting a advance payment to PDF
|
|
9801
|
+
* Responses:
|
|
9802
|
+
* - 200:
|
|
9803
|
+
* - advancePaymentExportedLink
|
|
9804
|
+
* - 403:
|
|
9805
|
+
* - permissionDenied
|
|
9806
|
+
* - 404:
|
|
9807
|
+
* - advancePaymentDoesNotExist
|
|
9808
|
+
* - 500:
|
|
9809
|
+
* internalServerError
|
|
9810
|
+
*/
|
|
9811
|
+
get: operations["purchase_advance_payment_views_export_advance_payment_pdf"];
|
|
9812
|
+
put?: never;
|
|
9813
|
+
post?: never;
|
|
9814
|
+
delete?: never;
|
|
9815
|
+
options?: never;
|
|
9816
|
+
head?: never;
|
|
9817
|
+
patch?: never;
|
|
9818
|
+
trace?: never;
|
|
9819
|
+
};
|
|
9789
9820
|
"/api/v1/purchase/quotations/": {
|
|
9790
9821
|
parameters: {
|
|
9791
9822
|
query?: never;
|
|
@@ -24890,7 +24921,7 @@ export interface components {
|
|
|
24890
24921
|
/**
|
|
24891
24922
|
* Item
|
|
24892
24923
|
* @description
|
|
24893
|
-
* - get active items only
|
|
24924
|
+
* - get active items only, use route /api/v1/inventory/items/ and filter by active=true
|
|
24894
24925
|
*
|
|
24895
24926
|
*/
|
|
24896
24927
|
item: number;
|
|
@@ -25045,7 +25076,7 @@ export interface components {
|
|
|
25045
25076
|
/**
|
|
25046
25077
|
* Item
|
|
25047
25078
|
* @description
|
|
25048
|
-
* - get active items only
|
|
25079
|
+
* - get active items only, use route /api/v1/inventory/items/ and filter by active=true
|
|
25049
25080
|
*
|
|
25050
25081
|
*/
|
|
25051
25082
|
item: number;
|
|
@@ -27522,7 +27553,7 @@ export interface components {
|
|
|
27522
27553
|
/**
|
|
27523
27554
|
* Id
|
|
27524
27555
|
* Format: uuid
|
|
27525
|
-
* @example
|
|
27556
|
+
* @example cf7cf4bf-1182-46cf-8ba9-fb768863f6ae
|
|
27526
27557
|
*/
|
|
27527
27558
|
id: string;
|
|
27528
27559
|
/**
|
|
@@ -67340,6 +67371,64 @@ export interface operations {
|
|
|
67340
67371
|
};
|
|
67341
67372
|
};
|
|
67342
67373
|
};
|
|
67374
|
+
purchase_advance_payment_views_export_advance_payment_pdf: {
|
|
67375
|
+
parameters: {
|
|
67376
|
+
query?: never;
|
|
67377
|
+
header?: never;
|
|
67378
|
+
path: {
|
|
67379
|
+
id: string;
|
|
67380
|
+
};
|
|
67381
|
+
cookie?: never;
|
|
67382
|
+
};
|
|
67383
|
+
requestBody?: never;
|
|
67384
|
+
responses: {
|
|
67385
|
+
/** @description OK */
|
|
67386
|
+
200: {
|
|
67387
|
+
headers: {
|
|
67388
|
+
[name: string]: unknown;
|
|
67389
|
+
};
|
|
67390
|
+
content: {
|
|
67391
|
+
"application/json": string;
|
|
67392
|
+
};
|
|
67393
|
+
};
|
|
67394
|
+
/** @description Bad Request */
|
|
67395
|
+
400: {
|
|
67396
|
+
headers: {
|
|
67397
|
+
[name: string]: unknown;
|
|
67398
|
+
};
|
|
67399
|
+
content: {
|
|
67400
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
67401
|
+
};
|
|
67402
|
+
};
|
|
67403
|
+
/** @description Forbidden */
|
|
67404
|
+
403: {
|
|
67405
|
+
headers: {
|
|
67406
|
+
[name: string]: unknown;
|
|
67407
|
+
};
|
|
67408
|
+
content: {
|
|
67409
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
67410
|
+
};
|
|
67411
|
+
};
|
|
67412
|
+
/** @description Not Found */
|
|
67413
|
+
404: {
|
|
67414
|
+
headers: {
|
|
67415
|
+
[name: string]: unknown;
|
|
67416
|
+
};
|
|
67417
|
+
content: {
|
|
67418
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
67419
|
+
};
|
|
67420
|
+
};
|
|
67421
|
+
/** @description Internal Server Error */
|
|
67422
|
+
500: {
|
|
67423
|
+
headers: {
|
|
67424
|
+
[name: string]: unknown;
|
|
67425
|
+
};
|
|
67426
|
+
content: {
|
|
67427
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
67428
|
+
};
|
|
67429
|
+
};
|
|
67430
|
+
};
|
|
67431
|
+
};
|
|
67343
67432
|
purchase_quotation_views_list_purchase_quotations: {
|
|
67344
67433
|
parameters: {
|
|
67345
67434
|
query: {
|