@authhero/kysely-adapter 10.136.0 → 11.0.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.
@@ -37,6 +37,8 @@ declare const actionInsertSchema: z.ZodObject<{
37
37
  name: string;
38
38
  value?: string | undefined;
39
39
  }>, "many">>;
40
+ is_system: z.ZodOptional<z.ZodBoolean>;
41
+ inherit: z.ZodOptional<z.ZodBoolean>;
40
42
  }, "strip", z.ZodTypeAny, {
41
43
  code: string;
42
44
  name: string;
@@ -53,6 +55,8 @@ declare const actionInsertSchema: z.ZodObject<{
53
55
  name: string;
54
56
  value?: string | undefined;
55
57
  }[] | undefined;
58
+ is_system?: boolean | undefined;
59
+ inherit?: boolean | undefined;
56
60
  }, {
57
61
  code: string;
58
62
  name: string;
@@ -69,6 +73,8 @@ declare const actionInsertSchema: z.ZodObject<{
69
73
  name: string;
70
74
  value?: string | undefined;
71
75
  }[] | undefined;
76
+ is_system?: boolean | undefined;
77
+ inherit?: boolean | undefined;
72
78
  }>;
73
79
  export type ActionInsert = z.infer<typeof actionInsertSchema>;
74
80
  declare const actionUpdateSchema: z.ZodObject<{
@@ -105,6 +111,8 @@ declare const actionUpdateSchema: z.ZodObject<{
105
111
  name: string;
106
112
  value?: string | undefined;
107
113
  }>, "many">>>;
114
+ is_system: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
115
+ inherit: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
108
116
  } & {
109
117
  status: z.ZodOptional<z.ZodEnum<[
110
118
  "draft",
@@ -128,6 +136,8 @@ declare const actionUpdateSchema: z.ZodObject<{
128
136
  name: string;
129
137
  value?: string | undefined;
130
138
  }[] | undefined;
139
+ is_system?: boolean | undefined;
140
+ inherit?: boolean | undefined;
131
141
  deployed_at?: string | undefined;
132
142
  }, {
133
143
  code?: string | undefined;
@@ -146,6 +156,8 @@ declare const actionUpdateSchema: z.ZodObject<{
146
156
  name: string;
147
157
  value?: string | undefined;
148
158
  }[] | undefined;
159
+ is_system?: boolean | undefined;
160
+ inherit?: boolean | undefined;
149
161
  deployed_at?: string | undefined;
150
162
  }>;
151
163
  export type ActionUpdate = z.infer<typeof actionUpdateSchema>;
@@ -173,6 +185,8 @@ declare const actionSchema: z.ZodObject<{
173
185
  version: string;
174
186
  name: string;
175
187
  }>, "many">>;
188
+ is_system: z.ZodOptional<z.ZodBoolean>;
189
+ inherit: z.ZodOptional<z.ZodBoolean>;
176
190
  } & {
177
191
  created_at: z.ZodString;
178
192
  updated_at: z.ZodString;
@@ -214,6 +228,8 @@ declare const actionSchema: z.ZodObject<{
214
228
  name: string;
215
229
  value?: string | undefined;
216
230
  }[] | undefined;
231
+ is_system?: boolean | undefined;
232
+ inherit?: boolean | undefined;
217
233
  deployed_at?: string | undefined;
218
234
  }, {
219
235
  created_at: string;
@@ -236,6 +252,8 @@ declare const actionSchema: z.ZodObject<{
236
252
  name: string;
237
253
  value?: string | undefined;
238
254
  }[] | undefined;
255
+ is_system?: boolean | undefined;
256
+ inherit?: boolean | undefined;
239
257
  deployed_at?: string | undefined;
240
258
  }>;
241
259
  export type Action = z.infer<typeof actionSchema>;
@@ -2262,7 +2280,6 @@ declare const clientInsertSchema: z.ZodObject<{
2262
2280
  "private_key_jwt"
2263
2281
  ]>>>;
2264
2282
  client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
2265
- disable_sign_ups: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2266
2283
  hide_sign_up_disabled_error: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2267
2284
  mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2268
2285
  initiate_login_uri: z.ZodOptional<z.ZodString>;
