@erp-galoper/types 1.0.2037 → 1.0.2038
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 +49 -19
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -4788,7 +4788,7 @@ export interface paths {
|
|
|
4788
4788
|
patch?: never;
|
|
4789
4789
|
trace?: never;
|
|
4790
4790
|
};
|
|
4791
|
-
"/api/v1/inventory/opening_quantity/import
|
|
4791
|
+
"/api/v1/inventory/opening_quantity/import/": {
|
|
4792
4792
|
parameters: {
|
|
4793
4793
|
query?: never;
|
|
4794
4794
|
header?: never;
|
|
@@ -4798,17 +4798,15 @@ export interface paths {
|
|
|
4798
4798
|
get?: never;
|
|
4799
4799
|
put?: never;
|
|
4800
4800
|
/**
|
|
4801
|
-
* Import Opening
|
|
4802
|
-
* @description
|
|
4803
|
-
*
|
|
4804
|
-
*
|
|
4805
|
-
*
|
|
4806
|
-
* -
|
|
4807
|
-
*
|
|
4808
|
-
* -500:
|
|
4809
|
-
* - internalServerError
|
|
4801
|
+
* Import Opening Quantities
|
|
4802
|
+
* @description Import opening quantities from Excel for a selected warehouse.
|
|
4803
|
+
*
|
|
4804
|
+
* Required columns: Barcode and Quantity (case-insensitive).
|
|
4805
|
+
* Item barcodes open at item level; package barcodes open at package level.
|
|
4806
|
+
* Duplicate barcodes in the file are merged. Import overrides existing quantity-tracked openings.
|
|
4807
|
+
* Rows without barcode, without quantity, unknown barcodes, and serial/batch items are skipped.
|
|
4810
4808
|
*/
|
|
4811
|
-
post: operations["
|
|
4809
|
+
post: operations["inventory_opening_stock_views_import_opening_quantities"];
|
|
4812
4810
|
delete?: never;
|
|
4813
4811
|
options?: never;
|
|
4814
4812
|
head?: never;
|
|
@@ -33671,6 +33669,8 @@ export interface components {
|
|
|
33671
33669
|
itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
|
|
33672
33670
|
/** Openingquantity */
|
|
33673
33671
|
openingQuantity: number;
|
|
33672
|
+
/** @description Active openings affect current stock; superseded openings are kept for audit only. */
|
|
33673
|
+
status: components["schemas"]["OpeningQuantityStatusChoices"];
|
|
33674
33674
|
/** Tracking */
|
|
33675
33675
|
tracking: components["schemas"]["OpeningQuantityItemTrackingSchema"][];
|
|
33676
33676
|
};
|
|
@@ -33733,6 +33733,11 @@ export interface components {
|
|
|
33733
33733
|
*/
|
|
33734
33734
|
details: components["schemas"]["OpeningQuantityDetailsSchema"][];
|
|
33735
33735
|
};
|
|
33736
|
+
/**
|
|
33737
|
+
* OpeningQuantityStatusChoices
|
|
33738
|
+
* @enum {string}
|
|
33739
|
+
*/
|
|
33740
|
+
OpeningQuantityStatusChoices: "active" | "superseded";
|
|
33736
33741
|
/** RetrieveWarehouseForOpeningQuantity */
|
|
33737
33742
|
RetrieveWarehouseForOpeningQuantity: {
|
|
33738
33743
|
/**
|
|
@@ -33852,6 +33857,15 @@ export interface components {
|
|
|
33852
33857
|
/** Candelete */
|
|
33853
33858
|
canDelete: boolean;
|
|
33854
33859
|
};
|
|
33860
|
+
/** OpeningQuantityImportResponse */
|
|
33861
|
+
OpeningQuantityImportResponse: {
|
|
33862
|
+
/** Message */
|
|
33863
|
+
message: string;
|
|
33864
|
+
/** Code */
|
|
33865
|
+
code: string;
|
|
33866
|
+
/** Id */
|
|
33867
|
+
id: number;
|
|
33868
|
+
};
|
|
33855
33869
|
/** UpdateOpeningQuantityItemTrackingSchema */
|
|
33856
33870
|
UpdateOpeningQuantityItemTrackingSchema: {
|
|
33857
33871
|
/**
|
|
@@ -77522,7 +77536,9 @@ export interface operations {
|
|
|
77522
77536
|
};
|
|
77523
77537
|
inventory_opening_stock_views_create_opening_quantity: {
|
|
77524
77538
|
parameters: {
|
|
77525
|
-
query?:
|
|
77539
|
+
query?: {
|
|
77540
|
+
allow_override?: boolean;
|
|
77541
|
+
};
|
|
77526
77542
|
header?: never;
|
|
77527
77543
|
path?: never;
|
|
77528
77544
|
cookie?: never;
|
|
@@ -77580,7 +77596,7 @@ export interface operations {
|
|
|
77580
77596
|
};
|
|
77581
77597
|
};
|
|
77582
77598
|
};
|
|
77583
|
-
|
|
77599
|
+
inventory_opening_stock_views_import_opening_quantities: {
|
|
77584
77600
|
parameters: {
|
|
77585
77601
|
query?: never;
|
|
77586
77602
|
header?: never;
|
|
@@ -77590,23 +77606,28 @@ export interface operations {
|
|
|
77590
77606
|
requestBody: {
|
|
77591
77607
|
content: {
|
|
77592
77608
|
"multipart/form-data": {
|
|
77609
|
+
/**
|
|
77610
|
+
* Warehouse Id
|
|
77611
|
+
* Format: uuid
|
|
77612
|
+
*/
|
|
77613
|
+
warehouse_id: string;
|
|
77593
77614
|
/**
|
|
77594
77615
|
* File
|
|
77595
77616
|
* Format: binary
|
|
77596
|
-
* @description
|
|
77617
|
+
* @description Excel file with Barcode and Quantity columns
|
|
77597
77618
|
*/
|
|
77598
77619
|
file: string;
|
|
77599
77620
|
};
|
|
77600
77621
|
};
|
|
77601
77622
|
};
|
|
77602
77623
|
responses: {
|
|
77603
|
-
/** @description
|
|
77604
|
-
|
|
77624
|
+
/** @description Created */
|
|
77625
|
+
201: {
|
|
77605
77626
|
headers: {
|
|
77606
77627
|
[name: string]: unknown;
|
|
77607
77628
|
};
|
|
77608
77629
|
content: {
|
|
77609
|
-
"application/json": components["schemas"]["
|
|
77630
|
+
"application/json": components["schemas"]["OpeningQuantityImportResponse"];
|
|
77610
77631
|
};
|
|
77611
77632
|
};
|
|
77612
77633
|
/** @description Bad Request */
|
|
@@ -77624,7 +77645,16 @@ export interface operations {
|
|
|
77624
77645
|
[name: string]: unknown;
|
|
77625
77646
|
};
|
|
77626
77647
|
content: {
|
|
77627
|
-
"application/json": components["schemas"]["
|
|
77648
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
77649
|
+
};
|
|
77650
|
+
};
|
|
77651
|
+
/** @description Not Found */
|
|
77652
|
+
404: {
|
|
77653
|
+
headers: {
|
|
77654
|
+
[name: string]: unknown;
|
|
77655
|
+
};
|
|
77656
|
+
content: {
|
|
77657
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
77628
77658
|
};
|
|
77629
77659
|
};
|
|
77630
77660
|
/** @description Internal Server Error */
|
|
@@ -77633,7 +77663,7 @@ export interface operations {
|
|
|
77633
77663
|
[name: string]: unknown;
|
|
77634
77664
|
};
|
|
77635
77665
|
content: {
|
|
77636
|
-
"application/json": components["schemas"]["
|
|
77666
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
77637
77667
|
};
|
|
77638
77668
|
};
|
|
77639
77669
|
};
|