@blueid/access-proto 0.57.0 → 0.59.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 +0 -4
- package/cjs/BlueSDK_pb.d.ts +1 -25
- package/cjs/BlueSDK_pb.js +1 -8
- package/es/BlueSDK_pb.d.ts +1 -25
- package/es/BlueSDK_pb.js +1 -11
- package/nanopb/BlueSDK.pb.c +0 -3
- package/nanopb/BlueSDK.pb.h +0 -17
- package/package.json +1 -1
- package/swift/BlueSDK.pb.swift +0 -63
package/BlueSDK.proto
CHANGED
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
|
|
8
|
+
import type { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp } from "./BlueCore_pb.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @generated from enum BlueDeviceType
|
|
@@ -449,27 +449,3 @@ 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,8 +27,7 @@ __export(BlueSDK_pb_exports, {
|
|
|
27
27
|
BlueDeviceDetailsUWB: () => BlueDeviceDetailsUWB,
|
|
28
28
|
BlueDeviceInfo: () => BlueDeviceInfo,
|
|
29
29
|
BlueDeviceType: () => BlueDeviceType,
|
|
30
|
-
BlueI18n: () => BlueI18n
|
|
31
|
-
BlueRefreshOssSoCredentialResult: () => BlueRefreshOssSoCredentialResult
|
|
30
|
+
BlueI18n: () => BlueI18n
|
|
32
31
|
});
|
|
33
32
|
module.exports = __toCommonJS(BlueSDK_pb_exports);
|
|
34
33
|
var import_protobuf = require("@bufbuild/protobuf");
|
|
@@ -208,9 +207,3 @@ const BlueAccessObjectList = import_protobuf.proto2.makeMessageType(
|
|
|
208
207
|
{ no: 1, name: "objects", kind: "message", T: BlueAccessObject, repeated: true }
|
|
209
208
|
]
|
|
210
209
|
);
|
|
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/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
|
|
8
|
+
import type { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp } from "./BlueCore_pb.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @generated from enum BlueDeviceType
|
|
@@ -449,27 +449,3 @@ 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
|
|
7
|
+
import { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp } from "./BlueCore_pb.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @generated from enum BlueDeviceType
|
|
@@ -153,13 +153,3 @@ 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/BlueSDK.pb.c
CHANGED
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -101,10 +101,6 @@ 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
|
-
|
|
108
104
|
|
|
109
105
|
#ifdef __cplusplus
|
|
110
106
|
extern "C" {
|
|
@@ -127,8 +123,6 @@ extern "C" {
|
|
|
127
123
|
|
|
128
124
|
|
|
129
125
|
|
|
130
|
-
#define BlueRefreshOssSoCredentialResult_t_eventLogsPushed_ENUMTYPE BlueReturnCode_t
|
|
131
|
-
|
|
132
126
|
|
|
133
127
|
/* Initializer values for message structs */
|
|
134
128
|
#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}}
|
|
@@ -141,7 +135,6 @@ extern "C" {
|
|
|
141
135
|
#define BLUEACCESSDEVICELIST_INIT_DEFAULT {{{NULL}, NULL}}
|
|
142
136
|
#define BLUEACCESSOBJECT_INIT_DEFAULT {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
143
137
|
#define BLUEACCESSOBJECTLIST_INIT_DEFAULT {{{NULL}, NULL}}
|
|
144
|
-
#define BLUEREFRESHOSSSOCREDENTIALRESULT_INIT_DEFAULT {_BLUERETURNCODE_MIN}
|
|
145
138
|
#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}}
|
|
146
139
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
147
140
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
@@ -152,7 +145,6 @@ extern "C" {
|
|
|
152
145
|
#define BLUEACCESSDEVICELIST_INIT_ZERO {{{NULL}, NULL}}
|
|
153
146
|
#define BLUEACCESSOBJECT_INIT_ZERO {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
154
147
|
#define BLUEACCESSOBJECTLIST_INIT_ZERO {{{NULL}, NULL}}
|
|
155
|
-
#define BLUEREFRESHOSSSOCREDENTIALRESULT_INIT_ZERO {_BLUERETURNCODE_MIN}
|
|
156
148
|
|
|
157
149
|
/* Field tags (for use in manual encoding/decoding) */
|
|
158
150
|
#define BLUEI18N_NFCWAITMESSAGE_TAG 1
|
|
@@ -201,7 +193,6 @@ extern "C" {
|
|
|
201
193
|
#define BLUEACCESSOBJECT_DESCRIPTION_TAG 4
|
|
202
194
|
#define BLUEACCESSOBJECT_DEVICEIDS_TAG 5
|
|
203
195
|
#define BLUEACCESSOBJECTLIST_OBJECTS_TAG 1
|
|
204
|
-
#define BLUEREFRESHOSSSOCREDENTIALRESULT_EVENTLOGSPUSHED_TAG 1
|
|
205
196
|
|
|
206
197
|
/* Struct field encoding specification for nanopb */
|
|
207
198
|
#define BLUEI18N_FIELDLIST(X, a) \
|
|
@@ -300,11 +291,6 @@ X(a, CALLBACK, REPEATED, MESSAGE, objects, 1)
|
|
|
300
291
|
#define BLUEACCESSOBJECTLIST_DEFAULT NULL
|
|
301
292
|
#define BlueAccessObjectList_t_objects_MSGTYPE BlueAccessObject_t
|
|
302
293
|
|
|
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
|
-
|
|
308
294
|
extern const pb_msgdesc_t BlueI18n_t_msg;
|
|
309
295
|
extern const pb_msgdesc_t BlueDeviceDetailsBluetooth_t_msg;
|
|
310
296
|
extern const pb_msgdesc_t BlueDeviceDetailsUWB_t_msg;
|
|
@@ -315,7 +301,6 @@ extern const pb_msgdesc_t BlueAccessDevice_t_msg;
|
|
|
315
301
|
extern const pb_msgdesc_t BlueAccessDeviceList_t_msg;
|
|
316
302
|
extern const pb_msgdesc_t BlueAccessObject_t_msg;
|
|
317
303
|
extern const pb_msgdesc_t BlueAccessObjectList_t_msg;
|
|
318
|
-
extern const pb_msgdesc_t BlueRefreshOssSoCredentialResult_t_msg;
|
|
319
304
|
|
|
320
305
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
|
321
306
|
#define BLUEI18N_FIELDS &BlueI18n_t_msg
|
|
@@ -328,7 +313,6 @@ extern const pb_msgdesc_t BlueRefreshOssSoCredentialResult_t_msg;
|
|
|
328
313
|
#define BLUEACCESSDEVICELIST_FIELDS &BlueAccessDeviceList_t_msg
|
|
329
314
|
#define BLUEACCESSOBJECT_FIELDS &BlueAccessObject_t_msg
|
|
330
315
|
#define BLUEACCESSOBJECTLIST_FIELDS &BlueAccessObjectList_t_msg
|
|
331
|
-
#define BLUEREFRESHOSSSOCREDENTIALRESULT_FIELDS &BlueRefreshOssSoCredentialResult_t_msg
|
|
332
316
|
|
|
333
317
|
/* Maximum encoded size of messages (where known) */
|
|
334
318
|
/* BlueI18n_size depends on runtime parameters */
|
|
@@ -341,7 +325,6 @@ extern const pb_msgdesc_t BlueRefreshOssSoCredentialResult_t_msg;
|
|
|
341
325
|
/* BlueAccessObjectList_size depends on runtime parameters */
|
|
342
326
|
#define BLUEDEVICEDETAILSBLUETOOTH_SIZE 24
|
|
343
327
|
#define BLUEDEVICEDETAILSUWB_SIZE 2
|
|
344
|
-
#define BLUEREFRESHOSSSOCREDENTIALRESULT_SIZE 11
|
|
345
328
|
|
|
346
329
|
#ifdef __cplusplus
|
|
347
330
|
} /* extern "C" */
|
package/package.json
CHANGED
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -615,27 +615,6 @@ 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
|
-
|
|
639
618
|
#if swift(>=5.5) && canImport(_Concurrency)
|
|
640
619
|
extension BlueDeviceType: @unchecked Sendable {}
|
|
641
620
|
extension BlueI18n: @unchecked Sendable {}
|
|
@@ -649,7 +628,6 @@ extension BlueAccessDevice: @unchecked Sendable {}
|
|
|
649
628
|
extension BlueAccessDeviceList: @unchecked Sendable {}
|
|
650
629
|
extension BlueAccessObject: @unchecked Sendable {}
|
|
651
630
|
extension BlueAccessObjectList: @unchecked Sendable {}
|
|
652
|
-
extension BlueRefreshOssSoCredentialResult: @unchecked Sendable {}
|
|
653
631
|
#endif // swift(>=5.5) && canImport(_Concurrency)
|
|
654
632
|
|
|
655
633
|
// MARK: - Code below here is support for the SwiftProtobuf runtime.
|
|
@@ -1386,44 +1364,3 @@ extension BlueAccessObjectList: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
|
|
|
1386
1364
|
return true
|
|
1387
1365
|
}
|
|
1388
1366
|
}
|
|
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
|
-
}
|