@hatiolab/things-scene 3.4.38 → 3.4.41

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 (339) hide show
  1. package/db.sqlite +0 -0
  2. package/package.json +1 -1
  3. package/schema.graphql +146 -53
  4. package/things-scene-ie.js +1 -1
  5. package/things-scene-min.js +1 -1
  6. package/things-scene.mjs +2 -2
  7. package/dist/animation/animate.d.ts +0 -4
  8. package/dist/animation/animations/animation.d.ts +0 -14
  9. package/dist/animation/animations/fade.d.ts +0 -4
  10. package/dist/animation/animations/heartbeat.d.ts +0 -4
  11. package/dist/animation/animations/moving.d.ts +0 -4
  12. package/dist/animation/animations/outline.d.ts +0 -10
  13. package/dist/animation/animations/rotation.d.ts +0 -4
  14. package/dist/animation/animations/vibration.d.ts +0 -4
  15. package/dist/animation/compile.d.ts +0 -1
  16. package/dist/animation/delta.d.ts +0 -19
  17. package/dist/animation/index.d.ts +0 -1
  18. package/dist/command/command-change.d.ts +0 -7
  19. package/dist/command/command-migrate.d.ts +0 -4
  20. package/dist/command/command-migrate.js +0 -85
  21. package/dist/command/command-migrate.js.map +0 -1
  22. package/dist/command/command.d.ts +0 -5
  23. package/dist/command/snapshot-commander.d.ts +0 -15
  24. package/dist/components/anchor/anchor.d.ts +0 -128
  25. package/dist/components/anchor/ellipse-anchors.d.ts +0 -2
  26. package/dist/components/anchor/ellipse-anchors.js +0 -38
  27. package/dist/components/anchor/ellipse-anchors.js.map +0 -1
  28. package/dist/components/anchor/rect-anchors.d.ts +0 -10
  29. package/dist/components/audio.d.ts +0 -25
  30. package/dist/components/audio.js +0 -141
  31. package/dist/components/audio.js.map +0 -1
  32. package/dist/components/cloud.d.ts +0 -13
  33. package/dist/components/cloud.js +0 -31
  34. package/dist/components/cloud.js.map +0 -1
  35. package/dist/components/component.d.ts +0 -227
  36. package/dist/components/component.js +0 -912
  37. package/dist/components/component.js.map +0 -1
  38. package/dist/components/container-abstract.d.ts +0 -51
  39. package/dist/components/container-abstract.js +0 -372
  40. package/dist/components/container-abstract.js.map +0 -1
  41. package/dist/components/container.d.ts +0 -38
  42. package/dist/components/container.js +0 -75
  43. package/dist/components/container.js.map +0 -1
  44. package/dist/components/data/data-mapping.d.ts +0 -16
  45. package/dist/components/data/data.d.ts +0 -8
  46. package/dist/components/data/evaluator.d.ts +0 -1
  47. package/dist/components/donut.d.ts +0 -15
  48. package/dist/components/donut.js +0 -74
  49. package/dist/components/donut.js.map +0 -1
  50. package/dist/components/drawer/draw-image-pendable.d.ts +0 -1
  51. package/dist/components/drawer/effect.d.ts +0 -1
  52. package/dist/components/drawer/fill.d.ts +0 -14
  53. package/dist/components/drawer/format.d.ts +0 -1
  54. package/dist/components/drawer/line.d.ts +0 -3
  55. package/dist/components/drawer/stroke.d.ts +0 -1
  56. package/dist/components/drawer/text-wrapper.d.ts +0 -10
  57. package/dist/components/drawer/text.d.ts +0 -3
  58. package/dist/components/ellipse.d.ts +0 -35
  59. package/dist/components/ellipse.js +0 -99
  60. package/dist/components/ellipse.js.map +0 -1
  61. package/dist/components/file/ondropfile.d.ts +0 -1
  62. package/dist/components/fit/fit.d.ts +0 -15
  63. package/dist/components/geometry/transcoord.d.ts +0 -41
  64. package/dist/components/geometry/union.d.ts +0 -6
  65. package/dist/components/gif-view.d.ts +0 -18
  66. package/dist/components/gif-view.js +0 -116
  67. package/dist/components/gif-view.js.map +0 -1
  68. package/dist/components/global-ref.d.ts +0 -36
  69. package/dist/components/global-ref.js +0 -128
  70. package/dist/components/global-ref.js.map +0 -1
  71. package/dist/components/group.d.ts +0 -15
  72. package/dist/components/group.js +0 -145
  73. package/dist/components/group.js.map +0 -1
  74. package/dist/components/html/elements.d.ts +0 -2
  75. package/dist/components/html/fill.d.ts +0 -1
  76. package/dist/components/html/reposition.d.ts +0 -1
  77. package/dist/components/html/shadow.d.ts +0 -1
  78. package/dist/components/html-overlay-container.d.ts +0 -27
  79. package/dist/components/html-overlay-container.js +0 -14
  80. package/dist/components/html-overlay-container.js.map +0 -1
  81. package/dist/components/html-overlay-element.d.ts +0 -25
  82. package/dist/components/html-overlay-element.js +0 -9
  83. package/dist/components/html-overlay-element.js.map +0 -1
  84. package/dist/components/image-view.d.ts +0 -19
  85. package/dist/components/image-view.js +0 -180
  86. package/dist/components/image-view.js.map +0 -1
  87. package/dist/components/index.d.ts +0 -32
  88. package/dist/components/index.js +0 -39
  89. package/dist/components/index.js.map +0 -1
  90. package/dist/components/info-window.d.ts +0 -41
  91. package/dist/components/info-window.js +0 -425
  92. package/dist/components/info-window.js.map +0 -1
  93. package/dist/components/line.d.ts +0 -91
  94. package/dist/components/line.js +0 -303
  95. package/dist/components/line.js.map +0 -1
  96. package/dist/components/local-ref.d.ts +0 -47
  97. package/dist/components/local-ref.js +0 -103
  98. package/dist/components/local-ref.js.map +0 -1
  99. package/dist/components/mixins/connectable.d.ts +0 -45
  100. package/dist/components/mixins/data-source.d.ts +0 -9
  101. package/dist/components/mixins/html-element.d.ts +0 -24
  102. package/dist/components/mixins/move-handle.d.ts +0 -11
  103. package/dist/components/mixins/rect-path.d.ts +0 -13
  104. package/dist/components/mixins/value-holder.d.ts +0 -18
  105. package/dist/components/mutater/bounds.d.ts +0 -10
  106. package/dist/components/mutater/path.d.ts +0 -5
  107. package/dist/components/ortholine.d.ts +0 -21
  108. package/dist/components/ortholine.js +0 -814
  109. package/dist/components/ortholine.js.map +0 -1
  110. package/dist/components/outline/ellipse-outline.d.ts +0 -4
  111. package/dist/components/outline/ellipse-outline.js +0 -11
  112. package/dist/components/outline/ellipse-outline.js.map +0 -1
  113. package/dist/components/outline/path-outline.d.ts +0 -1
  114. package/dist/components/path.d.ts +0 -5
  115. package/dist/components/path.js +0 -40
  116. package/dist/components/path.js.map +0 -1
  117. package/dist/components/polygon.d.ts +0 -40
  118. package/dist/components/polygon.js +0 -157
  119. package/dist/components/polygon.js.map +0 -1
  120. package/dist/components/polyline.d.ts +0 -18
  121. package/dist/components/polyline.js +0 -102
  122. package/dist/components/polyline.js.map +0 -1
  123. package/dist/components/popup.d.ts +0 -48
  124. package/dist/components/popup.js +0 -138
  125. package/dist/components/popup.js.map +0 -1
  126. package/dist/components/rect.d.ts +0 -26
  127. package/dist/components/rect.js +0 -91
  128. package/dist/components/rect.js.map +0 -1
  129. package/dist/components/retention/retention-manager.d.ts +0 -8
  130. package/dist/components/root-container.d.ts +0 -90
  131. package/dist/components/root-container.js +0 -478
  132. package/dist/components/root-container.js.map +0 -1
  133. package/dist/components/ruler.d.ts +0 -16
  134. package/dist/components/ruler.js +0 -77
  135. package/dist/components/ruler.js.map +0 -1
  136. package/dist/components/shape.d.ts +0 -25
  137. package/dist/components/shape.js +0 -80
  138. package/dist/components/shape.js.map +0 -1
  139. package/dist/components/star.d.ts +0 -13
  140. package/dist/components/star.js +0 -80
  141. package/dist/components/star.js.map +0 -1
  142. package/dist/components/text/substitutor.d.ts +0 -3
  143. package/dist/components/text.d.ts +0 -8
  144. package/dist/components/text.js +0 -15
  145. package/dist/components/text.js.map +0 -1
  146. package/dist/components/three-container.d.ts +0 -60
  147. package/dist/components/three-container.js +0 -515
  148. package/dist/components/three-container.js.map +0 -1
  149. package/dist/components/triangle.d.ts +0 -15
  150. package/dist/components/triangle.js +0 -76
  151. package/dist/components/triangle.js.map +0 -1
  152. package/dist/const.d.ts +0 -39
  153. package/dist/core/collection.d.ts +0 -8
  154. package/dist/core/debug.d.ts +0 -1
  155. package/dist/core/deep-equals.d.ts +0 -1
  156. package/dist/core/dom-to-image.d.ts +0 -127
  157. package/dist/core/event.d.ts +0 -92
  158. package/dist/core/index.d.ts +0 -2
  159. package/dist/core/list.d.ts +0 -32
  160. package/dist/core/logger.d.ts +0 -3
  161. package/dist/core/memoize.d.ts +0 -6
  162. package/dist/core/mixin.d.ts +0 -1
  163. package/dist/core/obj-accessor.d.ts +0 -1
  164. package/dist/core/reference-map.d.ts +0 -14
  165. package/dist/core/round-rect.d.ts +0 -19
  166. package/dist/core/script-loader.d.ts +0 -3
  167. package/dist/core/snapshot-taker.d.ts +0 -12
  168. package/dist/core/stack.d.ts +0 -2
  169. package/dist/core/timecapsule.d.ts +0 -18
  170. package/dist/core/utils.d.ts +0 -9
  171. package/dist/decorator/anchors-decorator.d.ts +0 -31
  172. package/dist/decorator/data-spread-decorator.d.ts +0 -1
  173. package/dist/decorator/decotag-decorator.d.ts +0 -1
  174. package/dist/decorator/index.d.ts +0 -2
  175. package/dist/decorator/link-decorator.d.ts +0 -1
  176. package/dist/effect/gradation.d.ts +0 -1
  177. package/dist/effect/index.d.ts +0 -1
  178. package/dist/effect/shadow.d.ts +0 -2
  179. package/dist/effect/turn.d.ts +0 -1
  180. package/dist/event/event-engine.d.ts +0 -12
  181. package/dist/event/event-pump.d.ts +0 -11
  182. package/dist/event/event-tracker.d.ts +0 -21
  183. package/dist/event/index.d.ts +0 -2
  184. package/dist/event/ua-event-handler.d.ts +0 -32
  185. package/dist/event-map/event-map.d.ts +0 -9
  186. package/dist/event-map/index.d.ts +0 -1
  187. package/dist/event-map/move-handler.d.ts +0 -1
  188. package/dist/event-map/text-editor-lite.d.ts +0 -1
  189. package/dist/index.d.ts +0 -1
  190. package/dist/index.js +0 -3
  191. package/dist/index.js.map +0 -1
  192. package/dist/layer/action/emphasize.d.ts +0 -2
  193. package/dist/layer/action/popup.d.ts +0 -5
  194. package/dist/layer/action/pressed.d.ts +0 -2
  195. package/dist/layer/add-layer.d.ts +0 -42
  196. package/dist/layer/add-layer.js +0 -142
  197. package/dist/layer/add-layer.js.map +0 -1
  198. package/dist/layer/decotag-layer.d.ts +0 -27
  199. package/dist/layer/decotag-layer.js +0 -105
  200. package/dist/layer/decotag-layer.js.map +0 -1
  201. package/dist/layer/guide-layer.d.ts +0 -44
  202. package/dist/layer/guide-layer.js +0 -261
  203. package/dist/layer/guide-layer.js.map +0 -1
  204. package/dist/layer/index.d.ts +0 -7
  205. package/dist/layer/index.js +0 -11
  206. package/dist/layer/index.js.map +0 -1
  207. package/dist/layer/layer.d.ts +0 -32
  208. package/dist/layer/layer.js +0 -155
  209. package/dist/layer/layer.js.map +0 -1
  210. package/dist/layer/model-layer.d.ts +0 -46
  211. package/dist/layer/model-layer.js +0 -402
  212. package/dist/layer/model-layer.js.map +0 -1
  213. package/dist/layer/modeler/anchor-handler.d.ts +0 -36
  214. package/dist/layer/modeler/control-handler.d.ts +0 -18
  215. package/dist/layer/modeler/focus-outline.d.ts +0 -5
  216. package/dist/layer/modeler/group-outline.d.ts +0 -5
  217. package/dist/layer/modeler/index.d.ts +0 -7
  218. package/dist/layer/modeler/path-handler.d.ts +0 -22
  219. package/dist/layer/modeler/resizer.d.ts +0 -13
  220. package/dist/layer/modeler/rotator.d.ts +0 -15
  221. package/dist/layer/modeler/rotator.js +0 -120
  222. package/dist/layer/modeler/rotator.js.map +0 -1
  223. package/dist/layer/modeling-layer.d.ts +0 -66
  224. package/dist/layer/modeling-layer.js +0 -451
  225. package/dist/layer/modeling-layer.js.map +0 -1
  226. package/dist/layer/selection/selected-finder.d.ts +0 -1
  227. package/dist/layer/selection-layer.d.ts +0 -42
  228. package/dist/layer/selection-layer.js +0 -307
  229. package/dist/layer/selection-layer.js.map +0 -1
  230. package/dist/layer/shift-layer.d.ts +0 -18
  231. package/dist/layer/shift-layer.js +0 -61
  232. package/dist/layer/shift-layer.js.map +0 -1
  233. package/dist/layout/absolute.d.ts +0 -8
  234. package/dist/layout/card.d.ts +0 -7
  235. package/dist/layout/html-absolute.d.ts +0 -8
  236. package/dist/layout/index.d.ts +0 -8
  237. package/dist/layout/index.js +0 -12
  238. package/dist/layout/index.js.map +0 -1
  239. package/dist/layout/layout.d.ts +0 -11
  240. package/dist/layout/linear-horizontal.d.ts +0 -7
  241. package/dist/layout/linear-vertical.d.ts +0 -7
  242. package/dist/layout/table.d.ts +0 -9
  243. package/dist/layout/three.d.ts +0 -8
  244. package/dist/layout/three.js +0 -20
  245. package/dist/layout/three.js.map +0 -1
  246. package/dist/license/license.d.ts +0 -18
  247. package/dist/model/compile.d.ts +0 -1
  248. package/dist/model/compile.js +0 -28
  249. package/dist/model/compile.js.map +0 -1
  250. package/dist/model/duplicate.d.ts +0 -1
  251. package/dist/model/index.d.ts +0 -3
  252. package/dist/model/selector.d.ts +0 -2
  253. package/dist/style/compile.d.ts +0 -1
  254. package/dist/style/index.d.ts +0 -1
  255. package/dist/things-scene/api/add-start.d.ts +0 -1
  256. package/dist/things-scene/api/add.d.ts +0 -5
  257. package/dist/things-scene/api/align.d.ts +0 -1
  258. package/dist/things-scene/api/change.d.ts +0 -2
  259. package/dist/things-scene/api/clipboard.d.ts +0 -3
  260. package/dist/things-scene/api/distribute.d.ts +0 -1
  261. package/dist/things-scene/api/duplicate.d.ts +0 -4
  262. package/dist/things-scene/api/fullscreen.d.ts +0 -1
  263. package/dist/things-scene/api/group.d.ts +0 -8
  264. package/dist/things-scene/api/group.js +0 -78
  265. package/dist/things-scene/api/group.js.map +0 -1
  266. package/dist/things-scene/api/ids.d.ts +0 -4
  267. package/dist/things-scene/api/index.d.ts +0 -15
  268. package/dist/things-scene/api/listener.d.ts +0 -3
  269. package/dist/things-scene/api/remove.d.ts +0 -4
  270. package/dist/things-scene/api/symmetry.d.ts +0 -2
  271. package/dist/things-scene/api/symmetry.js +0 -39
  272. package/dist/things-scene/api/symmetry.js.map +0 -1
  273. package/dist/things-scene/api/to-data-url.d.ts +0 -1
  274. package/dist/things-scene/api/to-data-url.js +0 -69
  275. package/dist/things-scene/api/to-data-url.js.map +0 -1
  276. package/dist/things-scene/api/zorder.d.ts +0 -2
  277. package/dist/things-scene/application-context.d.ts +0 -40
  278. package/dist/things-scene/config.d.ts +0 -4
  279. package/dist/things-scene/create.d.ts +0 -20
  280. package/dist/things-scene/fps.d.ts +0 -1
  281. package/dist/things-scene/index.d.ts +0 -17
  282. package/dist/things-scene/index.js +0 -23
  283. package/dist/things-scene/index.js.map +0 -1
  284. package/dist/things-scene/polyfill.d.ts +0 -2
  285. package/dist/things-scene/scene.d.ts +0 -155
  286. package/dist/things-scene/version.d.ts +0 -2
  287. package/dist/threed/common.d.ts +0 -22
  288. package/dist/threed/control/three-controls.d.ts +0 -11
  289. package/dist/threed/control/three-controls.js +0 -620
  290. package/dist/threed/control/three-controls.js.map +0 -1
  291. package/dist/threed/html/elements.d.ts +0 -2
  292. package/dist/threed/real-object-camera-meshed.d.ts +0 -12
  293. package/dist/threed/real-object-camera-meshed.js +0 -49
  294. package/dist/threed/real-object-camera-meshed.js.map +0 -1
  295. package/dist/threed/real-object-camera.d.ts +0 -9
  296. package/dist/threed/real-object-camera.js +0 -31
  297. package/dist/threed/real-object-camera.js.map +0 -1
  298. package/dist/threed/real-object-dom-element.d.ts +0 -20
  299. package/dist/threed/real-object-dom-element.js +0 -78
  300. package/dist/threed/real-object-dom-element.js.map +0 -1
  301. package/dist/threed/real-object-dummy.d.ts +0 -6
  302. package/dist/threed/real-object-dummy.js +0 -11
  303. package/dist/threed/real-object-dummy.js.map +0 -1
  304. package/dist/threed/real-object-extrude.d.ts +0 -19
  305. package/dist/threed/real-object-extrude.js +0 -171
  306. package/dist/threed/real-object-extrude.js.map +0 -1
  307. package/dist/threed/real-object-gltf.d.ts +0 -15
  308. package/dist/threed/real-object-gltf.js +0 -97
  309. package/dist/threed/real-object-gltf.js.map +0 -1
  310. package/dist/threed/real-object-group.d.ts +0 -5
  311. package/dist/threed/real-object-group.js +0 -11
  312. package/dist/threed/real-object-group.js.map +0 -1
  313. package/dist/threed/real-object-mesh.d.ts +0 -11
  314. package/dist/threed/real-object-mesh.js +0 -55
  315. package/dist/threed/real-object-mesh.js.map +0 -1
  316. package/dist/threed/real-object-plane.d.ts +0 -6
  317. package/dist/threed/real-object-plane.js +0 -23
  318. package/dist/threed/real-object-plane.js.map +0 -1
  319. package/dist/threed/real-object-scene.d.ts +0 -21
  320. package/dist/threed/real-object-scene.js +0 -89
  321. package/dist/threed/real-object-scene.js.map +0 -1
  322. package/dist/threed/real-object-sprite.d.ts +0 -12
  323. package/dist/threed/real-object-sprite.js +0 -35
  324. package/dist/threed/real-object-sprite.js.map +0 -1
  325. package/dist/threed/real-object-text.d.ts +0 -16
  326. package/dist/threed/real-object-text.js +0 -70
  327. package/dist/threed/real-object-text.js.map +0 -1
  328. package/dist/threed/real-object.d.ts +0 -48
  329. package/dist/threed/real-object.js +0 -199
  330. package/dist/threed/real-object.js.map +0 -1
  331. package/dist/threed/texture/text-texture.d.ts +0 -8
  332. package/dist/threed/three-dimensional-container.d.ts +0 -7
  333. package/dist/threed/three-dimensional-container.js +0 -2
  334. package/dist/threed/three-dimensional-container.js.map +0 -1
  335. package/dist/threed/utils/bound-uv-generator.d.ts +0 -16
  336. package/dist/types.d.ts +0 -53
  337. package/dist/types.js +0 -368
  338. package/dist/types.js.map +0 -1
  339. package/schema.gql +0 -3753
