@awiki/dsh-plugin 0.3.7-dsh-test.20260831.2 → 0.3.7

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 (99) hide show
  1. package/README.md +60 -58
  2. package/README.zh.md +51 -45
  3. package/THIRD_PARTY_NOTICES.md +1 -1
  4. package/cordis.patch.yml +8 -7
  5. package/lib/client.js +1119 -1340
  6. package/lib/client.js.map +1 -1
  7. package/lib/index.js +809 -1085
  8. package/lib/provider.js +17 -70
  9. package/lib/{sdk-adapter-FGaOi8It.mjs → sdk-adapter--trNlr-T.mjs} +84 -168
  10. package/lib/typert.host.js +178 -406
  11. package/lib/typert.remote-client.d.ts +7 -19
  12. package/lib/typert.remote-client.d.ts.map +1 -1
  13. package/lib/typert.remote-client.js +178 -406
  14. package/lib/types/base64.d.ts +4 -0
  15. package/lib/types/base64.d.ts.map +1 -0
  16. package/lib/types/base64.js +28 -0
  17. package/lib/types/base64.js.map +1 -0
  18. package/lib/types/client/AwikiIdentityAccess.d.ts +5 -6
  19. package/lib/types/client/AwikiIdentityAccess.d.ts.map +1 -1
  20. package/lib/types/client/AwikiIdentityAccess.js +27 -88
  21. package/lib/types/client/AwikiIdentityAccess.js.map +1 -1
  22. package/lib/types/client/AwikiMail.d.ts +1 -1
  23. package/lib/types/client/AwikiMail.d.ts.map +1 -1
  24. package/lib/types/client/AwikiMail.js +130 -6
  25. package/lib/types/client/AwikiMail.js.map +1 -1
  26. package/lib/types/client/AwikiOverlay.d.ts.map +1 -1
  27. package/lib/types/client/AwikiOverlay.js +12 -5
  28. package/lib/types/client/AwikiOverlay.js.map +1 -1
  29. package/lib/types/client/AwikiRecoveryForm.d.ts.map +1 -1
  30. package/lib/types/client/AwikiRecoveryForm.js +1 -1
  31. package/lib/types/client/AwikiRecoveryForm.js.map +1 -1
  32. package/lib/types/client/controller.d.ts +34 -20
  33. package/lib/types/client/controller.d.ts.map +1 -1
  34. package/lib/types/client/controller.js +203 -56
  35. package/lib/types/client/controller.js.map +1 -1
  36. package/lib/types/client/index.d.ts.map +1 -1
  37. package/lib/types/client/index.js +4 -8
  38. package/lib/types/client/index.js.map +1 -1
  39. package/lib/types/client/mail-attachment.d.ts +40 -0
  40. package/lib/types/client/mail-attachment.d.ts.map +1 -0
  41. package/lib/types/client/mail-attachment.js +187 -0
  42. package/lib/types/client/mail-attachment.js.map +1 -0
  43. package/lib/types/client/settings-locales.js +8 -8
  44. package/lib/types/client/settings-locales.js.map +1 -1
  45. package/lib/types/client/slots.d.ts +10 -10
  46. package/lib/types/client/slots.d.ts.map +1 -1
  47. package/lib/types/conversation-preferences.d.ts.map +1 -1
  48. package/lib/types/conversation-preferences.js +17 -0
  49. package/lib/types/conversation-preferences.js.map +1 -1
  50. package/lib/types/index.d.ts +30 -59
  51. package/lib/types/index.d.ts.map +1 -1
  52. package/lib/types/index.js +464 -805
  53. package/lib/types/index.js.map +1 -1
  54. package/lib/types/listener-state.d.ts +3 -5
  55. package/lib/types/listener-state.d.ts.map +1 -1
  56. package/lib/types/listener-state.js +13 -28
  57. package/lib/types/listener-state.js.map +1 -1
  58. package/lib/types/listener.d.ts +32 -9
  59. package/lib/types/listener.d.ts.map +1 -1
  60. package/lib/types/listener.js +127 -11
  61. package/lib/types/listener.js.map +1 -1
  62. package/lib/types/mail.d.ts +28 -2
  63. package/lib/types/mail.d.ts.map +1 -1
  64. package/lib/types/mail.js +79 -2
  65. package/lib/types/mail.js.map +1 -1
  66. package/lib/types/profile-state.d.ts +17 -0
  67. package/lib/types/profile-state.d.ts.map +1 -0
  68. package/lib/types/profile-state.js +58 -0
  69. package/lib/types/profile-state.js.map +1 -0
  70. package/lib/types/provider-api.d.ts +38 -102
  71. package/lib/types/provider-api.d.ts.map +1 -1
  72. package/lib/types/provider.d.ts +2 -8
  73. package/lib/types/provider.d.ts.map +1 -1
  74. package/lib/types/provider.js +16 -73
  75. package/lib/types/provider.js.map +1 -1
  76. package/lib/types/sdk-adapter.d.ts +7 -32
  77. package/lib/types/sdk-adapter.d.ts.map +1 -1
  78. package/lib/types/sdk-adapter.js +104 -163
  79. package/lib/types/sdk-adapter.js.map +1 -1
  80. package/lib/types/sent-mail-store.d.ts +7 -2
  81. package/lib/types/sent-mail-store.d.ts.map +1 -1
  82. package/lib/types/sent-mail-store.js +125 -23
  83. package/lib/types/sent-mail-store.js.map +1 -1
  84. package/lib/types/tools.d.ts +1 -1
  85. package/lib/types/tools.d.ts.map +1 -1
  86. package/lib/types/tools.js +20 -4
  87. package/lib/types/tools.js.map +1 -1
  88. package/lib/types/types.d.ts +66 -77
  89. package/lib/types/types.d.ts.map +1 -1
  90. package/lib/types/types.js.map +1 -1
  91. package/package.json +15 -20
  92. package/lib/types/client/AwikiDevices.d.ts +0 -28
  93. package/lib/types/client/AwikiDevices.d.ts.map +0 -1
  94. package/lib/types/client/AwikiDevices.js +0 -85
  95. package/lib/types/client/AwikiDevices.js.map +0 -1
  96. package/lib/types/realtime-supervisor.d.ts +0 -54
  97. package/lib/types/realtime-supervisor.d.ts.map +0 -1
  98. package/lib/types/realtime-supervisor.js +0 -242
  99. package/lib/types/realtime-supervisor.js.map +0 -1
