@heynixie/contract 0.72.0 → 0.74.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.
@@ -286,6 +286,34 @@ export declare const hostContract: {
286
286
  };
287
287
  }>, Record<never, never>>;
288
288
  };
289
+ passkeys: {
290
+ issueCode: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
291
+ code: z.ZodString;
292
+ expiresAt: z.ZodDate;
293
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
294
+ list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
295
+ passkeyID: z.ZodString;
296
+ label: z.ZodString;
297
+ synced: z.ZodBoolean;
298
+ origin: z.ZodString;
299
+ registeredBy: z.ZodString;
300
+ authorizedBy: z.ZodString;
301
+ registeredAt: z.ZodDate;
302
+ lastUsedAt: z.ZodNullable<z.ZodDate>;
303
+ revokedAt: z.ZodNullable<z.ZodDate>;
304
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
305
+ revoke: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
306
+ passkeyID: z.ZodString;
307
+ }, z.core.$strict>, z.ZodObject<{
308
+ passkeyID: z.ZodString;
309
+ revokedAt: z.ZodDate;
310
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
311
+ PASSKEY_NOT_FOUND: {
312
+ message: string;
313
+ status: number;
314
+ };
315
+ }>, Record<never, never>>;
316
+ };
289
317
  memory: {
290
318
  proposals: {
291
319
  list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
@@ -335,7 +363,6 @@ export declare const hostContract: {
335
363
  actionHash: z.ZodString;
336
364
  origin: z.ZodEnum<{
337
365
  conversation: "conversation";
338
- memory_writer: "memory_writer";
339
366
  owner: "owner";
340
367
  task: "task";
341
368
  }>;
@@ -349,7 +376,6 @@ export declare const hostContract: {
349
376
  sources: z.ZodArray<z.ZodObject<{
350
377
  origin: z.ZodEnum<{
351
378
  conversation: "conversation";
352
- memory_writer: "memory_writer";
353
379
  owner: "owner";
354
380
  task: "task";
355
381
  }>;
@@ -616,7 +642,6 @@ export declare const hostContract: {
616
642
  origin: z.ZodEnum<{
617
643
  conversation: "conversation";
618
644
  lapse: "lapse";
619
- memory_writer: "memory_writer";
620
645
  owner: "owner";
621
646
  task: "task";
622
647
  }>;
@@ -1012,202 +1037,6 @@ export declare const hostContract: {
1012
1037
  };
1013
1038
  }>, Record<never, never>>;
1014
1039
  };
1015
- consolidation: {
1016
- read: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodNullable<z.ZodObject<{
1017
- diffID: z.ZodString;
1018
- model: z.ZodNullable<z.ZodString>;
1019
- createdAt: z.ZodDate;
1020
- changes: z.ZodArray<z.ZodObject<{
1021
- changeID: z.ZodString;
1022
- shortID: z.ZodString;
1023
- kind: z.ZodEnum<{
1024
- merge: "merge";
1025
- retire: "retire";
1026
- rewrite: "rewrite";
1027
- }>;
1028
- inputs: z.ZodArray<z.ZodObject<{
1029
- itemID: z.ZodString;
1030
- version: z.ZodInt;
1031
- text: z.ZodNullable<z.ZodString>;
1032
- isCurrent: z.ZodBoolean;
1033
- }, z.core.$strip>>;
1034
- text: z.ZodNullable<z.ZodString>;
1035
- reason: z.ZodString;
1036
- source: z.ZodEnum<{
1037
- owner: "owner";
1038
- owner_data: "owner_data";
1039
- untrusted: "untrusted";
1040
- }>;
1041
- actionHash: z.ZodString;
1042
- lapseAt: z.ZodDate;
1043
- comment: z.ZodNullable<z.ZodObject<{
1044
- text: z.ZodString;
1045
- at: z.ZodDate;
1046
- }, z.core.$strip>>;
1047
- }, z.core.$strip>>;
1048
- summary: z.ZodNullable<z.ZodString>;
1049
- }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
1050
- MEMORY_NOT_STARTED: {
1051
- message: string;
1052
- status: number;
1053
- };
1054
- NOT_FOUND: {
1055
- message: string;
1056
- status: number;
1057
- };
1058
- PROPOSAL_HASH: {
1059
- message: string;
1060
- status: number;
1061
- };
1062
- PROPOSAL_CLOSED: {
1063
- message: string;
1064
- status: number;
1065
- };
1066
- STALE_VERSION: {
1067
- message: string;
1068
- status: number;
1069
- };
1070
- WRONG_STATE: {
1071
- message: string;
1072
- status: number;
1073
- };
1074
- PINNED_CORE_FULL: {
1075
- message: string;
1076
- status: number;
1077
- };
1078
- REVISION_TARGET: {
1079
- message: string;
1080
- status: number;
1081
- };
1082
- RETIREMENT_EDIT: {
1083
- message: string;
1084
- status: number;
1085
- };
1086
- PIN_EDIT: {
1087
- message: string;
1088
- status: number;
1089
- };
1090
- SELF_NOTE_REFUSED: {
1091
- message: string;
1092
- status: number;
1093
- };
1094
- }>, Record<never, never>>;
1095
- approve: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1096
- answers: z.ZodArray<z.ZodObject<{
1097
- changeID: z.ZodString;
1098
- actionHash: z.ZodString;
1099
- }, z.core.$strict>>;
1100
- }, z.core.$strict>, z.ZodObject<{
1101
- outcomes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1102
- changeID: z.ZodString;
1103
- status: z.ZodLiteral<"applied">;
1104
- versions: z.ZodArray<z.ZodObject<{
1105
- itemID: z.ZodString;
1106
- version: z.ZodInt;
1107
- }, z.core.$strip>>;
1108
- }, z.core.$strip>, z.ZodObject<{
1109
- changeID: z.ZodString;
1110
- status: z.ZodLiteral<"refused">;
1111
- code: z.ZodString;
1112
- }, z.core.$strip>], "status">>;
1113
- }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
1114
- MEMORY_NOT_STARTED: {
1115
- message: string;
1116
- status: number;
1117
- };
1118
- NOT_FOUND: {
1119
- message: string;
1120
- status: number;
1121
- };
1122
- PROPOSAL_HASH: {
1123
- message: string;
1124
- status: number;
1125
- };
1126
- PROPOSAL_CLOSED: {
1127
- message: string;
1128
- status: number;
1129
- };
1130
- STALE_VERSION: {
1131
- message: string;
1132
- status: number;
1133
- };
1134
- WRONG_STATE: {
1135
- message: string;
1136
- status: number;
1137
- };
1138
- PINNED_CORE_FULL: {
1139
- message: string;
1140
- status: number;
1141
- };
1142
- REVISION_TARGET: {
1143
- message: string;
1144
- status: number;
1145
- };
1146
- RETIREMENT_EDIT: {
1147
- message: string;
1148
- status: number;
1149
- };
1150
- PIN_EDIT: {
1151
- message: string;
1152
- status: number;
1153
- };
1154
- SELF_NOTE_REFUSED: {
1155
- message: string;
1156
- status: number;
1157
- };
1158
- }>, Record<never, never>>;
1159
- reject: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1160
- changeID: z.ZodString;
1161
- actionHash: z.ZodString;
1162
- }, z.core.$strict>, z.ZodObject<{
1163
- changeID: z.ZodString;
1164
- }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
1165
- MEMORY_NOT_STARTED: {
1166
- message: string;
1167
- status: number;
1168
- };
1169
- NOT_FOUND: {
1170
- message: string;
1171
- status: number;
1172
- };
1173
- PROPOSAL_HASH: {
1174
- message: string;
1175
- status: number;
1176
- };
1177
- PROPOSAL_CLOSED: {
1178
- message: string;
1179
- status: number;
1180
- };
1181
- STALE_VERSION: {
1182
- message: string;
1183
- status: number;
1184
- };
1185
- WRONG_STATE: {
1186
- message: string;
1187
- status: number;
1188
- };
1189
- PINNED_CORE_FULL: {
1190
- message: string;
1191
- status: number;
1192
- };
1193
- REVISION_TARGET: {
1194
- message: string;
1195
- status: number;
1196
- };
1197
- RETIREMENT_EDIT: {
1198
- message: string;
1199
- status: number;
1200
- };
1201
- PIN_EDIT: {
1202
- message: string;
1203
- status: number;
1204
- };
1205
- SELF_NOTE_REFUSED: {
1206
- message: string;
1207
- status: number;
1208
- };
1209
- }>, Record<never, never>>;
1210
- };
1211
1040
  };