package/db.sqlite CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatiolab/things-scene",
3
- "version": "3.4.38",
3
+ "version": "3.4.41",
4
4
  "description": "2D graphic library",
5
5
  "main": "src/index.js",
6
6
  "module": "things-scene.mjs",
package/schema.graphql CHANGED
@@ -26,7 +26,7 @@ type AppBinding {
26
26
  creator: User!
27
27
  description: String
28
28
  domains: [Domain!]!
29
- email: String!
29
+ email: EmailAddress!
30
30
  id: ID!
31
31
  locale: String
32
32
  name: String!
@@ -89,7 +89,7 @@ type Application {
89
89
  creator: User
90
90
  description: String
91
91
  domain: Domain!
92
- email: String!
92
+ email: EmailAddress!
93
93
  icon: String
94
94
  id: ID!
95
95
  name: String!
@@ -109,7 +109,7 @@ type ApplicationList {
109
109
 
110
110
  input ApplicationPatch {
111
111
  description: String
112
- email: String
112
+ email: EmailAddress
113
113
  icon: String
114
114
  name: String
115
115
  redirectUrl: String
@@ -574,7 +574,7 @@ type Contact {
574
574
  deletedAt: DateTimeISO
575
575
  department: String
576
576
  domain: Domain
577
- email: String
577
+ email: EmailAddress
578
578
  id: ID!
579
579
  items: [ContactItem!]
580
580
  name: String
@@ -607,7 +607,7 @@ input ContactPatch {
607
607
  company: String
608
608
  cuFlag: String
609
609
  department: String
610
- email: String
610
+ email: EmailAddress
611
611
  id: ID
612
612
  items: [ContactItemPatch!]
613
613
  name: String
@@ -638,7 +638,7 @@ scalar DateTimeISO
638
638
  """Entity for Department"""
639
639
  type Department {
640
640
  active: Boolean
641
- children: [Department!]!
641
+ children(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): [Department!]!
642
642
  controlNo: String!
643
643
  createdAt: DateTimeISO
644
644
  creator: User
@@ -652,7 +652,6 @@ type Department {
652
652
  name: String
653
653
  parent: Department
654
654
  picture: String
655
- state: String
656
655
  updatedAt: DateTimeISO
657
656
  updater: User
658
657
  version: Float
@@ -673,13 +672,6 @@ input DepartmentPatch {
673
672
  name: String
674
673
  parent: ObjectRef
675
674
  picture: Upload
676
- state: DepartmentStatus
677
- }
678
-
679
- """state enumeration of a department"""
680
- enum DepartmentStatus {
681
- STATUS_A
682
- STATUS_B
683
675
  }
684
676
 
685
677
  type Domain {
@@ -689,9 +681,11 @@ type Domain {
689
681
  children: Domain
690
682
  contentImage: String
691
683
  createdAt: DateTimeISO
684
+ deletedAt: DateTimeISO
692
685
  description: String
693
686
  extType: String
694
687
  id: ID!
688
+ iplist: Object
695
689
  name: String!
696
690
  owner: String
697
691
  ownerUser: User
@@ -740,6 +734,11 @@ input DomainUserRoleInput {
740
734
  users: [NewUserByDomainWizardInput!]!
741
735
  }
742
736
 
737
+ """
738
+ A field whose value conforms to the standard internet email address format as specified in HTML Spec: https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address.
739
+ """
740
+ scalar EmailAddress @specifiedBy(url: "https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address")
741
+
743
742
  """Entity for Employee"""
744
743
  type Employee {
745
744
  active: Boolean
@@ -753,7 +752,7 @@ type Employee {
753
752
  deletedAt: DateTimeISO
754
753
  department: Department
755
754
  domain: Domain
756
- email: String
755
+ email: EmailAddress
757
756
  extension: String
758
757
  hiredOn: String
759
758
  id: ID!
@@ -1089,7 +1088,7 @@ enum InheritedValueType {
1089
1088
  type Invitation {
1090
1089
  createdAt: DateTimeISO
1091
1090
  creator: User
1092
- email: String!
1091
+ email: EmailAddress!
1093
1092
  id: ID!
1094
1093
  reference: String!
1095
1094
  token: String!
@@ -1103,6 +1102,11 @@ type InvitationList {
1103
1102
  total: Int
1104
1103
  }
1105
1104
 
1105
+ """
1106
+ A field whose value is a JSON Web Token (JWT): https://jwt.io/introduction.
1107
+ """
1108
+ scalar JWT
1109
+
1106
1110
  type Log {
1107
1111
  """log level (error, warning, info, ..)"""
1108
1112
  level: String!
@@ -1493,7 +1497,7 @@ type Mutation {
1493
1497
 
1494
1498
  """To attach a contact on Employee"""
1495
1499
  attachContact(contactId: String!, id: String!): Employee!
1496
- cancelInvitation(email: String!, reference: String!, type: String!): Boolean!
1500
+ cancelInvitation(email: EmailAddress!, reference: String!, type: String!): Boolean!
1497
1501
 
1498
1502
  """To clone a Board from existing Board"""
1499
1503
  cloneBoard(id: String!, patch: BoardPatch!, targetGroupId: String, targetSubdomain: String!): Board!
@@ -1614,6 +1618,9 @@ type Mutation {
1614
1618
  """To create new Setting"""
1615
1619
  createSetting(setting: NewSetting!): Setting!
1616
1620
 
1621
+ """To create new StateRegister"""
1622
+ createStateRegister(stateRegister: NewStateRegister!): StateRegister!
1623
+
1617
1624
  """To create new Terminology"""
1618
1625
  createTerminology(terminology: NewTerminology!): Terminology!
1619
1626
 
@@ -1688,7 +1695,7 @@ type Mutation {
1688
1695
  deleteDomain(name: String!): Domain!
1689
1696
 
1690
1697
  """To delete domain user"""
1691
- deleteDomainUser(email: String!): Boolean!
1698
+ deleteDomainUser(email: EmailAddress!): Boolean!
1692
1699
 
1693
1700
  """To delete multiple domains (Only superuser is granted this privilege.)"""
1694
1701
  deleteDomains(names: [String!]!): Boolean!
@@ -1819,6 +1826,12 @@ type Mutation {
1819
1826
  """To delete multiple settings"""
1820
1827
  deleteSettings(names: [String!]!): Boolean!
1821
1828
 
1829
+ """To delete StateRegister"""
1830
+ deleteStateRegister(id: String!): Boolean!
1831
+
1832
+ """To delete multiple StateRegisters"""
1833
+ deleteStateRegisters(ids: [String!]!): Boolean!
1834
+
1822
1835
  """To delete multiple steps"""
1823
1836
  deleteSteps(ids: [String!]!): Boolean!
1824
1837
 
@@ -1835,7 +1848,7 @@ type Mutation {
1835
1848
  deleteThemes(ids: [String!]!): Boolean!
1836
1849
 
1837
1850
  """To delete a user"""
1838
- deleteUser(email: String!): Boolean!
1851
+ deleteUser(email: EmailAddress!): Boolean!
1839
1852
 
1840
1853
  """To delete some users"""
1841
1854
  deleteUsers(emails: [String!]!): Boolean!
@@ -1912,6 +1925,9 @@ type Mutation {
1912
1925
  """To import multiple scenarios"""
1913
1926
  importScenarios(scenarios: [ScenarioPatch!]!): Boolean!
1914
1927
 
1928
+ """To import multiple StateRegisters"""
1929
+ importStateRegisters(stateRegisters: [StateRegisterPatch!]!): Boolean!
1930
+
1915
1931
  """To import multiple Terminologies"""
1916
1932
  importTerminologies(terminologies: [TerminologyPatch!]!): Boolean!
1917
1933
 
@@ -1923,7 +1939,7 @@ type Mutation {
1923
1939
  inviteCustomer(customerDomainName: String!): Boolean!
1924
1940
 
1925
1941
  """To invite new user"""
1926
- inviteUser(email: String!): Boolean!
1942
+ inviteUser(email: EmailAddress!): Boolean!
1927
1943
 
1928
1944
  """To make the board to join the group"""
1929
1945
  joinGroup(boardIds: [String!]!, id: String!): Group!
@@ -1970,7 +1986,7 @@ type Mutation {
1970
1986
  To run new scenario instance and will return the result after the scenario stop.
1971
1987
  """
1972
1988
  runScenario(instanceName: String, scenarioName: String!, variables: Object): ScenarioInstance!
1973
- sendInvitation(email: String!, reference: String!, type: String!): Invitation!
1989
+ sendInvitation(email: EmailAddress!, reference: String!, type: String!): Invitation!
1974
1990
  singleUpload(file: Upload!): Attachment!
1975
1991
 
1976
1992
  """To start new scenario instance"""
@@ -2001,7 +2017,7 @@ type Mutation {
2001
2017
  terminateContract(partnerName: String!): Boolean!
2002
2018
 
2003
2019
  """To transfer owner of domain"""
2004
- transferOwner(email: String!): Boolean!
2020
+ transferOwner(email: EmailAddress!): Boolean!
2005
2021
  updateAppliance(id: String!, patch: AppliancePatch!): Appliance!
2006
2022
  updateApplication(id: String!, patch: ApplicationPatch!): Application!
2007
2023
 
@@ -2039,7 +2055,7 @@ type Mutation {
2039
2055
  """To update domain (Only superuser is granted this privilege.)"""
2040
2056
  updateDomain(name: String!, patch: DomainPatch!): Domain!
2041
2057
 
2042
- """To update multiple domains"""
2058
+ """To update multiple domains (Only superuser is granted this privilege.)"""
2043
2059
  updateDomains(patches: [DomainPatch!]!): Boolean!
2044
2060
 
2045
2061
  """To modify Employee information"""
@@ -2133,6 +2149,9 @@ type Mutation {
2133
2149
  """To modify multiple Settings' information"""
2134
2150
  updateMultipleSetting(patches: [SettingPatch!]!): [Setting!]!
2135
2151
 
2152
+ """To modify multiple StateRegisters' information"""
2153
+ updateMultipleStateRegister(patches: [StateRegisterPatch!]!): [StateRegister!]!
2154
+
2136
2155
  """To modify multiple steps' in a scenario"""
2137
2156
  updateMultipleStep(patches: [StepPatch!]!, scenarioId: String!): [Step!]!
2138
2157
 
@@ -2181,9 +2200,18 @@ type Mutation {
2181
2200
  """To modify scenario information"""
2182
2201
  updateScenario(name: String!, patch: ScenarioPatch!): Scenario!
2183
2202
 
2203
+ """To update secure IP list for domain"""
2204
+ updateSecureIPList(iplist: Object!): Object
2205
+
2184
2206
  """To modify Setting information"""
2185
2207
  updateSetting(name: String!, patch: SettingPatch!): Setting!
2186
2208
 
2209
+ """To modify StateRegister information"""
2210
+ updateStateRegister(id: String!, patch: StateRegisterPatch!): StateRegister!
2211
+
2212
+ """To update state of StateRegister by name"""
2213
+ updateStateRegisterByName(name: String!, state: Object!): StateRegister!
2214
+
2187
2215
  """To modify Terminology information"""
2188
2216
  updateTerminology(id: String!, patch: TerminologyPatch!): Terminology!
2189
2217
 
@@ -2191,7 +2219,7 @@ type Mutation {
2191
2219
  updateTheme(id: String!, patch: ThemePatch!): Theme!
2192
2220
 
2193
2221
  """To modify user information"""
2194
- updateUser(email: String!, patch: UserPatch!): User!
2222
+ updateUser(email: EmailAddress!, patch: UserPatch!): User!
2195
2223
 
2196
2224
  """To update roles for a user"""
2197
2225
  updateUserRoles(availableRoles: [ObjectRef!]!, selectedRoles: [ObjectRef!]!, userId: String!): User!
@@ -2208,7 +2236,7 @@ input NewAppliance {
2208
2236
 
2209
2237
  input NewApplication {
2210
2238
  description: String
2211
- email: String
2239
+ email: EmailAddress
2212
2240
  icon: String
2213
2241
  name: String!
2214
2242
  redirectUrl: String
@@ -2291,7 +2319,7 @@ input NewContact {
2291
2319
  address: String
2292
2320
  company: String
2293
2321
  department: String
2294
- email: String
2322
+ email: EmailAddress
2295
2323
  items: [ContactItemPatch!]
2296
2324
  name: String!
2297
2325
  note: String
@@ -2308,7 +2336,6 @@ input NewDepartment {
2308
2336
  name: String!
2309
2337
  parent: ObjectRef
2310
2338
  picture: Upload
2311
- state: DepartmentStatus
2312
2339
  }
2313
2340
 
2314
2341
  input NewEmployee {
@@ -2581,7 +2608,7 @@ input NewOauth2Client {
2581
2608
  description: String
2582
2609
  grantType: String
2583
2610
  icon: String
2584
- jwtToken: String
2611
+ jwtToken: JWT
2585
2612
  name: String!
2586
2613
  password: String
2587
2614
  refreshToken: String
@@ -2636,6 +2663,7 @@ input NewScenario {
2636
2663
  active: Boolean
2637
2664
  description: String
2638
2665
  name: String!
2666
+ privilege: PrivilegeInput
2639
2667
  schedule: String
2640
2668
  timezone: String
2641
2669
  type: String
@@ -2648,6 +2676,15 @@ input NewSetting {
2648
2676
  value: String
2649
2677
  }
2650
2678
 
2679
+ input NewStateRegister {
2680
+ description: String
2681
+ name: String!
2682
+ refBy: String
2683
+ state: Object
2684
+ ttl: Int
2685
+ type: String
2686
+ }
2687
+
2651
2688
  input NewTerminology {
2652
2689
  category: String!
2653
2690
  description: String
@@ -2666,7 +2703,7 @@ input NewTheme {
2666
2703
 
2667
2704
  input NewUser {
2668
2705
  description: String
2669
- email: String!
2706
+ email: EmailAddress!
2670
2707
  name: String!
2671
2708
  password: String
2672
2709
  roles: [ObjectRef!]
@@ -2674,7 +2711,7 @@ input NewUser {
2674
2711
  }
2675
2712
 
2676
2713
  input NewUserByDomainWizardInput {
2677
- email: String!
2714
+ email: EmailAddress!
2678
2715
  isInvitee: Boolean
2679
2716
  name: String!
2680
2717
  owner: Boolean!
@@ -2783,7 +2820,7 @@ type Oauth2Client {
2783
2820
  grantType: String
2784
2821
  icon: String
2785
2822
  id: ID!
2786
- jwtToken: String
2823
+ jwtToken: JWT
2787
2824
  name: String!
2788
2825
  password: String
2789
2826
  refreshToken: String
@@ -2813,7 +2850,7 @@ input Oauth2ClientPatch {
2813
2850
  description: String
2814
2851
  grantType: String
2815
2852
  icon: String
2816
- jwtToken: String
2853
+ jwtToken: JWT
2817
2854
  name: String
2818
2855
  password: String
2819
2856
  refreshToken: String
@@ -2856,22 +2893,24 @@ input ObjectRefForEmployee {
2856
2893
 
2857
2894
  """Field description"""
2858
2895
  description: String
2859
- email: String
2896
+ email: EmailAddress
2860
2897
  hiredOn: String
2861
2898
 
2862
2899
  """Field id"""
2863
2900
  id: ID!
2864
2901
  jobPosition: String
2902
+ jobResponsibility: String
2865
2903
 
2866
2904
  """Field name"""
2867
2905
  name: String
2868
2906
  photo: String
2907
+ type: EmployeeType
2869
2908
  }
2870
2909
 
2871
2910
  input ObjectRefForUser {
2872
2911
  """Field description"""
2873
2912
  description: String
2874
- email: String
2913
+ email: EmailAddress
2875
2914
 
2876
2915
  """Field id"""
2877
2916
  id: ID!
@@ -3069,16 +3108,31 @@ type Privilege {
3069
3108
  description: String
3070
3109
  id: ID!
3071
3110
  name: String!
3111
+ privilege: String!
3072
3112
  roles: [Role!]
3073
3113
  updatedAt: DateTimeISO
3074
3114
  updater: User
3075
3115
  }
3076
3116
 
3117
+ input PrivilegeInput {
3118
+ category: String
3119
+ owner: Boolean
3120
+ privilege: String
3121
+ super: Boolean
3122
+ }
3123
+
3077
3124
  type PrivilegeList {
3078
3125
  items: [Privilege!]
3079
3126
  total: Int
3080
3127
  }
3081
3128
 
3129
+ type PrivilegeObject {
3130
+ category: String
3131
+ owner: Boolean
3132
+ privilege: String
3133
+ super: Boolean
3134
+ }
3135
+
3082
3136
  input PrivilegePatch {
3083
3137
  category: String
3084
3138
  description: String
@@ -3164,9 +3218,6 @@ type Query {
3164
3218
  """To fetch a Board Model by name"""
3165
3219
  boardByName(name: String!): Board
3166
3220
 
3167
- """Board Usage Permissions"""
3168
- boardPermissions: [String!]!
3169
-
3170
3221
  """To fetch the latest Board published"""
3171
3222
  boardPublished(id: String!): BoardHistory!
3172
3223
 
@@ -3202,7 +3253,7 @@ type Query {
3202
3253
  checkUserBelongsDomain: Boolean!
3203
3254
 
3204
3255
  """..."""
3205
- checkUserExistence(email: String!): Boolean!
3256
+ checkUserExistence(email: EmailAddress!): Boolean!
3206
3257
 
3207
3258
  """To fetch common approval lines"""
3208
3259
  commonApprovalLines(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ApprovalLineList!
@@ -3243,8 +3294,8 @@ type Query {
3243
3294
  """To fetch a Department"""
3244
3295
  department(id: String!): Department
3245
3296
 
3246
- """To fetch a Root Department"""
3247
- departmentRoot: Department
3297
+ """To fetch a Root Departments"""
3298
+ departmentRoots(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): DepartmentList
3248
3299
 
3249
3300
  """To fetch multiple Departments"""
3250
3301
  departments(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): DepartmentList!
@@ -3256,7 +3307,7 @@ type Query {
3256
3307
  domains(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): DomainList!
3257
3308
 
3258
3309
  """To fetch domains with given privilege for user"""
3259
- domainsWithPrivilege(category: String!, name: String!): [Domain!]!
3310
+ domainsWithPrivilege(category: String!, privilege: String!): [Domain!]!
3260
3311
 
3261
3312
  """To fetch a Employee"""
3262
3313
  employee(id: String!): Employee
@@ -3306,13 +3357,13 @@ type Query {
3306
3357
  groups(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): GroupList!
3307
3358
 
3308
3359
  """To query whether I have the given permission"""
3309
- hasPrivilege(category: String!, name: String!): Boolean!
3360
+ hasPrivilege(category: String!, privilege: String!): Boolean!
3310
3361
  i18nCompletion(input: i18nCompletionInput!): i18nCompletionOutput!
3311
3362
  imageCompletion(input: ImageCompletionInput!): ImageCompletionOutput!
3312
3363
 
3313
3364
  """To fetch integration Analyses"""
3314
3365
  integrationAnalysis: Object!
3315
- invitation(email: String!, reference: String!, type: String!): Invitation!
3366
+ invitation(email: EmailAddress!, reference: String!, type: String!): Invitation!
3316
3367
  invitations(reference: String!, type: String!): InvitationList!
3317
3368
 
3318
3369
  """To fetch multiple LoginHistories"""
@@ -3367,9 +3418,6 @@ type Query {
3367
3418
  """To fetch my notifications"""
3368
3419
  myNotifications(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): NotificationList!
3369
3420
 
3370
- """To fetch current users privileges for current domain"""
3371
- myPrivileges: [Privilege!]!
3372
-
3373
3421
  """To fetch roles of current user"""
3374
3422
  myRoles: [Role!]!
3375
3423
 
@@ -3422,9 +3470,6 @@ type Query {
3422
3470
  """To fetch multiple PrinterDevices"""
3423
3471
  printerDevices(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PrinterDeviceList!
3424
3472
 
3425
- """To fetch privilege"""
3426
- privilege(category: String!, name: String!): Privilege!
3427
-
3428
3473
  """To fetch multiple privileges"""
3429
3474
  privileges(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PrivilegeList!
3430
3475
 
@@ -3453,12 +3498,24 @@ type Query {
3453
3498
  scenarios(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ScenarioList!
3454
3499
  searchCustomers(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): DomainList!
3455
3500
 
3501
+ """To fetch domain"""
3502
+ secureIPList: Object
3503
+
3456
3504
  """To fetch a Setting"""
3457
3505
  setting(name: String!, partnerDomainId: String): Setting!
3458
3506
 
3459
3507
  """To fetch multiple Settings"""
3460
3508
  settings(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): SettingList!
3461
3509
 
3510
+ """To fetch a StateRegister"""
3511
+ stateRegister(id: String!): StateRegister
3512
+
3513
+ """To fetch a StateRegister by name"""
3514
+ stateRegisterByName(name: String!): StateRegister
3515
+
3516
+ """To fetch multiple StateRegisters"""
3517
+ stateRegisters(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): StateRegisterList!
3518
+
3462
3519
  """To fetch a step"""
3463
3520
  step(name: String!): Step!
3464
3521
 
@@ -3487,7 +3544,7 @@ type Query {
3487
3544
  themes(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ThemeList!
3488
3545
 
3489
3546
  """To fetch user"""
3490
- user(email: String!): User!
3547
+ user(email: EmailAddress!): User!
3491
3548
 
3492
3549
  """To fetch Menus by role"""
3493
3550
  userMenus: [Menu!]!
@@ -3552,6 +3609,7 @@ type Scenario {
3552
3609
  id: ID!
3553
3610
  instances: [ScenarioInstance!]
3554
3611
  name: String!
3612
+ privilege: PrivilegeObject
3555
3613
 
3556
3614
  """accessible and executable system-wide"""
3557
3615
  public: Boolean
@@ -3625,6 +3683,7 @@ input ScenarioPatch {
3625
3683
  description: String
3626
3684
  id: ID
3627
3685
  name: String
3686
+ privilege: PrivilegeInput
3628
3687
  schedule: String
3629
3688
  steps: [StepPatch!]
3630
3689
  timezone: String
@@ -3674,6 +3733,40 @@ input Sorting {
3674
3733
  name: String!
3675
3734
  }
3676
3735
 
3736
+ """Entity for StateRegister"""
3737
+ type StateRegister {
3738
+ createdAt: DateTimeISO
3739
+ creator: User
3740
+ description: String
3741
+ domain: Domain
3742
+ id: ID!
3743
+ name: String
3744
+ refBy: String
3745
+ state: Object
3746
+ ttl: Int
3747
+ type: String
3748
+ updatedAt: DateTimeISO
3749
+ updater: User
3750
+ writer: User
3751
+ wroteAt: DateTimeISO
3752
+ }
3753
+
3754
+ type StateRegisterList {
3755
+ items: [StateRegister!]!
3756
+ total: Int!
3757
+ }
3758
+
3759
+ input StateRegisterPatch {
3760
+ cuFlag: String
3761
+ description: String
3762
+ id: ID
3763
+ name: String
3764
+ refBy: String
3765
+ state: Object
3766
+ ttl: Int
3767
+ type: String
3768
+ }
3769
+
3677
3770
  type Step {
3678
3771
  connection: String
3679
3772
  createdAt: DateTimeISO
@@ -3686,7 +3779,7 @@ type Step {
3686
3779
  params: String
3687
3780
 
3688
3781
  """
3689
- a boolean attribute indicating the inclusion status of an element in the result
3782
+ A boolean attribute indicating the inclusion status of an element in the result
3690
3783
  """
3691
3784
  result: Boolean
3692
3785
  scenario: Scenario
@@ -3813,7 +3906,7 @@ type User {
3813
3906
  creator: User
3814
3907
  description: String
3815
3908
  domains: [Domain!]!
3816
- email: String!
3909
+ email: EmailAddress!
3817
3910
  id: ID!
3818
3911
  locale: String
3819
3912
  name: String!
@@ -3837,7 +3930,7 @@ input UserPatch {
3837
3930
  cuFlag: String
3838
3931
  description: String
3839
3932
  domains: [ObjectRef!]
3840
- email: String
3933
+ email: EmailAddress
3841
3934
  id: ID
3842
3935
  name: String
3843
3936
  password: String