@integration-app/react 0.1.3 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (563) hide show
  1. package/contexts/integration-app-context.d.ts +2 -4
  2. package/integrations/index.d.ts +3 -4
  3. package/package.json +17 -4
  4. package/node_modules/@compwright/namecase/LICENSE +0 -26
  5. package/node_modules/@compwright/namecase/README.md +0 -49
  6. package/node_modules/@compwright/namecase/bin/namecase +0 -28
  7. package/node_modules/@compwright/namecase/dist/namecase.min.js +0 -4
  8. package/node_modules/@compwright/namecase/dist/namecase.min.js.map +0 -1
  9. package/node_modules/@compwright/namecase/package.json +0 -46
  10. package/node_modules/@compwright/namecase/src/index.js +0 -146
  11. package/node_modules/@integration-app/sdk/accessors.d.ts +0 -56
  12. package/node_modules/@integration-app/sdk/accessors.js +0 -104
  13. package/node_modules/@integration-app/sdk/accessors.js.map +0 -1
  14. package/node_modules/@integration-app/sdk/app-data-collections/accessors.d.ts +0 -16
  15. package/node_modules/@integration-app/sdk/app-data-collections/accessors.js +0 -38
  16. package/node_modules/@integration-app/sdk/app-data-collections/accessors.js.map +0 -1
  17. package/node_modules/@integration-app/sdk/app-data-collections/api.d.ts +0 -18
  18. package/node_modules/@integration-app/sdk/app-data-collections/api.js +0 -3
  19. package/node_modules/@integration-app/sdk/app-data-collections/api.js.map +0 -1
  20. package/node_modules/@integration-app/sdk/app-data-collections/index.d.ts +0 -26
  21. package/node_modules/@integration-app/sdk/app-data-collections/index.js +0 -3
  22. package/node_modules/@integration-app/sdk/app-data-collections/index.js.map +0 -1
  23. package/node_modules/@integration-app/sdk/app-data-schemas/accessors.d.ts +0 -16
  24. package/node_modules/@integration-app/sdk/app-data-schemas/accessors.js +0 -38
  25. package/node_modules/@integration-app/sdk/app-data-schemas/accessors.js.map +0 -1
  26. package/node_modules/@integration-app/sdk/app-data-schemas/api.d.ts +0 -18
  27. package/node_modules/@integration-app/sdk/app-data-schemas/api.js +0 -3
  28. package/node_modules/@integration-app/sdk/app-data-schemas/api.js.map +0 -1
  29. package/node_modules/@integration-app/sdk/app-data-schemas/index.d.ts +0 -21
  30. package/node_modules/@integration-app/sdk/app-data-schemas/index.js +0 -3
  31. package/node_modules/@integration-app/sdk/app-data-schemas/index.js.map +0 -1
  32. package/node_modules/@integration-app/sdk/app-events/accessors.d.ts +0 -16
  33. package/node_modules/@integration-app/sdk/app-events/accessors.js +0 -38
  34. package/node_modules/@integration-app/sdk/app-events/accessors.js.map +0 -1
  35. package/node_modules/@integration-app/sdk/app-events/api.d.ts +0 -18
  36. package/node_modules/@integration-app/sdk/app-events/api.js +0 -3
  37. package/node_modules/@integration-app/sdk/app-events/api.js.map +0 -1
  38. package/node_modules/@integration-app/sdk/app-events/index.d.ts +0 -46
  39. package/node_modules/@integration-app/sdk/app-events/index.js +0 -3
  40. package/node_modules/@integration-app/sdk/app-events/index.js.map +0 -1
  41. package/node_modules/@integration-app/sdk/auth/accessors.d.ts +0 -7
  42. package/node_modules/@integration-app/sdk/auth/accessors.js +0 -13
  43. package/node_modules/@integration-app/sdk/auth/accessors.js.map +0 -1
  44. package/node_modules/@integration-app/sdk/auth/index.d.ts +0 -6
  45. package/node_modules/@integration-app/sdk/auth/index.js +0 -3
  46. package/node_modules/@integration-app/sdk/auth/index.js.map +0 -1
  47. package/node_modules/@integration-app/sdk/bundle-index.d.ts +0 -1
  48. package/node_modules/@integration-app/sdk/bundle-index.js +0 -5
  49. package/node_modules/@integration-app/sdk/bundle-index.js.map +0 -1
  50. package/node_modules/@integration-app/sdk/bundle.js +0 -30163
  51. package/node_modules/@integration-app/sdk/bundle.js.map +0 -1
  52. package/node_modules/@integration-app/sdk/client.d.ts +0 -108
  53. package/node_modules/@integration-app/sdk/client.js +0 -248
  54. package/node_modules/@integration-app/sdk/client.js.map +0 -1
  55. package/node_modules/@integration-app/sdk/connections/accessors.d.ts +0 -13
  56. package/node_modules/@integration-app/sdk/connections/accessors.js +0 -39
  57. package/node_modules/@integration-app/sdk/connections/accessors.js.map +0 -1
  58. package/node_modules/@integration-app/sdk/connections/api.d.ts +0 -20
  59. package/node_modules/@integration-app/sdk/connections/api.js +0 -17
  60. package/node_modules/@integration-app/sdk/connections/api.js.map +0 -1
  61. package/node_modules/@integration-app/sdk/connections/index.d.ts +0 -39
  62. package/node_modules/@integration-app/sdk/connections/index.js +0 -13
  63. package/node_modules/@integration-app/sdk/connections/index.js.map +0 -1
  64. package/node_modules/@integration-app/sdk/connector-api/index.d.ts +0 -2
  65. package/node_modules/@integration-app/sdk/connector-api/index.js +0 -9
  66. package/node_modules/@integration-app/sdk/connector-api/index.js.map +0 -1
  67. package/node_modules/@integration-app/sdk/data-builder/context.d.ts +0 -9
  68. package/node_modules/@integration-app/sdk/data-builder/context.js +0 -32
  69. package/node_modules/@integration-app/sdk/data-builder/context.js.map +0 -1
  70. package/node_modules/@integration-app/sdk/data-builder/formulas/base.d.ts +0 -9
  71. package/node_modules/@integration-app/sdk/data-builder/formulas/base.js +0 -59
  72. package/node_modules/@integration-app/sdk/data-builder/formulas/base.js.map +0 -1
  73. package/node_modules/@integration-app/sdk/data-builder/formulas/case.d.ts +0 -14
  74. package/node_modules/@integration-app/sdk/data-builder/formulas/case.js +0 -45
  75. package/node_modules/@integration-app/sdk/data-builder/formulas/case.js.map +0 -1
  76. package/node_modules/@integration-app/sdk/data-builder/formulas/concat.d.ts +0 -18
  77. package/node_modules/@integration-app/sdk/data-builder/formulas/concat.js +0 -36
  78. package/node_modules/@integration-app/sdk/data-builder/formulas/concat.js.map +0 -1
  79. package/node_modules/@integration-app/sdk/data-builder/formulas/copy.d.ts +0 -10
  80. package/node_modules/@integration-app/sdk/data-builder/formulas/copy.js +0 -22
  81. package/node_modules/@integration-app/sdk/data-builder/formulas/copy.js.map +0 -1
  82. package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.d.ts +0 -11
  83. package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.js +0 -31
  84. package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.js.map +0 -1
  85. package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.d.ts +0 -11
  86. package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.js +0 -31
  87. package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.js.map +0 -1
  88. package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.d.ts +0 -17
  89. package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.js +0 -24
  90. package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.js.map +0 -1
  91. package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.d.ts +0 -17
  92. package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.js +0 -24
  93. package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.js.map +0 -1
  94. package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.d.ts +0 -10
  95. package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.js +0 -25
  96. package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.js.map +0 -1
  97. package/node_modules/@integration-app/sdk/data-builder/formulas/index.d.ts +0 -28
  98. package/node_modules/@integration-app/sdk/data-builder/formulas/index.js +0 -177
  99. package/node_modules/@integration-app/sdk/data-builder/formulas/index.js.map +0 -1
  100. package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.d.ts +0 -15
  101. package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.js +0 -41
  102. package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.js.map +0 -1
  103. package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.d.ts +0 -10
  104. package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.js +0 -25
  105. package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.js.map +0 -1
  106. package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.d.ts +0 -20
  107. package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.js +0 -24
  108. package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.js.map +0 -1
  109. package/node_modules/@integration-app/sdk/data-builder/formulas/map.d.ts +0 -17
  110. package/node_modules/@integration-app/sdk/data-builder/formulas/map.js +0 -34
  111. package/node_modules/@integration-app/sdk/data-builder/formulas/map.js.map +0 -1
  112. package/node_modules/@integration-app/sdk/data-builder/formulas/plain.d.ts +0 -7
  113. package/node_modules/@integration-app/sdk/data-builder/formulas/plain.js +0 -20
  114. package/node_modules/@integration-app/sdk/data-builder/formulas/plain.js.map +0 -1
  115. package/node_modules/@integration-app/sdk/data-builder/formulas/record.d.ts +0 -10
  116. package/node_modules/@integration-app/sdk/data-builder/formulas/record.js +0 -23
  117. package/node_modules/@integration-app/sdk/data-builder/formulas/record.js.map +0 -1
  118. package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.d.ts +0 -12
  119. package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.js +0 -22
  120. package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.js.map +0 -1
  121. package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.d.ts +0 -15
  122. package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.js +0 -31
  123. package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.js.map +0 -1
  124. package/node_modules/@integration-app/sdk/data-builder/formulas/var.d.ts +0 -8
  125. package/node_modules/@integration-app/sdk/data-builder/formulas/var.js +0 -21
  126. package/node_modules/@integration-app/sdk/data-builder/formulas/var.js.map +0 -1
  127. package/node_modules/@integration-app/sdk/data-builder/index.d.ts +0 -2
  128. package/node_modules/@integration-app/sdk/data-builder/index.js +0 -17
  129. package/node_modules/@integration-app/sdk/data-builder/index.js.map +0 -1
  130. package/node_modules/@integration-app/sdk/data-builder/locators.d.ts +0 -56
  131. package/node_modules/@integration-app/sdk/data-builder/locators.js +0 -560
  132. package/node_modules/@integration-app/sdk/data-builder/locators.js.map +0 -1
  133. package/node_modules/@integration-app/sdk/data-collections.d.ts +0 -36
  134. package/node_modules/@integration-app/sdk/data-collections.js +0 -16
  135. package/node_modules/@integration-app/sdk/data-collections.js.map +0 -1
  136. package/node_modules/@integration-app/sdk/data-filter/index.d.ts +0 -12
  137. package/node_modules/@integration-app/sdk/data-filter/index.js +0 -104
  138. package/node_modules/@integration-app/sdk/data-filter/index.js.map +0 -1
  139. package/node_modules/@integration-app/sdk/data-filter/operators.d.ts +0 -13
  140. package/node_modules/@integration-app/sdk/data-filter/operators.js +0 -140
  141. package/node_modules/@integration-app/sdk/data-filter/operators.js.map +0 -1
  142. package/node_modules/@integration-app/sdk/data-links/accessors.d.ts +0 -20
  143. package/node_modules/@integration-app/sdk/data-links/accessors.js +0 -65
  144. package/node_modules/@integration-app/sdk/data-links/accessors.js.map +0 -1
  145. package/node_modules/@integration-app/sdk/data-links/api.d.ts +0 -49
  146. package/node_modules/@integration-app/sdk/data-links/api.js +0 -3
  147. package/node_modules/@integration-app/sdk/data-links/api.js.map +0 -1
  148. package/node_modules/@integration-app/sdk/data-links/index.d.ts +0 -35
  149. package/node_modules/@integration-app/sdk/data-links/index.js +0 -10
  150. package/node_modules/@integration-app/sdk/data-links/index.js.map +0 -1
  151. package/node_modules/@integration-app/sdk/data-locations/accessors.d.ts +0 -10
  152. package/node_modules/@integration-app/sdk/data-locations/accessors.js +0 -22
  153. package/node_modules/@integration-app/sdk/data-locations/accessors.js.map +0 -1
  154. package/node_modules/@integration-app/sdk/data-locations/api.d.ts +0 -4
  155. package/node_modules/@integration-app/sdk/data-locations/api.js +0 -3
  156. package/node_modules/@integration-app/sdk/data-locations/api.js.map +0 -1
  157. package/node_modules/@integration-app/sdk/data-locations/index.d.ts +0 -138
  158. package/node_modules/@integration-app/sdk/data-locations/index.js +0 -17
  159. package/node_modules/@integration-app/sdk/data-locations/index.js.map +0 -1
  160. package/node_modules/@integration-app/sdk/data-schema/index.d.ts +0 -49
  161. package/node_modules/@integration-app/sdk/data-schema/index.js +0 -88
  162. package/node_modules/@integration-app/sdk/data-schema/index.js.map +0 -1
  163. package/node_modules/@integration-app/sdk/data-sources/accessors.d.ts +0 -29
  164. package/node_modules/@integration-app/sdk/data-sources/accessors.js +0 -71
  165. package/node_modules/@integration-app/sdk/data-sources/accessors.js.map +0 -1
  166. package/node_modules/@integration-app/sdk/data-sources/api.d.ts +0 -37
  167. package/node_modules/@integration-app/sdk/data-sources/api.js +0 -3
  168. package/node_modules/@integration-app/sdk/data-sources/api.js.map +0 -1
  169. package/node_modules/@integration-app/sdk/data-sources/index.d.ts +0 -55
  170. package/node_modules/@integration-app/sdk/data-sources/index.js +0 -3
  171. package/node_modules/@integration-app/sdk/data-sources/index.js.map +0 -1
  172. package/node_modules/@integration-app/sdk/datetime.d.ts +0 -1
  173. package/node_modules/@integration-app/sdk/datetime.js +0 -15
  174. package/node_modules/@integration-app/sdk/datetime.js.map +0 -1
  175. package/node_modules/@integration-app/sdk/entity-repository.d.ts +0 -11
  176. package/node_modules/@integration-app/sdk/entity-repository.js +0 -10
  177. package/node_modules/@integration-app/sdk/entity-repository.js.map +0 -1
  178. package/node_modules/@integration-app/sdk/errors.d.ts +0 -64
  179. package/node_modules/@integration-app/sdk/errors.js +0 -141
  180. package/node_modules/@integration-app/sdk/errors.js.map +0 -1
  181. package/node_modules/@integration-app/sdk/field-mappings/accessors.d.ts +0 -25
  182. package/node_modules/@integration-app/sdk/field-mappings/accessors.js +0 -60
  183. package/node_modules/@integration-app/sdk/field-mappings/accessors.js.map +0 -1
  184. package/node_modules/@integration-app/sdk/field-mappings/api.d.ts +0 -34
  185. package/node_modules/@integration-app/sdk/field-mappings/api.js +0 -3
  186. package/node_modules/@integration-app/sdk/field-mappings/api.js.map +0 -1
  187. package/node_modules/@integration-app/sdk/field-mappings/index.d.ts +0 -90
  188. package/node_modules/@integration-app/sdk/field-mappings/index.js +0 -195
  189. package/node_modules/@integration-app/sdk/field-mappings/index.js.map +0 -1
  190. package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.d.ts +0 -30
  191. package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.js +0 -11
  192. package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.js.map +0 -1
  193. package/node_modules/@integration-app/sdk/flow-runs/index.d.ts +0 -59
  194. package/node_modules/@integration-app/sdk/flow-runs/index.js +0 -44
  195. package/node_modules/@integration-app/sdk/flow-runs/index.js.map +0 -1
  196. package/node_modules/@integration-app/sdk/flows/accessors.d.ts +0 -37
  197. package/node_modules/@integration-app/sdk/flows/accessors.js +0 -167
  198. package/node_modules/@integration-app/sdk/flows/accessors.js.map +0 -1
  199. package/node_modules/@integration-app/sdk/flows/api.d.ts +0 -55
  200. package/node_modules/@integration-app/sdk/flows/api.js +0 -8
  201. package/node_modules/@integration-app/sdk/flows/api.js.map +0 -1
  202. package/node_modules/@integration-app/sdk/flows/index.d.ts +0 -84
  203. package/node_modules/@integration-app/sdk/flows/index.js +0 -26
  204. package/node_modules/@integration-app/sdk/flows/index.js.map +0 -1
  205. package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.d.ts +0 -3
  206. package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.js +0 -9
  207. package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.js.map +0 -1
  208. package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.d.ts +0 -3
  209. package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.js +0 -9
  210. package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.js.map +0 -1
  211. package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.d.ts +0 -3
  212. package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.js +0 -8
  213. package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.js.map +0 -1
  214. package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.d.ts +0 -3
  215. package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.js +0 -8
  216. package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.js.map +0 -1
  217. package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.d.ts +0 -3
  218. package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.js +0 -9
  219. package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.js.map +0 -1
  220. package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.d.ts +0 -3
  221. package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.js +0 -9
  222. package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.js.map +0 -1
  223. package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.d.ts +0 -3
  224. package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.js +0 -9
  225. package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.js.map +0 -1
  226. package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.d.ts +0 -3
  227. package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.js +0 -8
  228. package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.js.map +0 -1
  229. package/node_modules/@integration-app/sdk/flows/nodes/filter.d.ts +0 -3
  230. package/node_modules/@integration-app/sdk/flows/nodes/filter.js +0 -8
  231. package/node_modules/@integration-app/sdk/flows/nodes/filter.js.map +0 -1
  232. package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.d.ts +0 -3
  233. package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.js +0 -8
  234. package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.js.map +0 -1
  235. package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.d.ts +0 -3
  236. package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.js +0 -8
  237. package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.js.map +0 -1
  238. package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.d.ts +0 -3
  239. package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.js +0 -8
  240. package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.js.map +0 -1
  241. package/node_modules/@integration-app/sdk/flows/nodes/http-request.d.ts +0 -3
  242. package/node_modules/@integration-app/sdk/flows/nodes/http-request.js +0 -8
  243. package/node_modules/@integration-app/sdk/flows/nodes/http-request.js.map +0 -1
  244. package/node_modules/@integration-app/sdk/flows/nodes/index.d.ts +0 -28
  245. package/node_modules/@integration-app/sdk/flows/nodes/index.js +0 -50
  246. package/node_modules/@integration-app/sdk/flows/nodes/index.js.map +0 -1
  247. package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.d.ts +0 -3
  248. package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.js +0 -8
  249. package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.js.map +0 -1
  250. package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.d.ts +0 -3
  251. package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.js +0 -9
  252. package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.js.map +0 -1
  253. package/node_modules/@integration-app/sdk/flows/nodes/transform-data.d.ts +0 -3
  254. package/node_modules/@integration-app/sdk/flows/nodes/transform-data.js +0 -8
  255. package/node_modules/@integration-app/sdk/flows/nodes/transform-data.js.map +0 -1
  256. package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.d.ts +0 -3
  257. package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.js +0 -8
  258. package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.js.map +0 -1
  259. package/node_modules/@integration-app/sdk/flows/utils.d.ts +0 -10
  260. package/node_modules/@integration-app/sdk/flows/utils.js +0 -72
  261. package/node_modules/@integration-app/sdk/flows/utils.js.map +0 -1
  262. package/node_modules/@integration-app/sdk/http-requests.d.ts +0 -37
  263. package/node_modules/@integration-app/sdk/http-requests.js +0 -33
  264. package/node_modules/@integration-app/sdk/http-requests.js.map +0 -1
  265. package/node_modules/@integration-app/sdk/iframe.d.ts +0 -9
  266. package/node_modules/@integration-app/sdk/iframe.js +0 -112
  267. package/node_modules/@integration-app/sdk/iframe.js.map +0 -1
  268. package/node_modules/@integration-app/sdk/index.d.ts +0 -4
  269. package/node_modules/@integration-app/sdk/index.js +0 -8
  270. package/node_modules/@integration-app/sdk/index.js.map +0 -1
  271. package/node_modules/@integration-app/sdk/integration-elements/index.d.ts +0 -22
  272. package/node_modules/@integration-app/sdk/integration-elements/index.js +0 -15
  273. package/node_modules/@integration-app/sdk/integration-elements/index.js.map +0 -1
  274. package/node_modules/@integration-app/sdk/integrations/accessors.d.ts +0 -17
  275. package/node_modules/@integration-app/sdk/integrations/accessors.js +0 -36
  276. package/node_modules/@integration-app/sdk/integrations/accessors.js.map +0 -1
  277. package/node_modules/@integration-app/sdk/integrations/api.d.ts +0 -10
  278. package/node_modules/@integration-app/sdk/integrations/api.js +0 -3
  279. package/node_modules/@integration-app/sdk/integrations/api.js.map +0 -1
  280. package/node_modules/@integration-app/sdk/integrations/index.d.ts +0 -27
  281. package/node_modules/@integration-app/sdk/integrations/index.js +0 -16
  282. package/node_modules/@integration-app/sdk/integrations/index.js.map +0 -1
  283. package/node_modules/@integration-app/sdk/json-schema/index.d.ts +0 -32
  284. package/node_modules/@integration-app/sdk/json-schema/index.js +0 -207
  285. package/node_modules/@integration-app/sdk/json-schema/index.js.map +0 -1
  286. package/node_modules/@integration-app/sdk/json-schema/schema-builder.d.ts +0 -7
  287. package/node_modules/@integration-app/sdk/json-schema/schema-builder.js +0 -232
  288. package/node_modules/@integration-app/sdk/json-schema/schema-builder.js.map +0 -1
  289. package/node_modules/@integration-app/sdk/jwt.d.ts +0 -1
  290. package/node_modules/@integration-app/sdk/jwt.js +0 -37
  291. package/node_modules/@integration-app/sdk/jwt.js.map +0 -1
  292. package/node_modules/@integration-app/sdk/package.json +0 -63
  293. package/node_modules/@integration-app/sdk/rollup.config.js +0 -23
  294. package/node_modules/@integration-app/sdk/src/accessors.ts +0 -150
  295. package/node_modules/@integration-app/sdk/src/app-data-collections/accessors.ts +0 -69
  296. package/node_modules/@integration-app/sdk/src/app-data-collections/api.ts +0 -31
  297. package/node_modules/@integration-app/sdk/src/app-data-collections/index.ts +0 -46
  298. package/node_modules/@integration-app/sdk/src/app-data-schemas/accessors.ts +0 -69
  299. package/node_modules/@integration-app/sdk/src/app-data-schemas/api.ts +0 -28
  300. package/node_modules/@integration-app/sdk/src/app-data-schemas/index.ts +0 -35
  301. package/node_modules/@integration-app/sdk/src/app-events/accessors.ts +0 -69
  302. package/node_modules/@integration-app/sdk/src/app-events/api.ts +0 -28
  303. package/node_modules/@integration-app/sdk/src/app-events/index.ts +0 -75
  304. package/node_modules/@integration-app/sdk/src/auth/accessors.ts +0 -10
  305. package/node_modules/@integration-app/sdk/src/auth/index.ts +0 -7
  306. package/node_modules/@integration-app/sdk/src/bundle-index.ts +0 -6
  307. package/node_modules/@integration-app/sdk/src/client.ts +0 -417
  308. package/node_modules/@integration-app/sdk/src/connections/accessors.ts +0 -58
  309. package/node_modules/@integration-app/sdk/src/connections/api.ts +0 -28
  310. package/node_modules/@integration-app/sdk/src/connections/index.ts +0 -70
  311. package/node_modules/@integration-app/sdk/src/connector-api/index.ts +0 -44
  312. package/node_modules/@integration-app/sdk/src/data-builder/context.ts +0 -40
  313. package/node_modules/@integration-app/sdk/src/data-builder/formulas/base.test.ts +0 -26
  314. package/node_modules/@integration-app/sdk/src/data-builder/formulas/base.ts +0 -95
  315. package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.test.ts +0 -158
  316. package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.ts +0 -53
  317. package/node_modules/@integration-app/sdk/src/data-builder/formulas/concat.test.ts +0 -117
  318. package/node_modules/@integration-app/sdk/src/data-builder/formulas/concat.ts +0 -49
  319. package/node_modules/@integration-app/sdk/src/data-builder/formulas/copy.test.ts +0 -70
  320. package/node_modules/@integration-app/sdk/src/data-builder/formulas/copy.ts +0 -20
  321. package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractDate.test.ts +0 -49
  322. package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractDate.ts +0 -28
  323. package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractTime.test.ts +0 -49
  324. package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractTime.ts +0 -28
  325. package/node_modules/@integration-app/sdk/src/data-builder/formulas/findAppRecordId.test.ts +0 -30
  326. package/node_modules/@integration-app/sdk/src/data-builder/formulas/findAppRecordId.ts +0 -30
  327. package/node_modules/@integration-app/sdk/src/data-builder/formulas/findExternalRecordId.test.ts +0 -30
  328. package/node_modules/@integration-app/sdk/src/data-builder/formulas/findExternalRecordId.ts +0 -30
  329. package/node_modules/@integration-app/sdk/src/data-builder/formulas/first-name.ts +0 -21
  330. package/node_modules/@integration-app/sdk/src/data-builder/formulas/index.test.ts +0 -83
  331. package/node_modules/@integration-app/sdk/src/data-builder/formulas/index.ts +0 -190
  332. package/node_modules/@integration-app/sdk/src/data-builder/formulas/iterate.test.ts +0 -154
  333. package/node_modules/@integration-app/sdk/src/data-builder/formulas/iterate.ts +0 -46
  334. package/node_modules/@integration-app/sdk/src/data-builder/formulas/last-name.ts +0 -21
  335. package/node_modules/@integration-app/sdk/src/data-builder/formulas/lookup.test.ts +0 -20
  336. package/node_modules/@integration-app/sdk/src/data-builder/formulas/lookup.ts +0 -33
  337. package/node_modules/@integration-app/sdk/src/data-builder/formulas/map.test.ts +0 -125
  338. package/node_modules/@integration-app/sdk/src/data-builder/formulas/map.ts +0 -42
  339. package/node_modules/@integration-app/sdk/src/data-builder/formulas/plain.ts +0 -17
  340. package/node_modules/@integration-app/sdk/src/data-builder/formulas/record.ts +0 -20
  341. package/node_modules/@integration-app/sdk/src/data-builder/formulas/schemaOption.ts +0 -26
  342. package/node_modules/@integration-app/sdk/src/data-builder/formulas/tpl.test.ts +0 -51
  343. package/node_modules/@integration-app/sdk/src/data-builder/formulas/tpl.ts +0 -33
  344. package/node_modules/@integration-app/sdk/src/data-builder/formulas/var.ts +0 -19
  345. package/node_modules/@integration-app/sdk/src/data-builder/index.test.ts +0 -372
  346. package/node_modules/@integration-app/sdk/src/data-builder/index.ts +0 -16
  347. package/node_modules/@integration-app/sdk/src/data-builder/locators.test.ts +0 -1045
  348. package/node_modules/@integration-app/sdk/src/data-builder/locators.ts +0 -702
  349. package/node_modules/@integration-app/sdk/src/data-collections.ts +0 -74
  350. package/node_modules/@integration-app/sdk/src/data-filter/index.test.ts +0 -48
  351. package/node_modules/@integration-app/sdk/src/data-filter/index.ts +0 -127
  352. package/node_modules/@integration-app/sdk/src/data-filter/operators.test.ts +0 -694
  353. package/node_modules/@integration-app/sdk/src/data-filter/operators.ts +0 -163
  354. package/node_modules/@integration-app/sdk/src/data-links/accessors.ts +0 -108
  355. package/node_modules/@integration-app/sdk/src/data-links/api.ts +0 -75
  356. package/node_modules/@integration-app/sdk/src/data-links/index.ts +0 -55
  357. package/node_modules/@integration-app/sdk/src/data-locations/accessors.ts +0 -24
  358. package/node_modules/@integration-app/sdk/src/data-locations/api.ts +0 -5
  359. package/node_modules/@integration-app/sdk/src/data-locations/index.ts +0 -209
  360. package/node_modules/@integration-app/sdk/src/data-schema/index.test.ts +0 -90
  361. package/node_modules/@integration-app/sdk/src/data-schema/index.ts +0 -185
  362. package/node_modules/@integration-app/sdk/src/data-sources/accessors.ts +0 -133
  363. package/node_modules/@integration-app/sdk/src/data-sources/api.ts +0 -59
  364. package/node_modules/@integration-app/sdk/src/data-sources/index.ts +0 -103
  365. package/node_modules/@integration-app/sdk/src/datetime.ts +0 -16
  366. package/node_modules/@integration-app/sdk/src/entity-repository.ts +0 -12
  367. package/node_modules/@integration-app/sdk/src/errors.ts +0 -154
  368. package/node_modules/@integration-app/sdk/src/field-mappings/accessors.ts +0 -100
  369. package/node_modules/@integration-app/sdk/src/field-mappings/api.ts +0 -61
  370. package/node_modules/@integration-app/sdk/src/field-mappings/index.ts +0 -341
  371. package/node_modules/@integration-app/sdk/src/flow-runs/flow-node-runs.ts +0 -53
  372. package/node_modules/@integration-app/sdk/src/flow-runs/index.ts +0 -102
  373. package/node_modules/@integration-app/sdk/src/flows/accessors.ts +0 -246
  374. package/node_modules/@integration-app/sdk/src/flows/api.ts +0 -71
  375. package/node_modules/@integration-app/sdk/src/flows/index.ts +0 -233
  376. package/node_modules/@integration-app/sdk/src/flows/nodes/api-trigger.ts +0 -7
  377. package/node_modules/@integration-app/sdk/src/flows/nodes/app-event-trigger.ts +0 -7
  378. package/node_modules/@integration-app/sdk/src/flows/nodes/create-data-link.ts +0 -6
  379. package/node_modules/@integration-app/sdk/src/flows/nodes/create-data-record.ts +0 -6
  380. package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-created-trigger.ts +0 -8
  381. package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-deleted-trigger.ts +0 -8
  382. package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-updated-trigger.ts +0 -8
  383. package/node_modules/@integration-app/sdk/src/flows/nodes/delete-data-record.ts +0 -6
  384. package/node_modules/@integration-app/sdk/src/flows/nodes/filter.ts +0 -6
  385. package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-link.ts +0 -6
  386. package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-record-by-id.ts +0 -6
  387. package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-records.ts +0 -6
  388. package/node_modules/@integration-app/sdk/src/flows/nodes/http-request.ts +0 -6
  389. package/node_modules/@integration-app/sdk/src/flows/nodes/index.ts +0 -60
  390. package/node_modules/@integration-app/sdk/src/flows/nodes/list-data-records.ts +0 -7
  391. package/node_modules/@integration-app/sdk/src/flows/nodes/schedule-trigger.ts +0 -7
  392. package/node_modules/@integration-app/sdk/src/flows/nodes/transform-data.ts +0 -7
  393. package/node_modules/@integration-app/sdk/src/flows/nodes/update-data-record.ts +0 -6
  394. package/node_modules/@integration-app/sdk/src/flows/utils.test.ts +0 -63
  395. package/node_modules/@integration-app/sdk/src/flows/utils.ts +0 -110
  396. package/node_modules/@integration-app/sdk/src/http-requests.ts +0 -41
  397. package/node_modules/@integration-app/sdk/src/iframe.ts +0 -142
  398. package/node_modules/@integration-app/sdk/src/index.ts +0 -5
  399. package/node_modules/@integration-app/sdk/src/integration-elements/index.ts +0 -24
  400. package/node_modules/@integration-app/sdk/src/integrations/accessors.ts +0 -42
  401. package/node_modules/@integration-app/sdk/src/integrations/api.ts +0 -13
  402. package/node_modules/@integration-app/sdk/src/integrations/index.ts +0 -50
  403. package/node_modules/@integration-app/sdk/src/json-schema/__snapshots__/schema-builder.test.ts.snap +0 -167
  404. package/node_modules/@integration-app/sdk/src/json-schema/index.ts +0 -251
  405. package/node_modules/@integration-app/sdk/src/json-schema/json-schema.test.ts +0 -246
  406. package/node_modules/@integration-app/sdk/src/json-schema/schema-builder.test.ts +0 -396
  407. package/node_modules/@integration-app/sdk/src/json-schema/schema-builder.ts +0 -258
  408. package/node_modules/@integration-app/sdk/src/jwt.test.ts +0 -11
  409. package/node_modules/@integration-app/sdk/src/jwt.ts +0 -40
  410. package/node_modules/@integration-app/sdk/src/udm/activities.test.ts +0 -43
  411. package/node_modules/@integration-app/sdk/src/udm/activities.ts +0 -83
  412. package/node_modules/@integration-app/sdk/src/udm/base.ts +0 -88
  413. package/node_modules/@integration-app/sdk/src/udm/campaigns.ts +0 -72
  414. package/node_modules/@integration-app/sdk/src/udm/companies.ts +0 -80
  415. package/node_modules/@integration-app/sdk/src/udm/contacts.test.ts +0 -147
  416. package/node_modules/@integration-app/sdk/src/udm/contacts.ts +0 -106
  417. package/node_modules/@integration-app/sdk/src/udm/deals.ts +0 -90
  418. package/node_modules/@integration-app/sdk/src/udm/index.ts +0 -28
  419. package/node_modules/@integration-app/sdk/src/udm/leads.ts +0 -113
  420. package/node_modules/@integration-app/sdk/src/udm/users.ts +0 -92
  421. package/node_modules/@integration-app/sdk/src/users/accessors.ts +0 -28
  422. package/node_modules/@integration-app/sdk/src/users/api.ts +0 -8
  423. package/node_modules/@integration-app/sdk/src/users/index.ts +0 -5
  424. package/node_modules/@integration-app/sdk/src/variables.ts +0 -33
  425. package/node_modules/@integration-app/sdk/src/workspaces/index.ts +0 -5
  426. package/node_modules/@integration-app/sdk/tsconfig.build.json +0 -10
  427. package/node_modules/@integration-app/sdk/tsconfig.json +0 -19
  428. package/node_modules/@integration-app/sdk/udm/activities.d.ts +0 -30
  429. package/node_modules/@integration-app/sdk/udm/activities.js +0 -70
  430. package/node_modules/@integration-app/sdk/udm/activities.js.map +0 -1
  431. package/node_modules/@integration-app/sdk/udm/base.d.ts +0 -27
  432. package/node_modules/@integration-app/sdk/udm/base.js +0 -62
  433. package/node_modules/@integration-app/sdk/udm/base.js.map +0 -1
  434. package/node_modules/@integration-app/sdk/udm/campaigns.d.ts +0 -25
  435. package/node_modules/@integration-app/sdk/udm/campaigns.js +0 -66
  436. package/node_modules/@integration-app/sdk/udm/campaigns.js.map +0 -1
  437. package/node_modules/@integration-app/sdk/udm/companies.d.ts +0 -42
  438. package/node_modules/@integration-app/sdk/udm/companies.js +0 -69
  439. package/node_modules/@integration-app/sdk/udm/companies.js.map +0 -1
  440. package/node_modules/@integration-app/sdk/udm/contacts.d.ts +0 -49
  441. package/node_modules/@integration-app/sdk/udm/contacts.js +0 -94
  442. package/node_modules/@integration-app/sdk/udm/contacts.js.map +0 -1
  443. package/node_modules/@integration-app/sdk/udm/deals.d.ts +0 -26
  444. package/node_modules/@integration-app/sdk/udm/deals.js +0 -84
  445. package/node_modules/@integration-app/sdk/udm/deals.js.map +0 -1
  446. package/node_modules/@integration-app/sdk/udm/index.d.ts +0 -11
  447. package/node_modules/@integration-app/sdk/udm/index.js +0 -31
  448. package/node_modules/@integration-app/sdk/udm/index.js.map +0 -1
  449. package/node_modules/@integration-app/sdk/udm/leads.d.ts +0 -52
  450. package/node_modules/@integration-app/sdk/udm/leads.js +0 -101
  451. package/node_modules/@integration-app/sdk/udm/leads.js.map +0 -1
  452. package/node_modules/@integration-app/sdk/udm/users.d.ts +0 -31
  453. package/node_modules/@integration-app/sdk/udm/users.js +0 -81
  454. package/node_modules/@integration-app/sdk/udm/users.js.map +0 -1
  455. package/node_modules/@integration-app/sdk/users/accessors.d.ts +0 -10
  456. package/node_modules/@integration-app/sdk/users/accessors.js +0 -21
  457. package/node_modules/@integration-app/sdk/users/accessors.js.map +0 -1
  458. package/node_modules/@integration-app/sdk/users/api.d.ts +0 -6
  459. package/node_modules/@integration-app/sdk/users/api.js +0 -3
  460. package/node_modules/@integration-app/sdk/users/api.js.map +0 -1
  461. package/node_modules/@integration-app/sdk/users/index.d.ts +0 -5
  462. package/node_modules/@integration-app/sdk/users/index.js +0 -3
  463. package/node_modules/@integration-app/sdk/users/index.js.map +0 -1
  464. package/node_modules/@integration-app/sdk/variables.d.ts +0 -3
  465. package/node_modules/@integration-app/sdk/variables.js +0 -30
  466. package/node_modules/@integration-app/sdk/variables.js.map +0 -1
  467. package/node_modules/@integration-app/sdk/workspaces/index.d.ts +0 -5
  468. package/node_modules/@integration-app/sdk/workspaces/index.js +0 -3
  469. package/node_modules/@integration-app/sdk/workspaces/index.js.map +0 -1
  470. package/node_modules/@sinclair/typebox/package.json +0 -40
  471. package/node_modules/@sinclair/typebox/readme.md +0 -740
  472. package/node_modules/@sinclair/typebox/typebox.d.ts +0 -351
  473. package/node_modules/@sinclair/typebox/typebox.js +0 -345
  474. package/node_modules/@types/node/README.md +0 -16
  475. package/node_modules/@types/node/assert.d.ts +0 -128
  476. package/node_modules/@types/node/async_hooks.d.ts +0 -229
  477. package/node_modules/@types/node/buffer.d.ts +0 -89
  478. package/node_modules/@types/node/child_process.d.ts +0 -514
  479. package/node_modules/@types/node/cluster.d.ts +0 -265
  480. package/node_modules/@types/node/console.d.ts +0 -142
  481. package/node_modules/@types/node/constants.d.ts +0 -18
  482. package/node_modules/@types/node/crypto.d.ts +0 -1283
  483. package/node_modules/@types/node/dgram.d.ts +0 -144
  484. package/node_modules/@types/node/dns.d.ts +0 -387
  485. package/node_modules/@types/node/domain.d.ts +0 -27
  486. package/node_modules/@types/node/events.d.ts +0 -82
  487. package/node_modules/@types/node/fs/promises.d.ts +0 -572
  488. package/node_modules/@types/node/fs.d.ts +0 -2281
  489. package/node_modules/@types/node/globals.d.ts +0 -747
  490. package/node_modules/@types/node/globals.global.d.ts +0 -1
  491. package/node_modules/@types/node/http.d.ts +0 -580
  492. package/node_modules/@types/node/http2.d.ts +0 -962
  493. package/node_modules/@types/node/https.d.ts +0 -271
  494. package/node_modules/@types/node/index.d.ts +0 -98
  495. package/node_modules/@types/node/inspector.d.ts +0 -3051
  496. package/node_modules/@types/node/module.d.ts +0 -56
  497. package/node_modules/@types/node/net.d.ts +0 -308
  498. package/node_modules/@types/node/os.d.ts +0 -243
  499. package/node_modules/@types/node/package.json +0 -232
  500. package/node_modules/@types/node/path.d.ts +0 -168
  501. package/node_modules/@types/node/perf_hooks.d.ts +0 -274
  502. package/node_modules/@types/node/process.d.ts +0 -413
  503. package/node_modules/@types/node/punycode.d.ts +0 -78
  504. package/node_modules/@types/node/querystring.d.ts +0 -31
  505. package/node_modules/@types/node/readline.d.ts +0 -174
  506. package/node_modules/@types/node/repl.d.ts +0 -398
  507. package/node_modules/@types/node/stream.d.ts +0 -359
  508. package/node_modules/@types/node/string_decoder.d.ts +0 -10
  509. package/node_modules/@types/node/timers.d.ts +0 -19
  510. package/node_modules/@types/node/tls.d.ts +0 -784
  511. package/node_modules/@types/node/trace_events.d.ts +0 -64
  512. package/node_modules/@types/node/ts4.8/assert.d.ts +0 -128
  513. package/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -229
  514. package/node_modules/@types/node/ts4.8/buffer.d.ts +0 -89
  515. package/node_modules/@types/node/ts4.8/child_process.d.ts +0 -514
  516. package/node_modules/@types/node/ts4.8/cluster.d.ts +0 -265
  517. package/node_modules/@types/node/ts4.8/console.d.ts +0 -142
  518. package/node_modules/@types/node/ts4.8/constants.d.ts +0 -18
  519. package/node_modules/@types/node/ts4.8/crypto.d.ts +0 -1283
  520. package/node_modules/@types/node/ts4.8/dgram.d.ts +0 -144
  521. package/node_modules/@types/node/ts4.8/dns.d.ts +0 -387
  522. package/node_modules/@types/node/ts4.8/domain.d.ts +0 -27
  523. package/node_modules/@types/node/ts4.8/events.d.ts +0 -82
  524. package/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -572
  525. package/node_modules/@types/node/ts4.8/fs.d.ts +0 -2281
  526. package/node_modules/@types/node/ts4.8/globals.d.ts +0 -746
  527. package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  528. package/node_modules/@types/node/ts4.8/http.d.ts +0 -580
  529. package/node_modules/@types/node/ts4.8/http2.d.ts +0 -962
  530. package/node_modules/@types/node/ts4.8/https.d.ts +0 -271
  531. package/node_modules/@types/node/ts4.8/index.d.ts +0 -53
  532. package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -3051
  533. package/node_modules/@types/node/ts4.8/module.d.ts +0 -56
  534. package/node_modules/@types/node/ts4.8/net.d.ts +0 -308
  535. package/node_modules/@types/node/ts4.8/os.d.ts +0 -243
  536. package/node_modules/@types/node/ts4.8/path.d.ts +0 -168
  537. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -274
  538. package/node_modules/@types/node/ts4.8/process.d.ts +0 -413
  539. package/node_modules/@types/node/ts4.8/punycode.d.ts +0 -78
  540. package/node_modules/@types/node/ts4.8/querystring.d.ts +0 -31
  541. package/node_modules/@types/node/ts4.8/readline.d.ts +0 -174
  542. package/node_modules/@types/node/ts4.8/repl.d.ts +0 -398
  543. package/node_modules/@types/node/ts4.8/stream.d.ts +0 -359
  544. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -10
  545. package/node_modules/@types/node/ts4.8/timers.d.ts +0 -19
  546. package/node_modules/@types/node/ts4.8/tls.d.ts +0 -784
  547. package/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -64
  548. package/node_modules/@types/node/ts4.8/tty.d.ts +0 -69
  549. package/node_modules/@types/node/ts4.8/url.d.ts +0 -149
  550. package/node_modules/@types/node/ts4.8/util.d.ts +0 -216
  551. package/node_modules/@types/node/ts4.8/v8.d.ts +0 -190
  552. package/node_modules/@types/node/ts4.8/vm.d.ts +0 -155
  553. package/node_modules/@types/node/ts4.8/wasi.d.ts +0 -89
  554. package/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -241
  555. package/node_modules/@types/node/ts4.8/zlib.d.ts +0 -364
  556. package/node_modules/@types/node/tty.d.ts +0 -69
  557. package/node_modules/@types/node/url.d.ts +0 -149
  558. package/node_modules/@types/node/util.d.ts +0 -216
  559. package/node_modules/@types/node/v8.d.ts +0 -190
  560. package/node_modules/@types/node/vm.d.ts +0 -155
  561. package/node_modules/@types/node/wasi.d.ts +0 -89
  562. package/node_modules/@types/node/worker_threads.d.ts +0 -241
  563. package/node_modules/@types/node/zlib.d.ts +0 -364
