@awiki/dsh-plugin 0.2.3 → 0.2.5
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 +86 -18
- package/README.zh.md +71 -17
- package/THIRD_PARTY_NOTICES.md +8 -1
- package/cordis.patch.yml +13 -0
- package/lib/client.js +8223 -1939
- package/lib/client.js.map +1 -1
- package/lib/index.js +1487 -60
- package/lib/model-proxy-contract.js +89 -0
- package/lib/model-proxy.js +383 -0
- package/lib/provider.js +2 -1
- package/lib/sdk-adapter-DKgkyApB.mjs +669 -0
- package/lib/typert.host.js +470 -482
- package/lib/typert.remote-client.d.ts +15 -1
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +469 -103
- package/lib/types/attachment-cache.d.ts +28 -0
- package/lib/types/attachment-cache.d.ts.map +1 -0
- package/lib/types/attachment-cache.js +194 -0
- package/lib/types/attachment-cache.js.map +1 -0
- package/lib/types/client/AwikiMail.d.ts +14 -0
- package/lib/types/client/AwikiMail.d.ts.map +1 -0
- package/lib/types/client/AwikiMail.js +260 -0
- package/lib/types/client/AwikiMail.js.map +1 -0
- package/lib/types/client/AwikiOnboarding.d.ts +22 -0
- package/lib/types/client/AwikiOnboarding.d.ts.map +1 -0
- package/lib/types/client/AwikiOnboarding.js +87 -0
- package/lib/types/client/AwikiOnboarding.js.map +1 -0
- package/lib/types/client/AwikiOverlay.d.ts +15 -0
- package/lib/types/client/AwikiOverlay.d.ts.map +1 -1
- package/lib/types/client/AwikiOverlay.js +251 -20
- package/lib/types/client/AwikiOverlay.js.map +1 -1
- package/lib/types/client/AwikiSettingsSection.d.ts +20 -4
- package/lib/types/client/AwikiSettingsSection.d.ts.map +1 -1
- package/lib/types/client/AwikiSettingsSection.js +279 -23
- package/lib/types/client/AwikiSettingsSection.js.map +1 -1
- package/lib/types/client/RechargeComingSoonDialog.d.ts +11 -0
- package/lib/types/client/RechargeComingSoonDialog.d.ts.map +1 -0
- package/lib/types/client/RechargeComingSoonDialog.js +8 -0
- package/lib/types/client/RechargeComingSoonDialog.js.map +1 -0
- package/lib/types/client/controller.d.ts +82 -4
- package/lib/types/client/controller.d.ts.map +1 -1
- package/lib/types/client/controller.js +517 -74
- package/lib/types/client/controller.js.map +1 -1
- package/lib/types/client/image-cache.d.ts +20 -0
- package/lib/types/client/image-cache.d.ts.map +1 -0
- package/lib/types/client/image-cache.js +177 -0
- package/lib/types/client/image-cache.js.map +1 -0
- package/lib/types/client/index.d.ts +2 -0
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/index.js +84 -41
- package/lib/types/client/index.js.map +1 -1
- package/lib/types/client/model-account-settings-availability.d.ts +4 -0
- package/lib/types/client/model-account-settings-availability.d.ts.map +1 -0
- package/lib/types/client/model-account-settings-availability.js +4 -0
- package/lib/types/client/model-account-settings-availability.js.map +1 -0
- package/lib/types/client/model-availability-controller.d.ts +27 -0
- package/lib/types/client/model-availability-controller.d.ts.map +1 -0
- package/lib/types/client/model-availability-controller.js +111 -0
- package/lib/types/client/model-availability-controller.js.map +1 -0
- package/lib/types/client/model-proxy-controller.d.ts +41 -0
- package/lib/types/client/model-proxy-controller.d.ts.map +1 -0
- package/lib/types/client/model-proxy-controller.js +241 -0
- package/lib/types/client/model-proxy-controller.js.map +1 -0
- package/lib/types/client/recharge-availability.d.ts +6 -0
- package/lib/types/client/recharge-availability.d.ts.map +1 -0
- package/lib/types/client/recharge-availability.js +6 -0
- package/lib/types/client/recharge-availability.js.map +1 -0
- package/lib/types/client/settings-locales.d.ts +1 -1
- package/lib/types/client/settings-locales.d.ts.map +1 -1
- package/lib/types/client/settings-locales.js +180 -2
- package/lib/types/client/settings-locales.js.map +1 -1
- package/lib/types/client/slots.d.ts +15 -2
- package/lib/types/client/slots.d.ts.map +1 -1
- package/lib/types/index.d.ts +56 -2
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +462 -31
- package/lib/types/index.js.map +1 -1
- package/lib/types/listener-state.d.ts +23 -0
- package/lib/types/listener-state.d.ts.map +1 -0
- package/lib/types/listener-state.js +124 -0
- package/lib/types/listener-state.js.map +1 -0
- package/lib/types/listener.d.ts +96 -0
- package/lib/types/listener.d.ts.map +1 -0
- package/lib/types/listener.js +575 -0
- package/lib/types/listener.js.map +1 -0
- package/lib/types/mail.d.ts +8 -0
- package/lib/types/mail.d.ts.map +1 -0
- package/lib/types/mail.js +75 -0
- package/lib/types/mail.js.map +1 -0
- package/lib/types/model-proxy-contract.d.ts +61 -0
- package/lib/types/model-proxy-contract.d.ts.map +1 -0
- package/lib/types/model-proxy-contract.js +129 -0
- package/lib/types/model-proxy-contract.js.map +1 -0
- package/lib/types/model-proxy.d.ts +14 -0
- package/lib/types/model-proxy.d.ts.map +1 -0
- package/lib/types/model-proxy.js +371 -0
- package/lib/types/model-proxy.js.map +1 -0
- package/lib/types/provider-api.d.ts +78 -2
- package/lib/types/provider-api.d.ts.map +1 -1
- package/lib/types/provider.d.ts.map +1 -1
- package/lib/types/provider.js +1 -0
- package/lib/types/provider.js.map +1 -1
- package/lib/types/sdk-adapter.d.ts +26 -2
- package/lib/types/sdk-adapter.d.ts.map +1 -1
- package/lib/types/sdk-adapter.js +380 -24
- package/lib/types/sdk-adapter.js.map +1 -1
- package/lib/types/settings-rpc.js +1 -1
- package/lib/types/settings-rpc.js.map +1 -1
- package/lib/types/tools.d.ts +10 -0
- package/lib/types/tools.d.ts.map +1 -1
- package/lib/types/tools.js +98 -0
- package/lib/types/tools.js.map +1 -1
- package/lib/types/types.d.ts +103 -1
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types/types.js.map +1 -1
- package/package.json +65 -40
- package/lib/sdk-adapter-DK6RqV-c.mjs +0 -355
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
|
|
2
2
|
import { z } from 'zod'
|
|
3
3
|
|
|
4
|
-
const
|
|
4
|
+
const _awiki_dsh_plugin_awiki_clearLocalData_parameter_0$schema = z.object({
|
|
5
5
|
'confirmation': z.string().readonly(),
|
|
6
6
|
})
|
|
7
|
-
const
|
|
7
|
+
const _awiki_dsh_plugin_awiki_clearLocalData_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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
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("conflict"), z.literal("rate-limited"), 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({
|
|
@@ -16,14 +16,49 @@ const dsh_awiki_awiki_clearLocalData_result$schema = z.union([z.object({
|
|
|
16
16
|
'cleared': z.boolean().readonly(),
|
|
17
17
|
}).readonly(),
|
|
18
18
|
})])
|
|
19
|
-
const
|
|
19
|
+
const _awiki_dsh_plugin_awiki_createGroup_parameter_0$schema = z.object({
|
|
20
|
+
'name': z.string().readonly(),
|
|
21
|
+
'members': z.array(z.string()).readonly(),
|
|
22
|
+
})
|
|
23
|
+
const _awiki_dsh_plugin_awiki_createGroup_result$schema = z.union([z.object({
|
|
24
|
+
'ok': z.literal(false).readonly(),
|
|
25
|
+
'error': z.object({
|
|
26
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
27
|
+
'message': z.string().readonly(),
|
|
28
|
+
}).readonly(),
|
|
29
|
+
}), z.object({
|
|
30
|
+
'ok': z.literal(true).readonly(),
|
|
31
|
+
'value': z.object({
|
|
32
|
+
'conversation': z.object({
|
|
33
|
+
'kind': z.literal("group").readonly(),
|
|
34
|
+
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
35
|
+
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
36
|
+
'title': z.string().readonly(),
|
|
37
|
+
'unreadCount': z.number().readonly().optional(),
|
|
38
|
+
'lastMessageAt': z.number().readonly().optional(),
|
|
39
|
+
'lastMessagePreview': z.string().readonly().optional(),
|
|
40
|
+
}).readonly(),
|
|
41
|
+
'addedMembers': z.array(z.object({
|
|
42
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
43
|
+
'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
44
|
+
})).readonly(),
|
|
45
|
+
'failedMembers': z.array(z.object({
|
|
46
|
+
'member': z.string().readonly(),
|
|
47
|
+
'error': z.object({
|
|
48
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
49
|
+
'message': z.string().readonly(),
|
|
50
|
+
}).readonly(),
|
|
51
|
+
})).readonly(),
|
|
52
|
+
}).readonly(),
|
|
53
|
+
})])
|
|
54
|
+
const _awiki_dsh_plugin_awiki_downloadAttachment_parameter_0$schema = z.object({
|
|
20
55
|
'attachmentId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
21
56
|
'messageId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
22
57
|
})
|
|
23
|
-
const
|
|
58
|
+
const _awiki_dsh_plugin_awiki_downloadAttachment_result$schema = z.union([z.object({
|
|
24
59
|
'ok': z.literal(false).readonly(),
|
|
25
60
|
'error': z.object({
|
|
26
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
61
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
27
62
|
'message': z.string().readonly(),
|
|
28
63
|
}).readonly(),
|
|
29
64
|
}), z.object({
|
|
@@ -39,10 +74,10 @@ const dsh_awiki_awiki_downloadAttachment_result$schema = z.union([z.object({
|
|
|
39
74
|
'bytesBase64': z.string().readonly(),
|
|
40
75
|
}).readonly(),
|
|
41
76
|
})])
|
|
42
|
-
const
|
|
77
|
+
const _awiki_dsh_plugin_awiki_getConfig_result$schema = z.union([z.object({
|
|
43
78
|
'ok': z.literal(false).readonly(),
|
|
44
79
|
'error': z.object({
|
|
45
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
80
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
46
81
|
'message': z.string().readonly(),
|
|
47
82
|
}).readonly(),
|
|
48
83
|
}), z.object({
|
|
@@ -52,15 +87,15 @@ const dsh_awiki_awiki_getConfig_result$schema = z.union([z.object({
|
|
|
52
87
|
'attachmentMaxBytes': z.number().readonly(),
|
|
53
88
|
}).readonly(),
|
|
54
89
|
})])
|
|
55
|
-
const
|
|
90
|
+
const _awiki_dsh_plugin_awiki_getHistory_parameter_0$schema = z.object({
|
|
56
91
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
57
92
|
'cursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
58
93
|
'limit': z.number().readonly().optional(),
|
|
59
94
|
})
|
|
60
|
-
const
|
|
95
|
+
const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
|
|
61
96
|
'ok': z.literal(false).readonly(),
|
|
62
97
|
'error': z.object({
|
|
63
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
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("conflict"), z.literal("rate-limited"), 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(),
|
|
64
99
|
'message': z.string().readonly(),
|
|
65
100
|
}).readonly(),
|
|
66
101
|
}), z.object({
|
|
@@ -69,7 +104,7 @@ const dsh_awiki_awiki_getHistory_result$schema = z.union([z.object({
|
|
|
69
104
|
'items': z.array(z.object({
|
|
70
105
|
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
71
106
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
72
|
-
'conversationKind': z.union([z.literal("
|
|
107
|
+
'conversationKind': z.union([z.literal("group"), z.literal("direct")]).readonly(),
|
|
73
108
|
'senderDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
74
109
|
'senderHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
75
110
|
'senderDisplayName': z.string().readonly().optional(),
|
|
@@ -94,10 +129,10 @@ const dsh_awiki_awiki_getHistory_result$schema = z.union([z.object({
|
|
|
94
129
|
'hasMore': z.boolean().readonly(),
|
|
95
130
|
}).readonly(),
|
|
96
131
|
})])
|
|
97
|
-
const
|
|
132
|
+
const _awiki_dsh_plugin_awiki_getIdentity_result$schema = z.union([z.object({
|
|
98
133
|
'ok': z.literal(false).readonly(),
|
|
99
134
|
'error': z.object({
|
|
100
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
135
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
101
136
|
'message': z.string().readonly(),
|
|
102
137
|
}).readonly(),
|
|
103
138
|
}), z.object({
|
|
@@ -109,10 +144,66 @@ const dsh_awiki_awiki_getIdentity_result$schema = z.union([z.object({
|
|
|
109
144
|
'registeredAt': z.number().readonly(),
|
|
110
145
|
})]).readonly(),
|
|
111
146
|
})])
|
|
112
|
-
const
|
|
147
|
+
const _awiki_dsh_plugin_awiki_getLocalHistory_parameter_0$schema = z.object({
|
|
148
|
+
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
149
|
+
'cursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
150
|
+
'limit': z.number().readonly().optional(),
|
|
151
|
+
})
|
|
152
|
+
const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object({
|
|
153
|
+
'ok': z.literal(false).readonly(),
|
|
154
|
+
'error': z.object({
|
|
155
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
156
|
+
'message': z.string().readonly(),
|
|
157
|
+
}).readonly(),
|
|
158
|
+
}), z.object({
|
|
159
|
+
'ok': z.literal(true).readonly(),
|
|
160
|
+
'value': z.object({
|
|
161
|
+
'items': z.array(z.object({
|
|
162
|
+
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
163
|
+
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
164
|
+
'conversationKind': z.union([z.literal("group"), z.literal("direct")]).readonly(),
|
|
165
|
+
'senderDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
166
|
+
'senderHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
167
|
+
'senderDisplayName': z.string().readonly().optional(),
|
|
168
|
+
'sentAt': z.number().readonly(),
|
|
169
|
+
'outgoing': z.boolean().readonly(),
|
|
170
|
+
'content': z.union([z.object({
|
|
171
|
+
'kind': z.literal("text").readonly(),
|
|
172
|
+
'text': z.string().readonly(),
|
|
173
|
+
}), z.object({
|
|
174
|
+
'kind': z.literal("attachment").readonly(),
|
|
175
|
+
'attachment': z.object({
|
|
176
|
+
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
177
|
+
'fileName': z.string().readonly(),
|
|
178
|
+
'mimeType': z.string().readonly(),
|
|
179
|
+
'size': z.number().readonly(),
|
|
180
|
+
'sha256': z.string().readonly(),
|
|
181
|
+
}).readonly(),
|
|
182
|
+
'caption': z.string().readonly().optional(),
|
|
183
|
+
})]).readonly(),
|
|
184
|
+
})).readonly(),
|
|
185
|
+
'nextCursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
186
|
+
'hasMore': z.boolean().readonly(),
|
|
187
|
+
}).readonly(),
|
|
188
|
+
})])
|
|
189
|
+
const _awiki_dsh_plugin_awiki_getMailAccount_result$schema = z.union([z.object({
|
|
113
190
|
'ok': z.literal(false).readonly(),
|
|
114
191
|
'error': z.object({
|
|
115
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
192
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
193
|
+
'message': z.string().readonly(),
|
|
194
|
+
}).readonly(),
|
|
195
|
+
}), z.object({
|
|
196
|
+
'ok': z.literal(true).readonly(),
|
|
197
|
+
'value': z.object({
|
|
198
|
+
'mailboxAddress': z.string().readonly().optional(),
|
|
199
|
+
'displayName': z.string().readonly().optional(),
|
|
200
|
+
'status': z.string().readonly().optional(),
|
|
201
|
+
}).readonly(),
|
|
202
|
+
})])
|
|
203
|
+
const _awiki_dsh_plugin_awiki_getSession_result$schema = z.union([z.object({
|
|
204
|
+
'ok': z.literal(false).readonly(),
|
|
205
|
+
'error': z.object({
|
|
206
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
116
207
|
'message': z.string().readonly(),
|
|
117
208
|
}).readonly(),
|
|
118
209
|
}), z.object({
|
|
@@ -131,33 +222,33 @@ const dsh_awiki_awiki_getSession_result$schema = z.union([z.object({
|
|
|
131
222
|
}).readonly(),
|
|
132
223
|
})]).readonly(),
|
|
133
224
|
})])
|
|
134
|
-
const
|
|
225
|
+
const _awiki_dsh_plugin_awiki_listConversations_parameter_0$schema = z.union([z.undefined(), z.object({
|
|
135
226
|
'cursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
136
227
|
'limit': z.number().readonly().optional(),
|
|
137
228
|
})])
|
|
138
|
-
const
|
|
229
|
+
const _awiki_dsh_plugin_awiki_listConversations_result$schema = z.union([z.object({
|
|
139
230
|
'ok': z.literal(false).readonly(),
|
|
140
231
|
'error': z.object({
|
|
141
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
232
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
142
233
|
'message': z.string().readonly(),
|
|
143
234
|
}).readonly(),
|
|
144
235
|
}), z.object({
|
|
145
236
|
'ok': z.literal(true).readonly(),
|
|
146
237
|
'value': z.object({
|
|
147
238
|
'items': z.array(z.union([z.object({
|
|
148
|
-
'kind': z.literal("
|
|
239
|
+
'kind': z.literal("group").readonly(),
|
|
149
240
|
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
150
|
-
'
|
|
151
|
-
'peerHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
152
|
-
'displayName': z.string().readonly().optional(),
|
|
241
|
+
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
153
242
|
'title': z.string().readonly(),
|
|
154
243
|
'unreadCount': z.number().readonly().optional(),
|
|
155
244
|
'lastMessageAt': z.number().readonly().optional(),
|
|
156
245
|
'lastMessagePreview': z.string().readonly().optional(),
|
|
157
246
|
}), z.object({
|
|
158
|
-
'kind': z.literal("
|
|
247
|
+
'kind': z.literal("direct").readonly(),
|
|
159
248
|
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
160
|
-
'
|
|
249
|
+
'peerDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
250
|
+
'peerHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
251
|
+
'displayName': z.string().readonly().optional(),
|
|
161
252
|
'title': z.string().readonly(),
|
|
162
253
|
'unreadCount': z.number().readonly().optional(),
|
|
163
254
|
'lastMessageAt': z.number().readonly().optional(),
|
|
@@ -167,10 +258,45 @@ const dsh_awiki_awiki_listConversations_result$schema = z.union([z.object({
|
|
|
167
258
|
'hasMore': z.boolean().readonly(),
|
|
168
259
|
}).readonly(),
|
|
169
260
|
})])
|
|
170
|
-
const
|
|
261
|
+
const _awiki_dsh_plugin_awiki_listMailInbox_parameter_0$schema = z.union([z.undefined(), z.object({
|
|
262
|
+
'folder': z.string().readonly().optional(),
|
|
263
|
+
'unreadOnly': z.boolean().readonly().optional(),
|
|
264
|
+
'limit': z.number().readonly().optional(),
|
|
265
|
+
'offset': z.number().readonly().optional(),
|
|
266
|
+
})])
|
|
267
|
+
const _awiki_dsh_plugin_awiki_listMailInbox_result$schema = z.union([z.object({
|
|
171
268
|
'ok': z.literal(false).readonly(),
|
|
172
269
|
'error': z.object({
|
|
173
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
270
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
271
|
+
'message': z.string().readonly(),
|
|
272
|
+
}).readonly(),
|
|
273
|
+
}), z.object({
|
|
274
|
+
'ok': z.literal(true).readonly(),
|
|
275
|
+
'value': z.object({
|
|
276
|
+
'items': z.array(z.object({
|
|
277
|
+
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
278
|
+
'folder': z.string().readonly().optional(),
|
|
279
|
+
'from': z.array(z.string()).readonly(),
|
|
280
|
+
'to': z.array(z.string()).readonly(),
|
|
281
|
+
'cc': z.array(z.string()).readonly(),
|
|
282
|
+
'subject': z.string().readonly(),
|
|
283
|
+
'subjectTruncated': z.boolean().readonly(),
|
|
284
|
+
'preview': z.string().readonly().optional(),
|
|
285
|
+
'previewTruncated': z.boolean().readonly(),
|
|
286
|
+
'receivedAt': z.string().readonly().optional(),
|
|
287
|
+
'sentAt': z.string().readonly().optional(),
|
|
288
|
+
'unread': z.boolean().readonly(),
|
|
289
|
+
'hasAttachments': z.boolean().readonly(),
|
|
290
|
+
'attachmentCount': z.number().readonly().optional(),
|
|
291
|
+
})).readonly(),
|
|
292
|
+
'nextOffset': z.number().readonly().optional(),
|
|
293
|
+
'hasMore': z.boolean().readonly(),
|
|
294
|
+
}).readonly(),
|
|
295
|
+
})])
|
|
296
|
+
const _awiki_dsh_plugin_awiki_login_result$schema = z.union([z.object({
|
|
297
|
+
'ok': z.literal(false).readonly(),
|
|
298
|
+
'error': z.object({
|
|
299
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
174
300
|
'message': z.string().readonly(),
|
|
175
301
|
}).readonly(),
|
|
176
302
|
}), z.object({
|
|
@@ -189,13 +315,13 @@ const dsh_awiki_awiki_login_result$schema = z.union([z.object({
|
|
|
189
315
|
}).readonly(),
|
|
190
316
|
})]).readonly(),
|
|
191
317
|
})])
|
|
192
|
-
const
|
|
318
|
+
const _awiki_dsh_plugin_awiki_logout_parameter_0$schema = z.object({
|
|
193
319
|
'confirmation': z.string().readonly(),
|
|
194
320
|
})
|
|
195
|
-
const
|
|
321
|
+
const _awiki_dsh_plugin_awiki_logout_result$schema = z.union([z.object({
|
|
196
322
|
'ok': z.literal(false).readonly(),
|
|
197
323
|
'error': z.object({
|
|
198
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
324
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
199
325
|
'message': z.string().readonly(),
|
|
200
326
|
}).readonly(),
|
|
201
327
|
}), z.object({
|
|
@@ -214,28 +340,82 @@ const dsh_awiki_awiki_logout_result$schema = z.union([z.object({
|
|
|
214
340
|
}).readonly(),
|
|
215
341
|
})]).readonly(),
|
|
216
342
|
})])
|
|
217
|
-
const
|
|
343
|
+
const _awiki_dsh_plugin_awiki_markConversationRead_parameter_0$schema = z.object({
|
|
218
344
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
219
345
|
})
|
|
220
|
-
const
|
|
346
|
+
const _awiki_dsh_plugin_awiki_markConversationRead_result$schema = z.union([z.object({
|
|
221
347
|
'ok': z.literal(false).readonly(),
|
|
222
348
|
'error': z.object({
|
|
223
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
349
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
224
350
|
'message': z.string().readonly(),
|
|
225
351
|
}).readonly(),
|
|
226
352
|
}), z.object({
|
|
227
353
|
'ok': z.literal(true).readonly(),
|
|
228
354
|
'value': z.number().readonly(),
|
|
229
355
|
})])
|
|
230
|
-
const
|
|
356
|
+
const _awiki_dsh_plugin_awiki_markMailRead_parameter_0$schema = z.object({
|
|
357
|
+
'messageIds': z.array(z.intersection(z.string(), z.unknown())).readonly(),
|
|
358
|
+
})
|
|
359
|
+
const _awiki_dsh_plugin_awiki_markMailRead_result$schema = z.union([z.object({
|
|
360
|
+
'ok': z.literal(false).readonly(),
|
|
361
|
+
'error': z.object({
|
|
362
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
363
|
+
'message': z.string().readonly(),
|
|
364
|
+
}).readonly(),
|
|
365
|
+
}), z.object({
|
|
366
|
+
'ok': z.literal(true).readonly(),
|
|
367
|
+
'value': z.object({
|
|
368
|
+
'updated': z.number().readonly(),
|
|
369
|
+
}).readonly(),
|
|
370
|
+
})])
|
|
371
|
+
const _awiki_dsh_plugin_awiki_readMail_parameter_0$schema = z.object({
|
|
372
|
+
'messageId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
373
|
+
})
|
|
374
|
+
const _awiki_dsh_plugin_awiki_readMail_result$schema = z.union([z.object({
|
|
375
|
+
'ok': z.literal(false).readonly(),
|
|
376
|
+
'error': z.object({
|
|
377
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
378
|
+
'message': z.string().readonly(),
|
|
379
|
+
}).readonly(),
|
|
380
|
+
}), z.object({
|
|
381
|
+
'ok': z.literal(true).readonly(),
|
|
382
|
+
'value': z.object({
|
|
383
|
+
'summary': z.object({
|
|
384
|
+
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
385
|
+
'folder': z.string().readonly().optional(),
|
|
386
|
+
'from': z.array(z.string()).readonly(),
|
|
387
|
+
'to': z.array(z.string()).readonly(),
|
|
388
|
+
'cc': z.array(z.string()).readonly(),
|
|
389
|
+
'subject': z.string().readonly(),
|
|
390
|
+
'subjectTruncated': z.boolean().readonly(),
|
|
391
|
+
'preview': z.string().readonly().optional(),
|
|
392
|
+
'previewTruncated': z.boolean().readonly(),
|
|
393
|
+
'receivedAt': z.string().readonly().optional(),
|
|
394
|
+
'sentAt': z.string().readonly().optional(),
|
|
395
|
+
'unread': z.boolean().readonly(),
|
|
396
|
+
'hasAttachments': z.boolean().readonly(),
|
|
397
|
+
'attachmentCount': z.number().readonly().optional(),
|
|
398
|
+
}).readonly(),
|
|
399
|
+
'bodyText': z.string().readonly().optional(),
|
|
400
|
+
'bodyTruncated': z.boolean().readonly(),
|
|
401
|
+
'hasHtmlBody': z.boolean().readonly(),
|
|
402
|
+
'attachments': z.array(z.object({
|
|
403
|
+
'index': z.number().readonly(),
|
|
404
|
+
'fileName': z.string().readonly().optional(),
|
|
405
|
+
'contentType': z.string().readonly().optional(),
|
|
406
|
+
'sizeBytes': z.string().readonly().optional(),
|
|
407
|
+
})).readonly(),
|
|
408
|
+
}).readonly(),
|
|
409
|
+
})])
|
|
410
|
+
const _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema = z.object({
|
|
231
411
|
'handle': z.string().readonly(),
|
|
232
412
|
'phone': z.string().readonly(),
|
|
233
413
|
'otp': z.string().readonly(),
|
|
234
414
|
})
|
|
235
|
-
const
|
|
415
|
+
const _awiki_dsh_plugin_awiki_registerIdentity_result$schema = z.union([z.object({
|
|
236
416
|
'ok': z.literal(false).readonly(),
|
|
237
417
|
'error': z.object({
|
|
238
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
418
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), 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(),
|
|
239
419
|
'message': z.string().readonly(),
|
|
240
420
|
}).readonly(),
|
|
241
421
|
}), z.object({
|
|
@@ -247,13 +427,13 @@ const dsh_awiki_awiki_registerIdentity_result$schema = z.union([z.object({
|
|
|
247
427
|
'registeredAt': z.number().readonly(),
|
|
248
428
|
}).readonly(),
|
|
249
429
|
})])
|
|
250
|
-
const
|
|
430
|
+
const _awiki_dsh_plugin_awiki_resolvePeer_parameter_0$schema = z.object({
|
|
251
431
|
'peer': z.string().readonly(),
|
|
252
432
|
})
|
|
253
|
-
const
|
|
433
|
+
const _awiki_dsh_plugin_awiki_resolvePeer_result$schema = z.union([z.object({
|
|
254
434
|
'ok': z.literal(false).readonly(),
|
|
255
435
|
'error': z.object({
|
|
256
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
436
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
257
437
|
'message': z.string().readonly(),
|
|
258
438
|
}).readonly(),
|
|
259
439
|
}), z.object({
|
|
@@ -265,7 +445,7 @@ const dsh_awiki_awiki_resolvePeer_result$schema = z.union([z.object({
|
|
|
265
445
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
266
446
|
}).readonly(),
|
|
267
447
|
})])
|
|
268
|
-
const
|
|
448
|
+
const _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema = z.object({
|
|
269
449
|
'target': z.union([z.object({
|
|
270
450
|
'kind': z.literal("direct").readonly(),
|
|
271
451
|
'peer': z.string().readonly(),
|
|
@@ -279,10 +459,10 @@ const dsh_awiki_awiki_sendAttachment_parameter_0$schema = z.object({
|
|
|
279
459
|
'caption': z.string().readonly().optional(),
|
|
280
460
|
'idempotencyKey': z.string().readonly(),
|
|
281
461
|
})
|
|
282
|
-
const
|
|
462
|
+
const _awiki_dsh_plugin_awiki_sendAttachment_result$schema = z.union([z.object({
|
|
283
463
|
'ok': z.literal(false).readonly(),
|
|
284
464
|
'error': z.object({
|
|
285
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
465
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
286
466
|
'message': z.string().readonly(),
|
|
287
467
|
}).readonly(),
|
|
288
468
|
}), z.object({
|
|
@@ -290,7 +470,7 @@ const dsh_awiki_awiki_sendAttachment_result$schema = z.union([z.object({
|
|
|
290
470
|
'value': z.object({
|
|
291
471
|
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
292
472
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
293
|
-
'conversationKind': z.union([z.literal("
|
|
473
|
+
'conversationKind': z.union([z.literal("group"), z.literal("direct")]).readonly(),
|
|
294
474
|
'senderDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
295
475
|
'senderHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
296
476
|
'senderDisplayName': z.string().readonly().optional(),
|
|
@@ -312,14 +492,34 @@ const dsh_awiki_awiki_sendAttachment_result$schema = z.union([z.object({
|
|
|
312
492
|
})]).readonly(),
|
|
313
493
|
}).readonly(),
|
|
314
494
|
})])
|
|
315
|
-
const
|
|
495
|
+
const _awiki_dsh_plugin_awiki_sendMail_parameter_0$schema = z.object({
|
|
496
|
+
'to': z.array(z.string()).readonly(),
|
|
497
|
+
'cc': z.array(z.string()).readonly().optional(),
|
|
498
|
+
'subject': z.string().readonly(),
|
|
499
|
+
'bodyText': z.string().readonly(),
|
|
500
|
+
})
|
|
501
|
+
const _awiki_dsh_plugin_awiki_sendMail_result$schema = z.union([z.object({
|
|
502
|
+
'ok': z.literal(false).readonly(),
|
|
503
|
+
'error': z.object({
|
|
504
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
505
|
+
'message': z.string().readonly(),
|
|
506
|
+
}).readonly(),
|
|
507
|
+
}), z.object({
|
|
508
|
+
'ok': z.literal(true).readonly(),
|
|
509
|
+
'value': z.object({
|
|
510
|
+
'accepted': z.boolean().readonly(),
|
|
511
|
+
'messageId': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
512
|
+
'warnings': z.array(z.string()).readonly(),
|
|
513
|
+
}).readonly(),
|
|
514
|
+
})])
|
|
515
|
+
const _awiki_dsh_plugin_awiki_sendRegistrationOtp_parameter_0$schema = z.object({
|
|
316
516
|
'handle': z.string().readonly(),
|
|
317
517
|
'phone': z.string().readonly(),
|
|
318
518
|
})
|
|
319
|
-
const
|
|
519
|
+
const _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema = z.union([z.object({
|
|
320
520
|
'ok': z.literal(false).readonly(),
|
|
321
521
|
'error': z.object({
|
|
322
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
522
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
323
523
|
'message': z.string().readonly(),
|
|
324
524
|
}).readonly(),
|
|
325
525
|
}), z.object({
|
|
@@ -329,7 +529,7 @@ const dsh_awiki_awiki_sendRegistrationOtp_result$schema = z.union([z.object({
|
|
|
329
529
|
'retryAt': z.string().readonly(),
|
|
330
530
|
}).readonly(),
|
|
331
531
|
})])
|
|
332
|
-
const
|
|
532
|
+
const _awiki_dsh_plugin_awiki_sendText_parameter_0$schema = z.object({
|
|
333
533
|
'target': z.union([z.object({
|
|
334
534
|
'kind': z.literal("direct").readonly(),
|
|
335
535
|
'peer': z.string().readonly(),
|
|
@@ -340,10 +540,10 @@ const dsh_awiki_awiki_sendText_parameter_0$schema = z.object({
|
|
|
340
540
|
'text': z.string().readonly(),
|
|
341
541
|
'idempotencyKey': z.string().readonly(),
|
|
342
542
|
})
|
|
343
|
-
const
|
|
543
|
+
const _awiki_dsh_plugin_awiki_sendText_result$schema = z.union([z.object({
|
|
344
544
|
'ok': z.literal(false).readonly(),
|
|
345
545
|
'error': z.object({
|
|
346
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
546
|
+
'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("conflict"), z.literal("rate-limited"), 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(),
|
|
347
547
|
'message': z.string().readonly(),
|
|
348
548
|
}).readonly(),
|
|
349
549
|
}), z.object({
|
|
@@ -351,7 +551,7 @@ const dsh_awiki_awiki_sendText_result$schema = z.union([z.object({
|
|
|
351
551
|
'value': z.object({
|
|
352
552
|
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
353
553
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
354
|
-
'conversationKind': z.union([z.literal("
|
|
554
|
+
'conversationKind': z.union([z.literal("group"), z.literal("direct")]).readonly(),
|
|
355
555
|
'senderDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
356
556
|
'senderHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
357
557
|
'senderDisplayName': z.string().readonly().optional(),
|
|
@@ -373,14 +573,14 @@ const dsh_awiki_awiki_sendText_result$schema = z.union([z.object({
|
|
|
373
573
|
})]).readonly(),
|
|
374
574
|
}).readonly(),
|
|
375
575
|
})])
|
|
376
|
-
const
|
|
576
|
+
const _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema = z.object({
|
|
377
577
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
378
578
|
'unreadCountAtOpen': z.number().readonly().optional(),
|
|
379
579
|
})
|
|
380
|
-
const
|
|
580
|
+
const _awiki_dsh_plugin_awiki_summarizeConversation_result$schema = z.union([z.object({
|
|
381
581
|
'ok': z.literal(false).readonly(),
|
|
382
582
|
'error': z.object({
|
|
383
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
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("conflict"), z.literal("rate-limited"), 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(),
|
|
384
584
|
'message': z.string().readonly(),
|
|
385
585
|
}).readonly(),
|
|
386
586
|
}), z.object({
|
|
@@ -403,13 +603,13 @@ const dsh_awiki_awiki_summarizeConversation_result$schema = z.union([z.object({
|
|
|
403
603
|
})).readonly(),
|
|
404
604
|
}).readonly(),
|
|
405
605
|
})])
|
|
406
|
-
const
|
|
606
|
+
const _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema = z.object({
|
|
407
607
|
'displayName': z.string().readonly(),
|
|
408
608
|
})
|
|
409
|
-
const
|
|
609
|
+
const _awiki_dsh_plugin_awiki_updateDisplayName_result$schema = z.union([z.object({
|
|
410
610
|
'ok': z.literal(false).readonly(),
|
|
411
611
|
'error': z.object({
|
|
412
|
-
'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("conflict"), z.literal("rate-limited"), 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("network"), z.literal("remote")]).readonly(),
|
|
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("conflict"), z.literal("rate-limited"), 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(),
|
|
413
613
|
'message': z.string().readonly(),
|
|
414
614
|
}).readonly(),
|
|
415
615
|
}), z.object({
|
|
@@ -439,16 +639,41 @@ export const TYPERT_REMOTE = {
|
|
|
439
639
|
codec: {
|
|
440
640
|
mode: 'strict',
|
|
441
641
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiClearLocalDataRequest',
|
|
442
|
-
schema:
|
|
642
|
+
schema: _awiki_dsh_plugin_awiki_clearLocalData_parameter_0$schema,
|
|
443
643
|
},
|
|
444
644
|
},
|
|
445
645
|
],
|
|
446
646
|
result: {
|
|
447
647
|
mode: 'strict',
|
|
448
648
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
449
|
-
schema:
|
|
649
|
+
schema: _awiki_dsh_plugin_awiki_clearLocalData_result$schema,
|
|
450
650
|
},
|
|
451
|
-
sourceLocation: {"file":"packages/awiki/
|
|
651
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":127,"column":3},
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
id: '@awiki/dsh-plugin#awiki/createGroup',
|
|
655
|
+
service: 'awiki',
|
|
656
|
+
namespace: 'awiki',
|
|
657
|
+
method: 'createGroup',
|
|
658
|
+
invocation: { kind: 'direct' },
|
|
659
|
+
parameters: [
|
|
660
|
+
{
|
|
661
|
+
name: 'request',
|
|
662
|
+
wire: 'request',
|
|
663
|
+
source: 'json',
|
|
664
|
+
codec: {
|
|
665
|
+
mode: 'strict',
|
|
666
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiCreateGroupRequest',
|
|
667
|
+
schema: _awiki_dsh_plugin_awiki_createGroup_parameter_0$schema,
|
|
668
|
+
},
|
|
669
|
+
},
|
|
670
|
+
],
|
|
671
|
+
result: {
|
|
672
|
+
mode: 'strict',
|
|
673
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
674
|
+
schema: _awiki_dsh_plugin_awiki_createGroup_result$schema,
|
|
675
|
+
},
|
|
676
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":83,"column":9},
|
|
452
677
|
},
|
|
453
678
|
{
|
|
454
679
|
id: '@awiki/dsh-plugin#awiki/downloadAttachment',
|
|
@@ -464,16 +689,16 @@ export const TYPERT_REMOTE = {
|
|
|
464
689
|
codec: {
|
|
465
690
|
mode: 'strict',
|
|
466
691
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiDownloadAttachmentRequest',
|
|
467
|
-
schema:
|
|
692
|
+
schema: _awiki_dsh_plugin_awiki_downloadAttachment_parameter_0$schema,
|
|
468
693
|
},
|
|
469
694
|
},
|
|
470
695
|
],
|
|
471
696
|
result: {
|
|
472
697
|
mode: 'strict',
|
|
473
698
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
474
|
-
schema:
|
|
699
|
+
schema: _awiki_dsh_plugin_awiki_downloadAttachment_result$schema,
|
|
475
700
|
},
|
|
476
|
-
sourceLocation: {"file":"packages/awiki/
|
|
701
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":109,"column":9},
|
|
477
702
|
},
|
|
478
703
|
{
|
|
479
704
|
id: '@awiki/dsh-plugin#awiki/getConfig',
|
|
@@ -486,9 +711,9 @@ export const TYPERT_REMOTE = {
|
|
|
486
711
|
result: {
|
|
487
712
|
mode: 'strict',
|
|
488
713
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
489
|
-
schema:
|
|
714
|
+
schema: _awiki_dsh_plugin_awiki_getConfig_result$schema,
|
|
490
715
|
},
|
|
491
|
-
sourceLocation: {"file":"packages/awiki/
|
|
716
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":56,"column":3},
|
|
492
717
|
},
|
|
493
718
|
{
|
|
494
719
|
id: '@awiki/dsh-plugin#awiki/getHistory',
|
|
@@ -504,16 +729,16 @@ export const TYPERT_REMOTE = {
|
|
|
504
729
|
codec: {
|
|
505
730
|
mode: 'strict',
|
|
506
731
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiHistoryRequest',
|
|
507
|
-
schema:
|
|
732
|
+
schema: _awiki_dsh_plugin_awiki_getHistory_parameter_0$schema,
|
|
508
733
|
},
|
|
509
734
|
},
|
|
510
735
|
],
|
|
511
736
|
result: {
|
|
512
737
|
mode: 'strict',
|
|
513
738
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
514
|
-
schema:
|
|
739
|
+
schema: _awiki_dsh_plugin_awiki_getHistory_result$schema,
|
|
515
740
|
},
|
|
516
|
-
sourceLocation: {"file":"packages/awiki/
|
|
741
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":89,"column":3},
|
|
517
742
|
},
|
|
518
743
|
{
|
|
519
744
|
id: '@awiki/dsh-plugin#awiki/getIdentity',
|
|
@@ -526,9 +751,49 @@ export const TYPERT_REMOTE = {
|
|
|
526
751
|
result: {
|
|
527
752
|
mode: 'strict',
|
|
528
753
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
529
|
-
schema:
|
|
754
|
+
schema: _awiki_dsh_plugin_awiki_getIdentity_result$schema,
|
|
530
755
|
},
|
|
531
|
-
sourceLocation: {"file":"packages/awiki/
|
|
756
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":59,"column":9},
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
id: '@awiki/dsh-plugin#awiki/getLocalHistory',
|
|
760
|
+
service: 'awiki',
|
|
761
|
+
namespace: 'awiki',
|
|
762
|
+
method: 'getLocalHistory',
|
|
763
|
+
invocation: { kind: 'direct' },
|
|
764
|
+
parameters: [
|
|
765
|
+
{
|
|
766
|
+
name: 'request',
|
|
767
|
+
wire: 'request',
|
|
768
|
+
source: 'json',
|
|
769
|
+
codec: {
|
|
770
|
+
mode: 'strict',
|
|
771
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiHistoryRequest',
|
|
772
|
+
schema: _awiki_dsh_plugin_awiki_getLocalHistory_parameter_0$schema,
|
|
773
|
+
},
|
|
774
|
+
},
|
|
775
|
+
],
|
|
776
|
+
result: {
|
|
777
|
+
mode: 'strict',
|
|
778
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
779
|
+
schema: _awiki_dsh_plugin_awiki_getLocalHistory_result$schema,
|
|
780
|
+
},
|
|
781
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":92,"column":3},
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
id: '@awiki/dsh-plugin#awiki/getMailAccount',
|
|
785
|
+
service: 'awiki',
|
|
786
|
+
namespace: 'awiki',
|
|
787
|
+
method: 'getMailAccount',
|
|
788
|
+
invocation: { kind: 'direct' },
|
|
789
|
+
parameters: [
|
|
790
|
+
],
|
|
791
|
+
result: {
|
|
792
|
+
mode: 'strict',
|
|
793
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
794
|
+
schema: _awiki_dsh_plugin_awiki_getMailAccount_result$schema,
|
|
795
|
+
},
|
|
796
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":112,"column":3},
|
|
532
797
|
},
|
|
533
798
|
{
|
|
534
799
|
id: '@awiki/dsh-plugin#awiki/getSession',
|
|
@@ -541,9 +806,9 @@ export const TYPERT_REMOTE = {
|
|
|
541
806
|
result: {
|
|
542
807
|
mode: 'strict',
|
|
543
808
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
544
|
-
schema:
|
|
809
|
+
schema: _awiki_dsh_plugin_awiki_getSession_result$schema,
|
|
545
810
|
},
|
|
546
|
-
sourceLocation: {"file":"packages/awiki/
|
|
811
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":62,"column":9},
|
|
547
812
|
},
|
|
548
813
|
{
|
|
549
814
|
id: '@awiki/dsh-plugin#awiki/listConversations',
|
|
@@ -560,16 +825,42 @@ export const TYPERT_REMOTE = {
|
|
|
560
825
|
codec: {
|
|
561
826
|
mode: 'strict',
|
|
562
827
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiPageRequest',
|
|
563
|
-
schema:
|
|
828
|
+
schema: _awiki_dsh_plugin_awiki_listConversations_parameter_0$schema,
|
|
829
|
+
},
|
|
830
|
+
},
|
|
831
|
+
],
|
|
832
|
+
result: {
|
|
833
|
+
mode: 'strict',
|
|
834
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
835
|
+
schema: _awiki_dsh_plugin_awiki_listConversations_result$schema,
|
|
836
|
+
},
|
|
837
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":86,"column":3},
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
id: '@awiki/dsh-plugin#awiki/listMailInbox',
|
|
841
|
+
service: 'awiki',
|
|
842
|
+
namespace: 'awiki',
|
|
843
|
+
method: 'listMailInbox',
|
|
844
|
+
invocation: { kind: 'direct' },
|
|
845
|
+
parameters: [
|
|
846
|
+
{
|
|
847
|
+
name: 'request',
|
|
848
|
+
wire: 'request',
|
|
849
|
+
source: 'json',
|
|
850
|
+
acceptsUndefined: true,
|
|
851
|
+
codec: {
|
|
852
|
+
mode: 'strict',
|
|
853
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailInboxRequest',
|
|
854
|
+
schema: _awiki_dsh_plugin_awiki_listMailInbox_parameter_0$schema,
|
|
564
855
|
},
|
|
565
856
|
},
|
|
566
857
|
],
|
|
567
858
|
result: {
|
|
568
859
|
mode: 'strict',
|
|
569
860
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
570
|
-
schema:
|
|
861
|
+
schema: _awiki_dsh_plugin_awiki_listMailInbox_result$schema,
|
|
571
862
|
},
|
|
572
|
-
sourceLocation: {"file":"packages/awiki/
|
|
863
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":115,"column":3},
|
|
573
864
|
},
|
|
574
865
|
{
|
|
575
866
|
id: '@awiki/dsh-plugin#awiki/login',
|
|
@@ -582,9 +873,9 @@ export const TYPERT_REMOTE = {
|
|
|
582
873
|
result: {
|
|
583
874
|
mode: 'strict',
|
|
584
875
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
585
|
-
schema:
|
|
876
|
+
schema: _awiki_dsh_plugin_awiki_login_result$schema,
|
|
586
877
|
},
|
|
587
|
-
sourceLocation: {"file":"packages/awiki/
|
|
878
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":68,"column":3},
|
|
588
879
|
},
|
|
589
880
|
{
|
|
590
881
|
id: '@awiki/dsh-plugin#awiki/logout',
|
|
@@ -600,16 +891,16 @@ export const TYPERT_REMOTE = {
|
|
|
600
891
|
codec: {
|
|
601
892
|
mode: 'strict',
|
|
602
893
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiLogoutRequest',
|
|
603
|
-
schema:
|
|
894
|
+
schema: _awiki_dsh_plugin_awiki_logout_parameter_0$schema,
|
|
604
895
|
},
|
|
605
896
|
},
|
|
606
897
|
],
|
|
607
898
|
result: {
|
|
608
899
|
mode: 'strict',
|
|
609
900
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
610
|
-
schema:
|
|
901
|
+
schema: _awiki_dsh_plugin_awiki_logout_result$schema,
|
|
611
902
|
},
|
|
612
|
-
sourceLocation: {"file":"packages/awiki/
|
|
903
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":65,"column":3},
|
|
613
904
|
},
|
|
614
905
|
{
|
|
615
906
|
id: '@awiki/dsh-plugin#awiki/markConversationRead',
|
|
@@ -625,16 +916,66 @@ export const TYPERT_REMOTE = {
|
|
|
625
916
|
codec: {
|
|
626
917
|
mode: 'strict',
|
|
627
918
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiMarkConversationReadRequest',
|
|
628
|
-
schema:
|
|
919
|
+
schema: _awiki_dsh_plugin_awiki_markConversationRead_parameter_0$schema,
|
|
629
920
|
},
|
|
630
921
|
},
|
|
631
922
|
],
|
|
632
923
|
result: {
|
|
633
924
|
mode: 'strict',
|
|
634
925
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
635
|
-
schema:
|
|
926
|
+
schema: _awiki_dsh_plugin_awiki_markConversationRead_result$schema,
|
|
636
927
|
},
|
|
637
|
-
sourceLocation: {"file":"packages/awiki/
|
|
928
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":100,"column":3},
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
id: '@awiki/dsh-plugin#awiki/markMailRead',
|
|
932
|
+
service: 'awiki',
|
|
933
|
+
namespace: 'awiki',
|
|
934
|
+
method: 'markMailRead',
|
|
935
|
+
invocation: { kind: 'direct' },
|
|
936
|
+
parameters: [
|
|
937
|
+
{
|
|
938
|
+
name: 'request',
|
|
939
|
+
wire: 'request',
|
|
940
|
+
source: 'json',
|
|
941
|
+
codec: {
|
|
942
|
+
mode: 'strict',
|
|
943
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailMarkReadRequest',
|
|
944
|
+
schema: _awiki_dsh_plugin_awiki_markMailRead_parameter_0$schema,
|
|
945
|
+
},
|
|
946
|
+
},
|
|
947
|
+
],
|
|
948
|
+
result: {
|
|
949
|
+
mode: 'strict',
|
|
950
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
951
|
+
schema: _awiki_dsh_plugin_awiki_markMailRead_result$schema,
|
|
952
|
+
},
|
|
953
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":121,"column":3},
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
id: '@awiki/dsh-plugin#awiki/readMail',
|
|
957
|
+
service: 'awiki',
|
|
958
|
+
namespace: 'awiki',
|
|
959
|
+
method: 'readMail',
|
|
960
|
+
invocation: { kind: 'direct' },
|
|
961
|
+
parameters: [
|
|
962
|
+
{
|
|
963
|
+
name: 'request',
|
|
964
|
+
wire: 'request',
|
|
965
|
+
source: 'json',
|
|
966
|
+
codec: {
|
|
967
|
+
mode: 'strict',
|
|
968
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailReadRequest',
|
|
969
|
+
schema: _awiki_dsh_plugin_awiki_readMail_parameter_0$schema,
|
|
970
|
+
},
|
|
971
|
+
},
|
|
972
|
+
],
|
|
973
|
+
result: {
|
|
974
|
+
mode: 'strict',
|
|
975
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
976
|
+
schema: _awiki_dsh_plugin_awiki_readMail_result$schema,
|
|
977
|
+
},
|
|
978
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":118,"column":3},
|
|
638
979
|
},
|
|
639
980
|
{
|
|
640
981
|
id: '@awiki/dsh-plugin#awiki/registerIdentity',
|
|
@@ -650,16 +991,16 @@ export const TYPERT_REMOTE = {
|
|
|
650
991
|
codec: {
|
|
651
992
|
mode: 'strict',
|
|
652
993
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiRegistrationRequest',
|
|
653
|
-
schema:
|
|
994
|
+
schema: _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema,
|
|
654
995
|
},
|
|
655
996
|
},
|
|
656
997
|
],
|
|
657
998
|
result: {
|
|
658
999
|
mode: 'strict',
|
|
659
1000
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
660
|
-
schema:
|
|
1001
|
+
schema: _awiki_dsh_plugin_awiki_registerIdentity_result$schema,
|
|
661
1002
|
},
|
|
662
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1003
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":74,"column":9},
|
|
663
1004
|
},
|
|
664
1005
|
{
|
|
665
1006
|
id: '@awiki/dsh-plugin#awiki/resolvePeer',
|
|
@@ -675,16 +1016,16 @@ export const TYPERT_REMOTE = {
|
|
|
675
1016
|
codec: {
|
|
676
1017
|
mode: 'strict',
|
|
677
1018
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResolvePeerRequest',
|
|
678
|
-
schema:
|
|
1019
|
+
schema: _awiki_dsh_plugin_awiki_resolvePeer_parameter_0$schema,
|
|
679
1020
|
},
|
|
680
1021
|
},
|
|
681
1022
|
],
|
|
682
1023
|
result: {
|
|
683
1024
|
mode: 'strict',
|
|
684
1025
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
685
|
-
schema:
|
|
1026
|
+
schema: _awiki_dsh_plugin_awiki_resolvePeer_result$schema,
|
|
686
1027
|
},
|
|
687
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1028
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":80,"column":3},
|
|
688
1029
|
},
|
|
689
1030
|
{
|
|
690
1031
|
id: '@awiki/dsh-plugin#awiki/sendAttachment',
|
|
@@ -700,16 +1041,41 @@ export const TYPERT_REMOTE = {
|
|
|
700
1041
|
codec: {
|
|
701
1042
|
mode: 'strict',
|
|
702
1043
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiSendAttachmentRequest',
|
|
703
|
-
schema:
|
|
1044
|
+
schema: _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema,
|
|
1045
|
+
},
|
|
1046
|
+
},
|
|
1047
|
+
],
|
|
1048
|
+
result: {
|
|
1049
|
+
mode: 'strict',
|
|
1050
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1051
|
+
schema: _awiki_dsh_plugin_awiki_sendAttachment_result$schema,
|
|
1052
|
+
},
|
|
1053
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":106,"column":9},
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
id: '@awiki/dsh-plugin#awiki/sendMail',
|
|
1057
|
+
service: 'awiki',
|
|
1058
|
+
namespace: 'awiki',
|
|
1059
|
+
method: 'sendMail',
|
|
1060
|
+
invocation: { kind: 'direct' },
|
|
1061
|
+
parameters: [
|
|
1062
|
+
{
|
|
1063
|
+
name: 'request',
|
|
1064
|
+
wire: 'request',
|
|
1065
|
+
source: 'json',
|
|
1066
|
+
codec: {
|
|
1067
|
+
mode: 'strict',
|
|
1068
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailSendRequest',
|
|
1069
|
+
schema: _awiki_dsh_plugin_awiki_sendMail_parameter_0$schema,
|
|
704
1070
|
},
|
|
705
1071
|
},
|
|
706
1072
|
],
|
|
707
1073
|
result: {
|
|
708
1074
|
mode: 'strict',
|
|
709
1075
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
710
|
-
schema:
|
|
1076
|
+
schema: _awiki_dsh_plugin_awiki_sendMail_result$schema,
|
|
711
1077
|
},
|
|
712
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1078
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":124,"column":3},
|
|
713
1079
|
},
|
|
714
1080
|
{
|
|
715
1081
|
id: '@awiki/dsh-plugin#awiki/sendRegistrationOtp',
|
|
@@ -725,16 +1091,16 @@ export const TYPERT_REMOTE = {
|
|
|
725
1091
|
codec: {
|
|
726
1092
|
mode: 'strict',
|
|
727
1093
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiRegistrationOtpRequest',
|
|
728
|
-
schema:
|
|
1094
|
+
schema: _awiki_dsh_plugin_awiki_sendRegistrationOtp_parameter_0$schema,
|
|
729
1095
|
},
|
|
730
1096
|
},
|
|
731
1097
|
],
|
|
732
1098
|
result: {
|
|
733
1099
|
mode: 'strict',
|
|
734
1100
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
735
|
-
schema:
|
|
1101
|
+
schema: _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema,
|
|
736
1102
|
},
|
|
737
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1103
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":71,"column":3},
|
|
738
1104
|
},
|
|
739
1105
|
{
|
|
740
1106
|
id: '@awiki/dsh-plugin#awiki/sendText',
|
|
@@ -750,16 +1116,16 @@ export const TYPERT_REMOTE = {
|
|
|
750
1116
|
codec: {
|
|
751
1117
|
mode: 'strict',
|
|
752
1118
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiSendTextRequest',
|
|
753
|
-
schema:
|
|
1119
|
+
schema: _awiki_dsh_plugin_awiki_sendText_parameter_0$schema,
|
|
754
1120
|
},
|
|
755
1121
|
},
|
|
756
1122
|
],
|
|
757
1123
|
result: {
|
|
758
1124
|
mode: 'strict',
|
|
759
1125
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
760
|
-
schema:
|
|
1126
|
+
schema: _awiki_dsh_plugin_awiki_sendText_result$schema,
|
|
761
1127
|
},
|
|
762
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1128
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":103,"column":3},
|
|
763
1129
|
},
|
|
764
1130
|
{
|
|
765
1131
|
id: '@awiki/dsh-plugin#awiki/summarizeConversation',
|
|
@@ -775,16 +1141,16 @@ export const TYPERT_REMOTE = {
|
|
|
775
1141
|
codec: {
|
|
776
1142
|
mode: 'strict',
|
|
777
1143
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiSummarizeConversationRequest',
|
|
778
|
-
schema:
|
|
1144
|
+
schema: _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema,
|
|
779
1145
|
},
|
|
780
1146
|
},
|
|
781
1147
|
],
|
|
782
1148
|
result: {
|
|
783
1149
|
mode: 'strict',
|
|
784
1150
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
785
|
-
schema:
|
|
1151
|
+
schema: _awiki_dsh_plugin_awiki_summarizeConversation_result$schema,
|
|
786
1152
|
},
|
|
787
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1153
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":95,"column":9},
|
|
788
1154
|
},
|
|
789
1155
|
{
|
|
790
1156
|
id: '@awiki/dsh-plugin#awiki/updateDisplayName',
|
|
@@ -800,16 +1166,16 @@ export const TYPERT_REMOTE = {
|
|
|
800
1166
|
codec: {
|
|
801
1167
|
mode: 'strict',
|
|
802
1168
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiUpdateDisplayNameRequest',
|
|
803
|
-
schema:
|
|
1169
|
+
schema: _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema,
|
|
804
1170
|
},
|
|
805
1171
|
},
|
|
806
1172
|
],
|
|
807
1173
|
result: {
|
|
808
1174
|
mode: 'strict',
|
|
809
1175
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
810
|
-
schema:
|
|
1176
|
+
schema: _awiki_dsh_plugin_awiki_updateDisplayName_result$schema,
|
|
811
1177
|
},
|
|
812
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1178
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":77,"column":9},
|
|
813
1179
|
},
|
|
814
1180
|
],
|
|
815
1181
|
}
|