@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,2433 @@
1
+ import { EntityType } from '../../../../../../../../../../src/definitions';
2
+ import { z } from 'zod';
3
+
4
+ export declare function getInternalCallTypeSchema(): z.ZodUnion<[z.ZodObject<{
5
+ type: z.ZodLiteral<EntityType.InternalCall>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ type: EntityType.InternalCall;
8
+ }, {
9
+ type: EntityType.InternalCall;
10
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>;
11
+ export declare function getInternalCallReferenceSchema(): z.ZodObject<{
12
+ id: z.ZodString;
13
+ type: z.ZodLiteral<EntityType.GenericReference>;
14
+ entityId: z.ZodString;
15
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ id: string;
18
+ type: EntityType.GenericReference;
19
+ entityType: EntityType.InternalCall;
20
+ entityId: string;
21
+ }, {
22
+ id: string;
23
+ type: EntityType.GenericReference;
24
+ entityType: EntityType.InternalCall;
25
+ entityId: string;
26
+ }>;
27
+ export declare function getInternalCallBaseSchema(): z.ZodObject<{
28
+ id: z.ZodString;
29
+ type: z.ZodLiteral<EntityType.InternalCall>;
30
+ index: z.ZodNumber;
31
+ }, "strip", z.ZodTypeAny, {
32
+ id: string;
33
+ type: EntityType.InternalCall;
34
+ index: number;
35
+ }, {
36
+ id: string;
37
+ type: EntityType.InternalCall;
38
+ index: number;
39
+ }>;
40
+ export declare function getInternalCallMetaSchema(): z.ZodObject<z.objectUtil.extendShape<{
41
+ id: z.ZodString;
42
+ type: z.ZodLiteral<EntityType.InternalCall>;
43
+ index: z.ZodNumber;
44
+ }, {
45
+ version: z.ZodNumber;
46
+ index: z.ZodNumber;
47
+ }>, "strip", z.ZodTypeAny, {
48
+ id: string;
49
+ type: EntityType.InternalCall;
50
+ version: number;
51
+ index: number;
52
+ }, {
53
+ id: string;
54
+ type: EntityType.InternalCall;
55
+ version: number;
56
+ index: number;
57
+ }>;
58
+ export declare function getInternalCallGenerationTargetSchema(): z.ZodObject<z.objectUtil.extendShape<{
59
+ id: z.ZodString;
60
+ type: z.ZodLiteral<EntityType.InternalCall>;
61
+ index: z.ZodNumber;
62
+ }, {
63
+ declaration: z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodObject<{
64
+ type: z.ZodLiteral<EntityType.FunctionDeclaration>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ type: EntityType.FunctionDeclaration;
67
+ }, {
68
+ type: EntityType.FunctionDeclaration;
69
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>;
70
+ }>, "strip", z.ZodTypeAny, {
71
+ id: string;
72
+ type: EntityType.InternalCall;
73
+ declaration: string | Record<string, any> | {
74
+ type: EntityType.FunctionDeclaration;
75
+ };
76
+ index: number;
77
+ }, {
78
+ id: string;
79
+ type: EntityType.InternalCall;
80
+ declaration: string | Record<string, any> | {
81
+ type: EntityType.FunctionDeclaration;
82
+ };
83
+ index: number;
84
+ }>;
85
+ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
86
+ successCalls: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
87
+ id: z.ZodString;
88
+ type: z.ZodLiteral<EntityType.GenericReference>;
89
+ entityId: z.ZodString;
90
+ entityType: z.ZodLiteral<EntityType.Operation>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ id: string;
93
+ type: EntityType.GenericReference;
94
+ entityType: EntityType.Operation;
95
+ entityId: string;
96
+ }, {
97
+ id: string;
98
+ type: EntityType.GenericReference;
99
+ entityType: EntityType.Operation;
100
+ entityId: string;
101
+ }>, z.ZodObject<{
102
+ id: z.ZodString;
103
+ type: z.ZodLiteral<EntityType.GenericReference>;
104
+ entityId: z.ZodString;
105
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ id: string;
108
+ type: EntityType.GenericReference;
109
+ entityType: EntityType.FunctionCall;
110
+ entityId: string;
111
+ }, {
112
+ id: string;
113
+ type: EntityType.GenericReference;
114
+ entityType: EntityType.FunctionCall;
115
+ entityId: string;
116
+ }>, z.ZodObject<{
117
+ id: z.ZodString;
118
+ type: z.ZodLiteral<EntityType.GenericReference>;
119
+ entityId: z.ZodString;
120
+ entityType: z.ZodLiteral<EntityType.Condition>;
121
+ }, "strip", z.ZodTypeAny, {
122
+ id: string;
123
+ type: EntityType.GenericReference;
124
+ entityType: EntityType.Condition;
125
+ entityId: string;
126
+ }, {
127
+ id: string;
128
+ type: EntityType.GenericReference;
129
+ entityType: EntityType.Condition;
130
+ entityId: string;
131
+ }>, z.ZodObject<{
132
+ id: z.ZodString;
133
+ type: z.ZodLiteral<EntityType.GenericReference>;
134
+ entityId: z.ZodString;
135
+ entityType: z.ZodLiteral<EntityType.Search>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ id: string;
138
+ type: EntityType.GenericReference;
139
+ entityType: EntityType.Search;
140
+ entityId: string;
141
+ }, {
142
+ id: string;
143
+ type: EntityType.GenericReference;
144
+ entityType: EntityType.Search;
145
+ entityId: string;
146
+ }>, z.ZodUnion<[z.ZodObject<{
147
+ id: z.ZodString;
148
+ type: z.ZodLiteral<EntityType.GenericReference>;
149
+ entityId: z.ZodString;
150
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
151
+ }, "strip", z.ZodTypeAny, {
152
+ id: string;
153
+ type: EntityType.GenericReference;
154
+ entityType: EntityType.VariableDeclaration;
155
+ entityId: string;
156
+ }, {
157
+ id: string;
158
+ type: EntityType.GenericReference;
159
+ entityType: EntityType.VariableDeclaration;
160
+ entityId: string;
161
+ }>, z.ZodObject<{
162
+ id: z.ZodString;
163
+ type: z.ZodLiteral<EntityType.GenericReference>;
164
+ entityId: z.ZodString;
165
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
166
+ }, "strip", z.ZodTypeAny, {
167
+ id: string;
168
+ type: EntityType.GenericReference;
169
+ entityType: EntityType.VariableInstance;
170
+ entityId: string;
171
+ }, {
172
+ id: string;
173
+ type: EntityType.GenericReference;
174
+ entityType: EntityType.VariableInstance;
175
+ entityId: string;
176
+ }>]>, z.ZodObject<{
177
+ id: z.ZodString;
178
+ type: z.ZodLiteral<EntityType.GenericReference>;
179
+ entityId: z.ZodString;
180
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
181
+ }, "strip", z.ZodTypeAny, {
182
+ id: string;
183
+ type: EntityType.GenericReference;
184
+ entityType: EntityType.InternalCall;
185
+ entityId: string;
186
+ }, {
187
+ id: string;
188
+ type: EntityType.GenericReference;
189
+ entityType: EntityType.InternalCall;
190
+ entityId: string;
191
+ }>, z.ZodObject<{
192
+ id: z.ZodString;
193
+ type: z.ZodLiteral<EntityType.GenericReference>;
194
+ entityId: z.ZodString;
195
+ entityType: z.ZodLiteral<EntityType.Loop>;
196
+ }, "strip", z.ZodTypeAny, {
197
+ id: string;
198
+ type: EntityType.GenericReference;
199
+ entityType: EntityType.Loop;
200
+ entityId: string;
201
+ }, {
202
+ id: string;
203
+ type: EntityType.GenericReference;
204
+ entityType: EntityType.Loop;
205
+ entityId: string;
206
+ }>]>, z.ZodObject<{
207
+ id: z.ZodString;
208
+ type: z.ZodLiteral<EntityType.GenericReference>;
209
+ entityId: z.ZodString;
210
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ id: string;
213
+ type: EntityType.GenericReference;
214
+ entityType: EntityType.ReturnStatement;
215
+ entityId: string;
216
+ }, {
217
+ id: string;
218
+ type: EntityType.GenericReference;
219
+ entityType: EntityType.ReturnStatement;
220
+ entityId: string;
221
+ }>, z.ZodObject<{
222
+ id: z.ZodString;
223
+ type: z.ZodLiteral<EntityType.GenericReference>;
224
+ entityId: z.ZodString;
225
+ entityType: z.ZodLiteral<EntityType.BreakStatement>;
226
+ }, "strip", z.ZodTypeAny, {
227
+ id: string;
228
+ type: EntityType.GenericReference;
229
+ entityType: EntityType.BreakStatement;
230
+ entityId: string;
231
+ }, {
232
+ id: string;
233
+ type: EntityType.GenericReference;
234
+ entityType: EntityType.BreakStatement;
235
+ entityId: string;
236
+ }>, z.ZodObject<{
237
+ id: z.ZodString;
238
+ type: z.ZodLiteral<EntityType.GenericReference>;
239
+ entityId: z.ZodString;
240
+ entityType: z.ZodLiteral<EntityType.ContinueStatement>;
241
+ }, "strip", z.ZodTypeAny, {
242
+ id: string;
243
+ type: EntityType.GenericReference;
244
+ entityType: EntityType.ContinueStatement;
245
+ entityId: string;
246
+ }, {
247
+ id: string;
248
+ type: EntityType.GenericReference;
249
+ entityType: EntityType.ContinueStatement;
250
+ entityId: string;
251
+ }>]>, "many">;
252
+ errorCalls: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
253
+ id: z.ZodString;
254
+ type: z.ZodLiteral<EntityType.GenericReference>;
255
+ entityId: z.ZodString;
256
+ entityType: z.ZodLiteral<EntityType.Operation>;
257
+ }, "strip", z.ZodTypeAny, {
258
+ id: string;
259
+ type: EntityType.GenericReference;
260
+ entityType: EntityType.Operation;
261
+ entityId: string;
262
+ }, {
263
+ id: string;
264
+ type: EntityType.GenericReference;
265
+ entityType: EntityType.Operation;
266
+ entityId: string;
267
+ }>, z.ZodObject<{
268
+ id: z.ZodString;
269
+ type: z.ZodLiteral<EntityType.GenericReference>;
270
+ entityId: z.ZodString;
271
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
272
+ }, "strip", z.ZodTypeAny, {
273
+ id: string;
274
+ type: EntityType.GenericReference;
275
+ entityType: EntityType.FunctionCall;
276
+ entityId: string;
277
+ }, {
278
+ id: string;
279
+ type: EntityType.GenericReference;
280
+ entityType: EntityType.FunctionCall;
281
+ entityId: string;
282
+ }>, z.ZodObject<{
283
+ id: z.ZodString;
284
+ type: z.ZodLiteral<EntityType.GenericReference>;
285
+ entityId: z.ZodString;
286
+ entityType: z.ZodLiteral<EntityType.Condition>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ id: string;
289
+ type: EntityType.GenericReference;
290
+ entityType: EntityType.Condition;
291
+ entityId: string;
292
+ }, {
293
+ id: string;
294
+ type: EntityType.GenericReference;
295
+ entityType: EntityType.Condition;
296
+ entityId: string;
297
+ }>, z.ZodObject<{
298
+ id: z.ZodString;
299
+ type: z.ZodLiteral<EntityType.GenericReference>;
300
+ entityId: z.ZodString;
301
+ entityType: z.ZodLiteral<EntityType.Search>;
302
+ }, "strip", z.ZodTypeAny, {
303
+ id: string;
304
+ type: EntityType.GenericReference;
305
+ entityType: EntityType.Search;
306
+ entityId: string;
307
+ }, {
308
+ id: string;
309
+ type: EntityType.GenericReference;
310
+ entityType: EntityType.Search;
311
+ entityId: string;
312
+ }>, z.ZodUnion<[z.ZodObject<{
313
+ id: z.ZodString;
314
+ type: z.ZodLiteral<EntityType.GenericReference>;
315
+ entityId: z.ZodString;
316
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
317
+ }, "strip", z.ZodTypeAny, {
318
+ id: string;
319
+ type: EntityType.GenericReference;
320
+ entityType: EntityType.VariableDeclaration;
321
+ entityId: string;
322
+ }, {
323
+ id: string;
324
+ type: EntityType.GenericReference;
325
+ entityType: EntityType.VariableDeclaration;
326
+ entityId: string;
327
+ }>, z.ZodObject<{
328
+ id: z.ZodString;
329
+ type: z.ZodLiteral<EntityType.GenericReference>;
330
+ entityId: z.ZodString;
331
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ id: string;
334
+ type: EntityType.GenericReference;
335
+ entityType: EntityType.VariableInstance;
336
+ entityId: string;
337
+ }, {
338
+ id: string;
339
+ type: EntityType.GenericReference;
340
+ entityType: EntityType.VariableInstance;
341
+ entityId: string;
342
+ }>]>, z.ZodObject<{
343
+ id: z.ZodString;
344
+ type: z.ZodLiteral<EntityType.GenericReference>;
345
+ entityId: z.ZodString;
346
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ id: string;
349
+ type: EntityType.GenericReference;
350
+ entityType: EntityType.InternalCall;
351
+ entityId: string;
352
+ }, {
353
+ id: string;
354
+ type: EntityType.GenericReference;
355
+ entityType: EntityType.InternalCall;
356
+ entityId: string;
357
+ }>, z.ZodObject<{
358
+ id: z.ZodString;
359
+ type: z.ZodLiteral<EntityType.GenericReference>;
360
+ entityId: z.ZodString;
361
+ entityType: z.ZodLiteral<EntityType.Loop>;
362
+ }, "strip", z.ZodTypeAny, {
363
+ id: string;
364
+ type: EntityType.GenericReference;
365
+ entityType: EntityType.Loop;
366
+ entityId: string;
367
+ }, {
368
+ id: string;
369
+ type: EntityType.GenericReference;
370
+ entityType: EntityType.Loop;
371
+ entityId: string;
372
+ }>]>, z.ZodObject<{
373
+ id: z.ZodString;
374
+ type: z.ZodLiteral<EntityType.GenericReference>;
375
+ entityId: z.ZodString;
376
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
377
+ }, "strip", z.ZodTypeAny, {
378
+ id: string;
379
+ type: EntityType.GenericReference;
380
+ entityType: EntityType.ReturnStatement;
381
+ entityId: string;
382
+ }, {
383
+ id: string;
384
+ type: EntityType.GenericReference;
385
+ entityType: EntityType.ReturnStatement;
386
+ entityId: string;
387
+ }>, z.ZodObject<{
388
+ id: z.ZodString;
389
+ type: z.ZodLiteral<EntityType.GenericReference>;
390
+ entityId: z.ZodString;
391
+ entityType: z.ZodLiteral<EntityType.BreakStatement>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ id: string;
394
+ type: EntityType.GenericReference;
395
+ entityType: EntityType.BreakStatement;
396
+ entityId: string;
397
+ }, {
398
+ id: string;
399
+ type: EntityType.GenericReference;
400
+ entityType: EntityType.BreakStatement;
401
+ entityId: string;
402
+ }>, z.ZodObject<{
403
+ id: z.ZodString;
404
+ type: z.ZodLiteral<EntityType.GenericReference>;
405
+ entityId: z.ZodString;
406
+ entityType: z.ZodLiteral<EntityType.ContinueStatement>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ id: string;
409
+ type: EntityType.GenericReference;
410
+ entityType: EntityType.ContinueStatement;
411
+ entityId: string;
412
+ }, {
413
+ id: string;
414
+ type: EntityType.GenericReference;
415
+ entityType: EntityType.ContinueStatement;
416
+ entityId: string;
417
+ }>]>, "many">;
418
+ calledBySuccess: z.ZodArray<z.ZodUnion<[z.ZodObject<{
419
+ id: z.ZodString;
420
+ type: z.ZodLiteral<EntityType.GenericReference>;
421
+ entityId: z.ZodString;
422
+ entityType: z.ZodLiteral<EntityType.Operation>;
423
+ }, "strip", z.ZodTypeAny, {
424
+ id: string;
425
+ type: EntityType.GenericReference;
426
+ entityType: EntityType.Operation;
427
+ entityId: string;
428
+ }, {
429
+ id: string;
430
+ type: EntityType.GenericReference;
431
+ entityType: EntityType.Operation;
432
+ entityId: string;
433
+ }>, z.ZodObject<{
434
+ id: z.ZodString;
435
+ type: z.ZodLiteral<EntityType.GenericReference>;
436
+ entityId: z.ZodString;
437
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
438
+ }, "strip", z.ZodTypeAny, {
439
+ id: string;
440
+ type: EntityType.GenericReference;
441
+ entityType: EntityType.FunctionCall;
442
+ entityId: string;
443
+ }, {
444
+ id: string;
445
+ type: EntityType.GenericReference;
446
+ entityType: EntityType.FunctionCall;
447
+ entityId: string;
448
+ }>, z.ZodObject<{
449
+ id: z.ZodString;
450
+ type: z.ZodLiteral<EntityType.GenericReference>;
451
+ entityId: z.ZodString;
452
+ entityType: z.ZodLiteral<EntityType.Condition>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ id: string;
455
+ type: EntityType.GenericReference;
456
+ entityType: EntityType.Condition;
457
+ entityId: string;
458
+ }, {
459
+ id: string;
460
+ type: EntityType.GenericReference;
461
+ entityType: EntityType.Condition;
462
+ entityId: string;
463
+ }>, z.ZodObject<{
464
+ id: z.ZodString;
465
+ type: z.ZodLiteral<EntityType.GenericReference>;
466
+ entityId: z.ZodString;
467
+ entityType: z.ZodLiteral<EntityType.Search>;
468
+ }, "strip", z.ZodTypeAny, {
469
+ id: string;
470
+ type: EntityType.GenericReference;
471
+ entityType: EntityType.Search;
472
+ entityId: string;
473
+ }, {
474
+ id: string;
475
+ type: EntityType.GenericReference;
476
+ entityType: EntityType.Search;
477
+ entityId: string;
478
+ }>, z.ZodUnion<[z.ZodObject<{
479
+ id: z.ZodString;
480
+ type: z.ZodLiteral<EntityType.GenericReference>;
481
+ entityId: z.ZodString;
482
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
483
+ }, "strip", z.ZodTypeAny, {
484
+ id: string;
485
+ type: EntityType.GenericReference;
486
+ entityType: EntityType.VariableDeclaration;
487
+ entityId: string;
488
+ }, {
489
+ id: string;
490
+ type: EntityType.GenericReference;
491
+ entityType: EntityType.VariableDeclaration;
492
+ entityId: string;
493
+ }>, z.ZodObject<{
494
+ id: z.ZodString;
495
+ type: z.ZodLiteral<EntityType.GenericReference>;
496
+ entityId: z.ZodString;
497
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
498
+ }, "strip", z.ZodTypeAny, {
499
+ id: string;
500
+ type: EntityType.GenericReference;
501
+ entityType: EntityType.VariableInstance;
502
+ entityId: string;
503
+ }, {
504
+ id: string;
505
+ type: EntityType.GenericReference;
506
+ entityType: EntityType.VariableInstance;
507
+ entityId: string;
508
+ }>]>, z.ZodObject<{
509
+ id: z.ZodString;
510
+ type: z.ZodLiteral<EntityType.GenericReference>;
511
+ entityId: z.ZodString;
512
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
513
+ }, "strip", z.ZodTypeAny, {
514
+ id: string;
515
+ type: EntityType.GenericReference;
516
+ entityType: EntityType.InternalCall;
517
+ entityId: string;
518
+ }, {
519
+ id: string;
520
+ type: EntityType.GenericReference;
521
+ entityType: EntityType.InternalCall;
522
+ entityId: string;
523
+ }>, z.ZodObject<{
524
+ id: z.ZodString;
525
+ type: z.ZodLiteral<EntityType.GenericReference>;
526
+ entityId: z.ZodString;
527
+ entityType: z.ZodLiteral<EntityType.Loop>;
528
+ }, "strip", z.ZodTypeAny, {
529
+ id: string;
530
+ type: EntityType.GenericReference;
531
+ entityType: EntityType.Loop;
532
+ entityId: string;
533
+ }, {
534
+ id: string;
535
+ type: EntityType.GenericReference;
536
+ entityType: EntityType.Loop;
537
+ entityId: string;
538
+ }>]>, "many">;
539
+ calledByError: z.ZodArray<z.ZodUnion<[z.ZodObject<{
540
+ id: z.ZodString;
541
+ type: z.ZodLiteral<EntityType.GenericReference>;
542
+ entityId: z.ZodString;
543
+ entityType: z.ZodLiteral<EntityType.Operation>;
544
+ }, "strip", z.ZodTypeAny, {
545
+ id: string;
546
+ type: EntityType.GenericReference;
547
+ entityType: EntityType.Operation;
548
+ entityId: string;
549
+ }, {
550
+ id: string;
551
+ type: EntityType.GenericReference;
552
+ entityType: EntityType.Operation;
553
+ entityId: string;
554
+ }>, z.ZodObject<{
555
+ id: z.ZodString;
556
+ type: z.ZodLiteral<EntityType.GenericReference>;
557
+ entityId: z.ZodString;
558
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
559
+ }, "strip", z.ZodTypeAny, {
560
+ id: string;
561
+ type: EntityType.GenericReference;
562
+ entityType: EntityType.FunctionCall;
563
+ entityId: string;
564
+ }, {
565
+ id: string;
566
+ type: EntityType.GenericReference;
567
+ entityType: EntityType.FunctionCall;
568
+ entityId: string;
569
+ }>, z.ZodObject<{
570
+ id: z.ZodString;
571
+ type: z.ZodLiteral<EntityType.GenericReference>;
572
+ entityId: z.ZodString;
573
+ entityType: z.ZodLiteral<EntityType.Condition>;
574
+ }, "strip", z.ZodTypeAny, {
575
+ id: string;
576
+ type: EntityType.GenericReference;
577
+ entityType: EntityType.Condition;
578
+ entityId: string;
579
+ }, {
580
+ id: string;
581
+ type: EntityType.GenericReference;
582
+ entityType: EntityType.Condition;
583
+ entityId: string;
584
+ }>, z.ZodObject<{
585
+ id: z.ZodString;
586
+ type: z.ZodLiteral<EntityType.GenericReference>;
587
+ entityId: z.ZodString;
588
+ entityType: z.ZodLiteral<EntityType.Search>;
589
+ }, "strip", z.ZodTypeAny, {
590
+ id: string;
591
+ type: EntityType.GenericReference;
592
+ entityType: EntityType.Search;
593
+ entityId: string;
594
+ }, {
595
+ id: string;
596
+ type: EntityType.GenericReference;
597
+ entityType: EntityType.Search;
598
+ entityId: string;
599
+ }>, z.ZodUnion<[z.ZodObject<{
600
+ id: z.ZodString;
601
+ type: z.ZodLiteral<EntityType.GenericReference>;
602
+ entityId: z.ZodString;
603
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
604
+ }, "strip", z.ZodTypeAny, {
605
+ id: string;
606
+ type: EntityType.GenericReference;
607
+ entityType: EntityType.VariableDeclaration;
608
+ entityId: string;
609
+ }, {
610
+ id: string;
611
+ type: EntityType.GenericReference;
612
+ entityType: EntityType.VariableDeclaration;
613
+ entityId: string;
614
+ }>, z.ZodObject<{
615
+ id: z.ZodString;
616
+ type: z.ZodLiteral<EntityType.GenericReference>;
617
+ entityId: z.ZodString;
618
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
619
+ }, "strip", z.ZodTypeAny, {
620
+ id: string;
621
+ type: EntityType.GenericReference;
622
+ entityType: EntityType.VariableInstance;
623
+ entityId: string;
624
+ }, {
625
+ id: string;
626
+ type: EntityType.GenericReference;
627
+ entityType: EntityType.VariableInstance;
628
+ entityId: string;
629
+ }>]>, z.ZodObject<{
630
+ id: z.ZodString;
631
+ type: z.ZodLiteral<EntityType.GenericReference>;
632
+ entityId: z.ZodString;
633
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
634
+ }, "strip", z.ZodTypeAny, {
635
+ id: string;
636
+ type: EntityType.GenericReference;
637
+ entityType: EntityType.InternalCall;
638
+ entityId: string;
639
+ }, {
640
+ id: string;
641
+ type: EntityType.GenericReference;
642
+ entityType: EntityType.InternalCall;
643
+ entityId: string;
644
+ }>, z.ZodObject<{
645
+ id: z.ZodString;
646
+ type: z.ZodLiteral<EntityType.GenericReference>;
647
+ entityId: z.ZodString;
648
+ entityType: z.ZodLiteral<EntityType.Loop>;
649
+ }, "strip", z.ZodTypeAny, {
650
+ id: string;
651
+ type: EntityType.GenericReference;
652
+ entityType: EntityType.Loop;
653
+ entityId: string;
654
+ }, {
655
+ id: string;
656
+ type: EntityType.GenericReference;
657
+ entityType: EntityType.Loop;
658
+ entityId: string;
659
+ }>]>, "many">;
660
+ calledByEntry: z.ZodArray<z.ZodUnion<[z.ZodObject<{
661
+ id: z.ZodString;
662
+ type: z.ZodLiteral<EntityType.GenericReference>;
663
+ entityId: z.ZodString;
664
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
665
+ }, "strip", z.ZodTypeAny, {
666
+ id: string;
667
+ type: EntityType.GenericReference;
668
+ entityType: EntityType.FunctionDeclaration;
669
+ entityId: string;
670
+ }, {
671
+ id: string;
672
+ type: EntityType.GenericReference;
673
+ entityType: EntityType.FunctionDeclaration;
674
+ entityId: string;
675
+ }>, z.ZodObject<{
676
+ id: z.ZodString;
677
+ type: z.ZodLiteral<EntityType.GenericReference>;
678
+ entityId: z.ZodString;
679
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
680
+ }, "strip", z.ZodTypeAny, {
681
+ id: string;
682
+ type: EntityType.GenericReference;
683
+ entityType: EntityType.GlobalEvent;
684
+ entityId: string;
685
+ }, {
686
+ id: string;
687
+ type: EntityType.GenericReference;
688
+ entityType: EntityType.GlobalEvent;
689
+ entityId: string;
690
+ }>]>, "many">;
691
+ writesValues: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
692
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
693
+ }, "strip", z.ZodTypeAny, {
694
+ type: EntityType.VariableDeclaration;
695
+ }, {
696
+ type: EntityType.VariableDeclaration;
697
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
698
+ type: z.ZodLiteral<EntityType.VariableInstance>;
699
+ }, "strip", z.ZodTypeAny, {
700
+ type: EntityType.VariableInstance;
701
+ }, {
702
+ type: EntityType.VariableInstance;
703
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, z.ZodUnion<[z.ZodObject<{
704
+ type: z.ZodLiteral<EntityType.InputMap>;
705
+ }, "strip", z.ZodTypeAny, {
706
+ type: EntityType.InputMap;
707
+ }, {
708
+ type: EntityType.InputMap;
709
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
710
+ type: z.ZodLiteral<EntityType.ReturnDeclaration>;
711
+ }, "strip", z.ZodTypeAny, {
712
+ type: EntityType.ReturnDeclaration;
713
+ }, {
714
+ type: EntityType.ReturnDeclaration;
715
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, "many">;
716
+ declaration: z.ZodUnion<[z.ZodObject<{
717
+ type: z.ZodLiteral<EntityType.FunctionDeclaration>;
718
+ }, "strip", z.ZodTypeAny, {
719
+ type: EntityType.FunctionDeclaration;
720
+ }, {
721
+ type: EntityType.FunctionDeclaration;
722
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>;
723
+ inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
724
+ type: z.ZodLiteral<EntityType.InputMap>;
725
+ }, "strip", z.ZodTypeAny, {
726
+ type: EntityType.InputMap;
727
+ }, {
728
+ type: EntityType.InputMap;
729
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
730
+ outputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
731
+ type: z.ZodLiteral<EntityType.OutputMap>;
732
+ }, "strip", z.ZodTypeAny, {
733
+ type: EntityType.OutputMap;
734
+ }, {
735
+ type: EntityType.OutputMap;
736
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
737
+ parent: z.ZodUnion<[z.ZodObject<{
738
+ id: z.ZodString;
739
+ type: z.ZodLiteral<EntityType.GenericReference>;
740
+ entityId: z.ZodString;
741
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
742
+ }, "strip", z.ZodTypeAny, {
743
+ id: string;
744
+ type: EntityType.GenericReference;
745
+ entityType: EntityType.VariableDeclaration;
746
+ entityId: string;
747
+ }, {
748
+ id: string;
749
+ type: EntityType.GenericReference;
750
+ entityType: EntityType.VariableDeclaration;
751
+ entityId: string;
752
+ }>, z.ZodObject<{
753
+ id: z.ZodString;
754
+ type: z.ZodLiteral<EntityType.GenericReference>;
755
+ entityId: z.ZodString;
756
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
757
+ }, "strip", z.ZodTypeAny, {
758
+ id: string;
759
+ type: EntityType.GenericReference;
760
+ entityType: EntityType.VariableInstance;
761
+ entityId: string;
762
+ }, {
763
+ id: string;
764
+ type: EntityType.GenericReference;
765
+ entityType: EntityType.VariableInstance;
766
+ entityId: string;
767
+ }>]>;
768
+ error: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
769
+ type: z.ZodLiteral<EntityType.OutputMap>;
770
+ }, "strip", z.ZodTypeAny, {
771
+ type: EntityType.OutputMap;
772
+ }, {
773
+ type: EntityType.OutputMap;
774
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
775
+ }, "strip", z.ZodTypeAny, {
776
+ declaration: Record<string, any> | {
777
+ type: EntityType.FunctionDeclaration;
778
+ };
779
+ calledBySuccess: ({
780
+ id: string;
781
+ type: EntityType.GenericReference;
782
+ entityType: EntityType.Loop;
783
+ entityId: string;
784
+ } | {
785
+ id: string;
786
+ type: EntityType.GenericReference;
787
+ entityType: EntityType.Operation;
788
+ entityId: string;
789
+ } | {
790
+ id: string;
791
+ type: EntityType.GenericReference;
792
+ entityType: EntityType.FunctionCall;
793
+ entityId: string;
794
+ } | {
795
+ id: string;
796
+ type: EntityType.GenericReference;
797
+ entityType: EntityType.Condition;
798
+ entityId: string;
799
+ } | {
800
+ id: string;
801
+ type: EntityType.GenericReference;
802
+ entityType: EntityType.Search;
803
+ entityId: string;
804
+ } | {
805
+ id: string;
806
+ type: EntityType.GenericReference;
807
+ entityType: EntityType.VariableDeclaration;
808
+ entityId: string;
809
+ } | {
810
+ id: string;
811
+ type: EntityType.GenericReference;
812
+ entityType: EntityType.VariableInstance;
813
+ entityId: string;
814
+ } | {
815
+ id: string;
816
+ type: EntityType.GenericReference;
817
+ entityType: EntityType.InternalCall;
818
+ entityId: string;
819
+ })[];
820
+ calledByError: ({
821
+ id: string;
822
+ type: EntityType.GenericReference;
823
+ entityType: EntityType.Loop;
824
+ entityId: string;
825
+ } | {
826
+ id: string;
827
+ type: EntityType.GenericReference;
828
+ entityType: EntityType.Operation;
829
+ entityId: string;
830
+ } | {
831
+ id: string;
832
+ type: EntityType.GenericReference;
833
+ entityType: EntityType.FunctionCall;
834
+ entityId: string;
835
+ } | {
836
+ id: string;
837
+ type: EntityType.GenericReference;
838
+ entityType: EntityType.Condition;
839
+ entityId: string;
840
+ } | {
841
+ id: string;
842
+ type: EntityType.GenericReference;
843
+ entityType: EntityType.Search;
844
+ entityId: string;
845
+ } | {
846
+ id: string;
847
+ type: EntityType.GenericReference;
848
+ entityType: EntityType.VariableDeclaration;
849
+ entityId: string;
850
+ } | {
851
+ id: string;
852
+ type: EntityType.GenericReference;
853
+ entityType: EntityType.VariableInstance;
854
+ entityId: string;
855
+ } | {
856
+ id: string;
857
+ type: EntityType.GenericReference;
858
+ entityType: EntityType.InternalCall;
859
+ entityId: string;
860
+ })[];
861
+ calledByEntry: ({
862
+ id: string;
863
+ type: EntityType.GenericReference;
864
+ entityType: EntityType.FunctionDeclaration;
865
+ entityId: string;
866
+ } | {
867
+ id: string;
868
+ type: EntityType.GenericReference;
869
+ entityType: EntityType.GlobalEvent;
870
+ entityId: string;
871
+ })[];
872
+ parent: {
873
+ id: string;
874
+ type: EntityType.GenericReference;
875
+ entityType: EntityType.VariableDeclaration;
876
+ entityId: string;
877
+ } | {
878
+ id: string;
879
+ type: EntityType.GenericReference;
880
+ entityType: EntityType.VariableInstance;
881
+ entityId: string;
882
+ };
883
+ inputs: (Record<string, any> | {
884
+ type: EntityType.InputMap;
885
+ })[];
886
+ outputs: (Record<string, any> | {
887
+ type: EntityType.OutputMap;
888
+ })[];
889
+ successCalls: ({
890
+ id: string;
891
+ type: EntityType.GenericReference;
892
+ entityType: EntityType.Loop;
893
+ entityId: string;
894
+ } | {
895
+ id: string;
896
+ type: EntityType.GenericReference;
897
+ entityType: EntityType.Operation;
898
+ entityId: string;
899
+ } | {
900
+ id: string;
901
+ type: EntityType.GenericReference;
902
+ entityType: EntityType.FunctionCall;
903
+ entityId: string;
904
+ } | {
905
+ id: string;
906
+ type: EntityType.GenericReference;
907
+ entityType: EntityType.Condition;
908
+ entityId: string;
909
+ } | {
910
+ id: string;
911
+ type: EntityType.GenericReference;
912
+ entityType: EntityType.Search;
913
+ entityId: string;
914
+ } | {
915
+ id: string;
916
+ type: EntityType.GenericReference;
917
+ entityType: EntityType.VariableDeclaration;
918
+ entityId: string;
919
+ } | {
920
+ id: string;
921
+ type: EntityType.GenericReference;
922
+ entityType: EntityType.VariableInstance;
923
+ entityId: string;
924
+ } | {
925
+ id: string;
926
+ type: EntityType.GenericReference;
927
+ entityType: EntityType.InternalCall;
928
+ entityId: string;
929
+ } | {
930
+ id: string;
931
+ type: EntityType.GenericReference;
932
+ entityType: EntityType.ReturnStatement;
933
+ entityId: string;
934
+ } | {
935
+ id: string;
936
+ type: EntityType.GenericReference;
937
+ entityType: EntityType.BreakStatement;
938
+ entityId: string;
939
+ } | {
940
+ id: string;
941
+ type: EntityType.GenericReference;
942
+ entityType: EntityType.ContinueStatement;
943
+ entityId: string;
944
+ })[];
945
+ errorCalls: ({
946
+ id: string;
947
+ type: EntityType.GenericReference;
948
+ entityType: EntityType.Loop;
949
+ entityId: string;
950
+ } | {
951
+ id: string;
952
+ type: EntityType.GenericReference;
953
+ entityType: EntityType.Operation;
954
+ entityId: string;
955
+ } | {
956
+ id: string;
957
+ type: EntityType.GenericReference;
958
+ entityType: EntityType.FunctionCall;
959
+ entityId: string;
960
+ } | {
961
+ id: string;
962
+ type: EntityType.GenericReference;
963
+ entityType: EntityType.Condition;
964
+ entityId: string;
965
+ } | {
966
+ id: string;
967
+ type: EntityType.GenericReference;
968
+ entityType: EntityType.Search;
969
+ entityId: string;
970
+ } | {
971
+ id: string;
972
+ type: EntityType.GenericReference;
973
+ entityType: EntityType.VariableDeclaration;
974
+ entityId: string;
975
+ } | {
976
+ id: string;
977
+ type: EntityType.GenericReference;
978
+ entityType: EntityType.VariableInstance;
979
+ entityId: string;
980
+ } | {
981
+ id: string;
982
+ type: EntityType.GenericReference;
983
+ entityType: EntityType.InternalCall;
984
+ entityId: string;
985
+ } | {
986
+ id: string;
987
+ type: EntityType.GenericReference;
988
+ entityType: EntityType.ReturnStatement;
989
+ entityId: string;
990
+ } | {
991
+ id: string;
992
+ type: EntityType.GenericReference;
993
+ entityType: EntityType.BreakStatement;
994
+ entityId: string;
995
+ } | {
996
+ id: string;
997
+ type: EntityType.GenericReference;
998
+ entityType: EntityType.ContinueStatement;
999
+ entityId: string;
1000
+ })[];
1001
+ writesValues: (Record<string, any> | {
1002
+ type: EntityType.InputMap;
1003
+ } | {
1004
+ type: EntityType.ReturnDeclaration;
1005
+ } | {
1006
+ type: EntityType.VariableDeclaration;
1007
+ } | {
1008
+ type: EntityType.VariableInstance;
1009
+ })[];
1010
+ error?: Record<string, any> | {
1011
+ type: EntityType.OutputMap;
1012
+ } | undefined;
1013
+ }, {
1014
+ declaration: Record<string, any> | {
1015
+ type: EntityType.FunctionDeclaration;
1016
+ };
1017
+ calledBySuccess: ({
1018
+ id: string;
1019
+ type: EntityType.GenericReference;
1020
+ entityType: EntityType.Loop;
1021
+ entityId: string;
1022
+ } | {
1023
+ id: string;
1024
+ type: EntityType.GenericReference;
1025
+ entityType: EntityType.Operation;
1026
+ entityId: string;
1027
+ } | {
1028
+ id: string;
1029
+ type: EntityType.GenericReference;
1030
+ entityType: EntityType.FunctionCall;
1031
+ entityId: string;
1032
+ } | {
1033
+ id: string;
1034
+ type: EntityType.GenericReference;
1035
+ entityType: EntityType.Condition;
1036
+ entityId: string;
1037
+ } | {
1038
+ id: string;
1039
+ type: EntityType.GenericReference;
1040
+ entityType: EntityType.Search;
1041
+ entityId: string;
1042
+ } | {
1043
+ id: string;
1044
+ type: EntityType.GenericReference;
1045
+ entityType: EntityType.VariableDeclaration;
1046
+ entityId: string;
1047
+ } | {
1048
+ id: string;
1049
+ type: EntityType.GenericReference;
1050
+ entityType: EntityType.VariableInstance;
1051
+ entityId: string;
1052
+ } | {
1053
+ id: string;
1054
+ type: EntityType.GenericReference;
1055
+ entityType: EntityType.InternalCall;
1056
+ entityId: string;
1057
+ })[];
1058
+ calledByError: ({
1059
+ id: string;
1060
+ type: EntityType.GenericReference;
1061
+ entityType: EntityType.Loop;
1062
+ entityId: string;
1063
+ } | {
1064
+ id: string;
1065
+ type: EntityType.GenericReference;
1066
+ entityType: EntityType.Operation;
1067
+ entityId: string;
1068
+ } | {
1069
+ id: string;
1070
+ type: EntityType.GenericReference;
1071
+ entityType: EntityType.FunctionCall;
1072
+ entityId: string;
1073
+ } | {
1074
+ id: string;
1075
+ type: EntityType.GenericReference;
1076
+ entityType: EntityType.Condition;
1077
+ entityId: string;
1078
+ } | {
1079
+ id: string;
1080
+ type: EntityType.GenericReference;
1081
+ entityType: EntityType.Search;
1082
+ entityId: string;
1083
+ } | {
1084
+ id: string;
1085
+ type: EntityType.GenericReference;
1086
+ entityType: EntityType.VariableDeclaration;
1087
+ entityId: string;
1088
+ } | {
1089
+ id: string;
1090
+ type: EntityType.GenericReference;
1091
+ entityType: EntityType.VariableInstance;
1092
+ entityId: string;
1093
+ } | {
1094
+ id: string;
1095
+ type: EntityType.GenericReference;
1096
+ entityType: EntityType.InternalCall;
1097
+ entityId: string;
1098
+ })[];
1099
+ calledByEntry: ({
1100
+ id: string;
1101
+ type: EntityType.GenericReference;
1102
+ entityType: EntityType.FunctionDeclaration;
1103
+ entityId: string;
1104
+ } | {
1105
+ id: string;
1106
+ type: EntityType.GenericReference;
1107
+ entityType: EntityType.GlobalEvent;
1108
+ entityId: string;
1109
+ })[];
1110
+ parent: {
1111
+ id: string;
1112
+ type: EntityType.GenericReference;
1113
+ entityType: EntityType.VariableDeclaration;
1114
+ entityId: string;
1115
+ } | {
1116
+ id: string;
1117
+ type: EntityType.GenericReference;
1118
+ entityType: EntityType.VariableInstance;
1119
+ entityId: string;
1120
+ };
1121
+ inputs: (Record<string, any> | {
1122
+ type: EntityType.InputMap;
1123
+ })[];
1124
+ outputs: (Record<string, any> | {
1125
+ type: EntityType.OutputMap;
1126
+ })[];
1127
+ successCalls: ({
1128
+ id: string;
1129
+ type: EntityType.GenericReference;
1130
+ entityType: EntityType.Loop;
1131
+ entityId: string;
1132
+ } | {
1133
+ id: string;
1134
+ type: EntityType.GenericReference;
1135
+ entityType: EntityType.Operation;
1136
+ entityId: string;
1137
+ } | {
1138
+ id: string;
1139
+ type: EntityType.GenericReference;
1140
+ entityType: EntityType.FunctionCall;
1141
+ entityId: string;
1142
+ } | {
1143
+ id: string;
1144
+ type: EntityType.GenericReference;
1145
+ entityType: EntityType.Condition;
1146
+ entityId: string;
1147
+ } | {
1148
+ id: string;
1149
+ type: EntityType.GenericReference;
1150
+ entityType: EntityType.Search;
1151
+ entityId: string;
1152
+ } | {
1153
+ id: string;
1154
+ type: EntityType.GenericReference;
1155
+ entityType: EntityType.VariableDeclaration;
1156
+ entityId: string;
1157
+ } | {
1158
+ id: string;
1159
+ type: EntityType.GenericReference;
1160
+ entityType: EntityType.VariableInstance;
1161
+ entityId: string;
1162
+ } | {
1163
+ id: string;
1164
+ type: EntityType.GenericReference;
1165
+ entityType: EntityType.InternalCall;
1166
+ entityId: string;
1167
+ } | {
1168
+ id: string;
1169
+ type: EntityType.GenericReference;
1170
+ entityType: EntityType.ReturnStatement;
1171
+ entityId: string;
1172
+ } | {
1173
+ id: string;
1174
+ type: EntityType.GenericReference;
1175
+ entityType: EntityType.BreakStatement;
1176
+ entityId: string;
1177
+ } | {
1178
+ id: string;
1179
+ type: EntityType.GenericReference;
1180
+ entityType: EntityType.ContinueStatement;
1181
+ entityId: string;
1182
+ })[];
1183
+ errorCalls: ({
1184
+ id: string;
1185
+ type: EntityType.GenericReference;
1186
+ entityType: EntityType.Loop;
1187
+ entityId: string;
1188
+ } | {
1189
+ id: string;
1190
+ type: EntityType.GenericReference;
1191
+ entityType: EntityType.Operation;
1192
+ entityId: string;
1193
+ } | {
1194
+ id: string;
1195
+ type: EntityType.GenericReference;
1196
+ entityType: EntityType.FunctionCall;
1197
+ entityId: string;
1198
+ } | {
1199
+ id: string;
1200
+ type: EntityType.GenericReference;
1201
+ entityType: EntityType.Condition;
1202
+ entityId: string;
1203
+ } | {
1204
+ id: string;
1205
+ type: EntityType.GenericReference;
1206
+ entityType: EntityType.Search;
1207
+ entityId: string;
1208
+ } | {
1209
+ id: string;
1210
+ type: EntityType.GenericReference;
1211
+ entityType: EntityType.VariableDeclaration;
1212
+ entityId: string;
1213
+ } | {
1214
+ id: string;
1215
+ type: EntityType.GenericReference;
1216
+ entityType: EntityType.VariableInstance;
1217
+ entityId: string;
1218
+ } | {
1219
+ id: string;
1220
+ type: EntityType.GenericReference;
1221
+ entityType: EntityType.InternalCall;
1222
+ entityId: string;
1223
+ } | {
1224
+ id: string;
1225
+ type: EntityType.GenericReference;
1226
+ entityType: EntityType.ReturnStatement;
1227
+ entityId: string;
1228
+ } | {
1229
+ id: string;
1230
+ type: EntityType.GenericReference;
1231
+ entityType: EntityType.BreakStatement;
1232
+ entityId: string;
1233
+ } | {
1234
+ id: string;
1235
+ type: EntityType.GenericReference;
1236
+ entityType: EntityType.ContinueStatement;
1237
+ entityId: string;
1238
+ })[];
1239
+ writesValues: (Record<string, any> | {
1240
+ type: EntityType.InputMap;
1241
+ } | {
1242
+ type: EntityType.ReturnDeclaration;
1243
+ } | {
1244
+ type: EntityType.VariableDeclaration;
1245
+ } | {
1246
+ type: EntityType.VariableInstance;
1247
+ })[];
1248
+ error?: Record<string, any> | {
1249
+ type: EntityType.OutputMap;
1250
+ } | undefined;
1251
+ }>;
1252
+ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1253
+ id: z.ZodString;
1254
+ type: z.ZodLiteral<EntityType.InternalCall>;
1255
+ index: z.ZodNumber;
1256
+ }, {
1257
+ version: z.ZodNumber;
1258
+ index: z.ZodNumber;
1259
+ }>, {
1260
+ successCalls: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1261
+ id: z.ZodString;
1262
+ type: z.ZodLiteral<EntityType.GenericReference>;
1263
+ entityId: z.ZodString;
1264
+ entityType: z.ZodLiteral<EntityType.Operation>;
1265
+ }, "strip", z.ZodTypeAny, {
1266
+ id: string;
1267
+ type: EntityType.GenericReference;
1268
+ entityType: EntityType.Operation;
1269
+ entityId: string;
1270
+ }, {
1271
+ id: string;
1272
+ type: EntityType.GenericReference;
1273
+ entityType: EntityType.Operation;
1274
+ entityId: string;
1275
+ }>, z.ZodObject<{
1276
+ id: z.ZodString;
1277
+ type: z.ZodLiteral<EntityType.GenericReference>;
1278
+ entityId: z.ZodString;
1279
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
1280
+ }, "strip", z.ZodTypeAny, {
1281
+ id: string;
1282
+ type: EntityType.GenericReference;
1283
+ entityType: EntityType.FunctionCall;
1284
+ entityId: string;
1285
+ }, {
1286
+ id: string;
1287
+ type: EntityType.GenericReference;
1288
+ entityType: EntityType.FunctionCall;
1289
+ entityId: string;
1290
+ }>, z.ZodObject<{
1291
+ id: z.ZodString;
1292
+ type: z.ZodLiteral<EntityType.GenericReference>;
1293
+ entityId: z.ZodString;
1294
+ entityType: z.ZodLiteral<EntityType.Condition>;
1295
+ }, "strip", z.ZodTypeAny, {
1296
+ id: string;
1297
+ type: EntityType.GenericReference;
1298
+ entityType: EntityType.Condition;
1299
+ entityId: string;
1300
+ }, {
1301
+ id: string;
1302
+ type: EntityType.GenericReference;
1303
+ entityType: EntityType.Condition;
1304
+ entityId: string;
1305
+ }>, z.ZodObject<{
1306
+ id: z.ZodString;
1307
+ type: z.ZodLiteral<EntityType.GenericReference>;
1308
+ entityId: z.ZodString;
1309
+ entityType: z.ZodLiteral<EntityType.Search>;
1310
+ }, "strip", z.ZodTypeAny, {
1311
+ id: string;
1312
+ type: EntityType.GenericReference;
1313
+ entityType: EntityType.Search;
1314
+ entityId: string;
1315
+ }, {
1316
+ id: string;
1317
+ type: EntityType.GenericReference;
1318
+ entityType: EntityType.Search;
1319
+ entityId: string;
1320
+ }>, z.ZodUnion<[z.ZodObject<{
1321
+ id: z.ZodString;
1322
+ type: z.ZodLiteral<EntityType.GenericReference>;
1323
+ entityId: z.ZodString;
1324
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ id: string;
1327
+ type: EntityType.GenericReference;
1328
+ entityType: EntityType.VariableDeclaration;
1329
+ entityId: string;
1330
+ }, {
1331
+ id: string;
1332
+ type: EntityType.GenericReference;
1333
+ entityType: EntityType.VariableDeclaration;
1334
+ entityId: string;
1335
+ }>, z.ZodObject<{
1336
+ id: z.ZodString;
1337
+ type: z.ZodLiteral<EntityType.GenericReference>;
1338
+ entityId: z.ZodString;
1339
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
1340
+ }, "strip", z.ZodTypeAny, {
1341
+ id: string;
1342
+ type: EntityType.GenericReference;
1343
+ entityType: EntityType.VariableInstance;
1344
+ entityId: string;
1345
+ }, {
1346
+ id: string;
1347
+ type: EntityType.GenericReference;
1348
+ entityType: EntityType.VariableInstance;
1349
+ entityId: string;
1350
+ }>]>, z.ZodObject<{
1351
+ id: z.ZodString;
1352
+ type: z.ZodLiteral<EntityType.GenericReference>;
1353
+ entityId: z.ZodString;
1354
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
1355
+ }, "strip", z.ZodTypeAny, {
1356
+ id: string;
1357
+ type: EntityType.GenericReference;
1358
+ entityType: EntityType.InternalCall;
1359
+ entityId: string;
1360
+ }, {
1361
+ id: string;
1362
+ type: EntityType.GenericReference;
1363
+ entityType: EntityType.InternalCall;
1364
+ entityId: string;
1365
+ }>, z.ZodObject<{
1366
+ id: z.ZodString;
1367
+ type: z.ZodLiteral<EntityType.GenericReference>;
1368
+ entityId: z.ZodString;
1369
+ entityType: z.ZodLiteral<EntityType.Loop>;
1370
+ }, "strip", z.ZodTypeAny, {
1371
+ id: string;
1372
+ type: EntityType.GenericReference;
1373
+ entityType: EntityType.Loop;
1374
+ entityId: string;
1375
+ }, {
1376
+ id: string;
1377
+ type: EntityType.GenericReference;
1378
+ entityType: EntityType.Loop;
1379
+ entityId: string;
1380
+ }>]>, z.ZodObject<{
1381
+ id: z.ZodString;
1382
+ type: z.ZodLiteral<EntityType.GenericReference>;
1383
+ entityId: z.ZodString;
1384
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
1385
+ }, "strip", z.ZodTypeAny, {
1386
+ id: string;
1387
+ type: EntityType.GenericReference;
1388
+ entityType: EntityType.ReturnStatement;
1389
+ entityId: string;
1390
+ }, {
1391
+ id: string;
1392
+ type: EntityType.GenericReference;
1393
+ entityType: EntityType.ReturnStatement;
1394
+ entityId: string;
1395
+ }>, z.ZodObject<{
1396
+ id: z.ZodString;
1397
+ type: z.ZodLiteral<EntityType.GenericReference>;
1398
+ entityId: z.ZodString;
1399
+ entityType: z.ZodLiteral<EntityType.BreakStatement>;
1400
+ }, "strip", z.ZodTypeAny, {
1401
+ id: string;
1402
+ type: EntityType.GenericReference;
1403
+ entityType: EntityType.BreakStatement;
1404
+ entityId: string;
1405
+ }, {
1406
+ id: string;
1407
+ type: EntityType.GenericReference;
1408
+ entityType: EntityType.BreakStatement;
1409
+ entityId: string;
1410
+ }>, z.ZodObject<{
1411
+ id: z.ZodString;
1412
+ type: z.ZodLiteral<EntityType.GenericReference>;
1413
+ entityId: z.ZodString;
1414
+ entityType: z.ZodLiteral<EntityType.ContinueStatement>;
1415
+ }, "strip", z.ZodTypeAny, {
1416
+ id: string;
1417
+ type: EntityType.GenericReference;
1418
+ entityType: EntityType.ContinueStatement;
1419
+ entityId: string;
1420
+ }, {
1421
+ id: string;
1422
+ type: EntityType.GenericReference;
1423
+ entityType: EntityType.ContinueStatement;
1424
+ entityId: string;
1425
+ }>]>, "many">;
1426
+ errorCalls: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1427
+ id: z.ZodString;
1428
+ type: z.ZodLiteral<EntityType.GenericReference>;
1429
+ entityId: z.ZodString;
1430
+ entityType: z.ZodLiteral<EntityType.Operation>;
1431
+ }, "strip", z.ZodTypeAny, {
1432
+ id: string;
1433
+ type: EntityType.GenericReference;
1434
+ entityType: EntityType.Operation;
1435
+ entityId: string;
1436
+ }, {
1437
+ id: string;
1438
+ type: EntityType.GenericReference;
1439
+ entityType: EntityType.Operation;
1440
+ entityId: string;
1441
+ }>, z.ZodObject<{
1442
+ id: z.ZodString;
1443
+ type: z.ZodLiteral<EntityType.GenericReference>;
1444
+ entityId: z.ZodString;
1445
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ id: string;
1448
+ type: EntityType.GenericReference;
1449
+ entityType: EntityType.FunctionCall;
1450
+ entityId: string;
1451
+ }, {
1452
+ id: string;
1453
+ type: EntityType.GenericReference;
1454
+ entityType: EntityType.FunctionCall;
1455
+ entityId: string;
1456
+ }>, z.ZodObject<{
1457
+ id: z.ZodString;
1458
+ type: z.ZodLiteral<EntityType.GenericReference>;
1459
+ entityId: z.ZodString;
1460
+ entityType: z.ZodLiteral<EntityType.Condition>;
1461
+ }, "strip", z.ZodTypeAny, {
1462
+ id: string;
1463
+ type: EntityType.GenericReference;
1464
+ entityType: EntityType.Condition;
1465
+ entityId: string;
1466
+ }, {
1467
+ id: string;
1468
+ type: EntityType.GenericReference;
1469
+ entityType: EntityType.Condition;
1470
+ entityId: string;
1471
+ }>, z.ZodObject<{
1472
+ id: z.ZodString;
1473
+ type: z.ZodLiteral<EntityType.GenericReference>;
1474
+ entityId: z.ZodString;
1475
+ entityType: z.ZodLiteral<EntityType.Search>;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ id: string;
1478
+ type: EntityType.GenericReference;
1479
+ entityType: EntityType.Search;
1480
+ entityId: string;
1481
+ }, {
1482
+ id: string;
1483
+ type: EntityType.GenericReference;
1484
+ entityType: EntityType.Search;
1485
+ entityId: string;
1486
+ }>, z.ZodUnion<[z.ZodObject<{
1487
+ id: z.ZodString;
1488
+ type: z.ZodLiteral<EntityType.GenericReference>;
1489
+ entityId: z.ZodString;
1490
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
1491
+ }, "strip", z.ZodTypeAny, {
1492
+ id: string;
1493
+ type: EntityType.GenericReference;
1494
+ entityType: EntityType.VariableDeclaration;
1495
+ entityId: string;
1496
+ }, {
1497
+ id: string;
1498
+ type: EntityType.GenericReference;
1499
+ entityType: EntityType.VariableDeclaration;
1500
+ entityId: string;
1501
+ }>, z.ZodObject<{
1502
+ id: z.ZodString;
1503
+ type: z.ZodLiteral<EntityType.GenericReference>;
1504
+ entityId: z.ZodString;
1505
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
1506
+ }, "strip", z.ZodTypeAny, {
1507
+ id: string;
1508
+ type: EntityType.GenericReference;
1509
+ entityType: EntityType.VariableInstance;
1510
+ entityId: string;
1511
+ }, {
1512
+ id: string;
1513
+ type: EntityType.GenericReference;
1514
+ entityType: EntityType.VariableInstance;
1515
+ entityId: string;
1516
+ }>]>, z.ZodObject<{
1517
+ id: z.ZodString;
1518
+ type: z.ZodLiteral<EntityType.GenericReference>;
1519
+ entityId: z.ZodString;
1520
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
1521
+ }, "strip", z.ZodTypeAny, {
1522
+ id: string;
1523
+ type: EntityType.GenericReference;
1524
+ entityType: EntityType.InternalCall;
1525
+ entityId: string;
1526
+ }, {
1527
+ id: string;
1528
+ type: EntityType.GenericReference;
1529
+ entityType: EntityType.InternalCall;
1530
+ entityId: string;
1531
+ }>, z.ZodObject<{
1532
+ id: z.ZodString;
1533
+ type: z.ZodLiteral<EntityType.GenericReference>;
1534
+ entityId: z.ZodString;
1535
+ entityType: z.ZodLiteral<EntityType.Loop>;
1536
+ }, "strip", z.ZodTypeAny, {
1537
+ id: string;
1538
+ type: EntityType.GenericReference;
1539
+ entityType: EntityType.Loop;
1540
+ entityId: string;
1541
+ }, {
1542
+ id: string;
1543
+ type: EntityType.GenericReference;
1544
+ entityType: EntityType.Loop;
1545
+ entityId: string;
1546
+ }>]>, z.ZodObject<{
1547
+ id: z.ZodString;
1548
+ type: z.ZodLiteral<EntityType.GenericReference>;
1549
+ entityId: z.ZodString;
1550
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
1551
+ }, "strip", z.ZodTypeAny, {
1552
+ id: string;
1553
+ type: EntityType.GenericReference;
1554
+ entityType: EntityType.ReturnStatement;
1555
+ entityId: string;
1556
+ }, {
1557
+ id: string;
1558
+ type: EntityType.GenericReference;
1559
+ entityType: EntityType.ReturnStatement;
1560
+ entityId: string;
1561
+ }>, z.ZodObject<{
1562
+ id: z.ZodString;
1563
+ type: z.ZodLiteral<EntityType.GenericReference>;
1564
+ entityId: z.ZodString;
1565
+ entityType: z.ZodLiteral<EntityType.BreakStatement>;
1566
+ }, "strip", z.ZodTypeAny, {
1567
+ id: string;
1568
+ type: EntityType.GenericReference;
1569
+ entityType: EntityType.BreakStatement;
1570
+ entityId: string;
1571
+ }, {
1572
+ id: string;
1573
+ type: EntityType.GenericReference;
1574
+ entityType: EntityType.BreakStatement;
1575
+ entityId: string;
1576
+ }>, z.ZodObject<{
1577
+ id: z.ZodString;
1578
+ type: z.ZodLiteral<EntityType.GenericReference>;
1579
+ entityId: z.ZodString;
1580
+ entityType: z.ZodLiteral<EntityType.ContinueStatement>;
1581
+ }, "strip", z.ZodTypeAny, {
1582
+ id: string;
1583
+ type: EntityType.GenericReference;
1584
+ entityType: EntityType.ContinueStatement;
1585
+ entityId: string;
1586
+ }, {
1587
+ id: string;
1588
+ type: EntityType.GenericReference;
1589
+ entityType: EntityType.ContinueStatement;
1590
+ entityId: string;
1591
+ }>]>, "many">;
1592
+ calledBySuccess: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1593
+ id: z.ZodString;
1594
+ type: z.ZodLiteral<EntityType.GenericReference>;
1595
+ entityId: z.ZodString;
1596
+ entityType: z.ZodLiteral<EntityType.Operation>;
1597
+ }, "strip", z.ZodTypeAny, {
1598
+ id: string;
1599
+ type: EntityType.GenericReference;
1600
+ entityType: EntityType.Operation;
1601
+ entityId: string;
1602
+ }, {
1603
+ id: string;
1604
+ type: EntityType.GenericReference;
1605
+ entityType: EntityType.Operation;
1606
+ entityId: string;
1607
+ }>, z.ZodObject<{
1608
+ id: z.ZodString;
1609
+ type: z.ZodLiteral<EntityType.GenericReference>;
1610
+ entityId: z.ZodString;
1611
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
1612
+ }, "strip", z.ZodTypeAny, {
1613
+ id: string;
1614
+ type: EntityType.GenericReference;
1615
+ entityType: EntityType.FunctionCall;
1616
+ entityId: string;
1617
+ }, {
1618
+ id: string;
1619
+ type: EntityType.GenericReference;
1620
+ entityType: EntityType.FunctionCall;
1621
+ entityId: string;
1622
+ }>, z.ZodObject<{
1623
+ id: z.ZodString;
1624
+ type: z.ZodLiteral<EntityType.GenericReference>;
1625
+ entityId: z.ZodString;
1626
+ entityType: z.ZodLiteral<EntityType.Condition>;
1627
+ }, "strip", z.ZodTypeAny, {
1628
+ id: string;
1629
+ type: EntityType.GenericReference;
1630
+ entityType: EntityType.Condition;
1631
+ entityId: string;
1632
+ }, {
1633
+ id: string;
1634
+ type: EntityType.GenericReference;
1635
+ entityType: EntityType.Condition;
1636
+ entityId: string;
1637
+ }>, z.ZodObject<{
1638
+ id: z.ZodString;
1639
+ type: z.ZodLiteral<EntityType.GenericReference>;
1640
+ entityId: z.ZodString;
1641
+ entityType: z.ZodLiteral<EntityType.Search>;
1642
+ }, "strip", z.ZodTypeAny, {
1643
+ id: string;
1644
+ type: EntityType.GenericReference;
1645
+ entityType: EntityType.Search;
1646
+ entityId: string;
1647
+ }, {
1648
+ id: string;
1649
+ type: EntityType.GenericReference;
1650
+ entityType: EntityType.Search;
1651
+ entityId: string;
1652
+ }>, z.ZodUnion<[z.ZodObject<{
1653
+ id: z.ZodString;
1654
+ type: z.ZodLiteral<EntityType.GenericReference>;
1655
+ entityId: z.ZodString;
1656
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
1657
+ }, "strip", z.ZodTypeAny, {
1658
+ id: string;
1659
+ type: EntityType.GenericReference;
1660
+ entityType: EntityType.VariableDeclaration;
1661
+ entityId: string;
1662
+ }, {
1663
+ id: string;
1664
+ type: EntityType.GenericReference;
1665
+ entityType: EntityType.VariableDeclaration;
1666
+ entityId: string;
1667
+ }>, z.ZodObject<{
1668
+ id: z.ZodString;
1669
+ type: z.ZodLiteral<EntityType.GenericReference>;
1670
+ entityId: z.ZodString;
1671
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
1672
+ }, "strip", z.ZodTypeAny, {
1673
+ id: string;
1674
+ type: EntityType.GenericReference;
1675
+ entityType: EntityType.VariableInstance;
1676
+ entityId: string;
1677
+ }, {
1678
+ id: string;
1679
+ type: EntityType.GenericReference;
1680
+ entityType: EntityType.VariableInstance;
1681
+ entityId: string;
1682
+ }>]>, z.ZodObject<{
1683
+ id: z.ZodString;
1684
+ type: z.ZodLiteral<EntityType.GenericReference>;
1685
+ entityId: z.ZodString;
1686
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
1687
+ }, "strip", z.ZodTypeAny, {
1688
+ id: string;
1689
+ type: EntityType.GenericReference;
1690
+ entityType: EntityType.InternalCall;
1691
+ entityId: string;
1692
+ }, {
1693
+ id: string;
1694
+ type: EntityType.GenericReference;
1695
+ entityType: EntityType.InternalCall;
1696
+ entityId: string;
1697
+ }>, z.ZodObject<{
1698
+ id: z.ZodString;
1699
+ type: z.ZodLiteral<EntityType.GenericReference>;
1700
+ entityId: z.ZodString;
1701
+ entityType: z.ZodLiteral<EntityType.Loop>;
1702
+ }, "strip", z.ZodTypeAny, {
1703
+ id: string;
1704
+ type: EntityType.GenericReference;
1705
+ entityType: EntityType.Loop;
1706
+ entityId: string;
1707
+ }, {
1708
+ id: string;
1709
+ type: EntityType.GenericReference;
1710
+ entityType: EntityType.Loop;
1711
+ entityId: string;
1712
+ }>]>, "many">;
1713
+ calledByError: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1714
+ id: z.ZodString;
1715
+ type: z.ZodLiteral<EntityType.GenericReference>;
1716
+ entityId: z.ZodString;
1717
+ entityType: z.ZodLiteral<EntityType.Operation>;
1718
+ }, "strip", z.ZodTypeAny, {
1719
+ id: string;
1720
+ type: EntityType.GenericReference;
1721
+ entityType: EntityType.Operation;
1722
+ entityId: string;
1723
+ }, {
1724
+ id: string;
1725
+ type: EntityType.GenericReference;
1726
+ entityType: EntityType.Operation;
1727
+ entityId: string;
1728
+ }>, z.ZodObject<{
1729
+ id: z.ZodString;
1730
+ type: z.ZodLiteral<EntityType.GenericReference>;
1731
+ entityId: z.ZodString;
1732
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
1733
+ }, "strip", z.ZodTypeAny, {
1734
+ id: string;
1735
+ type: EntityType.GenericReference;
1736
+ entityType: EntityType.FunctionCall;
1737
+ entityId: string;
1738
+ }, {
1739
+ id: string;
1740
+ type: EntityType.GenericReference;
1741
+ entityType: EntityType.FunctionCall;
1742
+ entityId: string;
1743
+ }>, z.ZodObject<{
1744
+ id: z.ZodString;
1745
+ type: z.ZodLiteral<EntityType.GenericReference>;
1746
+ entityId: z.ZodString;
1747
+ entityType: z.ZodLiteral<EntityType.Condition>;
1748
+ }, "strip", z.ZodTypeAny, {
1749
+ id: string;
1750
+ type: EntityType.GenericReference;
1751
+ entityType: EntityType.Condition;
1752
+ entityId: string;
1753
+ }, {
1754
+ id: string;
1755
+ type: EntityType.GenericReference;
1756
+ entityType: EntityType.Condition;
1757
+ entityId: string;
1758
+ }>, z.ZodObject<{
1759
+ id: z.ZodString;
1760
+ type: z.ZodLiteral<EntityType.GenericReference>;
1761
+ entityId: z.ZodString;
1762
+ entityType: z.ZodLiteral<EntityType.Search>;
1763
+ }, "strip", z.ZodTypeAny, {
1764
+ id: string;
1765
+ type: EntityType.GenericReference;
1766
+ entityType: EntityType.Search;
1767
+ entityId: string;
1768
+ }, {
1769
+ id: string;
1770
+ type: EntityType.GenericReference;
1771
+ entityType: EntityType.Search;
1772
+ entityId: string;
1773
+ }>, z.ZodUnion<[z.ZodObject<{
1774
+ id: z.ZodString;
1775
+ type: z.ZodLiteral<EntityType.GenericReference>;
1776
+ entityId: z.ZodString;
1777
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
1778
+ }, "strip", z.ZodTypeAny, {
1779
+ id: string;
1780
+ type: EntityType.GenericReference;
1781
+ entityType: EntityType.VariableDeclaration;
1782
+ entityId: string;
1783
+ }, {
1784
+ id: string;
1785
+ type: EntityType.GenericReference;
1786
+ entityType: EntityType.VariableDeclaration;
1787
+ entityId: string;
1788
+ }>, z.ZodObject<{
1789
+ id: z.ZodString;
1790
+ type: z.ZodLiteral<EntityType.GenericReference>;
1791
+ entityId: z.ZodString;
1792
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
1793
+ }, "strip", z.ZodTypeAny, {
1794
+ id: string;
1795
+ type: EntityType.GenericReference;
1796
+ entityType: EntityType.VariableInstance;
1797
+ entityId: string;
1798
+ }, {
1799
+ id: string;
1800
+ type: EntityType.GenericReference;
1801
+ entityType: EntityType.VariableInstance;
1802
+ entityId: string;
1803
+ }>]>, z.ZodObject<{
1804
+ id: z.ZodString;
1805
+ type: z.ZodLiteral<EntityType.GenericReference>;
1806
+ entityId: z.ZodString;
1807
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
1808
+ }, "strip", z.ZodTypeAny, {
1809
+ id: string;
1810
+ type: EntityType.GenericReference;
1811
+ entityType: EntityType.InternalCall;
1812
+ entityId: string;
1813
+ }, {
1814
+ id: string;
1815
+ type: EntityType.GenericReference;
1816
+ entityType: EntityType.InternalCall;
1817
+ entityId: string;
1818
+ }>, z.ZodObject<{
1819
+ id: z.ZodString;
1820
+ type: z.ZodLiteral<EntityType.GenericReference>;
1821
+ entityId: z.ZodString;
1822
+ entityType: z.ZodLiteral<EntityType.Loop>;
1823
+ }, "strip", z.ZodTypeAny, {
1824
+ id: string;
1825
+ type: EntityType.GenericReference;
1826
+ entityType: EntityType.Loop;
1827
+ entityId: string;
1828
+ }, {
1829
+ id: string;
1830
+ type: EntityType.GenericReference;
1831
+ entityType: EntityType.Loop;
1832
+ entityId: string;
1833
+ }>]>, "many">;
1834
+ calledByEntry: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1835
+ id: z.ZodString;
1836
+ type: z.ZodLiteral<EntityType.GenericReference>;
1837
+ entityId: z.ZodString;
1838
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
1839
+ }, "strip", z.ZodTypeAny, {
1840
+ id: string;
1841
+ type: EntityType.GenericReference;
1842
+ entityType: EntityType.FunctionDeclaration;
1843
+ entityId: string;
1844
+ }, {
1845
+ id: string;
1846
+ type: EntityType.GenericReference;
1847
+ entityType: EntityType.FunctionDeclaration;
1848
+ entityId: string;
1849
+ }>, z.ZodObject<{
1850
+ id: z.ZodString;
1851
+ type: z.ZodLiteral<EntityType.GenericReference>;
1852
+ entityId: z.ZodString;
1853
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
1854
+ }, "strip", z.ZodTypeAny, {
1855
+ id: string;
1856
+ type: EntityType.GenericReference;
1857
+ entityType: EntityType.GlobalEvent;
1858
+ entityId: string;
1859
+ }, {
1860
+ id: string;
1861
+ type: EntityType.GenericReference;
1862
+ entityType: EntityType.GlobalEvent;
1863
+ entityId: string;
1864
+ }>]>, "many">;
1865
+ writesValues: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1866
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
1867
+ }, "strip", z.ZodTypeAny, {
1868
+ type: EntityType.VariableDeclaration;
1869
+ }, {
1870
+ type: EntityType.VariableDeclaration;
1871
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
1872
+ type: z.ZodLiteral<EntityType.VariableInstance>;
1873
+ }, "strip", z.ZodTypeAny, {
1874
+ type: EntityType.VariableInstance;
1875
+ }, {
1876
+ type: EntityType.VariableInstance;
1877
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, z.ZodUnion<[z.ZodObject<{
1878
+ type: z.ZodLiteral<EntityType.InputMap>;
1879
+ }, "strip", z.ZodTypeAny, {
1880
+ type: EntityType.InputMap;
1881
+ }, {
1882
+ type: EntityType.InputMap;
1883
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
1884
+ type: z.ZodLiteral<EntityType.ReturnDeclaration>;
1885
+ }, "strip", z.ZodTypeAny, {
1886
+ type: EntityType.ReturnDeclaration;
1887
+ }, {
1888
+ type: EntityType.ReturnDeclaration;
1889
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, "many">;
1890
+ declaration: z.ZodUnion<[z.ZodObject<{
1891
+ type: z.ZodLiteral<EntityType.FunctionDeclaration>;
1892
+ }, "strip", z.ZodTypeAny, {
1893
+ type: EntityType.FunctionDeclaration;
1894
+ }, {
1895
+ type: EntityType.FunctionDeclaration;
1896
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>;
1897
+ inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1898
+ type: z.ZodLiteral<EntityType.InputMap>;
1899
+ }, "strip", z.ZodTypeAny, {
1900
+ type: EntityType.InputMap;
1901
+ }, {
1902
+ type: EntityType.InputMap;
1903
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
1904
+ outputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1905
+ type: z.ZodLiteral<EntityType.OutputMap>;
1906
+ }, "strip", z.ZodTypeAny, {
1907
+ type: EntityType.OutputMap;
1908
+ }, {
1909
+ type: EntityType.OutputMap;
1910
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
1911
+ parent: z.ZodUnion<[z.ZodObject<{
1912
+ id: z.ZodString;
1913
+ type: z.ZodLiteral<EntityType.GenericReference>;
1914
+ entityId: z.ZodString;
1915
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ id: string;
1918
+ type: EntityType.GenericReference;
1919
+ entityType: EntityType.VariableDeclaration;
1920
+ entityId: string;
1921
+ }, {
1922
+ id: string;
1923
+ type: EntityType.GenericReference;
1924
+ entityType: EntityType.VariableDeclaration;
1925
+ entityId: string;
1926
+ }>, z.ZodObject<{
1927
+ id: z.ZodString;
1928
+ type: z.ZodLiteral<EntityType.GenericReference>;
1929
+ entityId: z.ZodString;
1930
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
1931
+ }, "strip", z.ZodTypeAny, {
1932
+ id: string;
1933
+ type: EntityType.GenericReference;
1934
+ entityType: EntityType.VariableInstance;
1935
+ entityId: string;
1936
+ }, {
1937
+ id: string;
1938
+ type: EntityType.GenericReference;
1939
+ entityType: EntityType.VariableInstance;
1940
+ entityId: string;
1941
+ }>]>;
1942
+ error: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1943
+ type: z.ZodLiteral<EntityType.OutputMap>;
1944
+ }, "strip", z.ZodTypeAny, {
1945
+ type: EntityType.OutputMap;
1946
+ }, {
1947
+ type: EntityType.OutputMap;
1948
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
1949
+ }>, "strip", z.ZodTypeAny, {
1950
+ id: string;
1951
+ type: EntityType.InternalCall;
1952
+ declaration: Record<string, any> | {
1953
+ type: EntityType.FunctionDeclaration;
1954
+ };
1955
+ calledBySuccess: ({
1956
+ id: string;
1957
+ type: EntityType.GenericReference;
1958
+ entityType: EntityType.Loop;
1959
+ entityId: string;
1960
+ } | {
1961
+ id: string;
1962
+ type: EntityType.GenericReference;
1963
+ entityType: EntityType.Operation;
1964
+ entityId: string;
1965
+ } | {
1966
+ id: string;
1967
+ type: EntityType.GenericReference;
1968
+ entityType: EntityType.FunctionCall;
1969
+ entityId: string;
1970
+ } | {
1971
+ id: string;
1972
+ type: EntityType.GenericReference;
1973
+ entityType: EntityType.Condition;
1974
+ entityId: string;
1975
+ } | {
1976
+ id: string;
1977
+ type: EntityType.GenericReference;
1978
+ entityType: EntityType.Search;
1979
+ entityId: string;
1980
+ } | {
1981
+ id: string;
1982
+ type: EntityType.GenericReference;
1983
+ entityType: EntityType.VariableDeclaration;
1984
+ entityId: string;
1985
+ } | {
1986
+ id: string;
1987
+ type: EntityType.GenericReference;
1988
+ entityType: EntityType.VariableInstance;
1989
+ entityId: string;
1990
+ } | {
1991
+ id: string;
1992
+ type: EntityType.GenericReference;
1993
+ entityType: EntityType.InternalCall;
1994
+ entityId: string;
1995
+ })[];
1996
+ calledByError: ({
1997
+ id: string;
1998
+ type: EntityType.GenericReference;
1999
+ entityType: EntityType.Loop;
2000
+ entityId: string;
2001
+ } | {
2002
+ id: string;
2003
+ type: EntityType.GenericReference;
2004
+ entityType: EntityType.Operation;
2005
+ entityId: string;
2006
+ } | {
2007
+ id: string;
2008
+ type: EntityType.GenericReference;
2009
+ entityType: EntityType.FunctionCall;
2010
+ entityId: string;
2011
+ } | {
2012
+ id: string;
2013
+ type: EntityType.GenericReference;
2014
+ entityType: EntityType.Condition;
2015
+ entityId: string;
2016
+ } | {
2017
+ id: string;
2018
+ type: EntityType.GenericReference;
2019
+ entityType: EntityType.Search;
2020
+ entityId: string;
2021
+ } | {
2022
+ id: string;
2023
+ type: EntityType.GenericReference;
2024
+ entityType: EntityType.VariableDeclaration;
2025
+ entityId: string;
2026
+ } | {
2027
+ id: string;
2028
+ type: EntityType.GenericReference;
2029
+ entityType: EntityType.VariableInstance;
2030
+ entityId: string;
2031
+ } | {
2032
+ id: string;
2033
+ type: EntityType.GenericReference;
2034
+ entityType: EntityType.InternalCall;
2035
+ entityId: string;
2036
+ })[];
2037
+ calledByEntry: ({
2038
+ id: string;
2039
+ type: EntityType.GenericReference;
2040
+ entityType: EntityType.FunctionDeclaration;
2041
+ entityId: string;
2042
+ } | {
2043
+ id: string;
2044
+ type: EntityType.GenericReference;
2045
+ entityType: EntityType.GlobalEvent;
2046
+ entityId: string;
2047
+ })[];
2048
+ parent: {
2049
+ id: string;
2050
+ type: EntityType.GenericReference;
2051
+ entityType: EntityType.VariableDeclaration;
2052
+ entityId: string;
2053
+ } | {
2054
+ id: string;
2055
+ type: EntityType.GenericReference;
2056
+ entityType: EntityType.VariableInstance;
2057
+ entityId: string;
2058
+ };
2059
+ version: number;
2060
+ index: number;
2061
+ inputs: (Record<string, any> | {
2062
+ type: EntityType.InputMap;
2063
+ })[];
2064
+ outputs: (Record<string, any> | {
2065
+ type: EntityType.OutputMap;
2066
+ })[];
2067
+ successCalls: ({
2068
+ id: string;
2069
+ type: EntityType.GenericReference;
2070
+ entityType: EntityType.Loop;
2071
+ entityId: string;
2072
+ } | {
2073
+ id: string;
2074
+ type: EntityType.GenericReference;
2075
+ entityType: EntityType.Operation;
2076
+ entityId: string;
2077
+ } | {
2078
+ id: string;
2079
+ type: EntityType.GenericReference;
2080
+ entityType: EntityType.FunctionCall;
2081
+ entityId: string;
2082
+ } | {
2083
+ id: string;
2084
+ type: EntityType.GenericReference;
2085
+ entityType: EntityType.Condition;
2086
+ entityId: string;
2087
+ } | {
2088
+ id: string;
2089
+ type: EntityType.GenericReference;
2090
+ entityType: EntityType.Search;
2091
+ entityId: string;
2092
+ } | {
2093
+ id: string;
2094
+ type: EntityType.GenericReference;
2095
+ entityType: EntityType.VariableDeclaration;
2096
+ entityId: string;
2097
+ } | {
2098
+ id: string;
2099
+ type: EntityType.GenericReference;
2100
+ entityType: EntityType.VariableInstance;
2101
+ entityId: string;
2102
+ } | {
2103
+ id: string;
2104
+ type: EntityType.GenericReference;
2105
+ entityType: EntityType.InternalCall;
2106
+ entityId: string;
2107
+ } | {
2108
+ id: string;
2109
+ type: EntityType.GenericReference;
2110
+ entityType: EntityType.ReturnStatement;
2111
+ entityId: string;
2112
+ } | {
2113
+ id: string;
2114
+ type: EntityType.GenericReference;
2115
+ entityType: EntityType.BreakStatement;
2116
+ entityId: string;
2117
+ } | {
2118
+ id: string;
2119
+ type: EntityType.GenericReference;
2120
+ entityType: EntityType.ContinueStatement;
2121
+ entityId: string;
2122
+ })[];
2123
+ errorCalls: ({
2124
+ id: string;
2125
+ type: EntityType.GenericReference;
2126
+ entityType: EntityType.Loop;
2127
+ entityId: string;
2128
+ } | {
2129
+ id: string;
2130
+ type: EntityType.GenericReference;
2131
+ entityType: EntityType.Operation;
2132
+ entityId: string;
2133
+ } | {
2134
+ id: string;
2135
+ type: EntityType.GenericReference;
2136
+ entityType: EntityType.FunctionCall;
2137
+ entityId: string;
2138
+ } | {
2139
+ id: string;
2140
+ type: EntityType.GenericReference;
2141
+ entityType: EntityType.Condition;
2142
+ entityId: string;
2143
+ } | {
2144
+ id: string;
2145
+ type: EntityType.GenericReference;
2146
+ entityType: EntityType.Search;
2147
+ entityId: string;
2148
+ } | {
2149
+ id: string;
2150
+ type: EntityType.GenericReference;
2151
+ entityType: EntityType.VariableDeclaration;
2152
+ entityId: string;
2153
+ } | {
2154
+ id: string;
2155
+ type: EntityType.GenericReference;
2156
+ entityType: EntityType.VariableInstance;
2157
+ entityId: string;
2158
+ } | {
2159
+ id: string;
2160
+ type: EntityType.GenericReference;
2161
+ entityType: EntityType.InternalCall;
2162
+ entityId: string;
2163
+ } | {
2164
+ id: string;
2165
+ type: EntityType.GenericReference;
2166
+ entityType: EntityType.ReturnStatement;
2167
+ entityId: string;
2168
+ } | {
2169
+ id: string;
2170
+ type: EntityType.GenericReference;
2171
+ entityType: EntityType.BreakStatement;
2172
+ entityId: string;
2173
+ } | {
2174
+ id: string;
2175
+ type: EntityType.GenericReference;
2176
+ entityType: EntityType.ContinueStatement;
2177
+ entityId: string;
2178
+ })[];
2179
+ writesValues: (Record<string, any> | {
2180
+ type: EntityType.InputMap;
2181
+ } | {
2182
+ type: EntityType.ReturnDeclaration;
2183
+ } | {
2184
+ type: EntityType.VariableDeclaration;
2185
+ } | {
2186
+ type: EntityType.VariableInstance;
2187
+ })[];
2188
+ error?: Record<string, any> | {
2189
+ type: EntityType.OutputMap;
2190
+ } | undefined;
2191
+ }, {
2192
+ id: string;
2193
+ type: EntityType.InternalCall;
2194
+ declaration: Record<string, any> | {
2195
+ type: EntityType.FunctionDeclaration;
2196
+ };
2197
+ calledBySuccess: ({
2198
+ id: string;
2199
+ type: EntityType.GenericReference;
2200
+ entityType: EntityType.Loop;
2201
+ entityId: string;
2202
+ } | {
2203
+ id: string;
2204
+ type: EntityType.GenericReference;
2205
+ entityType: EntityType.Operation;
2206
+ entityId: string;
2207
+ } | {
2208
+ id: string;
2209
+ type: EntityType.GenericReference;
2210
+ entityType: EntityType.FunctionCall;
2211
+ entityId: string;
2212
+ } | {
2213
+ id: string;
2214
+ type: EntityType.GenericReference;
2215
+ entityType: EntityType.Condition;
2216
+ entityId: string;
2217
+ } | {
2218
+ id: string;
2219
+ type: EntityType.GenericReference;
2220
+ entityType: EntityType.Search;
2221
+ entityId: string;
2222
+ } | {
2223
+ id: string;
2224
+ type: EntityType.GenericReference;
2225
+ entityType: EntityType.VariableDeclaration;
2226
+ entityId: string;
2227
+ } | {
2228
+ id: string;
2229
+ type: EntityType.GenericReference;
2230
+ entityType: EntityType.VariableInstance;
2231
+ entityId: string;
2232
+ } | {
2233
+ id: string;
2234
+ type: EntityType.GenericReference;
2235
+ entityType: EntityType.InternalCall;
2236
+ entityId: string;
2237
+ })[];
2238
+ calledByError: ({
2239
+ id: string;
2240
+ type: EntityType.GenericReference;
2241
+ entityType: EntityType.Loop;
2242
+ entityId: string;
2243
+ } | {
2244
+ id: string;
2245
+ type: EntityType.GenericReference;
2246
+ entityType: EntityType.Operation;
2247
+ entityId: string;
2248
+ } | {
2249
+ id: string;
2250
+ type: EntityType.GenericReference;
2251
+ entityType: EntityType.FunctionCall;
2252
+ entityId: string;
2253
+ } | {
2254
+ id: string;
2255
+ type: EntityType.GenericReference;
2256
+ entityType: EntityType.Condition;
2257
+ entityId: string;
2258
+ } | {
2259
+ id: string;
2260
+ type: EntityType.GenericReference;
2261
+ entityType: EntityType.Search;
2262
+ entityId: string;
2263
+ } | {
2264
+ id: string;
2265
+ type: EntityType.GenericReference;
2266
+ entityType: EntityType.VariableDeclaration;
2267
+ entityId: string;
2268
+ } | {
2269
+ id: string;
2270
+ type: EntityType.GenericReference;
2271
+ entityType: EntityType.VariableInstance;
2272
+ entityId: string;
2273
+ } | {
2274
+ id: string;
2275
+ type: EntityType.GenericReference;
2276
+ entityType: EntityType.InternalCall;
2277
+ entityId: string;
2278
+ })[];
2279
+ calledByEntry: ({
2280
+ id: string;
2281
+ type: EntityType.GenericReference;
2282
+ entityType: EntityType.FunctionDeclaration;
2283
+ entityId: string;
2284
+ } | {
2285
+ id: string;
2286
+ type: EntityType.GenericReference;
2287
+ entityType: EntityType.GlobalEvent;
2288
+ entityId: string;
2289
+ })[];
2290
+ parent: {
2291
+ id: string;
2292
+ type: EntityType.GenericReference;
2293
+ entityType: EntityType.VariableDeclaration;
2294
+ entityId: string;
2295
+ } | {
2296
+ id: string;
2297
+ type: EntityType.GenericReference;
2298
+ entityType: EntityType.VariableInstance;
2299
+ entityId: string;
2300
+ };
2301
+ version: number;
2302
+ index: number;
2303
+ inputs: (Record<string, any> | {
2304
+ type: EntityType.InputMap;
2305
+ })[];
2306
+ outputs: (Record<string, any> | {
2307
+ type: EntityType.OutputMap;
2308
+ })[];
2309
+ successCalls: ({
2310
+ id: string;
2311
+ type: EntityType.GenericReference;
2312
+ entityType: EntityType.Loop;
2313
+ entityId: string;
2314
+ } | {
2315
+ id: string;
2316
+ type: EntityType.GenericReference;
2317
+ entityType: EntityType.Operation;
2318
+ entityId: string;
2319
+ } | {
2320
+ id: string;
2321
+ type: EntityType.GenericReference;
2322
+ entityType: EntityType.FunctionCall;
2323
+ entityId: string;
2324
+ } | {
2325
+ id: string;
2326
+ type: EntityType.GenericReference;
2327
+ entityType: EntityType.Condition;
2328
+ entityId: string;
2329
+ } | {
2330
+ id: string;
2331
+ type: EntityType.GenericReference;
2332
+ entityType: EntityType.Search;
2333
+ entityId: string;
2334
+ } | {
2335
+ id: string;
2336
+ type: EntityType.GenericReference;
2337
+ entityType: EntityType.VariableDeclaration;
2338
+ entityId: string;
2339
+ } | {
2340
+ id: string;
2341
+ type: EntityType.GenericReference;
2342
+ entityType: EntityType.VariableInstance;
2343
+ entityId: string;
2344
+ } | {
2345
+ id: string;
2346
+ type: EntityType.GenericReference;
2347
+ entityType: EntityType.InternalCall;
2348
+ entityId: string;
2349
+ } | {
2350
+ id: string;
2351
+ type: EntityType.GenericReference;
2352
+ entityType: EntityType.ReturnStatement;
2353
+ entityId: string;
2354
+ } | {
2355
+ id: string;
2356
+ type: EntityType.GenericReference;
2357
+ entityType: EntityType.BreakStatement;
2358
+ entityId: string;
2359
+ } | {
2360
+ id: string;
2361
+ type: EntityType.GenericReference;
2362
+ entityType: EntityType.ContinueStatement;
2363
+ entityId: string;
2364
+ })[];
2365
+ errorCalls: ({
2366
+ id: string;
2367
+ type: EntityType.GenericReference;
2368
+ entityType: EntityType.Loop;
2369
+ entityId: string;
2370
+ } | {
2371
+ id: string;
2372
+ type: EntityType.GenericReference;
2373
+ entityType: EntityType.Operation;
2374
+ entityId: string;
2375
+ } | {
2376
+ id: string;
2377
+ type: EntityType.GenericReference;
2378
+ entityType: EntityType.FunctionCall;
2379
+ entityId: string;
2380
+ } | {
2381
+ id: string;
2382
+ type: EntityType.GenericReference;
2383
+ entityType: EntityType.Condition;
2384
+ entityId: string;
2385
+ } | {
2386
+ id: string;
2387
+ type: EntityType.GenericReference;
2388
+ entityType: EntityType.Search;
2389
+ entityId: string;
2390
+ } | {
2391
+ id: string;
2392
+ type: EntityType.GenericReference;
2393
+ entityType: EntityType.VariableDeclaration;
2394
+ entityId: string;
2395
+ } | {
2396
+ id: string;
2397
+ type: EntityType.GenericReference;
2398
+ entityType: EntityType.VariableInstance;
2399
+ entityId: string;
2400
+ } | {
2401
+ id: string;
2402
+ type: EntityType.GenericReference;
2403
+ entityType: EntityType.InternalCall;
2404
+ entityId: string;
2405
+ } | {
2406
+ id: string;
2407
+ type: EntityType.GenericReference;
2408
+ entityType: EntityType.ReturnStatement;
2409
+ entityId: string;
2410
+ } | {
2411
+ id: string;
2412
+ type: EntityType.GenericReference;
2413
+ entityType: EntityType.BreakStatement;
2414
+ entityId: string;
2415
+ } | {
2416
+ id: string;
2417
+ type: EntityType.GenericReference;
2418
+ entityType: EntityType.ContinueStatement;
2419
+ entityId: string;
2420
+ })[];
2421
+ writesValues: (Record<string, any> | {
2422
+ type: EntityType.InputMap;
2423
+ } | {
2424
+ type: EntityType.ReturnDeclaration;
2425
+ } | {
2426
+ type: EntityType.VariableDeclaration;
2427
+ } | {
2428
+ type: EntityType.VariableInstance;
2429
+ })[];
2430
+ error?: Record<string, any> | {
2431
+ type: EntityType.OutputMap;
2432
+ } | undefined;
2433
+ }>;