@heynixie/contract 0.71.0 → 0.73.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/{approval-contract.d.ts → contract/approval-contract.d.ts} +208 -2
- package/dist/contract/authentication-response-schema.d.ts +17 -0
- package/dist/contract/base64-url-schema.d.ts +2 -0
- package/dist/{build-query-utils.d.ts → contract/build-query-utils.d.ts} +619 -262
- package/dist/contract/challenge-for-schema.d.ts +18 -0
- package/dist/contract/choice-schema.d.ts +7 -0
- package/dist/{contract.d.ts → contract/contract.d.ts} +661 -308
- package/dist/contract/creation-options-schema.d.ts +42 -0
- package/dist/contract/credential-descriptor-schema.d.ts +6 -0
- package/dist/contract/forgettable-kinds.d.ts +1 -0
- package/dist/{host-contract.d.ts → contract/host-contract.d.ts} +75 -199
- package/dist/contract/host-passkey-contract.d.ts +29 -0
- package/dist/{memory-view-contract.d.ts → contract/memory-view-contract.d.ts} +1 -230
- package/dist/contract/no-passkey-error.d.ts +6 -0
- package/dist/contract/passkey-contract.d.ts +270 -0
- package/dist/contract/passkey-failed-error.d.ts +18 -0
- package/dist/contract/passkey-failure-schema.d.ts +10 -0
- package/dist/contract/pause-state-schema.d.ts +9 -0
- package/dist/contract/recovery-schema.d.ts +21 -0
- package/dist/contract/registration-response-schema.d.ts +19 -0
- package/dist/contract/request-options-schema.d.ts +16 -0
- package/dist/contract/rule-contract.d.ts +106 -0
- package/dist/contract/transports-schema.d.ts +2 -0
- package/dist/contract/user-verification-schema.d.ts +6 -0
- package/dist/index.d.ts +17 -18
- package/dist/index.js +1153 -944
- package/dist/{build-pending-input.d.ts → span/build-pending-input.d.ts} +1 -1
- package/dist/{build-span-state.d.ts → span/build-span-state.d.ts} +1 -1
- package/dist/{pick-span-source.d.ts → span/pick-span-source.d.ts} +1 -1
- package/dist/types.d.ts +3 -3
- package/package.json +1 -1
- package/dist/forgettable-kinds.d.ts +0 -1
- package/dist/proposal-outcome-schema.d.ts +0 -37
- package/dist/rule-contract.d.ts +0 -124
- /package/dist/{action-proposal-schema.d.ts → contract/action-proposal-schema.d.ts} +0 -0
- /package/dist/{client-header-name.d.ts → contract/client-header-name.d.ts} +0 -0
- /package/dist/{forget-backup-schema.d.ts → contract/forget-backup-schema.d.ts} +0 -0
- /package/dist/{image-limits.d.ts → contract/image-limits.d.ts} +0 -0
- /package/dist/{image-not-found-error.d.ts → contract/image-not-found-error.d.ts} +0 -0
- /package/dist/{image-refused-error.d.ts → contract/image-refused-error.d.ts} +0 -0
- /package/dist/{input-miss-schema.d.ts → contract/input-miss-schema.d.ts} +0 -0
- /package/dist/{is-time-zone.d.ts → contract/is-time-zone.d.ts} +0 -0
- /package/dist/{known-contact-schema.d.ts → contract/known-contact-schema.d.ts} +0 -0
- /package/dist/{logged-input-schema.d.ts → contract/logged-input-schema.d.ts} +0 -0
- /package/dist/{memory-export-contract.d.ts → contract/memory-export-contract.d.ts} +0 -0
- /package/dist/{moment-contract.d.ts → contract/moment-contract.d.ts} +0 -0
- /package/dist/{render-session-cookie.d.ts → contract/render-session-cookie.d.ts} +0 -0
- /package/dist/{reused-id-errors.d.ts → contract/reused-id-errors.d.ts} +0 -0
- /package/dist/{session-cookie-name.d.ts → contract/session-cookie-name.d.ts} +0 -0
- /package/dist/{signed-in.d.ts → contract/signed-in.d.ts} +0 -0
- /package/dist/{task-schema.d.ts → contract/task-schema.d.ts} +0 -0
- /package/dist/{tool-call-schema.d.ts → contract/tool-call-schema.d.ts} +0 -0
- /package/dist/{turn-inputs-contract.d.ts → contract/turn-inputs-contract.d.ts} +0 -0
- /package/dist/{task-message-input-schema.d.ts → message/task-message-input-schema.d.ts} +0 -0
- /package/dist/{task-message-kind-schema.d.ts → message/task-message-kind-schema.d.ts} +0 -0
- /package/dist/{task-message-result-schema.d.ts → message/task-message-result-schema.d.ts} +0 -0
- /package/dist/{has-several-words.d.ts → span/has-several-words.d.ts} +0 -0
- /package/dist/{span-schema.d.ts → span/span-schema.d.ts} +0 -0
|
@@ -79,6 +79,10 @@ export declare const contract: {
|
|
|
79
79
|
ratedBy: z.ZodOptional<z.ZodString>;
|
|
80
80
|
recalledSequence: z.ZodInt;
|
|
81
81
|
}, z.core.$strip>>;
|
|
82
|
+
proposal: z.ZodOptional<z.ZodObject<{
|
|
83
|
+
proposalID: z.ZodString;
|
|
84
|
+
shortID: z.ZodString;
|
|
85
|
+
}, z.core.$strip>>;
|
|
82
86
|
recall: z.ZodOptional<z.ZodObject<{
|
|
83
87
|
items: z.ZodArray<z.ZodObject<{
|
|
84
88
|
itemID: z.ZodString;
|
|
@@ -205,6 +209,10 @@ export declare const contract: {
|
|
|
205
209
|
ratedBy: z.ZodOptional<z.ZodString>;
|
|
206
210
|
recalledSequence: z.ZodInt;
|
|
207
211
|
}, z.core.$strip>>;
|
|
212
|
+
proposal: z.ZodOptional<z.ZodObject<{
|
|
213
|
+
proposalID: z.ZodString;
|
|
214
|
+
shortID: z.ZodString;
|
|
215
|
+
}, z.core.$strip>>;
|
|
208
216
|
recall: z.ZodOptional<z.ZodObject<{
|
|
209
217
|
items: z.ZodArray<z.ZodObject<{
|
|
210
218
|
itemID: z.ZodString;
|
|
@@ -380,6 +388,18 @@ export declare const contract: {
|
|
|
380
388
|
thread: z.ZodString;
|
|
381
389
|
}, z.core.$strip>, z.ZodObject<{
|
|
382
390
|
forgottenAt: z.ZodDate;
|
|
391
|
+
backup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
392
|
+
state: z.ZodLiteral<"off">;
|
|
393
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
394
|
+
state: z.ZodLiteral<"pending">;
|
|
395
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
396
|
+
state: z.ZodLiteral<"failed">;
|
|
397
|
+
failure: z.ZodString;
|
|
398
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
399
|
+
state: z.ZodLiteral<"complete">;
|
|
400
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
401
|
+
state: z.ZodLiteral<"unknown">;
|
|
402
|
+
}, z.core.$strip>], "state">;
|
|
383
403
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
384
404
|
UNAUTHORIZED: {
|
|
385
405
|
message: string;
|
|
@@ -395,6 +415,10 @@ export declare const contract: {
|
|
|
395
415
|
message: string;
|
|
396
416
|
status: number;
|
|
397
417
|
};
|
|
418
|
+
ACTION_NOT_FINISHED: {
|
|
419
|
+
message: string;
|
|
420
|
+
status: number;
|
|
421
|
+
};
|
|
398
422
|
}>, Record<never, never>>;
|
|
399
423
|
};
|
|
400
424
|
tasks: {
|
|
@@ -416,6 +440,7 @@ export declare const contract: {
|
|
|
416
440
|
stop: "stop";
|
|
417
441
|
}>>;
|
|
418
442
|
isPauseRequested: z.ZodBoolean;
|
|
443
|
+
isPausedByNixie: z.ZodBoolean;
|
|
419
444
|
isTakingMessages: z.ZodBoolean;
|
|
420
445
|
lastActivityAt: z.ZodDate;
|
|
421
446
|
name: z.ZodString;
|
|
@@ -456,6 +481,7 @@ export declare const contract: {
|
|
|
456
481
|
stop: "stop";
|
|
457
482
|
}>>;
|
|
458
483
|
isPauseRequested: z.ZodBoolean;
|
|
484
|
+
isPausedByNixie: z.ZodBoolean;
|
|
459
485
|
isTakingMessages: z.ZodBoolean;
|
|
460
486
|
lastActivityAt: z.ZodDate;
|
|
461
487
|
name: z.ZodString;
|
|
@@ -1196,7 +1222,6 @@ export declare const contract: {
|
|
|
1196
1222
|
origin: z.ZodEnum<{
|
|
1197
1223
|
conversation: "conversation";
|
|
1198
1224
|
lapse: "lapse";
|
|
1199
|
-
memory_writer: "memory_writer";
|
|
1200
1225
|
owner: "owner";
|
|
1201
1226
|
task: "task";
|
|
1202
1227
|
}>;
|
|
@@ -1260,7 +1285,6 @@ export declare const contract: {
|
|
|
1260
1285
|
origin: z.ZodEnum<{
|
|
1261
1286
|
conversation: "conversation";
|
|
1262
1287
|
lapse: "lapse";
|
|
1263
|
-
memory_writer: "memory_writer";
|
|
1264
1288
|
owner: "owner";
|
|
1265
1289
|
task: "task";
|
|
1266
1290
|
}>;
|
|
@@ -1324,7 +1348,6 @@ export declare const contract: {
|
|
|
1324
1348
|
origin: z.ZodEnum<{
|
|
1325
1349
|
conversation: "conversation";
|
|
1326
1350
|
lapse: "lapse";
|
|
1327
|
-
memory_writer: "memory_writer";
|
|
1328
1351
|
owner: "owner";
|
|
1329
1352
|
task: "task";
|
|
1330
1353
|
}>;
|
|
@@ -1382,7 +1405,6 @@ export declare const contract: {
|
|
|
1382
1405
|
origin: z.ZodEnum<{
|
|
1383
1406
|
conversation: "conversation";
|
|
1384
1407
|
lapse: "lapse";
|
|
1385
|
-
memory_writer: "memory_writer";
|
|
1386
1408
|
owner: "owner";
|
|
1387
1409
|
task: "task";
|
|
1388
1410
|
}>;
|
|
@@ -1444,7 +1466,6 @@ export declare const contract: {
|
|
|
1444
1466
|
origin: z.ZodEnum<{
|
|
1445
1467
|
conversation: "conversation";
|
|
1446
1468
|
lapse: "lapse";
|
|
1447
|
-
memory_writer: "memory_writer";
|
|
1448
1469
|
owner: "owner";
|
|
1449
1470
|
task: "task";
|
|
1450
1471
|
}>;
|
|
@@ -1585,7 +1606,6 @@ export declare const contract: {
|
|
|
1585
1606
|
origin: z.ZodEnum<{
|
|
1586
1607
|
conversation: "conversation";
|
|
1587
1608
|
lapse: "lapse";
|
|
1588
|
-
memory_writer: "memory_writer";
|
|
1589
1609
|
owner: "owner";
|
|
1590
1610
|
task: "task";
|
|
1591
1611
|
}>;
|
|
@@ -1628,8 +1648,6 @@ export declare const contract: {
|
|
|
1628
1648
|
version: z.ZodNullable<z.ZodInt>;
|
|
1629
1649
|
}, z.core.$strip>>;
|
|
1630
1650
|
kind: z.ZodEnum<{
|
|
1631
|
-
batch: "batch";
|
|
1632
|
-
catch_up: "catch_up";
|
|
1633
1651
|
run: "run";
|
|
1634
1652
|
turn: "turn";
|
|
1635
1653
|
}>;
|
|
@@ -1745,7 +1763,6 @@ export declare const contract: {
|
|
|
1745
1763
|
origin: z.ZodEnum<{
|
|
1746
1764
|
conversation: "conversation";
|
|
1747
1765
|
lapse: "lapse";
|
|
1748
|
-
memory_writer: "memory_writer";
|
|
1749
1766
|
owner: "owner";
|
|
1750
1767
|
task: "task";
|
|
1751
1768
|
}>;
|
|
@@ -1807,7 +1824,6 @@ export declare const contract: {
|
|
|
1807
1824
|
origin: z.ZodEnum<{
|
|
1808
1825
|
conversation: "conversation";
|
|
1809
1826
|
lapse: "lapse";
|
|
1810
|
-
memory_writer: "memory_writer";
|
|
1811
1827
|
owner: "owner";
|
|
1812
1828
|
task: "task";
|
|
1813
1829
|
}>;
|
|
@@ -1919,7 +1935,6 @@ export declare const contract: {
|
|
|
1919
1935
|
origin: z.ZodEnum<{
|
|
1920
1936
|
conversation: "conversation";
|
|
1921
1937
|
lapse: "lapse";
|
|
1922
|
-
memory_writer: "memory_writer";
|
|
1923
1938
|
owner: "owner";
|
|
1924
1939
|
task: "task";
|
|
1925
1940
|
}>;
|
|
@@ -2120,223 +2135,6 @@ export declare const contract: {
|
|
|
2120
2135
|
status: number;
|
|
2121
2136
|
};
|
|
2122
2137
|
}>, Record<never, never>>;
|
|
2123
|
-
listProposals: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
2124
|
-
proposals: z.ZodArray<z.ZodObject<{
|
|
2125
|
-
actionHash: z.ZodString;
|
|
2126
|
-
createdAt: z.ZodDate;
|
|
2127
|
-
evidence: z.ZodNullable<z.ZodObject<{
|
|
2128
|
-
end: z.ZodInt;
|
|
2129
|
-
message: z.ZodNullable<z.ZodObject<{
|
|
2130
|
-
status: z.ZodEnum<{
|
|
2131
|
-
missing: "missing";
|
|
2132
|
-
readable: "readable";
|
|
2133
|
-
shredded: "shredded";
|
|
2134
|
-
unreadable: "unreadable";
|
|
2135
|
-
}>;
|
|
2136
|
-
text: z.ZodOptional<z.ZodString>;
|
|
2137
|
-
}, z.core.$strip>>;
|
|
2138
|
-
sequence: z.ZodInt;
|
|
2139
|
-
start: z.ZodInt;
|
|
2140
|
-
}, z.core.$strip>>;
|
|
2141
|
-
image: z.ZodNullable<z.ZodObject<{
|
|
2142
|
-
position: z.ZodInt;
|
|
2143
|
-
sequence: z.ZodInt;
|
|
2144
|
-
thread: z.ZodString;
|
|
2145
|
-
}, z.core.$strip>>;
|
|
2146
|
-
isPinned: z.ZodBoolean;
|
|
2147
|
-
isSensitive: z.ZodBoolean;
|
|
2148
|
-
itemID: z.ZodString;
|
|
2149
|
-
kind: z.ZodEnum<{
|
|
2150
|
-
fact: "fact";
|
|
2151
|
-
self: "self";
|
|
2152
|
-
}>;
|
|
2153
|
-
lapseAt: z.ZodDate;
|
|
2154
|
-
newSubject: z.ZodNullable<z.ZodEnum<{
|
|
2155
|
-
owner: "owner";
|
|
2156
|
-
self: "self";
|
|
2157
|
-
shared: "shared";
|
|
2158
|
-
}>>;
|
|
2159
|
-
operation: z.ZodEnum<{
|
|
2160
|
-
pin: "pin";
|
|
2161
|
-
remember: "remember";
|
|
2162
|
-
retire: "retire";
|
|
2163
|
-
}>;
|
|
2164
|
-
origin: z.ZodEnum<{
|
|
2165
|
-
conversation: "conversation";
|
|
2166
|
-
memory_writer: "memory_writer";
|
|
2167
|
-
owner: "owner";
|
|
2168
|
-
task: "task";
|
|
2169
|
-
}>;
|
|
2170
|
-
proposalID: z.ZodString;
|
|
2171
|
-
quote: z.ZodNullable<z.ZodString>;
|
|
2172
|
-
reason: z.ZodEnum<{
|
|
2173
|
-
ambiguous_target: "ambiguous_target";
|
|
2174
|
-
checker_not_asserted: "checker_not_asserted";
|
|
2175
|
-
checker_unreachable: "checker_unreachable";
|
|
2176
|
-
checker_unsure: "checker_unsure";
|
|
2177
|
-
forgotten_evidence: "forgotten_evidence";
|
|
2178
|
-
from_photo: "from_photo";
|
|
2179
|
-
invisible_character: "invisible_character";
|
|
2180
|
-
no_quote: "no_quote";
|
|
2181
|
-
other: "other";
|
|
2182
|
-
pinned: "pinned";
|
|
2183
|
-
quote_in_quoted_block: "quote_in_quoted_block";
|
|
2184
|
-
quote_not_typed: "quote_not_typed";
|
|
2185
|
-
self_note: "self_note";
|
|
2186
|
-
sensitive: "sensitive";
|
|
2187
|
-
subject_change: "subject_change";
|
|
2188
|
-
token_missing: "token_missing";
|
|
2189
|
-
}>;
|
|
2190
|
-
source: z.ZodEnum<{
|
|
2191
|
-
owner: "owner";
|
|
2192
|
-
owner_data: "owner_data";
|
|
2193
|
-
untrusted: "untrusted";
|
|
2194
|
-
}>;
|
|
2195
|
-
sources: z.ZodArray<z.ZodObject<{
|
|
2196
|
-
origin: z.ZodEnum<{
|
|
2197
|
-
conversation: "conversation";
|
|
2198
|
-
memory_writer: "memory_writer";
|
|
2199
|
-
owner: "owner";
|
|
2200
|
-
task: "task";
|
|
2201
|
-
}>;
|
|
2202
|
-
proposedAt: z.ZodDate;
|
|
2203
|
-
thread: z.ZodNullable<z.ZodString>;
|
|
2204
|
-
}, z.core.$strip>>;
|
|
2205
|
-
subject: z.ZodEnum<{
|
|
2206
|
-
owner: "owner";
|
|
2207
|
-
self: "self";
|
|
2208
|
-
shared: "shared";
|
|
2209
|
-
}>;
|
|
2210
|
-
targetVersion: z.ZodNullable<z.ZodInt>;
|
|
2211
|
-
text: z.ZodString;
|
|
2212
|
-
until: z.ZodNullable<z.ZodDate>;
|
|
2213
|
-
}, z.core.$strip>>;
|
|
2214
|
-
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2215
|
-
UNAUTHORIZED: {
|
|
2216
|
-
message: string;
|
|
2217
|
-
status: number;
|
|
2218
|
-
};
|
|
2219
|
-
}>, {
|
|
2220
|
-
MEMORY_NOT_STARTED: {
|
|
2221
|
-
message: string;
|
|
2222
|
-
status: number;
|
|
2223
|
-
};
|
|
2224
|
-
}>, Record<never, never>>;
|
|
2225
|
-
approveProposals: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2226
|
-
answers: z.ZodArray<z.ZodObject<{
|
|
2227
|
-
actionHash: z.ZodString;
|
|
2228
|
-
clientActionID: z.ZodUUID;
|
|
2229
|
-
proposalID: z.ZodString;
|
|
2230
|
-
editedText: z.ZodOptional<z.ZodString>;
|
|
2231
|
-
ignoreCloseMatch: z.ZodOptional<z.ZodBoolean>;
|
|
2232
|
-
revisionOf: z.ZodOptional<z.ZodObject<{
|
|
2233
|
-
itemID: z.ZodString;
|
|
2234
|
-
version: z.ZodInt;
|
|
2235
|
-
}, z.core.$strip>>;
|
|
2236
|
-
}, z.core.$strip>>;
|
|
2237
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2238
|
-
outcomes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2239
|
-
proposalID: z.ZodString;
|
|
2240
|
-
status: z.ZodLiteral<"applied">;
|
|
2241
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2242
|
-
proposalID: z.ZodString;
|
|
2243
|
-
status: z.ZodLiteral<"rejected">;
|
|
2244
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2245
|
-
item: z.ZodObject<{
|
|
2246
|
-
itemID: z.ZodString;
|
|
2247
|
-
text: z.ZodString;
|
|
2248
|
-
version: z.ZodInt;
|
|
2249
|
-
}, z.core.$strip>;
|
|
2250
|
-
proposalID: z.ZodString;
|
|
2251
|
-
status: z.ZodLiteral<"close_match">;
|
|
2252
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2253
|
-
cause: z.ZodEnum<{
|
|
2254
|
-
answered: "answered";
|
|
2255
|
-
changed: "changed";
|
|
2256
|
-
gone: "gone";
|
|
2257
|
-
lapsed: "lapsed";
|
|
2258
|
-
moved: "moved";
|
|
2259
|
-
}>;
|
|
2260
|
-
proposalID: z.ZodString;
|
|
2261
|
-
status: z.ZodLiteral<"stale">;
|
|
2262
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2263
|
-
code: z.ZodEnum<{
|
|
2264
|
-
CLIENT_ACTION_ID_REUSED: "CLIENT_ACTION_ID_REUSED";
|
|
2265
|
-
PINNED_CORE_FULL: "PINNED_CORE_FULL";
|
|
2266
|
-
PIN_EDIT: "PIN_EDIT";
|
|
2267
|
-
RETIREMENT_EDIT: "RETIREMENT_EDIT";
|
|
2268
|
-
REVISION_TARGET: "REVISION_TARGET";
|
|
2269
|
-
WRONG_STATE: "WRONG_STATE";
|
|
2270
|
-
}>;
|
|
2271
|
-
proposalID: z.ZodString;
|
|
2272
|
-
status: z.ZodLiteral<"refused">;
|
|
2273
|
-
}, z.core.$strip>], "status">>;
|
|
2274
|
-
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2275
|
-
UNAUTHORIZED: {
|
|
2276
|
-
message: string;
|
|
2277
|
-
status: number;
|
|
2278
|
-
};
|
|
2279
|
-
}>, {
|
|
2280
|
-
MEMORY_NOT_STARTED: {
|
|
2281
|
-
message: string;
|
|
2282
|
-
status: number;
|
|
2283
|
-
};
|
|
2284
|
-
}>, Record<never, never>>;
|
|
2285
|
-
rejectProposals: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2286
|
-
answers: z.ZodArray<z.ZodObject<{
|
|
2287
|
-
actionHash: z.ZodString;
|
|
2288
|
-
clientActionID: z.ZodUUID;
|
|
2289
|
-
proposalID: z.ZodString;
|
|
2290
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
2291
|
-
}, z.core.$strip>>;
|
|
2292
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2293
|
-
outcomes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2294
|
-
proposalID: z.ZodString;
|
|
2295
|
-
status: z.ZodLiteral<"applied">;
|
|
2296
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2297
|
-
proposalID: z.ZodString;
|
|
2298
|
-
status: z.ZodLiteral<"rejected">;
|
|
2299
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2300
|
-
item: z.ZodObject<{
|
|
2301
|
-
itemID: z.ZodString;
|
|
2302
|
-
text: z.ZodString;
|
|
2303
|
-
version: z.ZodInt;
|
|
2304
|
-
}, z.core.$strip>;
|
|
2305
|
-
proposalID: z.ZodString;
|
|
2306
|
-
status: z.ZodLiteral<"close_match">;
|
|
2307
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2308
|
-
cause: z.ZodEnum<{
|
|
2309
|
-
answered: "answered";
|
|
2310
|
-
changed: "changed";
|
|
2311
|
-
gone: "gone";
|
|
2312
|
-
lapsed: "lapsed";
|
|
2313
|
-
moved: "moved";
|
|
2314
|
-
}>;
|
|
2315
|
-
proposalID: z.ZodString;
|
|
2316
|
-
status: z.ZodLiteral<"stale">;
|
|
2317
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2318
|
-
code: z.ZodEnum<{
|
|
2319
|
-
CLIENT_ACTION_ID_REUSED: "CLIENT_ACTION_ID_REUSED";
|
|
2320
|
-
PINNED_CORE_FULL: "PINNED_CORE_FULL";
|
|
2321
|
-
PIN_EDIT: "PIN_EDIT";
|
|
2322
|
-
RETIREMENT_EDIT: "RETIREMENT_EDIT";
|
|
2323
|
-
REVISION_TARGET: "REVISION_TARGET";
|
|
2324
|
-
WRONG_STATE: "WRONG_STATE";
|
|
2325
|
-
}>;
|
|
2326
|
-
proposalID: z.ZodString;
|
|
2327
|
-
status: z.ZodLiteral<"refused">;
|
|
2328
|
-
}, z.core.$strip>], "status">>;
|
|
2329
|
-
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2330
|
-
UNAUTHORIZED: {
|
|
2331
|
-
message: string;
|
|
2332
|
-
status: number;
|
|
2333
|
-
};
|
|
2334
|
-
}>, {
|
|
2335
|
-
MEMORY_NOT_STARTED: {
|
|
2336
|
-
message: string;
|
|
2337
|
-
status: number;
|
|
2338
|
-
};
|
|
2339
|
-
}>, Record<never, never>>;
|
|
2340
2138
|
readVersions: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2341
2139
|
versions: z.ZodArray<z.ZodObject<{
|
|
2342
2140
|
itemID: z.ZodString;
|
|
@@ -2402,54 +2200,16 @@ export declare const contract: {
|
|
|
2402
2200
|
status: number;
|
|
2403
2201
|
};
|
|
2404
2202
|
}>, Record<never, never>>;
|
|
2405
|
-
consolidatorStatus: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
2406
|
-
isEnabled: z.ZodBoolean;
|
|
2407
|
-
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2408
|
-
UNAUTHORIZED: {
|
|
2409
|
-
message: string;
|
|
2410
|
-
status: number;
|
|
2411
|
-
};
|
|
2412
|
-
}>, Record<never, never>>;
|
|
2413
2203
|
};
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2204
|
+
nixie: {
|
|
2205
|
+
read: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
2206
|
+
paused: z.ZodNullable<z.ZodObject<{
|
|
2417
2207
|
cause: z.ZodEnum<{
|
|
2418
|
-
|
|
2419
|
-
|
|
2208
|
+
owner: "owner";
|
|
2209
|
+
restore: "restore";
|
|
2210
|
+
spending: "spending";
|
|
2420
2211
|
}>;
|
|
2421
|
-
|
|
2422
|
-
raisedAt: z.ZodDate;
|
|
2423
|
-
}, z.core.$strip>>;
|
|
2424
|
-
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2425
|
-
UNAUTHORIZED: {
|
|
2426
|
-
message: string;
|
|
2427
|
-
status: number;
|
|
2428
|
-
};
|
|
2429
|
-
}>, Record<never, never>>;
|
|
2430
|
-
};
|
|
2431
|
-
rules: {
|
|
2432
|
-
listProposals: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
2433
|
-
proposals: z.ZodArray<z.ZodObject<{
|
|
2434
|
-
proposalID: z.ZodString;
|
|
2435
|
-
changes: z.ZodArray<z.ZodObject<{
|
|
2436
|
-
ruleID: z.ZodString;
|
|
2437
|
-
before: z.ZodNullable<z.ZodObject<{
|
|
2438
|
-
ruleHash: z.ZodString;
|
|
2439
|
-
sentence: z.ZodString;
|
|
2440
|
-
}, z.core.$strip>>;
|
|
2441
|
-
after: z.ZodNullable<z.ZodObject<{
|
|
2442
|
-
ruleHash: z.ZodString;
|
|
2443
|
-
sentence: z.ZodString;
|
|
2444
|
-
}, z.core.$strip>>;
|
|
2445
|
-
}, z.core.$strip>>;
|
|
2446
|
-
effectChanges: z.ZodArray<z.ZodObject<{
|
|
2447
|
-
tool: z.ZodString;
|
|
2448
|
-
remove: z.ZodArray<z.ZodString>;
|
|
2449
|
-
sentence: z.ZodString;
|
|
2450
|
-
}, z.core.$strip>>;
|
|
2451
|
-
createdAt: z.ZodDate;
|
|
2452
|
-
lapseAt: z.ZodDate;
|
|
2212
|
+
since: z.ZodDate;
|
|
2453
2213
|
}, z.core.$strip>>;
|
|
2454
2214
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2455
2215
|
UNAUTHORIZED: {
|
|
@@ -2457,53 +2217,89 @@ export declare const contract: {
|
|
|
2457
2217
|
status: number;
|
|
2458
2218
|
};
|
|
2459
2219
|
}>, Record<never, never>>;
|
|
2460
|
-
|
|
2461
|
-
|
|
2220
|
+
pause: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2221
|
+
clientActionID: z.ZodUUID;
|
|
2462
2222
|
}, z.core.$strip>, z.ZodObject<{
|
|
2463
|
-
|
|
2223
|
+
paused: z.ZodNullable<z.ZodObject<{
|
|
2224
|
+
cause: z.ZodEnum<{
|
|
2225
|
+
owner: "owner";
|
|
2226
|
+
restore: "restore";
|
|
2227
|
+
spending: "spending";
|
|
2228
|
+
}>;
|
|
2229
|
+
since: z.ZodDate;
|
|
2230
|
+
}, z.core.$strip>>;
|
|
2464
2231
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2465
2232
|
UNAUTHORIZED: {
|
|
2466
2233
|
message: string;
|
|
2467
2234
|
status: number;
|
|
2468
2235
|
};
|
|
2469
2236
|
}>, {
|
|
2470
|
-
|
|
2471
|
-
message: string;
|
|
2472
|
-
status: number;
|
|
2473
|
-
};
|
|
2474
|
-
PROPOSAL_CLOSED: {
|
|
2237
|
+
CLIENT_ACTION_ID_REUSED: {
|
|
2475
2238
|
message: string;
|
|
2476
2239
|
status: number;
|
|
2477
2240
|
};
|
|
2478
2241
|
}>, Record<never, never>>;
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
reason: z.ZodString;
|
|
2242
|
+
resume: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2243
|
+
clientActionID: z.ZodUUID;
|
|
2482
2244
|
}, z.core.$strip>, z.ZodObject<{
|
|
2483
|
-
|
|
2245
|
+
paused: z.ZodNullable<z.ZodObject<{
|
|
2246
|
+
cause: z.ZodEnum<{
|
|
2247
|
+
owner: "owner";
|
|
2248
|
+
restore: "restore";
|
|
2249
|
+
spending: "spending";
|
|
2250
|
+
}>;
|
|
2251
|
+
since: z.ZodDate;
|
|
2252
|
+
}, z.core.$strip>>;
|
|
2484
2253
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2485
2254
|
UNAUTHORIZED: {
|
|
2486
2255
|
message: string;
|
|
2487
2256
|
status: number;
|
|
2488
2257
|
};
|
|
2489
2258
|
}>, {
|
|
2490
|
-
|
|
2259
|
+
CLIENT_ACTION_ID_REUSED: {
|
|
2491
2260
|
message: string;
|
|
2492
2261
|
status: number;
|
|
2493
2262
|
};
|
|
2494
|
-
|
|
2263
|
+
}>, Record<never, never>>;
|
|
2264
|
+
};
|
|
2265
|
+
recovery: {
|
|
2266
|
+
read: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
2267
|
+
recovery: z.ZodNullable<z.ZodObject<{
|
|
2268
|
+
restoredAt: z.ZodDate;
|
|
2269
|
+
backupTakenAt: z.ZodDate;
|
|
2270
|
+
toCheck: z.ZodArray<z.ZodObject<{
|
|
2271
|
+
taskID: z.ZodString;
|
|
2272
|
+
name: z.ZodString;
|
|
2273
|
+
stateAtBackup: z.ZodEnum<{
|
|
2274
|
+
closed: "closed";
|
|
2275
|
+
done: "done";
|
|
2276
|
+
failed: "failed";
|
|
2277
|
+
paused: "paused";
|
|
2278
|
+
ready: "ready";
|
|
2279
|
+
running: "running";
|
|
2280
|
+
stopped: "stopped";
|
|
2281
|
+
waiting: "waiting";
|
|
2282
|
+
}>;
|
|
2283
|
+
wasRunning: z.ZodBoolean;
|
|
2284
|
+
pendingActions: z.ZodInt;
|
|
2285
|
+
}, z.core.$strip>>;
|
|
2286
|
+
}, z.core.$strip>>;
|
|
2287
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2288
|
+
UNAUTHORIZED: {
|
|
2495
2289
|
message: string;
|
|
2496
2290
|
status: number;
|
|
2497
2291
|
};
|
|
2498
2292
|
}>, Record<never, never>>;
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2293
|
+
};
|
|
2294
|
+
backups: {
|
|
2295
|
+
readNotice: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
2296
|
+
notice: z.ZodNullable<z.ZodObject<{
|
|
2297
|
+
cause: z.ZodEnum<{
|
|
2298
|
+
failed: "failed";
|
|
2299
|
+
missing: "missing";
|
|
2300
|
+
}>;
|
|
2301
|
+
sequence: z.ZodInt;
|
|
2302
|
+
raisedAt: z.ZodDate;
|
|
2507
2303
|
}, z.core.$strip>>;
|
|
2508
2304
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2509
2305
|
UNAUTHORIZED: {
|
|
@@ -2511,10 +2307,20 @@ export declare const contract: {
|
|
|
2511
2307
|
status: number;
|
|
2512
2308
|
};
|
|
2513
2309
|
}>, Record<never, never>>;
|
|
2514
|
-
|
|
2515
|
-
|
|
2310
|
+
};
|
|
2311
|
+
rules: {
|
|
2312
|
+
readRule: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2313
|
+
ruleID: z.ZodString;
|
|
2516
2314
|
}, z.core.$strip>, z.ZodObject<{
|
|
2517
|
-
|
|
2315
|
+
ruleID: z.ZodString;
|
|
2316
|
+
revision: z.ZodInt;
|
|
2317
|
+
sentence: z.ZodString;
|
|
2318
|
+
outcome: z.ZodEnum<{
|
|
2319
|
+
allow: "allow";
|
|
2320
|
+
ask: "ask";
|
|
2321
|
+
deny: "deny";
|
|
2322
|
+
}>;
|
|
2323
|
+
destinations: z.ZodArray<z.ZodString>;
|
|
2518
2324
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2519
2325
|
UNAUTHORIZED: {
|
|
2520
2326
|
message: string;
|
|
@@ -2525,29 +2331,85 @@ export declare const contract: {
|
|
|
2525
2331
|
message: string;
|
|
2526
2332
|
status: number;
|
|
2527
2333
|
};
|
|
2528
|
-
|
|
2529
|
-
|
|
2334
|
+
}>, Record<never, never>>;
|
|
2335
|
+
removeRule: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2336
|
+
ruleID: z.ZodString;
|
|
2337
|
+
revision: z.ZodInt;
|
|
2338
|
+
clientActionID: z.ZodUUID;
|
|
2339
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2340
|
+
ruleID: z.ZodString;
|
|
2341
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2342
|
+
UNAUTHORIZED: {
|
|
2343
|
+
message: string;
|
|
2344
|
+
status: number;
|
|
2345
|
+
};
|
|
2346
|
+
}>, {
|
|
2347
|
+
CLIENT_ACTION_ID_REUSED: {
|
|
2348
|
+
message: string;
|
|
2349
|
+
status: number;
|
|
2350
|
+
};
|
|
2351
|
+
}>, {
|
|
2352
|
+
NOT_FOUND: {
|
|
2353
|
+
message: string;
|
|
2354
|
+
status: number;
|
|
2355
|
+
};
|
|
2356
|
+
CONFLICT: {
|
|
2357
|
+
message: string;
|
|
2358
|
+
status: number;
|
|
2359
|
+
data: z.ZodObject<{
|
|
2360
|
+
revision: z.ZodInt;
|
|
2361
|
+
}, z.core.$strip>;
|
|
2362
|
+
};
|
|
2363
|
+
NOT_ALLOWED: {
|
|
2364
|
+
message: string;
|
|
2530
2365
|
status: number;
|
|
2366
|
+
data: z.ZodObject<{
|
|
2367
|
+
reason: z.ZodEnum<{
|
|
2368
|
+
empty: "empty";
|
|
2369
|
+
widens: "widens";
|
|
2370
|
+
}>;
|
|
2371
|
+
}, z.core.$strip>;
|
|
2531
2372
|
};
|
|
2532
2373
|
}>, Record<never, never>>;
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2374
|
+
editRule: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2375
|
+
ruleID: z.ZodString;
|
|
2376
|
+
revision: z.ZodInt;
|
|
2377
|
+
destinations: z.ZodArray<z.ZodString>;
|
|
2378
|
+
clientActionID: z.ZodUUID;
|
|
2536
2379
|
}, z.core.$strip>, z.ZodObject<{
|
|
2537
|
-
|
|
2538
|
-
|
|
2380
|
+
ruleID: z.ZodString;
|
|
2381
|
+
revision: z.ZodInt;
|
|
2382
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2539
2383
|
UNAUTHORIZED: {
|
|
2540
2384
|
message: string;
|
|
2541
2385
|
status: number;
|
|
2542
2386
|
};
|
|
2387
|
+
}>, {
|
|
2388
|
+
CLIENT_ACTION_ID_REUSED: {
|
|
2389
|
+
message: string;
|
|
2390
|
+
status: number;
|
|
2391
|
+
};
|
|
2543
2392
|
}>, {
|
|
2544
2393
|
NOT_FOUND: {
|
|
2545
2394
|
message: string;
|
|
2546
2395
|
status: number;
|
|
2547
2396
|
};
|
|
2548
|
-
|
|
2397
|
+
CONFLICT: {
|
|
2549
2398
|
message: string;
|
|
2550
2399
|
status: number;
|
|
2400
|
+
data: z.ZodObject<{
|
|
2401
|
+
revision: z.ZodInt;
|
|
2402
|
+
}, z.core.$strip>;
|
|
2403
|
+
};
|
|
2404
|
+
NOT_ALLOWED: {
|
|
2405
|
+
message: string;
|
|
2406
|
+
status: number;
|
|
2407
|
+
data: z.ZodObject<{
|
|
2408
|
+
reason: z.ZodEnum<{
|
|
2409
|
+
empty: "empty";
|
|
2410
|
+
widens: "widens";
|
|
2411
|
+
}>;
|
|
2412
|
+
}, z.core.$strip>;
|
|
2551
2413
|
};
|
|
2552
2414
|
}>, Record<never, never>>;
|
|
2553
2415
|
};
|
|
@@ -2595,11 +2457,15 @@ export declare const contract: {
|
|
|
2595
2457
|
deadlineAt: z.ZodNullable<z.ZodDate>;
|
|
2596
2458
|
deferGeneration: z.ZodInt;
|
|
2597
2459
|
deferUntil: z.ZodNullable<z.ZodDate>;
|
|
2460
|
+
thread: z.ZodNullable<z.ZodString>;
|
|
2461
|
+
taskID: z.ZodNullable<z.ZodString>;
|
|
2462
|
+
sequence: z.ZodInt;
|
|
2598
2463
|
}, z.core.$strip>;
|
|
2599
2464
|
body: z.ZodObject<{
|
|
2600
2465
|
sentence: z.ZodString;
|
|
2601
2466
|
fields: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2602
2467
|
ruleSentence: z.ZodNullable<z.ZodString>;
|
|
2468
|
+
approveLabel: z.ZodString;
|
|
2603
2469
|
memory: z.ZodOptional<z.ZodObject<{
|
|
2604
2470
|
actionHash: z.ZodString;
|
|
2605
2471
|
createdAt: z.ZodDate;
|
|
@@ -2642,7 +2508,6 @@ export declare const contract: {
|
|
|
2642
2508
|
}>;
|
|
2643
2509
|
origin: z.ZodEnum<{
|
|
2644
2510
|
conversation: "conversation";
|
|
2645
|
-
memory_writer: "memory_writer";
|
|
2646
2511
|
owner: "owner";
|
|
2647
2512
|
task: "task";
|
|
2648
2513
|
}>;
|
|
@@ -2650,6 +2515,7 @@ export declare const contract: {
|
|
|
2650
2515
|
quote: z.ZodNullable<z.ZodString>;
|
|
2651
2516
|
reason: z.ZodEnum<{
|
|
2652
2517
|
ambiguous_target: "ambiguous_target";
|
|
2518
|
+
ask_rule: "ask_rule";
|
|
2653
2519
|
checker_not_asserted: "checker_not_asserted";
|
|
2654
2520
|
checker_unreachable: "checker_unreachable";
|
|
2655
2521
|
checker_unsure: "checker_unsure";
|
|
@@ -2674,7 +2540,6 @@ export declare const contract: {
|
|
|
2674
2540
|
sources: z.ZodArray<z.ZodObject<{
|
|
2675
2541
|
origin: z.ZodEnum<{
|
|
2676
2542
|
conversation: "conversation";
|
|
2677
|
-
memory_writer: "memory_writer";
|
|
2678
2543
|
owner: "owner";
|
|
2679
2544
|
task: "task";
|
|
2680
2545
|
}>;
|
|
@@ -2701,6 +2566,169 @@ export declare const contract: {
|
|
|
2701
2566
|
decline: "decline";
|
|
2702
2567
|
defer: "defer";
|
|
2703
2568
|
}>>;
|
|
2569
|
+
passkeyChoices: z.ZodArray<z.ZodEnum<{
|
|
2570
|
+
always_allow: "always_allow";
|
|
2571
|
+
approve: "approve";
|
|
2572
|
+
decline: "decline";
|
|
2573
|
+
defer: "defer";
|
|
2574
|
+
}>>;
|
|
2575
|
+
}, z.core.$strip>>;
|
|
2576
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2577
|
+
UNAUTHORIZED: {
|
|
2578
|
+
message: string;
|
|
2579
|
+
status: number;
|
|
2580
|
+
};
|
|
2581
|
+
}>, Record<never, never>>;
|
|
2582
|
+
readProposals: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2583
|
+
proposalIDs: z.ZodArray<z.ZodString>;
|
|
2584
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2585
|
+
proposals: z.ZodArray<z.ZodObject<{
|
|
2586
|
+
proposal: z.ZodObject<{
|
|
2587
|
+
proposalID: z.ZodString;
|
|
2588
|
+
shortID: z.ZodString;
|
|
2589
|
+
kind: z.ZodEnum<{
|
|
2590
|
+
action: "action";
|
|
2591
|
+
internal_change: "internal_change";
|
|
2592
|
+
memory_write: "memory_write";
|
|
2593
|
+
}>;
|
|
2594
|
+
riskClass: z.ZodEnum<{
|
|
2595
|
+
always_ask: "always_ask";
|
|
2596
|
+
lifting: "lifting";
|
|
2597
|
+
routine: "routine";
|
|
2598
|
+
}>;
|
|
2599
|
+
actionHash: z.ZodString;
|
|
2600
|
+
ruleHash: z.ZodNullable<z.ZodString>;
|
|
2601
|
+
cause: z.ZodString;
|
|
2602
|
+
state: z.ZodEnum<{
|
|
2603
|
+
approved: "approved";
|
|
2604
|
+
declined: "declined";
|
|
2605
|
+
deferred: "deferred";
|
|
2606
|
+
lapsed: "lapsed";
|
|
2607
|
+
pending: "pending";
|
|
2608
|
+
withdrawn: "withdrawn";
|
|
2609
|
+
}>;
|
|
2610
|
+
createdAt: z.ZodDate;
|
|
2611
|
+
lapsesAt: z.ZodDate;
|
|
2612
|
+
deadlineAt: z.ZodNullable<z.ZodDate>;
|
|
2613
|
+
deferGeneration: z.ZodInt;
|
|
2614
|
+
deferUntil: z.ZodNullable<z.ZodDate>;
|
|
2615
|
+
thread: z.ZodNullable<z.ZodString>;
|
|
2616
|
+
taskID: z.ZodNullable<z.ZodString>;
|
|
2617
|
+
sequence: z.ZodInt;
|
|
2618
|
+
}, z.core.$strip>;
|
|
2619
|
+
body: z.ZodNullable<z.ZodObject<{
|
|
2620
|
+
sentence: z.ZodString;
|
|
2621
|
+
fields: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2622
|
+
ruleSentence: z.ZodNullable<z.ZodString>;
|
|
2623
|
+
approveLabel: z.ZodString;
|
|
2624
|
+
memory: z.ZodOptional<z.ZodObject<{
|
|
2625
|
+
actionHash: z.ZodString;
|
|
2626
|
+
createdAt: z.ZodDate;
|
|
2627
|
+
evidence: z.ZodNullable<z.ZodObject<{
|
|
2628
|
+
end: z.ZodInt;
|
|
2629
|
+
message: z.ZodNullable<z.ZodObject<{
|
|
2630
|
+
status: z.ZodEnum<{
|
|
2631
|
+
missing: "missing";
|
|
2632
|
+
readable: "readable";
|
|
2633
|
+
shredded: "shredded";
|
|
2634
|
+
unreadable: "unreadable";
|
|
2635
|
+
}>;
|
|
2636
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2637
|
+
}, z.core.$strip>>;
|
|
2638
|
+
sequence: z.ZodInt;
|
|
2639
|
+
start: z.ZodInt;
|
|
2640
|
+
}, z.core.$strip>>;
|
|
2641
|
+
image: z.ZodNullable<z.ZodObject<{
|
|
2642
|
+
position: z.ZodInt;
|
|
2643
|
+
sequence: z.ZodInt;
|
|
2644
|
+
thread: z.ZodString;
|
|
2645
|
+
}, z.core.$strip>>;
|
|
2646
|
+
isPinned: z.ZodBoolean;
|
|
2647
|
+
isSensitive: z.ZodBoolean;
|
|
2648
|
+
itemID: z.ZodString;
|
|
2649
|
+
kind: z.ZodEnum<{
|
|
2650
|
+
fact: "fact";
|
|
2651
|
+
self: "self";
|
|
2652
|
+
}>;
|
|
2653
|
+
lapseAt: z.ZodDate;
|
|
2654
|
+
newSubject: z.ZodNullable<z.ZodEnum<{
|
|
2655
|
+
owner: "owner";
|
|
2656
|
+
self: "self";
|
|
2657
|
+
shared: "shared";
|
|
2658
|
+
}>>;
|
|
2659
|
+
operation: z.ZodEnum<{
|
|
2660
|
+
pin: "pin";
|
|
2661
|
+
remember: "remember";
|
|
2662
|
+
retire: "retire";
|
|
2663
|
+
}>;
|
|
2664
|
+
origin: z.ZodEnum<{
|
|
2665
|
+
conversation: "conversation";
|
|
2666
|
+
owner: "owner";
|
|
2667
|
+
task: "task";
|
|
2668
|
+
}>;
|
|
2669
|
+
proposalID: z.ZodString;
|
|
2670
|
+
quote: z.ZodNullable<z.ZodString>;
|
|
2671
|
+
reason: z.ZodEnum<{
|
|
2672
|
+
ambiguous_target: "ambiguous_target";
|
|
2673
|
+
ask_rule: "ask_rule";
|
|
2674
|
+
checker_not_asserted: "checker_not_asserted";
|
|
2675
|
+
checker_unreachable: "checker_unreachable";
|
|
2676
|
+
checker_unsure: "checker_unsure";
|
|
2677
|
+
forgotten_evidence: "forgotten_evidence";
|
|
2678
|
+
from_photo: "from_photo";
|
|
2679
|
+
invisible_character: "invisible_character";
|
|
2680
|
+
no_quote: "no_quote";
|
|
2681
|
+
other: "other";
|
|
2682
|
+
pinned: "pinned";
|
|
2683
|
+
quote_in_quoted_block: "quote_in_quoted_block";
|
|
2684
|
+
quote_not_typed: "quote_not_typed";
|
|
2685
|
+
self_note: "self_note";
|
|
2686
|
+
sensitive: "sensitive";
|
|
2687
|
+
subject_change: "subject_change";
|
|
2688
|
+
token_missing: "token_missing";
|
|
2689
|
+
}>;
|
|
2690
|
+
source: z.ZodEnum<{
|
|
2691
|
+
owner: "owner";
|
|
2692
|
+
owner_data: "owner_data";
|
|
2693
|
+
untrusted: "untrusted";
|
|
2694
|
+
}>;
|
|
2695
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
2696
|
+
origin: z.ZodEnum<{
|
|
2697
|
+
conversation: "conversation";
|
|
2698
|
+
owner: "owner";
|
|
2699
|
+
task: "task";
|
|
2700
|
+
}>;
|
|
2701
|
+
proposedAt: z.ZodDate;
|
|
2702
|
+
thread: z.ZodNullable<z.ZodString>;
|
|
2703
|
+
}, z.core.$strip>>;
|
|
2704
|
+
subject: z.ZodEnum<{
|
|
2705
|
+
owner: "owner";
|
|
2706
|
+
self: "self";
|
|
2707
|
+
shared: "shared";
|
|
2708
|
+
}>;
|
|
2709
|
+
targetVersion: z.ZodNullable<z.ZodInt>;
|
|
2710
|
+
text: z.ZodString;
|
|
2711
|
+
until: z.ZodNullable<z.ZodDate>;
|
|
2712
|
+
}, z.core.$strip>>;
|
|
2713
|
+
}, z.core.$strip>>;
|
|
2714
|
+
task: z.ZodNullable<z.ZodObject<{
|
|
2715
|
+
id: z.ZodString;
|
|
2716
|
+
name: z.ZodString;
|
|
2717
|
+
}, z.core.$strip>>;
|
|
2718
|
+
choices: z.ZodArray<z.ZodEnum<{
|
|
2719
|
+
always_allow: "always_allow";
|
|
2720
|
+
approve: "approve";
|
|
2721
|
+
decline: "decline";
|
|
2722
|
+
defer: "defer";
|
|
2723
|
+
}>>;
|
|
2724
|
+
passkeyChoices: z.ZodArray<z.ZodEnum<{
|
|
2725
|
+
always_allow: "always_allow";
|
|
2726
|
+
approve: "approve";
|
|
2727
|
+
decline: "decline";
|
|
2728
|
+
defer: "defer";
|
|
2729
|
+
}>>;
|
|
2730
|
+
answeredOn: z.ZodNullable<z.ZodString>;
|
|
2731
|
+
isAnsweredHere: z.ZodBoolean;
|
|
2704
2732
|
}, z.core.$strip>>;
|
|
2705
2733
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2706
2734
|
UNAUTHORIZED: {
|
|
@@ -2729,6 +2757,22 @@ export declare const contract: {
|
|
|
2729
2757
|
}, z.core.$strip>>;
|
|
2730
2758
|
ignoreCloseMatch: z.ZodOptional<z.ZodBoolean>;
|
|
2731
2759
|
}, z.core.$strip>>;
|
|
2760
|
+
passkey: z.ZodOptional<z.ZodObject<{
|
|
2761
|
+
id: z.ZodString;
|
|
2762
|
+
rawId: z.ZodString;
|
|
2763
|
+
response: z.ZodObject<{
|
|
2764
|
+
clientDataJSON: z.ZodString;
|
|
2765
|
+
authenticatorData: z.ZodString;
|
|
2766
|
+
signature: z.ZodString;
|
|
2767
|
+
userHandle: z.ZodOptional<z.ZodString>;
|
|
2768
|
+
}, z.core.$strip>;
|
|
2769
|
+
authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
|
|
2770
|
+
"cross-platform": "cross-platform";
|
|
2771
|
+
platform: "platform";
|
|
2772
|
+
}>>;
|
|
2773
|
+
clientExtensionResults: z.ZodObject<{}, z.core.$strip>;
|
|
2774
|
+
type: z.ZodLiteral<"public-key">;
|
|
2775
|
+
}, z.core.$strip>>;
|
|
2732
2776
|
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2733
2777
|
proposalID: z.ZodString;
|
|
2734
2778
|
state: z.ZodLiteral<"approved">;
|
|
@@ -2761,6 +2805,25 @@ export declare const contract: {
|
|
|
2761
2805
|
status: number;
|
|
2762
2806
|
};
|
|
2763
2807
|
}>, {
|
|
2808
|
+
NO_PASSKEY: {
|
|
2809
|
+
message: string;
|
|
2810
|
+
status: number;
|
|
2811
|
+
};
|
|
2812
|
+
PASSKEY_FAILED: {
|
|
2813
|
+
message: string;
|
|
2814
|
+
status: number;
|
|
2815
|
+
data: z.ZodObject<{
|
|
2816
|
+
reason: z.ZodEnum<{
|
|
2817
|
+
binding: "binding";
|
|
2818
|
+
counter: "counter";
|
|
2819
|
+
no_user_verification: "no_user_verification";
|
|
2820
|
+
origin: "origin";
|
|
2821
|
+
signature: "signature";
|
|
2822
|
+
unknown_challenge: "unknown_challenge";
|
|
2823
|
+
unknown_passkey: "unknown_passkey";
|
|
2824
|
+
}>;
|
|
2825
|
+
}, z.core.$strip>;
|
|
2826
|
+
};
|
|
2764
2827
|
CONFLICT: {
|
|
2765
2828
|
message: string;
|
|
2766
2829
|
status: number;
|
|
@@ -2792,6 +2855,10 @@ export declare const contract: {
|
|
|
2792
2855
|
reason: z.ZodString;
|
|
2793
2856
|
}, z.core.$strip>;
|
|
2794
2857
|
};
|
|
2858
|
+
PASSKEY_REQUIRED: {
|
|
2859
|
+
message: string;
|
|
2860
|
+
status: number;
|
|
2861
|
+
};
|
|
2795
2862
|
}>, Record<never, never>>;
|
|
2796
2863
|
answerProposals: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2797
2864
|
answers: z.ZodArray<z.ZodObject<{
|
|
@@ -2844,6 +2911,7 @@ export declare const contract: {
|
|
|
2844
2911
|
CLOSED: "CLOSED";
|
|
2845
2912
|
CONFLICT: "CONFLICT";
|
|
2846
2913
|
NOT_ALLOWED: "NOT_ALLOWED";
|
|
2914
|
+
PASSKEY_REQUIRED: "PASSKEY_REQUIRED";
|
|
2847
2915
|
}>;
|
|
2848
2916
|
current: z.ZodOptional<z.ZodObject<{
|
|
2849
2917
|
actionHash: z.ZodString;
|
|
@@ -2871,6 +2939,275 @@ export declare const contract: {
|
|
|
2871
2939
|
};
|
|
2872
2940
|
}>, Record<never, never>>;
|
|
2873
2941
|
};
|
|
2942
|
+
passkeys: {
|
|
2943
|
+
challenge: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2944
|
+
for: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2945
|
+
kind: z.ZodLiteral<"answer">;
|
|
2946
|
+
proposalID: z.ZodString;
|
|
2947
|
+
actionHash: z.ZodString;
|
|
2948
|
+
choice: z.ZodEnum<{
|
|
2949
|
+
always_allow: "always_allow";
|
|
2950
|
+
approve: "approve";
|
|
2951
|
+
decline: "decline";
|
|
2952
|
+
defer: "defer";
|
|
2953
|
+
}>;
|
|
2954
|
+
ruleHash: z.ZodOptional<z.ZodString>;
|
|
2955
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2956
|
+
kind: z.ZodLiteral<"register">;
|
|
2957
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2958
|
+
kind: z.ZodLiteral<"revoke">;
|
|
2959
|
+
passkeyID: z.ZodString;
|
|
2960
|
+
}, z.core.$strip>], "kind">;
|
|
2961
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2962
|
+
options: z.ZodObject<{
|
|
2963
|
+
challenge: z.ZodString;
|
|
2964
|
+
rpId: z.ZodString;
|
|
2965
|
+
allowCredentials: z.ZodArray<z.ZodObject<{
|
|
2966
|
+
id: z.ZodString;
|
|
2967
|
+
type: z.ZodLiteral<"public-key">;
|
|
2968
|
+
transports: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2969
|
+
}, z.core.$strip>>;
|
|
2970
|
+
userVerification: z.ZodEnum<{
|
|
2971
|
+
discouraged: "discouraged";
|
|
2972
|
+
preferred: "preferred";
|
|
2973
|
+
required: "required";
|
|
2974
|
+
}>;
|
|
2975
|
+
timeout: z.ZodInt;
|
|
2976
|
+
}, z.core.$strip>;
|
|
2977
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2978
|
+
UNAUTHORIZED: {
|
|
2979
|
+
message: string;
|
|
2980
|
+
status: number;
|
|
2981
|
+
};
|
|
2982
|
+
}>, {
|
|
2983
|
+
NO_PASSKEY: {
|
|
2984
|
+
message: string;
|
|
2985
|
+
status: number;
|
|
2986
|
+
};
|
|
2987
|
+
}>, Record<never, never>>;
|
|
2988
|
+
registrationOptions: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2989
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2990
|
+
passkey: z.ZodOptional<z.ZodObject<{
|
|
2991
|
+
id: z.ZodString;
|
|
2992
|
+
rawId: z.ZodString;
|
|
2993
|
+
response: z.ZodObject<{
|
|
2994
|
+
clientDataJSON: z.ZodString;
|
|
2995
|
+
authenticatorData: z.ZodString;
|
|
2996
|
+
signature: z.ZodString;
|
|
2997
|
+
userHandle: z.ZodOptional<z.ZodString>;
|
|
2998
|
+
}, z.core.$strip>;
|
|
2999
|
+
authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
|
|
3000
|
+
"cross-platform": "cross-platform";
|
|
3001
|
+
platform: "platform";
|
|
3002
|
+
}>>;
|
|
3003
|
+
clientExtensionResults: z.ZodObject<{}, z.core.$strip>;
|
|
3004
|
+
type: z.ZodLiteral<"public-key">;
|
|
3005
|
+
}, z.core.$strip>>;
|
|
3006
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3007
|
+
options: z.ZodObject<{
|
|
3008
|
+
rp: z.ZodObject<{
|
|
3009
|
+
id: z.ZodString;
|
|
3010
|
+
name: z.ZodString;
|
|
3011
|
+
}, z.core.$strip>;
|
|
3012
|
+
user: z.ZodObject<{
|
|
3013
|
+
id: z.ZodString;
|
|
3014
|
+
name: z.ZodString;
|
|
3015
|
+
displayName: z.ZodString;
|
|
3016
|
+
}, z.core.$strip>;
|
|
3017
|
+
challenge: z.ZodString;
|
|
3018
|
+
pubKeyCredParams: z.ZodArray<z.ZodObject<{
|
|
3019
|
+
type: z.ZodLiteral<"public-key">;
|
|
3020
|
+
alg: z.ZodInt;
|
|
3021
|
+
}, z.core.$strip>>;
|
|
3022
|
+
timeout: z.ZodInt;
|
|
3023
|
+
excludeCredentials: z.ZodArray<z.ZodObject<{
|
|
3024
|
+
id: z.ZodString;
|
|
3025
|
+
type: z.ZodLiteral<"public-key">;
|
|
3026
|
+
transports: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3027
|
+
}, z.core.$strip>>;
|
|
3028
|
+
authenticatorSelection: z.ZodObject<{
|
|
3029
|
+
residentKey: z.ZodEnum<{
|
|
3030
|
+
discouraged: "discouraged";
|
|
3031
|
+
preferred: "preferred";
|
|
3032
|
+
required: "required";
|
|
3033
|
+
}>;
|
|
3034
|
+
requireResidentKey: z.ZodBoolean;
|
|
3035
|
+
userVerification: z.ZodEnum<{
|
|
3036
|
+
discouraged: "discouraged";
|
|
3037
|
+
preferred: "preferred";
|
|
3038
|
+
required: "required";
|
|
3039
|
+
}>;
|
|
3040
|
+
}, z.core.$strip>;
|
|
3041
|
+
attestation: z.ZodEnum<{
|
|
3042
|
+
direct: "direct";
|
|
3043
|
+
enterprise: "enterprise";
|
|
3044
|
+
indirect: "indirect";
|
|
3045
|
+
none: "none";
|
|
3046
|
+
}>;
|
|
3047
|
+
}, z.core.$strip>;
|
|
3048
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3049
|
+
UNAUTHORIZED: {
|
|
3050
|
+
message: string;
|
|
3051
|
+
status: number;
|
|
3052
|
+
};
|
|
3053
|
+
}>, {
|
|
3054
|
+
PASSKEY_FAILED: {
|
|
3055
|
+
message: string;
|
|
3056
|
+
status: number;
|
|
3057
|
+
data: z.ZodObject<{
|
|
3058
|
+
reason: z.ZodEnum<{
|
|
3059
|
+
binding: "binding";
|
|
3060
|
+
counter: "counter";
|
|
3061
|
+
no_user_verification: "no_user_verification";
|
|
3062
|
+
origin: "origin";
|
|
3063
|
+
signature: "signature";
|
|
3064
|
+
unknown_challenge: "unknown_challenge";
|
|
3065
|
+
unknown_passkey: "unknown_passkey";
|
|
3066
|
+
}>;
|
|
3067
|
+
}, z.core.$strip>;
|
|
3068
|
+
};
|
|
3069
|
+
TOO_MANY_PASSKEYS: {
|
|
3070
|
+
message: string;
|
|
3071
|
+
status: number;
|
|
3072
|
+
};
|
|
3073
|
+
ORIGIN_UNSUPPORTED: {
|
|
3074
|
+
message: string;
|
|
3075
|
+
status: number;
|
|
3076
|
+
};
|
|
3077
|
+
ORIGIN_CHANGED: {
|
|
3078
|
+
message: string;
|
|
3079
|
+
status: number;
|
|
3080
|
+
};
|
|
3081
|
+
}>, {
|
|
3082
|
+
CODE_REQUIRED: {
|
|
3083
|
+
message: string;
|
|
3084
|
+
status: number;
|
|
3085
|
+
};
|
|
3086
|
+
CODE_INVALID: {
|
|
3087
|
+
message: string;
|
|
3088
|
+
status: number;
|
|
3089
|
+
};
|
|
3090
|
+
}>, Record<never, never>>;
|
|
3091
|
+
register: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3092
|
+
clientActionID: z.ZodUUID;
|
|
3093
|
+
response: z.ZodObject<{
|
|
3094
|
+
id: z.ZodString;
|
|
3095
|
+
rawId: z.ZodString;
|
|
3096
|
+
response: z.ZodObject<{
|
|
3097
|
+
clientDataJSON: z.ZodString;
|
|
3098
|
+
attestationObject: z.ZodString;
|
|
3099
|
+
authenticatorData: z.ZodOptional<z.ZodString>;
|
|
3100
|
+
transports: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3101
|
+
publicKeyAlgorithm: z.ZodOptional<z.ZodInt>;
|
|
3102
|
+
publicKey: z.ZodOptional<z.ZodString>;
|
|
3103
|
+
}, z.core.$strip>;
|
|
3104
|
+
authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
|
|
3105
|
+
"cross-platform": "cross-platform";
|
|
3106
|
+
platform: "platform";
|
|
3107
|
+
}>>;
|
|
3108
|
+
clientExtensionResults: z.ZodObject<{}, z.core.$strip>;
|
|
3109
|
+
type: z.ZodLiteral<"public-key">;
|
|
3110
|
+
}, z.core.$strip>;
|
|
3111
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3113
|
+
passkeyID: z.ZodString;
|
|
3114
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3115
|
+
UNAUTHORIZED: {
|
|
3116
|
+
message: string;
|
|
3117
|
+
status: number;
|
|
3118
|
+
};
|
|
3119
|
+
}>, {
|
|
3120
|
+
CLIENT_ACTION_ID_REUSED: {
|
|
3121
|
+
message: string;
|
|
3122
|
+
status: number;
|
|
3123
|
+
};
|
|
3124
|
+
}>, {
|
|
3125
|
+
REGISTRATION_FAILED: {
|
|
3126
|
+
message: string;
|
|
3127
|
+
status: number;
|
|
3128
|
+
data: z.ZodObject<{
|
|
3129
|
+
reason: z.ZodString;
|
|
3130
|
+
}, z.core.$strip>;
|
|
3131
|
+
};
|
|
3132
|
+
TOO_MANY_PASSKEYS: {
|
|
3133
|
+
message: string;
|
|
3134
|
+
status: number;
|
|
3135
|
+
};
|
|
3136
|
+
ORIGIN_UNSUPPORTED: {
|
|
3137
|
+
message: string;
|
|
3138
|
+
status: number;
|
|
3139
|
+
};
|
|
3140
|
+
}>, Record<never, never>>;
|
|
3141
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
3142
|
+
passkeys: z.ZodArray<z.ZodObject<{
|
|
3143
|
+
passkeyID: z.ZodString;
|
|
3144
|
+
label: z.ZodString;
|
|
3145
|
+
synced: z.ZodBoolean;
|
|
3146
|
+
authorizedBy: z.ZodString;
|
|
3147
|
+
registeredAt: z.ZodDate;
|
|
3148
|
+
lastUsedAt: z.ZodNullable<z.ZodDate>;
|
|
3149
|
+
revokedAt: z.ZodNullable<z.ZodDate>;
|
|
3150
|
+
}, z.core.$strip>>;
|
|
3151
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3152
|
+
UNAUTHORIZED: {
|
|
3153
|
+
message: string;
|
|
3154
|
+
status: number;
|
|
3155
|
+
};
|
|
3156
|
+
}>, Record<never, never>>;
|
|
3157
|
+
revoke: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3158
|
+
clientActionID: z.ZodUUID;
|
|
3159
|
+
passkeyID: z.ZodString;
|
|
3160
|
+
passkey: z.ZodObject<{
|
|
3161
|
+
id: z.ZodString;
|
|
3162
|
+
rawId: z.ZodString;
|
|
3163
|
+
response: z.ZodObject<{
|
|
3164
|
+
clientDataJSON: z.ZodString;
|
|
3165
|
+
authenticatorData: z.ZodString;
|
|
3166
|
+
signature: z.ZodString;
|
|
3167
|
+
userHandle: z.ZodOptional<z.ZodString>;
|
|
3168
|
+
}, z.core.$strip>;
|
|
3169
|
+
authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
|
|
3170
|
+
"cross-platform": "cross-platform";
|
|
3171
|
+
platform: "platform";
|
|
3172
|
+
}>>;
|
|
3173
|
+
clientExtensionResults: z.ZodObject<{}, z.core.$strip>;
|
|
3174
|
+
type: z.ZodLiteral<"public-key">;
|
|
3175
|
+
}, z.core.$strip>;
|
|
3176
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3177
|
+
revokedAt: z.ZodDate;
|
|
3178
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3179
|
+
UNAUTHORIZED: {
|
|
3180
|
+
message: string;
|
|
3181
|
+
status: number;
|
|
3182
|
+
};
|
|
3183
|
+
}>, {
|
|
3184
|
+
CLIENT_ACTION_ID_REUSED: {
|
|
3185
|
+
message: string;
|
|
3186
|
+
status: number;
|
|
3187
|
+
};
|
|
3188
|
+
}>, {
|
|
3189
|
+
PASSKEY_FAILED: {
|
|
3190
|
+
message: string;
|
|
3191
|
+
status: number;
|
|
3192
|
+
data: z.ZodObject<{
|
|
3193
|
+
reason: z.ZodEnum<{
|
|
3194
|
+
binding: "binding";
|
|
3195
|
+
counter: "counter";
|
|
3196
|
+
no_user_verification: "no_user_verification";
|
|
3197
|
+
origin: "origin";
|
|
3198
|
+
signature: "signature";
|
|
3199
|
+
unknown_challenge: "unknown_challenge";
|
|
3200
|
+
unknown_passkey: "unknown_passkey";
|
|
3201
|
+
}>;
|
|
3202
|
+
}, z.core.$strip>;
|
|
3203
|
+
};
|
|
3204
|
+
}>, {
|
|
3205
|
+
NOT_FOUND: {
|
|
3206
|
+
message: string;
|
|
3207
|
+
status: number;
|
|
3208
|
+
};
|
|
3209
|
+
}>, Record<never, never>>;
|
|
3210
|
+
};
|
|
2874
3211
|
log: {
|
|
2875
3212
|
follow: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2876
3213
|
afterSequence: z.ZodInt;
|
|
@@ -2930,6 +3267,10 @@ export declare const contract: {
|
|
|
2930
3267
|
ratedBy?: string | undefined;
|
|
2931
3268
|
recalledSequence: number;
|
|
2932
3269
|
} | undefined;
|
|
3270
|
+
proposal?: {
|
|
3271
|
+
proposalID: string;
|
|
3272
|
+
shortID: string;
|
|
3273
|
+
} | undefined;
|
|
2933
3274
|
recall?: {
|
|
2934
3275
|
items: {
|
|
2935
3276
|
itemID: string;
|
|
@@ -3037,6 +3378,10 @@ export declare const contract: {
|
|
|
3037
3378
|
ratedBy?: string | undefined;
|
|
3038
3379
|
recalledSequence: number;
|
|
3039
3380
|
} | undefined;
|
|
3381
|
+
proposal?: {
|
|
3382
|
+
proposalID: string;
|
|
3383
|
+
shortID: string;
|
|
3384
|
+
} | undefined;
|
|
3040
3385
|
recall?: {
|
|
3041
3386
|
items: {
|
|
3042
3387
|
itemID: string;
|
|
@@ -3155,6 +3500,10 @@ export declare const contract: {
|
|
|
3155
3500
|
ratedBy?: string | undefined;
|
|
3156
3501
|
recalledSequence: number;
|
|
3157
3502
|
} | undefined;
|
|
3503
|
+
proposal?: {
|
|
3504
|
+
proposalID: string;
|
|
3505
|
+
shortID: string;
|
|
3506
|
+
} | undefined;
|
|
3158
3507
|
recall?: {
|
|
3159
3508
|
items: {
|
|
3160
3509
|
itemID: string;
|
|
@@ -3262,6 +3611,10 @@ export declare const contract: {
|
|
|
3262
3611
|
ratedBy?: string | undefined;
|
|
3263
3612
|
recalledSequence: number;
|
|
3264
3613
|
} | undefined;
|
|
3614
|
+
proposal?: {
|
|
3615
|
+
proposalID: string;
|
|
3616
|
+
shortID: string;
|
|
3617
|
+
} | undefined;
|
|
3265
3618
|
recall?: {
|
|
3266
3619
|
items: {
|
|
3267
3620
|
itemID: string;
|