@erp-galoper/types 1.0.2036 → 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 +69 -31
- 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;
|
|
@@ -30260,6 +30258,10 @@ export interface components {
|
|
|
30260
30258
|
overageSuspenseAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
30261
30259
|
shortageSuspenseAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
30262
30260
|
otherRevenueAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
30261
|
+
/** Showheaderonpdf */
|
|
30262
|
+
showHeaderOnPdf: boolean;
|
|
30263
|
+
/** Showfooteronpdf */
|
|
30264
|
+
showFooterOnPdf: boolean;
|
|
30263
30265
|
};
|
|
30264
30266
|
/** BranchSettingsResponseSchema */
|
|
30265
30267
|
BranchSettingsResponseSchema: {
|
|
@@ -30273,40 +30275,44 @@ export interface components {
|
|
|
30273
30275
|
CreateUpdateBranchSettingsSchema: {
|
|
30274
30276
|
/**
|
|
30275
30277
|
* Storesafecash
|
|
30276
|
-
* Format: uuid
|
|
30277
30278
|
* @description required when pos module is on, get accounts using /api/v1/chart_of_account/?branchId={branch-id}&type=cash
|
|
30278
30279
|
*/
|
|
30279
|
-
storeSafeCash?:
|
|
30280
|
+
storeSafeCash?: number | null;
|
|
30280
30281
|
/**
|
|
30281
30282
|
* Cashshortageexpense
|
|
30282
|
-
* Format: uuid
|
|
30283
30283
|
* @description required when pos module is on, get accounts using /api/v1/chart_of_account/?branchId={branch-id}&type=cash
|
|
30284
30284
|
*/
|
|
30285
|
-
cashShortageExpense?:
|
|
30285
|
+
cashShortageExpense?: number | null;
|
|
30286
30286
|
/**
|
|
30287
30287
|
* Cashoverageincome
|
|
30288
|
-
* Format: uuid
|
|
30289
30288
|
* @description required when pos module is on, get accounts using /api/v1/chart_of_account/?branchId={branch-id}&type=cash
|
|
30290
30289
|
*/
|
|
30291
|
-
cashOverageIncome?:
|
|
30290
|
+
cashOverageIncome?: number | null;
|
|
30292
30291
|
/**
|
|
30293
30292
|
* Overagesuspenseaccount
|
|
30294
|
-
* Format: uuid
|
|
30295
30293
|
* @description required when pos module is on, get accounts using /api/v1/chart_of_account/?branchId={branch-id}&type=detail
|
|
30296
30294
|
*/
|
|
30297
|
-
overageSuspenseAccount?:
|
|
30295
|
+
overageSuspenseAccount?: number | null;
|
|
30298
30296
|
/**
|
|
30299
30297
|
* Shortagesuspenseaccount
|
|
30300
|
-
* Format: uuid
|
|
30301
30298
|
* @description required when pos module is on, get accounts using /api/v1/chart_of_account/?branchId={branch-id}&type=detail
|
|
30302
30299
|
*/
|
|
30303
|
-
shortageSuspenseAccount?:
|
|
30300
|
+
shortageSuspenseAccount?: number | null;
|
|
30304
30301
|
/**
|
|
30305
30302
|
* Otherrevenueaccount
|
|
30306
|
-
* Format: uuid
|
|
30307
30303
|
* @description required when pos module is on, get accounts using /api/v1/chart_of_account/?branchId={branch-id}&type=detail
|
|
30308
30304
|
*/
|
|
30309
|
-
otherRevenueAccount?:
|
|
30305
|
+
otherRevenueAccount?: number | null;
|
|
30306
|
+
/**
|
|
30307
|
+
* Showheaderonpdf
|
|
30308
|
+
* @default true
|
|
30309
|
+
*/
|
|
30310
|
+
showHeaderOnPdf: boolean;
|
|
30311
|
+
/**
|
|
30312
|
+
* Showfooteronpdf
|
|
30313
|
+
* @default true
|
|
30314
|
+
*/
|
|
30315
|
+
showFooterOnPdf: boolean;
|
|
30310
30316
|
};
|
|
30311
30317
|
/** WarehouseSchema */
|
|
30312
30318
|
WarehouseSchema: {
|
|
@@ -33663,6 +33669,8 @@ export interface components {
|
|
|
33663
33669
|
itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
|
|
33664
33670
|
/** Openingquantity */
|
|
33665
33671
|
openingQuantity: number;
|
|
33672
|
+
/** @description Active openings affect current stock; superseded openings are kept for audit only. */
|
|
33673
|
+
status: components["schemas"]["OpeningQuantityStatusChoices"];
|
|
33666
33674
|
/** Tracking */
|
|
33667
33675
|
tracking: components["schemas"]["OpeningQuantityItemTrackingSchema"][];
|
|
33668
33676
|
};
|
|
@@ -33725,6 +33733,11 @@ export interface components {
|
|
|
33725
33733
|
*/
|
|
33726
33734
|
details: components["schemas"]["OpeningQuantityDetailsSchema"][];
|
|
33727
33735
|
};
|
|
33736
|
+
/**
|
|
33737
|
+
* OpeningQuantityStatusChoices
|
|
33738
|
+
* @enum {string}
|
|
33739
|
+
*/
|
|
33740
|
+
OpeningQuantityStatusChoices: "active" | "superseded";
|
|
33728
33741
|
/** RetrieveWarehouseForOpeningQuantity */
|
|
33729
33742
|
RetrieveWarehouseForOpeningQuantity: {
|
|
33730
33743
|
/**
|
|
@@ -33844,6 +33857,15 @@ export interface components {
|
|
|
33844
33857
|
/** Candelete */
|
|
33845
33858
|
canDelete: boolean;
|
|
33846
33859
|
};
|
|
33860
|
+
/** OpeningQuantityImportResponse */
|
|
33861
|
+
OpeningQuantityImportResponse: {
|
|
33862
|
+
/** Message */
|
|
33863
|
+
message: string;
|
|
33864
|
+
/** Code */
|
|
33865
|
+
code: string;
|
|
33866
|
+
/** Id */
|
|
33867
|
+
id: number;
|
|
33868
|
+
};
|
|
33847
33869
|
/** UpdateOpeningQuantityItemTrackingSchema */
|
|
33848
33870
|
UpdateOpeningQuantityItemTrackingSchema: {
|
|
33849
33871
|
/**
|
|
@@ -77514,7 +77536,9 @@ export interface operations {
|
|
|
77514
77536
|
};
|
|
77515
77537
|
inventory_opening_stock_views_create_opening_quantity: {
|
|
77516
77538
|
parameters: {
|
|
77517
|
-
query?:
|
|
77539
|
+
query?: {
|
|
77540
|
+
allow_override?: boolean;
|
|
77541
|
+
};
|
|
77518
77542
|
header?: never;
|
|
77519
77543
|
path?: never;
|
|
77520
77544
|
cookie?: never;
|
|
@@ -77572,7 +77596,7 @@ export interface operations {
|
|
|
77572
77596
|
};
|
|
77573
77597
|
};
|
|
77574
77598
|
};
|
|
77575
|
-
|
|
77599
|
+
inventory_opening_stock_views_import_opening_quantities: {
|
|
77576
77600
|
parameters: {
|
|
77577
77601
|
query?: never;
|
|
77578
77602
|
header?: never;
|
|
@@ -77582,23 +77606,28 @@ export interface operations {
|
|
|
77582
77606
|
requestBody: {
|
|
77583
77607
|
content: {
|
|
77584
77608
|
"multipart/form-data": {
|
|
77609
|
+
/**
|
|
77610
|
+
* Warehouse Id
|
|
77611
|
+
* Format: uuid
|
|
77612
|
+
*/
|
|
77613
|
+
warehouse_id: string;
|
|
77585
77614
|
/**
|
|
77586
77615
|
* File
|
|
77587
77616
|
* Format: binary
|
|
77588
|
-
* @description
|
|
77617
|
+
* @description Excel file with Barcode and Quantity columns
|
|
77589
77618
|
*/
|
|
77590
77619
|
file: string;
|
|
77591
77620
|
};
|
|
77592
77621
|
};
|
|
77593
77622
|
};
|
|
77594
77623
|
responses: {
|
|
77595
|
-
/** @description
|
|
77596
|
-
|
|
77624
|
+
/** @description Created */
|
|
77625
|
+
201: {
|
|
77597
77626
|
headers: {
|
|
77598
77627
|
[name: string]: unknown;
|
|
77599
77628
|
};
|
|
77600
77629
|
content: {
|
|
77601
|
-
"application/json": components["schemas"]["
|
|
77630
|
+
"application/json": components["schemas"]["OpeningQuantityImportResponse"];
|
|
77602
77631
|
};
|
|
77603
77632
|
};
|
|
77604
77633
|
/** @description Bad Request */
|
|
@@ -77616,7 +77645,16 @@ export interface operations {
|
|
|
77616
77645
|
[name: string]: unknown;
|
|
77617
77646
|
};
|
|
77618
77647
|
content: {
|
|
77619
|
-
"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"];
|
|
77620
77658
|
};
|
|
77621
77659
|
};
|
|
77622
77660
|
/** @description Internal Server Error */
|
|
@@ -77625,7 +77663,7 @@ export interface operations {
|
|
|
77625
77663
|
[name: string]: unknown;
|
|
77626
77664
|
};
|
|
77627
77665
|
content: {
|
|
77628
|
-
"application/json": components["schemas"]["
|
|
77666
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
77629
77667
|
};
|
|
77630
77668
|
};
|
|
77631
77669
|
};
|