@remit/electrodb-entities 0.0.38 → 0.0.40
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/index.cjs +252 -2
- package/index.d.cts +185 -1
- package/index.d.mts +185 -1
- package/index.d.ts +185 -1
- package/index.mjs +251 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MessageLabel = exports.CalendarFeedToken = exports.CalendarEventIndex = exports.RawMessageStorage = exports.MessageSearchText = exports.BodyStructureRefetch = exports.BodyPartParameter = exports.SenderSignerStanding = exports.Envelope = exports.MessageFlagPush = exports.MessagePlacementMove = exports.MessageFlag = exports.MailboxLock = exports.MailboxFlag = exports.MailboxSpecialUseEntry = exports.MailboxAttributeEntry = exports.AccountSetting = exports.ConfigImport = exports.EnvelopeAddress = exports.CalendarSuggestion = exports.MessageReference = exports.BodyPart = exports.MessageRecord = exports.Address = exports.OutboxAttachment = exports.OutboxMessage = exports.ThreadMessage = exports.CalendarObject = exports.CalendarCollection = exports.OrganizeJobRequest = exports.Label = exports.Filter = exports.Mailbox = exports.Account = exports.AccountConfig = exports.SyncWarning = exports.Quarantine = exports.AccountExportRequest = void 0;
|
|
3
|
+
exports.MessageLabel = exports.CalendarFeedToken = exports.CalendarEventIndex = exports.OutboxSchedulingPart = exports.RawMessageStorage = exports.MessageSearchText = exports.BodyStructureRefetch = exports.BodyPartParameter = exports.SenderSignerStanding = exports.Envelope = exports.MessageFlagPush = exports.MessagePlacementMove = exports.MessageFlag = exports.MailboxLock = exports.MailboxFlag = exports.MailboxSpecialUseEntry = exports.MailboxAttributeEntry = exports.AccountSetting = exports.ConfigImport = exports.EnvelopeAddress = exports.CalendarSuggestion = exports.MessageReference = exports.BodyPart = exports.MessageRecord = exports.Address = exports.OutboxAttachment = exports.OutboxMessage = exports.ThreadMessage = exports.CalendarTask = exports.CalendarObject = exports.CalendarCollection = exports.OrganizeJobRequest = exports.Label = exports.Filter = exports.Mailbox = exports.Account = exports.AccountConfig = exports.SyncWarning = exports.Quarantine = exports.AccountExportRequest = void 0;
|
|
4
4
|
const electrodb_1 = require("electrodb");
|
|
5
5
|
exports.AccountExportRequest = {
|
|
6
6
|
attributes: {
|
|
@@ -1566,7 +1566,7 @@ exports.CalendarCollection = {
|
|
|
1566
1566
|
default: "Cal1"
|
|
1567
1567
|
},
|
|
1568
1568
|
componentSet: {
|
|
1569
|
-
type: ["VeventOnly"],
|
|
1569
|
+
type: ["VeventOnly", "VtodoOnly"],
|
|
1570
1570
|
required: true,
|
|
1571
1571
|
default: "VeventOnly"
|
|
1572
1572
|
},
|
|
@@ -1876,6 +1876,151 @@ exports.CalendarObject = {
|
|
|
1876
1876
|
version: "1"
|
|
1877
1877
|
}
|
|
1878
1878
|
};
|
|
1879
|
+
exports.CalendarTask = {
|
|
1880
|
+
attributes: {
|
|
1881
|
+
calendarTaskId: {
|
|
1882
|
+
type: "string",
|
|
1883
|
+
required: true,
|
|
1884
|
+
validate: value => {
|
|
1885
|
+
if (typeof value === "string" && value.length < 25)
|
|
1886
|
+
throw new Error("'calendarTaskId' must be at least 25 characters");
|
|
1887
|
+
if (typeof value === "string" && value.length > 25)
|
|
1888
|
+
throw new Error("'calendarTaskId' must be at most 25 characters");
|
|
1889
|
+
return true;
|
|
1890
|
+
}
|
|
1891
|
+
},
|
|
1892
|
+
calendarId: {
|
|
1893
|
+
type: "string",
|
|
1894
|
+
required: true,
|
|
1895
|
+
validate: value => {
|
|
1896
|
+
if (typeof value === "string" && value.length < 25)
|
|
1897
|
+
throw new Error("'calendarId' must be at least 25 characters");
|
|
1898
|
+
if (typeof value === "string" && value.length > 25)
|
|
1899
|
+
throw new Error("'calendarId' must be at most 25 characters");
|
|
1900
|
+
return true;
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
resourceName: {
|
|
1904
|
+
type: "string",
|
|
1905
|
+
required: true,
|
|
1906
|
+
validate: value => {
|
|
1907
|
+
if (typeof value === "string" && value.length > 256)
|
|
1908
|
+
throw new Error("'resourceName' must be at most 256 characters");
|
|
1909
|
+
return true;
|
|
1910
|
+
}
|
|
1911
|
+
},
|
|
1912
|
+
icalUid: {
|
|
1913
|
+
type: "string",
|
|
1914
|
+
required: true,
|
|
1915
|
+
validate: value => {
|
|
1916
|
+
if (typeof value === "string" && value.length > 512)
|
|
1917
|
+
throw new Error("'icalUid' must be at most 512 characters");
|
|
1918
|
+
return true;
|
|
1919
|
+
}
|
|
1920
|
+
},
|
|
1921
|
+
icalData: {
|
|
1922
|
+
type: "string",
|
|
1923
|
+
required: true
|
|
1924
|
+
},
|
|
1925
|
+
etag: {
|
|
1926
|
+
type: "string",
|
|
1927
|
+
required: true,
|
|
1928
|
+
validate: value => {
|
|
1929
|
+
if (typeof value === "string" && value.length > 64)
|
|
1930
|
+
throw new Error("'etag' must be at most 64 characters");
|
|
1931
|
+
return true;
|
|
1932
|
+
}
|
|
1933
|
+
},
|
|
1934
|
+
summary: {
|
|
1935
|
+
type: "string",
|
|
1936
|
+
required: true,
|
|
1937
|
+
validate: value => {
|
|
1938
|
+
if (typeof value === "string" && value.length > 512)
|
|
1939
|
+
throw new Error("'summary' must be at most 512 characters");
|
|
1940
|
+
return true;
|
|
1941
|
+
}
|
|
1942
|
+
},
|
|
1943
|
+
description: {
|
|
1944
|
+
type: "string",
|
|
1945
|
+
required: true,
|
|
1946
|
+
validate: value => {
|
|
1947
|
+
if (typeof value === "string" && value.length > 2048)
|
|
1948
|
+
throw new Error("'description' must be at most 2048 characters");
|
|
1949
|
+
return true;
|
|
1950
|
+
}
|
|
1951
|
+
},
|
|
1952
|
+
due: {
|
|
1953
|
+
type: "string",
|
|
1954
|
+
required: true,
|
|
1955
|
+
validate: value => {
|
|
1956
|
+
if (typeof value === "string" && value.length > 64)
|
|
1957
|
+
throw new Error("'due' must be at most 64 characters");
|
|
1958
|
+
return true;
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
dueAt: {
|
|
1962
|
+
type: "string",
|
|
1963
|
+
required: true,
|
|
1964
|
+
validate: value => {
|
|
1965
|
+
if (typeof value === "string" && value.length > 64)
|
|
1966
|
+
throw new Error("'dueAt' must be at most 64 characters");
|
|
1967
|
+
return true;
|
|
1968
|
+
}
|
|
1969
|
+
},
|
|
1970
|
+
allDay: {
|
|
1971
|
+
type: "boolean",
|
|
1972
|
+
required: true,
|
|
1973
|
+
default: false
|
|
1974
|
+
},
|
|
1975
|
+
completed: {
|
|
1976
|
+
type: "boolean",
|
|
1977
|
+
required: true,
|
|
1978
|
+
default: false
|
|
1979
|
+
},
|
|
1980
|
+
createdAt: {
|
|
1981
|
+
type: "number",
|
|
1982
|
+
readOnly: true,
|
|
1983
|
+
required: true,
|
|
1984
|
+
default: () => Date.now(),
|
|
1985
|
+
set: () => Date.now()
|
|
1986
|
+
},
|
|
1987
|
+
updatedAt: {
|
|
1988
|
+
type: "number",
|
|
1989
|
+
watch: "*",
|
|
1990
|
+
required: true,
|
|
1991
|
+
default: () => Date.now(),
|
|
1992
|
+
set: () => Date.now()
|
|
1993
|
+
}
|
|
1994
|
+
},
|
|
1995
|
+
indexes: {
|
|
1996
|
+
byDue: {
|
|
1997
|
+
pk: {
|
|
1998
|
+
field: "gsi0pk",
|
|
1999
|
+
composite: ["calendarId"]
|
|
2000
|
+
},
|
|
2001
|
+
sk: {
|
|
2002
|
+
field: "gsi0sk",
|
|
2003
|
+
composite: ["dueAt"]
|
|
2004
|
+
},
|
|
2005
|
+
index: "gsi0"
|
|
2006
|
+
},
|
|
2007
|
+
CalendarTask: {
|
|
2008
|
+
pk: {
|
|
2009
|
+
field: "pk",
|
|
2010
|
+
composite: ["calendarId"]
|
|
2011
|
+
},
|
|
2012
|
+
sk: {
|
|
2013
|
+
field: "sk",
|
|
2014
|
+
composite: ["calendarTaskId"]
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
},
|
|
2018
|
+
model: {
|
|
2019
|
+
entity: "calendarTask",
|
|
2020
|
+
service: "remit",
|
|
2021
|
+
version: "1"
|
|
2022
|
+
}
|
|
2023
|
+
};
|
|
1879
2024
|
exports.ThreadMessage = {
|
|
1880
2025
|
attributes: {
|
|
1881
2026
|
threadMessageId: {
|
|
@@ -5143,6 +5288,111 @@ exports.RawMessageStorage = {
|
|
|
5143
5288
|
version: "1"
|
|
5144
5289
|
}
|
|
5145
5290
|
};
|
|
5291
|
+
exports.OutboxSchedulingPart = {
|
|
5292
|
+
attributes: {
|
|
5293
|
+
outboxMessageId: {
|
|
5294
|
+
type: "string",
|
|
5295
|
+
required: true,
|
|
5296
|
+
validate: value => {
|
|
5297
|
+
if (typeof value === "string" && value.length < 25)
|
|
5298
|
+
throw new Error("'outboxMessageId' must be at least 25 characters");
|
|
5299
|
+
if (typeof value === "string" && value.length > 25)
|
|
5300
|
+
throw new Error("'outboxMessageId' must be at most 25 characters");
|
|
5301
|
+
return true;
|
|
5302
|
+
}
|
|
5303
|
+
},
|
|
5304
|
+
accountConfigId: {
|
|
5305
|
+
type: "string",
|
|
5306
|
+
required: true,
|
|
5307
|
+
validate: value => {
|
|
5308
|
+
if (typeof value === "string" && value.length < 25)
|
|
5309
|
+
throw new Error("'accountConfigId' must be at least 25 characters");
|
|
5310
|
+
if (typeof value === "string" && value.length > 25)
|
|
5311
|
+
throw new Error("'accountConfigId' must be at most 25 characters");
|
|
5312
|
+
return true;
|
|
5313
|
+
}
|
|
5314
|
+
},
|
|
5315
|
+
calendarObjectId: {
|
|
5316
|
+
type: "string",
|
|
5317
|
+
required: true,
|
|
5318
|
+
validate: value => {
|
|
5319
|
+
if (typeof value === "string" && value.length < 25)
|
|
5320
|
+
throw new Error("'calendarObjectId' must be at least 25 characters");
|
|
5321
|
+
if (typeof value === "string" && value.length > 25)
|
|
5322
|
+
throw new Error("'calendarObjectId' must be at most 25 characters");
|
|
5323
|
+
return true;
|
|
5324
|
+
}
|
|
5325
|
+
},
|
|
5326
|
+
recipient: {
|
|
5327
|
+
type: "string",
|
|
5328
|
+
required: true,
|
|
5329
|
+
validate: value => {
|
|
5330
|
+
if (typeof value === "string" && value.length > 512)
|
|
5331
|
+
throw new Error("'recipient' must be at most 512 characters");
|
|
5332
|
+
return true;
|
|
5333
|
+
}
|
|
5334
|
+
},
|
|
5335
|
+
method: {
|
|
5336
|
+
type: ["Request", "Reply", "Cancel", "Counter", "Publish", "None"],
|
|
5337
|
+
required: true
|
|
5338
|
+
},
|
|
5339
|
+
sequence: {
|
|
5340
|
+
type: "number",
|
|
5341
|
+
required: true,
|
|
5342
|
+
validate: value => {
|
|
5343
|
+
if (typeof value === "number" && !Number.isInteger(value))
|
|
5344
|
+
throw new Error("'sequence' must be an integer");
|
|
5345
|
+
return true;
|
|
5346
|
+
}
|
|
5347
|
+
},
|
|
5348
|
+
icalData: {
|
|
5349
|
+
type: "string",
|
|
5350
|
+
required: true
|
|
5351
|
+
},
|
|
5352
|
+
createdAt: {
|
|
5353
|
+
type: "number",
|
|
5354
|
+
readOnly: true,
|
|
5355
|
+
required: true,
|
|
5356
|
+
default: () => Date.now(),
|
|
5357
|
+
set: () => Date.now()
|
|
5358
|
+
},
|
|
5359
|
+
updatedAt: {
|
|
5360
|
+
type: "number",
|
|
5361
|
+
watch: "*",
|
|
5362
|
+
required: true,
|
|
5363
|
+
default: () => Date.now(),
|
|
5364
|
+
set: () => Date.now()
|
|
5365
|
+
}
|
|
5366
|
+
},
|
|
5367
|
+
indexes: {
|
|
5368
|
+
byCalendarObject: {
|
|
5369
|
+
pk: {
|
|
5370
|
+
field: "gsi0pk",
|
|
5371
|
+
composite: ["accountConfigId"]
|
|
5372
|
+
},
|
|
5373
|
+
sk: {
|
|
5374
|
+
field: "gsi0sk",
|
|
5375
|
+
composite: ["calendarObjectId"]
|
|
5376
|
+
},
|
|
5377
|
+
index: "gsi0"
|
|
5378
|
+
},
|
|
5379
|
+
OutboxSchedulingPart: {
|
|
5380
|
+
pk: {
|
|
5381
|
+
field: "pk",
|
|
5382
|
+
composite: ["outboxMessageId"]
|
|
5383
|
+
},
|
|
5384
|
+
sk: {
|
|
5385
|
+
field: "sk",
|
|
5386
|
+
composite: []
|
|
5387
|
+
}
|
|
5388
|
+
}
|
|
5389
|
+
},
|
|
5390
|
+
model: {
|
|
5391
|
+
entity: "outboxSchedulingPart",
|
|
5392
|
+
service: "remit",
|
|
5393
|
+
version: "1"
|
|
5394
|
+
}
|
|
5395
|
+
};
|
|
5146
5396
|
exports.CalendarEventIndex = {
|
|
5147
5397
|
attributes: {
|
|
5148
5398
|
calendarId: {
|
package/index.d.cts
CHANGED
|
@@ -1170,7 +1170,7 @@ export declare const CalendarCollection: {
|
|
|
1170
1170
|
readonly default: "Cal1";
|
|
1171
1171
|
};
|
|
1172
1172
|
readonly componentSet: {
|
|
1173
|
-
readonly type: readonly ["VeventOnly"];
|
|
1173
|
+
readonly type: readonly ["VeventOnly", "VtodoOnly"];
|
|
1174
1174
|
readonly required: true;
|
|
1175
1175
|
readonly default: "VeventOnly";
|
|
1176
1176
|
};
|
|
@@ -1408,6 +1408,111 @@ export declare const CalendarObject: {
|
|
|
1408
1408
|
readonly version: "1";
|
|
1409
1409
|
};
|
|
1410
1410
|
};
|
|
1411
|
+
export declare const CalendarTask: {
|
|
1412
|
+
readonly attributes: {
|
|
1413
|
+
readonly calendarTaskId: {
|
|
1414
|
+
readonly type: "string";
|
|
1415
|
+
readonly required: true;
|
|
1416
|
+
readonly validate: (value: unknown) => boolean;
|
|
1417
|
+
};
|
|
1418
|
+
readonly calendarId: {
|
|
1419
|
+
readonly type: "string";
|
|
1420
|
+
readonly required: true;
|
|
1421
|
+
readonly validate: (value: unknown) => boolean;
|
|
1422
|
+
};
|
|
1423
|
+
readonly resourceName: {
|
|
1424
|
+
readonly type: "string";
|
|
1425
|
+
readonly required: true;
|
|
1426
|
+
readonly validate: (value: unknown) => boolean;
|
|
1427
|
+
};
|
|
1428
|
+
readonly icalUid: {
|
|
1429
|
+
readonly type: "string";
|
|
1430
|
+
readonly required: true;
|
|
1431
|
+
readonly validate: (value: unknown) => boolean;
|
|
1432
|
+
};
|
|
1433
|
+
readonly icalData: {
|
|
1434
|
+
readonly type: "string";
|
|
1435
|
+
readonly required: true;
|
|
1436
|
+
};
|
|
1437
|
+
readonly etag: {
|
|
1438
|
+
readonly type: "string";
|
|
1439
|
+
readonly required: true;
|
|
1440
|
+
readonly validate: (value: unknown) => boolean;
|
|
1441
|
+
};
|
|
1442
|
+
readonly summary: {
|
|
1443
|
+
readonly type: "string";
|
|
1444
|
+
readonly required: true;
|
|
1445
|
+
readonly validate: (value: unknown) => boolean;
|
|
1446
|
+
};
|
|
1447
|
+
readonly description: {
|
|
1448
|
+
readonly type: "string";
|
|
1449
|
+
readonly required: true;
|
|
1450
|
+
readonly validate: (value: unknown) => boolean;
|
|
1451
|
+
};
|
|
1452
|
+
readonly due: {
|
|
1453
|
+
readonly type: "string";
|
|
1454
|
+
readonly required: true;
|
|
1455
|
+
readonly validate: (value: unknown) => boolean;
|
|
1456
|
+
};
|
|
1457
|
+
readonly dueAt: {
|
|
1458
|
+
readonly type: "string";
|
|
1459
|
+
readonly required: true;
|
|
1460
|
+
readonly validate: (value: unknown) => boolean;
|
|
1461
|
+
};
|
|
1462
|
+
readonly allDay: {
|
|
1463
|
+
readonly type: "boolean";
|
|
1464
|
+
readonly required: true;
|
|
1465
|
+
readonly default: false;
|
|
1466
|
+
};
|
|
1467
|
+
readonly completed: {
|
|
1468
|
+
readonly type: "boolean";
|
|
1469
|
+
readonly required: true;
|
|
1470
|
+
readonly default: false;
|
|
1471
|
+
};
|
|
1472
|
+
readonly createdAt: {
|
|
1473
|
+
readonly type: "number";
|
|
1474
|
+
readonly readOnly: true;
|
|
1475
|
+
readonly required: true;
|
|
1476
|
+
readonly default: () => any;
|
|
1477
|
+
readonly set: () => any;
|
|
1478
|
+
};
|
|
1479
|
+
readonly updatedAt: {
|
|
1480
|
+
readonly type: "number";
|
|
1481
|
+
readonly watch: "*";
|
|
1482
|
+
readonly required: true;
|
|
1483
|
+
readonly default: () => any;
|
|
1484
|
+
readonly set: () => any;
|
|
1485
|
+
};
|
|
1486
|
+
};
|
|
1487
|
+
readonly indexes: {
|
|
1488
|
+
readonly byDue: {
|
|
1489
|
+
readonly pk: {
|
|
1490
|
+
readonly field: "gsi0pk";
|
|
1491
|
+
readonly composite: readonly ["calendarId"];
|
|
1492
|
+
};
|
|
1493
|
+
readonly sk: {
|
|
1494
|
+
readonly field: "gsi0sk";
|
|
1495
|
+
readonly composite: readonly ["dueAt"];
|
|
1496
|
+
};
|
|
1497
|
+
readonly index: "gsi0";
|
|
1498
|
+
};
|
|
1499
|
+
readonly CalendarTask: {
|
|
1500
|
+
readonly pk: {
|
|
1501
|
+
readonly field: "pk";
|
|
1502
|
+
readonly composite: readonly ["calendarId"];
|
|
1503
|
+
};
|
|
1504
|
+
readonly sk: {
|
|
1505
|
+
readonly field: "sk";
|
|
1506
|
+
readonly composite: readonly ["calendarTaskId"];
|
|
1507
|
+
};
|
|
1508
|
+
};
|
|
1509
|
+
};
|
|
1510
|
+
readonly model: {
|
|
1511
|
+
readonly entity: "calendarTask";
|
|
1512
|
+
readonly service: "remit";
|
|
1513
|
+
readonly version: "1";
|
|
1514
|
+
};
|
|
1515
|
+
};
|
|
1411
1516
|
export declare const ThreadMessage: {
|
|
1412
1517
|
readonly attributes: {
|
|
1413
1518
|
readonly threadMessageId: {
|
|
@@ -4019,6 +4124,85 @@ export declare const RawMessageStorage: {
|
|
|
4019
4124
|
readonly version: "1";
|
|
4020
4125
|
};
|
|
4021
4126
|
};
|
|
4127
|
+
export declare const OutboxSchedulingPart: {
|
|
4128
|
+
readonly attributes: {
|
|
4129
|
+
readonly outboxMessageId: {
|
|
4130
|
+
readonly type: "string";
|
|
4131
|
+
readonly required: true;
|
|
4132
|
+
readonly validate: (value: unknown) => boolean;
|
|
4133
|
+
};
|
|
4134
|
+
readonly accountConfigId: {
|
|
4135
|
+
readonly type: "string";
|
|
4136
|
+
readonly required: true;
|
|
4137
|
+
readonly validate: (value: unknown) => boolean;
|
|
4138
|
+
};
|
|
4139
|
+
readonly calendarObjectId: {
|
|
4140
|
+
readonly type: "string";
|
|
4141
|
+
readonly required: true;
|
|
4142
|
+
readonly validate: (value: unknown) => boolean;
|
|
4143
|
+
};
|
|
4144
|
+
readonly recipient: {
|
|
4145
|
+
readonly type: "string";
|
|
4146
|
+
readonly required: true;
|
|
4147
|
+
readonly validate: (value: unknown) => boolean;
|
|
4148
|
+
};
|
|
4149
|
+
readonly method: {
|
|
4150
|
+
readonly type: readonly ["Request", "Reply", "Cancel", "Counter", "Publish", "None"];
|
|
4151
|
+
readonly required: true;
|
|
4152
|
+
};
|
|
4153
|
+
readonly sequence: {
|
|
4154
|
+
readonly type: "number";
|
|
4155
|
+
readonly required: true;
|
|
4156
|
+
readonly validate: (value: unknown) => boolean;
|
|
4157
|
+
};
|
|
4158
|
+
readonly icalData: {
|
|
4159
|
+
readonly type: "string";
|
|
4160
|
+
readonly required: true;
|
|
4161
|
+
};
|
|
4162
|
+
readonly createdAt: {
|
|
4163
|
+
readonly type: "number";
|
|
4164
|
+
readonly readOnly: true;
|
|
4165
|
+
readonly required: true;
|
|
4166
|
+
readonly default: () => any;
|
|
4167
|
+
readonly set: () => any;
|
|
4168
|
+
};
|
|
4169
|
+
readonly updatedAt: {
|
|
4170
|
+
readonly type: "number";
|
|
4171
|
+
readonly watch: "*";
|
|
4172
|
+
readonly required: true;
|
|
4173
|
+
readonly default: () => any;
|
|
4174
|
+
readonly set: () => any;
|
|
4175
|
+
};
|
|
4176
|
+
};
|
|
4177
|
+
readonly indexes: {
|
|
4178
|
+
readonly byCalendarObject: {
|
|
4179
|
+
readonly pk: {
|
|
4180
|
+
readonly field: "gsi0pk";
|
|
4181
|
+
readonly composite: readonly ["accountConfigId"];
|
|
4182
|
+
};
|
|
4183
|
+
readonly sk: {
|
|
4184
|
+
readonly field: "gsi0sk";
|
|
4185
|
+
readonly composite: readonly ["calendarObjectId"];
|
|
4186
|
+
};
|
|
4187
|
+
readonly index: "gsi0";
|
|
4188
|
+
};
|
|
4189
|
+
readonly OutboxSchedulingPart: {
|
|
4190
|
+
readonly pk: {
|
|
4191
|
+
readonly field: "pk";
|
|
4192
|
+
readonly composite: readonly ["outboxMessageId"];
|
|
4193
|
+
};
|
|
4194
|
+
readonly sk: {
|
|
4195
|
+
readonly field: "sk";
|
|
4196
|
+
readonly composite: readonly [];
|
|
4197
|
+
};
|
|
4198
|
+
};
|
|
4199
|
+
};
|
|
4200
|
+
readonly model: {
|
|
4201
|
+
readonly entity: "outboxSchedulingPart";
|
|
4202
|
+
readonly service: "remit";
|
|
4203
|
+
readonly version: "1";
|
|
4204
|
+
};
|
|
4205
|
+
};
|
|
4022
4206
|
export declare const CalendarEventIndex: {
|
|
4023
4207
|
readonly attributes: {
|
|
4024
4208
|
readonly calendarId: {
|
package/index.d.mts
CHANGED
|
@@ -1170,7 +1170,7 @@ export declare const CalendarCollection: {
|
|
|
1170
1170
|
readonly default: "Cal1";
|
|
1171
1171
|
};
|
|
1172
1172
|
readonly componentSet: {
|
|
1173
|
-
readonly type: readonly ["VeventOnly"];
|
|
1173
|
+
readonly type: readonly ["VeventOnly", "VtodoOnly"];
|
|
1174
1174
|
readonly required: true;
|
|
1175
1175
|
readonly default: "VeventOnly";
|
|
1176
1176
|
};
|
|
@@ -1408,6 +1408,111 @@ export declare const CalendarObject: {
|
|
|
1408
1408
|
readonly version: "1";
|
|
1409
1409
|
};
|
|
1410
1410
|
};
|
|
1411
|
+
export declare const CalendarTask: {
|
|
1412
|
+
readonly attributes: {
|
|
1413
|
+
readonly calendarTaskId: {
|
|
1414
|
+
readonly type: "string";
|
|
1415
|
+
readonly required: true;
|
|
1416
|
+
readonly validate: (value: unknown) => boolean;
|
|
1417
|
+
};
|
|
1418
|
+
readonly calendarId: {
|
|
1419
|
+
readonly type: "string";
|
|
1420
|
+
readonly required: true;
|
|
1421
|
+
readonly validate: (value: unknown) => boolean;
|
|
1422
|
+
};
|
|
1423
|
+
readonly resourceName: {
|
|
1424
|
+
readonly type: "string";
|
|
1425
|
+
readonly required: true;
|
|
1426
|
+
readonly validate: (value: unknown) => boolean;
|
|
1427
|
+
};
|
|
1428
|
+
readonly icalUid: {
|
|
1429
|
+
readonly type: "string";
|
|
1430
|
+
readonly required: true;
|
|
1431
|
+
readonly validate: (value: unknown) => boolean;
|
|
1432
|
+
};
|
|
1433
|
+
readonly icalData: {
|
|
1434
|
+
readonly type: "string";
|
|
1435
|
+
readonly required: true;
|
|
1436
|
+
};
|
|
1437
|
+
readonly etag: {
|
|
1438
|
+
readonly type: "string";
|
|
1439
|
+
readonly required: true;
|
|
1440
|
+
readonly validate: (value: unknown) => boolean;
|
|
1441
|
+
};
|
|
1442
|
+
readonly summary: {
|
|
1443
|
+
readonly type: "string";
|
|
1444
|
+
readonly required: true;
|
|
1445
|
+
readonly validate: (value: unknown) => boolean;
|
|
1446
|
+
};
|
|
1447
|
+
readonly description: {
|
|
1448
|
+
readonly type: "string";
|
|
1449
|
+
readonly required: true;
|
|
1450
|
+
readonly validate: (value: unknown) => boolean;
|
|
1451
|
+
};
|
|
1452
|
+
readonly due: {
|
|
1453
|
+
readonly type: "string";
|
|
1454
|
+
readonly required: true;
|
|
1455
|
+
readonly validate: (value: unknown) => boolean;
|
|
1456
|
+
};
|
|
1457
|
+
readonly dueAt: {
|
|
1458
|
+
readonly type: "string";
|
|
1459
|
+
readonly required: true;
|
|
1460
|
+
readonly validate: (value: unknown) => boolean;
|
|
1461
|
+
};
|
|
1462
|
+
readonly allDay: {
|
|
1463
|
+
readonly type: "boolean";
|
|
1464
|
+
readonly required: true;
|
|
1465
|
+
readonly default: false;
|
|
1466
|
+
};
|
|
1467
|
+
readonly completed: {
|
|
1468
|
+
readonly type: "boolean";
|
|
1469
|
+
readonly required: true;
|
|
1470
|
+
readonly default: false;
|
|
1471
|
+
};
|
|
1472
|
+
readonly createdAt: {
|
|
1473
|
+
readonly type: "number";
|
|
1474
|
+
readonly readOnly: true;
|
|
1475
|
+
readonly required: true;
|
|
1476
|
+
readonly default: () => any;
|
|
1477
|
+
readonly set: () => any;
|
|
1478
|
+
};
|
|
1479
|
+
readonly updatedAt: {
|
|
1480
|
+
readonly type: "number";
|
|
1481
|
+
readonly watch: "*";
|
|
1482
|
+
readonly required: true;
|
|
1483
|
+
readonly default: () => any;
|
|
1484
|
+
readonly set: () => any;
|
|
1485
|
+
};
|
|
1486
|
+
};
|
|
1487
|
+
readonly indexes: {
|
|
1488
|
+
readonly byDue: {
|
|
1489
|
+
readonly pk: {
|
|
1490
|
+
readonly field: "gsi0pk";
|
|
1491
|
+
readonly composite: readonly ["calendarId"];
|
|
1492
|
+
};
|
|
1493
|
+
readonly sk: {
|
|
1494
|
+
readonly field: "gsi0sk";
|
|
1495
|
+
readonly composite: readonly ["dueAt"];
|
|
1496
|
+
};
|
|
1497
|
+
readonly index: "gsi0";
|
|
1498
|
+
};
|
|
1499
|
+
readonly CalendarTask: {
|
|
1500
|
+
readonly pk: {
|
|
1501
|
+
readonly field: "pk";
|
|
1502
|
+
readonly composite: readonly ["calendarId"];
|
|
1503
|
+
};
|
|
1504
|
+
readonly sk: {
|
|
1505
|
+
readonly field: "sk";
|
|
1506
|
+
readonly composite: readonly ["calendarTaskId"];
|
|
1507
|
+
};
|
|
1508
|
+
};
|
|
1509
|
+
};
|
|
1510
|
+
readonly model: {
|
|
1511
|
+
readonly entity: "calendarTask";
|
|
1512
|
+
readonly service: "remit";
|
|
1513
|
+
readonly version: "1";
|
|
1514
|
+
};
|
|
1515
|
+
};
|
|
1411
1516
|
export declare const ThreadMessage: {
|
|
1412
1517
|
readonly attributes: {
|
|
1413
1518
|
readonly threadMessageId: {
|
|
@@ -4019,6 +4124,85 @@ export declare const RawMessageStorage: {
|
|
|
4019
4124
|
readonly version: "1";
|
|
4020
4125
|
};
|
|
4021
4126
|
};
|
|
4127
|
+
export declare const OutboxSchedulingPart: {
|
|
4128
|
+
readonly attributes: {
|
|
4129
|
+
readonly outboxMessageId: {
|
|
4130
|
+
readonly type: "string";
|
|
4131
|
+
readonly required: true;
|
|
4132
|
+
readonly validate: (value: unknown) => boolean;
|
|
4133
|
+
};
|
|
4134
|
+
readonly accountConfigId: {
|
|
4135
|
+
readonly type: "string";
|
|
4136
|
+
readonly required: true;
|
|
4137
|
+
readonly validate: (value: unknown) => boolean;
|
|
4138
|
+
};
|
|
4139
|
+
readonly calendarObjectId: {
|
|
4140
|
+
readonly type: "string";
|
|
4141
|
+
readonly required: true;
|
|
4142
|
+
readonly validate: (value: unknown) => boolean;
|
|
4143
|
+
};
|
|
4144
|
+
readonly recipient: {
|
|
4145
|
+
readonly type: "string";
|
|
4146
|
+
readonly required: true;
|
|
4147
|
+
readonly validate: (value: unknown) => boolean;
|
|
4148
|
+
};
|
|
4149
|
+
readonly method: {
|
|
4150
|
+
readonly type: readonly ["Request", "Reply", "Cancel", "Counter", "Publish", "None"];
|
|
4151
|
+
readonly required: true;
|
|
4152
|
+
};
|
|
4153
|
+
readonly sequence: {
|
|
4154
|
+
readonly type: "number";
|
|
4155
|
+
readonly required: true;
|
|
4156
|
+
readonly validate: (value: unknown) => boolean;
|
|
4157
|
+
};
|
|
4158
|
+
readonly icalData: {
|
|
4159
|
+
readonly type: "string";
|
|
4160
|
+
readonly required: true;
|
|
4161
|
+
};
|
|
4162
|
+
readonly createdAt: {
|
|
4163
|
+
readonly type: "number";
|
|
4164
|
+
readonly readOnly: true;
|
|
4165
|
+
readonly required: true;
|
|
4166
|
+
readonly default: () => any;
|
|
4167
|
+
readonly set: () => any;
|
|
4168
|
+
};
|
|
4169
|
+
readonly updatedAt: {
|
|
4170
|
+
readonly type: "number";
|
|
4171
|
+
readonly watch: "*";
|
|
4172
|
+
readonly required: true;
|
|
4173
|
+
readonly default: () => any;
|
|
4174
|
+
readonly set: () => any;
|
|
4175
|
+
};
|
|
4176
|
+
};
|
|
4177
|
+
readonly indexes: {
|
|
4178
|
+
readonly byCalendarObject: {
|
|
4179
|
+
readonly pk: {
|
|
4180
|
+
readonly field: "gsi0pk";
|
|
4181
|
+
readonly composite: readonly ["accountConfigId"];
|
|
4182
|
+
};
|
|
4183
|
+
readonly sk: {
|
|
4184
|
+
readonly field: "gsi0sk";
|
|
4185
|
+
readonly composite: readonly ["calendarObjectId"];
|
|
4186
|
+
};
|
|
4187
|
+
readonly index: "gsi0";
|
|
4188
|
+
};
|
|
4189
|
+
readonly OutboxSchedulingPart: {
|
|
4190
|
+
readonly pk: {
|
|
4191
|
+
readonly field: "pk";
|
|
4192
|
+
readonly composite: readonly ["outboxMessageId"];
|
|
4193
|
+
};
|
|
4194
|
+
readonly sk: {
|
|
4195
|
+
readonly field: "sk";
|
|
4196
|
+
readonly composite: readonly [];
|
|
4197
|
+
};
|
|
4198
|
+
};
|
|
4199
|
+
};
|
|
4200
|
+
readonly model: {
|
|
4201
|
+
readonly entity: "outboxSchedulingPart";
|
|
4202
|
+
readonly service: "remit";
|
|
4203
|
+
readonly version: "1";
|
|
4204
|
+
};
|
|
4205
|
+
};
|
|
4022
4206
|
export declare const CalendarEventIndex: {
|
|
4023
4207
|
readonly attributes: {
|
|
4024
4208
|
readonly calendarId: {
|
package/index.d.ts
CHANGED
|
@@ -1170,7 +1170,7 @@ export declare const CalendarCollection: {
|
|
|
1170
1170
|
readonly default: "Cal1";
|
|
1171
1171
|
};
|
|
1172
1172
|
readonly componentSet: {
|
|
1173
|
-
readonly type: readonly ["VeventOnly"];
|
|
1173
|
+
readonly type: readonly ["VeventOnly", "VtodoOnly"];
|
|
1174
1174
|
readonly required: true;
|
|
1175
1175
|
readonly default: "VeventOnly";
|
|
1176
1176
|
};
|
|
@@ -1408,6 +1408,111 @@ export declare const CalendarObject: {
|
|
|
1408
1408
|
readonly version: "1";
|
|
1409
1409
|
};
|
|
1410
1410
|
};
|
|
1411
|
+
export declare const CalendarTask: {
|
|
1412
|
+
readonly attributes: {
|
|
1413
|
+
readonly calendarTaskId: {
|
|
1414
|
+
readonly type: "string";
|
|
1415
|
+
readonly required: true;
|
|
1416
|
+
readonly validate: (value: unknown) => boolean;
|
|
1417
|
+
};
|
|
1418
|
+
readonly calendarId: {
|
|
1419
|
+
readonly type: "string";
|
|
1420
|
+
readonly required: true;
|
|
1421
|
+
readonly validate: (value: unknown) => boolean;
|
|
1422
|
+
};
|
|
1423
|
+
readonly resourceName: {
|
|
1424
|
+
readonly type: "string";
|
|
1425
|
+
readonly required: true;
|
|
1426
|
+
readonly validate: (value: unknown) => boolean;
|
|
1427
|
+
};
|
|
1428
|
+
readonly icalUid: {
|
|
1429
|
+
readonly type: "string";
|
|
1430
|
+
readonly required: true;
|
|
1431
|
+
readonly validate: (value: unknown) => boolean;
|
|
1432
|
+
};
|
|
1433
|
+
readonly icalData: {
|
|
1434
|
+
readonly type: "string";
|
|
1435
|
+
readonly required: true;
|
|
1436
|
+
};
|
|
1437
|
+
readonly etag: {
|
|
1438
|
+
readonly type: "string";
|
|
1439
|
+
readonly required: true;
|
|
1440
|
+
readonly validate: (value: unknown) => boolean;
|
|
1441
|
+
};
|
|
1442
|
+
readonly summary: {
|
|
1443
|
+
readonly type: "string";
|
|
1444
|
+
readonly required: true;
|
|
1445
|
+
readonly validate: (value: unknown) => boolean;
|
|
1446
|
+
};
|
|
1447
|
+
readonly description: {
|
|
1448
|
+
readonly type: "string";
|
|
1449
|
+
readonly required: true;
|
|
1450
|
+
readonly validate: (value: unknown) => boolean;
|
|
1451
|
+
};
|
|
1452
|
+
readonly due: {
|
|
1453
|
+
readonly type: "string";
|
|
1454
|
+
readonly required: true;
|
|
1455
|
+
readonly validate: (value: unknown) => boolean;
|
|
1456
|
+
};
|
|
1457
|
+
readonly dueAt: {
|
|
1458
|
+
readonly type: "string";
|
|
1459
|
+
readonly required: true;
|
|
1460
|
+
readonly validate: (value: unknown) => boolean;
|
|
1461
|
+
};
|
|
1462
|
+
readonly allDay: {
|
|
1463
|
+
readonly type: "boolean";
|
|
1464
|
+
readonly required: true;
|
|
1465
|
+
readonly default: false;
|
|
1466
|
+
};
|
|
1467
|
+
readonly completed: {
|
|
1468
|
+
readonly type: "boolean";
|
|
1469
|
+
readonly required: true;
|
|
1470
|
+
readonly default: false;
|
|
1471
|
+
};
|
|
1472
|
+
readonly createdAt: {
|
|
1473
|
+
readonly type: "number";
|
|
1474
|
+
readonly readOnly: true;
|
|
1475
|
+
readonly required: true;
|
|
1476
|
+
readonly default: () => any;
|
|
1477
|
+
readonly set: () => any;
|
|
1478
|
+
};
|
|
1479
|
+
readonly updatedAt: {
|
|
1480
|
+
readonly type: "number";
|
|
1481
|
+
readonly watch: "*";
|
|
1482
|
+
readonly required: true;
|
|
1483
|
+
readonly default: () => any;
|
|
1484
|
+
readonly set: () => any;
|
|
1485
|
+
};
|
|
1486
|
+
};
|
|
1487
|
+
readonly indexes: {
|
|
1488
|
+
readonly byDue: {
|
|
1489
|
+
readonly pk: {
|
|
1490
|
+
readonly field: "gsi0pk";
|
|
1491
|
+
readonly composite: readonly ["calendarId"];
|
|
1492
|
+
};
|
|
1493
|
+
readonly sk: {
|
|
1494
|
+
readonly field: "gsi0sk";
|
|
1495
|
+
readonly composite: readonly ["dueAt"];
|
|
1496
|
+
};
|
|
1497
|
+
readonly index: "gsi0";
|
|
1498
|
+
};
|
|
1499
|
+
readonly CalendarTask: {
|
|
1500
|
+
readonly pk: {
|
|
1501
|
+
readonly field: "pk";
|
|
1502
|
+
readonly composite: readonly ["calendarId"];
|
|
1503
|
+
};
|
|
1504
|
+
readonly sk: {
|
|
1505
|
+
readonly field: "sk";
|
|
1506
|
+
readonly composite: readonly ["calendarTaskId"];
|
|
1507
|
+
};
|
|
1508
|
+
};
|
|
1509
|
+
};
|
|
1510
|
+
readonly model: {
|
|
1511
|
+
readonly entity: "calendarTask";
|
|
1512
|
+
readonly service: "remit";
|
|
1513
|
+
readonly version: "1";
|
|
1514
|
+
};
|
|
1515
|
+
};
|
|
1411
1516
|
export declare const ThreadMessage: {
|
|
1412
1517
|
readonly attributes: {
|
|
1413
1518
|
readonly threadMessageId: {
|
|
@@ -4019,6 +4124,85 @@ export declare const RawMessageStorage: {
|
|
|
4019
4124
|
readonly version: "1";
|
|
4020
4125
|
};
|
|
4021
4126
|
};
|
|
4127
|
+
export declare const OutboxSchedulingPart: {
|
|
4128
|
+
readonly attributes: {
|
|
4129
|
+
readonly outboxMessageId: {
|
|
4130
|
+
readonly type: "string";
|
|
4131
|
+
readonly required: true;
|
|
4132
|
+
readonly validate: (value: unknown) => boolean;
|
|
4133
|
+
};
|
|
4134
|
+
readonly accountConfigId: {
|
|
4135
|
+
readonly type: "string";
|
|
4136
|
+
readonly required: true;
|
|
4137
|
+
readonly validate: (value: unknown) => boolean;
|
|
4138
|
+
};
|
|
4139
|
+
readonly calendarObjectId: {
|
|
4140
|
+
readonly type: "string";
|
|
4141
|
+
readonly required: true;
|
|
4142
|
+
readonly validate: (value: unknown) => boolean;
|
|
4143
|
+
};
|
|
4144
|
+
readonly recipient: {
|
|
4145
|
+
readonly type: "string";
|
|
4146
|
+
readonly required: true;
|
|
4147
|
+
readonly validate: (value: unknown) => boolean;
|
|
4148
|
+
};
|
|
4149
|
+
readonly method: {
|
|
4150
|
+
readonly type: readonly ["Request", "Reply", "Cancel", "Counter", "Publish", "None"];
|
|
4151
|
+
readonly required: true;
|
|
4152
|
+
};
|
|
4153
|
+
readonly sequence: {
|
|
4154
|
+
readonly type: "number";
|
|
4155
|
+
readonly required: true;
|
|
4156
|
+
readonly validate: (value: unknown) => boolean;
|
|
4157
|
+
};
|
|
4158
|
+
readonly icalData: {
|
|
4159
|
+
readonly type: "string";
|
|
4160
|
+
readonly required: true;
|
|
4161
|
+
};
|
|
4162
|
+
readonly createdAt: {
|
|
4163
|
+
readonly type: "number";
|
|
4164
|
+
readonly readOnly: true;
|
|
4165
|
+
readonly required: true;
|
|
4166
|
+
readonly default: () => any;
|
|
4167
|
+
readonly set: () => any;
|
|
4168
|
+
};
|
|
4169
|
+
readonly updatedAt: {
|
|
4170
|
+
readonly type: "number";
|
|
4171
|
+
readonly watch: "*";
|
|
4172
|
+
readonly required: true;
|
|
4173
|
+
readonly default: () => any;
|
|
4174
|
+
readonly set: () => any;
|
|
4175
|
+
};
|
|
4176
|
+
};
|
|
4177
|
+
readonly indexes: {
|
|
4178
|
+
readonly byCalendarObject: {
|
|
4179
|
+
readonly pk: {
|
|
4180
|
+
readonly field: "gsi0pk";
|
|
4181
|
+
readonly composite: readonly ["accountConfigId"];
|
|
4182
|
+
};
|
|
4183
|
+
readonly sk: {
|
|
4184
|
+
readonly field: "gsi0sk";
|
|
4185
|
+
readonly composite: readonly ["calendarObjectId"];
|
|
4186
|
+
};
|
|
4187
|
+
readonly index: "gsi0";
|
|
4188
|
+
};
|
|
4189
|
+
readonly OutboxSchedulingPart: {
|
|
4190
|
+
readonly pk: {
|
|
4191
|
+
readonly field: "pk";
|
|
4192
|
+
readonly composite: readonly ["outboxMessageId"];
|
|
4193
|
+
};
|
|
4194
|
+
readonly sk: {
|
|
4195
|
+
readonly field: "sk";
|
|
4196
|
+
readonly composite: readonly [];
|
|
4197
|
+
};
|
|
4198
|
+
};
|
|
4199
|
+
};
|
|
4200
|
+
readonly model: {
|
|
4201
|
+
readonly entity: "outboxSchedulingPart";
|
|
4202
|
+
readonly service: "remit";
|
|
4203
|
+
readonly version: "1";
|
|
4204
|
+
};
|
|
4205
|
+
};
|
|
4022
4206
|
export declare const CalendarEventIndex: {
|
|
4023
4207
|
readonly attributes: {
|
|
4024
4208
|
readonly calendarId: {
|
package/index.mjs
CHANGED
|
@@ -1563,7 +1563,7 @@ export const CalendarCollection = {
|
|
|
1563
1563
|
default: "Cal1"
|
|
1564
1564
|
},
|
|
1565
1565
|
componentSet: {
|
|
1566
|
-
type: ["VeventOnly"],
|
|
1566
|
+
type: ["VeventOnly", "VtodoOnly"],
|
|
1567
1567
|
required: true,
|
|
1568
1568
|
default: "VeventOnly"
|
|
1569
1569
|
},
|
|
@@ -1873,6 +1873,151 @@ export const CalendarObject = {
|
|
|
1873
1873
|
version: "1"
|
|
1874
1874
|
}
|
|
1875
1875
|
};
|
|
1876
|
+
export const CalendarTask = {
|
|
1877
|
+
attributes: {
|
|
1878
|
+
calendarTaskId: {
|
|
1879
|
+
type: "string",
|
|
1880
|
+
required: true,
|
|
1881
|
+
validate: value => {
|
|
1882
|
+
if (typeof value === "string" && value.length < 25)
|
|
1883
|
+
throw new Error("'calendarTaskId' must be at least 25 characters");
|
|
1884
|
+
if (typeof value === "string" && value.length > 25)
|
|
1885
|
+
throw new Error("'calendarTaskId' must be at most 25 characters");
|
|
1886
|
+
return true;
|
|
1887
|
+
}
|
|
1888
|
+
},
|
|
1889
|
+
calendarId: {
|
|
1890
|
+
type: "string",
|
|
1891
|
+
required: true,
|
|
1892
|
+
validate: value => {
|
|
1893
|
+
if (typeof value === "string" && value.length < 25)
|
|
1894
|
+
throw new Error("'calendarId' must be at least 25 characters");
|
|
1895
|
+
if (typeof value === "string" && value.length > 25)
|
|
1896
|
+
throw new Error("'calendarId' must be at most 25 characters");
|
|
1897
|
+
return true;
|
|
1898
|
+
}
|
|
1899
|
+
},
|
|
1900
|
+
resourceName: {
|
|
1901
|
+
type: "string",
|
|
1902
|
+
required: true,
|
|
1903
|
+
validate: value => {
|
|
1904
|
+
if (typeof value === "string" && value.length > 256)
|
|
1905
|
+
throw new Error("'resourceName' must be at most 256 characters");
|
|
1906
|
+
return true;
|
|
1907
|
+
}
|
|
1908
|
+
},
|
|
1909
|
+
icalUid: {
|
|
1910
|
+
type: "string",
|
|
1911
|
+
required: true,
|
|
1912
|
+
validate: value => {
|
|
1913
|
+
if (typeof value === "string" && value.length > 512)
|
|
1914
|
+
throw new Error("'icalUid' must be at most 512 characters");
|
|
1915
|
+
return true;
|
|
1916
|
+
}
|
|
1917
|
+
},
|
|
1918
|
+
icalData: {
|
|
1919
|
+
type: "string",
|
|
1920
|
+
required: true
|
|
1921
|
+
},
|
|
1922
|
+
etag: {
|
|
1923
|
+
type: "string",
|
|
1924
|
+
required: true,
|
|
1925
|
+
validate: value => {
|
|
1926
|
+
if (typeof value === "string" && value.length > 64)
|
|
1927
|
+
throw new Error("'etag' must be at most 64 characters");
|
|
1928
|
+
return true;
|
|
1929
|
+
}
|
|
1930
|
+
},
|
|
1931
|
+
summary: {
|
|
1932
|
+
type: "string",
|
|
1933
|
+
required: true,
|
|
1934
|
+
validate: value => {
|
|
1935
|
+
if (typeof value === "string" && value.length > 512)
|
|
1936
|
+
throw new Error("'summary' must be at most 512 characters");
|
|
1937
|
+
return true;
|
|
1938
|
+
}
|
|
1939
|
+
},
|
|
1940
|
+
description: {
|
|
1941
|
+
type: "string",
|
|
1942
|
+
required: true,
|
|
1943
|
+
validate: value => {
|
|
1944
|
+
if (typeof value === "string" && value.length > 2048)
|
|
1945
|
+
throw new Error("'description' must be at most 2048 characters");
|
|
1946
|
+
return true;
|
|
1947
|
+
}
|
|
1948
|
+
},
|
|
1949
|
+
due: {
|
|
1950
|
+
type: "string",
|
|
1951
|
+
required: true,
|
|
1952
|
+
validate: value => {
|
|
1953
|
+
if (typeof value === "string" && value.length > 64)
|
|
1954
|
+
throw new Error("'due' must be at most 64 characters");
|
|
1955
|
+
return true;
|
|
1956
|
+
}
|
|
1957
|
+
},
|
|
1958
|
+
dueAt: {
|
|
1959
|
+
type: "string",
|
|
1960
|
+
required: true,
|
|
1961
|
+
validate: value => {
|
|
1962
|
+
if (typeof value === "string" && value.length > 64)
|
|
1963
|
+
throw new Error("'dueAt' must be at most 64 characters");
|
|
1964
|
+
return true;
|
|
1965
|
+
}
|
|
1966
|
+
},
|
|
1967
|
+
allDay: {
|
|
1968
|
+
type: "boolean",
|
|
1969
|
+
required: true,
|
|
1970
|
+
default: false
|
|
1971
|
+
},
|
|
1972
|
+
completed: {
|
|
1973
|
+
type: "boolean",
|
|
1974
|
+
required: true,
|
|
1975
|
+
default: false
|
|
1976
|
+
},
|
|
1977
|
+
createdAt: {
|
|
1978
|
+
type: "number",
|
|
1979
|
+
readOnly: true,
|
|
1980
|
+
required: true,
|
|
1981
|
+
default: () => Date.now(),
|
|
1982
|
+
set: () => Date.now()
|
|
1983
|
+
},
|
|
1984
|
+
updatedAt: {
|
|
1985
|
+
type: "number",
|
|
1986
|
+
watch: "*",
|
|
1987
|
+
required: true,
|
|
1988
|
+
default: () => Date.now(),
|
|
1989
|
+
set: () => Date.now()
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1992
|
+
indexes: {
|
|
1993
|
+
byDue: {
|
|
1994
|
+
pk: {
|
|
1995
|
+
field: "gsi0pk",
|
|
1996
|
+
composite: ["calendarId"]
|
|
1997
|
+
},
|
|
1998
|
+
sk: {
|
|
1999
|
+
field: "gsi0sk",
|
|
2000
|
+
composite: ["dueAt"]
|
|
2001
|
+
},
|
|
2002
|
+
index: "gsi0"
|
|
2003
|
+
},
|
|
2004
|
+
CalendarTask: {
|
|
2005
|
+
pk: {
|
|
2006
|
+
field: "pk",
|
|
2007
|
+
composite: ["calendarId"]
|
|
2008
|
+
},
|
|
2009
|
+
sk: {
|
|
2010
|
+
field: "sk",
|
|
2011
|
+
composite: ["calendarTaskId"]
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
2014
|
+
},
|
|
2015
|
+
model: {
|
|
2016
|
+
entity: "calendarTask",
|
|
2017
|
+
service: "remit",
|
|
2018
|
+
version: "1"
|
|
2019
|
+
}
|
|
2020
|
+
};
|
|
1876
2021
|
export const ThreadMessage = {
|
|
1877
2022
|
attributes: {
|
|
1878
2023
|
threadMessageId: {
|
|
@@ -5140,6 +5285,111 @@ export const RawMessageStorage = {
|
|
|
5140
5285
|
version: "1"
|
|
5141
5286
|
}
|
|
5142
5287
|
};
|
|
5288
|
+
export const OutboxSchedulingPart = {
|
|
5289
|
+
attributes: {
|
|
5290
|
+
outboxMessageId: {
|
|
5291
|
+
type: "string",
|
|
5292
|
+
required: true,
|
|
5293
|
+
validate: value => {
|
|
5294
|
+
if (typeof value === "string" && value.length < 25)
|
|
5295
|
+
throw new Error("'outboxMessageId' must be at least 25 characters");
|
|
5296
|
+
if (typeof value === "string" && value.length > 25)
|
|
5297
|
+
throw new Error("'outboxMessageId' must be at most 25 characters");
|
|
5298
|
+
return true;
|
|
5299
|
+
}
|
|
5300
|
+
},
|
|
5301
|
+
accountConfigId: {
|
|
5302
|
+
type: "string",
|
|
5303
|
+
required: true,
|
|
5304
|
+
validate: value => {
|
|
5305
|
+
if (typeof value === "string" && value.length < 25)
|
|
5306
|
+
throw new Error("'accountConfigId' must be at least 25 characters");
|
|
5307
|
+
if (typeof value === "string" && value.length > 25)
|
|
5308
|
+
throw new Error("'accountConfigId' must be at most 25 characters");
|
|
5309
|
+
return true;
|
|
5310
|
+
}
|
|
5311
|
+
},
|
|
5312
|
+
calendarObjectId: {
|
|
5313
|
+
type: "string",
|
|
5314
|
+
required: true,
|
|
5315
|
+
validate: value => {
|
|
5316
|
+
if (typeof value === "string" && value.length < 25)
|
|
5317
|
+
throw new Error("'calendarObjectId' must be at least 25 characters");
|
|
5318
|
+
if (typeof value === "string" && value.length > 25)
|
|
5319
|
+
throw new Error("'calendarObjectId' must be at most 25 characters");
|
|
5320
|
+
return true;
|
|
5321
|
+
}
|
|
5322
|
+
},
|
|
5323
|
+
recipient: {
|
|
5324
|
+
type: "string",
|
|
5325
|
+
required: true,
|
|
5326
|
+
validate: value => {
|
|
5327
|
+
if (typeof value === "string" && value.length > 512)
|
|
5328
|
+
throw new Error("'recipient' must be at most 512 characters");
|
|
5329
|
+
return true;
|
|
5330
|
+
}
|
|
5331
|
+
},
|
|
5332
|
+
method: {
|
|
5333
|
+
type: ["Request", "Reply", "Cancel", "Counter", "Publish", "None"],
|
|
5334
|
+
required: true
|
|
5335
|
+
},
|
|
5336
|
+
sequence: {
|
|
5337
|
+
type: "number",
|
|
5338
|
+
required: true,
|
|
5339
|
+
validate: value => {
|
|
5340
|
+
if (typeof value === "number" && !Number.isInteger(value))
|
|
5341
|
+
throw new Error("'sequence' must be an integer");
|
|
5342
|
+
return true;
|
|
5343
|
+
}
|
|
5344
|
+
},
|
|
5345
|
+
icalData: {
|
|
5346
|
+
type: "string",
|
|
5347
|
+
required: true
|
|
5348
|
+
},
|
|
5349
|
+
createdAt: {
|
|
5350
|
+
type: "number",
|
|
5351
|
+
readOnly: true,
|
|
5352
|
+
required: true,
|
|
5353
|
+
default: () => Date.now(),
|
|
5354
|
+
set: () => Date.now()
|
|
5355
|
+
},
|
|
5356
|
+
updatedAt: {
|
|
5357
|
+
type: "number",
|
|
5358
|
+
watch: "*",
|
|
5359
|
+
required: true,
|
|
5360
|
+
default: () => Date.now(),
|
|
5361
|
+
set: () => Date.now()
|
|
5362
|
+
}
|
|
5363
|
+
},
|
|
5364
|
+
indexes: {
|
|
5365
|
+
byCalendarObject: {
|
|
5366
|
+
pk: {
|
|
5367
|
+
field: "gsi0pk",
|
|
5368
|
+
composite: ["accountConfigId"]
|
|
5369
|
+
},
|
|
5370
|
+
sk: {
|
|
5371
|
+
field: "gsi0sk",
|
|
5372
|
+
composite: ["calendarObjectId"]
|
|
5373
|
+
},
|
|
5374
|
+
index: "gsi0"
|
|
5375
|
+
},
|
|
5376
|
+
OutboxSchedulingPart: {
|
|
5377
|
+
pk: {
|
|
5378
|
+
field: "pk",
|
|
5379
|
+
composite: ["outboxMessageId"]
|
|
5380
|
+
},
|
|
5381
|
+
sk: {
|
|
5382
|
+
field: "sk",
|
|
5383
|
+
composite: []
|
|
5384
|
+
}
|
|
5385
|
+
}
|
|
5386
|
+
},
|
|
5387
|
+
model: {
|
|
5388
|
+
entity: "outboxSchedulingPart",
|
|
5389
|
+
service: "remit",
|
|
5390
|
+
version: "1"
|
|
5391
|
+
}
|
|
5392
|
+
};
|
|
5143
5393
|
export const CalendarEventIndex = {
|
|
5144
5394
|
attributes: {
|
|
5145
5395
|
calendarId: {
|