openxiangda-contracts 2.83.0 → 2.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/native-compiler/compiler.d.ts.map +1 -1
  2. package/dist/native-compiler/compiler.js +36 -9
  3. package/dist/native-compiler/compiler.js.map +1 -1
  4. package/dist/native-compiler/index.cjs +4 -4
  5. package/dist/native-compiler/index.js +4 -4
  6. package/dist/native-compiler/user-candidates.d.ts.map +1 -1
  7. package/dist/native-compiler/user-candidates.js +2 -1
  8. package/dist/native-compiler/user-candidates.js.map +1 -1
  9. package/dist/native-compiler/workflow-authoring.d.ts.map +1 -1
  10. package/dist/native-compiler/workflow-authoring.js +2 -0
  11. package/dist/native-compiler/workflow-authoring.js.map +1 -1
  12. package/dist/native-compiler/workflow-conditional-assignment-schema.d.ts +662 -0
  13. package/dist/native-compiler/workflow-conditional-assignment-schema.d.ts.map +1 -0
  14. package/dist/native-compiler/workflow-conditional-assignment-schema.js +21 -0
  15. package/dist/native-compiler/workflow-conditional-assignment-schema.js.map +1 -0
  16. package/dist/native-compiler/workflow-conditional-assignment.d.ts +14 -667
  17. package/dist/native-compiler/workflow-conditional-assignment.d.ts.map +1 -1
  18. package/dist/native-compiler/workflow-conditional-assignment.js +31 -19
  19. package/dist/native-compiler/workflow-conditional-assignment.js.map +1 -1
  20. package/dist/native-compiler/workflow-expression-schema.d.ts +29 -0
  21. package/dist/native-compiler/workflow-expression-schema.d.ts.map +1 -0
  22. package/dist/native-compiler/workflow-expression-schema.js +31 -0
  23. package/dist/native-compiler/workflow-expression-schema.js.map +1 -0
  24. package/dist/native-compiler/workflow-launch-preflight.d.ts.map +1 -1
  25. package/dist/native-compiler/workflow-launch-preflight.js +6 -1
  26. package/dist/native-compiler/workflow-launch-preflight.js.map +1 -1
  27. package/dist/native-compiler/workflow-schema.d.ts +909 -276
  28. package/dist/native-compiler/workflow-schema.d.ts.map +1 -1
  29. package/dist/native-compiler/workflow-schema.js +5 -98
  30. package/dist/native-compiler/workflow-schema.js.map +1 -1
  31. package/dist/native-compiler/workflow-source-sync.d.ts.map +1 -1
  32. package/dist/native-compiler/workflow-source-sync.js +5 -1
  33. package/dist/native-compiler/workflow-source-sync.js.map +1 -1
  34. package/dist/native-compiler/workflow-standard-binding-schema.d.ts +304 -0
  35. package/dist/native-compiler/workflow-standard-binding-schema.d.ts.map +1 -0
  36. package/dist/native-compiler/workflow-standard-binding-schema.js +75 -0
  37. package/dist/native-compiler/workflow-standard-binding-schema.js.map +1 -0
  38. package/dist/native-version.d.ts +1 -0
  39. package/dist/native-version.d.ts.map +1 -1
  40. package/dist/native-version.js +1 -0
  41. package/dist/native-version.js.map +1 -1
  42. package/dist/schemas.d.ts +897 -230
  43. package/dist/schemas.d.ts.map +1 -1
  44. package/dist/schemas.js +1 -0
  45. package/dist/schemas.js.map +1 -1
  46. package/dist/types.d.ts +6 -3
  47. package/dist/types.d.ts.map +1 -1
  48. package/dist/types.js.map +1 -1
  49. package/package.json +1 -1
@@ -1,31 +1,5 @@
1
1
  /** Workflow document shape is pure; protocol and platform consumers share this one owner. */
