@nxtedition/types 23.0.12 → 23.0.14

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 (43) hide show
  1. package/dist/app.d.ts +61 -1
  2. package/dist/app.js +218 -10
  3. package/dist/common/index.d.ts +1 -0
  4. package/dist/common/index.js +1 -0
  5. package/dist/common/settings.d.ts +37 -6
  6. package/dist/common/settings.js +1474 -535
  7. package/dist/common/user-notification.d.ts +8 -0
  8. package/dist/common/user-notification.js +85 -0
  9. package/dist/domains/asset.d.ts +23 -0
  10. package/dist/domains/asset.js +248 -0
  11. package/dist/domains/comment-reaction.d.ts +15 -0
  12. package/dist/domains/comment-reaction.js +115 -0
  13. package/dist/domains/comment-read-mark.d.ts +15 -0
  14. package/dist/domains/comment-read-mark.js +115 -0
  15. package/dist/domains/comment.d.ts +153 -0
  16. package/dist/domains/comment.js +5730 -0
  17. package/dist/domains/connection.d.ts +1 -1
  18. package/dist/domains/connection.js +118 -118
  19. package/dist/domains/deepstream.d.ts +14 -0
  20. package/dist/domains/deepstream.js +139 -0
  21. package/dist/domains/edit.d.ts +17 -0
  22. package/dist/domains/edit.js +224 -0
  23. package/dist/domains/index.d.ts +17 -1
  24. package/dist/domains/index.js +8 -0
  25. package/dist/domains/planning.d.ts +1 -1
  26. package/dist/domains/planning.js +29 -23
  27. package/dist/domains/publish.d.ts +1 -0
  28. package/dist/domains/publish.js +142 -46
  29. package/dist/domains/published.d.ts +2 -1
  30. package/dist/domains/published.js +50 -10
  31. package/dist/domains/settings.js +1480 -536
  32. package/dist/domains/subtitle-style.d.ts +13 -0
  33. package/dist/domains/subtitle-style.js +123 -0
  34. package/dist/domains/user-notification-status.d.ts +55 -0
  35. package/dist/domains/user-notification-status.js +715 -0
  36. package/dist/domains/user-notification.d.ts +118 -0
  37. package/dist/domains/user-notification.js +3040 -0
  38. package/dist/domains/user.d.ts +42 -8
  39. package/dist/domains/user.js +352 -12
  40. package/dist/index.d.ts +23 -1
  41. package/dist/index.js +30 -13
  42. package/dist/schema.json +1453 -32
  43. 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
  },
@@ -2523,6 +3036,9 @@
2523
3036
  "debug": {
2524
3037
  "type": "boolean"
2525
3038
  },
3039
+ "edit": {
3040
+ "$ref": "#/definitions/PartialObjectDeep<{thumbnailView:\"none\"|\"filmStrip\"|\"thumbnail\";},{}>"
3041
+ },
2526
3042
  "events": {
2527
3043
  "$ref": "#/definitions/PartialObjectDeep<{graphicBaseTemplate?:string;},{}>"
2528
3044
  },
@@ -2559,11 +3075,14 @@
2559
3075
  },
2560
3076
  "keymap": {},
2561
3077
  "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;};};};},{}>"
3078
+ "$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
3079
  },
2564
3080
  "module": {
2565
3081
  "$ref": "#/definitions/PartialObjectDeep<{tabs?:ModuleTabs;},{}>"
2566
3082
  },
3083
+ "notifications": {
3084
+ "$ref": "#/definitions/PartialObjectDeep<{events:{comment:NotificationReason[];assigned:NotificationReason[];unassigned:NotificationReason[];publishSucceeded:{[connectionId:string]:NotificationReason[];};};},{}>"
3085
+ },
2567
3086
  "permission": {
2568
3087
  "$ref": "#/definitions/PartialObjectDeep<{overrideUserContact:boolean;overrideUserLogin:boolean;},{}>"
2569
3088
  },
@@ -2607,6 +3126,11 @@
2607
3126
  },
2608
3127
  "type": "object"
2609
3128
  },
3129
+ "PartialObjectDeep<{[connectionId:string]:NotificationReason[];},{}>": {
3130
+ "additionalProperties": false,
3131
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
3132
+ "type": "object"
3133
+ },
2610
3134
  "PartialObjectDeep<{adobe:{useProxies:boolean;};},{}>": {
2611
3135
  "additionalProperties": false,
2612
3136
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
@@ -2650,6 +3174,34 @@
2650
3174
  },
2651
3175
  "type": "object"
2652
3176
  },
