@erp-galoper/types 1.0.1156 → 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.
Files changed (2) hide show
  1. package/openapi.ts +47 -13
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -645,7 +645,7 @@ export interface paths {
645
645
  * - variantSettingsDoesNotExist
646
646
  * - invalidBarcode
647
647
  * - errorGeneratingBarcode
648
- *
648
+ * - atLeastOneVariantIsRequiredWhenTrackStockByVariant
649
649
  * - 403:
650
650
  * - permissionDenied
651
651
  *
@@ -775,6 +775,7 @@ export interface paths {
775
775
  * - errorUpdatingVariants
776
776
  * - itemPackageNotExist
777
777
  * - trackInventoryByNotAllowed
778
+ * - atLeastOneVariantIsRequiredWhenTrackStockByVariant
778
779
  * - 403:
779
780
  * - permissionDenied
780
781
  *
@@ -22677,6 +22678,13 @@ export interface components {
22677
22678
  * @default []
22678
22679
  */
22679
22680
  quantities: components["schemas"]["QuantityGroupSchema"][] | null;
22681
+ /**
22682
+ * Supplierpurchasedprices
22683
+ * @default []
22684
+ */
22685
+ supplierPurchasedPrices: components["schemas"]["SupplierPurchasedPricesSchema"][];
22686
+ /** Lastpurchasedprice */
22687
+ lastPurchasedPrice: number | string | null;
22680
22688
  };
22681
22689
  /** ItemSchema */
22682
22690
  ItemSchema: {
@@ -23225,6 +23233,22 @@ export interface components {
23225
23233
  /** Description */
23226
23234
  description: string;
23227
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
+ };
23228
23252
  /** TagSchema */
23229
23253
  TagSchema: {
23230
23254
  /** Id */
@@ -23243,6 +23267,17 @@ export interface components {
23243
23267
  /** Type */
23244
23268
  type: components["schemas"]["TaxTypes"][];
23245
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
+ };
23246
23281
  /**
23247
23282
  * TaxTypes
23248
23283
  * @enum {string}
@@ -23298,6 +23333,13 @@ export interface components {
23298
23333
  * @default []
23299
23334
  */
23300
23335
  prices: components["schemas"]["PricesFromPriceListSchema"][];
23336
+ /**
23337
+ * Supplierpurchasedprices
23338
+ * @default []
23339
+ */
23340
+ supplierPurchasedPrices: components["schemas"]["SupplierPurchasedPricesSchema"][];
23341
+ /** Lastpurchasedprice */
23342
+ lastPurchasedPrice: number | string | null;
23301
23343
  };
23302
23344
  /** VariantOfSchema */
23303
23345
  VariantOfSchema: {
@@ -35758,17 +35800,6 @@ export interface components {
35758
35800
  /** Serialnumber */
35759
35801
  serialNumber: string;
35760
35802
  };
35761
- /** TaxSharedSchema */
35762
- TaxSharedSchema: {
35763
- /** Id */
35764
- id: number;
35765
- /** Name */
35766
- name: string;
35767
- /** Type */
35768
- type: components["schemas"]["TaxTypes"][];
35769
- /** Ratepercentage */
35770
- ratePercentage: number;
35771
- };
35772
35803
  /** CreatePurchaseQuotationItemsSchema */
35773
35804
  CreatePurchaseQuotationItemsSchema: {
35774
35805
  /**
@@ -51880,7 +51911,6 @@ export interface operations {
51880
51911
  branchId?: number;
51881
51912
  /** @description search by item name ,short name, sku code or barcode */
51882
51913
  search?: string;
51883
- priceListId?: string;
51884
51914
  /** @description List of warehouse IDs to filter quantities by. If not provided, all warehouses will be included. */
51885
51915
  warehouses?: number[] | null;
51886
51916
  /** @description Include detailed quantity breakdown with warehouse information for each item and item package */
@@ -51893,6 +51923,8 @@ export interface operations {
51893
51923
  companyRate?: number | string;
51894
51924
  /** @description required when price list ids is provided and type is sales, rate is taken from document itself */
51895
51925
  secondaryRate?: number | string;
51926
+ /** @description required when you want to get items purchase prices from supplier price list */
51927
+ supplierId?: number;
51896
51928
  };
51897
51929
  header?: never;
51898
51930
  path?: never;
@@ -52082,6 +52114,8 @@ export interface operations {
52082
52114
  companyRate?: number | string;
52083
52115
  /** @description required when price list ids is provided and type is sales, rate is taken from document itself */
52084
52116
  secondaryRate?: number | string;
52117
+ /** @description required when you want to get item purchase prices from supplier price list */
52118
+ supplierId?: number;
52085
52119
  };
52086
52120
  header?: never;
52087
52121
  path: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1156",
3
+ "version": "1.0.1158",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],