@dssp/dkpi 1.0.0-alpha.24 → 1.0.0-alpha.26

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 (34) hide show
  1. package/dist-server/tsconfig.tsbuildinfo +1 -1
  2. package/package.json +3 -3
  3. package/schema.graphql +1589 -216
  4. package/dist-server/migrations/1752188906708-SeedKpiCategory.d.ts +0 -5
  5. package/dist-server/migrations/1752188906708-SeedKpiCategory.js +0 -53
  6. package/dist-server/migrations/1752188906708-SeedKpiCategory.js.map +0 -1
  7. package/dist-server/migrations/1752190849681-SeedKpi.d.ts +0 -5
  8. package/dist-server/migrations/1752190849681-SeedKpi.js +0 -255
  9. package/dist-server/migrations/1752190849681-SeedKpi.js.map +0 -1
  10. package/dist-server/migrations/1752192090123-add-grades-to-kpi.d.ts +0 -7
  11. package/dist-server/migrations/1752192090123-add-grades-to-kpi.js +0 -51
  12. package/dist-server/migrations/1752192090123-add-grades-to-kpi.js.map +0 -1
  13. package/dist-server/migrations/1752192090124-add-kpi-statistics.d.ts +0 -5
  14. package/dist-server/migrations/1752192090124-add-kpi-statistics.js +0 -707
  15. package/dist-server/migrations/1752192090124-add-kpi-statistics.js.map +0 -1
  16. package/dist-server/migrations/grade-data/x11-performance-table.json +0 -962
  17. package/dist-server/migrations/grade-data/x12-performance-table.json +0 -611
  18. package/dist-server/migrations/grade-data/x14-performance-table.json +0 -42
  19. package/dist-server/migrations/grade-data/x21-performance-table.json +0 -889
  20. package/dist-server/migrations/grade-data/x22-performance-table.json +0 -1064
  21. package/dist-server/migrations/grade-data/x23-performance-table.json +0 -42
  22. package/dist-server/migrations/grade-data/x31-performance-table.json +0 -644
  23. package/dist-server/migrations/grade-data/x32-performance-table.json +0 -993
  24. package/dist-server/migrations/grade-data/x33-performance-table.json +0 -195
  25. package/dist-server/migrations/grade-data/x34-performance-table.json +0 -12
  26. package/dist-server/migrations/grade-data/x35-performance-table.json +0 -42
  27. package/dist-server/migrations/grade-data/x41-performance-table.json +0 -825
  28. package/dist-server/migrations/grade-data/x42-performance-table.json +0 -786
  29. package/dist-server/migrations/grade-data/x43-performance-table.json +0 -12
  30. package/dist-server/migrations/grade-data/x44-performance-table.json +0 -42
  31. package/dist-server/migrations/grade-data/x51-performance-table.json +0 -924
  32. package/dist-server/migrations/grade-data/x52-performance-table.json +0 -42
  33. package/dist-server/migrations/grade-data/x61-performance-table.json +0 -261
  34. package/dist-server/migrations/grade-data/x62-performance-table.json +0 -42
package/schema.graphql CHANGED
@@ -21,6 +21,46 @@ type AccessToken {
21
21
  refreshToken: String!
22
22
  }
23
23
 
24
+ """Entity for ActionPlan"""
25
+ type ActionPlan {
26
+ active: Boolean
27
+ content: String
28
+ createdAt: DateTimeISO
29
+ creator: User
30
+ deletedAt: DateTimeISO
31
+ description: String
32
+ domain: Domain
33
+ id: ID!
34
+ issue: Issue!
35
+ name: String
36
+ params: String
37
+ state: String
38
+ thumbnail: String
39
+ updatedAt: DateTimeISO
40
+ updater: User
41
+ }
42
+
43
+ type ActionPlanList {
44
+ items: [ActionPlan!]!
45
+ total: Int!
46
+ }
47
+
48
+ input ActionPlanPatch {
49
+ active: Boolean
50
+ cuFlag: String
51
+ description: String
52
+ id: ID
53
+ name: String
54
+ state: ActionPlanStatus
55
+ thumbnail: Upload
56
+ }
57
+
58
+ """state enumeration of a actionPlan"""
59
+ enum ActionPlanStatus {
60
+ STATUS_A
61
+ STATUS_B
62
+ }
63
+
24
64
  """Entity for Activity"""
