@nxtedition/types 23.0.11 → 23.0.13

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 (45) hide show
  1. package/dist/app.d.ts +61 -1
  2. package/dist/app.js +218 -10
  3. package/dist/common/file.d.ts +1 -1
  4. package/dist/common/file.js +32 -32
  5. package/dist/common/index.d.ts +1 -0
  6. package/dist/common/index.js +1 -0
  7. package/dist/common/settings.d.ts +34 -6
  8. package/dist/common/settings.js +1399 -535
  9. package/dist/common/user-notification.d.ts +8 -0
  10. package/dist/common/user-notification.js +85 -0
  11. package/dist/domains/asset.d.ts +23 -0
  12. package/dist/domains/asset.js +248 -0
  13. package/dist/domains/comment-reaction.d.ts +15 -0
  14. package/dist/domains/comment-reaction.js +115 -0
  15. package/dist/domains/comment-read-mark.d.ts +15 -0
  16. package/dist/domains/comment-read-mark.js +115 -0
  17. package/dist/domains/comment.d.ts +153 -0
  18. package/dist/domains/comment.js +5729 -0
  19. package/dist/domains/connection.d.ts +1 -1
  20. package/dist/domains/connection.js +118 -118
  21. package/dist/domains/deepstream.d.ts +14 -0
  22. package/dist/domains/deepstream.js +139 -0
  23. package/dist/domains/edit.d.ts +17 -0
  24. package/dist/domains/edit.js +224 -0
  25. package/dist/domains/index.d.ts +17 -1
  26. package/dist/domains/index.js +8 -0
  27. package/dist/domains/planning.d.ts +1 -1
  28. package/dist/domains/planning.js +29 -23
  29. package/dist/domains/publish.d.ts +1 -0
  30. package/dist/domains/publish.js +142 -46
  31. package/dist/domains/published.d.ts +2 -1
  32. package/dist/domains/published.js +50 -10
  33. package/dist/domains/settings.js +1401 -534
  34. package/dist/domains/subtitle-style.d.ts +13 -0
  35. package/dist/domains/subtitle-style.js +123 -0
  36. package/dist/domains/user-notification-status.d.ts +55 -0
  37. package/dist/domains/user-notification-status.js +715 -0
  38. package/dist/domains/user-notification.d.ts +118 -0
  39. package/dist/domains/user-notification.js +3040 -0
  40. package/dist/domains/user.d.ts +42 -8
  41. package/dist/domains/user.js +352 -12
  42. package/dist/index.d.ts +23 -1
  43. package/dist/index.js +30 -13
  44. package/dist/schema.json +1438 -35
  45. package/package.json +1 -1
package/dist/schema.json CHANGED
@@ -33,6 +33,19 @@
33
33
  },
34
34
  "type": "object"
35
35
  },
