@awiki/dsh-plugin 0.2.5 → 0.3.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/README.md +69 -28
  2. package/README.zh.md +60 -21
  3. package/THIRD_PARTY_NOTICES.md +1 -1
  4. package/cordis.patch.yml +0 -8
  5. package/lib/client.js +6755 -2022
  6. package/lib/client.js.map +1 -1
  7. package/lib/index.js +1321 -72
  8. package/lib/model-proxy-contract.js +8 -1
  9. package/lib/provider.js +3 -1
  10. package/lib/{sdk-adapter-DKgkyApB.mjs → sdk-adapter-BIbsJmRj.mjs} +245 -4
  11. package/lib/typert.host.js +944 -57
  12. package/lib/typert.remote-client.d.ts +37 -1
  13. package/lib/typert.remote-client.d.ts.map +1 -1
  14. package/lib/typert.remote-client.js +944 -57
  15. package/lib/types/client/AwikiGroupAccessNotice.d.ts +12 -0
  16. package/lib/types/client/AwikiGroupAccessNotice.d.ts.map +1 -0
  17. package/lib/types/client/AwikiGroupAccessNotice.js +31 -0
  18. package/lib/types/client/AwikiGroupAccessNotice.js.map +1 -0
  19. package/lib/types/client/AwikiGroupDetails.d.ts +23 -0
  20. package/lib/types/client/AwikiGroupDetails.d.ts.map +1 -0
  21. package/lib/types/client/AwikiGroupDetails.js +144 -0
  22. package/lib/types/client/AwikiGroupDetails.js.map +1 -0
  23. package/lib/types/client/AwikiIdentityAccess.d.ts +22 -0
  24. package/lib/types/client/AwikiIdentityAccess.d.ts.map +1 -0
  25. package/lib/types/client/AwikiIdentityAccess.js +156 -0
  26. package/lib/types/client/AwikiIdentityAccess.js.map +1 -0
  27. package/lib/types/client/AwikiIdentityPage.d.ts +11 -0
  28. package/lib/types/client/AwikiIdentityPage.d.ts.map +1 -0
  29. package/lib/types/client/AwikiIdentityPage.js +8 -0
  30. package/lib/types/client/AwikiIdentityPage.js.map +1 -0
  31. package/lib/types/client/AwikiMail.d.ts +2 -1
  32. package/lib/types/client/AwikiMail.d.ts.map +1 -1
  33. package/lib/types/client/AwikiMail.js +157 -33
  34. package/lib/types/client/AwikiMail.js.map +1 -1
  35. package/lib/types/client/AwikiOnboarding.d.ts.map +1 -1
  36. package/lib/types/client/AwikiOnboarding.js +29 -9
  37. package/lib/types/client/AwikiOnboarding.js.map +1 -1
  38. package/lib/types/client/AwikiOverlay.d.ts +0 -5
  39. package/lib/types/client/AwikiOverlay.d.ts.map +1 -1
  40. package/lib/types/client/AwikiOverlay.js +202 -129
  41. package/lib/types/client/AwikiOverlay.js.map +1 -1
  42. package/lib/types/client/AwikiProfileCard.d.ts +9 -0
  43. package/lib/types/client/AwikiProfileCard.d.ts.map +1 -0
  44. package/lib/types/client/AwikiProfileCard.js +90 -0
  45. package/lib/types/client/AwikiProfileCard.js.map +1 -0
  46. package/lib/types/client/AwikiRecoveryForm.d.ts +27 -0
  47. package/lib/types/client/AwikiRecoveryForm.d.ts.map +1 -0
  48. package/lib/types/client/AwikiRecoveryForm.js +152 -0
  49. package/lib/types/client/AwikiRecoveryForm.js.map +1 -0
  50. package/lib/types/client/AwikiSettingsSection.d.ts +0 -2
  51. package/lib/types/client/AwikiSettingsSection.d.ts.map +1 -1
  52. package/lib/types/client/AwikiSettingsSection.js +18 -16
  53. package/lib/types/client/AwikiSettingsSection.js.map +1 -1
  54. package/lib/types/client/MentionText.d.ts +7 -0
  55. package/lib/types/client/MentionText.d.ts.map +1 -0
  56. package/lib/types/client/MentionText.js +10 -0
  57. package/lib/types/client/MentionText.js.map +1 -0
  58. package/lib/types/client/controller.d.ts +131 -3
  59. package/lib/types/client/controller.d.ts.map +1 -1
  60. package/lib/types/client/controller.js +908 -29
  61. package/lib/types/client/controller.js.map +1 -1
  62. package/lib/types/client/index.d.ts.map +1 -1
  63. package/lib/types/client/index.js +24 -4
  64. package/lib/types/client/index.js.map +1 -1
  65. package/lib/types/client/mail-list-cache.d.ts +15 -0
  66. package/lib/types/client/mail-list-cache.d.ts.map +1 -0
  67. package/lib/types/client/mail-list-cache.js +212 -0
  68. package/lib/types/client/mail-list-cache.js.map +1 -0
  69. package/lib/types/client/mentions.d.ts +51 -0
  70. package/lib/types/client/mentions.d.ts.map +1 -0
  71. package/lib/types/client/mentions.js +165 -0
  72. package/lib/types/client/mentions.js.map +1 -0
  73. package/lib/types/client/model-proxy-controller.d.ts +4 -0
  74. package/lib/types/client/model-proxy-controller.d.ts.map +1 -1
  75. package/lib/types/client/model-proxy-controller.js +68 -3
  76. package/lib/types/client/model-proxy-controller.js.map +1 -1
  77. package/lib/types/client/recharge-availability.d.ts +1 -1
  78. package/lib/types/client/recharge-availability.d.ts.map +1 -1
  79. package/lib/types/client/recharge-availability.js +1 -1
  80. package/lib/types/client/recharge-availability.js.map +1 -1
  81. package/lib/types/client/settings-locales.d.ts +1 -1
  82. package/lib/types/client/settings-locales.d.ts.map +1 -1
  83. package/lib/types/client/settings-locales.js +14 -8
  84. package/lib/types/client/settings-locales.js.map +1 -1
  85. package/lib/types/client/slots.d.ts +27 -2
  86. package/lib/types/client/slots.d.ts.map +1 -1
  87. package/lib/types/conversation-preferences.d.ts +20 -0
  88. package/lib/types/conversation-preferences.d.ts.map +1 -0
  89. package/lib/types/conversation-preferences.js +294 -0
  90. package/lib/types/conversation-preferences.js.map +1 -0
  91. package/lib/types/index.d.ts +45 -6
  92. package/lib/types/index.d.ts.map +1 -1
  93. package/lib/types/index.js +562 -23
  94. package/lib/types/index.js.map +1 -1
  95. package/lib/types/model-proxy-contract.d.ts +6 -0
  96. package/lib/types/model-proxy-contract.d.ts.map +1 -1
  97. package/lib/types/model-proxy-contract.js +6 -0
  98. package/lib/types/model-proxy-contract.js.map +1 -1
  99. package/lib/types/provider-api.d.ts +29 -1
  100. package/lib/types/provider-api.d.ts.map +1 -1
  101. package/lib/types/provider.d.ts.map +1 -1
  102. package/lib/types/provider.js +2 -0
  103. package/lib/types/provider.js.map +1 -1
  104. package/lib/types/sdk-adapter.d.ts +18 -1
  105. package/lib/types/sdk-adapter.d.ts.map +1 -1
  106. package/lib/types/sdk-adapter.js +277 -4
  107. package/lib/types/sdk-adapter.js.map +1 -1
  108. package/lib/types/sent-mail-store.d.ts +22 -0
  109. package/lib/types/sent-mail-store.d.ts.map +1 -0
  110. package/lib/types/sent-mail-store.js +246 -0
  111. package/lib/types/sent-mail-store.js.map +1 -0
  112. package/lib/types/types.d.ts +183 -2
  113. package/lib/types/types.d.ts.map +1 -1
  114. package/lib/types/types.js.map +1 -1
  115. package/package.json +15 -26
  116. package/lib/model-proxy.js +0 -383
  117. package/lib/types/client/model-account-settings-availability.d.ts +0 -4
  118. package/lib/types/client/model-account-settings-availability.d.ts.map +0 -1
  119. package/lib/types/client/model-account-settings-availability.js +0 -4
  120. package/lib/types/client/model-account-settings-availability.js.map +0 -1
  121. package/lib/types/model-proxy.d.ts +0 -14
  122. package/lib/types/model-proxy.d.ts.map +0 -1
  123. package/lib/types/model-proxy.js +0 -371
  124. package/lib/types/model-proxy.js.map +0 -1
