@things-factory/operato-dataset 9.0.9 → 9.0.11

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.
package/schema.graphql CHANGED
@@ -3453,6 +3453,621 @@ A field whose value is a JSON Web Token (JWT): https://jwt.io/introduction.
3453
3453
  """
3454
3454
  scalar JWT
3455
3455
 
3456
+ """
3457
+ KPI entity. Represents a key performance indicator with calculation formula, target, category, and other attributes.
3458
+ """
3459
+ type Kpi {
3460
+ """Indicates whether this KPI is active and usable."""
3461
+ active: Boolean
3462
+
3463
+ """Category to which this KPI belongs."""
3464
+ category: KpiCategory
3465
+
3466
+ """ID of the category for this KPI."""
3467
+ categoryId: String
3468
+
3469
+ """Timestamp when this KPI was created."""
3470
+ createdAt: DateTimeISO
3471
+
3472
+ """User who created this KPI."""
3473
+ creator: User
3474
+
3475
+ """ID of the user who created this KPI."""
3476
+ creatorId: String
3477
+
3478
+ """Timestamp when this KPI was deleted (soft delete)."""
3479
+ deletedAt: DateTimeISO
3480
+
3481
+ """Detailed description of the KPI."""
3482
+ description: String
3483
+
3484
+ """Domain (tenant) to which this KPI belongs."""
3485
+ domain: Domain
3486
+
3487
+ """ID of the domain (tenant) for this KPI."""
3488
+ domainId: String
3489
+
3490
+ """
3491
+ Calculation formula for the KPI. Expressed as a string using metric codes and operators, e.g., "defect_count / total_count * 100".
3492
+ """
3493
+ formula: String
3494
+
3495
+ """List of grades for this KPI."""
3496
+ grades: [KpiGrade!]
3497
+ histories(limit: Int): [KpiHistory!]
3498
+
3499
+ """Unique identifier for this KPI."""
3500
+ id: ID!
3501
+
3502
+ """Name of the KPI."""
3503
+ name: String
3504
+
3505
+ """
3506
+ Cron schedule string for periodic KPI value aggregation (e.g., "0 0 * * *" for daily).
3507
+ """
3508
+ schedule: String
3509
+
3510
+ """Schedule ID for the KPI (used for scheduler registration)."""
3511
+ scheduleId: String
3512
+
3513
+ """Current state of the KPI (DRAFT, RELEASED, ARCHIVED)."""
3514
+ state: String
3515
+ targetValue: Float
3516
+
3517
+ """Thumbnail image or file path for this KPI."""
3518
+ thumbnail: String
3519
+
3520
+ """Timezone for the KPI schedule."""
3521
+ timezone: String
3522
+ unit: String
3523
+
3524
+ """Timestamp when this KPI was last updated."""
3525
+ updatedAt: DateTimeISO
3526
+
3527
+ """User who last updated this KPI."""
3528
+ updater: User
3529
+
3530
+ """ID of the user who last updated this KPI."""
3531
+ updaterId: String
3532
+ value: KpiValue
3533
+
3534
+ """
3535
+ 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.
3536
+ """
3537
+ version: Float
3538
+
3539
+ """
3540
+ Visualization options and metadata for this KPI, such as color, icon, thresholds, unit, decimal places, etc.
3541
+ """
3542
+ vizMeta: Object
3543
+
3544
+ """
3545
+ Visualization type for this KPI (e.g., bar, line, gauge, progress, card, table, icon, badge, text).
3546
+ """
3547
+ vizType: String
3548
+ }
3549
+
3550
+ """KPI 경고/알림 엔티티. KPI 실적, 등급, 목표 미달 등 경고/알림 정보를 제공."""
3551
+ type KpiAlert {
3552
+ """경고/알림 발생 시각."""
3553
+ createdAt: DateTimeISO!
3554
+ id: ID!
3555
+
3556
+ """경고/알림이 발생한 KPI."""
3557
+ kpi: Kpi
3558
+
3559
+ """경고 레벨(예: warning, critical, info 등)."""
3560
+ level: String!
3561
+
3562
+ """경고/알림 메시지."""
3563
+ message: String!
3564
+ }
3565
+
3566
+ """
3567
+ KPI category entity. Represents a classification or group for KPIs. Supports hierarchical (tree) structure.
3568
+ """
3569
+ type KpiCategory {
3570
+ """Whether this category is active (usable) or not."""
3571
+ active: Boolean
3572
+
3573
+ """Timestamp when this KPI category was created."""
3574
+ createdAt: DateTimeISO
3575
+
3576
+ """User who created this KPI category."""
3577
+ creator: User
3578
+
3579
+ """ID of the user who created this KPI category."""
3580
+ creatorId: String
3581
+
3582
+ """Detailed description of this KPI category."""
3583
+ description: String
3584
+
3585
+ """Domain (tenant) to which this KPI category belongs."""
3586
+ domain: Domain
3587
+
3588
+ """ID of the domain (tenant) for this KPI category."""
3589
+ domainId: String
3590
+
3591
+ """Unique identifier for this KPI category."""
3592
+ id: ID!
3593
+
3594
+ """List of KPIs belonging to this category."""
3595
+ kpis: [Kpi!]
3596
+
3597
+ """Name of the KPI category."""
3598
+ name: String!
3599
+
3600
+ """Parent category for hierarchical category structure."""
3601
+ parent: KpiCategory
3602
+
3603
+ """ID of the parent category, if any."""
3604
+ parentId: String
3605
+
3606
+ """Timestamp when this KPI category was last updated."""
3607
+ updatedAt: DateTimeISO
3608
+
3609
+ """User who last updated this KPI category."""
3610
+ updater: User
3611
+
3612
+ """ID of the user who last updated this KPI category."""
3613
+ updaterId: String
3614
+ }
3615
+
3616
+ type KpiCategoryList {
3617
+ items: [KpiCategory!]!
3618
+ total: Int!
3619
+ }
3620
+
3621
+ """
3622
+ Input type for updating an existing KPI category. Used in mutations to patch category details.
3623
+ """
3624
+ input KpiCategoryPatch {
3625
+ """Custom flag for update operations (internal use)."""
3626
+ cuFlag: String
3627
+
3628
+ """Detailed description of this KPI category."""
3629
+ description: String
3630
+
3631
+ """ID of the KPI category to update."""
3632
+ id: ID
3633
+
3634
+ """Name of the KPI category."""
3635
+ name: String
3636
+
3637
+ """ID of the parent category, if any."""
3638
+ parentId: ID
3639
+ }
3640
+
3641
+ """
3642
+ KPI grade entity. Represents a grade/section for a KPI version, with value range, score, color, and description.
3643
+ """
3644
+ type KpiGrade {
3645
+ """Indicates whether this KPI grade is active and usable."""
3646
+ active: Boolean
3647
+
3648
+ """Color code for this grade (for visualization purposes)."""
3649
+ color: String
3650
+
3651
+ """Timestamp when this KPI grade was created."""
3652
+ createdAt: DateTimeISO
3653
+
3654
+ """User who created this KPI grade."""
3655
+ creator: User
3656
+
3657
+ """ID of the user who created this KPI grade."""
3658
+ creatorId: String
3659
+
3660
+ """Detailed description of this KPI grade."""
3661
+ description: String
3662
+
3663
+ """Domain (tenant) to which this KPI grade belongs."""
3664
+ domain: Domain
3665
+
3666
+ """ID of the domain (tenant) for this KPI grade."""
3667
+ domainId: String
3668
+
3669
+ """Unique identifier for this KPI grade."""
3670
+ id: ID!
3671
+
3672
+ """Reference to the KPI to which this grade belongs."""
3673
+ kpi: Kpi!
3674
+
3675
+ """ID of the referenced KPI."""
3676
+ kpiId: String!
3677
+
3678
+ """Maximum value for this grade section."""
3679
+ maxValue: Float!
3680
+
3681
+ """Minimum value for this grade section."""
3682
+ minValue: Float!
3683
+
3684
+ """Name of the grade or section for this KPI."""
3685
+ name: String
3686
+
3687
+ """Score or weight for this grade (optional)."""
3688
+ score: Float
3689
+
3690
+ """Timestamp when this KPI grade was last updated."""
3691
+ updatedAt: DateTimeISO
3692
+
3693
+ """User who last updated this KPI grade."""
3694
+ updater: User
3695
+
3696
+ """ID of the user who last updated this KPI grade."""
3697
+ updaterId: String
3698
+
3699
+ """Version of the KPI definition to which this grade belongs."""
3700
+ version: Int!
3701
+ }
3702
+
3703
+ type KpiGradeList {
3704
+ items: [KpiGrade!]!
3705
+ total: Int!
3706
+ }
3707
+
3708
+ """
3709
+ Input type for updating an existing KPI grade. Used in mutations to patch grade details.
3710
+ """
3711
+ input KpiGradePatch {
3712
+ """Indicates whether this KPI grade is active and usable."""
3713
+ active: Boolean
3714
+
3715
+ """Color code for this grade (for visualization purposes)."""
3716
+ color: String
3717
+
3718
+ """Custom flag for update operations (internal use)."""
3719
+ cuFlag: String
3720
+
3721
+ """Detailed description of this KPI grade."""
3722
+ description: String
3723
+
3724
+ """ID of the KPI grade to update."""
3725
+ id: ID
3726
+
3727
+ """ID of the KPI to which this grade belongs."""
3728
+ kpiId: ID
3729
+
3730
+ """Maximum value for this grade section."""
3731
+ maxValue: Int
3732
+
3733
+ """Minimum value for this grade section."""
3734
+ minValue: Int
3735
+
3736
+ """Name of the grade or section for this KPI."""
3737
+ name: String
3738
+
3739
+ """Score or weight for this grade (optional)."""
3740
+ score: Int
3741
+
3742
+ """Version of the KPI definition to which this grade belongs."""
3743
+ version: Int
3744
+ }
3745
+
3746
+ """History Entity of Kpi"""
3747
+ type KpiHistory {
3748
+ """Whether this KPI is active (usable) or not."""
3749
+ active: Boolean
3750
+
3751
+ """Category to which this KPI belongs."""
3752
+ category: KpiCategory
3753
+ createdAt: DateTimeISO
3754
+ creator: User
3755
+ deletedAt: DateTimeISO
3756
+ description: String
3757
+ domain: Domain
3758
+
3759
+ """Calculation formula for the KPI."""
3760
+ formula: String
3761
+ id: ID!
3762
+ name: String!
3763
+
3764
+ """Current state of the KPI (DRAFT, RELEASED, ARCHIVED)."""
3765
+ state: String
3766
+
3767
+ """Thumbnail image or file path for this KPI."""
3768
+ thumbnail: String
3769
+ updatedAt: DateTimeISO
3770
+ updater: User
3771
+ version: Float
3772
+ }
3773
+
3774
+ type KpiList {
3775
+ items: [Kpi!]!
3776
+ total: Int!
3777
+ }
3778
+
3779
+ """KPI metric entity. Represents a source data item used in KPI formulas."""
3780
+ type KpiMetric {
3781
+ """Indicates whether this metric is active and usable."""
3782
+ active: Boolean
3783
+
3784
+ """Timestamp when this KPI metric was created."""
3785
+ createdAt: DateTimeISO
3786
+
3787
+ """User who created this KPI metric."""
3788
+ creator: User
3789
+
3790
+ """ID of the user who created this KPI metric."""
3791
+ creatorId: String
3792
+
3793
+ """Reference to the source dataset for this metric."""
3794
+ dataSet: DataSet
3795
+
3796
+ """ID of the referenced source dataset."""
3797
+ dataSetId: String
3798
+
3799
+ """Timestamp when this KPI metric was deleted (soft delete)."""
3800
+ deletedAt: DateTimeISO
3801
+
3802
+ """User-friendly name or description of the metric."""
3803
+ description: String
3804
+
3805
+ """Domain (tenant) to which this KPI metric belongs."""
3806
+ domain: Domain
3807
+
3808
+ """ID of the domain (tenant) for this KPI metric."""
3809
+ domainId: String
3810
+
3811
+ """Name of the field in the dataset this metric maps to."""
3812
+ fieldName: String
3813
+
3814
+ """
3815
+ Calculation formula for the metric, using other metric codes and operators.
3816
+ """
3817
+ formula: String
3818
+
3819
+ """Unique identifier for this KPI metric."""
3820
+ id: ID!
3821
+
3822
+ """Metric code, unique within the domain, used in KPI formulas."""
3823
+ name: String!
3824
+
3825
+ """
3826
+ Cron schedule string for periodic KPI value aggregation (e.g., "0 0 * * *" for daily).
3827
+ """
3828
+ schedule: String
3829
+
3830
+ """Schedule ID for the registered cron job."""
3831
+ scheduleId: String
3832
+
3833
+ """Source of the metric data (e.g., system, method, dataset)."""
3834
+ source: String
3835
+
3836
+ """Thumbnail image or file path for this KPI metric."""
3837
+ thumbnail: String
3838
+
3839
+ """Timezone for the schedule."""
3840
+ timezone: String
3841
+
3842
+ """Unit of measurement for this metric (e.g., %, count, hours)."""
3843
+ unit: String
3844
+
3845
+ """Timestamp when this KPI metric was last updated."""
3846
+ updatedAt: DateTimeISO
3847
+
3848
+ """User who last updated this KPI metric."""
3849
+ updater: User
3850
+
3851
+ """ID of the user who last updated this KPI metric."""
3852
+ updaterId: String
3853
+ }
3854
+
3855
+ type KpiMetricList {
3856
+ items: [KpiMetric!]!
3857
+ total: Int!
3858
+ }
3859
+
3860
+ input KpiMetricPatch {
3861
+ active: Boolean
3862
+ cuFlag: String
3863
+ dataSetId: ID
3864
+ description: String
3865
+ fieldName: String
3866
+
3867
+ """
3868
+ Calculation formula for the metric, using other metric codes and operators.
3869
+ """
3870
+ formula: String
3871
+ id: ID
3872
+ name: String
3873
+
3874
+ """
3875
+ Cron schedule string for periodic KPI value aggregation (e.g., "0 0 * * *" for daily).
3876
+ """
3877
+ schedule: String
3878
+
3879
+ """Schedule ID for the registered cron job."""
3880
+ scheduleId: String
3881
+ source: String
3882
+ thumbnail: Upload
3883
+
3884
+ """Timezone for the schedule."""
3885
+ timezone: String
3886
+ unit: String
3887
+ }
3888
+
3889
+ """
3890
+ Input type for updating an existing KPI. Used in mutations to patch KPI details.
3891
+ """
3892
+ input KpiPatch {
3893
+ """Indicates whether this KPI is active and usable."""
3894
+ active: Boolean
3895
+
3896
+ """ID of the category to which this KPI belongs."""
3897
+ categoryId: ID
3898
+
3899
+ """Custom flag for update operations (internal use)."""
3900
+ cuFlag: String
3901
+
3902
+ """Detailed description of the KPI."""
3903
+ description: String
3904
+
3905
+ """Calculation formula for the KPI, using metric codes and operators."""
3906
+ formula: String
3907
+
3908
+ """ID of the KPI to update."""
3909
+ id: ID
3910
+
3911
+ """Name of the KPI."""
3912
+ name: String
3913
+
3914
+ """
3915
+ Cron schedule string for periodic KPI value aggregation (e.g., "0 0 * * *" for daily).
3916
+ """
3917
+ schedule: String
3918
+
3919
+ """Current state of the KPI (DRAFT, RELEASED, ARCHIVED)."""
3920
+ state: KpiStatus
3921
+
3922
+ """Thumbnail image or file for this KPI."""
3923
+ thumbnail: Upload
3924
+
3925
+ """Timezone for the KPI schedule."""
3926
+ timezone: String
3927
+
3928
+ """
3929
+ Visualization options and metadata for this KPI, such as color, icon, thresholds, unit, decimal places, etc.
3930
+ """
3931
+ vizMeta: Object
3932
+
3933
+ """
3934
+ Visualization type for this KPI (e.g., bar, line, gauge, progress, card, table, icon, badge, text).
3935
+ """
3936
+ vizType: String
3937
+ }
3938
+
3939
+ """State enumeration of a KPI (DRAFT, RELEASED, ARCHIVED)"""
3940
+ enum KpiStatus {
3941
+ ARCHIVED
3942
+ DRAFT
3943
+ RELEASE
3944
+ }
3945
+
3946
+ """Entity for KpiValue"""
3947
+ type KpiValue {
3948
+ """Timestamp when this KPI value record was created."""
3949
+ createdAt: DateTimeISO
3950
+
3951
+ """User who created this KPI value record."""
3952
+ creator: User
3953
+
3954
+ """ID of the user who created this KPI value record."""
3955
+ creatorId: String
3956
+
3957
+ """Domain (tenant) to which this KPI value belongs."""
3958
+ domain: Domain
3959
+
3960
+ """ID of the domain (tenant) for this KPI value."""
3961
+ domainId: String
3962
+
3963
+ """
3964
+ ID of the group (organization, department, project, etc.) this value is associated with.
3965
+ """
3966
+ groupId: String
3967
+
3968
+ """Type of the group (e.g., USER, DEPT, PROJECT) for this value."""
3969
+ groupType: String
3970
+
3971
+ """Unique identifier for this KPI value record."""
3972
+ id: ID!
3973
+
3974
+ """
3975
+ Indicates whether this value was entered manually or generated automatically.
3976
+ """
3977
+ inputType: String
3978
+
3979
+ """Reference to the KPI definition for which this value is calculated."""
3980
+ kpi: Kpi
3981
+
3982
+ """ID of the referenced KPI."""
3983
+ kpiId: String!
3984
+
3985
+ """
3986
+ Extended or non-numeric information related to this KPI value, stored as JSON5. Can include grade, status, comments, or other metadata.
3987
+ """
3988
+ meta: Object
3989
+
3990
+ """Source of the value (e.g., system, user, external integration)."""
3991
+ source: String
3992
+
3993
+ """Timestamp when this KPI value record was last updated."""
3994
+ updatedAt: DateTimeISO
3995
+
3996
+ """User who last updated this KPI value record."""
3997
+ updater: User
3998
+
3999
+ """ID of the user who last updated this KPI value record."""
4000
+ updaterId: String
4001
+
4002
+ """The calculated numeric value for this KPI and period."""
4003
+ value: Float!
4004
+
4005
+ """
4006
+ Date or period for which this KPI value is recorded (e.g., day, month, quarter).
4007
+ """
4008
+ valueDate: String!
4009
+
4010
+ """Version of the KPI definition at the time this value was calculated."""
4011
+ version: Int!
4012
+ }
4013
+
4014
+ """Type of the input (Manual or Auto)"""
4015
+ enum KpiValueInputType {
4016
+ AUTO
4017
+ MANUAL
4018
+ }
4019
+
4020
+ type KpiValueList {
4021
+ items: [KpiValue!]!
4022
+ total: Int!
4023
+ }
4024
+
4025
+ """
4026
+ Input type for updating an existing KPI value. Used in mutations to patch KPI value details.
4027
+ """
4028
+ input KpiValuePatch {
4029
+ """Custom flag for update operations (internal use)."""
4030
+ cuFlag: String
4031
+
4032
+ """
4033
+ ID of the group (organization, department, project, etc.) this value is associated with.
4034
+ """
4035
+ groupId: String
4036
+
4037
+ """Type of the group (e.g., USER, DEPT, PROJECT) for this value."""
4038
+ groupType: String
4039
+
4040
+ """ID of the KPI value to update."""
4041
+ id: ID
4042
+
4043
+ """
4044
+ Indicates whether this value was entered manually or generated automatically.
4045
+ """
4046
+ inputType: KpiValueInputType
4047
+
4048
+ """ID of the KPI to which this value belongs."""
4049
+ kpiId: ID
4050
+
4051
+ """
4052
+ Extended or non-numeric information related to this KPI value, stored as JSON5. Can include grade, status, comments, or other metadata.
4053
+ """
4054
+ meta: Object
4055
+
4056
+ """Source of the value (e.g., system, user, external integration)."""
4057
+ source: String
4058
+
4059
+ """The calculated numeric value for this KPI and period."""
4060
+ value: Float
4061
+
4062
+ """
4063
+ Date or period for which this KPI value is recorded (e.g., day, month, quarter).
4064
+ """
4065
+ valueDate: String
4066
+
4067
+ """Version of the KPI definition at the time this value is calculated."""
4068
+ version: Int
4069
+ }
4070
+
3456
4071
  """Entity for LiteMenu"""
3457
4072
  type LiteMenu {
3458
4073
  active: Boolean
@@ -4073,6 +4688,36 @@ type Mutation {
4073
4688
  """Creates a new board group."""
4074
4689
  createGroup(group: NewGroup!): Group
4075
4690
 
4691
+ """Create a new KPI with the provided details."""
4692
+ createKpi(
4693
+ """Input object containing details for the new KPI."""
4694
+ kpi: NewKpi!
4695
+ ): Kpi!
4696
+
4697
+ """Create a new KPI category with the provided details."""
4698
+ createKpiCategory(
4699
+ """Input object containing details for the new KPI category."""
4700
+ category: NewKpiCategory!
4701
+ ): KpiCategory!
4702
+
4703
+ """Create a new KPI grade with the provided details."""
4704
+ createKpiGrade(
4705
+ """Input object containing details for the new KPI grade."""
4706
+ grade: NewKpiGrade!
4707
+ ): KpiGrade!
4708
+
4709
+ """Create a new KPI metric with the provided details."""
4710
+ createKpiMetric(
4711
+ """Input object containing details for the new KPI metric."""
4712
+ metric: NewKpiMetric!
4713
+ ): KpiMetric!
4714
+
4715
+ """Create a new KPI value with the provided details."""
4716
+ createKpiValue(
4717
+ """Input object containing details for the new KPI value."""
4718
+ kpiValue: NewKpiValue!
4719
+ ): KpiValue!
4720
+
4076
4721
  """To create new LiteMenu"""
4077
4722
  createLiteMenu(liteMenu: NewLiteMenu!): LiteMenu!
4078
4723
 
@@ -4349,6 +4994,36 @@ type Mutation {
4349
4994
  """Deletes a board group."""
4350
4995
  deleteGroup(id: String!): Boolean!
4351
4996
 
4997
+ """To delete Kpi"""
4998
+ deleteKpi(id: String!): Boolean!
4999
+
5000
+ """To delete multiple KpiCategories"""
5001
+ deleteKpiCategories(ids: [String!]!): Boolean!
5002
+
5003
+ """To delete KpiCategory"""
5004
+ deleteKpiCategory(id: String!): Boolean!
5005
+
5006
+ """To delete KpiGrade"""
5007
+ deleteKpiGrade(id: String!): Boolean!
5008
+
5009
+ """To delete multiple KpiGrades"""
5010
+ deleteKpiGrades(ids: [String!]!): Boolean!
5011
+
5012
+ """To delete KpiMetric"""
5013
+ deleteKpiMetric(id: String!): Boolean!
5014
+
5015
+ """To delete multiple KpiMetrics"""
5016
+ deleteKpiMetrics(ids: [String!]!): Boolean!
5017
+
5018
+ """To delete KpiValue"""
5019
+ deleteKpiValue(id: String!): Boolean!
5020
+
5021
+ """To delete multiple KpiValues"""
5022
+ deleteKpiValues(ids: [String!]!): Boolean!
5023
+
5024
+ """To delete multiple Kpis"""
5025
+ deleteKpis(ids: [String!]!): Boolean!
5026
+
4352
5027
  """To delete LiteMenu"""
4353
5028
  deleteLiteMenu(id: String!): Boolean!
4354
5029
 
@@ -4612,6 +5287,21 @@ type Mutation {
4612
5287
  """
