@segmentstream/ontology 0.180.0 → 0.182.0

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 (50) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/agent-chat.d.ts +2 -2
  3. package/dist/agent-chat.js +2 -1
  4. package/dist/agent-draft.d.ts +8 -8
  5. package/dist/analyze.d.ts +1 -8
  6. package/dist/analyze.js +108 -52
  7. package/dist/index.d.ts +1 -1
  8. package/dist/manifest.d.ts +110 -68
  9. package/dist/manifest.js +24 -2
  10. package/dist/migrate/model.d.ts +78 -50
  11. package/dist/review.d.ts +46 -0
  12. package/dist/review.js +47 -0
  13. package/dist/runtime/agent-web.js +47 -26
  14. package/dist/runtime/agents.js +53 -4
  15. package/dist/runtime/guests.d.ts +4 -1
  16. package/dist/runtime/guests.js +24 -5
  17. package/dist/service/agent/protocol.d.ts +51 -0
  18. package/dist/service/agent/protocol.js +66 -1
  19. package/dist/service/agent/server.d.ts +8 -2
  20. package/dist/service/agent/server.js +208 -48
  21. package/dist/service/authentication.js +14 -3
  22. package/dist/service/chat/archive.d.ts +8 -1
  23. package/dist/service/chat/delivery.js +3 -1
  24. package/dist/service/chat/envelope.d.ts +8 -8
  25. package/dist/service/chat/local-reads.d.ts +5 -5
  26. package/dist/service/chat/providers/custom.js +2 -0
  27. package/dist/service/chat/providers/provider.d.ts +5 -0
  28. package/dist/service/chat/reply-proposal.d.ts +122 -0
  29. package/dist/service/chat/reply-proposal.js +385 -0
  30. package/dist/service/chat/review-delivery.d.ts +131 -24
  31. package/dist/service/chat/review-delivery.js +393 -296
  32. package/dist/service/chat/store-delivery.d.ts +27 -5
  33. package/dist/service/chat/store-delivery.js +45 -33
  34. package/dist/service/discovery-search.d.ts +1 -1
  35. package/dist/service/operations.js +2 -1
  36. package/dist/service/runtime-contract.d.ts +33 -1
  37. package/dist/service/runtime-identity.d.ts +1 -0
  38. package/dist/service/runtime-identity.js +2 -0
  39. package/dist/service/schemas.d.ts +4 -0
  40. package/dist/service/service.js +12 -14
  41. package/dist/service/toolsets.d.ts +1 -1
  42. package/dist/service/toolsets.js +38 -4
  43. package/dist/sign-in.d.ts +14 -7
  44. package/dist/sign-in.js +4 -3
  45. package/dist/toolset.d.ts +17 -1
  46. package/dist/workspace-channel.d.ts +6 -0
  47. package/dist/workspace-channel.js +27 -0
  48. package/package.json +5 -1
  49. package/dist/service/agent/public-group-action.d.ts +0 -23
  50. package/dist/service/agent/public-group-action.js +0 -53
@@ -347,9 +347,9 @@ export declare const MigrationPlan: Schema.Struct<{
347
347
  readonly entity: string;
348
348
  readonly property: string;
349
349
  }[] | undefined;
350
+ readonly connections?: readonly string[] | undefined;
350
351
  readonly retryOnDeadlock?: boolean | undefined;
351
352
  readonly writes?: readonly string[] | undefined;
