@awiki/dsh-plugin 0.3.4 → 0.3.6

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 (88) hide show
  1. package/README.md +60 -51
  2. package/README.zh.md +51 -43
  3. package/cordis.patch.yml +7 -21
  4. package/lib/client.js +785 -1308
  5. package/lib/client.js.map +1 -1
  6. package/lib/index.js +715 -1017
  7. package/lib/provider.js +16 -52
  8. package/lib/{sdk-adapter-BeJakxLP.mjs → sdk-adapter--trNlr-T.mjs} +38 -143
  9. package/lib/typert.host.js +139 -414
  10. package/lib/typert.remote-client.d.ts +5 -19
  11. package/lib/typert.remote-client.d.ts.map +1 -1
  12. package/lib/typert.remote-client.js +139 -414
  13. package/lib/types/client/AwikiIdentityAccess.d.ts +5 -6
  14. package/lib/types/client/AwikiIdentityAccess.d.ts.map +1 -1
  15. package/lib/types/client/AwikiIdentityAccess.js +27 -88
  16. package/lib/types/client/AwikiIdentityAccess.js.map +1 -1
  17. package/lib/types/client/AwikiMail.d.ts +1 -1
  18. package/lib/types/client/AwikiMail.d.ts.map +1 -1
  19. package/lib/types/client/AwikiMail.js +130 -6
  20. package/lib/types/client/AwikiMail.js.map +1 -1
  21. package/lib/types/client/AwikiOverlay.d.ts.map +1 -1
  22. package/lib/types/client/AwikiOverlay.js +3 -4
  23. package/lib/types/client/AwikiOverlay.js.map +1 -1
  24. package/lib/types/client/controller.d.ts +11 -20
  25. package/lib/types/client/controller.d.ts.map +1 -1
  26. package/lib/types/client/controller.js +48 -53
  27. package/lib/types/client/controller.js.map +1 -1
  28. package/lib/types/client/index.d.ts.map +1 -1
  29. package/lib/types/client/index.js +2 -8
  30. package/lib/types/client/index.js.map +1 -1
  31. package/lib/types/client/mail-attachment.d.ts +40 -0
  32. package/lib/types/client/mail-attachment.d.ts.map +1 -0
  33. package/lib/types/client/mail-attachment.js +186 -0
  34. package/lib/types/client/mail-attachment.js.map +1 -0
  35. package/lib/types/client/settings-locales.js +8 -8
  36. package/lib/types/client/settings-locales.js.map +1 -1
  37. package/lib/types/client/slots.d.ts +6 -10
  38. package/lib/types/client/slots.d.ts.map +1 -1
  39. package/lib/types/index.d.ts +28 -59
  40. package/lib/types/index.d.ts.map +1 -1
  41. package/lib/types/index.js +417 -800
  42. package/lib/types/index.js.map +1 -1
  43. package/lib/types/listener-state.d.ts +3 -5
  44. package/lib/types/listener-state.d.ts.map +1 -1
  45. package/lib/types/listener-state.js +13 -28
  46. package/lib/types/listener-state.js.map +1 -1
  47. package/lib/types/listener.d.ts +32 -9
  48. package/lib/types/listener.d.ts.map +1 -1
  49. package/lib/types/listener.js +127 -11
  50. package/lib/types/listener.js.map +1 -1
  51. package/lib/types/mail.d.ts +28 -2
  52. package/lib/types/mail.d.ts.map +1 -1
  53. package/lib/types/mail.js +78 -2
  54. package/lib/types/mail.js.map +1 -1
  55. package/lib/types/profile-state.d.ts +17 -0
  56. package/lib/types/profile-state.d.ts.map +1 -0
  57. package/lib/types/profile-state.js +58 -0
  58. package/lib/types/profile-state.js.map +1 -0
  59. package/lib/types/provider-api.d.ts +36 -100
  60. package/lib/types/provider-api.d.ts.map +1 -1
  61. package/lib/types/provider.d.ts +1 -7
  62. package/lib/types/provider.d.ts.map +1 -1
  63. package/lib/types/provider.js +15 -53
  64. package/lib/types/provider.js.map +1 -1
  65. package/lib/types/sdk-adapter.d.ts +5 -30
  66. package/lib/types/sdk-adapter.d.ts.map +1 -1
  67. package/lib/types/sdk-adapter.js +48 -133
  68. package/lib/types/sdk-adapter.js.map +1 -1
  69. package/lib/types/sent-mail-store.d.ts +7 -2
  70. package/lib/types/sent-mail-store.d.ts.map +1 -1
  71. package/lib/types/sent-mail-store.js +125 -23
  72. package/lib/types/sent-mail-store.js.map +1 -1
  73. package/lib/types/tools.d.ts +1 -1
  74. package/lib/types/tools.d.ts.map +1 -1
  75. package/lib/types/tools.js +20 -4
  76. package/lib/types/tools.js.map +1 -1
  77. package/lib/types/types.d.ts +45 -77
  78. package/lib/types/types.d.ts.map +1 -1
  79. package/lib/types/types.js.map +1 -1
  80. package/package.json +4 -6
  81. package/lib/types/client/AwikiDevices.d.ts +0 -28
  82. package/lib/types/client/AwikiDevices.d.ts.map +0 -1
  83. package/lib/types/client/AwikiDevices.js +0 -85
  84. package/lib/types/client/AwikiDevices.js.map +0 -1
  85. package/lib/types/realtime-supervisor.d.ts +0 -43
  86. package/lib/types/realtime-supervisor.d.ts.map +0 -1
  87. package/lib/types/realtime-supervisor.js +0 -166
  88. 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({
@@ -28,13 +28,13 @@ const _awiki_dsh_plugin_awiki_activateRecovery_result$schema = z.union([z.object
28
28
  })])
29
29
  const _awiki_dsh_plugin_awiki_addGroupMember_parameter_0$schema = z.object({
30
30
  'member': z.string().readonly(),
31
- 'role': z.union([z.literal("member"), z.literal("admin")]).readonly().optional(),
31
+ 'role': z.union([z.literal("admin"), z.literal("member")]).readonly().optional(),
32
32
  'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
33
33
  })
