@fuzdev/fuz_app 0.155.0 → 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
|
@@ -88,38 +88,38 @@ export declare const GRANT_SCOPE_PAIRED_MESSAGE = "'scope_kind' and 'scope_id' m
|
|
|
88
88
|
* on `to_account_id` may accept.
|
|
89
89
|
*/
|
|
90
90
|
export declare const RoleGrantOfferCreateInput: z.ZodObject<{
|
|
91
|
-
to_account_id: z.
|
|
92
|
-
to_actor_id: z.ZodOptional<z.ZodNullable<z.
|
|
91
|
+
to_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>>;
|
|
92
|
+
to_actor_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>>>>;
|
|
93
93
|
role: z.ZodString;
|
|
94
94
|
scope_kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
-
scope_id: z.ZodOptional<z.ZodNullable<z.
|
|
95
|
+
scope_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>>>>;
|
|
96
96
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
|
-
acting: z.ZodOptional<z.
|
|
97
|
+
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>>>;
|
|
98
98
|
}, z.core.$strict>;
|
|
99
99
|
export type RoleGrantOfferCreateInput = z.infer<typeof RoleGrantOfferCreateInput>;
|
|
100
100
|
/** Input for `role_grant_offer_accept`. */
|
|
101
101
|
export declare const RoleGrantOfferAcceptInput: z.ZodObject<{
|
|
102
|
-
offer_id: z.
|
|
103
|
-
acting: z.ZodOptional<z.
|
|
102
|
+
offer_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>>;
|
|
103
|
+
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>>>;
|
|
104
104
|
}, z.core.$strict>;
|
|
105
105
|
export type RoleGrantOfferAcceptInput = z.infer<typeof RoleGrantOfferAcceptInput>;
|
|
106
106
|
/** Input for `role_grant_offer_decline`. */
|
|
107
107
|
export declare const RoleGrantOfferDeclineInput: z.ZodObject<{
|
|
108
|
-
offer_id: z.
|
|
108
|
+
offer_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>>;
|
|
109
109
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110
|
-
acting: z.ZodOptional<z.
|
|
110
|
+
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>>>;
|
|
111
111
|
}, z.core.$strict>;
|
|
112
112
|
export type RoleGrantOfferDeclineInput = z.infer<typeof RoleGrantOfferDeclineInput>;
|
|
113
113
|
/** Input for `role_grant_offer_retract`. */
|
|
114
114
|
export declare const RoleGrantOfferRetractInput: z.ZodObject<{
|
|
115
|
-
offer_id: z.
|
|
116
|
-
acting: z.ZodOptional<z.
|
|
115
|
+
offer_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>>;
|
|
116
|
+
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>>>;
|
|
117
117
|
}, z.core.$strict>;
|
|
118
118
|
export type RoleGrantOfferRetractInput = z.infer<typeof RoleGrantOfferRetractInput>;
|
|
119
119
|
/** Input for `role_grant_offer_list`. `account_id` is admin-only (inspect another account's inbox). */
|
|
120
120
|
export declare const RoleGrantOfferListInput: z.ZodDefault<z.ZodObject<{
|
|
121
|
-
account_id: z.ZodOptional<z.ZodNullable<z.
|
|
122
|
-
acting: z.ZodOptional<z.
|
|
121
|
+
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>>>>;
|
|
122
|
+
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>>>;
|
|
123
123
|
}, z.core.$strict>>;
|
|
124
124
|
export type RoleGrantOfferListInput = z.infer<typeof RoleGrantOfferListInput>;
|
|
125
125
|
/**
|
|
@@ -130,10 +130,10 @@ export type RoleGrantOfferListInput = z.infer<typeof RoleGrantOfferListInput>;
|
|
|
130
130
|
* multi-actor accounts.
|
|
131
131
|
*/
|
|
132
132
|
export declare const RoleGrantRevokeInput: z.ZodObject<{
|
|
133
|
-
actor_id: z.
|
|
134
|
-
role_grant_id: z.
|
|
133
|
+
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>>;
|
|
134
|
+
role_grant_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>>;
|
|
135
135
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
|
-
acting: z.ZodOptional<z.
|
|
136
|
+
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>>>;
|
|
137
137
|
}, z.core.$strict>;
|
|
138
138
|
export type RoleGrantRevokeInput = z.infer<typeof RoleGrantRevokeInput>;
|
|
139
139
|
/** Max `role_grant_offer_history` page size. */
|
|
@@ -144,22 +144,22 @@ export declare const ROLE_GRANT_OFFER_HISTORY_LIMIT_MAX = 500;
|
|
|
144
144
|
* first. `account_id` is admin-only.
|
|
145
145
|
*/
|
|
146
146
|
export declare const RoleGrantOfferHistoryInput: z.ZodDefault<z.ZodObject<{
|
|
147
|
-
account_id: z.ZodOptional<z.ZodNullable<z.
|
|
147
|
+
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>>>>;
|
|
148
148
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
149
149
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
150
|
-
acting: z.ZodOptional<z.
|
|
150
|
+
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>>>;
|
|
151
151
|
}, z.core.$strict>>;
|
|
152
152
|
export type RoleGrantOfferHistoryInput = z.infer<typeof RoleGrantOfferHistoryInput>;
|
|
153
153
|
/** Output for `role_grant_offer_create`. */
|
|
154
154
|
export declare const RoleGrantOfferCreateOutput: z.ZodObject<{
|
|
155
155
|
offer: z.ZodObject<{
|
|
156
|
-
id: z.
|
|
157
|
-
from_actor_id: z.
|
|
158
|
-
to_account_id: z.
|
|
159
|
-
to_actor_id: z.ZodNullable<z.
|
|
156
|
+
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>>;
|
|
157
|
+
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>>;
|
|
158
|
+
to_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>>;
|
|
159
|
+
to_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>>>;
|
|
160
160
|
role: z.ZodString;
|
|
161
161
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
162
|
-
scope_id: z.ZodNullable<z.
|
|
162
|
+
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>>>;
|
|
163
163
|
message: z.ZodNullable<z.ZodString>;
|
|
164
164
|
created_at: z.ZodString;
|
|
165
165
|
expires_at: z.ZodString;
|
|
@@ -168,21 +168,21 @@ export declare const RoleGrantOfferCreateOutput: z.ZodObject<{
|
|
|
168
168
|
decline_reason: z.ZodNullable<z.ZodString>;
|
|
169
169
|
retracted_at: z.ZodNullable<z.ZodString>;
|
|
170
170
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
171
|
-
resulting_role_grant_id: z.ZodNullable<z.
|
|
171
|
+
resulting_role_grant_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>>>;
|
|
172
172
|
}, z.core.$strict>;
|
|
173
173
|
}, z.core.$strict>;
|
|
174
174
|
export type RoleGrantOfferCreateOutput = z.infer<typeof RoleGrantOfferCreateOutput>;
|
|
175
175
|
/** Output for `role_grant_offer_accept`. */
|
|
176
176
|
export declare const RoleGrantOfferAcceptOutput: z.ZodObject<{
|
|
177
|
-
role_grant_id: z.
|
|
177
|
+
role_grant_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>>;
|
|
178
178
|
offer: z.ZodObject<{
|
|
179
|
-
id: z.
|
|
180
|
-
from_actor_id: z.
|
|
181
|
-
to_account_id: z.
|
|
182
|
-
to_actor_id: z.ZodNullable<z.
|
|
179
|
+
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>>;
|
|
180
|
+
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>>;
|
|
181
|
+
to_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>>;
|
|
182
|
+
to_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>>>;
|
|
183
183
|
role: z.ZodString;
|
|
184
184
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
185
|
-
scope_id: z.ZodNullable<z.
|
|
185
|
+
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>>>;
|
|
186
186
|
message: z.ZodNullable<z.ZodString>;
|
|
187
187
|
created_at: z.ZodString;
|
|
188
188
|
expires_at: z.ZodString;
|
|
@@ -191,21 +191,21 @@ export declare const RoleGrantOfferAcceptOutput: z.ZodObject<{
|
|
|
191
191
|
decline_reason: z.ZodNullable<z.ZodString>;
|
|
192
192
|
retracted_at: z.ZodNullable<z.ZodString>;
|
|
193
193
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
194
|
-
resulting_role_grant_id: z.ZodNullable<z.
|
|
194
|
+
resulting_role_grant_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>>>;
|
|
195
195
|
}, z.core.$strict>;
|
|
196
|
-
superseded_offer_ids: z.ZodArray<z.
|
|
196
|
+
superseded_offer_ids: z.ZodArray<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>>>;
|
|
197
197
|
}, z.core.$strict>;
|
|
198
198
|
export type RoleGrantOfferAcceptOutput = z.infer<typeof RoleGrantOfferAcceptOutput>;
|
|
199
199
|
/** Output for `role_grant_offer_decline` — the declined offer, as `accept` answers its own. */
|
|
200
200
|
export declare const RoleGrantOfferDeclineOutput: z.ZodObject<{
|
|
201
201
|
offer: z.ZodObject<{
|
|
202
|
-
id: z.
|
|
203
|
-
from_actor_id: z.
|
|
204
|
-
to_account_id: z.
|
|
205
|
-
to_actor_id: z.ZodNullable<z.
|
|
202
|
+
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>>;
|
|
203
|
+
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>>;
|
|
204
|
+
to_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>>;
|
|
205
|
+
to_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>>>;
|
|
206
206
|
role: z.ZodString;
|
|
207
207
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
208
|
-
scope_id: z.ZodNullable<z.
|
|
208
|
+
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>>>;
|
|
209
209
|
message: z.ZodNullable<z.ZodString>;
|
|
210
210
|
created_at: z.ZodString;
|
|
211
211
|
expires_at: z.ZodString;
|
|
@@ -214,20 +214,20 @@ export declare const RoleGrantOfferDeclineOutput: z.ZodObject<{
|
|
|
214
214
|
decline_reason: z.ZodNullable<z.ZodString>;
|
|
215
215
|
retracted_at: z.ZodNullable<z.ZodString>;
|
|
216
216
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
217
|
-
resulting_role_grant_id: z.ZodNullable<z.
|
|
217
|
+
resulting_role_grant_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>>>;
|
|
218
218
|
}, z.core.$strict>;
|
|
219
219
|
}, z.core.$strict>;
|
|
220
220
|
export type RoleGrantOfferDeclineOutput = z.infer<typeof RoleGrantOfferDeclineOutput>;
|
|
221
221
|
/** Output for `role_grant_offer_retract` — the retracted offer, as `accept` answers its own. */
|
|
222
222
|
export declare const RoleGrantOfferRetractOutput: z.ZodObject<{
|
|
223
223
|
offer: z.ZodObject<{
|
|
224
|
-
id: z.
|
|
225
|
-
from_actor_id: z.
|
|
226
|
-
to_account_id: z.
|
|
227
|
-
to_actor_id: z.ZodNullable<z.
|
|
224
|
+
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>>;
|
|
225
|
+
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>>;
|
|
226
|
+
to_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>>;
|
|
227
|
+
to_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>>>;
|
|
228
228
|
role: z.ZodString;
|
|
229
229
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
230
|
-
scope_id: z.ZodNullable<z.
|
|
230
|
+
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>>>;
|
|
231
231
|
message: z.ZodNullable<z.ZodString>;
|
|
232
232
|
created_at: z.ZodString;
|
|
233
233
|
expires_at: z.ZodString;
|
|
@@ -236,20 +236,20 @@ export declare const RoleGrantOfferRetractOutput: z.ZodObject<{
|
|
|
236
236
|
decline_reason: z.ZodNullable<z.ZodString>;
|
|
237
237
|
retracted_at: z.ZodNullable<z.ZodString>;
|
|
238
238
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
239
|
-
resulting_role_grant_id: z.ZodNullable<z.
|
|
239
|
+
resulting_role_grant_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>>>;
|
|
240
240
|
}, z.core.$strict>;
|
|
241
241
|
}, z.core.$strict>;
|
|
242
242
|
export type RoleGrantOfferRetractOutput = z.infer<typeof RoleGrantOfferRetractOutput>;
|
|
243
243
|
/** Output for `role_grant_offer_list`. */
|
|
244
244
|
export declare const RoleGrantOfferListOutput: z.ZodObject<{
|
|
245
245
|
offers: z.ZodArray<z.ZodObject<{
|
|
246
|
-
id: z.
|
|
247
|
-
from_actor_id: z.
|
|
248
|
-
to_account_id: z.
|
|
249
|
-
to_actor_id: z.ZodNullable<z.
|
|
246
|
+
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>>;
|
|
247
|
+
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>>;
|
|
248
|
+
to_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>>;
|
|
249
|
+
to_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>>>;
|
|
250
250
|
role: z.ZodString;
|
|
251
251
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
252
|
-
scope_id: z.ZodNullable<z.
|
|
252
|
+
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>>>;
|
|
253
253
|
message: z.ZodNullable<z.ZodString>;
|
|
254
254
|
created_at: z.ZodString;
|
|
255
255
|
expires_at: z.ZodString;
|
|
@@ -258,20 +258,20 @@ export declare const RoleGrantOfferListOutput: z.ZodObject<{
|
|
|
258
258
|
decline_reason: z.ZodNullable<z.ZodString>;
|
|
259
259
|
retracted_at: z.ZodNullable<z.ZodString>;
|
|
260
260
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
261
|
-
resulting_role_grant_id: z.ZodNullable<z.
|
|
261
|
+
resulting_role_grant_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>>>;
|
|
262
262
|
}, z.core.$strict>>;
|
|
263
263
|
}, z.core.$strict>;
|
|
264
264
|
export type RoleGrantOfferListOutput = z.infer<typeof RoleGrantOfferListOutput>;
|
|
265
265
|
/** Output for `role_grant_offer_history`. */
|
|
266
266
|
export declare const RoleGrantOfferHistoryOutput: z.ZodObject<{
|
|
267
267
|
offers: z.ZodArray<z.ZodObject<{
|
|
268
|
-
id: z.
|
|
269
|
-
from_actor_id: z.
|
|
270
|
-
to_account_id: z.
|
|
271
|
-
to_actor_id: z.ZodNullable<z.
|
|
268
|
+
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>>;
|
|
269
|
+
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>>;
|
|
270
|
+
to_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>>;
|
|
271
|
+
to_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>>>;
|
|
272
272
|
role: z.ZodString;
|
|
273
273
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
274
|
-
scope_id: z.ZodNullable<z.
|
|
274
|
+
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>>>;
|
|
275
275
|
message: z.ZodNullable<z.ZodString>;
|
|
276
276
|
created_at: z.ZodString;
|
|
277
277
|
expires_at: z.ZodString;
|
|
@@ -280,7 +280,7 @@ export declare const RoleGrantOfferHistoryOutput: z.ZodObject<{
|
|
|
280
280
|
decline_reason: z.ZodNullable<z.ZodString>;
|
|
281
281
|
retracted_at: z.ZodNullable<z.ZodString>;
|
|
282
282
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
283
|
-
resulting_role_grant_id: z.ZodNullable<z.
|
|
283
|
+
resulting_role_grant_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>>>;
|
|
284
284
|
}, z.core.$strict>>;
|
|
285
285
|
}, z.core.$strict>;
|
|
286
286
|
export type RoleGrantOfferHistoryOutput = z.infer<typeof RoleGrantOfferHistoryOutput>;
|
|
@@ -299,18 +299,18 @@ export type RoleGrantRevokeOutput = z.infer<typeof RoleGrantRevokeOutput>;
|
|
|
299
299
|
* the grant row carries the pair.
|
|
300
300
|
*/
|
|
301
301
|
export declare const RoleGrantAssignInput: z.ZodObject<{
|
|
302
|
-
to_account_id: z.
|
|
303
|
-
to_actor_id: z.ZodOptional<z.ZodNullable<z.
|
|
302
|
+
to_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>>;
|
|
303
|
+
to_actor_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
304
|
role: z.ZodString;
|
|
305
305
|
scope_kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
306
|
-
scope_id: z.ZodOptional<z.ZodNullable<z.
|
|
307
|
-
acting: z.ZodOptional<z.
|
|
306
|
+
scope_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>>>>;
|
|
307
|
+
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>>>;
|
|
308
308
|
}, z.core.$strict>;
|
|
309
309
|
export type RoleGrantAssignInput = z.infer<typeof RoleGrantAssignInput>;
|
|
310
310
|
/** Output for `role_grant_assign`. */
|
|
311
311
|
export declare const RoleGrantAssignOutput: z.ZodObject<{
|
|
312
312
|
ok: z.ZodLiteral<true>;
|
|
313
|
-
role_grant_id: z.
|
|
313
|
+
role_grant_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>>;
|
|
314
314
|
}, z.core.$strict>;
|
|
315
315
|
export type RoleGrantAssignOutput = z.infer<typeof RoleGrantAssignOutput>;
|
|
316
316
|
/**
|
|
@@ -345,23 +345,23 @@ export declare const role_grant_offer_create_action_spec: {
|
|
|
345
345
|
};
|
|
346
346
|
side_effects: true;
|
|
347
347
|
input: z.ZodObject<{
|
|
348
|
-
to_account_id: z.
|
|
349
|
-
to_actor_id: z.ZodOptional<z.ZodNullable<z.
|
|
348
|
+
to_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>>;
|
|
349
|
+
to_actor_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>>>>;
|
|
350
350
|
role: z.ZodString;
|
|
351
351
|
scope_kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
352
|
-
scope_id: z.ZodOptional<z.ZodNullable<z.
|
|
352
|
+
scope_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>>>>;
|
|
353
353
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
354
|
-
acting: z.ZodOptional<z.
|
|
354
|
+
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>>>;
|
|
355
355
|
}, z.core.$strict>;
|
|
356
356
|
output: z.ZodObject<{
|
|
357
357
|
offer: z.ZodObject<{
|
|
358
|
-
id: z.
|
|
359
|
-
from_actor_id: z.
|
|
360
|
-
to_account_id: z.
|
|
361
|
-
to_actor_id: z.ZodNullable<z.
|
|
358
|
+
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>>;
|
|
359
|
+
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>>;
|
|
360
|
+
to_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>>;
|
|
361
|
+
to_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>>>;
|
|
362
362
|
role: z.ZodString;
|
|
363
363
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
364
|
-
scope_id: z.ZodNullable<z.
|
|
364
|
+
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>>>;
|
|
365
365
|
message: z.ZodNullable<z.ZodString>;
|
|
366
366
|
created_at: z.ZodString;
|
|
367
367
|
expires_at: z.ZodString;
|
|
@@ -370,7 +370,7 @@ export declare const role_grant_offer_create_action_spec: {
|
|
|
370
370
|
decline_reason: z.ZodNullable<z.ZodString>;
|
|
371
371
|
retracted_at: z.ZodNullable<z.ZodString>;
|
|
372
372
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
373
|
-
resulting_role_grant_id: z.ZodNullable<z.
|
|
373
|
+
resulting_role_grant_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>>>;
|
|
374
374
|
}, z.core.$strict>;
|
|
375
375
|
}, z.core.$strict>;
|
|
376
376
|
async: true;
|
|
@@ -404,19 +404,19 @@ export declare const role_grant_offer_accept_action_spec: {
|
|
|
404
404
|
};
|
|
405
405
|
side_effects: true;
|
|
406
406
|
input: z.ZodObject<{
|
|
407
|
-
offer_id: z.
|
|
408
|
-
acting: z.ZodOptional<z.
|
|
407
|
+
offer_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>>;
|
|
408
|
+
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>>>;
|
|
409
409
|
}, z.core.$strict>;
|
|
410
410
|
output: z.ZodObject<{
|
|
411
|
-
role_grant_id: z.
|
|
411
|
+
role_grant_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>>;
|
|
412
412
|
offer: z.ZodObject<{
|
|
413
|
-
id: z.
|
|
414
|
-
from_actor_id: z.
|
|
415
|
-
to_account_id: z.
|
|
416
|
-
to_actor_id: z.ZodNullable<z.
|
|
413
|
+
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>>;
|
|
414
|
+
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>>;
|
|
415
|
+
to_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>>;
|
|
416
|
+
to_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>>>;
|
|
417
417
|
role: z.ZodString;
|
|
418
418
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
419
|
-
scope_id: z.ZodNullable<z.
|
|
419
|
+
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>>>;
|
|
420
420
|
message: z.ZodNullable<z.ZodString>;
|
|
421
421
|
created_at: z.ZodString;
|
|
422
422
|
expires_at: z.ZodString;
|
|
@@ -425,9 +425,9 @@ export declare const role_grant_offer_accept_action_spec: {
|
|
|
425
425
|
decline_reason: z.ZodNullable<z.ZodString>;
|
|
426
426
|
retracted_at: z.ZodNullable<z.ZodString>;
|
|
427
427
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
428
|
-
resulting_role_grant_id: z.ZodNullable<z.
|
|
428
|
+
resulting_role_grant_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>>>;
|
|
429
429
|
}, z.core.$strict>;
|
|
430
|
-
superseded_offer_ids: z.ZodArray<z.
|
|
430
|
+
superseded_offer_ids: z.ZodArray<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>>>;
|
|
431
431
|
}, z.core.$strict>;
|
|
432
432
|
async: true;
|
|
433
433
|
description: string;
|
|
@@ -444,19 +444,19 @@ export declare const role_grant_offer_decline_action_spec: {
|
|
|
444
444
|
};
|
|
445
445
|
side_effects: true;
|
|
446
446
|
input: z.ZodObject<{
|
|
447
|
-
offer_id: z.
|
|
447
|
+
offer_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>>;
|
|
448
448
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
449
|
-
acting: z.ZodOptional<z.
|
|
449
|
+
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>>>;
|
|
450
450
|
}, z.core.$strict>;
|
|
451
451
|
output: z.ZodObject<{
|
|
452
452
|
offer: z.ZodObject<{
|
|
453
|
-
id: z.
|
|
454
|
-
from_actor_id: z.
|
|
455
|
-
to_account_id: z.
|
|
456
|
-
to_actor_id: z.ZodNullable<z.
|
|
453
|
+
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>>;
|
|
454
|
+
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>>;
|
|
455
|
+
to_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>>;
|
|
456
|
+
to_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>>>;
|
|
457
457
|
role: z.ZodString;
|
|
458
458
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
459
|
-
scope_id: z.ZodNullable<z.
|
|
459
|
+
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>>>;
|
|
460
460
|
message: z.ZodNullable<z.ZodString>;
|
|
461
461
|
created_at: z.ZodString;
|
|
462
462
|
expires_at: z.ZodString;
|
|
@@ -465,7 +465,7 @@ export declare const role_grant_offer_decline_action_spec: {
|
|
|
465
465
|
decline_reason: z.ZodNullable<z.ZodString>;
|
|
466
466
|
retracted_at: z.ZodNullable<z.ZodString>;
|
|
467
467
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
468
|
-
resulting_role_grant_id: z.ZodNullable<z.
|
|
468
|
+
resulting_role_grant_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>>>;
|
|
469
469
|
}, z.core.$strict>;
|
|
470
470
|
}, z.core.$strict>;
|
|
471
471
|
async: true;
|
|
@@ -482,18 +482,18 @@ export declare const role_grant_offer_retract_action_spec: {
|
|
|
482
482
|
};
|
|
483
483
|
side_effects: true;
|
|
484
484
|
input: z.ZodObject<{
|
|
485
|
-
offer_id: z.
|
|
486
|
-
acting: z.ZodOptional<z.
|
|
485
|
+
offer_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>>;
|
|
486
|
+
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>>>;
|
|
487
487
|
}, z.core.$strict>;
|
|
488
488
|
output: z.ZodObject<{
|
|
489
489
|
offer: z.ZodObject<{
|
|
490
|
-
id: z.
|
|
491
|
-
from_actor_id: z.
|
|
492
|
-
to_account_id: z.
|
|
493
|
-
to_actor_id: z.ZodNullable<z.
|
|
490
|
+
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>>;
|
|
491
|
+
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>>;
|
|
492
|
+
to_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>>;
|
|
493
|
+
to_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>>>;
|
|
494
494
|
role: z.ZodString;
|
|
495
495
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
496
|
-
scope_id: z.ZodNullable<z.
|
|
496
|
+
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>>>;
|
|
497
497
|
message: z.ZodNullable<z.ZodString>;
|
|
498
498
|
created_at: z.ZodString;
|
|
499
499
|
expires_at: z.ZodString;
|
|
@@ -502,7 +502,7 @@ export declare const role_grant_offer_retract_action_spec: {
|
|
|
502
502
|
decline_reason: z.ZodNullable<z.ZodString>;
|
|
503
503
|
retracted_at: z.ZodNullable<z.ZodString>;
|
|
504
504
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
505
|
-
resulting_role_grant_id: z.ZodNullable<z.
|
|
505
|
+
resulting_role_grant_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>>>;
|
|
506
506
|
}, z.core.$strict>;
|
|
507
507
|
}, z.core.$strict>;
|
|
508
508
|
async: true;
|
|
@@ -519,18 +519,18 @@ export declare const role_grant_offer_list_action_spec: {
|
|
|
519
519
|
};
|
|
520
520
|
side_effects: false;
|
|
521
521
|
input: z.ZodDefault<z.ZodObject<{
|
|
522
|
-
account_id: z.ZodOptional<z.ZodNullable<z.
|
|
523
|
-
acting: z.ZodOptional<z.
|
|
522
|
+
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>>>>;
|
|
523
|
+
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>>>;
|
|
524
524
|
}, z.core.$strict>>;
|
|
525
525
|
output: z.ZodObject<{
|
|
526
526
|
offers: z.ZodArray<z.ZodObject<{
|
|
527
|
-
id: z.
|
|
528
|
-
from_actor_id: z.
|
|
529
|
-
to_account_id: z.
|
|
530
|
-
to_actor_id: z.ZodNullable<z.
|
|
527
|
+
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>>;
|
|
528
|
+
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>>;
|
|
529
|
+
to_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>>;
|
|
530
|
+
to_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>>>;
|
|
531
531
|
role: z.ZodString;
|
|
532
532
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
533
|
-
scope_id: z.ZodNullable<z.
|
|
533
|
+
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>>>;
|
|
534
534
|
message: z.ZodNullable<z.ZodString>;
|
|
535
535
|
created_at: z.ZodString;
|
|
536
536
|
expires_at: z.ZodString;
|
|
@@ -539,7 +539,7 @@ export declare const role_grant_offer_list_action_spec: {
|
|
|
539
539
|
decline_reason: z.ZodNullable<z.ZodString>;
|
|
540
540
|
retracted_at: z.ZodNullable<z.ZodString>;
|
|
541
541
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
542
|
-
resulting_role_grant_id: z.ZodNullable<z.
|
|
542
|
+
resulting_role_grant_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>>>;
|
|
543
543
|
}, z.core.$strict>>;
|
|
544
544
|
}, z.core.$strict>;
|
|
545
545
|
async: true;
|
|
@@ -555,20 +555,20 @@ export declare const role_grant_offer_history_action_spec: {
|
|
|
555
555
|
};
|
|
556
556
|
side_effects: false;
|
|
557
557
|
input: z.ZodDefault<z.ZodObject<{
|
|
558
|
-
account_id: z.ZodOptional<z.ZodNullable<z.
|
|
558
|
+
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>>>>;
|
|
559
559
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
560
560
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
561
|
-
acting: z.ZodOptional<z.
|
|
561
|
+
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>>>;
|
|
562
562
|
}, z.core.$strict>>;
|
|
563
563
|
output: z.ZodObject<{
|
|
564
564
|
offers: z.ZodArray<z.ZodObject<{
|
|
565
|
-
id: z.
|
|
566
|
-
from_actor_id: z.
|
|
567
|
-
to_account_id: z.
|
|
568
|
-
to_actor_id: z.ZodNullable<z.
|
|
565
|
+
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>>;
|
|
566
|
+
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>>;
|
|
567
|
+
to_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>>;
|
|
568
|
+
to_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
|
role: z.ZodString;
|
|
570
570
|
scope_kind: z.ZodNullable<z.ZodString>;
|
|
571
|
-
scope_id: z.ZodNullable<z.
|
|
571
|
+
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>>>;
|
|
572
572
|
message: z.ZodNullable<z.ZodString>;
|
|
573
573
|
created_at: z.ZodString;
|
|
574
574
|
expires_at: z.ZodString;
|
|
@@ -577,7 +577,7 @@ export declare const role_grant_offer_history_action_spec: {
|
|
|
577
577
|
decline_reason: z.ZodNullable<z.ZodString>;
|
|
578
578
|
retracted_at: z.ZodNullable<z.ZodString>;
|
|
579
579
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
580
|
-
resulting_role_grant_id: z.ZodNullable<z.
|
|
580
|
+
resulting_role_grant_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>>>;
|
|
581
581
|
}, z.core.$strict>>;
|
|
582
582
|
}, z.core.$strict>;
|
|
583
583
|
async: true;
|
|
@@ -600,10 +600,10 @@ export declare const role_grant_revoke_action_spec: {
|
|
|
600
600
|
};
|
|
601
601
|
side_effects: true;
|
|
602
602
|
input: z.ZodObject<{
|
|
603
|
-
actor_id: z.
|
|
604
|
-
role_grant_id: z.
|
|
603
|
+
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>>;
|
|
604
|
+
role_grant_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>>;
|
|
605
605
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
606
|
-
acting: z.ZodOptional<z.
|
|
606
|
+
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>>>;
|
|
607
607
|
}, z.core.$strict>;
|
|
608
608
|
output: z.ZodObject<{
|
|
609
609
|
ok: z.ZodLiteral<true>;
|
|
@@ -630,16 +630,16 @@ export declare const role_grant_assign_action_spec: {
|
|
|
630
630
|
};
|
|
631
631
|
side_effects: true;
|
|
632
632
|
input: z.ZodObject<{
|
|
633
|
-
to_account_id: z.
|
|
634
|
-
to_actor_id: z.ZodOptional<z.ZodNullable<z.
|
|
633
|
+
to_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>>;
|
|
634
|
+
to_actor_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>>>>;
|
|
635
635
|
role: z.ZodString;
|
|
636
636
|
scope_kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
637
|
-
scope_id: z.ZodOptional<z.ZodNullable<z.
|
|
638
|
-
acting: z.ZodOptional<z.
|
|
637
|
+
scope_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>>>>;
|
|
638
|
+
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>>>;
|
|
639
639
|
}, z.core.$strict>;
|
|
640
640
|
output: z.ZodObject<{
|
|
641
641
|
ok: z.ZodLiteral<true>;
|
|
642
|
-
role_grant_id: z.
|
|
642
|
+
role_grant_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>>;
|
|
643
643
|
}, z.core.$strict>;
|
|
644
644
|
async: true;
|
|
645
645
|
description: string;
|