@leav/ui 0.4.0-1894661c → 0.4.0-1b1c8e71

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 (113) hide show
  1. package/dist/__mocks__/common/form.d.ts +0 -632
  2. package/dist/__mocks__/common/form.js +22 -27
  3. package/dist/__mocks__/common/form.js.map +1 -1
  4. package/dist/_gqlTypes/index.d.ts +1485 -1514
  5. package/dist/_gqlTypes/index.js +109 -144
  6. package/dist/_gqlTypes/index.js.map +1 -1
  7. package/dist/_queries/records/getRecordFormQuery.js +5 -1
  8. package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
  9. package/dist/_utils/attributeType.d.ts +2 -1
  10. package/dist/_utils/attributeType.js +2 -1
  11. package/dist/_utils/attributeType.js.map +1 -1
  12. package/dist/components/Explorer/_queries/prepareFiltersForRequest.js +34 -1
  13. package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -1
  14. package/dist/components/Explorer/_queries/useExplorerData.js +1 -0
  15. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  16. package/dist/components/Explorer/_types.d.ts +29 -2
  17. package/dist/components/Explorer/_types.js +1 -0
  18. package/dist/components/Explorer/_types.js.map +1 -1
  19. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +5 -2
  20. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  21. package/dist/components/Explorer/link-item/LinkModal.js +31 -1
  22. package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
  23. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +1 -1
  24. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -1
  25. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +22 -2
  26. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
  27. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +10 -7
  28. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  29. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js +5 -1
  30. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
  31. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.d.ts +3 -0
  32. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js +69 -0
  33. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -0
  34. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +6 -1
  35. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +2 -0
  36. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +31 -4
  37. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
  38. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +19 -8
  39. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
  40. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +2 -2
  41. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +38 -12
  42. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  43. package/dist/components/Explorer/useSearchInput.js +1 -0
  44. package/dist/components/Explorer/useSearchInput.js.map +1 -1
  45. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +27 -58
  46. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  47. package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +7 -13
  48. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  49. package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +0 -6
  50. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +1 -7
  51. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  52. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +2 -15
  53. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +24 -47
  54. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
  55. package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.d.ts +3 -0
  56. package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js +7 -0
  57. package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +1 -0
  58. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.d.ts +0 -1
  59. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +0 -4
  60. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -1
  61. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +2 -3
  62. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +5 -3
  63. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  64. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +5 -25
  65. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
  66. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.d.ts +1 -1
  67. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +3 -1
  68. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
  69. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +3 -6
  70. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  71. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +1 -4
  72. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -1
  73. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js +1 -0
  74. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js.map +1 -1
  75. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +2 -0
  76. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +85 -64
  77. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  78. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +1 -2
  79. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  80. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +1 -2
  81. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +1 -2
  82. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  83. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +0 -1
  84. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +2 -5
  85. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  86. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +4 -15
  87. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
  88. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +4 -4
  89. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
  90. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +2 -2
  91. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +6 -6
  92. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +2 -2
  93. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  94. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +1 -6
  95. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +1 -5
  96. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
  97. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +2 -0
  98. package/dist/components/SelectTreeNode/SelectTreeNode.js +2 -2
  99. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  100. package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +2 -0
  101. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +58 -39
  102. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
  103. package/dist/components/SelectTreeNode/_types.d.ts +1 -0
  104. package/dist/components/SelectTreeNode/_types.js.map +1 -1
  105. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -2
  106. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +13 -2
  107. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  108. package/dist/locales/en/shared.json +2 -1
  109. package/dist/locales/fr/shared.json +1 -0
  110. package/package.json +3 -3
  111. package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.d.ts +0 -13
  112. package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js +0 -113
  113. package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js.map +0 -1
@@ -1027,8 +1027,145 @@ export type AttributesByLibLinkAttributeFragment = {
1027
1027
  id: string;
1028
1028
  } | null;
1029
1029
  };