@@ -1,17 +0,0 @@
1
- import { Connection } from '../connections';
2
- import { FindIntegrationsQuery, FindIntegrationsResponse, Integration } from '.';
3
- import { IntegrationAppClient } from '..';
4
- import { ElementAccessor } from '../accessors';
5
- import { CreateIntegrationRequest, UpdateIntegrationRequest } from './api';
6
- export declare class IntegrationsAccessor {
7
- private client;
8
- constructor(client: IntegrationAppClient);
9
- find(query: FindIntegrationsQuery): Promise<FindIntegrationsResponse>;
10
- }
11
- export declare class IntegrationAccessor extends ElementAccessor<Integration, CreateIntegrationRequest, UpdateIntegrationRequest> {
12
- private client;
13
- private idOrKey;
14
- baseUri: string;
15
- constructor(client: IntegrationAppClient, idOrKey: string);
16
- connect(): Promise<Connection>;
17
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IntegrationAccessor = exports.IntegrationsAccessor = void 0;
4
- const iframe_1 = require("../iframe");
5
- const accessors_1 = require("../accessors");
6
- class IntegrationsAccessor {
7
- constructor(client) {
8
- this.client = client;
9
- }
10
- async find(query) {
11
- return this.client.get('/integrations', query);
12
- }
13
- }
14
- exports.IntegrationsAccessor = IntegrationsAccessor;
15
- class IntegrationAccessor extends accessors_1.ElementAccessor {
16
- constructor(client, idOrKey) {
17
- super({
18
- client,
19
- path: 'integrations',
20
- idOrKey,
21
- });
22
- this.client = client;
23
- this.idOrKey = idOrKey;
24
- }
25
- async connect() {
26
- const uri = this.client.getEmbedUri(`/integrations/${this.idOrKey}/connection/connect`);
27
- return new Promise((resolve) => {
28
- (0, iframe_1.openIframe)(uri, {
29
- onClose: () => resolve(null),
30
- onSuccess: (connection) => resolve(connection),
31
- });
32
- });
33
- }
34
- }
35
- exports.IntegrationAccessor = IntegrationAccessor;
36
- //# sourceMappingURL=accessors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accessors.js","sourceRoot":"","sources":["../src/integrations/accessors.ts"],"names":[],"mappings":";;;AAGA,sCAAsC;AACtC,4CAA8C;AAG9C,MAAa,oBAAoB;IAC/B,YAAoB,MAA4B;QAA5B,WAAM,GAAN,MAAM,CAAsB;IAAG,CAAC;IAEpD,KAAK,CAAC,IAAI,CAAC,KAA4B;QACrC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,eAAe,EAAE,KAAK,CAAC,CAAA;IAChD,CAAC;CACF;AAND,oDAMC;AAED,MAAa,mBAAoB,SAAQ,2BAIxC;IAGC,YAAoB,MAA4B,EAAU,OAAe;QACvE,KAAK,CAAC;YACJ,MAAM;YACN,IAAI,EAAE,cAAc;YACpB,OAAO;SACR,CAAC,CAAA;QALgB,WAAM,GAAN,MAAM,CAAsB;QAAU,YAAO,GAAP,OAAO,CAAQ;IAMzE,CAAC;IAED,KAAK,CAAC,OAAO;QACX,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,CACjC,iBAAiB,IAAI,CAAC,OAAO,qBAAqB,CACnD,CAAA;QACD,OAAO,IAAI,OAAO,CAAa,CAAC,OAAO,EAAE,EAAE;YACzC,IAAA,mBAAU,EAAC,GAAG,EAAE;gBACd,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;gBAC5B,SAAS,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;aAC/C,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AA1BD,kDA0BC"}
@@ -1,10 +0,0 @@
1
- export interface IntegrationSelector {
2
- integrationKey?: string;
3
- integrationId?: string;
4
- }
5
- export interface CreateIntegrationRequest {
6
- name: string;
7
- }
8
- export interface UpdateIntegrationRequest {
9
- name?: string;
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../src/integrations/api.ts"],"names":[],"mappings":""}
@@ -1,27 +0,0 @@
1
- import { PaginationQuery, PaginationResponse } from '../entity-repository';
2
- import { Connection } from '../connections';
3
- export declare enum ConnectionMode {
4
- POPUP = "popup",
5
- IFRAME = "iframe"
6
- }
7
- export interface IntegrationAuth {
8
- clientId: string;
9
- clientSecret: string;
10
- authorizeUri: string;
11
- tokenUri: string;
12
- }
13
- export interface Integration {
14
- id: string;
15
- key: string;
16
- name: string;
17
- baseUri: string;
18
- auth: IntegrationAuth;
19
- logoUri: string;
20
- connectionMode?: ConnectionMode;
21
- connection?: Connection;
22
- archivedAt?: Date;
23
- }
24
- export declare class FindIntegrationsQuery extends PaginationQuery {
25
- }
26
- export declare class FindIntegrationsResponse extends PaginationResponse<Integration> {
27
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FindIntegrationsResponse = exports.FindIntegrationsQuery = exports.ConnectionMode = void 0;
4
- const entity_repository_1 = require("../entity-repository");
5
- var ConnectionMode;
6
- (function (ConnectionMode) {
7
- ConnectionMode["POPUP"] = "popup";
8
- ConnectionMode["IFRAME"] = "iframe";
9
- })(ConnectionMode = exports.ConnectionMode || (exports.ConnectionMode = {}));
10
- class FindIntegrationsQuery extends entity_repository_1.PaginationQuery {
11
- }
12
- exports.FindIntegrationsQuery = FindIntegrationsQuery;
13
- class FindIntegrationsResponse extends entity_repository_1.PaginationResponse {
14
- }
15
- exports.FindIntegrationsResponse = FindIntegrationsResponse;
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/integrations/index.ts"],"names":[],"mappings":";;;AAAA,4DAA0E;AAG1E,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,mCAAiB,CAAA;AACnB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAyCD,MAAa,qBAAsB,SAAQ,mCAAe;CAAG;AAA7D,sDAA6D;AAE7D,MAAa,wBAAyB,SAAQ,sCAA+B;CAAG;AAAhF,4DAAgF"}
@@ -1,32 +0,0 @@
1
- export declare enum JSONSchemaType {
2
- Null = "null",
3
- Boolean = "boolean",
4
- Integer = "integer",
5
- Number = "number",
6
- String = "string",
7
- Object = "object",
8
- Array = "array"
9
- }
10
- export declare type JSONSchemaTypeStr = 'null' | 'boolean' | 'integer' | 'number' | 'string' | 'object' | 'array';
11
- export declare type JSONSchema = {
12
- type?: JSONSchemaTypeStr | JSONSchemaTypeStr[];
13
- items?: JSONSchema;
14
- maxItems?: number;
15
- properties?: Record<string, JSONSchema>;
16
- required?: string[];
17
- anyOf?: Array<JSONSchema>;
18
- examples?: any[];
19
- title?: string;
20
- enum?: any[];
21
- format?: string;
22
- $ref?: string;
23
- };
24
- export declare type SchemaComparisonOptions = {
25
- ignoreRequired: boolean;
26
- };
27
- export declare function schemaDiff(first: JSONSchema, second: JSONSchema): JSONSchema;
28
- export declare function isScalar(schema: any): boolean;
29
- export declare function schemaTypeFromValue(value: any): "object" | "string" | "number" | "null" | "boolean" | "array";
30
- export declare function getUserVisibleSchema(schema: any): any;
31
- export declare function getDefaultsFromSchema(schema: any): any;
32
- export declare function valueToSchema(value: any, schema: any, field?: string): any;
@@ -1,207 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.valueToSchema = exports.getDefaultsFromSchema = exports.getUserVisibleSchema = exports.schemaTypeFromValue = exports.isScalar = exports.schemaDiff = exports.JSONSchemaType = void 0;
4
- var JSONSchemaType;
5
- (function (JSONSchemaType) {
6
- JSONSchemaType["Null"] = "null";
7
- JSONSchemaType["Boolean"] = "boolean";
8
- JSONSchemaType["Integer"] = "integer";
9
- JSONSchemaType["Number"] = "number";
10
- JSONSchemaType["String"] = "string";
11
- JSONSchemaType["Object"] = "object";
12
- JSONSchemaType["Array"] = "array";
13
- })(JSONSchemaType = exports.JSONSchemaType || (exports.JSONSchemaType = {}));
14
- function schemaDiff(first, second) {
15
- if (!first) {
16
- return null;
17
- }
18
- else if (first.type == JSONSchemaType.Object && first.properties) {
19
- if ((second === null || second === void 0 ? void 0 : second.type) == JSONSchemaType.Object && second.properties) {
20
- const diff = {
21
- type: JSONSchemaType.Object,
22
- properties: {},
23
- };
24
- Object.keys(first.properties).forEach((key) => {
25
- const keyDiff = schemaDiff(first.properties[key], second.properties[key]);
26
- if (keyDiff) {
27
- diff.properties[key] = keyDiff;
28
- }
29
- });
30
- return Object.keys(diff.properties).length > 0 ? diff : null;
31
- }
32
- else {
33
- return first;
34
- }
35
- }
36
- else if (first.type == JSONSchemaType.Array && first.items) {
37
- if ((second === null || second === void 0 ? void 0 : second.type) == JSONSchemaType.Array && second.items) {
38
- const itemsDiff = schemaDiff(first.items, second.items);
39
- if (itemsDiff) {
40
- return {
41
- type: JSONSchemaType.Array,
42
- items: itemsDiff,
43
- };
44
- }
45
- else {
46
- return null;
47
- }
48
- }
49
- else {
50
- return first;
51
- }
52
- }
53
- else {
54
- if (second) {
55
- return null;
56
- }
57
- else {
58
- return first;
59
- }
60
- }
61
- }
62
- exports.schemaDiff = schemaDiff;
63
- function isScalar(schema) {
64
- return (schema.type != 'array' && schema.type != 'object' && schema.type != 'null');
65
- }
66
- exports.isScalar = isScalar;
67
- function schemaTypeFromValue(value) {
68
- switch (typeof value) {
69
- case 'object':
70
- if (Array.isArray(value)) {
71
- return 'array';
72
- }
73
- else if (value === null) {
74
- return 'null';
75
- }
76
- else {
77
- return 'object';
78
- }
79
- case 'boolean':
80
- return 'boolean';
81
- case 'bigint':
82
- case 'number':
83
- return 'number';
84
- default:
85
- return 'string';
86
- }
87
- }
88
- exports.schemaTypeFromValue = schemaTypeFromValue;
89
- function getUserVisibleSchema(schema) {
90
- var _a;
91
- if (!schema || typeof schema !== 'object') {
92
- return null;
93
- }
94
- if (schema.userVisible === false) {
95
- return null;
96
- }
97
- if (schema.properties && typeof schema.properties === 'object') {
98
- const userVisibleProperties = {};
99
- Object.entries(schema.properties).forEach(([key, propertySchema]) => {
100
- const userVisiblePropertySchema = getUserVisibleSchema(propertySchema);
101
- if (userVisiblePropertySchema) {
102
- userVisibleProperties[key] = userVisiblePropertySchema;
103
- }
104
- });
105
- return {
106
- ...schema,
107
- properties: userVisibleProperties,
108
- };
109
- }
110
- if (schema.items) {
111
- return {
112
- ...schema,
113
- items: (_a = getUserVisibleSchema(schema.items)) !== null && _a !== void 0 ? _a : {},
114
- };
115
- }
116
- return schema;
117
- }
118
- exports.getUserVisibleSchema = getUserVisibleSchema;
119
- function getDefaultsFromSchema(schema) {
120
- if ((schema === null || schema === void 0 ? void 0 : schema.type) === 'object' && schema.properties) {
121
- const propDefaults = {};
122
- for (const [key, value] of Object.entries(schema.properties)) {
123
- const defaults = getDefaultsFromSchema(value);
124
- if (defaults !== null && defaults !== undefined) {
125
- propDefaults[key] = defaults;
126
- }
127
- }
128
- if (Object.keys(propDefaults).length > 0) {
129
- return propDefaults;
130
- }
131
- else {
132
- return undefined;
133
- }
134
- }
135
- else {
136
- return schema === null || schema === void 0 ? void 0 : schema.default;
137
- }
138
- }
139
- exports.getDefaultsFromSchema = getDefaultsFromSchema;
140
- function valueToSchema(value, schema, field = '') {
141
- var _a;
142
- function throwError(message) {
143
- throw new Error(`${message}${field ? ` for field ${field}` : ''}`);
144
- }
145
- if (value === null || value === undefined) {
146
- return undefined;
147
- }
148
- switch (schema === null || schema === void 0 ? void 0 : schema.type) {
149
- case 'string':
150
- return value === null || value === void 0 ? void 0 : value.toString();
151
- case 'integer':
152
- case 'number':
153
- const result = Number(value);
154
- if (result === NaN) {
155
- throwError(`Cannot convert "${value}" to number`);
156
- }
157
- if (schema.type === 'integer' && !Number.isInteger(result)) {
158
- throwError(`Expected integer but got ${value}`);
159
- }
160
- return result;
161
- case 'boolean':
162
- if (typeof value === 'boolean') {
163
- return value;
164
- }
165
- else if (typeof value === 'string') {
166
- if (value === 'true') {
167
- return true;
168
- }
169
- else if (value === 'false') {
170
- return false;
171
- }
172
- else {
173
- throwError(`Expected true or false but got "${value}"`);
174
- }
175
- }
176
- else if (value) {
177
- throwError(`Expected true or false but got "${value}"`);
178
- }
179
- return undefined;
180
- case 'list':
181
- if (Array.isArray(value)) {
182
- return value.map((item) => valueToSchema(item, schema.items, field));
183
- }
184
- else {
185
- return undefined;
186
- }
187
- case 'object':
188
- if (typeof value === 'object' && value) {
189
- const result = {};
190
- for (const [key, fieldValue] of Object.entries(value)) {
191
- const fieldSchema = (_a = schema === null || schema === void 0 ? void 0 : schema.properties) === null || _a === void 0 ? void 0 : _a[key];
192
- if (!fieldSchema && schema && !schema.additionalProperties) {
193
- continue;
194
- }
195
- result[key] = valueToSchema(fieldValue, fieldSchema, field ? `${field}.${key}` : key);
196
- }
197
- return result;
198
- }
199
- else {
200
- return undefined;
201
- }
202
- default:
203
- return value;
204
- }
205
- }
206
- exports.valueToSchema = valueToSchema;
207
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/json-schema/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAQX;AARD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,qCAAmB,CAAA;IACnB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,mCAAiB,CAAA;IACjB,mCAAiB,CAAA;IACjB,iCAAe,CAAA;AACjB,CAAC,EARW,cAAc,GAAd,sBAAc,KAAd,sBAA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UAAU,CAAC,mCAAmC,KAAK,GAAG,CAAC,CAAA;iBACxD;aACF;iBAAM,IAAI,KAAK,EAAE;gBAChB,UAAU,CAAC,mCAAmC,KAAK,GAAG,CAAC,CAAA;aACxD;YACD,OAAO,SAAS,CAAA;QAClB,KAAK,MAAM;YACT,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;gBACxB,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAA;aACrE;iBAAM;gBACL,OAAO,SAAS,CAAA;aACjB;QACH,KAAK,QAAQ;YACX,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,EAAE;gBACtC,MAAM,MAAM,GAAG,EAAE,CAAA;gBACjB,KAAK,MAAM,CAAC,GAAG,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;oBACrD,MAAM,WAAW,GAAG,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,UAAU,0CAAG,GAAG,CAAC,CAAA;oBAE7C,IAAI,CAAC,WAAW,IAAI,MAAM,IAAI,CAAC,MAAM,CAAC,oBAAoB,EAAE;wBAE1D,SAAQ;qBACT;oBAED,MAAM,CAAC,GAAG,CAAC,GAAG,aAAa,CACzB,UAAU,EACV,WAAW,EACX,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAChC,CAAA;iBACF;gBACD,OAAO,MAAM,CAAA;aACd;iBAAM;gBACL,OAAO,SAAS,CAAA;aACjB;QACH;YACE,OAAO,KAAK,CAAA;KACf;AACH,CAAC;AAnED,sCAmEC"}
@@ -1,7 +0,0 @@
1
- export declare function unwrapSchema(schema: any): any[];
2
- export declare function unwrapSchemas(schemas: any[]): any[];
3
- export declare function wrapAnyOfSchema(schema: any): any;
4
- export declare function createSchema(value: any): any;
5
- export declare function mergeSchemas(schemas: any[]): any;
6
- export declare function extendSchema(schema: any, value: any): any;
7
- export declare function createCompoundSchema(values: any[]): any;
@@ -1,232 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createCompoundSchema = exports.extendSchema = exports.mergeSchemas = exports.createSchema = exports.wrapAnyOfSchema = exports.unwrapSchemas = exports.unwrapSchema = void 0;
4
- function createSchemaFor(value) {
5
- switch (typeof value) {
6
- case 'number':
7
- if (Number.isInteger(value)) {
8
- return { type: 'integer' };
9
- }
10
- return { type: 'number' };
11
- case 'boolean':
12
- return { type: 'boolean' };
13
- case 'string':
14
- return { type: 'string' };
15
- case 'object':
16
- if (value === null) {
17
- return {};
18
- }
19
- if (Array.isArray(value)) {
20
- return createSchemaForArray(value);
21
- }
22
- return createSchemaForObject(value);
23
- default:
24
- return null;
25
- }
26
- }
27
- function createSchemaForArray(arr) {
28
- if (arr.length === 0) {
29
- return { type: 'array' };
30
- }
31
- const elementSchemas = arr.map((value) => createSchemaFor(value));
32
- const items = combineSchemas(elementSchemas);
33
- return { type: 'array', items };
34
- }
35
- function createSchemaForObject(obj) {
36
- const keys = Object.keys(obj);
37
- if (keys.length === 0) {
38
- return {
39
- type: 'object',
40
- };
41
- }
42
- const properties = Object.entries(obj).reduce((props, [key, val]) => {
43
- props[key] = createSchemaFor(val);
44
- return props;
45
- }, {});
46
- const schema = { type: 'object', properties };
47
- return schema;
48
- }
49
- function combineSchemas(schemas) {
50
- const schemasByType = {
51
- undefined: [],
52
- ['null']: [],
53
- ['boolean']: [],
54
- ['integer']: [],
55
- ['number']: [],
56
- ['string']: [],
57
- ['array']: [],
58
- ['object']: [],
59
- };
60
- const unwrappedSchemas = unwrapSchemas(schemas);
61
- for (const unwrappedSchema of unwrappedSchemas) {
62
- const type = unwrappedSchema.type;
63
- schemasByType[type].push(unwrappedSchema);
64
- }
65
- if (schemasByType['number'].length > 0) {
66
- schemasByType['number'].push(...schemasByType['integer'].map((r) => ({
67
- ...r,
68
- type: 'number',
69
- })));
70
- delete schemasByType['integer'];
71
- }
72
- const resultSchemasByType = {
73
- ['null']: combineSameTypeScalarSchemas(schemasByType['null']),
74
- ['boolean']: combineSameTypeScalarSchemas(schemasByType['boolean']),
75
- ['number']: combineSameTypeScalarSchemas(schemasByType['number']),
76
- ['integer']: combineSameTypeScalarSchemas(schemasByType['integer']),
77
- ['string']: combineSameTypeScalarSchemas(schemasByType['string']),
78
- ['array']: combineArraySchemas(schemasByType['array']),
79
- ['object']: combineObjectSchemas(schemasByType['object']),
80
- };
81
- const schemasFound = Object.values(resultSchemasByType).filter(Boolean);
82
- const multiType = schemasFound.length > 1;
83
- if (multiType) {
84
- const wrapped = wrapAnyOfSchema({ anyOf: schemasFound });
85
- return wrapped;
86
- }
87
- return schemasFound[0];
88
- }
89
- function combineSameTypeScalarSchemas(schemas) {
90
- if (!schemas || schemas.length === 0) {
91
- return undefined;
92
- }
93
- const schema = {
94
- type: schemas[0].type,
95
- };
96
- addTitleFromSourceSchemas(schema, schemas);
97
- return schema;
98
- }
99
- function combineArraySchemas(schemas) {
100
- if (!schemas || schemas.length === 0) {
101
- return undefined;
102
- }
103
- const itemSchemas = [];
104
- for (const schema of schemas) {
105
- if (!schema.items)
106
- continue;
107
- const unwrappedSchemas = unwrapSchema(schema.items);
108
- itemSchemas.push(...unwrappedSchemas);
109
- }
110
- const schema = {
111
- type: 'array',
112
- };
113
- addTitleFromSourceSchemas(schema, schemas);
114
- if (itemSchemas.length > 0) {
115
- schema.items = combineSchemas(itemSchemas);
116
- }
117
- return schema;
118
- }
119
- function combineObjectSchemas(schemas) {
120
- if (!schemas || schemas.length === 0) {
121
- return undefined;
122
- }
123
- const allPropSchemas = schemas.map((s) => s.properties).filter(Boolean);
124
- const schemasByProp = Object.create(null);
125
- for (const propSchemas of allPropSchemas) {
126
- for (const [prop, schema] of Object.entries(propSchemas)) {
127
- if (!schemasByProp[prop]) {
128
- schemasByProp[prop] = [];
129
- }
130
- const unwrappedSchemas = unwrapSchema(schema);
131
- schemasByProp[prop].push(...unwrappedSchemas);
132
- }
133
- }
134
- const properties = Object.entries(schemasByProp).reduce((props, [prop, schemas]) => {
135
- if (schemas.length === 1) {
136
- props[prop] = schemas[0];
137
- }
138
- else {
139
- props[prop] = combineSchemas(schemas);
140
- }
141
- return props;
142
- }, {});
143
- const combinedSchema = {
144
- type: 'object',
145
- };
146
- addTitleFromSourceSchemas(combinedSchema, schemas);
147
- if (Object.keys(properties).length > 0) {
148
- combinedSchema.properties = properties;
149
- }
150
- return combinedSchema;
151
- }
152
- function unwrapSchema(schema) {
153
- if (!schema)
154
- return [];
155
- if (schema.anyOf) {
156
- return unwrapSchemas(schema.anyOf);
157
- }
158
- if (Array.isArray(schema.type)) {
159
- return schema.type.map((x) => ({ type: x }));
160
- }
161
- return [schema];
162
- }
163
- exports.unwrapSchema = unwrapSchema;
164
- function unwrapSchemas(schemas) {
165
- if (!schemas || schemas.length === 0)
166
- return [];
167
- const unwrappedSchemas = schemas.flatMap((schema) => unwrapSchema(schema));
168
- return unwrappedSchemas;
169
- }
170
- exports.unwrapSchemas = unwrapSchemas;
171
- function wrapAnyOfSchema(schema) {
172
- const simpleSchemas = [];
173
- const complexSchemas = [];
174
- for (const subSchema of schema.anyOf) {
175
- if (Array.isArray(subSchema.type)) {
176
- simpleSchemas.push(...subSchema.type);
177
- }
178
- else if (isSimpleSchema(subSchema)) {
179
- simpleSchemas.push(subSchema.type);
180
- }
181
- else {
182
- complexSchemas.push(subSchema);
183
- }
184
- }
185
- if (complexSchemas.length === 0) {
186
- return { type: simpleSchemas };
187
- }
188
- const anyOf = [];
189
- if (simpleSchemas.length > 0) {
190
- anyOf.push({
191
- type: simpleSchemas.length > 1 ? simpleSchemas : simpleSchemas[0],
192
- });
193
- }
194
- anyOf.push(...complexSchemas);
195
- return { anyOf };
196
- }
197
- exports.wrapAnyOfSchema = wrapAnyOfSchema;
198
- function isSimpleSchema(schema) {
199
- const keys = Object.keys(schema);
200
- return keys.length === 1 && keys[0] === 'type';
201
- }
202
- function createSchema(value) {
203
- if (typeof value === 'undefined')
204
- value = null;
205
- const clone = JSON.parse(JSON.stringify(value));
206
- return createSchemaFor(clone);
207
- }
208
- exports.createSchema = createSchema;
209
- function mergeSchemas(schemas) {
210
- const mergedSchema = combineSchemas(schemas);
211
- return mergedSchema;
212
- }
213
- exports.mergeSchemas = mergeSchemas;
214
- function extendSchema(schema, value) {
215
- const valueSchema = createSchema(value);
216
- const mergedSchema = combineSchemas([schema, valueSchema]);
217
- return mergedSchema;
218
- }
219
- exports.extendSchema = extendSchema;
220
- function createCompoundSchema(values) {
221
- const schemas = values.map((value) => createSchema(value));
222
- return mergeSchemas(schemas);
223
- }
224
- exports.createCompoundSchema = createCompoundSchema;
225
- function addTitleFromSourceSchemas(schema, schemas) {
226
- var _a;
227
- const title = (_a = schemas.filter((s) => !!s.title)[0]) === null || _a === void 0 ? void 0 : _a.title;
228
- if (title) {
229
- schema.title = title;
230
- }
231
- }
232
- //# sourceMappingURL=schema-builder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-builder.js","sourceRoot":"","sources":["../src/json-schema/schema-builder.ts"],"names":[],"mappings":";;;AAOA,SAAS,eAAe,CAAC,KAAU;IACjC,QAAQ,OAAO,KAAK,EAAE;QACpB,KAAK,QAAQ;YACX,IAAI,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;gBAC3B,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAA;aAC3B;YACD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAA;QAC3B,KAAK,SAAS;YACZ,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAA;QAC5B,KAAK,QAAQ;YACX,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAA;QAC3B,KAAK,QAAQ;YACX,IAAI,KAAK,KAAK,IAAI,EAAE;gBAClB,OAAO,EAAE,CAAA;aACV;Y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