34
34
  const _awiki_dsh_plugin_awiki_addGroupMember_result$schema = z.union([z.object({
35
35
  'ok': z.literal(false).readonly(),
36
36
  'error': z.object({
37
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
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(),
38
38
  'message': z.string().readonly(),
39
39
  }).readonly(),
40
40
  }), z.object({
@@ -44,60 +44,13 @@ const _awiki_dsh_plugin_awiki_addGroupMember_result$schema = z.union([z.object({
44
44
  'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
45
45
  }).readonly(),
46
46
  })])
47
- const _awiki_dsh_plugin_awiki_approveDeviceJoin_parameter_0$schema = z.object({
48
- 'enteredSas': z.string().readonly(),
49
- 'confirmation': z.string().readonly(),
50
- 'requestRef': z.string().readonly(),
51
- })
52
- const _awiki_dsh_plugin_awiki_approveDeviceJoin_result$schema = z.union([z.object({
53
- 'ok': z.literal(false).readonly(),
54
- 'error': z.object({
55
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
56
- 'message': z.string().readonly(),
57
- }).readonly(),
58
- }), z.object({
59
- 'ok': z.literal(true).readonly(),
60
- 'value': z.object({
61
- 'requestRef': z.string().readonly(),
62
- '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(),
63
- 'expiresAt': z.string().readonly(),
64
- 'sas': z.string().readonly().optional(),
65
- }).readonly(),
66
- })])
67
- const _awiki_dsh_plugin_awiki_beginDeviceJoin_result$schema = z.union([z.object({
68
- 'ok': z.literal(false).readonly(),
69
- 'error': z.object({
70
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
71
- 'message': z.string().readonly(),
72
- }).readonly(),
73
- }), z.object({
74
- 'ok': z.literal(true).readonly(),
75
- 'value': z.object({
76
- '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(),
77
- 'expiresAt': z.string().readonly(),
78
- 'sas': z.string().readonly().optional(),
79
- 'completed': z.boolean().readonly(),
80
- }).readonly(),
81
- })])
82
- const _awiki_dsh_plugin_awiki_cancelDeviceJoin_result$schema = z.union([z.object({
83
- 'ok': z.literal(false).readonly(),
84
- 'error': z.object({
85
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
86
- 'message': z.string().readonly(),
87
- }).readonly(),
88
- }), z.object({
89
- 'ok': z.literal(true).readonly(),
90
- 'value': z.object({
91
- 'completed': z.literal(true).readonly(),
92
- }).readonly(),
93
- })])
94
47
  const _awiki_dsh_plugin_awiki_clearLocalData_parameter_0$schema = z.object({
95
48
  'confirmation': z.string().readonly(),
96
49
  })
97
50
  const _awiki_dsh_plugin_awiki_clearLocalData_result$schema = z.union([z.object({
98
51
  'ok': z.literal(false).readonly(),
99
52
  'error': z.object({
100
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("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(),
101
54
  'message': z.string().readonly(),
102
55
  }).readonly(),
103
56
  }), z.object({
@@ -113,7 +66,7 @@ const _awiki_dsh_plugin_awiki_createGroup_parameter_0$schema = z.object({
113
66
  const _awiki_dsh_plugin_awiki_createGroup_result$schema = z.union([z.object({
114
67
  'ok': z.literal(false).readonly(),
115
68
  'error': z.object({
116
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
117
70
  'message': z.string().readonly(),
118
71
  }).readonly(),
119
72
  }), z.object({
@@ -135,7 +88,7 @@ const _awiki_dsh_plugin_awiki_createGroup_result$schema = z.union([z.object({
135
88
  'failedMembers': z.array(z.object({
136
89
  'member': z.string().readonly(),
137
90
  'error': z.object({
138
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
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(),
139
92
  'message': z.string().readonly(),
140
93
  }).readonly(),
141
94
  })).readonly(),
@@ -147,7 +100,7 @@ const _awiki_dsh_plugin_awiki_discardRecovery_parameter_0$schema = z.object({
147
100
  const _awiki_dsh_plugin_awiki_discardRecovery_result$schema = z.union([z.object({
148
101
  'ok': z.literal(false).readonly(),
149
102
  'error': z.object({
150
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
151
104
  'message': z.string().readonly(),
152
105
  }).readonly(),
153
106
  }), z.object({
@@ -163,7 +116,7 @@ const _awiki_dsh_plugin_awiki_downloadAttachment_parameter_0$schema = z.object({
163
116
  const _awiki_dsh_plugin_awiki_downloadAttachment_result$schema = z.union([z.object({
164
117
  'ok': z.literal(false).readonly(),
165
118
  'error': z.object({
166
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
167
120
  'message': z.string().readonly(),
168
121
  }).readonly(),
169
122
  }), z.object({
@@ -179,24 +132,49 @@ const _awiki_dsh_plugin_awiki_downloadAttachment_result$schema = z.union([z.obje
179
132
  'bytesBase64': z.string().readonly(),
180
133
  }).readonly(),
181
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
+ })])
182
155
  const _awiki_dsh_plugin_awiki_getConfig_result$schema = z.union([z.object({
183
156
  'ok': z.literal(false).readonly(),
184
157
  'error': z.object({
185
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
186
159
  'message': z.string().readonly(),
187
160
  }).readonly(),
188
161
  }), z.object({
189
162
  'ok': z.literal(true).readonly(),
190
163
  'value': z.object({
164
+ 'tenantDomain': z.string().readonly(),
191
165
  'pollIntervalMs': z.number().readonly(),
192
166
  'attachmentMaxBytes': z.number().readonly(),
193
- '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(),
194
172
  }).readonly(),
195
173
  })])
196
174
  const _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema = z.union([z.object({
197
175
  'ok': z.literal(false).readonly(),
198
176
  'error': z.object({
199
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
200
178
  'message': z.string().readonly(),
201
179
  }).readonly(),
202
180
  }), z.object({
@@ -227,28 +205,13 @@ const _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema = z.union
227
205
  'dismissedGroupRecoverySignature': z.string().readonly().optional(),
228
206
  }).readonly(),
229
207
  })])
230
- const _awiki_dsh_plugin_awiki_getDeviceJoinStatus_result$schema = z.union([z.object({
231
- 'ok': z.literal(false).readonly(),
232
- 'error': z.object({
233
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
234
- 'message': z.string().readonly(),
235
- }).readonly(),
236
- }), z.object({
237
- 'ok': z.literal(true).readonly(),
238
- 'value': z.union([z.literal(null), z.object({
239
- '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(),
240
- 'expiresAt': z.string().readonly(),
241
- 'sas': z.string().readonly().optional(),
242
- 'completed': z.boolean().readonly(),
243
- })]).readonly(),
244
- })])
245
208
  const _awiki_dsh_plugin_awiki_getGroup_parameter_0$schema = z.object({
246
209
  'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
247
210
  })
248
211
  const _awiki_dsh_plugin_awiki_getGroup_result$schema = z.union([z.object({
249
212
  'ok': z.literal(false).readonly(),
250
213
  'error': z.object({
251
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
252
215
  'message': z.string().readonly(),
253
216
  }).readonly(),
254
217
  }), z.object({
@@ -271,7 +234,7 @@ const _awiki_dsh_plugin_awiki_getHistory_parameter_0$schema = z.object({
271
234
  const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
272
235
  'ok': z.literal(false).readonly(),
273
236
  'error': z.object({
274
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
275
238
  'message': z.string().readonly(),
276
239
  }).readonly(),
277
240
  }), z.object({
@@ -315,7 +278,7 @@ const _awiki_dsh_plugin_awiki_getHistory_result$schema = z.union([z.object({
315
278
  const _awiki_dsh_plugin_awiki_getIdentity_result$schema = z.union([z.object({
316
279
  'ok': z.literal(false).readonly(),
317
280
  'error': z.object({
318
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
319
282
  'message': z.string().readonly(),
320
283
  }).readonly(),
321
284
  }), z.object({
@@ -335,7 +298,7 @@ const _awiki_dsh_plugin_awiki_getLocalHistory_parameter_0$schema = z.object({
335
298
  const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object({
336
299
  'ok': z.literal(false).readonly(),
337
300
  'error': z.object({
338
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
339
302
  'message': z.string().readonly(),
340
303
  }).readonly(),
341
304
  }), z.object({
@@ -379,7 +342,7 @@ const _awiki_dsh_plugin_awiki_getLocalHistory_result$schema = z.union([z.object(
379
342
  const _awiki_dsh_plugin_awiki_getMailAccount_result$schema = z.union([z.object({
380
343
  'ok': z.literal(false).readonly(),
381
344
  'error': z.object({
382
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("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(),
383
346
  'message': z.string().readonly(),
384
347
  }).readonly(),
385
348
  }), z.object({
@@ -393,7 +356,7 @@ const _awiki_dsh_plugin_awiki_getMailAccount_result$schema = z.union([z.object({
393
356
  const _awiki_dsh_plugin_awiki_getProfile_result$schema = z.union([z.object({
394
357
  'ok': z.literal(false).readonly(),
395
358
  'error': z.object({
396
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
397
360
  'message': z.string().readonly(),
398
361
  }).readonly(),
399
362
  }), z.object({
@@ -413,7 +376,7 @@ const _awiki_dsh_plugin_awiki_getRecoveryStatus_parameter_0$schema = z.object({
413
376
  const _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema = z.union([z.object({
414
377
  'ok': z.literal(false).readonly(),
415
378
  'error': z.object({
416
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
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(),
417
380
  'message': z.string().readonly(),
418
381
  }).readonly(),
419
382
  }), z.object({
@@ -435,7 +398,7 @@ const _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema = z.union([z.objec
435
398
  const _awiki_dsh_plugin_awiki_getSession_result$schema = z.union([z.object({
436
399
  'ok': z.literal(false).readonly(),
437
400
  'error': z.object({
438
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
439
402
  'message': z.string().readonly(),
440
403
  }).readonly(),
441
404
  }), z.object({
@@ -460,7 +423,7 @@ const _awiki_dsh_plugin_awiki_inspectIdentityAccess_parameter_0$schema = z.objec
460
423
  const _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema = z.union([z.object({
461
424
  'ok': z.literal(false).readonly(),
462
425
  'error': z.object({
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("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(),
464
427
  'message': z.string().readonly(),
465
428
  }).readonly(),
466
429
  }), z.object({
@@ -476,7 +439,7 @@ const _awiki_dsh_plugin_awiki_joinGroup_parameter_0$schema = z.object({
476
439
  const _awiki_dsh_plugin_awiki_joinGroup_result$schema = z.union([z.object({
477
440
  'ok': z.literal(false).readonly(),
478
441
  'error': z.object({
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("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(),
480
443
  'message': z.string().readonly(),
481
444
  }).readonly(),
482
445
  }), z.object({
@@ -497,7 +460,7 @@ const _awiki_dsh_plugin_awiki_leaveGroup_parameter_0$schema = z.object({
497
460
  const _awiki_dsh_plugin_awiki_leaveGroup_result$schema = z.union([z.object({
498
461
  'ok': z.literal(false).readonly(),
499
462
  'error': z.object({
500
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
501
464
  'message': z.string().readonly(),
502
465
  }).readonly(),
503
466
  }), z.object({
@@ -513,7 +476,7 @@ const _awiki_dsh_plugin_awiki_listConversations_parameter_0$schema = z.union([z.
513
476
  const _awiki_dsh_plugin_awiki_listConversations_result$schema = z.union([z.object({
514
477
  'ok': z.literal(false).readonly(),
515
478
  'error': z.object({
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("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(),
517
480
  'message': z.string().readonly(),
518
481
  }).readonly(),
519
482
  }), z.object({
@@ -550,7 +513,7 @@ const _awiki_dsh_plugin_awiki_listGroupMembers_parameter_0$schema = z.object({
550
513
  const _awiki_dsh_plugin_awiki_listGroupMembers_result$schema = z.union([z.object({
551
514
  'ok': z.literal(false).readonly(),
552
515
  'error': z.object({
553
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
554
517
  'message': z.string().readonly(),
555
518
  }).readonly(),
556
519
  }), z.object({
@@ -585,7 +548,7 @@ const _awiki_dsh_plugin_awiki_listMailInbox_parameter_0$schema = z.union([z.unde
585
548
  const _awiki_dsh_plugin_awiki_listMailInbox_result$schema = z.union([z.object({
586
549
  'ok': z.literal(false).readonly(),
587
550
  'error': z.object({
588
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
589
552
  'message': z.string().readonly(),
590
553
  }).readonly(),
591
554
  }), z.object({
@@ -614,7 +577,7 @@ const _awiki_dsh_plugin_awiki_listMailInbox_result$schema = z.union([z.object({
614
577
  const _awiki_dsh_plugin_awiki_login_result$schema = z.union([z.object({
615
578
  'ok': z.literal(false).readonly(),
616
579
  'error': z.object({
617
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("identity-recovery-required"), z.literal("conflict"), z.literal("rate-limited"), z.literal("group-membership-required"), z.literal("group-identity-stale"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("delivery-unknown"), z.literal("network"), z.literal("remote")]).readonly(),
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(),
618
581
  'message': z.string().readonly(),
619
582
  }).readonly(),
620
583
  }), z.object({
@@ -639,7 +602,7 @@ const _awiki_dsh_plugin_awiki_logout_parameter_0$schema = z.object({
639
602
  const _awiki_dsh_plugin_awiki_logout_result$schema = z.union([z.object({
640
603
  'ok': z.literal(false).readonly(),
641
604
  'error': z.object({
642
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
643
606
  'message': z.string().readonly(),
644
607
  }).readonly(),
645
608
  }), z.object({
@@ -664,7 +627,7 @@ const _awiki_dsh_plugin_awiki_markConversationRead_parameter_0$schema = z.object
664
627
  const _awiki_dsh_plugin_awiki_markConversationRead_result$schema = z.union([z.object({
665
628
  'ok': z.literal(false).readonly(),
666
629
  'error': z.object({
667
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
668
631
  'message': z.string().readonly(),
669
632
  }).readonly(),
670
633
  }), z.object({
@@ -677,7 +640,7 @@ const _awiki_dsh_plugin_awiki_markMailRead_parameter_0$schema = z.object({
677
640
  const _awiki_dsh_plugin_awiki_markMailRead_result$schema = z.union([z.object({
678
641
  'ok': z.literal(false).readonly(),
679
642
  'error': z.object({
680
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
681
644
  'message': z.string().readonly(),
682
645
  }).readonly(),
683
646
  }), z.object({
@@ -694,7 +657,7 @@ const _awiki_dsh_plugin_awiki_prepareRecovery_parameter_0$schema = z.object({
694
657
  const _awiki_dsh_plugin_awiki_prepareRecovery_result$schema = z.union([z.object({
695
658
  'ok': z.literal(false).readonly(),
696
659
  'error': z.object({
697
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
698
661
  'message': z.string().readonly(),
699
662
  }).readonly(),
700
663
  }), z.object({
@@ -719,7 +682,7 @@ const _awiki_dsh_plugin_awiki_readMail_parameter_0$schema = z.object({
719
682
  const _awiki_dsh_plugin_awiki_readMail_result$schema = z.union([z.object({
720
683
  'ok': z.literal(false).readonly(),
721
684
  'error': z.object({
722
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
723
686
  'message': z.string().readonly(),
724
687
  }).readonly(),
725
688
  }), z.object({
@@ -752,36 +715,6 @@ const _awiki_dsh_plugin_awiki_readMail_result$schema = z.union([z.object({
752
715
  })).readonly(),
753
716
  }).readonly(),
754
717
  })])
755
- const _awiki_dsh_plugin_awiki_refreshDeviceManagement_result$schema = z.union([z.object({
756
- 'ok': z.literal(false).readonly(),
757
- 'error': z.object({
758
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
759
- 'message': z.string().readonly(),
760
- }).readonly(),
761
- }), z.object({
762
- 'ok': z.literal(true).readonly(),
763
- 'value': z.object({
764
- 'canManage': z.boolean().readonly(),
765
- 'role': z.union([z.literal("member"), z.literal("admin")]).readonly().optional(),
766
- 'readiness': z.union([z.literal("legacy"), z.literal("member_ready"), z.literal("admin_awaiting_root"), z.literal("admin_ready"), z.literal("blocked")]).readonly(),
767
- 'devices': z.array(z.object({
768
- 'deviceRef': z.string().readonly(),
769
- 'status': z.union([z.literal("active"), z.literal("revoked")]).readonly(),
770
- 'role': z.union([z.literal("member"), z.literal("admin")]).readonly(),
771
- 'managementReady': z.boolean().readonly(),
772
- 'isCurrent': z.boolean().readonly(),
773
- })).readonly(),
774
- 'requests': z.array(z.object({
775
- 'requestRef': z.string().readonly(),
776
- 'candidateKeyFingerprint': z.string().readonly(),
777
- 'issuedAt': z.string().readonly(),
778
- 'expiresAt': z.string().readonly(),
779
- '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(),
780
- 'claimedByCurrentDevice': z.boolean().readonly(),
781
- 'canStartVerification': z.boolean().readonly(),
782
- })).readonly(),
783
- }).readonly(),
784
- })])
785
718
  const _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema = z.object({
786
719
  'handle': z.string().readonly(),
787
720
  'phone': z.string().readonly(),
@@ -790,44 +723,17 @@ const _awiki_dsh_plugin_awiki_registerIdentity_parameter_0$schema = z.object({
790
723
  const _awiki_dsh_plugin_awiki_registerIdentity_result$schema = z.union([z.object({
791
724
  'ok': z.literal(false).readonly(),
792
725
  'error': z.object({
793
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
794
727
  'message': z.string().readonly(),
795
728
  }).readonly(),
796
729
  }), z.object({
797
730
  'ok': z.literal(true).readonly(),
798
- 'value': z.union([z.object({
799
- 'status': z.literal("registered").readonly(),
800
- 'identity': z.object({
731
+ 'value': z.object({
801
732
  'handle': z.intersection(z.string(), z.unknown()).readonly(),
802
733
  'did': z.intersection(z.string(), z.unknown()).readonly(),
803
734
  'displayName': z.string().readonly().optional(),
804
735
  'registeredAt': z.number().readonly(),
805
736
  }).readonly(),
806
- }), z.object({
807
- 'status': z.literal("join-required").readonly(),
808
- 'fullHandle': z.intersection(z.string(), z.unknown()).readonly(),
809
- 'mode': z.union([z.literal("ordinary"), z.literal("handle-recovery-rebind")]).readonly(),
810
- 'requiresUserPresence': z.boolean().readonly(),
811
- })]).readonly(),
812
- })])
813
- const _awiki_dsh_plugin_awiki_rejectDeviceJoin_parameter_0$schema = z.object({
814
- 'reason': z.union([z.literal("user_rejected"), z.literal("sas_mismatch")]).readonly(),
815
- 'requestRef': z.string().readonly(),
816
- })
817
- const _awiki_dsh_plugin_awiki_rejectDeviceJoin_result$schema = z.union([z.object({
818
- 'ok': z.literal(false).readonly(),
819
- 'error': z.object({
820
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
821
- 'message': z.string().readonly(),
822
- }).readonly(),
823
- }), z.object({
824
- 'ok': z.literal(true).readonly(),
825
- 'value': z.object({
826
- 'requestRef': z.string().readonly(),
827
- '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(),
828
- 'expiresAt': z.string().readonly(),
829
- 'sas': z.string().readonly().optional(),
830
- }).readonly(),
831
737
  })])
832
738
  const _awiki_dsh_plugin_awiki_removeGroupMember_parameter_0$schema = z.object({
833
739
  'member': z.string().readonly(),
@@ -836,7 +742,7 @@ const _awiki_dsh_plugin_awiki_removeGroupMember_parameter_0$schema = z.object({
836
742
  const _awiki_dsh_plugin_awiki_removeGroupMember_result$schema = z.union([z.object({
837
743
  'ok': z.literal(false).readonly(),
838
744
  'error': z.object({
839
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
840
746
  'message': z.string().readonly(),
841
747
  }).readonly(),
842
748
  }), z.object({
@@ -852,7 +758,7 @@ const _awiki_dsh_plugin_awiki_resolvePeer_parameter_0$schema = z.object({
852
758
  const _awiki_dsh_plugin_awiki_resolvePeer_result$schema = z.union([z.object({
853
759
  'ok': z.literal(false).readonly(),
854
760
  'error': z.object({
855
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
856
762
  'message': z.string().readonly(),
857
763
  }).readonly(),
858
764
  }), z.object({
@@ -867,7 +773,7 @@ const _awiki_dsh_plugin_awiki_resolvePeer_result$schema = z.union([z.object({
867
773
  const _awiki_dsh_plugin_awiki_resumeGroupRebindRecovery_result$schema = z.union([z.object({
868
774
  'ok': z.literal(false).readonly(),
869
775
  'error': z.object({
870
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
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(),
871
777
  'message': z.string().readonly(),
872
778
  }).readonly(),
873
779
  }), z.object({
@@ -889,7 +795,7 @@ const _awiki_dsh_plugin_awiki_resumeRecovery_parameter_0$schema = z.object({
889
795
  const _awiki_dsh_plugin_awiki_resumeRecovery_result$schema = z.union([z.object({
890
796
  'ok': z.literal(false).readonly(),
891
797
  'error': z.object({
892
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
893
799
  'message': z.string().readonly(),
894
800
  }).readonly(),
895
801
  }), z.object({
@@ -908,40 +814,6 @@ const _awiki_dsh_plugin_awiki_resumeRecovery_result$schema = z.union([z.object({
908
814
  'unsupportedDidOnlyGroupCount': z.number().readonly(),
909
815
  }).readonly(),
910
816
  })])
911
- const _awiki_dsh_plugin_awiki_revokeDevice_parameter_0$schema = z.object({
912
- 'deviceRef': z.string().readonly(),
913
- 'confirmation': z.string().readonly(),
914
- })
915
- const _awiki_dsh_plugin_awiki_revokeDevice_result$schema = z.union([z.object({
916
- 'ok': z.literal(false).readonly(),
917
- 'error': z.object({
918
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
919
- 'message': z.string().readonly(),
920
- }).readonly(),
921
- }), z.object({
922
- 'ok': z.literal(true).readonly(),
923
- 'value': z.object({
924
- 'canManage': z.boolean().readonly(),
925
- 'role': z.union([z.literal("member"), z.literal("admin")]).readonly().optional(),
926
- 'readiness': z.union([z.literal("legacy"), z.literal("member_ready"), z.literal("admin_awaiting_root"), z.literal("admin_ready"), z.literal("blocked")]).readonly(),
927
- 'devices': z.array(z.object({
928
- 'deviceRef': z.string().readonly(),
929
- 'status': z.union([z.literal("active"), z.literal("revoked")]).readonly(),
930
- 'role': z.union([z.literal("member"), z.literal("admin")]).readonly(),
931
- 'managementReady': z.boolean().readonly(),
932
- 'isCurrent': z.boolean().readonly(),
933
- })).readonly(),
934
- 'requests': z.array(z.object({
935
- 'requestRef': z.string().readonly(),
936
- 'candidateKeyFingerprint': z.string().readonly(),
937
- 'issuedAt': z.string().readonly(),
938
- 'expiresAt': z.string().readonly(),
939
- '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(),
940
- 'claimedByCurrentDevice': z.boolean().readonly(),
941
- 'canStartVerification': z.boolean().readonly(),
942
- })).readonly(),
943
- }).readonly(),
944
- })])
945
817
  const _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema = z.object({
946
818
  'target': z.union([z.object({
947
819
  'kind': z.literal("direct").readonly(),
@@ -959,7 +831,7 @@ const _awiki_dsh_plugin_awiki_sendAttachment_parameter_0$schema = z.object({
959
831
  const _awiki_dsh_plugin_awiki_sendAttachment_result$schema = z.union([z.object({
960
832
  'ok': z.literal(false).readonly(),
961
833
  'error': z.object({
962
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
963
835
  'message': z.string().readonly(),
964
836
  }).readonly(),
965
837
  }), z.object({
@@ -1001,11 +873,17 @@ const _awiki_dsh_plugin_awiki_sendMail_parameter_0$schema = z.object({
1001
873
  'cc': z.array(z.string()).readonly().optional(),
1002
874
  'subject': z.string().readonly(),
1003
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(),
1004
882
  })
1005
883
  const _awiki_dsh_plugin_awiki_sendMail_result$schema = z.union([z.object({
1006
884
  'ok': z.literal(false).readonly(),
1007
885
  'error': z.object({
1008
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
1009
887
  'message': z.string().readonly(),
1010
888
  }).readonly(),
1011
889
  }), z.object({
@@ -1023,7 +901,7 @@ const _awiki_dsh_plugin_awiki_sendRecoveryOtp_parameter_0$schema = z.object({
1023
901
  const _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema = z.union([z.object({
1024
902
  'ok': z.literal(false).readonly(),
1025
903
  'error': z.object({
1026
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
1027
905
  'message': z.string().readonly(),
1028
906
  }).readonly(),
1029
907
  }), z.object({
@@ -1042,7 +920,7 @@ const _awiki_dsh_plugin_awiki_sendRegistrationOtp_parameter_0$schema = z.object(
1042
920
  const _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema = z.union([z.object({
1043
921
  'ok': z.literal(false).readonly(),
1044
922
  'error': z.object({
1045
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
1046
924
  'message': z.string().readonly(),
1047
925
  }).readonly(),
1048
926
  }), z.object({
@@ -1073,7 +951,7 @@ const _awiki_dsh_plugin_awiki_sendText_parameter_0$schema = z.object({
1073
951
  const _awiki_dsh_plugin_awiki_sendText_result$schema = z.union([z.object({
1074
952
  'ok': z.literal(false).readonly(),
1075
953
  'error': z.object({
1076
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
1077
955
  'message': z.string().readonly(),
1078
956
  }).readonly(),
1079
957
  }), z.object({
@@ -1110,24 +988,6 @@ const _awiki_dsh_plugin_awiki_sendText_result$schema = z.union([z.object({
1110
988
  })]).readonly(),
1111
989
  }).readonly(),
1112
990
  })])
1113
- const _awiki_dsh_plugin_awiki_startDeviceJoinVerification_parameter_0$schema = z.object({
1114
- 'requestRef': z.string().readonly(),
1115
- })
1116
- const _awiki_dsh_plugin_awiki_startDeviceJoinVerification_result$schema = z.union([z.object({
1117
- 'ok': z.literal(false).readonly(),
1118
- 'error': z.object({
1119
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
1120
- 'message': z.string().readonly(),
1121
- }).readonly(),
1122
- }), z.object({
1123
- 'ok': z.literal(true).readonly(),
1124
- 'value': z.object({
1125
- 'requestRef': z.string().readonly(),
1126
- '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(),
1127
- 'expiresAt': z.string().readonly(),
1128
- 'sas': z.string().readonly().optional(),
1129
- }).readonly(),
1130
- })])
1131
991
  const _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema = z.object({
1132
992
  'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
1133
993
  'unreadCountAtOpen': z.number().readonly().optional(),
@@ -1135,7 +995,7 @@ const _awiki_dsh_plugin_awiki_summarizeConversation_parameter_0$schema = z.objec
1135
995
  const _awiki_dsh_plugin_awiki_summarizeConversation_result$schema = z.union([z.object({
1136
996
  'ok': z.literal(false).readonly(),
1137
997
  'error': z.object({
1138
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
1139
999
  'message': z.string().readonly(),
1140
1000
  }).readonly(),
1141
1001
  }), z.object({
@@ -1189,7 +1049,7 @@ const _awiki_dsh_plugin_awiki_updateConversationPreference_parameter_0$schema =
1189
1049
  const _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema = z.union([z.object({
1190
1050
  'ok': z.literal(false).readonly(),
1191
1051
  'error': z.object({
1192
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
1193
1053
  'message': z.string().readonly(),
1194
1054
  }).readonly(),
1195
1055
  }), z.object({
@@ -1226,7 +1086,7 @@ const _awiki_dsh_plugin_awiki_updateDisplayName_parameter_0$schema = z.object({
1226
1086
  const _awiki_dsh_plugin_awiki_updateDisplayName_result$schema = z.union([z.object({
1227
1087
  'ok': z.literal(false).readonly(),
1228
1088
  'error': z.object({
1229
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
1230
1090
  'message': z.string().readonly(),
1231
1091
  }).readonly(),
1232
1092
  }), z.object({
@@ -1246,7 +1106,7 @@ const _awiki_dsh_plugin_awiki_updateProfile_parameter_0$schema = z.object({
1246
1106
  const _awiki_dsh_plugin_awiki_updateProfile_result$schema = z.union([z.object({
1247
1107
  'ok': z.literal(false).readonly(),
1248
1108
  'error': z.object({
1249
- 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.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(),
1250
1110
  'message': z.string().readonly(),
1251
1111
  }).readonly(),
1252
1112
  }), z.object({
@@ -1290,7 +1150,7 @@ export const TYPERT = {
1290
1150
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1291
1151
  schema: _awiki_dsh_plugin_awiki_activateRecovery_result$schema,
1292
1152
  },
1293
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":159,"column":9},
1153
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":119,"column":9},
1294
1154
  },
1295
1155
  {
1296
1156
  id: '@awiki/dsh-plugin#awiki/addGroupMember',
@@ -1315,62 +1175,7 @@ export const TYPERT = {
1315
1175
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1316
1176
  schema: _awiki_dsh_plugin_awiki_addGroupMember_result$schema,
1317
1177
  },
1318
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":189,"column":3},
1319
- },
1320
- {
1321
- id: '@awiki/dsh-plugin#awiki/approveDeviceJoin',
1322
- service: 'awiki',
1323
- namespace: 'awiki',
1324
- method: 'approveDeviceJoin',
1325
- invocation: { kind: 'direct' },
1326
- parameters: [
1327
- {
1328
- name: 'request',
1329
- wire: 'request',
1330
- source: 'json',
1331
- codec: {
1332
- mode: 'strict',
1333
- typeSymbol: '@awiki/dsh-plugin/types#AwikiApproveDeviceJoinRequest',
1334
- schema: _awiki_dsh_plugin_awiki_approveDeviceJoin_parameter_0$schema,
1335
- },
1336
- },
1337
- ],
1338
- result: {
1339
- mode: 'strict',
1340
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1341
- schema: _awiki_dsh_plugin_awiki_approveDeviceJoin_result$schema,
1342
- },
1343
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":129,"column":9},
1344
- },
1345
- {
1346
- id: '@awiki/dsh-plugin#awiki/beginDeviceJoin',
1347
- service: 'awiki',
1348
- namespace: 'awiki',
1349
- method: 'beginDeviceJoin',
1350
- invocation: { kind: 'direct' },
1351
- parameters: [
1352
- ],
1353
- result: {
1354
- mode: 'strict',
1355
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1356
- schema: _awiki_dsh_plugin_awiki_beginDeviceJoin_result$schema,
1357
- },
1358
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":112,"column":9},
1359
- },
1360
- {
1361
- id: '@awiki/dsh-plugin#awiki/cancelDeviceJoin',
1362
- service: 'awiki',
1363
- namespace: 'awiki',
1364
- method: 'cancelDeviceJoin',
1365
- invocation: { kind: 'direct' },
1366
- parameters: [
1367
- ],
1368
- result: {
1369
- mode: 'strict',
1370
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1371
- schema: _awiki_dsh_plugin_awiki_cancelDeviceJoin_result$schema,
1372
- },
1373
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":118,"column":9},
1178
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":149,"column":3},
1374
1179
  },
1375
1180
  {
1376
1181
  id: '@awiki/dsh-plugin#awiki/clearLocalData',
@@ -1395,7 +1200,7 @@ export const TYPERT = {
1395
1200
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1396
1201
  schema: _awiki_dsh_plugin_awiki_clearLocalData_result$schema,
1397
1202
  },
1398
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":247,"column":3},
1203
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":212,"column":3},
1399
1204
  },
1400
1205
  {
1401
1206
  id: '@awiki/dsh-plugin#awiki/createGroup',
@@ -1420,7 +1225,7 @@ export const TYPERT = {
1420
1225
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1421
1226
  schema: _awiki_dsh_plugin_awiki_createGroup_result$schema,
1422
1227
  },
1423
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":174,"column":9},
1228
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":134,"column":9},
1424
1229
  },
1425
1230
  {
1426
1231
  id: '@awiki/dsh-plugin#awiki/discardRecovery',
@@ -1445,7 +1250,7 @@ export const TYPERT = {
1445
1250
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1446
1251
  schema: _awiki_dsh_plugin_awiki_discardRecovery_result$schema,
1447
1252
  },
1448
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":168,"column":9},
1253
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":128,"column":9},
1449
1254
  },
1450
1255
  {
1451
1256
  id: '@awiki/dsh-plugin#awiki/downloadAttachment',
@@ -1470,52 +1275,62 @@ export const TYPERT = {
1470
1275
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1471
1276
  schema: _awiki_dsh_plugin_awiki_downloadAttachment_result$schema,
1472
1277
  },
1473
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":229,"column":9},
1278
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":189,"column":9},
1474
1279
  },
1475
1280
  {
1476
- id: '@awiki/dsh-plugin#awiki/getConfig',
1281
+ id: '@awiki/dsh-plugin#awiki/downloadMailAttachment',
1477
1282
  service: 'awiki',
1478
1283
  namespace: 'awiki',
1479
- method: 'getConfig',
1284
+ method: 'downloadMailAttachment',
1480
1285
  invocation: { kind: 'direct' },
1481
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
+ },
1482
1297
  ],
1483
1298
  result: {
1484
1299
  mode: 'strict',
1485
1300
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1486
- schema: _awiki_dsh_plugin_awiki_getConfig_result$schema,
1301
+ schema: _awiki_dsh_plugin_awiki_downloadMailAttachment_result$schema,
1487
1302
  },
1488
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":86,"column":9},
1303
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":207,"column":9},
1489
1304
  },
1490
1305
  {
1491
- id: '@awiki/dsh-plugin#awiki/getConversationPreferences',
1306
+ id: '@awiki/dsh-plugin#awiki/getConfig',
1492
1307
  service: 'awiki',
1493
1308
  namespace: 'awiki',
1494
- method: 'getConversationPreferences',
1309
+ method: 'getConfig',
1495
1310
  invocation: { kind: 'direct' },
1496
1311
  parameters: [
1497
1312
  ],
1498
1313
  result: {
1499
1314
  mode: 'strict',
1500
1315
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1501
- schema: _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema,
1316
+ schema: _awiki_dsh_plugin_awiki_getConfig_result$schema,
1502
1317
  },
1503
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":198,"column":3},
1318
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":78,"column":3},
1504
1319
  },
1505
1320
  {
1506
- id: '@awiki/dsh-plugin#awiki/getDeviceJoinStatus',
1321
+ id: '@awiki/dsh-plugin#awiki/getConversationPreferences',
1507
1322
  service: 'awiki',
1508
1323
  namespace: 'awiki',
1509
- method: 'getDeviceJoinStatus',
1324
+ method: 'getConversationPreferences',
1510
1325
  invocation: { kind: 'direct' },
1511
1326
  parameters: [
1512
1327
  ],
1513
1328
  result: {
1514
1329
  mode: 'strict',
1515
1330
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1516
- schema: _awiki_dsh_plugin_awiki_getDeviceJoinStatus_result$schema,
1331
+ schema: _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema,
1517
1332
  },
1518
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":115,"column":9},
1333
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":158,"column":3},
1519
1334
  },
1520
1335
  {
1521
1336
  id: '@awiki/dsh-plugin#awiki/getGroup',
@@ -1540,7 +1355,7 @@ export const TYPERT = {
1540
1355
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1541
1356
  schema: _awiki_dsh_plugin_awiki_getGroup_result$schema,
1542
1357
  },
1543
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":177,"column":3},
1358
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":137,"column":3},
1544
1359
  },
1545
1360
  {
1546
1361
  id: '@awiki/dsh-plugin#awiki/getHistory',
@@ -1565,7 +1380,7 @@ export const TYPERT = {
1565
1380
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1566
1381
  schema: _awiki_dsh_plugin_awiki_getHistory_result$schema,
1567
1382
  },
1568
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":209,"column":3},
1383
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":169,"column":3},
1569
1384
  },
1570
1385
  {
1571
1386
  id: '@awiki/dsh-plugin#awiki/getIdentity',
@@ -1580,7 +1395,7 @@ export const TYPERT = {
1580
1395
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1581
1396
  schema: _awiki_dsh_plugin_awiki_getIdentity_result$schema,
1582
1397
  },
1583
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":89,"column":9},
1398
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":81,"column":9},
1584
1399
  },
1585
1400
  {
1586
1401
  id: '@awiki/dsh-plugin#awiki/getLocalHistory',
@@ -1605,7 +1420,7 @@ export const TYPERT = {
1605
1420
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1606
1421
  schema: _awiki_dsh_plugin_awiki_getLocalHistory_result$schema,
1607
1422
  },
1608
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":212,"column":3},
1423
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":172,"column":3},
1609
1424
  },
1610
1425
  {
1611
1426
  id: '@awiki/dsh-plugin#awiki/getMailAccount',
@@ -1620,7 +1435,7 @@ export const TYPERT = {
1620
1435
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1621
1436
  schema: _awiki_dsh_plugin_awiki_getMailAccount_result$schema,
1622
1437
  },
1623
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":232,"column":3},
1438
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":192,"column":3},
1624
1439
  },
1625
1440
  {
1626
1441
  id: '@awiki/dsh-plugin#awiki/getProfile',
@@ -1635,7 +1450,7 @@ export const TYPERT = {
1635
1450
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1636
1451
  schema: _awiki_dsh_plugin_awiki_getProfile_result$schema,
1637
1452
  },
1638
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":147,"column":3},
1453
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":107,"column":3},
1639
1454
  },
1640
1455
  {
1641
1456
  id: '@awiki/dsh-plugin#awiki/getRecoveryStatus',
@@ -1660,7 +1475,7 @@ export const TYPERT = {
1660
1475
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1661
1476
  schema: _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema,
1662
1477
  },
1663
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":162,"column":9},
1478
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":122,"column":9},
1664
1479
  },
1665
1480
  {
1666
1481
  id: '@awiki/dsh-plugin#awiki/getSession',
@@ -1675,7 +1490,7 @@ export const TYPERT = {
1675
1490
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1676
1491
  schema: _awiki_dsh_plugin_awiki_getSession_result$schema,
1677
1492
  },
1678
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":92,"column":9},
1493
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":84,"column":9},
1679
1494
  },
1680
1495
  {
1681
1496
  id: '@awiki/dsh-plugin#awiki/inspectIdentityAccess',
@@ -1700,7 +1515,7 @@ export const TYPERT = {
1700
1515
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1701
1516
  schema: _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema,
1702
1517
  },
1703
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":101,"column":9},
1518
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":93,"column":9},
1704
1519
  },
1705
1520
  {
1706
1521
  id: '@awiki/dsh-plugin#awiki/joinGroup',
@@ -1725,7 +1540,7 @@ export const TYPERT = {
1725
1540
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1726
1541
  schema: _awiki_dsh_plugin_awiki_joinGroup_result$schema,
1727
1542
  },
1728
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":180,"column":3},
1543
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":140,"column":3},
1729
1544
  },
1730
1545
  {
1731
1546
  id: '@awiki/dsh-plugin#awiki/leaveGroup',
@@ -1750,7 +1565,7 @@ export const TYPERT = {
1750
1565
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1751
1566
  schema: _awiki_dsh_plugin_awiki_leaveGroup_result$schema,
1752
1567
  },
1753
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":183,"column":9},
1568
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":143,"column":9},
1754
1569
  },
1755
1570
  {
1756
1571
  id: '@awiki/dsh-plugin#awiki/listConversations',
@@ -1776,7 +1591,7 @@ export const TYPERT = {
1776
1591
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1777
1592
  schema: _awiki_dsh_plugin_awiki_listConversations_result$schema,
1778
1593
  },
1779
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":206,"column":3},
1594
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":166,"column":3},
1780
1595
  },
1781
1596
  {
1782
1597
  id: '@awiki/dsh-plugin#awiki/listGroupMembers',
@@ -1801,7 +1616,7 @@ export const TYPERT = {
1801
1616
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1802
1617
  schema: _awiki_dsh_plugin_awiki_listGroupMembers_result$schema,
1803
1618
  },
1804
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":186,"column":3},
1619
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":146,"column":3},
1805
1620
  },
1806
1621
  {
1807
1622
  id: '@awiki/dsh-plugin#awiki/listMailInbox',
@@ -1827,7 +1642,7 @@ export const TYPERT = {
1827
1642
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1828
1643
  schema: _awiki_dsh_plugin_awiki_listMailInbox_result$schema,
1829
1644
  },
1830
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":235,"column":9},
1645
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":195,"column":9},
1831
1646
  },
1832
1647
  {
1833
1648
  id: '@awiki/dsh-plugin#awiki/login',
@@ -1842,7 +1657,7 @@ export const TYPERT = {
1842
1657
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1843
1658
  schema: _awiki_dsh_plugin_awiki_login_result$schema,
1844
1659
  },
1845
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":98,"column":3},
1660
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":90,"column":3},
1846
1661
  },
1847
1662
  {
1848
1663
  id: '@awiki/dsh-plugin#awiki/logout',
@@ -1867,7 +1682,7 @@ export const TYPERT = {
1867
1682
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1868
1683
  schema: _awiki_dsh_plugin_awiki_logout_result$schema,
1869
1684
  },
1870
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":95,"column":3},
1685
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":87,"column":3},
1871
1686
  },
1872
1687
  {
1873
1688
  id: '@awiki/dsh-plugin#awiki/markConversationRead',
@@ -1892,7 +1707,7 @@ export const TYPERT = {
1892
1707
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1893
1708
  schema: _awiki_dsh_plugin_awiki_markConversationRead_result$schema,
1894
1709
  },
1895
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":220,"column":3},
1710
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":180,"column":3},
1896
1711
  },
1897
1712
  {
1898
1713
  id: '@awiki/dsh-plugin#awiki/markMailRead',
@@ -1917,7 +1732,7 @@ export const TYPERT = {
1917
1732
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1918
1733
  schema: _awiki_dsh_plugin_awiki_markMailRead_result$schema,
1919
1734
  },
1920
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":241,"column":3},
1735
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":201,"column":3},
1921
1736
  },
1922
1737
  {
1923
1738
  id: '@awiki/dsh-plugin#awiki/prepareRecovery',
@@ -1942,7 +1757,7 @@ export const TYPERT = {
1942
1757
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1943
1758
  schema: _awiki_dsh_plugin_awiki_prepareRecovery_result$schema,
1944
1759
  },
1945
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":156,"column":3},
1760
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":116,"column":3},
1946
1761
  },
1947
1762
  {
1948
1763
  id: '@awiki/dsh-plugin#awiki/readMail',
@@ -1967,22 +1782,7 @@ export const TYPERT = {
1967
1782
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1968
1783
  schema: _awiki_dsh_plugin_awiki_readMail_result$schema,
1969
1784
  },
1970
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":238,"column":9},
1971
- },
1972
- {
1973
- id: '@awiki/dsh-plugin#awiki/refreshDeviceManagement',
1974
- service: 'awiki',
1975
- namespace: 'awiki',
1976
- method: 'refreshDeviceManagement',
1977
- invocation: { kind: 'direct' },
1978
- parameters: [
1979
- ],
1980
- result: {
1981
- mode: 'strict',
1982
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
1983
- schema: _awiki_dsh_plugin_awiki_refreshDeviceManagement_result$schema,
1984
- },
1985
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":121,"column":3},
1785
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":198,"column":9},
1986
1786
  },
1987
1787
  {
1988
1788
  id: '@awiki/dsh-plugin#awiki/registerIdentity',
@@ -2007,32 +1807,7 @@ export const TYPERT = {
2007
1807
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2008
1808
  schema: _awiki_dsh_plugin_awiki_registerIdentity_result$schema,
2009
1809
  },
2010
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":109,"column":9},
2011
- },
2012
- {
2013
- id: '@awiki/dsh-plugin#awiki/rejectDeviceJoin',
2014
- service: 'awiki',
2015
- namespace: 'awiki',
2016
- method: 'rejectDeviceJoin',
2017
- invocation: { kind: 'direct' },
2018
- parameters: [
2019
- {
2020
- name: 'request',
2021
- wire: 'request',
2022
- source: 'json',
2023
- codec: {
2024
- mode: 'strict',
2025
- typeSymbol: '@awiki/dsh-plugin/types#AwikiRejectDeviceJoinRequest',
2026
- schema: _awiki_dsh_plugin_awiki_rejectDeviceJoin_parameter_0$schema,
2027
- },
2028
- },
2029
- ],
2030
- result: {
2031
- mode: 'strict',
2032
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2033
- schema: _awiki_dsh_plugin_awiki_rejectDeviceJoin_result$schema,
2034
- },
2035
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":134,"column":9},
1810
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":101,"column":9},
2036
1811
  },
2037
1812
  {
2038
1813
  id: '@awiki/dsh-plugin#awiki/removeGroupMember',
@@ -2057,7 +1832,7 @@ export const TYPERT = {
2057
1832
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2058
1833
  schema: _awiki_dsh_plugin_awiki_removeGroupMember_result$schema,
2059
1834
  },
2060
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":192,"column":3},
1835
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":152,"column":3},
2061
1836
  },
2062
1837
  {
2063
1838
  id: '@awiki/dsh-plugin#awiki/resolvePeer',
@@ -2082,7 +1857,7 @@ export const TYPERT = {
2082
1857
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2083
1858
  schema: _awiki_dsh_plugin_awiki_resolvePeer_result$schema,
2084
1859
  },
2085
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":171,"column":3},
1860
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":131,"column":3},
2086
1861
  },
2087
1862
  {
2088
1863
  id: '@awiki/dsh-plugin#awiki/resumeGroupRebindRecovery',
@@ -2097,7 +1872,7 @@ export const TYPERT = {
2097
1872
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2098
1873
  schema: _awiki_dsh_plugin_awiki_resumeGroupRebindRecovery_result$schema,
2099
1874
  },
2100
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":195,"column":9},
1875
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":155,"column":9},
2101
1876
  },
2102
1877
  {
2103
1878
  id: '@awiki/dsh-plugin#awiki/resumeRecovery',
@@ -2122,32 +1897,7 @@ export const TYPERT = {
2122
1897
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2123
1898
  schema: _awiki_dsh_plugin_awiki_resumeRecovery_result$schema,
2124
1899
  },
2125
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":165,"column":9},
2126
- },
2127
- {
2128
- id: '@awiki/dsh-plugin#awiki/revokeDevice',
2129
- service: 'awiki',
2130
- namespace: 'awiki',
2131
- method: 'revokeDevice',
2132
- invocation: { kind: 'direct' },
2133
- parameters: [
2134
- {
2135
- name: 'request',
2136
- wire: 'request',
2137
- source: 'json',
2138
- codec: {
2139
- mode: 'strict',
2140
- typeSymbol: '@awiki/dsh-plugin/types#AwikiRevokeDeviceRequest',
2141
- schema: _awiki_dsh_plugin_awiki_revokeDevice_parameter_0$schema,
2142
- },
2143
- },
2144
- ],
2145
- result: {
2146
- mode: 'strict',
2147
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2148
- schema: _awiki_dsh_plugin_awiki_revokeDevice_result$schema,
2149
- },
2150
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":139,"column":9},
1900
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":125,"column":9},
2151
1901
  },
2152
1902
  {
2153
1903
  id: '@awiki/dsh-plugin#awiki/sendAttachment',
@@ -2172,7 +1922,7 @@ export const TYPERT = {
2172
1922
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2173
1923
  schema: _awiki_dsh_plugin_awiki_sendAttachment_result$schema,
2174
1924
  },
2175
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":226,"column":9},
1925
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":186,"column":9},
2176
1926
  },
2177
1927
  {
2178
1928
  id: '@awiki/dsh-plugin#awiki/sendMail',
@@ -2197,7 +1947,7 @@ export const TYPERT = {
2197
1947
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2198
1948
  schema: _awiki_dsh_plugin_awiki_sendMail_result$schema,
2199
1949
  },
2200
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":244,"column":9},
1950
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":204,"column":9},
2201
1951
  },
2202
1952
  {
2203
1953
  id: '@awiki/dsh-plugin#awiki/sendRecoveryOtp',
@@ -2222,7 +1972,7 @@ export const TYPERT = {
2222
1972
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2223
1973
  schema: _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema,
2224
1974
  },
2225
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":153,"column":3},
1975
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":113,"column":3},
2226
1976
  },
2227
1977
  {
2228
1978
  id: '@awiki/dsh-plugin#awiki/sendRegistrationOtp',
@@ -2247,7 +1997,7 @@ export const TYPERT = {
2247
1997
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2248
1998
  schema: _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema,
2249
1999
  },
2250
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":106,"column":9},
2000
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":98,"column":3},
2251
2001
  },
2252
2002
  {
2253
2003
  id: '@awiki/dsh-plugin#awiki/sendText',
@@ -2272,32 +2022,7 @@ export const TYPERT = {
2272
2022
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2273
2023
  schema: _awiki_dsh_plugin_awiki_sendText_result$schema,
2274
2024
  },
2275
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":223,"column":3},
2276
- },
2277
- {
2278
- id: '@awiki/dsh-plugin#awiki/startDeviceJoinVerification',
2279
- service: 'awiki',
2280
- namespace: 'awiki',
2281
- method: 'startDeviceJoinVerification',
2282
- invocation: { kind: 'direct' },
2283
- parameters: [
2284
- {
2285
- name: 'request',
2286
- wire: 'request',
2287
- source: 'json',
2288
- codec: {
2289
- mode: 'strict',
2290
- typeSymbol: '@awiki/dsh-plugin/types#AwikiRequestRefInput',
2291
- schema: _awiki_dsh_plugin_awiki_startDeviceJoinVerification_parameter_0$schema,
2292
- },
2293
- },
2294
- ],
2295
- result: {
2296
- mode: 'strict',
2297
- typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2298
- schema: _awiki_dsh_plugin_awiki_startDeviceJoinVerification_result$schema,
2299
- },
2300
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":124,"column":9},
2025
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":183,"column":3},
2301
2026
  },
2302
2027
  {
2303
2028
  id: '@awiki/dsh-plugin#awiki/summarizeConversation',
@@ -2322,7 +2047,7 @@ export const TYPERT = {
2322
2047
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2323
2048
  schema: _awiki_dsh_plugin_awiki_summarizeConversation_result$schema,
2324
2049
  },
2325
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":215,"column":9},
2050
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":175,"column":9},
2326
2051
  },
2327
2052
  {
2328
2053
  id: '@awiki/dsh-plugin#awiki/updateConversationPreference',
@@ -2347,7 +2072,7 @@ export const TYPERT = {
2347
2072
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2348
2073
  schema: _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema,
2349
2074
  },
2350
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":201,"column":3},
2075
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":161,"column":3},
2351
2076
  },
2352
2077
  {
2353
2078
  id: '@awiki/dsh-plugin#awiki/updateDisplayName',
@@ -2372,7 +2097,7 @@ export const TYPERT = {
2372
2097
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2373
2098
  schema: _awiki_dsh_plugin_awiki_updateDisplayName_result$schema,
2374
2099
  },
2375
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":144,"column":9},
2100
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":104,"column":9},
2376
2101
  },
2377
2102
  {
2378
2103
  id: '@awiki/dsh-plugin#awiki/updateProfile',
@@ -2397,7 +2122,7 @@ export const TYPERT = {
2397
2122
  typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
2398
2123
  schema: _awiki_dsh_plugin_awiki_updateProfile_result$schema,
2399
2124
  },
2400
- sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":150,"column":3},
2125
+ sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":110,"column":3},
2401
2126
  },
2402
2127
  ],
2403
2128
  model: {