authhero 3.1.0 → 3.2.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.
- package/dist/authhero.cjs +155 -148
- package/dist/authhero.d.ts +336 -499
- package/dist/authhero.mjs +22021 -23166
- package/dist/stats.html +1 -1
- package/package.json +8 -16
- package/dist/assets/css/shadcn-ui.css +0 -2
- package/dist/assets/u/css/tailwind.css +0 -3
- package/dist/assets/u/js/client.js +0 -1
- package/dist/shadcn-ui.css +0 -2
package/dist/authhero.d.ts
CHANGED
|
@@ -35687,6 +35687,7 @@ export declare const resourceServerOptionsSchema: z.ZodObject<{
|
|
|
35687
35687
|
}>;
|
|
35688
35688
|
export type ResourceServerOptions = z.infer<typeof resourceServerOptionsSchema>;
|
|
35689
35689
|
export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
35690
|
+
id: z.ZodOptional<z.ZodString>;
|
|
35690
35691
|
name: z.ZodString;
|
|
35691
35692
|
identifier: z.ZodString;
|
|
35692
35693
|
scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -35759,6 +35760,7 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
35759
35760
|
persist_client_authorization?: boolean | undefined;
|
|
35760
35761
|
enable_introspection_endpoint?: boolean | undefined;
|
|
35761
35762
|
} | undefined;
|
|
35763
|
+
id?: string | undefined;
|
|
35762
35764
|
is_system?: boolean | undefined;
|
|
35763
35765
|
scopes?: {
|
|
35764
35766
|
value: string;
|
|
@@ -35785,6 +35787,7 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
35785
35787
|
persist_client_authorization?: boolean | undefined;
|
|
35786
35788
|
enable_introspection_endpoint?: boolean | undefined;
|
|
35787
35789
|
} | undefined;
|
|
35790
|
+
id?: string | undefined;
|
|
35788
35791
|
is_system?: boolean | undefined;
|
|
35789
35792
|
scopes?: {
|
|
35790
35793
|
value: string;
|
|
@@ -35802,6 +35805,7 @@ export type ResourceServerInsert = z.input<typeof resourceServerInsertSchema>;
|
|
|
35802
35805
|
export declare const resourceServerSchema: z.ZodObject<{
|
|
35803
35806
|
created_at: z.ZodOptional<z.ZodString>;
|
|
35804
35807
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
35808
|
+
id: z.ZodOptional<z.ZodString>;
|
|
35805
35809
|
name: z.ZodString;
|
|
35806
35810
|
identifier: z.ZodString;
|
|
35807
35811
|
scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -35860,7 +35864,6 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
35860
35864
|
enable_introspection_endpoint?: boolean | undefined;
|
|
35861
35865
|
}>>;
|
|
35862
35866
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
35863
|
-
id: z.ZodOptional<z.ZodString>;
|
|
35864
35867
|
}, "strip", z.ZodTypeAny, {
|
|
35865
35868
|
name: string;
|
|
35866
35869
|
identifier: string;
|
|
@@ -35924,6 +35927,7 @@ export type ResourceServer = z.infer<typeof resourceServerSchema>;
|
|
|
35924
35927
|
export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
35925
35928
|
created_at: z.ZodOptional<z.ZodString>;
|
|
35926
35929
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
35930
|
+
id: z.ZodOptional<z.ZodString>;
|
|
35927
35931
|
name: z.ZodString;
|
|
35928
35932
|
identifier: z.ZodString;
|
|
35929
35933
|
scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -35982,7 +35986,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
35982
35986
|
enable_introspection_endpoint?: boolean | undefined;
|
|
35983
35987
|
}>>;
|
|
35984
35988
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
35985
|
-
id: z.ZodOptional<z.ZodString>;
|
|
35986
35989
|
}, "strip", z.ZodTypeAny, {
|
|
35987
35990
|
name: string;
|
|
35988
35991
|
identifier: string;
|
|
@@ -36261,25 +36264,29 @@ export declare const userRoleListSchema: z.ZodArray<z.ZodObject<{
|
|
|
36261
36264
|
}>, "many">;
|
|
36262
36265
|
export type UserRoleList = z.infer<typeof userRoleListSchema>;
|
|
36263
36266
|
export declare const roleInsertSchema: z.ZodObject<{
|
|
36267
|
+
id: z.ZodOptional<z.ZodString>;
|
|
36264
36268
|
name: z.ZodString;
|
|
36265
36269
|
description: z.ZodOptional<z.ZodString>;
|
|
36266
36270
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
36267
36271
|
}, "strip", z.ZodTypeAny, {
|
|
36268
36272
|
name: string;
|
|
36269
36273
|
description?: string | undefined;
|
|
36274
|
+
id?: string | undefined;
|
|
36270
36275
|
is_system?: boolean | undefined;
|
|
36271
36276
|
}, {
|
|
36272
36277
|
name: string;
|
|
36273
36278
|
description?: string | undefined;
|
|
36279
|
+
id?: string | undefined;
|
|
36274
36280
|
is_system?: boolean | undefined;
|
|
36275
36281
|
}>;
|
|
36276
36282
|
export declare const roleSchema: z.ZodObject<{
|
|
36277
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
36278
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
36279
36283
|
name: z.ZodString;
|
|
36280
36284
|
description: z.ZodOptional<z.ZodString>;
|
|
36281
36285
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
36286
|
+
} & {
|
|
36282
36287
|
id: z.ZodString;
|
|
36288
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
36289
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
36283
36290
|
}, "strip", z.ZodTypeAny, {
|
|
36284
36291
|
id: string;
|
|
36285
36292
|
name: string;
|
|
@@ -36298,12 +36305,13 @@ export declare const roleSchema: z.ZodObject<{
|
|
|
36298
36305
|
export type Role = z.infer<typeof roleSchema>;
|
|
36299
36306
|
export type RoleInsert = z.infer<typeof roleInsertSchema>;
|
|
36300
36307
|
export declare const roleListSchema: z.ZodArray<z.ZodObject<{
|
|
36301
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
36302
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
36303
36308
|
name: z.ZodString;
|
|
36304
36309
|
description: z.ZodOptional<z.ZodString>;
|
|
36305
36310
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
36311
|
+
} & {
|
|
36306
36312
|
id: z.ZodString;
|
|
36313
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
36314
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
36307
36315
|
}, "strip", z.ZodTypeAny, {
|
|
36308
36316
|
id: string;
|
|
36309
36317
|
name: string;
|
|
@@ -39390,6 +39398,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
39390
39398
|
persist_client_authorization?: boolean | undefined;
|
|
39391
39399
|
enable_introspection_endpoint?: boolean | undefined;
|
|
39392
39400
|
} | undefined;
|
|
39401
|
+
id?: string | undefined;
|
|
39393
39402
|
scopes?: {
|
|
39394
39403
|
value: string;
|
|
39395
39404
|
description?: string | undefined;
|
|
@@ -39461,6 +39470,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
39461
39470
|
persist_client_authorization?: boolean | undefined;
|
|
39462
39471
|
enable_introspection_endpoint?: boolean | undefined;
|
|
39463
39472
|
} | undefined;
|
|
39473
|
+
id?: string | undefined;
|
|
39464
39474
|
scopes?: {
|
|
39465
39475
|
value: string;
|
|
39466
39476
|
description?: string | undefined;
|
|
@@ -39587,6 +39597,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
39587
39597
|
json: {
|
|
39588
39598
|
name: string;
|
|
39589
39599
|
description?: string | undefined;
|
|
39600
|
+
id?: string | undefined;
|
|
39590
39601
|
is_system?: boolean | undefined;
|
|
39591
39602
|
};
|
|
39592
39603
|
};
|
|
@@ -39617,6 +39628,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
39617
39628
|
json: {
|
|
39618
39629
|
name?: string | undefined;
|
|
39619
39630
|
description?: string | undefined;
|
|
39631
|
+
id?: string | undefined;
|
|
39620
39632
|
is_system?: boolean | undefined;
|
|
39621
39633
|
};
|
|
39622
39634
|
};
|
|
@@ -48072,10 +48084,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
48072
48084
|
Bindings: Bindings;
|
|
48073
48085
|
Variables: Variables;
|
|
48074
48086
|
}, import("hono/types").MergeSchemaPath<{
|
|
48075
|
-
"/:formId": {
|
|
48087
|
+
"/:formId/nodes/:nodeId": {
|
|
48076
48088
|
$get: {
|
|
48077
48089
|
input: {
|
|
48078
48090
|
param: {
|
|
48091
|
+
nodeId: string;
|
|
48079
48092
|
formId: string;
|
|
48080
48093
|
};
|
|
48081
48094
|
} & {
|
|
@@ -48083,560 +48096,167 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
48083
48096
|
state: string;
|
|
48084
48097
|
};
|
|
48085
48098
|
};
|
|
48086
|
-
output: Response;
|
|
48087
|
-
outputFormat: "json";
|
|
48088
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
48089
|
-
};
|
|
48090
|
-
};
|
|
48091
|
-
}, "/flow-widget"> & import("hono/types").MergeSchemaPath<{
|
|
48092
|
-
"/screen": {
|
|
48093
|
-
$get: {
|
|
48094
|
-
input: {
|
|
48095
|
-
query: {
|
|
48096
|
-
form: string;
|
|
48097
|
-
state: string;
|
|
48098
|
-
screen?: string | undefined;
|
|
48099
|
-
};
|
|
48100
|
-
};
|
|
48101
48099
|
output: {};
|
|
48102
48100
|
outputFormat: string;
|
|
48103
|
-
status:
|
|
48101
|
+
status: 200;
|
|
48104
48102
|
} | {
|
|
48105
48103
|
input: {
|
|
48104
|
+
param: {
|
|
48105
|
+
nodeId: string;
|
|
48106
|
+
formId: string;
|
|
48107
|
+
};
|
|
48108
|
+
} & {
|
|
48106
48109
|
query: {
|
|
48107
|
-
form: string;
|
|
48108
48110
|
state: string;
|
|
48109
|
-
screen?: string | undefined;
|
|
48110
|
-
};
|
|
48111
|
-
};
|
|
48112
|
-
output: {
|
|
48113
|
-
screen: {
|
|
48114
|
-
method: "POST" | "GET";
|
|
48115
|
-
action: string;
|
|
48116
|
-
components: {
|
|
48117
|
-
type: string;
|
|
48118
|
-
id: string;
|
|
48119
|
-
required?: boolean | undefined;
|
|
48120
|
-
category?: string | undefined;
|
|
48121
|
-
config?: {
|
|
48122
|
-
[x: string]: any;
|
|
48123
|
-
} | undefined;
|
|
48124
|
-
messages?: {
|
|
48125
|
-
type: "error" | "success" | "info" | "warning";
|
|
48126
|
-
text: string;
|
|
48127
|
-
id?: number | undefined;
|
|
48128
|
-
}[] | undefined;
|
|
48129
|
-
visible?: boolean | undefined;
|
|
48130
|
-
order?: number | undefined;
|
|
48131
|
-
sensitive?: boolean | undefined;
|
|
48132
|
-
label?: string | undefined;
|
|
48133
|
-
hint?: string | undefined;
|
|
48134
|
-
}[];
|
|
48135
|
-
description?: string | undefined;
|
|
48136
|
-
title?: string | undefined;
|
|
48137
|
-
links?: {
|
|
48138
|
-
text: string;
|
|
48139
|
-
href: string;
|
|
48140
|
-
id?: string | undefined;
|
|
48141
|
-
linkText?: string | undefined;
|
|
48142
|
-
}[] | undefined;
|
|
48143
|
-
messages?: {
|
|
48144
|
-
type: "error" | "success" | "info" | "warning";
|
|
48145
|
-
text: string;
|
|
48146
|
-
id?: number | undefined;
|
|
48147
|
-
}[] | undefined;
|
|
48148
48111
|
};
|
|
48149
|
-
branding?: {
|
|
48150
|
-
colors?: {
|
|
48151
|
-
page_background?: string | undefined;
|
|
48152
|
-
primary?: string | undefined;
|
|
48153
|
-
} | undefined;
|
|
48154
|
-
logo_url?: string | undefined;
|
|
48155
|
-
favicon_url?: string | undefined;
|
|
48156
|
-
font?: {
|
|
48157
|
-
url?: string | undefined;
|
|
48158
|
-
} | undefined;
|
|
48159
|
-
} | undefined;
|
|
48160
48112
|
};
|
|
48161
|
-
|
|
48162
|
-
|
|
48113
|
+
output: {};
|
|
48114
|
+
outputFormat: string;
|
|
48115
|
+
status: 404;
|
|
48163
48116
|
};
|
|
48164
48117
|
};
|
|
48165
48118
|
} & {
|
|
48166
|
-
"/:formId/
|
|
48167
|
-
$
|
|
48119
|
+
"/:formId/nodes/:nodeId": {
|
|
48120
|
+
$post: {
|
|
48168
48121
|
input: {
|
|
48169
48122
|
param: {
|
|
48123
|
+
nodeId: string;
|
|
48170
48124
|
formId: string;
|
|
48171
48125
|
};
|
|
48172
48126
|
} & {
|
|
48173
48127
|
query: {
|
|
48174
48128
|
state: string;
|
|
48175
|
-
nodeId?: string | undefined;
|
|
48176
48129
|
};
|
|
48130
|
+
} & {
|
|
48131
|
+
form: Record<string, string>;
|
|
48177
48132
|
};
|
|
48178
48133
|
output: {};
|
|
48179
48134
|
outputFormat: string;
|
|
48180
|
-
status:
|
|
48135
|
+
status: 200;
|
|
48181
48136
|
} | {
|
|
48182
48137
|
input: {
|
|
48183
48138
|
param: {
|
|
48139
|
+
nodeId: string;
|
|
48184
48140
|
formId: string;
|
|
48185
48141
|
};
|
|
48186
48142
|
} & {
|
|
48187
48143
|
query: {
|
|
48188
48144
|
state: string;
|
|
48189
|
-
nodeId?: string | undefined;
|
|
48190
48145
|
};
|
|
48146
|
+
} & {
|
|
48147
|
+
form: Record<string, string>;
|
|
48191
48148
|
};
|
|
48192
|
-
output: {
|
|
48193
|
-
|
|
48194
|
-
|
|
48195
|
-
|
|
48196
|
-
|
|
48197
|
-
|
|
48198
|
-
|
|
48199
|
-
|
|
48200
|
-
|
|
48201
|
-
|
|
48202
|
-
|
|
48203
|
-
} | undefined;
|
|
48204
|
-
messages?: {
|
|
48205
|
-
type: "error" | "success" | "info" | "warning";
|
|
48206
|
-
text: string;
|
|
48207
|
-
id?: number | undefined;
|
|
48208
|
-
}[] | undefined;
|
|
48209
|
-
visible?: boolean | undefined;
|
|
48210
|
-
order?: number | undefined;
|
|
48211
|
-
sensitive?: boolean | undefined;
|
|
48212
|
-
label?: string | undefined;
|
|
48213
|
-
hint?: string | undefined;
|
|
48214
|
-
}[];
|
|
48215
|
-
description?: string | undefined;
|
|
48216
|
-
title?: string | undefined;
|
|
48217
|
-
links?: {
|
|
48218
|
-
text: string;
|
|
48219
|
-
href: string;
|
|
48220
|
-
id?: string | undefined;
|
|
48221
|
-
linkText?: string | undefined;
|
|
48222
|
-
}[] | undefined;
|
|
48223
|
-
messages?: {
|
|
48224
|
-
type: "error" | "success" | "info" | "warning";
|
|
48225
|
-
text: string;
|
|
48226
|
-
id?: number | undefined;
|
|
48227
|
-
}[] | undefined;
|
|
48149
|
+
output: {};
|
|
48150
|
+
outputFormat: string;
|
|
48151
|
+
status: 404;
|
|
48152
|
+
};
|
|
48153
|
+
};
|
|
48154
|
+
}, "/forms"> & import("hono/types").MergeSchemaPath<{
|
|
48155
|
+
"/": {
|
|
48156
|
+
$get: {
|
|
48157
|
+
input: {
|
|
48158
|
+
query: {
|
|
48159
|
+
state: string;
|
|
48228
48160
|
};
|
|
48229
|
-
branding?: {
|
|
48230
|
-
colors?: {
|
|
48231
|
-
page_background?: string | undefined;
|
|
48232
|
-
primary?: string | undefined;
|
|
48233
|
-
} | undefined;
|
|
48234
|
-
logo_url?: string | undefined;
|
|
48235
|
-
favicon_url?: string | undefined;
|
|
48236
|
-
font?: {
|
|
48237
|
-
url?: string | undefined;
|
|
48238
|
-
} | undefined;
|
|
48239
|
-
} | undefined;
|
|
48240
48161
|
};
|
|
48241
|
-
|
|
48162
|
+
output: {};
|
|
48163
|
+
outputFormat: string;
|
|
48242
48164
|
status: 200;
|
|
48165
|
+
} | {
|
|
48166
|
+
input: {
|
|
48167
|
+
query: {
|
|
48168
|
+
state: string;
|
|
48169
|
+
};
|
|
48170
|
+
};
|
|
48171
|
+
output: {};
|
|
48172
|
+
outputFormat: string;
|
|
48173
|
+
status: 400;
|
|
48174
|
+
};
|
|
48175
|
+
};
|
|
48176
|
+
} & {
|
|
48177
|
+
"/continue": {
|
|
48178
|
+
$post: {
|
|
48179
|
+
input: {
|
|
48180
|
+
query: {
|
|
48181
|
+
state: string;
|
|
48182
|
+
};
|
|
48183
|
+
};
|
|
48184
|
+
output: {};
|
|
48185
|
+
outputFormat: string;
|
|
48186
|
+
status: 302;
|
|
48243
48187
|
};
|
|
48244
48188
|
};
|
|
48245
48189
|
} & {
|
|
48246
|
-
"/
|
|
48190
|
+
"/switch": {
|
|
48247
48191
|
$post: {
|
|
48248
48192
|
input: {
|
|
48249
48193
|
query: {
|
|
48250
|
-
form: string;
|
|
48251
48194
|
state: string;
|
|
48252
|
-
screen?: string | undefined;
|
|
48253
48195
|
};
|
|
48254
48196
|
} & {
|
|
48255
|
-
|
|
48256
|
-
|
|
48197
|
+
form: {
|
|
48198
|
+
user_id: string;
|
|
48257
48199
|
};
|
|
48258
48200
|
};
|
|
48259
48201
|
output: {};
|
|
48260
48202
|
outputFormat: string;
|
|
48261
|
-
status:
|
|
48203
|
+
status: 302;
|
|
48262
48204
|
} | {
|
|
48263
48205
|
input: {
|
|
48264
48206
|
query: {
|
|
48265
|
-
form: string;
|
|
48266
48207
|
state: string;
|
|
48267
|
-
screen?: string | undefined;
|
|
48268
48208
|
};
|
|
48269
48209
|
} & {
|
|
48270
|
-
|
|
48271
|
-
|
|
48210
|
+
form: {
|
|
48211
|
+
user_id: string;
|
|
48272
48212
|
};
|
|
48273
48213
|
};
|
|
48274
48214
|
output: {};
|
|
48275
48215
|
outputFormat: string;
|
|
48276
|
-
status:
|
|
48216
|
+
status: 400;
|
|
48217
|
+
};
|
|
48218
|
+
};
|
|
48219
|
+
}, "/impersonate"> & import("hono/types").MergeSchemaPath<{
|
|
48220
|
+
"/": {
|
|
48221
|
+
$get: {
|
|
48222
|
+
input: {
|
|
48223
|
+
query: {
|
|
48224
|
+
state: string;
|
|
48225
|
+
code?: string | undefined;
|
|
48226
|
+
};
|
|
48227
|
+
};
|
|
48228
|
+
output: {};
|
|
48229
|
+
outputFormat: string;
|
|
48230
|
+
status: 200;
|
|
48231
|
+
};
|
|
48232
|
+
};
|
|
48233
|
+
} & {
|
|
48234
|
+
"/": {
|
|
48235
|
+
$post: {
|
|
48236
|
+
input: {
|
|
48237
|
+
query: {
|
|
48238
|
+
state: string;
|
|
48239
|
+
};
|
|
48240
|
+
} & {
|
|
48241
|
+
form: {
|
|
48242
|
+
password: string;
|
|
48243
|
+
"re-enter-password": string;
|
|
48244
|
+
code?: string | undefined;
|
|
48245
|
+
};
|
|
48246
|
+
};
|
|
48247
|
+
output: Response;
|
|
48248
|
+
outputFormat: "json";
|
|
48249
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
48277
48250
|
} | {
|
|
48278
48251
|
input: {
|
|
48279
48252
|
query: {
|
|
48280
|
-
form: string;
|
|
48281
48253
|
state: string;
|
|
48282
|
-
screen?: string | undefined;
|
|
48283
48254
|
};
|
|
48284
48255
|
} & {
|
|
48285
|
-
|
|
48286
|
-
|
|
48287
|
-
|
|
48288
|
-
|
|
48289
|
-
output: {
|
|
48290
|
-
screen: {
|
|
48291
|
-
method: "POST" | "GET";
|
|
48292
|
-
action: string;
|
|
48293
|
-
components: {
|
|
48294
|
-
type: string;
|
|
48295
|
-
id: string;
|
|
48296
|
-
required?: boolean | undefined;
|
|
48297
|
-
category?: string | undefined;
|
|
48298
|
-
config?: {
|
|
48299
|
-
[x: string]: any;
|
|
48300
|
-
} | undefined;
|
|
48301
|
-
messages?: {
|
|
48302
|
-
type: "error" | "success" | "info" | "warning";
|
|
48303
|
-
text: string;
|
|
48304
|
-
id?: number | undefined;
|
|
48305
|
-
}[] | undefined;
|
|
48306
|
-
visible?: boolean | undefined;
|
|
48307
|
-
order?: number | undefined;
|
|
48308
|
-
sensitive?: boolean | undefined;
|
|
48309
|
-
label?: string | undefined;
|
|
48310
|
-
hint?: string | undefined;
|
|
48311
|
-
}[];
|
|
48312
|
-
description?: string | undefined;
|
|
48313
|
-
title?: string | undefined;
|
|
48314
|
-
links?: {
|
|
48315
|
-
text: string;
|
|
48316
|
-
href: string;
|
|
48317
|
-
id?: string | undefined;
|
|
48318
|
-
linkText?: string | undefined;
|
|
48319
|
-
}[] | undefined;
|
|
48320
|
-
messages?: {
|
|
48321
|
-
type: "error" | "success" | "info" | "warning";
|
|
48322
|
-
text: string;
|
|
48323
|
-
id?: number | undefined;
|
|
48324
|
-
}[] | undefined;
|
|
48325
|
-
};
|
|
48326
|
-
branding?: {
|
|
48327
|
-
colors?: {
|
|
48328
|
-
page_background?: string | undefined;
|
|
48329
|
-
primary?: string | undefined;
|
|
48330
|
-
} | undefined;
|
|
48331
|
-
logo_url?: string | undefined;
|
|
48332
|
-
favicon_url?: string | undefined;
|
|
48333
|
-
font?: {
|
|
48334
|
-
url?: string | undefined;
|
|
48335
|
-
} | undefined;
|
|
48336
|
-
} | undefined;
|
|
48337
|
-
} | {
|
|
48338
|
-
redirect: string;
|
|
48339
|
-
} | {
|
|
48340
|
-
complete: boolean;
|
|
48341
|
-
tokens?: {
|
|
48342
|
-
access_token?: string | undefined;
|
|
48343
|
-
refresh_token?: string | undefined;
|
|
48344
|
-
id_token?: string | undefined;
|
|
48345
|
-
} | undefined;
|
|
48346
|
-
};
|
|
48347
|
-
outputFormat: "json";
|
|
48348
|
-
status: 200;
|
|
48349
|
-
};
|
|
48350
|
-
};
|
|
48351
|
-
} & {
|
|
48352
|
-
"/:formId/screen": {
|
|
48353
|
-
$post: {
|
|
48354
|
-
input: {
|
|
48355
|
-
param: {
|
|
48356
|
-
formId: string;
|
|
48357
|
-
};
|
|
48358
|
-
} & {
|
|
48359
|
-
query: {
|
|
48360
|
-
state: string;
|
|
48361
|
-
nodeId?: string | undefined;
|
|
48362
|
-
};
|
|
48363
|
-
} & {
|
|
48364
|
-
json: {
|
|
48365
|
-
data: Record<string, any>;
|
|
48366
|
-
};
|
|
48367
|
-
};
|
|
48368
|
-
output: {};
|
|
48369
|
-
outputFormat: string;
|
|
48370
|
-
status: 400;
|
|
48371
|
-
} | {
|
|
48372
|
-
input: {
|
|
48373
|
-
param: {
|
|
48374
|
-
formId: string;
|
|
48375
|
-
};
|
|
48376
|
-
} & {
|
|
48377
|
-
query: {
|
|
48378
|
-
state: string;
|
|
48379
|
-
nodeId?: string | undefined;
|
|
48380
|
-
};
|
|
48381
|
-
} & {
|
|
48382
|
-
json: {
|
|
48383
|
-
data: Record<string, any>;
|
|
48384
|
-
};
|
|
48385
|
-
};
|
|
48386
|
-
output: {};
|
|
48387
|
-
outputFormat: string;
|
|
48388
|
-
status: 404;
|
|
48389
|
-
} | {
|
|
48390
|
-
input: {
|
|
48391
|
-
param: {
|
|
48392
|
-
formId: string;
|
|
48393
|
-
};
|
|
48394
|
-
} & {
|
|
48395
|
-
query: {
|
|
48396
|
-
state: string;
|
|
48397
|
-
nodeId?: string | undefined;
|
|
48398
|
-
};
|
|
48399
|
-
} & {
|
|
48400
|
-
json: {
|
|
48401
|
-
data: Record<string, any>;
|
|
48402
|
-
};
|
|
48403
|
-
};
|
|
48404
|
-
output: {
|
|
48405
|
-
screen: {
|
|
48406
|
-
method: "POST" | "GET";
|
|
48407
|
-
action: string;
|
|
48408
|
-
components: {
|
|
48409
|
-
type: string;
|
|
48410
|
-
id: string;
|
|
48411
|
-
required?: boolean | undefined;
|
|
48412
|
-
category?: string | undefined;
|
|
48413
|
-
config?: {
|
|
48414
|
-
[x: string]: any;
|
|
48415
|
-
} | undefined;
|
|
48416
|
-
messages?: {
|
|
48417
|
-
type: "error" | "success" | "info" | "warning";
|
|
48418
|
-
text: string;
|
|
48419
|
-
id?: number | undefined;
|
|
48420
|
-
}[] | undefined;
|
|
48421
|
-
visible?: boolean | undefined;
|
|
48422
|
-
order?: number | undefined;
|
|
48423
|
-
sensitive?: boolean | undefined;
|
|
48424
|
-
label?: string | undefined;
|
|
48425
|
-
hint?: string | undefined;
|
|
48426
|
-
}[];
|
|
48427
|
-
description?: string | undefined;
|
|
48428
|
-
title?: string | undefined;
|
|
48429
|
-
links?: {
|
|
48430
|
-
text: string;
|
|
48431
|
-
href: string;
|
|
48432
|
-
id?: string | undefined;
|
|
48433
|
-
linkText?: string | undefined;
|
|
48434
|
-
}[] | undefined;
|
|
48435
|
-
messages?: {
|
|
48436
|
-
type: "error" | "success" | "info" | "warning";
|
|
48437
|
-
text: string;
|
|
48438
|
-
id?: number | undefined;
|
|
48439
|
-
}[] | undefined;
|
|
48440
|
-
};
|
|
48441
|
-
branding?: {
|
|
48442
|
-
colors?: {
|
|
48443
|
-
page_background?: string | undefined;
|
|
48444
|
-
primary?: string | undefined;
|
|
48445
|
-
} | undefined;
|
|
48446
|
-
logo_url?: string | undefined;
|
|
48447
|
-
favicon_url?: string | undefined;
|
|
48448
|
-
font?: {
|
|
48449
|
-
url?: string | undefined;
|
|
48450
|
-
} | undefined;
|
|
48451
|
-
} | undefined;
|
|
48452
|
-
} | {
|
|
48453
|
-
redirect: string;
|
|
48454
|
-
} | {
|
|
48455
|
-
complete: boolean;
|
|
48456
|
-
tokens?: {
|
|
48457
|
-
access_token?: string | undefined;
|
|
48458
|
-
refresh_token?: string | undefined;
|
|
48459
|
-
id_token?: string | undefined;
|
|
48460
|
-
} | undefined;
|
|
48461
|
-
};
|
|
48462
|
-
outputFormat: "json";
|
|
48463
|
-
status: 200;
|
|
48464
|
-
};
|
|
48465
|
-
};
|
|
48466
|
-
}, "/flow"> & import("hono/types").MergeSchemaPath<{
|
|
48467
|
-
"/:formId/nodes/:nodeId": {
|
|
48468
|
-
$get: {
|
|
48469
|
-
input: {
|
|
48470
|
-
param: {
|
|
48471
|
-
nodeId: string;
|
|
48472
|
-
formId: string;
|
|
48473
|
-
};
|
|
48474
|
-
} & {
|
|
48475
|
-
query: {
|
|
48476
|
-
state: string;
|
|
48477
|
-
};
|
|
48478
|
-
};
|
|
48479
|
-
output: {};
|
|
48480
|
-
outputFormat: string;
|
|
48481
|
-
status: 200;
|
|
48482
|
-
} | {
|
|
48483
|
-
input: {
|
|
48484
|
-
param: {
|
|
48485
|
-
nodeId: string;
|
|
48486
|
-
formId: string;
|
|
48487
|
-
};
|
|
48488
|
-
} & {
|
|
48489
|
-
query: {
|
|
48490
|
-
state: string;
|
|
48491
|
-
};
|
|
48492
|
-
};
|
|
48493
|
-
output: {};
|
|
48494
|
-
outputFormat: string;
|
|
48495
|
-
status: 404;
|
|
48496
|
-
};
|
|
48497
|
-
};
|
|
48498
|
-
} & {
|
|
48499
|
-
"/:formId/nodes/:nodeId": {
|
|
48500
|
-
$post: {
|
|
48501
|
-
input: {
|
|
48502
|
-
param: {
|
|
48503
|
-
nodeId: string;
|
|
48504
|
-
formId: string;
|
|
48505
|
-
};
|
|
48506
|
-
} & {
|
|
48507
|
-
query: {
|
|
48508
|
-
state: string;
|
|
48509
|
-
};
|
|
48510
|
-
} & {
|
|
48511
|
-
form: Record<string, string>;
|
|
48512
|
-
};
|
|
48513
|
-
output: {};
|
|
48514
|
-
outputFormat: string;
|
|
48515
|
-
status: 200;
|
|
48516
|
-
} | {
|
|
48517
|
-
input: {
|
|
48518
|
-
param: {
|
|
48519
|
-
nodeId: string;
|
|
48520
|
-
formId: string;
|
|
48521
|
-
};
|
|
48522
|
-
} & {
|
|
48523
|
-
query: {
|
|
48524
|
-
state: string;
|
|
48525
|
-
};
|
|
48526
|
-
} & {
|
|
48527
|
-
form: Record<string, string>;
|
|
48528
|
-
};
|
|
48529
|
-
output: {};
|
|
48530
|
-
outputFormat: string;
|
|
48531
|
-
status: 404;
|
|
48532
|
-
};
|
|
48533
|
-
};
|
|
48534
|
-
}, "/forms"> & import("hono/types").MergeSchemaPath<{
|
|
48535
|
-
"/": {
|
|
48536
|
-
$get: {
|
|
48537
|
-
input: {
|
|
48538
|
-
query: {
|
|
48539
|
-
state: string;
|
|
48540
|
-
};
|
|
48541
|
-
};
|
|
48542
|
-
output: {};
|
|
48543
|
-
outputFormat: string;
|
|
48544
|
-
status: 200;
|
|
48545
|
-
} | {
|
|
48546
|
-
input: {
|
|
48547
|
-
query: {
|
|
48548
|
-
state: string;
|
|
48549
|
-
};
|
|
48550
|
-
};
|
|
48551
|
-
output: {};
|
|
48552
|
-
outputFormat: string;
|
|
48553
|
-
status: 400;
|
|
48554
|
-
};
|
|
48555
|
-
};
|
|
48556
|
-
} & {
|
|
48557
|
-
"/continue": {
|
|
48558
|
-
$post: {
|
|
48559
|
-
input: {
|
|
48560
|
-
query: {
|
|
48561
|
-
state: string;
|
|
48562
|
-
};
|
|
48563
|
-
};
|
|
48564
|
-
output: {};
|
|
48565
|
-
outputFormat: string;
|
|
48566
|
-
status: 302;
|
|
48567
|
-
};
|
|
48568
|
-
};
|
|
48569
|
-
} & {
|
|
48570
|
-
"/switch": {
|
|
48571
|
-
$post: {
|
|
48572
|
-
input: {
|
|
48573
|
-
query: {
|
|
48574
|
-
state: string;
|
|
48575
|
-
};
|
|
48576
|
-
} & {
|
|
48577
|
-
form: {
|
|
48578
|
-
user_id: string;
|
|
48579
|
-
};
|
|
48580
|
-
};
|
|
48581
|
-
output: {};
|
|
48582
|
-
outputFormat: string;
|
|
48583
|
-
status: 302;
|
|
48584
|
-
} | {
|
|
48585
|
-
input: {
|
|
48586
|
-
query: {
|
|
48587
|
-
state: string;
|
|
48588
|
-
};
|
|
48589
|
-
} & {
|
|
48590
|
-
form: {
|
|
48591
|
-
user_id: string;
|
|
48592
|
-
};
|
|
48593
|
-
};
|
|
48594
|
-
output: {};
|
|
48595
|
-
outputFormat: string;
|
|
48596
|
-
status: 400;
|
|
48597
|
-
};
|
|
48598
|
-
};
|
|
48599
|
-
}, "/impersonate"> & import("hono/types").MergeSchemaPath<{
|
|
48600
|
-
"/": {
|
|
48601
|
-
$get: {
|
|
48602
|
-
input: {
|
|
48603
|
-
query: {
|
|
48604
|
-
state: string;
|
|
48605
|
-
code?: string | undefined;
|
|
48606
|
-
};
|
|
48607
|
-
};
|
|
48608
|
-
output: {};
|
|
48609
|
-
outputFormat: string;
|
|
48610
|
-
status: 200;
|
|
48611
|
-
};
|
|
48612
|
-
};
|
|
48613
|
-
} & {
|
|
48614
|
-
"/": {
|
|
48615
|
-
$post: {
|
|
48616
|
-
input: {
|
|
48617
|
-
query: {
|
|
48618
|
-
state: string;
|
|
48619
|
-
};
|
|
48620
|
-
} & {
|
|
48621
|
-
form: {
|
|
48622
|
-
password: string;
|
|
48623
|
-
"re-enter-password": string;
|
|
48624
|
-
code?: string | undefined;
|
|
48625
|
-
};
|
|
48626
|
-
};
|
|
48627
|
-
output: Response;
|
|
48628
|
-
outputFormat: "json";
|
|
48629
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
48630
|
-
} | {
|
|
48631
|
-
input: {
|
|
48632
|
-
query: {
|
|
48633
|
-
state: string;
|
|
48634
|
-
};
|
|
48635
|
-
} & {
|
|
48636
|
-
form: {
|
|
48637
|
-
password: string;
|
|
48638
|
-
"re-enter-password": string;
|
|
48639
|
-
code?: string | undefined;
|
|
48256
|
+
form: {
|
|
48257
|
+
password: string;
|
|
48258
|
+
"re-enter-password": string;
|
|
48259
|
+
code?: string | undefined;
|
|
48640
48260
|
};
|
|
48641
48261
|
};
|
|
48642
48262
|
output: {};
|
|
@@ -48878,7 +48498,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
48878
48498
|
input: {
|
|
48879
48499
|
query: {
|
|
48880
48500
|
state: string;
|
|
48881
|
-
style?: "classic" | "shadcn" | undefined;
|
|
48882
48501
|
};
|
|
48883
48502
|
} & {
|
|
48884
48503
|
form: {
|
|
@@ -48893,7 +48512,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
48893
48512
|
input: {
|
|
48894
48513
|
query: {
|
|
48895
48514
|
state: string;
|
|
48896
|
-
style?: "classic" | "shadcn" | undefined;
|
|
48897
48515
|
};
|
|
48898
48516
|
} & {
|
|
48899
48517
|
form: {
|
|
@@ -49159,6 +48777,225 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
49159
48777
|
};
|
|
49160
48778
|
};
|
|
49161
48779
|
}, "/info">, "/">;
|
|
48780
|
+
u2App: OpenAPIHono<{
|
|
48781
|
+
Bindings: Bindings;
|
|
48782
|
+
Variables: Variables;
|
|
48783
|
+
}, import("hono/types").MergeSchemaPath<{
|
|
48784
|
+
[x: string]: {
|
|
48785
|
+
$get: {
|
|
48786
|
+
input: {
|
|
48787
|
+
query: {
|
|
48788
|
+
state: string;
|
|
48789
|
+
};
|
|
48790
|
+
};
|
|
48791
|
+
output: Response;
|
|
48792
|
+
outputFormat: "json";
|
|
48793
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
48794
|
+
};
|
|
48795
|
+
};
|
|
48796
|
+
}, "/"> & import("hono/types").MergeSchemaPath<{
|
|
48797
|
+
"/:screenId": {
|
|
48798
|
+
$get: {
|
|
48799
|
+
input: {
|
|
48800
|
+
param: {
|
|
48801
|
+
screenId: string;
|
|
48802
|
+
};
|
|
48803
|
+
} & {
|
|
48804
|
+
query: {
|
|
48805
|
+
state: string;
|
|
48806
|
+
nodeId?: string | undefined;
|
|
48807
|
+
};
|
|
48808
|
+
};
|
|
48809
|
+
output: {};
|
|
48810
|
+
outputFormat: string;
|
|
48811
|
+
status: 404;
|
|
48812
|
+
} | {
|
|
48813
|
+
input: {
|
|
48814
|
+
param: {
|
|
48815
|
+
screenId: string;
|
|
48816
|
+
};
|
|
48817
|
+
} & {
|
|
48818
|
+
query: {
|
|
48819
|
+
state: string;
|
|
48820
|
+
nodeId?: string | undefined;
|
|
48821
|
+
};
|
|
48822
|
+
};
|
|
48823
|
+
output: {
|
|
48824
|
+
screen: {
|
|
48825
|
+
method: "POST" | "GET";
|
|
48826
|
+
action: string;
|
|
48827
|
+
components: {
|
|
48828
|
+
type: string;
|
|
48829
|
+
id: string;
|
|
48830
|
+
required?: boolean | undefined;
|
|
48831
|
+
category?: string | undefined;
|
|
48832
|
+
config?: {
|
|
48833
|
+
[x: string]: any;
|
|
48834
|
+
} | undefined;
|
|
48835
|
+
messages?: {
|
|
48836
|
+
type: "error" | "success" | "info" | "warning";
|
|
48837
|
+
text: string;
|
|
48838
|
+
id?: number | undefined;
|
|
48839
|
+
}[] | undefined;
|
|
48840
|
+
visible?: boolean | undefined;
|
|
48841
|
+
order?: number | undefined;
|
|
48842
|
+
sensitive?: boolean | undefined;
|
|
48843
|
+
label?: string | undefined;
|
|
48844
|
+
hint?: string | undefined;
|
|
48845
|
+
}[];
|
|
48846
|
+
description?: string | undefined;
|
|
48847
|
+
title?: string | undefined;
|
|
48848
|
+
links?: {
|
|
48849
|
+
text: string;
|
|
48850
|
+
href: string;
|
|
48851
|
+
id?: string | undefined;
|
|
48852
|
+
linkText?: string | undefined;
|
|
48853
|
+
}[] | undefined;
|
|
48854
|
+
messages?: {
|
|
48855
|
+
type: "error" | "success" | "info" | "warning";
|
|
48856
|
+
text: string;
|
|
48857
|
+
id?: number | undefined;
|
|
48858
|
+
}[] | undefined;
|
|
48859
|
+
};
|
|
48860
|
+
branding?: {
|
|
48861
|
+
colors?: {
|
|
48862
|
+
page_background?: string | {
|
|
48863
|
+
type?: string | undefined;
|
|
48864
|
+
start?: string | undefined;
|
|
48865
|
+
end?: string | undefined;
|
|
48866
|
+
angle_deg?: number | undefined;
|
|
48867
|
+
} | undefined;
|
|
48868
|
+
primary?: string | undefined;
|
|
48869
|
+
} | undefined;
|
|
48870
|
+
logo_url?: string | undefined;
|
|
48871
|
+
favicon_url?: string | undefined;
|
|
48872
|
+
powered_by_logo_url?: string | undefined;
|
|
48873
|
+
font?: {
|
|
48874
|
+
url?: string | undefined;
|
|
48875
|
+
} | undefined;
|
|
48876
|
+
} | undefined;
|
|
48877
|
+
};
|
|
48878
|
+
outputFormat: "json";
|
|
48879
|
+
status: 200;
|
|
48880
|
+
};
|
|
48881
|
+
};
|
|
48882
|
+
} & {
|
|
48883
|
+
"/:screenId": {
|
|
48884
|
+
$post: {
|
|
48885
|
+
input: {
|
|
48886
|
+
param: {
|
|
48887
|
+
screenId: string;
|
|
48888
|
+
};
|
|
48889
|
+
} & {
|
|
48890
|
+
query: {
|
|
48891
|
+
state: string;
|
|
48892
|
+
nodeId?: string | undefined;
|
|
48893
|
+
};
|
|
48894
|
+
} & {
|
|
48895
|
+
json: {
|
|
48896
|
+
data: Record<string, any>;
|
|
48897
|
+
};
|
|
48898
|
+
};
|
|
48899
|
+
output: {};
|
|
48900
|
+
outputFormat: string;
|
|
48901
|
+
status: 400;
|
|
48902
|
+
} | {
|
|
48903
|
+
input: {
|
|
48904
|
+
param: {
|
|
48905
|
+
screenId: string;
|
|
48906
|
+
};
|
|
48907
|
+
} & {
|
|
48908
|
+
query: {
|
|
48909
|
+
state: string;
|
|
48910
|
+
nodeId?: string | undefined;
|
|
48911
|
+
};
|
|
48912
|
+
} & {
|
|
48913
|
+
json: {
|
|
48914
|
+
data: Record<string, any>;
|
|
48915
|
+
};
|
|
48916
|
+
};
|
|
48917
|
+
output: {};
|
|
48918
|
+
outputFormat: string;
|
|
48919
|
+
status: 404;
|
|
48920
|
+
} | {
|
|
48921
|
+
input: {
|
|
48922
|
+
param: {
|
|
48923
|
+
screenId: string;
|
|
48924
|
+
};
|
|
48925
|
+
} & {
|
|
48926
|
+
query: {
|
|
48927
|
+
state: string;
|
|
48928
|
+
nodeId?: string | undefined;
|
|
48929
|
+
};
|
|
48930
|
+
} & {
|
|
48931
|
+
json: {
|
|
48932
|
+
data: Record<string, any>;
|
|
48933
|
+
};
|
|
48934
|
+
};
|
|
48935
|
+
output: {
|
|
48936
|
+
screen: {
|
|
48937
|
+
method: "POST" | "GET";
|
|
48938
|
+
action: string;
|
|
48939
|
+
components: {
|
|
48940
|
+
type: string;
|
|
48941
|
+
id: string;
|
|
48942
|
+
required?: boolean | undefined;
|
|
48943
|
+
category?: string | undefined;
|
|
48944
|
+
config?: {
|
|
48945
|
+
[x: string]: any;
|
|
48946
|
+
} | undefined;
|
|
48947
|
+
messages?: {
|
|
48948
|
+
type: "error" | "success" | "info" | "warning";
|
|
48949
|
+
text: string;
|
|
48950
|
+
id?: number | undefined;
|
|
48951
|
+
}[] | undefined;
|
|
48952
|
+
visible?: boolean | undefined;
|
|
48953
|
+
order?: number | undefined;
|
|
48954
|
+
sensitive?: boolean | undefined;
|
|
48955
|
+
label?: string | undefined;
|
|
48956
|
+
hint?: string | undefined;
|
|
48957
|
+
}[];
|
|
48958
|
+
description?: string | undefined;
|
|
48959
|
+
title?: string | undefined;
|
|
48960
|
+
links?: {
|
|
48961
|
+
text: string;
|
|
48962
|
+
href: string;
|
|
48963
|
+
id?: string | undefined;
|
|
48964
|
+
linkText?: string | undefined;
|
|
48965
|
+
}[] | undefined;
|
|
48966
|
+
messages?: {
|
|
48967
|
+
type: "error" | "success" | "info" | "warning";
|
|
48968
|
+
text: string;
|
|
48969
|
+
id?: number | undefined;
|
|
48970
|
+
}[] | undefined;
|
|
48971
|
+
};
|
|
48972
|
+
branding?: {
|
|
48973
|
+
colors?: {
|
|
48974
|
+
page_background?: string | {
|
|
48975
|
+
type?: string | undefined;
|
|
48976
|
+
start?: string | undefined;
|
|
48977
|
+
end?: string | undefined;
|
|
48978
|
+
angle_deg?: number | undefined;
|
|
48979
|
+
} | undefined;
|
|
48980
|
+
primary?: string | undefined;
|
|
48981
|
+
} | undefined;
|
|
48982
|
+
logo_url?: string | undefined;
|
|
48983
|
+
favicon_url?: string | undefined;
|
|
48984
|
+
powered_by_logo_url?: string | undefined;
|
|
48985
|
+
font?: {
|
|
48986
|
+
url?: string | undefined;
|
|
48987
|
+
} | undefined;
|
|
48988
|
+
} | undefined;
|
|
48989
|
+
} | {
|
|
48990
|
+
redirect: string;
|
|
48991
|
+
} | {
|
|
48992
|
+
complete: boolean;
|
|
48993
|
+
};
|
|
48994
|
+
outputFormat: "json";
|
|
48995
|
+
status: 200;
|
|
48996
|
+
};
|
|
48997
|
+
};
|
|
48998
|
+
}, "/screen">, "/">;
|
|
49162
48999
|
createX509Certificate: typeof createX509Certificate;
|
|
49163
49000
|
};
|
|
49164
49001
|
|