authhero 0.206.0 → 0.207.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.
@@ -14539,6 +14539,330 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
14539
14539
  updated_at?: string | undefined;
14540
14540
  }>, "many">;
14541
14541
  export type RoleList = z.infer<typeof roleListSchema>;
14542
+ export declare const organizationBrandingSchema: z.ZodOptional<z.ZodObject<{
14543
+ logo_url: z.ZodOptional<z.ZodString>;
14544
+ colors: z.ZodOptional<z.ZodObject<{
14545
+ primary: z.ZodOptional<z.ZodString>;
14546
+ page_background: z.ZodOptional<z.ZodString>;
14547
+ }, "strip", z.ZodTypeAny, {
14548
+ primary?: string | undefined;
14549
+ page_background?: string | undefined;
14550
+ }, {
14551
+ primary?: string | undefined;
14552
+ page_background?: string | undefined;
14553
+ }>>;
14554
+ }, "strip", z.ZodTypeAny, {
14555
+ colors?: {
14556
+ primary?: string | undefined;
14557
+ page_background?: string | undefined;
14558
+ } | undefined;
14559
+ logo_url?: string | undefined;
14560
+ }, {
14561
+ colors?: {
14562
+ primary?: string | undefined;
14563
+ page_background?: string | undefined;
14564
+ } | undefined;
14565
+ logo_url?: string | undefined;
14566
+ }>>;
14567
+ export declare const organizationEnabledConnectionSchema: z.ZodObject<{
14568
+ connection_id: z.ZodString;
14569
+ assign_membership_on_login: z.ZodDefault<z.ZodBoolean>;
14570
+ show_as_button: z.ZodDefault<z.ZodBoolean>;
14571
+ is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
14572
+ }, "strip", z.ZodTypeAny, {
14573
+ connection_id: string;
14574
+ assign_membership_on_login: boolean;
14575
+ show_as_button: boolean;
14576
+ is_signup_enabled: boolean;
14577
+ }, {
14578
+ connection_id: string;
14579
+ assign_membership_on_login?: boolean | undefined;
14580
+ show_as_button?: boolean | undefined;
14581
+ is_signup_enabled?: boolean | undefined;
14582
+ }>;
14583
+ export declare const organizationTokenQuotaSchema: z.ZodOptional<z.ZodObject<{
14584
+ client_credentials: z.ZodOptional<z.ZodObject<{
14585
+ enforce: z.ZodDefault<z.ZodBoolean>;
14586
+ per_day: z.ZodDefault<z.ZodNumber>;
14587
+ per_hour: z.ZodDefault<z.ZodNumber>;
14588
+ }, "strip", z.ZodTypeAny, {
14589
+ enforce: boolean;
14590
+ per_day: number;
14591
+ per_hour: number;
14592
+ }, {
14593
+ enforce?: boolean | undefined;
14594
+ per_day?: number | undefined;
14595
+ per_hour?: number | undefined;
14596
+ }>>;
14597
+ }, "strip", z.ZodTypeAny, {
14598
+ client_credentials?: {
14599
+ enforce: boolean;
14600
+ per_day: number;
14601
+ per_hour: number;
14602
+ } | undefined;
14603
+ }, {
14604
+ client_credentials?: {
14605
+ enforce?: boolean | undefined;
14606
+ per_day?: number | undefined;
14607
+ per_hour?: number | undefined;
14608
+ } | undefined;
14609
+ }>>;
14610
+ export declare const organizationInsertSchema: z.ZodObject<{
14611
+ id: z.ZodOptional<z.ZodString>;
14612
+ name: z.ZodString;
14613
+ display_name: z.ZodOptional<z.ZodString>;
14614
+ branding: z.ZodOptional<z.ZodObject<{
14615
+ logo_url: z.ZodOptional<z.ZodString>;
14616
+ colors: z.ZodOptional<z.ZodObject<{
14617
+ primary: z.ZodOptional<z.ZodString>;
14618
+ page_background: z.ZodOptional<z.ZodString>;
14619
+ }, "strip", z.ZodTypeAny, {
14620
+ primary?: string | undefined;
14621
+ page_background?: string | undefined;
14622
+ }, {
14623
+ primary?: string | undefined;
14624
+ page_background?: string | undefined;
14625
+ }>>;
14626
+ }, "strip", z.ZodTypeAny, {
14627
+ colors?: {
14628
+ primary?: string | undefined;
14629
+ page_background?: string | undefined;
14630
+ } | undefined;
14631
+ logo_url?: string | undefined;
14632
+ }, {
14633
+ colors?: {
14634
+ primary?: string | undefined;
14635
+ page_background?: string | undefined;
14636
+ } | undefined;
14637
+ logo_url?: string | undefined;
14638
+ }>>;
14639
+ metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
14640
+ enabled_connections: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
14641
+ connection_id: z.ZodString;
14642
+ assign_membership_on_login: z.ZodDefault<z.ZodBoolean>;
14643
+ show_as_button: z.ZodDefault<z.ZodBoolean>;
14644
+ is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
14645
+ }, "strip", z.ZodTypeAny, {
14646
+ connection_id: string;
14647
+ assign_membership_on_login: boolean;
14648
+ show_as_button: boolean;
14649
+ is_signup_enabled: boolean;
14650
+ }, {
14651
+ connection_id: string;
14652
+ assign_membership_on_login?: boolean | undefined;
14653
+ show_as_button?: boolean | undefined;
14654
+ is_signup_enabled?: boolean | undefined;
14655
+ }>, "many">>>;
14656
+ token_quota: z.ZodOptional<z.ZodObject<{
14657
+ client_credentials: z.ZodOptional<z.ZodObject<{
14658
+ enforce: z.ZodDefault<z.ZodBoolean>;
14659
+ per_day: z.ZodDefault<z.ZodNumber>;
14660
+ per_hour: z.ZodDefault<z.ZodNumber>;
14661
+ }, "strip", z.ZodTypeAny, {
14662
+ enforce: boolean;
14663
+ per_day: number;
14664
+ per_hour: number;
14665
+ }, {
14666
+ enforce?: boolean | undefined;
14667
+ per_day?: number | undefined;
14668
+ per_hour?: number | undefined;
14669
+ }>>;
14670
+ }, "strip", z.ZodTypeAny, {
14671
+ client_credentials?: {
14672
+ enforce: boolean;
14673
+ per_day: number;
14674
+ per_hour: number;
14675
+ } | undefined;
14676
+ }, {
14677
+ client_credentials?: {
14678
+ enforce?: boolean | undefined;
14679
+ per_day?: number | undefined;
14680
+ per_hour?: number | undefined;
14681
+ } | undefined;
14682
+ }>>;
14683
+ }, "strip", z.ZodTypeAny, {
14684
+ name: string;
14685
+ id?: string | undefined;
14686
+ display_name?: string | undefined;
14687
+ branding?: {
14688
+ colors?: {
14689
+ primary?: string | undefined;
14690
+ page_background?: string | undefined;
14691
+ } | undefined;
14692
+ logo_url?: string | undefined;
14693
+ } | undefined;
14694
+ metadata?: Record<string, any> | undefined;
14695
+ enabled_connections?: {
14696
+ connection_id: string;
14697
+ assign_membership_on_login: boolean;
14698
+ show_as_button: boolean;
14699
+ is_signup_enabled: boolean;
14700
+ }[] | undefined;
14701
+ token_quota?: {
14702
+ client_credentials?: {
14703
+ enforce: boolean;
14704
+ per_day: number;
14705
+ per_hour: number;
14706
+ } | undefined;
14707
+ } | undefined;
14708
+ }, {
14709
+ name: string;
14710
+ id?: string | undefined;
14711
+ display_name?: string | undefined;
14712
+ branding?: {
14713
+ colors?: {
14714
+ primary?: string | undefined;
14715
+ page_background?: string | undefined;
14716
+ } | undefined;
14717
+ logo_url?: string | undefined;
14718
+ } | undefined;
14719
+ metadata?: Record<string, any> | undefined;
14720
+ enabled_connections?: {
14721
+ connection_id: string;
14722
+ assign_membership_on_login?: boolean | undefined;
14723
+ show_as_button?: boolean | undefined;
14724
+ is_signup_enabled?: boolean | undefined;
14725
+ }[] | undefined;
14726
+ token_quota?: {
14727
+ client_credentials?: {
14728
+ enforce?: boolean | undefined;
14729
+ per_day?: number | undefined;
14730
+ per_hour?: number | undefined;
14731
+ } | undefined;
14732
+ } | undefined;
14733
+ }>;
14734
+ export type OrganizationInsert = z.infer<typeof organizationInsertSchema>;
14735
+ export declare const organizationSchema: z.ZodObject<{
14736
+ id: z.ZodString;
14737
+ created_at: z.ZodString;
14738
+ updated_at: z.ZodString;
14739
+ name: z.ZodString;
14740
+ display_name: z.ZodOptional<z.ZodString>;
14741
+ branding: z.ZodOptional<z.ZodObject<{
14742
+ logo_url: z.ZodOptional<z.ZodString>;
14743
+ colors: z.ZodOptional<z.ZodObject<{
14744
+ primary: z.ZodOptional<z.ZodString>;
14745
+ page_background: z.ZodOptional<z.ZodString>;
14746
+ }, "strip", z.ZodTypeAny, {
14747
+ primary?: string | undefined;
14748
+ page_background?: string | undefined;
14749
+ }, {
14750
+ primary?: string | undefined;
14751
+ page_background?: string | undefined;
14752
+ }>>;
14753
+ }, "strip", z.ZodTypeAny, {
14754
+ colors?: {
14755
+ primary?: string | undefined;
14756
+ page_background?: string | undefined;
14757
+ } | undefined;
14758
+ logo_url?: string | undefined;
14759
+ }, {
14760
+ colors?: {
14761
+ primary?: string | undefined;
14762
+ page_background?: string | undefined;
14763
+ } | undefined;
14764
+ logo_url?: string | undefined;
14765
+ }>>;
14766
+ metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
14767
+ enabled_connections: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
14768
+ connection_id: z.ZodString;
14769
+ assign_membership_on_login: z.ZodDefault<z.ZodBoolean>;
14770
+ show_as_button: z.ZodDefault<z.ZodBoolean>;
14771
+ is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
14772
+ }, "strip", z.ZodTypeAny, {
14773
+ connection_id: string;
14774
+ assign_membership_on_login: boolean;
14775
+ show_as_button: boolean;
14776
+ is_signup_enabled: boolean;
14777
+ }, {
14778
+ connection_id: string;
14779
+ assign_membership_on_login?: boolean | undefined;
14780
+ show_as_button?: boolean | undefined;
14781
+ is_signup_enabled?: boolean | undefined;
14782
+ }>, "many">>>;
14783
+ token_quota: z.ZodOptional<z.ZodObject<{
14784
+ client_credentials: z.ZodOptional<z.ZodObject<{
14785
+ enforce: z.ZodDefault<z.ZodBoolean>;
14786
+ per_day: z.ZodDefault<z.ZodNumber>;
14787
+ per_hour: z.ZodDefault<z.ZodNumber>;
14788
+ }, "strip", z.ZodTypeAny, {
14789
+ enforce: boolean;
14790
+ per_day: number;
14791
+ per_hour: number;
14792
+ }, {
14793
+ enforce?: boolean | undefined;
14794
+ per_day?: number | undefined;
14795
+ per_hour?: number | undefined;
14796
+ }>>;
14797
+ }, "strip", z.ZodTypeAny, {
14798
+ client_credentials?: {
14799
+ enforce: boolean;
14800
+ per_day: number;
14801
+ per_hour: number;
14802
+ } | undefined;
14803
+ }, {
14804
+ client_credentials?: {
14805
+ enforce?: boolean | undefined;
14806
+ per_day?: number | undefined;
14807
+ per_hour?: number | undefined;
14808
+ } | undefined;
14809
+ }>>;
14810
+ }, "strip", z.ZodTypeAny, {
14811
+ created_at: string;
14812
+ updated_at: string;
14813
+ name: string;
14814
+ id: string;
14815
+ display_name?: string | undefined;
14816
+ branding?: {
14817
+ colors?: {
14818
+ primary?: string | undefined;
14819
+ page_background?: string | undefined;
14820
+ } | undefined;
14821
+ logo_url?: string | undefined;
14822
+ } | undefined;
14823
+ metadata?: Record<string, any> | undefined;
14824
+ enabled_connections?: {
14825
+ connection_id: string;
14826
+ assign_membership_on_login: boolean;
14827
+ show_as_button: boolean;
14828
+ is_signup_enabled: boolean;
14829
+ }[] | undefined;
14830
+ token_quota?: {
14831
+ client_credentials?: {
14832
+ enforce: boolean;
14833
+ per_day: number;
14834
+ per_hour: number;
14835
+ } | undefined;
14836
+ } | undefined;
14837
+ }, {
14838
+ created_at: string;
14839
+ updated_at: string;
14840
+ name: string;
14841
+ id: string;
14842
+ display_name?: string | undefined;
14843
+ branding?: {
14844
+ colors?: {
14845
+ primary?: string | undefined;
14846
+ page_background?: string | undefined;
14847
+ } | undefined;
14848
+ logo_url?: string | undefined;
14849
+ } | undefined;
14850
+ metadata?: Record<string, any> | undefined;
14851
+ enabled_connections?: {
14852
+ connection_id: string;
14853
+ assign_membership_on_login?: boolean | undefined;
14854
+ show_as_button?: boolean | undefined;
14855
+ is_signup_enabled?: boolean | undefined;
14856
+ }[] | undefined;
14857
+ token_quota?: {
14858
+ client_credentials?: {
14859
+ enforce?: boolean | undefined;
14860
+ per_day?: number | undefined;
14861
+ per_hour?: number | undefined;
14862
+ } | undefined;
14863
+ } | undefined;
14864
+ }>;
14865
+ export type Organization = z.infer<typeof organizationSchema>;
14542
14866
  export declare function parseUserId(user_id: string): {
14543
14867
  connection: string;
14544
14868
  id: string;
@@ -14768,6 +15092,16 @@ export interface UserRolesAdapter {
14768
15092
  assign(tenantId: string, userId: string, roles: string[]): Promise<boolean>;
14769
15093
  remove(tenantId: string, userId: string, roles: string[]): Promise<boolean>;
14770
15094
  }
15095
+ export interface ListOrganizationsResponse extends Totals {
15096
+ organizations: Organization[];
15097
+ }
15098
+ export interface OrganizationsAdapter {
15099
+ create(tenant_id: string, params: OrganizationInsert): Promise<Organization>;
15100
+ get(tenant_id: string, id: string): Promise<Organization | null>;
15101
+ remove(tenant_id: string, id: string): Promise<boolean>;
15102
+ list(tenant_id: string, params?: ListParams): Promise<ListOrganizationsResponse>;
15103
+ update(tenant_id: string, id: string, params: Partial<OrganizationInsert>): Promise<boolean>;
15104
+ }
14771
15105
  export interface DataAdapters {
14772
15106
  applications: ApplicationsAdapter;
14773
15107
  branding: BrandingAdapter;
@@ -14794,6 +15128,7 @@ export interface DataAdapters {
14794
15128
  themes: ThemesAdapter;
14795
15129
  users: UserDataAdapter;
14796
15130
  userRoles: UserRolesAdapter;
15131
+ organizations: OrganizationsAdapter;
14797
15132
  }
14798
15133
  declare const auth0ClientSchema: z.ZodObject<{
14799
15134
  name: z.ZodString;
@@ -15263,6 +15598,294 @@ export declare function init(config: AuthHeroConfig): {
15263
15598
  Bindings: Bindings;
15264
15599
  Variables: Variables;
15265
15600
  }, import("hono/types").MergeSchemaPath<{
15601
+ "/": {
15602
+ $get: {
15603
+ input: {
15604
+ query: {
15605
+ sort?: string | undefined;
15606
+ page?: string | undefined;
15607
+ per_page?: string | undefined;
15608
+ include_totals?: string | undefined;
15609
+ q?: string | undefined;
15610
+ };
15611
+ } & {
15612
+ header: {
15613
+ "tenant-id": string;
15614
+ };
15615
+ };
15616
+ output: {
15617
+ created_at: string;
15618
+ updated_at: string;
15619
+ name: string;
15620
+ id: string;
15621
+ display_name?: string | undefined | undefined;
15622
+ branding?: {
15623
+ colors?: {
15624
+ primary?: string | undefined | undefined;
15625
+ page_background?: string | undefined | undefined;
15626
+ } | undefined;
15627
+ logo_url?: string | undefined | undefined;
15628
+ } | undefined;
15629
+ metadata?: {
15630
+ [x: string]: any;
15631
+ } | undefined;
15632
+ enabled_connections?: {
15633
+ connection_id: string;
15634
+ assign_membership_on_login: boolean;
15635
+ show_as_button: boolean;
15636
+ is_signup_enabled: boolean;
15637
+ }[] | undefined;
15638
+ token_quota?: {
15639
+ client_credentials?: {
15640
+ enforce: boolean;
15641
+ per_day: number;
15642
+ per_hour: number;
15643
+ } | undefined;
15644
+ } | undefined;
15645
+ }[] | {
15646
+ length: number;
15647
+ start: number;
15648
+ limit: number;
15649
+ organizations: {
15650
+ created_at: string;
15651
+ updated_at: string;
15652
+ name: string;
15653
+ id: string;
15654
+ display_name?: string | undefined | undefined;
15655
+ branding?: {
15656
+ colors?: {
15657
+ primary?: string | undefined | undefined;
15658
+ page_background?: string | undefined | undefined;
15659
+ } | undefined;
15660
+ logo_url?: string | undefined | undefined;
15661
+ } | undefined;
15662
+ metadata?: {
15663
+ [x: string]: any;
15664
+ } | undefined;
15665
+ enabled_connections?: {
15666
+ connection_id: string;
15667
+ assign_membership_on_login: boolean;
15668
+ show_as_button: boolean;
15669
+ is_signup_enabled: boolean;
15670
+ }[] | undefined;
15671
+ token_quota?: {
15672
+ client_credentials?: {
15673
+ enforce: boolean;
15674
+ per_day: number;
15675
+ per_hour: number;
15676
+ } | undefined;
15677
+ } | undefined;
15678
+ }[];
15679
+ };
15680
+ outputFormat: "json";
15681
+ status: 200;
15682
+ };
15683
+ };
15684
+ } & {
15685
+ "/:id": {
15686
+ $get: {
15687
+ input: {
15688
+ param: {
15689
+ id: string;
15690
+ };
15691
+ } & {
15692
+ header: {
15693
+ "tenant-id": string;
15694
+ };
15695
+ };
15696
+ output: {
15697
+ created_at: string;
15698
+ updated_at: string;
15699
+ name: string;
15700
+ id: string;
15701
+ display_name?: string | undefined | undefined;
15702
+ branding?: {
15703
+ colors?: {
15704
+ primary?: string | undefined | undefined;
15705
+ page_background?: string | undefined | undefined;
15706
+ } | undefined;
15707
+ logo_url?: string | undefined | undefined;
15708
+ } | undefined;
15709
+ metadata?: {
15710
+ [x: string]: any;
15711
+ } | undefined;
15712
+ enabled_connections?: {
15713
+ connection_id: string;
15714
+ assign_membership_on_login: boolean;
15715
+ show_as_button: boolean;
15716
+ is_signup_enabled: boolean;
15717
+ }[] | undefined;
15718
+ token_quota?: {
15719
+ client_credentials?: {
15720
+ enforce: boolean;
15721
+ per_day: number;
15722
+ per_hour: number;
15723
+ } | undefined;
15724
+ } | undefined;
15725
+ };
15726
+ outputFormat: "json";
15727
+ status: 200;
15728
+ };
15729
+ };
15730
+ } & {
15731
+ "/:id": {
15732
+ $delete: {
15733
+ input: {
15734
+ param: {
15735
+ id: string;
15736
+ };
15737
+ } & {
15738
+ header: {
15739
+ "tenant-id": string;
15740
+ };
15741
+ };
15742
+ output: {};
15743
+ outputFormat: string;
15744
+ status: 200;
15745
+ };
15746
+ };
15747
+ } & {
15748
+ "/:id": {
15749
+ $patch: {
15750
+ input: {
15751
+ param: {
15752
+ id: string;
15753
+ };
15754
+ } & {
15755
+ header: {
15756
+ "tenant-id": string;
15757
+ };
15758
+ } & {
15759
+ json: {
15760
+ name?: string | undefined;
15761
+ branding?: {
15762
+ colors?: {
15763
+ primary?: string | undefined;
15764
+ page_background?: string | undefined;
15765
+ } | undefined;
15766
+ logo_url?: string | undefined;
15767
+ } | undefined;
15768
+ display_name?: string | undefined;
15769
+ metadata?: Record<string, any> | undefined;
15770
+ enabled_connections?: {
15771
+ connection_id: string;
15772
+ assign_membership_on_login?: boolean | undefined;
15773
+ show_as_button?: boolean | undefined;
15774
+ is_signup_enabled?: boolean | undefined;
15775
+ }[] | undefined;
15776
+ token_quota?: {
15777
+ client_credentials?: {
15778
+ enforce?: boolean | undefined;
15779
+ per_day?: number | undefined;
15780
+ per_hour?: number | undefined;
15781
+ } | undefined;
15782
+ } | undefined;
15783
+ };
15784
+ };
15785
+ output: {
15786
+ created_at: string;
15787
+ updated_at: string;
15788
+ name: string;
15789
+ id: string;
15790
+ display_name?: string | undefined | undefined;
15791
+ branding?: {
15792
+ colors?: {
15793
+ primary?: string | undefined | undefined;
15794
+ page_background?: string | undefined | undefined;
15795
+ } | undefined;
15796
+ logo_url?: string | undefined | undefined;
15797
+ } | undefined;
15798
+ metadata?: {
15799
+ [x: string]: any;
15800
+ } | undefined;
15801
+ enabled_connections?: {
15802
+ connection_id: string;
15803
+ assign_membership_on_login: boolean;
15804
+ show_as_button: boolean;
15805
+ is_signup_enabled: boolean;
15806
+ }[] | undefined;
15807
+ token_quota?: {
15808
+ client_credentials?: {
15809
+ enforce: boolean;
15810
+ per_day: number;
15811
+ per_hour: number;
15812
+ } | undefined;
15813
+ } | undefined;
15814
+ };
15815
+ outputFormat: "json";
15816
+ status: 200;
15817
+ };
15818
+ };
15819
+ } & {
15820
+ "/": {
15821
+ $post: {
15822
+ input: {
15823
+ header: {
15824
+ "tenant-id": string;
15825
+ };
15826
+ } & {
15827
+ json: {
15828
+ name: string;
15829
+ id?: string | undefined;
15830
+ display_name?: string | undefined;
15831
+ branding?: {
15832
+ colors?: {
15833
+ primary?: string | undefined;
15834
+ page_background?: string | undefined;
15835
+ } | undefined;
15836
+ logo_url?: string | undefined;
15837
+ } | undefined;
15838
+ metadata?: Record<string, any> | undefined;
15839
+ enabled_connections?: {
15840
+ connection_id: string;
15841
+ assign_membership_on_login?: boolean | undefined;
15842
+ show_as_button?: boolean | undefined;
15843
+ is_signup_enabled?: boolean | undefined;
15844
+ }[] | undefined;
15845
+ token_quota?: {
15846
+ client_credentials?: {
15847
+ enforce?: boolean | undefined;
15848
+ per_day?: number | undefined;
15849
+ per_hour?: number | undefined;
15850
+ } | undefined;
15851
+ } | undefined;
15852
+ };
15853
+ };
15854
+ output: {
15855
+ created_at: string;
15856
+ updated_at: string;
15857
+ name: string;
15858
+ id: string;
15859
+ display_name?: string | undefined | undefined;
15860
+ branding?: {
15861
+ colors?: {
15862
+ primary?: string | undefined | undefined;
15863
+ page_background?: string | undefined | undefined;
15864
+ } | undefined;
15865
+ logo_url?: string | undefined | undefined;
15866
+ } | undefined;
15867
+ metadata?: {
15868
+ [x: string]: any;
15869
+ } | undefined;
15870
+ enabled_connections?: {
15871
+ connection_id: string;
15872
+ assign_membership_on_login: boolean;
15873
+ show_as_button: boolean;
15874
+ is_signup_enabled: boolean;
15875
+ }[] | undefined;
15876
+ token_quota?: {
15877
+ client_credentials?: {
15878
+ enforce: boolean;
15879
+ per_day: number;
15880
+ per_hour: number;
15881
+ } | undefined;
15882
+ } | undefined;
15883
+ };
15884
+ outputFormat: "json";
15885
+ status: 201;
15886
+ };
15887
+ };
15888
+ }, "/organizations"> & import("hono/types").MergeSchemaPath<{
15266
15889
  "/": {
15267
15890
  $get: {
15268
15891
  input: {