@membranehq/sdk 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) hide show
  1. package/README.md +2 -0
  2. package/dist/bundle.d.ts +9397 -1740
  3. package/dist/bundle.js +8027 -17721
  4. package/dist/bundle.js.map +1 -1
  5. package/dist/dts/accessors/action-instances-accessors.d.ts +30 -0
  6. package/dist/dts/accessors/actions-accessors.d.ts +23 -0
  7. package/dist/dts/accessors/app-data-schema-instances-accessors.d.ts +12 -0
  8. package/dist/dts/accessors/app-data-schemas-accessors.d.ts +10 -0
  9. package/dist/dts/accessors/app-event-subscriptions-accessors.d.ts +11 -0
  10. package/dist/dts/accessors/app-event-types-accessors.d.ts +10 -0
  11. package/dist/dts/{accessors.d.ts → accessors/base-accessors.d.ts} +3 -3
  12. package/dist/dts/{connections/accessors.d.ts → accessors/connections-accessors.d.ts} +79 -10
  13. package/dist/dts/accessors/customers-accessors.d.ts +15 -0
  14. package/dist/dts/accessors/data-link-table-instances-accessors.d.ts +14 -0
  15. package/dist/dts/accessors/data-link-tables-accessors.d.ts +10 -0
  16. package/dist/dts/{data-sources/accessors.d.ts → accessors/data-sources-accessors.d.ts} +4 -4
  17. package/dist/dts/{external-events/accessors.d.ts → accessors/external-event-subscriptions-accessors.d.ts} +3 -3
  18. package/dist/dts/accessors/field-mapping-instances-accessors.d.ts +31 -0
  19. package/dist/dts/accessors/field-mappings-accessors.d.ts +25 -0
  20. package/dist/dts/{flows/accessors.d.ts → accessors/flow-instances-accessors.d.ts} +5 -26
  21. package/dist/dts/{flow-runs/accessors.d.ts → accessors/flow-runs-accessors.d.ts} +1 -1
  22. package/dist/dts/accessors/flows-accessors.d.ts +23 -0
  23. package/dist/dts/accessors/index.d.ts +21 -0
  24. package/dist/dts/accessors/integrations-accessors.d.ts +113 -0
  25. package/dist/dts/{scenarios/accessors.d.ts → accessors/scenarios-accessors.d.ts} +2 -2
  26. package/dist/dts/{screens/accessors.d.ts → accessors/screens-accessors.d.ts} +2 -2
  27. package/dist/dts/api-client.d.ts +1 -0
  28. package/dist/dts/apps/types.d.ts +2 -0
  29. package/dist/dts/auth/accessors.d.ts +1 -1
  30. package/dist/dts/auth/index.d.ts +1 -1
  31. package/dist/dts/client.d.ts +3 -16
  32. package/dist/dts/data-builder/index.d.ts +19 -9
  33. package/dist/dts/data-filter/index.d.ts +1 -1
  34. package/dist/dts/data-schema/index.d.ts +0 -2
  35. package/dist/dts/data-schema/types.d.ts +4 -3
  36. package/dist/dts/{data-schema/utils.d.ts → data-schema-utils/index.d.ts} +3 -6
  37. package/dist/dts/entity-repository.d.ts +87 -20
  38. package/dist/dts/error-tools/index.d.ts +3 -0
  39. package/dist/dts/errors/index.d.ts +2 -9
  40. package/dist/dts/{data-builder/formulas → formulas}/base.d.ts +2 -2
  41. package/dist/dts/{data-builder/formulas → formulas}/dataSchemaRef.d.ts +3 -3
  42. package/dist/dts/{data-builder/formulas → formulas}/eval.d.ts +1 -1
  43. package/dist/dts/{data-builder/formulas → formulas}/findAppRecordId.d.ts +1 -1
  44. package/dist/dts/{data-builder/formulas → formulas}/findExternalRecordId.d.ts +1 -1
  45. package/dist/dts/formulas/index.d.ts +91 -0
  46. package/dist/dts/{data-builder/formulas → formulas}/record.d.ts +1 -1
  47. package/dist/dts/{data-builder/formulas → formulas}/types.d.ts +1 -0
  48. package/dist/dts/http-requests.d.ts +20 -6
  49. package/dist/dts/iframe.d.ts +12 -4
  50. package/dist/dts/index.d.ts +6 -18
  51. package/dist/dts/integration-elements/index.d.ts +3 -3
  52. package/dist/dts/{data-builder/locators.d.ts → locators/index.d.ts} +3 -3
  53. package/dist/dts/sse/index.d.ts +1 -0
  54. package/dist/dts/sse/workspace-elements.d.ts +9 -0
  55. package/dist/dts/variables.d.ts +1 -1
  56. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +8 -0
  57. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +10 -0
  58. package/dist/dts/workspace-elements/api/actions-api.d.ts +728 -0
  59. package/dist/dts/{app-data-schemas/api.d.ts → workspace-elements/api/app-data-schema-instances-api.d.ts} +13 -20
  60. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +19 -0
  61. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +30 -0
  62. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +30 -0
  63. package/dist/dts/workspace-elements/api/app-events-api.d.ts +17 -0
  64. package/dist/dts/workspace-elements/api/connections-api.d.ts +710 -0
  65. package/dist/dts/workspace-elements/api/customers-api.d.ts +70 -0
  66. package/dist/dts/{data-links/api.d.ts → workspace-elements/api/data-link-table-instances-api.d.ts} +15 -8
  67. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +8 -0
  68. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +12 -0
  69. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +856 -0
  70. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +19 -0
  71. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +19 -0
  72. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +10 -0
  73. package/dist/dts/workspace-elements/api/external-events-api.d.ts +507 -0
  74. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +41 -0
  75. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +619 -0
  76. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +50 -0
  77. package/dist/dts/workspace-elements/api/flows-api.d.ts +2437 -0
  78. package/dist/dts/workspace-elements/api/index.d.ts +25 -0
  79. package/dist/dts/workspace-elements/api/integrations-api.d.ts +260 -0
  80. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +486 -0
  81. package/dist/dts/{screens/types.d.ts → workspace-elements/api/screens-api.d.ts} +6 -8
  82. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +77 -0
  83. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +42 -0
  84. package/dist/dts/{actions → workspace-elements/base/actions}/index.d.ts +0 -1
  85. package/dist/dts/workspace-elements/base/actions/types.d.ts +68 -0
  86. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +47 -0
  87. package/dist/dts/workspace-elements/base/app-data-schemas/index.d.ts +1 -0
  88. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +35 -0
  89. package/dist/dts/workspace-elements/base/app-event-subscriptions/index.d.ts +1 -0
  90. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +84 -0
  91. package/dist/dts/workspace-elements/base/app-event-types/index.d.ts +1 -0
  92. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +75 -0
  93. package/dist/dts/workspace-elements/base/connections/index.d.ts +1 -0
  94. package/dist/dts/workspace-elements/base/connections/types.d.ts +92 -0
  95. package/dist/dts/{connectors → workspace-elements/base/connectors}/auth.d.ts +2 -2
  96. package/dist/dts/workspace-elements/base/connectors/events/index.d.ts +1 -0
  97. package/dist/dts/{connectors → workspace-elements/base/connectors}/events/types.d.ts +1 -1
  98. package/dist/dts/workspace-elements/base/connectors/global-webhooks/index.d.ts +1 -0
  99. package/dist/dts/{connectors → workspace-elements/base/connectors}/graphql-api.d.ts +1 -1
  100. package/dist/dts/{connectors → workspace-elements/base/connectors}/index.d.ts +0 -2
  101. package/dist/dts/{connectors → workspace-elements/base/connectors}/methods.d.ts +1 -1
  102. package/dist/dts/{connectors → workspace-elements/base/connectors}/rest-api.d.ts +1 -1
  103. package/dist/dts/{connectors → workspace-elements/base/connectors}/types.d.ts +16 -4
  104. package/dist/dts/{connectors → workspace-elements/base/connectors}/udm.d.ts +1 -1
  105. package/dist/dts/workspace-elements/base/customers/index.d.ts +30 -0
  106. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/base.d.ts +2 -2
  107. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/implementation-types/connector-event.d.ts +1 -1
  108. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/implementation-types/custom-pull.d.ts +1 -1
  109. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/implementation-types/pull-latest-records.d.ts +1 -1
  110. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/implementation-types/webhook.d.ts +1 -1
  111. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/methods.d.ts +2 -2
  112. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/index.d.ts +1 -1
  113. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/base.d.ts +4 -4
  114. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/index.d.ts +0 -2
  115. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/methods.d.ts +2 -2
  116. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-records.d.ts +1 -1
  117. package/dist/dts/workspace-elements/base/data-collections/index.d.ts +6 -0
  118. package/dist/dts/{connectors/data-locations → workspace-elements/base/data-collections}/schemas.d.ts +762 -261
  119. package/dist/dts/workspace-elements/base/data-collections/types.d.ts +54 -0
  120. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/base.d.ts +2 -2
  121. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/index.d.ts +2 -2
  122. package/dist/dts/{connectors/data-locations → workspace-elements/base/data-collections}/utils.d.ts +5 -2
  123. package/dist/dts/workspace-elements/base/data-link-table-instances/index.d.ts +1 -0
  124. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +70 -0
  125. package/dist/dts/workspace-elements/base/data-link-tables/index.d.ts +1 -0
  126. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +31 -0
  127. package/dist/dts/workspace-elements/base/data-source-instances/index.d.ts +1 -0
  128. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +1036 -0
  129. package/dist/dts/{data-sources → workspace-elements/base/data-sources}/index.d.ts +0 -2
  130. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +94 -0
  131. package/dist/dts/workspace-elements/base/external-event-log-records/index.d.ts +1 -0
  132. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +41 -0
  133. package/dist/dts/workspace-elements/base/external-event-pulls/index.d.ts +1 -0
  134. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +48 -0
  135. package/dist/dts/workspace-elements/base/external-event-subscriptions/index.d.ts +1 -0
  136. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +218 -0
  137. package/dist/dts/{external-events → workspace-elements/base/external-events}/api.d.ts +2 -2
  138. package/dist/dts/{external-events → workspace-elements/base/external-events}/index.d.ts +1 -4
  139. package/dist/dts/workspace-elements/base/external-events/types.d.ts +157 -0
  140. package/dist/dts/workspace-elements/base/field-mapping-instances/index.d.ts +1 -0
  141. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +85 -0
  142. package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +2 -0
  143. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +115 -0
  144. package/dist/dts/workspace-elements/base/flow-instances/index.d.ts +2 -0
  145. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +168 -0
  146. package/dist/dts/{flow-runs → workspace-elements/base/flow-runs}/flow-node-runs.d.ts +27 -27
  147. package/dist/dts/workspace-elements/base/flow-runs/index.d.ts +2 -0
  148. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +126 -0
  149. package/dist/dts/workspace-elements/base/flows/index.d.ts +2 -0
  150. package/dist/dts/workspace-elements/base/flows/types.d.ts +227 -0
  151. package/dist/dts/workspace-elements/base/index.d.ts +27 -0
  152. package/dist/dts/workspace-elements/base/integrations/index.d.ts +1 -0
  153. package/dist/dts/workspace-elements/base/integrations/types.d.ts +505 -0
  154. package/dist/dts/workspace-elements/base/scenarios/index.d.ts +1 -0
  155. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +727 -0
  156. package/dist/dts/workspace-elements/base/screens/index.d.ts +1 -0
  157. package/dist/dts/workspace-elements/base/screens/types.d.ts +41 -0
  158. package/dist/dts/workspace-elements/errors.d.ts +5 -0
  159. package/dist/dts/workspace-elements/index.d.ts +4 -0
  160. package/dist/dts/workspace-elements/types.d.ts +30 -4
  161. package/dist/dts/{flows/utils.d.ts → workspace-elements/utils/flow-utils.d.ts} +3 -3
  162. package/dist/dts/workspace-elements/utils/index.d.ts +1 -0
  163. package/dist/dts/workspace-elements-catalog/index.d.ts +3 -8
  164. package/dist/dts/workspaces/types.d.ts +6 -42
  165. package/dist/index.d.ts +13896 -3203
  166. package/dist/index.js +10508 -9435
  167. package/dist/index.js.map +1 -1
  168. package/dist/index.module.d.mts +13896 -3203
  169. package/dist/index.module.mjs +10358 -9413
  170. package/dist/index.module.mjs.map +1 -1
  171. package/package.json +7 -2
  172. package/dist/dts/actions/accessors.d.ts +0 -49
  173. package/dist/dts/actions/types.d.ts +0 -94
  174. package/dist/dts/app-data-schemas/accessors.d.ts +0 -18
  175. package/dist/dts/app-data-schemas/index.d.ts +0 -23
  176. package/dist/dts/app-events/accessors.d.ts +0 -20
  177. package/dist/dts/app-events/api.d.ts +0 -44
  178. package/dist/dts/app-events/index.d.ts +0 -42
  179. package/dist/dts/connections/api.d.ts +0 -27
  180. package/dist/dts/connections/create-or-update-connection.d.ts +0 -15
  181. package/dist/dts/connections/index.d.ts +0 -3
  182. package/dist/dts/connections/types.d.ts +0 -50
  183. package/dist/dts/data-builder/formula-processors.d.ts +0 -13
  184. package/dist/dts/data-builder/formula-types.d.ts +0 -4
  185. package/dist/dts/data-builder/formulas/index.d.ts +0 -26
  186. package/dist/dts/data-collections/types.d.ts +0 -24
  187. package/dist/dts/data-links/accessors.d.ts +0 -20
  188. package/dist/dts/data-links/index.d.ts +0 -36
  189. package/dist/dts/data-schema/data-field.d.ts +0 -14
  190. package/dist/dts/data-sources/api.d.ts +0 -90
  191. package/dist/dts/data-sources/types.d.ts +0 -63
  192. package/dist/dts/errors/error-doc-enum.d.ts +0 -7
  193. package/dist/dts/external-events/types.d.ts +0 -157
  194. package/dist/dts/field-mappings/accessors.d.ts +0 -54
  195. package/dist/dts/field-mappings/api.d.ts +0 -58
  196. package/dist/dts/field-mappings/index.d.ts +0 -66
  197. package/dist/dts/field-mappings/types.d.ts +0 -12
  198. package/dist/dts/flow-runs/index.d.ts +0 -78
  199. package/dist/dts/flows/api.d.ts +0 -54
  200. package/dist/dts/flows/index.d.ts +0 -6
  201. package/dist/dts/flows/types.d.ts +0 -76
  202. package/dist/dts/integrations/accessors.d.ts +0 -57
  203. package/dist/dts/integrations/api.d.ts +0 -24
  204. package/dist/dts/integrations/index.d.ts +0 -3
  205. package/dist/dts/integrations/types.d.ts +0 -38
  206. package/dist/dts/scenarios/index.d.ts +0 -2
  207. package/dist/dts/scenarios/types.d.ts +0 -145
  208. package/dist/dts/screens/index.d.ts +0 -2
  209. package/dist/dts/users/accessors.d.ts +0 -10
  210. package/dist/dts/users/api.d.ts +0 -23
  211. package/dist/dts/users/index.d.ts +0 -13
  212. package/dist/dts/{accessors.test.d.ts → accessors/base-accessors.test.d.ts} +0 -0
  213. package/dist/dts/{connectors/data-locations/utils.test.d.ts → data-builder/data-builder.test.d.ts} +0 -0
  214. package/dist/dts/{data-builder/formulas → data-schema-utils}/index.test.d.ts +0 -0
  215. package/dist/dts/{data-builder/formulas → formulas}/and.d.ts +0 -0
  216. package/dist/dts/{data-builder/formulas → formulas}/and.test.d.ts +0 -0
  217. package/dist/dts/{data-builder/formulas → formulas}/case.d.ts +0 -0
  218. package/dist/dts/{data-builder/formulas → formulas}/case.test.d.ts +0 -0
  219. package/dist/dts/{data-builder/formulas → formulas}/concat.d.ts +0 -0
  220. package/dist/dts/{data-builder/formulas → formulas}/concat.test.d.ts +0 -0
  221. package/dist/dts/{data-builder/formulas → formulas}/copy.d.ts +0 -0
  222. package/dist/dts/{data-builder/formulas → formulas}/copy.test.d.ts +0 -0
  223. package/dist/dts/{data-builder/formulas → formulas}/dataSchemaRef.test.d.ts +0 -0
  224. package/dist/dts/{data-builder/formulas → formulas}/domainFromEmail.d.ts +0 -0
  225. package/dist/dts/{data-builder/formulas → formulas}/domainFromEmail.test.d.ts +0 -0
  226. package/dist/dts/{data-builder/formulas → formulas}/eval.test.d.ts +0 -0
  227. package/dist/dts/{data-builder/formulas → formulas}/extractDate.d.ts +0 -0
  228. package/dist/dts/{data-builder/formulas → formulas}/extractDate.test.d.ts +0 -0
  229. package/dist/dts/{data-builder/formulas → formulas}/extractTime.d.ts +0 -0
  230. package/dist/dts/{data-builder/formulas → formulas}/extractTime.test.d.ts +0 -0
  231. package/dist/dts/{data-builder/formulas → formulas}/findAppRecordId.test.d.ts +0 -0
  232. package/dist/dts/{data-builder/formulas → formulas}/findExternalRecordId.test.d.ts +0 -0
  233. package/dist/dts/{data-builder/formulas → formulas}/first-name.d.ts +0 -0
  234. package/dist/dts/{data-builder/formulas → formulas}/first-name.test.d.ts +0 -0
  235. package/dist/dts/{data-builder/formulas → formulas}/firstNotEmpty.d.ts +0 -0
  236. package/dist/dts/{data-builder/formulas → formulas}/firstNotEmpty.test.d.ts +0 -0
  237. package/dist/dts/{data-builder/formulas → formulas}/formula.d.ts +0 -0
  238. package/dist/dts/{data-builder/formulas → formulas}/formula.test.d.ts +0 -0
  239. package/dist/dts/{data-builder → formulas}/index.test.d.ts +0 -0
  240. package/dist/dts/{data-builder/formulas → formulas}/iterate.d.ts +0 -0
  241. package/dist/dts/{data-builder/formulas → formulas}/iterate.test.d.ts +0 -0
  242. package/dist/dts/{data-builder/formulas → formulas}/jsonata.d.ts +0 -0
  243. package/dist/dts/{data-builder/formulas → formulas}/jsonata.test.d.ts +0 -0
  244. package/dist/dts/{data-builder/formulas → formulas}/last-name.d.ts +0 -0
  245. package/dist/dts/{data-builder/formulas → formulas}/last-name.test.d.ts +0 -0
  246. package/dist/dts/{data-builder/formulas → formulas}/lookup.d.ts +0 -0
  247. package/dist/dts/{data-builder/formulas → formulas}/lookup.test.d.ts +0 -0
  248. package/dist/dts/{data-builder/formulas → formulas}/map.d.ts +0 -0
  249. package/dist/dts/{data-builder/formulas → formulas}/map.test.d.ts +0 -0
  250. package/dist/dts/{data-builder/formulas → formulas}/mergeObjects.d.ts +0 -0
  251. package/dist/dts/{data-builder/formulas → formulas}/mergeObjects.test.d.ts +0 -0
  252. package/dist/dts/{data-builder/formulas → formulas}/or.d.ts +0 -0
  253. package/dist/dts/{data-builder/formulas → formulas}/or.test.d.ts +0 -0
  254. package/dist/dts/{data-builder/formulas → formulas}/plain.d.ts +0 -0
  255. package/dist/dts/{data-builder/formulas → formulas}/plain.test.d.ts +0 -0
  256. package/dist/dts/{data-builder/formulas → formulas}/record.test.d.ts +0 -0
  257. package/dist/dts/{data-builder/formulas → formulas}/tpl.d.ts +0 -0
  258. package/dist/dts/{data-builder/formulas → formulas}/tpl.test.d.ts +0 -0
  259. package/dist/dts/{data-builder/formulas → formulas}/var.d.ts +0 -0
  260. package/dist/dts/{data-builder/formulas → formulas}/var.test.d.ts +0 -0
  261. package/dist/dts/{data-builder → locators}/locators.test.d.ts +0 -0
  262. package/dist/dts/{data-builder/formula-processors.test.d.ts → setupTests.d.ts} +0 -0
  263. package/dist/dts/{connectors/events → workspace-elements/base/action-instances}/index.d.ts +0 -0
  264. package/dist/dts/{connectors/global-webhooks → workspace-elements/base/action-run-log-records}/index.d.ts +0 -0
  265. package/dist/dts/{actions → workspace-elements/base/actions}/action-types.d.ts +0 -0
  266. package/dist/dts/{data-collections → workspace-elements/base/app-data-schema-instances}/index.d.ts +0 -0
  267. package/dist/dts/{connectors → workspace-elements/base/connectors}/constants.d.ts +0 -0
  268. package/dist/dts/{connectors → workspace-elements/base/connectors}/global-webhooks/types.d.ts +0 -0
  269. package/dist/dts/{connectors → workspace-elements/base/connectors}/openapi.d.ts +0 -0
  270. package/dist/dts/{connectors → workspace-elements/base/connectors}/operations/handlers.d.ts +0 -0
  271. package/dist/dts/{connectors → workspace-elements/base/connectors}/operations/index.d.ts +0 -0
  272. package/dist/dts/{connectors → workspace-elements/base/connectors}/operations/types.d.ts +0 -0
  273. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/implementation-types/full-scan.d.ts +0 -0
  274. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/index.d.ts +0 -0
  275. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/create.d.ts +0 -0
  276. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/delete.d.ts +0 -0
  277. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/find-by-id.d.ts +0 -0
  278. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/find.d.ts +0 -0
  279. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/list.d.ts +0 -0
  280. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/match.d.ts +0 -0
  281. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/search.d.ts +0 -0
  282. package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/update.d.ts +0 -0
  283. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/activities.d.ts +0 -0
  284. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/activities.test.d.ts +0 -0
  285. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/bills.d.ts +0 -0
  286. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/campaign-members.d.ts +0 -0
  287. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/campaigns.d.ts +0 -0
  288. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/companies.d.ts +0 -0
  289. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/contact-lists.d.ts +0 -0
  290. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/contacts.d.ts +0 -0
  291. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/credit-notes.d.ts +0 -0
  292. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/customers.d.ts +0 -0
  293. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/deal-products.d.ts +0 -0
  294. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/deal-stages.d.ts +0 -0
  295. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/deals.d.ts +0 -0
  296. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/documents.d.ts +0 -0
  297. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/drive-items.d.ts +0 -0
  298. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/drives.d.ts +0 -0
  299. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/eeocs.d.ts +0 -0
  300. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/emails.d.ts +0 -0
  301. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/employees.d.ts +0 -0
  302. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/files.d.ts +0 -0
  303. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/folders.d.ts +0 -0
  304. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/invoices.d.ts +0 -0
  305. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/job-applications.d.ts +0 -0
  306. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/job-candidates.d.ts +0 -0
  307. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/job-interviews.d.ts +0 -0
  308. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/job-offers.d.ts +0 -0
  309. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/jobs.d.ts +0 -0
  310. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/journal-entries.d.ts +0 -0
  311. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/leads.d.ts +0 -0
  312. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/ledger-accounts.d.ts +0 -0
  313. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/meetings.d.ts +0 -0
  314. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/messages.d.ts +0 -0
  315. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/notes.d.ts +0 -0
  316. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/orders.d.ts +0 -0
  317. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/payments.d.ts +0 -0
  318. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/payrolls.d.ts +0 -0
  319. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/products.d.ts +0 -0
  320. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/projects.d.ts +0 -0
  321. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/suppliers.d.ts +0 -0
  322. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/tasks.d.ts +0 -0
  323. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/tax-rates.d.ts +0 -0
  324. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/timeoff-balances.d.ts +0 -0
  325. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/timeoff-requests.d.ts +0 -0
  326. package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/users.d.ts +0 -0
  327. package/dist/dts/{data-schema → workspace-elements/base/data-collections}/utils.test.d.ts +0 -0
  328. package/dist/dts/{data-sources → workspace-elements/base/data-sources}/constants.d.ts +0 -0
  329. package/dist/dts/{field-mappings → workspace-elements/base/field-mappings}/merge/is-object.test.d.ts +0 -0
  330. package/dist/dts/{field-mappings → workspace-elements/base/field-mappings}/merge/merge-with-formulas.d.ts +0 -0
  331. package/dist/dts/{field-mappings → workspace-elements/base/field-mappings}/merge/merge-with-formulas.test.d.ts +0 -0
  332. package/dist/dts/{flows → workspace-elements/base/flow-instances}/schemas.d.ts +39 -39
  333. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/api-request-to-external-app.d.ts +0 -0
  334. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/api-request-to-your-app.d.ts +0 -0
  335. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/api-trigger.d.ts +0 -0
  336. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/app-event-trigger.d.ts +0 -0
  337. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/base.d.ts +0 -0
  338. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/connector-event-trigger.d.ts +0 -0
  339. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/create-data-link.d.ts +0 -0
  340. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/create-data-record.d.ts +0 -0
  341. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/custom-http-request.d.ts +0 -0
  342. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/data-record-created-trigger.d.ts +0 -0
  343. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/data-record-deleted-trigger.d.ts +0 -0
  344. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/data-record-updated-trigger.d.ts +0 -0
  345. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/delete-data-link.d.ts +0 -0
  346. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/delete-data-record.d.ts +0 -0
  347. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/filter.d.ts +0 -0
  348. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/find-data-link.d.ts +0 -0
  349. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/find-data-record-by-id.d.ts +0 -0
  350. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/find-data-records.d.ts +0 -0
  351. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/find-or-create-data-record.d.ts +0 -0
  352. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/for-each-v2.d.ts +0 -0
  353. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/for-each.d.ts +0 -0
  354. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/index.d.ts +0 -0
  355. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/integration-specific-operation.d.ts +0 -0
  356. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/list-data-records.d.ts +0 -0
  357. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/lookup-data-record.d.ts +0 -0
  358. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/run-action.d.ts +0 -0
  359. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/run-javascript.d.ts +0 -0
  360. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/schedule-trigger.d.ts +0 -0
  361. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/search-data-records.d.ts +0 -0
  362. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/transform-data.d.ts +0 -0
  363. /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/update-data-record.d.ts +0 -0
  364. /package/dist/dts/{flows/utils.test.d.ts → workspace-elements/utils/flow-utils.test.d.ts} +0 -0
