@structured-id/proto 0.6.0 → 0.8.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/CHANGELOG.md +14 -0
- package/dist/generated/google/protobuf/descriptor.d.ts +61 -0
- package/dist/generated/google/protobuf/descriptor.js +72 -1
- package/dist/generated/google/protobuf/descriptor.js.map +1 -1
- package/dist/generated/google/protobuf/struct.d.ts +3 -3
- package/dist/generated/google/protobuf/struct.js +3 -3
- package/dist/generated/google/protobuf/struct.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +68 -0
- package/dist/generated/sid/v1/authn/auth.js +120 -3
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/dist/generated/sid/v1/authn/issuer.d.ts +25 -19
- package/dist/generated/sid/v1/authn/issuer.js +24 -30
- package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
- package/dist/generated/sid/v1/authz/authz.d.ts +143 -10
- package/dist/generated/sid/v1/authz/authz.js +206 -30
- package/dist/generated/sid/v1/authz/authz.js.map +1 -1
- package/dist/generated/sid/v1/common/errors.d.ts +7 -0
- package/dist/generated/sid/v1/common/errors.js +7 -0
- package/dist/generated/sid/v1/common/errors.js.map +1 -1
- package/dist/generated/sid/v1/ui/public_settings.d.ts +9 -0
- package/dist/generated/sid/v1/ui/public_settings.js +9 -1
- package/dist/generated/sid/v1/ui/public_settings.js.map +1 -1
- package/package.json +4 -4
|
@@ -125,9 +125,9 @@ export interface ListValue {
|
|
|
125
125
|
* the null value for the `Value` type union.
|
|
126
126
|
*
|
|
127
127
|
* A field of type `NullValue` with any value other than `0` is considered
|
|
128
|
-
* invalid. Most ProtoJSON serializers will emit a Value with a `null_value`
|
|
129
|
-
* as a JSON `null` regardless of the integer value, and so will round trip
|
|
130
|
-
* a `0` value.
|
|
128
|
+
* invalid. Most ProtoJSON serializers will emit a `Value` with a `null_value`
|
|
129
|
+
* set as a JSON `null` regardless of the integer value, and so will round trip
|
|
130
|
+
* to a `0` value.
|
|
131
131
|
*
|
|
132
132
|
* @generated from protobuf enum google.protobuf.NullValue
|
|
133
133
|
*/
|
|
@@ -11,9 +11,9 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
11
11
|
* the null value for the `Value` type union.
|
|
12
12
|
*
|
|
13
13
|
* A field of type `NullValue` with any value other than `0` is considered
|
|
14
|
-
* invalid. Most ProtoJSON serializers will emit a Value with a `null_value`
|
|
15
|
-
* as a JSON `null` regardless of the integer value, and so will round trip
|
|
16
|
-
* a `0` value.
|
|
14
|
+
* invalid. Most ProtoJSON serializers will emit a `Value` with a `null_value`
|
|
15
|
+
* set as a JSON `null` regardless of the integer value, and so will round trip
|
|
16
|
+
* to a `0` value.
|
|
17
17
|
*
|
|
18
18
|
* @generated from protobuf enum google.protobuf.NullValue
|
|
19
19
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"struct.js","sourceRoot":"","sources":["../../../../src/generated/google/protobuf/struct.ts"],"names":[],"mappings":"AAqCA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAKvD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAgHnD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAN,IAAY,SAOX;AAPD,WAAY,SAAS;IACjB;;;;OAIG;IACH,qDAAc,CAAA;AAClB,CAAC,EAPW,SAAS,KAAT,SAAS,QAOpB;AACD,2FAA2F;AAC3F,MAAM,WAAY,SAAQ,WAAmB;IACzC;QACI,KAAK,CAAC,wBAAwB,EAAE;YAC5B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QA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,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,cAAc,EAAE,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"google/protobuf/struct.proto\" (package \"google.protobuf\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Protocol Buffers - Google's data interchange format\n// Copyright 2008 Google Inc. All rights reserved.\n// https://developers.google.com/protocol-buffers/\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { isJsonObject } from \"@protobuf-ts/runtime\";\nimport { typeofJsonValue } from \"@protobuf-ts/runtime\";\nimport type { JsonValue } from \"@protobuf-ts/runtime\";\nimport type { JsonReadOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonObject } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * Represents a JSON object.\n *\n * An unordered key-value map, intending to perfectly capture the semantics of a\n * JSON object. This enables parsing any arbitrary JSON payload as a message\n * field in ProtoJSON format.\n *\n * This follows RFC 8259 guidelines for interoperable JSON: notably this type\n * cannot represent large Int64 values or `NaN`/`Infinity` numbers,\n * since the JSON format generally does not support those values in its number\n * type.\n *\n * If you do not intend to parse arbitrary JSON into your message, a custom\n * typed message should be preferred instead of using this type.\n *\n * @generated from protobuf message google.protobuf.Struct\n */\nexport interface Struct {\n /**\n * Unordered map of dynamically typed values.\n *\n * @generated from protobuf field: map<string, google.protobuf.Value> fields = 1\n */\n fields: {\n [key: string]: Value;\n };\n}\n/**\n * Represents a JSON value.\n *\n * `Value` represents a dynamically typed value which can be either\n * null, a number, a string, a boolean, a recursive struct value, or a\n * list of values. A producer of value is expected to set one of these\n * variants. Absence of any variant is an invalid state.\n *\n * @generated from protobuf message google.protobuf.Value\n */\nexport interface Value {\n /**\n * The kind of value.\n *\n * @generated from protobuf oneof: kind\n */\n kind: {\n oneofKind: \"nullValue\";\n /**\n * Represents a JSON `null`.\n *\n * @generated from protobuf field: google.protobuf.NullValue null_value = 1\n */\n nullValue: NullValue;\n } | {\n oneofKind: \"numberValue\";\n /**\n * Represents a JSON number. Must not be `NaN`, `Infinity` or\n * `-Infinity`, since those are not supported in JSON. This also cannot\n * represent large Int64 values, since JSON format generally does not\n * support them in its number type.\n *\n * @generated from protobuf field: double number_value = 2\n */\n numberValue: number;\n } | {\n oneofKind: \"stringValue\";\n /**\n * Represents a JSON string.\n *\n * @generated from protobuf field: string string_value = 3\n */\n stringValue: string;\n } | {\n oneofKind: \"boolValue\";\n /**\n * Represents a JSON boolean (`true` or `false` literal in JSON).\n *\n * @generated from protobuf field: bool bool_value = 4\n */\n boolValue: boolean;\n } | {\n oneofKind: \"structValue\";\n /**\n * Represents a JSON object.\n *\n * @generated from protobuf field: google.protobuf.Struct struct_value = 5\n */\n structValue: Struct;\n } | {\n oneofKind: \"listValue\";\n /**\n * Represents a JSON array.\n *\n * @generated from protobuf field: google.protobuf.ListValue list_value = 6\n */\n listValue: ListValue;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * Represents a JSON array.\n *\n * @generated from protobuf message google.protobuf.ListValue\n */\nexport interface ListValue {\n /**\n * Repeated field of dynamically typed values.\n *\n * @generated from protobuf field: repeated google.protobuf.Value values = 1\n */\n values: Value[];\n}\n/**\n * Represents a JSON `null`.\n *\n * `NullValue` is a sentinel, using an enum with only one value to represent\n * the null value for the `Value` type union.\n *\n * A field of type `NullValue` with any value other than `0` is considered\n * invalid. Most ProtoJSON serializers will emit a Value with a `null_value` set\n * as a JSON `null` regardless of the integer value, and so will round trip to\n * a `0` value.\n *\n * @generated from protobuf enum google.protobuf.NullValue\n */\nexport enum NullValue {\n /**\n * Null value.\n *\n * @generated from protobuf enum value: NULL_VALUE = 0;\n */\n NULL_VALUE = 0\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Struct$Type extends MessageType<Struct> {\n constructor() {\n super(\"google.protobuf.Struct\", [\n { no: 1, name: \"fields\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"message\", T: () => Value } }\n ]);\n }\n /**\n * Encode `Struct` to JSON object.\n */\n internalJsonWrite(message: Struct, options: JsonWriteOptions): JsonValue {\n let json: JsonObject = {};\n for (let [k, v] of Object.entries(message.fields)) {\n json[k] = Value.toJson(v);\n }\n return json;\n }\n /**\n * Decode `Struct` from JSON object.\n */\n internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Struct): Struct {\n if (!isJsonObject(json))\n throw new globalThis.Error(\"Unable to parse message \" + this.typeName + \" from JSON \" + typeofJsonValue(json) + \".\");\n if (!target)\n target = this.create();\n for (let [k, v] of globalThis.Object.entries(json)) {\n target.fields[k] = Value.fromJson(v);\n }\n return target;\n }\n create(value?: PartialMessage<Struct>): Struct {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.fields = {};\n if (value !== undefined)\n reflectionMergePartial<Struct>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Struct): Struct {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* map<string, google.protobuf.Value> fields */ 1:\n this.binaryReadMap1(message.fields, reader, options);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n private binaryReadMap1(map: Struct[\"fields\"], reader: IBinaryReader, options: BinaryReadOptions): void {\n let len = reader.uint32(), end = reader.pos + len, key: keyof Struct[\"fields\"] | undefined, val: Struct[\"fields\"][any] | undefined;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case 1:\n key = reader.string();\n break;\n case 2:\n val = Value.internalBinaryRead(reader, reader.uint32(), options);\n break;\n default: throw new globalThis.Error(\"unknown map entry field for google.protobuf.Struct.fields\");\n }\n }\n map[key ?? \"\"] = val ?? Value.create();\n }\n internalBinaryWrite(message: Struct, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* map<string, google.protobuf.Value> fields = 1; */\n for (let k of globalThis.Object.keys(message.fields)) {\n writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k);\n writer.tag(2, WireType.LengthDelimited).fork();\n Value.internalBinaryWrite(message.fields[k], writer, options);\n writer.join().join();\n }\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Struct\n */\nexport const Struct = new Struct$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Value$Type extends MessageType<Value> {\n constructor() {\n super(\"google.protobuf.Value\", [\n { no: 1, name: \"null_value\", kind: \"enum\", oneof: \"kind\", T: () => [\"google.protobuf.NullValue\", NullValue] },\n { no: 2, name: \"number_value\", kind: \"scalar\", oneof: \"kind\", T: 1 /*ScalarType.DOUBLE*/ },\n { no: 3, name: \"string_value\", kind: \"scalar\", oneof: \"kind\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"bool_value\", kind: \"scalar\", oneof: \"kind\", T: 8 /*ScalarType.BOOL*/ },\n { no: 5, name: \"struct_value\", kind: \"message\", oneof: \"kind\", T: () => Struct },\n { no: 6, name: \"list_value\", kind: \"message\", oneof: \"kind\", T: () => ListValue }\n ]);\n }\n /**\n * Encode `Value` to JSON value.\n */\n internalJsonWrite(message: Value, options: JsonWriteOptions): JsonValue {\n if (message.kind.oneofKind === undefined)\n throw new globalThis.Error();\n switch (message.kind.oneofKind) {\n case undefined: throw new globalThis.Error();\n case \"boolValue\": return message.kind.boolValue;\n case \"nullValue\": return null;\n case \"numberValue\":\n let numberValue = message.kind.numberValue;\n if (typeof numberValue == \"number\" && !Number.isFinite(numberValue))\n throw new globalThis.Error();\n return numberValue;\n case \"stringValue\": return message.kind.stringValue;\n case \"listValue\":\n let listValueField = this.fields.find(f => f.no === 6);\n if (listValueField?.kind !== \"message\")\n throw new globalThis.Error();\n return listValueField.T().toJson(message.kind.listValue);\n case \"structValue\":\n let structValueField = this.fields.find(f => f.no === 5);\n if (structValueField?.kind !== \"message\")\n throw new globalThis.Error();\n return structValueField.T().toJson(message.kind.structValue);\n }\n }\n /**\n * Decode `Value` from JSON value.\n */\n internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Value): Value {\n if (!target)\n target = this.create();\n switch (typeof json) {\n case \"number\":\n target.kind = { oneofKind: \"numberValue\", numberValue: json };\n break;\n case \"string\":\n target.kind = { oneofKind: \"stringValue\", stringValue: json };\n break;\n case \"boolean\":\n target.kind = { oneofKind: \"boolValue\", boolValue: json };\n break;\n case \"object\":\n if (json === null) {\n target.kind = { oneofKind: \"nullValue\", nullValue: NullValue.NULL_VALUE };\n }\n else if (globalThis.Array.isArray(json)) {\n target.kind = { oneofKind: \"listValue\", listValue: ListValue.fromJson(json) };\n }\n else {\n target.kind = { oneofKind: \"structValue\", structValue: Struct.fromJson(json) };\n }\n break;\n default: throw new globalThis.Error(\"Unable to parse \" + this.typeName + \" from JSON \" + typeofJsonValue(json));\n }\n return target;\n }\n create(value?: PartialMessage<Value>): Value {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.kind = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<Value>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Value): Value {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* google.protobuf.NullValue null_value */ 1:\n message.kind = {\n oneofKind: \"nullValue\",\n nullValue: reader.int32()\n };\n break;\n case /* double number_value */ 2:\n message.kind = {\n oneofKind: \"numberValue\",\n numberValue: reader.double()\n };\n break;\n case /* string string_value */ 3:\n message.kind = {\n oneofKind: \"stringValue\",\n stringValue: reader.string()\n };\n break;\n case /* bool bool_value */ 4:\n message.kind = {\n oneofKind: \"boolValue\",\n boolValue: reader.bool()\n };\n break;\n case /* google.protobuf.Struct struct_value */ 5:\n message.kind = {\n oneofKind: \"structValue\",\n structValue: Struct.internalBinaryRead(reader, reader.uint32(), options, (message.kind as any).structValue)\n };\n break;\n case /* google.protobuf.ListValue list_value */ 6:\n message.kind = {\n oneofKind: \"listValue\",\n listValue: ListValue.internalBinaryRead(reader, reader.uint32(), options, (message.kind as any).listValue)\n };\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* google.protobuf.NullValue null_value = 1; */\n if (message.kind.oneofKind === \"nullValue\")\n writer.tag(1, WireType.Varint).int32(message.kind.nullValue);\n /* double number_value = 2; */\n if (message.kind.oneofKind === \"numberValue\")\n writer.tag(2, WireType.Bit64).double(message.kind.numberValue);\n /* string string_value = 3; */\n if (message.kind.oneofKind === \"stringValue\")\n writer.tag(3, WireType.LengthDelimited).string(message.kind.stringValue);\n /* bool bool_value = 4; */\n if (message.kind.oneofKind === \"boolValue\")\n writer.tag(4, WireType.Varint).bool(message.kind.boolValue);\n /* google.protobuf.Struct struct_value = 5; */\n if (message.kind.oneofKind === \"structValue\")\n Struct.internalBinaryWrite(message.kind.structValue, writer.tag(5, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.ListValue list_value = 6; */\n if (message.kind.oneofKind === \"listValue\")\n ListValue.internalBinaryWrite(message.kind.listValue, writer.tag(6, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Value\n */\nexport const Value = new Value$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListValue$Type extends MessageType<ListValue> {\n constructor() {\n super(\"google.protobuf.ListValue\", [\n { no: 1, name: \"values\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Value }\n ]);\n }\n /**\n * Encode `ListValue` to JSON array.\n */\n internalJsonWrite(message: ListValue, options: JsonWriteOptions): JsonValue {\n return message.values.map(v => Value.toJson(v));\n }\n /**\n * Decode `ListValue` from JSON array.\n */\n internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: ListValue): ListValue {\n if (!globalThis.Array.isArray(json))\n throw new globalThis.Error(\"Unable to parse \" + this.typeName + \" from JSON \" + typeofJsonValue(json));\n if (!target)\n target = this.create();\n let values = json.map(v => Value.fromJson(v));\n target.values.push(...values);\n return target;\n }\n create(value?: PartialMessage<ListValue>): ListValue {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.values = [];\n if (value !== undefined)\n reflectionMergePartial<ListValue>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListValue): ListValue {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated google.protobuf.Value values */ 1:\n message.values.push(Value.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ListValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated google.protobuf.Value values = 1; */\n for (let i = 0; i < message.values.length; i++)\n Value.internalBinaryWrite(message.values[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.ListValue\n */\nexport const ListValue = new ListValue$Type();\n"]}
|
|
1
|
+
{"version":3,"file":"struct.js","sourceRoot":"","sources":["../../../../src/generated/google/protobuf/struct.ts"],"names":[],"mappings":"AAqCA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAKvD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAgHnD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAN,IAAY,SAOX;AAPD,WAAY,SAAS;IACjB;;;;OAIG;IACH,qDAAc,CAAA;AAClB,CAAC,EAPW,SAAS,KAAT,SAAS,QAOpB;AACD,2FAA2F;AAC3F,MAAM,WAAY,SAAQ,WAAmB;IACzC;QACI,KAAK,CAAC,wBAAwB,EAAE;YAC5B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC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C,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,cAAc,EAAE,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"google/protobuf/struct.proto\" (package \"google.protobuf\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Protocol Buffers - Google's data interchange format\n// Copyright 2008 Google Inc. All rights reserved.\n// https://developers.google.com/protocol-buffers/\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { isJsonObject } from \"@protobuf-ts/runtime\";\nimport { typeofJsonValue } from \"@protobuf-ts/runtime\";\nimport type { JsonValue } from \"@protobuf-ts/runtime\";\nimport type { JsonReadOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonObject } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * Represents a JSON object.\n *\n * An unordered key-value map, intending to perfectly capture the semantics of a\n * JSON object. This enables parsing any arbitrary JSON payload as a message\n * field in ProtoJSON format.\n *\n * This follows RFC 8259 guidelines for interoperable JSON: notably this type\n * cannot represent large Int64 values or `NaN`/`Infinity` numbers,\n * since the JSON format generally does not support those values in its number\n * type.\n *\n * If you do not intend to parse arbitrary JSON into your message, a custom\n * typed message should be preferred instead of using this type.\n *\n * @generated from protobuf message google.protobuf.Struct\n */\nexport interface Struct {\n /**\n * Unordered map of dynamically typed values.\n *\n * @generated from protobuf field: map<string, google.protobuf.Value> fields = 1\n */\n fields: {\n [key: string]: Value;\n };\n}\n/**\n * Represents a JSON value.\n *\n * `Value` represents a dynamically typed value which can be either\n * null, a number, a string, a boolean, a recursive struct value, or a\n * list of values. A producer of value is expected to set one of these\n * variants. Absence of any variant is an invalid state.\n *\n * @generated from protobuf message google.protobuf.Value\n */\nexport interface Value {\n /**\n * The kind of value.\n *\n * @generated from protobuf oneof: kind\n */\n kind: {\n oneofKind: \"nullValue\";\n /**\n * Represents a JSON `null`.\n *\n * @generated from protobuf field: google.protobuf.NullValue null_value = 1\n */\n nullValue: NullValue;\n } | {\n oneofKind: \"numberValue\";\n /**\n * Represents a JSON number. Must not be `NaN`, `Infinity` or\n * `-Infinity`, since those are not supported in JSON. This also cannot\n * represent large Int64 values, since JSON format generally does not\n * support them in its number type.\n *\n * @generated from protobuf field: double number_value = 2\n */\n numberValue: number;\n } | {\n oneofKind: \"stringValue\";\n /**\n * Represents a JSON string.\n *\n * @generated from protobuf field: string string_value = 3\n */\n stringValue: string;\n } | {\n oneofKind: \"boolValue\";\n /**\n * Represents a JSON boolean (`true` or `false` literal in JSON).\n *\n * @generated from protobuf field: bool bool_value = 4\n */\n boolValue: boolean;\n } | {\n oneofKind: \"structValue\";\n /**\n * Represents a JSON object.\n *\n * @generated from protobuf field: google.protobuf.Struct struct_value = 5\n */\n structValue: Struct;\n } | {\n oneofKind: \"listValue\";\n /**\n * Represents a JSON array.\n *\n * @generated from protobuf field: google.protobuf.ListValue list_value = 6\n */\n listValue: ListValue;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * Represents a JSON array.\n *\n * @generated from protobuf message google.protobuf.ListValue\n */\nexport interface ListValue {\n /**\n * Repeated field of dynamically typed values.\n *\n * @generated from protobuf field: repeated google.protobuf.Value values = 1\n */\n values: Value[];\n}\n/**\n * Represents a JSON `null`.\n *\n * `NullValue` is a sentinel, using an enum with only one value to represent\n * the null value for the `Value` type union.\n *\n * A field of type `NullValue` with any value other than `0` is considered\n * invalid. Most ProtoJSON serializers will emit a `Value` with a `null_value`\n * set as a JSON `null` regardless of the integer value, and so will round trip\n * to a `0` value.\n *\n * @generated from protobuf enum google.protobuf.NullValue\n */\nexport enum NullValue {\n /**\n * Null value.\n *\n * @generated from protobuf enum value: NULL_VALUE = 0;\n */\n NULL_VALUE = 0\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Struct$Type extends MessageType<Struct> {\n constructor() {\n super(\"google.protobuf.Struct\", [\n { no: 1, name: \"fields\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"message\", T: () => Value } }\n ]);\n }\n /**\n * Encode `Struct` to JSON object.\n */\n internalJsonWrite(message: Struct, options: JsonWriteOptions): JsonValue {\n let json: JsonObject = {};\n for (let [k, v] of Object.entries(message.fields)) {\n json[k] = Value.toJson(v);\n }\n return json;\n }\n /**\n * Decode `Struct` from JSON object.\n */\n internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Struct): Struct {\n if (!isJsonObject(json))\n throw new globalThis.Error(\"Unable to parse message \" + this.typeName + \" from JSON \" + typeofJsonValue(json) + \".\");\n if (!target)\n target = this.create();\n for (let [k, v] of globalThis.Object.entries(json)) {\n target.fields[k] = Value.fromJson(v);\n }\n return target;\n }\n create(value?: PartialMessage<Struct>): Struct {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.fields = {};\n if (value !== undefined)\n reflectionMergePartial<Struct>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Struct): Struct {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* map<string, google.protobuf.Value> fields */ 1:\n this.binaryReadMap1(message.fields, reader, options);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n private binaryReadMap1(map: Struct[\"fields\"], reader: IBinaryReader, options: BinaryReadOptions): void {\n let len = reader.uint32(), end = reader.pos + len, key: keyof Struct[\"fields\"] | undefined, val: Struct[\"fields\"][any] | undefined;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case 1:\n key = reader.string();\n break;\n case 2:\n val = Value.internalBinaryRead(reader, reader.uint32(), options);\n break;\n default: throw new globalThis.Error(\"unknown map entry field for google.protobuf.Struct.fields\");\n }\n }\n map[key ?? \"\"] = val ?? Value.create();\n }\n internalBinaryWrite(message: Struct, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* map<string, google.protobuf.Value> fields = 1; */\n for (let k of globalThis.Object.keys(message.fields)) {\n writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k);\n writer.tag(2, WireType.LengthDelimited).fork();\n Value.internalBinaryWrite(message.fields[k], writer, options);\n writer.join().join();\n }\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Struct\n */\nexport const Struct = new Struct$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Value$Type extends MessageType<Value> {\n constructor() {\n super(\"google.protobuf.Value\", [\n { no: 1, name: \"null_value\", kind: \"enum\", oneof: \"kind\", T: () => [\"google.protobuf.NullValue\", NullValue] },\n { no: 2, name: \"number_value\", kind: \"scalar\", oneof: \"kind\", T: 1 /*ScalarType.DOUBLE*/ },\n { no: 3, name: \"string_value\", kind: \"scalar\", oneof: \"kind\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"bool_value\", kind: \"scalar\", oneof: \"kind\", T: 8 /*ScalarType.BOOL*/ },\n { no: 5, name: \"struct_value\", kind: \"message\", oneof: \"kind\", T: () => Struct },\n { no: 6, name: \"list_value\", kind: \"message\", oneof: \"kind\", T: () => ListValue }\n ]);\n }\n /**\n * Encode `Value` to JSON value.\n */\n internalJsonWrite(message: Value, options: JsonWriteOptions): JsonValue {\n if (message.kind.oneofKind === undefined)\n throw new globalThis.Error();\n switch (message.kind.oneofKind) {\n case undefined: throw new globalThis.Error();\n case \"boolValue\": return message.kind.boolValue;\n case \"nullValue\": return null;\n case \"numberValue\":\n let numberValue = message.kind.numberValue;\n if (typeof numberValue == \"number\" && !Number.isFinite(numberValue))\n throw new globalThis.Error();\n return numberValue;\n case \"stringValue\": return message.kind.stringValue;\n case \"listValue\":\n let listValueField = this.fields.find(f => f.no === 6);\n if (listValueField?.kind !== \"message\")\n throw new globalThis.Error();\n return listValueField.T().toJson(message.kind.listValue);\n case \"structValue\":\n let structValueField = this.fields.find(f => f.no === 5);\n if (structValueField?.kind !== \"message\")\n throw new globalThis.Error();\n return structValueField.T().toJson(message.kind.structValue);\n }\n }\n /**\n * Decode `Value` from JSON value.\n */\n internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Value): Value {\n if (!target)\n target = this.create();\n switch (typeof json) {\n case \"number\":\n target.kind = { oneofKind: \"numberValue\", numberValue: json };\n break;\n case \"string\":\n target.kind = { oneofKind: \"stringValue\", stringValue: json };\n break;\n case \"boolean\":\n target.kind = { oneofKind: \"boolValue\", boolValue: json };\n break;\n case \"object\":\n if (json === null) {\n target.kind = { oneofKind: \"nullValue\", nullValue: NullValue.NULL_VALUE };\n }\n else if (globalThis.Array.isArray(json)) {\n target.kind = { oneofKind: \"listValue\", listValue: ListValue.fromJson(json) };\n }\n else {\n target.kind = { oneofKind: \"structValue\", structValue: Struct.fromJson(json) };\n }\n break;\n default: throw new globalThis.Error(\"Unable to parse \" + this.typeName + \" from JSON \" + typeofJsonValue(json));\n }\n return target;\n }\n create(value?: PartialMessage<Value>): Value {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.kind = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<Value>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Value): Value {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* google.protobuf.NullValue null_value */ 1:\n message.kind = {\n oneofKind: \"nullValue\",\n nullValue: reader.int32()\n };\n break;\n case /* double number_value */ 2:\n message.kind = {\n oneofKind: \"numberValue\",\n numberValue: reader.double()\n };\n break;\n case /* string string_value */ 3:\n message.kind = {\n oneofKind: \"stringValue\",\n stringValue: reader.string()\n };\n break;\n case /* bool bool_value */ 4:\n message.kind = {\n oneofKind: \"boolValue\",\n boolValue: reader.bool()\n };\n break;\n case /* google.protobuf.Struct struct_value */ 5:\n message.kind = {\n oneofKind: \"structValue\",\n structValue: Struct.internalBinaryRead(reader, reader.uint32(), options, (message.kind as any).structValue)\n };\n break;\n case /* google.protobuf.ListValue list_value */ 6:\n message.kind = {\n oneofKind: \"listValue\",\n listValue: ListValue.internalBinaryRead(reader, reader.uint32(), options, (message.kind as any).listValue)\n };\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* google.protobuf.NullValue null_value = 1; */\n if (message.kind.oneofKind === \"nullValue\")\n writer.tag(1, WireType.Varint).int32(message.kind.nullValue);\n /* double number_value = 2; */\n if (message.kind.oneofKind === \"numberValue\")\n writer.tag(2, WireType.Bit64).double(message.kind.numberValue);\n /* string string_value = 3; */\n if (message.kind.oneofKind === \"stringValue\")\n writer.tag(3, WireType.LengthDelimited).string(message.kind.stringValue);\n /* bool bool_value = 4; */\n if (message.kind.oneofKind === \"boolValue\")\n writer.tag(4, WireType.Varint).bool(message.kind.boolValue);\n /* google.protobuf.Struct struct_value = 5; */\n if (message.kind.oneofKind === \"structValue\")\n Struct.internalBinaryWrite(message.kind.structValue, writer.tag(5, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.ListValue list_value = 6; */\n if (message.kind.oneofKind === \"listValue\")\n ListValue.internalBinaryWrite(message.kind.listValue, writer.tag(6, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Value\n */\nexport const Value = new Value$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListValue$Type extends MessageType<ListValue> {\n constructor() {\n super(\"google.protobuf.ListValue\", [\n { no: 1, name: \"values\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Value }\n ]);\n }\n /**\n * Encode `ListValue` to JSON array.\n */\n internalJsonWrite(message: ListValue, options: JsonWriteOptions): JsonValue {\n return message.values.map(v => Value.toJson(v));\n }\n /**\n * Decode `ListValue` from JSON array.\n */\n internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: ListValue): ListValue {\n if (!globalThis.Array.isArray(json))\n throw new globalThis.Error(\"Unable to parse \" + this.typeName + \" from JSON \" + typeofJsonValue(json));\n if (!target)\n target = this.create();\n let values = json.map(v => Value.fromJson(v));\n target.values.push(...values);\n return target;\n }\n create(value?: PartialMessage<ListValue>): ListValue {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.values = [];\n if (value !== undefined)\n reflectionMergePartial<ListValue>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListValue): ListValue {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated google.protobuf.Value values */ 1:\n message.values.push(Value.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ListValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated google.protobuf.Value values = 1; */\n for (let i = 0; i < message.values.length; i++)\n Value.internalBinaryWrite(message.values[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.ListValue\n */\nexport const ListValue = new ListValue$Type();\n"]}
|
|
@@ -196,6 +196,38 @@ export interface OpaqueLoginFinishResponse {
|
|
|
196
196
|
* @generated from protobuf field: int64 expires_in = 3
|
|
197
197
|
*/
|
|
198
198
|
expiresIn: bigint;
|
|
199
|
+
/**
|
|
200
|
+
* Set by the server when the login requirements need a second factor
|
|
201
|
+
* beyond the one this ceremony proved and the account has one of these
|
|
202
|
+
* enrolled. The delivered credential is then a pending context: it
|
|
203
|
+
* authorizes only completing the sign-in with one of these methods
|
|
204
|
+
* (VerifyTotp for STEP_UP_METHOD_TOTP), which returns the session. Empty
|
|
205
|
+
* when the session is complete.
|
|
206
|
+
*
|
|
207
|
+
* @generated from protobuf field: repeated sid.v1.authn.StepUpMethod second_factors = 4
|
|
208
|
+
*/
|
|
209
|
+
secondFactors: StepUpMethod[];
|
|
210
|
+
/**
|
|
211
|
+
* The CSRF token a browser sends in `X-CSRF-Token` when it completes the
|
|
212
|
+
* pending context with its cookie; set only with `second_factors` on a
|
|
213
|
+
* browser delivery, in this response to the configured sign-in page's
|
|
214
|
+
* origin. It authenticates nothing by itself.
|
|
215
|
+
*
|
|
216
|
+
* @generated from protobuf field: optional string browser_csrf = 5
|
|
217
|
+
*/
|
|
218
|
+
browserCsrf?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Set by the server when this sign-in owes a second factor, the account has
|
|
221
|
+
* never enrolled one and it may enroll one of these first. The delivered
|
|
222
|
+
* credential is then a pending context, which authorizes only that first
|
|
223
|
+
* enrollment (StartTotpEnrollment and FinishTotpEnrollment for
|
|
224
|
+
* STEP_UP_METHOD_TOTP) and then completing the sign-in with the new factor.
|
|
225
|
+
* Empty on an account with established protection, whose lost factor goes
|
|
226
|
+
* through recovery instead.
|
|
227
|
+
*
|
|
228
|
+
* @generated from protobuf field: repeated sid.v1.authn.StepUpMethod enrollable_factors = 6
|
|
229
|
+
*/
|
|
230
|
+
enrollableFactors: StepUpMethod[];
|
|
199
231
|
}
|
|
200
232
|
/**
|
|
201
233
|
* @generated from protobuf message sid.v1.authn.OpaqueZkppRegistrationStartRequest
|
|
@@ -557,6 +589,24 @@ export interface WebAuthnAuthenticationFinishResponse {
|
|
|
557
589
|
* @generated from protobuf field: int64 expires_in = 3
|
|
558
590
|
*/
|
|
559
591
|
expiresIn: bigint;
|
|
592
|
+
/**
|
|
593
|
+
* Same semantics as OpaqueLoginFinishResponse.second_factors.
|
|
594
|
+
*
|
|
595
|
+
* @generated from protobuf field: repeated sid.v1.authn.StepUpMethod second_factors = 4
|
|
596
|
+
*/
|
|
597
|
+
secondFactors: StepUpMethod[];
|
|
598
|
+
/**
|
|
599
|
+
* Same semantics as OpaqueLoginFinishResponse.browser_csrf.
|
|
600
|
+
*
|
|
601
|
+
* @generated from protobuf field: optional string browser_csrf = 5
|
|
602
|
+
*/
|
|
603
|
+
browserCsrf?: string;
|
|
604
|
+
/**
|
|
605
|
+
* Same semantics as OpaqueLoginFinishResponse.enrollable_factors.
|
|
606
|
+
*
|
|
607
|
+
* @generated from protobuf field: repeated sid.v1.authn.StepUpMethod enrollable_factors = 6
|
|
608
|
+
*/
|
|
609
|
+
enrollableFactors: StepUpMethod[];
|
|
560
610
|
}
|
|
561
611
|
/**
|
|
562
612
|
* @generated from protobuf message sid.v1.authn.OAuth2AuthorizeRequest
|
|
@@ -1515,6 +1565,24 @@ export interface LegacyMigrateFinishResponse {
|
|
|
1515
1565
|
* @generated from protobuf field: int64 expires_in = 3
|
|
1516
1566
|
*/
|
|
1517
1567
|
expiresIn: bigint;
|
|
1568
|
+
/**
|
|
1569
|
+
* Same semantics as OpaqueLoginFinishResponse.second_factors.
|
|
1570
|
+
*
|
|
1571
|
+
* @generated from protobuf field: repeated sid.v1.authn.StepUpMethod second_factors = 4
|
|
1572
|
+
*/
|
|
1573
|
+
secondFactors: StepUpMethod[];
|
|
1574
|
+
/**
|
|
1575
|
+
* Same semantics as OpaqueLoginFinishResponse.browser_csrf.
|
|
1576
|
+
*
|
|
1577
|
+
* @generated from protobuf field: optional string browser_csrf = 5
|
|
1578
|
+
*/
|
|
1579
|
+
browserCsrf?: string;
|
|
1580
|
+
/**
|
|
1581
|
+
* Same semantics as OpaqueLoginFinishResponse.enrollable_factors.
|
|
1582
|
+
*
|
|
1583
|
+
* @generated from protobuf field: repeated sid.v1.authn.StepUpMethod enrollable_factors = 6
|
|
1584
|
+
*/
|
|
1585
|
+
enrollableFactors: StepUpMethod[];
|
|
1518
1586
|
}
|
|
1519
1587
|
/**
|
|
1520
1588
|
* @generated from protobuf message sid.v1.authn.GetZkppPolicyRequest
|
|
@@ -502,13 +502,18 @@ class OpaqueLoginFinishResponse$Type extends MessageType {
|
|
|
502
502
|
constructor() {
|
|
503
503
|
super("sid.v1.authn.OpaqueLoginFinishResponse", [
|
|
504
504
|
{ no: 1, name: "session_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
505
|
-
{ no: 3, name: "expires_in", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
505
|
+
{ no: 3, name: "expires_in", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
506
|
+
{ no: 4, name: "second_factors", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["sid.v1.authn.StepUpMethod", StepUpMethod, "STEP_UP_METHOD_"] },
|
|
507
|
+
{ no: 5, name: "browser_csrf", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
508
|
+
{ no: 6, name: "enrollable_factors", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["sid.v1.authn.StepUpMethod", StepUpMethod, "STEP_UP_METHOD_"] }
|
|
506
509
|
]);
|
|
507
510
|
}
|
|
508
511
|
create(value) {
|
|
509
512
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
510
513
|
message.sessionId = "";
|
|
511
514
|
message.expiresIn = 0n;
|
|
515
|
+
message.secondFactors = [];
|
|
516
|
+
message.enrollableFactors = [];
|
|
512
517
|
if (value !== undefined)
|
|
513
518
|
reflectionMergePartial(this, message, value);
|
|
514
519
|
return message;
|
|
@@ -524,6 +529,23 @@ class OpaqueLoginFinishResponse$Type extends MessageType {
|
|
|
524
529
|
case /* int64 expires_in */ 3:
|
|
525
530
|
message.expiresIn = reader.int64().toBigInt();
|
|
526
531
|
break;
|
|
532
|
+
case /* repeated sid.v1.authn.StepUpMethod second_factors */ 4:
|
|
533
|
+
if (wireType === WireType.LengthDelimited)
|
|
534
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
535
|
+
message.secondFactors.push(reader.int32());
|
|
536
|
+
else
|
|
537
|
+
message.secondFactors.push(reader.int32());
|
|
538
|
+
break;
|
|
539
|
+
case /* optional string browser_csrf */ 5:
|
|
540
|
+
message.browserCsrf = reader.string();
|
|
541
|
+
break;
|
|
542
|
+
case /* repeated sid.v1.authn.StepUpMethod enrollable_factors */ 6:
|
|
543
|
+
if (wireType === WireType.LengthDelimited)
|
|
544
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
545
|
+
message.enrollableFactors.push(reader.int32());
|
|
546
|
+
else
|
|
547
|
+
message.enrollableFactors.push(reader.int32());
|
|
548
|
+
break;
|
|
527
549
|
default:
|
|
528
550
|
let u = options.readUnknownField;
|
|
529
551
|
if (u === "throw")
|
|
@@ -542,6 +564,23 @@ class OpaqueLoginFinishResponse$Type extends MessageType {
|
|
|
542
564
|
/* int64 expires_in = 3; */
|
|
543
565
|
if (message.expiresIn !== 0n)
|
|
544
566
|
writer.tag(3, WireType.Varint).int64(message.expiresIn);
|
|
567
|
+
/* repeated sid.v1.authn.StepUpMethod second_factors = 4; */
|
|
568
|
+
if (message.secondFactors.length) {
|
|
569
|
+
writer.tag(4, WireType.LengthDelimited).fork();
|
|
570
|
+
for (let i = 0; i < message.secondFactors.length; i++)
|
|
571
|
+
writer.int32(message.secondFactors[i]);
|
|
572
|
+
writer.join();
|
|
573
|
+
}
|
|
574
|
+
/* optional string browser_csrf = 5; */
|
|
575
|
+
if (message.browserCsrf !== undefined)
|
|
576
|
+
writer.tag(5, WireType.LengthDelimited).string(message.browserCsrf);
|
|
577
|
+
/* repeated sid.v1.authn.StepUpMethod enrollable_factors = 6; */
|
|
578
|
+
if (message.enrollableFactors.length) {
|
|
579
|
+
writer.tag(6, WireType.LengthDelimited).fork();
|
|
580
|
+
for (let i = 0; i < message.enrollableFactors.length; i++)
|
|
581
|
+
writer.int32(message.enrollableFactors[i]);
|
|
582
|
+
writer.join();
|
|
583
|
+
}
|
|
545
584
|
let u = options.writeUnknownFields;
|
|
546
585
|
if (u !== false)
|
|
547
586
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1455,13 +1494,18 @@ class WebAuthnAuthenticationFinishResponse$Type extends MessageType {
|
|
|
1455
1494
|
constructor() {
|
|
1456
1495
|
super("sid.v1.authn.WebAuthnAuthenticationFinishResponse", [
|
|
1457
1496
|
{ no: 1, name: "session_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1458
|
-
{ no: 3, name: "expires_in", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
1497
|
+
{ no: 3, name: "expires_in", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
1498
|
+
{ no: 4, name: "second_factors", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["sid.v1.authn.StepUpMethod", StepUpMethod, "STEP_UP_METHOD_"] },
|
|
1499
|
+
{ no: 5, name: "browser_csrf", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1500
|
+
{ no: 6, name: "enrollable_factors", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["sid.v1.authn.StepUpMethod", StepUpMethod, "STEP_UP_METHOD_"] }
|
|
1459
1501
|
]);
|
|
1460
1502
|
}
|
|
1461
1503
|
create(value) {
|
|
1462
1504
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
1463
1505
|
message.sessionId = "";
|
|
1464
1506
|
message.expiresIn = 0n;
|
|
1507
|
+
message.secondFactors = [];
|
|
1508
|
+
message.enrollableFactors = [];
|
|
1465
1509
|
if (value !== undefined)
|
|
1466
1510
|
reflectionMergePartial(this, message, value);
|
|
1467
1511
|
return message;
|
|
@@ -1477,6 +1521,23 @@ class WebAuthnAuthenticationFinishResponse$Type extends MessageType {
|
|
|
1477
1521
|
case /* int64 expires_in */ 3:
|
|
1478
1522
|
message.expiresIn = reader.int64().toBigInt();
|
|
1479
1523
|
break;
|
|
1524
|
+
case /* repeated sid.v1.authn.StepUpMethod second_factors */ 4:
|
|
1525
|
+
if (wireType === WireType.LengthDelimited)
|
|
1526
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
1527
|
+
message.secondFactors.push(reader.int32());
|
|
1528
|
+
else
|
|
1529
|
+
message.secondFactors.push(reader.int32());
|
|
1530
|
+
break;
|
|
1531
|
+
case /* optional string browser_csrf */ 5:
|
|
1532
|
+
message.browserCsrf = reader.string();
|
|
1533
|
+
break;
|
|
1534
|
+
case /* repeated sid.v1.authn.StepUpMethod enrollable_factors */ 6:
|
|
1535
|
+
if (wireType === WireType.LengthDelimited)
|
|
1536
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
1537
|
+
message.enrollableFactors.push(reader.int32());
|
|
1538
|
+
else
|
|
1539
|
+
message.enrollableFactors.push(reader.int32());
|
|
1540
|
+
break;
|
|
1480
1541
|
default:
|
|
1481
1542
|
let u = options.readUnknownField;
|
|
1482
1543
|
if (u === "throw")
|
|
@@ -1495,6 +1556,23 @@ class WebAuthnAuthenticationFinishResponse$Type extends MessageType {
|
|
|
1495
1556
|
/* int64 expires_in = 3; */
|
|
1496
1557
|
if (message.expiresIn !== 0n)
|
|
1497
1558
|
writer.tag(3, WireType.Varint).int64(message.expiresIn);
|
|
1559
|
+
/* repeated sid.v1.authn.StepUpMethod second_factors = 4; */
|
|
1560
|
+
if (message.secondFactors.length) {
|
|
1561
|
+
writer.tag(4, WireType.LengthDelimited).fork();
|
|
1562
|
+
for (let i = 0; i < message.secondFactors.length; i++)
|
|
1563
|
+
writer.int32(message.secondFactors[i]);
|
|
1564
|
+
writer.join();
|
|
1565
|
+
}
|
|
1566
|
+
/* optional string browser_csrf = 5; */
|
|
1567
|
+
if (message.browserCsrf !== undefined)
|
|
1568
|
+
writer.tag(5, WireType.LengthDelimited).string(message.browserCsrf);
|
|
1569
|
+
/* repeated sid.v1.authn.StepUpMethod enrollable_factors = 6; */
|
|
1570
|
+
if (message.enrollableFactors.length) {
|
|
1571
|
+
writer.tag(6, WireType.LengthDelimited).fork();
|
|
1572
|
+
for (let i = 0; i < message.enrollableFactors.length; i++)
|
|
1573
|
+
writer.int32(message.enrollableFactors[i]);
|
|
1574
|
+
writer.join();
|
|
1575
|
+
}
|
|
1498
1576
|
let u = options.writeUnknownFields;
|
|
1499
1577
|
if (u !== false)
|
|
1500
1578
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3296,13 +3374,18 @@ class LegacyMigrateFinishResponse$Type extends MessageType {
|
|
|
3296
3374
|
constructor() {
|
|
3297
3375
|
super("sid.v1.authn.LegacyMigrateFinishResponse", [
|
|
3298
3376
|
{ no: 1, name: "session_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3299
|
-
{ no: 3, name: "expires_in", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
3377
|
+
{ no: 3, name: "expires_in", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
3378
|
+
{ no: 4, name: "second_factors", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["sid.v1.authn.StepUpMethod", StepUpMethod, "STEP_UP_METHOD_"] },
|
|
3379
|
+
{ no: 5, name: "browser_csrf", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
3380
|
+
{ no: 6, name: "enrollable_factors", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["sid.v1.authn.StepUpMethod", StepUpMethod, "STEP_UP_METHOD_"] }
|
|
3300
3381
|
]);
|
|
3301
3382
|
}
|
|
3302
3383
|
create(value) {
|
|
3303
3384
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
3304
3385
|
message.sessionId = "";
|
|
3305
3386
|
message.expiresIn = 0n;
|
|
3387
|
+
message.secondFactors = [];
|
|
3388
|
+
message.enrollableFactors = [];
|
|
3306
3389
|
if (value !== undefined)
|
|
3307
3390
|
reflectionMergePartial(this, message, value);
|
|
3308
3391
|
return message;
|
|
@@ -3318,6 +3401,23 @@ class LegacyMigrateFinishResponse$Type extends MessageType {
|
|
|
3318
3401
|
case /* int64 expires_in */ 3:
|
|
3319
3402
|
message.expiresIn = reader.int64().toBigInt();
|
|
3320
3403
|
break;
|
|
3404
|
+
case /* repeated sid.v1.authn.StepUpMethod second_factors */ 4:
|
|
3405
|
+
if (wireType === WireType.LengthDelimited)
|
|
3406
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
3407
|
+
message.secondFactors.push(reader.int32());
|
|
3408
|
+
else
|
|
3409
|
+
message.secondFactors.push(reader.int32());
|
|
3410
|
+
break;
|
|
3411
|
+
case /* optional string browser_csrf */ 5:
|
|
3412
|
+
message.browserCsrf = reader.string();
|
|
3413
|
+
break;
|
|
3414
|
+
case /* repeated sid.v1.authn.StepUpMethod enrollable_factors */ 6:
|
|
3415
|
+
if (wireType === WireType.LengthDelimited)
|
|
3416
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
3417
|
+
message.enrollableFactors.push(reader.int32());
|
|
3418
|
+
else
|
|
3419
|
+
message.enrollableFactors.push(reader.int32());
|
|
3420
|
+
break;
|
|
3321
3421
|
default:
|
|
3322
3422
|
let u = options.readUnknownField;
|
|
3323
3423
|
if (u === "throw")
|
|
@@ -3336,6 +3436,23 @@ class LegacyMigrateFinishResponse$Type extends MessageType {
|
|
|
3336
3436
|
/* int64 expires_in = 3; */
|
|
3337
3437
|
if (message.expiresIn !== 0n)
|
|
3338
3438
|
writer.tag(3, WireType.Varint).int64(message.expiresIn);
|
|
3439
|
+
/* repeated sid.v1.authn.StepUpMethod second_factors = 4; */
|
|
3440
|
+
if (message.secondFactors.length) {
|
|
3441
|
+
writer.tag(4, WireType.LengthDelimited).fork();
|
|
3442
|
+
for (let i = 0; i < message.secondFactors.length; i++)
|
|
3443
|
+
writer.int32(message.secondFactors[i]);
|
|
3444
|
+
writer.join();
|
|
3445
|
+
}
|
|
3446
|
+
/* optional string browser_csrf = 5; */
|
|
3447
|
+
if (message.browserCsrf !== undefined)
|
|
3448
|
+
writer.tag(5, WireType.LengthDelimited).string(message.browserCsrf);
|
|
3449
|
+
/* repeated sid.v1.authn.StepUpMethod enrollable_factors = 6; */
|
|
3450
|
+
if (message.enrollableFactors.length) {
|
|
3451
|
+
writer.tag(6, WireType.LengthDelimited).fork();
|
|
3452
|
+
for (let i = 0; i < message.enrollableFactors.length; i++)
|
|
3453
|
+
writer.int32(message.enrollableFactors[i]);
|
|
3454
|
+
writer.join();
|
|
3455
|
+
}
|
|
3339
3456
|
let u = options.writeUnknownFields;
|
|
3340
3457
|
if (u !== false)
|
|
3341
3458
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|