2
- export declare const workflowExpressionSchema: {
3
- readonly type: "object";
4
- readonly required: readonly ["op"];
5
- readonly properties: {
6
- readonly op: {
7
- readonly enum: readonly ["literal", "path", "eq", "neq", "gt", "gte", "lt", "lte", "in", "contains", "and", "or", "not", "exists"];
8
- };
9
- readonly value: {};
10
- readonly path: {
11
- readonly type: "string";
12
- readonly pattern: "^[A-Za-z][A-Za-z0-9_.]{0,254}$";
13
- };
14
- readonly left: {
15
- readonly type: "object";
16
- };
17
- readonly right: {
18
- readonly type: "object";
19
- };
20
- readonly values: {
21
- readonly type: "array";
22
- readonly minItems: 1;
23
- readonly items: {
24
- readonly type: "object";
25
- };
26
- };
27
- };
28
- };
2
+ export { workflowExpressionSchema } from './workflow-expression-schema.js';
29
3
  export declare const workflowBusinessStepNodeSchema: {
30
4
  readonly type: "object";
31
5
  readonly additionalProperties: false;
@@ -1355,306 +1329,965 @@ export declare const workflowBindingSchema: {
1355
1329
  readonly type: "object";
1356
1330
  readonly maxProperties: 200;
1357
1331
  readonly additionalProperties: {
1358
- readonly type: "object";
1359
- readonly additionalProperties: false;
1360
- readonly required: readonly ["provider"];
1361
- readonly allOf: readonly [{
1362
- readonly if: {
1363
- readonly required: readonly ["roleCodes"];
1364
- };
1365
- readonly then: {
1366
- readonly properties: {
1367
- readonly provider: {
1368
- readonly enum: readonly ["app_role", "app_role_in_scope"];
1332
+ readonly oneOf: readonly [{
1333
+ readonly type: "object";
1334
+ readonly additionalProperties: false;
1335
+ readonly required: readonly ["provider"];
1336
+ readonly allOf: readonly [{
1337
+ readonly if: {
1338
+ readonly required: readonly ["roleCodes"];
1339
+ };
1340
+ readonly then: {
1341
+ readonly properties: {
1342
+ readonly provider: {
1343
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
1344
+ };
1345
+ };
1346
+ readonly not: {
1347
+ readonly anyOf: readonly [{
1348
+ readonly required: readonly ["roleCode"];
1349
+ }, {
1350
+ readonly required: readonly ["candidateField"];
1351
+ }];
1369
1352
  };
1370
1353
  };
1371
- readonly not: {
1372
- readonly anyOf: readonly [{
1373
- readonly required: readonly ["roleCode"];
1374
- }, {
1375
- readonly required: readonly ["candidateField"];
1376
- }];
1354
+ }, {
1355
+ readonly if: {
1356
+ readonly required: readonly ["candidateField"];
1377
1357
  };
1378
- };
1379
- }, {
1380
- readonly if: {
1381
- readonly required: readonly ["candidateField"];
1382
- };
1383
- readonly then: {
1384
- readonly required: readonly ["inputPath"];
1385
- readonly properties: {
1386
- readonly provider: {
1387
- readonly const: "form_field_users";
1358
+ readonly then: {
1359
+ readonly required: readonly ["inputPath"];
1360
+ readonly properties: {
1361
+ readonly provider: {
1362
+ readonly const: "form_field_users";
1363
+ };
1364
+ };
1365
+ readonly not: {
1366
+ readonly anyOf: readonly [{
1367
+ readonly required: readonly ["roleCode"];
1368
+ }, {
1369
+ readonly required: readonly ["scope"];
1370
+ }, {
1371
+ readonly required: readonly ["routing"];
1372
+ }];
1388
1373
  };
1389
1374
  };
1390
- readonly not: {
1375
+ }, {
1376
+ readonly if: {
1377
+ readonly required: readonly ["selectedInputPath"];
1378
+ };
1379
+ readonly then: {
1380
+ readonly properties: {
1381
+ readonly provider: {
1382
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
1383
+ };
1384
+ };
1391
1385
  readonly anyOf: readonly [{
1392
1386
  readonly required: readonly ["roleCode"];
1393
1387
  }, {
1394
- readonly required: readonly ["scope"];
1395
- }, {
1396
- readonly required: readonly ["routing"];
1388
+ readonly required: readonly ["roleCodes"];
1397
1389
  }];
1390
+ readonly not: {
1391
+ readonly anyOf: readonly [{
1392
+ readonly required: readonly ["candidateField"];
1393
+ }, {
1394
+ readonly required: readonly ["inputPath"];
1395
+ }, {
1396
+ readonly required: readonly ["routing"];
1397
+ }];
1398
+ };
1398
1399
  };
1399
- };
1400
- }, {
1401
- readonly if: {
1402
- readonly required: readonly ["selectedInputPath"];
1403
- };
1404
- readonly then: {
1405
- readonly properties: {
1406
- readonly provider: {
1407
- readonly enum: readonly ["app_role", "app_role_in_scope"];
1400
+ }];
1401
+ readonly properties: {
1402
+ readonly provider: {
1403
+ readonly enum: readonly ["fixed_users", "initiator", "input_users", "form_field_users", "department_supervisor", "supervisor_chain", "app_role", "app_role_in_scope", "business_relation", "previous_node_actor", "initiator_select", "application_provider"];
1404
+ };
1405
+ readonly users: {
1406
+ readonly type: "array";
1407
+ readonly uniqueItems: true;
1408
+ readonly items: {
1409
+ readonly type: "string";
1410
+ readonly minLength: 1;
1408
1411
  };
1409
1412
  };
1410
- readonly anyOf: readonly [{
1411
- readonly required: readonly ["roleCode"];
1412
- }, {
1413
- readonly required: readonly ["roleCodes"];
1414
- }];
1415
- readonly not: {
1416
- readonly anyOf: readonly [{
1417
- readonly required: readonly ["candidateField"];
1413
+ readonly inputPath: {
1414
+ readonly type: "string";
1415
+ };
1416
+ readonly selectedInputPath: {
1417
+ readonly type: "string";
1418
+ readonly maxLength: 255;
1419
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]*(?:\\.[A-Za-z][A-Za-z0-9_-]*)*$";
1420
+ };
1421
+ readonly candidateField: {
1422
+ readonly type: "string";
1423
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
1424
+ };
1425
+ readonly from: {
1426
+ readonly oneOf: readonly [{
1427
+ readonly const: "initiator";
1418
1428
  }, {
1419
- readonly required: readonly ["inputPath"];
1429
+ readonly type: "object";
1430
+ readonly additionalProperties: false;
1431
+ readonly required: readonly ["field"];
1432
+ readonly properties: {
1433
+ readonly field: {
1434
+ readonly type: "string";
1435
+ readonly maxLength: 255;
1436
+ };
1437
+ };
1438
+ }];
1439
+ };
1440
+ readonly until: {
1441
+ readonly oneOf: readonly [{
1442
+ readonly const: "top";
1443
+ }, {
1444
+ readonly type: "object";
1445
+ readonly additionalProperties: false;
1446
+ readonly required: readonly ["level"];
1447
+ readonly properties: {
1448
+ readonly level: {
1449
+ readonly type: "integer";
1450
+ readonly minimum: 1;
1451
+ readonly maximum: 20;
1452
+ };
1453
+ };
1420
1454
  }, {
1421
- readonly required: readonly ["routing"];
1455
+ readonly type: "object";
1456
+ readonly additionalProperties: false;
1457
+ readonly required: readonly ["roleCode"];
1458
+ readonly properties: {
1459
+ readonly roleCode: {
1460
+ readonly type: "string";
1461
+ readonly minLength: 1;
1462
+ };
1463
+ };
1422
1464
  }];
1423
1465
  };
1424
- };
1425
- }];
1426
- readonly properties: {
1427
- readonly provider: {
1428
- readonly enum: readonly ["fixed_users", "initiator", "input_users", "form_field_users", "department_supervisor", "supervisor_chain", "app_role", "app_role_in_scope", "business_relation", "previous_node_actor", "initiator_select", "application_provider"];
1429
- };
1430
- readonly users: {
1431
- readonly type: "array";
1432
- readonly uniqueItems: true;
1433
- readonly items: {
1466
+ readonly continuous: {
1467
+ readonly type: "boolean";
1468
+ };
1469
+ readonly missing: {
1470
+ readonly enum: readonly ["skip_level", "block"];
1471
+ };
1472
+ readonly departmentIdFrom: {
1434
1473
  readonly type: "string";
1435
- readonly minLength: 1;
1436
1474
  };
1437
- };
1438
- readonly inputPath: {
1439
- readonly type: "string";
1440
- };
1441
- readonly selectedInputPath: {
1442
- readonly type: "string";
1443
- readonly maxLength: 255;
1444
- readonly pattern: "^[A-Za-z][A-Za-z0-9_-]*(?:\\.[A-Za-z][A-Za-z0-9_-]*)*$";
1445
- };
1446
- readonly candidateField: {
1447
- readonly type: "string";
1448
- readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
1449
- };
1450
- readonly from: {
1451
- readonly oneOf: readonly [{
1452
- readonly const: "initiator";
1453
- }, {
1475
+ readonly level: {
1476
+ readonly type: "integer";
1477
+ readonly minimum: 1;
1478
+ readonly maximum: 20;
1479
+ };
1480
+ readonly fallbackToAncestorSupervisor: {
1481
+ readonly type: "boolean";
1482
+ };
1483
+ readonly roleCode: {
1484
+ readonly type: "string";
1485
+ };
1486
+ readonly roleCodes: {
1487
+ readonly type: "array";
1488
+ readonly minItems: 2;
1489
+ readonly maxItems: 8;
1490
+ readonly uniqueItems: true;
1491
+ readonly items: {
1492
+ readonly type: "string";
1493
+ readonly maxLength: 128;
1494
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
1495
+ };
1496
+ };
1497
+ readonly scope: {
1454
1498
  readonly type: "object";
1455
1499
  readonly additionalProperties: false;
1456
- readonly required: readonly ["field"];
1500
+ readonly required: readonly ["dimension"];
1457
1501
  readonly properties: {
1458
- readonly field: {
1502
+ readonly dimension: {
1459
1503
  readonly type: "string";
1460
- readonly maxLength: 255;
1504
+ readonly minLength: 1;
1461
1505
  };
1462
- };
1463
- }];
1464
- };
1465
- readonly until: {
1466
- readonly oneOf: readonly [{
1467
- readonly const: "top";
1468
- }, {
1469
- readonly type: "object";
1470
- readonly additionalProperties: false;
1471
- readonly required: readonly ["level"];
1472
- readonly properties: {
1473
- readonly level: {
1474
- readonly type: "integer";
1475
- readonly minimum: 1;
1476
- readonly maximum: 20;
1506
+ readonly valueFrom: {
1507
+ readonly type: "string";
1477
1508
  };
1478
- };
1479
- }, {
1480
- readonly type: "object";
1481
- readonly additionalProperties: false;
1482
- readonly required: readonly ["roleCode"];
1483
- readonly properties: {
1484
- readonly roleCode: {
1509
+ readonly value: {
1485
1510
  readonly type: "string";
1486
- readonly minLength: 1;
1487
1511
  };
1488
1512
  };
1489
- }];
1490
- };
1491
- readonly continuous: {
1492
- readonly type: "boolean";
1493
- };
1494
- readonly missing: {
1495
- readonly enum: readonly ["skip_level", "block"];
1496
- };
1497
- readonly departmentIdFrom: {
1498
- readonly type: "string";
1499
- };
1500
- readonly level: {
1501
- readonly type: "integer";
1502
- readonly minimum: 1;
1503
- readonly maximum: 20;
1504
- };
1505
- readonly fallbackToAncestorSupervisor: {
1506
- readonly type: "boolean";
1507
- };
1508
- readonly roleCode: {
1509
- readonly type: "string";
1510
- };
1511
- readonly roleCodes: {
1512
- readonly type: "array";
1513
- readonly minItems: 2;
1514
- readonly maxItems: 8;
1515
- readonly uniqueItems: true;
1516
- readonly items: {
1513
+ };
1514
+ readonly relationCode: {
1517
1515
  readonly type: "string";
1518
- readonly maxLength: 128;
1519
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
1520
1516
  };
1521
- };
1522
- readonly scope: {
1523
- readonly type: "object";
1524
- readonly additionalProperties: false;
1525
- readonly required: readonly ["dimension"];
1526
- readonly properties: {
1527
- readonly dimension: {
1528
- readonly type: "string";
1529
- readonly minLength: 1;
1530
- };
1531
- readonly valueFrom: {
1532
- readonly type: "string";
1533
- };
1534
- readonly value: {
1535
- readonly type: "string";
1536
- };
1517
+ readonly resourceCode: {
1518
+ readonly type: "string";
1537
1519
  };
1538
- };
1539
- readonly relationCode: {
1540
- readonly type: "string";
1541
- };
1542
- readonly resourceCode: {
1543
- readonly type: "string";
1544
- };
1545
- readonly resourceIdFrom: {
1546
- readonly type: "string";
1547
- };
1548
- readonly providerCode: {
1549
- readonly type: "string";
1550
- };
1551
- readonly min: {
1552
- readonly type: "integer";
1553
- readonly minimum: 1;
1554
- readonly maximum: 200;
1555
- };
1556
- readonly max: {
1557
- readonly type: "integer";
1558
- readonly minimum: 1;
1559
- readonly maximum: 200;
1560
- };
1561
- readonly delegatable: {
1562
- readonly type: "boolean";
1563
- };
1564
- readonly routing: {
1565
- readonly type: "object";
1566
- readonly additionalProperties: false;
1567
- readonly required: readonly ["policyCode", "title", "strategy", "dimensions", "sources"];
1568
- readonly properties: {
1569
- readonly policyCode: {
1570
- readonly type: "string";
1571
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1572
- };
1573
- readonly title: {
1574
- readonly type: "string";
1575
- readonly minLength: 1;
1576
- readonly maxLength: 128;
1577
- };
1578
- readonly strategy: {
1579
- readonly enum: readonly ["replace_then_append", "replace_only"];
1580
- };
1581
- readonly dimensions: {
1582
- readonly type: "object";
1583
- readonly maxProperties: 8;
1584
- readonly propertyNames: {
1520
+ readonly resourceIdFrom: {
1521
+ readonly type: "string";
1522
+ };
1523
+ readonly providerCode: {
1524
+ readonly type: "string";
1525
+ };
1526
+ readonly min: {
1527
+ readonly type: "integer";
1528
+ readonly minimum: 1;
1529
+ readonly maximum: 200;
1530
+ };
1531
+ readonly max: {
1532
+ readonly type: "integer";
1533
+ readonly minimum: 1;
1534
+ readonly maximum: 200;
1535
+ };
1536
+ readonly delegatable: {
1537
+ readonly type: "boolean";
1538
+ };
1539
+ readonly routing: {
1540
+ readonly type: "object";
1541
+ readonly additionalProperties: false;
1542
+ readonly required: readonly ["policyCode", "title", "strategy", "dimensions", "sources"];
1543
+ readonly properties: {
1544
+ readonly policyCode: {
1585
1545
  readonly type: "string";
1586
1546
  readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1587
1547
  };
1588
- readonly additionalProperties: {
1548
+ readonly title: {
1549
+ readonly type: "string";
1550
+ readonly minLength: 1;
1551
+ readonly maxLength: 128;
1552
+ };
1553
+ readonly strategy: {
1554
+ readonly enum: readonly ["replace_then_append", "replace_only"];
1555
+ };
1556
+ readonly dimensions: {
1589
1557
  readonly type: "object";
1590
- readonly additionalProperties: false;
1591
- readonly required: readonly ["title", "valueFrom"];
1592
- readonly properties: {
1593
- readonly title: {
1594
- readonly type: "string";
1595
- readonly minLength: 1;
1596
- readonly maxLength: 128;
1597
- };
1598
- readonly valueFrom: {
1599
- readonly type: "string";
1600
- readonly minLength: 1;
1601
- readonly maxLength: 255;
1558
+ readonly maxProperties: 8;
1559
+ readonly propertyNames: {
1560
+ readonly type: "string";
1561
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1562
+ };
1563
+ readonly additionalProperties: {
1564
+ readonly type: "object";
1565
+ readonly additionalProperties: false;
1566
+ readonly required: readonly ["title", "valueFrom"];
1567
+ readonly properties: {
1568
+ readonly title: {
1569
+ readonly type: "string";
1570
+ readonly minLength: 1;
1571
+ readonly maxLength: 128;
1572
+ };
1573
+ readonly valueFrom: {
1574
+ readonly type: "string";
1575
+ readonly minLength: 1;
1576
+ readonly maxLength: 255;
1577
+ };
1602
1578
  };
1603
1579
  };
1604
1580
  };
1605
- };
1606
- readonly sources: {
1607
- readonly type: "object";
1608
- readonly minProperties: 1;
1609
- readonly maxProperties: 16;
1610
- readonly propertyNames: {
1611
- readonly type: "string";
1612
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1613
- };
1614
- readonly additionalProperties: {
1581
+ readonly sources: {
1615
1582
  readonly type: "object";
1616
- readonly additionalProperties: false;
1617
- readonly required: readonly ["title", "provider", "roleCode"];
1618
- readonly properties: {
1619
- readonly title: {
1620
- readonly type: "string";
1621
- readonly minLength: 1;
1622
- readonly maxLength: 128;
1623
- };
1624
- readonly provider: {
1625
- readonly enum: readonly ["app_role", "app_role_in_scope"];
1626
- };
1627
- readonly roleCode: {
1628
- readonly type: "string";
1629
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1630
- };
1631
- readonly scope: {
1632
- readonly type: "object";
1633
- readonly additionalProperties: false;
1634
- readonly required: readonly ["dimension"];
1635
- readonly properties: {
1636
- readonly dimension: {
1637
- readonly type: "string";
1638
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1583
+ readonly minProperties: 1;
1584
+ readonly maxProperties: 16;
1585
+ readonly propertyNames: {
1586
+ readonly type: "string";
1587
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1588
+ };
1589
+ readonly additionalProperties: {
1590
+ readonly type: "object";
1591
+ readonly additionalProperties: false;
1592
+ readonly required: readonly ["title", "provider", "roleCode"];
1593
+ readonly properties: {
1594
+ readonly title: {
1595
+ readonly type: "string";
1596
+ readonly minLength: 1;
1597
+ readonly maxLength: 128;
1598
+ };
1599
+ readonly provider: {
1600
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
1601
+ };
1602
+ readonly roleCode: {
1603
+ readonly type: "string";
1604
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1605
+ };
1606
+ readonly scope: {
1607
+ readonly type: "object";
1608
+ readonly additionalProperties: false;
1609
+ readonly required: readonly ["dimension"];
1610
+ readonly properties: {
1611
+ readonly dimension: {
1612
+ readonly type: "string";
1613
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1614
+ };
1615
+ readonly value: {
1616
+ readonly type: "string";
1617
+ readonly minLength: 1;
1618
+ readonly maxLength: 255;
1619
+ };
1620
+ readonly valueFrom: {
1621
+ readonly type: "string";
1622
+ readonly minLength: 1;
1623
+ readonly maxLength: 255;
1624
+ };
1639
1625
  };
1640
- readonly value: {
1626
+ };
1627
+ };
1628
+ };
1629
+ };
1630
+ };
1631
+ };
1632
+ };
1633
+ }, {
1634
+ readonly type: "object";
1635
+ readonly additionalProperties: false;
1636
+ readonly required: readonly ["provider", "cases", "otherwise"];
1637
+ readonly properties: {
1638
+ readonly provider: {
1639
+ readonly const: "conditional";
1640
+ };
1641
+ readonly cases: {
1642
+ readonly type: "array";
1643
+ readonly minItems: 1;
1644
+ readonly maxItems: 20;
1645
+ readonly items: {
1646
+ readonly type: "object";
1647
+ readonly additionalProperties: false;
1648
+ readonly required: readonly ["when", "assignee"];
1649
+ readonly properties: {
1650
+ readonly label: {
1651
+ readonly type: "string";
1652
+ readonly minLength: 1;
1653
+ readonly maxLength: 160;
1654
+ };
1655
+ readonly when: {
1656
+ readonly type: "object";
1657
+ readonly required: readonly ["op"];
1658
+ readonly properties: {
1659
+ readonly op: {
1660
+ readonly enum: readonly ["literal", "path", "eq", "neq", "gt", "gte", "lt", "lte", "in", "contains", "and", "or", "not", "exists"];
1661
+ };
1662
+ readonly value: {};
1663
+ readonly path: {
1664
+ readonly type: "string";
1665
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_.]{0,254}$";
1666
+ };
1667
+ readonly left: {
1668
+ readonly type: "object";
1669
+ };
1670
+ readonly right: {
1671
+ readonly type: "object";
1672
+ };
1673
+ readonly values: {
1674
+ readonly type: "array";
1675
+ readonly minItems: 1;
1676
+ readonly items: {
1677
+ readonly type: "object";
1678
+ };
1679
+ };
1680
+ };
1681
+ };
1682
+ readonly assignee: {
1683
+ readonly properties: {
1684
+ readonly provider: {
1685
+ readonly enum: readonly ["fixed_users", "app_role", "app_role_in_scope", "supervisor_chain", "form_field_users", "input_users", "initiator", "previous_node_actor", "business_relation"];
1686
+ };
1687
+ readonly users: {
1688
+ readonly type: "array";
1689
+ readonly uniqueItems: true;
1690
+ readonly items: {
1641
1691
  readonly type: "string";
1642
1692
  readonly minLength: 1;
1643
- readonly maxLength: 255;
1644
1693
  };
1645
- readonly valueFrom: {
1694
+ };
1695
+ readonly inputPath: {
1696
+ readonly type: "string";
1697
+ };
1698
+ readonly selectedInputPath: {
1699
+ readonly type: "string";
1700
+ readonly maxLength: 255;
1701
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]*(?:\\.[A-Za-z][A-Za-z0-9_-]*)*$";
1702
+ };
1703
+ readonly candidateField: {
1704
+ readonly type: "string";
1705
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
1706
+ };
1707
+ readonly from: {
1708
+ readonly oneOf: readonly [{
1709
+ readonly const: "initiator";
1710
+ }, {
1711
+ readonly type: "object";
1712
+ readonly additionalProperties: false;
1713
+ readonly required: readonly ["field"];
1714
+ readonly properties: {
1715
+ readonly field: {
1716
+ readonly type: "string";
1717
+ readonly maxLength: 255;
1718
+ };
1719
+ };
1720
+ }];
1721
+ };
1722
+ readonly until: {
1723
+ readonly oneOf: readonly [{
1724
+ readonly const: "top";
1725
+ }, {
1726
+ readonly type: "object";
1727
+ readonly additionalProperties: false;
1728
+ readonly required: readonly ["level"];
1729
+ readonly properties: {
1730
+ readonly level: {
1731
+ readonly type: "integer";
1732
+ readonly minimum: 1;
1733
+ readonly maximum: 20;
1734
+ };
1735
+ };
1736
+ }, {
1737
+ readonly type: "object";
1738
+ readonly additionalProperties: false;
1739
+ readonly required: readonly ["roleCode"];
1740
+ readonly properties: {
1741
+ readonly roleCode: {
1742
+ readonly type: "string";
1743
+ readonly minLength: 1;
1744
+ };
1745
+ };
1746
+ }];
1747
+ };
1748
+ readonly continuous: {
1749
+ readonly type: "boolean";
1750
+ };
1751
+ readonly missing: {
1752
+ readonly enum: readonly ["skip_level", "block"];
1753
+ };
1754
+ readonly departmentIdFrom: {
1755
+ readonly type: "string";
1756
+ };
1757
+ readonly level: {
1758
+ readonly type: "integer";
1759
+ readonly minimum: 1;
1760
+ readonly maximum: 20;
1761
+ };
1762
+ readonly fallbackToAncestorSupervisor: {
1763
+ readonly type: "boolean";
1764
+ };
1765
+ readonly roleCode: {
1766
+ readonly type: "string";
1767
+ };
1768
+ readonly roleCodes: {
1769
+ readonly type: "array";
1770
+ readonly minItems: 2;
1771
+ readonly maxItems: 8;
1772
+ readonly uniqueItems: true;
1773
+ readonly items: {
1646
1774
  readonly type: "string";
1647
- readonly minLength: 1;
1648
- readonly maxLength: 255;
1775
+ readonly maxLength: 128;
1776
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
1777
+ };
1778
+ };
1779
+ readonly scope: {
1780
+ readonly type: "object";
1781
+ readonly additionalProperties: false;
1782
+ readonly required: readonly ["dimension"];
1783
+ readonly properties: {
1784
+ readonly dimension: {
1785
+ readonly type: "string";
1786
+ readonly minLength: 1;
1787
+ };
1788
+ readonly valueFrom: {
1789
+ readonly type: "string";
1790
+ };
1791
+ readonly value: {
1792
+ readonly type: "string";
1793
+ };
1794
+ };
1795
+ };
1796
+ readonly relationCode: {
1797
+ readonly type: "string";
1798
+ };
1799
+ readonly resourceCode: {
1800
+ readonly type: "string";
1801
+ };
1802
+ readonly resourceIdFrom: {
1803
+ readonly type: "string";
1804
+ };
1805
+ readonly providerCode: {
1806
+ readonly type: "string";
1807
+ };
1808
+ readonly min: {
1809
+ readonly type: "integer";
1810
+ readonly minimum: 1;
1811
+ readonly maximum: 200;
1812
+ };
1813
+ readonly max: {
1814
+ readonly type: "integer";
1815
+ readonly minimum: 1;
1816
+ readonly maximum: 200;
1817
+ };
1818
+ readonly delegatable: {
1819
+ readonly type: "boolean";
1820
+ };
1821
+ readonly routing: {
1822
+ readonly type: "object";
1823
+ readonly additionalProperties: false;
1824
+ readonly required: readonly ["policyCode", "title", "strategy", "dimensions", "sources"];
1825
+ readonly properties: {
1826
+ readonly policyCode: {
1827
+ readonly type: "string";
1828
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1829
+ };
1830
+ readonly title: {
1831
+ readonly type: "string";
1832
+ readonly minLength: 1;
1833
+ readonly maxLength: 128;
1834
+ };
1835
+ readonly strategy: {
1836
+ readonly enum: readonly ["replace_then_append", "replace_only"];
1837
+ };
1838
+ readonly dimensions: {
1839
+ readonly type: "object";
1840
+ readonly maxProperties: 8;
1841
+ readonly propertyNames: {
1842
+ readonly type: "string";
1843
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1844
+ };
1845
+ readonly additionalProperties: {
1846
+ readonly type: "object";
1847
+ readonly additionalProperties: false;
1848
+ readonly required: readonly ["title", "valueFrom"];
1849
+ readonly properties: {
1850
+ readonly title: {
1851
+ readonly type: "string";
1852
+ readonly minLength: 1;
1853
+ readonly maxLength: 128;
1854
+ };
1855
+ readonly valueFrom: {
1856
+ readonly type: "string";
1857
+ readonly minLength: 1;
1858
+ readonly maxLength: 255;
1859
+ };
1860
+ };
1861
+ };
1862
+ };
1863
+ readonly sources: {
1864
+ readonly type: "object";
1865
+ readonly minProperties: 1;
1866
+ readonly maxProperties: 16;
1867
+ readonly propertyNames: {
1868
+ readonly type: "string";
1869
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1870
+ };
1871
+ readonly additionalProperties: {
1872
+ readonly type: "object";
1873
+ readonly additionalProperties: false;
1874
+ readonly required: readonly ["title", "provider", "roleCode"];
1875
+ readonly properties: {
1876
+ readonly title: {
1877
+ readonly type: "string";
1878
+ readonly minLength: 1;
1879
+ readonly maxLength: 128;
1880
+ };
1881
+ readonly provider: {
1882
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
1883
+ };
1884
+ readonly roleCode: {
1885
+ readonly type: "string";
1886
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1887
+ };
1888
+ readonly scope: {
1889
+ readonly type: "object";
1890
+ readonly additionalProperties: false;
1891
+ readonly required: readonly ["dimension"];
1892
+ readonly properties: {
1893
+ readonly dimension: {
1894
+ readonly type: "string";
1895
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
1896
+ };
1897
+ readonly value: {
1898
+ readonly type: "string";
1899
+ readonly minLength: 1;
1900
+ readonly maxLength: 255;
1901
+ };
1902
+ readonly valueFrom: {
1903
+ readonly type: "string";
1904
+ readonly minLength: 1;
1905
+ readonly maxLength: 255;
1906
+ };
1907
+ };
1908
+ };
1909
+ };
1910
+ };
1911
+ };
1912
+ };
1913
+ };
1914
+ };
1915
+ readonly type: "object";
1916
+ readonly additionalProperties: false;
1917
+ readonly required: readonly ["provider"];
1918
+ readonly allOf: readonly [{
1919
+ readonly if: {
1920
+ readonly required: readonly ["roleCodes"];
1921
+ };
1922
+ readonly then: {
1923
+ readonly properties: {
1924
+ readonly provider: {
1925
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
1926
+ };
1927
+ };
1928
+ readonly not: {
1929
+ readonly anyOf: readonly [{
1930
+ readonly required: readonly ["roleCode"];
1931
+ }, {
1932
+ readonly required: readonly ["candidateField"];
1933
+ }];
1934
+ };
1935
+ };
1936
+ }, {
1937
+ readonly if: {
1938
+ readonly required: readonly ["candidateField"];
1939
+ };
1940
+ readonly then: {
1941
+ readonly required: readonly ["inputPath"];
1942
+ readonly properties: {
1943
+ readonly provider: {
1944
+ readonly const: "form_field_users";
1945
+ };
1946
+ };
1947
+ readonly not: {
1948
+ readonly anyOf: readonly [{
1949
+ readonly required: readonly ["roleCode"];
1950
+ }, {
1951
+ readonly required: readonly ["scope"];
1952
+ }, {
1953
+ readonly required: readonly ["routing"];
1954
+ }];
1955
+ };
1956
+ };
1957
+ }, {
1958
+ readonly if: {
1959
+ readonly required: readonly ["selectedInputPath"];
1960
+ };
1961
+ readonly then: {
1962
+ readonly properties: {
1963
+ readonly provider: {
1964
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
1965
+ };
1966
+ };
1967
+ readonly anyOf: readonly [{
1968
+ readonly required: readonly ["roleCode"];
1969
+ }, {
1970
+ readonly required: readonly ["roleCodes"];
1971
+ }];
1972
+ readonly not: {
1973
+ readonly anyOf: readonly [{
1974
+ readonly required: readonly ["candidateField"];
1975
+ }, {
1976
+ readonly required: readonly ["inputPath"];
1977
+ }, {
1978
+ readonly required: readonly ["routing"];
1979
+ }];
1980
+ };
1981
+ };
1982
+ }];
1983
+ };
1984
+ };
1985
+ };
1986
+ };
1987
+ readonly otherwise: {
1988
+ readonly properties: {
1989
+ readonly provider: {
1990
+ readonly enum: readonly ["fixed_users", "app_role", "app_role_in_scope", "supervisor_chain", "form_field_users", "input_users", "initiator", "previous_node_actor", "business_relation"];
1991
+ };
1992
+ readonly users: {
1993
+ readonly type: "array";
1994
+ readonly uniqueItems: true;
1995
+ readonly items: {
1996
+ readonly type: "string";
1997
+ readonly minLength: 1;
1998
+ };
1999
+ };
2000
+ readonly inputPath: {
2001
+ readonly type: "string";
2002
+ };
2003
+ readonly selectedInputPath: {
2004
+ readonly type: "string";
2005
+ readonly maxLength: 255;
2006
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]*(?:\\.[A-Za-z][A-Za-z0-9_-]*)*$";
2007
+ };
2008
+ readonly candidateField: {
2009
+ readonly type: "string";
2010
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
2011
+ };
2012
+ readonly from: {
2013
+ readonly oneOf: readonly [{
2014
+ readonly const: "initiator";
2015
+ }, {
2016
+ readonly type: "object";
2017
+ readonly additionalProperties: false;
2018
+ readonly required: readonly ["field"];
2019
+ readonly properties: {
2020
+ readonly field: {
2021
+ readonly type: "string";
2022
+ readonly maxLength: 255;
2023
+ };
2024
+ };
2025
+ }];
2026
+ };
2027
+ readonly until: {
2028
+ readonly oneOf: readonly [{
2029
+ readonly const: "top";
2030
+ }, {
2031
+ readonly type: "object";
2032
+ readonly additionalProperties: false;
2033
+ readonly required: readonly ["level"];
2034
+ readonly properties: {
2035
+ readonly level: {
2036
+ readonly type: "integer";
2037
+ readonly minimum: 1;
2038
+ readonly maximum: 20;
2039
+ };
2040
+ };
2041
+ }, {
2042
+ readonly type: "object";
2043
+ readonly additionalProperties: false;
2044
+ readonly required: readonly ["roleCode"];
2045
+ readonly properties: {
2046
+ readonly roleCode: {
2047
+ readonly type: "string";
2048
+ readonly minLength: 1;
2049
+ };
2050
+ };
2051
+ }];
2052
+ };
2053
+ readonly continuous: {
2054
+ readonly type: "boolean";
2055
+ };
2056
+ readonly missing: {
2057
+ readonly enum: readonly ["skip_level", "block"];
2058
+ };
2059
+ readonly departmentIdFrom: {
2060
+ readonly type: "string";
2061
+ };
2062
+ readonly level: {
2063
+ readonly type: "integer";
2064
+ readonly minimum: 1;
2065
+ readonly maximum: 20;
2066
+ };
2067
+ readonly fallbackToAncestorSupervisor: {
2068
+ readonly type: "boolean";
2069
+ };
2070
+ readonly roleCode: {
2071
+ readonly type: "string";
2072
+ };
2073
+ readonly roleCodes: {
2074
+ readonly type: "array";
2075
+ readonly minItems: 2;
2076
+ readonly maxItems: 8;
2077
+ readonly uniqueItems: true;
2078
+ readonly items: {
2079
+ readonly type: "string";
2080
+ readonly maxLength: 128;
2081
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
2082
+ };
2083
+ };
2084
+ readonly scope: {
2085
+ readonly type: "object";
2086
+ readonly additionalProperties: false;
2087
+ readonly required: readonly ["dimension"];
2088
+ readonly properties: {
2089
+ readonly dimension: {
2090
+ readonly type: "string";
2091
+ readonly minLength: 1;
2092
+ };
2093
+ readonly valueFrom: {
2094
+ readonly type: "string";
2095
+ };
2096
+ readonly value: {
2097
+ readonly type: "string";
2098
+ };
2099
+ };
2100
+ };
2101
+ readonly relationCode: {
2102
+ readonly type: "string";
2103
+ };
2104
+ readonly resourceCode: {
2105
+ readonly type: "string";
2106
+ };
2107
+ readonly resourceIdFrom: {
2108
+ readonly type: "string";
2109
+ };
2110
+ readonly providerCode: {
2111
+ readonly type: "string";
2112
+ };
2113
+ readonly min: {
2114
+ readonly type: "integer";
2115
+ readonly minimum: 1;
2116
+ readonly maximum: 200;
2117
+ };
2118
+ readonly max: {
2119
+ readonly type: "integer";
2120
+ readonly minimum: 1;
2121
+ readonly maximum: 200;
2122
+ };
2123
+ readonly delegatable: {
2124
+ readonly type: "boolean";
2125
+ };
2126
+ readonly routing: {
2127
+ readonly type: "object";
2128
+ readonly additionalProperties: false;
2129
+ readonly required: readonly ["policyCode", "title", "strategy", "dimensions", "sources"];
2130
+ readonly properties: {
2131
+ readonly policyCode: {
2132
+ readonly type: "string";
2133
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
2134
+ };
2135
+ readonly title: {
2136
+ readonly type: "string";
2137
+ readonly minLength: 1;
2138
+ readonly maxLength: 128;
2139
+ };
2140
+ readonly strategy: {
2141
+ readonly enum: readonly ["replace_then_append", "replace_only"];
2142
+ };
2143
+ readonly dimensions: {
2144
+ readonly type: "object";
2145
+ readonly maxProperties: 8;
2146
+ readonly propertyNames: {
2147
+ readonly type: "string";
2148
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
2149
+ };
2150
+ readonly additionalProperties: {
2151
+ readonly type: "object";
2152
+ readonly additionalProperties: false;
2153
+ readonly required: readonly ["title", "valueFrom"];
2154
+ readonly properties: {
2155
+ readonly title: {
2156
+ readonly type: "string";
2157
+ readonly minLength: 1;
2158
+ readonly maxLength: 128;
2159
+ };
2160
+ readonly valueFrom: {
2161
+ readonly type: "string";
2162
+ readonly minLength: 1;
2163
+ readonly maxLength: 255;
2164
+ };
2165
+ };
2166
+ };
2167
+ };
2168
+ readonly sources: {
2169
+ readonly type: "object";
2170
+ readonly minProperties: 1;
2171
+ readonly maxProperties: 16;
2172
+ readonly propertyNames: {
2173
+ readonly type: "string";
2174
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
2175
+ };
2176
+ readonly additionalProperties: {
2177
+ readonly type: "object";
2178
+ readonly additionalProperties: false;
2179
+ readonly required: readonly ["title", "provider", "roleCode"];
2180
+ readonly properties: {
2181
+ readonly title: {
2182
+ readonly type: "string";
2183
+ readonly minLength: 1;
2184
+ readonly maxLength: 128;
2185
+ };
2186
+ readonly provider: {
2187
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
2188
+ };
2189
+ readonly roleCode: {
2190
+ readonly type: "string";
2191
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
2192
+ };
2193
+ readonly scope: {
2194
+ readonly type: "object";
2195
+ readonly additionalProperties: false;
2196
+ readonly required: readonly ["dimension"];
2197
+ readonly properties: {
2198
+ readonly dimension: {
2199
+ readonly type: "string";
2200
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
2201
+ };
2202
+ readonly value: {
2203
+ readonly type: "string";
2204
+ readonly minLength: 1;
2205
+ readonly maxLength: 255;
2206
+ };
2207
+ readonly valueFrom: {
2208
+ readonly type: "string";
2209
+ readonly minLength: 1;
2210
+ readonly maxLength: 255;
2211
+ };
2212
+ };
2213
+ };
1649
2214
  };
1650
2215
  };
1651
2216
  };
1652
2217
  };
1653
2218
  };
1654
2219
  };
2220
+ readonly type: "object";
2221
+ readonly additionalProperties: false;
2222
+ readonly required: readonly ["provider"];
2223
+ readonly allOf: readonly [{
2224
+ readonly if: {
2225
+ readonly required: readonly ["roleCodes"];
2226
+ };
2227
+ readonly then: {
2228
+ readonly properties: {
2229
+ readonly provider: {
2230
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
2231
+ };
2232
+ };
2233
+ readonly not: {
2234
+ readonly anyOf: readonly [{
2235
+ readonly required: readonly ["roleCode"];
2236
+ }, {
2237
+ readonly required: readonly ["candidateField"];
2238
+ }];
2239
+ };
2240
+ };
2241
+ }, {
2242
+ readonly if: {
2243
+ readonly required: readonly ["candidateField"];
2244
+ };
2245
+ readonly then: {
2246
+ readonly required: readonly ["inputPath"];
2247
+ readonly properties: {
2248
+ readonly provider: {
2249
+ readonly const: "form_field_users";
2250
+ };
2251
+ };
2252
+ readonly not: {
2253
+ readonly anyOf: readonly [{
2254
+ readonly required: readonly ["roleCode"];
2255
+ }, {
2256
+ readonly required: readonly ["scope"];
2257
+ }, {
2258
+ readonly required: readonly ["routing"];
2259
+ }];
2260
+ };
2261
+ };
2262
+ }, {
2263
+ readonly if: {
2264
+ readonly required: readonly ["selectedInputPath"];
2265
+ };
2266
+ readonly then: {
2267
+ readonly properties: {
2268
+ readonly provider: {
2269
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
2270
+ };
2271
+ };
2272
+ readonly anyOf: readonly [{
2273
+ readonly required: readonly ["roleCode"];
2274
+ }, {
2275
+ readonly required: readonly ["roleCodes"];
2276
+ }];
2277
+ readonly not: {
2278
+ readonly anyOf: readonly [{
2279
+ readonly required: readonly ["candidateField"];
2280
+ }, {
2281
+ readonly required: readonly ["inputPath"];
2282
+ }, {
2283
+ readonly required: readonly ["routing"];
2284
+ }];
2285
+ };
2286
+ };
2287
+ }];
1655
2288
  };
1656
2289
  };
1657
- };
2290
+ }];
1658
2291
  };
1659
2292
  };
1660
2293
  };