@blueid/access-proto 1.96.0 → 2.0.0-beta.1
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 +2 -0
- package/BlueSDK.proto +104 -41
- package/cjs/BlueCore_pb.d.ts +3 -0
- package/cjs/BlueSDK_pb.d.ts +427 -117
- package/cjs/BlueSDK_pb.js +193 -49
- package/es/BlueCore_pb.d.ts +3 -0
- package/es/BlueCore_pb.js +3 -0
- package/es/BlueSDK_pb.d.ts +427 -117
- package/es/BlueSDK_pb.js +151 -47
- package/nanopb/BlueCore.pb.h +2 -0
- package/nanopb/BlueSDK.pb.c +32 -8
- package/nanopb/BlueSDK.pb.h +335 -122
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +76 -299
- package/swift/BlueLock.pb.swift +4 -18
- package/swift/BlueSDK.pb.swift +2133 -1306
- package/swift/BlueSystem.pb.swift +21 -79
package/BlueCore.proto
CHANGED
|
@@ -263,6 +263,8 @@ message BlueCredentialId {
|
|
|
263
263
|
required string id = 1 [ (nanopb).max_length = 10 ];
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
+
// @TODO: Keep it until we have updated all places in both iOS and Android SDK.
|
|
267
|
+
// This should be renamed to BlueIdentityRole later on.
|
|
266
268
|
enum BlueCredentialType {
|
|
267
269
|
option (nanopb_enumopt).packed_enum = true;
|
|
268
270
|
|
package/BlueSDK.proto
CHANGED
|
@@ -173,27 +173,28 @@ message BlueDeviceInfo {
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
///////////////////////////////////////////////////////////////////////
|
|
176
|
-
//
|
|
176
|
+
// Identity
|
|
177
177
|
///////////////////////////////////////////////////////////////////////
|
|
178
178
|
|
|
179
|
-
message
|
|
180
|
-
required
|
|
181
|
-
|
|
179
|
+
message BlueIdentity {
|
|
180
|
+
required string identityId = 1;
|
|
181
|
+
// @TODO: Keep it until we have updated all places in both iOS and Android SDK.
|
|
182
|
+
// This should be renamed to BlueIdentityRole later on.
|
|
183
|
+
required BlueCredentialType role = 2;
|
|
182
184
|
optional string name = 3;
|
|
183
185
|
optional string description = 4;
|
|
184
|
-
|
|
185
|
-
optional
|
|
186
|
-
optional BlueLocalTimestamp
|
|
187
|
-
|
|
188
|
-
optional
|
|
189
|
-
|
|
190
|
-
optional string
|
|
191
|
-
|
|
192
|
-
optional string organisationName = 13;
|
|
186
|
+
optional string receiverName = 5;
|
|
187
|
+
optional BlueLocalTimestamp validFrom = 6;
|
|
188
|
+
optional BlueLocalTimestamp validTo = 7;
|
|
189
|
+
required string organization = 8;
|
|
190
|
+
optional string organizationName = 9;
|
|
191
|
+
required int32 siteId = 10;
|
|
192
|
+
optional string siteName = 11;
|
|
193
|
+
optional bytes privateKey = 12;
|
|
193
194
|
}
|
|
194
|
-
|
|
195
|
-
message
|
|
196
|
-
repeated
|
|
195
|
+
|
|
196
|
+
message BlueIdentitiesList {
|
|
197
|
+
repeated BlueIdentity identities = 1;
|
|
197
198
|
}
|
|
198
199
|
|
|
199
200
|
///////////////////////////////////////////////////////////////////////
|
|
@@ -226,45 +227,107 @@ message BlueAccessObjectList {
|
|
|
226
227
|
repeated BlueAccessObject objects = 1;
|
|
227
228
|
}
|
|
228
229
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
230
|
+
message BlueHardwareInfo {
|
|
231
|
+
required string name = 1;
|
|
232
|
+
required string vendor = 2;
|
|
233
|
+
required string vendorName = 3;
|
|
234
|
+
required uint32 version = 4;
|
|
235
|
+
required BlueHardwareType type = 5;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
message BlueSystemStatusExt {
|
|
239
|
+
required BlueSystemStatus status = 1;
|
|
240
|
+
optional bool newFirmwareVersionAvailable = 2;
|
|
241
|
+
optional bool newTestFirmwareVersionAvailable = 3;
|
|
242
|
+
optional bool newConfigurationAvailable = 4;
|
|
243
|
+
optional BlueHardwareInfo hardwareInfo = 5;
|
|
234
244
|
}
|
|
235
245
|
|
|
236
|
-
message
|
|
237
|
-
required
|
|
246
|
+
message BlueRefreshOssSoIdentity {
|
|
247
|
+
required string identityId = 1;
|
|
248
|
+
// @TODO: Keep it until we have updated all places in both iOS and Android SDK.
|
|
249
|
+
// This should be renamed to BlueRefreshOssSoIdentityStatus later on.
|
|
238
250
|
required BlueRefreshOssSoCredentialStatus status = 2;
|
|
239
251
|
optional BlueOssSoConfiguration configuration = 3;
|
|
240
252
|
}
|
|
241
253
|
|
|
242
|
-
message
|
|
243
|
-
repeated
|
|
254
|
+
message BlueRefreshOssSoIdentities {
|
|
255
|
+
repeated BlueRefreshOssSoIdentity identities = 1;
|
|
244
256
|
}
|
|
245
257
|
|
|
246
|
-
message
|
|
247
|
-
required
|
|
258
|
+
message BlueSynchronizeIdentity {
|
|
259
|
+
required string identityId = 1;
|
|
248
260
|
required BlueReturnCode returnCode = 2;
|
|
249
261
|
optional string errorDescription = 3;
|
|
250
262
|
}
|
|
251
263
|
|
|
252
|
-
message
|
|
253
|
-
repeated
|
|
264
|
+
message BlueSynchronizeIdentities {
|
|
265
|
+
repeated BlueSynchronizeIdentity identities = 1;
|
|
254
266
|
}
|
|
255
267
|
|
|
256
|
-
message
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
268
|
+
message BlueLegacyProvisioningRequest {
|
|
269
|
+
required string deviceId = 1;
|
|
270
|
+
required string soid = 2;
|
|
271
|
+
required string vendor = 3;
|
|
272
|
+
required BlueHardwareType hardwareType = 4;
|
|
273
|
+
required uint32 hardwareVersion = 5;
|
|
274
|
+
optional string hardwareSerialNumber = 6;
|
|
262
275
|
}
|
|
263
276
|
|
|
264
|
-
message
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
optional bool newConfigurationAvailable = 4;
|
|
269
|
-
optional BlueHardwareInfo hardwareInfo = 5;
|
|
277
|
+
message BlueLegacyProvisioningResponse {
|
|
278
|
+
required string deviceId = 1;
|
|
279
|
+
required string objectId = 2;
|
|
280
|
+
required BlueSystemProvisioning provisioning = 3;
|
|
270
281
|
}
|
|
282
|
+
|
|
283
|
+
///////////////////////////////////////////////////////////////////////
|
|
284
|
+
// DEPRECATED - WILL BE REMOVED
|
|
285
|
+
///////////////////////////////////////////////////////////////////////
|
|
286
|
+
|
|
287
|
+
// @TODO: Keep it until we have updated all places in both iOS and Android SDK.
|
|
288
|
+
message BlueAccessCredential {
|
|
289
|
+
required BlueCredentialId credentialId = 1;
|
|
290
|
+
required BlueCredentialType credentialType = 2;
|
|
291
|
+
optional string name = 3;
|
|
292
|
+
optional string description = 4;
|
|
293
|
+
required int32 siteId = 5;
|
|
294
|
+
optional string siteName = 6;
|
|
295
|
+
optional BlueLocalTimestamp validFrom = 7;
|
|
296
|
+
optional BlueLocalTimestamp validTo = 8;
|
|
297
|
+
optional BlueLocalTimestamp validity = 9;
|
|
298
|
+
optional bytes privateKey = 10;
|
|
299
|
+
optional string receiverName = 11;
|
|
300
|
+
required string organisation = 12;
|
|
301
|
+
optional string organisationName = 13;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
message BlueAccessCredentialList {
|
|
305
|
+
repeated BlueAccessCredential credentials = 1;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
enum BlueRefreshOssSoCredentialStatus {
|
|
309
|
+
Succeeded = 0x01;
|
|
310
|
+
Failed = 0x02;
|
|
311
|
+
NotNeeded = 0x03;
|
|
312
|
+
Unsupported = 0x04;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
message BlueRefreshOssSoCredential {
|
|
316
|
+
required BlueCredentialId credentialId = 1;
|
|
317
|
+
required BlueRefreshOssSoCredentialStatus status = 2;
|
|
318
|
+
optional BlueOssSoConfiguration configuration = 3;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
message BlueRefreshOssSoCredentials {
|
|
322
|
+
repeated BlueRefreshOssSoCredential credentials = 1;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
message BlueSynchronizeAccessCredential {
|
|
326
|
+
required BlueCredentialId credentialId = 1;
|
|
327
|
+
required BlueReturnCode returnCode = 2;
|
|
328
|
+
optional string errorDescription = 3;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
message BlueSynchronizeAccessCredentials {
|
|
332
|
+
repeated BlueSynchronizeAccessCredential credentials = 1;
|
|
333
|
+
}
|
package/cjs/BlueCore_pb.d.ts
CHANGED
|
@@ -610,6 +610,9 @@ export declare enum BlueWeekday {
|
|
|
610
610
|
}
|
|
611
611
|
|
|
612
612
|
/**
|
|
613
|
+
* @TODO: Keep it until we have updated all places in both iOS and Android SDK.
|
|
614
|
+
* This should be renamed to BlueIdentityRole later on.
|
|
615
|
+
*
|
|
613
616
|
* @generated from enum BlueCredentialType
|
|
614
617
|
*/
|
|
615
618
|
export declare enum BlueCredentialType {
|