@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
package/lib/typert.host.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* Generated by @deepseek-ai/dsh-typert-generator from 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({
|
|
@@ -442,16 +642,41 @@ export const TYPERT = {
|
|
|
442
642
|
codec: {
|
|
443
643
|
mode: 'strict',
|
|
444
644
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiClearLocalDataRequest',
|
|
445
|
-
schema:
|
|
645
|
+
schema: _awiki_dsh_plugin_awiki_clearLocalData_parameter_0$schema,
|
|
646
|
+
},
|
|
647
|
+
},
|
|
648
|
+
],
|
|
649
|
+
result: {
|
|
650
|
+
mode: 'strict',
|
|
651
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
652
|
+
schema: _awiki_dsh_plugin_awiki_clearLocalData_result$schema,
|
|
653
|
+
},
|
|
654
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":127,"column":3},
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
id: '@awiki/dsh-plugin#awiki/createGroup',
|
|
658
|
+
service: 'awiki',
|
|
659
|
+
namespace: 'awiki',
|
|
660
|
+
method: 'createGroup',
|
|
661
|
+
invocation: { kind: 'direct' },
|
|
662
|
+
parameters: [
|
|
663
|
+
{
|
|
664
|
+
name: 'request',
|
|
665
|
+
wire: 'request',
|
|
666
|
+
source: 'json',
|
|
667
|
+
codec: {
|
|
668
|
+
mode: 'strict',
|
|
669
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiCreateGroupRequest',
|
|
670
|
+
schema: _awiki_dsh_plugin_awiki_createGroup_parameter_0$schema,
|
|
446
671
|
},
|
|
447
672
|
},
|
|
448
673
|
],
|
|
449
674
|
result: {
|
|
450
675
|
mode: 'strict',
|
|
451
676
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
452
|
-
schema:
|
|
677
|
+
schema: _awiki_dsh_plugin_awiki_createGroup_result$schema,
|
|
453
678
|
},
|
|
454
|
-
sourceLocation: {"file":"packages/awiki/
|
|
679
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":83,"column":9},
|
|
455
680
|
},
|
|
456
681
|
{
|
|
457
682
|
id: '@awiki/dsh-plugin#awiki/downloadAttachment',
|
|
@@ -467,16 +692,16 @@ export const TYPERT = {
|
|
|
467
692
|
codec: {
|
|
468
693
|
mode: 'strict',
|
|
469
694
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiDownloadAttachmentRequest',
|
|
470
|
-
schema:
|
|
695
|
+
schema: _awiki_dsh_plugin_awiki_downloadAttachment_parameter_0$schema,
|
|
471
696
|
},
|
|
472
697
|
},
|
|
473
698
|
],
|
|
474
699
|
result: {
|
|
475
700
|
mode: 'strict',
|
|
476
701
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
477
|
-
schema:
|
|
702
|
+
schema: _awiki_dsh_plugin_awiki_downloadAttachment_result$schema,
|
|
478
703
|
},
|
|
479
|
-
sourceLocation: {"file":"packages/awiki/
|
|
704
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":109,"column":9},
|
|
480
705
|
},
|
|
481
706
|
{
|
|
482
707
|
id: '@awiki/dsh-plugin#awiki/getConfig',
|
|
@@ -489,9 +714,9 @@ export const TYPERT = {
|
|
|
489
714
|
result: {
|
|
490
715
|
mode: 'strict',
|
|
491
716
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
492
|
-
schema:
|
|
717
|
+
schema: _awiki_dsh_plugin_awiki_getConfig_result$schema,
|
|
493
718
|
},
|
|
494
|
-
sourceLocation: {"file":"packages/awiki/
|
|
719
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":56,"column":3},
|
|
495
720
|
},
|
|
496
721
|
{
|
|
497
722
|
id: '@awiki/dsh-plugin#awiki/getHistory',
|
|
@@ -507,16 +732,16 @@ export const TYPERT = {
|
|
|
507
732
|
codec: {
|
|
508
733
|
mode: 'strict',
|
|
509
734
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiHistoryRequest',
|
|
510
|
-
schema:
|
|
735
|
+
schema: _awiki_dsh_plugin_awiki_getHistory_parameter_0$schema,
|
|
511
736
|
},
|
|
512
737
|
},
|
|
513
738
|
],
|
|
514
739
|
result: {
|
|
515
740
|
mode: 'strict',
|
|
516
741
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
517
|
-
schema:
|
|
742
|
+
schema: _awiki_dsh_plugin_awiki_getHistory_result$schema,
|
|
518
743
|
},
|
|
519
|
-
sourceLocation: {"file":"packages/awiki/
|
|
744
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":89,"column":3},
|
|
520
745
|
},
|
|
521
746
|
{
|
|
522
747
|
id: '@awiki/dsh-plugin#awiki/getIdentity',
|
|
@@ -529,9 +754,49 @@ export const TYPERT = {
|
|
|
529
754
|
result: {
|
|
530
755
|
mode: 'strict',
|
|
531
756
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
532
|
-
schema:
|
|
757
|
+
schema: _awiki_dsh_plugin_awiki_getIdentity_result$schema,
|
|
758
|
+
},
|
|
759
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":59,"column":9},
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
id: '@awiki/dsh-plugin#awiki/getLocalHistory',
|
|
763
|
+
service: 'awiki',
|
|
764
|
+
namespace: 'awiki',
|
|
765
|
+
method: 'getLocalHistory',
|
|
766
|
+
invocation: { kind: 'direct' },
|
|
767
|
+
parameters: [
|
|
768
|
+
{
|
|
769
|
+
name: 'request',
|
|
770
|
+
wire: 'request',
|
|
771
|
+
source: 'json',
|
|
772
|
+
codec: {
|
|
773
|
+
mode: 'strict',
|
|
774
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiHistoryRequest',
|
|
775
|
+
schema: _awiki_dsh_plugin_awiki_getLocalHistory_parameter_0$schema,
|
|
776
|
+
},
|
|
777
|
+
},
|
|
778
|
+
],
|
|
779
|
+
result: {
|
|
780
|
+
mode: 'strict',
|
|
781
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
782
|
+
schema: _awiki_dsh_plugin_awiki_getLocalHistory_result$schema,
|
|
783
|
+
},
|
|
784
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":92,"column":3},
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
id: '@awiki/dsh-plugin#awiki/getMailAccount',
|
|
788
|
+
service: 'awiki',
|
|
789
|
+
namespace: 'awiki',
|
|
790
|
+
method: 'getMailAccount',
|
|
791
|
+
invocation: { kind: 'direct' },
|
|
792
|
+
parameters: [
|
|
793
|
+
],
|
|
794
|
+
result: {
|
|
795
|
+
mode: 'strict',
|
|
796
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
797
|
+
schema: _awiki_dsh_plugin_awiki_getMailAccount_result$schema,
|
|
533
798
|
},
|
|
534
|
-
sourceLocation: {"file":"packages/awiki/
|
|
799
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":112,"column":3},
|
|
535
800
|
},
|
|
536
801
|
{
|
|
537
802
|
id: '@awiki/dsh-plugin#awiki/getSession',
|
|
@@ -544,9 +809,9 @@ export const TYPERT = {
|
|
|
544
809
|
result: {
|
|
545
810
|
mode: 'strict',
|
|
546
811
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
547
|
-
schema:
|
|
812
|
+
schema: _awiki_dsh_plugin_awiki_getSession_result$schema,
|
|
548
813
|
},
|
|
549
|
-
sourceLocation: {"file":"packages/awiki/
|
|
814
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":62,"column":9},
|
|
550
815
|
},
|
|
551
816
|
{
|
|
552
817
|
id: '@awiki/dsh-plugin#awiki/listConversations',
|
|
@@ -563,16 +828,42 @@ export const TYPERT = {
|
|
|
563
828
|
codec: {
|
|
564
829
|
mode: 'strict',
|
|
565
830
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiPageRequest',
|
|
566
|
-
schema:
|
|
831
|
+
schema: _awiki_dsh_plugin_awiki_listConversations_parameter_0$schema,
|
|
832
|
+
},
|
|
833
|
+
},
|
|
834
|
+
],
|
|
835
|
+
result: {
|
|
836
|
+
mode: 'strict',
|
|
837
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
838
|
+
schema: _awiki_dsh_plugin_awiki_listConversations_result$schema,
|
|
839
|
+
},
|
|
840
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":86,"column":3},
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
id: '@awiki/dsh-plugin#awiki/listMailInbox',
|
|
844
|
+
service: 'awiki',
|
|
845
|
+
namespace: 'awiki',
|
|
846
|
+
method: 'listMailInbox',
|
|
847
|
+
invocation: { kind: 'direct' },
|
|
848
|
+
parameters: [
|
|
849
|
+
{
|
|
850
|
+
name: 'request',
|
|
851
|
+
wire: 'request',
|
|
852
|
+
source: 'json',
|
|
853
|
+
acceptsUndefined: true,
|
|
854
|
+
codec: {
|
|
855
|
+
mode: 'strict',
|
|
856
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailInboxRequest',
|
|
857
|
+
schema: _awiki_dsh_plugin_awiki_listMailInbox_parameter_0$schema,
|
|
567
858
|
},
|
|
568
859
|
},
|
|
569
860
|
],
|
|
570
861
|
result: {
|
|
571
862
|
mode: 'strict',
|
|
572
863
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
573
|
-
schema:
|
|
864
|
+
schema: _awiki_dsh_plugin_awiki_listMailInbox_result$schema,
|
|
574
865
|
},
|
|
575
|
-
sourceLocation: {"file":"packages/awiki/
|
|
866
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":115,"column":3},
|
|
576
867
|
},
|
|
577
868
|
{
|
|
578
869
|
id: '@awiki/dsh-plugin#awiki/login',
|
|
@@ -585,9 +876,9 @@ export const TYPERT = {
|
|
|
585
876
|
result: {
|
|
586
877
|
mode: 'strict',
|
|
587
878
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
588
|
-
schema:
|
|
879
|
+
schema: _awiki_dsh_plugin_awiki_login_result$schema,
|
|
589
880
|
},
|
|
590
|
-
sourceLocation: {"file":"packages/awiki/
|
|
881
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":68,"column":3},
|
|
591
882
|
},
|
|
592
883
|
{
|
|
593
884
|
id: '@awiki/dsh-plugin#awiki/logout',
|
|
@@ -603,16 +894,16 @@ export const TYPERT = {
|
|
|
603
894
|
codec: {
|
|
604
895
|
mode: 'strict',
|
|
605
896
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiLogoutRequest',
|
|
606
|
-
schema:
|
|
897
|
+
schema: _awiki_dsh_plugin_awiki_logout_parameter_0$schema,
|
|
607
898
|
},
|
|
608
899
|
},
|
|
609
900
|
],
|
|
610
901
|
result: {
|
|
611
902
|
mode: 'strict',
|
|
612
903
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
613
|
-
schema:
|
|
904
|
+
schema: _awiki_dsh_plugin_awiki_logout_result$schema,
|
|
614
905
|
},
|
|
615
|
-
sourceLocation: {"file":"packages/awiki/
|
|
906
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":65,"column":3},
|
|
616
907
|
},
|
|
617
908
|
{
|
|
618
909
|
id: '@awiki/dsh-plugin#awiki/markConversationRead',
|
|
@@ -628,16 +919,66 @@ export const TYPERT = {
|
|
|
628
919
|
codec: {
|
|
629
920
|
mode: 'strict',
|
|
630
921
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiMarkConversationReadRequest',
|
|
631
|
-
schema:
|
|
922
|
+
schema: _awiki_dsh_plugin_awiki_markConversationRead_parameter_0$schema,
|
|
923
|
+
},
|
|
924
|
+
},
|
|
925
|
+
],
|
|
926
|
+
result: {
|
|
927
|
+
mode: 'strict',
|
|
928
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
929
|
+
schema: _awiki_dsh_plugin_awiki_markConversationRead_result$schema,
|
|
930
|
+
},
|
|
931
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":100,"column":3},
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
id: '@awiki/dsh-plugin#awiki/markMailRead',
|
|
935
|
+
service: 'awiki',
|
|
936
|
+
namespace: 'awiki',
|
|
937
|
+
method: 'markMailRead',
|
|
938
|
+
invocation: { kind: 'direct' },
|
|
939
|
+
parameters: [
|
|
940
|
+
{
|
|
941
|
+
name: 'request',
|
|
942
|
+
wire: 'request',
|
|
943
|
+
source: 'json',
|
|
944
|
+
codec: {
|
|
945
|
+
mode: 'strict',
|
|
946
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailMarkReadRequest',
|
|
947
|
+
schema: _awiki_dsh_plugin_awiki_markMailRead_parameter_0$schema,
|
|
948
|
+
},
|
|
949
|
+
},
|
|
950
|
+
],
|
|
951
|
+
result: {
|
|
952
|
+
mode: 'strict',
|
|
953
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
954
|
+
schema: _awiki_dsh_plugin_awiki_markMailRead_result$schema,
|
|
955
|
+
},
|
|
956
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":121,"column":3},
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
id: '@awiki/dsh-plugin#awiki/readMail',
|
|
960
|
+
service: 'awiki',
|
|
961
|
+
namespace: 'awiki',
|
|
962
|
+
method: 'readMail',
|
|
963
|
+
invocation: { kind: 'direct' },
|
|
964
|
+
parameters: [
|
|
965
|
+
{
|
|
966
|
+
name: 'request',
|
|
967
|
+
wire: 'request',
|
|
968
|
+
source: 'json',
|
|
969
|
+
codec: {
|
|
970
|
+
mode: 'strict',
|
|
971
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailReadRequest',
|
|
972
|
+
schema: _awiki_dsh_plugin_awiki_readMail_parameter_0$schema,
|
|
632
973
|
},
|
|
633
974
|
},
|
|
634
975
|
],
|
|
635
976
|
result: {
|
|
636
977
|
mode: 'strict',
|
|
637
978
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
638
|
-
schema:
|
|
979
|
+
schema: _awiki_dsh_plugin_awiki_readMail_result$schema,
|
|
639
980
|
},
|
|
640
|
-
sourceLocation: {"file":"packages/awiki/
|
|
981
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":118,"column":3},
|
|
641
982
|
},
|
|
642
983
|
{
|
|
643
984
|
id: '@awiki/dsh-plugin#awiki/registerIdentity',
|
|
@@ -653,16 +994,16 @@ export const TYPERT = {
|
|
|
653
994
|
codec: {
|
|
654
995
|
mode: 'strict',
|
|
655
996
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiRegistrationRequest',
|
|
656
|
-
schema:
|
|
997
|
+
schema: _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema,
|
|
657
998
|
},
|
|
658
999
|
},
|
|
659
1000
|
],
|
|
660
1001
|
result: {
|
|
661
1002
|
mode: 'strict',
|
|
662
1003
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
663
|
-
schema:
|
|
1004
|
+
schema: _awiki_dsh_plugin_awiki_registerIdentity_result$schema,
|
|
664
1005
|
},
|
|
665
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1006
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":74,"column":9},
|
|
666
1007
|
},
|
|
667
1008
|
{
|
|
668
1009
|
id: '@awiki/dsh-plugin#awiki/resolvePeer',
|
|
@@ -678,16 +1019,16 @@ export const TYPERT = {
|
|
|
678
1019
|
codec: {
|
|
679
1020
|
mode: 'strict',
|
|
680
1021
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResolvePeerRequest',
|
|
681
|
-
schema:
|
|
1022
|
+
schema: _awiki_dsh_plugin_awiki_resolvePeer_parameter_0$schema,
|
|
682
1023
|
},
|
|
683
1024
|
},
|
|
684
1025
|
],
|
|
685
1026
|
result: {
|
|
686
1027
|
mode: 'strict',
|
|
687
1028
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
688
|
-
schema:
|
|
1029
|
+
schema: _awiki_dsh_plugin_awiki_resolvePeer_result$schema,
|
|
689
1030
|
},
|
|
690
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1031
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":80,"column":3},
|
|
691
1032
|
},
|
|
692
1033
|
{
|
|
693
1034
|
id: '@awiki/dsh-plugin#awiki/sendAttachment',
|
|
@@ -703,16 +1044,41 @@ export const TYPERT = {
|
|
|
703
1044
|
codec: {
|
|
704
1045
|
mode: 'strict',
|
|
705
1046
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiSendAttachmentRequest',
|
|
706
|
-
schema:
|
|
1047
|
+
schema: _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema,
|
|
1048
|
+
},
|
|
1049
|
+
},
|
|
1050
|
+
],
|
|
1051
|
+
result: {
|
|
1052
|
+
mode: 'strict',
|
|
1053
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1054
|
+
schema: _awiki_dsh_plugin_awiki_sendAttachment_result$schema,
|
|
1055
|
+
},
|
|
1056
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":106,"column":9},
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
id: '@awiki/dsh-plugin#awiki/sendMail',
|
|
1060
|
+
service: 'awiki',
|
|
1061
|
+
namespace: 'awiki',
|
|
1062
|
+
method: 'sendMail',
|
|
1063
|
+
invocation: { kind: 'direct' },
|
|
1064
|
+
parameters: [
|
|
1065
|
+
{
|
|
1066
|
+
name: 'request',
|
|
1067
|
+
wire: 'request',
|
|
1068
|
+
source: 'json',
|
|
1069
|
+
codec: {
|
|
1070
|
+
mode: 'strict',
|
|
1071
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailSendRequest',
|
|
1072
|
+
schema: _awiki_dsh_plugin_awiki_sendMail_parameter_0$schema,
|
|
707
1073
|
},
|
|
708
1074
|
},
|
|
709
1075
|
],
|
|
710
1076
|
result: {
|
|
711
1077
|
mode: 'strict',
|
|
712
1078
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
713
|
-
schema:
|
|
1079
|
+
schema: _awiki_dsh_plugin_awiki_sendMail_result$schema,
|
|
714
1080
|
},
|
|
715
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1081
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":124,"column":3},
|
|
716
1082
|
},
|
|
717
1083
|
{
|
|
718
1084
|
id: '@awiki/dsh-plugin#awiki/sendRegistrationOtp',
|
|
@@ -728,16 +1094,16 @@ export const TYPERT = {
|
|
|
728
1094
|
codec: {
|
|
729
1095
|
mode: 'strict',
|
|
730
1096
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiRegistrationOtpRequest',
|
|
731
|
-
schema:
|
|
1097
|
+
schema: _awiki_dsh_plugin_awiki_sendRegistrationOtp_parameter_0$schema,
|
|
732
1098
|
},
|
|
733
1099
|
},
|
|
734
1100
|
],
|
|
735
1101
|
result: {
|
|
736
1102
|
mode: 'strict',
|
|
737
1103
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
738
|
-
schema:
|
|
1104
|
+
schema: _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema,
|
|
739
1105
|
},
|
|
740
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1106
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":71,"column":3},
|
|
741
1107
|
},
|
|
742
1108
|
{
|
|
743
1109
|
id: '@awiki/dsh-plugin#awiki/sendText',
|
|
@@ -753,16 +1119,16 @@ export const TYPERT = {
|
|
|
753
1119
|
codec: {
|
|
754
1120
|
mode: 'strict',
|
|
755
1121
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiSendTextRequest',
|
|
756
|
-
schema:
|
|
1122
|
+
schema: _awiki_dsh_plugin_awiki_sendText_parameter_0$schema,
|
|
757
1123
|
},
|
|
758
1124
|
},
|
|
759
1125
|
],
|
|
760
1126
|
result: {
|
|
761
1127
|
mode: 'strict',
|
|
762
1128
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
763
|
-
schema:
|
|
1129
|
+
schema: _awiki_dsh_plugin_awiki_sendText_result$schema,
|
|
764
1130
|
},
|
|
765
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1131
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":103,"column":3},
|
|
766
1132
|
},
|
|
767
1133
|
{
|
|
768
1134
|
id: '@awiki/dsh-plugin#awiki/summarizeConversation',
|
|
@@ -778,16 +1144,16 @@ export const TYPERT = {
|
|
|
778
1144
|
codec: {
|
|
779
1145
|
mode: 'strict',
|
|
780
1146
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiSummarizeConversationRequest',
|
|
781
|
-
schema:
|
|
1147
|
+
schema: _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema,
|
|
782
1148
|
},
|
|
783
1149
|
},
|
|
784
1150
|
],
|
|
785
1151
|
result: {
|
|
786
1152
|
mode: 'strict',
|
|
787
1153
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
788
|
-
schema:
|
|
1154
|
+
schema: _awiki_dsh_plugin_awiki_summarizeConversation_result$schema,
|
|
789
1155
|
},
|
|
790
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1156
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":95,"column":9},
|
|
791
1157
|
},
|
|
792
1158
|
{
|
|
793
1159
|
id: '@awiki/dsh-plugin#awiki/updateDisplayName',
|
|
@@ -803,398 +1169,20 @@ export const TYPERT = {
|
|
|
803
1169
|
codec: {
|
|
804
1170
|
mode: 'strict',
|
|
805
1171
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiUpdateDisplayNameRequest',
|
|
806
|
-
schema:
|
|
1172
|
+
schema: _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema,
|
|
807
1173
|
},
|
|
808
1174
|
},
|
|
809
1175
|
],
|
|
810
1176
|
result: {
|
|
811
1177
|
mode: 'strict',
|
|
812
1178
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
813
|
-
schema:
|
|
1179
|
+
schema: _awiki_dsh_plugin_awiki_updateDisplayName_result$schema,
|
|
814
1180
|
},
|
|
815
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1181
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":77,"column":9},
|
|
816
1182
|
},
|
|
817
1183
|
],
|
|
818
1184
|
model: {
|
|
819
|
-
"services": [
|
|
820
|
-
{
|
|
821
|
-
"description": "Deployment-wide AWiki service over one replaceable high-level client provider.",
|
|
822
|
-
"summary": "Deployment-wide AWiki service over one replaceable high-level client provider.",
|
|
823
|
-
"tags": [],
|
|
824
|
-
"jsDoc": "/** Deployment-wide AWiki service over one replaceable high-level client provider. */",
|
|
825
|
-
"key": "awiki",
|
|
826
|
-
"exportName": "AwikiService",
|
|
827
|
-
"members": [
|
|
828
|
-
{
|
|
829
|
-
"kind": "method",
|
|
830
|
-
"name": "registerClientFactory",
|
|
831
|
-
"signature": "registerClientFactory(factory: AwikiClientFactory): () => Promise<void>",
|
|
832
|
-
"summary": "Register the deployment's sole client factory.",
|
|
833
|
-
"jsDoc": "/**\n * Register the deployment's sole client factory. The caller must return the\n * resulting disposer from its own `ctx.effect`; disposal clears the slot\n * before awaiting the client's quiescence and is idempotent.\n * @param factory - synchronous factory for one owned high-level client.\n * @returns asynchronous disposer for the exact registered client.\n */"
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
"kind": "method",
|
|
837
|
-
"name": "registerSummaryProvider",
|
|
838
|
-
"signature": "registerSummaryProvider(provider: AwikiSummaryProvider): () => void",
|
|
839
|
-
"summary": "Register one replaceable conversation-summary provider for this deployment.",
|
|
840
|
-
"jsDoc": "/** Register one replaceable conversation-summary provider for this deployment. */"
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"kind": "method",
|
|
844
|
-
"name": "getConfig",
|
|
845
|
-
"signature": "@Remote getConfig(): Promise<AwikiResult<AwikiRuntimeConfig>>",
|
|
846
|
-
"summary": "Read settings needed by the browser presentation.",
|
|
847
|
-
"jsDoc": "/**\n * Read settings needed by the browser presentation.\n * @returns Browser-safe polling configuration without SDK endpoints or state paths.\n */"
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
"kind": "method",
|
|
851
|
-
"name": "getIdentity",
|
|
852
|
-
"signature": "@Remote getIdentity(): Promise<AwikiResult<AwikiIdentity | null>>",
|
|
853
|
-
"summary": "Read the deployment's identity status.",
|
|
854
|
-
"jsDoc": "/**\n * Read the deployment's identity status.\n * @returns The public deployment identity or `null`.\n */"
|
|
855
|
-
},
|
|
856
|
-
{
|
|
857
|
-
"kind": "method",
|
|
858
|
-
"name": "getSession",
|
|
859
|
-
"signature": "@Remote async getSession(): Promise<AwikiResult<AwikiSession>>",
|
|
860
|
-
"summary": "Return the local registration and sign-in state without exposing secrets.",
|
|
861
|
-
"jsDoc": "/** Return the local registration and sign-in state without exposing secrets. */"
|
|
862
|
-
},
|
|
863
|
-
{
|
|
864
|
-
"kind": "method",
|
|
865
|
-
"name": "logout",
|
|
866
|
-
"signature": "@Remote logout(request: AwikiLogoutRequest): Promise<AwikiResult<AwikiSession>>",
|
|
867
|
-
"summary": "Lock this installation while preserving the encrypted identity and local database.",
|
|
868
|
-
"jsDoc": "/** Lock this installation while preserving the encrypted identity and local database. */"
|
|
869
|
-
},
|
|
870
|
-
{
|
|
871
|
-
"kind": "method",
|
|
872
|
-
"name": "login",
|
|
873
|
-
"signature": "@Remote login(): Promise<AwikiResult<AwikiSession>>",
|
|
874
|
-
"summary": "Resume the same locally preserved identity without registration.",
|
|
875
|
-
"jsDoc": "/** Resume the same locally preserved identity without registration. */"
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
"kind": "method",
|
|
879
|
-
"name": "sendRegistrationOtp",
|
|
880
|
-
"signature": "@Remote sendRegistrationOtp(request: AwikiRegistrationOtpRequest): Promise<AwikiResult<AwikiRegistrationOtpResult>>",
|
|
881
|
-
"summary": "Send one Legacy registration verification code.",
|
|
882
|
-
"jsDoc": "/**\n * Send one Legacy registration verification code.\n * @param request - Handle and phone used for the registration challenge.\n * @returns Public retry timing or a closed failure.\n */"
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
"kind": "method",
|
|
886
|
-
"name": "registerIdentity",
|
|
887
|
-
"signature": "@Remote registerIdentity(request: AwikiRegistrationRequest): Promise<AwikiResult<AwikiIdentity>>",
|
|
888
|
-
"summary": "Register and persist the deployment's only AWiki identity.",
|
|
889
|
-
"jsDoc": "/**\n * Register and persist the deployment's only AWiki identity.\n * @param request - Handle, phone, and verification code for registration.\n * @returns The new public identity or a closed failure.\n */"
|
|
890
|
-
},
|
|
891
|
-
{
|
|
892
|
-
"kind": "method",
|
|
893
|
-
"name": "updateDisplayName",
|
|
894
|
-
"signature": "@Remote updateDisplayName(request: AwikiUpdateDisplayNameRequest): Promise<AwikiResult<AwikiIdentity>>",
|
|
895
|
-
"summary": "Update the deployment identity's public WNS display name.",
|
|
896
|
-
"jsDoc": "/**\n * Update the deployment identity's public WNS display name.\n * @param request - replacement display name selected by the user.\n * @returns The updated public identity or a closed failure.\n */"
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
"kind": "method",
|
|
900
|
-
"name": "resolvePeer",
|
|
901
|
-
"signature": "@Remote resolvePeer(request: AwikiResolvePeerRequest): Promise<AwikiResult<AwikiResolvedPeer>>",
|
|
902
|
-
"summary": "Resolve one Handle or DID before the browser opens a direct chat.",
|
|
903
|
-
"jsDoc": "/**\n * Resolve one Handle or DID before the browser opens a direct chat.\n * @param request - typed Handle or DID.\n * @returns The public peer and conversation id, or a closed failure.\n */"
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
"kind": "method",
|
|
907
|
-
"name": "listConversations",
|
|
908
|
-
"signature": "@Remote listConversations(request?: AwikiPageRequest): Promise<AwikiResult<AwikiPage<AwikiConversation>>>",
|
|
909
|
-
"summary": "List direct and existing group conversations.",
|
|
910
|
-
"jsDoc": "/**\n * List direct and existing group conversations.\n * @param request - Optional opaque cursor and page limit.\n * @returns One page of direct and existing group conversations.\n */"
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
"kind": "method",
|
|
914
|
-
"name": "getHistory",
|
|
915
|
-
"signature": "@Remote getHistory(request: AwikiHistoryRequest): Promise<AwikiResult<AwikiPage<AwikiMessage>>>",
|
|
916
|
-
"summary": "Read one direct or group conversation history page.",
|
|
917
|
-
"jsDoc": "/**\n * Read one direct or group conversation history page.\n * @param request - Conversation id, optional cursor, and page limit.\n * @returns One chronological history page.\n */"
|
|
918
|
-
},
|
|
919
|
-
{
|
|
920
|
-
"kind": "method",
|
|
921
|
-
"name": "summarizeConversation",
|
|
922
|
-
"signature": "@Remote async summarizeConversation( request: AwikiSummarizeConversationRequest, ): Promise<AwikiResult<AwikiConversationSummary>>",
|
|
923
|
-
"summary": "Read real AWiki history, enforce range and byte caps, then invoke the configured model once.",
|
|
924
|
-
"jsDoc": "/**\n * Read real AWiki history, enforce range and byte caps, then invoke the configured model once.\n * @param request - selected conversation and its unread snapshot at open time.\n * @returns a structured summary plus the exact summarized source range.\n */"
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
"kind": "method",
|
|
928
|
-
"name": "markConversationRead",
|
|
929
|
-
"signature": "@Remote markConversationRead(request: AwikiMarkConversationReadRequest): Promise<AwikiResult<number>>",
|
|
930
|
-
"summary": "Mark every currently unread inbox message in one conversation as read.",
|
|
931
|
-
"jsDoc": "/**\n * Mark every currently unread inbox message in one conversation as read.\n * @param request - conversation whose current inbox entries should be acknowledged.\n * @returns Number of inbox entries acknowledged by the Message Service.\n */"
|
|
932
|
-
},
|
|
933
|
-
{
|
|
934
|
-
"kind": "method",
|
|
935
|
-
"name": "sendText",
|
|
936
|
-
"signature": "@Remote sendText(request: AwikiSendTextRequest): Promise<AwikiResult<AwikiMessage>>",
|
|
937
|
-
"summary": "Send one text message through the deployment identity.",
|
|
938
|
-
"jsDoc": "/**\n * Send one text message through the deployment identity.\n * @param request - Target, text, and idempotency key.\n * @returns The accepted public message or a closed failure.\n */"
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
"kind": "method",
|
|
942
|
-
"name": "sendAttachment",
|
|
943
|
-
"signature": "@Remote async sendAttachment(request: AwikiSendAttachmentRequest): Promise<AwikiResult<AwikiMessage>>",
|
|
944
|
-
"summary": "Upload and send one attachment after Host validation.",
|
|
945
|
-
"jsDoc": "/**\n * Upload and send one attachment after Host validation.\n * @param request - Target, attachment metadata and Base64 bytes, caption, and idempotency key.\n * @returns The accepted attachment message or a closed failure.\n */"
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
"kind": "method",
|
|
949
|
-
"name": "downloadAttachment",
|
|
950
|
-
"signature": "@Remote async downloadAttachment(request: AwikiDownloadAttachmentRequest): Promise<AwikiResult<AwikiDownloadedAttachment>>",
|
|
951
|
-
"summary": "Download and encode one provider-verified attachment.",
|
|
952
|
-
"jsDoc": "/**\n * Download and encode one provider-verified attachment.\n * @param request - Containing message id and attachment id.\n * @returns Verified public metadata and canonical Base64 bytes, or a closed failure.\n */"
|
|
953
|
-
},
|
|
954
|
-
{
|
|
955
|
-
"kind": "method",
|
|
956
|
-
"name": "clearLocalData",
|
|
957
|
-
"signature": "@Remote clearLocalData(request: AwikiClearLocalDataRequest): Promise<AwikiResult<AwikiClearLocalDataResult>>",
|
|
958
|
-
"summary": "Permanently remove the exact SDK-owned local state after an explicit browser acknowledgement.",
|
|
959
|
-
"jsDoc": "/**\n * Permanently remove the exact SDK-owned local state after an explicit browser acknowledgement.\n * The remote AWiki account and Handle are not deleted.\n * @param request - exact destructive-action marker emitted only after the UI's second confirmation.\n * @returns Whether a persisted state file existed when the reset completed.\n */"
|
|
960
|
-
}
|
|
961
|
-
],
|
|
962
|
-
"types": [
|
|
963
|
-
{
|
|
964
|
-
"name": "AwikiAttachment",
|
|
965
|
-
"declaration": "export interface AwikiAttachment {\n readonly id: AwikiAttachmentId;\n readonly fileName: string;\n readonly mimeType: string;\n readonly size: number;\n readonly sha256: string;\n}"
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
"name": "AwikiAttachmentContent",
|
|
969
|
-
"declaration": "export interface AwikiAttachmentContent {\n readonly kind: 'attachment';\n readonly attachment: AwikiAttachment;\n readonly caption?: string;\n}"
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
"name": "AwikiAttachmentId",
|
|
973
|
-
"declaration": "export type AwikiAttachmentId = Branded<'AwikiAttachmentId'>;"
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
"name": "AwikiClearLocalDataRequest",
|
|
977
|
-
"declaration": "export interface AwikiClearLocalDataRequest {\n readonly confirmation: string;\n}"
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
"name": "AwikiClearLocalDataResult",
|
|
981
|
-
"declaration": "export interface AwikiClearLocalDataResult {\n readonly cleared: boolean;\n}"
|
|
982
|
-
},
|
|
983
|
-
{
|
|
984
|
-
"name": "AwikiClientFactory",
|
|
985
|
-
"declaration": "export type AwikiClientFactory = (options: AwikiClientOptions) => AwikiSdkClient;"
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
"name": "AwikiClientOptions",
|
|
989
|
-
"declaration": "export interface AwikiClientOptions {\n readonly userServiceUrl: string;\n readonly userServiceDomain: string;\n readonly messageServiceUrl: string;\n readonly messageServicePublicUrl: string;\n readonly messageServiceDid: string;\n readonly allowedAttachmentOrigins: readonly string[];\n readonly attachmentMaxBytes: number;\n readonly allowInsecureLoopbackForTesting: boolean;\n readonly stateRoot: string;\n}"
|
|
990
|
-
},
|
|
991
|
-
{
|
|
992
|
-
"name": "AwikiConversation",
|
|
993
|
-
"declaration": "export type AwikiConversation = AwikiDirectConversation | AwikiGroupConversation;"
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
"name": "AwikiConversationId",
|
|
997
|
-
"declaration": "export type AwikiConversationId = Branded<'AwikiConversationId'>;"
|
|
998
|
-
},
|
|
999
|
-
{
|
|
1000
|
-
"name": "AwikiConversationSummary",
|
|
1001
|
-
"declaration": "export interface AwikiConversationSummary {\n readonly range: AwikiSummaryRange;\n readonly highlights: readonly string[];\n readonly conclusions: readonly string[];\n readonly todos: readonly AwikiSummaryTodo[];\n}"
|
|
1002
|
-
},
|
|
1003
|
-
{
|
|
1004
|
-
"name": "AwikiCursor",
|
|
1005
|
-
"declaration": "export type AwikiCursor = Branded<'AwikiCursor'>;"
|
|
1006
|
-
},
|
|
1007
|
-
{
|
|
1008
|
-
"name": "AwikiDid",
|
|
1009
|
-
"declaration": "export type AwikiDid = Branded<'AwikiDid'>;"
|
|
1010
|
-
},
|
|
1011
|
-
{
|
|
1012
|
-
"name": "AwikiDirectConversation",
|
|
1013
|
-
"declaration": "export interface AwikiDirectConversation {\n readonly kind: 'direct';\n readonly id: AwikiConversationId;\n readonly peerDid: AwikiDid;\n readonly peerHandle?: AwikiHandle;\n readonly displayName?: string;\n readonly title: string;\n readonly unreadCount?: number;\n readonly lastMessageAt?: number;\n readonly lastMessagePreview?: string;\n}"
|
|
1014
|
-
},
|
|
1015
|
-
{
|
|
1016
|
-
"name": "AwikiDirectTarget",
|
|
1017
|
-
"declaration": "export interface AwikiDirectTarget {\n readonly kind: 'direct';\n readonly peer: string;\n}"
|
|
1018
|
-
},
|
|
1019
|
-
{
|
|
1020
|
-
"name": "AwikiDownloadAttachmentRequest",
|
|
1021
|
-
"declaration": "export interface AwikiDownloadAttachmentRequest {\n readonly attachmentId: AwikiAttachmentId;\n readonly messageId: AwikiMessageId;\n}"
|
|
1022
|
-
},
|
|
1023
|
-
{
|
|
1024
|
-
"name": "AwikiDownloadedAttachment",
|
|
1025
|
-
"declaration": "export interface AwikiDownloadedAttachment {\n readonly attachment: AwikiAttachment;\n readonly bytesBase64: string;\n}"
|
|
1026
|
-
},
|
|
1027
|
-
{
|
|
1028
|
-
"name": "AwikiFailure",
|
|
1029
|
-
"declaration": "export interface AwikiFailure {\n readonly code: AwikiFailureCode;\n readonly message: string;\n}"
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
"name": "AwikiFailureCode",
|
|
1033
|
-
"declaration": "export type AwikiFailureCode = 'not-registered' | 'signed-out' | 'already-registered' | 'invalid-request' | 'invalid-otp' | 'challenge-expired' | 'handle-unavailable' | 'not-found' | 'forbidden' | 'conflict' | 'rate-limited' | 'attachment-too-large' | 'summary-unavailable' | 'summary-timeout' | 'summary-cancelled' | 'summary-invalid-output' | 'summary-failed' | 'network' | 'remote';"
|
|
1034
|
-
},
|
|
1035
|
-
{
|
|
1036
|
-
"name": "AwikiGroupConversation",
|
|
1037
|
-
"declaration": "export interface AwikiGroupConversation {\n readonly kind: 'group';\n readonly id: AwikiConversationId;\n readonly groupDid: AwikiDid;\n readonly title: string;\n readonly unreadCount?: number;\n readonly lastMessageAt?: number;\n readonly lastMessagePreview?: string;\n}"
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"name": "AwikiGroupTarget",
|
|
1041
|
-
"declaration": "export interface AwikiGroupTarget {\n readonly kind: 'group';\n readonly group: string;\n}"
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
"name": "AwikiHandle",
|
|
1045
|
-
"declaration": "export type AwikiHandle = Branded<'AwikiHandle'>;"
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
"name": "AwikiHistoryRequest",
|
|
1049
|
-
"declaration": "export interface AwikiHistoryRequest extends AwikiPageRequest {\n readonly conversationId: AwikiConversationId;\n}"
|
|
1050
|
-
},
|
|
1051
|
-
{
|
|
1052
|
-
"name": "AwikiIdentity",
|
|
1053
|
-
"declaration": "export interface AwikiIdentity {\n readonly handle: AwikiHandle;\n readonly did: AwikiDid;\n readonly displayName?: string;\n readonly registeredAt: number;\n}"
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
"name": "AwikiLogoutRequest",
|
|
1057
|
-
"declaration": "export interface AwikiLogoutRequest {\n readonly confirmation: string;\n}"
|
|
1058
|
-
},
|
|
1059
|
-
{
|
|
1060
|
-
"name": "AwikiMarkConversationReadRequest",
|
|
1061
|
-
"declaration": "export interface AwikiMarkConversationReadRequest {\n readonly conversationId: AwikiConversationId;\n}"
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
"name": "AwikiMessage",
|
|
1065
|
-
"declaration": "export interface AwikiMessage {\n readonly id: AwikiMessageId;\n readonly conversationId: AwikiConversationId;\n readonly conversationKind: AwikiConversation['kind'];\n readonly senderDid: AwikiDid;\n readonly senderHandle?: AwikiHandle;\n readonly senderDisplayName?: string;\n readonly sentAt: number;\n readonly outgoing: boolean;\n readonly content: AwikiMessageContent;\n}"
|
|
1066
|
-
},
|
|
1067
|
-
{
|
|
1068
|
-
"name": "AwikiMessageContent",
|
|
1069
|
-
"declaration": "export type AwikiMessageContent = AwikiTextContent | AwikiAttachmentContent;"
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
"name": "AwikiMessageId",
|
|
1073
|
-
"declaration": "export type AwikiMessageId = Branded<'AwikiMessageId'>;"
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
"name": "AwikiMessageTarget",
|
|
1077
|
-
"declaration": "export type AwikiMessageTarget = AwikiDirectTarget | AwikiGroupTarget;"
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
"name": "AwikiPage",
|
|
1081
|
-
"declaration": "export interface AwikiPage<Item> {\n readonly items: readonly Item[];\n readonly nextCursor?: AwikiCursor;\n readonly hasMore: boolean;\n}"
|
|
1082
|
-
},
|
|
1083
|
-
{
|
|
1084
|
-
"name": "AwikiPageRequest",
|
|
1085
|
-
"declaration": "export interface AwikiPageRequest {\n readonly cursor?: AwikiCursor;\n readonly limit?: number;\n}"
|
|
1086
|
-
},
|
|
1087
|
-
{
|
|
1088
|
-
"name": "AwikiRegistrationOtpRequest",
|
|
1089
|
-
"declaration": "export interface AwikiRegistrationOtpRequest {\n readonly handle: string;\n readonly phone: string;\n}"
|
|
1090
|
-
},
|
|
1091
|
-
{
|
|
1092
|
-
"name": "AwikiRegistrationOtpResult",
|
|
1093
|
-
"declaration": "export interface AwikiRegistrationOtpResult {\n readonly retryAfterSeconds: number;\n readonly retryAt: string;\n}"
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
"name": "AwikiRegistrationRequest",
|
|
1097
|
-
"declaration": "export interface AwikiRegistrationRequest {\n readonly handle: string;\n readonly phone: string;\n readonly otp: string;\n}"
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
"name": "AwikiRejected",
|
|
1101
|
-
"declaration": "export interface AwikiRejected {\n readonly ok: false;\n readonly error: AwikiFailure;\n}"
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
"name": "AwikiResolvedPeer",
|
|
1105
|
-
"declaration": "export interface AwikiResolvedPeer {\n readonly did: AwikiDid;\n readonly handle?: AwikiHandle;\n readonly displayName?: string;\n readonly conversationId: AwikiConversationId;\n}"
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"name": "AwikiResolvePeerRequest",
|
|
1109
|
-
"declaration": "export interface AwikiResolvePeerRequest {\n readonly peer: string;\n}"
|
|
1110
|
-
},
|
|
1111
|
-
{
|
|
1112
|
-
"name": "AwikiResult",
|
|
1113
|
-
"declaration": "export type AwikiResult<Value> = AwikiSuccess<Value> | AwikiRejected;"
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
"name": "AwikiRuntimeConfig",
|
|
1117
|
-
"declaration": "export interface AwikiRuntimeConfig {\n readonly pollIntervalMs: number;\n readonly attachmentMaxBytes: number;\n}"
|
|
1118
|
-
},
|
|
1119
|
-
{
|
|
1120
|
-
"name": "AwikiSdkAttachmentUpload",
|
|
1121
|
-
"declaration": "export interface AwikiSdkAttachmentUpload {\n readonly fileName: string;\n readonly mimeType: string;\n readonly bytes: Uint8Array;\n}"
|
|
1122
|
-
},
|
|
1123
|
-
{
|
|
1124
|
-
"name": "AwikiSdkClient",
|
|
1125
|
-
"declaration": "export interface AwikiSdkClient {\n getIdentity(): Promise<AwikiIdentity | null>;\n sendRegistrationOtp(request: AwikiRegistrationOtpRequest): Promise<AwikiRegistrationOtpResult>;\n registerIdentity(request: AwikiRegistrationRequest): Promise<AwikiIdentity>;\n updateDisplayName(request: AwikiUpdateDisplayNameRequest): Promise<AwikiIdentity>;\n resolvePeer(peer: string): Promise<AwikiResolvedPeer>;\n listConversations(request?: AwikiPageRequest): Promise<AwikiPage<AwikiConversation>>;\n getHistory(request: AwikiHistoryRequest): Promise<AwikiPage<AwikiMessage>>;\n markConversationRead(conversationId: AwikiConversationId): Promise<number>;\n sendText(request: AwikiSendTextRequest): Promise<AwikiMessage>;\n sendAttachment(request: AwikiSdkSendAttachmentRequest): Promise<AwikiMessage>;\n downloadAttachment(request: { readonly attachmentId: AwikiAttachmentId; readonly messageId: AwikiMessageId; }): Promise<AwikiSdkDownloadedAttachment>;\n clearLocalData(): Promise<{ readonly cleared: boolean; }>;\n dispose(): Promise<void>;\n}"
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"name": "AwikiSdkDownloadedAttachment",
|
|
1129
|
-
"declaration": "export interface AwikiSdkDownloadedAttachment {\n readonly attachment: AwikiAttachment;\n readonly bytes: Uint8Array;\n}"
|
|
1130
|
-
},
|
|
1131
|
-
{
|
|
1132
|
-
"name": "AwikiSdkSendAttachmentRequest",
|
|
1133
|
-
"declaration": "export interface AwikiSdkSendAttachmentRequest {\n readonly target: AwikiMessageTarget;\n readonly attachment: AwikiSdkAttachmentUpload;\n readonly caption?: string;\n readonly idempotencyKey: string;\n}"
|
|
1134
|
-
},
|
|
1135
|
-
{
|
|
1136
|
-
"name": "AwikiSendAttachmentRequest",
|
|
1137
|
-
"declaration": "export interface AwikiSendAttachmentRequest {\n readonly target: AwikiMessageTarget;\n readonly fileName: string;\n readonly mimeType: string;\n readonly bytesBase64: string;\n readonly caption?: string;\n readonly idempotencyKey: string;\n}"
|
|
1138
|
-
},
|
|
1139
|
-
{
|
|
1140
|
-
"name": "AwikiSendTextRequest",
|
|
1141
|
-
"declaration": "export interface AwikiSendTextRequest {\n readonly target: AwikiMessageTarget;\n readonly text: string;\n readonly idempotencyKey: string;\n}"
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
"name": "AwikiSession",
|
|
1145
|
-
"declaration": "export type AwikiSession = { readonly status: 'unregistered'; } | { readonly status: 'signed-out'; } | { readonly status: 'active'; readonly identity: AwikiIdentity; };"
|
|
1146
|
-
},
|
|
1147
|
-
{
|
|
1148
|
-
"name": "AwikiSuccess",
|
|
1149
|
-
"declaration": "export interface AwikiSuccess<Value> {\n readonly ok: true;\n readonly value: Value;\n}"
|
|
1150
|
-
},
|
|
1151
|
-
{
|
|
1152
|
-
"name": "AwikiSummarizeConversationRequest",
|
|
1153
|
-
"declaration": "export interface AwikiSummarizeConversationRequest {\n readonly conversationId: AwikiConversationId;\n readonly unreadCountAtOpen?: number;\n}"
|
|
1154
|
-
},
|
|
1155
|
-
{
|
|
1156
|
-
"name": "AwikiSummaryAttachmentMessage",
|
|
1157
|
-
"declaration": "export interface AwikiSummaryAttachmentMessage {\n readonly id: AwikiMessageId;\n readonly sender: string;\n readonly outgoing: boolean;\n readonly sentAt: string;\n readonly content: { readonly kind: 'attachment'; readonly fileName: string; readonly mimeType: string; readonly size: number; readonly caption?: string; };\n}"
|
|
1158
|
-
},
|
|
1159
|
-
{
|
|
1160
|
-
"name": "AwikiSummaryProvider",
|
|
1161
|
-
"declaration": "export interface AwikiSummaryProvider {\n summarize(request: AwikiSummaryProviderRequest): Promise<AwikiSummaryProviderResult>;\n}"
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
"name": "AwikiSummaryProviderRequest",
|
|
1165
|
-
"declaration": "export interface AwikiSummaryProviderRequest {\n readonly messages: readonly AwikiSummarySourceMessage[];\n readonly signal?: AbortSignal;\n}"
|
|
1166
|
-
},
|
|
1167
|
-
{
|
|
1168
|
-
"name": "AwikiSummaryProviderResult",
|
|
1169
|
-
"declaration": "export interface AwikiSummaryProviderResult {\n readonly highlights: readonly string[];\n readonly conclusions: readonly string[];\n readonly todos: readonly AwikiSummaryTodo[];\n}"
|
|
1170
|
-
},
|
|
1171
|
-
{
|
|
1172
|
-
"name": "AwikiSummaryRange",
|
|
1173
|
-
"declaration": "export interface AwikiSummaryRange {\n readonly kind: 'unread' | 'recent';\n readonly messageCount: number;\n readonly firstMessageId: AwikiMessageId;\n readonly lastMessageId: AwikiMessageId;\n readonly startedAt: number;\n readonly endedAt: number;\n readonly truncated: boolean;\n}"
|
|
1174
|
-
},
|
|
1175
|
-
{
|
|
1176
|
-
"name": "AwikiSummarySourceMessage",
|
|
1177
|
-
"declaration": "export type AwikiSummarySourceMessage = AwikiSummaryTextMessage | AwikiSummaryAttachmentMessage;"
|
|
1178
|
-
},
|
|
1179
|
-
{
|
|
1180
|
-
"name": "AwikiSummaryTextMessage",
|
|
1181
|
-
"declaration": "export interface AwikiSummaryTextMessage {\n readonly id: AwikiMessageId;\n readonly sender: string;\n readonly outgoing: boolean;\n readonly sentAt: string;\n readonly content: { readonly kind: 'text'; readonly text: string; };\n}"
|
|
1182
|
-
},
|
|
1183
|
-
{
|
|
1184
|
-
"name": "AwikiSummaryTodo",
|
|
1185
|
-
"declaration": "export interface AwikiSummaryTodo {\n readonly text: string;\n readonly owner?: string;\n}"
|
|
1186
|
-
},
|
|
1187
|
-
{
|
|
1188
|
-
"name": "AwikiTextContent",
|
|
1189
|
-
"declaration": "export interface AwikiTextContent {\n readonly kind: 'text';\n readonly text: string;\n}"
|
|
1190
|
-
},
|
|
1191
|
-
{
|
|
1192
|
-
"name": "AwikiUpdateDisplayNameRequest",
|
|
1193
|
-
"declaration": "export interface AwikiUpdateDisplayNameRequest {\n readonly displayName: string;\n}"
|
|
1194
|
-
}
|
|
1195
|
-
]
|
|
1196
|
-
}
|
|
1197
|
-
],
|
|
1185
|
+
"services": [],
|
|
1198
1186
|
"events": [],
|
|
1199
1187
|
"objects": []
|
|
1200
1188
|
},
|