@@ -2379,7 +2396,6 @@ declare const clientInsertSchema: z.ZodObject<{
2379
2396
  addons?: Record<string, any> | undefined;
2380
2397
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
2381
2398
  client_metadata?: Record<string, string> | undefined;
2382
- disable_sign_ups?: boolean | undefined;
2383
2399
  hide_sign_up_disabled_error?: boolean | undefined;
2384
2400
  mobile?: Record<string, any> | undefined;
2385
2401
  initiate_login_uri?: string | undefined;
@@ -2440,7 +2456,6 @@ declare const clientInsertSchema: z.ZodObject<{
2440
2456
  addons?: Record<string, any> | undefined;
2441
2457
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
2442
2458
  client_metadata?: Record<string, string> | undefined;
2443
- disable_sign_ups?: boolean | undefined;
2444
2459
  hide_sign_up_disabled_error?: boolean | undefined;
2445
2460
  mobile?: Record<string, any> | undefined;
2446
2461
  initiate_login_uri?: string | undefined;
@@ -2528,7 +2543,6 @@ declare const clientSchema: z.ZodObject<{
2528
2543
  "private_key_jwt"
2529
2544
  ]>>>;
2530
2545
  client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
2531
- disable_sign_ups: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2532
2546
  hide_sign_up_disabled_error: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2533
2547
  mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2534
2548
  initiate_login_uri: z.ZodOptional<z.ZodString>;
@@ -2649,7 +2663,6 @@ declare const clientSchema: z.ZodObject<{
2649
2663
  addons?: Record<string, any> | undefined;
2650
2664
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
2651
2665
  client_metadata?: Record<string, string> | undefined;
2652
- disable_sign_ups?: boolean | undefined;
2653
2666
  hide_sign_up_disabled_error?: boolean | undefined;
2654
2667
  mobile?: Record<string, any> | undefined;
2655
2668
  initiate_login_uri?: string | undefined;
@@ -2712,7 +2725,6 @@ declare const clientSchema: z.ZodObject<{
2712
2725
  addons?: Record<string, any> | undefined;
2713
2726
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
2714
2727
  client_metadata?: Record<string, string> | undefined;
2715
- disable_sign_ups?: boolean | undefined;
2716
2728
  hide_sign_up_disabled_error?: boolean | undefined;
2717
2729
  mobile?: Record<string, any> | undefined;
2718
2730
  initiate_login_uri?: string | undefined;
@@ -2752,19 +2764,19 @@ declare const clientGrantInsertSchema: z.ZodObject<{
2752
2764
  }, "strip", z.ZodTypeAny, {
2753
2765
  client_id: string;
2754
2766
  audience: string;
2767
+ is_system?: boolean | undefined;
2755
2768
  scope?: string[] | undefined;
2756
2769
  organization_usage?: "deny" | "allow" | "require" | undefined;
2757
2770
  allow_any_organization?: boolean | undefined;
2758
- is_system?: boolean | undefined;
2759
2771
  subject_type?: "user" | "client" | undefined;
2760
2772
  authorization_details_types?: string[] | undefined;
2761
2773
  }, {
2762
2774
  client_id: string;
2763
2775
  audience: string;
2776
+ is_system?: boolean | undefined;
2764
2777
  scope?: string[] | undefined;
2765
2778
  organization_usage?: "deny" | "allow" | "require" | undefined;
2766
2779
  allow_any_organization?: boolean | undefined;
2767
- is_system?: boolean | undefined;
2768
2780
  subject_type?: "user" | "client" | undefined;
2769
2781
  authorization_details_types?: string[] | undefined;
2770
2782
  }>;
@@ -2794,10 +2806,10 @@ declare const clientGrantSchema: z.ZodObject<{
2794
2806
  audience: string;
2795
2807
  created_at?: string | undefined;
2796
2808
  updated_at?: string | undefined;
2809
+ is_system?: boolean | undefined;
2797
2810
  scope?: string[] | undefined;
2798
2811
  organization_usage?: "deny" | "allow" | "require" | undefined;
2799
2812
  allow_any_organization?: boolean | undefined;
2800
- is_system?: boolean | undefined;
2801
2813
  subject_type?: "user" | "client" | undefined;
2802
2814
  authorization_details_types?: string[] | undefined;
2803
2815
  }, {
@@ -2806,10 +2818,10 @@ declare const clientGrantSchema: z.ZodObject<{
2806
2818
  audience: string;
2807
2819
  created_at?: string | undefined;
2808
2820
  updated_at?: string | undefined;
2821
+ is_system?: boolean | undefined;
2809
2822
  scope?: string[] | undefined;
2810
2823
  organization_usage?: "deny" | "allow" | "require" | undefined;
2811
2824
  allow_any_organization?: boolean | undefined;
2812
- is_system?: boolean | undefined;
2813
2825
  subject_type?: "user" | "client" | undefined;
2814
2826
  authorization_details_types?: string[] | undefined;
2815
2827
  }>;
@@ -3201,6 +3213,22 @@ declare const connectionInsertSchema: z.ZodObject<{
3201
3213
  disable_signup: z.ZodOptional<z.ZodBoolean>;
3202
3214
  brute_force_protection: z.ZodOptional<z.ZodBoolean>;
3203
3215
  import_mode: z.ZodOptional<z.ZodBoolean>;
3216
+ configuration: z.ZodOptional<z.ZodObject<{
3217
+ token_endpoint: z.ZodOptional<z.ZodString>;
3218
+ userinfo_endpoint: z.ZodOptional<z.ZodString>;
3219
+ client_id: z.ZodOptional<z.ZodString>;
3220
+ client_secret: z.ZodOptional<z.ZodString>;
3221
+ }, "strip", z.ZodTypeAny, {
3222
+ client_id?: string | undefined;
3223
+ client_secret?: string | undefined;
3224
+ token_endpoint?: string | undefined;
3225
+ userinfo_endpoint?: string | undefined;
3226
+ }, {
3227
+ client_id?: string | undefined;
3228
+ client_secret?: string | undefined;
3229
+ token_endpoint?: string | undefined;
3230
+ userinfo_endpoint?: string | undefined;
3231
+ }>>;
3204
3232
  attributes: z.ZodOptional<z.ZodObject<{
3205
3233
  email: z.ZodOptional<z.ZodObject<{
3206
3234
  identifier: z.ZodOptional<z.ZodObject<{
@@ -3604,6 +3632,12 @@ declare const connectionInsertSchema: z.ZodObject<{
3604
3632
  disable_signup?: boolean | undefined;
3605
3633
  brute_force_protection?: boolean | undefined;
3606
3634
  import_mode?: boolean | undefined;
3635
+ configuration?: {
3636
+ client_id?: string | undefined;
3637
+ client_secret?: string | undefined;
3638
+ token_endpoint?: string | undefined;
3639
+ userinfo_endpoint?: string | undefined;
3640
+ } | undefined;
3607
3641
  attributes?: {
3608
3642
  email?: {
3609
3643
  validation?: {
@@ -3710,6 +3744,12 @@ declare const connectionInsertSchema: z.ZodObject<{
3710
3744
  disable_signup?: boolean | undefined;
3711
3745
  brute_force_protection?: boolean | undefined;
3712
3746
  import_mode?: boolean | undefined;
3747
+ configuration?: {
3748
+ client_id?: string | undefined;
3749
+ client_secret?: string | undefined;
3750
+ token_endpoint?: string | undefined;
3751
+ userinfo_endpoint?: string | undefined;
3752
+ } | undefined;
3713
3753
  attributes?: {
3714
3754
  email?: {
3715
3755
  validation?: {
@@ -3816,6 +3856,12 @@ declare const connectionInsertSchema: z.ZodObject<{
3816
3856
  disable_signup?: boolean | undefined;
3817
3857
  brute_force_protection?: boolean | undefined;
3818
3858
  import_mode?: boolean | undefined;
3859
+ configuration?: {
3860
+ client_id?: string | undefined;
3861
+ client_secret?: string | undefined;
3862
+ token_endpoint?: string | undefined;
3863
+ userinfo_endpoint?: string | undefined;
3864
+ } | undefined;
3819
3865
  attributes?: {
3820
3866
  email?: {
3821
3867
  validation?: {
@@ -3931,6 +3977,12 @@ declare const connectionInsertSchema: z.ZodObject<{
3931
3977
  disable_signup?: boolean | undefined;
3932
3978
  brute_force_protection?: boolean | undefined;
3933
3979
  import_mode?: boolean | undefined;
3980
+ configuration?: {
3981
+ client_id?: string | undefined;
3982
+ client_secret?: string | undefined;
3983
+ token_endpoint?: string | undefined;
3984
+ userinfo_endpoint?: string | undefined;
3985
+ } | undefined;
3934
3986
  attributes?: {
3935
3987
  email?: {
3936
3988
  validation?: {
@@ -4095,6 +4147,22 @@ declare const connectionSchema: z.ZodObject<{
4095
4147
  disable_signup: z.ZodOptional<z.ZodBoolean>;
4096
4148
  brute_force_protection: z.ZodOptional<z.ZodBoolean>;
4097
4149
  import_mode: z.ZodOptional<z.ZodBoolean>;
4150
+ configuration: z.ZodOptional<z.ZodObject<{
4151
+ token_endpoint: z.ZodOptional<z.ZodString>;
4152
+ userinfo_endpoint: z.ZodOptional<z.ZodString>;
4153
+ client_id: z.ZodOptional<z.ZodString>;
4154
+ client_secret: z.ZodOptional<z.ZodString>;
4155
+ }, "strip", z.ZodTypeAny, {
4156
+ client_id?: string | undefined;
4157
+ client_secret?: string | undefined;
4158
+ token_endpoint?: string | undefined;
4159
+ userinfo_endpoint?: string | undefined;
4160
+ }, {
4161
+ client_id?: string | undefined;
4162
+ client_secret?: string | undefined;
4163
+ token_endpoint?: string | undefined;
4164
+ userinfo_endpoint?: string | undefined;
4165
+ }>>;
4098
4166
  attributes: z.ZodOptional<z.ZodObject<{
4099
4167
  email: z.ZodOptional<z.ZodObject<{
4100
4168
  identifier: z.ZodOptional<z.ZodObject<{
@@ -4498,6 +4566,12 @@ declare const connectionSchema: z.ZodObject<{
4498
4566
  disable_signup?: boolean | undefined;
4499
4567
  brute_force_protection?: boolean | undefined;
4500
4568
  import_mode?: boolean | undefined;
4569
+ configuration?: {
4570
+ client_id?: string | undefined;
4571
+ client_secret?: string | undefined;
4572
+ token_endpoint?: string | undefined;
4573
+ userinfo_endpoint?: string | undefined;
4574
+ } | undefined;
4501
4575
  attributes?: {
4502
4576
  email?: {
4503
4577
  validation?: {
@@ -4604,6 +4678,12 @@ declare const connectionSchema: z.ZodObject<{
4604
4678
  disable_signup?: boolean | undefined;
4605
4679
  brute_force_protection?: boolean | undefined;
4606
4680
  import_mode?: boolean | undefined;
4681
+ configuration?: {
4682
+ client_id?: string | undefined;
4683
+ client_secret?: string | undefined;
4684
+ token_endpoint?: string | undefined;
4685
+ userinfo_endpoint?: string | undefined;
4686
+ } | undefined;
4607
4687
  attributes?: {
4608
4688
  email?: {
4609
4689
  validation?: {
@@ -4710,6 +4790,12 @@ declare const connectionSchema: z.ZodObject<{
4710
4790
  disable_signup?: boolean | undefined;
4711
4791
  brute_force_protection?: boolean | undefined;
4712
4792
  import_mode?: boolean | undefined;
4793
+ configuration?: {
4794
+ client_id?: string | undefined;
4795
+ client_secret?: string | undefined;
4796
+ token_endpoint?: string | undefined;
4797
+ userinfo_endpoint?: string | undefined;
4798
+ } | undefined;
4713
4799
  attributes?: {
4714
4800
  email?: {
4715
4801
  validation?: {
@@ -4827,6 +4913,12 @@ declare const connectionSchema: z.ZodObject<{
4827
4913
  disable_signup?: boolean | undefined;
4828
4914
  brute_force_protection?: boolean | undefined;
4829
4915
  import_mode?: boolean | undefined;
4916
+ configuration?: {
4917
+ client_id?: string | undefined;
4918
+ client_secret?: string | undefined;
4919
+ token_endpoint?: string | undefined;
4920
+ userinfo_endpoint?: string | undefined;
4921
+ } | undefined;
4830
4922
  attributes?: {
4831
4923
  email?: {
4832
4924
  validation?: {
@@ -19884,11 +19976,11 @@ declare const resourceServerInsertSchema: z.ZodObject<{
19884
19976
  enable_introspection_endpoint?: boolean | undefined;
19885
19977
  } | undefined;
19886
19978
  id?: string | undefined;
19979
+ is_system?: boolean | undefined;
19887
19980
  scopes?: {
19888
19981
  value: string;
19889
19982
  description?: string | undefined;
19890
19983
  }[] | undefined;
19891
- is_system?: boolean | undefined;
19892
19984
  metadata?: Record<string, any> | undefined;
19893
19985
  signing_alg?: string | undefined;
19894
19986
  signing_secret?: string | undefined;
@@ -19910,12 +20002,12 @@ declare const resourceServerInsertSchema: z.ZodObject<{
19910
20002
  enable_introspection_endpoint?: boolean | undefined;
19911
20003
  } | undefined;
19912
20004
  id?: string | undefined;
20005
+ is_system?: boolean | undefined;
19913
20006
  scopes?: {
19914
20007
  value: string;
19915
20008
  description?: string | undefined;
19916
20009
  }[] | undefined;
19917
20010
  token_lifetime?: number | undefined;
19918
- is_system?: boolean | undefined;
19919
20011
  metadata?: Record<string, any> | undefined;
19920
20012
  signing_alg?: string | undefined;
19921
20013
  signing_secret?: string | undefined;
@@ -20007,11 +20099,11 @@ declare const resourceServerSchema: z.ZodObject<{
20007
20099
  enable_introspection_endpoint?: boolean | undefined;
20008
20100
  } | undefined;
20009
20101
  id?: string | undefined;
20102
+ is_system?: boolean | undefined;
20010
20103
  scopes?: {
20011
20104
  value: string;
20012
20105
  description?: string | undefined;
20013
20106
  }[] | undefined;
20014
- is_system?: boolean | undefined;
20015
20107
  metadata?: Record<string, any> | undefined;
20016
20108
  signing_alg?: string | undefined;
20017
20109
  signing_secret?: string | undefined;
@@ -20035,12 +20127,12 @@ declare const resourceServerSchema: z.ZodObject<{
20035
20127
  enable_introspection_endpoint?: boolean | undefined;
20036
20128
  } | undefined;
20037
20129
  id?: string | undefined;
20130
+ is_system?: boolean | undefined;
20038
20131
  scopes?: {
20039
20132
  value: string;
20040
20133
  description?: string | undefined;
20041
20134
  }[] | undefined;
20042
20135
  token_lifetime?: number | undefined;
20043
- is_system?: boolean | undefined;
20044
20136
  metadata?: Record<string, any> | undefined;
20045
20137
  signing_alg?: string | undefined;
20046
20138
  signing_secret?: string | undefined;
@@ -21896,6 +21988,8 @@ declare const sqlActionSchema: z.ZodObject<{
21896
21988
  dependencies: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21897
21989
  supported_triggers: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21898
21990
  deployed_at_ts: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21991
+ is_system: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21992
+ inherit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21899
21993
  created_at_ts: z.ZodNumber;
21900
21994
  updated_at_ts: z.ZodNumber;
21901
21995
  }, "strip", z.ZodTypeAny, {
@@ -21906,11 +22000,13 @@ declare const sqlActionSchema: z.ZodObject<{
21906
22000
  id: string;
21907
22001
  name: string;
21908
22002
  status?: string | null | undefined;
22003
+ is_system?: number | null | undefined;
21909
22004
  runtime?: string | null | undefined;
21910
22005
  secrets?: string | null | undefined;
21911
22006
  dependencies?: string | null | undefined;
21912
22007
  supported_triggers?: string | null | undefined;
21913
22008
  deployed_at_ts?: number | null | undefined;
22009
+ inherit?: number | null | undefined;
21914
22010
  }, {
21915
22011
  code: string;
21916
22012
  tenant_id: string;
@@ -21919,11 +22015,13 @@ declare const sqlActionSchema: z.ZodObject<{
21919
22015
  id: string;
21920
22016
  name: string;
21921
22017
  status?: string | null | undefined;
22018
+ is_system?: number | null | undefined;
21922
22019
  runtime?: string | null | undefined;
21923
22020
  secrets?: string | null | undefined;
21924
22021
  dependencies?: string | null | undefined;
21925
22022
  supported_triggers?: string | null | undefined;
21926
22023
  deployed_at_ts?: number | null | undefined;
22024
+ inherit?: number | null | undefined;
21927
22025
  }>;
21928
22026
  declare const sqlActionExecutionSchema: z.ZodObject<{
21929
22027
  id: z.ZodString;
@@ -23877,7 +23975,6 @@ declare const sqlClientSchema: z.ZodObject<{
23877
23975
  custom_login_page_on: z.ZodNumber;
23878
23976
  require_pushed_authorization_requests: z.ZodNumber;
23879
23977
  require_proof_of_possession: z.ZodNumber;
23880
- disable_sign_ups: z.ZodNumber;
23881
23978
  hide_sign_up_disabled_error: z.ZodNumber;
23882
23979
  callbacks: z.ZodString;
23883
23980
  allowed_origins: z.ZodString;
@@ -23991,7 +24088,6 @@ declare const sqlClientSchema: z.ZodObject<{
23991
24088
  custom_login_page_on: number;
23992
24089
  require_pushed_authorization_requests: number;
23993
24090
  require_proof_of_possession: number;
23994
- disable_sign_ups: number;
23995
24091
  hide_sign_up_disabled_error: number;
23996
24092
  callbacks: string;
23997
24093
  allowed_origins: string;
@@ -24049,7 +24145,6 @@ declare const sqlClientSchema: z.ZodObject<{
24049
24145
  custom_login_page_on: number;
24050
24146
  require_pushed_authorization_requests: number;
24051
24147
  require_proof_of_possession: number;
24052
- disable_sign_ups: number;
24053
24148
  hide_sign_up_disabled_error: number;
24054
24149
  callbacks: string;
24055
24150
  allowed_origins: string;