@agroyaar/sdk 3.1.0 → 3.1.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
@@ -94,6 +94,7 @@ var createClient = (config, middlewares = []) => {
94
94
  var croppingPatternMapper = {
95
95
  getOne: (dto) => ({
96
96
  id: dto.id,
97
+ createdAt: dto.createdAt,
97
98
  cropKind: dto.cropKind,
98
99
  farm: dto.farm,
99
100
  farmer: dto.farmer,
package/dist/index.d.ts CHANGED
@@ -909,6 +909,8 @@ interface components {
909
909
  FarmersResponseDto: {
910
910
  readonly result: components["schemas"]["FarmersResponseResult"];
911
911
  };
912
+ ExperimentParameterKind: Record<string, never>;
913
+ ExperimentKind: Record<string, never>;
912
914
  ExperimentParameter: {
913
915
  readonly id: string;
914
916
  /** Format: date-time */
@@ -917,6 +919,22 @@ interface components {
917
919
  readonly updatedAt: string;
918
920
  /** Format: date-time */
919
921
  readonly deletedAt: string;
922
+ name: string;
923
+ persianName: string;
924
+ unit: string;
925
+ cost: number;
926
+ typeId: number;
927
+ kindId: number;
928
+ displayOrder: number;
929
+ status: string;
930
+ kind: components["schemas"]["ExperimentParameterKind"];
931
+ optimumRange: string;
932
+ idwClusterConfigIds: string[];
933
+ type: components["schemas"]["ExperimentKind"];
934
+ idwClusterConfigs: string[];
935
+ uuid: string;
936
+ startColor: string[];
937
+ endColor: string[];
920
938
  };
921
939
  UnavailableExperimentParameter: {
922
940
  /** @description شناسه آزمایش */
@@ -928,7 +946,10 @@ interface components {
928
946
  /** @description پارامتر‌های ناموجود */
929
947
  unavailableExperimentParameters: components["schemas"]["UnavailableExperimentParameter"][];
930
948
  };
931
- Experiment: {
949
+ ExperimentSamplingDepthKind: Record<string, never>;
950
+ ExperimentSamplingPlantElementKind: Record<string, never>;
951
+ ExperimentStation: Record<string, never>;
952
+ Expert: {
932
953
  readonly id: string;
933
954
  /** Format: date-time */
934
955
  readonly createdAt: string;
@@ -937,18 +958,7 @@ interface components {
937
958
  /** Format: date-time */
938
959
  readonly deletedAt: string;
939
960
  };
940
- ExperimentsResponseData: {
941
- readonly meta: components["schemas"]["ExperimentMeta"];
942
- readonly experiments: components["schemas"]["Experiment"][];
943
- };
944
- ExperimentsResponseResult: {
945
- readonly message: string;
946
- readonly code: string;
947
- readonly data: components["schemas"]["ExperimentsResponseData"];
948
- };
949
- ExperimentsResponseDto: {
950
- readonly result: components["schemas"]["ExperimentsResponseResult"];
951
- };
961
+ ExperimentCategoryKind: Record<string, never>;
952
962
  OwnershipType: {
953
963
  id: number;
954
964
  name: string;
@@ -989,6 +999,154 @@ interface components {
989
999
  ownershipType: components["schemas"]["OwnershipType"];
990
1000
  farmer: components["schemas"]["Farmer"];
991
1001
  };
1002
+ Pool: {
1003
+ readonly id: string;
1004
+ /** Format: date-time */
1005
+ readonly createdAt: string;
1006
+ /** Format: date-time */
1007
+ readonly updatedAt: string;
1008
+ /** Format: date-time */
1009
+ readonly deletedAt: string;
1010
+ };
1011
+ Season: {
1012
+ readonly id: string;
1013
+ /** Format: date-time */
1014
+ readonly createdAt: string;
1015
+ /** Format: date-time */
1016
+ readonly updatedAt: string;
1017
+ /** Format: date-time */
1018
+ readonly deletedAt: string;
1019
+ };
1020
+ IrrigationSource: {
1021
+ readonly id: string;
1022
+ /** Format: date-time */
1023
+ readonly createdAt: string;
1024
+ /** Format: date-time */
1025
+ readonly updatedAt: string;
1026
+ /** Format: date-time */
1027
+ readonly deletedAt: string;
1028
+ city: components["schemas"]["City"];
1029
+ cityId: string;
1030
+ /** @description بتمن */
1031
+ name: string;
1032
+ province: components["schemas"]["Province"];
1033
+ provinceId: string;
1034
+ zone: string;
1035
+ discharge: number;
1036
+ location: components["schemas"]["Coordinate"];
1037
+ /** @description زمین */
1038
+ farmerId: string;
1039
+ farmer: components["schemas"]["Farmer"];
1040
+ };
1041
+ Request: {
1042
+ readonly id: string;
1043
+ /** Format: date-time */
1044
+ readonly createdAt: string;
1045
+ /** Format: date-time */
1046
+ readonly updatedAt: string;
1047
+ /** Format: date-time */
1048
+ readonly deletedAt: string;
1049
+ };
1050
+ Invoice: {
1051
+ readonly id: string;
1052
+ /** Format: date-time */
1053
+ readonly createdAt: string;
1054
+ /** Format: date-time */
1055
+ readonly updatedAt: string;
1056
+ /** Format: date-time */
1057
+ readonly deletedAt: string;
1058
+ };
1059
+ ParameterMap: Record<string, never>;
1060
+ ExperimentSampleParametersResults: {
1061
+ readonly id: string;
1062
+ /** Format: date-time */
1063
+ readonly createdAt: string;
1064
+ /** Format: date-time */
1065
+ readonly updatedAt: string;
1066
+ /** Format: date-time */
1067
+ readonly deletedAt: string;
1068
+ };
1069
+ Laboratory: {
1070
+ readonly id: string;
1071
+ /** Format: date-time */
1072
+ readonly createdAt: string;
1073
+ /** Format: date-time */
1074
+ readonly updatedAt: string;
1075
+ /** Format: date-time */
1076
+ readonly deletedAt: string;
1077
+ };
1078
+ Status: {
1079
+ id: string;
1080
+ label: string;
1081
+ /** @enum {string} */
1082
+ name: "SUBMIT" | "ACTIVE" | "INACTIVE" | "CONFIRMED" | "PAID" | "DRAFT" | "PENDING" | "PROCESSING" | "ARCHIVED" | "COMPLETED" | "PASS_PAYMENT" | "VALID" | "INVALID" | "WRITING" | "REJECTED" | "FAILED" | "SUCCESS" | "DONE" | "VERIFIED" | "UNLOCK" | "LOCK" | "MODIFIED" | "REFUNDED_INVOICE" | "ACTIVE_LABORTORY_FIELD_EXPERIMENT_KIND" | "INACTIVE_LABORTORY_FIELD_EXPERIMENT_KIND" | "VALID_DEVICE_PUSH_TOKEN" | "INVALID_DEVICE_PUSH_TOKEN" | "DRAFT_MISSION" | "APPROVED_MISSION" | "REJECTED_MISSION" | "CANCELED_MISSION" | "COMPLETED_MISSION" | "IN_PROGRESS_MISSION" | "AWAITING_START_MISSION" | "AWAITING_APPROVAL_MISSION" | "AWAITING_REVIEW_DATA_MISSION" | "AWAITING_SAMPLE_DELIVERY_LABORATORY_MISSION" | "COMPLETED_REQUEST" | "AWAITING_SEND_REQUEST" | "AWAITING_REVIEW_REQUEST" | "AWAITING_PAYMENT_REQUEST" | "AWAITING_REVIEW_OFFER" | "AWAITING_COLLEAGUE_APPROVAL_REQUEST" | "AWAITING_MISSION_COMPLETION_REQUEST" | "AWAITING_PURCHASE_REQUEST" | "AWAITING_REVIEW_MISSION_DATA_REQUEST" | "REJECTED_REGISTRATION" | "REJECTED_MODIFICATION" | "REJECTED_ACTIVATION" | "CONFIRMED_ACTIVATION" | "CONFIRMED_REGISTRATION" | "AWAITING_REVIEW_ACTIVATION" | "AWAITING_SUBMIT_ACTIVATION" | "AWAITING_REVIEW_REGISTRATION" | "AWAITING_REVIEW_MODIFICATION" | "APPROVED_EXPERIMENT_ANALYSIS_REQUEST" | "REJECTED_EXPERIMENT_ANALYSIS_REQUEST" | "CANCELED_EXPERIMENT_ANALYSIS_REQUEST" | "COMPLETED_EXPERIMENT_ANALYSIS_REQUEST" | "IN_PROGRESS_EXPERIMENT_ANALYSIS_REQUEST" | "AWAITING_START_EXPERIMENT_ANALYSIS_REQUEST" | "AWAITING_APPROVAL_EXPERIMENT_ANALYSIS_REQUEST" | "DRAFT_EXPERIMENT_ANALYSIS_REQUEST" | "AWAITING_REVIEW_INQUIRY" | "COMPLETED_REGISTRATION" | "CANCELED_REQUEST" | "AWAITING_APPROVAL_RESIDENT_LEADING_EXPERT" | "APPROVED_RESIDENT_LEADING_EXPERT" | "REJECTED_RESIDENT_LEADING_EXPERT" | "AWAITING_SIGNING_CONTRACT" | "ACTIVE_LEADING_EXPERT" | "FAILED_CHARGE_WALLET_TRANSACTION" | "VERIFIED_CHARGE_WALLET_TRANSACTION" | "SUCCESS_PAYMENT_WALLET_TRANSACTION" | "SUCCESS_REFUND_WALLET_TRANSACTION" | "AWAITING_VERIFICATION_CHARGE_WALLET_TRANSACTION";
1083
+ };
1084
+ Experiment: {
1085
+ readonly id: string;
1086
+ /** Format: date-time */
1087
+ readonly createdAt: string;
1088
+ /** Format: date-time */
1089
+ readonly updatedAt: string;
1090
+ /** Format: date-time */
1091
+ readonly deletedAt: string;
1092
+ objectId: string;
1093
+ seen: boolean;
1094
+ samplingDepths: components["schemas"]["ExperimentSamplingDepthKind"];
1095
+ samplingDepthIds: string[];
1096
+ samplingPlantElements: components["schemas"]["ExperimentSamplingPlantElementKind"];
1097
+ samplingPlantElementIds: string[];
1098
+ resultFile: string;
1099
+ stationsCount: number;
1100
+ stations: components["schemas"]["ExperimentStation"];
1101
+ previousCrop: string;
1102
+ nextCrop: string;
1103
+ expert: components["schemas"]["Expert"];
1104
+ expertId: string;
1105
+ expertTransportResponsibility: boolean;
1106
+ isResidentLeadingExpert: boolean;
1107
+ type: components["schemas"]["ExperimentKind"];
1108
+ typeId: number;
1109
+ category: components["schemas"]["ExperimentCategoryKind"];
1110
+ categoryId: number;
1111
+ parametersIds: string[];
1112
+ parameters: components["schemas"]["ExperimentParameter"];
1113
+ experimentCode: string;
1114
+ drawingParametersMap: boolean;
1115
+ recommendedSamplingCoordinates: components["schemas"]["Coordinate"];
1116
+ samplesCount: number;
1117
+ samplesAmount: string;
1118
+ farmer: components["schemas"]["Farmer"];
1119
+ farmerId: string;
1120
+ farm: components["schemas"]["Farm"];
1121
+ pool: components["schemas"]["Pool"];
1122
+ season: components["schemas"]["Season"];
1123
+ irrigationSource: components["schemas"]["IrrigationSource"];
1124
+ relevantEntityId: string;
1125
+ request: components["schemas"]["Request"];
1126
+ invoice: components["schemas"]["Invoice"];
1127
+ invoiceId: string;
1128
+ parametersMaps: components["schemas"]["ParameterMap"];
1129
+ samplesParametersResults: components["schemas"]["ExperimentSampleParametersResults"];
1130
+ laboratory: components["schemas"]["Laboratory"];
1131
+ laboratoryId: string;
1132
+ /** Format: date-time */
1133
+ analysisAt: string;
1134
+ receiptAt: string;
1135
+ geoShortLinkId: string;
1136
+ status: components["schemas"]["Status"];
1137
+ };
1138
+ ExperimentsResponseData: {
1139
+ readonly meta: components["schemas"]["ExperimentMeta"];
1140
+ readonly experiments: components["schemas"]["Experiment"][];
1141
+ };
1142
+ ExperimentsResponseResult: {
1143
+ readonly message: string;
1144
+ readonly code: string;
1145
+ readonly data: components["schemas"]["ExperimentsResponseData"];
1146
+ };
1147
+ ExperimentsResponseDto: {
1148
+ readonly result: components["schemas"]["ExperimentsResponseResult"];
1149
+ };
992
1150
  FarmsResponseData: {
993
1151
  readonly meta: Record<string, never>;
994
1152
  readonly totalItems: number;
@@ -1014,27 +1172,6 @@ interface components {
1014
1172
  FarmResponseDto: {
1015
1173
  readonly result: components["schemas"]["FarmResponseResult"];
1016
1174
  };
1017
- IrrigationSource: {
1018
- readonly id: string;
1019
- /** Format: date-time */
1020
- readonly createdAt: string;
1021
- /** Format: date-time */
1022
- readonly updatedAt: string;
1023
- /** Format: date-time */
1024
- readonly deletedAt: string;
1025
- city: components["schemas"]["City"];
1026
- cityId: string;
1027
- /** @description بتمن */
1028
- name: string;
1029
- province: components["schemas"]["Province"];
1030
- provinceId: string;
1031
- zone: string;
1032
- discharge: number;
1033
- location: components["schemas"]["Coordinate"];
1034
- /** @description زمین */
1035
- farmerId: string;
1036
- farmer: components["schemas"]["Farmer"];
1037
- };
1038
1175
  IrrigationSourcesResponseData: {
1039
1176
  readonly meta: Record<string, never>;
1040
1177
  readonly totalItems: number;
@@ -1060,12 +1197,6 @@ interface components {
1060
1197
  IrrigationSourceResponseDto: {
1061
1198
  readonly result: components["schemas"]["IrrigationSourceResponseResult"];
1062
1199
  };
1063
- Status: {
1064
- id: string;
1065
- label: string;
1066
- /** @enum {string} */
1067
- name: "SUBMIT" | "ACTIVE" | "INACTIVE" | "CONFIRMED" | "PAID" | "DRAFT" | "PENDING" | "PROCESSING" | "ARCHIVED" | "COMPLETED" | "PASS_PAYMENT" | "VALID" | "INVALID" | "WRITING" | "REJECTED" | "FAILED" | "SUCCESS" | "DONE" | "VERIFIED" | "UNLOCK" | "LOCK" | "MODIFIED" | "REFUNDED_INVOICE" | "ACTIVE_LABORTORY_FIELD_EXPERIMENT_KIND" | "INACTIVE_LABORTORY_FIELD_EXPERIMENT_KIND" | "VALID_DEVICE_PUSH_TOKEN" | "INVALID_DEVICE_PUSH_TOKEN" | "DRAFT_MISSION" | "APPROVED_MISSION" | "REJECTED_MISSION" | "CANCELED_MISSION" | "COMPLETED_MISSION" | "IN_PROGRESS_MISSION" | "AWAITING_START_MISSION" | "AWAITING_APPROVAL_MISSION" | "AWAITING_REVIEW_DATA_MISSION" | "AWAITING_SAMPLE_DELIVERY_LABORATORY_MISSION" | "COMPLETED_REQUEST" | "AWAITING_SEND_REQUEST" | "AWAITING_REVIEW_REQUEST" | "AWAITING_PAYMENT_REQUEST" | "AWAITING_REVIEW_OFFER" | "AWAITING_COLLEAGUE_APPROVAL_REQUEST" | "AWAITING_MISSION_COMPLETION_REQUEST" | "AWAITING_PURCHASE_REQUEST" | "AWAITING_REVIEW_MISSION_DATA_REQUEST" | "REJECTED_REGISTRATION" | "REJECTED_MODIFICATION" | "REJECTED_ACTIVATION" | "CONFIRMED_ACTIVATION" | "CONFIRMED_REGISTRATION" | "AWAITING_REVIEW_ACTIVATION" | "AWAITING_SUBMIT_ACTIVATION" | "AWAITING_REVIEW_REGISTRATION" | "AWAITING_REVIEW_MODIFICATION" | "APPROVED_EXPERIMENT_ANALYSIS_REQUEST" | "REJECTED_EXPERIMENT_ANALYSIS_REQUEST" | "CANCELED_EXPERIMENT_ANALYSIS_REQUEST" | "COMPLETED_EXPERIMENT_ANALYSIS_REQUEST" | "IN_PROGRESS_EXPERIMENT_ANALYSIS_REQUEST" | "AWAITING_START_EXPERIMENT_ANALYSIS_REQUEST" | "AWAITING_APPROVAL_EXPERIMENT_ANALYSIS_REQUEST" | "DRAFT_EXPERIMENT_ANALYSIS_REQUEST" | "AWAITING_REVIEW_INQUIRY" | "COMPLETED_REGISTRATION" | "CANCELED_REQUEST" | "AWAITING_APPROVAL_RESIDENT_LEADING_EXPERT" | "APPROVED_RESIDENT_LEADING_EXPERT" | "REJECTED_RESIDENT_LEADING_EXPERT" | "AWAITING_SIGNING_CONTRACT" | "ACTIVE_LEADING_EXPERT" | "FAILED_CHARGE_WALLET_TRANSACTION" | "VERIFIED_CHARGE_WALLET_TRANSACTION" | "SUCCESS_PAYMENT_WALLET_TRANSACTION" | "SUCCESS_REFUND_WALLET_TRANSACTION" | "AWAITING_VERIFICATION_CHARGE_WALLET_TRANSACTION";
1068
- };
1069
1200
  WeatherStationAlertPhoneNumber: {
1070
1201
  fullName: string;
1071
1202
  position: string;
@@ -1405,15 +1536,6 @@ interface components {
1405
1536
  */
1406
1537
  selectedCropIds: string[];
1407
1538
  };
1408
- Invoice: {
1409
- readonly id: string;
1410
- /** Format: date-time */
1411
- readonly createdAt: string;
1412
- /** Format: date-time */
1413
- readonly updatedAt: string;
1414
- /** Format: date-time */
1415
- readonly deletedAt: string;
1416
- };
1417
1539
  AnnuallyChartReportType: {
1418
1540
  /**
1419
1541
  * @description سال
@@ -3613,7 +3735,7 @@ interface operations {
3613
3735
  };
3614
3736
  }
3615
3737
 
3616
- type ServiceType = "EXPERIMENT" | "VISIT" | "CHILLING_REQUIREMENT" | "CULTIVAR_RECOMMENDATION" | "FIRST_SAFFRON_IRRIGATION_DATE_RECOMMENDATION" | "HARVEST_DATE_RECOMMENDATION" | "QUESTIONNAIRE" | "SOWING_DATE_RECOMMENDATIONS" | "WEATHER_STATION" | "YIELD_GAP";
3738
+ type ServiceType = "EXPERIMENT" | "VISIT" | "CHILLING_REQUIREMENT" | "CULTIVAR_RECOMMENDATION" | "FIRST_SAFFRON_IRRIGATION_DATE_RECOMMENDATION" | "HARVEST_DATE_RECOMMENDATION" | "QUESTIONNAIRE" | "SOWING_DATE_RECOMMENDATIONS" | "WEATHER_STATION" | "YIELD_GAP" | "CROPPING_PATTERN";
3617
3739
  type StatusType = "SUBMIT" | "ACTIVE" | "INACTIVE" | "CONFIRMED" | "PAID" | "DRAFT" | "PENDING" | "PROCESSING" | "ARCHIVED" | "COMPLETED" | "PASS_PAYMENT" | "VALID" | "INVALID" | "WRITING" | "REJECTED" | "FAILED" | "SUCCESS" | "DONE" | "VERIFIED" | "UNLOCK" | "LOCK" | "MODIFIED" | "REFUNDED_INVOICE" | "ACTIVE_LABORTORY_FIELD_EXPERIMENT_KIND" | "INACTIVE_LABORTORY_FIELD_EXPERIMENT_KIND" | "VALID_DEVICE_PUSH_TOKEN" | "INVALID_DEVICE_PUSH_TOKEN" | "DRAFT_MISSION" | "APPROVED_MISSION" | "REJECTED_MISSION" | "CANCELED_MISSION" | "COMPLETED_MISSION" | "IN_PROGRESS_MISSION" | "AWAITING_START_MISSION" | "AWAITING_APPROVAL_MISSION" | "AWAITING_REVIEW_DATA_MISSION" | "AWAITING_SAMPLE_DELIVERY_LABORATORY_MISSION" | "COMPLETED_REQUEST" | "AWAITING_SEND_REQUEST" | "AWAITING_REVIEW_REQUEST" | "AWAITING_PAYMENT_REQUEST" | "AWAITING_REVIEW_OFFER" | "AWAITING_COLLEAGUE_APPROVAL_REQUEST" | "AWAITING_MISSION_COMPLETION_REQUEST" | "AWAITING_PURCHASE_REQUEST" | "AWAITING_REVIEW_MISSION_DATA_REQUEST" | "REJECTED_REGISTRATION" | "REJECTED_MODIFICATION" | "REJECTED_ACTIVATION" | "CONFIRMED_ACTIVATION" | "CONFIRMED_REGISTRATION" | "AWAITING_REVIEW_ACTIVATION" | "AWAITING_SUBMIT_ACTIVATION" | "AWAITING_REVIEW_REGISTRATION" | "AWAITING_REVIEW_MODIFICATION" | "APPROVED_EXPERIMENT_ANALYSIS_REQUEST" | "REJECTED_EXPERIMENT_ANALYSIS_REQUEST" | "CANCELED_EXPERIMENT_ANALYSIS_REQUEST" | "COMPLETED_EXPERIMENT_ANALYSIS_REQUEST" | "IN_PROGRESS_EXPERIMENT_ANALYSIS_REQUEST" | "AWAITING_START_EXPERIMENT_ANALYSIS_REQUEST" | "AWAITING_APPROVAL_EXPERIMENT_ANALYSIS_REQUEST" | "DRAFT_EXPERIMENT_ANALYSIS_REQUEST" | "AWAITING_REVIEW_INQUIRY" | "COMPLETED_REGISTRATION" | "CANCELED_REQUEST" | "AWAITING_APPROVAL_RESIDENT_LEADING_EXPERT" | "APPROVED_RESIDENT_LEADING_EXPERT" | "REJECTED_RESIDENT_LEADING_EXPERT" | "AWAITING_SIGNING_CONTRACT" | "ACTIVE_LEADING_EXPERT" | "FAILED_CHARGE_WALLET_TRANSACTION" | "VERIFIED_CHARGE_WALLET_TRANSACTION" | "SUCCESS_PAYMENT_WALLET_TRANSACTION" | "SUCCESS_REFUND_WALLET_TRANSACTION" | "AWAITING_VERIFICATION_CHARGE_WALLET_TRANSACTION";
3618
3740
  type TaskType = "SAMPLING_REQUEST" | "SAMPLING_MISSION" | "ANALYSIS_REQUEST" | "MAP_DRAWING" | "WATER_SAMPLE_CONTROL" | "WATER_ANALYSIS_MEASUREMENT" | "WATER_EXPERIMENT_TECHNICAL_REVIEW" | "PLANT_SAMPLE_CONTROL" | "PLANT_ANALYSIS_MEASUREMENT" | "PLANT_EXPERIMENT_TECHNICAL_REVIEW" | "SOIL_SAMPLE_CONTROL" | "SOIL_ANALYSIS_MEASUREMENT" | "SOIL_EXPERIMENT_TECHNICAL_REVIEW" | "SENDING_REPORTS" | "TECHNICAL_REVIEW" | "EXPERIMENT_ANALYSIS_RESULTS_CONTROL" | "EXPERIMENT_RECOMMENDATION_ANALYSIS_RESULTS" | "SUPPORT_EXPERIMENTS" | "VISIT_REQUEST" | "FOLLOW_UP_VISIT" | "VISIT_MAP_DRAWING" | "VISIT_SENDING_REPORTS" | "SUPPORT_VISITS";
3619
3741
  type MechanizationType = "MOTORIZED" | "NON_MOTORIZED";
@@ -3911,6 +4033,7 @@ type CroppingPatternReportModel = {
3911
4033
  };
3912
4034
  type CroppingPatternModel = {
3913
4035
  id: string;
4036
+ createdAt: string;
3914
4037
  farm: Farm;
3915
4038
  farmer: Farmer;
3916
4039
  irrigationSource: IrrigationSource;
package/dist/index.mjs CHANGED
@@ -58,6 +58,7 @@ var createClient = (config, middlewares = []) => {
58
58
  var croppingPatternMapper = {
59
59
  getOne: (dto) => ({
60
60
  id: dto.id,
61
+ createdAt: dto.createdAt,
61
62
  cropKind: dto.cropKind,
62
63
  farm: dto.farm,
63
64
  farmer: dto.farmer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agroyaar/sdk",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",