@arekstasko/plantcare-api-client 1.1.5 → 1.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.d.cts +5 -7
- package/dist/index.d.ts +5 -7
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -16,8 +16,8 @@ declare class Client {
|
|
|
16
16
|
* @param toDate (optional)
|
|
17
17
|
* @return OK
|
|
18
18
|
*/
|
|
19
|
-
humidityMeasurementsAll(id: number, fromDate: Date | undefined, toDate: Date | undefined, cancelToken?: CancelToken): Promise<
|
|
20
|
-
protected processHumidityMeasurementsAll(response: AxiosResponse): Promise<
|
|
19
|
+
humidityMeasurementsAll(id: number, fromDate: Date | undefined, toDate: Date | undefined, cancelToken?: CancelToken): Promise<HumidityMeasurement[]>;
|
|
20
|
+
protected processHumidityMeasurementsAll(response: AxiosResponse): Promise<HumidityMeasurement[]>;
|
|
21
21
|
/**
|
|
22
22
|
* @param fromDate (optional)
|
|
23
23
|
* @param toDate (optional)
|
|
@@ -137,11 +137,9 @@ declare enum PlantType {
|
|
|
137
137
|
_1 = 1,
|
|
138
138
|
_2 = 2
|
|
139
139
|
}
|
|
140
|
-
interface
|
|
141
|
-
id?: number;
|
|
142
|
-
moduleId?: number;
|
|
140
|
+
interface HumidityMeasurement {
|
|
143
141
|
humidity?: number;
|
|
144
|
-
|
|
142
|
+
date?: Date;
|
|
145
143
|
}
|
|
146
144
|
interface Module {
|
|
147
145
|
id?: number;
|
|
@@ -764,4 +762,4 @@ declare class ApiException extends Error {
|
|
|
764
762
|
static isApiException(obj: any): obj is ApiException;
|
|
765
763
|
}
|
|
766
764
|
|
|
767
|
-
export { type AddHumidityMeasurementCommand, ApiException, type Assembly, type AverageHumidity, CallingConventions, Client, type ConstructorInfo, type CreateModuleRequest, type CreatePlaceCommand, type CreatePlantCommand, type CustomAttributeData, type CustomAttributeNamedArgument, type CustomAttributeTypedArgument, EventAttributes, type EventInfo, type Exception, FieldAttributes, type FieldInfo, GenericParameterAttributes, type
|
|
765
|
+
export { type AddHumidityMeasurementCommand, ApiException, type Assembly, type AverageHumidity, CallingConventions, Client, type ConstructorInfo, type CreateModuleRequest, type CreatePlaceCommand, type CreatePlantCommand, type CustomAttributeData, type CustomAttributeNamedArgument, type CustomAttributeTypedArgument, EventAttributes, type EventInfo, type Exception, FieldAttributes, type FieldInfo, GenericParameterAttributes, type HumidityMeasurement, type ICustomAttributeProvider, type IntPtr, LayoutKind, type MemberInfo, MemberTypes, MethodAttributes, type MethodBase, MethodImplAttributes, type MethodInfo, type Module, type Module2, type ModuleHandle, ParameterAttributes, type ParameterInfo, type Place, type Plant, PlantType, PropertyAttributes, type PropertyInfo, type RuntimeFieldHandle, type RuntimeMethodHandle, type RuntimeTypeHandle, SecurityRuleSet, type StructLayoutAttribute, type Type, TypeAttributes, type TypeInfo, type UpdatePlaceCommand, type UpdatePlantCommand };
|
package/dist/index.d.ts
CHANGED
|
@@ -16,8 +16,8 @@ declare class Client {
|
|
|
16
16
|
* @param toDate (optional)
|
|
17
17
|
* @return OK
|
|
18
18
|
*/
|
|
19
|
-
humidityMeasurementsAll(id: number, fromDate: Date | undefined, toDate: Date | undefined, cancelToken?: CancelToken): Promise<
|
|
20
|
-
protected processHumidityMeasurementsAll(response: AxiosResponse): Promise<
|
|
19
|
+
humidityMeasurementsAll(id: number, fromDate: Date | undefined, toDate: Date | undefined, cancelToken?: CancelToken): Promise<HumidityMeasurement[]>;
|
|
20
|
+
protected processHumidityMeasurementsAll(response: AxiosResponse): Promise<HumidityMeasurement[]>;
|
|
21
21
|
/**
|
|
22
22
|
* @param fromDate (optional)
|
|
23
23
|
* @param toDate (optional)
|
|
@@ -137,11 +137,9 @@ declare enum PlantType {
|
|
|
137
137
|
_1 = 1,
|
|
138
138
|
_2 = 2
|
|
139
139
|
}
|
|
140
|
-
interface
|
|
141
|
-
id?: number;
|
|
142
|
-
moduleId?: number;
|
|
140
|
+
interface HumidityMeasurement {
|
|
143
141
|
humidity?: number;
|
|
144
|
-
|
|
142
|
+
date?: Date;
|
|
145
143
|
}
|
|
146
144
|
interface Module {
|
|
147
145
|
id?: number;
|
|
@@ -764,4 +762,4 @@ declare class ApiException extends Error {
|
|
|
764
762
|
static isApiException(obj: any): obj is ApiException;
|
|
765
763
|
}
|
|
766
764
|
|
|
767
|
-
export { type AddHumidityMeasurementCommand, ApiException, type Assembly, type AverageHumidity, CallingConventions, Client, type ConstructorInfo, type CreateModuleRequest, type CreatePlaceCommand, type CreatePlantCommand, type CustomAttributeData, type CustomAttributeNamedArgument, type CustomAttributeTypedArgument, EventAttributes, type EventInfo, type Exception, FieldAttributes, type FieldInfo, GenericParameterAttributes, type
|
|
765
|
+
export { type AddHumidityMeasurementCommand, ApiException, type Assembly, type AverageHumidity, CallingConventions, Client, type ConstructorInfo, type CreateModuleRequest, type CreatePlaceCommand, type CreatePlantCommand, type CustomAttributeData, type CustomAttributeNamedArgument, type CustomAttributeTypedArgument, EventAttributes, type EventInfo, type Exception, FieldAttributes, type FieldInfo, GenericParameterAttributes, type HumidityMeasurement, type ICustomAttributeProvider, type IntPtr, LayoutKind, type MemberInfo, MemberTypes, MethodAttributes, type MethodBase, MethodImplAttributes, type MethodInfo, type Module, type Module2, type ModuleHandle, ParameterAttributes, type ParameterInfo, type Place, type Plant, PlantType, PropertyAttributes, type PropertyInfo, type RuntimeFieldHandle, type RuntimeMethodHandle, type RuntimeTypeHandle, SecurityRuleSet, type StructLayoutAttribute, type Type, TypeAttributes, type TypeInfo, type UpdatePlaceCommand, type UpdatePlantCommand };
|