authhero 0.187.0 → 0.189.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 +50 -50
- package/dist/authhero.d.ts +206 -75
- package/dist/authhero.mjs +7757 -7564
- package/package.json +3 -3
package/dist/authhero.d.ts
CHANGED
|
@@ -14084,6 +14084,8 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
14084
14084
|
}>;
|
|
14085
14085
|
export type ResourceServerInsert = z.input<typeof resourceServerInsertSchema>;
|
|
14086
14086
|
export declare const resourceServerSchema: z.ZodObject<{
|
|
14087
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
14088
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
14087
14089
|
name: z.ZodString;
|
|
14088
14090
|
identifier: z.ZodString;
|
|
14089
14091
|
scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -14177,6 +14179,8 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
14177
14179
|
bound_access_tokens?: boolean | undefined;
|
|
14178
14180
|
}>>;
|
|
14179
14181
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
14182
|
+
created_at?: string | undefined;
|
|
14183
|
+
updated_at?: string | undefined;
|
|
14180
14184
|
id?: string | undefined;
|
|
14181
14185
|
scopes?: {
|
|
14182
14186
|
value: string;
|
|
@@ -14210,6 +14214,8 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
14210
14214
|
bound_access_tokens?: boolean | undefined;
|
|
14211
14215
|
}>>;
|
|
14212
14216
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
14217
|
+
created_at?: string | undefined;
|
|
14218
|
+
updated_at?: string | undefined;
|
|
14213
14219
|
id?: string | undefined;
|
|
14214
14220
|
scopes?: {
|
|
14215
14221
|
value: string;
|
|
@@ -14225,6 +14231,8 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
14225
14231
|
}>;
|
|
14226
14232
|
export type ResourceServer = z.infer<typeof resourceServerSchema>;
|
|
14227
14233
|
export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
14234
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
14235
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
14228
14236
|
name: z.ZodString;
|
|
14229
14237
|
identifier: z.ZodString;
|
|
14230
14238
|
scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -14318,6 +14326,8 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
14318
14326
|
bound_access_tokens?: boolean | undefined;
|
|
14319
14327
|
}>>;
|
|
14320
14328
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
14329
|
+
created_at?: string | undefined;
|
|
14330
|
+
updated_at?: string | undefined;
|
|
14321
14331
|
id?: string | undefined;
|
|
14322
14332
|
scopes?: {
|
|
14323
14333
|
value: string;
|
|
@@ -14351,6 +14361,8 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
14351
14361
|
bound_access_tokens?: boolean | undefined;
|
|
14352
14362
|
}>>;
|
|
14353
14363
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
14364
|
+
created_at?: string | undefined;
|
|
14365
|
+
updated_at?: string | undefined;
|
|
14354
14366
|
id?: string | undefined;
|
|
14355
14367
|
scopes?: {
|
|
14356
14368
|
value: string;
|
|
@@ -14397,6 +14409,8 @@ export declare const permissionSchema: z.ZodObject<{
|
|
|
14397
14409
|
source_name: z.ZodOptional<z.ZodString>;
|
|
14398
14410
|
source_type: z.ZodOptional<z.ZodString>;
|
|
14399
14411
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
14412
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
14413
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
14400
14414
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14401
14415
|
permission_name: z.ZodString;
|
|
14402
14416
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14415,6 +14429,8 @@ export declare const permissionSchema: z.ZodObject<{
|
|
|
14415
14429
|
source_name: z.ZodOptional<z.ZodString>;
|
|
14416
14430
|
source_type: z.ZodOptional<z.ZodString>;
|
|
14417
14431
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
14432
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
14433
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
14418
14434
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14419
14435
|
permission_name: z.ZodString;
|
|
14420
14436
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14433,6 +14449,8 @@ export declare const permissionSchema: z.ZodObject<{
|
|
|
14433
14449
|
source_name: z.ZodOptional<z.ZodString>;
|
|
14434
14450
|
source_type: z.ZodOptional<z.ZodString>;
|
|
14435
14451
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
14452
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
14453
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
14436
14454
|
}, z.ZodTypeAny, "passthrough">>;
|
|
14437
14455
|
export type Permission = z.infer<typeof permissionSchema>;
|
|
14438
14456
|
export type PermissionInsert = z.input<typeof permissionSchema>;
|
|
@@ -14454,6 +14472,8 @@ export declare const permissionListSchema: z.ZodArray<z.ZodObject<{
|
|
|
14454
14472
|
source_name: z.ZodOptional<z.ZodString>;
|
|
14455
14473
|
source_type: z.ZodOptional<z.ZodString>;
|
|
14456
14474
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
14475
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
14476
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
14457
14477
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14458
14478
|
permission_name: z.ZodString;
|
|
14459
14479
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14472,6 +14492,8 @@ export declare const permissionListSchema: z.ZodArray<z.ZodObject<{
|
|
|
14472
14492
|
source_name: z.ZodOptional<z.ZodString>;
|
|
14473
14493
|
source_type: z.ZodOptional<z.ZodString>;
|
|
14474
14494
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
14495
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
14496
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
14475
14497
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14476
14498
|
permission_name: z.ZodString;
|
|
14477
14499
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14490,86 +14512,61 @@ export declare const permissionListSchema: z.ZodArray<z.ZodObject<{
|
|
|
14490
14512
|
source_name: z.ZodOptional<z.ZodString>;
|
|
14491
14513
|
source_type: z.ZodOptional<z.ZodString>;
|
|
14492
14514
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
14515
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
14516
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
14493
14517
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
14494
14518
|
export type PermissionList = z.infer<typeof permissionListSchema>;
|
|
14495
|
-
export declare const
|
|
14519
|
+
export declare const roleInsertSchema: z.ZodObject<{
|
|
14496
14520
|
name: z.ZodString;
|
|
14497
|
-
|
|
14498
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
14499
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
14500
|
-
stage: z.ZodOptional<z.ZodString>;
|
|
14521
|
+
description: z.ZodOptional<z.ZodString>;
|
|
14501
14522
|
}, "strip", z.ZodTypeAny, {
|
|
14502
14523
|
name: string;
|
|
14503
|
-
|
|
14504
|
-
enabled?: boolean | undefined;
|
|
14505
|
-
order?: number | undefined;
|
|
14506
|
-
stage?: string | undefined;
|
|
14524
|
+
description?: string | undefined;
|
|
14507
14525
|
}, {
|
|
14508
14526
|
name: string;
|
|
14509
|
-
|
|
14510
|
-
enabled?: boolean | undefined;
|
|
14511
|
-
order?: number | undefined;
|
|
14512
|
-
stage?: string | undefined;
|
|
14527
|
+
description?: string | undefined;
|
|
14513
14528
|
}>;
|
|
14514
|
-
export
|
|
14515
|
-
export declare const ruleSchema: z.ZodObject<{
|
|
14516
|
-
name: z.ZodString;
|
|
14517
|
-
script: z.ZodString;
|
|
14518
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
14519
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
14520
|
-
stage: z.ZodOptional<z.ZodString>;
|
|
14521
|
-
id: z.ZodString;
|
|
14522
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
14523
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
14524
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14525
|
-
name: z.ZodString;
|
|
14526
|
-
script: z.ZodString;
|
|
14527
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
14528
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
14529
|
-
stage: z.ZodOptional<z.ZodString>;
|
|
14530
|
-
id: z.ZodString;
|
|
14531
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
14532
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
14533
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14534
|
-
name: z.ZodString;
|
|
14535
|
-
script: z.ZodString;
|
|
14536
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
14537
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
14538
|
-
stage: z.ZodOptional<z.ZodString>;
|
|
14539
|
-
id: z.ZodString;
|
|
14540
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
14541
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
14542
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
14543
|
-
export type Rule = z.infer<typeof ruleSchema>;
|
|
14544
|
-
export declare const ruleListSchema: z.ZodArray<z.ZodObject<{
|
|
14545
|
-
name: z.ZodString;
|
|
14546
|
-
script: z.ZodString;
|
|
14547
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
14548
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
14549
|
-
stage: z.ZodOptional<z.ZodString>;
|
|
14550
|
-
id: z.ZodString;
|
|
14529
|
+
export declare const roleSchema: z.ZodObject<{
|
|
14551
14530
|
created_at: z.ZodOptional<z.ZodString>;
|
|
14552
14531
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
14553
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14554
14532
|
name: z.ZodString;
|
|
14555
|
-
|
|
14556
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
14557
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
14558
|
-
stage: z.ZodOptional<z.ZodString>;
|
|
14533
|
+
description: z.ZodOptional<z.ZodString>;
|
|
14559
14534
|
id: z.ZodString;
|
|
14535
|
+
}, "strip", z.ZodTypeAny, {
|
|
14536
|
+
name: string;
|
|
14537
|
+
id: string;
|
|
14538
|
+
description?: string | undefined;
|
|
14539
|
+
created_at?: string | undefined;
|
|
14540
|
+
updated_at?: string | undefined;
|
|
14541
|
+
}, {
|
|
14542
|
+
name: string;
|
|
14543
|
+
id: string;
|
|
14544
|
+
description?: string | undefined;
|
|
14545
|
+
created_at?: string | undefined;
|
|
14546
|
+
updated_at?: string | undefined;
|
|
14547
|
+
}>;
|
|
14548
|
+
export type Role = z.infer<typeof roleSchema>;
|
|
14549
|
+
export type RoleInsert = z.infer<typeof roleInsertSchema>;
|
|
14550
|
+
export declare const roleListSchema: z.ZodArray<z.ZodObject<{
|
|
14560
14551
|
created_at: z.ZodOptional<z.ZodString>;
|
|
14561
14552
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
14562
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14563
14553
|
name: z.ZodString;
|
|
14564
|
-
|
|
14565
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
14566
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
14567
|
-
stage: z.ZodOptional<z.ZodString>;
|
|
14554
|
+
description: z.ZodOptional<z.ZodString>;
|
|
14568
14555
|
id: z.ZodString;
|
|
14569
|
-
|
|
14570
|
-
|
|
14571
|
-
|
|
14572
|
-
|
|
14556
|
+
}, "strip", z.ZodTypeAny, {
|
|
14557
|
+
name: string;
|
|
14558
|
+
id: string;
|
|
14559
|
+
description?: string | undefined;
|
|
14560
|
+
created_at?: string | undefined;
|
|
14561
|
+
updated_at?: string | undefined;
|
|
14562
|
+
}, {
|
|
14563
|
+
name: string;
|
|
14564
|
+
id: string;
|
|
14565
|
+
description?: string | undefined;
|
|
14566
|
+
created_at?: string | undefined;
|
|
14567
|
+
updated_at?: string | undefined;
|
|
14568
|
+
}>, "many">;
|
|
14569
|
+
export type RoleList = z.infer<typeof roleListSchema>;
|
|
14573
14570
|
export declare function parseUserId(user_id: string): {
|
|
14574
14571
|
connection: string;
|
|
14575
14572
|
id: string;
|
|
@@ -14736,16 +14733,6 @@ export interface ResourceServersAdapter {
|
|
|
14736
14733
|
update(tenant_id: string, id: string, resourceServer: Partial<ResourceServerInsert>): Promise<boolean>;
|
|
14737
14734
|
remove(tenant_id: string, id: string): Promise<boolean>;
|
|
14738
14735
|
}
|
|
14739
|
-
export interface ListRulesResponse extends Totals {
|
|
14740
|
-
rules: Rule[];
|
|
14741
|
-
}
|
|
14742
|
-
export interface RulesAdapter {
|
|
14743
|
-
create(tenant_id: string, rule: RuleInsert): Promise<Rule>;
|
|
14744
|
-
get(tenant_id: string, rule_id: string): Promise<Rule | null>;
|
|
14745
|
-
list(tenant_id: string, params?: ListParams): Promise<ListRulesResponse>;
|
|
14746
|
-
update(tenant_id: string, rule_id: string, rule: Partial<RuleInsert>): Promise<boolean>;
|
|
14747
|
-
remove(tenant_id: string, rule_id: string): Promise<boolean>;
|
|
14748
|
-
}
|
|
14749
14736
|
export interface ListPermissionsResponse extends Totals {
|
|
14750
14737
|
permissions: Permission[];
|
|
14751
14738
|
}
|
|
@@ -14756,6 +14743,20 @@ export interface PermissionsAdapter {
|
|
|
14756
14743
|
update(tenant_id: string, permission_id: string, permission: Partial<PermissionInsert>): Promise<boolean>;
|
|
14757
14744
|
remove(tenant_id: string, permission_id: string): Promise<boolean>;
|
|
14758
14745
|
}
|
|
14746
|
+
export interface ListRolesResponse {
|
|
14747
|
+
roles: Role[];
|
|
14748
|
+
totals?: Totals;
|
|
14749
|
+
start: number;
|
|
14750
|
+
limit: number;
|
|
14751
|
+
length: number;
|
|
14752
|
+
}
|
|
14753
|
+
export interface RolesAdapter {
|
|
14754
|
+
create(tenantId: string, role: RoleInsert): Promise<Role>;
|
|
14755
|
+
get(tenantId: string, roleId: string): Promise<Role | null>;
|
|
14756
|
+
list(tenantId: string, params?: ListParams): Promise<ListRolesResponse>;
|
|
14757
|
+
update(tenantId: string, roleId: string, updates: Partial<Role>): Promise<boolean>;
|
|
14758
|
+
remove(tenantId: string, roleId: string): Promise<boolean>;
|
|
14759
|
+
}
|
|
14759
14760
|
export interface DataAdapters {
|
|
14760
14761
|
applications: ApplicationsAdapter;
|
|
14761
14762
|
branding: BrandingAdapter;
|
|
@@ -14773,8 +14774,8 @@ export interface DataAdapters {
|
|
|
14773
14774
|
promptSettings: PromptSettingsAdapter;
|
|
14774
14775
|
refreshTokens: RefreshTokensAdapter;
|
|
14775
14776
|
resourceServers: ResourceServersAdapter;
|
|
14776
|
-
rules: RulesAdapter;
|
|
14777
14777
|
permissions: PermissionsAdapter;
|
|
14778
|
+
roles: RolesAdapter;
|
|
14778
14779
|
sessions: SessionsAdapter;
|
|
14779
14780
|
tenants: TenantsDataAdapter;
|
|
14780
14781
|
themes: ThemesAdapter;
|
|
@@ -15229,6 +15230,136 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
15229
15230
|
Bindings: Bindings;
|
|
15230
15231
|
Variables: Variables;
|
|
15231
15232
|
}, import("hono/types").MergeSchemaPath<{
|
|
15233
|
+
"/": {
|
|
15234
|
+
$get: {
|
|
15235
|
+
input: {
|
|
15236
|
+
query: {
|
|
15237
|
+
sort?: string | undefined;
|
|
15238
|
+
page?: string | undefined;
|
|
15239
|
+
per_page?: string | undefined;
|
|
15240
|
+
include_totals?: string | undefined;
|
|
15241
|
+
q?: string | undefined;
|
|
15242
|
+
};
|
|
15243
|
+
} & {
|
|
15244
|
+
header: {
|
|
15245
|
+
"tenant-id": string;
|
|
15246
|
+
};
|
|
15247
|
+
};
|
|
15248
|
+
output: {
|
|
15249
|
+
name: string;
|
|
15250
|
+
id: string;
|
|
15251
|
+
description?: string | undefined | undefined;
|
|
15252
|
+
created_at?: string | undefined | undefined;
|
|
15253
|
+
updated_at?: string | undefined | undefined;
|
|
15254
|
+
}[] | {
|
|
15255
|
+
length: number;
|
|
15256
|
+
start: number;
|
|
15257
|
+
limit: number;
|
|
15258
|
+
roles: {
|
|
15259
|
+
name: string;
|
|
15260
|
+
id: string;
|
|
15261
|
+
description?: string | undefined | undefined;
|
|
15262
|
+
created_at?: string | undefined | undefined;
|
|
15263
|
+
updated_at?: string | undefined | undefined;
|
|
15264
|
+
}[];
|
|
15265
|
+
};
|
|
15266
|
+
outputFormat: "json";
|
|
15267
|
+
status: 200;
|
|
15268
|
+
};
|
|
15269
|
+
};
|
|
15270
|
+
} & {
|
|
15271
|
+
"/:id": {
|
|
15272
|
+
$get: {
|
|
15273
|
+
input: {
|
|
15274
|
+
param: {
|
|
15275
|
+
id: string;
|
|
15276
|
+
};
|
|
15277
|
+
} & {
|
|
15278
|
+
header: {
|
|
15279
|
+
"tenant-id": string;
|
|
15280
|
+
};
|
|
15281
|
+
};
|
|
15282
|
+
output: {
|
|
15283
|
+
name: string;
|
|
15284
|
+
id: string;
|
|
15285
|
+
description?: string | undefined | undefined;
|
|
15286
|
+
created_at?: string | undefined | undefined;
|
|
15287
|
+
updated_at?: string | undefined | undefined;
|
|
15288
|
+
};
|
|
15289
|
+
outputFormat: "json";
|
|
15290
|
+
status: 200;
|
|
15291
|
+
};
|
|
15292
|
+
};
|
|
15293
|
+
} & {
|
|
15294
|
+
"/": {
|
|
15295
|
+
$post: {
|
|
15296
|
+
input: {
|
|
15297
|
+
header: {
|
|
15298
|
+
"tenant-id": string;
|
|
15299
|
+
};
|
|
15300
|
+
} & {
|
|
15301
|
+
json: {
|
|
15302
|
+
name: string;
|
|
15303
|
+
description?: string | undefined;
|
|
15304
|
+
};
|
|
15305
|
+
};
|
|
15306
|
+
output: {
|
|
15307
|
+
name: string;
|
|
15308
|
+
id: string;
|
|
15309
|
+
description?: string | undefined | undefined;
|
|
15310
|
+
created_at?: string | undefined | undefined;
|
|
15311
|
+
updated_at?: string | undefined | undefined;
|
|
15312
|
+
};
|
|
15313
|
+
outputFormat: "json";
|
|
15314
|
+
status: 201;
|
|
15315
|
+
};
|
|
15316
|
+
};
|
|
15317
|
+
} & {
|
|
15318
|
+
"/:id": {
|
|
15319
|
+
$patch: {
|
|
15320
|
+
input: {
|
|
15321
|
+
param: {
|
|
15322
|
+
id: string;
|
|
15323
|
+
};
|
|
15324
|
+
} & {
|
|
15325
|
+
header: {
|
|
15326
|
+
"tenant-id": string;
|
|
15327
|
+
};
|
|
15328
|
+
} & {
|
|
15329
|
+
json: {
|
|
15330
|
+
name?: string | undefined;
|
|
15331
|
+
description?: string | undefined;
|
|
15332
|
+
};
|
|
15333
|
+
};
|
|
15334
|
+
output: {
|
|
15335
|
+
name: string;
|
|
15336
|
+
id: string;
|
|
15337
|
+
description?: string | undefined | undefined;
|
|
15338
|
+
created_at?: string | undefined | undefined;
|
|
15339
|
+
updated_at?: string | undefined | undefined;
|
|
15340
|
+
};
|
|
15341
|
+
outputFormat: "json";
|
|
15342
|
+
status: 200;
|
|
15343
|
+
};
|
|
15344
|
+
};
|
|
15345
|
+
} & {
|
|
15346
|
+
"/:id": {
|
|
15347
|
+
$delete: {
|
|
15348
|
+
input: {
|
|
15349
|
+
param: {
|
|
15350
|
+
id: string;
|
|
15351
|
+
};
|
|
15352
|
+
} & {
|
|
15353
|
+
header: {
|
|
15354
|
+
"tenant-id": string;
|
|
15355
|
+
};
|
|
15356
|
+
};
|
|
15357
|
+
output: {};
|
|
15358
|
+
outputFormat: string;
|
|
15359
|
+
status: 200;
|
|
15360
|
+
};
|
|
15361
|
+
};
|
|
15362
|
+
}, "/roles"> & import("hono/types").MergeSchemaPath<{
|
|
15232
15363
|
"/": {
|
|
15233
15364
|
$get: {
|
|
15234
15365
|
input: {
|