@erp-galoper/types 1.0.1157 → 1.0.1158
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 +45 -12
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -22678,6 +22678,13 @@ export interface components {
|
|
|
22678
22678
|
* @default []
|
|
22679
22679
|
*/
|
|
22680
22680
|
quantities: components["schemas"]["QuantityGroupSchema"][] | null;
|
|
22681
|
+
/**
|
|
22682
|
+
* Supplierpurchasedprices
|
|
22683
|
+
* @default []
|
|
22684
|
+
*/
|
|
22685
|
+
supplierPurchasedPrices: components["schemas"]["SupplierPurchasedPricesSchema"][];
|
|
22686
|
+
/** Lastpurchasedprice */
|
|
22687
|
+
lastPurchasedPrice: number | string | null;
|
|
22681
22688
|
};
|
|
22682
22689
|
/** ItemSchema */
|
|
22683
22690
|
ItemSchema: {
|
|
@@ -23226,6 +23233,22 @@ export interface components {
|
|
|
23226
23233
|
/** Description */
|
|
23227
23234
|
description: string;
|
|
23228
23235
|
};
|
|
23236
|
+
/** SupplierPurchasedPricesSchema */
|
|
23237
|
+
SupplierPurchasedPricesSchema: {
|
|
23238
|
+
/** Quantity */
|
|
23239
|
+
quantity: number;
|
|
23240
|
+
/** Unitprice */
|
|
23241
|
+
unitPrice: number | string;
|
|
23242
|
+
/** Discount */
|
|
23243
|
+
discount: number | string | null;
|
|
23244
|
+
/**
|
|
23245
|
+
* Taxes
|
|
23246
|
+
* @default []
|
|
23247
|
+
*/
|
|
23248
|
+
taxes: components["schemas"]["TaxSharedSchema"][];
|
|
23249
|
+
/** Total */
|
|
23250
|
+
total: number | string | null;
|
|
23251
|
+
};
|
|
23229
23252
|
/** TagSchema */
|
|
23230
23253
|
TagSchema: {
|
|
23231
23254
|
/** Id */
|
|
@@ -23244,6 +23267,17 @@ export interface components {
|
|
|
23244
23267
|
/** Type */
|
|
23245
23268
|
type: components["schemas"]["TaxTypes"][];
|
|
23246
23269
|
};
|
|
23270
|
+
/** TaxSharedSchema */
|
|
23271
|
+
TaxSharedSchema: {
|
|
23272
|
+
/** Id */
|
|
23273
|
+
id: number;
|
|
23274
|
+
/** Name */
|
|
23275
|
+
name: string;
|
|
23276
|
+
/** Type */
|
|
23277
|
+
type: components["schemas"]["TaxTypes"][];
|
|
23278
|
+
/** Ratepercentage */
|
|
23279
|
+
ratePercentage: number;
|
|
23280
|
+
};
|
|
23247
23281
|
/**
|
|
23248
23282
|
* TaxTypes
|
|
23249
23283
|
* @enum {string}
|
|
@@ -23299,6 +23333,13 @@ export interface components {
|
|
|
23299
23333
|
* @default []
|
|
23300
23334
|
*/
|
|
23301
23335
|
prices: components["schemas"]["PricesFromPriceListSchema"][];
|
|
23336
|
+
/**
|
|
23337
|
+
* Supplierpurchasedprices
|
|
23338
|
+
* @default []
|
|
23339
|
+
*/
|
|
23340
|
+
supplierPurchasedPrices: components["schemas"]["SupplierPurchasedPricesSchema"][];
|
|
23341
|
+
/** Lastpurchasedprice */
|
|
23342
|
+
lastPurchasedPrice: number | string | null;
|
|
23302
23343
|
};
|
|
23303
23344
|
/** VariantOfSchema */
|
|
23304
23345
|
VariantOfSchema: {
|
|
@@ -35759,17 +35800,6 @@ export interface components {
|
|
|
35759
35800
|
/** Serialnumber */
|
|
35760
35801
|
serialNumber: string;
|
|
35761
35802
|
};
|
|
35762
|
-
/** TaxSharedSchema */
|
|
35763
|
-
TaxSharedSchema: {
|
|
35764
|
-
/** Id */
|
|
35765
|
-
id: number;
|
|
35766
|
-
/** Name */
|
|
35767
|
-
name: string;
|
|
35768
|
-
/** Type */
|
|
35769
|
-
type: components["schemas"]["TaxTypes"][];
|
|
35770
|
-
/** Ratepercentage */
|
|
35771
|
-
ratePercentage: number;
|
|
35772
|
-
};
|
|
35773
35803
|
/** CreatePurchaseQuotationItemsSchema */
|
|
35774
35804
|
CreatePurchaseQuotationItemsSchema: {
|
|
35775
35805
|
/**
|
|
@@ -51881,7 +51911,6 @@ export interface operations {
|
|
|
51881
51911
|
branchId?: number;
|
|
51882
51912
|
/** @description search by item name ,short name, sku code or barcode */
|
|
51883
51913
|
search?: string;
|
|
51884
|
-
priceListId?: string;
|
|
51885
51914
|
/** @description List of warehouse IDs to filter quantities by. If not provided, all warehouses will be included. */
|
|
51886
51915
|
warehouses?: number[] | null;
|
|
51887
51916
|
/** @description Include detailed quantity breakdown with warehouse information for each item and item package */
|
|
@@ -51894,6 +51923,8 @@ export interface operations {
|
|
|
51894
51923
|
companyRate?: number | string;
|
|
51895
51924
|
/** @description required when price list ids is provided and type is sales, rate is taken from document itself */
|
|
51896
51925
|
secondaryRate?: number | string;
|
|
51926
|
+
/** @description required when you want to get items purchase prices from supplier price list */
|
|
51927
|
+
supplierId?: number;
|
|
51897
51928
|
};
|
|
51898
51929
|
header?: never;
|
|
51899
51930
|
path?: never;
|
|
@@ -52083,6 +52114,8 @@ export interface operations {
|
|
|
52083
52114
|
companyRate?: number | string;
|
|
52084
52115
|
/** @description required when price list ids is provided and type is sales, rate is taken from document itself */
|
|
52085
52116
|
secondaryRate?: number | string;
|
|
52117
|
+
/** @description required when you want to get item purchase prices from supplier price list */
|
|
52118
|
+
supplierId?: number;
|
|
52086
52119
|
};
|
|
52087
52120
|
header?: never;
|
|
52088
52121
|
path: {
|