@@ -0,0 +1,1036 @@
1
+ import { z } from 'zod';
2
+ export declare const BaseDataSourceInstance: z.ZodObject<{
3
+ id: z.ZodString;
4
+ name: z.ZodString;
5
+ key: z.ZodString;
6
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
7
+ } & {
8
+ userId: z.ZodString;
9
+ revision: z.ZodString;
10
+ dataSourceRevision: z.ZodOptional<z.ZodString>;
11
+ dataSourceId: z.ZodOptional<z.ZodString>;
12
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
13
+ udm: z.ZodOptional<z.ZodString>;
14
+ connectionId: z.ZodString;
15
+ integrationId: z.ZodString;
16
+ instanceKey: z.ZodOptional<z.ZodString>;
17
+ collectionKey: z.ZodOptional<z.ZodString>;
18
+ collectionParameters: z.ZodOptional<z.ZodAny>;
19
+ defaultCollectionKey: z.ZodOptional<z.ZodString>;
20
+ defaultCollectionParameters: z.ZodOptional<z.ZodAny>;
21
+ collectionSpec: z.ZodOptional<z.ZodObject<{
22
+ type: z.ZodLiteral<"collection">;
23
+ key: z.ZodOptional<z.ZodString>;
24
+ name: z.ZodString;
25
+ parametersSchema: z.ZodOptional<z.ZodType<import("../../..").DataSchema, z.ZodTypeDef, import("../../..").DataSchema>>;
26
+ fieldsSchema: z.ZodOptional<z.ZodType<import("../../..").DataSchema, z.ZodTypeDef, import("../../..").DataSchema>>;
27
+ list: z.ZodOptional<z.ZodObject<{
28
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
29
+ path: z.ZodUnknown;
30
+ method: z.ZodUnknown;
31
+ }, "strip", z.ZodTypeAny, {
32
+ method?: unknown;
33
+ path?: unknown;
34
+ }, {
35
+ method?: unknown;
36
+ path?: unknown;
37
+ }>, "many">>;
38
+ } & {
39
+ filterFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ apiRequests?: {
42
+ method?: unknown;
43
+ path?: unknown;
44
+ }[] | undefined;
45
+ filterFields?: string[] | undefined;
46
+ }, {
47
+ apiRequests?: {
48
+ method?: unknown;
49
+ path?: unknown;
50
+ }[] | undefined;
51
+ filterFields?: string[] | undefined;
52
+ }>>;
53
+ search: z.ZodOptional<z.ZodObject<{
54
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
55
+ path: z.ZodUnknown;
56
+ method: z.ZodUnknown;
57
+ }, "strip", z.ZodTypeAny, {
58
+ method?: unknown;
59
+ path?: unknown;
60
+ }, {
61
+ method?: unknown;
62
+ path?: unknown;
63
+ }>, "many">>;
64
+ }, "strip", z.ZodTypeAny, {
65
+ apiRequests?: {
66
+ method?: unknown;
67
+ path?: unknown;
68
+ }[] | undefined;
69
+ }, {
70
+ apiRequests?: {
71
+ method?: unknown;
72
+ path?: unknown;
73
+ }[] | undefined;
74
+ }>>;
75
+ match: z.ZodOptional<z.ZodObject<{
76
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
77
+ path: z.ZodUnknown;
78
+ method: z.ZodUnknown;
79
+ }, "strip", z.ZodTypeAny, {
80
+ method?: unknown;
81
+ path?: unknown;
82
+ }, {
83
+ method?: unknown;
84
+ path?: unknown;
85
+ }>, "many">>;
86
+ } & {
87
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
88
+ }, "strip", z.ZodTypeAny, {
89
+ fields?: string[] | undefined;
90
+ apiRequests?: {
91
+ method?: unknown;
92
+ path?: unknown;
93
+ }[] | undefined;
94
+ }, {
95
+ fields?: string[] | undefined;
96
+ apiRequests?: {
97
+ method?: unknown;
98
+ path?: unknown;
99
+ }[] | undefined;
100
+ }>>;
101
+ findById: z.ZodOptional<z.ZodObject<{
102
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
103
+ path: z.ZodUnknown;
104
+ method: z.ZodUnknown;
105
+ }, "strip", z.ZodTypeAny, {
106
+ method?: unknown;
107
+ path?: unknown;
108
+ }, {
109
+ method?: unknown;
110
+ path?: unknown;
111
+ }>, "many">>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ apiRequests?: {
114
+ method?: unknown;
115
+ path?: unknown;
116
+ }[] | undefined;
117
+ }, {
118
+ apiRequests?: {
119
+ method?: unknown;
120
+ path?: unknown;
121
+ }[] | undefined;
122
+ }>>;
123
+ create: z.ZodOptional<z.ZodObject<{
124
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
125
+ path: z.ZodUnknown;
126
+ method: z.ZodUnknown;
127
+ }, "strip", z.ZodTypeAny, {
128
+ method?: unknown;
129
+ path?: unknown;
130
+ }, {
131
+ method?: unknown;
132
+ path?: unknown;
133
+ }>, "many">>;
134
+ } & {
135
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
136
+ requiredFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
137
+ excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ fields?: string[] | undefined;
140
+ apiRequests?: {
141
+ method?: unknown;
142
+ path?: unknown;
143
+ }[] | undefined;
144
+ requiredFields?: string[] | undefined;
145
+ excludedFields?: string[] | undefined;
146
+ }, {
147
+ fields?: string[] | undefined;
148
+ apiRequests?: {
149
+ method?: unknown;
150
+ path?: unknown;
151
+ }[] | undefined;
152
+ requiredFields?: string[] | undefined;
153
+ excludedFields?: string[] | undefined;
154
+ }>>;
155
+ update: z.ZodOptional<z.ZodObject<{
156
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
+ path: z.ZodUnknown;
158
+ method: z.ZodUnknown;
159
+ }, "strip", z.ZodTypeAny, {
160
+ method?: unknown;
161
+ path?: unknown;
162
+ }, {
163
+ method?: unknown;
164
+ path?: unknown;
165
+ }>, "many">>;
166
+ } & {
167
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
168
+ excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
169
+ }, "strip", z.ZodTypeAny, {
170
+ fields?: string[] | undefined;
171
+ apiRequests?: {
172
+ method?: unknown;
173
+ path?: unknown;
174
+ }[] | undefined;
175
+ excludedFields?: string[] | undefined;
176
+ }, {
177
+ fields?: string[] | undefined;
178
+ apiRequests?: {
179
+ method?: unknown;
180
+ path?: unknown;
181
+ }[] | undefined;
182
+ excludedFields?: string[] | undefined;
183
+ }>>;
184
+ delete: z.ZodOptional<z.ZodObject<{
185
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
186
+ path: z.ZodUnknown;
187
+ method: z.ZodUnknown;
188
+ }, "strip", z.ZodTypeAny, {
189
+ method?: unknown;
190
+ path?: unknown;
191
+ }, {
192
+ method?: unknown;
193
+ path?: unknown;
194
+ }>, "many">>;
195
+ }, "strip", z.ZodTypeAny, {
196
+ apiRequests?: {
197
+ method?: unknown;
198
+ path?: unknown;
199
+ }[] | undefined;
200
+ }, {
201
+ apiRequests?: {
202
+ method?: unknown;
203
+ path?: unknown;
204
+ }[] | undefined;
205
+ }>>;
206
+ events: z.ZodOptional<z.ZodObject<{
207
+ created: z.ZodOptional<z.ZodObject<{
208
+ type: z.ZodEnum<["push", "pull"]>;
209
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
210
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ type: "push" | "pull";
213
+ isFullScan?: boolean | undefined;
214
+ isIdOnly?: boolean | undefined;
215
+ }, {
216
+ type: "push" | "pull";
217
+ isFullScan?: boolean | undefined;
218
+ isIdOnly?: boolean | undefined;
219
+ }>>;
220
+ updated: z.ZodOptional<z.ZodObject<{
221
+ type: z.ZodEnum<["push", "pull"]>;
222
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
223
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ type: "push" | "pull";
226
+ isFullScan?: boolean | undefined;
227
+ isIdOnly?: boolean | undefined;
228
+ }, {
229
+ type: "push" | "pull";
230
+ isFullScan?: boolean | undefined;
231
+ isIdOnly?: boolean | undefined;
232
+ }>>;
233
+ deleted: z.ZodOptional<z.ZodObject<{
234
+ type: z.ZodEnum<["push", "pull"]>;
235
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
236
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
237
+ }, "strip", z.ZodTypeAny, {
238
+ type: "push" | "pull";
239
+ isFullScan?: boolean | undefined;
240
+ isIdOnly?: boolean | undefined;
241
+ }, {
242
+ type: "push" | "pull";
243
+ isFullScan?: boolean | undefined;
244
+ isIdOnly?: boolean | undefined;
245
+ }>>;
246
+ all: z.ZodOptional<z.ZodObject<{
247
+ type: z.ZodEnum<["push", "pull"]>;
248
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
249
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ type: "push" | "pull";
252
+ isFullScan?: boolean | undefined;
253
+ isIdOnly?: boolean | undefined;
254
+ }, {
255
+ type: "push" | "pull";
256
+ isFullScan?: boolean | undefined;
257
+ isIdOnly?: boolean | undefined;
258
+ }>>;
259
+ }, "strip", z.ZodObject<{
260
+ type: z.ZodEnum<["push", "pull"]>;
261
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
262
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
263
+ }, "strip", z.ZodTypeAny, {
264
+ type: "push" | "pull";
265
+ isFullScan?: boolean | undefined;
266
+ isIdOnly?: boolean | undefined;
267
+ }, {
268
+ type: "push" | "pull";
269
+ isFullScan?: boolean | undefined;
270
+ isIdOnly?: boolean | undefined;
271
+ }>, z.objectOutputType<{
272
+ created: z.ZodOptional<z.ZodObject<{
273
+ type: z.ZodEnum<["push", "pull"]>;
274
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
275
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ type: "push" | "pull";
278
+ isFullScan?: boolean | undefined;
279
+ isIdOnly?: boolean | undefined;
280
+ }, {
281
+ type: "push" | "pull";
282
+ isFullScan?: boolean | undefined;
283
+ isIdOnly?: boolean | undefined;
284
+ }>>;
285
+ updated: z.ZodOptional<z.ZodObject<{
286
+ type: z.ZodEnum<["push", "pull"]>;
287
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
288
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
289
+ }, "strip", z.ZodTypeAny, {
290
+ type: "push" | "pull";
291
+ isFullScan?: boolean | undefined;
292
+ isIdOnly?: boolean | undefined;
293
+ }, {
294
+ type: "push" | "pull";
295
+ isFullScan?: boolean | undefined;
296
+ isIdOnly?: boolean | undefined;
297
+ }>>;
298
+ deleted: z.ZodOptional<z.ZodObject<{
299
+ type: z.ZodEnum<["push", "pull"]>;
300
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
301
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
302
+ }, "strip", z.ZodTypeAny, {
303
+ type: "push" | "pull";
304
+ isFullScan?: boolean | undefined;
305
+ isIdOnly?: boolean | undefined;
306
+ }, {
307
+ type: "push" | "pull";
308
+ isFullScan?: boolean | undefined;
309
+ isIdOnly?: boolean | undefined;
310
+ }>>;
311
+ all: z.ZodOptional<z.ZodObject<{
312
+ type: z.ZodEnum<["push", "pull"]>;
313
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
314
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ type: "push" | "pull";
317
+ isFullScan?: boolean | undefined;
318
+ isIdOnly?: boolean | undefined;
319
+ }, {
320
+ type: "push" | "pull";
321
+ isFullScan?: boolean | undefined;
322
+ isIdOnly?: boolean | undefined;
323
+ }>>;
324
+ }, z.ZodObject<{
325
+ type: z.ZodEnum<["push", "pull"]>;
326
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
327
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
328
+ }, "strip", z.ZodTypeAny, {
329
+ type: "push" | "pull";
330
+ isFullScan?: boolean | undefined;
331
+ isIdOnly?: boolean | undefined;
332
+ }, {
333
+ type: "push" | "pull";
334
+ isFullScan?: boolean | undefined;
335
+ isIdOnly?: boolean | undefined;
336
+ }>, "strip">, z.objectInputType<{
337
+ created: z.ZodOptional<z.ZodObject<{
338
+ type: z.ZodEnum<["push", "pull"]>;
339
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
340
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
341
+ }, "strip", z.ZodTypeAny, {
342
+ type: "push" | "pull";
343
+ isFullScan?: boolean | undefined;
344
+ isIdOnly?: boolean | undefined;
345
+ }, {
346
+ type: "push" | "pull";
347
+ isFullScan?: boolean | undefined;
348
+ isIdOnly?: boolean | undefined;
349
+ }>>;
350
+ updated: z.ZodOptional<z.ZodObject<{
351
+ type: z.ZodEnum<["push", "pull"]>;
352
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
353
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
354
+ }, "strip", z.ZodTypeAny, {
355
+ type: "push" | "pull";
356
+ isFullScan?: boolean | undefined;
357
+ isIdOnly?: boolean | undefined;
358
+ }, {
359
+ type: "push" | "pull";
360
+ isFullScan?: boolean | undefined;
361
+ isIdOnly?: boolean | undefined;
362
+ }>>;
363
+ deleted: z.ZodOptional<z.ZodObject<{
364
+ type: z.ZodEnum<["push", "pull"]>;
365
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
366
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
367
+ }, "strip", z.ZodTypeAny, {
368
+ type: "push" | "pull";
369
+ isFullScan?: boolean | undefined;
370
+ isIdOnly?: boolean | undefined;
371
+ }, {
372
+ type: "push" | "pull";
373
+ isFullScan?: boolean | undefined;
374
+ isIdOnly?: boolean | undefined;
375
+ }>>;
376
+ all: z.ZodOptional<z.ZodObject<{
377
+ type: z.ZodEnum<["push", "pull"]>;
378
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
379
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
380
+ }, "strip", z.ZodTypeAny, {
381
+ type: "push" | "pull";
382
+ isFullScan?: boolean | undefined;
383
+ isIdOnly?: boolean | undefined;
384
+ }, {
385
+ type: "push" | "pull";
386
+ isFullScan?: boolean | undefined;
387
+ isIdOnly?: boolean | undefined;
388
+ }>>;
389
+ }, z.ZodObject<{
390
+ type: z.ZodEnum<["push", "pull"]>;
391
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
392
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ type: "push" | "pull";
395
+ isFullScan?: boolean | undefined;
396
+ isIdOnly?: boolean | undefined;
397
+ }, {
398
+ type: "push" | "pull";
399
+ isFullScan?: boolean | undefined;
400
+ isIdOnly?: boolean | undefined;
401
+ }>, "strip">>>;
402
+ customFields: z.ZodOptional<z.ZodBoolean>;
403
+ udm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
404
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
405
+ extract: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
406
+ parse: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ fields?: string[] | undefined;
409
+ extract?: Record<string, any> | undefined;
410
+ parse?: Record<string, any> | undefined;
411
+ }, {
412
+ fields?: string[] | undefined;
413
+ extract?: Record<string, any> | undefined;
414
+ parse?: Record<string, any> | undefined;
415
+ }>>>;
416
+ find: z.ZodOptional<z.ZodObject<{
417
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
418
+ path: z.ZodUnknown;
419
+ method: z.ZodUnknown;
420
+ }, "strip", z.ZodTypeAny, {
421
+ method?: unknown;
422
+ path?: unknown;
423
+ }, {
424
+ method?: unknown;
425
+ path?: unknown;
426
+ }>, "many">>;
427
+ } & {
428
+ queryFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
429
+ }, "strip", z.ZodTypeAny, {
430
+ apiRequests?: {
431
+ method?: unknown;
432
+ path?: unknown;
433
+ }[] | undefined;
434
+ queryFields?: string[] | undefined;
435
+ }, {
436
+ apiRequests?: {
437
+ method?: unknown;
438
+ path?: unknown;
439
+ }[] | undefined;
440
+ queryFields?: string[] | undefined;
441
+ }>>;
442
+ }, "strip", z.ZodTypeAny, {
443
+ type: "collection";
444
+ name: string;
445
+ key?: string | undefined;
446
+ match?: {
447
+ fields?: string[] | undefined;
448
+ apiRequests?: {
449
+ method?: unknown;
450
+ path?: unknown;
451
+ }[] | undefined;
452
+ } | undefined;
453
+ search?: {
454
+ apiRequests?: {
455
+ method?: unknown;
456
+ path?: unknown;
457
+ }[] | undefined;
458
+ } | undefined;
459
+ find?: {
460
+ apiRequests?: {
461
+ method?: unknown;
462
+ path?: unknown;
463
+ }[] | undefined;
464
+ queryFields?: string[] | undefined;
465
+ } | undefined;
466
+ delete?: {
467
+ apiRequests?: {
468
+ method?: unknown;
469
+ path?: unknown;
470
+ }[] | undefined;
471
+ } | undefined;
472
+ list?: {
473
+ apiRequests?: {
474
+ method?: unknown;
475
+ path?: unknown;
476
+ }[] | undefined;
477
+ filterFields?: string[] | undefined;
478
+ } | undefined;
479
+ udm?: Record<string, {
480
+ fields?: string[] | undefined;
481
+ extract?: Record<string, any> | undefined;
482
+ parse?: Record<string, any> | undefined;
483
+ }> | undefined;
484
+ events?: z.objectOutputType<{
485
+ created: z.ZodOptional<z.ZodObject<{
486
+ type: z.ZodEnum<["push", "pull"]>;
487
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
488
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
489
+ }, "strip", z.ZodTypeAny, {
490
+ type: "push" | "pull";
491
+ isFullScan?: boolean | undefined;
492
+ isIdOnly?: boolean | undefined;
493
+ }, {
494
+ type: "push" | "pull";
495
+ isFullScan?: boolean | undefined;
496
+ isIdOnly?: boolean | undefined;
497
+ }>>;
498
+ updated: z.ZodOptional<z.ZodObject<{
499
+ type: z.ZodEnum<["push", "pull"]>;
500
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
501
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ type: "push" | "pull";
504
+ isFullScan?: boolean | undefined;
505
+ isIdOnly?: boolean | undefined;
506
+ }, {
507
+ type: "push" | "pull";
508
+ isFullScan?: boolean | undefined;
509
+ isIdOnly?: boolean | undefined;
510
+ }>>;
511
+ deleted: z.ZodOptional<z.ZodObject<{
512
+ type: z.ZodEnum<["push", "pull"]>;
513
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
514
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
515
+ }, "strip", z.ZodTypeAny, {
516
+ type: "push" | "pull";
517
+ isFullScan?: boolean | undefined;
518
+ isIdOnly?: boolean | undefined;
519
+ }, {
520
+ type: "push" | "pull";
521
+ isFullScan?: boolean | undefined;
522
+ isIdOnly?: boolean | undefined;
523
+ }>>;
524
+ all: z.ZodOptional<z.ZodObject<{
525
+ type: z.ZodEnum<["push", "pull"]>;
526
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
527
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
528
+ }, "strip", z.ZodTypeAny, {
529
+ type: "push" | "pull";
530
+ isFullScan?: boolean | undefined;
531
+ isIdOnly?: boolean | undefined;
532
+ }, {
533
+ type: "push" | "pull";
534
+ isFullScan?: boolean | undefined;
535
+ isIdOnly?: boolean | undefined;
536
+ }>>;
537
+ }, z.ZodObject<{
538
+ type: z.ZodEnum<["push", "pull"]>;
539
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
540
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
541
+ }, "strip", z.ZodTypeAny, {
542
+ type: "push" | "pull";
543
+ isFullScan?: boolean | undefined;
544
+ isIdOnly?: boolean | undefined;
545
+ }, {
546
+ type: "push" | "pull";
547
+ isFullScan?: boolean | undefined;
548
+ isIdOnly?: boolean | undefined;
549
+ }>, "strip"> | undefined;
550
+ parametersSchema?: import("../../..").DataSchema | undefined;
551
+ fieldsSchema?: import("../../..").DataSchema | undefined;
552
+ findById?: {
553
+ apiRequests?: {
554
+ method?: unknown;
555
+ path?: unknown;
556
+ }[] | undefined;
557
+ } | undefined;
558
+ create?: {
559
+ fields?: string[] | undefined;
560
+ apiRequests?: {
561
+ method?: unknown;
562
+ path?: unknown;
563
+ }[] | undefined;
564
+ requiredFields?: string[] | undefined;
565
+ excludedFields?: string[] | undefined;
566
+ } | undefined;
567
+ update?: {
568
+ fields?: string[] | undefined;
569
+ apiRequests?: {
570
+ method?: unknown;
571
+ path?: unknown;
572
+ }[] | undefined;
573
+ excludedFields?: string[] | undefined;
574
+ } | undefined;
575
+ customFields?: boolean | undefined;
576
+ }, {
577
+ type: "collection";
578
+ name: string;
579
+ key?: string | undefined;
580
+ match?: {
581
+ fields?: string[] | undefined;
582
+ apiRequests?: {
583
+ method?: unknown;
584
+ path?: unknown;
585
+ }[] | undefined;
586
+ } | undefined;
587
+ search?: {
588
+ apiRequests?: {
589
+ method?: unknown;
590
+ path?: unknown;
591
+ }[] | undefined;
592
+ } | undefined;
593
+ find?: {
594
+ apiRequests?: {
595
+ method?: unknown;
596
+ path?: unknown;
597
+ }[] | undefined;
598
+ queryFields?: string[] | undefined;
599
+ } | undefined;
600
+ delete?: {
601
+ apiRequests?: {
602
+ method?: unknown;
603
+ path?: unknown;
604
+ }[] | undefined;
605
+ } | undefined;
606
+ list?: {
607
+ apiRequests?: {
608
+ method?: unknown;
609
+ path?: unknown;
610
+ }[] | undefined;
611
+ filterFields?: string[] | undefined;
612
+ } | undefined;
613
+ udm?: Record<string, {
614
+ fields?: string[] | undefined;
615
+ extract?: Record<string, any> | undefined;
616
+ parse?: Record<string, any> | undefined;
617
+ }> | undefined;
618
+ events?: z.objectInputType<{
619
+ created: z.ZodOptional<z.ZodObject<{
620
+ type: z.ZodEnum<["push", "pull"]>;
621
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
622
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
623
+ }, "strip", z.ZodTypeAny, {
624
+ type: "push" | "pull";
625
+ isFullScan?: boolean | undefined;
626
+ isIdOnly?: boolean | undefined;
627
+ }, {
628
+ type: "push" | "pull";
629
+ isFullScan?: boolean | undefined;
630
+ isIdOnly?: boolean | undefined;
631
+ }>>;
632
+ updated: z.ZodOptional<z.ZodObject<{
633
+ type: z.ZodEnum<["push", "pull"]>;
634
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
635
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
636
+ }, "strip", z.ZodTypeAny, {
637
+ type: "push" | "pull";
638
+ isFullScan?: boolean | undefined;
639
+ isIdOnly?: boolean | undefined;
640
+ }, {
641
+ type: "push" | "pull";
642
+ isFullScan?: boolean | undefined;
643
+ isIdOnly?: boolean | undefined;
644
+ }>>;
645
+ deleted: z.ZodOptional<z.ZodObject<{
646
+ type: z.ZodEnum<["push", "pull"]>;
647
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
648
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
649
+ }, "strip", z.ZodTypeAny, {
650
+ type: "push" | "pull";
651
+ isFullScan?: boolean | undefined;
652
+ isIdOnly?: boolean | undefined;
653
+ }, {
654
+ type: "push" | "pull";
655
+ isFullScan?: boolean | undefined;
656
+ isIdOnly?: boolean | undefined;
657
+ }>>;
658
+ all: z.ZodOptional<z.ZodObject<{
659
+ type: z.ZodEnum<["push", "pull"]>;
660
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
661
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
662
+ }, "strip", z.ZodTypeAny, {
663
+ type: "push" | "pull";
664
+ isFullScan?: boolean | undefined;
665
+ isIdOnly?: boolean | undefined;
666
+ }, {
667
+ type: "push" | "pull";
668
+ isFullScan?: boolean | undefined;
669
+ isIdOnly?: boolean | undefined;
670
+ }>>;
671
+ }, z.ZodObject<{
672
+ type: z.ZodEnum<["push", "pull"]>;
673
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
674
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
675
+ }, "strip", z.ZodTypeAny, {
676
+ type: "push" | "pull";
677
+ isFullScan?: boolean | undefined;
678
+ isIdOnly?: boolean | undefined;
679
+ }, {
680
+ type: "push" | "pull";
681
+ isFullScan?: boolean | undefined;
682
+ isIdOnly?: boolean | undefined;
683
+ }>, "strip"> | undefined;
684
+ parametersSchema?: import("../../..").DataSchema | undefined;
685
+ fieldsSchema?: import("../../..").DataSchema | undefined;
686
+ findById?: {
687
+ apiRequests?: {
688
+ method?: unknown;
689
+ path?: unknown;
690
+ }[] | undefined;
691
+ } | undefined;
692
+ create?: {
693
+ fields?: string[] | undefined;
694
+ apiRequests?: {
695
+ method?: unknown;
696
+ path?: unknown;
697
+ }[] | undefined;
698
+ requiredFields?: string[] | undefined;
699
+ excludedFields?: string[] | undefined;
700
+ } | undefined;
701
+ update?: {
702
+ fields?: string[] | undefined;
703
+ apiRequests?: {
704
+ method?: unknown;
705
+ path?: unknown;
706
+ }[] | undefined;
707
+ excludedFields?: string[] | undefined;
708
+ } | undefined;
709
+ customFields?: boolean | undefined;
710
+ }>>;
711
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
712
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
713
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
714
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
715
+ path: z.ZodOptional<z.ZodString>;
716
+ defaultPath: z.ZodOptional<z.ZodString>;
717
+ }, "strip", z.ZodTypeAny, {
718
+ key: string;
719
+ id: string;
720
+ name: string;
721
+ userId: string;
722
+ connectionId: string;
723
+ integrationId: string;
724
+ revision: string;
725
+ path?: string | undefined;
726
+ state?: import("../../types").WorkspaceElementState | undefined;
727
+ errors?: any[] | undefined;
728
+ instanceKey?: string | undefined;
729
+ udm?: string | undefined;
730
+ collectionSpec?: {
731
+ type: "collection";
732
+ name: string;
733
+ key?: string | undefined;
734
+ match?: {
735
+ fields?: string[] | undefined;
736
+ apiRequests?: {
737
+ method?: unknown;
738
+ path?: unknown;
739
+ }[] | undefined;
740
+ } | undefined;
741
+ search?: {
742
+ apiRequests?: {
743
+ method?: unknown;
744
+ path?: unknown;
745
+ }[] | undefined;
746
+ } | undefined;
747
+ find?: {
748
+ apiRequests?: {
749
+ method?: unknown;
750
+ path?: unknown;
751
+ }[] | undefined;
752
+ queryFields?: string[] | undefined;
753
+ } | undefined;
754
+ delete?: {
755
+ apiRequests?: {
756
+ method?: unknown;
757
+ path?: unknown;
758
+ }[] | undefined;
759
+ } | undefined;
760
+ list?: {
761
+ apiRequests?: {
762
+ method?: unknown;
763
+ path?: unknown;
764
+ }[] | undefined;
765
+ filterFields?: string[] | undefined;
766
+ } | undefined;
767
+ udm?: Record<string, {
768
+ fields?: string[] | undefined;
769
+ extract?: Record<string, any> | undefined;
770
+ parse?: Record<string, any> | undefined;
771
+ }> | undefined;
772
+ events?: z.objectOutputType<{
773
+ created: z.ZodOptional<z.ZodObject<{
774
+ type: z.ZodEnum<["push", "pull"]>;
775
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
776
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
777
+ }, "strip", z.ZodTypeAny, {
778
+ type: "push" | "pull";
779
+ isFullScan?: boolean | undefined;
780
+ isIdOnly?: boolean | undefined;
781
+ }, {
782
+ type: "push" | "pull";
783
+ isFullScan?: boolean | undefined;
784
+ isIdOnly?: boolean | undefined;
785
+ }>>;
786
+ updated: z.ZodOptional<z.ZodObject<{
787
+ type: z.ZodEnum<["push", "pull"]>;
788
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
789
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
790
+ }, "strip", z.ZodTypeAny, {
791
+ type: "push" | "pull";
792
+ isFullScan?: boolean | undefined;
793
+ isIdOnly?: boolean | undefined;
794
+ }, {
795
+ type: "push" | "pull";
796
+ isFullScan?: boolean | undefined;
797
+ isIdOnly?: boolean | undefined;
798
+ }>>;
799
+ deleted: z.ZodOptional<z.ZodObject<{
800
+ type: z.ZodEnum<["push", "pull"]>;
801
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
802
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
803
+ }, "strip", z.ZodTypeAny, {
804
+ type: "push" | "pull";
805
+ isFullScan?: boolean | undefined;
806
+ isIdOnly?: boolean | undefined;
807
+ }, {
808
+ type: "push" | "pull";
809
+ isFullScan?: boolean | undefined;
810
+ isIdOnly?: boolean | undefined;
811
+ }>>;
812
+ all: z.ZodOptional<z.ZodObject<{
813
+ type: z.ZodEnum<["push", "pull"]>;
814
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
815
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
816
+ }, "strip", z.ZodTypeAny, {
817
+ type: "push" | "pull";
818
+ isFullScan?: boolean | undefined;
819
+ isIdOnly?: boolean | undefined;
820
+ }, {
821
+ type: "push" | "pull";
822
+ isFullScan?: boolean | undefined;
823
+ isIdOnly?: boolean | undefined;
824
+ }>>;
825
+ }, z.ZodObject<{
826
+ type: z.ZodEnum<["push", "pull"]>;
827
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
828
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
829
+ }, "strip", z.ZodTypeAny, {
830
+ type: "push" | "pull";
831
+ isFullScan?: boolean | undefined;
832
+ isIdOnly?: boolean | undefined;
833
+ }, {
834
+ type: "push" | "pull";
835
+ isFullScan?: boolean | undefined;
836
+ isIdOnly?: boolean | undefined;
837
+ }>, "strip"> | undefined;
838
+ parametersSchema?: import("../../..").DataSchema | undefined;
839
+ fieldsSchema?: import("../../..").DataSchema | undefined;
840
+ findById?: {
841
+ apiRequests?: {
842
+ method?: unknown;
843
+ path?: unknown;
844
+ }[] | undefined;
845
+ } | undefined;
846
+ create?: {
847
+ fields?: string[] | undefined;
848
+ apiRequests?: {
849
+ method?: unknown;
850
+ path?: unknown;
851
+ }[] | undefined;
852
+ requiredFields?: string[] | undefined;
853
+ excludedFields?: string[] | undefined;
854
+ } | undefined;
855
+ update?: {
856
+ fields?: string[] | undefined;
857
+ apiRequests?: {
858
+ method?: unknown;
859
+ path?: unknown;
860
+ }[] | undefined;
861
+ excludedFields?: string[] | undefined;
862
+ } | undefined;
863
+ customFields?: boolean | undefined;
864
+ } | undefined;
865
+ dataSourceId?: string | undefined;
866
+ isCustomized?: boolean | undefined;
867
+ dataSourceRevision?: string | undefined;
868
+ universalDataSourceId?: string | undefined;
869
+ collectionKey?: string | undefined;
870
+ collectionParameters?: any;
871
+ defaultCollectionKey?: string | undefined;
872
+ defaultCollectionParameters?: any;
873
+ pullUpdatesIntervalSeconds?: number | undefined;
874
+ fullSyncIntervalSeconds?: number | undefined;
875
+ defaultPath?: string | undefined;
876
+ }, {
877
+ key: string;
878
+ id: string;
879
+ name: string;
880
+ userId: string;
881
+ connectionId: string;
882
+ integrationId: string;
883
+ revision: string;
884
+ path?: string | undefined;
885
+ state?: import("../../types").WorkspaceElementState | undefined;
886
+ errors?: any[] | undefined;
887
+ instanceKey?: string | undefined;
888
+ udm?: string | undefined;
889
+ collectionSpec?: {
890
+ type: "collection";
891
+ name: string;
892
+ key?: string | undefined;
893
+ match?: {
894
+ fields?: string[] | undefined;
895
+ apiRequests?: {
896
+ method?: unknown;
897
+ path?: unknown;
898
+ }[] | undefined;
899
+ } | undefined;
900
+ search?: {
901
+ apiRequests?: {
902
+ method?: unknown;
903
+ path?: unknown;
904
+ }[] | undefined;
905
+ } | undefined;
906
+ find?: {
907
+ apiRequests?: {
908
+ method?: unknown;
909
+ path?: unknown;
910
+ }[] | undefined;
911
+ queryFields?: string[] | undefined;
912
+ } | undefined;
913
+ delete?: {
914
+ apiRequests?: {
915
+ method?: unknown;
916
+ path?: unknown;
917
+ }[] | undefined;
918
+ } | undefined;
919
+ list?: {
920
+ apiRequests?: {
921
+ method?: unknown;
922
+ path?: unknown;
923
+ }[] | undefined;
924
+ filterFields?: string[] | undefined;
925
+ } | undefined;
926
+ udm?: Record<string, {
927
+ fields?: string[] | undefined;
928
+ extract?: Record<string, any> | undefined;
929
+ parse?: Record<string, any> | undefined;
930
+ }> | undefined;
931
+ events?: z.objectInputType<{
932
+ created: z.ZodOptional<z.ZodObject<{
933
+ type: z.ZodEnum<["push", "pull"]>;
934
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
935
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
936
+ }, "strip", z.ZodTypeAny, {
937
+ type: "push" | "pull";
938
+ isFullScan?: boolean | undefined;
939
+ isIdOnly?: boolean | undefined;
940
+ }, {
941
+ type: "push" | "pull";
942
+ isFullScan?: boolean | undefined;
943
+ isIdOnly?: boolean | undefined;
944
+ }>>;
945
+ updated: z.ZodOptional<z.ZodObject<{
946
+ type: z.ZodEnum<["push", "pull"]>;
947
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
948
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
949
+ }, "strip", z.ZodTypeAny, {
950
+ type: "push" | "pull";
951
+ isFullScan?: boolean | undefined;
952
+ isIdOnly?: boolean | undefined;
953
+ }, {
954
+ type: "push" | "pull";
955
+ isFullScan?: boolean | undefined;
956
+ isIdOnly?: boolean | undefined;
957
+ }>>;
958
+ deleted: z.ZodOptional<z.ZodObject<{
959
+ type: z.ZodEnum<["push", "pull"]>;
960
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
961
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
962
+ }, "strip", z.ZodTypeAny, {
963
+ type: "push" | "pull";
964
+ isFullScan?: boolean | undefined;
965
+ isIdOnly?: boolean | undefined;
966
+ }, {
967
+ type: "push" | "pull";
968
+ isFullScan?: boolean | undefined;
969
+ isIdOnly?: boolean | undefined;
970
+ }>>;
971
+ all: z.ZodOptional<z.ZodObject<{
972
+ type: z.ZodEnum<["push", "pull"]>;
973
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
974
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
975
+ }, "strip", z.ZodTypeAny, {
976
+ type: "push" | "pull";
977
+ isFullScan?: boolean | undefined;
978
+ isIdOnly?: boolean | undefined;
979
+ }, {
980
+ type: "push" | "pull";
981
+ isFullScan?: boolean | undefined;
982
+ isIdOnly?: boolean | undefined;
983
+ }>>;
984
+ }, z.ZodObject<{
985
+ type: z.ZodEnum<["push", "pull"]>;
986
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
987
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
988
+ }, "strip", z.ZodTypeAny, {
989
+ type: "push" | "pull";
990
+ isFullScan?: boolean | undefined;
991
+ isIdOnly?: boolean | undefined;
992
+ }, {
993
+ type: "push" | "pull";
994
+ isFullScan?: boolean | undefined;
995
+ isIdOnly?: boolean | undefined;
996
+ }>, "strip"> | undefined;
997
+ parametersSchema?: import("../../..").DataSchema | undefined;
998
+ fieldsSchema?: import("../../..").DataSchema | undefined;
999
+ findById?: {
1000
+ apiRequests?: {
1001
+ method?: unknown;
1002
+ path?: unknown;
1003
+ }[] | undefined;
1004
+ } | undefined;
1005
+ create?: {
1006
+ fields?: string[] | undefined;
1007
+ apiRequests?: {
1008
+ method?: unknown;
1009
+ path?: unknown;
1010
+ }[] | undefined;
1011
+ requiredFields?: string[] | undefined;
1012
+ excludedFields?: string[] | undefined;
1013
+ } | undefined;
1014
+ update?: {
1015
+ fields?: string[] | undefined;
1016
+ apiRequests?: {
1017
+ method?: unknown;
1018
+ path?: unknown;
1019
+ }[] | undefined;
1020
+ excludedFields?: string[] | undefined;
1021
+ } | undefined;
1022
+ customFields?: boolean | undefined;
1023
+ } | undefined;
1024
+ dataSourceId?: string | undefined;
1025
+ isCustomized?: boolean | undefined;
1026
+ dataSourceRevision?: string | undefined;
1027
+ universalDataSourceId?: string | undefined;
1028
+ collectionKey?: string | undefined;
1029
+ collectionParameters?: any;
1030
+ defaultCollectionKey?: string | undefined;
1031
+ defaultCollectionParameters?: any;
1032
+ pullUpdatesIntervalSeconds?: number | undefined;
1033
+ fullSyncIntervalSeconds?: number | undefined;
1034
+ defaultPath?: string | undefined;
1035
+ }>;
1036
+ export type BaseDataSourceInstance = z.infer<typeof BaseDataSourceInstance>;