@juhuu/sdk-ts 1.2.90 → 1.2.91
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 +23 -19
- package/dist/index.d.ts +23 -19
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -2570,6 +2570,29 @@ declare namespace JUHUU {
|
|
2570
2570
|
version: number;
|
2571
2571
|
simId: string | null;
|
2572
2572
|
};
|
2573
|
+
export interface Mqtt extends Base {
|
2574
|
+
type: "mqtt";
|
2575
|
+
username: string;
|
2576
|
+
password: string;
|
2577
|
+
clientId: string;
|
2578
|
+
host: string;
|
2579
|
+
port: number;
|
2580
|
+
mqttRetain: boolean;
|
2581
|
+
mqttQos: "0" | "1" | "2";
|
2582
|
+
acls: AccessControlListElement[];
|
2583
|
+
}
|
2584
|
+
export interface BoldLock extends Base {
|
2585
|
+
type: "boldLock";
|
2586
|
+
boldClientId: string;
|
2587
|
+
boldClientSecret: string;
|
2588
|
+
boldOrganizationId: number;
|
2589
|
+
boldDeviceId: number;
|
2590
|
+
}
|
2591
|
+
export interface Tapkey extends Base {
|
2592
|
+
type: "tapkey";
|
2593
|
+
physicalLockId: string;
|
2594
|
+
}
|
2595
|
+
export type Object = Mqtt | BoldLock | Tapkey;
|
2573
2596
|
export namespace Create {
|
2574
2597
|
type Params = {
|
2575
2598
|
propertyId: string;
|
@@ -2591,25 +2614,6 @@ declare namespace JUHUU {
|
|
2591
2614
|
connector: JUHUU.Connector.Object;
|
2592
2615
|
};
|
2593
2616
|
}
|
2594
|
-
export interface Mqtt extends Base {
|
2595
|
-
type: "mqtt";
|
2596
|
-
username: string;
|
2597
|
-
password: string;
|
2598
|
-
clientId: string;
|
2599
|
-
host: string;
|
2600
|
-
port: number;
|
2601
|
-
mqttRetain: boolean;
|
2602
|
-
mqttQos: "0" | "1" | "2";
|
2603
|
-
acls: AccessControlListElement[];
|
2604
|
-
}
|
2605
|
-
export interface BoldLock extends Base {
|
2606
|
-
type: "boldLock";
|
2607
|
-
boldClientId: string;
|
2608
|
-
boldClientSecret: string;
|
2609
|
-
boldOrganizationId: number;
|
2610
|
-
boldDeviceId: number;
|
2611
|
-
}
|
2612
|
-
export type Object = Mqtt | BoldLock;
|
2613
2617
|
export namespace Retrieve {
|
2614
2618
|
type Params = {
|
2615
2619
|
connectorId: string;
|
package/dist/index.d.ts
CHANGED
@@ -2570,6 +2570,29 @@ declare namespace JUHUU {
|
|
2570
2570
|
version: number;
|
2571
2571
|
simId: string | null;
|
2572
2572
|
};
|
2573
|
+
export interface Mqtt extends Base {
|
2574
|
+
type: "mqtt";
|
2575
|
+
username: string;
|
2576
|
+
password: string;
|
2577
|
+
clientId: string;
|
2578
|
+
host: string;
|
2579
|
+
port: number;
|
2580
|
+
mqttRetain: boolean;
|
2581
|
+
mqttQos: "0" | "1" | "2";
|
2582
|
+
acls: AccessControlListElement[];
|
2583
|
+
}
|
2584
|
+
export interface BoldLock extends Base {
|
2585
|
+
type: "boldLock";
|
2586
|
+
boldClientId: string;
|
2587
|
+
boldClientSecret: string;
|
2588
|
+
boldOrganizationId: number;
|
2589
|
+
boldDeviceId: number;
|
2590
|
+
}
|
2591
|
+
export interface Tapkey extends Base {
|
2592
|
+
type: "tapkey";
|
2593
|
+
physicalLockId: string;
|
2594
|
+
}
|
2595
|
+
export type Object = Mqtt | BoldLock | Tapkey;
|
2573
2596
|
export namespace Create {
|
2574
2597
|
type Params = {
|
2575
2598
|
propertyId: string;
|
@@ -2591,25 +2614,6 @@ declare namespace JUHUU {
|
|
2591
2614
|
connector: JUHUU.Connector.Object;
|
2592
2615
|
};
|
2593
2616
|
}
|
2594
|
-
export interface Mqtt extends Base {
|
2595
|
-
type: "mqtt";
|
2596
|
-
username: string;
|
2597
|
-
password: string;
|
2598
|
-
clientId: string;
|
2599
|
-
host: string;
|
2600
|
-
port: number;
|
2601
|
-
mqttRetain: boolean;
|
2602
|
-
mqttQos: "0" | "1" | "2";
|
2603
|
-
acls: AccessControlListElement[];
|
2604
|
-
}
|
2605
|
-
export interface BoldLock extends Base {
|
2606
|
-
type: "boldLock";
|
2607
|
-
boldClientId: string;
|
2608
|
-
boldClientSecret: string;
|
2609
|
-
boldOrganizationId: number;
|
2610
|
-
boldDeviceId: number;
|
2611
|
-
}
|
2612
|
-
export type Object = Mqtt | BoldLock;
|
2613
2617
|
export namespace Retrieve {
|
2614
2618
|
type Params = {
|
2615
2619
|
connectorId: string;
|