authhero 4.7.0 → 4.8.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.
@@ -35849,6 +35849,7 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
35849
35849
  enable_introspection_endpoint?: boolean | undefined;
35850
35850
  }>>;
35851
35851
  is_system: z.ZodOptional<z.ZodBoolean>;
35852
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
35852
35853
  }, "strip", z.ZodTypeAny, {
35853
35854
  name: string;
35854
35855
  identifier: string;
@@ -35865,6 +35866,7 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
35865
35866
  } | undefined;
35866
35867
  id?: string | undefined;
35867
35868
  is_system?: boolean | undefined;
35869
+ metadata?: Record<string, any> | undefined;
35868
35870
  scopes?: {
35869
35871
  value: string;
35870
35872
  description?: string | undefined;
@@ -35892,6 +35894,7 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
35892
35894
  } | undefined;
35893
35895
  id?: string | undefined;
35894
35896
  is_system?: boolean | undefined;
35897
+ metadata?: Record<string, any> | undefined;
35895
35898
  scopes?: {
35896
35899
  value: string;
35897
35900
  description?: string | undefined;
@@ -35967,6 +35970,7 @@ export declare const resourceServerSchema: z.ZodObject<{
35967
35970
  enable_introspection_endpoint?: boolean | undefined;
35968
35971
  }>>;
35969
35972
  is_system: z.ZodOptional<z.ZodBoolean>;
35973
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
35970
35974
  }, "strip", z.ZodTypeAny, {
35971
35975
  name: string;
35972
35976
  identifier: string;
@@ -35985,6 +35989,7 @@ export declare const resourceServerSchema: z.ZodObject<{
35985
35989
  } | undefined;
35986
35990
  id?: string | undefined;
35987
35991
  is_system?: boolean | undefined;
35992
+ metadata?: Record<string, any> | undefined;
35988
35993
  scopes?: {
35989
35994
  value: string;
35990
35995
  description?: string | undefined;
@@ -36014,6 +36019,7 @@ export declare const resourceServerSchema: z.ZodObject<{
36014
36019
  } | undefined;
36015
36020
  id?: string | undefined;
36016
36021
  is_system?: boolean | undefined;
36022
+ metadata?: Record<string, any> | undefined;
36017
36023
  scopes?: {
36018
36024
  value: string;
36019
36025
  description?: string | undefined;
@@ -36089,6 +36095,7 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
36089
36095
  enable_introspection_endpoint?: boolean | undefined;
36090
36096
  }>>;
36091
36097
  is_system: z.ZodOptional<z.ZodBoolean>;
36098
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
36092
36099
  }, "strip", z.ZodTypeAny, {
36093
36100
  name: string;
36094
36101
  identifier: string;
@@ -36107,6 +36114,7 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
36107
36114
  } | undefined;
36108
36115
  id?: string | undefined;
36109
36116
  is_system?: boolean | undefined;
36117
+ metadata?: Record<string, any> | undefined;
36110
36118
  scopes?: {
36111
36119
  value: string;
36112
36120
  description?: string | undefined;
@@ -36136,6 +36144,7 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
36136
36144
  } | undefined;
36137
36145
  id?: string | undefined;
36138
36146
  is_system?: boolean | undefined;
36147
+ metadata?: Record<string, any> | undefined;
36139
36148
  scopes?: {
36140
36149
  value: string;
36141
36150
  description?: string | undefined;
@@ -36371,21 +36380,25 @@ export declare const roleInsertSchema: z.ZodObject<{
36371
36380
  name: z.ZodString;
36372
36381
  description: z.ZodOptional<z.ZodString>;
36373
36382
  is_system: z.ZodOptional<z.ZodBoolean>;
36383
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
36374
36384
  }, "strip", z.ZodTypeAny, {
36375
36385
  name: string;
36376
36386
  description?: string | undefined;
36377
36387
  id?: string | undefined;
36378
36388
  is_system?: boolean | undefined;
36389
+ metadata?: Record<string, any> | undefined;
36379
36390
  }, {
36380
36391
  name: string;
36381
36392
  description?: string | undefined;
36382
36393
  id?: string | undefined;
36383
36394
  is_system?: boolean | undefined;
36395
+ metadata?: Record<string, any> | undefined;
36384
36396
  }>;
36385
36397
  export declare const roleSchema: z.ZodObject<{
36386
36398
  name: z.ZodString;
36387
36399
  description: z.ZodOptional<z.ZodString>;
36388
36400
  is_system: z.ZodOptional<z.ZodBoolean>;
36401
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
36389
36402
  } & {
36390
36403
  id: z.ZodString;
36391
36404
  created_at: z.ZodOptional<z.ZodString>;
@@ -36397,6 +36410,7 @@ export declare const roleSchema: z.ZodObject<{
36397
36410
  updated_at?: string | undefined;
36398
36411
  description?: string | undefined;
36399
36412
  is_system?: boolean | undefined;
36413
+ metadata?: Record<string, any> | undefined;
36400
36414
  }, {
36401
36415
  id: string;
36402
36416
  name: string;
@@ -36404,6 +36418,7 @@ export declare const roleSchema: z.ZodObject<{
36404
36418
  updated_at?: string | undefined;
36405
36419
  description?: string | undefined;
36406
36420
  is_system?: boolean | undefined;
36421
+ metadata?: Record<string, any> | undefined;
36407
36422
  }>;
36408
36423
  export type Role = z.infer<typeof roleSchema>;
36409
36424
  export type RoleInsert = z.infer<typeof roleInsertSchema>;
@@ -36411,6 +36426,7 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
36411
36426
  name: z.ZodString;
36412
36427
  description: z.ZodOptional<z.ZodString>;
36413
36428
  is_system: z.ZodOptional<z.ZodBoolean>;
36429
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
36414
36430
  } & {
36415
36431
  id: z.ZodString;
36416
36432
  created_at: z.ZodOptional<z.ZodString>;
@@ -36422,6 +36438,7 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
36422
36438
  updated_at?: string | undefined;
36423
36439
  description?: string | undefined;
36424
36440
  is_system?: boolean | undefined;
36441
+ metadata?: Record<string, any> | undefined;
36425
36442
  }, {
36426
36443
  id: string;
36427
36444
  name: string;
@@ -36429,6 +36446,7 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
36429
36446
  updated_at?: string | undefined;
36430
36447
  description?: string | undefined;
36431
36448
  is_system?: boolean | undefined;
36449
+ metadata?: Record<string, any> | undefined;
36432
36450
  }>, "many">;
36433
36451
  export type RoleList = z.infer<typeof roleListSchema>;
36434
36452
  export declare const organizationBrandingSchema: z.ZodOptional<z.ZodObject<{
@@ -38818,6 +38836,7 @@ export declare function init(config: AuthHeroConfig): {
38818
38836
  } | undefined;
38819
38837
  id?: string | undefined;
38820
38838
  display_name?: string | undefined;
38839
+ metadata?: Record<string, any> | undefined;
38821
38840
  token_quota?: {
38822
38841
  client_credentials?: {
38823
38842
  enforce?: boolean | undefined;
@@ -38825,7 +38844,6 @@ export declare function init(config: AuthHeroConfig): {
38825
38844
  per_hour?: number | undefined;
38826
38845
  } | undefined;
38827
38846
  } | undefined;
38828
- metadata?: Record<string, any> | undefined;
38829
38847
  enabled_connections?: {
38830
38848
  connection_id: string;
38831
38849
  show_as_button?: boolean | undefined;
@@ -39056,6 +39074,9 @@ export declare function init(config: AuthHeroConfig): {
39056
39074
  updated_at?: string | undefined | undefined;
39057
39075
  description?: string | undefined | undefined;
39058
39076
  is_system?: boolean | undefined | undefined;
39077
+ metadata?: {
39078
+ [x: string]: any;
39079
+ } | undefined;
39059
39080
  }[];
39060
39081
  outputFormat: "json";
39061
39082
  status: 200;
@@ -39134,6 +39155,9 @@ export declare function init(config: AuthHeroConfig): {
39134
39155
  updated_at?: string | undefined | undefined;
39135
39156
  description?: string | undefined | undefined;
39136
39157
  is_system?: boolean | undefined | undefined;
39158
+ metadata?: {
39159
+ [x: string]: any;
39160
+ } | undefined;
39137
39161
  }[];
39138
39162
  outputFormat: "json";
39139
39163
  status: 200;
@@ -39399,6 +39423,9 @@ export declare function init(config: AuthHeroConfig): {
39399
39423
  } | undefined;
39400
39424
  id?: string | undefined | undefined;
39401
39425
  is_system?: boolean | undefined | undefined;
39426
+ metadata?: {
39427
+ [x: string]: any;
39428
+ } | undefined;
39402
39429
  scopes?: {
39403
39430
  value: string;
39404
39431
  description?: string | undefined | undefined;
@@ -39432,6 +39459,9 @@ export declare function init(config: AuthHeroConfig): {
39432
39459
  } | undefined;
39433
39460
  id?: string | undefined | undefined;
39434
39461
  is_system?: boolean | undefined | undefined;
39462
+ metadata?: {
39463
+ [x: string]: any;
39464
+ } | undefined;
39435
39465
  scopes?: {
39436
39466
  value: string;
39437
39467
  description?: string | undefined | undefined;
@@ -39480,6 +39510,9 @@ export declare function init(config: AuthHeroConfig): {
39480
39510
  } | undefined;
39481
39511
  id?: string | undefined | undefined;
39482
39512
  is_system?: boolean | undefined | undefined;
39513
+ metadata?: {
39514
+ [x: string]: any;
39515
+ } | undefined;
39483
39516
  scopes?: {
39484
39517
  value: string;
39485
39518
  description?: string | undefined | undefined;
@@ -39544,6 +39577,7 @@ export declare function init(config: AuthHeroConfig): {
39544
39577
  description?: string | undefined;
39545
39578
  }[] | undefined;
39546
39579
  is_system?: boolean | undefined;
39580
+ metadata?: Record<string, any> | undefined;
39547
39581
  identifier?: string | undefined;
39548
39582
  signing_alg?: string | undefined;
39549
39583
  signing_secret?: string | undefined;
@@ -39572,6 +39606,9 @@ export declare function init(config: AuthHeroConfig): {
39572
39606
  } | undefined;
39573
39607
  id?: string | undefined | undefined;
39574
39608
  is_system?: boolean | undefined | undefined;
39609
+ metadata?: {
39610
+ [x: string]: any;
39611
+ } | undefined;
39575
39612
  scopes?: {
39576
39613
  value: string;
39577
39614
  description?: string | undefined | undefined;
@@ -39616,6 +39653,7 @@ export declare function init(config: AuthHeroConfig): {
39616
39653
  description?: string | undefined;
39617
39654
  }[] | undefined;
39618
39655
  is_system?: boolean | undefined;
39656
+ metadata?: Record<string, any> | undefined;
39619
39657
  signing_alg?: string | undefined;
39620
39658
  signing_secret?: string | undefined;
39621
39659
  token_lifetime?: number | undefined;
@@ -39643,6 +39681,9 @@ export declare function init(config: AuthHeroConfig): {
39643
39681
  } | undefined;
39644
39682
  id?: string | undefined | undefined;
39645
39683
  is_system?: boolean | undefined | undefined;
39684
+ metadata?: {
39685
+ [x: string]: any;
39686
+ } | undefined;
39646
39687
  scopes?: {
39647
39688
  value: string;
39648
39689
  description?: string | undefined | undefined;
@@ -39684,6 +39725,9 @@ export declare function init(config: AuthHeroConfig): {
39684
39725
  updated_at?: string | undefined | undefined;
39685
39726
  description?: string | undefined | undefined;
39686
39727
  is_system?: boolean | undefined | undefined;
39728
+ metadata?: {
39729
+ [x: string]: any;
39730
+ } | undefined;
39687
39731
  }[] | {
39688
39732
  length: number;
39689
39733
  start: number;
@@ -39695,6 +39739,9 @@ export declare function init(config: AuthHeroConfig): {
39695
39739
  updated_at?: string | undefined | undefined;
39696
39740
  description?: string | undefined | undefined;
39697
39741
  is_system?: boolean | undefined | undefined;
39742
+ metadata?: {
39743
+ [x: string]: any;
39744
+ } | undefined;
39698
39745
  }[];
39699
39746
  total?: number | undefined;
39700
39747
  };
@@ -39721,6 +39768,9 @@ export declare function init(config: AuthHeroConfig): {
39721
39768
  updated_at?: string | undefined | undefined;
39722
39769
  description?: string | undefined | undefined;
39723
39770
  is_system?: boolean | undefined | undefined;
39771
+ metadata?: {
39772
+ [x: string]: any;
39773
+ } | undefined;
39724
39774
  };
39725
39775
  outputFormat: "json";
39726
39776
  status: 200;
@@ -39739,6 +39789,7 @@ export declare function init(config: AuthHeroConfig): {
39739
39789
  description?: string | undefined;
39740
39790
  id?: string | undefined;
39741
39791
  is_system?: boolean | undefined;
39792
+ metadata?: Record<string, any> | undefined;
39742
39793
  };
39743
39794
  };
39744
39795
  output: {
@@ -39748,6 +39799,9 @@ export declare function init(config: AuthHeroConfig): {
39748
39799
  updated_at?: string | undefined | undefined;
39749
39800
  description?: string | undefined | undefined;
39750
39801
  is_system?: boolean | undefined | undefined;
39802
+ metadata?: {
39803
+ [x: string]: any;
39804
+ } | undefined;
39751
39805
  };
39752
39806
  outputFormat: "json";
39753
39807
  status: 201;
@@ -39770,6 +39824,7 @@ export declare function init(config: AuthHeroConfig): {
39770
39824
  description?: string | undefined;
39771
39825
  id?: string | undefined;
39772
39826
  is_system?: boolean | undefined;
39827
+ metadata?: Record<string, any> | undefined;
39773
39828
  };
39774
39829
  };
39775
39830
  output: {
@@ -39779,6 +39834,9 @@ export declare function init(config: AuthHeroConfig): {
39779
39834
  updated_at?: string | undefined | undefined;
39780
39835
  description?: string | undefined | undefined;
39781
39836
  is_system?: boolean | undefined | undefined;
39837
+ metadata?: {
39838
+ [x: string]: any;
39839
+ } | undefined;
39782
39840
  };
39783
39841
  outputFormat: "json";
39784
39842
  status: 200;
@@ -46380,6 +46438,9 @@ export declare function init(config: AuthHeroConfig): {
46380
46438
  updated_at?: string | undefined | undefined;
46381
46439
  description?: string | undefined | undefined;
46382
46440
  is_system?: boolean | undefined | undefined;
46441
+ metadata?: {
46442
+ [x: string]: any;
46443
+ } | undefined;
46383
46444
  }[];
46384
46445
  outputFormat: "json";
46385
46446
  status: 200;
@@ -48231,6 +48292,37 @@ export declare function init(config: AuthHeroConfig): {
48231
48292
  Bindings: Bindings;
48232
48293
  Variables: Variables;
48233
48294
  }, import("hono/types").MergeSchemaPath<{
48295
+ "/": {
48296
+ $get: {
48297
+ input: {
48298
+ query: {
48299
+ state: string;
48300
+ };
48301
+ };
48302
+ output: {};
48303
+ outputFormat: string;
48304
+ status: 302;
48305
+ } | {
48306
+ input: {
48307
+ query: {
48308
+ state: string;
48309
+ };
48310
+ };
48311
+ output: {};
48312
+ outputFormat: string;
48313
+ status: 400;
48314
+ } | {
48315
+ input: {
48316
+ query: {
48317
+ state: string;
48318
+ };
48319
+ };
48320
+ output: {};
48321
+ outputFormat: string;
48322
+ status: 500;
48323
+ };
48324
+ };
48325
+ }, "/continue"> & import("hono/types").MergeSchemaPath<{
48234
48326
  "/:formId/nodes/:nodeId": {
48235
48327
  $get: {
48236
48328
  input: {