@agroyaar/sdk 3.13.0 → 3.13.1
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 +1 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -206,7 +206,7 @@ var croppingSuitabilityMapper = {
|
|
|
206
206
|
croppingSuitabilityKind: dto.croppingSuitabilityKind
|
|
207
207
|
}),
|
|
208
208
|
getAll: (dto) => dto.map(croppingSuitabilityMapper.getOne),
|
|
209
|
-
create: (
|
|
209
|
+
create: (dto) => dto
|
|
210
210
|
};
|
|
211
211
|
|
|
212
212
|
// src/services/dashboard/cropping-suitability/croppingSuitability.service.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -5511,7 +5511,27 @@ declare const createSDK: (config: ClientConfig, middlewares?: Parameters<typeof
|
|
|
5511
5511
|
croppingSuitability: {
|
|
5512
5512
|
getOne: ({ pathParams, }: CroppingSuitabilityTypes["RequestParams"]["getOne"]) => Promise<_mobily_ts_belt.Error<Error> | _mobily_ts_belt.Ok<CroppingSuitabilityModel>>;
|
|
5513
5513
|
getAll: ({ pathParams, }: CroppingSuitabilityTypes["RequestParams"]["getAll"]) => Promise<_mobily_ts_belt.Error<Error> | _mobily_ts_belt.Ok<CroppingSuitabilityModel[]>>;
|
|
5514
|
-
create: ({ body, pathParams, }: CroppingSuitabilityTypes["RequestParams"]["create"]) => Promise<_mobily_ts_belt.Error<Error> | _mobily_ts_belt.Ok<
|
|
5514
|
+
create: ({ body, pathParams, }: CroppingSuitabilityTypes["RequestParams"]["create"]) => Promise<_mobily_ts_belt.Error<Error> | _mobily_ts_belt.Ok<{
|
|
5515
|
+
readonly id: string;
|
|
5516
|
+
readonly createdAt: string;
|
|
5517
|
+
readonly updatedAt: string;
|
|
5518
|
+
readonly deletedAt: string;
|
|
5519
|
+
farm: components["schemas"]["Farm"];
|
|
5520
|
+
farmer: components["schemas"]["Farmer"];
|
|
5521
|
+
irrigationSource: components["schemas"]["IrrigationSource"];
|
|
5522
|
+
experiment: components["schemas"]["Experiment"];
|
|
5523
|
+
invoice: components["schemas"]["Invoice"];
|
|
5524
|
+
weatherStation: components["schemas"]["WeatherStation"];
|
|
5525
|
+
growingSeasonIrrigationTimes: number;
|
|
5526
|
+
irrigationHoursPerShift: number;
|
|
5527
|
+
reports: components["schemas"]["CroppingSuitabilityReport"][];
|
|
5528
|
+
croppingSuitabilityKind: components["schemas"]["CroppingSuitabilityKinds"];
|
|
5529
|
+
selectedCrops: components["schemas"]["Product"][];
|
|
5530
|
+
status: components["schemas"]["Status"];
|
|
5531
|
+
dailyMaximumTemperatureChange: components["schemas"]["DayOfYearChartReportType"][];
|
|
5532
|
+
dailyMinimumTemperatureChange: components["schemas"]["DayOfYearChartReportType"][];
|
|
5533
|
+
dailyMeanTemperatureChange: components["schemas"]["DayOfYearChartReportType"][];
|
|
5534
|
+
}>>;
|
|
5515
5535
|
};
|
|
5516
5536
|
statics: {
|
|
5517
5537
|
getPlantType: () => Promise<_mobily_ts_belt.Error<Error> | _mobily_ts_belt.Ok<PlantTypeModel[]>>;
|
package/dist/index.mjs
CHANGED
|
@@ -170,7 +170,7 @@ var croppingSuitabilityMapper = {
|
|
|
170
170
|
croppingSuitabilityKind: dto.croppingSuitabilityKind
|
|
171
171
|
}),
|
|
172
172
|
getAll: (dto) => dto.map(croppingSuitabilityMapper.getOne),
|
|
173
|
-
create: (
|
|
173
|
+
create: (dto) => dto
|
|
174
174
|
};
|
|
175
175
|
|
|
176
176
|
// src/services/dashboard/cropping-suitability/croppingSuitability.service.ts
|