@structured-id/proto 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.22.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.21.0...typescript-proto-v0.22.0) (2026-11-22)
4
+
5
+
6
+ ### Features
7
+
8
+ * **proto:** carry the browser session end ([#130](https://github.com/structured-id/sdk/issues/130)) ([89e29f6](https://github.com/structured-id/sdk/commit/89e29f685c086ed97325e6880c674c847ac8b288)), closes [#129](https://github.com/structured-id/sdk/issues/129)
9
+
3
10
  ## [0.21.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.20.0...typescript-proto-v0.21.0) (2026-11-22)
4
11
 
5
12
 
@@ -313,6 +313,17 @@ export interface IAuthServiceClient {
313
313
  * @generated from protobuf rpc: GetBrowserSession
314
314
  */
315
315
  getBrowserSession(input: Empty, options?: RpcOptions): UnaryCall<Empty, BrowserSession>;
316
+ /**
317
+ * Sign out of the installation in the calling browser: the session its
318
+ * cookie names ends and the response clears the cookie, so a page that acts
319
+ * in that session (the administration console) is signed out wherever it
320
+ * runs. The cookie names the session, so the request carries nothing; the
321
+ * call echoes the session's CSRF token from an admitted origin. The
322
+ * browser's other sessions and the user's sessions elsewhere are untouched.
323
+ *
324
+ * @generated from protobuf rpc: EndBrowserSession
325
+ */
326
+ endBrowserSession(input: Empty, options?: RpcOptions): UnaryCall<Empty, Empty>;
316
327
  /**
317
328
  * Session validation.
318
329
  *
@@ -721,6 +732,17 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
721
732
  * @generated from protobuf rpc: GetBrowserSession
722
733
  */
723
734
  getBrowserSession(input: Empty, options?: RpcOptions): UnaryCall<Empty, BrowserSession>;
735
+ /**
736
+ * Sign out of the installation in the calling browser: the session its
737
+ * cookie names ends and the response clears the cookie, so a page that acts
738
+ * in that session (the administration console) is signed out wherever it
739
+ * runs. The cookie names the session, so the request carries nothing; the
740
+ * call echoes the session's CSRF token from an admitted origin. The
741
+ * browser's other sessions and the user's sessions elsewhere are untouched.
742
+ *
743
+ * @generated from protobuf rpc: EndBrowserSession
744
+ */
745
+ endBrowserSession(input: Empty, options?: RpcOptions): UnaryCall<Empty, Empty>;
724
746
  /**
725
747
  * Session validation.
726
748
  *
@@ -269,13 +269,27 @@ export class AuthServiceClient {
269
269
  const method = this.methods[24], opt = this._transport.mergeOptions(options);
270
270
  return stackIntercept("unary", this._transport, method, opt, input);
271
271
  }
272
+ /**
273
+ * Sign out of the installation in the calling browser: the session its
274
+ * cookie names ends and the response clears the cookie, so a page that acts
275
+ * in that session (the administration console) is signed out wherever it
276
+ * runs. The cookie names the session, so the request carries nothing; the
277
+ * call echoes the session's CSRF token from an admitted origin. The
278
+ * browser's other sessions and the user's sessions elsewhere are untouched.
279
+ *
280
+ * @generated from protobuf rpc: EndBrowserSession
281
+ */
282
+ endBrowserSession(input, options) {
283
+ const method = this.methods[25], opt = this._transport.mergeOptions(options);
284
+ return stackIntercept("unary", this._transport, method, opt, input);
285
+ }
272
286
  /**
273
287
  * Session validation.
274
288
  *
275
289
  * @generated from protobuf rpc: ValidateSession
276
290
  */
277
291
  validateSession(input, options) {
278
- const method = this.methods[25], opt = this._transport.mergeOptions(options);
292
+ const method = this.methods[26], opt = this._transport.mergeOptions(options);
279
293
  return stackIntercept("unary", this._transport, method, opt, input);
280
294
  }
281
295
  /**
@@ -284,7 +298,7 @@ export class AuthServiceClient {
284
298
  * @generated from protobuf rpc: ResolvePrincipal
285
299
  */
286
300
  resolvePrincipal(input, options) {
287
- const method = this.methods[26], opt = this._transport.mergeOptions(options);
301
+ const method = this.methods[27], opt = this._transport.mergeOptions(options);
288
302
  return stackIntercept("unary", this._transport, method, opt, input);
289
303
  }
290
304
  /**
@@ -293,7 +307,7 @@ export class AuthServiceClient {
293
307
  * @generated from protobuf rpc: GetZkppPolicy
294
308
  */
295
309
  getZkppPolicy(input, options) {
296
- const method = this.methods[27], opt = this._transport.mergeOptions(options);
310
+ const method = this.methods[28], opt = this._transport.mergeOptions(options);
297
311
  return stackIntercept("unary", this._transport, method, opt, input);
298
312
  }
299
313
  /**
@@ -303,7 +317,7 @@ export class AuthServiceClient {
303
317
  * @generated from protobuf rpc: SubmitDeferredZkProof
304
318
  */
305
319
  submitDeferredZkProof(input, options) {
306
- const method = this.methods[28], opt = this._transport.mergeOptions(options);
320
+ const method = this.methods[29], opt = this._transport.mergeOptions(options);
307
321
  return stackIntercept("unary", this._transport, method, opt, input);
308
322
  }
309
323
  // ── MFA TOTP ──
@@ -314,21 +328,21 @@ export class AuthServiceClient {
314
328
  * @generated from protobuf rpc: StartTotpEnrollment
315
329
  */
316
330
  startTotpEnrollment(input, options) {
317
- const method = this.methods[29], opt = this._transport.mergeOptions(options);
331
+ const method = this.methods[30], opt = this._transport.mergeOptions(options);
318
332
  return stackIntercept("unary", this._transport, method, opt, input);
319
333
  }
320
334
  /**
321
335
  * @generated from protobuf rpc: FinishTotpEnrollment
322
336
  */
323
337
  finishTotpEnrollment(input, options) {
324
- const method = this.methods[30], opt = this._transport.mergeOptions(options);
338
+ const method = this.methods[31], opt = this._transport.mergeOptions(options);
325
339
  return stackIntercept("unary", this._transport, method, opt, input);
326
340
  }
327
341
  /**
328
342
  * @generated from protobuf rpc: VerifyTotp
329
343
  */
330
344
  verifyTotp(input, options) {
331
- const method = this.methods[31], opt = this._transport.mergeOptions(options);
345
+ const method = this.methods[32], opt = this._transport.mergeOptions(options);
332
346
  return stackIntercept("unary", this._transport, method, opt, input);
333
347
  }
334
348
  // ── MFA SMS ──
@@ -336,14 +350,14 @@ export class AuthServiceClient {
336
350
  * @generated from protobuf rpc: VerifySmsMfa
337
351
  */
338
352
  verifySmsMfa(input, options) {
339
- const method = this.methods[32], opt = this._transport.mergeOptions(options);
353
+ const method = this.methods[33], opt = this._transport.mergeOptions(options);
340
354
  return stackIntercept("unary", this._transport, method, opt, input);
341
355
  }
342
356
  /**
343
357
  * @generated from protobuf rpc: ResendSmsMfa
344
358
  */
345
359
  resendSmsMfa(input, options) {
346
- const method = this.methods[33], opt = this._transport.mergeOptions(options);
360
+ const method = this.methods[34], opt = this._transport.mergeOptions(options);
347
361
  return stackIntercept("unary", this._transport, method, opt, input);
348
362
  }
349
363
  // ── MFA Recovery Codes ──
@@ -355,14 +369,14 @@ export class AuthServiceClient {
355
369
  * @generated from protobuf rpc: GenerateRecoveryCodes
356
370
  */
357
371
  generateRecoveryCodes(input, options) {
358
- const method = this.methods[34], opt = this._transport.mergeOptions(options);
372
+ const method = this.methods[35], opt = this._transport.mergeOptions(options);
359
373
  return stackIntercept("unary", this._transport, method, opt, input);
360
374
  }
361
375
  /**
362
376
  * @generated from protobuf rpc: VerifyRecoveryCode
363
377
  */
364
378
  verifyRecoveryCode(input, options) {
365
- const method = this.methods[35], opt = this._transport.mergeOptions(options);
379
+ const method = this.methods[36], opt = this._transport.mergeOptions(options);
366
380
  return stackIntercept("unary", this._transport, method, opt, input);
367
381
  }
368
382
  // ── OTP verification (email/phone, non-MFA) ──
@@ -370,21 +384,21 @@ export class AuthServiceClient {
370
384
  * @generated from protobuf rpc: RequestOtp
371
385
  */
372
386
  requestOtp(input, options) {
373
- const method = this.methods[36], opt = this._transport.mergeOptions(options);
387
+ const method = this.methods[37], opt = this._transport.mergeOptions(options);
374
388
  return stackIntercept("unary", this._transport, method, opt, input);
375
389
  }
376
390
  /**
377
391
  * @generated from protobuf rpc: VerifyOtp
378
392
  */
379
393
  verifyOtp(input, options) {
380
- const method = this.methods[37], opt = this._transport.mergeOptions(options);
394
+ const method = this.methods[38], opt = this._transport.mergeOptions(options);
381
395
  return stackIntercept("unary", this._transport, method, opt, input);
382
396
  }
383
397
  /**
384
398
  * @generated from protobuf rpc: ResendOtp
385
399
  */
386
400
  resendOtp(input, options) {
387
- const method = this.methods[38], opt = this._transport.mergeOptions(options);
401
+ const method = this.methods[39], opt = this._transport.mergeOptions(options);
388
402
  return stackIntercept("unary", this._transport, method, opt, input);
389
403
  }
390
404
  // ── Passwordless registration (email code, first passkey) ──
@@ -403,7 +417,7 @@ export class AuthServiceClient {
403
417
  * @generated from protobuf rpc: StartEmailRegistration
404
418
  */
405
419
  startEmailRegistration(input, options) {
406
- const method = this.methods[39], opt = this._transport.mergeOptions(options);
420
+ const method = this.methods[40], opt = this._transport.mergeOptions(options);
407
421
  return stackIntercept("unary", this._transport, method, opt, input);
408
422
  }
409
423
  /**
@@ -413,7 +427,7 @@ export class AuthServiceClient {
413
427
  * @generated from protobuf rpc: ResendEmailRegistration
414
428
  */
415
429
  resendEmailRegistration(input, options) {
416
- const method = this.methods[40], opt = this._transport.mergeOptions(options);
430
+ const method = this.methods[41], opt = this._transport.mergeOptions(options);
417
431
  return stackIntercept("unary", this._transport, method, opt, input);
418
432
  }
419
433
  /**
@@ -426,7 +440,7 @@ export class AuthServiceClient {
426
440
  * @generated from protobuf rpc: VerifyEmailRegistration
427
441
  */
428
442
  verifyEmailRegistration(input, options) {
429
- const method = this.methods[41], opt = this._transport.mergeOptions(options);
443
+ const method = this.methods[42], opt = this._transport.mergeOptions(options);
430
444
  return stackIntercept("unary", this._transport, method, opt, input);
431
445
  }
432
446
  /**
@@ -436,7 +450,7 @@ export class AuthServiceClient {
436
450
  * @generated from protobuf rpc: PasskeyRegistrationStart
437
451
  */
438
452
  passkeyRegistrationStart(input, options) {
439
- const method = this.methods[42], opt = this._transport.mergeOptions(options);
453
+ const method = this.methods[43], opt = this._transport.mergeOptions(options);
440
454
  return stackIntercept("unary", this._transport, method, opt, input);
441
455
  }
442
456
  /**
@@ -448,7 +462,7 @@ export class AuthServiceClient {
448
462
  * @generated from protobuf rpc: PasskeyRegistrationFinish
449
463
  */
450
464
  passkeyRegistrationFinish(input, options) {
451
- const method = this.methods[43], opt = this._transport.mergeOptions(options);
465
+ const method = this.methods[44], opt = this._transport.mergeOptions(options);
452
466
  return stackIntercept("unary", this._transport, method, opt, input);
453
467
  }
454
468
  // ── Email/Phone verification ──
@@ -456,21 +470,21 @@ export class AuthServiceClient {
456
470
  * @generated from protobuf rpc: ResendEmailVerification
457
471
  */
458
472
  resendEmailVerification(input, options) {
459
- const method = this.methods[44], opt = this._transport.mergeOptions(options);
473
+ const method = this.methods[45], opt = this._transport.mergeOptions(options);
460
474
  return stackIntercept("unary", this._transport, method, opt, input);
461
475
  }
462
476
  /**
463
477
  * @generated from protobuf rpc: VerifyPhone
464
478
  */
465
479
  verifyPhone(input, options) {
466
- const method = this.methods[45], opt = this._transport.mergeOptions(options);
480
+ const method = this.methods[46], opt = this._transport.mergeOptions(options);
467
481
  return stackIntercept("unary", this._transport, method, opt, input);
468
482
  }
469
483
  /**
470
484
  * @generated from protobuf rpc: ResendPhoneVerification
471
485
  */
472
486
  resendPhoneVerification(input, options) {
473
- const method = this.methods[46], opt = this._transport.mergeOptions(options);
487
+ const method = this.methods[47], opt = this._transport.mergeOptions(options);
474
488
  return stackIntercept("unary", this._transport, method, opt, input);
475
489
  }
476
490
  // ── IdP linking ──
@@ -478,7 +492,7 @@ export class AuthServiceClient {
478
492
  * @generated from protobuf rpc: ConfirmIdpLink
479
493
  */
480
494
  confirmIdpLink(input, options) {
481
- const method = this.methods[47], opt = this._transport.mergeOptions(options);
495
+ const method = this.methods[48], opt = this._transport.mergeOptions(options);
482
496
  return stackIntercept("unary", this._transport, method, opt, input);
483
497
  }
484
498
  // ── Organization selector (multi-org login) ──
@@ -486,14 +500,14 @@ export class AuthServiceClient {
486
500
  * @generated from protobuf rpc: ListUserOrganizations
487
501
  */
488
502
  listUserOrganizations(input, options) {
489
- const method = this.methods[48], opt = this._transport.mergeOptions(options);
503
+ const method = this.methods[49], opt = this._transport.mergeOptions(options);
490
504
  return stackIntercept("unary", this._transport, method, opt, input);
491
505
  }
492
506
  /**
493
507
  * @generated from protobuf rpc: SelectOrganization
494
508
  */
495
509
  selectOrganization(input, options) {
496
- const method = this.methods[49], opt = this._transport.mergeOptions(options);
510
+ const method = this.methods[50], opt = this._transport.mergeOptions(options);
497
511
  return stackIntercept("unary", this._transport, method, opt, input);
498
512
  }
499
513
  // ── Terms acceptance ──
@@ -501,14 +515,14 @@ export class AuthServiceClient {
501
515
  * @generated from protobuf rpc: GetTerms
502
516
  */
503
517
  getTerms(input, options) {
504
- const method = this.methods[50], opt = this._transport.mergeOptions(options);
518
+ const method = this.methods[51], opt = this._transport.mergeOptions(options);
505
519
  return stackIntercept("unary", this._transport, method, opt, input);
506
520
  }
507
521
  /**
508
522
  * @generated from protobuf rpc: AcceptTerms
509
523
  */
510
524
  acceptTerms(input, options) {
511
- const method = this.methods[51], opt = this._transport.mergeOptions(options);
525
+ const method = this.methods[52], opt = this._transport.mergeOptions(options);
512
526
  return stackIntercept("unary", this._transport, method, opt, input);
513
527
  }
514
528
  // ── CIBA consent ──
@@ -516,14 +530,14 @@ export class AuthServiceClient {
516
530
  * @generated from protobuf rpc: ApproveCiba
517
531
  */
518
532
  approveCiba(input, options) {
519
- const method = this.methods[52], opt = this._transport.mergeOptions(options);
533
+ const method = this.methods[53], opt = this._transport.mergeOptions(options);
520
534
  return stackIntercept("unary", this._transport, method, opt, input);
521
535
  }
522
536
  /**
523
537
  * @generated from protobuf rpc: DenyCiba
524
538
  */
525
539
  denyCiba(input, options) {
526
- const method = this.methods[53], opt = this._transport.mergeOptions(options);
540
+ const method = this.methods[54], opt = this._transport.mergeOptions(options);
527
541
  return stackIntercept("unary", this._transport, method, opt, input);
528
542
  }
529
543
  // ── Captcha ──
@@ -531,7 +545,7 @@ export class AuthServiceClient {
531
545
  * @generated from protobuf rpc: VerifyCaptcha
532
546
  */
533
547
  verifyCaptcha(input, options) {
534
- const method = this.methods[54], opt = this._transport.mergeOptions(options);
548
+ const method = this.methods[55], opt = this._transport.mergeOptions(options);
535
549
  return stackIntercept("unary", this._transport, method, opt, input);
536
550
  }
537
551
  // ── Dynamic prompt (custom auth steps) ──
@@ -539,14 +553,14 @@ export class AuthServiceClient {
539
553
  * @generated from protobuf rpc: GetDynamicPrompt
540
554
  */
541
555
  getDynamicPrompt(input, options) {
542
- const method = this.methods[55], opt = this._transport.mergeOptions(options);
556
+ const method = this.methods[56], opt = this._transport.mergeOptions(options);
543
557
  return stackIntercept("unary", this._transport, method, opt, input);
544
558
  }
545
559
  /**
546
560
  * @generated from protobuf rpc: SubmitDynamicPrompt
547
561
  */
548
562
  submitDynamicPrompt(input, options) {
549
- const method = this.methods[56], opt = this._transport.mergeOptions(options);
563
+ const method = this.methods[57], opt = this._transport.mergeOptions(options);
550
564
  return stackIntercept("unary", this._transport, method, opt, input);
551
565
  }
552
566
  // ── Step-up authentication ──
@@ -556,7 +570,7 @@ export class AuthServiceClient {
556
570
  * @generated from protobuf rpc: RequestStepUp
557
571
  */
558
572
  requestStepUp(input, options) {
559
- const method = this.methods[57], opt = this._transport.mergeOptions(options);
573
+ const method = this.methods[58], opt = this._transport.mergeOptions(options);
560
574
  return stackIntercept("unary", this._transport, method, opt, input);
561
575
  }
562
576
  /**
@@ -565,7 +579,7 @@ export class AuthServiceClient {
565
579
  * @generated from protobuf rpc: CompleteStepUp
566
580
  */
567
581
  completeStepUp(input, options) {
568
- const method = this.methods[58], opt = this._transport.mergeOptions(options);
582
+ const method = this.methods[59], opt = this._transport.mergeOptions(options);
569
583
  return stackIntercept("unary", this._transport, method, opt, input);
570
584
  }
571
585
  // ── MFA credential management ──
@@ -576,7 +590,7 @@ export class AuthServiceClient {
576
590
  * @generated from protobuf rpc: DeleteMfaCredential
577
591
  */
578
592
  deleteMfaCredential(input, options) {
579
- const method = this.methods[59], opt = this._transport.mergeOptions(options);
593
+ const method = this.methods[60], opt = this._transport.mergeOptions(options);
580
594
  return stackIntercept("unary", this._transport, method, opt, input);
581
595
  }
582
596
  // ── Account deletion confirmation ──
@@ -584,7 +598,7 @@ export class AuthServiceClient {
584
598
  * @generated from protobuf rpc: ConfirmAccountDeletion
585
599
  */
586
600
  confirmAccountDeletion(input, options) {
587
- const method = this.methods[60], opt = this._transport.mergeOptions(options);
601
+ const method = this.methods[61], opt = this._transport.mergeOptions(options);
588
602
  return stackIntercept("unary", this._transport, method, opt, input);
589
603
  }
590
604
  /**
@@ -593,14 +607,14 @@ export class AuthServiceClient {
593
607
  * @generated from protobuf rpc: RequestPasswordReset
594
608
  */
595
609
  requestPasswordReset(input, options) {
596
- const method = this.methods[61], opt = this._transport.mergeOptions(options);
610
+ const method = this.methods[62], opt = this._transport.mergeOptions(options);
597
611
  return stackIntercept("unary", this._transport, method, opt, input);
598
612
  }
599
613
  /**
600
614
  * @generated from protobuf rpc: VerifyPasswordReset
601
615
  */
602
616
  verifyPasswordReset(input, options) {
603
- const method = this.methods[62], opt = this._transport.mergeOptions(options);
617
+ const method = this.methods[63], opt = this._transport.mergeOptions(options);
604
618
  return stackIntercept("unary", this._transport, method, opt, input);
605
619
  }
606
620
  /**
@@ -610,7 +624,7 @@ export class AuthServiceClient {
610
624
  * @generated from protobuf rpc: ExecutePasswordReset
611
625
  */
612
626
  executePasswordReset(input, options) {
613
- const method = this.methods[63], opt = this._transport.mergeOptions(options);
627
+ const method = this.methods[64], opt = this._transport.mergeOptions(options);
614
628
  return stackIntercept("unary", this._transport, method, opt, input);
615
629
  }
616
630
  /**
@@ -620,7 +634,7 @@ export class AuthServiceClient {
620
634
  * @generated from protobuf rpc: CompletePasswordReset
621
635
  */
622
636
  completePasswordReset(input, options) {
623
- const method = this.methods[64], opt = this._transport.mergeOptions(options);
637
+ const method = this.methods[65], opt = this._transport.mergeOptions(options);
624
638
  return stackIntercept("unary", this._transport, method, opt, input);
625
639
  }
626
640
  }