@structured-id/proto 0.10.0 → 0.12.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.
@@ -4,6 +4,7 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
4
4
  import type { IBinaryReader } from "@protobuf-ts/runtime";
5
5
  import type { PartialMessage } from "@protobuf-ts/runtime";
6
6
  import { MessageType } from "@protobuf-ts/runtime";
7
+ import { SessionId } from "../ids/ids.js";
7
8
  /**
8
9
  * One generation of a native session's refresh credentials, delivered in
9
10
  * `sid-native-credentials-bin` response metadata by a native ceremony
@@ -133,12 +134,12 @@ export interface RefreshNativeSessionRequest {
133
134
  */
134
135
  export interface RefreshNativeSessionResponse {
135
136
  /**
136
- * Server-assigned session identifier (UUIDv7) of the refreshed session:
137
- * the same session, never a new one. Not a credential.
137
+ * The refreshed session: the same session, never a new one. Not a
138
+ * credential.
138
139
  *
139
- * @generated from protobuf field: string session_id = 1
140
+ * @generated from protobuf field: sid.v1.ids.SessionId session_id = 3
140
141
  */
141
- sessionId: string;
142
+ sessionId?: SessionId;
142
143
  /**
143
144
  * Seconds until the delivered access token expires.
144
145
  *
@@ -2,6 +2,7 @@ import { WireType } from "@protobuf-ts/runtime";
2
2
  import { UnknownFieldHandler } from "@protobuf-ts/runtime";
3
3
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
4
4
  import { MessageType } from "@protobuf-ts/runtime";
5
+ import { SessionId } from "../ids/ids.js";
5
6
  // @generated message type with reflection information, may provide speed optimized methods
6
7
  class NativeCredentialSet$Type extends MessageType {
7
8
  constructor() {
@@ -211,13 +212,12 @@ export const RefreshNativeSessionRequest = new RefreshNativeSessionRequest$Type(
211
212
  class RefreshNativeSessionResponse$Type extends MessageType {
212
213
  constructor() {
213
214
  super("sid.v1.authn.RefreshNativeSessionResponse", [
214
- { no: 1, name: "session_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
215
+ { no: 3, name: "session_id", kind: "message", T: () => SessionId },
215
216
  { no: 2, name: "expires_in", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
216
217
  ]);
217
218
  }
218
219
  create(value) {
219
220
  const message = globalThis.Object.create((this.messagePrototype));
220
- message.sessionId = "";
221
221
  message.expiresIn = 0n;
222
222
  if (value !== undefined)
223
223
  reflectionMergePartial(this, message, value);
@@ -228,8 +228,8 @@ class RefreshNativeSessionResponse$Type extends MessageType {
228
228
  while (reader.pos < end) {
229
229
  let [fieldNo, wireType] = reader.tag();
230
230
  switch (fieldNo) {
231
- case /* string session_id */ 1:
232
- message.sessionId = reader.string();
231
+ case /* sid.v1.ids.SessionId session_id */ 3:
232
+ message.sessionId = SessionId.internalBinaryRead(reader, reader.uint32(), options, message.sessionId);
233
233
  break;
234
234
  case /* int64 expires_in */ 2:
235
235
  message.expiresIn = reader.int64().toBigInt();
@@ -246,12 +246,12 @@ class RefreshNativeSessionResponse$Type extends MessageType {
246
246
  return message;
247
247
  }
248
248
  internalBinaryWrite(message, writer, options) {
249
- /* string session_id = 1; */
250
- if (message.sessionId !== "")
251
- writer.tag(1, WireType.LengthDelimited).string(message.sessionId);
252
249
  /* int64 expires_in = 2; */
253
250
  if (message.expiresIn !== 0n)
254
251
  writer.tag(2, WireType.Varint).int64(message.expiresIn);
252
+ /* sid.v1.ids.SessionId session_id = 3; */
253
+ if (message.sessionId)
254
+ SessionId.internalBinaryWrite(message.sessionId, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
255
255
  let u = options.writeUnknownFields;
256
256
  if (u !== false)
257
257
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1 +1 @@
1
- {"version":3,"file":"native_session.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authn/native_session.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,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,EAAE,OAA2B;QACzG,4BAA4B;QAC5B,IAAI,OAAO,CAAC,SAAS,KAAK,EAAE;YACxB,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACtE,2BAA2B;QAC3B,IAAI,OAAO,CAAC,SAAS,KAAK,EAAE;YACxB,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAC5D,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;QACnC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,IAAI,iCAAiC,EAAE,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/authn/native_session.proto\" (package \"sid.v1.authn\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\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\";\n/**\n * One generation of a native session's refresh credentials, delivered in\n * `sid-native-credentials-bin` response metadata by a native ceremony\n * completion, a refresh and a redelivery of that refresh. The client\n * replaces its stored generation with this one as a whole: credentials of\n * different generations are never mixed.\n *\n * @generated from protobuf message sid.v1.authn.NativeCredentialSet\n */\nexport interface NativeCredentialSet {\n /**\n * The generation's refresh credentials, opaque bearer secrets of equal\n * standing bound to the application key: any one of them, with a fresh\n * proof by that key, refreshes the session once. Their number is the\n * issuer's session policy (`native_refresh_generation_size`); a client\n * accepts any count from 1 up to 16 and refuses a set outside it.\n *\n * @generated from protobuf field: repeated string refresh_credentials = 1\n */\n refreshCredentials: string[];\n /**\n * Seconds until these credentials expire, counted from the response.\n * Never beyond the session's absolute end or a source deadline.\n *\n * @generated from protobuf field: int64 expires_in = 2\n */\n expiresIn: bigint;\n /**\n * Seconds after a refresh commits during which a retry of the same\n * exchange with another credential of the presented generation receives\n * this same set again (the issuer's `native_redelivery_window_seconds`).\n * After it, the presented generation is retired.\n *\n * @generated from protobuf field: int64 redelivery_window = 3\n */\n redeliveryWindow: bigint;\n}\n/**\n * The claims of a SID native proof (JWS header `typ: \"sid-native+jwt\"`,\n * `jwk`: the application key's public JWK, `alg`: an asymmetric algorithm\n * of RFC 9449 §4.2). Signature, key, `jti`, `htm`, `htu` and `iat` follow\n * RFC 9449 §4.2 and §4.3: `htu` and `htm` name the request as the client\n * actually addressed it (the issuer URL and gRPC method path for a direct\n * gRPC call, the HTTP route for an HTTP call), and each `jti` is admitted\n * once by the issuer. The SID claims below bind what standard DPoP does not\n * (RFC 9449 §11.7): `ath` keeps its access-token meaning and is not used.\n * This message documents the claim set; the proof is the JWS, not this\n * message.\n *\n * @generated from protobuf message sid.v1.authn.NativeProofClaims\n */\nexport interface NativeProofClaims {\n /**\n * RFC 9449 §4.2: unique identifier of this proof; a proof is used once.\n *\n * @generated from protobuf field: string jti = 1\n */\n jti: string;\n /**\n * RFC 9449 §4.2: the HTTP method of the request (\"POST\").\n *\n * @generated from protobuf field: string htm = 2\n */\n htm: string;\n /**\n * RFC 9449 §4.2: the request URI without query and fragment, as the\n * client addressed it.\n *\n * @generated from protobuf field: string htu = 3\n */\n htu: string;\n /**\n * RFC 9449 §4.2: creation time, seconds since the epoch.\n *\n * @generated from protobuf field: int64 iat = 4\n */\n iat: bigint;\n /**\n * On RefreshNativeSession: base64url (no padding) SHA-256 of the\n * presented refresh credential's ASCII form. A proof for one credential\n * presents no other.\n *\n * @generated from protobuf field: string sid_rt = 5\n */\n sidRt: string;\n /**\n * On RefreshNativeSession: base64url (no padding) of the request's\n * `exchange`. A retry of the same exchange keeps it under a new proof.\n *\n * @generated from protobuf field: string sid_ex = 6\n */\n sidEx: string;\n /**\n * On a ceremony completion: base64url (no padding) SHA-256 of the\n * ceremony reference that completion echoes, as the completing method\n * documents it (for OpaqueLoginFinish the 16 bytes of its `login_id`). Binds\n * the application key to that one authenticated ceremony.\n *\n * @generated from protobuf field: string sid_cer = 7\n */\n sidCer: string;\n}\n/**\n * Refresh a native session, or receive again the generation a lost response\n * carried. Presented credential in `sid-native-refresh`, proof in\n * `sid-native-proof`; the access token in `authorization` and the next\n * generation in `sid-native-credentials-bin` response metadata.\n *\n * @generated from protobuf message sid.v1.authn.RefreshNativeSessionRequest\n */\nexport interface RefreshNativeSessionRequest {\n /**\n * The logical exchange: 16 random bytes the client chooses for one refresh\n * and keeps across its retries. Retrying an exchange within the\n * redelivery window, with any credential of the generation it rotated and\n * a fresh proof, answers the generation it committed; it grants no\n * authority by itself.\n *\n * @generated from protobuf field: bytes exchange = 1\n */\n exchange: Uint8Array;\n}\n/**\n * The refreshed session. Its credentials are in the response metadata.\n *\n * @generated from protobuf message sid.v1.authn.RefreshNativeSessionResponse\n */\nexport interface RefreshNativeSessionResponse {\n /**\n * Server-assigned session identifier (UUIDv7) of the refreshed session:\n * the same session, never a new one. Not a credential.\n *\n * @generated from protobuf field: string session_id = 1\n */\n sessionId: string;\n /**\n * Seconds until the delivered access token expires.\n *\n * @generated from protobuf field: int64 expires_in = 2\n */\n expiresIn: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass NativeCredentialSet$Type extends MessageType<NativeCredentialSet> {\n constructor() {\n super(\"sid.v1.authn.NativeCredentialSet\", [\n { no: 1, name: \"refresh_credentials\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"expires_in\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"redelivery_window\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<NativeCredentialSet>): NativeCredentialSet {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.refreshCredentials = [];\n message.expiresIn = 0n;\n message.redeliveryWindow = 0n;\n if (value !== undefined)\n reflectionMergePartial<NativeCredentialSet>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NativeCredentialSet): NativeCredentialSet {\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 string refresh_credentials */ 1:\n message.refreshCredentials.push(reader.string());\n break;\n case /* int64 expires_in */ 2:\n message.expiresIn = reader.int64().toBigInt();\n break;\n case /* int64 redelivery_window */ 3:\n message.redeliveryWindow = reader.int64().toBigInt();\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: NativeCredentialSet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated string refresh_credentials = 1; */\n for (let i = 0; i < message.refreshCredentials.length; i++)\n writer.tag(1, WireType.LengthDelimited).string(message.refreshCredentials[i]);\n /* int64 expires_in = 2; */\n if (message.expiresIn !== 0n)\n writer.tag(2, WireType.Varint).int64(message.expiresIn);\n /* int64 redelivery_window = 3; */\n if (message.redeliveryWindow !== 0n)\n writer.tag(3, WireType.Varint).int64(message.redeliveryWindow);\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.authn.NativeCredentialSet\n */\nexport const NativeCredentialSet = new NativeCredentialSet$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass NativeProofClaims$Type extends MessageType<NativeProofClaims> {\n constructor() {\n super(\"sid.v1.authn.NativeProofClaims\", [\n { no: 1, name: \"jti\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"htm\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"htu\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"iat\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"sid_rt\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"sid_ex\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 7, name: \"sid_cer\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<NativeProofClaims>): NativeProofClaims {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.jti = \"\";\n message.htm = \"\";\n message.htu = \"\";\n message.iat = 0n;\n message.sidRt = \"\";\n message.sidEx = \"\";\n message.sidCer = \"\";\n if (value !== undefined)\n reflectionMergePartial<NativeProofClaims>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NativeProofClaims): NativeProofClaims {\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 jti */ 1:\n message.jti = reader.string();\n break;\n case /* string htm */ 2:\n message.htm = reader.string();\n break;\n case /* string htu */ 3:\n message.htu = reader.string();\n break;\n case /* int64 iat */ 4:\n message.iat = reader.int64().toBigInt();\n break;\n case /* string sid_rt */ 5:\n message.sidRt = reader.string();\n break;\n case /* string sid_ex */ 6:\n message.sidEx = reader.string();\n break;\n case /* string sid_cer */ 7:\n message.sidCer = 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: NativeProofClaims, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string jti = 1; */\n if (message.jti !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.jti);\n /* string htm = 2; */\n if (message.htm !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.htm);\n /* string htu = 3; */\n if (message.htu !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.htu);\n /* int64 iat = 4; */\n if (message.iat !== 0n)\n writer.tag(4, WireType.Varint).int64(message.iat);\n /* string sid_rt = 5; */\n if (message.sidRt !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.sidRt);\n /* string sid_ex = 6; */\n if (message.sidEx !== \"\")\n writer.tag(6, WireType.LengthDelimited).string(message.sidEx);\n /* string sid_cer = 7; */\n if (message.sidCer !== \"\")\n writer.tag(7, WireType.LengthDelimited).string(message.sidCer);\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.authn.NativeProofClaims\n */\nexport const NativeProofClaims = new NativeProofClaims$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RefreshNativeSessionRequest$Type extends MessageType<RefreshNativeSessionRequest> {\n constructor() {\n super(\"sid.v1.authn.RefreshNativeSessionRequest\", [\n { no: 1, name: \"exchange\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<RefreshNativeSessionRequest>): RefreshNativeSessionRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.exchange = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<RefreshNativeSessionRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RefreshNativeSessionRequest): RefreshNativeSessionRequest {\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 /* bytes exchange */ 1:\n message.exchange = 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: RefreshNativeSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes exchange = 1; */\n if (message.exchange.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.exchange);\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.authn.RefreshNativeSessionRequest\n */\nexport const RefreshNativeSessionRequest = new RefreshNativeSessionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RefreshNativeSessionResponse$Type extends MessageType<RefreshNativeSessionResponse> {\n constructor() {\n super(\"sid.v1.authn.RefreshNativeSessionResponse\", [\n { no: 1, name: \"session_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"expires_in\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<RefreshNativeSessionResponse>): RefreshNativeSessionResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.sessionId = \"\";\n message.expiresIn = 0n;\n if (value !== undefined)\n reflectionMergePartial<RefreshNativeSessionResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RefreshNativeSessionResponse): RefreshNativeSessionResponse {\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 session_id */ 1:\n message.sessionId = reader.string();\n break;\n case /* int64 expires_in */ 2:\n message.expiresIn = reader.int64().toBigInt();\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: RefreshNativeSessionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string session_id = 1; */\n if (message.sessionId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.sessionId);\n /* int64 expires_in = 2; */\n if (message.expiresIn !== 0n)\n writer.tag(2, WireType.Varint).int64(message.expiresIn);\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.authn.RefreshNativeSessionResponse\n */\nexport const RefreshNativeSessionResponse = new RefreshNativeSessionResponse$Type();\n"]}
1
+ {"version":3,"file":"native_session.js","sourceRoot":"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I,CAAC,CAAC,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;YACxG,CAAC;QACL,CAAC;QACD,OAAO,OAAO,CAAC;IACnB,CAAC;IACD,mBAAmB,CAAC,OAAqC,EAAE,MAAqB,EAAE,OAA2B;QACzG,2BAA2B;QAC3B,IAAI,OAAO,CAAC,SAAS,KAAK,EAAE;YACxB,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAC5D,0CAA0C;QAC1C,IAAI,OAAO,CAAC,SAAS;YACjB,SAAS,CAAC,mBAAmB,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;QACrH,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;QACnC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,IAAI,iCAAiC,EAAE,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/authn/native_session.proto\" (package \"sid.v1.authn\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\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 { SessionId } from \"../ids/ids.js\";\n/**\n * One generation of a native session's refresh credentials, delivered in\n * `sid-native-credentials-bin` response metadata by a native ceremony\n * completion, a refresh and a redelivery of that refresh. The client\n * replaces its stored generation with this one as a whole: credentials of\n * different generations are never mixed.\n *\n * @generated from protobuf message sid.v1.authn.NativeCredentialSet\n */\nexport interface NativeCredentialSet {\n /**\n * The generation's refresh credentials, opaque bearer secrets of equal\n * standing bound to the application key: any one of them, with a fresh\n * proof by that key, refreshes the session once. Their number is the\n * issuer's session policy (`native_refresh_generation_size`); a client\n * accepts any count from 1 up to 16 and refuses a set outside it.\n *\n * @generated from protobuf field: repeated string refresh_credentials = 1\n */\n refreshCredentials: string[];\n /**\n * Seconds until these credentials expire, counted from the response.\n * Never beyond the session's absolute end or a source deadline.\n *\n * @generated from protobuf field: int64 expires_in = 2\n */\n expiresIn: bigint;\n /**\n * Seconds after a refresh commits during which a retry of the same\n * exchange with another credential of the presented generation receives\n * this same set again (the issuer's `native_redelivery_window_seconds`).\n * After it, the presented generation is retired.\n *\n * @generated from protobuf field: int64 redelivery_window = 3\n */\n redeliveryWindow: bigint;\n}\n/**\n * The claims of a SID native proof (JWS header `typ: \"sid-native+jwt\"`,\n * `jwk`: the application key's public JWK, `alg`: an asymmetric algorithm\n * of RFC 9449 §4.2). Signature, key, `jti`, `htm`, `htu` and `iat` follow\n * RFC 9449 §4.2 and §4.3: `htu` and `htm` name the request as the client\n * actually addressed it (the issuer URL and gRPC method path for a direct\n * gRPC call, the HTTP route for an HTTP call), and each `jti` is admitted\n * once by the issuer. The SID claims below bind what standard DPoP does not\n * (RFC 9449 §11.7): `ath` keeps its access-token meaning and is not used.\n * This message documents the claim set; the proof is the JWS, not this\n * message.\n *\n * @generated from protobuf message sid.v1.authn.NativeProofClaims\n */\nexport interface NativeProofClaims {\n /**\n * RFC 9449 §4.2: unique identifier of this proof; a proof is used once.\n *\n * @generated from protobuf field: string jti = 1\n */\n jti: string;\n /**\n * RFC 9449 §4.2: the HTTP method of the request (\"POST\").\n *\n * @generated from protobuf field: string htm = 2\n */\n htm: string;\n /**\n * RFC 9449 §4.2: the request URI without query and fragment, as the\n * client addressed it.\n *\n * @generated from protobuf field: string htu = 3\n */\n htu: string;\n /**\n * RFC 9449 §4.2: creation time, seconds since the epoch.\n *\n * @generated from protobuf field: int64 iat = 4\n */\n iat: bigint;\n /**\n * On RefreshNativeSession: base64url (no padding) SHA-256 of the\n * presented refresh credential's ASCII form. A proof for one credential\n * presents no other.\n *\n * @generated from protobuf field: string sid_rt = 5\n */\n sidRt: string;\n /**\n * On RefreshNativeSession: base64url (no padding) of the request's\n * `exchange`. A retry of the same exchange keeps it under a new proof.\n *\n * @generated from protobuf field: string sid_ex = 6\n */\n sidEx: string;\n /**\n * On a ceremony completion: base64url (no padding) SHA-256 of the\n * ceremony reference that completion echoes, as the completing method\n * documents it (for OpaqueLoginFinish the 16 bytes of its `login_id`). Binds\n * the application key to that one authenticated ceremony.\n *\n * @generated from protobuf field: string sid_cer = 7\n */\n sidCer: string;\n}\n/**\n * Refresh a native session, or receive again the generation a lost response\n * carried. Presented credential in `sid-native-refresh`, proof in\n * `sid-native-proof`; the access token in `authorization` and the next\n * generation in `sid-native-credentials-bin` response metadata.\n *\n * @generated from protobuf message sid.v1.authn.RefreshNativeSessionRequest\n */\nexport interface RefreshNativeSessionRequest {\n /**\n * The logical exchange: 16 random bytes the client chooses for one refresh\n * and keeps across its retries. Retrying an exchange within the\n * redelivery window, with any credential of the generation it rotated and\n * a fresh proof, answers the generation it committed; it grants no\n * authority by itself.\n *\n * @generated from protobuf field: bytes exchange = 1\n */\n exchange: Uint8Array;\n}\n/**\n * The refreshed session. Its credentials are in the response metadata.\n *\n * @generated from protobuf message sid.v1.authn.RefreshNativeSessionResponse\n */\nexport interface RefreshNativeSessionResponse {\n /**\n * The refreshed session: the same session, never a new one. Not a\n * credential.\n *\n * @generated from protobuf field: sid.v1.ids.SessionId session_id = 3\n */\n sessionId?: SessionId;\n /**\n * Seconds until the delivered access token expires.\n *\n * @generated from protobuf field: int64 expires_in = 2\n */\n expiresIn: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass NativeCredentialSet$Type extends MessageType<NativeCredentialSet> {\n constructor() {\n super(\"sid.v1.authn.NativeCredentialSet\", [\n { no: 1, name: \"refresh_credentials\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"expires_in\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"redelivery_window\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<NativeCredentialSet>): NativeCredentialSet {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.refreshCredentials = [];\n message.expiresIn = 0n;\n message.redeliveryWindow = 0n;\n if (value !== undefined)\n reflectionMergePartial<NativeCredentialSet>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NativeCredentialSet): NativeCredentialSet {\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 string refresh_credentials */ 1:\n message.refreshCredentials.push(reader.string());\n break;\n case /* int64 expires_in */ 2:\n message.expiresIn = reader.int64().toBigInt();\n break;\n case /* int64 redelivery_window */ 3:\n message.redeliveryWindow = reader.int64().toBigInt();\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: NativeCredentialSet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated string refresh_credentials = 1; */\n for (let i = 0; i < message.refreshCredentials.length; i++)\n writer.tag(1, WireType.LengthDelimited).string(message.refreshCredentials[i]);\n /* int64 expires_in = 2; */\n if (message.expiresIn !== 0n)\n writer.tag(2, WireType.Varint).int64(message.expiresIn);\n /* int64 redelivery_window = 3; */\n if (message.redeliveryWindow !== 0n)\n writer.tag(3, WireType.Varint).int64(message.redeliveryWindow);\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.authn.NativeCredentialSet\n */\nexport const NativeCredentialSet = new NativeCredentialSet$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass NativeProofClaims$Type extends MessageType<NativeProofClaims> {\n constructor() {\n super(\"sid.v1.authn.NativeProofClaims\", [\n { no: 1, name: \"jti\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"htm\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"htu\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"iat\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"sid_rt\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"sid_ex\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 7, name: \"sid_cer\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<NativeProofClaims>): NativeProofClaims {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.jti = \"\";\n message.htm = \"\";\n message.htu = \"\";\n message.iat = 0n;\n message.sidRt = \"\";\n message.sidEx = \"\";\n message.sidCer = \"\";\n if (value !== undefined)\n reflectionMergePartial<NativeProofClaims>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NativeProofClaims): NativeProofClaims {\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 jti */ 1:\n message.jti = reader.string();\n break;\n case /* string htm */ 2:\n message.htm = reader.string();\n break;\n case /* string htu */ 3:\n message.htu = reader.string();\n break;\n case /* int64 iat */ 4:\n message.iat = reader.int64().toBigInt();\n break;\n case /* string sid_rt */ 5:\n message.sidRt = reader.string();\n break;\n case /* string sid_ex */ 6:\n message.sidEx = reader.string();\n break;\n case /* string sid_cer */ 7:\n message.sidCer = 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: NativeProofClaims, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string jti = 1; */\n if (message.jti !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.jti);\n /* string htm = 2; */\n if (message.htm !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.htm);\n /* string htu = 3; */\n if (message.htu !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.htu);\n /* int64 iat = 4; */\n if (message.iat !== 0n)\n writer.tag(4, WireType.Varint).int64(message.iat);\n /* string sid_rt = 5; */\n if (message.sidRt !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.sidRt);\n /* string sid_ex = 6; */\n if (message.sidEx !== \"\")\n writer.tag(6, WireType.LengthDelimited).string(message.sidEx);\n /* string sid_cer = 7; */\n if (message.sidCer !== \"\")\n writer.tag(7, WireType.LengthDelimited).string(message.sidCer);\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.authn.NativeProofClaims\n */\nexport const NativeProofClaims = new NativeProofClaims$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RefreshNativeSessionRequest$Type extends MessageType<RefreshNativeSessionRequest> {\n constructor() {\n super(\"sid.v1.authn.RefreshNativeSessionRequest\", [\n { no: 1, name: \"exchange\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<RefreshNativeSessionRequest>): RefreshNativeSessionRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.exchange = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<RefreshNativeSessionRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RefreshNativeSessionRequest): RefreshNativeSessionRequest {\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 /* bytes exchange */ 1:\n message.exchange = 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: RefreshNativeSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes exchange = 1; */\n if (message.exchange.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.exchange);\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.authn.RefreshNativeSessionRequest\n */\nexport const RefreshNativeSessionRequest = new RefreshNativeSessionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RefreshNativeSessionResponse$Type extends MessageType<RefreshNativeSessionResponse> {\n constructor() {\n super(\"sid.v1.authn.RefreshNativeSessionResponse\", [\n { no: 3, name: \"session_id\", kind: \"message\", T: () => SessionId },\n { no: 2, name: \"expires_in\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<RefreshNativeSessionResponse>): RefreshNativeSessionResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.expiresIn = 0n;\n if (value !== undefined)\n reflectionMergePartial<RefreshNativeSessionResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RefreshNativeSessionResponse): RefreshNativeSessionResponse {\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.SessionId session_id */ 3:\n message.sessionId = SessionId.internalBinaryRead(reader, reader.uint32(), options, message.sessionId);\n break;\n case /* int64 expires_in */ 2:\n message.expiresIn = reader.int64().toBigInt();\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: RefreshNativeSessionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* int64 expires_in = 2; */\n if (message.expiresIn !== 0n)\n writer.tag(2, WireType.Varint).int64(message.expiresIn);\n /* sid.v1.ids.SessionId session_id = 3; */\n if (message.sessionId)\n SessionId.internalBinaryWrite(message.sessionId, writer.tag(3, 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.authn.RefreshNativeSessionResponse\n */\nexport const RefreshNativeSessionResponse = new RefreshNativeSessionResponse$Type();\n"]}
@@ -89,7 +89,8 @@ export interface IIdentityServiceClient {
89
89
  */
90
90
  listProfiles(input: ListProfilesRequest, options?: RpcOptions): UnaryCall<ListProfilesRequest, ListProfilesResponse>;
91
91
  /**
92
- * Credential management.
92
+ * Credential management. A request without `profile_id` acts on the
93
+ * caller's own Profile; naming another requires administrator authority.
93
94
  *
94
95
  * @generated from protobuf rpc: AddCredential
95
96
  */
@@ -107,7 +108,7 @@ export interface IIdentityServiceClient {
107
108
  */
108
109
  revokeCredential(input: RevokeCredentialRequest, options?: RpcOptions): UnaryCall<RevokeCredentialRequest, RevokeCredentialResponse>;
109
110
  /**
110
- * Principal management.
111
+ * Principal management; `profile_id` as for credentials.
111
112
  *
112
113
  * @generated from protobuf rpc: AddPrincipal
113
114
  */
@@ -121,7 +122,7 @@ export interface IIdentityServiceClient {
121
122
  */
122
123
  removePrincipal(input: RemovePrincipalRequest, options?: RpcOptions): UnaryCall<RemovePrincipalRequest, RemovePrincipalResponse>;
123
124
  /**
124
- * Session management.
125
+ * Session management; `profile_id` as for credentials.
125
126
  *
126
127
  * @generated from protobuf rpc: ListSessions
127
128
  */
@@ -185,7 +186,7 @@ export interface IIdentityServiceClient {
185
186
  */
186
187
  getCurrentProfile(input: GetCurrentProfileRequest, options?: RpcOptions): UnaryCall<GetCurrentProfileRequest, GetProfileResponse>;
187
188
  /**
188
- * Device management.
189
+ * Device management; `profile_id` as for credentials.
189
190
  *
190
191
  * @generated from protobuf rpc: ListDevices
191
192
  */
@@ -247,7 +248,8 @@ export declare class IdentityServiceClient implements IIdentityServiceClient, Se
247
248
  */
248
249
  listProfiles(input: ListProfilesRequest, options?: RpcOptions): UnaryCall<ListProfilesRequest, ListProfilesResponse>;
249
250
  /**
250
- * Credential management.
251
+ * Credential management. A request without `profile_id` acts on the
252
+ * caller's own Profile; naming another requires administrator authority.
251
253
  *
252
254
  * @generated from protobuf rpc: AddCredential
253
255
  */
@@ -265,7 +267,7 @@ export declare class IdentityServiceClient implements IIdentityServiceClient, Se
265
267
  */
266
268
  revokeCredential(input: RevokeCredentialRequest, options?: RpcOptions): UnaryCall<RevokeCredentialRequest, RevokeCredentialResponse>;
267
269
  /**
268
- * Principal management.
270
+ * Principal management; `profile_id` as for credentials.
269
271
  *
270
272
  * @generated from protobuf rpc: AddPrincipal
271
273
  */
@@ -279,7 +281,7 @@ export declare class IdentityServiceClient implements IIdentityServiceClient, Se
279
281
  */
280
282
  removePrincipal(input: RemovePrincipalRequest, options?: RpcOptions): UnaryCall<RemovePrincipalRequest, RemovePrincipalResponse>;
281
283
  /**
282
- * Session management.
284
+ * Session management; `profile_id` as for credentials.
283
285
  *
284
286
  * @generated from protobuf rpc: ListSessions
285
287
  */
@@ -343,7 +345,7 @@ export declare class IdentityServiceClient implements IIdentityServiceClient, Se
343
345
  */
344
346
  getCurrentProfile(input: GetCurrentProfileRequest, options?: RpcOptions): UnaryCall<GetCurrentProfileRequest, GetProfileResponse>;
345
347
  /**
346
- * Device management.
348
+ * Device management; `profile_id` as for credentials.
347
349
  *
348
350
  * @generated from protobuf rpc: ListDevices
349
351
  */
@@ -51,7 +51,8 @@ export class IdentityServiceClient {
51
51
  return stackIntercept("unary", this._transport, method, opt, input);
52
52
  }
53
53
  /**
54
- * Credential management.
54
+ * Credential management. A request without `profile_id` acts on the
55
+ * caller's own Profile; naming another requires administrator authority.
55
56
  *
56
57
  * @generated from protobuf rpc: AddCredential
57
58
  */
@@ -81,7 +82,7 @@ export class IdentityServiceClient {
81
82
  return stackIntercept("unary", this._transport, method, opt, input);
82
83
  }
83
84
  /**
84
- * Principal management.
85
+ * Principal management; `profile_id` as for credentials.
85
86
  *
86
87
  * @generated from protobuf rpc: AddPrincipal
87
88
  */
@@ -104,7 +105,7 @@ export class IdentityServiceClient {
104
105
  return stackIntercept("unary", this._transport, method, opt, input);
105
106
  }
106
107
  /**
107
- * Session management.
108
+ * Session management; `profile_id` as for credentials.
108
109
  *
109
110
  * @generated from protobuf rpc: ListSessions
110
111
  */
@@ -207,7 +208,7 @@ export class IdentityServiceClient {
207
208
  return stackIntercept("unary", this._transport, method, opt, input);
208
209
  }
209
210
  /**
210
- * Device management.
211
+ * Device management; `profile_id` as for credentials.
211
212
  *
212
213
  * @generated from protobuf rpc: ListDevices
213
214
  */
@@ -1 +1 @@
1
- {"version":3,"file":"identity.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/identity/identity.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAyDhD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA4J1D;;;;GAIG;AACH,MAAM,OAAO,qBAAqB;IAID;IAH7B,QAAQ,GAAG,eAAe,CAAC,QAAQ,CAAC;IACpC,OAAO,GAAG,eAAe,CAAC,OAAO,CAAC;IAClC,OAAO,GAAG,eAAe,CAAC,OAAO,CAAC;IAClC,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;OAIG;IACH,aAAa,CAAC,KAA2B,EAAE,OAAoB;QAC3D,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAA8C,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC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7E,OAAO,cAAc,CAA6B,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACpG,CAAC;IACD;;OAEG;IACH,iBAAiB,CAAC,KAA+B,EAAE,OAAoB;QACnE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAAmC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC1G,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/identity/identity.proto\" (package \"sid.v1.identity\", 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 { IdentityService } from \"./identity.js\";\nimport type { RevokeDeviceTrustRequest } from \"./identity.js\";\nimport type { TrustDeviceRequest } from \"./identity.js\";\nimport type { RemoveDeviceRequest } from \"./identity.js\";\nimport type { UpdateDeviceRequest } from \"./identity.js\";\nimport type { Device } from \"./identity.js\";\nimport type { GetDeviceRequest } from \"./identity.js\";\nimport type { ListDevicesResponse } from \"./identity.js\";\nimport type { ListDevicesRequest } from \"./identity.js\";\nimport type { GetCurrentProfileRequest } from \"./identity.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { AcknowledgeExportRequest } from \"./identity.js\";\nimport type { DownloadExportChunk } from \"./identity.js\";\nimport type { DownloadExportRequest } from \"./identity.js\";\nimport type { ServerStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { GetExportStatusResponse } from \"./identity.js\";\nimport type { GetExportStatusRequest } from \"./identity.js\";\nimport type { PrepareExportResponse } from \"./identity.js\";\nimport type { PrepareExportRequest } from \"./identity.js\";\nimport type { GetClosureStatusResponse } from \"./identity.js\";\nimport type { GetClosureStatusRequest } from \"./identity.js\";\nimport type { CancelClosureResponse } from \"./identity.js\";\nimport type { CancelClosureRequest } from \"./identity.js\";\nimport type { RequestClosureResponse } from \"./identity.js\";\nimport type { RequestClosureRequest } from \"./identity.js\";\nimport type { RevokeProfileResponse } from \"./identity.js\";\nimport type { RevokeProfileRequest } from \"./identity.js\";\nimport type { RecordPasskeyPromptDismissalResponse } from \"./identity.js\";\nimport type { RecordPasskeyPromptDismissalRequest } from \"./identity.js\";\nimport type { GetPasskeyPromptStateResponse } from \"./identity.js\";\nimport type { GetPasskeyPromptStateRequest } from \"./identity.js\";\nimport type { RevokeSessionResponse } from \"./identity.js\";\nimport type { RevokeSessionRequest } from \"./identity.js\";\nimport type { ListSessionsResponse } from \"./identity.js\";\nimport type { ListSessionsRequest } from \"./identity.js\";\nimport type { RemovePrincipalResponse } from \"./identity.js\";\nimport type { RemovePrincipalRequest } from \"./identity.js\";\nimport type { ListPrincipalsResponse } from \"./identity.js\";\nimport type { ListPrincipalsRequest } from \"./identity.js\";\nimport type { AddPrincipalResponse } from \"./identity.js\";\nimport type { AddPrincipalRequest } from \"./identity.js\";\nimport type { RevokeCredentialResponse } from \"./identity.js\";\nimport type { RevokeCredentialRequest } from \"./identity.js\";\nimport type { UpdateCredentialResponse } from \"./identity.js\";\nimport type { UpdateCredentialRequest } from \"./identity.js\";\nimport type { ListCredentialsResponse } from \"./identity.js\";\nimport type { ListCredentialsRequest } from \"./identity.js\";\nimport type { AddCredentialResponse } from \"./identity.js\";\nimport type { AddCredentialRequest } from \"./identity.js\";\nimport type { ListProfilesResponse } from \"./identity.js\";\nimport type { ListProfilesRequest } from \"./identity.js\";\nimport type { DeleteProfileResponse } from \"./identity.js\";\nimport type { DeleteProfileRequest } from \"./identity.js\";\nimport type { UpdateProfileResponse } from \"./identity.js\";\nimport type { UpdateProfileRequest } from \"./identity.js\";\nimport type { GetProfileResponse } from \"./identity.js\";\nimport type { GetProfileRequest } from \"./identity.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { CreateProfileResponse } from \"./identity.js\";\nimport type { CreateProfileRequest } from \"./identity.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * IdentityService manages profile lifecycle.\n *\n * @generated from protobuf service sid.v1.identity.IdentityService\n */\nexport interface IIdentityServiceClient {\n /**\n * Profile management.\n *\n * @generated from protobuf rpc: CreateProfile\n */\n createProfile(input: CreateProfileRequest, options?: RpcOptions): UnaryCall<CreateProfileRequest, CreateProfileResponse>;\n /**\n * @generated from protobuf rpc: GetProfile\n */\n getProfile(input: GetProfileRequest, options?: RpcOptions): UnaryCall<GetProfileRequest, GetProfileResponse>;\n /**\n * @generated from protobuf rpc: UpdateProfile\n */\n updateProfile(input: UpdateProfileRequest, options?: RpcOptions): UnaryCall<UpdateProfileRequest, UpdateProfileResponse>;\n /**\n * @generated from protobuf rpc: DeleteProfile\n */\n deleteProfile(input: DeleteProfileRequest, options?: RpcOptions): UnaryCall<DeleteProfileRequest, DeleteProfileResponse>;\n /**\n * @generated from protobuf rpc: ListProfiles\n */\n listProfiles(input: ListProfilesRequest, options?: RpcOptions): UnaryCall<ListProfilesRequest, ListProfilesResponse>;\n /**\n * Credential management.\n *\n * @generated from protobuf rpc: AddCredential\n */\n addCredential(input: AddCredentialRequest, options?: RpcOptions): UnaryCall<AddCredentialRequest, AddCredentialResponse>;\n /**\n * @generated from protobuf rpc: ListCredentials\n */\n listCredentials(input: ListCredentialsRequest, options?: RpcOptions): UnaryCall<ListCredentialsRequest, ListCredentialsResponse>;\n /**\n * @generated from protobuf rpc: UpdateCredential\n */\n updateCredential(input: UpdateCredentialRequest, options?: RpcOptions): UnaryCall<UpdateCredentialRequest, UpdateCredentialResponse>;\n /**\n * @generated from protobuf rpc: RevokeCredential\n */\n revokeCredential(input: RevokeCredentialRequest, options?: RpcOptions): UnaryCall<RevokeCredentialRequest, RevokeCredentialResponse>;\n /**\n * Principal management.\n *\n * @generated from protobuf rpc: AddPrincipal\n */\n addPrincipal(input: AddPrincipalRequest, options?: RpcOptions): UnaryCall<AddPrincipalRequest, AddPrincipalResponse>;\n /**\n * @generated from protobuf rpc: ListPrincipals\n */\n listPrincipals(input: ListPrincipalsRequest, options?: RpcOptions): UnaryCall<ListPrincipalsRequest, ListPrincipalsResponse>;\n /**\n * @generated from protobuf rpc: RemovePrincipal\n */\n removePrincipal(input: RemovePrincipalRequest, options?: RpcOptions): UnaryCall<RemovePrincipalRequest, RemovePrincipalResponse>;\n /**\n * Session management.\n *\n * @generated from protobuf rpc: ListSessions\n */\n listSessions(input: ListSessionsRequest, options?: RpcOptions): UnaryCall<ListSessionsRequest, ListSessionsResponse>;\n /**\n * @generated from protobuf rpc: RevokeSession\n */\n revokeSession(input: RevokeSessionRequest, options?: RpcOptions): UnaryCall<RevokeSessionRequest, RevokeSessionResponse>;\n /**\n * Passkey registration prompts.\n *\n * @generated from protobuf rpc: GetPasskeyPromptState\n */\n getPasskeyPromptState(input: GetPasskeyPromptStateRequest, options?: RpcOptions): UnaryCall<GetPasskeyPromptStateRequest, GetPasskeyPromptStateResponse>;\n /**\n * @generated from protobuf rpc: RecordPasskeyPromptDismissal\n */\n recordPasskeyPromptDismissal(input: RecordPasskeyPromptDismissalRequest, options?: RpcOptions): UnaryCall<RecordPasskeyPromptDismissalRequest, RecordPasskeyPromptDismissalResponse>;\n /**\n * Revocation cascade.\n *\n * @generated from protobuf rpc: RevokeProfile\n */\n revokeProfile(input: RevokeProfileRequest, options?: RpcOptions): UnaryCall<RevokeProfileRequest, RevokeProfileResponse>;\n /**\n * Account closure.\n *\n * @generated from protobuf rpc: RequestClosure\n */\n requestClosure(input: RequestClosureRequest, options?: RpcOptions): UnaryCall<RequestClosureRequest, RequestClosureResponse>;\n /**\n * @generated from protobuf rpc: CancelClosure\n */\n cancelClosure(input: CancelClosureRequest, options?: RpcOptions): UnaryCall<CancelClosureRequest, CancelClosureResponse>;\n /**\n * @generated from protobuf rpc: GetClosureStatus\n */\n getClosureStatus(input: GetClosureStatusRequest, options?: RpcOptions): UnaryCall<GetClosureStatusRequest, GetClosureStatusResponse>;\n /**\n * Data export (GDPR Art. 20).\n *\n * @generated from protobuf rpc: PrepareExport\n */\n prepareExport(input: PrepareExportRequest, options?: RpcOptions): UnaryCall<PrepareExportRequest, PrepareExportResponse>;\n /**\n * @generated from protobuf rpc: GetExportStatus\n */\n getExportStatus(input: GetExportStatusRequest, options?: RpcOptions): UnaryCall<GetExportStatusRequest, GetExportStatusResponse>;\n /**\n * @generated from protobuf rpc: DownloadExport\n */\n downloadExport(input: DownloadExportRequest, options?: RpcOptions): ServerStreamingCall<DownloadExportRequest, DownloadExportChunk>;\n /**\n * @generated from protobuf rpc: AcknowledgeExport\n */\n acknowledgeExport(input: AcknowledgeExportRequest, options?: RpcOptions): UnaryCall<AcknowledgeExportRequest, Empty>;\n /**\n * Current profile (from Bearer token subject).\n *\n * @generated from protobuf rpc: GetCurrentProfile\n */\n getCurrentProfile(input: GetCurrentProfileRequest, options?: RpcOptions): UnaryCall<GetCurrentProfileRequest, GetProfileResponse>;\n /**\n * Device management.\n *\n * @generated from protobuf rpc: ListDevices\n */\n listDevices(input: ListDevicesRequest, options?: RpcOptions): UnaryCall<ListDevicesRequest, ListDevicesResponse>;\n /**\n * @generated from protobuf rpc: GetDevice\n */\n getDevice(input: GetDeviceRequest, options?: RpcOptions): UnaryCall<GetDeviceRequest, Device>;\n /**\n * @generated from protobuf rpc: UpdateDevice\n */\n updateDevice(input: UpdateDeviceRequest, options?: RpcOptions): UnaryCall<UpdateDeviceRequest, Device>;\n /**\n * @generated from protobuf rpc: RemoveDevice\n */\n removeDevice(input: RemoveDeviceRequest, options?: RpcOptions): UnaryCall<RemoveDeviceRequest, Empty>;\n /**\n * @generated from protobuf rpc: TrustDevice\n */\n trustDevice(input: TrustDeviceRequest, options?: RpcOptions): UnaryCall<TrustDeviceRequest, Device>;\n /**\n * @generated from protobuf rpc: RevokeDeviceTrust\n */\n revokeDeviceTrust(input: RevokeDeviceTrustRequest, options?: RpcOptions): UnaryCall<RevokeDeviceTrustRequest, Device>;\n}\n/**\n * IdentityService manages profile lifecycle.\n *\n * @generated from protobuf service sid.v1.identity.IdentityService\n */\nexport class IdentityServiceClient implements IIdentityServiceClient, ServiceInfo {\n typeName = IdentityService.typeName;\n methods = IdentityService.methods;\n options = IdentityService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Profile management.\n *\n * @generated from protobuf rpc: CreateProfile\n */\n createProfile(input: CreateProfileRequest, options?: RpcOptions): UnaryCall<CreateProfileRequest, CreateProfileResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateProfileRequest, CreateProfileResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetProfile\n */\n getProfile(input: GetProfileRequest, options?: RpcOptions): UnaryCall<GetProfileRequest, GetProfileResponse> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetProfileRequest, GetProfileResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateProfile\n */\n updateProfile(input: UpdateProfileRequest, options?: RpcOptions): UnaryCall<UpdateProfileRequest, UpdateProfileResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateProfileRequest, UpdateProfileResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: DeleteProfile\n */\n deleteProfile(input: DeleteProfileRequest, options?: RpcOptions): UnaryCall<DeleteProfileRequest, DeleteProfileResponse> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<DeleteProfileRequest, DeleteProfileResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListProfiles\n */\n listProfiles(input: ListProfilesRequest, options?: RpcOptions): UnaryCall<ListProfilesRequest, ListProfilesResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListProfilesRequest, ListProfilesResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Credential management.\n *\n * @generated from protobuf rpc: AddCredential\n */\n addCredential(input: AddCredentialRequest, options?: RpcOptions): UnaryCall<AddCredentialRequest, AddCredentialResponse> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddCredentialRequest, AddCredentialResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListCredentials\n */\n listCredentials(input: ListCredentialsRequest, options?: RpcOptions): UnaryCall<ListCredentialsRequest, ListCredentialsResponse> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListCredentialsRequest, ListCredentialsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateCredential\n */\n updateCredential(input: UpdateCredentialRequest, options?: RpcOptions): UnaryCall<UpdateCredentialRequest, UpdateCredentialResponse> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateCredentialRequest, UpdateCredentialResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RevokeCredential\n */\n revokeCredential(input: RevokeCredentialRequest, options?: RpcOptions): UnaryCall<RevokeCredentialRequest, RevokeCredentialResponse> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeCredentialRequest, RevokeCredentialResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Principal management.\n *\n * @generated from protobuf rpc: AddPrincipal\n */\n addPrincipal(input: AddPrincipalRequest, options?: RpcOptions): UnaryCall<AddPrincipalRequest, AddPrincipalResponse> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddPrincipalRequest, AddPrincipalResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListPrincipals\n */\n listPrincipals(input: ListPrincipalsRequest, options?: RpcOptions): UnaryCall<ListPrincipalsRequest, ListPrincipalsResponse> {\n const method = this.methods[10], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListPrincipalsRequest, ListPrincipalsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RemovePrincipal\n */\n removePrincipal(input: RemovePrincipalRequest, options?: RpcOptions): UnaryCall<RemovePrincipalRequest, RemovePrincipalResponse> {\n const method = this.methods[11], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemovePrincipalRequest, RemovePrincipalResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Session management.\n *\n * @generated from protobuf rpc: ListSessions\n */\n listSessions(input: ListSessionsRequest, options?: RpcOptions): UnaryCall<ListSessionsRequest, ListSessionsResponse> {\n const method = this.methods[12], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListSessionsRequest, ListSessionsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RevokeSession\n */\n revokeSession(input: RevokeSessionRequest, options?: RpcOptions): UnaryCall<RevokeSessionRequest, RevokeSessionResponse> {\n const method = this.methods[13], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeSessionRequest, RevokeSessionResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Passkey registration prompts.\n *\n * @generated from protobuf rpc: GetPasskeyPromptState\n */\n getPasskeyPromptState(input: GetPasskeyPromptStateRequest, options?: RpcOptions): UnaryCall<GetPasskeyPromptStateRequest, GetPasskeyPromptStateResponse> {\n const method = this.methods[14], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetPasskeyPromptStateRequest, GetPasskeyPromptStateResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RecordPasskeyPromptDismissal\n */\n recordPasskeyPromptDismissal(input: RecordPasskeyPromptDismissalRequest, options?: RpcOptions): UnaryCall<RecordPasskeyPromptDismissalRequest, RecordPasskeyPromptDismissalResponse> {\n const method = this.methods[15], opt = this._transport.mergeOptions(options);\n return stackIntercept<RecordPasskeyPromptDismissalRequest, RecordPasskeyPromptDismissalResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Revocation cascade.\n *\n * @generated from protobuf rpc: RevokeProfile\n */\n revokeProfile(input: RevokeProfileRequest, options?: RpcOptions): UnaryCall<RevokeProfileRequest, RevokeProfileResponse> {\n const method = this.methods[16], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeProfileRequest, RevokeProfileResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Account closure.\n *\n * @generated from protobuf rpc: RequestClosure\n */\n requestClosure(input: RequestClosureRequest, options?: RpcOptions): UnaryCall<RequestClosureRequest, RequestClosureResponse> {\n const method = this.methods[17], opt = this._transport.mergeOptions(options);\n return stackIntercept<RequestClosureRequest, RequestClosureResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: CancelClosure\n */\n cancelClosure(input: CancelClosureRequest, options?: RpcOptions): UnaryCall<CancelClosureRequest, CancelClosureResponse> {\n const method = this.methods[18], opt = this._transport.mergeOptions(options);\n return stackIntercept<CancelClosureRequest, CancelClosureResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetClosureStatus\n */\n getClosureStatus(input: GetClosureStatusRequest, options?: RpcOptions): UnaryCall<GetClosureStatusRequest, GetClosureStatusResponse> {\n const method = this.methods[19], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetClosureStatusRequest, GetClosureStatusResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Data export (GDPR Art. 20).\n *\n * @generated from protobuf rpc: PrepareExport\n */\n prepareExport(input: PrepareExportRequest, options?: RpcOptions): UnaryCall<PrepareExportRequest, PrepareExportResponse> {\n const method = this.methods[20], opt = this._transport.mergeOptions(options);\n return stackIntercept<PrepareExportRequest, PrepareExportResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetExportStatus\n */\n getExportStatus(input: GetExportStatusRequest, options?: RpcOptions): UnaryCall<GetExportStatusRequest, GetExportStatusResponse> {\n const method = this.methods[21], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetExportStatusRequest, GetExportStatusResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: DownloadExport\n */\n downloadExport(input: DownloadExportRequest, options?: RpcOptions): ServerStreamingCall<DownloadExportRequest, DownloadExportChunk> {\n const method = this.methods[22], opt = this._transport.mergeOptions(options);\n return stackIntercept<DownloadExportRequest, DownloadExportChunk>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: AcknowledgeExport\n */\n acknowledgeExport(input: AcknowledgeExportRequest, options?: RpcOptions): UnaryCall<AcknowledgeExportRequest, Empty> {\n const method = this.methods[23], opt = this._transport.mergeOptions(options);\n return stackIntercept<AcknowledgeExportRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Current profile (from Bearer token subject).\n *\n * @generated from protobuf rpc: GetCurrentProfile\n */\n getCurrentProfile(input: GetCurrentProfileRequest, options?: RpcOptions): UnaryCall<GetCurrentProfileRequest, GetProfileResponse> {\n const method = this.methods[24], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetCurrentProfileRequest, GetProfileResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Device management.\n *\n * @generated from protobuf rpc: ListDevices\n */\n listDevices(input: ListDevicesRequest, options?: RpcOptions): UnaryCall<ListDevicesRequest, ListDevicesResponse> {\n const method = this.methods[25], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListDevicesRequest, ListDevicesResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetDevice\n */\n getDevice(input: GetDeviceRequest, options?: RpcOptions): UnaryCall<GetDeviceRequest, Device> {\n const method = this.methods[26], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetDeviceRequest, Device>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateDevice\n */\n updateDevice(input: UpdateDeviceRequest, options?: RpcOptions): UnaryCall<UpdateDeviceRequest, Device> {\n const method = this.methods[27], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateDeviceRequest, Device>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RemoveDevice\n */\n removeDevice(input: RemoveDeviceRequest, options?: RpcOptions): UnaryCall<RemoveDeviceRequest, Empty> {\n const method = this.methods[28], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemoveDeviceRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: TrustDevice\n */\n trustDevice(input: TrustDeviceRequest, options?: RpcOptions): UnaryCall<TrustDeviceRequest, Device> {\n const method = this.methods[29], opt = this._transport.mergeOptions(options);\n return stackIntercept<TrustDeviceRequest, Device>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RevokeDeviceTrust\n */\n revokeDeviceTrust(input: RevokeDeviceTrustRequest, options?: RpcOptions): UnaryCall<RevokeDeviceTrustRequest, Device> {\n const method = this.methods[30], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeDeviceTrustRequest, Device>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
1
+ {"version":3,"file":"identity.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/identity/identity.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAyDhD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA6J1D;;;;GAIG;AACH,MAAM,OAAO,qBAAqB;IAID;IAH7B,QAAQ,GAAG,eAAe,CAAC,QAAQ,CAAC;IACpC,OAAO,GAAG,eAAe,CAAC,OAAO,CAAC;IAClC,OAAO,GAAG,eAAe,CAAC,OAAO,CAAC;IAClC,YAA6B,U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,YAAY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAA6B,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACpG,CAAC;IACD;;OAEG;IACH,WAAW,CAAC,KAAyB,EAAE,OAAoB;QACvD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAA6B,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACpG,CAAC;IACD;;OAEG;IACH,iBAAiB,CAAC,KAA+B,EAAE,OAAoB;QACnE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAAmC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC1G,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/identity/identity.proto\" (package \"sid.v1.identity\", 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 { IdentityService } from \"./identity.js\";\nimport type { RevokeDeviceTrustRequest } from \"./identity.js\";\nimport type { TrustDeviceRequest } from \"./identity.js\";\nimport type { RemoveDeviceRequest } from \"./identity.js\";\nimport type { UpdateDeviceRequest } from \"./identity.js\";\nimport type { Device } from \"./identity.js\";\nimport type { GetDeviceRequest } from \"./identity.js\";\nimport type { ListDevicesResponse } from \"./identity.js\";\nimport type { ListDevicesRequest } from \"./identity.js\";\nimport type { GetCurrentProfileRequest } from \"./identity.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { AcknowledgeExportRequest } from \"./identity.js\";\nimport type { DownloadExportChunk } from \"./identity.js\";\nimport type { DownloadExportRequest } from \"./identity.js\";\nimport type { ServerStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { GetExportStatusResponse } from \"./identity.js\";\nimport type { GetExportStatusRequest } from \"./identity.js\";\nimport type { PrepareExportResponse } from \"./identity.js\";\nimport type { PrepareExportRequest } from \"./identity.js\";\nimport type { GetClosureStatusResponse } from \"./identity.js\";\nimport type { GetClosureStatusRequest } from \"./identity.js\";\nimport type { CancelClosureResponse } from \"./identity.js\";\nimport type { CancelClosureRequest } from \"./identity.js\";\nimport type { RequestClosureResponse } from \"./identity.js\";\nimport type { RequestClosureRequest } from \"./identity.js\";\nimport type { RevokeProfileResponse } from \"./identity.js\";\nimport type { RevokeProfileRequest } from \"./identity.js\";\nimport type { RecordPasskeyPromptDismissalResponse } from \"./identity.js\";\nimport type { RecordPasskeyPromptDismissalRequest } from \"./identity.js\";\nimport type { GetPasskeyPromptStateResponse } from \"./identity.js\";\nimport type { GetPasskeyPromptStateRequest } from \"./identity.js\";\nimport type { RevokeSessionResponse } from \"./identity.js\";\nimport type { RevokeSessionRequest } from \"./identity.js\";\nimport type { ListSessionsResponse } from \"./identity.js\";\nimport type { ListSessionsRequest } from \"./identity.js\";\nimport type { RemovePrincipalResponse } from \"./identity.js\";\nimport type { RemovePrincipalRequest } from \"./identity.js\";\nimport type { ListPrincipalsResponse } from \"./identity.js\";\nimport type { ListPrincipalsRequest } from \"./identity.js\";\nimport type { AddPrincipalResponse } from \"./identity.js\";\nimport type { AddPrincipalRequest } from \"./identity.js\";\nimport type { RevokeCredentialResponse } from \"./identity.js\";\nimport type { RevokeCredentialRequest } from \"./identity.js\";\nimport type { UpdateCredentialResponse } from \"./identity.js\";\nimport type { UpdateCredentialRequest } from \"./identity.js\";\nimport type { ListCredentialsResponse } from \"./identity.js\";\nimport type { ListCredentialsRequest } from \"./identity.js\";\nimport type { AddCredentialResponse } from \"./identity.js\";\nimport type { AddCredentialRequest } from \"./identity.js\";\nimport type { ListProfilesResponse } from \"./identity.js\";\nimport type { ListProfilesRequest } from \"./identity.js\";\nimport type { DeleteProfileResponse } from \"./identity.js\";\nimport type { DeleteProfileRequest } from \"./identity.js\";\nimport type { UpdateProfileResponse } from \"./identity.js\";\nimport type { UpdateProfileRequest } from \"./identity.js\";\nimport type { GetProfileResponse } from \"./identity.js\";\nimport type { GetProfileRequest } from \"./identity.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { CreateProfileResponse } from \"./identity.js\";\nimport type { CreateProfileRequest } from \"./identity.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * IdentityService manages profile lifecycle.\n *\n * @generated from protobuf service sid.v1.identity.IdentityService\n */\nexport interface IIdentityServiceClient {\n /**\n * Profile management.\n *\n * @generated from protobuf rpc: CreateProfile\n */\n createProfile(input: CreateProfileRequest, options?: RpcOptions): UnaryCall<CreateProfileRequest, CreateProfileResponse>;\n /**\n * @generated from protobuf rpc: GetProfile\n */\n getProfile(input: GetProfileRequest, options?: RpcOptions): UnaryCall<GetProfileRequest, GetProfileResponse>;\n /**\n * @generated from protobuf rpc: UpdateProfile\n */\n updateProfile(input: UpdateProfileRequest, options?: RpcOptions): UnaryCall<UpdateProfileRequest, UpdateProfileResponse>;\n /**\n * @generated from protobuf rpc: DeleteProfile\n */\n deleteProfile(input: DeleteProfileRequest, options?: RpcOptions): UnaryCall<DeleteProfileRequest, DeleteProfileResponse>;\n /**\n * @generated from protobuf rpc: ListProfiles\n */\n listProfiles(input: ListProfilesRequest, options?: RpcOptions): UnaryCall<ListProfilesRequest, ListProfilesResponse>;\n /**\n * Credential management. A request without `profile_id` acts on the\n * caller's own Profile; naming another requires administrator authority.\n *\n * @generated from protobuf rpc: AddCredential\n */\n addCredential(input: AddCredentialRequest, options?: RpcOptions): UnaryCall<AddCredentialRequest, AddCredentialResponse>;\n /**\n * @generated from protobuf rpc: ListCredentials\n */\n listCredentials(input: ListCredentialsRequest, options?: RpcOptions): UnaryCall<ListCredentialsRequest, ListCredentialsResponse>;\n /**\n * @generated from protobuf rpc: UpdateCredential\n */\n updateCredential(input: UpdateCredentialRequest, options?: RpcOptions): UnaryCall<UpdateCredentialRequest, UpdateCredentialResponse>;\n /**\n * @generated from protobuf rpc: RevokeCredential\n */\n revokeCredential(input: RevokeCredentialRequest, options?: RpcOptions): UnaryCall<RevokeCredentialRequest, RevokeCredentialResponse>;\n /**\n * Principal management; `profile_id` as for credentials.\n *\n * @generated from protobuf rpc: AddPrincipal\n */\n addPrincipal(input: AddPrincipalRequest, options?: RpcOptions): UnaryCall<AddPrincipalRequest, AddPrincipalResponse>;\n /**\n * @generated from protobuf rpc: ListPrincipals\n */\n listPrincipals(input: ListPrincipalsRequest, options?: RpcOptions): UnaryCall<ListPrincipalsRequest, ListPrincipalsResponse>;\n /**\n * @generated from protobuf rpc: RemovePrincipal\n */\n removePrincipal(input: RemovePrincipalRequest, options?: RpcOptions): UnaryCall<RemovePrincipalRequest, RemovePrincipalResponse>;\n /**\n * Session management; `profile_id` as for credentials.\n *\n * @generated from protobuf rpc: ListSessions\n */\n listSessions(input: ListSessionsRequest, options?: RpcOptions): UnaryCall<ListSessionsRequest, ListSessionsResponse>;\n /**\n * @generated from protobuf rpc: RevokeSession\n */\n revokeSession(input: RevokeSessionRequest, options?: RpcOptions): UnaryCall<RevokeSessionRequest, RevokeSessionResponse>;\n /**\n * Passkey registration prompts.\n *\n * @generated from protobuf rpc: GetPasskeyPromptState\n */\n getPasskeyPromptState(input: GetPasskeyPromptStateRequest, options?: RpcOptions): UnaryCall<GetPasskeyPromptStateRequest, GetPasskeyPromptStateResponse>;\n /**\n * @generated from protobuf rpc: RecordPasskeyPromptDismissal\n */\n recordPasskeyPromptDismissal(input: RecordPasskeyPromptDismissalRequest, options?: RpcOptions): UnaryCall<RecordPasskeyPromptDismissalRequest, RecordPasskeyPromptDismissalResponse>;\n /**\n * Revocation cascade.\n *\n * @generated from protobuf rpc: RevokeProfile\n */\n revokeProfile(input: RevokeProfileRequest, options?: RpcOptions): UnaryCall<RevokeProfileRequest, RevokeProfileResponse>;\n /**\n * Account closure.\n *\n * @generated from protobuf rpc: RequestClosure\n */\n requestClosure(input: RequestClosureRequest, options?: RpcOptions): UnaryCall<RequestClosureRequest, RequestClosureResponse>;\n /**\n * @generated from protobuf rpc: CancelClosure\n */\n cancelClosure(input: CancelClosureRequest, options?: RpcOptions): UnaryCall<CancelClosureRequest, CancelClosureResponse>;\n /**\n * @generated from protobuf rpc: GetClosureStatus\n */\n getClosureStatus(input: GetClosureStatusRequest, options?: RpcOptions): UnaryCall<GetClosureStatusRequest, GetClosureStatusResponse>;\n /**\n * Data export (GDPR Art. 20).\n *\n * @generated from protobuf rpc: PrepareExport\n */\n prepareExport(input: PrepareExportRequest, options?: RpcOptions): UnaryCall<PrepareExportRequest, PrepareExportResponse>;\n /**\n * @generated from protobuf rpc: GetExportStatus\n */\n getExportStatus(input: GetExportStatusRequest, options?: RpcOptions): UnaryCall<GetExportStatusRequest, GetExportStatusResponse>;\n /**\n * @generated from protobuf rpc: DownloadExport\n */\n downloadExport(input: DownloadExportRequest, options?: RpcOptions): ServerStreamingCall<DownloadExportRequest, DownloadExportChunk>;\n /**\n * @generated from protobuf rpc: AcknowledgeExport\n */\n acknowledgeExport(input: AcknowledgeExportRequest, options?: RpcOptions): UnaryCall<AcknowledgeExportRequest, Empty>;\n /**\n * Current profile (from Bearer token subject).\n *\n * @generated from protobuf rpc: GetCurrentProfile\n */\n getCurrentProfile(input: GetCurrentProfileRequest, options?: RpcOptions): UnaryCall<GetCurrentProfileRequest, GetProfileResponse>;\n /**\n * Device management; `profile_id` as for credentials.\n *\n * @generated from protobuf rpc: ListDevices\n */\n listDevices(input: ListDevicesRequest, options?: RpcOptions): UnaryCall<ListDevicesRequest, ListDevicesResponse>;\n /**\n * @generated from protobuf rpc: GetDevice\n */\n getDevice(input: GetDeviceRequest, options?: RpcOptions): UnaryCall<GetDeviceRequest, Device>;\n /**\n * @generated from protobuf rpc: UpdateDevice\n */\n updateDevice(input: UpdateDeviceRequest, options?: RpcOptions): UnaryCall<UpdateDeviceRequest, Device>;\n /**\n * @generated from protobuf rpc: RemoveDevice\n */\n removeDevice(input: RemoveDeviceRequest, options?: RpcOptions): UnaryCall<RemoveDeviceRequest, Empty>;\n /**\n * @generated from protobuf rpc: TrustDevice\n */\n trustDevice(input: TrustDeviceRequest, options?: RpcOptions): UnaryCall<TrustDeviceRequest, Device>;\n /**\n * @generated from protobuf rpc: RevokeDeviceTrust\n */\n revokeDeviceTrust(input: RevokeDeviceTrustRequest, options?: RpcOptions): UnaryCall<RevokeDeviceTrustRequest, Device>;\n}\n/**\n * IdentityService manages profile lifecycle.\n *\n * @generated from protobuf service sid.v1.identity.IdentityService\n */\nexport class IdentityServiceClient implements IIdentityServiceClient, ServiceInfo {\n typeName = IdentityService.typeName;\n methods = IdentityService.methods;\n options = IdentityService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Profile management.\n *\n * @generated from protobuf rpc: CreateProfile\n */\n createProfile(input: CreateProfileRequest, options?: RpcOptions): UnaryCall<CreateProfileRequest, CreateProfileResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateProfileRequest, CreateProfileResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetProfile\n */\n getProfile(input: GetProfileRequest, options?: RpcOptions): UnaryCall<GetProfileRequest, GetProfileResponse> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetProfileRequest, GetProfileResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateProfile\n */\n updateProfile(input: UpdateProfileRequest, options?: RpcOptions): UnaryCall<UpdateProfileRequest, UpdateProfileResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateProfileRequest, UpdateProfileResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: DeleteProfile\n */\n deleteProfile(input: DeleteProfileRequest, options?: RpcOptions): UnaryCall<DeleteProfileRequest, DeleteProfileResponse> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<DeleteProfileRequest, DeleteProfileResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListProfiles\n */\n listProfiles(input: ListProfilesRequest, options?: RpcOptions): UnaryCall<ListProfilesRequest, ListProfilesResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListProfilesRequest, ListProfilesResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Credential management. A request without `profile_id` acts on the\n * caller's own Profile; naming another requires administrator authority.\n *\n * @generated from protobuf rpc: AddCredential\n */\n addCredential(input: AddCredentialRequest, options?: RpcOptions): UnaryCall<AddCredentialRequest, AddCredentialResponse> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddCredentialRequest, AddCredentialResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListCredentials\n */\n listCredentials(input: ListCredentialsRequest, options?: RpcOptions): UnaryCall<ListCredentialsRequest, ListCredentialsResponse> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListCredentialsRequest, ListCredentialsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateCredential\n */\n updateCredential(input: UpdateCredentialRequest, options?: RpcOptions): UnaryCall<UpdateCredentialRequest, UpdateCredentialResponse> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateCredentialRequest, UpdateCredentialResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RevokeCredential\n */\n revokeCredential(input: RevokeCredentialRequest, options?: RpcOptions): UnaryCall<RevokeCredentialRequest, RevokeCredentialResponse> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeCredentialRequest, RevokeCredentialResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Principal management; `profile_id` as for credentials.\n *\n * @generated from protobuf rpc: AddPrincipal\n */\n addPrincipal(input: AddPrincipalRequest, options?: RpcOptions): UnaryCall<AddPrincipalRequest, AddPrincipalResponse> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddPrincipalRequest, AddPrincipalResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListPrincipals\n */\n listPrincipals(input: ListPrincipalsRequest, options?: RpcOptions): UnaryCall<ListPrincipalsRequest, ListPrincipalsResponse> {\n const method = this.methods[10], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListPrincipalsRequest, ListPrincipalsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RemovePrincipal\n */\n removePrincipal(input: RemovePrincipalRequest, options?: RpcOptions): UnaryCall<RemovePrincipalRequest, RemovePrincipalResponse> {\n const method = this.methods[11], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemovePrincipalRequest, RemovePrincipalResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Session management; `profile_id` as for credentials.\n *\n * @generated from protobuf rpc: ListSessions\n */\n listSessions(input: ListSessionsRequest, options?: RpcOptions): UnaryCall<ListSessionsRequest, ListSessionsResponse> {\n const method = this.methods[12], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListSessionsRequest, ListSessionsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RevokeSession\n */\n revokeSession(input: RevokeSessionRequest, options?: RpcOptions): UnaryCall<RevokeSessionRequest, RevokeSessionResponse> {\n const method = this.methods[13], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeSessionRequest, RevokeSessionResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Passkey registration prompts.\n *\n * @generated from protobuf rpc: GetPasskeyPromptState\n */\n getPasskeyPromptState(input: GetPasskeyPromptStateRequest, options?: RpcOptions): UnaryCall<GetPasskeyPromptStateRequest, GetPasskeyPromptStateResponse> {\n const method = this.methods[14], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetPasskeyPromptStateRequest, GetPasskeyPromptStateResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RecordPasskeyPromptDismissal\n */\n recordPasskeyPromptDismissal(input: RecordPasskeyPromptDismissalRequest, options?: RpcOptions): UnaryCall<RecordPasskeyPromptDismissalRequest, RecordPasskeyPromptDismissalResponse> {\n const method = this.methods[15], opt = this._transport.mergeOptions(options);\n return stackIntercept<RecordPasskeyPromptDismissalRequest, RecordPasskeyPromptDismissalResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Revocation cascade.\n *\n * @generated from protobuf rpc: RevokeProfile\n */\n revokeProfile(input: RevokeProfileRequest, options?: RpcOptions): UnaryCall<RevokeProfileRequest, RevokeProfileResponse> {\n const method = this.methods[16], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeProfileRequest, RevokeProfileResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Account closure.\n *\n * @generated from protobuf rpc: RequestClosure\n */\n requestClosure(input: RequestClosureRequest, options?: RpcOptions): UnaryCall<RequestClosureRequest, RequestClosureResponse> {\n const method = this.methods[17], opt = this._transport.mergeOptions(options);\n return stackIntercept<RequestClosureRequest, RequestClosureResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: CancelClosure\n */\n cancelClosure(input: CancelClosureRequest, options?: RpcOptions): UnaryCall<CancelClosureRequest, CancelClosureResponse> {\n const method = this.methods[18], opt = this._transport.mergeOptions(options);\n return stackIntercept<CancelClosureRequest, CancelClosureResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetClosureStatus\n */\n getClosureStatus(input: GetClosureStatusRequest, options?: RpcOptions): UnaryCall<GetClosureStatusRequest, GetClosureStatusResponse> {\n const method = this.methods[19], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetClosureStatusRequest, GetClosureStatusResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Data export (GDPR Art. 20).\n *\n * @generated from protobuf rpc: PrepareExport\n */\n prepareExport(input: PrepareExportRequest, options?: RpcOptions): UnaryCall<PrepareExportRequest, PrepareExportResponse> {\n const method = this.methods[20], opt = this._transport.mergeOptions(options);\n return stackIntercept<PrepareExportRequest, PrepareExportResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetExportStatus\n */\n getExportStatus(input: GetExportStatusRequest, options?: RpcOptions): UnaryCall<GetExportStatusRequest, GetExportStatusResponse> {\n const method = this.methods[21], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetExportStatusRequest, GetExportStatusResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: DownloadExport\n */\n downloadExport(input: DownloadExportRequest, options?: RpcOptions): ServerStreamingCall<DownloadExportRequest, DownloadExportChunk> {\n const method = this.methods[22], opt = this._transport.mergeOptions(options);\n return stackIntercept<DownloadExportRequest, DownloadExportChunk>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: AcknowledgeExport\n */\n acknowledgeExport(input: AcknowledgeExportRequest, options?: RpcOptions): UnaryCall<AcknowledgeExportRequest, Empty> {\n const method = this.methods[23], opt = this._transport.mergeOptions(options);\n return stackIntercept<AcknowledgeExportRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Current profile (from Bearer token subject).\n *\n * @generated from protobuf rpc: GetCurrentProfile\n */\n getCurrentProfile(input: GetCurrentProfileRequest, options?: RpcOptions): UnaryCall<GetCurrentProfileRequest, GetProfileResponse> {\n const method = this.methods[24], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetCurrentProfileRequest, GetProfileResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Device management; `profile_id` as for credentials.\n *\n * @generated from protobuf rpc: ListDevices\n */\n listDevices(input: ListDevicesRequest, options?: RpcOptions): UnaryCall<ListDevicesRequest, ListDevicesResponse> {\n const method = this.methods[25], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListDevicesRequest, ListDevicesResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetDevice\n */\n getDevice(input: GetDeviceRequest, options?: RpcOptions): UnaryCall<GetDeviceRequest, Device> {\n const method = this.methods[26], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetDeviceRequest, Device>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateDevice\n */\n updateDevice(input: UpdateDeviceRequest, options?: RpcOptions): UnaryCall<UpdateDeviceRequest, Device> {\n const method = this.methods[27], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateDeviceRequest, Device>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RemoveDevice\n */\n removeDevice(input: RemoveDeviceRequest, options?: RpcOptions): UnaryCall<RemoveDeviceRequest, Empty> {\n const method = this.methods[28], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemoveDeviceRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: TrustDevice\n */\n trustDevice(input: TrustDeviceRequest, options?: RpcOptions): UnaryCall<TrustDeviceRequest, Device> {\n const method = this.methods[29], opt = this._transport.mergeOptions(options);\n return stackIntercept<TrustDeviceRequest, Device>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RevokeDeviceTrust\n */\n revokeDeviceTrust(input: RevokeDeviceTrustRequest, options?: RpcOptions): UnaryCall<RevokeDeviceTrustRequest, Device> {\n const method = this.methods[30], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeDeviceTrustRequest, Device>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}