@things-factory/operato-ecs 7.0.74 → 7.0.76
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/package.json +29 -29
- 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.
|
3
|
+
"version": "7.0.76",
|
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.
|
67
|
-
"@things-factory/apptool-ui": "^7.0.
|
68
|
-
"@things-factory/auth-ui": "^7.0.
|
69
|
-
"@things-factory/board-service": "^7.0.
|
70
|
-
"@things-factory/board-ui": "^7.0.
|
71
|
-
"@things-factory/context-ui": "^7.0.
|
72
|
-
"@things-factory/dashboard": "^7.0.
|
73
|
-
"@things-factory/export-ui": "^7.0.
|
74
|
-
"@things-factory/help": "^7.0.
|
75
|
-
"@things-factory/i18n-base": "^7.0.
|
76
|
-
"@things-factory/integration-email": "^7.0.
|
77
|
-
"@things-factory/integration-headless": "^7.0.
|
78
|
-
"@things-factory/integration-influxdb": "^7.0.
|
79
|
-
"@things-factory/integration-melsec": "^7.0.
|
80
|
-
"@things-factory/integration-modbus": "^7.0.
|
81
|
-
"@things-factory/integration-opc": "^7.0.
|
82
|
-
"@things-factory/integration-ui": "^7.0.
|
83
|
-
"@things-factory/lite-menu": "^7.0.
|
84
|
-
"@things-factory/more-ui": "^7.0.
|
85
|
-
"@things-factory/notification": "^7.0.
|
86
|
-
"@things-factory/oauth2-client": "^7.0.
|
87
|
-
"@things-factory/print-ui": "^7.0.
|
88
|
-
"@things-factory/resource-ui": "^7.0.
|
89
|
-
"@things-factory/setting-base": "^7.0.
|
90
|
-
"@things-factory/setting-ui": "^7.0.
|
91
|
-
"@things-factory/shell": "^7.0.
|
92
|
-
"@things-factory/system": "^7.0.
|
66
|
+
"@things-factory/api": "^7.0.76",
|
67
|
+
"@things-factory/apptool-ui": "^7.0.76",
|
68
|
+
"@things-factory/auth-ui": "^7.0.76",
|
69
|
+
"@things-factory/board-service": "^7.0.76",
|
70
|
+
"@things-factory/board-ui": "^7.0.76",
|
71
|
+
"@things-factory/context-ui": "^7.0.76",
|
72
|
+
"@things-factory/dashboard": "^7.0.76",
|
73
|
+
"@things-factory/export-ui": "^7.0.76",
|
74
|
+
"@things-factory/help": "^7.0.76",
|
75
|
+
"@things-factory/i18n-base": "^7.0.76",
|
76
|
+
"@things-factory/integration-email": "^7.0.76",
|
77
|
+
"@things-factory/integration-headless": "^7.0.76",
|
78
|
+
"@things-factory/integration-influxdb": "^7.0.76",
|
79
|
+
"@things-factory/integration-melsec": "^7.0.76",
|
80
|
+
"@things-factory/integration-modbus": "^7.0.76",
|
81
|
+
"@things-factory/integration-opc": "^7.0.76",
|
82
|
+
"@things-factory/integration-ui": "^7.0.76",
|
83
|
+
"@things-factory/lite-menu": "^7.0.76",
|
84
|
+
"@things-factory/more-ui": "^7.0.76",
|
85
|
+
"@things-factory/notification": "^7.0.76",
|
86
|
+
"@things-factory/oauth2-client": "^7.0.76",
|
87
|
+
"@things-factory/print-ui": "^7.0.76",
|
88
|
+
"@things-factory/resource-ui": "^7.0.76",
|
89
|
+
"@things-factory/setting-base": "^7.0.76",
|
90
|
+
"@things-factory/setting-ui": "^7.0.76",
|
91
|
+
"@things-factory/shell": "^7.0.76",
|
92
|
+
"@things-factory/system": "^7.0.76"
|
93
93
|
},
|
94
94
|
"devDependencies": {
|
95
95
|
"@things-factory/builder": "^7.0.74"
|
96
96
|
},
|
97
|
-
"gitHead": "
|
97
|
+
"gitHead": "297a1fea5be41c08d164f977444f221ee9ec901f"
|
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
|
-
"""
|
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
|
-
"""
|
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
|
-
"""
|
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
|
-
"""
|
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
|
-
"""
|
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
|
-
"""
|
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
|
-
"""
|
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
|
-
"""
|
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
|
-
"""
|
3480
|
+
"""
|
3481
|
+
Checks if the system is configured to provide a default password for new users.
|
3482
|
+
"""
|
3445
3483
|
checkDefaultPassword: Boolean!
|
3446
3484
|
|
3447
|
-
"""
|
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
|
-
"""
|
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
|
-
"""
|
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
|
-
"""
|
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
|
-
"""
|
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
|
-
"""
|
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
|
}
|