1030
- export type RecordFormElementValuesFragment = {
1030
+ export type LibraryLightFragment = {
1031
+ id: string;
1032
+ label?: any | null;
1033
+ icon?: {
1034
+ id: string;
1035
+ whoAmI: {
1036
+ id: string;
1037
+ preview?: IPreviewScalar | null;
1038
+ library: {
1039
+ id: string;
1040
+ };
1041
+ };
1042
+ } | null;
1043
+ };
1044
+ export type LibraryDetailsFragment = {
1045
+ id: string;
1046
+ label?: any | null;
1047
+ behavior: LibraryBehavior;
1048
+ system?: boolean | null;
1049
+ fullTextAttributes?: Array<{
1050
+ id: string;
1051
+ label?: any | null;
1052
+ }> | null;
1053
+ attributes?: Array<{
1054
+ id: string;
1055
+ label?: any | null;
1056
+ system: boolean;
1057
+ type: AttributeType;
1058
+ format?: AttributeFormat | null;
1059
+ linked_library?: {
1060
+ id: string;
1061
+ behavior: LibraryBehavior;
1062
+ } | null;
1063
+ } | {
1064
+ id: string;
1065
+ label?: any | null;
1066
+ system: boolean;
1067
+ type: AttributeType;
1068
+ format?: AttributeFormat | null;
1069
+ }> | null;
1070
+ permissions_conf?: {
1071
+ relation: PermissionsRelation;
1072
+ permissionTreeAttributes: Array<{
1073
+ id: string;
1074
+ label?: any | null;
1075
+ } | {
1076
+ id: string;
1077
+ label?: any | null;
1078
+ linked_tree?: {
1079
+ id: string;
1080
+ } | null;
1081
+ }>;
1082
+ } | null;
1083
+ recordIdentityConf?: {
1084
+ label?: string | null;
1085
+ subLabel?: string | null;
1086
+ color?: string | null;
1087
+ preview?: string | null;
1088
+ treeColorPreview?: string | null;
1089
+ } | null;
1090
+ permissions?: {
1091
+ admin_library: boolean;
1092
+ access_library: boolean;
1093
+ access_record: boolean;
1094
+ create_record: boolean;
1095
+ edit_record: boolean;
1096
+ delete_record: boolean;
1097
+ } | null;
1098
+ icon?: {
1099
+ id: string;
1100
+ whoAmI: {
1101
+ id: string;
1102
+ label?: string | null;
1103
+ subLabel?: string | null;
1104
+ color?: string | null;
1105
+ preview?: IPreviewScalar | null;
1106
+ library: {
1107
+ id: string;
1108
+ label?: any | null;
1109
+ };
1110
+ };
1111
+ } | null;
1112
+ previewsSettings?: Array<{
1113
+ label: any;
1114
+ description?: any | null;
1115
+ system: boolean;
1116
+ versions: {
1117
+ background: string;
1118
+ density: number;
1119
+ sizes: Array<{
1120
+ name: string;
1121
+ size: number;
1122
+ }>;
1123
+ };
1124
+ }> | null;
1125
+ };
1126
+ export type LibraryAttributesLinkAttributeFragment = {
1127
+ id: string;
1128
+ label?: any | null;
1129
+ system: boolean;
1130
+ type: AttributeType;
1131
+ format?: AttributeFormat | null;
1132
+ linked_library?: {
1133
+ id: string;
1134
+ behavior: LibraryBehavior;
1135
+ } | null;
1136
+ };
1137
+ export type LibraryAttributesStandardAttributeTreeAttributeFragment = {
1138
+ id: string;
1139
+ label?: any | null;
1140
+ system: boolean;
1141
+ type: AttributeType;
1142
+ format?: AttributeFormat | null;
1143
+ };
1144
+ export type LibraryAttributesFragment = LibraryAttributesLinkAttributeFragment | LibraryAttributesStandardAttributeTreeAttributeFragment;
1145
+ export type LibraryLinkAttributeDetailsFragment = {
1146
+ linked_library?: {
1147
+ id: string;
1148
+ behavior: LibraryBehavior;
1149
+ } | null;
1150
+ };
1151
+ export type LibraryPreviewsSettingsFragment = {
1152
+ label: any;
1153
+ description?: any | null;
1154
+ system: boolean;
1155
+ versions: {
1156
+ background: string;
1157
+ density: number;
1158
+ sizes: Array<{
1159
+ name: string;
1160
+ size: number;
1161
+ }>;
1162
+ };
1163
+ };
1164
+ export type RecordFormElementFragment = {
1031
1165
  id: string;
1166
+ containerId: string;
1167
+ uiElementType: string;
1168
+ type: FormElementTypes;
1032
1169
  valueError?: string | null;
1033
1170
  values?: Array<{
1034
1171
  id_value?: string | null;
@@ -1412,86 +1549,30 @@ export type RecordFormElementValuesFragment = {
1412
1549
  } | null;
1413
1550
  } | null> | null;
1414
1551
  }> | null;
1415
- };
1416
- export type ValueDetailsLinkValueFragment = {
1417
- id_value?: string | null;
1418
- isInherited?: boolean | null;
1419
- isCalculated?: boolean | null;
1420
- modified_at?: number | null;
1421
- created_at?: number | null;
1422
- linkValue?: {
1423
- id: string;
1424
- whoAmI: {
1425
- id: string;
1426
- label?: string | null;
1427
- subLabel?: string | null;
1428
- color?: string | null;
1429
- preview?: IPreviewScalar | null;
1430
- library: {
1431
- id: string;
1432
- label?: any | null;
1433
- };
1434
- };
1435
- } | null;
1436
- modified_by?: {
1437
- id: string;
1438
- whoAmI: {
1439
- id: string;
1440
- label?: string | null;
1441
- subLabel?: string | null;
1442
- color?: string | null;
1443
- preview?: IPreviewScalar | null;
1444
- library: {
1445
- id: string;
1446
- label?: any | null;
1447
- };
1448
- };
1449
- } | null;
1450
- created_by?: {
1451
- id: string;
1452
- whoAmI: {
1453
- id: string;
1454
- label?: string | null;
1455
- subLabel?: string | null;
1456
- color?: string | null;
1457
- preview?: IPreviewScalar | null;
1458
- library: {
1459
- id: string;
1460
- label?: any | null;
1461
- };
1462
- };
1463
- } | null;
1464
- version?: Array<{
1465
- treeId: string;
1466
- treeNode?: {
1467
- id: string;
1468
- record: {
1469
- id: string;
1470
- whoAmI: {
1471
- id: string;
1472
- label?: string | null;
1473
- library: {
1474
- id: string;
1475
- };
1476
- };
1477
- };
1478
- } | null;
1479
- } | null> | null;
1480
- attribute: {
1552
+ attribute?: {
1481
1553
  id: string;
1482
- format?: AttributeFormat | null;
1554
+ label?: any | null;
1555
+ description?: any | null;
1483
1556
  type: AttributeType;
1557
+ format?: AttributeFormat | null;
1484
1558
  system: boolean;
1485
- };
1486
- metadata?: Array<{
1487
- name: string;
1488
- value?: {
1489
- id_value?: string | null;
1490
- modified_at?: number | null;
1491
- created_at?: number | null;
1492
- payload?: any | null;
1493
- raw_payload?: any | null;
1494
- modified_by?: {
1559
+ readonly: boolean;
1560
+ required: boolean;
1561
+ multiple_values: boolean;
1562
+ compute: boolean;
1563
+ linked_library?: {
1564
+ id: string;
1565
+ label?: any | null;
1566
+ behavior: LibraryBehavior;
1567
+ permissions?: {
1568
+ create_record: boolean;
1569
+ } | null;
1570
+ } | null;
1571
+ linkValuesList?: {
1572
+ enable: boolean;
1573
+ allowFreeEntry?: boolean | null;
1574
+ allowListUpdate?: boolean | null;
1575
+ values?: Array<{
1495
1576
  id: string;
1496
1577
  whoAmI: {
1497
1578
  id: string;
@@ -1504,385 +1585,518 @@ export type ValueDetailsLinkValueFragment = {
1504
1585
  label?: any | null;
1505
1586
  };
1506
1587
  };
1507
- } | null;
1508
- created_by?: {
1588
+ }> | null;
1589
+ } | null;
1590
+ permissions: {
1591
+ access_attribute: boolean;
1592
+ edit_value: boolean;
1593
+ };
1594
+ versions_conf?: {
1595
+ versionable: boolean;
1596
+ profile?: {
1509
1597
  id: string;
1510
- whoAmI: {
1598
+ trees: Array<{
1511
1599
  id: string;
1512
- label?: string | null;
1513
- subLabel?: string | null;
1514
- color?: string | null;
1515
- preview?: IPreviewScalar | null;
1516
- library: {
1517
- id: string;
1518
- label?: any | null;
1519
- };
1520
- };
1600
+ label?: any | null;
1601
+ }>;
1521
1602
  } | null;
1522
- version?: Array<{
1523
- treeId: string;
1524
- treeNode?: {
1525
- id: string;
1526
- record: {
1527
- id: string;
1528
- whoAmI: {
1529
- id: string;
1530
- label?: string | null;
1531
- library: {
1532
- id: string;
1533
- };
1534
- };
1535
- };
1536
- } | null;
1537
- } | null> | null;
1538
1603
  } | null;
1539
- } | null> | null;
1540
- };
1541
- export type ValueDetailsTreeValueFragment = {
1542
- id_value?: string | null;
1543
- isInherited?: boolean | null;
1544
- isCalculated?: boolean | null;
1545
- modified_at?: number | null;
1546
- created_at?: number | null;
1547
- treeValue?: {
1548
- id: string;
1549
- record: {
1604
+ metadata_fields?: Array<{
1550
1605
  id: string;
1551
- whoAmI: {
1552
- id: string;
1553
- label?: string | null;
1554
- subLabel?: string | null;
1555
- color?: string | null;
1556
- preview?: IPreviewScalar | null;
1557
- library: {
1558
- id: string;
1559
- label?: any | null;
1560
- };
1606
+ label?: any | null;
1607
+ description?: any | null;
1608
+ type: AttributeType;
1609
+ format?: AttributeFormat | null;
1610
+ system: boolean;
1611
+ readonly: boolean;
1612
+ multiple_values: boolean;
1613
+ permissions: {
1614
+ access_attribute: boolean;
1615
+ edit_value: boolean;
1561
1616
  };
1562
- };
1563
- ancestors?: Array<{
1564
- record: {
1617
+ values_list?: {
1618
+ enable: boolean;
1619
+ allowFreeEntry?: boolean | null;
1620
+ allowListUpdate?: boolean | null;
1621
+ dateRangeValues?: Array<{
1622
+ from?: string | null;
1623
+ to?: string | null;
1624
+ }> | null;
1625
+ } | {
1626
+ enable: boolean;
1627
+ allowFreeEntry?: boolean | null;
1628
+ allowListUpdate?: boolean | null;
1629
+ values?: Array<string> | null;
1630
+ } | null;
1631
+ metadata_fields?: Array<{
1565
1632
  id: string;
1566
- whoAmI: {
1567
- id: string;
1568
- label?: string | null;
1569
- subLabel?: string | null;
1570
- color?: string | null;
1571
- preview?: IPreviewScalar | null;
1572
- library: {
1573
- id: string;
1574
- label?: any | null;
1575
- };
1576
- };
1577
- };
1633
+ }> | null;
1578
1634
  }> | null;
1579
- } | null;
1580
- modified_by?: {
1581
- id: string;
1582
- whoAmI: {
1583
- id: string;
1584
- label?: string | null;
1585
- subLabel?: string | null;
1586
- color?: string | null;
1587
- preview?: IPreviewScalar | null;
1588
- library: {
1589
- id: string;
1590
- label?: any | null;
1591
- };
1592
- };
1593
- } | null;
1594
- created_by?: {
1635
+ } | {
1636
+ character_limit?: number | null;
1595
1637
  id: string;
1596
- whoAmI: {
1597
- id: string;
1598
- label?: string | null;
1599
- subLabel?: string | null;
1600
- color?: string | null;
1601
- preview?: IPreviewScalar | null;
1602
- library: {
1603
- id: string;
1604
- label?: any | null;
1605
- };
1638
+ label?: any | null;
1639
+ description?: any | null;
1640
+ type: AttributeType;
1641
+ format?: AttributeFormat | null;
1642
+ system: boolean;
1643
+ readonly: boolean;
1644
+ required: boolean;
1645
+ multiple_values: boolean;
1646
+ compute: boolean;
1647
+ values_list?: {
1648
+ enable: boolean;
1649
+ allowFreeEntry?: boolean | null;
1650
+ allowListUpdate?: boolean | null;
1651
+ dateRangeValues?: Array<{
1652
+ from?: string | null;
1653
+ to?: string | null;
1654
+ }> | null;
1655
+ } | {
1656
+ enable: boolean;
1657
+ allowFreeEntry?: boolean | null;
1658
+ allowListUpdate?: boolean | null;
1659
+ values?: Array<string> | null;
1660
+ } | null;
1661
+ permissions: {
1662
+ access_attribute: boolean;
1663
+ edit_value: boolean;
1606
1664
  };
1607
- } | null;
1608
- version?: Array<{
1609
- treeId: string;
1610
- treeNode?: {
1611
- id: string;
1612
- record: {
1665
+ versions_conf?: {
1666
+ versionable: boolean;
1667
+ profile?: {
1613
1668
  id: string;
1614
- whoAmI: {
1669
+ trees: Array<{
1615
1670
  id: string;
1616
- label?: string | null;
1617
- library: {
1618
- id: string;
1619
- };
1620
- };
1621
- };
1671
+ label?: any | null;
1672
+ }>;
1673
+ } | null;
1622
1674
  } | null;
1623
- } | null> | null;
1624
- attribute: {
1675
+ metadata_fields?: Array<{
1676
+ id: string;
1677
+ label?: any | null;
1678
+ description?: any | null;
1679
+ type: AttributeType;
1680
+ format?: AttributeFormat | null;
1681
+ system: boolean;
1682
+ readonly: boolean;
1683
+ multiple_values: boolean;
1684
+ permissions: {
1685
+ access_attribute: boolean;
1686
+ edit_value: boolean;
1687
+ };
1688
+ values_list?: {
1689
+ enable: boolean;
1690
+ allowFreeEntry?: boolean | null;
1691
+ allowListUpdate?: boolean | null;
1692
+ dateRangeValues?: Array<{
1693
+ from?: string | null;
1694
+ to?: string | null;
1695
+ }> | null;
1696
+ } | {
1697
+ enable: boolean;
1698
+ allowFreeEntry?: boolean | null;
1699
+ allowListUpdate?: boolean | null;
1700
+ values?: Array<string> | null;
1701
+ } | null;
1702
+ metadata_fields?: Array<{
1703
+ id: string;
1704
+ }> | null;
1705
+ }> | null;
1706
+ } | {
1625
1707
  id: string;
1626
- format?: AttributeFormat | null;
1708
+ label?: any | null;
1709
+ description?: any | null;
1627
1710
  type: AttributeType;
1711
+ format?: AttributeFormat | null;
1628
1712
  system: boolean;
1629
- };
1630
- metadata?: Array<{
1631
- name: string;
1632
- value?: {
1633
- id_value?: string | null;
1634
- modified_at?: number | null;
1635
- created_at?: number | null;
1636
- payload?: any | null;
1637
- raw_payload?: any | null;
1638
- modified_by?: {
1639
- id: string;
1640
- whoAmI: {
1641
- id: string;
1642
- label?: string | null;
1643
- subLabel?: string | null;
1644
- color?: string | null;
1645
- preview?: IPreviewScalar | null;
1646
- library: {
1647
- id: string;
1648
- label?: any | null;
1649
- };
1650
- };
1651
- } | null;
1652
- created_by?: {
1713
+ readonly: boolean;
1714
+ required: boolean;
1715
+ multiple_values: boolean;
1716
+ compute: boolean;
1717
+ linked_tree?: {
1718
+ id: string;
1719
+ label?: any | null;
1720
+ } | null;
1721
+ treeValuesList?: {
1722
+ enable: boolean;
1723
+ allowFreeEntry?: boolean | null;
1724
+ allowListUpdate?: boolean | null;
1725
+ values?: Array<{
1653
1726
  id: string;
1654
- whoAmI: {
1727
+ record: {
1655
1728
  id: string;
1656
- label?: string | null;
1657
- subLabel?: string | null;
1658
- color?: string | null;
1659
- preview?: IPreviewScalar | null;
1660
- library: {
1729
+ whoAmI: {
1661
1730
  id: string;
1662
- label?: any | null;
1731
+ label?: string | null;
1732
+ subLabel?: string | null;
1733
+ color?: string | null;
1734
+ preview?: IPreviewScalar | null;
1735
+ library: {
1736
+ id: string;
1737
+ label?: any | null;
1738
+ };
1663
1739
  };
1664
1740
  };
1665
- } | null;
1666
- version?: Array<{
1667
- treeId: string;
1668
- treeNode?: {
1669
- id: string;
1741
+ ancestors?: Array<{
1670
1742
  record: {
1671
1743
  id: string;
1672
1744
  whoAmI: {
1673
1745
  id: string;
1674
1746
  label?: string | null;
1675
- library: {
1747
+ subLabel?: string | null;
1748
+ color?: string | null;
1749
+ preview?: IPreviewScalar | null;
1750
+ library: {
1676
1751
  id: string;
1752
+ label?: any | null;
1677
1753
  };
1678
1754
  };
1679
1755
  };
1680
- } | null;
1681
- } | null> | null;
1756
+ }> | null;
1757
+ }> | null;
1682
1758
  } | null;
1683
- } | null> | null;
1684
- };
1685
- export type ValueDetailsValueFragment = {
1686
- payload?: any | null;
1687
- raw_payload?: any | null;
1688
- value?: any | null;
1689
- raw_value?: any | null;
1690
- id_value?: string | null;
1691
- isInherited?: boolean | null;
1692
- isCalculated?: boolean | null;
1693
- modified_at?: number | null;
1694
- created_at?: number | null;
1695
- modified_by?: {
1696
- id: string;
1697
- whoAmI: {
1698
- id: string;
1699
- label?: string | null;
1700
- subLabel?: string | null;
1701
- color?: string | null;
1702
- preview?: IPreviewScalar | null;
1703
- library: {
1704
- id: string;
1705
- label?: any | null;
1706
- };
1759
+ permissions: {
1760
+ access_attribute: boolean;
1761
+ edit_value: boolean;
1707
1762
  };
1708
- } | null;
1709
- created_by?: {
1710
- id: string;
1711
- whoAmI: {
1712
- id: string;
1713
- label?: string | null;
1714
- subLabel?: string | null;
1715
- color?: string | null;
1716
- preview?: IPreviewScalar | null;
1717
- library: {
1763
+ versions_conf?: {
1764
+ versionable: boolean;
1765
+ profile?: {
1718
1766
  id: string;
1719
- label?: any | null;
1767
+ trees: Array<{
1768
+ id: string;
1769
+ label?: any | null;
1770
+ }>;
1771
+ } | null;
1772
+ } | null;
1773
+ metadata_fields?: Array<{
1774
+ id: string;
1775
+ label?: any | null;
1776
+ description?: any | null;
1777
+ type: AttributeType;
1778
+ format?: AttributeFormat | null;
1779
+ system: boolean;
1780
+ readonly: boolean;
1781
+ multiple_values: boolean;
1782
+ permissions: {
1783
+ access_attribute: boolean;
1784
+ edit_value: boolean;
1720
1785
  };
1721
- };
1786
+ values_list?: {
1787
+ enable: boolean;
1788
+ allowFreeEntry?: boolean | null;
1789
+ allowListUpdate?: boolean | null;
1790
+ dateRangeValues?: Array<{
1791
+ from?: string | null;
1792
+ to?: string | null;
1793
+ }> | null;
1794
+ } | {
1795
+ enable: boolean;
1796
+ allowFreeEntry?: boolean | null;
1797
+ allowListUpdate?: boolean | null;
1798
+ values?: Array<string> | null;
1799
+ } | null;
1800
+ metadata_fields?: Array<{
1801
+ id: string;
1802
+ }> | null;
1803
+ }> | null;
1722
1804
  } | null;
1723
- version?: Array<{
1724
- treeId: string;
1725
- treeNode?: {
1805
+ settings: Array<{
1806
+ key: string;
1807
+ value: any;
1808
+ }>;
1809
+ joinLibraryContext?: {
1810
+ mandatoryAttribute: {
1726
1811
  id: string;
1727
- record: {
1812
+ label?: any | null;
1813
+ description?: any | null;
1814
+ type: AttributeType;
1815
+ format?: AttributeFormat | null;
1816
+ system: boolean;
1817
+ readonly: boolean;
1818
+ required: boolean;
1819
+ multiple_values: boolean;
1820
+ compute: boolean;
1821
+ linked_library?: {
1728
1822
  id: string;
1729
- whoAmI: {
1823
+ label?: any | null;
1824
+ behavior: LibraryBehavior;
1825
+ permissions?: {
1826
+ create_record: boolean;
1827
+ } | null;
1828
+ } | null;
1829
+ linkValuesList?: {
1830
+ enable: boolean;
1831
+ allowFreeEntry?: boolean | null;
1832
+ allowListUpdate?: boolean | null;
1833
+ values?: Array<{
1730
1834
  id: string;
1731
- label?: string | null;
1732
- library: {
1835
+ whoAmI: {
1733
1836
  id: string;
1837
+ label?: string | null;
1838
+ subLabel?: string | null;
1839
+ color?: string | null;
1840
+ preview?: IPreviewScalar | null;
1841
+ library: {
1842
+ id: string;
1843
+ label?: any | null;
1844
+ };
1734
1845
  };
1735
- };
1846
+ }> | null;
1847
+ } | null;
1848
+ permissions: {
1849
+ access_attribute: boolean;
1850
+ edit_value: boolean;
1736
1851
  };
1737
- } | null;
1738
- } | null> | null;
1739
- attribute: {
1740
- id: string;
1741
- format?: AttributeFormat | null;
1742
- type: AttributeType;
1743
- system: boolean;
1744
- };
1745
- metadata?: Array<{
1746
- name: string;
1747
- value?: {
1748
- id_value?: string | null;
1749
- modified_at?: number | null;
1750
- created_at?: number | null;
1751
- payload?: any | null;
1752
- raw_payload?: any | null;
1753
- modified_by?: {
1754
- id: string;
1755
- whoAmI: {
1852
+ versions_conf?: {
1853
+ versionable: boolean;
1854
+ profile?: {
1756
1855
  id: string;
1757
- label?: string | null;
1758
- subLabel?: string | null;
1759
- color?: string | null;
1760
- preview?: IPreviewScalar | null;
1761
- library: {
1856
+ trees: Array<{
1762
1857
  id: string;
1763
1858
  label?: any | null;
1764
- };
1765
- };
1859
+ }>;
1860
+ } | null;
1766
1861
  } | null;
1767
- created_by?: {
1862
+ metadata_fields?: Array<{
1768
1863
  id: string;
1769
- whoAmI: {
1770
- id: string;
1771
- label?: string | null;
1772
- subLabel?: string | null;
1773
- color?: string | null;
1774
- preview?: IPreviewScalar | null;
1775
- library: {
1776
- id: string;
1777
- label?: any | null;
1778
- };
1864
+ label?: any | null;
1865
+ description?: any | null;
1866
+ type: AttributeType;
1867
+ format?: AttributeFormat | null;
1868
+ system: boolean;
1869
+ readonly: boolean;
1870
+ multiple_values: boolean;
1871
+ permissions: {
1872
+ access_attribute: boolean;
1873
+ edit_value: boolean;
1779
1874
  };
1875
+ values_list?: {
1876
+ enable: boolean;
1877
+ allowFreeEntry?: boolean | null;
1878
+ allowListUpdate?: boolean | null;
1879
+ dateRangeValues?: Array<{
1880
+ from?: string | null;
1881
+ to?: string | null;
1882
+ }> | null;
1883
+ } | {
1884
+ enable: boolean;
1885
+ allowFreeEntry?: boolean | null;
1886
+ allowListUpdate?: boolean | null;
1887
+ values?: Array<string> | null;
1888
+ } | null;
1889
+ metadata_fields?: Array<{
1890
+ id: string;
1891
+ }> | null;
1892
+ }> | null;
1893
+ } | {
1894
+ character_limit?: number | null;
1895
+ id: string;
1896
+ label?: any | null;
1897
+ description?: any | null;
1898
+ type: AttributeType;
1899
+ format?: AttributeFormat | null;
1900
+ system: boolean;
1901
+ readonly: boolean;
1902
+ required: boolean;
1903
+ multiple_values: boolean;
1904
+ compute: boolean;
1905
+ values_list?: {
1906
+ enable: boolean;
1907
+ allowFreeEntry?: boolean | null;
1908
+ allowListUpdate?: boolean | null;
1909
+ dateRangeValues?: Array<{
1910
+ from?: string | null;
1911
+ to?: string | null;
1912
+ }> | null;
1913
+ } | {
1914
+ enable: boolean;
1915
+ allowFreeEntry?: boolean | null;
1916
+ allowListUpdate?: boolean | null;
1917
+ values?: Array<string> | null;
1780
1918
  } | null;
1781
- version?: Array<{
1782
- treeId: string;
1783
- treeNode?: {
1919
+ permissions: {
1920
+ access_attribute: boolean;
1921
+ edit_value: boolean;
1922
+ };
1923
+ versions_conf?: {
1924
+ versionable: boolean;
1925
+ profile?: {
1784
1926
  id: string;
1785
- record: {
1927
+ trees: Array<{
1786
1928
  id: string;
1787
- whoAmI: {
1788
- id: string;
1789
- label?: string | null;
1790
- library: {
1791
- id: string;
1792
- };
1793
- };
1794
- };
1929
+ label?: any | null;
1930
+ }>;
1795
1931
  } | null;
1796
- } | null> | null;
1797
- } | null;
1798
- } | null> | null;
1799
- };
1800
- export type ValueDetailsFragment = ValueDetailsLinkValueFragment | ValueDetailsTreeValueFragment | ValueDetailsValueFragment;
1801
- export type ValuesVersionDetailsFragment = {
1802
- treeId: string;
1803
- treeNode?: {
1804
- id: string;
1805
- record: {
1932
+ } | null;
1933
+ metadata_fields?: Array<{
1934
+ id: string;
1935
+ label?: any | null;
1936
+ description?: any | null;
1937
+ type: AttributeType;
1938
+ format?: AttributeFormat | null;
1939
+ system: boolean;
1940
+ readonly: boolean;
1941
+ multiple_values: boolean;
1942
+ permissions: {
1943
+ access_attribute: boolean;
1944
+ edit_value: boolean;
1945
+ };
1946
+ values_list?: {
1947
+ enable: boolean;
1948
+ allowFreeEntry?: boolean | null;
1949
+ allowListUpdate?: boolean | null;
1950
+ dateRangeValues?: Array<{
1951
+ from?: string | null;
1952
+ to?: string | null;
1953
+ }> | null;
1954
+ } | {
1955
+ enable: boolean;
1956
+ allowFreeEntry?: boolean | null;
1957
+ allowListUpdate?: boolean | null;
1958
+ values?: Array<string> | null;
1959
+ } | null;
1960
+ metadata_fields?: Array<{
1961
+ id: string;
1962
+ }> | null;
1963
+ }> | null;
1964
+ } | {
1806
1965
  id: string;
1807
- whoAmI: {
1966
+ label?: any | null;
1967
+ description?: any | null;
1968
+ type: AttributeType;
1969
+ format?: AttributeFormat | null;
1970
+ system: boolean;
1971
+ readonly: boolean;
1972
+ required: boolean;
1973
+ multiple_values: boolean;
1974
+ compute: boolean;
1975
+ linked_tree?: {
1808
1976
  id: string;
1809
- label?: string | null;
1810
- library: {
1977
+ label?: any | null;
1978
+ } | null;
1979
+ treeValuesList?: {
1980
+ enable: boolean;
1981
+ allowFreeEntry?: boolean | null;
1982
+ allowListUpdate?: boolean | null;
1983
+ values?: Array<{
1811
1984
  id: string;
1812
- };
1985
+ record: {
1986
+ id: string;
1987
+ whoAmI: {
1988
+ id: string;
1989
+ label?: string | null;
1990
+ subLabel?: string | null;
1991
+ color?: string | null;
1992
+ preview?: IPreviewScalar | null;
1993
+ library: {
1994
+ id: string;
1995
+ label?: any | null;
1996
+ };
1997
+ };
1998
+ };
1999
+ ancestors?: Array<{
2000
+ record: {
2001
+ id: string;
2002
+ whoAmI: {
2003
+ id: string;
2004
+ label?: string | null;
2005
+ subLabel?: string | null;
2006
+ color?: string | null;
2007
+ preview?: IPreviewScalar | null;
2008
+ library: {
2009
+ id: string;
2010
+ label?: any | null;
2011
+ };
2012
+ };
2013
+ };
2014
+ }> | null;
2015
+ }> | null;
2016
+ } | null;
2017
+ permissions: {
2018
+ access_attribute: boolean;
2019
+ edit_value: boolean;
1813
2020
  };
2021
+ versions_conf?: {
2022
+ versionable: boolean;
2023
+ profile?: {
2024
+ id: string;
2025
+ trees: Array<{
2026
+ id: string;
2027
+ label?: any | null;
2028
+ }>;
2029
+ } | null;
2030
+ } | null;
2031
+ metadata_fields?: Array<{
2032
+ id: string;
2033
+ label?: any | null;
2034
+ description?: any | null;
2035
+ type: AttributeType;
2036
+ format?: AttributeFormat | null;
2037
+ system: boolean;
2038
+ readonly: boolean;
2039
+ multiple_values: boolean;
2040
+ permissions: {
2041
+ access_attribute: boolean;
2042
+ edit_value: boolean;
2043
+ };
2044
+ values_list?: {
2045
+ enable: boolean;
2046
+ allowFreeEntry?: boolean | null;
2047
+ allowListUpdate?: boolean | null;
2048
+ dateRangeValues?: Array<{
2049
+ from?: string | null;
2050
+ to?: string | null;
2051
+ }> | null;
2052
+ } | {
2053
+ enable: boolean;
2054
+ allowFreeEntry?: boolean | null;
2055
+ allowListUpdate?: boolean | null;
2056
+ values?: Array<string> | null;
2057
+ } | null;
2058
+ metadata_fields?: Array<{
2059
+ id: string;
2060
+ }> | null;
2061
+ }> | null;
1814
2062
  };
1815
2063
  } | null;
1816
2064
  };
1817
- export type LibraryLightFragment = {
1818
- id: string;
1819
- label?: any | null;
1820
- icon?: {
2065
+ export type ValueDetailsLinkValueFragment = {
2066
+ id_value?: string | null;
2067
+ isInherited?: boolean | null;
2068
+ isCalculated?: boolean | null;
2069
+ modified_at?: number | null;
2070
+ created_at?: number | null;
2071
+ linkValue?: {
1821
2072
  id: string;
1822
2073
  whoAmI: {
1823
2074
  id: string;
2075
+ label?: string | null;
2076
+ subLabel?: string | null;
2077
+ color?: string | null;
1824
2078
  preview?: IPreviewScalar | null;
1825
2079
  library: {
1826
2080
  id: string;
2081
+ label?: any | null;
1827
2082
  };
1828
2083
  };
1829
2084
  } | null;
1830
- };
1831
- export type LibraryDetailsFragment = {
1832
- id: string;
1833
- label?: any | null;
1834
- behavior: LibraryBehavior;
1835
- system?: boolean | null;
1836
- fullTextAttributes?: Array<{
1837
- id: string;
1838
- label?: any | null;
1839
- }> | null;
1840
- attributes?: Array<{
1841
- id: string;
1842
- label?: any | null;
1843
- system: boolean;
1844
- type: AttributeType;
1845
- format?: AttributeFormat | null;
1846
- linked_library?: {
1847
- id: string;
1848
- behavior: LibraryBehavior;
1849
- } | null;
1850
- } | {
2085
+ modified_by?: {
1851
2086
  id: string;
1852
- label?: any | null;
1853
- system: boolean;
1854
- type: AttributeType;
1855
- format?: AttributeFormat | null;
1856
- }> | null;
1857
- permissions_conf?: {
1858
- relation: PermissionsRelation;
1859
- permissionTreeAttributes: Array<{
1860
- id: string;
1861
- label?: any | null;
1862
- } | {
2087
+ whoAmI: {
1863
2088
  id: string;
1864
- label?: any | null;
1865
- linked_tree?: {
2089
+ label?: string | null;
2090
+ subLabel?: string | null;
2091
+ color?: string | null;
2092
+ preview?: IPreviewScalar | null;
2093
+ library: {
1866
2094
  id: string;
1867
- } | null;
1868
- }>;
1869
- } | null;
1870
- recordIdentityConf?: {
1871
- label?: string | null;
1872
- subLabel?: string | null;
1873
- color?: string | null;
1874
- preview?: string | null;
1875
- treeColorPreview?: string | null;
1876
- } | null;
1877
- permissions?: {
1878
- admin_library: boolean;
1879
- access_library: boolean;
1880
- access_record: boolean;
1881
- create_record: boolean;
1882
- edit_record: boolean;
1883
- delete_record: boolean;
2095
+ label?: any | null;
2096
+ };
2097
+ };
1884
2098
  } | null;
1885
- icon?: {
2099
+ created_by?: {
1886
2100
  id: string;
1887
2101
  whoAmI: {
1888
2102
  id: string;
@@ -1896,87 +2110,37 @@ export type LibraryDetailsFragment = {
1896
2110
  };
1897
2111
  };
1898
2112
  } | null;
1899
- previewsSettings?: Array<{
1900
- label: any;
1901
- description?: any | null;
1902
- system: boolean;
1903
- versions: {
1904
- background: string;
1905
- density: number;
1906
- sizes: Array<{
1907
- name: string;
1908
- size: number;
1909
- }>;
1910
- };
1911
- }> | null;
1912
- };
1913
- export type LibraryAttributesLinkAttributeFragment = {
1914
- id: string;
1915
- label?: any | null;
1916
- system: boolean;
1917
- type: AttributeType;
1918
- format?: AttributeFormat | null;
1919
- linked_library?: {
2113
+ version?: Array<{
2114
+ treeId: string;
2115
+ treeNode?: {
2116
+ id: string;
2117
+ record: {
2118
+ id: string;
2119
+ whoAmI: {
2120
+ id: string;
2121
+ label?: string | null;
2122
+ library: {
2123
+ id: string;
2124
+ };
2125
+ };
2126
+ };
2127
+ } | null;
2128
+ } | null> | null;
2129
+ attribute: {
1920
2130
  id: string;
1921
- behavior: LibraryBehavior;
1922
- } | null;
1923
- };
1924
- export type LibraryAttributesStandardAttributeTreeAttributeFragment = {
1925
- id: string;
1926
- label?: any | null;
1927
- system: boolean;
1928
- type: AttributeType;
1929
- format?: AttributeFormat | null;
1930
- };
1931
- export type LibraryAttributesFragment = LibraryAttributesLinkAttributeFragment | LibraryAttributesStandardAttributeTreeAttributeFragment;
1932
- export type LibraryLinkAttributeDetailsFragment = {
1933
- linked_library?: {
1934
- id: string;
1935
- behavior: LibraryBehavior;
1936
- } | null;
1937
- };
1938
- export type LibraryPreviewsSettingsFragment = {
1939
- label: any;
1940
- description?: any | null;
1941
- system: boolean;
1942
- versions: {
1943
- background: string;
1944
- density: number;
1945
- sizes: Array<{
1946
- name: string;
1947
- size: number;
1948
- }>;
1949
- };
1950
- };
1951
- export type RecordFormElementFragment = {
1952
- id: string;
1953
- containerId: string;
1954
- uiElementType: string;
1955
- type: FormElementTypes;
1956
- attribute?: {
1957
- id: string;
1958
- label?: any | null;
1959
- description?: any | null;
1960
- type: AttributeType;
1961
2131
  format?: AttributeFormat | null;
2132
+ type: AttributeType;
1962
2133
  system: boolean;
1963
- readonly: boolean;
1964
- required: boolean;
1965
- multiple_values: boolean;
1966
- compute: boolean;
1967
- linked_library?: {
1968
- id: string;
1969
- label?: any | null;
1970
- behavior: LibraryBehavior;
1971
- permissions?: {
1972
- create_record: boolean;
1973
- } | null;
1974
- } | null;
1975
- linkValuesList?: {
1976
- enable: boolean;
1977
- allowFreeEntry?: boolean | null;
1978
- allowListUpdate?: boolean | null;
1979
- values?: Array<{
2134
+ };
2135
+ metadata?: Array<{
2136
+ name: string;
2137
+ value?: {
2138
+ id_value?: string | null;
2139
+ modified_at?: number | null;
2140
+ created_at?: number | null;
2141
+ payload?: any | null;
2142
+ raw_payload?: any | null;
2143
+ modified_by?: {
1980
2144
  id: string;
1981
2145
  whoAmI: {
1982
2146
  id: string;
@@ -1989,480 +2153,313 @@ export type RecordFormElementFragment = {
1989
2153
  label?: any | null;
1990
2154
  };
1991
2155
  };
1992
- }> | null;
1993
- } | null;
1994
- permissions: {
1995
- access_attribute: boolean;
1996
- edit_value: boolean;
1997
- };
1998
- versions_conf?: {
1999
- versionable: boolean;
2000
- profile?: {
2001
- id: string;
2002
- trees: Array<{
2003
- id: string;
2004
- label?: any | null;
2005
- }>;
2006
- } | null;
2007
- } | null;
2008
- metadata_fields?: Array<{
2009
- id: string;
2010
- label?: any | null;
2011
- description?: any | null;
2012
- type: AttributeType;
2013
- format?: AttributeFormat | null;
2014
- system: boolean;
2015
- readonly: boolean;
2016
- multiple_values: boolean;
2017
- permissions: {
2018
- access_attribute: boolean;
2019
- edit_value: boolean;
2020
- };
2021
- values_list?: {
2022
- enable: boolean;
2023
- allowFreeEntry?: boolean | null;
2024
- allowListUpdate?: boolean | null;
2025
- dateRangeValues?: Array<{
2026
- from?: string | null;
2027
- to?: string | null;
2028
- }> | null;
2029
- } | {
2030
- enable: boolean;
2031
- allowFreeEntry?: boolean | null;
2032
- allowListUpdate?: boolean | null;
2033
- values?: Array<string> | null;
2034
- } | null;
2035
- metadata_fields?: Array<{
2036
- id: string;
2037
- }> | null;
2038
- }> | null;
2039
- } | {
2040
- character_limit?: number | null;
2041
- id: string;
2042
- label?: any | null;
2043
- description?: any | null;
2044
- type: AttributeType;
2045
- format?: AttributeFormat | null;
2046
- system: boolean;
2047
- readonly: boolean;
2048
- required: boolean;
2049
- multiple_values: boolean;
2050
- compute: boolean;
2051
- values_list?: {
2052
- enable: boolean;
2053
- allowFreeEntry?: boolean | null;
2054
- allowListUpdate?: boolean | null;
2055
- dateRangeValues?: Array<{
2056
- from?: string | null;
2057
- to?: string | null;
2058
- }> | null;
2059
- } | {
2060
- enable: boolean;
2061
- allowFreeEntry?: boolean | null;
2062
- allowListUpdate?: boolean | null;
2063
- values?: Array<string> | null;
2064
- } | null;
2065
- permissions: {
2066
- access_attribute: boolean;
2067
- edit_value: boolean;
2068
- };
2069
- versions_conf?: {
2070
- versionable: boolean;
2071
- profile?: {
2072
- id: string;
2073
- trees: Array<{
2074
- id: string;
2075
- label?: any | null;
2076
- }>;
2077
- } | null;
2078
- } | null;
2079
- metadata_fields?: Array<{
2080
- id: string;
2081
- label?: any | null;
2082
- description?: any | null;
2083
- type: AttributeType;
2084
- format?: AttributeFormat | null;
2085
- system: boolean;
2086
- readonly: boolean;
2087
- multiple_values: boolean;
2088
- permissions: {
2089
- access_attribute: boolean;
2090
- edit_value: boolean;
2091
- };
2092
- values_list?: {
2093
- enable: boolean;
2094
- allowFreeEntry?: boolean | null;
2095
- allowListUpdate?: boolean | null;
2096
- dateRangeValues?: Array<{
2097
- from?: string | null;
2098
- to?: string | null;
2099
- }> | null;
2100
- } | {
2101
- enable: boolean;
2102
- allowFreeEntry?: boolean | null;
2103
- allowListUpdate?: boolean | null;
2104
- values?: Array<string> | null;
2105
2156
  } | null;
2106
- metadata_fields?: Array<{
2107
- id: string;
2108
- }> | null;
2109
- }> | null;
2110
- } | {
2111
- id: string;
2112
- label?: any | null;
2113
- description?: any | null;
2114
- type: AttributeType;
2115
- format?: AttributeFormat | null;
2116
- system: boolean;
2117
- readonly: boolean;
2118
- required: boolean;
2119
- multiple_values: boolean;
2120
- compute: boolean;
2121
- linked_tree?: {
2122
- id: string;
2123
- label?: any | null;
2124
- } | null;
2125
- treeValuesList?: {
2126
- enable: boolean;
2127
- allowFreeEntry?: boolean | null;
2128
- allowListUpdate?: boolean | null;
2129
- values?: Array<{
2157
+ created_by?: {
2130
2158
  id: string;
2131
- record: {
2159
+ whoAmI: {
2132
2160
  id: string;
2133
- whoAmI: {
2161
+ label?: string | null;
2162
+ subLabel?: string | null;
2163
+ color?: string | null;
2164
+ preview?: IPreviewScalar | null;
2165
+ library: {
2134
2166
  id: string;
2135
- label?: string | null;
2136
- subLabel?: string | null;
2137
- color?: string | null;
2138
- preview?: IPreviewScalar | null;
2139
- library: {
2140
- id: string;
2141
- label?: any | null;
2142
- };
2167
+ label?: any | null;
2143
2168
  };
2144
2169
  };
2145
- ancestors?: Array<{
2170
+ } | null;
2171
+ version?: Array<{
2172
+ treeId: string;
2173
+ treeNode?: {
2174
+ id: string;
2146
2175
  record: {
2147
2176
  id: string;
2148
2177
  whoAmI: {
2149
2178
  id: string;
2150
2179
  label?: string | null;
2151
- subLabel?: string | null;
2152
- color?: string | null;
2153
- preview?: IPreviewScalar | null;
2154
2180
  library: {
2155
2181
  id: string;
2156
- label?: any | null;
2157
2182
  };
2158
2183
  };
2159
2184
  };
2160
- }> | null;
2161
- }> | null;
2185
+ } | null;
2186
+ } | null> | null;
2162
2187
  } | null;
2163
- permissions: {
2164
- access_attribute: boolean;
2165
- edit_value: boolean;
2166
- };
2167
- versions_conf?: {
2168
- versionable: boolean;
2169
- profile?: {
2188
+ } | null> | null;
2189
+ };
2190
+ export type ValueDetailsTreeValueFragment = {
2191
+ id_value?: string | null;
2192
+ isInherited?: boolean | null;
2193
+ isCalculated?: boolean | null;
2194
+ modified_at?: number | null;
2195
+ created_at?: number | null;
2196
+ treeValue?: {
2197
+ id: string;
2198
+ record: {
2199
+ id: string;
2200
+ whoAmI: {
2170
2201
  id: string;
2171
- trees: Array<{
2202
+ label?: string | null;
2203
+ subLabel?: string | null;
2204
+ color?: string | null;
2205
+ preview?: IPreviewScalar | null;
2206
+ library: {
2172
2207
  id: string;
2173
2208
  label?: any | null;
2174
- }>;
2175
- } | null;
2176
- } | null;
2177
- metadata_fields?: Array<{
2178
- id: string;
2179
- label?: any | null;
2180
- description?: any | null;
2181
- type: AttributeType;
2182
- format?: AttributeFormat | null;
2183
- system: boolean;
2184
- readonly: boolean;
2185
- multiple_values: boolean;
2186
- permissions: {
2187
- access_attribute: boolean;
2188
- edit_value: boolean;
2209
+ };
2189
2210
  };
2190
- values_list?: {
2191
- enable: boolean;
2192
- allowFreeEntry?: boolean | null;
2193
- allowListUpdate?: boolean | null;
2194
- dateRangeValues?: Array<{
2195
- from?: string | null;
2196
- to?: string | null;
2197
- }> | null;
2198
- } | {
2199
- enable: boolean;
2200
- allowFreeEntry?: boolean | null;
2201
- allowListUpdate?: boolean | null;
2202
- values?: Array<string> | null;
2203
- } | null;
2204
- metadata_fields?: Array<{
2211
+ };
2212
+ ancestors?: Array<{
2213
+ record: {
2205
2214
  id: string;
2206
- }> | null;
2215
+ whoAmI: {
2216
+ id: string;
2217
+ label?: string | null;
2218
+ subLabel?: string | null;
2219
+ color?: string | null;
2220
+ preview?: IPreviewScalar | null;
2221
+ library: {
2222
+ id: string;
2223
+ label?: any | null;
2224
+ };
2225
+ };
2226
+ };
2207
2227
  }> | null;
2208
2228
  } | null;
2209
- settings: Array<{
2210
- key: string;
2211
- value: any;
2212
- }>;
2213
- joinLibraryContext?: {
2214
- mandatoryAttribute: {
2229
+ modified_by?: {
2230
+ id: string;
2231
+ whoAmI: {
2215
2232
  id: string;
2216
- label?: any | null;
2217
- description?: any | null;
2218
- type: AttributeType;
2219
- format?: AttributeFormat | null;
2220
- system: boolean;
2221
- readonly: boolean;
2222
- required: boolean;
2223
- multiple_values: boolean;
2224
- compute: boolean;
2225
- linked_library?: {
2233
+ label?: string | null;
2234
+ subLabel?: string | null;
2235
+ color?: string | null;
2236
+ preview?: IPreviewScalar | null;
2237
+ library: {
2226
2238
  id: string;
2227
2239
  label?: any | null;
2228
- behavior: LibraryBehavior;
2229
- permissions?: {
2230
- create_record: boolean;
2231
- } | null;
2232
- } | null;
2233
- linkValuesList?: {
2234
- enable: boolean;
2235
- allowFreeEntry?: boolean | null;
2236
- allowListUpdate?: boolean | null;
2237
- values?: Array<{
2240
+ };
2241
+ };
2242
+ } | null;
2243
+ created_by?: {
2244
+ id: string;
2245
+ whoAmI: {
2246
+ id: string;
2247
+ label?: string | null;
2248
+ subLabel?: string | null;
2249
+ color?: string | null;
2250
+ preview?: IPreviewScalar | null;
2251
+ library: {
2252
+ id: string;
2253
+ label?: any | null;
2254
+ };
2255
+ };
2256
+ } | null;
2257
+ version?: Array<{
2258
+ treeId: string;
2259
+ treeNode?: {
2260
+ id: string;
2261
+ record: {
2262
+ id: string;
2263
+ whoAmI: {
2238
2264
  id: string;
2239
- whoAmI: {
2265
+ label?: string | null;
2266
+ library: {
2240
2267
  id: string;
2241
- label?: string | null;
2242
- subLabel?: string | null;
2243
- color?: string | null;
2244
- preview?: IPreviewScalar | null;
2245
- library: {
2246
- id: string;
2247
- label?: any | null;
2248
- };
2249
2268
  };
2250
- }> | null;
2251
- } | null;
2252
- permissions: {
2253
- access_attribute: boolean;
2254
- edit_value: boolean;
2269
+ };
2255
2270
  };
2256
- versions_conf?: {
2257
- versionable: boolean;
2258
- profile?: {
2271
+ } | null;
2272
+ } | null> | null;
2273
+ attribute: {
2274
+ id: string;
2275
+ format?: AttributeFormat | null;
2276
+ type: AttributeType;
2277
+ system: boolean;
2278
+ };
2279
+ metadata?: Array<{
2280
+ name: string;
2281
+ value?: {
2282
+ id_value?: string | null;
2283
+ modified_at?: number | null;
2284
+ created_at?: number | null;
2285
+ payload?: any | null;
2286
+ raw_payload?: any | null;
2287
+ modified_by?: {
2288
+ id: string;
2289
+ whoAmI: {
2259
2290
  id: string;
2260
- trees: Array<{
2291
+ label?: string | null;
2292
+ subLabel?: string | null;
2293
+ color?: string | null;
2294
+ preview?: IPreviewScalar | null;
2295
+ library: {
2261
2296
  id: string;
2262
2297
  label?: any | null;
2263
- }>;
2264
- } | null;
2298
+ };
2299
+ };
2265
2300
  } | null;
2266
- metadata_fields?: Array<{
2301
+ created_by?: {
2267
2302
  id: string;
2268
- label?: any | null;
2269
- description?: any | null;
2270
- type: AttributeType;
2271
- format?: AttributeFormat | null;
2272
- system: boolean;
2273
- readonly: boolean;
2274
- multiple_values: boolean;
2275
- permissions: {
2276
- access_attribute: boolean;
2277
- edit_value: boolean;
2278
- };
2279
- values_list?: {
2280
- enable: boolean;
2281
- allowFreeEntry?: boolean | null;
2282
- allowListUpdate?: boolean | null;
2283
- dateRangeValues?: Array<{
2284
- from?: string | null;
2285
- to?: string | null;
2286
- }> | null;
2287
- } | {
2288
- enable: boolean;
2289
- allowFreeEntry?: boolean | null;
2290
- allowListUpdate?: boolean | null;
2291
- values?: Array<string> | null;
2292
- } | null;
2293
- metadata_fields?: Array<{
2303
+ whoAmI: {
2294
2304
  id: string;
2295
- }> | null;
2296
- }> | null;
2297
- } | {
2298
- character_limit?: number | null;
2299
- id: string;
2300
- label?: any | null;
2301
- description?: any | null;
2302
- type: AttributeType;
2303
- format?: AttributeFormat | null;
2304
- system: boolean;
2305
- readonly: boolean;
2306
- required: boolean;
2307
- multiple_values: boolean;
2308
- compute: boolean;
2309
- values_list?: {
2310
- enable: boolean;
2311
- allowFreeEntry?: boolean | null;
2312
- allowListUpdate?: boolean | null;
2313
- dateRangeValues?: Array<{
2314
- from?: string | null;
2315
- to?: string | null;
2316
- }> | null;
2317
- } | {
2318
- enable: boolean;
2319
- allowFreeEntry?: boolean | null;
2320
- allowListUpdate?: boolean | null;
2321
- values?: Array<string> | null;
2305
+ label?: string | null;
2306
+ subLabel?: string | null;
2307
+ color?: string | null;
2308
+ preview?: IPreviewScalar | null;
2309
+ library: {
2310
+ id: string;
2311
+ label?: any | null;
2312
+ };
2313
+ };
2322
2314
  } | null;
2323
- permissions: {
2324
- access_attribute: boolean;
2325
- edit_value: boolean;
2326
- };
2327
- versions_conf?: {
2328
- versionable: boolean;
2329
- profile?: {
2315
+ version?: Array<{
2316
+ treeId: string;
2317
+ treeNode?: {
2330
2318
  id: string;
2331
- trees: Array<{
2319
+ record: {
2332
2320
  id: string;
2333
- label?: any | null;
2334
- }>;
2321
+ whoAmI: {
2322
+ id: string;
2323
+ label?: string | null;
2324
+ library: {
2325
+ id: string;
2326
+ };
2327
+ };
2328
+ };
2335
2329
  } | null;
2336
- } | null;
2337
- metadata_fields?: Array<{
2338
- id: string;
2339
- label?: any | null;
2340
- description?: any | null;
2341
- type: AttributeType;
2342
- format?: AttributeFormat | null;
2343
- system: boolean;
2344
- readonly: boolean;
2345
- multiple_values: boolean;
2346
- permissions: {
2347
- access_attribute: boolean;
2348
- edit_value: boolean;
2349
- };
2350
- values_list?: {
2351
- enable: boolean;
2352
- allowFreeEntry?: boolean | null;
2353
- allowListUpdate?: boolean | null;
2354
- dateRangeValues?: Array<{
2355
- from?: string | null;
2356
- to?: string | null;
2357
- }> | null;
2358
- } | {
2359
- enable: boolean;
2360
- allowFreeEntry?: boolean | null;
2361
- allowListUpdate?: boolean | null;
2362
- values?: Array<string> | null;
2363
- } | null;
2364
- metadata_fields?: Array<{
2365
- id: string;
2366
- }> | null;
2367
- }> | null;
2368
- } | {
2330
+ } | null> | null;
2331
+ } | null;
2332
+ } | null> | null;
2333
+ };
2334
+ export type ValueDetailsValueFragment = {
2335
+ payload?: any | null;
2336
+ raw_payload?: any | null;
2337
+ value?: any | null;
2338
+ raw_value?: any | null;
2339
+ id_value?: string | null;
2340
+ isInherited?: boolean | null;
2341
+ isCalculated?: boolean | null;
2342
+ modified_at?: number | null;
2343
+ created_at?: number | null;
2344
+ modified_by?: {
2345
+ id: string;
2346
+ whoAmI: {
2369
2347
  id: string;
2370
- label?: any | null;
2371
- description?: any | null;
2372
- type: AttributeType;
2373
- format?: AttributeFormat | null;
2374
- system: boolean;
2375
- readonly: boolean;
2376
- required: boolean;
2377
- multiple_values: boolean;
2378
- compute: boolean;
2379
- linked_tree?: {
2348
+ label?: string | null;
2349
+ subLabel?: string | null;
2350
+ color?: string | null;
2351
+ preview?: IPreviewScalar | null;
2352
+ library: {
2353
+ id: string;
2354
+ label?: any | null;
2355
+ };
2356
+ };
2357
+ } | null;
2358
+ created_by?: {
2359
+ id: string;
2360
+ whoAmI: {
2361
+ id: string;
2362
+ label?: string | null;
2363
+ subLabel?: string | null;
2364
+ color?: string | null;
2365
+ preview?: IPreviewScalar | null;
2366
+ library: {
2380
2367
  id: string;
2381
2368
  label?: any | null;
2369
+ };
2370
+ };
2371
+ } | null;
2372
+ version?: Array<{
2373
+ treeId: string;
2374
+ treeNode?: {
2375
+ id: string;
2376
+ record: {
2377
+ id: string;
2378
+ whoAmI: {
2379
+ id: string;
2380
+ label?: string | null;
2381
+ library: {
2382
+ id: string;
2383
+ };
2384
+ };
2385
+ };
2386
+ } | null;
2387
+ } | null> | null;
2388
+ attribute: {
2389
+ id: string;
2390
+ format?: AttributeFormat | null;
2391
+ type: AttributeType;
2392
+ system: boolean;
2393
+ };
2394
+ metadata?: Array<{
2395
+ name: string;
2396
+ value?: {
2397
+ id_value?: string | null;
2398
+ modified_at?: number | null;
2399
+ created_at?: number | null;
2400
+ payload?: any | null;
2401
+ raw_payload?: any | null;
2402
+ modified_by?: {
2403
+ id: string;
2404
+ whoAmI: {
2405
+ id: string;
2406
+ label?: string | null;
2407
+ subLabel?: string | null;
2408
+ color?: string | null;
2409
+ preview?: IPreviewScalar | null;
2410
+ library: {
2411
+ id: string;
2412
+ label?: any | null;
2413
+ };
2414
+ };
2382
2415
  } | null;
2383
- treeValuesList?: {
2384
- enable: boolean;
2385
- allowFreeEntry?: boolean | null;
2386
- allowListUpdate?: boolean | null;
2387
- values?: Array<{
2416
+ created_by?: {
2417
+ id: string;
2418
+ whoAmI: {
2419
+ id: string;
2420
+ label?: string | null;
2421
+ subLabel?: string | null;
2422
+ color?: string | null;
2423
+ preview?: IPreviewScalar | null;
2424
+ library: {
2425
+ id: string;
2426
+ label?: any | null;
2427
+ };
2428
+ };
2429
+ } | null;
2430
+ version?: Array<{
2431
+ treeId: string;
2432
+ treeNode?: {
2388
2433
  id: string;
2389
2434
  record: {
2390
2435
  id: string;
2391
2436
  whoAmI: {
2392
2437
  id: string;
2393
2438
  label?: string | null;
2394
- subLabel?: string | null;
2395
- color?: string | null;
2396
- preview?: IPreviewScalar | null;
2397
2439
  library: {
2398
2440
  id: string;
2399
- label?: any | null;
2400
2441
  };
2401
2442
  };
2402
2443
  };
2403
- ancestors?: Array<{
2404
- record: {
2405
- id: string;
2406
- whoAmI: {
2407
- id: string;
2408
- label?: string | null;
2409
- subLabel?: string | null;
2410
- color?: string | null;
2411
- preview?: IPreviewScalar | null;
2412
- library: {
2413
- id: string;
2414
- label?: any | null;
2415
- };
2416
- };
2417
- };
2418
- }> | null;
2419
- }> | null;
2420
- } | null;
2421
- permissions: {
2422
- access_attribute: boolean;
2423
- edit_value: boolean;
2424
- };
2425
- versions_conf?: {
2426
- versionable: boolean;
2427
- profile?: {
2428
- id: string;
2429
- trees: Array<{
2430
- id: string;
2431
- label?: any | null;
2432
- }>;
2433
2444
  } | null;
2434
- } | null;
2435
- metadata_fields?: Array<{
2445
+ } | null> | null;
2446
+ } | null;
2447
+ } | null> | null;
2448
+ };
2449
+ export type ValueDetailsFragment = ValueDetailsLinkValueFragment | ValueDetailsTreeValueFragment | ValueDetailsValueFragment;
2450
+ export type ValuesVersionDetailsFragment = {
2451
+ treeId: string;
2452
+ treeNode?: {
2453
+ id: string;
2454
+ record: {
2455
+ id: string;
2456
+ whoAmI: {
2436
2457
  id: string;
2437
- label?: any | null;
2438
- description?: any | null;
2439
- type: AttributeType;
2440
- format?: AttributeFormat | null;
2441
- system: boolean;
2442
- readonly: boolean;
2443
- multiple_values: boolean;
2444
- permissions: {
2445
- access_attribute: boolean;
2446
- edit_value: boolean;
2447
- };
2448
- values_list?: {
2449
- enable: boolean;
2450
- allowFreeEntry?: boolean | null;
2451
- allowListUpdate?: boolean | null;
2452
- dateRangeValues?: Array<{
2453
- from?: string | null;
2454
- to?: string | null;
2455
- }> | null;
2456
- } | {
2457
- enable: boolean;
2458
- allowFreeEntry?: boolean | null;
2459
- allowListUpdate?: boolean | null;
2460
- values?: Array<string> | null;
2461
- } | null;
2462
- metadata_fields?: Array<{
2458
+ label?: string | null;
2459
+ library: {
2463
2460
  id: string;
2464
- }> | null;
2465
- }> | null;
2461
+ };
2462
+ };
2466
2463
  };
2467
2464
  } | null;
2468
2465
  };
@@ -3210,6 +3207,14 @@ export type LinkAttributeDetailsFragment = {
3210
3207
  }> | null;
3211
3208
  } | null;
3212
3209
  };
3210
+ export type TreeAttributeDetailsFragment = {
3211
+ id: string;
3212
+ label?: any | null;
3213
+ linked_tree?: {
3214
+ id: string;
3215
+ label?: any | null;
3216
+ } | null;
3217
+ };
3213
3218
  export type AttributePropertiesFragment = {
3214
3219
  id: string;
3215
3220
  label?: any | null;
@@ -3954,195 +3959,111 @@ export type UploadMutation = {
3954
3959
  };
3955
3960
  }>;
3956
3961
  };
3957
- export type GetRecordFormElementsValuesQueryVariables = Exact<{
3958
- recordId?: InputMaybe<Scalars['String']>;
3959
- libraryId: Scalars['String'];
3960
- formId: Scalars['String'];
3961
- version?: InputMaybe<Array<ValueVersionInput> | ValueVersionInput>;
3962
- elementIds?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
3962
+ export type ImportExcelMutationVariables = Exact<{
3963
+ file: Scalars['Upload'];
3964
+ sheets?: InputMaybe<Array<InputMaybe<SheetInput>> | InputMaybe<SheetInput>>;
3965
+ startAt?: InputMaybe<Scalars['Int']>;
3966
+ }>;
3967
+ export type ImportExcelMutation = {
3968
+ importExcel: string;
3969
+ };
3970
+ export type CheckLibraryExistenceQueryVariables = Exact<{
3971
+ id?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
3972
+ }>;
3973
+ export type CheckLibraryExistenceQuery = {
3974
+ libraries?: {
3975
+ totalCount: number;
3976
+ } | null;
3977
+ };
3978
+ export type DeleteLibraryMutationVariables = Exact<{
3979
+ id?: InputMaybe<Scalars['ID']>;
3963
3980
  }>;
3964
- export type GetRecordFormElementsValuesQuery = {
3965
- getRecordFormElementsValues?: Array<{
3981
+ export type DeleteLibraryMutation = {
3982
+ deleteLibrary: {
3966
3983
  id: string;
3967
- valueError?: string | null;
3968
- values?: Array<{
3969
- id_value?: string | null;
3970
- isInherited?: boolean | null;
3971
- isCalculated?: boolean | null;
3972
- modified_at?: number | null;
3973
- created_at?: number | null;
3974
- linkValue?: {
3984
+ };
3985
+ };
3986
+ export type GetLibrariesQueryVariables = Exact<{
3987
+ [key: string]: never;
3988
+ }>;
3989
+ export type GetLibrariesQuery = {
3990
+ libraries?: {
3991
+ list: Array<{
3992
+ id: string;
3993
+ label?: any | null;
3994
+ icon?: {
3975
3995
  id: string;
3976
3996
  whoAmI: {
3977
3997
  id: string;
3978
- label?: string | null;
3979
- subLabel?: string | null;
3980
- color?: string | null;
3981
3998
  preview?: IPreviewScalar | null;
3982
3999
  library: {
3983
4000
  id: string;
3984
- label?: any | null;
3985
4001
  };
3986
4002
  };
3987
4003
  } | null;
3988
- modified_by?: {
4004
+ }>;
4005
+ } | null;
4006
+ };
4007
+ export type GetLibraryByIdQueryVariables = Exact<{
4008
+ id?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
4009
+ }>;
4010
+ export type GetLibraryByIdQuery = {
4011
+ libraries?: {
4012
+ list: Array<{
4013
+ id: string;
4014
+ label?: any | null;
4015
+ behavior: LibraryBehavior;
4016
+ system?: boolean | null;
4017
+ fullTextAttributes?: Array<{
3989
4018
  id: string;
3990
- whoAmI: {
3991
- id: string;
3992
- label?: string | null;
3993
- subLabel?: string | null;
3994
- color?: string | null;
3995
- preview?: IPreviewScalar | null;
3996
- library: {
3997
- id: string;
3998
- label?: any | null;
3999
- };
4000
- };
4001
- } | null;
4002
- created_by?: {
4019
+ label?: any | null;
4020
+ }> | null;
4021
+ attributes?: Array<{
4003
4022
  id: string;
4004
- whoAmI: {
4005
- id: string;
4006
- label?: string | null;
4007
- subLabel?: string | null;
4008
- color?: string | null;
4009
- preview?: IPreviewScalar | null;
4010
- library: {
4011
- id: string;
4012
- label?: any | null;
4013
- };
4014
- };
4015
- } | null;
4016
- version?: Array<{
4017
- treeId: string;
4018
- treeNode?: {
4023
+ label?: any | null;
4024
+ system: boolean;
4025
+ type: AttributeType;
4026
+ format?: AttributeFormat | null;
4027
+ linked_library?: {
4019
4028
  id: string;
4020
- record: {
4021
- id: string;
4022
- whoAmI: {
4023
- id: string;
4024
- label?: string | null;
4025
- library: {
4026
- id: string;
4027
- };
4028
- };
4029
- };
4029
+ behavior: LibraryBehavior;
4030
4030
  } | null;
4031
- } | null> | null;
4032
- attribute: {
4031
+ } | {
4033
4032
  id: string;
4034
- format?: AttributeFormat | null;
4035
- type: AttributeType;
4033
+ label?: any | null;
4036
4034
  system: boolean;
4037
- };
4038
- metadata?: Array<{
4039
- name: string;
4040
- value?: {
4041
- id_value?: string | null;
4042
- modified_at?: number | null;
4043
- created_at?: number | null;
4044
- payload?: any | null;
4045
- raw_payload?: any | null;
4046
- modified_by?: {
4047
- id: string;
4048
- whoAmI: {
4049
- id: string;
4050
- label?: string | null;
4051
- subLabel?: string | null;
4052
- color?: string | null;
4053
- preview?: IPreviewScalar | null;
4054
- library: {
4055
- id: string;
4056
- label?: any | null;
4057
- };
4058
- };
4059
- } | null;
4060
- created_by?: {
4061
- id: string;
4062
- whoAmI: {
4063
- id: string;
4064
- label?: string | null;
4065
- subLabel?: string | null;
4066
- color?: string | null;
4067
- preview?: IPreviewScalar | null;
4068
- library: {
4069
- id: string;
4070
- label?: any | null;
4071
- };
4072
- };
4073
- } | null;
4074
- version?: Array<{
4075
- treeId: string;
4076
- treeNode?: {
4077
- id: string;
4078
- record: {
4079
- id: string;
4080
- whoAmI: {
4081
- id: string;
4082
- label?: string | null;
4083
- library: {
4084
- id: string;
4085
- };
4086
- };
4087
- };
4088
- } | null;
4089
- } | null> | null;
4090
- } | null;
4091
- } | null> | null;
4092
- } | {
4093
- id_value?: string | null;
4094
- isInherited?: boolean | null;
4095
- isCalculated?: boolean | null;
4096
- modified_at?: number | null;
4097
- created_at?: number | null;
4098
- treeValue?: {
4099
- id: string;
4100
- record: {
4035
+ type: AttributeType;
4036
+ format?: AttributeFormat | null;
4037
+ }> | null;
4038
+ permissions_conf?: {
4039
+ relation: PermissionsRelation;
4040
+ permissionTreeAttributes: Array<{
4101
4041
  id: string;
4102
- whoAmI: {
4103
- id: string;
4104
- label?: string | null;
4105
- subLabel?: string | null;
4106
- color?: string | null;
4107
- preview?: IPreviewScalar | null;
4108
- library: {
4109
- id: string;
4110
- label?: any | null;
4111
- };
4112
- };
4113
- };
4114
- ancestors?: Array<{
4115
- record: {
4116
- id: string;
4117
- whoAmI: {
4118
- id: string;
4119
- label?: string | null;
4120
- subLabel?: string | null;
4121
- color?: string | null;
4122
- preview?: IPreviewScalar | null;
4123
- library: {
4124
- id: string;
4125
- label?: any | null;
4126
- };
4127
- };
4128
- };
4129
- }> | null;
4130
- } | null;
4131
- modified_by?: {
4132
- id: string;
4133
- whoAmI: {
4042
+ label?: any | null;
4043
+ } | {
4134
4044
  id: string;
4135
- label?: string | null;
4136
- subLabel?: string | null;
4137
- color?: string | null;
4138
- preview?: IPreviewScalar | null;
4139
- library: {
4045
+ label?: any | null;
4046
+ linked_tree?: {
4140
4047
  id: string;
4141
- label?: any | null;
4142
- };
4143
- };
4048
+ } | null;
4049
+ }>;
4144
4050
  } | null;
4145
- created_by?: {
4051
+ recordIdentityConf?: {
4052
+ label?: string | null;
4053
+ subLabel?: string | null;
4054
+ color?: string | null;
4055
+ preview?: string | null;
4056
+ treeColorPreview?: string | null;
4057
+ } | null;
4058
+ permissions?: {
4059
+ admin_library: boolean;
4060
+ access_library: boolean;
4061
+ access_record: boolean;
4062
+ create_record: boolean;
4063
+ edit_record: boolean;
4064
+ delete_record: boolean;
4065
+ } | null;
4066
+ icon?: {
4146
4067
  id: string;
4147
4068
  whoAmI: {
4148
4069
  id: string;
@@ -4156,394 +4077,83 @@ export type GetRecordFormElementsValuesQuery = {
4156
4077
  };
4157
4078
  };
4158
4079
  } | null;
4159
- version?: Array<{
4160
- treeId: string;
4161
- treeNode?: {
4162
- id: string;
4163
- record: {
4164
- id: string;
4165
- whoAmI: {
4166
- id: string;
4167
- label?: string | null;
4168
- library: {
4169
- id: string;
4170
- };
4171
- };
4172
- };
4173
- } | null;
4174
- } | null> | null;
4175
- attribute: {
4176
- id: string;
4177
- format?: AttributeFormat | null;
4178
- type: AttributeType;
4080
+ previewsSettings?: Array<{
4081
+ label: any;
4082
+ description?: any | null;
4179
4083
  system: boolean;
4180
- };
4181
- metadata?: Array<{
4182
- name: string;
4183
- value?: {
4184
- id_value?: string | null;
4185
- modified_at?: number | null;
4186
- created_at?: number | null;
4187
- payload?: any | null;
4188
- raw_payload?: any | null;
4189
- modified_by?: {
4190
- id: string;
4191
- whoAmI: {
4192
- id: string;
4193
- label?: string | null;
4194
- subLabel?: string | null;
4195
- color?: string | null;
4196
- preview?: IPreviewScalar | null;
4197
- library: {
4198
- id: string;
4199
- label?: any | null;
4200
- };
4201
- };
4202
- } | null;
4203
- created_by?: {
4204
- id: string;
4205
- whoAmI: {
4206
- id: string;
4207
- label?: string | null;
4208
- subLabel?: string | null;
4209
- color?: string | null;
4210
- preview?: IPreviewScalar | null;
4211
- library: {
4212
- id: string;
4213
- label?: any | null;
4214
- };
4215
- };
4216
- } | null;
4217
- version?: Array<{
4218
- treeId: string;
4219
- treeNode?: {
4220
- id: string;
4221
- record: {
4222
- id: string;
4223
- whoAmI: {
4224
- id: string;
4225
- label?: string | null;
4226
- library: {
4227
- id: string;
4228
- };
4229
- };
4230
- };
4231
- } | null;
4232
- } | null> | null;
4233
- } | null;
4234
- } | null> | null;
4235
- } | {
4236
- payload?: any | null;
4237
- raw_payload?: any | null;
4238
- value?: any | null;
4239
- raw_value?: any | null;
4240
- id_value?: string | null;
4241
- isInherited?: boolean | null;
4242
- isCalculated?: boolean | null;
4243
- modified_at?: number | null;
4244
- created_at?: number | null;
4245
- modified_by?: {
4246
- id: string;
4247
- whoAmI: {
4248
- id: string;
4249
- label?: string | null;
4250
- subLabel?: string | null;
4251
- color?: string | null;
4252
- preview?: IPreviewScalar | null;
4253
- library: {
4254
- id: string;
4255
- label?: any | null;
4256
- };
4257
- };
4258
- } | null;
4259
- created_by?: {
4260
- id: string;
4261
- whoAmI: {
4262
- id: string;
4263
- label?: string | null;
4264
- subLabel?: string | null;
4265
- color?: string | null;
4266
- preview?: IPreviewScalar | null;
4267
- library: {
4268
- id: string;
4269
- label?: any | null;
4270
- };
4084
+ versions: {
4085
+ background: string;
4086
+ density: number;
4087
+ sizes: Array<{
4088
+ name: string;
4089
+ size: number;
4090
+ }>;
4271
4091
  };
4272
- } | null;
4273
- version?: Array<{
4274
- treeId: string;
4275
- treeNode?: {
4276
- id: string;
4277
- record: {
4278
- id: string;
4279
- whoAmI: {
4280
- id: string;
4281
- label?: string | null;
4282
- library: {
4283
- id: string;
4284
- };
4285
- };
4286
- };
4287
- } | null;
4288
- } | null> | null;
4289
- attribute: {
4290
- id: string;
4291
- format?: AttributeFormat | null;
4292
- type: AttributeType;
4293
- system: boolean;
4294
- };
4295
- metadata?: Array<{
4296
- name: string;
4297
- value?: {
4298
- id_value?: string | null;
4299
- modified_at?: number | null;
4300
- created_at?: number | null;
4301
- payload?: any | null;
4302
- raw_payload?: any | null;
4303
- modified_by?: {
4304
- id: string;
4305
- whoAmI: {
4306
- id: string;
4307
- label?: string | null;
4308
- subLabel?: string | null;
4309
- color?: string | null;
4310
- preview?: IPreviewScalar | null;
4311
- library: {
4312
- id: string;
4313
- label?: any | null;
4314
- };
4315
- };
4316
- } | null;
4317
- created_by?: {
4318
- id: string;
4319
- whoAmI: {
4320
- id: string;
4321
- label?: string | null;
4322
- subLabel?: string | null;
4323
- color?: string | null;
4324
- preview?: IPreviewScalar | null;
4325
- library: {
4326
- id: string;
4327
- label?: any | null;
4328
- };
4329
- };
4330
- } | null;
4331
- version?: Array<{
4332
- treeId: string;
4333
- treeNode?: {
4334
- id: string;
4335
- record: {
4336
- id: string;
4337
- whoAmI: {
4338
- id: string;
4339
- label?: string | null;
4340
- library: {
4341
- id: string;
4342
- };
4343
- };
4344
- };
4345
- } | null;
4346
- } | null> | null;
4347
- } | null;
4348
- } | null> | null;
4349
- }> | null;
4350
- }> | null;
4351
- };
4352
- export type ImportExcelMutationVariables = Exact<{
4353
- file: Scalars['Upload'];
4354
- sheets?: InputMaybe<Array<InputMaybe<SheetInput>> | InputMaybe<SheetInput>>;
4355
- startAt?: InputMaybe<Scalars['Int']>;
4356
- }>;
4357
- export type ImportExcelMutation = {
4358
- importExcel: string;
4092
+ }> | null;
4093
+ }>;
4094
+ } | null;
4359
4095
  };
4360
- export type CheckLibraryExistenceQueryVariables = Exact<{
4361
- id?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
4096
+ export type GetLibraryPermissionsQueryVariables = Exact<{
4097
+ libraryId?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
4362
4098
  }>;
4363
- export type CheckLibraryExistenceQuery = {
4099
+ export type GetLibraryPermissionsQuery = {
4364
4100
  libraries?: {
4365
- totalCount: number;
4101
+ list: Array<{
4102
+ permissions?: {
4103
+ access_library: boolean;
4104
+ access_record: boolean;
4105
+ create_record: boolean;
4106
+ edit_record: boolean;
4107
+ delete_record: boolean;
4108
+ } | null;
4109
+ }>;
4366
4110
  } | null;
4367
4111
  };
4368
- export type DeleteLibraryMutationVariables = Exact<{
4369
- id?: InputMaybe<Scalars['ID']>;
4370
- }>;
4371
- export type DeleteLibraryMutation = {
4372
- deleteLibrary: {
4373
- id: string;
4374
- };
4375
- };
4376
- export type GetLibrariesQueryVariables = Exact<{
4377
- [key: string]: never;
4112
+ export type GetLibraryPreviewsSettingsQueryVariables = Exact<{
4113
+ id: Scalars['ID'];
4378
4114
  }>;
4379
- export type GetLibrariesQuery = {
4115
+ export type GetLibraryPreviewsSettingsQuery = {
4380
4116
  libraries?: {
4381
4117
  list: Array<{
4382
4118
  id: string;
4383
4119
  label?: any | null;
4384
- icon?: {
4385
- id: string;
4386
- whoAmI: {
4387
- id: string;
4388
- preview?: IPreviewScalar | null;
4389
- library: {
4390
- id: string;
4391
- };
4120
+ behavior: LibraryBehavior;
4121
+ previewsSettings?: Array<{
4122
+ description?: any | null;
4123
+ label: any;
4124
+ system: boolean;
4125
+ versions: {
4126
+ background: string;
4127
+ density: number;
4128
+ sizes: Array<{
4129
+ name: string;
4130
+ size: number;
4131
+ }>;
4392
4132
  };
4393
- } | null;
4133
+ }> | null;
4394
4134
  }>;
4395
4135
  } | null;
4396
4136
  };
4397
- export type GetLibraryByIdQueryVariables = Exact<{
4398
- id?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
4137
+ export type SaveLibraryMutationVariables = Exact<{
4138
+ library: LibraryInput;
4399
4139
  }>;
4400
- export type GetLibraryByIdQuery = {
4401
- libraries?: {
4402
- list: Array<{
4140
+ export type SaveLibraryMutation = {
4141
+ saveLibrary: {
4142
+ id: string;
4143
+ label?: any | null;
4144
+ behavior: LibraryBehavior;
4145
+ system?: boolean | null;
4146
+ fullTextAttributes?: Array<{
4403
4147
  id: string;
4404
4148
  label?: any | null;
4405
- behavior: LibraryBehavior;
4406
- system?: boolean | null;
4407
- fullTextAttributes?: Array<{
4408
- id: string;
4409
- label?: any | null;
4410
- }> | null;
4411
- attributes?: Array<{
4412
- id: string;
4413
- label?: any | null;
4414
- system: boolean;
4415
- type: AttributeType;
4416
- format?: AttributeFormat | null;
4417
- linked_library?: {
4418
- id: string;
4419
- behavior: LibraryBehavior;
4420
- } | null;
4421
- } | {
4422
- id: string;
4423
- label?: any | null;
4424
- system: boolean;
4425
- type: AttributeType;
4426
- format?: AttributeFormat | null;
4427
- }> | null;
4428
- permissions_conf?: {
4429
- relation: PermissionsRelation;
4430
- permissionTreeAttributes: Array<{
4431
- id: string;
4432
- label?: any | null;
4433
- } | {
4434
- id: string;
4435
- label?: any | null;
4436
- linked_tree?: {
4437
- id: string;
4438
- } | null;
4439
- }>;
4440
- } | null;
4441
- recordIdentityConf?: {
4442
- label?: string | null;
4443
- subLabel?: string | null;
4444
- color?: string | null;
4445
- preview?: string | null;
4446
- treeColorPreview?: string | null;
4447
- } | null;
4448
- permissions?: {
4449
- admin_library: boolean;
4450
- access_library: boolean;
4451
- access_record: boolean;
4452
- create_record: boolean;
4453
- edit_record: boolean;
4454
- delete_record: boolean;
4455
- } | null;
4456
- icon?: {
4457
- id: string;
4458
- whoAmI: {
4459
- id: string;
4460
- label?: string | null;
4461
- subLabel?: string | null;
4462
- color?: string | null;
4463
- preview?: IPreviewScalar | null;
4464
- library: {
4465
- id: string;
4466
- label?: any | null;
4467
- };
4468
- };
4469
- } | null;
4470
- previewsSettings?: Array<{
4471
- label: any;
4472
- description?: any | null;
4473
- system: boolean;
4474
- versions: {
4475
- background: string;
4476
- density: number;
4477
- sizes: Array<{
4478
- name: string;
4479
- size: number;
4480
- }>;
4481
- };
4482
- }> | null;
4483
- }>;
4484
- } | null;
4485
- };
4486
- export type GetLibraryPermissionsQueryVariables = Exact<{
4487
- libraryId?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
4488
- }>;
4489
- export type GetLibraryPermissionsQuery = {
4490
- libraries?: {
4491
- list: Array<{
4492
- permissions?: {
4493
- access_library: boolean;
4494
- access_record: boolean;
4495
- create_record: boolean;
4496
- edit_record: boolean;
4497
- delete_record: boolean;
4498
- } | null;
4499
- }>;
4500
- } | null;
4501
- };
4502
- export type GetLibraryPreviewsSettingsQueryVariables = Exact<{
4503
- id: Scalars['ID'];
4504
- }>;
4505
- export type GetLibraryPreviewsSettingsQuery = {
4506
- libraries?: {
4507
- list: Array<{
4508
- id: string;
4509
- label?: any | null;
4510
- behavior: LibraryBehavior;
4511
- previewsSettings?: Array<{
4512
- description?: any | null;
4513
- label: any;
4514
- system: boolean;
4515
- versions: {
4516
- background: string;
4517
- density: number;
4518
- sizes: Array<{
4519
- name: string;
4520
- size: number;
4521
- }>;
4522
- };
4523
- }> | null;
4524
- }>;
4525
- } | null;
4526
- };
4527
- export type SaveLibraryMutationVariables = Exact<{
4528
- library: LibraryInput;
4529
- }>;
4530
- export type SaveLibraryMutation = {
4531
- saveLibrary: {
4532
- id: string;
4533
- label?: any | null;
4534
- behavior: LibraryBehavior;
4535
- system?: boolean | null;
4536
- fullTextAttributes?: Array<{
4537
- id: string;
4538
- label?: any | null;
4539
- }> | null;
4540
- attributes?: Array<{
4541
- id: string;
4542
- label?: any | null;
4543
- system: boolean;
4544
- type: AttributeType;
4545
- format?: AttributeFormat | null;
4546
- linked_library?: {
4149
+ }> | null;
4150
+ attributes?: Array<{
4151
+ id: string;
4152
+ label?: any | null;
4153
+ system: boolean;
4154
+ type: AttributeType;
4155
+ format?: AttributeFormat | null;
4156
+ linked_library?: {
4547
4157
  id: string;
4548
4158
  behavior: LibraryBehavior;
4549
4159
  } | null;
@@ -4745,14 +4355,362 @@ export type GetFileDataQuery = {
4745
4355
  preview?: IPreviewScalar | null;
4746
4356
  library: {
4747
4357
  id: string;
4748
- label?: any | null;
4358
+ label?: any | null;
4359
+ };
4360
+ };
4361
+ created_at: Array<{
4362
+ value?: any | null;
4363
+ }>;
4364
+ created_by: Array<{
4365
+ value?: {
4366
+ id: string;
4367
+ whoAmI: {
4368
+ id: string;
4369
+ label?: string | null;
4370
+ subLabel?: string | null;
4371
+ color?: string | null;
4372
+ preview?: IPreviewScalar | null;
4373
+ library: {
4374
+ id: string;
4375
+ label?: any | null;
4376
+ };
4377
+ };
4378
+ } | null;
4379
+ }>;
4380
+ modified_at: Array<{
4381
+ value?: any | null;
4382
+ }>;
4383
+ modified_by: Array<{
4384
+ value?: {
4385
+ id: string;
4386
+ whoAmI: {
4387
+ id: string;
4388
+ label?: string | null;
4389
+ subLabel?: string | null;
4390
+ color?: string | null;
4391
+ preview?: IPreviewScalar | null;
4392
+ library: {
4393
+ id: string;
4394
+ label?: any | null;
4395
+ };
4396
+ };
4397
+ } | null;
4398
+ }>;
4399
+ file_name: Array<{
4400
+ value?: any | null;
4401
+ }>;
4402
+ file_path: Array<{
4403
+ value?: any | null;
4404
+ }>;
4405
+ previews_status: Array<{
4406
+ value?: any | null;
4407
+ }>;
4408
+ library: {
4409
+ behavior: LibraryBehavior;
4410
+ };
4411
+ }>;
4412
+ };
4413
+ };
4414
+ export type RecordFormQueryVariables = Exact<{
4415
+ libraryId: Scalars['String'];
4416
+ formId: Scalars['String'];
4417
+ recordId?: InputMaybe<Scalars['String']>;
4418
+ version?: InputMaybe<Array<ValueVersionInput> | ValueVersionInput>;
4419
+ }>;
4420
+ export type RecordFormQuery = {
4421
+ recordForm?: {
4422
+ id: string;
4423
+ recordId?: string | null;
4424
+ library: {
4425
+ id: string;
4426
+ };
4427
+ dependencyAttributes?: Array<{
4428
+ id: string;
4429
+ }> | null;
4430
+ elements: Array<{
4431
+ id: string;
4432
+ containerId: string;
4433
+ uiElementType: string;
4434
+ type: FormElementTypes;
4435
+ valueError?: string | null;
4436
+ values?: Array<{
4437
+ id_value?: string | null;
4438
+ isInherited?: boolean | null;
4439
+ isCalculated?: boolean | null;
4440
+ modified_at?: number | null;
4441
+ created_at?: number | null;
4442
+ linkValue?: {
4443
+ id: string;
4444
+ whoAmI: {
4445
+ id: string;
4446
+ label?: string | null;
4447
+ subLabel?: string | null;
4448
+ color?: string | null;
4449
+ preview?: IPreviewScalar | null;
4450
+ library: {
4451
+ id: string;
4452
+ label?: any | null;
4453
+ };
4454
+ };
4455
+ } | null;
4456
+ modified_by?: {
4457
+ id: string;
4458
+ whoAmI: {
4459
+ id: string;
4460
+ label?: string | null;
4461
+ subLabel?: string | null;
4462
+ color?: string | null;
4463
+ preview?: IPreviewScalar | null;
4464
+ library: {
4465
+ id: string;
4466
+ label?: any | null;
4467
+ };
4468
+ };
4469
+ } | null;
4470
+ created_by?: {
4471
+ id: string;
4472
+ whoAmI: {
4473
+ id: string;
4474
+ label?: string | null;
4475
+ subLabel?: string | null;
4476
+ color?: string | null;
4477
+ preview?: IPreviewScalar | null;
4478
+ library: {
4479
+ id: string;
4480
+ label?: any | null;
4481
+ };
4482
+ };
4483
+ } | null;
4484
+ version?: Array<{
4485
+ treeId: string;
4486
+ treeNode?: {
4487
+ id: string;
4488
+ record: {
4489
+ id: string;
4490
+ whoAmI: {
4491
+ id: string;
4492
+ label?: string | null;
4493
+ library: {
4494
+ id: string;
4495
+ };
4496
+ };
4497
+ };
4498
+ } | null;
4499
+ } | null> | null;
4500
+ attribute: {
4501
+ id: string;
4502
+ format?: AttributeFormat | null;
4503
+ type: AttributeType;
4504
+ system: boolean;
4505
+ };
4506
+ metadata?: Array<{
4507
+ name: string;
4508
+ value?: {
4509
+ id_value?: string | null;
4510
+ modified_at?: number | null;
4511
+ created_at?: number | null;
4512
+ payload?: any | null;
4513
+ raw_payload?: any | null;
4514
+ modified_by?: {
4515
+ id: string;
4516
+ whoAmI: {
4517
+ id: string;
4518
+ label?: string | null;
4519
+ subLabel?: string | null;
4520
+ color?: string | null;
4521
+ preview?: IPreviewScalar | null;
4522
+ library: {
4523
+ id: string;
4524
+ label?: any | null;
4525
+ };
4526
+ };
4527
+ } | null;
4528
+ created_by?: {
4529
+ id: string;
4530
+ whoAmI: {
4531
+ id: string;
4532
+ label?: string | null;
4533
+ subLabel?: string | null;
4534
+ color?: string | null;
4535
+ preview?: IPreviewScalar | null;
4536
+ library: {
4537
+ id: string;
4538
+ label?: any | null;
4539
+ };
4540
+ };
4541
+ } | null;
4542
+ version?: Array<{
4543
+ treeId: string;
4544
+ treeNode?: {
4545
+ id: string;
4546
+ record: {
4547
+ id: string;
4548
+ whoAmI: {
4549
+ id: string;
4550
+ label?: string | null;
4551
+ library: {
4552
+ id: string;
4553
+ };
4554
+ };
4555
+ };
4556
+ } | null;
4557
+ } | null> | null;
4558
+ } | null;
4559
+ } | null> | null;
4560
+ } | {
4561
+ id_value?: string | null;
4562
+ isInherited?: boolean | null;
4563
+ isCalculated?: boolean | null;
4564
+ modified_at?: number | null;
4565
+ created_at?: number | null;
4566
+ treeValue?: {
4567
+ id: string;
4568
+ record: {
4569
+ id: string;
4570
+ whoAmI: {
4571
+ id: string;
4572
+ label?: string | null;
4573
+ subLabel?: string | null;
4574
+ color?: string | null;
4575
+ preview?: IPreviewScalar | null;
4576
+ library: {
4577
+ id: string;
4578
+ label?: any | null;
4579
+ };
4580
+ };
4581
+ };
4582
+ ancestors?: Array<{
4583
+ record: {
4584
+ id: string;
4585
+ whoAmI: {
4586
+ id: string;
4587
+ label?: string | null;
4588
+ subLabel?: string | null;
4589
+ color?: string | null;
4590
+ preview?: IPreviewScalar | null;
4591
+ library: {
4592
+ id: string;
4593
+ label?: any | null;
4594
+ };
4595
+ };
4596
+ };
4597
+ }> | null;
4598
+ } | null;
4599
+ modified_by?: {
4600
+ id: string;
4601
+ whoAmI: {
4602
+ id: string;
4603
+ label?: string | null;
4604
+ subLabel?: string | null;
4605
+ color?: string | null;
4606
+ preview?: IPreviewScalar | null;
4607
+ library: {
4608
+ id: string;
4609
+ label?: any | null;
4610
+ };
4611
+ };
4612
+ } | null;
4613
+ created_by?: {
4614
+ id: string;
4615
+ whoAmI: {
4616
+ id: string;
4617
+ label?: string | null;
4618
+ subLabel?: string | null;
4619
+ color?: string | null;
4620
+ preview?: IPreviewScalar | null;
4621
+ library: {
4622
+ id: string;
4623
+ label?: any | null;
4624
+ };
4625
+ };
4626
+ } | null;
4627
+ version?: Array<{
4628
+ treeId: string;
4629
+ treeNode?: {
4630
+ id: string;
4631
+ record: {
4632
+ id: string;
4633
+ whoAmI: {
4634
+ id: string;
4635
+ label?: string | null;
4636
+ library: {
4637
+ id: string;
4638
+ };
4639
+ };
4640
+ };
4641
+ } | null;
4642
+ } | null> | null;
4643
+ attribute: {
4644
+ id: string;
4645
+ format?: AttributeFormat | null;
4646
+ type: AttributeType;
4647
+ system: boolean;
4749
4648
  };
4750
- };
4751
- created_at: Array<{
4649
+ metadata?: Array<{
4650
+ name: string;
4651
+ value?: {
4652
+ id_value?: string | null;
4653
+ modified_at?: number | null;
4654
+ created_at?: number | null;
4655
+ payload?: any | null;
4656
+ raw_payload?: any | null;
4657
+ modified_by?: {
4658
+ id: string;
4659
+ whoAmI: {
4660
+ id: string;
4661
+ label?: string | null;
4662
+ subLabel?: string | null;
4663
+ color?: string | null;
4664
+ preview?: IPreviewScalar | null;
4665
+ library: {
4666
+ id: string;
4667
+ label?: any | null;
4668
+ };
4669
+ };
4670
+ } | null;
4671
+ created_by?: {
4672
+ id: string;
4673
+ whoAmI: {
4674
+ id: string;
4675
+ label?: string | null;
4676
+ subLabel?: string | null;
4677
+ color?: string | null;
4678
+ preview?: IPreviewScalar | null;
4679
+ library: {
4680
+ id: string;
4681
+ label?: any | null;
4682
+ };
4683
+ };
4684
+ } | null;
4685
+ version?: Array<{
4686
+ treeId: string;
4687
+ treeNode?: {
4688
+ id: string;
4689
+ record: {
4690
+ id: string;
4691
+ whoAmI: {
4692
+ id: string;
4693
+ label?: string | null;
4694
+ library: {
4695
+ id: string;
4696
+ };
4697
+ };
4698
+ };
4699
+ } | null;
4700
+ } | null> | null;
4701
+ } | null;
4702
+ } | null> | null;
4703
+ } | {
4704
+ payload?: any | null;
4705
+ raw_payload?: any | null;
4752
4706
  value?: any | null;
4753
- }>;
4754
- created_by: Array<{
4755
- value?: {
4707
+ raw_value?: any | null;
4708
+ id_value?: string | null;
4709
+ isInherited?: boolean | null;
4710
+ isCalculated?: boolean | null;
4711
+ modified_at?: number | null;
4712
+ created_at?: number | null;
4713
+ modified_by?: {
4756
4714
  id: string;
4757
4715
  whoAmI: {
4758
4716
  id: string;
@@ -4766,12 +4724,7 @@ export type GetFileDataQuery = {
4766
4724
  };
4767
4725
  };
4768
4726
  } | null;
4769
- }>;
4770
- modified_at: Array<{
4771
- value?: any | null;
4772
- }>;
4773
- modified_by: Array<{
4774
- value?: {
4727
+ created_by?: {
4775
4728
  id: string;
4776
4729
  whoAmI: {
4777
4730
  id: string;
@@ -4785,43 +4738,83 @@ export type GetFileDataQuery = {
4785
4738
  };
4786
4739
  };
4787
4740
  } | null;
4788
- }>;
4789
- file_name: Array<{
4790
- value?: any | null;
4791
- }>;
4792
- file_path: Array<{
4793
- value?: any | null;
4794
- }>;
4795
- previews_status: Array<{
4796
- value?: any | null;
4797
- }>;
4798
- library: {
4799
- behavior: LibraryBehavior;
4800
- };
4801
- }>;
4802
- };
4803
- };
4804
- export type RecordFormQueryVariables = Exact<{
4805
- libraryId: Scalars['String'];
4806
- formId: Scalars['String'];
4807
- recordId?: InputMaybe<Scalars['String']>;
4808
- version?: InputMaybe<Array<ValueVersionInput> | ValueVersionInput>;
4809
- }>;
4810
- export type RecordFormQuery = {
4811
- recordForm?: {
4812
- id: string;
4813
- recordId?: string | null;
4814
- library: {
4815
- id: string;
4816
- };
4817
- dependencyAttributes?: Array<{
4818
- id: string;
4819
- }> | null;
4820
- elements: Array<{
4821
- id: string;
4822
- containerId: string;
4823
- uiElementType: string;
4824
- type: FormElementTypes;
4741
+ version?: Array<{
4742
+ treeId: string;
4743
+ treeNode?: {
4744
+ id: string;
4745
+ record: {
4746
+ id: string;
4747
+ whoAmI: {
4748
+ id: string;
4749
+ label?: string | null;
4750
+ library: {
4751
+ id: string;
4752
+ };
4753
+ };
4754
+ };
4755
+ } | null;
4756
+ } | null> | null;
4757
+ attribute: {
4758
+ id: string;
4759
+ format?: AttributeFormat | null;
4760
+ type: AttributeType;
4761
+ system: boolean;
4762
+ };
4763
+ metadata?: Array<{
4764
+ name: string;
4765
+ value?: {
4766
+ id_value?: string | null;
4767
+ modified_at?: number | null;
4768
+ created_at?: number | null;
4769
+ payload?: any | null;
4770
+ raw_payload?: any | null;
4771
+ modified_by?: {
4772
+ id: string;
4773
+ whoAmI: {
4774
+ id: string;
4775
+ label?: string | null;
4776
+ subLabel?: string | null;
4777
+ color?: string | null;
4778
+ preview?: IPreviewScalar | null;
4779
+ library: {
4780
+ id: string;
4781
+ label?: any | null;
4782
+ };
4783
+ };
4784
+ } | null;
4785
+ created_by?: {
4786
+ id: string;
4787
+ whoAmI: {
4788
+ id: string;
4789
+ label?: string | null;
4790
+ subLabel?: string | null;
4791
+ color?: string | null;
4792
+ preview?: IPreviewScalar | null;
4793
+ library: {
4794
+ id: string;
4795
+ label?: any | null;
4796
+ };
4797
+ };
4798
+ } | null;
4799
+ version?: Array<{
4800
+ treeId: string;
4801
+ treeNode?: {
4802
+ id: string;
4803
+ record: {
4804
+ id: string;
4805
+ whoAmI: {
4806
+ id: string;
4807
+ label?: string | null;
4808
+ library: {
4809
+ id: string;
4810
+ };
4811
+ };
4812
+ };
4813
+ } | null;
4814
+ } | null> | null;
4815
+ } | null;
4816
+ } | null> | null;
4817
+ }> | null;
4825
4818
  attribute?: {
4826
4819
  id: string;
4827
4820
  label?: any | null;
@@ -7067,6 +7060,18 @@ export type ExplorerAttributesQuery = {
7067
7060
  permissions: {
7068
7061
  access_attribute: boolean;
7069
7062
  };
7063
+ } | {
7064
+ id: string;
7065
+ type: AttributeType;
7066
+ format?: AttributeFormat | null;
7067
+ label?: any | null;
7068
+ linked_tree?: {
7069
+ id: string;
7070
+ label?: any | null;
7071
+ } | null;
7072
+ permissions: {
7073
+ access_attribute: boolean;
7074
+ };
7070
7075
  }>;
7071
7076
  } | null;
7072
7077
  };
@@ -7107,6 +7112,18 @@ export type ExplorerLinkAttributeQuery = {
7107
7112
  access_attribute: boolean;
7108
7113
  edit_value: boolean;
7109
7114
  };
7115
+ } | {
7116
+ label?: any | null;
7117
+ id: string;
7118
+ multiple_values: boolean;
7119
+ linked_tree?: {
7120
+ id: string;
7121
+ label?: any | null;
7122
+ } | null;
7123
+ permissions: {
7124
+ access_attribute: boolean;
7125
+ edit_value: boolean;
7126
+ };
7110
7127
  }>;
7111
7128
  } | null;
7112
7129
  };
@@ -7433,14 +7450,13 @@ export declare const DetailsApplicationFragmentDoc: Apollo.DocumentNode;
7433
7450
  export declare const AttributeDetailsFragmentDoc: Apollo.DocumentNode;
7434
7451
  export declare const AttributesByLibLinkAttributeFragmentDoc: Apollo.DocumentNode;
7435
7452
  export declare const AttributesByLibAttributeFragmentDoc: Apollo.DocumentNode;
7436
- export declare const ValuesVersionDetailsFragmentDoc: Apollo.DocumentNode;
7437
- export declare const ValueDetailsFragmentDoc: Apollo.DocumentNode;
7438
- export declare const RecordFormElementValuesFragmentDoc: Apollo.DocumentNode;
7439
7453
  export declare const LibraryLightFragmentDoc: Apollo.DocumentNode;
7440
7454
  export declare const LibraryLinkAttributeDetailsFragmentDoc: Apollo.DocumentNode;
7441
7455
  export declare const LibraryAttributesFragmentDoc: Apollo.DocumentNode;
7442
7456
  export declare const LibraryPreviewsSettingsFragmentDoc: Apollo.DocumentNode;
7443
7457
  export declare const LibraryDetailsFragmentDoc: Apollo.DocumentNode;
7458
+ export declare const ValuesVersionDetailsFragmentDoc: Apollo.DocumentNode;
7459
+ export declare const ValueDetailsFragmentDoc: Apollo.DocumentNode;
7444
7460
  export declare const StandardValuesListFragmentFragmentDoc: Apollo.DocumentNode;
7445
7461
  export declare const RecordFormAttributeFragmentDoc: Apollo.DocumentNode;
7446
7462
  export declare const JoinLibraryContextFragmentDoc: Apollo.DocumentNode;
@@ -7453,6 +7469,7 @@ export declare const ViewDetailsFragmentDoc: Apollo.DocumentNode;
7453
7469
  export declare const AttributesByLibLinkAttributeWithPermissionsFragmentDoc: Apollo.DocumentNode;
7454
7470
  export declare const AttributesByLibAttributeWithPermissionsFragmentDoc: Apollo.DocumentNode;
7455
7471
  export declare const LinkAttributeDetailsFragmentDoc: Apollo.DocumentNode;
7472
+ export declare const TreeAttributeDetailsFragmentDoc: Apollo.DocumentNode;
7456
7473
  export declare const AttributePropertiesFragmentDoc: Apollo.DocumentNode;
7457
7474
  export declare const PropertyValueFragmentDoc: Apollo.DocumentNode;
7458
7475
  export declare const LinkPropertyFragmentDoc: Apollo.DocumentNode;
@@ -8003,52 +8020,6 @@ export declare function useUploadMutation(baseOptions?: Apollo.MutationHookOptio
8003
8020
  export type UploadMutationHookResult = ReturnType<typeof useUploadMutation>;
8004
8021
  export type UploadMutationResult = Apollo.MutationResult<UploadMutation>;
8005
8022
  export type UploadMutationOptions = Apollo.BaseMutationOptions<UploadMutation, UploadMutationVariables>;
8006
- export declare const GetRecordFormElementsValuesDocument: Apollo.DocumentNode;
8007
- /**
8008
- * __useGetRecordFormElementsValuesQuery__
8009
- *
8010
- * To run a query within a React component, call `useGetRecordFormElementsValuesQuery` and pass it any options that fit your needs.
8011
- * When your component renders, `useGetRecordFormElementsValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
8012
- * you can use to render your UI.
8013
- *
8014
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
8015
- *
8016
- * @example
8017
- * const { data, loading, error } = useGetRecordFormElementsValuesQuery({
8018
- * variables: {
8019
- * recordId: // value for 'recordId'
8020
- * libraryId: // value for 'libraryId'
8021
- * formId: // value for 'formId'
8022
- * version: // value for 'version'
8023
- * elementIds: // value for 'elementIds'
8024
- * },
8025
- * });
8026
- */
8027
- export declare function useGetRecordFormElementsValuesQuery(baseOptions: Apollo.QueryHookOptions<GetRecordFormElementsValuesQuery, GetRecordFormElementsValuesQueryVariables>): Apollo.QueryResult<GetRecordFormElementsValuesQuery, Exact<{
8028
- recordId?: InputMaybe<Scalars["String"]>;
8029
- libraryId: Scalars["String"];
8030
- formId: Scalars["String"];
8031
- version?: InputMaybe<Array<ValueVersionInput> | ValueVersionInput>;
8032
- elementIds?: InputMaybe<Array<Scalars["ID"]> | Scalars["ID"]>;
8033
- }>>;
8034
- export declare function useGetRecordFormElementsValuesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetRecordFormElementsValuesQuery, GetRecordFormElementsValuesQueryVariables>): Apollo.LazyQueryResultTuple<GetRecordFormElementsValuesQuery, Exact<{
8035
- recordId?: InputMaybe<Scalars["String"]>;
8036
- libraryId: Scalars["String"];
8037
- formId: Scalars["String"];
8038
- version?: InputMaybe<Array<ValueVersionInput> | ValueVersionInput>;
8039
- elementIds?: InputMaybe<Array<Scalars["ID"]> | Scalars["ID"]>;
8040
- }>>;
8041
- export declare function useGetRecordFormElementsValuesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetRecordFormElementsValuesQuery, GetRecordFormElementsValuesQueryVariables>): Apollo.UseSuspenseQueryResult<GetRecordFormElementsValuesQuery, Exact<{
8042
- recordId?: InputMaybe<Scalars["String"]>;
8043
- libraryId: Scalars["String"];
8044
- formId: Scalars["String"];
8045
- version?: InputMaybe<Array<ValueVersionInput> | ValueVersionInput>;
8046
- elementIds?: InputMaybe<Array<Scalars["ID"]> | Scalars["ID"]>;
8047
- }>>;
8048
- export type GetRecordFormElementsValuesQueryHookResult = ReturnType<typeof useGetRecordFormElementsValuesQuery>;
8049
- export type GetRecordFormElementsValuesLazyQueryHookResult = ReturnType<typeof useGetRecordFormElementsValuesLazyQuery>;
8050
- export type GetRecordFormElementsValuesSuspenseQueryHookResult = ReturnType<typeof useGetRecordFormElementsValuesSuspenseQuery>;
8051
- export type GetRecordFormElementsValuesQueryResult = Apollo.QueryResult<GetRecordFormElementsValuesQuery, GetRecordFormElementsValuesQueryVariables>;
8052
8023
  export declare const ImportExcelDocument: Apollo.DocumentNode;
8053
8024
  export type ImportExcelMutationFn = Apollo.MutationFunction<ImportExcelMutation, ImportExcelMutationVariables>;
8054
8025
  /**