@erp-galoper/types 1.0.579 → 1.0.581
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 +103 -57
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -20941,12 +20941,12 @@ export interface components {
|
|
|
20941
20941
|
/** @description the package it belongs to */
|
|
20942
20942
|
package: components["schemas"]["PackageSummarySchema"];
|
|
20943
20943
|
/** @description Type of barcode used for the package */
|
|
20944
|
-
barcodeType: components["schemas"]["BarcodeTypeValues"];
|
|
20944
|
+
barcodeType: components["schemas"]["BarcodeTypeValues"] | null;
|
|
20945
20945
|
/**
|
|
20946
20946
|
* Barcode
|
|
20947
20947
|
* @description Unique barcode for the package
|
|
20948
20948
|
*/
|
|
20949
|
-
barcode: string;
|
|
20949
|
+
barcode: string | null;
|
|
20950
20950
|
/**
|
|
20951
20951
|
* Quantity
|
|
20952
20952
|
* @description Quantity of the packed item
|
|
@@ -20956,16 +20956,16 @@ export interface components {
|
|
|
20956
20956
|
* Defaultcost
|
|
20957
20957
|
* @description Cost of the packed item
|
|
20958
20958
|
*/
|
|
20959
|
-
defaultCost: number;
|
|
20959
|
+
defaultCost: number | null;
|
|
20960
20960
|
/** @description Price of the packed item */
|
|
20961
|
-
defaultCostCurrency: components["schemas"]["CurrencySummaryInfo"];
|
|
20961
|
+
defaultCostCurrency: components["schemas"]["CurrencySummaryInfo"] | null;
|
|
20962
20962
|
/**
|
|
20963
20963
|
* Defaultsellingprice
|
|
20964
20964
|
* @description Price of the packed item
|
|
20965
20965
|
*/
|
|
20966
|
-
defaultSellingPrice: number;
|
|
20966
|
+
defaultSellingPrice: number | null;
|
|
20967
20967
|
/** @description Price of the packed item */
|
|
20968
|
-
defaultSellingPriceCurrency: components["schemas"]["CurrencySummaryInfo"];
|
|
20968
|
+
defaultSellingPriceCurrency: components["schemas"]["CurrencySummaryInfo"] | null;
|
|
20969
20969
|
/** @description ID of the unit of measure for the packed item */
|
|
20970
20970
|
unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
|
|
20971
20971
|
};
|
|
@@ -21062,10 +21062,6 @@ export interface components {
|
|
|
21062
21062
|
* @default false
|
|
21063
21063
|
*/
|
|
21064
21064
|
availableInPos: boolean;
|
|
21065
|
-
/** Shelflife */
|
|
21066
|
-
shelfLife?: string | null;
|
|
21067
|
-
/** Endoflife */
|
|
21068
|
-
endOfLife?: string | null;
|
|
21069
21065
|
/**
|
|
21070
21066
|
* Isexchangeable
|
|
21071
21067
|
* @description this field only appears if pos in galoper settings is enabled and available in pos is true
|
|
@@ -21081,10 +21077,10 @@ export interface components {
|
|
|
21081
21077
|
maxDiscountSales: number | null;
|
|
21082
21078
|
defaultSaleUnitOfMeasure: components["schemas"]["UnitOfMeasureSchema"] | null;
|
|
21083
21079
|
/** Defaultsellingprice */
|
|
21084
|
-
defaultSellingPrice: number;
|
|
21080
|
+
defaultSellingPrice: number | null;
|
|
21085
21081
|
defaultSellingPriceCurrency?: components["schemas"]["CurrencySummaryInfo"] | null;
|
|
21086
21082
|
/** Defaultcost */
|
|
21087
|
-
defaultCost: number;
|
|
21083
|
+
defaultCost: number | null;
|
|
21088
21084
|
defaultCostCurrency?: components["schemas"]["CurrencySummaryInfo"] | null;
|
|
21089
21085
|
/** Leadtime */
|
|
21090
21086
|
leadTime?: string | null;
|
|
@@ -21122,11 +21118,20 @@ export interface components {
|
|
|
21122
21118
|
* @default false
|
|
21123
21119
|
*/
|
|
21124
21120
|
hasExpiryDate: boolean | null;
|
|
21125
|
-
/**
|
|
21121
|
+
/**
|
|
21122
|
+
* Bestbeforedate
|
|
21123
|
+
* @description visible when hasExpiryDate is true
|
|
21124
|
+
*/
|
|
21126
21125
|
bestBeforeDate?: number | null;
|
|
21127
|
-
/**
|
|
21126
|
+
/**
|
|
21127
|
+
* Removaldate
|
|
21128
|
+
* @description visible when hasExpiryDate is true
|
|
21129
|
+
*/
|
|
21128
21130
|
removalDate?: number | null;
|
|
21129
|
-
/**
|
|
21131
|
+
/**
|
|
21132
|
+
* Alertdate
|
|
21133
|
+
* @description visible when hasExpiryDate is true
|
|
21134
|
+
*/
|
|
21130
21135
|
alertDate?: number | null;
|
|
21131
21136
|
/**
|
|
21132
21137
|
* Itempackages
|
|
@@ -21242,10 +21247,6 @@ export interface components {
|
|
|
21242
21247
|
* @default false
|
|
21243
21248
|
*/
|
|
21244
21249
|
availableInPos: boolean;
|
|
21245
|
-
/** Shelflife */
|
|
21246
|
-
shelfLife?: string | null;
|
|
21247
|
-
/** Endoflife */
|
|
21248
|
-
endOfLife?: string | null;
|
|
21249
21250
|
/**
|
|
21250
21251
|
* Isexchangeable
|
|
21251
21252
|
* @description this field only appears if pos in galoper settings is enabled and available in pos is true
|
|
@@ -21261,10 +21262,10 @@ export interface components {
|
|
|
21261
21262
|
maxDiscountSales: number | null;
|
|
21262
21263
|
defaultSaleUnitOfMeasure: components["schemas"]["UnitOfMeasureSchema"] | null;
|
|
21263
21264
|
/** Defaultsellingprice */
|
|
21264
|
-
defaultSellingPrice: number;
|
|
21265
|
+
defaultSellingPrice: number | null;
|
|
21265
21266
|
defaultSellingPriceCurrency?: components["schemas"]["CurrencySummaryInfo"] | null;
|
|
21266
21267
|
/** Defaultcost */
|
|
21267
|
-
defaultCost: number;
|
|
21268
|
+
defaultCost: number | null;
|
|
21268
21269
|
defaultCostCurrency?: components["schemas"]["CurrencySummaryInfo"] | null;
|
|
21269
21270
|
/** Leadtime */
|
|
21270
21271
|
leadTime?: string | null;
|
|
@@ -21302,11 +21303,20 @@ export interface components {
|
|
|
21302
21303
|
* @default false
|
|
21303
21304
|
*/
|
|
21304
21305
|
hasExpiryDate: boolean | null;
|
|
21305
|
-
/**
|
|
21306
|
+
/**
|
|
21307
|
+
* Bestbeforedate
|
|
21308
|
+
* @description visible when hasExpiryDate is true
|
|
21309
|
+
*/
|
|
21306
21310
|
bestBeforeDate?: number | null;
|
|
21307
|
-
/**
|
|
21311
|
+
/**
|
|
21312
|
+
* Removaldate
|
|
21313
|
+
* @description visible when hasExpiryDate is true
|
|
21314
|
+
*/
|
|
21308
21315
|
removalDate?: number | null;
|
|
21309
|
-
/**
|
|
21316
|
+
/**
|
|
21317
|
+
* Alertdate
|
|
21318
|
+
* @description visible when hasExpiryDate is true
|
|
21319
|
+
*/
|
|
21310
21320
|
alertDate?: number | null;
|
|
21311
21321
|
/**
|
|
21312
21322
|
* Itempackages
|
|
@@ -21516,10 +21526,6 @@ export interface components {
|
|
|
21516
21526
|
* @default false
|
|
21517
21527
|
*/
|
|
21518
21528
|
availableInPos: boolean | null;
|
|
21519
|
-
/** Shelflife */
|
|
21520
|
-
shelfLife?: string | null;
|
|
21521
|
-
/** Endoflife */
|
|
21522
|
-
endOfLife?: string | null;
|
|
21523
21529
|
/**
|
|
21524
21530
|
* Isexchangeable
|
|
21525
21531
|
* @description this field only appears if pos in galoper settings is enabled and available in pos is true
|
|
@@ -21588,11 +21594,26 @@ export interface components {
|
|
|
21588
21594
|
* @default false
|
|
21589
21595
|
*/
|
|
21590
21596
|
hasExpiryDate: boolean | null;
|
|
21591
|
-
/**
|
|
21597
|
+
/**
|
|
21598
|
+
* Bestbeforedate
|
|
21599
|
+
* @description
|
|
21600
|
+
* - The date by which the item is best to be consumed or used for optimal quality. Quality may decline after this date, but the item might still be safe to use for a period
|
|
21601
|
+
* - visible when hasExpiryDate is true
|
|
21602
|
+
*/
|
|
21592
21603
|
bestBeforeDate?: number | null;
|
|
21593
|
-
/**
|
|
21604
|
+
/**
|
|
21605
|
+
* Removaldate
|
|
21606
|
+
* @description
|
|
21607
|
+
* - The date after which the item must be removed from inventory or use.It is unsafe or completely unusable after this date
|
|
21608
|
+
* - visible when hasExpiryDate is true
|
|
21609
|
+
*/
|
|
21594
21610
|
removalDate?: number | null;
|
|
21595
|
-
/**
|
|
21611
|
+
/**
|
|
21612
|
+
* Alertdate
|
|
21613
|
+
* @description
|
|
21614
|
+
* - A date to trigger an alert or notification before the expiry or removal date, allowing time for action (e.g., promotional sales, transfer, or disposal planning)
|
|
21615
|
+
* - visible when hasExpiryDate is true
|
|
21616
|
+
*/
|
|
21596
21617
|
alertDate?: number | null;
|
|
21597
21618
|
};
|
|
21598
21619
|
/** CreateItemSchema */
|
|
@@ -21615,7 +21636,10 @@ export interface components {
|
|
|
21615
21636
|
skuCode?: string | null;
|
|
21616
21637
|
/**
|
|
21617
21638
|
* Barcodetype
|
|
21618
|
-
* @description
|
|
21639
|
+
* @description
|
|
21640
|
+
* get default barcode type from inventory settings(/api/v1/settings/inventory/) if field value exist
|
|
21641
|
+
* - required when barcode is provided
|
|
21642
|
+
*
|
|
21619
21643
|
*/
|
|
21620
21644
|
barcodeType?: string | null;
|
|
21621
21645
|
/** Barcode */
|
|
@@ -21692,10 +21716,6 @@ export interface components {
|
|
|
21692
21716
|
* @default false
|
|
21693
21717
|
*/
|
|
21694
21718
|
availableInPos: boolean;
|
|
21695
|
-
/** Shelflife */
|
|
21696
|
-
shelfLife?: string | null;
|
|
21697
|
-
/** Endoflife */
|
|
21698
|
-
endOfLife?: string | null;
|
|
21699
21719
|
/**
|
|
21700
21720
|
* Isexchangeable
|
|
21701
21721
|
* @description this field only appears if pos in galoper settings is enabled and available in pos is true
|
|
@@ -21717,14 +21737,14 @@ export interface components {
|
|
|
21717
21737
|
* Defaultsellingpricecurrency
|
|
21718
21738
|
* @description currency should be either companys currency or usd
|
|
21719
21739
|
*/
|
|
21720
|
-
defaultSellingPriceCurrency
|
|
21740
|
+
defaultSellingPriceCurrency?: number;
|
|
21721
21741
|
/** Defaultcost */
|
|
21722
21742
|
defaultCost?: number;
|
|
21723
21743
|
/**
|
|
21724
21744
|
* Defaultcostcurrency
|
|
21725
21745
|
* @description currency should be either comapnys currency or usd
|
|
21726
21746
|
*/
|
|
21727
|
-
defaultCostCurrency
|
|
21747
|
+
defaultCostCurrency?: number | null;
|
|
21728
21748
|
/** Leadtime */
|
|
21729
21749
|
leadTime?: string | null;
|
|
21730
21750
|
/** Minimumquantityorder */
|
|
@@ -21757,7 +21777,7 @@ export interface components {
|
|
|
21757
21777
|
* Visibility and Requirement:
|
|
21758
21778
|
* - Visible if the accounting module is active
|
|
21759
21779
|
* API Endpoints to get default of transactional group:
|
|
21760
|
-
* API Route : /api/v1/settings/accounting/
|
|
21780
|
+
* API Route : /api/v1/settings/accounting/transactional_subsidiary_accounts/ and filter by initialGroup = true
|
|
21761
21781
|
*
|
|
21762
21782
|
*/
|
|
21763
21783
|
transactionalGroup?: number | null;
|
|
@@ -21773,11 +21793,26 @@ export interface components {
|
|
|
21773
21793
|
* @default false
|
|
21774
21794
|
*/
|
|
21775
21795
|
hasExpiryDate: boolean | null;
|
|
21776
|
-
/**
|
|
21796
|
+
/**
|
|
21797
|
+
* Bestbeforedate
|
|
21798
|
+
* @description
|
|
21799
|
+
* - The date by which the item is best to be consumed or used for optimal quality. Quality may decline after this date, but the item might still be safe to use for a period
|
|
21800
|
+
* - visible when hasExpiryDate is true
|
|
21801
|
+
*/
|
|
21777
21802
|
bestBeforeDate?: number | null;
|
|
21778
|
-
/**
|
|
21803
|
+
/**
|
|
21804
|
+
* Removaldate
|
|
21805
|
+
* @description
|
|
21806
|
+
* - The date after which the item must be removed from inventory or use.It is unsafe or completely unusable after this date
|
|
21807
|
+
* - visible when hasExpiryDate is true
|
|
21808
|
+
*/
|
|
21779
21809
|
removalDate?: number | null;
|
|
21780
|
-
/**
|
|
21810
|
+
/**
|
|
21811
|
+
* Alertdate
|
|
21812
|
+
* @description
|
|
21813
|
+
* - A date to trigger an alert or notification before the expiry or removal date, allowing time for action (e.g., promotional sales, transfer, or disposal planning)
|
|
21814
|
+
* - visible when hasExpiryDate is true
|
|
21815
|
+
*/
|
|
21781
21816
|
alertDate?: number | null;
|
|
21782
21817
|
commissionCalculation?: components["schemas"]["CommissionCalculation"];
|
|
21783
21818
|
/** Packages */
|
|
@@ -21804,7 +21839,7 @@ export interface components {
|
|
|
21804
21839
|
*/
|
|
21805
21840
|
package?: string | null;
|
|
21806
21841
|
/** @description Type of barcode used for the package */
|
|
21807
|
-
barcodeType
|
|
21842
|
+
barcodeType?: components["schemas"]["BarcodeTypeValues"];
|
|
21808
21843
|
/**
|
|
21809
21844
|
* Barcode
|
|
21810
21845
|
* @description Unique barcode for the package
|
|
@@ -21819,22 +21854,22 @@ export interface components {
|
|
|
21819
21854
|
* Defaultcost
|
|
21820
21855
|
* @description Cost of the packed item
|
|
21821
21856
|
*/
|
|
21822
|
-
defaultCost
|
|
21857
|
+
defaultCost?: number;
|
|
21823
21858
|
/**
|
|
21824
21859
|
* Defaultcostcurrency
|
|
21825
21860
|
* @description Price of the packed item in usd or company currency only
|
|
21826
21861
|
*/
|
|
21827
|
-
defaultCostCurrency
|
|
21862
|
+
defaultCostCurrency?: number;
|
|
21828
21863
|
/**
|
|
21829
21864
|
* Defaultsellingprice
|
|
21830
21865
|
* @description Price of the packed item
|
|
21831
21866
|
*/
|
|
21832
|
-
defaultSellingPrice
|
|
21867
|
+
defaultSellingPrice?: number;
|
|
21833
21868
|
/**
|
|
21834
21869
|
* Defaultsellingpricecurrency
|
|
21835
21870
|
* @description Price of the packed item in usd or company currency only
|
|
21836
21871
|
*/
|
|
21837
|
-
defaultSellingPriceCurrency
|
|
21872
|
+
defaultSellingPriceCurrency?: number;
|
|
21838
21873
|
/**
|
|
21839
21874
|
* Unitofmeasure
|
|
21840
21875
|
* @description ID of the unit of measure for the packed item, should be chosen from the item's unit of measures
|
|
@@ -21927,10 +21962,6 @@ export interface components {
|
|
|
21927
21962
|
weightUnitOfMeasure?: number | null;
|
|
21928
21963
|
/** Availableinpos */
|
|
21929
21964
|
availableInPos?: boolean | null;
|
|
21930
|
-
/** Shelflife */
|
|
21931
|
-
shelfLife?: string | null;
|
|
21932
|
-
/** Endoflife */
|
|
21933
|
-
endOfLife?: string | null;
|
|
21934
21965
|
/**
|
|
21935
21966
|
* Isexchangeable
|
|
21936
21967
|
* @description this field only appears if pos in galoper settings is enabled and available in pos is true
|
|
@@ -21985,7 +22016,7 @@ export interface components {
|
|
|
21985
22016
|
* Visibility and Requirement:
|
|
21986
22017
|
* - Visible if the accounting module is active
|
|
21987
22018
|
* API Endpoints to get default of transactional group:
|
|
21988
|
-
* API Route : /api/v1/settings/accounting/
|
|
22019
|
+
* API Route : /api/v1/settings/accounting/transactional_subsidiary_accounts/ and filter by initialGroup = true
|
|
21989
22020
|
*
|
|
21990
22021
|
*/
|
|
21991
22022
|
transactionalGroup?: number | null;
|
|
@@ -22000,11 +22031,26 @@ export interface components {
|
|
|
22000
22031
|
* @default false
|
|
22001
22032
|
*/
|
|
22002
22033
|
hasExpiryDate: boolean | null;
|
|
22003
|
-
/**
|
|
22034
|
+
/**
|
|
22035
|
+
* Bestbeforedate
|
|
22036
|
+
* @description
|
|
22037
|
+
* - The date by which the item is best to be consumed or used for optimal quality. Quality may decline after this date, but the item might still be safe to use for a period
|
|
22038
|
+
* - visible when hasExpiryDate is true
|
|
22039
|
+
*/
|
|
22004
22040
|
bestBeforeDate?: number | null;
|
|
22005
|
-
/**
|
|
22041
|
+
/**
|
|
22042
|
+
* Removaldate
|
|
22043
|
+
* @description
|
|
22044
|
+
* - The date after which the item must be removed from inventory or use.It is unsafe or completely unusable after this date
|
|
22045
|
+
* - visible when hasExpiryDate is true
|
|
22046
|
+
*/
|
|
22006
22047
|
removalDate?: number | null;
|
|
22007
|
-
/**
|
|
22048
|
+
/**
|
|
22049
|
+
* Alertdate
|
|
22050
|
+
* @description
|
|
22051
|
+
* - A date to trigger an alert or notification before the expiry or removal date, allowing time for action (e.g., promotional sales, transfer, or disposal planning)
|
|
22052
|
+
* - visible when hasExpiryDate is true
|
|
22053
|
+
*/
|
|
22008
22054
|
alertDate?: number | null;
|
|
22009
22055
|
/**
|
|
22010
22056
|
* Packages
|
|
@@ -27007,7 +27053,7 @@ export interface components {
|
|
|
27007
27053
|
/**
|
|
27008
27054
|
* Id
|
|
27009
27055
|
* Format: uuid
|
|
27010
|
-
* @example
|
|
27056
|
+
* @example 5c1b42c9-3d69-4631-89b2-f1953c1b793f
|
|
27011
27057
|
*/
|
|
27012
27058
|
id: string;
|
|
27013
27059
|
/**
|
|
@@ -32967,7 +33013,7 @@ export interface components {
|
|
|
32967
33013
|
* ReceivingStatusValueChoices
|
|
32968
33014
|
* @enum {string}
|
|
32969
33015
|
*/
|
|
32970
|
-
ReceivingStatusValueChoices: "not_received" | "
|
|
33016
|
+
ReceivingStatusValueChoices: "not_received" | "partially_received" | "received";
|
|
32971
33017
|
/** CreatePurchaseOrderItemsSchema */
|
|
32972
33018
|
CreatePurchaseOrderItemsSchema: {
|
|
32973
33019
|
/**
|