36
+ "AssetCommentsRecord": {
37
+ "additionalProperties": false,
38
+ "properties": {
39
+ "value": {
40
+ "description": "IDs of comment assets associated with the asset.",
41
+ "items": {
42
+ "type": "string"
43
+ },
44
+ "type": "array"
45
+ }
46
+ },
47
+ "type": "object"
48
+ },
36
49
  "AssetCreatedProvidedRecord": {
37
50
  "additionalProperties": false,
38
51
  "properties": {
@@ -131,6 +144,18 @@
131
144
  "additionalProperties": {},
132
145
  "type": "object"
133
146
  },
147
+ "AssetDomainPresenceProvidedRecord": {
148
+ "additionalProperties": false,
149
+ "properties": {
150
+ "value": {
151
+ "items": {
152
+ "type": "string"
153
+ },
154
+ "type": "array"
155
+ }
156
+ },
157
+ "type": "object"
158
+ },
134
159
  "AssetDomainPublishProvidedRecord": {
135
160
  "additionalProperties": false,
136
161
  "properties": {
@@ -155,6 +180,9 @@
155
180
  ":asset.assignees?": {
156
181
  "$ref": "#/definitions/AssetAssigneesProvidedRecord"
157
182
  },
183
+ ":asset.comments?": {
184
+ "$ref": "#/definitions/AssetCommentsRecord"
185
+ },
158
186
  ":asset.controllers?": {
159
187
  "$ref": "#/definitions/AssetDomainControllersProvidedRecord"
160
188
  },
@@ -185,6 +213,9 @@
185
213
  ":asset.modified?": {
186
214
  "$ref": "#/definitions/AssetModifiedProvidedRecord"
187
215
  },
216
+ ":asset.presence?": {
217
+ "$ref": "#/definitions/AssetDomainPresenceProvidedRecord"
218
+ },
188
219
  ":asset.publish?": {
189
220
  "$ref": "#/definitions/AssetDomainPublishProvidedRecord"
190
221
  },
@@ -209,6 +240,7 @@
209
240
  },
210
241
  "required": [
211
242
  ":asset.assignees?",
243
+ ":asset.comments?",
212
244
  ":asset.controllers?",
213
245
  ":asset.created?",
214
246
  ":asset.deadlines?",
@@ -219,6 +251,7 @@
219
251
  ":asset.locations?",
220
252
  ":asset.media?",
221
253
  ":asset.modified?",
254
+ ":asset.presence?",
222
255
  ":asset.publish?",
223
256
  ":asset.published?",
224
257
  ":asset.refs?",
@@ -638,6 +671,173 @@
638
671
  ],
639
672
  "type": "object"
640
673
  },
674
+ "CommentDomainCommentRecord": {
675
+ "additionalProperties": false,
676
+ "properties": {
677
+ "asset": {
678
+ "type": "string"
679
+ },
680
+ "content": {
681
+ "$ref": "#/definitions/SerializedRootNode"
682
+ },
683
+ "mediaRevisionId": {
684
+ "type": "string"
685
+ },
686
+ "replyTo": {
687
+ "type": "string"
688
+ },
689
+ "timecode": {
690
+ "additionalProperties": false,
691
+ "properties": {
692
+ "end": {
693
+ "type": "number"
694
+ },
695
+ "start": {
696
+ "type": "number"
697
+ }
698
+ },
699
+ "required": [
700
+ "start"
701
+ ],
702
+ "type": "object"
703
+ }
704
+ },
705
+ "type": "object"
706
+ },
707
+ "CommentDomainReadMarksProvidedRecord": {
708
+ "additionalProperties": false,
709
+ "properties": {
710
+ "value": {
711
+ "items": {
712
+ "type": "string"
713
+ },
714
+ "type": "array"
715
+ }
716
+ },
717
+ "type": "object"
718
+ },
719
+ "CommentDomainRecords": {
720
+ "additionalProperties": false,
721
+ "properties": {
722
+ ":comment": {
723
+ "$ref": "#/definitions/CommentDomainCommentRecord"
724
+ },
725
+ ":comment.reactions?": {
726
+ "$ref": "#/definitions/CommentReactionsProvidedRecord"
727
+ },
728
+ ":comment.readMarks?": {
729
+ "$ref": "#/definitions/CommentDomainReadMarksProvidedRecord"
730
+ },
731
+ ":comment.replies?": {
732
+ "$ref": "#/definitions/CommentDomainRepliesProvidedRecord"
733
+ }
734
+ },
735
+ "required": [
736
+ ":comment",
737
+ ":comment.reactions?",
738
+ ":comment.readMarks?",
739
+ ":comment.replies?"
740
+ ],
741
+ "type": "object"
742
+ },
743
+ "CommentDomainRepliesProvidedRecord": {
744
+ "additionalProperties": false,
745
+ "properties": {
746
+ "value": {
747
+ "items": {
748
+ "type": "string"
749
+ },
750
+ "type": "array"
751
+ }
752
+ },
753
+ "type": "object"
754
+ },
755
+ "CommentReactionDomainRecord": {
756
+ "additionalProperties": false,
757
+ "properties": {
758
+ "comment": {
759
+ "type": "string"
760
+ },
761
+ "reaction": {
762
+ "type": "string"
763
+ },
764
+ "user": {
765
+ "type": "string"
766
+ }
767
+ },
768
+ "required": [
769
+ "comment",
770
+ "reaction",
771
+ "user"
772
+ ],
773
+ "type": "object"
774
+ },
775
+ "CommentReactionDomainRecords": {
776
+ "additionalProperties": false,
777
+ "properties": {
778
+ "comment-reaction": {
779
+ "$ref": "#/definitions/CommentReactionDomainRecord"
780
+ }
781
+ },
782
+ "required": [
783
+ "comment-reaction"
784
+ ],
785
+ "type": "object"
786
+ },
787
+ "CommentReactionsProvidedRecord": {
788
+ "additionalProperties": {
789
+ "items": {
790
+ "additionalProperties": false,
791
+ "properties": {
792
+ "id": {
793
+ "type": "string"
794
+ },
795
+ "user": {
796
+ "type": "string"
797
+ }
798
+ },
799
+ "required": [
800
+ "id",
801
+ "user"
802
+ ],
803
+ "type": "object"
804
+ },
805
+ "type": "array"
806
+ },
807
+ "type": "object"
808
+ },
809
+ "CommentReadMarkDomainRecord": {
810
+ "additionalProperties": false,
811
+ "properties": {
812
+ "comment": {
813
+ "type": "string"
814
+ },
815
+ "time": {
816
+ "type": "string"
817
+ },
818
+ "user": {
819
+ "type": "string"
820
+ }
821
+ },
822
+ "required": [
823
+ "comment",
824
+ "time",
825
+ "user"
826
+ ],
827
+ "type": "object"
828
+ },
829
+ "CommentReadMarkDomainRecords": {
830
+ "additionalProperties": false,
831
+ "properties": {
832
+ "comment-read-mark": {
833
+ "$ref": "#/definitions/CommentReadMarkDomainRecord"
834
+ }
835
+ },
836
+ "required": [
837
+ "comment-read-mark"
838
+ ],
839
+ "type": "object"
840
+ },
641
841
  "ConnectionDomainRecords": {
642
842
  "additionalProperties": false,
643
843
  "properties": {
@@ -674,11 +874,11 @@
674
874
  "ConnectionRecordCommon": {
675
875
  "additionalProperties": false,
676
876
  "properties": {
677
- "notifyOnPublish": {
678
- "type": "boolean"
679
- },
680
877
  "type": {
681
878
  "type": "string"
879
+ },
880
+ "userNotificationsEnabled": {
881
+ "type": "boolean"
682
882
  }
683
883
  },
684
884
  "required": [
@@ -766,6 +966,38 @@
766
966
  ],
767
967
  "type": "object"
768
968
  },
969
+ "DeepstreamDomainRecords": {
970
+ "additionalProperties": false,
971
+ "properties": {
972
+ ":deepstream.replicate": {
973
+ "$ref": "#/definitions/DeepstreamDomainReplicateRecord"
974
+ }
975
+ },
976
+ "required": [
977
+ ":deepstream.replicate"
978
+ ],
979
+ "type": "object"
980
+ },
981
+ "DeepstreamDomainReplicateRecord": {
982
+ "additionalProperties": false,
983
+ "properties": {
984
+ "since": {
985
+ "anyOf": [
986
+ {
987
+ "const": 0,
988
+ "type": "number"
989
+ },
990
+ {
991
+ "type": "string"
992
+ }
993
+ ]
994
+ },
995
+ "synced": {
996
+ "type": "boolean"
997
+ }
998
+ },
999
+ "type": "object"
1000
+ },
769
1001
  "DesignDomainRecord": {
770
1002
  "additionalProperties": false,
771
1003
  "properties": {
@@ -872,6 +1104,9 @@
872
1104
  ":asset.assignees?": {
873
1105
  "$ref": "#/definitions/AssetAssigneesProvidedRecord"
874
1106
  },
1107
+ ":asset.comments?": {
1108
+ "$ref": "#/definitions/AssetCommentsRecord"
1109
+ },
875
1110
  ":asset.controllers?": {
876
1111
  "$ref": "#/definitions/AssetDomainControllersProvidedRecord"
877
1112
  },
@@ -902,6 +1137,9 @@
902
1137
  ":asset.modified?": {
903
1138
  "$ref": "#/definitions/AssetModifiedProvidedRecord"
904
1139
  },
1140
+ ":asset.presence?": {
1141
+ "$ref": "#/definitions/AssetDomainPresenceProvidedRecord"
1142
+ },
905
1143
  ":asset.publish?": {
906
1144
  "$ref": "#/definitions/AssetDomainPublishProvidedRecord"
907
1145
  },
@@ -932,6 +1170,18 @@
932
1170
  ":clone": {
933
1171
  "$ref": "#/definitions/CloneDomainCloneRecord"
934
1172
  },
1173
+ ":comment": {
1174
+ "$ref": "#/definitions/CommentDomainCommentRecord"
1175
+ },
1176
+ ":comment.reactions?": {
1177
+ "$ref": "#/definitions/CommentReactionsProvidedRecord"
1178
+ },
1179
+ ":comment.readMarks?": {
1180
+ "$ref": "#/definitions/CommentDomainReadMarksProvidedRecord"
1181
+ },
1182
+ ":comment.replies?": {
1183
+ "$ref": "#/definitions/CommentDomainRepliesProvidedRecord"
1184
+ },
935
1185
  ":connection": {
936
1186
  "$ref": "#/definitions/ConnectionRecord"
937
1187
  },
@@ -944,9 +1194,15 @@
944
1194
  ":contact": {
945
1195
  "$ref": "#/definitions/ContactRecord"
946
1196
  },
1197
+ ":deepstream.replicate": {
1198
+ "$ref": "#/definitions/DeepstreamDomainReplicateRecord"
1199
+ },
947
1200
  ":design": {
948
1201
  "$ref": "#/definitions/DesignDomainRecord<string,string,unknown>"
949
1202
  },
1203
+ ":edit": {
1204
+ "$ref": "#/definitions/EditRecord"
1205
+ },
950
1206
  ":event": {
951
1207
  "$ref": "#/definitions/EventRecord"
952
1208
  },
@@ -1073,15 +1329,43 @@
1073
1329
  ":storyboard.pipelines": {
1074
1330
  "$ref": "#/definitions/StoryboardDomainPipelinesRecord"
1075
1331
  },
1332
+ ":subtitle-style": {
1333
+ "$ref": "#/definitions/SubtitleStyleDomainRecord"
1334
+ },
1076
1335
  ":template": {
1077
1336
  "$ref": "#/definitions/TemplateRecord"
1078
1337
  },
1079
1338
  ":user": {
1080
- "$ref": "#/definitions/UserRecord"
1339
+ "$ref": "#/definitions/UserDomainRecord"
1340
+ },
1341
+ ":user-notification": {
1342
+ "$ref": "#/definitions/UserNotificationRecord"
1343
+ },
1344
+ ":user-notification-status": {
1345
+ "$ref": "#/definitions/UserNotificationStatusDomainRecord"
1346
+ },
1347
+ ":user-notification.readAt": {
1348
+ "$ref": "#/definitions/UserNotificationDomainReadAtRecord"
1349
+ },
1350
+ ":user.latestSeenNotification": {
1351
+ "$ref": "#/definitions/UserDomainLatestSeenNotificationRecord"
1352
+ },
1353
+ ":user.receivedNotifications?": {
1354
+ "$ref": "#/definitions/UserDomainReceivedNotificationsProvidedRecord"
1355
+ },
1356
+ ":user.unseenNotifications?": {
1357
+ "$ref": "#/definitions/UserDomainUnseenNotificationsRecord"
1358
+ },
1359
+ "comment-reaction": {
1360
+ "$ref": "#/definitions/CommentReactionDomainRecord"
1361
+ },
1362
+ "comment-read-mark": {
1363
+ "$ref": "#/definitions/CommentReadMarkDomainRecord"
1081
1364
  }
1082
1365
  },
1083
1366
  "required": [
1084
1367
  ":asset.assignees?",
1368
+ ":asset.comments?",
1085
1369
  ":asset.controllers?",
1086
1370
  ":asset.created?",
1087
1371
  ":asset.deadlines?",
@@ -1092,6 +1376,7 @@
1092
1376
  ":asset.locations?",
1093
1377
  ":asset.media?",
1094
1378
  ":asset.modified?",
1379
+ ":asset.presence?",
1095
1380
  ":asset.publish?",
1096
1381
  ":asset.published?",
1097
1382
  ":asset.refs?",
@@ -1102,11 +1387,17 @@
1102
1387
  ":bundle",
1103
1388
  ":bundle.revisions",
1104
1389
  ":clone",
1390
+ ":comment",
1391
+ ":comment.reactions?",
1392
+ ":comment.readMarks?",
1393
+ ":comment.replies?",
1105
1394
  ":connection",
1106
1395
  ":connection.methods?",
1107
1396
  ":connection.stats?",
1108
1397
  ":contact",
1398
+ ":deepstream.replicate",
1109
1399
  ":design",
1400
+ ":edit",
1110
1401
  ":event",
1111
1402
  ":event._template?",
1112
1403
  ":file.replicate",
@@ -1147,8 +1438,17 @@
1147
1438
  ":settings",
1148
1439
  ":storyboard",
1149
1440
  ":storyboard.pipelines",
1441
+ ":subtitle-style",
1150
1442
  ":template",
1151
- ":user"
1443
+ ":user",
1444
+ ":user-notification",
1445
+ ":user-notification-status",
1446
+ ":user-notification.readAt",
1447
+ ":user.latestSeenNotification",
1448
+ ":user.receivedNotifications?",
1449
+ ":user.unseenNotifications?",
1450
+ "comment-reaction",
1451
+ "comment-read-mark"
1152
1452
  ],
1153
1453
  "type": "object"
1154
1454
  },
@@ -1170,6 +1470,7 @@
1170
1470
  "Domains": {
1171
1471
  "enum": [
1172
1472
  ":asset.assignees?",
1473
+ ":asset.comments?",
1173
1474
  ":asset.controllers?",
1174
1475
  ":asset.created?",
1175
1476
  ":asset.deadlines?",
@@ -1180,6 +1481,7 @@
1180
1481
  ":asset.locations?",
1181
1482
  ":asset.media?",
1182
1483
  ":asset.modified?",
1484
+ ":asset.presence?",
1183
1485
  ":asset.publish?",
1184
1486
  ":asset.published?",
1185
1487
  ":asset.refs?",
@@ -1190,10 +1492,16 @@
1190
1492
  ":bundle",
1191
1493
  ":bundle.revisions",
1192
1494
  ":clone",
1495
+ ":comment",
1496
+ ":comment.reactions?",
1497
+ ":comment.readMarks?",
1498
+ ":comment.replies?",
1193
1499
  ":connection",
1194
1500
  ":connection.methods?",
1195
1501
  ":connection.stats?",
1196
1502
  ":contact",
1503
+ ":deepstream.replicate",
1504
+ ":edit",
1197
1505
  ":event",
1198
1506
  ":event._template?",
1199
1507
  ":file.replicate",
@@ -1234,11 +1542,43 @@
1234
1542
  ":settings",
1235
1543
  ":storyboard",
1236
1544
  ":storyboard.pipelines",
1545
+ ":subtitle-style",
1237
1546
  ":template",
1238
- ":user"
1547
+ ":user",
1548
+ ":user-notification",
1549
+ ":user-notification-status",
1550
+ ":user-notification.readAt",
1551
+ ":user.latestSeenNotification",
1552
+ ":user.receivedNotifications?",
1553
+ ":user.unseenNotifications?",
1554
+ "comment-reaction",
1555
+ "comment-read-mark"
1239
1556
  ],
1240
1557
  "type": "string"
1241
1558
  },
1559
+ "DownloadFileOptions": {
1560
+ "additionalProperties": false,
1561
+ "properties": {
1562
+ "directory": {
1563
+ "type": "string"
1564
+ },
1565
+ "filename": {
1566
+ "type": "string"
1567
+ },
1568
+ "path": {
1569
+ "description": "If present, filename and directory will be ignored.",
1570
+ "type": "string"
1571
+ },
1572
+ "url": {
1573
+ "description": "URL of the resource to download.",
1574
+ "type": "string"
1575
+ }
1576
+ },
1577
+ "required": [
1578
+ "url"
1579
+ ],
1580
+ "type": "object"
1581
+ },
1242
1582
  "Dynamic": {
1243
1583
  "anyOf": [
1244
1584
  {
@@ -1253,6 +1593,53 @@
1253
1593
  }
1254
1594
  ]
1255
1595
  },
1596
+ "EditDomainRecords": {
1597
+ "additionalProperties": false,
1598
+ "properties": {
1599
+ ":edit": {
1600
+ "$ref": "#/definitions/EditRecord"
1601
+ }
1602
+ },
1603
+ "required": [
1604
+ ":edit"
1605
+ ],
1606
+ "type": "object"
1607
+ },
1608
+ "EditRecord": {
1609
+ "additionalProperties": false,
1610
+ "properties": {
1611
+ "active": {
1612
+ "type": "boolean"
1613
+ },
1614
+ "changeId": {
1615
+ "type": "string"
1616
+ },
1617
+ "nodes": {
1618
+ "additionalProperties": true,
1619
+ "properties": {},
1620
+ "type": "object"
1621
+ },
1622
+ "tracks": {
1623
+ "items": {
1624
+ "additionalProperties": true,
1625
+ "properties": {},
1626
+ "type": "object"
1627
+ },
1628
+ "type": "array"
1629
+ },
1630
+ "transitions": {
1631
+ "additionalProperties": true,
1632
+ "properties": {},
1633
+ "type": "object"
1634
+ }
1635
+ },
1636
+ "required": [
1637
+ "nodes",
1638
+ "tracks",
1639
+ "transitions"
1640
+ ],
1641
+ "type": "object"
1642
+ },
1256
1643
  "ElectronHubApi": {
1257
1644
  "additionalProperties": false,
1258
1645
  "properties": {
@@ -1261,6 +1648,10 @@
1261
1648
  "additionalProperties": false,
1262
1649
  "type": "object"
1263
1650
  },
1651
+ "downloadFile": {
1652
+ "additionalProperties": false,
1653
+ "type": "object"
1654
+ },
1264
1655
  "getCurrentVersion": {
1265
1656
  "additionalProperties": false,
1266
1657
  "type": "object"
@@ -1281,10 +1672,26 @@
1281
1672
  "additionalProperties": false,
1282
1673
  "type": "object"
1283
1674
  },
1675
+ "openPath": {
1676
+ "additionalProperties": false,
1677
+ "type": "object"
1678
+ },
1679
+ "showItemInFolder": {
1680
+ "additionalProperties": false,
1681
+ "type": "object"
1682
+ },
1284
1683
  "showOpenDialog": {
1285
1684
  "additionalProperties": false,
1286
1685
  "type": "object"
1287
1686
  },
1687
+ "showOpenDialogAsync": {
1688
+ "additionalProperties": false,
1689
+ "type": "object"
1690
+ },
1691
+ "showSaveDialogAsync": {
1692
+ "additionalProperties": false,
1693
+ "type": "object"
1694
+ },
1288
1695
  "startDrag": {
1289
1696
  "additionalProperties": false,
1290
1697
  "type": "object"
@@ -1297,12 +1704,17 @@
1297
1704
  "required": [
1298
1705
  "clipboard",
1299
1706
  "controlDownloadItem",
1707
+ "downloadFile",
1300
1708
  "getCurrentVersion",
1301
1709
  "getLatestVersion",
1302
1710
  "getWebdavPath",
1303
1711
  "installDavinciPlugin",
1304
1712
  "openInApp",
1713
+ "openPath",
1714
+ "showItemInFolder",
1305
1715
  "showOpenDialog",
1716
+ "showOpenDialogAsync",
1717
+ "showSaveDialogAsync",
1306
1718
  "startDrag",
1307
1719
  "triggerUpdate"
1308
1720
  ],
@@ -1370,12 +1782,12 @@
1370
1782
  },
1371
1783
  "type": "array"
1372
1784
  },
1373
- "notifyOnPublish": {
1374
- "type": "boolean"
1375
- },
1376
1785
  "type": {
1377
1786
  "const": "facebook",
1378
1787
  "type": "string"
1788
+ },
1789
+ "userNotificationsEnabled": {
1790
+ "type": "boolean"
1379
1791
  }
1380
1792
  },
1381
1793
  "required": [
@@ -1507,9 +1919,6 @@
1507
1919
  ],
1508
1920
  "type": "object"
1509
1921
  },
1510
- "notifyOnPublish": {
1511
- "type": "boolean"
1512
- },
1513
1922
  "pollInterval": {
1514
1923
  "type": "number"
1515
1924
  },
@@ -1525,6 +1934,9 @@
1525
1934
  "type": {
1526
1935
  "const": "file",
1527
1936
  "type": "string"
1937
+ },
1938
+ "userNotificationsEnabled": {
1939
+ "type": "boolean"
1528
1940
  }
1529
1941
  },
