@agroyaar/sdk 3.13.1 → 3.13.2

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/dist/index.cjs CHANGED
@@ -821,8 +821,9 @@ var productsMappers = {
821
821
  getProduct: (dto) => ({
822
822
  id: dto.id,
823
823
  name: dto.name,
824
- persianName: dto.persianName,
825
- type: dto.type
824
+ type: dto.type,
825
+ productId: dto.productId,
826
+ persianName: dto.persianName
826
827
  }),
827
828
  getProducts: (dto) => dto.map(productsMappers.getProduct)
828
829
  };
package/dist/index.d.ts CHANGED
@@ -5209,6 +5209,7 @@ type PlantTypeModel = {
5209
5209
  type ProductModel = {
5210
5210
  id: string;
5211
5211
  name: string;
5212
+ productId: number;
5212
5213
  persianName: string;
5213
5214
  type: "FARM" | "ORCHARD";
5214
5215
  };
package/dist/index.mjs CHANGED
@@ -785,8 +785,9 @@ var productsMappers = {
785
785
  getProduct: (dto) => ({
786
786
  id: dto.id,
787
787
  name: dto.name,
788
- persianName: dto.persianName,
789
- type: dto.type
788
+ type: dto.type,
789
+ productId: dto.productId,
790
+ persianName: dto.persianName
790
791
  }),
791
792
  getProducts: (dto) => dto.map(productsMappers.getProduct)
792
793
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agroyaar/sdk",
3
- "version": "3.13.1",
3
+ "version": "3.13.2",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",