3177
+ "PartialObjectDeep<{comment:NotificationReason[];assigned:NotificationReason[];unassigned:NotificationReason[];publishSucceeded:{[connectionId:string]:NotificationReason[];};},{}>": {
3178
+ "additionalProperties": false,
3179
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
3180
+ "properties": {
3181
+ "assigned": {
3182
+ "items": {
3183
+ "$ref": "#/definitions/NotificationReason"
3184
+ },
3185
+ "type": "array"
3186
+ },
3187
+ "comment": {
3188
+ "items": {
3189
+ "$ref": "#/definitions/NotificationReason"
3190
+ },
3191
+ "type": "array"
3192
+ },
3193
+ "publishSucceeded": {
3194
+ "$ref": "#/definitions/PartialObjectDeep<{[connectionId:string]:NotificationReason[];},{}>"
3195
+ },
3196
+ "unassigned": {
3197
+ "items": {
3198
+ "$ref": "#/definitions/NotificationReason"
3199
+ },
3200
+ "type": "array"
3201
+ }
3202
+ },
3203
+ "type": "object"
3204
+ },
2653
3205
  "PartialObjectDeep<{createMenu:{showPreview:boolean;};colorTags:PromotedTag[];},{}>": {
2654
3206
  "additionalProperties": false,
2655
3207
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
@@ -2714,6 +3266,32 @@
2714
3266
  },
2715
3267
  "type": "object"
2716
3268
  },
3269
+ "PartialObjectDeep<{enabled:boolean;defaultEnterOption:\"none\"|\"edit\"|\"createNew\";defaultExitOption:\"none\"|\"update\"|\"leave\";},{}>": {
3270
+ "additionalProperties": false,
3271
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
3272
+ "properties": {
3273
+ "defaultEnterOption": {
3274
+ "enum": [
3275
+ "createNew",
3276
+ "edit",
3277
+ "none"
3278
+ ],
3279
+ "type": "string"
3280
+ },
3281
+ "defaultExitOption": {
3282
+ "enum": [
3283
+ "leave",
3284
+ "none",
3285
+ "update"
3286
+ ],
3287
+ "type": "string"
3288
+ },
3289
+ "enabled": {
3290
+ "type": "boolean"
3291
+ }
3292
+ },
3293
+ "type": "object"
3294
+ },
2717
3295
  "PartialObjectDeep<{enabled?:false;text?:{language:string;value:string;}[];offset?:number;duration?:number;},{}>": {
2718
3296
  "additionalProperties": false,
2719
3297
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
@@ -2760,6 +3338,16 @@
2760
3338
  },
2761
3339
  "type": "object"
2762
3340
  },
3341
+ "PartialObjectDeep<{events:{comment:NotificationReason[];assigned:NotificationReason[];unassigned:NotificationReason[];publishSucceeded:{[connectionId:string]:NotificationReason[];};};},{}>": {
3342
+ "additionalProperties": false,
3343
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
3344
+ "properties": {
3345
+ "events": {
3346
+ "$ref": "#/definitions/PartialObjectDeep<{comment:NotificationReason[];assigned:NotificationReason[];unassigned:NotificationReason[];publishSucceeded:{[connectionId:string]:NotificationReason[];};},{}>"
3347
+ }
3348
+ },
3349
+ "type": "object"
3350
+ },
2763
3351
  "PartialObjectDeep<{excerpt:{maxLines:number;mode:string;};},{}>": {
2764
3352
  "additionalProperties": false,
2765
3353
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
@@ -2863,12 +3451,18 @@
2863
3451
  },
2864
3452
  "type": "object"
2865
3453
  },
2866
- "PartialObjectDeep<{mask?:boolean;},{}>": {
3454
+ "PartialObjectDeep<{mask?:boolean;actionSafe?:boolean;titleSafe?:boolean;},{}>": {
2867
3455
  "additionalProperties": false,
2868
3456
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
2869
3457
  "properties": {
3458
+ "actionSafe": {
3459
+ "type": "boolean"
3460
+ },
2870
3461
  "mask": {
2871
3462
  "type": "boolean"
3463
+ },
3464
+ "titleSafe": {
3465
+ "type": "boolean"
2872
3466
  }
2873
3467
  },
2874
3468
  "type": "object"
@@ -2942,18 +3536,21 @@
2942
3536
  },
2943
3537
  "type": "object"
2944
3538
  },
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;};};};},{}>": {
3539
+ "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
3540
  "additionalProperties": false,
