twenty-sdk 0.3.0 → 0.4.0

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 (376) hide show
  1. package/README.md +139 -44
  2. package/dist/HtmlTagToRemoteComponent-Bd5sgek2.js +1 -0
  3. package/dist/HtmlTagToRemoteComponent-DlsAI7JU.mjs +146 -0
  4. package/dist/RatingValues-CT-y6O0b-CsGZSJKO.mjs +402 -0
  5. package/dist/RatingValues-CT-y6O0b-D7JSZAMu.js +1 -0
  6. package/dist/cli/commands/app/app-dev.d.ts +25 -0
  7. package/dist/cli/commands/{app-generate.command.d.ts → app/app-generate.d.ts} +1 -1
  8. package/dist/cli/commands/{app-uninstall.command.d.ts → app/app-uninstall.d.ts} +1 -1
  9. package/dist/cli/commands/app-command.d.ts +2 -0
  10. package/dist/cli/commands/auth/auth-list.d.ts +4 -0
  11. package/dist/cli/commands/auth/auth-login.d.ts +8 -0
  12. package/dist/cli/commands/auth/auth-logout.d.ts +4 -0
  13. package/dist/cli/commands/auth/auth-status.d.ts +5 -0
  14. package/dist/cli/commands/auth/auth-switch.d.ts +7 -0
  15. package/dist/cli/commands/entity/entity-add.d.ts +12 -0
  16. package/dist/cli/commands/logic-function/logic-function-execute.d.ts +10 -0
  17. package/dist/cli/commands/{app-logs.command.d.ts → logic-function/logic-function-logs.d.ts} +1 -1
  18. package/dist/cli/utilities/api/api-service.d.ts +51 -0
  19. package/dist/cli/utilities/build/common/cleanup-removed-files.d.ts +1 -0
  20. package/dist/cli/utilities/build/common/esbuild-result-processor.d.ts +11 -0
  21. package/dist/cli/utilities/build/common/esbuild-watcher.d.ts +37 -0
  22. package/dist/cli/utilities/build/common/file-upload-watcher.d.ts +24 -0
  23. package/dist/cli/utilities/build/common/front-component-build/jsx-transform-to-remote-dom-worker-format-plugin.d.ts +3 -0
  24. package/dist/cli/utilities/build/common/front-component-build/react-globals-plugin.d.ts +2 -0
  25. package/dist/cli/utilities/build/common/front-component-build/types/ParsedImportSpecifier.d.ts +4 -0
  26. package/dist/cli/utilities/build/common/front-component-build/utils/extract-names-from-import-specifier.d.ts +2 -0
  27. package/dist/cli/utilities/build/common/front-component-build/utils/replace-html-tags-with-remote-components.d.ts +1 -0
  28. package/dist/cli/utilities/build/common/front-component-build/utils/unwrap-define-front-component-to-direct-export.d.ts +1 -0
  29. package/dist/cli/utilities/build/common/restartable-watcher-interface.d.ts +25 -0
  30. package/dist/cli/utilities/build/manifest/manifest-build.d.ts +7 -0
  31. package/dist/cli/utilities/build/manifest/manifest-extract-config-from-file.d.ts +5 -0
  32. package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +20 -0
  33. package/dist/cli/utilities/build/manifest/manifest-types.d.ts +4 -0
  34. package/dist/cli/utilities/build/manifest/manifest-update-checksums.d.ts +17 -0
  35. package/dist/cli/utilities/build/manifest/manifest-validate.d.ts +6 -0
  36. package/dist/cli/utilities/build/manifest/manifest-watcher.d.ts +12 -0
  37. package/dist/cli/utilities/build/manifest/manifest-writer.d.ts +2 -0
  38. package/dist/cli/{services/generate.service.d.ts → utilities/client/client-service.d.ts} +2 -2
  39. package/dist/cli/{services/config.service.d.ts → utilities/config/config-service.d.ts} +4 -0
  40. package/dist/cli/utilities/dev/dev-mode-orchestrator.d.ts +42 -0
  41. package/dist/cli/utilities/dev/dev-ui-state-manager.d.ts +31 -0
  42. package/dist/cli/utilities/dev/dev-ui-state.d.ts +27 -0
  43. package/dist/cli/utilities/dev/dev-ui.d.ts +4 -0
  44. package/dist/cli/utilities/entity/entity-field-template.d.ts +11 -0
  45. package/dist/cli/utilities/entity/entity-front-component-template.d.ts +4 -0
  46. package/dist/cli/utilities/entity/entity-logic-function-template.d.ts +4 -0
  47. package/dist/cli/{utils/get-new-object-file-content.d.ts → utilities/entity/entity-object-template.d.ts} +1 -1
  48. package/dist/cli/{utils/jsonc-parser.d.ts → utilities/file/file-jsonc.d.ts} +1 -5
  49. package/dist/cli/utilities/file/file-tarball.d.ts +16 -0
  50. package/dist/cli/utilities/file/file-uploader.d.ts +14 -0
  51. package/dist/cli/{utils/get-ts-program-and-diagnostics.d.ts → utilities/typescript/typescript-program.d.ts} +1 -1
  52. package/dist/cli.cjs +280 -179
  53. package/dist/cli.mjs +11094 -9467
  54. package/dist/front-component/host/components/FrontComponentRenderer.d.ts +8 -0
  55. package/dist/front-component/host/generated/host-component-registry.d.ts +4 -0
  56. package/dist/front-component/host/generated/host-index.d.ts +1 -0
  57. package/dist/front-component/index.d.ts +10 -0
  58. package/dist/front-component/remote/components/FrontComponentWorkerEffect.d.ts +8 -0
  59. package/dist/front-component/remote/generated/remote-components.d.ts +44 -0
  60. package/dist/front-component/remote/generated/remote-elements.d.ts +195 -0
  61. package/dist/front-component/remote/generated/remote-index.d.ts +2 -0
  62. package/dist/front-component/remote/mock/mock-front-component.d.ts +3 -0
  63. package/dist/front-component/remote/worker/createRemoteWorker.d.ts +1 -0
  64. package/dist/front-component/remote/worker/remote-worker.d.ts +0 -0
  65. package/dist/front-component/types/HostToWorkerRenderContext.d.ts +3 -0
  66. package/dist/front-component/types/PropertySchema.d.ts +4 -0
  67. package/dist/front-component/types/WorkerExports.d.ts +5 -0
  68. package/dist/front-component-constants/AllowedHtmlElements.d.ts +11 -0
  69. package/dist/front-component-constants/AllowedUiComponents.d.ts +9 -0
  70. package/dist/front-component-constants/CommonHtmlEvents.d.ts +1 -0
  71. package/dist/front-component-constants/EventToReact.d.ts +1 -0
  72. package/dist/front-component-constants/HtmlCommonProperties.d.ts +2 -0
  73. package/dist/front-component-constants/HtmlTagToRemoteComponent.d.ts +1 -0
  74. package/dist/front-component-constants/index.d.ts +8 -0
  75. package/dist/front-component-constants.cjs +1 -0
  76. package/dist/front-component-constants.mjs +77 -0
  77. package/dist/front-component.cjs +328 -0
  78. package/dist/front-component.mjs +42579 -0
  79. package/dist/index.cjs +2 -2
  80. package/dist/index.d.ts +1 -1
  81. package/dist/index.mjs +2183 -242
  82. package/dist/jsx-runtime-C9ldtZbm.mjs +10472 -0
  83. package/dist/jsx-runtime-CfccAQK_.js +54 -0
  84. package/dist/sdk/application/application-config.d.ts +2 -0
  85. package/dist/sdk/application/define-application.d.ts +3 -0
  86. package/dist/sdk/common/types/define-entity.type.d.ts +11 -0
  87. package/dist/sdk/common/utils/create-validation-result.d.ts +5 -0
  88. package/dist/{application → sdk}/fields/composite-fields.d.ts +1 -1
  89. package/dist/sdk/fields/define-field.d.ts +3 -0
  90. package/dist/sdk/fields/validate-fields.d.ts +2 -0
  91. package/dist/sdk/front-components/define-front-component.d.ts +3 -0
  92. package/dist/sdk/front-components/front-component-config.d.ts +5 -0
  93. package/dist/sdk/index.d.ts +22 -0
  94. package/dist/sdk/logic-functions/define-logic-function.d.ts +3 -0
  95. package/dist/sdk/logic-functions/logic-function-config.d.ts +6 -0
  96. package/dist/sdk/logic-functions/triggers/route-payload-type.d.ts +1 -0
  97. package/dist/sdk/objects/define-object.d.ts +3 -0
  98. package/dist/sdk/objects/standard-object-ids.d.ts +1 -0
  99. package/dist/sdk/roles/define-role.d.ts +3 -0
  100. package/dist/sdk/roles/permission-flag-type.d.ts +1 -0
  101. package/dist/types-Bg4PAegr.js +1 -0
  102. package/dist/types-DVJsIqkp.mjs +7 -0
  103. package/dist/vendor/twenty-shared/ObjectRecordGroupByDateGranularity-BZ0Penru.js +1 -0
  104. package/dist/vendor/twenty-shared/ObjectRecordGroupByDateGranularity-DmLx4uDl.mjs +263 -0
  105. package/dist/vendor/twenty-shared/RatingValues-Bd_cXQ5v.js +1 -0
  106. package/dist/vendor/twenty-shared/RatingValues-CT-y6O0b.mjs +388 -0
  107. package/dist/vendor/twenty-shared/application/applicationType.d.ts +17 -4
  108. package/dist/vendor/twenty-shared/application/applicationType.d.ts.map +1 -1
  109. package/dist/vendor/twenty-shared/application/assetManifestType.d.ts +7 -0
  110. package/dist/vendor/twenty-shared/application/assetManifestType.d.ts.map +1 -0
  111. package/dist/vendor/twenty-shared/application/constants/AssetDirectory.d.ts +2 -0
  112. package/dist/vendor/twenty-shared/application/constants/AssetDirectory.d.ts.map +1 -0
  113. package/dist/vendor/twenty-shared/application/constants/GeneratedDirectory.d.ts +2 -0
  114. package/dist/vendor/twenty-shared/application/constants/GeneratedDirectory.d.ts.map +1 -0
  115. package/dist/vendor/twenty-shared/application/constants/OutputDirectory.d.ts +2 -0
  116. package/dist/vendor/twenty-shared/application/constants/OutputDirectory.d.ts.map +1 -0
  117. package/dist/vendor/twenty-shared/application/enums/syncable-entities.enum.d.ts +8 -0
  118. package/dist/vendor/twenty-shared/application/enums/syncable-entities.enum.d.ts.map +1 -0
  119. package/dist/vendor/twenty-shared/application/fieldManifestType.d.ts +12 -1
  120. package/dist/vendor/twenty-shared/application/fieldManifestType.d.ts.map +1 -1
  121. package/dist/vendor/twenty-shared/application/frontComponentManifestType.d.ts +10 -0
  122. package/dist/vendor/twenty-shared/application/frontComponentManifestType.d.ts.map +1 -0
  123. package/dist/vendor/twenty-shared/application/index.d.ts +11 -5
  124. package/dist/vendor/twenty-shared/application/index.d.ts.map +1 -1
  125. package/dist/vendor/twenty-shared/application/{serverlessFunctionManifestType.d.ts → logicFunctionManifestType.d.ts} +9 -5
  126. package/dist/vendor/twenty-shared/application/logicFunctionManifestType.d.ts.map +1 -0
  127. package/dist/vendor/twenty-shared/application/manifestType.d.ts +20 -0
  128. package/dist/vendor/twenty-shared/application/manifestType.d.ts.map +1 -0
  129. package/dist/vendor/twenty-shared/application/objectFieldManifest.type.d.ts +5 -0
  130. package/dist/vendor/twenty-shared/application/objectFieldManifest.type.d.ts.map +1 -0
  131. package/dist/vendor/twenty-shared/application/objectManifestType.d.ts +2 -2
  132. package/dist/vendor/twenty-shared/application/objectManifestType.d.ts.map +1 -1
  133. package/dist/vendor/twenty-shared/application/roleManifestType.d.ts +3 -18
  134. package/dist/vendor/twenty-shared/application/roleManifestType.d.ts.map +1 -1
  135. package/dist/vendor/twenty-shared/application.cjs +1 -1
  136. package/dist/vendor/twenty-shared/application.mjs +8 -3
  137. package/dist/vendor/twenty-shared/constants/DocumentationBaseUrl.d.ts +2 -0
  138. package/dist/vendor/twenty-shared/constants/DocumentationBaseUrl.d.ts.map +1 -0
  139. package/dist/vendor/twenty-shared/constants/DocumentationDefaultLanguage.d.ts +2 -0
  140. package/dist/vendor/twenty-shared/constants/DocumentationDefaultLanguage.d.ts.map +1 -0
  141. package/dist/vendor/twenty-shared/constants/DocumentationDefaultPath.d.ts +2 -0
  142. package/dist/vendor/twenty-shared/constants/DocumentationDefaultPath.d.ts.map +1 -0
  143. package/dist/vendor/twenty-shared/constants/DocumentationPaths.d.ts +165 -0
  144. package/dist/vendor/twenty-shared/constants/DocumentationPaths.d.ts.map +1 -0
  145. package/dist/vendor/twenty-shared/constants/DocumentationSupportedLanguages.d.ts +3 -0
  146. package/dist/vendor/twenty-shared/constants/DocumentationSupportedLanguages.d.ts.map +1 -0
  147. package/dist/vendor/twenty-shared/constants/FilesFieldMaxNumberOfValues.d.ts +2 -0
  148. package/dist/vendor/twenty-shared/constants/FilesFieldMaxNumberOfValues.d.ts.map +1 -0
  149. package/dist/vendor/twenty-shared/constants/PermissionFlagType.d.ts +1 -0
  150. package/dist/vendor/twenty-shared/constants/PermissionFlagType.d.ts.map +1 -1
  151. package/dist/vendor/twenty-shared/constants/index.d.ts +8 -0
  152. package/dist/vendor/twenty-shared/constants/index.d.ts.map +1 -1
  153. package/dist/vendor/twenty-shared/constants.cjs +1 -1
  154. package/dist/vendor/twenty-shared/constants.mjs +56 -35
  155. package/dist/vendor/twenty-shared/database-events/database-event-payload.type.d.ts +1 -1
  156. package/dist/vendor/twenty-shared/database-events/database-event-payload.type.d.ts.map +1 -1
  157. package/dist/vendor/twenty-shared/database-events/object-record-delete.event.d.ts +4 -0
  158. package/dist/vendor/twenty-shared/database-events/object-record-delete.event.d.ts.map +1 -1
  159. package/dist/vendor/twenty-shared/database-events/object-record-restore.event.d.ts +4 -0
  160. package/dist/vendor/twenty-shared/database-events/object-record-restore.event.d.ts.map +1 -1
  161. package/dist/vendor/twenty-shared/database-events/object-record-update.event.d.ts +3 -3
  162. package/dist/vendor/twenty-shared/database-events/object-record-update.event.d.ts.map +1 -1
  163. package/dist/vendor/twenty-shared/isValidCountryCode-D-UqlXRW.js +4 -0
  164. package/dist/vendor/twenty-shared/{isValidCountryCode-E35rsxfD.mjs → isValidCountryCode-Dyji5s5r.mjs} +2351 -2320
  165. package/dist/vendor/twenty-shared/metadata/MetadataValidationError.d.ts.map +1 -1
  166. package/dist/vendor/twenty-shared/metadata/all-metadata-name.constant.d.ts +5 -4
  167. package/dist/vendor/twenty-shared/metadata/all-metadata-name.constant.d.ts.map +1 -1
  168. package/dist/vendor/twenty-shared/metadata/index.d.ts +1 -1
  169. package/dist/vendor/twenty-shared/metadata/index.d.ts.map +1 -1
  170. package/dist/vendor/twenty-shared/metadata/standard-object.constant.d.ts +2196 -0
  171. package/dist/vendor/twenty-shared/metadata/standard-object.constant.d.ts.map +1 -0
  172. package/dist/vendor/twenty-shared/metadata.cjs +1 -1
  173. package/dist/vendor/twenty-shared/metadata.mjs +2025 -69
  174. package/dist/vendor/twenty-shared/translations/constants/AppLocales.d.ts +1 -0
  175. package/dist/vendor/twenty-shared/translations/constants/AppLocales.d.ts.map +1 -1
  176. package/dist/vendor/twenty-shared/translations/index.d.ts +1 -0
  177. package/dist/vendor/twenty-shared/translations/index.d.ts.map +1 -1
  178. package/dist/vendor/twenty-shared/translations.cjs +1 -1
  179. package/dist/vendor/twenty-shared/translations.mjs +2 -2
  180. package/dist/vendor/twenty-shared/types/ExtractSerializedRelationProperties.type.d.ts +6 -0
  181. package/dist/vendor/twenty-shared/types/ExtractSerializedRelationProperties.type.d.ts.map +1 -0
  182. package/dist/vendor/twenty-shared/types/FieldMetadataDefaultValue.d.ts +44 -88
  183. package/dist/vendor/twenty-shared/types/FieldMetadataDefaultValue.d.ts.map +1 -1
  184. package/dist/vendor/twenty-shared/types/FieldMetadataOptions.d.ts +2 -1
  185. package/dist/vendor/twenty-shared/types/FieldMetadataOptions.d.ts.map +1 -1
  186. package/dist/vendor/twenty-shared/types/FieldMetadataSettings.d.ts +15 -9
  187. package/dist/vendor/twenty-shared/types/FieldMetadataSettings.d.ts.map +1 -1
  188. package/dist/vendor/twenty-shared/types/FieldMetadataType.d.ts +18 -17
  189. package/dist/vendor/twenty-shared/types/FieldMetadataType.d.ts.map +1 -1
  190. package/dist/vendor/twenty-shared/types/FileCategory.d.ts +12 -0
  191. package/dist/vendor/twenty-shared/types/FileCategory.d.ts.map +1 -0
  192. package/dist/vendor/twenty-shared/types/FileFolder.d.ts +14 -0
  193. package/dist/vendor/twenty-shared/types/FileFolder.d.ts.map +1 -0
  194. package/dist/vendor/twenty-shared/types/IsEmptyObject.type.d.ts +2 -0
  195. package/dist/vendor/twenty-shared/types/IsEmptyObject.type.d.ts.map +1 -0
  196. package/dist/vendor/twenty-shared/types/IsEmptyRecord.type.d.ts +1 -1
  197. package/dist/vendor/twenty-shared/types/IsEmptyRecord.type.d.ts.map +1 -1
  198. package/dist/vendor/twenty-shared/types/IsNever.type.d.ts +2 -0
  199. package/dist/vendor/twenty-shared/types/IsNever.type.d.ts.map +1 -0
  200. package/dist/vendor/twenty-shared/types/IsSerializedRelation.type.d.ts +4 -0
  201. package/dist/vendor/twenty-shared/types/IsSerializedRelation.type.d.ts.map +1 -0
  202. package/dist/vendor/twenty-shared/types/LogicFunctionEvent.d.ts +28 -0
  203. package/dist/vendor/twenty-shared/types/LogicFunctionEvent.d.ts.map +1 -0
  204. package/dist/vendor/twenty-shared/types/ObjectPermissions.d.ts +4 -0
  205. package/dist/vendor/twenty-shared/types/ObjectPermissions.d.ts.map +1 -1
  206. package/dist/vendor/twenty-shared/types/OrderBy.d.ts +2 -0
  207. package/dist/vendor/twenty-shared/types/OrderBy.d.ts.map +1 -0
  208. package/dist/vendor/twenty-shared/types/QueryCursorDirection.d.ts +2 -0
  209. package/dist/vendor/twenty-shared/types/QueryCursorDirection.d.ts.map +1 -0
  210. package/dist/vendor/twenty-shared/types/RecordGqlFieldsDeprecated.d.ts +2 -0
  211. package/dist/vendor/twenty-shared/types/RecordGqlFieldsDeprecated.d.ts.map +1 -0
  212. package/dist/vendor/twenty-shared/types/RecordGqlOperationGqlRecordFields.d.ts +4 -0
  213. package/dist/vendor/twenty-shared/types/RecordGqlOperationGqlRecordFields.d.ts.map +1 -0
  214. package/dist/vendor/twenty-shared/types/RecordGqlOperationOrderBy.d.ts +10 -0
  215. package/dist/vendor/twenty-shared/types/RecordGqlOperationOrderBy.d.ts.map +1 -0
  216. package/dist/vendor/twenty-shared/types/RecordGqlOperationSignature.d.ts +9 -0
  217. package/dist/vendor/twenty-shared/types/RecordGqlOperationSignature.d.ts.map +1 -0
  218. package/dist/vendor/twenty-shared/types/RecordGqlOperationVariables.d.ts +14 -0
  219. package/dist/vendor/twenty-shared/types/RecordGqlOperationVariables.d.ts.map +1 -0
  220. package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicate.d.ts +15 -0
  221. package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicate.d.ts.map +1 -0
  222. package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateGroup.d.ts +11 -0
  223. package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateGroup.d.ts.map +1 -0
  224. package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateGroupLogicalOperator.d.ts +5 -0
  225. package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateGroupLogicalOperator.d.ts.map +1 -0
  226. package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateOperand.d.ts +19 -0
  227. package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateOperand.d.ts.map +1 -0
  228. package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateValue.d.ts +6 -0
  229. package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateValue.d.ts.map +1 -0
  230. package/dist/vendor/twenty-shared/types/SerializedRelation.type.d.ts +5 -0
  231. package/dist/vendor/twenty-shared/types/SerializedRelation.type.d.ts.map +1 -0
  232. package/dist/vendor/twenty-shared/types/SettingsPath.d.ts +5 -4
  233. package/dist/vendor/twenty-shared/types/SettingsPath.d.ts.map +1 -1
  234. package/dist/vendor/twenty-shared/types/__tests__/extract-serialized-relation-properties.type-test.d.ts +2 -0
  235. package/dist/vendor/twenty-shared/types/__tests__/extract-serialized-relation-properties.type-test.d.ts.map +1 -0
  236. package/dist/vendor/twenty-shared/types/index.d.ts +29 -4
  237. package/dist/vendor/twenty-shared/types/index.d.ts.map +1 -1
  238. package/dist/vendor/twenty-shared/types/page-layout/PageLayoutTabLayoutMode.d.ts +6 -0
  239. package/dist/vendor/twenty-shared/types/page-layout/PageLayoutTabLayoutMode.d.ts.map +1 -0
  240. package/dist/vendor/twenty-shared/types/page-layout/PageLayoutWidgetConditionalDisplay.d.ts +2 -0
  241. package/dist/vendor/twenty-shared/types/page-layout/PageLayoutWidgetConditionalDisplay.d.ts.map +1 -0
  242. package/dist/vendor/twenty-shared/types/page-layout/page-layout-widget-position.type.d.ts +18 -0
  243. package/dist/vendor/twenty-shared/types/page-layout/page-layout-widget-position.type.d.ts.map +1 -0
  244. package/dist/vendor/twenty-shared/types.cjs +1 -1
  245. package/dist/vendor/twenty-shared/types.mjs +85 -76
  246. package/dist/vendor/twenty-shared/utils/array/compareArraysOfObjectsByProperty.d.ts +2 -0
  247. package/dist/vendor/twenty-shared/utils/array/compareArraysOfObjectsByProperty.d.ts.map +1 -0
  248. package/dist/vendor/twenty-shared/utils/files/extractFolderPathFilenameAndTypeOrThrow.util.d.ts +6 -0
  249. package/dist/vendor/twenty-shared/utils/files/extractFolderPathFilenameAndTypeOrThrow.util.d.ts.map +1 -0
  250. package/dist/vendor/twenty-shared/utils/filter/index.d.ts +13 -0
  251. package/dist/vendor/twenty-shared/utils/filter/index.d.ts.map +1 -1
  252. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingArrayFilter.d.ts +7 -0
  253. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingArrayFilter.d.ts.map +1 -0
  254. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingBooleanFilter.d.ts +7 -0
  255. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingBooleanFilter.d.ts.map +1 -0
  256. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingCurrencyFilter.d.ts +10 -0
  257. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingCurrencyFilter.d.ts.map +1 -0
  258. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingDateFilter.d.ts +7 -0
  259. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingDateFilter.d.ts.map +1 -0
  260. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFloatFilter.d.ts +7 -0
  261. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFloatFilter.d.ts.map +1 -0
  262. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingMultiSelectFilter.d.ts +7 -0
  263. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingMultiSelectFilter.d.ts.map +1 -0
  264. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRatingFilter.d.ts +7 -0
  265. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRatingFilter.d.ts.map +1 -0
  266. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRawJsonFilter.d.ts +7 -0
  267. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRawJsonFilter.d.ts.map +1 -0
  268. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRichTextV2Filter.d.ts +7 -0
  269. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRichTextV2Filter.d.ts.map +1 -0
  270. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingSelectFilter.d.ts +7 -0
  271. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingSelectFilter.d.ts.map +1 -0
  272. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingStringFilter.d.ts +7 -0
  273. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingStringFilter.d.ts.map +1 -0
  274. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingTSVectorFilter.d.ts +7 -0
  275. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingTSVectorFilter.d.ts.map +1 -0
  276. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingUUIDFilter.d.ts +7 -0
  277. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingUUIDFilter.d.ts.map +1 -0
  278. package/dist/vendor/twenty-shared/utils/format/formatToShortNumber.d.ts +2 -0
  279. package/dist/vendor/twenty-shared/utils/format/formatToShortNumber.d.ts.map +1 -0
  280. package/dist/vendor/twenty-shared/utils/index.d.ts +19 -0
  281. package/dist/vendor/twenty-shared/utils/index.d.ts.map +1 -1
  282. package/dist/vendor/twenty-shared/utils/strings/index.d.ts +1 -0
  283. package/dist/vendor/twenty-shared/utils/strings/index.d.ts.map +1 -1
  284. package/dist/vendor/twenty-shared/utils/strings/pascalCase.d.ts +2 -0
  285. package/dist/vendor/twenty-shared/utils/strings/pascalCase.d.ts.map +1 -0
  286. package/dist/vendor/twenty-shared/utils/strings/stringifySafely.d.ts +2 -0
  287. package/dist/vendor/twenty-shared/utils/strings/stringifySafely.d.ts.map +1 -0
  288. package/dist/vendor/twenty-shared/utils/typeguard/isPlainObject.d.ts +2 -0
  289. package/dist/vendor/twenty-shared/utils/typeguard/isPlainObject.d.ts.map +1 -0
  290. package/dist/vendor/twenty-shared/utils/validation/isValidLocale.d.ts +2 -2
  291. package/dist/vendor/twenty-shared/utils/validation/isValidLocale.d.ts.map +1 -1
  292. package/dist/vendor/twenty-shared/utils/validation/normalizeLocale.d.ts +2 -5
  293. package/dist/vendor/twenty-shared/utils/validation/normalizeLocale.d.ts.map +1 -1
  294. package/dist/vendor/twenty-shared/utils.cjs +2 -2
  295. package/dist/vendor/twenty-shared/utils.mjs +994 -522
  296. package/dist/vendor/twenty-shared/workflow/index.d.ts +4 -0
  297. package/dist/vendor/twenty-shared/workflow/index.d.ts.map +1 -1
  298. package/dist/vendor/twenty-shared/workflow/schemas/code-action-schema.d.ts +2 -3
  299. package/dist/vendor/twenty-shared/workflow/schemas/code-action-schema.d.ts.map +1 -1
  300. package/dist/vendor/twenty-shared/workflow/schemas/code-action-settings-schema.d.ts +2 -3
  301. package/dist/vendor/twenty-shared/workflow/schemas/code-action-settings-schema.d.ts.map +1 -1
  302. package/dist/vendor/twenty-shared/workflow/schemas/logic-function-action-schema.d.ts +29 -0
  303. package/dist/vendor/twenty-shared/workflow/schemas/logic-function-action-schema.d.ts.map +1 -0
  304. package/dist/vendor/twenty-shared/workflow/schemas/logic-function-action-settings-schema.d.ts +18 -0
  305. package/dist/vendor/twenty-shared/workflow/schemas/logic-function-action-settings-schema.d.ts.map +1 -0
  306. package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-schema.d.ts +5 -1
  307. package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-schema.d.ts.map +1 -1
  308. package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-settings-schema.d.ts +5 -1
  309. package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-settings-schema.d.ts.map +1 -1
  310. package/dist/vendor/twenty-shared/workflow/schemas/workflow-action-schema.d.ts +32 -4
  311. package/dist/vendor/twenty-shared/workflow/schemas/workflow-action-schema.d.ts.map +1 -1
  312. package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-schema.d.ts +32 -4
  313. package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-schema.d.ts.map +1 -1
  314. package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-state-schema.d.ts +32 -4
  315. package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-state-schema.d.ts.map +1 -1
  316. package/dist/vendor/twenty-shared/workflow/types/EmailRecipients.d.ts +6 -0
  317. package/dist/vendor/twenty-shared/workflow/types/EmailRecipients.d.ts.map +1 -0
  318. package/dist/vendor/twenty-shared/workflow/utils/variable-path.util.d.ts +12 -0
  319. package/dist/vendor/twenty-shared/workflow/utils/variable-path.util.d.ts.map +1 -0
  320. package/dist/vendor/twenty-shared/workflow.cjs +3 -3
  321. package/dist/vendor/twenty-shared/workflow.mjs +205 -166
  322. package/package.json +39 -15
  323. package/dist/ObjectRecordGroupByDateGranularity-CtpRADP1-Bft-VMSh.mjs +0 -3151
  324. package/dist/ObjectRecordGroupByDateGranularity-CtpRADP1-Duv5iOeZ.js +0 -20
  325. package/dist/application/application-config.d.ts +0 -2
  326. package/dist/application/define-app.d.ts +0 -18
  327. package/dist/application/fields/field.decorator.d.ts +0 -3
  328. package/dist/application/fields/relation.decorator.d.ts +0 -28
  329. package/dist/application/functions/define-function.d.ts +0 -28
  330. package/dist/application/functions/function-config.d.ts +0 -9
  331. package/dist/application/index.d.ts +0 -19
  332. package/dist/application/objects/define-object.d.ts +0 -35
  333. package/dist/application/objects/object.decorator.d.ts +0 -4
  334. package/dist/application/objects/standard-object-ids.d.ts +0 -1
  335. package/dist/application/permission-flag-type.d.ts +0 -1
  336. package/dist/application/role-config.d.ts +0 -2
  337. package/dist/application/roles/define-role.d.ts +0 -26
  338. package/dist/cli/commands/app-add.command.d.ts +0 -13
  339. package/dist/cli/commands/app-dev.command.d.ts +0 -11
  340. package/dist/cli/commands/app-sync.command.d.ts +0 -7
  341. package/dist/cli/commands/app.command.d.ts +0 -10
  342. package/dist/cli/commands/auth.command.d.ts +0 -9
  343. package/dist/cli/services/api.service.d.ts +0 -20
  344. package/dist/cli/utils/config-loader.d.ts +0 -43
  345. package/dist/cli/utils/display-entity-summary.d.ts +0 -2
  346. package/dist/cli/utils/display-errors.d.ts +0 -2
  347. package/dist/cli/utils/display-warnings.d.ts +0 -2
  348. package/dist/cli/utils/get-function-base-file.d.ts +0 -4
  349. package/dist/cli/utils/load-env-variables.d.ts +0 -2
  350. package/dist/cli/utils/load-manifest.d.ts +0 -41
  351. package/dist/cli/utils/validate-manifest.d.ts +0 -22
  352. package/dist/vendor/twenty-shared/ObjectRecordGroupByDateGranularity-BwpmSE4s.js +0 -1
  353. package/dist/vendor/twenty-shared/ObjectRecordGroupByDateGranularity-CtpRADP1.mjs +0 -500
  354. package/dist/vendor/twenty-shared/RatingValues-B_wgYyso.js +0 -1
  355. package/dist/vendor/twenty-shared/RatingValues-DNSj7xKA.mjs +0 -224
  356. package/dist/vendor/twenty-shared/application/applicationManifestType.d.ts +0 -12
  357. package/dist/vendor/twenty-shared/application/applicationManifestType.d.ts.map +0 -1
  358. package/dist/vendor/twenty-shared/application/packageJsonType.d.ts +0 -14
  359. package/dist/vendor/twenty-shared/application/packageJsonType.d.ts.map +0 -1
  360. package/dist/vendor/twenty-shared/application/serverlessFunctionManifestType.d.ts.map +0 -1
  361. package/dist/vendor/twenty-shared/isValidCountryCode-WBKj_GIR.js +0 -4
  362. package/dist/vendor/twenty-shared/metadata/standard-object-ids.d.ts +0 -51
  363. package/dist/vendor/twenty-shared/metadata/standard-object-ids.d.ts.map +0 -1
  364. /package/dist/cli/{types/api-response.types.d.ts → utilities/api/api-response-type.d.ts} +0 -0
  365. /package/dist/cli/{constants → utilities/config}/current-execution-directory.d.ts +0 -0
  366. /package/dist/cli/{utils/convert-to-label.d.ts → utilities/entity/entity-label.d.ts} +0 -0
  367. /package/dist/cli/{utils/get-role-base-file.d.ts → utilities/entity/entity-role-template.d.ts} +0 -0
  368. /package/dist/cli/{utils/find-path-file.d.ts → utilities/file/file-find.d.ts} +0 -0
  369. /package/dist/cli/{utils/format-path.d.ts → utilities/file/file-path.d.ts} +0 -0
  370. /package/dist/cli/{utils/format-and-warn-ts-diagnostics.d.ts → utilities/typescript/typescript-diagnostics.d.ts} +0 -0
  371. /package/dist/{application → sdk/common/types}/syncable-entity-options.type.d.ts +0 -0
  372. /package/dist/{application → sdk}/fields/field-type.d.ts +0 -0
  373. /package/dist/{application → sdk}/fields/on-delete-action.d.ts +0 -0
  374. /package/dist/{application → sdk}/fields/relation-type.d.ts +0 -0
  375. /package/dist/{application/functions → sdk/logic-functions}/triggers/cron-payload-type.d.ts +0 -0
  376. /package/dist/{application/functions → sdk/logic-functions}/triggers/database-event-payload-type.d.ts +0 -0
