@agroyaar/sdk 3.4.3 → 3.4.4

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
@@ -647,9 +647,9 @@ var experimentMapper = {
647
647
  getExperiment: (dto) => ({
648
648
  id: dto.id,
649
649
  createdAt: dto.createdAt,
650
- laboratory: dto.laboratory.laboratoryName,
650
+ laboratory: dto.laboratory,
651
651
  samplesCount: dto.samplesCount,
652
- status: dto.status.name
652
+ status: dto.status
653
653
  }),
654
654
  getExperiments: (dto) => ({
655
655
  experiments: dto.experiments.map(experimentMapper.getExperiment),
package/dist/index.d.ts CHANGED
@@ -4310,8 +4310,10 @@ type ExperimentModel = {
4310
4310
  id: string;
4311
4311
  createdAt: string;
4312
4312
  samplesCount: number;
4313
- laboratory: {};
4314
- status: string;
4313
+ laboratory: {
4314
+ laboratoryName: string;
4315
+ };
4316
+ status: Status;
4315
4317
  };
4316
4318
  type ExperimentsModel = {
4317
4319
  experiments: ExperimentModel[];
package/dist/index.mjs CHANGED
@@ -611,9 +611,9 @@ var experimentMapper = {
611
611
  getExperiment: (dto) => ({
612
612
  id: dto.id,
613
613
  createdAt: dto.createdAt,
614
- laboratory: dto.laboratory.laboratoryName,
614
+ laboratory: dto.laboratory,
615
615
  samplesCount: dto.samplesCount,
616
- status: dto.status.name
616
+ status: dto.status
617
617
  }),
618
618
  getExperiments: (dto) => ({
619
619
  experiments: dto.experiments.map(experimentMapper.getExperiment),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agroyaar/sdk",
3
- "version": "3.4.3",
3
+ "version": "3.4.4",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",