@forge/manifest 0.0.0-experimental-d8cea00 → 0.0.0-experimental-64caa5a

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.
@@ -85,7 +85,7 @@ export type Remotes = RemotesSchema[];
85
85
  /**
86
86
  * External authentication providers
87
87
  */
88
- export type Auth = (AuthProviderPredefined | AuthProviderCustom)[];
88
+ export type Auth = (AuthProviderCustom | AuthProviderPredefined)[];
89
89
 
90
90
  export interface ManifestSchema {
91
91
  app: App;
@@ -607,6 +607,48 @@ export interface Modules {
607
607
  }
608
608
  )[]
609
609
  ];
610
+ 'confluence:globalPage'?: [
611
+ (
612
+ | {
613
+ title: string;
614
+ icon?: string;
615
+ route: string;
616
+ function: string;
617
+ key: ModuleKeySchema;
618
+ }
619
+ | {
620
+ title: string;
621
+ icon?: string;
622
+ route: string;
623
+ resolver?: {
624
+ function: string;
625
+ };
626
+ resource: string;
627
+ resourceUploadId?: string;
628
+ key: ModuleKeySchema;
629
+ }
630
+ ),
631
+ ...(
632
+ | {
633
+ title: string;
634
+ icon?: string;
635
+ route: string;
636
+ function: string;
637
+ key: ModuleKeySchema;
638
+ }
639
+ | {
640
+ title: string;
641
+ icon?: string;
642
+ route: string;
643
+ resolver?: {
644
+ function: string;
645
+ };
646
+ resource: string;
647
+ resourceUploadId?: string;
648
+ key: ModuleKeySchema;
649
+ }
650
+ )[]
651
+ ];
610
652
  'jira:workflowValidator'?: [
611
653
  {
612
654
  name: string;
@@ -652,6 +694,10 @@ export interface Modules {
652
694
  resource: string;
653
695
  [k: string]: unknown;
654
696
  };
697
+ value?: {
698
+ function: string;
699
+ [k: string]: unknown;
700
+ };
655
701
  key: ModuleKeySchema;
656
702
  [k: string]: unknown;
657
703
  }
@@ -685,6 +731,10 @@ export interface Modules {
685
731
  resource: string;
686
732
  [k: string]: unknown;
687
733
  };
734
+ value?: {
735
+ function: string;
736
+ [k: string]: unknown;
737
+ };
688
738
  key: ModuleKeySchema;
689
739
  [k: string]: unknown;
690
740
  }
@@ -717,6 +767,10 @@ export interface Modules {
717
767
  resource: string;
718
768
  [k: string]: unknown;
719
769
  };
770
+ value?: {
771
+ function: string;
772
+ [k: string]: unknown;
773
+ };
720
774
  key: ModuleKeySchema;
721
775
  [k: string]: unknown;
722
776
  }
@@ -750,6 +804,10 @@ export interface Modules {
750
804
  resource: string;
751
805
  [k: string]: unknown;
752
806
  };
807
+ value?: {
808
+ function: string;
809
+ [k: string]: unknown;
810
+ };
753
811
  key: ModuleKeySchema;
754
812
  [k: string]: unknown;
755
813
  }
@@ -781,6 +839,10 @@ export interface Modules {
781
839
  resource: string;
782
840
  [k: string]: unknown;
783
841
  };
842
+ value?: {
843
+ function: string;
844
+ [k: string]: unknown;
845
+ };
784
846
  icon?: string;