@@ -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 _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("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
11
+ '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("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
38
+ '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
+ })])
4
47
  const _awiki_dsh_plugin_awiki_clearLocalData_parameter_0$schema = z.object({
5
48
  'confirmation': z.string().readonly(),
6
49
  })
7
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("delivery-unknown"), 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("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
11
54
  'message': z.string().readonly(),
12
55
  }).readonly(),
13
56
  }), z.object({
@@ -23,7 +66,7 @@ const _awiki_dsh_plugin_awiki_createGroup_parameter_0$schema = z.object({
23
66
  const _awiki_dsh_plugin_awiki_createGroup_result$schema = z.union([z.object({
24
67
  'ok': z.literal(false).readonly(),
25
68
  'error': z.object({
26
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
69
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("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
70
  'message': z.string().readonly(),
28
71
  }).readonly(),
29
72
  }), z.object({
@@ -45,12 +88,27 @@ const _awiki_dsh_plugin_awiki_createGroup_result$schema = z.union([z.object({
45
88
  'failedMembers': z.array(z.object({
46
89
  'member': z.string().readonly(),
47
90
  'error': z.object({
48
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
91
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("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(),
49
92
  'message': z.string().readonly(),
50
93
  }).readonly(),
51
94
  })).readonly(),
52
95
  }).readonly(),
53
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("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
104
+ '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
+ })])
54
112
  const _awiki_dsh_plugin_awiki_downloadAttachment_parameter_0$schema = z.object({
55
113
  'attachmentId': z.intersection(z.string(), z.unknown()).readonly(),
56
114
  'messageId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -58,7 +116,7 @@ const _awiki_dsh_plugin_awiki_downloadAttachment_parameter_0$schema = z.object({
58
116
  const _awiki_dsh_plugin_awiki_downloadAttachment_result$schema = z.union([z.object({
59
117
  'ok': z.literal(false).readonly(),
60
118
  'error': z.object({
61
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
119
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("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(),
62
120
  'message': z.string().readonly(),
63
121
  }).readonly(),
64
122
  }), z.object({
@@ -77,7 +135,7 @@ const _awiki_dsh_plugin_awiki_downloadAttachment_result$schema = z.union([z.obje
77
135
  const _awiki_dsh_plugin_awiki_getConfig_result$schema = z.union([z.object({
78
136
  'ok': z.literal(false).readonly(),
79
137
  'error': z.object({
80
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
138
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("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(),
81
139
  'message': z.string().readonly(),
82
140
  }).readonly(),
83
141
  }), z.object({
@@ -87,6 +145,61 @@ const _awiki_dsh_plugin_awiki_getConfig_result$schema = z.union([z.object({
87
145
  'attachmentMaxBytes': z.number().readonly(),
88
146
  }).readonly(),
89
147
  })])
148
+ const _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema = z.union([z.object({
149
+ 'ok': z.literal(false).readonly(),
150
+ 'error': z.object({
151
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
152
+ 'message': z.string().readonly(),
153
+ }).readonly(),
154
+ }), z.object({
155
+ 'ok': z.literal(true).readonly(),
156
+ 'value': z.object({
157
+ 'hiddenConversations': z.array(z.object({
158
+ 'conversation': z.union([z.object({
159
+ 'kind': z.literal("group").readonly(),
160
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
161
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
162
+ 'title': z.string().readonly(),
163
+ 'unreadCount': z.number().readonly().optional(),
164
+ 'lastMessageAt': z.number().readonly().optional(),
165
+ 'lastMessagePreview': z.string().readonly().optional(),
166
+ }), z.object({
167
+ 'kind': z.literal("direct").readonly(),
168
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
169
+ 'peerDid': z.intersection(z.string(), z.unknown()).readonly(),
170
+ 'peerHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
171
+ 'displayName': z.string().readonly().optional(),
172
+ 'title': z.string().readonly(),
173
+ 'unreadCount': z.number().readonly().optional(),
174
+ 'lastMessageAt': z.number().readonly().optional(),
175
+ 'lastMessagePreview': z.string().readonly().optional(),
176
+ })]).readonly(),
177
+ 'hiddenAt': z.number().readonly(),
178
+ })).readonly(),
179
+ 'dismissedGroupRecoverySignature': z.string().readonly().optional(),
180
+ }).readonly(),
181
+ })])
182
+ const _awiki_dsh_plugin_awiki_getGroup_parameter_0$schema = z.object({
183
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
184
+ })
185
+ const _awiki_dsh_plugin_awiki_getGroup_result$schema = z.union([z.object({
186
+ 'ok': z.literal(false).readonly(),
187
+ 'error': z.object({
188
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
189
+ 'message': z.string().readonly(),
190
+ }).readonly(),
191
+ }), z.object({
192
+ 'ok': z.literal(true).readonly(),
193
+ 'value': z.object({
194
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
195
+ 'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
196
+ 'title': z.string().readonly(),
197
+ 'description': z.string().readonly().optional(),
198
+ 'myRole': z.string().readonly().optional(),
199
+ 'membershipStatus': z.string().readonly().optional(),
200
+ 'memberCount': z.number().readonly().optional(),
201
+ }).readonly(),
202
+ })])
90
203
  const _awiki_dsh_plugin_awiki_getHistory_parameter_0$schema = z.object({
91
204
  'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
92
205
  'cursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
@@ -95,7 +208,7 @@ const _awiki_dsh_plugin_awiki_getHistory_parameter_0$schema = z.object({
95
208
  const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
96
209
  'ok': z.literal(false).readonly(),
97
210
  'error': z.object({
98
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
211
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
99
212
  'message': z.string().readonly(),
100
213
  }).readonly(),
101
214
  }), z.object({
@@ -113,6 +226,13 @@ const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
113
226
  'content': z.union([z.object({
114
227
  'kind': z.literal("text").readonly(),
115
228
  'text': z.string().readonly(),
229
+ 'mentions': z.array(z.object({
230
+ 'id': z.string().readonly(),
231
+ 'start': z.number().readonly(),
232
+ 'end': z.number().readonly(),
233
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
234
+ 'displayName': z.string().readonly().optional(),
235
+ })).readonly().optional(),
116
236
  }), z.object({
117
237
  'kind': z.literal("attachment").readonly(),
118
238
  'attachment': z.object({
@@ -132,7 +252,7 @@ const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
132
252
  const _awiki_dsh_plugin_awiki_getIdentity_result$schema = z.union([z.object({
133
253
  'ok': z.literal(false).readonly(),
134
254
  'error': z.object({
135
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
255
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
136
256
  'message': z.string().readonly(),
137
257
  }).readonly(),
138
258
  }), z.object({
@@ -152,7 +272,7 @@ const _awiki_dsh_plugin_awiki_getLocalHistory_parameter_0$schema = z.object({
152
272
  const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object({
153
273
  'ok': z.literal(false).readonly(),
154
274
  'error': z.object({
155
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
275
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
156
276
  'message': z.string().readonly(),
157
277
  }).readonly(),
158
278
  }), z.object({
@@ -170,6 +290,13 @@ const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object(
170
290
  'content': z.union([z.object({
171
291
  'kind': z.literal("text").readonly(),
172
292
  'text': z.string().readonly(),
293
+ 'mentions': z.array(z.object({
294
+ 'id': z.string().readonly(),
295
+ 'start': z.number().readonly(),
296
+ 'end': z.number().readonly(),
297
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
298
+ 'displayName': z.string().readonly().optional(),
299
+ })).readonly().optional(),
173
300
  }), z.object({
174
301
  'kind': z.literal("attachment").readonly(),
175
302
  'attachment': z.object({
@@ -189,7 +316,7 @@ const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object(
189
316
  const _awiki_dsh_plugin_awiki_getMailAccount_result$schema = z.union([z.object({
190
317
  'ok': z.literal(false).readonly(),
191
318
  'error': z.object({
192
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
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("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
193
320
  'message': z.string().readonly(),
194
321
  }).readonly(),
195
322
  }), z.object({
@@ -200,10 +327,52 @@ const _awiki_dsh_plugin_awiki_getMailAccount_result$schema = z.union([z.object({
200
327
  'status': z.string().readonly().optional(),
201
328
  }).readonly(),
202
329
  })])
330
+ const _awiki_dsh_plugin_awiki_getProfile_result$schema = z.union([z.object({
331
+ 'ok': z.literal(false).readonly(),
332
+ 'error': z.object({
333
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
334
+ 'message': z.string().readonly(),
335
+ }).readonly(),
336
+ }), z.object({
337
+ 'ok': z.literal(true).readonly(),
338
+ 'value': z.object({
339
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
340
+ 'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
341
+ 'displayName': z.string().readonly(),
342
+ 'bio': z.string().readonly(),
343
+ 'tags': z.array(z.string()).readonly(),
344
+ 'updatedAt': z.string().readonly().optional(),
345
+ }).readonly(),
346
+ })])
347
+ const _awiki_dsh_plugin_awiki_getRecoveryStatus_parameter_0$schema = z.object({
348
+ 'operationId': z.string().readonly(),
349
+ })
350
+ const _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema = z.union([z.object({
351
+ 'ok': z.literal(false).readonly(),
352
+ 'error': z.object({
353
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
354
+ 'message': z.string().readonly(),
355
+ }).readonly(),
356
+ }), z.object({
357
+ 'ok': z.literal(true).readonly(),
358
+ 'value': z.object({
359
+ 'operationId': z.string().readonly(),
360
+ 'fullHandle': z.string().readonly(),
361
+ 'previousDid': z.intersection(z.string(), z.unknown()).readonly().optional(),
362
+ 'currentDid': z.intersection(z.string(), z.unknown()).readonly(),
363
+ '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(),
364
+ 'failureCode': z.string().readonly().optional(),
365
+ 'retryable': z.boolean().readonly(),
366
+ 'localOrdinaryDataWillMigrate': z.boolean().readonly(),
367
+ 'otherDevicesMustRejoin': z.boolean().readonly(),
368
+ 'unsupportedE2eeGroupCount': z.number().readonly(),
369
+ 'unsupportedDidOnlyGroupCount': z.number().readonly(),
370
+ }).readonly(),
371
+ })])
203
372
  const _awiki_dsh_plugin_awiki_getSession_result$schema = z.union([z.object({
204
373
  'ok': z.literal(false).readonly(),
205
374
  'error': z.object({
206
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
375
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
207
376
  'message': z.string().readonly(),
208
377
  }).readonly(),
209
378
  }), z.object({
@@ -222,6 +391,58 @@ const _awiki_dsh_plugin_awiki_getSession_result$schema = z.union([z.object({
222
391
  }).readonly(),
223
392
  })]).readonly(),
224
393
  })])
394
+ const _awiki_dsh_plugin_awiki_inspectIdentityAccess_parameter_0$schema = z.object({
395
+ 'handle': z.string().readonly(),
396
+ })
397
+ const _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema = z.union([z.object({
398
+ 'ok': z.literal(false).readonly(),
399
+ 'error': z.object({
400
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
401
+ 'message': z.string().readonly(),
402
+ }).readonly(),
403
+ }), z.object({
404
+ 'ok': z.literal(true).readonly(),
405
+ 'value': z.object({
406
+ 'status': z.union([z.literal("available"), z.literal("existing")]).readonly(),
407
+ 'fullHandle': z.string().readonly(),
408
+ }).readonly(),
409
+ })])
410
+ const _awiki_dsh_plugin_awiki_joinGroup_parameter_0$schema = z.object({
411
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
412
+ })
413
+ const _awiki_dsh_plugin_awiki_joinGroup_result$schema = z.union([z.object({
414
+ 'ok': z.literal(false).readonly(),
415
+ 'error': z.object({
416
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
417
+ 'message': z.string().readonly(),
418
+ }).readonly(),
419
+ }), z.object({
420
+ 'ok': z.literal(true).readonly(),
421
+ 'value': z.object({
422
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
423
+ 'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
424
+ 'title': z.string().readonly(),
425
+ 'description': z.string().readonly().optional(),
426
+ 'myRole': z.string().readonly().optional(),
427
+ 'membershipStatus': z.string().readonly().optional(),
428
+ 'memberCount': z.number().readonly().optional(),
429
+ }).readonly(),
430
+ })])
431
+ const _awiki_dsh_plugin_awiki_leaveGroup_parameter_0$schema = z.object({
432
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
433
+ })
434
+ const _awiki_dsh_plugin_awiki_leaveGroup_result$schema = z.union([z.object({
435
+ 'ok': z.literal(false).readonly(),
436
+ 'error': z.object({
437
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
438
+ 'message': z.string().readonly(),
439
+ }).readonly(),
440
+ }), z.object({
441
+ 'ok': z.literal(true).readonly(),
442
+ 'value': z.object({
443
+ 'completed': z.literal(true).readonly(),
444
+ }).readonly(),
445
+ })])
225
446
  const _awiki_dsh_plugin_awiki_listConversations_parameter_0$schema = z.union([z.undefined(), z.object({
226
447
  'cursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
227
448
  'limit': z.number().readonly().optional(),
@@ -229,7 +450,7 @@ const _awiki_dsh_plugin_awiki_listConversations_parameter_0$schema = z.union([z.
229
450
  const _awiki_dsh_plugin_awiki_listConversations_result$schema = z.union([z.object({
230
451
  'ok': z.literal(false).readonly(),
231
452
  'error': z.object({
232
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
453
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
233
454
  'message': z.string().readonly(),
234
455
  }).readonly(),
235
456
  }), z.object({
@@ -258,6 +479,40 @@ const _awiki_dsh_plugin_awiki_listConversations_result$schema = z.union([z.objec
258
479
  'hasMore': z.boolean().readonly(),
259
480
  }).readonly(),
260
481
  })])
482
+ const _awiki_dsh_plugin_awiki_listGroupMembers_parameter_0$schema = z.object({
483
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
484
+ 'cursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
485
+ 'limit': z.number().readonly().optional(),
486
+ })
487
+ const _awiki_dsh_plugin_awiki_listGroupMembers_result$schema = z.union([z.object({
488
+ 'ok': z.literal(false).readonly(),
489
+ 'error': z.object({
490
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
491
+ 'message': z.string().readonly(),
492
+ }).readonly(),
493
+ }), z.object({
494
+ 'ok': z.literal(true).readonly(),
495
+ 'value': z.object({
496
+ 'items': z.array(z.object({
497
+ 'membershipId': z.string().readonly().optional(),
498
+ 'peerPersonaId': z.string().readonly().optional(),
499
+ 'did': z.intersection(z.string(), z.unknown()).readonly().optional(),
500
+ 'credentialDid': z.intersection(z.string(), z.unknown()).readonly().optional(),
501
+ 'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
502
+ 'displayName': z.string().readonly().optional(),
503
+ 'role': z.string().readonly().optional(),
504
+ 'status': z.string().readonly().optional(),
505
+ 'joinedAt': z.string().readonly().optional(),
506
+ 'subjectType': z.string().readonly().optional(),
507
+ })).readonly(),
508
+ 'total': z.number().readonly().optional(),
509
+ 'nextCursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
510
+ 'hasMore': z.boolean().readonly(),
511
+ 'pageGroup': z.intersection(z.string(), z.unknown()).readonly().optional(),
512
+ 'groupStateVersion': z.string().readonly().optional(),
513
+ 'warnings': z.array(z.string()).readonly(),
514
+ }).readonly(),
515
+ })])
261
516
  const _awiki_dsh_plugin_awiki_listMailInbox_parameter_0$schema = z.union([z.undefined(), z.object({
262
517
  'folder': z.string().readonly().optional(),
263
518
  'unreadOnly': z.boolean().readonly().optional(),
@@ -267,7 +522,7 @@ const _awiki_dsh_plugin_awiki_listMailInbox_parameter_0$schema = z.union([z.unde
267
522
  const _awiki_dsh_plugin_awiki_listMailInbox_result$schema = z.union([z.object({
268
523
  'ok': z.literal(false).readonly(),
269
524
  'error': z.object({
270
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
525
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
271
526
  'message': z.string().readonly(),
272
527
  }).readonly(),
273
528
  }), z.object({
@@ -296,7 +551,7 @@ const _awiki_dsh_plugin_awiki_listMailInbox_result$schema = z.union([z.object({
296
551
  const _awiki_dsh_plugin_awiki_login_result$schema = z.union([z.object({
297
552
  'ok': z.literal(false).readonly(),
298
553
  'error': z.object({
299
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
554
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
300
555
  'message': z.string().readonly(),
301
556
  }).readonly(),
302
557
  }), z.object({
@@ -321,7 +576,7 @@ const _awiki_dsh_plugin_awiki_logout_parameter_0$schema = z.object({
321
576
  const _awiki_dsh_plugin_awiki_logout_result$schema = z.union([z.object({
322
577
  'ok': z.literal(false).readonly(),
323
578
  'error': z.object({
324
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
579
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
325
580
  'message': z.string().readonly(),
326
581
  }).readonly(),
327
582
  }), z.object({
@@ -346,7 +601,7 @@ const _awiki_dsh_plugin_awiki_markConversationRead_parameter_0$schema = z.object
346
601
  const _awiki_dsh_plugin_awiki_markConversationRead_result$schema = z.union([z.object({
347
602
  'ok': z.literal(false).readonly(),
348
603
  'error': z.object({
349
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
604
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
350
605
  'message': z.string().readonly(),
351
606
  }).readonly(),
352
607
  }), z.object({
@@ -359,7 +614,7 @@ const _awiki_dsh_plugin_awiki_markMailRead_parameter_0$schema = z.object({
359
614
  const _awiki_dsh_plugin_awiki_markMailRead_result$schema = z.union([z.object({
360
615
  'ok': z.literal(false).readonly(),
361
616
  'error': z.object({
362
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
617
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
363
618
  'message': z.string().readonly(),
364
619
  }).readonly(),
365
620
  }), z.object({
@@ -368,13 +623,40 @@ const _awiki_dsh_plugin_awiki_markMailRead_result$schema = z.union([z.object({
368
623
  'updated': z.number().readonly(),
369
624
  }).readonly(),
370
625
  })])
626
+ const _awiki_dsh_plugin_awiki_prepareRecovery_parameter_0$schema = z.object({
627
+ 'operationId': z.string().readonly(),
628
+ 'phone': z.string().readonly(),
629
+ 'otp': z.string().readonly(),
630
+ })
631
+ const _awiki_dsh_plugin_awiki_prepareRecovery_result$schema = z.union([z.object({
632
+ 'ok': z.literal(false).readonly(),
633
+ 'error': z.object({
634
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
635
+ 'message': z.string().readonly(),
636
+ }).readonly(),
637
+ }), z.object({
638
+ 'ok': z.literal(true).readonly(),
639
+ 'value': z.object({
640
+ 'operationId': z.string().readonly(),
641
+ 'fullHandle': z.string().readonly(),
642
+ 'previousDid': z.intersection(z.string(), z.unknown()).readonly().optional(),
643
+ 'currentDid': z.intersection(z.string(), z.unknown()).readonly(),
644
+ '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(),
645
+ 'failureCode': z.string().readonly().optional(),
646
+ 'retryable': z.boolean().readonly(),
647
+ 'localOrdinaryDataWillMigrate': z.boolean().readonly(),
648
+ 'otherDevicesMustRejoin': z.boolean().readonly(),
649
+ 'unsupportedE2eeGroupCount': z.number().readonly(),
650
+ 'unsupportedDidOnlyGroupCount': z.number().readonly(),
651
+ }).readonly(),
652
+ })])
371
653
  const _awiki_dsh_plugin_awiki_readMail_parameter_0$schema = z.object({
372
654
  'messageId': z.intersection(z.string(), z.unknown()).readonly(),
373
655
  })
374
656
  const _awiki_dsh_plugin_awiki_readMail_result$schema = z.union([z.object({
375
657
  'ok': z.literal(false).readonly(),
376
658
  'error': z.object({
377
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
659
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
378
660
  'message': z.string().readonly(),
379
661
  }).readonly(),
380
662
  }), z.object({
@@ -415,7 +697,7 @@ const _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema = z.object({
415
697
  const _awiki_dsh_plugin_awiki_registerIdentity_result$schema = z.union([z.object({
416
698
  'ok': z.literal(false).readonly(),
417
699
  'error': z.object({
418
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
700
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
419
701
  'message': z.string().readonly(),
420
702
  }).readonly(),
421
703
  }), z.object({
@@ -427,13 +709,30 @@ const _awiki_dsh_plugin_awiki_registerIdentity_result$schema = z.union([z.object
427
709
  'registeredAt': z.number().readonly(),
428
710
  }).readonly(),
429
711
  })])
712
+ const _awiki_dsh_plugin_awiki_removeGroupMember_parameter_0$schema = z.object({
713
+ 'member': z.string().readonly(),
714
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
715
+ })
716
+ const _awiki_dsh_plugin_awiki_removeGroupMember_result$schema = z.union([z.object({
717
+ 'ok': z.literal(false).readonly(),
718
+ 'error': z.object({
719
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
720
+ 'message': z.string().readonly(),
721
+ }).readonly(),
722
+ }), z.object({
723
+ 'ok': z.literal(true).readonly(),
724
+ 'value': z.object({
725
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
726
+ 'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
727
+ }).readonly(),
728
+ })])
430
729
  const _awiki_dsh_plugin_awiki_resolvePeer_parameter_0$schema = z.object({
431
730
  'peer': z.string().readonly(),
432
731
  })
433
732
  const _awiki_dsh_plugin_awiki_resolvePeer_result$schema = z.union([z.object({
434
733
  'ok': z.literal(false).readonly(),
435
734
  'error': z.object({
436
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
735
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
437
736
  'message': z.string().readonly(),
438
737
  }).readonly(),
439
738
  }), z.object({
@@ -445,6 +744,50 @@ const _awiki_dsh_plugin_awiki_resolvePeer_result$schema = z.union([z.object({
445
744
  'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
446
745
  }).readonly(),
447
746
  })])
747
+ const _awiki_dsh_plugin_awiki_resumeGroupRebindRecovery_result$schema = z.union([z.object({
748
+ 'ok': z.literal(false).readonly(),
749
+ 'error': z.object({
750
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
751
+ 'message': z.string().readonly(),
752
+ }).readonly(),
753
+ }), z.object({
754
+ 'ok': z.literal(true).readonly(),
755
+ 'value': z.object({
756
+ 'processed': z.number().readonly(),
757
+ 'completed': z.number().readonly(),
758
+ 'pending': z.number().readonly(),
759
+ 'blocked': z.number().readonly(),
760
+ 'items': z.array(z.object({
761
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
762
+ 'status': z.union([z.literal("pending"), z.literal("blocked")]).readonly(),
763
+ })).readonly(),
764
+ }).readonly(),
765
+ })])
766
+ const _awiki_dsh_plugin_awiki_resumeRecovery_parameter_0$schema = z.object({
767
+ 'operationId': z.string().readonly(),
768
+ })
769
+ const _awiki_dsh_plugin_awiki_resumeRecovery_result$schema = z.union([z.object({
770
+ 'ok': z.literal(false).readonly(),
771
+ 'error': z.object({
772
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
773
+ 'message': z.string().readonly(),
774
+ }).readonly(),
775
+ }), z.object({
776
+ 'ok': z.literal(true).readonly(),
777
+ 'value': z.object({
778
+ 'operationId': z.string().readonly(),
779
+ 'fullHandle': z.string().readonly(),
780
+ 'previousDid': z.intersection(z.string(), z.unknown()).readonly().optional(),
781
+ 'currentDid': z.intersection(z.string(), z.unknown()).readonly(),
782
+ '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(),
783
+ 'failureCode': z.string().readonly().optional(),
784
+ 'retryable': z.boolean().readonly(),
785
+ 'localOrdinaryDataWillMigrate': z.boolean().readonly(),
786
+ 'otherDevicesMustRejoin': z.boolean().readonly(),
787
+ 'unsupportedE2eeGroupCount': z.number().readonly(),
788
+ 'unsupportedDidOnlyGroupCount': z.number().readonly(),
789
+ }).readonly(),
790
+ })])
448
791
  const _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema = z.object({
449
792
  'target': z.union([z.object({
450
793
  'kind': z.literal("direct").readonly(),
@@ -462,7 +805,7 @@ const _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema = z.object({
462
805
  const _awiki_dsh_plugin_awiki_sendAttachment_result$schema = z.union([z.object({
463
806
  'ok': z.literal(false).readonly(),
464
807
  'error': z.object({
465
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
808
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
466
809
  'message': z.string().readonly(),
467
810
  }).readonly(),
468
811
  }), z.object({
@@ -479,6 +822,13 @@ const _awiki_dsh_plugin_awiki_sendAttachment_result$schema = z.union([z.object({
479
822
  'content': z.union([z.object({
480
823
  'kind': z.literal("text").readonly(),
481
824
  'text': z.string().readonly(),
825
+ 'mentions': z.array(z.object({
826
+ 'id': z.string().readonly(),
827
+ 'start': z.number().readonly(),
828
+ 'end': z.number().readonly(),
829
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
830
+ 'displayName': z.string().readonly().optional(),
831
+ })).readonly().optional(),
482
832
  }), z.object({
483
833
  'kind': z.literal("attachment").readonly(),
484
834
  'attachment': z.object({
@@ -501,7 +851,7 @@ const _awiki_dsh_plugin_awiki_sendMail_parameter_0$schema = z.object({
501
851
  const _awiki_dsh_plugin_awiki_sendMail_result$schema = z.union([z.object({
502
852
  'ok': z.literal(false).readonly(),
503
853
  'error': z.object({
504
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
854
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
505
855
  'message': z.string().readonly(),
506
856
  }).readonly(),
507
857
  }), z.object({
@@ -512,6 +862,25 @@ const _awiki_dsh_plugin_awiki_sendMail_result$schema = z.union([z.object({
512
862
  'warnings': z.array(z.string()).readonly(),
513
863
  }).readonly(),
514
864
  })])
865
+ const _awiki_dsh_plugin_awiki_sendRecoveryOtp_parameter_0$schema = z.object({
866
+ 'fullHandle': z.string().readonly(),
867
+ 'phone': z.string().readonly(),
868
+ })
869
+ const _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema = z.union([z.object({
870
+ 'ok': z.literal(false).readonly(),
871
+ 'error': z.object({
872
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
873
+ 'message': z.string().readonly(),
874
+ }).readonly(),
875
+ }), z.object({
876
+ 'ok': z.literal(true).readonly(),
877
+ 'value': z.object({
878
+ 'operationId': z.string().readonly(),
879
+ 'fullHandle': z.string().readonly(),
880
+ 'retryAfterSeconds': z.number().readonly(),
881
+ 'retryAt': z.string().readonly(),
882
+ }).readonly(),
883
+ })])
515
884
  const _awiki_dsh_plugin_awiki_sendRegistrationOtp_parameter_0$schema = z.object({
516
885
  'handle': z.string().readonly(),
517
886
  'phone': z.string().readonly(),
@@ -519,7 +888,7 @@ const _awiki_dsh_plugin_awiki_sendRegistrationOtp_parameter_0$schema = z.object(
519
888
  const _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema = z.union([z.object({
520
889
  'ok': z.literal(false).readonly(),
521
890
  'error': z.object({
522
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
891
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
523
892
  'message': z.string().readonly(),
524
893
  }).readonly(),
525
894
  }), z.object({
@@ -539,11 +908,18 @@ const _awiki_dsh_plugin_awiki_sendText_parameter_0$schema = z.object({
539
908
  })]).readonly(),
540
909
  'text': z.string().readonly(),
541
910
  'idempotencyKey': z.string().readonly(),
911
+ 'mentions': z.array(z.object({
912
+ 'id': z.string().readonly(),
913
+ 'start': z.number().readonly(),
914
+ 'end': z.number().readonly(),
915
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
916
+ 'displayName': z.string().readonly().optional(),
917
+ })).readonly().optional(),
542
918
  })
543
919
  const _awiki_dsh_plugin_awiki_sendText_result$schema = z.union([z.object({
544
920
  'ok': z.literal(false).readonly(),
545
921
  'error': z.object({
546
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
922
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
547
923
  'message': z.string().readonly(),
548
924
  }).readonly(),
549
925
  }), z.object({
@@ -560,6 +936,13 @@ const _awiki_dsh_plugin_awiki_sendText_result$schema = z.union([z.object({
560
936
  'content': z.union([z.object({
561
937
  'kind': z.literal("text").readonly(),
562
938
  'text': z.string().readonly(),
939
+ 'mentions': z.array(z.object({
940
+ 'id': z.string().readonly(),
941
+ 'start': z.number().readonly(),
942
+ 'end': z.number().readonly(),
943
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
944
+ 'displayName': z.string().readonly().optional(),
945
+ })).readonly().optional(),
563
946
  }), z.object({
564
947
  'kind': z.literal("attachment").readonly(),
565
948
  'attachment': z.object({
@@ -580,7 +963,7 @@ const _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema = z.objec
580
963
  const _awiki_dsh_plugin_awiki_summarizeConversation_result$schema = z.union([z.object({
581
964
  'ok': z.literal(false).readonly(),
582
965
  'error': z.object({
583
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
966
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
584
967
  'message': z.string().readonly(),
585
968
  }).readonly(),
586
969
  }), z.object({
@@ -603,28 +986,162 @@ const _awiki_dsh_plugin_awiki_summarizeConversation_result$schema = z.union([z.o
603
986
  })).readonly(),
604
987
  }).readonly(),
605
988
  })])
606
- const _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema = z.object({
607
- 'displayName': z.string().readonly(),
608
- })
609
- const _awiki_dsh_plugin_awiki_updateDisplayName_result$schema = z.union([z.object({
989
+ const _awiki_dsh_plugin_awiki_updateConversationPreference_parameter_0$schema = z.union([z.object({
990
+ 'action': z.literal("hide").readonly(),
991
+ 'conversation': z.union([z.object({
992
+ 'kind': z.literal("group").readonly(),
993
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
994
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
995
+ 'title': z.string().readonly(),
996
+ 'unreadCount': z.number().readonly().optional(),
997
+ 'lastMessageAt': z.number().readonly().optional(),
998
+ 'lastMessagePreview': z.string().readonly().optional(),
999
+ }), z.object({
1000
+ 'kind': z.literal("direct").readonly(),
1001
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
1002
+ 'peerDid': z.intersection(z.string(), z.unknown()).readonly(),
1003
+ 'peerHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
1004
+ 'displayName': z.string().readonly().optional(),
1005
+ 'title': z.string().readonly(),
1006
+ 'unreadCount': z.number().readonly().optional(),
1007
+ 'lastMessageAt': z.number().readonly().optional(),
1008
+ 'lastMessagePreview': z.string().readonly().optional(),
1009
+ })]).readonly(),
1010
+ }), z.object({
1011
+ 'action': z.literal("restore").readonly(),
1012
+ 'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
1013
+ }), z.object({
1014
+ 'action': z.literal("dismiss-group-recovery").readonly(),
1015
+ 'signature': z.string().readonly(),
1016
+ })])
1017
+ const _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema = z.union([z.object({
610
1018
  'ok': z.literal(false).readonly(),
611
1019
  'error': z.object({
612
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1020
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
613
1021
  'message': z.string().readonly(),
614
1022
  }).readonly(),
615
1023
  }), z.object({
616
1024
  'ok': z.literal(true).readonly(),
617
1025
  'value': z.object({
618
- 'handle': z.intersection(z.string(), z.unknown()).readonly(),
619
- 'did': z.intersection(z.string(), z.unknown()).readonly(),
620
- 'displayName': z.string().readonly().optional(),
621
- 'registeredAt': z.number().readonly(),
1026
+ 'hiddenConversations': z.array(z.object({
1027
+ 'conversation': z.union([z.object({
1028
+ 'kind': z.literal("group").readonly(),
1029
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
1030
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
1031
+ 'title': z.string().readonly(),
1032
+ 'unreadCount': z.number().readonly().optional(),
1033
+ 'lastMessageAt': z.number().readonly().optional(),
1034
+ 'lastMessagePreview': z.string().readonly().optional(),
1035
+ }), z.object({
1036
+ 'kind': z.literal("direct").readonly(),
1037
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
1038
+ 'peerDid': z.intersection(z.string(), z.unknown()).readonly(),
1039
+ 'peerHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
1040
+ 'displayName': z.string().readonly().optional(),
1041
+ 'title': z.string().readonly(),
1042
+ 'unreadCount': z.number().readonly().optional(),
1043
+ 'lastMessageAt': z.number().readonly().optional(),
1044
+ 'lastMessagePreview': z.string().readonly().optional(),
1045
+ })]).readonly(),
1046
+ 'hiddenAt': z.number().readonly(),
1047
+ })).readonly(),
1048
+ 'dismissedGroupRecoverySignature': z.string().readonly().optional(),
1049
+ }).readonly(),
1050
+ })])
1051
+ const _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema = z.object({
1052
+ 'displayName': z.string().readonly(),
1053
+ })
1054
+ const _awiki_dsh_plugin_awiki_updateDisplayName_result$schema = z.union([z.object({
1055
+ 'ok': z.literal(false).readonly(),
1056
+ 'error': z.object({
1057
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1058
+ 'message': z.string().readonly(),
1059
+ }).readonly(),
1060
+ }), z.object({
1061
+ 'ok': z.literal(true).readonly(),
1062
+ 'value': z.object({
1063
+ 'handle': z.intersection(z.string(), z.unknown()).readonly(),
1064
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
1065
+ 'displayName': z.string().readonly().optional(),
1066
+ 'registeredAt': z.number().readonly(),
1067
+ }).readonly(),
1068
+ })])
1069
+ const _awiki_dsh_plugin_awiki_updateProfile_parameter_0$schema = z.object({
1070
+ 'displayName': z.string().readonly(),
1071
+ 'bio': z.string().readonly(),
1072
+ 'tags': z.array(z.string()).readonly(),
1073
+ })
1074
+ const _awiki_dsh_plugin_awiki_updateProfile_result$schema = z.union([z.object({
1075
+ 'ok': z.literal(false).readonly(),
1076
+ 'error': z.object({
1077
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1078
+ 'message': z.string().readonly(),
1079
+ }).readonly(),
1080
+ }), z.object({
1081
+ 'ok': z.literal(true).readonly(),
1082
+ 'value': z.object({
1083
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
1084
+ 'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
1085
+ 'displayName': z.string().readonly(),
1086
+ 'bio': z.string().readonly(),
1087
+ 'tags': z.array(z.string()).readonly(),
1088
+ 'updatedAt': z.string().readonly().optional(),
622
1089
  }).readonly(),
623
1090
  })])
624
1091
 
625
1092
  export const TYPERT_REMOTE = {
626
1093
  package: '@awiki/dsh-plugin',
627
1094
  descriptors: [
1095
+ {
1096
+ id: '@awiki/dsh-plugin#awiki/activateRecovery',
1097
+ service: 'awiki',
1098
+ namespace: 'awiki',
1099
+ method: 'activateRecovery',
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_activateRecovery_parameter_0$schema,
1110
+ },
1111
+ },
1112
+ ],
1113
+ result: {
1114
+ mode: 'strict',
1115
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1116
+ schema: _awiki_dsh_plugin_awiki_activateRecovery_result$schema,
1117
+ },
1118
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":117,"column":9},
1119
+ },
1120
+ {
1121
+ id: '@awiki/dsh-plugin#awiki/addGroupMember',
1122
+ service: 'awiki',
1123
+ namespace: 'awiki',
1124
+ method: 'addGroupMember',
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#AwikiAddGroupMemberRequest',
1134
+ schema: _awiki_dsh_plugin_awiki_addGroupMember_parameter_0$schema,
1135
+ },
1136
+ },
1137
+ ],
1138
+ result: {
1139
+ mode: 'strict',
1140
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1141
+ schema: _awiki_dsh_plugin_awiki_addGroupMember_result$schema,
1142
+ },
1143
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":147,"column":3},
1144
+ },
628
1145
  {
629
1146
  id: '@awiki/dsh-plugin#awiki/clearLocalData',
630
1147
  service: 'awiki',
@@ -648,7 +1165,7 @@ export const TYPERT_REMOTE = {
648
1165
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
649
1166
  schema: _awiki_dsh_plugin_awiki_clearLocalData_result$schema,
650
1167
  },
651
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":127,"column":3},
1168
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":205,"column":3},
652
1169
  },
653
1170
  {
654
1171
  id: '@awiki/dsh-plugin#awiki/createGroup',
@@ -673,7 +1190,32 @@ export const TYPERT_REMOTE = {
673
1190
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
674
1191
  schema: _awiki_dsh_plugin_awiki_createGroup_result$schema,
675
1192
  },
676
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":83,"column":9},
1193
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":132,"column":9},
1194
+ },
1195
+ {
1196
+ id: '@awiki/dsh-plugin#awiki/discardRecovery',
1197
+ service: 'awiki',
1198
+ namespace: 'awiki',
1199
+ method: 'discardRecovery',
1200
+ invocation: { kind: 'direct' },
1201
+ parameters: [
1202
+ {
1203
+ name: 'request',
1204
+ wire: 'request',
1205
+ source: 'json',
1206
+ codec: {
1207
+ mode: 'strict',
1208
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryOperationRequest',
1209
+ schema: _awiki_dsh_plugin_awiki_discardRecovery_parameter_0$schema,
1210
+ },
1211
+ },
1212
+ ],
1213
+ result: {
1214
+ mode: 'strict',
1215
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1216
+ schema: _awiki_dsh_plugin_awiki_discardRecovery_result$schema,
1217
+ },
1218
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":126,"column":9},
677
1219
  },
678
1220
  {
679
1221
  id: '@awiki/dsh-plugin#awiki/downloadAttachment',
@@ -698,7 +1240,7 @@ export const TYPERT_REMOTE = {
698
1240
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
699
1241
  schema: _awiki_dsh_plugin_awiki_downloadAttachment_result$schema,
700
1242
  },
701
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":109,"column":9},
1243
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":187,"column":9},
702
1244
  },
703
1245
  {
704
1246
  id: '@awiki/dsh-plugin#awiki/getConfig',
@@ -713,7 +1255,47 @@ export const TYPERT_REMOTE = {
713
1255
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
714
1256
  schema: _awiki_dsh_plugin_awiki_getConfig_result$schema,
715
1257
  },
716
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":56,"column":3},
1258
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":76,"column":3},
1259
+ },
1260
+ {
1261
+ id: '@awiki/dsh-plugin#awiki/getConversationPreferences',
1262
+ service: 'awiki',
1263
+ namespace: 'awiki',
1264
+ method: 'getConversationPreferences',
1265
+ invocation: { kind: 'direct' },
1266
+ parameters: [
1267
+ ],
1268
+ result: {
1269
+ mode: 'strict',
1270
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1271
+ schema: _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema,
1272
+ },
1273
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":156,"column":3},
1274
+ },
1275
+ {
1276
+ id: '@awiki/dsh-plugin#awiki/getGroup',
1277
+ service: 'awiki',
1278
+ namespace: 'awiki',
1279
+ method: 'getGroup',
1280
+ invocation: { kind: 'direct' },
1281
+ parameters: [
1282
+ {
1283
+ name: 'request',
1284
+ wire: 'request',
1285
+ source: 'json',
1286
+ codec: {
1287
+ mode: 'strict',
1288
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiGroupRequest',
1289
+ schema: _awiki_dsh_plugin_awiki_getGroup_parameter_0$schema,
1290
+ },
1291
+ },
1292
+ ],
1293
+ result: {
1294
+ mode: 'strict',
1295
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1296
+ schema: _awiki_dsh_plugin_awiki_getGroup_result$schema,
1297
+ },
1298
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":135,"column":3},
717
1299
  },
718
1300
  {
719
1301
  id: '@awiki/dsh-plugin#awiki/getHistory',
@@ -738,7 +1320,7 @@ export const TYPERT_REMOTE = {
738
1320
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
739
1321
  schema: _awiki_dsh_plugin_awiki_getHistory_result$schema,
740
1322
  },
741
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":89,"column":3},
1323
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":167,"column":3},
742
1324
  },
743
1325
  {
744
1326
  id: '@awiki/dsh-plugin#awiki/getIdentity',
@@ -753,7 +1335,7 @@ export const TYPERT_REMOTE = {
753
1335
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
754
1336
  schema: _awiki_dsh_plugin_awiki_getIdentity_result$schema,
755
1337
  },
756
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":59,"column":9},
1338
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":79,"column":9},
757
1339
  },
758
1340
  {
759
1341
  id: '@awiki/dsh-plugin#awiki/getLocalHistory',
@@ -778,7 +1360,7 @@ export const TYPERT_REMOTE = {
778
1360
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
779
1361
  schema: _awiki_dsh_plugin_awiki_getLocalHistory_result$schema,
780
1362
  },
781
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":92,"column":3},
1363
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":170,"column":3},
782
1364
  },
783
1365
  {
784
1366
  id: '@awiki/dsh-plugin#awiki/getMailAccount',
@@ -793,7 +1375,47 @@ export const TYPERT_REMOTE = {
793
1375
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
794
1376
  schema: _awiki_dsh_plugin_awiki_getMailAccount_result$schema,
795
1377
  },
796
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":112,"column":3},
1378
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":190,"column":3},
1379
+ },
1380
+ {
1381
+ id: '@awiki/dsh-plugin#awiki/getProfile',
1382
+ service: 'awiki',
1383
+ namespace: 'awiki',
1384
+ method: 'getProfile',
1385
+ invocation: { kind: 'direct' },
1386
+ parameters: [
1387
+ ],
1388
+ result: {
1389
+ mode: 'strict',
1390
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1391
+ schema: _awiki_dsh_plugin_awiki_getProfile_result$schema,
1392
+ },
1393
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":105,"column":3},
1394
+ },
1395
+ {
1396
+ id: '@awiki/dsh-plugin#awiki/getRecoveryStatus',
1397
+ service: 'awiki',
1398
+ namespace: 'awiki',
1399
+ method: 'getRecoveryStatus',
1400
+ invocation: { kind: 'direct' },
1401
+ parameters: [
1402
+ {
1403
+ name: 'request',
1404
+ wire: 'request',
1405
+ source: 'json',
1406
+ codec: {
1407
+ mode: 'strict',
1408
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryOperationRequest',
1409
+ schema: _awiki_dsh_plugin_awiki_getRecoveryStatus_parameter_0$schema,
1410
+ },
1411
+ },
1412
+ ],
1413
+ result: {
1414
+ mode: 'strict',
1415
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1416
+ schema: _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema,
1417
+ },
1418
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":120,"column":9},
797
1419
  },
798
1420
  {
799
1421
  id: '@awiki/dsh-plugin#awiki/getSession',
@@ -808,7 +1430,82 @@ export const TYPERT_REMOTE = {
808
1430
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
809
1431
  schema: _awiki_dsh_plugin_awiki_getSession_result$schema,
810
1432
  },
811
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":62,"column":9},
1433
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":82,"column":9},
1434
+ },
1435
+ {
1436
+ id: '@awiki/dsh-plugin#awiki/inspectIdentityAccess',
1437
+ service: 'awiki',
1438
+ namespace: 'awiki',
1439
+ method: 'inspectIdentityAccess',
1440
+ invocation: { kind: 'direct' },
1441
+ parameters: [
1442
+ {
1443
+ name: 'request',
1444
+ wire: 'request',
1445
+ source: 'json',
1446
+ codec: {
1447
+ mode: 'strict',
1448
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiIdentityAccessInspectionRequest',
1449
+ schema: _awiki_dsh_plugin_awiki_inspectIdentityAccess_parameter_0$schema,
1450
+ },
1451
+ },
1452
+ ],
1453
+ result: {
1454
+ mode: 'strict',
1455
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1456
+ schema: _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema,
1457
+ },
1458
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":91,"column":9},
1459
+ },
1460
+ {
1461
+ id: '@awiki/dsh-plugin#awiki/joinGroup',
1462
+ service: 'awiki',
1463
+ namespace: 'awiki',
1464
+ method: 'joinGroup',
1465
+ invocation: { kind: 'direct' },
1466
+ parameters: [
1467
+ {
1468
+ name: 'request',
1469
+ wire: 'request',
1470
+ source: 'json',
1471
+ codec: {
1472
+ mode: 'strict',
1473
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiGroupRequest',
1474
+ schema: _awiki_dsh_plugin_awiki_joinGroup_parameter_0$schema,
1475
+ },
1476
+ },
1477
+ ],
1478
+ result: {
1479
+ mode: 'strict',
1480
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1481
+ schema: _awiki_dsh_plugin_awiki_joinGroup_result$schema,
1482
+ },
1483
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":138,"column":3},
1484
+ },
1485
+ {
1486
+ id: '@awiki/dsh-plugin#awiki/leaveGroup',
1487
+ service: 'awiki',
1488
+ namespace: 'awiki',
1489
+ method: 'leaveGroup',
1490
+ invocation: { kind: 'direct' },
1491
+ parameters: [
1492
+ {
1493
+ name: 'request',
1494
+ wire: 'request',
1495
+ source: 'json',
1496
+ codec: {
1497
+ mode: 'strict',
1498
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiGroupRequest',
1499
+ schema: _awiki_dsh_plugin_awiki_leaveGroup_parameter_0$schema,
1500
+ },
1501
+ },
1502
+ ],
1503
+ result: {
1504
+ mode: 'strict',
1505
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1506
+ schema: _awiki_dsh_plugin_awiki_leaveGroup_result$schema,
1507
+ },
1508
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":141,"column":9},
812
1509
  },
813
1510
  {
814
1511
  id: '@awiki/dsh-plugin#awiki/listConversations',
@@ -834,7 +1531,32 @@ export const TYPERT_REMOTE = {
834
1531
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
835
1532
  schema: _awiki_dsh_plugin_awiki_listConversations_result$schema,
836
1533
  },
837
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":86,"column":3},
1534
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":164,"column":3},
1535
+ },
1536
+ {
1537
+ id: '@awiki/dsh-plugin#awiki/listGroupMembers',
1538
+ service: 'awiki',
1539
+ namespace: 'awiki',
1540
+ method: 'listGroupMembers',
1541
+ invocation: { kind: 'direct' },
1542
+ parameters: [
1543
+ {
1544
+ name: 'request',
1545
+ wire: 'request',
1546
+ source: 'json',
1547
+ codec: {
1548
+ mode: 'strict',
1549
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiGroupMembersRequest',
1550
+ schema: _awiki_dsh_plugin_awiki_listGroupMembers_parameter_0$schema,
1551
+ },
1552
+ },
1553
+ ],
1554
+ result: {
1555
+ mode: 'strict',
1556
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1557
+ schema: _awiki_dsh_plugin_awiki_listGroupMembers_result$schema,
1558
+ },
1559
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":144,"column":3},
838
1560
  },
839
1561
  {
840
1562
  id: '@awiki/dsh-plugin#awiki/listMailInbox',
@@ -860,7 +1582,7 @@ export const TYPERT_REMOTE = {
860
1582
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
861
1583
  schema: _awiki_dsh_plugin_awiki_listMailInbox_result$schema,
862
1584
  },
863
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":115,"column":3},
1585
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":193,"column":9},
864
1586
  },
865
1587
  {
866
1588
  id: '@awiki/dsh-plugin#awiki/login',
@@ -875,7 +1597,7 @@ export const TYPERT_REMOTE = {
875
1597
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
876
1598
  schema: _awiki_dsh_plugin_awiki_login_result$schema,
877
1599
  },
878
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":68,"column":3},
1600
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":88,"column":3},
879
1601
  },
880
1602
  {
881
1603
  id: '@awiki/dsh-plugin#awiki/logout',
@@ -900,7 +1622,7 @@ export const TYPERT_REMOTE = {
900
1622
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
901
1623
  schema: _awiki_dsh_plugin_awiki_logout_result$schema,
902
1624
  },
903
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":65,"column":3},
1625
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":85,"column":3},
904
1626
  },
905
1627
  {
906
1628
  id: '@awiki/dsh-plugin#awiki/markConversationRead',
@@ -925,7 +1647,7 @@ export const TYPERT_REMOTE = {
925
1647
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
926
1648
  schema: _awiki_dsh_plugin_awiki_markConversationRead_result$schema,
927
1649
  },
928
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":100,"column":3},
1650
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":178,"column":3},
929
1651
  },
930
1652
  {
931
1653
  id: '@awiki/dsh-plugin#awiki/markMailRead',
@@ -950,7 +1672,32 @@ export const TYPERT_REMOTE = {
950
1672
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
951
1673
  schema: _awiki_dsh_plugin_awiki_markMailRead_result$schema,
952
1674
  },
953
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":121,"column":3},
1675
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":199,"column":3},
1676
+ },
1677
+ {
1678
+ id: '@awiki/dsh-plugin#awiki/prepareRecovery',
1679
+ service: 'awiki',
1680
+ namespace: 'awiki',
1681
+ method: 'prepareRecovery',
1682
+ invocation: { kind: 'direct' },
1683
+ parameters: [
1684
+ {
1685
+ name: 'request',
1686
+ wire: 'request',
1687
+ source: 'json',
1688
+ codec: {
1689
+ mode: 'strict',
1690
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryPrepareRequest',
1691
+ schema: _awiki_dsh_plugin_awiki_prepareRecovery_parameter_0$schema,
1692
+ },
1693
+ },
1694
+ ],
1695
+ result: {
1696
+ mode: 'strict',
1697
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1698
+ schema: _awiki_dsh_plugin_awiki_prepareRecovery_result$schema,
1699
+ },
1700
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":114,"column":3},
954
1701
  },
955
1702
  {
956
1703
  id: '@awiki/dsh-plugin#awiki/readMail',
@@ -975,7 +1722,7 @@ export const TYPERT_REMOTE = {
975
1722
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
976
1723
  schema: _awiki_dsh_plugin_awiki_readMail_result$schema,
977
1724
  },
978
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":118,"column":3},
1725
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":196,"column":9},
979
1726
  },
980
1727
  {
981
1728
  id: '@awiki/dsh-plugin#awiki/registerIdentity',
@@ -1000,7 +1747,32 @@ export const TYPERT_REMOTE = {
1000
1747
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1001
1748
  schema: _awiki_dsh_plugin_awiki_registerIdentity_result$schema,
1002
1749
  },
1003
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":74,"column":9},
1750
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":99,"column":9},
1751
+ },
1752
+ {
1753
+ id: '@awiki/dsh-plugin#awiki/removeGroupMember',
1754
+ service: 'awiki',
1755
+ namespace: 'awiki',
1756
+ method: 'removeGroupMember',
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#AwikiRemoveGroupMemberRequest',
1766
+ schema: _awiki_dsh_plugin_awiki_removeGroupMember_parameter_0$schema,
1767
+ },
1768
+ },
1769
+ ],
1770
+ result: {
1771
+ mode: 'strict',
1772
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1773
+ schema: _awiki_dsh_plugin_awiki_removeGroupMember_result$schema,
1774
+ },
1775
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":150,"column":3},
1004
1776
  },
1005
1777
  {
1006
1778
  id: '@awiki/dsh-plugin#awiki/resolvePeer',
@@ -1025,7 +1797,47 @@ export const TYPERT_REMOTE = {
1025
1797
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1026
1798
  schema: _awiki_dsh_plugin_awiki_resolvePeer_result$schema,
1027
1799
  },
1028
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":80,"column":3},
1800
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":129,"column":3},
1801
+ },
1802
+ {
1803
+ id: '@awiki/dsh-plugin#awiki/resumeGroupRebindRecovery',
1804
+ service: 'awiki',
1805
+ namespace: 'awiki',
1806
+ method: 'resumeGroupRebindRecovery',
1807
+ invocation: { kind: 'direct' },
1808
+ parameters: [
1809
+ ],
1810
+ result: {
1811
+ mode: 'strict',
1812
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1813
+ schema: _awiki_dsh_plugin_awiki_resumeGroupRebindRecovery_result$schema,
1814
+ },
1815
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":153,"column":9},
1816
+ },
1817
+ {
1818
+ id: '@awiki/dsh-plugin#awiki/resumeRecovery',
1819
+ service: 'awiki',
1820
+ namespace: 'awiki',
1821
+ method: 'resumeRecovery',
1822
+ invocation: { kind: 'direct' },
1823
+ parameters: [
1824
+ {
1825
+ name: 'request',
1826
+ wire: 'request',
1827
+ source: 'json',
1828
+ codec: {
1829
+ mode: 'strict',
1830
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryOperationRequest',
1831
+ schema: _awiki_dsh_plugin_awiki_resumeRecovery_parameter_0$schema,
1832
+ },
1833
+ },
1834
+ ],
1835
+ result: {
1836
+ mode: 'strict',
1837
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1838
+ schema: _awiki_dsh_plugin_awiki_resumeRecovery_result$schema,
1839
+ },
1840
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":123,"column":9},
1029
1841
  },
1030
1842
  {
1031
1843
  id: '@awiki/dsh-plugin#awiki/sendAttachment',
@@ -1050,7 +1862,7 @@ export const TYPERT_REMOTE = {
1050
1862
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1051
1863
  schema: _awiki_dsh_plugin_awiki_sendAttachment_result$schema,
1052
1864
  },
1053
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":106,"column":9},
1865
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":184,"column":9},
1054
1866
  },
1055
1867
  {
1056
1868
  id: '@awiki/dsh-plugin#awiki/sendMail',
@@ -1075,7 +1887,32 @@ export const TYPERT_REMOTE = {
1075
1887
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1076
1888
  schema: _awiki_dsh_plugin_awiki_sendMail_result$schema,
1077
1889
  },
1078
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":124,"column":3},
1890
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":202,"column":9},
1891
+ },
1892
+ {
1893
+ id: '@awiki/dsh-plugin#awiki/sendRecoveryOtp',
1894
+ service: 'awiki',
1895
+ namespace: 'awiki',
1896
+ method: 'sendRecoveryOtp',
1897
+ invocation: { kind: 'direct' },
1898
+ parameters: [
1899
+ {
1900
+ name: 'request',
1901
+ wire: 'request',
1902
+ source: 'json',
1903
+ codec: {
1904
+ mode: 'strict',
1905
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryOtpRequest',
1906
+ schema: _awiki_dsh_plugin_awiki_sendRecoveryOtp_parameter_0$schema,
1907
+ },
1908
+ },
1909
+ ],
1910
+ result: {
1911
+ mode: 'strict',
1912
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1913
+ schema: _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema,
1914
+ },
1915
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":111,"column":3},
1079
1916
  },
1080
1917
  {
1081
1918
  id: '@awiki/dsh-plugin#awiki/sendRegistrationOtp',
@@ -1100,7 +1937,7 @@ export const TYPERT_REMOTE = {
1100
1937
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1101
1938
  schema: _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema,
1102
1939
  },
1103
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":71,"column":3},
1940
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":96,"column":3},
1104
1941
  },
1105
1942
  {
1106
1943
  id: '@awiki/dsh-plugin#awiki/sendText',
@@ -1125,7 +1962,7 @@ export const TYPERT_REMOTE = {
1125
1962
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1126
1963
  schema: _awiki_dsh_plugin_awiki_sendText_result$schema,
1127
1964
  },
1128
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":103,"column":3},
1965
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":181,"column":3},
1129
1966
  },
1130
1967
  {
1131
1968
  id: '@awiki/dsh-plugin#awiki/summarizeConversation',
@@ -1150,7 +1987,32 @@ export const TYPERT_REMOTE = {
1150
1987
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1151
1988
  schema: _awiki_dsh_plugin_awiki_summarizeConversation_result$schema,
1152
1989
  },
1153
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":95,"column":9},
1990
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":173,"column":9},
1991
+ },
1992
+ {
1993
+ id: '@awiki/dsh-plugin#awiki/updateConversationPreference',
1994
+ service: 'awiki',
1995
+ namespace: 'awiki',
1996
+ method: 'updateConversationPreference',
1997
+ invocation: { kind: 'direct' },
1998
+ parameters: [
1999
+ {
2000
+ name: 'request',
2001
+ wire: 'request',
2002
+ source: 'json',
2003
+ codec: {
2004
+ mode: 'strict',
2005
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiConversationPreferenceMutation',
2006
+ schema: _awiki_dsh_plugin_awiki_updateConversationPreference_parameter_0$schema,
2007
+ },
2008
+ },
2009
+ ],
2010
+ result: {
2011
+ mode: 'strict',
2012
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2013
+ schema: _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema,
2014
+ },
2015
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":159,"column":3},
1154
2016
  },
1155
2017
  {
1156
2018
  id: '@awiki/dsh-plugin#awiki/updateDisplayName',
@@ -1175,7 +2037,32 @@ export const TYPERT_REMOTE = {
1175
2037
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1176
2038
  schema: _awiki_dsh_plugin_awiki_updateDisplayName_result$schema,
1177
2039
  },
1178
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":77,"column":9},
2040
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":102,"column":9},
2041
+ },
2042
+ {
2043
+ id: '@awiki/dsh-plugin#awiki/updateProfile',
2044
+ service: 'awiki',
2045
+ namespace: 'awiki',
2046
+ method: 'updateProfile',
2047
+ invocation: { kind: 'direct' },
2048
+ parameters: [
2049
+ {
2050
+ name: 'request',
2051
+ wire: 'request',
2052
+ source: 'json',
2053
+ codec: {
2054
+ mode: 'strict',
2055
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiUpdateProfileRequest',
2056
+ schema: _awiki_dsh_plugin_awiki_updateProfile_parameter_0$schema,
2057
+ },
2058
+ },
2059
+ ],
2060
+ result: {
2061
+ mode: 'strict',
2062
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2063
+ schema: _awiki_dsh_plugin_awiki_updateProfile_result$schema,
2064
+ },
2065
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":108,"column":3},
1179
2066
  },
1180
2067
  ],
1181
2068
  }