@blueid/access-proto 0.55.0 → 0.56.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/BlueCore.proto +5 -3
- package/BlueSDK.proto +4 -0
- package/cjs/BlueCore_pb.d.ts +10 -5
- package/cjs/BlueCore_pb.js +3 -2
- package/cjs/BlueSDK_pb.d.ts +25 -1
- package/cjs/BlueSDK_pb.js +8 -1
- package/es/BlueCore_pb.d.ts +10 -5
- package/es/BlueCore_pb.js +3 -2
- package/es/BlueSDK_pb.d.ts +25 -1
- package/es/BlueSDK_pb.js +11 -1
- package/nanopb/BlueCore.pb.h +3 -2
- package/nanopb/BlueSDK.pb.c +3 -0
- package/nanopb/BlueSDK.pb.h +17 -0
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +13 -9
- package/swift/BlueSDK.pb.swift +63 -0
package/BlueCore.proto
CHANGED
|
@@ -238,7 +238,8 @@ enum BlueCredentialType {
|
|
|
238
238
|
Maintenance = 2;
|
|
239
239
|
/* Master can open all locks within the given site and requires no refresh */
|
|
240
240
|
Master = 3;
|
|
241
|
-
/* Nfc writer allows to write any credential within this site on cards & fobs
|
|
241
|
+
/* Nfc writer allows to write any credential within this site on cards & fobs
|
|
242
|
+
*/
|
|
242
243
|
NfcWriter = 4;
|
|
243
244
|
}
|
|
244
245
|
|
|
@@ -277,8 +278,9 @@ enum BlueHardwareType {
|
|
|
277
278
|
TestHardware = 1;
|
|
278
279
|
Gateway = 2;
|
|
279
280
|
CylinderLock = 3;
|
|
280
|
-
|
|
281
|
-
|
|
281
|
+
DoorHandleLock = 4;
|
|
282
|
+
WallReader = 5;
|
|
283
|
+
Kiosk = 6;
|
|
282
284
|
}
|
|
283
285
|
|
|
284
286
|
enum BlueBatteryLevel {
|
package/BlueSDK.proto
CHANGED
package/cjs/BlueCore_pb.d.ts
CHANGED
|
@@ -505,7 +505,7 @@ export declare enum BlueCredentialType {
|
|
|
505
505
|
Master = 3,
|
|
506
506
|
|
|
507
507
|
/**
|
|
508
|
-
* Nfc writer allows to write any credential within this site on cards & fobs
|
|
508
|
+
* Nfc writer allows to write any credential within this site on cards & fobs
|
|
509
509
|
*
|
|
510
510
|
* @generated from enum value: NfcWriter = 4;
|
|
511
511
|
*/
|
|
@@ -618,14 +618,19 @@ export declare enum BlueHardwareType {
|
|
|
618
618
|
CylinderLock = 3,
|
|
619
619
|
|
|
620
620
|
/**
|
|
621
|
-
* @generated from enum value:
|
|
621
|
+
* @generated from enum value: DoorHandleLock = 4;
|
|
622
622
|
*/
|
|
623
|
-
|
|
623
|
+
DoorHandleLock = 4,
|
|
624
624
|
|
|
625
625
|
/**
|
|
626
|
-
* @generated from enum value:
|
|
626
|
+
* @generated from enum value: WallReader = 5;
|
|
627
627
|
*/
|
|
628
|
-
|
|
628
|
+
WallReader = 5,
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* @generated from enum value: Kiosk = 6;
|
|
632
|
+
*/
|
|
633
|
+
Kiosk = 6,
|
|
629
634
|
}
|
|
630
635
|
|
|
631
636
|
/**
|
package/cjs/BlueCore_pb.js
CHANGED
|
@@ -230,8 +230,9 @@ const BlueHardwareType = import_protobuf.proto2.makeEnum(
|
|
|
230
230
|
{ no: 1, name: "TestHardware" },
|
|
231
231
|
{ no: 2, name: "Gateway" },
|
|
232
232
|
{ no: 3, name: "CylinderLock" },
|
|
233
|
-
{ no: 4, name: "
|
|
234
|
-
{ no: 5, name: "
|
|
233
|
+
{ no: 4, name: "DoorHandleLock" },
|
|
234
|
+
{ no: 5, name: "WallReader" },
|
|
235
|
+
{ no: 6, name: "Kiosk" }
|
|
235
236
|
]
|
|
236
237
|
);
|
|
237
238
|
const BlueBatteryLevel = import_protobuf.proto2.makeEnum(
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
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 } from "./BlueCore_pb.js";
|
|
8
|
+
import type { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp, BlueReturnCode } from "./BlueCore_pb.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @generated from enum BlueDeviceType
|
|
@@ -449,3 +449,27 @@ export declare class BlueAccessObjectList extends Message<BlueAccessObjectList>
|
|
|
449
449
|
static equals(a: BlueAccessObjectList | PlainMessage<BlueAccessObjectList> | undefined, b: BlueAccessObjectList | PlainMessage<BlueAccessObjectList> | undefined): boolean;
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
+
/**
|
|
453
|
+
* @generated from message BlueRefreshOssSoCredentialResult
|
|
454
|
+
*/
|
|
455
|
+
export declare class BlueRefreshOssSoCredentialResult extends Message<BlueRefreshOssSoCredentialResult> {
|
|
456
|
+
/**
|
|
457
|
+
* @generated from field: required BlueReturnCode eventLogsPushed = 1;
|
|
458
|
+
*/
|
|
459
|
+
eventLogsPushed: BlueReturnCode;
|
|
460
|
+
|
|
461
|
+
constructor(data?: PartialMessage<BlueRefreshOssSoCredentialResult>);
|
|
462
|
+
|
|
463
|
+
static readonly runtime: typeof proto2;
|
|
464
|
+
static readonly typeName = "BlueRefreshOssSoCredentialResult";
|
|
465
|
+
static readonly fields: FieldList;
|
|
466
|
+
|
|
467
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueRefreshOssSoCredentialResult;
|
|
468
|
+
|
|
469
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueRefreshOssSoCredentialResult;
|
|
470
|
+
|
|
471
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueRefreshOssSoCredentialResult;
|
|
472
|
+
|
|
473
|
+
static equals(a: BlueRefreshOssSoCredentialResult | PlainMessage<BlueRefreshOssSoCredentialResult> | undefined, b: BlueRefreshOssSoCredentialResult | PlainMessage<BlueRefreshOssSoCredentialResult> | undefined): boolean;
|
|
474
|
+
}
|
|
475
|
+
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -27,7 +27,8 @@ __export(BlueSDK_pb_exports, {
|
|
|
27
27
|
BlueDeviceDetailsUWB: () => BlueDeviceDetailsUWB,
|
|
28
28
|
BlueDeviceInfo: () => BlueDeviceInfo,
|
|
29
29
|
BlueDeviceType: () => BlueDeviceType,
|
|
30
|
-
BlueI18n: () => BlueI18n
|
|
30
|
+
BlueI18n: () => BlueI18n,
|
|
31
|
+
BlueRefreshOssSoCredentialResult: () => BlueRefreshOssSoCredentialResult
|
|
31
32
|
});
|
|
32
33
|
module.exports = __toCommonJS(BlueSDK_pb_exports);
|
|
33
34
|
var import_protobuf = require("@bufbuild/protobuf");
|
|
@@ -207,3 +208,9 @@ const BlueAccessObjectList = import_protobuf.proto2.makeMessageType(
|
|
|
207
208
|
{ no: 1, name: "objects", kind: "message", T: BlueAccessObject, repeated: true }
|
|
208
209
|
]
|
|
209
210
|
);
|
|
211
|
+
const BlueRefreshOssSoCredentialResult = import_protobuf.proto2.makeMessageType(
|
|
212
|
+
"BlueRefreshOssSoCredentialResult",
|
|
213
|
+
() => [
|
|
214
|
+
{ no: 1, name: "eventLogsPushed", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueReturnCode) }
|
|
215
|
+
]
|
|
216
|
+
);
|
package/es/BlueCore_pb.d.ts
CHANGED
|
@@ -505,7 +505,7 @@ export declare enum BlueCredentialType {
|
|
|
505
505
|
Master = 3,
|
|
506
506
|
|
|
507
507
|
/**
|
|
508
|
-
* Nfc writer allows to write any credential within this site on cards & fobs
|
|
508
|
+
* Nfc writer allows to write any credential within this site on cards & fobs
|
|
509
509
|
*
|
|
510
510
|
* @generated from enum value: NfcWriter = 4;
|
|
511
511
|
*/
|
|
@@ -618,14 +618,19 @@ export declare enum BlueHardwareType {
|
|
|
618
618
|
CylinderLock = 3,
|
|
619
619
|
|
|
620
620
|
/**
|
|
621
|
-
* @generated from enum value:
|
|
621
|
+
* @generated from enum value: DoorHandleLock = 4;
|
|
622
622
|
*/
|
|
623
|
-
|
|
623
|
+
DoorHandleLock = 4,
|
|
624
624
|
|
|
625
625
|
/**
|
|
626
|
-
* @generated from enum value:
|
|
626
|
+
* @generated from enum value: WallReader = 5;
|
|
627
627
|
*/
|
|
628
|
-
|
|
628
|
+
WallReader = 5,
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* @generated from enum value: Kiosk = 6;
|
|
632
|
+
*/
|
|
633
|
+
Kiosk = 6,
|
|
629
634
|
}
|
|
630
635
|
|
|
631
636
|
/**
|
package/es/BlueCore_pb.js
CHANGED
|
@@ -174,8 +174,9 @@ export const BlueHardwareType = proto2.makeEnum(
|
|
|
174
174
|
{no: 1, name: "TestHardware"},
|
|
175
175
|
{no: 2, name: "Gateway"},
|
|
176
176
|
{no: 3, name: "CylinderLock"},
|
|
177
|
-
{no: 4, name: "
|
|
178
|
-
{no: 5, name: "
|
|
177
|
+
{no: 4, name: "DoorHandleLock"},
|
|
178
|
+
{no: 5, name: "WallReader"},
|
|
179
|
+
{no: 6, name: "Kiosk"},
|
|
179
180
|
],
|
|
180
181
|
);
|
|
181
182
|
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
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 } from "./BlueCore_pb.js";
|
|
8
|
+
import type { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp, BlueReturnCode } from "./BlueCore_pb.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @generated from enum BlueDeviceType
|
|
@@ -449,3 +449,27 @@ export declare class BlueAccessObjectList extends Message<BlueAccessObjectList>
|
|
|
449
449
|
static equals(a: BlueAccessObjectList | PlainMessage<BlueAccessObjectList> | undefined, b: BlueAccessObjectList | PlainMessage<BlueAccessObjectList> | undefined): boolean;
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
+
/**
|
|
453
|
+
* @generated from message BlueRefreshOssSoCredentialResult
|
|
454
|
+
*/
|
|
455
|
+
export declare class BlueRefreshOssSoCredentialResult extends Message<BlueRefreshOssSoCredentialResult> {
|
|
456
|
+
/**
|
|
457
|
+
* @generated from field: required BlueReturnCode eventLogsPushed = 1;
|
|
458
|
+
*/
|
|
459
|
+
eventLogsPushed: BlueReturnCode;
|
|
460
|
+
|
|
461
|
+
constructor(data?: PartialMessage<BlueRefreshOssSoCredentialResult>);
|
|
462
|
+
|
|
463
|
+
static readonly runtime: typeof proto2;
|
|
464
|
+
static readonly typeName = "BlueRefreshOssSoCredentialResult";
|
|
465
|
+
static readonly fields: FieldList;
|
|
466
|
+
|
|
467
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueRefreshOssSoCredentialResult;
|
|
468
|
+
|
|
469
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueRefreshOssSoCredentialResult;
|
|
470
|
+
|
|
471
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueRefreshOssSoCredentialResult;
|
|
472
|
+
|
|
473
|
+
static equals(a: BlueRefreshOssSoCredentialResult | PlainMessage<BlueRefreshOssSoCredentialResult> | undefined, b: BlueRefreshOssSoCredentialResult | PlainMessage<BlueRefreshOssSoCredentialResult> | undefined): boolean;
|
|
474
|
+
}
|
|
475
|
+
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
6
|
import { proto2 } from "@bufbuild/protobuf";
|
|
7
|
-
import { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp } from "./BlueCore_pb.js";
|
|
7
|
+
import { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp, BlueReturnCode } from "./BlueCore_pb.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @generated from enum BlueDeviceType
|
|
@@ -153,3 +153,13 @@ export const BlueAccessObjectList = proto2.makeMessageType(
|
|
|
153
153
|
],
|
|
154
154
|
);
|
|
155
155
|
|
|
156
|
+
/**
|
|
157
|
+
* @generated from message BlueRefreshOssSoCredentialResult
|
|
158
|
+
*/
|
|
159
|
+
export const BlueRefreshOssSoCredentialResult = proto2.makeMessageType(
|
|
160
|
+
"BlueRefreshOssSoCredentialResult",
|
|
161
|
+
() => [
|
|
162
|
+
{ no: 1, name: "eventLogsPushed", kind: "enum", T: proto2.getEnumType(BlueReturnCode) },
|
|
163
|
+
],
|
|
164
|
+
);
|
|
165
|
+
|
package/nanopb/BlueCore.pb.h
CHANGED
|
@@ -153,8 +153,9 @@ typedef enum BlueHardwareType {
|
|
|
153
153
|
BlueHardwareType_TestHardware = 1,
|
|
154
154
|
BlueHardwareType_Gateway = 2,
|
|
155
155
|
BlueHardwareType_CylinderLock = 3,
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
BlueHardwareType_DoorHandleLock = 4,
|
|
157
|
+
BlueHardwareType_WallReader = 5,
|
|
158
|
+
BlueHardwareType_Kiosk = 6
|
|
158
159
|
} BlueHardwareType_t;
|
|
159
160
|
|
|
160
161
|
typedef enum BlueBatteryLevel {
|
package/nanopb/BlueSDK.pb.c
CHANGED
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -101,6 +101,10 @@ typedef struct BlueAccessObjectList {
|
|
|
101
101
|
pb_callback_t objects;
|
|
102
102
|
} BlueAccessObjectList_t;
|
|
103
103
|
|
|
104
|
+
typedef struct BlueRefreshOssSoCredentialResult {
|
|
105
|
+
BlueReturnCode_t eventLogsPushed;
|
|
106
|
+
} BlueRefreshOssSoCredentialResult_t;
|
|
107
|
+
|
|
104
108
|
|
|
105
109
|
#ifdef __cplusplus
|
|
106
110
|
extern "C" {
|
|
@@ -123,6 +127,8 @@ extern "C" {
|
|
|
123
127
|
|
|
124
128
|
|
|
125
129
|
|
|
130
|
+
#define BlueRefreshOssSoCredentialResult_t_eventLogsPushed_ENUMTYPE BlueReturnCode_t
|
|
131
|
+
|
|
126
132
|
|
|
127
133
|
/* Initializer values for message structs */
|
|
128
134
|
#define BLUEI18N_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
@@ -135,6 +141,7 @@ extern "C" {
|
|
|
135
141
|
#define BLUEACCESSDEVICELIST_INIT_DEFAULT {{{NULL}, NULL}}
|
|
136
142
|
#define BLUEACCESSOBJECT_INIT_DEFAULT {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
137
143
|
#define BLUEACCESSOBJECTLIST_INIT_DEFAULT {{{NULL}, NULL}}
|
|
144
|
+
#define BLUEREFRESHOSSSOCREDENTIALRESULT_INIT_DEFAULT {_BLUERETURNCODE_MIN}
|
|
138
145
|
#define BLUEI18N_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
139
146
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
140
147
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
@@ -145,6 +152,7 @@ extern "C" {
|
|
|
145
152
|
#define BLUEACCESSDEVICELIST_INIT_ZERO {{{NULL}, NULL}}
|
|
146
153
|
#define BLUEACCESSOBJECT_INIT_ZERO {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
147
154
|
#define BLUEACCESSOBJECTLIST_INIT_ZERO {{{NULL}, NULL}}
|
|
155
|
+
#define BLUEREFRESHOSSSOCREDENTIALRESULT_INIT_ZERO {_BLUERETURNCODE_MIN}
|
|
148
156
|
|
|
149
157
|
/* Field tags (for use in manual encoding/decoding) */
|
|
150
158
|
#define BLUEI18N_NFCWAITMESSAGE_TAG 1
|
|
@@ -193,6 +201,7 @@ extern "C" {
|
|
|
193
201
|
#define BLUEACCESSOBJECT_DESCRIPTION_TAG 4
|
|
194
202
|
#define BLUEACCESSOBJECT_DEVICEIDS_TAG 5
|
|
195
203
|
#define BLUEACCESSOBJECTLIST_OBJECTS_TAG 1
|
|
204
|
+
#define BLUEREFRESHOSSSOCREDENTIALRESULT_EVENTLOGSPUSHED_TAG 1
|
|
196
205
|
|
|
197
206
|
/* Struct field encoding specification for nanopb */
|
|
198
207
|
#define BLUEI18N_FIELDLIST(X, a) \
|
|
@@ -291,6 +300,11 @@ X(a, CALLBACK, REPEATED, MESSAGE, objects, 1)
|
|
|
291
300
|
#define BLUEACCESSOBJECTLIST_DEFAULT NULL
|
|
292
301
|
#define BlueAccessObjectList_t_objects_MSGTYPE BlueAccessObject_t
|
|
293
302
|
|
|
303
|
+
#define BLUEREFRESHOSSSOCREDENTIALRESULT_FIELDLIST(X, a) \
|
|
304
|
+
X(a, STATIC, REQUIRED, ENUM, eventLogsPushed, 1)
|
|
305
|
+
#define BLUEREFRESHOSSSOCREDENTIALRESULT_CALLBACK NULL
|
|
306
|
+
#define BLUEREFRESHOSSSOCREDENTIALRESULT_DEFAULT NULL
|
|
307
|
+
|
|
294
308
|
extern const pb_msgdesc_t BlueI18n_t_msg;
|
|
295
309
|
extern const pb_msgdesc_t BlueDeviceDetailsBluetooth_t_msg;
|
|
296
310
|
extern const pb_msgdesc_t BlueDeviceDetailsUWB_t_msg;
|
|
@@ -301,6 +315,7 @@ extern const pb_msgdesc_t BlueAccessDevice_t_msg;
|
|
|
301
315
|
extern const pb_msgdesc_t BlueAccessDeviceList_t_msg;
|
|
302
316
|
extern const pb_msgdesc_t BlueAccessObject_t_msg;
|
|
303
317
|
extern const pb_msgdesc_t BlueAccessObjectList_t_msg;
|
|
318
|
+
extern const pb_msgdesc_t BlueRefreshOssSoCredentialResult_t_msg;
|
|
304
319
|
|
|
305
320
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
|
306
321
|
#define BLUEI18N_FIELDS &BlueI18n_t_msg
|
|
@@ -313,6 +328,7 @@ extern const pb_msgdesc_t BlueAccessObjectList_t_msg;
|
|
|
313
328
|
#define BLUEACCESSDEVICELIST_FIELDS &BlueAccessDeviceList_t_msg
|
|
314
329
|
#define BLUEACCESSOBJECT_FIELDS &BlueAccessObject_t_msg
|
|
315
330
|
#define BLUEACCESSOBJECTLIST_FIELDS &BlueAccessObjectList_t_msg
|
|
331
|
+
#define BLUEREFRESHOSSSOCREDENTIALRESULT_FIELDS &BlueRefreshOssSoCredentialResult_t_msg
|
|
316
332
|
|
|
317
333
|
/* Maximum encoded size of messages (where known) */
|
|
318
334
|
/* BlueI18n_size depends on runtime parameters */
|
|
@@ -325,6 +341,7 @@ extern const pb_msgdesc_t BlueAccessObjectList_t_msg;
|
|
|
325
341
|
/* BlueAccessObjectList_size depends on runtime parameters */
|
|
326
342
|
#define BLUEDEVICEDETAILSBLUETOOTH_SIZE 24
|
|
327
343
|
#define BLUEDEVICEDETAILSUWB_SIZE 2
|
|
344
|
+
#define BLUEREFRESHOSSSOCREDENTIALRESULT_SIZE 11
|
|
328
345
|
|
|
329
346
|
#ifdef __cplusplus
|
|
330
347
|
} /* extern "C" */
|
package/package.json
CHANGED
package/swift/BlueCore.pb.swift
CHANGED
|
@@ -393,7 +393,7 @@ public enum BlueCredentialType: SwiftProtobuf.Enum {
|
|
|
393
393
|
/// Master can open all locks within the given site and requires no refresh
|
|
394
394
|
case master // = 3
|
|
395
395
|
|
|
396
|
-
/// Nfc writer allows to write any credential within this site on cards & fobs
|
|
396
|
+
/// Nfc writer allows to write any credential within this site on cards & fobs
|
|
397
397
|
case nfcWriter // = 4
|
|
398
398
|
|
|
399
399
|
public init() {
|
|
@@ -540,8 +540,9 @@ public enum BlueHardwareType: SwiftProtobuf.Enum {
|
|
|
540
540
|
case testHardware // = 1
|
|
541
541
|
case gateway // = 2
|
|
542
542
|
case cylinderLock // = 3
|
|
543
|
-
case
|
|
544
|
-
case
|
|
543
|
+
case doorHandleLock // = 4
|
|
544
|
+
case wallReader // = 5
|
|
545
|
+
case kiosk // = 6
|
|
545
546
|
|
|
546
547
|
public init() {
|
|
547
548
|
self = .unknownHardware
|
|
@@ -553,8 +554,9 @@ public enum BlueHardwareType: SwiftProtobuf.Enum {
|
|
|
553
554
|
case 1: self = .testHardware
|
|
554
555
|
case 2: self = .gateway
|
|
555
556
|
case 3: self = .cylinderLock
|
|
556
|
-
case 4: self = .
|
|
557
|
-
case 5: self = .
|
|
557
|
+
case 4: self = .doorHandleLock
|
|
558
|
+
case 5: self = .wallReader
|
|
559
|
+
case 6: self = .kiosk
|
|
558
560
|
default: return nil
|
|
559
561
|
}
|
|
560
562
|
}
|
|
@@ -565,8 +567,9 @@ public enum BlueHardwareType: SwiftProtobuf.Enum {
|
|
|
565
567
|
case .testHardware: return 1
|
|
566
568
|
case .gateway: return 2
|
|
567
569
|
case .cylinderLock: return 3
|
|
568
|
-
case .
|
|
569
|
-
case .
|
|
570
|
+
case .doorHandleLock: return 4
|
|
571
|
+
case .wallReader: return 5
|
|
572
|
+
case .kiosk: return 6
|
|
570
573
|
}
|
|
571
574
|
}
|
|
572
575
|
|
|
@@ -3620,8 +3623,9 @@ extension BlueHardwareType: SwiftProtobuf._ProtoNameProviding {
|
|
|
3620
3623
|
1: .same(proto: "TestHardware"),
|
|
3621
3624
|
2: .same(proto: "Gateway"),
|
|
3622
3625
|
3: .same(proto: "CylinderLock"),
|
|
3623
|
-
4: .same(proto: "
|
|
3624
|
-
5: .same(proto: "
|
|
3626
|
+
4: .same(proto: "DoorHandleLock"),
|
|
3627
|
+
5: .same(proto: "WallReader"),
|
|
3628
|
+
6: .same(proto: "Kiosk"),
|
|
3625
3629
|
]
|
|
3626
3630
|
}
|
|
3627
3631
|
|
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -615,6 +615,27 @@ public struct BlueAccessObjectList {
|
|
|
615
615
|
public init() {}
|
|
616
616
|
}
|
|
617
617
|
|
|
618
|
+
public struct BlueRefreshOssSoCredentialResult {
|
|
619
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
620
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
621
|
+
// methods supported on all messages.
|
|
622
|
+
|
|
623
|
+
public var eventLogsPushed: BlueReturnCode {
|
|
624
|
+
get {return _eventLogsPushed ?? .ok}
|
|
625
|
+
set {_eventLogsPushed = newValue}
|
|
626
|
+
}
|
|
627
|
+
/// Returns true if `eventLogsPushed` has been explicitly set.
|
|
628
|
+
public var hasEventLogsPushed: Bool {return self._eventLogsPushed != nil}
|
|
629
|
+
/// Clears the value of `eventLogsPushed`. Subsequent reads from it will return its default value.
|
|
630
|
+
public mutating func clearEventLogsPushed() {self._eventLogsPushed = nil}
|
|
631
|
+
|
|
632
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
633
|
+
|
|
634
|
+
public init() {}
|
|
635
|
+
|
|
636
|
+
fileprivate var _eventLogsPushed: BlueReturnCode? = nil
|
|
637
|
+
}
|
|
638
|
+
|
|
618
639
|
#if swift(>=5.5) && canImport(_Concurrency)
|
|
619
640
|
extension BlueDeviceType: @unchecked Sendable {}
|
|
620
641
|
extension BlueI18n: @unchecked Sendable {}
|
|
@@ -628,6 +649,7 @@ extension BlueAccessDevice: @unchecked Sendable {}
|
|
|
628
649
|
extension BlueAccessDeviceList: @unchecked Sendable {}
|
|
629
650
|
extension BlueAccessObject: @unchecked Sendable {}
|
|
630
651
|
extension BlueAccessObjectList: @unchecked Sendable {}
|
|
652
|
+
extension BlueRefreshOssSoCredentialResult: @unchecked Sendable {}
|
|
631
653
|
#endif // swift(>=5.5) && canImport(_Concurrency)
|
|
632
654
|
|
|
633
655
|
// MARK: - Code below here is support for the SwiftProtobuf runtime.
|
|
@@ -1364,3 +1386,44 @@ extension BlueAccessObjectList: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
|
|
|
1364
1386
|
return true
|
|
1365
1387
|
}
|
|
1366
1388
|
}
|
|
1389
|
+
|
|
1390
|
+
extension BlueRefreshOssSoCredentialResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
1391
|
+
public static let protoMessageName: String = "BlueRefreshOssSoCredentialResult"
|
|
1392
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
1393
|
+
1: .same(proto: "eventLogsPushed"),
|
|
1394
|
+
]
|
|
1395
|
+
|
|
1396
|
+
public var isInitialized: Bool {
|
|
1397
|
+
if self._eventLogsPushed == nil {return false}
|
|
1398
|
+
return true
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
1402
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
1403
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
1404
|
+
// allocates stack space for every case branch when no optimizations are
|
|
1405
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
1406
|
+
switch fieldNumber {
|
|
1407
|
+
case 1: try { try decoder.decodeSingularEnumField(value: &self._eventLogsPushed) }()
|
|
1408
|
+
default: break
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
1414
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
1415
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
1416
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
1417
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
1418
|
+
try { if let v = self._eventLogsPushed {
|
|
1419
|
+
try visitor.visitSingularEnumField(value: v, fieldNumber: 1)
|
|
1420
|
+
} }()
|
|
1421
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
public static func ==(lhs: BlueRefreshOssSoCredentialResult, rhs: BlueRefreshOssSoCredentialResult) -> Bool {
|
|
1425
|
+
if lhs._eventLogsPushed != rhs._eventLogsPushed {return false}
|
|
1426
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
1427
|
+
return true
|
|
1428
|
+
}
|
|
1429
|
+
}
|