@blueid/access-proto 1.33.0 → 1.35.0

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/BlueSDK.proto CHANGED
@@ -1,9 +1,8 @@
1
1
  syntax = "proto2";
2
2
  option java_package = "blueid.access.sdk.pb";
3
3
 
4
- // import "nanopb.proto";
5
-
6
4
  import "BlueCore.proto";
5
+ import "BlueSystem.proto";
7
6
 
8
7
  ///////////////////////////////////////////////////////////////////////
9
8
  // I18n
@@ -41,11 +40,11 @@ message BlueI18n {
41
40
  required string openViaOssAccessGrantedLockEngagedTitle = 14
42
41
  [ default = "Lock engaged"];
43
42
  required string openViaOssAccessGrantedLockEngagedMessage = 15
44
- [ default = "Lock remains closed until toggled again."];
43
+ [ default = "Lock permanently closed."];
45
44
  required string openViaOssAccessGrantedLockDisengagedTitle = 16
46
45
  [ default = "Lock disengaged"];
47
46
  required string openViaOssAccessGrantedLockDisengagedMessage = 17
48
- [ default = "Lock remains open until toggled again."];
47
+ [ default = "Lock permanently opened."];
49
48
  required string openViaOssAccessGrantedExtendedTimeMessage = 18
50
49
  [ default = "Lock will remain disengaged for %d seconds."];
51
50
  required string openViaOssAccessDeniedTitle = 19
@@ -233,3 +232,19 @@ message BlueSynchronizeAccessCredential {
233
232
  message BlueSynchronizeAccessCredentials {
234
233
  repeated BlueSynchronizeAccessCredential credentials = 1;
235
234
  }
235
+
236
+ message BlueHardwareInfo {
237
+ required string name = 1;
238
+ required string vendor = 2;
239
+ required string vendorName = 3;
240
+ required uint32 version = 4;
241
+ required BlueHardwareType type = 5;
242
+ }
243
+
244
+ message BlueSystemStatusExt {
245
+ required BlueSystemStatus status = 1;
246
+ optional bool newFirmwareVersionAvailable = 2;
247
+ optional bool newTestFirmwareVersionAvailable = 3;
248
+ optional bool newConfigurationAvailable = 4;
249
+ optional BlueHardwareInfo hardwareInfo = 5;
250
+ }
package/BlueSystem.proto CHANGED
@@ -200,14 +200,6 @@ message BlueSystemProvisioning {
200
200
  required bytes signaturePublicKey = 5 [ (nanopb).max_size = 100 ];
201
201
  }
202
202
 
203
- message BlueHardwareInfo {
204
- required string name = 1;
205
- required string vendor = 2;
206
- required string vendorName = 3;
207
- required uint32 version = 4;
208
- required BlueHardwareType type = 5;
209
- }
210
-
211
203
  message BlueSystemStatus {
212
204
  required string configId = 1 [ (nanopb).max_length = 8 ];
213
205
  required string deviceId = 2 [ (nanopb).max_length = 8 ];
@@ -221,11 +213,6 @@ message BlueSystemStatus {
221
213
  // -- Custom
222
214
  optional BlueLockStatus lock = 9;
223
215
  optional uint32 applicationVersionTest = 10;
224
- optional bool newFirmwareVersionAvailable = 11;
225
- optional bool newTestFirmwareVersionAvailable = 12;
226
- optional bool newConfigurationAvailable = 13;
227
-
228
- optional BlueHardwareInfo hardwareInfo = 14;
229
216
  }
230
217
 
231
218
  ///////////////////////////////////////////////////////////////////////
@@ -5,7 +5,8 @@
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, proto2 } from "@bufbuild/protobuf";
8
- import type { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp, BlueOssSoConfiguration, BlueReturnCode } from "./BlueCore_pb.js";
8
+ import type { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueHardwareType, BlueLocalTimestamp, BlueOssSoConfiguration, BlueReturnCode } from "./BlueCore_pb.js";
9
+ import type { BlueSystemStatus } from "./BlueSystem_pb.js";
9
10
 
10
11
  /**
11
12
  * @generated from enum BlueDeviceType
@@ -122,7 +123,7 @@ export declare class BlueI18n extends Message<BlueI18n> {
122
123
  openViaOssAccessGrantedLockEngagedTitle: string;
123
124
 
124
125
  /**
125
- * @generated from field: required string openViaOssAccessGrantedLockEngagedMessage = 15 [default = "Lock remains closed until toggled again."];
126
+ * @generated from field: required string openViaOssAccessGrantedLockEngagedMessage = 15 [default = "Lock permanently closed."];
126
127
  */
127
128
  openViaOssAccessGrantedLockEngagedMessage: string;
128
129
 
@@ -132,7 +133,7 @@ export declare class BlueI18n extends Message<BlueI18n> {
132
133
  openViaOssAccessGrantedLockDisengagedTitle: string;
133
134
 
134
135
  /**
135
- * @generated from field: required string openViaOssAccessGrantedLockDisengagedMessage = 17 [default = "Lock remains open until toggled again."];
136
+ * @generated from field: required string openViaOssAccessGrantedLockDisengagedMessage = 17 [default = "Lock permanently opened."];
136
137
  */
137
138
  openViaOssAccessGrantedLockDisengagedMessage: string;
138
139
 
@@ -790,3 +791,91 @@ export declare class BlueSynchronizeAccessCredentials extends Message<BlueSynchr
790
791
  static equals(a: BlueSynchronizeAccessCredentials | PlainMessage<BlueSynchronizeAccessCredentials> | undefined, b: BlueSynchronizeAccessCredentials | PlainMessage<BlueSynchronizeAccessCredentials> | undefined): boolean;
791
792
  }
792
793
 
794
+ /**
795
+ * @generated from message BlueHardwareInfo
796
+ */
797
+ export declare class BlueHardwareInfo extends Message<BlueHardwareInfo> {
798
+ /**
799
+ * @generated from field: required string name = 1;
800
+ */
801
+ name: string;
802
+
803
+ /**
804
+ * @generated from field: required string vendor = 2;
805
+ */
806
+ vendor: string;
807
+
808
+ /**
809
+ * @generated from field: required string vendorName = 3;
810
+ */
811
+ vendorName: string;
812
+
813
+ /**
814
+ * @generated from field: required uint32 version = 4;
815
+ */
816
+ version: number;
817
+
818
+ /**
819
+ * @generated from field: required BlueHardwareType type = 5;
820
+ */
821
+ type: BlueHardwareType;
822
+
823
+ constructor(data?: PartialMessage<BlueHardwareInfo>);
824
+
825
+ static readonly runtime: typeof proto2;
826
+ static readonly typeName = "BlueHardwareInfo";
827
+ static readonly fields: FieldList;
828
+
829
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueHardwareInfo;
830
+
831
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueHardwareInfo;
832
+
833
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueHardwareInfo;
834
+
835
+ static equals(a: BlueHardwareInfo | PlainMessage<BlueHardwareInfo> | undefined, b: BlueHardwareInfo | PlainMessage<BlueHardwareInfo> | undefined): boolean;
836
+ }
837
+
838
+ /**
839
+ * @generated from message BlueSystemStatusExt
840
+ */
841
+ export declare class BlueSystemStatusExt extends Message<BlueSystemStatusExt> {
842
+ /**
843
+ * @generated from field: required BlueSystemStatus status = 1;
844
+ */
845
+ status?: BlueSystemStatus;
846
+
847
+ /**
848
+ * @generated from field: optional bool newFirmwareVersionAvailable = 2;
849
+ */
850
+ newFirmwareVersionAvailable?: boolean;
851
+
852
+ /**
853
+ * @generated from field: optional bool newTestFirmwareVersionAvailable = 3;
854
+ */
855
+ newTestFirmwareVersionAvailable?: boolean;
856
+
857
+ /**
858
+ * @generated from field: optional bool newConfigurationAvailable = 4;
859
+ */
860
+ newConfigurationAvailable?: boolean;
861
+
862
+ /**
863
+ * @generated from field: optional BlueHardwareInfo hardwareInfo = 5;
864
+ */
865
+ hardwareInfo?: BlueHardwareInfo;
866
+
867
+ constructor(data?: PartialMessage<BlueSystemStatusExt>);
868
+
869
+ static readonly runtime: typeof proto2;
870
+ static readonly typeName = "BlueSystemStatusExt";
871
+ static readonly fields: FieldList;
872
+
873
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemStatusExt;
874
+
875
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemStatusExt;
876
+
877
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemStatusExt;
878
+
879
+ static equals(a: BlueSystemStatusExt | PlainMessage<BlueSystemStatusExt> | undefined, b: BlueSystemStatusExt | PlainMessage<BlueSystemStatusExt> | undefined): boolean;
880
+ }
881
+
package/cjs/BlueSDK_pb.js CHANGED
@@ -27,16 +27,19 @@ __export(BlueSDK_pb_exports, {
27
27
  BlueDeviceDetailsUWB: () => BlueDeviceDetailsUWB,
28
28
  BlueDeviceInfo: () => BlueDeviceInfo,
29
29
  BlueDeviceType: () => BlueDeviceType,
30
+ BlueHardwareInfo: () => BlueHardwareInfo,
30
31
  BlueI18n: () => BlueI18n,
31
32
  BlueRefreshOssSoCredential: () => BlueRefreshOssSoCredential,
32
33
  BlueRefreshOssSoCredentialStatus: () => BlueRefreshOssSoCredentialStatus,
33
34
  BlueRefreshOssSoCredentials: () => BlueRefreshOssSoCredentials,
34
35
  BlueSynchronizeAccessCredential: () => BlueSynchronizeAccessCredential,
35
- BlueSynchronizeAccessCredentials: () => BlueSynchronizeAccessCredentials
36
+ BlueSynchronizeAccessCredentials: () => BlueSynchronizeAccessCredentials,
37
+ BlueSystemStatusExt: () => BlueSystemStatusExt
36
38
  });
37
39
  module.exports = __toCommonJS(BlueSDK_pb_exports);
38
40
  var import_protobuf = require("@bufbuild/protobuf");
39
41
  var import_BlueCore_pb = require("./BlueCore_pb.js");
42
+ var import_BlueSystem_pb = require("./BlueSystem_pb.js");
40
43
  const BlueDeviceType = import_protobuf.proto2.makeEnum(
41
44
  "BlueDeviceType",
42
45
  [
@@ -70,9 +73,9 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
70
73
  { no: 12, name: "openViaOssAccessGrantedTitle", kind: "scalar", T: 9, default: "Access Granted" },
71
74
  { no: 13, name: "openViaOssAccessGrantedMessage", kind: "scalar", T: 9, default: "Please proceed." },
72
75
  { no: 14, name: "openViaOssAccessGrantedLockEngagedTitle", kind: "scalar", T: 9, default: "Lock engaged" },
73
- { no: 15, name: "openViaOssAccessGrantedLockEngagedMessage", kind: "scalar", T: 9, default: "Lock remains closed until toggled again." },
76
+ { no: 15, name: "openViaOssAccessGrantedLockEngagedMessage", kind: "scalar", T: 9, default: "Lock permanently closed." },
74
77
  { no: 16, name: "openViaOssAccessGrantedLockDisengagedTitle", kind: "scalar", T: 9, default: "Lock disengaged" },
75
- { no: 17, name: "openViaOssAccessGrantedLockDisengagedMessage", kind: "scalar", T: 9, default: "Lock remains open until toggled again." },
78
+ { no: 17, name: "openViaOssAccessGrantedLockDisengagedMessage", kind: "scalar", T: 9, default: "Lock permanently opened." },
76
79
  { no: 18, name: "openViaOssAccessGrantedExtendedTimeMessage", kind: "scalar", T: 9, default: "Lock will remain disengaged for %d seconds." },
77
80
  { no: 19, name: "openViaOssAccessDeniedTitle", kind: "scalar", T: 9, default: "Access Denied" },
78
81
  { no: 20, name: "openViaOssAccessDeniedMessage", kind: "scalar", T: 9, default: "Credentials are invalid or outdated." },
@@ -289,3 +292,47 @@ const BlueSynchronizeAccessCredentials = import_protobuf.proto2.makeMessageType(
289
292
  { no: 1, name: "credentials", kind: "message", T: BlueSynchronizeAccessCredential, repeated: true }
290
293
  ]
291
294
  );
295
+ const BlueHardwareInfo = import_protobuf.proto2.makeMessageType(
296
+ "BlueHardwareInfo",
297
+ () => [
298
+ {
299
+ no: 1,
300
+ name: "name",
301
+ kind: "scalar",
302
+ T: 9
303
+ /* ScalarType.STRING */
304
+ },
305
+ {
306
+ no: 2,
307
+ name: "vendor",
308
+ kind: "scalar",
309
+ T: 9
310
+ /* ScalarType.STRING */
311
+ },
312
+ {
313
+ no: 3,
314
+ name: "vendorName",
315
+ kind: "scalar",
316
+ T: 9
317
+ /* ScalarType.STRING */
318
+ },
319
+ {
320
+ no: 4,
321
+ name: "version",
322
+ kind: "scalar",
323
+ T: 13
324
+ /* ScalarType.UINT32 */
325
+ },
326
+ { no: 5, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueHardwareType) }
327
+ ]
328
+ );
329
+ const BlueSystemStatusExt = import_protobuf.proto2.makeMessageType(
330
+ "BlueSystemStatusExt",
331
+ () => [
332
+ { no: 1, name: "status", kind: "message", T: import_BlueSystem_pb.BlueSystemStatus },
333
+ { no: 2, name: "newFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true },
334
+ { no: 3, name: "newTestFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true },
335
+ { no: 4, name: "newConfigurationAvailable", kind: "scalar", T: 8, opt: true },
336
+ { no: 5, name: "hardwareInfo", kind: "message", T: BlueHardwareInfo, opt: true }
337
+ ]
338
+ );
@@ -578,50 +578,6 @@ export declare class BlueSystemProvisioning extends Message<BlueSystemProvisioni
578
578
  static equals(a: BlueSystemProvisioning | PlainMessage<BlueSystemProvisioning> | undefined, b: BlueSystemProvisioning | PlainMessage<BlueSystemProvisioning> | undefined): boolean;
579
579
  }
580
580
 
581
- /**
582
- * @generated from message BlueHardwareInfo
583
- */
584
- export declare class BlueHardwareInfo extends Message<BlueHardwareInfo> {
585
- /**
586
- * @generated from field: required string name = 1;
587
- */
588
- name: string;
589
-
590
- /**
591
- * @generated from field: required string vendor = 2;
592
- */
593
- vendor: string;
594
-
595
- /**
596
- * @generated from field: required string vendorName = 3;
597
- */
598
- vendorName: string;
599
-
600
- /**
601
- * @generated from field: required uint32 version = 4;
602
- */
603
- version: number;
604
-
605
- /**
606
- * @generated from field: required BlueHardwareType type = 5;
607
- */
608
- type: BlueHardwareType;
609
-
610
- constructor(data?: PartialMessage<BlueHardwareInfo>);
611
-
612
- static readonly runtime: typeof proto2;
613
- static readonly typeName = "BlueHardwareInfo";
614
- static readonly fields: FieldList;
615
-
616
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueHardwareInfo;
617
-
618
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueHardwareInfo;
619
-
620
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueHardwareInfo;
621
-
622
- static equals(a: BlueHardwareInfo | PlainMessage<BlueHardwareInfo> | undefined, b: BlueHardwareInfo | PlainMessage<BlueHardwareInfo> | undefined): boolean;
623
- }
624
-
625
581
  /**
626
582
  * @generated from message BlueSystemStatus
627
583
  */
@@ -678,26 +634,6 @@ export declare class BlueSystemStatus extends Message<BlueSystemStatus> {
678
634
  */
679
635
  applicationVersionTest?: number;
680
636
 
681
- /**
682
- * @generated from field: optional bool newFirmwareVersionAvailable = 11;
683
- */
684
- newFirmwareVersionAvailable?: boolean;
685
-
686
- /**
687
- * @generated from field: optional bool newTestFirmwareVersionAvailable = 12;
688
- */
689
- newTestFirmwareVersionAvailable?: boolean;
690
-
691
- /**
692
- * @generated from field: optional bool newConfigurationAvailable = 13;
693
- */
694
- newConfigurationAvailable?: boolean;
695
-
696
- /**
697
- * @generated from field: optional BlueHardwareInfo hardwareInfo = 14;
698
- */
699
- hardwareInfo?: BlueHardwareInfo;
700
-
701
637
  constructor(data?: PartialMessage<BlueSystemStatus>);
702
638
 
703
639
  static readonly runtime: typeof proto2;
@@ -24,7 +24,6 @@ __export(BlueSystem_pb_exports, {
24
24
  BlueBleConfig: () => BlueBleConfig,
25
25
  BlueEventLogQuery: () => BlueEventLogQuery,
26
26
  BlueEventLogResult: () => BlueEventLogResult,
27
- BlueHardwareInfo: () => BlueHardwareInfo,
28
27
  BlueOnlineConfig: () => BlueOnlineConfig,
29
28
  BlueOssConfig: () => BlueOssConfig,
30
29
  BlueSystemConfig: () => BlueSystemConfig,
@@ -230,40 +229,6 @@ const BlueSystemProvisioning = import_protobuf.proto2.makeMessageType(
230
229
  }
231
230
  ]
232
231
  );
233
- const BlueHardwareInfo = import_protobuf.proto2.makeMessageType(
234
- "BlueHardwareInfo",
235
- () => [
236
- {
237
- no: 1,
238
- name: "name",
239
- kind: "scalar",
240
- T: 9
241
- /* ScalarType.STRING */
242
- },
243
- {
244
- no: 2,
245
- name: "vendor",
246
- kind: "scalar",
247
- T: 9
248
- /* ScalarType.STRING */
249
- },
250
- {
251
- no: 3,
252
- name: "vendorName",
253
- kind: "scalar",
254
- T: 9
255
- /* ScalarType.STRING */
256
- },
257
- {
258
- no: 4,
259
- name: "version",
260
- kind: "scalar",
261
- T: 13
262
- /* ScalarType.UINT32 */
263
- },
264
- { no: 5, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueHardwareType) }
265
- ]
266
- );
267
232
  const BlueSystemStatus = import_protobuf.proto2.makeMessageType(
268
233
  "BlueSystemStatus",
269
234
  () => [
@@ -300,11 +265,7 @@ const BlueSystemStatus = import_protobuf.proto2.makeMessageType(
300
265
  { no: 7, name: "localTime", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp },
301
266
  { no: 8, name: "settings", kind: "message", T: BlueSystemSettings },
302
267
  { no: 9, name: "lock", kind: "message", T: import_BlueLock_pb.BlueLockStatus, opt: true },
303
- { no: 10, name: "applicationVersionTest", kind: "scalar", T: 13, opt: true },
304
- { no: 11, name: "newFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true },
305
- { no: 12, name: "newTestFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true },
306
- { no: 13, name: "newConfigurationAvailable", kind: "scalar", T: 8, opt: true },
307
- { no: 14, name: "hardwareInfo", kind: "message", T: BlueHardwareInfo, opt: true }
268
+ { no: 10, name: "applicationVersionTest", kind: "scalar", T: 13, opt: true }
308
269
  ]
309
270
  );
310
271
  const BlueSystemLogQuery = import_protobuf.proto2.makeMessageType(
@@ -5,7 +5,8 @@
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, proto2 } from "@bufbuild/protobuf";
8
- import type { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp, BlueOssSoConfiguration, BlueReturnCode } from "./BlueCore_pb.js";
8
+ import type { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueHardwareType, BlueLocalTimestamp, BlueOssSoConfiguration, BlueReturnCode } from "./BlueCore_pb.js";
9
+ import type { BlueSystemStatus } from "./BlueSystem_pb.js";
9
10
 
10
11
  /**
11
12
  * @generated from enum BlueDeviceType
@@ -122,7 +123,7 @@ export declare class BlueI18n extends Message<BlueI18n> {
122
123
  openViaOssAccessGrantedLockEngagedTitle: string;
123
124
 
124
125
  /**
125
- * @generated from field: required string openViaOssAccessGrantedLockEngagedMessage = 15 [default = "Lock remains closed until toggled again."];
126
+ * @generated from field: required string openViaOssAccessGrantedLockEngagedMessage = 15 [default = "Lock permanently closed."];
126
127
  */
127
128
  openViaOssAccessGrantedLockEngagedMessage: string;
128
129
 
@@ -132,7 +133,7 @@ export declare class BlueI18n extends Message<BlueI18n> {
132
133
  openViaOssAccessGrantedLockDisengagedTitle: string;
133
134
 
134
135
  /**
135
- * @generated from field: required string openViaOssAccessGrantedLockDisengagedMessage = 17 [default = "Lock remains open until toggled again."];
136
+ * @generated from field: required string openViaOssAccessGrantedLockDisengagedMessage = 17 [default = "Lock permanently opened."];
136
137
  */
137
138
  openViaOssAccessGrantedLockDisengagedMessage: string;
138
139
 
@@ -790,3 +791,91 @@ export declare class BlueSynchronizeAccessCredentials extends Message<BlueSynchr
790
791
  static equals(a: BlueSynchronizeAccessCredentials | PlainMessage<BlueSynchronizeAccessCredentials> | undefined, b: BlueSynchronizeAccessCredentials | PlainMessage<BlueSynchronizeAccessCredentials> | undefined): boolean;
791
792
  }
792
793
 
794
+ /**
795
+ * @generated from message BlueHardwareInfo
796
+ */
797
+ export declare class BlueHardwareInfo extends Message<BlueHardwareInfo> {
798
+ /**
799
+ * @generated from field: required string name = 1;
800
+ */
801
+ name: string;
802
+
803
+ /**
804
+ * @generated from field: required string vendor = 2;
805
+ */
806
+ vendor: string;
807
+
808
+ /**
809
+ * @generated from field: required string vendorName = 3;
810
+ */
811
+ vendorName: string;
812
+
813
+ /**
814
+ * @generated from field: required uint32 version = 4;
815
+ */
816
+ version: number;
817
+
818
+ /**
819
+ * @generated from field: required BlueHardwareType type = 5;
820
+ */
821
+ type: BlueHardwareType;
822
+
823
+ constructor(data?: PartialMessage<BlueHardwareInfo>);
824
+
825
+ static readonly runtime: typeof proto2;
826
+ static readonly typeName = "BlueHardwareInfo";
827
+ static readonly fields: FieldList;
828
+
829
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueHardwareInfo;
830
+
831
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueHardwareInfo;
832
+
833
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueHardwareInfo;
834
+
835
+ static equals(a: BlueHardwareInfo | PlainMessage<BlueHardwareInfo> | undefined, b: BlueHardwareInfo | PlainMessage<BlueHardwareInfo> | undefined): boolean;
836
+ }
837
+
838
+ /**
839
+ * @generated from message BlueSystemStatusExt
840
+ */
841
+ export declare class BlueSystemStatusExt extends Message<BlueSystemStatusExt> {
842
+ /**
843
+ * @generated from field: required BlueSystemStatus status = 1;
844
+ */
845
+ status?: BlueSystemStatus;
846
+
847
+ /**
848
+ * @generated from field: optional bool newFirmwareVersionAvailable = 2;
849
+ */
850
+ newFirmwareVersionAvailable?: boolean;
851
+
852
+ /**
853
+ * @generated from field: optional bool newTestFirmwareVersionAvailable = 3;
854
+ */
855
+ newTestFirmwareVersionAvailable?: boolean;
856
+
857
+ /**
858
+ * @generated from field: optional bool newConfigurationAvailable = 4;
859
+ */
860
+ newConfigurationAvailable?: boolean;
861
+
862
+ /**
863
+ * @generated from field: optional BlueHardwareInfo hardwareInfo = 5;
864
+ */
865
+ hardwareInfo?: BlueHardwareInfo;
866
+
867
+ constructor(data?: PartialMessage<BlueSystemStatusExt>);
868
+
869
+ static readonly runtime: typeof proto2;
870
+ static readonly typeName = "BlueSystemStatusExt";
871
+ static readonly fields: FieldList;
872
+
873
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemStatusExt;
874
+
875
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemStatusExt;
876
+
877
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemStatusExt;
878
+
879
+ static equals(a: BlueSystemStatusExt | PlainMessage<BlueSystemStatusExt> | undefined, b: BlueSystemStatusExt | PlainMessage<BlueSystemStatusExt> | undefined): boolean;
880
+ }
881
+
package/es/BlueSDK_pb.js CHANGED
@@ -4,7 +4,8 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { proto2 } from "@bufbuild/protobuf";
7
- import { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp, BlueOssSoConfiguration, BlueReturnCode } from "./BlueCore_pb.js";
7
+ import { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueHardwareType, BlueLocalTimestamp, BlueOssSoConfiguration, BlueReturnCode } from "./BlueCore_pb.js";
8
+ import { BlueSystemStatus } from "./BlueSystem_pb.js";
8
9
 
9
10
  /**
10
11
  * @generated from enum BlueDeviceType
@@ -50,9 +51,9 @@ export const BlueI18n = proto2.makeMessageType(
50
51
  { no: 12, name: "openViaOssAccessGrantedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Access Granted" },
51
52
  { no: 13, name: "openViaOssAccessGrantedMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Please proceed." },
52
53
  { no: 14, name: "openViaOssAccessGrantedLockEngagedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Lock engaged" },
53
- { no: 15, name: "openViaOssAccessGrantedLockEngagedMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Lock remains closed until toggled again." },
54
+ { no: 15, name: "openViaOssAccessGrantedLockEngagedMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Lock permanently closed." },
54
55
  { no: 16, name: "openViaOssAccessGrantedLockDisengagedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Lock disengaged" },
55
- { no: 17, name: "openViaOssAccessGrantedLockDisengagedMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Lock remains open until toggled again." },
56
+ { no: 17, name: "openViaOssAccessGrantedLockDisengagedMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Lock permanently opened." },
56
57
  { no: 18, name: "openViaOssAccessGrantedExtendedTimeMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Lock will remain disengaged for %d seconds." },
57
58
  { no: 19, name: "openViaOssAccessDeniedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Access Denied" },
58
59
  { no: 20, name: "openViaOssAccessDeniedMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Credentials are invalid or outdated." },
@@ -250,3 +251,31 @@ export const BlueSynchronizeAccessCredentials = proto2.makeMessageType(
250
251
  ],
251
252
  );
252
253
 
254
+ /**
255
+ * @generated from message BlueHardwareInfo
256
+ */
257
+ export const BlueHardwareInfo = proto2.makeMessageType(
258
+ "BlueHardwareInfo",
259
+ () => [
260
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
261
+ { no: 2, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
262
+ { no: 3, name: "vendorName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
263
+ { no: 4, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
264
+ { no: 5, name: "type", kind: "enum", T: proto2.getEnumType(BlueHardwareType) },
265
+ ],
266
+ );
267
+
268
+ /**
269
+ * @generated from message BlueSystemStatusExt
270
+ */
271
+ export const BlueSystemStatusExt = proto2.makeMessageType(
272
+ "BlueSystemStatusExt",
273
+ () => [
274
+ { no: 1, name: "status", kind: "message", T: BlueSystemStatus },
275
+ { no: 2, name: "newFirmwareVersionAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
276
+ { no: 3, name: "newTestFirmwareVersionAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
277
+ { no: 4, name: "newConfigurationAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
278
+ { no: 5, name: "hardwareInfo", kind: "message", T: BlueHardwareInfo, opt: true },
279
+ ],
280
+ );
281
+
@@ -578,50 +578,6 @@ export declare class BlueSystemProvisioning extends Message<BlueSystemProvisioni
578
578
  static equals(a: BlueSystemProvisioning | PlainMessage<BlueSystemProvisioning> | undefined, b: BlueSystemProvisioning | PlainMessage<BlueSystemProvisioning> | undefined): boolean;
579
579
  }
580
580
 
581
- /**
582
- * @generated from message BlueHardwareInfo
583
- */
584
- export declare class BlueHardwareInfo extends Message<BlueHardwareInfo> {
585
- /**
586
- * @generated from field: required string name = 1;
587
- */
588
- name: string;
589
-
590
- /**
591
- * @generated from field: required string vendor = 2;
592
- */
593
- vendor: string;
594
-
595
- /**
596
- * @generated from field: required string vendorName = 3;
597
- */
598
- vendorName: string;
599
-
600
- /**
601
- * @generated from field: required uint32 version = 4;
602
- */
603
- version: number;
604
-
605
- /**
606
- * @generated from field: required BlueHardwareType type = 5;
607
- */
608
- type: BlueHardwareType;
609
-
610
- constructor(data?: PartialMessage<BlueHardwareInfo>);
611
-
612
- static readonly runtime: typeof proto2;
613
- static readonly typeName = "BlueHardwareInfo";
614
- static readonly fields: FieldList;
615
-
616
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueHardwareInfo;
617
-
618
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueHardwareInfo;
619
-
620
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueHardwareInfo;
621
-
622
- static equals(a: BlueHardwareInfo | PlainMessage<BlueHardwareInfo> | undefined, b: BlueHardwareInfo | PlainMessage<BlueHardwareInfo> | undefined): boolean;
623
- }
624
-
625
581
  /**
626
582
  * @generated from message BlueSystemStatus
627
583
  */
@@ -678,26 +634,6 @@ export declare class BlueSystemStatus extends Message<BlueSystemStatus> {
678
634
  */
679
635
  applicationVersionTest?: number;
680
636
 
681
- /**
682
- * @generated from field: optional bool newFirmwareVersionAvailable = 11;
683
- */
684
- newFirmwareVersionAvailable?: boolean;
685
-
686
- /**
687
- * @generated from field: optional bool newTestFirmwareVersionAvailable = 12;
688
- */
689
- newTestFirmwareVersionAvailable?: boolean;
690
-
691
- /**
692
- * @generated from field: optional bool newConfigurationAvailable = 13;
693
- */
694
- newConfigurationAvailable?: boolean;
695
-
696
- /**
697
- * @generated from field: optional BlueHardwareInfo hardwareInfo = 14;
698
- */
699
- hardwareInfo?: BlueHardwareInfo;
700
-
701
637
  constructor(data?: PartialMessage<BlueSystemStatus>);
702
638
 
703
639
  static readonly runtime: typeof proto2;