@@ -29,6 +29,8 @@ export { workflowIfElseActionSchema } from './schemas/if-else-action-schema';
29
29
  export { stepIfElseBranchSchema, workflowIfElseActionSettingsSchema, } from './schemas/if-else-action-settings-schema';
30
30
  export { workflowIteratorActionSchema } from './schemas/iterator-action-schema';
31
31
  export { workflowIteratorActionSettingsSchema } from './schemas/iterator-action-settings-schema';
32
+ export { workflowLogicFunctionActionSchema } from './schemas/logic-function-action-schema';
33
+ export { workflowLogicFunctionActionSettingsSchema } from './schemas/logic-function-action-settings-schema';
32
34
  export { workflowManualTriggerSchema } from './schemas/manual-trigger-schema';
33
35
  export { objectRecordSchema } from './schemas/object-record-schema';
34
36
  export { workflowSendEmailActionSchema } from './schemas/send-email-action-schema';
@@ -51,6 +53,7 @@ export { workflowRunStateStepInfosSchema } from './schemas/workflow-run-state-st
51
53
  export { workflowRunStatusSchema } from './schemas/workflow-run-status-schema';
52
54
  export { workflowRunStepStatusSchema } from './schemas/workflow-run-step-status-schema';
53
55
  export { workflowTriggerSchema } from './schemas/workflow-trigger-schema';
