@things-factory/operato-ecs 7.0.75 → 7.0.77

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 (2) hide show
  1. package/package.json +29 -29
  2. package/schema.graphql +70 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-ecs",
3
- "version": "7.0.75",
3
+ "version": "7.0.77",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -63,36 +63,36 @@
63
63
  "@operato/scene-table": "^7.0.0",
64
64
  "@operato/scene-timer": "^7.0.0",
65
65
  "@operato/scene-wellstek-gantt": "^7.0.0",
66
- "@things-factory/api": "^7.0.75",
67
- "@things-factory/apptool-ui": "^7.0.75",
68
- "@things-factory/auth-ui": "^7.0.75",
69
- "@things-factory/board-service": "^7.0.75",
70
- "@things-factory/board-ui": "^7.0.75",
71
- "@things-factory/context-ui": "^7.0.75",
72
- "@things-factory/dashboard": "^7.0.75",
73
- "@things-factory/export-ui": "^7.0.75",
74
- "@things-factory/help": "^7.0.75",
75
- "@things-factory/i18n-base": "^7.0.75",
76
- "@things-factory/integration-email": "^7.0.75",
77
- "@things-factory/integration-headless": "^7.0.75",
78
- "@things-factory/integration-influxdb": "^7.0.75",
79
- "@things-factory/integration-melsec": "^7.0.75",
80
- "@things-factory/integration-modbus": "^7.0.75",
81
- "@things-factory/integration-opc": "^7.0.75",
82
- "@things-factory/integration-ui": "^7.0.75",
83
- "@things-factory/lite-menu": "^7.0.75",
84
- "@things-factory/more-ui": "^7.0.75",
85
- "@things-factory/notification": "^7.0.75",
86
- "@things-factory/oauth2-client": "^7.0.75",
87
- "@things-factory/print-ui": "^7.0.75",
88
- "@things-factory/resource-ui": "^7.0.75",
89
- "@things-factory/setting-base": "^7.0.75",
90
- "@things-factory/setting-ui": "^7.0.75",
91
- "@things-factory/shell": "^7.0.75",
92
- "@things-factory/system": "^7.0.75"
66
+ "@things-factory/api": "^7.0.77",
67
+ "@things-factory/apptool-ui": "^7.0.77",
68
+ "@things-factory/auth-ui": "^7.0.77",
69
+ "@things-factory/board-service": "^7.0.77",
70
+ "@things-factory/board-ui": "^7.0.77",
71
+ "@things-factory/context-ui": "^7.0.77",
72
+ "@things-factory/dashboard": "^7.0.77",
73
+ "@things-factory/export-ui": "^7.0.77",
74
+ "@things-factory/help": "^7.0.77",
75
+ "@things-factory/i18n-base": "^7.0.77",
76
+ "@things-factory/integration-email": "^7.0.77",
77
+ "@things-factory/integration-headless": "^7.0.77",
78
+ "@things-factory/integration-influxdb": "^7.0.77",
79
+ "@things-factory/integration-melsec": "^7.0.77",
80
+ "@things-factory/integration-modbus": "^7.0.77",
81
+ "@things-factory/integration-opc": "^7.0.77",
82
+ "@things-factory/integration-ui": "^7.0.77",
83
+ "@things-factory/lite-menu": "^7.0.77",
84
+ "@things-factory/more-ui": "^7.0.77",
85
+ "@things-factory/notification": "^7.0.77",
86
+ "@things-factory/oauth2-client": "^7.0.77",
87
+ "@things-factory/print-ui": "^7.0.77",
88
+ "@things-factory/resource-ui": "^7.0.77",
89
+ "@things-factory/setting-base": "^7.0.77",
90
+ "@things-factory/setting-ui": "^7.0.77",
91
+ "@things-factory/shell": "^7.0.77",
92
+ "@things-factory/system": "^7.0.77"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@things-factory/builder": "^7.0.74"
96
96
  },
97
- "gitHead": "1a6808f94d6c222f4e50ffc3317d9c320358ed20"
97
+ "gitHead": "9eb3d7438a6b67119151e235c1ee778dc20938d5"
98
98
  }