1530
1942
  "required": [
@@ -2136,6 +2548,16 @@
2136
2548
  ],
2137
2549
  "type": "object"
2138
2550
  },
2551
+ "NotificationReason": {
2552
+ "enum": [
2553
+ "always",
2554
+ "assigned",
2555
+ "author",
2556
+ "mentioned",
2557
+ "participated"
2558
+ ],
2559
+ "type": "string"
2560
+ },
2139
2561
  "NxtError": {
2140
2562
  "additionalProperties": false,
2141
2563
  "properties": {
@@ -2463,6 +2885,73 @@
2463
2885
  ],
2464
2886
  "type": "object"
2465
2887
  },
2888
+ "OpenDialogOptions": {
2889
+ "additionalProperties": false,
2890
+ "properties": {
2891
+ "buttonLabel": {
2892
+ "type": "string"
2893
+ },
2894
+ "defaultDirectory": {
2895
+ "type": "string"
2896
+ },
2897
+ "defaultFilename": {
2898
+ "type": "string"
2899
+ },
2900
+ "defaultPath": {
2901
+ "description": "If present, defaultDirectory and defaultFilename will be ignored.",
2902
+ "type": "string"
2903
+ },
2904
+ "filters": {
2905
+ "items": {
2906
+ "additionalProperties": false,
2907
+ "properties": {
2908
+ "extensions": {
2909
+ "items": {
2910
+ "type": "string"
2911
+ },
2912
+ "type": "array"
2913
+ },
2914
+ "name": {
2915
+ "type": "string"
2916
+ }
2917
+ },
2918
+ "required": [
2919
+ "extensions",
2920
+ "name"
2921
+ ],
2922
+ "type": "object"
2923
+ },
2924
+ "type": "array"
2925
+ },
2926
+ "message": {
2927
+ "type": "string"
2928
+ },
2929
+ "properties": {
2930
+ "items": {
2931
+ "enum": [
2932
+ "createDirectory",
2933
+ "dontAddToRecent",
2934
+ "multiSelections",
2935
+ "noResolveAliases",
2936
+ "openDirectory",
2937
+ "openFile",
2938
+ "promptToCreate",
2939
+ "showHiddenFiles",
2940
+ "treatPackageAsDirectory"
2941
+ ],
2942
+ "type": "string"
2943
+ },
2944
+ "type": "array"
2945
+ },
2946
+ "securityScopedBookmarks": {
2947
+ "type": "boolean"
2948
+ },
2949
+ "title": {
2950
+ "type": "string"
2951
+ }
2952
+ },
2953
+ "type": "object"
2954
+ },
2466
2955
  "Operation": {
2467
2956
  "anyOf": [
2468
2957
  {
@@ -2511,6 +3000,30 @@
2511
3000
  "clock": {
2512
3001
  "$ref": "#/definitions/PartialObjectDeep<{enable:boolean;show24Hours:boolean;showAmPm:boolean;showSeconds:boolean;showDayOfWeek:boolean;showDate:boolean;format?:string;},{}>"
2513
3002
  },
3003
+ "commands": {
3004
+ "items": {
3005
+ "additionalProperties": false,
3006
+ "properties": {
3007
+ "args": {
3008
+ "items": {
3009
+ "type": "string"
3010
+ },
3011
+ "type": "array"
3012
+ },
3013
+ "command": {
3014
+ "type": "string"
3015
+ },
3016
+ "title": {
3017
+ "type": "string"
3018
+ }
3019
+ },
3020
+ "required": [
3021
+ "title"
3022
+ ],
3023
+ "type": "object"
3024
+ },
3025
+ "type": "array"
3026
+ },
2514
3027
  "crashScreen": {
2515
3028
  "type": "boolean"
2516
3029
  },
@@ -2559,11 +3072,14 @@
2559
3072
  },
2560
3073
  "keymap": {},
2561
3074
  "media": {
2562
- "$ref": "#/definitions/PartialObjectDeep<{placeholder?:string;openCommand?:string;guide?:{mask?:boolean;};stepManyFrames:number;liveZoomDuration:number;importTitleTemplate:string;tile:{preview:boolean|\"play\"|\"seek\"|\"disabled\"|\"seekplay\";showRenderProgress:boolean;};timecodeReference:string;maxSubclipDuration:number;rewindStep:number;forwardStep:number;interlacedPlayback:string;playbackRates:number[];subtitles:{spacing:number;maxCharactersPerLine:number;};subtitleTemplateId?:string;initialVolume:string;guides:{label:string;aspectRatio:string;}[];download:boolean;transcribe?:{subtitleDisclaimer?:{isUserConfigurable?:boolean;defaultValue?:{enabled?:false;text?:{language:string;value:string;}[];offset?:number;duration?:number;};};};},{}>"
3075
+ "$ref": "#/definitions/PartialObjectDeep<{placeholder?:string;guide?:{mask?:boolean;actionSafe?:boolean;titleSafe?:boolean;};stepManyFrames:number;liveZoomDuration:number;importTitleTemplate:string;tile:{preview:boolean|\"play\"|\"seek\"|\"disabled\"|\"seekplay\";showRenderProgress:boolean;};timecodeReference:string;maxSubclipDuration:number;rewindStep:number;forwardStep:number;interlacedPlayback:string;playbackRates:number[];subtitles:{spacing:number;maxCharactersPerLine:number;};subtitleTemplateId?:string;initialVolume:string;guides:{label:string;aspectRatio:string;}[];download:boolean;editMode:{enabled:boolean;defaultEnterOption:\"none\"|\"edit\"|\"createNew\";defaultExitOption:\"none\"|\"update\"|\"leave\";};transcribe?:{subtitleDisclaimer?:{isUserConfigurable?:boolean;defaultValue?:{enabled?:false;text?:{language:string;value:string;}[];offset?:number;duration?:number;};};};openCommand?:string|{url?:string;command?:string;app?:string;args?:string[];};},{}>"
2563
3076
  },
2564
3077
  "module": {
2565
3078
  "$ref": "#/definitions/PartialObjectDeep<{tabs?:ModuleTabs;},{}>"
2566
3079
  },
3080
+ "notifications": {
3081
+ "$ref": "#/definitions/PartialObjectDeep<{events:{comment:NotificationReason[];assigned:NotificationReason[];unassigned:NotificationReason[];publishSucceeded:{[connectionId:string]:NotificationReason[];};};},{}>"
3082
+ },
2567
3083
  "permission": {
2568
3084
  "$ref": "#/definitions/PartialObjectDeep<{overrideUserContact:boolean;overrideUserLogin:boolean;},{}>"
2569
3085
  },
@@ -2607,6 +3123,11 @@
2607
3123
  },
2608
3124
  "type": "object"
2609
3125
  },
