@structured-id/proto 0.4.0 → 0.4.1
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 +7 -0
- package/dist/generated/sid/v1/account/account.client.d.ts +34 -16
- package/dist/generated/sid/v1/account/account.client.js +17 -8
- package/dist/generated/sid/v1/account/account.client.js.map +1 -1
- package/dist/generated/sid/v1/account/account.js +8 -8
- package/dist/generated/sid/v1/account/account.js.map +1 -1
- package/dist/generated/sid/v1/admin/admin.js +2 -2
- package/dist/generated/sid/v1/admin/admin.js.map +1 -1
- package/dist/generated/sid/v1/admin/branding.client.d.ts +2 -0
- package/dist/generated/sid/v1/admin/branding.client.js +1 -0
- package/dist/generated/sid/v1/admin/branding.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/branding.js +2 -2
- package/dist/generated/sid/v1/admin/branding.js.map +1 -1
- package/dist/generated/sid/v1/admin/enrollment.client.d.ts +29 -0
- package/dist/generated/sid/v1/admin/enrollment.client.js +22 -3
- package/dist/generated/sid/v1/admin/enrollment.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/enrollment.d.ts +128 -2
- package/dist/generated/sid/v1/admin/enrollment.js +238 -1
- package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
- package/dist/generated/sid/v1/admin/flow.client.d.ts +12 -6
- package/dist/generated/sid/v1/admin/flow.client.js +6 -3
- package/dist/generated/sid/v1/admin/flow.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/flow.js +7 -7
- package/dist/generated/sid/v1/admin/flow.js.map +1 -1
- package/dist/generated/sid/v1/admin/notifications.js +2 -2
- package/dist/generated/sid/v1/admin/notifications.js.map +1 -1
- package/dist/generated/sid/v1/admin/provisioning.js +4 -4
- package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
- package/dist/generated/sid/v1/admin/security.client.d.ts +4 -2
- package/dist/generated/sid/v1/admin/security.client.js +2 -1
- package/dist/generated/sid/v1/admin/security.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/security.js +2 -2
- package/dist/generated/sid/v1/admin/security.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.client.d.ts +4 -2
- package/dist/generated/sid/v1/attestation/attestation.client.js +2 -1
- package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.js +4 -4
- package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.client.d.ts +10 -2
- package/dist/generated/sid/v1/authn/auth.client.js +5 -1
- package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +0 -12
- package/dist/generated/sid/v1/authn/auth.js +2 -18
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/dist/generated/sid/v1/authn/issuer.client.d.ts +10 -4
- package/dist/generated/sid/v1/authn/issuer.client.js +5 -2
- package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/issuer.js +11 -11
- package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
- package/dist/generated/sid/v1/authn/system_integration.js +1 -1
- package/dist/generated/sid/v1/authn/system_integration.js.map +1 -1
- package/dist/generated/sid/v1/authz/authz.client.d.ts +0 -28
- package/dist/generated/sid/v1/authz/authz.client.js +25 -43
- package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
- package/dist/generated/sid/v1/authz/authz.d.ts +0 -96
- package/dist/generated/sid/v1/authz/authz.js +0 -230
- package/dist/generated/sid/v1/authz/authz.js.map +1 -1
- package/dist/generated/sid/v1/authz/forward_auth.js +1 -1
- package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -1
- package/dist/generated/sid/v1/events/event_stream.js +2 -2
- package/dist/generated/sid/v1/events/event_stream.js.map +1 -1
- package/dist/generated/sid/v1/projects/projects.client.d.ts +10 -4
- package/dist/generated/sid/v1/projects/projects.client.js +5 -2
- package/dist/generated/sid/v1/projects/projects.client.js.map +1 -1
- package/dist/generated/sid/v1/projects/projects.js +2 -2
- package/dist/generated/sid/v1/projects/projects.js.map +1 -1
- package/dist/generated/sid/v1/scim/scim.client.d.ts +4 -2
- package/dist/generated/sid/v1/scim/scim.client.js +2 -1
- package/dist/generated/sid/v1/scim/scim.client.js.map +1 -1
- package/dist/generated/sid/v1/scim/scim.js +4 -4
- package/dist/generated/sid/v1/scim/scim.js.map +1 -1
- package/dist/generated/sid/v1/test/test.js +10 -10
- package/dist/generated/sid/v1/test/test.js.map +1 -1
- package/dist/generated/sid/v1/ui/public_settings.client.d.ts +66 -0
- package/dist/generated/sid/v1/ui/public_settings.client.js +42 -0
- package/dist/generated/sid/v1/ui/public_settings.client.js.map +1 -0
- package/dist/generated/sid/v1/ui/public_settings.d.ts +61 -0
- package/dist/generated/sid/v1/ui/public_settings.js +106 -0
- package/dist/generated/sid/v1/ui/public_settings.js.map +1 -0
- package/package.json +6 -6
|
@@ -17,7 +17,8 @@ export interface IAttestationServiceClient {
|
|
|
17
17
|
/**
|
|
18
18
|
* Register a device key with platform attestation: stores the attestation
|
|
19
19
|
* data and marks the device as hardware_attested; a server that verifies
|
|
20
|
-
* attestation also checks the chain and the AAGUID policy.
|
|
20
|
+
* attestation also checks the chain and the AAGUID policy. A device that
|
|
21
|
+
* already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS).
|
|
21
22
|
*
|
|
22
23
|
* @generated from protobuf rpc: RegisterDeviceKey
|
|
23
24
|
*/
|
|
@@ -61,7 +62,8 @@ export declare class AttestationServiceClient implements IAttestationServiceClie
|
|
|
61
62
|
/**
|
|
62
63
|
* Register a device key with platform attestation: stores the attestation
|
|
63
64
|
* data and marks the device as hardware_attested; a server that verifies
|
|
64
|
-
* attestation also checks the chain and the AAGUID policy.
|
|
65
|
+
* attestation also checks the chain and the AAGUID policy. A device that
|
|
66
|
+
* already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS).
|
|
65
67
|
*
|
|
66
68
|
* @generated from protobuf rpc: RegisterDeviceKey
|
|
67
69
|
*/
|
|
@@ -15,7 +15,8 @@ export class AttestationServiceClient {
|
|
|
15
15
|
/**
|
|
16
16
|
* Register a device key with platform attestation: stores the attestation
|
|
17
17
|
* data and marks the device as hardware_attested; a server that verifies
|
|
18
|
-
* attestation also checks the chain and the AAGUID policy.
|
|
18
|
+
* attestation also checks the chain and the AAGUID policy. A device that
|
|
19
|
+
* already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS).
|
|
19
20
|
*
|
|
20
21
|
* @generated from protobuf rpc: RegisterDeviceKey
|
|
21
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attestation.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/attestation/attestation.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAOtD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"attestation.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/attestation/attestation.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAOtD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA6C1D,iCAAiC;AAEjC;;GAEG;AACH,MAAM,OAAO,wBAAwB;IAIJ;IAH7B,QAAQ,GAAG,kBAAkB,CAAC,QAAQ,CAAC;IACvC,OAAO,GAAG,kBAAkB,CAAC,OAAO,CAAC;IACrC,OAAO,GAAG,kBAAkB,CAAC,OAAO,CAAC;IACrC,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;;;;OAOG;IACH,iBAAiB,CAAC,KAA+B,EAAE,OAAoB;QACnE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,C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AO,cAAc,CAAgE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACvI,CAAC;CACJ","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 type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { AttestationService } from \"./attestation.js\";\nimport type { ListDeviceAttestationsResponse } from \"./attestation.js\";\nimport type { ListDeviceAttestationsRequest } from \"./attestation.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { RevokeDeviceKeyRequest } from \"./attestation.js\";\nimport type { RotateDeviceKeyRequest } from \"./attestation.js\";\nimport type { GetDeviceAttestationRequest } from \"./attestation.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { DeviceAttestation } from \"./attestation.js\";\nimport type { RegisterDeviceKeyRequest } from \"./attestation.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n// ── Attestation Service RPCs ──\n\n/**\n * @generated from protobuf service sid.v1.attestation.AttestationService\n */\nexport interface IAttestationServiceClient {\n /**\n * Register a device key with platform attestation: stores the attestation\n * data and marks the device as hardware_attested; a server that verifies\n * attestation also checks the chain and the AAGUID policy. A device that\n * already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS).\n *\n * @generated from protobuf rpc: RegisterDeviceKey\n */\n registerDeviceKey(input: RegisterDeviceKeyRequest, options?: RpcOptions): UnaryCall<RegisterDeviceKeyRequest, DeviceAttestation>;\n /**\n * Get attestation details for a device.\n *\n * @generated from protobuf rpc: GetDeviceAttestation\n */\n getDeviceAttestation(input: GetDeviceAttestationRequest, options?: RpcOptions): UnaryCall<GetDeviceAttestationRequest, DeviceAttestation>;\n /**\n * Rotate a device key (triggered by OS update or manual re-attestation).\n *\n * @generated from protobuf rpc: RotateDeviceKey\n */\n rotateDeviceKey(input: RotateDeviceKeyRequest, options?: RpcOptions): UnaryCall<RotateDeviceKeyRequest, DeviceAttestation>;\n /**\n * Revoke a device key (device removed or compromised).\n *\n * @generated from protobuf rpc: RevokeDeviceKey\n */\n revokeDeviceKey(input: RevokeDeviceKeyRequest, options?: RpcOptions): UnaryCall<RevokeDeviceKeyRequest, Empty>;\n /**\n * List all attestations for a profile.\n *\n * @generated from protobuf rpc: ListDeviceAttestations\n */\n listDeviceAttestations(input: ListDeviceAttestationsRequest, options?: RpcOptions): UnaryCall<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse>;\n}\n// ── Attestation Service RPCs ──\n\n/**\n * @generated from protobuf service sid.v1.attestation.AttestationService\n */\nexport class AttestationServiceClient implements IAttestationServiceClient, ServiceInfo {\n typeName = AttestationService.typeName;\n methods = AttestationService.methods;\n options = AttestationService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Register a device key with platform attestation: stores the attestation\n * data and marks the device as hardware_attested; a server that verifies\n * attestation also checks the chain and the AAGUID policy. A device that\n * already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS).\n *\n * @generated from protobuf rpc: RegisterDeviceKey\n */\n registerDeviceKey(input: RegisterDeviceKeyRequest, options?: RpcOptions): UnaryCall<RegisterDeviceKeyRequest, DeviceAttestation> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<RegisterDeviceKeyRequest, DeviceAttestation>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get attestation details for a device.\n *\n * @generated from protobuf rpc: GetDeviceAttestation\n */\n getDeviceAttestation(input: GetDeviceAttestationRequest, options?: RpcOptions): UnaryCall<GetDeviceAttestationRequest, DeviceAttestation> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetDeviceAttestationRequest, DeviceAttestation>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Rotate a device key (triggered by OS update or manual re-attestation).\n *\n * @generated from protobuf rpc: RotateDeviceKey\n */\n rotateDeviceKey(input: RotateDeviceKeyRequest, options?: RpcOptions): UnaryCall<RotateDeviceKeyRequest, DeviceAttestation> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<RotateDeviceKeyRequest, DeviceAttestation>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Revoke a device key (device removed or compromised).\n *\n * @generated from protobuf rpc: RevokeDeviceKey\n */\n revokeDeviceKey(input: RevokeDeviceKeyRequest, options?: RpcOptions): UnaryCall<RevokeDeviceKeyRequest, Empty> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeDeviceKeyRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List all attestations for a profile.\n *\n * @generated from protobuf rpc: ListDeviceAttestations\n */\n listDeviceAttestations(input: ListDeviceAttestationsRequest, options?: RpcOptions): UnaryCall<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
|
|
@@ -645,10 +645,10 @@ export const ListDeviceAttestationsResponse = new ListDeviceAttestationsResponse
|
|
|
645
645
|
* @generated ServiceType for protobuf service sid.v1.attestation.AttestationService
|
|
646
646
|
*/
|
|
647
647
|
export const AttestationService = new ServiceType("sid.v1.attestation.AttestationService", [
|
|
648
|
-
{ name: "RegisterDeviceKey", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id}/keys", body: "*" } }, I: RegisterDeviceKeyRequest, O: DeviceAttestation },
|
|
649
|
-
{ name: "GetDeviceAttestation", options: { "google.api.http": { get: "/v1/attestation/devices/{device_id}" } }, I: GetDeviceAttestationRequest, O: DeviceAttestation },
|
|
648
|
+
{ name: "RegisterDeviceKey", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id}/keys", body: "*" } }, I: RegisterDeviceKeyRequest, O: DeviceAttestation },
|
|
649
|
+
{ name: "GetDeviceAttestation", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/attestation/devices/{device_id}" } }, I: GetDeviceAttestationRequest, O: DeviceAttestation },
|
|
650
650
|
{ name: "RotateDeviceKey", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id}/rotate", body: "*" } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },
|
|
651
|
-
{ name: "RevokeDeviceKey", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id}/revoke", body: "*" } }, I: RevokeDeviceKeyRequest, O: Empty },
|
|
652
|
-
{ name: "ListDeviceAttestations", options: { "google.api.http": { get: "/v1/attestation/profiles/{profile_id}/devices" } }, I: ListDeviceAttestationsRequest, O: ListDeviceAttestationsResponse }
|
|
651
|
+
{ name: "RevokeDeviceKey", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id}/revoke", body: "*" } }, I: RevokeDeviceKeyRequest, O: Empty },
|
|
652
|
+
{ name: "ListDeviceAttestations", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/attestation/profiles/{profile_id}/devices" } }, I: ListDeviceAttestationsRequest, O: ListDeviceAttestationsResponse }
|
|
653
653
|
]);
|
|
654
654
|
//# sourceMappingURL=attestation.js.map
|
|
@@ -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,s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AACxF;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,WAAW,CAAC,uCAAuC,EAAE;IACvF,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,0CAA0C,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,wBAAwB,EAAE,CAAC,EAAE,iBAAiB,EAAE;IACjL,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,qCAAqC,EAAE,EAAE,EAAE,CAAC,EAAE,2BAA2B,EAAE,CAAC,EAAE,iBAAiB,EAAE;IACtK,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,4CAA4C,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,sBAAsB,EAAE,CAAC,EAAE,iBAAiB,EAAE;IAC/K,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,4CAA4C,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,sBAAsB,EAAE,CAAC,EAAE,KAAK,EAAE;IACnK,EAAE,IAAI,EAAE,wBAAwB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,+CAA+C,EAAE,EAAE,EAAE,CAAC,EAAE,6BAA6B,EAAE,CAAC,EAAE,8BAA8B,EAAE;CACpM,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\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/keys\", body: \"*\" } }, I: RegisterDeviceKeyRequest, O: DeviceAttestation },\n { name: \"GetDeviceAttestation\", options: { \"google.api.http\": { get: \"/v1/attestation/devices/{device_id}\" } }, I: GetDeviceAttestationRequest, O: DeviceAttestation },\n { name: \"RotateDeviceKey\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/rotate\", body: \"*\" } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },\n { name: \"RevokeDeviceKey\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/revoke\", body: \"*\" } }, I: RevokeDeviceKeyRequest, O: Empty },\n { name: \"ListDeviceAttestations\", 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;AACr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AAE,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: \"*\" } }, 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\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/rotate\", body: \"*\" } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },\n { name: \"RevokeDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/revoke\", body: \"*\" } }, 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"]}
|
|
@@ -402,7 +402,8 @@ export interface IAuthServiceClient {
|
|
|
402
402
|
completeStepUp(input: CompleteStepUpRequest, options?: RpcOptions): UnaryCall<CompleteStepUpRequest, CompleteStepUpResponse>;
|
|
403
403
|
/**
|
|
404
404
|
* Delete an MFA credential (TOTP, WebAuthn, Recovery).
|
|
405
|
-
* Requires elevated session (step-up auth) before calling.
|
|
405
|
+
* Requires elevated session (step-up auth) before calling. A credential
|
|
406
|
+
* already revoked is revoked again with no change and the same answer.
|
|
406
407
|
*
|
|
407
408
|
* @generated from protobuf rpc: DeleteMfaCredential
|
|
408
409
|
*/
|
|
@@ -429,6 +430,9 @@ export interface IAuthServiceClient {
|
|
|
429
430
|
*/
|
|
430
431
|
executePasswordReset(input: ExecutePasswordResetRequest, options?: RpcOptions): UnaryCall<ExecutePasswordResetRequest, ExecutePasswordResetResponse>;
|
|
431
432
|
/**
|
|
433
|
+
* The completion's result is recorded with it, keyed by the reset's
|
|
434
|
+
* operation and its final record: a retry gets the recorded answer.
|
|
435
|
+
*
|
|
432
436
|
* @generated from protobuf rpc: CompletePasswordReset
|
|
433
437
|
*/
|
|
434
438
|
completePasswordReset(input: CompletePasswordResetRequest, options?: RpcOptions): UnaryCall<CompletePasswordResetRequest, CompletePasswordResetResponse>;
|
|
@@ -726,7 +730,8 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
|
|
|
726
730
|
completeStepUp(input: CompleteStepUpRequest, options?: RpcOptions): UnaryCall<CompleteStepUpRequest, CompleteStepUpResponse>;
|
|
727
731
|
/**
|
|
728
732
|
* Delete an MFA credential (TOTP, WebAuthn, Recovery).
|
|
729
|
-
* Requires elevated session (step-up auth) before calling.
|
|
733
|
+
* Requires elevated session (step-up auth) before calling. A credential
|
|
734
|
+
* already revoked is revoked again with no change and the same answer.
|
|
730
735
|
*
|
|
731
736
|
* @generated from protobuf rpc: DeleteMfaCredential
|
|
732
737
|
*/
|
|
@@ -753,6 +758,9 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
|
|
|
753
758
|
*/
|
|
754
759
|
executePasswordReset(input: ExecutePasswordResetRequest, options?: RpcOptions): UnaryCall<ExecutePasswordResetRequest, ExecutePasswordResetResponse>;
|
|
755
760
|
/**
|
|
761
|
+
* The completion's result is recorded with it, keyed by the reset's
|
|
762
|
+
* operation and its final record: a retry gets the recorded answer.
|
|
763
|
+
*
|
|
756
764
|
* @generated from protobuf rpc: CompletePasswordReset
|
|
757
765
|
*/
|
|
758
766
|
completePasswordReset(input: CompletePasswordResetRequest, options?: RpcOptions): UnaryCall<CompletePasswordResetRequest, CompletePasswordResetResponse>;
|
|
@@ -466,7 +466,8 @@ export class AuthServiceClient {
|
|
|
466
466
|
// ── MFA credential management ──
|
|
467
467
|
/**
|
|
468
468
|
* Delete an MFA credential (TOTP, WebAuthn, Recovery).
|
|
469
|
-
* Requires elevated session (step-up auth) before calling.
|
|
469
|
+
* Requires elevated session (step-up auth) before calling. A credential
|
|
470
|
+
* already revoked is revoked again with no change and the same answer.
|
|
470
471
|
*
|
|
471
472
|
* @generated from protobuf rpc: DeleteMfaCredential
|
|
472
473
|
*/
|
|
@@ -509,6 +510,9 @@ export class AuthServiceClient {
|
|
|
509
510
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
510
511
|
}
|
|
511
512
|
/**
|
|
513
|
+
* The completion's result is recorded with it, keyed by the reset's
|
|
514
|
+
* operation and its final record: a retry gets the recorded answer.
|
|
515
|
+
*
|
|
512
516
|
* @generated from protobuf rpc: CompletePasswordReset
|
|
513
517
|
*/
|
|
514
518
|
completePasswordReset(input, options) {
|