785
847
  resolver?: {
786
848
  function: string;
@@ -826,6 +888,10 @@ export interface Modules {
826
888
  resource: string;
827
889
  [k: string]: unknown;
828
890
  };
891
+ value?: {
892
+ function: string;
893
+ [k: string]: unknown;
894
+ };
829
895
  icon?: string;
830
896
  resolver?: {
831
897
  function: string;
@@ -870,6 +936,10 @@ export interface Modules {
870
936
  resource: string;
871
937
  [k: string]: unknown;
872
938
  };
939
+ value?: {
940
+ function: string;
941
+ [k: string]: unknown;
942
+ };
873
943
  icon?: string;
874
944
  resolver?: {
875
945
  function: string;
@@ -915,6 +985,10 @@ export interface Modules {
915
985
  resource: string;
916
986
  [k: string]: unknown;
917
987
  };
988
+ value?: {
989
+ function: string;
990
+ [k: string]: unknown;
991
+ };
918
992
  icon?: string;
919
993
  resolver?: {
920
994
  function: string;
@@ -978,76 +1052,82 @@ export interface Modules {
978
1052
  'jira:issueGlance'?: [
979
1053
  (
980
1054
  | {
1055
+ function: string;
981
1056
  title: string;
982
1057
  label: string;
983
1058
  status?: {
1059
+ type: 'badge' | 'icon' | 'lozenge';
984
1060
  value: {
985
1061
  label: string;
1062
+ url?: string;
986
1063
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
987
1064
  [k: string]: unknown;
988
1065
  };
989
- type: 'badge' | 'lozenge';
990
1066
  [k: string]: unknown;
991
1067
  };
992
- function: string;
1068
+ icon?: string;
993
1069
  key: ModuleKeySchema;
994
1070
  [k: string]: unknown;
995
1071
  }
996
1072
  | {
1073
+ resource: string;
1074
+ resolver?: {
1075
+ function: string;
1076
+ };
997
1077
  title: string;
998
1078
  label: string;
999
1079
  status?: {
1080
+ type: 'badge' | 'icon' | 'lozenge';
1000
1081
  value: {
1001
1082
  label: string;
1083
+ url?: string;
1002
1084
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
1003
1085
  [k: string]: unknown;
1004
1086
  };
1005
- type: 'badge' | 'lozenge';
1006
1087
  [k: string]: unknown;
1007
1088
  };
1008
- resolver?: {
1009
- function: string;
1010
- };
1011
- resource: string;
1012
- resourceUploadId?: string;
1089
+ icon?: string;
1013
1090
  key: ModuleKeySchema;
1014
1091
  [k: string]: unknown;
1015
1092
  }
1016
1093
  ),
1017
1094
  ...(
1018
1095
  | {
1096
+ function: string;
1019
1097
  title: string;
1020
1098
  label: string;
1021
1099
  status?: {
1100
+ type: 'badge' | 'icon' | 'lozenge';
1022
1101
  value: {
1023
1102
  label: string;
1103
+ url?: string;
1024
1104
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
1025
1105
  [k: string]: unknown;
1026
1106
  };
1027
- type: 'badge' | 'lozenge';
1028
1107
  [k: string]: unknown;
1029
1108
  };
1030
- function: string;
1109
+ icon?: string;
1031
1110
  key: ModuleKeySchema;
1032
1111
  [k: string]: unknown;
1033
1112
  }
1034
1113
  | {
1114
+ resource: string;
1115
+ resolver?: {
1116
+ function: string;
1117
+ };
1035
1118
  title: string;
1036
1119
  label: string;
1037
1120
  status?: {
1121
+ type: 'badge' | 'icon' | 'lozenge';
1038
1122
  value: {
1039
1123
  label: string;
1124
+ url?: string;
1040
1125
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
1041
1126
  [k: string]: unknown;
1042
1127
  };
1043
- type: 'badge' | 'lozenge';
1044
1128
  [k: string]: unknown;
1045
1129
  };
1046
- resolver?: {
1047
- function: string;
1048
- };
1049
- resource: string;
1050
- resourceUploadId?: string;
1130
+ icon?: string;
1051
1131
  key: ModuleKeySchema;
1052
1132
  [k: string]: unknown;
1053
1133
  }
@@ -1198,44 +1278,124 @@ export interface Modules {
1198
1278
  'jira:adminPage'?: [
1199
1279
  (
1200
1280
  | {
1281
+ function: string;
1201
1282
  title: string;
1202
1283
  icon?: string;
1203
- layout?: 'native' | 'basic';
1204
- function: string;
1284
+ layout?: 'basic' | 'native';
1205
1285
  key: ModuleKeySchema;
1206
1286
  [k: string]: unknown;
1207
1287
  }
1208
1288
  | {
1289
+ resource: string;
1290
+ resourceUploadId?: string;
1291
+ resolver?: {
1292
+ function: string;
1293
+ };
1209
1294
  title: string;
1210
1295
  icon?: string;
1211
- layout?: 'native' | 'basic';
1296
+ layout?: 'basic' | 'native';
1297
+ key: ModuleKeySchema;
1298
+ [k: string]: unknown;
1299
+ }
1300
+ | {
1301
+ pages: {
1302
+ title: string;
1303
+ route: string;
1304
+ icon?: string;
1305
+ [k: string]: unknown;
1306
+ }[];
1307
+ resource: string;
1308
+ resourceUploadId?: string;
1212
1309
  resolver?: {
1213
1310
  function: string;
1214
1311
  };
1312
+ title: string;
1313
+ icon?: string;
1314
+ layout?: 'basic' | 'native';
1315
+ key: ModuleKeySchema;
1316
+ [k: string]: unknown;
1317
+ }
1318
+ | {
1319
+ sections: {
1320
+ header?: string;
1321
+ pages: {
1322
+ title: string;
1323
+ route: string;
1324
+ icon?: string;
1325
+ [k: string]: unknown;
1326
+ }[];
1327
+ [k: string]: unknown;
1328
+ }[];
1215
1329
  resource: string;
1216
1330
  resourceUploadId?: string;
1331
+ resolver?: {
1332
+ function: string;
1333
+ };
1334
+ title: string;
1335
+ icon?: string;
1336
+ layout?: 'basic' | 'native';
1217
1337
  key: ModuleKeySchema;
1218
1338
  [k: string]: unknown;
1219
1339
  }
1220
1340
  ),
1221
1341
  ...(
1222
1342
  | {
1343
+ function: string;
1223
1344
  title: string;
1224
1345
  icon?: string;
1225
- layout?: 'native' | 'basic';
1226
- function: string;
1346
+ layout?: 'basic' | 'native';
1227
1347
  key: ModuleKeySchema;
1228
1348
  [k: string]: unknown;
1229
1349
  }
1230
1350
  | {
1351
+ resource: string;
1352
+ resourceUploadId?: string;
1353
+ resolver?: {
1354
+ function: string;
1355
+ };
1231
1356
  title: string;
1232
1357
  icon?: string;
1233
- layout?: 'native' | 'basic';
1358
+ layout?: 'basic' | 'native';
1359
+ key: ModuleKeySchema;
1360
+ [k: string]: unknown;
1361
+ }
1362
+ | {
1363
+ pages: {
1364
+ title: string;
1365
+ route: string;
1366
+ icon?: string;
1367
+ [k: string]: unknown;
1368
+ }[];
1369
+ resource: string;
1370
+ resourceUploadId?: string;
1234
1371
  resolver?: {
1235
1372
  function: string;
1236
1373
  };
1374
+ title: string;
1375
+ icon?: string;
1376
+ layout?: 'basic' | 'native';
1377
+ key: ModuleKeySchema;
1378
+ [k: string]: unknown;
1379
+ }
1380
+ | {
1381
+ sections: {
1382
+ header?: string;
1383
+ pages: {
1384
+ title: string;
1385
+ route: string;
1386
+ icon?: string;
1387
+ [k: string]: unknown;
1388
+ }[];
1389
+ [k: string]: unknown;
1390
+ }[];
1237
1391
  resource: string;
1238
1392
  resourceUploadId?: string;
1393
+ resolver?: {
1394
+ function: string;
1395
+ };
1396
+ title: string;
1397
+ icon?: string;
1398
+ layout?: 'basic' | 'native';
1239
1399
  key: ModuleKeySchema;
1240
1400
  [k: string]: unknown;
1241
1401
  }
@@ -1244,44 +1404,376 @@ export interface Modules {
1244
1404
  'jira:projectPage'?: [
1245
1405
  (
1246
1406
  | {
1407
+ function: string;
1408
+ title: string;
1409
+ icon?: string;
1410
+ layout?: 'basic' | 'native';
1411
+ key: ModuleKeySchema;
1412
+ [k: string]: unknown;
1413
+ }
1414
+ | {
1415
+ resource: string;
1416
+ resourceUploadId?: string;
1417
+ resolver?: {
1418
+ function: string;
1419
+ };
1420
+ title: string;
1421
+ icon?: string;
1422
+ layout?: 'basic' | 'native';
1423
+ key: ModuleKeySchema;
1424
+ [k: string]: unknown;
1425
+ }
1426
+ | {
1427
+ pages: {
1428
+ title: string;
1429
+ route: string;
1430
+ icon?: string;
1431
+ [k: string]: unknown;
1432
+ }[];
1433
+ resource: string;
1434
+ resourceUploadId?: string;
1435
+ resolver?: {
1436
+ function: string;
1437
+ };
1438
+ title: string;
1439
+ icon?: string;
1440
+ layout?: 'basic' | 'native';
1441
+ key: ModuleKeySchema;
1442
+ [k: string]: unknown;
1443
+ }
1444
+ | {
1445
+ sections: {
1446
+ header?: string;
1447
+ pages: {
1448
+ title: string;
1449
+ route: string;
1450
+ icon?: string;
1451
+ [k: string]: unknown;
1452
+ }[];
1453
+ [k: string]: unknown;
1454
+ }[];
1455
+ resource: string;
1456
+ resourceUploadId?: string;
1457
+ resolver?: {
1458
+ function: string;
1459
+ };
1460
+ title: string;
1461
+ icon?: string;
1462
+ layout?: 'basic' | 'native';
1463
+ key: ModuleKeySchema;
1464
+ [k: string]: unknown;
1465
+ }
1466
+ ),
1467
+ ...(
1468
+ | {
1469
+ function: string;
1470
+ title: string;
1471
+ icon?: string;
1472
+ layout?: 'basic' | 'native';
1473
+ key: ModuleKeySchema;
1474
+ [k: string]: unknown;
1475
+ }
1476
+ | {
1477
+ resource: string;
1478
+ resourceUploadId?: string;
1479
+ resolver?: {
1480
+ function: string;
1481
+ };
1482
+ title: string;
1483
+ icon?: string;
1484
+ layout?: 'basic' | 'native';
1485
+ key: ModuleKeySchema;
1486
+ [k: string]: unknown;
1487
+ }
1488
+ | {
1489
+ pages: {
1490
+ title: string;
1491
+ route: string;
1492
+ icon?: string;
1493
+ [k: string]: unknown;
1494
+ }[];
1495
+ resource: string;
1496
+ resourceUploadId?: string;
1497
+ resolver?: {
1498
+ function: string;
1499
+ };
1500
+ title: string;
1501
+ icon?: string;
1502
+ layout?: 'basic' | 'native';
1503
+ key: ModuleKeySchema;
1504
+ [k: string]: unknown;
1505
+ }
1506
+ | {
1507
+ sections: {
1508
+ header?: string;
1509
+ pages: {
1510
+ title: string;
1511
+ route: string;
1512
+ icon?: string;
1513
+ [k: string]: unknown;
1514
+ }[];
1515
+ [k: string]: unknown;
1516
+ }[];
1517
+ resource: string;
1518
+ resourceUploadId?: string;
1519
+ resolver?: {
1520
+ function: string;
1521
+ };
1247
1522
  title: string;
1248
1523
  icon?: string;
1249
- layout?: 'native' | 'basic';
1524
+ layout?: 'basic' | 'native';
1525
+ key: ModuleKeySchema;
1526
+ [k: string]: unknown;
1527
+ }
1528
+ )[]
1529
+ ];
1530
+ 'jira:globalPage'?: [
1531
+ (
1532
+ | {
1250
1533
  function: string;
1534
+ title: string;
1535
+ icon?: string;
1536
+ layout?: 'basic' | 'native';
1251
1537
  key: ModuleKeySchema;
1252
1538
  [k: string]: unknown;
1253
1539
  }
1254
1540
  | {
1541
+ resource: string;
1542
+ resourceUploadId?: string;
1543
+ resolver?: {
1544
+ function: string;
1545
+ };
1255
1546
  title: string;
1256
1547
  icon?: string;
1257
- layout?: 'native' | 'basic';
1548
+ layout?: 'basic' | 'native';
1549
+ key: ModuleKeySchema;
1550
+ [k: string]: unknown;
1551
+ }
1552
+ | {
1553
+ pages: {
1554
+ title: string;
1555
+ route: string;
1556
+ icon?: string;
1557
+ [k: string]: unknown;
1558
+ }[];
1559
+ resource: string;
1560
+ resourceUploadId?: string;
1258
1561
  resolver?: {
1259
1562
  function: string;
1260
1563
  };
1564
+ title: string;
1565
+ icon?: string;
1566
+ layout?: 'basic' | 'native';
1567
+ key: ModuleKeySchema;
1568
+ [k: string]: unknown;
1569
+ }
1570
+ | {
1571
+ sections: {
1572
+ header?: string;
1573
+ pages: {
1574
+ title: string;
1575
+ route: string;
1576
+ icon?: string;
1577
+ [k: string]: unknown;
1578
+ }[];
1579
+ [k: string]: unknown;
1580
+ }[];
1261
1581
  resource: string;
1262
1582
  resourceUploadId?: string;
1583
+ resolver?: {
1584
+ function: string;
1585
+ };
1586
+ title: string;
1587
+ icon?: string;
1588
+ layout?: 'basic' | 'native';
1263
1589
  key: ModuleKeySchema;
1264
1590
  [k: string]: unknown;
1265
1591
  }
1266
1592
  ),
1267
1593
  ...(
1268
1594
  | {
1595
+ function: string;
1269
1596
  title: string;
1270
1597
  icon?: string;
1271
- layout?: 'native' | 'basic';
1598
+ layout?: 'basic' | 'native';
1599
+ key: ModuleKeySchema;
1600
+ [k: string]: unknown;
1601
+ }
1602
+ | {
1603
+ resource: string;
1604
+ resourceUploadId?: string;
1605
+ resolver?: {
1606
+ function: string;
1607
+ };
1608
+ title: string;
1609
+ icon?: string;
1610
+ layout?: 'basic' | 'native';
1611
+ key: ModuleKeySchema;
1612
+ [k: string]: unknown;
1613
+ }
1614
+ | {
1615
+ pages: {
1616
+ title: string;
1617
+ route: string;
1618
+ icon?: string;
1619
+ [k: string]: unknown;
1620
+ }[];
1621
+ resource: string;
1622
+ resourceUploadId?: string;
1623
+ resolver?: {
1624
+ function: string;
1625
+ };
1626
+ title: string;
1627
+ icon?: string;
1628
+ layout?: 'basic' | 'native';
1629
+ key: ModuleKeySchema;
1630
+ [k: string]: unknown;
1631
+ }
1632
+ | {
1633
+ sections: {
1634
+ header?: string;
1635
+ pages: {
1636
+ title: string;
1637
+ route: string;
1638
+ icon?: string;
1639
+ [k: string]: unknown;
1640
+ }[];
1641
+ [k: string]: unknown;
1642
+ }[];
1643
+ resource: string;
1644
+ resourceUploadId?: string;
1645
+ resolver?: {
1646
+ function: string;
1647
+ };
1648
+ title: string;
1649
+ icon?: string;
1650
+ layout?: 'basic' | 'native';
1651
+ key: ModuleKeySchema;
1652
+ [k: string]: unknown;
1653
+ }
1654
+ )[]
1655
+ ];
1656
+ 'jira:projectSettingsPage'?: [
1657
+ (
1658
+ | {
1272
1659
  function: string;
1660
+ title: string;
1661
+ icon?: string;
1662
+ layout?: 'basic' | 'native';
1273
1663
  key: ModuleKeySchema;
1274
1664
  [k: string]: unknown;
1275
1665
  }
1276
1666
  | {
1667
+ resource: string;
1668
+ resourceUploadId?: string;
1669
+ resolver?: {
1670
+ function: string;
1671
+ };
1277
1672
  title: string;
1278
1673
  icon?: string;
1279
- layout?: 'native' | 'basic';
1674
+ layout?: 'basic' | 'native';
1675
+ key: ModuleKeySchema;
1676
+ [k: string]: unknown;
1677
+ }
1678
+ | {
1679
+ pages: {
1680
+ title: string;
1681
+ route: string;
1682
+ icon?: string;
1683
+ [k: string]: unknown;
1684
+ }[];
1685
+ resource: string;
1686
+ resourceUploadId?: string;
1280
1687
  resolver?: {
1281
1688
  function: string;
1282
1689
  };
1690
+ title: string;
1691
+ icon?: string;
1692
+ layout?: 'basic' | 'native';
1693
+ key: ModuleKeySchema;
1694
+ [k: string]: unknown;
1695
+ }
1696
+ | {
1697
+ sections: {
1698
+ header?: string;
1699
+ pages: {
1700
+ title: string;
1701
+ route: string;
1702
+ icon?: string;
1703
+ [k: string]: unknown;
1704
+ }[];
1705
+ [k: string]: unknown;
1706
+ }[];
1707
+ resource: string;
1708
+ resourceUploadId?: string;
1709
+ resolver?: {
1710
+ function: string;
1711
+ };
1712
+ title: string;
1713
+ icon?: string;
1714
+ layout?: 'basic' | 'native';
1715
+ key: ModuleKeySchema;
1716
+ [k: string]: unknown;
1717
+ }
1718
+ ),
1719
+ ...(
1720
+ | {
1721
+ function: string;
1722
+ title: string;
1723
+ icon?: string;
1724
+ layout?: 'basic' | 'native';
1725
+ key: ModuleKeySchema;
1726
+ [k: string]: unknown;
1727
+ }
1728
+ | {
1283
1729
  resource: string;
1284
1730
  resourceUploadId?: string;
1731
+ resolver?: {
1732
+ function: string;
1733
+ };
1734
+ title: string;
1735
+ icon?: string;
1736
+ layout?: 'basic' | 'native';
1737
+ key: ModuleKeySchema;
1738
+ [k: string]: unknown;
1739
+ }
1740
+ | {
1741
+ pages: {
1742
+ title: string;
1743
+ route: string;
1744
+ icon?: string;
1745
+ [k: string]: unknown;
1746
+ }[];
1747
+ resource: string;
1748
+ resourceUploadId?: string;
1749
+ resolver?: {
1750
+ function: string;
1751
+ };
1752
+ title: string;
1753
+ icon?: string;
1754
+ layout?: 'basic' | 'native';
1755
+ key: ModuleKeySchema;
1756
+ [k: string]: unknown;
1757
+ }
1758
+ | {
1759
+ sections: {
1760
+ header?: string;
1761
+ pages: {
1762
+ title: string;
1763
+ route: string;
1764
+ icon?: string;
1765
+ [k: string]: unknown;
1766
+ }[];
1767
+ [k: string]: unknown;
1768
+ }[];
1769
+ resource: string;
1770
+ resourceUploadId?: string;
1771
+ resolver?: {
1772
+ function: string;
1773
+ };
1774
+ title: string;
1775
+ icon?: string;
1776
+ layout?: 'basic' | 'native';
1285
1777
  key: ModuleKeySchema;
1286
1778
  [k: string]: unknown;
1287
1779
  }
@@ -1375,6 +1867,48 @@ export interface Modules {
1375
1867
  }
1376
1868
  )[]
1377
1869
  ];
1870
+ 'compass:globalPage'?: [
1871
+ (
1872
+ | {
1873
+ title: string;
1874
+ icon?: string;
1875
+ function: string;
1876
+ key: ModuleKeySchema;
1877
+ [k: string]: unknown;
1878
+ }
1879
+ | {
1880
+ title: string;
1881
+ icon?: string;
1882
+ resolver?: {
1883
+ function: string;
1884
+ };
1885
+ resource: string;
1886
+ resourceUploadId?: string;
1887
+ key: ModuleKeySchema;
1888
+ [k: string]: unknown;
1889
+ }
1890
+ ),
1891
+ ...(
1892
+ | {
1893
+ title: string;
1894
+ icon?: string;
1895
+ function: string;
1896
+ key: ModuleKeySchema;
1897
+ [k: string]: unknown;
1898
+ }
1899
+ | {
1900
+ title: string;
1901
+ icon?: string;
1902
+ resolver?: {
1903
+ function: string;
1904
+ };
1905
+ resource: string;
1906
+ resourceUploadId?: string;
1907
+ key: ModuleKeySchema;
1908
+ [k: string]: unknown;
1909
+ }
1910
+ )[]
1911
+ ];
1378
1912
  'connect-jira:keyboardShortcuts'?: [
1379
1913
  {
1380
1914
  shortcut?: string;
@@ -1417,7 +1951,7 @@ export interface Modules {
1417
1951
  fullPage?: boolean;
1418
1952
  cacheable?: boolean;
1419
1953
  location?: string;
1420
- conditions?: (SingleCondition | CompositeCondition)[];
1954
+ conditions?: (CompositeCondition | SingleCondition)[];
1421
1955
  params?: {
1422
1956
  [k: string]: unknown;
1423
1957
  };
@@ -1432,7 +1966,7 @@ export interface Modules {
1432
1966
  fullPage?: boolean;
1433
1967
  cacheable?: boolean;
1434
1968
  location?: string;
1435
- conditions?: (SingleCondition | CompositeCondition)[];
1969
+ conditions?: (CompositeCondition | SingleCondition)[];
1436
1970
  params?: {
1437
1971
  [k: string]: unknown;
1438
1972
  };
@@ -1598,7 +2132,7 @@ export interface Modules {
1598
2132
  name?: I18NProperty10;
1599
2133
  location?: string;
1600
2134
  cacheable?: boolean;
1601
- conditions?: (CompositeCondition1 | SingleCondition1)[];
2135
+ conditions?: (SingleCondition1 | CompositeCondition1)[];
1602
2136
  key: ModuleKeySchema;
1603
2137
  [k: string]: unknown;
1604
2138
  },
@@ -1616,7 +2150,7 @@ export interface Modules {
1616
2150
  name?: I18NProperty10;
1617
2151
  location?: string;
1618
2152
  cacheable?: boolean;
1619
- conditions?: (CompositeCondition1 | SingleCondition1)[];
2153
+ conditions?: (SingleCondition1 | CompositeCondition1)[];
1620
2154
  key: ModuleKeySchema;
1621
2155
  [k: string]: unknown;
1622
2156
  }[]
@@ -1629,7 +2163,7 @@ export interface Modules {
1629
2163
  fullPage?: boolean;
1630
2164
  cacheable?: boolean;
1631
2165
  location?: string;
1632
- conditions?: (SingleCondition | CompositeCondition)[];
2166
+ conditions?: (CompositeCondition | SingleCondition)[];
1633
2167
  params?: {
1634
2168
  [k: string]: unknown;
1635
2169
  };
@@ -1644,7 +2178,7 @@ export interface Modules {
1644
2178
  fullPage?: boolean;
1645
2179
  cacheable?: boolean;
1646
2180
  location?: string;
1647
- conditions?: (SingleCondition | CompositeCondition)[];
2181
+ conditions?: (CompositeCondition | SingleCondition)[];
1648
2182
  params?: {
1649
2183
  [k: string]: unknown;
1650
2184
  };
@@ -1854,7 +2388,7 @@ export interface Modules {
1854
2388
  name?: I18NProperty20;
1855
2389
  weight?: number;
1856
2390
  iconUrl?: string;
1857
- conditions?: (SingleCondition | CompositeCondition)[];
2391
+ conditions?: (CompositeCondition | SingleCondition)[];
1858
2392
  url?: string;
1859
2393
  key: ModuleKeySchema;
1860
2394
  [k: string]: unknown;
@@ -1863,7 +2397,7 @@ export interface Modules {
1863
2397
  name?: I18NProperty20;
1864
2398
  weight?: number;
1865
2399
  iconUrl?: string;
1866
- conditions?: (SingleCondition | CompositeCondition)[];
2400
+ conditions?: (CompositeCondition | SingleCondition)[];
1867
2401
  url?: string;
1868
2402
  key: ModuleKeySchema;
1869
2403
  [k: string]: unknown;
@@ -1874,7 +2408,7 @@ export interface Modules {
1874
2408
  name?: I18NProperty21;
1875
2409
  weight?: number;
1876
2410
  description?: I18NProperty22;
1877
- conditions?: (SingleCondition | CompositeCondition)[];
2411
+ conditions?: (CompositeCondition | SingleCondition)[];
1878
2412
  params?: {
1879
2413
  [k: string]: unknown;
1880
2414
  };
@@ -1886,7 +2420,7 @@ export interface Modules {
1886
2420
  name?: I18NProperty21;
1887
2421
  weight?: number;
1888
2422
  description?: I18NProperty22;
1889
- conditions?: (SingleCondition | CompositeCondition)[];
2423
+ conditions?: (CompositeCondition | SingleCondition)[];
1890
2424
  params?: {
1891
2425
  [k: string]: unknown;
1892
2426
  };
@@ -1966,9 +2500,9 @@ export interface Modules {
1966
2500
  icon?: Icon6;
1967
2501
  tooltip?: I18NProperty29;
1968
2502
  name?: I18NProperty30;
1969
- conditions?: (CompositeCondition | SingleCondition)[];
2503
+ conditions?: (SingleCondition | CompositeCondition)[];
1970
2504
  target?: IssuePageTargetWebPanel;
1971
- contentPresentConditions?: (SingleCondition | CompositeCondition)[];
2505
+ contentPresentConditions?: (CompositeCondition | SingleCondition)[];
1972
2506
  jiraNativeAppsEnabled?: boolean;
1973
2507
  key: ModuleKeySchema;
1974
2508
  [k: string]: unknown;
@@ -1977,9 +2511,9 @@ export interface Modules {
1977
2511
  icon?: Icon6;
1978
2512
  tooltip?: I18NProperty29;
1979
2513
  name?: I18NProperty30;
1980
- conditions?: (CompositeCondition | SingleCondition)[];
2514
+ conditions?: (SingleCondition | CompositeCondition)[];
1981
2515
  target?: IssuePageTargetWebPanel;
1982
- contentPresentConditions?: (SingleCondition | CompositeCondition)[];
2516
+ contentPresentConditions?: (CompositeCondition | SingleCondition)[];
1983
2517
  jiraNativeAppsEnabled?: boolean;
1984
2518
  key: ModuleKeySchema;
1985
2519
  [k: string]: unknown;
@@ -2208,7 +2742,7 @@ export interface Modules {
2208
2742
  name?: I18NProperty44;
2209
2743
  weight?: number;
2210
2744
  location?: string;
2211
- conditions?: (CompositeCondition | SingleCondition)[];
2745
+ conditions?: (SingleCondition | CompositeCondition)[];
2212
2746
  params?: {
2213
2747
  [k: string]: unknown;
2214
2748
  };
@@ -2220,7 +2754,7 @@ export interface Modules {
2220
2754
  name?: I18NProperty44;
2221
2755
  weight?: number;
2222
2756
  location?: string;
2223
- conditions?: (CompositeCondition | SingleCondition)[];
2757
+ conditions?: (SingleCondition | CompositeCondition)[];
2224
2758
  params?: {
2225
2759
  [k: string]: unknown;
2226
2760
  };
@@ -2235,7 +2769,7 @@ export interface Modules {
2235
2769
  expression?: string;
2236
2770
  edit?: URL8;
2237
2771
  evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
2238
- errorMessage?: I18NProperty45 | JiraExpressionErrorMessage;
2772
+ errorMessage?: JiraExpressionErrorMessage | I18NProperty45;
2239
2773
  name?: I18NProperty46;
2240
2774
  description?: I18NProperty47;
2241
2775
  create?: URL9;
@@ -2247,7 +2781,7 @@ export interface Modules {
2247
2781
  expression?: string;
2248
2782
  edit?: URL8;
2249
2783
  evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
2250
- errorMessage?: I18NProperty45 | JiraExpressionErrorMessage;
2784
+ errorMessage?: JiraExpressionErrorMessage | I18NProperty45;
2251
2785
  name?: I18NProperty46;
2252
2786
  description?: I18NProperty47;
2253
2787
  create?: URL9;
@@ -2287,6 +2821,7 @@ export interface Modules {
2287
2821
  {
2288
2822
  installed?: string;
2289
2823
  disabled?: string;
2824
+ 'dare-migration'?: string;
2290
2825
  uninstalled?: string;
2291
2826
  enabled?: string;
2292
2827
  key: ModuleKeySchema;
@@ -2295,6 +2830,7 @@ export interface Modules {
2295
2830
  ...{
2296
2831
  installed?: string;
2297
2832
  disabled?: string;
2833
+ 'dare-migration'?: string;
2298
2834
  uninstalled?: string;
2299
2835
  enabled?: string;
2300
2836
  key: ModuleKeySchema;
@@ -2459,7 +2995,7 @@ export interface Modules {
2459
2995
  name?: I18NProperty55;
2460
2996
  weight?: number;
2461
2997
  location?: string;
2462
- conditions?: (SingleCondition | CompositeCondition)[];
2998
+ conditions?: (CompositeCondition | SingleCondition)[];
2463
2999
  params?: {
2464
3000
  [k: string]: unknown;
2465
3001
  };
@@ -2471,7 +3007,7 @@ export interface Modules {
2471
3007
  name?: I18NProperty55;
2472
3008
  weight?: number;
2473
3009
  location?: string;
2474
- conditions?: (SingleCondition | CompositeCondition)[];
3010
+ conditions?: (CompositeCondition | SingleCondition)[];
2475
3011
  params?: {
2476
3012
  [k: string]: unknown;
2477
3013
  };
@@ -2524,7 +3060,7 @@ export interface Modules {
2524
3060
  name?: I18NProperty59;
2525
3061
  location?: string;
2526
3062
  cacheable?: boolean;
2527
- conditions?: (CompositeCondition6 | SingleCondition4)[];
3063
+ conditions?: (SingleCondition4 | CompositeCondition6)[];
2528
3064
  key: ModuleKeySchema;
2529
3065
  [k: string]: unknown;
2530
3066
  },
@@ -2542,7 +3078,7 @@ export interface Modules {
2542
3078
  name?: I18NProperty59;
2543
3079
  location?: string;
2544
3080
  cacheable?: boolean;
2545
- conditions?: (CompositeCondition6 | SingleCondition4)[];
3081
+ conditions?: (SingleCondition4 | CompositeCondition6)[];
2546
3082
  key: ModuleKeySchema;
2547
3083
  [k: string]: unknown;
2548
3084
  }[]
@@ -2620,7 +3156,7 @@ export interface Modules {
2620
3156
  name?: I18NProperty63;
2621
3157
  weight?: number;
2622
3158
  location?: string;
2623
- conditions?: (SingleCondition5 | CompositeCondition7)[];
3159
+ conditions?: (CompositeCondition7 | SingleCondition5)[];
2624
3160
  params?: {
2625
3161
  [k: string]: unknown;
2626
3162
  };
@@ -2632,7 +3168,7 @@ export interface Modules {
2632
3168
  name?: I18NProperty63;
2633
3169
  weight?: number;
2634
3170
  location?: string;
2635
- conditions?: (SingleCondition5 | CompositeCondition7)[];
3171
+ conditions?: (CompositeCondition7 | SingleCondition5)[];
2636
3172
  params?: {
2637
3173
  [k: string]: unknown;
2638
3174
  };
@@ -2883,6 +3419,7 @@ export interface Modules {
2883
3419
  {
2884
3420
  installed?: string;
2885
3421
  disabled?: string;
3422
+ 'dare-migration'?: string;
2886
3423
  uninstalled?: string;
2887
3424
  enabled?: string;
2888
3425
  key: ModuleKeySchema;
@@ -2891,6 +3428,7 @@ export interface Modules {
2891
3428
  ...{
2892
3429
  installed?: string;
2893
3430
  disabled?: string;
3431
+ 'dare-migration'?: string;
2894
3432
  uninstalled?: string;
2895
3433
  enabled?: string;
2896
3434
  key: ModuleKeySchema;
@@ -3024,37 +3562,6 @@ export interface I18NProperty1 {
3024
3562
  i18n?: string;
3025
3563
  [k: string]: unknown;
3026
3564
  }
3027
- /**
3028
- *
3029
- *
3030
- * Single Conditions are either provided by the host application. See the complete documentation of
3031
- * [Conditions](../../conditions/) for more information.
3032
- *
3033
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3034
- * This is useful where you want to show the section if a certain condition is not satisfied.
3035
- *
3036
- * <h3>Example</h3>
3037
- *
3038
- *
3039
- *
3040
- *
3041
- *
3042
- * {
3043
- * "condition": "user_is_logged_in",
3044
- * "invert": false
3045
- * }
3046
- *
3047
- *
3048
- *
3049
- */
3050
- export interface SingleCondition {
3051
- condition: string;
3052
- invert?: boolean;
3053
- params?: {
3054
- [k: string]: unknown;
3055
- };
3056
- [k: string]: unknown;
3057
- }
3058
3565
  /**
3059
3566
  *
3060
3567
  *
@@ -3096,6 +3603,37 @@ export interface CompositeCondition {
3096
3603
  type?: 'and' | 'AND' | 'or' | 'OR';
3097
3604
  [k: string]: unknown;
3098
3605
  }
3606
+ /**
3607
+ *
3608
+ *
3609
+ * Single Conditions are either provided by the host application. See the complete documentation of
3610
+ * [Conditions](../../conditions/) for more information.
3611
+ *
3612
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3613
+ * This is useful where you want to show the section if a certain condition is not satisfied.
3614
+ *
3615
+ * <h3>Example</h3>
3616
+ *
3617
+ *
3618
+ *
3619
+ *
3620
+ *
3621
+ * {
3622
+ * "condition": "user_is_logged_in",
3623
+ * "invert": false
3624
+ * }
3625
+ *
3626
+ *
3627
+ *
3628
+ */
3629
+ export interface SingleCondition {
3630
+ condition: string;
3631
+ invert?: boolean;
3632
+ params?: {
3633
+ [k: string]: unknown;
3634
+ };
3635
+ [k: string]: unknown;
3636
+ }
3099
3637
  /**
3100
3638
  *
3101
3639
  *
@@ -3439,7 +3977,7 @@ export interface Icon3 {
3439
3977
  *
3440
3978
  */
3441
3979
  export interface WebItemTarget {
3442
- options?: DialogOptions | InlineDialogOptions | DialogModuleOptions;
3980
+ options?: DialogOptions | DialogModuleOptions | InlineDialogOptions;
3443
3981
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
3444
3982
  [k: string]: unknown;
3445
3983
  }
@@ -3541,6 +4079,33 @@ export interface I18NProperty9 {
3541
4079
  i18n?: string;
3542
4080
  [k: string]: unknown;
3543
4081
  }
4082
+ /**
4083
+ *
4084
+ *
4085
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
4086
+ *
4087
+ * <h3>Example</h3>
4088
+ *
4089
+ *
4090
+ *
4091
+ *
4092
+ *
4093
+ * {
4094
+ * "target": {
4095
+ * "type": "dialogmodule",
4096
+ * "options": {
4097
+ * "key": "dialog-module-key"
4098
+ * }
4099
+ * }
4100
+ * }
4101
+ *
4102
+ *
4103
+ *
4104
+ */
4105
+ export interface DialogModuleOptions {
4106
+ key: string;
4107
+ [k: string]: unknown;
4108
+ }
3544
4109
  /**
3545
4110
  *
3546
4111
  *
@@ -3581,7 +4146,8 @@ export interface InlineDialogOptions {
3581
4146
  /**
3582
4147
  *
3583
4148
  *
3584
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
4149
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
4150
+ * and value in multiple places if you like, but identical keys must have identical values.
3585
4151
  *
3586
4152
  * <h3>Example</h3>
3587
4153
  *
@@ -3590,26 +4156,25 @@ export interface InlineDialogOptions {
3590
4156
  *
3591
4157
  *
3592
4158
  * {
3593
- * "target": {
3594
- * "type": "dialogmodule",
3595
- * "options": {
3596
- * "key": "dialog-module-key"
3597
- * }
3598
- * }
4159
+ * "value": "My text"
3599
4160
  * }
3600
4161
  *
3601
4162
  *
3602
4163
  *
3603
4164
  */
3604
- export interface DialogModuleOptions {
3605
- key: string;
4165
+ export interface I18NProperty10 {
4166
+ value: string;
4167
+ i18n?: string;
3606
4168
  [k: string]: unknown;
3607
4169
  }
3608
4170
  /**
3609
4171
  *
3610
4172
  *
3611
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
3612
- * and value in multiple places if you like, but identical keys must have identical values.
4173
+ * Single Conditions are either provided by the host application. See the complete documentation of
4174
+ * [Conditions](../../conditions/) for more information.
4175
+ *
4176
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
4177
+ * This is useful where you want to show the section if a certain condition is not satisfied.
3613
4178
  *
3614
4179
  * <h3>Example</h3>
3615
4180
  *
@@ -3618,15 +4183,19 @@ export interface DialogModuleOptions {
3618
4183
  *
3619
4184
  *
3620
4185
  * {
3621
- * "value": "My text"
4186
+ * "condition": "user_is_logged_in",
4187
+ * "invert": false
3622
4188
  * }
3623
4189
  *
3624
4190
  *
3625
4191
  *
3626
4192
  */
3627
- export interface I18NProperty10 {
3628
- value: string;
3629
- i18n?: string;
4193
+ export interface SingleCondition1 {
4194
+ condition: string;
4195
+ invert?: boolean;
4196
+ params?: {
4197
+ [k: string]: unknown;
4198
+ };
3630
4199
  [k: string]: unknown;
3631
4200
  }
3632
4201
  /**
@@ -3666,41 +4235,10 @@ export interface I18NProperty10 {
3666
4235
  *
3667
4236
  */
3668
4237
  export interface CompositeCondition1 {
3669
- conditions?: (ManifestSchema | SingleCondition)[];
4238
+ conditions?: (SingleCondition | ManifestSchema)[];
3670
4239
  type?: 'and' | 'AND' | 'or' | 'OR';
3671
4240
  [k: string]: unknown;
3672
4241
  }
3673
- /**
3674
- *
3675
- *
3676
- * Single Conditions are either provided by the host application. See the complete documentation of
3677
- * [Conditions](../../conditions/) for more information.
3678
- *
3679
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3680
- * This is useful where you want to show the section if a certain condition is not satisfied.
3681
- *
3682
- * <h3>Example</h3>
3683
- *
3684
- *
3685
- *
3686
- *
3687
- *
3688
- * {
3689
- * "condition": "user_is_logged_in",
3690
- * "invert": false
3691
- * }
3692
- *
3693
- *
3694
- *
3695
- */
3696
- export interface SingleCondition1 {
3697
- condition: string;
3698
- invert?: boolean;
3699
- params?: {
3700
- [k: string]: unknown;
3701
- };
3702
- [k: string]: unknown;
3703
- }
3704
4242
  /**
3705
4243
  *
3706
4244
  *
@@ -5210,6 +5748,18 @@ export interface URL8 {
5210
5748
  url: string;
5211
5749
  [k: string]: unknown;
5212
5750
  }
5751
+ /**
5752
+ *
5753
+ *
5754
+ * A Jira expression that will be evaluated if the workflow validator fails.
5755
+ * The string returned by the Jira expression will be displayed as the error message for the failed transition.
5756
+ *
5757
+ *
5758
+ */
5759
+ export interface JiraExpressionErrorMessage {
5760
+ expression: string;
5761
+ [k: string]: unknown;
5762
+ }
5213
5763
  /**
5214
5764
  *
5215
5765
  *
@@ -5234,18 +5784,6 @@ export interface I18NProperty45 {
5234
5784
  i18n?: string;
5235
5785
  [k: string]: unknown;
5236
5786
  }
5237
- /**
5238
- *
5239
- *
5240
- * A Jira expression that will be evaluated if the workflow validator fails.
5241
- * The string returned by the Jira expression will be displayed as the error message for the failed transition.
5242
- *
5243
- *
5244
- */
5245
- export interface JiraExpressionErrorMessage {
5246
- expression: string;
5247
- [k: string]: unknown;
5248
- }
5249
5787
  /**
5250
5788
  *
5251
5789
  *
@@ -5769,10 +6307,74 @@ export interface Icon10 {
5769
6307
  *
5770
6308
  */
5771
6309
  export interface WebItemTarget1 {
5772
- options?: DialogOptions2 | DialogModuleOptions1 | InlineDialogOptions1;
6310
+ options?: InlineDialogOptions1 | DialogModuleOptions1 | DialogOptions2;
5773
6311
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
5774
6312
  [k: string]: unknown;
5775
6313
  }
6314
+ /**
6315
+ *
6316
+ *
6317
+ * Options for an inline dialog target
6318
+ *
6319
+ * <h3>Example</h3>
6320
+ *
6321
+ *
6322
+ *
6323
+ *
6324
+ *
6325
+ * {
6326
+ * "target": {
6327
+ * "type": "inlinedialog",
6328
+ * "options": {
6329
+ * "onHover": true,
6330
+ * "offsetX": "30px",
6331
+ * "offsetY": "20px"
6332
+ * }
6333
+ * }
6334
+ * }
6335
+ *
6336
+ *
6337
+ *
6338
+ */
6339
+ export interface InlineDialogOptions1 {
6340
+ offsetX?: string;
6341
+ offsetY?: string;
6342
+ width?: string;
6343
+ onTop?: boolean;
6344
+ showDelay?: number;
6345
+ closeOthers?: boolean;
6346
+ persistent?: boolean;
6347
+ onHover?: boolean;
6348
+ isRelativeToMouse?: boolean;
6349
+ [k: string]: unknown;
6350
+ }
6351
+ /**
6352
+ *
6353
+ *
6354
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
6355
+ *
6356
+ * <h3>Example</h3>
6357
+ *
6358
+ *
6359
+ *
6360
+ *
6361
+ *
6362
+ * {
6363
+ * "target": {
6364
+ * "type": "dialogmodule",
6365
+ * "options": {
6366
+ * "key": "dialog-module-key"
6367
+ * }
6368
+ * }
6369
+ * }
6370
+ *
6371
+ *
6372
+ *
6373
+ */
6374
+ export interface DialogModuleOptions1 {
6375
+ key: string;
6376
+ [k: string]: unknown;
6377
+ }
5776
6378
  /**
5777
6379
  *
5778
6380
  *
@@ -5874,7 +6476,8 @@ export interface I18NProperty58 {
5874
6476
  /**
5875
6477
  *
5876
6478
  *
5877
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
6479
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
6480
+ * and value in multiple places if you like, but identical keys must have identical values.
5878
6481
  *
5879
6482
  * <h3>Example</h3>
5880
6483
  *
@@ -5883,63 +6486,25 @@ export interface I18NProperty58 {
5883
6486
  *
5884
6487
  *
5885
6488
  * {
5886
- * "target": {
5887
- * "type": "dialogmodule",
5888
- * "options": {
5889
- * "key": "dialog-module-key"
5890
- * }
5891
- * }
6489
+ * "value": "My text"
5892
6490
  * }
5893
6491
  *
5894
6492
  *
5895
6493
  *
5896
6494
  */
5897
- export interface DialogModuleOptions1 {
5898
- key: string;
6495
+ export interface I18NProperty59 {
6496
+ value: string;
6497
+ i18n?: string;
5899
6498
  [k: string]: unknown;
5900
6499
  }
5901
6500
  /**
5902
6501
  *
5903
6502
  *
5904
- * Options for an inline dialog target
5905
- *
5906
- * <h3>Example</h3>
5907
- *
5908
- *
5909
- *
5910
- *
5911
- *
5912
- * {
5913
- * "target": {
5914
- * "type": "inlinedialog",
5915
- * "options": {
5916
- * "onHover": true,
5917
- * "offsetX": "30px",
5918
- * "offsetY": "20px"
5919
- * }
5920
- * }
5921
- * }
5922
- *
5923
- *
5924
- *
5925
- */
5926
- export interface InlineDialogOptions1 {
5927
- offsetX?: string;
5928
- offsetY?: string;
5929
- width?: string;
5930
- onTop?: boolean;
5931
- showDelay?: number;
5932
- closeOthers?: boolean;
5933
- persistent?: boolean;
5934
- onHover?: boolean;
5935
- isRelativeToMouse?: boolean;
5936
- [k: string]: unknown;
5937
- }
5938
- /**
5939
- *
6503
+ * Single Conditions are either provided by the host application. See the complete documentation of
6504
+ * [Conditions](../../conditions/) for more information.
5940
6505
  *
5941
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
5942
- * and value in multiple places if you like, but identical keys must have identical values.
6506
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6507
+ * This is useful where you want to show the section if a certain condition is not satisfied.
5943
6508
  *
5944
6509
  * <h3>Example</h3>
5945
6510
  *
@@ -5948,15 +6513,19 @@ export interface InlineDialogOptions1 {
5948
6513
  *
5949
6514
  *
5950
6515
  * {
5951
- * "value": "My text"
6516
+ * "condition": "user_is_logged_in",
6517
+ * "invert": false
5952
6518
  * }
5953
6519
  *
5954
6520
  *
5955
6521
  *
5956
6522
  */
5957
- export interface I18NProperty59 {
5958
- value: string;
5959
- i18n?: string;
6523
+ export interface SingleCondition4 {
6524
+ condition: string;
6525
+ invert?: boolean;
6526
+ params?: {
6527
+ [k: string]: unknown;
6528
+ };
5960
6529
  [k: string]: unknown;
5961
6530
  }
5962
6531
  /**
@@ -6000,37 +6569,6 @@ export interface CompositeCondition6 {
6000
6569
  type?: 'and' | 'AND' | 'or' | 'OR';
6001
6570
  [k: string]: unknown;
6002
6571
  }
6003
- /**
6004
- *
6005
- *
6006
- * Single Conditions are either provided by the host application. See the complete documentation of
6007
- * [Conditions](../../conditions/) for more information.
6008
- *
6009
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6010
- * This is useful where you want to show the section if a certain condition is not satisfied.
6011
- *
6012
- * <h3>Example</h3>
6013
- *
6014
- *
6015
- *
6016
- *
6017
- *
6018
- * {
6019
- * "condition": "user_is_logged_in",
6020
- * "invert": false
6021
- * }
6022
- *
6023
- *
6024
- *
6025
- */
6026
- export interface SingleCondition4 {
6027
- condition: string;
6028
- invert?: boolean;
6029
- params?: {
6030
- [k: string]: unknown;
6031
- };
6032
- [k: string]: unknown;
6033
- }
6034
6572
  /**
6035
6573
  *
6036
6574
  *
@@ -6385,37 +6923,6 @@ export interface I18NProperty63 {
6385
6923
  i18n?: string;
6386
6924
  [k: string]: unknown;
6387
6925
  }
6388
- /**
6389
- *
6390
- *
6391
- * Single Conditions are either provided by the host application. See the complete documentation of
6392
- * [Conditions](../../conditions/) for more information.
6393
- *
6394
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6395
- * This is useful where you want to show the section if a certain condition is not satisfied.
6396
- *
6397
- * <h3>Example</h3>
6398
- *
6399
- *
6400
- *
6401
- *
6402
- *
6403
- * {
6404
- * "condition": "user_is_logged_in",
6405
- * "invert": false
6406
- * }
6407
- *
6408
- *
6409
- *
6410
- */
6411
- export interface SingleCondition5 {
6412
- condition: string;
6413
- invert?: boolean;
6414
- params?: {
6415
- [k: string]: unknown;
6416
- };
6417
- [k: string]: unknown;
6418
- }
6419
6926
  /**
6420
6927
  *
6421
6928
  *
@@ -6457,6 +6964,37 @@ export interface CompositeCondition7 {
6457
6964
  type?: 'and' | 'AND' | 'or' | 'OR';
6458
6965
  [k: string]: unknown;
6459
6966
  }
6967
+ /**
6968
+ *
6969
+ *
6970
+ * Single Conditions are either provided by the host application. See the complete documentation of
6971
+ * [Conditions](../../conditions/) for more information.
6972
+ *
6973
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6974
+ * This is useful where you want to show the section if a certain condition is not satisfied.
6975
+ *
6976
+ * <h3>Example</h3>
6977
+ *
6978
+ *
6979
+ *
6980
+ *
6981
+ *
6982
+ * {
6983
+ * "condition": "user_is_logged_in",
6984
+ * "invert": false
6985
+ * }
6986
+ *
6987
+ *
6988
+ *
6989
+ */
6990
+ export interface SingleCondition5 {
6991
+ condition: string;
6992
+ invert?: boolean;
6993
+ params?: {
6994
+ [k: string]: unknown;
6995
+ };
6996
+ [k: string]: unknown;
6997
+ }
6460
6998
  /**
6461
6999
  *
6462
7000
  *
@@ -7876,7 +8414,7 @@ export interface I18NProperty74 {
7876
8414
  *
7877
8415
  */
7878
8416
  export interface MacroPropertyPanel {
7879
- controls?: (TextControl | ControlGroup | ButtonControl1 | ToggleGroup)[];
8417
+ controls?: (TextControl | ControlGroup | ToggleGroup | ButtonControl1)[];
7880
8418
  cacheable?: boolean;
7881
8419
  url: string;
7882
8420
  [k: string]: unknown;
@@ -8002,6 +8540,105 @@ export interface I18NProperty75 {
8002
8540
  i18n?: string;
8003
8541
  [k: string]: unknown;
8004
8542
  }
8543
+ /**
8544
+ *
8545
+ *
8546
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
8547
+ *
8548
+ * <p><b>Example</b></p>
8549
+ *
8550
+ *
8551
+ *
8552
+ *
8553
+ *
8554
+ * [
8555
+ * {
8556
+ * "type": "togglegroup",
8557
+ * "macroParameter": "toggleGroupMacroParameter",
8558
+ * "controls": [
8559
+ * {
8560
+ * "type": "togglebutton",
8561
+ * "macroParameterValue": "macroParameterValue 0",
8562
+ * "label": {
8563
+ * "value": "My Custom Control 0"
8564
+ * },
8565
+ * "key": "my-custom-toggle-button-0"
8566
+ * },
8567
+ * {
8568
+ * "type": "togglebutton",
8569
+ * "macroParameterValue": "macroParameterValue 1",
8570
+ * "label": {
8571
+ * "value": "My Custom Control 1"
8572
+ * },
8573
+ * "key": "my-custom-toggle-button-1"
8574
+ * }
8575
+ * ]
8576
+ * }
8577
+ * ]
8578
+ *
8579
+ *
8580
+ *
8581
+ */
8582
+ export interface ToggleGroup {
8583
+ controls: ToggleButtonControl[];
8584
+ macroParameter: string;
8585
+ type: 'togglegroup' | 'TOGGLEGROUP';
8586
+ [k: string]: unknown;
8587
+ }
8588
+ /**
8589
+ *
8590
+ *
8591
+ * Defines a toggle button which appears inside a ToggleGroup
8592
+ *
8593
+ * <p><b>Example</b></p>
8594
+ *
8595
+ *
8596
+ *
8597
+ *
8598
+ *
8599
+ * {
8600
+ * "type": "togglebutton",
8601
+ * "macroParameterValue": "macroParameterValue 0",
8602
+ * "label": {
8603
+ * "value": "My Custom Control 0"
8604
+ * },
8605
+ * "key": "my-custom-toggle-button-0"
8606
+ * }
8607
+ *
8608
+ *
8609
+ *
8610
+ */
8611
+ export interface ToggleButtonControl {
8612
+ macroParameterValue: string;
8613
+ label: I18NProperty76;
8614
+ type: 'togglebutton' | 'TOGGLEBUTTON';
8615
+ key: string;
8616
+ [k: string]: unknown;
8617
+ }
8618
+ /**
8619
+ *
8620
+ *
8621
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
8622
+ * and value in multiple places if you like, but identical keys must have identical values.
8623
+ *
8624
+ * <h3>Example</h3>
8625
+ *
8626
+ *
8627
+ *
8628
+ *
8629
+ *
8630
+ * {
8631
+ * "value": "My text"
8632
+ * }
8633
+ *
8634
+ *
8635
+ *
8636
+ */
8637
+ export interface I18NProperty76 {
8638
+ value: string;
8639
+ i18n?: string;
8640
+ [k: string]: unknown;
8641
+ }
8005
8642
  /**
8006
8643
  *
8007
8644
  *
@@ -8025,107 +8662,8 @@ export interface I18NProperty75 {
8025
8662
  *
8026
8663
  */
8027
8664
  export interface ButtonControl1 {
8028
- label: I18NProperty76;
8029
- type: 'button' | 'BUTTON';
8030
- key: string;
8031
- [k: string]: unknown;
8032
- }
8033
- /**
8034
- *
8035
- *
8036
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
8037
- * and value in multiple places if you like, but identical keys must have identical values.
8038
- *
8039
- * <h3>Example</h3>
8040
- *
8041
- *
8042
- *
8043
- *
8044
- *
8045
- * {
8046
- * "value": "My text"
8047
- * }
8048
- *
8049
- *
8050
- *
8051
- */
8052
- export interface I18NProperty76 {
8053
- value: string;
8054
- i18n?: string;
8055
- [k: string]: unknown;
8056
- }
8057
- /**
8058
- *
8059
- *
8060
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
8061
- *
8062
- * <p><b>Example</b></p>
8063
- *
8064
- *
8065
- *
8066
- *
8067
- *
8068
- * [
8069
- * {
8070
- * "type": "togglegroup",
8071
- * "macroParameter": "toggleGroupMacroParameter",
8072
- * "controls": [
8073
- * {
8074
- * "type": "togglebutton",
8075
- * "macroParameterValue": "macroParameterValue 0",
8076
- * "label": {
8077
- * "value": "My Custom Control 0"
8078
- * },
8079
- * "key": "my-custom-toggle-button-0"
8080
- * },
8081
- * {
8082
- * "type": "togglebutton",
8083
- * "macroParameterValue": "macroParameterValue 1",
8084
- * "label": {
8085
- * "value": "My Custom Control 1"
8086
- * },
8087
- * "key": "my-custom-toggle-button-1"
8088
- * }
8089
- * ]
8090
- * }
8091
- * ]
8092
- *
8093
- *
8094
- *
8095
- */
8096
- export interface ToggleGroup {
8097
- controls: ToggleButtonControl[];
8098
- macroParameter: string;
8099
- type: 'togglegroup' | 'TOGGLEGROUP';
8100
- [k: string]: unknown;
8101
- }
8102
- /**
8103
- *
8104
- *
8105
- * Defines a toggle button which appears inside a ToggleGroup
8106
- *
8107
- * <p><b>Example</b></p>
8108
- *
8109
- *
8110
- *
8111
- *
8112
- *
8113
- * {
8114
- * "type": "togglebutton",
8115
- * "macroParameterValue": "macroParameterValue 0",
8116
- * "label": {
8117
- * "value": "My Custom Control 0"
8118
- * },
8119
- * "key": "my-custom-toggle-button-0"
8120
- * }
8121
- *
8122
- *
8123
- *
8124
- */
8125
- export interface ToggleButtonControl {
8126
- macroParameterValue: string;
8127
8665
  label: I18NProperty77;
8128
- type: 'togglebutton' | 'TOGGLEBUTTON';
8666
+ type: 'button' | 'BUTTON';
8129
8667
  key: string;
8130
8668
  [k: string]: unknown;
8131
8669
  }
@@ -29075,204 +29613,7 @@ export interface Icon17 {
29075
29613
  *
29076
29614
  *
29077
29615
  */
29078
- export interface I18NProperty83 {
29079
- value: string;
29080
- i18n?: string;
29081
- [k: string]: unknown;
29082
- }
29083
- /**
29084
- *
29085
- *
29086
- * Defining a Macro Property panel allows you to add a hidden iframe to your macro's
29087
- * property panel. The iframe is loaded as soon as the property panel is opened.
29088
- *
29089
- * In order to persist custom data using your property panel, use the Javascript
29090
- * <a href="../../jsapi/confluence/">Confluence API</a>.
29091
- * For example:
29092
- *
29093
- * AP.require(["confluence"], function (confluence) {
29094
- * var macroParams = {
29095
- * myParameter: value
29096
- * };
29097
- * confluence.saveMacro(macroParams);
29098
- * });
29099
- *
29100
- * In order to retrieve the custom data again when the property panel is opened, use `confluence.getMacroData` (see
29101
- * <a href="../../jsapi/confluence/">Confluence API</a>):
29102
- *
29103
- * AP.require("confluence", function (confluence) {
29104
- * var macroData = confluence.getMacroData(function(macroParams) {
29105
- * doSomethingWith(macroParams.myParameter);
29106
- * });
29107
- * });
29108
- *
29109
- * Dialogs may also be created. Use `dialog.create` (see
29110
- * <a href="../../jsapi/dialog/">Dialog API</a>):
29111
- *
29112
- * AP.require('dialog', function(dialog) {
29113
- * dialog.create({
29114
- * key: 'my-module-key',
29115
- * width: '500px',
29116
- * height: '200px',
29117
- * chrome: true
29118
- * }).on("close", callbackFunc);
29119
- * });
29120
- *
29121
- *
29122
- */
29123
- export interface MacroPropertyPanel1 {
29124
- controls?: (ButtonControl2 | ToggleGroup1 | TextControl1 | ControlGroup1)[];
29125
- cacheable?: boolean;
29126
- url: string;
29127
- [k: string]: unknown;
29128
- }
29129
- /**
29130
- *
29131
- *
29132
- * Defines a button which may appear in control extension points such as the property panel
29133
- *
29134
- * <p><b>Example</b></p>
29135
- *
29136
- *
29137
- *
29138
- *
29139
- *
29140
- * {
29141
- * "type": "button",
29142
- * "label": {
29143
- * "value": "My Custom Control 0"
29144
- * },
29145
- * "key": "my-custom-control-0"
29146
- * }
29147
- *
29148
- *
29149
- *
29150
- */
29151
- export interface ButtonControl2 {
29152
- label: I18NProperty84;
29153
- type: 'button' | 'BUTTON';
29154
- key: string;
29155
- [k: string]: unknown;
29156
- }
29157
- /**
29158
- *
29159
- *
29160
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
29161
- * and value in multiple places if you like, but identical keys must have identical values.
29162
- *
29163
- * <h3>Example</h3>
29164
- *
29165
- *
29166
- *
29167
- *
29168
- *
29169
- * {
29170
- * "value": "My text"
29171
- * }
29172
- *
29173
- *
29174
- *
29175
- */
29176
- export interface I18NProperty84 {
29177
- value: string;
29178
- i18n?: string;
29179
- [k: string]: unknown;
29180
- }
29181
- /**
29182
- *
29183
- *
29184
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
29185
- *
29186
- * <p><b>Example</b></p>
29187
- *
29188
- *
29189
- *
29190
- *
29191
- *
29192
- * [
29193
- * {
29194
- * "type": "togglegroup",
29195
- * "macroParameter": "toggleGroupMacroParameter",
29196
- * "controls": [
29197
- * {
29198
- * "type": "togglebutton",
29199
- * "macroParameterValue": "macroParameterValue 0",
29200
- * "label": {
29201
- * "value": "My Custom Control 0"
29202
- * },
29203
- * "key": "my-custom-toggle-button-0"
29204
- * },
29205
- * {
29206
- * "type": "togglebutton",
29207
- * "macroParameterValue": "macroParameterValue 1",
29208
- * "label": {
29209
- * "value": "My Custom Control 1"
29210
- * },
29211
- * "key": "my-custom-toggle-button-1"
29212
- * }
29213
- * ]
29214
- * }
29215
- * ]
29216
- *
29217
- *
29218
- *
29219
- */
29220
- export interface ToggleGroup1 {
29221
- controls: ToggleButtonControl1[];
29222
- macroParameter: string;
29223
- type: 'togglegroup' | 'TOGGLEGROUP';
29224
- [k: string]: unknown;
29225
- }
29226
- /**
29227
- *
29228
- *
29229
- * Defines a toggle button which appears inside a ToggleGroup
29230
- *
29231
- * <p><b>Example</b></p>
29232
- *
29233
- *
29234
- *
29235
- *
29236
- *
29237
- * {
29238
- * "type": "togglebutton",
29239
- * "macroParameterValue": "macroParameterValue 0",
29240
- * "label": {
29241
- * "value": "My Custom Control 0"
29242
- * },
29243
- * "key": "my-custom-toggle-button-0"
29244
- * }
29245
- *
29246
- *
29247
- *
29248
- */
29249
- export interface ToggleButtonControl1 {
29250
- macroParameterValue: string;
29251
- label: I18NProperty85;
29252
- type: 'togglebutton' | 'TOGGLEBUTTON';
29253
- key: string;
29254
- [k: string]: unknown;
29255
- }
29256
- /**
29257
- *
29258
- *
29259
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
29260
- * and value in multiple places if you like, but identical keys must have identical values.
29261
- *
29262
- * <h3>Example</h3>
29263
- *
29264
- *
29265
- *
29266
- *
29267
- *
29268
- * {
29269
- * "value": "My text"
29270
- * }
29271
- *
29272
- *
29273
- *
29274
- */
29275
- export interface I18NProperty85 {
29616
+ export interface I18NProperty83 {
29276
29617
  value: string;
29277
29618
  i18n?: string;
29278
29619
  [k: string]: unknown;
@@ -29280,7 +29621,98 @@ export interface I18NProperty85 {
29280
29621
  /**
29281
29622
  *
29282
29623
  *
29283
- * Defines a text field which may appear in control extension points such as the property panel
29624
+ * Defining a Macro Property panel allows you to add a hidden iframe to your macro's
29625
+ * property panel. The iframe is loaded as soon as the property panel is opened.
29626
+ *
29627
+ * In order to persist custom data using your property panel, use the Javascript
29628
+ * <a href="../../jsapi/confluence/">Confluence API</a>.
29629
+ * For example:
29630
+ *
29631
+ * AP.require(["confluence"], function (confluence) {
29632
+ * var macroParams = {
29633
+ * myParameter: value
29634
+ * };
29635
+ * confluence.saveMacro(macroParams);
29636
+ * });
29637
+ *
29638
+ * In order to retrieve the custom data again when the property panel is opened, use `confluence.getMacroData` (see
29639
+ * <a href="../../jsapi/confluence/">Confluence API</a>):
29640
+ *
29641
+ * AP.require("confluence", function (confluence) {
29642
+ * var macroData = confluence.getMacroData(function(macroParams) {
29643
+ * doSomethingWith(macroParams.myParameter);
29644
+ * });
29645
+ * });
29646
+ *
29647
+ * Dialogs may also be created. Use `dialog.create` (see
29648
+ * <a href="../../jsapi/dialog/">Dialog API</a>):
29649
+ *
29650
+ * AP.require('dialog', function(dialog) {
29651
+ * dialog.create({
29652
+ * key: 'my-module-key',
29653
+ * width: '500px',
29654
+ * height: '200px',
29655
+ * chrome: true
29656
+ * }).on("close", callbackFunc);
29657
+ * });
29658
+ *
29659
+ *
29660
+ */
29661
+ export interface MacroPropertyPanel1 {
29662
+ controls?: (ToggleGroup1 | ControlGroup1 | TextControl1 | ButtonControl3)[];
29663
+ cacheable?: boolean;
29664
+ url: string;
29665
+ [k: string]: unknown;
29666
+ }
29667
+ /**
29668
+ *
29669
+ *
29670
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
29671
+ *
29672
+ * <p><b>Example</b></p>
29673
+ *
29674
+ *
29675
+ *
29676
+ *
29677
+ *
29678
+ * [
29679
+ * {
29680
+ * "type": "togglegroup",
29681
+ * "macroParameter": "toggleGroupMacroParameter",
29682
+ * "controls": [
29683
+ * {
29684
+ * "type": "togglebutton",
29685
+ * "macroParameterValue": "macroParameterValue 0",
29686
+ * "label": {
29687
+ * "value": "My Custom Control 0"
29688
+ * },
29689
+ * "key": "my-custom-toggle-button-0"
29690
+ * },
29691
+ * {
29692
+ * "type": "togglebutton",
29693
+ * "macroParameterValue": "macroParameterValue 1",
29694
+ * "label": {
29695
+ * "value": "My Custom Control 1"
29696
+ * },
29697
+ * "key": "my-custom-toggle-button-1"
29698
+ * }
29699
+ * ]
29700
+ * }
29701
+ * ]
29702
+ *
29703
+ *
29704
+ *
29705
+ */
29706
+ export interface ToggleGroup1 {
29707
+ controls: ToggleButtonControl1[];
29708
+ macroParameter: string;
29709
+ type: 'togglegroup' | 'TOGGLEGROUP';
29710
+ [k: string]: unknown;
29711
+ }
29712
+ /**
29713
+ *
29714
+ *
29715
+ * Defines a toggle button which appears inside a ToggleGroup
29284
29716
  *
29285
29717
  * <p><b>Example</b></p>
29286
29718
  *
@@ -29289,22 +29721,48 @@ export interface I18NProperty85 {
29289
29721
  *
29290
29722
  *
29291
29723
  * {
29292
- * "type": "button",
29724
+ * "type": "togglebutton",
29725
+ * "macroParameterValue": "macroParameterValue 0",
29293
29726
  * "label": {
29294
29727
  * "value": "My Custom Control 0"
29295
29728
  * },
29296
- * "key": "my-custom-control-0"
29729
+ * "key": "my-custom-toggle-button-0"
29297
29730
  * }
29298
29731
  *
29299
29732
  *
29300
29733
  *
29301
29734
  */
29302
- export interface TextControl1 {
29303
- macroParameter: string;
29304
- type: 'text' | 'TEXT';
29735
+ export interface ToggleButtonControl1 {
29736
+ macroParameterValue: string;
29737
+ label: I18NProperty84;
29738
+ type: 'togglebutton' | 'TOGGLEBUTTON';
29305
29739
  key: string;
29306
29740
  [k: string]: unknown;
29307
29741
  }
29742
+ /**
29743
+ *
29744
+ *
29745
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
29746
+ * and value in multiple places if you like, but identical keys must have identical values.
29747
+ *
29748
+ * <h3>Example</h3>
29749
+ *
29750
+ *
29751
+ *
29752
+ *
29753
+ *
29754
+ * {
29755
+ * "value": "My text"
29756
+ * }
29757
+ *
29758
+ *
29759
+ *
29760
+ */
29761
+ export interface I18NProperty84 {
29762
+ value: string;
29763
+ i18n?: string;
29764
+ [k: string]: unknown;
29765
+ }
29308
29766
  /**
29309
29767
  *
29310
29768
  *
@@ -29342,10 +29800,90 @@ export interface TextControl1 {
29342
29800
  *
29343
29801
  */
29344
29802
  export interface ControlGroup1 {
29345
- controls: ButtonControl3[];
29803
+ controls: ButtonControl2[];
29346
29804
  type: 'group' | 'GROUP';
29347
29805
  [k: string]: unknown;
29348
29806
  }
29807
+ /**
29808
+ *
29809
+ *
29810
+ * Defines a button which may appear in control extension points such as the property panel
29811
+ *
29812
+ * <p><b>Example</b></p>
29813
+ *
29814
+ *
29815
+ *
29816
+ *
29817
+ *
29818
+ * {
29819
+ * "type": "button",
29820
+ * "label": {
29821
+ * "value": "My Custom Control 0"
29822
+ * },
29823
+ * "key": "my-custom-control-0"
29824
+ * }
29825
+ *
29826
+ *
29827
+ *
29828
+ */
29829
+ export interface ButtonControl2 {
29830
+ label: I18NProperty85;
29831
+ type: 'button' | 'BUTTON';
29832
+ key: string;
29833
+ [k: string]: unknown;
29834
+ }
29835
+ /**
29836
+ *
29837
+ *
29838
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
29839
+ * and value in multiple places if you like, but identical keys must have identical values.
29840
+ *
29841
+ * <h3>Example</h3>
29842
+ *
29843
+ *
29844
+ *
29845
+ *
29846
+ *
29847
+ * {
29848
+ * "value": "My text"
29849
+ * }
29850
+ *
29851
+ *
29852
+ *
29853
+ */
29854
+ export interface I18NProperty85 {
29855
+ value: string;
29856
+ i18n?: string;
29857
+ [k: string]: unknown;
29858
+ }
29859
+ /**
29860
+ *
29861
+ *
29862
+ * Defines a text field which may appear in control extension points such as the property panel
29863
+ *
29864
+ * <p><b>Example</b></p>
29865
+ *
29866
+ *
29867
+ *
29868
+ *
29869
+ *
29870
+ * {
29871
+ * "type": "button",
29872
+ * "label": {
29873
+ * "value": "My Custom Control 0"
29874
+ * },
29875
+ * "key": "my-custom-control-0"
29876
+ * }
29877
+ *
29878
+ *
29879
+ *
29880
+ */
29881
+ export interface TextControl1 {
29882
+ macroParameter: string;
29883
+ type: 'text' | 'TEXT';
29884
+ key: string;
29885
+ [k: string]: unknown;
29886
+ }
29349
29887
  /**
29350
29888
  *
29351
29889
  *
@@ -51219,16 +51757,6 @@ export interface RemotesSchema {
51219
51757
  export interface Providers {
51220
51758
  auth: Auth;
51221
51759
  }
51222
- export interface AuthProviderPredefined {
51223
- key: ModuleKeySchema;
51224
- /**
51225
- * Name shown to end users
51226
- */
51227
- name: string;
51228
- integration: 'adobe' | 'azuredevops' | 'dropbox' | 'google' | 'miro';
51229
- clientId: string;
51230
- scopes?: string[];
51231
- }
51232
51760
  export interface AuthProviderCustom {
51233
51761
  key: ModuleKeySchema;
51234
51762
  /**
@@ -51236,17 +51764,61 @@ export interface AuthProviderCustom {
51236
51764
  */
51237
51765
  name: string;
51238
51766
  type: 'oauth2';
51239
- bearerMethod?: 'authorization-header' | 'form-encoded' | 'uri-query';
51767
+ bearerMethod?:
51768
+ | ('authorization-header' | 'form-encoded' | 'uri-query')
51769
+ | {
51770
+ type: 'authorization-header' | 'form-encoded' | 'uri-query';
51771
+ /**
51772
+ * Custom authorization header prefix
51773
+ */
51774
+ prefix?: string;
51775
+ /**
51776
+ * Custom Header name or Parameter name (depending on type)
51777
+ */
51778
+ parameter?: string;
51779
+ };
51240
51780
  clientId: string;
51241
51781
  scopes?: string[];
51242
51782
  remotes?: ModuleKeySchema[];
51243
51783
  actions: {
51244
- authorization: ActionDefinition;
51245
- exchange: ActionDefinition;
51784
+ authorization: AuthorizeActionDefinition;
51785
+ exchange: ExchangeActionDefinition;
51246
51786
  revokeToken: ActionDefinition;
51247
51787
  retrieveProfile: DynamicProfileRetriever | StaticProfileRetriever;
51248
51788
  };
51249
51789
  }
51790
+ export interface AuthorizeActionDefinition {
51791
+ remote: ModuleKeySchema;
51792
+ path: string;
51793
+ /**
51794
+ * Additional GET parameters sent to the API
51795
+ */
51796
+ queryParameters?: {
51797
+ /**
51798
+ * This interface was referenced by `undefined`'s JSON-Schema definition
51799
+ * via the `patternProperty` "^[a-zA-Z0-9_-]+$".
51800
+ */
51801
+ [k: string]: string;
51802
+ };
51803
+ }
51804
+ export interface ExchangeActionDefinition {
51805
+ remote: ModuleKeySchema;
51806
+ path: string;
51807
+ resolvers?: {
51808
+ /**
51809
+ * Path to the 'access token' parameter within the JSON response from the auhuorization API (full stop separated for nested parameters)
51810
+ */
51811
+ accessToken?: string;
51812
+ /**
51813
+ * Path to the 'access token expires' parameter within the JSON response from the auhuorization API (full stop separated for nested parameters)
51814
+ */
51815
+ accessTokenExpires?: string;
51816
+ /**
51817
+ * Path to the 'refresh token' parameter within the JSON response from the auhuorization API (full stop separated for nested parameters)
51818
+ */
51819
+ refreshToken?: string;
51820
+ };
51821
+ }
51250
51822
  export interface ActionDefinition {
51251
51823
  remote: ModuleKeySchema;
51252
51824
  path: string;
@@ -51281,3 +51853,13 @@ export interface StaticProfileRetriever {
51281
51853
  avatarUrl?: string;
51282
51854
  };
51283
51855
  }
51856
+ export interface AuthProviderPredefined {
51857
+ key: ModuleKeySchema;
51858
+ /**
51859
+ * Name shown to end users
51860
+ */
51861
+ name: string;
51862
+ integration: 'adobe' | 'azuredevops' | 'dropbox' | 'google' | 'miro';
51863
+ clientId: string;
51864
+ scopes?: string[];
51865
+ }