@integration-app/react 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (660) hide show
  1. package/{contexts → dist/contexts}/integration-app-context.d.ts +0 -0
  2. package/{contexts → dist/contexts}/integration-app-context.js +0 -0
  3. package/{contexts → dist/contexts}/integration-app-context.js.map +0 -0
  4. package/{index.d.ts → dist/index.d.ts} +0 -0
  5. package/{index.js → dist/index.js} +0 -0
  6. package/{index.js.map → dist/index.js.map} +0 -0
  7. package/{integrations → dist/integrations}/index.d.ts +0 -0
  8. package/{integrations → dist/integrations}/index.js +0 -0
  9. package/{integrations → dist/integrations}/index.js.map +0 -0
  10. package/dist/node_modules/.package-lock.json +111 -0
  11. package/dist/node_modules/js-tokens/CHANGELOG.md +151 -0
  12. package/dist/node_modules/js-tokens/LICENSE +21 -0
  13. package/dist/node_modules/js-tokens/README.md +240 -0
  14. package/dist/node_modules/js-tokens/index.js +23 -0
  15. package/dist/node_modules/js-tokens/package.json +30 -0
  16. package/dist/node_modules/loose-envify/LICENSE +21 -0
  17. package/dist/node_modules/loose-envify/README.md +45 -0
  18. package/dist/node_modules/loose-envify/cli.js +16 -0
  19. package/dist/node_modules/loose-envify/custom.js +4 -0
  20. package/dist/node_modules/loose-envify/index.js +3 -0
  21. package/dist/node_modules/loose-envify/loose-envify.js +36 -0
  22. package/dist/node_modules/loose-envify/package.json +36 -0
  23. package/dist/node_modules/loose-envify/replace.js +65 -0
  24. package/dist/node_modules/object-assign/index.js +90 -0
  25. package/dist/node_modules/object-assign/license +21 -0
  26. package/dist/node_modules/object-assign/package.json +42 -0
  27. package/dist/node_modules/object-assign/readme.md +61 -0
  28. package/dist/node_modules/scheduler/LICENSE +21 -0
  29. package/dist/node_modules/scheduler/README.md +9 -0
  30. package/dist/node_modules/scheduler/build-info.json +8 -0
  31. package/dist/node_modules/scheduler/cjs/scheduler-tracing.development.js +347 -0
  32. package/dist/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +9 -0
  33. package/dist/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +16 -0
  34. package/dist/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +665 -0
  35. package/dist/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +19 -0
  36. package/dist/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +206 -0
  37. package/dist/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +13 -0
  38. package/dist/node_modules/scheduler/cjs/scheduler.development.js +646 -0
  39. package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +20 -0
  40. package/dist/node_modules/scheduler/index.js +7 -0
  41. package/dist/node_modules/scheduler/package.json +40 -0
  42. package/dist/node_modules/scheduler/tracing-profiling.js +7 -0
  43. package/dist/node_modules/scheduler/tracing.js +7 -0
  44. package/dist/node_modules/scheduler/umd/scheduler-tracing.development.js +80 -0
  45. package/dist/node_modules/scheduler/umd/scheduler-tracing.production.min.js +80 -0
  46. package/dist/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +80 -0
  47. package/dist/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +664 -0
  48. package/dist/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +18 -0
  49. package/dist/node_modules/scheduler/umd/scheduler.development.js +152 -0
  50. package/dist/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
  51. package/dist/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
  52. package/dist/node_modules/scheduler/unstable_mock.js +7 -0
  53. package/dist/node_modules/scheduler/unstable_post_task.js +7 -0
  54. package/dist/package.json +26 -0
  55. package/package.json +38 -17
  56. package/node_modules/@integration-app/sdk/.DS_Store +0 -0
  57. package/node_modules/@integration-app/sdk/.gitignore +0 -11
  58. package/node_modules/@integration-app/sdk/.npmignore +0 -0
  59. package/node_modules/@integration-app/sdk/accessors.d.ts +0 -56
  60. package/node_modules/@integration-app/sdk/accessors.js +0 -104
  61. package/node_modules/@integration-app/sdk/accessors.js.map +0 -1
  62. package/node_modules/@integration-app/sdk/app-data-collections/accessors.d.ts +0 -16
  63. package/node_modules/@integration-app/sdk/app-data-collections/accessors.js +0 -38
  64. package/node_modules/@integration-app/sdk/app-data-collections/accessors.js.map +0 -1
  65. package/node_modules/@integration-app/sdk/app-data-collections/api.d.ts +0 -18
  66. package/node_modules/@integration-app/sdk/app-data-collections/api.js +0 -3
  67. package/node_modules/@integration-app/sdk/app-data-collections/api.js.map +0 -1
  68. package/node_modules/@integration-app/sdk/app-data-collections/app-data-collections.d.ts +0 -23
  69. package/node_modules/@integration-app/sdk/app-data-collections/app-data-collections.js.map +0 -1
  70. package/node_modules/@integration-app/sdk/app-data-collections/index.d.ts +0 -26
  71. package/node_modules/@integration-app/sdk/app-data-collections/index.js +0 -3
  72. package/node_modules/@integration-app/sdk/app-data-collections/index.js.map +0 -1
  73. package/node_modules/@integration-app/sdk/app-data-schemas/accessors.d.ts +0 -16
  74. package/node_modules/@integration-app/sdk/app-data-schemas/accessors.js +0 -38
  75. package/node_modules/@integration-app/sdk/app-data-schemas/accessors.js.map +0 -1
  76. package/node_modules/@integration-app/sdk/app-data-schemas/api.d.ts +0 -18
  77. package/node_modules/@integration-app/sdk/app-data-schemas/api.js +0 -3
  78. package/node_modules/@integration-app/sdk/app-data-schemas/api.js.map +0 -1
  79. package/node_modules/@integration-app/sdk/app-data-schemas/app-data-schemas.d.ts +0 -20
  80. package/node_modules/@integration-app/sdk/app-data-schemas/app-data-schemas.js.map +0 -1
  81. package/node_modules/@integration-app/sdk/app-data-schemas/index.d.ts +0 -21
  82. package/node_modules/@integration-app/sdk/app-data-schemas/index.js +0 -3
  83. package/node_modules/@integration-app/sdk/app-data-schemas/index.js.map +0 -1
  84. package/node_modules/@integration-app/sdk/app-events/accessors.d.ts +0 -16
  85. package/node_modules/@integration-app/sdk/app-events/accessors.js +0 -38
  86. package/node_modules/@integration-app/sdk/app-events/accessors.js.map +0 -1
  87. package/node_modules/@integration-app/sdk/app-events/api.d.ts +0 -18
  88. package/node_modules/@integration-app/sdk/app-events/api.js +0 -3
  89. package/node_modules/@integration-app/sdk/app-events/api.js.map +0 -1
  90. package/node_modules/@integration-app/sdk/app-events/app-events.d.ts +0 -44
  91. package/node_modules/@integration-app/sdk/app-events/app-events.js.map +0 -1
  92. package/node_modules/@integration-app/sdk/app-events/index.d.ts +0 -46
  93. package/node_modules/@integration-app/sdk/app-events/index.js +0 -3
  94. package/node_modules/@integration-app/sdk/app-events/index.js.map +0 -1
  95. package/node_modules/@integration-app/sdk/auth/accessors.d.ts +0 -7
  96. package/node_modules/@integration-app/sdk/auth/accessors.js +0 -13
  97. package/node_modules/@integration-app/sdk/auth/accessors.js.map +0 -1
  98. package/node_modules/@integration-app/sdk/auth/index.d.ts +0 -6
  99. package/node_modules/@integration-app/sdk/auth/index.js +0 -3
  100. package/node_modules/@integration-app/sdk/auth/index.js.map +0 -1
  101. package/node_modules/@integration-app/sdk/bundle-index.d.ts +0 -1
  102. package/node_modules/@integration-app/sdk/bundle-index.js +0 -5
  103. package/node_modules/@integration-app/sdk/bundle-index.js.map +0 -1
  104. package/node_modules/@integration-app/sdk/bundle.js +0 -30021
  105. package/node_modules/@integration-app/sdk/bundle.js.map +0 -1
  106. package/node_modules/@integration-app/sdk/client.d.ts +0 -108
  107. package/node_modules/@integration-app/sdk/client.js +0 -248
  108. package/node_modules/@integration-app/sdk/client.js.map +0 -1
  109. package/node_modules/@integration-app/sdk/connection-client.d.ts +0 -12
  110. package/node_modules/@integration-app/sdk/connection-client.js +0 -31
  111. package/node_modules/@integration-app/sdk/connection-client.js.map +0 -1
  112. package/node_modules/@integration-app/sdk/connections/accessors.d.ts +0 -13
  113. package/node_modules/@integration-app/sdk/connections/accessors.js +0 -39
  114. package/node_modules/@integration-app/sdk/connections/accessors.js.map +0 -1
  115. package/node_modules/@integration-app/sdk/connections/api.d.ts +0 -20
  116. package/node_modules/@integration-app/sdk/connections/api.js +0 -17
  117. package/node_modules/@integration-app/sdk/connections/api.js.map +0 -1
  118. package/node_modules/@integration-app/sdk/connections/connections.d.ts +0 -46
  119. package/node_modules/@integration-app/sdk/connections/connections.js.map +0 -1
  120. package/node_modules/@integration-app/sdk/connections/index.d.ts +0 -39
  121. package/node_modules/@integration-app/sdk/connections/index.js +0 -13
  122. package/node_modules/@integration-app/sdk/connections/index.js.map +0 -1
  123. package/node_modules/@integration-app/sdk/connector-api/connector-api.d.ts +0 -157
  124. package/node_modules/@integration-app/sdk/connector-api/connector-api.js.map +0 -1
  125. package/node_modules/@integration-app/sdk/connector-api/index.d.ts +0 -2
  126. package/node_modules/@integration-app/sdk/connector-api/index.js +0 -9
  127. package/node_modules/@integration-app/sdk/connector-api/index.js.map +0 -1
  128. package/node_modules/@integration-app/sdk/data-builder/context.d.ts +0 -9
  129. package/node_modules/@integration-app/sdk/data-builder/context.js +0 -32
  130. package/node_modules/@integration-app/sdk/data-builder/context.js.map +0 -1
  131. package/node_modules/@integration-app/sdk/data-builder/findExternalRecordId.d.ts +0 -0
  132. package/node_modules/@integration-app/sdk/data-builder/findExternalRecordId.js.map +0 -1
  133. package/node_modules/@integration-app/sdk/data-builder/first-name.test.d.ts +0 -0
  134. package/node_modules/@integration-app/sdk/data-builder/first-name.test.js +0 -2
  135. package/node_modules/@integration-app/sdk/data-builder/first-name.test.js.map +0 -1
  136. package/node_modules/@integration-app/sdk/data-builder/formulas/anyOfOption.d.ts +0 -10
  137. package/node_modules/@integration-app/sdk/data-builder/formulas/anyOfOption.js.map +0 -1
  138. package/node_modules/@integration-app/sdk/data-builder/formulas/base.d.ts +0 -9
  139. package/node_modules/@integration-app/sdk/data-builder/formulas/base.js +0 -59
  140. package/node_modules/@integration-app/sdk/data-builder/formulas/base.js.map +0 -1
  141. package/node_modules/@integration-app/sdk/data-builder/formulas/base.test.d.ts +0 -1
  142. package/node_modules/@integration-app/sdk/data-builder/formulas/base.test.js +0 -26
  143. package/node_modules/@integration-app/sdk/data-builder/formulas/base.test.js.map +0 -1
  144. package/node_modules/@integration-app/sdk/data-builder/formulas/case.d.ts +0 -18
  145. package/node_modules/@integration-app/sdk/data-builder/formulas/case.js +0 -61
  146. package/node_modules/@integration-app/sdk/data-builder/formulas/case.js.map +0 -1
  147. package/node_modules/@integration-app/sdk/data-builder/formulas/case.test.d.ts +0 -1
  148. package/node_modules/@integration-app/sdk/data-builder/formulas/case.test.js +0 -246
  149. package/node_modules/@integration-app/sdk/data-builder/formulas/case.test.js.map +0 -1
  150. package/node_modules/@integration-app/sdk/data-builder/formulas/concat.d.ts +0 -18
  151. package/node_modules/@integration-app/sdk/data-builder/formulas/concat.js +0 -36
  152. package/node_modules/@integration-app/sdk/data-builder/formulas/concat.js.map +0 -1
  153. package/node_modules/@integration-app/sdk/data-builder/formulas/concat.test.d.ts +0 -1
  154. package/node_modules/@integration-app/sdk/data-builder/formulas/concat.test.js +0 -85
  155. package/node_modules/@integration-app/sdk/data-builder/formulas/concat.test.js.map +0 -1
  156. package/node_modules/@integration-app/sdk/data-builder/formulas/copy.d.ts +0 -10
  157. package/node_modules/@integration-app/sdk/data-builder/formulas/copy.js +0 -22
  158. package/node_modules/@integration-app/sdk/data-builder/formulas/copy.js.map +0 -1
  159. package/node_modules/@integration-app/sdk/data-builder/formulas/copy.test.d.ts +0 -1
  160. package/node_modules/@integration-app/sdk/data-builder/formulas/copy.test.js +0 -64
  161. package/node_modules/@integration-app/sdk/data-builder/formulas/copy.test.js.map +0 -1
  162. package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.d.ts +0 -11
  163. package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.js +0 -31
  164. package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.js.map +0 -1
  165. package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.test.d.ts +0 -1
  166. package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.test.js +0 -44
  167. package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.test.js.map +0 -1
  168. package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.d.ts +0 -11
  169. package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.js +0 -31
  170. package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.js.map +0 -1
  171. package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.test.d.ts +0 -1
  172. package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.test.js +0 -44
  173. package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.test.js.map +0 -1
  174. package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.d.ts +0 -17
  175. package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.js +0 -24
  176. package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.js.map +0 -1
  177. package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.test.d.ts +0 -1
  178. package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.test.js +0 -26
  179. package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.test.js.map +0 -1
  180. package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.d.ts +0 -17
  181. package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.js +0 -24
  182. package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.js.map +0 -1
  183. package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.test.d.ts +0 -1
  184. package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.test.js +0 -26
  185. package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.test.js.map +0 -1
  186. package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.d.ts +0 -10
  187. package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.js +0 -25
  188. package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.js.map +0 -1
  189. package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.test.d.ts +0 -1
  190. package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.test.js +0 -14
  191. package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.test.js.map +0 -1
  192. package/node_modules/@integration-app/sdk/data-builder/formulas/index.d.ts +0 -28
  193. package/node_modules/@integration-app/sdk/data-builder/formulas/index.js +0 -177
  194. package/node_modules/@integration-app/sdk/data-builder/formulas/index.js.map +0 -1
  195. package/node_modules/@integration-app/sdk/data-builder/formulas/index.test.d.ts +0 -1
  196. package/node_modules/@integration-app/sdk/data-builder/formulas/index.test.js +0 -63
  197. package/node_modules/@integration-app/sdk/data-builder/formulas/index.test.js.map +0 -1
  198. package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.d.ts +0 -15
  199. package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.js +0 -41
  200. package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.js.map +0 -1
  201. package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.test.d.ts +0 -1
  202. package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.test.js +0 -112
  203. package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.test.js.map +0 -1
  204. package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.d.ts +0 -10
  205. package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.js +0 -25
  206. package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.js.map +0 -1
  207. package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.d.ts +0 -20
  208. package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.js +0 -24
  209. package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.js.map +0 -1
  210. package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.test.d.ts +0 -1
  211. package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.test.js +0 -18
  212. package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.test.js.map +0 -1
  213. package/node_modules/@integration-app/sdk/data-builder/formulas/map.d.ts +0 -17
  214. package/node_modules/@integration-app/sdk/data-builder/formulas/map.js +0 -34
  215. package/node_modules/@integration-app/sdk/data-builder/formulas/map.js.map +0 -1
  216. package/node_modules/@integration-app/sdk/data-builder/formulas/map.test.d.ts +0 -1
  217. package/node_modules/@integration-app/sdk/data-builder/formulas/map.test.js +0 -114
  218. package/node_modules/@integration-app/sdk/data-builder/formulas/map.test.js.map +0 -1
  219. package/node_modules/@integration-app/sdk/data-builder/formulas/plain.d.ts +0 -7
  220. package/node_modules/@integration-app/sdk/data-builder/formulas/plain.js +0 -20
  221. package/node_modules/@integration-app/sdk/data-builder/formulas/plain.js.map +0 -1
  222. package/node_modules/@integration-app/sdk/data-builder/formulas/record.d.ts +0 -10
  223. package/node_modules/@integration-app/sdk/data-builder/formulas/record.js +0 -23
  224. package/node_modules/@integration-app/sdk/data-builder/formulas/record.js.map +0 -1
  225. package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.d.ts +0 -12
  226. package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.js +0 -22
  227. package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.js.map +0 -1
  228. package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.d.ts +0 -15
  229. package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.js +0 -31
  230. package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.js.map +0 -1
  231. package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.test.d.ts +0 -1
  232. package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.test.js +0 -49
  233. package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.test.js.map +0 -1
  234. package/node_modules/@integration-app/sdk/data-builder/formulas/types.d.ts +0 -0
  235. package/node_modules/@integration-app/sdk/data-builder/formulas/types.js.map +0 -1
  236. package/node_modules/@integration-app/sdk/data-builder/formulas/var.d.ts +0 -8
  237. package/node_modules/@integration-app/sdk/data-builder/formulas/var.js +0 -21
  238. package/node_modules/@integration-app/sdk/data-builder/formulas/var.js.map +0 -1
  239. package/node_modules/@integration-app/sdk/data-builder/index.d.ts +0 -2
  240. package/node_modules/@integration-app/sdk/data-builder/index.js +0 -17
  241. package/node_modules/@integration-app/sdk/data-builder/index.js.map +0 -1
  242. package/node_modules/@integration-app/sdk/data-builder/index.test.d.ts +0 -1
  243. package/node_modules/@integration-app/sdk/data-builder/index.test.js +0 -295
  244. package/node_modules/@integration-app/sdk/data-builder/index.test.js.map +0 -1
  245. package/node_modules/@integration-app/sdk/data-builder/locators.d.ts +0 -56
  246. package/node_modules/@integration-app/sdk/data-builder/locators.js +0 -560
  247. package/node_modules/@integration-app/sdk/data-builder/locators.js.map +0 -1
  248. package/node_modules/@integration-app/sdk/data-builder/locators.test.d.ts +0 -1
  249. package/node_modules/@integration-app/sdk/data-builder/locators.test.js +0 -775
  250. package/node_modules/@integration-app/sdk/data-builder/locators.test.js.map +0 -1
  251. package/node_modules/@integration-app/sdk/data-collections.d.ts +0 -36
  252. package/node_modules/@integration-app/sdk/data-collections.js +0 -16
  253. package/node_modules/@integration-app/sdk/data-collections.js.map +0 -1
  254. package/node_modules/@integration-app/sdk/data-filter/conditions.d.ts +0 -0
  255. package/node_modules/@integration-app/sdk/data-filter/conditions.js.map +0 -1
  256. package/node_modules/@integration-app/sdk/data-filter/data-filter.test.d.ts +0 -1
  257. package/node_modules/@integration-app/sdk/data-filter/data-filter.test.js.map +0 -1
  258. package/node_modules/@integration-app/sdk/data-filter/index.d.ts +0 -12
  259. package/node_modules/@integration-app/sdk/data-filter/index.js +0 -104
  260. package/node_modules/@integration-app/sdk/data-filter/index.js.map +0 -1
  261. package/node_modules/@integration-app/sdk/data-filter/index.test.d.ts +0 -1
  262. package/node_modules/@integration-app/sdk/data-filter/index.test.js +0 -43
  263. package/node_modules/@integration-app/sdk/data-filter/index.test.js.map +0 -1
  264. package/node_modules/@integration-app/sdk/data-filter/operators.d.ts +0 -13
  265. package/node_modules/@integration-app/sdk/data-filter/operators.js +0 -140
  266. package/node_modules/@integration-app/sdk/data-filter/operators.js.map +0 -1
  267. package/node_modules/@integration-app/sdk/data-filter/operators.test.d.ts +0 -1
  268. package/node_modules/@integration-app/sdk/data-filter/operators.test.js +0 -490
  269. package/node_modules/@integration-app/sdk/data-filter/operators.test.js.map +0 -1
  270. package/node_modules/@integration-app/sdk/data-links/accessors.d.ts +0 -20
  271. package/node_modules/@integration-app/sdk/data-links/accessors.js +0 -65
  272. package/node_modules/@integration-app/sdk/data-links/accessors.js.map +0 -1
  273. package/node_modules/@integration-app/sdk/data-links/api.d.ts +0 -49
  274. package/node_modules/@integration-app/sdk/data-links/api.js +0 -3
  275. package/node_modules/@integration-app/sdk/data-links/api.js.map +0 -1
  276. package/node_modules/@integration-app/sdk/data-links/data-links.d.ts +0 -58
  277. package/node_modules/@integration-app/sdk/data-links/data-links.js.map +0 -1
  278. package/node_modules/@integration-app/sdk/data-links/index.d.ts +0 -35
  279. package/node_modules/@integration-app/sdk/data-links/index.js +0 -10
  280. package/node_modules/@integration-app/sdk/data-links/index.js.map +0 -1
  281. package/node_modules/@integration-app/sdk/data-locations/accessors.d.ts +0 -10
  282. package/node_modules/@integration-app/sdk/data-locations/accessors.js +0 -22
  283. package/node_modules/@integration-app/sdk/data-locations/accessors.js.map +0 -1
  284. package/node_modules/@integration-app/sdk/data-locations/api.d.ts +0 -4
  285. package/node_modules/@integration-app/sdk/data-locations/api.js +0 -3
  286. package/node_modules/@integration-app/sdk/data-locations/api.js.map +0 -1
  287. package/node_modules/@integration-app/sdk/data-locations/index.d.ts +0 -138
  288. package/node_modules/@integration-app/sdk/data-locations/index.js +0 -17
  289. package/node_modules/@integration-app/sdk/data-locations/index.js.map +0 -1
  290. package/node_modules/@integration-app/sdk/data-schema/index.d.ts +0 -49
  291. package/node_modules/@integration-app/sdk/data-schema/index.js +0 -88
  292. package/node_modules/@integration-app/sdk/data-schema/index.js.map +0 -1
  293. package/node_modules/@integration-app/sdk/data-schema/index.test.d.ts +0 -1
  294. package/node_modules/@integration-app/sdk/data-schema/index.test.js +0 -86
  295. package/node_modules/@integration-app/sdk/data-schema/index.test.js.map +0 -1
  296. package/node_modules/@integration-app/sdk/data-sources/accessors.d.ts +0 -29
  297. package/node_modules/@integration-app/sdk/data-sources/accessors.js +0 -71
  298. package/node_modules/@integration-app/sdk/data-sources/accessors.js.map +0 -1
  299. package/node_modules/@integration-app/sdk/data-sources/api.d.ts +0 -37
  300. package/node_modules/@integration-app/sdk/data-sources/api.js +0 -3
  301. package/node_modules/@integration-app/sdk/data-sources/api.js.map +0 -1
  302. package/node_modules/@integration-app/sdk/data-sources/data-sources.d.ts +0 -41
  303. package/node_modules/@integration-app/sdk/data-sources/data-sources.js.map +0 -1
  304. package/node_modules/@integration-app/sdk/data-sources/index.d.ts +0 -55
  305. package/node_modules/@integration-app/sdk/data-sources/index.js +0 -3
  306. package/node_modules/@integration-app/sdk/data-sources/index.js.map +0 -1
  307. package/node_modules/@integration-app/sdk/datetime.d.ts +0 -1
  308. package/node_modules/@integration-app/sdk/datetime.js +0 -15
  309. package/node_modules/@integration-app/sdk/datetime.js.map +0 -1
  310. package/node_modules/@integration-app/sdk/endpoints/endpoint-spec.d.ts +0 -30
  311. package/node_modules/@integration-app/sdk/endpoints/endpoint-spec.js.map +0 -1
  312. package/node_modules/@integration-app/sdk/entity-repository.d.ts +0 -11
  313. package/node_modules/@integration-app/sdk/entity-repository.js +0 -10
  314. package/node_modules/@integration-app/sdk/entity-repository.js.map +0 -1
  315. package/node_modules/@integration-app/sdk/errors.d.ts +0 -64
  316. package/node_modules/@integration-app/sdk/errors.js +0 -141
  317. package/node_modules/@integration-app/sdk/errors.js.map +0 -1
  318. package/node_modules/@integration-app/sdk/field-mappings/accessors.d.ts +0 -25
  319. package/node_modules/@integration-app/sdk/field-mappings/accessors.js +0 -60
  320. package/node_modules/@integration-app/sdk/field-mappings/accessors.js.map +0 -1
  321. package/node_modules/@integration-app/sdk/field-mappings/api.d.ts +0 -34
  322. package/node_modules/@integration-app/sdk/field-mappings/api.js +0 -3
  323. package/node_modules/@integration-app/sdk/field-mappings/api.js.map +0 -1
  324. package/node_modules/@integration-app/sdk/field-mappings/field-mappings.d.ts +0 -29
  325. package/node_modules/@integration-app/sdk/field-mappings/field-mappings.js.map +0 -1
  326. package/node_modules/@integration-app/sdk/field-mappings/index.d.ts +0 -90
  327. package/node_modules/@integration-app/sdk/field-mappings/index.js +0 -195
  328. package/node_modules/@integration-app/sdk/field-mappings/index.js.map +0 -1
  329. package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.d.ts +0 -30
  330. package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.js +0 -11
  331. package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.js.map +0 -1
  332. package/node_modules/@integration-app/sdk/flow-runs/flow-runs.d.ts +0 -51
  333. package/node_modules/@integration-app/sdk/flow-runs/flow-runs.js.map +0 -1
  334. package/node_modules/@integration-app/sdk/flow-runs/index.d.ts +0 -59
  335. package/node_modules/@integration-app/sdk/flow-runs/index.js +0 -44
  336. package/node_modules/@integration-app/sdk/flow-runs/index.js.map +0 -1
  337. package/node_modules/@integration-app/sdk/flows/accessors.d.ts +0 -37
  338. package/node_modules/@integration-app/sdk/flows/accessors.js +0 -167
  339. package/node_modules/@integration-app/sdk/flows/accessors.js.map +0 -1
  340. package/node_modules/@integration-app/sdk/flows/api.d.ts +0 -55
  341. package/node_modules/@integration-app/sdk/flows/api.js +0 -8
  342. package/node_modules/@integration-app/sdk/flows/api.js.map +0 -1
  343. package/node_modules/@integration-app/sdk/flows/flows.d.ts +0 -156
  344. package/node_modules/@integration-app/sdk/flows/flows.js.map +0 -1
  345. package/node_modules/@integration-app/sdk/flows/index.d.ts +0 -84
  346. package/node_modules/@integration-app/sdk/flows/index.js +0 -26
  347. package/node_modules/@integration-app/sdk/flows/index.js.map +0 -1
  348. package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.d.ts +0 -3
  349. package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.js +0 -9
  350. package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.js.map +0 -1
  351. package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.d.ts +0 -3
  352. package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.js +0 -9
  353. package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.js.map +0 -1
  354. package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.d.ts +0 -3
  355. package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.js +0 -8
  356. package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.js.map +0 -1
  357. package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.d.ts +0 -3
  358. package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.js +0 -8
  359. package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.js.map +0 -1
  360. package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.d.ts +0 -3
  361. package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.js +0 -9
  362. package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.js.map +0 -1
  363. package/node_modules/@integration-app/sdk/flows/nodes/data-record-delete-trigger.d.ts +0 -3
  364. package/node_modules/@integration-app/sdk/flows/nodes/data-record-delete-trigger.js.map +0 -1
  365. package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.d.ts +0 -3
  366. package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.js +0 -9
  367. package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.js.map +0 -1
  368. package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.d.ts +0 -3
  369. package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.js +0 -9
  370. package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.js.map +0 -1
  371. package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.d.ts +0 -3
  372. package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.js +0 -8
  373. package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.js.map +0 -1
  374. package/node_modules/@integration-app/sdk/flows/nodes/filter.d.ts +0 -3
  375. package/node_modules/@integration-app/sdk/flows/nodes/filter.js +0 -8
  376. package/node_modules/@integration-app/sdk/flows/nodes/filter.js.map +0 -1
  377. package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.d.ts +0 -3
  378. package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.js +0 -8
  379. package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.js.map +0 -1
  380. package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.d.ts +0 -3
  381. package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.js +0 -8
  382. package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.js.map +0 -1
  383. package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.d.ts +0 -3
  384. package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.js +0 -8
  385. package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.js.map +0 -1
  386. package/node_modules/@integration-app/sdk/flows/nodes/http-request.d.ts +0 -3
  387. package/node_modules/@integration-app/sdk/flows/nodes/http-request.js +0 -8
  388. package/node_modules/@integration-app/sdk/flows/nodes/http-request.js.map +0 -1
  389. package/node_modules/@integration-app/sdk/flows/nodes/index.d.ts +0 -28
  390. package/node_modules/@integration-app/sdk/flows/nodes/index.js +0 -50
  391. package/node_modules/@integration-app/sdk/flows/nodes/index.js.map +0 -1
  392. package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.d.ts +0 -3
  393. package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.js +0 -8
  394. package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.js.map +0 -1
  395. package/node_modules/@integration-app/sdk/flows/nodes/nodes.d.ts +0 -25
  396. package/node_modules/@integration-app/sdk/flows/nodes/nodes.js.map +0 -1
  397. package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.d.ts +0 -3
  398. package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.js +0 -9
  399. package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.js.map +0 -1
  400. package/node_modules/@integration-app/sdk/flows/nodes/transform-data.d.ts +0 -3
  401. package/node_modules/@integration-app/sdk/flows/nodes/transform-data.js +0 -8
  402. package/node_modules/@integration-app/sdk/flows/nodes/transform-data.js.map +0 -1
  403. package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.d.ts +0 -3
  404. package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.js +0 -8
  405. package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.js.map +0 -1
  406. package/node_modules/@integration-app/sdk/flows/utils.d.ts +0 -10
  407. package/node_modules/@integration-app/sdk/flows/utils.js +0 -72
  408. package/node_modules/@integration-app/sdk/flows/utils.js.map +0 -1
  409. package/node_modules/@integration-app/sdk/flows/utils.test.d.ts +0 -1
  410. package/node_modules/@integration-app/sdk/flows/utils.test.js +0 -62
  411. package/node_modules/@integration-app/sdk/flows/utils.test.js.map +0 -1
  412. package/node_modules/@integration-app/sdk/http-requests.d.ts +0 -37
  413. package/node_modules/@integration-app/sdk/http-requests.js +0 -33
  414. package/node_modules/@integration-app/sdk/http-requests.js.map +0 -1
  415. package/node_modules/@integration-app/sdk/iframe.d.ts +0 -9
  416. package/node_modules/@integration-app/sdk/iframe.js +0 -112
  417. package/node_modules/@integration-app/sdk/iframe.js.map +0 -1
  418. package/node_modules/@integration-app/sdk/index.d.ts +0 -4
  419. package/node_modules/@integration-app/sdk/index.js +0 -8
  420. package/node_modules/@integration-app/sdk/index.js.map +0 -1
  421. package/node_modules/@integration-app/sdk/integration-elements/index.d.ts +0 -22
  422. package/node_modules/@integration-app/sdk/integration-elements/index.js +0 -15
  423. package/node_modules/@integration-app/sdk/integration-elements/index.js.map +0 -1
  424. package/node_modules/@integration-app/sdk/integration-elements/integration-elements.d.ts +0 -21
  425. package/node_modules/@integration-app/sdk/integration-elements/integration-elements.js.map +0 -1
  426. package/node_modules/@integration-app/sdk/integrations/accessors.d.ts +0 -23
  427. package/node_modules/@integration-app/sdk/integrations/accessors.js +0 -122
  428. package/node_modules/@integration-app/sdk/integrations/accessors.js.map +0 -1
  429. package/node_modules/@integration-app/sdk/integrations/api.d.ts +0 -10
  430. package/node_modules/@integration-app/sdk/integrations/api.js +0 -3
  431. package/node_modules/@integration-app/sdk/integrations/api.js.map +0 -1
  432. package/node_modules/@integration-app/sdk/integrations/index.d.ts +0 -27
  433. package/node_modules/@integration-app/sdk/integrations/index.js +0 -16
  434. package/node_modules/@integration-app/sdk/integrations/index.js.map +0 -1
  435. package/node_modules/@integration-app/sdk/integrations/integrations.d.ts +0 -48
  436. package/node_modules/@integration-app/sdk/integrations/integrations.js.map +0 -1
  437. package/node_modules/@integration-app/sdk/json-schema/index.d.ts +0 -32
  438. package/node_modules/@integration-app/sdk/json-schema/index.js +0 -207
  439. package/node_modules/@integration-app/sdk/json-schema/index.js.map +0 -1
  440. package/node_modules/@integration-app/sdk/json-schema/json-schema.test.d.ts +0 -1
  441. package/node_modules/@integration-app/sdk/json-schema/json-schema.test.js +0 -194
  442. package/node_modules/@integration-app/sdk/json-schema/json-schema.test.js.map +0 -1
  443. package/node_modules/@integration-app/sdk/json-schema/schema-builder.d.ts +0 -7
  444. package/node_modules/@integration-app/sdk/json-schema/schema-builder.js +0 -232
  445. package/node_modules/@integration-app/sdk/json-schema/schema-builder.js.map +0 -1
  446. package/node_modules/@integration-app/sdk/json-schema/schema-builder.test.d.ts +0 -1
  447. package/node_modules/@integration-app/sdk/json-schema/schema-builder.test.js +0 -352
  448. package/node_modules/@integration-app/sdk/json-schema/schema-builder.test.js.map +0 -1
  449. package/node_modules/@integration-app/sdk/jwt.d.ts +0 -1
  450. package/node_modules/@integration-app/sdk/jwt.js +0 -37
  451. package/node_modules/@integration-app/sdk/jwt.js.map +0 -1
  452. package/node_modules/@integration-app/sdk/jwt.test.d.ts +0 -1
  453. package/node_modules/@integration-app/sdk/jwt.test.js +0 -9
  454. package/node_modules/@integration-app/sdk/jwt.test.js.map +0 -1
  455. package/node_modules/@integration-app/sdk/package-lock.json +0 -3834
  456. package/node_modules/@integration-app/sdk/package.json +0 -63
  457. package/node_modules/@integration-app/sdk/rollup.config.js +0 -23
  458. package/node_modules/@integration-app/sdk/src/accessors.ts +0 -150
  459. package/node_modules/@integration-app/sdk/src/app-data-collections/accessors.ts +0 -69
  460. package/node_modules/@integration-app/sdk/src/app-data-collections/api.ts +0 -31
  461. package/node_modules/@integration-app/sdk/src/app-data-collections/index.ts +0 -46
  462. package/node_modules/@integration-app/sdk/src/app-data-schemas/accessors.ts +0 -69
  463. package/node_modules/@integration-app/sdk/src/app-data-schemas/api.ts +0 -28
  464. package/node_modules/@integration-app/sdk/src/app-data-schemas/index.ts +0 -35
  465. package/node_modules/@integration-app/sdk/src/app-events/accessors.ts +0 -69
  466. package/node_modules/@integration-app/sdk/src/app-events/api.ts +0 -28
  467. package/node_modules/@integration-app/sdk/src/app-events/index.ts +0 -75
  468. package/node_modules/@integration-app/sdk/src/auth/accessors.ts +0 -10
  469. package/node_modules/@integration-app/sdk/src/auth/index.ts +0 -7
  470. package/node_modules/@integration-app/sdk/src/bundle-index.ts +0 -6
  471. package/node_modules/@integration-app/sdk/src/client.ts +0 -417
  472. package/node_modules/@integration-app/sdk/src/connections/accessors.ts +0 -58
  473. package/node_modules/@integration-app/sdk/src/connections/api.ts +0 -28
  474. package/node_modules/@integration-app/sdk/src/connections/index.ts +0 -70
  475. package/node_modules/@integration-app/sdk/src/connector-api/index.ts +0 -44
  476. package/node_modules/@integration-app/sdk/src/data-builder/context.ts +0 -40
  477. package/node_modules/@integration-app/sdk/src/data-builder/formulas/base.test.ts +0 -26
  478. package/node_modules/@integration-app/sdk/src/data-builder/formulas/base.ts +0 -95
  479. package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.test.ts +0 -260
  480. package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.ts +0 -77
  481. package/node_modules/@integration-app/sdk/src/data-builder/formulas/concat.test.ts +0 -117
  482. package/node_modules/@integration-app/sdk/src/data-builder/formulas/concat.ts +0 -49
  483. package/node_modules/@integration-app/sdk/src/data-builder/formulas/copy.test.ts +0 -70
  484. package/node_modules/@integration-app/sdk/src/data-builder/formulas/copy.ts +0 -20
  485. package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractDate.test.ts +0 -49
  486. package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractDate.ts +0 -28
  487. package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractTime.test.ts +0 -49
  488. package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractTime.ts +0 -28
  489. package/node_modules/@integration-app/sdk/src/data-builder/formulas/findAppRecordId.test.ts +0 -30
  490. package/node_modules/@integration-app/sdk/src/data-builder/formulas/findAppRecordId.ts +0 -30
  491. package/node_modules/@integration-app/sdk/src/data-builder/formulas/findExternalRecordId.test.ts +0 -30
  492. package/node_modules/@integration-app/sdk/src/data-builder/formulas/findExternalRecordId.ts +0 -30
  493. package/node_modules/@integration-app/sdk/src/data-builder/formulas/first-name.ts +0 -21
  494. package/node_modules/@integration-app/sdk/src/data-builder/formulas/index.test.ts +0 -83
  495. package/node_modules/@integration-app/sdk/src/data-builder/formulas/index.ts +0 -190
  496. package/node_modules/@integration-app/sdk/src/data-builder/formulas/iterate.test.ts +0 -154
  497. package/node_modules/@integration-app/sdk/src/data-builder/formulas/iterate.ts +0 -46
  498. package/node_modules/@integration-app/sdk/src/data-builder/formulas/last-name.ts +0 -21
  499. package/node_modules/@integration-app/sdk/src/data-builder/formulas/lookup.test.ts +0 -20
  500. package/node_modules/@integration-app/sdk/src/data-builder/formulas/lookup.ts +0 -33
  501. package/node_modules/@integration-app/sdk/src/data-builder/formulas/map.test.ts +0 -125
  502. package/node_modules/@integration-app/sdk/src/data-builder/formulas/map.ts +0 -42
  503. package/node_modules/@integration-app/sdk/src/data-builder/formulas/plain.ts +0 -17
  504. package/node_modules/@integration-app/sdk/src/data-builder/formulas/record.ts +0 -20
  505. package/node_modules/@integration-app/sdk/src/data-builder/formulas/schemaOption.ts +0 -26
  506. package/node_modules/@integration-app/sdk/src/data-builder/formulas/tpl.test.ts +0 -51
  507. package/node_modules/@integration-app/sdk/src/data-builder/formulas/tpl.ts +0 -33
  508. package/node_modules/@integration-app/sdk/src/data-builder/formulas/var.ts +0 -19
  509. package/node_modules/@integration-app/sdk/src/data-builder/index.test.ts +0 -372
  510. package/node_modules/@integration-app/sdk/src/data-builder/index.ts +0 -16
  511. package/node_modules/@integration-app/sdk/src/data-builder/locators.test.ts +0 -1045
  512. package/node_modules/@integration-app/sdk/src/data-builder/locators.ts +0 -702
  513. package/node_modules/@integration-app/sdk/src/data-collections.ts +0 -74
  514. package/node_modules/@integration-app/sdk/src/data-filter/index.test.ts +0 -48
  515. package/node_modules/@integration-app/sdk/src/data-filter/index.ts +0 -127
  516. package/node_modules/@integration-app/sdk/src/data-filter/operators.test.ts +0 -694
  517. package/node_modules/@integration-app/sdk/src/data-filter/operators.ts +0 -163
  518. package/node_modules/@integration-app/sdk/src/data-links/accessors.ts +0 -108
  519. package/node_modules/@integration-app/sdk/src/data-links/api.ts +0 -75
  520. package/node_modules/@integration-app/sdk/src/data-links/index.ts +0 -55
  521. package/node_modules/@integration-app/sdk/src/data-locations/accessors.ts +0 -24
  522. package/node_modules/@integration-app/sdk/src/data-locations/api.ts +0 -5
  523. package/node_modules/@integration-app/sdk/src/data-locations/index.ts +0 -209
  524. package/node_modules/@integration-app/sdk/src/data-schema/index.test.ts +0 -90
  525. package/node_modules/@integration-app/sdk/src/data-schema/index.ts +0 -185
  526. package/node_modules/@integration-app/sdk/src/data-sources/accessors.ts +0 -133
  527. package/node_modules/@integration-app/sdk/src/data-sources/api.ts +0 -59
  528. package/node_modules/@integration-app/sdk/src/data-sources/index.ts +0 -103
  529. package/node_modules/@integration-app/sdk/src/datetime.ts +0 -16
  530. package/node_modules/@integration-app/sdk/src/entity-repository.ts +0 -12
  531. package/node_modules/@integration-app/sdk/src/errors.ts +0 -154
  532. package/node_modules/@integration-app/sdk/src/field-mappings/accessors.ts +0 -100
  533. package/node_modules/@integration-app/sdk/src/field-mappings/api.ts +0 -61
  534. package/node_modules/@integration-app/sdk/src/field-mappings/index.ts +0 -341
  535. package/node_modules/@integration-app/sdk/src/flow-runs/flow-node-runs.ts +0 -53
  536. package/node_modules/@integration-app/sdk/src/flow-runs/index.ts +0 -102
  537. package/node_modules/@integration-app/sdk/src/flows/accessors.ts +0 -246
  538. package/node_modules/@integration-app/sdk/src/flows/api.ts +0 -71
  539. package/node_modules/@integration-app/sdk/src/flows/index.ts +0 -233
  540. package/node_modules/@integration-app/sdk/src/flows/nodes/api-trigger.ts +0 -7
  541. package/node_modules/@integration-app/sdk/src/flows/nodes/app-event-trigger.ts +0 -7
  542. package/node_modules/@integration-app/sdk/src/flows/nodes/create-data-link.ts +0 -6
  543. package/node_modules/@integration-app/sdk/src/flows/nodes/create-data-record.ts +0 -6
  544. package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-created-trigger.ts +0 -8
  545. package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-deleted-trigger.ts +0 -8
  546. package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-updated-trigger.ts +0 -8
  547. package/node_modules/@integration-app/sdk/src/flows/nodes/delete-data-record.ts +0 -6
  548. package/node_modules/@integration-app/sdk/src/flows/nodes/filter.ts +0 -6
  549. package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-link.ts +0 -6
  550. package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-record-by-id.ts +0 -6
  551. package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-records.ts +0 -6
  552. package/node_modules/@integration-app/sdk/src/flows/nodes/http-request.ts +0 -6
  553. package/node_modules/@integration-app/sdk/src/flows/nodes/index.ts +0 -60
  554. package/node_modules/@integration-app/sdk/src/flows/nodes/list-data-records.ts +0 -7
  555. package/node_modules/@integration-app/sdk/src/flows/nodes/schedule-trigger.ts +0 -7
  556. package/node_modules/@integration-app/sdk/src/flows/nodes/transform-data.ts +0 -7
  557. package/node_modules/@integration-app/sdk/src/flows/nodes/update-data-record.ts +0 -6
  558. package/node_modules/@integration-app/sdk/src/flows/utils.test.ts +0 -63
  559. package/node_modules/@integration-app/sdk/src/flows/utils.ts +0 -110
  560. package/node_modules/@integration-app/sdk/src/http-requests.ts +0 -41
  561. package/node_modules/@integration-app/sdk/src/iframe.ts +0 -142
  562. package/node_modules/@integration-app/sdk/src/index.ts +0 -5
  563. package/node_modules/@integration-app/sdk/src/integration-elements/index.ts +0 -24
  564. package/node_modules/@integration-app/sdk/src/integrations/accessors.ts +0 -162
  565. package/node_modules/@integration-app/sdk/src/integrations/api.ts +0 -13
  566. package/node_modules/@integration-app/sdk/src/integrations/index.ts +0 -50
  567. package/node_modules/@integration-app/sdk/src/json-schema/__snapshots__/schema-builder.test.ts.snap +0 -167
  568. package/node_modules/@integration-app/sdk/src/json-schema/index.ts +0 -251
  569. package/node_modules/@integration-app/sdk/src/json-schema/json-schema.test.ts +0 -246
  570. package/node_modules/@integration-app/sdk/src/json-schema/schema-builder.test.ts +0 -396
  571. package/node_modules/@integration-app/sdk/src/json-schema/schema-builder.ts +0 -258
  572. package/node_modules/@integration-app/sdk/src/jwt.test.ts +0 -11
  573. package/node_modules/@integration-app/sdk/src/jwt.ts +0 -40
  574. package/node_modules/@integration-app/sdk/src/udm/activities.test.ts +0 -43
  575. package/node_modules/@integration-app/sdk/src/udm/activities.ts +0 -83
  576. package/node_modules/@integration-app/sdk/src/udm/base.ts +0 -88
  577. package/node_modules/@integration-app/sdk/src/udm/campaigns.ts +0 -72
  578. package/node_modules/@integration-app/sdk/src/udm/companies.ts +0 -80
  579. package/node_modules/@integration-app/sdk/src/udm/contacts.test.ts +0 -147
  580. package/node_modules/@integration-app/sdk/src/udm/contacts.ts +0 -106
  581. package/node_modules/@integration-app/sdk/src/udm/deals.ts +0 -90
  582. package/node_modules/@integration-app/sdk/src/udm/index.ts +0 -28
  583. package/node_modules/@integration-app/sdk/src/udm/leads.ts +0 -113
  584. package/node_modules/@integration-app/sdk/src/udm/users.ts +0 -92
  585. package/node_modules/@integration-app/sdk/src/users/accessors.ts +0 -28
  586. package/node_modules/@integration-app/sdk/src/users/api.ts +0 -8
  587. package/node_modules/@integration-app/sdk/src/users/index.ts +0 -5
  588. package/node_modules/@integration-app/sdk/src/variables.ts +0 -33
  589. package/node_modules/@integration-app/sdk/src/workspaces/index.ts +0 -5
  590. package/node_modules/@integration-app/sdk/tsconfig.build.json +0 -10
  591. package/node_modules/@integration-app/sdk/tsconfig.json +0 -19
  592. package/node_modules/@integration-app/sdk/udm/activities.d.ts +0 -30
  593. package/node_modules/@integration-app/sdk/udm/activities.js +0 -70
  594. package/node_modules/@integration-app/sdk/udm/activities.js.map +0 -1
  595. package/node_modules/@integration-app/sdk/udm/activities.test.d.ts +0 -1
  596. package/node_modules/@integration-app/sdk/udm/activities.test.js +0 -40
  597. package/node_modules/@integration-app/sdk/udm/activities.test.js.map +0 -1
  598. package/node_modules/@integration-app/sdk/udm/base.d.ts +0 -27
  599. package/node_modules/@integration-app/sdk/udm/base.js +0 -62
  600. package/node_modules/@integration-app/sdk/udm/base.js.map +0 -1
  601. package/node_modules/@integration-app/sdk/udm/campaign-members.d.ts +0 -45
  602. package/node_modules/@integration-app/sdk/udm/campaign-members.js +0 -99
  603. package/node_modules/@integration-app/sdk/udm/campaign-members.js.map +0 -1
  604. package/node_modules/@integration-app/sdk/udm/campaigns.d.ts +0 -25
  605. package/node_modules/@integration-app/sdk/udm/campaigns.js +0 -66
  606. package/node_modules/@integration-app/sdk/udm/campaigns.js.map +0 -1
  607. package/node_modules/@integration-app/sdk/udm/companies.d.ts +0 -42
  608. package/node_modules/@integration-app/sdk/udm/companies.js +0 -69
  609. package/node_modules/@integration-app/sdk/udm/companies.js.map +0 -1
  610. package/node_modules/@integration-app/sdk/udm/contacts.d.ts +0 -49
  611. package/node_modules/@integration-app/sdk/udm/contacts.js +0 -94
  612. package/node_modules/@integration-app/sdk/udm/contacts.js.map +0 -1
  613. package/node_modules/@integration-app/sdk/udm/contacts.test.d.ts +0 -1
  614. package/node_modules/@integration-app/sdk/udm/contacts.test.js +0 -136
  615. package/node_modules/@integration-app/sdk/udm/contacts.test.js.map +0 -1
  616. package/node_modules/@integration-app/sdk/udm/crm-activities.d.ts +0 -17
  617. package/node_modules/@integration-app/sdk/udm/crm-activities.js.map +0 -1
  618. package/node_modules/@integration-app/sdk/udm/crm-activity.d.ts +0 -11
  619. package/node_modules/@integration-app/sdk/udm/crm-activity.js.map +0 -1
  620. package/node_modules/@integration-app/sdk/udm/crm-companies.d.ts +0 -14
  621. package/node_modules/@integration-app/sdk/udm/crm-companies.js.map +0 -1
  622. package/node_modules/@integration-app/sdk/udm/crm-contact.d.ts +0 -10
  623. package/node_modules/@integration-app/sdk/udm/crm-contact.js.map +0 -1
  624. package/node_modules/@integration-app/sdk/udm/crm-contacts.d.ts +0 -16
  625. package/node_modules/@integration-app/sdk/udm/crm-contacts.js.map +0 -1
  626. package/node_modules/@integration-app/sdk/udm/crm-deals.d.ts +0 -15
  627. package/node_modules/@integration-app/sdk/udm/crm-deals.js.map +0 -1
  628. package/node_modules/@integration-app/sdk/udm/crm-leads.d.ts +0 -16
  629. package/node_modules/@integration-app/sdk/udm/crm-leads.js.map +0 -1
  630. package/node_modules/@integration-app/sdk/udm/deals.d.ts +0 -26
  631. package/node_modules/@integration-app/sdk/udm/deals.js +0 -84
  632. package/node_modules/@integration-app/sdk/udm/deals.js.map +0 -1
  633. package/node_modules/@integration-app/sdk/udm/index.d.ts +0 -11
  634. package/node_modules/@integration-app/sdk/udm/index.js +0 -31
  635. package/node_modules/@integration-app/sdk/udm/index.js.map +0 -1
  636. package/node_modules/@integration-app/sdk/udm/leads.d.ts +0 -52
  637. package/node_modules/@integration-app/sdk/udm/leads.js +0 -101
  638. package/node_modules/@integration-app/sdk/udm/leads.js.map +0 -1
  639. package/node_modules/@integration-app/sdk/udm/members.d.ts +0 -45
  640. package/node_modules/@integration-app/sdk/udm/members.js.map +0 -1
  641. package/node_modules/@integration-app/sdk/udm/users.d.ts +0 -31
  642. package/node_modules/@integration-app/sdk/udm/users.js +0 -81
  643. package/node_modules/@integration-app/sdk/udm/users.js.map +0 -1
  644. package/node_modules/@integration-app/sdk/users/accessors.d.ts +0 -10
  645. package/node_modules/@integration-app/sdk/users/accessors.js +0 -21
  646. package/node_modules/@integration-app/sdk/users/accessors.js.map +0 -1
  647. package/node_modules/@integration-app/sdk/users/api.d.ts +0 -6
  648. package/node_modules/@integration-app/sdk/users/api.js +0 -3
  649. package/node_modules/@integration-app/sdk/users/api.js.map +0 -1
  650. package/node_modules/@integration-app/sdk/users/index.d.ts +0 -5
  651. package/node_modules/@integration-app/sdk/users/index.js +0 -3
  652. package/node_modules/@integration-app/sdk/users/index.js.map +0 -1
  653. package/node_modules/@integration-app/sdk/users/users.d.ts +0 -5
  654. package/node_modules/@integration-app/sdk/users/users.js.map +0 -1
  655. package/node_modules/@integration-app/sdk/variables.d.ts +0 -3
  656. package/node_modules/@integration-app/sdk/variables.js +0 -30
  657. package/node_modules/@integration-app/sdk/variables.js.map +0 -1
  658. package/node_modules/@integration-app/sdk/workspaces/index.d.ts +0 -5
  659. package/node_modules/@integration-app/sdk/workspaces/index.js +0 -3
  660. package/node_modules/@integration-app/sdk/workspaces/index.js.map +0 -1