3126
+ "PartialObjectDeep<{[connectionId:string]:NotificationReason[];},{}>": {
3127
+ "additionalProperties": false,
3128
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
3129
+ "type": "object"
3130
+ },
2610
3131
  "PartialObjectDeep<{adobe:{useProxies:boolean;};},{}>": {
2611
3132
  "additionalProperties": false,
2612
3133
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
@@ -2650,6 +3171,34 @@
2650
3171
  },
2651
3172
  "type": "object"
2652
3173
  },
3174
+ "PartialObjectDeep<{comment:NotificationReason[];assigned:NotificationReason[];unassigned:NotificationReason[];publishSucceeded:{[connectionId:string]:NotificationReason[];};},{}>": {
3175
+ "additionalProperties": false,
3176
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
3177
+ "properties": {
3178
+ "assigned": {
3179
+ "items": {
3180
+ "$ref": "#/definitions/NotificationReason"
3181
+ },
3182
+ "type": "array"
3183
+ },
3184
+ "comment": {
3185
+ "items": {
3186
+ "$ref": "#/definitions/NotificationReason"
3187
+ },
3188
+ "type": "array"
3189
+ },
3190
+ "publishSucceeded": {
3191
+ "$ref": "#/definitions/PartialObjectDeep<{[connectionId:string]:NotificationReason[];},{}>"
3192
+ },
3193
+ "unassigned": {
3194
+ "items": {
3195
+ "$ref": "#/definitions/NotificationReason"
3196
+ },
3197
+ "type": "array"
3198
+ }
3199
+ },
3200
+ "type": "object"
3201
+ },
2653
3202
  "PartialObjectDeep<{createMenu:{showPreview:boolean;};colorTags:PromotedTag[];},{}>": {
2654
3203
  "additionalProperties": false,
2655
3204
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
@@ -2714,6 +3263,32 @@
2714
3263
  },
2715
3264
  "type": "object"
2716
3265
  },
3266
+ "PartialObjectDeep<{enabled:boolean;defaultEnterOption:\"none\"|\"edit\"|\"createNew\";defaultExitOption:\"none\"|\"update\"|\"leave\";},{}>": {
3267
+ "additionalProperties": false,
3268
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
3269
+ "properties": {
3270
+ "defaultEnterOption": {
3271
+ "enum": [
3272
+ "createNew",
3273
+ "edit",
3274
+ "none"
3275
+ ],
3276
+ "type": "string"
3277
+ },
3278
+ "defaultExitOption": {
3279
+ "enum": [
3280
+ "leave",
3281
+ "none",
3282
+ "update"
3283
+ ],
3284
+ "type": "string"
3285
+ },
3286
+ "enabled": {
3287
+ "type": "boolean"
3288
+ }
3289
+ },
3290
+ "type": "object"
3291
+ },
2717
3292
  "PartialObjectDeep<{enabled?:false;text?:{language:string;value:string;}[];offset?:number;duration?:number;},{}>": {
2718
3293
  "additionalProperties": false,
2719
3294
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
@@ -2760,6 +3335,16 @@
2760
3335
  },
