@awiki/dsh-plugin 0.3.5 → 0.3.7-dsh-test.20260831.1
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/README.md +45 -32
- package/README.zh.md +33 -28
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/cordis.patch.yml +3 -1
- package/lib/client.js +1348 -637
- package/lib/client.js.map +1 -1
- package/lib/index.js +989 -393
- package/lib/provider.js +57 -16
- package/lib/{sdk-adapter-CDLTgHJA.mjs → sdk-adapter-FGaOi8It.mjs} +167 -50
- package/lib/typert.host.js +411 -128
- package/lib/typert.remote-client.d.ts +19 -5
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +411 -128
- package/lib/types/client/AwikiDevices.d.ts +28 -0
- package/lib/types/client/AwikiDevices.d.ts.map +1 -0
- package/lib/types/client/AwikiDevices.js +85 -0
- package/lib/types/client/AwikiDevices.js.map +1 -0
- package/lib/types/client/AwikiIdentityAccess.d.ts +6 -5
- package/lib/types/client/AwikiIdentityAccess.d.ts.map +1 -1
- package/lib/types/client/AwikiIdentityAccess.js +88 -27
- package/lib/types/client/AwikiIdentityAccess.js.map +1 -1
- package/lib/types/client/AwikiOverlay.d.ts.map +1 -1
- package/lib/types/client/AwikiOverlay.js +5 -12
- package/lib/types/client/AwikiOverlay.js.map +1 -1
- package/lib/types/client/AwikiRecoveryForm.d.ts.map +1 -1
- package/lib/types/client/AwikiRecoveryForm.js +1 -1
- package/lib/types/client/AwikiRecoveryForm.js.map +1 -1
- package/lib/types/client/controller.d.ts +20 -28
- package/lib/types/client/controller.d.ts.map +1 -1
- package/lib/types/client/controller.js +41 -162
- package/lib/types/client/controller.js.map +1 -1
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/index.js +8 -2
- package/lib/types/client/index.js.map +1 -1
- package/lib/types/client/slots.d.ts +10 -6
- package/lib/types/client/slots.d.ts.map +1 -1
- package/lib/types/conversation-preferences.d.ts.map +1 -1
- package/lib/types/conversation-preferences.js +0 -17
- package/lib/types/conversation-preferences.js.map +1 -1
- package/lib/types/index.d.ts +54 -13
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +739 -221
- package/lib/types/index.js.map +1 -1
- package/lib/types/listener-state.d.ts +5 -3
- package/lib/types/listener-state.d.ts.map +1 -1
- package/lib/types/listener-state.js +28 -13
- package/lib/types/listener-state.js.map +1 -1
- package/lib/types/listener.d.ts +9 -32
- package/lib/types/listener.d.ts.map +1 -1
- package/lib/types/listener.js +11 -127
- package/lib/types/listener.js.map +1 -1
- package/lib/types/provider-api.d.ts +99 -7
- package/lib/types/provider-api.d.ts.map +1 -1
- package/lib/types/provider.d.ts +7 -1
- package/lib/types/provider.d.ts.map +1 -1
- package/lib/types/provider.js +58 -15
- package/lib/types/provider.js.map +1 -1
- package/lib/types/realtime-supervisor.d.ts +54 -0
- package/lib/types/realtime-supervisor.d.ts.map +1 -0
- package/lib/types/realtime-supervisor.js +242 -0
- package/lib/types/realtime-supervisor.js.map +1 -0
- package/lib/types/sdk-adapter.d.ts +31 -5
- package/lib/types/sdk-adapter.d.ts.map +1 -1
- package/lib/types/sdk-adapter.js +162 -59
- package/lib/types/sdk-adapter.js.map +1 -1
- package/lib/types/types.d.ts +76 -27
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types/types.js.map +1 -1
- package/package.json +5 -2
- package/lib/types/profile-state.d.ts +0 -11
- package/lib/types/profile-state.d.ts.map +0 -1
- package/lib/types/profile-state.js +0 -48
- package/lib/types/profile-state.js.map +0 -1
|
@@ -7,7 +7,7 @@ const _awiki_dsh_plugin_awiki_activateRecovery_parameter_0$schema = z.object({
|
|
|
7
7
|
const _awiki_dsh_plugin_awiki_activateRecovery_result$schema = z.union([z.object({
|
|
8
8
|
'ok': z.literal(false).readonly(),
|
|
9
9
|
'error': z.object({
|
|
10
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
10
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
11
11
|
'message': z.string().readonly(),
|
|
12
12
|
}).readonly(),
|
|
13
13
|
}), z.object({
|
|
@@ -22,19 +22,17 @@ const _awiki_dsh_plugin_awiki_activateRecovery_result$schema = z.union([z.object
|
|
|
22
22
|
'retryable': z.boolean().readonly(),
|
|
23
23
|
'localOrdinaryDataWillMigrate': z.boolean().readonly(),
|
|
24
24
|
'otherDevicesMustRejoin': z.boolean().readonly(),
|
|
25
|
-
'unsupportedE2eeGroupCount': z.number().readonly(),
|
|
26
|
-
'unsupportedDidOnlyGroupCount': z.number().readonly(),
|
|
27
25
|
}).readonly(),
|
|
28
26
|
})])
|
|
29
27
|
const _awiki_dsh_plugin_awiki_addGroupMember_parameter_0$schema = z.object({
|
|
30
28
|
'member': z.string().readonly(),
|
|
31
|
-
'role': z.union([z.literal("
|
|
29
|
+
'role': z.union([z.literal("member"), z.literal("admin")]).readonly().optional(),
|
|
32
30
|
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
33
31
|
})
|
|
34
32
|
const _awiki_dsh_plugin_awiki_addGroupMember_result$schema = z.union([z.object({
|
|
35
33
|
'ok': z.literal(false).readonly(),
|
|
36
34
|
'error': z.object({
|
|
37
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
35
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
38
36
|
'message': z.string().readonly(),
|
|
39
37
|
}).readonly(),
|
|
40
38
|
}), z.object({
|
|
@@ -44,13 +42,60 @@ const _awiki_dsh_plugin_awiki_addGroupMember_result$schema = z.union([z.object({
|
|
|
44
42
|
'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
45
43
|
}).readonly(),
|
|
46
44
|
})])
|
|
45
|
+
const _awiki_dsh_plugin_awiki_approveDeviceJoin_parameter_0$schema = z.object({
|
|
46
|
+
'enteredSas': z.string().readonly(),
|
|
47
|
+
'confirmation': z.string().readonly(),
|
|
48
|
+
'requestRef': z.string().readonly(),
|
|
49
|
+
})
|
|
50
|
+
const _awiki_dsh_plugin_awiki_approveDeviceJoin_result$schema = z.union([z.object({
|
|
51
|
+
'ok': z.literal(false).readonly(),
|
|
52
|
+
'error': z.object({
|
|
53
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
54
|
+
'message': z.string().readonly(),
|
|
55
|
+
}).readonly(),
|
|
56
|
+
}), z.object({
|
|
57
|
+
'ok': z.literal(true).readonly(),
|
|
58
|
+
'value': z.object({
|
|
59
|
+
'requestRef': z.string().readonly(),
|
|
60
|
+
'phase': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
|
|
61
|
+
'expiresAt': z.string().readonly(),
|
|
62
|
+
'sas': z.string().readonly().optional(),
|
|
63
|
+
}).readonly(),
|
|
64
|
+
})])
|
|
65
|
+
const _awiki_dsh_plugin_awiki_beginDeviceJoin_result$schema = z.union([z.object({
|
|
66
|
+
'ok': z.literal(false).readonly(),
|
|
67
|
+
'error': z.object({
|
|
68
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
69
|
+
'message': z.string().readonly(),
|
|
70
|
+
}).readonly(),
|
|
71
|
+
}), z.object({
|
|
72
|
+
'ok': z.literal(true).readonly(),
|
|
73
|
+
'value': z.object({
|
|
74
|
+
'phase': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
|
|
75
|
+
'expiresAt': z.string().readonly(),
|
|
76
|
+
'sas': z.string().readonly().optional(),
|
|
77
|
+
'completed': z.boolean().readonly(),
|
|
78
|
+
}).readonly(),
|
|
79
|
+
})])
|
|
80
|
+
const _awiki_dsh_plugin_awiki_cancelDeviceJoin_result$schema = z.union([z.object({
|
|
81
|
+
'ok': z.literal(false).readonly(),
|
|
82
|
+
'error': z.object({
|
|
83
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
84
|
+
'message': z.string().readonly(),
|
|
85
|
+
}).readonly(),
|
|
86
|
+
}), z.object({
|
|
87
|
+
'ok': z.literal(true).readonly(),
|
|
88
|
+
'value': z.object({
|
|
89
|
+
'completed': z.literal(true).readonly(),
|
|
90
|
+
}).readonly(),
|
|
91
|
+
})])
|
|
47
92
|
const _awiki_dsh_plugin_awiki_clearLocalData_parameter_0$schema = z.object({
|
|
48
93
|
'confirmation': z.string().readonly(),
|
|
49
94
|
})
|
|
50
95
|
const _awiki_dsh_plugin_awiki_clearLocalData_result$schema = z.union([z.object({
|
|
51
96
|
'ok': z.literal(false).readonly(),
|
|
52
97
|
'error': z.object({
|
|
53
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
98
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
54
99
|
'message': z.string().readonly(),
|
|
55
100
|
}).readonly(),
|
|
56
101
|
}), z.object({
|
|
@@ -66,7 +111,7 @@ const _awiki_dsh_plugin_awiki_createGroup_parameter_0$schema = z.object({
|
|
|
66
111
|
const _awiki_dsh_plugin_awiki_createGroup_result$schema = z.union([z.object({
|
|
67
112
|
'ok': z.literal(false).readonly(),
|
|
68
113
|
'error': z.object({
|
|
69
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
114
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
70
115
|
'message': z.string().readonly(),
|
|
71
116
|
}).readonly(),
|
|
72
117
|
}), z.object({
|
|
@@ -88,7 +133,7 @@ const _awiki_dsh_plugin_awiki_createGroup_result$schema = z.union([z.object({
|
|
|
88
133
|
'failedMembers': z.array(z.object({
|
|
89
134
|
'member': z.string().readonly(),
|
|
90
135
|
'error': z.object({
|
|
91
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
136
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
92
137
|
'message': z.string().readonly(),
|
|
93
138
|
}).readonly(),
|
|
94
139
|
})).readonly(),
|
|
@@ -100,7 +145,7 @@ const _awiki_dsh_plugin_awiki_discardRecovery_parameter_0$schema = z.object({
|
|
|
100
145
|
const _awiki_dsh_plugin_awiki_discardRecovery_result$schema = z.union([z.object({
|
|
101
146
|
'ok': z.literal(false).readonly(),
|
|
102
147
|
'error': z.object({
|
|
103
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
148
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
104
149
|
'message': z.string().readonly(),
|
|
105
150
|
}).readonly(),
|
|
106
151
|
}), z.object({
|
|
@@ -116,7 +161,7 @@ const _awiki_dsh_plugin_awiki_downloadAttachment_parameter_0$schema = z.object({
|
|
|
116
161
|
const _awiki_dsh_plugin_awiki_downloadAttachment_result$schema = z.union([z.object({
|
|
117
162
|
'ok': z.literal(false).readonly(),
|
|
118
163
|
'error': z.object({
|
|
119
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
164
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
120
165
|
'message': z.string().readonly(),
|
|
121
166
|
}).readonly(),
|
|
122
167
|
}), z.object({
|
|
@@ -135,7 +180,7 @@ const _awiki_dsh_plugin_awiki_downloadAttachment_result$schema = z.union([z.obje
|
|
|
135
180
|
const _awiki_dsh_plugin_awiki_getConfig_result$schema = z.union([z.object({
|
|
136
181
|
'ok': z.literal(false).readonly(),
|
|
137
182
|
'error': z.object({
|
|
138
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
183
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
139
184
|
'message': z.string().readonly(),
|
|
140
185
|
}).readonly(),
|
|
141
186
|
}), z.object({
|
|
@@ -143,14 +188,13 @@ const _awiki_dsh_plugin_awiki_getConfig_result$schema = z.union([z.object({
|
|
|
143
188
|
'value': z.object({
|
|
144
189
|
'pollIntervalMs': z.number().readonly(),
|
|
145
190
|
'attachmentMaxBytes': z.number().readonly(),
|
|
146
|
-
'
|
|
147
|
-
'legacySharedStateDetected': z.boolean().readonly().optional(),
|
|
191
|
+
'handleRecoveryPhoneEnabled': z.boolean().readonly(),
|
|
148
192
|
}).readonly(),
|
|
149
193
|
})])
|
|
150
194
|
const _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema = z.union([z.object({
|
|
151
195
|
'ok': z.literal(false).readonly(),
|
|
152
196
|
'error': z.object({
|
|
153
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
197
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
154
198
|
'message': z.string().readonly(),
|
|
155
199
|
}).readonly(),
|
|
156
200
|
}), z.object({
|
|
@@ -178,16 +222,30 @@ const _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema = z.union
|
|
|
178
222
|
})]).readonly(),
|
|
179
223
|
'hiddenAt': z.number().readonly(),
|
|
180
224
|
})).readonly(),
|
|
181
|
-
'dismissedGroupRecoverySignature': z.string().readonly().optional(),
|
|
182
225
|
}).readonly(),
|
|
183
226
|
})])
|
|
227
|
+
const _awiki_dsh_plugin_awiki_getDeviceJoinStatus_result$schema = z.union([z.object({
|
|
228
|
+
'ok': z.literal(false).readonly(),
|
|
229
|
+
'error': z.object({
|
|
230
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
231
|
+
'message': z.string().readonly(),
|
|
232
|
+
}).readonly(),
|
|
233
|
+
}), z.object({
|
|
234
|
+
'ok': z.literal(true).readonly(),
|
|
235
|
+
'value': z.union([z.literal(null), z.object({
|
|
236
|
+
'phase': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
|
|
237
|
+
'expiresAt': z.string().readonly(),
|
|
238
|
+
'sas': z.string().readonly().optional(),
|
|
239
|
+
'completed': z.boolean().readonly(),
|
|
240
|
+
})]).readonly(),
|
|
241
|
+
})])
|
|
184
242
|
const _awiki_dsh_plugin_awiki_getGroup_parameter_0$schema = z.object({
|
|
185
243
|
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
186
244
|
})
|
|
187
245
|
const _awiki_dsh_plugin_awiki_getGroup_result$schema = z.union([z.object({
|
|
188
246
|
'ok': z.literal(false).readonly(),
|
|
189
247
|
'error': z.object({
|
|
190
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
248
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
191
249
|
'message': z.string().readonly(),
|
|
192
250
|
}).readonly(),
|
|
193
251
|
}), z.object({
|
|
@@ -210,7 +268,7 @@ const _awiki_dsh_plugin_awiki_getHistory_parameter_0$schema = z.object({
|
|
|
210
268
|
const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
|
|
211
269
|
'ok': z.literal(false).readonly(),
|
|
212
270
|
'error': z.object({
|
|
213
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
271
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
214
272
|
'message': z.string().readonly(),
|
|
215
273
|
}).readonly(),
|
|
216
274
|
}), z.object({
|
|
@@ -254,7 +312,7 @@ const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
|
|
|
254
312
|
const _awiki_dsh_plugin_awiki_getIdentity_result$schema = z.union([z.object({
|
|
255
313
|
'ok': z.literal(false).readonly(),
|
|
256
314
|
'error': z.object({
|
|
257
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
315
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
258
316
|
'message': z.string().readonly(),
|
|
259
317
|
}).readonly(),
|
|
260
318
|
}), z.object({
|
|
@@ -274,7 +332,7 @@ const _awiki_dsh_plugin_awiki_getLocalHistory_parameter_0$schema = z.object({
|
|
|
274
332
|
const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object({
|
|
275
333
|
'ok': z.literal(false).readonly(),
|
|
276
334
|
'error': z.object({
|
|
277
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
335
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
278
336
|
'message': z.string().readonly(),
|
|
279
337
|
}).readonly(),
|
|
280
338
|
}), z.object({
|
|
@@ -318,7 +376,7 @@ const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object(
|
|
|
318
376
|
const _awiki_dsh_plugin_awiki_getMailAccount_result$schema = z.union([z.object({
|
|
319
377
|
'ok': z.literal(false).readonly(),
|
|
320
378
|
'error': z.object({
|
|
321
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
379
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
322
380
|
'message': z.string().readonly(),
|
|
323
381
|
}).readonly(),
|
|
324
382
|
}), z.object({
|
|
@@ -332,7 +390,7 @@ const _awiki_dsh_plugin_awiki_getMailAccount_result$schema = z.union([z.object({
|
|
|
332
390
|
const _awiki_dsh_plugin_awiki_getProfile_result$schema = z.union([z.object({
|
|
333
391
|
'ok': z.literal(false).readonly(),
|
|
334
392
|
'error': z.object({
|
|
335
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
393
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
336
394
|
'message': z.string().readonly(),
|
|
337
395
|
}).readonly(),
|
|
338
396
|
}), z.object({
|
|
@@ -352,7 +410,7 @@ const _awiki_dsh_plugin_awiki_getRecoveryStatus_parameter_0$schema = z.object({
|
|
|
352
410
|
const _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema = z.union([z.object({
|
|
353
411
|
'ok': z.literal(false).readonly(),
|
|
354
412
|
'error': z.object({
|
|
355
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
413
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
356
414
|
'message': z.string().readonly(),
|
|
357
415
|
}).readonly(),
|
|
358
416
|
}), z.object({
|
|
@@ -367,14 +425,12 @@ const _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema = z.union([z.objec
|
|
|
367
425
|
'retryable': z.boolean().readonly(),
|
|
368
426
|
'localOrdinaryDataWillMigrate': z.boolean().readonly(),
|
|
369
427
|
'otherDevicesMustRejoin': z.boolean().readonly(),
|
|
370
|
-
'unsupportedE2eeGroupCount': z.number().readonly(),
|
|
371
|
-
'unsupportedDidOnlyGroupCount': z.number().readonly(),
|
|
372
428
|
}).readonly(),
|
|
373
429
|
})])
|
|
374
430
|
const _awiki_dsh_plugin_awiki_getSession_result$schema = z.union([z.object({
|
|
375
431
|
'ok': z.literal(false).readonly(),
|
|
376
432
|
'error': z.object({
|
|
377
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
433
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
378
434
|
'message': z.string().readonly(),
|
|
379
435
|
}).readonly(),
|
|
380
436
|
}), z.object({
|
|
@@ -399,7 +455,7 @@ const _awiki_dsh_plugin_awiki_inspectIdentityAccess_parameter_0$schema = z.objec
|
|
|
399
455
|
const _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema = z.union([z.object({
|
|
400
456
|
'ok': z.literal(false).readonly(),
|
|
401
457
|
'error': z.object({
|
|
402
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
458
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
403
459
|
'message': z.string().readonly(),
|
|
404
460
|
}).readonly(),
|
|
405
461
|
}), z.object({
|
|
@@ -415,7 +471,7 @@ const _awiki_dsh_plugin_awiki_joinGroup_parameter_0$schema = z.object({
|
|
|
415
471
|
const _awiki_dsh_plugin_awiki_joinGroup_result$schema = z.union([z.object({
|
|
416
472
|
'ok': z.literal(false).readonly(),
|
|
417
473
|
'error': z.object({
|
|
418
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
474
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
419
475
|
'message': z.string().readonly(),
|
|
420
476
|
}).readonly(),
|
|
421
477
|
}), z.object({
|
|
@@ -436,7 +492,7 @@ const _awiki_dsh_plugin_awiki_leaveGroup_parameter_0$schema = z.object({
|
|
|
436
492
|
const _awiki_dsh_plugin_awiki_leaveGroup_result$schema = z.union([z.object({
|
|
437
493
|
'ok': z.literal(false).readonly(),
|
|
438
494
|
'error': z.object({
|
|
439
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
495
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
440
496
|
'message': z.string().readonly(),
|
|
441
497
|
}).readonly(),
|
|
442
498
|
}), z.object({
|
|
@@ -452,7 +508,7 @@ const _awiki_dsh_plugin_awiki_listConversations_parameter_0$schema = z.union([z.
|
|
|
452
508
|
const _awiki_dsh_plugin_awiki_listConversations_result$schema = z.union([z.object({
|
|
453
509
|
'ok': z.literal(false).readonly(),
|
|
454
510
|
'error': z.object({
|
|
455
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
511
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
456
512
|
'message': z.string().readonly(),
|
|
457
513
|
}).readonly(),
|
|
458
514
|
}), z.object({
|
|
@@ -489,7 +545,7 @@ const _awiki_dsh_plugin_awiki_listGroupMembers_parameter_0$schema = z.object({
|
|
|
489
545
|
const _awiki_dsh_plugin_awiki_listGroupMembers_result$schema = z.union([z.object({
|
|
490
546
|
'ok': z.literal(false).readonly(),
|
|
491
547
|
'error': z.object({
|
|
492
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
548
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
493
549
|
'message': z.string().readonly(),
|
|
494
550
|
}).readonly(),
|
|
495
551
|
}), z.object({
|
|
@@ -524,7 +580,7 @@ const _awiki_dsh_plugin_awiki_listMailInbox_parameter_0$schema = z.union([z.unde
|
|
|
524
580
|
const _awiki_dsh_plugin_awiki_listMailInbox_result$schema = z.union([z.object({
|
|
525
581
|
'ok': z.literal(false).readonly(),
|
|
526
582
|
'error': z.object({
|
|
527
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
583
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
528
584
|
'message': z.string().readonly(),
|
|
529
585
|
}).readonly(),
|
|
530
586
|
}), z.object({
|
|
@@ -553,7 +609,7 @@ const _awiki_dsh_plugin_awiki_listMailInbox_result$schema = z.union([z.object({
|
|
|
553
609
|
const _awiki_dsh_plugin_awiki_login_result$schema = z.union([z.object({
|
|
554
610
|
'ok': z.literal(false).readonly(),
|
|
555
611
|
'error': z.object({
|
|
556
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
612
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
557
613
|
'message': z.string().readonly(),
|
|
558
614
|
}).readonly(),
|
|
559
615
|
}), z.object({
|
|
@@ -578,7 +634,7 @@ const _awiki_dsh_plugin_awiki_logout_parameter_0$schema = z.object({
|
|
|
578
634
|
const _awiki_dsh_plugin_awiki_logout_result$schema = z.union([z.object({
|
|
579
635
|
'ok': z.literal(false).readonly(),
|
|
580
636
|
'error': z.object({
|
|
581
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
637
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
582
638
|
'message': z.string().readonly(),
|
|
583
639
|
}).readonly(),
|
|
584
640
|
}), z.object({
|
|
@@ -603,7 +659,7 @@ const _awiki_dsh_plugin_awiki_markConversationRead_parameter_0$schema = z.object
|
|
|
603
659
|
const _awiki_dsh_plugin_awiki_markConversationRead_result$schema = z.union([z.object({
|
|
604
660
|
'ok': z.literal(false).readonly(),
|
|
605
661
|
'error': z.object({
|
|
606
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
662
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
607
663
|
'message': z.string().readonly(),
|
|
608
664
|
}).readonly(),
|
|
609
665
|
}), z.object({
|
|
@@ -616,7 +672,7 @@ const _awiki_dsh_plugin_awiki_markMailRead_parameter_0$schema = z.object({
|
|
|
616
672
|
const _awiki_dsh_plugin_awiki_markMailRead_result$schema = z.union([z.object({
|
|
617
673
|
'ok': z.literal(false).readonly(),
|
|
618
674
|
'error': z.object({
|
|
619
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
675
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
620
676
|
'message': z.string().readonly(),
|
|
621
677
|
}).readonly(),
|
|
622
678
|
}), z.object({
|
|
@@ -633,7 +689,7 @@ const _awiki_dsh_plugin_awiki_prepareRecovery_parameter_0$schema = z.object({
|
|
|
633
689
|
const _awiki_dsh_plugin_awiki_prepareRecovery_result$schema = z.union([z.object({
|
|
634
690
|
'ok': z.literal(false).readonly(),
|
|
635
691
|
'error': z.object({
|
|
636
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
692
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
637
693
|
'message': z.string().readonly(),
|
|
638
694
|
}).readonly(),
|
|
639
695
|
}), z.object({
|
|
@@ -648,8 +704,6 @@ const _awiki_dsh_plugin_awiki_prepareRecovery_result$schema = z.union([z.object(
|
|
|
648
704
|
'retryable': z.boolean().readonly(),
|
|
649
705
|
'localOrdinaryDataWillMigrate': z.boolean().readonly(),
|
|
650
706
|
'otherDevicesMustRejoin': z.boolean().readonly(),
|
|
651
|
-
'unsupportedE2eeGroupCount': z.number().readonly(),
|
|
652
|
-
'unsupportedDidOnlyGroupCount': z.number().readonly(),
|
|
653
707
|
}).readonly(),
|
|
654
708
|
})])
|
|
655
709
|
const _awiki_dsh_plugin_awiki_readMail_parameter_0$schema = z.object({
|
|
@@ -658,7 +712,7 @@ const _awiki_dsh_plugin_awiki_readMail_parameter_0$schema = z.object({
|
|
|
658
712
|
const _awiki_dsh_plugin_awiki_readMail_result$schema = z.union([z.object({
|
|
659
713
|
'ok': z.literal(false).readonly(),
|
|
660
714
|
'error': z.object({
|
|
661
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
715
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
662
716
|
'message': z.string().readonly(),
|
|
663
717
|
}).readonly(),
|
|
664
718
|
}), z.object({
|
|
@@ -691,6 +745,36 @@ const _awiki_dsh_plugin_awiki_readMail_result$schema = z.union([z.object({
|
|
|
691
745
|
})).readonly(),
|
|
692
746
|
}).readonly(),
|
|
693
747
|
})])
|
|
748
|
+
const _awiki_dsh_plugin_awiki_refreshDeviceManagement_result$schema = z.union([z.object({
|
|
749
|
+
'ok': z.literal(false).readonly(),
|
|
750
|
+
'error': z.object({
|
|
751
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
752
|
+
'message': z.string().readonly(),
|
|
753
|
+
}).readonly(),
|
|
754
|
+
}), z.object({
|
|
755
|
+
'ok': z.literal(true).readonly(),
|
|
756
|
+
'value': z.object({
|
|
757
|
+
'canManage': z.boolean().readonly(),
|
|
758
|
+
'role': z.union([z.literal("member"), z.literal("admin")]).readonly().optional(),
|
|
759
|
+
'readiness': z.union([z.literal("legacy"), z.literal("member_ready"), z.literal("admin_awaiting_root"), z.literal("admin_ready"), z.literal("blocked")]).readonly(),
|
|
760
|
+
'devices': z.array(z.object({
|
|
761
|
+
'deviceRef': z.string().readonly(),
|
|
762
|
+
'status': z.union([z.literal("active"), z.literal("revoked")]).readonly(),
|
|
763
|
+
'role': z.union([z.literal("member"), z.literal("admin")]).readonly(),
|
|
764
|
+
'managementReady': z.boolean().readonly(),
|
|
765
|
+
'isCurrent': z.boolean().readonly(),
|
|
766
|
+
})).readonly(),
|
|
767
|
+
'requests': z.array(z.object({
|
|
768
|
+
'requestRef': z.string().readonly(),
|
|
769
|
+
'candidateKeyFingerprint': z.string().readonly(),
|
|
770
|
+
'issuedAt': z.string().readonly(),
|
|
771
|
+
'expiresAt': z.string().readonly(),
|
|
772
|
+
'state': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
|
|
773
|
+
'claimedByCurrentDevice': z.boolean().readonly(),
|
|
774
|
+
'canStartVerification': z.boolean().readonly(),
|
|
775
|
+
})).readonly(),
|
|
776
|
+
}).readonly(),
|
|
777
|
+
})])
|
|
694
778
|
const _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema = z.object({
|
|
695
779
|
'handle': z.string().readonly(),
|
|
696
780
|
'phone': z.string().readonly(),
|
|
@@ -699,17 +783,44 @@ const _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema = z.object({
|
|
|
699
783
|
const _awiki_dsh_plugin_awiki_registerIdentity_result$schema = z.union([z.object({
|
|
700
784
|
'ok': z.literal(false).readonly(),
|
|
701
785
|
'error': z.object({
|
|
702
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
786
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
703
787
|
'message': z.string().readonly(),
|
|
704
788
|
}).readonly(),
|
|
705
789
|
}), z.object({
|
|
706
790
|
'ok': z.literal(true).readonly(),
|
|
707
|
-
'value': z.object({
|
|
791
|
+
'value': z.union([z.object({
|
|
792
|
+
'status': z.literal("registered").readonly(),
|
|
793
|
+
'identity': z.object({
|
|
708
794
|
'handle': z.intersection(z.string(), z.unknown()).readonly(),
|
|
709
795
|
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
710
796
|
'displayName': z.string().readonly().optional(),
|
|
711
797
|
'registeredAt': z.number().readonly(),
|
|
712
798
|
}).readonly(),
|
|
799
|
+
}), z.object({
|
|
800
|
+
'status': z.literal("join-required").readonly(),
|
|
801
|
+
'fullHandle': z.intersection(z.string(), z.unknown()).readonly(),
|
|
802
|
+
'mode': z.union([z.literal("ordinary"), z.literal("handle-recovery-rebind")]).readonly(),
|
|
803
|
+
'requiresUserPresence': z.boolean().readonly(),
|
|
804
|
+
})]).readonly(),
|
|
805
|
+
})])
|
|
806
|
+
const _awiki_dsh_plugin_awiki_rejectDeviceJoin_parameter_0$schema = z.object({
|
|
807
|
+
'reason': z.union([z.literal("user_rejected"), z.literal("sas_mismatch")]).readonly(),
|
|
808
|
+
'requestRef': z.string().readonly(),
|
|
809
|
+
})
|
|
810
|
+
const _awiki_dsh_plugin_awiki_rejectDeviceJoin_result$schema = z.union([z.object({
|
|
811
|
+
'ok': z.literal(false).readonly(),
|
|
812
|
+
'error': z.object({
|
|
813
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
814
|
+
'message': z.string().readonly(),
|
|
815
|
+
}).readonly(),
|
|
816
|
+
}), z.object({
|
|
817
|
+
'ok': z.literal(true).readonly(),
|
|
818
|
+
'value': z.object({
|
|
819
|
+
'requestRef': z.string().readonly(),
|
|
820
|
+
'phase': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
|
|
821
|
+
'expiresAt': z.string().readonly(),
|
|
822
|
+
'sas': z.string().readonly().optional(),
|
|
823
|
+
}).readonly(),
|
|
713
824
|
})])
|
|
714
825
|
const _awiki_dsh_plugin_awiki_removeGroupMember_parameter_0$schema = z.object({
|
|
715
826
|
'member': z.string().readonly(),
|
|
@@ -718,7 +829,7 @@ const _awiki_dsh_plugin_awiki_removeGroupMember_parameter_0$schema = z.object({
|
|
|
718
829
|
const _awiki_dsh_plugin_awiki_removeGroupMember_result$schema = z.union([z.object({
|
|
719
830
|
'ok': z.literal(false).readonly(),
|
|
720
831
|
'error': z.object({
|
|
721
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
832
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
722
833
|
'message': z.string().readonly(),
|
|
723
834
|
}).readonly(),
|
|
724
835
|
}), z.object({
|
|
@@ -734,7 +845,7 @@ const _awiki_dsh_plugin_awiki_resolvePeer_parameter_0$schema = z.object({
|
|
|
734
845
|
const _awiki_dsh_plugin_awiki_resolvePeer_result$schema = z.union([z.object({
|
|
735
846
|
'ok': z.literal(false).readonly(),
|
|
736
847
|
'error': z.object({
|
|
737
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
848
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
738
849
|
'message': z.string().readonly(),
|
|
739
850
|
}).readonly(),
|
|
740
851
|
}), z.object({
|
|
@@ -746,32 +857,13 @@ const _awiki_dsh_plugin_awiki_resolvePeer_result$schema = z.union([z.object({
|
|
|
746
857
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
747
858
|
}).readonly(),
|
|
748
859
|
})])
|
|
749
|
-
const _awiki_dsh_plugin_awiki_resumeGroupRebindRecovery_result$schema = z.union([z.object({
|
|
750
|
-
'ok': z.literal(false).readonly(),
|
|
751
|
-
'error': z.object({
|
|
752
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
753
|
-
'message': z.string().readonly(),
|
|
754
|
-
}).readonly(),
|
|
755
|
-
}), z.object({
|
|
756
|
-
'ok': z.literal(true).readonly(),
|
|
757
|
-
'value': z.object({
|
|
758
|
-
'processed': z.number().readonly(),
|
|
759
|
-
'completed': z.number().readonly(),
|
|
760
|
-
'pending': z.number().readonly(),
|
|
761
|
-
'blocked': z.number().readonly(),
|
|
762
|
-
'items': z.array(z.object({
|
|
763
|
-
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
764
|
-
'status': z.union([z.literal("pending"), z.literal("blocked")]).readonly(),
|
|
765
|
-
})).readonly(),
|
|
766
|
-
}).readonly(),
|
|
767
|
-
})])
|
|
768
860
|
const _awiki_dsh_plugin_awiki_resumeRecovery_parameter_0$schema = z.object({
|
|
769
861
|
'operationId': z.string().readonly(),
|
|
770
862
|
})
|
|
771
863
|
const _awiki_dsh_plugin_awiki_resumeRecovery_result$schema = z.union([z.object({
|
|
772
864
|
'ok': z.literal(false).readonly(),
|
|
773
865
|
'error': z.object({
|
|
774
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
866
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
775
867
|
'message': z.string().readonly(),
|
|
776
868
|
}).readonly(),
|
|
777
869
|
}), z.object({
|
|
@@ -786,8 +878,40 @@ const _awiki_dsh_plugin_awiki_resumeRecovery_result$schema = z.union([z.object({
|
|
|
786
878
|
'retryable': z.boolean().readonly(),
|
|
787
879
|
'localOrdinaryDataWillMigrate': z.boolean().readonly(),
|
|
788
880
|
'otherDevicesMustRejoin': z.boolean().readonly(),
|
|
789
|
-
|
|
790
|
-
|
|
881
|
+
}).readonly(),
|
|
882
|
+
})])
|
|
883
|
+
const _awiki_dsh_plugin_awiki_revokeDevice_parameter_0$schema = z.object({
|
|
884
|
+
'deviceRef': z.string().readonly(),
|
|
885
|
+
'confirmation': z.string().readonly(),
|
|
886
|
+
})
|
|
887
|
+
const _awiki_dsh_plugin_awiki_revokeDevice_result$schema = z.union([z.object({
|
|
888
|
+
'ok': z.literal(false).readonly(),
|
|
889
|
+
'error': z.object({
|
|
890
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
891
|
+
'message': z.string().readonly(),
|
|
892
|
+
}).readonly(),
|
|
893
|
+
}), z.object({
|
|
894
|
+
'ok': z.literal(true).readonly(),
|
|
895
|
+
'value': z.object({
|
|
896
|
+
'canManage': z.boolean().readonly(),
|
|
897
|
+
'role': z.union([z.literal("member"), z.literal("admin")]).readonly().optional(),
|
|
898
|
+
'readiness': z.union([z.literal("legacy"), z.literal("member_ready"), z.literal("admin_awaiting_root"), z.literal("admin_ready"), z.literal("blocked")]).readonly(),
|
|
899
|
+
'devices': z.array(z.object({
|
|
900
|
+
'deviceRef': z.string().readonly(),
|
|
901
|
+
'status': z.union([z.literal("active"), z.literal("revoked")]).readonly(),
|
|
902
|
+
'role': z.union([z.literal("member"), z.literal("admin")]).readonly(),
|
|
903
|
+
'managementReady': z.boolean().readonly(),
|
|
904
|
+
'isCurrent': z.boolean().readonly(),
|
|
905
|
+
})).readonly(),
|
|
906
|
+
'requests': z.array(z.object({
|
|
907
|
+
'requestRef': z.string().readonly(),
|
|
908
|
+
'candidateKeyFingerprint': z.string().readonly(),
|
|
909
|
+
'issuedAt': z.string().readonly(),
|
|
910
|
+
'expiresAt': z.string().readonly(),
|
|
911
|
+
'state': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
|
|
912
|
+
'claimedByCurrentDevice': z.boolean().readonly(),
|
|
913
|
+
'canStartVerification': z.boolean().readonly(),
|
|
914
|
+
})).readonly(),
|
|
791
915
|
}).readonly(),
|
|
792
916
|
})])
|
|
793
917
|
const _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema = z.object({
|
|
@@ -807,7 +931,7 @@ const _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema = z.object({
|
|
|
807
931
|
const _awiki_dsh_plugin_awiki_sendAttachment_result$schema = z.union([z.object({
|
|
808
932
|
'ok': z.literal(false).readonly(),
|
|
809
933
|
'error': z.object({
|
|
810
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
934
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
811
935
|
'message': z.string().readonly(),
|
|
812
936
|
}).readonly(),
|
|
813
937
|
}), z.object({
|
|
@@ -853,7 +977,7 @@ const _awiki_dsh_plugin_awiki_sendMail_parameter_0$schema = z.object({
|
|
|
853
977
|
const _awiki_dsh_plugin_awiki_sendMail_result$schema = z.union([z.object({
|
|
854
978
|
'ok': z.literal(false).readonly(),
|
|
855
979
|
'error': z.object({
|
|
856
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
980
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
857
981
|
'message': z.string().readonly(),
|
|
858
982
|
}).readonly(),
|
|
859
983
|
}), z.object({
|
|
@@ -871,7 +995,7 @@ const _awiki_dsh_plugin_awiki_sendRecoveryOtp_parameter_0$schema = z.object({
|
|
|
871
995
|
const _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema = z.union([z.object({
|
|
872
996
|
'ok': z.literal(false).readonly(),
|
|
873
997
|
'error': z.object({
|
|
874
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
998
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
875
999
|
'message': z.string().readonly(),
|
|
876
1000
|
}).readonly(),
|
|
877
1001
|
}), z.object({
|
|
@@ -890,7 +1014,7 @@ const _awiki_dsh_plugin_awiki_sendRegistrationOtp_parameter_0$schema = z.object(
|
|
|
890
1014
|
const _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema = z.union([z.object({
|
|
891
1015
|
'ok': z.literal(false).readonly(),
|
|
892
1016
|
'error': z.object({
|
|
893
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
1017
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
894
1018
|
'message': z.string().readonly(),
|
|
895
1019
|
}).readonly(),
|
|
896
1020
|
}), z.object({
|
|
@@ -921,7 +1045,7 @@ const _awiki_dsh_plugin_awiki_sendText_parameter_0$schema = z.object({
|
|
|
921
1045
|
const _awiki_dsh_plugin_awiki_sendText_result$schema = z.union([z.object({
|
|
922
1046
|
'ok': z.literal(false).readonly(),
|
|
923
1047
|
'error': z.object({
|
|
924
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
1048
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
925
1049
|
'message': z.string().readonly(),
|
|
926
1050
|
}).readonly(),
|
|
927
1051
|
}), z.object({
|
|
@@ -958,6 +1082,24 @@ const _awiki_dsh_plugin_awiki_sendText_result$schema = z.union([z.object({
|
|
|
958
1082
|
})]).readonly(),
|
|
959
1083
|
}).readonly(),
|
|
960
1084
|
})])
|
|
1085
|
+
const _awiki_dsh_plugin_awiki_startDeviceJoinVerification_parameter_0$schema = z.object({
|
|
1086
|
+
'requestRef': z.string().readonly(),
|
|
1087
|
+
})
|
|
1088
|
+
const _awiki_dsh_plugin_awiki_startDeviceJoinVerification_result$schema = z.union([z.object({
|
|
1089
|
+
'ok': z.literal(false).readonly(),
|
|
1090
|
+
'error': z.object({
|
|
1091
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
1092
|
+
'message': z.string().readonly(),
|
|
1093
|
+
}).readonly(),
|
|
1094
|
+
}), z.object({
|
|
1095
|
+
'ok': z.literal(true).readonly(),
|
|
1096
|
+
'value': z.object({
|
|
1097
|
+
'requestRef': z.string().readonly(),
|
|
1098
|
+
'phase': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
|
|
1099
|
+
'expiresAt': z.string().readonly(),
|
|
1100
|
+
'sas': z.string().readonly().optional(),
|
|
1101
|
+
}).readonly(),
|
|
1102
|
+
})])
|
|
961
1103
|
const _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema = z.object({
|
|
962
1104
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
963
1105
|
'unreadCountAtOpen': z.number().readonly().optional(),
|
|
@@ -965,7 +1107,7 @@ const _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema = z.objec
|
|
|
965
1107
|
const _awiki_dsh_plugin_awiki_summarizeConversation_result$schema = z.union([z.object({
|
|
966
1108
|
'ok': z.literal(false).readonly(),
|
|
967
1109
|
'error': z.object({
|
|
968
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
1110
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
969
1111
|
'message': z.string().readonly(),
|
|
970
1112
|
}).readonly(),
|
|
971
1113
|
}), z.object({
|
|
@@ -1012,14 +1154,11 @@ const _awiki_dsh_plugin_awiki_updateConversationPreference_parameter_0$schema =
|
|
|
1012
1154
|
}), z.object({
|
|
1013
1155
|
'action': z.literal("restore").readonly(),
|
|
1014
1156
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
1015
|
-
}), z.object({
|
|
1016
|
-
'action': z.literal("dismiss-group-recovery").readonly(),
|
|
1017
|
-
'signature': z.string().readonly(),
|
|
1018
1157
|
})])
|
|
1019
1158
|
const _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema = z.union([z.object({
|
|
1020
1159
|
'ok': z.literal(false).readonly(),
|
|
1021
1160
|
'error': z.object({
|
|
1022
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
1161
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
1023
1162
|
'message': z.string().readonly(),
|
|
1024
1163
|
}).readonly(),
|
|
1025
1164
|
}), z.object({
|
|
@@ -1047,7 +1186,6 @@ const _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema = z.uni
|
|
|
1047
1186
|
})]).readonly(),
|
|
1048
1187
|
'hiddenAt': z.number().readonly(),
|
|
1049
1188
|
})).readonly(),
|
|
1050
|
-
'dismissedGroupRecoverySignature': z.string().readonly().optional(),
|
|
1051
1189
|
}).readonly(),
|
|
1052
1190
|
})])
|
|
1053
1191
|
const _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema = z.object({
|
|
@@ -1056,7 +1194,7 @@ const _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema = z.object({
|
|
|
1056
1194
|
const _awiki_dsh_plugin_awiki_updateDisplayName_result$schema = z.union([z.object({
|
|
1057
1195
|
'ok': z.literal(false).readonly(),
|
|
1058
1196
|
'error': z.object({
|
|
1059
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
1197
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
1060
1198
|
'message': z.string().readonly(),
|
|
1061
1199
|
}).readonly(),
|
|
1062
1200
|
}), z.object({
|
|
@@ -1076,7 +1214,7 @@ const _awiki_dsh_plugin_awiki_updateProfile_parameter_0$schema = z.object({
|
|
|
1076
1214
|
const _awiki_dsh_plugin_awiki_updateProfile_result$schema = z.union([z.object({
|
|
1077
1215
|
'ok': z.literal(false).readonly(),
|
|
1078
1216
|
'error': z.object({
|
|
1079
|
-
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("
|
|
1217
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
1080
1218
|
'message': z.string().readonly(),
|
|
1081
1219
|
}).readonly(),
|
|
1082
1220
|
}), z.object({
|
|
@@ -1117,7 +1255,7 @@ export const TYPERT_REMOTE = {
|
|
|
1117
1255
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1118
1256
|
schema: _awiki_dsh_plugin_awiki_activateRecovery_result$schema,
|
|
1119
1257
|
},
|
|
1120
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1258
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":158,"column":9},
|
|
1121
1259
|
},
|
|
1122
1260
|
{
|
|
1123
1261
|
id: '@awiki/dsh-plugin#awiki/addGroupMember',
|
|
@@ -1142,7 +1280,62 @@ export const TYPERT_REMOTE = {
|
|
|
1142
1280
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1143
1281
|
schema: _awiki_dsh_plugin_awiki_addGroupMember_result$schema,
|
|
1144
1282
|
},
|
|
1145
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1283
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":188,"column":3},
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
id: '@awiki/dsh-plugin#awiki/approveDeviceJoin',
|
|
1287
|
+
service: 'awiki',
|
|
1288
|
+
namespace: 'awiki',
|
|
1289
|
+
method: 'approveDeviceJoin',
|
|
1290
|
+
invocation: { kind: 'direct' },
|
|
1291
|
+
parameters: [
|
|
1292
|
+
{
|
|
1293
|
+
name: 'request',
|
|
1294
|
+
wire: 'request',
|
|
1295
|
+
source: 'json',
|
|
1296
|
+
codec: {
|
|
1297
|
+
mode: 'strict',
|
|
1298
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiApproveDeviceJoinRequest',
|
|
1299
|
+
schema: _awiki_dsh_plugin_awiki_approveDeviceJoin_parameter_0$schema,
|
|
1300
|
+
},
|
|
1301
|
+
},
|
|
1302
|
+
],
|
|
1303
|
+
result: {
|
|
1304
|
+
mode: 'strict',
|
|
1305
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1306
|
+
schema: _awiki_dsh_plugin_awiki_approveDeviceJoin_result$schema,
|
|
1307
|
+
},
|
|
1308
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":128,"column":9},
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
id: '@awiki/dsh-plugin#awiki/beginDeviceJoin',
|
|
1312
|
+
service: 'awiki',
|
|
1313
|
+
namespace: 'awiki',
|
|
1314
|
+
method: 'beginDeviceJoin',
|
|
1315
|
+
invocation: { kind: 'direct' },
|
|
1316
|
+
parameters: [
|
|
1317
|
+
],
|
|
1318
|
+
result: {
|
|
1319
|
+
mode: 'strict',
|
|
1320
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1321
|
+
schema: _awiki_dsh_plugin_awiki_beginDeviceJoin_result$schema,
|
|
1322
|
+
},
|
|
1323
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":111,"column":9},
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
id: '@awiki/dsh-plugin#awiki/cancelDeviceJoin',
|
|
1327
|
+
service: 'awiki',
|
|
1328
|
+
namespace: 'awiki',
|
|
1329
|
+
method: 'cancelDeviceJoin',
|
|
1330
|
+
invocation: { kind: 'direct' },
|
|
1331
|
+
parameters: [
|
|
1332
|
+
],
|
|
1333
|
+
result: {
|
|
1334
|
+
mode: 'strict',
|
|
1335
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1336
|
+
schema: _awiki_dsh_plugin_awiki_cancelDeviceJoin_result$schema,
|
|
1337
|
+
},
|
|
1338
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":117,"column":9},
|
|
1146
1339
|
},
|
|
1147
1340
|
{
|
|
1148
1341
|
id: '@awiki/dsh-plugin#awiki/clearLocalData',
|
|
@@ -1167,7 +1360,7 @@ export const TYPERT_REMOTE = {
|
|
|
1167
1360
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1168
1361
|
schema: _awiki_dsh_plugin_awiki_clearLocalData_result$schema,
|
|
1169
1362
|
},
|
|
1170
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1363
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":243,"column":3},
|
|
1171
1364
|
},
|
|
1172
1365
|
{
|
|
1173
1366
|
id: '@awiki/dsh-plugin#awiki/createGroup',
|
|
@@ -1192,7 +1385,7 @@ export const TYPERT_REMOTE = {
|
|
|
1192
1385
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1193
1386
|
schema: _awiki_dsh_plugin_awiki_createGroup_result$schema,
|
|
1194
1387
|
},
|
|
1195
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1388
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":173,"column":9},
|
|
1196
1389
|
},
|
|
1197
1390
|
{
|
|
1198
1391
|
id: '@awiki/dsh-plugin#awiki/discardRecovery',
|
|
@@ -1217,7 +1410,7 @@ export const TYPERT_REMOTE = {
|
|
|
1217
1410
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1218
1411
|
schema: _awiki_dsh_plugin_awiki_discardRecovery_result$schema,
|
|
1219
1412
|
},
|
|
1220
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1413
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":167,"column":9},
|
|
1221
1414
|
},
|
|
1222
1415
|
{
|
|
1223
1416
|
id: '@awiki/dsh-plugin#awiki/downloadAttachment',
|
|
@@ -1242,7 +1435,7 @@ export const TYPERT_REMOTE = {
|
|
|
1242
1435
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1243
1436
|
schema: _awiki_dsh_plugin_awiki_downloadAttachment_result$schema,
|
|
1244
1437
|
},
|
|
1245
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1438
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":225,"column":9},
|
|
1246
1439
|
},
|
|
1247
1440
|
{
|
|
1248
1441
|
id: '@awiki/dsh-plugin#awiki/getConfig',
|
|
@@ -1257,7 +1450,7 @@ export const TYPERT_REMOTE = {
|
|
|
1257
1450
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1258
1451
|
schema: _awiki_dsh_plugin_awiki_getConfig_result$schema,
|
|
1259
1452
|
},
|
|
1260
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1453
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":85,"column":9},
|
|
1261
1454
|
},
|
|
1262
1455
|
{
|
|
1263
1456
|
id: '@awiki/dsh-plugin#awiki/getConversationPreferences',
|
|
@@ -1272,7 +1465,22 @@ export const TYPERT_REMOTE = {
|
|
|
1272
1465
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1273
1466
|
schema: _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema,
|
|
1274
1467
|
},
|
|
1275
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1468
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":194,"column":3},
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
id: '@awiki/dsh-plugin#awiki/getDeviceJoinStatus',
|
|
1472
|
+
service: 'awiki',
|
|
1473
|
+
namespace: 'awiki',
|
|
1474
|
+
method: 'getDeviceJoinStatus',
|
|
1475
|
+
invocation: { kind: 'direct' },
|
|
1476
|
+
parameters: [
|
|
1477
|
+
],
|
|
1478
|
+
result: {
|
|
1479
|
+
mode: 'strict',
|
|
1480
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1481
|
+
schema: _awiki_dsh_plugin_awiki_getDeviceJoinStatus_result$schema,
|
|
1482
|
+
},
|
|
1483
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":114,"column":9},
|
|
1276
1484
|
},
|
|
1277
1485
|
{
|
|
1278
1486
|
id: '@awiki/dsh-plugin#awiki/getGroup',
|
|
@@ -1297,7 +1505,7 @@ export const TYPERT_REMOTE = {
|
|
|
1297
1505
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1298
1506
|
schema: _awiki_dsh_plugin_awiki_getGroup_result$schema,
|
|
1299
1507
|
},
|
|
1300
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1508
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":176,"column":3},
|
|
1301
1509
|
},
|
|
1302
1510
|
{
|
|
1303
1511
|
id: '@awiki/dsh-plugin#awiki/getHistory',
|
|
@@ -1322,7 +1530,7 @@ export const TYPERT_REMOTE = {
|
|
|
1322
1530
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1323
1531
|
schema: _awiki_dsh_plugin_awiki_getHistory_result$schema,
|
|
1324
1532
|
},
|
|
1325
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1533
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":205,"column":3},
|
|
1326
1534
|
},
|
|
1327
1535
|
{
|
|
1328
1536
|
id: '@awiki/dsh-plugin#awiki/getIdentity',
|
|
@@ -1337,7 +1545,7 @@ export const TYPERT_REMOTE = {
|
|
|
1337
1545
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1338
1546
|
schema: _awiki_dsh_plugin_awiki_getIdentity_result$schema,
|
|
1339
1547
|
},
|
|
1340
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1548
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":88,"column":9},
|
|
1341
1549
|
},
|
|
1342
1550
|
{
|
|
1343
1551
|
id: '@awiki/dsh-plugin#awiki/getLocalHistory',
|
|
@@ -1362,7 +1570,7 @@ export const TYPERT_REMOTE = {
|
|
|
1362
1570
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1363
1571
|
schema: _awiki_dsh_plugin_awiki_getLocalHistory_result$schema,
|
|
1364
1572
|
},
|
|
1365
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1573
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":208,"column":3},
|
|
1366
1574
|
},
|
|
1367
1575
|
{
|
|
1368
1576
|
id: '@awiki/dsh-plugin#awiki/getMailAccount',
|
|
@@ -1377,7 +1585,7 @@ export const TYPERT_REMOTE = {
|
|
|
1377
1585
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1378
1586
|
schema: _awiki_dsh_plugin_awiki_getMailAccount_result$schema,
|
|
1379
1587
|
},
|
|
1380
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1588
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":228,"column":3},
|
|
1381
1589
|
},
|
|
1382
1590
|
{
|
|
1383
1591
|
id: '@awiki/dsh-plugin#awiki/getProfile',
|
|
@@ -1392,7 +1600,7 @@ export const TYPERT_REMOTE = {
|
|
|
1392
1600
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1393
1601
|
schema: _awiki_dsh_plugin_awiki_getProfile_result$schema,
|
|
1394
1602
|
},
|
|
1395
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1603
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":146,"column":3},
|
|
1396
1604
|
},
|
|
1397
1605
|
{
|
|
1398
1606
|
id: '@awiki/dsh-plugin#awiki/getRecoveryStatus',
|
|
@@ -1417,7 +1625,7 @@ export const TYPERT_REMOTE = {
|
|
|
1417
1625
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1418
1626
|
schema: _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema,
|
|
1419
1627
|
},
|
|
1420
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1628
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":161,"column":9},
|
|
1421
1629
|
},
|
|
1422
1630
|
{
|
|
1423
1631
|
id: '@awiki/dsh-plugin#awiki/getSession',
|
|
@@ -1432,7 +1640,7 @@ export const TYPERT_REMOTE = {
|
|
|
1432
1640
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1433
1641
|
schema: _awiki_dsh_plugin_awiki_getSession_result$schema,
|
|
1434
1642
|
},
|
|
1435
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1643
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":91,"column":9},
|
|
1436
1644
|
},
|
|
1437
1645
|
{
|
|
1438
1646
|
id: '@awiki/dsh-plugin#awiki/inspectIdentityAccess',
|
|
@@ -1457,7 +1665,7 @@ export const TYPERT_REMOTE = {
|
|
|
1457
1665
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1458
1666
|
schema: _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema,
|
|
1459
1667
|
},
|
|
1460
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1668
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":100,"column":9},
|
|
1461
1669
|
},
|
|
1462
1670
|
{
|
|
1463
1671
|
id: '@awiki/dsh-plugin#awiki/joinGroup',
|
|
@@ -1482,7 +1690,7 @@ export const TYPERT_REMOTE = {
|
|
|
1482
1690
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1483
1691
|
schema: _awiki_dsh_plugin_awiki_joinGroup_result$schema,
|
|
1484
1692
|
},
|
|
1485
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1693
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":179,"column":3},
|
|
1486
1694
|
},
|
|
1487
1695
|
{
|
|
1488
1696
|
id: '@awiki/dsh-plugin#awiki/leaveGroup',
|
|
@@ -1507,7 +1715,7 @@ export const TYPERT_REMOTE = {
|
|
|
1507
1715
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1508
1716
|
schema: _awiki_dsh_plugin_awiki_leaveGroup_result$schema,
|
|
1509
1717
|
},
|
|
1510
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1718
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":182,"column":9},
|
|
1511
1719
|
},
|
|
1512
1720
|
{
|
|
1513
1721
|
id: '@awiki/dsh-plugin#awiki/listConversations',
|
|
@@ -1533,7 +1741,7 @@ export const TYPERT_REMOTE = {
|
|
|
1533
1741
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1534
1742
|
schema: _awiki_dsh_plugin_awiki_listConversations_result$schema,
|
|
1535
1743
|
},
|
|
1536
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1744
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":202,"column":3},
|
|
1537
1745
|
},
|
|
1538
1746
|
{
|
|
1539
1747
|
id: '@awiki/dsh-plugin#awiki/listGroupMembers',
|
|
@@ -1558,7 +1766,7 @@ export const TYPERT_REMOTE = {
|
|
|
1558
1766
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1559
1767
|
schema: _awiki_dsh_plugin_awiki_listGroupMembers_result$schema,
|
|
1560
1768
|
},
|
|
1561
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1769
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":185,"column":3},
|
|
1562
1770
|
},
|
|
1563
1771
|
{
|
|
1564
1772
|
id: '@awiki/dsh-plugin#awiki/listMailInbox',
|
|
@@ -1584,7 +1792,7 @@ export const TYPERT_REMOTE = {
|
|
|
1584
1792
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1585
1793
|
schema: _awiki_dsh_plugin_awiki_listMailInbox_result$schema,
|
|
1586
1794
|
},
|
|
1587
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1795
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":231,"column":9},
|
|
1588
1796
|
},
|
|
1589
1797
|
{
|
|
1590
1798
|
id: '@awiki/dsh-plugin#awiki/login',
|
|
@@ -1599,7 +1807,7 @@ export const TYPERT_REMOTE = {
|
|
|
1599
1807
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1600
1808
|
schema: _awiki_dsh_plugin_awiki_login_result$schema,
|
|
1601
1809
|
},
|
|
1602
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1810
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":97,"column":3},
|
|
1603
1811
|
},
|
|
1604
1812
|
{
|
|
1605
1813
|
id: '@awiki/dsh-plugin#awiki/logout',
|
|
@@ -1624,7 +1832,7 @@ export const TYPERT_REMOTE = {
|
|
|
1624
1832
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1625
1833
|
schema: _awiki_dsh_plugin_awiki_logout_result$schema,
|
|
1626
1834
|
},
|
|
1627
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1835
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":94,"column":3},
|
|
1628
1836
|
},
|
|
1629
1837
|
{
|
|
1630
1838
|
id: '@awiki/dsh-plugin#awiki/markConversationRead',
|
|
@@ -1649,7 +1857,7 @@ export const TYPERT_REMOTE = {
|
|
|
1649
1857
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1650
1858
|
schema: _awiki_dsh_plugin_awiki_markConversationRead_result$schema,
|
|
1651
1859
|
},
|
|
1652
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1860
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":216,"column":3},
|
|
1653
1861
|
},
|
|
1654
1862
|
{
|
|
1655
1863
|
id: '@awiki/dsh-plugin#awiki/markMailRead',
|
|
@@ -1674,7 +1882,7 @@ export const TYPERT_REMOTE = {
|
|
|
1674
1882
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1675
1883
|
schema: _awiki_dsh_plugin_awiki_markMailRead_result$schema,
|
|
1676
1884
|
},
|
|
1677
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1885
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":237,"column":3},
|
|
1678
1886
|
},
|
|
1679
1887
|
{
|
|
1680
1888
|
id: '@awiki/dsh-plugin#awiki/prepareRecovery',
|
|
@@ -1699,7 +1907,7 @@ export const TYPERT_REMOTE = {
|
|
|
1699
1907
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1700
1908
|
schema: _awiki_dsh_plugin_awiki_prepareRecovery_result$schema,
|
|
1701
1909
|
},
|
|
1702
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1910
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":155,"column":3},
|
|
1703
1911
|
},
|
|
1704
1912
|
{
|
|
1705
1913
|
id: '@awiki/dsh-plugin#awiki/readMail',
|
|
@@ -1724,7 +1932,22 @@ export const TYPERT_REMOTE = {
|
|
|
1724
1932
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1725
1933
|
schema: _awiki_dsh_plugin_awiki_readMail_result$schema,
|
|
1726
1934
|
},
|
|
1727
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1935
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":234,"column":9},
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
id: '@awiki/dsh-plugin#awiki/refreshDeviceManagement',
|
|
1939
|
+
service: 'awiki',
|
|
1940
|
+
namespace: 'awiki',
|
|
1941
|
+
method: 'refreshDeviceManagement',
|
|
1942
|
+
invocation: { kind: 'direct' },
|
|
1943
|
+
parameters: [
|
|
1944
|
+
],
|
|
1945
|
+
result: {
|
|
1946
|
+
mode: 'strict',
|
|
1947
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1948
|
+
schema: _awiki_dsh_plugin_awiki_refreshDeviceManagement_result$schema,
|
|
1949
|
+
},
|
|
1950
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":120,"column":3},
|
|
1728
1951
|
},
|
|
1729
1952
|
{
|
|
1730
1953
|
id: '@awiki/dsh-plugin#awiki/registerIdentity',
|
|
@@ -1749,7 +1972,32 @@ export const TYPERT_REMOTE = {
|
|
|
1749
1972
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1750
1973
|
schema: _awiki_dsh_plugin_awiki_registerIdentity_result$schema,
|
|
1751
1974
|
},
|
|
1752
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1975
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":108,"column":9},
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
id: '@awiki/dsh-plugin#awiki/rejectDeviceJoin',
|
|
1979
|
+
service: 'awiki',
|
|
1980
|
+
namespace: 'awiki',
|
|
1981
|
+
method: 'rejectDeviceJoin',
|
|
1982
|
+
invocation: { kind: 'direct' },
|
|
1983
|
+
parameters: [
|
|
1984
|
+
{
|
|
1985
|
+
name: 'request',
|
|
1986
|
+
wire: 'request',
|
|
1987
|
+
source: 'json',
|
|
1988
|
+
codec: {
|
|
1989
|
+
mode: 'strict',
|
|
1990
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiRejectDeviceJoinRequest',
|
|
1991
|
+
schema: _awiki_dsh_plugin_awiki_rejectDeviceJoin_parameter_0$schema,
|
|
1992
|
+
},
|
|
1993
|
+
},
|
|
1994
|
+
],
|
|
1995
|
+
result: {
|
|
1996
|
+
mode: 'strict',
|
|
1997
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1998
|
+
schema: _awiki_dsh_plugin_awiki_rejectDeviceJoin_result$schema,
|
|
1999
|
+
},
|
|
2000
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":133,"column":9},
|
|
1753
2001
|
},
|
|
1754
2002
|
{
|
|
1755
2003
|
id: '@awiki/dsh-plugin#awiki/removeGroupMember',
|
|
@@ -1774,7 +2022,7 @@ export const TYPERT_REMOTE = {
|
|
|
1774
2022
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1775
2023
|
schema: _awiki_dsh_plugin_awiki_removeGroupMember_result$schema,
|
|
1776
2024
|
},
|
|
1777
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2025
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":191,"column":3},
|
|
1778
2026
|
},
|
|
1779
2027
|
{
|
|
1780
2028
|
id: '@awiki/dsh-plugin#awiki/resolvePeer',
|
|
@@ -1799,28 +2047,38 @@ export const TYPERT_REMOTE = {
|
|
|
1799
2047
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1800
2048
|
schema: _awiki_dsh_plugin_awiki_resolvePeer_result$schema,
|
|
1801
2049
|
},
|
|
1802
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2050
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":170,"column":3},
|
|
1803
2051
|
},
|
|
1804
2052
|
{
|
|
1805
|
-
id: '@awiki/dsh-plugin#awiki/
|
|
2053
|
+
id: '@awiki/dsh-plugin#awiki/resumeRecovery',
|
|
1806
2054
|
service: 'awiki',
|
|
1807
2055
|
namespace: 'awiki',
|
|
1808
|
-
method: '
|
|
2056
|
+
method: 'resumeRecovery',
|
|
1809
2057
|
invocation: { kind: 'direct' },
|
|
1810
2058
|
parameters: [
|
|
2059
|
+
{
|
|
2060
|
+
name: 'request',
|
|
2061
|
+
wire: 'request',
|
|
2062
|
+
source: 'json',
|
|
2063
|
+
codec: {
|
|
2064
|
+
mode: 'strict',
|
|
2065
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryOperationRequest',
|
|
2066
|
+
schema: _awiki_dsh_plugin_awiki_resumeRecovery_parameter_0$schema,
|
|
2067
|
+
},
|
|
2068
|
+
},
|
|
1811
2069
|
],
|
|
1812
2070
|
result: {
|
|
1813
2071
|
mode: 'strict',
|
|
1814
2072
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1815
|
-
schema:
|
|
2073
|
+
schema: _awiki_dsh_plugin_awiki_resumeRecovery_result$schema,
|
|
1816
2074
|
},
|
|
1817
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2075
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":164,"column":9},
|
|
1818
2076
|
},
|
|
1819
2077
|
{
|
|
1820
|
-
id: '@awiki/dsh-plugin#awiki/
|
|
2078
|
+
id: '@awiki/dsh-plugin#awiki/revokeDevice',
|
|
1821
2079
|
service: 'awiki',
|
|
1822
2080
|
namespace: 'awiki',
|
|
1823
|
-
method: '
|
|
2081
|
+
method: 'revokeDevice',
|
|
1824
2082
|
invocation: { kind: 'direct' },
|
|
1825
2083
|
parameters: [
|
|
1826
2084
|
{
|
|
@@ -1829,17 +2087,17 @@ export const TYPERT_REMOTE = {
|
|
|
1829
2087
|
source: 'json',
|
|
1830
2088
|
codec: {
|
|
1831
2089
|
mode: 'strict',
|
|
1832
|
-
typeSymbol: '@awiki/dsh-plugin/types#
|
|
1833
|
-
schema:
|
|
2090
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiRevokeDeviceRequest',
|
|
2091
|
+
schema: _awiki_dsh_plugin_awiki_revokeDevice_parameter_0$schema,
|
|
1834
2092
|
},
|
|
1835
2093
|
},
|
|
1836
2094
|
],
|
|
1837
2095
|
result: {
|
|
1838
2096
|
mode: 'strict',
|
|
1839
2097
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1840
|
-
schema:
|
|
2098
|
+
schema: _awiki_dsh_plugin_awiki_revokeDevice_result$schema,
|
|
1841
2099
|
},
|
|
1842
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2100
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":138,"column":9},
|
|
1843
2101
|
},
|
|
1844
2102
|
{
|
|
1845
2103
|
id: '@awiki/dsh-plugin#awiki/sendAttachment',
|
|
@@ -1864,7 +2122,7 @@ export const TYPERT_REMOTE = {
|
|
|
1864
2122
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1865
2123
|
schema: _awiki_dsh_plugin_awiki_sendAttachment_result$schema,
|
|
1866
2124
|
},
|
|
1867
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2125
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":222,"column":9},
|
|
1868
2126
|
},
|
|
1869
2127
|
{
|
|
1870
2128
|
id: '@awiki/dsh-plugin#awiki/sendMail',
|
|
@@ -1889,7 +2147,7 @@ export const TYPERT_REMOTE = {
|
|
|
1889
2147
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1890
2148
|
schema: _awiki_dsh_plugin_awiki_sendMail_result$schema,
|
|
1891
2149
|
},
|
|
1892
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2150
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":240,"column":9},
|
|
1893
2151
|
},
|
|
1894
2152
|
{
|
|
1895
2153
|
id: '@awiki/dsh-plugin#awiki/sendRecoveryOtp',
|
|
@@ -1914,7 +2172,7 @@ export const TYPERT_REMOTE = {
|
|
|
1914
2172
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1915
2173
|
schema: _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema,
|
|
1916
2174
|
},
|
|
1917
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2175
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":152,"column":3},
|
|
1918
2176
|
},
|
|
1919
2177
|
{
|
|
1920
2178
|
id: '@awiki/dsh-plugin#awiki/sendRegistrationOtp',
|
|
@@ -1939,7 +2197,7 @@ export const TYPERT_REMOTE = {
|
|
|
1939
2197
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1940
2198
|
schema: _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema,
|
|
1941
2199
|
},
|
|
1942
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2200
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":105,"column":9},
|
|
1943
2201
|
},
|
|
1944
2202
|
{
|
|
1945
2203
|
id: '@awiki/dsh-plugin#awiki/sendText',
|
|
@@ -1964,7 +2222,32 @@ export const TYPERT_REMOTE = {
|
|
|
1964
2222
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1965
2223
|
schema: _awiki_dsh_plugin_awiki_sendText_result$schema,
|
|
1966
2224
|
},
|
|
1967
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2225
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":219,"column":3},
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
id: '@awiki/dsh-plugin#awiki/startDeviceJoinVerification',
|
|
2229
|
+
service: 'awiki',
|
|
2230
|
+
namespace: 'awiki',
|
|
2231
|
+
method: 'startDeviceJoinVerification',
|
|
2232
|
+
invocation: { kind: 'direct' },
|
|
2233
|
+
parameters: [
|
|
2234
|
+
{
|
|
2235
|
+
name: 'request',
|
|
2236
|
+
wire: 'request',
|
|
2237
|
+
source: 'json',
|
|
2238
|
+
codec: {
|
|
2239
|
+
mode: 'strict',
|
|
2240
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiRequestRefInput',
|
|
2241
|
+
schema: _awiki_dsh_plugin_awiki_startDeviceJoinVerification_parameter_0$schema,
|
|
2242
|
+
},
|
|
2243
|
+
},
|
|
2244
|
+
],
|
|
2245
|
+
result: {
|
|
2246
|
+
mode: 'strict',
|
|
2247
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
2248
|
+
schema: _awiki_dsh_plugin_awiki_startDeviceJoinVerification_result$schema,
|
|
2249
|
+
},
|
|
2250
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":123,"column":9},
|
|
1968
2251
|
},
|
|
1969
2252
|
{
|
|
1970
2253
|
id: '@awiki/dsh-plugin#awiki/summarizeConversation',
|
|
@@ -1989,7 +2272,7 @@ export const TYPERT_REMOTE = {
|
|
|
1989
2272
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1990
2273
|
schema: _awiki_dsh_plugin_awiki_summarizeConversation_result$schema,
|
|
1991
2274
|
},
|
|
1992
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2275
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":211,"column":9},
|
|
1993
2276
|
},
|
|
1994
2277
|
{
|
|
1995
2278
|
id: '@awiki/dsh-plugin#awiki/updateConversationPreference',
|
|
@@ -2014,7 +2297,7 @@ export const TYPERT_REMOTE = {
|
|
|
2014
2297
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
2015
2298
|
schema: _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema,
|
|
2016
2299
|
},
|
|
2017
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2300
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":197,"column":3},
|
|
2018
2301
|
},
|
|
2019
2302
|
{
|
|
2020
2303
|
id: '@awiki/dsh-plugin#awiki/updateDisplayName',
|
|
@@ -2039,7 +2322,7 @@ export const TYPERT_REMOTE = {
|
|
|
2039
2322
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
2040
2323
|
schema: _awiki_dsh_plugin_awiki_updateDisplayName_result$schema,
|
|
2041
2324
|
},
|
|
2042
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2325
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":143,"column":9},
|
|
2043
2326
|
},
|
|
2044
2327
|
{
|
|
2045
2328
|
id: '@awiki/dsh-plugin#awiki/updateProfile',
|
|
@@ -2064,7 +2347,7 @@ export const TYPERT_REMOTE = {
|
|
|
2064
2347
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
2065
2348
|
schema: _awiki_dsh_plugin_awiki_updateProfile_result$schema,
|
|
2066
2349
|
},
|
|
2067
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2350
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":149,"column":3},
|
|
2068
2351
|
},
|
|
2069
2352
|
],
|
|
2070
2353
|
}
|