@awiki/dsh-plugin 0.2.4 → 0.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +131 -22
- package/README.zh.md +110 -20
- package/THIRD_PARTY_NOTICES.md +8 -1
- package/cordis.patch.yml +5 -0
- package/lib/client.js +12534 -2647
- package/lib/client.js.map +1 -1
- package/lib/index.js +2431 -92
- package/lib/model-proxy-contract.js +96 -0
- package/lib/provider.js +4 -1
- package/lib/sdk-adapter-DLhLrLI6.mjs +886 -0
- package/lib/typert.host.js +1269 -534
- package/lib/typert.remote-client.d.ts +47 -1
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +1254 -141
- 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/AwikiGroupDetails.d.ts +16 -0
- package/lib/types/client/AwikiGroupDetails.d.ts.map +1 -0
- package/lib/types/client/AwikiGroupDetails.js +108 -0
- package/lib/types/client/AwikiGroupDetails.js.map +1 -0
- package/lib/types/client/AwikiIdentityAccess.d.ts +21 -0
- package/lib/types/client/AwikiIdentityAccess.d.ts.map +1 -0
- package/lib/types/client/AwikiIdentityAccess.js +148 -0
- package/lib/types/client/AwikiIdentityAccess.js.map +1 -0
- package/lib/types/client/AwikiIdentityPage.d.ts +11 -0
- package/lib/types/client/AwikiIdentityPage.d.ts.map +1 -0
- package/lib/types/client/AwikiIdentityPage.js +8 -0
- package/lib/types/client/AwikiIdentityPage.js.map +1 -0
- package/lib/types/client/AwikiMail.d.ts +15 -0
- package/lib/types/client/AwikiMail.d.ts.map +1 -0
- package/lib/types/client/AwikiMail.js +380 -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 +104 -0
- package/lib/types/client/AwikiOnboarding.js.map +1 -0
- package/lib/types/client/AwikiOverlay.d.ts +10 -0
- package/lib/types/client/AwikiOverlay.d.ts.map +1 -1
- package/lib/types/client/AwikiOverlay.js +370 -127
- package/lib/types/client/AwikiOverlay.js.map +1 -1
- package/lib/types/client/AwikiProfileCard.d.ts +9 -0
- package/lib/types/client/AwikiProfileCard.d.ts.map +1 -0
- package/lib/types/client/AwikiProfileCard.js +90 -0
- package/lib/types/client/AwikiProfileCard.js.map +1 -0
- package/lib/types/client/AwikiRecoveryForm.d.ts +24 -0
- package/lib/types/client/AwikiRecoveryForm.d.ts.map +1 -0
- package/lib/types/client/AwikiRecoveryForm.js +148 -0
- package/lib/types/client/AwikiRecoveryForm.js.map +1 -0
- package/lib/types/client/AwikiSettingsSection.d.ts +18 -4
- package/lib/types/client/AwikiSettingsSection.d.ts.map +1 -1
- package/lib/types/client/AwikiSettingsSection.js +277 -23
- package/lib/types/client/AwikiSettingsSection.js.map +1 -1
- package/lib/types/client/MentionText.d.ts +7 -0
- package/lib/types/client/MentionText.d.ts.map +1 -0
- package/lib/types/client/MentionText.js +10 -0
- package/lib/types/client/MentionText.js.map +1 -0
- 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 +174 -4
- package/lib/types/client/controller.d.ts.map +1 -1
- package/lib/types/client/controller.js +975 -79
- 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 +102 -42
- package/lib/types/client/index.js.map +1 -1
- package/lib/types/client/mail-list-cache.d.ts +15 -0
- package/lib/types/client/mail-list-cache.d.ts.map +1 -0
- package/lib/types/client/mail-list-cache.js +212 -0
- package/lib/types/client/mail-list-cache.js.map +1 -0
- package/lib/types/client/mentions.d.ts +51 -0
- package/lib/types/client/mentions.d.ts.map +1 -0
- package/lib/types/client/mentions.js +165 -0
- package/lib/types/client/mentions.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 +45 -0
- package/lib/types/client/model-proxy-controller.d.ts.map +1 -0
- package/lib/types/client/model-proxy-controller.js +306 -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 +186 -8
- package/lib/types/client/settings-locales.js.map +1 -1
- package/lib/types/client/slots.d.ts +34 -2
- package/lib/types/client/slots.d.ts.map +1 -1
- package/lib/types/index.d.ts +95 -7
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +968 -37
- 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 +67 -0
- package/lib/types/model-proxy-contract.d.ts.map +1 -0
- package/lib/types/model-proxy-contract.js +135 -0
- package/lib/types/model-proxy-contract.js.map +1 -0
- package/lib/types/provider-api.d.ts +106 -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 +3 -0
- package/lib/types/provider.js.map +1 -1
- package/lib/types/sdk-adapter.d.ts +43 -2
- package/lib/types/sdk-adapter.d.ts.map +1 -1
- package/lib/types/sdk-adapter.js +622 -24
- package/lib/types/sdk-adapter.js.map +1 -1
- package/lib/types/sent-mail-store.d.ts +22 -0
- package/lib/types/sent-mail-store.d.ts.map +1 -0
- package/lib/types/sent-mail-store.js +246 -0
- package/lib/types/sent-mail-store.js.map +1 -0
- 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 +254 -2
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types/types.js.map +1 -1
- package/package.json +31 -17
- package/lib/sdk-adapter-DK6RqV-c.mjs +0 -355
|
@@ -1,13 +1,56 @@
|
|
|
1
1
|
/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
|
|
2
2
|
import { z } from 'zod'
|
|
3
3
|
|
|
4
|
-
const
|
|
4
|
+
const _awiki_dsh_plugin_awiki_activateRecovery_parameter_0$schema = z.object({
|
|
5
|
+
'operationId': z.string().readonly(),
|
|
6
|
+
})
|
|
7
|
+
const _awiki_dsh_plugin_awiki_activateRecovery_result$schema = z.union([z.object({
|
|
8
|
+
'ok': z.literal(false).readonly(),
|
|
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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
11
|
+
'message': z.string().readonly(),
|
|
12
|
+
}).readonly(),
|
|
13
|
+
}), z.object({
|
|
14
|
+
'ok': z.literal(true).readonly(),
|
|
15
|
+
'value': z.object({
|
|
16
|
+
'operationId': z.string().readonly(),
|
|
17
|
+
'fullHandle': z.string().readonly(),
|
|
18
|
+
'previousDid': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
19
|
+
'currentDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
20
|
+
'phase': z.union([z.literal("awaiting_factor"), z.literal("ready_to_commit"), z.literal("remote_outcome_unknown"), z.literal("remote_committed"), z.literal("identity_transition_pending"), z.literal("applied"), z.literal("quarantined_key_unavailable")]).readonly(),
|
|
21
|
+
'failureCode': z.string().readonly().optional(),
|
|
22
|
+
'retryable': z.boolean().readonly(),
|
|
23
|
+
'localOrdinaryDataWillMigrate': z.boolean().readonly(),
|
|
24
|
+
'otherDevicesMustRejoin': z.boolean().readonly(),
|
|
25
|
+
'unsupportedE2eeGroupCount': z.number().readonly(),
|
|
26
|
+
'unsupportedDidOnlyGroupCount': z.number().readonly(),
|
|
27
|
+
}).readonly(),
|
|
28
|
+
})])
|
|
29
|
+
const _awiki_dsh_plugin_awiki_addGroupMember_parameter_0$schema = z.object({
|
|
30
|
+
'member': z.string().readonly(),
|
|
31
|
+
'role': z.union([z.literal("admin"), z.literal("member")]).readonly().optional(),
|
|
32
|
+
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
33
|
+
})
|
|
34
|
+
const _awiki_dsh_plugin_awiki_addGroupMember_result$schema = z.union([z.object({
|
|
35
|
+
'ok': z.literal(false).readonly(),
|
|
36
|
+
'error': z.object({
|
|
37
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
38
|
+
'message': z.string().readonly(),
|
|
39
|
+
}).readonly(),
|
|
40
|
+
}), z.object({
|
|
41
|
+
'ok': z.literal(true).readonly(),
|
|
42
|
+
'value': z.object({
|
|
43
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
44
|
+
'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
45
|
+
}).readonly(),
|
|
46
|
+
})])
|
|
47
|
+
const _awiki_dsh_plugin_awiki_clearLocalData_parameter_0$schema = z.object({
|
|
5
48
|
'confirmation': z.string().readonly(),
|
|
6
49
|
})
|
|
7
|
-
const
|
|
50
|
+
const _awiki_dsh_plugin_awiki_clearLocalData_result$schema = z.union([z.object({
|
|
8
51
|
'ok': z.literal(false).readonly(),
|
|
9
52
|
'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(),
|
|
53
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
11
54
|
'message': z.string().readonly(),
|
|
12
55
|
}).readonly(),
|
|
13
56
|
}), z.object({
|
|
@@ -16,14 +59,64 @@ const dsh_awiki_awiki_clearLocalData_result$schema = z.union([z.object({
|
|
|
16
59
|
'cleared': z.boolean().readonly(),
|
|
17
60
|
}).readonly(),
|
|
18
61
|
})])
|
|
19
|
-
const
|
|
62
|
+
const _awiki_dsh_plugin_awiki_createGroup_parameter_0$schema = z.object({
|
|
63
|
+
'name': z.string().readonly(),
|
|
64
|
+
'members': z.array(z.string()).readonly(),
|
|
65
|
+
})
|
|
66
|
+
const _awiki_dsh_plugin_awiki_createGroup_result$schema = z.union([z.object({
|
|
67
|
+
'ok': z.literal(false).readonly(),
|
|
68
|
+
'error': z.object({
|
|
69
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
70
|
+
'message': z.string().readonly(),
|
|
71
|
+
}).readonly(),
|
|
72
|
+
}), z.object({
|
|
73
|
+
'ok': z.literal(true).readonly(),
|
|
74
|
+
'value': z.object({
|
|
75
|
+
'conversation': z.object({
|
|
76
|
+
'kind': z.literal("group").readonly(),
|
|
77
|
+
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
78
|
+
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
79
|
+
'title': z.string().readonly(),
|
|
80
|
+
'unreadCount': z.number().readonly().optional(),
|
|
81
|
+
'lastMessageAt': z.number().readonly().optional(),
|
|
82
|
+
'lastMessagePreview': z.string().readonly().optional(),
|
|
83
|
+
}).readonly(),
|
|
84
|
+
'addedMembers': z.array(z.object({
|
|
85
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
86
|
+
'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
87
|
+
})).readonly(),
|
|
88
|
+
'failedMembers': z.array(z.object({
|
|
89
|
+
'member': z.string().readonly(),
|
|
90
|
+
'error': z.object({
|
|
91
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
92
|
+
'message': z.string().readonly(),
|
|
93
|
+
}).readonly(),
|
|
94
|
+
})).readonly(),
|
|
95
|
+
}).readonly(),
|
|
96
|
+
})])
|
|
97
|
+
const _awiki_dsh_plugin_awiki_discardRecovery_parameter_0$schema = z.object({
|
|
98
|
+
'operationId': z.string().readonly(),
|
|
99
|
+
})
|
|
100
|
+
const _awiki_dsh_plugin_awiki_discardRecovery_result$schema = z.union([z.object({
|
|
101
|
+
'ok': z.literal(false).readonly(),
|
|
102
|
+
'error': z.object({
|
|
103
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
104
|
+
'message': z.string().readonly(),
|
|
105
|
+
}).readonly(),
|
|
106
|
+
}), z.object({
|
|
107
|
+
'ok': z.literal(true).readonly(),
|
|
108
|
+
'value': z.object({
|
|
109
|
+
'completed': z.literal(true).readonly(),
|
|
110
|
+
}).readonly(),
|
|
111
|
+
})])
|
|
112
|
+
const _awiki_dsh_plugin_awiki_downloadAttachment_parameter_0$schema = z.object({
|
|
20
113
|
'attachmentId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
21
114
|
'messageId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
22
115
|
})
|
|
23
|
-
const
|
|
116
|
+
const _awiki_dsh_plugin_awiki_downloadAttachment_result$schema = z.union([z.object({
|
|
24
117
|
'ok': z.literal(false).readonly(),
|
|
25
118
|
'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(),
|
|
119
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
27
120
|
'message': z.string().readonly(),
|
|
28
121
|
}).readonly(),
|
|
29
122
|
}), z.object({
|
|
@@ -39,10 +132,10 @@ const dsh_awiki_awiki_downloadAttachment_result$schema = z.union([z.object({
|
|
|
39
132
|
'bytesBase64': z.string().readonly(),
|
|
40
133
|
}).readonly(),
|
|
41
134
|
})])
|
|
42
|
-
const
|
|
135
|
+
const _awiki_dsh_plugin_awiki_getConfig_result$schema = z.union([z.object({
|
|
43
136
|
'ok': z.literal(false).readonly(),
|
|
44
137
|
'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(),
|
|
138
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
46
139
|
'message': z.string().readonly(),
|
|
47
140
|
}).readonly(),
|
|
48
141
|
}), z.object({
|
|
@@ -52,15 +145,36 @@ const dsh_awiki_awiki_getConfig_result$schema = z.union([z.object({
|
|
|
52
145
|
'attachmentMaxBytes': z.number().readonly(),
|
|
53
146
|
}).readonly(),
|
|
54
147
|
})])
|
|
55
|
-
const
|
|
148
|
+
const _awiki_dsh_plugin_awiki_getGroup_parameter_0$schema = z.object({
|
|
149
|
+
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
150
|
+
})
|
|
151
|
+
const _awiki_dsh_plugin_awiki_getGroup_result$schema = z.union([z.object({
|
|
152
|
+
'ok': z.literal(false).readonly(),
|
|
153
|
+
'error': z.object({
|
|
154
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
155
|
+
'message': z.string().readonly(),
|
|
156
|
+
}).readonly(),
|
|
157
|
+
}), z.object({
|
|
158
|
+
'ok': z.literal(true).readonly(),
|
|
159
|
+
'value': z.object({
|
|
160
|
+
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
161
|
+
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
162
|
+
'title': z.string().readonly(),
|
|
163
|
+
'description': z.string().readonly().optional(),
|
|
164
|
+
'myRole': z.string().readonly().optional(),
|
|
165
|
+
'membershipStatus': z.string().readonly().optional(),
|
|
166
|
+
'memberCount': z.number().readonly().optional(),
|
|
167
|
+
}).readonly(),
|
|
168
|
+
})])
|
|
169
|
+
const _awiki_dsh_plugin_awiki_getHistory_parameter_0$schema = z.object({
|
|
56
170
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
57
171
|
'cursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
58
172
|
'limit': z.number().readonly().optional(),
|
|
59
173
|
})
|
|
60
|
-
const
|
|
174
|
+
const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
|
|
61
175
|
'ok': z.literal(false).readonly(),
|
|
62
176
|
'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(),
|
|
177
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
64
178
|
'message': z.string().readonly(),
|
|
65
179
|
}).readonly(),
|
|
66
180
|
}), z.object({
|
|
@@ -69,7 +183,7 @@ const dsh_awiki_awiki_getHistory_result$schema = z.union([z.object({
|
|
|
69
183
|
'items': z.array(z.object({
|
|
70
184
|
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
71
185
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
72
|
-
'conversationKind': z.union([z.literal("
|
|
186
|
+
'conversationKind': z.union([z.literal("group"), z.literal("direct")]).readonly(),
|
|
73
187
|
'senderDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
74
188
|
'senderHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
75
189
|
'senderDisplayName': z.string().readonly().optional(),
|
|
@@ -78,6 +192,13 @@ const dsh_awiki_awiki_getHistory_result$schema = z.union([z.object({
|
|
|
78
192
|
'content': z.union([z.object({
|
|
79
193
|
'kind': z.literal("text").readonly(),
|
|
80
194
|
'text': z.string().readonly(),
|
|
195
|
+
'mentions': z.array(z.object({
|
|
196
|
+
'id': z.string().readonly(),
|
|
197
|
+
'start': z.number().readonly(),
|
|
198
|
+
'end': z.number().readonly(),
|
|
199
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
200
|
+
'displayName': z.string().readonly().optional(),
|
|
201
|
+
})).readonly().optional(),
|
|
81
202
|
}), z.object({
|
|
82
203
|
'kind': z.literal("attachment").readonly(),
|
|
83
204
|
'attachment': z.object({
|
|
@@ -94,10 +215,10 @@ const dsh_awiki_awiki_getHistory_result$schema = z.union([z.object({
|
|
|
94
215
|
'hasMore': z.boolean().readonly(),
|
|
95
216
|
}).readonly(),
|
|
96
217
|
})])
|
|
97
|
-
const
|
|
218
|
+
const _awiki_dsh_plugin_awiki_getIdentity_result$schema = z.union([z.object({
|
|
98
219
|
'ok': z.literal(false).readonly(),
|
|
99
220
|
'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(),
|
|
221
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
101
222
|
'message': z.string().readonly(),
|
|
102
223
|
}).readonly(),
|
|
103
224
|
}), z.object({
|
|
@@ -109,10 +230,115 @@ const dsh_awiki_awiki_getIdentity_result$schema = z.union([z.object({
|
|
|
109
230
|
'registeredAt': z.number().readonly(),
|
|
110
231
|
})]).readonly(),
|
|
111
232
|
})])
|
|
112
|
-
const
|
|
233
|
+
const _awiki_dsh_plugin_awiki_getLocalHistory_parameter_0$schema = z.object({
|
|
234
|
+
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
235
|
+
'cursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
236
|
+
'limit': z.number().readonly().optional(),
|
|
237
|
+
})
|
|
238
|
+
const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object({
|
|
239
|
+
'ok': z.literal(false).readonly(),
|
|
240
|
+
'error': z.object({
|
|
241
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
242
|
+
'message': z.string().readonly(),
|
|
243
|
+
}).readonly(),
|
|
244
|
+
}), z.object({
|
|
245
|
+
'ok': z.literal(true).readonly(),
|
|
246
|
+
'value': z.object({
|
|
247
|
+
'items': z.array(z.object({
|
|
248
|
+
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
249
|
+
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
250
|
+
'conversationKind': z.union([z.literal("group"), z.literal("direct")]).readonly(),
|
|
251
|
+
'senderDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
252
|
+
'senderHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
253
|
+
'senderDisplayName': z.string().readonly().optional(),
|
|
254
|
+
'sentAt': z.number().readonly(),
|
|
255
|
+
'outgoing': z.boolean().readonly(),
|
|
256
|
+
'content': z.union([z.object({
|
|
257
|
+
'kind': z.literal("text").readonly(),
|
|
258
|
+
'text': z.string().readonly(),
|
|
259
|
+
'mentions': z.array(z.object({
|
|
260
|
+
'id': z.string().readonly(),
|
|
261
|
+
'start': z.number().readonly(),
|
|
262
|
+
'end': z.number().readonly(),
|
|
263
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
264
|
+
'displayName': z.string().readonly().optional(),
|
|
265
|
+
})).readonly().optional(),
|
|
266
|
+
}), z.object({
|
|
267
|
+
'kind': z.literal("attachment").readonly(),
|
|
268
|
+
'attachment': z.object({
|
|
269
|
+
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
270
|
+
'fileName': z.string().readonly(),
|
|
271
|
+
'mimeType': z.string().readonly(),
|
|
272
|
+
'size': z.number().readonly(),
|
|
273
|
+
'sha256': z.string().readonly(),
|
|
274
|
+
}).readonly(),
|
|
275
|
+
'caption': z.string().readonly().optional(),
|
|
276
|
+
})]).readonly(),
|
|
277
|
+
})).readonly(),
|
|
278
|
+
'nextCursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
279
|
+
'hasMore': z.boolean().readonly(),
|
|
280
|
+
}).readonly(),
|
|
281
|
+
})])
|
|
282
|
+
const _awiki_dsh_plugin_awiki_getMailAccount_result$schema = z.union([z.object({
|
|
283
|
+
'ok': z.literal(false).readonly(),
|
|
284
|
+
'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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
286
|
+
'message': z.string().readonly(),
|
|
287
|
+
}).readonly(),
|
|
288
|
+
}), z.object({
|
|
289
|
+
'ok': z.literal(true).readonly(),
|
|
290
|
+
'value': z.object({
|
|
291
|
+
'mailboxAddress': z.string().readonly().optional(),
|
|
292
|
+
'displayName': z.string().readonly().optional(),
|
|
293
|
+
'status': z.string().readonly().optional(),
|
|
294
|
+
}).readonly(),
|
|
295
|
+
})])
|
|
296
|
+
const _awiki_dsh_plugin_awiki_getProfile_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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
300
|
+
'message': z.string().readonly(),
|
|
301
|
+
}).readonly(),
|
|
302
|
+
}), z.object({
|
|
303
|
+
'ok': z.literal(true).readonly(),
|
|
304
|
+
'value': z.object({
|
|
305
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
306
|
+
'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
307
|
+
'displayName': z.string().readonly(),
|
|
308
|
+
'bio': z.string().readonly(),
|
|
309
|
+
'tags': z.array(z.string()).readonly(),
|
|
310
|
+
'updatedAt': z.string().readonly().optional(),
|
|
311
|
+
}).readonly(),
|
|
312
|
+
})])
|
|
313
|
+
const _awiki_dsh_plugin_awiki_getRecoveryStatus_parameter_0$schema = z.object({
|
|
314
|
+
'operationId': z.string().readonly(),
|
|
315
|
+
})
|
|
316
|
+
const _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema = z.union([z.object({
|
|
317
|
+
'ok': z.literal(false).readonly(),
|
|
318
|
+
'error': z.object({
|
|
319
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
320
|
+
'message': z.string().readonly(),
|
|
321
|
+
}).readonly(),
|
|
322
|
+
}), z.object({
|
|
323
|
+
'ok': z.literal(true).readonly(),
|
|
324
|
+
'value': z.object({
|
|
325
|
+
'operationId': z.string().readonly(),
|
|
326
|
+
'fullHandle': z.string().readonly(),
|
|
327
|
+
'previousDid': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
328
|
+
'currentDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
329
|
+
'phase': z.union([z.literal("awaiting_factor"), z.literal("ready_to_commit"), z.literal("remote_outcome_unknown"), z.literal("remote_committed"), z.literal("identity_transition_pending"), z.literal("applied"), z.literal("quarantined_key_unavailable")]).readonly(),
|
|
330
|
+
'failureCode': z.string().readonly().optional(),
|
|
331
|
+
'retryable': z.boolean().readonly(),
|
|
332
|
+
'localOrdinaryDataWillMigrate': z.boolean().readonly(),
|
|
333
|
+
'otherDevicesMustRejoin': z.boolean().readonly(),
|
|
334
|
+
'unsupportedE2eeGroupCount': z.number().readonly(),
|
|
335
|
+
'unsupportedDidOnlyGroupCount': z.number().readonly(),
|
|
336
|
+
}).readonly(),
|
|
337
|
+
})])
|
|
338
|
+
const _awiki_dsh_plugin_awiki_getSession_result$schema = z.union([z.object({
|
|
113
339
|
'ok': z.literal(false).readonly(),
|
|
114
340
|
'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(),
|
|
341
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
116
342
|
'message': z.string().readonly(),
|
|
117
343
|
}).readonly(),
|
|
118
344
|
}), z.object({
|
|
@@ -131,33 +357,85 @@ const dsh_awiki_awiki_getSession_result$schema = z.union([z.object({
|
|
|
131
357
|
}).readonly(),
|
|
132
358
|
})]).readonly(),
|
|
133
359
|
})])
|
|
134
|
-
const
|
|
360
|
+
const _awiki_dsh_plugin_awiki_inspectIdentityAccess_parameter_0$schema = z.object({
|
|
361
|
+
'handle': z.string().readonly(),
|
|
362
|
+
})
|
|
363
|
+
const _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema = z.union([z.object({
|
|
364
|
+
'ok': z.literal(false).readonly(),
|
|
365
|
+
'error': z.object({
|
|
366
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
367
|
+
'message': z.string().readonly(),
|
|
368
|
+
}).readonly(),
|
|
369
|
+
}), z.object({
|
|
370
|
+
'ok': z.literal(true).readonly(),
|
|
371
|
+
'value': z.object({
|
|
372
|
+
'status': z.union([z.literal("available"), z.literal("existing")]).readonly(),
|
|
373
|
+
'fullHandle': z.string().readonly(),
|
|
374
|
+
}).readonly(),
|
|
375
|
+
})])
|
|
376
|
+
const _awiki_dsh_plugin_awiki_joinGroup_parameter_0$schema = z.object({
|
|
377
|
+
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
378
|
+
})
|
|
379
|
+
const _awiki_dsh_plugin_awiki_joinGroup_result$schema = z.union([z.object({
|
|
380
|
+
'ok': z.literal(false).readonly(),
|
|
381
|
+
'error': z.object({
|
|
382
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
383
|
+
'message': z.string().readonly(),
|
|
384
|
+
}).readonly(),
|
|
385
|
+
}), z.object({
|
|
386
|
+
'ok': z.literal(true).readonly(),
|
|
387
|
+
'value': z.object({
|
|
388
|
+
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
389
|
+
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
390
|
+
'title': z.string().readonly(),
|
|
391
|
+
'description': z.string().readonly().optional(),
|
|
392
|
+
'myRole': z.string().readonly().optional(),
|
|
393
|
+
'membershipStatus': z.string().readonly().optional(),
|
|
394
|
+
'memberCount': z.number().readonly().optional(),
|
|
395
|
+
}).readonly(),
|
|
396
|
+
})])
|
|
397
|
+
const _awiki_dsh_plugin_awiki_leaveGroup_parameter_0$schema = z.object({
|
|
398
|
+
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
399
|
+
})
|
|
400
|
+
const _awiki_dsh_plugin_awiki_leaveGroup_result$schema = z.union([z.object({
|
|
401
|
+
'ok': z.literal(false).readonly(),
|
|
402
|
+
'error': z.object({
|
|
403
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
404
|
+
'message': z.string().readonly(),
|
|
405
|
+
}).readonly(),
|
|
406
|
+
}), z.object({
|
|
407
|
+
'ok': z.literal(true).readonly(),
|
|
408
|
+
'value': z.object({
|
|
409
|
+
'completed': z.literal(true).readonly(),
|
|
410
|
+
}).readonly(),
|
|
411
|
+
})])
|
|
412
|
+
const _awiki_dsh_plugin_awiki_listConversations_parameter_0$schema = z.union([z.undefined(), z.object({
|
|
135
413
|
'cursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
136
414
|
'limit': z.number().readonly().optional(),
|
|
137
415
|
})])
|
|
138
|
-
const
|
|
416
|
+
const _awiki_dsh_plugin_awiki_listConversations_result$schema = z.union([z.object({
|
|
139
417
|
'ok': z.literal(false).readonly(),
|
|
140
418
|
'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(),
|
|
419
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
142
420
|
'message': z.string().readonly(),
|
|
143
421
|
}).readonly(),
|
|
144
422
|
}), z.object({
|
|
145
423
|
'ok': z.literal(true).readonly(),
|
|
146
424
|
'value': z.object({
|
|
147
425
|
'items': z.array(z.union([z.object({
|
|
148
|
-
'kind': z.literal("
|
|
426
|
+
'kind': z.literal("group").readonly(),
|
|
149
427
|
'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(),
|
|
428
|
+
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
153
429
|
'title': z.string().readonly(),
|
|
154
430
|
'unreadCount': z.number().readonly().optional(),
|
|
155
431
|
'lastMessageAt': z.number().readonly().optional(),
|
|
156
432
|
'lastMessagePreview': z.string().readonly().optional(),
|
|
157
433
|
}), z.object({
|
|
158
|
-
'kind': z.literal("
|
|
434
|
+
'kind': z.literal("direct").readonly(),
|
|
159
435
|
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
160
|
-
'
|
|
436
|
+
'peerDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
437
|
+
'peerHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
438
|
+
'displayName': z.string().readonly().optional(),
|
|
161
439
|
'title': z.string().readonly(),
|
|
162
440
|
'unreadCount': z.number().readonly().optional(),
|
|
163
441
|
'lastMessageAt': z.number().readonly().optional(),
|
|
@@ -167,10 +445,79 @@ const dsh_awiki_awiki_listConversations_result$schema = z.union([z.object({
|
|
|
167
445
|
'hasMore': z.boolean().readonly(),
|
|
168
446
|
}).readonly(),
|
|
169
447
|
})])
|
|
170
|
-
const
|
|
448
|
+
const _awiki_dsh_plugin_awiki_listGroupMembers_parameter_0$schema = z.object({
|
|
449
|
+
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
450
|
+
'cursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
451
|
+
'limit': z.number().readonly().optional(),
|
|
452
|
+
})
|
|
453
|
+
const _awiki_dsh_plugin_awiki_listGroupMembers_result$schema = z.union([z.object({
|
|
454
|
+
'ok': z.literal(false).readonly(),
|
|
455
|
+
'error': z.object({
|
|
456
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
457
|
+
'message': z.string().readonly(),
|
|
458
|
+
}).readonly(),
|
|
459
|
+
}), z.object({
|
|
460
|
+
'ok': z.literal(true).readonly(),
|
|
461
|
+
'value': z.object({
|
|
462
|
+
'items': z.array(z.object({
|
|
463
|
+
'membershipId': z.string().readonly().optional(),
|
|
464
|
+
'peerPersonaId': z.string().readonly().optional(),
|
|
465
|
+
'did': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
466
|
+
'credentialDid': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
467
|
+
'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
468
|
+
'displayName': z.string().readonly().optional(),
|
|
469
|
+
'role': z.string().readonly().optional(),
|
|
470
|
+
'status': z.string().readonly().optional(),
|
|
471
|
+
'joinedAt': z.string().readonly().optional(),
|
|
472
|
+
'subjectType': z.string().readonly().optional(),
|
|
473
|
+
})).readonly(),
|
|
474
|
+
'total': z.number().readonly().optional(),
|
|
475
|
+
'nextCursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
476
|
+
'hasMore': z.boolean().readonly(),
|
|
477
|
+
'pageGroup': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
478
|
+
'groupStateVersion': z.string().readonly().optional(),
|
|
479
|
+
'warnings': z.array(z.string()).readonly(),
|
|
480
|
+
}).readonly(),
|
|
481
|
+
})])
|
|
482
|
+
const _awiki_dsh_plugin_awiki_listMailInbox_parameter_0$schema = z.union([z.undefined(), z.object({
|
|
483
|
+
'folder': z.string().readonly().optional(),
|
|
484
|
+
'unreadOnly': z.boolean().readonly().optional(),
|
|
485
|
+
'limit': z.number().readonly().optional(),
|
|
486
|
+
'offset': z.number().readonly().optional(),
|
|
487
|
+
})])
|
|
488
|
+
const _awiki_dsh_plugin_awiki_listMailInbox_result$schema = z.union([z.object({
|
|
489
|
+
'ok': z.literal(false).readonly(),
|
|
490
|
+
'error': z.object({
|
|
491
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
492
|
+
'message': z.string().readonly(),
|
|
493
|
+
}).readonly(),
|
|
494
|
+
}), z.object({
|
|
495
|
+
'ok': z.literal(true).readonly(),
|
|
496
|
+
'value': z.object({
|
|
497
|
+
'items': z.array(z.object({
|
|
498
|
+
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
499
|
+
'folder': z.string().readonly().optional(),
|
|
500
|
+
'from': z.array(z.string()).readonly(),
|
|
501
|
+
'to': z.array(z.string()).readonly(),
|
|
502
|
+
'cc': z.array(z.string()).readonly(),
|
|
503
|
+
'subject': z.string().readonly(),
|
|
504
|
+
'subjectTruncated': z.boolean().readonly(),
|
|
505
|
+
'preview': z.string().readonly().optional(),
|
|
506
|
+
'previewTruncated': z.boolean().readonly(),
|
|
507
|
+
'receivedAt': z.string().readonly().optional(),
|
|
508
|
+
'sentAt': z.string().readonly().optional(),
|
|
509
|
+
'unread': z.boolean().readonly(),
|
|
510
|
+
'hasAttachments': z.boolean().readonly(),
|
|
511
|
+
'attachmentCount': z.number().readonly().optional(),
|
|
512
|
+
})).readonly(),
|
|
513
|
+
'nextOffset': z.number().readonly().optional(),
|
|
514
|
+
'hasMore': z.boolean().readonly(),
|
|
515
|
+
}).readonly(),
|
|
516
|
+
})])
|
|
517
|
+
const _awiki_dsh_plugin_awiki_login_result$schema = z.union([z.object({
|
|
171
518
|
'ok': z.literal(false).readonly(),
|
|
172
519
|
'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(),
|
|
520
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
174
521
|
'message': z.string().readonly(),
|
|
175
522
|
}).readonly(),
|
|
176
523
|
}), z.object({
|
|
@@ -189,13 +536,13 @@ const dsh_awiki_awiki_login_result$schema = z.union([z.object({
|
|
|
189
536
|
}).readonly(),
|
|
190
537
|
})]).readonly(),
|
|
191
538
|
})])
|
|
192
|
-
const
|
|
539
|
+
const _awiki_dsh_plugin_awiki_logout_parameter_0$schema = z.object({
|
|
193
540
|
'confirmation': z.string().readonly(),
|
|
194
541
|
})
|
|
195
|
-
const
|
|
542
|
+
const _awiki_dsh_plugin_awiki_logout_result$schema = z.union([z.object({
|
|
196
543
|
'ok': z.literal(false).readonly(),
|
|
197
544
|
'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(),
|
|
545
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
199
546
|
'message': z.string().readonly(),
|
|
200
547
|
}).readonly(),
|
|
201
548
|
}), z.object({
|
|
@@ -214,83 +561,221 @@ const dsh_awiki_awiki_logout_result$schema = z.union([z.object({
|
|
|
214
561
|
}).readonly(),
|
|
215
562
|
})]).readonly(),
|
|
216
563
|
})])
|
|
217
|
-
const
|
|
564
|
+
const _awiki_dsh_plugin_awiki_markConversationRead_parameter_0$schema = z.object({
|
|
218
565
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
219
566
|
})
|
|
220
|
-
const
|
|
567
|
+
const _awiki_dsh_plugin_awiki_markConversationRead_result$schema = z.union([z.object({
|
|
221
568
|
'ok': z.literal(false).readonly(),
|
|
222
569
|
'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(),
|
|
570
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
224
571
|
'message': z.string().readonly(),
|
|
225
572
|
}).readonly(),
|
|
226
573
|
}), z.object({
|
|
227
574
|
'ok': z.literal(true).readonly(),
|
|
228
575
|
'value': z.number().readonly(),
|
|
229
576
|
})])
|
|
230
|
-
const
|
|
231
|
-
'
|
|
232
|
-
'phone': z.string().readonly(),
|
|
233
|
-
'otp': z.string().readonly(),
|
|
577
|
+
const _awiki_dsh_plugin_awiki_markMailRead_parameter_0$schema = z.object({
|
|
578
|
+
'messageIds': z.array(z.intersection(z.string(), z.unknown())).readonly(),
|
|
234
579
|
})
|
|
235
|
-
const
|
|
580
|
+
const _awiki_dsh_plugin_awiki_markMailRead_result$schema = z.union([z.object({
|
|
236
581
|
'ok': z.literal(false).readonly(),
|
|
237
582
|
'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(),
|
|
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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
239
584
|
'message': z.string().readonly(),
|
|
240
585
|
}).readonly(),
|
|
241
586
|
}), z.object({
|
|
242
587
|
'ok': z.literal(true).readonly(),
|
|
243
588
|
'value': z.object({
|
|
244
|
-
'
|
|
245
|
-
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
246
|
-
'displayName': z.string().readonly().optional(),
|
|
247
|
-
'registeredAt': z.number().readonly(),
|
|
589
|
+
'updated': z.number().readonly(),
|
|
248
590
|
}).readonly(),
|
|
249
591
|
})])
|
|
250
|
-
const
|
|
251
|
-
'
|
|
592
|
+
const _awiki_dsh_plugin_awiki_prepareRecovery_parameter_0$schema = z.object({
|
|
593
|
+
'operationId': z.string().readonly(),
|
|
594
|
+
'phone': z.string().readonly(),
|
|
595
|
+
'otp': z.string().readonly(),
|
|
252
596
|
})
|
|
253
|
-
const
|
|
597
|
+
const _awiki_dsh_plugin_awiki_prepareRecovery_result$schema = z.union([z.object({
|
|
254
598
|
'ok': z.literal(false).readonly(),
|
|
255
599
|
'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(),
|
|
600
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
257
601
|
'message': z.string().readonly(),
|
|
258
602
|
}).readonly(),
|
|
259
603
|
}), z.object({
|
|
260
604
|
'ok': z.literal(true).readonly(),
|
|
261
605
|
'value': z.object({
|
|
262
|
-
'
|
|
263
|
-
'
|
|
264
|
-
'
|
|
265
|
-
'
|
|
606
|
+
'operationId': z.string().readonly(),
|
|
607
|
+
'fullHandle': z.string().readonly(),
|
|
608
|
+
'previousDid': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
609
|
+
'currentDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
610
|
+
'phase': z.union([z.literal("awaiting_factor"), z.literal("ready_to_commit"), z.literal("remote_outcome_unknown"), z.literal("remote_committed"), z.literal("identity_transition_pending"), z.literal("applied"), z.literal("quarantined_key_unavailable")]).readonly(),
|
|
611
|
+
'failureCode': z.string().readonly().optional(),
|
|
612
|
+
'retryable': z.boolean().readonly(),
|
|
613
|
+
'localOrdinaryDataWillMigrate': z.boolean().readonly(),
|
|
614
|
+
'otherDevicesMustRejoin': z.boolean().readonly(),
|
|
615
|
+
'unsupportedE2eeGroupCount': z.number().readonly(),
|
|
616
|
+
'unsupportedDidOnlyGroupCount': z.number().readonly(),
|
|
266
617
|
}).readonly(),
|
|
267
618
|
})])
|
|
268
|
-
const
|
|
269
|
-
'
|
|
270
|
-
'kind': z.literal("direct").readonly(),
|
|
271
|
-
'peer': z.string().readonly(),
|
|
272
|
-
}), z.object({
|
|
273
|
-
'kind': z.literal("group").readonly(),
|
|
274
|
-
'group': z.string().readonly(),
|
|
275
|
-
})]).readonly(),
|
|
276
|
-
'fileName': z.string().readonly(),
|
|
277
|
-
'mimeType': z.string().readonly(),
|
|
278
|
-
'bytesBase64': z.string().readonly(),
|
|
279
|
-
'caption': z.string().readonly().optional(),
|
|
280
|
-
'idempotencyKey': z.string().readonly(),
|
|
619
|
+
const _awiki_dsh_plugin_awiki_readMail_parameter_0$schema = z.object({
|
|
620
|
+
'messageId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
281
621
|
})
|
|
282
|
-
const
|
|
622
|
+
const _awiki_dsh_plugin_awiki_readMail_result$schema = z.union([z.object({
|
|
283
623
|
'ok': z.literal(false).readonly(),
|
|
284
624
|
'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(),
|
|
625
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
286
626
|
'message': z.string().readonly(),
|
|
287
627
|
}).readonly(),
|
|
288
628
|
}), z.object({
|
|
289
629
|
'ok': z.literal(true).readonly(),
|
|
290
630
|
'value': z.object({
|
|
631
|
+
'summary': z.object({
|
|
291
632
|
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
292
|
-
'
|
|
293
|
-
'
|
|
633
|
+
'folder': z.string().readonly().optional(),
|
|
634
|
+
'from': z.array(z.string()).readonly(),
|
|
635
|
+
'to': z.array(z.string()).readonly(),
|
|
636
|
+
'cc': z.array(z.string()).readonly(),
|
|
637
|
+
'subject': z.string().readonly(),
|
|
638
|
+
'subjectTruncated': z.boolean().readonly(),
|
|
639
|
+
'preview': z.string().readonly().optional(),
|
|
640
|
+
'previewTruncated': z.boolean().readonly(),
|
|
641
|
+
'receivedAt': z.string().readonly().optional(),
|
|
642
|
+
'sentAt': z.string().readonly().optional(),
|
|
643
|
+
'unread': z.boolean().readonly(),
|
|
644
|
+
'hasAttachments': z.boolean().readonly(),
|
|
645
|
+
'attachmentCount': z.number().readonly().optional(),
|
|
646
|
+
}).readonly(),
|
|
647
|
+
'bodyText': z.string().readonly().optional(),
|
|
648
|
+
'bodyTruncated': z.boolean().readonly(),
|
|
649
|
+
'hasHtmlBody': z.boolean().readonly(),
|
|
650
|
+
'attachments': z.array(z.object({
|
|
651
|
+
'index': z.number().readonly(),
|
|
652
|
+
'fileName': z.string().readonly().optional(),
|
|
653
|
+
'contentType': z.string().readonly().optional(),
|
|
654
|
+
'sizeBytes': z.string().readonly().optional(),
|
|
655
|
+
})).readonly(),
|
|
656
|
+
}).readonly(),
|
|
657
|
+
})])
|
|
658
|
+
const _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema = z.object({
|
|
659
|
+
'handle': z.string().readonly(),
|
|
660
|
+
'phone': z.string().readonly(),
|
|
661
|
+
'otp': z.string().readonly(),
|
|
662
|
+
})
|
|
663
|
+
const _awiki_dsh_plugin_awiki_registerIdentity_result$schema = z.union([z.object({
|
|
664
|
+
'ok': z.literal(false).readonly(),
|
|
665
|
+
'error': z.object({
|
|
666
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
667
|
+
'message': z.string().readonly(),
|
|
668
|
+
}).readonly(),
|
|
669
|
+
}), z.object({
|
|
670
|
+
'ok': z.literal(true).readonly(),
|
|
671
|
+
'value': z.object({
|
|
672
|
+
'handle': z.intersection(z.string(), z.unknown()).readonly(),
|
|
673
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
674
|
+
'displayName': z.string().readonly().optional(),
|
|
675
|
+
'registeredAt': z.number().readonly(),
|
|
676
|
+
}).readonly(),
|
|
677
|
+
})])
|
|
678
|
+
const _awiki_dsh_plugin_awiki_removeGroupMember_parameter_0$schema = z.object({
|
|
679
|
+
'member': z.string().readonly(),
|
|
680
|
+
'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
681
|
+
})
|
|
682
|
+
const _awiki_dsh_plugin_awiki_removeGroupMember_result$schema = z.union([z.object({
|
|
683
|
+
'ok': z.literal(false).readonly(),
|
|
684
|
+
'error': z.object({
|
|
685
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
686
|
+
'message': z.string().readonly(),
|
|
687
|
+
}).readonly(),
|
|
688
|
+
}), z.object({
|
|
689
|
+
'ok': z.literal(true).readonly(),
|
|
690
|
+
'value': z.object({
|
|
691
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
692
|
+
'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
693
|
+
}).readonly(),
|
|
694
|
+
})])
|
|
695
|
+
const _awiki_dsh_plugin_awiki_resolvePeer_parameter_0$schema = z.object({
|
|
696
|
+
'peer': z.string().readonly(),
|
|
697
|
+
})
|
|
698
|
+
const _awiki_dsh_plugin_awiki_resolvePeer_result$schema = z.union([z.object({
|
|
699
|
+
'ok': z.literal(false).readonly(),
|
|
700
|
+
'error': z.object({
|
|
701
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
702
|
+
'message': z.string().readonly(),
|
|
703
|
+
}).readonly(),
|
|
704
|
+
}), z.object({
|
|
705
|
+
'ok': z.literal(true).readonly(),
|
|
706
|
+
'value': z.object({
|
|
707
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
708
|
+
'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
709
|
+
'displayName': z.string().readonly().optional(),
|
|
710
|
+
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
711
|
+
}).readonly(),
|
|
712
|
+
})])
|
|
713
|
+
const _awiki_dsh_plugin_awiki_resumeGroupRebindRecovery_result$schema = z.union([z.object({
|
|
714
|
+
'ok': z.literal(false).readonly(),
|
|
715
|
+
'error': z.object({
|
|
716
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
717
|
+
'message': z.string().readonly(),
|
|
718
|
+
}).readonly(),
|
|
719
|
+
}), z.object({
|
|
720
|
+
'ok': z.literal(true).readonly(),
|
|
721
|
+
'value': z.object({
|
|
722
|
+
'processed': z.number().readonly(),
|
|
723
|
+
'completed': z.number().readonly(),
|
|
724
|
+
'pending': z.number().readonly(),
|
|
725
|
+
'blocked': z.number().readonly(),
|
|
726
|
+
}).readonly(),
|
|
727
|
+
})])
|
|
728
|
+
const _awiki_dsh_plugin_awiki_resumeRecovery_parameter_0$schema = z.object({
|
|
729
|
+
'operationId': z.string().readonly(),
|
|
730
|
+
})
|
|
731
|
+
const _awiki_dsh_plugin_awiki_resumeRecovery_result$schema = z.union([z.object({
|
|
732
|
+
'ok': z.literal(false).readonly(),
|
|
733
|
+
'error': z.object({
|
|
734
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
735
|
+
'message': z.string().readonly(),
|
|
736
|
+
}).readonly(),
|
|
737
|
+
}), z.object({
|
|
738
|
+
'ok': z.literal(true).readonly(),
|
|
739
|
+
'value': z.object({
|
|
740
|
+
'operationId': z.string().readonly(),
|
|
741
|
+
'fullHandle': z.string().readonly(),
|
|
742
|
+
'previousDid': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
743
|
+
'currentDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
744
|
+
'phase': z.union([z.literal("awaiting_factor"), z.literal("ready_to_commit"), z.literal("remote_outcome_unknown"), z.literal("remote_committed"), z.literal("identity_transition_pending"), z.literal("applied"), z.literal("quarantined_key_unavailable")]).readonly(),
|
|
745
|
+
'failureCode': z.string().readonly().optional(),
|
|
746
|
+
'retryable': z.boolean().readonly(),
|
|
747
|
+
'localOrdinaryDataWillMigrate': z.boolean().readonly(),
|
|
748
|
+
'otherDevicesMustRejoin': z.boolean().readonly(),
|
|
749
|
+
'unsupportedE2eeGroupCount': z.number().readonly(),
|
|
750
|
+
'unsupportedDidOnlyGroupCount': z.number().readonly(),
|
|
751
|
+
}).readonly(),
|
|
752
|
+
})])
|
|
753
|
+
const _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema = z.object({
|
|
754
|
+
'target': z.union([z.object({
|
|
755
|
+
'kind': z.literal("direct").readonly(),
|
|
756
|
+
'peer': z.string().readonly(),
|
|
757
|
+
}), z.object({
|
|
758
|
+
'kind': z.literal("group").readonly(),
|
|
759
|
+
'group': z.string().readonly(),
|
|
760
|
+
})]).readonly(),
|
|
761
|
+
'fileName': z.string().readonly(),
|
|
762
|
+
'mimeType': z.string().readonly(),
|
|
763
|
+
'bytesBase64': z.string().readonly(),
|
|
764
|
+
'caption': z.string().readonly().optional(),
|
|
765
|
+
'idempotencyKey': z.string().readonly(),
|
|
766
|
+
})
|
|
767
|
+
const _awiki_dsh_plugin_awiki_sendAttachment_result$schema = z.union([z.object({
|
|
768
|
+
'ok': z.literal(false).readonly(),
|
|
769
|
+
'error': z.object({
|
|
770
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
771
|
+
'message': z.string().readonly(),
|
|
772
|
+
}).readonly(),
|
|
773
|
+
}), z.object({
|
|
774
|
+
'ok': z.literal(true).readonly(),
|
|
775
|
+
'value': z.object({
|
|
776
|
+
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
777
|
+
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
778
|
+
'conversationKind': z.union([z.literal("group"), z.literal("direct")]).readonly(),
|
|
294
779
|
'senderDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
295
780
|
'senderHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
296
781
|
'senderDisplayName': z.string().readonly().optional(),
|
|
@@ -299,6 +784,13 @@ const dsh_awiki_awiki_sendAttachment_result$schema = z.union([z.object({
|
|
|
299
784
|
'content': z.union([z.object({
|
|
300
785
|
'kind': z.literal("text").readonly(),
|
|
301
786
|
'text': z.string().readonly(),
|
|
787
|
+
'mentions': z.array(z.object({
|
|
788
|
+
'id': z.string().readonly(),
|
|
789
|
+
'start': z.number().readonly(),
|
|
790
|
+
'end': z.number().readonly(),
|
|
791
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
792
|
+
'displayName': z.string().readonly().optional(),
|
|
793
|
+
})).readonly().optional(),
|
|
302
794
|
}), z.object({
|
|
303
795
|
'kind': z.literal("attachment").readonly(),
|
|
304
796
|
'attachment': z.object({
|
|
@@ -312,14 +804,53 @@ const dsh_awiki_awiki_sendAttachment_result$schema = z.union([z.object({
|
|
|
312
804
|
})]).readonly(),
|
|
313
805
|
}).readonly(),
|
|
314
806
|
})])
|
|
315
|
-
const
|
|
807
|
+
const _awiki_dsh_plugin_awiki_sendMail_parameter_0$schema = z.object({
|
|
808
|
+
'to': z.array(z.string()).readonly(),
|
|
809
|
+
'cc': z.array(z.string()).readonly().optional(),
|
|
810
|
+
'subject': z.string().readonly(),
|
|
811
|
+
'bodyText': z.string().readonly(),
|
|
812
|
+
})
|
|
813
|
+
const _awiki_dsh_plugin_awiki_sendMail_result$schema = z.union([z.object({
|
|
814
|
+
'ok': z.literal(false).readonly(),
|
|
815
|
+
'error': z.object({
|
|
816
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
817
|
+
'message': z.string().readonly(),
|
|
818
|
+
}).readonly(),
|
|
819
|
+
}), z.object({
|
|
820
|
+
'ok': z.literal(true).readonly(),
|
|
821
|
+
'value': z.object({
|
|
822
|
+
'accepted': z.boolean().readonly(),
|
|
823
|
+
'messageId': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
824
|
+
'warnings': z.array(z.string()).readonly(),
|
|
825
|
+
}).readonly(),
|
|
826
|
+
})])
|
|
827
|
+
const _awiki_dsh_plugin_awiki_sendRecoveryOtp_parameter_0$schema = z.object({
|
|
828
|
+
'fullHandle': z.string().readonly(),
|
|
829
|
+
'phone': z.string().readonly(),
|
|
830
|
+
})
|
|
831
|
+
const _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema = z.union([z.object({
|
|
832
|
+
'ok': z.literal(false).readonly(),
|
|
833
|
+
'error': z.object({
|
|
834
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
835
|
+
'message': z.string().readonly(),
|
|
836
|
+
}).readonly(),
|
|
837
|
+
}), z.object({
|
|
838
|
+
'ok': z.literal(true).readonly(),
|
|
839
|
+
'value': z.object({
|
|
840
|
+
'operationId': z.string().readonly(),
|
|
841
|
+
'fullHandle': z.string().readonly(),
|
|
842
|
+
'retryAfterSeconds': z.number().readonly(),
|
|
843
|
+
'retryAt': z.string().readonly(),
|
|
844
|
+
}).readonly(),
|
|
845
|
+
})])
|
|
846
|
+
const _awiki_dsh_plugin_awiki_sendRegistrationOtp_parameter_0$schema = z.object({
|
|
316
847
|
'handle': z.string().readonly(),
|
|
317
848
|
'phone': z.string().readonly(),
|
|
318
849
|
})
|
|
319
|
-
const
|
|
850
|
+
const _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema = z.union([z.object({
|
|
320
851
|
'ok': z.literal(false).readonly(),
|
|
321
852
|
'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(),
|
|
853
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
323
854
|
'message': z.string().readonly(),
|
|
324
855
|
}).readonly(),
|
|
325
856
|
}), z.object({
|
|
@@ -329,7 +860,7 @@ const dsh_awiki_awiki_sendRegistrationOtp_result$schema = z.union([z.object({
|
|
|
329
860
|
'retryAt': z.string().readonly(),
|
|
330
861
|
}).readonly(),
|
|
331
862
|
})])
|
|
332
|
-
const
|
|
863
|
+
const _awiki_dsh_plugin_awiki_sendText_parameter_0$schema = z.object({
|
|
333
864
|
'target': z.union([z.object({
|
|
334
865
|
'kind': z.literal("direct").readonly(),
|
|
335
866
|
'peer': z.string().readonly(),
|
|
@@ -339,11 +870,18 @@ const dsh_awiki_awiki_sendText_parameter_0$schema = z.object({
|
|
|
339
870
|
})]).readonly(),
|
|
340
871
|
'text': z.string().readonly(),
|
|
341
872
|
'idempotencyKey': z.string().readonly(),
|
|
873
|
+
'mentions': z.array(z.object({
|
|
874
|
+
'id': z.string().readonly(),
|
|
875
|
+
'start': z.number().readonly(),
|
|
876
|
+
'end': z.number().readonly(),
|
|
877
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
878
|
+
'displayName': z.string().readonly().optional(),
|
|
879
|
+
})).readonly().optional(),
|
|
342
880
|
})
|
|
343
|
-
const
|
|
881
|
+
const _awiki_dsh_plugin_awiki_sendText_result$schema = z.union([z.object({
|
|
344
882
|
'ok': z.literal(false).readonly(),
|
|
345
883
|
'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(),
|
|
884
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
347
885
|
'message': z.string().readonly(),
|
|
348
886
|
}).readonly(),
|
|
349
887
|
}), z.object({
|
|
@@ -351,7 +889,7 @@ const dsh_awiki_awiki_sendText_result$schema = z.union([z.object({
|
|
|
351
889
|
'value': z.object({
|
|
352
890
|
'id': z.intersection(z.string(), z.unknown()).readonly(),
|
|
353
891
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
354
|
-
'conversationKind': z.union([z.literal("
|
|
892
|
+
'conversationKind': z.union([z.literal("group"), z.literal("direct")]).readonly(),
|
|
355
893
|
'senderDid': z.intersection(z.string(), z.unknown()).readonly(),
|
|
356
894
|
'senderHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
357
895
|
'senderDisplayName': z.string().readonly().optional(),
|
|
@@ -360,6 +898,13 @@ const dsh_awiki_awiki_sendText_result$schema = z.union([z.object({
|
|
|
360
898
|
'content': z.union([z.object({
|
|
361
899
|
'kind': z.literal("text").readonly(),
|
|
362
900
|
'text': z.string().readonly(),
|
|
901
|
+
'mentions': z.array(z.object({
|
|
902
|
+
'id': z.string().readonly(),
|
|
903
|
+
'start': z.number().readonly(),
|
|
904
|
+
'end': z.number().readonly(),
|
|
905
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
906
|
+
'displayName': z.string().readonly().optional(),
|
|
907
|
+
})).readonly().optional(),
|
|
363
908
|
}), z.object({
|
|
364
909
|
'kind': z.literal("attachment").readonly(),
|
|
365
910
|
'attachment': z.object({
|
|
@@ -373,14 +918,14 @@ const dsh_awiki_awiki_sendText_result$schema = z.union([z.object({
|
|
|
373
918
|
})]).readonly(),
|
|
374
919
|
}).readonly(),
|
|
375
920
|
})])
|
|
376
|
-
const
|
|
921
|
+
const _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema = z.object({
|
|
377
922
|
'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
378
923
|
'unreadCountAtOpen': z.number().readonly().optional(),
|
|
379
924
|
})
|
|
380
|
-
const
|
|
925
|
+
const _awiki_dsh_plugin_awiki_summarizeConversation_result$schema = z.union([z.object({
|
|
381
926
|
'ok': z.literal(false).readonly(),
|
|
382
927
|
'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(),
|
|
928
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
384
929
|
'message': z.string().readonly(),
|
|
385
930
|
}).readonly(),
|
|
386
931
|
}), z.object({
|
|
@@ -403,13 +948,13 @@ const dsh_awiki_awiki_summarizeConversation_result$schema = z.union([z.object({
|
|
|
403
948
|
})).readonly(),
|
|
404
949
|
}).readonly(),
|
|
405
950
|
})])
|
|
406
|
-
const
|
|
951
|
+
const _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema = z.object({
|
|
407
952
|
'displayName': z.string().readonly(),
|
|
408
953
|
})
|
|
409
|
-
const
|
|
954
|
+
const _awiki_dsh_plugin_awiki_updateDisplayName_result$schema = z.union([z.object({
|
|
410
955
|
'ok': z.literal(false).readonly(),
|
|
411
956
|
'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(),
|
|
957
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
413
958
|
'message': z.string().readonly(),
|
|
414
959
|
}).readonly(),
|
|
415
960
|
}), z.object({
|
|
@@ -421,10 +966,82 @@ const dsh_awiki_awiki_updateDisplayName_result$schema = z.union([z.object({
|
|
|
421
966
|
'registeredAt': z.number().readonly(),
|
|
422
967
|
}).readonly(),
|
|
423
968
|
})])
|
|
969
|
+
const _awiki_dsh_plugin_awiki_updateProfile_parameter_0$schema = z.object({
|
|
970
|
+
'displayName': z.string().readonly(),
|
|
971
|
+
'bio': z.string().readonly(),
|
|
972
|
+
'tags': z.array(z.string()).readonly(),
|
|
973
|
+
})
|
|
974
|
+
const _awiki_dsh_plugin_awiki_updateProfile_result$schema = z.union([z.object({
|
|
975
|
+
'ok': z.literal(false).readonly(),
|
|
976
|
+
'error': z.object({
|
|
977
|
+
'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
|
|
978
|
+
'message': z.string().readonly(),
|
|
979
|
+
}).readonly(),
|
|
980
|
+
}), z.object({
|
|
981
|
+
'ok': z.literal(true).readonly(),
|
|
982
|
+
'value': z.object({
|
|
983
|
+
'did': z.intersection(z.string(), z.unknown()).readonly(),
|
|
984
|
+
'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
985
|
+
'displayName': z.string().readonly(),
|
|
986
|
+
'bio': z.string().readonly(),
|
|
987
|
+
'tags': z.array(z.string()).readonly(),
|
|
988
|
+
'updatedAt': z.string().readonly().optional(),
|
|
989
|
+
}).readonly(),
|
|
990
|
+
})])
|
|
424
991
|
|
|
425
992
|
export const TYPERT_REMOTE = {
|
|
426
993
|
package: '@awiki/dsh-plugin',
|
|
427
994
|
descriptors: [
|
|
995
|
+
{
|
|
996
|
+
id: '@awiki/dsh-plugin#awiki/activateRecovery',
|
|
997
|
+
service: 'awiki',
|
|
998
|
+
namespace: 'awiki',
|
|
999
|
+
method: 'activateRecovery',
|
|
1000
|
+
invocation: { kind: 'direct' },
|
|
1001
|
+
parameters: [
|
|
1002
|
+
{
|
|
1003
|
+
name: 'request',
|
|
1004
|
+
wire: 'request',
|
|
1005
|
+
source: 'json',
|
|
1006
|
+
codec: {
|
|
1007
|
+
mode: 'strict',
|
|
1008
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryOperationRequest',
|
|
1009
|
+
schema: _awiki_dsh_plugin_awiki_activateRecovery_parameter_0$schema,
|
|
1010
|
+
},
|
|
1011
|
+
},
|
|
1012
|
+
],
|
|
1013
|
+
result: {
|
|
1014
|
+
mode: 'strict',
|
|
1015
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1016
|
+
schema: _awiki_dsh_plugin_awiki_activateRecovery_result$schema,
|
|
1017
|
+
},
|
|
1018
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":115,"column":9},
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
id: '@awiki/dsh-plugin#awiki/addGroupMember',
|
|
1022
|
+
service: 'awiki',
|
|
1023
|
+
namespace: 'awiki',
|
|
1024
|
+
method: 'addGroupMember',
|
|
1025
|
+
invocation: { kind: 'direct' },
|
|
1026
|
+
parameters: [
|
|
1027
|
+
{
|
|
1028
|
+
name: 'request',
|
|
1029
|
+
wire: 'request',
|
|
1030
|
+
source: 'json',
|
|
1031
|
+
codec: {
|
|
1032
|
+
mode: 'strict',
|
|
1033
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiAddGroupMemberRequest',
|
|
1034
|
+
schema: _awiki_dsh_plugin_awiki_addGroupMember_parameter_0$schema,
|
|
1035
|
+
},
|
|
1036
|
+
},
|
|
1037
|
+
],
|
|
1038
|
+
result: {
|
|
1039
|
+
mode: 'strict',
|
|
1040
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1041
|
+
schema: _awiki_dsh_plugin_awiki_addGroupMember_result$schema,
|
|
1042
|
+
},
|
|
1043
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":145,"column":3},
|
|
1044
|
+
},
|
|
428
1045
|
{
|
|
429
1046
|
id: '@awiki/dsh-plugin#awiki/clearLocalData',
|
|
430
1047
|
service: 'awiki',
|
|
@@ -438,23 +1055,233 @@ export const TYPERT_REMOTE = {
|
|
|
438
1055
|
source: 'json',
|
|
439
1056
|
codec: {
|
|
440
1057
|
mode: 'strict',
|
|
441
|
-
typeSymbol: '@awiki/dsh-plugin/types#AwikiClearLocalDataRequest',
|
|
442
|
-
schema:
|
|
1058
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiClearLocalDataRequest',
|
|
1059
|
+
schema: _awiki_dsh_plugin_awiki_clearLocalData_parameter_0$schema,
|
|
1060
|
+
},
|
|
1061
|
+
},
|
|
1062
|
+
],
|
|
1063
|
+
result: {
|
|
1064
|
+
mode: 'strict',
|
|
1065
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1066
|
+
schema: _awiki_dsh_plugin_awiki_clearLocalData_result$schema,
|
|
1067
|
+
},
|
|
1068
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":195,"column":3},
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
id: '@awiki/dsh-plugin#awiki/createGroup',
|
|
1072
|
+
service: 'awiki',
|
|
1073
|
+
namespace: 'awiki',
|
|
1074
|
+
method: 'createGroup',
|
|
1075
|
+
invocation: { kind: 'direct' },
|
|
1076
|
+
parameters: [
|
|
1077
|
+
{
|
|
1078
|
+
name: 'request',
|
|
1079
|
+
wire: 'request',
|
|
1080
|
+
source: 'json',
|
|
1081
|
+
codec: {
|
|
1082
|
+
mode: 'strict',
|
|
1083
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiCreateGroupRequest',
|
|
1084
|
+
schema: _awiki_dsh_plugin_awiki_createGroup_parameter_0$schema,
|
|
1085
|
+
},
|
|
1086
|
+
},
|
|
1087
|
+
],
|
|
1088
|
+
result: {
|
|
1089
|
+
mode: 'strict',
|
|
1090
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1091
|
+
schema: _awiki_dsh_plugin_awiki_createGroup_result$schema,
|
|
1092
|
+
},
|
|
1093
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":130,"column":9},
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
id: '@awiki/dsh-plugin#awiki/discardRecovery',
|
|
1097
|
+
service: 'awiki',
|
|
1098
|
+
namespace: 'awiki',
|
|
1099
|
+
method: 'discardRecovery',
|
|
1100
|
+
invocation: { kind: 'direct' },
|
|
1101
|
+
parameters: [
|
|
1102
|
+
{
|
|
1103
|
+
name: 'request',
|
|
1104
|
+
wire: 'request',
|
|
1105
|
+
source: 'json',
|
|
1106
|
+
codec: {
|
|
1107
|
+
mode: 'strict',
|
|
1108
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryOperationRequest',
|
|
1109
|
+
schema: _awiki_dsh_plugin_awiki_discardRecovery_parameter_0$schema,
|
|
1110
|
+
},
|
|
1111
|
+
},
|
|
1112
|
+
],
|
|
1113
|
+
result: {
|
|
1114
|
+
mode: 'strict',
|
|
1115
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1116
|
+
schema: _awiki_dsh_plugin_awiki_discardRecovery_result$schema,
|
|
1117
|
+
},
|
|
1118
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":124,"column":9},
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
id: '@awiki/dsh-plugin#awiki/downloadAttachment',
|
|
1122
|
+
service: 'awiki',
|
|
1123
|
+
namespace: 'awiki',
|
|
1124
|
+
method: 'downloadAttachment',
|
|
1125
|
+
invocation: { kind: 'direct' },
|
|
1126
|
+
parameters: [
|
|
1127
|
+
{
|
|
1128
|
+
name: 'request',
|
|
1129
|
+
wire: 'request',
|
|
1130
|
+
source: 'json',
|
|
1131
|
+
codec: {
|
|
1132
|
+
mode: 'strict',
|
|
1133
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiDownloadAttachmentRequest',
|
|
1134
|
+
schema: _awiki_dsh_plugin_awiki_downloadAttachment_parameter_0$schema,
|
|
1135
|
+
},
|
|
1136
|
+
},
|
|
1137
|
+
],
|
|
1138
|
+
result: {
|
|
1139
|
+
mode: 'strict',
|
|
1140
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1141
|
+
schema: _awiki_dsh_plugin_awiki_downloadAttachment_result$schema,
|
|
1142
|
+
},
|
|
1143
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":177,"column":9},
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
id: '@awiki/dsh-plugin#awiki/getConfig',
|
|
1147
|
+
service: 'awiki',
|
|
1148
|
+
namespace: 'awiki',
|
|
1149
|
+
method: 'getConfig',
|
|
1150
|
+
invocation: { kind: 'direct' },
|
|
1151
|
+
parameters: [
|
|
1152
|
+
],
|
|
1153
|
+
result: {
|
|
1154
|
+
mode: 'strict',
|
|
1155
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1156
|
+
schema: _awiki_dsh_plugin_awiki_getConfig_result$schema,
|
|
1157
|
+
},
|
|
1158
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":74,"column":3},
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
id: '@awiki/dsh-plugin#awiki/getGroup',
|
|
1162
|
+
service: 'awiki',
|
|
1163
|
+
namespace: 'awiki',
|
|
1164
|
+
method: 'getGroup',
|
|
1165
|
+
invocation: { kind: 'direct' },
|
|
1166
|
+
parameters: [
|
|
1167
|
+
{
|
|
1168
|
+
name: 'request',
|
|
1169
|
+
wire: 'request',
|
|
1170
|
+
source: 'json',
|
|
1171
|
+
codec: {
|
|
1172
|
+
mode: 'strict',
|
|
1173
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiGroupRequest',
|
|
1174
|
+
schema: _awiki_dsh_plugin_awiki_getGroup_parameter_0$schema,
|
|
1175
|
+
},
|
|
1176
|
+
},
|
|
1177
|
+
],
|
|
1178
|
+
result: {
|
|
1179
|
+
mode: 'strict',
|
|
1180
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1181
|
+
schema: _awiki_dsh_plugin_awiki_getGroup_result$schema,
|
|
1182
|
+
},
|
|
1183
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":133,"column":3},
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
id: '@awiki/dsh-plugin#awiki/getHistory',
|
|
1187
|
+
service: 'awiki',
|
|
1188
|
+
namespace: 'awiki',
|
|
1189
|
+
method: 'getHistory',
|
|
1190
|
+
invocation: { kind: 'direct' },
|
|
1191
|
+
parameters: [
|
|
1192
|
+
{
|
|
1193
|
+
name: 'request',
|
|
1194
|
+
wire: 'request',
|
|
1195
|
+
source: 'json',
|
|
1196
|
+
codec: {
|
|
1197
|
+
mode: 'strict',
|
|
1198
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiHistoryRequest',
|
|
1199
|
+
schema: _awiki_dsh_plugin_awiki_getHistory_parameter_0$schema,
|
|
1200
|
+
},
|
|
1201
|
+
},
|
|
1202
|
+
],
|
|
1203
|
+
result: {
|
|
1204
|
+
mode: 'strict',
|
|
1205
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1206
|
+
schema: _awiki_dsh_plugin_awiki_getHistory_result$schema,
|
|
1207
|
+
},
|
|
1208
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":157,"column":3},
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
id: '@awiki/dsh-plugin#awiki/getIdentity',
|
|
1212
|
+
service: 'awiki',
|
|
1213
|
+
namespace: 'awiki',
|
|
1214
|
+
method: 'getIdentity',
|
|
1215
|
+
invocation: { kind: 'direct' },
|
|
1216
|
+
parameters: [
|
|
1217
|
+
],
|
|
1218
|
+
result: {
|
|
1219
|
+
mode: 'strict',
|
|
1220
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1221
|
+
schema: _awiki_dsh_plugin_awiki_getIdentity_result$schema,
|
|
1222
|
+
},
|
|
1223
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":77,"column":9},
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
id: '@awiki/dsh-plugin#awiki/getLocalHistory',
|
|
1227
|
+
service: 'awiki',
|
|
1228
|
+
namespace: 'awiki',
|
|
1229
|
+
method: 'getLocalHistory',
|
|
1230
|
+
invocation: { kind: 'direct' },
|
|
1231
|
+
parameters: [
|
|
1232
|
+
{
|
|
1233
|
+
name: 'request',
|
|
1234
|
+
wire: 'request',
|
|
1235
|
+
source: 'json',
|
|
1236
|
+
codec: {
|
|
1237
|
+
mode: 'strict',
|
|
1238
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiHistoryRequest',
|
|
1239
|
+
schema: _awiki_dsh_plugin_awiki_getLocalHistory_parameter_0$schema,
|
|
443
1240
|
},
|
|
444
1241
|
},
|
|
445
1242
|
],
|
|
446
1243
|
result: {
|
|
447
1244
|
mode: 'strict',
|
|
448
1245
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
449
|
-
schema:
|
|
1246
|
+
schema: _awiki_dsh_plugin_awiki_getLocalHistory_result$schema,
|
|
450
1247
|
},
|
|
451
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1248
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":160,"column":3},
|
|
452
1249
|
},
|
|
453
1250
|
{
|
|
454
|
-
id: '@awiki/dsh-plugin#awiki/
|
|
1251
|
+
id: '@awiki/dsh-plugin#awiki/getMailAccount',
|
|
455
1252
|
service: 'awiki',
|
|
456
1253
|
namespace: 'awiki',
|
|
457
|
-
method: '
|
|
1254
|
+
method: 'getMailAccount',
|
|
1255
|
+
invocation: { kind: 'direct' },
|
|
1256
|
+
parameters: [
|
|
1257
|
+
],
|
|
1258
|
+
result: {
|
|
1259
|
+
mode: 'strict',
|
|
1260
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1261
|
+
schema: _awiki_dsh_plugin_awiki_getMailAccount_result$schema,
|
|
1262
|
+
},
|
|
1263
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":180,"column":3},
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
id: '@awiki/dsh-plugin#awiki/getProfile',
|
|
1267
|
+
service: 'awiki',
|
|
1268
|
+
namespace: 'awiki',
|
|
1269
|
+
method: 'getProfile',
|
|
1270
|
+
invocation: { kind: 'direct' },
|
|
1271
|
+
parameters: [
|
|
1272
|
+
],
|
|
1273
|
+
result: {
|
|
1274
|
+
mode: 'strict',
|
|
1275
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1276
|
+
schema: _awiki_dsh_plugin_awiki_getProfile_result$schema,
|
|
1277
|
+
},
|
|
1278
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":103,"column":3},
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
id: '@awiki/dsh-plugin#awiki/getRecoveryStatus',
|
|
1282
|
+
service: 'awiki',
|
|
1283
|
+
namespace: 'awiki',
|
|
1284
|
+
method: 'getRecoveryStatus',
|
|
458
1285
|
invocation: { kind: 'direct' },
|
|
459
1286
|
parameters: [
|
|
460
1287
|
{
|
|
@@ -463,38 +1290,38 @@ export const TYPERT_REMOTE = {
|
|
|
463
1290
|
source: 'json',
|
|
464
1291
|
codec: {
|
|
465
1292
|
mode: 'strict',
|
|
466
|
-
typeSymbol: '@awiki/dsh-plugin/types#
|
|
467
|
-
schema:
|
|
1293
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryOperationRequest',
|
|
1294
|
+
schema: _awiki_dsh_plugin_awiki_getRecoveryStatus_parameter_0$schema,
|
|
468
1295
|
},
|
|
469
1296
|
},
|
|
470
1297
|
],
|
|
471
1298
|
result: {
|
|
472
1299
|
mode: 'strict',
|
|
473
1300
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
474
|
-
schema:
|
|
1301
|
+
schema: _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema,
|
|
475
1302
|
},
|
|
476
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1303
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":118,"column":9},
|
|
477
1304
|
},
|
|
478
1305
|
{
|
|
479
|
-
id: '@awiki/dsh-plugin#awiki/
|
|
1306
|
+
id: '@awiki/dsh-plugin#awiki/getSession',
|
|
480
1307
|
service: 'awiki',
|
|
481
1308
|
namespace: 'awiki',
|
|
482
|
-
method: '
|
|
1309
|
+
method: 'getSession',
|
|
483
1310
|
invocation: { kind: 'direct' },
|
|
484
1311
|
parameters: [
|
|
485
1312
|
],
|
|
486
1313
|
result: {
|
|
487
1314
|
mode: 'strict',
|
|
488
1315
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
489
|
-
schema:
|
|
1316
|
+
schema: _awiki_dsh_plugin_awiki_getSession_result$schema,
|
|
490
1317
|
},
|
|
491
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1318
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":80,"column":9},
|
|
492
1319
|
},
|
|
493
1320
|
{
|
|
494
|
-
id: '@awiki/dsh-plugin#awiki/
|
|
1321
|
+
id: '@awiki/dsh-plugin#awiki/inspectIdentityAccess',
|
|
495
1322
|
service: 'awiki',
|
|
496
1323
|
namespace: 'awiki',
|
|
497
|
-
method: '
|
|
1324
|
+
method: 'inspectIdentityAccess',
|
|
498
1325
|
invocation: { kind: 'direct' },
|
|
499
1326
|
parameters: [
|
|
500
1327
|
{
|
|
@@ -503,47 +1330,67 @@ export const TYPERT_REMOTE = {
|
|
|
503
1330
|
source: 'json',
|
|
504
1331
|
codec: {
|
|
505
1332
|
mode: 'strict',
|
|
506
|
-
typeSymbol: '@awiki/dsh-plugin/types#
|
|
507
|
-
schema:
|
|
1333
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiIdentityAccessInspectionRequest',
|
|
1334
|
+
schema: _awiki_dsh_plugin_awiki_inspectIdentityAccess_parameter_0$schema,
|
|
508
1335
|
},
|
|
509
1336
|
},
|
|
510
1337
|
],
|
|
511
1338
|
result: {
|
|
512
1339
|
mode: 'strict',
|
|
513
1340
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
514
|
-
schema:
|
|
1341
|
+
schema: _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema,
|
|
515
1342
|
},
|
|
516
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1343
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":89,"column":9},
|
|
517
1344
|
},
|
|
518
1345
|
{
|
|
519
|
-
id: '@awiki/dsh-plugin#awiki/
|
|
1346
|
+
id: '@awiki/dsh-plugin#awiki/joinGroup',
|
|
520
1347
|
service: 'awiki',
|
|
521
1348
|
namespace: 'awiki',
|
|
522
|
-
method: '
|
|
1349
|
+
method: 'joinGroup',
|
|
523
1350
|
invocation: { kind: 'direct' },
|
|
524
1351
|
parameters: [
|
|
1352
|
+
{
|
|
1353
|
+
name: 'request',
|
|
1354
|
+
wire: 'request',
|
|
1355
|
+
source: 'json',
|
|
1356
|
+
codec: {
|
|
1357
|
+
mode: 'strict',
|
|
1358
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiGroupRequest',
|
|
1359
|
+
schema: _awiki_dsh_plugin_awiki_joinGroup_parameter_0$schema,
|
|
1360
|
+
},
|
|
1361
|
+
},
|
|
525
1362
|
],
|
|
526
1363
|
result: {
|
|
527
1364
|
mode: 'strict',
|
|
528
1365
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
529
|
-
schema:
|
|
1366
|
+
schema: _awiki_dsh_plugin_awiki_joinGroup_result$schema,
|
|
530
1367
|
},
|
|
531
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1368
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":136,"column":3},
|
|
532
1369
|
},
|
|
533
1370
|
{
|
|
534
|
-
id: '@awiki/dsh-plugin#awiki/
|
|
1371
|
+
id: '@awiki/dsh-plugin#awiki/leaveGroup',
|
|
535
1372
|
service: 'awiki',
|
|
536
1373
|
namespace: 'awiki',
|
|
537
|
-
method: '
|
|
1374
|
+
method: 'leaveGroup',
|
|
538
1375
|
invocation: { kind: 'direct' },
|
|
539
1376
|
parameters: [
|
|
1377
|
+
{
|
|
1378
|
+
name: 'request',
|
|
1379
|
+
wire: 'request',
|
|
1380
|
+
source: 'json',
|
|
1381
|
+
codec: {
|
|
1382
|
+
mode: 'strict',
|
|
1383
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiGroupRequest',
|
|
1384
|
+
schema: _awiki_dsh_plugin_awiki_leaveGroup_parameter_0$schema,
|
|
1385
|
+
},
|
|
1386
|
+
},
|
|
540
1387
|
],
|
|
541
1388
|
result: {
|
|
542
1389
|
mode: 'strict',
|
|
543
1390
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
544
|
-
schema:
|
|
1391
|
+
schema: _awiki_dsh_plugin_awiki_leaveGroup_result$schema,
|
|
545
1392
|
},
|
|
546
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1393
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":139,"column":9},
|
|
547
1394
|
},
|
|
548
1395
|
{
|
|
549
1396
|
id: '@awiki/dsh-plugin#awiki/listConversations',
|
|
@@ -560,16 +1407,67 @@ export const TYPERT_REMOTE = {
|
|
|
560
1407
|
codec: {
|
|
561
1408
|
mode: 'strict',
|
|
562
1409
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiPageRequest',
|
|
563
|
-
schema:
|
|
1410
|
+
schema: _awiki_dsh_plugin_awiki_listConversations_parameter_0$schema,
|
|
1411
|
+
},
|
|
1412
|
+
},
|
|
1413
|
+
],
|
|
1414
|
+
result: {
|
|
1415
|
+
mode: 'strict',
|
|
1416
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1417
|
+
schema: _awiki_dsh_plugin_awiki_listConversations_result$schema,
|
|
1418
|
+
},
|
|
1419
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":154,"column":3},
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
id: '@awiki/dsh-plugin#awiki/listGroupMembers',
|
|
1423
|
+
service: 'awiki',
|
|
1424
|
+
namespace: 'awiki',
|
|
1425
|
+
method: 'listGroupMembers',
|
|
1426
|
+
invocation: { kind: 'direct' },
|
|
1427
|
+
parameters: [
|
|
1428
|
+
{
|
|
1429
|
+
name: 'request',
|
|
1430
|
+
wire: 'request',
|
|
1431
|
+
source: 'json',
|
|
1432
|
+
codec: {
|
|
1433
|
+
mode: 'strict',
|
|
1434
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiGroupMembersRequest',
|
|
1435
|
+
schema: _awiki_dsh_plugin_awiki_listGroupMembers_parameter_0$schema,
|
|
1436
|
+
},
|
|
1437
|
+
},
|
|
1438
|
+
],
|
|
1439
|
+
result: {
|
|
1440
|
+
mode: 'strict',
|
|
1441
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1442
|
+
schema: _awiki_dsh_plugin_awiki_listGroupMembers_result$schema,
|
|
1443
|
+
},
|
|
1444
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":142,"column":3},
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
id: '@awiki/dsh-plugin#awiki/listMailInbox',
|
|
1448
|
+
service: 'awiki',
|
|
1449
|
+
namespace: 'awiki',
|
|
1450
|
+
method: 'listMailInbox',
|
|
1451
|
+
invocation: { kind: 'direct' },
|
|
1452
|
+
parameters: [
|
|
1453
|
+
{
|
|
1454
|
+
name: 'request',
|
|
1455
|
+
wire: 'request',
|
|
1456
|
+
source: 'json',
|
|
1457
|
+
acceptsUndefined: true,
|
|
1458
|
+
codec: {
|
|
1459
|
+
mode: 'strict',
|
|
1460
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailInboxRequest',
|
|
1461
|
+
schema: _awiki_dsh_plugin_awiki_listMailInbox_parameter_0$schema,
|
|
564
1462
|
},
|
|
565
1463
|
},
|
|
566
1464
|
],
|
|
567
1465
|
result: {
|
|
568
1466
|
mode: 'strict',
|
|
569
1467
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
570
|
-
schema:
|
|
1468
|
+
schema: _awiki_dsh_plugin_awiki_listMailInbox_result$schema,
|
|
571
1469
|
},
|
|
572
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1470
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":183,"column":9},
|
|
573
1471
|
},
|
|
574
1472
|
{
|
|
575
1473
|
id: '@awiki/dsh-plugin#awiki/login',
|
|
@@ -582,9 +1480,9 @@ export const TYPERT_REMOTE = {
|
|
|
582
1480
|
result: {
|
|
583
1481
|
mode: 'strict',
|
|
584
1482
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
585
|
-
schema:
|
|
1483
|
+
schema: _awiki_dsh_plugin_awiki_login_result$schema,
|
|
586
1484
|
},
|
|
587
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1485
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":86,"column":3},
|
|
588
1486
|
},
|
|
589
1487
|
{
|
|
590
1488
|
id: '@awiki/dsh-plugin#awiki/logout',
|
|
@@ -600,16 +1498,16 @@ export const TYPERT_REMOTE = {
|
|
|
600
1498
|
codec: {
|
|
601
1499
|
mode: 'strict',
|
|
602
1500
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiLogoutRequest',
|
|
603
|
-
schema:
|
|
1501
|
+
schema: _awiki_dsh_plugin_awiki_logout_parameter_0$schema,
|
|
604
1502
|
},
|
|
605
1503
|
},
|
|
606
1504
|
],
|
|
607
1505
|
result: {
|
|
608
1506
|
mode: 'strict',
|
|
609
1507
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
610
|
-
schema:
|
|
1508
|
+
schema: _awiki_dsh_plugin_awiki_logout_result$schema,
|
|
611
1509
|
},
|
|
612
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1510
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":83,"column":3},
|
|
613
1511
|
},
|
|
614
1512
|
{
|
|
615
1513
|
id: '@awiki/dsh-plugin#awiki/markConversationRead',
|
|
@@ -625,16 +1523,91 @@ export const TYPERT_REMOTE = {
|
|
|
625
1523
|
codec: {
|
|
626
1524
|
mode: 'strict',
|
|
627
1525
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiMarkConversationReadRequest',
|
|
628
|
-
schema:
|
|
1526
|
+
schema: _awiki_dsh_plugin_awiki_markConversationRead_parameter_0$schema,
|
|
1527
|
+
},
|
|
1528
|
+
},
|
|
1529
|
+
],
|
|
1530
|
+
result: {
|
|
1531
|
+
mode: 'strict',
|
|
1532
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1533
|
+
schema: _awiki_dsh_plugin_awiki_markConversationRead_result$schema,
|
|
1534
|
+
},
|
|
1535
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":168,"column":3},
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
id: '@awiki/dsh-plugin#awiki/markMailRead',
|
|
1539
|
+
service: 'awiki',
|
|
1540
|
+
namespace: 'awiki',
|
|
1541
|
+
method: 'markMailRead',
|
|
1542
|
+
invocation: { kind: 'direct' },
|
|
1543
|
+
parameters: [
|
|
1544
|
+
{
|
|
1545
|
+
name: 'request',
|
|
1546
|
+
wire: 'request',
|
|
1547
|
+
source: 'json',
|
|
1548
|
+
codec: {
|
|
1549
|
+
mode: 'strict',
|
|
1550
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailMarkReadRequest',
|
|
1551
|
+
schema: _awiki_dsh_plugin_awiki_markMailRead_parameter_0$schema,
|
|
1552
|
+
},
|
|
1553
|
+
},
|
|
1554
|
+
],
|
|
1555
|
+
result: {
|
|
1556
|
+
mode: 'strict',
|
|
1557
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1558
|
+
schema: _awiki_dsh_plugin_awiki_markMailRead_result$schema,
|
|
1559
|
+
},
|
|
1560
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":189,"column":3},
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
id: '@awiki/dsh-plugin#awiki/prepareRecovery',
|
|
1564
|
+
service: 'awiki',
|
|
1565
|
+
namespace: 'awiki',
|
|
1566
|
+
method: 'prepareRecovery',
|
|
1567
|
+
invocation: { kind: 'direct' },
|
|
1568
|
+
parameters: [
|
|
1569
|
+
{
|
|
1570
|
+
name: 'request',
|
|
1571
|
+
wire: 'request',
|
|
1572
|
+
source: 'json',
|
|
1573
|
+
codec: {
|
|
1574
|
+
mode: 'strict',
|
|
1575
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryPrepareRequest',
|
|
1576
|
+
schema: _awiki_dsh_plugin_awiki_prepareRecovery_parameter_0$schema,
|
|
1577
|
+
},
|
|
1578
|
+
},
|
|
1579
|
+
],
|
|
1580
|
+
result: {
|
|
1581
|
+
mode: 'strict',
|
|
1582
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1583
|
+
schema: _awiki_dsh_plugin_awiki_prepareRecovery_result$schema,
|
|
1584
|
+
},
|
|
1585
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":112,"column":3},
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
id: '@awiki/dsh-plugin#awiki/readMail',
|
|
1589
|
+
service: 'awiki',
|
|
1590
|
+
namespace: 'awiki',
|
|
1591
|
+
method: 'readMail',
|
|
1592
|
+
invocation: { kind: 'direct' },
|
|
1593
|
+
parameters: [
|
|
1594
|
+
{
|
|
1595
|
+
name: 'request',
|
|
1596
|
+
wire: 'request',
|
|
1597
|
+
source: 'json',
|
|
1598
|
+
codec: {
|
|
1599
|
+
mode: 'strict',
|
|
1600
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailReadRequest',
|
|
1601
|
+
schema: _awiki_dsh_plugin_awiki_readMail_parameter_0$schema,
|
|
629
1602
|
},
|
|
630
1603
|
},
|
|
631
1604
|
],
|
|
632
1605
|
result: {
|
|
633
1606
|
mode: 'strict',
|
|
634
1607
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
635
|
-
schema:
|
|
1608
|
+
schema: _awiki_dsh_plugin_awiki_readMail_result$schema,
|
|
636
1609
|
},
|
|
637
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1610
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":186,"column":9},
|
|
638
1611
|
},
|
|
639
1612
|
{
|
|
640
1613
|
id: '@awiki/dsh-plugin#awiki/registerIdentity',
|
|
@@ -650,16 +1623,41 @@ export const TYPERT_REMOTE = {
|
|
|
650
1623
|
codec: {
|
|
651
1624
|
mode: 'strict',
|
|
652
1625
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiRegistrationRequest',
|
|
653
|
-
schema:
|
|
1626
|
+
schema: _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema,
|
|
1627
|
+
},
|
|
1628
|
+
},
|
|
1629
|
+
],
|
|
1630
|
+
result: {
|
|
1631
|
+
mode: 'strict',
|
|
1632
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1633
|
+
schema: _awiki_dsh_plugin_awiki_registerIdentity_result$schema,
|
|
1634
|
+
},
|
|
1635
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":97,"column":9},
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
id: '@awiki/dsh-plugin#awiki/removeGroupMember',
|
|
1639
|
+
service: 'awiki',
|
|
1640
|
+
namespace: 'awiki',
|
|
1641
|
+
method: 'removeGroupMember',
|
|
1642
|
+
invocation: { kind: 'direct' },
|
|
1643
|
+
parameters: [
|
|
1644
|
+
{
|
|
1645
|
+
name: 'request',
|
|
1646
|
+
wire: 'request',
|
|
1647
|
+
source: 'json',
|
|
1648
|
+
codec: {
|
|
1649
|
+
mode: 'strict',
|
|
1650
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiRemoveGroupMemberRequest',
|
|
1651
|
+
schema: _awiki_dsh_plugin_awiki_removeGroupMember_parameter_0$schema,
|
|
654
1652
|
},
|
|
655
1653
|
},
|
|
656
1654
|
],
|
|
657
1655
|
result: {
|
|
658
1656
|
mode: 'strict',
|
|
659
1657
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
660
|
-
schema:
|
|
1658
|
+
schema: _awiki_dsh_plugin_awiki_removeGroupMember_result$schema,
|
|
661
1659
|
},
|
|
662
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1660
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":148,"column":3},
|
|
663
1661
|
},
|
|
664
1662
|
{
|
|
665
1663
|
id: '@awiki/dsh-plugin#awiki/resolvePeer',
|
|
@@ -675,16 +1673,56 @@ export const TYPERT_REMOTE = {
|
|
|
675
1673
|
codec: {
|
|
676
1674
|
mode: 'strict',
|
|
677
1675
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResolvePeerRequest',
|
|
678
|
-
schema:
|
|
1676
|
+
schema: _awiki_dsh_plugin_awiki_resolvePeer_parameter_0$schema,
|
|
1677
|
+
},
|
|
1678
|
+
},
|
|
1679
|
+
],
|
|
1680
|
+
result: {
|
|
1681
|
+
mode: 'strict',
|
|
1682
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1683
|
+
schema: _awiki_dsh_plugin_awiki_resolvePeer_result$schema,
|
|
1684
|
+
},
|
|
1685
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":127,"column":3},
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
id: '@awiki/dsh-plugin#awiki/resumeGroupRebindRecovery',
|
|
1689
|
+
service: 'awiki',
|
|
1690
|
+
namespace: 'awiki',
|
|
1691
|
+
method: 'resumeGroupRebindRecovery',
|
|
1692
|
+
invocation: { kind: 'direct' },
|
|
1693
|
+
parameters: [
|
|
1694
|
+
],
|
|
1695
|
+
result: {
|
|
1696
|
+
mode: 'strict',
|
|
1697
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1698
|
+
schema: _awiki_dsh_plugin_awiki_resumeGroupRebindRecovery_result$schema,
|
|
1699
|
+
},
|
|
1700
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":151,"column":9},
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
id: '@awiki/dsh-plugin#awiki/resumeRecovery',
|
|
1704
|
+
service: 'awiki',
|
|
1705
|
+
namespace: 'awiki',
|
|
1706
|
+
method: 'resumeRecovery',
|
|
1707
|
+
invocation: { kind: 'direct' },
|
|
1708
|
+
parameters: [
|
|
1709
|
+
{
|
|
1710
|
+
name: 'request',
|
|
1711
|
+
wire: 'request',
|
|
1712
|
+
source: 'json',
|
|
1713
|
+
codec: {
|
|
1714
|
+
mode: 'strict',
|
|
1715
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryOperationRequest',
|
|
1716
|
+
schema: _awiki_dsh_plugin_awiki_resumeRecovery_parameter_0$schema,
|
|
679
1717
|
},
|
|
680
1718
|
},
|
|
681
1719
|
],
|
|
682
1720
|
result: {
|
|
683
1721
|
mode: 'strict',
|
|
684
1722
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
685
|
-
schema:
|
|
1723
|
+
schema: _awiki_dsh_plugin_awiki_resumeRecovery_result$schema,
|
|
686
1724
|
},
|
|
687
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1725
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":121,"column":9},
|
|
688
1726
|
},
|
|
689
1727
|
{
|
|
690
1728
|
id: '@awiki/dsh-plugin#awiki/sendAttachment',
|
|
@@ -700,16 +1738,66 @@ export const TYPERT_REMOTE = {
|
|
|
700
1738
|
codec: {
|
|
701
1739
|
mode: 'strict',
|
|
702
1740
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiSendAttachmentRequest',
|
|
703
|
-
schema:
|
|
1741
|
+
schema: _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema,
|
|
1742
|
+
},
|
|
1743
|
+
},
|
|
1744
|
+
],
|
|
1745
|
+
result: {
|
|
1746
|
+
mode: 'strict',
|
|
1747
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1748
|
+
schema: _awiki_dsh_plugin_awiki_sendAttachment_result$schema,
|
|
1749
|
+
},
|
|
1750
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":174,"column":9},
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
id: '@awiki/dsh-plugin#awiki/sendMail',
|
|
1754
|
+
service: 'awiki',
|
|
1755
|
+
namespace: 'awiki',
|
|
1756
|
+
method: 'sendMail',
|
|
1757
|
+
invocation: { kind: 'direct' },
|
|
1758
|
+
parameters: [
|
|
1759
|
+
{
|
|
1760
|
+
name: 'request',
|
|
1761
|
+
wire: 'request',
|
|
1762
|
+
source: 'json',
|
|
1763
|
+
codec: {
|
|
1764
|
+
mode: 'strict',
|
|
1765
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailSendRequest',
|
|
1766
|
+
schema: _awiki_dsh_plugin_awiki_sendMail_parameter_0$schema,
|
|
1767
|
+
},
|
|
1768
|
+
},
|
|
1769
|
+
],
|
|
1770
|
+
result: {
|
|
1771
|
+
mode: 'strict',
|
|
1772
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1773
|
+
schema: _awiki_dsh_plugin_awiki_sendMail_result$schema,
|
|
1774
|
+
},
|
|
1775
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":192,"column":9},
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
id: '@awiki/dsh-plugin#awiki/sendRecoveryOtp',
|
|
1779
|
+
service: 'awiki',
|
|
1780
|
+
namespace: 'awiki',
|
|
1781
|
+
method: 'sendRecoveryOtp',
|
|
1782
|
+
invocation: { kind: 'direct' },
|
|
1783
|
+
parameters: [
|
|
1784
|
+
{
|
|
1785
|
+
name: 'request',
|
|
1786
|
+
wire: 'request',
|
|
1787
|
+
source: 'json',
|
|
1788
|
+
codec: {
|
|
1789
|
+
mode: 'strict',
|
|
1790
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryOtpRequest',
|
|
1791
|
+
schema: _awiki_dsh_plugin_awiki_sendRecoveryOtp_parameter_0$schema,
|
|
704
1792
|
},
|
|
705
1793
|
},
|
|
706
1794
|
],
|
|
707
1795
|
result: {
|
|
708
1796
|
mode: 'strict',
|
|
709
1797
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
710
|
-
schema:
|
|
1798
|
+
schema: _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema,
|
|
711
1799
|
},
|
|
712
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1800
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":109,"column":3},
|
|
713
1801
|
},
|
|
714
1802
|
{
|
|
715
1803
|
id: '@awiki/dsh-plugin#awiki/sendRegistrationOtp',
|
|
@@ -725,16 +1813,16 @@ export const TYPERT_REMOTE = {
|
|
|
725
1813
|
codec: {
|
|
726
1814
|
mode: 'strict',
|
|
727
1815
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiRegistrationOtpRequest',
|
|
728
|
-
schema:
|
|
1816
|
+
schema: _awiki_dsh_plugin_awiki_sendRegistrationOtp_parameter_0$schema,
|
|
729
1817
|
},
|
|
730
1818
|
},
|
|
731
1819
|
],
|
|
732
1820
|
result: {
|
|
733
1821
|
mode: 'strict',
|
|
734
1822
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
735
|
-
schema:
|
|
1823
|
+
schema: _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema,
|
|
736
1824
|
},
|
|
737
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1825
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":94,"column":3},
|
|
738
1826
|
},
|
|
739
1827
|
{
|
|
740
1828
|
id: '@awiki/dsh-plugin#awiki/sendText',
|
|
@@ -750,16 +1838,16 @@ export const TYPERT_REMOTE = {
|
|
|
750
1838
|
codec: {
|
|
751
1839
|
mode: 'strict',
|
|
752
1840
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiSendTextRequest',
|
|
753
|
-
schema:
|
|
1841
|
+
schema: _awiki_dsh_plugin_awiki_sendText_parameter_0$schema,
|
|
754
1842
|
},
|
|
755
1843
|
},
|
|
756
1844
|
],
|
|
757
1845
|
result: {
|
|
758
1846
|
mode: 'strict',
|
|
759
1847
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
760
|
-
schema:
|
|
1848
|
+
schema: _awiki_dsh_plugin_awiki_sendText_result$schema,
|
|
761
1849
|
},
|
|
762
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1850
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":171,"column":3},
|
|
763
1851
|
},
|
|
764
1852
|
{
|
|
765
1853
|
id: '@awiki/dsh-plugin#awiki/summarizeConversation',
|
|
@@ -775,16 +1863,16 @@ export const TYPERT_REMOTE = {
|
|
|
775
1863
|
codec: {
|
|
776
1864
|
mode: 'strict',
|
|
777
1865
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiSummarizeConversationRequest',
|
|
778
|
-
schema:
|
|
1866
|
+
schema: _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema,
|
|
779
1867
|
},
|
|
780
1868
|
},
|
|
781
1869
|
],
|
|
782
1870
|
result: {
|
|
783
1871
|
mode: 'strict',
|
|
784
1872
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
785
|
-
schema:
|
|
1873
|
+
schema: _awiki_dsh_plugin_awiki_summarizeConversation_result$schema,
|
|
786
1874
|
},
|
|
787
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1875
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":163,"column":9},
|
|
788
1876
|
},
|
|
789
1877
|
{
|
|
790
1878
|
id: '@awiki/dsh-plugin#awiki/updateDisplayName',
|
|
@@ -800,16 +1888,41 @@ export const TYPERT_REMOTE = {
|
|
|
800
1888
|
codec: {
|
|
801
1889
|
mode: 'strict',
|
|
802
1890
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiUpdateDisplayNameRequest',
|
|
803
|
-
schema:
|
|
1891
|
+
schema: _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema,
|
|
1892
|
+
},
|
|
1893
|
+
},
|
|
1894
|
+
],
|
|
1895
|
+
result: {
|
|
1896
|
+
mode: 'strict',
|
|
1897
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1898
|
+
schema: _awiki_dsh_plugin_awiki_updateDisplayName_result$schema,
|
|
1899
|
+
},
|
|
1900
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":100,"column":9},
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
id: '@awiki/dsh-plugin#awiki/updateProfile',
|
|
1904
|
+
service: 'awiki',
|
|
1905
|
+
namespace: 'awiki',
|
|
1906
|
+
method: 'updateProfile',
|
|
1907
|
+
invocation: { kind: 'direct' },
|
|
1908
|
+
parameters: [
|
|
1909
|
+
{
|
|
1910
|
+
name: 'request',
|
|
1911
|
+
wire: 'request',
|
|
1912
|
+
source: 'json',
|
|
1913
|
+
codec: {
|
|
1914
|
+
mode: 'strict',
|
|
1915
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiUpdateProfileRequest',
|
|
1916
|
+
schema: _awiki_dsh_plugin_awiki_updateProfile_parameter_0$schema,
|
|
804
1917
|
},
|
|
805
1918
|
},
|
|
806
1919
|
],
|
|
807
1920
|
result: {
|
|
808
1921
|
mode: 'strict',
|
|
809
1922
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
810
|
-
schema:
|
|
1923
|
+
schema: _awiki_dsh_plugin_awiki_updateProfile_result$schema,
|
|
811
1924
|
},
|
|
812
|
-
sourceLocation: {"file":"packages/awiki/
|
|
1925
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":106,"column":3},
|
|
813
1926
|
},
|
|
814
1927
|
],
|
|
815
1928
|
}
|