56
+ export type { EmailRecipients } from './types/EmailRecipients';
54
57
  export type { StepIfElseBranch } from './types/StepIfElseBranch';
55
58
  export type { BodyType } from './types/workflowHttpRequestStep';
56
59
  export type { WorkflowRunStepInfo, WorkflowRunStepInfos, } from './types/WorkflowRunStateStepInfos';
@@ -60,6 +63,7 @@ export { extractRawVariableNamePart } from './utils/extractRawVariableNameParts'
60
63
  export { getWorkflowRunContext } from './utils/getWorkflowRunContext';
61
64
  export { parseBooleanFromStringValue } from './utils/parseBooleanFromStringValue';
62
65
  export { parseDataFromContentType } from './utils/parseDataFromContentType';
66
+ export { needsEscaping, escapePathSegment, joinVariablePath, parseVariablePath, } from './utils/variable-path.util';
63
67
  export type { LeafType, NodeType, Leaf, Node, BaseOutputSchemaV2, } from './workflow-schema/types/base-output-schema.type';
64
68
  export { buildOutputSchemaFromValue } from './workflow-schema/utils/buildOutputSchemaFromValue';
65
69
  export { navigateOutputSchemaProperty } from './workflow-schema/utils/navigateOutputSchemaProperty';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oCAAoC,EAAE,MAAM,6CAA6C,CAAC;AACnG,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,mCAAmC,EAAE,MAAM,2CAA2C,CAAC;AAChG,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,wCAAwC,EAAE,MAAM,gDAAgD,CAAC;AAC1G,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,wCAAwC,EAAE,MAAM,gDAAgD,CAAC;AAC1G,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,0BAA0B,EAAE,MAAM,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AAiB,EACjB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,kBAAkB,GACnB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AACpG,YAAY,EACV,kBAAkB,EAClB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,gDAAgD,CAAC"}
