@nvisy/sdk 0.44.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 +65 -0
- package/dist/{client-B-AXyhN8.d.ts → client-0oq7sASN.d.ts} +134 -5
- package/dist/client-0oq7sASN.d.ts.map +1 -0
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{error-CTCtJIAC.js → error-BeVSNpDg.js} +2 -2
- package/dist/{error-CTCtJIAC.js.map → error-BeVSNpDg.js.map} +1 -1
- package/dist/{errors-D2SP900g.d.ts → errors-BLX8SuEm.d.ts} +2 -2
- package/dist/{errors-D2SP900g.d.ts.map → errors-BLX8SuEm.d.ts.map} +1 -1
- package/dist/{index-Cv75Uuts.d.ts → index-uEHkixjD.d.ts} +1556 -392
- 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-DOXHe3iC.js → services-BZFiiCXu.js} +181 -11
- 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-B-AXyhN8.d.ts.map +0 -1
- package/dist/index-Cv75Uuts.d.ts.map +0 -1
- package/dist/services-DOXHe3iC.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,7 +474,7 @@ interface paths {
|
|
|
468
474
|
patch?: never;
|
|
469
475
|
trace?: never;
|
|
470
476
|
};
|
|
471
|
-
"/
|
|
477
|
+
"/account/identities/": {
|
|
472
478
|
parameters: {
|
|
473
479
|
query?: never;
|
|
474
480
|
header?: never;
|
|
@@ -476,45 +482,25 @@ interface paths {
|
|
|
476
482
|
cookie?: never;
|
|
477
483
|
};
|
|
478
484
|
/**
|
|
479
|
-
* List
|
|
480
|
-
* @description Returns
|
|
485
|
+
* List sign-in methods
|
|
486
|
+
* @description Returns the authenticated account's identities: its password and any linked providers.
|
|
481
487
|
*/
|
|
482
488
|
get: {
|
|
483
489
|
parameters: {
|
|
484
|
-
query?:
|
|
485
|
-
/**
|
|
486
|
-
* @description Cursor pointing to the last item of the previous page.
|
|
487
|
-
* Obtain this from the `nextCursor` field in the response.
|
|
488
|
-
*/
|
|
489
|
-
after?: string;
|
|
490
|
-
/**
|
|
491
|
-
* @description Whether to include the total item count in the response's `total` field.
|
|
492
|
-
* Defaults to `false`, since counting is an extra query; set it to `true`
|
|
493
|
-
* only when the count is actually needed.
|
|
494
|
-
*/
|
|
495
|
-
includeCount?: boolean;
|
|
496
|
-
/** @description The maximum number of records to return (1-100, default: 20). */
|
|
497
|
-
limit?: number;
|
|
498
|
-
};
|
|
490
|
+
query?: never;
|
|
499
491
|
header?: never;
|
|
500
492
|
path?: never;
|
|
501
493
|
cookie?: never;
|
|
502
494
|
};
|
|
503
495
|
requestBody?: never;
|
|
504
496
|
responses: {
|
|
505
|
-
/**
|
|
506
|
-
* @description Generic paginated response wrapper.
|
|
507
|
-
*
|
|
508
|
-
* Provides a consistent structure for all paginated API responses with
|
|
509
|
-
* cursor-based pagination support. When `next_cursor` is present, there
|
|
510
|
-
* are more items to fetch.
|
|
511
|
-
*/
|
|
497
|
+
/** @description The account's sign-in methods. */
|
|
512
498
|
200: {
|
|
513
499
|
headers: {
|
|
514
500
|
[name: string]: unknown;
|
|
515
501
|
};
|
|
516
502
|
content: {
|
|
517
|
-
"application/json": components["schemas"]["
|
|
503
|
+
"application/json": components["schemas"]["AccountIdentities"];
|
|
518
504
|
};
|
|
519
505
|
};
|
|
520
506
|
/**
|
|
@@ -535,11 +521,26 @@ interface paths {
|
|
|
535
521
|
};
|
|
536
522
|
};
|
|
537
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;
|
|
538
539
|
/**
|
|
539
|
-
*
|
|
540
|
-
* @description
|
|
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.
|
|
541
542
|
*/
|
|
542
|
-
|
|
543
|
+
put: {
|
|
543
544
|
parameters: {
|
|
544
545
|
query?: never;
|
|
545
546
|
header?: never;
|
|
@@ -547,25 +548,27 @@ interface paths {
|
|
|
547
548
|
cookie?: never;
|
|
548
549
|
};
|
|
549
550
|
/**
|
|
550
|
-
* @description
|
|
551
|
+
* @description A password set or change.
|
|
551
552
|
*
|
|
552
|
-
*
|
|
553
|
-
*
|
|
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.
|
|
554
559
|
*/
|
|
555
560
|
requestBody: {
|
|
556
561
|
content: {
|
|
557
|
-
"application/json": components["schemas"]["
|
|
562
|
+
"application/json": components["schemas"]["SetPassword"];
|
|
558
563
|
};
|
|
559
564
|
};
|
|
560
565
|
responses: {
|
|
561
|
-
/** @description
|
|
562
|
-
|
|
566
|
+
/** @description Password set. */
|
|
567
|
+
204: {
|
|
563
568
|
headers: {
|
|
564
569
|
[name: string]: unknown;
|
|
565
570
|
};
|
|
566
|
-
content
|
|
567
|
-
"application/json": components["schemas"]["Workspace"];
|
|
568
|
-
};
|
|
571
|
+
content?: never;
|
|
569
572
|
};
|
|
570
573
|
/**
|
|
571
574
|
* @description HTTP error response representation with security-conscious design.
|
|
@@ -617,43 +620,26 @@ interface paths {
|
|
|
617
620
|
};
|
|
618
621
|
};
|
|
619
622
|
};
|
|
620
|
-
|
|
621
|
-
options?: never;
|
|
622
|
-
head?: never;
|
|
623
|
-
patch?: never;
|
|
624
|
-
trace?: never;
|
|
625
|
-
};
|
|
626
|
-
"/workspaces/{workspaceSlug}/": {
|
|
627
|
-
parameters: {
|
|
628
|
-
query?: never;
|
|
629
|
-
header?: never;
|
|
630
|
-
path?: never;
|
|
631
|
-
cookie?: never;
|
|
632
|
-
};
|
|
623
|
+
post?: never;
|
|
633
624
|
/**
|
|
634
|
-
*
|
|
635
|
-
* @description
|
|
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.
|
|
636
627
|
*/
|
|
637
|
-
|
|
628
|
+
delete: {
|
|
638
629
|
parameters: {
|
|
639
630
|
query?: never;
|
|
640
631
|
header?: never;
|
|
641
|
-
path
|
|
642
|
-
/** @description URL-safe workspace identifier. */
|
|
643
|
-
workspaceSlug: string;
|
|
644
|
-
};
|
|
632
|
+
path?: never;
|
|
645
633
|
cookie?: never;
|
|
646
634
|
};
|
|
647
635
|
requestBody?: never;
|
|
648
636
|
responses: {
|
|
649
|
-
/** @description
|
|
650
|
-
|
|
637
|
+
/** @description Password removed. */
|
|
638
|
+
204: {
|
|
651
639
|
headers: {
|
|
652
640
|
[name: string]: unknown;
|
|
653
641
|
};
|
|
654
|
-
content
|
|
655
|
-
"application/json": components["schemas"]["Workspace"];
|
|
656
|
-
};
|
|
642
|
+
content?: never;
|
|
657
643
|
};
|
|
658
644
|
/**
|
|
659
645
|
* @description HTTP error response representation with security-conscious design.
|
|
@@ -677,7 +663,7 @@ interface paths {
|
|
|
677
663
|
* response, including the error name, message, HTTP status code, resource
|
|
678
664
|
* information, and user-friendly messages.
|
|
679
665
|
*/
|
|
680
|
-
|
|
666
|
+
404: {
|
|
681
667
|
headers: {
|
|
682
668
|
[name: string]: unknown;
|
|
683
669
|
};
|
|
@@ -692,7 +678,7 @@ interface paths {
|
|
|
692
678
|
* response, including the error name, message, HTTP status code, resource
|
|
693
679
|
* information, and user-friendly messages.
|
|
694
680
|
*/
|
|
695
|
-
|
|
681
|
+
409: {
|
|
696
682
|
headers: {
|
|
697
683
|
[name: string]: unknown;
|
|
698
684
|
};
|
|
@@ -702,30 +688,56 @@ interface paths {
|
|
|
702
688
|
};
|
|
703
689
|
};
|
|
704
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;
|
|
705
704
|
put?: never;
|
|
706
|
-
post?: never;
|
|
707
705
|
/**
|
|
708
|
-
*
|
|
709
|
-
* @description
|
|
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.
|
|
710
708
|
*/
|
|
711
|
-
|
|
709
|
+
post: {
|
|
712
710
|
parameters: {
|
|
713
|
-
query?:
|
|
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
|
+
};
|
|
714
724
|
header?: never;
|
|
715
725
|
path: {
|
|
716
|
-
/** @description
|
|
717
|
-
|
|
726
|
+
/** @description The identity provider to act on. */
|
|
727
|
+
provider: components["schemas"]["IdentityProvider"];
|
|
718
728
|
};
|
|
719
729
|
cookie?: never;
|
|
720
730
|
};
|
|
721
731
|
requestBody?: never;
|
|
722
732
|
responses: {
|
|
723
|
-
/** @description
|
|
733
|
+
/** @description The response to a successful sign-in start: where to send the user. */
|
|
724
734
|
200: {
|
|
725
735
|
headers: {
|
|
726
736
|
[name: string]: unknown;
|
|
727
737
|
};
|
|
728
|
-
content
|
|
738
|
+
content: {
|
|
739
|
+
"application/json": components["schemas"]["OidcStartResponse"];
|
|
740
|
+
};
|
|
729
741
|
};
|
|
730
742
|
/**
|
|
731
743
|
* @description HTTP error response representation with security-conscious design.
|
|
@@ -749,7 +761,7 @@ interface paths {
|
|
|
749
761
|
* response, including the error name, message, HTTP status code, resource
|
|
750
762
|
* information, and user-friendly messages.
|
|
751
763
|
*/
|
|
752
|
-
|
|
764
|
+
404: {
|
|
753
765
|
headers: {
|
|
754
766
|
[name: string]: unknown;
|
|
755
767
|
};
|
|
@@ -764,7 +776,7 @@ interface paths {
|
|
|
764
776
|
* response, including the error name, message, HTTP status code, resource
|
|
765
777
|
* information, and user-friendly messages.
|
|
766
778
|
*/
|
|
767
|
-
|
|
779
|
+
503: {
|
|
768
780
|
headers: {
|
|
769
781
|
[name: string]: unknown;
|
|
770
782
|
};
|
|
@@ -774,42 +786,28 @@ interface paths {
|
|
|
774
786
|
};
|
|
775
787
|
};
|
|
776
788
|
};
|
|
777
|
-
options?: never;
|
|
778
|
-
head?: never;
|
|
779
789
|
/**
|
|
780
|
-
*
|
|
781
|
-
* @description
|
|
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.
|
|
782
792
|
*/
|
|
783
|
-
|
|
793
|
+
delete: {
|
|
784
794
|
parameters: {
|
|
785
795
|
query?: never;
|
|
786
796
|
header?: never;
|
|
787
797
|
path: {
|
|
788
|
-
/** @description
|
|
789
|
-
|
|
798
|
+
/** @description The identity provider to act on. */
|
|
799
|
+
provider: components["schemas"]["IdentityProvider"];
|
|
790
800
|
};
|
|
791
801
|
cookie?: never;
|
|
792
802
|
};
|
|
793
|
-
|
|
794
|
-
* @description Request payload to update an existing workspace.
|
|
795
|
-
*
|
|
796
|
-
* All fields are optional; only provided fields will be updated. The slug is
|
|
797
|
-
* immutable and set at creation, so it cannot be changed here.
|
|
798
|
-
*/
|
|
799
|
-
requestBody: {
|
|
800
|
-
content: {
|
|
801
|
-
"application/json": components["schemas"]["UpdateWorkspace"];
|
|
802
|
-
};
|
|
803
|
-
};
|
|
803
|
+
requestBody?: never;
|
|
804
804
|
responses: {
|
|
805
|
-
/** @description
|
|
806
|
-
|
|
805
|
+
/** @description Provider unlinked. */
|
|
806
|
+
204: {
|
|
807
807
|
headers: {
|
|
808
808
|
[name: string]: unknown;
|
|
809
809
|
};
|
|
810
|
-
content
|
|
811
|
-
"application/json": components["schemas"]["Workspace"];
|
|
812
|
-
};
|
|
810
|
+
content?: never;
|
|
813
811
|
};
|
|
814
812
|
/**
|
|
815
813
|
* @description HTTP error response representation with security-conscious design.
|
|
@@ -848,7 +846,7 @@ interface paths {
|
|
|
848
846
|
* response, including the error name, message, HTTP status code, resource
|
|
849
847
|
* information, and user-friendly messages.
|
|
850
848
|
*/
|
|
851
|
-
|
|
849
|
+
404: {
|
|
852
850
|
headers: {
|
|
853
851
|
[name: string]: unknown;
|
|
854
852
|
};
|
|
@@ -856,77 +854,75 @@ interface paths {
|
|
|
856
854
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
857
855
|
};
|
|
858
856
|
};
|
|
859
|
-
/**
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
};
|
|
868
|
-
/** @description Failed to deserialize the JSON body into the target type */
|
|
869
|
-
422: {
|
|
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: {
|
|
870
865
|
headers: {
|
|
871
866
|
[name: string]: unknown;
|
|
872
867
|
};
|
|
873
868
|
content: {
|
|
874
|
-
"
|
|
869
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
875
870
|
};
|
|
876
871
|
};
|
|
877
872
|
};
|
|
878
873
|
};
|
|
874
|
+
options?: never;
|
|
875
|
+
head?: never;
|
|
876
|
+
patch?: never;
|
|
879
877
|
trace?: never;
|
|
880
878
|
};
|
|
881
|
-
"/workspaces/
|
|
879
|
+
"/workspaces/": {
|
|
882
880
|
parameters: {
|
|
883
881
|
query?: never;
|
|
884
882
|
header?: never;
|
|
885
883
|
path?: never;
|
|
886
884
|
cookie?: never;
|
|
887
885
|
};
|
|
888
|
-
get?: never;
|
|
889
886
|
/**
|
|
890
|
-
*
|
|
891
|
-
* @description
|
|
887
|
+
* List workspaces
|
|
888
|
+
* @description Returns all workspaces the authenticated user is a member of.
|
|
892
889
|
*/
|
|
893
|
-
|
|
890
|
+
get: {
|
|
894
891
|
parameters: {
|
|
895
|
-
query?:
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
892
|
+
query?: {
|
|
893
|
+
/**
|
|
894
|
+
* @description Cursor pointing to the last item of the previous page.
|
|
895
|
+
* Obtain this from the `nextCursor` field in the response.
|
|
896
|
+
*/
|
|
897
|
+
after?: string;
|
|
898
|
+
/**
|
|
899
|
+
* @description Whether to include the total item count in the response's `total` field.
|
|
900
|
+
* Defaults to `false`, since counting is an extra query; set it to `true`
|
|
901
|
+
* only when the count is actually needed.
|
|
902
|
+
*/
|
|
903
|
+
includeCount?: boolean;
|
|
904
|
+
/** @description The maximum number of records to return (1-100, default: 20). */
|
|
905
|
+
limit?: number;
|
|
900
906
|
};
|
|
907
|
+
header?: never;
|
|
908
|
+
path?: never;
|
|
901
909
|
cookie?: never;
|
|
902
910
|
};
|
|
903
|
-
|
|
904
|
-
requestBody: {
|
|
905
|
-
content: {
|
|
906
|
-
"multipart/form-data": unknown[];
|
|
907
|
-
};
|
|
908
|
-
};
|
|
911
|
+
requestBody?: never;
|
|
909
912
|
responses: {
|
|
910
|
-
/** @description no content */
|
|
911
|
-
200: {
|
|
912
|
-
headers: {
|
|
913
|
-
[name: string]: unknown;
|
|
914
|
-
};
|
|
915
|
-
content?: never;
|
|
916
|
-
};
|
|
917
913
|
/**
|
|
918
|
-
* @description
|
|
914
|
+
* @description Generic paginated response wrapper.
|
|
919
915
|
*
|
|
920
|
-
*
|
|
921
|
-
*
|
|
922
|
-
*
|
|
916
|
+
* Provides a consistent structure for all paginated API responses with
|
|
917
|
+
* cursor-based pagination support. When `next_cursor` is present, there
|
|
918
|
+
* are more items to fetch.
|
|
923
919
|
*/
|
|
924
|
-
|
|
920
|
+
200: {
|
|
925
921
|
headers: {
|
|
926
922
|
[name: string]: unknown;
|
|
927
923
|
};
|
|
928
924
|
content: {
|
|
929
|
-
"application/json": components["schemas"]["
|
|
925
|
+
"application/json": components["schemas"]["WorkspacePage"];
|
|
930
926
|
};
|
|
931
927
|
};
|
|
932
928
|
/**
|
|
@@ -944,26 +940,438 @@ interface paths {
|
|
|
944
940
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
945
941
|
};
|
|
946
942
|
};
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
943
|
+
};
|
|
944
|
+
};
|
|
945
|
+
put?: never;
|
|
946
|
+
/**
|
|
947
|
+
* Create workspace
|
|
948
|
+
* @description Creates a new workspace. The creator is automatically added as an owner.
|
|
949
|
+
*/
|
|
950
|
+
post: {
|
|
951
|
+
parameters: {
|
|
952
|
+
query?: never;
|
|
953
|
+
header?: never;
|
|
954
|
+
path?: never;
|
|
955
|
+
cookie?: never;
|
|
956
|
+
};
|
|
957
|
+
/**
|
|
958
|
+
* @description Request payload for creating a new workspace.
|
|
959
|
+
*
|
|
960
|
+
* Creates a new workspace with the specified configuration. The creator is
|
|
961
|
+
* automatically added as an owner of the workspace.
|
|
962
|
+
*/
|
|
963
|
+
requestBody: {
|
|
964
|
+
content: {
|
|
965
|
+
"application/json": components["schemas"]["CreateWorkspace"];
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
responses: {
|
|
969
|
+
/** @description Workspace response. */
|
|
970
|
+
201: {
|
|
971
|
+
headers: {
|
|
972
|
+
[name: string]: unknown;
|
|
973
|
+
};
|
|
974
|
+
content: {
|
|
975
|
+
"application/json": components["schemas"]["Workspace"];
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
/**
|
|
979
|
+
* @description HTTP error response representation with security-conscious design.
|
|
980
|
+
*
|
|
981
|
+
* This struct contains all the information needed to serialize an error
|
|
982
|
+
* response, including the error name, message, HTTP status code, resource
|
|
983
|
+
* information, and user-friendly messages.
|
|
984
|
+
*/
|
|
985
|
+
400: {
|
|
986
|
+
headers: {
|
|
987
|
+
[name: string]: unknown;
|
|
988
|
+
};
|
|
989
|
+
content: {
|
|
990
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
991
|
+
};
|
|
992
|
+
};
|
|
993
|
+
/**
|
|
994
|
+
* @description HTTP error response representation with security-conscious design.
|
|
995
|
+
*
|
|
996
|
+
* This struct contains all the information needed to serialize an error
|
|
997
|
+
* response, including the error name, message, HTTP status code, resource
|
|
998
|
+
* information, and user-friendly messages.
|
|
999
|
+
*/
|
|
1000
|
+
401: {
|
|
1001
|
+
headers: {
|
|
1002
|
+
[name: string]: unknown;
|
|
1003
|
+
};
|
|
1004
|
+
content: {
|
|
1005
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
/** @description Expected request with `Content-Type: application/json` */
|
|
1009
|
+
415: {
|
|
1010
|
+
headers: {
|
|
1011
|
+
[name: string]: unknown;
|
|
1012
|
+
};
|
|
1013
|
+
content: {
|
|
1014
|
+
"text/plain": string;
|
|
1015
|
+
};
|
|
1016
|
+
};
|
|
1017
|
+
/** @description Failed to deserialize the JSON body into the target type */
|
|
1018
|
+
422: {
|
|
1019
|
+
headers: {
|
|
1020
|
+
[name: string]: unknown;
|
|
1021
|
+
};
|
|
1022
|
+
content: {
|
|
1023
|
+
"text/plain": string;
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
delete?: never;
|
|
1029
|
+
options?: never;
|
|
1030
|
+
head?: never;
|
|
1031
|
+
patch?: never;
|
|
1032
|
+
trace?: never;
|
|
1033
|
+
};
|
|
1034
|
+
"/workspaces/{workspaceSlug}/": {
|
|
1035
|
+
parameters: {
|
|
1036
|
+
query?: never;
|
|
1037
|
+
header?: never;
|
|
1038
|
+
path?: never;
|
|
1039
|
+
cookie?: never;
|
|
1040
|
+
};
|
|
1041
|
+
/**
|
|
1042
|
+
* Get workspace
|
|
1043
|
+
* @description Returns details for a specific workspace.
|
|
1044
|
+
*/
|
|
1045
|
+
get: {
|
|
1046
|
+
parameters: {
|
|
1047
|
+
query?: never;
|
|
1048
|
+
header?: never;
|
|
1049
|
+
path: {
|
|
1050
|
+
/** @description URL-safe workspace identifier. */
|
|
1051
|
+
workspaceSlug: string;
|
|
1052
|
+
};
|
|
1053
|
+
cookie?: never;
|
|
1054
|
+
};
|
|
1055
|
+
requestBody?: never;
|
|
1056
|
+
responses: {
|
|
1057
|
+
/** @description Workspace response. */
|
|
1058
|
+
200: {
|
|
1059
|
+
headers: {
|
|
1060
|
+
[name: string]: unknown;
|
|
1061
|
+
};
|
|
1062
|
+
content: {
|
|
1063
|
+
"application/json": components["schemas"]["Workspace"];
|
|
1064
|
+
};
|
|
1065
|
+
};
|
|
1066
|
+
/**
|
|
1067
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1068
|
+
*
|
|
1069
|
+
* This struct contains all the information needed to serialize an error
|
|
1070
|
+
* response, including the error name, message, HTTP status code, resource
|
|
1071
|
+
* information, and user-friendly messages.
|
|
1072
|
+
*/
|
|
1073
|
+
401: {
|
|
1074
|
+
headers: {
|
|
1075
|
+
[name: string]: unknown;
|
|
1076
|
+
};
|
|
1077
|
+
content: {
|
|
1078
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1079
|
+
};
|
|
1080
|
+
};
|
|
1081
|
+
/**
|
|
1082
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1083
|
+
*
|
|
1084
|
+
* This struct contains all the information needed to serialize an error
|
|
1085
|
+
* response, including the error name, message, HTTP status code, resource
|
|
1086
|
+
* information, and user-friendly messages.
|
|
1087
|
+
*/
|
|
1088
|
+
403: {
|
|
1089
|
+
headers: {
|
|
1090
|
+
[name: string]: unknown;
|
|
1091
|
+
};
|
|
1092
|
+
content: {
|
|
1093
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
1096
|
+
/**
|
|
1097
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1098
|
+
*
|
|
1099
|
+
* This struct contains all the information needed to serialize an error
|
|
1100
|
+
* response, including the error name, message, HTTP status code, resource
|
|
1101
|
+
* information, and user-friendly messages.
|
|
1102
|
+
*/
|
|
1103
|
+
404: {
|
|
1104
|
+
headers: {
|
|
1105
|
+
[name: string]: unknown;
|
|
1106
|
+
};
|
|
1107
|
+
content: {
|
|
1108
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1109
|
+
};
|
|
1110
|
+
};
|
|
1111
|
+
};
|
|
1112
|
+
};
|
|
1113
|
+
put?: never;
|
|
1114
|
+
post?: never;
|
|
1115
|
+
/**
|
|
1116
|
+
* Delete workspace
|
|
1117
|
+
* @description Soft-deletes a workspace. Data is retained for potential recovery.
|
|
1118
|
+
*/
|
|
1119
|
+
delete: {
|
|
1120
|
+
parameters: {
|
|
1121
|
+
query?: never;
|
|
1122
|
+
header?: never;
|
|
1123
|
+
path: {
|
|
1124
|
+
/** @description URL-safe workspace identifier. */
|
|
1125
|
+
workspaceSlug: string;
|
|
1126
|
+
};
|
|
1127
|
+
cookie?: never;
|
|
1128
|
+
};
|
|
1129
|
+
requestBody?: never;
|
|
1130
|
+
responses: {
|
|
1131
|
+
/** @description no content */
|
|
1132
|
+
200: {
|
|
1133
|
+
headers: {
|
|
1134
|
+
[name: string]: unknown;
|
|
1135
|
+
};
|
|
1136
|
+
content?: never;
|
|
1137
|
+
};
|
|
1138
|
+
/**
|
|
1139
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1140
|
+
*
|
|
1141
|
+
* This struct contains all the information needed to serialize an error
|
|
1142
|
+
* response, including the error name, message, HTTP status code, resource
|
|
1143
|
+
* information, and user-friendly messages.
|
|
1144
|
+
*/
|
|
1145
|
+
401: {
|
|
1146
|
+
headers: {
|
|
1147
|
+
[name: string]: unknown;
|
|
1148
|
+
};
|
|
1149
|
+
content: {
|
|
1150
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1151
|
+
};
|
|
1152
|
+
};
|
|
1153
|
+
/**
|
|
1154
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1155
|
+
*
|
|
1156
|
+
* This struct contains all the information needed to serialize an error
|
|
1157
|
+
* response, including the error name, message, HTTP status code, resource
|
|
1158
|
+
* information, and user-friendly messages.
|
|
1159
|
+
*/
|
|
1160
|
+
403: {
|
|
1161
|
+
headers: {
|
|
1162
|
+
[name: string]: unknown;
|
|
1163
|
+
};
|
|
1164
|
+
content: {
|
|
1165
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1168
|
+
/**
|
|
1169
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1170
|
+
*
|
|
1171
|
+
* This struct contains all the information needed to serialize an error
|
|
1172
|
+
* response, including the error name, message, HTTP status code, resource
|
|
1173
|
+
* information, and user-friendly messages.
|
|
1174
|
+
*/
|
|
1175
|
+
404: {
|
|
1176
|
+
headers: {
|
|
1177
|
+
[name: string]: unknown;
|
|
1178
|
+
};
|
|
1179
|
+
content: {
|
|
1180
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1181
|
+
};
|
|
1182
|
+
};
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
options?: never;
|
|
1186
|
+
head?: never;
|
|
1187
|
+
/**
|
|
1188
|
+
* Update workspace
|
|
1189
|
+
* @description Updates an existing workspace's configuration. Only provided fields are updated.
|
|
1190
|
+
*/
|
|
1191
|
+
patch: {
|
|
1192
|
+
parameters: {
|
|
1193
|
+
query?: never;
|
|
1194
|
+
header?: never;
|
|
1195
|
+
path: {
|
|
1196
|
+
/** @description URL-safe workspace identifier. */
|
|
1197
|
+
workspaceSlug: string;
|
|
1198
|
+
};
|
|
1199
|
+
cookie?: never;
|
|
1200
|
+
};
|
|
1201
|
+
/**
|
|
1202
|
+
* @description Request payload to update an existing workspace.
|
|
1203
|
+
*
|
|
1204
|
+
* All fields are optional; only provided fields will be updated. The slug is
|
|
1205
|
+
* immutable and set at creation, so it cannot be changed here.
|
|
1206
|
+
*/
|
|
1207
|
+
requestBody: {
|
|
1208
|
+
content: {
|
|
1209
|
+
"application/json": components["schemas"]["UpdateWorkspace"];
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
responses: {
|
|
1213
|
+
/** @description Workspace response. */
|
|
1214
|
+
200: {
|
|
1215
|
+
headers: {
|
|
1216
|
+
[name: string]: unknown;
|
|
1217
|
+
};
|
|
1218
|
+
content: {
|
|
1219
|
+
"application/json": components["schemas"]["Workspace"];
|
|
1220
|
+
};
|
|
1221
|
+
};
|
|
1222
|
+
/**
|
|
1223
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1224
|
+
*
|
|
1225
|
+
* This struct contains all the information needed to serialize an error
|
|
1226
|
+
* response, including the error name, message, HTTP status code, resource
|
|
1227
|
+
* information, and user-friendly messages.
|
|
1228
|
+
*/
|
|
1229
|
+
400: {
|
|
1230
|
+
headers: {
|
|
1231
|
+
[name: string]: unknown;
|
|
1232
|
+
};
|
|
1233
|
+
content: {
|
|
1234
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
/**
|
|
1238
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1239
|
+
*
|
|
1240
|
+
* This struct contains all the information needed to serialize an error
|
|
1241
|
+
* response, including the error name, message, HTTP status code, resource
|
|
1242
|
+
* information, and user-friendly messages.
|
|
1243
|
+
*/
|
|
1244
|
+
401: {
|
|
1245
|
+
headers: {
|
|
1246
|
+
[name: string]: unknown;
|
|
1247
|
+
};
|
|
1248
|
+
content: {
|
|
1249
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1250
|
+
};
|
|
1251
|
+
};
|
|
1252
|
+
/**
|
|
1253
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1254
|
+
*
|
|
1255
|
+
* This struct contains all the information needed to serialize an error
|
|
1256
|
+
* response, including the error name, message, HTTP status code, resource
|
|
1257
|
+
* information, and user-friendly messages.
|
|
1258
|
+
*/
|
|
1259
|
+
403: {
|
|
1260
|
+
headers: {
|
|
1261
|
+
[name: string]: unknown;
|
|
1262
|
+
};
|
|
1263
|
+
content: {
|
|
1264
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1265
|
+
};
|
|
1266
|
+
};
|
|
1267
|
+
/** @description Expected request with `Content-Type: application/json` */
|
|
1268
|
+
415: {
|
|
1269
|
+
headers: {
|
|
1270
|
+
[name: string]: unknown;
|
|
1271
|
+
};
|
|
1272
|
+
content: {
|
|
1273
|
+
"text/plain": string;
|
|
1274
|
+
};
|
|
1275
|
+
};
|
|
1276
|
+
/** @description Failed to deserialize the JSON body into the target type */
|
|
1277
|
+
422: {
|
|
1278
|
+
headers: {
|
|
1279
|
+
[name: string]: unknown;
|
|
1280
|
+
};
|
|
1281
|
+
content: {
|
|
1282
|
+
"text/plain": string;
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
};
|
|
1287
|
+
trace?: never;
|
|
1288
|
+
};
|
|
1289
|
+
"/workspaces/{workspaceSlug}/avatar/": {
|
|
1290
|
+
parameters: {
|
|
1291
|
+
query?: never;
|
|
1292
|
+
header?: never;
|
|
1293
|
+
path?: never;
|
|
1294
|
+
cookie?: never;
|
|
1295
|
+
};
|
|
1296
|
+
get?: never;
|
|
1297
|
+
/**
|
|
1298
|
+
* Upload workspace avatar
|
|
1299
|
+
* @description Uploads and normalizes the workspace's avatar. Requires UpdateWorkspace.
|
|
1300
|
+
*/
|
|
1301
|
+
put: {
|
|
1302
|
+
parameters: {
|
|
1303
|
+
query?: never;
|
|
1304
|
+
header?: never;
|
|
1305
|
+
path: {
|
|
1306
|
+
/** @description URL-safe workspace identifier. */
|
|
1307
|
+
workspaceSlug: string;
|
|
1308
|
+
};
|
|
1309
|
+
cookie?: never;
|
|
1310
|
+
};
|
|
1311
|
+
/** @description multipart form data */
|
|
1312
|
+
requestBody: {
|
|
1313
|
+
content: {
|
|
1314
|
+
"multipart/form-data": unknown[];
|
|
1315
|
+
};
|
|
1316
|
+
};
|
|
1317
|
+
responses: {
|
|
1318
|
+
/** @description no content */
|
|
1319
|
+
200: {
|
|
1320
|
+
headers: {
|
|
1321
|
+
[name: string]: unknown;
|
|
1322
|
+
};
|
|
1323
|
+
content?: never;
|
|
1324
|
+
};
|
|
1325
|
+
/**
|
|
1326
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1327
|
+
*
|
|
1328
|
+
* This struct contains all the information needed to serialize an error
|
|
1329
|
+
* response, including the error name, message, HTTP status code, resource
|
|
1330
|
+
* information, and user-friendly messages.
|
|
1331
|
+
*/
|
|
1332
|
+
400: {
|
|
1333
|
+
headers: {
|
|
1334
|
+
[name: string]: unknown;
|
|
1335
|
+
};
|
|
1336
|
+
content: {
|
|
1337
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1338
|
+
};
|
|
1339
|
+
};
|
|
1340
|
+
/**
|
|
1341
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1342
|
+
*
|
|
1343
|
+
* This struct contains all the information needed to serialize an error
|
|
1344
|
+
* response, including the error name, message, HTTP status code, resource
|
|
1345
|
+
* information, and user-friendly messages.
|
|
1346
|
+
*/
|
|
1347
|
+
401: {
|
|
1348
|
+
headers: {
|
|
1349
|
+
[name: string]: unknown;
|
|
1350
|
+
};
|
|
1351
|
+
content: {
|
|
1352
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1353
|
+
};
|
|
1354
|
+
};
|
|
1355
|
+
/**
|
|
1356
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1357
|
+
*
|
|
1358
|
+
* This struct contains all the information needed to serialize an error
|
|
1359
|
+
* response, including the error name, message, HTTP status code, resource
|
|
1360
|
+
* information, and user-friendly messages.
|
|
1361
|
+
*/
|
|
1362
|
+
403: {
|
|
1363
|
+
headers: {
|
|
1364
|
+
[name: string]: unknown;
|
|
1365
|
+
};
|
|
1366
|
+
content: {
|
|
1367
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1368
|
+
};
|
|
1369
|
+
};
|
|
1370
|
+
/**
|
|
1371
|
+
* @description HTTP error response representation with security-conscious design.
|
|
1372
|
+
*
|
|
1373
|
+
* This struct contains all the information needed to serialize an error
|
|
1374
|
+
* response, including the error name, message, HTTP status code, resource
|
|
967
1375
|
* information, and user-friendly messages.
|
|
968
1376
|
*/
|
|
969
1377
|
404: {
|
|
@@ -2638,13 +3046,124 @@ interface paths {
|
|
|
2638
3046
|
};
|
|
2639
3047
|
requestBody?: never;
|
|
2640
3048
|
responses: {
|
|
2641
|
-
/** @description Result of a connection reachability check. */
|
|
3049
|
+
/** @description Result of a connection reachability check. */
|
|
3050
|
+
200: {
|
|
3051
|
+
headers: {
|
|
3052
|
+
[name: string]: unknown;
|
|
3053
|
+
};
|
|
3054
|
+
content: {
|
|
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
|
+
*/
|
|
2642
3146
|
200: {
|
|
2643
3147
|
headers: {
|
|
2644
3148
|
[name: string]: unknown;
|
|
2645
3149
|
};
|
|
2646
3150
|
content: {
|
|
2647
|
-
"application/json": components["schemas"]["
|
|
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
|
/**
|
|
@@ -3217,7 +3736,244 @@ interface paths {
|
|
|
3217
3736
|
* response, including the error name, message, HTTP status code, resource
|
|
3218
3737
|
* information, and user-friendly messages.
|
|
3219
3738
|
*/
|
|
3220
|
-
403: {
|
|
3739
|
+
403: {
|
|
3740
|
+
headers: {
|
|
3741
|
+
[name: string]: unknown;
|
|
3742
|
+
};
|
|
3743
|
+
content: {
|
|
3744
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3745
|
+
};
|
|
3746
|
+
};
|
|
3747
|
+
/**
|
|
3748
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3749
|
+
*
|
|
3750
|
+
* This struct contains all the information needed to serialize an error
|
|
3751
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3752
|
+
* information, and user-friendly messages.
|
|
3753
|
+
*/
|
|
3754
|
+
404: {
|
|
3755
|
+
headers: {
|
|
3756
|
+
[name: string]: unknown;
|
|
3757
|
+
};
|
|
3758
|
+
content: {
|
|
3759
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3760
|
+
};
|
|
3761
|
+
};
|
|
3762
|
+
/**
|
|
3763
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3764
|
+
*
|
|
3765
|
+
* This struct contains all the information needed to serialize an error
|
|
3766
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3767
|
+
* information, and user-friendly messages.
|
|
3768
|
+
*/
|
|
3769
|
+
409: {
|
|
3770
|
+
headers: {
|
|
3771
|
+
[name: string]: unknown;
|
|
3772
|
+
};
|
|
3773
|
+
content: {
|
|
3774
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3775
|
+
};
|
|
3776
|
+
};
|
|
3777
|
+
/** @description Expected request with `Content-Type: application/json` */
|
|
3778
|
+
415: {
|
|
3779
|
+
headers: {
|
|
3780
|
+
[name: string]: unknown;
|
|
3781
|
+
};
|
|
3782
|
+
content: {
|
|
3783
|
+
"text/plain": string;
|
|
3784
|
+
};
|
|
3785
|
+
};
|
|
3786
|
+
/** @description Failed to deserialize the JSON body into the target type */
|
|
3787
|
+
422: {
|
|
3788
|
+
headers: {
|
|
3789
|
+
[name: string]: unknown;
|
|
3790
|
+
};
|
|
3791
|
+
content: {
|
|
3792
|
+
"text/plain": string;
|
|
3793
|
+
};
|
|
3794
|
+
};
|
|
3795
|
+
};
|
|
3796
|
+
};
|
|
3797
|
+
delete?: never;
|
|
3798
|
+
options?: never;
|
|
3799
|
+
head?: never;
|
|
3800
|
+
patch?: never;
|
|
3801
|
+
trace?: never;
|
|
3802
|
+
};
|
|
3803
|
+
"/workspaces/{workspaceSlug}/syncs/": {
|
|
3804
|
+
parameters: {
|
|
3805
|
+
query?: never;
|
|
3806
|
+
header?: never;
|
|
3807
|
+
path?: never;
|
|
3808
|
+
cookie?: never;
|
|
3809
|
+
};
|
|
3810
|
+
/**
|
|
3811
|
+
* List workspace syncs
|
|
3812
|
+
* @description Returns all sync runs across the workspace's connections, most recent first, with optional status and provider filters.
|
|
3813
|
+
*/
|
|
3814
|
+
get: {
|
|
3815
|
+
parameters: {
|
|
3816
|
+
query?: {
|
|
3817
|
+
/**
|
|
3818
|
+
* @description Cursor pointing to the last item of the previous page.
|
|
3819
|
+
* Obtain this from the `nextCursor` field in the response.
|
|
3820
|
+
*/
|
|
3821
|
+
after?: string;
|
|
3822
|
+
/**
|
|
3823
|
+
* @description Whether to include the total item count in the response's `total` field.
|
|
3824
|
+
* Defaults to `false`, since counting is an extra query; set it to `true`
|
|
3825
|
+
* only when the count is actually needed.
|
|
3826
|
+
*/
|
|
3827
|
+
includeCount?: boolean;
|
|
3828
|
+
/** @description The maximum number of records to return (1-100, default: 20). */
|
|
3829
|
+
limit?: number;
|
|
3830
|
+
/**
|
|
3831
|
+
* @description Filter by connection provider (`s3`, `azure`, `gcs`). Repeatable; a sync
|
|
3832
|
+
* matches if its connection uses any of the given providers. Empty means no
|
|
3833
|
+
* provider filter.
|
|
3834
|
+
*/
|
|
3835
|
+
provider?: string[];
|
|
3836
|
+
/** @description Filter by sync status. */
|
|
3837
|
+
status?: components["schemas"]["SyncStatus"];
|
|
3838
|
+
};
|
|
3839
|
+
header?: never;
|
|
3840
|
+
path: {
|
|
3841
|
+
/** @description URL-safe workspace identifier. */
|
|
3842
|
+
workspaceSlug: string;
|
|
3843
|
+
};
|
|
3844
|
+
cookie?: never;
|
|
3845
|
+
};
|
|
3846
|
+
requestBody?: never;
|
|
3847
|
+
responses: {
|
|
3848
|
+
/**
|
|
3849
|
+
* @description Generic paginated response wrapper.
|
|
3850
|
+
*
|
|
3851
|
+
* Provides a consistent structure for all paginated API responses with
|
|
3852
|
+
* cursor-based pagination support. When `next_cursor` is present, there
|
|
3853
|
+
* are more items to fetch.
|
|
3854
|
+
*/
|
|
3855
|
+
200: {
|
|
3856
|
+
headers: {
|
|
3857
|
+
[name: string]: unknown;
|
|
3858
|
+
};
|
|
3859
|
+
content: {
|
|
3860
|
+
"application/json": components["schemas"]["ConnectionSyncPage"];
|
|
3861
|
+
};
|
|
3862
|
+
};
|
|
3863
|
+
/**
|
|
3864
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3865
|
+
*
|
|
3866
|
+
* This struct contains all the information needed to serialize an error
|
|
3867
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3868
|
+
* information, and user-friendly messages.
|
|
3869
|
+
*/
|
|
3870
|
+
401: {
|
|
3871
|
+
headers: {
|
|
3872
|
+
[name: string]: unknown;
|
|
3873
|
+
};
|
|
3874
|
+
content: {
|
|
3875
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3876
|
+
};
|
|
3877
|
+
};
|
|
3878
|
+
/**
|
|
3879
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3880
|
+
*
|
|
3881
|
+
* This struct contains all the information needed to serialize an error
|
|
3882
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3883
|
+
* information, and user-friendly messages.
|
|
3884
|
+
*/
|
|
3885
|
+
403: {
|
|
3886
|
+
headers: {
|
|
3887
|
+
[name: string]: unknown;
|
|
3888
|
+
};
|
|
3889
|
+
content: {
|
|
3890
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3891
|
+
};
|
|
3892
|
+
};
|
|
3893
|
+
/**
|
|
3894
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3895
|
+
*
|
|
3896
|
+
* This struct contains all the information needed to serialize an error
|
|
3897
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3898
|
+
* information, and user-friendly messages.
|
|
3899
|
+
*/
|
|
3900
|
+
404: {
|
|
3901
|
+
headers: {
|
|
3902
|
+
[name: string]: unknown;
|
|
3903
|
+
};
|
|
3904
|
+
content: {
|
|
3905
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3906
|
+
};
|
|
3907
|
+
};
|
|
3908
|
+
};
|
|
3909
|
+
};
|
|
3910
|
+
put?: never;
|
|
3911
|
+
post?: never;
|
|
3912
|
+
delete?: never;
|
|
3913
|
+
options?: never;
|
|
3914
|
+
head?: never;
|
|
3915
|
+
patch?: never;
|
|
3916
|
+
trace?: never;
|
|
3917
|
+
};
|
|
3918
|
+
"/workspaces/{workspaceSlug}/connections/{connectionId}/sync/": {
|
|
3919
|
+
parameters: {
|
|
3920
|
+
query?: never;
|
|
3921
|
+
header?: never;
|
|
3922
|
+
path?: never;
|
|
3923
|
+
cookie?: never;
|
|
3924
|
+
};
|
|
3925
|
+
get?: never;
|
|
3926
|
+
put?: never;
|
|
3927
|
+
/**
|
|
3928
|
+
* Sync connection
|
|
3929
|
+
* @description Runs the object-store connection's configured direction: imports every new object, or exports every redacted output not yet exported. File services use the picker import and per-file export instead. Returns the created sync; poll it for completion.
|
|
3930
|
+
*/
|
|
3931
|
+
post: {
|
|
3932
|
+
parameters: {
|
|
3933
|
+
query?: never;
|
|
3934
|
+
header?: never;
|
|
3935
|
+
path: {
|
|
3936
|
+
/** @description URL-safe workspace identifier. */
|
|
3937
|
+
workspaceSlug: string;
|
|
3938
|
+
/** @description Opaque identifier of the connection. */
|
|
3939
|
+
connectionId: components["schemas"]["ConnectionId"];
|
|
3940
|
+
};
|
|
3941
|
+
cookie?: never;
|
|
3942
|
+
};
|
|
3943
|
+
requestBody?: never;
|
|
3944
|
+
responses: {
|
|
3945
|
+
/** @description A connection sync (import or export). */
|
|
3946
|
+
202: {
|
|
3947
|
+
headers: {
|
|
3948
|
+
[name: string]: unknown;
|
|
3949
|
+
};
|
|
3950
|
+
content: {
|
|
3951
|
+
"application/json": components["schemas"]["ConnectionSync"];
|
|
3952
|
+
};
|
|
3953
|
+
};
|
|
3954
|
+
/**
|
|
3955
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3956
|
+
*
|
|
3957
|
+
* This struct contains all the information needed to serialize an error
|
|
3958
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3959
|
+
* information, and user-friendly messages.
|
|
3960
|
+
*/
|
|
3961
|
+
400: {
|
|
3962
|
+
headers: {
|
|
3963
|
+
[name: string]: unknown;
|
|
3964
|
+
};
|
|
3965
|
+
content: {
|
|
3966
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3967
|
+
};
|
|
3968
|
+
};
|
|
3969
|
+
/**
|
|
3970
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3971
|
+
*
|
|
3972
|
+
* This struct contains all the information needed to serialize an error
|
|
3973
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3974
|
+
* information, and user-friendly messages.
|
|
3975
|
+
*/
|
|
3976
|
+
401: {
|
|
3221
3977
|
headers: {
|
|
3222
3978
|
[name: string]: unknown;
|
|
3223
3979
|
};
|
|
@@ -3232,7 +3988,7 @@ interface paths {
|
|
|
3232
3988
|
* response, including the error name, message, HTTP status code, resource
|
|
3233
3989
|
* information, and user-friendly messages.
|
|
3234
3990
|
*/
|
|
3235
|
-
|
|
3991
|
+
403: {
|
|
3236
3992
|
headers: {
|
|
3237
3993
|
[name: string]: unknown;
|
|
3238
3994
|
};
|
|
@@ -3247,7 +4003,7 @@ interface paths {
|
|
|
3247
4003
|
* response, including the error name, message, HTTP status code, resource
|
|
3248
4004
|
* information, and user-friendly messages.
|
|
3249
4005
|
*/
|
|
3250
|
-
|
|
4006
|
+
404: {
|
|
3251
4007
|
headers: {
|
|
3252
4008
|
[name: string]: unknown;
|
|
3253
4009
|
};
|
|
@@ -3255,24 +4011,6 @@ interface paths {
|
|
|
3255
4011
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
3256
4012
|
};
|
|
3257
4013
|
};
|
|
3258
|
-
/** @description Expected request with `Content-Type: application/json` */
|
|
3259
|
-
415: {
|
|
3260
|
-
headers: {
|
|
3261
|
-
[name: string]: unknown;
|
|
3262
|
-
};
|
|
3263
|
-
content: {
|
|
3264
|
-
"text/plain": string;
|
|
3265
|
-
};
|
|
3266
|
-
};
|
|
3267
|
-
/** @description Failed to deserialize the JSON body into the target type */
|
|
3268
|
-
422: {
|
|
3269
|
-
headers: {
|
|
3270
|
-
[name: string]: unknown;
|
|
3271
|
-
};
|
|
3272
|
-
content: {
|
|
3273
|
-
"text/plain": string;
|
|
3274
|
-
};
|
|
3275
|
-
};
|
|
3276
4014
|
};
|
|
3277
4015
|
};
|
|
3278
4016
|
delete?: never;
|
|
@@ -3281,64 +4019,63 @@ interface paths {
|
|
|
3281
4019
|
patch?: never;
|
|
3282
4020
|
trace?: never;
|
|
3283
4021
|
};
|
|
3284
|
-
"/workspaces/{workspaceSlug}/
|
|
4022
|
+
"/workspaces/{workspaceSlug}/connections/{connectionId}/import/": {
|
|
3285
4023
|
parameters: {
|
|
3286
4024
|
query?: never;
|
|
3287
4025
|
header?: never;
|
|
3288
4026
|
path?: never;
|
|
3289
4027
|
cookie?: never;
|
|
3290
4028
|
};
|
|
4029
|
+
get?: never;
|
|
4030
|
+
put?: never;
|
|
3291
4031
|
/**
|
|
3292
|
-
*
|
|
3293
|
-
* @description
|
|
4032
|
+
* Import selected files
|
|
4033
|
+
* @description Imports the files selected in the provider's picker (file services only). Already-imported files are skipped. Returns the created sync; poll it for completion.
|
|
3294
4034
|
*/
|
|
3295
|
-
|
|
4035
|
+
post: {
|
|
3296
4036
|
parameters: {
|
|
3297
|
-
query?:
|
|
3298
|
-
/**
|
|
3299
|
-
* @description Cursor pointing to the last item of the previous page.
|
|
3300
|
-
* Obtain this from the `nextCursor` field in the response.
|
|
3301
|
-
*/
|
|
3302
|
-
after?: string;
|
|
3303
|
-
/**
|
|
3304
|
-
* @description Whether to include the total item count in the response's `total` field.
|
|
3305
|
-
* Defaults to `false`, since counting is an extra query; set it to `true`
|
|
3306
|
-
* only when the count is actually needed.
|
|
3307
|
-
*/
|
|
3308
|
-
includeCount?: boolean;
|
|
3309
|
-
/** @description The maximum number of records to return (1-100, default: 20). */
|
|
3310
|
-
limit?: number;
|
|
3311
|
-
/**
|
|
3312
|
-
* @description Filter by connection provider (`s3`, `azure`, `gcs`). Repeatable; a sync
|
|
3313
|
-
* matches if its connection uses any of the given providers. Empty means no
|
|
3314
|
-
* provider filter.
|
|
3315
|
-
*/
|
|
3316
|
-
provider?: string[];
|
|
3317
|
-
/** @description Filter by sync status. */
|
|
3318
|
-
status?: components["schemas"]["SyncStatus"];
|
|
3319
|
-
};
|
|
4037
|
+
query?: never;
|
|
3320
4038
|
header?: never;
|
|
3321
4039
|
path: {
|
|
3322
4040
|
/** @description URL-safe workspace identifier. */
|
|
3323
4041
|
workspaceSlug: string;
|
|
4042
|
+
/** @description Opaque identifier of the connection. */
|
|
4043
|
+
connectionId: components["schemas"]["ConnectionId"];
|
|
3324
4044
|
};
|
|
3325
4045
|
cookie?: never;
|
|
3326
4046
|
};
|
|
3327
|
-
|
|
4047
|
+
/**
|
|
4048
|
+
* @description Request payload to import a caller-selected set of files from a file-service
|
|
4049
|
+
* connection (the provider picker returns id + name per file).
|
|
4050
|
+
*/
|
|
4051
|
+
requestBody: {
|
|
4052
|
+
content: {
|
|
4053
|
+
"application/json": components["schemas"]["ImportFiles"];
|
|
4054
|
+
};
|
|
4055
|
+
};
|
|
3328
4056
|
responses: {
|
|
4057
|
+
/** @description A connection sync (import or export). */
|
|
4058
|
+
202: {
|
|
4059
|
+
headers: {
|
|
4060
|
+
[name: string]: unknown;
|
|
4061
|
+
};
|
|
4062
|
+
content: {
|
|
4063
|
+
"application/json": components["schemas"]["ConnectionSync"];
|
|
4064
|
+
};
|
|
4065
|
+
};
|
|
3329
4066
|
/**
|
|
3330
|
-
* @description
|
|
4067
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3331
4068
|
*
|
|
3332
|
-
*
|
|
3333
|
-
*
|
|
3334
|
-
*
|
|
4069
|
+
* This struct contains all the information needed to serialize an error
|
|
4070
|
+
* response, including the error name, message, HTTP status code, resource
|
|
4071
|
+
* information, and user-friendly messages.
|
|
3335
4072
|
*/
|
|
3336
|
-
|
|
4073
|
+
400: {
|
|
3337
4074
|
headers: {
|
|
3338
4075
|
[name: string]: unknown;
|
|
3339
4076
|
};
|
|
3340
4077
|
content: {
|
|
3341
|
-
"application/json": components["schemas"]["
|
|
4078
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3342
4079
|
};
|
|
3343
4080
|
};
|
|
3344
4081
|
/**
|
|
@@ -3386,17 +4123,48 @@ interface paths {
|
|
|
3386
4123
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
3387
4124
|
};
|
|
3388
4125
|
};
|
|
4126
|
+
/**
|
|
4127
|
+
* @description HTTP error response representation with security-conscious design.
|
|
4128
|
+
*
|
|
4129
|
+
* This struct contains all the information needed to serialize an error
|
|
4130
|
+
* response, including the error name, message, HTTP status code, resource
|
|
4131
|
+
* information, and user-friendly messages.
|
|
4132
|
+
*/
|
|
4133
|
+
409: {
|
|
4134
|
+
headers: {
|
|
4135
|
+
[name: string]: unknown;
|
|
4136
|
+
};
|
|
4137
|
+
content: {
|
|
4138
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
4139
|
+
};
|
|
4140
|
+
};
|
|
4141
|
+
/** @description Expected request with `Content-Type: application/json` */
|
|
4142
|
+
415: {
|
|
4143
|
+
headers: {
|
|
4144
|
+
[name: string]: unknown;
|
|
4145
|
+
};
|
|
4146
|
+
content: {
|
|
4147
|
+
"text/plain": string;
|
|
4148
|
+
};
|
|
4149
|
+
};
|
|
4150
|
+
/** @description Failed to deserialize the JSON body into the target type */
|
|
4151
|
+
422: {
|
|
4152
|
+
headers: {
|
|
4153
|
+
[name: string]: unknown;
|
|
4154
|
+
};
|
|
4155
|
+
content: {
|
|
4156
|
+
"text/plain": string;
|
|
4157
|
+
};
|
|
4158
|
+
};
|
|
3389
4159
|
};
|
|
3390
4160
|
};
|
|
3391
|
-
put?: never;
|
|
3392
|
-
post?: never;
|
|
3393
4161
|
delete?: never;
|
|
3394
4162
|
options?: never;
|
|
3395
4163
|
head?: never;
|
|
3396
4164
|
patch?: never;
|
|
3397
4165
|
trace?: never;
|
|
3398
4166
|
};
|
|
3399
|
-
"/workspaces/{workspaceSlug}/connections/{connectionId}/
|
|
4167
|
+
"/workspaces/{workspaceSlug}/connections/{connectionId}/export/": {
|
|
3400
4168
|
parameters: {
|
|
3401
4169
|
query?: never;
|
|
3402
4170
|
header?: never;
|
|
@@ -3406,8 +4174,8 @@ interface paths {
|
|
|
3406
4174
|
get?: never;
|
|
3407
4175
|
put?: never;
|
|
3408
4176
|
/**
|
|
3409
|
-
*
|
|
3410
|
-
* @description
|
|
4177
|
+
* Export files to connection
|
|
4178
|
+
* @description Exports the selected workspace files to the connection, each as a new provider file. Returns the created sync; poll it for completion.
|
|
3411
4179
|
*/
|
|
3412
4180
|
post: {
|
|
3413
4181
|
parameters: {
|
|
@@ -3422,17 +4190,13 @@ interface paths {
|
|
|
3422
4190
|
cookie?: never;
|
|
3423
4191
|
};
|
|
3424
4192
|
/**
|
|
3425
|
-
* @description Request payload to
|
|
3426
|
-
*
|
|
3427
|
-
*
|
|
3428
|
-
* - Import connections need no body: the sync fetches every not-yet-imported
|
|
3429
|
-
* object under the connection's root path.
|
|
3430
|
-
* - Export connections push one workspace file (`file_id`) to one object
|
|
3431
|
-
* `key`; both are required for export and ignored for import.
|
|
4193
|
+
* @description Request payload to export a caller-selected set of workspace files to a
|
|
4194
|
+
* connection. Each is written as a new provider file, never overwriting a
|
|
4195
|
+
* source. Mirrors [`ImportFiles`] on the export side.
|
|
3432
4196
|
*/
|
|
3433
4197
|
requestBody: {
|
|
3434
4198
|
content: {
|
|
3435
|
-
"application/json": components["schemas"]["
|
|
4199
|
+
"application/json": components["schemas"]["ExportFiles"];
|
|
3436
4200
|
};
|
|
3437
4201
|
};
|
|
3438
4202
|
responses: {
|
|
@@ -3505,6 +4269,21 @@ interface paths {
|
|
|
3505
4269
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
3506
4270
|
};
|
|
3507
4271
|
};
|
|
4272
|
+
/**
|
|
4273
|
+
* @description HTTP error response representation with security-conscious design.
|
|
4274
|
+
*
|
|
4275
|
+
* This struct contains all the information needed to serialize an error
|
|
4276
|
+
* response, including the error name, message, HTTP status code, resource
|
|
4277
|
+
* information, and user-friendly messages.
|
|
4278
|
+
*/
|
|
4279
|
+
409: {
|
|
4280
|
+
headers: {
|
|
4281
|
+
[name: string]: unknown;
|
|
4282
|
+
};
|
|
4283
|
+
content: {
|
|
4284
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
4285
|
+
};
|
|
4286
|
+
};
|
|
3508
4287
|
/** @description Expected request with `Content-Type: application/json` */
|
|
3509
4288
|
415: {
|
|
3510
4289
|
headers: {
|
|
@@ -8854,36 +9633,151 @@ interface paths {
|
|
|
8854
9633
|
query?: never;
|
|
8855
9634
|
header?: never;
|
|
8856
9635
|
path: {
|
|
8857
|
-
/** @description URL-safe workspace identifier. */
|
|
8858
|
-
workspaceSlug: string;
|
|
8859
|
-
/** @description Opaque identifier of the webhook. */
|
|
8860
|
-
webhookId: components["schemas"]["WebhookId"];
|
|
9636
|
+
/** @description URL-safe workspace identifier. */
|
|
9637
|
+
workspaceSlug: string;
|
|
9638
|
+
/** @description Opaque identifier of the webhook. */
|
|
9639
|
+
webhookId: components["schemas"]["WebhookId"];
|
|
9640
|
+
};
|
|
9641
|
+
cookie?: never;
|
|
9642
|
+
};
|
|
9643
|
+
/** @description Request payload for testing a webhook. */
|
|
9644
|
+
requestBody: {
|
|
9645
|
+
content: {
|
|
9646
|
+
"application/json": components["schemas"]["TestWebhook"];
|
|
9647
|
+
};
|
|
9648
|
+
};
|
|
9649
|
+
responses: {
|
|
9650
|
+
/** @description Result of a webhook delivery attempt. */
|
|
9651
|
+
200: {
|
|
9652
|
+
headers: {
|
|
9653
|
+
[name: string]: unknown;
|
|
9654
|
+
};
|
|
9655
|
+
content: {
|
|
9656
|
+
"application/json": components["schemas"]["WebhookResult"];
|
|
9657
|
+
};
|
|
9658
|
+
};
|
|
9659
|
+
/** @description Failed to parse the request body as JSON */
|
|
9660
|
+
400: {
|
|
9661
|
+
headers: {
|
|
9662
|
+
[name: string]: unknown;
|
|
9663
|
+
};
|
|
9664
|
+
content: {
|
|
9665
|
+
"text/plain": string;
|
|
9666
|
+
};
|
|
9667
|
+
};
|
|
9668
|
+
/**
|
|
9669
|
+
* @description HTTP error response representation with security-conscious design.
|
|
9670
|
+
*
|
|
9671
|
+
* This struct contains all the information needed to serialize an error
|
|
9672
|
+
* response, including the error name, message, HTTP status code, resource
|
|
9673
|
+
* information, and user-friendly messages.
|
|
9674
|
+
*/
|
|
9675
|
+
401: {
|
|
9676
|
+
headers: {
|
|
9677
|
+
[name: string]: unknown;
|
|
9678
|
+
};
|
|
9679
|
+
content: {
|
|
9680
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9681
|
+
};
|
|
9682
|
+
};
|
|
9683
|
+
/**
|
|
9684
|
+
* @description HTTP error response representation with security-conscious design.
|
|
9685
|
+
*
|
|
9686
|
+
* This struct contains all the information needed to serialize an error
|
|
9687
|
+
* response, including the error name, message, HTTP status code, resource
|
|
9688
|
+
* information, and user-friendly messages.
|
|
9689
|
+
*/
|
|
9690
|
+
403: {
|
|
9691
|
+
headers: {
|
|
9692
|
+
[name: string]: unknown;
|
|
9693
|
+
};
|
|
9694
|
+
content: {
|
|
9695
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9696
|
+
};
|
|
9697
|
+
};
|
|
9698
|
+
/**
|
|
9699
|
+
* @description HTTP error response representation with security-conscious design.
|
|
9700
|
+
*
|
|
9701
|
+
* This struct contains all the information needed to serialize an error
|
|
9702
|
+
* response, including the error name, message, HTTP status code, resource
|
|
9703
|
+
* information, and user-friendly messages.
|
|
9704
|
+
*/
|
|
9705
|
+
404: {
|
|
9706
|
+
headers: {
|
|
9707
|
+
[name: string]: unknown;
|
|
9708
|
+
};
|
|
9709
|
+
content: {
|
|
9710
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9711
|
+
};
|
|
9712
|
+
};
|
|
9713
|
+
/** @description Expected request with `Content-Type: application/json` */
|
|
9714
|
+
415: {
|
|
9715
|
+
headers: {
|
|
9716
|
+
[name: string]: unknown;
|
|
9717
|
+
};
|
|
9718
|
+
content: {
|
|
9719
|
+
"text/plain": string;
|
|
9720
|
+
};
|
|
9721
|
+
};
|
|
9722
|
+
/** @description Failed to deserialize the JSON body into the target type */
|
|
9723
|
+
422: {
|
|
9724
|
+
headers: {
|
|
9725
|
+
[name: string]: unknown;
|
|
9726
|
+
};
|
|
9727
|
+
content: {
|
|
9728
|
+
"text/plain": string;
|
|
9729
|
+
};
|
|
9730
|
+
};
|
|
9731
|
+
};
|
|
9732
|
+
};
|
|
9733
|
+
delete?: never;
|
|
9734
|
+
options?: never;
|
|
9735
|
+
head?: never;
|
|
9736
|
+
patch?: never;
|
|
9737
|
+
trace?: never;
|
|
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"];
|
|
8861
9769
|
};
|
|
8862
9770
|
cookie?: never;
|
|
8863
9771
|
};
|
|
8864
|
-
|
|
8865
|
-
requestBody: {
|
|
8866
|
-
content: {
|
|
8867
|
-
"application/json": components["schemas"]["TestWebhook"];
|
|
8868
|
-
};
|
|
8869
|
-
};
|
|
9772
|
+
requestBody?: never;
|
|
8870
9773
|
responses: {
|
|
8871
|
-
/** @description
|
|
9774
|
+
/** @description The response to a successful sign-in start: where to send the user. */
|
|
8872
9775
|
200: {
|
|
8873
9776
|
headers: {
|
|
8874
9777
|
[name: string]: unknown;
|
|
8875
9778
|
};
|
|
8876
9779
|
content: {
|
|
8877
|
-
"application/json": components["schemas"]["
|
|
8878
|
-
};
|
|
8879
|
-
};
|
|
8880
|
-
/** @description Failed to parse the request body as JSON */
|
|
8881
|
-
400: {
|
|
8882
|
-
headers: {
|
|
8883
|
-
[name: string]: unknown;
|
|
8884
|
-
};
|
|
8885
|
-
content: {
|
|
8886
|
-
"text/plain": string;
|
|
9780
|
+
"application/json": components["schemas"]["OidcStartResponse"];
|
|
8887
9781
|
};
|
|
8888
9782
|
};
|
|
8889
9783
|
/**
|
|
@@ -8908,7 +9802,7 @@ interface paths {
|
|
|
8908
9802
|
* response, including the error name, message, HTTP status code, resource
|
|
8909
9803
|
* information, and user-friendly messages.
|
|
8910
9804
|
*/
|
|
8911
|
-
|
|
9805
|
+
404: {
|
|
8912
9806
|
headers: {
|
|
8913
9807
|
[name: string]: unknown;
|
|
8914
9808
|
};
|
|
@@ -8923,7 +9817,7 @@ interface paths {
|
|
|
8923
9817
|
* response, including the error name, message, HTTP status code, resource
|
|
8924
9818
|
* information, and user-friendly messages.
|
|
8925
9819
|
*/
|
|
8926
|
-
|
|
9820
|
+
503: {
|
|
8927
9821
|
headers: {
|
|
8928
9822
|
[name: string]: unknown;
|
|
8929
9823
|
};
|
|
@@ -8931,26 +9825,10 @@ interface paths {
|
|
|
8931
9825
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
8932
9826
|
};
|
|
8933
9827
|
};
|
|
8934
|
-
/** @description Expected request with `Content-Type: application/json` */
|
|
8935
|
-
415: {
|
|
8936
|
-
headers: {
|
|
8937
|
-
[name: string]: unknown;
|
|
8938
|
-
};
|
|
8939
|
-
content: {
|
|
8940
|
-
"text/plain": string;
|
|
8941
|
-
};
|
|
8942
|
-
};
|
|
8943
|
-
/** @description Failed to deserialize the JSON body into the target type */
|
|
8944
|
-
422: {
|
|
8945
|
-
headers: {
|
|
8946
|
-
[name: string]: unknown;
|
|
8947
|
-
};
|
|
8948
|
-
content: {
|
|
8949
|
-
"text/plain": string;
|
|
8950
|
-
};
|
|
8951
|
-
};
|
|
8952
9828
|
};
|
|
8953
9829
|
};
|
|
9830
|
+
put?: never;
|
|
9831
|
+
post?: never;
|
|
8954
9832
|
delete?: never;
|
|
8955
9833
|
options?: never;
|
|
8956
9834
|
head?: never;
|
|
@@ -9193,6 +10071,90 @@ interface paths {
|
|
|
9193
10071
|
patch?: never;
|
|
9194
10072
|
trace?: never;
|
|
9195
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
|
+
};
|
|
9196
10158
|
"/health/": {
|
|
9197
10159
|
parameters: {
|
|
9198
10160
|
query?: never;
|
|
@@ -9374,6 +10336,33 @@ interface components {
|
|
|
9374
10336
|
/** @description Public handle of the account. */
|
|
9375
10337
|
username: components["schemas"]["Handle"];
|
|
9376
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
|
+
};
|
|
9377
10366
|
/**
|
|
9378
10367
|
* @description Path parameters for account operations.
|
|
9379
10368
|
*
|
|
@@ -9619,11 +10608,6 @@ interface components {
|
|
|
9619
10608
|
* audit trail and activity tracking.
|
|
9620
10609
|
*/
|
|
9621
10610
|
ActivityType: "workspace.created" | "workspace.updated" | "workspace.deleted" | "member.added" | "member.updated" | "member.deleted" | "invite.created" | "invite.accepted" | "invite.declined" | "invite.canceled" | "connection.created" | "connection.updated" | "connection.deleted" | "connection.sync.started" | "connection.sync.completed" | "connection.sync.failed" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "file.created" | "file.updated" | "file.deleted" | "pipeline.created" | "pipeline.updated" | "pipeline.deleted" | "pipeline.detection.started" | "pipeline.detection.completed" | "pipeline.detection.failed" | "pipeline.redaction.created" | "policy.created" | "policy.updated" | "policy.deleted";
|
|
9622
|
-
/** @description Anthropic API credentials. */
|
|
9623
|
-
AnthropicCredentials: {
|
|
9624
|
-
/** @description Anthropic API key. */
|
|
9625
|
-
apiKey: string;
|
|
9626
|
-
};
|
|
9627
10611
|
/** @description API token response structure. */
|
|
9628
10612
|
ApiToken: {
|
|
9629
10613
|
/**
|
|
@@ -9789,15 +10773,20 @@ interface components {
|
|
|
9789
10773
|
* `word/document.xml` text belongs to the document part
|
|
9790
10774
|
* itself, not to a nested one.
|
|
9791
10775
|
*
|
|
9792
|
-
*
|
|
9793
|
-
*
|
|
9794
|
-
*
|
|
9795
|
-
*
|
|
9796
|
-
* reverse-resolves.
|
|
9797
|
-
*
|
|
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.
|
|
9798
10783
|
*
|
|
9799
|
-
*
|
|
9800
|
-
*
|
|
10784
|
+
* The other three media have no such alternative: their
|
|
10785
|
+
* coordinates are the only way in.
|
|
10786
|
+
*
|
|
10787
|
+
* [`TextCoord`]: elide::modality::text::TextCoord
|
|
10788
|
+
* [`Decoded`]: elide::modality::text::TextCoord::Decoded
|
|
10789
|
+
* [`Source`]: elide::modality::text::TextCoord::Source
|
|
9801
10790
|
*/
|
|
9802
10791
|
location: components["schemas"]["AudioLocation"];
|
|
9803
10792
|
/**
|
|
@@ -9809,9 +10798,9 @@ interface components {
|
|
|
9809
10798
|
*
|
|
9810
10799
|
* Nested media needs this: the report holds an embedded image
|
|
9811
10800
|
* as its own part, and an addition to one has nowhere to go
|
|
9812
|
-
* without naming it. Text usually does not —
|
|
9813
|
-
*
|
|
9814
|
-
*
|
|
10801
|
+
* without naming it. Text usually does not — a source
|
|
10802
|
+
* reference already names the part it came from, alongside the
|
|
10803
|
+
* raw range.
|
|
9815
10804
|
*
|
|
9816
10805
|
* `None` is an error when the request carried several
|
|
9817
10806
|
* documents, since there is then no sole document to mean.
|
|
@@ -10393,6 +11382,20 @@ interface components {
|
|
|
10393
11382
|
/** @description Handle of the authenticated account. */
|
|
10394
11383
|
username: components["schemas"]["Handle"];
|
|
10395
11384
|
};
|
|
11385
|
+
/**
|
|
11386
|
+
* @description Configuration for a provider reached with an API key (OpenAI, Anthropic).
|
|
11387
|
+
*
|
|
11388
|
+
* The `api_key` is masked in [`Debug`], so neither this struct nor any config
|
|
11389
|
+
* that embeds it leaks the key.
|
|
11390
|
+
*/
|
|
11391
|
+
AuthenticatedProvider: {
|
|
11392
|
+
/** @description The provider API key. */
|
|
11393
|
+
apiKey: string;
|
|
11394
|
+
/** @description Override the API base URL (for a compatible endpoint or a proxy). Optional. */
|
|
11395
|
+
baseUrl?: string;
|
|
11396
|
+
/** @description Default model to use when a request does not specify one. Optional. */
|
|
11397
|
+
defaultModel?: string;
|
|
11398
|
+
};
|
|
10396
11399
|
/**
|
|
10397
11400
|
* @description Path parameters for a public avatar route: the owner id and the avatar's
|
|
10398
11401
|
* content-hash version.
|
|
@@ -11111,6 +12114,48 @@ interface components {
|
|
|
11111
12114
|
*/
|
|
11112
12115
|
limit?: number;
|
|
11113
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
|
+
});
|
|
11114
12159
|
/**
|
|
11115
12160
|
* @description The coarseness a [`GeneralizeDate`] reduces a date/timestamp to.
|
|
11116
12161
|
*
|
|
@@ -11555,6 +12600,18 @@ interface components {
|
|
|
11555
12600
|
/** @description Validation error details for field-specific errors */
|
|
11556
12601
|
validation?: components["schemas"]["ValidationErrorDetail"][];
|
|
11557
12602
|
};
|
|
12603
|
+
/**
|
|
12604
|
+
* @description Request payload to export a caller-selected set of workspace files to a
|
|
12605
|
+
* connection. Each is written as a new provider file, never overwriting a
|
|
12606
|
+
* source. Mirrors [`ImportFiles`] on the export side.
|
|
12607
|
+
*/
|
|
12608
|
+
ExportFiles: {
|
|
12609
|
+
/**
|
|
12610
|
+
* @description The workspace files to export, by id. Files already exported to the
|
|
12611
|
+
* connection are exported again (a fresh copy).
|
|
12612
|
+
*/
|
|
12613
|
+
fileIds: string[];
|
|
12614
|
+
};
|
|
11558
12615
|
/** @description The file format an export is rendered as. */
|
|
11559
12616
|
ExportFormat: "csv" | "json";
|
|
11560
12617
|
/**
|
|
@@ -11677,7 +12734,10 @@ interface components {
|
|
|
11677
12734
|
FileServiceConfig: {
|
|
11678
12735
|
/** @description Which provider backs this connection. */
|
|
11679
12736
|
provider: components["schemas"]["Provider"];
|
|
11680
|
-
/**
|
|
12737
|
+
/**
|
|
12738
|
+
* @description The folder (id or path) new exports are written into; `None` uses the
|
|
12739
|
+
* account root.
|
|
12740
|
+
*/
|
|
11681
12741
|
root?: string;
|
|
11682
12742
|
/** @description The OAuth token set for this connection. */
|
|
11683
12743
|
tokens: components["schemas"]["OAuthTokens"];
|
|
@@ -11827,6 +12887,26 @@ interface components {
|
|
|
11827
12887
|
* as de-identified.
|
|
11828
12888
|
*/
|
|
11829
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";
|
|
11830
12910
|
/**
|
|
11831
12911
|
* @description A detection recognition missed.
|
|
11832
12912
|
*
|
|
@@ -11853,15 +12933,20 @@ interface components {
|
|
|
11853
12933
|
* `word/document.xml` text belongs to the document part
|
|
11854
12934
|
* itself, not to a nested one.
|
|
11855
12935
|
*
|
|
11856
|
-
*
|
|
11857
|
-
*
|
|
11858
|
-
*
|
|
11859
|
-
*
|
|
11860
|
-
* reverse-resolves.
|
|
11861
|
-
*
|
|
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.
|
|
11862
12943
|
*
|
|
11863
|
-
*
|
|
11864
|
-
*
|
|
12944
|
+
* The other three media have no such alternative: their
|
|
12945
|
+
* coordinates are the only way in.
|
|
12946
|
+
*
|
|
12947
|
+
* [`TextCoord`]: elide::modality::text::TextCoord
|
|
12948
|
+
* [`Decoded`]: elide::modality::text::TextCoord::Decoded
|
|
12949
|
+
* [`Source`]: elide::modality::text::TextCoord::Source
|
|
11865
12950
|
*/
|
|
11866
12951
|
location: components["schemas"]["ImageLocation"];
|
|
11867
12952
|
/**
|
|
@@ -11873,9 +12958,9 @@ interface components {
|
|
|
11873
12958
|
*
|
|
11874
12959
|
* Nested media needs this: the report holds an embedded image
|
|
11875
12960
|
* as its own part, and an addition to one has nowhere to go
|
|
11876
|
-
* without naming it. Text usually does not —
|
|
11877
|
-
*
|
|
11878
|
-
*
|
|
12961
|
+
* without naming it. Text usually does not — a source
|
|
12962
|
+
* reference already names the part it came from, alongside the
|
|
12963
|
+
* raw range.
|
|
11879
12964
|
*
|
|
11880
12965
|
* `None` is an error when the request carried several
|
|
11881
12966
|
* documents, since there is then no sole document to mean.
|
|
@@ -12354,6 +13439,14 @@ interface components {
|
|
|
12354
13439
|
/** @description The rationale, when one was given. */
|
|
12355
13440
|
reason?: string;
|
|
12356
13441
|
};
|
|
13442
|
+
/**
|
|
13443
|
+
* @description Request payload to import a caller-selected set of files from a file-service
|
|
13444
|
+
* connection (the provider picker returns id + name per file).
|
|
13445
|
+
*/
|
|
13446
|
+
ImportFiles: {
|
|
13447
|
+
/** @description The files to import. Already-imported files are skipped. */
|
|
13448
|
+
files: components["schemas"]["PickedFile"][];
|
|
13449
|
+
};
|
|
12357
13450
|
/**
|
|
12358
13451
|
* @description Workspace invite with complete information.
|
|
12359
13452
|
*
|
|
@@ -12828,36 +13921,21 @@ interface components {
|
|
|
12828
13921
|
* @description A fully-typed LLM inference connection configuration.
|
|
12829
13922
|
*
|
|
12830
13923
|
* The `provider` tag selects the variant and thereby the credential shape, so
|
|
12831
|
-
* an OpenAI connection cannot carry Anthropic credentials.
|
|
12832
|
-
*
|
|
12833
|
-
*
|
|
13924
|
+
* an OpenAI connection cannot carry Anthropic credentials. The key-bearing
|
|
13925
|
+
* variants hold an [`AuthenticatedProvider`], which masks the key in `Debug`;
|
|
13926
|
+
* serialization exists only to persist the config encrypted at rest, never to
|
|
13927
|
+
* return it in API responses.
|
|
12834
13928
|
*/
|
|
12835
|
-
LlmConfig: {
|
|
12836
|
-
/** @description Override the API base URL (for Azure OpenAI or a proxy). Optional. */
|
|
12837
|
-
baseUrl?: string;
|
|
12838
|
-
/** @description OpenAI credentials. */
|
|
12839
|
-
credentials: components["schemas"]["OpenAiCredentials"];
|
|
12840
|
-
/** @description Default model to use when a request does not specify one. Optional. */
|
|
12841
|
-
defaultModel?: string;
|
|
13929
|
+
LlmConfig: ({
|
|
12842
13930
|
/** @constant */
|
|
12843
13931
|
provider: "openai";
|
|
12844
|
-
} | {
|
|
12845
|
-
/** @description Base URL of the Ollama server (e.g. `http://localhost:11434`). */
|
|
12846
|
-
baseUrl: string;
|
|
12847
|
-
/** @description Default model to use when a request does not specify one. Optional. */
|
|
12848
|
-
defaultModel?: string;
|
|
13932
|
+
} & components["schemas"]["AuthenticatedProvider"]) | ({
|
|
12849
13933
|
/** @constant */
|
|
12850
13934
|
provider: "ollama";
|
|
12851
|
-
} | {
|
|
12852
|
-
/** @description Override the API base URL. Optional. */
|
|
12853
|
-
baseUrl?: string;
|
|
12854
|
-
/** @description Anthropic credentials. */
|
|
12855
|
-
credentials: components["schemas"]["AnthropicCredentials"];
|
|
12856
|
-
/** @description Default model to use when a request does not specify one. Optional. */
|
|
12857
|
-
defaultModel?: string;
|
|
13935
|
+
} & components["schemas"]["UnauthenticatedProvider"]) | ({
|
|
12858
13936
|
/** @constant */
|
|
12859
13937
|
provider: "anthropic";
|
|
12860
|
-
};
|
|
13938
|
+
} & components["schemas"]["AuthenticatedProvider"]);
|
|
12861
13939
|
/**
|
|
12862
13940
|
* @description A value localized per [`LanguageTag`], with an English-first fallback.
|
|
12863
13941
|
*
|
|
@@ -13174,7 +14252,8 @@ interface components {
|
|
|
13174
14252
|
};
|
|
13175
14253
|
/**
|
|
13176
14254
|
* @description A persisted OAuth token set. Stored encrypted with the rest of a
|
|
13177
|
-
* connection's config; never returned in API responses.
|
|
14255
|
+
* connection's config; never returned in API responses. The tokens are masked
|
|
14256
|
+
* in [`Debug`] so a connection config's derived `Debug` cannot leak them.
|
|
13178
14257
|
*/
|
|
13179
14258
|
OAuthTokens: {
|
|
13180
14259
|
/** @description The current access token, sent as a bearer credential. */
|
|
@@ -13190,10 +14269,24 @@ interface components {
|
|
|
13190
14269
|
*/
|
|
13191
14270
|
refresh_token?: string;
|
|
13192
14271
|
};
|
|
13193
|
-
/** @description
|
|
13194
|
-
|
|
13195
|
-
/**
|
|
13196
|
-
|
|
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;
|
|
13197
14290
|
};
|
|
13198
14291
|
/**
|
|
13199
14292
|
* @description Identifies a redaction operator, for the redaction audit a higher
|
|
@@ -13211,20 +14304,6 @@ interface components {
|
|
|
13211
14304
|
/** @description Operator's version at the time it was applied. */
|
|
13212
14305
|
version: string;
|
|
13213
14306
|
};
|
|
13214
|
-
/**
|
|
13215
|
-
* @description A re-authenticated password change: the new password plus the current one
|
|
13216
|
-
* that authorizes it.
|
|
13217
|
-
*
|
|
13218
|
-
* Coupling the two in one struct makes the invariant explicit — a password
|
|
13219
|
-
* change always carries the current password, so a hijacked session or CSRF
|
|
13220
|
-
* cannot silently reset it (and lock out the real owner).
|
|
13221
|
-
*/
|
|
13222
|
-
PasswordChange: {
|
|
13223
|
-
/** @description The account's current password, verified before the change is applied. */
|
|
13224
|
-
currentPassword: string;
|
|
13225
|
-
/** @description The new password (will be hashed before storage). */
|
|
13226
|
-
newPassword: string;
|
|
13227
|
-
};
|
|
13228
14307
|
/** @description Metadata of a pattern/dictionary recognition, carried by [`Pattern`]. */
|
|
13229
14308
|
PatternEvent: {
|
|
13230
14309
|
/**
|
|
@@ -13287,6 +14366,31 @@ interface components {
|
|
|
13287
14366
|
* [`Engine::with_key_provider`]: https://docs.rs/elide-pipeline/latest/elide_pipeline/struct.Engine.html
|
|
13288
14367
|
*/
|
|
13289
14368
|
PciPanRender: "truncate" | "truncate_last_four" | "hmac_sha256" | "hmac_sha512";
|
|
14369
|
+
/** @description One file the user selected in the provider's picker. */
|
|
14370
|
+
PickedFile: {
|
|
14371
|
+
/** @description The provider's file identifier (used to fetch the bytes). */
|
|
14372
|
+
id: string;
|
|
14373
|
+
/** @description The file's display name, as the picker reported it. */
|
|
14374
|
+
name: string;
|
|
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
|
+
};
|
|
13290
14394
|
/** @description Pipeline response. */
|
|
13291
14395
|
Pipeline: {
|
|
13292
14396
|
/**
|
|
@@ -13534,6 +14638,21 @@ interface components {
|
|
|
13534
14638
|
* customer-supplied so re-submissions carry the same id.
|
|
13535
14639
|
*/
|
|
13536
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"][];
|
|
13537
14656
|
/**
|
|
13538
14657
|
* @description Human-readable name. Display-only. Does not key anything.
|
|
13539
14658
|
*
|
|
@@ -13593,6 +14712,11 @@ interface components {
|
|
|
13593
14712
|
description?: string;
|
|
13594
14713
|
/** @description Per-policy catch-all, fired when no rule matched. */
|
|
13595
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"][];
|
|
13596
14720
|
/** @description Human-readable name. Display-only. */
|
|
13597
14721
|
name: string;
|
|
13598
14722
|
/** @description Ordered rules. First match wins within this policy. */
|
|
@@ -14367,6 +15491,32 @@ interface components {
|
|
|
14367
15491
|
*/
|
|
14368
15492
|
parentId?: string;
|
|
14369
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
|
+
};
|
|
14370
15520
|
/**
|
|
14371
15521
|
* @description Which SHA-2 variant a hashing operator uses.
|
|
14372
15522
|
*
|
|
@@ -14540,24 +15690,6 @@ interface components {
|
|
|
14540
15690
|
/** @description The rationale, when one was given. */
|
|
14541
15691
|
reason?: string;
|
|
14542
15692
|
};
|
|
14543
|
-
/**
|
|
14544
|
-
* @description Request payload to trigger a connection sync.
|
|
14545
|
-
*
|
|
14546
|
-
* The direction is determined by the connection's configured `sync_mode`.
|
|
14547
|
-
* - Import connections need no body: the sync fetches every not-yet-imported
|
|
14548
|
-
* object under the connection's root path.
|
|
14549
|
-
* - Export connections push one workspace file (`file_id`) to one object
|
|
14550
|
-
* `key`; both are required for export and ignored for import.
|
|
14551
|
-
*/
|
|
14552
|
-
SyncConnection: {
|
|
14553
|
-
/**
|
|
14554
|
-
* Format: uuid
|
|
14555
|
-
* @description The workspace file to export (export connections only).
|
|
14556
|
-
*/
|
|
14557
|
-
fileId?: string;
|
|
14558
|
-
/** @description The destination object key for an export, relative to the root path. */
|
|
14559
|
-
key?: string;
|
|
14560
|
-
};
|
|
14561
15693
|
/**
|
|
14562
15694
|
* @description What an import does with a file whose source object no longer exists.
|
|
14563
15695
|
*
|
|
@@ -14647,15 +15779,20 @@ interface components {
|
|
|
14647
15779
|
* `word/document.xml` text belongs to the document part
|
|
14648
15780
|
* itself, not to a nested one.
|
|
14649
15781
|
*
|
|
14650
|
-
*
|
|
14651
|
-
*
|
|
14652
|
-
*
|
|
14653
|
-
*
|
|
14654
|
-
* reverse-resolves.
|
|
14655
|
-
*
|
|
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.
|
|
14656
15792
|
*
|
|
14657
|
-
* [`
|
|
14658
|
-
* [`
|
|
15793
|
+
* [`TextCoord`]: elide::modality::text::TextCoord
|
|
15794
|
+
* [`Decoded`]: elide::modality::text::TextCoord::Decoded
|
|
15795
|
+
* [`Source`]: elide::modality::text::TextCoord::Source
|
|
14659
15796
|
*/
|
|
14660
15797
|
location: components["schemas"]["TabularLocation"];
|
|
14661
15798
|
/**
|
|
@@ -14667,9 +15804,9 @@ interface components {
|
|
|
14667
15804
|
*
|
|
14668
15805
|
* Nested media needs this: the report holds an embedded image
|
|
14669
15806
|
* as its own part, and an addition to one has nowhere to go
|
|
14670
|
-
* without naming it. Text usually does not —
|
|
14671
|
-
*
|
|
14672
|
-
*
|
|
15807
|
+
* without naming it. Text usually does not — a source
|
|
15808
|
+
* reference already names the part it came from, alongside the
|
|
15809
|
+
* raw range.
|
|
14673
15810
|
*
|
|
14674
15811
|
* `None` is an error when the request carried several
|
|
14675
15812
|
* documents, since there is then no sole document to mean.
|
|
@@ -15252,15 +16389,20 @@ interface components {
|
|
|
15252
16389
|
* `word/document.xml` text belongs to the document part
|
|
15253
16390
|
* itself, not to a nested one.
|
|
15254
16391
|
*
|
|
15255
|
-
*
|
|
15256
|
-
*
|
|
15257
|
-
*
|
|
15258
|
-
*
|
|
15259
|
-
* reverse-resolves.
|
|
15260
|
-
*
|
|
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.
|
|
15261
16399
|
*
|
|
15262
|
-
*
|
|
15263
|
-
*
|
|
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
|
|
15264
16406
|
*/
|
|
15265
16407
|
location: components["schemas"]["TextLocation"];
|
|
15266
16408
|
/**
|
|
@@ -15272,9 +16414,9 @@ interface components {
|
|
|
15272
16414
|
*
|
|
15273
16415
|
* Nested media needs this: the report holds an embedded image
|
|
15274
16416
|
* as its own part, and an addition to one has nowhere to go
|
|
15275
|
-
* without naming it. Text usually does not —
|
|
15276
|
-
*
|
|
15277
|
-
*
|
|
16417
|
+
* without naming it. Text usually does not — a source
|
|
16418
|
+
* reference already names the part it came from, alongside the
|
|
16419
|
+
* raw range.
|
|
15278
16420
|
*
|
|
15279
16421
|
* `None` is an error when the request carried several
|
|
15280
16422
|
* documents, since there is then no sole document to mean.
|
|
@@ -16040,6 +17182,16 @@ interface components {
|
|
|
16040
17182
|
*/
|
|
16041
17183
|
text: string;
|
|
16042
17184
|
};
|
|
17185
|
+
/**
|
|
17186
|
+
* @description Configuration for a provider reached without an API key (Ollama), addressed
|
|
17187
|
+
* by a caller-supplied base URL. Carries no secret, so it derives [`Debug`].
|
|
17188
|
+
*/
|
|
17189
|
+
UnauthenticatedProvider: {
|
|
17190
|
+
/** @description Base URL of the server (e.g. `http://localhost:11434`). */
|
|
17191
|
+
baseUrl: string;
|
|
17192
|
+
/** @description Default model to use when a request does not specify one. Optional. */
|
|
17193
|
+
defaultModel?: string;
|
|
17194
|
+
};
|
|
16043
17195
|
/**
|
|
16044
17196
|
* @description An account's current unread-notification count, broadcast on the account's
|
|
16045
17197
|
* core-NATS unread subject.
|
|
@@ -16063,7 +17215,13 @@ interface components {
|
|
|
16063
17215
|
*/
|
|
16064
17216
|
unreadCount: number;
|
|
16065
17217
|
};
|
|
16066
|
-
/**
|
|
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
|
+
*/
|
|
16067
17225
|
UpdateAccount: {
|
|
16068
17226
|
/** @description New display name (2-32 characters). */
|
|
16069
17227
|
displayName?: string;
|
|
@@ -16072,8 +17230,6 @@ interface components {
|
|
|
16072
17230
|
* @description New email address (must be valid email format).
|
|
16073
17231
|
*/
|
|
16074
17232
|
emailAddress?: string;
|
|
16075
|
-
/** @description A re-authenticated password change, when changing the password. */
|
|
16076
|
-
password?: components["schemas"]["PasswordChange"];
|
|
16077
17233
|
/** @description New account handle. */
|
|
16078
17234
|
username?: components["schemas"]["Handle"];
|
|
16079
17235
|
};
|
|
@@ -16611,8 +17767,12 @@ type Handle = Schemas$23["Handle"];
|
|
|
16611
17767
|
type Account = Schemas$23["Account"];
|
|
16612
17768
|
type PublicAccount = Schemas$23["PublicAccount"];
|
|
16613
17769
|
type UpdateAccount = Schemas$23["UpdateAccount"];
|
|
16614
|
-
type PasswordChange = Schemas$23["PasswordChange"];
|
|
16615
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"];
|
|
16616
17776
|
//#endregion
|
|
16617
17777
|
//#region src/datatypes/activity.d.ts
|
|
16618
17778
|
type Schemas$22 = components["schemas"];
|
|
@@ -16803,10 +17963,13 @@ type CreateConnection = Schemas$14["CreateConnection"];
|
|
|
16803
17963
|
type UpdateConnection = Schemas$14["UpdateConnection"];
|
|
16804
17964
|
type ConnectionsQuery = Schemas$14["ConnectionsQuery"];
|
|
16805
17965
|
type ConnectionPage = Schemas$14["ConnectionPage"];
|
|
16806
|
-
type SyncConnection = Schemas$14["SyncConnection"];
|
|
16807
17966
|
type ConnectionSync = Schemas$14["ConnectionSync"];
|
|
16808
17967
|
type ConnectionSyncPage = Schemas$14["ConnectionSyncPage"];
|
|
16809
17968
|
type ConnectionVerification = Schemas$14["ConnectionVerification"];
|
|
17969
|
+
type ImportFiles = Schemas$14["ImportFiles"];
|
|
17970
|
+
type PickedFile = Schemas$14["PickedFile"];
|
|
17971
|
+
type ExportFiles = Schemas$14["ExportFiles"];
|
|
17972
|
+
type PickerToken = Schemas$14["PickerToken"];
|
|
16810
17973
|
type SyncMode = Schemas$14["SyncMode"];
|
|
16811
17974
|
type SyncStatus = Schemas$14["SyncStatus"];
|
|
16812
17975
|
type SyncTriggerType = Schemas$14["SyncTriggerType"];
|
|
@@ -16817,8 +17980,8 @@ type S3Credentials = Schemas$14["S3Credentials"];
|
|
|
16817
17980
|
type AzureCredentials = Schemas$14["AzureCredentials"];
|
|
16818
17981
|
type GcsCredentials = Schemas$14["GcsCredentials"];
|
|
16819
17982
|
type LlmConfig = Schemas$14["LlmConfig"];
|
|
16820
|
-
type
|
|
16821
|
-
type
|
|
17983
|
+
type AuthenticatedProvider = Schemas$14["AuthenticatedProvider"];
|
|
17984
|
+
type UnauthenticatedProvider = Schemas$14["UnauthenticatedProvider"];
|
|
16822
17985
|
type Provider = Schemas$14["Provider"];
|
|
16823
17986
|
type FileServiceConfig = Schemas$14["FileServiceConfig"];
|
|
16824
17987
|
type OAuthTokens = Schemas$14["OAuthTokens"];
|
|
@@ -16942,6 +18105,7 @@ type PolicyDraft = Schemas$3["PolicyDraft"];
|
|
|
16942
18105
|
type CreatePolicy = Schemas$3["CreatePolicy"];
|
|
16943
18106
|
type UpdatePolicy = Schemas$3["UpdatePolicy"];
|
|
16944
18107
|
type PolicyRule = Schemas$3["PolicyRule"];
|
|
18108
|
+
type CustomMatcher = Schemas$3["CustomMatcher"];
|
|
16945
18109
|
type PolicyTemplate = Schemas$3["PolicyTemplate"];
|
|
16946
18110
|
type TemplateOrigin = Schemas$3["TemplateOrigin"];
|
|
16947
18111
|
type HipaaDeidMethod = Schemas$3["HipaaDeidMethod"];
|
|
@@ -17008,5 +18172,5 @@ type Retention = Schemas["Retention"];
|
|
|
17008
18172
|
type RetentionSettings = Schemas["RetentionSettings"];
|
|
17009
18173
|
type RetentionOverride = Schemas["RetentionOverride"];
|
|
17010
18174
|
//#endregion
|
|
17011
|
-
export {
|
|
17012
|
-
//# 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
|