@juhuu/sdk-ts 1.2.4 → 1.2.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.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +5 -2
- package/dist/index.mjs +5 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -255,7 +255,7 @@ type AccessControlListElement = {
|
|
255
255
|
topic: string;
|
256
256
|
acc: number;
|
257
257
|
};
|
258
|
-
type SimStatus = "online" | "offline";
|
258
|
+
type SimStatus = "online" | "offline" | "attached";
|
259
259
|
type Parameter = {
|
260
260
|
name: string;
|
261
261
|
type: "number";
|
@@ -1715,7 +1715,7 @@ declare namespace JUHUU {
|
|
1715
1715
|
type Base = {
|
1716
1716
|
id: string;
|
1717
1717
|
readonly object: "connector";
|
1718
|
-
|
1718
|
+
status: "online" | "offline";
|
1719
1719
|
description: string | null;
|
1720
1720
|
name: string;
|
1721
1721
|
propertyId: string;
|
@@ -1861,6 +1861,7 @@ declare namespace JUHUU {
|
|
1861
1861
|
namespace List {
|
1862
1862
|
type Params = {
|
1863
1863
|
propertyId?: string;
|
1864
|
+
connectorId?: string;
|
1864
1865
|
};
|
1865
1866
|
type Options = JUHUU.RequestOptions;
|
1866
1867
|
type Response = JUHUU.ConnectorMessage.Object[];
|
package/dist/index.d.ts
CHANGED
@@ -255,7 +255,7 @@ type AccessControlListElement = {
|
|
255
255
|
topic: string;
|
256
256
|
acc: number;
|
257
257
|
};
|
258
|
-
type SimStatus = "online" | "offline";
|
258
|
+
type SimStatus = "online" | "offline" | "attached";
|
259
259
|
type Parameter = {
|
260
260
|
name: string;
|
261
261
|
type: "number";
|
@@ -1715,7 +1715,7 @@ declare namespace JUHUU {
|
|
1715
1715
|
type Base = {
|
1716
1716
|
id: string;
|
1717
1717
|
readonly object: "connector";
|
1718
|
-
|
1718
|
+
status: "online" | "offline";
|
1719
1719
|
description: string | null;
|
1720
1720
|
name: string;
|
1721
1721
|
propertyId: string;
|
@@ -1861,6 +1861,7 @@ declare namespace JUHUU {
|
|
1861
1861
|
namespace List {
|
1862
1862
|
type Params = {
|
1863
1863
|
propertyId?: string;
|
1864
|
+
connectorId?: string;
|
1864
1865
|
};
|
1865
1866
|
type Options = JUHUU.RequestOptions;
|
1866
1867
|
type Response = JUHUU.ConnectorMessage.Object[];
|
package/dist/index.js
CHANGED
@@ -1323,7 +1323,7 @@ var ConnectorMessagesService = class extends Service {
|
|
1323
1323
|
method: "GET",
|
1324
1324
|
url: "connectorMessages/" + ConnectorMessageRetrieveParams.connectorMessageId + "?" + queryArray.join("&"),
|
1325
1325
|
body: void 0,
|
1326
|
-
useAuthentication:
|
1326
|
+
useAuthentication: true
|
1327
1327
|
},
|
1328
1328
|
ConnectorMessageRetrieveOptions
|
1329
1329
|
);
|
@@ -1333,12 +1333,15 @@ var ConnectorMessagesService = class extends Service {
|
|
1333
1333
|
if (ConnectorMessageListParams?.propertyId !== void 0) {
|
1334
1334
|
queryArray.push("propertyId=" + ConnectorMessageListParams.propertyId);
|
1335
1335
|
}
|
1336
|
+
if (ConnectorMessageListParams?.connectorId !== void 0) {
|
1337
|
+
queryArray.push("propertyId=" + ConnectorMessageListParams.connectorId);
|
1338
|
+
}
|
1336
1339
|
return await super.sendRequest(
|
1337
1340
|
{
|
1338
1341
|
method: "GET",
|
1339
1342
|
url: "connectorMessages?" + queryArray.join("&"),
|
1340
1343
|
body: void 0,
|
1341
|
-
useAuthentication:
|
1344
|
+
useAuthentication: true
|
1342
1345
|
},
|
1343
1346
|
ConnectorMessageListOptions
|
1344
1347
|
);
|
package/dist/index.mjs
CHANGED
@@ -1278,7 +1278,7 @@ var ConnectorMessagesService = class extends Service {
|
|
1278
1278
|
method: "GET",
|
1279
1279
|
url: "connectorMessages/" + ConnectorMessageRetrieveParams.connectorMessageId + "?" + queryArray.join("&"),
|
1280
1280
|
body: void 0,
|
1281
|
-
useAuthentication:
|
1281
|
+
useAuthentication: true
|
1282
1282
|
},
|
1283
1283
|
ConnectorMessageRetrieveOptions
|
1284
1284
|
);
|
@@ -1288,12 +1288,15 @@ var ConnectorMessagesService = class extends Service {
|
|
1288
1288
|
if (ConnectorMessageListParams?.propertyId !== void 0) {
|
1289
1289
|
queryArray.push("propertyId=" + ConnectorMessageListParams.propertyId);
|
1290
1290
|
}
|
1291
|
+
if (ConnectorMessageListParams?.connectorId !== void 0) {
|
1292
|
+
queryArray.push("propertyId=" + ConnectorMessageListParams.connectorId);
|
1293
|
+
}
|
1291
1294
|
return await super.sendRequest(
|
1292
1295
|
{
|
1293
1296
|
method: "GET",
|
1294
1297
|
url: "connectorMessages?" + queryArray.join("&"),
|
1295
1298
|
body: void 0,
|
1296
|
-
useAuthentication:
|
1299
|
+
useAuthentication: true
|
1297
1300
|
},
|
1298
1301
|
ConnectorMessageListOptions
|
1299
1302
|
);
|