352
- readonly connections?: readonly string[] | undefined;
353
353
  readonly hints?: {
354
354
  readonly readOnly?: boolean | undefined;
355
355
  readonly connectionsReadOnly?: boolean | undefined;
@@ -388,7 +388,6 @@ export declare const MigrationPlan: Schema.Struct<{
388
388
  readonly unlink?: string | undefined;
389
389
  } | undefined;
390
390
  readonly renamedFrom?: string | undefined;
391
- readonly writes?: "actions" | undefined;
392
391
  readonly source?: {
393
392
  readonly key: readonly string[];
394
393
  readonly asset: string;
@@ -404,6 +403,7 @@ export declare const MigrationPlan: Schema.Struct<{
404
403
  readonly balanceOver?: string | undefined;
405
404
  }[] | undefined;
406
405
  readonly guide?: string | undefined;
406
+ readonly writes?: "actions" | undefined;
407
407
  readonly eraseFromWarehouseOnDelete?: true | undefined;
408
408
  }[];
409
409
  readonly chat?: {
@@ -454,11 +454,13 @@ export declare const MigrationPlan: Schema.Struct<{
454
454
  readonly workflows?: readonly {
455
455
  readonly description: string;
456
456
  readonly name: string;
457
+ readonly connections: readonly string[];
457
458
  readonly input: {
458
459
  readonly [x: string]: Schema.Json;
459
460
  };
460
- readonly connections: readonly string[];
461
461
  readonly triggers: readonly ({
462
+ readonly [x: string]: Schema.Json;
463
+ } | {
462
464
  readonly kind: "cron";
463
465
  readonly name: string;
464
466
  readonly description: string;
@@ -491,13 +493,12 @@ export declare const MigrationPlan: Schema.Struct<{
491
493
  } | undefined;
492
494
  readonly timestamp?: {
493
495
  readonly unit?: string | undefined;
494
- readonly header?: string | undefined;
495
496
  readonly entry?: string | undefined;
496
497
  readonly tolerance?: number | undefined;
498
+ readonly header?: string | undefined;
497
499
  } | undefined;
498
500
  readonly generated?: true | undefined;
499
501
  readonly input?: string | undefined;
500
- readonly secret?: string | undefined;
501
502
  readonly algorithm?: string | undefined;
502
503
  readonly encoding?: string | undefined;
503
504
  readonly signatures?: {
@@ -509,14 +510,13 @@ export declare const MigrationPlan: Schema.Struct<{
509
510
  } | undefined;
510
511
  readonly prefix?: string | undefined;
511
512
  } | undefined;
513
+ readonly secret?: string | undefined;
512
514
  } | undefined;
513
515
  readonly verification?: {
514
516
  readonly scheme: string;
515
517
  readonly input?: string | undefined;
516
518
  readonly verifyToken?: string | undefined;
517
519
  } | undefined;
518
- } | {
519
- readonly [x: string]: Schema.Json;
520
520
  })[];
521
521
  readonly role: string;
522
522
  readonly action?: {
@@ -557,6 +557,10 @@ export declare const MigrationPlan: Schema.Struct<{
557
557
  readonly guest?: {
558
558
  readonly channels: readonly string[];
559
559
  readonly origins: readonly string[];
560
+ readonly openOnInvite?: readonly string[] | undefined;
561
+ readonly byChannel?: {
562
+ readonly [x: string]: readonly string[];
563
+ } | undefined;
560
564
  readonly botCheck?: {
561
565
  readonly scheme: string;
562
566
  readonly connection?: string | undefined;
@@ -599,6 +603,7 @@ export declare const MigrationPlan: Schema.Struct<{
599
603
  readonly subject: string;
600
604
  readonly heading: string;
601
605
  readonly action: string;
606
+ readonly replyTo?: string | undefined;
602
607
  readonly eyebrow?: string | undefined;
603
608
  readonly card?: {
604
609
  readonly title: string;
@@ -621,7 +626,6 @@ export declare const MigrationPlan: Schema.Struct<{
621
626
  } | undefined;
622
627
  }[] | undefined;
623
628
  readonly footer?: string | undefined;
624
- readonly replyTo?: string | undefined;
625
629
  };
626
630
  } | undefined;
627
631
  readonly inbox?: {
@@ -655,9 +659,9 @@ export declare const MigrationPlan: Schema.Struct<{
655
659
  readonly entity: string;
656
660
  readonly property: string;
657
661
  }[] | undefined;
662
+ readonly connections?: readonly string[] | undefined;
658
663
  readonly retryOnDeadlock?: boolean | undefined;
659
664
  readonly writes?: readonly string[] | undefined;
660
- readonly connections?: readonly string[] | undefined;
661
665
  readonly hints?: {
662
666
  readonly readOnly?: boolean | undefined;
663
667
  readonly connectionsReadOnly?: boolean | undefined;
@@ -725,9 +729,9 @@ export declare const MigrationPlan: Schema.Struct<{
725
729
  readonly entity: string;
726
730
  readonly property: string;
727
731
  }[] | undefined;
732
+ readonly connections?: readonly string[] | undefined;
728
733
  readonly retryOnDeadlock?: boolean | undefined;
729
734
  readonly writes?: readonly string[] | undefined;
730
- readonly connections?: readonly string[] | undefined;
731
735
  readonly hints?: {
732
736
  readonly readOnly?: boolean | undefined;
733
737
  readonly connectionsReadOnly?: boolean | undefined;
@@ -766,7 +770,6 @@ export declare const MigrationPlan: Schema.Struct<{
766
770
  readonly unlink?: string | undefined;
767
771
  } | undefined;
768
772
  readonly renamedFrom?: string | undefined;
769
- readonly writes?: "actions" | undefined;
770
773
  readonly source?: {
771
774
  readonly key: readonly string[];
772
775
  readonly asset: string;
@@ -782,6 +785,7 @@ export declare const MigrationPlan: Schema.Struct<{
782
785
  readonly balanceOver?: string | undefined;
783
786
  }[] | undefined;
784
787
  readonly guide?: string | undefined;
788
+ readonly writes?: "actions" | undefined;
785
789
  readonly eraseFromWarehouseOnDelete?: true | undefined;
786
790
  }[];
787
791
  readonly chat?: {
@@ -832,11 +836,13 @@ export declare const MigrationPlan: Schema.Struct<{
832
836
  readonly workflows?: readonly {
833
837
  readonly description: string;
834
838
  readonly name: string;
839
+ readonly connections: readonly string[];
835
840
  readonly input: {
836
841
  readonly [x: string]: Schema.Json;
837
842
  };
838
- readonly connections: readonly string[];
839
843
  readonly triggers: readonly ({
844
+ readonly [x: string]: Schema.Json;
845
+ } | {
840
846
  readonly kind: "cron";
841
847
  readonly name: string;
842
848
  readonly description: string;
@@ -869,13 +875,12 @@ export declare const MigrationPlan: Schema.Struct<{
869
875
  } | undefined;
870
876
  readonly timestamp?: {
871
877
  readonly unit?: string | undefined;
872
- readonly header?: string | undefined;
873
878
  readonly entry?: string | undefined;
874
879
  readonly tolerance?: number | undefined;
880
+ readonly header?: string | undefined;
875
881
  } | undefined;
876
882
  readonly generated?: true | undefined;
877
883
  readonly input?: string | undefined;
878
- readonly secret?: string | undefined;
879
884
  readonly algorithm?: string | undefined;
880
885
  readonly encoding?: string | undefined;
881
886
  readonly signatures?: {
@@ -887,14 +892,13 @@ export declare const MigrationPlan: Schema.Struct<{
887
892
  } | undefined;
888
893
  readonly prefix?: string | undefined;
889
894
  } | undefined;
895
+ readonly secret?: string | undefined;
890
896
  } | undefined;
891
897
  readonly verification?: {
892
898
  readonly scheme: string;
893
899
  readonly input?: string | undefined;
894
900
  readonly verifyToken?: string | undefined;
895
901
  } | undefined;
896
- } | {
897
- readonly [x: string]: Schema.Json;
898
902
  })[];
899
903
  readonly role: string;
900
904
  readonly action?: {
@@ -935,6 +939,10 @@ export declare const MigrationPlan: Schema.Struct<{
935
939
  readonly guest?: {
936
940
  readonly channels: readonly string[];
937
941
  readonly origins: readonly string[];
942
+ readonly openOnInvite?: readonly string[] | undefined;
943
+ readonly byChannel?: {
944
+ readonly [x: string]: readonly string[];
945
+ } | undefined;
938
946
  readonly botCheck?: {
939
947
  readonly scheme: string;
940
948
  readonly connection?: string | undefined;
@@ -977,6 +985,7 @@ export declare const MigrationPlan: Schema.Struct<{
977
985
  readonly subject: string;
978
986
  readonly heading: string;
979
987
  readonly action: string;
988
+ readonly replyTo?: string | undefined;
980
989
  readonly eyebrow?: string | undefined;
981
990
  readonly card?: {
982
991
  readonly title: string;
@@ -999,7 +1008,6 @@ export declare const MigrationPlan: Schema.Struct<{
999
1008
  } | undefined;
1000
1009
  }[] | undefined;
1001
1010
  readonly footer?: string | undefined;
1002
- readonly replyTo?: string | undefined;
1003
1011
  };
1004
1012
  } | undefined;
1005
1013
  readonly inbox?: {
@@ -1033,9 +1041,9 @@ export declare const MigrationPlan: Schema.Struct<{
1033
1041
  readonly entity: string;
1034
1042
  readonly property: string;
1035
1043
  }[] | undefined;
1044
+ readonly connections?: readonly string[] | undefined;
1036
1045
  readonly retryOnDeadlock?: boolean | undefined;
1037
1046
  readonly writes?: readonly string[] | undefined;
1038
- readonly connections?: readonly string[] | undefined;
1039
1047
  readonly hints?: {
1040
1048
  readonly readOnly?: boolean | undefined;
1041
1049
  readonly connectionsReadOnly?: boolean | undefined;
@@ -1103,9 +1111,9 @@ export declare const MigrationPlan: Schema.Struct<{
1103
1111
  readonly entity: string;
1104
1112
  readonly property: string;
1105
1113
  }[] | undefined;
1114
+ readonly connections?: readonly string[] | undefined;
1106
1115
  readonly retryOnDeadlock?: boolean | undefined;
1107
1116
  readonly writes?: readonly string[] | undefined;
1108
- readonly connections?: readonly string[] | undefined;
1109
1117
  readonly hints?: {
1110
1118
  readonly readOnly?: boolean | undefined;
1111
1119
  readonly connectionsReadOnly?: boolean | undefined;
@@ -1143,7 +1151,6 @@ export declare const MigrationPlan: Schema.Struct<{
1143
1151
  readonly link?: string | undefined;
1144
1152
  readonly unlink?: string | undefined;
1145
1153
  } | undefined;
1146
- readonly writes?: "actions" | undefined;
1147
1154
  readonly source?: {
1148
1155
  readonly key: readonly string[];
1149
1156
  readonly asset: string;
@@ -1159,6 +1166,7 @@ export declare const MigrationPlan: Schema.Struct<{
1159
1166
  readonly balance_over?: string | undefined;
1160
1167
  }[] | undefined;
1161
1168
  readonly guide?: string | undefined;
1169
+ readonly writes?: "actions" | undefined;
1162
1170
  readonly renamed_from?: string | undefined;
1163
1171
  readonly erase_from_warehouse_on_delete?: true | undefined;
1164
1172
  }[];
@@ -1210,10 +1218,10 @@ export declare const MigrationPlan: Schema.Struct<{
1210
1218
  readonly workflows?: readonly {
1211
1219
  readonly description: string;
1212
1220
  readonly name: string;
1221
+ readonly connections: readonly string[];
1213
1222
  readonly input: {
1214
1223
  readonly [x: string]: Schema.Json;
1215
1224
  };
1216
- readonly connections: readonly string[];
1217
1225
  readonly triggers: readonly ({
1218
1226
  readonly [x: string]: Schema.Json;
1219
1227
  } | {
@@ -1249,13 +1257,12 @@ export declare const MigrationPlan: Schema.Struct<{
1249
1257
  } | undefined;
1250
1258
  readonly timestamp?: {
1251
1259
  readonly unit?: string | undefined;
1252
- readonly header?: string | undefined;
1253
1260
  readonly entry?: string | undefined;
1254
1261
  readonly tolerance?: number | undefined;
1262
+ readonly header?: string | undefined;
1255
1263
  } | undefined;
1256
1264
  readonly generated?: true | undefined;
1257
1265
  readonly input?: string | undefined;
1258
- readonly secret?: string | undefined;
1259
1266
  readonly algorithm?: string | undefined;
1260
1267
  readonly encoding?: string | undefined;
1261
1268
  readonly signatures?: {
@@ -1267,6 +1274,7 @@ export declare const MigrationPlan: Schema.Struct<{
1267
1274
  } | undefined;
1268
1275
  readonly prefix?: string | undefined;
1269
1276
  } | undefined;
1277
+ readonly secret?: string | undefined;
1270
1278
  } | undefined;
1271
1279
  readonly verification?: {
1272
1280
  readonly scheme: string;
@@ -1318,6 +1326,7 @@ export declare const MigrationPlan: Schema.Struct<{
1318
1326
  readonly subject: string;
1319
1327
  readonly heading: string;
1320
1328
  readonly action: string;
1329
+ readonly reply_to?: string | undefined;
1321
1330
  readonly eyebrow?: string | undefined;
1322
1331
  readonly card?: {
1323
1332
  readonly title: string;
@@ -1340,7 +1349,6 @@ export declare const MigrationPlan: Schema.Struct<{
1340
1349
  } | undefined;
1341
1350
  }[] | undefined;
1342
1351
  readonly footer?: string | undefined;
1343
- readonly reply_to?: string | undefined;
1344
1352
  };
1345
1353
  } | undefined;
1346
1354
  readonly inbox?: {
@@ -1374,9 +1382,9 @@ export declare const MigrationPlan: Schema.Struct<{
1374
1382
  readonly entity: string;
1375
1383
  readonly property: string;
1376
1384
  }[] | undefined;
1385
+ readonly connections?: readonly string[] | undefined;
1377
1386
  readonly retryOnDeadlock?: boolean | undefined;
1378
1387
  readonly writes?: readonly string[] | undefined;
1379
- readonly connections?: readonly string[] | undefined;
1380
1388
  readonly hints?: {
1381
1389
  readonly readOnly?: boolean | undefined;
1382
1390
  readonly connectionsReadOnly?: boolean | undefined;
@@ -1391,6 +1399,10 @@ export declare const MigrationPlan: Schema.Struct<{
1391
1399
  readonly guest?: {
1392
1400
  readonly channels: readonly string[];
1393
1401
  readonly origins: readonly string[];
1402
+ readonly openOnInvite?: readonly string[] | undefined;
1403
+ readonly byChannel?: {
1404
+ readonly [x: string]: readonly string[];
1405
+ } | undefined;
1394
1406
  readonly confirmations?: boolean | undefined;
1395
1407
  readonly bot_check?: {
1396
1408
  readonly scheme: string;
@@ -1481,9 +1493,9 @@ export declare const MigrationPlan: Schema.Struct<{
1481
1493
  readonly entity: string;
1482
1494
  readonly property: string;
1483
1495
  }[] | undefined;
1496
+ readonly connections?: readonly string[] | undefined;
1484
1497
  readonly retryOnDeadlock?: boolean | undefined;
1485
1498
  readonly writes?: readonly string[] | undefined;
1486
- readonly connections?: readonly string[] | undefined;
1487
1499
  readonly hints?: {
1488
1500
  readonly readOnly?: boolean | undefined;
1489
1501
  readonly connectionsReadOnly?: boolean | undefined;
@@ -1522,7 +1534,6 @@ export declare const MigrationPlan: Schema.Struct<{
1522
1534
  readonly unlink?: string | undefined;
1523
1535
  } | undefined;
1524
1536
  readonly renamedFrom?: string | undefined;
1525
- readonly writes?: "actions" | undefined;
1526
1537
  readonly source?: {
1527
1538
  readonly key: readonly string[];
1528
1539
  readonly asset: string;
@@ -1538,6 +1549,7 @@ export declare const MigrationPlan: Schema.Struct<{
1538
1549
  readonly balanceOver?: string | undefined;
1539
1550
  }[] | undefined;
1540
1551
  readonly guide?: string | undefined;
1552
+ readonly writes?: "actions" | undefined;
1541
1553
  readonly eraseFromWarehouseOnDelete?: true | undefined;
1542
1554
  }[];
1543
1555
  readonly chat?: {
@@ -1588,10 +1600,10 @@ export declare const MigrationPlan: Schema.Struct<{
1588
1600
  readonly workflows?: readonly {
1589
1601
  readonly description: string;
1590
1602
  readonly name: string;
1603
+ readonly connections: readonly string[];
1591
1604
  readonly input: {
1592
1605
  readonly [x: string]: Schema.Json;
1593
1606
  };
1594
- readonly connections: readonly string[];
1595
1607
  readonly triggers: readonly ({
1596
1608
  readonly [x: string]: Schema.Json;
1597
1609
  } | {
@@ -1627,13 +1639,12 @@ export declare const MigrationPlan: Schema.Struct<{
1627
1639
  } | undefined;
1628
1640
  readonly timestamp?: {
1629
1641
  readonly unit?: string | undefined;
1630
- readonly header?: string | undefined;
1631
1642
  readonly entry?: string | undefined;
1632
1643
  readonly tolerance?: number | undefined;
1644
+ readonly header?: string | undefined;
1633
1645
  } | undefined;
1634
1646
  readonly generated?: true | undefined;
1635
1647
  readonly input?: string | undefined;
1636
- readonly secret?: string | undefined;
1637
1648
  readonly algorithm?: string | undefined;
1638
1649
  readonly encoding?: string | undefined;
1639
1650
  readonly signatures?: {
@@ -1645,6 +1656,7 @@ export declare const MigrationPlan: Schema.Struct<{
1645
1656
  } | undefined;
1646
1657
  readonly prefix?: string | undefined;
1647
1658
  } | undefined;
1659
+ readonly secret?: string | undefined;
1648
1660
  } | undefined;
1649
1661
  readonly verification?: {
1650
1662
  readonly scheme: string;
@@ -1691,6 +1703,10 @@ export declare const MigrationPlan: Schema.Struct<{
1691
1703
  readonly guest?: {
1692
1704
  readonly channels: readonly string[];
1693
1705
  readonly origins: readonly string[];
1706
+ readonly openOnInvite?: readonly string[] | undefined;
1707
+ readonly byChannel?: {
1708
+ readonly [x: string]: readonly string[];
1709
+ } | undefined;
1694
1710
  readonly confirmations?: boolean | undefined;
1695
1711
  readonly bot_check?: {
1696
1712
  readonly scheme: string;
@@ -1733,6 +1749,7 @@ export declare const MigrationPlan: Schema.Struct<{
1733
1749
  readonly subject: string;
1734
1750
  readonly heading: string;
1735
1751
  readonly action: string;
1752
+ readonly reply_to?: string | undefined;
1736
1753
  readonly eyebrow?: string | undefined;
1737
1754
  readonly card?: {
1738
1755
  readonly title: string;
@@ -1755,7 +1772,6 @@ export declare const MigrationPlan: Schema.Struct<{
1755
1772
  } | undefined;
1756
1773
  }[] | undefined;
1757
1774
  readonly footer?: string | undefined;
1758
- readonly reply_to?: string | undefined;
1759
1775
  };
1760
1776
  } | undefined;
1761
1777
  readonly inbox?: {
@@ -1789,9 +1805,9 @@ export declare const MigrationPlan: Schema.Struct<{
1789
1805
  readonly entity: string;
1790
1806
  readonly property: string;
1791
1807
  }[] | undefined;
1808
+ readonly connections?: readonly string[] | undefined;
1792
1809
  readonly retryOnDeadlock?: boolean | undefined;
1793
1810
  readonly writes?: readonly string[] | undefined;
1794
- readonly connections?: readonly string[] | undefined;
1795
1811
  readonly hints?: {
1796
1812
  readonly readOnly?: boolean | undefined;
1797
1813
  readonly connectionsReadOnly?: boolean | undefined;
@@ -1963,6 +1979,8 @@ export declare const MigrationPlan: Schema.Struct<{
1963
1979
  }>>;
1964
1980
  readonly onSignUp: Schema.optionalKey<Schema.String>;
1965
1981
  readonly guest: Schema.optionalKey<Schema.encodeKeys<Schema.Struct<{
1982
+ readonly openOnInvite: Schema.optionalKey<Schema.$Array<Schema.String>>;
1983
+ readonly byChannel: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
1966
1984
  readonly channels: Schema.$Array<Schema.String>;
1967
1985
  readonly origins: Schema.$Array<Schema.String>;
1968
1986
  readonly botCheck: Schema.optionalKey<Schema.Struct<{
@@ -2339,6 +2357,8 @@ export declare const MigrationPlan: Schema.Struct<{
2339
2357
  }>>;
2340
2358
  readonly onSignUp: Schema.optionalKey<Schema.String>;
2341
2359
  readonly guest: Schema.optionalKey<Schema.encodeKeys<Schema.Struct<{
2360
+ readonly openOnInvite: Schema.optionalKey<Schema.$Array<Schema.String>>;
2361
+ readonly byChannel: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
2342
2362
  readonly channels: Schema.$Array<Schema.String>;
2343
2363
  readonly origins: Schema.$Array<Schema.String>;
2344
2364
  readonly botCheck: Schema.optionalKey<Schema.Struct<{
@@ -2626,9 +2646,9 @@ export declare const MigrationPlan: Schema.Struct<{
2626
2646
  readonly entity: string;
2627
2647
  readonly property: string;
2628
2648
  }[] | undefined;
2649
+ readonly connections?: readonly string[] | undefined;
2629
2650
  readonly retryOnDeadlock?: boolean | undefined;
2630
2651
  readonly writes?: readonly string[] | undefined;
2631
- readonly connections?: readonly string[] | undefined;
2632
2652
  readonly hints?: {
2633
2653
  readonly readOnly?: boolean | undefined;
2634
2654
  readonly connectionsReadOnly?: boolean | undefined;
@@ -2667,7 +2687,6 @@ export declare const MigrationPlan: Schema.Struct<{
2667
2687
  readonly unlink?: string | undefined;
2668
2688
  } | undefined;
2669
2689
  readonly renamedFrom?: string | undefined;
2670
- readonly writes?: "actions" | undefined;
2671
2690
  readonly source?: {
2672
2691
  readonly key: readonly string[];
2673
2692
  readonly asset: string;
@@ -2683,6 +2702,7 @@ export declare const MigrationPlan: Schema.Struct<{
2683
2702
  readonly balanceOver?: string | undefined;
2684
2703
  }[] | undefined;
2685
2704
  readonly guide?: string | undefined;
2705
+ readonly writes?: "actions" | undefined;
2686
2706
  readonly eraseFromWarehouseOnDelete?: true | undefined;
2687
2707
  }[];
2688
2708
  readonly chat?: {
@@ -2733,11 +2753,13 @@ export declare const MigrationPlan: Schema.Struct<{
2733
2753
  readonly workflows?: readonly {
2734
2754
  readonly description: string;
2735
2755
  readonly name: string;
2756
+ readonly connections: readonly string[];
2736
2757
  readonly input: {
2737
2758
  readonly [x: string]: Schema.Json;
2738
2759
  };
2739
- readonly connections: readonly string[];
2740
2760
  readonly triggers: readonly ({
2761
+ readonly [x: string]: Schema.Json;
2762
+ } | {
2741
2763
  readonly kind: "cron";
2742
2764
  readonly name: string;
2743
2765
  readonly description: string;
@@ -2770,13 +2792,12 @@ export declare const MigrationPlan: Schema.Struct<{
2770
2792
  } | undefined;
2771
2793
  readonly timestamp?: {
2772
2794
  readonly unit?: string | undefined;
2773
- readonly header?: string | undefined;
2774
2795
  readonly entry?: string | undefined;
2775
2796
  readonly tolerance?: number | undefined;
2797
+ readonly header?: string | undefined;
2776
2798
  } | undefined;
2777
2799
  readonly generated?: true | undefined;
2778
2800
  readonly input?: string | undefined;
2779
- readonly secret?: string | undefined;
2780
2801
  readonly algorithm?: string | undefined;
2781
2802
  readonly encoding?: string | undefined;
2782
2803
  readonly signatures?: {
@@ -2788,14 +2809,13 @@ export declare const MigrationPlan: Schema.Struct<{
2788
2809
  } | undefined;
2789
2810
  readonly prefix?: string | undefined;
2790
2811
  } | undefined;
2812
+ readonly secret?: string | undefined;
2791
2813
  } | undefined;
2792
2814
  readonly verification?: {
2793
2815
  readonly scheme: string;
2794
2816
  readonly input?: string | undefined;
2795
2817
  readonly verifyToken?: string | undefined;
2796
2818
  } | undefined;
2797
- } | {
2798
- readonly [x: string]: Schema.Json;
2799
2819
  })[];
2800
2820
  readonly role: string;
2801
2821
  readonly action?: {
@@ -2836,6 +2856,10 @@ export declare const MigrationPlan: Schema.Struct<{
2836
2856
  readonly guest?: {
2837
2857
  readonly channels: readonly string[];
2838
2858
  readonly origins: readonly string[];
2859
+ readonly openOnInvite?: readonly string[] | undefined;
2860
+ readonly byChannel?: {
2861
+ readonly [x: string]: readonly string[];
2862
+ } | undefined;
2839
2863
  readonly botCheck?: {
2840
2864
  readonly scheme: string;
2841
2865
  readonly connection?: string | undefined;
@@ -2878,6 +2902,7 @@ export declare const MigrationPlan: Schema.Struct<{
2878
2902
  readonly subject: string;
2879
2903
  readonly heading: string;
2880
2904
  readonly action: string;
2905
+ readonly replyTo?: string | undefined;
2881
2906
  readonly eyebrow?: string | undefined;
2882
2907
  readonly card?: {
2883
2908
  readonly title: string;
@@ -2900,7 +2925,6 @@ export declare const MigrationPlan: Schema.Struct<{
2900
2925
  } | undefined;
2901
2926
  }[] | undefined;
2902
2927
  readonly footer?: string | undefined;
2903
- readonly replyTo?: string | undefined;
2904
2928
  };
2905
2929
  } | undefined;
2906
2930
  readonly inbox?: {
@@ -2934,9 +2958,9 @@ export declare const MigrationPlan: Schema.Struct<{
2934
2958
  readonly entity: string;
2935
2959
  readonly property: string;
2936
2960
  }[] | undefined;
2961
+ readonly connections?: readonly string[] | undefined;
2937
2962
  readonly retryOnDeadlock?: boolean | undefined;
2938
2963
  readonly writes?: readonly string[] | undefined;
2939
- readonly connections?: readonly string[] | undefined;
2940
2964
  readonly hints?: {
2941
2965
  readonly readOnly?: boolean | undefined;
2942
2966
  readonly connectionsReadOnly?: boolean | undefined;
@@ -3004,9 +3028,9 @@ export declare const MigrationPlan: Schema.Struct<{
3004
3028
  readonly entity: string;
3005
3029
  readonly property: string;
3006
3030
  }[] | undefined;
3031
+ readonly connections?: readonly string[] | undefined;
3007
3032
  readonly retryOnDeadlock?: boolean | undefined;
3008
3033
  readonly writes?: readonly string[] | undefined;
3009
- readonly connections?: readonly string[] | undefined;
3010
3034
  readonly hints?: {
3011
3035
  readonly readOnly?: boolean | undefined;
3012
3036
  readonly connectionsReadOnly?: boolean | undefined;
@@ -3045,7 +3069,6 @@ export declare const MigrationPlan: Schema.Struct<{
3045
3069
  readonly unlink?: string | undefined;
3046
3070
  } | undefined;
3047
3071
  readonly renamedFrom?: string | undefined;
3048
- readonly writes?: "actions" | undefined;
3049
3072
  readonly source?: {
3050
3073
  readonly key: readonly string[];
3051
3074
  readonly asset: string;
@@ -3061,6 +3084,7 @@ export declare const MigrationPlan: Schema.Struct<{
3061
3084
  readonly balanceOver?: string | undefined;
3062
3085
  }[] | undefined;
3063
3086
  readonly guide?: string | undefined;
3087
+ readonly writes?: "actions" | undefined;
3064
3088
  readonly eraseFromWarehouseOnDelete?: true | undefined;
3065
3089
  }[];
3066
3090
  readonly chat?: {
@@ -3111,11 +3135,13 @@ export declare const MigrationPlan: Schema.Struct<{
3111
3135
  readonly workflows?: readonly {
3112
3136
  readonly description: string;
3113
3137
  readonly name: string;
3138
+ readonly connections: readonly string[];
3114
3139
  readonly input: {
3115
3140
  readonly [x: string]: Schema.Json;
3116
3141
  };
3117
- readonly connections: readonly string[];
3118
3142
  readonly triggers: readonly ({
3143
+ readonly [x: string]: Schema.Json;
3144
+ } | {
3119
3145
  readonly kind: "cron";
3120
3146
  readonly name: string;
3121
3147
  readonly description: string;
@@ -3148,13 +3174,12 @@ export declare const MigrationPlan: Schema.Struct<{
3148
3174
  } | undefined;
3149
3175
  readonly timestamp?: {
3150
3176
  readonly unit?: string | undefined;
3151
- readonly header?: string | undefined;
3152
3177
  readonly entry?: string | undefined;
3153
3178
  readonly tolerance?: number | undefined;
3179
+ readonly header?: string | undefined;
3154
3180
  } | undefined;
3155
3181
  readonly generated?: true | undefined;
3156
3182
  readonly input?: string | undefined;
3157
- readonly secret?: string | undefined;
3158
3183
  readonly algorithm?: string | undefined;
3159
3184
  readonly encoding?: string | undefined;
3160
3185
  readonly signatures?: {
@@ -3166,14 +3191,13 @@ export declare const MigrationPlan: Schema.Struct<{
3166
3191
  } | undefined;
3167
3192
  readonly prefix?: string | undefined;
3168
3193
  } | undefined;
3194
+ readonly secret?: string | undefined;
3169
3195
  } | undefined;
3170
3196
  readonly verification?: {
3171
3197
  readonly scheme: string;
3172
3198
  readonly input?: string | undefined;
3173
3199
  readonly verifyToken?: string | undefined;
3174
3200
  } | undefined;
3175
- } | {
3176
- readonly [x: string]: Schema.Json;
3177
3201
  })[];
3178
3202
  readonly role: string;
3179
3203
  readonly action?: {
@@ -3214,6 +3238,10 @@ export declare const MigrationPlan: Schema.Struct<{
3214
3238
  readonly guest?: {
3215
3239
  readonly channels: readonly string[];
3216
3240
  readonly origins: readonly string[];
3241
+ readonly openOnInvite?: readonly string[] | undefined;
3242
+ readonly byChannel?: {
3243
+ readonly [x: string]: readonly string[];
3244
+ } | undefined;
3217
3245
  readonly botCheck?: {
3218
3246
  readonly scheme: string;
3219
3247
  readonly connection?: string | undefined;
@@ -3256,6 +3284,7 @@ export declare const MigrationPlan: Schema.Struct<{
3256
3284
  readonly subject: string;
3257
3285
  readonly heading: string;
3258
3286
  readonly action: string;
3287
+ readonly replyTo?: string | undefined;
3259
3288
  readonly eyebrow?: string | undefined;
3260
3289
  readonly card?: {
3261
3290
  readonly title: string;
@@ -3278,7 +3307,6 @@ export declare const MigrationPlan: Schema.Struct<{
3278
3307
  } | undefined;
3279
3308
  }[] | undefined;
3280
3309
  readonly footer?: string | undefined;
3281
- readonly replyTo?: string | undefined;
3282
3310
  };
3283
3311
  } | undefined;
3284
3312
  readonly inbox?: {
@@ -3312,9 +3340,9 @@ export declare const MigrationPlan: Schema.Struct<{
3312
3340
  readonly entity: string;
3313
3341
  readonly property: string;
3314
3342
  }[] | undefined;
3343
+ readonly connections?: readonly string[] | undefined;
3315
3344
  readonly retryOnDeadlock?: boolean | undefined;
3316
3345
  readonly writes?: readonly string[] | undefined;
3317
- readonly connections?: readonly string[] | undefined;
3318
3346
  readonly hints?: {
3319
3347
  readonly readOnly?: boolean | undefined;
3320
3348
  readonly connectionsReadOnly?: boolean | undefined;