@octelium/apis 1.0.2 → 1.0.3
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/main/corev1/corev1.d.ts +252 -0
- package/main/corev1/corev1.d.ts.map +1 -1
- package/main/corev1/corev1.js +476 -3
- package/main/corev1/corev1.js.map +1 -1
- package/main/corev1/corev1.ts +648 -3
- package/main/userv1/userv1.d.ts +4 -0
- package/main/userv1/userv1.d.ts.map +1 -1
- package/main/userv1/userv1.js +9 -1
- package/main/userv1/userv1.js.map +1 -1
- package/main/userv1/userv1.ts +13 -1
- package/package.json +1 -1
package/main/corev1/corev1.ts
CHANGED
|
@@ -8197,6 +8197,166 @@ export interface ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream {
|
|
|
8197
8197
|
* @generated from protobuf field: string url = 1
|
|
8198
8198
|
*/
|
|
8199
8199
|
url: string;
|
|
8200
|
+
/**
|
|
8201
|
+
* @generated from protobuf field: octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth auth = 2
|
|
8202
|
+
*/
|
|
8203
|
+
auth?: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth;
|
|
8204
|
+
}
|
|
8205
|
+
/**
|
|
8206
|
+
* @generated from protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth
|
|
8207
|
+
*/
|
|
8208
|
+
export interface ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth {
|
|
8209
|
+
/**
|
|
8210
|
+
* @generated from protobuf oneof: type
|
|
8211
|
+
*/
|
|
8212
|
+
type: {
|
|
8213
|
+
oneofKind: "bearer";
|
|
8214
|
+
/**
|
|
8215
|
+
* Bearer sets bearer authentication details
|
|
8216
|
+
*
|
|
8217
|
+
* @generated from protobuf field: octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer bearer = 1
|
|
8218
|
+
*/
|
|
8219
|
+
bearer: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer;
|
|
8220
|
+
} | {
|
|
8221
|
+
oneofKind: "basic";
|
|
8222
|
+
/**
|
|
8223
|
+
* Basis sets basic authentication details
|
|
8224
|
+
*
|
|
8225
|
+
* @generated from protobuf field: octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic basic = 2
|
|
8226
|
+
*/
|
|
8227
|
+
basic: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic;
|
|
8228
|
+
} | {
|
|
8229
|
+
oneofKind: "custom";
|
|
8230
|
+
/**
|
|
8231
|
+
* Custom sets authentication inside custom header
|
|
8232
|
+
*
|
|
8233
|
+
* @generated from protobuf field: octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom custom = 3
|
|
8234
|
+
*/
|
|
8235
|
+
custom: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom;
|
|
8236
|
+
} | {
|
|
8237
|
+
oneofKind: "query";
|
|
8238
|
+
/**
|
|
8239
|
+
* @generated from protobuf field: octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query query = 4
|
|
8240
|
+
*/
|
|
8241
|
+
query: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query;
|
|
8242
|
+
} | {
|
|
8243
|
+
oneofKind: undefined;
|
|
8244
|
+
};
|
|
8245
|
+
}
|
|
8246
|
+
/**
|
|
8247
|
+
* @generated from protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer
|
|
8248
|
+
*/
|
|
8249
|
+
export interface ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer {
|
|
8250
|
+
/**
|
|
8251
|
+
* @generated from protobuf oneof: type
|
|
8252
|
+
*/
|
|
8253
|
+
type: {
|
|
8254
|
+
oneofKind: "fromSecret";
|
|
8255
|
+
/**
|
|
8256
|
+
* @generated from protobuf field: string fromSecret = 1
|
|
8257
|
+
*/
|
|
8258
|
+
fromSecret: string;
|
|
8259
|
+
} | {
|
|
8260
|
+
oneofKind: undefined;
|
|
8261
|
+
};
|
|
8262
|
+
}
|
|
8263
|
+
/**
|
|
8264
|
+
* @generated from protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic
|
|
8265
|
+
*/
|
|
8266
|
+
export interface ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic {
|
|
8267
|
+
/**
|
|
8268
|
+
* Username is the username value of HTTP basic authentication
|
|
8269
|
+
*
|
|
8270
|
+
* @generated from protobuf field: string username = 1
|
|
8271
|
+
*/
|
|
8272
|
+
username: string;
|
|
8273
|
+
/**
|
|
8274
|
+
* Password is the password value of HTTP basic authentication
|
|
8275
|
+
*
|
|
8276
|
+
* @generated from protobuf field: octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password password = 2
|
|
8277
|
+
*/
|
|
8278
|
+
password?: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password;
|
|
8279
|
+
}
|
|
8280
|
+
/**
|
|
8281
|
+
* @generated from protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password
|
|
8282
|
+
*/
|
|
8283
|
+
export interface ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password {
|
|
8284
|
+
/**
|
|
8285
|
+
* @generated from protobuf oneof: type
|
|
8286
|
+
*/
|
|
8287
|
+
type: {
|
|
8288
|
+
oneofKind: "fromSecret";
|
|
8289
|
+
/**
|
|
8290
|
+
* @generated from protobuf field: string fromSecret = 1
|
|
8291
|
+
*/
|
|
8292
|
+
fromSecret: string;
|
|
8293
|
+
} | {
|
|
8294
|
+
oneofKind: undefined;
|
|
8295
|
+
};
|
|
8296
|
+
}
|
|
8297
|
+
/**
|
|
8298
|
+
* @generated from protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom
|
|
8299
|
+
*/
|
|
8300
|
+
export interface ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom {
|
|
8301
|
+
/**
|
|
8302
|
+
* Header is the name of the HTTP header (e.g. "X-Custom-Auth")
|
|
8303
|
+
*
|
|
8304
|
+
* @generated from protobuf field: string header = 1
|
|
8305
|
+
*/
|
|
8306
|
+
header: string;
|
|
8307
|
+
/**
|
|
8308
|
+
* Value is the value of the header
|
|
8309
|
+
*
|
|
8310
|
+
* @generated from protobuf field: octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value value = 2
|
|
8311
|
+
*/
|
|
8312
|
+
value?: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value;
|
|
8313
|
+
}
|
|
8314
|
+
/**
|
|
8315
|
+
* @generated from protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value
|
|
8316
|
+
*/
|
|
8317
|
+
export interface ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value {
|
|
8318
|
+
/**
|
|
8319
|
+
* @generated from protobuf oneof: type
|
|
8320
|
+
*/
|
|
8321
|
+
type: {
|
|
8322
|
+
oneofKind: "fromSecret";
|
|
8323
|
+
/**
|
|
8324
|
+
* @generated from protobuf field: string fromSecret = 1
|
|
8325
|
+
*/
|
|
8326
|
+
fromSecret: string;
|
|
8327
|
+
} | {
|
|
8328
|
+
oneofKind: undefined;
|
|
8329
|
+
};
|
|
8330
|
+
}
|
|
8331
|
+
/**
|
|
8332
|
+
* @generated from protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query
|
|
8333
|
+
*/
|
|
8334
|
+
export interface ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query {
|
|
8335
|
+
/**
|
|
8336
|
+
* @generated from protobuf field: string key = 1
|
|
8337
|
+
*/
|
|
8338
|
+
key: string;
|
|
8339
|
+
/**
|
|
8340
|
+
* @generated from protobuf field: octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value value = 2
|
|
8341
|
+
*/
|
|
8342
|
+
value?: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value;
|
|
8343
|
+
}
|
|
8344
|
+
/**
|
|
8345
|
+
* @generated from protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value
|
|
8346
|
+
*/
|
|
8347
|
+
export interface ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value {
|
|
8348
|
+
/**
|
|
8349
|
+
* @generated from protobuf oneof: type
|
|
8350
|
+
*/
|
|
8351
|
+
type: {
|
|
8352
|
+
oneofKind: "fromSecret";
|
|
8353
|
+
/**
|
|
8354
|
+
* @generated from protobuf field: string fromSecret = 1
|
|
8355
|
+
*/
|
|
8356
|
+
fromSecret: string;
|
|
8357
|
+
} | {
|
|
8358
|
+
oneofKind: undefined;
|
|
8359
|
+
};
|
|
8200
8360
|
}
|
|
8201
8361
|
/**
|
|
8202
8362
|
* @generated from protobuf message octelium.api.main.core.v1.ClusterConfig.Status
|
|
@@ -8267,6 +8427,14 @@ export interface ClusterConfig_Status_NetworkConfig_V4 {
|
|
|
8267
8427
|
* @generated from protobuf field: string clusterNetwork = 1
|
|
8268
8428
|
*/
|
|
8269
8429
|
clusterNetwork: string;
|
|
8430
|
+
/**
|
|
8431
|
+
* @generated from protobuf field: uint32 gatewayBits = 2
|
|
8432
|
+
*/
|
|
8433
|
+
gatewayBits: number;
|
|
8434
|
+
/**
|
|
8435
|
+
* @generated from protobuf field: uint32 regionBits = 3
|
|
8436
|
+
*/
|
|
8437
|
+
regionBits: number;
|
|
8270
8438
|
}
|
|
8271
8439
|
/**
|
|
8272
8440
|
* @generated from protobuf message octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.V6
|
|
@@ -9263,6 +9431,10 @@ export interface Authenticator_Status_Info_FIDO {
|
|
|
9263
9431
|
* @generated from protobuf field: bool isHardware = 10
|
|
9264
9432
|
*/
|
|
9265
9433
|
isHardware: boolean;
|
|
9434
|
+
/**
|
|
9435
|
+
* @generated from protobuf field: uint32 signCount = 11
|
|
9436
|
+
*/
|
|
9437
|
+
signCount: number;
|
|
9266
9438
|
}
|
|
9267
9439
|
/**
|
|
9268
9440
|
* @generated from protobuf enum octelium.api.main.core.v1.Authenticator.Status.Info.FIDO.Type
|
|
@@ -27861,7 +28033,8 @@ export const ClusterConfig_Spec_Authentication_Geolocation_MMDB = new ClusterCon
|
|
|
27861
28033
|
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream$Type extends MessageType<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream> {
|
|
27862
28034
|
constructor() {
|
|
27863
28035
|
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream", [
|
|
27864
|
-
{ no: 1, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
28036
|
+
{ no: 1, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
28037
|
+
{ no: 2, name: "auth", kind: "message", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth }
|
|
27865
28038
|
]);
|
|
27866
28039
|
}
|
|
27867
28040
|
create(value?: PartialMessage<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream>): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream {
|
|
@@ -27879,6 +28052,9 @@ class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream$Type extends M
|
|
|
27879
28052
|
case /* string url */ 1:
|
|
27880
28053
|
message.url = reader.string();
|
|
27881
28054
|
break;
|
|
28055
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth auth */ 2:
|
|
28056
|
+
message.auth = ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth.internalBinaryRead(reader, reader.uint32(), options, message.auth);
|
|
28057
|
+
break;
|
|
27882
28058
|
default:
|
|
27883
28059
|
let u = options.readUnknownField;
|
|
27884
28060
|
if (u === "throw")
|
|
@@ -27894,6 +28070,9 @@ class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream$Type extends M
|
|
|
27894
28070
|
/* string url = 1; */
|
|
27895
28071
|
if (message.url !== "")
|
|
27896
28072
|
writer.tag(1, WireType.LengthDelimited).string(message.url);
|
|
28073
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth auth = 2; */
|
|
28074
|
+
if (message.auth)
|
|
28075
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth.internalBinaryWrite(message.auth, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
27897
28076
|
let u = options.writeUnknownFields;
|
|
27898
28077
|
if (u !== false)
|
|
27899
28078
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -27905,6 +28084,448 @@ class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream$Type extends M
|
|
|
27905
28084
|
*/
|
|
27906
28085
|
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream$Type();
|
|
27907
28086
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
28087
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth$Type extends MessageType<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth> {
|
|
28088
|
+
constructor() {
|
|
28089
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth", [
|
|
28090
|
+
{ no: 1, name: "bearer", kind: "message", oneof: "type", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer },
|
|
28091
|
+
{ no: 2, name: "basic", kind: "message", oneof: "type", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic },
|
|
28092
|
+
{ no: 3, name: "custom", kind: "message", oneof: "type", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom },
|
|
28093
|
+
{ no: 4, name: "query", kind: "message", oneof: "type", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query }
|
|
28094
|
+
]);
|
|
28095
|
+
}
|
|
28096
|
+
create(value?: PartialMessage<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth>): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth {
|
|
28097
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
28098
|
+
message.type = { oneofKind: undefined };
|
|
28099
|
+
if (value !== undefined)
|
|
28100
|
+
reflectionMergePartial<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth>(this, message, value);
|
|
28101
|
+
return message;
|
|
28102
|
+
}
|
|
28103
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth {
|
|
28104
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
28105
|
+
while (reader.pos < end) {
|
|
28106
|
+
let [fieldNo, wireType] = reader.tag();
|
|
28107
|
+
switch (fieldNo) {
|
|
28108
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer bearer */ 1:
|
|
28109
|
+
message.type = {
|
|
28110
|
+
oneofKind: "bearer",
|
|
28111
|
+
bearer: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer.internalBinaryRead(reader, reader.uint32(), options, (message.type as any).bearer)
|
|
28112
|
+
};
|
|
28113
|
+
break;
|
|
28114
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic basic */ 2:
|
|
28115
|
+
message.type = {
|
|
28116
|
+
oneofKind: "basic",
|
|
28117
|
+
basic: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic.internalBinaryRead(reader, reader.uint32(), options, (message.type as any).basic)
|
|
28118
|
+
};
|
|
28119
|
+
break;
|
|
28120
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom custom */ 3:
|
|
28121
|
+
message.type = {
|
|
28122
|
+
oneofKind: "custom",
|
|
28123
|
+
custom: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom.internalBinaryRead(reader, reader.uint32(), options, (message.type as any).custom)
|
|
28124
|
+
};
|
|
28125
|
+
break;
|
|
28126
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query query */ 4:
|
|
28127
|
+
message.type = {
|
|
28128
|
+
oneofKind: "query",
|
|
28129
|
+
query: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query.internalBinaryRead(reader, reader.uint32(), options, (message.type as any).query)
|
|
28130
|
+
};
|
|
28131
|
+
break;
|
|
28132
|
+
default:
|
|
28133
|
+
let u = options.readUnknownField;
|
|
28134
|
+
if (u === "throw")
|
|
28135
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
28136
|
+
let d = reader.skip(wireType);
|
|
28137
|
+
if (u !== false)
|
|
28138
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
28139
|
+
}
|
|
28140
|
+
}
|
|
28141
|
+
return message;
|
|
28142
|
+
}
|
|
28143
|
+
internalBinaryWrite(message: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
28144
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer bearer = 1; */
|
|
28145
|
+
if (message.type.oneofKind === "bearer")
|
|
28146
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer.internalBinaryWrite(message.type.bearer, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
28147
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic basic = 2; */
|
|
28148
|
+
if (message.type.oneofKind === "basic")
|
|
28149
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic.internalBinaryWrite(message.type.basic, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
28150
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom custom = 3; */
|
|
28151
|
+
if (message.type.oneofKind === "custom")
|
|
28152
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom.internalBinaryWrite(message.type.custom, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
28153
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query query = 4; */
|
|
28154
|
+
if (message.type.oneofKind === "query")
|
|
28155
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query.internalBinaryWrite(message.type.query, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
28156
|
+
let u = options.writeUnknownFields;
|
|
28157
|
+
if (u !== false)
|
|
28158
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
28159
|
+
return writer;
|
|
28160
|
+
}
|
|
28161
|
+
}
|
|
28162
|
+
/**
|
|
28163
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth
|
|
28164
|
+
*/
|
|
28165
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth$Type();
|
|
28166
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
28167
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer$Type extends MessageType<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer> {
|
|
28168
|
+
constructor() {
|
|
28169
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer", [
|
|
28170
|
+
{ no: 1, name: "fromSecret", kind: "scalar", oneof: "type", T: 9 /*ScalarType.STRING*/ }
|
|
28171
|
+
]);
|
|
28172
|
+
}
|
|
28173
|
+
create(value?: PartialMessage<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer>): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer {
|
|
28174
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
28175
|
+
message.type = { oneofKind: undefined };
|
|
28176
|
+
if (value !== undefined)
|
|
28177
|
+
reflectionMergePartial<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer>(this, message, value);
|
|
28178
|
+
return message;
|
|
28179
|
+
}
|
|
28180
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer {
|
|
28181
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
28182
|
+
while (reader.pos < end) {
|
|
28183
|
+
let [fieldNo, wireType] = reader.tag();
|
|
28184
|
+
switch (fieldNo) {
|
|
28185
|
+
case /* string fromSecret */ 1:
|
|
28186
|
+
message.type = {
|
|
28187
|
+
oneofKind: "fromSecret",
|
|
28188
|
+
fromSecret: reader.string()
|
|
28189
|
+
};
|
|
28190
|
+
break;
|
|
28191
|
+
default:
|
|
28192
|
+
let u = options.readUnknownField;
|
|
28193
|
+
if (u === "throw")
|
|
28194
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
28195
|
+
let d = reader.skip(wireType);
|
|
28196
|
+
if (u !== false)
|
|
28197
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
28198
|
+
}
|
|
28199
|
+
}
|
|
28200
|
+
return message;
|
|
28201
|
+
}
|
|
28202
|
+
internalBinaryWrite(message: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
28203
|
+
/* string fromSecret = 1; */
|
|
28204
|
+
if (message.type.oneofKind === "fromSecret")
|
|
28205
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type.fromSecret);
|
|
28206
|
+
let u = options.writeUnknownFields;
|
|
28207
|
+
if (u !== false)
|
|
28208
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
28209
|
+
return writer;
|
|
28210
|
+
}
|
|
28211
|
+
}
|
|
28212
|
+
/**
|
|
28213
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer
|
|
28214
|
+
*/
|
|
28215
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer$Type();
|
|
28216
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
28217
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic$Type extends MessageType<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic> {
|
|
28218
|
+
constructor() {
|
|
28219
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic", [
|
|
28220
|
+
{ no: 1, name: "username", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
28221
|
+
{ no: 2, name: "password", kind: "message", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password }
|
|
28222
|
+
]);
|
|
28223
|
+
}
|
|
28224
|
+
create(value?: PartialMessage<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic>): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic {
|
|
28225
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
28226
|
+
message.username = "";
|
|
28227
|
+
if (value !== undefined)
|
|
28228
|
+
reflectionMergePartial<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic>(this, message, value);
|
|
28229
|
+
return message;
|
|
28230
|
+
}
|
|
28231
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic {
|
|
28232
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
28233
|
+
while (reader.pos < end) {
|
|
28234
|
+
let [fieldNo, wireType] = reader.tag();
|
|
28235
|
+
switch (fieldNo) {
|
|
28236
|
+
case /* string username */ 1:
|
|
28237
|
+
message.username = reader.string();
|
|
28238
|
+
break;
|
|
28239
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password password */ 2:
|
|
28240
|
+
message.password = ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password.internalBinaryRead(reader, reader.uint32(), options, message.password);
|
|
28241
|
+
break;
|
|
28242
|
+
default:
|
|
28243
|
+
let u = options.readUnknownField;
|
|
28244
|
+
if (u === "throw")
|
|
28245
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
28246
|
+
let d = reader.skip(wireType);
|
|
28247
|
+
if (u !== false)
|
|
28248
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
28249
|
+
}
|
|
28250
|
+
}
|
|
28251
|
+
return message;
|
|
28252
|
+
}
|
|
28253
|
+
internalBinaryWrite(message: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
28254
|
+
/* string username = 1; */
|
|
28255
|
+
if (message.username !== "")
|
|
28256
|
+
writer.tag(1, WireType.LengthDelimited).string(message.username);
|
|
28257
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password password = 2; */
|
|
28258
|
+
if (message.password)
|
|
28259
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password.internalBinaryWrite(message.password, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
28260
|
+
let u = options.writeUnknownFields;
|
|
28261
|
+
if (u !== false)
|
|
28262
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
28263
|
+
return writer;
|
|
28264
|
+
}
|
|
28265
|
+
}
|
|
28266
|
+
/**
|
|
28267
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic
|
|
28268
|
+
*/
|
|
28269
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic$Type();
|
|
28270
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
28271
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password$Type extends MessageType<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password> {
|
|
28272
|
+
constructor() {
|
|
28273
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password", [
|
|
28274
|
+
{ no: 1, name: "fromSecret", kind: "scalar", oneof: "type", T: 9 /*ScalarType.STRING*/ }
|
|
28275
|
+
]);
|
|
28276
|
+
}
|
|
28277
|
+
create(value?: PartialMessage<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password>): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password {
|
|
28278
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
28279
|
+
message.type = { oneofKind: undefined };
|
|
28280
|
+
if (value !== undefined)
|
|
28281
|
+
reflectionMergePartial<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password>(this, message, value);
|
|
28282
|
+
return message;
|
|
28283
|
+
}
|
|
28284
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password {
|
|
28285
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
28286
|
+
while (reader.pos < end) {
|
|
28287
|
+
let [fieldNo, wireType] = reader.tag();
|
|
28288
|
+
switch (fieldNo) {
|
|
28289
|
+
case /* string fromSecret */ 1:
|
|
28290
|
+
message.type = {
|
|
28291
|
+
oneofKind: "fromSecret",
|
|
28292
|
+
fromSecret: reader.string()
|
|
28293
|
+
};
|
|
28294
|
+
break;
|
|
28295
|
+
default:
|
|
28296
|
+
let u = options.readUnknownField;
|
|
28297
|
+
if (u === "throw")
|
|
28298
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
28299
|
+
let d = reader.skip(wireType);
|
|
28300
|
+
if (u !== false)
|
|
28301
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
28302
|
+
}
|
|
28303
|
+
}
|
|
28304
|
+
return message;
|
|
28305
|
+
}
|
|
28306
|
+
internalBinaryWrite(message: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
28307
|
+
/* string fromSecret = 1; */
|
|
28308
|
+
if (message.type.oneofKind === "fromSecret")
|
|
28309
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type.fromSecret);
|
|
28310
|
+
let u = options.writeUnknownFields;
|
|
28311
|
+
if (u !== false)
|
|
28312
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
28313
|
+
return writer;
|
|
28314
|
+
}
|
|
28315
|
+
}
|
|
28316
|
+
/**
|
|
28317
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password
|
|
28318
|
+
*/
|
|
28319
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password$Type();
|
|
28320
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
28321
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom$Type extends MessageType<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom> {
|
|
28322
|
+
constructor() {
|
|
28323
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom", [
|
|
28324
|
+
{ no: 1, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
28325
|
+
{ no: 2, name: "value", kind: "message", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value }
|
|
28326
|
+
]);
|
|
28327
|
+
}
|
|
28328
|
+
create(value?: PartialMessage<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom>): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom {
|
|
28329
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
28330
|
+
message.header = "";
|
|
28331
|
+
if (value !== undefined)
|
|
28332
|
+
reflectionMergePartial<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom>(this, message, value);
|
|
28333
|
+
return message;
|
|
28334
|
+
}
|
|
28335
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom {
|
|
28336
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
28337
|
+
while (reader.pos < end) {
|
|
28338
|
+
let [fieldNo, wireType] = reader.tag();
|
|
28339
|
+
switch (fieldNo) {
|
|
28340
|
+
case /* string header */ 1:
|
|
28341
|
+
message.header = reader.string();
|
|
28342
|
+
break;
|
|
28343
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value value */ 2:
|
|
28344
|
+
message.value = ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value.internalBinaryRead(reader, reader.uint32(), options, message.value);
|
|
28345
|
+
break;
|
|
28346
|
+
default:
|
|
28347
|
+
let u = options.readUnknownField;
|
|
28348
|
+
if (u === "throw")
|
|
28349
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
28350
|
+
let d = reader.skip(wireType);
|
|
28351
|
+
if (u !== false)
|
|
28352
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
28353
|
+
}
|
|
28354
|
+
}
|
|
28355
|
+
return message;
|
|
28356
|
+
}
|
|
28357
|
+
internalBinaryWrite(message: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
28358
|
+
/* string header = 1; */
|
|
28359
|
+
if (message.header !== "")
|
|
28360
|
+
writer.tag(1, WireType.LengthDelimited).string(message.header);
|
|
28361
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value value = 2; */
|
|
28362
|
+
if (message.value)
|
|
28363
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value.internalBinaryWrite(message.value, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
28364
|
+
let u = options.writeUnknownFields;
|
|
28365
|
+
if (u !== false)
|
|
28366
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
28367
|
+
return writer;
|
|
28368
|
+
}
|
|
28369
|
+
}
|
|
28370
|
+
/**
|
|
28371
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom
|
|
28372
|
+
*/
|
|
28373
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom$Type();
|
|
28374
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
28375
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value$Type extends MessageType<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value> {
|
|
28376
|
+
constructor() {
|
|
28377
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value", [
|
|
28378
|
+
{ no: 1, name: "fromSecret", kind: "scalar", oneof: "type", T: 9 /*ScalarType.STRING*/ }
|
|
28379
|
+
]);
|
|
28380
|
+
}
|
|
28381
|
+
create(value?: PartialMessage<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value>): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value {
|
|
28382
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
28383
|
+
message.type = { oneofKind: undefined };
|
|
28384
|
+
if (value !== undefined)
|
|
28385
|
+
reflectionMergePartial<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value>(this, message, value);
|
|
28386
|
+
return message;
|
|
28387
|
+
}
|
|
28388
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value {
|
|
28389
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
28390
|
+
while (reader.pos < end) {
|
|
28391
|
+
let [fieldNo, wireType] = reader.tag();
|
|
28392
|
+
switch (fieldNo) {
|
|
28393
|
+
case /* string fromSecret */ 1:
|
|
28394
|
+
message.type = {
|
|
28395
|
+
oneofKind: "fromSecret",
|
|
28396
|
+
fromSecret: reader.string()
|
|
28397
|
+
};
|
|
28398
|
+
break;
|
|
28399
|
+
default:
|
|
28400
|
+
let u = options.readUnknownField;
|
|
28401
|
+
if (u === "throw")
|
|
28402
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
28403
|
+
let d = reader.skip(wireType);
|
|
28404
|
+
if (u !== false)
|
|
28405
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
28406
|
+
}
|
|
28407
|
+
}
|
|
28408
|
+
return message;
|
|
28409
|
+
}
|
|
28410
|
+
internalBinaryWrite(message: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
28411
|
+
/* string fromSecret = 1; */
|
|
28412
|
+
if (message.type.oneofKind === "fromSecret")
|
|
28413
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type.fromSecret);
|
|
28414
|
+
let u = options.writeUnknownFields;
|
|
28415
|
+
if (u !== false)
|
|
28416
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
28417
|
+
return writer;
|
|
28418
|
+
}
|
|
28419
|
+
}
|
|
28420
|
+
/**
|
|
28421
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value
|
|
28422
|
+
*/
|
|
28423
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value$Type();
|
|
28424
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
28425
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query$Type extends MessageType<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query> {
|
|
28426
|
+
constructor() {
|
|
28427
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query", [
|
|
28428
|
+
{ no: 1, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
28429
|
+
{ no: 2, name: "value", kind: "message", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value }
|
|
28430
|
+
]);
|
|
28431
|
+
}
|
|
28432
|
+
create(value?: PartialMessage<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query>): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query {
|
|
28433
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
28434
|
+
message.key = "";
|
|
28435
|
+
if (value !== undefined)
|
|
28436
|
+
reflectionMergePartial<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query>(this, message, value);
|
|
28437
|
+
return message;
|
|
28438
|
+
}
|
|
28439
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query {
|
|
28440
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
28441
|
+
while (reader.pos < end) {
|
|
28442
|
+
let [fieldNo, wireType] = reader.tag();
|
|
28443
|
+
switch (fieldNo) {
|
|
28444
|
+
case /* string key */ 1:
|
|
28445
|
+
message.key = reader.string();
|
|
28446
|
+
break;
|
|
28447
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value value */ 2:
|
|
28448
|
+
message.value = ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value.internalBinaryRead(reader, reader.uint32(), options, message.value);
|
|
28449
|
+
break;
|
|
28450
|
+
default:
|
|
28451
|
+
let u = options.readUnknownField;
|
|
28452
|
+
if (u === "throw")
|
|
28453
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
28454
|
+
let d = reader.skip(wireType);
|
|
28455
|
+
if (u !== false)
|
|
28456
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
28457
|
+
}
|
|
28458
|
+
}
|
|
28459
|
+
return message;
|
|
28460
|
+
}
|
|
28461
|
+
internalBinaryWrite(message: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
28462
|
+
/* string key = 1; */
|
|
28463
|
+
if (message.key !== "")
|
|
28464
|
+
writer.tag(1, WireType.LengthDelimited).string(message.key);
|
|
28465
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value value = 2; */
|
|
28466
|
+
if (message.value)
|
|
28467
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value.internalBinaryWrite(message.value, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
28468
|
+
let u = options.writeUnknownFields;
|
|
28469
|
+
if (u !== false)
|
|
28470
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
28471
|
+
return writer;
|
|
28472
|
+
}
|
|
28473
|
+
}
|
|
28474
|
+
/**
|
|
28475
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query
|
|
28476
|
+
*/
|
|
28477
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query$Type();
|
|
28478
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
28479
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value$Type extends MessageType<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value> {
|
|
28480
|
+
constructor() {
|
|
28481
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value", [
|
|
28482
|
+
{ no: 1, name: "fromSecret", kind: "scalar", oneof: "type", T: 9 /*ScalarType.STRING*/ }
|
|
28483
|
+
]);
|
|
28484
|
+
}
|
|
28485
|
+
create(value?: PartialMessage<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value>): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value {
|
|
28486
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
28487
|
+
message.type = { oneofKind: undefined };
|
|
28488
|
+
if (value !== undefined)
|
|
28489
|
+
reflectionMergePartial<ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value>(this, message, value);
|
|
28490
|
+
return message;
|
|
28491
|
+
}
|
|
28492
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value): ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value {
|
|
28493
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
28494
|
+
while (reader.pos < end) {
|
|
28495
|
+
let [fieldNo, wireType] = reader.tag();
|
|
28496
|
+
switch (fieldNo) {
|
|
28497
|
+
case /* string fromSecret */ 1:
|
|
28498
|
+
message.type = {
|
|
28499
|
+
oneofKind: "fromSecret",
|
|
28500
|
+
fromSecret: reader.string()
|
|
28501
|
+
};
|
|
28502
|
+
break;
|
|
28503
|
+
default:
|
|
28504
|
+
let u = options.readUnknownField;
|
|
28505
|
+
if (u === "throw")
|
|
28506
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
28507
|
+
let d = reader.skip(wireType);
|
|
28508
|
+
if (u !== false)
|
|
28509
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
28510
|
+
}
|
|
28511
|
+
}
|
|
28512
|
+
return message;
|
|
28513
|
+
}
|
|
28514
|
+
internalBinaryWrite(message: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
28515
|
+
/* string fromSecret = 1; */
|
|
28516
|
+
if (message.type.oneofKind === "fromSecret")
|
|
28517
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type.fromSecret);
|
|
28518
|
+
let u = options.writeUnknownFields;
|
|
28519
|
+
if (u !== false)
|
|
28520
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
28521
|
+
return writer;
|
|
28522
|
+
}
|
|
28523
|
+
}
|
|
28524
|
+
/**
|
|
28525
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value
|
|
28526
|
+
*/
|
|
28527
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value$Type();
|
|
28528
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
27908
28529
|
class ClusterConfig_Status$Type extends MessageType<ClusterConfig_Status> {
|
|
27909
28530
|
constructor() {
|
|
27910
28531
|
super("octelium.api.main.core.v1.ClusterConfig.Status", [
|
|
@@ -28051,12 +28672,16 @@ export const ClusterConfig_Status_NetworkConfig = new ClusterConfig_Status_Netwo
|
|
|
28051
28672
|
class ClusterConfig_Status_NetworkConfig_V4$Type extends MessageType<ClusterConfig_Status_NetworkConfig_V4> {
|
|
28052
28673
|
constructor() {
|
|
28053
28674
|
super("octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.V4", [
|
|
28054
|
-
{ no: 1, name: "clusterNetwork", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
28675
|
+
{ no: 1, name: "clusterNetwork", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
28676
|
+
{ no: 2, name: "gatewayBits", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
28677
|
+
{ no: 3, name: "regionBits", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
|
|
28055
28678
|
]);
|
|
28056
28679
|
}
|
|
28057
28680
|
create(value?: PartialMessage<ClusterConfig_Status_NetworkConfig_V4>): ClusterConfig_Status_NetworkConfig_V4 {
|
|
28058
28681
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
28059
28682
|
message.clusterNetwork = "";
|
|
28683
|
+
message.gatewayBits = 0;
|
|
28684
|
+
message.regionBits = 0;
|
|
28060
28685
|
if (value !== undefined)
|
|
28061
28686
|
reflectionMergePartial<ClusterConfig_Status_NetworkConfig_V4>(this, message, value);
|
|
28062
28687
|
return message;
|
|
@@ -28069,6 +28694,12 @@ class ClusterConfig_Status_NetworkConfig_V4$Type extends MessageType<ClusterConf
|
|
|
28069
28694
|
case /* string clusterNetwork */ 1:
|
|
28070
28695
|
message.clusterNetwork = reader.string();
|
|
28071
28696
|
break;
|
|
28697
|
+
case /* uint32 gatewayBits */ 2:
|
|
28698
|
+
message.gatewayBits = reader.uint32();
|
|
28699
|
+
break;
|
|
28700
|
+
case /* uint32 regionBits */ 3:
|
|
28701
|
+
message.regionBits = reader.uint32();
|
|
28702
|
+
break;
|
|
28072
28703
|
default:
|
|
28073
28704
|
let u = options.readUnknownField;
|
|
28074
28705
|
if (u === "throw")
|
|
@@ -28084,6 +28715,12 @@ class ClusterConfig_Status_NetworkConfig_V4$Type extends MessageType<ClusterConf
|
|
|
28084
28715
|
/* string clusterNetwork = 1; */
|
|
28085
28716
|
if (message.clusterNetwork !== "")
|
|
28086
28717
|
writer.tag(1, WireType.LengthDelimited).string(message.clusterNetwork);
|
|
28718
|
+
/* uint32 gatewayBits = 2; */
|
|
28719
|
+
if (message.gatewayBits !== 0)
|
|
28720
|
+
writer.tag(2, WireType.Varint).uint32(message.gatewayBits);
|
|
28721
|
+
/* uint32 regionBits = 3; */
|
|
28722
|
+
if (message.regionBits !== 0)
|
|
28723
|
+
writer.tag(3, WireType.Varint).uint32(message.regionBits);
|
|
28087
28724
|
let u = options.writeUnknownFields;
|
|
28088
28725
|
if (u !== false)
|
|
28089
28726
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -30490,7 +31127,8 @@ class Authenticator_Status_Info_FIDO$Type extends MessageType<Authenticator_Stat
|
|
|
30490
31127
|
{ no: 7, name: "backupEligible", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
30491
31128
|
{ no: 8, name: "isAttestationVerified", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
30492
31129
|
{ no: 9, name: "isSoftware", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
30493
|
-
{ no: 10, name: "isHardware", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
31130
|
+
{ no: 10, name: "isHardware", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
31131
|
+
{ no: 11, name: "signCount", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
|
|
30494
31132
|
]);
|
|
30495
31133
|
}
|
|
30496
31134
|
create(value?: PartialMessage<Authenticator_Status_Info_FIDO>): Authenticator_Status_Info_FIDO {
|
|
@@ -30505,6 +31143,7 @@ class Authenticator_Status_Info_FIDO$Type extends MessageType<Authenticator_Stat
|
|
|
30505
31143
|
message.isAttestationVerified = false;
|
|
30506
31144
|
message.isSoftware = false;
|
|
30507
31145
|
message.isHardware = false;
|
|
31146
|
+
message.signCount = 0;
|
|
30508
31147
|
if (value !== undefined)
|
|
30509
31148
|
reflectionMergePartial<Authenticator_Status_Info_FIDO>(this, message, value);
|
|
30510
31149
|
return message;
|
|
@@ -30544,6 +31183,9 @@ class Authenticator_Status_Info_FIDO$Type extends MessageType<Authenticator_Stat
|
|
|
30544
31183
|
case /* bool isHardware */ 10:
|
|
30545
31184
|
message.isHardware = reader.bool();
|
|
30546
31185
|
break;
|
|
31186
|
+
case /* uint32 signCount */ 11:
|
|
31187
|
+
message.signCount = reader.uint32();
|
|
31188
|
+
break;
|
|
30547
31189
|
default:
|
|
30548
31190
|
let u = options.readUnknownField;
|
|
30549
31191
|
if (u === "throw")
|
|
@@ -30586,6 +31228,9 @@ class Authenticator_Status_Info_FIDO$Type extends MessageType<Authenticator_Stat
|
|
|
30586
31228
|
/* bool isHardware = 10; */
|
|
30587
31229
|
if (message.isHardware !== false)
|
|
30588
31230
|
writer.tag(10, WireType.Varint).bool(message.isHardware);
|
|
31231
|
+
/* uint32 signCount = 11; */
|
|
31232
|
+
if (message.signCount !== 0)
|
|
31233
|
+
writer.tag(11, WireType.Varint).uint32(message.signCount);
|
|
30589
31234
|
let u = options.writeUnknownFields;
|
|
30590
31235
|
if (u !== false)
|
|
30591
31236
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|