@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,163 +0,0 @@
1
- import {
2
- schemaAllowsCustomValue,
3
- schemaIsNumber,
4
- schemaIsScalar,
5
- } from '../data-schema'
6
-
7
- export const DEFAULT_CONDITION_TYPE_KEY = 'equals'
8
-
9
- export interface DataFilterOperator {
10
- type: string
11
- name: string
12
- operandSchema: any
13
- }
14
-
15
- export interface DataFilterOperatorSpec {
16
- name: string
17
- handler: (fieldValue: any, operand: any) => boolean
18
- applicableToSchema: (schema: any) => boolean
19
- getOperandSchema: (schema: any) => any
20
- }
21
-
22
- export const OPERATORS: Record<string, DataFilterOperatorSpec> = {
23
- is: {
24
- name: 'is',
25
- handler: (value, operand) => value == operand,
26
- applicableToSchema: (schema) =>
27
- schemaIsScalar(schema) && schema.type !== 'boolean',
28
- getOperandSchema: (schema) => schema,
29
- },
30
- is_not: {
31
- name: 'is not',
32
- handler: (value, operand) => value != operand,
33
- applicableToSchema: (schema) =>
34
- schemaIsScalar(schema) && schema.type !== 'boolean',
35
- getOperandSchema: (schema) => schema,
36
- },
37
- is_one_of: {
38
- name: 'is one of',
39
- handler: (value, operand) =>
40
- Array.isArray(operand) && operand.includes(value),
41
- applicableToSchema: (schema) =>
42
- schemaIsScalar(schema) && schema.type !== 'boolean',
43
- getOperandSchema: (schema) => ({ type: 'array', items: schema }),
44
- },
45
- is_not_one_of: {
46
- name: 'is not one of',
47
- handler: (value, operand) =>
48
- !Array.isArray(operand) || !operand.includes(value),
49
- applicableToSchema: (schema) =>
50
- schemaIsScalar(schema) && schema.type !== 'boolean',
51
- getOperandSchema: (schema) => ({ type: 'array', items: schema }),
52
- },
53
- is_true: {
54
- name: 'is true',
55
- handler: (value) => !!value,
56
- applicableToSchema: (schema) => schema.type === 'boolean',
57
- getOperandSchema: () => null,
58
- },
59
- is_false: {
60
- name: 'is false',
61
- handler: (value) => value === false,
62
- applicableToSchema: (schema) => schema.type === 'boolean',
63
- getOperandSchema: () => null,
64
- },
65
- contains: {
66
- name: 'contains',
67
- handler: (value, operand) =>
68
- value ? value.toString().includes(operand) : false,
69
- applicableToSchema: (schema) =>
70
- schema?.type === 'string' && schemaAllowsCustomValue(schema),
71
- getOperandSchema: () => ({ type: 'string' }),
72
- },
73
- does_not_contain: {
74
- name: 'does not contain',
75
- handler: (value, operand) =>
76
- value ? !value.toString().includes(operand) : false,
77
- applicableToSchema: (schema) =>
78
- schema?.type === 'string' && schemaAllowsCustomValue(schema),
79
- getOperandSchema: () => ({ type: 'string' }),
80
- },
81
- array_includes: {
82
- name: 'includes',
83
- handler: (value, operand) =>
84
- Array.isArray(value) && value.indexOf(operand) !== -1,
85
- applicableToSchema: (schema) => schema?.type === 'array' && schema.items,
86
- getOperandSchema: (schema) => schema.items,
87
- },
88
- array_does_not_include: {
89
- name: 'does not include',
90
- handler: (value, operand) =>
91
- !Array.isArray(value) || value.indexOf(operand) === -1,
92
- applicableToSchema: (schema) => schema?.type === 'array' && schema.items,
93
- getOperandSchema: (schema) => schema.items,
94
- },
95
- less_than: {
96
- name: 'less than',
97
- handler: (value, operand) => {
98
- return parseFloat(value) === NaN || parseFloat(operand) === NaN
99
- ? false
100
- : parseFloat(value) < parseFloat(operand)
101
- },
102
- applicableToSchema: (schema) => schemaIsNumber(schema),
103
- getOperandSchema: () => ({ type: 'number' }),
104
- },
105
- less_than_or_equal: {
106
- name: 'less than or equal',
107
- handler: (value, operand) => {
108
- return parseFloat(value) === NaN || parseFloat(operand) === NaN
109
- ? false
110
- : parseFloat(value) <= parseFloat(operand)
111
- },
112
- applicableToSchema: (schema) => schemaIsNumber(schema),
113
- getOperandSchema: () => ({ type: 'number' }),
114
- },
115
- more_than: {
116
- name: 'more than',
117
- handler: (value, operand) => {
118
- return parseFloat(value) === NaN || parseFloat(operand) === NaN
119
- ? false
120
- : parseFloat(value) > parseFloat(operand)
121
- },
122
- applicableToSchema: (schema) => schemaIsNumber(schema),
123
- getOperandSchema: () => ({ type: 'number' }),
124
- },
125
- more_than_or_equal: {
126
- name: 'more than or equal',
127
- handler: (value, operand) => {
128
- return parseFloat(value) === NaN || parseFloat(operand) === NaN
129
- ? false
130
- : parseFloat(value) >= parseFloat(operand)
131
- },
132
- applicableToSchema: (schema) => schemaIsNumber(schema),
133
- getOperandSchema: () => ({ type: 'number' }),
134
- },
135
- is_not_empty: {
136
- name: 'is not empty',
137
- handler: (value) => {
138
- if (Array.isArray(value)) {
139
- return value.length > 0
140
- } else if (typeof value === 'object') {
141
- return value !== null && Object.keys(value).length > 0
142
- } else {
143
- return value !== undefined && value !== ''
144
- }
145
- },
146
- applicableToSchema: () => true,
147
- getOperandSchema: () => null,
148
- },
149
- is_empty: {
150
- name: 'is empty',
151
- handler: (value) => {
152
- if (Array.isArray(value)) {
153
- return value.length === 0
154
- } else if (typeof value === 'object') {
155
- return value === null || Object.keys(value).length === 0
156
- } else {
157
- return value === undefined || value === ''
158
- }
159
- },
160
- applicableToSchema: () => true,
161
- getOperandSchema: () => null,
162
- },
163
- }
@@ -1,108 +0,0 @@
1
- import { IntegrationAppClient } from '..'
2
- import { DataLink, DataLinkTable, DataLinkTableInstance } from '.'
3
- import {
4
- CreateDataLinkTableInstanceRequest,
5
- CreateDataLinkTableRequest,
6
- DataLinkInTableSelector,
7
- DataLinkTableInstanceSelector,
8
- FindDataLinksInTableQuery,
9
- FindDataLinksResponse,
10
- FindDataLinkTableInstancesQuery,
11
- FindDataLinkTablesQuery,
12
- UpdateDataLinkTableInstanceRequest,
13
- UpdateDataLinkTableRequest,
14
- } from './api'
15
- import qs from 'query-string'
16
- import {
17
- ElementAccessor,
18
- ElementInstanceAccessor,
19
- ElementInstanceListAccessor,
20
- ElementListAccessor,
21
- } from '../accessors'
22
-
23
- export class DataLinkTablesAccessor extends ElementListAccessor<
24
- DataLinkTable,
25
- FindDataLinkTablesQuery,
26
- CreateDataLinkTableRequest
27
- > {
28
- constructor(client: IntegrationAppClient) {
29
- super(client, 'data-link-tables')
30
- }
31
- }
32
-
33
- export class DataLinkTableAccessor extends ElementAccessor<
34
- DataLinkTable,
35
- CreateDataLinkTableRequest,
36
- UpdateDataLinkTableRequest
37
- > {
38
- constructor(client: IntegrationAppClient, idOrKey: string) {
39
- super({
40
- client,
41
- path: 'data-link-tables',
42
- idOrKey,
43
- })
44
- }
45
- }
46
-
47
- export class DataLinkTableInstancesAccessor extends ElementInstanceListAccessor<
48
- DataLinkTableInstance,
49
- FindDataLinkTableInstancesQuery
50
- > {
51
- constructor(client: IntegrationAppClient) {
52
- super(client, 'data-link-table-instances')
53
- }
54
- }
55
-
56
- export class DataLinkTableInstanceAccessor extends ElementInstanceAccessor<
57
- DataLinkTableInstance,
58
- DataLinkTableInstanceSelector,
59
- CreateDataLinkTableInstanceRequest,
60
- UpdateDataLinkTableInstanceRequest
61
- > {
62
- constructor(
63
- private client: IntegrationAppClient,
64
- selector: string | DataLinkTableInstanceSelector,
65
- ) {
66
- super({
67
- client,
68
- listPath: 'data-link-table-instances',
69
- selectorPath: 'data-link-table-instance',
70
- selector,
71
- })
72
- }
73
-
74
- async findLinks(
75
- query: FindDataLinksInTableQuery,
76
- ): Promise<FindDataLinksResponse> {
77
- const id = await this.getId()
78
- return this.client.get(
79
- '/data-links?' +
80
- qs.stringify({
81
- ...query,
82
- dataLinkTableInstanceId: id,
83
- }),
84
- )
85
- }
86
-
87
- async addLink(selector: DataLinkInTableSelector): Promise<DataLink> {
88
- const id = await this.getId()
89
- return this.client.post(
90
- '/data-links?' +
91
- qs.stringify({
92
- ...selector,
93
- dataLinkTableInstanceId: id,
94
- }),
95
- )
96
- }
97
-
98
- async removeLink(selector: DataLinkInTableSelector): Promise<DataLink> {
99
- const id = await this.getId()
100
- return this.client.delete(
101
- '/data-links?' +
102
- qs.stringify({
103
- ...selector,
104
- dataLinkTableInstanceId: id,
105
- }),
106
- )
107
- }
108
- }
@@ -1,75 +0,0 @@
1
- import {
2
- DataLink,
3
- DataLinkDirection,
4
- DataLinkTable,
5
- DataLinkTableInstance,
6
- } from '.'
7
- import { ConnectionSelector } from '../connections/api'
8
- import { PaginationQuery, PaginationResponse } from '../entity-repository'
9
-
10
- export type CreateDataLinkTableRequest = Omit<DataLink, 'id' | 'userId'>
11
-
12
- export type UpdateDataLinkTableRequest = CreateDataLinkTableRequest
13
-
14
- export interface FindDataLinkTablesQuery extends PaginationQuery {}
15
-
16
- export type FindDataLinkTablesResponse = PaginationResponse<DataLinkTable>
17
-
18
- export interface FindDataLinkTableInstancesQuery extends PaginationQuery {
19
- connectionId?: string
20
- integrationId?: string
21
- dataLinkTableId?: string
22
- }
23
-
24
- export interface FindDataLinkTableInstancesResponse
25
- extends PaginationResponse<DataLinkTableInstance> {}
26
-
27
- export interface DataLinkTableInstanceSelector extends ConnectionSelector {
28
- dataLinkTableId?: string
29
- dataLinkTableKey?: string
30
-
31
- autoCreate?: boolean
32
- }
33
-
34
- export interface CreateDataLinkTableInstanceRequest {
35
- name?: string
36
- }
37
-
38
- export interface UpdateDataLinkTableInstanceRequest
39
- extends CreateDataLinkTableInstanceRequest {}
40
-
41
- export interface FindDataLinksInTableQuery extends PaginationQuery {
42
- direction?: DataLinkDirection
43
-
44
- appRecordId?: string
45
-
46
- externalRecordId?: string
47
- }
48
-
49
- export interface FindDataLinksQuery
50
- extends PaginationQuery,
51
- FindDataLinksInTableQuery {
52
- dataLinkTableInstanceId?: string
53
- }
54
-
55
- export interface FindDataLinksResponse extends PaginationResponse<DataLink> {}
56
-
57
- export interface FindDataLinkQuery extends PaginationQuery {
58
- dataLinkTableInstanceId: string
59
-
60
- externalRecordId: string
61
-
62
- appRecordId: string
63
-
64
- direction: DataLinkDirection
65
- }
66
-
67
- export interface DataLinkInTableSelector {
68
- appRecordId: string
69
- externalRecordId: string
70
- direction: DataLinkDirection
71
- }
72
-
73
- export interface DataLinkSelector extends DataLinkInTableSelector {
74
- dataLinkTableInstanceId: string
75
- }
@@ -1,55 +0,0 @@
1
- import { User } from '../users'
2
- import { Connection } from '../connections'
3
- import { Integration } from '../integrations'
4
-
5
- export enum DataLinkDirection {
6
- IMPORT = 'import',
7
- EXPORT = 'export',
8
- BOTH = 'both',
9
- }
10
-
11
- export interface DataLinkTable {
12
- id: string
13
-
14
- key: string
15
-
16
- name: string
17
- }
18
-
19
- export interface DataLinkTableInstance {
20
- id: string
21
-
22
- dataLinkTableId?: string
23
-
24
- dataLinkTable?: DataLinkTable
25
-
26
- connectionId?: string
27
-
28
- connection?: Connection
29
-
30
- integrationId: string
31
-
32
- integration?: Integration
33
-
34
- userId: string
35
-
36
- user?: User
37
-
38
- name: string
39
- }
40
-
41
- export interface DataLink {
42
- id: string
43
-
44
- dataLinkTableInstanceId: string
45
-
46
- externalRecordId: string
47
-
48
- appRecordId: string
49
-
50
- direction: DataLinkDirection
51
- }
52
-
53
- export interface DataLinkTableConfig {
54
- key: string
55
- }
@@ -1,24 +0,0 @@
1
- import { IntegrationAppClient } from '../client'
2
- import { DataLocationSelector } from './api'
3
- import qs from 'query-string'
4
-
5
- export class DataLocationAccessor {
6
- constructor(
7
- private client: IntegrationAppClient,
8
- private selector: DataLocationSelector,
9
- ) {}
10
-
11
- async get() {
12
- return this.client.get(this.getPath())
13
- }
14
-
15
- async list() {
16
- return this.client.get(this.getPath('list'))
17
- }
18
-
19
- private getPath(subpath = '') {
20
- return `/data-location${subpath ? `/${subpath}` : ''}?${qs.stringify(
21
- this.selector,
22
- )}`
23
- }
24
- }
@@ -1,5 +0,0 @@
1
- import { ConnectionSelector } from '../connections/api'
2
-
3
- export interface DataLocationSelector extends ConnectionSelector {
4
- path: string
5
- }
@@ -1,209 +0,0 @@
1
- import urljoin from 'url-join'
2
- import { DataCollectionEvent, DataRecord } from '../data-collections'
3
-
4
- export { DataLocationSelector } from './api'
5
-
6
- export enum DataLocationType {
7
- directory = 'directory',
8
- collection = 'collection',
9
- }
10
-
11
- export interface DataLocation {
12
- path?: string
13
-
14
- name?: string
15
-
16
- type?: DataLocationType
17
-
18
- isDefault?: boolean
19
-
20
- read?: boolean
21
-
22
- write?: boolean
23
- }
24
-
25
- export type DataLocationSpec = DataCollectionSpec | DataDirectorySpec
26
-
27
- export interface DataCollectionSpec {
28
- type: DataLocationType.collection
29
-
30
- name: string
31
-
32
- fieldsSchema?: any
33
-
34
- find?: DataCollectionFindSpec
35
-
36
- findById?: DataCollectionFindByIdSpec
37
-
38
- create?: DataCollectionCreateSpec
39
-
40
- update?: DataCollectionUpdateSpec
41
-
42
- delete?: DataCollectionDeleteSpec
43
-
44
- udm?: DataCollectionUdmSpec
45
- }
46
-
47
- /**
48
- * @deprecated
49
- */
50
- export type DataCollection = DataCollectionSpec
51
-
52
- export interface DataDirectorySpec {
53
- type: DataLocationType.directory
54
- name?: string
55
- }
56
-
57
- interface DataCollectionOperationResponse {
58
- logs?: any[]
59
- }
60
-
61
- export interface DataCollectionFindSpec {
62
- queryFields?: string[]
63
- }
64
-
65
- export interface DataCollectionFindByIdSpec {}
66
-
67
- export interface DataCollectionCreateSpec {
68
- fields?: string[]
69
- requiredFields?: string[]
70
- excludedFields?: string[]
71
- /**
72
- * @deprecated
73
- */
74
- excludeFields?: string[]
75
- }
76
-
77
- export interface DataCollectionUpdateSpec {
78
- fields?: string[]
79
- excludedFields?: string[]
80
- /**
81
- * @deprecated
82
- */
83
- excludeFields?: string[]
84
- }
85
-
86
- export interface DataCollectionDeleteSpec {}
87
-
88
- export type DataCollectionUdmSpec = Record<string, Record<string, any>>
89
-
90
- export interface DataCollectionFindRequest {
91
- query?: any
92
- cursor?: string
93
- udm?: string
94
- }
95
-
96
- export interface DataCollectionFindResponse
97
- extends DataCollectionOperationResponse {
98
- records: DataRecord[]
99
- cursor?: string
100
- }
101
-
102
- export interface DataCollectionFindByIdRequest {
103
- id: string
104
- udm?: string
105
- }
106
-
107
- export interface DataCollectionFindByIdResponse
108
- extends DataCollectionOperationResponse {
109
- record: DataRecord
110
- }
111
-
112
- export interface DataCollectionCreateRequest {
113
- fields: Record<string, any>
114
- }
115
-
116
- export interface DataCollectionCreateResponse
117
- extends DataCollectionOperationResponse,
118
- DataRecord {}
119
-
120
- export interface DataCollectionUpdateRequest {
121
- id: string
122
- fields: Record<string, any>
123
- }
124
-
125
- export interface DataCollectionUpdateResponse
126
- extends DataCollectionOperationResponse,
127
- DataRecord {}
128
-
129
- export interface DataCollectionDeleteRequest {
130
- id: string
131
- }
132
-
133
- export interface DataCollectionDeleteResponse
134
- extends DataCollectionOperationResponse {}
135
-
136
- export interface DataCollectionSubscribeRequest {
137
- events?: {
138
- created?: boolean
139
- updated?: boolean
140
- deleted?: boolean
141
- }
142
- udm?: string
143
- webhookUri: string
144
- }
145
-
146
- export interface DataCollectionSubscribeResponse {
147
- subscriptionId: string
148
- pullIntervalSeconds?: number
149
- cursor?: string
150
- }
151
-
152
- export interface DataCollectionUpdateSubscriptionRequest
153
- extends DataCollectionSubscribeRequest {
154
- subscriptionId: string
155
- cursor?: string
156
- }
157
-
158
- export interface DataCollectionUpdateSubscriptionResponse
159
- extends Omit<DataCollectionSubscribeResponse, 'subscriptionId'> {}
160
-
161
- export interface DataCollectionUnsubscribeRequest {
162
- subscriptionId: string
163
- }
164
-
165
- export interface DataCollectionUnsubscribeResponse {}
166
-
167
- export interface DataCollectionEventsRequest {
168
- subscriptionId: string
169
- cursor: string
170
- }
171
-
172
- export interface DataCollectionEventsResponse {
173
- events: DataCollectionEvent[]
174
- cursor: string
175
- }
176
-
177
- export interface DataEventWebhookPayload {
178
- subscriptionId: string
179
- events: DataCollectionEvent[]
180
- }
181
-
182
- export interface DataCollectionParseUnifiedFieldsRequest {
183
- udm: string
184
- unifiedFields: Record<string, any>
185
- }
186
-
187
- export interface DataCollectionParseUnifiedFieldsResponse {
188
- fields: any
189
- }
190
-
191
- export interface DataDirectoryListRequest {
192
- cursor?: string
193
- }
194
-
195
- export interface DataDirectoryListResponse {
196
- locations: DataLocationSpec[]
197
- cursor?: string
198
- }
199
-
200
- export function makeDataLocationOperationPath(
201
- collectionPath: string,
202
- operation: string,
203
- ) {
204
- const [path, query] = (collectionPath ?? '').split('?')
205
- return urljoin(path, operation, query ? `?${query}` : '')
206
- }
207
-
208
- // Backward compatibility
209
- export const makeCollectionOperationPath = makeDataLocationOperationPath