@forge/manifest 0.0.0-experimental-64caa5a → 0.0.0-experimental-7c72fec

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/CHANGELOG.md +99 -6
  2. package/out/index.d.ts +1 -1
  3. package/out/index.d.ts.map +1 -1
  4. package/out/mapping/product-event-to-scope-mapping.json +8 -8
  5. package/out/processor/full-validation-processor.d.ts.map +1 -1
  6. package/out/processor/full-validation-processor.js +3 -0
  7. package/out/schema/basic-manifest-schema.json +9 -0
  8. package/out/schema/basic-manifest.d.ts +4 -0
  9. package/out/schema/manifest-schema.json +814 -919
  10. package/out/schema/manifest.d.ts +941 -911
  11. package/out/scopes/deprecated-shipyard-scopes.json +24 -0
  12. package/out/scopes/shipyard-scopes.json +47 -69
  13. package/out/text/errors.d.ts +2 -0
  14. package/out/text/errors.d.ts.map +1 -1
  15. package/out/text/errors.js +4 -2
  16. package/out/types/module-types.d.ts +8 -0
  17. package/out/types/module-types.d.ts.map +1 -1
  18. package/out/types/module-types.js +8 -0
  19. package/out/validators/connect-authentication-validator.d.ts +7 -0
  20. package/out/validators/connect-authentication-validator.d.ts.map +1 -0
  21. package/out/validators/connect-authentication-validator.js +27 -0
  22. package/out/validators/deprecated-permissions-validator.d.ts +7 -0
  23. package/out/validators/deprecated-permissions-validator.d.ts.map +1 -0
  24. package/out/validators/deprecated-permissions-validator.js +31 -0
  25. package/out/validators/index.d.ts +1 -0
  26. package/out/validators/index.d.ts.map +1 -1
  27. package/out/validators/index.js +1 -0
  28. package/out/validators/permissions-validator.d.ts.map +1 -1
  29. package/out/validators/permissions-validator.js +14 -8
  30. package/package.json +1 -1
@@ -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,6 +688,9 @@ 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
  }
@@ -614,6 +703,9 @@ export interface Modules {
614
703
  icon?: string;
615
704
  route: string;
616
705
  function: string;
706
+ displayConditions?: {
707
+ [k: string]: unknown;
708
+ };
617
709
  key: ModuleKeySchema;
618
710
  }
619
711
  | {
@@ -625,6 +717,9 @@ export interface Modules {
625
717
  };
626
718
  resource: string;
627
719
  resourceUploadId?: string;
720
+ displayConditions?: {
721
+ [k: string]: unknown;
722
+ };
628
723
  key: ModuleKeySchema;
629
724
  }
630
725
  ),
@@ -634,6 +729,9 @@ export interface Modules {
634
729
  icon?: string;
635
730
  route: string;
636
731
  function: string;
732
+ displayConditions?: {
733
+ [k: string]: unknown;
734
+ };
637
735
  key: ModuleKeySchema;
638
736
  }
639
737
  | {
@@ -645,6 +743,9 @@ export interface Modules {
645
743
  };
646
744
  resource: string;
647
745
  resourceUploadId?: string;
746
+ displayConditions?: {
747
+ [k: string]: unknown;
748
+ };
648
749
  key: ModuleKeySchema;
649
750
  }
650
751
  )[]
@@ -1282,6 +1383,22 @@ export interface Modules {
1282
1383
  title: string;
1283
1384
  icon?: string;
1284
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
+ }[];
1285
1402
  key: ModuleKeySchema;
1286
1403
  [k: string]: unknown;
1287
1404
  }
