@blueid/access-proto 0.42.0 → 0.44.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 +10 -9
- package/cjs/BlueSDK_pb.d.ts +14 -9
- package/cjs/BlueSDK_pb.js +10 -9
- package/es/BlueSDK_pb.d.ts +14 -9
- package/es/BlueSDK_pb.js +10 -9
- package/nanopb/BlueSDK.pb.h +23 -20
- package/package.json +1 -1
- package/swift/BlueSDK.pb.swift +44 -27
package/BlueSDK.proto
CHANGED
|
@@ -63,15 +63,16 @@ message BlueAccessCredential {
|
|
|
63
63
|
required BlueCredentialId credentialId = 1;
|
|
64
64
|
required BlueCredentialType credentialType = 2;
|
|
65
65
|
optional string name = 3;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
optional
|
|
69
|
-
optional BlueLocalTimestamp
|
|
70
|
-
optional BlueLocalTimestamp
|
|
71
|
-
optional
|
|
72
|
-
optional
|
|
73
|
-
|
|
74
|
-
|
|
66
|
+
optional string description = 4;
|
|
67
|
+
required int32 siteId = 5;
|
|
68
|
+
optional string siteName = 6;
|
|
69
|
+
optional BlueLocalTimestamp validFrom = 7;
|
|
70
|
+
optional BlueLocalTimestamp validTo = 8;
|
|
71
|
+
optional BlueLocalTimestamp validity = 9;
|
|
72
|
+
optional bytes privateKey = 10;
|
|
73
|
+
optional string receiverName = 11;
|
|
74
|
+
required string organisation = 12;
|
|
75
|
+
optional string organisationName = 13;
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
message BlueAccessCredentialList {
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -215,47 +215,52 @@ export declare class BlueAccessCredential extends Message<BlueAccessCredential>
|
|
|
215
215
|
name?: string;
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
|
-
* @generated from field:
|
|
218
|
+
* @generated from field: optional string description = 4;
|
|
219
|
+
*/
|
|
220
|
+
description?: string;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: required int32 siteId = 5;
|
|
219
224
|
*/
|
|
220
225
|
siteId: number;
|
|
221
226
|
|
|
222
227
|
/**
|
|
223
|
-
* @generated from field: optional string siteName =
|
|
228
|
+
* @generated from field: optional string siteName = 6;
|
|
224
229
|
*/
|
|
225
230
|
siteName?: string;
|
|
226
231
|
|
|
227
232
|
/**
|
|
228
|
-
* @generated from field: optional BlueLocalTimestamp validFrom =
|
|
233
|
+
* @generated from field: optional BlueLocalTimestamp validFrom = 7;
|
|
229
234
|
*/
|
|
230
235
|
validFrom?: BlueLocalTimestamp;
|
|
231
236
|
|
|
232
237
|
/**
|
|
233
|
-
* @generated from field: optional BlueLocalTimestamp validTo =
|
|
238
|
+
* @generated from field: optional BlueLocalTimestamp validTo = 8;
|
|
234
239
|
*/
|
|
235
240
|
validTo?: BlueLocalTimestamp;
|
|
236
241
|
|
|
237
242
|
/**
|
|
238
|
-
* @generated from field: optional BlueLocalTimestamp validity =
|
|
243
|
+
* @generated from field: optional BlueLocalTimestamp validity = 9;
|
|
239
244
|
*/
|
|
240
245
|
validity?: BlueLocalTimestamp;
|
|
241
246
|
|
|
242
247
|
/**
|
|
243
|
-
* @generated from field: optional bytes privateKey =
|
|
248
|
+
* @generated from field: optional bytes privateKey = 10;
|
|
244
249
|
*/
|
|
245
250
|
privateKey?: Uint8Array;
|
|
246
251
|
|
|
247
252
|
/**
|
|
248
|
-
* @generated from field: optional string receiverName =
|
|
253
|
+
* @generated from field: optional string receiverName = 11;
|
|
249
254
|
*/
|
|
250
255
|
receiverName?: string;
|
|
251
256
|
|
|
252
257
|
/**
|
|
253
|
-
* @generated from field: required string organisation =
|
|
258
|
+
* @generated from field: required string organisation = 12;
|
|
254
259
|
*/
|
|
255
260
|
organisation: string;
|
|
256
261
|
|
|
257
262
|
/**
|
|
258
|
-
* @generated from field: optional string organisationName =
|
|
263
|
+
* @generated from field: optional string organisationName = 13;
|
|
259
264
|
*/
|
|
260
265
|
organisationName?: string;
|
|
261
266
|
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -119,27 +119,28 @@ const BlueAccessCredential = import_protobuf.proto2.makeMessageType(
|
|
|
119
119
|
{ no: 1, name: "credentialId", kind: "message", T: import_BlueCore_pb.BlueCredentialId },
|
|
120
120
|
{ no: 2, name: "credentialType", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueCredentialType) },
|
|
121
121
|
{ no: 3, name: "name", kind: "scalar", T: 9, opt: true },
|
|
122
|
+
{ no: 4, name: "description", kind: "scalar", T: 9, opt: true },
|
|
122
123
|
{
|
|
123
|
-
no:
|
|
124
|
+
no: 5,
|
|
124
125
|
name: "siteId",
|
|
125
126
|
kind: "scalar",
|
|
126
127
|
T: 5
|
|
127
128
|
/* ScalarType.INT32 */
|
|
128
129
|
},
|
|
129
|
-
{ no:
|
|
130
|
-
{ no:
|
|
131
|
-
{ no:
|
|
132
|
-
{ no:
|
|
133
|
-
{ no:
|
|
134
|
-
{ no:
|
|
130
|
+
{ no: 6, name: "siteName", kind: "scalar", T: 9, opt: true },
|
|
131
|
+
{ no: 7, name: "validFrom", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp, opt: true },
|
|
132
|
+
{ no: 8, name: "validTo", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp, opt: true },
|
|
133
|
+
{ no: 9, name: "validity", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp, opt: true },
|
|
134
|
+
{ no: 10, name: "privateKey", kind: "scalar", T: 12, opt: true },
|
|
135
|
+
{ no: 11, name: "receiverName", kind: "scalar", T: 9, opt: true },
|
|
135
136
|
{
|
|
136
|
-
no:
|
|
137
|
+
no: 12,
|
|
137
138
|
name: "organisation",
|
|
138
139
|
kind: "scalar",
|
|
139
140
|
T: 9
|
|
140
141
|
/* ScalarType.STRING */
|
|
141
142
|
},
|
|
142
|
-
{ no:
|
|
143
|
+
{ no: 13, name: "organisationName", kind: "scalar", T: 9, opt: true }
|
|
143
144
|
]
|
|
144
145
|
);
|
|
145
146
|
const BlueAccessCredentialList = import_protobuf.proto2.makeMessageType(
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -215,47 +215,52 @@ export declare class BlueAccessCredential extends Message<BlueAccessCredential>
|
|
|
215
215
|
name?: string;
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
|
-
* @generated from field:
|
|
218
|
+
* @generated from field: optional string description = 4;
|
|
219
|
+
*/
|
|
220
|
+
description?: string;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: required int32 siteId = 5;
|
|
219
224
|
*/
|
|
220
225
|
siteId: number;
|
|
221
226
|
|
|
222
227
|
/**
|
|
223
|
-
* @generated from field: optional string siteName =
|
|
228
|
+
* @generated from field: optional string siteName = 6;
|
|
224
229
|
*/
|
|
225
230
|
siteName?: string;
|
|
226
231
|
|
|
227
232
|
/**
|
|
228
|
-
* @generated from field: optional BlueLocalTimestamp validFrom =
|
|
233
|
+
* @generated from field: optional BlueLocalTimestamp validFrom = 7;
|
|
229
234
|
*/
|
|
230
235
|
validFrom?: BlueLocalTimestamp;
|
|
231
236
|
|
|
232
237
|
/**
|
|
233
|
-
* @generated from field: optional BlueLocalTimestamp validTo =
|
|
238
|
+
* @generated from field: optional BlueLocalTimestamp validTo = 8;
|
|
234
239
|
*/
|
|
235
240
|
validTo?: BlueLocalTimestamp;
|
|
236
241
|
|
|
237
242
|
/**
|
|
238
|
-
* @generated from field: optional BlueLocalTimestamp validity =
|
|
243
|
+
* @generated from field: optional BlueLocalTimestamp validity = 9;
|
|
239
244
|
*/
|
|
240
245
|
validity?: BlueLocalTimestamp;
|
|
241
246
|
|
|
242
247
|
/**
|
|
243
|
-
* @generated from field: optional bytes privateKey =
|
|
248
|
+
* @generated from field: optional bytes privateKey = 10;
|
|
244
249
|
*/
|
|
245
250
|
privateKey?: Uint8Array;
|
|
246
251
|
|
|
247
252
|
/**
|
|
248
|
-
* @generated from field: optional string receiverName =
|
|
253
|
+
* @generated from field: optional string receiverName = 11;
|
|
249
254
|
*/
|
|
250
255
|
receiverName?: string;
|
|
251
256
|
|
|
252
257
|
/**
|
|
253
|
-
* @generated from field: required string organisation =
|
|
258
|
+
* @generated from field: required string organisation = 12;
|
|
254
259
|
*/
|
|
255
260
|
organisation: string;
|
|
256
261
|
|
|
257
262
|
/**
|
|
258
|
-
* @generated from field: optional string organisationName =
|
|
263
|
+
* @generated from field: optional string organisationName = 13;
|
|
259
264
|
*/
|
|
260
265
|
organisationName?: string;
|
|
261
266
|
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -80,15 +80,16 @@ export const BlueAccessCredential = proto2.makeMessageType(
|
|
|
80
80
|
{ no: 1, name: "credentialId", kind: "message", T: BlueCredentialId },
|
|
81
81
|
{ no: 2, name: "credentialType", kind: "enum", T: proto2.getEnumType(BlueCredentialType) },
|
|
82
82
|
{ no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
83
|
-
{ no: 4, name: "
|
|
84
|
-
{ no: 5, name: "
|
|
85
|
-
{ no: 6, name: "
|
|
86
|
-
{ no: 7, name: "
|
|
87
|
-
{ no: 8, name: "
|
|
88
|
-
{ no: 9, name: "
|
|
89
|
-
{ no: 10, name: "
|
|
90
|
-
{ no: 11, name: "
|
|
91
|
-
{ no: 12, name: "
|
|
83
|
+
{ no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
84
|
+
{ no: 5, name: "siteId", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
85
|
+
{ no: 6, name: "siteName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
86
|
+
{ no: 7, name: "validFrom", kind: "message", T: BlueLocalTimestamp, opt: true },
|
|
87
|
+
{ no: 8, name: "validTo", kind: "message", T: BlueLocalTimestamp, opt: true },
|
|
88
|
+
{ no: 9, name: "validity", kind: "message", T: BlueLocalTimestamp, opt: true },
|
|
89
|
+
{ no: 10, name: "privateKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
90
|
+
{ no: 11, name: "receiverName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
91
|
+
{ no: 12, name: "organisation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
92
|
+
{ no: 13, name: "organisationName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
92
93
|
],
|
|
93
94
|
);
|
|
94
95
|
|
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -55,6 +55,7 @@ typedef struct BlueAccessCredential {
|
|
|
55
55
|
BlueCredentialId_t credentialId;
|
|
56
56
|
BlueCredentialType_t credentialType;
|
|
57
57
|
pb_callback_t name;
|
|
58
|
+
pb_callback_t description;
|
|
58
59
|
int32_t siteId;
|
|
59
60
|
pb_callback_t siteName;
|
|
60
61
|
bool has_validFrom;
|
|
@@ -124,7 +125,7 @@ extern "C" {
|
|
|
124
125
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
|
|
125
126
|
#define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
|
|
126
127
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
127
|
-
#define BLUEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUECREDENTIALTYPE_MIN, {{NULL}, NULL}, 0, {{NULL}, NULL}, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
128
|
+
#define BLUEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUECREDENTIALTYPE_MIN, {{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
128
129
|
#define BLUEACCESSCREDENTIALLIST_INIT_DEFAULT {{{NULL}, NULL}}
|
|
129
130
|
#define BLUEACCESSDEVICE_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, false, 0}
|
|
130
131
|
#define BLUEACCESSDEVICELIST_INIT_DEFAULT {{{NULL}, NULL}}
|
|
@@ -134,7 +135,7 @@ extern "C" {
|
|
|
134
135
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
135
136
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
136
137
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
137
|
-
#define BLUEACCESSCREDENTIAL_INIT_ZERO {BLUECREDENTIALID_INIT_ZERO, _BLUECREDENTIALTYPE_MIN, {{NULL}, NULL}, 0, {{NULL}, NULL}, false, BLUELOCALTIMESTAMP_INIT_ZERO, false, BLUELOCALTIMESTAMP_INIT_ZERO, false, BLUELOCALTIMESTAMP_INIT_ZERO, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
138
|
+
#define BLUEACCESSCREDENTIAL_INIT_ZERO {BLUECREDENTIALID_INIT_ZERO, _BLUECREDENTIALTYPE_MIN, {{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, false, BLUELOCALTIMESTAMP_INIT_ZERO, false, BLUELOCALTIMESTAMP_INIT_ZERO, false, BLUELOCALTIMESTAMP_INIT_ZERO, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
138
139
|
#define BLUEACCESSCREDENTIALLIST_INIT_ZERO {{{NULL}, NULL}}
|
|
139
140
|
#define BLUEACCESSDEVICE_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, false, 0}
|
|
140
141
|
#define BLUEACCESSDEVICELIST_INIT_ZERO {{{NULL}, NULL}}
|
|
@@ -163,15 +164,16 @@ extern "C" {
|
|
|
163
164
|
#define BLUEACCESSCREDENTIAL_CREDENTIALID_TAG 1
|
|
164
165
|
#define BLUEACCESSCREDENTIAL_CREDENTIALTYPE_TAG 2
|
|
165
166
|
#define BLUEACCESSCREDENTIAL_NAME_TAG 3
|
|
166
|
-
#define
|
|
167
|
-
#define
|
|
168
|
-
#define
|
|
169
|
-
#define
|
|
170
|
-
#define
|
|
171
|
-
#define
|
|
172
|
-
#define
|
|
173
|
-
#define
|
|
174
|
-
#define
|
|
167
|
+
#define BLUEACCESSCREDENTIAL_DESCRIPTION_TAG 4
|
|
168
|
+
#define BLUEACCESSCREDENTIAL_SITEID_TAG 5
|
|
169
|
+
#define BLUEACCESSCREDENTIAL_SITENAME_TAG 6
|
|
170
|
+
#define BLUEACCESSCREDENTIAL_VALIDFROM_TAG 7
|
|
171
|
+
#define BLUEACCESSCREDENTIAL_VALIDTO_TAG 8
|
|
172
|
+
#define BLUEACCESSCREDENTIAL_VALIDITY_TAG 9
|
|
173
|
+
#define BLUEACCESSCREDENTIAL_PRIVATEKEY_TAG 10
|
|
174
|
+
#define BLUEACCESSCREDENTIAL_RECEIVERNAME_TAG 11
|
|
175
|
+
#define BLUEACCESSCREDENTIAL_ORGANISATION_TAG 12
|
|
176
|
+
#define BLUEACCESSCREDENTIAL_ORGANISATIONNAME_TAG 13
|
|
175
177
|
#define BLUEACCESSCREDENTIALLIST_CREDENTIALS_TAG 1
|
|
176
178
|
#define BLUEACCESSDEVICE_DEVICEID_TAG 1
|
|
177
179
|
#define BLUEACCESSDEVICE_OBJECTNAME_TAG 2
|
|
@@ -226,15 +228,16 @@ X(a, STATIC, ONEOF, MESSAGE, (details,uwb,details.uwb), 6)
|
|
|
226
228
|
X(a, STATIC, REQUIRED, MESSAGE, credentialId, 1) \
|
|
227
229
|
X(a, STATIC, REQUIRED, UENUM, credentialType, 2) \
|
|
228
230
|
X(a, CALLBACK, OPTIONAL, STRING, name, 3) \
|
|
229
|
-
X(a,
|
|
230
|
-
X(a,
|
|
231
|
-
X(a,
|
|
232
|
-
X(a, STATIC, OPTIONAL, MESSAGE,
|
|
233
|
-
X(a, STATIC, OPTIONAL, MESSAGE,
|
|
234
|
-
X(a,
|
|
235
|
-
X(a, CALLBACK, OPTIONAL,
|
|
236
|
-
X(a, CALLBACK,
|
|
237
|
-
X(a, CALLBACK,
|
|
231
|
+
X(a, CALLBACK, OPTIONAL, STRING, description, 4) \
|
|
232
|
+
X(a, STATIC, REQUIRED, INT32, siteId, 5) \
|
|
233
|
+
X(a, CALLBACK, OPTIONAL, STRING, siteName, 6) \
|
|
234
|
+
X(a, STATIC, OPTIONAL, MESSAGE, validFrom, 7) \
|
|
235
|
+
X(a, STATIC, OPTIONAL, MESSAGE, validTo, 8) \
|
|
236
|
+
X(a, STATIC, OPTIONAL, MESSAGE, validity, 9) \
|
|
237
|
+
X(a, CALLBACK, OPTIONAL, BYTES, privateKey, 10) \
|
|
238
|
+
X(a, CALLBACK, OPTIONAL, STRING, receiverName, 11) \
|
|
239
|
+
X(a, CALLBACK, REQUIRED, STRING, organisation, 12) \
|
|
240
|
+
X(a, CALLBACK, OPTIONAL, STRING, organisationName, 13)
|
|
238
241
|
#define BLUEACCESSCREDENTIAL_CALLBACK pb_default_field_callback
|
|
239
242
|
#define BLUEACCESSCREDENTIAL_DEFAULT (const pb_byte_t*)"\x10\x01\x00"
|
|
240
243
|
#define BlueAccessCredential_t_credentialId_MSGTYPE BlueCredentialId_t
|
package/package.json
CHANGED
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -348,6 +348,15 @@ public struct BlueAccessCredential {
|
|
|
348
348
|
/// Clears the value of `name`. Subsequent reads from it will return its default value.
|
|
349
349
|
public mutating func clearName() {_uniqueStorage()._name = nil}
|
|
350
350
|
|
|
351
|
+
public var description_p: String {
|
|
352
|
+
get {return _storage._description_p ?? String()}
|
|
353
|
+
set {_uniqueStorage()._description_p = newValue}
|
|
354
|
+
}
|
|
355
|
+
/// Returns true if `description_p` has been explicitly set.
|
|
356
|
+
public var hasDescription_p: Bool {return _storage._description_p != nil}
|
|
357
|
+
/// Clears the value of `description_p`. Subsequent reads from it will return its default value.
|
|
358
|
+
public mutating func clearDescription_p() {_uniqueStorage()._description_p = nil}
|
|
359
|
+
|
|
351
360
|
public var siteID: Int32 {
|
|
352
361
|
get {return _storage._siteID ?? 0}
|
|
353
362
|
set {_uniqueStorage()._siteID = newValue}
|
|
@@ -885,21 +894,23 @@ extension BlueAccessCredential: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
|
|
|
885
894
|
1: .same(proto: "credentialId"),
|
|
886
895
|
2: .same(proto: "credentialType"),
|
|
887
896
|
3: .same(proto: "name"),
|
|
888
|
-
4: .same(proto: "
|
|
889
|
-
5: .same(proto: "
|
|
890
|
-
6: .same(proto: "
|
|
891
|
-
7: .same(proto: "
|
|
892
|
-
8: .same(proto: "
|
|
893
|
-
9: .same(proto: "
|
|
894
|
-
10: .same(proto: "
|
|
895
|
-
11: .same(proto: "
|
|
896
|
-
12: .same(proto: "
|
|
897
|
+
4: .same(proto: "description"),
|
|
898
|
+
5: .same(proto: "siteId"),
|
|
899
|
+
6: .same(proto: "siteName"),
|
|
900
|
+
7: .same(proto: "validFrom"),
|
|
901
|
+
8: .same(proto: "validTo"),
|
|
902
|
+
9: .same(proto: "validity"),
|
|
903
|
+
10: .same(proto: "privateKey"),
|
|
904
|
+
11: .same(proto: "receiverName"),
|
|
905
|
+
12: .same(proto: "organisation"),
|
|
906
|
+
13: .same(proto: "organisationName"),
|
|
897
907
|
]
|
|
898
908
|
|
|
899
909
|
fileprivate class _StorageClass {
|
|
900
910
|
var _credentialID: BlueCredentialId? = nil
|
|
901
911
|
var _credentialType: BlueCredentialType? = nil
|
|
902
912
|
var _name: String? = nil
|
|
913
|
+
var _description_p: String? = nil
|
|
903
914
|
var _siteID: Int32? = nil
|
|
904
915
|
var _siteName: String? = nil
|
|
905
916
|
var _validFrom: BlueLocalTimestamp? = nil
|
|
@@ -918,6 +929,7 @@ extension BlueAccessCredential: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
|
|
|
918
929
|
_credentialID = source._credentialID
|
|
919
930
|
_credentialType = source._credentialType
|
|
920
931
|
_name = source._name
|
|
932
|
+
_description_p = source._description_p
|
|
921
933
|
_siteID = source._siteID
|
|
922
934
|
_siteName = source._siteName
|
|
923
935
|
_validFrom = source._validFrom
|
|
@@ -962,15 +974,16 @@ extension BlueAccessCredential: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
|
|
|
962
974
|
case 1: try { try decoder.decodeSingularMessageField(value: &_storage._credentialID) }()
|
|
963
975
|
case 2: try { try decoder.decodeSingularEnumField(value: &_storage._credentialType) }()
|
|
964
976
|
case 3: try { try decoder.decodeSingularStringField(value: &_storage._name) }()
|
|
965
|
-
case 4: try { try decoder.
|
|
966
|
-
case 5: try { try decoder.
|
|
967
|
-
case 6: try { try decoder.
|
|
968
|
-
case 7: try { try decoder.decodeSingularMessageField(value: &_storage.
|
|
969
|
-
case 8: try { try decoder.decodeSingularMessageField(value: &_storage.
|
|
970
|
-
case 9: try { try decoder.
|
|
971
|
-
case 10: try { try decoder.
|
|
972
|
-
case 11: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
973
|
-
case 12: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
977
|
+
case 4: try { try decoder.decodeSingularStringField(value: &_storage._description_p) }()
|
|
978
|
+
case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._siteID) }()
|
|
979
|
+
case 6: try { try decoder.decodeSingularStringField(value: &_storage._siteName) }()
|
|
980
|
+
case 7: try { try decoder.decodeSingularMessageField(value: &_storage._validFrom) }()
|
|
981
|
+
case 8: try { try decoder.decodeSingularMessageField(value: &_storage._validTo) }()
|
|
982
|
+
case 9: try { try decoder.decodeSingularMessageField(value: &_storage._validity) }()
|
|
983
|
+
case 10: try { try decoder.decodeSingularBytesField(value: &_storage._privateKey) }()
|
|
984
|
+
case 11: try { try decoder.decodeSingularStringField(value: &_storage._receiverName) }()
|
|
985
|
+
case 12: try { try decoder.decodeSingularStringField(value: &_storage._organisation) }()
|
|
986
|
+
case 13: try { try decoder.decodeSingularStringField(value: &_storage._organisationName) }()
|
|
974
987
|
default: break
|
|
975
988
|
}
|
|
976
989
|
}
|
|
@@ -992,32 +1005,35 @@ extension BlueAccessCredential: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
|
|
|
992
1005
|
try { if let v = _storage._name {
|
|
993
1006
|
try visitor.visitSingularStringField(value: v, fieldNumber: 3)
|
|
994
1007
|
} }()
|
|
1008
|
+
try { if let v = _storage._description_p {
|
|
1009
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 4)
|
|
1010
|
+
} }()
|
|
995
1011
|
try { if let v = _storage._siteID {
|
|
996
|
-
try visitor.visitSingularInt32Field(value: v, fieldNumber:
|
|
1012
|
+
try visitor.visitSingularInt32Field(value: v, fieldNumber: 5)
|
|
997
1013
|
} }()
|
|
998
1014
|
try { if let v = _storage._siteName {
|
|
999
|
-
try visitor.visitSingularStringField(value: v, fieldNumber:
|
|
1015
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 6)
|
|
1000
1016
|
} }()
|
|
1001
1017
|
try { if let v = _storage._validFrom {
|
|
1002
|
-
try visitor.visitSingularMessageField(value: v, fieldNumber:
|
|
1018
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 7)
|
|
1003
1019
|
} }()
|
|
1004
1020
|
try { if let v = _storage._validTo {
|
|
1005
|
-
try visitor.visitSingularMessageField(value: v, fieldNumber:
|
|
1021
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 8)
|
|
1006
1022
|
} }()
|
|
1007
1023
|
try { if let v = _storage._validity {
|
|
1008
|
-
try visitor.visitSingularMessageField(value: v, fieldNumber:
|
|
1024
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 9)
|
|
1009
1025
|
} }()
|
|
1010
1026
|
try { if let v = _storage._privateKey {
|
|
1011
|
-
try visitor.visitSingularBytesField(value: v, fieldNumber:
|
|
1027
|
+
try visitor.visitSingularBytesField(value: v, fieldNumber: 10)
|
|
1012
1028
|
} }()
|
|
1013
1029
|
try { if let v = _storage._receiverName {
|
|
1014
|
-
try visitor.visitSingularStringField(value: v, fieldNumber:
|
|
1030
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 11)
|
|
1015
1031
|
} }()
|
|
1016
1032
|
try { if let v = _storage._organisation {
|
|
1017
|
-
try visitor.visitSingularStringField(value: v, fieldNumber:
|
|
1033
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 12)
|
|
1018
1034
|
} }()
|
|
1019
1035
|
try { if let v = _storage._organisationName {
|
|
1020
|
-
try visitor.visitSingularStringField(value: v, fieldNumber:
|
|
1036
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 13)
|
|
1021
1037
|
} }()
|
|
1022
1038
|
}
|
|
1023
1039
|
try unknownFields.traverse(visitor: &visitor)
|
|
@@ -1031,6 +1047,7 @@ extension BlueAccessCredential: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
|
|
|
1031
1047
|
if _storage._credentialID != rhs_storage._credentialID {return false}
|
|
1032
1048
|
if _storage._credentialType != rhs_storage._credentialType {return false}
|
|
1033
1049
|
if _storage._name != rhs_storage._name {return false}
|
|
1050
|
+
if _storage._description_p != rhs_storage._description_p {return false}
|
|
1034
1051
|
if _storage._siteID != rhs_storage._siteID {return false}
|
|
1035
1052
|
if _storage._siteName != rhs_storage._siteName {return false}
|
|
1036
1053
|
if _storage._validFrom != rhs_storage._validFrom {return false}
|