2761
3336
  "type": "object"
2762
3337
  },
3338
+ "PartialObjectDeep<{events:{comment:NotificationReason[];assigned:NotificationReason[];unassigned:NotificationReason[];publishSucceeded:{[connectionId:string]:NotificationReason[];};};},{}>": {
3339
+ "additionalProperties": false,
3340
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
3341
+ "properties": {
3342
+ "events": {
3343
+ "$ref": "#/definitions/PartialObjectDeep<{comment:NotificationReason[];assigned:NotificationReason[];unassigned:NotificationReason[];publishSucceeded:{[connectionId:string]:NotificationReason[];};},{}>"
3344
+ }
3345
+ },
3346
+ "type": "object"
3347
+ },
2763
3348
  "PartialObjectDeep<{excerpt:{maxLines:number;mode:string;};},{}>": {
2764
3349
  "additionalProperties": false,
2765
3350
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
@@ -2863,12 +3448,18 @@
2863
3448
  },
2864
3449
  "type": "object"
2865
3450
  },
2866
- "PartialObjectDeep<{mask?:boolean;},{}>": {
3451
+ "PartialObjectDeep<{mask?:boolean;actionSafe?:boolean;titleSafe?:boolean;},{}>": {
2867
3452
  "additionalProperties": false,
2868
3453
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
2869
3454
  "properties": {
3455
+ "actionSafe": {
3456
+ "type": "boolean"
3457
+ },
2870
3458
  "mask": {
2871
3459
  "type": "boolean"
3460
+ },
3461
+ "titleSafe": {
3462
+ "type": "boolean"
2872
3463
  }
2873
3464
  },
2874
3465
  "type": "object"
@@ -2942,18 +3533,21 @@
2942
3533
  },
2943
3534
  "type": "object"
2944
3535
  },
