@awiki/dsh-plugin 0.3.6 → 0.3.7-dsh-test.20260831.2
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 +58 -60
- package/README.zh.md +45 -51
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/cordis.patch.yml +7 -8
- package/lib/client.js +1389 -1152
- package/lib/client.js.map +1 -1
- package/lib/index.js +1084 -792
- package/lib/provider.js +70 -17
- package/lib/{sdk-adapter--trNlr-T.mjs → sdk-adapter-FGaOi8It.mjs} +168 -84
- package/lib/typert.host.js +406 -178
- package/lib/typert.remote-client.d.ts +19 -7
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +406 -178
- 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/AwikiMail.d.ts +1 -1
- package/lib/types/client/AwikiMail.d.ts.map +1 -1
- package/lib/types/client/AwikiMail.js +6 -130
- package/lib/types/client/AwikiMail.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 -34
- package/lib/types/client/controller.d.ts.map +1 -1
- package/lib/types/client/controller.js +56 -203
- 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 -4
- package/lib/types/client/index.js.map +1 -1
- package/lib/types/client/settings-locales.js +8 -8
- package/lib/types/client/settings-locales.js.map +1 -1
- package/lib/types/client/slots.d.ts +10 -10
- 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 +59 -30
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +804 -462
- 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/mail.d.ts +2 -28
- package/lib/types/mail.d.ts.map +1 -1
- package/lib/types/mail.js +2 -78
- package/lib/types/mail.js.map +1 -1
- package/lib/types/provider-api.d.ts +102 -38
- package/lib/types/provider-api.d.ts.map +1 -1
- package/lib/types/provider.d.ts +8 -2
- package/lib/types/provider.d.ts.map +1 -1
- package/lib/types/provider.js +73 -16
- 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 +32 -7
- package/lib/types/sdk-adapter.d.ts.map +1 -1
- package/lib/types/sdk-adapter.js +163 -104
- package/lib/types/sdk-adapter.js.map +1 -1
- package/lib/types/sent-mail-store.d.ts +2 -7
- package/lib/types/sent-mail-store.d.ts.map +1 -1
- package/lib/types/sent-mail-store.js +23 -125
- package/lib/types/sent-mail-store.js.map +1 -1
- package/lib/types/tools.d.ts +1 -1
- package/lib/types/tools.d.ts.map +1 -1
- package/lib/types/tools.js +4 -20
- package/lib/types/tools.js.map +1 -1
- package/lib/types/types.d.ts +77 -66
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types/types.js.map +1 -1
- package/package.json +20 -15
- package/lib/types/client/mail-attachment.d.ts +0 -40
- package/lib/types/client/mail-attachment.d.ts.map +0 -1
- package/lib/types/client/mail-attachment.js +0 -186
- package/lib/types/client/mail-attachment.js.map +0 -1
- package/lib/types/profile-state.d.ts +0 -17
- package/lib/types/profile-state.d.ts.map +0 -1
- package/lib/types/profile-state.js +0 -58
- 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({
|
|
@@ -132,49 +177,24 @@ const _awiki_dsh_plugin_awiki_downloadAttachment_result$schema = z.union([z.obje
|
|
|
132
177
|
'bytesBase64': z.string().readonly(),
|
|
133
178
|
}).readonly(),
|
|
134
179
|
})])
|
|
135
|
-
const _awiki_dsh_plugin_awiki_downloadMailAttachment_parameter_0$schema = z.object({
|
|
136
|
-
'localMessageId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
137
|
-
'attachmentIndex': z.number().readonly(),
|
|
138
|
-
})
|
|
139
|
-
const _awiki_dsh_plugin_awiki_downloadMailAttachment_result$schema = z.union([z.object({
|
|
140
|
-
'ok': z.literal(false).readonly(),
|
|
141
|
-
'error': z.object({
|
|
142
|
-
'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(),
|
|
143
|
-
'message': z.string().readonly(),
|
|
144
|
-
}).readonly(),
|
|
145
|
-
}), z.object({
|
|
146
|
-
'ok': z.literal(true).readonly(),
|
|
147
|
-
'value': z.object({
|
|
148
|
-
'fileName': z.string().readonly(),
|
|
149
|
-
'contentType': z.string().readonly(),
|
|
150
|
-
'sizeBytes': z.number().readonly(),
|
|
151
|
-
'sha256': z.string().readonly(),
|
|
152
|
-
'bytesBase64': z.string().readonly(),
|
|
153
|
-
}).readonly(),
|
|
154
|
-
})])
|
|
155
180
|
const _awiki_dsh_plugin_awiki_getConfig_result$schema = z.union([z.object({
|
|
156
181
|
'ok': z.literal(false).readonly(),
|
|
157
182
|
'error': z.object({
|
|
158
|
-
'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(),
|
|
159
184
|
'message': z.string().readonly(),
|
|
160
185
|
}).readonly(),
|
|
161
186
|
}), z.object({
|
|
162
187
|
'ok': z.literal(true).readonly(),
|
|
163
188
|
'value': z.object({
|
|
164
|
-
'tenantDomain': z.string().readonly(),
|
|
165
189
|
'pollIntervalMs': z.number().readonly(),
|
|
166
190
|
'attachmentMaxBytes': z.number().readonly(),
|
|
167
|
-
'
|
|
168
|
-
'mailAttachmentMaxBytes': z.number().readonly(),
|
|
169
|
-
'mailAttachmentTotalMaxBytes': z.number().readonly(),
|
|
170
|
-
'profileName': z.string().readonly().optional(),
|
|
171
|
-
'legacySharedStateDetected': z.boolean().readonly().optional(),
|
|
191
|
+
'handleRecoveryPhoneEnabled': z.boolean().readonly(),
|
|
172
192
|
}).readonly(),
|
|
173
193
|
})])
|
|
174
194
|
const _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema = z.union([z.object({
|
|
175
195
|
'ok': z.literal(false).readonly(),
|
|
176
196
|
'error': z.object({
|
|
177
|
-
'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(),
|
|
178
198
|
'message': z.string().readonly(),
|
|
179
199
|
}).readonly(),
|
|
180
200
|
}), z.object({
|
|
@@ -202,16 +222,30 @@ const _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema = z.union
|
|
|
202
222
|
})]).readonly(),
|
|
203
223
|
'hiddenAt': z.number().readonly(),
|
|
204
224
|
})).readonly(),
|
|
205
|
-
'dismissedGroupRecoverySignature': z.string().readonly().optional(),
|
|
206
225
|
}).readonly(),
|
|
207
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
|
+
})])
|
|
208
242
|
const _awiki_dsh_plugin_awiki_getGroup_parameter_0$schema = z.object({
|
|
209
243
|
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
210
244
|
})
|
|
211
245
|
const _awiki_dsh_plugin_awiki_getGroup_result$schema = z.union([z.object({
|
|
212
246
|
'ok': z.literal(false).readonly(),
|
|
213
247
|
'error': z.object({
|
|
214
|
-
'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(),
|
|
215
249
|
'message': z.string().readonly(),
|
|
216
250
|
}).readonly(),
|
|
217
251
|
}), z.object({
|
|
@@ -234,7 +268,7 @@ const _awiki_dsh_plugin_awiki_getHistory_parameter_0$schema = z.object({
|
|
|
234
268
|
const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
|
|
235
269
|
'ok': z.literal(false).readonly(),
|
|
236
270
|
'error': z.object({
|
|
237
|
-
'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(),
|
|
238
272
|
'message': z.string().readonly(),
|
|
239
273
|
}).readonly(),
|
|
240
274
|
}), z.object({
|
|
@@ -278,7 +312,7 @@ const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
|
|
|
278
312
|
const _awiki_dsh_plugin_awiki_getIdentity_result$schema = z.union([z.object({
|
|
279
313
|
'ok': z.literal(false).readonly(),
|
|
280
314
|
'error': z.object({
|
|
281
|
-
'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(),
|
|
282
316
|
'message': z.string().readonly(),
|
|
283
317
|
}).readonly(),
|
|
284
318
|
}), z.object({
|
|
@@ -298,7 +332,7 @@ const _awiki_dsh_plugin_awiki_getLocalHistory_parameter_0$schema = z.object({
|
|
|
298
332
|
const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object({
|
|
299
333
|
'ok': z.literal(false).readonly(),
|
|
300
334
|
'error': z.object({
|
|
301
|
-
'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(),
|
|
302
336
|
'message': z.string().readonly(),
|
|
303
337
|
}).readonly(),
|
|
304
338
|
}), z.object({
|
|
@@ -342,7 +376,7 @@ const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object(
|
|
|
342
376
|
const _awiki_dsh_plugin_awiki_getMailAccount_result$schema = z.union([z.object({
|
|
343
377
|
'ok': z.literal(false).readonly(),
|
|
344
378
|
'error': z.object({
|
|
345
|
-
'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(),
|
|
346
380
|
'message': z.string().readonly(),
|
|
347
381
|
}).readonly(),
|
|
348
382
|
}), z.object({
|
|
@@ -356,7 +390,7 @@ const _awiki_dsh_plugin_awiki_getMailAccount_result$schema = z.union([z.object({
|
|
|
356
390
|
const _awiki_dsh_plugin_awiki_getProfile_result$schema = z.union([z.object({
|
|
357
391
|
'ok': z.literal(false).readonly(),
|
|
358
392
|
'error': z.object({
|
|
359
|
-
'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(),
|
|
360
394
|
'message': z.string().readonly(),
|
|
361
395
|
}).readonly(),
|
|
362
396
|
}), z.object({
|
|
@@ -376,7 +410,7 @@ const _awiki_dsh_plugin_awiki_getRecoveryStatus_parameter_0$schema = z.object({
|
|
|
376
410
|
const _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema = z.union([z.object({
|
|
377
411
|
'ok': z.literal(false).readonly(),
|
|
378
412
|
'error': z.object({
|
|
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("
|
|
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(),
|
|
380
414
|
'message': z.string().readonly(),
|
|
381
415
|
}).readonly(),
|
|
382
416
|
}), z.object({
|
|
@@ -391,14 +425,12 @@ const _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema = z.union([z.objec
|
|
|
391
425
|
'retryable': z.boolean().readonly(),
|
|
392
426
|
'localOrdinaryDataWillMigrate': z.boolean().readonly(),
|
|
393
427
|
'otherDevicesMustRejoin': z.boolean().readonly(),
|
|
394
|
-
'unsupportedE2eeGroupCount': z.number().readonly(),
|
|
395
|
-
'unsupportedDidOnlyGroupCount': z.number().readonly(),
|
|
396
428
|
}).readonly(),
|
|
397
429
|
})])
|
|
398
430
|
const _awiki_dsh_plugin_awiki_getSession_result$schema = z.union([z.object({
|
|
399
431
|
'ok': z.literal(false).readonly(),
|
|
400
432
|
'error': z.object({
|
|
401
|
-
'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(),
|
|
402
434
|
'message': z.string().readonly(),
|
|
403
435
|
}).readonly(),
|
|
404
436
|
}), z.object({
|
|
@@ -423,7 +455,7 @@ const _awiki_dsh_plugin_awiki_inspectIdentityAccess_parameter_0$schema = z.objec
|
|
|
423
455
|
const _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema = z.union([z.object({
|
|
424
456
|
'ok': z.literal(false).readonly(),
|
|
425
457
|
'error': z.object({
|
|
426
|
-
'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(),
|
|
427
459
|
'message': z.string().readonly(),
|
|
428
460
|
}).readonly(),
|
|
429
461
|
}), z.object({
|
|
@@ -439,7 +471,7 @@ const _awiki_dsh_plugin_awiki_joinGroup_parameter_0$schema = z.object({
|
|
|
439
471
|
const _awiki_dsh_plugin_awiki_joinGroup_result$schema = z.union([z.object({
|
|
440
472
|
'ok': z.literal(false).readonly(),
|
|
441
473
|
'error': z.object({
|
|
442
|
-
'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(),
|
|
443
475
|
'message': z.string().readonly(),
|
|
444
476
|
}).readonly(),
|
|
445
477
|
}), z.object({
|
|
@@ -460,7 +492,7 @@ const _awiki_dsh_plugin_awiki_leaveGroup_parameter_0$schema = z.object({
|
|
|
460
492
|
const _awiki_dsh_plugin_awiki_leaveGroup_result$schema = z.union([z.object({
|
|
461
493
|
'ok': z.literal(false).readonly(),
|
|
462
494
|
'error': z.object({
|
|
463
|
-
'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(),
|
|
464
496
|
'message': z.string().readonly(),
|
|
465
497
|
}).readonly(),
|
|
466
498
|
}), z.object({
|
|
@@ -476,7 +508,7 @@ const _awiki_dsh_plugin_awiki_listConversations_parameter_0$schema = z.union([z.
|
|
|
476
508
|
const _awiki_dsh_plugin_awiki_listConversations_result$schema = z.union([z.object({
|
|
477
509
|
'ok': z.literal(false).readonly(),
|
|
478
510
|
'error': z.object({
|
|
479
|
-
'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(),
|
|
480
512
|
'message': z.string().readonly(),
|
|
481
513
|
}).readonly(),
|
|
482
514
|
}), z.object({
|
|
@@ -513,7 +545,7 @@ const _awiki_dsh_plugin_awiki_listGroupMembers_parameter_0$schema = z.object({
|
|
|
513
545
|
const _awiki_dsh_plugin_awiki_listGroupMembers_result$schema = z.union([z.object({
|
|
514
546
|
'ok': z.literal(false).readonly(),
|
|
515
547
|
'error': z.object({
|
|
516
|
-
'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(),
|
|
517
549
|
'message': z.string().readonly(),
|
|
518
550
|
}).readonly(),
|
|
519
551
|
}), z.object({
|
|
@@ -548,7 +580,7 @@ const _awiki_dsh_plugin_awiki_listMailInbox_parameter_0$schema = z.union([z.unde
|
|
|
548
580
|
const _awiki_dsh_plugin_awiki_listMailInbox_result$schema = z.union([z.object({
|
|
549
581
|
'ok': z.literal(false).readonly(),
|
|
550
582
|
'error': z.object({
|
|
551
|
-
'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(),
|
|
552
584
|
'message': z.string().readonly(),
|
|
553
585
|
}).readonly(),
|
|
554
586
|
}), z.object({
|
|
@@ -577,7 +609,7 @@ const _awiki_dsh_plugin_awiki_listMailInbox_result$schema = z.union([z.object({
|
|
|
577
609
|
const _awiki_dsh_plugin_awiki_login_result$schema = z.union([z.object({
|
|
578
610
|
'ok': z.literal(false).readonly(),
|
|
579
611
|
'error': z.object({
|
|
580
|
-
'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(),
|
|
581
613
|
'message': z.string().readonly(),
|
|
582
614
|
}).readonly(),
|
|
583
615
|
}), z.object({
|
|
@@ -602,7 +634,7 @@ const _awiki_dsh_plugin_awiki_logout_parameter_0$schema = z.object({
|
|
|
602
634
|
const _awiki_dsh_plugin_awiki_logout_result$schema = z.union([z.object({
|
|
603
635
|
'ok': z.literal(false).readonly(),
|
|
604
636
|
'error': z.object({
|
|
605
|
-
'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(),
|
|
606
638
|
'message': z.string().readonly(),
|
|
607
639
|
}).readonly(),
|
|
608
640
|
}), z.object({
|
|
@@ -627,7 +659,7 @@ const _awiki_dsh_plugin_awiki_markConversationRead_parameter_0$schema = z.object
|
|
|
627
659
|
const _awiki_dsh_plugin_awiki_markConversationRead_result$schema = z.union([z.object({
|
|
628
660
|
'ok': z.literal(false).readonly(),
|
|
629
661
|
'error': z.object({
|
|
630
|
-
'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(),
|
|
631
663
|
'message': z.string().readonly(),
|
|
632
664
|
}).readonly(),
|
|
633
665
|
}), z.object({
|
|
@@ -640,7 +672,7 @@ const _awiki_dsh_plugin_awiki_markMailRead_parameter_0$schema = z.object({
|
|
|
640
672
|
const _awiki_dsh_plugin_awiki_markMailRead_result$schema = z.union([z.object({
|
|
641
673
|
'ok': z.literal(false).readonly(),
|
|
642
674
|
'error': z.object({
|
|
643
|
-
'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(),
|
|
644
676
|
'message': z.string().readonly(),
|
|
645
677
|
}).readonly(),
|
|
646
678
|
}), z.object({
|
|
@@ -657,7 +689,7 @@ const _awiki_dsh_plugin_awiki_prepareRecovery_parameter_0$schema = z.object({
|
|
|
657
689
|
const _awiki_dsh_plugin_awiki_prepareRecovery_result$schema = z.union([z.object({
|
|
658
690
|
'ok': z.literal(false).readonly(),
|
|
659
691
|
'error': z.object({
|
|
660
|
-
'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(),
|
|
661
693
|
'message': z.string().readonly(),
|
|
662
694
|
}).readonly(),
|
|
663
695
|
}), z.object({
|
|
@@ -672,8 +704,6 @@ const _awiki_dsh_plugin_awiki_prepareRecovery_result$schema = z.union([z.object(
|
|
|
672
704
|
'retryable': z.boolean().readonly(),
|
|
673
705
|
'localOrdinaryDataWillMigrate': z.boolean().readonly(),
|
|
674
706
|
'otherDevicesMustRejoin': z.boolean().readonly(),
|
|
675
|
-
'unsupportedE2eeGroupCount': z.number().readonly(),
|
|
676
|
-
'unsupportedDidOnlyGroupCount': z.number().readonly(),
|
|
677
707
|
}).readonly(),
|
|
678
708
|
})])
|
|
679
709
|
const _awiki_dsh_plugin_awiki_readMail_parameter_0$schema = z.object({
|
|
@@ -682,7 +712,7 @@ const _awiki_dsh_plugin_awiki_readMail_parameter_0$schema = z.object({
|
|
|
682
712
|
const _awiki_dsh_plugin_awiki_readMail_result$schema = z.union([z.object({
|
|
683
713
|
'ok': z.literal(false).readonly(),
|
|
684
714
|
'error': z.object({
|
|
685
|
-
'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(),
|
|
686
716
|
'message': z.string().readonly(),
|
|
687
717
|
}).readonly(),
|
|
688
718
|
}), z.object({
|
|
@@ -715,6 +745,36 @@ const _awiki_dsh_plugin_awiki_readMail_result$schema = z.union([z.object({
|
|
|
715
745
|
})).readonly(),
|
|
716
746
|
}).readonly(),
|
|
717
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
|
+
})])
|
|
718
778
|
const _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema = z.object({
|
|
719
779
|
'handle': z.string().readonly(),
|
|
720
780
|
'phone': z.string().readonly(),
|
|
@@ -723,17 +783,44 @@ const _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema = z.object({
|
|
|
723
783
|
const _awiki_dsh_plugin_awiki_registerIdentity_result$schema = z.union([z.object({
|
|
724
784
|
'ok': z.literal(false).readonly(),
|
|
725
785
|
'error': z.object({
|
|
726
|
-
'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(),
|
|
727
787
|
'message': z.string().readonly(),
|
|
728
788
|
}).readonly(),
|
|
729
789
|
}), z.object({
|
|
730
790
|
'ok': z.literal(true).readonly(),
|
|
731
|
-
'value': z.object({
|
|
791
|
+
'value': z.union([z.object({
|
|
792
|
+
'status': z.literal("registered").readonly(),
|
|
793
|
+
'identity': z.object({
|
|
732
794
|
'handle': z.intersection(z.string(), z.unknown()).readonly(),
|
|
733
795
|
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
734
796
|
'displayName': z.string().readonly().optional(),
|
|
735
797
|
'registeredAt': z.number().readonly(),
|
|
736
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(),
|
|
737
824
|
})])
|
|
738
825
|
const _awiki_dsh_plugin_awiki_removeGroupMember_parameter_0$schema = z.object({
|
|
739
826
|
'member': z.string().readonly(),
|
|
@@ -742,7 +829,7 @@ const _awiki_dsh_plugin_awiki_removeGroupMember_parameter_0$schema = z.object({
|
|
|
742
829
|
const _awiki_dsh_plugin_awiki_removeGroupMember_result$schema = z.union([z.object({
|
|
743
830
|
'ok': z.literal(false).readonly(),
|
|
744
831
|
'error': z.object({
|
|
745
|
-
'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(),
|
|
746
833
|
'message': z.string().readonly(),
|
|
747
834
|
}).readonly(),
|
|
748
835
|
}), z.object({
|
|
@@ -758,7 +845,7 @@ const _awiki_dsh_plugin_awiki_resolvePeer_parameter_0$schema = z.object({
|
|
|
758
845
|
const _awiki_dsh_plugin_awiki_resolvePeer_result$schema = z.union([z.object({
|
|
759
846
|
'ok': z.literal(false).readonly(),
|
|
760
847
|
'error': z.object({
|
|
761
|
-
'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(),
|
|
762
849
|
'message': z.string().readonly(),
|
|
763
850
|
}).readonly(),
|
|
764
851
|
}), z.object({
|
|
@@ -770,32 +857,13 @@ const _awiki_dsh_plugin_awiki_resolvePeer_result$schema = z.union([z.object({
|
|
|
770
857
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
771
858
|
}).readonly(),
|
|
772
859
|
})])
|
|
773
|
-
const _awiki_dsh_plugin_awiki_resumeGroupRebindRecovery_result$schema = z.union([z.object({
|
|
774
|
-
'ok': z.literal(false).readonly(),
|
|
775
|
-
'error': z.object({
|
|
776
|
-
'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(),
|
|
777
|
-
'message': z.string().readonly(),
|
|
778
|
-
}).readonly(),
|
|
779
|
-
}), z.object({
|
|
780
|
-
'ok': z.literal(true).readonly(),
|
|
781
|
-
'value': z.object({
|
|
782
|
-
'processed': z.number().readonly(),
|
|
783
|
-
'completed': z.number().readonly(),
|
|
784
|
-
'pending': z.number().readonly(),
|
|
785
|
-
'blocked': z.number().readonly(),
|
|
786
|
-
'items': z.array(z.object({
|
|
787
|
-
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
788
|
-
'status': z.union([z.literal("pending"), z.literal("blocked")]).readonly(),
|
|
789
|
-
})).readonly(),
|
|
790
|
-
}).readonly(),
|
|
791
|
-
})])
|
|
792
860
|
const _awiki_dsh_plugin_awiki_resumeRecovery_parameter_0$schema = z.object({
|
|
793
861
|
'operationId': z.string().readonly(),
|
|
794
862
|
})
|
|
795
863
|
const _awiki_dsh_plugin_awiki_resumeRecovery_result$schema = z.union([z.object({
|
|
796
864
|
'ok': z.literal(false).readonly(),
|
|
797
865
|
'error': z.object({
|
|
798
|
-
'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(),
|
|
799
867
|
'message': z.string().readonly(),
|
|
800
868
|
}).readonly(),
|
|
801
869
|
}), z.object({
|
|
@@ -810,8 +878,40 @@ const _awiki_dsh_plugin_awiki_resumeRecovery_result$schema = z.union([z.object({
|
|
|
810
878
|
'retryable': z.boolean().readonly(),
|
|
811
879
|
'localOrdinaryDataWillMigrate': z.boolean().readonly(),
|
|
812
880
|
'otherDevicesMustRejoin': z.boolean().readonly(),
|
|
813
|
-
|
|
814
|
-
|
|
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(),
|
|
815
915
|
}).readonly(),
|
|
816
916
|
})])
|
|
817
917
|
const _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema = z.object({
|
|
@@ -831,7 +931,7 @@ const _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema = z.object({
|
|
|
831
931
|
const _awiki_dsh_plugin_awiki_sendAttachment_result$schema = z.union([z.object({
|
|
832
932
|
'ok': z.literal(false).readonly(),
|
|
833
933
|
'error': z.object({
|
|
834
|
-
'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(),
|
|
835
935
|
'message': z.string().readonly(),
|
|
836
936
|
}).readonly(),
|
|
837
937
|
}), z.object({
|
|
@@ -873,17 +973,11 @@ const _awiki_dsh_plugin_awiki_sendMail_parameter_0$schema = z.object({
|
|
|
873
973
|
'cc': z.array(z.string()).readonly().optional(),
|
|
874
974
|
'subject': z.string().readonly(),
|
|
875
975
|
'bodyText': z.string().readonly(),
|
|
876
|
-
'attachments': z.array(z.object({
|
|
877
|
-
'fileName': z.string().readonly(),
|
|
878
|
-
'contentType': z.string().readonly(),
|
|
879
|
-
'sizeBytes': z.number().readonly(),
|
|
880
|
-
'bytesBase64': z.string().readonly(),
|
|
881
|
-
})).readonly().optional(),
|
|
882
976
|
})
|
|
883
977
|
const _awiki_dsh_plugin_awiki_sendMail_result$schema = z.union([z.object({
|
|
884
978
|
'ok': z.literal(false).readonly(),
|
|
885
979
|
'error': z.object({
|
|
886
|
-
'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(),
|
|
887
981
|
'message': z.string().readonly(),
|
|
888
982
|
}).readonly(),
|
|
889
983
|
}), z.object({
|
|
@@ -901,7 +995,7 @@ const _awiki_dsh_plugin_awiki_sendRecoveryOtp_parameter_0$schema = z.object({
|
|
|
901
995
|
const _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema = z.union([z.object({
|
|
902
996
|
'ok': z.literal(false).readonly(),
|
|
903
997
|
'error': z.object({
|
|
904
|
-
'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(),
|
|
905
999
|
'message': z.string().readonly(),
|
|
906
1000
|
}).readonly(),
|
|
907
1001
|
}), z.object({
|
|
@@ -920,7 +1014,7 @@ const _awiki_dsh_plugin_awiki_sendRegistrationOtp_parameter_0$schema = z.object(
|
|
|
920
1014
|
const _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema = z.union([z.object({
|
|
921
1015
|
'ok': z.literal(false).readonly(),
|
|
922
1016
|
'error': z.object({
|
|
923
|
-
'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(),
|
|
924
1018
|
'message': z.string().readonly(),
|
|
925
1019
|
}).readonly(),
|
|
926
1020
|
}), z.object({
|
|
@@ -951,7 +1045,7 @@ const _awiki_dsh_plugin_awiki_sendText_parameter_0$schema = z.object({
|
|
|
951
1045
|
const _awiki_dsh_plugin_awiki_sendText_result$schema = z.union([z.object({
|
|
952
1046
|
'ok': z.literal(false).readonly(),
|
|
953
1047
|
'error': z.object({
|
|
954
|
-
'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(),
|
|
955
1049
|
'message': z.string().readonly(),
|
|
956
1050
|
}).readonly(),
|
|
957
1051
|
}), z.object({
|
|
@@ -988,6 +1082,24 @@ const _awiki_dsh_plugin_awiki_sendText_result$schema = z.union([z.object({
|
|
|
988
1082
|
})]).readonly(),
|
|
989
1083
|
}).readonly(),
|
|
990
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
|
+
})])
|
|
991
1103
|
const _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema = z.object({
|
|
992
1104
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
993
1105
|
'unreadCountAtOpen': z.number().readonly().optional(),
|
|
@@ -995,7 +1107,7 @@ const _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema = z.objec
|
|
|
995
1107
|
const _awiki_dsh_plugin_awiki_summarizeConversation_result$schema = z.union([z.object({
|
|
996
1108
|
'ok': z.literal(false).readonly(),
|
|
997
1109
|
'error': z.object({
|
|
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("
|
|
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(),
|
|
999
1111
|
'message': z.string().readonly(),
|
|
1000
1112
|
}).readonly(),
|
|
1001
1113
|
}), z.object({
|
|
@@ -1042,14 +1154,11 @@ const _awiki_dsh_plugin_awiki_updateConversationPreference_parameter_0$schema =
|
|
|
1042
1154
|
}), z.object({
|
|
1043
1155
|
'action': z.literal("restore").readonly(),
|
|
1044
1156
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
1045
|
-
}), z.object({
|
|
1046
|
-
'action': z.literal("dismiss-group-recovery").readonly(),
|
|
1047
|
-
'signature': z.string().readonly(),
|
|
1048
1157
|
})])
|
|
1049
1158
|
const _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema = z.union([z.object({
|
|
1050
1159
|
'ok': z.literal(false).readonly(),
|
|
1051
1160
|
'error': z.object({
|
|
1052
|
-
'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(),
|
|
1053
1162
|
'message': z.string().readonly(),
|
|
1054
1163
|
}).readonly(),
|
|
1055
1164
|
}), z.object({
|
|
@@ -1077,7 +1186,6 @@ const _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema = z.uni
|
|
|
1077
1186
|
})]).readonly(),
|
|
1078
1187
|
'hiddenAt': z.number().readonly(),
|
|
1079
1188
|
})).readonly(),
|
|
1080
|
-
'dismissedGroupRecoverySignature': z.string().readonly().optional(),
|
|
1081
1189
|
}).readonly(),
|
|
1082
1190
|
})])
|
|
1083
1191
|
const _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema = z.object({
|
|
@@ -1086,7 +1194,7 @@ const _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema = z.object({
|
|
|
1086
1194
|
const _awiki_dsh_plugin_awiki_updateDisplayName_result$schema = z.union([z.object({
|
|
1087
1195
|
'ok': z.literal(false).readonly(),
|
|
1088
1196
|
'error': z.object({
|
|
1089
|
-
'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(),
|
|
1090
1198
|
'message': z.string().readonly(),
|
|
1091
1199
|
}).readonly(),
|
|
1092
1200
|
}), z.object({
|
|
@@ -1106,7 +1214,7 @@ const _awiki_dsh_plugin_awiki_updateProfile_parameter_0$schema = z.object({
|
|
|
1106
1214
|
const _awiki_dsh_plugin_awiki_updateProfile_result$schema = z.union([z.object({
|
|
1107
1215
|
'ok': z.literal(false).readonly(),
|
|
1108
1216
|
'error': z.object({
|
|
1109
|
-
'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(),
|
|
1110
1218
|
'message': z.string().readonly(),
|
|
1111
1219
|
}).readonly(),
|
|
1112
1220
|
}), z.object({
|
|
@@ -1147,7 +1255,7 @@ export const TYPERT_REMOTE = {
|
|
|
1147
1255
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1148
1256
|
schema: _awiki_dsh_plugin_awiki_activateRecovery_result$schema,
|
|
1149
1257
|
},
|
|
1150
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1258
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":158,"column":9},
|
|
1151
1259
|
},
|
|
1152
1260
|
{
|
|
1153
1261
|
id: '@awiki/dsh-plugin#awiki/addGroupMember',
|
|
@@ -1172,7 +1280,62 @@ export const TYPERT_REMOTE = {
|
|
|
1172
1280
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1173
1281
|
schema: _awiki_dsh_plugin_awiki_addGroupMember_result$schema,
|
|
1174
1282
|
},
|
|
1175
|
-
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},
|
|
1176
1339
|
},
|
|
1177
1340
|
{
|
|
1178
1341
|
id: '@awiki/dsh-plugin#awiki/clearLocalData',
|
|
@@ -1197,7 +1360,7 @@ export const TYPERT_REMOTE = {
|
|
|
1197
1360
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1198
1361
|
schema: _awiki_dsh_plugin_awiki_clearLocalData_result$schema,
|
|
1199
1362
|
},
|
|
1200
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1363
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":243,"column":3},
|
|
1201
1364
|
},
|
|
1202
1365
|
{
|
|
1203
1366
|
id: '@awiki/dsh-plugin#awiki/createGroup',
|
|
@@ -1222,7 +1385,7 @@ export const TYPERT_REMOTE = {
|
|
|
1222
1385
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1223
1386
|
schema: _awiki_dsh_plugin_awiki_createGroup_result$schema,
|
|
1224
1387
|
},
|
|
1225
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1388
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":173,"column":9},
|
|
1226
1389
|
},
|
|
1227
1390
|
{
|
|
1228
1391
|
id: '@awiki/dsh-plugin#awiki/discardRecovery',
|
|
@@ -1247,7 +1410,7 @@ export const TYPERT_REMOTE = {
|
|
|
1247
1410
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1248
1411
|
schema: _awiki_dsh_plugin_awiki_discardRecovery_result$schema,
|
|
1249
1412
|
},
|
|
1250
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1413
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":167,"column":9},
|
|
1251
1414
|
},
|
|
1252
1415
|
{
|
|
1253
1416
|
id: '@awiki/dsh-plugin#awiki/downloadAttachment',
|
|
@@ -1272,62 +1435,52 @@ export const TYPERT_REMOTE = {
|
|
|
1272
1435
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1273
1436
|
schema: _awiki_dsh_plugin_awiki_downloadAttachment_result$schema,
|
|
1274
1437
|
},
|
|
1275
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1438
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":225,"column":9},
|
|
1276
1439
|
},
|
|
1277
1440
|
{
|
|
1278
|
-
id: '@awiki/dsh-plugin#awiki/
|
|
1441
|
+
id: '@awiki/dsh-plugin#awiki/getConfig',
|
|
1279
1442
|
service: 'awiki',
|
|
1280
1443
|
namespace: 'awiki',
|
|
1281
|
-
method: '
|
|
1444
|
+
method: 'getConfig',
|
|
1282
1445
|
invocation: { kind: 'direct' },
|
|
1283
1446
|
parameters: [
|
|
1284
|
-
{
|
|
1285
|
-
name: 'request',
|
|
1286
|
-
wire: 'request',
|
|
1287
|
-
source: 'json',
|
|
1288
|
-
codec: {
|
|
1289
|
-
mode: 'strict',
|
|
1290
|
-
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailAttachmentDownloadRequest',
|
|
1291
|
-
schema: _awiki_dsh_plugin_awiki_downloadMailAttachment_parameter_0$schema,
|
|
1292
|
-
},
|
|
1293
|
-
},
|
|
1294
1447
|
],
|
|
1295
1448
|
result: {
|
|
1296
1449
|
mode: 'strict',
|
|
1297
1450
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1298
|
-
schema:
|
|
1451
|
+
schema: _awiki_dsh_plugin_awiki_getConfig_result$schema,
|
|
1299
1452
|
},
|
|
1300
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1453
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":85,"column":9},
|
|
1301
1454
|
},
|
|
1302
1455
|
{
|
|
1303
|
-
id: '@awiki/dsh-plugin#awiki/
|
|
1456
|
+
id: '@awiki/dsh-plugin#awiki/getConversationPreferences',
|
|
1304
1457
|
service: 'awiki',
|
|
1305
1458
|
namespace: 'awiki',
|
|
1306
|
-
method: '
|
|
1459
|
+
method: 'getConversationPreferences',
|
|
1307
1460
|
invocation: { kind: 'direct' },
|
|
1308
1461
|
parameters: [
|
|
1309
1462
|
],
|
|
1310
1463
|
result: {
|
|
1311
1464
|
mode: 'strict',
|
|
1312
1465
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1313
|
-
schema:
|
|
1466
|
+
schema: _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema,
|
|
1314
1467
|
},
|
|
1315
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1468
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":194,"column":3},
|
|
1316
1469
|
},
|
|
1317
1470
|
{
|
|
1318
|
-
id: '@awiki/dsh-plugin#awiki/
|
|
1471
|
+
id: '@awiki/dsh-plugin#awiki/getDeviceJoinStatus',
|
|
1319
1472
|
service: 'awiki',
|
|
1320
1473
|
namespace: 'awiki',
|
|
1321
|
-
method: '
|
|
1474
|
+
method: 'getDeviceJoinStatus',
|
|
1322
1475
|
invocation: { kind: 'direct' },
|
|
1323
1476
|
parameters: [
|
|
1324
1477
|
],
|
|
1325
1478
|
result: {
|
|
1326
1479
|
mode: 'strict',
|
|
1327
1480
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1328
|
-
schema:
|
|
1481
|
+
schema: _awiki_dsh_plugin_awiki_getDeviceJoinStatus_result$schema,
|
|
1329
1482
|
},
|
|
1330
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1483
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":114,"column":9},
|
|
1331
1484
|
},
|
|
1332
1485
|
{
|
|
1333
1486
|
id: '@awiki/dsh-plugin#awiki/getGroup',
|
|
@@ -1352,7 +1505,7 @@ export const TYPERT_REMOTE = {
|
|
|
1352
1505
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1353
1506
|
schema: _awiki_dsh_plugin_awiki_getGroup_result$schema,
|
|
1354
1507
|
},
|
|
1355
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1508
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":176,"column":3},
|
|
1356
1509
|
},
|
|
1357
1510
|
{
|
|
1358
1511
|
id: '@awiki/dsh-plugin#awiki/getHistory',
|
|
@@ -1377,7 +1530,7 @@ export const TYPERT_REMOTE = {
|
|
|
1377
1530
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1378
1531
|
schema: _awiki_dsh_plugin_awiki_getHistory_result$schema,
|
|
1379
1532
|
},
|
|
1380
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1533
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":205,"column":3},
|
|
1381
1534
|
},
|
|
1382
1535
|
{
|
|
1383
1536
|
id: '@awiki/dsh-plugin#awiki/getIdentity',
|
|
@@ -1392,7 +1545,7 @@ export const TYPERT_REMOTE = {
|
|
|
1392
1545
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1393
1546
|
schema: _awiki_dsh_plugin_awiki_getIdentity_result$schema,
|
|
1394
1547
|
},
|
|
1395
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1548
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":88,"column":9},
|
|
1396
1549
|
},
|
|
1397
1550
|
{
|
|
1398
1551
|
id: '@awiki/dsh-plugin#awiki/getLocalHistory',
|
|
@@ -1417,7 +1570,7 @@ export const TYPERT_REMOTE = {
|
|
|
1417
1570
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1418
1571
|
schema: _awiki_dsh_plugin_awiki_getLocalHistory_result$schema,
|
|
1419
1572
|
},
|
|
1420
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1573
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":208,"column":3},
|
|
1421
1574
|
},
|
|
1422
1575
|
{
|
|
1423
1576
|
id: '@awiki/dsh-plugin#awiki/getMailAccount',
|
|
@@ -1432,7 +1585,7 @@ export const TYPERT_REMOTE = {
|
|
|
1432
1585
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1433
1586
|
schema: _awiki_dsh_plugin_awiki_getMailAccount_result$schema,
|
|
1434
1587
|
},
|
|
1435
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1588
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":228,"column":3},
|
|
1436
1589
|
},
|
|
1437
1590
|
{
|
|
1438
1591
|
id: '@awiki/dsh-plugin#awiki/getProfile',
|
|
@@ -1447,7 +1600,7 @@ export const TYPERT_REMOTE = {
|
|
|
1447
1600
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1448
1601
|
schema: _awiki_dsh_plugin_awiki_getProfile_result$schema,
|
|
1449
1602
|
},
|
|
1450
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1603
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":146,"column":3},
|
|
1451
1604
|
},
|
|
1452
1605
|
{
|
|
1453
1606
|
id: '@awiki/dsh-plugin#awiki/getRecoveryStatus',
|
|
@@ -1472,7 +1625,7 @@ export const TYPERT_REMOTE = {
|
|
|
1472
1625
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1473
1626
|
schema: _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema,
|
|
1474
1627
|
},
|
|
1475
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1628
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":161,"column":9},
|
|
1476
1629
|
},
|
|
1477
1630
|
{
|
|
1478
1631
|
id: '@awiki/dsh-plugin#awiki/getSession',
|
|
@@ -1487,7 +1640,7 @@ export const TYPERT_REMOTE = {
|
|
|
1487
1640
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1488
1641
|
schema: _awiki_dsh_plugin_awiki_getSession_result$schema,
|
|
1489
1642
|
},
|
|
1490
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1643
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":91,"column":9},
|
|
1491
1644
|
},
|
|
1492
1645
|
{
|
|
1493
1646
|
id: '@awiki/dsh-plugin#awiki/inspectIdentityAccess',
|
|
@@ -1512,7 +1665,7 @@ export const TYPERT_REMOTE = {
|
|
|
1512
1665
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1513
1666
|
schema: _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema,
|
|
1514
1667
|
},
|
|
1515
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1668
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":100,"column":9},
|
|
1516
1669
|
},
|
|
1517
1670
|
{
|
|
1518
1671
|
id: '@awiki/dsh-plugin#awiki/joinGroup',
|
|
@@ -1537,7 +1690,7 @@ export const TYPERT_REMOTE = {
|
|
|
1537
1690
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1538
1691
|
schema: _awiki_dsh_plugin_awiki_joinGroup_result$schema,
|
|
1539
1692
|
},
|
|
1540
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1693
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":179,"column":3},
|
|
1541
1694
|
},
|
|
1542
1695
|
{
|
|
1543
1696
|
id: '@awiki/dsh-plugin#awiki/leaveGroup',
|
|
@@ -1562,7 +1715,7 @@ export const TYPERT_REMOTE = {
|
|
|
1562
1715
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1563
1716
|
schema: _awiki_dsh_plugin_awiki_leaveGroup_result$schema,
|
|
1564
1717
|
},
|
|
1565
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1718
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":182,"column":9},
|
|
1566
1719
|
},
|
|
1567
1720
|
{
|
|
1568
1721
|
id: '@awiki/dsh-plugin#awiki/listConversations',
|
|
@@ -1588,7 +1741,7 @@ export const TYPERT_REMOTE = {
|
|
|
1588
1741
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1589
1742
|
schema: _awiki_dsh_plugin_awiki_listConversations_result$schema,
|
|
1590
1743
|
},
|
|
1591
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1744
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":202,"column":3},
|
|
1592
1745
|
},
|
|
1593
1746
|
{
|
|
1594
1747
|
id: '@awiki/dsh-plugin#awiki/listGroupMembers',
|
|
@@ -1613,7 +1766,7 @@ export const TYPERT_REMOTE = {
|
|
|
1613
1766
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1614
1767
|
schema: _awiki_dsh_plugin_awiki_listGroupMembers_result$schema,
|
|
1615
1768
|
},
|
|
1616
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1769
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":185,"column":3},
|
|
1617
1770
|
},
|
|
1618
1771
|
{
|
|
1619
1772
|
id: '@awiki/dsh-plugin#awiki/listMailInbox',
|
|
@@ -1639,7 +1792,7 @@ export const TYPERT_REMOTE = {
|
|
|
1639
1792
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1640
1793
|
schema: _awiki_dsh_plugin_awiki_listMailInbox_result$schema,
|
|
1641
1794
|
},
|
|
1642
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1795
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":231,"column":9},
|
|
1643
1796
|
},
|
|
1644
1797
|
{
|
|
1645
1798
|
id: '@awiki/dsh-plugin#awiki/login',
|
|
@@ -1654,7 +1807,7 @@ export const TYPERT_REMOTE = {
|
|
|
1654
1807
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1655
1808
|
schema: _awiki_dsh_plugin_awiki_login_result$schema,
|
|
1656
1809
|
},
|
|
1657
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1810
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":97,"column":3},
|
|
1658
1811
|
},
|
|
1659
1812
|
{
|
|
1660
1813
|
id: '@awiki/dsh-plugin#awiki/logout',
|
|
@@ -1679,7 +1832,7 @@ export const TYPERT_REMOTE = {
|
|
|
1679
1832
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1680
1833
|
schema: _awiki_dsh_plugin_awiki_logout_result$schema,
|
|
1681
1834
|
},
|
|
1682
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1835
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":94,"column":3},
|
|
1683
1836
|
},
|
|
1684
1837
|
{
|
|
1685
1838
|
id: '@awiki/dsh-plugin#awiki/markConversationRead',
|
|
@@ -1704,7 +1857,7 @@ export const TYPERT_REMOTE = {
|
|
|
1704
1857
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1705
1858
|
schema: _awiki_dsh_plugin_awiki_markConversationRead_result$schema,
|
|
1706
1859
|
},
|
|
1707
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1860
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":216,"column":3},
|
|
1708
1861
|
},
|
|
1709
1862
|
{
|
|
1710
1863
|
id: '@awiki/dsh-plugin#awiki/markMailRead',
|
|
@@ -1729,7 +1882,7 @@ export const TYPERT_REMOTE = {
|
|
|
1729
1882
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1730
1883
|
schema: _awiki_dsh_plugin_awiki_markMailRead_result$schema,
|
|
1731
1884
|
},
|
|
1732
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1885
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":237,"column":3},
|
|
1733
1886
|
},
|
|
1734
1887
|
{
|
|
1735
1888
|
id: '@awiki/dsh-plugin#awiki/prepareRecovery',
|
|
@@ -1754,7 +1907,7 @@ export const TYPERT_REMOTE = {
|
|
|
1754
1907
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1755
1908
|
schema: _awiki_dsh_plugin_awiki_prepareRecovery_result$schema,
|
|
1756
1909
|
},
|
|
1757
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1910
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":155,"column":3},
|
|
1758
1911
|
},
|
|
1759
1912
|
{
|
|
1760
1913
|
id: '@awiki/dsh-plugin#awiki/readMail',
|
|
@@ -1779,7 +1932,22 @@ export const TYPERT_REMOTE = {
|
|
|
1779
1932
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1780
1933
|
schema: _awiki_dsh_plugin_awiki_readMail_result$schema,
|
|
1781
1934
|
},
|
|
1782
|
-
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},
|
|
1783
1951
|
},
|
|
1784
1952
|
{
|
|
1785
1953
|
id: '@awiki/dsh-plugin#awiki/registerIdentity',
|
|
@@ -1804,7 +1972,32 @@ export const TYPERT_REMOTE = {
|
|
|
1804
1972
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1805
1973
|
schema: _awiki_dsh_plugin_awiki_registerIdentity_result$schema,
|
|
1806
1974
|
},
|
|
1807
|
-
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},
|
|
1808
2001
|
},
|
|
1809
2002
|
{
|
|
1810
2003
|
id: '@awiki/dsh-plugin#awiki/removeGroupMember',
|
|
@@ -1829,7 +2022,7 @@ export const TYPERT_REMOTE = {
|
|
|
1829
2022
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1830
2023
|
schema: _awiki_dsh_plugin_awiki_removeGroupMember_result$schema,
|
|
1831
2024
|
},
|
|
1832
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2025
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":191,"column":3},
|
|
1833
2026
|
},
|
|
1834
2027
|
{
|
|
1835
2028
|
id: '@awiki/dsh-plugin#awiki/resolvePeer',
|
|
@@ -1854,28 +2047,38 @@ export const TYPERT_REMOTE = {
|
|
|
1854
2047
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1855
2048
|
schema: _awiki_dsh_plugin_awiki_resolvePeer_result$schema,
|
|
1856
2049
|
},
|
|
1857
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2050
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":170,"column":3},
|
|
1858
2051
|
},
|
|
1859
2052
|
{
|
|
1860
|
-
id: '@awiki/dsh-plugin#awiki/
|
|
2053
|
+
id: '@awiki/dsh-plugin#awiki/resumeRecovery',
|
|
1861
2054
|
service: 'awiki',
|
|
1862
2055
|
namespace: 'awiki',
|
|
1863
|
-
method: '
|
|
2056
|
+
method: 'resumeRecovery',
|
|
1864
2057
|
invocation: { kind: 'direct' },
|
|
1865
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
|
+
},
|
|
1866
2069
|
],
|
|
1867
2070
|
result: {
|
|
1868
2071
|
mode: 'strict',
|
|
1869
2072
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1870
|
-
schema:
|
|
2073
|
+
schema: _awiki_dsh_plugin_awiki_resumeRecovery_result$schema,
|
|
1871
2074
|
},
|
|
1872
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2075
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":164,"column":9},
|
|
1873
2076
|
},
|
|
1874
2077
|
{
|
|
1875
|
-
id: '@awiki/dsh-plugin#awiki/
|
|
2078
|
+
id: '@awiki/dsh-plugin#awiki/revokeDevice',
|
|
1876
2079
|
service: 'awiki',
|
|
1877
2080
|
namespace: 'awiki',
|
|
1878
|
-
method: '
|
|
2081
|
+
method: 'revokeDevice',
|
|
1879
2082
|
invocation: { kind: 'direct' },
|
|
1880
2083
|
parameters: [
|
|
1881
2084
|
{
|
|
@@ -1884,17 +2087,17 @@ export const TYPERT_REMOTE = {
|
|
|
1884
2087
|
source: 'json',
|
|
1885
2088
|
codec: {
|
|
1886
2089
|
mode: 'strict',
|
|
1887
|
-
typeSymbol: '@awiki/dsh-plugin/types#
|
|
1888
|
-
schema:
|
|
2090
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiRevokeDeviceRequest',
|
|
2091
|
+
schema: _awiki_dsh_plugin_awiki_revokeDevice_parameter_0$schema,
|
|
1889
2092
|
},
|
|
1890
2093
|
},
|
|
1891
2094
|
],
|
|
1892
2095
|
result: {
|
|
1893
2096
|
mode: 'strict',
|
|
1894
2097
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1895
|
-
schema:
|
|
2098
|
+
schema: _awiki_dsh_plugin_awiki_revokeDevice_result$schema,
|
|
1896
2099
|
},
|
|
1897
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2100
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":138,"column":9},
|
|
1898
2101
|
},
|
|
1899
2102
|
{
|
|
1900
2103
|
id: '@awiki/dsh-plugin#awiki/sendAttachment',
|
|
@@ -1919,7 +2122,7 @@ export const TYPERT_REMOTE = {
|
|
|
1919
2122
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1920
2123
|
schema: _awiki_dsh_plugin_awiki_sendAttachment_result$schema,
|
|
1921
2124
|
},
|
|
1922
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2125
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":222,"column":9},
|
|
1923
2126
|
},
|
|
1924
2127
|
{
|
|
1925
2128
|
id: '@awiki/dsh-plugin#awiki/sendMail',
|
|
@@ -1944,7 +2147,7 @@ export const TYPERT_REMOTE = {
|
|
|
1944
2147
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1945
2148
|
schema: _awiki_dsh_plugin_awiki_sendMail_result$schema,
|
|
1946
2149
|
},
|
|
1947
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2150
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":240,"column":9},
|
|
1948
2151
|
},
|
|
1949
2152
|
{
|
|
1950
2153
|
id: '@awiki/dsh-plugin#awiki/sendRecoveryOtp',
|
|
@@ -1969,7 +2172,7 @@ export const TYPERT_REMOTE = {
|
|
|
1969
2172
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1970
2173
|
schema: _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema,
|
|
1971
2174
|
},
|
|
1972
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2175
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":152,"column":3},
|
|
1973
2176
|
},
|
|
1974
2177
|
{
|
|
1975
2178
|
id: '@awiki/dsh-plugin#awiki/sendRegistrationOtp',
|
|
@@ -1994,7 +2197,7 @@ export const TYPERT_REMOTE = {
|
|
|
1994
2197
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1995
2198
|
schema: _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema,
|
|
1996
2199
|
},
|
|
1997
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2200
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":105,"column":9},
|
|
1998
2201
|
},
|
|
1999
2202
|
{
|
|
2000
2203
|
id: '@awiki/dsh-plugin#awiki/sendText',
|
|
@@ -2019,7 +2222,32 @@ export const TYPERT_REMOTE = {
|
|
|
2019
2222
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
2020
2223
|
schema: _awiki_dsh_plugin_awiki_sendText_result$schema,
|
|
2021
2224
|
},
|
|
2022
|
-
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},
|
|
2023
2251
|
},
|
|
2024
2252
|
{
|
|
2025
2253
|
id: '@awiki/dsh-plugin#awiki/summarizeConversation',
|
|
@@ -2044,7 +2272,7 @@ export const TYPERT_REMOTE = {
|
|
|
2044
2272
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
2045
2273
|
schema: _awiki_dsh_plugin_awiki_summarizeConversation_result$schema,
|
|
2046
2274
|
},
|
|
2047
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2275
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":211,"column":9},
|
|
2048
2276
|
},
|
|
2049
2277
|
{
|
|
2050
2278
|
id: '@awiki/dsh-plugin#awiki/updateConversationPreference',
|
|
@@ -2069,7 +2297,7 @@ export const TYPERT_REMOTE = {
|
|
|
2069
2297
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
2070
2298
|
schema: _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema,
|
|
2071
2299
|
},
|
|
2072
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2300
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":197,"column":3},
|
|
2073
2301
|
},
|
|
2074
2302
|
{
|
|
2075
2303
|
id: '@awiki/dsh-plugin#awiki/updateDisplayName',
|
|
@@ -2094,7 +2322,7 @@ export const TYPERT_REMOTE = {
|
|
|
2094
2322
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
2095
2323
|
schema: _awiki_dsh_plugin_awiki_updateDisplayName_result$schema,
|
|
2096
2324
|
},
|
|
2097
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2325
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":143,"column":9},
|
|
2098
2326
|
},
|
|
2099
2327
|
{
|
|
2100
2328
|
id: '@awiki/dsh-plugin#awiki/updateProfile',
|
|
@@ -2119,7 +2347,7 @@ export const TYPERT_REMOTE = {
|
|
|
2119
2347
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
2120
2348
|
schema: _awiki_dsh_plugin_awiki_updateProfile_result$schema,
|
|
2121
2349
|
},
|
|
2122
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2350
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":149,"column":3},
|
|
2123
2351
|
},
|
|
2124
2352
|
],
|
|
2125
2353
|
}
|