@things-factory/operato-board 7.0.84 → 7.0.85

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-board",
3
- "version": "7.0.84",
3
+ "version": "7.0.85",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -89,45 +89,45 @@
89
89
  "@operato/shell": "^7.0.0",
90
90
  "@operato/styles": "^7.0.0",
91
91
  "@operato/utils": "^7.0.0",
92
- "@things-factory/apptool-ui": "^7.0.84",
93
- "@things-factory/auth-azure-ad": "^7.0.84",
94
- "@things-factory/auth-google": "^7.0.84",
95
- "@things-factory/auth-ui": "^7.0.84",
96
- "@things-factory/board-service": "^7.0.84",
97
- "@things-factory/board-ui": "^7.0.84",
98
- "@things-factory/context-ui": "^7.0.84",
99
- "@things-factory/export-ui": "^7.0.84",
100
- "@things-factory/fav-base": "^7.0.84",
101
- "@things-factory/font-base": "^7.0.84",
92
+ "@things-factory/apptool-ui": "^7.0.85",
93
+ "@things-factory/auth-azure-ad": "^7.0.85",
94
+ "@things-factory/auth-google": "^7.0.85",
95
+ "@things-factory/auth-ui": "^7.0.85",
96
+ "@things-factory/board-service": "^7.0.85",
97
+ "@things-factory/board-ui": "^7.0.85",
98
+ "@things-factory/context-ui": "^7.0.85",
99
+ "@things-factory/export-ui": "^7.0.85",
100
+ "@things-factory/fav-base": "^7.0.85",
101
+ "@things-factory/font-base": "^7.0.85",
102
102
  "@things-factory/form-ui": "^7.0.84",
103
- "@things-factory/help": "^7.0.84",
104
- "@things-factory/i18n-base": "^7.0.84",
105
- "@things-factory/import-ui": "^7.0.84",
106
- "@things-factory/integration-base": "^7.0.84",
107
- "@things-factory/integration-email": "^7.0.84",
108
- "@things-factory/integration-influxdb": "^7.0.84",
109
- "@things-factory/integration-msgraph": "^7.0.84",
110
- "@things-factory/integration-notification": "^7.0.84",
111
- "@things-factory/integration-openai": "^7.0.84",
112
- "@things-factory/integration-ui": "^7.0.84",
113
- "@things-factory/more-ui": "^7.0.84",
114
- "@things-factory/notification": "^7.0.84",
115
- "@things-factory/oauth2-client": "^7.0.84",
116
- "@things-factory/offline-ui": "^7.0.84",
117
- "@things-factory/pdf": "^7.0.84",
118
- "@things-factory/print-service": "^7.0.84",
119
- "@things-factory/print-ui": "^7.0.84",
120
- "@things-factory/resource-ui": "^7.0.84",
121
- "@things-factory/setting-ui": "^7.0.84",
122
- "@things-factory/shell": "^7.0.84",
123
- "@things-factory/system": "^7.0.84"
103
+ "@things-factory/help": "^7.0.85",
104
+ "@things-factory/i18n-base": "^7.0.85",
105
+ "@things-factory/import-ui": "^7.0.85",
106
+ "@things-factory/integration-base": "^7.0.85",
107
+ "@things-factory/integration-email": "^7.0.85",
108
+ "@things-factory/integration-influxdb": "^7.0.85",
109
+ "@things-factory/integration-msgraph": "^7.0.85",
110
+ "@things-factory/integration-notification": "^7.0.85",
111
+ "@things-factory/integration-openai": "^7.0.85",
112
+ "@things-factory/integration-ui": "^7.0.85",
113
+ "@things-factory/more-ui": "^7.0.85",
114
+ "@things-factory/notification": "^7.0.85",
115
+ "@things-factory/oauth2-client": "^7.0.85",
116
+ "@things-factory/offline-ui": "^7.0.85",
117
+ "@things-factory/pdf": "^7.0.85",
118
+ "@things-factory/print-service": "^7.0.85",
119
+ "@things-factory/print-ui": "^7.0.85",
120
+ "@things-factory/resource-ui": "^7.0.85",
121
+ "@things-factory/setting-ui": "^7.0.85",
122
+ "@things-factory/shell": "^7.0.85",
123
+ "@things-factory/system": "^7.0.85"
124
124
  },
125
125
  "devDependencies": {
126
- "@things-factory/board-test": "^7.0.84",
126
+ "@things-factory/board-test": "^7.0.85",
127
127
  "@things-factory/builder": "^7.0.84"
128
128
  },
129
129
  "resolutions": {
130
130
  "passport": "^0.7.0"
131
131
  },
132
- "gitHead": "e754928a659222c69542ed52d4512341dee13f8d"
132
+ "gitHead": "94bb34cfdcc186d316e2f509a670f84995676a46"
133
133
  }