25
65
  type Activity {
26
66
  """BPMN 2.0 task type"""
@@ -910,6 +950,7 @@ enum AttributeSetItemType {
910
950
  datetime
911
951
  file
912
952
  number
953
+ secret
913
954
  select
914
955
  text
915
956
  }
@@ -1416,6 +1457,7 @@ type BuildingComplex {
1416
1457
  taskSupervisoryEmails: [String!]
1417
1458
  updatedAt: DateTimeISO
1418
1459
  updater: User
1460
+ virtualTourLink: String
1419
1461
  }
1420
1462
 
1421
1463
  input BuildingComplexPatch {
@@ -1442,6 +1484,50 @@ input BuildingComplexPatch {
1442
1484
  supervisoryCompany: String
1443
1485
  taskConstructorEmails: [String!]
1444
1486
  taskSupervisoryEmails: [String!]
1487
+ virtualTourLink: String
1488
+ }
1489
+
1490
+ type BuildingInspection {
1491
+ attachments: [Attachment!]!
1492
+ buildingInspectionSummary: BuildingInspectionSummary!
1493
+ buildingLevel: BuildingLevel
1494
+ cellX: Float
1495
+ cellY: Float
1496
+ checklist: Checklist
1497
+ createdAt: DateTimeISO
1498
+ creator: User
1499
+ deletedAt: DateTimeISO
1500
+ drawingMarker: String
1501
+ id: ID!
1502
+ manager: ProjectManagerOutput
1503
+ memo: String
1504
+ projectType: String
1505
+ requestDate: String
1506
+ status: String
1507
+ updatedAt: DateTimeISO
1508
+ updater: User
1509
+ }
1510
+
1511
+ type BuildingInspectionList {
1512
+ items: [BuildingInspection!]!
1513
+ total: Int!
1514
+ }
1515
+
1516
+ type BuildingInspectionSummary {
1517
+ """검측 실패 수"""
1518
+ fail: Int!
1519
+
1520
+ """검측 통과 수"""
1521
+ pass: Int!
1522
+
1523
+ """검측 요청 수"""
1524
+ request: Int!
1525
+
1526
+ """요청일자"""
1527
+ requestDate: String
1528
+
1529
+ """검측 대기 수"""
1530
+ wait: Int!
1445
1531
  }
1446
1532
 
1447
1533
  type BuildingInspectionSummaryOfLevel {
@@ -1458,6 +1544,16 @@ type BuildingInspectionSummaryOfLevel {
1458
1544
  wait: Int!
1459
1545
  }
1460
1546
 
1547
+ input BuildingInspectionsOfBuildingLevel {
1548
+ buildingLevelId: String!
1549
+ limit: Float
1550
+ }
1551
+
1552
+ input BuildingInspectionsOfProject {
1553
+ limit: Float
1554
+ projectId: String!
1555
+ }
1556
+
1461
1557
  """층 정보"""
1462
1558
  type BuildingLevel {
1463
1559
  building: Building!
@@ -1511,6 +1607,198 @@ type ChatCompletionOutput {
1511
1607
  message: String
1512
1608
  }
1513
1609
 
1610
+ type Checklist {
1611
+ buildingInspection: BuildingInspection!
1612
+ checklistItems: [ChecklistItem!]!
1613
+ checklistReferenceType: String
1614
+ constructionDetailType: String
1615
+ constructionInspectionDate: DateTimeISO
1616
+ constructionType: String
1617
+ createdAt: DateTimeISO
1618
+ creator: User
1619
+ deletedAt: DateTimeISO
1620
+ documentNo: String
1621
+ id: ID!
1622
+ inspectionDrawingType: String
1623
+ inspectionParts: [String!]
1624
+ location: String
1625
+ name: String
1626
+
1627
+ """총괄 시공 책임자"""
1628
+ overallConstructor: User
1629
+ overallConstructorSignature: String
1630
+
1631
+ """총괄 감리 책임자"""
1632
+ overallSupervisory: User
1633
+ overallSupervisorySignature: String
1634
+ projectType: String
1635
+ supervisorInspectionDate: DateTimeISO
1636
+
1637
+ """공종별 시공 관리자"""
1638
+ taskConstructor: User
1639
+ taskConstructorSignature: String
1640
+
1641
+ """건축사보 (공종별 감리 관리자)"""
1642
+ taskSupervisory: User
1643
+ taskSupervisorySignature: String
1644
+ updatedAt: DateTimeISO
1645
+ updater: User
1646
+ }
1647
+
1648
+ input ChecklistInputType {
1649
+ constructionDetailType: String
1650
+ constructionType: String
1651
+ inspectionDrawingType: String
1652
+ inspectionParts: [String!]
1653
+ location: String
1654
+ name: String!
1655
+ }
1656
+
1657
+ type ChecklistItem {
1658
+ checklist: Checklist
1659
+ checklistItemAttachmentCount: Float!
1660
+ checklistItemAttachments(description: String): [Attachment!]!
1661
+ checklistItemCommentCount: Float!
1662
+ checklistItemComments: [ChecklistItemComment!]!
1663
+ constructionConfirmStatus: String
1664
+ createdAt: DateTimeISO
1665
+ creator: User
1666
+ deletedAt: DateTimeISO
1667
+ detailType: String!
1668
+ id: ID!
1669
+ inspctionCriteria: String
1670
+ mainType: String!
1671
+ name: String
1672
+ sequence: Int
1673
+ supervisoryConfirmStatus: String
1674
+ updatedAt: DateTimeISO
1675
+ updater: User
1676
+ }
1677
+
1678
+ """Entity for ChecklistItemComment"""
1679
+ type ChecklistItemComment {
1680
+ checklistItem: ChecklistItem
1681
+ comment: String
1682
+ createdAt: DateTimeISO
1683
+ creator: User
1684
+ deletedAt: DateTimeISO
1685
+ id: ID!
1686
+ }
1687
+
1688
+ input ChecklistItemCommentPatch {
1689
+ checklistItemId: String
1690
+ comment: String
1691
+ id: ID
1692
+ }
1693
+
1694
+ input ChecklistItemInputType {
1695
+ detailType: String!
1696
+ inspctionCriteria: String
1697
+ mainType: String!
1698
+ name: String!
1699
+ }
1700
+
1701
+ type ChecklistItemList {
1702
+ items: [ChecklistItem!]!
1703
+ total: Int!
1704
+ }
1705
+
1706
+ input ChecklistItemSubmitInputType {
1707
+ constructionConfirmStatus: String
1708
+ id: String!
1709
+ supervisoryConfirmStatus: String
1710
+ }
1711
+
1712
+ type ChecklistList {
1713
+ items: [Checklist!]!
1714
+ total: Int!
1715
+ }
1716
+
1717
+ input ChecklistSubmitInputType {
1718
+ id: String!
1719
+ overallConstructorSignature: String
1720
+ overallSupervisorySignature: String
1721
+ taskConstructorSignature: String
1722
+ taskSupervisorySignature: String
1723
+ }
1724
+
1725
+ type ChecklistTemplate {
1726
+ checklistTemplateItems: [ChecklistTemplateItem!]!
1727
+ createdAt: DateTimeISO
1728
+ creator: User
1729
+ deletedAt: DateTimeISO
1730
+ domain: Domain
1731
+ id: ID!
1732
+ name: String
1733
+ updatedAt: DateTimeISO
1734
+ updater: User
1735
+ }
1736
+
1737
+ type ChecklistTemplateItem {
1738
+ checklistTemplate: ChecklistTemplate
1739
+ createdAt: DateTimeISO
1740
+ creator: User
1741
+ detailType: String!
1742
+ detailTypeName: String!
1743
+ id: ID!
1744
+ inspctionCriteria: String
1745
+ mainType: String!
1746
+ name: String!
1747
+ sequence: Int
1748
+ updatedAt: DateTimeISO
1749
+ updater: User
1750
+ }
1751
+
1752
+ type ChecklistTemplateItemList {
1753
+ items: [ChecklistTemplateItem!]!
1754
+ total: Int!
1755
+ }
1756
+
1757
+ input ChecklistTemplateItemPatch {
1758
+ checklistTemplateId: String
1759
+ cuFlag: String
1760
+ detailType: String
1761
+ id: ID
1762
+ inspctionCriteria: String
1763
+ mainType: String
1764
+ name: String
1765
+ sequence: Int
1766
+ }
1767
+
1768
+ type ChecklistTemplateList {
1769
+ items: [ChecklistTemplate!]!
1770
+ total: Int!
1771
+ }
1772
+
1773
+ input ChecklistTemplatePatch {
1774
+ cuFlag: String
1775
+ id: ID
1776
+ name: String
1777
+ }
1778
+
1779
+ type ChecklistType {
1780
+ createdAt: DateTimeISO
1781
+ creator: User
1782
+ detailType: String!
1783
+ domain: Domain
1784
+ id: ID!
1785
+ mainType: String!
1786
+ updatedAt: DateTimeISO
1787
+ updater: User
1788
+ }
1789
+
1790
+ type ChecklistTypeList {
1791
+ items: [ChecklistType!]!
1792
+ total: Int!
1793
+ }
1794
+
1795
+ input ChecklistTypePatch {
1796
+ cuFlag: String
1797
+ detailType: String
1798
+ id: ID
1799
+ mainType: String
1800
+ }
1801
+
1514
1802
  input CodeDecipherInput {
1515
1803
  code: String!
1516
1804
  language: String
@@ -1579,9 +1867,7 @@ input CommonCodePatch {
1579
1867
 
1580
1868
  """Represents a configured connection to an external system or service."""
1581
1869
  type Connection {
1582
- """
1583
- Indicates whether the connection is currently active and should be maintained.
1584
- """
1870
+ """Whether to automatically connect when the application starts"""
1585
1871
  active: Boolean
1586
1872
 
1587
1873
  """The timestamp when the connection was created."""
@@ -1608,6 +1894,11 @@ type Connection {
1608
1894
  """The name of the connection."""
1609
1895
  name: String!
1610
1896
 
1897
+ """
1898
+ When true, connection is created on-demand when needed and cleaned up after use.
1899
+ """
1900
+ onDemand: Boolean
1901
+
1611
1902
  """A key-value map of parameters for the connection."""
1612
1903
  params: Object
1613
1904
 
@@ -1635,7 +1926,7 @@ type ConnectionList {
1635
1926
 
1636
1927
  """Input for updating (patching) an existing connection."""
1637
1928
  input ConnectionPatch {
1638
- """The new active status for the connection."""
1929
+ """Whether to automatically connect when the application starts"""
1639
1930
  active: Boolean
1640
1931
 
1641
1932
  """
@@ -1658,6 +1949,11 @@ input ConnectionPatch {
1658
1949
  """The new name for the connection."""
1659
1950
  name: String
1660
1951
 
1952
+ """
1953
+ When true, connection is created on-demand when needed and cleaned up after use.
1954
+ """
1955
+ onDemand: Boolean
1956
+
1661
1957
  """The new parameters for the connection."""
1662
1958
  params: Object
1663
1959
 
@@ -1682,6 +1978,11 @@ type ConnectionState {
1682
1978
  """The name of the connection."""
1683
1979
  name: String
1684
1980
 
1981
+ """
1982
+ When true, connection is created on-demand when needed and cleaned up after use.
1983
+ """
1984
+ onDemand: Boolean
1985
+
1685
1986
  """The current status of the connection."""
1686
1987
  state: String
1687
1988
 
@@ -2916,6 +3217,9 @@ type Domain {
2916
3217
  """A description of the domain."""
2917
3218
  description: String
2918
3219
 
3220
+ """The environment variables associated with the domain."""
3221
+ envVars: [EnvVar!]
3222
+
2919
3223
  """The external type of the domain, if applicable."""
2920
3224
  extType: String
2921
3225
 
@@ -3415,6 +3719,68 @@ type EntityRelationMetadata {
3415
3719
  relationType: Boolean
3416
3720
  }
3417
3721
 
3722
+ """Environment variable entity for storing key-value pairs."""
3723
+ type EnvVar {
3724
+ """Indicates whether this environment variable is currently active."""
3725
+ active: Boolean!
3726
+
3727
+ """The timestamp when the environment variable was created."""
3728
+ createdAt: DateTimeISO
3729
+
3730
+ """A detailed description of the environment variable."""
3731
+ description: String
3732
+
3733
+ """The domain to which this environment variable belongs."""
3734
+ domain: Domain
3735
+
3736
+ """The domain ID to which this environment variable belongs."""
3737
+ domainId: String!
3738
+
3739
+ """Unique identifier for the environment variable."""
3740
+ id: ID!
3741
+
3742
+ """The name of the environment variable."""
3743
+ name: String!
3744
+
3745
+ """The timestamp when the environment variable was last updated."""
3746
+ updatedAt: DateTimeISO
3747
+
3748
+ """The value of the environment variable (encrypted)."""
3749
+ value: String
3750
+ }
3751
+
3752
+ """List of environment variables."""
3753
+ type EnvVarList {
3754
+ """The list of environment variable items."""
3755
+ items: [EnvVar!]!
3756
+
3757
+ """The total number of environment variables."""
3758
+ total: Int!
3759
+ }
3760
+
3761
+ """Input type for updating an existing environment variable."""
3762
+ input EnvVarPatch {
3763
+ """The new active status for the environment variable."""
3764
+ active: Boolean
3765
+
3766
+ """
3767
+ A flag indicating whether the environment variable is being created, updated, or deleted.
3768
+ """
3769
+ cuFlag: String
3770
+
3771
+ """The new description for the environment variable."""
3772
+ description: String
3773
+
3774
+ """The unique identifier of the environment variable to update."""
3775
+ id: ID
3776
+
3777
+ """The new name for the environment variable."""
3778
+ name: String
3779
+
3780
+ """The new value for the environment variable."""
3781
+ value: String
3782
+ }
3783
+
3418
3784
  """Entity for Favorite"""
3419
3785
  type Favorite {
3420
3786
  createdAt: DateTimeISO
@@ -3477,21 +3843,6 @@ input FontPatch {
3477
3843
  uri: String
3478
3844
  }
3479
3845
 
3480
- """Grade information for KPI value"""
3481
- type GradeInfo {
3482
- """Color code for visualization"""
3483
- color: String
3484
-
3485
- """Grade description"""
3486
- description: String
3487
-
3488
- """Grade name (e.g., A, B, C, 우수, 양호)"""
3489
- name: String!
3490
-
3491
- """Grade score or performance value"""
3492
- score: Float
3493
- }
3494
-
3495
3846
  """Represents a role that is granted to a specific domain."""
3496
3847
  type GrantedRole {
3497
3848
  """The domain to which the role is granted."""
@@ -3696,6 +4047,45 @@ type InvitationList {
3696
4047
  total: Int
3697
4048
  }
3698
4049
 
4050
+ """Entity for Issue"""
4051
+ type Issue {
4052
+ actionPlans: [ActionPlan!]!
4053
+ active: Boolean
4054
+ createdAt: DateTimeISO
4055
+ creator: User
4056
+ deletedAt: DateTimeISO
4057
+ description: String
4058
+ domain: Domain
4059
+ id: ID!
4060
+ name: String
4061
+ params: String
4062
+ state: String
4063
+ thumbnail: String
4064
+ updatedAt: DateTimeISO
4065
+ updater: User
4066
+ }
4067
+
4068
+ type IssueList {
4069
+ items: [Issue!]!
4070
+ total: Int!
4071
+ }
4072
+
4073
+ input IssuePatch {
4074
+ active: Boolean
4075
+ cuFlag: String
4076
+ description: String
4077
+ id: ID
4078
+ name: String
4079
+ state: IssueStatus
4080
+ thumbnail: Upload
4081
+ }
4082
+
4083
+ """state enumeration of a issue"""
4084
+ enum IssueStatus {
4085
+ STATUS_A
4086
+ STATUS_B
4087
+ }
4088
+
3699
4089
  """
3700
4090
  A field whose value is a JSON Web Token (JWT): https://jwt.io/introduction.
3701
4091
  """
@@ -3708,11 +4098,8 @@ type Kpi {
3708
4098
  """Indicates whether this KPI is active and usable."""
3709
4099
  active: Boolean
3710
4100
 
3711
- """Category to which this KPI belongs."""
3712
- category: KpiCategory
3713
-
3714
- """ID of the category for this KPI."""
3715
- categoryId: String
4101
+ """Child KPIs in hierarchical structure."""
4102
+ children: [Kpi!]
3716
4103
 
3717
4104
  """Timestamp when this KPI was created."""
3718
4105
  createdAt: DateTimeISO
@@ -3740,16 +4127,29 @@ type Kpi {
3740
4127
  """
3741
4128
  formula: String
3742
4129
 
3743
- """Grade configuration for this KPI version"""
4130
+ """
4131
+ Performance index lookup table for complex transformations. @deprecated 향후 제거 예정. performanceFormula 사용 권장.
4132
+ """
3744
4133
  grades: Object
3745
4134
  histories(limit: Int): [KpiHistory!]
3746
4135
 
3747
4136
  """Unique identifier for this KPI."""
3748
4137
  id: ID!
3749
4138
 
3750
- """Name of the KPI."""
4139
+ """
4140
+ Indicates whether this KPI is a leaf node (has actual measured values).
4141
+ """
4142
+ isLeaf: Boolean
4143
+
4144
+ """Name of the KPI."""
3751
4145
  name: String
3752
4146
 
4147
+ """Parent KPI in hierarchical structure."""
4148
+ parent: Kpi
4149
+
4150
+ """ID of the parent KPI."""
4151
+ parentId: String
4152
+
3753
4153
  """Aggregation period type for this KPI."""
3754
4154
  periodType: KpiPeriodType!
3755
4155
 
@@ -3761,6 +4161,11 @@ type Kpi {
3761
4161
  """Schedule ID for the KPI (used for scheduler registration)."""
3762
4162
  scheduleId: String
3763
4163
 
4164
+ """
4165
+ Score calculation formula for this KPI. Converts KPI value to performance score (0-100). For complex mappings, use grades lookup table instead. Example: "if(value >= 90, 100, if(value >= 80, 85, 70))" or "value * 0.8 + 20"
4166
+ """
4167
+ scoreFormula: String
4168
+
3764
4169
  """Current state of the KPI (DRAFT, RELEASED, ARCHIVED)."""
3765
4170
  state: String
3766
4171
  targetValue: Float
@@ -3780,7 +4185,10 @@ type Kpi {
3780
4185
 
3781
4186
  """ID of the user who last updated this KPI."""
3782
4187
  updaterId: String
3783
- value: KpiValue
4188
+ value(
4189
+ """Organization scope filter for value"""
4190
+ orgScope: String
4191
+ ): KpiValue
3784
4192
 
3785
4193
  """
3786
4194
  Version number of the KPI. Increments on each modification. When the KPI is released, a snapshot is saved in kpi-history and the status becomes RELEASED. Editing after release increases the version and sets status to DRAFT.
@@ -3817,94 +4225,10 @@ type KpiAlert {
3817
4225
  message: String!
3818
4226
  }
3819
4227
 
3820
- """
3821
- KPI category entity. Represents a classification or group for KPIs. Supports hierarchical (tree) structure.
3822
- """
3823
- type KpiCategory {
3824
- """Whether this category is active (usable) or not."""
3825
- active: Boolean
3826
-
3827
- """Timestamp when this KPI category was created."""
3828
- createdAt: DateTimeISO
3829
-
3830
- """User who created this KPI category."""
3831
- creator: User
3832
-
3833
- """ID of the user who created this KPI category."""
3834
- creatorId: String
3835
-
3836
- """Detailed description of this KPI category."""
3837
- description: String
3838
-
3839
- """Domain (tenant) to which this KPI category belongs."""
3840
- domain: Domain
3841
-
3842
- """ID of the domain (tenant) for this KPI category."""
3843
- domainId: String
3844
-
3845
- """Aggregation formula using child KPI codes."""
3846
- formula: String
3847
-
3848
- """Unique identifier for this KPI category."""
3849
- id: ID!
3850
-
3851
- """List of KPIs belonging to this category."""
3852
- kpis: [Kpi!]
3853
-
3854
- """Name of the KPI category."""
3855
- name: String!
3856
-
3857
- """Timestamp when this KPI category was last updated."""
3858
- updatedAt: DateTimeISO
3859
-
3860
- """User who last updated this KPI category."""
3861
- updater: User
3862
-
3863
- """ID of the user who last updated this KPI category."""
3864
- updaterId: String
3865
-
3866
- """Weight for aggregation in higher-level summary."""
3867
- weight: Float
3868
- }
3869
-
3870
- type KpiCategoryList {
3871
- items: [KpiCategory!]!
3872
- total: Int!
3873
- }
3874
-
3875
- """
3876
- Input type for updating an existing KPI category. Used in mutations to patch category details.
3877
- """
3878
- input KpiCategoryPatch {
3879
- """Whether this category is active (usable) or not."""
3880
- active: Boolean
3881
-
3882
- """Custom flag for update operations (internal use)."""
3883
- cuFlag: String
3884
-
3885
- """Detailed description of this KPI category."""
3886
- description: String
3887
-
3888
- """Aggregation formula using child KPI codes."""
3889
- formula: String
3890
-
3891
- """ID of the KPI category to update."""
3892
- id: ID
3893
-
3894
- """Name of the KPI category."""
3895
- name: String
3896
-
3897
- """Weight for aggregation in higher-level summary."""
3898
- weight: Float
3899
- }
3900
-
3901
4228
  """History Entity of Kpi"""
3902
4229
  type KpiHistory {
3903
4230
  """Whether this KPI is active (usable) or not."""
3904
4231
  active: Boolean
3905
-
3906
- """Category to which this KPI belongs."""
3907
- category: KpiCategory
3908
4232
  createdAt: DateTimeISO
3909
4233
  creator: User
3910
4234
  deletedAt: DateTimeISO
@@ -3983,7 +4307,12 @@ type KpiMetric {
3983
4307
  name: String!
3984
4308
 
3985
4309
  """Aggregation period type for this metric."""
3986
- periodType: KpiMetricPeriodType!
4310
+ periodType: KpiPeriodType!
4311
+
4312
+ """
4313
+ Cron schedule string for periodic KPI value aggregation (e.g., "0 0 * * *" for daily).
4314
+ """
4315
+ schedule: String
3987
4316
 
3988
4317
  """Schedule ID for the registered cron job."""
3989
4318
  scheduleId: String
@@ -4036,7 +4365,7 @@ input KpiMetricPatch {
4036
4365
  name: String
4037
4366
 
4038
4367
  """Aggregation period type for this metric."""
4039
- periodType: KpiMetricPeriodType
4368
+ periodType: KpiPeriodType
4040
4369
 
4041
4370
  """
4042
4371
  Cron schedule string for periodic KPI value aggregation (e.g., "0 0 * * *" for daily).
@@ -4053,15 +4382,6 @@ input KpiMetricPatch {
4053
4382
  unit: String
4054
4383
  }
4055
4384
 
4056
- """Aggregation period type for metric (DAY, WEEK, MONTH, QUARTER, RANGE)"""
4057
- enum KpiMetricPeriodType {
4058
- DAY
4059
- MONTH
4060
- QUARTER
4061
- RANGE
4062
- WEEK
4063
- }
4064
-
4065
4385
  """
4066
4386
  Current value for each KPI metric (can be used for both state and history).
4067
4387
  """
@@ -4071,13 +4391,15 @@ type KpiMetricValue {
4071
4391
  creatorId: String
4072
4392
  domain: Domain
4073
4393
  domainId: String
4074
-
4075
- """Group key for this value (organization, line, user, etc.)"""
4076
- group: String
4077
4394
  id: ID!
4078
4395
  meta: Object
4079
4396
  metric: KpiMetric!
4080
4397
  metricId: String!
4398
+
4399
+ """
4400
+ Organizational unit for this value (project, department, company, employee, etc.)
4401
+ """
4402
+ org: String
4081
4403
  periodType: KpiPeriodType!
4082
4404
  unit: String
4083
4405
  updatedAt: DateTimeISO
@@ -4103,9 +4425,6 @@ input KpiMetricValuePatch {
4103
4425
  """Custom flag for update operations (internal use)."""
4104
4426
  cuFlag: String
4105
4427
 
4106
- """Group key for this value (organization, line, user, etc.)"""
4107
- group: String
4108
-
4109
4428
  """ID of the metric value to update."""
4110
4429
  id: ID
4111
4430
 
@@ -4117,6 +4436,11 @@ input KpiMetricValuePatch {
4117
4436
  """ID of the metric to which this value belongs."""
4118
4437
  metricId: ID
4119
4438
 
4439
+ """
4440
+ Organizational unit for this value (project, department, company, employee, etc.)
4441
+ """
4442
+ org: String
4443
+
4120
4444
  """Aggregation period type for this metric value."""
4121
4445
  periodType: KpiPeriodType
4122
4446
 
@@ -4132,6 +4456,108 @@ input KpiMetricValuePatch {
4132
4456
  valueDate: String
4133
4457
  }
4134
4458
 
4459
+ """
4460
+ KPI organization scope mapping entity. Maps business entities to various scope dimensions for KPI analysis using generic reference pattern.
4461
+ """
4462
+ type KpiOrgScope {
4463
+ """Timestamp when this org-scope mapping was created."""
4464
+ createdAt: DateTimeISO
4465
+
4466
+ """User who created this org-scope mapping."""
4467
+ creator: User
4468
+
4469
+ """ID of the user who created this org-scope mapping."""
4470
+ creatorId: String
4471
+
4472
+ """Domain (tenant) to which this org-scope mapping belongs."""
4473
+ domain: Domain
4474
+
4475
+ """ID of the domain (tenant) for this org-scope mapping."""
4476
+ domainId: String
4477
+
4478
+ """ID of the referenced business entity"""
4479
+ entityId: String!
4480
+
4481
+ """
4482
+ Name of the referenced business entity (denormalized for performance and convenience)
4483
+ """
4484
+ entityName: String!
4485
+
4486
+ """
4487
+ Type of the referenced business entity (e.g., Project, Department, Company, Employee)
4488
+ """
4489
+ entityType: String!
4490
+
4491
+ """Unique identifier for this org-scope mapping."""
4492
+ id: ID!
4493
+
4494
+ """Legacy org field for backward compatibility"""
4495
+ org: String
4496
+
4497
+ """First scope dimension (e.g., geographical region, business unit)"""
4498
+ scope01: String
4499
+
4500
+ """Second scope dimension (e.g., product line, customer segment)"""
4501
+ scope02: String
4502
+
4503
+ """Third scope dimension (e.g., process type, technology stack)"""
4504
+ scope03: String
4505
+
4506
+ """Fourth scope dimension (e.g., cost center, profit center)"""
4507
+ scope04: String
4508
+
4509
+ """Fifth scope dimension (e.g., risk level, priority tier)"""
4510
+ scope05: String
4511
+
4512
+ """Timestamp when this org-scope mapping was last updated."""
4513
+ updatedAt: DateTimeISO
4514
+
4515
+ """User who last updated this org-scope mapping."""
4516
+ updater: User
4517
+
4518
+ """ID of the user who last updated this org-scope mapping."""
4519
+ updaterId: String
4520
+ }
4521
+
4522
+ """List of KPI org-scope mappings with pagination"""
4523
+ type KpiOrgScopeList {
4524
+ """Array of KPI org-scope mappings"""
4525
+ items: [KpiOrgScope!]!
4526
+
4527
+ """Total count of items"""
4528
+ total: Int!
4529
+ }
4530
+
4531
+ """Input type for updating an existing KPI org-scope mapping"""
4532
+ input KpiOrgScopePatch {
4533
+ """Active status"""
4534
+ active: Boolean
4535
+
4536
+ """Human-readable name or description"""
4537
+ displayName: String
4538
+
4539
+ """ID of the org-scope mapping to update"""
4540
+ id: ID!
4541
+
4542
+ """Organizational unit identifier"""
4543
+ org: String
4544
+
4545
+ """First scope dimension"""
4546
+ scope01: String
4547
+
4548
+ """Second scope dimension"""
4549
+ scope02: String
4550
+
4551
+ """Third scope dimension"""
4552
+ scope03: String
4553
+
4554
+ """Fourth scope dimension"""
4555
+ scope04: String
4556
+
4557
+ """Fifth scope dimension"""
4558
+ scope05: String
4559
+ }
4560
+
4135
4561
  """
4136
4562
  Input type for updating an existing KPI. Used in mutations to patch KPI details.
4137
4563
  """
@@ -4139,9 +4565,6 @@ input KpiPatch {
4139
4565
  """Indicates whether this KPI is active and usable."""
4140
4566
  active: Boolean
4141
4567
 
4142
- """ID of the category to which this KPI belongs."""
4143
- categoryId: ID
4144
-
4145
4568
  """Custom flag for update operations (internal use)."""
4146
4569
  cuFlag: String
4147
4570
 
@@ -4151,20 +4574,33 @@ input KpiPatch {
4151
4574
  """Calculation formula for the KPI, using metric codes and operators."""
4152
4575
  formula: String
4153
4576
 
4154
- """Grade configuration for this KPI version"""
4577
+ """Score lookup table for this KPI version"""
4155
4578
  grades: Object
4156
4579
 
4157
4580
  """ID of the KPI to update."""
4158
4581
  id: ID
4159
4582
 
4583
+ """
4584
+ Indicates whether this KPI is a leaf node (has actual measured values).
4585
+ """
4586
+ isLeaf: Boolean
4587
+
4160
4588
  """Name of the KPI."""
4161
4589
  name: String
4162
4590
 
4591
+ """Reference to the parent KPI in hierarchical structure."""
4592
+ parent: ObjectRef
4593
+
4163
4594
  """
4164
4595
  Cron schedule string for periodic KPI value aggregation (e.g., "0 0 * * *" for daily).
4165
4596
  """
4166
4597
  schedule: String
4167
4598
 
4599
+ """
4600
+ Score calculation formula for this KPI. Converts KPI value to performance score (0-1).
4601
+ """
4602
+ scoreFormula: String
4603
+
4168
4604
  """Current state of the KPI (DRAFT, RELEASED, ARCHIVED)."""
4169
4605
  state: KpiStatus
4170
4606
 
@@ -4188,13 +4624,137 @@ input KpiPatch {
4188
4624
  weight: Float
4189
4625
  }
4190
4626
 
4191
- """Aggregation period type for KPI (DAY, WEEK, MONTH, QUARTER, RANGE)"""
4627
+ """
4628
+ Aggregation period type for KPI (DAY, WEEK, MONTH, QUARTER, RANGE, ALLTIME)
4629
+ """
4192
4630
  enum KpiPeriodType {
4631
+ ALLTIME
4193
4632
  DAY
4194
4633
  MONTH
4195
4634
  QUARTER
4196
4635
  RANGE
4197
4636
  WEEK
4637
+ YEAR
4638
+ }
4639
+
4640
+ """
4641
+ KPI Statistics Entity - Stores comprehensive statistical information for KPIs and Categories including central tendency measures (mean, median), dispersion metrics (standard deviation, variance), range indicators (min, max), and percentile distributions (25th, 75th percentiles, IQR). Supports both KPI and Category targets with flexible period-based aggregation (daily, weekly, monthly, yearly). Includes extensible JSON fields for additional metrics and metadata for calculation tracking.
4642
+ """
4643
+ type KpiStatistic {
4644
+ """Additional statistical metrics stored as key-value pairs"""
4645
+ additionalStatistics: Object
4646
+
4647
+ """Number of data points used in calculation"""
4648
+ count: Float
4649
+
4650
+ """Timestamp when this statistic was created"""
4651
+ createdAt: DateTimeISO
4652
+
4653
+ """User who created this statistic"""
4654
+ creator: User
4655
+
4656
+ """Domain this statistic belongs to"""
4657
+ domain: Domain
4658
+ id: ID!
4659
+
4660
+ """Interquartile range (75th percentile - 25th percentile)"""
4661
+ iqr: Float
4662
+
4663
+ """Reference to the KPI definition for which this value is calculated."""
4664
+ kpi: Kpi
4665
+
4666
+ """Lower fence for outlier detection (Q1 - 1.5 * IQR)"""
4667
+ lowerFence: Float
4668
+
4669
+ """Maximum value in the dataset"""
4670
+ maximum: Float
4671
+
4672
+ """Arithmetic mean of all values"""
4673
+ mean: Float
4674
+
4675
+ """Middle value when data is sorted (50th percentile)"""
4676
+ median: Float
4677
+
4678
+ """
4679
+ Calculation metadata including method, timestamp, and data quality information
4680
+ """
4681
+ metadata: Object
4682
+
4683
+ """Minimum value in the dataset"""
4684
+ minimum: Float
4685
+
4686
+ """25th percentile - 25% of data is below this value"""
4687
+ percentile25: Float
4688
+
4689
+ """75th percentile - 75% of data is below this value"""
4690
+ percentile75: Float
4691
+
4692
+ """Aggregation period type for this statistic."""
4693
+ periodType: KpiPeriodType!
4694
+
4695
+ """Range of values (maximum - minimum)"""
4696
+ range: Float
4697
+
4698
+ """
4699
+ Statistical scope - null for overall statistics, category value for scoped statistics (e.g., "서울", "부장", "대규모")
4700
+ """
4701
+ scope: String
4702
+
4703
+ """Standard deviation - measure of data dispersion"""
4704
+ standardDeviation: Float
4705
+
4706
+ """Sum of all values in the dataset"""
4707
+ sum: Float
4708
+
4709
+ """Timestamp when this statistic was last updated"""
4710
+ updatedAt: DateTimeISO
4711
+
4712
+ """User who last updated this statistic"""
4713
+ updater: User
4714
+
4715
+ """Upper fence for outlier detection (Q3 + 1.5 * IQR)"""
4716
+ upperFence: Float
4717
+
4718
+ """
4719
+ Date or period for which this statistic is calculated (e.g., day: YYYY-MM-DD, month: YYYY-MM, quarter: YYYY-Qn, range: YYYY-MM-DD~YYYY-MM-DD).
4720
+ """
4721
+ valueDate: String!
4722
+
4723
+ """Variance - square of standard deviation"""
4724
+ variance: Float
4725
+ }
4726
+
4727
+ type KpiStatisticList {
4728
+ items: [KpiStatistic!]!
4729
+ total: Int!
4730
+ }
4731
+
4732
+ input KpiStatisticPatch {
4733
+ additionalStatistics: Object
4734
+ count: Float
4735
+ cuFlag: String
4736
+ id: ID
4737
+ iqr: Float
4738
+ kpi: ObjectRef
4739
+ lowerFence: Float
4740
+ maximum: Float
4741
+ mean: Float
4742
+ median: Float
4743
+ metadata: Object
4744
+ minimum: Float
4745
+ percentile25: Float
4746
+ percentile75: Float
4747
+ periodType: KpiPeriodType
4748
+ range: Float
4749
+ standardDeviation: Float
4750
+ sum: Float
4751
+ upperFence: Float
4752
+
4753
+ """
4754
+ Date or period for which this statistic is calculated (e.g., day: YYYY-MM-DD, month: YYYY-MM, quarter: YYYY-Qn, range: YYYY-MM-DD~YYYY-MM-DD).
4755
+ """
4756
+ valueDate: String
4757
+ variance: Float
4198
4758
  }
4199
4759
 
4200
4760
  """State enumeration of a KPI (DRAFT, RELEASED, ARCHIVED)"""
@@ -4220,10 +4780,6 @@ type KpiValue {
4220
4780
 
4221
4781
  """ID of the domain (tenant) for this KPI value."""
4222
4782
  domainId: String
4223
- grade: GradeInfo
4224
-
4225
- """Group key for this value (organization, line, user, etc.)"""
4226
- group: String
4227
4783
 
4228
4784
  """Unique identifier for this KPI value record."""
4229
4785
  id: ID!
@@ -4239,6 +4795,12 @@ type KpiValue {
4239
4795
  """ID of the referenced KPI."""
4240
4796
  kpiId: String!
4241
4797
 
4798
+ """Reference to the organization scope mapping for this KPI value."""
4799
+ kpiOrgScope: KpiOrgScope
4800
+
4801
+ """ID of the referenced KPI organization scope."""
4802
+ kpiOrgScopeId: String
4803
+
4242
4804
  """
4243
4805
  Extended or non-numeric information related to this KPI value, stored as JSON5. Can include grade, status, comments, or other metadata.
4244
4806
  """
@@ -4247,6 +4809,11 @@ type KpiValue {
4247
4809
  """Aggregation period type for this KPI value."""
4248
4810
  periodType: KpiPeriodType!
4249
4811
 
4812
+ """
4813
+ Performance score calculated from KPI value using scoreFormula or grades lookup table. Range: 0-1.
4814
+ """
4815
+ score: Float
4816
+
4250
4817
  """Source of the value (e.g., system, user, external integration)."""
4251
4818
  source: String
4252
4819
 
@@ -4289,9 +4856,6 @@ input KpiValuePatch {
4289
4856
  """Custom flag for update operations (internal use)."""
4290
4857
  cuFlag: String
4291
4858
 
4292
- """Group key for this value (organization, line, user, etc.)"""
4293
- group: String
4294
-
4295
4859
  """ID of the KPI value to update."""
4296
4860
  id: ID
4297
4861
 
@@ -4303,11 +4867,22 @@ input KpiValuePatch {
4303
4867
  """ID of the KPI to which this value belongs."""
4304
4868
  kpiId: ID
4305
4869
 
4870
+ """ID of the KPI organization scope for this value."""
4871
+ kpiOrgScopeId: ID
4872
+
4306
4873
  """
4307
4874
  Extended or non-numeric information related to this KPI value, stored as JSON5. Can include grade, status, comments, or other metadata.
4308
4875
  """
4309
4876
  meta: Object
4310
4877
 
4878
+ """Legacy organizational unit identifier (for backward compatibility)"""
4879
+ org: String
4880
+
4881
+ """
4882
+ Performance score calculated from KPI value using scoreFormula or grades lookup table. Range: 0-1.
4883
+ """
4884
+ score: Float
4885
+
4311
4886
  """Source of the value (e.g., system, user, external integration)."""
4312
4887
  source: String
4313
4888
 
@@ -4837,6 +5412,9 @@ type Mutation {
4837
5412
  username: String!
4838
5413
  ): Boolean!
4839
5414
 
5415
+ """To apply to all building inspection"""
5416
+ applyToAllBuildingInspection(buildingInspectionId: String!): Boolean!
5417
+
4840
5418
  """To approve ActivityApproval"""
4841
5419
  approveActivityApproval(comment: String, id: String!): ActivityApproval
4842
5420
 
@@ -4853,6 +5431,15 @@ type Mutation {
4853
5431
  Attaches an existing contact to an employee. The contact is identified by its ID and the employee is identified by their ID.
4854
5432
  """
4855
5433
  attachContact(contactId: String!, id: String!): Employee!
5434
+
5435
+ """Bulk create or update KPI org-scope mappings."""
5436
+ bulkUpsertKpiOrgScopes(
5437
+ """Array of org-scope mapping data for bulk upsert."""
5438
+ orgScopes: [NewKpiOrgScope!]!
5439
+ ): [KpiOrgScope!]!
5440
+
5441
+ """KPI 기준으로 formula 계산 및 KPI Value upsert"""
5442
+ calculateKpiValue(kpiId: String!, org: String, valueDate: String): KpiValue!
4856
5443
  cancelInvitation(email: EmailAddress!, reference: String!, type: String!): Boolean!
4857
5444
 
4858
5445
  """To clear translations cache"""
@@ -4877,6 +5464,9 @@ type Mutation {
4877
5464
  """
4878
5465
  copyScenarios(ids: [String!]!): [Scenario!]!
4879
5466
 
5467
+ """To create new ActionPlan"""
5468
+ createActionPlan(actionPlan: NewActionPlan!): ActionPlan!
5469
+
4880
5470
  """To create new Activity"""
4881
5471
  createActivity(activity: NewActivity!): Activity!
4882
5472
 
@@ -4911,6 +5501,12 @@ type Mutation {
4911
5501
  """To create new BoardTemplate"""
4912
5502
  createBoardTemplate(boardTemplate: NewBoardTemplate!): BoardTemplate!
4913
5503
 
5504
+ """To create Building Inspection information"""
5505
+ createBuildingInspection(patch: NewBuildingInspection!): BuildingInspection!
5506
+
5507
+ """To create new ChecklistItemComment"""
5508
+ createChecklistItemComment(checklistItemComment: NewChecklistItemComment!): ChecklistItemComment!
5509
+
4914
5510
  """To create new CommonCode"""
4915
5511
  createCommonCode(commonCode: NewCommonCode!): CommonCode!
4916
5512
 
@@ -4978,6 +5574,9 @@ type Mutation {
4978
5574
  """To create new EntityColumn"""
4979
5575
  createEntityColumn(entityColumn: NewEntityColumn!): EntityColumn!
4980
5576
 
5577
+ """To create new EnvVar"""
5578
+ createEnvVar(envVar: NewEnvVar!): EnvVar!
5579
+
4981
5580
  """To create new Favorite"""
4982
5581
  createFavorite(favorite: NewFavorite!): Favorite!
4983
5582
 
@@ -4987,18 +5586,15 @@ type Mutation {
4987
5586
  """Creates a new board group."""
4988
5587
  createGroup(group: NewGroup!): Group
4989
5588
 
5589
+ """To create new Issue"""
5590
+ createIssue(issue: NewIssue!): Issue!
5591
+
4990
5592
  """Create a new KPI with the provided details."""
4991
5593
  createKpi(
4992
5594
  """Input object containing details for the new KPI."""
4993
5595
  kpi: NewKpi!
4994
5596
  ): Kpi!
4995
5597
 
4996
- """Create a new KPI category with the provided details."""
4997
- createKpiCategory(
4998
- """Input object containing details for the new KPI category."""
4999
- category: NewKpiCategory!
5000
- ): KpiCategory!
5001
-
5002
5598
  """Create a new KPI metric with the provided details."""
5003
5599
  createKpiMetric(
5004
5600
  """Input object containing details for the new KPI metric."""
@@ -5011,6 +5607,15 @@ type Mutation {
5011
5607
  metricValue: NewKpiMetricValue!
5012
5608
  ): KpiMetricValue!
5013
5609
 
5610
+ """Create a new KPI org-scope mapping with the provided details."""
5611
+ createKpiOrgScope(
5612
+ """Input object containing details for the new org-scope mapping."""
5613
+ kpiOrgScope: NewKpiOrgScope!
5614
+ ): KpiOrgScope!
5615
+
5616
+ """To create new KpiStatistic"""
5617
+ createKpiStatistic(kpiStatistic: NewKpiStatistic!): KpiStatistic!
5618
+
5014
5619
  """Create a new KPI value with the provided details."""
5015
5620
  createKpiValue(
5016
5621
  """Input object containing details for the new KPI value."""
@@ -5038,6 +5643,12 @@ type Mutation {
5038
5643
  """To create new MenuDetailColumn"""
5039
5644
  createMenuDetailColumn(menuDetailColumn: NewMenuDetailColumn!): MenuDetailColumn!
5040
5645
 
5646
+ """Create multiple KPI values with the provided details."""
5647
+ createMultipleKpiValue(
5648
+ """Array of input objects containing details for the new KPI values."""
5649
+ values: [NewKpiValue!]!
5650
+ ): [KpiValue!]!
5651
+
5041
5652
  """To create new ApprovalLine for current user"""
5042
5653
  createMyApprovalLine(approvalLine: NewApprovalLine!): ApprovalLine!
5043
5654
 
@@ -5071,6 +5682,9 @@ type Mutation {
5071
5682
  """프로젝트 생성"""
5072
5683
  createProject(project: NewProject!): Project!
5073
5684
 
5685
+ """To create new ProjectReport"""
5686
+ createProjectReport(projectReport: NewProjectReport!): ProjectReport!
5687
+
5074
5688
  """To create new Resource"""
5075
5689
  createResource(resource: NewResource!): Resource!
5076
5690
 
@@ -5086,9 +5700,15 @@ type Mutation {
5086
5700
  """Creates a new state register."""
5087
5701
  createStateRegister(stateRegister: NewStateRegister!): StateRegister!
5088
5702
 
5703
+ """To create new Supervisor"""
5704
+ createSupervisor(supervisor: NewSupervisor!): Supervisor!
5705
+
5089
5706
  """To create new Task"""
5090
5707
  createTask(task: NewTask!): Task!
5091
5708
 
5709
+ """To create Task Checklist information"""
5710
+ createTaskChecklist(patch: NewTaskChecklist!): Boolean!
5711
+
5092
5712
  """To create new TaskResource"""
5093
5713
  createTaskResource(taskResource: NewTaskResource!): TaskResource!
5094
5714
 
@@ -5118,6 +5738,12 @@ type Mutation {
5118
5738
  """To delegate a ActivityThread"""
5119
5739
  delegateActivityThread(assignee: ObjectRef, dueAt: DateTimeISO, id: String!, reason: String): ActivityThread!
5120
5740
 
5741
+ """To delete ActionPlan"""
5742
+ deleteActionPlan(id: String!): Boolean!
5743
+
5744
+ """To delete multiple ActionPlans"""
5745
+ deleteActionPlans(ids: [String!]!): Boolean!
5746
+
5121
5747
  """To delete multiple Activities"""
5122
5748
  deleteActivities(ids: [String!]!): Boolean!
5123
5749
 
@@ -5180,9 +5806,30 @@ type Mutation {
5180
5806
  """To delete multiple BuildingComplexes"""
5181
5807
  deleteBuildingComplexes(ids: [String!]!): Boolean!
5182
5808
 
5809
+ """To delete multiple Checklists"""
5810
+ deleteBuildingInspections(ids: [String!]!): Boolean!
5811
+
5183
5812
  """To delete multiple Buildings"""
5184
5813
  deleteBuildings(ids: [String!]!): Boolean!
5185
5814
 
5815
+ """To delete ChecklistItemComment"""
5816
+ deleteChecklistItemComment(id: String!): Boolean!
5817
+
5818
+ """To delete ChecklistTemplateItem"""
5819
+ deleteChecklistTemplateItem(id: String!): Boolean!
5820
+
5821
+ """To delete multiple ChecklistTemplateItems"""
5822
+ deleteChecklistTemplateItems(ids: [String!]!): Boolean!
5823
+
5824
+ """To delete multiple ChecklistTemplates"""
5825
+ deleteChecklistTemplates(ids: [String!]!): Boolean!
5826
+
5827
+ """To delete multiple ChecklistTypes"""
5828
+ deleteChecklistTypes(ids: [String!]!): Boolean!
5829
+
5830
+ """To create Building Inspection And Checklist information"""
5831
+ deleteChecklists(ids: [String!]!): Boolean!
5832
+
5186
5833
  """To delete CommonCode"""
5187
5834
  deleteCommonCode(id: String!): Boolean!
5188
5835
 
@@ -5317,6 +5964,12 @@ type Mutation {
5317
5964
  """To delete multiple EntityColumns"""
5318
5965
  deleteEntityColumns(ids: [String!]!): Boolean!
5319
5966
 
5967
+ """To delete EnvVar"""
5968
+ deleteEnvVar(id: String!): Boolean!
5969
+
5970
+ """To delete multiple EnvVars"""
5971
+ deleteEnvVars(ids: [String!]!): Boolean!
5972
+
5320
5973
  """To delete Favorite"""
5321
5974
  deleteFavorite(routing: String!): Boolean!
5322
5975
 
@@ -5332,14 +5985,14 @@ type Mutation {
5332
5985
  """To delete multiple InspectionParts"""
5333
5986
  deleteInspectionParts(ids: [String!]!): Boolean!
5334
5987
 
5335
- """To delete Kpi"""
5336
- deleteKpi(id: String!): Boolean!
5988
+ """To delete Issue"""
5989
+ deleteIssue(id: String!): Boolean!
5337
5990
 
5338
- """To delete multiple KpiCategories"""
5339
- deleteKpiCategories(ids: [String!]!): Boolean!
5991
+ """To delete multiple Issues"""
5992
+ deleteIssues(ids: [String!]!): Boolean!
5340
5993
 
5341
- """To delete KpiCategory"""
5342
- deleteKpiCategory(id: String!): Boolean!
5994
+ """To delete Kpi"""
5995
+ deleteKpi(id: String!): Boolean!
5343
5996
 
5344
5997
  """To delete KpiMetric"""
5345
5998
  deleteKpiMetric(id: String!): Boolean!
@@ -5353,6 +6006,18 @@ type Mutation {
5353
6006
  """To delete multiple KpiMetrics"""
5354
6007
  deleteKpiMetrics(ids: [String!]!): Boolean!
5355
6008
 
6009
+ """Delete KPI org-scope mappings by their IDs."""
6010
+ deleteKpiOrgScopes(
6011
+ """Array of org-scope mapping IDs to delete."""
6012
+ ids: [String!]!
6013
+ ): Boolean!
6014
+
6015
+ """To delete KpiStatistic"""
6016
+ deleteKpiStatistic(id: String!): Boolean!
6017
+
6018
+ """To delete multiple KpiStatistics"""
6019
+ deleteKpiStatistics(ids: [String!]!): Boolean!
6020
+
5356
6021
  """To delete KpiValue"""
5357
6022
  deleteKpiValue(id: String!): Boolean!
5358
6023
 
@@ -5464,6 +6129,12 @@ type Mutation {
5464
6129
  """To delete Project"""
5465
6130
  deleteProject(id: String!): Boolean!
5466
6131
 
6132
+ """To delete ProjectReport"""
6133
+ deleteProjectReport(id: String!): Boolean!
6134
+
6135
+ """To delete multiple ProjectReports"""
6136
+ deleteProjectReports(ids: [String!]!): Boolean!
6137
+
5467
6138
  """To delete Resource"""
5468
6139
  deleteResource(id: String!): Boolean!
5469
6140
 
@@ -5497,6 +6168,12 @@ type Mutation {
5497
6168
  """Deletes multiple scenario steps by their IDs."""
5498
6169
  deleteSteps(ids: [String!]!): Boolean!
5499
6170
 
6171
+ """To delete Supervisor"""
6172
+ deleteSupervisor(id: String!): Boolean!
6173
+
6174
+ """To delete multiple Supervisors"""
6175
+ deleteSupervisors(ids: [String!]!): Boolean!
6176
+
5500
6177
  """To delete Task"""
5501
6178
  deleteTask(id: String!): Boolean!
5502
6179
 
@@ -5599,6 +6276,9 @@ type Mutation {
5599
6276
  getOauth2AuthUrl(id: String!): String!
5600
6277
  grantRoles(customerId: String!, roles: [RolePatch!]!): Boolean!
5601
6278
 
6279
+ """To import multiple ActionPlans"""
6280
+ importActionPlans(actionPlans: [ActionPlanPatch!]!): Boolean!
6281
+
5602
6282
  """To import multiple Activities"""
5603
6283
  importActivities(activities: [ActivityPatch!]!): Boolean!
5604
6284
 
@@ -5658,8 +6338,8 @@ type Mutation {
5658
6338
  """
5659
6339
  importEmployees(employees: [EmployeePatch!]!): Boolean!
5660
6340
 
5661
- """To import multiple KpiCategories"""
5662
- importKpiCategories(kpiCategories: [KpiCategoryPatch!]!): Boolean!
6341
+ """To import multiple Issues"""
6342
+ importIssues(issues: [IssuePatch!]!): Boolean!
5663
6343
 
5664
6344
  """To import multiple KpiMetricValues"""
5665
6345
  importKpiMetricValues(metricValues: [KpiMetricValuePatch!]!): Boolean!
@@ -5667,6 +6347,9 @@ type Mutation {
5667
6347
  """To import multiple KpiMetrics"""
5668
6348
  importKpiMetrics(kpiMetrics: [KpiMetricPatch!]!): Boolean!
5669
6349
 
6350
+ """To import KpiStatistics"""
6351
+ importKpiStatistics(kpiStatistics: [KpiStatisticPatch!]!): Boolean!
6352
+
5670
6353
  """To import multiple KpiValues"""
5671
6354
  importKpiValues(kpiValues: [KpiValuePatch!]!): Boolean!
5672
6355
 
@@ -5697,6 +6380,9 @@ type Mutation {
5697
6380
  """To import multiple Oauth2Clients"""
5698
6381
  importOauth2Clients(oauth2Clients: [Oauth2ClientPatch!]!): Boolean!
5699
6382
 
6383
+ """To import multiple ProjectReports"""
6384
+ importProjectReports(projectReports: [ProjectReportPatch!]!): Boolean!
6385
+
5700
6386
  """To import multiple Resources"""
5701
6387
  importResources(resources: [ResourcePatch!]!): Boolean!
5702
6388
 
@@ -5708,6 +6394,9 @@ type Mutation {
5708
6394
  """Imports multiple state registers from a provided list."""
5709
6395
  importStateRegisters(stateRegisters: [StateRegisterPatch!]!): Boolean!
5710
6396
 
6397
+ """To import multiple Supervisors"""
6398
+ importSupervisors(supervisors: [SupervisorPatch!]!): Boolean!
6399
+
5711
6400
  """To import multiple TaskResources"""
5712
6401
  importTaskResources(taskResources: [TaskResourcePatch!]!): Boolean!
5713
6402
 
@@ -5760,20 +6449,25 @@ type Mutation {
5760
6449
  """
5761
6450
  pickActivityInstance(id: String!): ActivityThread
5762
6451
 
5763
- """Recalculate grades for all KpiValues of a specific KPI"""
5764
- recalculateGradesForKpi(kpiId: String!): Boolean!
6452
+ """기존 KPI Value 인스턴스를 현재 formula/metric 값으로 재계산"""
6453
+ recalculateKpiValue(id: String!): KpiValue!
5765
6454
 
5766
- """Record a metric value by metric name, value, meta, and group."""
5767
- recordKpiMetricValue(
5768
- """Group key for this value (organization, line, user, etc.)"""
5769
- group: String
6455
+ """Recalculate scores for all KpiValues of a specific KPI"""
6456
+ recalculateScoresForKpi(kpiId: String!): Boolean!
5770
6457
 
6458
+ """Record a metric value by metric name, value, meta, and org."""
6459
+ recordKpiMetricValue(
5771
6460
  """Extended or non-numeric information (JSON)."""
5772
6461
  meta: Object
5773
6462
 
5774
6463
  """Metric code/name."""
5775
6464
  metricName: String!
5776
6465
 
6466
+ """
6467
+ Organizational unit for this value (project, department, company, employee, etc.)
6468
+ """
6469
+ org: String
6470
+
5777
6471
  """Metric value (number)."""
5778
6472
  value: Float
5779
6473
  ): KpiMetricValue!
@@ -5864,7 +6558,7 @@ type Mutation {
5864
6558
  startDataSummarySchedule(dataSetId: String!): DataSet!
5865
6559
 
5866
6560
  """Starts a new scenario instance, which will run in the background."""
5867
- startScenario(instanceName: String, scenarioName: String!, variables: Object): ScenarioInstance!
6561
+ startScenario(instanceName: String, scenarioName: String!, variables: Object): ScenarioInstanceStartResult!
5868
6562
 
5869
6563
  """Starts the schedule for a specific scenario, if one is defined."""
5870
6564
  startScenarioSchedule(scenarioId: String!): Scenario!
@@ -5906,6 +6600,9 @@ type Mutation {
5906
6600
  username: String!
5907
6601
  ): Boolean!
5908
6602
 
6603
+ """To modify ActionPlan information"""
6604
+ updateActionPlan(id: String!, patch: ActionPlanPatch!): ActionPlan!
6605
+
5909
6606
  """To modify Activity information"""
5910
6607
  updateActivity(id: String!, patch: ActivityPatch!): Activity!
5911
6608
 
@@ -5949,6 +6646,15 @@ type Mutation {
5949
6646
  """To modify BuildingComplex information"""
5950
6647
  updateBuildingComplex(id: String!, patch: BuildingComplexPatch!): BuildingComplex!
5951
6648
 
6649
+ """To update Building Inspection information"""
6650
+ updateBuildingInspection(patch: UpdateBuildingInspection!): BuildingInspection!
6651
+
6652
+ """To create Building Inspection And Checklist information"""
6653
+ updateBuildingInspectionChecklist(buildingInspection: UpdateBuildingInspectionSubmitType!): Boolean!
6654
+
6655
+ """To modify ChecklistItemComment information"""
6656
+ updateChecklistItemComment(id: String!, patch: ChecklistItemCommentPatch!): ChecklistItemComment!
6657
+
5952
6658
  """To modify CommonCode information"""
5953
6659
  updateCommonCode(name: String!, patch: CommonCodePatch!): CommonCode!
5954
6660
 
@@ -6009,24 +6715,30 @@ type Mutation {
6009
6715
  """To modify EntityColumn information"""
6010
6716
  updateEntityColumn(id: String!, patch: EntityColumnPatch!): EntityColumn!
6011
6717
 
6718
+ """To modify EnvVar information"""
6719
+ updateEnvVar(envVar: EnvVarPatch!, id: String!): EnvVar!
6720
+
6012
6721
  """To modify Font information"""
6013
6722
  updateFont(id: String!, patch: FontPatch!): Font!
6014
6723
 
6015
6724
  """Updates an existing board group."""
6016
6725
  updateGroup(id: String!, patch: GroupPatch!): Group!
6017
6726
 
6727
+ """To modify Issue information"""
6728
+ updateIssue(id: String!, patch: IssuePatch!): Issue!
6729
+
6018
6730
  """To modify Kpi information"""
6019
6731
  updateKpi(id: String!, patch: KpiPatch!): Kpi!
6020
6732
 
6021
- """To modify KpiCategory information"""
6022
- updateKpiCategory(id: String!, patch: KpiCategoryPatch!): KpiCategory!
6023
-
6024
6733
  """To modify KpiMetric information"""
6025
6734
  updateKpiMetric(id: String!, patch: KpiMetricPatch!): KpiMetric!
6026
6735
 
6027
6736
  """To modify KpiMetricValue information"""
6028
6737
  updateKpiMetricValue(id: String!, patch: KpiMetricValuePatch!): KpiMetricValue!
6029
6738
 
6739
+ """To modify KpiStatistic information"""
6740
+ updateKpiStatistic(id: String!, patch: KpiStatisticPatch!): KpiStatistic!
6741
+
6030
6742
  """To modify KpiValue information"""
6031
6743
  updateKpiValue(id: String!, patch: KpiValuePatch!): KpiValue!
6032
6744
 
@@ -6051,6 +6763,9 @@ type Mutation {
6051
6763
  """To modify MenuDetailColumn information"""
6052
6764
  updateMenuDetailColumn(id: String!, patch: MenuDetailColumnPatch!): MenuDetailColumn!
6053
6765
 
6766
+ """To modify multiple ActionPlans' information"""
6767
+ updateMultipleActionPlan(patches: [ActionPlanPatch!]!): [ActionPlan!]!
6768
+
6054
6769
  """To modify multiple Activities' information"""
6055
6770
  updateMultipleActivity(patches: [ActivityPatch!]!): [Activity!]!
6056
6771
 
@@ -6072,6 +6787,15 @@ type Mutation {
6072
6787
  """To modify multiple Buildings' information"""
6073
6788
  updateMultipleBuilding(patches: [BuildingPatch!]!): [Building!]!
6074
6789
 
6790
+ """To modify multiple ChecklistTemplates' information"""
6791
+ updateMultipleChecklistTemplate(patches: [ChecklistTemplatePatch!]!): [ChecklistTemplate!]!
6792
+
6793
+ """To modify multiple ChecklistTemplateItems' information"""
6794
+ updateMultipleChecklistTemplateItems(checklistTemplateId: String!, patches: [ChecklistTemplateItemPatch!]!): [ChecklistTemplateItem!]!
6795
+
6796
+ """To modify multiple ChecklistTypes' information"""
6797
+ updateMultipleChecklistType(patches: [ChecklistTypePatch!]!): [ChecklistType!]!
6798
+
6075
6799
  """To modify multiple CommonCodes' information"""
6076
6800
  updateMultipleCommonCode(patches: [CommonCodePatch!]!): [CommonCode!]!
6077
6801
 
@@ -6127,24 +6851,36 @@ type Mutation {
6127
6851
  """To modify multiple Entitys' information"""
6128
6852
  updateMultipleEntityColumn(patches: [EntityColumnPatch!]!): [EntityColumn!]!
6129
6853
 
6854
+ """To modify multiple EnvVars' information"""
6855
+ updateMultipleEnvVars(patches: [EnvVarPatch!]!): [EnvVar!]!
6856
+
6130
6857
  """To modify multiple InspectionDrawingTypes' information"""
6131
6858
  updateMultipleInspectionDrawingType(patches: [InspectionDrawingTypePatch!]!): [InspectionDrawingType!]!
6132
6859
 
6133
6860
  """To modify multiple InspectionParts' information"""
6134
6861
  updateMultipleInspectionPart(inspectionDrawingTypeId: String!, patches: [InspectionPartPatch!]!): [InspectionPart!]!
6135
6862
 
6863
+ """To modify multiple Issues' information"""
6864
+ updateMultipleIssue(patches: [IssuePatch!]!): [Issue!]!
6865
+
6136
6866
  """To modify multiple Kpis' information"""
6137
6867
  updateMultipleKpi(patches: [KpiPatch!]!): [Kpi!]!
6138
6868
 
6139
- """To modify multiple KpiCategories' information"""
6140
- updateMultipleKpiCategory(patches: [KpiCategoryPatch!]!): [KpiCategory!]!
6141
-
6142
6869
  """To modify multiple KpiMetrics' information"""
6143
6870
  updateMultipleKpiMetric(patches: [KpiMetricPatch!]!): [KpiMetric!]!
6144
6871
 
6145
6872
  """To modify multiple KpiMetricValues' information"""
6146
6873
  updateMultipleKpiMetricValue(patches: [KpiMetricValuePatch!]!): [KpiMetricValue!]!
6147
6874
 
6875
+ """Update multiple KPI org-scope mappings with the provided patches."""
6876
+ updateMultipleKpiOrgScope(
6877
+ """Array of patch objects for updating org-scope mappings."""
6878
+ patches: [KpiOrgScopePatch!]!
6879
+ ): [KpiOrgScope!]!
6880
+
6881
+ """To modify multiple KpiStatistics' information"""
6882
+ updateMultipleKpiStatistic(patches: [KpiStatisticPatch!]!): [KpiStatistic!]!
6883
+
6148
6884
  """To modify multiple KpiValues' information"""
6149
6885
  updateMultipleKpiValue(patches: [KpiValuePatch!]!): [KpiValue!]!
6150
6886
 
@@ -6172,6 +6908,9 @@ type Mutation {
6172
6908
  """To modify multiple PrinterDevices' information"""
6173
6909
  updateMultiplePrinterDevice(patches: [PrinterDevicePatch!]!): [PrinterDevice!]!
6174
6910
 
6911
+ """To modify multiple ProjectReports' information"""
6912
+ updateMultipleProjectReport(patches: [ProjectReportPatch!]!): [ProjectReport!]!
6913
+
6175
6914
  """To modify multiple Resources' information"""
6176
6915
  updateMultipleResource(patches: [ResourcePatch!]!): [Resource!]!
6177
6916
 
@@ -6191,6 +6930,9 @@ type Mutation {
6191
6930
  """
6192
6931
  updateMultipleStep(patches: [StepPatch!]!, scenarioId: String!): [Step!]!
6193
6932
 
6933
+ """To modify multiple Supervisors' information"""
6934
+ updateMultipleSupervisor(patches: [SupervisorPatch!]!): [Supervisor!]!
6935
+
6194
6936
  """To modify multiple Tasks' information"""
6195
6937
  updateMultipleTask(patches: [TaskPatch!]!): [Task!]!
6196
6938
 
@@ -6258,6 +7000,9 @@ type Mutation {
6258
7000
  """프로젝트 도면 업데이트"""
6259
7001
  updateProjectPlan(project: ProjectPatch!): Project!
6260
7002
 
7003
+ """To modify ProjectReport information"""
7004
+ updateProjectReport(id: String!, patch: ProjectReportPatch!): ProjectReport!
7005
+
6261
7006
  """To modify Resource information"""
6262
7007
  updateResource(id: String!, patch: ResourcePatch!): Resource!
6263
7008
 
@@ -6287,9 +7032,15 @@ type Mutation {
6287
7032
  """
6288
7033
  updateStateRegisterByName(name: String!, state: Object!): StateRegister!
6289
7034
 
7035
+ """To modify Supervisor information"""
7036
+ updateSupervisor(id: String!, patch: SupervisorPatch!): Supervisor!
7037
+
6290
7038
  """To modify Task information"""
6291
7039
  updateTask(id: String!, patch: TaskPatch!): Task!
6292
7040
 
7041
+ """To update Task Checklist information"""
7042
+ updateTaskChecklist(taskChecklist: UpdateTaskChecklistSubmitType!): Boolean!
7043
+
6293
7044
  """To modify TaskResource information"""
6294
7045
  updateTaskResource(id: String!, patch: TaskResourcePatch!): TaskResource!
6295
7046
 
@@ -6331,6 +7082,15 @@ type Mutation {
6331
7082
  uploadProjectScheduleTable(param: UploadProjectScheduleTable!): Boolean!
6332
7083
  }
6333
7084
 
7085
+ input NewActionPlan {
7086
+ active: Boolean
7087
+ description: String
7088
+ name: String!
7089
+ params: String
7090
+ state: ActionPlanStatus
7091
+ thumbnail: Upload
7092
+ }
7093
+
6334
7094
  input NewActivity {
6335
7095
  active: Boolean
6336
7096
  activityType: String
@@ -6523,6 +7283,20 @@ input NewBoardTemplate {
6523
7283
  visibility: String!
6524
7284
  }
6525
7285
 
7286
+ input NewBuildingInspection {
7287
+ buildingLevelId: String
7288
+ cellX: Float
7289
+ cellY: Float
7290
+ checklist: ChecklistInputType!
7291
+ checklistItem: [ChecklistItemInputType!]!
7292
+ managerId: String
7293
+ }
7294
+
7295
+ input NewChecklistItemComment {
7296
+ checklistItemId: String
7297
+ comment: String
7298
+ }
7299
+
6526
7300
  input NewCommonCode {
6527
7301
  description: String
6528
7302
  details: [String!]
@@ -6539,6 +7313,9 @@ input NewCommonCodeDetail {
6539
7313
 
6540
7314
  """Input for creating a new connection."""
6541
7315
  input NewConnection {
7316
+ """Whether to automatically connect when the application starts"""
7317
+ active: Boolean
7318
+
6542
7319
  """A detailed description for the new connection."""
6543
7320
  description: String
6544
7321
 
@@ -6551,6 +7328,11 @@ input NewConnection {
6551
7328
  """The name for the new connection."""
6552
7329
  name: String!
6553
7330
 
7331
+ """
7332
+ When true, connection is created on-demand when needed and cleaned up after use.
7333
+ """
7334
+ onDemand: Boolean
7335
+
6554
7336
  """A key-value map of parameters for the new connection."""
6555
7337
  params: Object
6556
7338
 
@@ -6834,6 +7616,21 @@ input NewEntityColumn {
6834
7616
  virtualField: Boolean
6835
7617
  }
6836
7618
 
7619
+ """Input type for creating a new environment variable."""
7620
+ input NewEnvVar {
7621
+ """Indicates whether this environment variable is active."""
7622
+ active: Boolean
7623
+
7624
+ """A detailed description for the new environment variable."""
7625
+ description: String
7626
+
7627
+ """The name for the new environment variable."""
7628
+ name: String!
7629
+
7630
+ """The value for the new environment variable."""
7631
+ value: String
7632
+ }
7633
+
6837
7634
  input NewFavorite {
6838
7635
  routing: String!
6839
7636
  }
@@ -6856,6 +7653,15 @@ input NewGroup {
6856
7653
  name: String!
6857
7654
  }
6858
7655
 
7656
+ input NewIssue {
7657
+ active: Boolean
7658
+ description: String
7659
+ name: String!
7660
+ params: String
7661
+ state: IssueStatus
7662
+ thumbnail: Upload
7663
+ }
7664
+
6859
7665
  """
6860
7666
  Input type for creating a new KPI. Used in mutations to provide KPI details.
6861
7667
  """
@@ -6863,26 +7669,36 @@ input NewKpi {
6863
7669
  """Indicates whether this KPI is active and usable."""
6864
7670
  active: Boolean
6865
7671
 
6866
- """ID of the category to which this KPI belongs."""
6867
- categoryId: ID
6868
-
6869
7672
  """Detailed description of the KPI."""
6870
7673
  description: String
6871
7674
 
6872
7675
  """Calculation formula for the KPI, using metric codes and operators."""
6873
7676
  formula: String
6874
7677
 
6875
- """Grade configuration for this KPI version"""
7678
+ """Score lookup table for this KPI version"""
6876
7679
  grades: Object
6877
7680
 
7681
+ """
7682
+ Indicates whether this KPI is a leaf node (has actual measured values).
7683
+ """
7684
+ isLeaf: Boolean
7685
+
6878
7686
  """Name of the KPI."""
6879
7687
  name: String!
6880
7688
 
7689
+ """Reference to the parent KPI in hierarchical structure."""
7690
+ parent: ObjectRef
7691
+
6881
7692
  """
6882
7693
  Cron schedule string for periodic KPI value aggregation (e.g., "0 0 * * *" for daily).
6883
7694
  """
6884
7695
  schedule: String
6885
7696
 
7697
+ """
7698
+ Score calculation formula for this KPI. Converts KPI value to performance score (0-1).
7699
+ """
7700
+ scoreFormula: String
7701
+
6886
7702
  """Current state of the KPI (DRAFT, RELEASED, ARCHIVED)."""
6887
7703
  state: KpiStatus
6888
7704
 
@@ -6906,26 +7722,6 @@ input NewKpi {
6906
7722
  weight: Float
6907
7723
  }
6908
7724
 
6909
- """
6910
- Input type for creating a new KPI category. Used in mutations to provide category details.
6911
- """
6912
- input NewKpiCategory {
6913
- """Whether this category is active (usable) or not."""
6914
- active: Boolean
6915
-
6916
- """Detailed description of this KPI category."""
6917
- description: String
6918
-
6919
- """Aggregation formula using child KPI codes."""
6920
- formula: String
6921
-
6922
- """Name of the KPI category."""
6923
- name: String!
6924
-
6925
- """Weight for aggregation in higher-level summary."""
6926
- weight: Float
6927
- }
6928
-
6929
7725
  """
6930
7726
  Input type for creating a new KPI metric. Used in mutations to provide metric details.
6931
7727
  """
@@ -6949,7 +7745,7 @@ input NewKpiMetric {
6949
7745
  name: String!
6950
7746
 
6951
7747
  """Aggregation period type for this metric."""
6952
- periodType: KpiMetricPeriodType
7748
+ periodType: KpiPeriodType
6953
7749
 
6954
7750
  """
6955
7751
  Cron schedule string for periodic KPI value aggregation (e.g., "0 0 * * *" for daily).
@@ -6976,9 +7772,6 @@ input NewKpiMetric {
6976
7772
  Input type for creating a new metric value. Used in mutations to provide metric value details.
6977
7773
  """
6978
7774
  input NewKpiMetricValue {
6979
- """Group key for this value (organization, line, user, etc.)"""
6980
- group: String
6981
-
6982
7775
  """
6983
7776
  Extended or non-numeric information related to this metric value, stored as JSON. Can include status, comments, or other metadata.
6984
7777
  """
@@ -6987,6 +7780,11 @@ input NewKpiMetricValue {
6987
7780
  """ID of the metric to which this value belongs."""
6988
7781
  metricId: ID!
6989
7782
 
7783
+ """
7784
+ Organizational unit for this value (project, department, company, employee, etc.)
7785
+ """
7786
+ org: String
7787
+
6990
7788
  """Aggregation period type for this metric value."""
6991
7789
  periodType: KpiPeriodType!
6992
7790
 
@@ -7002,13 +7800,63 @@ input NewKpiMetricValue {
7002
7800
  valueDate: String!
7003
7801
  }
7004
7802
 
7803
+ """Input type for creating a new KPI org-scope mapping"""
7804
+ input NewKpiOrgScope {
7805
+ """Active status"""
7806
+ active: Boolean
7807
+
7808
+ """Human-readable name or description"""
7809
+ displayName: String
7810
+
7811
+ """Organizational unit identifier"""
7812
+ org: String!
7813
+
7814
+ """First scope dimension"""
7815
+ scope01: String
7816
+
7817
+ """Second scope dimension"""
7818
+ scope02: String
7819
+
7820
+ """Third scope dimension"""
7821
+ scope03: String
7822
+
7823
+ """Fourth scope dimension"""
7824
+ scope04: String
7825
+
7826
+ """Fifth scope dimension"""
7827
+ scope05: String
7828
+ }
7829
+
7830
+ input NewKpiStatistic {
7831
+ additionalStatistics: Object
7832
+ count: Float
7833
+ iqr: Float
7834
+ kpi: ObjectRef
7835
+ lowerFence: Float
7836
+ maximum: Float
7837
+ mean: Float
7838
+ median: Float
7839
+ metadata: Object
7840
+ minimum: Float
7841
+ percentile25: Float
7842
+ percentile75: Float
7843
+ periodType: KpiPeriodType!
7844
+ range: Float
7845
+ standardDeviation: Float
7846
+ sum: Float
7847
+ upperFence: Float
7848
+
7849
+ """
7850
+ Date or period for which this statistic is calculated (e.g., day: YYYY-MM-DD, month: YYYY-MM, quarter: YYYY-Qn, range: YYYY-MM-DD~YYYY-MM-DD).
7851
+ """
7852
+ valueDate: String!
7853
+ variance: Float
7854
+ }
7855
+
7005
7856
  """
7006
7857
  Input type for creating a new KPI value. Used in mutations to provide KPI value details.
7007
7858
  """
7008
7859
  input NewKpiValue {
7009
- """Group key for this value (organization, line, user, etc.)"""
7010
- group: String
7011
-
7012
7860
  """
7013
7861
  Indicates whether this value was entered manually or generated automatically.
7014
7862
  """
@@ -7017,11 +7865,22 @@ input NewKpiValue {
7017
7865
  """ID of the KPI to which this value belongs."""
7018
7866
  kpiId: ID!
7019
7867
 
7868
+ """ID of the KPI organization scope for this value."""
7869
+ kpiOrgScopeId: ID
7870
+
7020
7871
  """
7021
7872
  Extended or non-numeric information related to this KPI value, stored as JSON5. Can include grade, status, comments, or other metadata.
7022
7873
  """
7023
7874
  meta: Object
7024
7875
 
7876
+ """Legacy organizational unit identifier (for backward compatibility)"""
7877
+ org: String
7878
+
7879
+ """
7880
+ Performance score calculated from KPI value using scoreFormula or grades lookup table. Range: 0-1.
7881
+ """
7882
+ score: Float
7883
+
7025
7884
  """Source of the value (e.g., system, user, external integration)."""
7026
7885
  source: String
7027
7886
 
@@ -7300,6 +8159,15 @@ input NewProject {
7300
8159
  name: String!
7301
8160
  }
7302
8161
 
8162
+ input NewProjectReport {
8163
+ active: Boolean
8164
+ description: String
8165
+ name: String!
8166
+ params: String
8167
+ state: ProjectReportStatus
8168
+ thumbnail: Upload
8169
+ }
8170
+
7303
8171
  input NewResource {
7304
8172
  name: String!
7305
8173
  type: ResourceType!
@@ -7329,6 +8197,9 @@ input NewScenario {
7329
8197
  """A detailed description for the new scenario."""
7330
8198
  description: String
7331
8199
 
8200
+ """Iteration for scenario execution: SELF, CHILDREN, or SELF & CHILDREN."""
8201
+ iteration: String
8202
+
7332
8203
  """The name of the new scenario."""
7333
8204
  name: String!
7334
8205
 
@@ -7394,6 +8265,15 @@ input NewStateRegister {
7394
8265
  unit: String
7395
8266
  }
7396
8267
 
8268
+ input NewSupervisor {
8269
+ active: Boolean
8270
+ description: String
8271
+ name: String!
8272
+ params: String
8273
+ state: SupervisorStatus
8274
+ thumbnail: Upload
8275
+ }
8276
+
7397
8277
  input NewTask {
7398
8278
  """작업이 활성 상태인지 여부 (선택 사항)"""
7399
8279
  active: Boolean
@@ -7417,6 +8297,12 @@ input NewTask {
7417
8297
  project: ObjectRefForProject
7418
8298
  }
7419
8299
 
8300
+ input NewTaskChecklist {
8301
+ checklist: TaskChecklistInputType!
8302
+ checklistItem: [ChecklistItemInputType!]!
8303
+ managerId: String
8304
+ }
8305
+
7420
8306
  input NewTaskResource {
7421
8307
  quantity: Float!
7422
8308
  resourceId: ID!
@@ -7801,6 +8687,35 @@ enum OrgMemberTargetType {
7801
8687
  Role
7802
8688
  }
7803
8689
 
8690
+ type PDFDrawing {
8691
+ drawingURL: String
8692
+ dwgId: String
8693
+ id: String
8694
+ links: [PDFDrawingLink!]
8695
+ title: String
8696
+ }
8697
+
8698
+ type PDFDrawingLink {
8699
+ box: String
8700
+ data: PDFDrawingLinkData
8701
+ id: String
8702
+ story: String
8703
+ symbol: String
8704
+ type: String
8705
+ }
8706
+
8707
+ type PDFDrawingLinkData {
8708
+ box: String
8709
+ code: String
8710
+ dwgId: String
8711
+ finDetItems: [RoomFinishDetail!]
8712
+ id: String
8713
+ rmname: String
8714
+ sn: String
8715
+ symbol: String
8716
+ type: String
8717
+ }
8718
+
7804
8719
  """Entity for PagePreference"""
7805
8720
  type PagePreference {
7806
8721
  createdAt: DateTimeISO
@@ -8222,6 +9137,15 @@ type ProjectList {
8222
9137
  total: Int!
8223
9138
  }
8224
9139
 
9140
+ type ProjectManagerOutput {
9141
+ id: ID
9142
+ name: String
9143
+ phone: String
9144
+ position: String
9145
+ updatedAt: String
9146
+ userId: ID!
9147
+ }
9148
+
8225
9149
  input ProjectPatch {
8226
9150
  """연관된 건물 복합체 정보 (선택 사항)"""
8227
9151
  buildingComplex: BuildingComplexPatch
@@ -8263,6 +9187,47 @@ input ProjectPatch {
8263
9187
  weeklyProgress: Float
8264
9188
  }
8265
9189
 
9190
+ """Entity for ProjectReport"""
9191
+ type ProjectReport {
9192
+ active: Boolean
9193
+ content: String
9194
+ createdAt: DateTimeISO
9195
+ creator: User
9196
+ date: DateTimeISO
9197
+ deletedAt: DateTimeISO
9198
+ description: String
9199
+ domain: Domain
9200
+ id: ID!
9201
+ name: String
9202
+ params: String
9203
+ state: String
9204
+ supervisor: Supervisor!
9205
+ thumbnail: String
9206
+ updatedAt: DateTimeISO
9207
+ updater: User
9208
+ }
9209
+
9210
+ type ProjectReportList {
9211
+ items: [ProjectReport!]!
9212
+ total: Int!
9213
+ }
9214
+
9215
+ input ProjectReportPatch {
9216
+ active: Boolean
9217
+ cuFlag: String
9218
+ description: String
9219
+ id: ID
9220
+ name: String
9221
+ state: ProjectReportStatus
9222
+ thumbnail: Upload
9223
+ }
9224
+
9225
+ """state enumeration of a projectReport"""
9226
+ enum ProjectReportStatus {
9227
+ STATUS_A
9228
+ STATUS_B
9229
+ }
9230
+
8266
9231
  """
8267
9232
  Describes a single property for a component or a step, used for UI rendering and configuration.
8268
9233
  """
@@ -8284,13 +9249,38 @@ type PropertySpec {
8284
9249
  """CSS styles to be applied to the input field."""
8285
9250
  styles: Object
8286
9251
 
8287
- """The data type of the property (e.g., text, number, boolean, select)."""
9252
+ """
9253
+ The data type of the property (e.g., text, number, boolean, select, password).
9254
+ """
8288
9255
  type: String!
9256
+
9257
+ """
9258
+ Whether this property should use Domain attributes for secure storage instead of direct params.
9259
+ """
9260
+ useDomainAttribute: Boolean
8289
9261
  }
8290
9262
 
8291
9263
  type Query {
8292
9264
  APIDocCompletion(input: APIDocCompletionInput!): APIDocCompletionOutput!
8293
9265
 
9266
+ """To fetch a ActionPlan"""
9267
+ actionPlan(id: String!): ActionPlan
9268
+
9269
+ """To fetch multiple ActionPlans"""
9270
+ actionPlans(
9271
+ """An array of filter conditions to apply to the list query."""
9272
+ filters: [Filter!]
9273
+
9274
+ """Inherited value type for the list query."""
9275
+ inherited: InheritedValueType
9276
+
9277
+ """Pagination options for the list query."""
9278
+ pagination: Pagination
9279
+
9280
+ """Sorting options for the list query."""
9281
+ sortings: [Sorting!]
9282
+ ): ActionPlanList!
9283
+
8294
9284
  """To fetch multiple Activities"""
8295
9285
  activities(
8296
9286
  """An array of filter conditions to apply to the list query."""
@@ -8705,6 +9695,39 @@ type Query {
8705
9695
  """To fetch a BuildingComplex"""
8706
9696
  buildingBuildingComplex(id: String!): BuildingComplex
8707
9697
 
9698
+ """To fetch a BuildingInspection"""
9699
+ buildingInspection(id: String!): BuildingInspection
9700
+
9701
+ """To fetch a BuildingInspection Summary"""
9702
+ buildingInspectionDateSummaryOfLevelAndPeriod(buildingLevelId: String!, endDate: String!, startDate: String!): [BuildingInspectionSummary!]
9703
+
9704
+ """To fetch a BuildingInspection Summary"""
9705
+ buildingInspectionSummaryOfBuildingLevel(buildingLevelId: String!): BuildingInspectionSummary
9706
+
9707
+ """프로젝트의 검측상태 별 카운트"""
9708
+ buildingInspectionSummaryOfProject(projectId: String!): BuildingInspectionSummary!
9709
+
9710
+ """To fetch multiple BuildingInspections"""
9711
+ buildingInspections(
9712
+ """An array of filter conditions to apply to the list query."""
9713
+ filters: [Filter!]
9714
+
9715
+ """Inherited value type for the list query."""
9716
+ inherited: InheritedValueType
9717
+
9718
+ """Pagination options for the list query."""
9719
+ pagination: Pagination
9720
+
9721
+ """Sorting options for the list query."""
9722
+ sortings: [Sorting!]
9723
+ ): BuildingInspectionList!
9724
+
9725
+ """To fetch multiple BuildingInspections"""
9726
+ buildingInspectionsOfBuildingLevel(params: BuildingInspectionsOfBuildingLevel!): BuildingInspectionList!
9727
+
9728
+ """To fetch multiple BuildingInspections"""
9729
+ buildingInspectionsOfProject(params: BuildingInspectionsOfProject!): BuildingInspectionList!
9730
+
8708
9731
  """To fetch a building level"""
8709
9732
  buildingLevel(id: String!): BuildingLevel
8710
9733
  chatCompletion(input: ChatCompletionInput!): ChatCompletionOutput!
@@ -8733,6 +9756,93 @@ type Query {
8733
9756
  email: EmailAddress!
8734
9757
  ): Boolean!
8735
9758
 
9759
+ """To fetch a Checklist"""
9760
+ checklist(id: String!): Checklist
9761
+
9762
+ """To fetch a ChecklistItem"""
9763
+ checklistItem(id: String!): ChecklistItem
9764
+
9765
+ """To fetch multiple ChecklistItemComments"""
9766
+ checklistItemComments(checklistItemId: String!, pagination: Pagination!): [ChecklistItemComment!]!
9767
+
9768
+ """To fetch multiple ChecklistItems"""
9769
+ checklistItems(
9770
+ """An array of filter conditions to apply to the list query."""
9771
+ filters: [Filter!]
9772
+
9773
+ """Inherited value type for the list query."""
9774
+ inherited: InheritedValueType
9775
+
9776
+ """Pagination options for the list query."""
9777
+ pagination: Pagination
9778
+
9779
+ """Sorting options for the list query."""
9780
+ sortings: [Sorting!]
9781
+ ): ChecklistItemList!
9782
+
9783
+ """To fetch a ChecklistTemplateItem"""
9784
+ checklistTemplateItem(id: String!): ChecklistTemplateItem
9785
+
9786
+ """To fetch multiple ChecklistTemplateItems"""
9787
+ checklistTemplateItems(
9788
+ """An array of filter conditions to apply to the list query."""
9789
+ filters: [Filter!]
9790
+
9791
+ """Inherited value type for the list query."""
9792
+ inherited: InheritedValueType
9793
+
9794
+ """Pagination options for the list query."""
9795
+ pagination: Pagination
9796
+
9797
+ """Sorting options for the list query."""
9798
+ sortings: [Sorting!]
9799
+ ): ChecklistTemplateItemList!
9800
+
9801
+ """To fetch multiple ChecklistTemplates"""
9802
+ checklistTemplates(
9803
+ """An array of filter conditions to apply to the list query."""
9804
+ filters: [Filter!]
9805
+
9806
+ """Inherited value type for the list query."""
9807
+ inherited: InheritedValueType
9808
+
9809
+ """Pagination options for the list query."""
9810
+ pagination: Pagination
9811
+
9812
+ """Sorting options for the list query."""
9813
+ sortings: [Sorting!]
9814
+ ): ChecklistTemplateList!
9815
+
9816
+ """To fetch multiple ChecklistTypes"""
9817
+ checklistTypes(
9818
+ """An array of filter conditions to apply to the list query."""
9819
+ filters: [Filter!]
9820
+
9821
+ """Inherited value type for the list query."""
9822
+ inherited: InheritedValueType
9823
+
9824
+ """Pagination options for the list query."""
9825
+ pagination: Pagination
9826
+
9827
+ """Sorting options for the list query."""
9828
+ sortings: [Sorting!]
9829
+ ): ChecklistTypeList!
9830
+
9831
+ """To fetch multiple Checklists"""
9832
+ checklists(
9833
+ """An array of filter conditions to apply to the list query."""
9834
+ filters: [Filter!]
9835
+
9836
+ """Inherited value type for the list query."""
9837
+ inherited: InheritedValueType
9838
+
9839
+ """Pagination options for the list query."""
9840
+ pagination: Pagination
9841
+
9842
+ """Sorting options for the list query."""
9843
+ sortings: [Sorting!]
9844
+ ): ChecklistList!
9845
+
8736
9846
  """To fetch common approval lines"""
8737
9847
  commonApprovalLines(
8738
9848
  """An array of filter conditions to apply to the list query."""
@@ -9406,6 +10516,20 @@ type Query {
9406
10516
 
9407
10517
  """To fetch a EntityMetadata"""
9408
10518
  entityMetadata(name: String!): EntityMetadata!
10519
+ envVar(id: String!): EnvVar
10520
+ envVars(
10521
+ """An array of filter conditions to apply to the list query."""
10522
+ filters: [Filter!]
10523
+
10524
+ """Inherited value type for the list query."""
10525
+ inherited: InheritedValueType
10526
+
10527
+ """Pagination options for the list query."""
10528
+ pagination: Pagination
10529
+
10530
+ """Sorting options for the list query."""
10531
+ sortings: [Sorting!]
10532
+ ): EnvVarList!
9409
10533
 
9410
10534
  """To fetch a Favorite"""
9411
10535
  favorite(id: String!): Favorite!
@@ -9489,6 +10613,9 @@ type Query {
9489
10613
  i18nCompletion(input: i18nCompletionInput!): i18nCompletionOutput!
9490
10614
  imageCompletion(input: ImageCompletionInput!): ImageCompletionOutput!
9491
10615
 
10616
+ """BuildingInspection By ChecklistItemId"""
10617
+ inspectionByChecklistItemId: BuildingInspection!
10618
+
9492
10619
  """To fetch a InspectionDrawingType"""
9493
10620
  inspectionDrawingType(id: String!): InspectionDrawingType
9494
10621
 
@@ -9548,17 +10675,11 @@ type Query {
9548
10675
  invitation(email: EmailAddress!, reference: String!, type: String!): Invitation!
9549
10676
  invitations(reference: String!, type: String!): InvitationList!
9550
10677
 
9551
- """Fetch a single KPI by its unique identifier."""
9552
- kpi(
9553
- """Unique identifier of the KPI to fetch."""
9554
- id: String!
9555
- ): Kpi
9556
-
9557
- """KPI 실적/등급/목표 미달 등 경고/알림 리스트 반환"""
9558
- kpiAlerts: [KpiAlert!]!
10678
+ """To fetch a Issue"""
10679
+ issue(id: String!): Issue
9559
10680
 
9560
- """To fetch multiple KpiCategories"""
9561
- kpiCategories(
10681
+ """To fetch multiple Issues"""
10682
+ issues(
9562
10683
  """An array of filter conditions to apply to the list query."""
9563
10684
  filters: [Filter!]
9564
10685
 
@@ -9570,13 +10691,22 @@ type Query {
9570
10691
 
9571
10692
  """Sorting options for the list query."""
9572
10693
  sortings: [Sorting!]
9573
- ): KpiCategoryList!
10694
+ ): IssueList!
9574
10695
 
9575
- """Fetch a single KPI category by its unique identifier."""
9576
- kpiCategory(
9577
- """Unique identifier of the KPI category to fetch."""
10696
+ """Fetch a single KPI by its unique identifier."""
10697
+ kpi(
10698
+ """Unique identifier of the KPI to fetch."""
9578
10699
  id: String!
9579
- ): KpiCategory
10700
+ ): Kpi
10701
+
10702
+ """KPI 실적/등급/목표 미달 등 경고/알림 리스트 반환"""
10703
+ kpiAlerts: [KpiAlert!]!
10704
+
10705
+ """Fetch child KPIs of a given parent KPI"""
10706
+ kpiChildren(
10707
+ """ID of the parent KPI"""
10708
+ parentId: String!
10709
+ ): [Kpi!]!
9580
10710
 
9581
10711
  """Fetch a single KPI metric by its unique identifier."""
9582
10712
  kpiMetric(
@@ -9620,6 +10750,69 @@ type Query {
9620
10750
  sortings: [Sorting!]
9621
10751
  ): KpiMetricList!
9622
10752
 
10753
+ """Fetch a single KPI org-scope mapping by its unique identifier."""
10754
+ kpiOrgScope(
10755
+ """Unique identifier of the org-scope mapping to fetch."""
10756
+ id: String!
10757
+ ): KpiOrgScope
10758
+
10759
+ """Find org-scope mapping by org identifier"""
10760
+ kpiOrgScopeByOrg(
10761
+ """Organization identifier to search for"""
10762
+ org: String!
10763
+ ): KpiOrgScope
10764
+
10765
+ """Get distinct values for a specific scope field"""
10766
+ kpiOrgScopeValues(
10767
+ """Scope field to get distinct values from"""
10768
+ scopeField: String!
10769
+
10770
+ """Optional search term to filter values"""
10771
+ searchTerm: String
10772
+ ): [String!]!
10773
+
10774
+ """Fetch multiple KPI org-scope mappings with filters and pagination"""
10775
+ kpiOrgScopes(
10776
+ """An array of filter conditions to apply to the list query."""
10777
+ filters: [Filter!]
10778
+
10779
+ """Inherited value type for the list query."""
10780
+ inherited: InheritedValueType
10781
+
10782
+ """Pagination options for the list query."""
10783
+ pagination: Pagination
10784
+
10785
+ """Sorting options for the list query."""
10786
+ sortings: [Sorting!]
10787
+ ): KpiOrgScopeList!
10788
+
10789
+ """Get distinct org values"""
10790
+ kpiOrgValues(
10791
+ """Optional search term to filter org values"""
10792
+ searchTerm: String
10793
+ ): [String!]!
10794
+
10795
+ """To fetch a KpiStatistic"""
10796
+ kpiStatistic(id: String!): KpiStatistic
10797
+
10798
+ """To fetch multiple KpiStatistics"""
10799
+ kpiStatistics(
10800
+ """An array of filter conditions to apply to the list query."""
10801
+ filters: [Filter!]
10802
+
10803
+ """Inherited value type for the list query."""
10804
+ inherited: InheritedValueType
10805
+
10806
+ """Pagination options for the list query."""
10807
+ pagination: Pagination
10808
+
10809
+ """Sorting options for the list query."""
10810
+ sortings: [Sorting!]
10811
+ ): KpiStatisticList!
10812
+
10813
+ """Fetch KPIs in hierarchical tree structure"""
10814
+ kpiTree: [Kpi!]!
10815
+
9623
10816
  """Fetch a single KPI value by its unique identifier."""
9624
10817
  kpiValue(
9625
10818
  """Unique identifier of the KPI value to fetch."""
@@ -9656,6 +10849,19 @@ type Query {
9656
10849
  sortings: [Sorting!]
9657
10850
  ): KpiList!
9658
10851
 
10852
+ """Fetch root KPIs (KPIs without parent)"""
10853
+ kpisLevel0: [Kpi!]!
10854
+
10855
+ """
10856
+ Fetch first level child KPIs. If rootId is provided, get children of that parent. If not, get all level 1 KPIs (children of root KPIs)
10857
+ """
10858
+ kpisLevel1(
10859
+ """
10860
+ ID of the parent KPI to get level 1 children. If not provided, returns all level 1 KPIs
10861
+ """
10862
+ rootId: String
10863
+ ): [Kpi!]!
10864
+
9659
10865
  """To fetch a LiteMenu"""
9660
10866
  liteMenu(id: String!): LiteMenu!
9661
10867
 
@@ -10014,6 +11220,15 @@ type Query {
10014
11220
  sortings: [Sorting!]
10015
11221
  ): PayloadLogList!
10016
11222
 
11223
+ """To fetch a PDFDrawing by dwgId"""
11224
+ pdfDrawingByDwgId(dwgId: String!): PDFDrawing!
11225
+
11226
+ """To fetch a PDFDrawing by title"""
11227
+ pdfDrawingByTitle(title: String!): PDFDrawing!
11228
+
11229
+ """To fetch multiple PDFDrawings"""
11230
+ pdfDrawings: [PDFDrawing!]!
11231
+
10017
11232
  """To get list of activity instance that a user can pick"""
10018
11233
  pickableActivityList(
10019
11234
  """An array of filter conditions to apply to the list query."""
@@ -10092,6 +11307,27 @@ type Query {
10092
11307
  """To fetch a Project"""
10093
11308
  projectByBuildingComplexId(buildingComplexId: String!): Project
10094
11309
 
11310
+ """To fetch Project"""
11311
+ projectByBuildingLevelId(buildingLevelId: String!): Project!
11312
+
11313
+ """To fetch a ProjectReport"""
11314
+ projectReport(id: String!): ProjectReport
11315
+
11316
+ """To fetch multiple ProjectReports"""
11317
+ projectReports(
11318
+ """An array of filter conditions to apply to the list query."""
11319
+ filters: [Filter!]
11320
+
11321
+ """Inherited value type for the list query."""
11322
+ inherited: InheritedValueType
11323
+
11324
+ """Pagination options for the list query."""
11325
+ pagination: Pagination
11326
+
11327
+ """Sorting options for the list query."""
11328
+ sortings: [Sorting!]
11329
+ ): ProjectReportList!
11330
+
10095
11331
  """프로젝트 리스트"""
10096
11332
  projects(
10097
11333
  """An array of filter conditions to apply to the list query."""
@@ -10293,9 +11529,30 @@ type Query {
10293
11529
  sortings: [Sorting!]
10294
11530
  ): ActivityList!
10295
11531
 
11532
+ """To fetch a Supervisor"""
11533
+ supervisor(id: String!): Supervisor
11534
+
11535
+ """To fetch multiple Supervisors"""
11536
+ supervisors(
11537
+ """An array of filter conditions to apply to the list query."""
11538
+ filters: [Filter!]
11539
+
11540
+ """Inherited value type for the list query."""
11541
+ inherited: InheritedValueType
11542
+
11543
+ """Pagination options for the list query."""
11544
+ pagination: Pagination
11545
+
11546
+ """Sorting options for the list query."""
11547
+ sortings: [Sorting!]
11548
+ ): SupervisorList!
11549
+
10296
11550
  """Fetch a single Task by its ID"""
10297
11551
  task(id: String!): Task
10298
11552
 
11553
+ """Fetch a single TaskChecklistBinding by its ID"""
11554
+ taskChecklistBinding(id: String!): TaskChecklistBinding
11555
+
10299
11556
  """To fetch a TaskResource"""
10300
11557
  taskResource(id: String!): TaskResource
10301
11558
 
@@ -10589,10 +11846,17 @@ type RolePrivilege {
10589
11846
  name: String
10590
11847
  }
10591
11848
 
11849
+ type RoomFinishDetail {
11850
+ box: String
11851
+ dwgId: String
11852
+ part: String
11853
+ symbol: String
11854
+ }
11855
+
10592
11856
  """Represents a sequence of steps designed to automate a task or process."""
10593
11857
  type Scenario {
10594
11858
  """
10595
- Indicates if the scenario should be automatically started when the server starts. [will be deprecated]
11859
+ Indicates if the scenario should be automatically started when the server starts.
10596
11860
  """
10597
11861
  active: Boolean
10598
11862
  connectionNames: [Connection!]!
@@ -10613,6 +11877,9 @@ type Scenario {
10613
11877
  id: ID!
10614
11878
  instances: [ScenarioInstance!]
10615
11879
 
11880
+ """Iteration for scenario execution: SELF, CHILDREN, or SELF & CHILDREN."""
11881
+ iteration: String
11882
+
10616
11883
  """The name of the scenario."""
10617
11884
  name: String!
10618
11885
 
@@ -10742,6 +12009,18 @@ type ScenarioInstanceRunResult {
10742
12009
  variables: Object
10743
12010
  }
10744
12011
 
12012
+ """Contains the final result of a completed scenario instance start."""
12013
+ type ScenarioInstanceStartResult {
12014
+ """A final message from the run (e.g., success or failure reason)."""
12015
+ message: String
12016
+
12017
+ """The final state of the instance after the run."""
12018
+ state: String
12019
+
12020
+ """The timestamp when the instance started."""
12021
+ timestamp: DateTimeISO
12022
+ }
12023
+
10745
12024
  """
10746
12025
  Represents the complete state of a scenario instance at a point in time.
10747
12026
  """
@@ -10794,7 +12073,9 @@ type ScenarioList {
10794
12073
 
10795
12074
  """Input for updating (patching) an existing scenario."""
10796
12075
  input ScenarioPatch {
10797
- """The new active status for the scenario."""
12076
+ """
12077
+ Indicates if the scenario should be automatically started when the server starts.
12078
+ """
10798
12079
  active: Boolean
10799
12080
 
10800
12081
  """
@@ -10808,6 +12089,11 @@ input ScenarioPatch {
10808
12089
  """The unique identifier of the scenario to update."""
10809
12090
  id: ID
10810
12091
 
12092
+ """
12093
+ The new iteration for scenario execution: SELF, CHILDREN, or SELF & CHILDREN.
12094
+ """
12095
+ iteration: String
12096
+
10811
12097
  """The new name for the scenario."""
10812
12098
  name: String
10813
12099
 
@@ -11143,6 +12429,47 @@ type Subscription {
11143
12429
  scenarioQueueState: ScenarioQueueState!
11144
12430
  }
11145
12431
 
12432
+ """Entity for Supervisor"""
12433
+ type Supervisor {
12434
+ active: Boolean
12435
+ createdAt: DateTimeISO
12436
+ creator: User
12437
+ deletedAt: DateTimeISO
12438
+ description: String
12439
+ domain: Domain
12440
+ email: String
12441
+ id: ID!
12442
+ name: String
12443
+ params: String
12444
+ phoneNumber: String
12445
+ reports: [ProjectReport!]!
12446
+ state: String
12447
+ thumbnail: String
12448
+ updatedAt: DateTimeISO
12449
+ updater: User
12450
+ }
12451
+
12452
+ type SupervisorList {
12453
+ items: [Supervisor!]!
12454
+ total: Int!
12455
+ }
12456
+
12457
+ input SupervisorPatch {
12458
+ active: Boolean
12459
+ cuFlag: String
12460
+ description: String
12461
+ id: ID
12462
+ name: String
12463
+ state: SupervisorStatus
12464
+ thumbnail: Upload
12465
+ }
12466
+
12467
+ """state enumeration of a supervisor"""
12468
+ enum SupervisorStatus {
12469
+ STATUS_A
12470
+ STATUS_B
12471
+ }
12472
+
11146
12473
  """공정표 작업 정보"""
11147
12474
  type Task {
11148
12475
  children(
@@ -11179,12 +12506,39 @@ type Task {
11179
12506
  startDate: DateTimeISO
11180
12507
  style: String
11181
12508
  tags: Object
12509
+ taskChecklistBinding: TaskChecklistBinding
11182
12510
  taskResources: [TaskResource!]
11183
12511
  type: String
11184
12512
  updatedAt: DateTimeISO
11185
12513
  updater: User
11186
12514
  }
11187
12515
 
12516
+ """Task와 Checklist 간의 바인딩 정보"""
12517
+ type TaskChecklistBinding {
12518
+ checklist: Checklist
12519
+ createdAt: DateTimeISO
12520
+ creator: User
12521
+ id: ID!
12522
+ manager: ManagerOutput
12523
+ project: Project
12524
+ status: String
12525
+ task: Task
12526
+ taskCode: String!
12527
+ updatedAt: DateTimeISO
12528
+ updater: User
12529
+ }
12530
+
12531
+ input TaskChecklistInputType {
12532
+ constructionDetailType: String
12533
+ constructionType: String
12534
+ inspectionDrawingType: String
12535
+ inspectionParts: [String!]
12536
+ location: String
12537
+ name: String!
12538
+ projectId: String
12539
+ taskCode: String
12540
+ }
12541
+
11188
12542
  type TaskList {
11189
12543
  """작업 리스트 항목들"""
11190
12544
  items: [Task!]!
@@ -11376,6 +12730,25 @@ input ThemePatch {
11376
12730
  value: Object
11377
12731
  }
11378
12732
 
12733
+ input UpdateBuildingInspection {
12734
+ drawingMarker: String
12735
+ id: String!
12736
+ memo: String
12737
+ }
12738
+
12739
+ input UpdateBuildingInspectionSubmitType {
12740
+ checklist: ChecklistSubmitInputType!
12741
+ checklistItem: [ChecklistItemSubmitInputType!]!
12742
+ id: String!
12743
+ memo: String
12744
+ }
12745
+
12746
+ input UpdateTaskChecklistSubmitType {
12747
+ checklist: ChecklistSubmitInputType!
12748
+ checklistId: String!
12749
+ checklistItem: [ChecklistItemSubmitInputType!]!
12750
+ }
12751
+
11379
12752
  """The `Upload` scalar type represents a file upload."""
11380
12753
  scalar Upload
11381
12754