@operato/scene-grist 7.0.1 → 7.3.7

Sign up to get free protection for your applications and to get access to all the features.
package/schema.graphql CHANGED
@@ -29,7 +29,7 @@ type AppBinding {
29
29
  email: EmailAddress!
30
30
  id: ID!
31
31
  locale: String
32
- name: String!
32
+ name: String
33
33
  owner: Boolean
34
34
  reference: String
35
35
  refreshToken: String
@@ -133,7 +133,7 @@ type ApprovalLine {
133
133
  createdAt: DateTimeISO
134
134
  creator: User
135
135
  description: String
136
- domain: Domain
136
+ domain: Domain!
137
137
  id: ID!
138
138
  model: [ApprovalLineItem!]
139
139
  name: String
@@ -283,11 +283,10 @@ type AuthProvider {
283
283
  clientSecret: String
284
284
  createdAt: DateTimeISO
285
285
  creator: User
286
- domain: Domain
286
+ domain: Domain!
287
287
  id: ID!
288
288
  params: Object
289
289
  privateKey: String
290
- state: String
291
290
  tenantId: String
292
291
  type: String
293
292
  updatedAt: DateTimeISO
@@ -305,6 +304,7 @@ type AuthProviderParameterSpec {
305
304
  name: String!
306
305
  placeholder: String
307
306
  property: Object
307
+ styles: Object
308
308
  type: String!
309
309
  }
310
310
 
@@ -411,7 +411,7 @@ type BoardTemplate {
411
411
  createdAt: DateTimeISO
412
412
  creator: User
413
413
  description: String
414
- domain: Domain
414
+ domain: Domain!
415
415
  id: ID!
416
416
  mine: Boolean!
417
417
  model: String
@@ -462,7 +462,7 @@ type CommonCode {
462
462
  creator: User
463
463
  description: String
464
464
  details: [CommonCodeDetail!]!
465
- domain: Domain
465
+ domain: Domain!
466
466
  id: ID!
467
467
  name: String!
468
468
  updatedAt: DateTimeISO
@@ -475,7 +475,7 @@ type CommonCodeDetail {
475
475
  createdAt: DateTimeISO
476
476
  creator: User
477
477
  description: String
478
- domain: Domain
478
+ domain: Domain!
479
479
  id: ID!
480
480
  labels: Object
481
481
  name: String!
@@ -548,7 +548,7 @@ input ConnectionPatch {
548
548
 
549
549
  type ConnectionState {
550
550
  description: String
551
- domain: Domain
551
+ domain: Domain!
552
552
  edge: Appliance
553
553
  id: String
554
554
  name: String
@@ -578,7 +578,7 @@ type Contact {
578
578
  creator: User
579
579
  deletedAt: DateTimeISO
580
580
  department: String
581
- domain: Domain
581
+ domain: Domain!
582
582
  email: EmailAddress
583
583
  id: ID!
584
584
  items: [ContactItem!]
@@ -649,7 +649,7 @@ type Department {
649
649
  creator: User
650
650
  deletedAt: DateTimeISO
651
651
  description: String
652
- domain: Domain
652
+ domain: Domain!
653
653
  extension: String
654
654
  id: ID!
655
655
  manager: Employee
@@ -747,7 +747,7 @@ scalar EmailAddress @specifiedBy(url: "https://html.spec.whatwg.org/multipage/in
747
747
  """Entity for Employee"""
748
748
  type Employee {
749
749
  active: Boolean
750
- address: String!
750
+ address: String
751
751
  alias: String
752
752
  approvalLines: [ApprovalLine!]!
753
753
  contact: Contact
@@ -756,7 +756,7 @@ type Employee {
756
756
  creator: User
757
757
  deletedAt: DateTimeISO
758
758
  department: Department
759
- domain: Domain
759
+ domain: Domain!
760
760
  email: EmailAddress
761
761
  extension: String
762
762
  hiredOn: String
@@ -787,9 +787,10 @@ type EmployeeList {
787
787
  input EmployeePatch {
788
788
  active: Boolean
789
789
  alias: String
790
+ contact: ObjectRefForContact
790
791
  controlNo: String
791
792
  cuFlag: String
792
- department: ObjectRef
793
+ department: ObjectRefForDepartment
793
794
  hiredOn: String
794
795
  id: ID
795
796
  jobPosition: String
@@ -822,7 +823,7 @@ type Entity {
822
823
  dataProp: String
823
824
  delStrategy: String
824
825
  description: String
825
- domain: Domain
826
+ domain: Domain!
826
827
  extEntity: Boolean
827
828
  fixedColumns: Float
828
829
  id: ID!
@@ -847,7 +848,7 @@ type EntityColumn {
847
848
  creator: User
848
849
  defVal: String
849
850
  description: String
850
- domain: Domain
851
+ domain: Domain!
851
852
  entity: Entity!
852
853
  formEditor: String
853
854
  formFormat: String
@@ -1020,7 +1021,7 @@ type Font {
1020
1021
  active: Boolean!
1021
1022
  createdAt: DateTimeISO
1022
1023
  creator: User
1023
- domain: Domain
1024
+ domain: Domain!
1024
1025
  files: [Attachment!]
1025
1026
  id: ID!
1026
1027
  name: String!
@@ -1143,14 +1144,14 @@ type LoginHistoryList {
1143
1144
  type Menu {
1144
1145
  buttons: [MenuButton!]!
1145
1146
  category: String
1146
- children: [Menu!]!
1147
+ children(permittedOnly: Boolean! = false): [Menu!]!
1147
1148
  columns: [MenuColumn!]!
1148
1149
  createdAt: DateTimeISO
1149
1150
  creator: User
1150
1151
  description: String
1151
1152
  detailFormId: String
1152
1153
  detailLayout: String
1153
- domain: Domain
1154
+ domain: Domain!
1154
1155
  fixedColumns: Float
1155
1156
  gridSaveUrl: String
1156
1157
  hiddenFlag: Boolean
@@ -1162,6 +1163,7 @@ type Menu {
1162
1163
  name: String
1163
1164
  pagination: Boolean
1164
1165
  parent: Menu
1166
+ privilege: PrivilegeObject
1165
1167
  rank: Float
1166
1168
  resourceId: String
1167
1169
  resourceName: String
@@ -1183,7 +1185,7 @@ type MenuButton {
1183
1185
  auth: String
1184
1186
  createdAt: DateTimeISO
1185
1187
  creator: User
1186
- domain: Domain
1188
+ domain: Domain!
1187
1189
  icon: String
1188
1190
  id: ID!
1189
1191
  logic: String
@@ -1218,7 +1220,7 @@ type MenuColumn {
1218
1220
  creator: User
1219
1221
  defVal: String
1220
1222
  description: String
1221
- domain: Domain
1223
+ domain: Domain!
1222
1224
  extField: Boolean
1223
1225
  formEditor: String
1224
1226
  formFormat: String
@@ -1307,7 +1309,7 @@ type MenuDetail {
1307
1309
  creator: User
1308
1310
  customView: String
1309
1311
  dataProp: String
1310
- domain: Domain
1312
+ domain: Domain!
1311
1313
  entityId: String
1312
1314
  id: ID!
1313
1315
  masterField: String
@@ -1324,7 +1326,7 @@ type MenuDetail {
1324
1326
  type MenuDetailButton {
1325
1327
  createdAt: DateTimeISO
1326
1328
  creator: User
1327
- domain: Domain
1329
+ domain: Domain!
1328
1330
  icon: String
1329
1331
  id: ID!
1330
1332
  logic: String
@@ -1358,7 +1360,7 @@ type MenuDetailColumn {
1358
1360
  creator: User
1359
1361
  defVal: String
1360
1362
  description: String
1361
- domain: Domain
1363
+ domain: Domain!
1362
1364
  extField: Boolean
1363
1365
  formEditor: String
1364
1366
  formFormat: String
@@ -1483,6 +1485,7 @@ input MenuPatch {
1483
1485
  name: String
1484
1486
  pagination: Boolean
1485
1487
  parent: ObjectRef
1488
+ privilege: PrivilegeInput
1486
1489
  rank: Int
1487
1490
  resourceId: String
1488
1491
  resourceName: String
@@ -1500,10 +1503,15 @@ type Mutation {
1500
1503
  """To activate user"""
1501
1504
  activateUser(userId: String!): Boolean!
1502
1505
 
1503
- """To attach a contact on Employee"""
1506
+ """
1507
+ Attaches an existing contact to an employee. The contact is identified by its ID and the employee is identified by their ID.
1508
+ """
1504
1509
  attachContact(contactId: String!, id: String!): Employee!
1505
1510
  cancelInvitation(email: EmailAddress!, reference: String!, type: String!): Boolean!
1506
1511
 
1512
+ """To clear translations cache"""
1513
+ clearTranslationsCache: Boolean!
1514
+
1507
1515
  """To clone a Board from existing Board"""
1508
1516
  cloneBoard(id: String!, patch: BoardPatch!, targetGroupId: String, targetSubdomain: String!): Board!
1509
1517
 
@@ -1554,7 +1562,9 @@ type Mutation {
1554
1562
  """To create domain (Only superuser is granted this privilege.)"""
1555
1563
  createDomain(domainInput: DomainPatch!): Domain!
1556
1564
 
1557
- """To create new Employee"""
1565
+ """
1566
+ Creates a new employee record with the provided details. Optionally associates the employee with a supervisor, department, and system user. If a photo is provided, it will be attached to the employee record.
1567
+ """
1558
1568
  createEmployee(employee: NewEmployee!): Employee!
1559
1569
 
1560
1570
  """To create new Entity"""
@@ -1593,6 +1603,9 @@ type Mutation {
1593
1603
  """To create new ApprovalLine for current user"""
1594
1604
  createMyApprovalLine(approvalLine: NewApprovalLine!): ApprovalLine!
1595
1605
 
1606
+ """To create my new PagePreference"""
1607
+ createMyPagePreference(pagePreference: NewPagePreference!): PagePreference!
1608
+
1596
1609
  """To create new Notification"""
1597
1610
  createNotification(notification: NewNotification!): Notification!
1598
1611
 
@@ -1602,6 +1615,12 @@ type Mutation {
1602
1615
  """To create new Oauth2Client"""
1603
1616
  createOauth2Client(oauth2Client: NewOauth2Client!): Oauth2Client!
1604
1617
 
1618
+ """To create new PDFRelease"""
1619
+ createPDFRelease(pdfRelease: NewPDFRelease!): PDFRelease!
1620
+
1621
+ """To create new PDFTemplate"""
1622
+ createPDFTemplate(pdfTemplate: NewPDFTemplate!): PDFTemplate!
1623
+
1605
1624
  """To create new PayloadLog"""
1606
1625
  createPayloadLog(payloadLog: NewPayloadLog!): PayloadLog!
1607
1626
 
@@ -1634,6 +1653,9 @@ type Mutation {
1634
1653
 
1635
1654
  """To create new user"""
1636
1655
  createUser(user: NewUser!): User!
1656
+
1657
+ """To create new UserPreference"""
1658
+ createUserPreference(preference: NewUserPreference!): UserPreference!
1637
1659
  deleteAppBinding(id: String!): Boolean!
1638
1660
 
1639
1661
  """To delete appliance"""
@@ -1648,7 +1670,7 @@ type Mutation {
1648
1670
  """To delete multiple ApprovalLines"""
1649
1671
  deleteApprovalLines(ids: [String!]!): Boolean!
1650
1672
  deleteAttachment(id: String!): Boolean!
1651
- deleteAttachmentsByRef(refBys: [String!]!): Boolean!
1673
+ deleteAttachmentsByRef(refBys: [String!]!, refType: String): Boolean!
1652
1674
 
1653
1675
  """To delete AttributeSet"""
1654
1676
  deleteAttributeSet(id: String!): Boolean!
@@ -1705,10 +1727,14 @@ type Mutation {
1705
1727
  """To delete multiple domains (Only superuser is granted this privilege.)"""
1706
1728
  deleteDomains(names: [String!]!): Boolean!
1707
1729
 
1708
- """To delete Employee"""
1730
+ """
1731
+ Deletes an employee record identified by the given ID. Also deletes any attachments associated with the employee.
1732
+ """
1709
1733
  deleteEmployee(id: String!): Boolean!
1710
1734
 
1711
- """To delete multiple Employees"""
1735
+ """
1736
+ Deletes multiple employee records identified by the given IDs. Also deletes any attachments associated with each employee.
1737
+ """
1712
1738
  deleteEmployees(ids: [String!]!): Boolean!
1713
1739
 
1714
1740
  """To delete multiple Entities"""
@@ -1774,6 +1800,12 @@ type Mutation {
1774
1800
  """To delete multiple ApprovalLines for current user"""
1775
1801
  deleteMyApprovalLines(ids: [String!]!): Boolean!
1776
1802
 
1803
+ """To delete my PagePreference"""
1804
+ deleteMyPagePreference(element: String!, page: String!): Boolean!
1805
+
1806
+ """To delete my preference"""
1807
+ deleteMyUserPreference(element: String!, key: String!): Boolean!
1808
+
1777
1809
  """To delete Notification"""
1778
1810
  deleteNotification(id: String!): Boolean!
1779
1811
 
@@ -1792,6 +1824,24 @@ type Mutation {
1792
1824
  """To delete multiple Oauth2Clients"""
1793
1825
  deleteOauth2Clients(ids: [String!]!): Boolean!
1794
1826
 
1827
+ """To delete PDFRelease"""
1828
+ deletePDFRelease(id: String!): Boolean!
1829
+
1830
+ """To delete multiple PDFReleases"""
1831
+ deletePDFReleases(ids: [String!]!): Boolean!
1832
+
1833
+ """To delete PDFTemplate"""
1834
+ deletePDFTemplate(id: String!): Boolean!
1835
+
1836
+ """To delete multiple PDFTemplates"""
1837
+ deletePDFTemplates(ids: [String!]!): Boolean!
1838
+
1839
+ """To delete PagePreference"""
1840
+ deletePagePreference(id: String!): Boolean!
1841
+
1842
+ """To delete multiple PagePreferences"""
1843
+ deletePagePreferences(ids: [String!]!): Boolean!
1844
+
1795
1845
  """To delete multiple partnerSettings"""
1796
1846
  deletePartnerSettings(ids: [String!]!): Boolean!
1797
1847
 
@@ -1855,10 +1905,18 @@ type Mutation {
1855
1905
  """To delete a user"""
1856
1906
  deleteUser(email: EmailAddress!): Boolean!
1857
1907
 
1908
+ """To delete UserPreference"""
1909
+ deleteUserPreference(id: String!): Boolean!
1910
+
1911
+ """To delete multiple UserPreferences"""
1912
+ deleteUserPreferences(ids: [String!]!): Boolean!
1913
+
1858
1914
  """To delete some users"""
1859
1915
  deleteUsers(emails: [String!]!): Boolean!
1860
1916
 
1861
- """To detach a contact from Employee"""
1917
+ """
1918
+ Detaches an existing contact from an employee. The employee is identified by their ID.
1919
+ """
1862
1920
  detachContact(id: String!): Employee!
1863
1921
 
1864
1922
  """To disconnect a connection"""
@@ -1900,7 +1958,9 @@ type Mutation {
1900
1958
  """To import multiple Departments"""
1901
1959
  importDepartments(departments: [DepartmentPatch!]!): Boolean!
1902
1960
 
1903
- """To import multiple Employees"""
1961
+ """
1962
+ Imports multiple employee records into the system. Each employee record must be provided in the EmployeePatch format.
1963
+ """
1904
1964
  importEmployees(employees: [EmployeePatch!]!): Boolean!
1905
1965
 
1906
1966
  """To import multiple MenuButtons"""
@@ -1927,6 +1987,12 @@ type Mutation {
1927
1987
  """To import multiple Oauth2Clients"""
1928
1988
  importOauth2Clients(oauth2Clients: [Oauth2ClientPatch!]!): Boolean!
1929
1989
 
1990
+ """To import multiple PDFReleases"""
1991
+ importPDFReleases(pdfReleases: [PDFReleasePatch!]!): Boolean!
1992
+
1993
+ """To import multiple PDFTemplates"""
1994
+ importPDFTemplates(pdfTemplates: [PDFTemplatePatch!]!): Boolean!
1995
+
1930
1996
  """To import multiple scenarios"""
1931
1997
  importScenarios(scenarios: [ScenarioPatch!]!): Boolean!
1932
1998
 
@@ -1974,6 +2040,14 @@ type Mutation {
1974
2040
  visibility: String!
1975
2041
  ): BoardTemplate!
1976
2042
 
2043
+ """
2044
+ Registers an existing employee as a system user, granting them access to the system. The employee is identified by their ID.
2045
+ """
2046
+ registerEmployeeAsSystemUser(
2047
+ """Employee Id"""
2048
+ employeeId: String!
2049
+ ): Boolean!
2050
+
1977
2051
  """To release a Board"""
1978
2052
  releaseBoard(id: String!): Board!
1979
2053
  renewApplicationAccessToken(id: String!, scope: String!): AccessToken!
@@ -1990,7 +2064,7 @@ type Mutation {
1990
2064
  """
1991
2065
  To run new scenario instance and will return the result after the scenario stop.
1992
2066
  """
1993
- runScenario(instanceName: String, scenarioName: String!, variables: Object): ScenarioInstance!
2067
+ runScenario(instanceName: String, scenarioName: String!, variables: Object): ScenarioInstanceRunResult!
1994
2068
  sendInvitation(email: EmailAddress!, reference: String!, type: String!): Invitation!
1995
2069
  singleUpload(file: Upload!): Attachment!
1996
2070
 
@@ -2063,7 +2137,9 @@ type Mutation {
2063
2137
  """To update multiple domains (Only superuser is granted this privilege.)"""
2064
2138
  updateDomains(patches: [DomainPatch!]!): Boolean!
2065
2139
 
2066
- """To modify Employee information"""
2140
+ """
2141
+ Updates the details of an existing employee identified by the given ID. Optionally updates the supervisor, department, system user, and photo associated with the employee.
2142
+ """
2067
2143
  updateEmployee(id: String!, patch: EmployeePatch!): Employee!
2068
2144
 
2069
2145
  """To modify Entity' information"""
@@ -2118,7 +2194,9 @@ type Mutation {
2118
2194
  """To modify multiple Departments' information"""
2119
2195
  updateMultipleDepartment(patches: [DepartmentPatch!]!): [Department!]!
2120
2196
 
2121
- """To modify multiple Employees' information"""
2197
+ """
2198
+ Updates or creates multiple employee records based on the provided patches. New employees are created if the "cuFlag" is "+", and existing employees are updated if the "cuFlag" is "M".
2199
+ """
2122
2200
  updateMultipleEmployee(patches: [EmployeePatch!]!): [Employee!]!
2123
2201
 
2124
2202
  """To modify multiple Entitys' information"""
@@ -2139,6 +2217,12 @@ type Mutation {
2139
2217
  """To modify multiple NotificationRules' information"""
2140
2218
  updateMultipleNotificationRule(patches: [NotificationRulePatch!]!): [NotificationRule!]!
2141
2219
 
2220
+ """To modify multiple PDFReleases' information"""
2221
+ updateMultiplePDFRelease(patches: [PDFReleasePatch!]!): [PDFRelease!]!
2222
+
2223
+ """To modify multiple PDFTemplates' information"""
2224
+ updateMultiplePDFTemplate(patches: [PDFTemplatePatch!]!): [PDFTemplate!]!
2225
+
2142
2226
  """To modify multiple PartnerSettings' information"""
2143
2227
  updateMultiplePartnerSetting(patches: [PartnerSettingPatch!]!): [PartnerSetting!]!
2144
2228
 
@@ -2172,6 +2256,12 @@ type Mutation {
2172
2256
  """To modify ApprovalLine information for current user"""
2173
2257
  updateMyApprovalLine(id: String!, patch: ApprovalLinePatch!): ApprovalLine!
2174
2258
 
2259
+ """To create or update my PagePreference"""
2260
+ updateMyPagePreference(element: String!, page: String!, preference: Object!): PagePreference!
2261
+
2262
+ """To create or update my preference"""
2263
+ updateMyUserPreference(key: String!, preference: Object!): UserPreference!
2264
+
2175
2265
  """To modify Notification information"""
2176
2266
  updateNotification(id: String!, patch: NotificationPatch!): Notification!
2177
2267
 
@@ -2181,6 +2271,12 @@ type Mutation {
2181
2271
  """To modify Oauth2Client information"""
2182
2272
  updateOauth2Client(id: String!, patch: Oauth2ClientPatch!): Oauth2Client!
2183
2273
 
2274
+ """To modify PDFRelease information"""
2275
+ updatePDFRelease(id: String!, patch: PDFReleasePatch!): PDFRelease!
2276
+
2277
+ """To modify PDFTemplate information"""
2278
+ updatePDFTemplate(id: String!, patch: PDFTemplatePatch!): PDFTemplate!
2279
+
2184
2280
  """To modify PayloadLog information"""
2185
2281
  updatePayloadLog(id: String!, patch: PayloadLogPatch!): PayloadLog!
2186
2282
 
@@ -2226,6 +2322,9 @@ type Mutation {
2226
2322
  """To modify user information"""
2227
2323
  updateUser(email: EmailAddress!, patch: UserPatch!): User!
2228
2324
 
2325
+ """To modify UserPreference information"""
2326
+ updateUserPreference(id: String!, patch: UserPreferencePatch!): UserPreference!
2327
+
2229
2328
  """To update roles for a user"""
2230
2329
  updateUserRoles(availableRoles: [ObjectRef!]!, selectedRoles: [ObjectRef!]!, userId: String!): User!
2231
2330
  }
@@ -2348,8 +2447,9 @@ input NewDepartment {
2348
2447
  input NewEmployee {
2349
2448
  active: Boolean
2350
2449
  alias: String
2450
+ contact: ObjectRefForContact
2351
2451
  controlNo: String!
2352
- department: ObjectRef
2452
+ department: ObjectRefForDepartment
2353
2453
  extension: String
2354
2454
  hiredOn: String
2355
2455
  jobPosition: String
@@ -2457,6 +2557,7 @@ input NewMenu {
2457
2557
  name: String!
2458
2558
  pagination: Boolean
2459
2559
  parent: ObjectRef
2560
+ privilege: PrivilegeInput
2460
2561
  rank: Int
2461
2562
  resourceId: String
2462
2563
  resourceName: String
@@ -2624,6 +2725,35 @@ input NewOauth2Client {
2624
2725
  webhook: String
2625
2726
  }
2626
2727
 
2728
+ input NewPDFRelease {
2729
+ active: Boolean
2730
+ description: String
2731
+ name: String!
2732
+ params: String
2733
+ state: PDFReleaseStatus
2734
+ }
2735
+
2736
+ input NewPDFTemplate {
2737
+ active: Boolean
2738
+ content_template: String
2739
+ cover_template: String
2740
+ description: String
2741
+ footer_template: String
2742
+ header_template: String
2743
+ last_template: String
2744
+ name: String!
2745
+ page_size: String = "A4"
2746
+ state: PDFTemplateStatus
2747
+ watermark: String
2748
+ }
2749
+
2750
+ input NewPagePreference {
2751
+ element: String
2752
+ page: String
2753
+ preference: Object!
2754
+ user: ObjectRef!
2755
+ }
2756
+
2627
2757
  input NewPayloadLog {
2628
2758
  description: String
2629
2759
  name: String!
@@ -2673,6 +2803,7 @@ input NewScenario {
2673
2803
  privilege: PrivilegeInput
2674
2804
  schedule: String
2675
2805
  timezone: String
2806
+ ttl: Float
2676
2807
  type: String
2677
2808
  }
2678
2809
 
@@ -2684,12 +2815,34 @@ input NewSetting {
2684
2815
  }
2685
2816
 
2686
2817
  input NewStateRegister {
2818
+ """Description of the state register"""
2687
2819
  description: String
2820
+
2821
+ """Group name for the state register"""
2822
+ group: String
2823
+
2824
+ """Name of the state register"""
2688
2825
  name: String!
2826
+
2827
+ """Number of decimal places if the state is a number type"""
2828
+ place: String
2829
+
2830
+ """
2831
+ Reference to an external entity or data, used as a flexible foreign key
2832
+ """
2689
2833
  refBy: String
2834
+
2835
+ """Current state value"""
2690
2836
  state: Object
2837
+
2838
+ """Time to live for the state value in seconds"""
2691
2839
  ttl: Int
2840
+
2841
+ """Type of the state"""
2692
2842
  type: String
2843
+
2844
+ """Unit of the state value"""
2845
+ unit: String
2693
2846
  }
2694
2847
 
2695
2848
  input NewTerminology {
@@ -2726,12 +2879,18 @@ input NewUserByDomainWizardInput {
2726
2879
  roles: [NewRole!]!
2727
2880
  }
2728
2881
 
2882
+ input NewUserPreference {
2883
+ key: String!
2884
+ preference: Object!
2885
+ user: ObjectRef!
2886
+ }
2887
+
2729
2888
  """Entity for Notification"""
2730
2889
  type Notification {
2731
2890
  body: String
2732
2891
  createdAt: DateTimeISO
2733
2892
  creator: User
2734
- domain: Domain
2893
+ domain: Domain!
2735
2894
  id: ID!
2736
2895
  image: String
2737
2896
  owner: User
@@ -2765,7 +2924,7 @@ type NotificationRule {
2765
2924
  creator: User
2766
2925
  deletedAt: DateTimeISO
2767
2926
  description: String
2768
- domain: Domain
2927
+ domain: Domain!
2769
2928
  id: ID!
2770
2929
  name: String
2771
2930
 
@@ -2822,7 +2981,7 @@ type Oauth2Client {
2822
2981
  createdAt: DateTimeISO
2823
2982
  creator: User
2824
2983
  description: String
2825
- domain: Domain
2984
+ domain: Domain!
2826
2985
  expires: DateTimeISO
2827
2986
  grantType: String
2828
2987
  icon: String
@@ -2893,6 +3052,34 @@ input ObjectRefApprovalLineOwnerType {
2893
3052
  name: String
2894
3053
  }
2895
3054
 
3055
+ input ObjectRefForContact {
3056
+ address: String
3057
+
3058
+ """Field description"""
3059
+ description: String
3060
+ email: EmailAddress
3061
+
3062
+ """Field id"""
3063
+ id: ID!
3064
+
3065
+ """Field name"""
3066
+ name: String
3067
+ phone: String
3068
+ }
3069
+
3070
+ input ObjectRefForDepartment {
3071
+ controlNo: String
3072
+
3073
+ """Field description"""
3074
+ description: String
3075
+
3076
+ """Field id"""
3077
+ id: ID!
3078
+
3079
+ """Field name"""
3080
+ name: String
3081
+ }
3082
+
2896
3083
  input ObjectRefForEmployee {
2897
3084
  active: Boolean
2898
3085
  alias: String
@@ -2949,18 +3136,123 @@ enum OrgMemberTargetType {
2949
3136
  Role
2950
3137
  }
2951
3138
 
3139
+ """Entity for PDFRelease"""
3140
+ type PDFRelease {
3141
+ active: Boolean
3142
+ createdAt: DateTimeISO
3143
+ creator: User
3144
+ deletedAt: DateTimeISO
3145
+ description: String
3146
+ domain: Domain
3147
+ filePath: String
3148
+ fileUrl: String
3149
+ id: ID!
3150
+ name: String
3151
+ state: String
3152
+ template: PDFTemplate!
3153
+ templateId: String!
3154
+ updatedAt: DateTimeISO
3155
+ updater: User
3156
+ }
3157
+
3158
+ type PDFReleaseList {
3159
+ items: [PDFRelease!]!
3160
+ total: Int!
3161
+ }
3162
+
3163
+ input PDFReleasePatch {
3164
+ active: Boolean
3165
+ cuFlag: String
3166
+ description: String
3167
+ id: ID
3168
+ name: String
3169
+ state: PDFReleaseStatus
3170
+ }
3171
+
3172
+ """state enumeration of a PDFRelease"""
3173
+ enum PDFReleaseStatus {
3174
+ failed
3175
+ published
3176
+ }
3177
+
3178
+ """Entity for PDFTemplate"""
3179
+ type PDFTemplate {
3180
+ active: Boolean
3181
+ content_template: String
3182
+ cover_template: String
3183
+ createdAt: DateTimeISO
3184
+ creator: User
3185
+ description: String
3186
+ domain: Domain
3187
+ footer_template: String
3188
+ header_template: String
3189
+ id: ID!
3190
+ last_template: String
3191
+ name: String
3192
+ page_size: String
3193
+ state: String
3194
+ updatedAt: DateTimeISO
3195
+ updater: User
3196
+ watermark: String
3197
+ }
3198
+
3199
+ type PDFTemplateList {
3200
+ items: [PDFTemplate!]!
3201
+ total: Int!
3202
+ }
3203
+
3204
+ input PDFTemplatePatch {
3205
+ active: Boolean
3206
+ content_template: String
3207
+ cover_template: String
3208
+ cuFlag: String
3209
+ description: String
3210
+ footer_template: String
3211
+ header_template: String
3212
+ id: ID
3213
+ last_template: String
3214
+ name: String
3215
+ page_size: String = "A4"
3216
+ state: PDFTemplateStatus
3217
+ }
3218
+
3219
+ """state enumeration of a PDF Template"""
3220
+ enum PDFTemplateStatus {
3221
+ draft
3222
+ released
3223
+ }
3224
+
3225
+ """Entity for PagePreference"""
3226
+ type PagePreference {
3227
+ createdAt: DateTimeISO
3228
+ creator: User
3229
+ domain: Domain!
3230
+ element: String
3231
+ id: ID!
3232
+ page: String
3233
+ preference: Object
3234
+ updatedAt: DateTimeISO
3235
+ updater: User
3236
+ user: User!
3237
+ }
3238
+
3239
+ type PagePreferenceList {
3240
+ items: [PagePreference!]!
3241
+ total: Int!
3242
+ }
3243
+
2952
3244
  input Pagination {
2953
3245
  limit: Int
2954
3246
  page: Int
2955
3247
  }
2956
3248
 
2957
3249
  type Partner {
2958
- approvedAt: DateTimeISO!
3250
+ approvedAt: DateTimeISO
2959
3251
  approver: User
2960
3252
  domain: Domain!
2961
3253
  id: ID!
2962
3254
  partnerDomain: Domain!
2963
- requestedAt: DateTimeISO!
3255
+ requestedAt: DateTimeISO
2964
3256
  requester: User
2965
3257
  }
2966
3258
 
@@ -2975,7 +3267,7 @@ type PartnerSetting {
2975
3267
  createdAt: DateTimeISO
2976
3268
  creator: User
2977
3269
  description: String
2978
- domain: Domain
3270
+ domain: Domain!
2979
3271
  id: ID!
2980
3272
  name: String
2981
3273
  partnerDomain: Domain
@@ -3000,11 +3292,23 @@ input PartnerSettingPatch {
3000
3292
  value: String
3001
3293
  }
3002
3294
 
3295
+ type PasswordRule {
3296
+ allowRepeat: Boolean
3297
+ digit: Boolean
3298
+ looseCharacterLength: Float
3299
+ lowerCase: Boolean
3300
+ specialCharacter: Boolean
3301
+ tightCharacterLength: Float
3302
+ upperCase: Boolean
3303
+ useLoosePattern: Boolean
3304
+ useTightPattern: Boolean
3305
+ }
3306
+
3003
3307
  """Entity for PayloadLog"""
3004
3308
  type PayloadLog {
3005
3309
  createdAt: DateTimeISO
3006
3310
  creator: User
3007
- domain: Domain
3311
+ domain: Domain!
3008
3312
  endpoint: String!
3009
3313
  id: ID!
3010
3314
  name: String!
@@ -3170,11 +3474,18 @@ type PropertySpec {
3170
3474
  name: String!
3171
3475
  placeholder: String
3172
3476
  property: Object
3477
+ styles: Object
3173
3478
  type: String!
3174
3479
  }
3175
3480
 
3176
3481
  type Query {
3177
3482
  APIDocCompletion(input: APIDocCompletionInput!): APIDocCompletionOutput!
3483
+
3484
+ """To fetch a PDFTemplate"""
3485
+ PDFTemplate(id: String!): PDFTemplate
3486
+
3487
+ """To fetch multiple PDFTemplates"""
3488
+ PDFTemplates(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PDFTemplateList!
3178
3489
  appBinding(id: String!): AppBinding!
3179
3490
  appBindings(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): AppBindingList!
3180
3491
 
@@ -3247,19 +3558,25 @@ type Query {
3247
3558
  boardsCreatedByMe(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): BoardList!
3248
3559
  chatCompletion(input: ChatCompletionInput!): ChatCompletionOutput!
3249
3560
 
3250
- """To check if system would provide default password to create new user"""
3561
+ """
3562
+ Checks if the system is configured to provide a default password for new users.
3563
+ """
3251
3564
  checkDefaultPassword: Boolean!
3252
3565
 
3253
- """To check if system would provide default password to create new user"""
3566
+ """
3567
+ Determines whether the system provides a default password when creating a new user.
3568
+ """
3254
3569
  checkResettablePasswordToDefault: Boolean!
3255
3570
 
3256
3571
  """To fetch the preset of role for new user"""
3257
3572
  checkRolePreset: [Role!]!
3258
3573
 
3259
- """To check if current user is belongs to current domain"""
3574
+ """
3575
+ Checks if the current authenticated user belongs to the current domain.
3576
+ """
3260
3577
  checkUserBelongsDomain: Boolean!
3261
3578
 
3262
- """..."""
3579
+ """Checks if a user with the given email address exists in the system."""
3263
3580
  checkUserExistence(email: EmailAddress!): Boolean!
3264
3581
 
3265
3582
  """To fetch common approval lines"""
@@ -3319,10 +3636,14 @@ type Query {
3319
3636
  """To fetch multiple appliance"""
3320
3637
  edges(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ApplianceList!
3321
3638
 
3322
- """To fetch a Employee"""
3639
+ """
3640
+ Fetches a specific employee by their unique ID. Returns the employee object if found, or null if not found.
3641
+ """
3323
3642
  employee(id: String!): Employee
3324
3643
 
3325
- """To fetch multiple Employees"""
3644
+ """
3645
+ Fetches a list of employees based on provided query parameters. Supports searching by name, control number, and alias.
3646
+ """
3326
3647
  employees(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): EmployeeList!
3327
3648
 
3328
3649
  """To fetch multiple Entities"""
@@ -3425,12 +3746,30 @@ type Query {
3425
3746
  myFavorites: [Favorite!]!
3426
3747
  myLoginHistories(limit: Float!): [LoginHistory!]!
3427
3748
 
3749
+ """To fetch my own Menus"""
3750
+ myMenus(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): MenuList!
3751
+
3428
3752
  """To fetch my notifications"""
3429
3753
  myNotifications(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): NotificationList!
3430
3754
 
3755
+ """To fetch a User's own PagePreference"""
3756
+ myPageAllPreferences(page: String!): [PagePreference!]
3757
+
3758
+ """To fetch a User's own PagePreference"""
3759
+ myPagePreference(element: String!, page: String!): PagePreference
3760
+
3761
+ """To fetch multiple PagePreferences"""
3762
+ myPagePreferences(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PagePreferenceList!
3763
+
3431
3764
  """To fetch roles of current user"""
3432
3765
  myRoles: [Role!]!
3433
3766
 
3767
+ """To fetch a User's own UserPreference"""
3768
+ myUserPreference(element: String!, key: String!): UserPreference
3769
+
3770
+ """To fetch multiple UserPreferences"""
3771
+ myUserPreferences(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): UserPreferenceList!
3772
+
3434
3773
  """To fetch a Notification"""
3435
3774
  notification(id: String!): Notification
3436
3775
 
@@ -3449,6 +3788,9 @@ type Query {
3449
3788
  """To fetch multiple Oauth2Clients"""
3450
3789
  oauth2Clients(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): Oauth2ClientList!
3451
3790
 
3791
+ """To fetch a PagePreference"""
3792
+ pagePreference(id: String!): PagePreference
3793
+
3452
3794
  """To fetch specific domain's CommonCodes by given name"""
3453
3795
  partnerCommonCode(name: String!, partnerDomainId: String!): CommonCode!
3454
3796
 
@@ -3459,12 +3801,23 @@ type Query {
3459
3801
  partnerSettings(filters: [Filter!]!, pagination: Pagination!, partnerDomain: ObjectRef!, sortings: [Sorting!]!): PartnerSettingList!
3460
3802
  partners(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PartnerList!
3461
3803
 
3804
+ """
3805
+ Retrieves the current password rule configuration for the system, such as required character types and minimum length.
3806
+ """
3807
+ passwordRule: PasswordRule!
3808
+
3462
3809
  """To fetch a PayloadLog"""
3463
3810
  payloadLog(id: String!): PayloadLog!
3464
3811
 
3465
3812
  """To fetch multiple PayloadLogs"""
3466
3813
  payloadLogs(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PayloadLogList!
3467
3814
 
3815
+ """To fetch a PDFRelease"""
3816
+ pdfRelease(id: String!): PDFRelease
3817
+
3818
+ """To fetch multiple PDFReleases"""
3819
+ pdfReleases(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PDFReleaseList!
3820
+
3468
3821
  """To fetch a PlayGroup"""
3469
3822
  playGroup(id: String!): PlayGroup
3470
3823
 
@@ -3474,6 +3827,9 @@ type Query {
3474
3827
  """To fetch multiple PlayGroups"""
3475
3828
  playGroups(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PlayGroupList!
3476
3829
 
3830
+ """To fetch a UserPreference"""
3831
+ preference(id: String!): UserPreference
3832
+
3477
3833
  """To fetch a PrinterDevice"""
3478
3834
  printerDevice(id: String!): PrinterDevice!
3479
3835
 
@@ -3553,7 +3909,7 @@ type Query {
3553
3909
  """To fetch multiple Themes"""
3554
3910
  themes(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ThemeList!
3555
3911
 
3556
- """To fetch user"""
3912
+ """Fetches a user by their email address within the current domain."""
3557
3913
  user(email: EmailAddress!): User!
3558
3914
 
3559
3915
  """To fetch Menus by role"""
@@ -3562,7 +3918,9 @@ type Query {
3562
3918
  """To fetch roles of a user"""
3563
3919
  userRoles(userId: String!): [UserRole!]!
3564
3920
 
3565
- """To fetch multiple users"""
3921
+ """
3922
+ Fetches a list of users based on provided search parameters within the current domain.
3923
+ """
3566
3924
  users(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): UserList!
3567
3925
  vendors: [Domain!]!
3568
3926
  }
@@ -3579,7 +3937,7 @@ type Role {
3579
3937
  description: String
3580
3938
  domain: Domain!
3581
3939
  id: ID!
3582
- name: String!
3940
+ name: String
3583
3941
  privileges: [Privilege!]
3584
3942
  updatedAt: DateTimeISO
3585
3943
  updater: User
@@ -3615,7 +3973,7 @@ type Scenario {
3615
3973
  createdAt: DateTimeISO
3616
3974
  creator: User
3617
3975
  description: String
3618
- domain: Domain
3976
+ domain: Domain!
3619
3977
  id: ID!
3620
3978
  instances: [ScenarioInstance!]
3621
3979
  name: String!
@@ -3629,6 +3987,7 @@ type Scenario {
3629
3987
  state: String
3630
3988
  steps: [Step!]
3631
3989
  timezone: String
3990
+ ttl: Float
3632
3991
  type: String
3633
3992
  updatedAt: DateTimeISO
3634
3993
  updater: User
@@ -3661,6 +4020,17 @@ type ScenarioInstanceProgress {
3661
4020
  steps: Int!
3662
4021
  }
3663
4022
 
4023
+ type ScenarioInstanceRunResult {
4024
+ data: Object
4025
+ instanceName: String
4026
+ message: String
4027
+ result: Object
4028
+ scenarioName: String
4029
+ state: String
4030
+ timestamp: DateTimeISO
4031
+ variables: Object
4032
+ }
4033
+
3664
4034
  type ScenarioInstanceState {
3665
4035
  data: Object
3666
4036
  domain: Domain
@@ -3697,6 +4067,7 @@ input ScenarioPatch {
3697
4067
  schedule: String
3698
4068
  steps: [StepPatch!]
3699
4069
  timezone: String
4070
+ ttl: Float
3700
4071
  type: String
3701
4072
  }
3702
4073
 
@@ -3711,7 +4082,7 @@ type Setting {
3711
4082
  createdAt: DateTimeISO
3712
4083
  creator: User
3713
4084
  description: String
3714
- domain: Domain
4085
+ domain: Domain!
3715
4086
  id: ID!
3716
4087
  name: String!
3717
4088
  updatedAt: DateTimeISO
@@ -3745,36 +4116,113 @@ input Sorting {
3745
4116
 
3746
4117
  """Entity for StateRegister"""
3747
4118
  type StateRegister {
4119
+ """Creation time of the state register"""
3748
4120
  createdAt: DateTimeISO
4121
+
4122
+ """User who created the state register"""
3749
4123
  creator: User
4124
+
4125
+ """ID of the user who created the state register"""
4126
+ creatorId: String
4127
+
4128
+ """Description of the state register"""
3750
4129
  description: String
3751
- domain: Domain
4130
+
4131
+ """Associated domain for the state register"""
4132
+ domain: Domain!
4133
+
4134
+ """ID of the associated domain"""
4135
+ domainId: String!
4136
+
4137
+ """Group name for the state register"""
4138
+ group: String
3752
4139
  id: ID!
4140
+
4141
+ """Name of the state register"""
3753
4142
  name: String
4143
+
4144
+ """Number of decimal places if the state is a number type"""
4145
+ place: String
4146
+
4147
+ """
4148
+ Reference to an external entity or data, used as a flexible foreign key
4149
+ """
3754
4150
  refBy: String
4151
+
4152
+ """Current state value"""
3755
4153
  state: Object
4154
+
4155
+ """Time to live for the state value in seconds"""
3756
4156
  ttl: Int
4157
+
4158
+ """Type of the state"""
3757
4159
  type: String
4160
+
4161
+ """Unit of the state value"""
4162
+ unit: String
4163
+
4164
+ """Last update time of the state register"""
3758
4165
  updatedAt: DateTimeISO
4166
+
4167
+ """User who last updated the state register"""
3759
4168
  updater: User
4169
+
4170
+ """ID of the user who last updated the state register"""
4171
+ updaterId: String
4172
+
4173
+ """User who wrote the state"""
3760
4174
  writer: User
4175
+
4176
+ """ID of the user who wrote the state"""
4177
+ writerId: String
4178
+
4179
+ """Time when the state was recorded"""
3761
4180
  wroteAt: DateTimeISO
3762
4181
  }
3763
4182
 
3764
4183
  type StateRegisterList {
4184
+ """List of state registers"""
3765
4185
  items: [StateRegister!]!
4186
+
4187
+ """Total number of state registers"""
3766
4188
  total: Int!
3767
4189
  }
3768
4190
 
3769
4191
  input StateRegisterPatch {
4192
+ """Flag indicating create/update operations"""
3770
4193
  cuFlag: String
4194
+
4195
+ """Description of the state register"""
3771
4196
  description: String
4197
+
4198
+ """Group name for the state register"""
4199
+ group: String
4200
+
4201
+ """ID of the state register"""
3772
4202
  id: ID
4203
+
4204
+ """Name of the state register"""
3773
4205
  name: String
4206
+
4207
+ """Number of decimal places if the state is a number type"""
4208
+ place: String
4209
+
4210
+ """
4211
+ Reference to an external entity or data, used as a flexible foreign key
4212
+ """
3774
4213
  refBy: String
4214
+
4215
+ """Current state value"""
3775
4216
  state: Object
4217
+
4218
+ """Time to live for the state value in seconds"""
3776
4219
  ttl: Int
4220
+
4221
+ """Type of the state"""
3777
4222
  type: String
4223
+
4224
+ """Unit of the state value"""
4225
+ unit: String
3778
4226
  }
3779
4227
 
3780
4228
  type Step {
@@ -3848,13 +4296,15 @@ type TaskTypeList {
3848
4296
  type Terminology {
3849
4297
  category: String!
3850
4298
  createdAt: DateTimeISO
4299
+ creator: User
3851
4300
  description: String
3852
4301
  display: String!
3853
- domain: Domain
4302
+ domain: Domain!
3854
4303
  id: ID!
3855
4304
  locale: String!
3856
4305
  name: String!
3857
4306
  updatedAt: DateTimeISO
4307
+ updater: User
3858
4308
  }
3859
4309
 
3860
4310
  type TerminologyList {
@@ -3863,12 +4313,12 @@ type TerminologyList {
3863
4313
  }
3864
4314
 
3865
4315
  input TerminologyPatch {
3866
- category: String!
4316
+ category: String
3867
4317
  cuFlag: String
3868
4318
  description: String
3869
- display: String!
4319
+ display: String
3870
4320
  id: ID
3871
- locale: String!
4321
+ locale: String
3872
4322
  name: String
3873
4323
  }
3874
4324
 
@@ -3879,7 +4329,7 @@ type Theme {
3879
4329
  creator: User
3880
4330
  deletedAt: DateTimeISO
3881
4331
  description: String
3882
- domain: Domain
4332
+ domain: Domain!
3883
4333
  id: ID!
3884
4334
  name: String
3885
4335
  type: String
@@ -3919,7 +4369,7 @@ type User {
3919
4369
  email: EmailAddress!
3920
4370
  id: ID!
3921
4371
  locale: String
3922
- name: String!
4372
+ name: String
3923
4373
  owner: Boolean
3924
4374
  reference: String
3925
4375
  roles: [Role!]!
@@ -3949,6 +4399,32 @@ input UserPatch {
3949
4399
  userType: String
3950
4400
  }
3951
4401
 
4402
+ """Entity for UserPreference"""
4403
+ type UserPreference {
4404
+ createdAt: DateTimeISO
4405
+ creator: User
4406
+ domain: Domain
4407
+ id: ID!
4408
+ key: String
4409
+ preference: Object
4410
+ updatedAt: DateTimeISO
4411
+ updater: User
4412
+ user: User!
4413
+ }
4414
+
4415
+ type UserPreferenceList {
4416
+ items: [UserPreference!]!
4417
+ total: Int!
4418
+ }
4419
+
4420
+ input UserPreferencePatch {
4421
+ cuFlag: String
4422
+ id: ID
4423
+ key: String!
4424
+ preference: Object!
4425
+ user: ObjectRef!
4426
+ }
4427
+
3952
4428
  type UserRole {
3953
4429
  assigned: Boolean
3954
4430
  description: String
@@ -3960,7 +4436,7 @@ type UserRole {
3960
4436
  type UsersAuthProviders {
3961
4437
  authProvider: AuthProvider
3962
4438
  createdAt: DateTimeISO
3963
- domain: Domain
4439
+ domain: Domain!
3964
4440
  id: ID!
3965
4441
  ssoId: String
3966
4442
  updatedAt: DateTimeISO