@forge/manifest 2.6.0-next.9 → 3.1.0-next.1

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.
@@ -72,7 +72,7 @@ export type Scopes = string[];
72
72
  export type Scripts = string[];
73
73
  export type Styles = 'unsafe-inline'[];
74
74
  export type Backend = (string | Remote)[];
75
- export type Client = string[];
75
+ export type Client = (string | Remote1)[];
76
76
  export type Fonts = string[];
77
77
  export type Frames = string[];
78
78
  export type Navigation = string[];
@@ -82,6 +82,19 @@ export type Scripts1 = string[];
82
82
  export type Styles1 = string[];
83
83
  export type Resources = HostedResourcesSchema[];
84
84
  export type Remotes = RemotesSchema[];
85
+ export type BearerMethodSchema =
86
+ | ('authorization-header' | 'form-encoded' | 'uri-query')
87
+ | {
88
+ type: 'authorization-header' | 'form-encoded' | 'uri-query';
89
+ /**
90
+ * Custom authorization header prefix
91
+ */
92
+ prefix?: string;
93
+ /**
94
+ * Custom Header name or Parameter name (depending on type)
95
+ */
96
+ parameter?: string;
97
+ };
85
98
  /**
86
99
  * External authentication providers
87
100
  */
@@ -124,6 +137,10 @@ export interface Connect {
124
137
  * A key for the remote, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.
125
138
  */
126
139
  remote?: string;
140
+ /**
141
+ * The type of authentication used to communicate with tenant APIs
142
+ */
143
+ authentication?: 'jwt' | 'oauth2';
127
144
  }