2947
3541
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
2948
3542
  "properties": {
2949
3543
  "download": {
2950
3544
  "type": "boolean"
2951
3545
  },
3546
+ "editMode": {
3547
+ "$ref": "#/definitions/PartialObjectDeep<{enabled:boolean;defaultEnterOption:\"none\"|\"edit\"|\"createNew\";defaultExitOption:\"none\"|\"update\"|\"leave\";},{}>"
3548
+ },
2952
3549
  "forwardStep": {
2953
3550
  "type": "number"
2954
3551
  },
2955
3552
  "guide": {
2956
- "$ref": "#/definitions/PartialObjectDeep<{mask?:boolean;},{}>"
3553
+ "$ref": "#/definitions/PartialObjectDeep<{mask?:boolean;actionSafe?:boolean;titleSafe?:boolean;},{}>"
2957
3554
  },
2958
3555
  "guides": {
2959
3556
  "items": {
@@ -2990,7 +3587,15 @@
2990
3587
  "type": "number"
2991
3588
  },
2992
3589
  "openCommand": {
2993
- "type": "string"
3590
+ "anyOf": [
3591
+ {
3592
+ "$ref": "#/definitions/PartialObjectDeep<{url?:string;command?:string;app?:string;args?:string[];},{}>",
3593
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`."
3594
+ },
3595
+ {
3596
+ "type": "string"
3597
+ }
3598
+ ]
2994
3599
  },
2995
3600
  "placeholder": {
2996
3601
  "type": "string"
@@ -3127,6 +3732,43 @@
3127
3732
  },
3128
3733
  "type": "object"
3129
3734
  },
3735
+ "PartialObjectDeep<{thumbnailView:\"none\"|\"filmStrip\"|\"thumbnail\";},{}>": {
3736
+ "additionalProperties": false,
3737
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
3738
+ "properties": {
3739
+ "thumbnailView": {
3740
+ "enum": [
3741
+ "filmStrip",
3742
+ "none",
3743
+ "thumbnail"
3744
+ ],
3745
+ "type": "string"
3746
+ }
3747
+ },
3748
+ "type": "object"
3749
+ },
3750
+ "PartialObjectDeep<{url?:string;command?:string;app?:string;args?:string[];},{}>": {
3751
+ "additionalProperties": false,
3752
+ "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
3753
+ "properties": {
3754
+ "app": {
3755
+ "type": "string"
3756
+ },
3757
+ "args": {
3758
+ "items": {
3759
+ "type": "string"
3760
+ },
3761
+ "type": "array"
3762
+ },
3763
+ "command": {
3764
+ "type": "string"
3765
+ },
3766
+ "url": {
3767
+ "type": "string"
3768
+ }
3769
+ },
3770
+ "type": "object"
3771
+ },
3130
3772
  "PartialObjectDeep<{useProxies:boolean;},{}>": {
3131
3773
  "additionalProperties": false,
3132
3774
  "description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
@@ -3291,9 +3933,6 @@
3291
3933
  "type": "array"
3292
3934
  }
3293
3935
  },
3294
- "required": [
3295
- "value"
3296
- ],
3297
3936
  "type": "object"
3298
3937
  },
3299
3938
  "PlanningDeadlineRecord": {
@@ -3393,11 +4032,17 @@
3393
4032
  "additionalProperties": false,
3394
4033
  "properties": {
3395
4034
  "asset": {
3396
- "type": "string"
4035
+ "items": {
4036
+ "type": "string"
4037
+ },
4038
+ "type": "array"
3397
4039
  },
3398
4040
  "connection": {
3399
4041
  "type": "string"
3400
4042
  },
4043
+ "error": {
4044
+ "type": "boolean"
4045
+ },
3401
4046
  "parent": {
3402
4047
  "type": "string"
3403
4048
  },
@@ -3452,12 +4097,53 @@
3452
4097
  "additionalProperties": false,
3453
4098
  "type": "object"
3454
4099
  },
4100
+ "Record<string,{to:{synced?:boolean;since?:string|0;};from:{since?:string|0;};}>": {
4101
+ "additionalProperties": false,
4102
+ "type": "object"
4103
+ },
3455
4104
  "Records": {
3456
4105
  "additionalProperties": false,
3457
4106
  "properties": {
3458
4107
  ":permission": {
3459
4108
  "$ref": "#/definitions/DomainRows"
3460
4109
  },
4110
+ "asset-daemon": {
4111
+ "additionalProperties": false,
4112
+ "properties": {
4113
+ "user-notify": {
4114
+ "type": "boolean"
4115
+ }
4116
+ },
4117
+ "type": "object"
4118
+ },
4119
+ "asset-daemon:user-notify.state": {
4120
+ "additionalProperties": false,
4121
+ "properties": {
4122
+ "error": {
4123
+ "additionalProperties": true,
4124
+ "properties": {},
4125
+ "type": "object"
4126
+ },
4127
+ "since": {
4128
+ "anyOf": [
4129
+ {
4130
+ "const": 0,
4131
+ "type": "number"
4132
+ },
4133
+ {
4134
+ "type": "string"
4135
+ }
4136
+ ]
4137
+ },
4138
+ "status": {
4139
+ "type": "string"
4140
+ },
4141
+ "version": {
4142
+ "type": "number"
4143
+ }
4144
+ },
4145
+ "type": "object"
4146
+ },
3461
4147
  "asset.assignees": {
3462
4148
  "additionalProperties": false,
3463
4149
  "properties": {
@@ -3609,6 +4295,18 @@
3609
4295
  },
3610
4296
  "type": "object"
3611
4297
  },
4298
+ "deepstream-replicator.stats?": {
4299
+ "additionalProperties": false,
4300
+ "properties": {
4301
+ "replicators": {
4302
+ "$ref": "#/definitions/Record<string,{to:{synced?:boolean;since?:string|0;};from:{since?:string|0;};}>"
4303
+ },
4304
+ "synced": {
4305
+ "type": "boolean"
4306
+ }
4307
+ },
4308
+ "type": "object"
4309
+ },
3612
4310
  "hub-transcribe:render-profile": {
3613
4311
  "additionalProperties": false,
3614
4312
  "properties": {
@@ -3693,6 +4391,8 @@
3693
4391
  },
3694
4392
  "required": [
3695
4393
  ":permission",
4394
+ "asset-daemon",
4395
+ "asset-daemon:user-notify.state",
3696
4396
  "asset.assignees",
3697
4397
  "asset.clone",
3698
4398
  "asset.deadlines",
@@ -3704,6 +4404,7 @@
3704
4404
  "asset.tags",
3705
4405
  "asset.title",
3706
4406
  "asset.types",
4407
+ "deepstream-replicator.stats?",
3707
4408
  "hub-transcribe:render-profile",
3708
4409
  "media.consolidate",
3709
4410
  "media.subtitles?",
@@ -3807,12 +4508,12 @@
3807
4508
  "clientSecret": {
3808
4509
  "type": "string"
3809
4510
  },
3810
- "notifyOnPublish": {
3811
- "type": "boolean"
3812
- },
3813
4511
  "type": {
3814
4512
  "const": "reuters",
3815
4513
  "type": "string"
4514
+ },
4515
+ "userNotificationsEnabled": {
4516
+ "type": "boolean"
3816
4517
  }
3817
4518
  },
3818
4519
  "required": [
@@ -3864,6 +4565,75 @@
3864
4565
  ],
3865
4566
  "type": "object"
3866
4567
  },
4568
+ "SaveDialogOptions": {
4569
+ "additionalProperties": false,
4570
+ "properties": {
4571
+ "buttonLabel": {
4572
+ "type": "string"
4573
+ },
4574
+ "defaultDirectory": {
4575
+ "type": "string"
4576
+ },
4577
+ "defaultFilename": {
4578
+ "type": "string"
4579
+ },
4580
+ "defaultPath": {
4581
+ "description": "If present, defaultDirectory and defaultFilename will be ignored.",
4582
+ "type": "string"
4583
+ },
4584
+ "filters": {
4585
+ "items": {
4586
+ "additionalProperties": false,
4587
+ "properties": {
4588
+ "extensions": {
4589
+ "items": {
4590
+ "type": "string"
4591
+ },
4592
+ "type": "array"
4593
+ },
4594
+ "name": {
4595
+ "type": "string"
4596
+ }
4597
+ },
4598
+ "required": [
4599
+ "extensions",
4600
+ "name"
4601
+ ],
4602
+ "type": "object"
4603
+ },
4604
+ "type": "array"
4605
+ },
4606
+ "message": {
4607
+ "type": "string"
4608
+ },
4609
+ "nameFieldLabel": {
4610
+ "type": "string"
4611
+ },
4612
+ "properties": {
4613
+ "items": {
4614
+ "enum": [
4615
+ "createDirectory",
4616
+ "dontAddToRecent",
4617
+ "showHiddenFiles",
4618
+ "showOverwriteConfirmation",
4619
+ "treatPackageAsDirectory"
4620
+ ],
4621
+ "type": "string"
4622
+ },
4623
+ "type": "array"
4624
+ },
4625
+ "securityScopedBookmarks": {
4626
+ "type": "boolean"
4627
+ },
4628
+ "showsTagField": {
4629
+ "type": "boolean"
4630
+ },
4631
+ "title": {
4632
+ "type": "string"
4633
+ }
4634
+ },
4635
+ "type": "object"
4636
+ },
3867
4637
  "ScriptChildrenRecord": {
3868
4638
  "additionalProperties": false,
3869
4639
  "properties": {
@@ -3900,16 +4670,269 @@
3900
4670
  ],
3901
4671
  "type": "object"
3902
4672
  },
3903
- "StoryboardDomainPipelinesRecord": {
4673
+ "SerializedAutoLinkNode": {
3904
4674
  "additionalProperties": false,
3905
4675
  "properties": {
3906
- "value": {
3907
- "items": {
3908
- "type": "string"
3909
- },
3910
- "type": "array"
3911
- }
4676
+ "type": {
4677
+ "const": "autolink",
4678
+ "type": "string"
4679
+ },
4680
+ "url": {
4681
+ "type": "string"
4682
+ },
4683
+ "version": {
4684
+ "const": 1,
4685
+ "type": "number"
4686
+ }
4687
+ },
4688
+ "required": [
4689
+ "type",
4690
+ "url",
4691
+ "version"
4692
+ ],
4693
+ "type": "object"
4694
+ },
4695
+ "SerializedEmojiNode": {
4696
+ "additionalProperties": false,
4697
+ "properties": {
4698
+ "emojiId": {
4699
+ "type": "string"
4700
+ },
4701
+ "type": {
4702
+ "const": "emoji",
4703
+ "type": "string"
4704
+ },
4705
+ "version": {
4706
+ "const": 1,
4707
+ "type": "number"
4708
+ }
4709
+ },
4710
+ "required": [
4711
+ "emojiId",
4712
+ "type",
4713
+ "version"
4714
+ ],
4715
+ "type": "object"
4716
+ },
4717
+ "SerializedLineBreakNode": {
4718
+ "additionalProperties": false,
4719
+ "properties": {
4720
+ "type": {
4721
+ "const": "linebreak",
4722
+ "type": "string"
4723
+ },
4724
+ "version": {
4725
+ "const": 1,
4726
+ "type": "number"
4727
+ }
4728
+ },
4729
+ "required": [
4730
+ "type",
4731
+ "version"
4732
+ ],
4733
+ "type": "object"
4734
+ },
4735
+ "SerializedMentionNode": {
4736
+ "additionalProperties": false,
4737
+ "properties": {
4738
+ "detail": {
4739
+ "type": "number"
4740
+ },
4741
+ "format": {
4742
+ "type": "number"
4743
+ },
4744
+ "mentionId": {
4745
+ "type": "string"
4746
+ },
4747
+ "mode": {
4748
+ "type": "string"
4749
+ },
4750
+ "style": {
4751
+ "type": "string"
4752
+ },
4753
+ "text": {
4754
+ "type": "string"
4755
+ },
4756
+ "type": {
4757
+ "const": "mention",
4758
+ "type": "string"
4759
+ },
4760
+ "version": {
4761
+ "const": 1,
4762
+ "type": "number"
4763
+ }
4764
+ },
4765
+ "required": [
4766
+ "detail",
4767
+ "format",
4768
+ "mentionId",
4769
+ "mode",
4770
+ "style",
4771
+ "text",
4772
+ "type",
4773
+ "version"
4774
+ ],
4775
+ "type": "object"
4776
+ },
4777
+ "SerializedNode": {
4778
+ "anyOf": [
4779
+ {
4780
+ "$ref": "#/definitions/SerializedRootNode"
4781
+ },
4782
+ {
4783
+ "$ref": "#/definitions/SerializedParagraphNode"
4784
+ },
4785
+ {
4786
+ "$ref": "#/definitions/SerializedTextNode"
4787
+ },
4788
+ {
4789
+ "$ref": "#/definitions/SerializedLineBreakNode"
4790
+ },
4791
+ {
4792
+ "$ref": "#/definitions/SerializedMentionNode"
4793
+ },
4794
+ {
4795
+ "$ref": "#/definitions/SerializedEmojiNode"
4796
+ },
4797
+ {
4798
+ "$ref": "#/definitions/SerializedAutoLinkNode"
4799
+ }
4800
+ ]
4801
+ },
4802
+ "SerializedParagraphNode": {
4803
+ "additionalProperties": false,
4804
+ "properties": {
4805
+ "children": {
4806
+ "items": {
4807
+ "$ref": "#/definitions/SerializedNode"
4808
+ },
4809
+ "type": "array"
4810
+ },
4811
+ "direction": {
4812
+ "type": "string"
4813
+ },
4814
+ "format": {
4815
+ "type": "string"
4816
+ },
4817
+ "indent": {
4818
+ "type": "number"
4819
+ },
4820
+ "textFormat": {
4821
+ "type": "number"
4822
+ },
4823
+ "textStyle": {
4824
+ "type": "string"
4825
+ },
4826
+ "type": {
4827
+ "const": "paragraph",
4828
+ "type": "string"
4829
+ },
4830
+ "version": {
4831
+ "const": 1,
4832
+ "type": "number"
4833
+ }
3912
4834
  },
4835
+ "required": [
4836
+ "children",
4837
+ "direction",
4838
+ "format",
4839
+ "indent",
4840
+ "textFormat",
4841
+ "textStyle",
4842
+ "type",
4843
+ "version"
4844
+ ],
4845
+ "type": "object"
4846
+ },
4847
+ "SerializedRootNode": {
4848
+ "additionalProperties": false,
4849
+ "properties": {
4850
+ "children": {
4851
+ "items": {
4852
+ "$ref": "#/definitions/SerializedNode"
4853
+ },
4854
+ "type": "array"
4855
+ },
4856
+ "direction": {
4857
+ "type": "string"
4858
+ },
4859
+ "format": {
4860
+ "type": "string"
4861
+ },
4862
+ "indent": {
4863
+ "type": "number"
4864
+ },
4865
+ "type": {
4866
+ "const": "root",
4867
+ "type": "string"
4868
+ },
4869
+ "version": {
4870
+ "const": 1,
4871
+ "type": "number"
4872
+ }
4873
+ },
4874
+ "required": [
4875
+ "children",
4876
+ "direction",
4877
+ "format",
4878
+ "indent",
4879
+ "type",
4880
+ "version"
4881
+ ],
4882
+ "type": "object"
4883
+ },
4884
+ "SerializedTextNode": {
4885
+ "additionalProperties": false,
4886
+ "properties": {
4887
+ "detail": {
4888
+ "type": "number"
4889
+ },
4890
+ "format": {
4891
+ "type": "number"
4892
+ },
4893
+ "mode": {
4894
+ "type": "string"
4895
+ },
4896
+ "style": {
4897
+ "type": "string"
4898
+ },
4899
+ "text": {
4900
+ "type": "string"
4901
+ },
4902
+ "type": {
4903
+ "const": "text",
4904
+ "type": "string"
4905
+ },
4906
+ "version": {
4907
+ "const": 1,
4908
+ "type": "number"
4909
+ }
4910
+ },
4911
+ "required": [
4912
+ "detail",
4913
+ "format",
4914
+ "mode",
4915
+ "style",
4916
+ "text",
4917
+ "type",
4918
+ "version"
4919
+ ],
4920
+ "type": "object"
4921
+ },
4922
+ "StoryboardDomainPipelinesRecord": {
4923
+ "additionalProperties": false,
4924
+ "properties": {
4925
+ "value": {
4926
+ "items": {
4927
+ "type": "string"
4928
+ },
4929
+ "type": "array"
4930
+ }
4931
+ },
4932
+ "type": "object"
4933
+ },
4934
+ "SubtitleStyleDomainRecord": {
4935
+ "additionalProperties": {},
3913
4936
  "type": "object"
3914
4937
  },
3915
4938
  "TagPermission": {
@@ -3966,7 +4989,29 @@
3966
4989
  ],
3967
4990
  "type": "object"
3968
4991
  },
3969
- "UserRecord": {
4992
+ "UserDomainLatestSeenNotificationRecord": {
4993
+ "additionalProperties": false,
4994
+ "properties": {
4995
+ "value": {
4996
+ "type": "string"
4997
+ }
4998
+ },
4999
+ "type": "object"
5000
+ },
5001
+ "UserDomainReceivedNotificationsProvidedRecord": {
5002
+ "additionalProperties": false,
5003
+ "properties": {
5004
+ "value": {
5005
+ "description": "IDs of notifications the user has received.",
5006
+ "items": {
5007
+ "type": "string"
5008
+ },
5009
+ "type": "array"
5010
+ }
5011
+ },
5012
+ "type": "object"
5013
+ },
5014
+ "UserDomainRecord": {
3970
5015
  "additionalProperties": false,
3971
5016
  "properties": {
3972
5017
  "roles": {
@@ -3981,6 +5026,382 @@
3981
5026
  },
3982
5027
  "type": "object"
3983
5028
  },
5029
+ "UserDomainUnseenNotificationsRecord": {
5030
+ "additionalProperties": false,
5031
+ "properties": {
5032
+ "hasUnseen": {
5033
+ "type": "boolean"
5034
+ },
5035
+ "latestReceived": {
5036
+ "type": "string"
5037
+ }
5038
+ },
5039
+ "type": "object"
5040
+ },
5041
+ "UserNotificationAddedToSearch": {
5042
+ "additionalProperties": false,
5043
+ "properties": {
5044
+ "payload": {
5045
+ "additionalProperties": false,
5046
+ "description": "Type specific data.",
5047
+ "properties": {
5048
+ "assetId": {
5049
+ "type": "string"
5050
+ },
5051
+ "searchId": {
5052
+ "type": "string"
5053
+ }
5054
+ },
5055
+ "required": [
5056
+ "assetId",
5057
+ "searchId"
5058
+ ],
5059
+ "type": "object"
5060
+ },
5061
+ "reasons": {
5062
+ "description": "For what reasons the notification was created.",
5063
+ "items": {
5064
+ "$ref": "#/definitions/NotificationReason"
5065
+ },
5066
+ "type": "array"
5067
+ },
5068
+ "timestamp": {
5069
+ "description": "When the notification was created.",
5070
+ "type": "string"
5071
+ },
5072
+ "triggerId": {
5073
+ "description": "Asset that triggered this notification. Not necessarily the same asset that\nthe notification is mainly about.",
5074
+ "type": "string"
5075
+ },
5076
+ "type": {
5077
+ "const": "added-to-search",
5078
+ "description": "The type of the notification, which will determine the shape of the payload.",
5079
+ "type": "string"
5080
+ },
5081
+ "userId": {
5082
+ "description": "The user that the notification is for.",
5083
+ "type": "string"
5084
+ }
5085
+ },
5086
+ "required": [
5087
+ "payload",
5088
+ "reasons",
5089
+ "timestamp",
5090
+ "type",
5091
+ "userId"
5092
+ ],
5093
+ "type": "object"
5094
+ },
5095
+ "UserNotificationAssigned": {
5096
+ "additionalProperties": false,
5097
+ "properties": {
5098
+ "payload": {
5099
+ "additionalProperties": false,
5100
+ "description": "Type specific data.",
5101
+ "properties": {
5102
+ "actionBy": {
5103
+ "type": "string"
5104
+ },
5105
+ "assetId": {
5106
+ "type": "string"
5107
+ }
5108
+ },
5109
+ "required": [
5110
+ "assetId"
5111
+ ],
5112
+ "type": "object"
5113
+ },
5114
+ "reasons": {
5115
+ "description": "For what reasons the notification was created.",
5116
+ "items": {
5117
+ "$ref": "#/definitions/NotificationReason"
5118
+ },
5119
+ "type": "array"
5120
+ },
5121
+ "timestamp": {
5122
+ "description": "When the notification was created.",
5123
+ "type": "string"
5124
+ },
5125
+ "triggerId": {
5126
+ "description": "Asset that triggered this notification. Not necessarily the same asset that\nthe notification is mainly about.",
5127
+ "type": "string"
5128
+ },
5129
+ "type": {
5130
+ "const": "assigned",
5131
+ "description": "The type of the notification, which will determine the shape of the payload.",
5132
+ "type": "string"
5133
+ },
5134
+ "userId": {
5135
+ "description": "The user that the notification is for.",
5136
+ "type": "string"
5137
+ }
5138
+ },
5139
+ "required": [
5140
+ "payload",
5141
+ "reasons",
5142
+ "timestamp",
5143
+ "type",
5144
+ "userId"
5145
+ ],
5146
+ "type": "object"
5147
+ },
5148
+ "UserNotificationComment": {
5149
+ "additionalProperties": false,
5150
+ "properties": {
5151
+ "payload": {
5152
+ "additionalProperties": false,
5153
+ "description": "Type specific data.",
5154
+ "properties": {
5155
+ "commentId": {
5156
+ "type": "string"
5157
+ }
5158
+ },
5159
+ "required": [
5160
+ "commentId"
5161
+ ],
5162
+ "type": "object"
5163
+ },
5164
+ "reasons": {
5165
+ "description": "For what reasons the notification was created.",
5166
+ "items": {
5167
+ "$ref": "#/definitions/NotificationReason"
5168
+ },
5169
+ "type": "array"
5170
+ },
5171
+ "timestamp": {
5172
+ "description": "When the notification was created.",
5173
+ "type": "string"
5174
+ },
5175
+ "triggerId": {
5176
+ "description": "Asset that triggered this notification. Not necessarily the same asset that\nthe notification is mainly about.",
5177
+ "type": "string"
5178
+ },
5179
+ "type": {
5180
+ "const": "comment",
5181
+ "description": "The type of the notification, which will determine the shape of the payload.",
5182
+ "type": "string"
5183
+ },
5184
+ "userId": {
5185
+ "description": "The user that the notification is for.",
5186
+ "type": "string"
5187
+ }
5188
+ },
5189
+ "required": [
5190
+ "payload",
5191
+ "reasons",
5192
+ "timestamp",
5193
+ "type",
5194
+ "userId"
5195
+ ],
5196
+ "type": "object"
5197
+ },
5198
+ "UserNotificationDomainReadAtRecord": {
5199
+ "additionalProperties": false,
5200
+ "properties": {
5201
+ "value": {
5202
+ "description": "ISO8601 date string. If set, the user has marked the notification as read at that timestamp.",
5203
+ "type": "string"
5204
+ }
5205
+ },
5206
+ "type": "object"
5207
+ },
5208
+ "UserNotificationPublishSucceeded": {
5209
+ "additionalProperties": false,
5210
+ "properties": {
5211
+ "payload": {
5212
+ "additionalProperties": false,
5213
+ "description": "Type specific data.",
5214
+ "properties": {
5215
+ "assetId": {
5216
+ "description": "The asset that was published.",
5217
+ "type": "string"
5218
+ },
5219
+ "connectionId": {
5220
+ "description": "The connection that was used to publish the asset.",
5221
+ "type": "string"
5222
+ },
5223
+ "publishId": {
5224
+ "description": "The publish asset representing the publish.",
5225
+ "type": "string"
5226
+ },
5227
+ "userId": {
5228
+ "description": "The user that published the asset.",
5229
+ "type": "string"
5230
+ }
5231
+ },
5232
+ "required": [
5233
+ "assetId",
5234
+ "connectionId",
5235
+ "publishId"
5236
+ ],
5237
+ "type": "object"
5238
+ },
5239
+ "reasons": {
5240
+ "description": "For what reasons the notification was created.",
5241
+ "items": {
5242
+ "$ref": "#/definitions/NotificationReason"
5243
+ },
5244
+ "type": "array"
5245
+ },
5246
+ "timestamp": {
5247
+ "description": "When the notification was created.",
5248
+ "type": "string"
5249
+ },
5250
+ "triggerId": {
5251
+ "description": "Asset that triggered this notification. Not necessarily the same asset that\nthe notification is mainly about.",
5252
+ "type": "string"
5253
+ },
5254
+ "type": {
5255
+ "const": "publishSucceeded",
5256
+ "description": "The type of the notification, which will determine the shape of the payload.",
5257
+ "type": "string"
5258
+ },
5259
+ "userId": {
5260
+ "description": "The user that the notification is for.",
5261
+ "type": "string"
5262
+ }
5263
+ },
5264
+ "required": [
5265
+ "payload",
5266
+ "reasons",
5267
+ "timestamp",
5268
+ "type",
5269
+ "userId"
5270
+ ],
5271
+ "type": "object"
5272
+ },
5273
+ "UserNotificationRecord": {
5274
+ "anyOf": [
5275
+ {
5276
+ "$ref": "#/definitions/UserNotificationAssigned"
5277
+ },
5278
+ {
5279
+ "$ref": "#/definitions/UserNotificationUnassigned"
5280
+ },
5281
+ {
5282
+ "$ref": "#/definitions/UserNotificationComment"
5283
+ },
5284
+ {
5285
+ "$ref": "#/definitions/UserNotificationAddedToSearch"
5286
+ },
5287
+ {
5288
+ "$ref": "#/definitions/UserNotificationPublishSucceeded"
5289
+ }
5290
+ ]
5291
+ },
5292
+ "UserNotificationStatusAssignee": {
5293
+ "additionalProperties": false,
5294
+ "properties": {
5295
+ "value": {
5296
+ "description": "Array of user ID:s that was assigned to the assed last time it was\nconsidered for notifications.",
5297
+ "items": {
5298
+ "type": "string"
5299
+ },
5300
+ "type": "array"
5301
+ }
5302
+ },
5303
+ "type": "object"
5304
+ },
5305
+ "UserNotificationStatusComment": {
5306
+ "additionalProperties": false,
5307
+ "properties": {
5308
+ "value": {
5309
+ "anyOf": [
5310
+ {
5311
+ "items": {
5312
+ "type": "string"
5313
+ },
5314
+ "type": "array"
5315
+ },
5316
+ {
5317
+ "const": true,
5318
+ "type": "boolean"
5319
+ }
5320
+ ],
5321
+ "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."
5322
+ }
5323
+ },
5324
+ "type": "object"
5325
+ },
5326
+ "UserNotificationStatusDomainRecord": {
5327
+ "additionalProperties": false,
5328
+ "properties": {
5329
+ "assignee": {
5330
+ "$ref": "#/definitions/UserNotificationStatusAssignee"
5331
+ },
5332
+ "comment": {
5333
+ "$ref": "#/definitions/UserNotificationStatusComment"
5334
+ },
5335
+ "published": {
5336
+ "$ref": "#/definitions/UserNotificationStatusPublished"
5337
+ }
5338
+ },
5339
+ "type": "object"
5340
+ },
5341
+ "UserNotificationStatusPublished": {
5342
+ "additionalProperties": false,
5343
+ "properties": {
5344
+ "value": {
5345
+ "const": true,
5346
+ "description": "If `true`, this published asset has been considered for notifications.",
5347
+ "type": "boolean"
5348
+ }
5349
+ },
5350
+ "type": "object"
5351
+ },
5352
+ "UserNotificationUnassigned": {
5353
+ "additionalProperties": false,
5354
+ "properties": {
5355
+ "payload": {
5356
+ "additionalProperties": false,
5357
+ "description": "Type specific data.",
5358
+ "properties": {
5359
+ "actionBy": {
5360
+ "type": "string"
5361
+ },
5362
+ "assetId": {
5363
+ "type": "string"
5364
+ }
5365
+ },
5366
+ "required": [
5367
+ "assetId"
5368
+ ],
5369
+ "type": "object"
5370
+ },
5371
+ "reasons": {
5372
+ "description": "For what reasons the notification was created.",
5373
+ "items": {
5374
+ "$ref": "#/definitions/NotificationReason"
5375
+ },
5376
+ "type": "array"
5377
+ },
5378
+ "timestamp": {
5379
+ "description": "When the notification was created.",
5380
+ "type": "string"
5381
+ },
5382
+ "triggerId": {
5383
+ "description": "Asset that triggered this notification. Not necessarily the same asset that\nthe notification is mainly about.",
5384
+ "type": "string"
5385
+ },
5386
+ "type": {
5387
+ "const": "unassigned",
5388
+ "description": "The type of the notification, which will determine the shape of the payload.",
5389
+ "type": "string"
5390
+ },
5391
+ "userId": {
5392
+ "description": "The user that the notification is for.",
5393
+ "type": "string"
5394
+ }
5395
+ },
5396
+ "required": [
5397
+ "payload",
5398
+ "reasons",
5399
+ "timestamp",
5400
+ "type",
5401
+ "userId"
5402
+ ],
5403
+ "type": "object"
5404
+ },
3984
5405
  "Value": {
3985
5406
  "additionalProperties": false,
3986
5407
  "type": "object"