@octelium/apis 1.0.5 → 1.0.7

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.
Files changed (39) hide show
  1. package/google/protobuf/struct.d.ts +3 -3
  2. package/google/protobuf/struct.js +3 -3
  3. package/google/protobuf/struct.ts +3 -3
  4. package/main/authv1/authv1.client.d.ts +20 -0
  5. package/main/authv1/authv1.client.d.ts.map +1 -1
  6. package/main/authv1/authv1.client.js +14 -0
  7. package/main/authv1/authv1.client.js.map +1 -1
  8. package/main/authv1/authv1.client.ts +26 -0
  9. package/main/authv1/authv1.d.ts +265 -1
  10. package/main/authv1/authv1.d.ts.map +1 -1
  11. package/main/authv1/authv1.js +559 -4
  12. package/main/authv1/authv1.js.map +1 -1
  13. package/main/authv1/authv1.ts +726 -5
  14. package/main/cordiumv1/index.d.ts +1 -1
  15. package/main/cordiumv1/index.d.ts.map +1 -1
  16. package/main/cordiumv1/index.js +1 -1
  17. package/main/cordiumv1/index.js.map +1 -1
  18. package/main/cordiumv1/index.ts +1 -1
  19. package/main/corev1/corev1.client.d.ts +22 -12
  20. package/main/corev1/corev1.client.d.ts.map +1 -1
  21. package/main/corev1/corev1.client.js +11 -6
  22. package/main/corev1/corev1.client.js.map +1 -1
  23. package/main/corev1/corev1.client.ts +22 -12
  24. package/main/corev1/corev1.d.ts +6373 -1068
  25. package/main/corev1/corev1.d.ts.map +1 -1
  26. package/main/corev1/corev1.js +10345 -6764
  27. package/main/corev1/corev1.js.map +1 -1
  28. package/main/corev1/corev1.ts +20092 -12388
  29. package/main/metav1/metav1.d.ts +69 -9
  30. package/main/metav1/metav1.d.ts.map +1 -1
  31. package/main/metav1/metav1.js +17 -0
  32. package/main/metav1/metav1.js.map +1 -1
  33. package/main/metav1/metav1.ts +69 -9
  34. package/main/userv1/userv1.d.ts +9 -1
  35. package/main/userv1/userv1.d.ts.map +1 -1
  36. package/main/userv1/userv1.js +8 -0
  37. package/main/userv1/userv1.js.map +1 -1
  38. package/main/userv1/userv1.ts +9 -1
  39. package/package.json +1 -1
@@ -70,6 +70,14 @@ export interface ClientLoginRequest {
70
70
  * @generated from protobuf field: string callbackSuffix = 3
71
71
  */
72
72
  callbackSuffix: string;
73
+ /**
74
+ * CodeChallenge is the SHA256 digest of the 32 random bytes of the code
75
+ * verifier. This is S256 over the raw verifier bytes, NOT over the base64url
76
+ * encoding used by RFC 7636.
77
+ *
78
+ * @generated from protobuf field: bytes codeChallenge = 4
79
+ */
80
+ codeChallenge: Uint8Array;
73
81
  }
74
82
  /**
75
83
  * @generated from protobuf enum octelium.api.main.auth.v1.ClientLoginRequest.APIVersion
@@ -82,7 +90,15 @@ export enum ClientLoginRequest_APIVersion {
82
90
  /**
83
91
  * @generated from protobuf enum value: V1 = 1;
84
92
  */
85
- V1 = 1
93
+ V1 = 1,
94
+ /**
95
+ * Clients keep sending V1 until Clusters that reject unknown API versions
96
+ * have aged out. A V1 request carrying a codeChallenge is normalized to V2
97
+ * by the Cluster.
98
+ *
99
+ * @generated from protobuf enum value: V2 = 2;
100
+ */
101
+ V2 = 2
86
102
  }
87
103
  /**
88
104
  * @generated from protobuf message octelium.api.main.auth.v1.ClientLoginResponse
@@ -92,6 +108,10 @@ export interface ClientLoginResponse {
92
108
  * @generated from protobuf field: string authenticationToken = 1
93
109
  */
94
110
  authenticationToken: string;
111
+ /**
112
+ * @generated from protobuf field: bytes codeChallenge = 2
113
+ */
114
+ codeChallenge: Uint8Array;
95
115
  }
96
116
  /**
97
117
  * @generated from protobuf message octelium.api.main.auth.v1.LogoutRequest
@@ -303,6 +323,13 @@ export interface AuthenticateWithAuthenticationTokenRequest {
303
323
  * @generated from protobuf field: repeated string scopes = 2
304
324
  */
305
325
  scopes: string[];
326
+ /**
327
+ * CodeVerifier is required if and only if the Credential is bound to a code
328
+ * challenge. Supplying it for a Credential that is not bound is rejected.
329
+ *
330
+ * @generated from protobuf field: bytes codeVerifier = 3
331
+ */
332
+ codeVerifier: Uint8Array;
306
333
  }
307
334
  /**
308
335
  * @generated from protobuf message octelium.api.main.auth.v1.AuthenticateWithAssertionRequest
@@ -909,6 +936,153 @@ export interface AuthenticateWithPasskeyRequest {
909
936
  */
910
937
  response: string;
911
938
  }
