@things-factory/operato-gangsters 6.1.21 → 6.1.23

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 +27 -27
  2. package/schema.gql +224 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-gangsters",
3
- "version": "6.1.21",
3
+ "version": "6.1.23",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -56,33 +56,33 @@
56
56
  "@operato/scene-switch": "^1.0.0",
57
57
  "@operato/scene-table": "^1.0.0",
58
58
  "@operato/scene-timer": "^1.0.0",
59
- "@things-factory/api": "^6.1.18",
60
- "@things-factory/apptool-ui": "^6.1.18",
61
- "@things-factory/auth-ui": "^6.1.18",
62
- "@things-factory/board-service": "^6.1.18",
63
- "@things-factory/board-ui": "^6.1.18",
64
- "@things-factory/context-ui": "^6.1.18",
65
- "@things-factory/dashboard": "^6.1.18",
66
- "@things-factory/export-ui": "^6.1.18",
67
- "@things-factory/help": "^6.1.18",
68
- "@things-factory/i18n-base": "^6.1.18",
69
- "@things-factory/integration-msgraph": "^6.1.21",
70
- "@things-factory/integration-ui": "^6.1.21",
71
- "@things-factory/lite-menu": "^6.1.18",
72
- "@things-factory/more-ui": "^6.1.18",
73
- "@things-factory/notification": "^6.1.18",
74
- "@things-factory/oauth2-client": "^6.1.18",
75
- "@things-factory/organization": "^6.1.18",
76
- "@things-factory/print-ui": "^6.1.18",
77
- "@things-factory/resource-ui": "^6.1.18",
78
- "@things-factory/setting-base": "^6.1.18",
79
- "@things-factory/setting-ui": "^6.1.20",
80
- "@things-factory/shell": "^6.1.18",
81
- "@things-factory/system-ui": "^6.1.18",
82
- "@things-factory/worklist": "^6.1.21"
59
+ "@things-factory/api": "^6.1.23",
60
+ "@things-factory/apptool-ui": "^6.1.23",
61
+ "@things-factory/auth-ui": "^6.1.23",
62
+ "@things-factory/board-service": "^6.1.23",
63
+ "@things-factory/board-ui": "^6.1.23",
64
+ "@things-factory/context-ui": "^6.1.23",
65
+ "@things-factory/dashboard": "^6.1.23",
66
+ "@things-factory/export-ui": "^6.1.23",
67
+ "@things-factory/help": "^6.1.23",
68
+ "@things-factory/i18n-base": "^6.1.23",
69
+ "@things-factory/integration-msgraph": "^6.1.23",
70
+ "@things-factory/integration-ui": "^6.1.23",
71
+ "@things-factory/lite-menu": "^6.1.23",
72
+ "@things-factory/more-ui": "^6.1.23",
73
+ "@things-factory/notification": "^6.1.23",
74
+ "@things-factory/oauth2-client": "^6.1.23",
75
+ "@things-factory/organization": "^6.1.23",
76
+ "@things-factory/print-ui": "^6.1.23",
77
+ "@things-factory/resource-ui": "^6.1.23",
78
+ "@things-factory/setting-base": "^6.1.23",
79
+ "@things-factory/setting-ui": "^6.1.23",
80
+ "@things-factory/shell": "^6.1.23",
81
+ "@things-factory/system-ui": "^6.1.23",
82
+ "@things-factory/worklist": "^6.1.23"
83
83
  },
84
84
  "devDependencies": {
85
- "@things-factory/builder": "^6.1.18"
85
+ "@things-factory/builder": "^6.1.23"
86
86
  },
87
- "gitHead": "f7daba255a423d7a47f636a13e417750cbbaf232"
87
+ "gitHead": "125d105c9f2e7ab6f04b1549128635f747b719fa"
88
88
  }
package/schema.gql CHANGED
@@ -197,6 +197,53 @@ input ActivityInstanceDraft {
197
197
  viewType: String
198
198
  }
199
199
 
