@nvisy/sdk 0.45.0 → 0.46.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 +33 -0
- package/dist/{client-BSm-th0-.d.ts → client-0oq7sASN.d.ts} +98 -2
- package/dist/client-0oq7sASN.d.ts.map +1 -0
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{error-BxPIw06n.js → error-BeVSNpDg.js} +2 -2
- package/dist/{error-BxPIw06n.js.map → error-BeVSNpDg.js.map} +1 -1
- package/dist/{errors-B0aVjvsp.d.ts → errors-BLX8SuEm.d.ts} +2 -2
- package/dist/{errors-B0aVjvsp.d.ts.map → errors-BLX8SuEm.d.ts.map} +1 -1
- package/dist/{index-kr36ZsdV.d.ts → index-uEHkixjD.d.ts} +956 -66
- package/dist/index-uEHkixjD.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.js +1 -1
- package/dist/{services-Wl_lWB66.js → services-BZFiiCXu.js} +123 -1
- package/dist/services-BZFiiCXu.js.map +1 -0
- package/dist/standalone/index.d.ts +31 -5
- package/dist/standalone/index.d.ts.map +1 -1
- package/dist/standalone/index.js +32 -2
- package/dist/standalone/index.js.map +1 -1
- package/dist/webhooks/index.d.ts +9 -9
- package/dist/webhooks/index.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/client-BSm-th0-.d.ts.map +0 -1
- package/dist/index-kr36ZsdV.d.ts.map +0 -1
- package/dist/services-Wl_lWB66.js.map +0 -1
|
@@ -117,7 +117,13 @@ interface paths {
|
|
|
117
117
|
path?: never;
|
|
118
118
|
cookie?: never;
|
|
119
119
|
};
|
|
120
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* @description Request payload to update an account's profile.
|
|
122
|
+
*
|
|
123
|
+
* Credentials are not profile fields — a password and any linked providers are
|
|
124
|
+
* managed through the account's identities (see the identity endpoints), never
|
|
125
|
+
* here.
|
|
126
|
+
*/
|
|
121
127
|
requestBody: {
|
|
122
128
|
content: {
|
|
123
129
|
"application/json": components["schemas"]["UpdateAccount"];
|
|
@@ -468,6 +474,408 @@ interface paths {
|
|
|
468
474
|
patch?: never;
|
|
469
475
|
trace?: never;
|
|
470
476
|
};
|
|
477
|
+
"/account/identities/": {
|
|
478
|
+
parameters: {
|
|
479
|
+
query?: never;
|
|
480
|
+
header?: never;
|
|
481
|
+
path?: never;
|
|
482
|
+
cookie?: never;
|
|
483
|
+
};
|
|
484
|
+
/**
|
|
485
|
+
* List sign-in methods
|
|
486
|
+
* @description Returns the authenticated account's identities: its password and any linked providers.
|
|
487
|
+
*/
|
|
488
|
+
get: {
|
|
489
|
+
parameters: {
|
|
490
|
+
query?: never;
|
|
491
|
+
header?: never;
|
|
492
|
+
path?: never;
|
|
493
|
+
cookie?: never;
|
|
494
|
+
};
|
|
495
|
+
requestBody?: never;
|
|
496
|
+
responses: {
|
|
497
|
+
/** @description The account's sign-in methods. */
|
|
498
|
+
200: {
|
|
499
|
+
headers: {
|
|
500
|
+
[name: string]: unknown;
|
|
501
|
+
};
|
|
502
|
+
content: {
|
|
503
|
+
"application/json": components["schemas"]["AccountIdentities"];
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
/**
|
|
507
|
+
* @description HTTP error response representation with security-conscious design.
|
|
508
|
+
*
|
|
509
|
+
* This struct contains all the information needed to serialize an error
|
|
510
|
+
* response, including the error name, message, HTTP status code, resource
|
|
511
|
+
* information, and user-friendly messages.
|
|
512
|
+
*/
|
|
513
|
+
401: {
|
|
514
|
+
headers: {
|
|
515
|
+
[name: string]: unknown;
|
|
516
|
+
};
|
|
517
|
+
content: {
|
|
518
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
put?: never;
|
|
524
|
+
post?: never;
|
|
525
|
+
delete?: never;
|
|
526
|
+
options?: never;
|
|
527
|
+
head?: never;
|
|
528
|
+
patch?: never;
|
|
529
|
+
trace?: never;
|
|
530
|
+
};
|
|
531
|
+
"/account/identities/password/": {
|
|
532
|
+
parameters: {
|
|
533
|
+
query?: never;
|
|
534
|
+
header?: never;
|
|
535
|
+
path?: never;
|
|
536
|
+
cookie?: never;
|
|
537
|
+
};
|
|
538
|
+
get?: never;
|
|
539
|
+
/**
|
|
540
|
+
* Set or change password
|
|
541
|
+
* @description Sets or changes the account's password. Changing an existing password requires the current password; setting a first password on an account that has none requires a step-up re-authentication proof.
|
|
542
|
+
*/
|
|
543
|
+
put: {
|
|
544
|
+
parameters: {
|
|
545
|
+
query?: never;
|
|
546
|
+
header?: never;
|
|
547
|
+
path?: never;
|
|
548
|
+
cookie?: never;
|
|
549
|
+
};
|
|
550
|
+
/**
|
|
551
|
+
* @description A password set or change.
|
|
552
|
+
*
|
|
553
|
+
* When the account already has a password, `current_password` is required and
|
|
554
|
+
* verified before the change is applied, so a hijacked session or CSRF cannot
|
|
555
|
+
* silently reset it (and lock out the real owner). When the account has no
|
|
556
|
+
* password yet (an SSO-only account setting its first one), there is nothing to
|
|
557
|
+
* re-authenticate against, so a fresh step-up `reauth_proof` is required instead
|
|
558
|
+
* — a live session alone must not mint a durable new credential.
|
|
559
|
+
*/
|
|
560
|
+
requestBody: {
|
|
561
|
+
content: {
|
|
562
|
+
"application/json": components["schemas"]["SetPassword"];
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
responses: {
|
|
566
|
+
/** @description Password set. */
|
|
567
|
+
204: {
|
|
568
|
+
headers: {
|
|
569
|
+
[name: string]: unknown;
|
|
570
|
+
};
|
|
571
|
+
content?: never;
|
|
572
|
+
};
|
|
573
|
+
/**
|
|
574
|
+
* @description HTTP error response representation with security-conscious design.
|
|
575
|
+
*
|
|
576
|
+
* This struct contains all the information needed to serialize an error
|
|
577
|
+
* response, including the error name, message, HTTP status code, resource
|
|
578
|
+
* information, and user-friendly messages.
|
|
579
|
+
*/
|
|
580
|
+
400: {
|
|
581
|
+
headers: {
|
|
582
|
+
[name: string]: unknown;
|
|
583
|
+
};
|
|
584
|
+
content: {
|
|
585
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
/**
|
|
589
|
+
* @description HTTP error response representation with security-conscious design.
|
|
590
|
+
*
|
|
591
|
+
* This struct contains all the information needed to serialize an error
|
|
592
|
+
* response, including the error name, message, HTTP status code, resource
|
|
593
|
+
* information, and user-friendly messages.
|
|
594
|
+
*/
|
|
595
|
+
401: {
|
|
596
|
+
headers: {
|
|
597
|
+
[name: string]: unknown;
|
|
598
|
+
};
|
|
599
|
+
content: {
|
|
600
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
/** @description Expected request with `Content-Type: application/json` */
|
|
604
|
+
415: {
|
|
605
|
+
headers: {
|
|
606
|
+
[name: string]: unknown;
|
|
607
|
+
};
|
|
608
|
+
content: {
|
|
609
|
+
"text/plain": string;
|
|
610
|
+
};
|
|
611
|
+
};
|
|
612
|
+
/** @description Failed to deserialize the JSON body into the target type */
|
|
613
|
+
422: {
|
|
614
|
+
headers: {
|
|
615
|
+
[name: string]: unknown;
|
|
616
|
+
};
|
|
617
|
+
content: {
|
|
618
|
+
"text/plain": string;
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
};
|
|
623
|
+
post?: never;
|
|
624
|
+
/**
|
|
625
|
+
* Remove password
|
|
626
|
+
* @description Removes the account's password, leaving it able to sign in only through its linked providers. Refused if the password is the account's only sign-in method.
|
|
627
|
+
*/
|
|
628
|
+
delete: {
|
|
629
|
+
parameters: {
|
|
630
|
+
query?: never;
|
|
631
|
+
header?: never;
|
|
632
|
+
path?: never;
|
|
633
|
+
cookie?: never;
|
|
634
|
+
};
|
|
635
|
+
requestBody?: never;
|
|
636
|
+
responses: {
|
|
637
|
+
/** @description Password removed. */
|
|
638
|
+
204: {
|
|
639
|
+
headers: {
|
|
640
|
+
[name: string]: unknown;
|
|
641
|
+
};
|
|
642
|
+
content?: never;
|
|
643
|
+
};
|
|
644
|
+
/**
|
|
645
|
+
* @description HTTP error response representation with security-conscious design.
|
|
646
|
+
*
|
|
647
|
+
* This struct contains all the information needed to serialize an error
|
|
648
|
+
* response, including the error name, message, HTTP status code, resource
|
|
649
|
+
* information, and user-friendly messages.
|
|
650
|
+
*/
|
|
651
|
+
401: {
|
|
652
|
+
headers: {
|
|
653
|
+
[name: string]: unknown;
|
|
654
|
+
};
|
|
655
|
+
content: {
|
|
656
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
657
|
+
};
|
|
658
|
+
};
|
|
659
|
+
/**
|
|
660
|
+
* @description HTTP error response representation with security-conscious design.
|
|
661
|
+
*
|
|
662
|
+
* This struct contains all the information needed to serialize an error
|
|
663
|
+
* response, including the error name, message, HTTP status code, resource
|
|
664
|
+
* information, and user-friendly messages.
|
|
665
|
+
*/
|
|
666
|
+
404: {
|
|
667
|
+
headers: {
|
|
668
|
+
[name: string]: unknown;
|
|
669
|
+
};
|
|
670
|
+
content: {
|
|
671
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
/**
|
|
675
|
+
* @description HTTP error response representation with security-conscious design.
|
|
676
|
+
*
|
|
677
|
+
* This struct contains all the information needed to serialize an error
|
|
678
|
+
* response, including the error name, message, HTTP status code, resource
|
|
679
|
+
* information, and user-friendly messages.
|
|
680
|
+
*/
|
|
681
|
+
409: {
|
|
682
|
+
headers: {
|
|
683
|
+
[name: string]: unknown;
|
|
684
|
+
};
|
|
685
|
+
content: {
|
|
686
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
options?: never;
|
|
692
|
+
head?: never;
|
|
693
|
+
patch?: never;
|
|
694
|
+
trace?: never;
|
|
695
|
+
};
|
|
696
|
+
"/account/identities/{provider}/": {
|
|
697
|
+
parameters: {
|
|
698
|
+
query?: never;
|
|
699
|
+
header?: never;
|
|
700
|
+
path?: never;
|
|
701
|
+
cookie?: never;
|
|
702
|
+
};
|
|
703
|
+
get?: never;
|
|
704
|
+
put?: never;
|
|
705
|
+
/**
|
|
706
|
+
* Link a provider
|
|
707
|
+
* @description Begins linking the given OpenID Connect provider to the authenticated account and returns the provider authorize URL. Requires a step-up re-authentication proof (`reauthProof`, from the reauth endpoint). On consent, the callback attaches the verified provider identity to the caller's account.
|
|
708
|
+
*/
|
|
709
|
+
post: {
|
|
710
|
+
parameters: {
|
|
711
|
+
query?: {
|
|
712
|
+
/**
|
|
713
|
+
* @description A step-up re-authentication proof. Required to start a *link* (adding a
|
|
714
|
+
* provider is a credential-adding action, so a live session alone is not
|
|
715
|
+
* enough); ignored for sign-in and reauth.
|
|
716
|
+
*/
|
|
717
|
+
reauthProof?: string;
|
|
718
|
+
/**
|
|
719
|
+
* @description Frontend URL to return to once done. Carried through the flow and used to
|
|
720
|
+
* build the callback's redirect.
|
|
721
|
+
*/
|
|
722
|
+
redirectUri?: string;
|
|
723
|
+
};
|
|
724
|
+
header?: never;
|
|
725
|
+
path: {
|
|
726
|
+
/** @description The identity provider to act on. */
|
|
727
|
+
provider: components["schemas"]["IdentityProvider"];
|
|
728
|
+
};
|
|
729
|
+
cookie?: never;
|
|
730
|
+
};
|
|
731
|
+
requestBody?: never;
|
|
732
|
+
responses: {
|
|
733
|
+
/** @description The response to a successful sign-in start: where to send the user. */
|
|
734
|
+
200: {
|
|
735
|
+
headers: {
|
|
736
|
+
[name: string]: unknown;
|
|
737
|
+
};
|
|
738
|
+
content: {
|
|
739
|
+
"application/json": components["schemas"]["OidcStartResponse"];
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
/**
|
|
743
|
+
* @description HTTP error response representation with security-conscious design.
|
|
744
|
+
*
|
|
745
|
+
* This struct contains all the information needed to serialize an error
|
|
746
|
+
* response, including the error name, message, HTTP status code, resource
|
|
747
|
+
* information, and user-friendly messages.
|
|
748
|
+
*/
|
|
749
|
+
401: {
|
|
750
|
+
headers: {
|
|
751
|
+
[name: string]: unknown;
|
|
752
|
+
};
|
|
753
|
+
content: {
|
|
754
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
/**
|
|
758
|
+
* @description HTTP error response representation with security-conscious design.
|
|
759
|
+
*
|
|
760
|
+
* This struct contains all the information needed to serialize an error
|
|
761
|
+
* response, including the error name, message, HTTP status code, resource
|
|
762
|
+
* information, and user-friendly messages.
|
|
763
|
+
*/
|
|
764
|
+
404: {
|
|
765
|
+
headers: {
|
|
766
|
+
[name: string]: unknown;
|
|
767
|
+
};
|
|
768
|
+
content: {
|
|
769
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
/**
|
|
773
|
+
* @description HTTP error response representation with security-conscious design.
|
|
774
|
+
*
|
|
775
|
+
* This struct contains all the information needed to serialize an error
|
|
776
|
+
* response, including the error name, message, HTTP status code, resource
|
|
777
|
+
* information, and user-friendly messages.
|
|
778
|
+
*/
|
|
779
|
+
503: {
|
|
780
|
+
headers: {
|
|
781
|
+
[name: string]: unknown;
|
|
782
|
+
};
|
|
783
|
+
content: {
|
|
784
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* Unlink a provider
|
|
791
|
+
* @description Removes a linked OIDC provider from the account. Refused if the provider is the account's only sign-in method.
|
|
792
|
+
*/
|
|
793
|
+
delete: {
|
|
794
|
+
parameters: {
|
|
795
|
+
query?: never;
|
|
796
|
+
header?: never;
|
|
797
|
+
path: {
|
|
798
|
+
/** @description The identity provider to act on. */
|
|
799
|
+
provider: components["schemas"]["IdentityProvider"];
|
|
800
|
+
};
|
|
801
|
+
cookie?: never;
|
|
802
|
+
};
|
|
803
|
+
requestBody?: never;
|
|
804
|
+
responses: {
|
|
805
|
+
/** @description Provider unlinked. */
|
|
806
|
+
204: {
|
|
807
|
+
headers: {
|
|
808
|
+
[name: string]: unknown;
|
|
809
|
+
};
|
|
810
|
+
content?: never;
|
|
811
|
+
};
|
|
812
|
+
/**
|
|
813
|
+
* @description HTTP error response representation with security-conscious design.
|
|
814
|
+
*
|
|
815
|
+
* This struct contains all the information needed to serialize an error
|
|
816
|
+
* response, including the error name, message, HTTP status code, resource
|
|
817
|
+
* information, and user-friendly messages.
|
|
818
|
+
*/
|
|
819
|
+
400: {
|
|
820
|
+
headers: {
|
|
821
|
+
[name: string]: unknown;
|
|
822
|
+
};
|
|
823
|
+
content: {
|
|
824
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
/**
|
|
828
|
+
* @description HTTP error response representation with security-conscious design.
|
|
829
|
+
*
|
|
830
|
+
* This struct contains all the information needed to serialize an error
|
|
831
|
+
* response, including the error name, message, HTTP status code, resource
|
|
832
|
+
* information, and user-friendly messages.
|
|
833
|
+
*/
|
|
834
|
+
401: {
|
|
835
|
+
headers: {
|
|
836
|
+
[name: string]: unknown;
|
|
837
|
+
};
|
|
838
|
+
content: {
|
|
839
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
/**
|
|
843
|
+
* @description HTTP error response representation with security-conscious design.
|
|
844
|
+
*
|
|
845
|
+
* This struct contains all the information needed to serialize an error
|
|
846
|
+
* response, including the error name, message, HTTP status code, resource
|
|
847
|
+
* information, and user-friendly messages.
|
|
848
|
+
*/
|
|
849
|
+
404: {
|
|
850
|
+
headers: {
|
|
851
|
+
[name: string]: unknown;
|
|
852
|
+
};
|
|
853
|
+
content: {
|
|
854
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
855
|
+
};
|
|
856
|
+
};
|
|
857
|
+
/**
|
|
858
|
+
* @description HTTP error response representation with security-conscious design.
|
|
859
|
+
*
|
|
860
|
+
* This struct contains all the information needed to serialize an error
|
|
861
|
+
* response, including the error name, message, HTTP status code, resource
|
|
862
|
+
* information, and user-friendly messages.
|
|
863
|
+
*/
|
|
864
|
+
409: {
|
|
865
|
+
headers: {
|
|
866
|
+
[name: string]: unknown;
|
|
867
|
+
};
|
|
868
|
+
content: {
|
|
869
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
options?: never;
|
|
875
|
+
head?: never;
|
|
876
|
+
patch?: never;
|
|
877
|
+
trace?: never;
|
|
878
|
+
};
|
|
471
879
|
"/workspaces/": {
|
|
472
880
|
parameters: {
|
|
473
881
|
query?: never;
|
|
@@ -2644,7 +3052,118 @@ interface paths {
|
|
|
2644
3052
|
[name: string]: unknown;
|
|
2645
3053
|
};
|
|
2646
3054
|
content: {
|
|
2647
|
-
"application/json": components["schemas"]["ConnectionVerification"];
|
|
3055
|
+
"application/json": components["schemas"]["ConnectionVerification"];
|
|
3056
|
+
};
|
|
3057
|
+
};
|
|
3058
|
+
/**
|
|
3059
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3060
|
+
*
|
|
3061
|
+
* This struct contains all the information needed to serialize an error
|
|
3062
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3063
|
+
* information, and user-friendly messages.
|
|
3064
|
+
*/
|
|
3065
|
+
401: {
|
|
3066
|
+
headers: {
|
|
3067
|
+
[name: string]: unknown;
|
|
3068
|
+
};
|
|
3069
|
+
content: {
|
|
3070
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3071
|
+
};
|
|
3072
|
+
};
|
|
3073
|
+
/**
|
|
3074
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3075
|
+
*
|
|
3076
|
+
* This struct contains all the information needed to serialize an error
|
|
3077
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3078
|
+
* information, and user-friendly messages.
|
|
3079
|
+
*/
|
|
3080
|
+
403: {
|
|
3081
|
+
headers: {
|
|
3082
|
+
[name: string]: unknown;
|
|
3083
|
+
};
|
|
3084
|
+
content: {
|
|
3085
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3086
|
+
};
|
|
3087
|
+
};
|
|
3088
|
+
/**
|
|
3089
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3090
|
+
*
|
|
3091
|
+
* This struct contains all the information needed to serialize an error
|
|
3092
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3093
|
+
* information, and user-friendly messages.
|
|
3094
|
+
*/
|
|
3095
|
+
404: {
|
|
3096
|
+
headers: {
|
|
3097
|
+
[name: string]: unknown;
|
|
3098
|
+
};
|
|
3099
|
+
content: {
|
|
3100
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3101
|
+
};
|
|
3102
|
+
};
|
|
3103
|
+
};
|
|
3104
|
+
};
|
|
3105
|
+
delete?: never;
|
|
3106
|
+
options?: never;
|
|
3107
|
+
head?: never;
|
|
3108
|
+
patch?: never;
|
|
3109
|
+
trace?: never;
|
|
3110
|
+
};
|
|
3111
|
+
"/workspaces/{workspaceSlug}/connections/{connectionId}/picker-token/": {
|
|
3112
|
+
parameters: {
|
|
3113
|
+
query?: never;
|
|
3114
|
+
header?: never;
|
|
3115
|
+
path?: never;
|
|
3116
|
+
cookie?: never;
|
|
3117
|
+
};
|
|
3118
|
+
get?: never;
|
|
3119
|
+
put?: never;
|
|
3120
|
+
/**
|
|
3121
|
+
* Mint picker token
|
|
3122
|
+
* @description Returns a short-lived provider access token for a browser file picker (file services with a token-based picker only). The refresh token is never returned.
|
|
3123
|
+
*/
|
|
3124
|
+
post: {
|
|
3125
|
+
parameters: {
|
|
3126
|
+
query?: never;
|
|
3127
|
+
header?: never;
|
|
3128
|
+
path: {
|
|
3129
|
+
/** @description URL-safe workspace identifier. */
|
|
3130
|
+
workspaceSlug: string;
|
|
3131
|
+
/** @description Opaque identifier of the connection. */
|
|
3132
|
+
connectionId: components["schemas"]["ConnectionId"];
|
|
3133
|
+
};
|
|
3134
|
+
cookie?: never;
|
|
3135
|
+
};
|
|
3136
|
+
requestBody?: never;
|
|
3137
|
+
responses: {
|
|
3138
|
+
/**
|
|
3139
|
+
* @description A short-lived provider OAuth access token for a browser file picker.
|
|
3140
|
+
*
|
|
3141
|
+
* Carries only the access token and its expiry — never the refresh token, which
|
|
3142
|
+
* stays server-side. The token is minted from the connection's stored
|
|
3143
|
+
* credentials and is short-lived (the provider's access-token lifetime), so the
|
|
3144
|
+
* browser holds a narrow, expiring credential rather than a durable one.
|
|
3145
|
+
*/
|
|
3146
|
+
200: {
|
|
3147
|
+
headers: {
|
|
3148
|
+
[name: string]: unknown;
|
|
3149
|
+
};
|
|
3150
|
+
content: {
|
|
3151
|
+
"application/json": components["schemas"]["PickerToken"];
|
|
3152
|
+
};
|
|
3153
|
+
};
|
|
3154
|
+
/**
|
|
3155
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3156
|
+
*
|
|
3157
|
+
* This struct contains all the information needed to serialize an error
|
|
3158
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3159
|
+
* information, and user-friendly messages.
|
|
3160
|
+
*/
|
|
3161
|
+
400: {
|
|
3162
|
+
headers: {
|
|
3163
|
+
[name: string]: unknown;
|
|
3164
|
+
};
|
|
3165
|
+
content: {
|
|
3166
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
2648
3167
|
};
|
|
2649
3168
|
};
|
|
2650
3169
|
/**
|
|
@@ -9217,6 +9736,105 @@ interface paths {
|
|
|
9217
9736
|
patch?: never;
|
|
9218
9737
|
trace?: never;
|
|
9219
9738
|
};
|
|
9739
|
+
"/auth/{provider}/reauth/": {
|
|
9740
|
+
parameters: {
|
|
9741
|
+
query?: never;
|
|
9742
|
+
header?: never;
|
|
9743
|
+
path?: never;
|
|
9744
|
+
cookie?: never;
|
|
9745
|
+
};
|
|
9746
|
+
/**
|
|
9747
|
+
* Start OIDC step-up re-authentication
|
|
9748
|
+
* @description Begins a step-up re-authentication with a provider already linked to the authenticated account, and returns the provider authorize URL. On consent, the callback mints a short-lived, single-use proof required to add a credential (set a first password, or link a new provider).
|
|
9749
|
+
*/
|
|
9750
|
+
get: {
|
|
9751
|
+
parameters: {
|
|
9752
|
+
query?: {
|
|
9753
|
+
/**
|
|
9754
|
+
* @description A step-up re-authentication proof. Required to start a *link* (adding a
|
|
9755
|
+
* provider is a credential-adding action, so a live session alone is not
|
|
9756
|
+
* enough); ignored for sign-in and reauth.
|
|
9757
|
+
*/
|
|
9758
|
+
reauthProof?: string;
|
|
9759
|
+
/**
|
|
9760
|
+
* @description Frontend URL to return to once done. Carried through the flow and used to
|
|
9761
|
+
* build the callback's redirect.
|
|
9762
|
+
*/
|
|
9763
|
+
redirectUri?: string;
|
|
9764
|
+
};
|
|
9765
|
+
header?: never;
|
|
9766
|
+
path: {
|
|
9767
|
+
/** @description The identity provider to act on. */
|
|
9768
|
+
provider: components["schemas"]["IdentityProvider"];
|
|
9769
|
+
};
|
|
9770
|
+
cookie?: never;
|
|
9771
|
+
};
|
|
9772
|
+
requestBody?: never;
|
|
9773
|
+
responses: {
|
|
9774
|
+
/** @description The response to a successful sign-in start: where to send the user. */
|
|
9775
|
+
200: {
|
|
9776
|
+
headers: {
|
|
9777
|
+
[name: string]: unknown;
|
|
9778
|
+
};
|
|
9779
|
+
content: {
|
|
9780
|
+
"application/json": components["schemas"]["OidcStartResponse"];
|
|
9781
|
+
};
|
|
9782
|
+
};
|
|
9783
|
+
/**
|
|
9784
|
+
* @description HTTP error response representation with security-conscious design.
|
|
9785
|
+
*
|
|
9786
|
+
* This struct contains all the information needed to serialize an error
|
|
9787
|
+
* response, including the error name, message, HTTP status code, resource
|
|
9788
|
+
* information, and user-friendly messages.
|
|
9789
|
+
*/
|
|
9790
|
+
401: {
|
|
9791
|
+
headers: {
|
|
9792
|
+
[name: string]: unknown;
|
|
9793
|
+
};
|
|
9794
|
+
content: {
|
|
9795
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9796
|
+
};
|
|
9797
|
+
};
|
|
9798
|
+
/**
|
|
9799
|
+
* @description HTTP error response representation with security-conscious design.
|
|
9800
|
+
*
|
|
9801
|
+
* This struct contains all the information needed to serialize an error
|
|
9802
|
+
* response, including the error name, message, HTTP status code, resource
|
|
9803
|
+
* information, and user-friendly messages.
|
|
9804
|
+
*/
|
|
9805
|
+
404: {
|
|
9806
|
+
headers: {
|
|
9807
|
+
[name: string]: unknown;
|
|
9808
|
+
};
|
|
9809
|
+
content: {
|
|
9810
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9811
|
+
};
|
|
9812
|
+
};
|
|
9813
|
+
/**
|
|
9814
|
+
* @description HTTP error response representation with security-conscious design.
|
|
9815
|
+
*
|
|
9816
|
+
* This struct contains all the information needed to serialize an error
|
|
9817
|
+
* response, including the error name, message, HTTP status code, resource
|
|
9818
|
+
* information, and user-friendly messages.
|
|
9819
|
+
*/
|
|
9820
|
+
503: {
|
|
9821
|
+
headers: {
|
|
9822
|
+
[name: string]: unknown;
|
|
9823
|
+
};
|
|
9824
|
+
content: {
|
|
9825
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9826
|
+
};
|
|
9827
|
+
};
|
|
9828
|
+
};
|
|
9829
|
+
};
|
|
9830
|
+
put?: never;
|
|
9831
|
+
post?: never;
|
|
9832
|
+
delete?: never;
|
|
9833
|
+
options?: never;
|
|
9834
|
+
head?: never;
|
|
9835
|
+
patch?: never;
|
|
9836
|
+
trace?: never;
|
|
9837
|
+
};
|
|
9220
9838
|
"/auth/login/": {
|
|
9221
9839
|
parameters: {
|
|
9222
9840
|
query?: never;
|
|
@@ -9453,6 +10071,90 @@ interface paths {
|
|
|
9453
10071
|
patch?: never;
|
|
9454
10072
|
trace?: never;
|
|
9455
10073
|
};
|
|
10074
|
+
"/auth/{provider}/start/": {
|
|
10075
|
+
parameters: {
|
|
10076
|
+
query?: never;
|
|
10077
|
+
header?: never;
|
|
10078
|
+
path?: never;
|
|
10079
|
+
cookie?: never;
|
|
10080
|
+
};
|
|
10081
|
+
/**
|
|
10082
|
+
* Start OIDC sign-in
|
|
10083
|
+
* @description Begins an OpenID Connect sign-in with the given provider and returns the provider authorize URL to redirect the user to. On consent, the provider redirects to the callback, which signs the user in.
|
|
10084
|
+
*/
|
|
10085
|
+
get: {
|
|
10086
|
+
parameters: {
|
|
10087
|
+
query?: {
|
|
10088
|
+
/**
|
|
10089
|
+
* @description A step-up re-authentication proof. Required to start a *link* (adding a
|
|
10090
|
+
* provider is a credential-adding action, so a live session alone is not
|
|
10091
|
+
* enough); ignored for sign-in and reauth.
|
|
10092
|
+
*/
|
|
10093
|
+
reauthProof?: string;
|
|
10094
|
+
/**
|
|
10095
|
+
* @description Frontend URL to return to once done. Carried through the flow and used to
|
|
10096
|
+
* build the callback's redirect.
|
|
10097
|
+
*/
|
|
10098
|
+
redirectUri?: string;
|
|
10099
|
+
};
|
|
10100
|
+
header?: never;
|
|
10101
|
+
path: {
|
|
10102
|
+
/** @description The identity provider to act on. */
|
|
10103
|
+
provider: components["schemas"]["IdentityProvider"];
|
|
10104
|
+
};
|
|
10105
|
+
cookie?: never;
|
|
10106
|
+
};
|
|
10107
|
+
requestBody?: never;
|
|
10108
|
+
responses: {
|
|
10109
|
+
/** @description The response to a successful sign-in start: where to send the user. */
|
|
10110
|
+
200: {
|
|
10111
|
+
headers: {
|
|
10112
|
+
[name: string]: unknown;
|
|
10113
|
+
};
|
|
10114
|
+
content: {
|
|
10115
|
+
"application/json": components["schemas"]["OidcStartResponse"];
|
|
10116
|
+
};
|
|
10117
|
+
};
|
|
10118
|
+
/**
|
|
10119
|
+
* @description HTTP error response representation with security-conscious design.
|
|
10120
|
+
*
|
|
10121
|
+
* This struct contains all the information needed to serialize an error
|
|
10122
|
+
* response, including the error name, message, HTTP status code, resource
|
|
10123
|
+
* information, and user-friendly messages.
|
|
10124
|
+
*/
|
|
10125
|
+
404: {
|
|
10126
|
+
headers: {
|
|
10127
|
+
[name: string]: unknown;
|
|
10128
|
+
};
|
|
10129
|
+
content: {
|
|
10130
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10131
|
+
};
|
|
10132
|
+
};
|
|
10133
|
+
/**
|
|
10134
|
+
* @description HTTP error response representation with security-conscious design.
|
|
10135
|
+
*
|
|
10136
|
+
* This struct contains all the information needed to serialize an error
|
|
10137
|
+
* response, including the error name, message, HTTP status code, resource
|
|
10138
|
+
* information, and user-friendly messages.
|
|
10139
|
+
*/
|
|
10140
|
+
503: {
|
|
10141
|
+
headers: {
|
|
10142
|
+
[name: string]: unknown;
|
|
10143
|
+
};
|
|
10144
|
+
content: {
|
|
10145
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10146
|
+
};
|
|
10147
|
+
};
|
|
10148
|
+
};
|
|
10149
|
+
};
|
|
10150
|
+
put?: never;
|
|
10151
|
+
post?: never;
|
|
10152
|
+
delete?: never;
|
|
10153
|
+
options?: never;
|
|
10154
|
+
head?: never;
|
|
10155
|
+
patch?: never;
|
|
10156
|
+
trace?: never;
|
|
10157
|
+
};
|
|
9456
10158
|
"/health/": {
|
|
9457
10159
|
parameters: {
|
|
9458
10160
|
query?: never;
|
|
@@ -9634,6 +10336,33 @@ interface components {
|
|
|
9634
10336
|
/** @description Public handle of the account. */
|
|
9635
10337
|
username: components["schemas"]["Handle"];
|
|
9636
10338
|
};
|
|
10339
|
+
/** @description The account's sign-in methods. */
|
|
10340
|
+
AccountIdentities: {
|
|
10341
|
+
/** @description Every identity the account can sign in with. */
|
|
10342
|
+
identities: components["schemas"]["AccountIdentity"][];
|
|
10343
|
+
};
|
|
10344
|
+
/**
|
|
10345
|
+
* @description One of an account's sign-in methods, for the identities listing.
|
|
10346
|
+
*
|
|
10347
|
+
* Never exposes the credential itself (a password hash or a provider subject),
|
|
10348
|
+
* only which methods exist and metadata about them.
|
|
10349
|
+
*/
|
|
10350
|
+
AccountIdentity: {
|
|
10351
|
+
/**
|
|
10352
|
+
* Format: date-time
|
|
10353
|
+
* @description When the identity was created (the password set, or the provider linked).
|
|
10354
|
+
*/
|
|
10355
|
+
createdAt: string;
|
|
10356
|
+
/** @description The authentication method: `password` or an OIDC provider. */
|
|
10357
|
+
provider: components["schemas"]["IdentityProvider"];
|
|
10358
|
+
/** @description The email the provider asserted at link time, for a linked provider. */
|
|
10359
|
+
providerEmail?: string;
|
|
10360
|
+
/**
|
|
10361
|
+
* Format: date-time
|
|
10362
|
+
* @description When the identity was last updated.
|
|
10363
|
+
*/
|
|
10364
|
+
updatedAt: string;
|
|
10365
|
+
};
|
|
9637
10366
|
/**
|
|
9638
10367
|
* @description Path parameters for account operations.
|
|
9639
10368
|
*
|
|
@@ -10044,15 +10773,20 @@ interface components {
|
|
|
10044
10773
|
* `word/document.xml` text belongs to the document part
|
|
10045
10774
|
* itself, not to a nested one.
|
|
10046
10775
|
*
|
|
10047
|
-
*
|
|
10048
|
-
*
|
|
10049
|
-
*
|
|
10050
|
-
*
|
|
10051
|
-
* reverse-resolves.
|
|
10052
|
-
*
|
|
10776
|
+
* Text carries either coordinate kind of [`TextCoord`]: a
|
|
10777
|
+
* [`Decoded`] span for a caller with an offset into the
|
|
10778
|
+
* decoded stream, or a [`Source`] one for a caller holding
|
|
10779
|
+
* only raw file bytes — a reviewer selecting rendered text,
|
|
10780
|
+
* say — which the engine reverse-resolves. Source-only is its
|
|
10781
|
+
* own kind rather than a decoded span left empty, so such a
|
|
10782
|
+
* selection is representable as itself.
|
|
10783
|
+
*
|
|
10784
|
+
* The other three media have no such alternative: their
|
|
10785
|
+
* coordinates are the only way in.
|
|
10053
10786
|
*
|
|
10054
|
-
* [`
|
|
10055
|
-
* [`
|
|
10787
|
+
* [`TextCoord`]: elide::modality::text::TextCoord
|
|
10788
|
+
* [`Decoded`]: elide::modality::text::TextCoord::Decoded
|
|
10789
|
+
* [`Source`]: elide::modality::text::TextCoord::Source
|
|
10056
10790
|
*/
|
|
10057
10791
|
location: components["schemas"]["AudioLocation"];
|
|
10058
10792
|
/**
|
|
@@ -10064,9 +10798,9 @@ interface components {
|
|
|
10064
10798
|
*
|
|
10065
10799
|
* Nested media needs this: the report holds an embedded image
|
|
10066
10800
|
* as its own part, and an addition to one has nowhere to go
|
|
10067
|
-
* without naming it. Text usually does not —
|
|
10068
|
-
*
|
|
10069
|
-
*
|
|
10801
|
+
* without naming it. Text usually does not — a source
|
|
10802
|
+
* reference already names the part it came from, alongside the
|
|
10803
|
+
* raw range.
|
|
10070
10804
|
*
|
|
10071
10805
|
* `None` is an error when the request carried several
|
|
10072
10806
|
* documents, since there is then no sole document to mean.
|
|
@@ -11380,6 +12114,48 @@ interface components {
|
|
|
11380
12114
|
*/
|
|
11381
12115
|
limit?: number;
|
|
11382
12116
|
};
|
|
12117
|
+
/**
|
|
12118
|
+
* @description How to detect one caller-authored label.
|
|
12119
|
+
*
|
|
12120
|
+
* Names a label the same policy declares in [`custom`]. A matcher
|
|
12121
|
+
* for a shipped built-in is rejected: elide already detects those,
|
|
12122
|
+
* and two definitions for one label would race in reconciliation.
|
|
12123
|
+
*
|
|
12124
|
+
* [`custom`]: super::PolicyDefinition::custom
|
|
12125
|
+
*/
|
|
12126
|
+
CustomMatcher: {
|
|
12127
|
+
/**
|
|
12128
|
+
* Format: float
|
|
12129
|
+
* @description Score stamped on every match. Defaults to `0.6`.
|
|
12130
|
+
*
|
|
12131
|
+
* Reconciliation keeps the higher-confidence entity when two
|
|
12132
|
+
* detections overlap, so this is what decides whether a
|
|
12133
|
+
* custom match beats a built-in one covering the same span.
|
|
12134
|
+
* @default 0.6000000238418579
|
|
12135
|
+
*/
|
|
12136
|
+
confidence?: number;
|
|
12137
|
+
/**
|
|
12138
|
+
* @description The label this detects, which the policy must declare in
|
|
12139
|
+
* [`custom`](super::PolicyDefinition::custom).
|
|
12140
|
+
*/
|
|
12141
|
+
label: components["schemas"]["LabelRef"];
|
|
12142
|
+
/**
|
|
12143
|
+
* @description Human-readable name, recorded in the audit as the
|
|
12144
|
+
* recognizer that found the entity, so a trail distinguishes
|
|
12145
|
+
* a caller's matcher from a shipped pattern.
|
|
12146
|
+
*/
|
|
12147
|
+
name: string;
|
|
12148
|
+
} & ({
|
|
12149
|
+
/** @constant */
|
|
12150
|
+
kind: "pattern";
|
|
12151
|
+
/** @description The expression, in `regex` crate syntax. */
|
|
12152
|
+
pattern: string;
|
|
12153
|
+
} | {
|
|
12154
|
+
/** @constant */
|
|
12155
|
+
kind: "terms";
|
|
12156
|
+
/** @description The literals to scan for. */
|
|
12157
|
+
terms: string[];
|
|
12158
|
+
});
|
|
11383
12159
|
/**
|
|
11384
12160
|
* @description The coarseness a [`GeneralizeDate`] reduces a date/timestamp to.
|
|
11385
12161
|
*
|
|
@@ -12111,6 +12887,26 @@ interface components {
|
|
|
12111
12887
|
* as de-identified.
|
|
12112
12888
|
*/
|
|
12113
12889
|
HipaaDeidMethod: "safe_harbor" | "limited_data_set" | "expert_determination";
|
|
12890
|
+
/**
|
|
12891
|
+
* @description Path parameters for a provider-scoped identity operation: signing in with,
|
|
12892
|
+
* re-authenticating with, linking, or unlinking a provider. Named identically to
|
|
12893
|
+
* the stored [`IdentityProvider`], so the API and the account's identities name
|
|
12894
|
+
* each provider the same way.
|
|
12895
|
+
*/
|
|
12896
|
+
IdentityPathParams: {
|
|
12897
|
+
/** @description The identity provider to act on. */
|
|
12898
|
+
provider: components["schemas"]["IdentityProvider"];
|
|
12899
|
+
};
|
|
12900
|
+
/**
|
|
12901
|
+
* @description How an account authenticates.
|
|
12902
|
+
*
|
|
12903
|
+
* Corresponds to the `IDENTITY_PROVIDER` PostgreSQL enum. [`Password`] is a
|
|
12904
|
+
* locally-held Argon2 secret; the rest are external OIDC providers keyed by the
|
|
12905
|
+
* provider's subject claim.
|
|
12906
|
+
*
|
|
12907
|
+
* [`Password`]: Self::Password
|
|
12908
|
+
*/
|
|
12909
|
+
IdentityProvider: "password" | "google" | "microsoft";
|
|
12114
12910
|
/**
|
|
12115
12911
|
* @description A detection recognition missed.
|
|
12116
12912
|
*
|
|
@@ -12137,15 +12933,20 @@ interface components {
|
|
|
12137
12933
|
* `word/document.xml` text belongs to the document part
|
|
12138
12934
|
* itself, not to a nested one.
|
|
12139
12935
|
*
|
|
12140
|
-
*
|
|
12141
|
-
*
|
|
12142
|
-
*
|
|
12143
|
-
*
|
|
12144
|
-
* reverse-resolves.
|
|
12145
|
-
*
|
|
12936
|
+
* Text carries either coordinate kind of [`TextCoord`]: a
|
|
12937
|
+
* [`Decoded`] span for a caller with an offset into the
|
|
12938
|
+
* decoded stream, or a [`Source`] one for a caller holding
|
|
12939
|
+
* only raw file bytes — a reviewer selecting rendered text,
|
|
12940
|
+
* say — which the engine reverse-resolves. Source-only is its
|
|
12941
|
+
* own kind rather than a decoded span left empty, so such a
|
|
12942
|
+
* selection is representable as itself.
|
|
12943
|
+
*
|
|
12944
|
+
* The other three media have no such alternative: their
|
|
12945
|
+
* coordinates are the only way in.
|
|
12146
12946
|
*
|
|
12147
|
-
* [`
|
|
12148
|
-
* [`
|
|
12947
|
+
* [`TextCoord`]: elide::modality::text::TextCoord
|
|
12948
|
+
* [`Decoded`]: elide::modality::text::TextCoord::Decoded
|
|
12949
|
+
* [`Source`]: elide::modality::text::TextCoord::Source
|
|
12149
12950
|
*/
|
|
12150
12951
|
location: components["schemas"]["ImageLocation"];
|
|
12151
12952
|
/**
|
|
@@ -12157,9 +12958,9 @@ interface components {
|
|
|
12157
12958
|
*
|
|
12158
12959
|
* Nested media needs this: the report holds an embedded image
|
|
12159
12960
|
* as its own part, and an addition to one has nowhere to go
|
|
12160
|
-
* without naming it. Text usually does not —
|
|
12161
|
-
*
|
|
12162
|
-
*
|
|
12961
|
+
* without naming it. Text usually does not — a source
|
|
12962
|
+
* reference already names the part it came from, alongside the
|
|
12963
|
+
* raw range.
|
|
12163
12964
|
*
|
|
12164
12965
|
* `None` is an error when the request carried several
|
|
12165
12966
|
* documents, since there is then no sole document to mean.
|
|
@@ -13468,6 +14269,25 @@ interface components {
|
|
|
13468
14269
|
*/
|
|
13469
14270
|
refresh_token?: string;
|
|
13470
14271
|
};
|
|
14272
|
+
/** @description Optional query parameters for starting a sign-in, link, or reauth. */
|
|
14273
|
+
OidcStartQuery: {
|
|
14274
|
+
/**
|
|
14275
|
+
* @description A step-up re-authentication proof. Required to start a *link* (adding a
|
|
14276
|
+
* provider is a credential-adding action, so a live session alone is not
|
|
14277
|
+
* enough); ignored for sign-in and reauth.
|
|
14278
|
+
*/
|
|
14279
|
+
reauthProof?: string;
|
|
14280
|
+
/**
|
|
14281
|
+
* @description Frontend URL to return to once done. Carried through the flow and used to
|
|
14282
|
+
* build the callback's redirect.
|
|
14283
|
+
*/
|
|
14284
|
+
redirectUri?: string;
|
|
14285
|
+
};
|
|
14286
|
+
/** @description The response to a successful sign-in start: where to send the user. */
|
|
14287
|
+
OidcStartResponse: {
|
|
14288
|
+
/** @description The provider authorize URL the client should redirect the user to. */
|
|
14289
|
+
authorizeUrl: string;
|
|
14290
|
+
};
|
|
13471
14291
|
/**
|
|
13472
14292
|
* @description Identifies a redaction operator, for the redaction audit a higher
|
|
13473
14293
|
* layer assembles.
|
|
@@ -13484,20 +14304,6 @@ interface components {
|
|
|
13484
14304
|
/** @description Operator's version at the time it was applied. */
|
|
13485
14305
|
version: string;
|
|
13486
14306
|
};
|
|
13487
|
-
/**
|
|
13488
|
-
* @description A re-authenticated password change: the new password plus the current one
|
|
13489
|
-
* that authorizes it.
|
|
13490
|
-
*
|
|
13491
|
-
* Coupling the two in one struct makes the invariant explicit — a password
|
|
13492
|
-
* change always carries the current password, so a hijacked session or CSRF
|
|
13493
|
-
* cannot silently reset it (and lock out the real owner).
|
|
13494
|
-
*/
|
|
13495
|
-
PasswordChange: {
|
|
13496
|
-
/** @description The account's current password, verified before the change is applied. */
|
|
13497
|
-
currentPassword: string;
|
|
13498
|
-
/** @description The new password (will be hashed before storage). */
|
|
13499
|
-
newPassword: string;
|
|
13500
|
-
};
|
|
13501
14307
|
/** @description Metadata of a pattern/dictionary recognition, carried by [`Pattern`]. */
|
|
13502
14308
|
PatternEvent: {
|
|
13503
14309
|
/**
|
|
@@ -13567,6 +14373,24 @@ interface components {
|
|
|
13567
14373
|
/** @description The file's display name, as the picker reported it. */
|
|
13568
14374
|
name: string;
|
|
13569
14375
|
};
|
|
14376
|
+
/**
|
|
14377
|
+
* @description A short-lived provider OAuth access token for a browser file picker.
|
|
14378
|
+
*
|
|
14379
|
+
* Carries only the access token and its expiry — never the refresh token, which
|
|
14380
|
+
* stays server-side. The token is minted from the connection's stored
|
|
14381
|
+
* credentials and is short-lived (the provider's access-token lifetime), so the
|
|
14382
|
+
* browser holds a narrow, expiring credential rather than a durable one.
|
|
14383
|
+
*/
|
|
14384
|
+
PickerToken: {
|
|
14385
|
+
/** @description The provider OAuth access token to hand to the browser picker. */
|
|
14386
|
+
accessToken: string;
|
|
14387
|
+
/**
|
|
14388
|
+
* Format: int64
|
|
14389
|
+
* @description Unix seconds at which the access token expires, if the provider reports
|
|
14390
|
+
* it. `None` means the provider did not return an expiry.
|
|
14391
|
+
*/
|
|
14392
|
+
expiresAt?: number;
|
|
14393
|
+
};
|
|
13570
14394
|
/** @description Pipeline response. */
|
|
13571
14395
|
Pipeline: {
|
|
13572
14396
|
/**
|
|
@@ -13814,6 +14638,21 @@ interface components {
|
|
|
13814
14638
|
* customer-supplied so re-submissions carry the same id.
|
|
13815
14639
|
*/
|
|
13816
14640
|
id: string;
|
|
14641
|
+
/**
|
|
14642
|
+
* @description How to detect the labels [`custom`] introduces.
|
|
14643
|
+
*
|
|
14644
|
+
* A custom label declares vocabulary and nothing more, so
|
|
14645
|
+
* without a matcher it is scoped, targeted by rules, and never
|
|
14646
|
+
* found. Each matcher names a label this policy declares;
|
|
14647
|
+
* naming a shipped built-in is rejected, since elide already
|
|
14648
|
+
* detects those.
|
|
14649
|
+
*
|
|
14650
|
+
* Compiled per request, so a policy declaring none costs
|
|
14651
|
+
* nothing.
|
|
14652
|
+
*
|
|
14653
|
+
* [`custom`]: Self::custom
|
|
14654
|
+
*/
|
|
14655
|
+
matchers?: components["schemas"]["CustomMatcher"][];
|
|
13817
14656
|
/**
|
|
13818
14657
|
* @description Human-readable name. Display-only. Does not key anything.
|
|
13819
14658
|
*
|
|
@@ -13873,6 +14712,11 @@ interface components {
|
|
|
13873
14712
|
description?: string;
|
|
13874
14713
|
/** @description Per-policy catch-all, fired when no rule matched. */
|
|
13875
14714
|
fallback?: components["schemas"]["ModalityRedactions"];
|
|
14715
|
+
/**
|
|
14716
|
+
* @description How to detect the custom labels this policy introduces. A custom label
|
|
14717
|
+
* without a matcher is declared but never found.
|
|
14718
|
+
*/
|
|
14719
|
+
matchers?: components["schemas"]["CustomMatcher"][];
|
|
13876
14720
|
/** @description Human-readable name. Display-only. */
|
|
13877
14721
|
name: string;
|
|
13878
14722
|
/** @description Ordered rules. First match wins within this policy. */
|
|
@@ -14647,6 +15491,32 @@ interface components {
|
|
|
14647
15491
|
*/
|
|
14648
15492
|
parentId?: string;
|
|
14649
15493
|
};
|
|
15494
|
+
/**
|
|
15495
|
+
* @description A password set or change.
|
|
15496
|
+
*
|
|
15497
|
+
* When the account already has a password, `current_password` is required and
|
|
15498
|
+
* verified before the change is applied, so a hijacked session or CSRF cannot
|
|
15499
|
+
* silently reset it (and lock out the real owner). When the account has no
|
|
15500
|
+
* password yet (an SSO-only account setting its first one), there is nothing to
|
|
15501
|
+
* re-authenticate against, so a fresh step-up `reauth_proof` is required instead
|
|
15502
|
+
* — a live session alone must not mint a durable new credential.
|
|
15503
|
+
*/
|
|
15504
|
+
SetPassword: {
|
|
15505
|
+
/**
|
|
15506
|
+
* @description The account's current password. Required when the account already has a
|
|
15507
|
+
* password; omitted when setting a first password on an account that has
|
|
15508
|
+
* none (supply `reauth_proof` instead).
|
|
15509
|
+
*/
|
|
15510
|
+
currentPassword?: string;
|
|
15511
|
+
/** @description The new password (will be hashed before storage). */
|
|
15512
|
+
newPassword: string;
|
|
15513
|
+
/**
|
|
15514
|
+
* @description A step-up re-authentication proof (from the OIDC reauth endpoint).
|
|
15515
|
+
* Required when *setting a first password* on an account that has none;
|
|
15516
|
+
* ignored when changing an existing password.
|
|
15517
|
+
*/
|
|
15518
|
+
reauthProof?: string;
|
|
15519
|
+
};
|
|
14650
15520
|
/**
|
|
14651
15521
|
* @description Which SHA-2 variant a hashing operator uses.
|
|
14652
15522
|
*
|
|
@@ -14909,15 +15779,20 @@ interface components {
|
|
|
14909
15779
|
* `word/document.xml` text belongs to the document part
|
|
14910
15780
|
* itself, not to a nested one.
|
|
14911
15781
|
*
|
|
14912
|
-
*
|
|
14913
|
-
*
|
|
14914
|
-
*
|
|
14915
|
-
*
|
|
14916
|
-
* reverse-resolves.
|
|
14917
|
-
*
|
|
15782
|
+
* Text carries either coordinate kind of [`TextCoord`]: a
|
|
15783
|
+
* [`Decoded`] span for a caller with an offset into the
|
|
15784
|
+
* decoded stream, or a [`Source`] one for a caller holding
|
|
15785
|
+
* only raw file bytes — a reviewer selecting rendered text,
|
|
15786
|
+
* say — which the engine reverse-resolves. Source-only is its
|
|
15787
|
+
* own kind rather than a decoded span left empty, so such a
|
|
15788
|
+
* selection is representable as itself.
|
|
15789
|
+
*
|
|
15790
|
+
* The other three media have no such alternative: their
|
|
15791
|
+
* coordinates are the only way in.
|
|
14918
15792
|
*
|
|
14919
|
-
* [`
|
|
14920
|
-
* [`
|
|
15793
|
+
* [`TextCoord`]: elide::modality::text::TextCoord
|
|
15794
|
+
* [`Decoded`]: elide::modality::text::TextCoord::Decoded
|
|
15795
|
+
* [`Source`]: elide::modality::text::TextCoord::Source
|
|
14921
15796
|
*/
|
|
14922
15797
|
location: components["schemas"]["TabularLocation"];
|
|
14923
15798
|
/**
|
|
@@ -14929,9 +15804,9 @@ interface components {
|
|
|
14929
15804
|
*
|
|
14930
15805
|
* Nested media needs this: the report holds an embedded image
|
|
14931
15806
|
* as its own part, and an addition to one has nowhere to go
|
|
14932
|
-
* without naming it. Text usually does not —
|
|
14933
|
-
*
|
|
14934
|
-
*
|
|
15807
|
+
* without naming it. Text usually does not — a source
|
|
15808
|
+
* reference already names the part it came from, alongside the
|
|
15809
|
+
* raw range.
|
|
14935
15810
|
*
|
|
14936
15811
|
* `None` is an error when the request carried several
|
|
14937
15812
|
* documents, since there is then no sole document to mean.
|
|
@@ -15514,15 +16389,20 @@ interface components {
|
|
|
15514
16389
|
* `word/document.xml` text belongs to the document part
|
|
15515
16390
|
* itself, not to a nested one.
|
|
15516
16391
|
*
|
|
15517
|
-
*
|
|
15518
|
-
*
|
|
15519
|
-
*
|
|
15520
|
-
*
|
|
15521
|
-
* reverse-resolves.
|
|
15522
|
-
*
|
|
16392
|
+
* Text carries either coordinate kind of [`TextCoord`]: a
|
|
16393
|
+
* [`Decoded`] span for a caller with an offset into the
|
|
16394
|
+
* decoded stream, or a [`Source`] one for a caller holding
|
|
16395
|
+
* only raw file bytes — a reviewer selecting rendered text,
|
|
16396
|
+
* say — which the engine reverse-resolves. Source-only is its
|
|
16397
|
+
* own kind rather than a decoded span left empty, so such a
|
|
16398
|
+
* selection is representable as itself.
|
|
15523
16399
|
*
|
|
15524
|
-
*
|
|
15525
|
-
*
|
|
16400
|
+
* The other three media have no such alternative: their
|
|
16401
|
+
* coordinates are the only way in.
|
|
16402
|
+
*
|
|
16403
|
+
* [`TextCoord`]: elide::modality::text::TextCoord
|
|
16404
|
+
* [`Decoded`]: elide::modality::text::TextCoord::Decoded
|
|
16405
|
+
* [`Source`]: elide::modality::text::TextCoord::Source
|
|
15526
16406
|
*/
|
|
15527
16407
|
location: components["schemas"]["TextLocation"];
|
|
15528
16408
|
/**
|
|
@@ -15534,9 +16414,9 @@ interface components {
|
|
|
15534
16414
|
*
|
|
15535
16415
|
* Nested media needs this: the report holds an embedded image
|
|
15536
16416
|
* as its own part, and an addition to one has nowhere to go
|
|
15537
|
-
* without naming it. Text usually does not —
|
|
15538
|
-
*
|
|
15539
|
-
*
|
|
16417
|
+
* without naming it. Text usually does not — a source
|
|
16418
|
+
* reference already names the part it came from, alongside the
|
|
16419
|
+
* raw range.
|
|
15540
16420
|
*
|
|
15541
16421
|
* `None` is an error when the request carried several
|
|
15542
16422
|
* documents, since there is then no sole document to mean.
|
|
@@ -16335,7 +17215,13 @@ interface components {
|
|
|
16335
17215
|
*/
|
|
16336
17216
|
unreadCount: number;
|
|
16337
17217
|
};
|
|
16338
|
-
/**
|
|
17218
|
+
/**
|
|
17219
|
+
* @description Request payload to update an account's profile.
|
|
17220
|
+
*
|
|
17221
|
+
* Credentials are not profile fields — a password and any linked providers are
|
|
17222
|
+
* managed through the account's identities (see the identity endpoints), never
|
|
17223
|
+
* here.
|
|
17224
|
+
*/
|
|
16339
17225
|
UpdateAccount: {
|
|
16340
17226
|
/** @description New display name (2-32 characters). */
|
|
16341
17227
|
displayName?: string;
|
|
@@ -16344,8 +17230,6 @@ interface components {
|
|
|
16344
17230
|
* @description New email address (must be valid email format).
|
|
16345
17231
|
*/
|
|
16346
17232
|
emailAddress?: string;
|
|
16347
|
-
/** @description A re-authenticated password change, when changing the password. */
|
|
16348
|
-
password?: components["schemas"]["PasswordChange"];
|
|
16349
17233
|
/** @description New account handle. */
|
|
16350
17234
|
username?: components["schemas"]["Handle"];
|
|
16351
17235
|
};
|
|
@@ -16883,8 +17767,12 @@ type Handle = Schemas$23["Handle"];
|
|
|
16883
17767
|
type Account = Schemas$23["Account"];
|
|
16884
17768
|
type PublicAccount = Schemas$23["PublicAccount"];
|
|
16885
17769
|
type UpdateAccount = Schemas$23["UpdateAccount"];
|
|
16886
|
-
type PasswordChange = Schemas$23["PasswordChange"];
|
|
16887
17770
|
type AccountRef = Schemas$23["AccountRef"];
|
|
17771
|
+
type AccountIdentities = Schemas$23["AccountIdentities"];
|
|
17772
|
+
type AccountIdentity = Schemas$23["AccountIdentity"];
|
|
17773
|
+
type IdentityProvider = Schemas$23["IdentityProvider"];
|
|
17774
|
+
type SetPassword = Schemas$23["SetPassword"];
|
|
17775
|
+
type OidcStartResponse = Schemas$23["OidcStartResponse"];
|
|
16888
17776
|
//#endregion
|
|
16889
17777
|
//#region src/datatypes/activity.d.ts
|
|
16890
17778
|
type Schemas$22 = components["schemas"];
|
|
@@ -17081,6 +17969,7 @@ type ConnectionVerification = Schemas$14["ConnectionVerification"];
|
|
|
17081
17969
|
type ImportFiles = Schemas$14["ImportFiles"];
|
|
17082
17970
|
type PickedFile = Schemas$14["PickedFile"];
|
|
17083
17971
|
type ExportFiles = Schemas$14["ExportFiles"];
|
|
17972
|
+
type PickerToken = Schemas$14["PickerToken"];
|
|
17084
17973
|
type SyncMode = Schemas$14["SyncMode"];
|
|
17085
17974
|
type SyncStatus = Schemas$14["SyncStatus"];
|
|
17086
17975
|
type SyncTriggerType = Schemas$14["SyncTriggerType"];
|
|
@@ -17216,6 +18105,7 @@ type PolicyDraft = Schemas$3["PolicyDraft"];
|
|
|
17216
18105
|
type CreatePolicy = Schemas$3["CreatePolicy"];
|
|
17217
18106
|
type UpdatePolicy = Schemas$3["UpdatePolicy"];
|
|
17218
18107
|
type PolicyRule = Schemas$3["PolicyRule"];
|
|
18108
|
+
type CustomMatcher = Schemas$3["CustomMatcher"];
|
|
17219
18109
|
type PolicyTemplate = Schemas$3["PolicyTemplate"];
|
|
17220
18110
|
type TemplateOrigin = Schemas$3["TemplateOrigin"];
|
|
17221
18111
|
type HipaaDeidMethod = Schemas$3["HipaaDeidMethod"];
|
|
@@ -17282,5 +18172,5 @@ type Retention = Schemas["Retention"];
|
|
|
17282
18172
|
type RetentionSettings = Schemas["RetentionSettings"];
|
|
17283
18173
|
type RetentionOverride = Schemas["RetentionOverride"];
|
|
17284
18174
|
//#endregion
|
|
17285
|
-
export {
|
|
17286
|
-
//# sourceMappingURL=index-
|
|
18175
|
+
export { PolicyDraft as $, RedactionActivityParams as $a, TextEdit as $i, Provider as $n, DocumentContext as $r, ListInvites as $t, Color as A, ModelUsageEntry as Aa, Selection as Ai, RedactionResult as An, AudioAuditLog as Ar, NotificationEvent as At, ImageRedaction as B, Activity as Ba, TabularHint as Bi, ConnectionSyncPage as Bn, AudioRetag as Br, MemberPage as Bt, Language as C, TokenExpiration as Ca, Point as Ci, DetectionMetadata as Cn, AuthToken as Cr, ConnectionSyncFailedParams as Ct, ScopeMetadata as D, DetectionStatusEntry as Da, Redaction as Di, PipelineDetectionsQuery as Dn, AudioAdd as Dr, MemberInvitedParams as Dt, Languages as E, DetectionDayEntry as Ea, RasterMode as Ei, DetectionStatusEvent as En, Attribution as Er, MarkedReadStatus as Et, DateStyle as F, TokenCounts as Fa, TabularAuditEvent as Fi, Connection as Fn, AudioLocation as Fr, UnreadCountEvent as Ft, LabelScope as G, ActivityType as Ga, TabularRefinement as Gi, FileServiceConfig as Gn, Category as Gr, Invite as Gt, LabelEntry as H, ActivityFilterQuery as Ha, TabularManual as Hi, ConnectionsQuery as Hn, AuditHash as Hr, UpdateMember as Ht, GdprArticle9Treatment as I, Usage as Ia, TabularAuditKind as Ii, ConnectionConfig as In, AudioManual as Ir, UnreadStatus as It, ModalityRedactions as J, FileActivityParams as Ja, TextAuditEvent as Ji, LlmConfig as Jn, Conflict as Jr, InvitePage as Jt, LanguageTag as K, ConnectionActivityParams as Ka, TabularRetag as Ki, GcsCredentials as Kn, CitedAttribution as Kr, InviteCode as Kt, GdprSensitiveScope as L, UsageAnalytics as La, TabularAuditLog as Li, ConnectionId as Ln, AudioModel as Lr, UpdateNotificationSettings as Lt, CreatePolicy as M, RecognizerId as Ma, SourceSpan as Mi, WorkspaceDetectionsQuery as Mn, AudioEdit as Mr, NotificationPayload as Mt, CustomMatcher as N, StorageAnalytics as Na, Suppress as Ni, AuthenticatedProvider as Nn, AudioEntity as Nr, NotificationSettings as Nt, AudioRedaction as O, DetectionTimeSeries as Oa, Report as Oi, RedactDetection as On, AudioAuditEvent as Or, MemberJoinedParams as Ot, DateGranularity as P, StorageKindEntry as Pa, TabularAdd as Pi, AzureCredentials as Pn, AudioHint as Pr, RedactionCreatedParams as Pt, PolicyDefinition as Q, PolicyActivityParams as Qa, TextData as Qi, PickerToken as Qn, Dimensions as Qr, InviteStatus as Qt, HipaaAccountNumbers as R, UsageReport as Ra, TabularEdit as Ri, ConnectionPage as Rn, AudioPattern as Rr, ListMembers as Rt, CountryCode as S, CreateApiToken as Sa, PatternEvent as Si, DetectionId as Sn, RegisteredRecognizer as Sr, ConnectionSyncCompletedParams as St, LanguageSpan as T, DetectionAnalytics as Ta, RangeOfUint as Ti, DetectionStatus as Tn, Signup as Tr, DetectionFailedParams as Tt, LabelLocale as U, ActivityPage as Ua, TabularModel as Ui, CreateConnection as Un, BoundingBox as Ur, CreateInvite as Ut, Label as V, ActivityExportOptions as Va, TabularLocation as Vi, ConnectionVerification as Vn, Audit as Vr, MemberSortField as Vt, LabelRef as W, ActivityPayload as Wa, TabularPattern as Wi, ExportFiles as Wn, Calibration as Wr, GenerateInviteCode as Wt, PciPanRender as X, MemberActivityParams as Xa, TextAuditLog as Xi, OAuthTokens as Xn, DecodedSpan as Xr, InviteSent as Xt, PciDssPart as Y, InviteActivityParams as Ya, TextAuditKind as Yi, OAuthStartResponse as Yn, Contested as Yr, InvitePreview as Yt, Policy as Z, PipelineActivityParams as Za, TextCoord as Zi, PickedFile as Zn, Deduplication as Zr, InviteSortField as Zt, WebhookId as _, Transcription as _a, ImageRetag as _i, ExportQuery as _n, SendChatMessage as _r, PipelineSummary as _t, RetentionSettings as a, TextPattern as aa, ImageAuditEvent as ai, DeleteFiles as an, AccountRef as ao, SyncSchedule as ar, Sha2Algorithm as at, WebhookStatus as b, ApiTokenType as ba, ModelEvent as bi, CreateDetection as bn, LabelCatalog as br, UpdatePipeline as bt, WorkspacePage as c, TimeSpan as ca, ImageData as ci, FileHash as cn, OidcStartResponse as co, SyncTriggerType as cr, TerminalFallback as ct, CreateWebhook as d, LayoutBlock as da, ImageHint as di, FormatToken as dn, UpdateAccount as do, ChatMessage as dr, Waveform as dt, TextEntity as ea, Dpi as ei, ReplyInvite as en, WebhookActivityParams as eo, S3Credentials as er, PolicyRule as et, TestWebhook as f, LayoutWord as fa, ImageLocation as fi, ListFiles as fn, paths as fo, ChatRole as fr, CreatePipeline as ft, WebhookEvent as g, TranscriptWord as ga, ImageRefinement as gi, ExportFormat as gn, CreateChatSession as gr, PipelineStatus as gt, WebhookCreated as h, TranscriptSegment as ha, ImagePattern as hi, DateWindow as hn, ChatToken as hr, PipelineFilter as ht, RetentionOverride as i, TextModel as ia, ImageAdd as ii, HealthStatus as in, AccountIdentity as io, SyncMode as ir, Predicate as it, ConfidenceThreshold as j, ProviderType as ja, SourceRef as ji, RedactionResultPage as jn, AudioData as jr, NotificationPage as jt, ClampBucket as k, ModelUsage as ka, RuleMatch as ki, RedactionId as kn, AudioAuditKind as kr, Notification as kt, WorkspaceRole as l, ArtifactSet as la, ImageEdit as li, FileKind as ln, PublicAccount as lo, UnauthenticatedProvider as lr, TextRedaction as lt, Webhook as m, Tokens as ma, ImageModel as mi, UpdateFile as mn, ChatSessionPage as mr, PipelineDefinition as mt, RasterPolicy as n, TextLocation as na, EntityCoRef as ni, ComponentHealth as nn, Account as no, StorageConfig as nr, PolicySummaryPage as nt, UpdateWorkspace as o, TextRefinement as oa, ImageAuditKind as oi, DeletedFiles as on, Handle as oo, SyncScheduleInput as or, TabularRedaction as ot, UpdateWebhook as p, Token as pa, ImageManual as pi, ModalityToken as pn, ChatSession as pr, Pipeline as pt, LocalizedText as q, DetectionActivityParams as qa, TextAdd as qi, ImportFiles as qn, CodecParams as qr, InviteExpiration as qt, Retention as r, TextManual as ra, FreeformAttribution as ri, Health as rn, AccountIdentities as ro, SyncDeletionPolicy as rr, PolicyTemplate as rt, Workspace as s, TextRetag as sa, ImageAuditLog as si, File as sn, IdentityProvider as so, SyncStatus as sr, TemplateOrigin as st, CreateWorkspace as t, TextHint as ta, EditSet as ti, SortOrder as tn, WorkspaceActivityParams as to, StartFileServiceOAuth as tr, PolicySummary as tt, WorkspaceSettings as u, Layout as ua, ImageEntity as ui, FilePage as un, SetPassword as uo, UpdateConnection as ur, UpdatePolicy as ut, WebhookPage as v, ApiToken as va, LeakProfile as vi, ErrorResponse as vn, ConnectorCatalog as vr, PipelineSummaryPage as vt, LanguageProvenance as w, UpdateApiToken as wa, Polygon as wi, DetectionPage as wn, Login as wr, DetectionCompletedParams as wt, Confidence as x, ApiTokenWithJWT as xa, OperatorId as xi, Detection as xn, RecognizerCatalog as xr, CursorPagination as xt, WebhookResult as y, ApiTokenPage as ya, ManualIntent as yi, ValidationErrorDetail as yn, FileProviders as yr, PipelineTriggerType as yt, HipaaDeidMethod as z, WorkspaceAnalytics as za, TabularEntity as zi, ConnectionSync as zn, AudioRefinement as zr, Member as zt };
|
|
18176
|
+
//# sourceMappingURL=index-uEHkixjD.d.ts.map
|