@@ -7,7 +7,7 @@ const _awiki_dsh_plugin_awiki_activateRecovery_parameter_0$schema = z.object({
7
7
  const _awiki_dsh_plugin_awiki_activateRecovery_result$schema = z.union([z.object({
8
8
  'ok': z.literal(false).readonly(),
9
9
  'error': z.object({
10
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("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(),
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("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
11
11
  'message': z.string().readonly(),
12
12
  }).readonly(),
13
13
  }), z.object({
@@ -22,17 +22,19 @@ const _awiki_dsh_plugin_awiki_activateRecovery_result$schema = z.union([z.object
22
22
  'retryable': z.boolean().readonly(),
23
23
  'localOrdinaryDataWillMigrate': z.boolean().readonly(),
24
24
  'otherDevicesMustRejoin': z.boolean().readonly(),
25
+ 'unsupportedE2eeGroupCount': z.number().readonly(),
26
+ 'unsupportedDidOnlyGroupCount': z.number().readonly(),
25
27
  }).readonly(),
26
28
  })])
27
29
  const _awiki_dsh_plugin_awiki_addGroupMember_parameter_0$schema = z.object({
28
30
  'member': z.string().readonly(),
29
- 'role': z.union([z.literal("member"), z.literal("admin")]).readonly().optional(),
31
+ 'role': z.union([z.literal("admin"), z.literal("member")]).readonly().optional(),
30
32
  'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
31
33
  })
32
34
  const _awiki_dsh_plugin_awiki_addGroupMember_result$schema = z.union([z.object({
33
35
  'ok': z.literal(false).readonly(),
34
36
  'error': z.object({
35
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
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("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
36
38
  'message': z.string().readonly(),
37
39
  }).readonly(),
38
40
  }), z.object({
@@ -42,60 +44,13 @@ const _awiki_dsh_plugin_awiki_addGroupMember_result$schema = z.union([z.object({
42
44
  'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
43
45
  }).readonly(),
44
46
  })])
45
- const _awiki_dsh_plugin_awiki_approveDeviceJoin_parameter_0$schema = z.object({
46
- 'enteredSas': z.string().readonly(),
47
- 'confirmation': z.string().readonly(),
48
- 'requestRef': z.string().readonly(),
49
- })
50
- const _awiki_dsh_plugin_awiki_approveDeviceJoin_result$schema = z.union([z.object({
51
- 'ok': z.literal(false).readonly(),
52
- 'error': z.object({
53
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
54
- 'message': z.string().readonly(),
55
- }).readonly(),
56
- }), z.object({
57
- 'ok': z.literal(true).readonly(),
58
- 'value': z.object({
59
- 'requestRef': z.string().readonly(),
60
- 'phase': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
61
- 'expiresAt': z.string().readonly(),
62
- 'sas': z.string().readonly().optional(),
63
- }).readonly(),
64
- })])
65
- const _awiki_dsh_plugin_awiki_beginDeviceJoin_result$schema = z.union([z.object({
66
- 'ok': z.literal(false).readonly(),
67
- 'error': z.object({
68
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
69
- 'message': z.string().readonly(),
70
- }).readonly(),
71
- }), z.object({
72
- 'ok': z.literal(true).readonly(),
73
- 'value': z.object({
74
- 'phase': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
75
- 'expiresAt': z.string().readonly(),
76
- 'sas': z.string().readonly().optional(),
77
- 'completed': z.boolean().readonly(),
78
- }).readonly(),
79
- })])
80
- const _awiki_dsh_plugin_awiki_cancelDeviceJoin_result$schema = z.union([z.object({
81
- 'ok': z.literal(false).readonly(),
82
- 'error': z.object({
83
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
84
- 'message': z.string().readonly(),
85
- }).readonly(),
86
- }), z.object({
87
- 'ok': z.literal(true).readonly(),
88
- 'value': z.object({
89
- 'completed': z.literal(true).readonly(),
90
- }).readonly(),
91
- })])
92
47
  const _awiki_dsh_plugin_awiki_clearLocalData_parameter_0$schema = z.object({
93
48
  'confirmation': z.string().readonly(),
94
49
  })
95
50
  const _awiki_dsh_plugin_awiki_clearLocalData_result$schema = z.union([z.object({
96
51
  'ok': z.literal(false).readonly(),
97
52
  '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("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(),
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("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
99
54
  'message': z.string().readonly(),
100
55
  }).readonly(),
101
56
  }), z.object({
@@ -111,7 +66,7 @@ const _awiki_dsh_plugin_awiki_createGroup_parameter_0$schema = z.object({
111
66
  const _awiki_dsh_plugin_awiki_createGroup_result$schema = z.union([z.object({
112
67
  'ok': z.literal(false).readonly(),
113
68
  'error': z.object({
114
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
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("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
115
70
  'message': z.string().readonly(),
116
71
  }).readonly(),
117
72
  }), z.object({
@@ -133,7 +88,7 @@ const _awiki_dsh_plugin_awiki_createGroup_result$schema = z.union([z.object({
133
88
  'failedMembers': z.array(z.object({
134
89
  'member': z.string().readonly(),
135
90
  'error': z.object({
136
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
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("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
137
92
  'message': z.string().readonly(),
138
93
  }).readonly(),
139
94
  })).readonly(),
@@ -145,7 +100,7 @@ const _awiki_dsh_plugin_awiki_discardRecovery_parameter_0$schema = z.object({
145
100
  const _awiki_dsh_plugin_awiki_discardRecovery_result$schema = z.union([z.object({
146
101
  'ok': z.literal(false).readonly(),
147
102
  'error': z.object({
148
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
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("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
149
104
  'message': z.string().readonly(),
150
105
  }).readonly(),
151
106
  }), z.object({
@@ -161,7 +116,7 @@ const _awiki_dsh_plugin_awiki_downloadAttachment_parameter_0$schema = z.object({
161
116
  const _awiki_dsh_plugin_awiki_downloadAttachment_result$schema = z.union([z.object({
162
117
  'ok': z.literal(false).readonly(),
163
118
  'error': z.object({
164
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
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("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
165
120
  'message': z.string().readonly(),
166
121
  }).readonly(),
167
122
  }), z.object({
@@ -177,24 +132,49 @@ const _awiki_dsh_plugin_awiki_downloadAttachment_result$schema = z.union([z.obje
177
132
  'bytesBase64': z.string().readonly(),
178
133
  }).readonly(),
179
134
  })])
135
+ const _awiki_dsh_plugin_awiki_downloadMailAttachment_parameter_0$schema = z.object({
136
+ 'localMessageId': z.intersection(z.string(), z.unknown()).readonly(),
137
+ 'attachmentIndex': z.number().readonly(),
138
+ })
139
+ const _awiki_dsh_plugin_awiki_downloadMailAttachment_result$schema = z.union([z.object({
140
+ 'ok': z.literal(false).readonly(),
141
+ 'error': z.object({
142
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
143
+ 'message': z.string().readonly(),
144
+ }).readonly(),
145
+ }), z.object({
146
+ 'ok': z.literal(true).readonly(),
147
+ 'value': z.object({
148
+ 'fileName': z.string().readonly(),
149
+ 'contentType': z.string().readonly(),
150
+ 'sizeBytes': z.number().readonly(),
151
+ 'sha256': z.string().readonly(),
152
+ 'bytesBase64': z.string().readonly(),
153
+ }).readonly(),
154
+ })])
180
155
  const _awiki_dsh_plugin_awiki_getConfig_result$schema = z.union([z.object({
181
156
  'ok': z.literal(false).readonly(),
182
157
  'error': z.object({
183
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
158
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
184
159
  'message': z.string().readonly(),
185
160
  }).readonly(),
186
161
  }), z.object({
187
162
  'ok': z.literal(true).readonly(),
188
163
  'value': z.object({
164
+ 'tenantDomain': z.string().readonly(),
189
165
  'pollIntervalMs': z.number().readonly(),
190
166
  'attachmentMaxBytes': z.number().readonly(),
191
- 'handleRecoveryPhoneEnabled': z.boolean().readonly(),
167
+ 'mailAttachmentMaxCount': z.number().readonly(),
168
+ 'mailAttachmentMaxBytes': z.number().readonly(),
169
+ 'mailAttachmentTotalMaxBytes': z.number().readonly(),
170
+ 'profileName': z.string().readonly().optional(),
171
+ 'legacySharedStateDetected': z.boolean().readonly().optional(),
192
172
  }).readonly(),
193
173
  })])
194
174
  const _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema = z.union([z.object({
195
175
  'ok': z.literal(false).readonly(),
196
176
  'error': z.object({
197
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
177
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
198
178
  'message': z.string().readonly(),
199
179
  }).readonly(),
200
180
  }), z.object({
@@ -222,30 +202,16 @@ const _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema = z.union
222
202
  })]).readonly(),
223
203
  'hiddenAt': z.number().readonly(),
224
204
  })).readonly(),
205
+ 'dismissedGroupRecoverySignature': z.string().readonly().optional(),
225
206
  }).readonly(),
226
207
  })])
227
- const _awiki_dsh_plugin_awiki_getDeviceJoinStatus_result$schema = z.union([z.object({
228
- 'ok': z.literal(false).readonly(),
229
- 'error': z.object({
230
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
231
- 'message': z.string().readonly(),
232
- }).readonly(),
233
- }), z.object({
234
- 'ok': z.literal(true).readonly(),
235
- 'value': z.union([z.literal(null), z.object({
236
- 'phase': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
237
- 'expiresAt': z.string().readonly(),
238
- 'sas': z.string().readonly().optional(),
239
- 'completed': z.boolean().readonly(),
240
- })]).readonly(),
241
- })])
242
208
  const _awiki_dsh_plugin_awiki_getGroup_parameter_0$schema = z.object({
243
209
  'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
244
210
  })
245
211
  const _awiki_dsh_plugin_awiki_getGroup_result$schema = z.union([z.object({
246
212
  'ok': z.literal(false).readonly(),
247
213
  'error': z.object({
248
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
214
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
249
215
  'message': z.string().readonly(),
250
216
  }).readonly(),
251
217
  }), z.object({
@@ -268,7 +234,7 @@ const _awiki_dsh_plugin_awiki_getHistory_parameter_0$schema = z.object({
268
234
  const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
269
235
  'ok': z.literal(false).readonly(),
270
236
  'error': z.object({
271
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
237
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
272
238
  'message': z.string().readonly(),
273
239
  }).readonly(),
274
240
  }), z.object({
@@ -312,7 +278,7 @@ const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
312
278
  const _awiki_dsh_plugin_awiki_getIdentity_result$schema = z.union([z.object({
313
279
  'ok': z.literal(false).readonly(),
314
280
  'error': z.object({
315
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
281
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
316
282
  'message': z.string().readonly(),
317
283
  }).readonly(),
318
284
  }), z.object({
@@ -332,7 +298,7 @@ const _awiki_dsh_plugin_awiki_getLocalHistory_parameter_0$schema = z.object({
332
298
  const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object({
333
299
  'ok': z.literal(false).readonly(),
334
300
  'error': z.object({
335
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
301
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
336
302
  'message': z.string().readonly(),
337
303
  }).readonly(),
338
304
  }), z.object({
@@ -376,7 +342,7 @@ const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object(
376
342
  const _awiki_dsh_plugin_awiki_getMailAccount_result$schema = z.union([z.object({
377
343
  'ok': z.literal(false).readonly(),
378
344
  'error': z.object({
379
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("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(),
345
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
380
346
  'message': z.string().readonly(),
381
347
  }).readonly(),
382
348
  }), z.object({
@@ -390,7 +356,7 @@ const _awiki_dsh_plugin_awiki_getMailAccount_result$schema = z.union([z.object({
390
356
  const _awiki_dsh_plugin_awiki_getProfile_result$schema = z.union([z.object({
391
357
  'ok': z.literal(false).readonly(),
392
358
  'error': z.object({
393
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
359
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
394
360
  'message': z.string().readonly(),
395
361
  }).readonly(),
396
362
  }), z.object({
@@ -410,7 +376,7 @@ const _awiki_dsh_plugin_awiki_getRecoveryStatus_parameter_0$schema = z.object({
410
376
  const _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema = z.union([z.object({
411
377
  'ok': z.literal(false).readonly(),
412
378
  'error': z.object({
413
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
379
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
414
380
  'message': z.string().readonly(),
415
381
  }).readonly(),
416
382
  }), z.object({
@@ -425,12 +391,14 @@ const _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema = z.union([z.objec
425
391
  'retryable': z.boolean().readonly(),
426
392
  'localOrdinaryDataWillMigrate': z.boolean().readonly(),
427
393
  'otherDevicesMustRejoin': z.boolean().readonly(),
394
+ 'unsupportedE2eeGroupCount': z.number().readonly(),
395
+ 'unsupportedDidOnlyGroupCount': z.number().readonly(),
428
396
  }).readonly(),
429
397
  })])
430
398
  const _awiki_dsh_plugin_awiki_getSession_result$schema = z.union([z.object({
431
399
  'ok': z.literal(false).readonly(),
432
400
  'error': z.object({
433
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
401
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
434
402
  'message': z.string().readonly(),
435
403
  }).readonly(),
436
404
  }), z.object({
@@ -455,7 +423,7 @@ const _awiki_dsh_plugin_awiki_inspectIdentityAccess_parameter_0$schema = z.objec
455
423
  const _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema = z.union([z.object({
456
424
  'ok': z.literal(false).readonly(),
457
425
  'error': z.object({
458
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
426
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
459
427
  'message': z.string().readonly(),
460
428
  }).readonly(),
461
429
  }), z.object({
@@ -471,7 +439,7 @@ const _awiki_dsh_plugin_awiki_joinGroup_parameter_0$schema = z.object({
471
439
  const _awiki_dsh_plugin_awiki_joinGroup_result$schema = z.union([z.object({
472
440
  'ok': z.literal(false).readonly(),
473
441
  'error': z.object({
474
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
442
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
475
443
  'message': z.string().readonly(),
476
444
  }).readonly(),
477
445
  }), z.object({
@@ -492,7 +460,7 @@ const _awiki_dsh_plugin_awiki_leaveGroup_parameter_0$schema = z.object({
492
460
  const _awiki_dsh_plugin_awiki_leaveGroup_result$schema = z.union([z.object({
493
461
  'ok': z.literal(false).readonly(),
494
462
  'error': z.object({
495
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
463
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
496
464
  'message': z.string().readonly(),
497
465
  }).readonly(),
498
466
  }), z.object({
@@ -508,7 +476,7 @@ const _awiki_dsh_plugin_awiki_listConversations_parameter_0$schema = z.union([z.
508
476
  const _awiki_dsh_plugin_awiki_listConversations_result$schema = z.union([z.object({
509
477
  'ok': z.literal(false).readonly(),
510
478
  'error': z.object({
511
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
479
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
512
480
  'message': z.string().readonly(),
513
481
  }).readonly(),
514
482
  }), z.object({
@@ -545,7 +513,7 @@ const _awiki_dsh_plugin_awiki_listGroupMembers_parameter_0$schema = z.object({
545
513
  const _awiki_dsh_plugin_awiki_listGroupMembers_result$schema = z.union([z.object({
546
514
  'ok': z.literal(false).readonly(),
547
515
  'error': z.object({
548
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
516
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
549
517
  'message': z.string().readonly(),
550
518
  }).readonly(),
551
519
  }), z.object({
@@ -580,7 +548,7 @@ const _awiki_dsh_plugin_awiki_listMailInbox_parameter_0$schema = z.union([z.unde
580
548
  const _awiki_dsh_plugin_awiki_listMailInbox_result$schema = z.union([z.object({
581
549
  'ok': z.literal(false).readonly(),
582
550
  '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("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(),
551
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
584
552
  'message': z.string().readonly(),
585
553
  }).readonly(),
586
554
  }), z.object({
@@ -609,7 +577,7 @@ const _awiki_dsh_plugin_awiki_listMailInbox_result$schema = z.union([z.object({
609
577
  const _awiki_dsh_plugin_awiki_login_result$schema = z.union([z.object({
610
578
  'ok': z.literal(false).readonly(),
611
579
  '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("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(),
580
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
613
581
  'message': z.string().readonly(),
614
582
  }).readonly(),
615
583
  }), z.object({
@@ -634,7 +602,7 @@ const _awiki_dsh_plugin_awiki_logout_parameter_0$schema = z.object({
634
602
  const _awiki_dsh_plugin_awiki_logout_result$schema = z.union([z.object({
635
603
  'ok': z.literal(false).readonly(),
636
604
  'error': z.object({
637
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
605
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
638
606
  'message': z.string().readonly(),
639
607
  }).readonly(),
640
608
  }), z.object({
@@ -659,7 +627,7 @@ const _awiki_dsh_plugin_awiki_markConversationRead_parameter_0$schema = z.object
659
627
  const _awiki_dsh_plugin_awiki_markConversationRead_result$schema = z.union([z.object({
660
628
  'ok': z.literal(false).readonly(),
661
629
  'error': z.object({
662
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
630
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
663
631
  'message': z.string().readonly(),
664
632
  }).readonly(),
665
633
  }), z.object({
@@ -672,7 +640,7 @@ const _awiki_dsh_plugin_awiki_markMailRead_parameter_0$schema = z.object({
672
640
  const _awiki_dsh_plugin_awiki_markMailRead_result$schema = z.union([z.object({
673
641
  'ok': z.literal(false).readonly(),
674
642
  'error': z.object({
675
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
643
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
676
644
  'message': z.string().readonly(),
677
645
  }).readonly(),
678
646
  }), z.object({
@@ -689,7 +657,7 @@ const _awiki_dsh_plugin_awiki_prepareRecovery_parameter_0$schema = z.object({
689
657
  const _awiki_dsh_plugin_awiki_prepareRecovery_result$schema = z.union([z.object({
690
658
  'ok': z.literal(false).readonly(),
691
659
  'error': z.object({
692
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
660
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
693
661
  'message': z.string().readonly(),
694
662
  }).readonly(),
695
663
  }), z.object({
@@ -704,6 +672,8 @@ const _awiki_dsh_plugin_awiki_prepareRecovery_result$schema = z.union([z.object(
704
672
  'retryable': z.boolean().readonly(),
705
673
  'localOrdinaryDataWillMigrate': z.boolean().readonly(),
706
674
  'otherDevicesMustRejoin': z.boolean().readonly(),
675
+ 'unsupportedE2eeGroupCount': z.number().readonly(),
676
+ 'unsupportedDidOnlyGroupCount': z.number().readonly(),
707
677
  }).readonly(),
708
678
  })])
709
679
  const _awiki_dsh_plugin_awiki_readMail_parameter_0$schema = z.object({
@@ -712,7 +682,7 @@ const _awiki_dsh_plugin_awiki_readMail_parameter_0$schema = z.object({
712
682
  const _awiki_dsh_plugin_awiki_readMail_result$schema = z.union([z.object({
713
683
  'ok': z.literal(false).readonly(),
714
684
  'error': z.object({
715
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
685
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
716
686
  'message': z.string().readonly(),
717
687
  }).readonly(),
718
688
  }), z.object({
@@ -745,36 +715,6 @@ const _awiki_dsh_plugin_awiki_readMail_result$schema = z.union([z.object({
745
715
  })).readonly(),
746
716
  }).readonly(),
747
717
  })])
748
- const _awiki_dsh_plugin_awiki_refreshDeviceManagement_result$schema = z.union([z.object({
749
- 'ok': z.literal(false).readonly(),
750
- 'error': z.object({
751
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
752
- 'message': z.string().readonly(),
753
- }).readonly(),
754
- }), z.object({
755
- 'ok': z.literal(true).readonly(),
756
- 'value': z.object({
757
- 'canManage': z.boolean().readonly(),
758
- 'role': z.union([z.literal("member"), z.literal("admin")]).readonly().optional(),
759
- 'readiness': z.union([z.literal("legacy"), z.literal("member_ready"), z.literal("admin_awaiting_root"), z.literal("admin_ready"), z.literal("blocked")]).readonly(),
760
- 'devices': z.array(z.object({
761
- 'deviceRef': z.string().readonly(),
762
- 'status': z.union([z.literal("active"), z.literal("revoked")]).readonly(),
763
- 'role': z.union([z.literal("member"), z.literal("admin")]).readonly(),
764
- 'managementReady': z.boolean().readonly(),
765
- 'isCurrent': z.boolean().readonly(),
766
- })).readonly(),
767
- 'requests': z.array(z.object({
768
- 'requestRef': z.string().readonly(),
769
- 'candidateKeyFingerprint': z.string().readonly(),
770
- 'issuedAt': z.string().readonly(),
771
- 'expiresAt': z.string().readonly(),
772
- 'state': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
773
- 'claimedByCurrentDevice': z.boolean().readonly(),
774
- 'canStartVerification': z.boolean().readonly(),
775
- })).readonly(),
776
- }).readonly(),
777
- })])
778
718
  const _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema = z.object({
779
719
  'handle': z.string().readonly(),
780
720
  'phone': z.string().readonly(),
@@ -783,44 +723,17 @@ const _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema = z.object({
783
723
  const _awiki_dsh_plugin_awiki_registerIdentity_result$schema = z.union([z.object({
784
724
  'ok': z.literal(false).readonly(),
785
725
  'error': z.object({
786
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
726
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
787
727
  'message': z.string().readonly(),
788
728
  }).readonly(),
789
729
  }), z.object({
790
730
  'ok': z.literal(true).readonly(),
791
- 'value': z.union([z.object({
792
- 'status': z.literal("registered").readonly(),
793
- 'identity': z.object({
731
+ 'value': z.object({
794
732
  'handle': z.intersection(z.string(), z.unknown()).readonly(),
795
733
  'did': z.intersection(z.string(), z.unknown()).readonly(),
796
734
  'displayName': z.string().readonly().optional(),
797
735
  'registeredAt': z.number().readonly(),
798
736
  }).readonly(),
799
- }), z.object({
800
- 'status': z.literal("join-required").readonly(),
801
- 'fullHandle': z.intersection(z.string(), z.unknown()).readonly(),
802
- 'mode': z.union([z.literal("ordinary"), z.literal("handle-recovery-rebind")]).readonly(),
803
- 'requiresUserPresence': z.boolean().readonly(),
804
- })]).readonly(),
805
- })])
806
- const _awiki_dsh_plugin_awiki_rejectDeviceJoin_parameter_0$schema = z.object({
807
- 'reason': z.union([z.literal("user_rejected"), z.literal("sas_mismatch")]).readonly(),
808
- 'requestRef': z.string().readonly(),
809
- })
810
- const _awiki_dsh_plugin_awiki_rejectDeviceJoin_result$schema = z.union([z.object({
811
- 'ok': z.literal(false).readonly(),
812
- 'error': z.object({
813
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
814
- 'message': z.string().readonly(),
815
- }).readonly(),
816
- }), z.object({
817
- 'ok': z.literal(true).readonly(),
818
- 'value': z.object({
819
- 'requestRef': z.string().readonly(),
820
- 'phase': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
821
- 'expiresAt': z.string().readonly(),
822
- 'sas': z.string().readonly().optional(),
823
- }).readonly(),
824
737
  })])
825
738
  const _awiki_dsh_plugin_awiki_removeGroupMember_parameter_0$schema = z.object({
826
739
  'member': z.string().readonly(),
@@ -829,7 +742,7 @@ const _awiki_dsh_plugin_awiki_removeGroupMember_parameter_0$schema = z.object({
829
742
  const _awiki_dsh_plugin_awiki_removeGroupMember_result$schema = z.union([z.object({
830
743
  'ok': z.literal(false).readonly(),
831
744
  'error': z.object({
832
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
745
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
833
746
  'message': z.string().readonly(),
834
747
  }).readonly(),
835
748
  }), z.object({
@@ -845,7 +758,7 @@ const _awiki_dsh_plugin_awiki_resolvePeer_parameter_0$schema = z.object({
845
758
  const _awiki_dsh_plugin_awiki_resolvePeer_result$schema = z.union([z.object({
846
759
  'ok': z.literal(false).readonly(),
847
760
  'error': z.object({
848
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
761
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
849
762
  'message': z.string().readonly(),
850
763
  }).readonly(),
851
764
  }), z.object({
@@ -857,13 +770,32 @@ const _awiki_dsh_plugin_awiki_resolvePeer_result$schema = z.union([z.object({
857
770
  'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
858
771
  }).readonly(),
859
772
  })])
773
+ const _awiki_dsh_plugin_awiki_resumeGroupRebindRecovery_result$schema = z.union([z.object({
774
+ 'ok': z.literal(false).readonly(),
775
+ 'error': z.object({
776
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
777
+ 'message': z.string().readonly(),
778
+ }).readonly(),
779
+ }), z.object({
780
+ 'ok': z.literal(true).readonly(),
781
+ 'value': z.object({
782
+ 'processed': z.number().readonly(),
783
+ 'completed': z.number().readonly(),
784
+ 'pending': z.number().readonly(),
785
+ 'blocked': z.number().readonly(),
786
+ 'items': z.array(z.object({
787
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
788
+ 'status': z.union([z.literal("pending"), z.literal("blocked")]).readonly(),
789
+ })).readonly(),
790
+ }).readonly(),
791
+ })])
860
792
  const _awiki_dsh_plugin_awiki_resumeRecovery_parameter_0$schema = z.object({
861
793
  'operationId': z.string().readonly(),
862
794
  })
863
795
  const _awiki_dsh_plugin_awiki_resumeRecovery_result$schema = z.union([z.object({
864
796
  'ok': z.literal(false).readonly(),
865
797
  'error': z.object({
866
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
798
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
867
799
  'message': z.string().readonly(),
868
800
  }).readonly(),
869
801
  }), z.object({
@@ -878,40 +810,8 @@ const _awiki_dsh_plugin_awiki_resumeRecovery_result$schema = z.union([z.object({
878
810
  'retryable': z.boolean().readonly(),
879
811
  'localOrdinaryDataWillMigrate': z.boolean().readonly(),
880
812
  'otherDevicesMustRejoin': z.boolean().readonly(),
881
- }).readonly(),
882
- })])
883
- const _awiki_dsh_plugin_awiki_revokeDevice_parameter_0$schema = z.object({
884
- 'deviceRef': z.string().readonly(),
885
- 'confirmation': z.string().readonly(),
886
- })
887
- const _awiki_dsh_plugin_awiki_revokeDevice_result$schema = z.union([z.object({
888
- 'ok': z.literal(false).readonly(),
889
- 'error': z.object({
890
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
891
- 'message': z.string().readonly(),
892
- }).readonly(),
893
- }), z.object({
894
- 'ok': z.literal(true).readonly(),
895
- 'value': z.object({
896
- 'canManage': z.boolean().readonly(),
897
- 'role': z.union([z.literal("member"), z.literal("admin")]).readonly().optional(),
898
- 'readiness': z.union([z.literal("legacy"), z.literal("member_ready"), z.literal("admin_awaiting_root"), z.literal("admin_ready"), z.literal("blocked")]).readonly(),
899
- 'devices': z.array(z.object({
900
- 'deviceRef': z.string().readonly(),
901
- 'status': z.union([z.literal("active"), z.literal("revoked")]).readonly(),
902
- 'role': z.union([z.literal("member"), z.literal("admin")]).readonly(),
903
- 'managementReady': z.boolean().readonly(),
904
- 'isCurrent': z.boolean().readonly(),
905
- })).readonly(),
906
- 'requests': z.array(z.object({
907
- 'requestRef': z.string().readonly(),
908
- 'candidateKeyFingerprint': z.string().readonly(),
909
- 'issuedAt': z.string().readonly(),
910
- 'expiresAt': z.string().readonly(),
911
- 'state': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
912
- 'claimedByCurrentDevice': z.boolean().readonly(),
913
- 'canStartVerification': z.boolean().readonly(),
914
- })).readonly(),
813
+ 'unsupportedE2eeGroupCount': z.number().readonly(),
814
+ 'unsupportedDidOnlyGroupCount': z.number().readonly(),
915
815
  }).readonly(),
916
816
  })])
917
817
  const _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema = z.object({
@@ -931,7 +831,7 @@ const _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema = z.object({
931
831
  const _awiki_dsh_plugin_awiki_sendAttachment_result$schema = z.union([z.object({
932
832
  'ok': z.literal(false).readonly(),
933
833
  'error': z.object({
934
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
834
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
935
835
  'message': z.string().readonly(),
936
836
  }).readonly(),
937
837
  }), z.object({
@@ -973,11 +873,17 @@ const _awiki_dsh_plugin_awiki_sendMail_parameter_0$schema = z.object({
973
873
  'cc': z.array(z.string()).readonly().optional(),
974
874
  'subject': z.string().readonly(),
975
875
  'bodyText': z.string().readonly(),
876
+ 'attachments': z.array(z.object({
877
+ 'fileName': z.string().readonly(),
878
+ 'contentType': z.string().readonly(),
879
+ 'sizeBytes': z.number().readonly(),
880
+ 'bytesBase64': z.string().readonly(),
881
+ })).readonly().optional(),
976
882
  })
977
883
  const _awiki_dsh_plugin_awiki_sendMail_result$schema = z.union([z.object({
978
884
  'ok': z.literal(false).readonly(),
979
885
  'error': z.object({
980
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
886
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
981
887
  'message': z.string().readonly(),
982
888
  }).readonly(),
983
889
  }), z.object({
@@ -995,7 +901,7 @@ const _awiki_dsh_plugin_awiki_sendRecoveryOtp_parameter_0$schema = z.object({
995
901
  const _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema = z.union([z.object({
996
902
  'ok': z.literal(false).readonly(),
997
903
  'error': z.object({
998
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("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(),
904
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
999
905
  'message': z.string().readonly(),
1000
906
  }).readonly(),
1001
907
  }), z.object({
@@ -1014,7 +920,7 @@ const _awiki_dsh_plugin_awiki_sendRegistrationOtp_parameter_0$schema = z.object(
1014
920
  const _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema = z.union([z.object({
1015
921
  'ok': z.literal(false).readonly(),
1016
922
  'error': z.object({
1017
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
923
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1018
924
  'message': z.string().readonly(),
1019
925
  }).readonly(),
1020
926
  }), z.object({
@@ -1045,7 +951,7 @@ const _awiki_dsh_plugin_awiki_sendText_parameter_0$schema = z.object({
1045
951
  const _awiki_dsh_plugin_awiki_sendText_result$schema = z.union([z.object({
1046
952
  'ok': z.literal(false).readonly(),
1047
953
  'error': z.object({
1048
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
954
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1049
955
  'message': z.string().readonly(),
1050
956
  }).readonly(),
1051
957
  }), z.object({
@@ -1082,24 +988,6 @@ const _awiki_dsh_plugin_awiki_sendText_result$schema = z.union([z.object({
1082
988
  })]).readonly(),
1083
989
  }).readonly(),
1084
990
  })])
1085
- const _awiki_dsh_plugin_awiki_startDeviceJoinVerification_parameter_0$schema = z.object({
1086
- 'requestRef': z.string().readonly(),
1087
- })
1088
- const _awiki_dsh_plugin_awiki_startDeviceJoinVerification_result$schema = z.union([z.object({
1089
- 'ok': z.literal(false).readonly(),
1090
- 'error': z.object({
1091
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1092
- 'message': z.string().readonly(),
1093
- }).readonly(),
1094
- }), z.object({
1095
- 'ok': z.literal(true).readonly(),
1096
- 'value': z.object({
1097
- 'requestRef': z.string().readonly(),
1098
- 'phase': z.union([z.literal("pending"), z.literal("verifying"), z.literal("sas-ready"), z.literal("authorized"), z.literal("cancelled"), z.literal("rejected"), z.literal("expired")]).readonly(),
1099
- 'expiresAt': z.string().readonly(),
1100
- 'sas': z.string().readonly().optional(),
1101
- }).readonly(),
1102
- })])
1103
991
  const _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema = z.object({
1104
992
  'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
1105
993
  'unreadCountAtOpen': z.number().readonly().optional(),
@@ -1107,7 +995,7 @@ const _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema = z.objec
1107
995
  const _awiki_dsh_plugin_awiki_summarizeConversation_result$schema = z.union([z.object({
1108
996
  'ok': z.literal(false).readonly(),
1109
997
  'error': z.object({
1110
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
998
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1111
999
  'message': z.string().readonly(),
1112
1000
  }).readonly(),
1113
1001
  }), z.object({
@@ -1154,11 +1042,14 @@ const _awiki_dsh_plugin_awiki_updateConversationPreference_parameter_0$schema =
1154
1042
  }), z.object({
1155
1043
  'action': z.literal("restore").readonly(),
1156
1044
  'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
1045
+ }), z.object({
1046
+ 'action': z.literal("dismiss-group-recovery").readonly(),
1047
+ 'signature': z.string().readonly(),
1157
1048
  })])
1158
1049
  const _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema = z.union([z.object({
1159
1050
  'ok': z.literal(false).readonly(),
1160
1051
  'error': z.object({
1161
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1052
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1162
1053
  'message': z.string().readonly(),
1163
1054
  }).readonly(),
1164
1055
  }), z.object({
@@ -1186,6 +1077,7 @@ const _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema = z.uni
1186
1077
  })]).readonly(),
1187
1078
  'hiddenAt': z.number().readonly(),
1188
1079
  })).readonly(),
1080
+ 'dismissedGroupRecoverySignature': z.string().readonly().optional(),
1189
1081
  }).readonly(),
1190
1082
  })])
1191
1083
  const _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema = z.object({
@@ -1194,7 +1086,7 @@ const _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema = z.object({
1194
1086
  const _awiki_dsh_plugin_awiki_updateDisplayName_result$schema = z.union([z.object({
1195
1087
  'ok': z.literal(false).readonly(),
1196
1088
  'error': z.object({
1197
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1089
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1198
1090
  'message': z.string().readonly(),
1199
1091
  }).readonly(),
1200
1092
  }), z.object({
@@ -1214,7 +1106,7 @@ const _awiki_dsh_plugin_awiki_updateProfile_parameter_0$schema = z.object({
1214
1106
  const _awiki_dsh_plugin_awiki_updateProfile_result$schema = z.union([z.object({
1215
1107
  'ok': z.literal(false).readonly(),
1216
1108
  'error': z.object({
1217
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1109
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("state-in-use"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
1218
1110
  'message': z.string().readonly(),
1219
1111
  }).readonly(),
1220
1112
  }), z.object({
@@ -1258,7 +1150,7 @@ export const TYPERT = {
1258
1150
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1259
1151
  schema: _awiki_dsh_plugin_awiki_activateRecovery_result$schema,
1260
1152
  },
1261
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":158,"column":9},
1153
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":119,"column":9},
1262
1154
  },
1263
1155
  {
1264
1156
  id: '@awiki/dsh-plugin#awiki/addGroupMember',
@@ -1283,62 +1175,7 @@ export const TYPERT = {
1283
1175
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1284
1176
  schema: _awiki_dsh_plugin_awiki_addGroupMember_result$schema,
1285
1177
  },
1286
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":188,"column":3},
1287
- },
1288
- {
1289
- id: '@awiki/dsh-plugin#awiki/approveDeviceJoin',
1290
- service: 'awiki',
1291
- namespace: 'awiki',
1292
- method: 'approveDeviceJoin',
1293
- invocation: { kind: 'direct' },
1294
- parameters: [
1295
- {
1296
- name: 'request',
1297
- wire: 'request',
1298
- source: 'json',
1299
- codec: {
1300
- mode: 'strict',
1301
- typeSymbol: '@awiki/dsh-plugin/types#AwikiApproveDeviceJoinRequest',
1302
- schema: _awiki_dsh_plugin_awiki_approveDeviceJoin_parameter_0$schema,
1303
- },
1304
- },
1305
- ],
1306
- result: {
1307
- mode: 'strict',
1308
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1309
- schema: _awiki_dsh_plugin_awiki_approveDeviceJoin_result$schema,
1310
- },
1311
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":128,"column":9},
1312
- },
1313
- {
1314
- id: '@awiki/dsh-plugin#awiki/beginDeviceJoin',
1315
- service: 'awiki',
1316
- namespace: 'awiki',
1317
- method: 'beginDeviceJoin',
1318
- invocation: { kind: 'direct' },
1319
- parameters: [
1320
- ],
1321
- result: {
1322
- mode: 'strict',
1323
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1324
- schema: _awiki_dsh_plugin_awiki_beginDeviceJoin_result$schema,
1325
- },
1326
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":111,"column":9},
1327
- },
1328
- {
1329
- id: '@awiki/dsh-plugin#awiki/cancelDeviceJoin',
1330
- service: 'awiki',
1331
- namespace: 'awiki',
1332
- method: 'cancelDeviceJoin',
1333
- invocation: { kind: 'direct' },
1334
- parameters: [
1335
- ],
1336
- result: {
1337
- mode: 'strict',
1338
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1339
- schema: _awiki_dsh_plugin_awiki_cancelDeviceJoin_result$schema,
1340
- },
1341
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":117,"column":9},
1178
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":149,"column":3},
1342
1179
  },
1343
1180
  {
1344
1181
  id: '@awiki/dsh-plugin#awiki/clearLocalData',
@@ -1363,7 +1200,7 @@ export const TYPERT = {
1363
1200
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1364
1201
  schema: _awiki_dsh_plugin_awiki_clearLocalData_result$schema,
1365
1202
  },
1366
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":243,"column":3},
1203
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":212,"column":3},
1367
1204
  },
1368
1205
  {
1369
1206
  id: '@awiki/dsh-plugin#awiki/createGroup',
@@ -1388,7 +1225,7 @@ export const TYPERT = {
1388
1225
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1389
1226
  schema: _awiki_dsh_plugin_awiki_createGroup_result$schema,
1390
1227
  },
1391
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":173,"column":9},
1228
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":134,"column":9},
1392
1229
  },
1393
1230
  {
1394
1231
  id: '@awiki/dsh-plugin#awiki/discardRecovery',
@@ -1413,7 +1250,7 @@ export const TYPERT = {
1413
1250
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1414
1251
  schema: _awiki_dsh_plugin_awiki_discardRecovery_result$schema,
1415
1252
  },
1416
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":167,"column":9},
1253
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":128,"column":9},
1417
1254
  },
1418
1255
  {
1419
1256
  id: '@awiki/dsh-plugin#awiki/downloadAttachment',
@@ -1438,52 +1275,62 @@ export const TYPERT = {
1438
1275
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1439
1276
  schema: _awiki_dsh_plugin_awiki_downloadAttachment_result$schema,
1440
1277
  },
1441
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":225,"column":9},
1278
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":189,"column":9},
1442
1279
  },
1443
1280
  {
1444
- id: '@awiki/dsh-plugin#awiki/getConfig',
1281
+ id: '@awiki/dsh-plugin#awiki/downloadMailAttachment',
1445
1282
  service: 'awiki',
1446
1283
  namespace: 'awiki',
1447
- method: 'getConfig',
1284
+ method: 'downloadMailAttachment',
1448
1285
  invocation: { kind: 'direct' },
1449
1286
  parameters: [
1287
+ {
1288
+ name: 'request',
1289
+ wire: 'request',
1290
+ source: 'json',
1291
+ codec: {
1292
+ mode: 'strict',
1293
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiMailAttachmentDownloadRequest',
1294
+ schema: _awiki_dsh_plugin_awiki_downloadMailAttachment_parameter_0$schema,
1295
+ },
1296
+ },
1450
1297
  ],
1451
1298
  result: {
1452
1299
  mode: 'strict',
1453
1300
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1454
- schema: _awiki_dsh_plugin_awiki_getConfig_result$schema,
1301
+ schema: _awiki_dsh_plugin_awiki_downloadMailAttachment_result$schema,
1455
1302
  },
1456
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":85,"column":9},
1303
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":207,"column":9},
1457
1304
  },
1458
1305
  {
1459
- id: '@awiki/dsh-plugin#awiki/getConversationPreferences',
1306
+ id: '@awiki/dsh-plugin#awiki/getConfig',
1460
1307
  service: 'awiki',
1461
1308
  namespace: 'awiki',
1462
- method: 'getConversationPreferences',
1309
+ method: 'getConfig',
1463
1310
  invocation: { kind: 'direct' },
1464
1311
  parameters: [
1465
1312
  ],
1466
1313
  result: {
1467
1314
  mode: 'strict',
1468
1315
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1469
- schema: _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema,
1316
+ schema: _awiki_dsh_plugin_awiki_getConfig_result$schema,
1470
1317
  },
1471
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":194,"column":3},
1318
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":78,"column":3},
1472
1319
  },
1473
1320
  {
1474
- id: '@awiki/dsh-plugin#awiki/getDeviceJoinStatus',
1321
+ id: '@awiki/dsh-plugin#awiki/getConversationPreferences',
1475
1322
  service: 'awiki',
1476
1323
  namespace: 'awiki',
1477
- method: 'getDeviceJoinStatus',
1324
+ method: 'getConversationPreferences',
1478
1325
  invocation: { kind: 'direct' },
1479
1326
  parameters: [
1480
1327
  ],
1481
1328
  result: {
1482
1329
  mode: 'strict',
1483
1330
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1484
- schema: _awiki_dsh_plugin_awiki_getDeviceJoinStatus_result$schema,
1331
+ schema: _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema,
1485
1332
  },
1486
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":114,"column":9},
1333
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":158,"column":3},
1487
1334
  },
1488
1335
  {
1489
1336
  id: '@awiki/dsh-plugin#awiki/getGroup',
@@ -1508,7 +1355,7 @@ export const TYPERT = {
1508
1355
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1509
1356
  schema: _awiki_dsh_plugin_awiki_getGroup_result$schema,
1510
1357
  },
1511
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":176,"column":3},
1358
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":137,"column":3},
1512
1359
  },
1513
1360
  {
1514
1361
  id: '@awiki/dsh-plugin#awiki/getHistory',
@@ -1533,7 +1380,7 @@ export const TYPERT = {
1533
1380
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1534
1381
  schema: _awiki_dsh_plugin_awiki_getHistory_result$schema,
1535
1382
  },
1536
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":205,"column":3},
1383
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":169,"column":3},
1537
1384
  },
1538
1385
  {
1539
1386
  id: '@awiki/dsh-plugin#awiki/getIdentity',
@@ -1548,7 +1395,7 @@ export const TYPERT = {
1548
1395
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1549
1396
  schema: _awiki_dsh_plugin_awiki_getIdentity_result$schema,
1550
1397
  },
1551
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":88,"column":9},
1398
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":81,"column":9},
1552
1399
  },
1553
1400
  {
1554
1401
  id: '@awiki/dsh-plugin#awiki/getLocalHistory',
@@ -1573,7 +1420,7 @@ export const TYPERT = {
1573
1420
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1574
1421
  schema: _awiki_dsh_plugin_awiki_getLocalHistory_result$schema,
1575
1422
  },
1576
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":208,"column":3},
1423
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":172,"column":3},
1577
1424
  },
1578
1425
  {
1579
1426
  id: '@awiki/dsh-plugin#awiki/getMailAccount',
@@ -1588,7 +1435,7 @@ export const TYPERT = {
1588
1435
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1589
1436
  schema: _awiki_dsh_plugin_awiki_getMailAccount_result$schema,
1590
1437
  },
1591
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":228,"column":3},
1438
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":192,"column":3},
1592
1439
  },
1593
1440
  {
1594
1441
  id: '@awiki/dsh-plugin#awiki/getProfile',
@@ -1603,7 +1450,7 @@ export const TYPERT = {
1603
1450
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1604
1451
  schema: _awiki_dsh_plugin_awiki_getProfile_result$schema,
1605
1452
  },
1606
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":146,"column":3},
1453
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":107,"column":3},
1607
1454
  },
1608
1455
  {
1609
1456
  id: '@awiki/dsh-plugin#awiki/getRecoveryStatus',
@@ -1628,7 +1475,7 @@ export const TYPERT = {
1628
1475
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1629
1476
  schema: _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema,
1630
1477
  },
1631
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":161,"column":9},
1478
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":122,"column":9},
1632
1479
  },
1633
1480
  {
1634
1481
  id: '@awiki/dsh-plugin#awiki/getSession',
@@ -1643,7 +1490,7 @@ export const TYPERT = {
1643
1490
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1644
1491
  schema: _awiki_dsh_plugin_awiki_getSession_result$schema,
1645
1492
  },
1646
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":91,"column":9},
1493
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":84,"column":9},
1647
1494
  },
1648
1495
  {
1649
1496
  id: '@awiki/dsh-plugin#awiki/inspectIdentityAccess',
@@ -1668,7 +1515,7 @@ export const TYPERT = {
1668
1515
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1669
1516
  schema: _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema,
1670
1517
  },
1671
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":100,"column":9},
1518
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":93,"column":9},
1672
1519
  },
1673
1520
  {
1674
1521
  id: '@awiki/dsh-plugin#awiki/joinGroup',
@@ -1693,7 +1540,7 @@ export const TYPERT = {
1693
1540
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1694
1541
  schema: _awiki_dsh_plugin_awiki_joinGroup_result$schema,
1695
1542
  },
1696
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":179,"column":3},
1543
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":140,"column":3},
1697
1544
  },
1698
1545
  {
1699
1546
  id: '@awiki/dsh-plugin#awiki/leaveGroup',
@@ -1718,7 +1565,7 @@ export const TYPERT = {
1718
1565
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1719
1566
  schema: _awiki_dsh_plugin_awiki_leaveGroup_result$schema,
1720
1567
  },
1721
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":182,"column":9},
1568
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":143,"column":9},
1722
1569
  },
1723
1570
  {
1724
1571
  id: '@awiki/dsh-plugin#awiki/listConversations',
@@ -1744,7 +1591,7 @@ export const TYPERT = {
1744
1591
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1745
1592
  schema: _awiki_dsh_plugin_awiki_listConversations_result$schema,
1746
1593
  },
1747
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":202,"column":3},
1594
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":166,"column":3},
1748
1595
  },
1749
1596
  {
1750
1597
  id: '@awiki/dsh-plugin#awiki/listGroupMembers',
@@ -1769,7 +1616,7 @@ export const TYPERT = {
1769
1616
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1770
1617
  schema: _awiki_dsh_plugin_awiki_listGroupMembers_result$schema,
1771
1618
  },
1772
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":185,"column":3},
1619
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":146,"column":3},
1773
1620
  },
1774
1621
  {
1775
1622
  id: '@awiki/dsh-plugin#awiki/listMailInbox',
@@ -1795,7 +1642,7 @@ export const TYPERT = {
1795
1642
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1796
1643
  schema: _awiki_dsh_plugin_awiki_listMailInbox_result$schema,
1797
1644
  },
1798
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":231,"column":9},
1645
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":195,"column":9},
1799
1646
  },
1800
1647
  {
1801
1648
  id: '@awiki/dsh-plugin#awiki/login',
@@ -1810,7 +1657,7 @@ export const TYPERT = {
1810
1657
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1811
1658
  schema: _awiki_dsh_plugin_awiki_login_result$schema,
1812
1659
  },
1813
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":97,"column":3},
1660
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":90,"column":3},
1814
1661
  },
1815
1662
  {
1816
1663
  id: '@awiki/dsh-plugin#awiki/logout',
@@ -1835,7 +1682,7 @@ export const TYPERT = {
1835
1682
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1836
1683
  schema: _awiki_dsh_plugin_awiki_logout_result$schema,
1837
1684
  },
1838
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":94,"column":3},
1685
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":87,"column":3},
1839
1686
  },
1840
1687
  {
1841
1688
  id: '@awiki/dsh-plugin#awiki/markConversationRead',
@@ -1860,7 +1707,7 @@ export const TYPERT = {
1860
1707
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1861
1708
  schema: _awiki_dsh_plugin_awiki_markConversationRead_result$schema,
1862
1709
  },
1863
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":216,"column":3},
1710
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":180,"column":3},
1864
1711
  },
1865
1712
  {
1866
1713
  id: '@awiki/dsh-plugin#awiki/markMailRead',
@@ -1885,7 +1732,7 @@ export const TYPERT = {
1885
1732
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1886
1733
  schema: _awiki_dsh_plugin_awiki_markMailRead_result$schema,
1887
1734
  },
1888
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":237,"column":3},
1735
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":201,"column":3},
1889
1736
  },
1890
1737
  {
1891
1738
  id: '@awiki/dsh-plugin#awiki/prepareRecovery',
@@ -1910,7 +1757,7 @@ export const TYPERT = {
1910
1757
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1911
1758
  schema: _awiki_dsh_plugin_awiki_prepareRecovery_result$schema,
1912
1759
  },
1913
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":155,"column":3},
1760
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":116,"column":3},
1914
1761
  },
1915
1762
  {
1916
1763
  id: '@awiki/dsh-plugin#awiki/readMail',
@@ -1935,22 +1782,7 @@ export const TYPERT = {
1935
1782
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1936
1783
  schema: _awiki_dsh_plugin_awiki_readMail_result$schema,
1937
1784
  },
1938
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":234,"column":9},
1939
- },
1940
- {
1941
- id: '@awiki/dsh-plugin#awiki/refreshDeviceManagement',
1942
- service: 'awiki',
1943
- namespace: 'awiki',
1944
- method: 'refreshDeviceManagement',
1945
- invocation: { kind: 'direct' },
1946
- parameters: [
1947
- ],
1948
- result: {
1949
- mode: 'strict',
1950
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1951
- schema: _awiki_dsh_plugin_awiki_refreshDeviceManagement_result$schema,
1952
- },
1953
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":120,"column":3},
1785
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":198,"column":9},
1954
1786
  },
1955
1787
  {
1956
1788
  id: '@awiki/dsh-plugin#awiki/registerIdentity',
@@ -1975,32 +1807,7 @@ export const TYPERT = {
1975
1807
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1976
1808
  schema: _awiki_dsh_plugin_awiki_registerIdentity_result$schema,
1977
1809
  },
1978
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":108,"column":9},
1979
- },
1980
- {
1981
- id: '@awiki/dsh-plugin#awiki/rejectDeviceJoin',
1982
- service: 'awiki',
1983
- namespace: 'awiki',
1984
- method: 'rejectDeviceJoin',
1985
- invocation: { kind: 'direct' },
1986
- parameters: [
1987
- {
1988
- name: 'request',
1989
- wire: 'request',
1990
- source: 'json',
1991
- codec: {
1992
- mode: 'strict',
1993
- typeSymbol: '@awiki/dsh-plugin/types#AwikiRejectDeviceJoinRequest',
1994
- schema: _awiki_dsh_plugin_awiki_rejectDeviceJoin_parameter_0$schema,
1995
- },
1996
- },
1997
- ],
1998
- result: {
1999
- mode: 'strict',
2000
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2001
- schema: _awiki_dsh_plugin_awiki_rejectDeviceJoin_result$schema,
2002
- },
2003
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":133,"column":9},
1810
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":101,"column":9},
2004
1811
  },
2005
1812
  {
2006
1813
  id: '@awiki/dsh-plugin#awiki/removeGroupMember',
@@ -2025,7 +1832,7 @@ export const TYPERT = {
2025
1832
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2026
1833
  schema: _awiki_dsh_plugin_awiki_removeGroupMember_result$schema,
2027
1834
  },
2028
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":191,"column":3},
1835
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":152,"column":3},
2029
1836
  },
2030
1837
  {
2031
1838
  id: '@awiki/dsh-plugin#awiki/resolvePeer',
@@ -2050,38 +1857,28 @@ export const TYPERT = {
2050
1857
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2051
1858
  schema: _awiki_dsh_plugin_awiki_resolvePeer_result$schema,
2052
1859
  },
2053
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":170,"column":3},
1860
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":131,"column":3},
2054
1861
  },
2055
1862
  {
2056
- id: '@awiki/dsh-plugin#awiki/resumeRecovery',
1863
+ id: '@awiki/dsh-plugin#awiki/resumeGroupRebindRecovery',
2057
1864
  service: 'awiki',
2058
1865
  namespace: 'awiki',
2059
- method: 'resumeRecovery',
1866
+ method: 'resumeGroupRebindRecovery',
2060
1867
  invocation: { kind: 'direct' },
2061
1868
  parameters: [
2062
- {
2063
- name: 'request',
2064
- wire: 'request',
2065
- source: 'json',
2066
- codec: {
2067
- mode: 'strict',
2068
- typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryOperationRequest',
2069
- schema: _awiki_dsh_plugin_awiki_resumeRecovery_parameter_0$schema,
2070
- },
2071
- },
2072
1869
  ],
2073
1870
  result: {
2074
1871
  mode: 'strict',
2075
1872
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2076
- schema: _awiki_dsh_plugin_awiki_resumeRecovery_result$schema,
1873
+ schema: _awiki_dsh_plugin_awiki_resumeGroupRebindRecovery_result$schema,
2077
1874
  },
2078
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":164,"column":9},
1875
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":155,"column":9},
2079
1876
  },
2080
1877
  {
2081
- id: '@awiki/dsh-plugin#awiki/revokeDevice',
1878
+ id: '@awiki/dsh-plugin#awiki/resumeRecovery',
2082
1879
  service: 'awiki',
2083
1880
  namespace: 'awiki',
2084
- method: 'revokeDevice',
1881
+ method: 'resumeRecovery',
2085
1882
  invocation: { kind: 'direct' },
2086
1883
  parameters: [
2087
1884
  {
@@ -2090,17 +1887,17 @@ export const TYPERT = {
2090
1887
  source: 'json',
2091
1888
  codec: {
2092
1889
  mode: 'strict',
2093
- typeSymbol: '@awiki/dsh-plugin/types#AwikiRevokeDeviceRequest',
2094
- schema: _awiki_dsh_plugin_awiki_revokeDevice_parameter_0$schema,
1890
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiRecoveryOperationRequest',
1891
+ schema: _awiki_dsh_plugin_awiki_resumeRecovery_parameter_0$schema,
2095
1892
  },
2096
1893
  },
2097
1894
  ],
2098
1895
  result: {
2099
1896
  mode: 'strict',
2100
1897
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2101
- schema: _awiki_dsh_plugin_awiki_revokeDevice_result$schema,
1898
+ schema: _awiki_dsh_plugin_awiki_resumeRecovery_result$schema,
2102
1899
  },
2103
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":138,"column":9},
1900
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":125,"column":9},
2104
1901
  },
2105
1902
  {
2106
1903
  id: '@awiki/dsh-plugin#awiki/sendAttachment',
@@ -2125,7 +1922,7 @@ export const TYPERT = {
2125
1922
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2126
1923
  schema: _awiki_dsh_plugin_awiki_sendAttachment_result$schema,
2127
1924
  },
2128
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":222,"column":9},
1925
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":186,"column":9},
2129
1926
  },
2130
1927
  {
2131
1928
  id: '@awiki/dsh-plugin#awiki/sendMail',
@@ -2150,7 +1947,7 @@ export const TYPERT = {
2150
1947
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2151
1948
  schema: _awiki_dsh_plugin_awiki_sendMail_result$schema,
2152
1949
  },
2153
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":240,"column":9},
1950
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":204,"column":9},
2154
1951
  },
2155
1952
  {
2156
1953
  id: '@awiki/dsh-plugin#awiki/sendRecoveryOtp',
@@ -2175,7 +1972,7 @@ export const TYPERT = {
2175
1972
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2176
1973
  schema: _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema,
2177
1974
  },
2178
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":152,"column":3},
1975
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":113,"column":3},
2179
1976
  },
2180
1977
  {
2181
1978
  id: '@awiki/dsh-plugin#awiki/sendRegistrationOtp',
@@ -2200,7 +1997,7 @@ export const TYPERT = {
2200
1997
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2201
1998
  schema: _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema,
2202
1999
  },
2203
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":105,"column":9},
2000
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":98,"column":3},
2204
2001
  },
2205
2002
  {
2206
2003
  id: '@awiki/dsh-plugin#awiki/sendText',
@@ -2225,32 +2022,7 @@ export const TYPERT = {
2225
2022
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2226
2023
  schema: _awiki_dsh_plugin_awiki_sendText_result$schema,
2227
2024
  },
2228
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":219,"column":3},
2229
- },
2230
- {
2231
- id: '@awiki/dsh-plugin#awiki/startDeviceJoinVerification',
2232
- service: 'awiki',
2233
- namespace: 'awiki',
2234
- method: 'startDeviceJoinVerification',
2235
- invocation: { kind: 'direct' },
2236
- parameters: [
2237
- {
2238
- name: 'request',
2239
- wire: 'request',
2240
- source: 'json',
2241
- codec: {
2242
- mode: 'strict',
2243
- typeSymbol: '@awiki/dsh-plugin/types#AwikiRequestRefInput',
2244
- schema: _awiki_dsh_plugin_awiki_startDeviceJoinVerification_parameter_0$schema,
2245
- },
2246
- },
2247
- ],
2248
- result: {
2249
- mode: 'strict',
2250
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2251
- schema: _awiki_dsh_plugin_awiki_startDeviceJoinVerification_result$schema,
2252
- },
2253
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":123,"column":9},
2025
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":183,"column":3},
2254
2026
  },
2255
2027
  {
2256
2028
  id: '@awiki/dsh-plugin#awiki/summarizeConversation',
@@ -2275,7 +2047,7 @@ export const TYPERT = {
2275
2047
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2276
2048
  schema: _awiki_dsh_plugin_awiki_summarizeConversation_result$schema,
2277
2049
  },
2278
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":211,"column":9},
2050
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":175,"column":9},
2279
2051
  },
2280
2052
  {
2281
2053
  id: '@awiki/dsh-plugin#awiki/updateConversationPreference',
@@ -2300,7 +2072,7 @@ export const TYPERT = {
2300
2072
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2301
2073
  schema: _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema,
2302
2074
  },
2303
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":197,"column":3},
2075
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":161,"column":3},
2304
2076
  },
2305
2077
  {
2306
2078
  id: '@awiki/dsh-plugin#awiki/updateDisplayName',
@@ -2325,7 +2097,7 @@ export const TYPERT = {
2325
2097
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2326
2098
  schema: _awiki_dsh_plugin_awiki_updateDisplayName_result$schema,
2327
2099
  },
2328
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":143,"column":9},
2100
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":104,"column":9},
2329
2101
  },
2330
2102
  {
2331
2103
  id: '@awiki/dsh-plugin#awiki/updateProfile',
@@ -2350,7 +2122,7 @@ export const TYPERT = {
2350
2122
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2351
2123
  schema: _awiki_dsh_plugin_awiki_updateProfile_result$schema,
2352
2124
  },
2353
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":149,"column":3},
2125
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":110,"column":3},
2354
2126
  },
2355
2127
  ],
2356
2128
  model: {