200
+ """History Entity of ActivityInstance"""
201
+ type ActivityInstanceHistory {
202
+ activityType: String
203
+ adhocType: String
204
+ approvalLine: [ApprovalLineItem!]
205
+ assignedAt: Timestamp
206
+ assigneeRole: Role
207
+ createdAt: Timestamp
208
+ creator: User
209
+ description: String
210
+ domain: Domain
211
+ dueAt: Timestamp
212
+ id: ID!
213
+ input: Object
214
+ issuedAt: Timestamp
215
+ issuer: User
216
+ key01: String
217
+ key02: String
218
+ key03: String
219
+ key04: String
220
+ key05: String
221
+ name: String
222
+ output: Object
223
+ priority: Float
224
+ reason: String
225
+ refBy: String
226
+ startedAt: Timestamp
227
+ starter: User
228
+ state: String
229
+ supervisoryRole: Role
230
+ terminatedAt: Timestamp
231
+ terminator: User
232
+ threadsMax: Int
233
+ threadsMin: Int
234
+ transaction: String
235
+ uiSource: String
236
+ uiType: String
237
+ updatedAt: Timestamp
238
+ updater: User
239
+ version: Float
240
+ }
241
+
242
+ type ActivityInstanceHistoryList {
243
+ items: [ActivityInstanceHistory!]!
244
+ total: Int!
245
+ }
246
+
200
247
  input ActivityInstanceIssue {
201
248
  activityId: String
202
249
  activityType: String
@@ -1284,6 +1331,16 @@ input GroupPatch {
1284
1331
  name: String
1285
1332
  }
1286
1333
 
1334
+ input ImageCompletionInput {
1335
+ count: Float!
1336
+ description: String!
1337
+ size: String!
1338
+ }
1339
+
1340
+ type ImageCompletionOutput {
1341
+ images: String
1342
+ }
1343
+
1287
1344
  enum InheritedValueType {
1288
1345
  Include
1289
1346
  None
@@ -1873,6 +1930,12 @@ type Mutation {
1873
1930
  """To create new ApprovalLine for current user"""
1874
1931
  createMyApprovalLine(approvalLine: NewApprovalLine!): ApprovalLine!
1875
1932
 
1933
+ """To create new NotiRule"""
1934
+ createNotiRule(notiRule: NewNotiRule!): NotiRule!
1935
+
1936
+ """To create new Notification"""
1937
+ createNotification(notiBox: NewNotification!): Notification!
1938
+
1876
1939
  """To create new Oauth2Client"""
1877
1940
  createOauth2Client(oauth2Client: NewOauth2Client!): Oauth2Client!
1878
1941
 
@@ -1984,6 +2047,12 @@ type Mutation {
1984
2047
  """To delete multiple domains (Only superuser is granted this privilege.)"""
1985
2048
  deleteDomains(names: [String!]!): Boolean!
1986
2049
 
2050
+ """To delete Activity Instance of draft state"""
2051
+ deleteDraftActivityInstance(id: String!): Boolean!
2052
+
2053
+ """To delete multiple Activity Instances of draft state"""
2054
+ deleteDraftActivityInstances(ids: [String!]!): Boolean!
2055
+
1987
2056
  """To delete Employee"""
1988
2057
  deleteEmployee(id: String!): Boolean!
1989
2058
 
@@ -2053,6 +2122,18 @@ type Mutation {
2053
2122
  """To delete multiple ApprovalLines for current user"""
2054
2123
  deleteMyApprovalLines(ids: [String!]!): Boolean!
2055
2124
 
2125
+ """To delete NotiRule"""
2126
+ deleteNotiRule(id: String!): Boolean!
2127
+
2128
+ """To delete multiple NotiRules"""
2129
+ deleteNotiRules(ids: [String!]!): Boolean!
2130
+
2131
+ """To delete Notification"""
2132
+ deleteNotification(id: String!): Boolean!
2133
+
2134
+ """To delete multiple Notificationes"""
2135
+ deleteNotificationes(ids: [String!]!): Boolean!
2136
+
2056
2137
  """To delete Oauth2Client"""
2057
2138
  deleteOauth2Client(id: String!): Boolean!
2058
2139
 
@@ -2176,6 +2257,9 @@ type Mutation {
2176
2257
  """To import multiple Menus"""
2177
2258
  importMenus(menus: [MenuPatch!]!): Boolean!
2178
2259
 
2260
+ """To import multiple NotiRules"""
2261
+ importNotiRules(notiRules: [NotiRulePatch!]!): Boolean!
2262
+
2179
2263
  """To import multiple Oauth2Clients"""
2180
2264
  importOauth2Clients(oauth2Clients: [Oauth2ClientPatch!]!): Boolean!
2181
2265
 
@@ -2272,11 +2356,11 @@ type Mutation {
2272
2356
  """To modify Activity information"""
2273
2357
  updateActivity(id: String!, patch: ActivityPatch!): Activity!
2274
2358
 
2275
- """To modify ActivityInstance Output Data"""
2276
- updateActivityInstanceOutput(id: String!, output: String!): ActivityInstance!
2277
-
2278
2359
  """To modify ActivityTemplate information"""
2279
2360
  updateActivityTemplate(id: String!, patch: ActivityTemplatePatch!): ActivityTemplate!
2361
+
2362
+ """To save ActivityThread Output Data"""
2363
+ updateActivityThreadOutput(id: String!, output: Object!): ActivityThread!
2280
2364
  updateAppliance(id: String!, patch: AppliancePatch!): Appliance!
2281
2365
  updateApplication(id: String!, patch: ApplicationPatch!): Application!
2282
2366
 
@@ -2389,6 +2473,12 @@ type Mutation {
2389
2473
  """To modify multiple ApprovalLines' information for current user"""
2390
2474
  updateMultipleMyApprovalLine(patches: [ApprovalLinePatch!]!): [ApprovalLine!]!
2391
2475
 
2476
+ """To modify multiple NotiRules' information"""
2477
+ updateMultipleNotiRule(patches: [NotiRulePatch!]!): [NotiRule!]!
2478
+
2479
+ """To modify multiple Notificationes' information"""
2480
+ updateMultipleNotification(patches: [NotificationPatch!]!): [Notification!]!
2481
+
2392
2482
  """To modify multiple PartnerSettings' information"""
2393
2483
  updateMultiplePartnerSetting(patches: [PartnerSettingPatch!]!): [PartnerSetting!]!
2394
2484
 
@@ -2413,6 +2503,12 @@ type Mutation {
2413
2503
  """To modify ApprovalLine information for current user"""
2414
2504
  updateMyApprovalLine(id: String!, patch: ApprovalLinePatch!): ApprovalLine!
2415
2505
 
2506
+ """To modify NotiRule information"""
2507
+ updateNotiRule(id: String!, patch: NotiRulePatch!): NotiRule!
2508
+
2509
+ """To modify Notification information"""
2510
+ updateNotification(id: String!, patch: NotificationPatch!): Notification!
2511
+
2416
2512
  """To modify Oauth2Client information"""
2417
2513
  updateOauth2Client(id: String!, patch: Oauth2ClientPatch!): Oauth2Client!
2418
2514
 
@@ -2832,6 +2928,29 @@ input NewMenuDetailColumn {
2832
2928
  virtualField: Boolean
2833
2929
  }
2834
2930
 
2931
+ input NewNotiRule {
2932
+ active: Boolean
2933
+ body: String
2934
+ description: String
2935
+ name: String!
2936
+ state: NotiRuleStatus
2937
+ thumbnail: Upload
2938
+ title: String
2939
+ url: String
2940
+ }
2941
+
2942
+ input NewNotification {
2943
+ body: String
2944
+ image: String
2945
+ ownerId: String
2946
+ property: Object
2947
+ subject: String
2948
+ timestamp: Timestamp
2949
+ title: String
2950
+ type: String
2951
+ url: String
2952
+ }
2953
+
2835
2954
  input NewOauth2Client {
2836
2955
  accessToken: String
2837
2956
  accessTokenUrl: String
@@ -2919,18 +3038,89 @@ input NewUserByDomainWizardInput {
2919
3038
  roles: [NewRole!]!
2920
3039
  }
2921
3040
 
3041
+ """Entity for NotiRule"""
3042
+ type NotiRule {
3043
+ body: String
3044
+ channels: String
3045
+ createdAt: Timestamp
3046
+ creator: User
3047
+ deletedAt: Timestamp
3048
+ description: String
3049
+ domain: Domain
3050
+ id: ID!
3051
+ name: String
3052
+
3053
+ """notification recipients."""
3054
+ recipients: [RecipientItem!]
3055
+ state: String
3056
+ thumbnail: String
3057
+ title: String
3058
+ updatedAt: Timestamp
3059
+ updater: User
3060
+ url: String
3061
+ version: Float
3062
+ }
3063
+
3064
+ type NotiRuleList {
3065
+ items: [NotiRule!]!
3066
+ total: Int!
3067
+ }
3068
+
3069
+ input NotiRulePatch {
3070
+ body: String
3071
+ cuFlag: String
3072
+ description: String
3073
+ id: ID
3074
+ name: String
3075
+ state: NotiRuleStatus
3076
+ thumbnail: Upload
3077
+ title: String
3078
+ url: String
3079
+ }
3080
+
3081
+ """state enumeration of a notiRule"""
3082
+ enum NotiRuleStatus {
3083
+ DRAFT
3084
+ RELEASED
3085
+ }
3086
+
3087
+ """Entity for Notification"""
2922
3088
  type Notification {
2923
- body: String!
3089
+ body: String
3090
+ createdAt: Timestamp
3091
+ creator: User
2924
3092
  domain: Domain
3093
+ id: ID!
2925
3094
  image: String
2926
- property: Any
3095
+ owner: User
3096
+ property: Object
3097
+ state: String
2927
3098
  subject: String
2928
3099
  timestamp: Date
2929
- title: String!
3100
+ title: String
2930
3101
  type: String
3102
+ updatedAt: Timestamp
3103
+ updater: User
2931
3104
  url: String
2932
3105
  }
2933
3106
 
3107
+ type NotificationList {
3108
+ items: [Notification!]!
3109
+ total: Int!
3110
+ }
3111
+
3112
+ input NotificationPatch {
3113
+ cuFlag: String
3114
+ id: ID
3115
+ state: NotificationStatus
3116
+ }
3117
+
3118
+ """state enumeration of a notiBox"""
3119
+ enum NotificationStatus {
3120
+ NOTREAD
3121
+ READ
3122
+ }
3123
+
2934
3124
  """Entity for Oauth2Client"""
2935
3125
  type Oauth2Client {
2936
3126
  accessToken: String
@@ -3248,6 +3438,12 @@ type Query {
3248
3438
  """To fetch a ActivityInstance"""
3249
3439
  activityInstance(id: String!): ActivityInstance
3250
3440
 
3441
+ """To fetch multiple ActivityInstanceHistory"""
3442
+ activityInstanceHistories(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ActivityInstanceHistoryList!
3443
+
3444
+ """To fetch a ActivityInstanceHistory"""
3445
+ activityInstanceHistory(id: String!): ActivityInstanceHistory!
3446
+
3251
3447
  """To fetch multiple ActivityInstances"""
3252
3448
  activityInstances(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ActivityInstanceList!
3253
3449
 
@@ -3438,6 +3634,7 @@ type Query {
3438
3634
  """To query whether I have the given permission"""
3439
3635
  hasPrivilege(category: String!, name: String!): Boolean!
3440
3636
  i18nCompletion(input: i18nCompletionInput!): i18nCompletionOutput!
3637
+ imageCompletion(input: ImageCompletionInput!): ImageCompletionOutput!
3441
3638
 
3442
3639
  """To fetch multiple InstallableActivitys"""
3443
3640
  installableActivities(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): InstallableActivityList!
@@ -3496,9 +3693,24 @@ type Query {
3496
3693
  myApprovalLines(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ApprovalLineList!
3497
3694
  myLoginHistories(limit: Float!): [LoginHistory!]!
3498
3695
 
3696
+ """To fetch my notifications"""
3697
+ myNotifications(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): NotificationList!
3698
+
3499
3699
  """To fetch roles of current user"""
3500
3700
  myRoles: [Role!]!
3501
3701
 
3702
+ """To fetch a Notification"""
3703
+ notiBox(id: String!): Notification
3704
+
3705
+ """To fetch multiple Notificationes"""
3706
+ notiBoxes(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): NotificationList!
3707
+
3708
+ """To fetch a NotiRule"""
3709
+ notiRule(id: String!): NotiRule
3710
+
3711
+ """To fetch multiple NotiRules"""
3712
+ notiRules(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): NotiRuleList!
3713
+
3502
3714
  """To fetch a Oauth2Client"""
3503
3715
  oauth2Client(id: String!): Oauth2Client
3504
3716
 
@@ -3611,6 +3823,12 @@ type Query {
3611
3823
  vendors: [Domain!]!
3612
3824
  }
3613
3825
 
3826
+ type RecipientItem {
3827
+ recipient: OrgMemberTarget
3828
+ type: OrgMemberTargetType
3829
+ value: String
3830
+ }
3831
+
3614
3832
  type Role {
3615
3833
  createdAt: Timestamp
3616
3834
  creator: User