@@ -21,9 +21,8 @@ export declare const workflowCodeActionSchema: z.ZodObject<{
21
21
  }, z.core.$strip>;
22
22
  }, z.core.$strip>;
23
23
  input: z.ZodObject<{
24
- serverlessFunctionId: z.ZodString;
25
- serverlessFunctionVersion: z.ZodString;
26
- serverlessFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
24
+ logicFunctionId: z.ZodString;
25
+ logicFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
27
26
  }, z.core.$strip>;
28
27
  }, z.core.$strip>;
29
28
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"code-action-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/code-action-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGnC,CAAC"}
1
+ {"version":3,"file":"code-action-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/code-action-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;iBAGnC,CAAC"}
@@ -11,9 +11,8 @@ export declare const workflowCodeActionSettingsSchema: z.ZodObject<{
11
11
  }, z.core.$strip>;
12
12
  }, z.core.$strip>;
13
13
  input: z.ZodObject<{
14
- serverlessFunctionId: z.ZodString;
15
- serverlessFunctionVersion: z.ZodString;
16
- serverlessFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
14
+ logicFunctionId: z.ZodString;
15
+ logicFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
17
16
  }, z.core.$strip>;
18
17
  }, z.core.$strip>;
19
18
  //# sourceMappingURL=code-action-settings-schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"code-action-settings-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/code-action-settings-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;iBAOzC,CAAC"}
1
+ {"version":3,"file":"code-action-settings-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/code-action-settings-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;iBAMzC,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { z } from 'zod';
2
+
3
+ export declare const workflowLogicFunctionActionSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ name: z.ZodString;
6
+ valid: z.ZodBoolean;
7
+ nextStepIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
8
+ position: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9
+ x: z.ZodNumber;
10
+ y: z.ZodNumber;
11
+ }, z.core.$strip>>>;
12
+ type: z.ZodLiteral<"LOGIC_FUNCTION">;
13
+ settings: z.ZodObject<{
14
+ outputSchema: z.ZodObject<{}, z.core.$loose>;
15
+ errorHandlingOptions: z.ZodObject<{
16
+ retryOnFailure: z.ZodObject<{
17
+ value: z.ZodBoolean;
18
+ }, z.core.$strip>;
19
+ continueOnFailure: z.ZodObject<{
20
+ value: z.ZodBoolean;
21
+ }, z.core.$strip>;
22
+ }, z.core.$strip>;
23
+ input: z.ZodObject<{
24
+ logicFunctionId: z.ZodString;
25
+ logicFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
26
+ }, z.core.$strip>;
27
+ }, z.core.$strip>;
28
+ }, z.core.$strip>;
29
+ //# sourceMappingURL=logic-function-action-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logic-function-action-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/logic-function-action-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;iBAI1C,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+
3
+ export declare const workflowLogicFunctionActionSettingsSchema: z.ZodObject<{
4
+ outputSchema: z.ZodObject<{}, z.core.$loose>;
5
+ errorHandlingOptions: z.ZodObject<{
6
+ retryOnFailure: z.ZodObject<{
7
+ value: z.ZodBoolean;
8
+ }, z.core.$strip>;
9
+ continueOnFailure: z.ZodObject<{
10
+ value: z.ZodBoolean;
11
+ }, z.core.$strip>;
12
+ }, z.core.$strip>;
13
+ input: z.ZodObject<{
14
+ logicFunctionId: z.ZodString;
15
+ logicFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
16
+ }, z.core.$strip>;
17
+ }, z.core.$strip>;
18
+ //# sourceMappingURL=logic-function-action-settings-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logic-function-action-settings-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/logic-function-action-settings-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;iBAMlD,CAAC"}
@@ -22,7 +22,11 @@ export declare const workflowSendEmailActionSchema: z.ZodObject<{
22
22
  }, z.core.$strip>;
23
23
  input: z.ZodObject<{
24
24
  connectedAccountId: z.ZodString;
25
- email: z.ZodString;
25
+ recipients: z.ZodObject<{
26
+ to: z.ZodDefault<z.ZodOptional<z.ZodString>>;
27
+ cc: z.ZodDefault<z.ZodOptional<z.ZodString>>;
28
+ bcc: z.ZodDefault<z.ZodOptional<z.ZodString>>;
29
+ }, z.core.$strip>;
26
30
  subject: z.ZodOptional<z.ZodString>;
27
31
  body: z.ZodOptional<z.ZodString>;
28
32
  files: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"send-email-action-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/send-email-action-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGxC,CAAC"}
1
+ {"version":3,"file":"send-email-action-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/send-email-action-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGxC,CAAC"}
@@ -12,7 +12,11 @@ export declare const workflowSendEmailActionSettingsSchema: z.ZodObject<{
12
12
  }, z.core.$strip>;
13
13
  input: z.ZodObject<{
14
14
  connectedAccountId: z.ZodString;
15
- email: z.ZodString;
15
+ recipients: z.ZodObject<{
16
+ to: z.ZodDefault<z.ZodOptional<z.ZodString>>;
17
+ cc: z.ZodDefault<z.ZodOptional<z.ZodString>>;
18
+ bcc: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19
+ }, z.core.$strip>;
16
20
  subject: z.ZodOptional<z.ZodString>;
17
21
  body: z.ZodOptional<z.ZodString>;
18
22
  files: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"send-email-action-settings-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/send-email-action-settings-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;iBAS9C,CAAC"}
1
+ {"version":3,"file":"send-email-action-settings-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/send-email-action-settings-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAa9C,CAAC"}
@@ -21,9 +21,33 @@ export declare const workflowActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
21
21
  }, z.core.$strip>;
22
22
  }, z.core.$strip>;
23
23
  input: z.ZodObject<{
24
- serverlessFunctionId: z.ZodString;
25
- serverlessFunctionVersion: z.ZodString;
26
- serverlessFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
24
+ logicFunctionId: z.ZodString;
25
+ logicFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
26
+ }, z.core.$strip>;
27
+ }, z.core.$strip>;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ id: z.ZodString;
30
+ name: z.ZodString;
31
+ valid: z.ZodBoolean;
32
+ nextStepIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
33
+ position: z.ZodNullable<z.ZodOptional<z.ZodObject<{
34
+ x: z.ZodNumber;
35
+ y: z.ZodNumber;
36
+ }, z.core.$strip>>>;
37
+ type: z.ZodLiteral<"LOGIC_FUNCTION">;
38
+ settings: z.ZodObject<{
39
+ outputSchema: z.ZodObject<{}, z.core.$loose>;
40
+ errorHandlingOptions: z.ZodObject<{
41
+ retryOnFailure: z.ZodObject<{
42
+ value: z.ZodBoolean;
43
+ }, z.core.$strip>;
44
+ continueOnFailure: z.ZodObject<{
45
+ value: z.ZodBoolean;
46
+ }, z.core.$strip>;
47
+ }, z.core.$strip>;
48
+ input: z.ZodObject<{
49
+ logicFunctionId: z.ZodString;
50
+ logicFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
27
51
  }, z.core.$strip>;
28
52
  }, z.core.$strip>;
29
53
  }, z.core.$strip>, z.ZodObject<{
@@ -48,7 +72,11 @@ export declare const workflowActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
48
72
  }, z.core.$strip>;
49
73
  input: z.ZodObject<{
50
74
  connectedAccountId: z.ZodString;
51
- email: z.ZodString;
75
+ recipients: z.ZodObject<{
76
+ to: z.ZodDefault<z.ZodOptional<z.ZodString>>;
77
+ cc: z.ZodDefault<z.ZodOptional<z.ZodString>>;
78
+ bcc: z.ZodDefault<z.ZodOptional<z.ZodString>>;
79
+ }, z.core.$strip>;
52
80
  subject: z.ZodOptional<z.ZodString>;
53
81
  body: z.ZodOptional<z.ZodString>;
54
82
  files: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-action-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/workflow-action-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAgB/B,CAAC"}
1
+ {"version":3,"file":"workflow-action-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/workflow-action-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkBxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiB/B,CAAC"}
@@ -120,9 +120,33 @@ export declare const workflowRunSchema: z.ZodObject<{
120
120
  }, z.core.$strip>;
121
121
  }, z.core.$strip>;
