@things-factory/operato-dataset 7.0.77 → 7.0.78

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 +9 -9
  2. package/schema.graphql +70 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-dataset",
3
- "version": "7.0.77",
3
+ "version": "7.0.78",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -68,10 +68,10 @@
68
68
  "@things-factory/auth-ui": "^7.0.77",
69
69
  "@things-factory/board-service": "^7.0.77",
70
70
  "@things-factory/board-ui": "^7.0.77",
71
- "@things-factory/ccp": "^7.0.77",
71
+ "@things-factory/ccp": "^7.0.78",
72
72
  "@things-factory/context-ui": "^7.0.77",
73
73
  "@things-factory/dashboard": "^7.0.77",
74
- "@things-factory/dataset": "^7.0.77",
74
+ "@things-factory/dataset": "^7.0.78",
75
75
  "@things-factory/edge-client": "^7.0.77",
76
76
  "@things-factory/export-ui": "^7.0.77",
77
77
  "@things-factory/help": "^7.0.77",
@@ -84,21 +84,21 @@
84
84
  "@things-factory/lock-client": "^7.0.77",
85
85
  "@things-factory/more-base": "^7.0.77",
86
86
  "@things-factory/more-ui": "^7.0.77",
87
- "@things-factory/notification": "^7.0.77",
87
+ "@things-factory/notification": "^7.0.78",
88
88
  "@things-factory/oauth2-client": "^7.0.77",
89
- "@things-factory/organization": "^7.0.77",
90
- "@things-factory/qc": "^7.0.77",
89
+ "@things-factory/organization": "^7.0.78",
90
+ "@things-factory/qc": "^7.0.78",
91
91
  "@things-factory/resource-ui": "^7.0.77",
92
92
  "@things-factory/setting-base": "^7.0.77",
93
93
  "@things-factory/setting-ui": "^7.0.77",
94
94
  "@things-factory/shell": "^7.0.77",
95
- "@things-factory/spc": "^7.0.77",
95
+ "@things-factory/spc": "^7.0.78",
96
96
  "@things-factory/system": "^7.0.77",
97
97
  "@things-factory/work-shift": "^7.0.77",
98
- "@things-factory/worklist": "^7.0.77"
98
+ "@things-factory/worklist": "^7.0.78"
99
99
  },
100
100
  "devDependencies": {
101
101
  "@things-factory/builder": "^7.0.74"
102
102
  },
103
- "gitHead": "9eb3d7438a6b67119151e235c1ee778dc20938d5"
103
+ "gitHead": "fc5dd0f295031816c86ef385940be57db8ced390"
104
104
  }