1212
1041
  skills: {
1213
1042
  proposals: {
@@ -0,0 +1,29 @@
1
+ import { z } from 'zod';
2
+ export declare const hostPasskeyContract: {
3
+ issueCode: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
4
+ code: z.ZodString;
5
+ expiresAt: z.ZodDate;
6
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
7
+ list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
8
+ passkeyID: z.ZodString;
9
+ label: z.ZodString;
10
+ synced: z.ZodBoolean;
11
+ origin: z.ZodString;
12
+ registeredBy: z.ZodString;
13
+ authorizedBy: z.ZodString;
14
+ registeredAt: z.ZodDate;
15
+ lastUsedAt: z.ZodNullable<z.ZodDate>;
16
+ revokedAt: z.ZodNullable<z.ZodDate>;
17
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
18
+ revoke: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
19
+ passkeyID: z.ZodString;
20
+ }, z.core.$strict>, z.ZodObject<{
21
+ passkeyID: z.ZodString;
22
+ revokedAt: z.ZodDate;
23
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
24
+ PASSKEY_NOT_FOUND: {
25
+ message: string;
26
+ status: number;
27
+ };
28
+ }>, Record<never, never>>;
29
+ };
@@ -41,7 +41,6 @@ export declare const memoryProposalSchema: z.ZodObject<{
41
41
  }>;
42
42
  origin: z.ZodEnum<{
43
43
  conversation: "conversation";
44
- memory_writer: "memory_writer";
45
44
  owner: "owner";
46
45
  task: "task";
47
46
  }>;
@@ -74,7 +73,6 @@ export declare const memoryProposalSchema: z.ZodObject<{
74
73
  sources: z.ZodArray<z.ZodObject<{
75
74
  origin: z.ZodEnum<{
76
75
  conversation: "conversation";
77
- memory_writer: "memory_writer";
78
76
  owner: "owner";
79
77
  task: "task";
80
78
  }>;
@@ -476,7 +474,6 @@ export declare const memoryViewContract: {
476
474
  origin: z.ZodEnum<{
477
475
  conversation: "conversation";
478
476
  lapse: "lapse";
479
- memory_writer: "memory_writer";
480
477
  owner: "owner";
481
478
  task: "task";
482
479
  }>;
@@ -540,7 +537,6 @@ export declare const memoryViewContract: {
540
537
  origin: z.ZodEnum<{
541
538
  conversation: "conversation";
542
539
  lapse: "lapse";
543
- memory_writer: "memory_writer";
544
540
  owner: "owner";
545
541
  task: "task";
546
542
  }>;
@@ -604,7 +600,6 @@ export declare const memoryViewContract: {
604
600
  origin: z.ZodEnum<{
605
601
  conversation: "conversation";
606
602
  lapse: "lapse";
607
- memory_writer: "memory_writer";
608
603
  owner: "owner";
609
604
  task: "task";
610
605
  }>;
@@ -662,7 +657,6 @@ export declare const memoryViewContract: {
662
657
  origin: z.ZodEnum<{
663
658
  conversation: "conversation";
664
659
  lapse: "lapse";
665
- memory_writer: "memory_writer";
666
660
  owner: "owner";
667
661
  task: "task";
668
662
  }>;
@@ -724,7 +718,6 @@ export declare const memoryViewContract: {
724
718
  origin: z.ZodEnum<{
725
719
  conversation: "conversation";
726
720
  lapse: "lapse";
727
- memory_writer: "memory_writer";
728
721
  owner: "owner";
729
722
  task: "task";
730
723
  }>;
@@ -865,7 +858,6 @@ export declare const memoryViewContract: {
865
858
  origin: z.ZodEnum<{
866
859
  conversation: "conversation";
867
860
  lapse: "lapse";
868
- memory_writer: "memory_writer";
869
861
  owner: "owner";
870
862
  task: "task";
871
863
  }>;
@@ -908,8 +900,6 @@ export declare const memoryViewContract: {
908
900
  version: z.ZodNullable<z.ZodInt>;
909
901
  }, z.core.$strip>>;
910
902
  kind: z.ZodEnum<{
911
- batch: "batch";
912
- catch_up: "catch_up";
913
903
  run: "run";
914
904
  turn: "turn";
915
905
  }>;
@@ -1025,7 +1015,6 @@ export declare const memoryViewContract: {
1025
1015
  origin: z.ZodEnum<{
1026
1016
  conversation: "conversation";
1027
1017
  lapse: "lapse";
1028
- memory_writer: "memory_writer";
1029
1018
  owner: "owner";
1030
1019
  task: "task";
1031
1020
  }>;
@@ -1087,7 +1076,6 @@ export declare const memoryViewContract: {
1087
1076
  origin: z.ZodEnum<{
1088
1077
  conversation: "conversation";
1089
1078
  lapse: "lapse";
1090
- memory_writer: "memory_writer";
1091
1079
  owner: "owner";
1092
1080
  task: "task";
1093
1081
  }>;
@@ -1199,7 +1187,6 @@ export declare const memoryViewContract: {
1199
1187
  origin: z.ZodEnum<{
1200
1188
  conversation: "conversation";
1201
1189
  lapse: "lapse";
1202
- memory_writer: "memory_writer";
1203
1190
  owner: "owner";
1204
1191
  task: "task";
1205
1192
  }>;
@@ -0,0 +1,6 @@
1
+ export declare const noPasskeyError: {
2
+ NO_PASSKEY: {
3
+ message: string;
4
+ status: number;
5
+ };
6
+ };
@@ -0,0 +1,270 @@
1
+ import { z } from 'zod';
2
+ export declare const passkeyContract: {
3
+ challenge: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4
+ for: z.ZodDiscriminatedUnion<[z.ZodObject<{
5
+ kind: z.ZodLiteral<"answer">;
6
+ proposalID: z.ZodString;
7
+ actionHash: z.ZodString;
8
+ choice: z.ZodEnum<{
9
+ always_allow: "always_allow";
10
+ approve: "approve";
11
+ decline: "decline";
12
+ defer: "defer";
13
+ }>;
14
+ ruleHash: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ kind: z.ZodLiteral<"register">;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ kind: z.ZodLiteral<"revoke">;
19
+ passkeyID: z.ZodString;
20
+ }, z.core.$strip>], "kind">;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ options: z.ZodObject<{
23
+ challenge: z.ZodString;
24
+ rpId: z.ZodString;
25
+ allowCredentials: z.ZodArray<z.ZodObject<{
26
+ id: z.ZodString;
27
+ type: z.ZodLiteral<"public-key">;
28
+ transports: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
+ }, z.core.$strip>>;
30
+ userVerification: z.ZodEnum<{
31
+ discouraged: "discouraged";
32
+ preferred: "preferred";
33
+ required: "required";
34
+ }>;
35
+ timeout: z.ZodInt;
36
+ }, z.core.$strip>;
37
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
38
+ UNAUTHORIZED: {
39
+ message: string;
40
+ status: number;
41
+ };
42
+ }>, {
43
+ NO_PASSKEY: {
44
+ message: string;
45
+ status: number;
46
+ };
47
+ }>, Record<never, never>>;
48
+ registrationOptions: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
49
+ code: z.ZodOptional<z.ZodString>;
50
+ passkey: z.ZodOptional<z.ZodObject<{
51
+ id: z.ZodString;
52
+ rawId: z.ZodString;
53
+ response: z.ZodObject<{
54
+ clientDataJSON: z.ZodString;
55
+ authenticatorData: z.ZodString;
56
+ signature: z.ZodString;
57
+ userHandle: z.ZodOptional<z.ZodString>;
58
+ }, z.core.$strip>;
59
+ authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
60
+ "cross-platform": "cross-platform";
61
+ platform: "platform";
62
+ }>>;
63
+ clientExtensionResults: z.ZodObject<{}, z.core.$strip>;
64
+ type: z.ZodLiteral<"public-key">;
65
+ }, z.core.$strip>>;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ options: z.ZodObject<{
68
+ rp: z.ZodObject<{
69
+ id: z.ZodString;
70
+ name: z.ZodString;
71
+ }, z.core.$strip>;
72
+ user: z.ZodObject<{
73
+ id: z.ZodString;
74
+ name: z.ZodString;
75
+ displayName: z.ZodString;
76
+ }, z.core.$strip>;
77
+ challenge: z.ZodString;
78
+ pubKeyCredParams: z.ZodArray<z.ZodObject<{
79
+ type: z.ZodLiteral<"public-key">;
80
+ alg: z.ZodInt;
81
+ }, z.core.$strip>>;
82
+ timeout: z.ZodInt;
83
+ excludeCredentials: z.ZodArray<z.ZodObject<{
84
+ id: z.ZodString;
85
+ type: z.ZodLiteral<"public-key">;
86
+ transports: z.ZodOptional<z.ZodArray<z.ZodString>>;
87
+ }, z.core.$strip>>;
88
+ authenticatorSelection: z.ZodObject<{
89
+ residentKey: z.ZodEnum<{
90
+ discouraged: "discouraged";
91
+ preferred: "preferred";
92
+ required: "required";
93
+ }>;
94
+ requireResidentKey: z.ZodBoolean;
95
+ userVerification: z.ZodEnum<{
96
+ discouraged: "discouraged";
97
+ preferred: "preferred";
98
+ required: "required";
99
+ }>;
100
+ }, z.core.$strip>;
101
+ attestation: z.ZodEnum<{
102
+ direct: "direct";
103
+ enterprise: "enterprise";
104
+ indirect: "indirect";
105
+ none: "none";
106
+ }>;
107
+ }, z.core.$strip>;
108
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
109
+ UNAUTHORIZED: {
110
+ message: string;
111
+ status: number;
112
+ };
113
+ }>, {
114
+ PASSKEY_FAILED: {
115
+ message: string;
116
+ status: number;
117
+ data: z.ZodObject<{
118
+ reason: z.ZodEnum<{
119
+ binding: "binding";
120
+ counter: "counter";
121
+ no_user_verification: "no_user_verification";
122
+ origin: "origin";
123
+ signature: "signature";
124
+ unknown_challenge: "unknown_challenge";
125
+ unknown_passkey: "unknown_passkey";
126
+ }>;
127
+ }, z.core.$strip>;
128
+ };
129
+ TOO_MANY_PASSKEYS: {
130
+ message: string;
131
+ status: number;
132
+ };
133
+ ORIGIN_UNSUPPORTED: {
134
+ message: string;
135
+ status: number;
136
+ };
137
+ ORIGIN_CHANGED: {
138
+ message: string;
139
+ status: number;
140
+ };
141
+ }>, {
142
+ CODE_REQUIRED: {
143
+ message: string;
144
+ status: number;
145
+ };
146
+ CODE_INVALID: {
147
+ message: string;
148
+ status: number;
149
+ };
150
+ }>, Record<never, never>>;
151
+ register: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
152
+ clientActionID: z.ZodUUID;
153
+ response: z.ZodObject<{
154
+ id: z.ZodString;
155
+ rawId: z.ZodString;
156
+ response: z.ZodObject<{
157
+ clientDataJSON: z.ZodString;
158
+ attestationObject: z.ZodString;
159
+ authenticatorData: z.ZodOptional<z.ZodString>;
160
+ transports: z.ZodOptional<z.ZodArray<z.ZodString>>;
161
+ publicKeyAlgorithm: z.ZodOptional<z.ZodInt>;
162
+ publicKey: z.ZodOptional<z.ZodString>;
163
+ }, z.core.$strip>;
164
+ authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
165
+ "cross-platform": "cross-platform";
166
+ platform: "platform";
167
+ }>>;
168
+ clientExtensionResults: z.ZodObject<{}, z.core.$strip>;
169
+ type: z.ZodLiteral<"public-key">;
170
+ }, z.core.$strip>;
171
+ label: z.ZodOptional<z.ZodString>;
172
+ }, z.core.$strip>, z.ZodObject<{
173
+ passkeyID: z.ZodString;
174
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
175
+ UNAUTHORIZED: {
176
+ message: string;
177
+ status: number;
178
+ };
179
+ }>, {
180
+ CLIENT_ACTION_ID_REUSED: {
181
+ message: string;
182
+ status: number;
183
+ };
184
+ }>, {
185
+ REGISTRATION_FAILED: {
186
+ message: string;
187
+ status: number;
188
+ data: z.ZodObject<{
189
+ reason: z.ZodString;
190
+ }, z.core.$strip>;
191
+ };
192
+ TOO_MANY_PASSKEYS: {
193
+ message: string;
194
+ status: number;
195
+ };
196
+ ORIGIN_UNSUPPORTED: {
197
+ message: string;
198
+ status: number;
199
+ };
200
+ }>, Record<never, never>>;
201
+ list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
202
+ passkeys: z.ZodArray<z.ZodObject<{
203
+ passkeyID: z.ZodString;
204
+ label: z.ZodString;
205
+ synced: z.ZodBoolean;
206
+ authorizedBy: z.ZodString;
207
+ registeredAt: z.ZodDate;
208
+ lastUsedAt: z.ZodNullable<z.ZodDate>;
209
+ revokedAt: z.ZodNullable<z.ZodDate>;
210
+ }, z.core.$strip>>;
211
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
212
+ UNAUTHORIZED: {
213
+ message: string;
214
+ status: number;
215
+ };
216
+ }>, Record<never, never>>;
217
+ revoke: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
218
+ clientActionID: z.ZodUUID;
219
+ passkeyID: z.ZodString;
220
+ passkey: z.ZodObject<{
221
+ id: z.ZodString;
222
+ rawId: z.ZodString;
223
+ response: z.ZodObject<{
224
+ clientDataJSON: z.ZodString;
225
+ authenticatorData: z.ZodString;
226
+ signature: z.ZodString;
227
+ userHandle: z.ZodOptional<z.ZodString>;
228
+ }, z.core.$strip>;
229
+ authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
230
+ "cross-platform": "cross-platform";
231
+ platform: "platform";
232
+ }>>;
233
+ clientExtensionResults: z.ZodObject<{}, z.core.$strip>;
234
+ type: z.ZodLiteral<"public-key">;
235
+ }, z.core.$strip>;
236
+ }, z.core.$strip>, z.ZodObject<{
237
+ revokedAt: z.ZodDate;
238
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
239
+ UNAUTHORIZED: {
240
+ message: string;
241
+ status: number;
242
+ };
243
+ }>, {
244
+ CLIENT_ACTION_ID_REUSED: {
245
+ message: string;
246
+ status: number;
247
+ };
248
+ }>, {
249
+ PASSKEY_FAILED: {
250
+ message: string;
251
+ status: number;
252
+ data: z.ZodObject<{
253
+ reason: z.ZodEnum<{
254
+ binding: "binding";
255
+ counter: "counter";
256
+ no_user_verification: "no_user_verification";
257
+ origin: "origin";
258
+ signature: "signature";
259
+ unknown_challenge: "unknown_challenge";
260
+ unknown_passkey: "unknown_passkey";
261
+ }>;
262
+ }, z.core.$strip>;
263
+ };
264
+ }>, {
265
+ NOT_FOUND: {
266
+ message: string;
267
+ status: number;
268
+ };
269
+ }>, Record<never, never>>;
270
+ };
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ export declare const passkeyFailedError: {
3
+ PASSKEY_FAILED: {
4
+ message: string;
5
+ status: number;
6
+ data: z.ZodObject<{
7
+ reason: z.ZodEnum<{
8
+ binding: "binding";
9
+ counter: "counter";
10
+ no_user_verification: "no_user_verification";
11
+ origin: "origin";
12
+ signature: "signature";
13
+ unknown_challenge: "unknown_challenge";
14
+ unknown_passkey: "unknown_passkey";
15
+ }>;
16
+ }, z.core.$strip>;
17
+ };
18
+ };
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod';
2
+ export declare const passkeyFailureSchema: z.ZodEnum<{
3
+ binding: "binding";
4
+ counter: "counter";
5
+ no_user_verification: "no_user_verification";
6
+ origin: "origin";
7
+ signature: "signature";
8
+ unknown_challenge: "unknown_challenge";
9
+ unknown_passkey: "unknown_passkey";
10
+ }>;