@@ -11,62 +11,6 @@ export interface Routes {
1111 formData : { }
1212 jsonResponse : { }
1313 }
14- "/internal/organizations/delete" : {
15- route : "/internal/organizations/delete"
16- method : "DELETE" | "POST"
17- queryParams : { }
18- jsonBody : {
19- organization_id : string
20- }
21- commonParams : { }
22- formData : { }
23- jsonResponse : { }
24- }
25- "/internal/organizations/list" : {
26- route : "/internal/organizations/list"
27- method : "GET" | "POST"
28- queryParams : { }
29- jsonBody : { }
30- commonParams : { }
31- formData : { }
32- jsonResponse : {
33- organizations : {
34- organization_id : string
35- name : string
36- created_at : string | Date
37- } [ ]
38- }
39- }
40- "/internal/user_sessions/create" : {
41- route : "/internal/user_sessions/create"
42- method : "POST"
43- queryParams : { }
44- jsonBody : {
45- auth0_id_token : string
46- }
47- commonParams : { }
48- formData : { }
49- jsonResponse : {
50- session : {
51- user_session_id : string
52- organization_id : string
53- session_key ?: string | undefined
54- expires_at : string | Date
55- created_at : string | Date
56- }
57- }
58- }
59- "/internal/users/reset-password" : {
60- route : "/internal/users/reset-password"
61- method : "POST"
62- queryParams : { }
63- jsonBody : {
64- user_id ?: string | undefined
65- }
66- commonParams : { }
67- formData : { }
68- jsonResponse : { }
69- }
7014 "/access_codes/create" : {
7115 route : "/access_codes/create"
7216 method : "POST"
@@ -606,9 +550,11 @@ export interface Routes {
606550 jsonBody : { }
607551 commonParams : {
608552 building_id ?: string | undefined
553+ linked_account_id ?: string | undefined
609554 user_group_id ?: string | undefined
610555 user_id ?: string | undefined
611556 has_no_building ?: boolean | undefined
557+ query ?: string | undefined
612558 }
613559 formData : { }
614560 jsonResponse : {
@@ -639,6 +585,48 @@ export interface Routes {
639585 formData : { }
640586 jsonResponse : { }
641587 }
588+ "/linked_accounts/get" : {
589+ route : "/linked_accounts/get"
590+ method : "GET" | "POST"
591+ queryParams : { }
592+ jsonBody : { }
593+ commonParams : {
594+ linked_account_id : string
595+ }
596+ formData : { }
597+ jsonResponse : {
598+ linked_account : {
599+ linked_account_id : string
600+ organization_id : string
601+ login_portal_id : string | null
602+ device_provider : string
603+ user_identifier ?: any
604+ ext_seam_connected_account_id : string
605+ created_at : string | Date
606+ }
607+ }
608+ }
609+ "/linked_accounts/list" : {
610+ route : "/linked_accounts/list"
611+ method : "GET" | "POST"
612+ queryParams : { }
613+ jsonBody : { }
614+ commonParams : {
615+ since ?: ( string | Date ) | undefined
616+ }
617+ formData : { }
618+ jsonResponse : {
619+ linked_accounts : {
620+ linked_account_id : string
621+ organization_id : string
622+ login_portal_id : string | null
623+ device_provider : string
624+ user_identifier ?: any
625+ ext_seam_connected_account_id : string
626+ created_at : string | Date
627+ } [ ]
628+ }
629+ }
642630 "/login_portals/create" : {
643631 route : "/login_portals/create"
644632 method : "POST"
@@ -744,32 +732,32 @@ export interface Routes {
744732 route : "/organizations/invite_user"
745733 method : "POST" | "PATCH"
746734 queryParams : { }
747- jsonBody : {
735+ jsonBody : { }
736+ commonParams : {
748737 email : string
749738 }
750- commonParams : { }
751739 formData : { }
752740 jsonResponse : { }
753741 }
754742 "/organizations/remove_user" : {
755743 route : "/organizations/remove_user"
756- method : "POST" | "PATCH "
744+ method : "POST" | "DELETE "
757745 queryParams : { }
758- jsonBody : {
746+ jsonBody : { }
747+ commonParams : {
759748 user_id : string
760749 }
761- commonParams : { }
762750 formData : { }
763751 jsonResponse : { }
764752 }
765753 "/organizations/update" : {
766754 route : "/organizations/update"
767755 method : "POST" | "PATCH"
768756 queryParams : { }
769- jsonBody : {
757+ jsonBody : { }
758+ commonParams : {
770759 name ?: string | undefined
771760 }
772- commonParams : { }
773761 formData : { }
774762 jsonResponse : { }
775763 }
@@ -932,6 +920,84 @@ export interface Routes {
932920 formData : { }
933921 jsonResponse : { }
934922 }
923+ "/internal/organization_invitations/accept" : {
924+ route : "/internal/organization_invitations/accept"
925+ method : "POST" | "PATCH"
926+ queryParams : { }
927+ jsonBody : { }
928+ commonParams : {
929+ token : string
930+ }
931+ formData : { }
932+ jsonResponse : { }
933+ }
934+ "/internal/organization_invitations/reject" : {
935+ route : "/internal/organization_invitations/reject"
936+ method : "POST" | "PATCH"
937+ queryParams : { }
938+ jsonBody : { }
939+ commonParams : {
940+ token : string
941+ }
942+ formData : { }
943+ jsonResponse : { }
944+ }
945+ "/internal/organizations/delete" : {
946+ route : "/internal/organizations/delete"
947+ method : "DELETE" | "POST"
948+ queryParams : { }
949+ jsonBody : {
950+ organization_id : string
951+ }
952+ commonParams : { }
953+ formData : { }
954+ jsonResponse : { }
955+ }
956+ "/internal/organizations/list" : {
957+ route : "/internal/organizations/list"
958+ method : "GET" | "POST"
959+ queryParams : { }
960+ jsonBody : { }
961+ commonParams : { }
962+ formData : { }
963+ jsonResponse : {
964+ organizations : {
965+ organization_id : string
966+ name : string
967+ created_at : string | Date
968+ } [ ]
969+ }
970+ }
971+ "/internal/user_sessions/create" : {
972+ route : "/internal/user_sessions/create"
973+ method : "POST"
974+ queryParams : { }
975+ jsonBody : {
976+ auth0_id_token : string
977+ }
978+ commonParams : { }
979+ formData : { }
980+ jsonResponse : {
981+ session : {
982+ user_session_id : string
983+ organization_id : string
984+ session_key ?: string | undefined
985+ expires_at : string | Date
986+ created_at : string | Date
987+ }
988+ }
989+ }
990+ "/internal/users/reset-password" : {
991+ route : "/internal/users/reset-password"
992+ method : "POST"
993+ queryParams : { }
994+ jsonBody : {
995+ user_id ?: string | undefined
996+ }
997+ commonParams : { }
998+ formData : { }
999+ jsonResponse : { }
1000+ }
9351001}
9361002
9371003export type RouteResponse < Path extends keyof Routes > =
0 commit comments