@agroyaar/sdk 3.1.5 → 3.1.6
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 +2 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -162,7 +162,8 @@ var sensorsMapper = {
|
|
|
162
162
|
engineOilPressure: dto.engineOilPressure,
|
|
163
163
|
engineWaterTemperature: dto.engineWaterTemperature,
|
|
164
164
|
batteryChargePercentage: dto.batteryChargePercentage,
|
|
165
|
-
mechanizationId: dto.mechanizationId
|
|
165
|
+
mechanizationId: dto.mechanizationId,
|
|
166
|
+
alerts: dto.alerts
|
|
166
167
|
}),
|
|
167
168
|
getMechanizationTemperatureChange: (dto) => ({
|
|
168
169
|
date: dto.date,
|
package/dist/index.d.ts
CHANGED
|
@@ -4187,6 +4187,11 @@ type ProductKind = {
|
|
|
4187
4187
|
label: string;
|
|
4188
4188
|
name: string;
|
|
4189
4189
|
};
|
|
4190
|
+
type Alert = {
|
|
4191
|
+
dangerous: boolean;
|
|
4192
|
+
message: string;
|
|
4193
|
+
field: string;
|
|
4194
|
+
};
|
|
4190
4195
|
|
|
4191
4196
|
declare const __brand: unique symbol;
|
|
4192
4197
|
type Brand<B> = {
|
|
@@ -4245,6 +4250,7 @@ type MotorizedMechanizationSensorsModel = {
|
|
|
4245
4250
|
engineWaterTemperature: number;
|
|
4246
4251
|
batteryChargePercentage: number;
|
|
4247
4252
|
mechanizationId: string;
|
|
4253
|
+
alerts: Alert[];
|
|
4248
4254
|
};
|
|
4249
4255
|
type TrackingDeviceCodeModel = {
|
|
4250
4256
|
deviceCode: string;
|
|
@@ -4577,4 +4583,4 @@ declare const createSDK: (config: ClientConfig, middlewares?: Parameters<typeof
|
|
|
4577
4583
|
};
|
|
4578
4584
|
};
|
|
4579
4585
|
|
|
4580
|
-
export { type AnnuallyChartReportModel, type ApiRequestType, ApiTypes, type City, type CroppingPatternModel, type CroppingPatternReportModel, type CroppingPatternRiskChartModel, type DayOfYearChartReportModel, type DeviceCodeModel, type Experiment, type Farm, type Farmer, Identifiers, type Invoice, type IrrigationSource, type Location, type MechanizationFuelConsumptionChangesModel, type MechanizationMachineUsageKind, type MechanizationMachineUsageType, type MechanizationModel, type MechanizationMovementChangesModel, type MechanizationMovementChangesModelWithMeta, type MechanizationQuestionModel, type MechanizationSeasonProcessKind, type MechanizationSeasonProcessType, type MechanizationTemperatureChangesModel, type MechanizationType, type MechanizationVarietyModel, type MotorizedMechanizationSensorsModel, type MovementChangeModel, type OwnershipType, type Product, type ProductKind, type ProductKindType, type Province, type SeasonsProcessModel, type ServiceType, type SpeedChangesChartModel, type Status, type StatusType, type TaskType, type TrackingDeviceCodeModel, type VarietyKind, type VerifyPhoneNumberModel, type WeatherStation, type WeatherStationAlertPhoneNumber, createSDK };
|
|
4586
|
+
export { type Alert, type AnnuallyChartReportModel, type ApiRequestType, ApiTypes, type City, type CroppingPatternModel, type CroppingPatternReportModel, type CroppingPatternRiskChartModel, type DayOfYearChartReportModel, type DeviceCodeModel, type Experiment, type Farm, type Farmer, Identifiers, type Invoice, type IrrigationSource, type Location, type MechanizationFuelConsumptionChangesModel, type MechanizationMachineUsageKind, type MechanizationMachineUsageType, type MechanizationModel, type MechanizationMovementChangesModel, type MechanizationMovementChangesModelWithMeta, type MechanizationQuestionModel, type MechanizationSeasonProcessKind, type MechanizationSeasonProcessType, type MechanizationTemperatureChangesModel, type MechanizationType, type MechanizationVarietyModel, type MotorizedMechanizationSensorsModel, type MovementChangeModel, type OwnershipType, type Product, type ProductKind, type ProductKindType, type Province, type SeasonsProcessModel, type ServiceType, type SpeedChangesChartModel, type Status, type StatusType, type TaskType, type TrackingDeviceCodeModel, type VarietyKind, type VerifyPhoneNumberModel, type WeatherStation, type WeatherStationAlertPhoneNumber, createSDK };
|
package/dist/index.mjs
CHANGED
|
@@ -126,7 +126,8 @@ var sensorsMapper = {
|
|
|
126
126
|
engineOilPressure: dto.engineOilPressure,
|
|
127
127
|
engineWaterTemperature: dto.engineWaterTemperature,
|
|
128
128
|
batteryChargePercentage: dto.batteryChargePercentage,
|
|
129
|
-
mechanizationId: dto.mechanizationId
|
|
129
|
+
mechanizationId: dto.mechanizationId,
|
|
130
|
+
alerts: dto.alerts
|
|
130
131
|
}),
|
|
131
132
|
getMechanizationTemperatureChange: (dto) => ({
|
|
132
133
|
date: dto.date,
|