File tree Expand file tree Collapse file tree 6 files changed +13
-131
lines changed
infra/moncomptepro/lib/src
organizations/api/src/:id Expand file tree Collapse file tree 6 files changed +13
-131
lines changed Original file line number Diff line number Diff line change @@ -222,8 +222,8 @@ declare const app: import("hono/hono-base").HonoBase<
222
222
} ;
223
223
} & {
224
224
query : {
225
- user_id : string ;
226
225
organization_id : string ;
226
+ user_id : string ;
227
227
} ;
228
228
} ;
229
229
output : { } ;
@@ -306,6 +306,17 @@ declare const app: import("hono/hono-base").HonoBase<
306
306
add_member : "AS_INTERNAL" | "AS_EXTERNAL" ;
307
307
add_domain ?: string | undefined ;
308
308
send_notitfication ?: string | undefined ;
309
+ verification_type ?:
310
+ | "null"
311
+ | "code_sent_to_official_contact_email"
312
+ | "in_liste_dirigeants_rna"
313
+ | "no_validation_means_available"
314
+ | "official_contact_domain"
315
+ | "official_contact_email"
316
+ | "trackdechets_email_domain"
317
+ | "verified_by_coop_mediation_numerique"
318
+ | "verified_email_domain"
319
+ | undefined ;
309
320
} ;
310
321
} ;
311
322
output : { } ;
@@ -701,28 +712,6 @@ declare const app: import("hono/hono-base").HonoBase<
701
712
} ;
702
713
} ) ,
703
714
"/ members "
704
- >
705
- | import ( "hono/types" ) . MergeSchemaPath <
706
- | import ( "hono/types" ) . BlankSchema
707
- | import ( "hono/types" ) . MergeSchemaPath <
708
- {
709
- "/:domain" : {
710
- $patch : {
711
- input : {
712
- param : {
713
- id : string ;
714
- domain : string ;
715
- } ;
716
- } ;
717
- output : "OK" ;
718
- outputFormat : "text" ;
719
- status : 200 ;
720
- } ;
721
- } ;
722
- } ,
723
- "/verify"
724
- > ,
725
- "/$procedures"
726
715
> ,
727
716
"/:id"
728
717
>
Original file line number Diff line number Diff line change @@ -17,11 +17,6 @@ type Options =
17
17
user_id : string ;
18
18
} ;
19
19
}
20
- | {
21
- endpoint : "/api/admin/mark-domain-as-verified" ;
22
- method : "POST" ;
23
- searchParams : { domain : string ; organization_id : string } ;
24
- }
25
20
| {
26
21
endpoint : "/api/admin/send-moderation-processed-email" ;
27
22
method : "POST" ;
Original file line number Diff line number Diff line change @@ -32,23 +32,6 @@ export const join_organization: JoinOrganizationHandler = async ({
32
32
} ) ;
33
33
} ;
34
34
35
- export async function mark_domain_as_verified ( {
36
- domain,
37
- organization_id,
38
- } : {
39
- domain : string ;
40
- organization_id : number ;
41
- } ) : Promise < { } > {
42
- return fetch_mcp_admin_api ( {
43
- endpoint : "/api/admin/mark-domain-as-verified" ,
44
- method : "POST" ,
45
- searchParams : {
46
- domain : String ( domain ) ,
47
- organization_id : String ( organization_id ) ,
48
- } ,
49
- } ) ;
50
- }
51
-
52
35
export async function send_moderation_processed_email ( {
53
36
organization_id,
54
37
user_id,
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import { to as await_to } from "await-to-js";
13
13
import { Hono } from "hono" ;
14
14
import { getContext } from "hono/context-storage" ;
15
15
import { jsxRenderer } from "hono/jsx-renderer" ;
16
- import organization_procedures_router from "./$procedures" ;
17
16
import type { ContextType , ContextVariablesType } from "./context" ;
18
17
import organization_domains_router from "./domains" ;
19
18
import organization_members_router from "./members" ;
@@ -108,5 +107,4 @@ export default new Hono<ContextType>()
108
107
)
109
108
//
110
109
. route ( "/members" , organization_members_router )
111
- . route ( "/domains" , organization_domains_router )
112
- . route ( "/$procedures" , organization_procedures_router ) ;
110
+ . route ( "/domains" , organization_domains_router ) ;
You can’t perform that action at this time.
0 commit comments