@structured-id/proto 0.15.0 → 0.17.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 +16 -0
- package/dist/generated/sid/v1/admin/admin.d.ts +48 -17
- package/dist/generated/sid/v1/admin/admin.js +55 -62
- package/dist/generated/sid/v1/admin/admin.js.map +1 -1
- package/dist/generated/sid/v1/admin/branding.d.ts +54 -26
- package/dist/generated/sid/v1/admin/branding.js +87 -98
- package/dist/generated/sid/v1/admin/branding.js.map +1 -1
- package/dist/generated/sid/v1/admin/enrollment.d.ts +63 -44
- package/dist/generated/sid/v1/admin/enrollment.js +109 -107
- package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
- package/dist/generated/sid/v1/admin/flow.d.ts +90 -42
- package/dist/generated/sid/v1/admin/flow.js +143 -155
- package/dist/generated/sid/v1/admin/flow.js.map +1 -1
- package/dist/generated/sid/v1/admin/security.d.ts +11 -4
- package/dist/generated/sid/v1/admin/security.js +14 -14
- package/dist/generated/sid/v1/admin/security.js.map +1 -1
- package/dist/generated/sid/v1/admin/sessions.d.ts +18 -8
- package/dist/generated/sid/v1/admin/sessions.js +27 -29
- package/dist/generated/sid/v1/admin/sessions.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.client.d.ts +51 -17
- package/dist/generated/sid/v1/attestation/attestation.client.js +50 -12
- package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.d.ts +257 -51
- package/dist/generated/sid/v1/attestation/attestation.js +321 -135
- package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +13 -7
- package/dist/generated/sid/v1/authn/auth.js +20 -20
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/dist/generated/sid/v1/common/types.d.ts +29 -0
- package/dist/generated/sid/v1/common/types.js +47 -0
- package/dist/generated/sid/v1/common/types.js.map +1 -1
- package/dist/generated/sid/v1/federation/upstream.d.ts +34 -16
- package/dist/generated/sid/v1/federation/upstream.js +53 -59
- package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
- package/dist/generated/sid/v1/ids/ids.d.ts +12 -0
- package/dist/generated/sid/v1/ids/ids.js +6 -0
- package/dist/generated/sid/v1/ids/ids.js.map +1 -1
- package/dist/ip.d.ts +31 -0
- package/dist/ip.js +84 -0
- package/dist/ip.js.map +1 -0
- package/package.json +6 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attestation.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/attestation/attestation.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,qHAAqH;AACrH,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,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,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAgKlE;;;;GAIG;AACH,MAAM,CAAN,IAAY,iBAyCX;AAzCD,WAAY,iBAAiB;IACzB;;OAEG;IACH,uEAAe,CAAA;IACf;;;;OAIG;IACH,yDAAQ,CAAA;IACR;;;;OAIG;IACH,6DAAU,CAAA;IACV;;;;OAIG;IACH,uDAAO,CAAA;IACP;;;;OAIG;IACH,uEAAe,CAAA;IACf;;;;OAIG;IACH,2DAAS,CAAA;IACT;;;;OAIG;IACH,iEAAY,CAAA;AAChB,CAAC,EAzCW,iBAAiB,KAAjB,iBAAiB,QAyC5B;AACD;;;;GAIG;AACH,MAAM,CAAN,IAAY,cAmCX;AAnCD,WAAY,cA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EAAE,EAAE,IAAI,EAAE,4CAA4C,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,qBAAqB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,sBAAsB,EAAE,CAAC,EAAE,iBAAiB,EAAE;IAClP,EAAE,IAAI,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,4CAA4C,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,qBAAqB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,sBAAsB,EAAE,CAAC,EAAE,KAAK,EAAE;IACtO,EAAE,IAAI,EAAE,wBAAwB,EAAE,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,+CAA+C,EAAE,EAAE,EAAE,CAAC,EAAE,6BAA6B,EAAE,CAAC,EAAE,8BAA8B,EAAE;CACpO,CAAC,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/attestation/attestation.proto\" (package \"sid.v1.attestation\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { Empty } from \"../../../google/protobuf/empty.js\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\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 { MessageType } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\n/**\n * Device attestation record — cryptographic identity of a device.\n *\n * @generated from protobuf message sid.v1.attestation.DeviceAttestation\n */\nexport interface DeviceAttestation {\n /**\n * @generated from protobuf field: string id = 1\n */\n id: string; // Attestation record ID (UUIDv7)\n /**\n * @generated from protobuf field: string device_id = 2\n */\n deviceId: string; // Attested device (`Device.id` in sid-identity, UUIDv7)\n /**\n * @generated from protobuf field: string profile_id = 3\n */\n profileId: string; // Owner profile\n /**\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 4\n */\n format: AttestationFormat; // Attestation format\n /**\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 5\n */\n keyStorage: KeyStorageType; // Hardware key type\n /**\n * @generated from protobuf field: sid.v1.attestation.AttestationStatus status = 6\n */\n status: AttestationStatus; // Verification status\n /**\n * @generated from protobuf field: bytes device_public_key = 7\n */\n devicePublicKey: Uint8Array; // Device public key (DER-encoded)\n /**\n * @generated from protobuf field: optional bytes attestation_object = 8\n */\n attestationObject?: Uint8Array; // Raw attestation blob (platform-specific)\n /**\n * @generated from protobuf field: optional bytes attestation_certificate = 9\n */\n attestationCertificate?: Uint8Array; // Leaf certificate from attestation chain\n /**\n * @generated from protobuf field: optional string aaguid = 10\n */\n aaguid?: string; // Authenticator Attestation GUID (WebAuthn)\n /**\n * @generated from protobuf field: optional string credential_id = 11\n */\n credentialId?: string; // Bound credential ID (WebAuthn/OPAQUE)\n /**\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 12\n */\n createdAt?: Timestamp;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp updated_at = 13\n */\n updatedAt?: Timestamp;\n /**\n * @generated from protobuf field: optional google.protobuf.Timestamp revoked_at = 14\n */\n revokedAt?: Timestamp;\n}\n// ── Request/Response Messages ──\n\n/**\n * @generated from protobuf message sid.v1.attestation.RegisterDeviceKeyRequest\n */\nexport interface RegisterDeviceKeyRequest {\n /**\n * @generated from protobuf field: string device_id = 1\n */\n deviceId: string; // Device to register key for (`Device.id`, UUIDv7)\n /**\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 2\n */\n format: AttestationFormat; // Attestation format\n /**\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 3\n */\n keyStorage: KeyStorageType; // Hardware key type\n /**\n * @generated from protobuf field: bytes device_public_key = 4\n */\n devicePublicKey: Uint8Array; // Device public key (DER-encoded)\n /**\n * @generated from protobuf field: optional bytes attestation_object = 5\n */\n attestationObject?: Uint8Array; // Raw attestation blob\n /**\n * @generated from protobuf field: optional bytes attestation_certificate = 6\n */\n attestationCertificate?: Uint8Array; // Leaf certificate\n /**\n * @generated from protobuf field: optional string aaguid = 7\n */\n aaguid?: string; // Authenticator AAGUID\n /**\n * @generated from protobuf field: optional string credential_id = 8\n */\n credentialId?: string; // Bound credential ID\n}\n/**\n * @generated from protobuf message sid.v1.attestation.GetDeviceAttestationRequest\n */\nexport interface GetDeviceAttestationRequest {\n /**\n * @generated from protobuf field: string device_id = 1\n */\n deviceId: string; // Device to fetch attestation for (`Device.id`, UUIDv7)\n}\n/**\n * @generated from protobuf message sid.v1.attestation.RotateDeviceKeyRequest\n */\nexport interface RotateDeviceKeyRequest {\n /**\n * @generated from protobuf field: string device_id = 1\n */\n deviceId: string; // Device whose key is rotated (`Device.id`, UUIDv7)\n /**\n * @generated from protobuf field: bytes new_device_public_key = 2\n */\n newDevicePublicKey: Uint8Array; // New public key\n /**\n * @generated from protobuf field: optional bytes new_attestation_object = 3\n */\n newAttestationObject?: Uint8Array; // New attestation blob\n /**\n * @generated from protobuf field: optional bytes new_attestation_certificate = 4\n */\n newAttestationCertificate?: Uint8Array; // New leaf certificate\n}\n/**\n * @generated from protobuf message sid.v1.attestation.RevokeDeviceKeyRequest\n */\nexport interface RevokeDeviceKeyRequest {\n /**\n * @generated from protobuf field: string device_id = 1\n */\n deviceId: string; // Device whose key is revoked (`Device.id`, UUIDv7)\n}\n/**\n * @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsRequest\n */\nexport interface ListDeviceAttestationsRequest {\n /**\n * @generated from protobuf field: string profile_id = 1\n */\n profileId: string;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsResponse\n */\nexport interface ListDeviceAttestationsResponse {\n /**\n * @generated from protobuf field: repeated sid.v1.attestation.DeviceAttestation attestations = 1\n */\n attestations: DeviceAttestation[];\n}\n/**\n * Attestation format reported by the device.\n *\n * @generated from protobuf enum sid.v1.attestation.AttestationFormat\n */\nexport enum AttestationFormat {\n /**\n * @generated from protobuf enum value: ATTESTATION_FORMAT_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * No attestation provided\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_NONE = 1;\n */\n NONE = 1,\n /**\n * FIDO2 packed attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_PACKED = 2;\n */\n PACKED = 2,\n /**\n * TPM 2.0 attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_TPM = 3;\n */\n TPM = 3,\n /**\n * Android Keystore attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_ANDROID_KEY = 4;\n */\n ANDROID_KEY = 4,\n /**\n * Apple App Attest / Secure Enclave\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_APPLE = 5;\n */\n APPLE = 5,\n /**\n * FIDO U2F attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_FIDO_U2F = 6;\n */\n FIDO_U2F = 6\n}\n/**\n * Type of hardware key storage on the device.\n *\n * @generated from protobuf enum sid.v1.attestation.KeyStorageType\n */\nexport enum KeyStorageType {\n /**\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Software-only key (no hardware backing)\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_SOFTWARE = 1;\n */\n SOFTWARE = 1,\n /**\n * Trusted Platform Module\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_TPM = 2;\n */\n TPM = 2,\n /**\n * Apple Secure Enclave\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_SECURE_ENCLAVE = 3;\n */\n SECURE_ENCLAVE = 3,\n /**\n * Android StrongBox\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_STRONGBOX = 4;\n */\n STRONGBOX = 4,\n /**\n * ARM TrustZone or similar TEE\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_TEE = 5;\n */\n TEE = 5\n}\n/**\n * Attestation verification status.\n *\n * @generated from protobuf enum sid.v1.attestation.AttestationStatus\n */\nexport enum AttestationStatus {\n /**\n * @generated from protobuf enum value: ATTESTATION_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Received, not yet verified\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_PENDING = 1;\n */\n PENDING = 1,\n /**\n * Attestation chain verified\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_VERIFIED = 2;\n */\n VERIFIED = 2,\n /**\n * Stored; the server does not verify chains\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_UNVERIFIED = 3;\n */\n UNVERIFIED = 3,\n /**\n * Verification failed\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_REJECTED = 4;\n */\n REJECTED = 4,\n /**\n * Key has been revoked\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_REVOKED = 5;\n */\n REVOKED = 5\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass DeviceAttestation$Type extends MessageType<DeviceAttestation> {\n constructor() {\n super(\"sid.v1.attestation.DeviceAttestation\", [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 5, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 6, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationStatus\", AttestationStatus, \"ATTESTATION_STATUS_\"] },\n { no: 7, name: \"device_public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 8, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 9, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 10, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"credential_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 12, name: \"created_at\", kind: \"message\", T: () => Timestamp },\n { no: 13, name: \"updated_at\", kind: \"message\", T: () => Timestamp },\n { no: 14, name: \"revoked_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<DeviceAttestation>): DeviceAttestation {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.id = \"\";\n message.deviceId = \"\";\n message.profileId = \"\";\n message.format = 0;\n message.keyStorage = 0;\n message.status = 0;\n message.devicePublicKey = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<DeviceAttestation>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceAttestation): DeviceAttestation {\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 /* string id */ 1:\n message.id = reader.string();\n break;\n case /* string device_id */ 2:\n message.deviceId = reader.string();\n break;\n case /* string profile_id */ 3:\n message.profileId = reader.string();\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 4:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 5:\n message.keyStorage = reader.int32();\n break;\n case /* sid.v1.attestation.AttestationStatus status */ 6:\n message.status = reader.int32();\n break;\n case /* bytes device_public_key */ 7:\n message.devicePublicKey = reader.bytes();\n break;\n case /* optional bytes attestation_object */ 8:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 9:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 10:\n message.aaguid = reader.string();\n break;\n case /* optional string credential_id */ 11:\n message.credentialId = reader.string();\n break;\n case /* google.protobuf.Timestamp created_at */ 12:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n case /* google.protobuf.Timestamp updated_at */ 13:\n message.updatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updatedAt);\n break;\n case /* optional google.protobuf.Timestamp revoked_at */ 14:\n message.revokedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.revokedAt);\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: DeviceAttestation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string id = 1; */\n if (message.id !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.id);\n /* string device_id = 2; */\n if (message.deviceId !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.deviceId);\n /* string profile_id = 3; */\n if (message.profileId !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.profileId);\n /* sid.v1.attestation.AttestationFormat format = 4; */\n if (message.format !== 0)\n writer.tag(4, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 5; */\n if (message.keyStorage !== 0)\n writer.tag(5, WireType.Varint).int32(message.keyStorage);\n /* sid.v1.attestation.AttestationStatus status = 6; */\n if (message.status !== 0)\n writer.tag(6, WireType.Varint).int32(message.status);\n /* bytes device_public_key = 7; */\n if (message.devicePublicKey.length)\n writer.tag(7, WireType.LengthDelimited).bytes(message.devicePublicKey);\n /* optional bytes attestation_object = 8; */\n if (message.attestationObject !== undefined)\n writer.tag(8, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 9; */\n if (message.attestationCertificate !== undefined)\n writer.tag(9, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 10; */\n if (message.aaguid !== undefined)\n writer.tag(10, WireType.LengthDelimited).string(message.aaguid);\n /* optional string credential_id = 11; */\n if (message.credentialId !== undefined)\n writer.tag(11, WireType.LengthDelimited).string(message.credentialId);\n /* google.protobuf.Timestamp created_at = 12; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(12, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp updated_at = 13; */\n if (message.updatedAt)\n Timestamp.internalBinaryWrite(message.updatedAt, writer.tag(13, WireType.LengthDelimited).fork(), options).join();\n /* optional google.protobuf.Timestamp revoked_at = 14; */\n if (message.revokedAt)\n Timestamp.internalBinaryWrite(message.revokedAt, writer.tag(14, 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 sid.v1.attestation.DeviceAttestation\n */\nexport const DeviceAttestation = new DeviceAttestation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RegisterDeviceKeyRequest$Type extends MessageType<RegisterDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RegisterDeviceKeyRequest\", [\n { no: 1, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 3, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 4, name: \"device_public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 5, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 6, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 7, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"credential_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RegisterDeviceKeyRequest>): RegisterDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.deviceId = \"\";\n message.format = 0;\n message.keyStorage = 0;\n message.devicePublicKey = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<RegisterDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RegisterDeviceKeyRequest): RegisterDeviceKeyRequest {\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 /* string device_id */ 1:\n message.deviceId = reader.string();\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 2:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 3:\n message.keyStorage = reader.int32();\n break;\n case /* bytes device_public_key */ 4:\n message.devicePublicKey = reader.bytes();\n break;\n case /* optional bytes attestation_object */ 5:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 6:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 7:\n message.aaguid = reader.string();\n break;\n case /* optional string credential_id */ 8:\n message.credentialId = reader.string();\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: RegisterDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string device_id = 1; */\n if (message.deviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.deviceId);\n /* sid.v1.attestation.AttestationFormat format = 2; */\n if (message.format !== 0)\n writer.tag(2, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 3; */\n if (message.keyStorage !== 0)\n writer.tag(3, WireType.Varint).int32(message.keyStorage);\n /* bytes device_public_key = 4; */\n if (message.devicePublicKey.length)\n writer.tag(4, WireType.LengthDelimited).bytes(message.devicePublicKey);\n /* optional bytes attestation_object = 5; */\n if (message.attestationObject !== undefined)\n writer.tag(5, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 6; */\n if (message.attestationCertificate !== undefined)\n writer.tag(6, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 7; */\n if (message.aaguid !== undefined)\n writer.tag(7, WireType.LengthDelimited).string(message.aaguid);\n /* optional string credential_id = 8; */\n if (message.credentialId !== undefined)\n writer.tag(8, WireType.LengthDelimited).string(message.credentialId);\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 sid.v1.attestation.RegisterDeviceKeyRequest\n */\nexport const RegisterDeviceKeyRequest = new RegisterDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDeviceAttestationRequest$Type extends MessageType<GetDeviceAttestationRequest> {\n constructor() {\n super(\"sid.v1.attestation.GetDeviceAttestationRequest\", [\n { no: 1, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<GetDeviceAttestationRequest>): GetDeviceAttestationRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.deviceId = \"\";\n if (value !== undefined)\n reflectionMergePartial<GetDeviceAttestationRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetDeviceAttestationRequest): GetDeviceAttestationRequest {\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 /* string device_id */ 1:\n message.deviceId = reader.string();\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: GetDeviceAttestationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string device_id = 1; */\n if (message.deviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.deviceId);\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 sid.v1.attestation.GetDeviceAttestationRequest\n */\nexport const GetDeviceAttestationRequest = new GetDeviceAttestationRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RotateDeviceKeyRequest$Type extends MessageType<RotateDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RotateDeviceKeyRequest\", [\n { no: 1, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"new_device_public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"new_attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"new_attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<RotateDeviceKeyRequest>): RotateDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.deviceId = \"\";\n message.newDevicePublicKey = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<RotateDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RotateDeviceKeyRequest): RotateDeviceKeyRequest {\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 /* string device_id */ 1:\n message.deviceId = reader.string();\n break;\n case /* bytes new_device_public_key */ 2:\n message.newDevicePublicKey = reader.bytes();\n break;\n case /* optional bytes new_attestation_object */ 3:\n message.newAttestationObject = reader.bytes();\n break;\n case /* optional bytes new_attestation_certificate */ 4:\n message.newAttestationCertificate = reader.bytes();\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: RotateDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string device_id = 1; */\n if (message.deviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.deviceId);\n /* bytes new_device_public_key = 2; */\n if (message.newDevicePublicKey.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.newDevicePublicKey);\n /* optional bytes new_attestation_object = 3; */\n if (message.newAttestationObject !== undefined)\n writer.tag(3, WireType.LengthDelimited).bytes(message.newAttestationObject);\n /* optional bytes new_attestation_certificate = 4; */\n if (message.newAttestationCertificate !== undefined)\n writer.tag(4, WireType.LengthDelimited).bytes(message.newAttestationCertificate);\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 sid.v1.attestation.RotateDeviceKeyRequest\n */\nexport const RotateDeviceKeyRequest = new RotateDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RevokeDeviceKeyRequest$Type extends MessageType<RevokeDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RevokeDeviceKeyRequest\", [\n { no: 1, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RevokeDeviceKeyRequest>): RevokeDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.deviceId = \"\";\n if (value !== undefined)\n reflectionMergePartial<RevokeDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokeDeviceKeyRequest): RevokeDeviceKeyRequest {\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 /* string device_id */ 1:\n message.deviceId = reader.string();\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: RevokeDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string device_id = 1; */\n if (message.deviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.deviceId);\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 sid.v1.attestation.RevokeDeviceKeyRequest\n */\nexport const RevokeDeviceKeyRequest = new RevokeDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDeviceAttestationsRequest$Type extends MessageType<ListDeviceAttestationsRequest> {\n constructor() {\n super(\"sid.v1.attestation.ListDeviceAttestationsRequest\", [\n { no: 1, name: \"profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ListDeviceAttestationsRequest>): ListDeviceAttestationsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.profileId = \"\";\n if (value !== undefined)\n reflectionMergePartial<ListDeviceAttestationsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListDeviceAttestationsRequest): ListDeviceAttestationsRequest {\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 /* string profile_id */ 1:\n message.profileId = reader.string();\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: ListDeviceAttestationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string profile_id = 1; */\n if (message.profileId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.profileId);\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 sid.v1.attestation.ListDeviceAttestationsRequest\n */\nexport const ListDeviceAttestationsRequest = new ListDeviceAttestationsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDeviceAttestationsResponse$Type extends MessageType<ListDeviceAttestationsResponse> {\n constructor() {\n super(\"sid.v1.attestation.ListDeviceAttestationsResponse\", [\n { no: 1, name: \"attestations\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DeviceAttestation }\n ]);\n }\n create(value?: PartialMessage<ListDeviceAttestationsResponse>): ListDeviceAttestationsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.attestations = [];\n if (value !== undefined)\n reflectionMergePartial<ListDeviceAttestationsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListDeviceAttestationsResponse): ListDeviceAttestationsResponse {\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 sid.v1.attestation.DeviceAttestation attestations */ 1:\n message.attestations.push(DeviceAttestation.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: ListDeviceAttestationsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.attestation.DeviceAttestation attestations = 1; */\n for (let i = 0; i < message.attestations.length; i++)\n DeviceAttestation.internalBinaryWrite(message.attestations[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 sid.v1.attestation.ListDeviceAttestationsResponse\n */\nexport const ListDeviceAttestationsResponse = new ListDeviceAttestationsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.attestation.AttestationService\n */\nexport const AttestationService = new ServiceType(\"sid.v1.attestation.AttestationService\", [\n { name: \"RegisterDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/keys\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: RegisterDeviceKeyRequest, O: DeviceAttestation },\n { name: \"GetDeviceAttestation\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/attestation/devices/{device_id}\" } }, I: GetDeviceAttestationRequest, O: DeviceAttestation },\n { name: \"RotateDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/rotate\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },\n { name: \"RevokeDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/revoke\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: RevokeDeviceKeyRequest, O: Empty },\n { name: \"ListDeviceAttestations\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/attestation/profiles/{profile_id}/devices\" } }, I: ListDeviceAttestationsRequest, O: ListDeviceAttestationsResponse }\n]);\n"]}
|
|
1
|
+
{"version":3,"file":"attestation.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/attestation/attestation.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,qHAAqH;AACrH,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MA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AAI,EAAE,kDAAkD,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,qBAAqB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,sBAAsB,EAAE,CAAC,EAAE,KAAK,EAAE;IAC5O,EAAE,IAAI,EAAE,wBAAwB,EAAE,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,qDAAqD,EAAE,EAAE,EAAE,CAAC,EAAE,6BAA6B,EAAE,CAAC,EAAE,8BAA8B,EAAE;CAC1O,CAAC,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/attestation/attestation.proto\" (package \"sid.v1.attestation\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { Empty } from \"../../../google/protobuf/empty.js\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\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 { MessageType } from \"@protobuf-ts/runtime\";\nimport { DeviceEnrollmentId } from \"../ids/ids.js\";\nimport { DeviceType } from \"../identity/identity.js\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\nimport { ProfileId } from \"../ids/ids.js\";\nimport { DeviceId } from \"../ids/ids.js\";\nimport { DeviceAttestationId } from \"../ids/ids.js\";\n/**\n * Device attestation record: the key bound to a device and the evidence\n * recorded with it.\n *\n * @generated from protobuf message sid.v1.attestation.DeviceAttestation\n */\nexport interface DeviceAttestation {\n /**\n * This attestation record, issued by SID when the key is bound.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceAttestationId id = 1\n */\n id?: DeviceAttestationId;\n /**\n * The device the key is bound to (`Device.id` in sid-identity).\n *\n * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 2\n */\n deviceId?: DeviceId;\n /**\n * The Profile that owns the device, resolved by SID at enrollment from the\n * authorized context, never from a client field.\n *\n * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 3\n */\n profileId?: ProfileId;\n /**\n * Attestation format the device presented.\n *\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 4\n */\n format: AttestationFormat;\n /**\n * Key storage the device reported; self-asserted unless `status` is\n * VERIFIED.\n *\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 5\n */\n keyStorage: KeyStorageType;\n /**\n * Verification status of the attestation. A key whose possession was\n * proven but whose attestation was not verified is UNVERIFIED.\n *\n * @generated from protobuf field: sid.v1.attestation.AttestationStatus status = 6\n */\n status: AttestationStatus;\n /**\n * The device's public key as a JSON Web Key (RFC 7517) holding public\n * members only, UTF-8 JSON. Its RFC 7638 thumbprint names the key in the\n * enrollment proofs.\n *\n * @generated from protobuf field: string public_jwk = 7\n */\n publicJwk: string;\n /**\n * Raw attestation blob in its platform format, as presented.\n *\n * @generated from protobuf field: optional bytes attestation_object = 8\n */\n attestationObject?: Uint8Array;\n /**\n * Leaf certificate of the attestation chain, as presented.\n *\n * @generated from protobuf field: optional bytes attestation_certificate = 9\n */\n attestationCertificate?: Uint8Array;\n /**\n * Authenticator Attestation GUID (WebAuthn), as presented.\n *\n * @generated from protobuf field: optional string aaguid = 10\n */\n aaguid?: string;\n /**\n * When the key was bound.\n *\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 11\n */\n createdAt?: Timestamp;\n /**\n * When the record last changed (rotation, revocation).\n *\n * @generated from protobuf field: google.protobuf.Timestamp updated_at = 12\n */\n updatedAt?: Timestamp;\n /**\n * When the key was revoked; absent while it is live.\n *\n * @generated from protobuf field: optional google.protobuf.Timestamp revoked_at = 13\n */\n revokedAt?: Timestamp;\n}\n// ── Request/Response Messages ──\n\n/**\n * @generated from protobuf message sid.v1.attestation.StartDeviceEnrollmentRequest\n */\nexport interface StartDeviceEnrollmentRequest {\n /**\n * What the ceremony does.\n *\n * @generated from protobuf field: sid.v1.attestation.DeviceEnrollmentPurpose purpose = 1\n */\n purpose: DeviceEnrollmentPurpose;\n /**\n * The device the ceremony targets: required for a rotation, and for the\n * enrollment of a device that already has metadata; absent to enroll a\n * new device, whose id SID allocates. A target to authorize, never\n * evidence of identity or authority.\n *\n * @generated from protobuf field: optional sid.v1.ids.DeviceId device_id = 2\n */\n deviceId?: DeviceId;\n /**\n * Form factor of a new device, as the client describes it. Descriptive\n * only; ignored for an existing device.\n *\n * @generated from protobuf field: sid.v1.identity.DeviceType device_type = 3\n */\n deviceType: DeviceType;\n /**\n * Operating system name and version of a new device, as the client\n * reports it. Self-asserted, informational only.\n *\n * @generated from protobuf field: optional string os_info = 4\n */\n osInfo?: string;\n /**\n * User-given label of a new device.\n *\n * @generated from protobuf field: optional string display_name = 5\n */\n displayName?: string;\n}\n/**\n * The challenge a ceremony's proofs answer.\n *\n * @generated from protobuf message sid.v1.attestation.DeviceEnrollmentChallenge\n */\nexport interface DeviceEnrollmentChallenge {\n /**\n * The ceremony, named by the finishing call.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceEnrollmentId enrollment_id = 1\n */\n enrollmentId?: DeviceEnrollmentId;\n /**\n * The device the ceremony binds a key to: the one allocated for a new\n * device or the requested one. The proofs name it in their `dev` claim.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 2\n */\n deviceId?: DeviceId;\n /**\n * Fresh random challenge (32 bytes) the proofs carry in their `chl`\n * claim. Single-use, bound to this ceremony only.\n *\n * @generated from protobuf field: bytes challenge = 3\n */\n challenge: Uint8Array;\n /**\n * When the ceremony expires; a later finish completes nothing.\n *\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 4\n */\n expiresAt?: Timestamp;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.FinishDeviceEnrollmentRequest\n */\nexport interface FinishDeviceEnrollmentRequest {\n /**\n * The ceremony StartDeviceEnrollment issued, of purpose ENROLL.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceEnrollmentId enrollment_id = 1\n */\n enrollmentId?: DeviceEnrollmentId;\n /**\n * The proposed key's proof of possession, purpose \"enroll\"; its `jwk`\n * header is the key bound to the device.\n *\n * @generated from protobuf field: string proof = 2\n */\n proof: string;\n /**\n * Attestation format of the optional attestation below.\n *\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 3\n */\n format: AttestationFormat;\n /**\n * Key storage the device reports; recorded as reported, raising no\n * assurance without verified attestation.\n *\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 4\n */\n keyStorage: KeyStorageType;\n /**\n * Raw attestation blob in its platform format.\n *\n * @generated from protobuf field: optional bytes attestation_object = 5\n */\n attestationObject?: Uint8Array;\n /**\n * Leaf certificate of the attestation chain.\n *\n * @generated from protobuf field: optional bytes attestation_certificate = 6\n */\n attestationCertificate?: Uint8Array;\n /**\n * Authenticator Attestation GUID (WebAuthn).\n *\n * @generated from protobuf field: optional string aaguid = 7\n */\n aaguid?: string;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.GetDeviceAttestationRequest\n */\nexport interface GetDeviceAttestationRequest {\n /**\n * Device to fetch the attestation of.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1\n */\n deviceId?: DeviceId;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.RotateDeviceKeyRequest\n */\nexport interface RotateDeviceKeyRequest {\n /**\n * The ceremony StartDeviceEnrollment issued, of purpose ROTATE.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceEnrollmentId enrollment_id = 1\n */\n enrollmentId?: DeviceEnrollmentId;\n /**\n * The proposed key's proof of possession, purpose \"rotate-new\".\n *\n * @generated from protobuf field: string new_key_proof = 2\n */\n newKeyProof: string;\n /**\n * The current key's approval of this replacement, purpose\n * \"rotate-current\", naming the proposed key in its `key` claim.\n *\n * @generated from protobuf field: string current_key_proof = 3\n */\n currentKeyProof: string;\n /**\n * Attestation format of the new key's optional attestation below.\n *\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 4\n */\n format: AttestationFormat;\n /**\n * Key storage the device reports for the new key; recorded as reported,\n * raising no assurance without verified attestation.\n *\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 5\n */\n keyStorage: KeyStorageType;\n /**\n * Attestation of the new key, in its platform format.\n *\n * @generated from protobuf field: optional bytes attestation_object = 6\n */\n attestationObject?: Uint8Array;\n /**\n * Leaf certificate of the new key's attestation chain.\n *\n * @generated from protobuf field: optional bytes attestation_certificate = 7\n */\n attestationCertificate?: Uint8Array;\n /**\n * Authenticator Attestation GUID (WebAuthn) of the new key.\n *\n * @generated from protobuf field: optional string aaguid = 8\n */\n aaguid?: string;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.RevokeDeviceKeyRequest\n */\nexport interface RevokeDeviceKeyRequest {\n /**\n * Device whose key is revoked.\n *\n * @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1\n */\n deviceId?: DeviceId;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsRequest\n */\nexport interface ListDeviceAttestationsRequest {\n /**\n * Profile whose device keys are listed.\n *\n * @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 1\n */\n profileId?: ProfileId;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsResponse\n */\nexport interface ListDeviceAttestationsResponse {\n /**\n * The Profile's device key attestations, live and revoked.\n *\n * @generated from protobuf field: repeated sid.v1.attestation.DeviceAttestation attestations = 1\n */\n attestations: DeviceAttestation[];\n}\n/**\n * Attestation format reported by the device.\n *\n * @generated from protobuf enum sid.v1.attestation.AttestationFormat\n */\nexport enum AttestationFormat {\n /**\n * @generated from protobuf enum value: ATTESTATION_FORMAT_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * No attestation provided\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_NONE = 1;\n */\n NONE = 1,\n /**\n * FIDO2 packed attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_PACKED = 2;\n */\n PACKED = 2,\n /**\n * TPM 2.0 attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_TPM = 3;\n */\n TPM = 3,\n /**\n * Android Keystore attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_ANDROID_KEY = 4;\n */\n ANDROID_KEY = 4,\n /**\n * Apple App Attest / Secure Enclave\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_APPLE = 5;\n */\n APPLE = 5,\n /**\n * FIDO U2F attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_FIDO_U2F = 6;\n */\n FIDO_U2F = 6\n}\n/**\n * Type of hardware key storage the device reports. Self-asserted: it raises\n * no assurance unless verified attestation establishes it.\n *\n * @generated from protobuf enum sid.v1.attestation.KeyStorageType\n */\nexport enum KeyStorageType {\n /**\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Software-only key (no hardware backing)\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_SOFTWARE = 1;\n */\n SOFTWARE = 1,\n /**\n * Trusted Platform Module\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_TPM = 2;\n */\n TPM = 2,\n /**\n * Apple Secure Enclave\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_SECURE_ENCLAVE = 3;\n */\n SECURE_ENCLAVE = 3,\n /**\n * Android StrongBox\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_STRONGBOX = 4;\n */\n STRONGBOX = 4,\n /**\n * ARM TrustZone or similar TEE\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_TEE = 5;\n */\n TEE = 5\n}\n/**\n * Attestation verification status.\n *\n * @generated from protobuf enum sid.v1.attestation.AttestationStatus\n */\nexport enum AttestationStatus {\n /**\n * @generated from protobuf enum value: ATTESTATION_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Received, not yet verified\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_PENDING = 1;\n */\n PENDING = 1,\n /**\n * Attestation chain verified\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_VERIFIED = 2;\n */\n VERIFIED = 2,\n /**\n * Stored; the server does not verify chains\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_UNVERIFIED = 3;\n */\n UNVERIFIED = 3,\n /**\n * Verification failed\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_REJECTED = 4;\n */\n REJECTED = 4,\n /**\n * Key has been revoked\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_REVOKED = 5;\n */\n REVOKED = 5\n}\n/**\n * What a device-key enrollment ceremony does. A proof made for one purpose\n * is refused for the other.\n *\n * @generated from protobuf enum sid.v1.attestation.DeviceEnrollmentPurpose\n */\nexport enum DeviceEnrollmentPurpose {\n /**\n * @generated from protobuf enum value: DEVICE_ENROLLMENT_PURPOSE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Bind the first key of a new device, or of a device that has metadata\n * and no live key.\n *\n * @generated from protobuf enum value: DEVICE_ENROLLMENT_PURPOSE_ENROLL = 1;\n */\n ENROLL = 1,\n /**\n * Replace the live key of an enrolled device with a new one.\n *\n * @generated from protobuf enum value: DEVICE_ENROLLMENT_PURPOSE_ROTATE = 2;\n */\n ROTATE = 2\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass DeviceAttestation$Type extends MessageType<DeviceAttestation> {\n constructor() {\n super(\"sid.v1.attestation.DeviceAttestation\", [\n { no: 1, name: \"id\", kind: \"message\", T: () => DeviceAttestationId },\n { no: 2, name: \"device_id\", kind: \"message\", T: () => DeviceId },\n { no: 3, name: \"profile_id\", kind: \"message\", T: () => ProfileId },\n { no: 4, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 5, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 6, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationStatus\", AttestationStatus, \"ATTESTATION_STATUS_\"] },\n { no: 7, name: \"public_jwk\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 9, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 10, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"created_at\", kind: \"message\", T: () => Timestamp },\n { no: 12, name: \"updated_at\", kind: \"message\", T: () => Timestamp },\n { no: 13, name: \"revoked_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<DeviceAttestation>): DeviceAttestation {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.format = 0;\n message.keyStorage = 0;\n message.status = 0;\n message.publicJwk = \"\";\n if (value !== undefined)\n reflectionMergePartial<DeviceAttestation>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceAttestation): DeviceAttestation {\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 /* sid.v1.ids.DeviceAttestationId id */ 1:\n message.id = DeviceAttestationId.internalBinaryRead(reader, reader.uint32(), options, message.id);\n break;\n case /* sid.v1.ids.DeviceId device_id */ 2:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n case /* sid.v1.ids.ProfileId profile_id */ 3:\n message.profileId = ProfileId.internalBinaryRead(reader, reader.uint32(), options, message.profileId);\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 4:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 5:\n message.keyStorage = reader.int32();\n break;\n case /* sid.v1.attestation.AttestationStatus status */ 6:\n message.status = reader.int32();\n break;\n case /* string public_jwk */ 7:\n message.publicJwk = reader.string();\n break;\n case /* optional bytes attestation_object */ 8:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 9:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 10:\n message.aaguid = reader.string();\n break;\n case /* google.protobuf.Timestamp created_at */ 11:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n case /* google.protobuf.Timestamp updated_at */ 12:\n message.updatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updatedAt);\n break;\n case /* optional google.protobuf.Timestamp revoked_at */ 13:\n message.revokedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.revokedAt);\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: DeviceAttestation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceAttestationId id = 1; */\n if (message.id)\n DeviceAttestationId.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.ids.DeviceId device_id = 2; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.ids.ProfileId profile_id = 3; */\n if (message.profileId)\n ProfileId.internalBinaryWrite(message.profileId, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.attestation.AttestationFormat format = 4; */\n if (message.format !== 0)\n writer.tag(4, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 5; */\n if (message.keyStorage !== 0)\n writer.tag(5, WireType.Varint).int32(message.keyStorage);\n /* sid.v1.attestation.AttestationStatus status = 6; */\n if (message.status !== 0)\n writer.tag(6, WireType.Varint).int32(message.status);\n /* string public_jwk = 7; */\n if (message.publicJwk !== \"\")\n writer.tag(7, WireType.LengthDelimited).string(message.publicJwk);\n /* optional bytes attestation_object = 8; */\n if (message.attestationObject !== undefined)\n writer.tag(8, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 9; */\n if (message.attestationCertificate !== undefined)\n writer.tag(9, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 10; */\n if (message.aaguid !== undefined)\n writer.tag(10, WireType.LengthDelimited).string(message.aaguid);\n /* google.protobuf.Timestamp created_at = 11; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(11, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp updated_at = 12; */\n if (message.updatedAt)\n Timestamp.internalBinaryWrite(message.updatedAt, writer.tag(12, WireType.LengthDelimited).fork(), options).join();\n /* optional google.protobuf.Timestamp revoked_at = 13; */\n if (message.revokedAt)\n Timestamp.internalBinaryWrite(message.revokedAt, writer.tag(13, 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 sid.v1.attestation.DeviceAttestation\n */\nexport const DeviceAttestation = new DeviceAttestation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StartDeviceEnrollmentRequest$Type extends MessageType<StartDeviceEnrollmentRequest> {\n constructor() {\n super(\"sid.v1.attestation.StartDeviceEnrollmentRequest\", [\n { no: 1, name: \"purpose\", kind: \"enum\", T: () => [\"sid.v1.attestation.DeviceEnrollmentPurpose\", DeviceEnrollmentPurpose, \"DEVICE_ENROLLMENT_PURPOSE_\"] },\n { no: 2, name: \"device_id\", kind: \"message\", T: () => DeviceId },\n { no: 3, name: \"device_type\", kind: \"enum\", T: () => [\"sid.v1.identity.DeviceType\", DeviceType, \"DEVICE_TYPE_\"] },\n { no: 4, name: \"os_info\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"display_name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StartDeviceEnrollmentRequest>): StartDeviceEnrollmentRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.purpose = 0;\n message.deviceType = 0;\n if (value !== undefined)\n reflectionMergePartial<StartDeviceEnrollmentRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartDeviceEnrollmentRequest): StartDeviceEnrollmentRequest {\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 /* sid.v1.attestation.DeviceEnrollmentPurpose purpose */ 1:\n message.purpose = reader.int32();\n break;\n case /* optional sid.v1.ids.DeviceId device_id */ 2:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n case /* sid.v1.identity.DeviceType device_type */ 3:\n message.deviceType = reader.int32();\n break;\n case /* optional string os_info */ 4:\n message.osInfo = reader.string();\n break;\n case /* optional string display_name */ 5:\n message.displayName = reader.string();\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: StartDeviceEnrollmentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.attestation.DeviceEnrollmentPurpose purpose = 1; */\n if (message.purpose !== 0)\n writer.tag(1, WireType.Varint).int32(message.purpose);\n /* optional sid.v1.ids.DeviceId device_id = 2; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.identity.DeviceType device_type = 3; */\n if (message.deviceType !== 0)\n writer.tag(3, WireType.Varint).int32(message.deviceType);\n /* optional string os_info = 4; */\n if (message.osInfo !== undefined)\n writer.tag(4, WireType.LengthDelimited).string(message.osInfo);\n /* optional string display_name = 5; */\n if (message.displayName !== undefined)\n writer.tag(5, WireType.LengthDelimited).string(message.displayName);\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 sid.v1.attestation.StartDeviceEnrollmentRequest\n */\nexport const StartDeviceEnrollmentRequest = new StartDeviceEnrollmentRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DeviceEnrollmentChallenge$Type extends MessageType<DeviceEnrollmentChallenge> {\n constructor() {\n super(\"sid.v1.attestation.DeviceEnrollmentChallenge\", [\n { no: 1, name: \"enrollment_id\", kind: \"message\", T: () => DeviceEnrollmentId },\n { no: 2, name: \"device_id\", kind: \"message\", T: () => DeviceId },\n { no: 3, name: \"challenge\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"expires_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<DeviceEnrollmentChallenge>): DeviceEnrollmentChallenge {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.challenge = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<DeviceEnrollmentChallenge>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceEnrollmentChallenge): DeviceEnrollmentChallenge {\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 /* sid.v1.ids.DeviceEnrollmentId enrollment_id */ 1:\n message.enrollmentId = DeviceEnrollmentId.internalBinaryRead(reader, reader.uint32(), options, message.enrollmentId);\n break;\n case /* sid.v1.ids.DeviceId device_id */ 2:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\n break;\n case /* bytes challenge */ 3:\n message.challenge = reader.bytes();\n break;\n case /* google.protobuf.Timestamp expires_at */ 4:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\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: DeviceEnrollmentChallenge, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceEnrollmentId enrollment_id = 1; */\n if (message.enrollmentId)\n DeviceEnrollmentId.internalBinaryWrite(message.enrollmentId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.ids.DeviceId device_id = 2; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* bytes challenge = 3; */\n if (message.challenge.length)\n writer.tag(3, WireType.LengthDelimited).bytes(message.challenge);\n /* google.protobuf.Timestamp expires_at = 4; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(4, 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 sid.v1.attestation.DeviceEnrollmentChallenge\n */\nexport const DeviceEnrollmentChallenge = new DeviceEnrollmentChallenge$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FinishDeviceEnrollmentRequest$Type extends MessageType<FinishDeviceEnrollmentRequest> {\n constructor() {\n super(\"sid.v1.attestation.FinishDeviceEnrollmentRequest\", [\n { no: 1, name: \"enrollment_id\", kind: \"message\", T: () => DeviceEnrollmentId },\n { no: 2, name: \"proof\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 4, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 5, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 6, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 7, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<FinishDeviceEnrollmentRequest>): FinishDeviceEnrollmentRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.proof = \"\";\n message.format = 0;\n message.keyStorage = 0;\n if (value !== undefined)\n reflectionMergePartial<FinishDeviceEnrollmentRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FinishDeviceEnrollmentRequest): FinishDeviceEnrollmentRequest {\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 /* sid.v1.ids.DeviceEnrollmentId enrollment_id */ 1:\n message.enrollmentId = DeviceEnrollmentId.internalBinaryRead(reader, reader.uint32(), options, message.enrollmentId);\n break;\n case /* string proof */ 2:\n message.proof = reader.string();\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 3:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 4:\n message.keyStorage = reader.int32();\n break;\n case /* optional bytes attestation_object */ 5:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 6:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 7:\n message.aaguid = reader.string();\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: FinishDeviceEnrollmentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceEnrollmentId enrollment_id = 1; */\n if (message.enrollmentId)\n DeviceEnrollmentId.internalBinaryWrite(message.enrollmentId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string proof = 2; */\n if (message.proof !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.proof);\n /* sid.v1.attestation.AttestationFormat format = 3; */\n if (message.format !== 0)\n writer.tag(3, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 4; */\n if (message.keyStorage !== 0)\n writer.tag(4, WireType.Varint).int32(message.keyStorage);\n /* optional bytes attestation_object = 5; */\n if (message.attestationObject !== undefined)\n writer.tag(5, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 6; */\n if (message.attestationCertificate !== undefined)\n writer.tag(6, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 7; */\n if (message.aaguid !== undefined)\n writer.tag(7, WireType.LengthDelimited).string(message.aaguid);\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 sid.v1.attestation.FinishDeviceEnrollmentRequest\n */\nexport const FinishDeviceEnrollmentRequest = new FinishDeviceEnrollmentRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDeviceAttestationRequest$Type extends MessageType<GetDeviceAttestationRequest> {\n constructor() {\n super(\"sid.v1.attestation.GetDeviceAttestationRequest\", [\n { no: 1, name: \"device_id\", kind: \"message\", T: () => DeviceId }\n ]);\n }\n create(value?: PartialMessage<GetDeviceAttestationRequest>): GetDeviceAttestationRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetDeviceAttestationRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetDeviceAttestationRequest): GetDeviceAttestationRequest {\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 /* sid.v1.ids.DeviceId device_id */ 1:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\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: GetDeviceAttestationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceId device_id = 1; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, 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 sid.v1.attestation.GetDeviceAttestationRequest\n */\nexport const GetDeviceAttestationRequest = new GetDeviceAttestationRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RotateDeviceKeyRequest$Type extends MessageType<RotateDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RotateDeviceKeyRequest\", [\n { no: 1, name: \"enrollment_id\", kind: \"message\", T: () => DeviceEnrollmentId },\n { no: 2, name: \"new_key_proof\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"current_key_proof\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 5, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 6, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 7, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 8, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RotateDeviceKeyRequest>): RotateDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.newKeyProof = \"\";\n message.currentKeyProof = \"\";\n message.format = 0;\n message.keyStorage = 0;\n if (value !== undefined)\n reflectionMergePartial<RotateDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RotateDeviceKeyRequest): RotateDeviceKeyRequest {\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 /* sid.v1.ids.DeviceEnrollmentId enrollment_id */ 1:\n message.enrollmentId = DeviceEnrollmentId.internalBinaryRead(reader, reader.uint32(), options, message.enrollmentId);\n break;\n case /* string new_key_proof */ 2:\n message.newKeyProof = reader.string();\n break;\n case /* string current_key_proof */ 3:\n message.currentKeyProof = reader.string();\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 4:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 5:\n message.keyStorage = reader.int32();\n break;\n case /* optional bytes attestation_object */ 6:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 7:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 8:\n message.aaguid = reader.string();\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: RotateDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceEnrollmentId enrollment_id = 1; */\n if (message.enrollmentId)\n DeviceEnrollmentId.internalBinaryWrite(message.enrollmentId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string new_key_proof = 2; */\n if (message.newKeyProof !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.newKeyProof);\n /* string current_key_proof = 3; */\n if (message.currentKeyProof !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.currentKeyProof);\n /* sid.v1.attestation.AttestationFormat format = 4; */\n if (message.format !== 0)\n writer.tag(4, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 5; */\n if (message.keyStorage !== 0)\n writer.tag(5, WireType.Varint).int32(message.keyStorage);\n /* optional bytes attestation_object = 6; */\n if (message.attestationObject !== undefined)\n writer.tag(6, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 7; */\n if (message.attestationCertificate !== undefined)\n writer.tag(7, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 8; */\n if (message.aaguid !== undefined)\n writer.tag(8, WireType.LengthDelimited).string(message.aaguid);\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 sid.v1.attestation.RotateDeviceKeyRequest\n */\nexport const RotateDeviceKeyRequest = new RotateDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RevokeDeviceKeyRequest$Type extends MessageType<RevokeDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RevokeDeviceKeyRequest\", [\n { no: 1, name: \"device_id\", kind: \"message\", T: () => DeviceId }\n ]);\n }\n create(value?: PartialMessage<RevokeDeviceKeyRequest>): RevokeDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<RevokeDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokeDeviceKeyRequest): RevokeDeviceKeyRequest {\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 /* sid.v1.ids.DeviceId device_id */ 1:\n message.deviceId = DeviceId.internalBinaryRead(reader, reader.uint32(), options, message.deviceId);\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: RevokeDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.DeviceId device_id = 1; */\n if (message.deviceId)\n DeviceId.internalBinaryWrite(message.deviceId, 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 sid.v1.attestation.RevokeDeviceKeyRequest\n */\nexport const RevokeDeviceKeyRequest = new RevokeDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDeviceAttestationsRequest$Type extends MessageType<ListDeviceAttestationsRequest> {\n constructor() {\n super(\"sid.v1.attestation.ListDeviceAttestationsRequest\", [\n { no: 1, name: \"profile_id\", kind: \"message\", T: () => ProfileId }\n ]);\n }\n create(value?: PartialMessage<ListDeviceAttestationsRequest>): ListDeviceAttestationsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ListDeviceAttestationsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListDeviceAttestationsRequest): ListDeviceAttestationsRequest {\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 /* sid.v1.ids.ProfileId profile_id */ 1:\n message.profileId = ProfileId.internalBinaryRead(reader, reader.uint32(), options, message.profileId);\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: ListDeviceAttestationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.ProfileId profile_id = 1; */\n if (message.profileId)\n ProfileId.internalBinaryWrite(message.profileId, 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 sid.v1.attestation.ListDeviceAttestationsRequest\n */\nexport const ListDeviceAttestationsRequest = new ListDeviceAttestationsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDeviceAttestationsResponse$Type extends MessageType<ListDeviceAttestationsResponse> {\n constructor() {\n super(\"sid.v1.attestation.ListDeviceAttestationsResponse\", [\n { no: 1, name: \"attestations\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DeviceAttestation }\n ]);\n }\n create(value?: PartialMessage<ListDeviceAttestationsResponse>): ListDeviceAttestationsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.attestations = [];\n if (value !== undefined)\n reflectionMergePartial<ListDeviceAttestationsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListDeviceAttestationsResponse): ListDeviceAttestationsResponse {\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 sid.v1.attestation.DeviceAttestation attestations */ 1:\n message.attestations.push(DeviceAttestation.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: ListDeviceAttestationsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.attestation.DeviceAttestation attestations = 1; */\n for (let i = 0; i < message.attestations.length; i++)\n DeviceAttestation.internalBinaryWrite(message.attestations[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 sid.v1.attestation.ListDeviceAttestationsResponse\n */\nexport const ListDeviceAttestationsResponse = new ListDeviceAttestationsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.attestation.AttestationService\n */\nexport const AttestationService = new ServiceType(\"sid.v1.attestation.AttestationService\", [\n { name: \"StartDeviceEnrollment\", options: { \"google.api.http\": { post: \"/v1/attestation/enrollments\", body: \"*\" } }, I: StartDeviceEnrollmentRequest, O: DeviceEnrollmentChallenge },\n { name: \"FinishDeviceEnrollment\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/enrollments/{enrollment_id.value}/finish\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: FinishDeviceEnrollmentRequest, O: DeviceAttestation },\n { name: \"GetDeviceAttestation\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/attestation/devices/{device_id.value}\" } }, I: GetDeviceAttestationRequest, O: DeviceAttestation },\n { name: \"RotateDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/enrollments/{enrollment_id.value}/rotate\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },\n { name: \"RevokeDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id.value}/revoke\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: RevokeDeviceKeyRequest, O: Empty },\n { name: \"ListDeviceAttestations\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/attestation/profiles/{profile_id.value}/devices\" } }, I: ListDeviceAttestationsRequest, O: ListDeviceAttestationsResponse }\n]);\n"]}
|
|
@@ -7,10 +7,12 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
|
7
7
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
8
|
import { ResetSessionId } from "../ids/ids.js";
|
|
9
9
|
import { StepUpChallengeId } from "../ids/ids.js";
|
|
10
|
+
import { OrgId } from "../ids/ids.js";
|
|
10
11
|
import { OtpSessionId } from "../ids/ids.js";
|
|
11
12
|
import { ImportedPasswordUpgradeId } from "../ids/ids.js";
|
|
12
13
|
import { MagicLinkId } from "../ids/ids.js";
|
|
13
14
|
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
15
|
+
import { ProfileId } from "../ids/ids.js";
|
|
14
16
|
import { CredentialId } from "../ids/ids.js";
|
|
15
17
|
import { PasswordRegistrationProof } from "./password_history.js";
|
|
16
18
|
import { PasswordOperationId } from "../ids/ids.js";
|
|
@@ -1143,11 +1145,11 @@ export interface ValidateSessionResponse {
|
|
|
1143
1145
|
*/
|
|
1144
1146
|
valid: boolean;
|
|
1145
1147
|
/**
|
|
1146
|
-
*
|
|
1148
|
+
* Local profile that owns the session. Set only when valid=true.
|
|
1147
1149
|
*
|
|
1148
|
-
* @generated from protobuf field:
|
|
1150
|
+
* @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 2
|
|
1149
1151
|
*/
|
|
1150
|
-
profileId?:
|
|
1152
|
+
profileId?: ProfileId;
|
|
1151
1153
|
/**
|
|
1152
1154
|
* Scopes granted to this session.
|
|
1153
1155
|
*
|
|
@@ -2000,9 +2002,11 @@ export interface ListUserOrganizationsRequest {
|
|
|
2000
2002
|
*/
|
|
2001
2003
|
export interface UserOrganization {
|
|
2002
2004
|
/**
|
|
2003
|
-
*
|
|
2005
|
+
* The organization, as the selection names it.
|
|
2006
|
+
*
|
|
2007
|
+
* @generated from protobuf field: sid.v1.ids.OrgId id = 1
|
|
2004
2008
|
*/
|
|
2005
|
-
id
|
|
2009
|
+
id?: OrgId;
|
|
2006
2010
|
/**
|
|
2007
2011
|
* @generated from protobuf field: string name = 2
|
|
2008
2012
|
*/
|
|
@@ -2034,9 +2038,11 @@ export interface ListUserOrganizationsResponse {
|
|
|
2034
2038
|
*/
|
|
2035
2039
|
export interface SelectOrganizationRequest {
|
|
2036
2040
|
/**
|
|
2037
|
-
*
|
|
2041
|
+
* Organization the sign-in continues in.
|
|
2042
|
+
*
|
|
2043
|
+
* @generated from protobuf field: sid.v1.ids.OrgId organization_id = 1
|
|
2038
2044
|
*/
|
|
2039
|
-
organizationId
|
|
2045
|
+
organizationId?: OrgId;
|
|
2040
2046
|
}
|
|
2041
2047
|
/**
|
|
2042
2048
|
* @generated from protobuf message sid.v1.authn.SelectOrganizationResponse
|
|
@@ -13,10 +13,12 @@ import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
|
13
13
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
14
14
|
import { ResetSessionId } from "../ids/ids.js";
|
|
15
15
|
import { StepUpChallengeId } from "../ids/ids.js";
|
|
16
|
+
import { OrgId } from "../ids/ids.js";
|
|
16
17
|
import { OtpSessionId } from "../ids/ids.js";
|
|
17
18
|
import { ImportedPasswordUpgradeId } from "../ids/ids.js";
|
|
18
19
|
import { MagicLinkId } from "../ids/ids.js";
|
|
19
20
|
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
21
|
+
import { ProfileId } from "../ids/ids.js";
|
|
20
22
|
import { CredentialId } from "../ids/ids.js";
|
|
21
23
|
import { PasswordRegistrationProof } from "./password_history.js";
|
|
22
24
|
import { PasswordOperationId } from "../ids/ids.js";
|
|
@@ -2302,7 +2304,7 @@ class ValidateSessionResponse$Type extends MessageType {
|
|
|
2302
2304
|
constructor() {
|
|
2303
2305
|
super("sid.v1.authn.ValidateSessionResponse", [
|
|
2304
2306
|
{ no: 1, name: "valid", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
2305
|
-
{ no: 2, name: "profile_id", kind: "
|
|
2307
|
+
{ no: 2, name: "profile_id", kind: "message", T: () => ProfileId },
|
|
2306
2308
|
{ no: 3, name: "scopes", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
2307
2309
|
{ no: 4, name: "expires_at", kind: "message", T: () => Timestamp }
|
|
2308
2310
|
]);
|
|
@@ -2323,8 +2325,8 @@ class ValidateSessionResponse$Type extends MessageType {
|
|
|
2323
2325
|
case /* bool valid */ 1:
|
|
2324
2326
|
message.valid = reader.bool();
|
|
2325
2327
|
break;
|
|
2326
|
-
case /*
|
|
2327
|
-
message.profileId = reader.
|
|
2328
|
+
case /* sid.v1.ids.ProfileId profile_id */ 2:
|
|
2329
|
+
message.profileId = ProfileId.internalBinaryRead(reader, reader.uint32(), options, message.profileId);
|
|
2328
2330
|
break;
|
|
2329
2331
|
case /* repeated string scopes */ 3:
|
|
2330
2332
|
message.scopes.push(reader.string());
|
|
@@ -2347,9 +2349,9 @@ class ValidateSessionResponse$Type extends MessageType {
|
|
|
2347
2349
|
/* bool valid = 1; */
|
|
2348
2350
|
if (message.valid !== false)
|
|
2349
2351
|
writer.tag(1, WireType.Varint).bool(message.valid);
|
|
2350
|
-
/*
|
|
2351
|
-
if (message.profileId
|
|
2352
|
-
writer.tag(2, WireType.LengthDelimited).
|
|
2352
|
+
/* sid.v1.ids.ProfileId profile_id = 2; */
|
|
2353
|
+
if (message.profileId)
|
|
2354
|
+
ProfileId.internalBinaryWrite(message.profileId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
2353
2355
|
/* repeated string scopes = 3; */
|
|
2354
2356
|
for (let i = 0; i < message.scopes.length; i++)
|
|
2355
2357
|
writer.tag(3, WireType.LengthDelimited).string(message.scopes[i]);
|
|
@@ -4883,7 +4885,7 @@ export const ListUserOrganizationsRequest = new ListUserOrganizationsRequest$Typ
|
|
|
4883
4885
|
class UserOrganization$Type extends MessageType {
|
|
4884
4886
|
constructor() {
|
|
4885
4887
|
super("sid.v1.authn.UserOrganization", [
|
|
4886
|
-
{ no: 1, name: "id", kind: "
|
|
4888
|
+
{ no: 1, name: "id", kind: "message", T: () => OrgId },
|
|
4887
4889
|
{ no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4888
4890
|
{ no: 3, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4889
4891
|
{ no: 4, name: "logo_url", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
@@ -4892,7 +4894,6 @@ class UserOrganization$Type extends MessageType {
|
|
|
4892
4894
|
}
|
|
4893
4895
|
create(value) {
|
|
4894
4896
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
4895
|
-
message.id = "";
|
|
4896
4897
|
message.name = "";
|
|
4897
4898
|
message.displayName = "";
|
|
4898
4899
|
if (value !== undefined)
|
|
@@ -4904,8 +4905,8 @@ class UserOrganization$Type extends MessageType {
|
|
|
4904
4905
|
while (reader.pos < end) {
|
|
4905
4906
|
let [fieldNo, wireType] = reader.tag();
|
|
4906
4907
|
switch (fieldNo) {
|
|
4907
|
-
case /*
|
|
4908
|
-
message.id = reader.
|
|
4908
|
+
case /* sid.v1.ids.OrgId id */ 1:
|
|
4909
|
+
message.id = OrgId.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
|
4909
4910
|
break;
|
|
4910
4911
|
case /* string name */ 2:
|
|
4911
4912
|
message.name = reader.string();
|
|
@@ -4931,9 +4932,9 @@ class UserOrganization$Type extends MessageType {
|
|
|
4931
4932
|
return message;
|
|
4932
4933
|
}
|
|
4933
4934
|
internalBinaryWrite(message, writer, options) {
|
|
4934
|
-
/*
|
|
4935
|
-
if (message.id
|
|
4936
|
-
writer.tag(1, WireType.LengthDelimited).
|
|
4935
|
+
/* sid.v1.ids.OrgId id = 1; */
|
|
4936
|
+
if (message.id)
|
|
4937
|
+
OrgId.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4937
4938
|
/* string name = 2; */
|
|
4938
4939
|
if (message.name !== "")
|
|
4939
4940
|
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
|
@@ -5007,12 +5008,11 @@ export const ListUserOrganizationsResponse = new ListUserOrganizationsResponse$T
|
|
|
5007
5008
|
class SelectOrganizationRequest$Type extends MessageType {
|
|
5008
5009
|
constructor() {
|
|
5009
5010
|
super("sid.v1.authn.SelectOrganizationRequest", [
|
|
5010
|
-
{ no: 1, name: "organization_id", kind: "
|
|
5011
|
+
{ no: 1, name: "organization_id", kind: "message", T: () => OrgId }
|
|
5011
5012
|
]);
|
|
5012
5013
|
}
|
|
5013
5014
|
create(value) {
|
|
5014
5015
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
5015
|
-
message.organizationId = "";
|
|
5016
5016
|
if (value !== undefined)
|
|
5017
5017
|
reflectionMergePartial(this, message, value);
|
|
5018
5018
|
return message;
|
|
@@ -5022,8 +5022,8 @@ class SelectOrganizationRequest$Type extends MessageType {
|
|
|
5022
5022
|
while (reader.pos < end) {
|
|
5023
5023
|
let [fieldNo, wireType] = reader.tag();
|
|
5024
5024
|
switch (fieldNo) {
|
|
5025
|
-
case /*
|
|
5026
|
-
message.organizationId = reader.
|
|
5025
|
+
case /* sid.v1.ids.OrgId organization_id */ 1:
|
|
5026
|
+
message.organizationId = OrgId.internalBinaryRead(reader, reader.uint32(), options, message.organizationId);
|
|
5027
5027
|
break;
|
|
5028
5028
|
default:
|
|
5029
5029
|
let u = options.readUnknownField;
|
|
@@ -5037,9 +5037,9 @@ class SelectOrganizationRequest$Type extends MessageType {
|
|
|
5037
5037
|
return message;
|
|
5038
5038
|
}
|
|
5039
5039
|
internalBinaryWrite(message, writer, options) {
|
|
5040
|
-
/*
|
|
5041
|
-
if (message.organizationId
|
|
5042
|
-
writer.tag(1, WireType.LengthDelimited).
|
|
5040
|
+
/* sid.v1.ids.OrgId organization_id = 1; */
|
|
5041
|
+
if (message.organizationId)
|
|
5042
|
+
OrgId.internalBinaryWrite(message.organizationId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
5043
5043
|
let u = options.writeUnknownFields;
|
|
5044
5044
|
if (u !== false)
|
|
5045
5045
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|