4613
5288
  importEmployees(employees: [EmployeePatch!]!): Boolean!
4614
5289
 
5290
+ """To import multiple KpiCategories"""
5291
+ importKpiCategories(kpiCategories: [KpiCategoryPatch!]!): Boolean!
5292
+
5293
+ """To import multiple KpiGrades"""
5294
+ importKpiGrades(kpiGrades: [KpiGradePatch!]!): Boolean!
5295
+
5296
+ """To import multiple KpiMetrics"""
5297
+ importKpiMetrics(kpiMetrics: [KpiMetricPatch!]!): Boolean!
5298
+
5299
+ """To import multiple KpiValues"""
5300
+ importKpiValues(kpiValues: [KpiValuePatch!]!): Boolean!
5301
+
5302
+ """To import multiple Kpis"""
5303
+ importKpis(kpis: [KpiPatch!]!): Boolean!
5304
+
4615
5305
  """To import multiple MenuButtons"""
4616
5306
  importMenuButtons(menuButtons: [MenuButtonPatch!]!): Boolean!
4617
5307
 
@@ -4724,6 +5414,9 @@ type Mutation {
4724
5414
 
4725
5415
  """Releases a board, making it public and creating a version history."""
4726
5416
  releaseBoard(id: String!): Board!
5417
+
5418
+ """Release a KPI and create a version history."""
5419
+ releaseKpi(id: String!): Kpi!
4727
5420
  renewApplicationAccessToken(id: String!, scope: String!): AccessToken!
4728
5421
 
4729
5422
  """Sets the custom playback order for boards in a play group."""
@@ -4743,6 +5436,9 @@ type Mutation {
4743
5436
  """Reverts a board to a specific historical version."""
4744
5437
  revertBoardVersion(id: String!, version: Float!): Board!
4745
5438
 
5439
+ """Revert a KPI to a specific historical version."""
5440
+ revertKpiVersion(id: String!, version: Float!): Kpi!
5441
+
4746
5442
  """
4747
5443
  Runs a new scenario instance once and returns the result after it finishes.
4748
5444
  """
@@ -4924,6 +5620,21 @@ type Mutation {
4924
5620
  """Updates an existing board group."""
4925
5621
  updateGroup(id: String!, patch: GroupPatch!): Group!
4926
5622
 
5623
+ """To modify Kpi information"""
5624
+ updateKpi(id: String!, patch: KpiPatch!): Kpi!
5625
+
5626
+ """To modify KpiCategory information"""
5627
+ updateKpiCategory(id: String!, patch: KpiCategoryPatch!): KpiCategory!
5628
+
5629
+ """To modify KpiGrade information"""
5630
+ updateKpiGrade(id: String!, patch: KpiGradePatch!): KpiGrade!
5631
+
5632
+ """To modify KpiMetric information"""
5633
+ updateKpiMetric(id: String!, patch: KpiMetricPatch!): KpiMetric!
5634
+
5635
+ """To modify KpiValue information"""
5636
+ updateKpiValue(id: String!, patch: KpiValuePatch!): KpiValue!
5637
+
4927
5638
  """To modify LiteMenu information"""
4928
5639
  updateLiteMenu(id: String!, patch: LiteMenuPatch!): LiteMenu!
4929
5640
 
@@ -5012,6 +5723,21 @@ type Mutation {
5012
5723
  """To modify multiple Entitys' information"""
5013
5724
  updateMultipleEntityColumn(patches: [EntityColumnPatch!]!): [EntityColumn!]!
5014
5725
 
5726
+ """To modify multiple Kpis' information"""
5727
+ updateMultipleKpi(patches: [KpiPatch!]!): Boolean!
5728
+
5729
+ """To modify multiple KpiCategories' information"""
5730
+ updateMultipleKpiCategory(patches: [KpiCategoryPatch!]!): [KpiCategory!]!
5731
+
5732
+ """To modify multiple KpiGrades' information"""
5733
+ updateMultipleKpiGrade(patches: [KpiGradePatch!]!): [KpiGrade!]!
5734
+
5735
+ """To modify multiple KpiMetrics' information"""
5736
+ updateMultipleKpiMetric(patches: [KpiMetricPatch!]!): [KpiMetric!]!
5737
+
5738
+ """To modify multiple KpiValues' information"""
5739
+ updateMultipleKpiValue(patches: [KpiValuePatch!]!): [KpiValue!]!
5740
+
5015
5741
  """To modify multiple Menus' information"""
5016
5742
  updateMultipleMenu(patches: [MenuPatch!]!): [Menu!]!
5017
5743
 
@@ -5687,6 +6413,183 @@ input NewGroup {
5687
6413
  name: String!
5688
6414
  }
5689
6415
 
6416
+ """
6417
+ Input type for creating a new KPI. Used in mutations to provide KPI details.
6418
+ """
6419
+ input NewKpi {
6420
+ """Indicates whether this KPI is active and usable."""
6421
+ active: Boolean
6422
+
6423
+ """ID of the category to which this KPI belongs."""
6424
+ categoryId: ID
6425
+
6426
+ """Detailed description of the KPI."""
6427
+ description: String
6428
+
6429
+ """Calculation formula for the KPI, using metric codes and operators."""
6430
+ formula: String
6431
+
6432
+ """Name of the KPI."""
6433
+ name: String!
6434
+
6435
+ """
6436
+ Cron schedule string for periodic KPI value aggregation (e.g., "0 0 * * *" for daily).
6437
+ """
6438
+ schedule: String
6439
+
6440
+ """Current state of the KPI (DRAFT, RELEASED, ARCHIVED)."""
6441
+ state: KpiStatus
6442
+
6443
+ """Thumbnail image or file for this KPI."""
6444
+ thumbnail: Upload
6445
+
6446
+ """Timezone for the KPI schedule."""
6447
+ timezone: String
6448
+
6449
+ """
6450
+ Visualization options and metadata for this KPI, such as color, icon, thresholds, unit, decimal places, etc.
6451
+ """
6452
+ vizMeta: Object
6453
+
6454
+ """
6455
+ Visualization type for this KPI (e.g., bar, line, gauge, progress, card, table, icon, badge, text).
6456
+ """
6457
+ vizType: String
6458
+ }
6459
+
6460
+ """
6461
+ Input type for creating a new KPI category. Used in mutations to provide category details.
6462
+ """
6463
+ input NewKpiCategory {
6464
+ active: Boolean
6465
+
6466
+ """Detailed description of this KPI category."""
6467
+ description: String
6468
+
6469
+ """Name of the KPI category."""
6470
+ name: String!
6471
+
6472
+ """ID of the parent category, if any."""
6473
+ parentId: ID
6474
+ }
6475
+
6476
+ """
6477
+ Input type for creating a new KPI grade. Used in mutations to provide grade details.
6478
+ """
6479
+ input NewKpiGrade {
6480
+ """Indicates whether this KPI grade is active and usable."""
6481
+ active: Boolean
6482
+
6483
+ """Color code for this grade (for visualization purposes)."""
6484
+ color: String
6485
+
6486
+ """Detailed description of this KPI grade."""
6487
+ description: String
6488
+
6489
+ """ID of the KPI to which this grade belongs."""
6490
+ kpiId: ID!
6491
+
6492
+ """Maximum value for this grade section."""
6493
+ maxValue: Int!
6494
+
6495
+ """Minimum value for this grade section."""
6496
+ minValue: Int!
6497
+
6498
+ """Name of the grade or section for this KPI."""
6499
+ name: String!
6500
+
6501
+ """Score or weight for this grade (optional)."""
6502
+ score: Int
6503
+
6504
+ """Version of the KPI definition to which this grade belongs."""
6505
+ version: Int!
6506
+ }
6507
+
6508
+ """
6509
+ Input type for creating a new KPI metric. Used in mutations to provide metric details.
6510
+ """
6511
+ input NewKpiMetric {
6512
+ """Indicates whether this metric is active and usable."""
6513
+ active: Boolean
6514
+
6515
+ """ID of the source dataset for this metric."""
6516
+ dataSetId: ID
6517
+
6518
+ """User-friendly name or description of the metric."""
6519
+ description: String
6520
+
6521
+ """Name of the field in the dataset this metric maps to."""
6522
+ fieldName: String
6523
+
6524
+ """
6525
+ Calculation formula for the metric, using other metric codes and operators.
6526
+ """
6527
+ formula: String
6528
+
6529
+ """Metric code, unique within the domain, used in KPI formulas."""
6530
+ name: String!
6531
+
6532
+ """
6533
+ Cron schedule string for periodic KPI value aggregation (e.g., "0 0 * * *" for daily).
6534
+ """
6535
+ schedule: String
6536
+
6537
+ """Schedule ID for the registered cron job."""
6538
+ scheduleId: String
6539
+
6540
+ """Source of the metric data (e.g., system, method, dataset)."""
6541
+ source: String
6542
+
6543
+ """Thumbnail image or file for this metric."""
6544
+ thumbnail: Upload
6545
+
6546
+ """Timezone for the schedule."""
6547
+ timezone: String
6548
+
6549
+ """Unit of measurement for this metric (e.g., %, count, hours)."""
6550
+ unit: String
6551
+ }
6552
+
6553
+ """
6554
+ Input type for creating a new KPI value. Used in mutations to provide KPI value details.
6555
+ """
6556
+ input NewKpiValue {
6557
+ """
6558
+ ID of the group (organization, department, project, etc.) this value is associated with.
6559
+ """
6560
+ groupId: String
6561
+
6562
+ """Type of the group (e.g., USER, DEPT, PROJECT) for this value."""
6563
+ groupType: String
6564
+
6565
+ """
6566
+ Indicates whether this value was entered manually or generated automatically.
6567
+ """
6568
+ inputType: KpiValueInputType
6569
+
6570
+ """ID of the KPI to which this value belongs."""
6571
+ kpiId: ID!
6572
+
6573
+ """
6574
+ Extended or non-numeric information related to this KPI value, stored as JSON5. Can include grade, status, comments, or other metadata.
6575
+ """
6576
+ meta: Object
6577
+
6578
+ """Source of the value (e.g., system, user, external integration)."""
6579
+ source: String
6580
+
6581
+ """The calculated numeric value for this KPI and period."""
6582
+ value: Float!
6583
+
6584
+ """
6585
+ Date or period for which this KPI value is recorded (e.g., day, month, quarter).
6586
+ """
6587
+ valueDate: String!
6588
+
6589
+ """Version of the KPI definition at the time this value is calculated."""
6590
+ version: Int!
6591
+ }
6592
+
5690
6593
  input NewLiteMenu {
5691
6594
  active: Boolean
5692
6595
  appName: String
@@ -7975,6 +8878,114 @@ type Query {
7975
8878
  invitation(email: EmailAddress!, reference: String!, type: String!): Invitation!
7976
8879
  invitations(reference: String!, type: String!): InvitationList!
7977
8880
 
8881
+ """Fetch a single KPI by its unique identifier."""
8882
+ kpi(
8883
+ """Unique identifier of the KPI to fetch."""
8884
+ id: String!
8885
+ ): Kpi
8886
+
8887
+ """KPI 실적/등급/목표 미달 등 경고/알림 리스트 반환"""
8888
+ kpiAlerts: [KpiAlert!]!
8889
+
8890
+ """To fetch multiple KpiCategories"""
8891
+ kpiCategories(
8892
+ """An array of filter conditions to apply to the list query."""
8893
+ filters: [Filter!]
8894
+
8895
+ """Inherited value type for the list query."""
8896
+ inherited: InheritedValueType
8897
+
8898
+ """Pagination options for the list query."""
8899
+ pagination: Pagination
8900
+
8901
+ """Sorting options for the list query."""
8902
+ sortings: [Sorting!]
8903
+ ): KpiCategoryList!
8904
+
8905
+ """Fetch a single KPI category by its unique identifier."""
8906
+ kpiCategory(
8907
+ """Unique identifier of the KPI category to fetch."""
8908
+ id: String!
8909
+ ): KpiCategory
8910
+
8911
+ """Fetch a single KPI grade by its unique identifier."""
8912
+ kpiGrade(
8913
+ """Unique identifier of the KPI grade to fetch."""
8914
+ id: String!
8915
+ ): KpiGrade
8916
+
8917
+ """To fetch multiple KpiGrades"""
8918
+ kpiGrades(
8919
+ """An array of filter conditions to apply to the list query."""
8920
+ filters: [Filter!]
8921
+
8922
+ """Inherited value type for the list query."""
8923
+ inherited: InheritedValueType
8924
+
8925
+ """Pagination options for the list query."""
8926
+ pagination: Pagination
8927
+
8928
+ """Sorting options for the list query."""
8929
+ sortings: [Sorting!]
8930
+ ): KpiGradeList!
8931
+
8932
+ """Fetch a single KPI metric by its unique identifier."""
8933
+ kpiMetric(
8934
+ """Unique identifier of the KPI metric to fetch."""
8935
+ id: String!
8936
+ ): KpiMetric
8937
+
8938
+ """To fetch multiple KpiMetrics"""
8939
+ kpiMetrics(
8940
+ """An array of filter conditions to apply to the list query."""
8941
+ filters: [Filter!]
8942
+
8943
+ """Inherited value type for the list query."""
8944
+ inherited: InheritedValueType
8945
+
8946
+ """Pagination options for the list query."""
8947
+ pagination: Pagination
8948
+
8949
+ """Sorting options for the list query."""
8950
+ sortings: [Sorting!]
8951
+ ): KpiMetricList!
8952
+
8953
+ """Fetch a single KPI value by its unique identifier."""
8954
+ kpiValue(
8955
+ """Unique identifier of the KPI value to fetch."""
8956
+ id: String!
8957
+ ): KpiValue
8958
+
8959
+ """To fetch multiple KpiValues"""
8960
+ kpiValues(
8961
+ """An array of filter conditions to apply to the list query."""
8962
+ filters: [Filter!]
8963
+
8964
+ """Inherited value type for the list query."""
8965
+ inherited: InheritedValueType
8966
+
8967
+ """Pagination options for the list query."""
8968
+ pagination: Pagination
8969
+
8970
+ """Sorting options for the list query."""
8971
+ sortings: [Sorting!]
8972
+ ): KpiValueList!
8973
+
8974
+ """To fetch multiple Kpis"""
8975
+ kpis(
8976
+ """An array of filter conditions to apply to the list query."""
8977
+ filters: [Filter!]
8978
+
8979
+ """Inherited value type for the list query."""
8980
+ inherited: InheritedValueType
8981
+
8982
+ """Pagination options for the list query."""
8983
+ pagination: Pagination
8984
+
8985
+ """Sorting options for the list query."""
8986
+ sortings: [Sorting!]
8987
+ ): KpiList!
8988
+
7978
8989
  """To fetch a LiteMenu"""
7979
8990
  liteMenu(id: String!): LiteMenu!
7980
8991