package/schema.graphql CHANGED
@@ -1867,7 +1867,7 @@ scalar EmailAddress @specifiedBy(url: "https://html.spec.whatwg.org/multipage/in
1867
1867
  """Entity for Employee"""
1868
1868
  type Employee {
1869
1869
  active: Boolean
1870
- address: String!
1870
+ address: String
1871
1871
  alias: String
1872
1872
  approvalLines: [ApprovalLine!]!
1873
1873
  contact: Contact
@@ -2721,7 +2721,9 @@ type Mutation {
2721
2721
  reason: String
2722
2722
  ): ActivityInstance!
2723
2723
 
2724
- """To attach a contact on Employee"""
2724
+ """
2725
+ Attaches an existing contact to an employee. The contact is identified by its ID and the employee is identified by their ID.
2726
+ """
2725
2727
  attachContact(contactId: String!, id: String!): Employee!
2726
2728
  cancelInvitation(email: EmailAddress!, reference: String!, type: String!): Boolean!
2727
2729
 
@@ -2808,7 +2810,9 @@ type Mutation {
2808
2810
  """To create domain (Only superuser is granted this privilege.)"""
2809
2811
  createDomain(domainInput: DomainPatch!): Domain!
2810
2812
 
2811
- """To create new Employee"""
2813
+ """
2814
+ 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.
2815
+ """
2812
2816
  createEmployee(employee: NewEmployee!): Employee!
2813
2817
 
2814
2818
  """To create new Entity"""
@@ -3019,10 +3023,14 @@ type Mutation {
3019
3023
  """To delete multiple Activity Instances of draft state"""
3020
3024
  deleteDraftActivityInstances(ids: [String!]!): Boolean!
3021
3025
 
3022
- """To delete Employee"""
3026
+ """
3027
+ Deletes an employee record identified by the given ID. Also deletes any attachments associated with the employee.
3028
+ """
3023
3029
  deleteEmployee(id: String!): Boolean!
3024
3030
 
3025
- """To delete multiple Employees"""
3031
+ """
3032
+ Deletes multiple employee records identified by the given IDs. Also deletes any attachments associated with each employee.
3033
+ """
3026
3034
  deleteEmployees(ids: [String!]!): Boolean!
3027
3035
 
3028
3036
  """To delete multiple Entities"""
@@ -3196,7 +3204,9 @@ type Mutation {
3196
3204
  """To delete multiple workShifts"""
3197
3205
  deleteWorkShifts(ids: [String!]!): Boolean!
3198
3206
 
3199
- """To detach a contact from Employee"""
3207
+ """
3208
+ Detaches an existing contact from an employee. The employee is identified by their ID.
3209
+ """
3200
3210
  detachContact(id: String!): Employee!
3201
3211
 
3202
3212
  """To disconnect a connection"""
@@ -3277,7 +3287,9 @@ type Mutation {
3277
3287
  """To import multiple Departments"""
3278
3288
  importDepartments(departments: [DepartmentPatch!]!): Boolean!
3279
3289
 
3280
- """To import multiple Employees"""
3290
+ """
3291
+ Imports multiple employee records into the system. Each employee record must be provided in the EmployeePatch format.
3292
+ """
3281
3293
  importEmployees(employees: [EmployeePatch!]!): Boolean!
3282
3294
 
3283
3295
  """To import multiple MenuButtons"""
@@ -3359,6 +3371,14 @@ type Mutation {
3359
3371
  visibility: String!
3360
3372
  ): BoardTemplate!
3361
3373
 
3374
+ """
3375
+ Registers an existing employee as a system user, granting them access to the system. The employee is identified by their ID.
3376
+ """
3377
+ registerEmployeeAsSystemUser(
3378
+ """Employee Id"""
3379
+ employeeId: String!
3380
+ ): Boolean!
3381
+
3362
3382
  """To reject ActivityApproval"""
3363
3383
  rejectActivityApproval(comment: String, id: String!): ActivityApproval
3364
3384
 
@@ -3505,7 +3525,9 @@ type Mutation {
3505
3525
  """To update multiple domains (Only superuser is granted this privilege.)"""
3506
3526
  updateDomains(patches: [DomainPatch!]!): Boolean!
3507
3527
 
3508
- """To modify Employee information"""
3528
+ """
3529
+ 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.
3530
+ """
3509
3531
  updateEmployee(id: String!, patch: EmployeePatch!): Employee!
3510
3532
 
3511
3533
  """To modify Entity' information"""
@@ -3581,7 +3603,9 @@ type Mutation {
3581
3603
  """To modify multiple Departments' information"""
3582
3604
  updateMultipleDepartment(patches: [DepartmentPatch!]!): [Department!]!
3583
3605
 
3584
- """To modify multiple Employees' information"""
3606
+ """
3607
+ 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".
3608
+ """
3585
3609
  updateMultipleEmployee(patches: [EmployeePatch!]!): [Employee!]!
3586
3610
 
3587
3611
  """To modify multiple Entitys' information"""
@@ -4716,6 +4740,18 @@ input PartnerSettingPatch {
4716
4740
  value: String
4717
4741
  }
4718
4742
 
4743
+ type PasswordRule {
4744
+ allowRepeat: Boolean
4745
+ digit: Boolean
4746
+ looseCharacterLength: Float
4747
+ lowerCase: Boolean
4748
+ specialCharacter: Boolean
4749
+ tightCharacterLength: Float
4750
+ upperCase: Boolean
4751
+ useLoosePattern: Boolean
4752
+ useTightPattern: Boolean
4753
+ }
4754
+
4719
4755
  """Entity for PayloadLog"""
4720
4756
  type PayloadLog {
4721
4757
  createdAt: DateTimeISO
@@ -5021,19 +5057,25 @@ type Query {
5021
5057
  boardsCreatedByMe(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): BoardList!
5022
5058
  chatCompletion(input: ChatCompletionInput!): ChatCompletionOutput!
5023
5059
 
5024
- """To check if system would provide default password to create new user"""
5060
+ """
5061
+ Checks if the system is configured to provide a default password for new users.
5062
+ """
5025
5063
  checkDefaultPassword: Boolean!
5026
5064
 
5027
- """To check if system would provide default password to create new user"""
5065
+ """
5066
+ Determines whether the system provides a default password when creating a new user.
5067
+ """
5028
5068
  checkResettablePasswordToDefault: Boolean!
5029
5069
 
5030
5070
  """To fetch the preset of role for new user"""
5031
5071
  checkRolePreset: [Role!]!
5032
5072
 
5033
- """To check if current user is belongs to current domain"""
5073
+ """
5074
+ Checks if the current authenticated user belongs to the current domain.
5075
+ """
5034
5076
  checkUserBelongsDomain: Boolean!
5035
5077
 
5036
- """..."""
5078
+ """Checks if a user with the given email address exists in the system."""
5037
5079
  checkUserExistence(email: EmailAddress!): Boolean!
5038
5080
 
5039
5081
  """To fetch common approval lines"""
@@ -5183,10 +5225,14 @@ type Query {
5183
5225
  """To fetch multiple appliance"""
5184
5226
  edges(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ApplianceList!
5185
5227
 
5186
- """To fetch a Employee"""
5228
+ """
5229
+ Fetches a specific employee by their unique ID. Returns the employee object if found, or null if not found.
5230
+ """
5187
5231
  employee(id: String!): Employee
5188
5232
 
5189
- """To fetch multiple Employees"""
5233
+ """
5234
+ Fetches a list of employees based on provided query parameters. Supports searching by name, control number, and alias.
5235
+ """
5190
5236
  employees(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): EmployeeList!
5191
5237
 
5192
5238
  """To fetch multiple Entities"""
@@ -5362,6 +5408,11 @@ type Query {
5362
5408
  partnerSettings(filters: [Filter!]!, pagination: Pagination!, partnerDomain: ObjectRef!, sortings: [Sorting!]!): PartnerSettingList!
5363
5409
  partners(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PartnerList!
5364
5410
 
5411
+ """
5412
+ Retrieves the current password rule configuration for the system, such as required character types and minimum length.
5413
+ """
5414
+ passwordRule: PasswordRule!
5415
+
5365
5416
  """To fetch a PayloadLog"""
5366
5417
  payloadLog(id: String!): PayloadLog!
5367
5418
 
@@ -5477,7 +5528,7 @@ type Query {
5477
5528
  """To fetch my own ActivityThreads"""
5478
5529
  todoList(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ActivityThreadList!
5479
5530
 
5480
- """To fetch user"""
5531
+ """Fetches a user by their email address within the current domain."""
5481
5532
  user(email: EmailAddress!): User!
5482
5533
 
5483
5534
  """To fetch Menus by role"""
@@ -5486,7 +5537,9 @@ type Query {
5486
5537
  """To fetch roles of a user"""
5487
5538
  userRoles(userId: String!): [UserRole!]!
5488
5539
 
5489
- """To fetch multiple users"""
5540
+ """
5541
+ Fetches a list of users based on provided search parameters within the current domain.
5542
+ """
5490
5543
  users(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): UserList!
5491
5544
  vendors: [Domain!]!
5492
5545