939
+ /**
940
+ * @generated from protobuf message octelium.api.main.auth.v1.RunDeviceProbeBeginRequest
941
+ */
942
+ export interface RunDeviceProbeBeginRequest {
943
+ }
944
+ /**
945
+ * @generated from protobuf message octelium.api.main.auth.v1.RunDeviceProbeBeginResponse
946
+ */
947
+ export interface RunDeviceProbeBeginResponse {
948
+ /**
949
+ * @generated from protobuf field: string attemptUID = 1
950
+ */
951
+ attemptUID: string;
952
+ /**
953
+ * @generated from protobuf field: repeated octelium.api.main.auth.v1.DeviceProbe probes = 2
954
+ */
955
+ probes: DeviceProbe[];
956
+ }
957
+ /**
958
+ * @generated from protobuf message octelium.api.main.auth.v1.DeviceProbe
959
+ */
960
+ export interface DeviceProbe {
961
+ /**
962
+ * @generated from protobuf field: string probeID = 1
963
+ */
964
+ probeID: string;
965
+ /**
966
+ * @generated from protobuf field: bool requireElevation = 2
967
+ */
968
+ requireElevation: boolean;
969
+ /**
970
+ * @generated from protobuf oneof: type
971
+ */
972
+ type: {
973
+ oneofKind: "runCommand";
974
+ /**
975
+ * @generated from protobuf field: octelium.api.main.auth.v1.DeviceProbe.RunCommand runCommand = 3
976
+ */
977
+ runCommand: DeviceProbe_RunCommand;
978
+ } | {
979
+ oneofKind: "readFile";
980
+ /**
981
+ * @generated from protobuf field: octelium.api.main.auth.v1.DeviceProbe.ReadFile readFile = 4
982
+ */
983
+ readFile: DeviceProbe_ReadFile;
984
+ } | {
985
+ oneofKind: "readRegistry";
986
+ /**
987
+ * @generated from protobuf field: octelium.api.main.auth.v1.DeviceProbe.ReadRegistry readRegistry = 5
988
+ */
989
+ readRegistry: DeviceProbe_ReadRegistry;
990
+ } | {
991
+ oneofKind: undefined;
992
+ };
993
+ }
994
+ /**
995
+ * @generated from protobuf message octelium.api.main.auth.v1.DeviceProbe.RunCommand
996
+ */
997
+ export interface DeviceProbe_RunCommand {
998
+ /**
999
+ * @generated from protobuf field: string command = 1
1000
+ */
1001
+ command: string;
1002
+ /**
1003
+ * @generated from protobuf field: repeated string args = 2
1004
+ */
1005
+ args: string[];
1006
+ /**
1007
+ * @generated from protobuf field: uint32 timeoutSeconds = 3
1008
+ */
1009
+ timeoutSeconds: number;
1010
+ /**
1011
+ * @generated from protobuf field: uint32 maxOutputBytes = 4
1012
+ */
1013
+ maxOutputBytes: number;
1014
+ }
1015
+ /**
1016
+ * @generated from protobuf message octelium.api.main.auth.v1.DeviceProbe.ReadFile
1017
+ */
1018
+ export interface DeviceProbe_ReadFile {
1019
+ /**
1020
+ * @generated from protobuf field: string path = 1
1021
+ */
1022
+ path: string;
1023
+ /**
1024
+ * @generated from protobuf field: uint32 maxBytes = 2
1025
+ */
1026
+ maxBytes: number;
1027
+ }
1028
+ /**
1029
+ * @generated from protobuf message octelium.api.main.auth.v1.DeviceProbe.ReadRegistry
1030
+ */
1031
+ export interface DeviceProbe_ReadRegistry {
1032
+ /**
1033
+ * @generated from protobuf field: string key = 1
1034
+ */
1035
+ key: string;
1036
+ /**
1037
+ * @generated from protobuf field: string name = 2
1038
+ */
1039
+ name: string;
1040
+ }
1041
+ /**
1042
+ * @generated from protobuf message octelium.api.main.auth.v1.DeviceProbeResult
1043
+ */
1044
+ export interface DeviceProbeResult {
1045
+ /**
1046
+ * @generated from protobuf field: string probeID = 1
1047
+ */
1048
+ probeID: string;
1049
+ /**
1050
+ * @generated from protobuf oneof: type
1051
+ */
1052
+ type: {
1053
+ oneofKind: "output";
1054
+ /**
1055
+ * @generated from protobuf field: bytes output = 2
1056
+ */
1057
+ output: Uint8Array;
1058
+ } | {
1059
+ oneofKind: "error";
1060
+ /**
1061
+ * @generated from protobuf field: string error = 3
1062
+ */
1063
+ error: string;
1064
+ } | {
1065
+ oneofKind: undefined;
1066
+ };
1067
+ }
1068
+ /**
1069
+ * @generated from protobuf message octelium.api.main.auth.v1.RunDeviceProbeFinishRequest
1070
+ */
1071
+ export interface RunDeviceProbeFinishRequest {
1072
+ /**
1073
+ * @generated from protobuf field: string attemptUID = 1
1074
+ */
1075
+ attemptUID: string;
1076
+ /**
1077
+ * @generated from protobuf field: repeated octelium.api.main.auth.v1.DeviceProbeResult results = 2
1078
+ */
1079
+ results: DeviceProbeResult[];
1080
+ }
1081
+ /**
1082
+ * @generated from protobuf message octelium.api.main.auth.v1.RunDeviceProbeFinishResponse
1083
+ */
1084
+ export interface RunDeviceProbeFinishResponse {
1085
+ }
912
1086
  // @generated message type with reflection information, may provide speed optimized methods
