@elyx-code/project-logic-tree 0.0.1

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 (368) hide show
  1. package/README.md +2 -0
  2. package/dist/definitions/built-in-base-entities/conditions/comparison/index.d.ts +6 -0
  3. package/dist/definitions/built-in-base-entities/conditions/comparison/more-than-or-equal.d.ts +7 -0
  4. package/dist/definitions/built-in-base-entities/conditions/index.d.ts +7 -0
  5. package/dist/definitions/built-in-base-entities/conditions/standalone/index.d.ts +6 -0
  6. package/dist/definitions/built-in-base-entities/conditions/standalone/not-empty.d.ts +5 -0
  7. package/dist/definitions/built-in-base-entities/entities/cron/entity.d.ts +7 -0
  8. package/dist/definitions/built-in-base-entities/entities/cron/index.d.ts +2 -0
  9. package/dist/definitions/built-in-base-entities/entities/cron/trigger.d.ts +4 -0
  10. package/dist/definitions/built-in-base-entities/entities/endpoint.d.ts +52 -0
  11. package/dist/definitions/built-in-base-entities/entities/execution/index.d.ts +5 -0
  12. package/dist/definitions/built-in-base-entities/entities/index.d.ts +6 -0
  13. package/dist/definitions/built-in-base-entities/entities/other/index.d.ts +1 -0
  14. package/dist/definitions/built-in-base-entities/entities/other/key-value-param.d.ts +11 -0
  15. package/dist/definitions/built-in-base-entities/entities/persisted/entity.d.ts +3 -0
  16. package/dist/definitions/built-in-base-entities/entities/persisted/index.d.ts +3 -0
  17. package/dist/definitions/built-in-base-entities/entities/persisted/methods/delete.d.ts +4 -0
  18. package/dist/definitions/built-in-base-entities/entities/persisted/methods/index.d.ts +2 -0
  19. package/dist/definitions/built-in-base-entities/entities/persisted/methods/soft-delete.d.ts +4 -0
  20. package/dist/definitions/built-in-base-entities/entities/persisted/properties.d.ts +25 -0
  21. package/dist/definitions/built-in-base-entities/entities/relational-database/entity.d.ts +19 -0
  22. package/dist/definitions/built-in-base-entities/entities/relational-database/index.d.ts +1 -0
  23. package/dist/definitions/built-in-base-entities/global-events/index.d.ts +6 -0
  24. package/dist/definitions/built-in-base-entities/global-events/project-published.d.ts +3 -0
  25. package/dist/definitions/built-in-base-entities/ids.d.ts +118 -0
  26. package/dist/definitions/built-in-base-entities/index.d.ts +8 -0
  27. package/dist/definitions/built-in-base-entities/loops/index.d.ts +2 -0
  28. package/dist/definitions/built-in-base-entities/loops/list.d.ts +9 -0
  29. package/dist/definitions/built-in-base-entities/loops/manual-flow.d.ts +7 -0
  30. package/dist/definitions/built-in-base-entities/operations/custom-entity/create-new.d.ts +17 -0
  31. package/dist/definitions/built-in-base-entities/operations/custom-entity/index.d.ts +7 -0
  32. package/dist/definitions/built-in-base-entities/operations/custom-entity/validate-data.d.ts +23 -0
  33. package/dist/definitions/built-in-base-entities/operations/function-execution/index.d.ts +8 -0
  34. package/dist/definitions/built-in-base-entities/operations/function-execution/parallel.d.ts +21 -0
  35. package/dist/definitions/built-in-base-entities/operations/function-execution/sequential.d.ts +21 -0
  36. package/dist/definitions/built-in-base-entities/operations/function-execution/wait.d.ts +15 -0
  37. package/dist/definitions/built-in-base-entities/operations/http-request/http-request.d.ts +45 -0
  38. package/dist/definitions/built-in-base-entities/operations/http-request/index.d.ts +6 -0
  39. package/dist/definitions/built-in-base-entities/operations/index.d.ts +11 -0
  40. package/dist/definitions/built-in-base-entities/operations/list/append.d.ts +25 -0
  41. package/dist/definitions/built-in-base-entities/operations/list/get-last.d.ts +20 -0
  42. package/dist/definitions/built-in-base-entities/operations/list/index.d.ts +9 -0
  43. package/dist/definitions/built-in-base-entities/operations/list/join-lists.d.ts +25 -0
  44. package/dist/definitions/built-in-base-entities/operations/list/split-list.d.ts +29 -0
  45. package/dist/definitions/built-in-base-entities/operations/number/index.d.ts +6 -0
  46. package/dist/definitions/built-in-base-entities/operations/number/number-addition.d.ts +25 -0
  47. package/dist/definitions/built-in-base-entities/operations/string/index.d.ts +6 -0
  48. package/dist/definitions/built-in-base-entities/operations/string/join-string.d.ts +25 -0
  49. package/dist/definitions/built-in-base-entities/primitive-entities.d.ts +15 -0
  50. package/dist/definitions/built-in-base-entities/value-descriptors/index.d.ts +1 -0
  51. package/dist/definitions/built-in-base-entities/value-descriptors/process-output.d.ts +5 -0
  52. package/dist/definitions/index.d.ts +4 -0
  53. package/dist/definitions/logic/custom-entity-to-zod-schema.d.ts +4 -0
  54. package/dist/definitions/logic/index.d.ts +2 -0
  55. package/dist/definitions/logic/value-autogeneration/boolean.d.ts +3 -0
  56. package/dist/definitions/logic/value-autogeneration/date.d.ts +6 -0
  57. package/dist/definitions/logic/value-autogeneration/index.d.ts +6 -0
  58. package/dist/definitions/logic/value-autogeneration/number.d.ts +6 -0
  59. package/dist/definitions/logic/value-autogeneration/text.d.ts +6 -0
  60. package/dist/definitions/logic/value-autogeneration/uuid.d.ts +1 -0
  61. package/dist/definitions/logic/value-autogeneration/value-autogeneration.d.ts +3 -0
  62. package/dist/definitions/mock/default-mock/entities/alt-relational-database/entity.d.ts +4 -0
  63. package/dist/definitions/mock/default-mock/entities/alt-relational-database/properties.d.ts +15 -0
  64. package/dist/definitions/mock/default-mock/entities/animal.d.ts +12 -0
  65. package/dist/definitions/mock/default-mock/entities/back-account/account-owner-event.d.ts +26 -0
  66. package/dist/definitions/mock/default-mock/entities/back-account/change-owner-of-account.d.ts +16 -0
  67. package/dist/definitions/mock/default-mock/entities/back-account/entity.d.ts +4 -0
  68. package/dist/definitions/mock/default-mock/entities/back-account/properties.d.ts +10 -0
  69. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/currency/entity.d.ts +4 -0
  70. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/currency/properties.d.ts +22 -0
  71. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/entity.d.ts +4 -0
  72. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/properties.d.ts +14 -0
  73. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/entity.d.ts +4 -0
  74. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/ids.d.ts +15 -0
  75. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/properties.d.ts +18 -0
  76. package/dist/definitions/mock/default-mock/entities/company/change-owner-of-company.d.ts +16 -0
  77. package/dist/definitions/mock/default-mock/entities/company/company-changed-event/company-name-exists-condition.d.ts +8 -0
  78. package/dist/definitions/mock/default-mock/entities/company/company-changed-event/gov-registry-func-call.d.ts +16 -0
  79. package/dist/definitions/mock/default-mock/entities/company/company-changed-event/index.d.ts +18 -0
  80. package/dist/definitions/mock/default-mock/entities/company/entity.d.ts +4 -0
  81. package/dist/definitions/mock/default-mock/entities/company/properties.d.ts +18 -0
  82. package/dist/definitions/mock/default-mock/entities/cron-job/entity.d.ts +13 -0
  83. package/dist/definitions/mock/default-mock/entities/default-relational-database/entity.d.ts +4 -0
  84. package/dist/definitions/mock/default-mock/entities/default-relational-database/properties.d.ts +15 -0
  85. package/dist/definitions/mock/default-mock/entities/employee.d.ts +17 -0
  86. package/dist/definitions/mock/default-mock/entities/get-all-bank-accounts-endpoint/entity.d.ts +4 -0
  87. package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/endpoint-reached-event.d.ts +39 -0
  88. package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/entity.d.ts +4 -0
  89. package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/ids.d.ts +1 -0
  90. package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/properties.d.ts +12 -0
  91. package/dist/definitions/mock/default-mock/entities/person.d.ts +12 -0
  92. package/dist/definitions/mock/default-mock/entities/product.d.ts +12 -0
  93. package/dist/definitions/mock/default-mock/entities/user.d.ts +8 -0
  94. package/dist/definitions/mock/default-mock/events/project-loaded/get-bitcoin-price/get-bitcoin-price-http-call.d.ts +20 -0
  95. package/dist/definitions/mock/default-mock/events/project-loaded/get-bitcoin-price/validate-bitcoin-price-response.d.ts +13 -0
  96. package/dist/definitions/mock/default-mock/events/project-loaded/ids.d.ts +4 -0
  97. package/dist/definitions/mock/default-mock/events/project-loaded/index.d.ts +7 -0
  98. package/dist/definitions/mock/default-mock/function-calls/call-execution-abort.d.ts +4 -0
  99. package/dist/definitions/mock/default-mock/function-calls/call-hello-world-loop.d.ts +4 -0
  100. package/dist/definitions/mock/default-mock/functions/abort-execution/execution-abort-call-var.d.ts +9 -0
  101. package/dist/definitions/mock/default-mock/functions/abort-execution/execution-var-declaration.d.ts +8 -0
  102. package/dist/definitions/mock/default-mock/functions/abort-execution/execution-var-instance-write.d.ts +8 -0
  103. package/dist/definitions/mock/default-mock/functions/abort-execution/function.d.ts +4 -0
  104. package/dist/definitions/mock/default-mock/functions/abort-execution/ids.d.ts +11 -0
  105. package/dist/definitions/mock/default-mock/functions/abort-execution/long-wait-return-statement.d.ts +10 -0
  106. package/dist/definitions/mock/default-mock/functions/abort-execution/long-wait.d.ts +9 -0
  107. package/dist/definitions/mock/default-mock/functions/abort-execution/second-wait.d.ts +8 -0
  108. package/dist/definitions/mock/default-mock/functions/abort-execution/small-wait-return-statement.d.ts +10 -0
  109. package/dist/definitions/mock/default-mock/functions/abort-execution/small-wait.d.ts +8 -0
  110. package/dist/definitions/mock/default-mock/functions/check-gov-registry/gov-http-call.d.ts +35 -0
  111. package/dist/definitions/mock/default-mock/functions/check-gov-registry/index.d.ts +8 -0
  112. package/dist/definitions/mock/default-mock/functions/check-gov-registry/join-query-string-operation.d.ts +19 -0
  113. package/dist/definitions/mock/default-mock/functions/check-gov-registry/return-statement.d.ts +10 -0
  114. package/dist/definitions/mock/default-mock/functions/check-gov-registry/shared-arg-map.d.ts +5 -0
  115. package/dist/definitions/mock/default-mock/functions/company-dto/employee-dto-map-loop/body.d.ts +24 -0
  116. package/dist/definitions/mock/default-mock/functions/company-dto/employee-dto-map-loop/loop.d.ts +10 -0
  117. package/dist/definitions/mock/default-mock/functions/company-dto/function.d.ts +8 -0
  118. package/dist/definitions/mock/default-mock/functions/company-dto/ids.d.ts +28 -0
  119. package/dist/definitions/mock/default-mock/functions/company-dto/return-statement.d.ts +10 -0
  120. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/bank-account-variable.d.ts +10 -0
  121. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company/outputs.d.ts +12 -0
  122. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company/variable.d.ts +8 -0
  123. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company-dto/inputs.d.ts +17 -0
  124. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company-dto/variable.d.ts +7 -0
  125. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/owner-variable.d.ts +10 -0
  126. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping.d.ts +0 -0
  127. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/company-dto/mapping-func-call.d.ts +8 -0
  128. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/company-dto/var-chain.d.ts +15 -0
  129. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/exec-in-parallel-call/operation.d.ts +13 -0
  130. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/exec-sequentially-call/operation.d.ts +13 -0
  131. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/function-list-variable.d.ts +12 -0
  132. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/function.d.ts +4 -0
  133. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/ids.d.ts +14 -0
  134. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/return-statement.d.ts +10 -0
  135. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/return-variables-chain.d.ts +0 -0
  136. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/wait.d.ts +9 -0
  137. package/dist/definitions/mock/default-mock/functions/create-new-company/index.d.ts +4 -0
  138. package/dist/definitions/mock/default-mock/functions/create-new-company/return-statement.d.ts +9 -0
  139. package/dist/definitions/mock/default-mock/functions/current-time.d.ts +16 -0
  140. package/dist/definitions/mock/default-mock/functions/do-math/ids.d.ts +2 -0
  141. package/dist/definitions/mock/default-mock/functions/do-math/index.d.ts +18 -0
  142. package/dist/definitions/mock/default-mock/functions/do-math/op-output-variables.d.ts +8 -0
  143. package/dist/definitions/mock/default-mock/functions/do-math/return-statement.d.ts +9 -0
  144. package/dist/definitions/mock/default-mock/functions/do-math/sum-operation.d.ts +12 -0
  145. package/dist/definitions/mock/default-mock/functions/do-math/var-to-return-statement.d.ts +7 -0
  146. package/dist/definitions/mock/default-mock/functions/employee-dto/function.d.ts +8 -0
  147. package/dist/definitions/mock/default-mock/functions/employee-dto/ids.d.ts +16 -0
  148. package/dist/definitions/mock/default-mock/functions/employee-dto/return-statement.d.ts +10 -0
  149. package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee/outputs.d.ts +10 -0
  150. package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee/variable.d.ts +8 -0
  151. package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee-dto/inputs.d.ts +14 -0
  152. package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee-dto/variable.d.ts +5 -0
  153. package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/manager-variable.d.ts +10 -0
  154. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/function.d.ts +4 -0
  155. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/ids.d.ts +13 -0
  156. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/add-latest-text-to-final-list.d.ts +14 -0
  157. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/break-statement.d.ts +10 -0
  158. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/continue-statement.d.ts +10 -0
  159. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/iteration-smaller-than-ten-condition.d.ts +10 -0
  160. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/join-texts.d.ts +13 -0
  161. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/loop-body.d.ts +12 -0
  162. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/loop.d.ts +7 -0
  163. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/return-statement.d.ts +10 -0
  164. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/company-variable-declaration.d.ts +10 -0
  165. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/company-variable-instance.d.ts +9 -0
  166. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/create-new-bank-account.d.ts +15 -0
  167. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/ids.d.ts +15 -0
  168. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/index.d.ts +19 -0
  169. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/old-bank-account-variable.d.ts +11 -0
  170. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/person-not-empty-condition.d.ts +8 -0
  171. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/person-not-found-return-error.d.ts +10 -0
  172. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/found-person-output.d.ts +8 -0
  173. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/index.d.ts +5 -0
  174. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/person-id-input.d.ts +9 -0
  175. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/search-query.d.ts +3 -0
  176. package/dist/definitions/mock/default-mock/functions/show-popup/index.d.ts +4 -0
  177. package/dist/definitions/mock/default-mock/ids.d.ts +3 -0
  178. package/dist/definitions/mock/default-mock/index.d.ts +4 -0
  179. package/dist/definitions/mock/default-mock/installed-projects/mock-third-party-project.d.ts +7 -0
  180. package/dist/definitions/mock/default-mock/loops/iterate-over-list/body.d.ts +8 -0
  181. package/dist/definitions/mock/default-mock/loops/iterate-over-list/ids.d.ts +3 -0
  182. package/dist/definitions/mock/default-mock/loops/iterate-over-list/loop.d.ts +6 -0
  183. package/dist/definitions/mock/default-mock/operations/random-wait.d.ts +7 -0
  184. package/dist/definitions/mock/default-mock/searches/find-companies-with-multiple-employees-and-bank-account.d.ts +10 -0
  185. package/dist/definitions/mock/default-mock/variables/global-data-mapping/company-employee/company-employee.d.ts +6 -0
  186. package/dist/definitions/mock/default-mock/variables/global-data-mapping/company-employee/outputs.d.ts +10 -0
  187. package/dist/definitions/mock/default-mock/variables/global-data-mapping/employee-dto/company-employee-mapped-DTO.d.ts +4 -0
  188. package/dist/definitions/mock/default-mock/variables/global-data-mapping/employee-dto/inputs.d.ts +17 -0
  189. package/dist/definitions/mock/default-mock/variables/global-data-mapping/global-user-instance.d.ts +6 -0
  190. package/dist/definitions/mock/default-mock/variables/global-data-mapping/ids.d.ts +15 -0
  191. package/dist/definitions/mock/default-mock/variables/global-data-mapping/manager-variable.d.ts +9 -0
  192. package/dist/definitions/mock/default-mock/variables/isTestEnv.d.ts +9 -0
  193. package/dist/definitions/mock/default-mock/variables/lastTimestamp.d.ts +7 -0
  194. package/dist/definitions/mock/default-mock/variables/user.d.ts +6 -0
  195. package/dist/definitions/mock/index.d.ts +3 -0
  196. package/dist/definitions/types/autogeneration.d.ts +101 -0
  197. package/dist/definitions/types/base-entity.d.ts +79 -0
  198. package/dist/definitions/types/base.d.ts +177 -0
  199. package/dist/definitions/types/condition.d.ts +61 -0
  200. package/dist/definitions/types/custom-entity.d.ts +31 -0
  201. package/dist/definitions/types/data-type.d.ts +50 -0
  202. package/dist/definitions/types/event.d.ts +49 -0
  203. package/dist/definitions/types/function.d.ts +180 -0
  204. package/dist/definitions/types/generic-reference.d.ts +95 -0
  205. package/dist/definitions/types/index.d.ts +201 -0
  206. package/dist/definitions/types/input-output-map.d.ts +135 -0
  207. package/dist/definitions/types/loop.d.ts +41 -0
  208. package/dist/definitions/types/operation.d.ts +92 -0
  209. package/dist/definitions/types/primitives.d.ts +199 -0
  210. package/dist/definitions/types/project.d.ts +84 -0
  211. package/dist/definitions/types/property.d.ts +35 -0
  212. package/dist/definitions/types/return.d.ts +109 -0
  213. package/dist/definitions/types/search.d.ts +62 -0
  214. package/dist/definitions/types/variable.d.ts +128 -0
  215. package/dist/index.d.ts +2 -0
  216. package/dist/index.js +38622 -0
  217. package/dist/index.umd.cjs +299 -0
  218. package/dist/tree/built-in/built-in-base-entities/index.d.ts +1 -0
  219. package/dist/tree/built-in/built-in-base-entities/persisted/entity.d.ts +22 -0
  220. package/dist/tree/built-in/built-in-base-entities/persisted/index.d.ts +1 -0
  221. package/dist/tree/built-in/index.d.ts +3 -0
  222. package/dist/tree/built-in/operations/function-execution/index.d.ts +3 -0
  223. package/dist/tree/built-in/operations/function-execution/parallel.d.ts +20 -0
  224. package/dist/tree/built-in/operations/function-execution/sequential.d.ts +22 -0
  225. package/dist/tree/built-in/operations/function-execution/wait.d.ts +20 -0
  226. package/dist/tree/built-in/operations/index.d.ts +1 -0
  227. package/dist/tree/built-in/operations/init.d.ts +4 -0
  228. package/dist/tree/built-in/primitive-entities/index.d.ts +1 -0
  229. package/dist/tree/index.d.ts +3 -0
  230. package/dist/tree/state/action-descriptor/action-descriptor.d.ts +113 -0
  231. package/dist/tree/state/action-descriptor/index.d.ts +1 -0
  232. package/dist/tree/state/action-descriptor/validation/logic-validation.d.ts +4 -0
  233. package/dist/tree/state/action-descriptor/validation/validation-schema.d.ts +438 -0
  234. package/dist/tree/state/argument-declaration/argument-declaration.d.ts +98 -0
  235. package/dist/tree/state/argument-declaration/index.d.ts +1 -0
  236. package/dist/tree/state/argument-declaration/validation/logic-validation.d.ts +4 -0
  237. package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +489 -0
  238. package/dist/tree/state/autogeneration.d.ts +823 -0
  239. package/dist/tree/state/base.d.ts +111 -0
  240. package/dist/tree/state/break-statement/break-statement.d.ts +99 -0
  241. package/dist/tree/state/break-statement/index.d.ts +1 -0
  242. package/dist/tree/state/break-statement/validation/logic-validation.d.ts +4 -0
  243. package/dist/tree/state/break-statement/validation/validation-schema.d.ts +1117 -0
  244. package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +82 -0
  245. package/dist/tree/state/built-in-base-entity/index.d.ts +1 -0
  246. package/dist/tree/state/built-in-base-entity/init.d.ts +4 -0
  247. package/dist/tree/state/built-in-base-entity/logic-validation.d.ts +4 -0
  248. package/dist/tree/state/built-in-base-entity/validation-schema.d.ts +256 -0
  249. package/dist/tree/state/condition/condition.d.ts +105 -0
  250. package/dist/tree/state/condition/index.d.ts +1 -0
  251. package/dist/tree/state/condition/init.d.ts +4 -0
  252. package/dist/tree/state/condition/validation/logic-validation.d.ts +4 -0
  253. package/dist/tree/state/condition/validation/validation-schema.d.ts +2386 -0
  254. package/dist/tree/state/continue-statement/continue-statement.d.ts +99 -0
  255. package/dist/tree/state/continue-statement/index.d.ts +1 -0
  256. package/dist/tree/state/continue-statement/validation/logic-validation.d.ts +4 -0
  257. package/dist/tree/state/continue-statement/validation/validation-schema.d.ts +1117 -0
  258. package/dist/tree/state/create.d.ts +8 -0
  259. package/dist/tree/state/custom-entity/custom-entity.d.ts +129 -0
  260. package/dist/tree/state/custom-entity/index.d.ts +1 -0
  261. package/dist/tree/state/custom-entity/validation/logic-validation.d.ts +9 -0
  262. package/dist/tree/state/custom-entity/validation/references.d.ts +5 -0
  263. package/dist/tree/state/custom-entity/validation/validation-schema.d.ts +472 -0
  264. package/dist/tree/state/data-type/data-type.d.ts +108 -0
  265. package/dist/tree/state/data-type/index.d.ts +1 -0
  266. package/dist/tree/state/data-type/validation/logic-validation.d.ts +4 -0
  267. package/dist/tree/state/data-type/validation/references.d.ts +5 -0
  268. package/dist/tree/state/data-type/validation/validation-schema.d.ts +12115 -0
  269. package/dist/tree/state/error.d.ts +133 -0
  270. package/dist/tree/state/function-call/function-call.d.ts +111 -0
  271. package/dist/tree/state/function-call/index.d.ts +1 -0
  272. package/dist/tree/state/function-call/validation/logic-validation.d.ts +4 -0
  273. package/dist/tree/state/function-call/validation/validation-schema.d.ts +2517 -0
  274. package/dist/tree/state/function-declaration/function-declaration.d.ts +115 -0
  275. package/dist/tree/state/function-declaration/index.d.ts +1 -0
  276. package/dist/tree/state/function-declaration/validation/logic-validation.d.ts +4 -0
  277. package/dist/tree/state/function-declaration/validation/validation-schema.d.ts +505 -0
  278. package/dist/tree/state/global-event/global-event.d.ts +105 -0
  279. package/dist/tree/state/global-event/index.d.ts +1 -0
  280. package/dist/tree/state/global-event/init.d.ts +4 -0
  281. package/dist/tree/state/global-event/validation/logic-validation.d.ts +4 -0
  282. package/dist/tree/state/global-event/validation/validation-schema.d.ts +1379 -0
  283. package/dist/tree/state/index.d.ts +28 -0
  284. package/dist/tree/state/input-map/index.d.ts +1 -0
  285. package/dist/tree/state/input-map/input-map.d.ts +124 -0
  286. package/dist/tree/state/input-map/validation/logic-validation.d.ts +4 -0
  287. package/dist/tree/state/input-map/validation/validation-schema.d.ts +36161 -0
  288. package/dist/tree/state/installed-project/index.d.ts +1 -0
  289. package/dist/tree/state/installed-project/installed-project.d.ts +90 -0
  290. package/dist/tree/state/installed-project/validation/logic-validation.d.ts +4 -0
  291. package/dist/tree/state/installed-project/validation/validation-schema.d.ts +238 -0
  292. package/dist/tree/state/internal-call/index.d.ts +1 -0
  293. package/dist/tree/state/internal-call/internal-call.d.ts +109 -0
  294. package/dist/tree/state/internal-call/validation/logic-validation.d.ts +4 -0
  295. package/dist/tree/state/internal-call/validation/validation-schema.d.ts +2433 -0
  296. package/dist/tree/state/loop/index.d.ts +1 -0
  297. package/dist/tree/state/loop/init.d.ts +4 -0
  298. package/dist/tree/state/loop/loop.d.ts +127 -0
  299. package/dist/tree/state/loop/validation/logic-validation.d.ts +4 -0
  300. package/dist/tree/state/loop/validation/validation-schema.d.ts +2523 -0
  301. package/dist/tree/state/operation/index.d.ts +1 -0
  302. package/dist/tree/state/operation/operation.d.ts +111 -0
  303. package/dist/tree/state/operation/validation/logic-validation.d.ts +4 -0
  304. package/dist/tree/state/operation/validation/validation-schema.d.ts +2553 -0
  305. package/dist/tree/state/output-map/index.d.ts +1 -0
  306. package/dist/tree/state/output-map/output-map.d.ts +111 -0
  307. package/dist/tree/state/output-map/validation/logic-validation.d.ts +4 -0
  308. package/dist/tree/state/output-map/validation/validation-schema.d.ts +1543 -0
  309. package/dist/tree/state/primitive-entity/index.d.ts +1 -0
  310. package/dist/tree/state/primitive-entity/init.d.ts +4 -0
  311. package/dist/tree/state/primitive-entity/primitive-entity.d.ts +62 -0
  312. package/dist/tree/state/primitive-entity/validation/logic-validation.d.ts +4 -0
  313. package/dist/tree/state/primitive-entity/validation/validation-schema.d.ts +251 -0
  314. package/dist/tree/state/primitive-value/index.d.ts +1 -0
  315. package/dist/tree/state/primitive-value/primitive-value.d.ts +91 -0
  316. package/dist/tree/state/primitive-value/validation/logic-validation.d.ts +4 -0
  317. package/dist/tree/state/primitive-value/validation/references.d.ts +5 -0
  318. package/dist/tree/state/primitive-value/validation/validation-schema.d.ts +11410 -0
  319. package/dist/tree/state/project/index.d.ts +1 -0
  320. package/dist/tree/state/project/project.d.ts +180 -0
  321. package/dist/tree/state/project/validation/validation-schema.d.ts +389 -0
  322. package/dist/tree/state/property/index.d.ts +1 -0
  323. package/dist/tree/state/property/property.d.ts +100 -0
  324. package/dist/tree/state/property/validation/logic-validation.d.ts +5 -0
  325. package/dist/tree/state/property/validation/references.d.ts +5 -0
  326. package/dist/tree/state/property/validation/validation-schema.d.ts +365 -0
  327. package/dist/tree/state/return-declaration/index.d.ts +1 -0
  328. package/dist/tree/state/return-declaration/return-declaration.d.ts +100 -0
  329. package/dist/tree/state/return-declaration/validation/logic-validation.d.ts +4 -0
  330. package/dist/tree/state/return-declaration/validation/validation-schema.d.ts +579 -0
  331. package/dist/tree/state/return-statement/index.d.ts +1 -0
  332. package/dist/tree/state/return-statement/return-statement.d.ts +98 -0
  333. package/dist/tree/state/return-statement/validation/logic-validation.d.ts +4 -0
  334. package/dist/tree/state/return-statement/validation/references.d.ts +8 -0
  335. package/dist/tree/state/return-statement/validation/validation-schema.d.ts +1217 -0
  336. package/dist/tree/state/search/index.d.ts +1 -0
  337. package/dist/tree/state/search/search.d.ts +116 -0
  338. package/dist/tree/state/search/validation/logic-validation.d.ts +4 -0
  339. package/dist/tree/state/search/validation/validation-schema.d.ts +2493 -0
  340. package/dist/tree/state/state.test.d.ts +1 -0
  341. package/dist/tree/state/store.d.ts +10 -0
  342. package/dist/tree/state/types/index.d.ts +7 -0
  343. package/dist/tree/state/types/state.d.ts +52 -0
  344. package/dist/tree/state/types/validation.d.ts +3591 -0
  345. package/dist/tree/state/validate.d.ts +122 -0
  346. package/dist/tree/state/validate.test.d.ts +1 -0
  347. package/dist/tree/state/value-descriptor/index.d.ts +1 -0
  348. package/dist/tree/state/value-descriptor/init.d.ts +4 -0
  349. package/dist/tree/state/value-descriptor/validation/logic-validation.d.ts +4 -0
  350. package/dist/tree/state/value-descriptor/validation/validation-schema.d.ts +191 -0
  351. package/dist/tree/state/value-descriptor/value-descriptor.d.ts +91 -0
  352. package/dist/tree/state/variable-declaration/index.d.ts +1 -0
  353. package/dist/tree/state/variable-declaration/validation/logic-validation.d.ts +4 -0
  354. package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +2687 -0
  355. package/dist/tree/state/variable-declaration/variable-declaration.d.ts +129 -0
  356. package/dist/tree/state/variable-instance/index.d.ts +1 -0
  357. package/dist/tree/state/variable-instance/validation/logic-validation.d.ts +4 -0
  358. package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +2689 -0
  359. package/dist/tree/state/variable-instance/variable-instance.d.ts +125 -0
  360. package/dist/tree/utils/data-type.d.ts +51 -0
  361. package/dist/tree/utils/index.d.ts +158 -0
  362. package/dist/tree/utils/names.d.ts +32 -0
  363. package/dist/tree/utils/references.d.ts +4 -0
  364. package/dist/tree/utils/shared-data-structure-entity.d.ts +26 -0
  365. package/dist/tree/utils/string.d.ts +2 -0
  366. package/dist/tree/utils/uuid.d.ts +7 -0
  367. package/dist/tree/utils/variables.d.ts +5 -0
  368. package/package.json +65 -0
