@awiki/dsh-plugin 0.3.5 → 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.
- package/README.md +29 -14
- package/README.zh.md +24 -13
- package/cordis.patch.yml +7 -4
- package/lib/client.js +569 -95
- package/lib/client.js.map +1 -1
- package/lib/index.js +402 -98
- package/lib/provider.js +1 -1
- package/lib/{sdk-adapter-CDLTgHJA.mjs → sdk-adapter--trNlr-T.mjs} +34 -1
- package/lib/typert.host.js +97 -42
- package/lib/typert.remote-client.d.ts +3 -1
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +97 -42
- package/lib/types/client/AwikiMail.d.ts +1 -1
- package/lib/types/client/AwikiMail.d.ts.map +1 -1
- package/lib/types/client/AwikiMail.js +130 -6
- package/lib/types/client/AwikiMail.js.map +1 -1
- package/lib/types/client/AwikiOverlay.d.ts.map +1 -1
- package/lib/types/client/AwikiOverlay.js +1 -1
- package/lib/types/client/AwikiOverlay.js.map +1 -1
- package/lib/types/client/controller.d.ts +7 -1
- package/lib/types/client/controller.d.ts.map +1 -1
- package/lib/types/client/controller.js +41 -15
- package/lib/types/client/controller.js.map +1 -1
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/index.js +2 -0
- package/lib/types/client/index.js.map +1 -1
- package/lib/types/client/mail-attachment.d.ts +40 -0
- package/lib/types/client/mail-attachment.d.ts.map +1 -0
- package/lib/types/client/mail-attachment.js +186 -0
- package/lib/types/client/mail-attachment.js.map +1 -0
- package/lib/types/client/settings-locales.js +8 -8
- package/lib/types/client/settings-locales.js.map +1 -1
- package/lib/types/client/slots.d.ts +5 -1
- package/lib/types/client/slots.d.ts.map +1 -1
- package/lib/types/index.d.ts +18 -6
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +244 -68
- package/lib/types/index.js.map +1 -1
- package/lib/types/mail.d.ts +28 -2
- package/lib/types/mail.d.ts.map +1 -1
- package/lib/types/mail.js +78 -2
- package/lib/types/mail.js.map +1 -1
- package/lib/types/profile-state.d.ts +6 -0
- package/lib/types/profile-state.d.ts.map +1 -1
- package/lib/types/profile-state.js +10 -0
- package/lib/types/profile-state.js.map +1 -1
- package/lib/types/provider-api.d.ts +32 -4
- package/lib/types/provider-api.d.ts.map +1 -1
- package/lib/types/sdk-adapter.d.ts +4 -3
- package/lib/types/sdk-adapter.d.ts.map +1 -1
- package/lib/types/sdk-adapter.js +45 -1
- package/lib/types/sdk-adapter.js.map +1 -1
- package/lib/types/sent-mail-store.d.ts +7 -2
- package/lib/types/sent-mail-store.d.ts.map +1 -1
- package/lib/types/sent-mail-store.js +125 -23
- package/lib/types/sent-mail-store.js.map +1 -1
- package/lib/types/tools.d.ts +1 -1
- package/lib/types/tools.d.ts.map +1 -1
- package/lib/types/tools.js +20 -4
- package/lib/types/tools.js.map +1 -1
- package/lib/types/types.d.ts +39 -1
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types/types.js.map +1 -1
- package/package.json +15 -17
|
@@ -132,6 +132,26 @@ const _awiki_dsh_plugin_awiki_downloadAttachment_result$schema = z.union([z.obje
|
|
|
132
132
|
'bytesBase64': z.string().readonly(),
|
|
133
133
|
}).readonly(),
|
|
134
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
|
+
})])
|
|
135
155
|
const _awiki_dsh_plugin_awiki_getConfig_result$schema = z.union([z.object({
|
|
136
156
|
'ok': z.literal(false).readonly(),
|
|
137
157
|
'error': z.object({
|
|
@@ -141,8 +161,12 @@ const _awiki_dsh_plugin_awiki_getConfig_result$schema = z.union([z.object({
|
|
|
141
161
|
}), z.object({
|
|
142
162
|
'ok': z.literal(true).readonly(),
|
|
143
163
|
'value': z.object({
|
|
164
|
+
'tenantDomain': z.string().readonly(),
|
|
144
165
|
'pollIntervalMs': z.number().readonly(),
|
|
145
166
|
'attachmentMaxBytes': z.number().readonly(),
|
|
167
|
+
'mailAttachmentMaxCount': z.number().readonly(),
|
|
168
|
+
'mailAttachmentMaxBytes': z.number().readonly(),
|
|
169
|
+
'mailAttachmentTotalMaxBytes': z.number().readonly(),
|
|
146
170
|
'profileName': z.string().readonly().optional(),
|
|
147
171
|
'legacySharedStateDetected': z.boolean().readonly().optional(),
|
|
148
172
|
}).readonly(),
|
|
@@ -849,6 +873,12 @@ const _awiki_dsh_plugin_awiki_sendMail_parameter_0$schema = z.object({
|
|
|
849
873
|
'cc': z.array(z.string()).readonly().optional(),
|
|
850
874
|
'subject': z.string().readonly(),
|
|
851
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(),
|
|
852
882
|
})
|
|
853
883
|
const _awiki_dsh_plugin_awiki_sendMail_result$schema = z.union([z.object({
|
|
854
884
|
'ok': z.literal(false).readonly(),
|
|
@@ -1117,7 +1147,7 @@ export const TYPERT_REMOTE = {
|
|
|
1117
1147
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1118
1148
|
schema: _awiki_dsh_plugin_awiki_activateRecovery_result$schema,
|
|
1119
1149
|
},
|
|
1120
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1150
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":119,"column":9},
|
|
1121
1151
|
},
|
|
1122
1152
|
{
|
|
1123
1153
|
id: '@awiki/dsh-plugin#awiki/addGroupMember',
|
|
@@ -1142,7 +1172,7 @@ export const TYPERT_REMOTE = {
|
|
|
1142
1172
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1143
1173
|
schema: _awiki_dsh_plugin_awiki_addGroupMember_result$schema,
|
|
1144
1174
|
},
|
|
1145
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1175
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":149,"column":3},
|
|
1146
1176
|
},
|
|
1147
1177
|
{
|
|
1148
1178
|
id: '@awiki/dsh-plugin#awiki/clearLocalData',
|
|
@@ -1167,7 +1197,7 @@ export const TYPERT_REMOTE = {
|
|
|
1167
1197
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1168
1198
|
schema: _awiki_dsh_plugin_awiki_clearLocalData_result$schema,
|
|
1169
1199
|
},
|
|
1170
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1200
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":212,"column":3},
|
|
1171
1201
|
},
|
|
1172
1202
|
{
|
|
1173
1203
|
id: '@awiki/dsh-plugin#awiki/createGroup',
|
|
@@ -1192,7 +1222,7 @@ export const TYPERT_REMOTE = {
|
|
|
1192
1222
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1193
1223
|
schema: _awiki_dsh_plugin_awiki_createGroup_result$schema,
|
|
1194
1224
|
},
|
|
1195
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1225
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":134,"column":9},
|
|
1196
1226
|
},
|
|
1197
1227
|
{
|
|
1198
1228
|
id: '@awiki/dsh-plugin#awiki/discardRecovery',
|
|
@@ -1217,7 +1247,7 @@ export const TYPERT_REMOTE = {
|
|
|
1217
1247
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1218
1248
|
schema: _awiki_dsh_plugin_awiki_discardRecovery_result$schema,
|
|
1219
1249
|
},
|
|
1220
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1250
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":128,"column":9},
|
|
1221
1251
|
},
|
|
1222
1252
|
{
|
|
1223
1253
|
id: '@awiki/dsh-plugin#awiki/downloadAttachment',
|
|
@@ -1242,7 +1272,32 @@ export const TYPERT_REMOTE = {
|
|
|
1242
1272
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1243
1273
|
schema: _awiki_dsh_plugin_awiki_downloadAttachment_result$schema,
|
|
1244
1274
|
},
|
|
1245
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1275
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":189,"column":9},
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
id: '@awiki/dsh-plugin#awiki/downloadMailAttachment',
|
|
1279
|
+
service: 'awiki',
|
|
1280
|
+
namespace: 'awiki',
|
|
1281
|
+
method: 'downloadMailAttachment',
|
|
1282
|
+
invocation: { kind: 'direct' },
|
|
1283
|
+
parameters: [
|
|
1284
|
+
{
|
|
1285
|
+
name: 'request',
|
|
1286
|
+
wire: 'request',
|
|
1287
|
+
source: 'json',
|
|
1288
|
+
codec: {
|
|
1289
|
+
mode: 'strict',
|
|
1290
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiMailAttachmentDownloadRequest',
|
|
1291
|
+
schema: _awiki_dsh_plugin_awiki_downloadMailAttachment_parameter_0$schema,
|
|
1292
|
+
},
|
|
1293
|
+
},
|
|
1294
|
+
],
|
|
1295
|
+
result: {
|
|
1296
|
+
mode: 'strict',
|
|
1297
|
+
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1298
|
+
schema: _awiki_dsh_plugin_awiki_downloadMailAttachment_result$schema,
|
|
1299
|
+
},
|
|
1300
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":207,"column":9},
|
|
1246
1301
|
},
|
|
1247
1302
|
{
|
|
1248
1303
|
id: '@awiki/dsh-plugin#awiki/getConfig',
|
|
@@ -1257,7 +1312,7 @@ export const TYPERT_REMOTE = {
|
|
|
1257
1312
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1258
1313
|
schema: _awiki_dsh_plugin_awiki_getConfig_result$schema,
|
|
1259
1314
|
},
|
|
1260
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1315
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":78,"column":3},
|
|
1261
1316
|
},
|
|
1262
1317
|
{
|
|
1263
1318
|
id: '@awiki/dsh-plugin#awiki/getConversationPreferences',
|
|
@@ -1272,7 +1327,7 @@ export const TYPERT_REMOTE = {
|
|
|
1272
1327
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1273
1328
|
schema: _awiki_dsh_plugin_awiki_getConversationPreferences_result$schema,
|
|
1274
1329
|
},
|
|
1275
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1330
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":158,"column":3},
|
|
1276
1331
|
},
|
|
1277
1332
|
{
|
|
1278
1333
|
id: '@awiki/dsh-plugin#awiki/getGroup',
|
|
@@ -1297,7 +1352,7 @@ export const TYPERT_REMOTE = {
|
|
|
1297
1352
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1298
1353
|
schema: _awiki_dsh_plugin_awiki_getGroup_result$schema,
|
|
1299
1354
|
},
|
|
1300
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1355
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":137,"column":3},
|
|
1301
1356
|
},
|
|
1302
1357
|
{
|
|
1303
1358
|
id: '@awiki/dsh-plugin#awiki/getHistory',
|
|
@@ -1322,7 +1377,7 @@ export const TYPERT_REMOTE = {
|
|
|
1322
1377
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1323
1378
|
schema: _awiki_dsh_plugin_awiki_getHistory_result$schema,
|
|
1324
1379
|
},
|
|
1325
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1380
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":169,"column":3},
|
|
1326
1381
|
},
|
|
1327
1382
|
{
|
|
1328
1383
|
id: '@awiki/dsh-plugin#awiki/getIdentity',
|
|
@@ -1337,7 +1392,7 @@ export const TYPERT_REMOTE = {
|
|
|
1337
1392
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1338
1393
|
schema: _awiki_dsh_plugin_awiki_getIdentity_result$schema,
|
|
1339
1394
|
},
|
|
1340
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1395
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":81,"column":9},
|
|
1341
1396
|
},
|
|
1342
1397
|
{
|
|
1343
1398
|
id: '@awiki/dsh-plugin#awiki/getLocalHistory',
|
|
@@ -1362,7 +1417,7 @@ export const TYPERT_REMOTE = {
|
|
|
1362
1417
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1363
1418
|
schema: _awiki_dsh_plugin_awiki_getLocalHistory_result$schema,
|
|
1364
1419
|
},
|
|
1365
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1420
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":172,"column":3},
|
|
1366
1421
|
},
|
|
1367
1422
|
{
|
|
1368
1423
|
id: '@awiki/dsh-plugin#awiki/getMailAccount',
|
|
@@ -1377,7 +1432,7 @@ export const TYPERT_REMOTE = {
|
|
|
1377
1432
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1378
1433
|
schema: _awiki_dsh_plugin_awiki_getMailAccount_result$schema,
|
|
1379
1434
|
},
|
|
1380
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1435
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":192,"column":3},
|
|
1381
1436
|
},
|
|
1382
1437
|
{
|
|
1383
1438
|
id: '@awiki/dsh-plugin#awiki/getProfile',
|
|
@@ -1392,7 +1447,7 @@ export const TYPERT_REMOTE = {
|
|
|
1392
1447
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1393
1448
|
schema: _awiki_dsh_plugin_awiki_getProfile_result$schema,
|
|
1394
1449
|
},
|
|
1395
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1450
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":107,"column":3},
|
|
1396
1451
|
},
|
|
1397
1452
|
{
|
|
1398
1453
|
id: '@awiki/dsh-plugin#awiki/getRecoveryStatus',
|
|
@@ -1417,7 +1472,7 @@ export const TYPERT_REMOTE = {
|
|
|
1417
1472
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1418
1473
|
schema: _awiki_dsh_plugin_awiki_getRecoveryStatus_result$schema,
|
|
1419
1474
|
},
|
|
1420
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1475
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":122,"column":9},
|
|
1421
1476
|
},
|
|
1422
1477
|
{
|
|
1423
1478
|
id: '@awiki/dsh-plugin#awiki/getSession',
|
|
@@ -1432,7 +1487,7 @@ export const TYPERT_REMOTE = {
|
|
|
1432
1487
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1433
1488
|
schema: _awiki_dsh_plugin_awiki_getSession_result$schema,
|
|
1434
1489
|
},
|
|
1435
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1490
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":84,"column":9},
|
|
1436
1491
|
},
|
|
1437
1492
|
{
|
|
1438
1493
|
id: '@awiki/dsh-plugin#awiki/inspectIdentityAccess',
|
|
@@ -1457,7 +1512,7 @@ export const TYPERT_REMOTE = {
|
|
|
1457
1512
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1458
1513
|
schema: _awiki_dsh_plugin_awiki_inspectIdentityAccess_result$schema,
|
|
1459
1514
|
},
|
|
1460
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1515
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":93,"column":9},
|
|
1461
1516
|
},
|
|
1462
1517
|
{
|
|
1463
1518
|
id: '@awiki/dsh-plugin#awiki/joinGroup',
|
|
@@ -1482,7 +1537,7 @@ export const TYPERT_REMOTE = {
|
|
|
1482
1537
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1483
1538
|
schema: _awiki_dsh_plugin_awiki_joinGroup_result$schema,
|
|
1484
1539
|
},
|
|
1485
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1540
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":140,"column":3},
|
|
1486
1541
|
},
|
|
1487
1542
|
{
|
|
1488
1543
|
id: '@awiki/dsh-plugin#awiki/leaveGroup',
|
|
@@ -1507,7 +1562,7 @@ export const TYPERT_REMOTE = {
|
|
|
1507
1562
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1508
1563
|
schema: _awiki_dsh_plugin_awiki_leaveGroup_result$schema,
|
|
1509
1564
|
},
|
|
1510
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1565
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":143,"column":9},
|
|
1511
1566
|
},
|
|
1512
1567
|
{
|
|
1513
1568
|
id: '@awiki/dsh-plugin#awiki/listConversations',
|
|
@@ -1533,7 +1588,7 @@ export const TYPERT_REMOTE = {
|
|
|
1533
1588
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1534
1589
|
schema: _awiki_dsh_plugin_awiki_listConversations_result$schema,
|
|
1535
1590
|
},
|
|
1536
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1591
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":166,"column":3},
|
|
1537
1592
|
},
|
|
1538
1593
|
{
|
|
1539
1594
|
id: '@awiki/dsh-plugin#awiki/listGroupMembers',
|
|
@@ -1558,7 +1613,7 @@ export const TYPERT_REMOTE = {
|
|
|
1558
1613
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1559
1614
|
schema: _awiki_dsh_plugin_awiki_listGroupMembers_result$schema,
|
|
1560
1615
|
},
|
|
1561
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1616
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":146,"column":3},
|
|
1562
1617
|
},
|
|
1563
1618
|
{
|
|
1564
1619
|
id: '@awiki/dsh-plugin#awiki/listMailInbox',
|
|
@@ -1584,7 +1639,7 @@ export const TYPERT_REMOTE = {
|
|
|
1584
1639
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1585
1640
|
schema: _awiki_dsh_plugin_awiki_listMailInbox_result$schema,
|
|
1586
1641
|
},
|
|
1587
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1642
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":195,"column":9},
|
|
1588
1643
|
},
|
|
1589
1644
|
{
|
|
1590
1645
|
id: '@awiki/dsh-plugin#awiki/login',
|
|
@@ -1599,7 +1654,7 @@ export const TYPERT_REMOTE = {
|
|
|
1599
1654
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1600
1655
|
schema: _awiki_dsh_plugin_awiki_login_result$schema,
|
|
1601
1656
|
},
|
|
1602
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1657
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":90,"column":3},
|
|
1603
1658
|
},
|
|
1604
1659
|
{
|
|
1605
1660
|
id: '@awiki/dsh-plugin#awiki/logout',
|
|
@@ -1624,7 +1679,7 @@ export const TYPERT_REMOTE = {
|
|
|
1624
1679
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1625
1680
|
schema: _awiki_dsh_plugin_awiki_logout_result$schema,
|
|
1626
1681
|
},
|
|
1627
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1682
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":87,"column":3},
|
|
1628
1683
|
},
|
|
1629
1684
|
{
|
|
1630
1685
|
id: '@awiki/dsh-plugin#awiki/markConversationRead',
|
|
@@ -1649,7 +1704,7 @@ export const TYPERT_REMOTE = {
|
|
|
1649
1704
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1650
1705
|
schema: _awiki_dsh_plugin_awiki_markConversationRead_result$schema,
|
|
1651
1706
|
},
|
|
1652
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1707
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":180,"column":3},
|
|
1653
1708
|
},
|
|
1654
1709
|
{
|
|
1655
1710
|
id: '@awiki/dsh-plugin#awiki/markMailRead',
|
|
@@ -1674,7 +1729,7 @@ export const TYPERT_REMOTE = {
|
|
|
1674
1729
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1675
1730
|
schema: _awiki_dsh_plugin_awiki_markMailRead_result$schema,
|
|
1676
1731
|
},
|
|
1677
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1732
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":201,"column":3},
|
|
1678
1733
|
},
|
|
1679
1734
|
{
|
|
1680
1735
|
id: '@awiki/dsh-plugin#awiki/prepareRecovery',
|
|
@@ -1699,7 +1754,7 @@ export const TYPERT_REMOTE = {
|
|
|
1699
1754
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1700
1755
|
schema: _awiki_dsh_plugin_awiki_prepareRecovery_result$schema,
|
|
1701
1756
|
},
|
|
1702
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1757
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":116,"column":3},
|
|
1703
1758
|
},
|
|
1704
1759
|
{
|
|
1705
1760
|
id: '@awiki/dsh-plugin#awiki/readMail',
|
|
@@ -1724,7 +1779,7 @@ export const TYPERT_REMOTE = {
|
|
|
1724
1779
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1725
1780
|
schema: _awiki_dsh_plugin_awiki_readMail_result$schema,
|
|
1726
1781
|
},
|
|
1727
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1782
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":198,"column":9},
|
|
1728
1783
|
},
|
|
1729
1784
|
{
|
|
1730
1785
|
id: '@awiki/dsh-plugin#awiki/registerIdentity',
|
|
@@ -1749,7 +1804,7 @@ export const TYPERT_REMOTE = {
|
|
|
1749
1804
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1750
1805
|
schema: _awiki_dsh_plugin_awiki_registerIdentity_result$schema,
|
|
1751
1806
|
},
|
|
1752
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1807
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":101,"column":9},
|
|
1753
1808
|
},
|
|
1754
1809
|
{
|
|
1755
1810
|
id: '@awiki/dsh-plugin#awiki/removeGroupMember',
|
|
@@ -1774,7 +1829,7 @@ export const TYPERT_REMOTE = {
|
|
|
1774
1829
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1775
1830
|
schema: _awiki_dsh_plugin_awiki_removeGroupMember_result$schema,
|
|
1776
1831
|
},
|
|
1777
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1832
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":152,"column":3},
|
|
1778
1833
|
},
|
|
1779
1834
|
{
|
|
1780
1835
|
id: '@awiki/dsh-plugin#awiki/resolvePeer',
|
|
@@ -1799,7 +1854,7 @@ export const TYPERT_REMOTE = {
|
|
|
1799
1854
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1800
1855
|
schema: _awiki_dsh_plugin_awiki_resolvePeer_result$schema,
|
|
1801
1856
|
},
|
|
1802
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1857
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":131,"column":3},
|
|
1803
1858
|
},
|
|
1804
1859
|
{
|
|
1805
1860
|
id: '@awiki/dsh-plugin#awiki/resumeGroupRebindRecovery',
|
|
@@ -1814,7 +1869,7 @@ export const TYPERT_REMOTE = {
|
|
|
1814
1869
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1815
1870
|
schema: _awiki_dsh_plugin_awiki_resumeGroupRebindRecovery_result$schema,
|
|
1816
1871
|
},
|
|
1817
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1872
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":155,"column":9},
|
|
1818
1873
|
},
|
|
1819
1874
|
{
|
|
1820
1875
|
id: '@awiki/dsh-plugin#awiki/resumeRecovery',
|
|
@@ -1839,7 +1894,7 @@ export const TYPERT_REMOTE = {
|
|
|
1839
1894
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1840
1895
|
schema: _awiki_dsh_plugin_awiki_resumeRecovery_result$schema,
|
|
1841
1896
|
},
|
|
1842
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1897
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":125,"column":9},
|
|
1843
1898
|
},
|
|
1844
1899
|
{
|
|
1845
1900
|
id: '@awiki/dsh-plugin#awiki/sendAttachment',
|
|
@@ -1864,7 +1919,7 @@ export const TYPERT_REMOTE = {
|
|
|
1864
1919
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1865
1920
|
schema: _awiki_dsh_plugin_awiki_sendAttachment_result$schema,
|
|
1866
1921
|
},
|
|
1867
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1922
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":186,"column":9},
|
|
1868
1923
|
},
|
|
1869
1924
|
{
|
|
1870
1925
|
id: '@awiki/dsh-plugin#awiki/sendMail',
|
|
@@ -1889,7 +1944,7 @@ export const TYPERT_REMOTE = {
|
|
|
1889
1944
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1890
1945
|
schema: _awiki_dsh_plugin_awiki_sendMail_result$schema,
|
|
1891
1946
|
},
|
|
1892
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1947
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":204,"column":9},
|
|
1893
1948
|
},
|
|
1894
1949
|
{
|
|
1895
1950
|
id: '@awiki/dsh-plugin#awiki/sendRecoveryOtp',
|
|
@@ -1914,7 +1969,7 @@ export const TYPERT_REMOTE = {
|
|
|
1914
1969
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1915
1970
|
schema: _awiki_dsh_plugin_awiki_sendRecoveryOtp_result$schema,
|
|
1916
1971
|
},
|
|
1917
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1972
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":113,"column":3},
|
|
1918
1973
|
},
|
|
1919
1974
|
{
|
|
1920
1975
|
id: '@awiki/dsh-plugin#awiki/sendRegistrationOtp',
|
|
@@ -1939,7 +1994,7 @@ export const TYPERT_REMOTE = {
|
|
|
1939
1994
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1940
1995
|
schema: _awiki_dsh_plugin_awiki_sendRegistrationOtp_result$schema,
|
|
1941
1996
|
},
|
|
1942
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
1997
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":98,"column":3},
|
|
1943
1998
|
},
|
|
1944
1999
|
{
|
|
1945
2000
|
id: '@awiki/dsh-plugin#awiki/sendText',
|
|
@@ -1964,7 +2019,7 @@ export const TYPERT_REMOTE = {
|
|
|
1964
2019
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1965
2020
|
schema: _awiki_dsh_plugin_awiki_sendText_result$schema,
|
|
1966
2021
|
},
|
|
1967
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2022
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":183,"column":3},
|
|
1968
2023
|
},
|
|
1969
2024
|
{
|
|
1970
2025
|
id: '@awiki/dsh-plugin#awiki/summarizeConversation',
|
|
@@ -1989,7 +2044,7 @@ export const TYPERT_REMOTE = {
|
|
|
1989
2044
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
1990
2045
|
schema: _awiki_dsh_plugin_awiki_summarizeConversation_result$schema,
|
|
1991
2046
|
},
|
|
1992
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2047
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":175,"column":9},
|
|
1993
2048
|
},
|
|
1994
2049
|
{
|
|
1995
2050
|
id: '@awiki/dsh-plugin#awiki/updateConversationPreference',
|
|
@@ -2014,7 +2069,7 @@ export const TYPERT_REMOTE = {
|
|
|
2014
2069
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
2015
2070
|
schema: _awiki_dsh_plugin_awiki_updateConversationPreference_result$schema,
|
|
2016
2071
|
},
|
|
2017
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2072
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":161,"column":3},
|
|
2018
2073
|
},
|
|
2019
2074
|
{
|
|
2020
2075
|
id: '@awiki/dsh-plugin#awiki/updateDisplayName',
|
|
@@ -2039,7 +2094,7 @@ export const TYPERT_REMOTE = {
|
|
|
2039
2094
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
2040
2095
|
schema: _awiki_dsh_plugin_awiki_updateDisplayName_result$schema,
|
|
2041
2096
|
},
|
|
2042
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2097
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":104,"column":9},
|
|
2043
2098
|
},
|
|
2044
2099
|
{
|
|
2045
2100
|
id: '@awiki/dsh-plugin#awiki/updateProfile',
|
|
@@ -2064,7 +2119,7 @@ export const TYPERT_REMOTE = {
|
|
|
2064
2119
|
typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
|
|
2065
2120
|
schema: _awiki_dsh_plugin_awiki_updateProfile_result$schema,
|
|
2066
2121
|
},
|
|
2067
|
-
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":
|
|
2122
|
+
sourceLocation: {"file":"packages/dsh-awiki/src/index.ts","line":110,"column":3},
|
|
2068
2123
|
},
|
|
2069
2124
|
],
|
|
2070
2125
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
3
|
import type { AwikiDid } from '@awiki/dsh-plugin/types';
|
|
4
4
|
import type { AwikiOverlayProps } from './slots.ts';
|
|
5
|
-
interface AwikiMailProps extends Pick<AwikiOverlayProps, 'getMailAccount' | 'listMailInbox' | 'readMail' | 'markMailRead' | 'sendMail'> {
|
|
5
|
+
interface AwikiMailProps extends Pick<AwikiOverlayProps, 'getConfig' | 'getMailAccount' | 'listMailInbox' | 'readMail' | 'markMailRead' | 'sendMail' | 'downloadMailAttachment'> {
|
|
6
6
|
readonly active: boolean;
|
|
7
7
|
readonly cacheOwner: AwikiDid;
|
|
8
8
|
readonly identityCard: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AwikiMail.d.ts","sourceRoot":"","sources":["../../../src/client/AwikiMail.tsx"],"names":[],"mappings":"AAAA,qFAAqF;AAErF,OAAO,EAAwC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAa5E,OAAO,KAAK,EACV,QAAQ,
|
|
1
|
+
{"version":3,"file":"AwikiMail.d.ts","sourceRoot":"","sources":["../../../src/client/AwikiMail.tsx"],"names":[],"mappings":"AAAA,qFAAqF;AAErF,OAAO,EAAwC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAa5E,OAAO,KAAK,EACV,QAAQ,EAMT,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAkBnD,UAAU,cAAe,SAAQ,IAAI,CAAC,iBAAiB,EACrD,WAAW,GAAG,gBAAgB,GAAG,eAAe,GAAG,UAAU,GAAG,cAAc,GAAG,UAAU,GAAG,wBAAwB,CAAC;IACvH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAA;IAC7B,QAAQ,CAAC,YAAY,EAAE,SAAS,CAAA;IAChC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;IAC5B,QAAQ,CAAC,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACtD;AAgKD,2FAA2F;AAC3F,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,+BA2mB9C"}
|