@structured-id/proto 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/NOTICE +1 -2
  3. package/README.md +7 -37
  4. package/dist/generated/sid/v1/account/account.client.d.ts +34 -16
  5. package/dist/generated/sid/v1/account/account.client.js +17 -8
  6. package/dist/generated/sid/v1/account/account.client.js.map +1 -1
  7. package/dist/generated/sid/v1/account/account.js +8 -8
  8. package/dist/generated/sid/v1/account/account.js.map +1 -1
  9. package/dist/generated/sid/v1/admin/admin.js +2 -2
  10. package/dist/generated/sid/v1/admin/admin.js.map +1 -1
  11. package/dist/generated/sid/v1/admin/branding.client.d.ts +2 -0
  12. package/dist/generated/sid/v1/admin/branding.client.js +1 -0
  13. package/dist/generated/sid/v1/admin/branding.client.js.map +1 -1
  14. package/dist/generated/sid/v1/admin/branding.js +2 -2
  15. package/dist/generated/sid/v1/admin/branding.js.map +1 -1
  16. package/dist/generated/sid/v1/admin/enrollment.client.d.ts +43 -4
  17. package/dist/generated/sid/v1/admin/enrollment.client.js +29 -5
  18. package/dist/generated/sid/v1/admin/enrollment.client.js.map +1 -1
  19. package/dist/generated/sid/v1/admin/enrollment.d.ts +171 -6
  20. package/dist/generated/sid/v1/admin/enrollment.js +281 -4
  21. package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
  22. package/dist/generated/sid/v1/admin/flow.client.d.ts +12 -6
  23. package/dist/generated/sid/v1/admin/flow.client.js +6 -3
  24. package/dist/generated/sid/v1/admin/flow.client.js.map +1 -1
  25. package/dist/generated/sid/v1/admin/flow.js +7 -7
  26. package/dist/generated/sid/v1/admin/flow.js.map +1 -1
  27. package/dist/generated/sid/v1/admin/notifications.js +2 -2
  28. package/dist/generated/sid/v1/admin/notifications.js.map +1 -1
  29. package/dist/generated/sid/v1/admin/provisioning.js +4 -4
  30. package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
  31. package/dist/generated/sid/v1/admin/security.client.d.ts +4 -2
  32. package/dist/generated/sid/v1/admin/security.client.js +2 -1
  33. package/dist/generated/sid/v1/admin/security.client.js.map +1 -1
  34. package/dist/generated/sid/v1/admin/security.js +2 -2
  35. package/dist/generated/sid/v1/admin/security.js.map +1 -1
  36. package/dist/generated/sid/v1/attestation/attestation.client.d.ts +4 -2
  37. package/dist/generated/sid/v1/attestation/attestation.client.js +2 -1
  38. package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
  39. package/dist/generated/sid/v1/attestation/attestation.js +4 -4
  40. package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
  41. package/dist/generated/sid/v1/authn/auth.client.d.ts +20 -2
  42. package/dist/generated/sid/v1/authn/auth.client.js +10 -1
  43. package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
  44. package/dist/generated/sid/v1/authn/auth.d.ts +53 -68
  45. package/dist/generated/sid/v1/authn/auth.js +18 -83
  46. package/dist/generated/sid/v1/authn/auth.js.map +1 -1
  47. package/dist/generated/sid/v1/authn/issuer.client.d.ts +10 -4
  48. package/dist/generated/sid/v1/authn/issuer.client.js +5 -2
  49. package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
  50. package/dist/generated/sid/v1/authn/issuer.js +11 -11
  51. package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
  52. package/dist/generated/sid/v1/authn/system_integration.js +1 -1
  53. package/dist/generated/sid/v1/authn/system_integration.js.map +1 -1
  54. package/dist/generated/sid/v1/authz/authz.client.d.ts +0 -28
  55. package/dist/generated/sid/v1/authz/authz.client.js +25 -43
  56. package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
  57. package/dist/generated/sid/v1/authz/authz.d.ts +0 -96
  58. package/dist/generated/sid/v1/authz/authz.js +0 -230
  59. package/dist/generated/sid/v1/authz/authz.js.map +1 -1
  60. package/dist/generated/sid/v1/authz/forward_auth.js +1 -1
  61. package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -1
  62. package/dist/generated/sid/v1/events/event_stream.js +2 -2
  63. package/dist/generated/sid/v1/events/event_stream.js.map +1 -1
  64. package/dist/generated/sid/v1/federation/upstream.d.ts +0 -4
  65. package/dist/generated/sid/v1/federation/upstream.js +0 -8
  66. package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
  67. package/dist/generated/sid/v1/projects/projects.client.d.ts +10 -4
  68. package/dist/generated/sid/v1/projects/projects.client.js +5 -2
  69. package/dist/generated/sid/v1/projects/projects.client.js.map +1 -1
  70. package/dist/generated/sid/v1/projects/projects.js +2 -2
  71. package/dist/generated/sid/v1/projects/projects.js.map +1 -1
  72. package/dist/generated/sid/v1/scim/scim.client.d.ts +4 -2
  73. package/dist/generated/sid/v1/scim/scim.client.js +2 -1
  74. package/dist/generated/sid/v1/scim/scim.client.js.map +1 -1
  75. package/dist/generated/sid/v1/scim/scim.js +4 -4
  76. package/dist/generated/sid/v1/scim/scim.js.map +1 -1
  77. package/dist/generated/sid/v1/test/test.js +10 -10
  78. package/dist/generated/sid/v1/test/test.js.map +1 -1
  79. package/dist/generated/sid/v1/ui/public_settings.client.d.ts +66 -0
  80. package/dist/generated/sid/v1/ui/public_settings.client.js +42 -0
  81. package/dist/generated/sid/v1/ui/public_settings.client.js.map +1 -0
  82. package/dist/generated/sid/v1/ui/public_settings.d.ts +61 -0
  83. package/dist/generated/sid/v1/ui/public_settings.js +106 -0
  84. package/dist/generated/sid/v1/ui/public_settings.js.map +1 -0
  85. package/package.json +10 -16
  86. package/dist/generated/sid/v1/common/transport.d.ts +0 -86
  87. package/dist/generated/sid/v1/common/transport.js +0 -163
  88. package/dist/generated/sid/v1/common/transport.js.map +0 -1
  89. package/dist/transport/adaptive.d.ts +0 -72
  90. package/dist/transport/adaptive.js +0 -223
  91. package/dist/transport/adaptive.js.map +0 -1
  92. package/dist/transport/framing.d.ts +0 -33
  93. package/dist/transport/framing.js +0 -81
  94. package/dist/transport/framing.js.map +0 -1
  95. package/dist/transport/index.d.ts +0 -7
  96. package/dist/transport/index.js +0 -8
  97. package/dist/transport/index.js.map +0 -1
  98. package/dist/transport/transport-failure.d.ts +0 -7
  99. package/dist/transport/transport-failure.js +0 -17
  100. package/dist/transport/transport-failure.js.map +0 -1
  101. package/dist/transport/webtransport.d.ts +0 -56
  102. package/dist/transport/webtransport.js +0 -278
  103. package/dist/transport/webtransport.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.4.1](https://github.com/structured-id/sdk/compare/typescript-proto-v0.4.0...typescript-proto-v0.4.1) (2026-10-22)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **proto:** take the registration results without a Profile id ([#25](https://github.com/structured-id/sdk/issues/25)) ([a67ac4e](https://github.com/structured-id/sdk/commit/a67ac4e69313c8d0bba6095b7fa1165b0437b2fe)), closes [#24](https://github.com/structured-id/sdk/issues/24)
9
+
10
+ ## [0.4.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.3.0...typescript-proto-v0.4.0) (2026-10-17)
11
+
12
+
13
+ ### Features
14
+
15
+ * **proto:** remove the WebTransport browser transport ([#20](https://github.com/structured-id/sdk/issues/20)) ([05e5ba9](https://github.com/structured-id/sdk/commit/05e5ba90151a68814deb467cd6e1fdc464b546cc)), closes [#19](https://github.com/structured-id/sdk/issues/19)
16
+
3
17
  ## [0.3.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.2.0...typescript-proto-v0.3.0) (2026-10-16)
4
18
 
5
19
 
package/NOTICE CHANGED
@@ -2,8 +2,7 @@
2
2
  Copyright (C) Dmitry Prudnikov
3
3
 
4
4
  StructuredID public sid.v1 API for TypeScript: messages and clients generated
5
- from the StructuredID proto definitions, and the browser gRPC-web /
6
- WebTransport transport.
5
+ from the StructuredID proto definitions.
7
6
 
8
7
  LICENSE
9
8
  -------
package/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  The public StructuredID `sid.v1` API for TypeScript: the messages and service
4
4
  clients generated from the [proto definitions](https://github.com/structured-id/proto)
5
- with [protobuf-ts](https://github.com/timostamm/protobuf-ts), the
6
- `google.rpc` error model, and a browser transport that speaks gRPC-web and,
7
- where the server offers it, WebTransport.
5
+ with [protobuf-ts](https://github.com/timostamm/protobuf-ts) and the
6
+ `google.rpc` error model. The clients run on any protobuf-ts transport:
7
+ gRPC-web in a browser, gRPC on a server.
8
8
 
9
9
  It carries no UI code and no framework dependency: a Vue, React or plain
10
10
  TypeScript application, a worker or a Node script use the same modules.
@@ -12,25 +12,22 @@ TypeScript application, a worker or a Node script use the same modules.
12
12
  ## Use
13
13
 
14
14
  ```sh
15
- npm install @structured-id/proto
15
+ npm install @structured-id/proto @protobuf-ts/grpcweb-transport
16
16
  ```
17
17
 
18
18
  Every schema file is its own module, under the path of the `.proto` file:
19
19
 
20
20
  ```ts
21
+ import { GrpcWebFetchTransport } from "@protobuf-ts/grpcweb-transport";
21
22
  import { IdentityServiceClient } from "@structured-id/proto/sid/v1/identity/identity.client";
22
23
  import { GetCurrentProfileRequest } from "@structured-id/proto/sid/v1/identity/identity";
23
24
  import { Status } from "@structured-id/proto/google/rpc/status";
24
- import { AdaptiveRpcTransport } from "@structured-id/proto/transport";
25
25
 
26
- const transport = new AdaptiveRpcTransport({
27
- grpcWebUrl: "https://sid.example.com",
28
- // Optional: WebTransport (HTTP/3) with per-call fallback to gRPC-web.
29
- webTransportUrl: "https://sid.example.com:4433",
26
+ const transport = new GrpcWebFetchTransport({
27
+ baseUrl: "https://sid.example.com",
30
28
  // Send the session cookie of a backend-for-frontend.
31
29
  fetchInit: { credentials: "include" },
32
30
  });
33
- await transport.init();
34
31
 
35
32
  const identity = new IdentityServiceClient(transport);
36
33
  const { response } = await identity.getCurrentProfile(GetCurrentProfileRequest.create());
@@ -41,33 +38,6 @@ holds a `google.rpc.Status`; decode it with `Status.fromBinary` and branch on
41
38
  the `google.rpc.ErrorInfo` reason and domain in its details, never on the
42
39
  message text.
43
40
 
44
- ### Transport
45
-
46
- `AdaptiveRpcTransport` sends every unary call over WebTransport while the
47
- connection is up. A locally observed connection or stream I/O failure retries
48
- that call over gRPC-web and reconnects WebTransport in the background. Server
49
- statuses, including `UNAVAILABLE`, `CANCELLED` and `UNKNOWN`, are returned as is:
50
- a status code alone is not evidence of a failed connection. Malformed protobuf
51
- responses report `DATA_LOSS`; local encoding errors report `INTERNAL`. Neither
52
- triggers failover. A server error status rejects the call's headers, response,
53
- status and trailers promises, preserving its metadata on `RpcError`.
54
- Server streaming always goes over
55
- gRPC-web. Without a `webTransportUrl`, or where the runtime has no
56
- `WebTransport`, it is plain gRPC-web.
57
-
58
- `RpcOptions.abort` cancels an active stream and prevents a fallback attempt for
59
- that cancelled call. `close()` stops background reconnects, including an
60
- attempt already in progress. Transport-change callbacks are observers: an
61
- exception in one cannot change connection health or the call's result.
62
- Remote closure also switches to gRPC-web and starts recovery when no RPC is
63
- active. A late failure from a retired connection cannot disable its replacement.
64
-
65
- `WebTransportRpcTransport`, `WebTransportConnection` and the frame helpers are
66
- exported for applications that manage the connection themselves.
67
-
68
- The declarations use the DOM types (`WebTransport`, streams, `RequestInit`):
69
- a TypeScript project compiling against them includes the `DOM` library.
70
-
71
41
  ### Identifiers
72
42
 
73
43
  The `sid.v1.ids` messages are those of
@@ -58,13 +58,16 @@ export interface IAccountServiceClient {
58
58
  */
59
59
  getConsentDetail(input: GetConsentDetailRequest, options?: RpcOptions): UnaryCall<GetConsentDetailRequest, GetConsentDetailResponse>;
60
60
  /**
61
- * Update consent for a single claim (grant or deny).
61
+ * Update consent for a single claim (grant or deny). A claim already as
62
+ * asked is left unchanged and answered the same.
62
63
  *
63
64
  * @generated from protobuf rpc: UpdateClaimConsent
64
65
  */
65
66
  updateClaimConsent(input: UpdateClaimConsentRequest, options?: RpcOptions): UnaryCall<UpdateClaimConsentRequest, Empty>;
66
67
  /**
67
- * Disconnect site: revoke all claims + sessions + delete consent.
68
+ * Disconnect site: revoke all claims + sessions + delete consent. A
69
+ * repetition removes nothing more and answers NOT_FOUND; idempotency is
70
+ * the effect, not the answer (RFC 9110 §9.2.2).
68
71
  *
69
72
  * @generated from protobuf rpc: DisconnectSite
70
73
  */
@@ -163,19 +166,22 @@ export interface IAccountServiceClient {
163
166
  */
164
167
  addPhone(input: AddPhoneRequest, options?: RpcOptions): UnaryCall<AddPhoneRequest, ProfilePhone>;
165
168
  /**
166
- * Remove a phone number from the current profile.
169
+ * Remove a phone number from the current profile. A repetition removes
170
+ * nothing more and answers NOT_FOUND (RFC 9110 §9.2.2).
167
171
  *
168
172
  * @generated from protobuf rpc: RemovePhone
169
173
  */
170
174
  removePhone(input: RemovePhoneRequest, options?: RpcOptions): UnaryCall<RemovePhoneRequest, Empty>;
171
175
  /**
172
- * Update a phone number's label or capabilities.
176
+ * Update a phone number's label or capabilities. Only the given settings
177
+ * are written, so a repetition leaves the same phone.
173
178
  *
174
179
  * @generated from protobuf rpc: UpdatePhone
175
180
  */
176
181
  updatePhone(input: UpdatePhoneRequest, options?: RpcOptions): UnaryCall<UpdatePhoneRequest, ProfilePhone>;
177
182
  /**
178
- * Set a phone as the primary phone for this profile.
183
+ * Set a phone as the primary phone for this profile. A phone already
184
+ * primary stays so and is answered the same.
179
185
  *
180
186
  * @generated from protobuf rpc: SetPrimaryPhone
181
187
  */
@@ -193,19 +199,22 @@ export interface IAccountServiceClient {
193
199
  */
194
200
  addEmail(input: AddEmailRequest, options?: RpcOptions): UnaryCall<AddEmailRequest, ProfileEmail>;
195
201
  /**
196
- * Remove an email address from the current profile.
202
+ * Remove an email address from the current profile. A repetition removes
203
+ * nothing more and answers NOT_FOUND (RFC 9110 §9.2.2).
197
204
  *
198
205
  * @generated from protobuf rpc: RemoveEmail
199
206
  */
200
207
  removeEmail(input: RemoveEmailRequest, options?: RpcOptions): UnaryCall<RemoveEmailRequest, Empty>;
201
208
  /**
202
- * Update an email address's label.
209
+ * Update an email address's label. Only the given settings are written,
210
+ * so a repetition leaves the same email.
203
211
  *
204
212
  * @generated from protobuf rpc: UpdateEmail
205
213
  */
206
214
  updateEmail(input: UpdateEmailRequest, options?: RpcOptions): UnaryCall<UpdateEmailRequest, ProfileEmail>;
207
215
  /**
208
- * Set an email as the primary email for this profile.
216
+ * Set an email as the primary email for this profile. An email already
217
+ * primary stays so and is answered the same.
209
218
  *
210
219
  * @generated from protobuf rpc: SetPrimaryEmail
211
220
  */
@@ -243,13 +252,16 @@ export declare class AccountServiceClient implements IAccountServiceClient, Serv
243
252
  */
244
253
  getConsentDetail(input: GetConsentDetailRequest, options?: RpcOptions): UnaryCall<GetConsentDetailRequest, GetConsentDetailResponse>;
245
254
  /**
246
- * Update consent for a single claim (grant or deny).
255
+ * Update consent for a single claim (grant or deny). A claim already as
256
+ * asked is left unchanged and answered the same.
247
257
  *
248
258
  * @generated from protobuf rpc: UpdateClaimConsent
249
259
  */
250
260
  updateClaimConsent(input: UpdateClaimConsentRequest, options?: RpcOptions): UnaryCall<UpdateClaimConsentRequest, Empty>;
251
261
  /**
252
- * Disconnect site: revoke all claims + sessions + delete consent.
262
+ * Disconnect site: revoke all claims + sessions + delete consent. A
263
+ * repetition removes nothing more and answers NOT_FOUND; idempotency is
264
+ * the effect, not the answer (RFC 9110 §9.2.2).
253
265
  *
254
266
  * @generated from protobuf rpc: DisconnectSite
255
267
  */
@@ -348,19 +360,22 @@ export declare class AccountServiceClient implements IAccountServiceClient, Serv
348
360
  */
349
361
  addPhone(input: AddPhoneRequest, options?: RpcOptions): UnaryCall<AddPhoneRequest, ProfilePhone>;
350
362
  /**
351
- * Remove a phone number from the current profile.
363
+ * Remove a phone number from the current profile. A repetition removes
364
+ * nothing more and answers NOT_FOUND (RFC 9110 §9.2.2).
352
365
  *
353
366
  * @generated from protobuf rpc: RemovePhone
354
367
  */
355
368
  removePhone(input: RemovePhoneRequest, options?: RpcOptions): UnaryCall<RemovePhoneRequest, Empty>;
356
369
  /**
357
- * Update a phone number's label or capabilities.
370
+ * Update a phone number's label or capabilities. Only the given settings
371
+ * are written, so a repetition leaves the same phone.
358
372
  *
359
373
  * @generated from protobuf rpc: UpdatePhone
360
374
  */
361
375
  updatePhone(input: UpdatePhoneRequest, options?: RpcOptions): UnaryCall<UpdatePhoneRequest, ProfilePhone>;
362
376
  /**
363
- * Set a phone as the primary phone for this profile.
377
+ * Set a phone as the primary phone for this profile. A phone already
378
+ * primary stays so and is answered the same.
364
379
  *
365
380
  * @generated from protobuf rpc: SetPrimaryPhone
366
381
  */
@@ -378,19 +393,22 @@ export declare class AccountServiceClient implements IAccountServiceClient, Serv
378
393
  */
379
394
  addEmail(input: AddEmailRequest, options?: RpcOptions): UnaryCall<AddEmailRequest, ProfileEmail>;
380
395
  /**
381
- * Remove an email address from the current profile.
396
+ * Remove an email address from the current profile. A repetition removes
397
+ * nothing more and answers NOT_FOUND (RFC 9110 §9.2.2).
382
398
  *
383
399
  * @generated from protobuf rpc: RemoveEmail
384
400
  */
385
401
  removeEmail(input: RemoveEmailRequest, options?: RpcOptions): UnaryCall<RemoveEmailRequest, Empty>;
386
402
  /**
387
- * Update an email address's label.
403
+ * Update an email address's label. Only the given settings are written,
404
+ * so a repetition leaves the same email.
388
405
  *
389
406
  * @generated from protobuf rpc: UpdateEmail
390
407
  */
391
408
  updateEmail(input: UpdateEmailRequest, options?: RpcOptions): UnaryCall<UpdateEmailRequest, ProfileEmail>;
392
409
  /**
393
- * Set an email as the primary email for this profile.
410
+ * Set an email as the primary email for this profile. An email already
411
+ * primary stays so and is answered the same.
394
412
  *
395
413
  * @generated from protobuf rpc: SetPrimaryEmail
396
414
  */
@@ -35,7 +35,8 @@ export class AccountServiceClient {
35
35
  return stackIntercept("unary", this._transport, method, opt, input);
36
36
  }
37
37
  /**
38
- * Update consent for a single claim (grant or deny).
38
+ * Update consent for a single claim (grant or deny). A claim already as
39
+ * asked is left unchanged and answered the same.
39
40
  *
40
41
  * @generated from protobuf rpc: UpdateClaimConsent
41
42
  */
@@ -44,7 +45,9 @@ export class AccountServiceClient {
44
45
  return stackIntercept("unary", this._transport, method, opt, input);
45
46
  }
46
47
  /**
47
- * Disconnect site: revoke all claims + sessions + delete consent.
48
+ * Disconnect site: revoke all claims + sessions + delete consent. A
49
+ * repetition removes nothing more and answers NOT_FOUND; idempotency is
50
+ * the effect, not the answer (RFC 9110 §9.2.2).
48
51
  *
49
52
  * @generated from protobuf rpc: DisconnectSite
50
53
  */
@@ -197,7 +200,8 @@ export class AccountServiceClient {
197
200
  return stackIntercept("unary", this._transport, method, opt, input);
198
201
  }
199
202
  /**
200
- * Remove a phone number from the current profile.
203
+ * Remove a phone number from the current profile. A repetition removes
204
+ * nothing more and answers NOT_FOUND (RFC 9110 §9.2.2).
201
205
  *
202
206
  * @generated from protobuf rpc: RemovePhone
203
207
  */
@@ -206,7 +210,8 @@ export class AccountServiceClient {
206
210
  return stackIntercept("unary", this._transport, method, opt, input);
207
211
  }
208
212
  /**
209
- * Update a phone number's label or capabilities.
213
+ * Update a phone number's label or capabilities. Only the given settings
214
+ * are written, so a repetition leaves the same phone.
210
215
  *
211
216
  * @generated from protobuf rpc: UpdatePhone
212
217
  */
@@ -215,7 +220,8 @@ export class AccountServiceClient {
215
220
  return stackIntercept("unary", this._transport, method, opt, input);
216
221
  }
217
222
  /**
218
- * Set a phone as the primary phone for this profile.
223
+ * Set a phone as the primary phone for this profile. A phone already
224
+ * primary stays so and is answered the same.
219
225
  *
220
226
  * @generated from protobuf rpc: SetPrimaryPhone
221
227
  */
@@ -243,7 +249,8 @@ export class AccountServiceClient {
243
249
  return stackIntercept("unary", this._transport, method, opt, input);
244
250
  }
245
251
  /**
246
- * Remove an email address from the current profile.
252
+ * Remove an email address from the current profile. A repetition removes
253
+ * nothing more and answers NOT_FOUND (RFC 9110 §9.2.2).
247
254
  *
248
255
  * @generated from protobuf rpc: RemoveEmail
249
256
  */
@@ -252,7 +259,8 @@ export class AccountServiceClient {
252
259
  return stackIntercept("unary", this._transport, method, opt, input);
253
260
  }
254
261
  /**
255
- * Update an email address's label.
262
+ * Update an email address's label. Only the given settings are written,
263
+ * so a repetition leaves the same email.
256
264
  *
257
265
  * @generated from protobuf rpc: UpdateEmail
258
266
  */
@@ -261,7 +269,8 @@ export class AccountServiceClient {
261
269
  return stackIntercept("unary", this._transport, method, opt, input);
262
270
  }
263
271
  /**
264
- * Set an email as the primary email for this profile.
272
+ * Set an email as the primary email for this profile. An email already
273
+ * primary stays so and is answered the same.
265
274
  *
266
275
  * @generated from protobuf rpc: SetPrimaryEmail
267
276
  */
@@ -1 +1 @@
1
- {"version":3,"file":"account.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/account/account.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAoC9C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAyM1D,6EAA6E;AAC7E,qBAAqB;AACrB,6EAA6E;AAE7E;;;;GAIG;AACH,MAAM,OAAO,oBAAoB;IAIA;IAH7B,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAC;IACnC,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC;IACjC,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC;IACjC,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;OAIG;IACH,YAAY,CAAC,KAA0B,EAAE,OAAoB;QACzD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAA4C,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACnH,CAAC;IACD;;;;OAIG;IACH,gBAAgB,CAAC,KAA8B,EAAE,OAAoB;QACjE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAA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AAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAAmC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC1G,CAAC;IACD;;;;OAIG;IACH,eAAe,CAAC,KAA6B,EAAE,OAAoB;QAC/D,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAAuC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC9G,CAAC;IACD;;;;OAIG;IACH,UAAU,CAAC,KAAY,EAAE,OAAoB;QACzC,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,cAAc,CAA4B,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACnG,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/account/account.proto\" (package \"sid.v1.account\", 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 { AccountService } from \"./account.js\";\nimport type { ListEmailsResponse } from \"./account.js\";\nimport type { SetPrimaryEmailRequest } from \"./account.js\";\nimport type { UpdateEmailRequest } from \"./account.js\";\nimport type { RemoveEmailRequest } from \"./account.js\";\nimport type { ProfileEmail } from \"../identity/identity.js\";\nimport type { AddEmailRequest } from \"./account.js\";\nimport type { ListPhonesResponse } from \"./account.js\";\nimport type { SetPrimaryPhoneRequest } from \"./account.js\";\nimport type { UpdatePhoneRequest } from \"./account.js\";\nimport type { RemovePhoneRequest } from \"./account.js\";\nimport type { ProfilePhone } from \"../identity/identity.js\";\nimport type { AddPhoneRequest } from \"./account.js\";\nimport type { DisablePasswordlessResponse } from \"./account.js\";\nimport type { PasswordlessStatus } from \"./account.js\";\nimport type { UpdateNotificationPreferencesRequest } from \"./account.js\";\nimport type { NotificationPreferences } from \"./account.js\";\nimport type { LaunchAppResponse } from \"./account.js\";\nimport type { LaunchAppRequest } from \"./account.js\";\nimport type { ListAvailableAppsResponse } from \"./account.js\";\nimport type { ReauthenticateLinkResponse } from \"./account.js\";\nimport type { ReauthenticateLinkRequest } from \"./account.js\";\nimport type { UnlinkAccountRequest } from \"./account.js\";\nimport type { LinkAccountResponse } from \"./account.js\";\nimport type { LinkAccountRequest } from \"./account.js\";\nimport type { ListLinkedAccountsResponse } from \"./account.js\";\nimport type { ReportSuspiciousEventRequest } from \"./account.js\";\nimport type { ActivityEvent } from \"./account.js\";\nimport type { GetActivityEventDetailRequest } from \"./account.js\";\nimport type { ListActivityEventsResponse } from \"./account.js\";\nimport type { ListActivityEventsRequest } from \"./account.js\";\nimport type { DisconnectSiteRequest } from \"./account.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { UpdateClaimConsentRequest } from \"./account.js\";\nimport type { GetConsentDetailResponse } from \"./account.js\";\nimport type { GetConsentDetailRequest } from \"./account.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ListConsentsResponse } from \"./account.js\";\nimport type { ListConsentsRequest } from \"./account.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n// ══════════════════════════════════════════════════════════════════════════\n// Service definition\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * ── Consents ──\n *\n * @generated from protobuf service sid.v1.account.AccountService\n */\nexport interface IAccountServiceClient {\n /**\n * List all active consents for the current profile.\n *\n * @generated from protobuf rpc: ListConsents\n */\n listConsents(input: ListConsentsRequest, options?: RpcOptions): UnaryCall<ListConsentsRequest, ListConsentsResponse>;\n /**\n * Get claim-level detail for a specific consent.\n *\n * @generated from protobuf rpc: GetConsentDetail\n */\n getConsentDetail(input: GetConsentDetailRequest, options?: RpcOptions): UnaryCall<GetConsentDetailRequest, GetConsentDetailResponse>;\n /**\n * Update consent for a single claim (grant or deny).\n *\n * @generated from protobuf rpc: UpdateClaimConsent\n */\n updateClaimConsent(input: UpdateClaimConsentRequest, options?: RpcOptions): UnaryCall<UpdateClaimConsentRequest, Empty>;\n /**\n * Disconnect site: revoke all claims + sessions + delete consent.\n *\n * @generated from protobuf rpc: DisconnectSite\n */\n disconnectSite(input: DisconnectSiteRequest, options?: RpcOptions): UnaryCall<DisconnectSiteRequest, Empty>;\n // ── Activity History ──\n\n /**\n * List activity events with optional filters.\n *\n * @generated from protobuf rpc: ListActivityEvents\n */\n listActivityEvents(input: ListActivityEventsRequest, options?: RpcOptions): UnaryCall<ListActivityEventsRequest, ListActivityEventsResponse>;\n /**\n * Get full details for a single event.\n *\n * @generated from protobuf rpc: GetActivityEventDetail\n */\n getActivityEventDetail(input: GetActivityEventDetailRequest, options?: RpcOptions): UnaryCall<GetActivityEventDetailRequest, ActivityEvent>;\n /**\n * Report suspicious activity (\"This wasn't me\").\n * Side effects: revoke associated session, mark as disputed.\n *\n * @generated from protobuf rpc: ReportSuspiciousEvent\n */\n reportSuspiciousEvent(input: ReportSuspiciousEventRequest, options?: RpcOptions): UnaryCall<ReportSuspiciousEventRequest, Empty>;\n // ── Linked Accounts ──\n\n /**\n * List all linked upstream identity provider accounts.\n *\n * @generated from protobuf rpc: ListLinkedAccounts\n */\n listLinkedAccounts(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListLinkedAccountsResponse>;\n /**\n * Initiate linking to an upstream IdP. Returns a redirect URL.\n *\n * @generated from protobuf rpc: LinkAccount\n */\n linkAccount(input: LinkAccountRequest, options?: RpcOptions): UnaryCall<LinkAccountRequest, LinkAccountResponse>;\n /**\n * Unlink an upstream IdP account. Blocked if this is the only login method.\n *\n * @generated from protobuf rpc: UnlinkAccount\n */\n unlinkAccount(input: UnlinkAccountRequest, options?: RpcOptions): UnaryCall<UnlinkAccountRequest, Empty>;\n /**\n * Force re-authentication with the upstream IdP to refresh tokens/claims.\n *\n * @generated from protobuf rpc: ReauthenticateLink\n */\n reauthenticateLink(input: ReauthenticateLinkRequest, options?: RpcOptions): UnaryCall<ReauthenticateLinkRequest, ReauthenticateLinkResponse>;\n // ── App Launcher ──\n\n /**\n * List applications available for SSO quick-launch.\n *\n * @generated from protobuf rpc: ListAvailableApps\n */\n listAvailableApps(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListAvailableAppsResponse>;\n /**\n * Launch SSO redirect to an application.\n *\n * @generated from protobuf rpc: LaunchApp\n */\n launchApp(input: LaunchAppRequest, options?: RpcOptions): UnaryCall<LaunchAppRequest, LaunchAppResponse>;\n // ── Notification Preferences ──\n\n /**\n * Get notification delivery preferences for the current profile.\n *\n * @generated from protobuf rpc: GetNotificationPreferences\n */\n getNotificationPreferences(input: Empty, options?: RpcOptions): UnaryCall<Empty, NotificationPreferences>;\n /**\n * Update notification delivery preferences.\n * Security-critical categories cannot be disabled (server enforces).\n *\n * @generated from protobuf rpc: UpdateNotificationPreferences\n */\n updateNotificationPreferences(input: UpdateNotificationPreferencesRequest, options?: RpcOptions): UnaryCall<UpdateNotificationPreferencesRequest, NotificationPreferences>;\n // ── Passwordless ──\n\n /**\n * Get current passwordless status and requirement checks.\n *\n * @generated from protobuf rpc: GetPasswordlessStatus\n */\n getPasswordlessStatus(input: Empty, options?: RpcOptions): UnaryCall<Empty, PasswordlessStatus>;\n /**\n * Enable passwordless mode: removes OPAQUE credential (password hash).\n * Requires step-up authentication. Blocked unless all requirements are met.\n *\n * @generated from protobuf rpc: EnablePasswordless\n */\n enablePasswordless(input: Empty, options?: RpcOptions): UnaryCall<Empty, Empty>;\n /**\n * Disable passwordless mode: triggers password enrollment flow.\n *\n * @generated from protobuf rpc: DisablePasswordless\n */\n disablePasswordless(input: Empty, options?: RpcOptions): UnaryCall<Empty, DisablePasswordlessResponse>;\n // ── Phone Management ──\n\n /**\n * Add a phone number to the current profile.\n *\n * @generated from protobuf rpc: AddPhone\n */\n addPhone(input: AddPhoneRequest, options?: RpcOptions): UnaryCall<AddPhoneRequest, ProfilePhone>;\n /**\n * Remove a phone number from the current profile.\n *\n * @generated from protobuf rpc: RemovePhone\n */\n removePhone(input: RemovePhoneRequest, options?: RpcOptions): UnaryCall<RemovePhoneRequest, Empty>;\n /**\n * Update a phone number's label or capabilities.\n *\n * @generated from protobuf rpc: UpdatePhone\n */\n updatePhone(input: UpdatePhoneRequest, options?: RpcOptions): UnaryCall<UpdatePhoneRequest, ProfilePhone>;\n /**\n * Set a phone as the primary phone for this profile.\n *\n * @generated from protobuf rpc: SetPrimaryPhone\n */\n setPrimaryPhone(input: SetPrimaryPhoneRequest, options?: RpcOptions): UnaryCall<SetPrimaryPhoneRequest, ProfilePhone>;\n /**\n * List all phone numbers for the current profile.\n *\n * @generated from protobuf rpc: ListPhones\n */\n listPhones(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListPhonesResponse>;\n // ── Email Management ──\n\n /**\n * Add an email address to the current profile.\n *\n * @generated from protobuf rpc: AddEmail\n */\n addEmail(input: AddEmailRequest, options?: RpcOptions): UnaryCall<AddEmailRequest, ProfileEmail>;\n /**\n * Remove an email address from the current profile.\n *\n * @generated from protobuf rpc: RemoveEmail\n */\n removeEmail(input: RemoveEmailRequest, options?: RpcOptions): UnaryCall<RemoveEmailRequest, Empty>;\n /**\n * Update an email address's label.\n *\n * @generated from protobuf rpc: UpdateEmail\n */\n updateEmail(input: UpdateEmailRequest, options?: RpcOptions): UnaryCall<UpdateEmailRequest, ProfileEmail>;\n /**\n * Set an email as the primary email for this profile.\n *\n * @generated from protobuf rpc: SetPrimaryEmail\n */\n setPrimaryEmail(input: SetPrimaryEmailRequest, options?: RpcOptions): UnaryCall<SetPrimaryEmailRequest, ProfileEmail>;\n /**\n * List all email addresses for the current profile.\n *\n * @generated from protobuf rpc: ListEmails\n */\n listEmails(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListEmailsResponse>;\n}\n// ══════════════════════════════════════════════════════════════════════════\n// Service definition\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * ── Consents ──\n *\n * @generated from protobuf service sid.v1.account.AccountService\n */\nexport class AccountServiceClient implements IAccountServiceClient, ServiceInfo {\n typeName = AccountService.typeName;\n methods = AccountService.methods;\n options = AccountService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * List all active consents for the current profile.\n *\n * @generated from protobuf rpc: ListConsents\n */\n listConsents(input: ListConsentsRequest, options?: RpcOptions): UnaryCall<ListConsentsRequest, ListConsentsResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListConsentsRequest, ListConsentsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get claim-level detail for a specific consent.\n *\n * @generated from protobuf rpc: GetConsentDetail\n */\n getConsentDetail(input: GetConsentDetailRequest, options?: RpcOptions): UnaryCall<GetConsentDetailRequest, GetConsentDetailResponse> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetConsentDetailRequest, GetConsentDetailResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Update consent for a single claim (grant or deny).\n *\n * @generated from protobuf rpc: UpdateClaimConsent\n */\n updateClaimConsent(input: UpdateClaimConsentRequest, options?: RpcOptions): UnaryCall<UpdateClaimConsentRequest, Empty> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateClaimConsentRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Disconnect site: revoke all claims + sessions + delete consent.\n *\n * @generated from protobuf rpc: DisconnectSite\n */\n disconnectSite(input: DisconnectSiteRequest, options?: RpcOptions): UnaryCall<DisconnectSiteRequest, Empty> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<DisconnectSiteRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n // ── Activity History ──\n\n /**\n * List activity events with optional filters.\n *\n * @generated from protobuf rpc: ListActivityEvents\n */\n listActivityEvents(input: ListActivityEventsRequest, options?: RpcOptions): UnaryCall<ListActivityEventsRequest, ListActivityEventsResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListActivityEventsRequest, ListActivityEventsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get full details for a single event.\n *\n * @generated from protobuf rpc: GetActivityEventDetail\n */\n getActivityEventDetail(input: GetActivityEventDetailRequest, options?: RpcOptions): UnaryCall<GetActivityEventDetailRequest, ActivityEvent> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetActivityEventDetailRequest, ActivityEvent>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Report suspicious activity (\"This wasn't me\").\n * Side effects: revoke associated session, mark as disputed.\n *\n * @generated from protobuf rpc: ReportSuspiciousEvent\n */\n reportSuspiciousEvent(input: ReportSuspiciousEventRequest, options?: RpcOptions): UnaryCall<ReportSuspiciousEventRequest, Empty> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<ReportSuspiciousEventRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n // ── Linked Accounts ──\n\n /**\n * List all linked upstream identity provider accounts.\n *\n * @generated from protobuf rpc: ListLinkedAccounts\n */\n listLinkedAccounts(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListLinkedAccountsResponse> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, ListLinkedAccountsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Initiate linking to an upstream IdP. Returns a redirect URL.\n *\n * @generated from protobuf rpc: LinkAccount\n */\n linkAccount(input: LinkAccountRequest, options?: RpcOptions): UnaryCall<LinkAccountRequest, LinkAccountResponse> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<LinkAccountRequest, LinkAccountResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Unlink an upstream IdP account. Blocked if this is the only login method.\n *\n * @generated from protobuf rpc: UnlinkAccount\n */\n unlinkAccount(input: UnlinkAccountRequest, options?: RpcOptions): UnaryCall<UnlinkAccountRequest, Empty> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<UnlinkAccountRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Force re-authentication with the upstream IdP to refresh tokens/claims.\n *\n * @generated from protobuf rpc: ReauthenticateLink\n */\n reauthenticateLink(input: ReauthenticateLinkRequest, options?: RpcOptions): UnaryCall<ReauthenticateLinkRequest, ReauthenticateLinkResponse> {\n const method = this.methods[10], opt = this._transport.mergeOptions(options);\n return stackIntercept<ReauthenticateLinkRequest, ReauthenticateLinkResponse>(\"unary\", this._transport, method, opt, input);\n }\n // ── App Launcher ──\n\n /**\n * List applications available for SSO quick-launch.\n *\n * @generated from protobuf rpc: ListAvailableApps\n */\n listAvailableApps(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListAvailableAppsResponse> {\n const method = this.methods[11], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, ListAvailableAppsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Launch SSO redirect to an application.\n *\n * @generated from protobuf rpc: LaunchApp\n */\n launchApp(input: LaunchAppRequest, options?: RpcOptions): UnaryCall<LaunchAppRequest, LaunchAppResponse> {\n const method = this.methods[12], opt = this._transport.mergeOptions(options);\n return stackIntercept<LaunchAppRequest, LaunchAppResponse>(\"unary\", this._transport, method, opt, input);\n }\n // ── Notification Preferences ──\n\n /**\n * Get notification delivery preferences for the current profile.\n *\n * @generated from protobuf rpc: GetNotificationPreferences\n */\n getNotificationPreferences(input: Empty, options?: RpcOptions): UnaryCall<Empty, NotificationPreferences> {\n const method = this.methods[13], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, NotificationPreferences>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Update notification delivery preferences.\n * Security-critical categories cannot be disabled (server enforces).\n *\n * @generated from protobuf rpc: UpdateNotificationPreferences\n */\n updateNotificationPreferences(input: UpdateNotificationPreferencesRequest, options?: RpcOptions): UnaryCall<UpdateNotificationPreferencesRequest, NotificationPreferences> {\n const method = this.methods[14], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateNotificationPreferencesRequest, NotificationPreferences>(\"unary\", this._transport, method, opt, input);\n }\n // ── Passwordless ──\n\n /**\n * Get current passwordless status and requirement checks.\n *\n * @generated from protobuf rpc: GetPasswordlessStatus\n */\n getPasswordlessStatus(input: Empty, options?: RpcOptions): UnaryCall<Empty, PasswordlessStatus> {\n const method = this.methods[15], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, PasswordlessStatus>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Enable passwordless mode: removes OPAQUE credential (password hash).\n * Requires step-up authentication. Blocked unless all requirements are met.\n *\n * @generated from protobuf rpc: EnablePasswordless\n */\n enablePasswordless(input: Empty, options?: RpcOptions): UnaryCall<Empty, Empty> {\n const method = this.methods[16], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Disable passwordless mode: triggers password enrollment flow.\n *\n * @generated from protobuf rpc: DisablePasswordless\n */\n disablePasswordless(input: Empty, options?: RpcOptions): UnaryCall<Empty, DisablePasswordlessResponse> {\n const method = this.methods[17], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, DisablePasswordlessResponse>(\"unary\", this._transport, method, opt, input);\n }\n // ── Phone Management ──\n\n /**\n * Add a phone number to the current profile.\n *\n * @generated from protobuf rpc: AddPhone\n */\n addPhone(input: AddPhoneRequest, options?: RpcOptions): UnaryCall<AddPhoneRequest, ProfilePhone> {\n const method = this.methods[18], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddPhoneRequest, ProfilePhone>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Remove a phone number from the current profile.\n *\n * @generated from protobuf rpc: RemovePhone\n */\n removePhone(input: RemovePhoneRequest, options?: RpcOptions): UnaryCall<RemovePhoneRequest, Empty> {\n const method = this.methods[19], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemovePhoneRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Update a phone number's label or capabilities.\n *\n * @generated from protobuf rpc: UpdatePhone\n */\n updatePhone(input: UpdatePhoneRequest, options?: RpcOptions): UnaryCall<UpdatePhoneRequest, ProfilePhone> {\n const method = this.methods[20], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdatePhoneRequest, ProfilePhone>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Set a phone as the primary phone for this profile.\n *\n * @generated from protobuf rpc: SetPrimaryPhone\n */\n setPrimaryPhone(input: SetPrimaryPhoneRequest, options?: RpcOptions): UnaryCall<SetPrimaryPhoneRequest, ProfilePhone> {\n const method = this.methods[21], opt = this._transport.mergeOptions(options);\n return stackIntercept<SetPrimaryPhoneRequest, ProfilePhone>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List all phone numbers for the current profile.\n *\n * @generated from protobuf rpc: ListPhones\n */\n listPhones(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListPhonesResponse> {\n const method = this.methods[22], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, ListPhonesResponse>(\"unary\", this._transport, method, opt, input);\n }\n // ── Email Management ──\n\n /**\n * Add an email address to the current profile.\n *\n * @generated from protobuf rpc: AddEmail\n */\n addEmail(input: AddEmailRequest, options?: RpcOptions): UnaryCall<AddEmailRequest, ProfileEmail> {\n const method = this.methods[23], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddEmailRequest, ProfileEmail>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Remove an email address from the current profile.\n *\n * @generated from protobuf rpc: RemoveEmail\n */\n removeEmail(input: RemoveEmailRequest, options?: RpcOptions): UnaryCall<RemoveEmailRequest, Empty> {\n const method = this.methods[24], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemoveEmailRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Update an email address's label.\n *\n * @generated from protobuf rpc: UpdateEmail\n */\n updateEmail(input: UpdateEmailRequest, options?: RpcOptions): UnaryCall<UpdateEmailRequest, ProfileEmail> {\n const method = this.methods[25], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateEmailRequest, ProfileEmail>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Set an email as the primary email for this profile.\n *\n * @generated from protobuf rpc: SetPrimaryEmail\n */\n setPrimaryEmail(input: SetPrimaryEmailRequest, options?: RpcOptions): UnaryCall<SetPrimaryEmailRequest, ProfileEmail> {\n const method = this.methods[26], opt = this._transport.mergeOptions(options);\n return stackIntercept<SetPrimaryEmailRequest, ProfileEmail>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List all email addresses for the current profile.\n *\n * @generated from protobuf rpc: ListEmails\n */\n listEmails(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListEmailsResponse> {\n const method = this.methods[27], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, ListEmailsResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
1
+ {"version":3,"file":"account.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/account/account.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAoC9C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAkN1D,6EAA6E;AAC7E,qBAAqB;AACrB,6EAA6E;AAE7E;;;;GAIG;AACH,MAAM,OAAO,oBAAoB;IAIA;IAH7B,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAC;IACnC,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC;IACjC,OAAO,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AAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACnG,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/account/account.proto\" (package \"sid.v1.account\", 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 { AccountService } from \"./account.js\";\nimport type { ListEmailsResponse } from \"./account.js\";\nimport type { SetPrimaryEmailRequest } from \"./account.js\";\nimport type { UpdateEmailRequest } from \"./account.js\";\nimport type { RemoveEmailRequest } from \"./account.js\";\nimport type { ProfileEmail } from \"../identity/identity.js\";\nimport type { AddEmailRequest } from \"./account.js\";\nimport type { ListPhonesResponse } from \"./account.js\";\nimport type { SetPrimaryPhoneRequest } from \"./account.js\";\nimport type { UpdatePhoneRequest } from \"./account.js\";\nimport type { RemovePhoneRequest } from \"./account.js\";\nimport type { ProfilePhone } from \"../identity/identity.js\";\nimport type { AddPhoneRequest } from \"./account.js\";\nimport type { DisablePasswordlessResponse } from \"./account.js\";\nimport type { PasswordlessStatus } from \"./account.js\";\nimport type { UpdateNotificationPreferencesRequest } from \"./account.js\";\nimport type { NotificationPreferences } from \"./account.js\";\nimport type { LaunchAppResponse } from \"./account.js\";\nimport type { LaunchAppRequest } from \"./account.js\";\nimport type { ListAvailableAppsResponse } from \"./account.js\";\nimport type { ReauthenticateLinkResponse } from \"./account.js\";\nimport type { ReauthenticateLinkRequest } from \"./account.js\";\nimport type { UnlinkAccountRequest } from \"./account.js\";\nimport type { LinkAccountResponse } from \"./account.js\";\nimport type { LinkAccountRequest } from \"./account.js\";\nimport type { ListLinkedAccountsResponse } from \"./account.js\";\nimport type { ReportSuspiciousEventRequest } from \"./account.js\";\nimport type { ActivityEvent } from \"./account.js\";\nimport type { GetActivityEventDetailRequest } from \"./account.js\";\nimport type { ListActivityEventsResponse } from \"./account.js\";\nimport type { ListActivityEventsRequest } from \"./account.js\";\nimport type { DisconnectSiteRequest } from \"./account.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { UpdateClaimConsentRequest } from \"./account.js\";\nimport type { GetConsentDetailResponse } from \"./account.js\";\nimport type { GetConsentDetailRequest } from \"./account.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ListConsentsResponse } from \"./account.js\";\nimport type { ListConsentsRequest } from \"./account.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n// ══════════════════════════════════════════════════════════════════════════\n// Service definition\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * ── Consents ──\n *\n * @generated from protobuf service sid.v1.account.AccountService\n */\nexport interface IAccountServiceClient {\n /**\n * List all active consents for the current profile.\n *\n * @generated from protobuf rpc: ListConsents\n */\n listConsents(input: ListConsentsRequest, options?: RpcOptions): UnaryCall<ListConsentsRequest, ListConsentsResponse>;\n /**\n * Get claim-level detail for a specific consent.\n *\n * @generated from protobuf rpc: GetConsentDetail\n */\n getConsentDetail(input: GetConsentDetailRequest, options?: RpcOptions): UnaryCall<GetConsentDetailRequest, GetConsentDetailResponse>;\n /**\n * Update consent for a single claim (grant or deny). A claim already as\n * asked is left unchanged and answered the same.\n *\n * @generated from protobuf rpc: UpdateClaimConsent\n */\n updateClaimConsent(input: UpdateClaimConsentRequest, options?: RpcOptions): UnaryCall<UpdateClaimConsentRequest, Empty>;\n /**\n * Disconnect site: revoke all claims + sessions + delete consent. A\n * repetition removes nothing more and answers NOT_FOUND; idempotency is\n * the effect, not the answer (RFC 9110 §9.2.2).\n *\n * @generated from protobuf rpc: DisconnectSite\n */\n disconnectSite(input: DisconnectSiteRequest, options?: RpcOptions): UnaryCall<DisconnectSiteRequest, Empty>;\n // ── Activity History ──\n\n /**\n * List activity events with optional filters.\n *\n * @generated from protobuf rpc: ListActivityEvents\n */\n listActivityEvents(input: ListActivityEventsRequest, options?: RpcOptions): UnaryCall<ListActivityEventsRequest, ListActivityEventsResponse>;\n /**\n * Get full details for a single event.\n *\n * @generated from protobuf rpc: GetActivityEventDetail\n */\n getActivityEventDetail(input: GetActivityEventDetailRequest, options?: RpcOptions): UnaryCall<GetActivityEventDetailRequest, ActivityEvent>;\n /**\n * Report suspicious activity (\"This wasn't me\").\n * Side effects: revoke associated session, mark as disputed.\n *\n * @generated from protobuf rpc: ReportSuspiciousEvent\n */\n reportSuspiciousEvent(input: ReportSuspiciousEventRequest, options?: RpcOptions): UnaryCall<ReportSuspiciousEventRequest, Empty>;\n // ── Linked Accounts ──\n\n /**\n * List all linked upstream identity provider accounts.\n *\n * @generated from protobuf rpc: ListLinkedAccounts\n */\n listLinkedAccounts(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListLinkedAccountsResponse>;\n /**\n * Initiate linking to an upstream IdP. Returns a redirect URL.\n *\n * @generated from protobuf rpc: LinkAccount\n */\n linkAccount(input: LinkAccountRequest, options?: RpcOptions): UnaryCall<LinkAccountRequest, LinkAccountResponse>;\n /**\n * Unlink an upstream IdP account. Blocked if this is the only login method.\n *\n * @generated from protobuf rpc: UnlinkAccount\n */\n unlinkAccount(input: UnlinkAccountRequest, options?: RpcOptions): UnaryCall<UnlinkAccountRequest, Empty>;\n /**\n * Force re-authentication with the upstream IdP to refresh tokens/claims.\n *\n * @generated from protobuf rpc: ReauthenticateLink\n */\n reauthenticateLink(input: ReauthenticateLinkRequest, options?: RpcOptions): UnaryCall<ReauthenticateLinkRequest, ReauthenticateLinkResponse>;\n // ── App Launcher ──\n\n /**\n * List applications available for SSO quick-launch.\n *\n * @generated from protobuf rpc: ListAvailableApps\n */\n listAvailableApps(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListAvailableAppsResponse>;\n /**\n * Launch SSO redirect to an application.\n *\n * @generated from protobuf rpc: LaunchApp\n */\n launchApp(input: LaunchAppRequest, options?: RpcOptions): UnaryCall<LaunchAppRequest, LaunchAppResponse>;\n // ── Notification Preferences ──\n\n /**\n * Get notification delivery preferences for the current profile.\n *\n * @generated from protobuf rpc: GetNotificationPreferences\n */\n getNotificationPreferences(input: Empty, options?: RpcOptions): UnaryCall<Empty, NotificationPreferences>;\n /**\n * Update notification delivery preferences.\n * Security-critical categories cannot be disabled (server enforces).\n *\n * @generated from protobuf rpc: UpdateNotificationPreferences\n */\n updateNotificationPreferences(input: UpdateNotificationPreferencesRequest, options?: RpcOptions): UnaryCall<UpdateNotificationPreferencesRequest, NotificationPreferences>;\n // ── Passwordless ──\n\n /**\n * Get current passwordless status and requirement checks.\n *\n * @generated from protobuf rpc: GetPasswordlessStatus\n */\n getPasswordlessStatus(input: Empty, options?: RpcOptions): UnaryCall<Empty, PasswordlessStatus>;\n /**\n * Enable passwordless mode: removes OPAQUE credential (password hash).\n * Requires step-up authentication. Blocked unless all requirements are met.\n *\n * @generated from protobuf rpc: EnablePasswordless\n */\n enablePasswordless(input: Empty, options?: RpcOptions): UnaryCall<Empty, Empty>;\n /**\n * Disable passwordless mode: triggers password enrollment flow.\n *\n * @generated from protobuf rpc: DisablePasswordless\n */\n disablePasswordless(input: Empty, options?: RpcOptions): UnaryCall<Empty, DisablePasswordlessResponse>;\n // ── Phone Management ──\n\n /**\n * Add a phone number to the current profile.\n *\n * @generated from protobuf rpc: AddPhone\n */\n addPhone(input: AddPhoneRequest, options?: RpcOptions): UnaryCall<AddPhoneRequest, ProfilePhone>;\n /**\n * Remove a phone number from the current profile. A repetition removes\n * nothing more and answers NOT_FOUND (RFC 9110 §9.2.2).\n *\n * @generated from protobuf rpc: RemovePhone\n */\n removePhone(input: RemovePhoneRequest, options?: RpcOptions): UnaryCall<RemovePhoneRequest, Empty>;\n /**\n * Update a phone number's label or capabilities. Only the given settings\n * are written, so a repetition leaves the same phone.\n *\n * @generated from protobuf rpc: UpdatePhone\n */\n updatePhone(input: UpdatePhoneRequest, options?: RpcOptions): UnaryCall<UpdatePhoneRequest, ProfilePhone>;\n /**\n * Set a phone as the primary phone for this profile. A phone already\n * primary stays so and is answered the same.\n *\n * @generated from protobuf rpc: SetPrimaryPhone\n */\n setPrimaryPhone(input: SetPrimaryPhoneRequest, options?: RpcOptions): UnaryCall<SetPrimaryPhoneRequest, ProfilePhone>;\n /**\n * List all phone numbers for the current profile.\n *\n * @generated from protobuf rpc: ListPhones\n */\n listPhones(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListPhonesResponse>;\n // ── Email Management ──\n\n /**\n * Add an email address to the current profile.\n *\n * @generated from protobuf rpc: AddEmail\n */\n addEmail(input: AddEmailRequest, options?: RpcOptions): UnaryCall<AddEmailRequest, ProfileEmail>;\n /**\n * Remove an email address from the current profile. A repetition removes\n * nothing more and answers NOT_FOUND (RFC 9110 §9.2.2).\n *\n * @generated from protobuf rpc: RemoveEmail\n */\n removeEmail(input: RemoveEmailRequest, options?: RpcOptions): UnaryCall<RemoveEmailRequest, Empty>;\n /**\n * Update an email address's label. Only the given settings are written,\n * so a repetition leaves the same email.\n *\n * @generated from protobuf rpc: UpdateEmail\n */\n updateEmail(input: UpdateEmailRequest, options?: RpcOptions): UnaryCall<UpdateEmailRequest, ProfileEmail>;\n /**\n * Set an email as the primary email for this profile. An email already\n * primary stays so and is answered the same.\n *\n * @generated from protobuf rpc: SetPrimaryEmail\n */\n setPrimaryEmail(input: SetPrimaryEmailRequest, options?: RpcOptions): UnaryCall<SetPrimaryEmailRequest, ProfileEmail>;\n /**\n * List all email addresses for the current profile.\n *\n * @generated from protobuf rpc: ListEmails\n */\n listEmails(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListEmailsResponse>;\n}\n// ══════════════════════════════════════════════════════════════════════════\n// Service definition\n// ══════════════════════════════════════════════════════════════════════════\n\n/**\n * ── Consents ──\n *\n * @generated from protobuf service sid.v1.account.AccountService\n */\nexport class AccountServiceClient implements IAccountServiceClient, ServiceInfo {\n typeName = AccountService.typeName;\n methods = AccountService.methods;\n options = AccountService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * List all active consents for the current profile.\n *\n * @generated from protobuf rpc: ListConsents\n */\n listConsents(input: ListConsentsRequest, options?: RpcOptions): UnaryCall<ListConsentsRequest, ListConsentsResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListConsentsRequest, ListConsentsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get claim-level detail for a specific consent.\n *\n * @generated from protobuf rpc: GetConsentDetail\n */\n getConsentDetail(input: GetConsentDetailRequest, options?: RpcOptions): UnaryCall<GetConsentDetailRequest, GetConsentDetailResponse> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetConsentDetailRequest, GetConsentDetailResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Update consent for a single claim (grant or deny). A claim already as\n * asked is left unchanged and answered the same.\n *\n * @generated from protobuf rpc: UpdateClaimConsent\n */\n updateClaimConsent(input: UpdateClaimConsentRequest, options?: RpcOptions): UnaryCall<UpdateClaimConsentRequest, Empty> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateClaimConsentRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Disconnect site: revoke all claims + sessions + delete consent. A\n * repetition removes nothing more and answers NOT_FOUND; idempotency is\n * the effect, not the answer (RFC 9110 §9.2.2).\n *\n * @generated from protobuf rpc: DisconnectSite\n */\n disconnectSite(input: DisconnectSiteRequest, options?: RpcOptions): UnaryCall<DisconnectSiteRequest, Empty> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<DisconnectSiteRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n // ── Activity History ──\n\n /**\n * List activity events with optional filters.\n *\n * @generated from protobuf rpc: ListActivityEvents\n */\n listActivityEvents(input: ListActivityEventsRequest, options?: RpcOptions): UnaryCall<ListActivityEventsRequest, ListActivityEventsResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListActivityEventsRequest, ListActivityEventsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get full details for a single event.\n *\n * @generated from protobuf rpc: GetActivityEventDetail\n */\n getActivityEventDetail(input: GetActivityEventDetailRequest, options?: RpcOptions): UnaryCall<GetActivityEventDetailRequest, ActivityEvent> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetActivityEventDetailRequest, ActivityEvent>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Report suspicious activity (\"This wasn't me\").\n * Side effects: revoke associated session, mark as disputed.\n *\n * @generated from protobuf rpc: ReportSuspiciousEvent\n */\n reportSuspiciousEvent(input: ReportSuspiciousEventRequest, options?: RpcOptions): UnaryCall<ReportSuspiciousEventRequest, Empty> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<ReportSuspiciousEventRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n // ── Linked Accounts ──\n\n /**\n * List all linked upstream identity provider accounts.\n *\n * @generated from protobuf rpc: ListLinkedAccounts\n */\n listLinkedAccounts(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListLinkedAccountsResponse> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, ListLinkedAccountsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Initiate linking to an upstream IdP. Returns a redirect URL.\n *\n * @generated from protobuf rpc: LinkAccount\n */\n linkAccount(input: LinkAccountRequest, options?: RpcOptions): UnaryCall<LinkAccountRequest, LinkAccountResponse> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<LinkAccountRequest, LinkAccountResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Unlink an upstream IdP account. Blocked if this is the only login method.\n *\n * @generated from protobuf rpc: UnlinkAccount\n */\n unlinkAccount(input: UnlinkAccountRequest, options?: RpcOptions): UnaryCall<UnlinkAccountRequest, Empty> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<UnlinkAccountRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Force re-authentication with the upstream IdP to refresh tokens/claims.\n *\n * @generated from protobuf rpc: ReauthenticateLink\n */\n reauthenticateLink(input: ReauthenticateLinkRequest, options?: RpcOptions): UnaryCall<ReauthenticateLinkRequest, ReauthenticateLinkResponse> {\n const method = this.methods[10], opt = this._transport.mergeOptions(options);\n return stackIntercept<ReauthenticateLinkRequest, ReauthenticateLinkResponse>(\"unary\", this._transport, method, opt, input);\n }\n // ── App Launcher ──\n\n /**\n * List applications available for SSO quick-launch.\n *\n * @generated from protobuf rpc: ListAvailableApps\n */\n listAvailableApps(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListAvailableAppsResponse> {\n const method = this.methods[11], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, ListAvailableAppsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Launch SSO redirect to an application.\n *\n * @generated from protobuf rpc: LaunchApp\n */\n launchApp(input: LaunchAppRequest, options?: RpcOptions): UnaryCall<LaunchAppRequest, LaunchAppResponse> {\n const method = this.methods[12], opt = this._transport.mergeOptions(options);\n return stackIntercept<LaunchAppRequest, LaunchAppResponse>(\"unary\", this._transport, method, opt, input);\n }\n // ── Notification Preferences ──\n\n /**\n * Get notification delivery preferences for the current profile.\n *\n * @generated from protobuf rpc: GetNotificationPreferences\n */\n getNotificationPreferences(input: Empty, options?: RpcOptions): UnaryCall<Empty, NotificationPreferences> {\n const method = this.methods[13], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, NotificationPreferences>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Update notification delivery preferences.\n * Security-critical categories cannot be disabled (server enforces).\n *\n * @generated from protobuf rpc: UpdateNotificationPreferences\n */\n updateNotificationPreferences(input: UpdateNotificationPreferencesRequest, options?: RpcOptions): UnaryCall<UpdateNotificationPreferencesRequest, NotificationPreferences> {\n const method = this.methods[14], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateNotificationPreferencesRequest, NotificationPreferences>(\"unary\", this._transport, method, opt, input);\n }\n // ── Passwordless ──\n\n /**\n * Get current passwordless status and requirement checks.\n *\n * @generated from protobuf rpc: GetPasswordlessStatus\n */\n getPasswordlessStatus(input: Empty, options?: RpcOptions): UnaryCall<Empty, PasswordlessStatus> {\n const method = this.methods[15], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, PasswordlessStatus>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Enable passwordless mode: removes OPAQUE credential (password hash).\n * Requires step-up authentication. Blocked unless all requirements are met.\n *\n * @generated from protobuf rpc: EnablePasswordless\n */\n enablePasswordless(input: Empty, options?: RpcOptions): UnaryCall<Empty, Empty> {\n const method = this.methods[16], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Disable passwordless mode: triggers password enrollment flow.\n *\n * @generated from protobuf rpc: DisablePasswordless\n */\n disablePasswordless(input: Empty, options?: RpcOptions): UnaryCall<Empty, DisablePasswordlessResponse> {\n const method = this.methods[17], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, DisablePasswordlessResponse>(\"unary\", this._transport, method, opt, input);\n }\n // ── Phone Management ──\n\n /**\n * Add a phone number to the current profile.\n *\n * @generated from protobuf rpc: AddPhone\n */\n addPhone(input: AddPhoneRequest, options?: RpcOptions): UnaryCall<AddPhoneRequest, ProfilePhone> {\n const method = this.methods[18], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddPhoneRequest, ProfilePhone>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Remove a phone number from the current profile. A repetition removes\n * nothing more and answers NOT_FOUND (RFC 9110 §9.2.2).\n *\n * @generated from protobuf rpc: RemovePhone\n */\n removePhone(input: RemovePhoneRequest, options?: RpcOptions): UnaryCall<RemovePhoneRequest, Empty> {\n const method = this.methods[19], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemovePhoneRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Update a phone number's label or capabilities. Only the given settings\n * are written, so a repetition leaves the same phone.\n *\n * @generated from protobuf rpc: UpdatePhone\n */\n updatePhone(input: UpdatePhoneRequest, options?: RpcOptions): UnaryCall<UpdatePhoneRequest, ProfilePhone> {\n const method = this.methods[20], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdatePhoneRequest, ProfilePhone>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Set a phone as the primary phone for this profile. A phone already\n * primary stays so and is answered the same.\n *\n * @generated from protobuf rpc: SetPrimaryPhone\n */\n setPrimaryPhone(input: SetPrimaryPhoneRequest, options?: RpcOptions): UnaryCall<SetPrimaryPhoneRequest, ProfilePhone> {\n const method = this.methods[21], opt = this._transport.mergeOptions(options);\n return stackIntercept<SetPrimaryPhoneRequest, ProfilePhone>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List all phone numbers for the current profile.\n *\n * @generated from protobuf rpc: ListPhones\n */\n listPhones(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListPhonesResponse> {\n const method = this.methods[22], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, ListPhonesResponse>(\"unary\", this._transport, method, opt, input);\n }\n // ── Email Management ──\n\n /**\n * Add an email address to the current profile.\n *\n * @generated from protobuf rpc: AddEmail\n */\n addEmail(input: AddEmailRequest, options?: RpcOptions): UnaryCall<AddEmailRequest, ProfileEmail> {\n const method = this.methods[23], opt = this._transport.mergeOptions(options);\n return stackIntercept<AddEmailRequest, ProfileEmail>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Remove an email address from the current profile. A repetition removes\n * nothing more and answers NOT_FOUND (RFC 9110 §9.2.2).\n *\n * @generated from protobuf rpc: RemoveEmail\n */\n removeEmail(input: RemoveEmailRequest, options?: RpcOptions): UnaryCall<RemoveEmailRequest, Empty> {\n const method = this.methods[24], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemoveEmailRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Update an email address's label. Only the given settings are written,\n * so a repetition leaves the same email.\n *\n * @generated from protobuf rpc: UpdateEmail\n */\n updateEmail(input: UpdateEmailRequest, options?: RpcOptions): UnaryCall<UpdateEmailRequest, ProfileEmail> {\n const method = this.methods[25], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateEmailRequest, ProfileEmail>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Set an email as the primary email for this profile. An email already\n * primary stays so and is answered the same.\n *\n * @generated from protobuf rpc: SetPrimaryEmail\n */\n setPrimaryEmail(input: SetPrimaryEmailRequest, options?: RpcOptions): UnaryCall<SetPrimaryEmailRequest, ProfileEmail> {\n const method = this.methods[26], opt = this._transport.mergeOptions(options);\n return stackIntercept<SetPrimaryEmailRequest, ProfileEmail>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List all email addresses for the current profile.\n *\n * @generated from protobuf rpc: ListEmails\n */\n listEmails(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListEmailsResponse> {\n const method = this.methods[27], opt = this._transport.mergeOptions(options);\n return stackIntercept<Empty, ListEmailsResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
@@ -2531,8 +2531,8 @@ export const ListEmailsResponse = new ListEmailsResponse$Type();
2531
2531
  export const AccountService = new ServiceType("sid.v1.account.AccountService", [
2532
2532
  { name: "ListConsents", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/account/consents" } }, I: ListConsentsRequest, O: ListConsentsResponse },
2533
2533
  { name: "GetConsentDetail", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/account/consents/{site_id}" } }, I: GetConsentDetailRequest, O: GetConsentDetailResponse },
2534
- { name: "UpdateClaimConsent", options: { "google.api.http": { patch: "/v1/account/consents/{site_id}/claims/{claim_name}", body: "*" } }, I: UpdateClaimConsentRequest, O: Empty },
2535
- { name: "DisconnectSite", options: { "google.api.http": { delete: "/v1/account/consents/{site_id}" } }, I: DisconnectSiteRequest, O: Empty },
2534
+ { name: "UpdateClaimConsent", idempotency: "IDEMPOTENT", options: { "google.api.http": { patch: "/v1/account/consents/{site_id}/claims/{claim_name}", body: "*" } }, I: UpdateClaimConsentRequest, O: Empty },
2535
+ { name: "DisconnectSite", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/v1/account/consents/{site_id}" } }, I: DisconnectSiteRequest, O: Empty },
2536
2536
  { name: "ListActivityEvents", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/account/activity" } }, I: ListActivityEventsRequest, O: ListActivityEventsResponse },
2537
2537
  { name: "GetActivityEventDetail", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/account/activity/{event_id}" } }, I: GetActivityEventDetailRequest, O: ActivityEvent },
2538
2538
  { name: "ReportSuspiciousEvent", options: { "google.api.http": { post: "/v1/account/activity/{event_id}/report", body: "*" } }, I: ReportSuspiciousEventRequest, O: Empty },
@@ -2548,14 +2548,14 @@ export const AccountService = new ServiceType("sid.v1.account.AccountService", [
2548
2548
  { name: "EnablePasswordless", options: { "google.api.http": { post: "/v1/account/passwordless/enable", body: "*" } }, I: Empty, O: Empty },
2549
2549
  { name: "DisablePasswordless", options: { "google.api.http": { post: "/v1/account/passwordless/disable", body: "*" } }, I: Empty, O: DisablePasswordlessResponse },
2550
2550
  { name: "AddPhone", options: { "google.api.http": { post: "/v1/account/phones", body: "*" } }, I: AddPhoneRequest, O: ProfilePhone },
2551
- { name: "RemovePhone", options: { "google.api.http": { delete: "/v1/account/phones/{phone_id}" } }, I: RemovePhoneRequest, O: Empty },
2552
- { name: "UpdatePhone", options: { "google.api.http": { patch: "/v1/account/phones/{phone_id}", body: "*" } }, I: UpdatePhoneRequest, O: ProfilePhone },
2553
- { name: "SetPrimaryPhone", options: { "google.api.http": { post: "/v1/account/phones/{phone_id}/primary", body: "*" } }, I: SetPrimaryPhoneRequest, O: ProfilePhone },
2551
+ { name: "RemovePhone", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/v1/account/phones/{phone_id}" } }, I: RemovePhoneRequest, O: Empty },
2552
+ { name: "UpdatePhone", idempotency: "IDEMPOTENT", options: { "google.api.http": { patch: "/v1/account/phones/{phone_id}", body: "*" } }, I: UpdatePhoneRequest, O: ProfilePhone },
2553
+ { name: "SetPrimaryPhone", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/account/phones/{phone_id}/primary", body: "*" } }, I: SetPrimaryPhoneRequest, O: ProfilePhone },
2554
2554
  { name: "ListPhones", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/account/phones" } }, I: Empty, O: ListPhonesResponse },
2555
2555
  { name: "AddEmail", options: { "google.api.http": { post: "/v1/account/emails", body: "*" } }, I: AddEmailRequest, O: ProfileEmail },
2556
- { name: "RemoveEmail", options: { "google.api.http": { delete: "/v1/account/emails/{email_id}" } }, I: RemoveEmailRequest, O: Empty },
2557
- { name: "UpdateEmail", options: { "google.api.http": { patch: "/v1/account/emails/{email_id}", body: "*" } }, I: UpdateEmailRequest, O: ProfileEmail },
2558
- { name: "SetPrimaryEmail", options: { "google.api.http": { post: "/v1/account/emails/{email_id}/primary", body: "*" } }, I: SetPrimaryEmailRequest, O: ProfileEmail },
2556
+ { name: "RemoveEmail", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/v1/account/emails/{email_id}" } }, I: RemoveEmailRequest, O: Empty },
2557
+ { name: "UpdateEmail", idempotency: "IDEMPOTENT", options: { "google.api.http": { patch: "/v1/account/emails/{email_id}", body: "*" } }, I: UpdateEmailRequest, O: ProfileEmail },
2558
+ { name: "SetPrimaryEmail", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/account/emails/{email_id}/primary", body: "*" } }, I: SetPrimaryEmailRequest, O: ProfileEmail },
2559
2559
  { name: "ListEmails", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/account/emails" } }, I: Empty, O: ListEmailsResponse }
2560
2560
  ]);
2561
2561
  //# sourceMappingURL=account.js.map