122
122
  input: z.ZodObject<{
123
- serverlessFunctionId: z.ZodString;
124
- serverlessFunctionVersion: z.ZodString;
125
- serverlessFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
123
+ logicFunctionId: z.ZodString;
124
+ logicFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
125
+ }, z.core.$strip>;
126
+ }, z.core.$strip>;
127
+ }, z.core.$strip>, z.ZodObject<{
128
+ id: z.ZodString;
129
+ name: z.ZodString;
130
+ valid: z.ZodBoolean;
131
+ nextStepIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
132
+ position: z.ZodNullable<z.ZodOptional<z.ZodObject<{
133
+ x: z.ZodNumber;
134
+ y: z.ZodNumber;
135
+ }, z.core.$strip>>>;
136
+ type: z.ZodLiteral<"LOGIC_FUNCTION">;
137
+ settings: z.ZodObject<{
138
+ outputSchema: z.ZodObject<{}, z.core.$loose>;
139
+ errorHandlingOptions: z.ZodObject<{
140
+ retryOnFailure: z.ZodObject<{
141
+ value: z.ZodBoolean;
142
+ }, z.core.$strip>;
143
+ continueOnFailure: z.ZodObject<{
144
+ value: z.ZodBoolean;
145
+ }, z.core.$strip>;
146
+ }, z.core.$strip>;
147
+ input: z.ZodObject<{
148
+ logicFunctionId: z.ZodString;
149
+ logicFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
126
150
  }, z.core.$strip>;
127
151
  }, z.core.$strip>;
128
152
  }, z.core.$strip>, z.ZodObject<{
@@ -147,7 +171,11 @@ export declare const workflowRunSchema: z.ZodObject<{
147
171
  }, z.core.$strip>;
148
172
  input: z.ZodObject<{
149
173
  connectedAccountId: z.ZodString;
150
- email: z.ZodString;
174
+ recipients: z.ZodObject<{
175
+ to: z.ZodDefault<z.ZodOptional<z.ZodString>>;
176
+ cc: z.ZodDefault<z.ZodOptional<z.ZodString>>;
177
+ bcc: z.ZodDefault<z.ZodOptional<z.ZodString>>;
178
+ }, z.core.$strip>;
151
179
  subject: z.ZodOptional<z.ZodString>;
152
180
  body: z.ZodOptional<z.ZodString>;
153
181
  files: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-run-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/workflow-run-schema.ts"],"names":[],"m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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAW5B,CAAC"}
@@ -115,9 +115,33 @@ export declare const workflowRunStateSchema: z.ZodObject<{
115
115
  }, z.core.$strip>;
116
116
  }, z.core.$strip>;
117
117
  input: z.ZodObject<{
118
- serverlessFunctionId: z.ZodString;
119
- serverlessFunctionVersion: z.ZodString;
120
- serverlessFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
118
+ logicFunctionId: z.ZodString;
119
+ logicFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
120
+ }, z.core.$strip>;
121
+ }, z.core.$strip>;
122
+ }, z.core.$strip>, z.ZodObject<{
123
+ id: z.ZodString;
124
+ name: z.ZodString;
125
+ valid: z.ZodBoolean;
126
+ nextStepIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
127
+ position: z.ZodNullable<z.ZodOptional<z.ZodObject<{
128
+ x: z.ZodNumber;
129
+ y: z.ZodNumber;
130
+ }, z.core.$strip>>>;
131
+ type: z.ZodLiteral<"LOGIC_FUNCTION">;
132
+ settings: z.ZodObject<{
133
+ outputSchema: z.ZodObject<{}, z.core.$loose>;
134
+ errorHandlingOptions: z.ZodObject<{
135
+ retryOnFailure: z.ZodObject<{
136
+ value: z.ZodBoolean;
137
+ }, z.core.$strip>;
138
+ continueOnFailure: z.ZodObject<{
139
+ value: z.ZodBoolean;
140
+ }, z.core.$strip>;
141
+ }, z.core.$strip>;
142
+ input: z.ZodObject<{
143
+ logicFunctionId: z.ZodString;
144
+ logicFunctionInput: z.ZodRecord<z.ZodString, z.ZodAny>;
121
145
  }, z.core.$strip>;
122
146
  }, z.core.$strip>;
123
147
  }, z.core.$strip>, z.ZodObject<{
@@ -142,7 +166,11 @@ export declare const workflowRunStateSchema: z.ZodObject<{
142
166
  }, z.core.$strip>;
143
167
  input: z.ZodObject<{
144
168
  connectedAccountId: z.ZodString;
145
- email: z.ZodString;
169
+ recipients: z.ZodObject<{
170
+ to: z.ZodDefault<z.ZodOptional<z.ZodString>>;
171
+ cc: z.ZodDefault<z.ZodOptional<z.ZodString>>;
172
+ bcc: z.ZodDefault<z.ZodOptional<z.ZodString>>;
173
+ }, z.core.$strip>;
146
174
  subject: z.ZodOptional<z.ZodString>;
147
175
  body: z.ZodOptional<z.ZodString>;
148
176
  files: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-run-state-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/workflow-run-state-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOjC,CAAC"}
1
+ {"version":3,"file":"workflow-run-state-schema.d.ts","sourceRoot":"","sources":["../../../src/workflow/schemas/workflow-run-state-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOjC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export type EmailRecipients = {
2
+ to: string;
3
+ cc?: string;
4
+ bcc?: string;
5
+ };
6
+ //# sourceMappingURL=EmailRecipients.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmailRecipients.d.ts","sourceRoot":"","sources":["../../../src/workflow/types/EmailRecipients.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -0,0 +1,12 @@
1
+ export declare const needsEscaping: (key: string) => boolean;
2
+ export declare const escapePathSegment: (segment: string) => string;
3
+ export declare const joinVariablePath: (segments: string[]) => string;
4
+ /**
5
+ * Parses a variable path string into segments, handling bracket notation.
6
+ * Examples:
7
+ * "step.normal.key" => ["step", "normal", "key"]
8
+ * "step.[key with space].value" => ["step", "key with space", "value"]
9
+ * "step.[key.with.dots]" => ["step", "key.with.dots"]
10
+ */
11
+ export declare const parseVariablePath: (path: string) => string[];
12
+ //# sourceMappingURL=variable-path.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variable-path.util.d.ts","sourceRoot":"","sources":["../../../src/workflow/utils/variable-path.util.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,KAAG,OACb,CAAC;AAEhC,eAAO,MAAM,iBAAiB,GAAI,SAAS,MAAM,KAAG,MACD,CAAC;AAEpD,eAAO,MAAM,gBAAgB,GAAI,UAAU,MAAM,EAAE,KAAG,MACX,CAAC;AAE5C;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,KAAG,MAAM,EAiDtD,CAAC"}
@@ -1,5 +1,5 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("zod"),de=require("./StepFilters-DGMx4w0Z.js"),d=require("./ObjectRecordGroupByDateGranularity-BwpmSE4s.js");require("class-validator");const S=require("./ViewFilterOperandDeprecated-6TjGsHvE.js"),s=require("./isValidCountryCode-WBKj_GIR.js"),ue=require("@sniptt/guards");require("handlebars");require("./RatingValues-B_wgYyso.js");require("qs");require("react-router-dom");const f=/{{([^{}]+)}}/g,pe={rawJson:"application/json",formData:"multipart/form-data",keyValue:"application/x-www-form-urlencoded",text:"text/plain",none:""},me={IF:{x:-200,y:120},ELSE:{x:200,y:120}},ze="trigger",i=e.z.object({input:e.z.looseObject({}).describe("Input data for the workflow action. Structure depends on the action type."),outputSchema:e.z.looseObject({}).describe("Schema defining the output data structure. This data can be referenced in subsequent steps using {{stepId.fieldName}}."),errorHandlingOptions:e.z.object({retryOnFailure:e.z.object({value:e.z.boolean().describe("Whether to retry the action if it fails.")}),continueOnFailure:e.z.object({value:e.z.boolean().describe("Whether to continue to the next step if this action fails.")})})}),h=i.extend({input:e.z.object({agentId:e.z.string().optional(),prompt:e.z.string().optional()})}),a=e.z.object({id:e.z.string().describe("Unique identifier for the workflow step. Must be unique within the workflow."),name:e.z.string().describe("Human-readable name for the workflow step. Should clearly describe what the step does."),valid:e.z.boolean().describe("Whether the step configuration is valid. Set to true when all required fields are properly configured."),nextStepIds:e.z.array(e.z.string()).optional().nullable().describe("Array of step IDs that this step connects to. Leave empty or null for the final step."),position:e.z.object({x:e.z.number(),y:e.z.number()}).optional().nullable().describe("Position coordinates for the step in the workflow diagram.")}),b=a.extend({type:e.z.literal("AI_AGENT"),settings:h}),l=e.z.object({name:e.z.string().optional().describe("Human-readable name for the trigger. Optional but recommended for clarity."),type:e.z.enum(["DATABASE_EVENT","MANUAL","CRON","WEBHOOK"]).describe("Type of trigger. DATABASE_EVENT for record changes, MANUAL for user-initiated, CRON for scheduled, WEBHOOK for external calls."),position:e.z.object({x:e.z.number(),y:e.z.number()}).optional().nullable().describe("Position coordinates for the trigger in the workflow diagram. Use (0, 0) for the trigger step."),nextStepIds:e.z.array(e.z.string()).optional().nullable().describe("Array of step IDs that the trigger connects to. These are the first steps in the workflow.")}),y=i.extend({input:e.z.object({serverlessFunctionId:e.z.string(),serverlessFunctionVersion:e.z.string(),serverlessFunctionInput:e.z.record(e.z.string(),e.z.any())})}),A=a.extend({type:e.z.literal("CODE"),settings:y}),u=e.z.record(e.z.string(),e.z.any()).describe(`Record data object. Use nested objects for relationships (e.g., "company": {"id": "{{reference}}"}). Common patterns:
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("zod"),ze=require("./StepFilters-DGMx4w0Z.js"),u=require("./ObjectRecordGroupByDateGranularity-BZ0Penru.js");require("class-validator");const f=require("./ViewFilterOperandDeprecated-6TjGsHvE.js"),l=require("./isValidCountryCode-D-UqlXRW.js"),ge=require("@sniptt/guards");require("handlebars");require("lodash.camelcase");require("./RatingValues-Bd_cXQ5v.js");require("qs");require("react-router-dom");const h=/{{([^{}]+)}}/g,we={rawJson:"application/json",formData:"multipart/form-data",keyValue:"application/x-www-form-urlencoded",text:"text/plain",none:""},Se={IF:{x:-200,y:120},ELSE:{x:200,y:120}},fe="trigger",a=e.z.object({input:e.z.looseObject({}).describe("Input data for the workflow action. Structure depends on the action type."),outputSchema:e.z.looseObject({}).describe("Schema defining the output data structure. This data can be referenced in subsequent steps using {{stepId.fieldName}}."),errorHandlingOptions:e.z.object({retryOnFailure:e.z.object({value:e.z.boolean().describe("Whether to retry the action if it fails.")}),continueOnFailure:e.z.object({value:e.z.boolean().describe("Whether to continue to the next step if this action fails.")})})}),b=a.extend({input:e.z.object({agentId:e.z.string().optional(),prompt:e.z.string().optional()})}),c=e.z.object({id:e.z.string().describe("Unique identifier for the workflow step. Must be unique within the workflow."),name:e.z.string().describe("Human-readable name for the workflow step. Should clearly describe what the step does."),valid:e.z.boolean().describe("Whether the step configuration is valid. Set to true when all required fields are properly configured."),nextStepIds:e.z.array(e.z.string()).optional().nullable().describe("Array of step IDs that this step connects to. Leave empty or null for the final step."),position:e.z.object({x:e.z.number(),y:e.z.number()}).optional().nullable().describe("Position coordinates for the step in the workflow diagram.")}),y=c.extend({type:e.z.literal("AI_AGENT"),settings:b}),d=e.z.object({name:e.z.string().optional().describe("Human-readable name for the trigger. Optional but recommended for clarity."),type:e.z.enum(["DATABASE_EVENT","MANUAL","CRON","WEBHOOK"]).describe("Type of trigger. DATABASE_EVENT for record changes, MANUAL for user-initiated, CRON for scheduled, WEBHOOK for external calls."),position:e.z.object({x:e.z.number(),y:e.z.number()}).optional().nullable().describe("Position coordinates for the trigger in the workflow diagram. Use (0, 0) for the trigger step."),nextStepIds:e.z.array(e.z.string()).optional().nullable().describe("Array of step IDs that the trigger connects to. These are the first steps in the workflow.")}),A=a.extend({input:e.z.object({logicFunctionId:e.z.string(),logicFunctionInput:e.z.record(e.z.string(),e.z.any())})}),E=c.extend({type:e.z.literal("CODE"),settings:A}),p=e.z.record(e.z.string(),e.z.any()).describe(`Record data object. Use nested objects for relationships (e.g., "company": {"id": "{{reference}}"}). Common patterns:
2
2
  - Person: {"name": {"firstName": "John", "lastName": "Doe"}, "emails": {"primaryEmail": "john@example.com"}, "company": {"id": "{{trigger.object.id}}"}}
3
3
  - Company: {"name": "Acme Corp", "domainName": {"primaryLinkUrl": "https://acme.com"}}
4
- - Task: {"title": "Follow up", "status": "TODO", "assignee": {"id": "{{user.id}}"}}`),E=i.extend({input:e.z.object({objectName:e.z.string().describe('The name of the object to create a record in. Must be lowercase (e.g., "person", "company", "task").'),objectRecord:u.describe("The record data to create.")})}),k=a.extend({type:e.z.literal("CREATE_RECORD"),settings:E}),j=l.extend({type:e.z.literal("CRON"),settings:e.z.discriminatedUnion("type",[e.z.object({type:e.z.literal("DAYS"),schedule:e.z.object({day:e.z.number().min(1),hour:e.z.number().min(0).max(23),minute:e.z.number().min(0).max(59)}),outputSchema:e.z.looseObject({})}),e.z.object({type:e.z.literal("HOURS"),schedule:e.z.object({hour:e.z.number().min(1),minute:e.z.number().min(0).max(59)}),outputSchema:e.z.looseObject({})}),e.z.object({type:e.z.literal("MINUTES"),schedule:e.z.object({minute:e.z.number().min(1).max(60)}),outputSchema:e.z.looseObject({})}),e.z.object({type:e.z.literal("CUSTOM"),pattern:e.z.string(),outputSchema:e.z.looseObject({})})])}),T=l.extend({type:e.z.literal("DATABASE_EVENT"),settings:e.z.object({eventName:e.z.string().regex(/^[a-z][a-zA-Z0-9_]*\.(created|updated|deleted|upserted)$/,'Event name must follow the pattern: objectName.action (e.g., "company.created", "person.updated", "company.upserted")').describe('Event name in format: objectName.action (e.g., "company.created", "person.updated", "task.deleted", "company.upserted"). Use lowercase object names.'),input:e.z.looseObject({}).optional(),outputSchema:e.z.looseObject({}).describe("Schema defining the output data structure. For database events, this includes the record that triggered the workflow accessible via {{trigger.object.fieldName}}."),objectType:e.z.string().optional(),fields:e.z.array(e.z.string()).optional().nullable()})}).describe("Database event trigger that fires when a record is created, updated, deleted, or upserted. The triggered record is accessible in workflow steps via {{trigger.object.fieldName}}."),R=i.extend({input:e.z.object({objectName:e.z.string(),objectRecordId:e.z.string()})}),O=a.extend({type:e.z.literal("DELETE_RECORD"),settings:R}),I=i.extend({input:e.z.object({})}),N=a.extend({type:e.z.literal("EMPTY"),settings:I}),m=e.z.object({id:e.z.string(),logicalOperator:e.z.enum(de.StepLogicalOperator),parentStepFilterGroupId:e.z.string().optional(),positionInStepFilterGroup:e.z.number().optional()}),z=e.z.object({id:e.z.string(),type:e.z.string(),stepOutputKey:e.z.string(),operand:e.z.enum(S.ViewFilterOperand).or(e.z.enum(S.ViewFilterOperandDeprecated)),value:e.z.string(),stepFilterGroupId:e.z.string(),positionInStepFilterGroup:e.z.number().optional(),fieldMetadataId:e.z.string().optional(),compositeFieldSubFieldName:e.z.string().optional()}),D=i.extend({input:e.z.object({stepFilterGroups:e.z.array(m),stepFilters:e.z.array(z)})}),F=a.extend({type:e.z.literal("FILTER"),settings:D}),x=i.extend({input:e.z.object({objectName:e.z.string(),limit:e.z.number().optional(),filter:e.z.object({recordFilterGroups:e.z.array(e.z.any()).optional(),recordFilters:e.z.array(e.z.any()).optional(),gqlOperationFilter:e.z.any().optional().nullable()}).optional(),orderBy:e.z.object({recordSorts:e.z.array(e.z.any()).optional(),gqlOperationOrderBy:e.z.array(e.z.record(e.z.string(),e.z.any())).optional()}).optional()})}),_=a.extend({type:e.z.literal("FIND_RECORDS"),settings:x}),U=i.extend({input:e.z.array(e.z.object({id:e.z.string(),name:e.z.string(),label:e.z.string(),type:e.z.union([e.z.literal(d.FieldMetadataType.TEXT),e.z.literal(d.FieldMetadataType.NUMBER),e.z.literal(d.FieldMetadataType.DATE),e.z.literal(d.FieldMetadataType.SELECT),e.z.literal("RECORD")]),placeholder:e.z.string().optional(),settings:e.z.record(e.z.string(),e.z.any()).optional(),value:e.z.any().optional()}))}),C=a.extend({type:e.z.literal("FORM"),settings:U}),P=i.extend({input:e.z.object({url:e.z.string(),method:e.z.enum(["GET","POST","PUT","PATCH","DELETE"]),headers:e.z.record(e.z.string(),e.z.string()).optional(),body:e.z.record(e.z.string(),e.z.union([e.z.string(),e.z.number(),e.z.boolean(),e.z.null(),e.z.array(e.z.union([e.z.string(),e.z.number(),e.z.boolean(),e.z.null()]))])).or(e.z.string()).optional()})}),L=a.extend({type:e.z.literal("HTTP_REQUEST"),settings:P}),G=e.z.object({id:e.z.string(),nextStepIds:e.z.array(e.z.string()),filterGroupId:e.z.string().optional()}),M=i.extend({input:e.z.object({stepFilterGroups:e.z.array(m),stepFilters:e.z.array(z),branches:e.z.array(G)})}),v=a.extend({type:e.z.literal("IF_ELSE"),settings:M}),B=i.extend({input:e.z.object({items:e.z.union([e.z.array(e.z.union([e.z.string(),e.z.number(),e.z.boolean(),e.z.null(),e.z.record(e.z.string(),e.z.any()),e.z.any()])),e.z.string()]).optional(),initialLoopStepIds:e.z.array(e.z.string()).optional()})}),V=a.extend({type:e.z.literal("ITERATOR"),settings:B}),q=l.extend({type:e.z.literal("MANUAL"),settings:e.z.object({objectType:e.z.string().optional(),outputSchema:e.z.looseObject({}).describe("Schema defining the output data structure. When a record is selected, it is accessible via {{trigger.record.fieldName}}. When no record is selected, no data is available."),icon:e.z.string().optional(),isPinned:e.z.boolean().optional(),availability:e.z.discriminatedUnion("type",[e.z.object({type:e.z.literal("GLOBAL"),locations:e.z.array(e.z.string()).optional()}),e.z.object({type:e.z.literal("SINGLE_RECORD"),objectNameSingular:e.z.string()}),e.z.object({type:e.z.literal("BULK_RECORDS"),objectNameSingular:e.z.string()})]).optional().nullable()})}).describe("Manual trigger that can be launched by the user. If a record is selected when launched, it is accessible via {{trigger.record.fieldName}}. If no record is selected, no data context is available."),W=e.z.object({id:e.z.string().refine(t=>s.isValidUuid(t)),name:e.z.string(),size:e.z.number(),type:e.z.string(),createdAt:e.z.string()}),H=i.extend({input:e.z.object({connectedAccountId:e.z.string(),email:e.z.string(),subject:e.z.string().optional(),body:e.z.string().optional(),files:e.z.array(W).optional().default([])})}),K=a.extend({type:e.z.literal("SEND_EMAIL"),settings:H}),J=i.extend({input:e.z.object({objectName:e.z.string(),objectRecord:u,objectRecordId:e.z.string(),fieldsToUpdate:e.z.array(e.z.string())})}),Y=a.extend({type:e.z.literal("UPDATE_RECORD"),settings:J}),Q=i.extend({input:e.z.object({objectName:e.z.string(),objectRecord:u})}),X=a.extend({type:e.z.literal("UPSERT_RECORD"),settings:Q}),$=l.extend({type:e.z.literal("WEBHOOK"),settings:e.z.discriminatedUnion("httpMethod",[e.z.object({outputSchema:e.z.looseObject({}),httpMethod:e.z.literal("GET"),authentication:e.z.literal("API_KEY").nullable()}),e.z.object({outputSchema:e.z.looseObject({}),httpMethod:e.z.literal("POST"),expectedBody:e.z.looseObject({}),authentication:e.z.literal("API_KEY").nullable()})])}),Z=i.extend({input:e.z.object({delayType:e.z.enum(["SCHEDULED_DATE","DURATION"]),scheduledDateTime:e.z.string().nullable().optional(),duration:e.z.object({days:e.z.union([e.z.number().min(0),e.z.string()]).optional(),hours:e.z.union([e.z.number().min(0),e.z.string()]).optional(),minutes:e.z.union([e.z.number().min(0),e.z.string()]).optional(),seconds:e.z.union([e.z.number().min(0),e.z.string()]).optional()}).optional()})}),ee=a.extend({type:e.z.literal("DELAY"),settings:Z}),te=e.z.discriminatedUnion("type",[A,K,k,Y,O,X,_,C,L,b,F,v,V,ee,N]);var g=(t=>(t.NOT_STARTED="NOT_STARTED",t.RUNNING="RUNNING",t.SUCCESS="SUCCESS",t.STOPPED="STOPPED",t.FAILED="FAILED",t.PENDING="PENDING",t.SKIPPED="SKIPPED",t))(g||{});const oe=e.z.enum(g),w=e.z.object({result:e.z.any().optional(),error:e.z.any().optional(),status:oe,get history(){return e.z.array(w.pick({result:!0,status:!0,error:!0})).optional()}}),re=e.z.record(e.z.string(),w),ne=e.z.discriminatedUnion("type",[T,q,j,$]),ie=e.z.object({flow:e.z.object({trigger:ne,steps:e.z.array(te)}),stepInfos:re,workflowRunError:e.z.any().optional()}),ae=e.z.enum(["NOT_STARTED","RUNNING","COMPLETED","FAILED","ENQUEUED","STOPPING","STOPPED"]),ge=e.z.looseObject({__typename:e.z.literal("WorkflowRun"),id:e.z.string(),workflowVersionId:e.z.string(),workflowId:e.z.string(),state:ie.nullable(),status:ae,createdAt:e.z.string(),deletedAt:e.z.string().nullable(),endedAt:e.z.string().nullable(),name:e.z.string()}),we=({nameSingular:t,isSystem:o})=>!["workflow","workflowVersion","workflowRun","dashboard"].includes(t)&&!o,Se=({rawVariableName:t,part:o})=>{const r=t.replace(f,(se,le)=>le).split("."),c=o==="stepId"?r[0]:o==="selectedField"?r[r.length-1]:null;if(!s.isDefined(c))throw new Error("Expected to find at least one splitted chunk.");return c},fe=t=>Object.fromEntries(Object.entries(t).filter(([,o])=>s.isDefined(o?.result)).map(([o,n])=>[o,n?.result])),he=t=>t==="true"?!0:t==="false"?!1:t,be=t=>{let o=t;if(typeof t=="string")try{o=JSON.parse(t)}catch{o=t}return new URLSearchParams(o).toString()},ye=t=>{const o=new FormData;if(typeof t=="string")try{const n=JSON.parse(t);Object.entries(n).forEach(([r,c])=>o.append(r,String(c)))}catch{throw new Error("String data for FormData must be valid JSON")}else Object.entries(t).forEach(([n,r])=>o.append(n,r));return o},p=t=>typeof t=="string"?t:JSON.stringify(t),Ae=t=>typeof t=="string"?t:Object.entries(t).map(([o,n])=>`${o}=${n}`).join(`
5
- `),Ee=(t,o)=>{if(o===void 0)return p(t);switch(o){case"application/x-www-form-urlencoded":return be(t);case"multipart/form-data":return ye(t);case"application/json":return p(t);case"text/plain":return Ae(t);default:return p(t)}},ke=t=>!s.isDefined(t)||t===null?"unknown":typeof t=="string"?"string":typeof t=="number"?"number":typeof t=="boolean"?"boolean":Array.isArray(t)?"array":"unknown",ce=t=>t?Object.entries(t).reduce((o,[n,r])=>(ue.isObject(r)&&!Array.isArray(r)?o[n]={isLeaf:!1,type:"object",label:n,value:ce(r)}:o[n]={isLeaf:!0,value:r,type:ke(r),label:n},o),{}):{},je=({schema:t,propertyPath:o})=>{if(o.length===0)return;let n=t,r;for(const c of o){if(r=n[c],!s.isDefined(r))return;if(r.isLeaf)return c===o[o.length-1]?r:void 0;n=r.value}return r};exports.CAPTURE_ALL_VARIABLE_TAG_INNER_REGEX=f;exports.CONTENT_TYPE_VALUES_HTTP_REQUEST=pe;exports.IF_ELSE_BRANCH_POSITION_OFFSETS=me;exports.StepStatus=g;exports.TRIGGER_STEP_ID=ze;exports.baseTriggerSchema=l;exports.baseWorkflowActionSchema=a;exports.baseWorkflowActionSettingsSchema=i;exports.buildOutputSchemaFromValue=ce;exports.canObjectBeManagedByWorkflow=we;exports.extractRawVariableNamePart=Se;exports.getWorkflowRunContext=fe;exports.navigateOutputSchemaProperty=je;exports.objectRecordSchema=u;exports.parseBooleanFromStringValue=he;exports.parseDataFromContentType=Ee;exports.stepFilterGroupSchema=m;exports.stepFilterSchema=z;exports.stepIfElseBranchSchema=G;exports.workflowActionSchema=te;exports.workflowAiAgentActionSchema=b;exports.workflowAiAgentActionSettingsSchema=h;exports.workflowCodeActionSchema=A;exports.workflowCodeActionSettingsSchema=y;exports.workflowCreateRecordActionSchema=k;exports.workflowCreateRecordActionSettingsSchema=E;exports.workflowCronTriggerSchema=j;exports.workflowDatabaseEventTriggerSchema=T;exports.workflowDelayActionSchema=ee;exports.workflowDelayActionSettingsSchema=Z;exports.workflowDeleteRecordActionSchema=O;exports.workflowDeleteRecordActionSettingsSchema=R;exports.workflowEmptyActionSchema=N;exports.workflowEmptyActionSettingsSchema=I;exports.workflowFileSchema=W;exports.workflowFilterActionSchema=F;exports.workflowFilterActionSettingsSchema=D;exports.workflowFindRecordsActionSchema=_;exports.workflowFindRecordsActionSettingsSchema=x;exports.workflowFormActionSchema=C;exports.workflowFormActionSettingsSchema=U;exports.workflowHttpRequestActionSchema=L;exports.workflowHttpRequestActionSettingsSchema=P;exports.workflowIfElseActionSchema=v;exports.workflowIfElseActionSettingsSchema=M;exports.workflowIteratorActionSchema=V;exports.workflowIteratorActionSettingsSchema=B;exports.workflowManualTriggerSchema=q;exports.workflowRunSchema=ge;exports.workflowRunStateSchema=ie;exports.workflowRunStateStepInfoSchema=w;exports.workflowRunStateStepInfosSchema=re;exports.workflowRunStatusSchema=ae;exports.workflowRunStepStatusSchema=oe;exports.workflowSendEmailActionSchema=K;exports.workflowSendEmailActionSettingsSchema=H;exports.workflowTriggerSchema=ne;exports.workflowUpdateRecordActionSchema=Y;exports.workflowUpdateRecordActionSettingsSchema=J;exports.workflowUpsertRecordActionSchema=X;exports.workflowUpsertRecordActionSettingsSchema=Q;exports.workflowWebhookTriggerSchema=$;
4
+ - Task: {"title": "Follow up", "status": "TODO", "assignee": {"id": "{{user.id}}"}}`),k=a.extend({input:e.z.object({objectName:e.z.string().describe('The name of the object to create a record in. Must be lowercase (e.g., "person", "company", "task").'),objectRecord:p.describe("The record data to create.")})}),j=c.extend({type:e.z.literal("CREATE_RECORD"),settings:k}),R=d.extend({type:e.z.literal("CRON"),settings:e.z.discriminatedUnion("type",[e.z.object({type:e.z.literal("DAYS"),schedule:e.z.object({day:e.z.number().min(1),hour:e.z.number().min(0).max(23),minute:e.z.number().min(0).max(59)}),outputSchema:e.z.looseObject({})}),e.z.object({type:e.z.literal("HOURS"),schedule:e.z.object({hour:e.z.number().min(1),minute:e.z.number().min(0).max(59)}),outputSchema:e.z.looseObject({})}),e.z.object({type:e.z.literal("MINUTES"),schedule:e.z.object({minute:e.z.number().min(1).max(60)}),outputSchema:e.z.looseObject({})}),e.z.object({type:e.z.literal("CUSTOM"),pattern:e.z.string(),outputSchema:e.z.looseObject({})})])}),T=d.extend({type:e.z.literal("DATABASE_EVENT"),settings:e.z.object({eventName:e.z.string().regex(/^[a-z][a-zA-Z0-9_]*\.(created|updated|deleted|upserted)$/,'Event name must follow the pattern: objectName.action (e.g., "company.created", "person.updated", "company.upserted")').describe('Event name in format: objectName.action (e.g., "company.created", "person.updated", "task.deleted", "company.upserted"). Use lowercase object names.'),input:e.z.looseObject({}).optional(),outputSchema:e.z.looseObject({}).describe("Schema defining the output data structure. For database events, this includes the record that triggered the workflow accessible via {{trigger.object.fieldName}}."),objectType:e.z.string().optional(),fields:e.z.array(e.z.string()).optional().nullable()})}).describe("Database event trigger that fires when a record is created, updated, deleted, or upserted. The triggered record is accessible in workflow steps via {{trigger.object.fieldName}}."),O=a.extend({input:e.z.object({objectName:e.z.string(),objectRecordId:e.z.string()})}),I=c.extend({type:e.z.literal("DELETE_RECORD"),settings:O}),F=a.extend({input:e.z.object({})}),N=c.extend({type:e.z.literal("EMPTY"),settings:F}),z=e.z.object({id:e.z.string(),logicalOperator:e.z.enum(ze.StepLogicalOperator),parentStepFilterGroupId:e.z.string().optional(),positionInStepFilterGroup:e.z.number().optional()}),g=e.z.object({id:e.z.string(),type:e.z.string(),stepOutputKey:e.z.string(),operand:e.z.enum(f.ViewFilterOperand).or(e.z.enum(f.ViewFilterOperandDeprecated)),value:e.z.string(),stepFilterGroupId:e.z.string(),positionInStepFilterGroup:e.z.number().optional(),fieldMetadataId:e.z.string().optional(),compositeFieldSubFieldName:e.z.string().optional()}),D=a.extend({input:e.z.object({stepFilterGroups:e.z.array(z),stepFilters:e.z.array(g)})}),x=c.extend({type:e.z.literal("FILTER"),settings:D}),_=a.extend({input:e.z.object({objectName:e.z.string(),limit:e.z.number().optional(),filter:e.z.object({recordFilterGroups:e.z.array(e.z.any()).optional(),recordFilters:e.z.array(e.z.any()).optional(),gqlOperationFilter:e.z.any().optional().nullable()}).optional(),orderBy:e.z.object({recordSorts:e.z.array(e.z.any()).optional(),gqlOperationOrderBy:e.z.array(e.z.record(e.z.string(),e.z.any())).optional()}).optional()})}),C=c.extend({type:e.z.literal("FIND_RECORDS"),settings:_}),P=a.extend({input:e.z.array(e.z.object({id:e.z.string(),name:e.z.string(),label:e.z.string(),type:e.z.union([e.z.literal(u.FieldMetadataType.TEXT),e.z.literal(u.FieldMetadataType.NUMBER),e.z.literal(u.FieldMetadataType.DATE),e.z.literal(u.FieldMetadataType.SELECT),e.z.literal("RECORD")]),placeholder:e.z.string().optional(),settings:e.z.record(e.z.string(),e.z.any()).optional(),value:e.z.any().optional()}))}),U=c.extend({type:e.z.literal("FORM"),settings:P}),L=a.extend({input:e.z.object({url:e.z.string(),method:e.z.enum(["GET","POST","PUT","PATCH","DELETE"]),headers:e.z.record(e.z.string(),e.z.string()).optional(),body:e.z.record(e.z.string(),e.z.union([e.z.string(),e.z.number(),e.z.boolean(),e.z.null(),e.z.array(e.z.union([e.z.string(),e.z.number(),e.z.boolean(),e.z.null()]))])).or(e.z.string()).optional()})}),G=c.extend({type:e.z.literal("HTTP_REQUEST"),settings:L}),M=e.z.object({id:e.z.string(),nextStepIds:e.z.array(e.z.string()),filterGroupId:e.z.string().optional()}),B=a.extend({input:e.z.object({stepFilterGroups:e.z.array(z),stepFilters:e.z.array(g),branches:e.z.array(M)})}),V=c.extend({type:e.z.literal("IF_ELSE"),settings:B}),v=a.extend({input:e.z.object({items:e.z.union([e.z.array(e.z.union([e.z.string(),e.z.number(),e.z.boolean(),e.z.null(),e.z.record(e.z.string(),e.z.any()),e.z.any()])),e.z.string()]).optional(),initialLoopStepIds:e.z.array(e.z.string()).optional()})}),q=c.extend({type:e.z.literal("ITERATOR"),settings:v}),W=a.extend({input:e.z.object({logicFunctionId:e.z.string(),logicFunctionInput:e.z.record(e.z.string(),e.z.any())})}),H=c.extend({type:e.z.literal("LOGIC_FUNCTION"),settings:W}),K=d.extend({type:e.z.literal("MANUAL"),settings:e.z.object({objectType:e.z.string().optional(),outputSchema:e.z.looseObject({}).describe("Schema defining the output data structure. When a record is selected, it is accessible via {{trigger.record.fieldName}}. When no record is selected, no data is available."),icon:e.z.string().optional(),isPinned:e.z.boolean().optional(),availability:e.z.discriminatedUnion("type",[e.z.object({type:e.z.literal("GLOBAL"),locations:e.z.array(e.z.string()).optional()}),e.z.object({type:e.z.literal("SINGLE_RECORD"),objectNameSingular:e.z.string()}),e.z.object({type:e.z.literal("BULK_RECORDS"),objectNameSingular:e.z.string()})]).optional().nullable()})}).describe("Manual trigger that can be launched by the user. If a record is selected when launched, it is accessible via {{trigger.record.fieldName}}. If no record is selected, no data context is available."),J=e.z.object({id:e.z.string().refine(t=>l.isValidUuid(t)),name:e.z.string(),size:e.z.number(),type:e.z.string(),createdAt:e.z.string()}),Y=a.extend({input:e.z.object({connectedAccountId:e.z.string(),recipients:e.z.object({to:e.z.string().optional().default(""),cc:e.z.string().optional().default(""),bcc:e.z.string().optional().default("")}),subject:e.z.string().optional(),body:e.z.string().optional(),files:e.z.array(J).optional().default([])})}),Q=c.extend({type:e.z.literal("SEND_EMAIL"),settings:Y}),X=a.extend({input:e.z.object({objectName:e.z.string(),objectRecord:p,objectRecordId:e.z.string(),fieldsToUpdate:e.z.array(e.z.string())})}),$=c.extend({type:e.z.literal("UPDATE_RECORD"),settings:X}),Z=a.extend({input:e.z.object({objectName:e.z.string(),objectRecord:p})}),ee=c.extend({type:e.z.literal("UPSERT_RECORD"),settings:Z}),te=d.extend({type:e.z.literal("WEBHOOK"),settings:e.z.discriminatedUnion("httpMethod",[e.z.object({outputSchema:e.z.looseObject({}),httpMethod:e.z.literal("GET"),authentication:e.z.literal("API_KEY").nullable()}),e.z.object({outputSchema:e.z.looseObject({}),httpMethod:e.z.literal("POST"),expectedBody:e.z.looseObject({}),authentication:e.z.literal("API_KEY").nullable()})])}),oe=a.extend({input:e.z.object({delayType:e.z.enum(["SCHEDULED_DATE","DURATION"]),scheduledDateTime:e.z.string().nullable().optional(),duration:e.z.object({days:e.z.union([e.z.number().min(0),e.z.string()]).optional(),hours:e.z.union([e.z.number().min(0),e.z.string()]).optional(),minutes:e.z.union([e.z.number().min(0),e.z.string()]).optional(),seconds:e.z.union([e.z.number().min(0),e.z.string()]).optional()}).optional()})}),re=c.extend({type:e.z.literal("DELAY"),settings:oe}),ne=e.z.discriminatedUnion("type",[E,H,Q,j,$,I,ee,C,U,G,y,x,V,q,re,N]);var w=(t=>(t.NOT_STARTED="NOT_STARTED",t.RUNNING="RUNNING",t.SUCCESS="SUCCESS",t.STOPPED="STOPPED",t.FAILED="FAILED",t.PENDING="PENDING",t.SKIPPED="SKIPPED",t))(w||{});const ie=e.z.enum(w),S=e.z.object({result:e.z.any().optional(),error:e.z.any().optional(),status:ie,get history(){return e.z.array(S.pick({result:!0,status:!0,error:!0})).optional()}}),ae=e.z.record(e.z.string(),S),ce=e.z.discriminatedUnion("type",[T,K,R,te]),se=e.z.object({flow:e.z.object({trigger:ce,steps:e.z.array(ne)}),stepInfos:ae,workflowRunError:e.z.any().optional()}),le=e.z.enum(["NOT_STARTED","RUNNING","COMPLETED","FAILED","ENQUEUED","STOPPING","STOPPED"]),he=e.z.looseObject({__typename:e.z.literal("WorkflowRun"),id:e.z.string(),workflowVersionId:e.z.string(),workflowId:e.z.string(),state:se.nullable(),status:le,createdAt:e.z.string(),deletedAt:e.z.string().nullable(),endedAt:e.z.string().nullable(),name:e.z.string()}),be=({nameSingular:t,isSystem:o})=>!["workflow","workflowVersion","workflowRun","dashboard"].includes(t)&&!o,ye=({rawVariableName:t,part:o})=>{const n=t.replace(h,(s,me)=>me).split("."),i=o==="stepId"?n[0]:o==="selectedField"?n[n.length-1]:null;if(!l.isDefined(i))throw new Error("Expected to find at least one splitted chunk.");return i},Ae=t=>Object.fromEntries(Object.entries(t).filter(([,o])=>l.isDefined(o?.result)).map(([o,r])=>[o,r?.result])),Ee=t=>t==="true"?!0:t==="false"?!1:t,ke=t=>{let o=t;if(typeof t=="string")try{o=JSON.parse(t)}catch{o=t}return new URLSearchParams(o).toString()},je=t=>{const o=new FormData;if(typeof t=="string")try{const r=JSON.parse(t);Object.entries(r).forEach(([n,i])=>o.append(n,String(i)))}catch{throw new Error("String data for FormData must be valid JSON")}else Object.entries(t).forEach(([r,n])=>o.append(r,n));return o},m=t=>typeof t=="string"?t:JSON.stringify(t),Re=t=>typeof t=="string"?t:Object.entries(t).map(([o,r])=>`${o}=${r}`).join(`
5
+ `),Te=(t,o)=>{if(o===void 0)return m(t);switch(o){case"application/x-www-form-urlencoded":return ke(t);case"multipart/form-data":return je(t);case"application/json":return m(t);case"text/plain":return Re(t);default:return m(t)}},Oe=/[\s[]/,de=t=>Oe.test(t),ue=t=>de(t)?`[${t}]`:t,Ie=t=>t.map(ue).join("."),Fe=t=>{const o=[];let r="",n=!1,i=0;for(;i<t.length;){const s=t[i];if(s==="["&&!n){r.length>0&&(o.push(r),r=""),n=!0,i++;continue}if(s==="]"&&n){o.push(r),r="",n=!1,i++,i<t.length&&t[i]==="."&&i++;continue}if(s==="."&&!n){r.length>0&&(o.push(r),r=""),i++;continue}r+=s,i++}return r.length>0&&o.push(r),o},Ne=t=>!l.isDefined(t)||t===null?"unknown":typeof t=="string"?"string":typeof t=="number"?"number":typeof t=="boolean"?"boolean":Array.isArray(t)?"array":"unknown",pe=t=>t?Object.entries(t).reduce((o,[r,n])=>(ge.isObject(n)&&!Array.isArray(n)?o[r]={isLeaf:!1,type:"object",label:r,value:pe(n)}:o[r]={isLeaf:!0,value:n,type:Ne(n),label:r},o),{}):{},De=({schema:t,propertyPath:o})=>{if(o.length===0)return;let r=t,n;for(const i of o){if(n=r[i],!l.isDefined(n))return;if(n.isLeaf)return i===o[o.length-1]?n:void 0;r=n.value}return n};exports.CAPTURE_ALL_VARIABLE_TAG_INNER_REGEX=h;exports.CONTENT_TYPE_VALUES_HTTP_REQUEST=we;exports.IF_ELSE_BRANCH_POSITION_OFFSETS=Se;exports.StepStatus=w;exports.TRIGGER_STEP_ID=fe;exports.baseTriggerSchema=d;exports.baseWorkflowActionSchema=c;exports.baseWorkflowActionSettingsSchema=a;exports.buildOutputSchemaFromValue=pe;exports.canObjectBeManagedByWorkflow=be;exports.escapePathSegment=ue;exports.extractRawVariableNamePart=ye;exports.getWorkflowRunContext=Ae;exports.joinVariablePath=Ie;exports.navigateOutputSchemaProperty=De;exports.needsEscaping=de;exports.objectRecordSchema=p;exports.parseBooleanFromStringValue=Ee;exports.parseDataFromContentType=Te;exports.parseVariablePath=Fe;exports.stepFilterGroupSchema=z;exports.stepFilterSchema=g;exports.stepIfElseBranchSchema=M;exports.workflowActionSchema=ne;exports.workflowAiAgentActionSchema=y;exports.workflowAiAgentActionSettingsSchema=b;exports.workflowCodeActionSchema=E;exports.workflowCodeActionSettingsSchema=A;exports.workflowCreateRecordActionSchema=j;exports.workflowCreateRecordActionSettingsSchema=k;exports.workflowCronTriggerSchema=R;exports.workflowDatabaseEventTriggerSchema=T;exports.workflowDelayActionSchema=re;exports.workflowDelayActionSettingsSchema=oe;exports.workflowDeleteRecordActionSchema=I;exports.workflowDeleteRecordActionSettingsSchema=O;exports.workflowEmptyActionSchema=N;exports.workflowEmptyActionSettingsSchema=F;exports.workflowFileSchema=J;exports.workflowFilterActionSchema=x;exports.workflowFilterActionSettingsSchema=D;exports.workflowFindRecordsActionSchema=C;exports.workflowFindRecordsActionSettingsSchema=_;exports.workflowFormActionSchema=U;exports.workflowFormActionSettingsSchema=P;exports.workflowHttpRequestActionSchema=G;exports.workflowHttpRequestActionSettingsSchema=L;exports.workflowIfElseActionSchema=V;exports.workflowIfElseActionSettingsSchema=B;exports.workflowIteratorActionSchema=q;exports.workflowIteratorActionSettingsSchema=v;exports.workflowLogicFunctionActionSchema=H;exports.workflowLogicFunctionActionSettingsSchema=W;exports.workflowManualTriggerSchema=K;exports.workflowRunSchema=he;exports.workflowRunStateSchema=se;exports.workflowRunStateStepInfoSchema=S;exports.workflowRunStateStepInfosSchema=ae;exports.workflowRunStatusSchema=le;exports.workflowRunStepStatusSchema=ie;exports.workflowSendEmailActionSchema=Q;exports.workflowSendEmailActionSettingsSchema=Y;exports.workflowTriggerSchema=ce;exports.workflowUpdateRecordActionSchema=$;exports.workflowUpdateRecordActionSettingsSchema=X;exports.workflowUpsertRecordActionSchema=ee;exports.workflowUpsertRecordActionSettingsSchema=Z;exports.workflowWebhookTriggerSchema=te;