128
145
  export interface ConnectModules {
129
146
  lifecycle?: [
@@ -298,6 +315,9 @@ export interface Modules {
298
315
  | {
299
316
  title: string;
300
317
  function: string;
318
+ displayConditions?: {
319
+ [k: string]: unknown;
320
+ };
301
321
  key: ModuleKeySchema;
302
322
  [k: string]: unknown;
303
323
  }
@@ -309,6 +329,9 @@ export interface Modules {
309
329
  resource: string;
310
330
  resourceUploadId?: string;
311
331
  viewportSize?: 'small' | 'medium' | 'large';
332
+ displayConditions?: {
333
+ [k: string]: unknown;
334
+ };
312
335
  key: ModuleKeySchema;
313
336
  [k: string]: unknown;
314
337
  }
@@ -317,6 +340,9 @@ export interface Modules {
317
340
  | {
318
341
  title: string;
319
342
  function: string;
343
+ displayConditions?: {
344
+ [k: string]: unknown;
345
+ };
320
346
  key: ModuleKeySchema;
321
347
  [k: string]: unknown;
322
348
  }
@@ -328,6 +354,9 @@ export interface Modules {
328
354
  resource: string;
329
355
  resourceUploadId?: string;
330
356
  viewportSize?: 'small' | 'medium' | 'large';
357
+ displayConditions?: {
358
+ [k: string]: unknown;
359
+ };
331
360
  key: ModuleKeySchema;
332
361
  [k: string]: unknown;
333
362
  }
@@ -338,6 +367,9 @@ export interface Modules {
338
367
  | {
339
368
  title: string;
340
369
  function: string;
370
+ displayConditions?: {
371
+ [k: string]: unknown;
372
+ };
341
373
  key: ModuleKeySchema;
342
374
  [k: string]: unknown;
343
375
  }
@@ -349,6 +381,9 @@ export interface Modules {
349
381
  resource: string;
350
382
  resourceUploadId?: string;
351
383
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
384
+ displayConditions?: {
385
+ [k: string]: unknown;
386
+ };
352
387
  key: ModuleKeySchema;
353
388
  [k: string]: unknown;
354
389
  }
@@ -357,6 +392,9 @@ export interface Modules {
357
392
  | {
358
393
  title: string;
359
394
  function: string;
395
+ displayConditions?: {
396
+ [k: string]: unknown;
397
+ };
360
398
  key: ModuleKeySchema;
361
399
  [k: string]: unknown;
362
400
  }
@@ -368,6 +406,9 @@ export interface Modules {
368
406
  resource: string;
369
407
  resourceUploadId?: string;
370
408
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
409
+ displayConditions?: {
410
+ [k: string]: unknown;
411
+ };
371
412
  key: ModuleKeySchema;
372
413
  [k: string]: unknown;
373
414
  }
@@ -450,6 +491,9 @@ export interface Modules {
450
491
  | {
451
492
  title: string;
452
493
  function: string;
494
+ displayConditions?: {
495
+ [k: string]: unknown;
496
+ };
453
497
  key: ModuleKeySchema;
454
498
  [k: string]: unknown;
455
499
  }
@@ -461,6 +505,9 @@ export interface Modules {
461
505
  resource: string;
462
506
  resourceUploadId?: string;
463
507
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
508
+ displayConditions?: {
509
+ [k: string]: unknown;
510
+ };
464
511
  key: ModuleKeySchema;
465
512
  [k: string]: unknown;
466
513
  }
@@ -469,6 +516,9 @@ export interface Modules {
469
516
  | {
470
517
  title: string;
471
518
  function: string;
519
+ displayConditions?: {
520
+ [k: string]: unknown;
521
+ };
472
522
  key: ModuleKeySchema;
473
523
  [k: string]: unknown;
474
524
  }
@@ -480,6 +530,9 @@ export interface Modules {
480
530
  resource: string;
481
531
  resourceUploadId?: string;
482
532
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
533
+ displayConditions?: {
534
+ [k: string]: unknown;
535
+ };
483
536
  key: ModuleKeySchema;
484
537
  [k: string]: unknown;
485
538
  }
@@ -492,6 +545,9 @@ export interface Modules {
492
545
  icon?: string;
493
546
  route: string;
494
547
  function: string;
548
+ displayConditions?: {
549
+ [k: string]: unknown;
550
+ };
495
551
  key: ModuleKeySchema;
496
552
  [k: string]: unknown;
497
553
  }
@@ -504,6 +560,9 @@ export interface Modules {
504
560
  };
505
561
  resource: string;
506
562
  resourceUploadId?: string;
563
+ displayConditions?: {
564
+ [k: string]: unknown;
565
+ };
507
566
  key: ModuleKeySchema;
508
567
  [k: string]: unknown;
509
568
  }
@@ -514,6 +573,9 @@ export interface Modules {
514
573
  icon?: string;
515
574
  route: string;
516
575
  function: string;
576
+ displayConditions?: {
577
+ [k: string]: unknown;
578
+ };
517
579
  key: ModuleKeySchema;
518
580
  [k: string]: unknown;
519
581
  }
@@ -526,6 +588,9 @@ export interface Modules {
526
588
  };
527
589
  resource: string;
528
590
  resourceUploadId?: string;
591
+ displayConditions?: {
592
+ [k: string]: unknown;
593
+ };
529
594
  key: ModuleKeySchema;
530
595
  [k: string]: unknown;
531
596
  }
@@ -536,6 +601,9 @@ export interface Modules {
536
601
  | {
537
602
  title: string;
538
603
  function: string;
604
+ displayConditions?: {
605
+ [k: string]: unknown;
606
+ };
539
607
  key: ModuleKeySchema;
540
608
  [k: string]: unknown;
541
609
  }
@@ -546,6 +614,9 @@ export interface Modules {
546
614
  };
547
615
  resource: string;
548
616
  resourceUploadId?: string;
617
+ displayConditions?: {
618
+ [k: string]: unknown;
619
+ };
549
620
  key: ModuleKeySchema;
550
621
  [k: string]: unknown;
551
622
  }
@@ -554,6 +625,9 @@ export interface Modules {
554
625
  | {
555
626
  title: string;
556
627
  function: string;
628
+ displayConditions?: {
629
+ [k: string]: unknown;
630
+ };
557
631
  key: ModuleKeySchema;
558
632
  [k: string]: unknown;
559
633
  }
@@ -564,6 +638,9 @@ export interface Modules {
564
638
  };
565
639
  resource: string;
566
640
  resourceUploadId?: string;
641
+ displayConditions?: {
642
+ [k: string]: unknown;
643
+ };
567
644
  key: ModuleKeySchema;
568
645
  [k: string]: unknown;
569
646
  }
@@ -574,6 +651,9 @@ export interface Modules {
574
651
  | {
575
652
  title: string;
576
653
  function: string;
654
+ displayConditions?: {
655
+ [k: string]: unknown;
656
+ };
577
657
  key: ModuleKeySchema;
578
658
  [k: string]: unknown;
579
659
  }
@@ -584,6 +664,9 @@ export interface Modules {
584
664
  };
585
665
  resource: string;
586
666
  resourceUploadId?: string;
667
+ displayConditions?: {
668
+ [k: string]: unknown;
669
+ };
587
670
  key: ModuleKeySchema;
588
671
  [k: string]: unknown;
589
672
  }
@@ -592,6 +675,9 @@ export interface Modules {
592
675
  | {
593
676
  title: string;
594
677
  function: string;
678
+ displayConditions?: {
679
+ [k: string]: unknown;
680
+ };
595
681
  key: ModuleKeySchema;
596
682
  [k: string]: unknown;
597
683
  }
@@ -602,11 +688,68 @@ export interface Modules {
602
688
  };
603
689
  resource: string;
604
690
  resourceUploadId?: string;
691
+ displayConditions?: {
692
+ [k: string]: unknown;
693
+ };
605
694
  key: ModuleKeySchema;
606
695
  [k: string]: unknown;
607
696
  }
608
697
  )[]
609
698
  ];
699
+ 'confluence:globalPage'?: [
700
+ (
701
+ | {
702
+ title: string;
703
+ icon?: string;
704
+ route: string;
705
+ function: string;
706
+ displayConditions?: {
707
+ [k: string]: unknown;
708
+ };
709
+ key: ModuleKeySchema;
710
+ }
711
+ | {
712
+ title: string;
713
+ icon?: string;
714
+ route: string;
715
+ resolver?: {
716
+ function: string;
717
+ };
718
+ resource: string;
719
+ resourceUploadId?: string;
720
+ displayConditions?: {
721
+ [k: string]: unknown;
722
+ };
723
+ key: ModuleKeySchema;
724
+ }
725
+ ),
726
+ ...(
727
+ | {
728
+ title: string;
729
+ icon?: string;
730
+ route: string;
731
+ function: string;
732
+ displayConditions?: {
733
+ [k: string]: unknown;
734
+ };
735
+ key: ModuleKeySchema;
736
+ }
737
+ | {
738
+ title: string;
739
+ icon?: string;
740
+ route: string;
741
+ resolver?: {
742
+ function: string;
743
+ };
744
+ resource: string;
745
+ resourceUploadId?: string;
746
+ displayConditions?: {
747
+ [k: string]: unknown;
748
+ };
749
+ key: ModuleKeySchema;
750
+ }
751
+ )[]
752
+ ];
610
753
  'jira:workflowValidator'?: [
611
754
  {
612
755
  name: string;
@@ -1236,44 +1379,108 @@ export interface Modules {
1236
1379
  'jira:adminPage'?: [
1237
1380
  (
1238
1381
  | {
1382
+ function: string;
1239
1383
  title: string;
1240
1384
  icon?: string;
1241
- layout?: 'native' | 'basic';
1242
- function: string;
1385
+ layout?: 'basic' | 'native';
1386
+ pages?: {
1387
+ title: string;
1388
+ route: string;
1389
+ icon?: string;
1390
+ [k: string]: unknown;
1391
+ }[];
1392
+ sections?: {
1393
+ header?: string;
1394
+ pages: {
1395
+ title: string;
1396
+ route: string;
1397
+ icon?: string;
1398
+ [k: string]: unknown;
1399
+ }[];
1400
+ [k: string]: unknown;
1401
+ }[];
1243
1402
  key: ModuleKeySchema;
1244
1403
  [k: string]: unknown;
1245
1404
  }
1246
1405
  | {
1247
- title: string;
1248
- icon?: string;
1249
- layout?: 'native' | 'basic';
1406
+ resource: string;
1407
+ resourceUploadId?: string;
1250
1408
  resolver?: {
1251
1409
  function: string;
1252
1410
  };
1253
- resource: string;
1254
- resourceUploadId?: string;
1411
+ title: string;
1412
+ icon?: string;
1413
+ layout?: 'basic' | 'native';
1414
+ pages?: {
1415
+ title: string;
1416
+ route: string;
1417
+ icon?: string;
1418
+ [k: string]: unknown;
1419
+ }[];
1420
+ sections?: {
1421
+ header?: string;
1422
+ pages: {
1423
+ title: string;
1424
+ route: string;
1425
+ icon?: string;
1426
+ [k: string]: unknown;
1427
+ }[];
1428
+ [k: string]: unknown;
1429
+ }[];
1255
1430
  key: ModuleKeySchema;
1256
1431
  [k: string]: unknown;
1257
1432
  }
1258
1433
  ),
1259
1434
  ...(
1260
1435
  | {
1436
+ function: string;
1261
1437
  title: string;
1262
1438
  icon?: string;
1263
- layout?: 'native' | 'basic';
1264
- function: string;
1439
+ layout?: 'basic' | 'native';
1440
+ pages?: {
1441
+ title: string;
1442
+ route: string;
1443
+ icon?: string;
1444
+ [k: string]: unknown;
1445
+ }[];
1446
+ sections?: {
1447
+ header?: string;
1448
+ pages: {
1449
+ title: string;
1450
+ route: string;
1451
+ icon?: string;
1452
+ [k: string]: unknown;
1453
+ }[];
1454
+ [k: string]: unknown;
1455
+ }[];
1265
1456
  key: ModuleKeySchema;
1266
1457
  [k: string]: unknown;
1267
1458
  }
1268
1459
  | {
1269
- title: string;
1270
- icon?: string;
1271
- layout?: 'native' | 'basic';
1460
+ resource: string;
1461
+ resourceUploadId?: string;
1272
1462
  resolver?: {
1273
1463
  function: string;
1274
1464
  };
1275
- resource: string;
1276
- resourceUploadId?: string;
1465
+ title: string;
1466
+ icon?: string;
1467
+ layout?: 'basic' | 'native';
1468
+ pages?: {
1469
+ title: string;
1470
+ route: string;
1471
+ icon?: string;
1472
+ [k: string]: unknown;
1473
+ }[];
1474
+ sections?: {
1475
+ header?: string;
1476
+ pages: {
1477
+ title: string;
1478
+ route: string;
1479
+ icon?: string;
1480
+ [k: string]: unknown;
1481
+ }[];
1482
+ [k: string]: unknown;
1483
+ }[];
1277
1484
  key: ModuleKeySchema;
1278
1485
  [k: string]: unknown;
1279
1486
  }
@@ -1282,44 +1489,108 @@ export interface Modules {
1282
1489
  'jira:projectPage'?: [
1283
1490
  (
1284
1491
  | {
1492
+ function: string;
1285
1493
  title: string;
1286
1494
  icon?: string;
1287
- layout?: 'native' | 'basic';
1288
- function: string;
1495
+ layout?: 'basic' | 'native';
1496
+ pages?: {
1497
+ title: string;
1498
+ route: string;
1499
+ icon?: string;
1500
+ [k: string]: unknown;
1501
+ }[];
1502
+ sections?: {
1503
+ header?: string;
1504
+ pages: {
1505
+ title: string;
1506
+ route: string;
1507
+ icon?: string;
1508
+ [k: string]: unknown;
1509
+ }[];
1510
+ [k: string]: unknown;
1511
+ }[];
1289
1512
  key: ModuleKeySchema;
1290
1513
  [k: string]: unknown;
1291
1514
  }
1292
1515
  | {
1293
- title: string;
1294
- icon?: string;
1295
- layout?: 'native' | 'basic';
1516
+ resource: string;
1517
+ resourceUploadId?: string;
1296
1518
  resolver?: {
1297
1519
  function: string;
1298
1520
  };
1299
- resource: string;
1300
- resourceUploadId?: string;
1521
+ title: string;
1522
+ icon?: string;
1523
+ layout?: 'basic' | 'native';
1524
+ pages?: {
1525
+ title: string;
1526
+ route: string;
1527
+ icon?: string;
1528
+ [k: string]: unknown;
1529
+ }[];
1530
+ sections?: {
1531
+ header?: string;
1532
+ pages: {
1533
+ title: string;
1534
+ route: string;
1535
+ icon?: string;
1536
+ [k: string]: unknown;
1537
+ }[];
1538
+ [k: string]: unknown;
1539
+ }[];
1301
1540
  key: ModuleKeySchema;
1302
1541
  [k: string]: unknown;
1303
1542
  }
1304
1543
  ),
1305
1544
  ...(
1306
1545
  | {
1546
+ function: string;
1307
1547
  title: string;
1308
1548
  icon?: string;
1309
- layout?: 'native' | 'basic';
1310
- function: string;
1549
+ layout?: 'basic' | 'native';
1550
+ pages?: {
1551
+ title: string;
1552
+ route: string;
1553
+ icon?: string;
1554
+ [k: string]: unknown;
1555
+ }[];
1556
+ sections?: {
1557
+ header?: string;
1558
+ pages: {
1559
+ title: string;
1560
+ route: string;
1561
+ icon?: string;
1562
+ [k: string]: unknown;
1563
+ }[];
1564
+ [k: string]: unknown;
1565
+ }[];
1311
1566
  key: ModuleKeySchema;
1312
1567
  [k: string]: unknown;
1313
1568
  }
1314
1569
  | {
1315
- title: string;
1316
- icon?: string;
1317
- layout?: 'native' | 'basic';
1570
+ resource: string;
1571
+ resourceUploadId?: string;
1318
1572
  resolver?: {
1319
1573
  function: string;
1320
1574
  };
1321
- resource: string;
1322
- resourceUploadId?: string;
1575
+ title: string;
1576
+ icon?: string;
1577
+ layout?: 'basic' | 'native';
1578
+ pages?: {
1579
+ title: string;
1580
+ route: string;
1581
+ icon?: string;
1582
+ [k: string]: unknown;
1583
+ }[];
1584
+ sections?: {
1585
+ header?: string;
1586
+ pages: {
1587
+ title: string;
1588
+ route: string;
1589
+ icon?: string;
1590
+ [k: string]: unknown;
1591
+ }[];
1592
+ [k: string]: unknown;
1593
+ }[];
1323
1594
  key: ModuleKeySchema;
1324
1595
  [k: string]: unknown;
1325
1596
  }
@@ -1332,17 +1603,50 @@ export interface Modules {
1332
1603
  title: string;
1333
1604
  icon?: string;
1334
1605
  layout?: 'basic' | 'native';
1606
+ pages?: {
1607
+ title: string;
1608
+ route: string;
1609
+ icon?: string;
1610
+ [k: string]: unknown;
1611
+ }[];
1612
+ sections?: {
1613
+ header?: string;
1614
+ pages: {
1615
+ title: string;
1616
+ route: string;
1617
+ icon?: string;
1618
+ [k: string]: unknown;
1619
+ }[];
1620
+ [k: string]: unknown;
1621
+ }[];
1335
1622
  key: ModuleKeySchema;
1336
1623
  [k: string]: unknown;
1337
1624
  }
1338
1625
  | {
1339
1626
  resource: string;
1627
+ resourceUploadId?: string;
1340
1628
  resolver?: {
1341
1629
  function: string;
1342
1630
  };
1343
1631
  title: string;
1344
1632
  icon?: string;
1345
1633
  layout?: 'basic' | 'native';
1634
+ pages?: {
1635
+ title: string;
1636
+ route: string;
1637
+ icon?: string;
1638
+ [k: string]: unknown;
1639
+ }[];
1640
+ sections?: {
1641
+ header?: string;
1642
+ pages: {
1643
+ title: string;
1644
+ route: string;
1645
+ icon?: string;
1646
+ [k: string]: unknown;
1647
+ }[];
1648
+ [k: string]: unknown;
1649
+ }[];
1346
1650
  key: ModuleKeySchema;
1347
1651
  [k: string]: unknown;
1348
1652
  }
@@ -1353,17 +1657,50 @@ export interface Modules {
1353
1657
  title: string;
1354
1658
  icon?: string;
1355
1659
  layout?: 'basic' | 'native';
1660
+ pages?: {
1661
+ title: string;
1662
+ route: string;
1663
+ icon?: string;
1664
+ [k: string]: unknown;
1665
+ }[];
1666
+ sections?: {
1667
+ header?: string;
1668
+ pages: {
1669
+ title: string;
1670
+ route: string;
1671
+ icon?: string;
1672
+ [k: string]: unknown;
1673
+ }[];
1674
+ [k: string]: unknown;
1675
+ }[];
1356
1676
  key: ModuleKeySchema;
1357
1677
  [k: string]: unknown;
1358
1678
  }
1359
1679
  | {
1360
1680
  resource: string;
1681
+ resourceUploadId?: string;
1361
1682
  resolver?: {
1362
1683
  function: string;
1363
1684
  };
1364
1685
  title: string;
1365
1686
  icon?: string;
1366
1687
  layout?: 'basic' | 'native';
1688
+ pages?: {
1689
+ title: string;
1690
+ route: string;
1691
+ icon?: string;
1692
+ [k: string]: unknown;
1693
+ }[];
1694
+ sections?: {
1695
+ header?: string;
1696
+ pages: {
1697
+ title: string;
1698
+ route: string;
1699
+ icon?: string;
1700
+ [k: string]: unknown;
1701
+ }[];
1702
+ [k: string]: unknown;
1703
+ }[];
1367
1704
  key: ModuleKeySchema;
1368
1705
  [k: string]: unknown;
1369
1706
  }
@@ -1376,17 +1713,50 @@ export interface Modules {
1376
1713
  title: string;
1377
1714
  icon?: string;
1378
1715
  layout?: 'basic' | 'native';
1716
+ pages?: {
1717
+ title: string;
1718
+ route: string;
1719
+ icon?: string;
1720
+ [k: string]: unknown;
1721
+ }[];
1722
+ sections?: {
1723
+ header?: string;
1724
+ pages: {
1725
+ title: string;
1726
+ route: string;
1727
+ icon?: string;
1728
+ [k: string]: unknown;
1729
+ }[];
1730
+ [k: string]: unknown;
1731
+ }[];
1379
1732
  key: ModuleKeySchema;
1380
1733
  [k: string]: unknown;
1381
1734
  }
1382
1735
  | {
1383
1736
  resource: string;
1737
+ resourceUploadId?: string;
1384
1738
  resolver?: {
1385
1739
  function: string;
1386
1740
  };
1387
1741
  title: string;
1388
1742
  icon?: string;
1389
1743
  layout?: 'basic' | 'native';
1744
+ pages?: {
1745
+ title: string;
1746
+ route: string;
1747
+ icon?: string;
1748
+ [k: string]: unknown;
1749
+ }[];
1750
+ sections?: {
1751
+ header?: string;
1752
+ pages: {
1753
+ title: string;
1754
+ route: string;
1755
+ icon?: string;
1756
+ [k: string]: unknown;
1757
+ }[];
1758
+ [k: string]: unknown;
1759
+ }[];
1390
1760
  key: ModuleKeySchema;
1391
1761
  [k: string]: unknown;
1392
1762
  }
@@ -1397,17 +1767,50 @@ export interface Modules {
1397
1767
  title: string;
1398
1768
  icon?: string;
1399
1769
  layout?: 'basic' | 'native';
1770
+ pages?: {
1771
+ title: string;
1772
+ route: string;
1773
+ icon?: string;
1774
+ [k: string]: unknown;
1775
+ }[];
1776
+ sections?: {
1777
+ header?: string;
1778
+ pages: {
1779
+ title: string;
1780
+ route: string;
1781
+ icon?: string;
1782
+ [k: string]: unknown;
1783
+ }[];
1784
+ [k: string]: unknown;
1785
+ }[];
1400
1786
  key: ModuleKeySchema;
1401
1787
  [k: string]: unknown;
1402
1788
  }
1403
1789
  | {
1404
1790
  resource: string;
1791
+ resourceUploadId?: string;
1405
1792
  resolver?: {
1406
1793
  function: string;
1407
1794
  };
1408
1795
  title: string;
1409
1796
  icon?: string;
1410
1797
  layout?: 'basic' | 'native';
1798
+ pages?: {
1799
+ title: string;
1800
+ route: string;
1801
+ icon?: string;
1802
+ [k: string]: unknown;
1803
+ }[];
1804
+ sections?: {
1805
+ header?: string;
1806
+ pages: {
1807
+ title: string;
1808
+ route: string;
1809
+ icon?: string;
1810
+ [k: string]: unknown;
1811
+ }[];
1812
+ [k: string]: unknown;
1813
+ }[];
1411
1814
  key: ModuleKeySchema;
1412
1815
  [k: string]: unknown;
1413
1816
  }
@@ -1429,7 +1832,6 @@ export interface Modules {
1429
1832
  function: string;
1430
1833
  };
1431
1834
  resource: string;
1432
- resourceUploadId?: string;
1433
1835
  key: ModuleKeySchema;
1434
1836
  [k: string]: unknown;
1435
1837
  }
@@ -1449,7 +1851,6 @@ export interface Modules {
1449
1851
  function: string;
1450
1852
  };
1451
1853
  resource: string;
1452
- resourceUploadId?: string;
1453
1854
  key: ModuleKeySchema;
1454
1855
  [k: string]: unknown;
1455
1856
  }
@@ -1473,7 +1874,6 @@ export interface Modules {
1473
1874
  };
1474
1875
  displayConditions?: DisplayConditions;
1475
1876
  resource: string;
1476
- resourceUploadId?: string;
1477
1877
  key: ModuleKeySchema;
1478
1878
  [k: string]: unknown;
1479
1879
  }
@@ -1495,7 +1895,6 @@ export interface Modules {
1495
1895
  };
1496
1896
  displayConditions?: DisplayConditions;
1497
1897
  resource: string;
1498
- resourceUploadId?: string;
1499
1898
  key: ModuleKeySchema;
1500
1899
  [k: string]: unknown;
1501
1900
  }
@@ -1517,7 +1916,6 @@ export interface Modules {
1517
1916
  function: string;
1518
1917
  };
1519
1918
  resource: string;
1520
- resourceUploadId?: string;
1521
1919
  key: ModuleKeySchema;
1522
1920
  [k: string]: unknown;
1523
1921
  }
@@ -1537,7 +1935,6 @@ export interface Modules {
1537
1935
  function: string;
1538
1936
  };
1539
1937
  resource: string;
1540
- resourceUploadId?: string;
1541
1938
  key: ModuleKeySchema;
1542
1939
  [k: string]: unknown;
1543
1940
  }
@@ -1585,7 +1982,7 @@ export interface Modules {
1585
1982
  fullPage?: boolean;
1586
1983
  cacheable?: boolean;
1587
1984
  location?: string;
1588
- conditions?: (SingleCondition | CompositeCondition)[];
1985
+ conditions?: (CompositeCondition | SingleCondition)[];
1589
1986
  params?: {
1590
1987
  [k: string]: unknown;
1591
1988
  };
@@ -1600,7 +1997,7 @@ export interface Modules {
1600
1997
  fullPage?: boolean;
1601
1998
  cacheable?: boolean;
1602
1999
  location?: string;
1603
- conditions?: (SingleCondition | CompositeCondition)[];
2000
+ conditions?: (CompositeCondition | SingleCondition)[];
1604
2001
  params?: {
1605
2002
  [k: string]: unknown;
1606
2003
  };
@@ -1618,7 +2015,7 @@ export interface Modules {
1618
2015
  location?: string;
1619
2016
  cacheable?: boolean;
1620
2017
  supportsNative?: boolean;
1621
- conditions?: (SingleCondition | CompositeCondition)[];
2018
+ conditions?: (CompositeCondition | SingleCondition)[];
1622
2019
  params?: {
1623
2020
  [k: string]: unknown;
1624
2021
  };
@@ -1634,7 +2031,7 @@ export interface Modules {
1634
2031
  location?: string;
1635
2032
  cacheable?: boolean;
1636
2033
  supportsNative?: boolean;
1637
- conditions?: (SingleCondition | CompositeCondition)[];
2034
+ conditions?: (CompositeCondition | SingleCondition)[];
1638
2035
  params?: {
1639
2036
  [k: string]: unknown;
1640
2037
  };
@@ -1648,7 +2045,7 @@ export interface Modules {
1648
2045
  filter?: string;
1649
2046
  excludeBody?: boolean;
1650
2047
  event?: string;
1651
- conditions?: (CompositeCondition | SingleCondition)[];
2048
+ conditions?: (SingleCondition | CompositeCondition)[];
1652
2049
  propertyKeys?: string[];
1653
2050
  url?: string;
1654
2051
  key: ModuleKeySchema;
@@ -1658,7 +2055,7 @@ export interface Modules {
1658
2055
  filter?: string;
1659
2056
  excludeBody?: boolean;
1660
2057
  event?: string;
1661
- conditions?: (CompositeCondition | SingleCondition)[];
2058
+ conditions?: (SingleCondition | CompositeCondition)[];
1662
2059
  propertyKeys?: string[];
1663
2060
  url?: string;
1664
2061
  key: ModuleKeySchema;
@@ -1672,7 +2069,7 @@ export interface Modules {
1672
2069
  weight?: number;
1673
2070
  cacheable?: boolean;
1674
2071
  location?: string;
1675
- conditions?: (CompositeCondition | SingleCondition)[];
2072
+ conditions?: (SingleCondition | CompositeCondition)[];
1676
2073
  params?: {
1677
2074
  [k: string]: unknown;
1678
2075
  };
@@ -1686,7 +2083,7 @@ export interface Modules {
1686
2083
  weight?: number;
1687
2084
  cacheable?: boolean;
1688
2085
  location?: string;
1689
- conditions?: (CompositeCondition | SingleCondition)[];
2086
+ conditions?: (SingleCondition | CompositeCondition)[];
1690
2087
  params?: {
1691
2088
  [k: string]: unknown;
1692
2089
  };
@@ -1728,7 +2125,7 @@ export interface Modules {
1728
2125
  weight?: number;
1729
2126
  cacheable?: boolean;
1730
2127
  location?: string;
1731
- conditions?: (CompositeCondition | SingleCondition)[];
2128
+ conditions?: (SingleCondition | CompositeCondition)[];
1732
2129
  params?: {
1733
2130
  [k: string]: unknown;
1734
2131
  };
@@ -1742,7 +2139,7 @@ export interface Modules {
1742
2139
  weight?: number;
1743
2140
  cacheable?: boolean;
1744
2141
  location?: string;
1745
- conditions?: (CompositeCondition | SingleCondition)[];
2142
+ conditions?: (SingleCondition | CompositeCondition)[];
1746
2143
  params?: {
1747
2144
  [k: string]: unknown;
1748
2145
  };
@@ -1766,7 +2163,7 @@ export interface Modules {
1766
2163
  name?: I18NProperty10;
1767
2164
  location?: string;
1768
2165
  cacheable?: boolean;
1769
- conditions?: (CompositeCondition1 | SingleCondition1)[];
2166
+ conditions?: (SingleCondition1 | CompositeCondition1)[];
1770
2167
  key: ModuleKeySchema;
1771
2168
  [k: string]: unknown;
1772
2169
  },
@@ -1784,7 +2181,7 @@ export interface Modules {
1784
2181
  name?: I18NProperty10;
1785
2182
  location?: string;
1786
2183
  cacheable?: boolean;
1787
- conditions?: (CompositeCondition1 | SingleCondition1)[];
2184
+ conditions?: (SingleCondition1 | CompositeCondition1)[];
1788
2185
  key: ModuleKeySchema;
1789
2186
  [k: string]: unknown;
1790
2187
  }[]
@@ -1797,7 +2194,7 @@ export interface Modules {
1797
2194
  fullPage?: boolean;
1798
2195
  cacheable?: boolean;
1799
2196
  location?: string;
1800
- conditions?: (SingleCondition | CompositeCondition)[];
2197
+ conditions?: (CompositeCondition | SingleCondition)[];
1801
2198
  params?: {
1802
2199
  [k: string]: unknown;
1803
2200
  };
@@ -1812,7 +2209,7 @@ export interface Modules {
1812
2209
  fullPage?: boolean;
1813
2210
  cacheable?: boolean;
1814
2211
  location?: string;
1815
- conditions?: (SingleCondition | CompositeCondition)[];
2212
+ conditions?: (CompositeCondition | SingleCondition)[];
1816
2213
  params?: {
1817
2214
  [k: string]: unknown;
1818
2215
  };
@@ -2022,7 +2419,7 @@ export interface Modules {
2022
2419
  name?: I18NProperty20;
2023
2420
  weight?: number;
2024
2421
  iconUrl?: string;
2025
- conditions?: (CompositeCondition | SingleCondition)[];
2422
+ conditions?: (SingleCondition | CompositeCondition)[];
2026
2423
  url?: string;
2027
2424
  key: ModuleKeySchema;
2028
2425
  [k: string]: unknown;
@@ -2031,7 +2428,7 @@ export interface Modules {
2031
2428
  name?: I18NProperty20;
2032
2429
  weight?: number;
2033
2430
  iconUrl?: string;
2034
- conditions?: (CompositeCondition | SingleCondition)[];
2431
+ conditions?: (SingleCondition | CompositeCondition)[];
2035
2432
  url?: string;
2036
2433
  key: ModuleKeySchema;
2037
2434
  [k: string]: unknown;
@@ -2042,7 +2439,7 @@ export interface Modules {
2042
2439
  name?: I18NProperty21;
2043
2440
  weight?: number;
2044
2441
  description?: I18NProperty22;
2045
- conditions?: (CompositeCondition | SingleCondition)[];
2442
+ conditions?: (SingleCondition | CompositeCondition)[];
2046
2443
  params?: {
2047
2444
  [k: string]: unknown;
2048
2445
  };
@@ -2054,7 +2451,7 @@ export interface Modules {
2054
2451
  name?: I18NProperty21;
2055
2452
  weight?: number;
2056
2453
  description?: I18NProperty22;
2057
- conditions?: (CompositeCondition | SingleCondition)[];
2454
+ conditions?: (SingleCondition | CompositeCondition)[];
2058
2455
  params?: {
2059
2456
  [k: string]: unknown;
2060
2457
  };
@@ -2067,7 +2464,7 @@ export interface Modules {
2067
2464
  {
2068
2465
  name?: I18NProperty23;
2069
2466
  description?: I18NProperty24;
2070
- conditions?: (SingleCondition | CompositeCondition)[];
2467
+ conditions?: (CompositeCondition | SingleCondition)[];
2071
2468
  url?: string;
2072
2469
  configurable?: boolean;
2073
2470
  thumbnailUrl?: string;
@@ -2077,7 +2474,7 @@ export interface Modules {
2077
2474
  ...{
2078
2475
  name?: I18NProperty23;
2079
2476
  description?: I18NProperty24;
2080
- conditions?: (SingleCondition | CompositeCondition)[];
2477
+ conditions?: (CompositeCondition | SingleCondition)[];
2081
2478
  url?: string;
2082
2479
  configurable?: boolean;
2083
2480
  thumbnailUrl?: string;
@@ -2111,7 +2508,7 @@ export interface Modules {
2111
2508
  {
2112
2509
  icon?: Icon5;
2113
2510
  name?: I18NProperty27;
2114
- conditions?: (CompositeCondition | SingleCondition)[];
2511
+ conditions?: (SingleCondition | CompositeCondition)[];
2115
2512
  content?: IssueGlanceContentLabel;
2116
2513
  target?: IssueGlanceTargetWebPanel;
2117
2514
  jiraNativeAppsEnabled?: boolean;
@@ -2121,7 +2518,7 @@ export interface Modules {
2121
2518
  ...{
2122
2519
  icon?: Icon5;
2123
2520
  name?: I18NProperty27;
2124
- conditions?: (CompositeCondition | SingleCondition)[];
2521
+ conditions?: (SingleCondition | CompositeCondition)[];
2125
2522
  content?: IssueGlanceContentLabel;
2126
2523
  target?: IssueGlanceTargetWebPanel;
2127
2524
  jiraNativeAppsEnabled?: boolean;
@@ -2376,7 +2773,7 @@ export interface Modules {
2376
2773
  name?: I18NProperty44;
2377
2774
  weight?: number;
2378
2775
  location?: string;
2379
- conditions?: (SingleCondition | CompositeCondition)[];
2776
+ conditions?: (CompositeCondition | SingleCondition)[];
2380
2777
  params?: {
2381
2778
  [k: string]: unknown;
2382
2779
  };
@@ -2388,7 +2785,7 @@ export interface Modules {
2388
2785
  name?: I18NProperty44;
2389
2786
  weight?: number;
2390
2787
  location?: string;
2391
- conditions?: (SingleCondition | CompositeCondition)[];
2788
+ conditions?: (CompositeCondition | SingleCondition)[];
2392
2789
  params?: {
2393
2790
  [k: string]: unknown;
2394
2791
  };
@@ -2455,6 +2852,7 @@ export interface Modules {
2455
2852
  {
2456
2853
  installed?: string;
2457
2854
  disabled?: string;
2855
+ 'dare-migration'?: string;
2458
2856
  uninstalled?: string;
2459
2857
  enabled?: string;
2460
2858
  key: ModuleKeySchema;
@@ -2463,6 +2861,7 @@ export interface Modules {
2463
2861
  ...{
2464
2862
  installed?: string;
2465
2863
  disabled?: string;
2864
+ 'dare-migration'?: string;
2466
2865
  uninstalled?: string;
2467
2866
  enabled?: string;
2468
2867
  key: ModuleKeySchema;
@@ -2511,7 +2910,7 @@ export interface Modules {
2511
2910
  fullPage?: boolean;
2512
2911
  cacheable?: boolean;
2513
2912
  location?: string;
2514
- conditions?: (SingleCondition | CompositeCondition)[];
2913
+ conditions?: (CompositeCondition | SingleCondition)[];
2515
2914
  params?: {
2516
2915
  [k: string]: unknown;
2517
2916
  };
@@ -2526,7 +2925,7 @@ export interface Modules {
2526
2925
  fullPage?: boolean;
2527
2926
  cacheable?: boolean;
2528
2927
  location?: string;
2529
- conditions?: (SingleCondition | CompositeCondition)[];
2928
+ conditions?: (CompositeCondition | SingleCondition)[];
2530
2929
  params?: {
2531
2930
  [k: string]: unknown;
2532
2931
  };
@@ -2544,7 +2943,7 @@ export interface Modules {
2544
2943
  location?: string;
2545
2944
  cacheable?: boolean;
2546
2945
  supportsNative?: boolean;
2547
- conditions?: (SingleCondition | CompositeCondition)[];
2946
+ conditions?: (CompositeCondition | SingleCondition)[];
2548
2947
  params?: {
2549
2948
  [k: string]: unknown;
2550
2949
  };
@@ -2560,7 +2959,7 @@ export interface Modules {
2560
2959
  location?: string;
2561
2960
  cacheable?: boolean;
2562
2961
  supportsNative?: boolean;
2563
- conditions?: (SingleCondition | CompositeCondition)[];
2962
+ conditions?: (CompositeCondition | SingleCondition)[];
2564
2963
  params?: {
2565
2964
  [k: string]: unknown;
2566
2965
  };
@@ -2574,7 +2973,7 @@ export interface Modules {
2574
2973
  filter?: string;
2575
2974
  excludeBody?: boolean;
2576
2975
  event?: string;
2577
- conditions?: (CompositeCondition | SingleCondition)[];
2976
+ conditions?: (SingleCondition | CompositeCondition)[];
2578
2977
  propertyKeys?: string[];
2579
2978
  url?: string;
2580
2979
  key: ModuleKeySchema;
@@ -2584,7 +2983,7 @@ export interface Modules {
2584
2983
  filter?: string;
2585
2984
  excludeBody?: boolean;
2586
2985
  event?: string;
2587
- conditions?: (CompositeCondition | SingleCondition)[];
2986
+ conditions?: (SingleCondition | CompositeCondition)[];
2588
2987
  propertyKeys?: string[];
2589
2988
  url?: string;
2590
2989
  key: ModuleKeySchema;
@@ -2627,7 +3026,7 @@ export interface Modules {
2627
3026
  name?: I18NProperty55;
2628
3027
  weight?: number;
2629
3028
  location?: string;
2630
- conditions?: (CompositeCondition | SingleCondition)[];
3029
+ conditions?: (SingleCondition | CompositeCondition)[];
2631
3030
  params?: {
2632
3031
  [k: string]: unknown;
2633
3032
  };
@@ -2639,7 +3038,7 @@ export interface Modules {
2639
3038
  name?: I18NProperty55;
2640
3039
  weight?: number;
2641
3040
  location?: string;
2642
- conditions?: (CompositeCondition | SingleCondition)[];
3041
+ conditions?: (SingleCondition | CompositeCondition)[];
2643
3042
  params?: {
2644
3043
  [k: string]: unknown;
2645
3044
  };
@@ -2692,7 +3091,7 @@ export interface Modules {
2692
3091
  name?: I18NProperty59;
2693
3092
  location?: string;
2694
3093
  cacheable?: boolean;
2695
- conditions?: (SingleCondition4 | CompositeCondition6)[];
3094
+ conditions?: (CompositeCondition6 | SingleCondition4)[];
2696
3095
  key: ModuleKeySchema;
2697
3096
  [k: string]: unknown;
2698
3097
  },
@@ -2710,7 +3109,7 @@ export interface Modules {
2710
3109
  name?: I18NProperty59;
2711
3110
  location?: string;
2712
3111
  cacheable?: boolean;
2713
- conditions?: (SingleCondition4 | CompositeCondition6)[];
3112
+ conditions?: (CompositeCondition6 | SingleCondition4)[];
2714
3113
  key: ModuleKeySchema;
2715
3114
  [k: string]: unknown;
2716
3115
  }[]
@@ -2723,7 +3122,7 @@ export interface Modules {
2723
3122
  fullPage?: boolean;
2724
3123
  cacheable?: boolean;
2725
3124
  location?: string;
2726
- conditions?: (SingleCondition | CompositeCondition)[];
3125
+ conditions?: (CompositeCondition | SingleCondition)[];
2727
3126
  params?: {
2728
3127
  [k: string]: unknown;
2729
3128
  };
@@ -2738,7 +3137,7 @@ export interface Modules {
2738
3137
  fullPage?: boolean;
2739
3138
  cacheable?: boolean;
2740
3139
  location?: string;
2741
- conditions?: (SingleCondition | CompositeCondition)[];
3140
+ conditions?: (CompositeCondition | SingleCondition)[];
2742
3141
  params?: {
2743
3142
  [k: string]: unknown;
2744
3143
  };
@@ -2788,7 +3187,7 @@ export interface Modules {
2788
3187
  name?: I18NProperty63;
2789
3188
  weight?: number;
2790
3189
  location?: string;
2791
- conditions?: (CompositeCondition7 | SingleCondition5)[];
3190
+ conditions?: (SingleCondition5 | CompositeCondition7)[];
2792
3191
  params?: {
2793
3192
  [k: string]: unknown;
2794
3193
  };
@@ -2800,7 +3199,7 @@ export interface Modules {
2800
3199
  name?: I18NProperty63;
2801
3200
  weight?: number;
2802
3201
  location?: string;
2803
- conditions?: (CompositeCondition7 | SingleCondition5)[];
3202
+ conditions?: (SingleCondition5 | CompositeCondition7)[];
2804
3203
  params?: {
2805
3204
  [k: string]: unknown;
2806
3205
  };
@@ -2996,7 +3395,7 @@ export interface Modules {
2996
3395
  icon?: Icon18;
2997
3396
  name?: I18NProperty91;
2998
3397
  cacheable?: boolean;
2999
- conditions?: (CompositeCondition | SingleCondition)[];
3398
+ conditions?: (SingleCondition | CompositeCondition)[];
3000
3399
  params?: {
3001
3400
  [k: string]: unknown;
3002
3401
  };
@@ -3012,7 +3411,7 @@ export interface Modules {
3012
3411
  icon?: Icon18;
3013
3412
  name?: I18NProperty91;
3014
3413
  cacheable?: boolean;
3015
- conditions?: (CompositeCondition | SingleCondition)[];
3414
+ conditions?: (SingleCondition | CompositeCondition)[];
3016
3415
  params?: {
3017
3416
  [k: string]: unknown;
3018
3417
  };
@@ -3194,37 +3593,6 @@ export interface I18NProperty1 {
3194
3593
  i18n?: string;
3195
3594
  [k: string]: unknown;
3196
3595
  }
3197
- /**
3198
- *
3199
- *
3200
- * Single Conditions are either provided by the host application. See the complete documentation of
3201
- * [Conditions](../../conditions/) for more information.
3202
- *
3203
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3204
- * This is useful where you want to show the section if a certain condition is not satisfied.
3205
- *
3206
- * <h3>Example</h3>
3207
- *
3208
- *
3209
- *
3210
- *
3211
- *
3212
- * {
3213
- * "condition": "user_is_logged_in",
3214
- * "invert": false
3215
- * }
3216
- *
3217
- *
3218
- *
3219
- */
3220
- export interface SingleCondition {
3221
- condition: string;
3222
- invert?: boolean;
3223
- params?: {
3224
- [k: string]: unknown;
3225
- };
3226
- [k: string]: unknown;
3227
- }
3228
3596
  /**
3229
3597
  *
3230
3598
  *
@@ -3262,10 +3630,41 @@ export interface SingleCondition {
3262
3630
  *
3263
3631
  */
3264
3632
  export interface CompositeCondition {
3265
- conditions?: (ManifestSchema | SingleCondition)[];
3633
+ conditions?: (SingleCondition | ManifestSchema)[];
3266
3634
  type?: 'and' | 'AND' | 'or' | 'OR';
3267
3635
  [k: string]: unknown;
3268
3636
  }
3637
+ /**
3638
+ *
3639
+ *
3640
+ * Single Conditions are either provided by the host application. See the complete documentation of
3641
+ * [Conditions](../../conditions/) for more information.
3642
+ *
3643
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3644
+ * This is useful where you want to show the section if a certain condition is not satisfied.
3645
+ *
3646
+ * <h3>Example</h3>
3647
+ *
3648
+ *
3649
+ *
3650
+ *
3651
+ *
3652
+ * {
3653
+ * "condition": "user_is_logged_in",
3654
+ * "invert": false
3655
+ * }
3656
+ *
3657
+ *
3658
+ *
3659
+ */
3660
+ export interface SingleCondition {
3661
+ condition: string;
3662
+ invert?: boolean;
3663
+ params?: {
3664
+ [k: string]: unknown;
3665
+ };
3666
+ [k: string]: unknown;
3667
+ }
3269
3668
  /**
3270
3669
  *
3271
3670
  *
@@ -3609,10 +4008,47 @@ export interface Icon3 {
3609
4008
  *
3610
4009
  */
3611
4010
  export interface WebItemTarget {
3612
- options?: DialogOptions | InlineDialogOptions | DialogModuleOptions;
4011
+ options?: InlineDialogOptions | DialogOptions | DialogModuleOptions;
3613
4012
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
3614
4013
  [k: string]: unknown;
3615
4014
  }
4015
+ /**
4016
+ *
4017
+ *
4018
+ * Options for an inline dialog target
4019
+ *
4020
+ * <h3>Example</h3>
4021
+ *
4022
+ *
4023
+ *
4024
+ *
4025
+ *
4026
+ * {
4027
+ * "target": {
4028
+ * "type": "inlinedialog",
4029
+ * "options": {
4030
+ * "onHover": true,
4031
+ * "offsetX": "30px",
4032
+ * "offsetY": "20px"
4033
+ * }
4034
+ * }
4035
+ * }
4036
+ *
4037
+ *
4038
+ *
4039
+ */
4040
+ export interface InlineDialogOptions {
4041
+ offsetX?: string;
4042
+ offsetY?: string;
4043
+ width?: string;
4044
+ onTop?: boolean;
4045
+ showDelay?: number;
4046
+ closeOthers?: boolean;
4047
+ persistent?: boolean;
4048
+ onHover?: boolean;
4049
+ isRelativeToMouse?: boolean;
4050
+ [k: string]: unknown;
4051
+ }
3616
4052
  /**
3617
4053
  *
3618
4054
  *
@@ -3714,7 +4150,7 @@ export interface I18NProperty9 {
3714
4150
  /**
3715
4151
  *
3716
4152
  *
3717
- * Options for an inline dialog target
4153
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
3718
4154
  *
3719
4155
  * <h3>Example</h3>
3720
4156
  *
@@ -3724,11 +4160,9 @@ export interface I18NProperty9 {
3724
4160
  *
3725
4161
  * {
3726
4162
  * "target": {
3727
- * "type": "inlinedialog",
4163
+ * "type": "dialogmodule",
3728
4164
  * "options": {
3729
- * "onHover": true,
3730
- * "offsetX": "30px",
3731
- * "offsetY": "20px"
4165
+ * "key": "dialog-module-key"
3732
4166
  * }
3733
4167
  * }
3734
4168
  * }
@@ -3736,22 +4170,15 @@ export interface I18NProperty9 {
3736
4170
  *
3737
4171
  *
3738
4172
  */
3739
- export interface InlineDialogOptions {
3740
- offsetX?: string;
3741
- offsetY?: string;
3742
- width?: string;
3743
- onTop?: boolean;
3744
- showDelay?: number;
3745
- closeOthers?: boolean;
3746
- persistent?: boolean;
3747
- onHover?: boolean;
3748
- isRelativeToMouse?: boolean;
4173
+ export interface DialogModuleOptions {
4174
+ key: string;
3749
4175
  [k: string]: unknown;
3750
4176
  }
3751
4177
  /**
3752
4178
  *
3753
4179
  *
3754
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
4180
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
4181
+ * and value in multiple places if you like, but identical keys must have identical values.
3755
4182
  *
3756
4183
  * <h3>Example</h3>
3757
4184
  *
@@ -3760,26 +4187,25 @@ export interface InlineDialogOptions {
3760
4187
  *
3761
4188
  *
3762
4189
  * {
3763
- * "target": {
3764
- * "type": "dialogmodule",
3765
- * "options": {
3766
- * "key": "dialog-module-key"
3767
- * }
3768
- * }
4190
+ * "value": "My text"
3769
4191
  * }
3770
4192
  *
3771
4193
  *
3772
4194
  *
3773
4195
  */
3774
- export interface DialogModuleOptions {
3775
- key: string;
4196
+ export interface I18NProperty10 {
4197
+ value: string;
4198
+ i18n?: string;
3776
4199
  [k: string]: unknown;
3777
4200
  }
3778
4201
  /**
3779
4202
  *
3780
4203
  *
3781
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
3782
- * and value in multiple places if you like, but identical keys must have identical values.
4204
+ * Single Conditions are either provided by the host application. See the complete documentation of
4205
+ * [Conditions](../../conditions/) for more information.
4206
+ *
4207
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
4208
+ * This is useful where you want to show the section if a certain condition is not satisfied.
3783
4209
  *
3784
4210
  * <h3>Example</h3>
3785
4211
  *
@@ -3788,15 +4214,19 @@ export interface DialogModuleOptions {
3788
4214
  *
3789
4215
  *
3790
4216
  * {
3791
- * "value": "My text"
4217
+ * "condition": "user_is_logged_in",
4218
+ * "invert": false
3792
4219
  * }
3793
4220
  *
3794
4221
  *
3795
4222
  *
3796
4223
  */
3797
- export interface I18NProperty10 {
3798
- value: string;
3799
- i18n?: string;
4224
+ export interface SingleCondition1 {
4225
+ condition: string;
4226
+ invert?: boolean;
4227
+ params?: {
4228
+ [k: string]: unknown;
4229
+ };
3800
4230
  [k: string]: unknown;
3801
4231
  }
3802
4232
  /**
@@ -3840,37 +4270,6 @@ export interface CompositeCondition1 {
3840
4270
  type?: 'and' | 'AND' | 'or' | 'OR';
3841
4271
  [k: string]: unknown;
3842
4272
  }
3843
- /**
3844
- *
3845
- *
3846
- * Single Conditions are either provided by the host application. See the complete documentation of
3847
- * [Conditions](../../conditions/) for more information.
3848
- *
3849
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3850
- * This is useful where you want to show the section if a certain condition is not satisfied.
3851
- *
3852
- * <h3>Example</h3>
3853
- *
3854
- *
3855
- *
3856
- *
3857
- *
3858
- * {
3859
- * "condition": "user_is_logged_in",
3860
- * "invert": false
3861
- * }
3862
- *
3863
- *
3864
- *
3865
- */
3866
- export interface SingleCondition1 {
3867
- condition: string;
3868
- invert?: boolean;
3869
- params?: {
3870
- [k: string]: unknown;
3871
- };
3872
- [k: string]: unknown;
3873
- }
3874
4273
  /**
3875
4274
  *
3876
4275
  *
@@ -4810,7 +5209,7 @@ export interface I18NProperty33 {
4810
5209
  *
4811
5210
  */
4812
5211
  export interface CompositeCondition2 {
4813
- conditions?: (SingleCondition | CompositeCondition3)[];
5212
+ conditions?: (CompositeCondition3 | SingleCondition)[];
4814
5213
  type?: 'and' | 'AND' | 'or' | 'OR';
4815
5214
  [k: string]: unknown;
4816
5215
  }
@@ -4851,7 +5250,7 @@ export interface CompositeCondition2 {
4851
5250
  *
4852
5251
  */
4853
5252
  export interface CompositeCondition3 {
4854
- conditions?: (SingleCondition | ManifestSchema)[];
5253
+ conditions?: (ManifestSchema | SingleCondition)[];
4855
5254
  type?: 'and' | 'AND' | 'or' | 'OR';
4856
5255
  [k: string]: unknown;
4857
5256
  }
@@ -5115,7 +5514,7 @@ export interface I18NProperty38 {
5115
5514
  *
5116
5515
  */
5117
5516
  export interface CompositeCondition4 {
5118
- conditions?: (SingleCondition | CompositeCondition5)[];
5517
+ conditions?: (CompositeCondition5 | SingleCondition)[];
5119
5518
  type?: 'and' | 'AND' | 'or' | 'OR';
5120
5519
  [k: string]: unknown;
5121
5520
  }
@@ -5156,7 +5555,7 @@ export interface CompositeCondition4 {
5156
5555
  *
5157
5556
  */
5158
5557
  export interface CompositeCondition5 {
5159
- conditions?: (SingleCondition | ManifestSchema)[];
5558
+ conditions?: (ManifestSchema | SingleCondition)[];
5160
5559
  type?: 'and' | 'AND' | 'or' | 'OR';
5161
5560
  [k: string]: unknown;
5162
5561
  }
@@ -5939,74 +6338,10 @@ export interface Icon10 {
5939
6338
  *
5940
6339
  */
5941
6340
  export interface WebItemTarget1 {
5942
- options?: InlineDialogOptions1 | DialogModuleOptions1 | DialogOptions2;
6341
+ options?: DialogOptions2 | InlineDialogOptions1 | DialogModuleOptions1;
5943
6342
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
5944
6343
  [k: string]: unknown;
5945
6344
  }
5946
- /**
5947
- *
5948
- *
5949
- * Options for an inline dialog target
5950
- *
5951
- * <h3>Example</h3>
5952
- *
5953
- *
5954
- *
5955
- *
5956
- *
5957
- * {
5958
- * "target": {
5959
- * "type": "inlinedialog",
5960
- * "options": {
5961
- * "onHover": true,
5962
- * "offsetX": "30px",
5963
- * "offsetY": "20px"
5964
- * }
5965
- * }
5966
- * }
5967
- *
5968
- *
5969
- *
5970
- */
5971
- export interface InlineDialogOptions1 {
5972
- offsetX?: string;
5973
- offsetY?: string;
5974
- width?: string;
5975
- onTop?: boolean;
5976
- showDelay?: number;
5977
- closeOthers?: boolean;
5978
- persistent?: boolean;
5979
- onHover?: boolean;
5980
- isRelativeToMouse?: boolean;
5981
- [k: string]: unknown;
5982
- }
5983
- /**
5984
- *
5985
- *
5986
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
5987
- *
5988
- * <h3>Example</h3>
5989
- *
5990
- *
5991
- *
5992
- *
5993
- *
5994
- * {
5995
- * "target": {
5996
- * "type": "dialogmodule",
5997
- * "options": {
5998
- * "key": "dialog-module-key"
5999
- * }
6000
- * }
6001
- * }
6002
- *
6003
- *
6004
- *
6005
- */
6006
- export interface DialogModuleOptions1 {
6007
- key: string;
6008
- [k: string]: unknown;
6009
- }
6010
6345
  /**
6011
6346
  *
6012
6347
  *
@@ -6100,7 +6435,95 @@ export interface DialogOptions2 {
6100
6435
  *
6101
6436
  *
6102
6437
  */
6103
- export interface I18NProperty58 {
6438
+ export interface I18NProperty58 {
6439
+ value: string;
6440
+ i18n?: string;
6441
+ [k: string]: unknown;
6442
+ }
6443
+ /**
6444
+ *
6445
+ *
6446
+ * Options for an inline dialog target
6447
+ *
6448
+ * <h3>Example</h3>
6449
+ *
6450
+ *
6451
+ *
6452
+ *
6453
+ *
6454
+ * {
6455
+ * "target": {
6456
+ * "type": "inlinedialog",
6457
+ * "options": {
6458
+ * "onHover": true,
6459
+ * "offsetX": "30px",
6460
+ * "offsetY": "20px"
6461
+ * }
6462
+ * }
6463
+ * }
6464
+ *
6465
+ *
6466
+ *
6467
+ */
6468
+ export interface InlineDialogOptions1 {
6469
+ offsetX?: string;
6470
+ offsetY?: string;
6471
+ width?: string;
6472
+ onTop?: boolean;
6473
+ showDelay?: number;
6474
+ closeOthers?: boolean;
6475
+ persistent?: boolean;
6476
+ onHover?: boolean;
6477
+ isRelativeToMouse?: boolean;
6478
+ [k: string]: unknown;
6479
+ }
6480
+ /**
6481
+ *
6482
+ *
6483
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
6484
+ *
6485
+ * <h3>Example</h3>
6486
+ *
6487
+ *
6488
+ *
6489
+ *
6490
+ *
6491
+ * {
6492
+ * "target": {
6493
+ * "type": "dialogmodule",
6494
+ * "options": {
6495
+ * "key": "dialog-module-key"
6496
+ * }
6497
+ * }
6498
+ * }
6499
+ *
6500
+ *
6501
+ *
6502
+ */
6503
+ export interface DialogModuleOptions1 {
6504
+ key: string;
6505
+ [k: string]: unknown;
6506
+ }
6507
+ /**
6508
+ *
6509
+ *
6510
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
6511
+ * and value in multiple places if you like, but identical keys must have identical values.
6512
+ *
6513
+ * <h3>Example</h3>
6514
+ *
6515
+ *
6516
+ *
6517
+ *
6518
+ *
6519
+ * {
6520
+ * "value": "My text"
6521
+ * }
6522
+ *
6523
+ *
6524
+ *
6525
+ */
6526
+ export interface I18NProperty59 {
6104
6527
  value: string;
6105
6528
  i18n?: string;
6106
6529
  [k: string]: unknown;
@@ -6108,8 +6531,8 @@ export interface I18NProperty58 {
6108
6531
  /**
6109
6532
  *
6110
6533
  *
6111
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
6112
- * and value in multiple places if you like, but identical keys must have identical values.
6534
+ * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
6535
+ * and a type attribute.
6113
6536
  *
6114
6537
  * <h3>Example</h3>
6115
6538
  *
@@ -6118,15 +6541,32 @@ export interface I18NProperty58 {
6118
6541
  *
6119
6542
  *
6120
6543
  * {
6121
- * "value": "My text"
6544
+ * "conditions": [
6545
+ * {
6546
+ * "or": [
6547
+ * {
6548
+ * "condition": "can_attach_file_to_issue",
6549
+ * "invert": false
6550
+ * },
6551
+ * {
6552
+ * "condition": "is_issue_assigned_to_current_user",
6553
+ * "invert": false
6554
+ * }
6555
+ * ]
6556
+ * },
6557
+ * {
6558
+ * "condition": "user_is_logged_in",
6559
+ * "invert": false
6560
+ * }
6561
+ * ]
6122
6562
  * }
6123
6563
  *
6124
6564
  *
6125
6565
  *
6126
6566
  */
6127
- export interface I18NProperty59 {
6128
- value: string;
6129
- i18n?: string;
6567
+ export interface CompositeCondition6 {
6568
+ conditions?: (SingleCondition | ManifestSchema)[];
6569
+ type?: 'and' | 'AND' | 'or' | 'OR';
6130
6570
  [k: string]: unknown;
6131
6571
  }
6132
6572
  /**
@@ -6160,47 +6600,6 @@ export interface SingleCondition4 {
6160
6600
  };
6161
6601
  [k: string]: unknown;
6162
6602
  }
6163
- /**
6164
- *
6165
- *
6166
- * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
6167
- * and a type attribute.
6168
- *
6169
- * <h3>Example</h3>
6170
- *
6171
- *
6172
- *
6173
- *
6174
- *
6175
- * {
6176
- * "conditions": [
6177
- * {
6178
- * "or": [
6179
- * {
6180
- * "condition": "can_attach_file_to_issue",
6181
- * "invert": false
6182
- * },
6183
- * {
6184
- * "condition": "is_issue_assigned_to_current_user",
6185
- * "invert": false
6186
- * }
6187
- * ]
6188
- * },
6189
- * {
6190
- * "condition": "user_is_logged_in",
6191
- * "invert": false
6192
- * }
6193
- * ]
6194
- * }
6195
- *
6196
- *
6197
- *
6198
- */
6199
- export interface CompositeCondition6 {
6200
- conditions?: (SingleCondition | ManifestSchema)[];
6201
- type?: 'and' | 'AND' | 'or' | 'OR';
6202
- [k: string]: unknown;
6203
- }
6204
6603
  /**
6205
6604
  *
6206
6605
  *
@@ -6555,6 +6954,37 @@ export interface I18NProperty63 {
6555
6954
  i18n?: string;
6556
6955
  [k: string]: unknown;
6557
6956
  }
6957
+ /**
6958
+ *
6959
+ *
6960
+ * Single Conditions are either provided by the host application. See the complete documentation of
6961
+ * [Conditions](../../conditions/) for more information.
6962
+ *
6963
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6964
+ * This is useful where you want to show the section if a certain condition is not satisfied.
6965
+ *
6966
+ * <h3>Example</h3>
6967
+ *
6968
+ *
6969
+ *
6970
+ *
6971
+ *
6972
+ * {
6973
+ * "condition": "user_is_logged_in",
6974
+ * "invert": false
6975
+ * }
6976
+ *
6977
+ *
6978
+ *
6979
+ */
6980
+ export interface SingleCondition5 {
6981
+ condition: string;
6982
+ invert?: boolean;
6983
+ params?: {
6984
+ [k: string]: unknown;
6985
+ };
6986
+ [k: string]: unknown;
6987
+ }
6558
6988
  /**
6559
6989
  *
6560
6990
  *
@@ -6592,41 +7022,10 @@ export interface I18NProperty63 {
6592
7022
  *
6593
7023
  */
6594
7024
  export interface CompositeCondition7 {
6595
- conditions?: (ManifestSchema | SingleCondition)[];
7025
+ conditions?: (SingleCondition | ManifestSchema)[];
6596
7026
  type?: 'and' | 'AND' | 'or' | 'OR';
6597
7027
  [k: string]: unknown;
6598
7028
  }
6599
- /**
6600
- *
6601
- *
6602
- * Single Conditions are either provided by the host application. See the complete documentation of
6603
- * [Conditions](../../conditions/) for more information.
6604
- *
6605
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6606
- * This is useful where you want to show the section if a certain condition is not satisfied.
6607
- *
6608
- * <h3>Example</h3>
6609
- *
6610
- *
6611
- *
6612
- *
6613
- *
6614
- * {
6615
- * "condition": "user_is_logged_in",
6616
- * "invert": false
6617
- * }
6618
- *
6619
- *
6620
- *
6621
- */
6622
- export interface SingleCondition5 {
6623
- condition: string;
6624
- invert?: boolean;
6625
- params?: {
6626
- [k: string]: unknown;
6627
- };
6628
- [k: string]: unknown;
6629
- }
6630
7029
  /**
6631
7030
  *
6632
7031
  *
@@ -8046,138 +8445,11 @@ export interface I18NProperty74 {
8046
8445
  *
8047
8446
  */
8048
8447
  export interface MacroPropertyPanel {
8049
- controls?: (ToggleGroup | TextControl | ButtonControl | ControlGroup)[];
8448
+ controls?: (ButtonControl | ToggleGroup | ControlGroup | TextControl)[];
8050
8449
  cacheable?: boolean;
8051
8450
  url: string;
8052
8451
  [k: string]: unknown;
8053
8452
  }
8054
- /**
8055
- *
8056
- *
8057
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
8058
- *
8059
- * <p><b>Example</b></p>
8060
- *
8061
- *
8062
- *
8063
- *
8064
- *
8065
- * [
8066
- * {
8067
- * "type": "togglegroup",
8068
- * "macroParameter": "toggleGroupMacroParameter",
8069
- * "controls": [
8070
- * {
8071
- * "type": "togglebutton",
8072
- * "macroParameterValue": "macroParameterValue 0",
8073
- * "label": {
8074
- * "value": "My Custom Control 0"
8075
- * },
8076
- * "key": "my-custom-toggle-button-0"
8077
- * },
8078
- * {
8079
- * "type": "togglebutton",
8080
- * "macroParameterValue": "macroParameterValue 1",
8081
- * "label": {
8082
- * "value": "My Custom Control 1"
8083
- * },
8084
- * "key": "my-custom-toggle-button-1"
8085
- * }
8086
- * ]
8087
- * }
8088
- * ]
8089
- *
8090
- *
8091
- *
8092
- */
8093
- export interface ToggleGroup {
8094
- controls: ToggleButtonControl[];
8095
- macroParameter: string;
8096
- type: 'togglegroup' | 'TOGGLEGROUP';
8097
- [k: string]: unknown;
8098
- }
8099
- /**
8100
- *
8101
- *
8102
- * Defines a toggle button which appears inside a ToggleGroup
8103
- *
8104
- * <p><b>Example</b></p>
8105
- *
8106
- *
8107
- *
8108
- *
8109
- *
8110
- * {
8111
- * "type": "togglebutton",
8112
- * "macroParameterValue": "macroParameterValue 0",
8113
- * "label": {
8114
- * "value": "My Custom Control 0"
8115
- * },
8116
- * "key": "my-custom-toggle-button-0"
8117
- * }
8118
- *
8119
- *
8120
- *
8121
- */
8122
- export interface ToggleButtonControl {
8123
- macroParameterValue: string;
8124
- label: I18NProperty75;
8125
- type: 'togglebutton' | 'TOGGLEBUTTON';
8126
- key: string;
8127
- [k: string]: unknown;
8128
- }
8129
- /**
8130
- *
8131
- *
8132
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
8133
- * and value in multiple places if you like, but identical keys must have identical values.
8134
- *
8135
- * <h3>Example</h3>
8136
- *
8137
- *
8138
- *
8139
- *
8140
- *
8141
- * {
8142
- * "value": "My text"
8143
- * }
8144
- *
8145
- *
8146
- *
8147
- */
8148
- export interface I18NProperty75 {
8149
- value: string;
8150
- i18n?: string;
8151
- [k: string]: unknown;
8152
- }
8153
- /**
8154
- *
8155
- *
8156
- * Defines a text field which may appear in control extension points such as the property panel
8157
- *
8158
- * <p><b>Example</b></p>
8159
- *
8160
- *
8161
- *
8162
- *
8163
- *
8164
- * {
8165
- * "type": "button",
8166
- * "label": {
8167
- * "value": "My Custom Control 0"
8168
- * },
8169
- * "key": "my-custom-control-0"
8170
- * }
8171
- *
8172
- *
8173
- *
8174
- */
8175
- export interface TextControl {
8176
- macroParameter: string;
8177
- type: 'text' | 'TEXT';
8178
- key: string;
8179
- [k: string]: unknown;
8180
- }
8181
8453
  /**
8182
8454
  *
8183
8455
  *
@@ -8201,11 +8473,110 @@ export interface TextControl {
8201
8473
  *
8202
8474
  */
8203
8475
  export interface ButtonControl {
8204
- label: I18NProperty76;
8476
+ label: I18NProperty75;
8205
8477
  type: 'button' | 'BUTTON';
8206
8478
  key: string;
8207
8479
  [k: string]: unknown;
8208
8480
  }
8481
+ /**
8482
+ *
8483
+ *
8484
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
8485
+ * and value in multiple places if you like, but identical keys must have identical values.
8486
+ *
8487
+ * <h3>Example</h3>
8488
+ *
8489
+ *
8490
+ *
8491
+ *
8492
+ *
8493
+ * {
8494
+ * "value": "My text"
8495
+ * }
8496
+ *
8497
+ *
8498
+ *
8499
+ */
8500
+ export interface I18NProperty75 {
8501
+ value: string;
8502
+ i18n?: string;
8503
+ [k: string]: unknown;
8504
+ }
8505
+ /**
8506
+ *
8507
+ *
8508
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
8509
+ *
8510
+ * <p><b>Example</b></p>
8511
+ *
8512
+ *
8513
+ *
8514
+ *
8515
+ *
8516
+ * [
8517
+ * {
8518
+ * "type": "togglegroup",
8519
+ * "macroParameter": "toggleGroupMacroParameter",
8520
+ * "controls": [
8521
+ * {
8522
+ * "type": "togglebutton",
8523
+ * "macroParameterValue": "macroParameterValue 0",
8524
+ * "label": {
8525
+ * "value": "My Custom Control 0"
8526
+ * },
8527
+ * "key": "my-custom-toggle-button-0"
8528
+ * },
8529
+ * {
8530
+ * "type": "togglebutton",
8531
+ * "macroParameterValue": "macroParameterValue 1",
8532
+ * "label": {
8533
+ * "value": "My Custom Control 1"
8534
+ * },
8535
+ * "key": "my-custom-toggle-button-1"
8536
+ * }
8537
+ * ]
8538
+ * }
8539
+ * ]
8540
+ *
8541
+ *
8542
+ *
8543
+ */
8544
+ export interface ToggleGroup {
8545
+ controls: ToggleButtonControl[];
8546
+ macroParameter: string;
8547
+ type: 'togglegroup' | 'TOGGLEGROUP';
8548
+ [k: string]: unknown;
8549
+ }
8550
+ /**
8551
+ *
8552
+ *
8553
+ * Defines a toggle button which appears inside a ToggleGroup
8554
+ *
8555
+ * <p><b>Example</b></p>
8556
+ *
8557
+ *
8558
+ *
8559
+ *
8560
+ *
8561
+ * {
8562
+ * "type": "togglebutton",
8563
+ * "macroParameterValue": "macroParameterValue 0",
8564
+ * "label": {
8565
+ * "value": "My Custom Control 0"
8566
+ * },
8567
+ * "key": "my-custom-toggle-button-0"
8568
+ * }
8569
+ *
8570
+ *
8571
+ *
8572
+ */
8573
+ export interface ToggleButtonControl {
8574
+ macroParameterValue: string;
8575
+ label: I18NProperty76;
8576
+ type: 'togglebutton' | 'TOGGLEBUTTON';
8577
+ key: string;
8578
+ [k: string]: unknown;
8579
+ }
8209
8580
  /**
8210
8581
  *
8211
8582
  *
@@ -8323,6 +8694,34 @@ export interface I18NProperty77 {
8323
8694
  i18n?: string;
8324
8695
  [k: string]: unknown;
8325
8696
  }
8697
+ /**
8698
+ *
8699
+ *
8700
+ * Defines a text field which may appear in control extension points such as the property panel
8701
+ *
8702
+ * <p><b>Example</b></p>
8703
+ *
8704
+ *
8705
+ *
8706
+ *
8707
+ *
8708
+ * {
8709
+ * "type": "button",
8710
+ * "label": {
8711
+ * "value": "My Custom Control 0"
8712
+ * },
8713
+ * "key": "my-custom-control-0"
8714
+ * }
8715
+ *
8716
+ *
8717
+ *
8718
+ */
8719
+ export interface TextControl {
8720
+ macroParameter: string;
8721
+ type: 'text' | 'TEXT';
8722
+ key: string;
8723
+ [k: string]: unknown;
8724
+ }
8326
8725
  /**
8327
8726
  *
8328
8727
  *
@@ -29245,57 +29644,156 @@ export interface Icon17 {
29245
29644
  *
29246
29645
  *
29247
29646
  */
29248
- export interface I18NProperty83 {
29647
+ export interface I18NProperty83 {
29648
+ value: string;
29649
+ i18n?: string;
29650
+ [k: string]: unknown;
29651
+ }
29652
+ /**
29653
+ *
29654
+ *
29655
+ * Defining a Macro Property panel allows you to add a hidden iframe to your macro's
29656
+ * property panel. The iframe is loaded as soon as the property panel is opened.
29657
+ *
29658
+ * In order to persist custom data using your property panel, use the Javascript
29659
+ * <a href="../../jsapi/confluence/">Confluence API</a>.
29660
+ * For example:
29661
+ *
29662
+ * AP.require(["confluence"], function (confluence) {
29663
+ * var macroParams = {
29664
+ * myParameter: value
29665
+ * };
29666
+ * confluence.saveMacro(macroParams);
29667
+ * });
29668
+ *
29669
+ * In order to retrieve the custom data again when the property panel is opened, use `confluence.getMacroData` (see
29670
+ * <a href="../../jsapi/confluence/">Confluence API</a>):
29671
+ *
29672
+ * AP.require("confluence", function (confluence) {
29673
+ * var macroData = confluence.getMacroData(function(macroParams) {
29674
+ * doSomethingWith(macroParams.myParameter);
29675
+ * });
29676
+ * });
29677
+ *
29678
+ * Dialogs may also be created. Use `dialog.create` (see
29679
+ * <a href="../../jsapi/dialog/">Dialog API</a>):
29680
+ *
29681
+ * AP.require('dialog', function(dialog) {
29682
+ * dialog.create({
29683
+ * key: 'my-module-key',
29684
+ * width: '500px',
29685
+ * height: '200px',
29686
+ * chrome: true
29687
+ * }).on("close", callbackFunc);
29688
+ * });
29689
+ *
29690
+ *
29691
+ */
29692
+ export interface MacroPropertyPanel1 {
29693
+ controls?: (ToggleGroup1 | TextControl1 | ControlGroup1 | ButtonControl3)[];
29694
+ cacheable?: boolean;
29695
+ url: string;
29696
+ [k: string]: unknown;
29697
+ }
29698
+ /**
29699
+ *
29700
+ *
29701
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
29702
+ *
29703
+ * <p><b>Example</b></p>
29704
+ *
29705
+ *
29706
+ *
29707
+ *
29708
+ *
29709
+ * [
29710
+ * {
29711
+ * "type": "togglegroup",
29712
+ * "macroParameter": "toggleGroupMacroParameter",
29713
+ * "controls": [
29714
+ * {
29715
+ * "type": "togglebutton",
29716
+ * "macroParameterValue": "macroParameterValue 0",
29717
+ * "label": {
29718
+ * "value": "My Custom Control 0"
29719
+ * },
29720
+ * "key": "my-custom-toggle-button-0"
29721
+ * },
29722
+ * {
29723
+ * "type": "togglebutton",
29724
+ * "macroParameterValue": "macroParameterValue 1",
29725
+ * "label": {
29726
+ * "value": "My Custom Control 1"
29727
+ * },
29728
+ * "key": "my-custom-toggle-button-1"
29729
+ * }
29730
+ * ]
29731
+ * }
29732
+ * ]
29733
+ *
29734
+ *
29735
+ *
29736
+ */
29737
+ export interface ToggleGroup1 {
29738
+ controls: ToggleButtonControl1[];
29739
+ macroParameter: string;
29740
+ type: 'togglegroup' | 'TOGGLEGROUP';
29741
+ [k: string]: unknown;
29742
+ }
29743
+ /**
29744
+ *
29745
+ *
29746
+ * Defines a toggle button which appears inside a ToggleGroup
29747
+ *
29748
+ * <p><b>Example</b></p>
29749
+ *
29750
+ *
29751
+ *
29752
+ *
29753
+ *
29754
+ * {
29755
+ * "type": "togglebutton",
29756
+ * "macroParameterValue": "macroParameterValue 0",
29757
+ * "label": {
29758
+ * "value": "My Custom Control 0"
29759
+ * },
29760
+ * "key": "my-custom-toggle-button-0"
29761
+ * }
29762
+ *
29763
+ *
29764
+ *
29765
+ */
29766
+ export interface ToggleButtonControl1 {
29767
+ macroParameterValue: string;
29768
+ label: I18NProperty84;
29769
+ type: 'togglebutton' | 'TOGGLEBUTTON';
29770
+ key: string;
29771
+ [k: string]: unknown;
29772
+ }
29773
+ /**
29774
+ *
29775
+ *
29776
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
29777
+ * and value in multiple places if you like, but identical keys must have identical values.
29778
+ *
29779
+ * <h3>Example</h3>
29780
+ *
29781
+ *
29782
+ *
29783
+ *
29784
+ *
29785
+ * {
29786
+ * "value": "My text"
29787
+ * }
29788
+ *
29789
+ *
29790
+ *
29791
+ */
29792
+ export interface I18NProperty84 {
29249
29793
  value: string;
29250
29794
  i18n?: string;
29251
29795
  [k: string]: unknown;
29252
29796
  }
29253
- /**
29254
- *
29255
- *
29256
- * Defining a Macro Property panel allows you to add a hidden iframe to your macro's
29257
- * property panel. The iframe is loaded as soon as the property panel is opened.
29258
- *
29259
- * In order to persist custom data using your property panel, use the Javascript
29260
- * <a href="../../jsapi/confluence/">Confluence API</a>.
29261
- * For example:
29262
- *
29263
- * AP.require(["confluence"], function (confluence) {
29264
- * var macroParams = {
29265
- * myParameter: value
29266
- * };
29267
- * confluence.saveMacro(macroParams);
29268
- * });
29269
- *
29270
- * In order to retrieve the custom data again when the property panel is opened, use `confluence.getMacroData` (see
29271
- * <a href="../../jsapi/confluence/">Confluence API</a>):
29272
- *
29273
- * AP.require("confluence", function (confluence) {
29274
- * var macroData = confluence.getMacroData(function(macroParams) {
29275
- * doSomethingWith(macroParams.myParameter);
29276
- * });
29277
- * });
29278
- *
29279
- * Dialogs may also be created. Use `dialog.create` (see
29280
- * <a href="../../jsapi/dialog/">Dialog API</a>):
29281
- *
29282
- * AP.require('dialog', function(dialog) {
29283
- * dialog.create({
29284
- * key: 'my-module-key',
29285
- * width: '500px',
29286
- * height: '200px',
29287
- * chrome: true
29288
- * }).on("close", callbackFunc);
29289
- * });
29290
- *
29291
- *
29292
- */
29293
- export interface MacroPropertyPanel1 {
29294
- controls?: (TextControl1 | ButtonControl2 | ToggleGroup1 | ControlGroup1)[];
29295
- cacheable?: boolean;
29296
- url: string;
29297
- [k: string]: unknown;
29298
- }
29299
29797
  /**
29300
29798
  *
29301
29799
  *
@@ -29327,59 +29825,7 @@ export interface TextControl1 {
29327
29825
  /**
29328
29826
  *
29329
29827
  *
29330
- * Defines a button which may appear in control extension points such as the property panel
29331
- *
29332
- * <p><b>Example</b></p>
29333
- *
29334
- *
29335
- *
29336
- *
29337
- *
29338
- * {
29339
- * "type": "button",
29340
- * "label": {
29341
- * "value": "My Custom Control 0"
29342
- * },
29343
- * "key": "my-custom-control-0"
29344
- * }
29345
- *
29346
- *
29347
- *
29348
- */
29349
- export interface ButtonControl2 {
29350
- label: I18NProperty84;
29351
- type: 'button' | 'BUTTON';
29352
- key: string;
29353
- [k: string]: unknown;
29354
- }
29355
- /**
29356
- *
29357
- *
29358
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
29359
- * and value in multiple places if you like, but identical keys must have identical values.
29360
- *
29361
- * <h3>Example</h3>
29362
- *
29363
- *
29364
- *
29365
- *
29366
- *
29367
- * {
29368
- * "value": "My text"
29369
- * }
29370
- *
29371
- *
29372
- *
29373
- */
29374
- export interface I18NProperty84 {
29375
- value: string;
29376
- i18n?: string;
29377
- [k: string]: unknown;
29378
- }
29379
- /**
29380
- *
29381
- *
29382
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
29828
+ * Defines a ControlGroup which may appear in control extension points such as the property panel
29383
29829
  *
29384
29830
  * <p><b>Example</b></p>
29385
29831
  *
@@ -29389,24 +29835,21 @@ export interface I18NProperty84 {
29389
29835
  *
29390
29836
  * [
29391
29837
  * {
29392
- * "type": "togglegroup",
29393
- * "macroParameter": "toggleGroupMacroParameter",
29838
+ * "type": "group",
29394
29839
  * "controls": [
29395
29840
  * {
29396
- * "type": "togglebutton",
29397
- * "macroParameterValue": "macroParameterValue 0",
29841
+ * "type": "button",
29398
29842
  * "label": {
29399
29843
  * "value": "My Custom Control 0"
29400
29844
  * },
29401
- * "key": "my-custom-toggle-button-0"
29845
+ * "key": "my-custom-control-0"
29402
29846
  * },
29403
29847
  * {
29404
- * "type": "togglebutton",
29405
- * "macroParameterValue": "macroParameterValue 1",
29848
+ * "type": "button",
29406
29849
  * "label": {
29407
29850
  * "value": "My Custom Control 1"
29408
29851
  * },
29409
- * "key": "my-custom-toggle-button-1"
29852
+ * "key": "my-custom-control-1"
29410
29853
  * }
29411
29854
  * ]
29412
29855
  * }
@@ -29415,16 +29858,15 @@ export interface I18NProperty84 {
29415
29858
  *
29416
29859
  *
29417
29860
  */
29418
- export interface ToggleGroup1 {
29419
- controls: ToggleButtonControl1[];
29420
- macroParameter: string;
29421
- type: 'togglegroup' | 'TOGGLEGROUP';
29861
+ export interface ControlGroup1 {
29862
+ controls: ButtonControl2[];
29863
+ type: 'group' | 'GROUP';
29422
29864
  [k: string]: unknown;
29423
29865
  }
29424
29866
  /**
29425
29867
  *
29426
29868
  *
29427
- * Defines a toggle button which appears inside a ToggleGroup
29869
+ * Defines a button which may appear in control extension points such as the property panel
29428
29870
  *
29429
29871
  * <p><b>Example</b></p>
29430
29872
  *
@@ -29433,21 +29875,19 @@ export interface ToggleGroup1 {
29433
29875
  *
29434
29876
  *
29435
29877
  * {
29436
- * "type": "togglebutton",
29437
- * "macroParameterValue": "macroParameterValue 0",
29878
+ * "type": "button",
29438
29879
  * "label": {
29439
29880
  * "value": "My Custom Control 0"
29440
29881
  * },
29441
- * "key": "my-custom-toggle-button-0"
29882
+ * "key": "my-custom-control-0"
29442
29883
  * }
29443
29884
  *
29444
29885
  *
29445
29886
  *
29446
29887
  */
29447
- export interface ToggleButtonControl1 {
29448
- macroParameterValue: string;
29888
+ export interface ButtonControl2 {
29449
29889
  label: I18NProperty85;
29450
- type: 'togglebutton' | 'TOGGLEBUTTON';
29890
+ type: 'button' | 'BUTTON';
29451
29891
  key: string;
29452
29892
  [k: string]: unknown;
29453
29893
  }
@@ -29475,47 +29915,6 @@ export interface I18NProperty85 {
29475
29915
  i18n?: string;
29476
29916
  [k: string]: unknown;
29477
29917
  }
29478
- /**
29479
- *
29480
- *
29481
- * Defines a ControlGroup which may appear in control extension points such as the property panel
29482
- *
29483
- * <p><b>Example</b></p>
29484
- *
29485
- *
29486
- *
29487
- *
29488
- *
29489
- * [
29490
- * {
29491
- * "type": "group",
29492
- * "controls": [
29493
- * {
29494
- * "type": "button",
29495
- * "label": {
29496
- * "value": "My Custom Control 0"
29497
- * },
29498
- * "key": "my-custom-control-0"
29499
- * },
29500
- * {
29501
- * "type": "button",
29502
- * "label": {
29503
- * "value": "My Custom Control 1"
29504
- * },
29505
- * "key": "my-custom-control-1"
29506
- * }
29507
- * ]
29508
- * }
29509
- * ]
29510
- *
29511
- *
29512
- *
29513
- */
29514
- export interface ControlGroup1 {
29515
- controls: ButtonControl3[];
29516
- type: 'group' | 'GROUP';
29517
- [k: string]: unknown;
29518
- }
29519
29918
  /**
29520
29919
  *
29521
29920
  *
@@ -50417,47 +50816,10 @@ export interface I18NProperty91 {
50417
50816
  *
50418
50817
  */
50419
50818
  export interface WebItemTarget2 {
50420
- options?: InlineDialogOptions2 | DialogModuleOptions2 | DialogOptions4;
50819
+ options?: DialogModuleOptions2 | DialogOptions4 | InlineDialogOptions2;
50421
50820
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
50422
50821
  [k: string]: unknown;
50423
50822
  }
50424
- /**
50425
- *
50426
- *
50427
- * Options for an inline dialog target
50428
- *
50429
- * <h3>Example</h3>
50430
- *
50431
- *
50432
- *
50433
- *
50434
- *
50435
- * {
50436
- * "target": {
50437
- * "type": "inlinedialog",
50438
- * "options": {
50439
- * "onHover": true,
50440
- * "offsetX": "30px",
50441
- * "offsetY": "20px"
50442
- * }
50443
- * }
50444
- * }
50445
- *
50446
- *
50447
- *
50448
- */
50449
- export interface InlineDialogOptions2 {
50450
- offsetX?: string;
50451
- offsetY?: string;
50452
- width?: string;
50453
- onTop?: boolean;
50454
- showDelay?: number;
50455
- closeOthers?: boolean;
50456
- persistent?: boolean;
50457
- onHover?: boolean;
50458
- isRelativeToMouse?: boolean;
50459
- [k: string]: unknown;
50460
- }
50461
50823
  /**
50462
50824
  *
50463
50825
  *
@@ -50583,6 +50945,43 @@ export interface I18NProperty92 {
50583
50945
  i18n?: string;
50584
50946
  [k: string]: unknown;
50585
50947
  }
50948
+ /**
50949
+ *
50950
+ *
50951
+ * Options for an inline dialog target
50952
+ *
50953
+ * <h3>Example</h3>
50954
+ *
50955
+ *
50956
+ *
50957
+ *
50958
+ *
50959
+ * {
50960
+ * "target": {
50961
+ * "type": "inlinedialog",
50962
+ * "options": {
50963
+ * "onHover": true,
50964
+ * "offsetX": "30px",
50965
+ * "offsetY": "20px"
50966
+ * }
50967
+ * }
50968
+ * }
50969
+ *
50970
+ *
50971
+ *
50972
+ */
50973
+ export interface InlineDialogOptions2 {
50974
+ offsetX?: string;
50975
+ offsetY?: string;
50976
+ width?: string;
50977
+ onTop?: boolean;
50978
+ showDelay?: number;
50979
+ closeOthers?: boolean;
50980
+ persistent?: boolean;
50981
+ onHover?: boolean;
50982
+ isRelativeToMouse?: boolean;
50983
+ [k: string]: unknown;
50984
+ }
50586
50985
  /**
50587
50986
  *
50588
50987
  *
@@ -51369,6 +51768,12 @@ export interface Fetch {
51369
51768
  export interface Remote {
51370
51769
  remote: string;
51371
51770
  }
51771
+ /**
51772
+ * References a Remote
51773
+ */
51774
+ export interface Remote1 {
51775
+ remote: string;
51776
+ }
51372
51777
  export interface HostedResourcesSchema {
51373
51778
  /**
51374
51779
  * A key for the resource, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.
@@ -51396,19 +51801,7 @@ export interface AuthProviderCustom {
51396
51801
  */
51397
51802
  name: string;
51398
51803
  type: 'oauth2';
51399
- bearerMethod?:
51400
- | ('authorization-header' | 'form-encoded' | 'uri-query')
51401
- | {
51402
- type: 'authorization-header' | 'form-encoded' | 'uri-query';
51403
- /**
51404
- * Custom authorization header prefix
51405
- */
51406
- prefix?: string;
51407
- /**
51408
- * Custom Header name or Parameter name (depending on type)
51409
- */
51410
- parameter?: string;
51411
- };
51804
+ bearerMethod: BearerMethodSchema;
51412
51805
  clientId: string;
51413
51806
  scopes?: string[];
51414
51807
  remotes?: ModuleKeySchema[];
@@ -51491,7 +51884,12 @@ export interface AuthProviderPredefined {
51491
51884
  * Name shown to end users
51492
51885
  */
51493
51886
  name: string;
51887
+ /**
51888
+ * Pre-defined integration name
51889
+ */
51494
51890
  integration: 'adobe' | 'azuredevops' | 'dropbox' | 'google' | 'miro';
51891
+ bearerMethod: BearerMethodSchema;
51495
51892
  clientId: string;
51496
51893
  scopes?: string[];
51894
+ remotes: ModuleKeySchema[];
51497
51895
  }