@juhuu/sdk-ts 1.2.21 → 1.2.22
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.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +0 -6
- package/dist/index.mjs +0 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -605,8 +605,6 @@ declare class DevicesService extends Service {
|
|
605
605
|
create(): Promise<void>;
|
606
606
|
retrieve(DeviceRetrieveParams: JUHUU.Device.Retrieve.Params, DeviceRetrieveOptions?: JUHUU.Device.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Retrieve.Response>>;
|
607
607
|
list(DeviceListParams: JUHUU.Device.List.Params, DeviceListOptions?: JUHUU.Device.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.List.Response>>;
|
608
|
-
update(): Promise<void>;
|
609
|
-
delete(): Promise<void>;
|
610
608
|
listen(DeviceRealtimeParams: JUHUU.Device.Realtime.Params, DeviceRealtimeOptions?: JUHUU.Device.Realtime.Options): JUHUU.Device.Realtime.Response;
|
611
609
|
message(DeviceMessageParams: JUHUU.Device.Message.Params, DeviceMessageOptions?: JUHUU.Device.Message.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Message.Response>>;
|
612
610
|
parameterUpdate(DeviceParameterParams: JUHUU.Device.ParameterUpdate.Params, DeviceParameterOptions?: JUHUU.Device.ParameterUpdate.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.ParameterUpdate.Response>>;
|
@@ -615,7 +613,6 @@ declare class DevicesService extends Service {
|
|
615
613
|
|
616
614
|
declare class DeviceTemplatesService extends Service {
|
617
615
|
constructor(config: JUHUU.SetupConfig);
|
618
|
-
create(): Promise<void>;
|
619
616
|
retrieve(DeviceTemplateRetrieveParams: JUHUU.DeviceTemplate.Retrieve.Params, DeviceTemplateRetrieveOptions?: JUHUU.DeviceTemplate.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.Retrieve.Response>>;
|
620
617
|
list(DeviceTemplateListParams: JUHUU.DeviceTemplate.List.Params, DeviceTemplateListOptions?: JUHUU.DeviceTemplate.List.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.List.Response>>;
|
621
618
|
}
|
@@ -758,7 +755,6 @@ declare namespace JUHUU {
|
|
758
755
|
* If this is true, a new accessToken will be requested if the current one is expired.
|
759
756
|
*/
|
760
757
|
refreshTokensIfNecessary?: boolean;
|
761
|
-
expand?: Array<"property" | "tariffArray">;
|
762
758
|
};
|
763
759
|
type LocaleString = {
|
764
760
|
[locale: string]: string;
|
@@ -1656,7 +1652,9 @@ declare namespace JUHUU {
|
|
1656
1652
|
type Params = {
|
1657
1653
|
productId: string;
|
1658
1654
|
};
|
1659
|
-
type Options =
|
1655
|
+
type Options = {
|
1656
|
+
expand: Array<"property">;
|
1657
|
+
} & JUHUU.RequestOptions;
|
1660
1658
|
type Response = {
|
1661
1659
|
product: Product.Object;
|
1662
1660
|
};
|
@@ -1845,7 +1843,9 @@ declare namespace JUHUU {
|
|
1845
1843
|
type Params = {
|
1846
1844
|
connectorId: string;
|
1847
1845
|
};
|
1848
|
-
type Options =
|
1846
|
+
type Options = {
|
1847
|
+
expand: Array<"property">;
|
1848
|
+
} & JUHUU.RequestOptions;
|
1849
1849
|
type Response = {
|
1850
1850
|
connector: JUHUU.Connector.Object;
|
1851
1851
|
};
|
package/dist/index.d.ts
CHANGED
@@ -605,8 +605,6 @@ declare class DevicesService extends Service {
|
|
605
605
|
create(): Promise<void>;
|
606
606
|
retrieve(DeviceRetrieveParams: JUHUU.Device.Retrieve.Params, DeviceRetrieveOptions?: JUHUU.Device.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Retrieve.Response>>;
|
607
607
|
list(DeviceListParams: JUHUU.Device.List.Params, DeviceListOptions?: JUHUU.Device.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.List.Response>>;
|
608
|
-
update(): Promise<void>;
|
609
|
-
delete(): Promise<void>;
|
610
608
|
listen(DeviceRealtimeParams: JUHUU.Device.Realtime.Params, DeviceRealtimeOptions?: JUHUU.Device.Realtime.Options): JUHUU.Device.Realtime.Response;
|
611
609
|
message(DeviceMessageParams: JUHUU.Device.Message.Params, DeviceMessageOptions?: JUHUU.Device.Message.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Message.Response>>;
|
612
610
|
parameterUpdate(DeviceParameterParams: JUHUU.Device.ParameterUpdate.Params, DeviceParameterOptions?: JUHUU.Device.ParameterUpdate.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.ParameterUpdate.Response>>;
|
@@ -615,7 +613,6 @@ declare class DevicesService extends Service {
|
|
615
613
|
|
616
614
|
declare class DeviceTemplatesService extends Service {
|
617
615
|
constructor(config: JUHUU.SetupConfig);
|
618
|
-
create(): Promise<void>;
|
619
616
|
retrieve(DeviceTemplateRetrieveParams: JUHUU.DeviceTemplate.Retrieve.Params, DeviceTemplateRetrieveOptions?: JUHUU.DeviceTemplate.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.Retrieve.Response>>;
|
620
617
|
list(DeviceTemplateListParams: JUHUU.DeviceTemplate.List.Params, DeviceTemplateListOptions?: JUHUU.DeviceTemplate.List.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.List.Response>>;
|
621
618
|
}
|
@@ -758,7 +755,6 @@ declare namespace JUHUU {
|
|
758
755
|
* If this is true, a new accessToken will be requested if the current one is expired.
|
759
756
|
*/
|
760
757
|
refreshTokensIfNecessary?: boolean;
|
761
|
-
expand?: Array<"property" | "tariffArray">;
|
762
758
|
};
|
763
759
|
type LocaleString = {
|
764
760
|
[locale: string]: string;
|
@@ -1656,7 +1652,9 @@ declare namespace JUHUU {
|
|
1656
1652
|
type Params = {
|
1657
1653
|
productId: string;
|
1658
1654
|
};
|
1659
|
-
type Options =
|
1655
|
+
type Options = {
|
1656
|
+
expand: Array<"property">;
|
1657
|
+
} & JUHUU.RequestOptions;
|
1660
1658
|
type Response = {
|
1661
1659
|
product: Product.Object;
|
1662
1660
|
};
|
@@ -1845,7 +1843,9 @@ declare namespace JUHUU {
|
|
1845
1843
|
type Params = {
|
1846
1844
|
connectorId: string;
|
1847
1845
|
};
|
1848
|
-
type Options =
|
1846
|
+
type Options = {
|
1847
|
+
expand: Array<"property">;
|
1848
|
+
} & JUHUU.RequestOptions;
|
1849
1849
|
type Response = {
|
1850
1850
|
connector: JUHUU.Connector.Object;
|
1851
1851
|
};
|
package/dist/index.js
CHANGED
@@ -853,10 +853,6 @@ var DevicesService = class extends Service {
|
|
853
853
|
DeviceListOptions
|
854
854
|
);
|
855
855
|
}
|
856
|
-
async update() {
|
857
|
-
}
|
858
|
-
async delete() {
|
859
|
-
}
|
860
856
|
listen(DeviceRealtimeParams, DeviceRealtimeOptions) {
|
861
857
|
const socket = super.connectToWebsocket({
|
862
858
|
url: "devices/" + DeviceRealtimeParams.deviceId + "/websocket"
|
@@ -918,8 +914,6 @@ var DeviceTemplatesService = class extends Service {
|
|
918
914
|
constructor(config) {
|
919
915
|
super(config);
|
920
916
|
}
|
921
|
-
async create() {
|
922
|
-
}
|
923
917
|
async retrieve(DeviceTemplateRetrieveParams, DeviceTemplateRetrieveOptions) {
|
924
918
|
const queryArray = [];
|
925
919
|
if (DeviceTemplateRetrieveParams?.source !== void 0) {
|
package/dist/index.mjs
CHANGED
@@ -808,10 +808,6 @@ var DevicesService = class extends Service {
|
|
808
808
|
DeviceListOptions
|
809
809
|
);
|
810
810
|
}
|
811
|
-
async update() {
|
812
|
-
}
|
813
|
-
async delete() {
|
814
|
-
}
|
815
811
|
listen(DeviceRealtimeParams, DeviceRealtimeOptions) {
|
816
812
|
const socket = super.connectToWebsocket({
|
817
813
|
url: "devices/" + DeviceRealtimeParams.deviceId + "/websocket"
|
@@ -873,8 +869,6 @@ var DeviceTemplatesService = class extends Service {
|
|
873
869
|
constructor(config) {
|
874
870
|
super(config);
|
875
871
|
}
|
876
|
-
async create() {
|
877
|
-
}
|
878
872
|
async retrieve(DeviceTemplateRetrieveParams, DeviceTemplateRetrieveOptions) {
|
879
873
|
const queryArray = [];
|
880
874
|
if (DeviceTemplateRetrieveParams?.source !== void 0) {
|