@@ -1294,29 +1411,13 @@ export interface Modules {
1294
1411
  title: string;
1295
1412
  icon?: string;
1296
1413
  layout?: 'basic' | 'native';
1297
- key: ModuleKeySchema;
1298
- [k: string]: unknown;
1299
- }
1300
- | {
1301
- pages: {
1414
+ pages?: {
1302
1415
  title: string;
1303
1416
  route: string;
1304
1417
  icon?: string;
1305
1418
  [k: string]: unknown;
1306
1419
  }[];
1307
- resource: string;
1308
- resourceUploadId?: string;
1309
- resolver?: {
1310
- function: string;
1311
- };
1312
- title: string;
1313
- icon?: string;
1314
- layout?: 'basic' | 'native';
1315
- key: ModuleKeySchema;
1316
- [k: string]: unknown;
1317
- }
1318
- | {
1319
- sections: {
1420
+ sections?: {
1320
1421
  header?: string;
1321
1422
  pages: {
1322
1423
  title: string;
@@ -1326,14 +1427,6 @@ export interface Modules {
1326
1427
  }[];
1327
1428
  [k: string]: unknown;
1328
1429
  }[];
1329
- resource: string;
1330
- resourceUploadId?: string;
1331
- resolver?: {
1332
- function: string;
1333
- };
1334
- title: string;
1335
- icon?: string;
1336
- layout?: 'basic' | 'native';
1337
1430
  key: ModuleKeySchema;
1338
1431
  [k: string]: unknown;
1339
1432
  }
@@ -1344,6 +1437,22 @@ export interface Modules {
1344
1437
  title: string;
1345
1438
  icon?: string;
1346
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
+ }[];
1347
1456
  key: ModuleKeySchema;
1348
1457
  [k: string]: unknown;
1349
1458
  }
@@ -1356,29 +1465,13 @@ export interface Modules {
1356
1465
  title: string;
1357
1466
  icon?: string;
1358
1467
  layout?: 'basic' | 'native';
1359
- key: ModuleKeySchema;
1360
- [k: string]: unknown;
1361
- }
1362
- | {
1363
- pages: {
1468
+ pages?: {
1364
1469
  title: string;
1365
1470
  route: string;
1366
1471
  icon?: string;
1367
1472
  [k: string]: unknown;
1368
1473
  }[];
1369
- resource: string;
1370
- resourceUploadId?: string;
1371
- resolver?: {
1372
- function: string;
1373
- };
1374
- title: string;
1375
- icon?: string;
1376
- layout?: 'basic' | 'native';
1377
- key: ModuleKeySchema;
1378
- [k: string]: unknown;
1379
- }
1380
- | {
1381
- sections: {
1474
+ sections?: {
1382
1475
  header?: string;
1383
1476
  pages: {
1384
1477
  title: string;
@@ -1388,14 +1481,6 @@ export interface Modules {
1388
1481
  }[];
1389
1482
  [k: string]: unknown;
1390
1483
  }[];
1391
- resource: string;
1392
- resourceUploadId?: string;
1393
- resolver?: {
1394
- function: string;
1395
- };
1396
- title: string;
1397
- icon?: string;
1398
- layout?: 'basic' | 'native';
1399
1484
  key: ModuleKeySchema;
1400
1485
  [k: string]: unknown;
1401
1486
  }
@@ -1408,6 +1493,22 @@ export interface Modules {
1408
1493
  title: string;
1409
1494
  icon?: string;
1410
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
+ }[];
1411
1512
  key: ModuleKeySchema;
1412
1513
  [k: string]: unknown;
1413
1514
  }
@@ -1420,29 +1521,13 @@ export interface Modules {
1420
1521
  title: string;
1421
1522
  icon?: string;
1422
1523
  layout?: 'basic' | 'native';
1423
- key: ModuleKeySchema;
1424
- [k: string]: unknown;
1425
- }
1426
- | {
1427
- pages: {
1524
+ pages?: {
1428
1525
  title: string;
1429
1526
  route: string;
1430
1527
  icon?: string;
1431
1528
  [k: string]: unknown;
1432
1529
  }[];
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: {
1530
+ sections?: {
1446
1531
  header?: string;
1447
1532
  pages: {
1448
1533
  title: string;
@@ -1452,14 +1537,6 @@ export interface Modules {
1452
1537
  }[];
1453
1538
  [k: string]: unknown;
1454
1539
  }[];
1455
- resource: string;
1456
- resourceUploadId?: string;
1457
- resolver?: {
1458
- function: string;
1459
- };
1460
- title: string;
1461
- icon?: string;
1462
- layout?: 'basic' | 'native';
1463
1540
  key: ModuleKeySchema;
1464
1541
  [k: string]: unknown;
1465
1542
  }
@@ -1470,6 +1547,22 @@ export interface Modules {
1470
1547
  title: string;
1471
1548
  icon?: string;
1472
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
+ }[];
1473
1566
  key: ModuleKeySchema;
1474
1567
  [k: string]: unknown;
1475
1568
  }
@@ -1482,29 +1575,13 @@ export interface Modules {
1482
1575
  title: string;
1483
1576
  icon?: string;
1484
1577
  layout?: 'basic' | 'native';
1485
- key: ModuleKeySchema;
1486
- [k: string]: unknown;
1487
- }
1488
- | {
1489
- pages: {
1578
+ pages?: {
1490
1579
  title: string;
1491
1580
  route: string;
1492
1581
  icon?: string;
1493
1582
  [k: string]: unknown;
1494
1583
  }[];
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: {
1584
+ sections?: {
1508
1585
  header?: string;
1509
1586
  pages: {
1510
1587
  title: string;
@@ -1514,14 +1591,6 @@ export interface Modules {
1514
1591
  }[];
1515
1592
  [k: string]: unknown;
1516
1593
  }[];
1517
- resource: string;
1518
- resourceUploadId?: string;
1519
- resolver?: {
1520
- function: string;
1521
- };
1522
- title: string;
1523
- icon?: string;
1524
- layout?: 'basic' | 'native';
1525
1594
  key: ModuleKeySchema;
1526
1595
  [k: string]: unknown;
1527
1596
  }
@@ -1534,6 +1603,22 @@ export interface Modules {
1534
1603
  title: string;
1535
1604
  icon?: string;
1536
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
+ }[];
1537
1622
  key: ModuleKeySchema;
1538
1623
  [k: string]: unknown;
1539
1624
  }
@@ -1546,29 +1631,13 @@ export interface Modules {
1546
1631
  title: string;
1547
1632
  icon?: string;
1548
1633
  layout?: 'basic' | 'native';
1549
- key: ModuleKeySchema;
1550
- [k: string]: unknown;
1551
- }
1552
- | {
1553
- pages: {
1634
+ pages?: {
1554
1635
  title: string;
1555
1636
  route: string;
1556
1637
  icon?: string;
1557
1638
  [k: string]: unknown;
1558
1639
  }[];
1559
- resource: string;
1560
- resourceUploadId?: string;
1561
- resolver?: {
1562
- function: string;
1563
- };
1564
- title: string;
1565
- icon?: string;
1566
- layout?: 'basic' | 'native';
1567
- key: ModuleKeySchema;
1568
- [k: string]: unknown;
1569
- }
1570
- | {
1571
- sections: {
1640
+ sections?: {
1572
1641
  header?: string;
1573
1642
  pages: {
1574
1643
  title: string;
@@ -1578,14 +1647,6 @@ export interface Modules {
1578
1647
  }[];
1579
1648
  [k: string]: unknown;
1580
1649
  }[];
1581
- resource: string;
1582
- resourceUploadId?: string;
1583
- resolver?: {
1584
- function: string;
1585
- };
1586
- title: string;
1587
- icon?: string;
1588
- layout?: 'basic' | 'native';
1589
1650
  key: ModuleKeySchema;
1590
1651
  [k: string]: unknown;
1591
1652
  }
@@ -1596,6 +1657,22 @@ export interface Modules {
1596
1657
  title: string;
1597
1658
  icon?: string;
1598
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
+ }[];
1599
1676
  key: ModuleKeySchema;
1600
1677
  [k: string]: unknown;
1601
1678
  }
@@ -1608,29 +1685,13 @@ export interface Modules {
1608
1685
  title: string;
1609
1686
  icon?: string;
1610
1687
  layout?: 'basic' | 'native';
1611
- key: ModuleKeySchema;
1612
- [k: string]: unknown;
1613
- }
1614
- | {
1615
- pages: {
1688
+ pages?: {
1616
1689
  title: string;
1617
1690
  route: string;
1618
1691
  icon?: string;
1619
1692
  [k: string]: unknown;
1620
1693
  }[];
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: {
1694
+ sections?: {
1634
1695
  header?: string;
1635
1696
  pages: {
1636
1697
  title: string;
@@ -1640,14 +1701,6 @@ export interface Modules {
1640
1701
  }[];
1641
1702
  [k: string]: unknown;
1642
1703
  }[];
1643
- resource: string;
1644
- resourceUploadId?: string;
1645
- resolver?: {
1646
- function: string;
1647
- };
1648
- title: string;
1649
- icon?: string;
1650
- layout?: 'basic' | 'native';
1651
1704
  key: ModuleKeySchema;
1652
1705
  [k: string]: unknown;
1653
1706
  }
@@ -1660,6 +1713,22 @@ export interface Modules {
1660
1713
  title: string;
1661
1714
  icon?: string;
1662
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
+ }[];
1663
1732
  key: ModuleKeySchema;
1664
1733
  [k: string]: unknown;
1665
1734
  }
@@ -1672,29 +1741,13 @@ export interface Modules {
1672
1741
  title: string;
1673
1742
  icon?: string;
1674
1743
  layout?: 'basic' | 'native';
1675
- key: ModuleKeySchema;
1676
- [k: string]: unknown;
1677
- }
1678
- | {
1679
- pages: {
1744
+ pages?: {
1680
1745
  title: string;
1681
1746
  route: string;
1682
1747
  icon?: string;
1683
1748
  [k: string]: unknown;
1684
1749
  }[];
1685
- resource: string;
1686
- resourceUploadId?: string;
1687
- resolver?: {
1688
- function: string;
1689
- };
1690
- title: string;
1691
- icon?: string;
1692
- layout?: 'basic' | 'native';
1693
- key: ModuleKeySchema;
1694
- [k: string]: unknown;
1695
- }
1696
- | {
1697
- sections: {
1750
+ sections?: {
1698
1751
  header?: string;
1699
1752
  pages: {
1700
1753
  title: string;
@@ -1704,14 +1757,6 @@ export interface Modules {
1704
1757
  }[];
1705
1758
  [k: string]: unknown;
1706
1759
  }[];
1707
- resource: string;
1708
- resourceUploadId?: string;
1709
- resolver?: {
1710
- function: string;
1711
- };
1712
- title: string;
1713
- icon?: string;
1714
- layout?: 'basic' | 'native';
1715
1760
  key: ModuleKeySchema;
1716
1761
  [k: string]: unknown;
1717
1762
  }
@@ -1722,6 +1767,22 @@ export interface Modules {
1722
1767
  title: string;
1723
1768
  icon?: string;
1724
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
+ }[];
1725
1786
  key: ModuleKeySchema;
1726
1787
  [k: string]: unknown;
1727
1788
  }
@@ -1734,29 +1795,13 @@ export interface Modules {
1734
1795
  title: string;
1735
1796
  icon?: string;
1736
1797
  layout?: 'basic' | 'native';
1737
- key: ModuleKeySchema;
1738
- [k: string]: unknown;
1739
- }
1740
- | {
1741
- pages: {
1798
+ pages?: {
1742
1799
  title: string;
1743
1800
  route: string;
1744
1801
  icon?: string;
1745
1802
  [k: string]: unknown;
1746
1803
  }[];
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: {
1804
+ sections?: {
1760
1805
  header?: string;
1761
1806
  pages: {
1762
1807
  title: string;
@@ -1766,14 +1811,6 @@ export interface Modules {
1766
1811
  }[];
1767
1812
  [k: string]: unknown;
1768
1813
  }[];
1769
- resource: string;
1770
- resourceUploadId?: string;
1771
- resolver?: {
1772
- function: string;
1773
- };
1774
- title: string;
1775
- icon?: string;
1776
- layout?: 'basic' | 'native';
1777
1814
  key: ModuleKeySchema;
1778
1815
  [k: string]: unknown;
1779
1816
  }
@@ -1795,7 +1832,6 @@ export interface Modules {
1795
1832
  function: string;
1796
1833
  };
1797
1834
  resource: string;
1798
- resourceUploadId?: string;
1799
1835
  key: ModuleKeySchema;
1800
1836
  [k: string]: unknown;
1801
1837
  }
@@ -1815,7 +1851,6 @@ export interface Modules {
1815
1851
  function: string;
1816
1852
  };
1817
1853
  resource: string;
1818
- resourceUploadId?: string;
1819
1854
  key: ModuleKeySchema;
1820
1855
  [k: string]: unknown;
1821
1856
  }
@@ -1839,7 +1874,6 @@ export interface Modules {
1839
1874
  };
1840
1875
  displayConditions?: DisplayConditions;
1841
1876
  resource: string;
1842
- resourceUploadId?: string;
1843
1877
  key: ModuleKeySchema;
1844
1878
  [k: string]: unknown;
1845
1879
  }
@@ -1861,7 +1895,6 @@ export interface Modules {
1861
1895
  };
1862
1896
  displayConditions?: DisplayConditions;
1863
1897
  resource: string;
1864
- resourceUploadId?: string;
1865
1898
  key: ModuleKeySchema;
1866
1899
  [k: string]: unknown;
1867
1900
  }
@@ -1883,7 +1916,6 @@ export interface Modules {
1883
1916
  function: string;
1884
1917
  };
1885
1918
  resource: string;
1886
- resourceUploadId?: string;
1887
1919
  key: ModuleKeySchema;
1888
1920
  [k: string]: unknown;
1889
1921
  }
@@ -1903,7 +1935,6 @@ export interface Modules {
1903
1935
  function: string;
1904
1936
  };
1905
1937
  resource: string;
1906
- resourceUploadId?: string;
1907
1938
  key: ModuleKeySchema;
1908
1939
  [k: string]: unknown;
1909
1940
  }
@@ -2258,7 +2289,7 @@ export interface Modules {
2258
2289
  | 'TIME_TRACKING'
2259
2290
  | 'other'
2260
2291
  | 'OTHER';
2261
- conditions?: (SingleCondition | CompositeCondition)[];
2292
+ conditions?: (CompositeCondition | SingleCondition)[];
2262
2293
  key: ModuleKeySchema;
2263
2294
  [k: string]: unknown;
2264
2295
  },
@@ -2280,7 +2311,7 @@ export interface Modules {
2280
2311
  | 'TIME_TRACKING'
2281
2312
  | 'other'
2282
2313
  | 'OTHER';
2283
- conditions?: (SingleCondition | CompositeCondition)[];
2314
+ conditions?: (CompositeCondition | SingleCondition)[];
2284
2315
  key: ModuleKeySchema;
2285
2316
  [k: string]: unknown;
2286
2317
  }[]
@@ -2388,7 +2419,7 @@ export interface Modules {
2388
2419
  name?: I18NProperty20;
2389
2420
  weight?: number;
2390
2421
  iconUrl?: string;
2391
- conditions?: (CompositeCondition | SingleCondition)[];
2422
+ conditions?: (SingleCondition | CompositeCondition)[];
2392
2423
  url?: string;
2393
2424
  key: ModuleKeySchema;
2394
2425
  [k: string]: unknown;
@@ -2397,7 +2428,7 @@ export interface Modules {
2397
2428
  name?: I18NProperty20;
2398
2429
  weight?: number;
2399
2430
  iconUrl?: string;
2400
- conditions?: (CompositeCondition | SingleCondition)[];
2431
+ conditions?: (SingleCondition | CompositeCondition)[];
2401
2432
  url?: string;
2402
2433
  key: ModuleKeySchema;
2403
2434
  [k: string]: unknown;
@@ -2408,7 +2439,7 @@ export interface Modules {
2408
2439
  name?: I18NProperty21;
2409
2440
  weight?: number;
2410
2441
  description?: I18NProperty22;
2411
- conditions?: (CompositeCondition | SingleCondition)[];
2442
+ conditions?: (SingleCondition | CompositeCondition)[];
2412
2443
  params?: {
2413
2444
  [k: string]: unknown;
2414
2445
  };
@@ -2420,7 +2451,7 @@ export interface Modules {
2420
2451
  name?: I18NProperty21;
2421
2452
  weight?: number;
2422
2453
  description?: I18NProperty22;
2423
- conditions?: (CompositeCondition | SingleCondition)[];
2454
+ conditions?: (SingleCondition | CompositeCondition)[];
2424
2455
  params?: {
2425
2456
  [k: string]: unknown;
2426
2457
  };
@@ -2433,7 +2464,7 @@ export interface Modules {
2433
2464
  {
2434
2465
  name?: I18NProperty23;
2435
2466
  description?: I18NProperty24;
2436
- conditions?: (SingleCondition | CompositeCondition)[];
2467
+ conditions?: (CompositeCondition | SingleCondition)[];
2437
2468
  url?: string;
2438
2469
  configurable?: boolean;
2439
2470
  thumbnailUrl?: string;
@@ -2443,7 +2474,7 @@ export interface Modules {
2443
2474
  ...{
2444
2475
  name?: I18NProperty23;
2445
2476
  description?: I18NProperty24;
2446
- conditions?: (SingleCondition | CompositeCondition)[];
2477
+ conditions?: (CompositeCondition | SingleCondition)[];
2447
2478
  url?: string;
2448
2479
  configurable?: boolean;
2449
2480
  thumbnailUrl?: string;
@@ -2502,7 +2533,7 @@ export interface Modules {
2502
2533
  name?: I18NProperty30;
2503
2534
  conditions?: (SingleCondition | CompositeCondition)[];
2504
2535
  target?: IssuePageTargetWebPanel;
2505
- contentPresentConditions?: (CompositeCondition | SingleCondition)[];
2536
+ contentPresentConditions?: (SingleCondition | CompositeCondition)[];
2506
2537
  jiraNativeAppsEnabled?: boolean;
2507
2538
  key: ModuleKeySchema;
2508
2539
  [k: string]: unknown;
@@ -2513,7 +2544,7 @@ export interface Modules {
2513
2544
  name?: I18NProperty30;
2514
2545
  conditions?: (SingleCondition | CompositeCondition)[];
2515
2546
  target?: IssuePageTargetWebPanel;
2516
- contentPresentConditions?: (CompositeCondition | SingleCondition)[];
2547
+ contentPresentConditions?: (SingleCondition | CompositeCondition)[];
2517
2548
  jiraNativeAppsEnabled?: boolean;
2518
2549
  key: ModuleKeySchema;
2519
2550
  [k: string]: unknown;
@@ -2545,7 +2576,7 @@ export interface Modules {
2545
2576
  {
2546
2577
  name?: I18NProperty33;
2547
2578
  weight?: number;
2548
- conditions?: (SingleCondition2 | CompositeCondition2)[];
2579
+ conditions?: (CompositeCondition2 | SingleCondition2)[];
2549
2580
  params?: {
2550
2581
  [k: string]: unknown;
2551
2582
  };
@@ -2556,7 +2587,7 @@ export interface Modules {
2556
2587
  ...{
2557
2588
  name?: I18NProperty33;
2558
2589
  weight?: number;
2559
- conditions?: (SingleCondition2 | CompositeCondition2)[];
2590
+ conditions?: (CompositeCondition2 | SingleCondition2)[];
2560
2591
  params?: {
2561
2592
  [k: string]: unknown;
2562
2593
  };
@@ -2637,7 +2668,7 @@ export interface Modules {
2637
2668
  {
2638
2669
  name?: I18NProperty38;
2639
2670
  weight?: number;
2640
- conditions?: (SingleCondition3 | CompositeCondition4)[];
2671
+ conditions?: (CompositeCondition4 | SingleCondition3)[];
2641
2672
  params?: {
2642
2673
  [k: string]: unknown;
2643
2674
  };
@@ -2648,7 +2679,7 @@ export interface Modules {
2648
2679
  ...{
2649
2680
  name?: I18NProperty38;
2650
2681
  weight?: number;
2651
- conditions?: (SingleCondition3 | CompositeCondition4)[];
2682
+ conditions?: (CompositeCondition4 | SingleCondition3)[];
2652
2683
  params?: {
2653
2684
  [k: string]: unknown;
2654
2685
  };
@@ -2742,7 +2773,7 @@ export interface Modules {
2742
2773
  name?: I18NProperty44;
2743
2774
  weight?: number;
2744
2775
  location?: string;
2745
- conditions?: (SingleCondition | CompositeCondition)[];
2776
+ conditions?: (CompositeCondition | SingleCondition)[];
2746
2777
  params?: {
2747
2778
  [k: string]: unknown;
2748
2779
  };
@@ -2754,7 +2785,7 @@ export interface Modules {
2754
2785
  name?: I18NProperty44;
2755
2786
  weight?: number;
2756
2787
  location?: string;
2757
- conditions?: (SingleCondition | CompositeCondition)[];
2788
+ conditions?: (CompositeCondition | SingleCondition)[];
2758
2789
  params?: {
2759
2790
  [k: string]: unknown;
2760
2791
  };
@@ -2879,7 +2910,7 @@ export interface Modules {
2879
2910
  fullPage?: boolean;
2880
2911
  cacheable?: boolean;
2881
2912
  location?: string;
2882
- conditions?: (SingleCondition | CompositeCondition)[];
2913
+ conditions?: (CompositeCondition | SingleCondition)[];
2883
2914
  params?: {
2884
2915
  [k: string]: unknown;
2885
2916
  };
@@ -2894,7 +2925,7 @@ export interface Modules {
2894
2925
  fullPage?: boolean;
2895
2926
  cacheable?: boolean;
2896
2927
  location?: string;
2897
- conditions?: (SingleCondition | CompositeCondition)[];
2928
+ conditions?: (CompositeCondition | SingleCondition)[];
2898
2929
  params?: {
2899
2930
  [k: string]: unknown;
2900
2931
  };
@@ -2912,7 +2943,7 @@ export interface Modules {
2912
2943
  location?: string;
2913
2944
  cacheable?: boolean;
2914
2945
  supportsNative?: boolean;
2915
- conditions?: (SingleCondition | CompositeCondition)[];
2946
+ conditions?: (CompositeCondition | SingleCondition)[];
2916
2947
  params?: {
2917
2948
  [k: string]: unknown;
2918
2949
  };
@@ -2928,7 +2959,7 @@ export interface Modules {
2928
2959
  location?: string;
2929
2960
  cacheable?: boolean;
2930
2961
  supportsNative?: boolean;
2931
- conditions?: (SingleCondition | CompositeCondition)[];
2962
+ conditions?: (CompositeCondition | SingleCondition)[];
2932
2963
  params?: {
2933
2964
  [k: string]: unknown;
2934
2965
  };
@@ -2942,7 +2973,7 @@ export interface Modules {
2942
2973
  filter?: string;
2943
2974
  excludeBody?: boolean;
2944
2975
  event?: string;
2945
- conditions?: (CompositeCondition | SingleCondition)[];
2976
+ conditions?: (SingleCondition | CompositeCondition)[];
2946
2977
  propertyKeys?: string[];
2947
2978
  url?: string;
2948
2979
  key: ModuleKeySchema;
@@ -2952,7 +2983,7 @@ export interface Modules {
2952
2983
  filter?: string;
2953
2984
  excludeBody?: boolean;
2954
2985
  event?: string;
2955
- conditions?: (CompositeCondition | SingleCondition)[];
2986
+ conditions?: (SingleCondition | CompositeCondition)[];
2956
2987
  propertyKeys?: string[];
2957
2988
  url?: string;
2958
2989
  key: ModuleKeySchema;
@@ -2995,7 +3026,7 @@ export interface Modules {
2995
3026
  name?: I18NProperty55;
2996
3027
  weight?: number;
2997
3028
  location?: string;
2998
- conditions?: (CompositeCondition | SingleCondition)[];
3029
+ conditions?: (SingleCondition | CompositeCondition)[];
2999
3030
  params?: {
3000
3031
  [k: string]: unknown;
3001
3032
  };
@@ -3007,7 +3038,7 @@ export interface Modules {
3007
3038
  name?: I18NProperty55;
3008
3039
  weight?: number;
3009
3040
  location?: string;
3010
- conditions?: (CompositeCondition | SingleCondition)[];
3041
+ conditions?: (SingleCondition | CompositeCondition)[];
3011
3042
  params?: {
3012
3043
  [k: string]: unknown;
3013
3044
  };
@@ -3060,7 +3091,7 @@ export interface Modules {
3060
3091
  name?: I18NProperty59;
3061
3092
  location?: string;
3062
3093
  cacheable?: boolean;
3063
- conditions?: (SingleCondition4 | CompositeCondition6)[];
3094
+ conditions?: (CompositeCondition6 | SingleCondition4)[];
3064
3095
  key: ModuleKeySchema;
3065
3096
  [k: string]: unknown;
3066
3097
  },
@@ -3078,7 +3109,7 @@ export interface Modules {
3078
3109
  name?: I18NProperty59;
3079
3110
  location?: string;
3080
3111
  cacheable?: boolean;
3081
- conditions?: (SingleCondition4 | CompositeCondition6)[];
3112
+ conditions?: (CompositeCondition6 | SingleCondition4)[];
3082
3113
  key: ModuleKeySchema;
3083
3114
  [k: string]: unknown;
3084
3115
  }[]
@@ -3091,7 +3122,7 @@ export interface Modules {
3091
3122
  fullPage?: boolean;
3092
3123
  cacheable?: boolean;
3093
3124
  location?: string;
3094
- conditions?: (SingleCondition | CompositeCondition)[];
3125
+ conditions?: (CompositeCondition | SingleCondition)[];
3095
3126
  params?: {
3096
3127
  [k: string]: unknown;
3097
3128
  };
@@ -3106,7 +3137,7 @@ export interface Modules {
3106
3137
  fullPage?: boolean;
3107
3138
  cacheable?: boolean;
3108
3139
  location?: string;
3109
- conditions?: (SingleCondition | CompositeCondition)[];
3140
+ conditions?: (CompositeCondition | SingleCondition)[];
3110
3141
  params?: {
3111
3142
  [k: string]: unknown;
3112
3143
  };
@@ -3156,7 +3187,7 @@ export interface Modules {
3156
3187
  name?: I18NProperty63;
3157
3188
  weight?: number;
3158
3189
  location?: string;
3159
- conditions?: (CompositeCondition7 | SingleCondition5)[];
3190
+ conditions?: (SingleCondition5 | CompositeCondition7)[];
3160
3191
  params?: {
3161
3192
  [k: string]: unknown;
3162
3193
  };
@@ -3168,7 +3199,7 @@ export interface Modules {
3168
3199
  name?: I18NProperty63;
3169
3200
  weight?: number;
3170
3201
  location?: string;
3171
- conditions?: (CompositeCondition7 | SingleCondition5)[];
3202
+ conditions?: (SingleCondition5 | CompositeCondition7)[];
3172
3203
  params?: {
3173
3204
  [k: string]: unknown;
3174
3205
  };
@@ -3364,7 +3395,7 @@ export interface Modules {
3364
3395
  icon?: Icon18;
3365
3396
  name?: I18NProperty91;
3366
3397
  cacheable?: boolean;
3367
- conditions?: (CompositeCondition | SingleCondition)[];
3398
+ conditions?: (SingleCondition | CompositeCondition)[];
3368
3399
  params?: {
3369
3400
  [k: string]: unknown;
3370
3401
  };
@@ -3380,7 +3411,7 @@ export interface Modules {
3380
3411
  icon?: Icon18;
3381
3412
  name?: I18NProperty91;
3382
3413
  cacheable?: boolean;
3383
- conditions?: (CompositeCondition | SingleCondition)[];
3414
+ conditions?: (SingleCondition | CompositeCondition)[];
3384
3415
  params?: {
3385
3416
  [k: string]: unknown;
3386
3417
  };
@@ -3599,7 +3630,7 @@ export interface I18NProperty1 {
3599
3630
  *
3600
3631
  */
3601
3632
  export interface CompositeCondition {
3602
- conditions?: (ManifestSchema | SingleCondition)[];
3633
+ conditions?: (SingleCondition | ManifestSchema)[];
3603
3634
  type?: 'and' | 'AND' | 'or' | 'OR';
3604
3635
  [k: string]: unknown;
3605
3636
  }
@@ -3877,204 +3908,7 @@ export interface I18NProperty7 {
3877
3908
  *
3878
3909
  *
3879
3910
  */
3880
- export interface I18NProperty8 {
3881
- value: string;
3882
- i18n?: string;
3883
- [k: string]: unknown;
3884
- }
3885
- /**
3886
- *
3887
- *
3888
- * Defines an icon to display.
3889
- *
3890
- * <h3>Example</h3>
3891
- *
3892
- *
3893
- *
3894
- *
3895
- *
3896
- * {
3897
- * "icon": {
3898
- * "width": 16,
3899
- * "height": 16,
3900
- * "url": "/my-icon.png"
3901
- * }
3902
- * }
3903
- *
3904
- *
3905
- *
3906
- */
3907
- export interface Icon3 {
3908
- width?: number;
3909
- url: string;
3910
- height?: number;
3911
- [k: string]: unknown;
3912
- }
3913
- /**
3914
- *
3915
- *
3916
- * Defines the way a <a href="../web-item/">web item</a> link is opened in the browser, such as in a modal or inline dialog.
3917
- *
3918
- * <h2>Inline Dialog Example</h2>
3919
- *
3920
- *
3921
- *
3922
- *
3923
- *
3924
- * {
3925
- * "target": {
3926
- * "type": "inlinedialog",
3927
- * "options": {
3928
- * "onHover": true,
3929
- * "offsetX": "30px",
3930
- * "offsetY": "20px"
3931
- * }
3932
- * }
3933
- * }
3934
- *
3935
- *
3936
- *
3937
- *
3938
- * <h2>Dialog Example</h2>
3939
- *
3940
- *
3941
- *
3942
- *
3943
- *
3944
- * {
3945
- * "target": {
3946
- * "type": "dialog",
3947
- * "options": {
3948
- * "height": "100px",
3949
- * "width": "200px"
3950
- * }
3951
- * }
3952
- * }
3953
- *
3954
- *
3955
- *
3956
- *
3957
- * <h2>Common Dialog Module Example</h2>
3958
- *
3959
- *
3960
- *
3961
- *
3962
- *
3963
- * {
3964
- * "target": {
3965
- * "type": "dialogmodule",
3966
- * "options": {
3967
- * "key": "dialog-module-key"
3968
- * }
3969
- * }
3970
- * }
3971
- *
3972
- *
3973
- *
3974
- *
3975
- * <p>More details for this use-case can be found on the <a href="../dialog/">Dialog Module</a> page.</p>
3976
- *
3977
- *
3978
- */
3979
- export interface WebItemTarget {
3980
- options?: DialogOptions | DialogModuleOptions | InlineDialogOptions;
3981
- type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
3982
- [k: string]: unknown;
3983
- }
3984
- /**
3985
- *
3986
- *
3987
- * Options for a modal dialog <a href="../web-item-target/">web item target</a> or <a href="../dialog/">common module</a>.
3988
- *
3989
- * <p>
3990
- * These options are a subset of those available via the <a href="../../jsapi/dialog/">JavaScript API</a>.
3991
- * </p>
3992
- *
3993
- * <h2>Web Item Example</h2>
3994
- *
3995
- *
3996
- *
3997
- *
3998
- *
3999
- * {
4000
- * "target": {
4001
- * "type": "dialog",
4002
- * "options": {
4003
- * "height": "100px",
4004
- * "width": "200px"
4005
- * }
4006
- * }
4007
- * }
4008
- *
4009
- *
4010
- *
4011
- *
4012
- * <h2>Dialog Example</h2>
4013
- *
4014
- *
4015
- *
4016
- *
4017
- *
4018
- * {
4019
- * "modules": {
4020
- * "dialogs": [
4021
- * {
4022
- * "url": "/my-dialog-content",
4023
- * "options": {
4024
- * "size": "fullscreen",
4025
- * "header": {
4026
- * "value": "Example Dialog"
4027
- * }
4028
- * },
4029
- * "key": "dialog-module-key"
4030
- * }
4031
- * ]
4032
- * }
4033
- * }
4034
- *
4035
- *
4036
- *
4037
- */
4038
- export interface DialogOptions {
4039
- size?:
4040
- | 'small'
4041
- | 'SMALL'
4042
- | 'medium'
4043
- | 'MEDIUM'
4044
- | 'large'
4045
- | 'LARGE'
4046
- | 'x-large'
4047
- | 'X-LARGE'
4048
- | 'fullscreen'
4049
- | 'FULLSCREEN'
4050
- | 'maximum'
4051
- | 'MAXIMUM';
4052
- chrome?: boolean;
4053
- width?: string;
4054
- header?: I18NProperty9;
4055
- height?: string;
4056
- [k: string]: unknown;
4057
- }
4058
- /**
4059
- *
4060
- *
4061
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
4062
- * and value in multiple places if you like, but identical keys must have identical values.
4063
- *
4064
- * <h3>Example</h3>
4065
- *
4066
- *
4067
- *
4068
- *
4069
- *
4070
- * {
4071
- * "value": "My text"
4072
- * }
4073
- *
4074
- *
4075
- *
4076
- */
4077
- export interface I18NProperty9 {
3911
+ export interface I18NProperty8 {
4078
3912
  value: string;
4079
3913
  i18n?: string;
4080
3914
  [k: string]: unknown;
@@ -4082,7 +3916,7 @@ export interface I18NProperty9 {
4082
3916
  /**
4083
3917
  *
4084
3918
  *
4085
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
3919
+ * Defines an icon to display.
4086
3920
  *
4087
3921
  * <h3>Example</h3>
4088
3922
  *
@@ -4091,6 +3925,73 @@ export interface I18NProperty9 {
4091
3925
  *
4092
3926
  *
4093
3927
  * {
3928
+ * "icon": {
3929
+ * "width": 16,
3930
+ * "height": 16,
3931
+ * "url": "/my-icon.png"
3932
+ * }
3933
+ * }
3934
+ *
3935
+ *
3936
+ *
3937
+ */
3938
+ export interface Icon3 {
3939
+ width?: number;
3940
+ url: string;
3941
+ height?: number;
3942
+ [k: string]: unknown;
3943
+ }
3944
+ /**
3945
+ *
3946
+ *
3947
+ * Defines the way a <a href="../web-item/">web item</a> link is opened in the browser, such as in a modal or inline dialog.
3948
+ *
3949
+ * <h2>Inline Dialog Example</h2>
3950
+ *
3951
+ *
3952
+ *
3953
+ *
3954
+ *
3955
+ * {
3956
+ * "target": {
3957
+ * "type": "inlinedialog",
3958
+ * "options": {
3959
+ * "onHover": true,
3960
+ * "offsetX": "30px",
3961
+ * "offsetY": "20px"
3962
+ * }
3963
+ * }
3964
+ * }
3965
+ *
3966
+ *
3967
+ *
3968
+ *
3969
+ * <h2>Dialog Example</h2>
3970
+ *
3971
+ *
3972
+ *
3973
+ *
3974
+ *
3975
+ * {
3976
+ * "target": {
3977
+ * "type": "dialog",
3978
+ * "options": {
3979
+ * "height": "100px",
3980
+ * "width": "200px"
3981
+ * }
3982
+ * }
3983
+ * }
3984
+ *
3985
+ *
3986
+ *
3987
+ *
3988
+ * <h2>Common Dialog Module Example</h2>
3989
+ *
3990
+ *
3991
+ *
3992
+ *
3993
+ *
3994
+ * {
4094
3995
  * "target": {
4095
3996
  * "type": "dialogmodule",
4096
3997
  * "options": {
@@ -4101,9 +4002,14 @@ export interface I18NProperty9 {
4101
4002
  *
4102
4003
  *
4103
4004
  *
4005
+ *
4006
+ * <p>More details for this use-case can be found on the <a href="../dialog/">Dialog Module</a> page.</p>
4007
+ *
4008
+ *
4104
4009
  */
4105
- export interface DialogModuleOptions {
4106
- key: string;
4010
+ export interface WebItemTarget {
4011
+ options?: InlineDialogOptions | DialogOptions | DialogModuleOptions;
4012
+ type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
4107
4013
  [k: string]: unknown;
4108
4014
  }
4109
4015
  /**
@@ -4143,6 +4049,131 @@ export interface InlineDialogOptions {
4143
4049
  isRelativeToMouse?: boolean;
4144
4050
  [k: string]: unknown;
4145
4051
  }
4052
+ /**
4053
+ *
4054
+ *
4055
+ * Options for a modal dialog <a href="../web-item-target/">web item target</a> or <a href="../dialog/">common module</a>.
4056
+ *
4057
+ * <p>
4058
+ * These options are a subset of those available via the <a href="../../jsapi/dialog/">JavaScript API</a>.
4059
+ * </p>
4060
+ *
4061
+ * <h2>Web Item Example</h2>
4062
+ *
4063
+ *
4064
+ *
4065
+ *
4066
+ *
4067
+ * {
4068
+ * "target": {
4069
+ * "type": "dialog",
4070
+ * "options": {
4071
+ * "height": "100px",
4072
+ * "width": "200px"
4073
+ * }
4074
+ * }
4075
+ * }
4076
+ *
4077
+ *
4078
+ *
4079
+ *
4080
+ * <h2>Dialog Example</h2>
4081
+ *
4082
+ *
4083
+ *
4084
+ *
4085
+ *
4086
+ * {
4087
+ * "modules": {
4088
+ * "dialogs": [
4089
+ * {
4090
+ * "url": "/my-dialog-content",
4091
+ * "options": {
4092
+ * "size": "fullscreen",
4093
+ * "header": {
4094
+ * "value": "Example Dialog"
4095
+ * }
4096
+ * },
4097
+ * "key": "dialog-module-key"
4098
+ * }
4099
+ * ]
4100
+ * }
4101
+ * }
4102
+ *
4103
+ *
4104
+ *
4105
+ */
4106
+ export interface DialogOptions {
4107
+ size?:
4108
+ | 'small'
4109
+ | 'SMALL'
4110
+ | 'medium'
4111
+ | 'MEDIUM'
4112
+ | 'large'
4113
+ | 'LARGE'
4114
+ | 'x-large'
4115
+ | 'X-LARGE'
4116
+ | 'fullscreen'
4117
+ | 'FULLSCREEN'
4118
+ | 'maximum'
4119
+ | 'MAXIMUM';
4120
+ chrome?: boolean;
4121
+ width?: string;
4122
+ header?: I18NProperty9;
4123
+ height?: string;
4124
+ [k: string]: unknown;
4125
+ }
4126
+ /**
4127
+ *
4128
+ *
4129
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
4130
+ * and value in multiple places if you like, but identical keys must have identical values.
4131
+ *
4132
+ * <h3>Example</h3>
4133
+ *
4134
+ *
4135
+ *
4136
+ *
4137
+ *
4138
+ * {
4139
+ * "value": "My text"
4140
+ * }
4141
+ *
4142
+ *
4143
+ *
4144
+ */
4145
+ export interface I18NProperty9 {
4146
+ value: string;
4147
+ i18n?: string;
4148
+ [k: string]: unknown;
4149
+ }
4150
+ /**
4151
+ *
4152
+ *
4153
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
4154
+ *
4155
+ * <h3>Example</h3>
4156
+ *
4157
+ *
4158
+ *
4159
+ *
4160
+ *
4161
+ * {
4162
+ * "target": {
4163
+ * "type": "dialogmodule",
4164
+ * "options": {
4165
+ * "key": "dialog-module-key"
4166
+ * }
4167
+ * }
4168
+ * }
4169
+ *
4170
+ *
4171
+ *
4172
+ */
4173
+ export interface DialogModuleOptions {
4174
+ key: string;
4175
+ [k: string]: unknown;
4176
+ }
4146
4177
  /**
4147
4178
  *
4148
4179
  *
@@ -5141,37 +5172,6 @@ export interface I18NProperty33 {
5141
5172
  i18n?: string;
5142
5173
  [k: string]: unknown;
5143
5174
  }
5144
- /**
5145
- *
5146
- *
5147
- * Single Conditions are either provided by the host application. See the complete documentation of
5148
- * [Conditions](../../conditions/) for more information.
5149
- *
5150
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5151
- * This is useful where you want to show the section if a certain condition is not satisfied.
5152
- *
5153
- * <h3>Example</h3>
5154
- *
5155
- *
5156
- *
5157
- *
5158
- *
5159
- * {
5160
- * "condition": "user_is_logged_in",
5161
- * "invert": false
5162
- * }
5163
- *
5164
- *
5165
- *
5166
- */
5167
- export interface SingleCondition2 {
5168
- condition: string;
5169
- invert?: boolean;
5170
- params?: {
5171
- [k: string]: unknown;
5172
- };
5173
- [k: string]: unknown;
5174
- }
5175
5175
  /**
5176
5176
  *
5177
5177
  *
@@ -5250,10 +5250,41 @@ export interface CompositeCondition2 {
5250
5250
  *
5251
5251
  */
5252
5252
  export interface CompositeCondition3 {
5253
- conditions?: (SingleCondition | ManifestSchema)[];
5253
+ conditions?: (ManifestSchema | SingleCondition)[];
5254
5254
  type?: 'and' | 'AND' | 'or' | 'OR';
5255
5255
  [k: string]: unknown;
5256
5256
  }
5257
+ /**
5258
+ *
5259
+ *
5260
+ * Single Conditions are either provided by the host application. See the complete documentation of
5261
+ * [Conditions](../../conditions/) for more information.
5262
+ *
5263
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5264
+ * This is useful where you want to show the section if a certain condition is not satisfied.
5265
+ *
5266
+ * <h3>Example</h3>
5267
+ *
5268
+ *
5269
+ *
5270
+ *
5271
+ *
5272
+ * {
5273
+ * "condition": "user_is_logged_in",
5274
+ * "invert": false
5275
+ * }
5276
+ *
5277
+ *
5278
+ *
5279
+ */
5280
+ export interface SingleCondition2 {
5281
+ condition: string;
5282
+ invert?: boolean;
5283
+ params?: {
5284
+ [k: string]: unknown;
5285
+ };
5286
+ [k: string]: unknown;
5287
+ }
5257
5288
  /**
5258
5289
  *
5259
5290
  *
@@ -5446,37 +5477,6 @@ export interface I18NProperty38 {
5446
5477
  i18n?: string;
5447
5478
  [k: string]: unknown;
5448
5479
  }
5449
- /**
5450
- *
5451
- *
5452
- * Single Conditions are either provided by the host application. See the complete documentation of
5453
- * [Conditions](../../conditions/) for more information.
5454
- *
5455
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5456
- * This is useful where you want to show the section if a certain condition is not satisfied.
5457
- *
5458
- * <h3>Example</h3>
5459
- *
5460
- *
5461
- *
5462
- *
5463
- *
5464
- * {
5465
- * "condition": "user_is_logged_in",
5466
- * "invert": false
5467
- * }
5468
- *
5469
- *
5470
- *
5471
- */
5472
- export interface SingleCondition3 {
5473
- condition: string;
5474
- invert?: boolean;
5475
- params?: {
5476
- [k: string]: unknown;
5477
- };
5478
- [k: string]: unknown;
5479
- }
5480
5480
  /**
5481
5481
  *
5482
5482
  *
@@ -5555,10 +5555,41 @@ export interface CompositeCondition4 {
5555
5555
  *
5556
5556
  */
5557
5557
  export interface CompositeCondition5 {
5558
- conditions?: (SingleCondition | ManifestSchema)[];
5558
+ conditions?: (ManifestSchema | SingleCondition)[];
5559
5559
  type?: 'and' | 'AND' | 'or' | 'OR';
5560
5560
  [k: string]: unknown;
5561
5561
  }
5562
+ /**
5563
+ *
5564
+ *
5565
+ * Single Conditions are either provided by the host application. See the complete documentation of
5566
+ * [Conditions](../../conditions/) for more information.
5567
+ *
5568
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5569
+ * This is useful where you want to show the section if a certain condition is not satisfied.
5570
+ *
5571
+ * <h3>Example</h3>
5572
+ *
5573
+ *
5574
+ *
5575
+ *
5576
+ *
5577
+ * {
5578
+ * "condition": "user_is_logged_in",
5579
+ * "invert": false
5580
+ * }
5581
+ *
5582
+ *
5583
+ *
5584
+ */
5585
+ export interface SingleCondition3 {
5586
+ condition: string;
5587
+ invert?: boolean;
5588
+ params?: {
5589
+ [k: string]: unknown;
5590
+ };
5591
+ [k: string]: unknown;
5592
+ }
5562
5593
  /**
5563
5594
  *
5564
5595
  *
@@ -6307,74 +6338,10 @@ export interface Icon10 {
6307
6338
  *
6308
6339
  */
6309
6340
  export interface WebItemTarget1 {
6310
- options?: InlineDialogOptions1 | DialogModuleOptions1 | DialogOptions2;
6341
+ options?: DialogOptions2 | InlineDialogOptions1 | DialogModuleOptions1;
6311
6342
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
6312
6343
  [k: string]: unknown;
6313
6344
  }
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
- }
6378
6345
  /**
6379
6346
  *
6380
6347
  *
@@ -6476,8 +6443,7 @@ export interface I18NProperty58 {
6476
6443
  /**
6477
6444
  *
6478
6445
  *
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.
6446
+ * Options for an inline dialog target
6481
6447
  *
6482
6448
  * <h3>Example</h3>
6483
6449
  *
@@ -6486,25 +6452,63 @@ export interface I18NProperty58 {
6486
6452
  *
6487
6453
  *
6488
6454
  * {
6489
- * "value": "My text"
6455
+ * "target": {
6456
+ * "type": "inlinedialog",
6457
+ * "options": {
6458
+ * "onHover": true,
6459
+ * "offsetX": "30px",
6460
+ * "offsetY": "20px"
6461
+ * }
6462
+ * }
6490
6463
  * }
6491
6464
  *
6492
6465
  *
6493
6466
  *
6494
6467
  */
6495
- export interface I18NProperty59 {
6496
- value: string;
6497
- i18n?: string;
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;
6498
6478
  [k: string]: unknown;
6499
6479
  }
6500
6480
  /**
6501
6481
  *
6502
6482
  *
6503
- * Single Conditions are either provided by the host application. See the complete documentation of
6504
- * [Conditions](../../conditions/) for more information.
6483
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
6484
+ *
6485
+ * <h3>Example</h3>
6486
+ *
6487
+ *
6505
6488
  *
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.
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.
6508
6512
  *
6509
6513
  * <h3>Example</h3>
6510
6514
  *
@@ -6513,19 +6517,15 @@ export interface I18NProperty59 {
6513
6517
  *
6514
6518
  *
6515
6519
  * {
6516
- * "condition": "user_is_logged_in",
6517
- * "invert": false
6520
+ * "value": "My text"
6518
6521
  * }
6519
6522
  *
6520
6523
  *
6521
6524
  *
6522
6525
  */
6523
- export interface SingleCondition4 {
6524
- condition: string;
6525
- invert?: boolean;
6526
- params?: {
6527
- [k: string]: unknown;
6528
- };
6526
+ export interface I18NProperty59 {
6527
+ value: string;
6528
+ i18n?: string;
6529
6529
  [k: string]: unknown;
6530
6530
  }
6531
6531
  /**
@@ -6569,6 +6569,37 @@ export interface CompositeCondition6 {
6569
6569
  type?: 'and' | 'AND' | 'or' | 'OR';
6570
6570
  [k: string]: unknown;
6571
6571
  }
6572
+ /**
6573
+ *
6574
+ *
6575
+ * Single Conditions are either provided by the host application. See the complete documentation of
6576
+ * [Conditions](../../conditions/) for more information.
6577
+ *
6578
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6579
+ * This is useful where you want to show the section if a certain condition is not satisfied.
6580
+ *
6581
+ * <h3>Example</h3>
6582
+ *
6583
+ *
6584
+ *
6585
+ *
6586
+ *
6587
+ * {
6588
+ * "condition": "user_is_logged_in",
6589
+ * "invert": false
6590
+ * }
6591
+ *
6592
+ *
6593
+ *
6594
+ */
6595
+ export interface SingleCondition4 {
6596
+ condition: string;
6597
+ invert?: boolean;
6598
+ params?: {
6599
+ [k: string]: unknown;
6600
+ };
6601
+ [k: string]: unknown;
6602
+ }
6572
6603
  /**
6573
6604
  *
6574
6605
  *
@@ -6923,6 +6954,37 @@ export interface I18NProperty63 {
6923
6954
  i18n?: string;
6924
6955
  [k: string]: unknown;
6925
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
+ }
6926
6988
  /**
6927
6989
  *
6928
6990
  *
@@ -6960,41 +7022,10 @@ export interface I18NProperty63 {
6960
7022
  *
6961
7023
  */
6962
7024
  export interface CompositeCondition7 {
6963
- conditions?: (ManifestSchema | SingleCondition)[];
7025
+ conditions?: (SingleCondition | ManifestSchema)[];
6964
7026
  type?: 'and' | 'AND' | 'or' | 'OR';
6965
7027
  [k: string]: unknown;
6966
7028
  }
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
- }
6998
7029
  /**
6999
7030
  *
7000
7031
  *
@@ -8414,80 +8445,11 @@ export interface I18NProperty74 {
8414
8445
  *
8415
8446
  */
8416
8447
  export interface MacroPropertyPanel {
8417
- controls?: (TextControl | ControlGroup | ToggleGroup | ButtonControl1)[];
8448
+ controls?: (ButtonControl | ToggleGroup | ControlGroup | TextControl)[];
8418
8449
  cacheable?: boolean;
8419
8450
  url: string;
8420
8451
  [k: string]: unknown;
8421
8452
  }
8422
- /**
8423
- *
8424
- *
8425
- * Defines a text field which may appear in control extension points such as the property panel
8426
- *
8427
- * <p><b>Example</b></p>
8428
- *
8429
- *
8430
- *
8431
- *
8432
- *
8433
- * {
8434
- * "type": "button",
8435
- * "label": {
8436
- * "value": "My Custom Control 0"
8437
- * },
8438
- * "key": "my-custom-control-0"
8439
- * }
8440
- *
8441
- *
8442
- *
8443
- */
8444
- export interface TextControl {
8445
- macroParameter: string;
8446
- type: 'text' | 'TEXT';
8447
- key: string;
8448
- [k: string]: unknown;
8449
- }
8450
- /**
8451
- *
8452
- *
8453
- * Defines a ControlGroup which may appear in control extension points such as the property panel
8454
- *
8455
- * <p><b>Example</b></p>
8456
- *
8457
- *
8458
- *
8459
- *
8460
- *
8461
- * [
8462
- * {
8463
- * "type": "group",
8464
- * "controls": [
8465
- * {
8466
- * "type": "button",
8467
- * "label": {
8468
- * "value": "My Custom Control 0"
8469
- * },
8470
- * "key": "my-custom-control-0"
8471
- * },
8472
- * {
8473
- * "type": "button",
8474
- * "label": {
8475
- * "value": "My Custom Control 1"
8476
- * },
8477
- * "key": "my-custom-control-1"
8478
- * }
8479
- * ]
8480
- * }
8481
- * ]
8482
- *
8483
- *
8484
- *
8485
- */
8486
- export interface ControlGroup {
8487
- controls: ButtonControl[];
8488
- type: 'group' | 'GROUP';
8489
- [k: string]: unknown;
8490
- }
8491
8453
  /**
8492
8454
  *
8493
8455
  *
@@ -8639,6 +8601,47 @@ export interface I18NProperty76 {
8639
8601
  i18n?: string;
8640
8602
  [k: string]: unknown;
8641
8603
  }
8604
+ /**
8605
+ *
8606
+ *
8607
+ * Defines a ControlGroup which may appear in control extension points such as the property panel
8608
+ *
8609
+ * <p><b>Example</b></p>
8610
+ *
8611
+ *
8612
+ *
8613
+ *
8614
+ *
8615
+ * [
8616
+ * {
8617
+ * "type": "group",
8618
+ * "controls": [
8619
+ * {
8620
+ * "type": "button",
8621
+ * "label": {
8622
+ * "value": "My Custom Control 0"
8623
+ * },
8624
+ * "key": "my-custom-control-0"
8625
+ * },
8626
+ * {
8627
+ * "type": "button",
8628
+ * "label": {
8629
+ * "value": "My Custom Control 1"
8630
+ * },
8631
+ * "key": "my-custom-control-1"
8632
+ * }
8633
+ * ]
8634
+ * }
8635
+ * ]
8636
+ *
8637
+ *
8638
+ *
8639
+ */
8640
+ export interface ControlGroup {
8641
+ controls: ButtonControl1[];
8642
+ type: 'group' | 'GROUP';
8643
+ [k: string]: unknown;
8644
+ }
8642
8645
  /**
8643
8646
  *
8644
8647
  *
@@ -8691,6 +8694,34 @@ export interface I18NProperty77 {
8691
8694
  i18n?: string;
8692
8695
  [k: string]: unknown;
8693
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
+ }
8694
8725
  /**
8695
8726
  *
8696
8727
  *
@@ -29613,152 +29644,7 @@ export interface Icon17 {
29613
29644
  *
29614
29645
  *
29615
29646
  */
29616
- export interface I18NProperty83 {
29617
- value: string;
29618
- i18n?: string;
29619
- [k: string]: unknown;
29620
- }
29621
- /**
29622
- *
29623
- *
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
29716
- *
29717
- * <p><b>Example</b></p>
29718
- *
29719
- *
29720
- *
29721
- *
29722
- *
29723
- * {
29724
- * "type": "togglebutton",
29725
- * "macroParameterValue": "macroParameterValue 0",
29726
- * "label": {
29727
- * "value": "My Custom Control 0"
29728
- * },
29729
- * "key": "my-custom-toggle-button-0"
29730
- * }
29731
- *
29732
- *
29733
- *
29734
- */
29735
- export interface ToggleButtonControl1 {
29736
- macroParameterValue: string;
29737
- label: I18NProperty84;
29738
- type: 'togglebutton' | 'TOGGLEBUTTON';
29739
- key: string;
29740
- [k: string]: unknown;
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 {
29647
+ export interface I18NProperty83 {
29762
29648
  value: string;
29763
29649
  i18n?: string;
29764
29650
  [k: string]: unknown;
@@ -29766,7 +29652,53 @@ export interface I18NProperty84 {
29766
29652
  /**
29767
29653
  *
29768
29654
  *
29769
- * Defines a ControlGroup which may appear in control extension points such as the property panel
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
29770
29702
  *
29771
29703
  * <p><b>Example</b></p>
29772
29704
  *
@@ -29776,21 +29708,24 @@ export interface I18NProperty84 {
29776
29708
  *
29777
29709
  * [
29778
29710
  * {
29779
- * "type": "group",
29711
+ * "type": "togglegroup",
29712
+ * "macroParameter": "toggleGroupMacroParameter",
29780
29713
  * "controls": [
29781
29714
  * {
29782
- * "type": "button",
29715
+ * "type": "togglebutton",
29716
+ * "macroParameterValue": "macroParameterValue 0",
29783
29717
  * "label": {
29784
29718
  * "value": "My Custom Control 0"
29785
29719
  * },
29786
- * "key": "my-custom-control-0"
29720
+ * "key": "my-custom-toggle-button-0"
29787
29721
  * },
29788
29722
  * {
29789
- * "type": "button",
29723
+ * "type": "togglebutton",
29724
+ * "macroParameterValue": "macroParameterValue 1",
29790
29725
  * "label": {
29791
29726
  * "value": "My Custom Control 1"
29792
29727
  * },
29793
- * "key": "my-custom-control-1"
29728
+ * "key": "my-custom-toggle-button-1"
29794
29729
  * }
29795
29730
  * ]
29796
29731
  * }
@@ -29799,15 +29734,16 @@ export interface I18NProperty84 {
29799
29734
  *
29800
29735
  *
29801
29736
  */
29802
- export interface ControlGroup1 {
29803
- controls: ButtonControl2[];
29804
- type: 'group' | 'GROUP';
29737
+ export interface ToggleGroup1 {
29738
+ controls: ToggleButtonControl1[];
29739
+ macroParameter: string;
29740
+ type: 'togglegroup' | 'TOGGLEGROUP';
29805
29741
  [k: string]: unknown;
29806
29742
  }
29807
29743
  /**
29808
29744
  *
29809
29745
  *
29810
- * Defines a button which may appear in control extension points such as the property panel
29746
+ * Defines a toggle button which appears inside a ToggleGroup
29811
29747
  *
29812
29748
  * <p><b>Example</b></p>
29813
29749
  *
@@ -29816,19 +29752,21 @@ export interface ControlGroup1 {
29816
29752
  *
29817
29753
  *
29818
29754
  * {
29819
- * "type": "button",
29755
+ * "type": "togglebutton",
29756
+ * "macroParameterValue": "macroParameterValue 0",
29820
29757
  * "label": {
29821
29758
  * "value": "My Custom Control 0"
29822
29759
  * },
29823
- * "key": "my-custom-control-0"
29760
+ * "key": "my-custom-toggle-button-0"
29824
29761
  * }
29825
29762
  *
29826
29763
  *
29827
29764
  *
29828
29765
  */
29829
- export interface ButtonControl2 {
29830
- label: I18NProperty85;
29831
- type: 'button' | 'BUTTON';
29766
+ export interface ToggleButtonControl1 {
29767
+ macroParameterValue: string;
29768
+ label: I18NProperty84;
29769
+ type: 'togglebutton' | 'TOGGLEBUTTON';
29832
29770
  key: string;
29833
29771
  [k: string]: unknown;
29834
29772
  }
@@ -29851,7 +29789,7 @@ export interface ButtonControl2 {
29851
29789
  *
29852
29790
  *
29853
29791
  */
29854
- export interface I18NProperty85 {
29792
+ export interface I18NProperty84 {
29855
29793
  value: string;
29856
29794
  i18n?: string;
29857
29795
  [k: string]: unknown;
@@ -29884,6 +29822,99 @@ export interface TextControl1 {
29884
29822
  key: string;
29885
29823
  [k: string]: unknown;
29886
29824
  }
29825
+ /**
29826
+ *
29827
+ *
29828
+ * Defines a ControlGroup which may appear in control extension points such as the property panel
29829
+ *
29830
+ * <p><b>Example</b></p>
29831
+ *
29832
+ *
29833
+ *
29834
+ *
29835
+ *
29836
+ * [
29837
+ * {
29838
+ * "type": "group",
29839
+ * "controls": [
29840
+ * {
29841
+ * "type": "button",
29842
+ * "label": {
29843
+ * "value": "My Custom Control 0"
29844
+ * },
29845
+ * "key": "my-custom-control-0"
29846
+ * },
29847
+ * {
29848
+ * "type": "button",
29849
+ * "label": {
29850
+ * "value": "My Custom Control 1"
29851
+ * },
29852
+ * "key": "my-custom-control-1"
29853
+ * }
29854
+ * ]
29855
+ * }
29856
+ * ]
29857
+ *
29858
+ *
29859
+ *
29860
+ */
29861
+ export interface ControlGroup1 {
29862
+ controls: ButtonControl2[];
29863
+ type: 'group' | 'GROUP';
29864
+ [k: string]: unknown;
29865
+ }
29866
+ /**
29867
+ *
29868
+ *
29869
+ * Defines a button which may appear in control extension points such as the property panel
29870
+ *
29871
+ * <p><b>Example</b></p>
29872
+ *
29873
+ *
29874
+ *
29875
+ *
29876
+ *
29877
+ * {
29878
+ * "type": "button",
29879
+ * "label": {
29880
+ * "value": "My Custom Control 0"
29881
+ * },
29882
+ * "key": "my-custom-control-0"
29883
+ * }
29884
+ *
29885
+ *
29886
+ *
29887
+ */
29888
+ export interface ButtonControl2 {
29889
+ label: I18NProperty85;
29890
+ type: 'button' | 'BUTTON';
29891
+ key: string;
29892
+ [k: string]: unknown;
29893
+ }
29894
+ /**
29895
+ *
29896
+ *
29897
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
29898
+ * and value in multiple places if you like, but identical keys must have identical values.
29899
+ *
29900
+ * <h3>Example</h3>
29901
+ *
29902
+ *
29903
+ *
29904
+ *
29905
+ *
29906
+ * {
29907
+ * "value": "My text"
29908
+ * }
29909
+ *
29910
+ *
29911
+ *
29912
+ */
29913
+ export interface I18NProperty85 {
29914
+ value: string;
29915
+ i18n?: string;
29916
+ [k: string]: unknown;
29917
+ }
29887
29918
  /**
29888
29919
  *
29889
29920
  *
@@ -50785,47 +50816,10 @@ export interface I18NProperty91 {
50785
50816
  *
50786
50817
  */
50787
50818
  export interface WebItemTarget2 {
50788
- options?: InlineDialogOptions2 | DialogModuleOptions2 | DialogOptions4;
50819
+ options?: DialogModuleOptions2 | DialogOptions4 | InlineDialogOptions2;
50789
50820
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
50790
50821
  [k: string]: unknown;
50791
50822
  }
50792
- /**
50793
- *
50794
- *
50795
- * Options for an inline dialog target
50796
- *
50797
- * <h3>Example</h3>
50798
- *
50799
- *
50800
- *
50801
- *
50802
- *
50803
- * {
50804
- * "target": {
50805
- * "type": "inlinedialog",
50806
- * "options": {
50807
- * "onHover": true,
50808
- * "offsetX": "30px",
50809
- * "offsetY": "20px"
50810
- * }
50811
- * }
50812
- * }
50813
- *
50814
- *
50815
- *
50816
- */
50817
- export interface InlineDialogOptions2 {
50818
- offsetX?: string;
50819
- offsetY?: string;
50820
- width?: string;
50821
- onTop?: boolean;
50822
- showDelay?: number;
50823
- closeOthers?: boolean;
50824
- persistent?: boolean;
50825
- onHover?: boolean;
50826
- isRelativeToMouse?: boolean;
50827
- [k: string]: unknown;
50828
- }
50829
50823
  /**
50830
50824
  *
50831
50825
  *
@@ -50951,6 +50945,43 @@ export interface I18NProperty92 {
50951
50945
  i18n?: string;
50952
50946
  [k: string]: unknown;
50953
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
+ }
50954
50985
  /**
50955
50986
  *
50956
50987
  *
@@ -51737,6 +51768,12 @@ export interface Fetch {
51737
51768
  export interface Remote {
51738
51769
  remote: string;
51739
51770
  }
51771
+ /**
51772
+ * References a Remote
51773
+ */
51774
+ export interface Remote1 {
51775
+ remote: string;
51776
+ }
51740
51777
  export interface HostedResourcesSchema {
51741
51778
  /**
51742
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.
@@ -51764,19 +51801,7 @@ export interface AuthProviderCustom {
51764
51801
  */
51765
51802
  name: string;
51766
51803
  type: 'oauth2';
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
- };
51804
+ bearerMethod: BearerMethodSchema;
51780
51805
  clientId: string;
51781
51806
  scopes?: string[];
51782
51807
  remotes?: ModuleKeySchema[];
@@ -51859,7 +51884,12 @@ export interface AuthProviderPredefined {
51859
51884
  * Name shown to end users
51860
51885
  */
51861
51886
  name: string;
51887
+ /**
51888
+ * Pre-defined integration name
51889
+ */
51862
51890
  integration: 'adobe' | 'azuredevops' | 'dropbox' | 'google' | 'miro';
51891
+ bearerMethod: BearerMethodSchema;
51863
51892
  clientId: string;
51864
51893
  scopes?: string[];
51894
+ remotes: ModuleKeySchema[];
51865
51895
  }