package/schema.graphql CHANGED
@@ -754,7 +754,7 @@ scalar EmailAddress @specifiedBy(url: "https://html.spec.whatwg.org/multipage/in
754
754
  """Entity for Employee"""
755
755
  type Employee {
756
756
  active: Boolean
757
- address: String!
757
+ address: String
758
758
  alias: String
759
759
  approvalLines: [ApprovalLine!]!
760
760
  contact: Contact
@@ -1552,7 +1552,9 @@ type Mutation {
1552
1552
  """To activate user"""
1553
1553
  activateUser(userId: String!): Boolean!
1554
1554
 
1555
- """To attach a contact on Employee"""
1555
+ """
1556
+ Attaches an existing contact to an employee. The contact is identified by its ID and the employee is identified by their ID.
1557
+ """
1556
1558
  attachContact(contactId: String!, id: String!): Employee!
1557
1559
  cancelInvitation(email: EmailAddress!, reference: String!, type: String!): Boolean!
1558
1560
 
@@ -1609,7 +1611,9 @@ type Mutation {
1609
1611
  """To create domain (Only superuser is granted this privilege.)"""
1610
1612
  createDomain(domainInput: DomainPatch!): Domain!
1611
1613
 
1612
- """To create new Employee"""
1614
+ """
1615
+ 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.
1616
+ """
1613
1617
  createEmployee(employee: NewEmployee!): Employee!
1614
1618
 
1615
1619
  """To create new Entity"""
@@ -1769,10 +1773,14 @@ type Mutation {
1769
1773
  """To delete multiple domains (Only superuser is granted this privilege.)"""
1770
1774
  deleteDomains(names: [String!]!): Boolean!
1771
1775
 
1772
- """To delete Employee"""
1776
+ """
1777
+ Deletes an employee record identified by the given ID. Also deletes any attachments associated with the employee.
1778
+ """
1773
1779
  deleteEmployee(id: String!): Boolean!
1774
1780
 
1775
- """To delete multiple Employees"""
1781
+ """
1782
+ Deletes multiple employee records identified by the given IDs. Also deletes any attachments associated with each employee.
1783
+ """
1776
1784
  deleteEmployees(ids: [String!]!): Boolean!
1777
1785
 
1778
1786
  """To delete multiple Entities"""
@@ -1943,7 +1951,9 @@ type Mutation {
1943
1951
  """To delete some users"""
1944
1952
  deleteUsers(emails: [String!]!): Boolean!
1945
1953
 
1946
- """To detach a contact from Employee"""
1954
+ """
1955
+ Detaches an existing contact from an employee. The employee is identified by their ID.
1956
+ """
1947
1957
  detachContact(id: String!): Employee!
1948
1958
 
1949
1959
  """To disconnect a connection"""
@@ -1985,7 +1995,9 @@ type Mutation {
1985
1995
  """To import multiple Departments"""
1986
1996
  importDepartments(departments: [DepartmentPatch!]!): Boolean!
1987
1997
 
1988
- """To import multiple Employees"""
1998
+ """
1999
+ Imports multiple employee records into the system. Each employee record must be provided in the EmployeePatch format.
2000
+ """
1989
2001
  importEmployees(employees: [EmployeePatch!]!): Boolean!
1990
2002
 
1991
2003
  """To import multiple MenuButtons"""
@@ -2059,6 +2071,14 @@ type Mutation {
2059
2071
  visibility: String!
2060
2072
  ): BoardTemplate!
2061
2073
 
2074
+ """
2075
+ Registers an existing employee as a system user, granting them access to the system. The employee is identified by their ID.
2076
+ """
2077
+ registerEmployeeAsSystemUser(
2078
+ """Employee Id"""
2079
+ employeeId: String!
2080
+ ): Boolean!
2081
+
2062
2082
  """To release a Board"""
2063
2083
  releaseBoard(id: String!): Board!
2064
2084
  renewApplicationAccessToken(id: String!, scope: String!): AccessToken!
@@ -2142,7 +2162,9 @@ type Mutation {
2142
2162
  """To update multiple domains (Only superuser is granted this privilege.)"""
2143
2163
  updateDomains(patches: [DomainPatch!]!): Boolean!
2144
2164
 
2145
- """To modify Employee information"""
2165
+ """
2166
+ 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.
2167
+ """
2146
2168
  updateEmployee(id: String!, patch: EmployeePatch!): Employee!
2147
2169
 
2148
2170
  """To modify Entity' information"""
@@ -2200,7 +2222,9 @@ type Mutation {
2200
2222
  """To modify multiple Departments' information"""
2201
2223
  updateMultipleDepartment(patches: [DepartmentPatch!]!): [Department!]!
2202
2224
 
2203
- """To modify multiple Employees' information"""
2225
+ """
2226
+ 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".
2227
+ """
2204
2228
  updateMultipleEmployee(patches: [EmployeePatch!]!): [Employee!]!
2205
2229
 
2206
2230
  """To modify multiple Entitys' information"""
@@ -3190,6 +3214,18 @@ input PartnerSettingPatch {
3190
3214
  value: String
3191
3215
  }
3192
3216
 
3217
+ type PasswordRule {
3218
+ allowRepeat: Boolean
3219
+ digit: Boolean
3220
+ looseCharacterLength: Float
3221
+ lowerCase: Boolean
3222
+ specialCharacter: Boolean
3223
+ tightCharacterLength: Float
3224
+ upperCase: Boolean
3225
+ useLoosePattern: Boolean
3226
+ useTightPattern: Boolean
3227
+ }
3228
+
3193
3229
  """Entity for PayloadLog"""
3194
3230
  type PayloadLog {
3195
3231
  createdAt: DateTimeISO
@@ -3441,19 +3477,25 @@ type Query {
3441
3477
  boardsCreatedByMe(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): BoardList!
3442
3478
  chatCompletion(input: ChatCompletionInput!): ChatCompletionOutput!
3443
3479
 
3444
- """To check if system would provide default password to create new user"""
3480
+ """
3481
+ Checks if the system is configured to provide a default password for new users.
3482
+ """
3445
3483
  checkDefaultPassword: Boolean!
3446
3484
 
3447
- """To check if system would provide default password to create new user"""
3485
+ """
3486
+ Determines whether the system provides a default password when creating a new user.
3487
+ """
3448
3488
  checkResettablePasswordToDefault: Boolean!
3449
3489
 
3450
3490
  """To fetch the preset of role for new user"""
3451
3491
  checkRolePreset: [Role!]!
3452
3492
 
3453
- """To check if current user is belongs to current domain"""
3493
+ """
3494
+ Checks if the current authenticated user belongs to the current domain.
3495
+ """
3454
3496
  checkUserBelongsDomain: Boolean!
3455
3497
 
3456
- """..."""
3498
+ """Checks if a user with the given email address exists in the system."""
3457
3499
  checkUserExistence(email: EmailAddress!): Boolean!
3458
3500
 
3459
3501
  """To fetch common approval lines"""
@@ -3513,10 +3555,14 @@ type Query {
3513
3555
  """To fetch multiple appliance"""
3514
3556
  edges(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ApplianceList!
3515
3557
 
3516
- """To fetch a Employee"""
3558
+ """
3559
+ Fetches a specific employee by their unique ID. Returns the employee object if found, or null if not found.
3560
+ """
3517
3561
  employee(id: String!): Employee
3518
3562
 
3519
- """To fetch multiple Employees"""
3563
+ """
3564
+ Fetches a list of employees based on provided query parameters. Supports searching by name, control number, and alias.
3565
+ """
3520
3566
  employees(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): EmployeeList!
3521
3567
 
3522
3568
  """To fetch multiple Entities"""
@@ -3683,6 +3729,11 @@ type Query {
3683
3729
  partnerSettings(filters: [Filter!]!, pagination: Pagination!, partnerDomain: ObjectRef!, sortings: [Sorting!]!): PartnerSettingList!
3684
3730
  partners(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PartnerList!
3685
3731
 
3732
+ """
3733
+ Retrieves the current password rule configuration for the system, such as required character types and minimum length.
3734
+ """
3735
+ passwordRule: PasswordRule!
3736
+
3686
3737
  """To fetch a PayloadLog"""
3687
3738
  payloadLog(id: String!): PayloadLog!
3688
3739
 
@@ -3780,7 +3831,7 @@ type Query {
3780
3831
  """To fetch multiple Themes"""
3781
3832
  themes(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ThemeList!
3782
3833
 
3783
- """To fetch user"""
3834
+ """Fetches a user by their email address within the current domain."""
3784
3835
  user(email: EmailAddress!): User!
3785
3836
 
3786
3837
  """To fetch Menus by role"""
@@ -3789,7 +3840,9 @@ type Query {
3789
3840
  """To fetch roles of a user"""
3790
3841
  userRoles(userId: String!): [UserRole!]!
3791
3842
 
3792
- """To fetch multiple users"""
3843
+ """
3844
+ Fetches a list of users based on provided search parameters within the current domain.
3845
+ """
3793
3846
  users(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): UserList!
3794
3847
  vendors: [Domain!]!
3795
3848
  }