2945
- "PartialObjectDeep<{placeholder?:string;openCommand?:string;guide?:{mask?:boolean;};stepManyFrames:number;liveZoomDuration:number;importTitleTemplate:string;tile:{preview:boolean|\"play\"|\"seek\"|\"disabled\"|\"seekplay\";showRenderProgress:boolean;};timecodeReference:string;maxSubclipDuration:number;rewindStep:number;forwardStep:number;interlacedPlayback:string;playbackRates:number[];subtitles:{spacing:number;maxCharactersPerLine:number;};subtitleTemplateId?:string;initialVolume:string;guides:{label:string;aspectRatio:string;}[];download:boolean;transcribe?:{subtitleDisclaimer?:{isUserConfigurable?:boolean;defaultValue?:{enabled?:false;text?:{language:string;value:string;}[];offset?:number;duration?:number;};};};},{}>": {
3536
+ "PartialObjectDeep<{placeholder?:string;guide?:{mask?:boolean;actionSafe?:boolean;titleSafe?:boolean;};stepManyFrames:number;liveZoomDuration:number;importTitleTemplate:string;tile:{preview:boolean|\"play\"|\"seek\"|\"disabled\"|\"seekplay\";showRenderProgress:boolean;};timecodeReference:string;maxSubclipDuration:number;rewindStep:number;forwardStep:number;interlacedPlayback:string;playbackRates:number[];subtitles:{spacing:number;maxCharactersPerLine:number;};subtitleTemplateId?:string;initialVolume:string;guides:{label:string;aspectRatio:string;}[];download:boolean;editMode:{enabled:boolean;defaultEnterOption:\"none\"|\"edit\"|\"createNew\";defaultExitOption:\"none\"|\"update\"|\"leave\";};transcribe?:{subtitleDisclaimer?:{isUserConfigurable?:boolean;defaultValue?:{enabled?:false;text?:{language:string;value:string;}[];offset?:number;duration?:number;};};};openCommand?:string|{url?:string;command?:string;app?:string;args?:string[];};},{}>": {
2946
3537
  "additionalProperties": false,
2947
3538
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
2948
3539
  "properties": {
2949
3540
  "download": {
2950
3541
  "type": "boolean"
2951
3542
  },
3543
+ "editMode": {
3544
+ "$ref": "#/definitions/PartialObjectDeep<{enabled:boolean;defaultEnterOption:\"none\"|\"edit\"|\"createNew\";defaultExitOption:\"none\"|\"update\"|\"leave\";},{}>"
3545
+ },
2952
3546
  "forwardStep": {
2953
3547
  "type": "number"
2954
3548
  },
2955
3549
  "guide": {
2956
- "$ref": "#/definitions/PartialObjectDeep<{mask?:boolean;},{}>"
3550
+ "$ref": "#/definitions/PartialObjectDeep<{mask?:boolean;actionSafe?:boolean;titleSafe?:boolean;},{}>"
2957
3551
  },
2958
3552
  "guides": {
2959
3553
  "items": {
@@ -2990,7 +3584,15 @@
2990
3584
  "type": "number"
2991
3585
  },
2992
3586
  "openCommand": {
2993
- "type": "string"
3587
+ "anyOf": [
3588
+ {
3589
+ "$ref": "#/definitions/PartialObjectDeep<{url?:string;command?:string;app?:string;args?:string[];},{}>",
3590
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`."
3591
+ },
3592
+ {
3593
+ "type": "string"
3594
+ }
3595
+ ]
2994
3596
  },
2995
3597
  "placeholder": {
2996
3598
  "type": "string"
@@ -3127,6 +3729,28 @@
3127
3729
  },
3128
3730
  "type": "object"
3129
3731
  },
3732
+ "PartialObjectDeep<{url?:string;command?:string;app?:string;args?:string[];},{}>": {
3733
+ "additionalProperties": false,
3734
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
3735
+ "properties": {
3736
+ "app": {
3737
+ "type": "string"
3738
+ },
3739
+ "args": {
3740
+ "items": {
3741
+ "type": "string"
3742
+ },
3743
+ "type": "array"
3744
+ },
3745
+ "command": {
3746
+ "type": "string"
3747
+ },
3748
+ "url": {
3749
+ "type": "string"
3750
+ }
3751
+ },
3752
+ "type": "object"
3753
+ },
3130
3754
  "PartialObjectDeep<{useProxies:boolean;},{}>": {
3131
3755
  "additionalProperties": false,
3132
3756
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
@@ -3291,9 +3915,6 @@
3291
3915
  "type": "array"
3292
3916
  }
3293
3917
  },
3294
- "required": [
3295
- "value"
3296
- ],
3297
3918
  "type": "object"
3298
3919
  },
3299
3920
  "PlanningDeadlineRecord": {
@@ -3393,11 +4014,17 @@
3393
4014
  "additionalProperties": false,
3394
4015
  "properties": {
3395
4016
  "asset": {
3396
- "type": "string"
4017
+ "items": {
4018
+ "type": "string"
4019
+ },
4020
+ "type": "array"
3397
4021
  },
3398
4022
  "connection": {
3399
4023
  "type": "string"
3400
4024
  },
4025
+ "error": {
4026
+ "type": "boolean"
4027
+ },
3401
4028
  "parent": {
3402
4029
  "type": "string"
3403
4030
  },
@@ -3452,12 +4079,53 @@
3452
4079
  "additionalProperties": false,
3453
4080
  "type": "object"
3454
4081
  },
4082
+ "Record<string,{to:{synced?:boolean;since?:string|0;};from:{since?:string|0;};}>": {
4083
+ "additionalProperties": false,
4084
+ "type": "object"
4085
+ },
3455
4086
  "Records": {
3456
4087
  "additionalProperties": false,
3457
4088
  "properties": {
3458
4089
  ":permission": {
3459
4090
  "$ref": "#/definitions/DomainRows"
3460
4091
  },
4092
+ "asset-daemon": {
4093
+ "additionalProperties": false,
4094
+ "properties": {
4095
+ "user-notify": {
4096
+ "type": "boolean"
4097
+ }
4098
+ },
4099
+ "type": "object"
4100
+ },
4101
+ "asset-daemon:user-notify.state": {
4102
+ "additionalProperties": false,
4103
+ "properties": {
4104
+ "error": {
4105
+ "additionalProperties": true,
4106
+ "properties": {},
4107
+ "type": "object"
4108
+ },
4109
+ "since": {
4110
+ "anyOf": [
4111
+ {
4112
+ "const": 0,
4113
+ "type": "number"
4114
+ },
4115
+ {
4116
+ "type": "string"
4117
+ }
4118
+ ]
4119
+ },
4120
+ "status": {
4121
+ "type": "string"
4122
+ },
4123
+ "version": {
4124
+ "type": "number"
4125
+ }
4126
+ },
4127
+ "type": "object"
4128
+ },
3461
4129
  "asset.assignees": {
3462
4130
  "additionalProperties": false,
3463
4131
  "properties": {
@@ -3609,6 +4277,18 @@
3609
4277
  },
3610
4278
  "type": "object"
3611
4279
  },
4280
+ "deepstream-replicator.stats?": {
4281
+ "additionalProperties": false,
4282
+ "properties": {
4283
+ "replicators": {
4284
+ "$ref": "#/definitions/Record<string,{to:{synced?:boolean;since?:string|0;};from:{since?:string|0;};}>"
4285
+ },
4286
+ "synced": {
4287
+ "type": "boolean"
4288
+ }
4289
+ },
4290
+ "type": "object"
4291
+ },
3612
4292
  "hub-transcribe:render-profile": {
3613
4293
  "additionalProperties": false,
3614
4294
  "properties": {
@@ -3693,6 +4373,8 @@
3693
4373
  },
3694
4374
  "required": [
3695
4375
  ":permission",
4376
+ "asset-daemon",
4377
+ "asset-daemon:user-notify.state",
3696
4378
  "asset.assignees",
3697
4379
  "asset.clone",
3698
4380
  "asset.deadlines",
@@ -3704,6 +4386,7 @@
3704
4386
  "asset.tags",
3705
4387
  "asset.title",
3706
4388
  "asset.types",
4389
+ "deepstream-replicator.stats?",
3707
4390
  "hub-transcribe:render-profile",
3708
4391
  "media.consolidate",
3709
4392
  "media.subtitles?",
@@ -3807,12 +4490,12 @@
3807
4490
  "clientSecret": {
3808
4491
  "type": "string"
3809
4492
  },
3810
- "notifyOnPublish": {
3811
- "type": "boolean"
3812
- },
3813
4493
  "type": {
3814
4494
  "const": "reuters",
3815
4495
  "type": "string"
4496
+ },
4497
+ "userNotificationsEnabled": {
4498
+ "type": "boolean"
3816
4499
  }
3817
4500
  },
3818
4501
  "required": [
@@ -3864,6 +4547,75 @@
3864
4547
  ],
3865
4548
  "type": "object"
3866
4549
  },
4550
+ "SaveDialogOptions": {
4551
+ "additionalProperties": false,
4552
+ "properties": {
4553
+ "buttonLabel": {
4554
+ "type": "string"
4555
+ },
4556
+ "defaultDirectory": {
4557
+ "type": "string"
4558
+ },
4559
+ "defaultFilename": {
4560
+ "type": "string"
4561
+ },
4562
+ "defaultPath": {
4563
+ "description": "If present, defaultDirectory and defaultFilename will be ignored.",
4564
+ "type": "string"
4565
+ },
4566
+ "filters": {
4567
+ "items": {
4568
+ "additionalProperties": false,
4569
+ "properties": {
4570
+ "extensions": {
4571
+ "items": {
4572
+ "type": "string"
4573
+ },
4574
+ "type": "array"
4575
+ },
4576
+ "name": {
4577
+ "type": "string"
4578
+ }
4579
+ },
4580
+ "required": [
4581
+ "extensions",
4582
+ "name"
4583
+ ],
4584
+ "type": "object"
4585
+ },
4586
+ "type": "array"
4587
+ },
4588
+ "message": {
4589
+ "type": "string"
4590
+ },
4591
+ "nameFieldLabel": {
4592
+ "type": "string"
4593
+ },
4594
+ "properties": {
4595
+ "items": {
4596
+ "enum": [
4597
+ "createDirectory",
4598
+ "dontAddToRecent",
4599
+ "showHiddenFiles",
4600
+ "showOverwriteConfirmation",
4601
+ "treatPackageAsDirectory"
4602
+ ],
4603
+ "type": "string"
4604
+ },
4605
+ "type": "array"
4606
+ },
4607
+ "securityScopedBookmarks": {
4608
+ "type": "boolean"
4609
+ },
4610
+ "showsTagField": {
4611
+ "type": "boolean"
4612
+ },
4613
+ "title": {
4614
+ "type": "string"
4615
+ }
4616
+ },
4617
+ "type": "object"
4618
+ },
3867
4619
  "ScriptChildrenRecord": {
3868
4620
  "additionalProperties": false,
3869
4621
  "properties": {
@@ -3900,24 +4652,277 @@
3900
4652
  ],
3901
4653
  "type": "object"
3902
4654
  },
3903
- "StoryboardDomainPipelinesRecord": {
4655
+ "SerializedAutoLinkNode": {
3904
4656
  "additionalProperties": false,
3905
4657
  "properties": {
3906
- "value": {
3907
- "items": {
3908
- "type": "string"
3909
- },
3910
- "type": "array"
4658
+ "type": {
4659
+ "const": "autolink",
4660
+ "type": "string"
4661
+ },
4662
+ "url": {
4663
+ "type": "string"
4664
+ },
4665
+ "version": {
4666
+ "const": 1,
4667
+ "type": "number"
3911
4668
  }
3912
4669
  },
4670
+ "required": [
4671
+ "type",
4672
+ "url",
4673
+ "version"
4674
+ ],
3913
4675
  "type": "object"
3914
4676
  },
3915
- "TagPermission": {
4677
+ "SerializedEmojiNode": {
3916
4678
  "additionalProperties": false,
3917
4679
  "properties": {
3918
- "tags": {
3919
- "items": {
3920
- "type": "string"
4680
+ "emojiId": {
4681
+ "type": "string"
4682
+ },
4683
+ "type": {
4684
+ "const": "emoji",
4685
+ "type": "string"
4686
+ },
4687
+ "version": {
4688
+ "const": 1,
4689
+ "type": "number"
4690
+ }
4691
+ },
4692
+ "required": [
4693
+ "emojiId",
4694
+ "type",
4695
+ "version"
4696
+ ],
4697
+ "type": "object"
4698
+ },
4699
+ "SerializedLineBreakNode": {
4700
+ "additionalProperties": false,
4701
+ "properties": {
4702
+ "type": {
4703
+ "const": "linebreak",
4704
+ "type": "string"
4705
+ },
4706
+ "version": {
4707
+ "const": 1,
4708
+ "type": "number"
4709
+ }
4710
+ },
4711
+ "required": [
4712
+ "type",
4713
+ "version"
4714
+ ],
4715
+ "type": "object"
4716
+ },
4717
+ "SerializedMentionNode": {
4718
+ "additionalProperties": false,
4719
+ "properties": {
4720
+ "detail": {
4721
+ "type": "number"
4722
+ },
4723
+ "format": {
4724
+ "type": "number"
4725
+ },
4726
+ "mentionId": {
4727
+ "type": "string"
4728
+ },
4729
+ "mode": {
4730
+ "type": "string"
4731
+ },
4732
+ "style": {
4733
+ "type": "string"
4734
+ },
4735
+ "text": {
4736
+ "type": "string"
4737
+ },
4738
+ "type": {
4739
+ "const": "mention",
4740
+ "type": "string"
4741
+ },
4742
+ "version": {
4743
+ "const": 1,
4744
+ "type": "number"
4745
+ }
4746
+ },
4747
+ "required": [
4748
+ "detail",
4749
+ "format",
4750
+ "mentionId",
4751
+ "mode",
4752
+ "style",
4753
+ "text",
4754
+ "type",
4755
+ "version"
4756
+ ],
4757
+ "type": "object"
4758
+ },
4759
+ "SerializedNode": {
4760
+ "anyOf": [
4761
+ {
4762
+ "$ref": "#/definitions/SerializedRootNode"
4763
+ },
4764
+ {
4765
+ "$ref": "#/definitions/SerializedParagraphNode"
4766
+ },
4767
+ {
4768
+ "$ref": "#/definitions/SerializedTextNode"
4769
+ },
4770
+ {
4771
+ "$ref": "#/definitions/SerializedLineBreakNode"
4772
+ },
4773
+ {
4774
+ "$ref": "#/definitions/SerializedMentionNode"
4775
+ },
4776
+ {
4777
+ "$ref": "#/definitions/SerializedEmojiNode"
4778
+ },
4779
+ {
4780
+ "$ref": "#/definitions/SerializedAutoLinkNode"
4781
+ }
4782
+ ]
4783
+ },
4784
+ "SerializedParagraphNode": {
4785
+ "additionalProperties": false,
4786
+ "properties": {
4787
+ "children": {
4788
+ "items": {
4789
+ "$ref": "#/definitions/SerializedNode"
4790
+ },
4791
+ "type": "array"
4792
+ },
4793
+ "direction": {
4794
+ "type": "string"
4795
+ },
4796
+ "format": {
4797
+ "type": "string"
4798
+ },
4799
+ "indent": {
4800
+ "type": "number"
4801
+ },
4802
+ "textFormat": {
4803
+ "type": "number"
4804
+ },
4805
+ "textStyle": {
4806
+ "type": "string"
4807
+ },
4808
+ "type": {
4809
+ "const": "paragraph",
4810
+ "type": "string"
4811
+ },
4812
+ "version": {
4813
+ "const": 1,
4814
+ "type": "number"
4815
+ }
4816
+ },
4817
+ "required": [
4818
+ "children",
4819
+ "direction",
4820
+ "format",
4821
+ "indent",
4822
+ "textFormat",
4823
+ "textStyle",
4824
+ "type",
4825
+ "version"
4826
+ ],
4827
+ "type": "object"
4828
+ },
4829
+ "SerializedRootNode": {
4830
+ "additionalProperties": false,
4831
+ "properties": {
4832
+ "children": {
4833
+ "items": {
4834
+ "$ref": "#/definitions/SerializedNode"
4835
+ },
4836
+ "type": "array"
4837
+ },
4838
+ "direction": {
4839
+ "type": "string"
4840
+ },
4841
+ "format": {
4842
+ "type": "string"
4843
+ },
4844
+ "indent": {
4845
+ "type": "number"
4846
+ },
4847
+ "type": {
4848
+ "const": "root",
4849
+ "type": "string"
4850
+ },
4851
+ "version": {
4852
+ "const": 1,
4853
+ "type": "number"
4854
+ }
4855
+ },
4856
+ "required": [
4857
+ "children",
4858
+ "direction",
4859
+ "format",
4860
+ "indent",
4861
+ "type",
4862
+ "version"
4863
+ ],
4864
+ "type": "object"
4865
+ },
4866
+ "SerializedTextNode": {
4867
+ "additionalProperties": false,
4868
+ "properties": {
4869
+ "detail": {
4870
+ "type": "number"
4871
+ },
4872
+ "format": {
4873
+ "type": "number"
4874
+ },
4875
+ "mode": {
4876
+ "type": "string"
4877
+ },
4878
+ "style": {
4879
+ "type": "string"
4880
+ },
4881
+ "text": {
4882
+ "type": "string"
4883
+ },
4884
+ "type": {
4885
+ "const": "text",
4886
+ "type": "string"
4887
+ },
4888
+ "version": {
4889
+ "const": 1,
4890
+ "type": "number"
4891
+ }
4892
+ },
4893
+ "required": [
4894
+ "detail",
4895
+ "format",
4896
+ "mode",
4897
+ "style",
4898
+ "text",
4899
+ "type",
4900
+ "version"
4901
+ ],
4902
+ "type": "object"
4903
+ },
4904
+ "StoryboardDomainPipelinesRecord": {
4905
+ "additionalProperties": false,
4906
+ "properties": {
4907
+ "value": {
4908
+ "items": {
4909
+ "type": "string"
4910
+ },
4911
+ "type": "array"
4912
+ }
4913
+ },
4914
+ "type": "object"
4915
+ },
4916
+ "SubtitleStyleDomainRecord": {
4917
+ "additionalProperties": {},
4918
+ "type": "object"
4919
+ },
4920
+ "TagPermission": {
4921
+ "additionalProperties": false,
4922
+ "properties": {
4923
+ "tags": {
4924
+ "items": {
4925
+ "type": "string"
3921
4926
  },
3922
4927
  "type": "array"
3923
4928
  },
@@ -3966,7 +4971,29 @@
3966
4971
  ],
3967
4972
  "type": "object"
3968
4973
  },
3969
- "UserRecord": {
4974
+ "UserDomainLatestSeenNotificationRecord": {
4975
+ "additionalProperties": false,
4976
+ "properties": {
4977
+ "value": {
4978
+ "type": "string"
4979
+ }
4980
+ },
4981
+ "type": "object"
4982
+ },
4983
+ "UserDomainReceivedNotificationsProvidedRecord": {
4984
+ "additionalProperties": false,
4985
+ "properties": {
4986
+ "value": {
4987
+ "description": "IDs of notifications the user has received.",
4988
+ "items": {
4989
+ "type": "string"
4990
+ },
4991
+ "type": "array"
4992
+ }
4993
+ },
4994
+ "type": "object"
4995
+ },
4996
+ "UserDomainRecord": {
3970
4997
  "additionalProperties": false,
3971
4998
  "properties": {
3972
4999
  "roles": {
@@ -3981,6 +5008,382 @@
3981
5008
  },
3982
5009
  "type": "object"
3983
5010
  },
5011
+ "UserDomainUnseenNotificationsRecord": {
5012
+ "additionalProperties": false,
5013
+ "properties": {
5014
+ "hasUnseen": {
5015
+ "type": "boolean"
5016
+ },
5017
+ "latestReceived": {
5018
+ "type": "string"
5019
+ }
5020
+ },
5021
+ "type": "object"
5022
+ },
5023
+ "UserNotificationAddedToSearch": {
5024
+ "additionalProperties": false,
5025
+ "properties": {
5026
+ "payload": {
5027
+ "additionalProperties": false,
5028
+ "description": "Type specific data.",
5029
+ "properties": {
5030
+ "assetId": {
5031
+ "type": "string"
5032
+ },
5033
+ "searchId": {
5034
+ "type": "string"
5035
+ }
5036
+ },
5037
+ "required": [
5038
+ "assetId",
5039
+ "searchId"
5040
+ ],
5041
+ "type": "object"
5042
+ },
5043
+ "reasons": {
5044
+ "description": "For what reasons the notification was created.",
5045
+ "items": {
5046
+ "$ref": "#/definitions/NotificationReason"
5047
+ },
5048
+ "type": "array"
5049
+ },
5050
+ "timestamp": {
5051
+ "description": "When the notification was created.",
5052
+ "type": "string"
5053
+ },
5054
+ "triggerId": {
5055
+ "description": "Asset that triggered this notification. Not necessarily the same asset that\nthe notification is mainly about.",
5056
+ "type": "string"
5057
+ },
5058
+ "type": {
5059
+ "const": "added-to-search",
5060
+ "description": "The type of the notification, which will determine the shape of the payload.",
5061
+ "type": "string"
5062
+ },
5063
+ "userId": {
5064
+ "description": "The user that the notification is for.",
5065
+ "type": "string"
5066
+ }
5067
+ },
5068
+ "required": [
5069
+ "payload",
5070
+ "reasons",
5071
+ "timestamp",
5072
+ "type",
5073
+ "userId"
5074
+ ],
5075
+ "type": "object"
5076
+ },
5077
+ "UserNotificationAssigned": {
5078
+ "additionalProperties": false,
5079
+ "properties": {
5080
+ "payload": {
5081
+ "additionalProperties": false,
5082
+ "description": "Type specific data.",
5083
+ "properties": {
5084
+ "actionBy": {
5085
+ "type": "string"
5086
+ },
5087
+ "assetId": {
5088
+ "type": "string"
5089
+ }
5090
+ },
5091
+ "required": [
5092
+ "assetId"
5093
+ ],
5094
+ "type": "object"
5095
+ },
5096
+ "reasons": {
5097
+ "description": "For what reasons the notification was created.",
5098
+ "items": {
5099
+ "$ref": "#/definitions/NotificationReason"
5100
+ },
5101
+ "type": "array"
5102
+ },
5103
+ "timestamp": {
5104
+ "description": "When the notification was created.",
5105
+ "type": "string"
5106
+ },
5107
+ "triggerId": {
5108
+ "description": "Asset that triggered this notification. Not necessarily the same asset that\nthe notification is mainly about.",
5109
+ "type": "string"
5110
+ },
5111
+ "type": {
5112
+ "const": "assigned",
5113
+ "description": "The type of the notification, which will determine the shape of the payload.",
5114
+ "type": "string"
5115
+ },
5116
+ "userId": {
5117
+ "description": "The user that the notification is for.",
5118
+ "type": "string"
5119
+ }
5120
+ },
5121
+ "required": [
5122
+ "payload",
5123
+ "reasons",
5124
+ "timestamp",
5125
+ "type",
5126
+ "userId"
5127
+ ],
5128
+ "type": "object"
5129
+ },
5130
+ "UserNotificationComment": {
5131
+ "additionalProperties": false,
5132
+ "properties": {
5133
+ "payload": {
5134
+ "additionalProperties": false,
5135
+ "description": "Type specific data.",
5136
+ "properties": {
5137
+ "commentId": {
5138
+ "type": "string"
5139
+ }
5140
+ },
5141
+ "required": [
5142
+ "commentId"
5143
+ ],
5144
+ "type": "object"
5145
+ },
5146
+ "reasons": {
5147
+ "description": "For what reasons the notification was created.",
5148
+ "items": {
5149
+ "$ref": "#/definitions/NotificationReason"
5150
+ },
5151
+ "type": "array"
5152
+ },
5153
+ "timestamp": {
5154
+ "description": "When the notification was created.",
5155
+ "type": "string"
5156
+ },
5157
+ "triggerId": {
5158
+ "description": "Asset that triggered this notification. Not necessarily the same asset that\nthe notification is mainly about.",
5159
+ "type": "string"
5160
+ },
5161
+ "type": {
5162
+ "const": "comment",
5163
+ "description": "The type of the notification, which will determine the shape of the payload.",
5164
+ "type": "string"
5165
+ },
5166
+ "userId": {
5167
+ "description": "The user that the notification is for.",
5168
+ "type": "string"
5169
+ }
5170
+ },
5171
+ "required": [
5172
+ "payload",
5173
+ "reasons",
5174
+ "timestamp",
5175
+ "type",
5176
+ "userId"
5177
+ ],
5178
+ "type": "object"
5179
+ },
5180
+ "UserNotificationDomainReadAtRecord": {
5181
+ "additionalProperties": false,
5182
+ "properties": {
5183
+ "value": {
5184
+ "description": "ISO8601 date string. If set, the user has marked the notification as read at that timestamp.",
5185
+ "type": "string"
5186
+ }
5187
+ },
5188
+ "type": "object"
5189
+ },
5190
+ "UserNotificationPublishSucceeded": {
5191
+ "additionalProperties": false,
5192
+ "properties": {
5193
+ "payload": {
5194
+ "additionalProperties": false,
5195
+ "description": "Type specific data.",
5196
+ "properties": {
5197
+ "assetId": {
5198
+ "description": "The asset that was published.",
5199
+ "type": "string"
5200
+ },
5201
+ "connectionId": {
5202
+ "description": "The connection that was used to publish the asset.",
5203
+ "type": "string"
5204
+ },
5205
+ "publishId": {
5206
+ "description": "The publish asset representing the publish.",
5207
+ "type": "string"
5208
+ },
5209
+ "userId": {
5210
+ "description": "The user that published the asset.",
5211
+ "type": "string"
5212
+ }
5213
+ },
5214
+ "required": [
5215
+ "assetId",
5216
+ "connectionId",
5217
+ "publishId"
5218
+ ],
5219
+ "type": "object"
5220
+ },
5221
+ "reasons": {
5222
+ "description": "For what reasons the notification was created.",
5223
+ "items": {
5224
+ "$ref": "#/definitions/NotificationReason"
5225
+ },
5226
+ "type": "array"
5227
+ },
5228
+ "timestamp": {
5229
+ "description": "When the notification was created.",
5230
+ "type": "string"
5231
+ },
5232
+ "triggerId": {
5233
+ "description": "Asset that triggered this notification. Not necessarily the same asset that\nthe notification is mainly about.",
5234
+ "type": "string"
5235
+ },
5236
+ "type": {
5237
+ "const": "publishSucceeded",
5238
+ "description": "The type of the notification, which will determine the shape of the payload.",
5239
+ "type": "string"
5240
+ },
5241
+ "userId": {
5242
+ "description": "The user that the notification is for.",
5243
+ "type": "string"
5244
+ }
5245
+ },
5246
+ "required": [
5247
+ "payload",
5248
+ "reasons",
5249
+ "timestamp",
5250
+ "type",
5251
+ "userId"
5252
+ ],
5253
+ "type": "object"
5254
+ },
5255
+ "UserNotificationRecord": {
5256
+ "anyOf": [
5257
+ {
5258
+ "$ref": "#/definitions/UserNotificationAssigned"
5259
+ },
5260
+ {
5261
+ "$ref": "#/definitions/UserNotificationUnassigned"
5262
+ },
5263
+ {
5264
+ "$ref": "#/definitions/UserNotificationComment"
5265
+ },
5266
+ {
5267
+ "$ref": "#/definitions/UserNotificationAddedToSearch"
5268
+ },
5269
+ {
5270
+ "$ref": "#/definitions/UserNotificationPublishSucceeded"
5271
+ }
5272
+ ]
5273
+ },
5274
+ "UserNotificationStatusAssignee": {
5275
+ "additionalProperties": false,
5276
+ "properties": {
5277
+ "value": {
5278
+ "description": "Array of user ID:s that was assigned to the assed last time it was\nconsidered for notifications.",
5279
+ "items": {
5280
+ "type": "string"
5281
+ },
5282
+ "type": "array"
5283
+ }
5284
+ },
5285
+ "type": "object"
5286
+ },
5287
+ "UserNotificationStatusComment": {
5288
+ "additionalProperties": false,
5289
+ "properties": {
5290
+ "value": {
5291
+ "anyOf": [
5292
+ {
5293
+ "items": {
5294
+ "type": "string"
5295
+ },
5296
+ "type": "array"
5297
+ },
5298
+ {
5299
+ "const": true,
5300
+ "type": "boolean"
5301
+ }
5302
+ ],
5303
+ "description": "When array of user ID:s: Indicates which users have been considered for\nnotifications about this comment. When `true`: Indicates that we have\nconsidered this comment for notifications, but we don't know which users\nhave been notified."
5304
+ }
5305
+ },
5306
+ "type": "object"
5307
+ },
5308
+ "UserNotificationStatusDomainRecord": {
5309
+ "additionalProperties": false,
5310
+ "properties": {
5311
+ "assignee": {
5312
+ "$ref": "#/definitions/UserNotificationStatusAssignee"
5313
+ },
5314
+ "comment": {
5315
+ "$ref": "#/definitions/UserNotificationStatusComment"
5316
+ },
5317
+ "published": {
5318
+ "$ref": "#/definitions/UserNotificationStatusPublished"
5319
+ }
5320
+ },
5321
+ "type": "object"
5322
+ },
5323
+ "UserNotificationStatusPublished": {
5324
+ "additionalProperties": false,
5325
+ "properties": {
5326
+ "value": {
5327
+ "const": true,
5328
+ "description": "If `true`, this published asset has been considered for notifications.",
5329
+ "type": "boolean"
5330
+ }
5331
+ },
5332
+ "type": "object"
5333
+ },
5334
+ "UserNotificationUnassigned": {
5335
+ "additionalProperties": false,
5336
+ "properties": {
5337
+ "payload": {
5338
+ "additionalProperties": false,
5339
+ "description": "Type specific data.",
5340
+ "properties": {
5341
+ "actionBy": {
5342
+ "type": "string"
5343
+ },
5344
+ "assetId": {
5345
+ "type": "string"
5346
+ }
5347
+ },
5348
+ "required": [
5349
+ "assetId"
5350
+ ],
5351
+ "type": "object"
5352
+ },
5353
+ "reasons": {
5354
+ "description": "For what reasons the notification was created.",
5355
+ "items": {
5356
+ "$ref": "#/definitions/NotificationReason"
5357
+ },
5358
+ "type": "array"
5359
+ },
5360
+ "timestamp": {
5361
+ "description": "When the notification was created.",
5362
+ "type": "string"
5363
+ },
5364
+ "triggerId": {
5365
+ "description": "Asset that triggered this notification. Not necessarily the same asset that\nthe notification is mainly about.",
5366
+ "type": "string"
5367
+ },
5368
+ "type": {
5369
+ "const": "unassigned",
5370
+ "description": "The type of the notification, which will determine the shape of the payload.",
5371
+ "type": "string"
5372
+ },
5373
+ "userId": {
5374
+ "description": "The user that the notification is for.",
5375
+ "type": "string"
5376
+ }
5377
+ },
5378
+ "required": [
5379
+ "payload",
5380
+ "reasons",
5381
+ "timestamp",
5382
+ "type",
5383
+ "userId"
5384
+ ],
5385
+ "type": "object"
5386
+ },
3984
5387
  "Value": {
3985
5388
  "additionalProperties": false,
3986
5389
  "type": "object"