package/schema.graphql CHANGED
@@ -201,6 +201,7 @@ type Attachment {
201
201
  refBy: String
202
202
  refType: String
203
203
  size: String!
204
+ tags: Object
204
205
  updatedAt: DateTimeISO!
205
206
  updater: User
206
207
  }
@@ -219,6 +220,7 @@ input AttachmentPatch {
219
220
  name: String
220
221
  refBy: String
221
222
  refType: String
223
+ tags: Object
222
224
  }
223
225
 
224
226
  """Entity for AttributeSet"""
@@ -747,7 +749,7 @@ scalar EmailAddress @specifiedBy(url: "https://html.spec.whatwg.org/multipage/in
747
749
  """Entity for Employee"""
748
750
  type Employee {
749
751
  active: Boolean
750
- address: String!
752
+ address: String
751
753
  alias: String
752
754
  approvalLines: [ApprovalLine!]!
753
755
  contact: Contact
@@ -1503,7 +1505,9 @@ type Mutation {
1503
1505
  """To activate user"""
1504
1506
  activateUser(userId: String!): Boolean!
1505
1507
 
1506
- """To attach a contact on Employee"""
1508
+ """
1509
+ Attaches an existing contact to an employee. The contact is identified by its ID and the employee is identified by their ID.
1510
+ """
1507
1511
  attachContact(contactId: String!, id: String!): Employee!
1508
1512
  cancelInvitation(email: EmailAddress!, reference: String!, type: String!): Boolean!
1509
1513
 
@@ -1560,7 +1564,9 @@ type Mutation {
1560
1564
  """To create domain (Only superuser is granted this privilege.)"""
1561
1565
  createDomain(domainInput: DomainPatch!): Domain!
1562
1566
 
1563
- """To create new Employee"""
1567
+ """
1568
+ 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.
1569
+ """
1564
1570
  createEmployee(employee: NewEmployee!): Employee!
1565
1571
 
1566
1572
  """To create new Entity"""
@@ -1723,10 +1729,14 @@ type Mutation {
1723
1729
  """To delete multiple domains (Only superuser is granted this privilege.)"""
1724
1730
  deleteDomains(names: [String!]!): Boolean!
1725
1731
 
1726
- """To delete Employee"""
1732
+ """
1733
+ Deletes an employee record identified by the given ID. Also deletes any attachments associated with the employee.
1734
+ """
1727
1735
  deleteEmployee(id: String!): Boolean!
1728
1736
 
1729
- """To delete multiple Employees"""
1737
+ """
1738
+ Deletes multiple employee records identified by the given IDs. Also deletes any attachments associated with each employee.
1739
+ """
1730
1740
  deleteEmployees(ids: [String!]!): Boolean!
1731
1741
 
1732
1742
  """To delete multiple Entities"""
@@ -1906,7 +1916,9 @@ type Mutation {
1906
1916
  """To delete some users"""
1907
1917
  deleteUsers(emails: [String!]!): Boolean!
1908
1918
 
1909
- """To detach a contact from Employee"""
1919
+ """
1920
+ Detaches an existing contact from an employee. The employee is identified by their ID.
1921
+ """
1910
1922
  detachContact(id: String!): Employee!
1911
1923
 
1912
1924
  """To disconnect a connection"""
@@ -1948,7 +1960,9 @@ type Mutation {
1948
1960
  """To import multiple Departments"""
1949
1961
  importDepartments(departments: [DepartmentPatch!]!): Boolean!
1950
1962
 
1951
- """To import multiple Employees"""
1963
+ """
1964
+ Imports multiple employee records into the system. Each employee record must be provided in the EmployeePatch format.
1965
+ """
1952
1966
  importEmployees(employees: [EmployeePatch!]!): Boolean!
1953
1967
 
1954
1968
  """To import multiple MenuButtons"""
@@ -2028,6 +2042,14 @@ type Mutation {
2028
2042
  visibility: String!
2029
2043
  ): BoardTemplate!
2030
2044
 
2045
+ """
2046
+ Registers an existing employee as a system user, granting them access to the system. The employee is identified by their ID.
2047
+ """
2048
+ registerEmployeeAsSystemUser(
2049
+ """Employee Id"""
2050
+ employeeId: String!
2051
+ ): Boolean!
2052
+
2031
2053
  """To release a Board"""
2032
2054
  releaseBoard(id: String!): Board!
2033
2055
  renewApplicationAccessToken(id: String!, scope: String!): AccessToken!
@@ -2117,7 +2139,9 @@ type Mutation {
2117
2139
  """To update multiple domains (Only superuser is granted this privilege.)"""
2118
2140
  updateDomains(patches: [DomainPatch!]!): Boolean!
2119
2141
 
2120
- """To modify Employee information"""
2142
+ """
2143
+ 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.
2144
+ """
2121
2145
  updateEmployee(id: String!, patch: EmployeePatch!): Employee!
2122
2146
 
2123
2147
  """To modify Entity' information"""
@@ -2172,7 +2196,9 @@ type Mutation {
2172
2196
  """To modify multiple Departments' information"""
2173
2197
  updateMultipleDepartment(patches: [DepartmentPatch!]!): [Department!]!
2174
2198
 
2175
- """To modify multiple Employees' information"""
2199
+ """
2200
+ 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".
2201
+ """
2176
2202
  updateMultipleEmployee(patches: [EmployeePatch!]!): [Employee!]!
2177
2203
 
2178
2204
  """To modify multiple Entitys' information"""
@@ -2339,6 +2365,7 @@ input NewAttachment {
2339
2365
  file: Upload!
2340
2366
  refBy: String
2341
2367
  refType: String
2368
+ tags: Object
2342
2369
  }
2343
2370
 
2344
2371
  input NewAttributeSet {
@@ -3268,6 +3295,18 @@ input PartnerSettingPatch {
3268
3295
  value: String
3269
3296
  }
3270
3297
 
3298
+ type PasswordRule {
3299
+ allowRepeat: Boolean
3300
+ digit: Boolean
3301
+ looseCharacterLength: Float
3302
+ lowerCase: Boolean
3303
+ specialCharacter: Boolean
3304
+ tightCharacterLength: Float
3305
+ upperCase: Boolean
3306
+ useLoosePattern: Boolean
3307
+ useTightPattern: Boolean
3308
+ }
3309
+
3271
3310
  """Entity for PayloadLog"""
3272
3311
  type PayloadLog {
3273
3312
  createdAt: DateTimeISO
@@ -3522,19 +3561,25 @@ type Query {
3522
3561
  boardsCreatedByMe(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): BoardList!
3523
3562
  chatCompletion(input: ChatCompletionInput!): ChatCompletionOutput!
3524
3563
 
3525
- """To check if system would provide default password to create new user"""
3564
+ """
3565
+ Checks if the system is configured to provide a default password for new users.
3566
+ """
3526
3567
  checkDefaultPassword: Boolean!
3527
3568
 
3528
- """To check if system would provide default password to create new user"""
3569
+ """
3570
+ Determines whether the system provides a default password when creating a new user.
3571
+ """
3529
3572
  checkResettablePasswordToDefault: Boolean!
3530
3573
 
3531
3574
  """To fetch the preset of role for new user"""
3532
3575
  checkRolePreset: [Role!]!
3533
3576
 
3534
- """To check if current user is belongs to current domain"""
3577
+ """
3578
+ Checks if the current authenticated user belongs to the current domain.
3579
+ """
3535
3580
  checkUserBelongsDomain: Boolean!
3536
3581
 
3537
- """..."""
3582
+ """Checks if a user with the given email address exists in the system."""
3538
3583
  checkUserExistence(email: EmailAddress!): Boolean!
3539
3584
 
3540
3585
  """To fetch common approval lines"""
@@ -3594,10 +3639,14 @@ type Query {
3594
3639
  """To fetch multiple appliance"""
3595
3640
  edges(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ApplianceList!
3596
3641
 
3597
- """To fetch a Employee"""
3642
+ """
3643
+ Fetches a specific employee by their unique ID. Returns the employee object if found, or null if not found.
3644
+ """
3598
3645
  employee(id: String!): Employee
3599
3646
 
3600
- """To fetch multiple Employees"""
3647
+ """
3648
+ Fetches a list of employees based on provided query parameters. Supports searching by name, control number, and alias.
3649
+ """
3601
3650
  employees(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): EmployeeList!
3602
3651
 
3603
3652
  """To fetch multiple Entities"""
@@ -3755,6 +3804,11 @@ type Query {
3755
3804
  partnerSettings(filters: [Filter!]!, pagination: Pagination!, partnerDomain: ObjectRef!, sortings: [Sorting!]!): PartnerSettingList!
3756
3805
  partners(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PartnerList!
3757
3806
 
3807
+ """
3808
+ Retrieves the current password rule configuration for the system, such as required character types and minimum length.
3809
+ """
3810
+ passwordRule: PasswordRule!
3811
+
3758
3812
  """To fetch a PayloadLog"""
3759
3813
  payloadLog(id: String!): PayloadLog!
3760
3814
 
@@ -3858,7 +3912,7 @@ type Query {
3858
3912
  """To fetch multiple Themes"""
3859
3913
  themes(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ThemeList!
3860
3914
 
3861
- """To fetch user"""
3915
+ """Fetches a user by their email address within the current domain."""
3862
3916
  user(email: EmailAddress!): User!
3863
3917
 
3864
3918
  """To fetch Menus by role"""
@@ -3867,7 +3921,9 @@ type Query {
3867
3921
  """To fetch roles of a user"""
3868
3922
  userRoles(userId: String!): [UserRole!]!
3869
3923
 
3870
- """To fetch multiple users"""
3924
+ """
3925
+ Fetches a list of users based on provided search parameters within the current domain.
3926
+ """
3871
3927
  users(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): UserList!
3872
3928
  vendors: [Domain!]!
3873
3929
  }