@@ -0,0 +1,1379 @@
1
+ import { EntityType } from '../../../../../../../../../../src/definitions';
2
+ import { z } from 'zod';
3
+
4
+ export declare function getGlobalEventTypeSchema(): z.ZodUnion<[z.ZodObject<{
5
+ type: z.ZodLiteral<EntityType.GlobalEvent>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ type: EntityType.GlobalEvent;
8
+ }, {
9
+ type: EntityType.GlobalEvent;
10
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>;
11
+ export declare function getGlobalEventReferenceSchema(): z.ZodObject<{
12
+ id: z.ZodString;
13
+ type: z.ZodLiteral<EntityType.GenericReference>;
14
+ entityId: z.ZodString;
15
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ id: string;
18
+ type: EntityType.GenericReference;
19
+ entityType: EntityType.GlobalEvent;
20
+ entityId: string;
21
+ }, {
22
+ id: string;
23
+ type: EntityType.GenericReference;
24
+ entityType: EntityType.GlobalEvent;
25
+ entityId: string;
26
+ }>;
27
+ export declare function getGlobalEventBaseSchema(): z.ZodObject<{
28
+ id: z.ZodString;
29
+ type: z.ZodLiteral<EntityType.GlobalEvent>;
30
+ name: z.ZodString;
31
+ collapsed: z.ZodBoolean;
32
+ }, "strip", z.ZodTypeAny, {
33
+ id: string;
34
+ type: EntityType.GlobalEvent;
35
+ name: string;
36
+ collapsed: boolean;
37
+ }, {
38
+ id: string;
39
+ type: EntityType.GlobalEvent;
40
+ name: string;
41
+ collapsed: boolean;
42
+ }>;
43
+ export declare function getGlobalEventMetaSchema(): z.ZodObject<z.objectUtil.extendShape<{
44
+ id: z.ZodString;
45
+ type: z.ZodLiteral<EntityType.GlobalEvent>;
46
+ name: z.ZodString;
47
+ collapsed: z.ZodBoolean;
48
+ }, {
49
+ version: z.ZodNumber;
50
+ x: z.ZodNumber;
51
+ y: z.ZodNumber;
52
+ }>, "strip", z.ZodTypeAny, {
53
+ id: string;
54
+ type: EntityType.GlobalEvent;
55
+ name: string;
56
+ version: number;
57
+ x: number;
58
+ y: number;
59
+ collapsed: boolean;
60
+ }, {
61
+ id: string;
62
+ type: EntityType.GlobalEvent;
63
+ name: string;
64
+ version: number;
65
+ x: number;
66
+ y: number;
67
+ collapsed: boolean;
68
+ }>;
69
+ export declare function getGlobalEventGenerationTargetSchema(): z.ZodObject<z.objectUtil.extendShape<{
70
+ id: z.ZodString;
71
+ type: z.ZodLiteral<EntityType.GlobalEvent>;
72
+ name: z.ZodString;
73
+ collapsed: z.ZodBoolean;
74
+ }, {}>, "strip", z.ZodTypeAny, {
75
+ id: string;
76
+ type: EntityType.GlobalEvent;
77
+ name: string;
78
+ collapsed: boolean;
79
+ }, {
80
+ id: string;
81
+ type: EntityType.GlobalEvent;
82
+ name: string;
83
+ collapsed: boolean;
84
+ }>;
85
+ export declare function getGlobalEventNestedEntitiesSchema(): z.ZodObject<z.objectUtil.extendShape<{
86
+ id: z.ZodString;
87
+ type: z.ZodLiteral<EntityType.GlobalEvent>;
88
+ name: z.ZodString;
89
+ collapsed: z.ZodBoolean;
90
+ }, {
91
+ returnStatements: z.ZodArray<z.ZodUnion<[z.ZodObject<{
92
+ type: z.ZodLiteral<EntityType.ReturnStatement>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ type: EntityType.ReturnStatement;
95
+ }, {
96
+ type: EntityType.ReturnStatement;
97
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
98
+ implements: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
99
+ id: z.ZodString;
100
+ type: z.ZodLiteral<EntityType.ActionDescriptor>;
101
+ name: z.ZodString;
102
+ description: z.ZodNullable<z.ZodString>;
103
+ argumentsType: z.ZodEnum<[import("src/definitions").ActionDescriptorValuesType.Dynamic, import("src/definitions").ActionDescriptorValuesType.Fixed, import("src/definitions").ActionDescriptorValuesType.None]>;
104
+ returnsType: z.ZodEnum<[import("src/definitions").ActionDescriptorValuesType.Dynamic, import("src/definitions").ActionDescriptorValuesType.Fixed, import("src/definitions").ActionDescriptorValuesType.None]>;
105
+ }, {
106
+ version: z.ZodNumber;
107
+ }>, {
108
+ fixedArguments: z.ZodArray<z.ZodUnion<[z.ZodObject<{
109
+ type: z.ZodLiteral<EntityType.ValueDescriptor>;
110
+ }, "strip", z.ZodTypeAny, {
111
+ type: EntityType.ValueDescriptor;
112
+ }, {
113
+ type: EntityType.ValueDescriptor;
114
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
115
+ fixedReturns: z.ZodArray<z.ZodUnion<[z.ZodObject<{
116
+ type: z.ZodLiteral<EntityType.ValueDescriptor>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ type: EntityType.ValueDescriptor;
119
+ }, {
120
+ type: EntityType.ValueDescriptor;
121
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
122
+ dynamicArgumentTypes: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
123
+ type: z.ZodLiteral<EntityType.DataType>;
124
+ }, "strip", z.ZodTypeAny, {
125
+ type: EntityType.DataType;
126
+ }, {
127
+ type: EntityType.DataType;
128
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
129
+ dynamicReturnTypes: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
130
+ type: z.ZodLiteral<EntityType.DataType>;
131
+ }, "strip", z.ZodTypeAny, {
132
+ type: EntityType.DataType;
133
+ }, {
134
+ type: EntityType.DataType;
135
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
136
+ parent: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
137
+ entityType: z.ZodLiteral<EntityType.Project>;
138
+ entityId: z.ZodString;
139
+ id: z.ZodString;
140
+ type: z.ZodLiteral<EntityType.GenericReference>;
141
+ }, "strip", z.ZodTypeAny, {
142
+ id: string;
143
+ type: EntityType.GenericReference;
144
+ entityType: EntityType.Project;
145
+ entityId: string;
146
+ }, {
147
+ id: string;
148
+ type: EntityType.GenericReference;
149
+ entityType: EntityType.Project;
150
+ entityId: string;
151
+ }>, z.ZodObject<{
152
+ id: z.ZodString;
153
+ type: z.ZodLiteral<EntityType.GenericReference>;
154
+ entityId: z.ZodString;
155
+ entityType: z.ZodLiteral<EntityType.CustomEntity>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ id: string;
158
+ type: EntityType.GenericReference;
159
+ entityType: EntityType.CustomEntity;
160
+ entityId: string;
161
+ }, {
162
+ id: string;
163
+ type: EntityType.GenericReference;
164
+ entityType: EntityType.CustomEntity;
165
+ entityId: string;
166
+ }>, z.ZodObject<{
167
+ id: z.ZodString;
168
+ type: z.ZodLiteral<EntityType.GenericReference>;
169
+ entityId: z.ZodString;
170
+ entityType: z.ZodLiteral<EntityType.BuiltInBaseEntity>;
171
+ }, "strip", z.ZodTypeAny, {
172
+ id: string;
173
+ type: EntityType.GenericReference;
174
+ entityType: EntityType.BuiltInBaseEntity;
175
+ entityId: string;
176
+ }, {
177
+ id: string;
178
+ type: EntityType.GenericReference;
179
+ entityType: EntityType.BuiltInBaseEntity;
180
+ entityId: string;
181
+ }>, z.ZodObject<{
182
+ id: z.ZodString;
183
+ type: z.ZodLiteral<EntityType.GenericReference>;
184
+ entityId: z.ZodString;
185
+ entityType: z.ZodLiteral<EntityType.PrimitiveEntity>;
186
+ }, "strip", z.ZodTypeAny, {
187
+ id: string;
188
+ type: EntityType.GenericReference;
189
+ entityType: EntityType.PrimitiveEntity;
190
+ entityId: string;
191
+ }, {
192
+ id: string;
193
+ type: EntityType.GenericReference;
194
+ entityType: EntityType.PrimitiveEntity;
195
+ entityId: string;
196
+ }>]>>;
197
+ }>, "strip", z.ZodTypeAny, {
198
+ id: string;
199
+ type: EntityType.ActionDescriptor;
200
+ name: string;
201
+ description: string | null;
202
+ parent: {
203
+ id: string;
204
+ type: EntityType.GenericReference;
205
+ entityType: EntityType.PrimitiveEntity;
206
+ entityId: string;
207
+ } | {
208
+ id: string;
209
+ type: EntityType.GenericReference;
210
+ entityType: EntityType.CustomEntity;
211
+ entityId: string;
212
+ } | {
213
+ id: string;
214
+ type: EntityType.GenericReference;
215
+ entityType: EntityType.BuiltInBaseEntity;
216
+ entityId: string;
217
+ } | {
218
+ id: string;
219
+ type: EntityType.GenericReference;
220
+ entityType: EntityType.Project;
221
+ entityId: string;
222
+ } | null;
223
+ version: number;
224
+ argumentsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
225
+ returnsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
226
+ fixedArguments: ({
227
+ type: EntityType.ValueDescriptor;
228
+ } | Record<string, any>)[];
229
+ fixedReturns: ({
230
+ type: EntityType.ValueDescriptor;
231
+ } | Record<string, any>)[];
232
+ dynamicArgumentTypes: Record<string, any> | {
233
+ type: EntityType.DataType;
234
+ } | null;
235
+ dynamicReturnTypes: Record<string, any> | {
236
+ type: EntityType.DataType;
237
+ } | null;
238
+ }, {
239
+ id: string;
240
+ type: EntityType.ActionDescriptor;
241
+ name: string;
242
+ description: string | null;
243
+ parent: {
244
+ id: string;
245
+ type: EntityType.GenericReference;
246
+ entityType: EntityType.PrimitiveEntity;
247
+ entityId: string;
248
+ } | {
249
+ id: string;
250
+ type: EntityType.GenericReference;
251
+ entityType: EntityType.CustomEntity;
252
+ entityId: string;
253
+ } | {
254
+ id: string;
255
+ type: EntityType.GenericReference;
256
+ entityType: EntityType.BuiltInBaseEntity;
257
+ entityId: string;
258
+ } | {
259
+ id: string;
260
+ type: EntityType.GenericReference;
261
+ entityType: EntityType.Project;
262
+ entityId: string;
263
+ } | null;
264
+ version: number;
265
+ argumentsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
266
+ returnsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
267
+ fixedArguments: ({
268
+ type: EntityType.ValueDescriptor;
269
+ } | Record<string, any>)[];
270
+ fixedReturns: ({
271
+ type: EntityType.ValueDescriptor;
272
+ } | Record<string, any>)[];
273
+ dynamicArgumentTypes: Record<string, any> | {
274
+ type: EntityType.DataType;
275
+ } | null;
276
+ dynamicReturnTypes: Record<string, any> | {
277
+ type: EntityType.DataType;
278
+ } | null;
279
+ }>, "many">;
280
+ inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
281
+ type: z.ZodLiteral<EntityType.ArgumentDeclaration>;
282
+ }, "strip", z.ZodTypeAny, {
283
+ type: EntityType.ArgumentDeclaration;
284
+ }, {
285
+ type: EntityType.ArgumentDeclaration;
286
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
287
+ calls: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
288
+ id: z.ZodString;
289
+ type: z.ZodLiteral<EntityType.GenericReference>;
290
+ entityId: z.ZodString;
291
+ entityType: z.ZodLiteral<EntityType.Operation>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ id: string;
294
+ type: EntityType.GenericReference;
295
+ entityType: EntityType.Operation;
296
+ entityId: string;
297
+ }, {
298
+ id: string;
299
+ type: EntityType.GenericReference;
300
+ entityType: EntityType.Operation;
301
+ entityId: string;
302
+ }>, z.ZodObject<{
303
+ id: z.ZodString;
304
+ type: z.ZodLiteral<EntityType.GenericReference>;
305
+ entityId: z.ZodString;
306
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
307
+ }, "strip", z.ZodTypeAny, {
308
+ id: string;
309
+ type: EntityType.GenericReference;
310
+ entityType: EntityType.FunctionCall;
311
+ entityId: string;
312
+ }, {
313
+ id: string;
314
+ type: EntityType.GenericReference;
315
+ entityType: EntityType.FunctionCall;
316
+ entityId: string;
317
+ }>, z.ZodObject<{
318
+ id: z.ZodString;
319
+ type: z.ZodLiteral<EntityType.GenericReference>;
320
+ entityId: z.ZodString;
321
+ entityType: z.ZodLiteral<EntityType.Condition>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ id: string;
324
+ type: EntityType.GenericReference;
325
+ entityType: EntityType.Condition;
326
+ entityId: string;
327
+ }, {
328
+ id: string;
329
+ type: EntityType.GenericReference;
330
+ entityType: EntityType.Condition;
331
+ entityId: string;
332
+ }>, z.ZodObject<{
333
+ id: z.ZodString;
334
+ type: z.ZodLiteral<EntityType.GenericReference>;
335
+ entityId: z.ZodString;
336
+ entityType: z.ZodLiteral<EntityType.Search>;
337
+ }, "strip", z.ZodTypeAny, {
338
+ id: string;
339
+ type: EntityType.GenericReference;
340
+ entityType: EntityType.Search;
341
+ entityId: string;
342
+ }, {
343
+ id: string;
344
+ type: EntityType.GenericReference;
345
+ entityType: EntityType.Search;
346
+ entityId: string;
347
+ }>, z.ZodUnion<[z.ZodObject<{
348
+ id: z.ZodString;
349
+ type: z.ZodLiteral<EntityType.GenericReference>;
350
+ entityId: z.ZodString;
351
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ id: string;
354
+ type: EntityType.GenericReference;
355
+ entityType: EntityType.VariableDeclaration;
356
+ entityId: string;
357
+ }, {
358
+ id: string;
359
+ type: EntityType.GenericReference;
360
+ entityType: EntityType.VariableDeclaration;
361
+ entityId: string;
362
+ }>, z.ZodObject<{
363
+ id: z.ZodString;
364
+ type: z.ZodLiteral<EntityType.GenericReference>;
365
+ entityId: z.ZodString;
366
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
367
+ }, "strip", z.ZodTypeAny, {
368
+ id: string;
369
+ type: EntityType.GenericReference;
370
+ entityType: EntityType.VariableInstance;
371
+ entityId: string;
372
+ }, {
373
+ id: string;
374
+ type: EntityType.GenericReference;
375
+ entityType: EntityType.VariableInstance;
376
+ entityId: string;
377
+ }>]>, z.ZodObject<{
378
+ id: z.ZodString;
379
+ type: z.ZodLiteral<EntityType.GenericReference>;
380
+ entityId: z.ZodString;
381
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
382
+ }, "strip", z.ZodTypeAny, {
383
+ id: string;
384
+ type: EntityType.GenericReference;
385
+ entityType: EntityType.InternalCall;
386
+ entityId: string;
387
+ }, {
388
+ id: string;
389
+ type: EntityType.GenericReference;
390
+ entityType: EntityType.InternalCall;
391
+ entityId: string;
392
+ }>, z.ZodObject<{
393
+ id: z.ZodString;
394
+ type: z.ZodLiteral<EntityType.GenericReference>;
395
+ entityId: z.ZodString;
396
+ entityType: z.ZodLiteral<EntityType.Loop>;
397
+ }, "strip", z.ZodTypeAny, {
398
+ id: string;
399
+ type: EntityType.GenericReference;
400
+ entityType: EntityType.Loop;
401
+ entityId: string;
402
+ }, {
403
+ id: string;
404
+ type: EntityType.GenericReference;
405
+ entityType: EntityType.Loop;
406
+ entityId: string;
407
+ }>]>, z.ZodObject<{
408
+ id: z.ZodString;
409
+ type: z.ZodLiteral<EntityType.GenericReference>;
410
+ entityId: z.ZodString;
411
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
412
+ }, "strip", z.ZodTypeAny, {
413
+ id: string;
414
+ type: EntityType.GenericReference;
415
+ entityType: EntityType.ReturnStatement;
416
+ entityId: string;
417
+ }, {
418
+ id: string;
419
+ type: EntityType.GenericReference;
420
+ entityType: EntityType.ReturnStatement;
421
+ entityId: string;
422
+ }>, z.ZodObject<{
423
+ id: z.ZodString;
424
+ type: z.ZodLiteral<EntityType.GenericReference>;
425
+ entityId: z.ZodString;
426
+ entityType: z.ZodLiteral<EntityType.BreakStatement>;
427
+ }, "strip", z.ZodTypeAny, {
428
+ id: string;
429
+ type: EntityType.GenericReference;
430
+ entityType: EntityType.BreakStatement;
431
+ entityId: string;
432
+ }, {
433
+ id: string;
434
+ type: EntityType.GenericReference;
435
+ entityType: EntityType.BreakStatement;
436
+ entityId: string;
437
+ }>, z.ZodObject<{
438
+ id: z.ZodString;
439
+ type: z.ZodLiteral<EntityType.GenericReference>;
440
+ entityId: z.ZodString;
441
+ entityType: z.ZodLiteral<EntityType.ContinueStatement>;
442
+ }, "strip", z.ZodTypeAny, {
443
+ id: string;
444
+ type: EntityType.GenericReference;
445
+ entityType: EntityType.ContinueStatement;
446
+ entityId: string;
447
+ }, {
448
+ id: string;
449
+ type: EntityType.GenericReference;
450
+ entityType: EntityType.ContinueStatement;
451
+ entityId: string;
452
+ }>]>, "many">;
453
+ parent: z.ZodUnion<[z.ZodObject<{
454
+ entityType: z.ZodLiteral<EntityType.Project>;
455
+ entityId: z.ZodString;
456
+ id: z.ZodString;
457
+ type: z.ZodLiteral<EntityType.GenericReference>;
458
+ }, "strip", z.ZodTypeAny, {
459
+ id: string;
460
+ type: EntityType.GenericReference;
461
+ entityType: EntityType.Project;
462
+ entityId: string;
463
+ }, {
464
+ id: string;
465
+ type: EntityType.GenericReference;
466
+ entityType: EntityType.Project;
467
+ entityId: string;
468
+ }>, z.ZodObject<{
469
+ id: z.ZodString;
470
+ type: z.ZodLiteral<EntityType.GenericReference>;
471
+ entityId: z.ZodString;
472
+ entityType: z.ZodLiteral<EntityType.InstalledProject>;
473
+ }, "strip", z.ZodTypeAny, {
474
+ id: string;
475
+ type: EntityType.GenericReference;
476
+ entityType: EntityType.InstalledProject;
477
+ entityId: string;
478
+ }, {
479
+ id: string;
480
+ type: EntityType.GenericReference;
481
+ entityType: EntityType.InstalledProject;
482
+ entityId: string;
483
+ }>]>;
484
+ }>, "strip", z.ZodTypeAny, {
485
+ id: string;
486
+ type: EntityType.GlobalEvent;
487
+ name: string;
488
+ implements: {
489
+ id: string;
490
+ type: EntityType.ActionDescriptor;
491
+ name: string;
492
+ description: string | null;
493
+ parent: {
494
+ id: string;
495
+ type: EntityType.GenericReference;
496
+ entityType: EntityType.PrimitiveEntity;
497
+ entityId: string;
498
+ } | {
499
+ id: string;
500
+ type: EntityType.GenericReference;
501
+ entityType: EntityType.CustomEntity;
502
+ entityId: string;
503
+ } | {
504
+ id: string;
505
+ type: EntityType.GenericReference;
506
+ entityType: EntityType.BuiltInBaseEntity;
507
+ entityId: string;
508
+ } | {
509
+ id: string;
510
+ type: EntityType.GenericReference;
511
+ entityType: EntityType.Project;
512
+ entityId: string;
513
+ } | null;
514
+ version: number;
515
+ argumentsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
516
+ returnsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
517
+ fixedArguments: ({
518
+ type: EntityType.ValueDescriptor;
519
+ } | Record<string, any>)[];
520
+ fixedReturns: ({
521
+ type: EntityType.ValueDescriptor;
522
+ } | Record<string, any>)[];
523
+ dynamicArgumentTypes: Record<string, any> | {
524
+ type: EntityType.DataType;
525
+ } | null;
526
+ dynamicReturnTypes: Record<string, any> | {
527
+ type: EntityType.DataType;
528
+ } | null;
529
+ }[];
530
+ parent: {
531
+ id: string;
532
+ type: EntityType.GenericReference;
533
+ entityType: EntityType.Project;
534
+ entityId: string;
535
+ } | {
536
+ id: string;
537
+ type: EntityType.GenericReference;
538
+ entityType: EntityType.InstalledProject;
539
+ entityId: string;
540
+ };
541
+ inputs: (Record<string, any> | {
542
+ type: EntityType.ArgumentDeclaration;
543
+ })[];
544
+ collapsed: boolean;
545
+ returnStatements: (Record<string, any> | {
546
+ type: EntityType.ReturnStatement;
547
+ })[];
548
+ calls: ({
549
+ id: string;
550
+ type: EntityType.GenericReference;
551
+ entityType: EntityType.Loop;
552
+ entityId: string;
553
+ } | {
554
+ id: string;
555
+ type: EntityType.GenericReference;
556
+ entityType: EntityType.Operation;
557
+ entityId: string;
558
+ } | {
559
+ id: string;
560
+ type: EntityType.GenericReference;
561
+ entityType: EntityType.FunctionCall;
562
+ entityId: string;
563
+ } | {
564
+ id: string;
565
+ type: EntityType.GenericReference;
566
+ entityType: EntityType.Condition;
567
+ entityId: string;
568
+ } | {
569
+ id: string;
570
+ type: EntityType.GenericReference;
571
+ entityType: EntityType.Search;
572
+ entityId: string;
573
+ } | {
574
+ id: string;
575
+ type: EntityType.GenericReference;
576
+ entityType: EntityType.VariableDeclaration;
577
+ entityId: string;
578
+ } | {
579
+ id: string;
580
+ type: EntityType.GenericReference;
581
+ entityType: EntityType.VariableInstance;
582
+ entityId: string;
583
+ } | {
584
+ id: string;
585
+ type: EntityType.GenericReference;
586
+ entityType: EntityType.InternalCall;
587
+ entityId: string;
588
+ } | {
589
+ id: string;
590
+ type: EntityType.GenericReference;
591
+ entityType: EntityType.ReturnStatement;
592
+ entityId: string;
593
+ } | {
594
+ id: string;
595
+ type: EntityType.GenericReference;
596
+ entityType: EntityType.BreakStatement;
597
+ entityId: string;
598
+ } | {
599
+ id: string;
600
+ type: EntityType.GenericReference;
601
+ entityType: EntityType.ContinueStatement;
602
+ entityId: string;
603
+ })[];
604
+ }, {
605
+ id: string;
606
+ type: EntityType.GlobalEvent;
607
+ name: string;
608
+ implements: {
609
+ id: string;
610
+ type: EntityType.ActionDescriptor;
611
+ name: string;
612
+ description: string | null;
613
+ parent: {
614
+ id: string;
615
+ type: EntityType.GenericReference;
616
+ entityType: EntityType.PrimitiveEntity;
617
+ entityId: string;
618
+ } | {
619
+ id: string;
620
+ type: EntityType.GenericReference;
621
+ entityType: EntityType.CustomEntity;
622
+ entityId: string;
623
+ } | {
624
+ id: string;
625
+ type: EntityType.GenericReference;
626
+ entityType: EntityType.BuiltInBaseEntity;
627
+ entityId: string;
628
+ } | {
629
+ id: string;
630
+ type: EntityType.GenericReference;
631
+ entityType: EntityType.Project;
632
+ entityId: string;
633
+ } | null;
634
+ version: number;
635
+ argumentsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
636
+ returnsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
637
+ fixedArguments: ({
638
+ type: EntityType.ValueDescriptor;
639
+ } | Record<string, any>)[];
640
+ fixedReturns: ({
641
+ type: EntityType.ValueDescriptor;
642
+ } | Record<string, any>)[];
643
+ dynamicArgumentTypes: Record<string, any> | {
644
+ type: EntityType.DataType;
645
+ } | null;
646
+ dynamicReturnTypes: Record<string, any> | {
647
+ type: EntityType.DataType;
648
+ } | null;
649
+ }[];
650
+ parent: {
651
+ id: string;
652
+ type: EntityType.GenericReference;
653
+ entityType: EntityType.Project;
654
+ entityId: string;
655
+ } | {
656
+ id: string;
657
+ type: EntityType.GenericReference;
658
+ entityType: EntityType.InstalledProject;
659
+ entityId: string;
660
+ };
661
+ inputs: (Record<string, any> | {
662
+ type: EntityType.ArgumentDeclaration;
663
+ })[];
664
+ collapsed: boolean;
665
+ returnStatements: (Record<string, any> | {
666
+ type: EntityType.ReturnStatement;
667
+ })[];
668
+ calls: ({
669
+ id: string;
670
+ type: EntityType.GenericReference;
671
+ entityType: EntityType.Loop;
672
+ entityId: string;
673
+ } | {
674
+ id: string;
675
+ type: EntityType.GenericReference;
676
+ entityType: EntityType.Operation;
677
+ entityId: string;
678
+ } | {
679
+ id: string;
680
+ type: EntityType.GenericReference;
681
+ entityType: EntityType.FunctionCall;
682
+ entityId: string;
683
+ } | {
684
+ id: string;
685
+ type: EntityType.GenericReference;
686
+ entityType: EntityType.Condition;
687
+ entityId: string;
688
+ } | {
689
+ id: string;
690
+ type: EntityType.GenericReference;
691
+ entityType: EntityType.Search;
692
+ entityId: string;
693
+ } | {
694
+ id: string;
695
+ type: EntityType.GenericReference;
696
+ entityType: EntityType.VariableDeclaration;
697
+ entityId: string;
698
+ } | {
699
+ id: string;
700
+ type: EntityType.GenericReference;
701
+ entityType: EntityType.VariableInstance;
702
+ entityId: string;
703
+ } | {
704
+ id: string;
705
+ type: EntityType.GenericReference;
706
+ entityType: EntityType.InternalCall;
707
+ entityId: string;
708
+ } | {
709
+ id: string;
710
+ type: EntityType.GenericReference;
711
+ entityType: EntityType.ReturnStatement;
712
+ entityId: string;
713
+ } | {
714
+ id: string;
715
+ type: EntityType.GenericReference;
716
+ entityType: EntityType.BreakStatement;
717
+ entityId: string;
718
+ } | {
719
+ id: string;
720
+ type: EntityType.GenericReference;
721
+ entityType: EntityType.ContinueStatement;
722
+ entityId: string;
723
+ })[];
724
+ }>;
725
+ export declare function getGlobalEventSchema(): z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
726
+ id: z.ZodString;
727
+ type: z.ZodLiteral<EntityType.GlobalEvent>;
728
+ name: z.ZodString;
729
+ collapsed: z.ZodBoolean;
730
+ }, {
731
+ version: z.ZodNumber;
732
+ x: z.ZodNumber;
733
+ y: z.ZodNumber;
734
+ }>, z.objectUtil.extendShape<{
735
+ id: z.ZodString;
736
+ type: z.ZodLiteral<EntityType.GlobalEvent>;
737
+ name: z.ZodString;
738
+ collapsed: z.ZodBoolean;
739
+ }, {
740
+ returnStatements: z.ZodArray<z.ZodUnion<[z.ZodObject<{
741
+ type: z.ZodLiteral<EntityType.ReturnStatement>;
742
+ }, "strip", z.ZodTypeAny, {
743
+ type: EntityType.ReturnStatement;
744
+ }, {
745
+ type: EntityType.ReturnStatement;
746
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
747
+ implements: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
748
+ id: z.ZodString;
749
+ type: z.ZodLiteral<EntityType.ActionDescriptor>;
750
+ name: z.ZodString;
751
+ description: z.ZodNullable<z.ZodString>;
752
+ argumentsType: z.ZodEnum<[import("src/definitions").ActionDescriptorValuesType.Dynamic, import("src/definitions").ActionDescriptorValuesType.Fixed, import("src/definitions").ActionDescriptorValuesType.None]>;
753
+ returnsType: z.ZodEnum<[import("src/definitions").ActionDescriptorValuesType.Dynamic, import("src/definitions").ActionDescriptorValuesType.Fixed, import("src/definitions").ActionDescriptorValuesType.None]>;
754
+ }, {
755
+ version: z.ZodNumber;
756
+ }>, {
757
+ fixedArguments: z.ZodArray<z.ZodUnion<[z.ZodObject<{
758
+ type: z.ZodLiteral<EntityType.ValueDescriptor>;
759
+ }, "strip", z.ZodTypeAny, {
760
+ type: EntityType.ValueDescriptor;
761
+ }, {
762
+ type: EntityType.ValueDescriptor;
763
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
764
+ fixedReturns: z.ZodArray<z.ZodUnion<[z.ZodObject<{
765
+ type: z.ZodLiteral<EntityType.ValueDescriptor>;
766
+ }, "strip", z.ZodTypeAny, {
767
+ type: EntityType.ValueDescriptor;
768
+ }, {
769
+ type: EntityType.ValueDescriptor;
770
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
771
+ dynamicArgumentTypes: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
772
+ type: z.ZodLiteral<EntityType.DataType>;
773
+ }, "strip", z.ZodTypeAny, {
774
+ type: EntityType.DataType;
775
+ }, {
776
+ type: EntityType.DataType;
777
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
778
+ dynamicReturnTypes: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
779
+ type: z.ZodLiteral<EntityType.DataType>;
780
+ }, "strip", z.ZodTypeAny, {
781
+ type: EntityType.DataType;
782
+ }, {
783
+ type: EntityType.DataType;
784
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
785
+ parent: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
786
+ entityType: z.ZodLiteral<EntityType.Project>;
787
+ entityId: z.ZodString;
788
+ id: z.ZodString;
789
+ type: z.ZodLiteral<EntityType.GenericReference>;
790
+ }, "strip", z.ZodTypeAny, {
791
+ id: string;
792
+ type: EntityType.GenericReference;
793
+ entityType: EntityType.Project;
794
+ entityId: string;
795
+ }, {
796
+ id: string;
797
+ type: EntityType.GenericReference;
798
+ entityType: EntityType.Project;
799
+ entityId: string;
800
+ }>, z.ZodObject<{
801
+ id: z.ZodString;
802
+ type: z.ZodLiteral<EntityType.GenericReference>;
803
+ entityId: z.ZodString;
804
+ entityType: z.ZodLiteral<EntityType.CustomEntity>;
805
+ }, "strip", z.ZodTypeAny, {
806
+ id: string;
807
+ type: EntityType.GenericReference;
808
+ entityType: EntityType.CustomEntity;
809
+ entityId: string;
810
+ }, {
811
+ id: string;
812
+ type: EntityType.GenericReference;
813
+ entityType: EntityType.CustomEntity;
814
+ entityId: string;
815
+ }>, z.ZodObject<{
816
+ id: z.ZodString;
817
+ type: z.ZodLiteral<EntityType.GenericReference>;
818
+ entityId: z.ZodString;
819
+ entityType: z.ZodLiteral<EntityType.BuiltInBaseEntity>;
820
+ }, "strip", z.ZodTypeAny, {
821
+ id: string;
822
+ type: EntityType.GenericReference;
823
+ entityType: EntityType.BuiltInBaseEntity;
824
+ entityId: string;
825
+ }, {
826
+ id: string;
827
+ type: EntityType.GenericReference;
828
+ entityType: EntityType.BuiltInBaseEntity;
829
+ entityId: string;
830
+ }>, z.ZodObject<{
831
+ id: z.ZodString;
832
+ type: z.ZodLiteral<EntityType.GenericReference>;
833
+ entityId: z.ZodString;
834
+ entityType: z.ZodLiteral<EntityType.PrimitiveEntity>;
835
+ }, "strip", z.ZodTypeAny, {
836
+ id: string;
837
+ type: EntityType.GenericReference;
838
+ entityType: EntityType.PrimitiveEntity;
839
+ entityId: string;
840
+ }, {
841
+ id: string;
842
+ type: EntityType.GenericReference;
843
+ entityType: EntityType.PrimitiveEntity;
844
+ entityId: string;
845
+ }>]>>;
846
+ }>, "strip", z.ZodTypeAny, {
847
+ id: string;
848
+ type: EntityType.ActionDescriptor;
849
+ name: string;
850
+ description: string | null;
851
+ parent: {
852
+ id: string;
853
+ type: EntityType.GenericReference;
854
+ entityType: EntityType.PrimitiveEntity;
855
+ entityId: string;
856
+ } | {
857
+ id: string;
858
+ type: EntityType.GenericReference;
859
+ entityType: EntityType.CustomEntity;
860
+ entityId: string;
861
+ } | {
862
+ id: string;
863
+ type: EntityType.GenericReference;
864
+ entityType: EntityType.BuiltInBaseEntity;
865
+ entityId: string;
866
+ } | {
867
+ id: string;
868
+ type: EntityType.GenericReference;
869
+ entityType: EntityType.Project;
870
+ entityId: string;
871
+ } | null;
872
+ version: number;
873
+ argumentsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
874
+ returnsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
875
+ fixedArguments: ({
876
+ type: EntityType.ValueDescriptor;
877
+ } | Record<string, any>)[];
878
+ fixedReturns: ({
879
+ type: EntityType.ValueDescriptor;
880
+ } | Record<string, any>)[];
881
+ dynamicArgumentTypes: Record<string, any> | {
882
+ type: EntityType.DataType;
883
+ } | null;
884
+ dynamicReturnTypes: Record<string, any> | {
885
+ type: EntityType.DataType;
886
+ } | null;
887
+ }, {
888
+ id: string;
889
+ type: EntityType.ActionDescriptor;
890
+ name: string;
891
+ description: string | null;
892
+ parent: {
893
+ id: string;
894
+ type: EntityType.GenericReference;
895
+ entityType: EntityType.PrimitiveEntity;
896
+ entityId: string;
897
+ } | {
898
+ id: string;
899
+ type: EntityType.GenericReference;
900
+ entityType: EntityType.CustomEntity;
901
+ entityId: string;
902
+ } | {
903
+ id: string;
904
+ type: EntityType.GenericReference;
905
+ entityType: EntityType.BuiltInBaseEntity;
906
+ entityId: string;
907
+ } | {
908
+ id: string;
909
+ type: EntityType.GenericReference;
910
+ entityType: EntityType.Project;
911
+ entityId: string;
912
+ } | null;
913
+ version: number;
914
+ argumentsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
915
+ returnsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
916
+ fixedArguments: ({
917
+ type: EntityType.ValueDescriptor;
918
+ } | Record<string, any>)[];
919
+ fixedReturns: ({
920
+ type: EntityType.ValueDescriptor;
921
+ } | Record<string, any>)[];
922
+ dynamicArgumentTypes: Record<string, any> | {
923
+ type: EntityType.DataType;
924
+ } | null;
925
+ dynamicReturnTypes: Record<string, any> | {
926
+ type: EntityType.DataType;
927
+ } | null;
928
+ }>, "many">;
929
+ inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
930
+ type: z.ZodLiteral<EntityType.ArgumentDeclaration>;
931
+ }, "strip", z.ZodTypeAny, {
932
+ type: EntityType.ArgumentDeclaration;
933
+ }, {
934
+ type: EntityType.ArgumentDeclaration;
935
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
936
+ calls: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
937
+ id: z.ZodString;
938
+ type: z.ZodLiteral<EntityType.GenericReference>;
939
+ entityId: z.ZodString;
940
+ entityType: z.ZodLiteral<EntityType.Operation>;
941
+ }, "strip", z.ZodTypeAny, {
942
+ id: string;
943
+ type: EntityType.GenericReference;
944
+ entityType: EntityType.Operation;
945
+ entityId: string;
946
+ }, {
947
+ id: string;
948
+ type: EntityType.GenericReference;
949
+ entityType: EntityType.Operation;
950
+ entityId: string;
951
+ }>, z.ZodObject<{
952
+ id: z.ZodString;
953
+ type: z.ZodLiteral<EntityType.GenericReference>;
954
+ entityId: z.ZodString;
955
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
956
+ }, "strip", z.ZodTypeAny, {
957
+ id: string;
958
+ type: EntityType.GenericReference;
959
+ entityType: EntityType.FunctionCall;
960
+ entityId: string;
961
+ }, {
962
+ id: string;
963
+ type: EntityType.GenericReference;
964
+ entityType: EntityType.FunctionCall;
965
+ entityId: string;
966
+ }>, z.ZodObject<{
967
+ id: z.ZodString;
968
+ type: z.ZodLiteral<EntityType.GenericReference>;
969
+ entityId: z.ZodString;
970
+ entityType: z.ZodLiteral<EntityType.Condition>;
971
+ }, "strip", z.ZodTypeAny, {
972
+ id: string;
973
+ type: EntityType.GenericReference;
974
+ entityType: EntityType.Condition;
975
+ entityId: string;
976
+ }, {
977
+ id: string;
978
+ type: EntityType.GenericReference;
979
+ entityType: EntityType.Condition;
980
+ entityId: string;
981
+ }>, z.ZodObject<{
982
+ id: z.ZodString;
983
+ type: z.ZodLiteral<EntityType.GenericReference>;
984
+ entityId: z.ZodString;
985
+ entityType: z.ZodLiteral<EntityType.Search>;
986
+ }, "strip", z.ZodTypeAny, {
987
+ id: string;
988
+ type: EntityType.GenericReference;
989
+ entityType: EntityType.Search;
990
+ entityId: string;
991
+ }, {
992
+ id: string;
993
+ type: EntityType.GenericReference;
994
+ entityType: EntityType.Search;
995
+ entityId: string;
996
+ }>, z.ZodUnion<[z.ZodObject<{
997
+ id: z.ZodString;
998
+ type: z.ZodLiteral<EntityType.GenericReference>;
999
+ entityId: z.ZodString;
1000
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
1001
+ }, "strip", z.ZodTypeAny, {
1002
+ id: string;
1003
+ type: EntityType.GenericReference;
1004
+ entityType: EntityType.VariableDeclaration;
1005
+ entityId: string;
1006
+ }, {
1007
+ id: string;
1008
+ type: EntityType.GenericReference;
1009
+ entityType: EntityType.VariableDeclaration;
1010
+ entityId: string;
1011
+ }>, z.ZodObject<{
1012
+ id: z.ZodString;
1013
+ type: z.ZodLiteral<EntityType.GenericReference>;
1014
+ entityId: z.ZodString;
1015
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ id: string;
1018
+ type: EntityType.GenericReference;
1019
+ entityType: EntityType.VariableInstance;
1020
+ entityId: string;
1021
+ }, {
1022
+ id: string;
1023
+ type: EntityType.GenericReference;
1024
+ entityType: EntityType.VariableInstance;
1025
+ entityId: string;
1026
+ }>]>, z.ZodObject<{
1027
+ id: z.ZodString;
1028
+ type: z.ZodLiteral<EntityType.GenericReference>;
1029
+ entityId: z.ZodString;
1030
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
1031
+ }, "strip", z.ZodTypeAny, {
1032
+ id: string;
1033
+ type: EntityType.GenericReference;
1034
+ entityType: EntityType.InternalCall;
1035
+ entityId: string;
1036
+ }, {
1037
+ id: string;
1038
+ type: EntityType.GenericReference;
1039
+ entityType: EntityType.InternalCall;
1040
+ entityId: string;
1041
+ }>, z.ZodObject<{
1042
+ id: z.ZodString;
1043
+ type: z.ZodLiteral<EntityType.GenericReference>;
1044
+ entityId: z.ZodString;
1045
+ entityType: z.ZodLiteral<EntityType.Loop>;
1046
+ }, "strip", z.ZodTypeAny, {
1047
+ id: string;
1048
+ type: EntityType.GenericReference;
1049
+ entityType: EntityType.Loop;
1050
+ entityId: string;
1051
+ }, {
1052
+ id: string;
1053
+ type: EntityType.GenericReference;
1054
+ entityType: EntityType.Loop;
1055
+ entityId: string;
1056
+ }>]>, z.ZodObject<{
1057
+ id: z.ZodString;
1058
+ type: z.ZodLiteral<EntityType.GenericReference>;
1059
+ entityId: z.ZodString;
1060
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
1061
+ }, "strip", z.ZodTypeAny, {
1062
+ id: string;
1063
+ type: EntityType.GenericReference;
1064
+ entityType: EntityType.ReturnStatement;
1065
+ entityId: string;
1066
+ }, {
1067
+ id: string;
1068
+ type: EntityType.GenericReference;
1069
+ entityType: EntityType.ReturnStatement;
1070
+ entityId: string;
1071
+ }>, z.ZodObject<{
1072
+ id: z.ZodString;
1073
+ type: z.ZodLiteral<EntityType.GenericReference>;
1074
+ entityId: z.ZodString;
1075
+ entityType: z.ZodLiteral<EntityType.BreakStatement>;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ id: string;
1078
+ type: EntityType.GenericReference;
1079
+ entityType: EntityType.BreakStatement;
1080
+ entityId: string;
1081
+ }, {
1082
+ id: string;
1083
+ type: EntityType.GenericReference;
1084
+ entityType: EntityType.BreakStatement;
1085
+ entityId: string;
1086
+ }>, z.ZodObject<{
1087
+ id: z.ZodString;
1088
+ type: z.ZodLiteral<EntityType.GenericReference>;
1089
+ entityId: z.ZodString;
1090
+ entityType: z.ZodLiteral<EntityType.ContinueStatement>;
1091
+ }, "strip", z.ZodTypeAny, {
1092
+ id: string;
1093
+ type: EntityType.GenericReference;
1094
+ entityType: EntityType.ContinueStatement;
1095
+ entityId: string;
1096
+ }, {
1097
+ id: string;
1098
+ type: EntityType.GenericReference;
1099
+ entityType: EntityType.ContinueStatement;
1100
+ entityId: string;
1101
+ }>]>, "many">;
1102
+ parent: z.ZodUnion<[z.ZodObject<{
1103
+ entityType: z.ZodLiteral<EntityType.Project>;
1104
+ entityId: z.ZodString;
1105
+ id: z.ZodString;
1106
+ type: z.ZodLiteral<EntityType.GenericReference>;
1107
+ }, "strip", z.ZodTypeAny, {
1108
+ id: string;
1109
+ type: EntityType.GenericReference;
1110
+ entityType: EntityType.Project;
1111
+ entityId: string;
1112
+ }, {
1113
+ id: string;
1114
+ type: EntityType.GenericReference;
1115
+ entityType: EntityType.Project;
1116
+ entityId: string;
1117
+ }>, z.ZodObject<{
1118
+ id: z.ZodString;
1119
+ type: z.ZodLiteral<EntityType.GenericReference>;
1120
+ entityId: z.ZodString;
1121
+ entityType: z.ZodLiteral<EntityType.InstalledProject>;
1122
+ }, "strip", z.ZodTypeAny, {
1123
+ id: string;
1124
+ type: EntityType.GenericReference;
1125
+ entityType: EntityType.InstalledProject;
1126
+ entityId: string;
1127
+ }, {
1128
+ id: string;
1129
+ type: EntityType.GenericReference;
1130
+ entityType: EntityType.InstalledProject;
1131
+ entityId: string;
1132
+ }>]>;
1133
+ }>>, "strip", z.ZodTypeAny, {
1134
+ id: string;
1135
+ type: EntityType.GlobalEvent;
1136
+ name: string;
1137
+ implements: {
1138
+ id: string;
1139
+ type: EntityType.ActionDescriptor;
1140
+ name: string;
1141
+ description: string | null;
1142
+ parent: {
1143
+ id: string;
1144
+ type: EntityType.GenericReference;
1145
+ entityType: EntityType.PrimitiveEntity;
1146
+ entityId: string;
1147
+ } | {
1148
+ id: string;
1149
+ type: EntityType.GenericReference;
1150
+ entityType: EntityType.CustomEntity;
1151
+ entityId: string;
1152
+ } | {
1153
+ id: string;
1154
+ type: EntityType.GenericReference;
1155
+ entityType: EntityType.BuiltInBaseEntity;
1156
+ entityId: string;
1157
+ } | {
1158
+ id: string;
1159
+ type: EntityType.GenericReference;
1160
+ entityType: EntityType.Project;
1161
+ entityId: string;
1162
+ } | null;
1163
+ version: number;
1164
+ argumentsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
1165
+ returnsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
1166
+ fixedArguments: ({
1167
+ type: EntityType.ValueDescriptor;
1168
+ } | Record<string, any>)[];
1169
+ fixedReturns: ({
1170
+ type: EntityType.ValueDescriptor;
1171
+ } | Record<string, any>)[];
1172
+ dynamicArgumentTypes: Record<string, any> | {
1173
+ type: EntityType.DataType;
1174
+ } | null;
1175
+ dynamicReturnTypes: Record<string, any> | {
1176
+ type: EntityType.DataType;
1177
+ } | null;
1178
+ }[];
1179
+ parent: {
1180
+ id: string;
1181
+ type: EntityType.GenericReference;
1182
+ entityType: EntityType.Project;
1183
+ entityId: string;
1184
+ } | {
1185
+ id: string;
1186
+ type: EntityType.GenericReference;
1187
+ entityType: EntityType.InstalledProject;
1188
+ entityId: string;
1189
+ };
1190
+ version: number;
1191
+ x: number;
1192
+ y: number;
1193
+ inputs: (Record<string, any> | {
1194
+ type: EntityType.ArgumentDeclaration;
1195
+ })[];
1196
+ collapsed: boolean;
1197
+ returnStatements: (Record<string, any> | {
1198
+ type: EntityType.ReturnStatement;
1199
+ })[];
1200
+ calls: ({
1201
+ id: string;
1202
+ type: EntityType.GenericReference;
1203
+ entityType: EntityType.Loop;
1204
+ entityId: string;
1205
+ } | {
1206
+ id: string;
1207
+ type: EntityType.GenericReference;
1208
+ entityType: EntityType.Operation;
1209
+ entityId: string;
1210
+ } | {
1211
+ id: string;
1212
+ type: EntityType.GenericReference;
1213
+ entityType: EntityType.FunctionCall;
1214
+ entityId: string;
1215
+ } | {
1216
+ id: string;
1217
+ type: EntityType.GenericReference;
1218
+ entityType: EntityType.Condition;
1219
+ entityId: string;
1220
+ } | {
1221
+ id: string;
1222
+ type: EntityType.GenericReference;
1223
+ entityType: EntityType.Search;
1224
+ entityId: string;
1225
+ } | {
1226
+ id: string;
1227
+ type: EntityType.GenericReference;
1228
+ entityType: EntityType.VariableDeclaration;
1229
+ entityId: string;
1230
+ } | {
1231
+ id: string;
1232
+ type: EntityType.GenericReference;
1233
+ entityType: EntityType.VariableInstance;
1234
+ entityId: string;
1235
+ } | {
1236
+ id: string;
1237
+ type: EntityType.GenericReference;
1238
+ entityType: EntityType.InternalCall;
1239
+ entityId: string;
1240
+ } | {
1241
+ id: string;
1242
+ type: EntityType.GenericReference;
1243
+ entityType: EntityType.ReturnStatement;
1244
+ entityId: string;
1245
+ } | {
1246
+ id: string;
1247
+ type: EntityType.GenericReference;
1248
+ entityType: EntityType.BreakStatement;
1249
+ entityId: string;
1250
+ } | {
1251
+ id: string;
1252
+ type: EntityType.GenericReference;
1253
+ entityType: EntityType.ContinueStatement;
1254
+ entityId: string;
1255
+ })[];
1256
+ }, {
1257
+ id: string;
1258
+ type: EntityType.GlobalEvent;
1259
+ name: string;
1260
+ implements: {
1261
+ id: string;
1262
+ type: EntityType.ActionDescriptor;
1263
+ name: string;
1264
+ description: string | null;
1265
+ parent: {
1266
+ id: string;
1267
+ type: EntityType.GenericReference;
1268
+ entityType: EntityType.PrimitiveEntity;
1269
+ entityId: string;
1270
+ } | {
1271
+ id: string;
1272
+ type: EntityType.GenericReference;
1273
+ entityType: EntityType.CustomEntity;
1274
+ entityId: string;
1275
+ } | {
1276
+ id: string;
1277
+ type: EntityType.GenericReference;
1278
+ entityType: EntityType.BuiltInBaseEntity;
1279
+ entityId: string;
1280
+ } | {
1281
+ id: string;
1282
+ type: EntityType.GenericReference;
1283
+ entityType: EntityType.Project;
1284
+ entityId: string;
1285
+ } | null;
1286
+ version: number;
1287
+ argumentsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
1288
+ returnsType: import('../../../../../../../../../../src/definitions').ActionDescriptorValuesType;
1289
+ fixedArguments: ({
1290
+ type: EntityType.ValueDescriptor;
1291
+ } | Record<string, any>)[];
1292
+ fixedReturns: ({
1293
+ type: EntityType.ValueDescriptor;
1294
+ } | Record<string, any>)[];
1295
+ dynamicArgumentTypes: Record<string, any> | {
1296
+ type: EntityType.DataType;
1297
+ } | null;
1298
+ dynamicReturnTypes: Record<string, any> | {
1299
+ type: EntityType.DataType;
1300
+ } | null;
1301
+ }[];
1302
+ parent: {
1303
+ id: string;
1304
+ type: EntityType.GenericReference;
1305
+ entityType: EntityType.Project;
1306
+ entityId: string;
1307
+ } | {
1308
+ id: string;
1309
+ type: EntityType.GenericReference;
1310
+ entityType: EntityType.InstalledProject;
1311
+ entityId: string;
1312
+ };
1313
+ version: number;
1314
+ x: number;
1315
+ y: number;
1316
+ inputs: (Record<string, any> | {
1317
+ type: EntityType.ArgumentDeclaration;
1318
+ })[];
1319
+ collapsed: boolean;
1320
+ returnStatements: (Record<string, any> | {
1321
+ type: EntityType.ReturnStatement;
1322
+ })[];
1323
+ calls: ({
1324
+ id: string;
1325
+ type: EntityType.GenericReference;
1326
+ entityType: EntityType.Loop;
1327
+ entityId: string;
1328
+ } | {
1329
+ id: string;
1330
+ type: EntityType.GenericReference;
1331
+ entityType: EntityType.Operation;
1332
+ entityId: string;
1333
+ } | {
1334
+ id: string;
1335
+ type: EntityType.GenericReference;
1336
+ entityType: EntityType.FunctionCall;
1337
+ entityId: string;
1338
+ } | {
1339
+ id: string;
1340
+ type: EntityType.GenericReference;
1341
+ entityType: EntityType.Condition;
1342
+ entityId: string;
1343
+ } | {
1344
+ id: string;
1345
+ type: EntityType.GenericReference;
1346
+ entityType: EntityType.Search;
1347
+ entityId: string;
1348
+ } | {
1349
+ id: string;
1350
+ type: EntityType.GenericReference;
1351
+ entityType: EntityType.VariableDeclaration;
1352
+ entityId: string;
1353
+ } | {
1354
+ id: string;
1355
+ type: EntityType.GenericReference;
1356
+ entityType: EntityType.VariableInstance;
1357
+ entityId: string;
1358
+ } | {
1359
+ id: string;
1360
+ type: EntityType.GenericReference;
1361
+ entityType: EntityType.InternalCall;
1362
+ entityId: string;
1363
+ } | {
1364
+ id: string;
1365
+ type: EntityType.GenericReference;
1366
+ entityType: EntityType.ReturnStatement;
1367
+ entityId: string;
1368
+ } | {
1369
+ id: string;
1370
+ type: EntityType.GenericReference;
1371
+ entityType: EntityType.BreakStatement;
1372
+ entityId: string;
1373
+ } | {
1374
+ id: string;
1375
+ type: EntityType.GenericReference;
1376
+ entityType: EntityType.ContinueStatement;
1377
+ entityId: string;
1378
+ })[];
1379
+ }>;