@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
@@ -1,253 +1,254 @@
1
1
  import { z } from 'zod';
2
- import { DataCollectionEvent, DataRecord } from '../../data-collections';
3
- export declare const ApiRequestSpecSchema: z.ZodObject<{
2
+ import { DataCollectionEvent } from './types';
3
+ import { DataSchema } from '../../../data-schema';
4
+ export declare const ApiRequestSpec: z.ZodObject<{
4
5
  path: z.ZodUnknown;
5
6
  method: z.ZodUnknown;
6
7
  }, "strip", z.ZodTypeAny, {
7
- path?: unknown;
8
8
  method?: unknown;
9
- }, {
10
9
  path?: unknown;
10
+ }, {
11
11
  method?: unknown;
12
+ path?: unknown;
12
13
  }>;
13
- export type ApiRequestSpec = z.infer<typeof ApiRequestSpecSchema>;
14
- export declare const DataCollectionMethodSpecSchema: z.ZodObject<{
14
+ export type ApiRequestSpec = z.infer<typeof ApiRequestSpec>;
15
+ export declare const DataCollectionMethodSpec: z.ZodObject<{
15
16
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
17
  path: z.ZodUnknown;
17
18
  method: z.ZodUnknown;
18
19
  }, "strip", z.ZodTypeAny, {
19
- path?: unknown;
20
20
  method?: unknown;
21
- }, {
22
21
  path?: unknown;
22
+ }, {
23
23
  method?: unknown;
24
+ path?: unknown;
24
25
  }>, "many">>;
25
26
  }, "strip", z.ZodTypeAny, {
26
27
  apiRequests?: {
27
- path?: unknown;
28
28
  method?: unknown;
29
+ path?: unknown;
29
30
  }[] | undefined;
30
31
  }, {
31
32
  apiRequests?: {
32
- path?: unknown;
33
33
  method?: unknown;
34
+ path?: unknown;
34
35
  }[] | undefined;
35
36
  }>;
36
- export type DataCollectionMethodSpec = z.infer<typeof DataCollectionMethodSpecSchema>;
37
- export declare const DataCollectionListSpecSchema: z.ZodObject<{
37
+ export type DataCollectionMethodSpec = z.infer<typeof DataCollectionMethodSpec>;
38
+ export declare const DataCollectionListSpec: z.ZodObject<{
38
39
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
39
40
  path: z.ZodUnknown;
40
41
  method: z.ZodUnknown;
41
42
  }, "strip", z.ZodTypeAny, {
42
- path?: unknown;
43
43
  method?: unknown;
44
- }, {
45
44
  path?: unknown;
45
+ }, {
46
46
  method?: unknown;
47
+ path?: unknown;
47
48
  }>, "many">>;
48
49
  } & {
49
50
  filterFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50
51
  }, "strip", z.ZodTypeAny, {
51
52
  apiRequests?: {
52
- path?: unknown;
53
53
  method?: unknown;
54
+ path?: unknown;
54
55
  }[] | undefined;
55
56
  filterFields?: string[] | undefined;
56
57
  }, {
57
58
  apiRequests?: {
58
- path?: unknown;
59
59
  method?: unknown;
60
+ path?: unknown;
60
61
  }[] | undefined;
61
62
  filterFields?: string[] | undefined;
62
63
  }>;
63
- export type DataCollectionListSpec = z.infer<typeof DataCollectionListSpecSchema>;
64
- export declare const DataCollectionSearchSpecSchema: z.ZodObject<{
64
+ export type DataCollectionListSpec = z.infer<typeof DataCollectionListSpec>;
65
+ export declare const DataCollectionSearchSpec: z.ZodObject<{
65
66
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
66
67
  path: z.ZodUnknown;
67
68
  method: z.ZodUnknown;
68
69
  }, "strip", z.ZodTypeAny, {
69
- path?: unknown;
70
70
  method?: unknown;
71
- }, {
72
71
  path?: unknown;
72
+ }, {
73
73
  method?: unknown;
74
+ path?: unknown;
74
75
  }>, "many">>;
75
76
  }, "strip", z.ZodTypeAny, {
76
77
  apiRequests?: {
77
- path?: unknown;
78
78
  method?: unknown;
79
+ path?: unknown;
79
80
  }[] | undefined;
80
81
  }, {
81
82
  apiRequests?: {
82
- path?: unknown;
83
83
  method?: unknown;
84
+ path?: unknown;
84
85
  }[] | undefined;
85
86
  }>;
86
- export type DataCollectionSearchSpec = z.infer<typeof DataCollectionSearchSpecSchema>;
87
- export declare const DataCollectionMatchSpecSchema: z.ZodObject<{
87
+ export type DataCollectionSearchSpec = z.infer<typeof DataCollectionSearchSpec>;
88
+ export declare const DataCollectionMatchSpec: z.ZodObject<{
88
89
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
89
90
  path: z.ZodUnknown;
90
91
  method: z.ZodUnknown;
91
92
  }, "strip", z.ZodTypeAny, {
92
- path?: unknown;
93
93
  method?: unknown;
94
- }, {
95
94
  path?: unknown;
95
+ }, {
96
96
  method?: unknown;
97
+ path?: unknown;
97
98
  }>, "many">>;
98
99
  } & {
99
100
  fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
100
101
  }, "strip", z.ZodTypeAny, {
102
+ fields?: string[] | undefined;
101
103
  apiRequests?: {
102
- path?: unknown;
103
104
  method?: unknown;
105
+ path?: unknown;
104
106
  }[] | undefined;
105
- fields?: string[] | undefined;
106
107
  }, {
108
+ fields?: string[] | undefined;
107
109
  apiRequests?: {
108
- path?: unknown;
109
110
  method?: unknown;
111
+ path?: unknown;
110
112
  }[] | undefined;
111
- fields?: string[] | undefined;
112
113
  }>;
113
- export type DataCollectionMatchSpec = z.infer<typeof DataCollectionMatchSpecSchema>;
114
- export declare const DataCollectionFindByIdSpecSchema: z.ZodObject<{
114
+ export type DataCollectionMatchSpec = z.infer<typeof DataCollectionMatchSpec>;
115
+ export declare const DataCollectionFindByIdSpec: z.ZodObject<{
115
116
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
116
117
  path: z.ZodUnknown;
117
118
  method: z.ZodUnknown;
118
119
  }, "strip", z.ZodTypeAny, {
119
- path?: unknown;
120
120
  method?: unknown;
121
- }, {
122
121
  path?: unknown;
122
+ }, {
123
123
  method?: unknown;
124
+ path?: unknown;
124
125
  }>, "many">>;
125
126
  }, "strip", z.ZodTypeAny, {
126
127
  apiRequests?: {
127
- path?: unknown;
128
128
  method?: unknown;
129
+ path?: unknown;
129
130
  }[] | undefined;
130
131
  }, {
131
132
  apiRequests?: {
132
- path?: unknown;
133
133
  method?: unknown;
134
+ path?: unknown;
134
135
  }[] | undefined;
135
136
  }>;
136
- export type DataCollectionFindByIdSpec = z.infer<typeof DataCollectionFindByIdSpecSchema>;
137
- export declare const DataCollectionCreateSpecSchema: z.ZodObject<{
137
+ export type DataCollectionFindByIdSpec = z.infer<typeof DataCollectionFindByIdSpec>;
138
+ export declare const DataCollectionCreateSpec: z.ZodObject<{
138
139
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
139
140
  path: z.ZodUnknown;
140
141
  method: z.ZodUnknown;
141
142
  }, "strip", z.ZodTypeAny, {
142
- path?: unknown;
143
143
  method?: unknown;
144
- }, {
145
144
  path?: unknown;
145
+ }, {
146
146
  method?: unknown;
147
+ path?: unknown;
147
148
  }>, "many">>;
148
149
  } & {
149
150
  fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
150
151
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
151
152
  excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
152
153
  }, "strip", z.ZodTypeAny, {
154
+ fields?: string[] | undefined;
153
155
  apiRequests?: {
154
- path?: unknown;
155
156
  method?: unknown;
157
+ path?: unknown;
156
158
  }[] | undefined;
157
- fields?: string[] | undefined;
158
159
  requiredFields?: string[] | undefined;
159
160
  excludedFields?: string[] | undefined;
160
161
  }, {
162
+ fields?: string[] | undefined;
161
163
  apiRequests?: {
162
- path?: unknown;
163
164
  method?: unknown;
165
+ path?: unknown;
164
166
  }[] | undefined;
165
- fields?: string[] | undefined;
166
167
  requiredFields?: string[] | undefined;
167
168
  excludedFields?: string[] | undefined;
168
169
  }>;
169
- export type DataCollectionCreateSpec = z.infer<typeof DataCollectionCreateSpecSchema>;
170
- export declare const DataCollectionUpdateSpecSchema: z.ZodObject<{
170
+ export type DataCollectionCreateSpec = z.infer<typeof DataCollectionCreateSpec>;
171
+ export declare const DataCollectionUpdateSpec: z.ZodObject<{
171
172
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
172
173
  path: z.ZodUnknown;
173
174
  method: z.ZodUnknown;
174
175
  }, "strip", z.ZodTypeAny, {
175
- path?: unknown;
176
176
  method?: unknown;
177
- }, {
178
177
  path?: unknown;
178
+ }, {
179
179
  method?: unknown;
180
+ path?: unknown;
180
181
  }>, "many">>;
181
182
  } & {
182
183
  fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
183
184
  excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
184
185
  }, "strip", z.ZodTypeAny, {
186
+ fields?: string[] | undefined;
185
187
  apiRequests?: {
186
- path?: unknown;
187
188
  method?: unknown;
189
+ path?: unknown;
188
190
  }[] | undefined;
189
- fields?: string[] | undefined;
190
191
  excludedFields?: string[] | undefined;
191
192
  }, {
193
+ fields?: string[] | undefined;
192
194
  apiRequests?: {
193
- path?: unknown;
194
195
  method?: unknown;
196
+ path?: unknown;
195
197
  }[] | undefined;
196
- fields?: string[] | undefined;
197
198
  excludedFields?: string[] | undefined;
198
199
  }>;
199
- export type DataCollectionUpdateSpec = z.infer<typeof DataCollectionUpdateSpecSchema>;
200
- export declare const DataCollectionDeleteSpecSchema: z.ZodObject<{
200
+ export type DataCollectionUpdateSpec = z.infer<typeof DataCollectionUpdateSpec>;
201
+ export declare const DataCollectionDeleteSpec: z.ZodObject<{
201
202
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
202
203
  path: z.ZodUnknown;
203
204
  method: z.ZodUnknown;
204
205
  }, "strip", z.ZodTypeAny, {
205
- path?: unknown;
206
206
  method?: unknown;
207
- }, {
208
207
  path?: unknown;
208
+ }, {
209
209
  method?: unknown;
210
+ path?: unknown;
210
211
  }>, "many">>;
211
212
  }, "strip", z.ZodTypeAny, {
212
213
  apiRequests?: {
213
- path?: unknown;
214
214
  method?: unknown;
215
+ path?: unknown;
215
216
  }[] | undefined;
216
217
  }, {
217
218
  apiRequests?: {
218
- path?: unknown;
219
219
  method?: unknown;
220
+ path?: unknown;
220
221
  }[] | undefined;
221
222
  }>;
222
- export type DataCollectionDeleteSpec = z.infer<typeof DataCollectionDeleteSpecSchema>;
223
- export declare const DataCollectionFindSpecSchema: z.ZodObject<{
223
+ export type DataCollectionDeleteSpec = z.infer<typeof DataCollectionDeleteSpec>;
224
+ export declare const DataCollectionFindSpec: z.ZodObject<{
224
225
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
225
226
  path: z.ZodUnknown;
226
227
  method: z.ZodUnknown;
227
228
  }, "strip", z.ZodTypeAny, {
228
- path?: unknown;
229
229
  method?: unknown;
230
- }, {
231
230
  path?: unknown;
231
+ }, {
232
232
  method?: unknown;
233
+ path?: unknown;
233
234
  }>, "many">>;
234
235
  } & {
235
236
  queryFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
236
237
  }, "strip", z.ZodTypeAny, {
237
238
  apiRequests?: {
238
- path?: unknown;
239
239
  method?: unknown;
240
+ path?: unknown;
240
241
  }[] | undefined;
241
242
  queryFields?: string[] | undefined;
242
243
  }, {
243
244
  apiRequests?: {
244
- path?: unknown;
245
245
  method?: unknown;
246
+ path?: unknown;
246
247
  }[] | undefined;
247
248
  queryFields?: string[] | undefined;
248
249
  }>;
249
- export type DataCollectionFindSpec = z.infer<typeof DataCollectionFindSpecSchema>;
250
- export declare const DataCollectionEventTypeSpecSchema: z.ZodObject<{
250
+ export type DataCollectionFindSpec = z.infer<typeof DataCollectionFindSpec>;
251
+ export declare const DataCollectionEventTypeSpec: z.ZodObject<{
251
252
  type: z.ZodEnum<["push", "pull"]>;
252
253
  isFullScan: z.ZodOptional<z.ZodBoolean>;
253
254
  isIdOnly: z.ZodOptional<z.ZodBoolean>;
@@ -260,8 +261,8 @@ export declare const DataCollectionEventTypeSpecSchema: z.ZodObject<{
260
261
  isFullScan?: boolean | undefined;
261
262
  isIdOnly?: boolean | undefined;
262
263
  }>;
263
- export type DataCollectionEventTypeSpec = z.infer<typeof DataCollectionEventTypeSpecSchema>;
264
- export declare const DataCollectionEventsSpecSchema: z.ZodObject<{
264
+ export type DataCollectionEventTypeSpec = z.infer<typeof DataCollectionEventTypeSpec>;
265
+ export declare const DataCollectionEventsSpec: z.ZodObject<{
265
266
  created: z.ZodOptional<z.ZodObject<{
266
267
  type: z.ZodEnum<["push", "pull"]>;
267
268
  isFullScan: z.ZodOptional<z.ZodBoolean>;
@@ -457,8 +458,8 @@ export declare const DataCollectionEventsSpecSchema: z.ZodObject<{
457
458
  isFullScan?: boolean | undefined;
458
459
  isIdOnly?: boolean | undefined;
459
460
  }>, "strip">>;
460
- export type DataCollectionEventsSpec = z.infer<typeof DataCollectionEventsSpecSchema>;
461
- export declare const DataCollectionUdmSpecSchema: z.ZodObject<{
461
+ export type DataCollectionEventsSpec = z.infer<typeof DataCollectionEventsSpec>;
462
+ export declare const DataCollectionUdmSpec: z.ZodObject<{
462
463
  fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
463
464
  extract: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
464
465
  parse: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -471,8 +472,8 @@ export declare const DataCollectionUdmSpecSchema: z.ZodObject<{
471
472
  extract?: Record<string, any> | undefined;
472
473
  parse?: Record<string, any> | undefined;
473
474
  }>;
474
- export type DataCollectionUdmSpec = z.infer<typeof DataCollectionUdmSpecSchema>;
475
- export declare const DataCollectionUdmsSpecSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
475
+ export type DataCollectionUdmSpec = z.infer<typeof DataCollectionUdmSpec>;
476
+ export declare const DataCollectionUdmsSpec: z.ZodRecord<z.ZodString, z.ZodObject<{
476
477
  fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
477
478
  extract: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
478
479
  parse: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -485,36 +486,36 @@ export declare const DataCollectionUdmsSpecSchema: z.ZodRecord<z.ZodString, z.Zo
485
486
  extract?: Record<string, any> | undefined;
486
487
  parse?: Record<string, any> | undefined;
487
488
  }>>;
488
- export type DataCollectionUdmsSpec = z.infer<typeof DataCollectionUdmsSpecSchema>;
489
- export declare const DataCollectionSpecSchema: z.ZodObject<{
489
+ export type DataCollectionUdmsSpec = z.infer<typeof DataCollectionUdmsSpec>;
490
+ export declare const DataCollectionSpec: z.ZodObject<{
490
491
  type: z.ZodLiteral<"collection">;
491
492
  key: z.ZodOptional<z.ZodString>;
492
493
  name: z.ZodString;
493
- parametersSchema: z.ZodOptional<z.ZodLazy<any>>;
494
- fieldsSchema: z.ZodOptional<z.ZodLazy<any>>;
494
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
495
+ fieldsSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
495
496
  list: z.ZodOptional<z.ZodObject<{
496
497
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
497
498
  path: z.ZodUnknown;
498
499
  method: z.ZodUnknown;
499
500
  }, "strip", z.ZodTypeAny, {
500
- path?: unknown;
501
501
  method?: unknown;
502
- }, {
503
502
  path?: unknown;
503
+ }, {
504
504
  method?: unknown;
505
+ path?: unknown;
505
506
  }>, "many">>;
506
507
  } & {
507
508
  filterFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
508
509
  }, "strip", z.ZodTypeAny, {
509
510
  apiRequests?: {
510
- path?: unknown;
511
511
  method?: unknown;
512
+ path?: unknown;
512
513
  }[] | undefined;
513
514
  filterFields?: string[] | undefined;
514
515
  }, {
515
516
  apiRequests?: {
516
- path?: unknown;
517
517
  method?: unknown;
518
+ path?: unknown;
518
519
  }[] | undefined;
519
520
  filterFields?: string[] | undefined;
520
521
  }>>;
@@ -523,21 +524,21 @@ export declare const DataCollectionSpecSchema: z.ZodObject<{
523
524
  path: z.ZodUnknown;
524
525
  method: z.ZodUnknown;
525
526
  }, "strip", z.ZodTypeAny, {
526
- path?: unknown;
527
527
  method?: unknown;
528
- }, {
529
528
  path?: unknown;
529
+ }, {
530
530
  method?: unknown;
531
+ path?: unknown;
531
532
  }>, "many">>;
532
533
  }, "strip", z.ZodTypeAny, {
533
534
  apiRequests?: {
534
- path?: unknown;
535
535
  method?: unknown;
536
+ path?: unknown;
536
537
  }[] | undefined;
537
538
  }, {
538
539
  apiRequests?: {
539
- path?: unknown;
540
540
  method?: unknown;
541
+ path?: unknown;
541
542
  }[] | undefined;
542
543
  }>>;
543
544
  match: z.ZodOptional<z.ZodObject<{
@@ -545,47 +546,47 @@ export declare const DataCollectionSpecSchema: z.ZodObject<{
545
546
  path: z.ZodUnknown;
546
547
  method: z.ZodUnknown;
547
548
  }, "strip", z.ZodTypeAny, {
548
- path?: unknown;
549
549
  method?: unknown;
550
- }, {
551
550
  path?: unknown;
551
+ }, {
552
552
  method?: unknown;
553
+ path?: unknown;
553
554
  }>, "many">>;
554
555
  } & {
555
556
  fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
556
557
  }, "strip", z.ZodTypeAny, {
558
+ fields?: string[] | undefined;
557
559
  apiRequests?: {
558
- path?: unknown;
559
560
  method?: unknown;
561
+ path?: unknown;
560
562
  }[] | undefined;
561
- fields?: string[] | undefined;
562
563
  }, {
564
+ fields?: string[] | undefined;
563
565
  apiRequests?: {
564
- path?: unknown;
565
566
  method?: unknown;
567
+ path?: unknown;
566
568
  }[] | undefined;
567
- fields?: string[] | undefined;
568
569
  }>>;
569
570
  findById: z.ZodOptional<z.ZodObject<{
570
571
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
571
572
  path: z.ZodUnknown;
572
573
  method: z.ZodUnknown;
573
574
  }, "strip", z.ZodTypeAny, {
574
- path?: unknown;
575
575
  method?: unknown;
576
- }, {
577
576
  path?: unknown;
577
+ }, {
578
578
  method?: unknown;
579
+ path?: unknown;
579
580
  }>, "many">>;
580
581
  }, "strip", z.ZodTypeAny, {
581
582
  apiRequests?: {
582
- path?: unknown;
583
583
  method?: unknown;
584
+ path?: unknown;
584
585
  }[] | undefined;
585
586
  }, {
586
587
  apiRequests?: {
587
- path?: unknown;
588
588
  method?: unknown;
589
+ path?: unknown;
589
590
  }[] | undefined;
590
591
  }>>;
591
592
  create: z.ZodOptional<z.ZodObject<{
@@ -593,30 +594,30 @@ export declare const DataCollectionSpecSchema: z.ZodObject<{
593
594
  path: z.ZodUnknown;
594
595
  method: z.ZodUnknown;
595
596
  }, "strip", z.ZodTypeAny, {
596
- path?: unknown;
597
597
  method?: unknown;
598
- }, {
599
598
  path?: unknown;
599
+ }, {
600
600
  method?: unknown;
601
+ path?: unknown;
601
602
  }>, "many">>;
602
603
  } & {
603
604
  fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
604
605
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
605
606
  excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
606
607
  }, "strip", z.ZodTypeAny, {
608
+ fields?: string[] | undefined;
607
609
  apiRequests?: {
608
- path?: unknown;
609
610
  method?: unknown;
611
+ path?: unknown;
610
612
  }[] | undefined;
611
- fields?: string[] | undefined;
612
613
  requiredFields?: string[] | undefined;
613
614
  excludedFields?: string[] | undefined;
614
615
  }, {
616
+ fields?: string[] | undefined;
615
617
  apiRequests?: {
616
- path?: unknown;
617
618
  method?: unknown;
619
+ path?: unknown;
618
620
  }[] | undefined;
619
- fields?: string[] | undefined;
620
621
  requiredFields?: string[] | undefined;
621
622
  excludedFields?: string[] | undefined;
622
623
  }>>;
@@ -625,28 +626,28 @@ export declare const DataCollectionSpecSchema: z.ZodObject<{
625
626
  path: z.ZodUnknown;
626
627
  method: z.ZodUnknown;
627
628
  }, "strip", z.ZodTypeAny, {
628
- path?: unknown;
629
629
  method?: unknown;
630
- }, {
631
630
  path?: unknown;
631
+ }, {
632
632
  method?: unknown;
633
+ path?: unknown;
633
634
  }>, "many">>;
634
635
  } & {
635
636
  fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
636
637
  excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
637
638
  }, "strip", z.ZodTypeAny, {
639
+ fields?: string[] | undefined;
638
640
  apiRequests?: {
639
- path?: unknown;
640
641
  method?: unknown;
642
+ path?: unknown;
641
643
  }[] | undefined;
642
- fields?: string[] | undefined;
643
644
  excludedFields?: string[] | undefined;
644
645
  }, {
646
+ fields?: string[] | undefined;
645
647
  apiRequests?: {
646
- path?: unknown;
647
648
  method?: unknown;
649
+ path?: unknown;
648
650
  }[] | undefined;
649
- fields?: string[] | undefined;
650
651
  excludedFields?: string[] | undefined;
651
652
  }>>;
652
653
  delete: z.ZodOptional<z.ZodObject<{
@@ -654,21 +655,21 @@ export declare const DataCollectionSpecSchema: z.ZodObject<{
654
655
  path: z.ZodUnknown;
655
656
  method: z.ZodUnknown;
656
657
  }, "strip", z.ZodTypeAny, {
657
- path?: unknown;
658
658
  method?: unknown;
659
- }, {
660
659
  path?: unknown;
660
+ }, {
661
661
  method?: unknown;
662
+ path?: unknown;
662
663
  }>, "many">>;
663
664
  }, "strip", z.ZodTypeAny, {
664
665
  apiRequests?: {
665
- path?: unknown;
666
666
  method?: unknown;
667
+ path?: unknown;
667
668
  }[] | undefined;
668
669
  }, {
669
670
  apiRequests?: {
670
- path?: unknown;
671
671
  method?: unknown;
672
+ path?: unknown;
672
673
  }[] | undefined;
673
674
  }>>;
674
675
  events: z.ZodOptional<z.ZodObject<{
@@ -886,24 +887,24 @@ export declare const DataCollectionSpecSchema: z.ZodObject<{
886
887
  path: z.ZodUnknown;
887
888
  method: z.ZodUnknown;
888
889
  }, "strip", z.ZodTypeAny, {
889
- path?: unknown;
890
890
  method?: unknown;
891
- }, {
892
891
  path?: unknown;
892
+ }, {
893
893
  method?: unknown;
894
+ path?: unknown;
894
895
  }>, "many">>;
895
896
  } & {
896
897
  queryFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
897
898
  }, "strip", z.ZodTypeAny, {
898
899
  apiRequests?: {
899
- path?: unknown;
900
900
  method?: unknown;
901
+ path?: unknown;
901
902
  }[] | undefined;
902
903
  queryFields?: string[] | undefined;
903
904
  }, {
904
905
  apiRequests?: {
905
- path?: unknown;
906
906
  method?: unknown;
907
+ path?: unknown;
907
908
  }[] | undefined;
908
909
  queryFields?: string[] | undefined;
909
910
  }>>;
@@ -911,64 +912,44 @@ export declare const DataCollectionSpecSchema: z.ZodObject<{
911
912
  type: "collection";
912
913
  name: string;
913
914
  key?: string | undefined;
914
- find?: {
915
- apiRequests?: {
916
- path?: unknown;
917
- method?: unknown;
918
- }[] | undefined;
919
- queryFields?: string[] | undefined;
920
- } | undefined;
921
915
  match?: {
916
+ fields?: string[] | undefined;
922
917
  apiRequests?: {
923
- path?: unknown;
924
918
  method?: unknown;
919
+ path?: unknown;
925
920
  }[] | undefined;
926
- fields?: string[] | undefined;
927
921
  } | undefined;
928
922
  search?: {
929
923
  apiRequests?: {
930
- path?: unknown;
931
924
  method?: unknown;
932
- }[] | undefined;
933
- } | undefined;
934
- delete?: {
935
- apiRequests?: {
936
925
  path?: unknown;
937
- method?: unknown;
938
926
  }[] | undefined;
939
927
  } | undefined;
940
- parametersSchema?: any;
941
- fieldsSchema?: any;
942
- list?: {
928
+ find?: {
943
929
  apiRequests?: {
944
- path?: unknown;
945
930
  method?: unknown;
946
- }[] | undefined;
947
- filterFields?: string[] | undefined;
948
- } | undefined;
949
- findById?: {
950
- apiRequests?: {
951
931
  path?: unknown;
952
- method?: unknown;
953
932
  }[] | undefined;
933
+ queryFields?: string[] | undefined;
954
934
  } | undefined;
955
- create?: {
935
+ delete?: {
956
936
  apiRequests?: {
957
- path?: unknown;
958
937
  method?: unknown;
938
+ path?: unknown;
959
939
  }[] | undefined;
960
- fields?: string[] | undefined;
961
- requiredFields?: string[] | undefined;
962
- excludedFields?: string[] | undefined;
963
940
  } | undefined;
964
- update?: {
941
+ list?: {
965
942
  apiRequests?: {
966
- path?: unknown;
967
943
  method?: unknown;
944
+ path?: unknown;
968
945
  }[] | undefined;
969
- fields?: string[] | undefined;
970
- excludedFields?: string[] | undefined;
946
+ filterFields?: string[] | undefined;
971
947
  } | undefined;
948
+ udm?: Record<string, {
949
+ fields?: string[] | undefined;
950
+ extract?: Record<string, any> | undefined;
951
+ parse?: Record<string, any> | undefined;
952
+ }> | undefined;
972
953
  events?: z.objectOutputType<{
973
954
  created: z.ZodOptional<z.ZodObject<{
974
955
  type: z.ZodEnum<["push", "pull"]>;
@@ -1035,74 +1016,74 @@ export declare const DataCollectionSpecSchema: z.ZodObject<{
1035
1016
  isFullScan?: boolean | undefined;
1036
1017
  isIdOnly?: boolean | undefined;
1037
1018
  }>, "strip"> | undefined;
1038
- customFields?: boolean | undefined;
1039
- udm?: Record<string, {
1040
- fields?: string[] | undefined;
1041
- extract?: Record<string, any> | undefined;
1042
- parse?: Record<string, any> | undefined;
1043
- }> | undefined;
1044
- }, {
1045
- type: "collection";
1046
- name: string;
1047
- key?: string | undefined;
1048
- find?: {
1019
+ parametersSchema?: DataSchema | undefined;
1020
+ fieldsSchema?: DataSchema | undefined;
1021
+ findById?: {
1049
1022
  apiRequests?: {
1050
- path?: unknown;
1051
1023
  method?: unknown;
1024
+ path?: unknown;
1052
1025
  }[] | undefined;
1053
- queryFields?: string[] | undefined;
1054
1026
  } | undefined;
1055
- match?: {
1027
+ create?: {
1028
+ fields?: string[] | undefined;
1056
1029
  apiRequests?: {
1057
- path?: unknown;
1058
1030
  method?: unknown;
1031
+ path?: unknown;
1059
1032
  }[] | undefined;
1060
- fields?: string[] | undefined;
1033
+ requiredFields?: string[] | undefined;
1034
+ excludedFields?: string[] | undefined;
1061
1035
  } | undefined;
1062
- search?: {
1036
+ update?: {
1037
+ fields?: string[] | undefined;
1063
1038
  apiRequests?: {
1064
- path?: unknown;
1065
1039
  method?: unknown;
1040
+ path?: unknown;
1066
1041
  }[] | undefined;
1042
+ excludedFields?: string[] | undefined;
1067
1043
  } | undefined;
1068
- delete?: {
1044
+ customFields?: boolean | undefined;
1045
+ }, {
1046
+ type: "collection";
1047
+ name: string;
1048
+ key?: string | undefined;
1049
+ match?: {
1050
+ fields?: string[] | undefined;
1069
1051
  apiRequests?: {
1070
- path?: unknown;
1071
1052
  method?: unknown;
1053
+ path?: unknown;
1072
1054
  }[] | undefined;
1073
1055
  } | undefined;
1074
- parametersSchema?: any;
1075
- fieldsSchema?: any;
1076
- list?: {
1056
+ search?: {
1077
1057
  apiRequests?: {
1078
- path?: unknown;
1079
1058
  method?: unknown;
1059
+ path?: unknown;
1080
1060
  }[] | undefined;
1081
- filterFields?: string[] | undefined;
1082
1061
  } | undefined;
1083
- findById?: {
1062
+ find?: {
1084
1063
  apiRequests?: {
1085
- path?: unknown;
1086
1064
  method?: unknown;
1065
+ path?: unknown;
1087
1066
  }[] | undefined;
1067
+ queryFields?: string[] | undefined;
1088
1068
  } | undefined;
1089
- create?: {
1069
+ delete?: {
1090
1070
  apiRequests?: {
1091
- path?: unknown;
1092
1071
  method?: unknown;
1072
+ path?: unknown;
1093
1073
  }[] | undefined;
1094
- fields?: string[] | undefined;
1095
- requiredFields?: string[] | undefined;
1096
- excludedFields?: string[] | undefined;
1097
1074
  } | undefined;
1098
- update?: {
1075
+ list?: {
1099
1076
  apiRequests?: {
1100
- path?: unknown;
1101
1077
  method?: unknown;
1078
+ path?: unknown;
1102
1079
  }[] | undefined;
1103
- fields?: string[] | undefined;
1104
- excludedFields?: string[] | undefined;
1080
+ filterFields?: string[] | undefined;
1105
1081
  } | undefined;
1082
+ udm?: Record<string, {
1083
+ fields?: string[] | undefined;
1084
+ extract?: Record<string, any> | undefined;
1085
+ parse?: Record<string, any> | undefined;
1086
+ }> | undefined;
1106
1087
  events?: z.objectInputType<{
1107
1088
  created: z.ZodOptional<z.ZodObject<{
1108
1089
  type: z.ZodEnum<["push", "pull"]>;
@@ -1169,14 +1150,34 @@ export declare const DataCollectionSpecSchema: z.ZodObject<{
1169
1150
  isFullScan?: boolean | undefined;
1170
1151
  isIdOnly?: boolean | undefined;
1171
1152
  }>, "strip"> | undefined;
1172
- customFields?: boolean | undefined;
1173
- udm?: Record<string, {
1153
+ parametersSchema?: DataSchema | undefined;
1154
+ fieldsSchema?: DataSchema | undefined;
1155
+ findById?: {
1156
+ apiRequests?: {
1157
+ method?: unknown;
1158
+ path?: unknown;
1159
+ }[] | undefined;
1160
+ } | undefined;
1161
+ create?: {
1174
1162
  fields?: string[] | undefined;
1175
- extract?: Record<string, any> | undefined;
1176
- parse?: Record<string, any> | undefined;
1177
- }> | undefined;
1163
+ apiRequests?: {
1164
+ method?: unknown;
1165
+ path?: unknown;
1166
+ }[] | undefined;
1167
+ requiredFields?: string[] | undefined;
1168
+ excludedFields?: string[] | undefined;
1169
+ } | undefined;
1170
+ update?: {
1171
+ fields?: string[] | undefined;
1172
+ apiRequests?: {
1173
+ method?: unknown;
1174
+ path?: unknown;
1175
+ }[] | undefined;
1176
+ excludedFields?: string[] | undefined;
1177
+ } | undefined;
1178
+ customFields?: boolean | undefined;
1178
1179
  }>;
1179
- export type DataCollectionSpec = z.infer<typeof DataCollectionSpecSchema>;
1180
+ export type DataCollectionSpec = z.infer<typeof DataCollectionSpec>;
1180
1181
  export interface DataLocationPointer {
1181
1182
  key: string;
1182
1183
  parameters?: Record<string, any>;
@@ -1191,70 +1192,570 @@ export interface DataCollectionListItem {
1191
1192
  type: 'collection';
1192
1193
  isHidden?: boolean;
1193
1194
  }
1194
- export interface DataCollectionMethodRequest {
1195
- parameters?: Record<string, any>;
1196
- }
1197
- export interface DataCollectionFindRequest {
1195
+ export declare const DataCollectionMethodRequest: z.ZodObject<{
1196
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1197
+ }, "strip", z.ZodTypeAny, {
1198
+ parameters?: Record<string, any> | undefined;
1199
+ }, {
1200
+ parameters?: Record<string, any> | undefined;
1201
+ }>;
1202
+ export declare const DataCollectionFindRequest: z.ZodObject<{
1203
+ query: z.ZodOptional<z.ZodAny>;
1204
+ cursor: z.ZodOptional<z.ZodString>;
1205
+ }, "strip", z.ZodTypeAny, {
1206
+ cursor?: string | undefined;
1198
1207
  query?: any;
1199
- cursor?: string;
1200
- }
1201
- export interface DataCollectionFindResponse {
1202
- records: DataRecord[];
1203
- cursor?: string;
1204
- }
1205
- export interface DataCollectionListRequest extends DataCollectionMethodRequest {
1208
+ }, {
1209
+ cursor?: string | undefined;
1210
+ query?: any;
1211
+ }>;
1212
+ export declare const DataCollectionFindResponse: z.ZodObject<{
1213
+ records: z.ZodArray<z.ZodObject<{
1214
+ id: z.ZodString;
1215
+ name: z.ZodOptional<z.ZodString>;
1216
+ uri: z.ZodOptional<z.ZodString>;
1217
+ iconUri: z.ZodOptional<z.ZodString>;
1218
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1219
+ udm: z.ZodOptional<z.ZodString>;
1220
+ unifiedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1221
+ rawFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1222
+ createdTime: z.ZodOptional<z.ZodString>;
1223
+ updatedTime: z.ZodOptional<z.ZodString>;
1224
+ deletedTime: z.ZodOptional<z.ZodString>;
1225
+ createdById: z.ZodOptional<z.ZodString>;
1226
+ updatedById: z.ZodOptional<z.ZodString>;
1227
+ }, "strip", z.ZodTypeAny, {
1228
+ id: string;
1229
+ name?: string | undefined;
1230
+ uri?: string | undefined;
1231
+ iconUri?: string | undefined;
1232
+ fields?: Record<string, any> | undefined;
1233
+ udm?: string | undefined;
1234
+ unifiedFields?: Record<string, any> | undefined;
1235
+ rawFields?: Record<string, any> | undefined;
1236
+ createdTime?: string | undefined;
1237
+ updatedTime?: string | undefined;
1238
+ deletedTime?: string | undefined;
1239
+ createdById?: string | undefined;
1240
+ updatedById?: string | undefined;
1241
+ }, {
1242
+ id: string;
1243
+ name?: string | undefined;
1244
+ uri?: string | undefined;
1245
+ iconUri?: string | undefined;
1246
+ fields?: Record<string, any> | undefined;
1247
+ udm?: string | undefined;
1248
+ unifiedFields?: Record<string, any> | undefined;
1249
+ rawFields?: Record<string, any> | undefined;
1250
+ createdTime?: string | undefined;
1251
+ updatedTime?: string | undefined;
1252
+ deletedTime?: string | undefined;
1253
+ createdById?: string | undefined;
1254
+ updatedById?: string | undefined;
1255
+ }>, "many">;
1256
+ cursor: z.ZodOptional<z.ZodString>;
1257
+ }, "strip", z.ZodTypeAny, {
1258
+ records: {
1259
+ id: string;
1260
+ name?: string | undefined;
1261
+ uri?: string | undefined;
1262
+ iconUri?: string | undefined;
1263
+ fields?: Record<string, any> | undefined;
1264
+ udm?: string | undefined;
1265
+ unifiedFields?: Record<string, any> | undefined;
1266
+ rawFields?: Record<string, any> | undefined;
1267
+ createdTime?: string | undefined;
1268
+ updatedTime?: string | undefined;
1269
+ deletedTime?: string | undefined;
1270
+ createdById?: string | undefined;
1271
+ updatedById?: string | undefined;
1272
+ }[];
1273
+ cursor?: string | undefined;
1274
+ }, {
1275
+ records: {
1276
+ id: string;
1277
+ name?: string | undefined;
1278
+ uri?: string | undefined;
1279
+ iconUri?: string | undefined;
1280
+ fields?: Record<string, any> | undefined;
1281
+ udm?: string | undefined;
1282
+ unifiedFields?: Record<string, any> | undefined;
1283
+ rawFields?: Record<string, any> | undefined;
1284
+ createdTime?: string | undefined;
1285
+ updatedTime?: string | undefined;
1286
+ deletedTime?: string | undefined;
1287
+ createdById?: string | undefined;
1288
+ updatedById?: string | undefined;
1289
+ }[];
1290
+ cursor?: string | undefined;
1291
+ }>;
1292
+ export declare const DataCollectionListRequest: z.ZodObject<{
1293
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1294
+ } & {
1295
+ filter: z.ZodOptional<z.ZodAny>;
1296
+ unifiedFilter: z.ZodOptional<z.ZodAny>;
1297
+ cursor: z.ZodOptional<z.ZodString>;
1298
+ }, "strip", z.ZodTypeAny, {
1206
1299
  filter?: any;
1300
+ cursor?: string | undefined;
1301
+ parameters?: Record<string, any> | undefined;
1207
1302
  unifiedFilter?: any;
1208
- cursor?: string;
1209
- }
1210
- export interface DataCollectionListResponseDrilldown {
1211
- parameters?: Record<string, any>;
1212
- filter?: Record<string, any>;
1213
- }
1214
- export interface DataCollectionListResponse {
1215
- records: DataRecord[];
1216
- drilldowns?: Array<DataCollectionListResponseDrilldown>;
1217
- cursor?: string;
1218
- }
1219
- export interface DataCollectionSearchRequest extends DataCollectionMethodRequest {
1303
+ }, {
1304
+ filter?: any;
1305
+ cursor?: string | undefined;
1306
+ parameters?: Record<string, any> | undefined;
1307
+ unifiedFilter?: any;
1308
+ }>;
1309
+ export declare const DataCollectionListResponseDrilldown: z.ZodObject<{
1310
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1311
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1312
+ }, "strip", z.ZodTypeAny, {
1313
+ filter?: Record<string, any> | undefined;
1314
+ parameters?: Record<string, any> | undefined;
1315
+ }, {
1316
+ filter?: Record<string, any> | undefined;
1317
+ parameters?: Record<string, any> | undefined;
1318
+ }>;
1319
+ export declare const DataCollectionListResponse: z.ZodObject<{
1320
+ records: z.ZodArray<z.ZodObject<{
1321
+ id: z.ZodString;
1322
+ name: z.ZodOptional<z.ZodString>;
1323
+ uri: z.ZodOptional<z.ZodString>;
1324
+ iconUri: z.ZodOptional<z.ZodString>;
1325
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1326
+ udm: z.ZodOptional<z.ZodString>;
1327
+ unifiedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1328
+ rawFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1329
+ createdTime: z.ZodOptional<z.ZodString>;
1330
+ updatedTime: z.ZodOptional<z.ZodString>;
1331
+ deletedTime: z.ZodOptional<z.ZodString>;
1332
+ createdById: z.ZodOptional<z.ZodString>;
1333
+ updatedById: z.ZodOptional<z.ZodString>;
1334
+ }, "strip", z.ZodTypeAny, {
1335
+ id: string;
1336
+ name?: string | undefined;
1337
+ uri?: string | undefined;
1338
+ iconUri?: string | undefined;
1339
+ fields?: Record<string, any> | undefined;
1340
+ udm?: string | undefined;
1341
+ unifiedFields?: Record<string, any> | undefined;
1342
+ rawFields?: Record<string, any> | undefined;
1343
+ createdTime?: string | undefined;
1344
+ updatedTime?: string | undefined;
1345
+ deletedTime?: string | undefined;
1346
+ createdById?: string | undefined;
1347
+ updatedById?: string | undefined;
1348
+ }, {
1349
+ id: string;
1350
+ name?: string | undefined;
1351
+ uri?: string | undefined;
1352
+ iconUri?: string | undefined;
1353
+ fields?: Record<string, any> | undefined;
1354
+ udm?: string | undefined;
1355
+ unifiedFields?: Record<string, any> | undefined;
1356
+ rawFields?: Record<string, any> | undefined;
1357
+ createdTime?: string | undefined;
1358
+ updatedTime?: string | undefined;
1359
+ deletedTime?: string | undefined;
1360
+ createdById?: string | undefined;
1361
+ updatedById?: string | undefined;
1362
+ }>, "many">;
1363
+ drilldowns: z.ZodOptional<z.ZodArray<z.ZodObject<{
1364
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1365
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1366
+ }, "strip", z.ZodTypeAny, {
1367
+ filter?: Record<string, any> | undefined;
1368
+ parameters?: Record<string, any> | undefined;
1369
+ }, {
1370
+ filter?: Record<string, any> | undefined;
1371
+ parameters?: Record<string, any> | undefined;
1372
+ }>, "many">>;
1373
+ cursor: z.ZodOptional<z.ZodString>;
1374
+ }, "strip", z.ZodTypeAny, {
1375
+ records: {
1376
+ id: string;
1377
+ name?: string | undefined;
1378
+ uri?: string | undefined;
1379
+ iconUri?: string | undefined;
1380
+ fields?: Record<string, any> | undefined;
1381
+ udm?: string | undefined;
1382
+ unifiedFields?: Record<string, any> | undefined;
1383
+ rawFields?: Record<string, any> | undefined;
1384
+ createdTime?: string | undefined;
1385
+ updatedTime?: string | undefined;
1386
+ deletedTime?: string | undefined;
1387
+ createdById?: string | undefined;
1388
+ updatedById?: string | undefined;
1389
+ }[];
1390
+ cursor?: string | undefined;
1391
+ drilldowns?: {
1392
+ filter?: Record<string, any> | undefined;
1393
+ parameters?: Record<string, any> | undefined;
1394
+ }[] | undefined;
1395
+ }, {
1396
+ records: {
1397
+ id: string;
1398
+ name?: string | undefined;
1399
+ uri?: string | undefined;
1400
+ iconUri?: string | undefined;
1401
+ fields?: Record<string, any> | undefined;
1402
+ udm?: string | undefined;
1403
+ unifiedFields?: Record<string, any> | undefined;
1404
+ rawFields?: Record<string, any> | undefined;
1405
+ createdTime?: string | undefined;
1406
+ updatedTime?: string | undefined;
1407
+ deletedTime?: string | undefined;
1408
+ createdById?: string | undefined;
1409
+ updatedById?: string | undefined;
1410
+ }[];
1411
+ cursor?: string | undefined;
1412
+ drilldowns?: {
1413
+ filter?: Record<string, any> | undefined;
1414
+ parameters?: Record<string, any> | undefined;
1415
+ }[] | undefined;
1416
+ }>;
1417
+ export declare const DataCollectionSearchRequest: z.ZodObject<{
1418
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1419
+ } & {
1420
+ query: z.ZodString;
1421
+ cursor: z.ZodOptional<z.ZodString>;
1422
+ }, "strip", z.ZodTypeAny, {
1220
1423
  query: string;
1221
- cursor?: string;
1222
- }
1223
- export interface DataCollectionSearchResponse {
1224
- records: DataRecord[];
1225
- cursor?: string;
1226
- }
1227
- export interface DataCollectionFindByIdRequest extends DataCollectionMethodRequest {
1424
+ cursor?: string | undefined;
1425
+ parameters?: Record<string, any> | undefined;
1426
+ }, {
1427
+ query: string;
1428
+ cursor?: string | undefined;
1429
+ parameters?: Record<string, any> | undefined;
1430
+ }>;
1431
+ export declare const DataCollectionSearchResponse: z.ZodObject<{
1432
+ records: z.ZodArray<z.ZodObject<{
1433
+ id: z.ZodString;
1434
+ name: z.ZodOptional<z.ZodString>;
1435
+ uri: z.ZodOptional<z.ZodString>;
1436
+ iconUri: z.ZodOptional<z.ZodString>;
1437
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1438
+ udm: z.ZodOptional<z.ZodString>;
1439
+ unifiedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1440
+ rawFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1441
+ createdTime: z.ZodOptional<z.ZodString>;
1442
+ updatedTime: z.ZodOptional<z.ZodString>;
1443
+ deletedTime: z.ZodOptional<z.ZodString>;
1444
+ createdById: z.ZodOptional<z.ZodString>;
1445
+ updatedById: z.ZodOptional<z.ZodString>;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ id: string;
1448
+ name?: string | undefined;
1449
+ uri?: string | undefined;
1450
+ iconUri?: string | undefined;
1451
+ fields?: Record<string, any> | undefined;
1452
+ udm?: string | undefined;
1453
+ unifiedFields?: Record<string, any> | undefined;
1454
+ rawFields?: Record<string, any> | undefined;
1455
+ createdTime?: string | undefined;
1456
+ updatedTime?: string | undefined;
1457
+ deletedTime?: string | undefined;
1458
+ createdById?: string | undefined;
1459
+ updatedById?: string | undefined;
1460
+ }, {
1461
+ id: string;
1462
+ name?: string | undefined;
1463
+ uri?: string | undefined;
1464
+ iconUri?: string | undefined;
1465
+ fields?: Record<string, any> | undefined;
1466
+ udm?: string | undefined;
1467
+ unifiedFields?: Record<string, any> | undefined;
1468
+ rawFields?: Record<string, any> | undefined;
1469
+ createdTime?: string | undefined;
1470
+ updatedTime?: string | undefined;
1471
+ deletedTime?: string | undefined;
1472
+ createdById?: string | undefined;
1473
+ updatedById?: string | undefined;
1474
+ }>, "many">;
1475
+ cursor: z.ZodOptional<z.ZodString>;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ records: {
1478
+ id: string;
1479
+ name?: string | undefined;
1480
+ uri?: string | undefined;
1481
+ iconUri?: string | undefined;
1482
+ fields?: Record<string, any> | undefined;
1483
+ udm?: string | undefined;
1484
+ unifiedFields?: Record<string, any> | undefined;
1485
+ rawFields?: Record<string, any> | undefined;
1486
+ createdTime?: string | undefined;
1487
+ updatedTime?: string | undefined;
1488
+ deletedTime?: string | undefined;
1489
+ createdById?: string | undefined;
1490
+ updatedById?: string | undefined;
1491
+ }[];
1492
+ cursor?: string | undefined;
1493
+ }, {
1494
+ records: {
1495
+ id: string;
1496
+ name?: string | undefined;
1497
+ uri?: string | undefined;
1498
+ iconUri?: string | undefined;
1499
+ fields?: Record<string, any> | undefined;
1500
+ udm?: string | undefined;
1501
+ unifiedFields?: Record<string, any> | undefined;
1502
+ rawFields?: Record<string, any> | undefined;
1503
+ createdTime?: string | undefined;
1504
+ updatedTime?: string | undefined;
1505
+ deletedTime?: string | undefined;
1506
+ createdById?: string | undefined;
1507
+ updatedById?: string | undefined;
1508
+ }[];
1509
+ cursor?: string | undefined;
1510
+ }>;
1511
+ export declare const DataCollectionFindByIdRequest: z.ZodObject<{
1512
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1513
+ } & {
1514
+ id: z.ZodString;
1515
+ udm: z.ZodOptional<z.ZodString>;
1516
+ }, "strip", z.ZodTypeAny, {
1228
1517
  id: string;
1229
- udm?: string;
1230
- }
1231
- export interface DataCollectionFindByIdResponse {
1232
- record: DataRecord;
1233
- }
1234
- export interface DataCollectionMatchRequest extends DataCollectionMethodRequest {
1518
+ parameters?: Record<string, any> | undefined;
1519
+ udm?: string | undefined;
1520
+ }, {
1521
+ id: string;
1522
+ parameters?: Record<string, any> | undefined;
1523
+ udm?: string | undefined;
1524
+ }>;
1525
+ export declare const DataCollectionFindByIdResponse: z.ZodObject<{
1526
+ record: z.ZodObject<{
1527
+ id: z.ZodString;
1528
+ name: z.ZodOptional<z.ZodString>;
1529
+ uri: z.ZodOptional<z.ZodString>;
1530
+ iconUri: z.ZodOptional<z.ZodString>;
1531
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1532
+ udm: z.ZodOptional<z.ZodString>;
1533
+ unifiedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1534
+ rawFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1535
+ createdTime: z.ZodOptional<z.ZodString>;
1536
+ updatedTime: z.ZodOptional<z.ZodString>;
1537
+ deletedTime: z.ZodOptional<z.ZodString>;
1538
+ createdById: z.ZodOptional<z.ZodString>;
1539
+ updatedById: z.ZodOptional<z.ZodString>;
1540
+ }, "strip", z.ZodTypeAny, {
1541
+ id: string;
1542
+ name?: string | undefined;
1543
+ uri?: string | undefined;
1544
+ iconUri?: string | undefined;
1545
+ fields?: Record<string, any> | undefined;
1546
+ udm?: string | undefined;
1547
+ unifiedFields?: Record<string, any> | undefined;
1548
+ rawFields?: Record<string, any> | undefined;
1549
+ createdTime?: string | undefined;
1550
+ updatedTime?: string | undefined;
1551
+ deletedTime?: string | undefined;
1552
+ createdById?: string | undefined;
1553
+ updatedById?: string | undefined;
1554
+ }, {
1555
+ id: string;
1556
+ name?: string | undefined;
1557
+ uri?: string | undefined;
1558
+ iconUri?: string | undefined;
1559
+ fields?: Record<string, any> | undefined;
1560
+ udm?: string | undefined;
1561
+ unifiedFields?: Record<string, any> | undefined;
1562
+ rawFields?: Record<string, any> | undefined;
1563
+ createdTime?: string | undefined;
1564
+ updatedTime?: string | undefined;
1565
+ deletedTime?: string | undefined;
1566
+ createdById?: string | undefined;
1567
+ updatedById?: string | undefined;
1568
+ }>;
1569
+ }, "strip", z.ZodTypeAny, {
1570
+ record: {
1571
+ id: string;
1572
+ name?: string | undefined;
1573
+ uri?: string | undefined;
1574
+ iconUri?: string | undefined;
1575
+ fields?: Record<string, any> | undefined;
1576
+ udm?: string | undefined;
1577
+ unifiedFields?: Record<string, any> | undefined;
1578
+ rawFields?: Record<string, any> | undefined;
1579
+ createdTime?: string | undefined;
1580
+ updatedTime?: string | undefined;
1581
+ deletedTime?: string | undefined;
1582
+ createdById?: string | undefined;
1583
+ updatedById?: string | undefined;
1584
+ };
1585
+ }, {
1586
+ record: {
1587
+ id: string;
1588
+ name?: string | undefined;
1589
+ uri?: string | undefined;
1590
+ iconUri?: string | undefined;
1591
+ fields?: Record<string, any> | undefined;
1592
+ udm?: string | undefined;
1593
+ unifiedFields?: Record<string, any> | undefined;
1594
+ rawFields?: Record<string, any> | undefined;
1595
+ createdTime?: string | undefined;
1596
+ updatedTime?: string | undefined;
1597
+ deletedTime?: string | undefined;
1598
+ createdById?: string | undefined;
1599
+ updatedById?: string | undefined;
1600
+ };
1601
+ }>;
1602
+ export declare const DataCollectionMatchRequest: z.ZodObject<{
1603
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1604
+ } & {
1605
+ query: z.ZodRecord<z.ZodString, z.ZodAny>;
1606
+ }, "strip", z.ZodTypeAny, {
1235
1607
  query: Record<string, any>;
1236
- }
1237
- export interface DataCollectionMatchResponse {
1238
- record?: DataRecord;
1239
- }
1240
- export interface DataCollectionCreateRequest extends DataCollectionMethodRequest {
1608
+ parameters?: Record<string, any> | undefined;
1609
+ }, {
1610
+ query: Record<string, any>;
1611
+ parameters?: Record<string, any> | undefined;
1612
+ }>;
1613
+ export declare const DataCollectionMatchResponse: z.ZodObject<{
1614
+ record: z.ZodOptional<z.ZodObject<{
1615
+ id: z.ZodString;
1616
+ name: z.ZodOptional<z.ZodString>;
1617
+ uri: z.ZodOptional<z.ZodString>;
1618
+ iconUri: z.ZodOptional<z.ZodString>;
1619
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1620
+ udm: z.ZodOptional<z.ZodString>;
1621
+ unifiedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1622
+ rawFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1623
+ createdTime: z.ZodOptional<z.ZodString>;
1624
+ updatedTime: z.ZodOptional<z.ZodString>;
1625
+ deletedTime: z.ZodOptional<z.ZodString>;
1626
+ createdById: z.ZodOptional<z.ZodString>;
1627
+ updatedById: z.ZodOptional<z.ZodString>;
1628
+ }, "strip", z.ZodTypeAny, {
1629
+ id: string;
1630
+ name?: string | undefined;
1631
+ uri?: string | undefined;
1632
+ iconUri?: string | undefined;
1633
+ fields?: Record<string, any> | undefined;
1634
+ udm?: string | undefined;
1635
+ unifiedFields?: Record<string, any> | undefined;
1636
+ rawFields?: Record<string, any> | undefined;
1637
+ createdTime?: string | undefined;
1638
+ updatedTime?: string | undefined;
1639
+ deletedTime?: string | undefined;
1640
+ createdById?: string | undefined;
1641
+ updatedById?: string | undefined;
1642
+ }, {
1643
+ id: string;
1644
+ name?: string | undefined;
1645
+ uri?: string | undefined;
1646
+ iconUri?: string | undefined;
1647
+ fields?: Record<string, any> | undefined;
1648
+ udm?: string | undefined;
1649
+ unifiedFields?: Record<string, any> | undefined;
1650
+ rawFields?: Record<string, any> | undefined;
1651
+ createdTime?: string | undefined;
1652
+ updatedTime?: string | undefined;
1653
+ deletedTime?: string | undefined;
1654
+ createdById?: string | undefined;
1655
+ updatedById?: string | undefined;
1656
+ }>>;
1657
+ }, "strip", z.ZodTypeAny, {
1658
+ record?: {
1659
+ id: string;
1660
+ name?: string | undefined;
1661
+ uri?: string | undefined;
1662
+ iconUri?: string | undefined;
1663
+ fields?: Record<string, any> | undefined;
1664
+ udm?: string | undefined;
1665
+ unifiedFields?: Record<string, any> | undefined;
1666
+ rawFields?: Record<string, any> | undefined;
1667
+ createdTime?: string | undefined;
1668
+ updatedTime?: string | undefined;
1669
+ deletedTime?: string | undefined;
1670
+ createdById?: string | undefined;
1671
+ updatedById?: string | undefined;
1672
+ } | undefined;
1673
+ }, {
1674
+ record?: {
1675
+ id: string;
1676
+ name?: string | undefined;
1677
+ uri?: string | undefined;
1678
+ iconUri?: string | undefined;
1679
+ fields?: Record<string, any> | undefined;
1680
+ udm?: string | undefined;
1681
+ unifiedFields?: Record<string, any> | undefined;
1682
+ rawFields?: Record<string, any> | undefined;
1683
+ createdTime?: string | undefined;
1684
+ updatedTime?: string | undefined;
1685
+ deletedTime?: string | undefined;
1686
+ createdById?: string | undefined;
1687
+ updatedById?: string | undefined;
1688
+ } | undefined;
1689
+ }>;
1690
+ export declare const DataCollectionCreateRequest: z.ZodObject<{
1691
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1692
+ } & {
1693
+ fields: z.ZodRecord<z.ZodString, z.ZodAny>;
1694
+ }, "strip", z.ZodTypeAny, {
1241
1695
  fields: Record<string, any>;
1242
- }
1243
- export interface DataCollectionCreateResponse {
1696
+ parameters?: Record<string, any> | undefined;
1697
+ }, {
1698
+ fields: Record<string, any>;
1699
+ parameters?: Record<string, any> | undefined;
1700
+ }>;
1701
+ export declare const DataCollectionCreateResponse: z.ZodObject<{
1702
+ id: z.ZodString;
1703
+ }, "strip", z.ZodTypeAny, {
1244
1704
  id: string;
1245
- }
1246
- export interface DataCollectionUpdateRequest extends DataCollectionMethodRequest {
1705
+ }, {
1706
+ id: string;
1707
+ }>;
1708
+ export declare const DataCollectionUpdateRequest: z.ZodObject<{
1709
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1710
+ } & {
1711
+ id: z.ZodString;
1712
+ fields: z.ZodRecord<z.ZodString, z.ZodAny>;
1713
+ }, "strip", z.ZodTypeAny, {
1247
1714
  id: string;
1248
1715
  fields: Record<string, any>;
1249
- }
1250
- export interface DataCollectionUpdateResponse {
1716
+ parameters?: Record<string, any> | undefined;
1717
+ }, {
1251
1718
  id: string;
1252
- }
1253
- export interface DataCollectionDeleteRequest extends DataCollectionMethodRequest {
1719
+ fields: Record<string, any>;
1720
+ parameters?: Record<string, any> | undefined;
1721
+ }>;
1722
+ export declare const DataCollectionUpdateResponse: z.ZodObject<{
1723
+ id: z.ZodString;
1724
+ }, "strip", z.ZodTypeAny, {
1254
1725
  id: string;
1255
- }
1256
- export interface DataCollectionDeleteResponse {
1257
- }
1726
+ }, {
1727
+ id: string;
1728
+ }>;
1729
+ export declare const DataCollectionDeleteRequest: z.ZodObject<{
1730
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1731
+ } & {
1732
+ id: z.ZodString;
1733
+ }, "strip", z.ZodTypeAny, {
1734
+ id: string;
1735
+ parameters?: Record<string, any> | undefined;
1736
+ }, {
1737
+ id: string;
1738
+ parameters?: Record<string, any> | undefined;
1739
+ }>;
1740
+ export declare const DataCollectionDeleteResponse: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1741
+ export type DataCollectionMethodRequest = z.infer<typeof DataCollectionMethodRequest>;
1742
+ export type DataCollectionFindRequest = z.infer<typeof DataCollectionFindRequest>;
1743
+ export type DataCollectionFindResponse = z.infer<typeof DataCollectionFindResponse>;
1744
+ export type DataCollectionListRequest = z.infer<typeof DataCollectionListRequest>;
1745
+ export type DataCollectionListResponseDrilldown = z.infer<typeof DataCollectionListResponseDrilldown>;
1746
+ export type DataCollectionListResponse = z.infer<typeof DataCollectionListResponse>;
1747
+ export type DataCollectionSearchRequest = z.infer<typeof DataCollectionSearchRequest>;
1748
+ export type DataCollectionSearchResponse = z.infer<typeof DataCollectionSearchResponse>;
1749
+ export type DataCollectionFindByIdRequest = z.infer<typeof DataCollectionFindByIdRequest>;
1750
+ export type DataCollectionFindByIdResponse = z.infer<typeof DataCollectionFindByIdResponse>;
1751
+ export type DataCollectionMatchRequest = z.infer<typeof DataCollectionMatchRequest>;
1752
+ export type DataCollectionMatchResponse = z.infer<typeof DataCollectionMatchResponse>;
1753
+ export type DataCollectionCreateRequest = z.infer<typeof DataCollectionCreateRequest>;
1754
+ export type DataCollectionCreateResponse = z.infer<typeof DataCollectionCreateResponse>;
1755
+ export type DataCollectionUpdateRequest = z.infer<typeof DataCollectionUpdateRequest>;
1756
+ export type DataCollectionUpdateResponse = z.infer<typeof DataCollectionUpdateResponse>;
1757
+ export type DataCollectionDeleteRequest = z.infer<typeof DataCollectionDeleteRequest>;
1758
+ export type DataCollectionDeleteResponse = z.infer<typeof DataCollectionDeleteResponse>;
1258
1759
  export interface DataCollectionSubscribeRequest extends DataCollectionMethodRequest {
1259
1760
  events?: {
1260
1761
  created?: boolean;
@@ -1302,28 +1803,28 @@ export interface DataCollectionParseUnifiedFieldsResponse {
1302
1803
  }
1303
1804
  export declare const ConnectorDataLocationTypes: {
1304
1805
  collection: {
1305
- spec: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1306
- recordFromFields: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1307
- customFieldsSchema: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1308
- fieldsFromApi: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1309
- fieldsToApi: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1806
+ spec: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1807
+ recordFromFields: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1808
+ customFieldsSchema: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1809
+ fieldsFromApi: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1810
+ fieldsToApi: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1310
1811
  methods: {
1311
- list: import("./collections/methods/base").ConnectorDataCollectionMethodType<import("./collections/methods/list").DataCollectionListConfigType>;
1312
- findById: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1313
- match: import("./collections/methods/base").ConnectorDataCollectionMethodType<import("./collections/methods/match").DataCollectionMatchConfigType>;
1314
- search: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1315
- create: import("./collections/methods/base").ConnectorDataCollectionMethodType<import("./collections/methods/create").DataCollectionCreateConfigType>;
1316
- update: import("./collections/methods/base").ConnectorDataCollectionMethodType<import("./collections/methods/update").DataCollectionUpdateConfigType>;
1317
- delete: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1318
- find: import("./collections/methods/base").ConnectorDataCollectionMethodType<{
1812
+ list: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<import("./data-locations/collections/methods/list").DataCollectionListConfigType>;
1813
+ findById: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1814
+ match: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<import("./data-locations/collections/methods/match").DataCollectionMatchConfigType>;
1815
+ search: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1816
+ create: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<import("./data-locations/collections/methods/create").DataCollectionCreateConfigType>;
1817
+ update: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<import("./data-locations/collections/methods/update").DataCollectionUpdateConfigType>;
1818
+ delete: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1819
+ find: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<{
1319
1820
  queryFields: string[];
1320
1821
  }>;
1321
1822
  };
1322
- recordToApi: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1323
- recordFromApi: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1324
- recordFromApiMapping: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1325
- recordFromApiCode: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1326
- fieldsToApiMapping: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1327
- fieldsToApiCode: import("./collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1823
+ recordToApi: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1824
+ recordFromApi: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1825
+ recordFromApiMapping: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1826
+ recordFromApiCode: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1827
+ fieldsToApiMapping: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1828
+ fieldsToApiCode: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
1328
1829
  };
1329
1830
  };