913
1087
  class SessionToken$Type extends MessageType<SessionToken> {
914
1088
  constructor() {
@@ -986,7 +1160,8 @@ class ClientLoginRequest$Type extends MessageType<ClientLoginRequest> {
986
1160
  super("octelium.api.main.auth.v1.ClientLoginRequest", [
987
1161
  { no: 1, name: "apiVersion", kind: "enum", T: () => ["octelium.api.main.auth.v1.ClientLoginRequest.APIVersion", ClientLoginRequest_APIVersion] },
988
1162
  { no: 2, name: "callbackPort", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
989
- { no: 3, name: "callbackSuffix", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1163
+ { no: 3, name: "callbackSuffix", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1164
+ { no: 4, name: "codeChallenge", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
990
1165
  ]);
991
1166
  }
992
1167
  create(value?: PartialMessage<ClientLoginRequest>): ClientLoginRequest {
@@ -994,6 +1169,7 @@ class ClientLoginRequest$Type extends MessageType<ClientLoginRequest> {
994
1169
  message.apiVersion = 0;
995
1170
  message.callbackPort = 0;
996
1171
  message.callbackSuffix = "";
1172
+ message.codeChallenge = new Uint8Array(0);
997
1173
  if (value !== undefined)
998
1174
  reflectionMergePartial<ClientLoginRequest>(this, message, value);
999
1175
  return message;
@@ -1012,6 +1188,9 @@ class ClientLoginRequest$Type extends MessageType<ClientLoginRequest> {
1012
1188
  case /* string callbackSuffix */ 3:
1013
1189
  message.callbackSuffix = reader.string();
1014
1190
  break;
1191
+ case /* bytes codeChallenge */ 4:
1192
+ message.codeChallenge = reader.bytes();
1193
+ break;
1015
1194
  default:
1016
1195
  let u = options.readUnknownField;
1017
1196
  if (u === "throw")
@@ -1033,6 +1212,9 @@ class ClientLoginRequest$Type extends MessageType<ClientLoginRequest> {
1033
1212
  /* string callbackSuffix = 3; */
1034
1213
  if (message.callbackSuffix !== "")
1035
1214
  writer.tag(3, WireType.LengthDelimited).string(message.callbackSuffix);
1215
+ /* bytes codeChallenge = 4; */
1216
+ if (message.codeChallenge.length)
1217
+ writer.tag(4, WireType.LengthDelimited).bytes(message.codeChallenge);
1036
1218
  let u = options.writeUnknownFields;
1037
1219
  if (u !== false)
1038
1220
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1047,12 +1229,14 @@ export const ClientLoginRequest = new ClientLoginRequest$Type();
1047
1229
  class ClientLoginResponse$Type extends MessageType<ClientLoginResponse> {
1048
1230
  constructor() {
1049
1231
  super("octelium.api.main.auth.v1.ClientLoginResponse", [
1050
- { no: 1, name: "authenticationToken", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1232
+ { no: 1, name: "authenticationToken", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1233
+ { no: 2, name: "codeChallenge", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
1051
1234
  ]);
1052
1235
  }
1053
1236
  create(value?: PartialMessage<ClientLoginResponse>): ClientLoginResponse {
1054
1237
  const message = globalThis.Object.create((this.messagePrototype!));
1055
1238
  message.authenticationToken = "";
1239
+ message.codeChallenge = new Uint8Array(0);
1056
1240
  if (value !== undefined)
1057
1241
  reflectionMergePartial<ClientLoginResponse>(this, message, value);
1058
1242
  return message;
@@ -1065,6 +1249,9 @@ class ClientLoginResponse$Type extends MessageType<ClientLoginResponse> {
1065
1249
  case /* string authenticationToken */ 1:
1066
1250
  message.authenticationToken = reader.string();
1067
1251
  break;
1252
+ case /* bytes codeChallenge */ 2:
1253
+ message.codeChallenge = reader.bytes();
1254
+ break;
1068
1255
  default:
1069
1256
  let u = options.readUnknownField;
1070
1257
  if (u === "throw")
@@ -1080,6 +1267,9 @@ class ClientLoginResponse$Type extends MessageType<ClientLoginResponse> {
1080
1267
  /* string authenticationToken = 1; */
1081
1268
  if (message.authenticationToken !== "")
1082
1269
  writer.tag(1, WireType.LengthDelimited).string(message.authenticationToken);
1270
+ /* bytes codeChallenge = 2; */
1271
+ if (message.codeChallenge.length)
1272
+ writer.tag(2, WireType.LengthDelimited).bytes(message.codeChallenge);
1083
1273
  let u = options.writeUnknownFields;
1084
1274
  if (u !== false)
1085
1275
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1776,13 +1966,15 @@ class AuthenticateWithAuthenticationTokenRequest$Type extends MessageType<Authen
1776
1966
  constructor() {
1777
1967
  super("octelium.api.main.auth.v1.AuthenticateWithAuthenticationTokenRequest", [
1778
1968
  { no: 1, name: "authenticationToken", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1779
- { no: 2, name: "scopes", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
1969
+ { no: 2, name: "scopes", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
1970
+ { no: 3, name: "codeVerifier", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
1780
1971
  ]);
1781
1972
  }
1782
1973
  create(value?: PartialMessage<AuthenticateWithAuthenticationTokenRequest>): AuthenticateWithAuthenticationTokenRequest {
1783
1974
  const message = globalThis.Object.create((this.messagePrototype!));
1784
1975
  message.authenticationToken = "";
1785
1976
  message.scopes = [];
1977
+ message.codeVerifier = new Uint8Array(0);
1786
1978
  if (value !== undefined)
1787
1979
  reflectionMergePartial<AuthenticateWithAuthenticationTokenRequest>(this, message, value);
1788
1980
  return message;
@@ -1798,6 +1990,9 @@ class AuthenticateWithAuthenticationTokenRequest$Type extends MessageType<Authen
1798
1990
  case /* repeated string scopes */ 2:
1799
1991
  message.scopes.push(reader.string());
1800
1992
  break;
1993
+ case /* bytes codeVerifier */ 3:
1994
+ message.codeVerifier = reader.bytes();
1995
+ break;
1801
1996
  default:
1802
1997
  let u = options.readUnknownField;
1803
1998
  if (u === "throw")
@@ -1816,6 +2011,9 @@ class AuthenticateWithAuthenticationTokenRequest$Type extends MessageType<Authen
1816
2011
  /* repeated string scopes = 2; */
1817
2012
  for (let i = 0; i < message.scopes.length; i++)
1818
2013
  writer.tag(2, WireType.LengthDelimited).string(message.scopes[i]);
2014
+ /* bytes codeVerifier = 3; */
2015
+ if (message.codeVerifier.length)
2016
+ writer.tag(3, WireType.LengthDelimited).bytes(message.codeVerifier);
1819
2017
  let u = options.writeUnknownFields;
1820
2018
  if (u !== false)
1821
2019
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3936,6 +4134,527 @@ class AuthenticateWithPasskeyRequest$Type extends MessageType<AuthenticateWithPa
3936
4134
  * @generated MessageType for protobuf message octelium.api.main.auth.v1.AuthenticateWithPasskeyRequest
3937
4135
  */
3938
4136
  export const AuthenticateWithPasskeyRequest = new AuthenticateWithPasskeyRequest$Type();
4137
+ // @generated message type with reflection information, may provide speed optimized methods
4138
+ class RunDeviceProbeBeginRequest$Type extends MessageType<RunDeviceProbeBeginRequest> {
4139
+ constructor() {
4140
+ super("octelium.api.main.auth.v1.RunDeviceProbeBeginRequest", []);
4141
+ }
4142
+ create(value?: PartialMessage<RunDeviceProbeBeginRequest>): RunDeviceProbeBeginRequest {
4143
+ const message = globalThis.Object.create((this.messagePrototype!));
4144
+ if (value !== undefined)
4145
+ reflectionMergePartial<RunDeviceProbeBeginRequest>(this, message, value);
4146
+ return message;
4147
+ }
4148
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RunDeviceProbeBeginRequest): RunDeviceProbeBeginRequest {
4149
+ let message = target ?? this.create(), end = reader.pos + length;
4150
+ while (reader.pos < end) {
4151
+ let [fieldNo, wireType] = reader.tag();
4152
+ switch (fieldNo) {
4153
+ default:
4154
+ let u = options.readUnknownField;
4155
+ if (u === "throw")
4156
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4157
+ let d = reader.skip(wireType);
4158
+ if (u !== false)
4159
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4160
+ }
4161
+ }
4162
+ return message;
4163
+ }
4164
+ internalBinaryWrite(message: RunDeviceProbeBeginRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4165
+ let u = options.writeUnknownFields;
4166
+ if (u !== false)
4167
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4168
+ return writer;
4169
+ }
4170
+ }
4171
+ /**
4172
+ * @generated MessageType for protobuf message octelium.api.main.auth.v1.RunDeviceProbeBeginRequest
4173
+ */
4174
+ export const RunDeviceProbeBeginRequest = new RunDeviceProbeBeginRequest$Type();
4175
+ // @generated message type with reflection information, may provide speed optimized methods
4176
+ class RunDeviceProbeBeginResponse$Type extends MessageType<RunDeviceProbeBeginResponse> {
4177
+ constructor() {
4178
+ super("octelium.api.main.auth.v1.RunDeviceProbeBeginResponse", [
4179
+ { no: 1, name: "attemptUID", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4180
+ { no: 2, name: "probes", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DeviceProbe }
4181
+ ]);
4182
+ }
4183
+ create(value?: PartialMessage<RunDeviceProbeBeginResponse>): RunDeviceProbeBeginResponse {
4184
+ const message = globalThis.Object.create((this.messagePrototype!));
4185
+ message.attemptUID = "";
4186
+ message.probes = [];
4187
+ if (value !== undefined)
4188
+ reflectionMergePartial<RunDeviceProbeBeginResponse>(this, message, value);
4189
+ return message;
4190
+ }
4191
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RunDeviceProbeBeginResponse): RunDeviceProbeBeginResponse {
4192
+ let message = target ?? this.create(), end = reader.pos + length;
4193
+ while (reader.pos < end) {
4194
+ let [fieldNo, wireType] = reader.tag();
4195
+ switch (fieldNo) {
4196
+ case /* string attemptUID */ 1:
4197
+ message.attemptUID = reader.string();
4198
+ break;
4199
+ case /* repeated octelium.api.main.auth.v1.DeviceProbe probes */ 2:
4200
+ message.probes.push(DeviceProbe.internalBinaryRead(reader, reader.uint32(), options));
4201
+ break;
4202
+ default:
4203
+ let u = options.readUnknownField;
4204
+ if (u === "throw")
4205
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4206
+ let d = reader.skip(wireType);
4207
+ if (u !== false)
4208
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4209
+ }
4210
+ }
4211
+ return message;
4212
+ }
4213
+ internalBinaryWrite(message: RunDeviceProbeBeginResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4214
+ /* string attemptUID = 1; */
4215
+ if (message.attemptUID !== "")
4216
+ writer.tag(1, WireType.LengthDelimited).string(message.attemptUID);
4217
+ /* repeated octelium.api.main.auth.v1.DeviceProbe probes = 2; */
4218
+ for (let i = 0; i < message.probes.length; i++)
4219
+ DeviceProbe.internalBinaryWrite(message.probes[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
4220
+ let u = options.writeUnknownFields;
4221
+ if (u !== false)
4222
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4223
+ return writer;
4224
+ }
4225
+ }
4226
+ /**
4227
+ * @generated MessageType for protobuf message octelium.api.main.auth.v1.RunDeviceProbeBeginResponse
4228
+ */
4229
+ export const RunDeviceProbeBeginResponse = new RunDeviceProbeBeginResponse$Type();
4230
+ // @generated message type with reflection information, may provide speed optimized methods
4231
+ class DeviceProbe$Type extends MessageType<DeviceProbe> {
4232
+ constructor() {
4233
+ super("octelium.api.main.auth.v1.DeviceProbe", [
4234
+ { no: 1, name: "probeID", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4235
+ { no: 2, name: "requireElevation", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
4236
+ { no: 3, name: "runCommand", kind: "message", oneof: "type", T: () => DeviceProbe_RunCommand },
4237
+ { no: 4, name: "readFile", kind: "message", oneof: "type", T: () => DeviceProbe_ReadFile },
4238
+ { no: 5, name: "readRegistry", kind: "message", oneof: "type", T: () => DeviceProbe_ReadRegistry }
4239
+ ]);
4240
+ }
4241
+ create(value?: PartialMessage<DeviceProbe>): DeviceProbe {
4242
+ const message = globalThis.Object.create((this.messagePrototype!));
4243
+ message.probeID = "";
4244
+ message.requireElevation = false;
4245
+ message.type = { oneofKind: undefined };
4246
+ if (value !== undefined)
4247
+ reflectionMergePartial<DeviceProbe>(this, message, value);
4248
+ return message;
4249
+ }
4250
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceProbe): DeviceProbe {
4251
+ let message = target ?? this.create(), end = reader.pos + length;
4252
+ while (reader.pos < end) {
4253
+ let [fieldNo, wireType] = reader.tag();
4254
+ switch (fieldNo) {
4255
+ case /* string probeID */ 1:
4256
+ message.probeID = reader.string();
4257
+ break;
4258
+ case /* bool requireElevation */ 2:
4259
+ message.requireElevation = reader.bool();
4260
+ break;
4261
+ case /* octelium.api.main.auth.v1.DeviceProbe.RunCommand runCommand */ 3:
4262
+ message.type = {
4263
+ oneofKind: "runCommand",
4264
+ runCommand: DeviceProbe_RunCommand.internalBinaryRead(reader, reader.uint32(), options, (message.type as any).runCommand)
4265
+ };
4266
+ break;
4267
+ case /* octelium.api.main.auth.v1.DeviceProbe.ReadFile readFile */ 4:
4268
+ message.type = {
4269
+ oneofKind: "readFile",
4270
+ readFile: DeviceProbe_ReadFile.internalBinaryRead(reader, reader.uint32(), options, (message.type as any).readFile)
4271
+ };
4272
+ break;
4273
+ case /* octelium.api.main.auth.v1.DeviceProbe.ReadRegistry readRegistry */ 5:
4274
+ message.type = {
4275
+ oneofKind: "readRegistry",
4276
+ readRegistry: DeviceProbe_ReadRegistry.internalBinaryRead(reader, reader.uint32(), options, (message.type as any).readRegistry)
4277
+ };
4278
+ break;
4279
+ default:
4280
+ let u = options.readUnknownField;
4281
+ if (u === "throw")
4282
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4283
+ let d = reader.skip(wireType);
4284
+ if (u !== false)
4285
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4286
+ }
4287
+ }
4288
+ return message;
4289
+ }
4290
+ internalBinaryWrite(message: DeviceProbe, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4291
+ /* string probeID = 1; */
4292
+ if (message.probeID !== "")
4293
+ writer.tag(1, WireType.LengthDelimited).string(message.probeID);
4294
+ /* bool requireElevation = 2; */
4295
+ if (message.requireElevation !== false)
4296
+ writer.tag(2, WireType.Varint).bool(message.requireElevation);
4297
+ /* octelium.api.main.auth.v1.DeviceProbe.RunCommand runCommand = 3; */
4298
+ if (message.type.oneofKind === "runCommand")
4299
+ DeviceProbe_RunCommand.internalBinaryWrite(message.type.runCommand, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
4300
+ /* octelium.api.main.auth.v1.DeviceProbe.ReadFile readFile = 4; */
4301
+ if (message.type.oneofKind === "readFile")
4302
+ DeviceProbe_ReadFile.internalBinaryWrite(message.type.readFile, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
4303
+ /* octelium.api.main.auth.v1.DeviceProbe.ReadRegistry readRegistry = 5; */
4304
+ if (message.type.oneofKind === "readRegistry")
4305
+ DeviceProbe_ReadRegistry.internalBinaryWrite(message.type.readRegistry, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
4306
+ let u = options.writeUnknownFields;
4307
+ if (u !== false)
4308
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4309
+ return writer;
4310
+ }
4311
+ }
4312
+ /**
4313
+ * @generated MessageType for protobuf message octelium.api.main.auth.v1.DeviceProbe
4314
+ */
4315
+ export const DeviceProbe = new DeviceProbe$Type();
4316
+ // @generated message type with reflection information, may provide speed optimized methods
4317
+ class DeviceProbe_RunCommand$Type extends MessageType<DeviceProbe_RunCommand> {
4318
+ constructor() {
4319
+ super("octelium.api.main.auth.v1.DeviceProbe.RunCommand", [
4320
+ { no: 1, name: "command", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4321
+ { no: 2, name: "args", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
4322
+ { no: 3, name: "timeoutSeconds", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
4323
+ { no: 4, name: "maxOutputBytes", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
4324
+ ]);
4325
+ }
4326
+ create(value?: PartialMessage<DeviceProbe_RunCommand>): DeviceProbe_RunCommand {
4327
+ const message = globalThis.Object.create((this.messagePrototype!));
4328
+ message.command = "";
4329
+ message.args = [];
4330
+ message.timeoutSeconds = 0;
4331
+ message.maxOutputBytes = 0;
4332
+ if (value !== undefined)
4333
+ reflectionMergePartial<DeviceProbe_RunCommand>(this, message, value);
4334
+ return message;
4335
+ }
4336
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceProbe_RunCommand): DeviceProbe_RunCommand {
4337
+ let message = target ?? this.create(), end = reader.pos + length;
4338
+ while (reader.pos < end) {
4339
+ let [fieldNo, wireType] = reader.tag();
4340
+ switch (fieldNo) {
4341
+ case /* string command */ 1:
4342
+ message.command = reader.string();
4343
+ break;
4344
+ case /* repeated string args */ 2:
4345
+ message.args.push(reader.string());
4346
+ break;
4347
+ case /* uint32 timeoutSeconds */ 3:
4348
+ message.timeoutSeconds = reader.uint32();
4349
+ break;
4350
+ case /* uint32 maxOutputBytes */ 4:
4351
+ message.maxOutputBytes = reader.uint32();
4352
+ break;
4353
+ default:
4354
+ let u = options.readUnknownField;
4355
+ if (u === "throw")
4356
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4357
+ let d = reader.skip(wireType);
4358
+ if (u !== false)
4359
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4360
+ }
4361
+ }
4362
+ return message;
4363
+ }
4364
+ internalBinaryWrite(message: DeviceProbe_RunCommand, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4365
+ /* string command = 1; */
4366
+ if (message.command !== "")
4367
+ writer.tag(1, WireType.LengthDelimited).string(message.command);
4368
+ /* repeated string args = 2; */
4369
+ for (let i = 0; i < message.args.length; i++)
4370
+ writer.tag(2, WireType.LengthDelimited).string(message.args[i]);
4371
+ /* uint32 timeoutSeconds = 3; */
4372
+ if (message.timeoutSeconds !== 0)
4373
+ writer.tag(3, WireType.Varint).uint32(message.timeoutSeconds);
4374
+ /* uint32 maxOutputBytes = 4; */
4375
+ if (message.maxOutputBytes !== 0)
4376
+ writer.tag(4, WireType.Varint).uint32(message.maxOutputBytes);
4377
+ let u = options.writeUnknownFields;
4378
+ if (u !== false)
4379
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4380
+ return writer;
4381
+ }
4382
+ }
4383
+ /**
4384
+ * @generated MessageType for protobuf message octelium.api.main.auth.v1.DeviceProbe.RunCommand
4385
+ */
4386
+ export const DeviceProbe_RunCommand = new DeviceProbe_RunCommand$Type();
4387
+ // @generated message type with reflection information, may provide speed optimized methods
4388
+ class DeviceProbe_ReadFile$Type extends MessageType<DeviceProbe_ReadFile> {
4389
+ constructor() {
4390
+ super("octelium.api.main.auth.v1.DeviceProbe.ReadFile", [
4391
+ { no: 1, name: "path", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4392
+ { no: 2, name: "maxBytes", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
4393
+ ]);
4394
+ }
4395
+ create(value?: PartialMessage<DeviceProbe_ReadFile>): DeviceProbe_ReadFile {
4396
+ const message = globalThis.Object.create((this.messagePrototype!));
4397
+ message.path = "";
4398
+ message.maxBytes = 0;
4399
+ if (value !== undefined)
4400
+ reflectionMergePartial<DeviceProbe_ReadFile>(this, message, value);
4401
+ return message;
4402
+ }
4403
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceProbe_ReadFile): DeviceProbe_ReadFile {
4404
+ let message = target ?? this.create(), end = reader.pos + length;
4405
+ while (reader.pos < end) {
4406
+ let [fieldNo, wireType] = reader.tag();
4407
+ switch (fieldNo) {
4408
+ case /* string path */ 1:
4409
+ message.path = reader.string();
4410
+ break;
4411
+ case /* uint32 maxBytes */ 2:
4412
+ message.maxBytes = reader.uint32();
4413
+ break;
4414
+ default:
4415
+ let u = options.readUnknownField;
4416
+ if (u === "throw")
4417
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4418
+ let d = reader.skip(wireType);
4419
+ if (u !== false)
4420
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4421
+ }
4422
+ }
4423
+ return message;
4424
+ }
4425
+ internalBinaryWrite(message: DeviceProbe_ReadFile, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4426
+ /* string path = 1; */
4427
+ if (message.path !== "")
4428
+ writer.tag(1, WireType.LengthDelimited).string(message.path);
4429
+ /* uint32 maxBytes = 2; */
4430
+ if (message.maxBytes !== 0)
4431
+ writer.tag(2, WireType.Varint).uint32(message.maxBytes);
4432
+ let u = options.writeUnknownFields;
4433
+ if (u !== false)
4434
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4435
+ return writer;
4436
+ }
4437
+ }
4438
+ /**
4439
+ * @generated MessageType for protobuf message octelium.api.main.auth.v1.DeviceProbe.ReadFile
4440
+ */
4441
+ export const DeviceProbe_ReadFile = new DeviceProbe_ReadFile$Type();
4442
+ // @generated message type with reflection information, may provide speed optimized methods
4443
+ class DeviceProbe_ReadRegistry$Type extends MessageType<DeviceProbe_ReadRegistry> {
4444
+ constructor() {
4445
+ super("octelium.api.main.auth.v1.DeviceProbe.ReadRegistry", [
4446
+ { no: 1, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4447
+ { no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4448
+ ]);
4449
+ }
4450
+ create(value?: PartialMessage<DeviceProbe_ReadRegistry>): DeviceProbe_ReadRegistry {
4451
+ const message = globalThis.Object.create((this.messagePrototype!));
4452
+ message.key = "";
4453
+ message.name = "";
4454
+ if (value !== undefined)
4455
+ reflectionMergePartial<DeviceProbe_ReadRegistry>(this, message, value);
4456
+ return message;
4457
+ }
4458
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceProbe_ReadRegistry): DeviceProbe_ReadRegistry {
4459
+ let message = target ?? this.create(), end = reader.pos + length;
4460
+ while (reader.pos < end) {
4461
+ let [fieldNo, wireType] = reader.tag();
4462
+ switch (fieldNo) {
4463
+ case /* string key */ 1:
4464
+ message.key = reader.string();
4465
+ break;
4466
+ case /* string name */ 2:
4467
+ message.name = reader.string();
4468
+ break;
4469
+ default:
4470
+ let u = options.readUnknownField;
4471
+ if (u === "throw")
4472
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4473
+ let d = reader.skip(wireType);
4474
+ if (u !== false)
4475
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4476
+ }
4477
+ }
4478
+ return message;
4479
+ }
4480
+ internalBinaryWrite(message: DeviceProbe_ReadRegistry, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4481
+ /* string key = 1; */
4482
+ if (message.key !== "")
4483
+ writer.tag(1, WireType.LengthDelimited).string(message.key);
4484
+ /* string name = 2; */
4485
+ if (message.name !== "")
4486
+ writer.tag(2, WireType.LengthDelimited).string(message.name);
4487
+ let u = options.writeUnknownFields;
4488
+ if (u !== false)
4489
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4490
+ return writer;
4491
+ }
4492
+ }
4493
+ /**
4494
+ * @generated MessageType for protobuf message octelium.api.main.auth.v1.DeviceProbe.ReadRegistry
4495
+ */
4496
+ export const DeviceProbe_ReadRegistry = new DeviceProbe_ReadRegistry$Type();
4497
+ // @generated message type with reflection information, may provide speed optimized methods
4498
+ class DeviceProbeResult$Type extends MessageType<DeviceProbeResult> {
4499
+ constructor() {
4500
+ super("octelium.api.main.auth.v1.DeviceProbeResult", [
4501
+ { no: 1, name: "probeID", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4502
+ { no: 2, name: "output", kind: "scalar", oneof: "type", T: 12 /*ScalarType.BYTES*/ },
4503
+ { no: 3, name: "error", kind: "scalar", oneof: "type", T: 9 /*ScalarType.STRING*/ }
4504
+ ]);
4505
+ }
4506
+ create(value?: PartialMessage<DeviceProbeResult>): DeviceProbeResult {
4507
+ const message = globalThis.Object.create((this.messagePrototype!));
4508
+ message.probeID = "";
4509
+ message.type = { oneofKind: undefined };
4510
+ if (value !== undefined)
4511
+ reflectionMergePartial<DeviceProbeResult>(this, message, value);
4512
+ return message;
4513
+ }
4514
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceProbeResult): DeviceProbeResult {
4515
+ let message = target ?? this.create(), end = reader.pos + length;
4516
+ while (reader.pos < end) {
4517
+ let [fieldNo, wireType] = reader.tag();
4518
+ switch (fieldNo) {
4519
+ case /* string probeID */ 1:
4520
+ message.probeID = reader.string();
4521
+ break;
4522
+ case /* bytes output */ 2:
4523
+ message.type = {
4524
+ oneofKind: "output",
4525
+ output: reader.bytes()
4526
+ };
4527
+ break;
4528
+ case /* string error */ 3:
4529
+ message.type = {
4530
+ oneofKind: "error",
4531
+ error: reader.string()
4532
+ };
4533
+ break;
4534
+ default:
4535
+ let u = options.readUnknownField;
4536
+ if (u === "throw")
4537
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4538
+ let d = reader.skip(wireType);
4539
+ if (u !== false)
4540
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4541
+ }
4542
+ }
4543
+ return message;
4544
+ }
4545
+ internalBinaryWrite(message: DeviceProbeResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4546
+ /* string probeID = 1; */
4547
+ if (message.probeID !== "")
4548
+ writer.tag(1, WireType.LengthDelimited).string(message.probeID);
4549
+ /* bytes output = 2; */
4550
+ if (message.type.oneofKind === "output")
4551
+ writer.tag(2, WireType.LengthDelimited).bytes(message.type.output);
4552
+ /* string error = 3; */
4553
+ if (message.type.oneofKind === "error")
4554
+ writer.tag(3, WireType.LengthDelimited).string(message.type.error);
4555
+ let u = options.writeUnknownFields;
4556
+ if (u !== false)
4557
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4558
+ return writer;
4559
+ }
4560
+ }
4561
+ /**
4562
+ * @generated MessageType for protobuf message octelium.api.main.auth.v1.DeviceProbeResult
4563
+ */
4564
+ export const DeviceProbeResult = new DeviceProbeResult$Type();
4565
+ // @generated message type with reflection information, may provide speed optimized methods
4566
+ class RunDeviceProbeFinishRequest$Type extends MessageType<RunDeviceProbeFinishRequest> {
4567
+ constructor() {
4568
+ super("octelium.api.main.auth.v1.RunDeviceProbeFinishRequest", [
4569
+ { no: 1, name: "attemptUID", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4570
+ { no: 2, name: "results", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DeviceProbeResult }
4571
+ ]);
4572
+ }
4573
+ create(value?: PartialMessage<RunDeviceProbeFinishRequest>): RunDeviceProbeFinishRequest {
4574
+ const message = globalThis.Object.create((this.messagePrototype!));
4575
+ message.attemptUID = "";
4576
+ message.results = [];
4577
+ if (value !== undefined)
4578
+ reflectionMergePartial<RunDeviceProbeFinishRequest>(this, message, value);
4579
+ return message;
4580
+ }
4581
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RunDeviceProbeFinishRequest): RunDeviceProbeFinishRequest {
4582
+ let message = target ?? this.create(), end = reader.pos + length;
4583
+ while (reader.pos < end) {
4584
+ let [fieldNo, wireType] = reader.tag();
4585
+ switch (fieldNo) {
4586
+ case /* string attemptUID */ 1:
4587
+ message.attemptUID = reader.string();
4588
+ break;
4589
+ case /* repeated octelium.api.main.auth.v1.DeviceProbeResult results */ 2:
4590
+ message.results.push(DeviceProbeResult.internalBinaryRead(reader, reader.uint32(), options));
4591
+ break;
4592
+ default:
4593
+ let u = options.readUnknownField;
4594
+ if (u === "throw")
4595
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4596
+ let d = reader.skip(wireType);
4597
+ if (u !== false)
4598
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4599
+ }
4600
+ }
4601
+ return message;
4602
+ }
4603
+ internalBinaryWrite(message: RunDeviceProbeFinishRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4604
+ /* string attemptUID = 1; */
4605
+ if (message.attemptUID !== "")
4606
+ writer.tag(1, WireType.LengthDelimited).string(message.attemptUID);
4607
+ /* repeated octelium.api.main.auth.v1.DeviceProbeResult results = 2; */
4608
+ for (let i = 0; i < message.results.length; i++)
4609
+ DeviceProbeResult.internalBinaryWrite(message.results[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
4610
+ let u = options.writeUnknownFields;
4611
+ if (u !== false)
4612
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4613
+ return writer;
4614
+ }
4615
+ }
4616
+ /**
4617
+ * @generated MessageType for protobuf message octelium.api.main.auth.v1.RunDeviceProbeFinishRequest
4618
+ */
4619
+ export const RunDeviceProbeFinishRequest = new RunDeviceProbeFinishRequest$Type();
4620
+ // @generated message type with reflection information, may provide speed optimized methods
4621
+ class RunDeviceProbeFinishResponse$Type extends MessageType<RunDeviceProbeFinishResponse> {
4622
+ constructor() {
4623
+ super("octelium.api.main.auth.v1.RunDeviceProbeFinishResponse", []);
4624
+ }
4625
+ create(value?: PartialMessage<RunDeviceProbeFinishResponse>): RunDeviceProbeFinishResponse {
4626
+ const message = globalThis.Object.create((this.messagePrototype!));
4627
+ if (value !== undefined)
4628
+ reflectionMergePartial<RunDeviceProbeFinishResponse>(this, message, value);
4629
+ return message;
4630
+ }
4631
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RunDeviceProbeFinishResponse): RunDeviceProbeFinishResponse {
4632
+ let message = target ?? this.create(), end = reader.pos + length;
4633
+ while (reader.pos < end) {
4634
+ let [fieldNo, wireType] = reader.tag();
4635
+ switch (fieldNo) {
4636
+ default:
4637
+ let u = options.readUnknownField;
4638
+ if (u === "throw")
4639
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4640
+ let d = reader.skip(wireType);
4641
+ if (u !== false)
4642
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4643
+ }
4644
+ }
4645
+ return message;
4646
+ }
4647
+ internalBinaryWrite(message: RunDeviceProbeFinishResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4648
+ let u = options.writeUnknownFields;
4649
+ if (u !== false)
4650
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4651
+ return writer;
4652
+ }
4653
+ }
4654
+ /**
4655
+ * @generated MessageType for protobuf message octelium.api.main.auth.v1.RunDeviceProbeFinishResponse
4656
+ */
4657
+ export const RunDeviceProbeFinishResponse = new RunDeviceProbeFinishResponse$Type();
3939
4658
  /**
3940
4659
  * @generated ServiceType for protobuf service octelium.api.main.auth.v1.MainService
3941
4660
  */
@@ -3957,5 +4676,7 @@ export const MainService = new ServiceType("octelium.api.main.auth.v1.MainServic
3957
4676
  { name: "AuthenticateAuthenticatorBegin", options: {}, I: AuthenticateAuthenticatorBeginRequest, O: AuthenticateAuthenticatorBeginResponse },
3958
4677
  { name: "GetAvailableAuthenticator", options: {}, I: GetAvailableAuthenticatorRequest, O: GetAvailableAuthenticatorResponse },
3959
4678
  { name: "AuthenticateWithPasskeyBegin", options: {}, I: AuthenticateWithPasskeyBeginRequest, O: AuthenticateWithPasskeyBeginResponse },
3960
- { name: "AuthenticateWithPasskey", options: {}, I: AuthenticateWithPasskeyRequest, O: SessionToken }
4679
+ { name: "AuthenticateWithPasskey", options: {}, I: AuthenticateWithPasskeyRequest, O: SessionToken },
4680
+ { name: "RunDeviceProbeBegin", options: {}, I: RunDeviceProbeBeginRequest, O: RunDeviceProbeBeginResponse },
4681
+ { name: "RunDeviceProbeFinish", options: {}, I: RunDeviceProbeFinishRequest, O: RunDeviceProbeFinishResponse }
3961
4682
  ]);