@fuzdev/fuz_app 0.155.1 → 0.156.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/actions/CLAUDE.md +27 -14
- package/dist/actions/action_codegen.d.ts +10 -3
- package/dist/actions/action_codegen.d.ts.map +1 -1
- package/dist/actions/action_codegen.js +52 -13
- package/dist/actions/action_event.d.ts.map +1 -1
- package/dist/actions/action_event.js +13 -11
- package/dist/actions/action_rpc.d.ts +4 -3
- package/dist/actions/action_rpc.d.ts.map +1 -1
- package/dist/actions/action_rpc.js +4 -3
- package/dist/actions/action_spec.d.ts +102 -206
- package/dist/actions/action_spec.d.ts.map +1 -1
- package/dist/actions/action_spec.js +18 -96
- package/dist/actions/action_types.d.ts +4 -4
- package/dist/actions/action_types.d.ts.map +1 -1
- package/dist/actions/action_types.js +2 -2
- package/dist/actions/broadcast_api.d.ts.map +1 -1
- package/dist/actions/broadcast_api.js +6 -5
- package/dist/actions/compile_action_registry.d.ts +11 -6
- package/dist/actions/compile_action_registry.d.ts.map +1 -1
- package/dist/actions/compile_action_registry.js +15 -9
- package/dist/actions/perform_action.d.ts +4 -4
- package/dist/actions/perform_action.d.ts.map +1 -1
- package/dist/actions/perform_action.js +11 -11
- package/dist/auth/CLAUDE.md +1 -1
- package/dist/auth/account_action_specs.d.ts +50 -23
- package/dist/auth/account_action_specs.d.ts.map +1 -1
- package/dist/auth/account_action_specs.js +18 -8
- package/dist/auth/account_route_schema.d.ts +10 -10
- package/dist/auth/account_schema.d.ts +21 -21
- package/dist/auth/actor_lookup_action_specs.d.ts +7 -7
- package/dist/auth/actor_search_action_specs.d.ts +6 -6
- package/dist/auth/admin_action_specs.d.ts +98 -98
- package/dist/auth/app_settings_schema.d.ts +2 -2
- package/dist/auth/audit_log_route_schema.d.ts +1 -1
- package/dist/auth/audit_log_schema.d.ts +44 -44
- package/dist/auth/auth_guard_resolver.d.ts +2 -2
- package/dist/auth/auth_guard_resolver.js +2 -2
- package/dist/auth/bootstrap_route_schema.d.ts +4 -4
- package/dist/auth/cell_action_specs.d.ts +241 -241
- package/dist/auth/cell_actions.js +3 -3
- package/dist/auth/cell_audit_action_specs.d.ts +14 -14
- package/dist/auth/cell_audit_metadata.d.ts +6 -6
- package/dist/auth/cell_field_action_specs.d.ts +38 -38
- package/dist/auth/cell_field_audit_metadata.d.ts +4 -4
- package/dist/auth/cell_grant_action_specs.d.ts +61 -61
- package/dist/auth/cell_grant_audit_metadata.d.ts +10 -10
- package/dist/auth/cell_item_action_specs.d.ts +50 -50
- package/dist/auth/cell_item_audit_metadata.d.ts +5 -5
- package/dist/auth/invite_schema.d.ts +6 -6
- package/dist/auth/role_grant_offer_action_specs.d.ts +120 -120
- package/dist/auth/role_grant_offer_notifications.d.ts +66 -66
- package/dist/auth/role_grant_offer_schema.d.ts +6 -6
- package/dist/auth/self_service_role_action_specs.d.ts +2 -2
- package/dist/auth/signup_route_schema.d.ts +2 -2
- package/dist/http/CLAUDE.md +9 -8
- package/dist/http/auth_shape.d.ts +54 -17
- package/dist/http/auth_shape.d.ts.map +1 -1
- package/dist/http/auth_shape.js +104 -52
- package/dist/http/error_schemas.d.ts +6 -4
- package/dist/http/error_schemas.d.ts.map +1 -1
- package/dist/http/error_schemas.js +4 -9
- package/dist/http/jsonrpc_errors.d.ts +11 -4
- package/dist/http/jsonrpc_errors.d.ts.map +1 -1
- package/dist/http/jsonrpc_errors.js +11 -4
- package/dist/http/jsonrpc_helpers.d.ts.map +1 -1
- package/dist/http/jsonrpc_helpers.js +2 -1
- package/dist/http/route_spec.d.ts +3 -2
- package/dist/http/route_spec.d.ts.map +1 -1
- package/dist/http/route_spec.js +20 -8
- package/dist/http/schema_helpers.d.ts +24 -20
- package/dist/http/schema_helpers.d.ts.map +1 -1
- package/dist/http/schema_helpers.js +24 -19
- package/dist/primitive_schemas.d.ts +10 -3
- package/dist/primitive_schemas.d.ts.map +1 -1
- package/dist/primitive_schemas.js +10 -2
- package/dist/primitive_schemas_fuz.d.ts +69 -0
- package/dist/primitive_schemas_fuz.d.ts.map +1 -0
- package/dist/primitive_schemas_fuz.js +49 -0
- package/dist/realtime/sse.d.ts +3 -3
- package/dist/realtime/sse.d.ts.map +1 -1
- package/dist/realtime/sse.js +4 -4
- package/dist/schema_issues.d.ts +91 -4
- package/dist/schema_issues.d.ts.map +1 -1
- package/dist/schema_issues.js +262 -1
- package/dist/schema_meta.d.ts +24 -8
- package/dist/schema_meta.d.ts.map +1 -1
- package/dist/schema_meta.js +31 -10
- package/dist/server/serve_fact_route.d.ts.map +1 -1
- package/dist/server/serve_fact_route.js +2 -1
- package/dist/testing/CLAUDE.md +17 -11
- package/dist/testing/adversarial_input_cases.d.ts +18 -23
- package/dist/testing/adversarial_input_cases.d.ts.map +1 -1
- package/dist/testing/adversarial_input_cases.js +51 -46
- package/dist/testing/cross_backend/action_manifest.d.ts +2 -1
- package/dist/testing/cross_backend/action_manifest.d.ts.map +1 -1
- package/dist/testing/cross_backend/action_manifest.js +3 -3
- package/dist/testing/cross_backend/cell_crud.d.ts.map +1 -1
- package/dist/testing/cross_backend/cell_crud.js +3 -8
- package/dist/testing/cross_backend/conformance_table.d.ts.map +1 -1
- package/dist/testing/cross_backend/conformance_table.js +5 -4
- package/dist/testing/cross_backend/cross_rpc.d.ts +4 -2
- package/dist/testing/cross_backend/cross_rpc.d.ts.map +1 -1
- package/dist/testing/cross_backend/cross_rpc.js +6 -4
- package/dist/testing/cross_backend/rpc_success_fixtures.d.ts.map +1 -1
- package/dist/testing/cross_backend/sse_round_trip.d.ts.map +1 -1
- package/dist/testing/cross_backend/sse_round_trip.js +3 -2
- package/dist/testing/cross_backend/testing_reset_actions.d.ts +8 -8
- package/dist/testing/integration_helpers.d.ts.map +1 -1
- package/dist/testing/integration_helpers.js +4 -3
- package/dist/testing/rpc_envelope_cases.d.ts +3 -3
- package/dist/testing/rpc_envelope_cases.d.ts.map +1 -1
- package/dist/testing/rpc_envelope_cases.js +1 -1
- package/dist/testing/rpc_helpers.d.ts +12 -8
- package/dist/testing/rpc_helpers.d.ts.map +1 -1
- package/dist/testing/rpc_helpers.js +18 -15
- package/dist/testing/schema_generators.d.ts +75 -40
- package/dist/testing/schema_generators.d.ts.map +1 -1
- package/dist/testing/schema_generators.js +273 -99
- package/dist/testing/sse_round_trip.d.ts.map +1 -1
- package/dist/testing/sse_round_trip.js +4 -3
- package/dist/ui/admin_accounts_state.svelte.d.ts +10 -10
- package/dist/ui/admin_accounts_state.svelte.d.ts.map +1 -1
- package/dist/ui/admin_invites_state.svelte.d.ts +1 -1
- package/dist/ui/admin_invites_state.svelte.d.ts.map +1 -1
- package/dist/ui/admin_sessions_state.svelte.d.ts +2 -2
- package/dist/ui/admin_sessions_state.svelte.d.ts.map +1 -1
- package/dist/ui/role_grant_offers_state.svelte.d.ts +6 -6
- package/dist/zod.d.ts +23 -5
- package/dist/zod.d.ts.map +1 -1
- package/dist/zod.js +2 -2
- package/package.json +6 -6
|
@@ -25,7 +25,7 @@ export declare const ADMIN_ACCOUNT_LIST_DEFAULT_LIMIT = 50;
|
|
|
25
25
|
export declare const ADMIN_ACCOUNT_LIST_LIMIT_MAX = 200;
|
|
26
26
|
/** Input for `admin_account_list`. */
|
|
27
27
|
export declare const AdminAccountListInput: z.ZodDefault<z.ZodObject<{
|
|
28
|
-
acting: z.ZodOptional<z.
|
|
28
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
29
29
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
include_deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -35,34 +35,34 @@ export type AdminAccountListInput = z.infer<typeof AdminAccountListInput>;
|
|
|
35
35
|
export declare const AdminAccountListOutput: z.ZodObject<{
|
|
36
36
|
accounts: z.ZodArray<z.ZodObject<{
|
|
37
37
|
account: z.ZodObject<{
|
|
38
|
-
id: z.
|
|
38
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
39
39
|
username: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
40
40
|
email: z.ZodNullable<z.ZodString>;
|
|
41
41
|
email_verified: z.ZodBoolean;
|
|
42
42
|
created_at: z.ZodString;
|
|
43
43
|
updated_at: z.ZodString;
|
|
44
|
-
updated_by: z.ZodNullable<z.
|
|
44
|
+
updated_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
45
45
|
deleted_at: z.ZodNullable<z.ZodString>;
|
|
46
46
|
}, z.core.$strict>;
|
|
47
47
|
actor: z.ZodNullable<z.ZodObject<{
|
|
48
|
-
id: z.
|
|
48
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
49
49
|
name: z.ZodString;
|
|
50
50
|
}, z.core.$strict>>;
|
|
51
51
|
role_grants: z.ZodArray<z.ZodObject<{
|
|
52
|
-
id: z.
|
|
52
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
53
53
|
role: z.ZodString;
|
|
54
54
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
55
|
-
scope_id: z.ZodNullable<z.
|
|
55
|
+
scope_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
56
56
|
created_at: z.ZodString;
|
|
57
57
|
expires_at: z.ZodNullable<z.ZodString>;
|
|
58
|
-
granted_by: z.ZodNullable<z.
|
|
58
|
+
granted_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
59
59
|
}, z.core.$strict>>;
|
|
60
60
|
pending_offers: z.ZodArray<z.ZodObject<{
|
|
61
|
-
id: z.
|
|
61
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
62
62
|
role: z.ZodString;
|
|
63
63
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
64
|
-
scope_id: z.ZodNullable<z.
|
|
65
|
-
from_actor_id: z.
|
|
64
|
+
scope_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
65
|
+
from_actor_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
66
66
|
from_username: z.ZodString;
|
|
67
67
|
created_at: z.ZodString;
|
|
68
68
|
expires_at: z.ZodString;
|
|
@@ -73,14 +73,14 @@ export declare const AdminAccountListOutput: z.ZodObject<{
|
|
|
73
73
|
export type AdminAccountListOutput = z.infer<typeof AdminAccountListOutput>;
|
|
74
74
|
/** Input for `admin_session_list`. */
|
|
75
75
|
export declare const AdminSessionListInput: z.ZodDefault<z.ZodObject<{
|
|
76
|
-
acting: z.ZodOptional<z.
|
|
76
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
77
77
|
}, z.core.$strict>>;
|
|
78
78
|
export type AdminSessionListInput = z.infer<typeof AdminSessionListInput>;
|
|
79
79
|
/** Output for `admin_session_list`. Cross-account listing; fan-out already scoped by role auth. */
|
|
80
80
|
export declare const AdminSessionListOutput: z.ZodObject<{
|
|
81
81
|
sessions: z.ZodArray<z.ZodObject<{
|
|
82
82
|
id: z.core.$ZodBranded<z.ZodString, "SessionId", "out">;
|
|
83
|
-
account_id: z.
|
|
83
|
+
account_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
84
84
|
created_at: z.ZodString;
|
|
85
85
|
expires_at: z.ZodString;
|
|
86
86
|
username: z.ZodString;
|
|
@@ -89,8 +89,8 @@ export declare const AdminSessionListOutput: z.ZodObject<{
|
|
|
89
89
|
export type AdminSessionListOutput = z.infer<typeof AdminSessionListOutput>;
|
|
90
90
|
/** Input for `admin_session_revoke_all`. */
|
|
91
91
|
export declare const AdminSessionRevokeAllInput: z.ZodObject<{
|
|
92
|
-
account_id: z.
|
|
93
|
-
acting: z.ZodOptional<z.
|
|
92
|
+
account_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
93
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
94
94
|
}, z.core.$strict>;
|
|
95
95
|
export type AdminSessionRevokeAllInput = z.infer<typeof AdminSessionRevokeAllInput>;
|
|
96
96
|
/** Output for `admin_session_revoke_all`. */
|
|
@@ -101,8 +101,8 @@ export declare const AdminSessionRevokeAllOutput: z.ZodObject<{
|
|
|
101
101
|
export type AdminSessionRevokeAllOutput = z.infer<typeof AdminSessionRevokeAllOutput>;
|
|
102
102
|
/** Input for `admin_token_revoke_all`. */
|
|
103
103
|
export declare const AdminTokenRevokeAllInput: z.ZodObject<{
|
|
104
|
-
account_id: z.
|
|
105
|
-
acting: z.ZodOptional<z.
|
|
104
|
+
account_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
105
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
106
106
|
}, z.core.$strict>;
|
|
107
107
|
export type AdminTokenRevokeAllInput = z.infer<typeof AdminTokenRevokeAllInput>;
|
|
108
108
|
/** Output for `admin_token_revoke_all`. */
|
|
@@ -123,27 +123,27 @@ export declare const AuditLogListInput: z.ZodDefault<z.ZodObject<{
|
|
|
123
123
|
success: "success";
|
|
124
124
|
failure: "failure";
|
|
125
125
|
}>>>;
|
|
126
|
-
account_id: z.ZodOptional<z.ZodNullable<z.
|
|
126
|
+
account_id: z.ZodOptional<z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>>;
|
|
127
127
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
128
128
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
129
129
|
since_seq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
130
|
-
acting: z.ZodOptional<z.
|
|
130
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
131
131
|
}, z.core.$strict>>;
|
|
132
132
|
export type AuditLogListInput = z.infer<typeof AuditLogListInput>;
|
|
133
133
|
/** Output for `audit_log_list`. */
|
|
134
134
|
export declare const AuditLogListOutput: z.ZodObject<{
|
|
135
135
|
events: z.ZodArray<z.ZodObject<{
|
|
136
|
-
id: z.
|
|
136
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
137
137
|
seq: z.ZodNumber;
|
|
138
138
|
event_type: z.ZodString;
|
|
139
139
|
outcome: z.ZodEnum<{
|
|
140
140
|
success: "success";
|
|
141
141
|
failure: "failure";
|
|
142
142
|
}>;
|
|
143
|
-
actor_id: z.ZodNullable<z.
|
|
144
|
-
account_id: z.ZodNullable<z.
|
|
145
|
-
target_account_id: z.ZodNullable<z.
|
|
146
|
-
target_actor_id: z.ZodNullable<z.
|
|
143
|
+
actor_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
144
|
+
account_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
145
|
+
target_account_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
146
|
+
target_actor_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
147
147
|
ip: z.ZodNullable<z.ZodString>;
|
|
148
148
|
created_at: z.ZodString;
|
|
149
149
|
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -156,23 +156,23 @@ export type AuditLogListOutput = z.infer<typeof AuditLogListOutput>;
|
|
|
156
156
|
export declare const AuditLogRoleGrantHistoryInput: z.ZodDefault<z.ZodObject<{
|
|
157
157
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
158
158
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
159
|
-
acting: z.ZodOptional<z.
|
|
159
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
160
160
|
}, z.core.$strict>>;
|
|
161
161
|
export type AuditLogRoleGrantHistoryInput = z.infer<typeof AuditLogRoleGrantHistoryInput>;
|
|
162
162
|
/** Output for `audit_log_role_grant_history`. */
|
|
163
163
|
export declare const AuditLogRoleGrantHistoryOutput: z.ZodObject<{
|
|
164
164
|
events: z.ZodArray<z.ZodObject<{
|
|
165
|
-
id: z.
|
|
165
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
166
166
|
seq: z.ZodNumber;
|
|
167
167
|
event_type: z.ZodString;
|
|
168
168
|
outcome: z.ZodEnum<{
|
|
169
169
|
success: "success";
|
|
170
170
|
failure: "failure";
|
|
171
171
|
}>;
|
|
172
|
-
actor_id: z.ZodNullable<z.
|
|
173
|
-
account_id: z.ZodNullable<z.
|
|
174
|
-
target_account_id: z.ZodNullable<z.
|
|
175
|
-
target_actor_id: z.ZodNullable<z.
|
|
172
|
+
actor_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
173
|
+
account_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
174
|
+
target_account_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
175
|
+
target_actor_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
176
176
|
ip: z.ZodNullable<z.ZodString>;
|
|
177
177
|
created_at: z.ZodString;
|
|
178
178
|
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -185,38 +185,38 @@ export type AuditLogRoleGrantHistoryOutput = z.infer<typeof AuditLogRoleGrantHis
|
|
|
185
185
|
export declare const InviteCreateInput: z.ZodObject<{
|
|
186
186
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
187
187
|
username: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
188
|
-
acting: z.ZodOptional<z.
|
|
188
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
189
189
|
}, z.core.$strict>;
|
|
190
190
|
export type InviteCreateInput = z.infer<typeof InviteCreateInput>;
|
|
191
191
|
/** Output for `invite_create`. */
|
|
192
192
|
export declare const InviteCreateOutput: z.ZodObject<{
|
|
193
193
|
ok: z.ZodLiteral<true>;
|
|
194
194
|
invite: z.ZodObject<{
|
|
195
|
-
id: z.
|
|
195
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
196
196
|
email: z.ZodNullable<z.ZodString>;
|
|
197
197
|
username: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
198
|
-
claimed_by: z.ZodNullable<z.
|
|
198
|
+
claimed_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
199
199
|
claimed_at: z.ZodNullable<z.ZodString>;
|
|
200
200
|
created_at: z.ZodString;
|
|
201
|
-
created_by: z.ZodNullable<z.
|
|
201
|
+
created_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
202
202
|
}, z.core.$strict>;
|
|
203
203
|
}, z.core.$strict>;
|
|
204
204
|
export type InviteCreateOutput = z.infer<typeof InviteCreateOutput>;
|
|
205
205
|
/** Input for `invite_list`. */
|
|
206
206
|
export declare const InviteListInput: z.ZodDefault<z.ZodObject<{
|
|
207
|
-
acting: z.ZodOptional<z.
|
|
207
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
208
208
|
}, z.core.$strict>>;
|
|
209
209
|
export type InviteListInput = z.infer<typeof InviteListInput>;
|
|
210
210
|
/** Output for `invite_list`. Uses the enriched row including creator/claimer usernames. */
|
|
211
211
|
export declare const InviteListOutput: z.ZodObject<{
|
|
212
212
|
invites: z.ZodArray<z.ZodObject<{
|
|
213
|
-
id: z.
|
|
213
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
214
214
|
email: z.ZodNullable<z.ZodString>;
|
|
215
215
|
username: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
216
|
-
claimed_by: z.ZodNullable<z.
|
|
216
|
+
claimed_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
217
217
|
claimed_at: z.ZodNullable<z.ZodString>;
|
|
218
218
|
created_at: z.ZodString;
|
|
219
|
-
created_by: z.ZodNullable<z.
|
|
219
|
+
created_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
220
220
|
created_by_username: z.ZodNullable<z.ZodString>;
|
|
221
221
|
claimed_by_username: z.ZodNullable<z.ZodString>;
|
|
222
222
|
}, z.core.$strict>>;
|
|
@@ -224,8 +224,8 @@ export declare const InviteListOutput: z.ZodObject<{
|
|
|
224
224
|
export type InviteListOutput = z.infer<typeof InviteListOutput>;
|
|
225
225
|
/** Input for `invite_delete`. */
|
|
226
226
|
export declare const InviteDeleteInput: z.ZodObject<{
|
|
227
|
-
invite_id: z.
|
|
228
|
-
acting: z.ZodOptional<z.
|
|
227
|
+
invite_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
228
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
229
229
|
}, z.core.$strict>;
|
|
230
230
|
export type InviteDeleteInput = z.infer<typeof InviteDeleteInput>;
|
|
231
231
|
/** Output for `invite_delete`. */
|
|
@@ -235,7 +235,7 @@ export declare const InviteDeleteOutput: z.ZodObject<{
|
|
|
235
235
|
export type InviteDeleteOutput = z.infer<typeof InviteDeleteOutput>;
|
|
236
236
|
/** Input for `app_settings_get`. */
|
|
237
237
|
export declare const AppSettingsGetInput: z.ZodDefault<z.ZodObject<{
|
|
238
|
-
acting: z.ZodOptional<z.
|
|
238
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
239
239
|
}, z.core.$strict>>;
|
|
240
240
|
export type AppSettingsGetInput = z.infer<typeof AppSettingsGetInput>;
|
|
241
241
|
/** Output for `app_settings_get`. */
|
|
@@ -243,7 +243,7 @@ export declare const AppSettingsGetOutput: z.ZodObject<{
|
|
|
243
243
|
settings: z.ZodObject<{
|
|
244
244
|
open_signup: z.ZodBoolean;
|
|
245
245
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
246
|
-
updated_by: z.ZodNullable<z.
|
|
246
|
+
updated_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
247
247
|
updated_by_username: z.ZodNullable<z.ZodString>;
|
|
248
248
|
}, z.core.$strict>;
|
|
249
249
|
}, z.core.$strict>;
|
|
@@ -251,7 +251,7 @@ export type AppSettingsGetOutput = z.infer<typeof AppSettingsGetOutput>;
|
|
|
251
251
|
/** Input for `app_settings_update`. */
|
|
252
252
|
export declare const AppSettingsUpdateInput: z.ZodObject<{
|
|
253
253
|
open_signup: z.ZodBoolean;
|
|
254
|
-
acting: z.ZodOptional<z.
|
|
254
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
255
255
|
}, z.core.$strict>;
|
|
256
256
|
export type AppSettingsUpdateInput = z.infer<typeof AppSettingsUpdateInput>;
|
|
257
257
|
/** Output for `app_settings_update`. */
|
|
@@ -260,7 +260,7 @@ export declare const AppSettingsUpdateOutput: z.ZodObject<{
|
|
|
260
260
|
settings: z.ZodObject<{
|
|
261
261
|
open_signup: z.ZodBoolean;
|
|
262
262
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
263
|
-
updated_by: z.ZodNullable<z.
|
|
263
|
+
updated_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
264
264
|
updated_by_username: z.ZodNullable<z.ZodString>;
|
|
265
265
|
}, z.core.$strict>;
|
|
266
266
|
}, z.core.$strict>;
|
|
@@ -300,8 +300,8 @@ export declare const ERROR_CANNOT_DELETE_LAST_ADMIN: "cannot_delete_last_admin";
|
|
|
300
300
|
* elevation, like `role_grant_offer_list`).
|
|
301
301
|
*/
|
|
302
302
|
export declare const AccountDeleteInput: z.ZodDefault<z.ZodObject<{
|
|
303
|
-
account_id: z.ZodOptional<z.ZodNullable<z.
|
|
304
|
-
acting: z.ZodOptional<z.
|
|
303
|
+
account_id: z.ZodOptional<z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>>;
|
|
304
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
305
305
|
}, z.core.$strict>>;
|
|
306
306
|
export type AccountDeleteInput = z.infer<typeof AccountDeleteInput>;
|
|
307
307
|
/** Output for `account_delete`. */
|
|
@@ -312,9 +312,9 @@ export declare const AccountDeleteOutput: z.ZodObject<{
|
|
|
312
312
|
export type AccountDeleteOutput = z.infer<typeof AccountDeleteOutput>;
|
|
313
313
|
/** Input for `account_purge` (hard, irreversible delete). Keeper-only. */
|
|
314
314
|
export declare const AccountPurgeInput: z.ZodObject<{
|
|
315
|
-
account_id: z.
|
|
315
|
+
account_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
316
316
|
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
317
|
-
acting: z.ZodOptional<z.
|
|
317
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
318
318
|
}, z.core.$strict>;
|
|
319
319
|
export type AccountPurgeInput = z.infer<typeof AccountPurgeInput>;
|
|
320
320
|
/** Output for `account_purge`. */
|
|
@@ -330,8 +330,8 @@ export type AccountPurgeOutput = z.infer<typeof AccountPurgeOutput>;
|
|
|
330
330
|
* so reactivation is always an admin acting on another account.
|
|
331
331
|
*/
|
|
332
332
|
export declare const AccountUndeleteInput: z.ZodObject<{
|
|
333
|
-
account_id: z.
|
|
334
|
-
acting: z.ZodOptional<z.
|
|
333
|
+
account_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
334
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
335
335
|
}, z.core.$strict>;
|
|
336
336
|
export type AccountUndeleteInput = z.infer<typeof AccountUndeleteInput>;
|
|
337
337
|
/** Output for `account_undelete`. */
|
|
@@ -357,7 +357,7 @@ export declare const admin_account_list_action_spec: {
|
|
|
357
357
|
};
|
|
358
358
|
side_effects: false;
|
|
359
359
|
input: z.ZodDefault<z.ZodObject<{
|
|
360
|
-
acting: z.ZodOptional<z.
|
|
360
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
361
361
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
362
362
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
363
363
|
include_deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -365,34 +365,34 @@ export declare const admin_account_list_action_spec: {
|
|
|
365
365
|
output: z.ZodObject<{
|
|
366
366
|
accounts: z.ZodArray<z.ZodObject<{
|
|
367
367
|
account: z.ZodObject<{
|
|
368
|
-
id: z.
|
|
368
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
369
369
|
username: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
370
370
|
email: z.ZodNullable<z.ZodString>;
|
|
371
371
|
email_verified: z.ZodBoolean;
|
|
372
372
|
created_at: z.ZodString;
|
|
373
373
|
updated_at: z.ZodString;
|
|
374
|
-
updated_by: z.ZodNullable<z.
|
|
374
|
+
updated_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
375
375
|
deleted_at: z.ZodNullable<z.ZodString>;
|
|
376
376
|
}, z.core.$strict>;
|
|
377
377
|
actor: z.ZodNullable<z.ZodObject<{
|
|
378
|
-
id: z.
|
|
378
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
379
379
|
name: z.ZodString;
|
|
380
380
|
}, z.core.$strict>>;
|
|
381
381
|
role_grants: z.ZodArray<z.ZodObject<{
|
|
382
|
-
id: z.
|
|
382
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
383
383
|
role: z.ZodString;
|
|
384
384
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
385
|
-
scope_id: z.ZodNullable<z.
|
|
385
|
+
scope_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
386
386
|
created_at: z.ZodString;
|
|
387
387
|
expires_at: z.ZodNullable<z.ZodString>;
|
|
388
|
-
granted_by: z.ZodNullable<z.
|
|
388
|
+
granted_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
389
389
|
}, z.core.$strict>>;
|
|
390
390
|
pending_offers: z.ZodArray<z.ZodObject<{
|
|
391
|
-
id: z.
|
|
391
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
392
392
|
role: z.ZodString;
|
|
393
393
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
394
|
-
scope_id: z.ZodNullable<z.
|
|
395
|
-
from_actor_id: z.
|
|
394
|
+
scope_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
395
|
+
from_actor_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
396
396
|
from_username: z.ZodString;
|
|
397
397
|
created_at: z.ZodString;
|
|
398
398
|
expires_at: z.ZodString;
|
|
@@ -420,12 +420,12 @@ export declare const admin_session_list_action_spec: {
|
|
|
420
420
|
};
|
|
421
421
|
side_effects: false;
|
|
422
422
|
input: z.ZodDefault<z.ZodObject<{
|
|
423
|
-
acting: z.ZodOptional<z.
|
|
423
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
424
424
|
}, z.core.$strict>>;
|
|
425
425
|
output: z.ZodObject<{
|
|
426
426
|
sessions: z.ZodArray<z.ZodObject<{
|
|
427
427
|
id: z.core.$ZodBranded<z.ZodString, "SessionId", "out">;
|
|
428
|
-
account_id: z.
|
|
428
|
+
account_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
429
429
|
created_at: z.ZodString;
|
|
430
430
|
expires_at: z.ZodString;
|
|
431
431
|
username: z.ZodString;
|
|
@@ -446,8 +446,8 @@ export declare const admin_session_revoke_all_action_spec: {
|
|
|
446
446
|
};
|
|
447
447
|
side_effects: true;
|
|
448
448
|
input: z.ZodObject<{
|
|
449
|
-
account_id: z.
|
|
450
|
-
acting: z.ZodOptional<z.
|
|
449
|
+
account_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
450
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
451
451
|
}, z.core.$strict>;
|
|
452
452
|
output: z.ZodObject<{
|
|
453
453
|
ok: z.ZodLiteral<true>;
|
|
@@ -468,8 +468,8 @@ export declare const admin_token_revoke_all_action_spec: {
|
|
|
468
468
|
};
|
|
469
469
|
side_effects: true;
|
|
470
470
|
input: z.ZodObject<{
|
|
471
|
-
account_id: z.
|
|
472
|
-
acting: z.ZodOptional<z.
|
|
471
|
+
account_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
472
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
473
473
|
}, z.core.$strict>;
|
|
474
474
|
output: z.ZodObject<{
|
|
475
475
|
ok: z.ZodLiteral<true>;
|
|
@@ -503,25 +503,25 @@ export declare const audit_log_list_action_spec: {
|
|
|
503
503
|
success: "success";
|
|
504
504
|
failure: "failure";
|
|
505
505
|
}>>>;
|
|
506
|
-
account_id: z.ZodOptional<z.ZodNullable<z.
|
|
506
|
+
account_id: z.ZodOptional<z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>>;
|
|
507
507
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
508
508
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
509
509
|
since_seq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
510
|
-
acting: z.ZodOptional<z.
|
|
510
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
511
511
|
}, z.core.$strict>>;
|
|
512
512
|
output: z.ZodObject<{
|
|
513
513
|
events: z.ZodArray<z.ZodObject<{
|
|
514
|
-
id: z.
|
|
514
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
515
515
|
seq: z.ZodNumber;
|
|
516
516
|
event_type: z.ZodString;
|
|
517
517
|
outcome: z.ZodEnum<{
|
|
518
518
|
success: "success";
|
|
519
519
|
failure: "failure";
|
|
520
520
|
}>;
|
|
521
|
-
actor_id: z.ZodNullable<z.
|
|
522
|
-
account_id: z.ZodNullable<z.
|
|
523
|
-
target_account_id: z.ZodNullable<z.
|
|
524
|
-
target_actor_id: z.ZodNullable<z.
|
|
521
|
+
actor_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
522
|
+
account_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
523
|
+
target_account_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
524
|
+
target_actor_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
525
525
|
ip: z.ZodNullable<z.ZodString>;
|
|
526
526
|
created_at: z.ZodString;
|
|
527
527
|
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -551,21 +551,21 @@ export declare const audit_log_role_grant_history_action_spec: {
|
|
|
551
551
|
input: z.ZodDefault<z.ZodObject<{
|
|
552
552
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
553
553
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
554
|
-
acting: z.ZodOptional<z.
|
|
554
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
555
555
|
}, z.core.$strict>>;
|
|
556
556
|
output: z.ZodObject<{
|
|
557
557
|
events: z.ZodArray<z.ZodObject<{
|
|
558
|
-
id: z.
|
|
558
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
559
559
|
seq: z.ZodNumber;
|
|
560
560
|
event_type: z.ZodString;
|
|
561
561
|
outcome: z.ZodEnum<{
|
|
562
562
|
success: "success";
|
|
563
563
|
failure: "failure";
|
|
564
564
|
}>;
|
|
565
|
-
actor_id: z.ZodNullable<z.
|
|
566
|
-
account_id: z.ZodNullable<z.
|
|
567
|
-
target_account_id: z.ZodNullable<z.
|
|
568
|
-
target_actor_id: z.ZodNullable<z.
|
|
565
|
+
actor_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
566
|
+
account_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
567
|
+
target_account_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
568
|
+
target_actor_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
569
569
|
ip: z.ZodNullable<z.ZodString>;
|
|
570
570
|
created_at: z.ZodString;
|
|
571
571
|
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -590,18 +590,18 @@ export declare const invite_create_action_spec: {
|
|
|
590
590
|
input: z.ZodObject<{
|
|
591
591
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
592
592
|
username: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
593
|
-
acting: z.ZodOptional<z.
|
|
593
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
594
594
|
}, z.core.$strict>;
|
|
595
595
|
output: z.ZodObject<{
|
|
596
596
|
ok: z.ZodLiteral<true>;
|
|
597
597
|
invite: z.ZodObject<{
|
|
598
|
-
id: z.
|
|
598
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
599
599
|
email: z.ZodNullable<z.ZodString>;
|
|
600
600
|
username: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
601
|
-
claimed_by: z.ZodNullable<z.
|
|
601
|
+
claimed_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
602
602
|
claimed_at: z.ZodNullable<z.ZodString>;
|
|
603
603
|
created_at: z.ZodString;
|
|
604
|
-
created_by: z.ZodNullable<z.
|
|
604
|
+
created_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
605
605
|
}, z.core.$strict>;
|
|
606
606
|
}, z.core.$strict>;
|
|
607
607
|
async: true;
|
|
@@ -625,17 +625,17 @@ export declare const invite_list_action_spec: {
|
|
|
625
625
|
};
|
|
626
626
|
side_effects: false;
|
|
627
627
|
input: z.ZodDefault<z.ZodObject<{
|
|
628
|
-
acting: z.ZodOptional<z.
|
|
628
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
629
629
|
}, z.core.$strict>>;
|
|
630
630
|
output: z.ZodObject<{
|
|
631
631
|
invites: z.ZodArray<z.ZodObject<{
|
|
632
|
-
id: z.
|
|
632
|
+
id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
633
633
|
email: z.ZodNullable<z.ZodString>;
|
|
634
634
|
username: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
635
|
-
claimed_by: z.ZodNullable<z.
|
|
635
|
+
claimed_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
636
636
|
claimed_at: z.ZodNullable<z.ZodString>;
|
|
637
637
|
created_at: z.ZodString;
|
|
638
|
-
created_by: z.ZodNullable<z.
|
|
638
|
+
created_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
639
639
|
created_by_username: z.ZodNullable<z.ZodString>;
|
|
640
640
|
claimed_by_username: z.ZodNullable<z.ZodString>;
|
|
641
641
|
}, z.core.$strict>>;
|
|
@@ -655,8 +655,8 @@ export declare const invite_delete_action_spec: {
|
|
|
655
655
|
};
|
|
656
656
|
side_effects: true;
|
|
657
657
|
input: z.ZodObject<{
|
|
658
|
-
invite_id: z.
|
|
659
|
-
acting: z.ZodOptional<z.
|
|
658
|
+
invite_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
659
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
660
660
|
}, z.core.$strict>;
|
|
661
661
|
output: z.ZodObject<{
|
|
662
662
|
ok: z.ZodLiteral<true>;
|
|
@@ -687,8 +687,8 @@ export declare const account_delete_action_spec: {
|
|
|
687
687
|
};
|
|
688
688
|
side_effects: true;
|
|
689
689
|
input: z.ZodDefault<z.ZodObject<{
|
|
690
|
-
account_id: z.ZodOptional<z.ZodNullable<z.
|
|
691
|
-
acting: z.ZodOptional<z.
|
|
690
|
+
account_id: z.ZodOptional<z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>>;
|
|
691
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
692
692
|
}, z.core.$strict>>;
|
|
693
693
|
output: z.ZodObject<{
|
|
694
694
|
ok: z.ZodLiteral<true>;
|
|
@@ -717,9 +717,9 @@ export declare const account_purge_action_spec: {
|
|
|
717
717
|
};
|
|
718
718
|
side_effects: true;
|
|
719
719
|
input: z.ZodObject<{
|
|
720
|
-
account_id: z.
|
|
720
|
+
account_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
721
721
|
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
722
|
-
acting: z.ZodOptional<z.
|
|
722
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
723
723
|
}, z.core.$strict>;
|
|
724
724
|
output: z.ZodObject<{
|
|
725
725
|
ok: z.ZodLiteral<true>;
|
|
@@ -748,8 +748,8 @@ export declare const account_undelete_action_spec: {
|
|
|
748
748
|
};
|
|
749
749
|
side_effects: true;
|
|
750
750
|
input: z.ZodObject<{
|
|
751
|
-
account_id: z.
|
|
752
|
-
acting: z.ZodOptional<z.
|
|
751
|
+
account_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
|
|
752
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
753
753
|
}, z.core.$strict>;
|
|
754
754
|
output: z.ZodObject<{
|
|
755
755
|
ok: z.ZodLiteral<true>;
|
|
@@ -770,13 +770,13 @@ export declare const app_settings_get_action_spec: {
|
|
|
770
770
|
};
|
|
771
771
|
side_effects: false;
|
|
772
772
|
input: z.ZodDefault<z.ZodObject<{
|
|
773
|
-
acting: z.ZodOptional<z.
|
|
773
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
774
774
|
}, z.core.$strict>>;
|
|
775
775
|
output: z.ZodObject<{
|
|
776
776
|
settings: z.ZodObject<{
|
|
777
777
|
open_signup: z.ZodBoolean;
|
|
778
778
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
779
|
-
updated_by: z.ZodNullable<z.
|
|
779
|
+
updated_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
780
780
|
updated_by_username: z.ZodNullable<z.ZodString>;
|
|
781
781
|
}, z.core.$strict>;
|
|
782
782
|
}, z.core.$strict>;
|
|
@@ -795,14 +795,14 @@ export declare const app_settings_update_action_spec: {
|
|
|
795
795
|
side_effects: true;
|
|
796
796
|
input: z.ZodObject<{
|
|
797
797
|
open_signup: z.ZodBoolean;
|
|
798
|
-
acting: z.ZodOptional<z.
|
|
798
|
+
acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
799
799
|
}, z.core.$strict>;
|
|
800
800
|
output: z.ZodObject<{
|
|
801
801
|
ok: z.ZodLiteral<true>;
|
|
802
802
|
settings: z.ZodObject<{
|
|
803
803
|
open_signup: z.ZodBoolean;
|
|
804
804
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
805
|
-
updated_by: z.ZodNullable<z.
|
|
805
|
+
updated_by: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
|
|
806
806
|
updated_by_username: z.ZodNullable<z.ZodString>;
|
|
807
807
|
}, z.core.$strict>;
|
|
808
808
|
}, z.core.$strict>;
|