@elyx-code/project-logic-tree 0.0.6237 → 0.0.6238

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.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var xv = Object.defineProperty;
2
2
  var $v = (r, a, e) => a in r ? xv(r, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[a] = e;
3
3
  var f = (r, a, e) => ($v(r, typeof a != "symbol" ? a + "" : a, e), e);
4
- var n = /* @__PURE__ */ ((r) => (r.DefinitionEntity = "definition-entity", r.BuiltInBaseEntity = "built-in-base-entity", r.Project = "project", r.InstalledProject = "installed-project", r.GlobalEvent = "global-event", r.DataType = "data-type", r.FunctionCall = "function-call", r.FunctionDeclaration = "function-declaration", r.ActionDescriptor = "action-descriptor", r.ValueDescriptor = "value-descriptor", r.ArgumentDeclaration = "argument-declaration", r.InputMap = "input-map", r.ReturnStatement = "return-statement", r.BreakStatement = "break-statement", r.ContinueStatement = "continue-statement", r.ReturnDeclaration = "return-declaration", r.OutputMap = "output-map", r.PrimitiveEntity = "primitive-entity", r.LiteralValue = "literal-value", r.Property = "property", r.Operation = "operation", r.Condition = "condition", r.VariableDeclaration = "variable-declaration", r.VariableInstance = "variable-instance", r.Search = "search", r.Loop = "loop", r.InternalCall = "internal-call", r.GenericReference = "generic-reference", r))(n || {}), Y = /* @__PURE__ */ ((r) => (r.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", r.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", r.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", r.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", r.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", r.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", r))(Y || {}), Tt = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(Tt || {}), N = /* @__PURE__ */ ((r) => (r.EntityTemplate = "entity-template", r.ActionDescriptor = "action-descriptor", r.String = "string", r.Number = "number", r.Boolean = "boolean", r.Null = "null", r.Enum = "enum", r.KeyValue = "key-value", r.Date = "date", r.UUID = "uuid", r.File = "file", r.Untyped = "untyped", r))(N || {}), it = /* @__PURE__ */ ((r) => (r.Addition = "addition", r.Subtraction = "subtraction", r.Multiplication = "multiplication", r.Division = "division", r.Remainder = "remainder", r.Exponentiation = "exponentiation", r))(it || {}), ke = /* @__PURE__ */ ((r) => (r.Join = "string-join", r.Split = "string-split", r.DeleteLast = "string-delete-last", r.DeleteFirst = "string-delete-first", r.DeleteIndex = "string-delete-index", r.AddIndex = "string-add-index", r.ReplaceFirst = "string-replace-first", r.ReplaceLast = "string-replace-last", r.ReplaceIndex = "string-replace-index", r.ReplaceSingleMatch = "string-replace-single-match", r.ReplaceAllMatches = "string-replace-all-matches", r.GetIndex = "string-get-index", r.GetFirst = "string-get-first", r.GetLast = "string-get-last", r.Append = "string-append", r.Prepend = "string-prepend", r))(ke || {}), he = /* @__PURE__ */ ((r) => (r.Join = "list-join", r.Split = "list-split", r.DeleteLast = "list-delete-last", r.DeleteFirst = "list-delete-first", r.DeleteIndex = "list-delete-index", r.AddIndex = "list-add-index", r.ReplaceFirst = "list-replace-first", r.ReplaceLast = "list-replace-last", r.ReplaceIndex = "list-replace-index", r.ReplaceSingleMatch = "list-replace-single-match", r.ReplaceAllMatches = "list-replace-all-matches", r.GetIndex = "list-get-index", r.GetFirst = "list-get-first", r.GetLast = "list-get-last", r.Append = "list-append", r.Prepend = "list-prepend", r))(he || {}), et = /* @__PURE__ */ ((r) => (r.Parallel = "parallel", r.Sequential = "sequential", r.Wait = "wait", r))(et || {}), Qe = /* @__PURE__ */ ((r) => (r.CreateNewInstance = "create-new-instance", r.Validate = "validate", r))(Qe || {}), Ft = /* @__PURE__ */ ((r) => (r.HttpRequest = "base-http-request", r))(Ft || {}), ft = /* @__PURE__ */ ((r) => (r.Equal = "equal", r.NotEqual = "not-equal", r.And = "and", r.Or = "or", r.LessThan = "less-than", r.MoreThan = "more-than", r.LessThanOrEqual = "less-than-or-equal", r.MoreThanOrEqual = "more-than-or-equal", r))(ft || {}), Ci = /* @__PURE__ */ ((r) => (r.Empty = "empty", r.NotEmpty = "not-empty", r))(Ci || {}), ee = /* @__PURE__ */ ((r) => (r.ManualFlow = "manual-flow-loop", r.Counted = "counted-loop", r.List = "list-loop", r.ObjectKeys = "object-keys-loop", r.ObjectValues = "object-values-loop", r.String = "string-loop", r))(ee || {}), B = /* @__PURE__ */ ((r) => (r.FixedArguments = "fixed-arguments", r.FixedReturns = "fixed-returns", r.ReturnedError = "returned-error", r.OngoingProcessExecution = "ongoing-process-execution", r.DynamicArgument = "dynamic-argument-types", r.DynamicReturn = "dynamic-return-types", r))(B || {}), wt = /* @__PURE__ */ ((r) => (r.OrDataTypeGroup = "or-data-type-group", r.AndDataTypeGroup = "and-data-type-group", r))(wt || {}), yr = /* @__PURE__ */ ((r) => (r.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", r))(yr || {}), Ei = /* @__PURE__ */ ((r) => (r.DeletePersistedEntity = "base-delete-persisted-entity", r.SoftDeletePersistedEntity = "base-soft-delete-persisted-entity", r.AbortExecution = "base-abort-execution", r))(Ei || {}), Rs = /* @__PURE__ */ ((r) => (r.Error = "error", r.Task = "task", r.Return = "return", r))(Rs || {});
4
+ var n = /* @__PURE__ */ ((r) => (r.DefinitionEntity = "definition-entity", r.BuiltInBaseEntity = "built-in-base-entity", r.Project = "project", r.InstalledProject = "installed-project", r.GlobalEvent = "global-event", r.DataType = "data-type", r.FunctionCall = "function-call", r.FunctionDeclaration = "function-declaration", r.ActionDescriptor = "action-descriptor", r.ValueDescriptor = "value-descriptor", r.ArgumentDeclaration = "argument-declaration", r.InputMap = "input-map", r.ReturnStatement = "return-statement", r.BreakStatement = "break-statement", r.ContinueStatement = "continue-statement", r.ReturnDeclaration = "return-declaration", r.OutputMap = "output-map", r.PrimitiveEntity = "primitive-entity", r.LiteralValue = "literal-value", r.Property = "property", r.Operation = "operation", r.Condition = "condition", r.VariableDeclaration = "variable-declaration", r.VariableInstance = "variable-instance", r.Search = "search", r.Loop = "loop", r.InternalCall = "internal-call", r.GenericReference = "generic-reference", r))(n || {}), Y = /* @__PURE__ */ ((r) => (r.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", r.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", r.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", r.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", r.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", r.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", r))(Y || {}), Tt = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(Tt || {}), N = /* @__PURE__ */ ((r) => (r.EntityTemplate = "entity-template", r.ActionDescriptor = "action-descriptor", r.String = "string", r.Number = "number", r.Boolean = "boolean", r.Null = "null", r.Enum = "enum", r.KeyValue = "key-value", r.Date = "date", r.UUID = "uuid", r.File = "file", r.Untyped = "untyped", r))(N || {}), it = /* @__PURE__ */ ((r) => (r.Addition = "addition", r.Subtraction = "subtraction", r.Multiplication = "multiplication", r.Division = "division", r.Remainder = "remainder", r.Exponentiation = "exponentiation", r))(it || {}), ke = /* @__PURE__ */ ((r) => (r.Join = "string-join", r.Split = "string-split", r.DeleteLast = "string-delete-last", r.DeleteFirst = "string-delete-first", r.DeleteIndex = "string-delete-index", r.AddIndex = "string-add-index", r.ReplaceFirst = "string-replace-first", r.ReplaceLast = "string-replace-last", r.ReplaceIndex = "string-replace-index", r.ReplaceSingleMatch = "string-replace-single-match", r.ReplaceAllMatches = "string-replace-all-matches", r.GetIndex = "string-get-index", r.GetFirst = "string-get-first", r.GetLast = "string-get-last", r.Append = "string-append", r.Prepend = "string-prepend", r))(ke || {}), he = /* @__PURE__ */ ((r) => (r.Join = "list-join", r.Split = "list-split", r.DeleteLast = "list-delete-last", r.DeleteFirst = "list-delete-first", r.DeleteIndex = "list-delete-index", r.AddIndex = "list-add-index", r.ReplaceFirst = "list-replace-first", r.ReplaceLast = "list-replace-last", r.ReplaceIndex = "list-replace-index", r.ReplaceSingleMatch = "list-replace-single-match", r.ReplaceAllMatches = "list-replace-all-matches", r.GetIndex = "list-get-index", r.GetFirst = "list-get-first", r.GetLast = "list-get-last", r.Append = "list-append", r.Prepend = "list-prepend", r))(he || {}), Qe = /* @__PURE__ */ ((r) => (r.Parallel = "parallel", r.Sequential = "sequential", r.Wait = "wait", r))(Qe || {}), et = /* @__PURE__ */ ((r) => (r.CreateNewInstance = "create-new-instance", r.Validate = "validate", r))(et || {}), Ft = /* @__PURE__ */ ((r) => (r.HttpRequest = "base-http-request", r))(Ft || {}), ft = /* @__PURE__ */ ((r) => (r.Equal = "equal", r.NotEqual = "not-equal", r.And = "and", r.Or = "or", r.LessThan = "less-than", r.MoreThan = "more-than", r.LessThanOrEqual = "less-than-or-equal", r.MoreThanOrEqual = "more-than-or-equal", r))(ft || {}), Ci = /* @__PURE__ */ ((r) => (r.Empty = "empty", r.NotEmpty = "not-empty", r))(Ci || {}), ee = /* @__PURE__ */ ((r) => (r.ManualFlow = "manual-flow-loop", r.Counted = "counted-loop", r.List = "list-loop", r.ObjectKeys = "object-keys-loop", r.ObjectValues = "object-values-loop", r.String = "string-loop", r))(ee || {}), B = /* @__PURE__ */ ((r) => (r.FixedArguments = "fixed-arguments", r.FixedReturns = "fixed-returns", r.ReturnedError = "returned-error", r.OngoingProcessExecution = "ongoing-process-execution", r.DynamicArgument = "dynamic-argument-types", r.DynamicReturn = "dynamic-return-types", r))(B || {}), wt = /* @__PURE__ */ ((r) => (r.OrDataTypeGroup = "or-data-type-group", r.AndDataTypeGroup = "and-data-type-group", r))(wt || {}), yr = /* @__PURE__ */ ((r) => (r.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", r))(yr || {}), Ei = /* @__PURE__ */ ((r) => (r.DeletePersistedEntity = "base-delete-persisted-entity", r.SoftDeletePersistedEntity = "base-soft-delete-persisted-entity", r.AbortExecution = "base-abort-execution", r))(Ei || {}), Rs = /* @__PURE__ */ ((r) => (r.Error = "error", r.Task = "task", r.Return = "return", r))(Rs || {});
5
5
  const $r = [
6
6
  n.VariableDeclaration,
7
7
  n.VariableInstance,
@@ -462,8 +462,8 @@ const g = {
462
462
  }
463
463
  }
464
464
  },
465
- [Qe.Validate]: {
466
- id: Qe.Validate,
465
+ [et.Validate]: {
466
+ id: et.Validate,
467
467
  inputs: {
468
468
  entityToMatch: {
469
469
  id: "validate-data-entity-to-match-input-id"
@@ -481,8 +481,8 @@ const g = {
481
481
  }
482
482
  }
483
483
  },
484
- [et.Parallel]: {
485
- id: et.Parallel,
484
+ [Qe.Parallel]: {
485
+ id: Qe.Parallel,
486
486
  inputs: {
487
487
  listOfActions: {
488
488
  id: "parallel-execution-list-of-actions-input-id"
@@ -898,10 +898,10 @@ const g = {
898
898
  ar,
899
899
  wr,
900
900
  qs
901
- ], gi = g[n.Operation][it.Addition], Kv = {
901
+ ], ki = g[n.Operation][it.Addition], Kv = {
902
902
  type: n.GenericReference,
903
903
  id: "3bd4aeb2-e3b7-4120-b289-011ebb03dba5",
904
- entityId: gi.inputs.firstSummand.id,
904
+ entityId: ki.inputs.firstSummand.id,
905
905
  version: "1",
906
906
  entityType: n.ValueDescriptor
907
907
  }, Xv = {
@@ -929,7 +929,7 @@ const g = {
929
929
  }, Qv = {
930
930
  type: n.GenericReference,
931
931
  id: "9f486db2-a983-4293-9eef-81d4fc8d2d3e",
932
- entityId: gi.inputs.secondSummand.id,
932
+ entityId: ki.inputs.secondSummand.id,
933
933
  version: "1",
934
934
  entityType: n.ValueDescriptor
935
935
  }, eT = {
@@ -957,7 +957,7 @@ const g = {
957
957
  }, tT = {
958
958
  type: n.GenericReference,
959
959
  id: "da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",
960
- entityId: gi.outputs.result.id,
960
+ entityId: ki.outputs.result.id,
961
961
  version: "1",
962
962
  entityType: n.ValueDescriptor
963
963
  }, iT = {
@@ -966,7 +966,7 @@ const g = {
966
966
  interactiveEntities: !1,
967
967
  actionEntities: !1,
968
968
  inferred: !1,
969
- id: gi.outputs.result.dataType.id,
969
+ id: ki.outputs.result.dataType.id,
970
970
  type: n.DataType,
971
971
  parentRelationType: null,
972
972
  options: null,
@@ -989,7 +989,7 @@ const g = {
989
989
  version: "1",
990
990
  entityType: n.ActionDescriptor
991
991
  }, Kp = {
992
- id: gi.inputs.firstSummand.id,
992
+ id: ki.inputs.firstSummand.id,
993
993
  type: n.ValueDescriptor,
994
994
  version: "1",
995
995
  createdAt: "2024-01-01T00:00:00.000Z",
@@ -1011,7 +1011,7 @@ const g = {
1011
1011
  version: "1",
1012
1012
  entityType: n.ActionDescriptor
1013
1013
  }, Xp = {
1014
- id: gi.inputs.secondSummand.id,
1014
+ id: ki.inputs.secondSummand.id,
1015
1015
  type: n.ValueDescriptor,
1016
1016
  description: "The second number to add",
1017
1017
  version: "1",
@@ -1034,7 +1034,7 @@ const g = {
1034
1034
  entityType: n.ActionDescriptor
1035
1035
  }, ec = {
1036
1036
  parentRelationType: B.FixedReturns,
1037
- id: gi.outputs.result.id,
1037
+ id: ki.outputs.result.id,
1038
1038
  type: n.ValueDescriptor,
1039
1039
  description: "The result number of the addition",
1040
1040
  version: "1",
@@ -1056,7 +1056,7 @@ const g = {
1056
1056
  entityType: n.ActionDescriptor
1057
1057
  }, aT = {
1058
1058
  parentRelationType: B.FixedReturns,
1059
- id: gi.outputs.error.id,
1059
+ id: ki.outputs.error.id,
1060
1060
  type: n.ValueDescriptor,
1061
1061
  version: "1",
1062
1062
  createdAt: "2024-01-01T00:00:00.000Z",
@@ -1073,7 +1073,7 @@ const g = {
1073
1073
  }, oT = {
1074
1074
  type: n.GenericReference,
1075
1075
  id: "number-addition-operation-dynamic-summand-argument-type-parent-ref",
1076
- entityId: gi.inputs.dynamicSummand.id,
1076
+ entityId: ki.inputs.dynamicSummand.id,
1077
1077
  version: "1",
1078
1078
  entityType: n.ValueDescriptor
1079
1079
  }, lT = {
@@ -1100,7 +1100,7 @@ const g = {
1100
1100
  parent: oT
1101
1101
  }, dT = {
1102
1102
  parentRelationType: B.DynamicArgument,
1103
- id: gi.inputs.dynamicSummand.id,
1103
+ id: ki.inputs.dynamicSummand.id,
1104
1104
  type: n.ValueDescriptor,
1105
1105
  description: "A number to add",
1106
1106
  version: "1",
@@ -1132,10 +1132,10 @@ const g = {
1132
1132
  error: aT,
1133
1133
  outputs: [ec],
1134
1134
  parent: null
1135
- }, ki = g[n.Operation][it.Subtraction], uT = {
1135
+ }, Zi = g[n.Operation][it.Subtraction], uT = {
1136
1136
  type: n.GenericReference,
1137
1137
  id: "3bd4aeb2-e3b7-4120-b289-011ebb03dba5",
1138
- entityId: ki.inputs.minuend.id,
1138
+ entityId: Zi.inputs.minuend.id,
1139
1139
  version: "1",
1140
1140
  entityType: n.ValueDescriptor
1141
1141
  }, pT = {
@@ -1163,7 +1163,7 @@ const g = {
1163
1163
  }, cT = {
1164
1164
  type: n.GenericReference,
1165
1165
  id: "9f486db2-a983-4293-9eef-81d4fc8d2d3e",
1166
- entityId: ki.inputs.subtrahend.id,
1166
+ entityId: Zi.inputs.subtrahend.id,
1167
1167
  version: "1",
1168
1168
  entityType: n.ValueDescriptor
1169
1169
  }, fT = {
@@ -1191,7 +1191,7 @@ const g = {
1191
1191
  }, hT = {
1192
1192
  type: n.GenericReference,
1193
1193
  id: "da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",
1194
- entityId: ki.outputs.result.id,
1194
+ entityId: Zi.outputs.result.id,
1195
1195
  version: "1",
1196
1196
  entityType: n.ValueDescriptor
1197
1197
  }, yT = {
@@ -1200,7 +1200,7 @@ const g = {
1200
1200
  interactiveEntities: null,
1201
1201
  actionEntities: null,
1202
1202
  inferred: !1,
1203
- id: ki.outputs.result.dataType.id,
1203
+ id: Zi.outputs.result.dataType.id,
1204
1204
  type: n.DataType,
1205
1205
  parentRelationType: null,
1206
1206
  options: null,
@@ -1223,7 +1223,7 @@ const g = {
1223
1223
  version: "1",
1224
1224
  entityType: n.ActionDescriptor
1225
1225
  }, mT = {
1226
- id: ki.inputs.minuend.id,
1226
+ id: Zi.inputs.minuend.id,
1227
1227
  type: n.ValueDescriptor,
1228
1228
  version: "1",
1229
1229
  createdAt: "2024-01-01T00:00:00.000Z",
@@ -1245,7 +1245,7 @@ const g = {
1245
1245
  version: "1",
1246
1246
  entityType: n.ActionDescriptor
1247
1247
  }, TT = {
1248
- id: ki.inputs.subtrahend.id,
1248
+ id: Zi.inputs.subtrahend.id,
1249
1249
  type: n.ValueDescriptor,
1250
1250
  description: "The second number to substract",
1251
1251
  version: "1",
@@ -1268,7 +1268,7 @@ const g = {
1268
1268
  entityType: n.ActionDescriptor
1269
1269
  }, IT = {
1270
1270
  parentRelationType: B.FixedReturns,
1271
- id: ki.outputs.result.id,
1271
+ id: Zi.outputs.result.id,
1272
1272
  type: n.ValueDescriptor,
1273
1273
  description: "The result number of the subtraction",
1274
1274
  version: "1",
@@ -1290,7 +1290,7 @@ const g = {
1290
1290
  entityType: n.ActionDescriptor
1291
1291
  }, bT = {
1292
1292
  parentRelationType: B.FixedReturns,
1293
- id: ki.outputs.error.id,
1293
+ id: Zi.outputs.error.id,
1294
1294
  type: n.ValueDescriptor,
1295
1295
  version: "1",
1296
1296
  createdAt: "2024-01-01T00:00:00.000Z",
@@ -1307,7 +1307,7 @@ const g = {
1307
1307
  }, RT = {
1308
1308
  type: n.GenericReference,
1309
1309
  id: "number-subtraction-operation-dynamic-subtrahend-argument-type-parent-ref",
1310
- entityId: ki.inputs.dynamicSubtrahend.id,
1310
+ entityId: Zi.inputs.dynamicSubtrahend.id,
1311
1311
  version: "1",
1312
1312
  entityType: n.ValueDescriptor
1313
1313
  }, DT = {
@@ -1333,7 +1333,7 @@ const g = {
1333
1333
  isList: !1,
1334
1334
  parent: RT
1335
1335
  }, OT = {
1336
- id: ki.inputs.dynamicSubtrahend.id,
1336
+ id: Zi.inputs.dynamicSubtrahend.id,
1337
1337
  type: n.ValueDescriptor,
1338
1338
  version: "1",
1339
1339
  createdAt: "2024-01-01T00:00:00.000Z",
@@ -2685,7 +2685,7 @@ const aI = {
2685
2685
  [he.Split]: ac,
2686
2686
  [he.GetLast]: oc,
2687
2687
  [he.Append]: Wl
2688
- }, qn = g[n.Operation][et.Parallel], EI = {
2688
+ }, qn = g[n.Operation][Qe.Parallel], EI = {
2689
2689
  id: "parallel-execution-list-of-functions-blueprint-dynamic-output-parent-ref",
2690
2690
  type: n.GenericReference,
2691
2691
  entityId: "parallel-execution-list-of-functions-blueprint-id",
@@ -2808,7 +2808,7 @@ const aI = {
2808
2808
  }, CI = {
2809
2809
  type: n.GenericReference,
2810
2810
  id: "a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",
2811
- entityId: et.Parallel,
2811
+ entityId: Qe.Parallel,
2812
2812
  version: "1",
2813
2813
  entityType: n.ActionDescriptor
2814
2814
  }, uc = {
@@ -2830,7 +2830,7 @@ const aI = {
2830
2830
  }, _I = {
2831
2831
  type: n.GenericReference,
2832
2832
  id: "caac2bc7-c23c-4f01-9581-a515c2e4637f",
2833
- entityId: et.Parallel,
2833
+ entityId: Qe.Parallel,
2834
2834
  version: "1",
2835
2835
  entityType: n.ActionDescriptor
2836
2836
  }, pc = {
@@ -2852,7 +2852,7 @@ const aI = {
2852
2852
  }, MI = {
2853
2853
  type: n.GenericReference,
2854
2854
  id: "parallel-execution-operation-error-parent-ref",
2855
- entityId: et.Parallel,
2855
+ entityId: Qe.Parallel,
2856
2856
  version: "1",
2857
2857
  entityType: n.ActionDescriptor
2858
2858
  }, BI = {
@@ -2872,7 +2872,7 @@ const aI = {
2872
2872
  parent: MI,
2873
2873
  parentRelationType: B.ReturnedError
2874
2874
  }, Ui = {
2875
- id: et.Parallel,
2875
+ id: Qe.Parallel,
2876
2876
  type: n.ActionDescriptor,
2877
2877
  description: "Execute a list of actions in parallel",
2878
2878
  version: "1",
@@ -2880,7 +2880,7 @@ const aI = {
2880
2880
  author: "1",
2881
2881
  previousVersion: null,
2882
2882
  deleted: !1,
2883
- name: et.Parallel,
2883
+ name: Qe.Parallel,
2884
2884
  inputs: [uc],
2885
2885
  outputs: [pc],
2886
2886
  error: BI,
@@ -2921,7 +2921,7 @@ const jI = {
2921
2921
  id: "a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",
2922
2922
  version: "1",
2923
2923
  entityType: n.ActionDescriptor,
2924
- entityId: et.Wait
2924
+ entityId: Qe.Wait
2925
2925
  }, Wn = {
2926
2926
  id: "wait-milliseconds-number-argument-declaration",
2927
2927
  type: n.ValueDescriptor,
@@ -2941,7 +2941,7 @@ const jI = {
2941
2941
  }, $I = {
2942
2942
  type: n.GenericReference,
2943
2943
  id: "wait-operation-error-parent-ref",
2944
- entityId: et.Wait,
2944
+ entityId: Qe.Wait,
2945
2945
  version: "1",
2946
2946
  entityType: n.ActionDescriptor
2947
2947
  }, GI = {
@@ -2961,7 +2961,7 @@ const jI = {
2961
2961
  parent: $I,
2962
2962
  parentRelationType: B.ReturnedError
2963
2963
  }, ei = {
2964
- id: et.Wait,
2964
+ id: Qe.Wait,
2965
2965
  type: n.ActionDescriptor,
2966
2966
  description: "Wait for the given amount of milliseconds before calling the next entity",
2967
2967
  version: "1",
@@ -2969,7 +2969,7 @@ const jI = {
2969
2969
  author: "1",
2970
2970
  previousVersion: null,
2971
2971
  deleted: !1,
2972
- name: et.Wait,
2972
+ name: Qe.Wait,
2973
2973
  inputs: [Wn],
2974
2974
  outputs: [],
2975
2975
  error: GI,
@@ -3083,7 +3083,7 @@ const kI = {
3083
3083
  }, HI = {
3084
3084
  type: n.GenericReference,
3085
3085
  id: "parallel-execution-operation-list-of-functions-argument-parent-ref",
3086
- entityId: et.Sequential,
3086
+ entityId: Qe.Sequential,
3087
3087
  version: "1",
3088
3088
  entityType: n.ActionDescriptor
3089
3089
  }, cc = {
@@ -3105,7 +3105,7 @@ const kI = {
3105
3105
  }, SI = {
3106
3106
  type: n.GenericReference,
3107
3107
  id: "parallel-execution-operation-list-of-execution-results-return-parent-ref",
3108
- entityId: et.Sequential,
3108
+ entityId: Qe.Sequential,
3109
3109
  version: "1",
3110
3110
  entityType: n.ActionDescriptor
3111
3111
  }, fc = {
@@ -3127,7 +3127,7 @@ const kI = {
3127
3127
  }, KI = {
3128
3128
  type: n.GenericReference,
3129
3129
  id: "sequential-execution-operation-error-parent-ref",
3130
- entityId: et.Sequential,
3130
+ entityId: Qe.Sequential,
3131
3131
  version: "1",
3132
3132
  entityType: n.ActionDescriptor
3133
3133
  }, XI = {
@@ -3147,7 +3147,7 @@ const kI = {
3147
3147
  parent: KI,
3148
3148
  parentRelationType: B.ReturnedError
3149
3149
  }, cr = {
3150
- id: et.Sequential,
3150
+ id: Qe.Sequential,
3151
3151
  type: n.ActionDescriptor,
3152
3152
  description: "Execute a list of actions one after the other",
3153
3153
  version: "1",
@@ -3155,21 +3155,21 @@ const kI = {
3155
3155
  author: "1",
3156
3156
  previousVersion: null,
3157
3157
  deleted: !1,
3158
- name: et.Sequential,
3158
+ name: Qe.Sequential,
3159
3159
  inputs: [cc],
3160
3160
  outputs: [fc],
3161
3161
  error: XI,
3162
3162
  parent: null
3163
3163
  }, QI = {
3164
- [et.Parallel]: Ui,
3165
- [et.Wait]: ei,
3166
- [et.Sequential]: cr
3164
+ [Qe.Parallel]: Ui,
3165
+ [Qe.Wait]: ei,
3166
+ [Qe.Sequential]: cr
3167
3167
  };
3168
3168
  var eA = /* @__PURE__ */ ((r) => (r.EntityToInstanciate = "entity-to-instanciate-argument-declaration", r.NewEntityData = "new-entity-data-argument-declaration", r))(eA || {}), tA = /* @__PURE__ */ ((r) => (r.Error = "create-new-instance-error-return-delaration", r))(tA || {});
3169
3169
  const iA = {
3170
3170
  type: n.GenericReference,
3171
3171
  id: "new-entity-data-argument-declaration-parent-ref",
3172
- entityId: Qe.CreateNewInstance,
3172
+ entityId: et.CreateNewInstance,
3173
3173
  version: "1",
3174
3174
  entityType: n.ActionDescriptor
3175
3175
  }, rA = {
@@ -3252,7 +3252,7 @@ const iA = {
3252
3252
  id: "create-new-instance-operation-ref",
3253
3253
  version: "1",
3254
3254
  entityType: n.ActionDescriptor,
3255
- entityId: Qe.CreateNewInstance
3255
+ entityId: et.CreateNewInstance
3256
3256
  }, dA = {
3257
3257
  id: "entity-to-instanciate-argument-declaration",
3258
3258
  type: n.ValueDescriptor,
@@ -3272,7 +3272,7 @@ const iA = {
3272
3272
  }, uA = {
3273
3273
  type: n.GenericReference,
3274
3274
  id: "create-new-instance-output-entity-declaration-parent-ref",
3275
- entityId: Qe.CreateNewInstance,
3275
+ entityId: et.CreateNewInstance,
3276
3276
  version: "1",
3277
3277
  entityType: n.ActionDescriptor
3278
3278
  }, pA = {
@@ -3294,7 +3294,7 @@ const iA = {
3294
3294
  }, cA = {
3295
3295
  type: n.GenericReference,
3296
3296
  id: "create-new-instance-error-parent-ref",
3297
- entityId: Qe.CreateNewInstance,
3297
+ entityId: et.CreateNewInstance,
3298
3298
  version: "1",
3299
3299
  entityType: n.ActionDescriptor
3300
3300
  }, fA = {
@@ -3314,7 +3314,7 @@ const iA = {
3314
3314
  index: 1,
3315
3315
  parent: cA
3316
3316
  }, zn = {
3317
- id: Qe.CreateNewInstance,
3317
+ id: et.CreateNewInstance,
3318
3318
  type: n.ActionDescriptor,
3319
3319
  description: "Creates a new copy of a given entity, with the given values for each property, or default values if a value is not provided",
3320
3320
  version: "1",
@@ -3322,7 +3322,7 @@ const iA = {
3322
3322
  author: "1",
3323
3323
  previousVersion: null,
3324
3324
  deleted: !1,
3325
- name: Qe.CreateNewInstance,
3325
+ name: et.CreateNewInstance,
3326
3326
  inputs: [
3327
3327
  dA,
3328
3328
  sA
@@ -3330,7 +3330,7 @@ const iA = {
3330
3330
  outputs: [pA],
3331
3331
  error: fA,
3332
3332
  parent: null
3333
- }, Yn = g[n.Operation][Qe.Validate], hA = {
3333
+ }, Yn = g[n.Operation][et.Validate], hA = {
3334
3334
  type: n.GenericReference,
3335
3335
  id: "validate-data-operation-data-to-validate-argument-declaration-ref",
3336
3336
  version: "1",
@@ -3363,7 +3363,7 @@ const iA = {
3363
3363
  id: "validate-data-operation-data-to-validate-argument-parent-ref",
3364
3364
  version: "1",
3365
3365
  entityType: n.ActionDescriptor,
3366
- entityId: Qe.Validate
3366
+ entityId: et.Validate
3367
3367
  }, vA = {
3368
3368
  id: Yn.inputs.dataToValidate.id,
3369
3369
  type: n.ValueDescriptor,
@@ -3413,7 +3413,7 @@ const iA = {
3413
3413
  id: "validate-data-operation-entity-to-match-type-argument-parent-ref",
3414
3414
  version: "1",
3415
3415
  entityType: n.ActionDescriptor,
3416
- entityId: Qe.Validate
3416
+ entityId: et.Validate
3417
3417
  }, AA = {
3418
3418
  id: Yn.inputs.entityToMatch.id,
3419
3419
  type: n.ValueDescriptor,
@@ -3433,7 +3433,7 @@ const iA = {
3433
3433
  }, bA = {
3434
3434
  type: n.GenericReference,
3435
3435
  id: "validate-data-operation-output-entity-declaration-parent-ref",
3436
- entityId: Qe.Validate,
3436
+ entityId: et.Validate,
3437
3437
  version: "1",
3438
3438
  entityType: n.ActionDescriptor
3439
3439
  }, RA = {
@@ -3455,7 +3455,7 @@ const iA = {
3455
3455
  }, DA = {
3456
3456
  type: n.GenericReference,
3457
3457
  id: "wait-operation-error-parent-ref",
3458
- entityId: Qe.Validate,
3458
+ entityId: et.Validate,
3459
3459
  version: "1",
3460
3460
  entityType: n.ActionDescriptor
3461
3461
  }, OA = {
@@ -3475,7 +3475,7 @@ const iA = {
3475
3475
  parent: DA,
3476
3476
  parentRelationType: B.ReturnedError
3477
3477
  }, Hn = {
3478
- id: Qe.Validate,
3478
+ id: et.Validate,
3479
3479
  type: n.ActionDescriptor,
3480
3480
  description: "Validates the given data to see if it matches the structure of a given type/entity",
3481
3481
  version: "1",
@@ -3483,7 +3483,7 @@ const iA = {
3483
3483
  author: "1",
3484
3484
  previousVersion: null,
3485
3485
  deleted: !1,
3486
- name: Qe.Validate,
3486
+ name: et.Validate,
3487
3487
  inputs: [
3488
3488
  AA,
3489
3489
  vA
@@ -3492,8 +3492,8 @@ const iA = {
3492
3492
  error: OA,
3493
3493
  parent: null
3494
3494
  }, wA = {
3495
- [Qe.CreateNewInstance]: zn,
3496
- [Qe.Validate]: Hn
3495
+ [et.CreateNewInstance]: zn,
3496
+ [et.Validate]: Hn
3497
3497
  }, It = g[n.Operation]["base-http-request"], PA = {
3498
3498
  type: n.GenericReference,
3499
3499
  id: "d87cf943-57e1-4d19-9f05-190fa8c8ebc4",
@@ -7365,7 +7365,7 @@ const H = ze.arrayToEnum([
7365
7365
  "never",
7366
7366
  "map",
7367
7367
  "set"
7368
- ]), Yi = (r) => {
7368
+ ]), Hi = (r) => {
7369
7369
  switch (typeof r) {
7370
7370
  case "undefined":
7371
7371
  return H.undefined;
@@ -7631,7 +7631,7 @@ var re;
7631
7631
  r.errToObj = (a) => typeof a == "string" ? { message: a } : a || {}, r.toString = (a) => typeof a == "string" ? a : a == null ? void 0 : a.message;
7632
7632
  })(re || (re = {}));
7633
7633
  var As, bs;
7634
- class xi {
7634
+ class $i {
7635
7635
  constructor(a, e, t, i) {
7636
7636
  this._cachedPath = [], this.parent = a, this.data = e, this._path = t, this._key = i;
7637
7637
  }
@@ -7671,13 +7671,13 @@ class Ze {
7671
7671
  return this._def.description;
7672
7672
  }
7673
7673
  _getType(a) {
7674
- return Yi(a.data);
7674
+ return Hi(a.data);
7675
7675
  }
7676
7676
  _getOrReturnCtx(a, e) {
7677
7677
  return e || {
7678
7678
  common: a.parent.common,
7679
7679
  data: a.data,
7680
- parsedType: Yi(a.data),
7680
+ parsedType: Hi(a.data),
7681
7681
  schemaErrorMap: this._def.errorMap,
7682
7682
  path: a.path,
7683
7683
  parent: a.parent
@@ -7689,7 +7689,7 @@ class Ze {
7689
7689
  ctx: {
7690
7690
  common: a.parent.common,
7691
7691
  data: a.data,
7692
- parsedType: Yi(a.data),
7692
+ parsedType: Hi(a.data),
7693
7693
  schemaErrorMap: this._def.errorMap,
7694
7694
  path: a.path,
7695
7695
  parent: a.parent
@@ -7724,7 +7724,7 @@ class Ze {
7724
7724
  schemaErrorMap: this._def.errorMap,
7725
7725
  parent: null,
7726
7726
  data: a,
7727
- parsedType: Yi(a)
7727
+ parsedType: Hi(a)
7728
7728
  }, s = this._parseSync({ data: a, path: i.path, parent: i });
7729
7729
  return Ep(i, s);
7730
7730
  }
@@ -7739,7 +7739,7 @@ class Ze {
7739
7739
  schemaErrorMap: this._def.errorMap,
7740
7740
  parent: null,
7741
7741
  data: a,
7742
- parsedType: Yi(a)
7742
+ parsedType: Hi(a)
7743
7743
  };
7744
7744
  if (!this["~standard"].async)
7745
7745
  try {
@@ -7778,7 +7778,7 @@ class Ze {
7778
7778
  schemaErrorMap: this._def.errorMap,
7779
7779
  parent: null,
7780
7780
  data: a,
7781
- parsedType: Yi(a)
7781
+ parsedType: Hi(a)
7782
7782
  }, i = this._parse({ data: a, path: t.path, parent: t }), s = await (ws(i) ? i : Promise.resolve(i));
7783
7783
  return Ep(t, s);
7784
7784
  }
@@ -8855,8 +8855,8 @@ class Vi extends Ze {
8855
8855
  exact: !1,
8856
8856
  message: i.maxLength.message
8857
8857
  }), t.dirty()), e.common.async)
8858
- return Promise.all([...e.data].map((l, o) => i.type._parseAsync(new xi(e, l, e.path, o)))).then((l) => gt.mergeArray(t, l));
8859
- const s = [...e.data].map((l, o) => i.type._parseSync(new xi(e, l, e.path, o)));
8858
+ return Promise.all([...e.data].map((l, o) => i.type._parseAsync(new $i(e, l, e.path, o)))).then((l) => gt.mergeArray(t, l));
8859
+ const s = [...e.data].map((l, o) => i.type._parseSync(new $i(e, l, e.path, o)));
8860
8860
  return gt.mergeArray(t, s);
8861
8861
  }
8862
8862
  get element() {
@@ -8907,7 +8907,7 @@ function Nn(r) {
8907
8907
  return r instanceof Vi ? new Vi({
8908
8908
  ...r._def,
8909
8909
  type: Nn(r.element)
8910
- }) : r instanceof ji ? ji.create(Nn(r.unwrap())) : r instanceof Er ? Er.create(Nn(r.unwrap())) : r instanceof $i ? $i.create(r.items.map((a) => Nn(a))) : r;
8910
+ }) : r instanceof ji ? ji.create(Nn(r.unwrap())) : r instanceof Er ? Er.create(Nn(r.unwrap())) : r instanceof Gi ? Gi.create(r.items.map((a) => Nn(a))) : r;
8911
8911
  }
8912
8912
  class mt extends Ze {
8913
8913
  constructor() {
@@ -8937,7 +8937,7 @@ class mt extends Ze {
8937
8937
  const h = s[u], c = i.data[u];
8938
8938
  d.push({
8939
8939
  key: { status: "valid", value: u },
8940
- value: h._parse(new xi(i, c, i.path, u)),
8940
+ value: h._parse(new $i(i, c, i.path, u)),
8941
8941
  alwaysSet: u in i.data
8942
8942
  });
8943
8943
  }
@@ -8963,7 +8963,7 @@ class mt extends Ze {
8963
8963
  d.push({
8964
8964
  key: { status: "valid", value: h },
8965
8965
  value: u._parse(
8966
- new xi(i, c, i.path, h)
8966
+ new $i(i, c, i.path, h)
8967
8967
  //, ctx.child(key), value, getParsedType(value)
8968
8968
  ),
8969
8969
  alwaysSet: h in i.data
@@ -9270,7 +9270,7 @@ _s.create = (r, a) => new _s({
9270
9270
  typeName: pe.ZodUnion,
9271
9271
  ...ve(a)
9272
9272
  });
9273
- const zi = (r) => r instanceof Ns ? zi(r.schema) : r instanceof _i ? zi(r.innerType()) : r instanceof Us ? [r.value] : r instanceof Tr ? r.options : r instanceof js ? ze.objectValues(r.enum) : r instanceof Ls ? zi(r._def.innerType) : r instanceof Vs ? [void 0] : r instanceof Cs ? [null] : r instanceof ji ? [void 0, ...zi(r.unwrap())] : r instanceof Er ? [null, ...zi(r.unwrap())] : r instanceof yd || r instanceof $s ? zi(r.unwrap()) : r instanceof xs ? zi(r._def.innerType) : [];
9273
+ const Yi = (r) => r instanceof Ns ? Yi(r.schema) : r instanceof _i ? Yi(r.innerType()) : r instanceof Us ? [r.value] : r instanceof Tr ? r.options : r instanceof js ? ze.objectValues(r.enum) : r instanceof Ls ? Yi(r._def.innerType) : r instanceof Vs ? [void 0] : r instanceof Cs ? [null] : r instanceof ji ? [void 0, ...Yi(r.unwrap())] : r instanceof Er ? [null, ...Yi(r.unwrap())] : r instanceof yd || r instanceof $s ? Yi(r.unwrap()) : r instanceof xs ? Yi(r._def.innerType) : [];
9274
9274
  class no extends Ze {
9275
9275
  _parse(a) {
9276
9276
  const { ctx: e } = this._processInputParams(a);
@@ -9315,7 +9315,7 @@ class no extends Ze {
9315
9315
  static create(a, e, t) {
9316
9316
  const i = /* @__PURE__ */ new Map();
9317
9317
  for (const s of e) {
9318
- const l = zi(s.shape[a]);
9318
+ const l = Yi(s.shape[a]);
9319
9319
  if (!l.length)
9320
9320
  throw new Error(`A discriminator value for key \`${a}\` could not be extracted from all schema options`);
9321
9321
  for (const o of l) {
@@ -9334,7 +9334,7 @@ class no extends Ze {
9334
9334
  }
9335
9335
  }
9336
9336
  function Rl(r, a) {
9337
- const e = Yi(r), t = Yi(a);
9337
+ const e = Hi(r), t = Hi(a);
9338
9338
  if (r === a)
9339
9339
  return { valid: !0, data: r };
9340
9340
  if (e === H.object && t === H.object) {
@@ -9398,7 +9398,7 @@ Ms.create = (r, a, e) => new Ms({
9398
9398
  typeName: pe.ZodIntersection,
9399
9399
  ...ve(e)
9400
9400
  });
9401
- class $i extends Ze {
9401
+ class Gi extends Ze {
9402
9402
  _parse(a) {
9403
9403
  const { status: e, ctx: t } = this._processInputParams(a);
9404
9404
  if (t.parsedType !== H.array)
@@ -9424,7 +9424,7 @@ class $i extends Ze {
9424
9424
  }), e.dirty());
9425
9425
  const s = [...t.data].map((l, o) => {
9426
9426
  const d = this._def.items[o] || this._def.rest;
9427
- return d ? d._parse(new xi(t, l, t.path, o)) : null;
9427
+ return d ? d._parse(new $i(t, l, t.path, o)) : null;
9428
9428
  }).filter((l) => !!l);
9429
9429
  return t.common.async ? Promise.all(s).then((l) => gt.mergeArray(e, l)) : gt.mergeArray(e, s);
9430
9430
  }
@@ -9432,16 +9432,16 @@ class $i extends Ze {
9432
9432
  return this._def.items;
9433
9433
  }
9434
9434
  rest(a) {
9435
- return new $i({
9435
+ return new Gi({
9436
9436
  ...this._def,
9437
9437
  rest: a
9438
9438
  });
9439
9439
  }
9440
9440
  }
9441
- $i.create = (r, a) => {
9441
+ Gi.create = (r, a) => {
9442
9442
  if (!Array.isArray(r))
9443
9443
  throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
9444
- return new $i({
9444
+ return new Gi({
9445
9445
  items: r,
9446
9446
  typeName: pe.ZodTuple,
9447
9447
  rest: null,
@@ -9466,8 +9466,8 @@ class Bs extends Ze {
9466
9466
  const i = [], s = this._def.keyType, l = this._def.valueType;
9467
9467
  for (const o in t.data)
9468
9468
  i.push({
9469
- key: s._parse(new xi(t, o, t.path, o)),
9470
- value: l._parse(new xi(t, t.data[o], t.path, o)),
9469
+ key: s._parse(new $i(t, o, t.path, o)),
9470
+ value: l._parse(new $i(t, t.data[o], t.path, o)),
9471
9471
  alwaysSet: o in t.data
9472
9472
  });
9473
9473
  return t.common.async ? gt.mergeObjectAsync(e, i) : gt.mergeObjectSync(e, i);
@@ -9505,8 +9505,8 @@ class $a extends Ze {
9505
9505
  received: t.parsedType
9506
9506
  }), fe;
9507
9507
  const i = this._def.keyType, s = this._def.valueType, l = [...t.data.entries()].map(([o, d], u) => ({
9508
- key: i._parse(new xi(t, o, t.path, [u, "key"])),
9509
- value: s._parse(new xi(t, d, t.path, [u, "value"]))
9508
+ key: i._parse(new $i(t, o, t.path, [u, "key"])),
9509
+ value: s._parse(new $i(t, d, t.path, [u, "value"]))
9510
9510
  }));
9511
9511
  if (t.common.async) {
9512
9512
  const o = /* @__PURE__ */ new Map();
@@ -9572,7 +9572,7 @@ class Zr extends Ze {
9572
9572
  }
9573
9573
  return { status: e.value, value: u };
9574
9574
  }
9575
- const o = [...t.data.values()].map((d, u) => s._parse(new xi(t, d, t.path, u)));
9575
+ const o = [...t.data.values()].map((d, u) => s._parse(new $i(t, d, t.path, u)));
9576
9576
  return t.common.async ? Promise.all(o).then((d) => l(d)) : l(o);
9577
9577
  }
9578
9578
  min(a, e) {
@@ -9678,7 +9678,7 @@ class xn extends Ze {
9678
9678
  args(...a) {
9679
9679
  return new xn({
9680
9680
  ...this._def,
9681
- args: $i.create(a).rest(Gr.create())
9681
+ args: Gi.create(a).rest(Gr.create())
9682
9682
  });
9683
9683
  }
9684
9684
  returns(a) {
@@ -9695,7 +9695,7 @@ class xn extends Ze {
9695
9695
  }
9696
9696
  static create(a, e, t) {
9697
9697
  return new xn({
9698
- args: a || $i.create([]).rest(Gr.create()),
9698
+ args: a || Gi.create([]).rest(Gr.create()),
9699
9699
  returns: e || Gr.create(),
9700
9700
  typeName: pe.ZodFunction,
9701
9701
  ...ve(t)
@@ -10142,7 +10142,7 @@ var pe;
10142
10142
  })(pe || (pe = {}));
10143
10143
  const hO = (r, a = {
10144
10144
  message: `Input not instance of ${r.name}`
10145
- }) => Kc((e) => e instanceof r, a), Fa = Pi.create, md = mr.create, yO = Ga.create, mO = vr.create, vd = Ps.create, Xc = kr.create, vO = La.create, TO = Vs.create, Qc = Cs.create, EO = Fn.create, Pa = Gr.create, IO = er.create, AO = xa.create, bO = Vi.create, ef = mt.create, RO = mt.strictCreate, DO = _s.create, OO = no.create, wO = Ms.create, PO = $i.create, tf = Bs.create, VO = $a.create, CO = Zr.create, _O = xn.create, MO = Ns.create, BO = Us.create, rf = Tr.create, NO = js.create, UO = gn.create, Ip = _i.create, jO = ji.create, LO = Er.create, xO = _i.createWithPreprocess, $O = ea.create, GO = () => Fa().optional(), FO = () => md().optional(), gO = () => vd().optional(), kO = {
10145
+ }) => Kc((e) => e instanceof r, a), Fa = Pi.create, md = mr.create, yO = Ga.create, mO = vr.create, vd = Ps.create, Xc = kr.create, vO = La.create, TO = Vs.create, Qc = Cs.create, EO = Fn.create, Pa = Gr.create, IO = er.create, AO = xa.create, bO = Vi.create, ef = mt.create, RO = mt.strictCreate, DO = _s.create, OO = no.create, wO = Ms.create, PO = Gi.create, tf = Bs.create, VO = $a.create, CO = Zr.create, _O = xn.create, MO = Ns.create, BO = Us.create, rf = Tr.create, NO = js.create, UO = gn.create, Ip = _i.create, jO = ji.create, LO = Er.create, xO = _i.createWithPreprocess, $O = ea.create, GO = () => Fa().optional(), FO = () => md().optional(), gO = () => vd().optional(), kO = {
10146
10146
  string: (r) => Pi.create({ ...r, coerce: !0 }),
10147
10147
  number: (r) => mr.create({ ...r, coerce: !0 }),
10148
10148
  boolean: (r) => Ps.create({
@@ -10175,7 +10175,7 @@ var m = /* @__PURE__ */ Object.freeze({
10175
10175
  return Il;
10176
10176
  },
10177
10177
  ZodParsedType: H,
10178
- getParsedType: Yi,
10178
+ getParsedType: Hi,
10179
10179
  ZodType: Ze,
10180
10180
  datetimeRegex: Hc,
10181
10181
  ZodString: Pi,
@@ -10195,7 +10195,7 @@ var m = /* @__PURE__ */ Object.freeze({
10195
10195
  ZodUnion: _s,
10196
10196
  ZodDiscriminatedUnion: no,
10197
10197
  ZodIntersection: Ms,
10198
- ZodTuple: $i,
10198
+ ZodTuple: Gi,
10199
10199
  ZodRecord: Bs,
10200
10200
  ZodMap: $a,
10201
10201
  ZodSet: Zr,
@@ -17954,7 +17954,7 @@ const Qj = {
17954
17954
  x: 0,
17955
17955
  y: 0,
17956
17956
  parent: DL
17957
- }, Ro = "manual-hello-world-loop-func-decl-id", eh = "manual-hello-world-loop-func-return-statement-id", Zi = "manual-hello-world-loop-id", aa = "manual-hello-world-loop-body-id", Bd = "manual-hello-world-loop-break-statement-id", oa = "manual-hello-world-loop-current-iteration-number-output-map-id", Nd = "manual-hello-world-loop-previous-iterations-results-output-map-id", Ud = "assembled-hello-world-text-output-id", wL = "assembled-hello-world-list-output-id", la = "iteration-number-is-equal-or-greater-than-10-condition-id", Do = "join-hello-world-and-number-operation-id", Oo = "append-string-to-list-operation-id", th = "hello-world-loop-output-map-id", PL = {
17957
+ }, Ro = "manual-hello-world-loop-func-decl-id", eh = "manual-hello-world-loop-func-return-statement-id", Ji = "manual-hello-world-loop-id", aa = "manual-hello-world-loop-body-id", Bd = "manual-hello-world-loop-break-statement-id", oa = "manual-hello-world-loop-current-iteration-number-output-map-id", Nd = "manual-hello-world-loop-previous-iterations-results-output-map-id", Ud = "assembled-hello-world-text-output-id", wL = "assembled-hello-world-list-output-id", la = "iteration-number-is-equal-or-greater-than-10-condition-id", Do = "join-hello-world-and-number-operation-id", Oo = "append-string-to-list-operation-id", th = "hello-world-loop-output-map-id", PL = {
17958
17958
  type: n.GenericReference,
17959
17959
  id: "manual-hello-world-loop-function-declaration-output-declaration-parent-ref",
17960
17960
  version: "1",
@@ -18018,7 +18018,7 @@ const Qj = {
18018
18018
  id: "manual-hello-world-loop-function-declaration-return-statement-called-by-ref",
18019
18019
  version: "1",
18020
18020
  entityType: n.Loop,
18021
- entityId: Zi
18021
+ entityId: Ji
18022
18022
  }, BL = {
18023
18023
  type: n.GenericReference,
18024
18024
  id: "manual-hello-world-loop-function-declaration-parent-ref",
@@ -18110,7 +18110,7 @@ const Qj = {
18110
18110
  id: "hello-world-loop-break-statement-parent-ref-id",
18111
18111
  version: "1",
18112
18112
  entityType: n.Loop,
18113
- entityId: Zi
18113
+ entityId: Ji
18114
18114
  }, GL = {
18115
18115
  type: n.BreakStatement,
18116
18116
  id: Bd,
@@ -18216,7 +18216,7 @@ const FL = {
18216
18216
  id: "append-string-to-list-parent-ref-id",
18217
18217
  version: "1",
18218
18218
  entityType: n.FunctionDeclaration,
18219
- entityId: Zi
18219
+ entityId: Ji
18220
18220
  }, YL = {
18221
18221
  type: n.Operation,
18222
18222
  id: Oo,
@@ -18308,7 +18308,7 @@ const FL = {
18308
18308
  id: "hello-world-loop-continue-statement-parent-ref-id",
18309
18309
  version: "1",
18310
18310
  entityType: n.Loop,
18311
- entityId: Zi
18311
+ entityId: Ji
18312
18312
  }, tx = {
18313
18313
  type: n.ContinueStatement,
18314
18314
  id: "hello-world-loop-continue-statement",
@@ -18336,7 +18336,7 @@ const FL = {
18336
18336
  id: "iteration-number-is-equal-or-greater-than-10-condition-parent-ref-id",
18337
18337
  version: "1",
18338
18338
  entityType: n.Loop,
18339
- entityId: Zi
18339
+ entityId: Ji
18340
18340
  }, nx = {
18341
18341
  type: n.GenericReference,
18342
18342
  id: "current-iteration-number-to-check-map-reads-value-ref-id",
@@ -18515,7 +18515,7 @@ const FL = {
18515
18515
  id: "join-hello-world-and-number-parent-ref-id",
18516
18516
  version: "1",
18517
18517
  entityType: n.FunctionDeclaration,
18518
- entityId: Zi
18518
+ entityId: Ji
18519
18519
  }, Tx = {
18520
18520
  type: n.Operation,
18521
18521
  id: Do,
@@ -18630,7 +18630,7 @@ const Ox = {
18630
18630
  }, wx = {
18631
18631
  id: "manual-flow-loop-body-parent-ref-id",
18632
18632
  type: n.GenericReference,
18633
- entityId: Zi,
18633
+ entityId: Ji,
18634
18634
  version: "1",
18635
18635
  entityType: n.Loop
18636
18636
  }, Px = {
@@ -18663,7 +18663,7 @@ const Ox = {
18663
18663
  id: "hello-world-loop-iteration-result-inline-output-declaration-parent-ref-id",
18664
18664
  version: "1",
18665
18665
  entityType: n.Loop,
18666
- entityId: Zi
18666
+ entityId: Ji
18667
18667
  }, uh = {
18668
18668
  id: "hello-world-loop-iteration-result-inline-output-declaration-id",
18669
18669
  version: "1",
@@ -18685,7 +18685,7 @@ const Ox = {
18685
18685
  id: "hello-world-loop-break-statement-output-map-parent-ref-id",
18686
18686
  version: "1",
18687
18687
  entityType: n.Loop,
18688
- entityId: Zi
18688
+ entityId: Ji
18689
18689
  }, _x = {
18690
18690
  type: n.OutputMap,
18691
18691
  id: th,
@@ -18712,7 +18712,7 @@ const Ox = {
18712
18712
  version: "1",
18713
18713
  entityType: n.FunctionDeclaration
18714
18714
  }, Nx = {
18715
- id: Zi,
18715
+ id: Ji,
18716
18716
  type: n.Loop,
18717
18717
  version: "1",
18718
18718
  createdAt: "2024-01-01T00:00:00.000Z",
@@ -18786,7 +18786,7 @@ const Ox = {
18786
18786
  x: 0,
18787
18787
  y: 0,
18788
18788
  parent: jx
18789
- }, dr = "company-dto-function-declaration-id", jd = "company-dto-func-declaration-argument-dcl-id", Ji = "company-dto-function-company-variable-id", Cr = "company-dto-function-company-dto-variable-id", is = "iterate-over-employee-list-loop-id", ch = "iterate-over-employee-list-loop-employee-dto-output-map-id", Ld = "iterate-over-employee-list-loop-body-current-employee-argument-declaration-id", wo = "iterate-over-employee-list-loop-body-map-employee-dto-function-call-id", fh = "iterate-over-employee-list-continue-statement-employee-dto-output-decl-id", hh = "iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-dto-output-map-id", yh = "iterate-over-employee-list-continue-statement-id", Po = "iterate-over-employee-list-loop-body-id", mh = "company-dto-func-declaration-return-statement-id", vh = "company-dto-func-declaration-return-decl-id", Th = "company-dto-func-declaration-company-variable-id-output-map-id", Eh = "company-dto-func-declaration-company-variable-employess-output-map-id", Ih = "company-dto-func-declaration-company-variable-name-output-map-id", xx = "company-dto-func-declaration-company-dto-variable-input-map-id", $x = "company-dto-func-declaration-company-dto-variable-employess-input-map-id", Gx = "company-dto-func-declaration-company-dto-variable-name-input-map-id", Vo = "company-dto-func-declaration-owner-variable-id", Fx = "company-dto-func-declaration-company-dto-variable-owner-input-map-id", Ah = "company-dto-func-declaration-company-variable-owner-output-map-id", bh = "company-dto-func-declaration-owner-variable-id-output-map-id", Co = "company-dto-func-declaration-bank-account-variable-id", gx = "company-dto-func-declaration-company-dto-variable-bank-account-input-map-id", Rh = "company-dto-func-declaration-company-variable-bank-account-output-map-id", Dh = "company-dto-func-declaration-bank-account-variable-id-output-map-id", kx = {
18789
+ }, dr = "company-dto-function-declaration-id", jd = "company-dto-func-declaration-argument-dcl-id", qi = "company-dto-function-company-variable-id", Cr = "company-dto-function-company-dto-variable-id", is = "iterate-over-employee-list-loop-id", ch = "iterate-over-employee-list-loop-employee-dto-output-map-id", Ld = "iterate-over-employee-list-loop-body-current-employee-argument-declaration-id", wo = "iterate-over-employee-list-loop-body-map-employee-dto-function-call-id", fh = "iterate-over-employee-list-continue-statement-employee-dto-output-decl-id", hh = "iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-dto-output-map-id", yh = "iterate-over-employee-list-continue-statement-id", Po = "iterate-over-employee-list-loop-body-id", mh = "company-dto-func-declaration-return-statement-id", vh = "company-dto-func-declaration-return-decl-id", Th = "company-dto-func-declaration-company-variable-id-output-map-id", Eh = "company-dto-func-declaration-company-variable-employess-output-map-id", Ih = "company-dto-func-declaration-company-variable-name-output-map-id", xx = "company-dto-func-declaration-company-dto-variable-input-map-id", $x = "company-dto-func-declaration-company-dto-variable-employess-input-map-id", Gx = "company-dto-func-declaration-company-dto-variable-name-input-map-id", Vo = "company-dto-func-declaration-owner-variable-id", Fx = "company-dto-func-declaration-company-dto-variable-owner-input-map-id", Ah = "company-dto-func-declaration-company-variable-owner-output-map-id", bh = "company-dto-func-declaration-owner-variable-id-output-map-id", Co = "company-dto-func-declaration-bank-account-variable-id", gx = "company-dto-func-declaration-company-dto-variable-bank-account-input-map-id", Rh = "company-dto-func-declaration-company-variable-bank-account-output-map-id", Dh = "company-dto-func-declaration-bank-account-variable-id-output-map-id", kx = {
18790
18790
  type: n.GenericReference,
18791
18791
  id: "company-dto-func-company-dto-variable-owner-input-map-reads-value-ref-id",
18792
18792
  version: "1",
@@ -19937,7 +19937,7 @@ const qh = {
19937
19937
  id: "iterate-over-employee-list-loop-called-by-ref-id",
19938
19938
  version: "1",
19939
19939
  entityType: n.VariableDeclaration,
19940
- entityId: Ji
19940
+ entityId: qi
19941
19941
  }, O$ = {
19942
19942
  id: is,
19943
19943
  type: n.Loop,
@@ -20142,7 +20142,7 @@ const Kh = {
20142
20142
  id: "company-dto-func-company-variable-owner-output-map-parent-ref-id",
20143
20143
  version: "1",
20144
20144
  entityType: n.VariableDeclaration,
20145
- entityId: Ji
20145
+ entityId: qi
20146
20146
  }, G$ = {
20147
20147
  id: Ah,
20148
20148
  type: n.OutputMap,
@@ -20161,7 +20161,7 @@ const Kh = {
20161
20161
  id: "company-dto-func-company-variable-bank-account-output-map-parent-ref-id",
20162
20162
  version: "1",
20163
20163
  entityType: n.VariableDeclaration,
20164
- entityId: Ji
20164
+ entityId: qi
20165
20165
  }, g$ = {
20166
20166
  id: Rh,
20167
20167
  type: n.OutputMap,
@@ -20180,7 +20180,7 @@ const Kh = {
20180
20180
  id: "company-dto-func-company-variable-name-output-map-parent-ref-id",
20181
20181
  version: "1",
20182
20182
  entityType: n.VariableDeclaration,
20183
- entityId: Ji
20183
+ entityId: qi
20184
20184
  }, Z$ = {
20185
20185
  id: Ih,
20186
20186
  type: n.OutputMap,
@@ -20199,7 +20199,7 @@ const Kh = {
20199
20199
  id: "company-dto-func-company-variable-employess-output-map-parent-ref-id",
20200
20200
  version: "1",
20201
20201
  entityType: n.VariableDeclaration,
20202
- entityId: Ji
20202
+ entityId: qi
20203
20203
  }, q$ = {
20204
20204
  id: Eh,
20205
20205
  type: n.OutputMap,
@@ -20218,7 +20218,7 @@ const Kh = {
20218
20218
  id: "company-dto-func-company-variable-id-output-map-parent-ref-id",
20219
20219
  version: "1",
20220
20220
  entityType: n.VariableDeclaration,
20221
- entityId: Ji
20221
+ entityId: qi
20222
20222
  }, z$ = {
20223
20223
  id: Th,
20224
20224
  type: n.OutputMap,
@@ -20237,7 +20237,7 @@ const Kh = {
20237
20237
  id: "company-dto-func-company-variable-data-type-parent-ref-id",
20238
20238
  version: "1",
20239
20239
  entityType: n.VariableDeclaration,
20240
- entityId: Ji
20240
+ entityId: qi
20241
20241
  }, H$ = {
20242
20242
  like: !1,
20243
20243
  staticEntities: !1,
@@ -20281,7 +20281,7 @@ const Kh = {
20281
20281
  }, Xh = {
20282
20282
  constant: !0,
20283
20283
  required: !0,
20284
- id: Ji,
20284
+ id: qi,
20285
20285
  type: n.VariableDeclaration,
20286
20286
  version: "1",
20287
20287
  createdAt: "2024-01-01T00:00:00.000Z",
@@ -23318,7 +23318,7 @@ const zg = {
23318
23318
  x: 0,
23319
23319
  y: 0,
23320
23320
  parent: sk
23321
- }, ss = "random-company-employee-test-variable-id", iu = "manager-global-variable-id", gy = "global-user-instance-id", qi = "employee-mapped-dto-variable-id", bn = "employee-mapped-dto-variable-instance-id", ky = "random-employee-id-output-map-id", Zy = "random-employee-birth-date-output-map-id", Jy = "random-employee-department-output-map-id", qy = "random-employee-manager-output-map-id", Wy = "manager-global-id-output-map-id", zy = "global-user-instance-id-output-map-id", ok = "employee-mapped-dto-requester-id-input-map-id", Yy = "employee-mapped-dto-now-timestamp-input-map-id", lk = "employee-mapped-dto-id-input-map-id", dk = "employee-mapped-dto-birth-date-input-map-id", uk = "employee-mapped-dto-department-input-map-id", pk = "employee-mapped-dto-manager-input-map-id", ck = {
23321
+ }, ss = "random-company-employee-test-variable-id", iu = "manager-global-variable-id", gy = "global-user-instance-id", Wi = "employee-mapped-dto-variable-id", bn = "employee-mapped-dto-variable-instance-id", ky = "random-employee-id-output-map-id", Zy = "random-employee-birth-date-output-map-id", Jy = "random-employee-department-output-map-id", qy = "random-employee-manager-output-map-id", Wy = "manager-global-id-output-map-id", zy = "global-user-instance-id-output-map-id", ok = "employee-mapped-dto-requester-id-input-map-id", Yy = "employee-mapped-dto-now-timestamp-input-map-id", lk = "employee-mapped-dto-id-input-map-id", dk = "employee-mapped-dto-birth-date-input-map-id", uk = "employee-mapped-dto-department-input-map-id", pk = "employee-mapped-dto-manager-input-map-id", ck = {
23322
23322
  id: "global-counted-test-loop-iteration-number-input-map-parent-ref-id",
23323
23323
  type: n.GenericReference,
23324
23324
  entityId: tu,
@@ -23464,7 +23464,7 @@ const fk = {
23464
23464
  }, Rk = {
23465
23465
  id: "global-object-keys-test-loop-iteration-object-input-map-reads-value-ref-id",
23466
23466
  type: n.GenericReference,
23467
- entityId: qi,
23467
+ entityId: Wi,
23468
23468
  version: "1",
23469
23469
  entityType: n.VariableDeclaration
23470
23470
  }, Xy = {
@@ -23497,7 +23497,7 @@ const fk = {
23497
23497
  }, wk = {
23498
23498
  id: "global-object-keys-test-loop-called-by-success-ref-one-id",
23499
23499
  type: n.GenericReference,
23500
- entityId: qi,
23500
+ entityId: Wi,
23501
23501
  version: "1",
23502
23502
  entityType: n.VariableDeclaration
23503
23503
  }, nu = {
@@ -24112,7 +24112,7 @@ LIMIT 10 OFFSET 0;`, u9 = {
24112
24112
  id: "employee-mapped-dto-manager-output-map-parent-ref-id",
24113
24113
  version: "1",
24114
24114
  entityType: n.VariableDeclaration,
24115
- entityId: qi
24115
+ entityId: Wi
24116
24116
  }, om = {
24117
24117
  id: pk,
24118
24118
  type: n.InputMap,
@@ -24139,7 +24139,7 @@ LIMIT 10 OFFSET 0;`, u9 = {
24139
24139
  id: "employee-mapped-dto-department-output-map-parent-ref-id",
24140
24140
  version: "1",
24141
24141
  entityType: n.VariableDeclaration,
24142
- entityId: qi
24142
+ entityId: Wi
24143
24143
  }, lm = {
24144
24144
  id: uk,
24145
24145
  type: n.InputMap,
@@ -24166,7 +24166,7 @@ LIMIT 10 OFFSET 0;`, u9 = {
24166
24166
  id: "employee-mapped-dto-birth-date-output-map-parent-ref-id",
24167
24167
  version: "1",
24168
24168
  entityType: n.VariableDeclaration,
24169
- entityId: qi
24169
+ entityId: Wi
24170
24170
  }, dm = {
24171
24171
  id: dk,
24172
24172
  type: n.InputMap,
@@ -24193,7 +24193,7 @@ LIMIT 10 OFFSET 0;`, u9 = {
24193
24193
  id: "employee-mapped-dto-id-output-map-parent-ref-id",
24194
24194
  version: "1",
24195
24195
  entityType: n.VariableDeclaration,
24196
- entityId: qi
24196
+ entityId: Wi
24197
24197
  }, um = {
24198
24198
  id: lk,
24199
24199
  type: n.InputMap,
@@ -24220,7 +24220,7 @@ LIMIT 10 OFFSET 0;`, u9 = {
24220
24220
  id: "employee-mapped-dto-requester-id-output-map-parent-ref-id",
24221
24221
  version: "1",
24222
24222
  entityType: n.VariableDeclaration,
24223
- entityId: qi
24223
+ entityId: Wi
24224
24224
  }, pm = {
24225
24225
  id: ok,
24226
24226
  type: n.InputMap,
@@ -24514,13 +24514,13 @@ LIMIT 10 OFFSET 0;`, u9 = {
24514
24514
  id: "employee-mapped-dto-variable-instance-decl-ref-id",
24515
24515
  version: "1",
24516
24516
  entityType: n.VariableDeclaration,
24517
- entityId: qi
24517
+ entityId: Wi
24518
24518
  }, Y9 = {
24519
24519
  type: n.GenericReference,
24520
24520
  id: "employee-mapped-dto-variable-instance-called-by-success-ref-id",
24521
24521
  version: "1",
24522
24522
  entityType: n.VariableDeclaration,
24523
- entityId: qi
24523
+ entityId: Wi
24524
24524
  }, H9 = {
24525
24525
  type: n.GenericReference,
24526
24526
  id: "employee-mapped-dto-variable-instance-parent-ref-id",
@@ -24559,7 +24559,7 @@ LIMIT 10 OFFSET 0;`, u9 = {
24559
24559
  }, X9 = {
24560
24560
  constant: !0,
24561
24561
  required: !0,
24562
- id: qi,
24562
+ id: Wi,
24563
24563
  type: n.VariableDeclaration,
24564
24564
  version: "1",
24565
24565
  createdAt: "2024-01-01T00:00:00.000Z",
@@ -25649,7 +25649,7 @@ function as() {
25649
25649
  m.record(m.string(), m.any())
25650
25650
  ]);
25651
25651
  }
25652
- function Wi() {
25652
+ function zi() {
25653
25653
  return m.object({
25654
25654
  id: m.string(),
25655
25655
  type: m.literal(n.GenericReference),
@@ -25773,7 +25773,7 @@ function S8() {
25773
25773
  calledByEntry: m.array(Dt()),
25774
25774
  outputs: m.array(tr()),
25775
25775
  throws: m.optional(tr()),
25776
- parent: Wi()
25776
+ parent: zi()
25777
25777
  });
25778
25778
  }
25779
25779
  function K8() {
@@ -25967,7 +25967,7 @@ function l6() {
25967
25967
  calledByEntry: m.array(Dt()),
25968
25968
  outputs: m.array(tr()),
25969
25969
  throws: m.optional(tr()),
25970
- parent: Wi()
25970
+ parent: zi()
25971
25971
  });
25972
25972
  }
25973
25973
  function d6() {
@@ -26026,7 +26026,7 @@ function c6() {
26026
26026
  ]),
26027
26027
  parent: m.union([
26028
26028
  nt(),
26029
- Wi(),
26029
+ zi(),
26030
26030
  ur()
26031
26031
  ])
26032
26032
  });
@@ -26403,7 +26403,7 @@ function N6() {
26403
26403
  parent: m.union([
26404
26404
  nt(),
26405
26405
  Go(),
26406
- Wi(),
26406
+ zi(),
26407
26407
  ur()
26408
26408
  ])
26409
26409
  });
@@ -27085,7 +27085,7 @@ function nt() {
27085
27085
  ma(),
27086
27086
  wn(),
27087
27087
  Ou(),
27088
- Wi()
27088
+ zi()
27089
27089
  ]);
27090
27090
  }
27091
27091
  function Gu() {
@@ -27105,7 +27105,7 @@ function Fu() {
27105
27105
  $o(),
27106
27106
  ma(),
27107
27107
  wn(),
27108
- Wi()
27108
+ zi()
27109
27109
  ]);
27110
27110
  }
27111
27111
  function O3() {
@@ -27206,7 +27206,7 @@ function iW() {
27206
27206
  function Mr() {
27207
27207
  return m.union([
27208
27208
  Dt(),
27209
- Wi()
27209
+ zi()
27210
27210
  ]);
27211
27211
  }
27212
27212
  function rW() {
@@ -27301,7 +27301,7 @@ function uW() {
27301
27301
  ds(),
27302
27302
  ls(),
27303
27303
  ur(),
27304
- Wi(),
27304
+ zi(),
27305
27305
  ma(),
27306
27306
  Fr(),
27307
27307
  Fr(),
@@ -27339,7 +27339,7 @@ function cW() {
27339
27339
  ds(),
27340
27340
  ls(),
27341
27341
  ur(),
27342
- Wi(),
27342
+ zi(),
27343
27343
  ma()
27344
27344
  ]);
27345
27345
  }
@@ -27451,7 +27451,7 @@ function U3() {
27451
27451
  si(),
27452
27452
  ko(),
27453
27453
  Cn(),
27454
- Wi(),
27454
+ zi(),
27455
27455
  xo(),
27456
27456
  Lo()
27457
27457
  ])
@@ -28461,7 +28461,7 @@ function Gp(r, a, e) {
28461
28461
  }
28462
28462
  return !1;
28463
28463
  }
28464
- function Si(r, a, e, t) {
28464
+ function Ki(r, a, e, t) {
28465
28465
  return mi(r) || (r = ys(r)), (typeof e != "number" || t) && (e = 0), A0(r, a, e) >= 0;
28466
28466
  }
28467
28467
  const hZ = ai(function(r, a, e) {
@@ -28580,7 +28580,7 @@ const w0 = ai(function(r, a) {
28580
28580
  }), wZ = ai(function(r, a) {
28581
28581
  var e = a[0], t;
28582
28582
  return Ht(e) ? (e = np(e), a.length > 1 && (t = a[1])) : (a = Jr(Mn(a, !1, !1), String), e = function(i, s) {
28583
- return !Si(a, s);
28583
+ return !Ki(a, s);
28584
28584
  }), w0(r, e, t);
28585
28585
  });
28586
28586
  function P0(r, a, e) {
@@ -28603,7 +28603,7 @@ function CZ(r, a) {
28603
28603
  }
28604
28604
  const V0 = ai(function(r, a) {
28605
28605
  return a = Mn(a, !0, !0), Jn(r, function(e) {
28606
- return !Si(a, e);
28606
+ return !Ki(a, e);
28607
28607
  });
28608
28608
  }), _Z = ai(function(r, a) {
28609
28609
  return V0(r, a);
@@ -28612,7 +28612,7 @@ function Cl(r, a, e, t) {
28612
28612
  $m(a) || (t = e, e = a, a = !1), e != null && (e = li(e, t));
28613
28613
  for (var i = [], s = [], l = 0, o = oi(r); l < o; l++) {
28614
28614
  var d = r[l], u = e ? e(d, l, r) : d;
28615
- a && !e ? ((!l || s !== u) && i.push(d), s = u) : e ? Si(s, u) || (s.push(u), i.push(d)) : Si(i, d) || i.push(d);
28615
+ a && !e ? ((!l || s !== u) && i.push(d), s = u) : e ? Ki(s, u) || (s.push(u), i.push(d)) : Ki(i, d) || i.push(d);
28616
28616
  }
28617
28617
  return i;
28618
28618
  }
@@ -28622,9 +28622,9 @@ const MZ = ai(function(r) {
28622
28622
  function BZ(r) {
28623
28623
  for (var a = [], e = arguments.length, t = 0, i = oi(r); t < i; t++) {
28624
28624
  var s = r[t];
28625
- if (!Si(a, s)) {
28625
+ if (!Ki(a, s)) {
28626
28626
  var l;
28627
- for (l = 1; l < e && Si(arguments[l], s); l++)
28627
+ for (l = 1; l < e && Ki(arguments[l], s); l++)
28628
28628
  ;
28629
28629
  l === e && a.push(s);
28630
28630
  }
@@ -28699,7 +28699,7 @@ const xZ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28699
28699
  compact: VZ,
28700
28700
  compose: lZ,
28701
28701
  constant: Wm,
28702
- contains: Si,
28702
+ contains: Ki,
28703
28703
  countBy: bZ,
28704
28704
  create: L5,
28705
28705
  debounce: aZ,
@@ -28732,8 +28732,8 @@ const xZ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28732
28732
  has: G5,
28733
28733
  head: ul,
28734
28734
  identity: tp,
28735
- include: Si,
28736
- includes: Si,
28735
+ include: Ki,
28736
+ includes: Ki,
28737
28737
  indexBy: AZ,
28738
28738
  indexOf: A0,
28739
28739
  initial: P0,
@@ -29022,19 +29022,19 @@ function FZ(r, a = null) {
29022
29022
  function _0(r, a = null) {
29023
29023
  var t;
29024
29024
  const e = (t = r.declaration) == null ? void 0 : t.getDataType(a);
29025
- return e && e.isResolved ? e : r.readsValue ? Ki(
29025
+ return e && e.isResolved ? e : r.readsValue ? xi(
29026
29026
  r.readsValue,
29027
29027
  a
29028
29028
  ) : null;
29029
29029
  }
29030
29030
  function M0(r, a = null) {
29031
- return r.dataType && !r.dataType.inferred && r.dataType.isResolved ? r.dataType : r.readsValue ? Ki(
29031
+ return r.dataType && !r.dataType.inferred && r.dataType.isResolved ? r.dataType : r.readsValue ? xi(
29032
29032
  r.readsValue,
29033
29033
  a
29034
29034
  ) : null;
29035
29035
  }
29036
29036
  function gZ(r, a = null) {
29037
- return Ki(r.declaration, a);
29037
+ return xi(r.declaration, a);
29038
29038
  }
29039
29039
  function kZ(r, a = null) {
29040
29040
  return r.dataType && !r.dataType.inferred ? r.dataType : r.dataType && r.dataType.inferred || !r.dataType ? (r.inferDataTypeAndSyncInstancesInputsAndOutputs(a), r.dataType) : null;
@@ -29049,7 +29049,7 @@ function ZZ(r, a = null) {
29049
29049
  function JZ(r, a = null) {
29050
29050
  return (r == null ? void 0 : r.dataType) || null;
29051
29051
  }
29052
- function Ki(r, a = null) {
29052
+ function xi(r, a = null) {
29053
29053
  switch (r.type) {
29054
29054
  case n.VariableDeclaration:
29055
29055
  return kZ(r, a);
@@ -29341,15 +29341,15 @@ function SZ(r) {
29341
29341
  return "Add at the end";
29342
29342
  case ke.Prepend:
29343
29343
  return "Add at the start";
29344
- case et.Wait:
29344
+ case Qe.Wait:
29345
29345
  return "Wait";
29346
- case et.Parallel:
29346
+ case Qe.Parallel:
29347
29347
  return "Run in parallel";
29348
- case et.Sequential:
29348
+ case Qe.Sequential:
29349
29349
  return "Run in sequence";
29350
29350
  case Ft.HttpRequest:
29351
29351
  return "HTTP request";
29352
- case Qe.CreateNewInstance:
29352
+ case et.CreateNewInstance:
29353
29353
  return "Create new copy of entity";
29354
29354
  case he.AddIndex:
29355
29355
  return "Add item at index position";
@@ -30135,7 +30135,7 @@ class I {
30135
30135
  const a = [
30136
30136
  ...this.addedIds,
30137
30137
  ...this.updatedIds
30138
- ], e = this.project.toFlatIds(), t = Gi(), i = e.filter(
30138
+ ], e = this.project.toFlatIds(), t = Fi(), i = e.filter(
30139
30139
  (l) => !t.includes(l)
30140
30140
  );
30141
30141
  a.filter(
@@ -30173,7 +30173,7 @@ class I {
30173
30173
  return this.autoclose && this.autoCloseActionName && this.autoCloseActionName === a && (this.self && e === ((t = this.self) == null ? void 0 : t.id) || !this.self) && await this.closeAsync(), this;
30174
30174
  }
30175
30175
  async closeAsync() {
30176
- return !this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], this.discardOrphans(), this.sanitize(), this.recursiveCaptureUpstreamVersions(), this.captureAllChangesInVersionInstances(), this.recursiveCaptureUpstreamVersions(), this.open = !1, this.isEmpty ? (console.warn(`Empty change-set (${this.id}) discarded upon closing.`), this.project.discardChangeSet(this), this.project.closePendingChangeSets(), this) : (await this.project.closeChangeSet(this), this);
30176
+ return !this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], this.discardOrphans(), this.sanitize(), this.recursiveCaptureUpstreamVersions(), this.captureAllChangesInVersionInstances(), this.recursiveCaptureUpstreamVersions(), this.open = !1, this.isEmpty ? (this.project.discardChangeSet(this), this.project.closePendingChangeSets(), this) : (await this.project.closeChangeSet(this), this);
30177
30177
  }
30178
30178
  attemptAutoclose(a, e) {
30179
30179
  var t;
@@ -30217,7 +30217,7 @@ class I {
30217
30217
  }
30218
30218
  close() {
30219
30219
  if (!this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], this.discardOrphans(), this.sanitize(), this.captureAllChangesInVersionInstances(), this.recursiveCaptureUpstreamVersions(), this.captureAllChangesInVersionInstances(), this.open = !1, this.isEmpty)
30220
- return console.warn(`Empty change-set (${this.id}) discarded upon closing.`), this.project.discardChangeSet(this), this.project.closePendingChangeSets(), this;
30220
+ return this.project.discardChangeSet(this), this.project.closePendingChangeSets(), this;
30221
30221
  if (this.added[this.project.id] && this.updatedIds.length)
30222
30222
  throw new Error(
30223
30223
  "No 'updated' entities should be present in the change-set when the project entity is in the 'added' list. New projects can only have newly added entities"
@@ -30243,7 +30243,7 @@ class I {
30243
30243
  if (!this.open || !this.dirty)
30244
30244
  return this;
30245
30245
  const t = Array.from(
30246
- /* @__PURE__ */ new Set([...this.project.getAllBuiltInIds(), ...Gi()])
30246
+ /* @__PURE__ */ new Set([...this.project.getAllBuiltInIds(), ...Fi()])
30247
30247
  );
30248
30248
  if (t.includes(a.id))
30249
30249
  return this;
@@ -35966,7 +35966,7 @@ const De = class De extends st {
35966
35966
  // Meta
35967
35967
  f(this, "initialized", !1);
35968
35968
  f(this, "startedInitialization", !1);
35969
- this.initialData = e, this.project = t, this.id = e.id, this.isList = e.isList, this.asType = e.asType, this.options = e.options, this.parentRelationType = e.parentRelationType, this.inferred = e.inferred || !1, this.like = e.like || !1, this.implementationChooseOne = e.implementationChooseOne || !1, this.staticEntities = e.staticEntities || null, this.interactiveEntities = e.interactiveEntities || null, this.actionEntities = e.actionEntities || null;
35969
+ this.initialData = e, this.project = t, this.id = e.id, this.isList = e.isList, this.asType = e.asType, this.options = e.options, this.parentRelationType = e.parentRelationType, this.inferred = e.inferred || !1, this.like = e.like || !1, this.implementationChooseOne = e.implementationChooseOne || !1, this.staticEntities = e.staticEntities, this.interactiveEntities = e.interactiveEntities, this.actionEntities = e.actionEntities;
35970
35970
  }
35971
35971
  // Creates a new empty entity transfer object
35972
35972
  static new(e = null) {
@@ -36021,9 +36021,9 @@ const De = class De extends st {
36021
36021
  like: e.like || !1,
36022
36022
  inferred: !1,
36023
36023
  implementationChooseOne: e.implementationChooseOne || !1,
36024
- staticEntities: e.staticEntities || null,
36025
- interactiveEntities: e.interactiveEntities || null,
36026
- actionEntities: e.actionEntities || null,
36024
+ staticEntities: e.staticEntities ?? null,
36025
+ interactiveEntities: e.interactiveEntities ?? null,
36026
+ actionEntities: e.actionEntities ?? null,
36027
36027
  entity: l,
36028
36028
  asType: e.asType,
36029
36029
  parent: s
@@ -36116,7 +36116,7 @@ The entitities of type '${ne(
36116
36116
  "', '",
36117
36117
  "' and '"
36118
36118
  )}' can only have one 'data-type' child under the 'dataType' property. You can inspect the existing data-type entity with the 'describe_entity' action. Like so:
36119
- ${Hi(
36119
+ ${Si(
36120
36120
  {
36121
36121
  describe_entity: T
36122
36122
  }
@@ -40844,7 +40844,7 @@ ${ln}`, s.push(
40844
40844
  severity: R.Error,
40845
40845
  message: `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${d.id}' because it already has an 'entity' child. Data type entities can only have one 'entity' as children.
40846
40846
  You can inspect the existing 'entity' field with the 'describe_entity' action. Like so:
40847
- ${Hi(
40847
+ ${Si(
40848
40848
  {
40849
40849
  describe_entity: d.entity.id
40850
40850
  }
@@ -42037,7 +42037,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
42037
42037
  ), t = null, i = null, s = !0) {
42038
42038
  var O, V;
42039
42039
  if (Array.from(
42040
- /* @__PURE__ */ new Set([...Gi(), ...this.project.getAllBuiltInIds()])
42040
+ /* @__PURE__ */ new Set([...Fi(), ...this.project.getAllBuiltInIds()])
42041
42041
  ).includes(this.id))
42042
42042
  return this;
42043
42043
  let o = yt(t, this);
@@ -47823,7 +47823,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
47823
47823
  );
47824
47824
  if (!E)
47825
47825
  return;
47826
- const D = Ki(
47826
+ const D = xi(
47827
47827
  E
47828
47828
  );
47829
47829
  c.setDataType(D), T.setDeclaration(c);
@@ -49801,7 +49801,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
49801
49801
  );
49802
49802
  if (!E)
49803
49803
  return;
49804
- const D = Ki(
49804
+ const D = xi(
49805
49805
  E
49806
49806
  );
49807
49807
  c.setDataType(D), T.setDeclaration(c);
@@ -55032,15 +55032,13 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
55032
55032
  )
55033
55033
  )) {
55034
55034
  var i;
55035
- if (this.parent.type === n.Operation)
55036
- return this.parent.declaration.inferInputMapDataType(this, e).self;
55037
55035
  if (tt.includes(this.parent.type)) {
55038
55036
  const s = $n(this.parent), l = s.getDataType(e);
55039
55037
  (!l || l.inferred) && s.inferDataTypeAndSyncInstancesInputsAndOutputs(e);
55040
55038
  }
55041
55039
  const t = (i = this.declaration) == null ? void 0 : i.getDataType(e);
55042
55040
  if (!t) {
55043
- const s = Ki(this, e);
55041
+ const s = xi(this, e);
55044
55042
  if (s)
55045
55043
  return s;
55046
55044
  }
@@ -58420,7 +58418,7 @@ You can't modify system entities that are built-in.`,
58420
58418
  An action descriptor can only have one error value descriptor child.
58421
58419
  Either remove the existing error value descriptor or update it with the 'update' action.
58422
58420
  You can use the 'describe_entity' action to get more information about the existing error value descriptor like so:
58423
- ${Hi(
58421
+ ${Si(
58424
58422
  {
58425
58423
  describe_entity: o.error.id
58426
58424
  }
@@ -58770,7 +58768,7 @@ ${Hi(
58770
58768
  var u, h, c, T, E, D, O;
58771
58769
  const i = [], s = [], l = [], o = [];
58772
58770
  if (Array.from(
58773
- /* @__PURE__ */ new Set([...Gi(), ...this.project.getAllBuiltInIds()])
58771
+ /* @__PURE__ */ new Set([...Fi(), ...this.project.getAllBuiltInIds()])
58774
58772
  ).includes(this.id))
58775
58773
  return t == null || t.attemptAutoclose("remove-entity", this.id), console.log("Built-in entity, cannot remove: ", this.id), {
58776
58774
  added: [],
@@ -59049,7 +59047,7 @@ ${Hi(
59049
59047
  ), t = null, i = null, s = !0) {
59050
59048
  var E, D;
59051
59049
  if (Array.from(
59052
- /* @__PURE__ */ new Set([...Gi(), ...this.project.getAllBuiltInIds()])
59050
+ /* @__PURE__ */ new Set([...Fi(), ...this.project.getAllBuiltInIds()])
59053
59051
  ).includes(this.id))
59054
59052
  return this;
59055
59053
  let o = yt(t, this);
@@ -60127,7 +60125,7 @@ ${vv}`, qp = `To establish a connection of a reader and writter value during the
60127
60125
  \`\`\`
60128
60126
  You can use the 'disconnect_values' generation action to remove the connection between two value holding entities in the same way.`, hl = `If an explicit 'parent' isn't given for a callable entity, the scope will be auto-calculated to match the parent scope of the caller entity.
60129
60127
  If the entity that should be the parent of a callable entity is unclear, you can always skip the 'parent' property and the system will automatically calculate the parent based on the caller entity.`;
60130
- function Hi(r) {
60128
+ function Si(r) {
60131
60129
  return `\`\`\`json
60132
60130
  ${typeof r == "string" ? r : JSON.stringify(r, null, 2)}
60133
60131
  \`\`\``;
@@ -60139,22 +60137,22 @@ function XW(r, a) {
60139
60137
  return e.add_caller = {
60140
60138
  callerEntityId: a.callerEntityId,
60141
60139
  calleeEntityId: a.calleeEntityId
60142
- }, a.fromError && (e.add_caller.fromError = a.fromError), Hi(e);
60140
+ }, a.fromError && (e.add_caller.fromError = a.fromError), Si(e);
60143
60141
  case "remove_caller":
60144
60142
  return e.remove_caller = {
60145
60143
  callerEntityId: a.callerEntityId,
60146
60144
  calleeEntityId: a.calleeEntityId
60147
- }, Hi(e);
60145
+ }, Si(e);
60148
60146
  case "connect_values":
60149
60147
  return e.connect_values = {
60150
60148
  writerEntityId: a.writerEntityId,
60151
60149
  readerEntityId: a.readerEntityId
60152
- }, Hi(e);
60150
+ }, Si(e);
60153
60151
  case "disconnect_values":
60154
60152
  return e.disconnect_values = {
60155
60153
  writerEntityId: a.writerEntityId,
60156
60154
  readerEntityId: a.readerEntityId
60157
- }, Hi(e);
60155
+ }, Si(e);
60158
60156
  case "update": {
60159
60157
  const t = `{
60160
60158
  "update": {
@@ -60164,7 +60162,7 @@ function XW(r, a) {
60164
60162
  }
60165
60163
  }
60166
60164
  }`;
60167
- return Hi(t);
60165
+ return Si(t);
60168
60166
  }
60169
60167
  default:
60170
60168
  return "";
@@ -63186,12 +63184,12 @@ class cp {
63186
63184
  constructor(a) {
63187
63185
  f(this, "order", []);
63188
63186
  f(this, "flatRecord", {});
63189
- f(this, "allBuiltInEntityIds", Gi());
63187
+ f(this, "allBuiltInEntityIds", Fi());
63190
63188
  f(this, "onGoingVisits", {});
63191
63189
  this.flatten(a), this.orderEntities();
63192
63190
  }
63193
63191
  flatten(a) {
63194
- const e = new Set(Gi()), t = p(
63192
+ const e = new Set(Fi()), t = p(
63195
63193
  U(a, e, {
63196
63194
  ignoreBuiltInBaseEntities: !0
63197
63195
  })
@@ -65232,7 +65230,7 @@ function wJ(r, a = /* @__PURE__ */ new Set(), e = {
65232
65230
  ...r.parent ? U(r.parent, a, e) : []
65233
65231
  ];
65234
65232
  }
65235
- function Gi() {
65233
+ function Fi() {
65236
65234
  const r = /* @__PURE__ */ new Set(), a = g1.flatMap(
65237
65235
  (e) => U(e, r)
65238
65236
  ).map((e) => e.id);
@@ -65247,7 +65245,7 @@ function U(r, a = /* @__PURE__ */ new Set(), e = {
65247
65245
  throw new Error("Entity must be defined to be flattened");
65248
65246
  if (r.type === n.GenericReference)
65249
65247
  return [];
65250
- if (e.ignoreBuiltInBaseEntities && (Ii.includes(r.type) || Gi().includes(r.id)))
65248
+ if (e.ignoreBuiltInBaseEntities && (Ii.includes(r.type) || Fi().includes(r.id)))
65251
65249
  return [];
65252
65250
  if (a.has(r.id))
65253
65251
  return [];
@@ -65686,7 +65684,7 @@ function Xo(r) {
65686
65684
  case n.ValueDescriptor:
65687
65685
  return br;
65688
65686
  case n.BuiltInBaseEntity:
65689
- return Fi;
65687
+ return gi;
65690
65688
  case n.PrimitiveEntity:
65691
65689
  return ti;
65692
65690
  case n.ActionDescriptor:
@@ -67210,7 +67208,7 @@ const Le = class Le extends st {
67210
67208
  severity: R.Error,
67211
67209
  message: `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${u.id}' because it already has an 'entity' child. Data type entities can only have one 'entity' as children.
67212
67210
  You can inspect the existing 'entity' field with the 'describe_entity' action. Like so:
67213
- ${Hi(
67211
+ ${Si(
67214
67212
  {
67215
67213
  describe_entity: u.entity.id
67216
67214
  }
@@ -68570,7 +68568,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
68570
68568
  c.parent
68571
68569
  ).getMasterInputWithValueWritterFromAllInstances(
68572
68570
  c
68573
- ), O = Ki(
68571
+ ), O = xi(
68574
68572
  D,
68575
68573
  t
68576
68574
  ), V = O == null ? void 0 : O.clone(
@@ -68629,7 +68627,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
68629
68627
  c.parent
68630
68628
  ).getMasterInputWithValueWritterFromAllInstances(
68631
68629
  c
68632
- ), me = Ki(
68630
+ ), me = xi(
68633
68631
  ue
68634
68632
  ), X = me == null ? void 0 : me.clone(
68635
68633
  t,
@@ -68689,7 +68687,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
68689
68687
  c.parent
68690
68688
  ).getMasterInputWithValueWritterFromAllInstances(
68691
68689
  c
68692
- ), M = Ki(
68690
+ ), M = xi(
68693
68691
  V
68694
68692
  ), x = M == null ? void 0 : M.clone(
68695
68693
  t,
@@ -69102,7 +69100,7 @@ const Os = class Os extends st {
69102
69100
  f(Os, "repository", {
69103
69101
  APILoad: async (e, ...t) => null
69104
69102
  });
69105
- let Fi = Os;
69103
+ let gi = Os;
69106
69104
  function QJ(r) {
69107
69105
  const a = M8(), e = r.toJSON();
69108
69106
  a.safeParse(e).success;
@@ -69383,7 +69381,7 @@ const Ka = class Ka extends st {
69383
69381
  return e.push(...this.methods), this.extends.filter(
69384
69382
  (i) => i.type === n.BuiltInBaseEntity && i.interactive || i.type === n.PrimitiveEntity
69385
69383
  ).forEach((i) => {
69386
- i instanceof Fi && e.push(...i.getAllInteractiveMethods());
69384
+ i instanceof gi && e.push(...i.getAllInteractiveMethods());
69387
69385
  }), p(e);
69388
69386
  }
69389
69387
  };
@@ -69443,7 +69441,7 @@ function rt(r, a) {
69443
69441
  case n.ValueDescriptor:
69444
69442
  return e || new br(r, a);
69445
69443
  case n.BuiltInBaseEntity:
69446
- return e || new Fi(r, a);
69444
+ return e || new gi(r, a);
69447
69445
  case n.InternalCall:
69448
69446
  return e || new sn(r, a);
69449
69447
  case n.ContinueStatement:
@@ -71348,8 +71346,8 @@ var iq = /* @__PURE__ */ ((r) => (r.PersistChangeSet = "persist-change-set", r.C
71348
71346
  class rq extends We {
71349
71347
  constructor(e) {
71350
71348
  super(Ui, e);
71351
- f(this, "id", et.Parallel);
71352
- f(this, "name", et.Parallel);
71349
+ f(this, "id", Qe.Parallel);
71350
+ f(this, "name", Qe.Parallel);
71353
71351
  f(this, "description", "Execute a list of actions one after the other");
71354
71352
  f(this, "version", "1");
71355
71353
  f(this, "autoexecutable", !0);
@@ -71445,8 +71443,8 @@ class nq extends We {
71445
71443
  class sq extends We {
71446
71444
  constructor(e) {
71447
71445
  super(cr, e);
71448
- f(this, "id", et.Sequential);
71449
- f(this, "name", et.Sequential);
71446
+ f(this, "id", Qe.Sequential);
71447
+ f(this, "name", Qe.Sequential);
71450
71448
  f(this, "description", "Execute a list of actions one after the other");
71451
71449
  f(this, "version", "1");
71452
71450
  f(this, "autoexecutable", !0);
@@ -71509,7 +71507,7 @@ class lq extends We {
71509
71507
  return e.inputs.find(
71510
71508
  (t) => {
71511
71509
  var i;
71512
- return ((i = t.declaration) == null ? void 0 : i.id) === g.operation[Qe.Validate].inputs.entityToMatch.id;
71510
+ return ((i = t.declaration) == null ? void 0 : i.id) === g.operation[et.Validate].inputs.entityToMatch.id;
71513
71511
  }
71514
71512
  ) || null;
71515
71513
  }
@@ -71517,7 +71515,7 @@ class lq extends We {
71517
71515
  return e.inputs.find(
71518
71516
  (t) => {
71519
71517
  var i;
71520
- return ((i = t.declaration) == null ? void 0 : i.id) === g.operation[Qe.Validate].inputs.dataToValidate.id;
71518
+ return ((i = t.declaration) == null ? void 0 : i.id) === g.operation[et.Validate].inputs.dataToValidate.id;
71521
71519
  }
71522
71520
  ) || null;
71523
71521
  }
@@ -71525,7 +71523,7 @@ class lq extends We {
71525
71523
  return e.outputs.find(
71526
71524
  (t) => {
71527
71525
  var i;
71528
- return ((i = t.declaration) == null ? void 0 : i.id) === g.operation[Qe.Validate].outputs.outputEntity.id;
71526
+ return ((i = t.declaration) == null ? void 0 : i.id) === g.operation[et.Validate].outputs.outputEntity.id;
71529
71527
  }
71530
71528
  ) || null;
71531
71529
  }
@@ -71618,7 +71616,7 @@ class lq extends We {
71618
71616
  )) {
71619
71617
  var u, h, c;
71620
71618
  const i = [], s = [], l = [], o = [];
71621
- if (((u = e.declaration) == null ? void 0 : u.id) !== g.operation[Qe.Validate].inputs.entityToMatch.id)
71619
+ if (((u = e.declaration) == null ? void 0 : u.id) !== g.operation[et.Validate].inputs.entityToMatch.id)
71622
71620
  return t == null || t.attemptAutoclose(
71623
71621
  "sync-entity-to-match-input-map-data-type",
71624
71622
  this.id
@@ -71666,7 +71664,10 @@ class lq extends We {
71666
71664
  },
71667
71665
  t
71668
71666
  );
71669
- const d = this.getEntityToMatch(e, t);
71667
+ const d = this.getEntityToMatch(
71668
+ e,
71669
+ t
71670
+ );
71670
71671
  return (c = e.dataType) == null || c.setEntity(d), e.dataType && s.push(e.dataType), t == null || t.attemptAutoclose(
71671
71672
  "sync-entity-to-match-input-map-data-type",
71672
71673
  this.id
@@ -71692,7 +71693,7 @@ class lq extends We {
71692
71693
  )) {
71693
71694
  var c, T, E;
71694
71695
  const i = [], s = [], l = [], o = [];
71695
- if (((c = e.declaration) == null ? void 0 : c.id) !== g.operation[Qe.Validate].inputs.dataToValidate.id)
71696
+ if (((c = e.declaration) == null ? void 0 : c.id) !== g.operation[et.Validate].inputs.dataToValidate.id)
71696
71697
  return t == null || t.attemptAutoclose(
71697
71698
  "sync-data-to-validate-input-map-data-type",
71698
71699
  this.id
@@ -71717,7 +71718,10 @@ class lq extends We {
71717
71718
  affected: [],
71718
71719
  self: null
71719
71720
  };
71720
- if (!this.getEntityToMatch(d, t))
71721
+ if (!this.getEntityToMatch(
71722
+ d,
71723
+ t
71724
+ ))
71721
71725
  return t == null || t.attemptAutoclose(
71722
71726
  "sync-data-to-validate-input-map-data-type",
71723
71727
  this.id
@@ -71794,7 +71798,7 @@ class lq extends We {
71794
71798
  )) {
71795
71799
  var c, T, E;
71796
71800
  const i = [], s = [], l = [], o = [];
71797
- if (((c = e.declaration) == null ? void 0 : c.id) !== g.operation[Qe.Validate].outputs.outputEntity.id)
71801
+ if (((c = e.declaration) == null ? void 0 : c.id) !== g.operation[et.Validate].outputs.outputEntity.id)
71798
71802
  return t == null || t.attemptAutoclose(
71799
71803
  "sync-output-data-output-map-data-type",
71800
71804
  this.id
@@ -71819,7 +71823,10 @@ class lq extends We {
71819
71823
  affected: [],
71820
71824
  self: null
71821
71825
  };
71822
- if (!this.getEntityToMatch(d, t))
71826
+ if (!this.getEntityToMatch(
71827
+ d,
71828
+ t
71829
+ ))
71823
71830
  return t == null || t.attemptAutoclose(
71824
71831
  "sync-output-data-output-map-data-type",
71825
71832
  this.id
@@ -71898,47 +71905,55 @@ class lq extends We {
71898
71905
  "infer-input-map-data-type-validate-data"
71899
71906
  )
71900
71907
  )) {
71901
- var i, s;
71902
- if (((i = e.declaration) == null ? void 0 : i.id) === g.operation[Qe.Validate].inputs.entityToMatch.id) {
71903
- const {
71904
- added: l,
71905
- updated: o,
71906
- removed: d,
71907
- affected: u
71908
- } = this.syncEntityToMatchInputMapDataType(e, t);
71908
+ var s, l;
71909
+ if (((s = e.declaration) == null ? void 0 : s.id) === g.operation[et.Validate].inputs.dataToValidate.id) {
71910
+ const { added: o, updated: d, removed: u, affected: h } = this.syncDataToValidateInputMapDataType(e, t);
71911
+ return t == null || t.attemptAutoclose("infer-input-map-data-type", this.id), {
71912
+ updated: p(
71913
+ d
71914
+ ),
71915
+ added: p(o),
71916
+ removed: p(
71917
+ u
71918
+ ),
71919
+ affected: p(
71920
+ h
71921
+ ),
71922
+ self: e.dataType
71923
+ };
71924
+ }
71925
+ const i = (l = e.declaration) == null ? void 0 : l.getDataType(t);
71926
+ if (i && i.isResolved)
71909
71927
  return t == null || t.attemptAutoclose(
71910
71928
  "infer-input-map-data-type-validate-data",
71911
71929
  this.id
71912
71930
  ), {
71913
- updated: p(o),
71914
- added: p(l),
71915
- removed: p(d),
71916
- affected: p(
71917
- u
71918
- ),
71919
- self: e.dataType
71931
+ updated: [],
71932
+ added: [],
71933
+ removed: [],
71934
+ affected: [],
71935
+ self: i
71920
71936
  };
71921
- } else if (((s = e.declaration) == null ? void 0 : s.id) === g.operation[Qe.Validate].inputs.dataToValidate.id) {
71922
- const {
71923
- added: l,
71924
- updated: o,
71925
- removed: d,
71926
- affected: u
71927
- } = this.syncDataToValidateInputMapDataType(e, t);
71937
+ if (e.readsValue) {
71938
+ const o = xi(
71939
+ e.readsValue,
71940
+ t
71941
+ );
71928
71942
  return t == null || t.attemptAutoclose(
71929
- "infer-input-map-data-type",
71943
+ "infer-input-map-data-type-validate-data",
71930
71944
  this.id
71931
71945
  ), {
71932
- updated: p(o),
71933
- added: p(l),
71934
- removed: p(d),
71935
- affected: p(
71936
- u
71937
- ),
71938
- self: e.dataType
71946
+ updated: [],
71947
+ added: [],
71948
+ removed: [],
71949
+ affected: [],
71950
+ self: o
71939
71951
  };
71940
71952
  }
71941
- return {
71953
+ return t == null || t.attemptAutoclose(
71954
+ "infer-input-map-data-type-validate-data",
71955
+ this.id
71956
+ ), {
71942
71957
  updated: [],
71943
71958
  added: [],
71944
71959
  removed: [],
@@ -71957,20 +71972,19 @@ class lq extends We {
71957
71972
  )
71958
71973
  )) {
71959
71974
  var i;
71960
- if (((i = e.declaration) == null ? void 0 : i.id) === g.operation[Qe.Validate].outputs.outputEntity.id) {
71961
- const {
71962
- added: s,
71963
- updated: l,
71964
- removed: o,
71965
- affected: d
71966
- } = this.syncOutputDataOutputMapDataType(e, t);
71975
+ if (((i = e.declaration) == null ? void 0 : i.id) === g.operation[et.Validate].outputs.outputEntity.id) {
71976
+ const { added: s, updated: l, removed: o, affected: d } = this.syncOutputDataOutputMapDataType(e, t);
71967
71977
  return t == null || t.attemptAutoclose(
71968
71978
  "infer-output-map-data-type-validate-data",
71969
71979
  this.id
71970
71980
  ), {
71971
- updated: p(l),
71981
+ updated: p(
71982
+ l
71983
+ ),
71972
71984
  added: p(s),
71973
- removed: p(o),
71985
+ removed: p(
71986
+ o
71987
+ ),
71974
71988
  affected: p(
71975
71989
  d
71976
71990
  ),
@@ -72037,7 +72051,7 @@ function yq(r) {
72037
72051
  e.initChildren(null), r.subscribeBuiltInInstance(e);
72038
72052
  }), r.operationDeclarations = a, a;
72039
72053
  }
72040
- class mq extends Fi {
72054
+ class mq extends gi {
72041
72055
  constructor(e) {
72042
72056
  super(Nt, e);
72043
72057
  f(this, "initialData");
@@ -72121,7 +72135,7 @@ function Tq(r, a) {
72121
72135
  override: a
72122
72136
  };
72123
72137
  }
72124
- class Eq extends Fi {
72138
+ class Eq extends gi {
72125
72139
  constructor(e) {
72126
72140
  super(di, e);
72127
72141
  f(this, "initialData");
@@ -72179,7 +72193,7 @@ class Eq extends Fi {
72179
72193
  }
72180
72194
  }
72181
72195
  const Kz = "test_primitive_entities_export";
72182
- class Iq extends Fi {
72196
+ class Iq extends gi {
72183
72197
  constructor(e) {
72184
72198
  super(Rt, e);
72185
72199
  f(this, "initialData");
@@ -72230,8 +72244,8 @@ function Aq(r) {
72230
72244
  new mq(r),
72231
72245
  new Eq(r),
72232
72246
  new Iq(r),
72233
- new Fi(Rt, r),
72234
- new Fi(ud, r)
72247
+ new gi(Rt, r),
72248
+ new gi(ud, r)
72235
72249
  // new BuiltInBaseEntityState(keyValueParamBuiltInBaseEntity, project),
72236
72250
  ];
72237
72251
  return a.forEach((e) => {
@@ -72432,7 +72446,7 @@ async function Vq(r, a = Sa) {
72432
72446
  function vp(r) {
72433
72447
  const a = new y(r);
72434
72448
  return bq(a), Aq(a), yq(a), Rq(a), Dq(a), Oq(a), wq(a), Array.from(
72435
- /* @__PURE__ */ new Set([...a.getAllBuiltInIds(), ...Gi()])
72449
+ /* @__PURE__ */ new Set([...a.getAllBuiltInIds(), ...Fi()])
72436
72450
  ).forEach((t) => {
72437
72451
  if (!a.builtInInstances[t] && a.instances[t])
72438
72452
  a.builtInInstances[t] = a.instances[t], delete a.instances[t];
@@ -72451,7 +72465,7 @@ function Xz(r, {
72451
72465
  enrich: a
72452
72466
  } = { enrich: !0 }) {
72453
72467
  const e = /* @__PURE__ */ new Map(), t = Array.from(
72454
- /* @__PURE__ */ new Set([...r.getAllBuiltInIds(), ...Gi()])
72468
+ /* @__PURE__ */ new Set([...r.getAllBuiltInIds(), ...Fi()])
72455
72469
  );
72456
72470
  Object.keys(r.instances).forEach((u) => {
72457
72471
  if (t.includes(u)) {
@@ -72593,7 +72607,7 @@ export {
72593
72607
  kl as BaseValueDescriptorIds,
72594
72608
  Q0 as BreakStatementDependencyField,
72595
72609
  Kr as BreakStatementState,
72596
- Fi as BuiltInBaseEntityState,
72610
+ gi as BuiltInBaseEntityState,
72597
72611
  Ln as CACHED_PROJECTS_BY_ID,
72598
72612
  SW as CALLABLE_ENTITIES_EXPLANATION,
72599
72613
  sr as CALLABLE_TYPES,
@@ -72653,12 +72667,12 @@ export {
72653
72667
  w as EntityGenerationError,
72654
72668
  b as EntityGenerationErrorCode,
72655
72669
  G as EntityInstanceErrorCode,
72656
- Qe as EntityOperations,
72670
+ et as EntityOperations,
72657
72671
  n as EntityType,
72658
72672
  Sz as EntityWithLogicScopeClass,
72659
72673
  Hz as EntityWithValueClass,
72660
72674
  zz as EntryPointEntityClass,
72661
- et as ExecutionOperations,
72675
+ Qe as ExecutionOperations,
72662
72676
  l7 as ExecutionTerminationType,
72663
72677
  B7 as FunctionCallDependencyField,
72664
72678
  dn as FunctionCallState,
@@ -72773,7 +72787,7 @@ export {
72773
72787
  dI as appendToListOperationSecondListDataType,
72774
72788
  S as applyNewScope,
72775
72789
  JW as argumentDeclarationValidation,
72776
- Hi as asGenerationActionExample,
72790
+ Si as asGenerationActionExample,
72777
72791
  Dr as booleanPrototype,
72778
72792
  CW as breakStatementValidation,
72779
72793
  zp as calculateNewParentBasedOnCallers,
@@ -72997,7 +73011,7 @@ export {
72997
73011
  yl as getAllActionDescriptorsForGlobalEvents,
72998
73012
  ml as getAllActionDescriptorsForLoops,
72999
73013
  iz as getAllActionDescriptorsForOperations,
73000
- Gi as getAllBuiltInEntityIds,
73014
+ Fi as getAllBuiltInEntityIds,
73001
73015
  V7 as getAllGloballyDeclaredFunctionDeclarationsExplanation,
73002
73016
  Jt as getBaseBuiltInEntities,
73003
73017
  I7 as getBaseSchemaBasedOnType,
@@ -73163,7 +73177,7 @@ export {
73163
73177
  Tq as httpStatusCodeValueValidation,
73164
73178
  fp as implement,
73165
73179
  FZ as inferArgumentDeclarationDataType,
73166
- Ki as inferDataType,
73180
+ xi as inferDataType,
73167
73181
  _0 as inferInputMapDataType,
73168
73182
  B0 as inferOutputMapDataType,
73169
73183
  ZZ as inferPropertyDataType,