@@ -1,102 +0,0 @@
1
- import { ErrorData } from '../errors'
2
- import { PaginationResponse, PaginationQuery } from '../entity-repository'
3
- import { FlowNodeRun } from './flow-node-runs'
4
- import { IntegrationAppClient } from '../client'
5
- import { User } from '../users'
6
- import { FlowInstance } from '../flows'
7
- import { Connection } from '../connections'
8
- import { Integration } from '../integrations'
9
-
10
- /**
11
- * Prefix for the realtime updates channel.
12
- */
13
- export const FLOW_RUN_CHANNEL_PREFIX = 'private-flow-runs-'
14
-
15
- export enum FlowRunState {
16
- RUNNING = 'running',
17
- COMPLETED = 'completed',
18
- FAILED = 'failed',
19
- }
20
-
21
- export interface FlowRun {
22
- id: string
23
-
24
- flowInstanceId: string
25
-
26
- flowInstance?: FlowInstance
27
-
28
- connectionId?: string
29
-
30
- connection?: Connection
31
-
32
- integrationId?: string
33
-
34
- integration?: Integration
35
-
36
- startNodeKey: string
37
-
38
- userId: string
39
-
40
- user?: User
41
-
42
- flowBlueprintKey?: string
43
-
44
- input?: any
45
-
46
- state: FlowRunState
47
-
48
- startTime: Date
49
-
50
- endTime?: Date
51
-
52
- errors?: ErrorData[]
53
-
54
- nodeRuns?: FlowNodeRun[]
55
- }
56
-
57
- export interface CreateFlowRunRequest {
58
- flowInstanceId: string
59
-
60
- nodeKey?: string
61
-
62
- input?: any
63
- }
64
-
65
- export class FlowRunsQuery extends PaginationQuery {
66
- flowInstanceId?: string
67
- flowBlueprintKey?: string
68
- userId?: string
69
- }
70
-
71
- export class FindFlowRunsResponse extends PaginationResponse<FlowRun> {}
72
-
73
- export class FlowRunsAccessor {
74
- constructor(private readonly client: IntegrationAppClient) {}
75
-
76
- async find(query: FlowRunsQuery): Promise<FindFlowRunsResponse> {
77
- return this.client.get('/flow-runs', query)
78
- }
79
-
80
- async create(request: CreateFlowRunRequest): Promise<FlowRun> {
81
- return this.client.post('/flow-runs', request)
82
- }
83
- }
84
-
85
- export class FlowRunAccessor {
86
- private baseUri: string
87
-
88
- constructor(
89
- private readonly client: IntegrationAppClient,
90
- public id: string,
91
- ) {
92
- this.baseUri = `/flow-runs/${id}`
93
- }
94
-
95
- async get(): Promise<FlowRun> {
96
- return this.client.get(this.baseUri)
97
- }
98
-
99
- async getOutput(): Promise<any> {
100
- return this.client.get(`${this.baseUri}/output`)
101
- }
102
- }
@@ -1,246 +0,0 @@
1
- import { Channel } from 'pusher-js'
2
- import { IntegrationAppClient } from '..'
3
- import { SubscribeOptions } from '../client'
4
- import { FlowRun, FLOW_RUN_CHANNEL_PREFIX, FlowRunState } from '../flow-runs'
5
- import { OpenConfigurationOptions, openIframe } from '../iframe'
6
- import {
7
- FlowInstance,
8
- FLOW_CHANNEL_PREFIX,
9
- FLOW_INSTANCE_CHANNEL_PREFIX,
10
- Flow,
11
- } from '.'
12
- import {
13
- CreateFlowInstanceRequest,
14
- CreateFlowRequest,
15
- FindFlowInstancesQuery,
16
- FindFlowsRequest,
17
- FlowInstanceSelector,
18
- RunFlowOptions,
19
- UpdateFlowInstanceRequest,
20
- UpdateFlowRequest,
21
- } from './api'
22
- import qs from 'query-string'
23
- import {
24
- ElementAccessor,
25
- ElementInstanceAccessor,
26
- ElementInstanceListAccessor,
27
- ElementListAccessor,
28
- } from '../accessors'
29
-
30
- const MAX_POLLING_ERRORS = 10
31
-
32
- export interface OpenFlowInstanceConfigurationOptions
33
- extends OpenConfigurationOptions {
34
- nodeKey?: string
35
- }
36
-
37
- export class FlowsAccessor extends ElementListAccessor<
38
- Flow,
39
- FindFlowsRequest,
40
- CreateFlowRequest
41
- > {
42
- constructor(client: IntegrationAppClient) {
43
- super(client, 'flows')
44
- }
45
- }
46
-
47
- export class FlowAccessor extends ElementAccessor<
48
- Flow,
49
- CreateFlowRequest,
50
- UpdateFlowRequest
51
- > {
52
- constructor(private client: IntegrationAppClient, idOrKey: string) {
53
- super({
54
- client: client,
55
- path: 'flows',
56
- idOrKey,
57
- })
58
- }
59
-
60
- async runAll(params: RunFlowOptions): Promise<any[]> {
61
- const flow = await this.get()
62
- const instancesPage = await this.client.flowInstances.find({
63
- flowId: flow.id,
64
- enabled: true,
65
- })
66
- const accessors = instancesPage.items.map(
67
- (instance) => new FlowInstanceAccessor(this.client, instance.id),
68
- )
69
- const runs = await Promise.all(
70
- accessors.map((accessor) => accessor.run(params)),
71
- )
72
- return runs
73
- }
74
-
75
- async subscribe(options: SubscribeOptions) {
76
- const flow = await this.get()
77
- const channelKey = `${FLOW_CHANNEL_PREFIX}${flow.id}`
78
- await this.client.subscribeToChannel(channelKey, options)
79
- }
80
-
81
- async unsubscribe() {
82
- const flow = await this.get()
83
- const channelKey = `${FLOW_INSTANCE_CHANNEL_PREFIX}${flow.id}`
84
- await this.client.unsubscribeFromChannel(channelKey)
85
- }
86
- }
87
-
88
- export class FlowInstancesAccessor extends ElementInstanceListAccessor<
89
- FlowInstance,
90
- FindFlowInstancesQuery
91
- > {
92
- constructor(client: IntegrationAppClient) {
93
- super(client, 'flow-instances')
94
- }
95
- }
96
-
97
- export class FlowInstanceAccessor extends ElementInstanceAccessor<
98
- FlowInstance,
99
- FlowInstanceSelector,
100
- CreateFlowInstanceRequest,
101
- UpdateFlowInstanceRequest
102
- > {
103
- constructor(
104
- protected client: IntegrationAppClient,
105
- protected selector: FlowInstanceSelector | string,
106
- ) {
107
- super({
108
- client,
109
- selector,
110
- listPath: 'flow-instances',
111
- selectorPath: 'flow-instance',
112
- })
113
- }
114
-
115
- async enable(): Promise<FlowInstance> {
116
- return this.patch({ enabled: true })
117
- }
118
-
119
- async disable(): Promise<FlowInstance> {
120
- return this.patch({ enabled: false })
121
- }
122
-
123
- async updateToLatestFlow(): Promise<FlowInstance> {
124
- const id = await this.getId()
125
- return this.client.post(`/flow-instances/${id}/update-to-latest-flow`)
126
- }
127
-
128
- async setup(): Promise<FlowInstance> {
129
- const id = await this.getId()
130
- return this.client.post(`/flow-instances/${id}/setup`)
131
- }
132
-
133
- async reset(): Promise<FlowInstance> {
134
- const id = await this.getId()
135
- return this.client.post(`/flow-instances/${id}/reset`)
136
- }
137
-
138
- async openConfiguration(options: OpenFlowInstanceConfigurationOptions = {}) {
139
- const id = await this.getId()
140
- const queryParams = {
141
- nodeKey: options.nodeKey,
142
- }
143
- const uri = this.client.getEmbedUri(
144
- `/flow-instances/${id}/configuration?${qs.stringify(queryParams)}`,
145
- )
146
- return openIframe(uri, {
147
- onClose: options.onClose,
148
- })
149
- }
150
-
151
- async run(options: RunFlowOptions = {}): Promise<FlowRun> {
152
- function onUpdate(flowRun) {
153
- options.onUpdate && options.onUpdate(flowRun)
154
- }
155
-
156
- const id = await this.getId()
157
-
158
- const flowRun = await this.client.flowRuns.create({
159
- flowInstanceId: id,
160
- nodeKey: options.nodeKey,
161
- input: options.input,
162
- })
163
-
164
- onUpdate(flowRun)
165
-
166
- const pusher = await this.client.getPusherInstance()
167
- const pusherChannelName = `${FLOW_RUN_CHANNEL_PREFIX}${flowRun.id}`
168
- const pusherEventNameFlowRun = 'flow-run-update'
169
- let pusherChannel: Channel
170
-
171
- let checkFlowRunInterval: ReturnType<typeof setInterval>
172
-
173
- function cleanup() {
174
- checkFlowRunInterval && clearInterval(checkFlowRunInterval)
175
-
176
- pusherChannel && pusherChannel.unbind(pusherEventNameFlowRun)
177
- pusher && pusher.unsubscribe(pusherChannelName)
178
- }
179
-
180
- return new Promise((resolve, reject) => {
181
- const handleFlowRunUpdate = async (flowRun: FlowRun) => {
182
- onUpdate(flowRun)
183
-
184
- if (flowRun.state === FlowRunState.COMPLETED) {
185
- cleanup()
186
- resolve(flowRun)
187
- } else if (flowRun.state === FlowRunState.FAILED) {
188
- cleanup()
189
- reject(
190
- new Error(
191
- `Flow run ${flowRun.id} failed: ${flowRun.errors?.[0]?.message}`,
192
- ),
193
- )
194
- }
195
- }
196
-
197
- const fetchFlowRun = async () => {
198
- handleFlowRunUpdate(await this.client.flowRun(flowRun.id).get())
199
- }
200
-
201
- /* POLLING */
202
-
203
- // Flags to prevent making mutiple polling requests at the same time
204
- let pollingFlowRun = false
205
- let errors = 0
206
-
207
- checkFlowRunInterval = setInterval(async () => {
208
- if (!pollingFlowRun) {
209
- pollingFlowRun = true
210
- try {
211
- await fetchFlowRun()
212
- errors = 0
213
- } finally {
214
- errors += 1
215
- if (errors > MAX_POLLING_ERRORS) {
216
- cleanup()
217
- reject(
218
- new Error(
219
- `Got ${errors} errors while polling flow run ${flowRun.id} state - aborting`,
220
- ),
221
- )
222
- }
223
- pollingFlowRun = false
224
- }
225
- }
226
- }, 1000)
227
-
228
- if (pusher) {
229
- pusherChannel = pusher.subscribe(pusherChannelName)
230
- pusherChannel.bind(pusherEventNameFlowRun, fetchFlowRun)
231
- }
232
- })
233
- }
234
-
235
- async subscribe(options: SubscribeOptions) {
236
- const id = await this.getId()
237
- const channelKey = `${FLOW_INSTANCE_CHANNEL_PREFIX}${id}`
238
- await this.client.subscribeToChannel(channelKey, options)
239
- }
240
-
241
- async unsubscribe() {
242
- const id = await this.getId()
243
- const channelKey = `${FLOW_INSTANCE_CHANNEL_PREFIX}${id}`
244
- await this.client.unsubscribeFromChannel(channelKey)
245
- }
246
- }
@@ -1,71 +0,0 @@
1
- import { PaginationQuery, PaginationResponse } from '../entity-repository'
2
- import { Flow, FlowInstance, FlowNodeLink } from '.'
3
- import { ConnectionSelector } from '../connections/api'
4
-
5
- export interface FindFlowsRequest extends PaginationQuery {}
6
-
7
- export interface FindFlowsResponse extends PaginationResponse<Flow> {}
8
-
9
- export interface CreateFlowNodeRequest {
10
- type: string
11
-
12
- config?: any
13
-
14
- ui?: any
15
-
16
- links?: FlowNodeLink[]
17
- }
18
-
19
- export interface CreateFlowRequest {
20
- key: string
21
- name: string
22
- nodes: Record<string, CreateFlowNodeRequest>
23
- }
24
-
25
- export interface UpdateFlowRequest extends CreateFlowRequest {}
26
-
27
- export interface FindFlowInstancesQuery {
28
- id?: string
29
- userId?: string
30
- flowId?: string
31
- flowKey?: string
32
- integrationKey?: string
33
- integrationId?: string
34
- connectionId?: string
35
- instanceKey?: string
36
- enabled?: boolean
37
- dependencyInstanceId?: string
38
- }
39
-
40
- export interface FlowInstanceSelector extends ConnectionSelector {
41
- flowId?: string
42
- flowKey?: string
43
-
44
- instanceKey?: string
45
-
46
- autoCreate?: boolean
47
- }
48
-
49
- export class FindFlowInstancesResponse extends PaginationResponse<FlowInstance> {}
50
-
51
- export interface CreateFlowInstanceRequest {
52
- flowKey?: string
53
-
54
- name?: string
55
-
56
- parameters?: any
57
-
58
- enabled?: boolean
59
- }
60
-
61
- export interface UpdateFlowInstanceRequest {
62
- name?: string
63
-
64
- enabled?: boolean
65
- }
66
-
67
- export interface RunFlowOptions {
68
- nodeKey?: string
69
- input?: any
70
- onUpdate?: (...args: any) => void
71
- }
@@ -1,233 +0,0 @@
1
- import { JSONSchema } from '../json-schema'
2
- import { ErrorData } from '../errors'
3
- import { Connection } from '../connections'
4
- import { User } from '../users'
5
- import { IntegrationElementInstance } from '../integration-elements'
6
- import { Integration } from '../integrations'
7
- import { DataFilter } from '../data-filter'
8
-
9
- export const FLOW_CHANNEL_PREFIX = 'private-flows-'
10
- export const FLOW_INSTANCE_CHANNEL_PREFIX = 'private-flow-instances-'
11
-
12
- export interface FlowNode {
13
- /**
14
- * Type of the node this blueprint describes.
15
- */
16
- type: string
17
-
18
- /**
19
- * Name of the node summarizing its purpose.
20
- */
21
- name: string
22
-
23
- /**
24
- * Default node configuration.
25
- */
26
- config?: any
27
-
28
- /**
29
- * UI settings for this node.
30
- */
31
- ui?: any
32
-
33
- /**
34
- * Input this node receives from previous nodes (calculated)
35
- */
36
- inputSchema?: any
37
-
38
- /**
39
- * Output this node produces (calculated)
40
- */
41
- outputSchema?: any
42
-
43
- /**
44
- * Example of the output node produces
45
- */
46
- outputExample?: any
47
-
48
- /**
49
- * Links to nodes that run after the current node.
50
- */
51
- links?: FlowNodeLink[]
52
- }
53
-
54
- export interface Flow {
55
- /**
56
- * Flow blueprint's unique id. It never changes.
57
- */
58
- id: string
59
-
60
- /**
61
- * Blueprint key to conveniently refer to it by.
62
- * Must be unique among all blueprints within an app.
63
- * Can be changed.
64
- */
65
- key: string
66
-
67
- /**
68
- * Version. Used to indicate changes in the flow.
69
- */
70
- version: string
71
-
72
- name: string
73
-
74
- parametersSchema?: JSONSchema
75
-
76
- nodes?: Record<string, FlowNode>
77
-
78
- /**
79
- * Instance of this flow when returned in a context of a specific connection.
80
- * Populated in some API responses but not others.
81
- */
82
- instance?: FlowInstance
83
-
84
- /**
85
- * Instances of this flow when returned in a context of a specific connection (for a flow that can have multiple instances).
86
- * Populated in some API responses but not others.
87
- */
88
- instances?: FlowInstance[]
89
-
90
- archivedAt?: Date
91
- }
92
-
93
- export enum FlowInstanceState {
94
- SETTING_UP = 'SETTING_UP',
95
- SETUP_FAILED = 'SETUP_FAILED',
96
- READY = 'READY',
97
- }
98
-
99
- export interface FlowInstance {
100
- id: string
101
-
102
- userId: string
103
-
104
- user?: User
105
-
106
- connectionId?: string
107
-
108
- connection?: Connection
109
-
110
- flowId?: string
111
-
112
- flowVersion?: string
113
-
114
- integrationId: string
115
-
116
- integration?: Integration
117
-
118
- instanceKey?: string
119
-
120
- /**
121
- * This flow's unique user-readable name.
122
- */
123
- name: string
124
-
125
- /**
126
- * This flow's parameters.
127
- * Can be used as variables in nodes.
128
- */
129
- parameters?: any
130
-
131
- /**
132
- * Schema of parameters the flow accepts.
133
- * Copied from FlowBlueprint
134
- */
135
- parametersSchema?: JSONSchema
136
-
137
- /**
138
- * Dictionary of flow's nodes:
139
- * <key>: <node>
140
- */
141
- nodes?: Record<string, FlowInstanceNode>
142
-
143
- /**
144
- * Whether the flow is enabled (i.e. triggers are active)
145
- */
146
- enabled: boolean
147
-
148
- createdAt: string
149
-
150
- updatedAt: string
151
-
152
- /**
153
- * List of dependencies.
154
- */
155
- dependencies?: IntegrationElementInstance[]
156
-
157
- state?: FlowInstanceState
158
- }
159
-
160
- export enum FlowInstanceNodeState {
161
- SETTING_UP = 'SETTING_UP',
162
- SETUP_FAILED = 'SETUP_FAILED',
163
- READY = 'READY',
164
- }
165
-
166
- export interface FlowInstanceNode extends FlowNode {
167
- /**
168
- * State of the node.
169
- * Set automatically by the engine when something changes about the node or the flow.
170
- */
171
- state?: FlowInstanceNodeState
172
-
173
- /**
174
- * Any data node wants to save during its lifetime.
175
- */
176
- stateData?: any
177
-
178
- /**
179
- * Errors occured during the node's configuration.
180
- */
181
- errors?: ErrorData[]
182
-
183
- /**
184
- * Part of the node's configuration provided by the end-user.
185
- */
186
- userConfig?: any
187
-
188
- /**
189
- * Input to be used for testing the node.
190
- * Compiled automatically from test output of the previous nodes.
191
- */
192
- testInput?: any
193
-
194
- /**
195
- * Node's config materialized with the test data. Used for testing the node.
196
- */
197
- testConfig?: any
198
-
199
- /**
200
- * List of dependencies.
201
- */
202
- dependencies?: IntegrationElementInstance[]
203
- }
204
-
205
- /**
206
- * Record of a link between one flow node to another.
207
- * When a node run finishes, linked nodes runs start.
208
- */
209
- export interface FlowNodeLink {
210
- key: string
211
- filter?: DataFilter
212
- }
213
-
214
- export interface OpenFlowInstanceConfigurationOptions {
215
- nodeKey?: string
216
- onClose?: (...args: any) => void
217
- }
218
-
219
- export interface RunFlowOptions {
220
- nodeKey?: string
221
- input?: any
222
- onUpdate?: (...args: any) => void
223
- }
224
-
225
- export {
226
- getFlowNode,
227
- getChildNodeKeys,
228
- getDownstreamNodeKeys,
229
- getParentNodeKeys,
230
- getUpstreamNodeKeys,
231
- getRootNodeKeys,
232
- getOrderedNodeKeys,
233
- } from './utils'
@@ -1,7 +0,0 @@
1
- import { FlowNodeSpec } from '.'
2
-
3
- export default new FlowNodeSpec({
4
- name: 'API Trigger',
5
- description: 'Launch flow via API',
6
- isTrigger: true,
7
- })
@@ -1,7 +0,0 @@
1
- import { FlowNodeSpec } from '.'
2
-
3
- export default new FlowNodeSpec({
4
- name: 'App Event Trigger',
5
- description: 'Trigger flow when a matching App Event is received',
6
- isTrigger: true,
7
- })
@@ -1,6 +0,0 @@
1
- import { FlowNodeSpec } from '.'
2
-
3
- export default new FlowNodeSpec({
4
- name: 'Create Data Link',
5
- description: 'Link records between your app and external app',
6
- })
@@ -1,6 +0,0 @@
1
- import { FlowNodeSpec } from '.'
2
-
3
- export default new FlowNodeSpec({
4
- name: 'Create Data Record',
5
- description: 'Create a new data record in a collection',
6
- })
@@ -1,8 +0,0 @@
1
- import { FlowNodeSpec } from '.'
2
-
3
- export default new FlowNodeSpec({
4
- name: 'Data Record Created Trigger',
5
- description:
6
- 'Launch flow when a data record is created in a remote data collection',
7
- isTrigger: true,
8
- })
@@ -1,8 +0,0 @@
1
- import { FlowNodeSpec } from '.'
2
-
3
- export default new FlowNodeSpec({
4
- name: 'Data Record Deleted Trigger',
5
- description:
6
- 'Launch flow when a data record is deleted in a remote data collection',
7
- isTrigger: true,
8
- })
@@ -1,8 +0,0 @@
1
- import { FlowNodeSpec } from '.'
2
-
3
- export default new FlowNodeSpec({
4
- name: 'Data Record Updated Trigger',
5
- description:
6
- 'Launch flow when a data record is updated in a remote data collection',
7
- isTrigger: true,
8
- })