@algolia/ingestion 1.0.0-alpha.9 → 1.0.0-beta.2

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 (409) hide show
  1. package/dist/builds/browser.d.ts +52 -5
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +52 -5
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/ingestion.cjs +1332 -0
  6. package/dist/ingestion.esm.browser.js +1488 -969
  7. package/dist/ingestion.esm.node.js +1319 -819
  8. package/dist/ingestion.umd.js +2 -2
  9. package/dist/model/actionType.d.ts +4 -1
  10. package/dist/model/actionType.d.ts.map +1 -1
  11. package/dist/model/authAPIKey.d.ts +9 -3
  12. package/dist/model/authAPIKey.d.ts.map +1 -1
  13. package/dist/model/authAPIKeyPartial.d.ts +10 -0
  14. package/dist/model/authAPIKeyPartial.d.ts.map +1 -0
  15. package/dist/model/authAlgolia.d.ts +13 -4
  16. package/dist/model/authAlgolia.d.ts.map +1 -1
  17. package/dist/model/authAlgoliaInsights.d.ts +14 -0
  18. package/dist/model/authAlgoliaInsights.d.ts.map +1 -0
  19. package/dist/model/authAlgoliaInsightsPartial.d.ts +14 -0
  20. package/dist/model/authAlgoliaInsightsPartial.d.ts.map +1 -0
  21. package/dist/model/authAlgoliaPartial.d.ts +14 -0
  22. package/dist/model/authAlgoliaPartial.d.ts.map +1 -0
  23. package/dist/model/authBasic.d.ts +13 -4
  24. package/dist/model/authBasic.d.ts.map +1 -1
  25. package/dist/model/authBasicPartial.d.ts +14 -0
  26. package/dist/model/authBasicPartial.d.ts.map +1 -0
  27. package/dist/model/authGoogleServiceAccount.d.ts +13 -4
  28. package/dist/model/authGoogleServiceAccount.d.ts.map +1 -1
  29. package/dist/model/authGoogleServiceAccountPartial.d.ts +14 -0
  30. package/dist/model/authGoogleServiceAccountPartial.d.ts.map +1 -0
  31. package/dist/model/authInput.d.ts +7 -6
  32. package/dist/model/authInput.d.ts.map +1 -1
  33. package/dist/model/authInputPartial.d.ts +8 -0
  34. package/dist/model/authInputPartial.d.ts.map +1 -0
  35. package/dist/model/authOAuth.d.ts +21 -6
  36. package/dist/model/authOAuth.d.ts.map +1 -1
  37. package/dist/model/authOAuthPartial.d.ts +22 -0
  38. package/dist/model/authOAuthPartial.d.ts.map +1 -0
  39. package/dist/model/authentication.d.ts +27 -16
  40. package/dist/model/authentication.d.ts.map +1 -1
  41. package/dist/model/authenticationCreate.d.ts +15 -9
  42. package/dist/model/authenticationCreate.d.ts.map +1 -1
  43. package/dist/model/authenticationCreateResponse.d.ts +17 -8
  44. package/dist/model/authenticationCreateResponse.d.ts.map +1 -1
  45. package/dist/model/authenticationSearch.d.ts +7 -0
  46. package/dist/model/authenticationSearch.d.ts.map +1 -0
  47. package/dist/model/authenticationSortKeys.d.ts +5 -0
  48. package/dist/model/authenticationSortKeys.d.ts.map +1 -0
  49. package/dist/model/authenticationType.d.ts +4 -1
  50. package/dist/model/authenticationType.d.ts.map +1 -1
  51. package/dist/model/authenticationUpdate.d.ts +15 -9
  52. package/dist/model/authenticationUpdate.d.ts.map +1 -1
  53. package/dist/model/authenticationUpdateResponse.d.ts +17 -8
  54. package/dist/model/authenticationUpdateResponse.d.ts.map +1 -1
  55. package/dist/model/bigCommerceChannel.d.ts +11 -0
  56. package/dist/model/bigCommerceChannel.d.ts.map +1 -0
  57. package/dist/model/bigCommerceMetafield.d.ts +11 -0
  58. package/dist/model/bigCommerceMetafield.d.ts.map +1 -0
  59. package/dist/model/bigQueryDataType.d.ts +2 -0
  60. package/dist/model/bigQueryDataType.d.ts.map +1 -0
  61. package/dist/model/clientMethodProps.d.ts +465 -282
  62. package/dist/model/clientMethodProps.d.ts.map +1 -1
  63. package/dist/model/commercetoolsCustomFields.d.ts +18 -0
  64. package/dist/model/commercetoolsCustomFields.d.ts.map +1 -0
  65. package/dist/model/deleteResponse.d.ts +6 -6
  66. package/dist/model/deleteResponse.d.ts.map +1 -1
  67. package/dist/model/destination.d.ts +29 -17
  68. package/dist/model/destination.d.ts.map +1 -1
  69. package/dist/model/destinationCreate.d.ts +17 -8
  70. package/dist/model/destinationCreate.d.ts.map +1 -1
  71. package/dist/model/destinationCreateResponse.d.ts +17 -8
  72. package/dist/model/destinationCreateResponse.d.ts.map +1 -1
  73. package/dist/model/destinationIndexName.d.ts +12 -3
  74. package/dist/model/destinationIndexName.d.ts.map +1 -1
  75. package/dist/model/destinationIndexPrefix.d.ts +6 -3
  76. package/dist/model/destinationIndexPrefix.d.ts.map +1 -1
  77. package/dist/model/destinationInput.d.ts +3 -3
  78. package/dist/model/destinationInput.d.ts.map +1 -1
  79. package/dist/model/destinationSearch.d.ts +7 -0
  80. package/dist/model/destinationSearch.d.ts.map +1 -0
  81. package/dist/model/destinationSortKeys.d.ts +5 -0
  82. package/dist/model/destinationSortKeys.d.ts.map +1 -0
  83. package/dist/model/destinationType.d.ts +4 -1
  84. package/dist/model/destinationType.d.ts.map +1 -1
  85. package/dist/model/destinationUpdate.d.ts +17 -8
  86. package/dist/model/destinationUpdate.d.ts.map +1 -1
  87. package/dist/model/destinationUpdateResponse.d.ts +17 -8
  88. package/dist/model/destinationUpdateResponse.d.ts.map +1 -1
  89. package/dist/model/dockerImageType.d.ts +5 -0
  90. package/dist/model/dockerImageType.d.ts.map +1 -0
  91. package/dist/model/dockerRegistry.d.ts +5 -0
  92. package/dist/model/dockerRegistry.d.ts.map +1 -0
  93. package/dist/model/dockerSourceDiscover.d.ts +11 -0
  94. package/dist/model/dockerSourceDiscover.d.ts.map +1 -0
  95. package/dist/model/dockerSourceStreams.d.ts +4 -0
  96. package/dist/model/dockerSourceStreams.d.ts.map +1 -0
  97. package/dist/model/errorBase.d.ts +6 -6
  98. package/dist/model/errorBase.d.ts.map +1 -1
  99. package/dist/model/event.d.ts +30 -14
  100. package/dist/model/event.d.ts.map +1 -1
  101. package/dist/model/eventSortKeys.d.ts +5 -0
  102. package/dist/model/eventSortKeys.d.ts.map +1 -0
  103. package/dist/model/eventStatus.d.ts +1 -1
  104. package/dist/model/eventStatus.d.ts.map +1 -1
  105. package/dist/model/eventType.d.ts +1 -1
  106. package/dist/model/eventType.d.ts.map +1 -1
  107. package/dist/model/index.d.ts +126 -63
  108. package/dist/model/index.d.ts.map +1 -1
  109. package/dist/model/listAuthenticationsResponse.d.ts +6 -6
  110. package/dist/model/listAuthenticationsResponse.d.ts.map +1 -1
  111. package/dist/model/listDestinationsResponse.d.ts +6 -6
  112. package/dist/model/listDestinationsResponse.d.ts.map +1 -1
  113. package/dist/model/listEventsResponse.d.ts +8 -6
  114. package/dist/model/listEventsResponse.d.ts.map +1 -1
  115. package/dist/model/listSourcesResponse.d.ts +6 -6
  116. package/dist/model/listSourcesResponse.d.ts.map +1 -1
  117. package/dist/model/listTasksResponse.d.ts +9 -6
  118. package/dist/model/listTasksResponse.d.ts.map +1 -1
  119. package/dist/model/mappingFieldDirective.d.ts +14 -0
  120. package/dist/model/mappingFieldDirective.d.ts.map +1 -0
  121. package/dist/model/mappingFormatSchema.d.ts +5 -0
  122. package/dist/model/mappingFormatSchema.d.ts.map +1 -0
  123. package/dist/model/mappingInput.d.ts +10 -0
  124. package/dist/model/mappingInput.d.ts.map +1 -0
  125. package/dist/model/mappingKitAction.d.ts +20 -0
  126. package/dist/model/mappingKitAction.d.ts.map +1 -0
  127. package/dist/model/mappingTypeCSV.d.ts +2 -0
  128. package/dist/model/mappingTypeCSV.d.ts.map +1 -0
  129. package/dist/model/methodType.d.ts +4 -1
  130. package/dist/model/methodType.d.ts.map +1 -1
  131. package/dist/model/onDemandDateUtilsInput.d.ts +16 -0
  132. package/dist/model/onDemandDateUtilsInput.d.ts.map +1 -0
  133. package/dist/model/onDemandTrigger.d.ts +12 -0
  134. package/dist/model/onDemandTrigger.d.ts.map +1 -0
  135. package/dist/model/onDemandTriggerInput.d.ts +8 -0
  136. package/dist/model/onDemandTriggerInput.d.ts.map +1 -0
  137. package/dist/model/onDemandTriggerType.d.ts +5 -0
  138. package/dist/model/onDemandTriggerType.d.ts.map +1 -0
  139. package/dist/model/orderKeys.d.ts +5 -0
  140. package/dist/model/orderKeys.d.ts.map +1 -0
  141. package/dist/model/pagination.d.ts +21 -6
  142. package/dist/model/pagination.d.ts.map +1 -1
  143. package/dist/model/platform.d.ts +5 -0
  144. package/dist/model/platform.d.ts.map +1 -0
  145. package/dist/model/platformNone.d.ts +5 -0
  146. package/dist/model/platformNone.d.ts.map +1 -0
  147. package/dist/model/platformWithNone.d.ts +4 -0
  148. package/dist/model/platformWithNone.d.ts.map +1 -0
  149. package/dist/model/recordType.d.ts +5 -0
  150. package/dist/model/recordType.d.ts.map +1 -0
  151. package/dist/model/run.d.ts +41 -29
  152. package/dist/model/run.d.ts.map +1 -1
  153. package/dist/model/runListResponse.d.ts +8 -6
  154. package/dist/model/runListResponse.d.ts.map +1 -1
  155. package/dist/model/runOutcome.d.ts +4 -1
  156. package/dist/model/runOutcome.d.ts.map +1 -1
  157. package/dist/model/runProgress.d.ts +4 -4
  158. package/dist/model/runProgress.d.ts.map +1 -1
  159. package/dist/model/runReasonCode.d.ts +5 -0
  160. package/dist/model/runReasonCode.d.ts.map +1 -0
  161. package/dist/model/runResponse.d.ts +13 -7
  162. package/dist/model/runResponse.d.ts.map +1 -1
  163. package/dist/model/runSortKeys.d.ts +5 -0
  164. package/dist/model/runSortKeys.d.ts.map +1 -0
  165. package/dist/model/runStatus.d.ts +4 -1
  166. package/dist/model/runStatus.d.ts.map +1 -1
  167. package/dist/model/runType.d.ts +4 -1
  168. package/dist/model/runType.d.ts.map +1 -1
  169. package/dist/model/scheduleDateUtilsInput.d.ts +12 -0
  170. package/dist/model/scheduleDateUtilsInput.d.ts.map +1 -0
  171. package/dist/model/scheduleTrigger.d.ts +20 -0
  172. package/dist/model/scheduleTrigger.d.ts.map +1 -0
  173. package/dist/model/scheduleTriggerInput.d.ts +12 -0
  174. package/dist/model/scheduleTriggerInput.d.ts.map +1 -0
  175. package/dist/model/scheduleTriggerType.d.ts +5 -0
  176. package/dist/model/scheduleTriggerType.d.ts.map +1 -0
  177. package/dist/model/shopifyInput.d.ts +10 -0
  178. package/dist/model/shopifyInput.d.ts.map +1 -0
  179. package/dist/model/shopifyMarket.d.ts +9 -0
  180. package/dist/model/shopifyMarket.d.ts.map +1 -0
  181. package/dist/model/shopifyMetafield.d.ts +9 -0
  182. package/dist/model/shopifyMetafield.d.ts.map +1 -0
  183. package/dist/model/source.d.ts +23 -17
  184. package/dist/model/source.d.ts.map +1 -1
  185. package/dist/model/sourceBigCommerce.d.ts +12 -3
  186. package/dist/model/sourceBigCommerce.d.ts.map +1 -1
  187. package/dist/model/sourceBigQuery.d.ts +29 -0
  188. package/dist/model/sourceBigQuery.d.ts.map +1 -0
  189. package/dist/model/sourceCSV.d.ts +22 -0
  190. package/dist/model/sourceCSV.d.ts.map +1 -0
  191. package/dist/model/sourceCommercetools.d.ts +15 -9
  192. package/dist/model/sourceCommercetools.d.ts.map +1 -1
  193. package/dist/model/sourceCreate.d.ts +14 -8
  194. package/dist/model/sourceCreate.d.ts.map +1 -1
  195. package/dist/model/sourceCreateResponse.d.ts +14 -8
  196. package/dist/model/sourceCreateResponse.d.ts.map +1 -1
  197. package/dist/model/sourceDocker.d.ts +19 -0
  198. package/dist/model/sourceDocker.d.ts.map +1 -0
  199. package/dist/model/sourceGA4BigQueryExport.d.ts +15 -0
  200. package/dist/model/sourceGA4BigQueryExport.d.ts.map +1 -0
  201. package/dist/model/sourceInput.d.ts +9 -4
  202. package/dist/model/sourceInput.d.ts.map +1 -1
  203. package/dist/model/sourceJSON.d.ts +13 -0
  204. package/dist/model/sourceJSON.d.ts.map +1 -0
  205. package/dist/model/sourceSearch.d.ts +4 -0
  206. package/dist/model/sourceSearch.d.ts.map +1 -0
  207. package/dist/model/sourceShopify.d.ts +4 -0
  208. package/dist/model/sourceShopify.d.ts.map +1 -0
  209. package/dist/model/sourceShopifyBase.d.ts +7 -0
  210. package/dist/model/sourceShopifyBase.d.ts.map +1 -0
  211. package/dist/model/sourceSortKeys.d.ts +5 -0
  212. package/dist/model/sourceSortKeys.d.ts.map +1 -0
  213. package/dist/model/sourceType.d.ts +1 -1
  214. package/dist/model/sourceType.d.ts.map +1 -1
  215. package/dist/model/sourceUpdate.d.ts +12 -8
  216. package/dist/model/sourceUpdate.d.ts.map +1 -1
  217. package/dist/model/sourceUpdateCommercetools.d.ts +15 -0
  218. package/dist/model/sourceUpdateCommercetools.d.ts.map +1 -0
  219. package/dist/model/sourceUpdateDocker.d.ts +17 -0
  220. package/dist/model/sourceUpdateDocker.d.ts.map +1 -0
  221. package/dist/model/sourceUpdateInput.d.ts +9 -0
  222. package/dist/model/sourceUpdateInput.d.ts.map +1 -0
  223. package/dist/model/sourceUpdateResponse.d.ts +14 -8
  224. package/dist/model/sourceUpdateResponse.d.ts.map +1 -1
  225. package/dist/model/sourceUpdateShopify.d.ts +31 -0
  226. package/dist/model/sourceUpdateShopify.d.ts.map +1 -0
  227. package/dist/model/streamingTrigger.d.ts +8 -0
  228. package/dist/model/streamingTrigger.d.ts.map +1 -0
  229. package/dist/model/streamingTriggerType.d.ts +5 -0
  230. package/dist/model/streamingTriggerType.d.ts.map +1 -0
  231. package/dist/model/streamingUtilsInput.d.ts +8 -0
  232. package/dist/model/streamingUtilsInput.d.ts.map +1 -0
  233. package/dist/model/subscriptionTrigger.d.ts +8 -0
  234. package/dist/model/subscriptionTrigger.d.ts.map +1 -0
  235. package/dist/model/subscriptionTriggerType.d.ts +5 -0
  236. package/dist/model/subscriptionTriggerType.d.ts.map +1 -0
  237. package/dist/model/task.d.ts +36 -18
  238. package/dist/model/task.d.ts.map +1 -1
  239. package/dist/model/taskCreate.d.ts +27 -9
  240. package/dist/model/taskCreate.d.ts.map +1 -1
  241. package/dist/model/taskCreateResponse.d.ts +13 -7
  242. package/dist/model/taskCreateResponse.d.ts.map +1 -1
  243. package/dist/model/taskCreateTrigger.d.ts +6 -0
  244. package/dist/model/taskCreateTrigger.d.ts.map +1 -0
  245. package/dist/model/taskInput.d.ts +9 -0
  246. package/dist/model/taskInput.d.ts.map +1 -0
  247. package/dist/model/taskSearch.d.ts +4 -0
  248. package/dist/model/taskSearch.d.ts.map +1 -0
  249. package/dist/model/taskSortKeys.d.ts +5 -0
  250. package/dist/model/taskSortKeys.d.ts.map +1 -0
  251. package/dist/model/taskUpdate.d.ts +21 -6
  252. package/dist/model/taskUpdate.d.ts.map +1 -1
  253. package/dist/model/taskUpdateResponse.d.ts +13 -7
  254. package/dist/model/taskUpdateResponse.d.ts.map +1 -1
  255. package/dist/model/trigger.d.ts +8 -13
  256. package/dist/model/trigger.d.ts.map +1 -1
  257. package/dist/model/triggerType.d.ts +4 -1
  258. package/dist/model/triggerType.d.ts.map +1 -1
  259. package/dist/model/triggerUpdateInput.d.ts +10 -0
  260. package/dist/model/triggerUpdateInput.d.ts.map +1 -0
  261. package/dist/model/window.d.ts +14 -0
  262. package/dist/model/window.d.ts.map +1 -0
  263. package/dist/src/ingestionClient.d.ts +574 -325
  264. package/dist/src/ingestionClient.d.ts.map +1 -1
  265. package/index.js +1 -1
  266. package/model/actionType.ts +5 -2
  267. package/model/authAPIKey.ts +7 -1
  268. package/model/authAPIKeyPartial.ts +11 -0
  269. package/model/authAlgolia.ts +10 -1
  270. package/model/authAlgoliaInsights.ts +16 -0
  271. package/model/authAlgoliaInsightsPartial.ts +16 -0
  272. package/model/authAlgoliaPartial.ts +16 -0
  273. package/model/authBasic.ts +10 -1
  274. package/model/authBasicPartial.ts +16 -0
  275. package/model/authGoogleServiceAccount.ts +10 -1
  276. package/model/authGoogleServiceAccountPartial.ts +16 -0
  277. package/model/authInput.ts +3 -1
  278. package/model/authInputPartial.ts +16 -0
  279. package/model/authOAuth.ts +16 -1
  280. package/model/authOAuthPartial.ts +26 -0
  281. package/model/authentication.ts +17 -5
  282. package/model/authenticationCreate.ts +9 -3
  283. package/model/authenticationCreateResponse.ts +11 -2
  284. package/model/authenticationSearch.ts +8 -0
  285. package/model/authenticationSortKeys.ts +11 -0
  286. package/model/authenticationType.ts +5 -1
  287. package/model/authenticationUpdate.ts +11 -5
  288. package/model/authenticationUpdateResponse.ts +11 -2
  289. package/model/bigCommerceChannel.ts +13 -0
  290. package/model/bigCommerceMetafield.ts +13 -0
  291. package/model/bigQueryDataType.ts +3 -0
  292. package/model/clientMethodProps.ts +236 -48
  293. package/model/commercetoolsCustomFields.ts +21 -0
  294. package/model/deleteResponse.ts +2 -2
  295. package/model/destination.ts +15 -3
  296. package/model/destinationCreate.ts +11 -2
  297. package/model/destinationCreateResponse.ts +11 -2
  298. package/model/destinationIndexName.ts +13 -1
  299. package/model/destinationIndexPrefix.ts +4 -1
  300. package/model/destinationInput.ts +1 -1
  301. package/model/destinationSearch.ts +8 -0
  302. package/model/destinationSortKeys.ts +6 -0
  303. package/model/destinationType.ts +5 -2
  304. package/model/destinationUpdate.ts +10 -1
  305. package/model/destinationUpdateResponse.ts +11 -2
  306. package/model/dockerImageType.ts +6 -0
  307. package/model/dockerRegistry.ts +6 -0
  308. package/model/dockerSourceDiscover.ts +13 -0
  309. package/model/dockerSourceStreams.ts +5 -0
  310. package/model/errorBase.ts +1 -1
  311. package/model/event.ts +19 -2
  312. package/model/eventSortKeys.ts +6 -0
  313. package/model/eventStatus.ts +2 -1
  314. package/model/eventType.ts +2 -2
  315. package/model/index.ts +69 -6
  316. package/model/listAuthenticationsResponse.ts +1 -1
  317. package/model/listDestinationsResponse.ts +1 -1
  318. package/model/listEventsResponse.ts +4 -1
  319. package/model/listSourcesResponse.ts +1 -1
  320. package/model/listTasksResponse.ts +4 -1
  321. package/model/mappingFieldDirective.ts +16 -0
  322. package/model/mappingFormatSchema.ts +6 -0
  323. package/model/mappingInput.ts +13 -0
  324. package/model/mappingKitAction.ts +25 -0
  325. package/model/mappingTypeCSV.ts +8 -0
  326. package/model/methodType.ts +4 -1
  327. package/model/onDemandDateUtilsInput.ts +20 -0
  328. package/model/onDemandTrigger.ts +15 -0
  329. package/model/onDemandTriggerInput.ts +10 -0
  330. package/model/onDemandTriggerType.ts +6 -0
  331. package/model/orderKeys.ts +6 -0
  332. package/model/pagination.ts +16 -1
  333. package/model/platform.ts +6 -0
  334. package/model/platformNone.ts +6 -0
  335. package/model/platformWithNone.ts +6 -0
  336. package/model/recordType.ts +6 -0
  337. package/model/run.ts +22 -8
  338. package/model/runListResponse.ts +4 -1
  339. package/model/runOutcome.ts +5 -2
  340. package/model/runProgress.ts +1 -1
  341. package/model/runReasonCode.ts +13 -0
  342. package/model/runResponse.ts +8 -2
  343. package/model/runSortKeys.ts +6 -0
  344. package/model/runStatus.ts +10 -2
  345. package/model/runType.ts +5 -2
  346. package/model/scheduleDateUtilsInput.ts +15 -0
  347. package/model/scheduleTrigger.ts +25 -0
  348. package/model/scheduleTriggerInput.ts +15 -0
  349. package/model/scheduleTriggerType.ts +6 -0
  350. package/model/shopifyInput.ts +13 -0
  351. package/model/shopifyMarket.ts +12 -0
  352. package/model/shopifyMetafield.ts +12 -0
  353. package/model/source.ts +9 -3
  354. package/model/sourceBigCommerce.ts +16 -2
  355. package/model/sourceBigQuery.ts +37 -0
  356. package/model/sourceCSV.ts +28 -0
  357. package/model/sourceCommercetools.ts +11 -2
  358. package/model/sourceCreate.ts +8 -2
  359. package/model/sourceCreateResponse.ts +8 -2
  360. package/model/sourceDocker.ts +25 -0
  361. package/model/sourceGA4BigQueryExport.ts +18 -0
  362. package/model/sourceInput.ts +16 -3
  363. package/model/sourceJSON.ts +17 -0
  364. package/model/sourceSearch.ts +5 -0
  365. package/model/sourceShopify.ts +6 -0
  366. package/model/sourceShopifyBase.ts +8 -0
  367. package/model/sourceSortKeys.ts +6 -0
  368. package/model/sourceType.ts +11 -2
  369. package/model/sourceUpdate.ts +9 -6
  370. package/model/sourceUpdateCommercetools.ts +21 -0
  371. package/model/sourceUpdateDocker.ts +22 -0
  372. package/model/sourceUpdateInput.ts +18 -0
  373. package/model/sourceUpdateResponse.ts +8 -2
  374. package/model/sourceUpdateShopify.ts +38 -0
  375. package/model/streamingTrigger.ts +10 -0
  376. package/model/streamingTriggerType.ts +6 -0
  377. package/model/streamingUtilsInput.ts +10 -0
  378. package/model/subscriptionTrigger.ts +10 -0
  379. package/model/subscriptionTriggerType.ts +6 -0
  380. package/model/task.ts +24 -4
  381. package/model/taskCreate.ts +23 -3
  382. package/model/taskCreateResponse.ts +8 -2
  383. package/model/taskCreateTrigger.ts +12 -0
  384. package/model/taskInput.ts +15 -0
  385. package/model/taskSearch.ts +5 -0
  386. package/model/taskSortKeys.ts +11 -0
  387. package/model/taskUpdate.ts +20 -3
  388. package/model/taskUpdateResponse.ts +8 -2
  389. package/model/trigger.ts +15 -19
  390. package/model/triggerType.ts +9 -2
  391. package/model/triggerUpdateInput.ts +11 -0
  392. package/model/window.ts +16 -0
  393. package/package.json +10 -9
  394. package/dist/ingestion.cjs.js +0 -831
  395. package/dist/model/authenticationInput.d.ts +0 -5
  396. package/dist/model/authenticationInput.d.ts.map +0 -1
  397. package/dist/model/authenticationWithInput.d.ts +0 -4
  398. package/dist/model/authenticationWithInput.d.ts.map +0 -1
  399. package/dist/model/platformType.d.ts +0 -2
  400. package/dist/model/platformType.d.ts.map +0 -1
  401. package/dist/model/sourceJson.d.ts +0 -6
  402. package/dist/model/sourceJson.d.ts.map +0 -1
  403. package/dist/model/triggerInput.d.ts +0 -6
  404. package/dist/model/triggerInput.d.ts.map +0 -1
  405. package/model/authenticationInput.ts +0 -7
  406. package/model/authenticationWithInput.ts +0 -6
  407. package/model/platformType.ts +0 -3
  408. package/model/sourceJson.ts +0 -9
  409. package/model/triggerInput.ts +0 -9
@@ -1,326 +1,575 @@
1
- import type { CreateClientOptions, RequestOptions } from '@algolia/client-common';
2
- import type { AuthenticationCreate } from '../model/authenticationCreate';
3
- import type { AuthenticationCreateResponse } from '../model/authenticationCreateResponse';
4
- import type { AuthenticationUpdateResponse } from '../model/authenticationUpdateResponse';
5
- import type { AuthenticationWithInput } from '../model/authenticationWithInput';
6
- import type { DeleteAuthenticationProps, DeleteDestinationProps, DeleteSourceProps, DeleteTaskProps, DisableTaskProps, EnableTaskProps, GetAuthenticationProps, GetAuthenticationsProps, GetDestinationProps, GetDestinationsProps, GetEventProps, GetEventsProps, GetRunProps, GetRunsProps, GetRunsByTaskIDProps, GetSourceProps, GetSourcesProps, GetTaskProps, GetTasksProps, RunTaskProps, UpdateAuthenticationProps, UpdateDestinationProps, UpdateSourceProps, UpdateTaskProps } from '../model/clientMethodProps';
7
- import type { DeleteResponse } from '../model/deleteResponse';
8
- import type { Destination } from '../model/destination';
9
- import type { DestinationCreate } from '../model/destinationCreate';
10
- import type { DestinationCreateResponse } from '../model/destinationCreateResponse';
11
- import type { DestinationUpdateResponse } from '../model/destinationUpdateResponse';
12
- import type { Event } from '../model/event';
13
- import type { ListAuthenticationsResponse } from '../model/listAuthenticationsResponse';
14
- import type { ListDestinationsResponse } from '../model/listDestinationsResponse';
15
- import type { ListEventsResponse } from '../model/listEventsResponse';
16
- import type { ListSourcesResponse } from '../model/listSourcesResponse';
17
- import type { ListTasksResponse } from '../model/listTasksResponse';
18
- import type { Run } from '../model/run';
19
- import type { RunListResponse } from '../model/runListResponse';
20
- import type { RunResponse } from '../model/runResponse';
21
- import type { Source } from '../model/source';
22
- import type { SourceCreate } from '../model/sourceCreate';
23
- import type { SourceCreateResponse } from '../model/sourceCreateResponse';
24
- import type { SourceUpdateResponse } from '../model/sourceUpdateResponse';
25
- import type { Task } from '../model/task';
26
- import type { TaskCreate } from '../model/taskCreate';
27
- import type { TaskCreateResponse } from '../model/taskCreateResponse';
28
- import type { TaskUpdateResponse } from '../model/taskUpdateResponse';
29
- export declare const apiClientVersion = "1.0.0-alpha.9";
30
- export declare const REGIONS: readonly ["us"];
31
- export declare type Region = typeof REGIONS[number];
32
- export declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...options }: CreateClientOptions & {
33
- region: Region;
34
- }): {
35
- transporter: import("@algolia/client-common").Transporter;
36
- /**
37
- * The `appId` currently in use.
38
- */
39
- appId: string;
40
- /**
41
- * Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
42
- */
43
- clearCache(): Promise<void>;
44
- /**
45
- * Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
46
- */
47
- readonly _ua: string;
48
- /**
49
- * Adds a `segment` to the `x-algolia-agent` sent with every requests.
50
- *
51
- * @param segment - The algolia agent (user-agent) segment to add.
52
- * @param version - The version of the agent.
53
- */
54
- addAlgoliaAgent(segment: string, version?: string): void;
55
- /**
56
- * Create a authentication.
57
- *
58
- * @summary Create a authentication.
59
- * @param authenticationCreate -.
60
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
61
- */
62
- createAuthentication(authenticationCreate: AuthenticationCreate, requestOptions?: RequestOptions): Promise<AuthenticationCreateResponse>;
63
- /**
64
- * Create a destination.
65
- *
66
- * @summary Create a destination.
67
- * @param destinationCreate -.
68
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
69
- */
70
- createDestination(destinationCreate: DestinationCreate, requestOptions?: RequestOptions): Promise<DestinationCreateResponse>;
71
- /**
72
- * Create a source.
73
- *
74
- * @summary Create a source.
75
- * @param sourceCreate -.
76
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
77
- */
78
- createSource(sourceCreate: SourceCreate, requestOptions?: RequestOptions): Promise<SourceCreateResponse>;
79
- /**
80
- * Create a task.
81
- *
82
- * @summary Create a task.
83
- * @param taskCreate -.
84
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
85
- */
86
- createTask(taskCreate: TaskCreate, requestOptions?: RequestOptions): Promise<TaskCreateResponse>;
87
- /**
88
- * Soft delete a authentication.
89
- *
90
- * @summary Delete a authentication.
91
- * @param deleteAuthentication - The deleteAuthentication object.
92
- * @param deleteAuthentication.authenticationID - The authentication uuid.
93
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
94
- */
95
- deleteAuthentication({ authenticationID }: DeleteAuthenticationProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
96
- /**
97
- * Soft delete a destination.
98
- *
99
- * @summary Delete a destination.
100
- * @param deleteDestination - The deleteDestination object.
101
- * @param deleteDestination.destinationID - The destination uuid.
102
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
103
- */
104
- deleteDestination({ destinationID }: DeleteDestinationProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
105
- /**
106
- * Soft delete a source.
107
- *
108
- * @summary Delete a source.
109
- * @param deleteSource - The deleteSource object.
110
- * @param deleteSource.sourceID - The source uuid.
111
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
112
- */
113
- deleteSource({ sourceID }: DeleteSourceProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
114
- /**
115
- * Soft delete a task.
116
- *
117
- * @summary Delete a task.
118
- * @param deleteTask - The deleteTask object.
119
- * @param deleteTask.taskID - The task uuid.
120
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
121
- */
122
- deleteTask({ taskID }: DeleteTaskProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
123
- /**
124
- * Disable a task.
125
- *
126
- * @summary Disable a task.
127
- * @param disableTask - The disableTask object.
128
- * @param disableTask.taskID - The task uuid.
129
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
130
- */
131
- disableTask({ taskID }: DisableTaskProps, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
132
- /**
133
- * Enable a task.
134
- *
135
- * @summary Enable a task.
136
- * @param enableTask - The enableTask object.
137
- * @param enableTask.taskID - The task uuid.
138
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
139
- */
140
- enableTask({ taskID }: EnableTaskProps, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
141
- /**
142
- * Get a authentication.
143
- *
144
- * @summary Get a authentication.
145
- * @param getAuthentication - The getAuthentication object.
146
- * @param getAuthentication.authenticationID - The authentication uuid.
147
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
148
- */
149
- getAuthentication({ authenticationID }: GetAuthenticationProps, requestOptions?: RequestOptions): Promise<AuthenticationWithInput>;
150
- /**
151
- * Get a list of authentications.
152
- *
153
- * @summary Get a list of authentications.
154
- * @param getAuthentications - The getAuthentications object.
155
- * @param getAuthentications.itemsPerPage - The number of items per page to return.
156
- * @param getAuthentications.page - The page number to fetch, starting at 1.
157
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
158
- */
159
- getAuthentications({ itemsPerPage, page }?: GetAuthenticationsProps, requestOptions?: RequestOptions | undefined): Promise<ListAuthenticationsResponse>;
160
- /**
161
- * Get a destination.
162
- *
163
- * @summary Get a destination.
164
- * @param getDestination - The getDestination object.
165
- * @param getDestination.destinationID - The destination uuid.
166
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
167
- */
168
- getDestination({ destinationID }: GetDestinationProps, requestOptions?: RequestOptions): Promise<Destination>;
169
- /**
170
- * Get a list of destinations.
171
- *
172
- * @summary Get a list of destinations.
173
- * @param getDestinations - The getDestinations object.
174
- * @param getDestinations.itemsPerPage - The number of items per page to return.
175
- * @param getDestinations.page - The page number to fetch, starting at 1.
176
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
177
- */
178
- getDestinations({ itemsPerPage, page }?: GetDestinationsProps, requestOptions?: RequestOptions | undefined): Promise<ListDestinationsResponse>;
179
- /**
180
- * Get an event in a specific run.
181
- *
182
- * @summary Get an event in a specific run.
183
- * @param getEvent - The getEvent object.
184
- * @param getEvent.runID - The run uuid.
185
- * @param getEvent.eventID - The event uuid.
186
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
187
- */
188
- getEvent({ runID, eventID }: GetEventProps, requestOptions?: RequestOptions): Promise<Event>;
189
- /**
190
- * Get a list of events for a specific run.
191
- *
192
- * @summary Get a list of events for a specific run.
193
- * @param getEvents - The getEvents object.
194
- * @param getEvents.runID - The run uuid.
195
- * @param getEvents.itemsPerPage - The number of items per page to return.
196
- * @param getEvents.page - The page number to fetch, starting at 1.
197
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
198
- */
199
- getEvents({ runID, itemsPerPage, page }: GetEventsProps, requestOptions?: RequestOptions): Promise<ListEventsResponse>;
200
- /**
201
- * Get a run.
202
- *
203
- * @summary Get a run.
204
- * @param getRun - The getRun object.
205
- * @param getRun.runID - The run uuid.
206
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
207
- */
208
- getRun({ runID }: GetRunProps, requestOptions?: RequestOptions): Promise<Run>;
209
- /**
210
- * Get a list of runs.
211
- *
212
- * @summary Get a list of runs.
213
- * @param getRuns - The getRuns object.
214
- * @param getRuns.itemsPerPage - The number of items per page to return.
215
- * @param getRuns.page - The page number to fetch, starting at 1.
216
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
217
- */
218
- getRuns({ itemsPerPage, page }?: GetRunsProps, requestOptions?: RequestOptions | undefined): Promise<RunListResponse>;
219
- /**
220
- * Get a list of runs associated with a taskID.
221
- *
222
- * @summary Get a list of runs associated with a taskID.
223
- * @param getRunsByTaskID - The getRunsByTaskID object.
224
- * @param getRunsByTaskID.taskID - The task uuid.
225
- * @param getRunsByTaskID.itemsPerPage - The number of items per page to return.
226
- * @param getRunsByTaskID.page - The page number to fetch, starting at 1.
227
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
228
- */
229
- getRunsByTaskID({ taskID, itemsPerPage, page }: GetRunsByTaskIDProps, requestOptions?: RequestOptions): Promise<RunListResponse>;
230
- /**
231
- * Get a source.
232
- *
233
- * @summary Get a source.
234
- * @param getSource - The getSource object.
235
- * @param getSource.sourceID - The source uuid.
236
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
237
- */
238
- getSource({ sourceID }: GetSourceProps, requestOptions?: RequestOptions): Promise<Source>;
239
- /**
240
- * Get a list of sources.
241
- *
242
- * @summary Get a list of sources.
243
- * @param getSources - The getSources object.
244
- * @param getSources.itemsPerPage - The number of items per page to return.
245
- * @param getSources.page - The page number to fetch, starting at 1.
246
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
247
- */
248
- getSources({ itemsPerPage, page }?: GetSourcesProps, requestOptions?: RequestOptions | undefined): Promise<ListSourcesResponse>;
249
- /**
250
- * Get a task.
251
- *
252
- * @summary Get a task.
253
- * @param getTask - The getTask object.
254
- * @param getTask.taskID - The task uuid.
255
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
256
- */
257
- getTask({ taskID }: GetTaskProps, requestOptions?: RequestOptions): Promise<Task>;
258
- /**
259
- * Get a list of tasks.
260
- *
261
- * @summary Get a list of tasks.
262
- * @param getTasks - The getTasks object.
263
- * @param getTasks.itemsPerPage - The number of items per page to return.
264
- * @param getTasks.page - The page number to fetch, starting at 1.
265
- * @param getTasks.action - Which action the returned task should have. Can be a list of string separated with commas.
266
- * @param getTasks.enabled - If the returned task should have its \'enabled\' property set to true.
267
- * @param getTasks.destinationID - Which destinationID the returned task should have. Can be a list of string separated with commas.
268
- * @param getTasks.triggerType - Which trigger type the returned task should have. Can be a list of string separated with commas.
269
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
270
- */
271
- getTasks({ itemsPerPage, page, action, enabled, destinationID, triggerType, }?: GetTasksProps, requestOptions?: RequestOptions | undefined): Promise<ListTasksResponse>;
272
- /**
273
- * Run a task.
274
- *
275
- * @summary Run a task.
276
- * @param runTask - The runTask object.
277
- * @param runTask.taskID - The task uuid.
278
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
279
- */
280
- runTask({ taskID }: RunTaskProps, requestOptions?: RequestOptions): Promise<RunResponse>;
281
- /**
282
- * Update a authentication.
283
- *
284
- * @summary Update a authentication.
285
- * @param updateAuthentication - The updateAuthentication object.
286
- * @param updateAuthentication.authenticationID - The authentication uuid.
287
- * @param updateAuthentication.authenticationUpdate - The authenticationUpdate object.
288
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
289
- */
290
- updateAuthentication({ authenticationID, authenticationUpdate }: UpdateAuthenticationProps, requestOptions?: RequestOptions): Promise<AuthenticationUpdateResponse>;
291
- /**
292
- * Update a destination.
293
- *
294
- * @summary Update a destination.
295
- * @param updateDestination - The updateDestination object.
296
- * @param updateDestination.destinationID - The destination uuid.
297
- * @param updateDestination.destinationUpdate - The destinationUpdate object.
298
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
299
- */
300
- updateDestination({ destinationID, destinationUpdate }: UpdateDestinationProps, requestOptions?: RequestOptions): Promise<DestinationUpdateResponse>;
301
- /**
302
- * Update a source.
303
- *
304
- * @summary Update a source.
305
- * @param updateSource - The updateSource object.
306
- * @param updateSource.sourceID - The source uuid.
307
- * @param updateSource.sourceUpdate - The sourceUpdate object.
308
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
309
- */
310
- updateSource({ sourceID, sourceUpdate }: UpdateSourceProps, requestOptions?: RequestOptions): Promise<SourceUpdateResponse>;
311
- /**
312
- * Update a task.
313
- *
314
- * @summary Update a task.
315
- * @param updateTask - The updateTask object.
316
- * @param updateTask.taskID - The task uuid.
317
- * @param updateTask.taskUpdate - The taskUpdate object.
318
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
319
- */
320
- updateTask({ taskID, taskUpdate }: UpdateTaskProps, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
321
- };
322
- /**
323
- * The client type.
324
- */
325
- export declare type IngestionClient = ReturnType<typeof createIngestionClient>;
1
+ import type { CreateClientOptions, RequestOptions } from '@algolia/client-common';
2
+ import type { Authentication } from '../model/authentication';
3
+ import type { AuthenticationCreate } from '../model/authenticationCreate';
4
+ import type { AuthenticationCreateResponse } from '../model/authenticationCreateResponse';
5
+ import type { AuthenticationSearch } from '../model/authenticationSearch';
6
+ import type { AuthenticationUpdateResponse } from '../model/authenticationUpdateResponse';
7
+ import type { CustomDeleteProps, CustomGetProps, CustomPostProps, CustomPutProps, DeleteAuthenticationProps, DeleteDestinationProps, DeleteSourceProps, DeleteTaskProps, DisableTaskProps, EnableTaskProps, GetAuthenticationProps, GetAuthenticationsProps, GetDestinationProps, GetDestinationsProps, GetDockerSourceStreamsProps, GetEventProps, GetEventsProps, GetRunProps, GetRunsProps, GetSourceProps, GetSourcesProps, GetTaskProps, GetTasksProps, RunTaskProps, TriggerDockerSourceDiscoverProps, UpdateAuthenticationProps, UpdateDestinationProps, UpdateSourceProps, UpdateTaskProps } from '../model/clientMethodProps';
8
+ import type { DeleteResponse } from '../model/deleteResponse';
9
+ import type { Destination } from '../model/destination';
10
+ import type { DestinationCreate } from '../model/destinationCreate';
11
+ import type { DestinationCreateResponse } from '../model/destinationCreateResponse';
12
+ import type { DestinationSearch } from '../model/destinationSearch';
13
+ import type { DestinationUpdateResponse } from '../model/destinationUpdateResponse';
14
+ import type { DockerSourceDiscover } from '../model/dockerSourceDiscover';
15
+ import type { DockerSourceStreams } from '../model/dockerSourceStreams';
16
+ import type { Event } from '../model/event';
17
+ import type { ListAuthenticationsResponse } from '../model/listAuthenticationsResponse';
18
+ import type { ListDestinationsResponse } from '../model/listDestinationsResponse';
19
+ import type { ListEventsResponse } from '../model/listEventsResponse';
20
+ import type { ListSourcesResponse } from '../model/listSourcesResponse';
21
+ import type { ListTasksResponse } from '../model/listTasksResponse';
22
+ import type { OnDemandTrigger } from '../model/onDemandTrigger';
23
+ import type { Run } from '../model/run';
24
+ import type { RunListResponse } from '../model/runListResponse';
25
+ import type { RunResponse } from '../model/runResponse';
26
+ import type { ScheduleTrigger } from '../model/scheduleTrigger';
27
+ import type { Source } from '../model/source';
28
+ import type { SourceCreate } from '../model/sourceCreate';
29
+ import type { SourceCreateResponse } from '../model/sourceCreateResponse';
30
+ import type { SourceSearch } from '../model/sourceSearch';
31
+ import type { SourceUpdateResponse } from '../model/sourceUpdateResponse';
32
+ import type { SubscriptionTrigger } from '../model/subscriptionTrigger';
33
+ import type { Task } from '../model/task';
34
+ import type { TaskCreate } from '../model/taskCreate';
35
+ import type { TaskCreateResponse } from '../model/taskCreateResponse';
36
+ import type { TaskCreateTrigger } from '../model/taskCreateTrigger';
37
+ import type { TaskSearch } from '../model/taskSearch';
38
+ import type { TaskUpdateResponse } from '../model/taskUpdateResponse';
39
+ import type { Trigger } from '../model/trigger';
40
+ export declare const apiClientVersion = "1.0.0-beta.2";
41
+ export declare const REGIONS: readonly ["eu", "us"];
42
+ export type Region = (typeof REGIONS)[number];
43
+ /**
44
+ * Guard: Return strongly typed specific OnDemandTrigger for a given Trigger.
45
+ *
46
+ * @summary Guard method that returns a strongly typed specific OnDemandTrigger for a given Trigger.
47
+ * @param trigger - The given Task Trigger.
48
+ */
49
+ export declare function isOnDemandTrigger(trigger: TaskCreateTrigger | Trigger): trigger is OnDemandTrigger;
50
+ /**
51
+ * Guard: Return strongly typed specific ScheduleTrigger for a given Trigger.
52
+ *
53
+ * @summary Guard method that returns a strongly typed specific ScheduleTrigger for a given Trigger.
54
+ * @param trigger - The given Task Trigger.
55
+ */
56
+ export declare function isScheduleTrigger(trigger: TaskCreateTrigger | Trigger): trigger is ScheduleTrigger;
57
+ /**
58
+ * Guard: Return strongly typed specific SubscriptionTrigger for a given Trigger.
59
+ *
60
+ * @summary Guard method that returns a strongly typed specific SubscriptionTrigger for a given Trigger.
61
+ * @param trigger - The given Task Trigger.
62
+ */
63
+ export declare function isSubscriptionTrigger(trigger: TaskCreateTrigger | Trigger): trigger is SubscriptionTrigger;
64
+ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...options }: CreateClientOptions & {
65
+ region: Region;
66
+ }): {
67
+ transporter: import("@algolia/client-common").Transporter;
68
+ /**
69
+ * The `appId` currently in use.
70
+ */
71
+ appId: string;
72
+ /**
73
+ * Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
74
+ */
75
+ clearCache(): Promise<void>;
76
+ /**
77
+ * Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
78
+ */
79
+ readonly _ua: string;
80
+ /**
81
+ * Adds a `segment` to the `x-algolia-agent` sent with every requests.
82
+ *
83
+ * @param segment - The algolia agent (user-agent) segment to add.
84
+ * @param version - The version of the agent.
85
+ */
86
+ addAlgoliaAgent(segment: string, version?: string): void;
87
+ /**
88
+ * Creates a new authentication resource.
89
+ *
90
+ * Required API Key ACLs:
91
+ * - addObject
92
+ * - deleteIndex
93
+ * - editSettings.
94
+ *
95
+ * @param authenticationCreate -.
96
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
97
+ */
98
+ createAuthentication(authenticationCreate: AuthenticationCreate, requestOptions?: RequestOptions): Promise<AuthenticationCreateResponse>;
99
+ /**
100
+ * Creates a new destination.
101
+ *
102
+ * Required API Key ACLs:
103
+ * - addObject
104
+ * - deleteIndex
105
+ * - editSettings.
106
+ *
107
+ * @param destinationCreate -.
108
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
109
+ */
110
+ createDestination(destinationCreate: DestinationCreate, requestOptions?: RequestOptions): Promise<DestinationCreateResponse>;
111
+ /**
112
+ * Creates a new source.
113
+ *
114
+ * Required API Key ACLs:
115
+ * - addObject
116
+ * - deleteIndex
117
+ * - editSettings.
118
+ *
119
+ * @param sourceCreate -.
120
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
121
+ */
122
+ createSource(sourceCreate: SourceCreate, requestOptions?: RequestOptions): Promise<SourceCreateResponse>;
123
+ /**
124
+ * Creates a new task.
125
+ *
126
+ * @param taskCreate - Request body for creating a task.
127
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
128
+ */
129
+ createTask(taskCreate: TaskCreate, requestOptions?: RequestOptions): Promise<TaskCreateResponse>;
130
+ /**
131
+ * This method allow you to send requests to the Algolia REST API.
132
+ *
133
+ * @param customDelete - The customDelete object.
134
+ * @param customDelete.path - Path of the endpoint, anything after \"/1\" must be specified.
135
+ * @param customDelete.parameters - Query parameters to apply to the current query.
136
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
137
+ */
138
+ customDelete({ path, parameters }: CustomDeleteProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
139
+ /**
140
+ * This method allow you to send requests to the Algolia REST API.
141
+ *
142
+ * @param customGet - The customGet object.
143
+ * @param customGet.path - Path of the endpoint, anything after \"/1\" must be specified.
144
+ * @param customGet.parameters - Query parameters to apply to the current query.
145
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
146
+ */
147
+ customGet({ path, parameters }: CustomGetProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
148
+ /**
149
+ * This method allow you to send requests to the Algolia REST API.
150
+ *
151
+ * @param customPost - The customPost object.
152
+ * @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
153
+ * @param customPost.parameters - Query parameters to apply to the current query.
154
+ * @param customPost.body - Parameters to send with the custom request.
155
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
156
+ */
157
+ customPost({ path, parameters, body }: CustomPostProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
158
+ /**
159
+ * This method allow you to send requests to the Algolia REST API.
160
+ *
161
+ * @param customPut - The customPut object.
162
+ * @param customPut.path - Path of the endpoint, anything after \"/1\" must be specified.
163
+ * @param customPut.parameters - Query parameters to apply to the current query.
164
+ * @param customPut.body - Parameters to send with the custom request.
165
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
166
+ */
167
+ customPut({ path, parameters, body }: CustomPutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
168
+ /**
169
+ * Deletes an authentication resource. You can\'t delete authentication resources that are used by a source or a destination.
170
+ *
171
+ * Required API Key ACLs:
172
+ * - addObject
173
+ * - deleteIndex
174
+ * - editSettings.
175
+ *
176
+ * @param deleteAuthentication - The deleteAuthentication object.
177
+ * @param deleteAuthentication.authenticationID - Unique identifier of an authentication resource.
178
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
179
+ */
180
+ deleteAuthentication({ authenticationID }: DeleteAuthenticationProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
181
+ /**
182
+ * Deletes a destination by its ID. You can\'t delete destinations that are referenced in tasks.
183
+ *
184
+ * Required API Key ACLs:
185
+ * - addObject
186
+ * - deleteIndex
187
+ * - editSettings.
188
+ *
189
+ * @param deleteDestination - The deleteDestination object.
190
+ * @param deleteDestination.destinationID - Unique identifier of a destination.
191
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
192
+ */
193
+ deleteDestination({ destinationID }: DeleteDestinationProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
194
+ /**
195
+ * Deletes a source by its ID. You can\'t delete sources that are referenced in tasks.
196
+ *
197
+ * Required API Key ACLs:
198
+ * - addObject
199
+ * - deleteIndex
200
+ * - editSettings.
201
+ *
202
+ * @param deleteSource - The deleteSource object.
203
+ * @param deleteSource.sourceID - Unique identifier of a source.
204
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
205
+ */
206
+ deleteSource({ sourceID }: DeleteSourceProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
207
+ /**
208
+ * Deletes a task by its ID.
209
+ *
210
+ * @param deleteTask - The deleteTask object.
211
+ * @param deleteTask.taskID - Unique identifier of a task.
212
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
213
+ */
214
+ deleteTask({ taskID }: DeleteTaskProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
215
+ /**
216
+ * Disables a task.
217
+ *
218
+ * Required API Key ACLs:
219
+ * - addObject
220
+ * - deleteIndex
221
+ * - editSettings.
222
+ *
223
+ * @param disableTask - The disableTask object.
224
+ * @param disableTask.taskID - Unique identifier of a task.
225
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
226
+ */
227
+ disableTask({ taskID }: DisableTaskProps, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
228
+ /**
229
+ * Enables a task.
230
+ *
231
+ * Required API Key ACLs:
232
+ * - addObject
233
+ * - deleteIndex
234
+ * - editSettings.
235
+ *
236
+ * @param enableTask - The enableTask object.
237
+ * @param enableTask.taskID - Unique identifier of a task.
238
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
239
+ */
240
+ enableTask({ taskID }: EnableTaskProps, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
241
+ /**
242
+ * Retrieves an authentication resource by its ID.
243
+ *
244
+ * Required API Key ACLs:
245
+ * - addObject
246
+ * - deleteIndex
247
+ * - editSettings.
248
+ *
249
+ * @param getAuthentication - The getAuthentication object.
250
+ * @param getAuthentication.authenticationID - Unique identifier of an authentication resource.
251
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
252
+ */
253
+ getAuthentication({ authenticationID }: GetAuthenticationProps, requestOptions?: RequestOptions): Promise<Authentication>;
254
+ /**
255
+ * Retrieves a list of all authentication resources.
256
+ *
257
+ * Required API Key ACLs:
258
+ * - addObject
259
+ * - deleteIndex
260
+ * - editSettings.
261
+ *
262
+ * @param getAuthentications - The getAuthentications object.
263
+ * @param getAuthentications.itemsPerPage - Number of items per page.
264
+ * @param getAuthentications.page - Page number of the paginated API response.
265
+ * @param getAuthentications.type - Type of authentication resource to retrieve.
266
+ * @param getAuthentications.platform - Ecommerce platform for which to retrieve authentication resources.
267
+ * @param getAuthentications.sort - Property by which to sort the list of authentication resources.
268
+ * @param getAuthentications.order - Sort order of the response, ascending or descending.
269
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
270
+ */
271
+ getAuthentications({ itemsPerPage, page, type, platform, sort, order, }?: GetAuthenticationsProps, requestOptions?: RequestOptions | undefined): Promise<ListAuthenticationsResponse>;
272
+ /**
273
+ * Retrieves a destination by its ID.
274
+ *
275
+ * Required API Key ACLs:
276
+ * - addObject
277
+ * - deleteIndex
278
+ * - editSettings.
279
+ *
280
+ * @param getDestination - The getDestination object.
281
+ * @param getDestination.destinationID - Unique identifier of a destination.
282
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
283
+ */
284
+ getDestination({ destinationID }: GetDestinationProps, requestOptions?: RequestOptions): Promise<Destination>;
285
+ /**
286
+ * Retrieves a list of destinations.
287
+ *
288
+ * Required API Key ACLs:
289
+ * - addObject
290
+ * - deleteIndex
291
+ * - editSettings.
292
+ *
293
+ * @param getDestinations - The getDestinations object.
294
+ * @param getDestinations.itemsPerPage - Number of items per page.
295
+ * @param getDestinations.page - Page number of the paginated API response.
296
+ * @param getDestinations.type - Destination type.
297
+ * @param getDestinations.authenticationID - Authentication ID used by destinations.
298
+ * @param getDestinations.sort - Property by which to sort the destinations.
299
+ * @param getDestinations.order - Sort order of the response, ascending or descending.
300
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
301
+ */
302
+ getDestinations({ itemsPerPage, page, type, authenticationID, sort, order, }?: GetDestinationsProps, requestOptions?: RequestOptions | undefined): Promise<ListDestinationsResponse>;
303
+ /**
304
+ * Retrieves a stream listing for a source. Listing streams only works with sources with `type: docker` and `imageType: singer`.
305
+ *
306
+ * Required API Key ACLs:
307
+ * - addObject
308
+ * - deleteIndex
309
+ * - editSettings.
310
+ *
311
+ * @param getDockerSourceStreams - The getDockerSourceStreams object.
312
+ * @param getDockerSourceStreams.sourceID - Unique identifier of a source.
313
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
314
+ */
315
+ getDockerSourceStreams({ sourceID }: GetDockerSourceStreamsProps, requestOptions?: RequestOptions): Promise<DockerSourceStreams>;
316
+ /**
317
+ * Retrieves a single task run event by its ID.
318
+ *
319
+ * Required API Key ACLs:
320
+ * - addObject
321
+ * - deleteIndex
322
+ * - editSettings.
323
+ *
324
+ * @param getEvent - The getEvent object.
325
+ * @param getEvent.runID - Unique identifier of a task run.
326
+ * @param getEvent.eventID - Unique identifier of an event.
327
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
328
+ */
329
+ getEvent({ runID, eventID }: GetEventProps, requestOptions?: RequestOptions): Promise<Event>;
330
+ /**
331
+ * Retrieves a list of events for a task run, identified by it\'s ID.
332
+ *
333
+ * Required API Key ACLs:
334
+ * - addObject
335
+ * - deleteIndex
336
+ * - editSettings.
337
+ *
338
+ * @param getEvents - The getEvents object.
339
+ * @param getEvents.runID - Unique identifier of a task run.
340
+ * @param getEvents.itemsPerPage - Number of items per page.
341
+ * @param getEvents.page - Page number of the paginated API response.
342
+ * @param getEvents.status - Event status for filtering the list of task runs.
343
+ * @param getEvents.type - Event type for filtering the list of task runs.
344
+ * @param getEvents.sort - Property by which to sort the list of task run events.
345
+ * @param getEvents.order - Sort order of the response, ascending or descending.
346
+ * @param getEvents.startDate - Date and time in RFC3339 format for the earliest events to retrieve. By default, the current time minus three hours is used.
347
+ * @param getEvents.endDate - Date and time in RFC3339 format for the latest events to retrieve. By default, the current time is used.
348
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
349
+ */
350
+ getEvents({ runID, itemsPerPage, page, status, type, sort, order, startDate, endDate, }: GetEventsProps, requestOptions?: RequestOptions): Promise<ListEventsResponse>;
351
+ /**
352
+ * Retrieve a single task run by its ID.
353
+ *
354
+ * Required API Key ACLs:
355
+ * - addObject
356
+ * - deleteIndex
357
+ * - editSettings.
358
+ *
359
+ * @param getRun - The getRun object.
360
+ * @param getRun.runID - Unique identifier of a task run.
361
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
362
+ */
363
+ getRun({ runID }: GetRunProps, requestOptions?: RequestOptions): Promise<Run>;
364
+ /**
365
+ * Retrieve a list of task runs.
366
+ *
367
+ * Required API Key ACLs:
368
+ * - addObject
369
+ * - deleteIndex
370
+ * - editSettings.
371
+ *
372
+ * @param getRuns - The getRuns object.
373
+ * @param getRuns.itemsPerPage - Number of items per page.
374
+ * @param getRuns.page - Page number of the paginated API response.
375
+ * @param getRuns.status - Run status for filtering the list of task runs.
376
+ * @param getRuns.taskID - Task ID for filtering the list of task runs.
377
+ * @param getRuns.sort - Property by which to sort the list of task runs.
378
+ * @param getRuns.order - Sort order of the response, ascending or descending.
379
+ * @param getRuns.startDate - Date in RFC3339 format for the earliest run to retrieve. By default, the current day minus seven days is used.
380
+ * @param getRuns.endDate - Date in RFC3339 format for the latest run to retrieve. By default, the current day is used.
381
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
382
+ */
383
+ getRuns({ itemsPerPage, page, status, taskID, sort, order, startDate, endDate, }?: GetRunsProps, requestOptions?: RequestOptions | undefined): Promise<RunListResponse>;
384
+ /**
385
+ * Retrieve a source by its ID.
386
+ *
387
+ * Required API Key ACLs:
388
+ * - addObject
389
+ * - deleteIndex
390
+ * - editSettings.
391
+ *
392
+ * @param getSource - The getSource object.
393
+ * @param getSource.sourceID - Unique identifier of a source.
394
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
395
+ */
396
+ getSource({ sourceID }: GetSourceProps, requestOptions?: RequestOptions): Promise<Source>;
397
+ /**
398
+ * Retrieves a list of sources.
399
+ *
400
+ * Required API Key ACLs:
401
+ * - addObject
402
+ * - deleteIndex
403
+ * - editSettings.
404
+ *
405
+ * @param getSources - The getSources object.
406
+ * @param getSources.itemsPerPage - Number of items per page.
407
+ * @param getSources.page - Page number of the paginated API response.
408
+ * @param getSources.type - Source type. Some sources require authentication.
409
+ * @param getSources.authenticationID - Authentication IDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication resource.
410
+ * @param getSources.sort - Property by which to sort the list of sources.
411
+ * @param getSources.order - Sort order of the response, ascending or descending.
412
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
413
+ */
414
+ getSources({ itemsPerPage, page, type, authenticationID, sort, order, }?: GetSourcesProps, requestOptions?: RequestOptions | undefined): Promise<ListSourcesResponse>;
415
+ /**
416
+ * Retrieves a task by its ID.
417
+ *
418
+ * Required API Key ACLs:
419
+ * - addObject
420
+ * - deleteIndex
421
+ * - editSettings.
422
+ *
423
+ * @param getTask - The getTask object.
424
+ * @param getTask.taskID - Unique identifier of a task.
425
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
426
+ */
427
+ getTask({ taskID }: GetTaskProps, requestOptions?: RequestOptions): Promise<Task>;
428
+ /**
429
+ * Retrieves a list of tasks.
430
+ *
431
+ * Required API Key ACLs:
432
+ * - addObject
433
+ * - deleteIndex
434
+ * - editSettings.
435
+ *
436
+ * @param getTasks - The getTasks object.
437
+ * @param getTasks.itemsPerPage - Number of items per page.
438
+ * @param getTasks.page - Page number of the paginated API response.
439
+ * @param getTasks.action - Actions for filtering the list of tasks.
440
+ * @param getTasks.enabled - Whether to filter the list of tasks by the `enabled` status.
441
+ * @param getTasks.sourceID - Source IDs for filtering the list of tasks.
442
+ * @param getTasks.destinationID - Destination IDs for filtering the list of tasks.
443
+ * @param getTasks.triggerType - Type of task trigger for filtering the list of tasks.
444
+ * @param getTasks.sort - Property by which to sort the list of tasks.
445
+ * @param getTasks.order - Sort order of the response, ascending or descending.
446
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
447
+ */
448
+ getTasks({ itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, }?: GetTasksProps, requestOptions?: RequestOptions | undefined): Promise<ListTasksResponse>;
449
+ /**
450
+ * Runs a task. You can check the status of task runs with the observability endpoints.
451
+ *
452
+ * Required API Key ACLs:
453
+ * - addObject
454
+ * - deleteIndex
455
+ * - editSettings.
456
+ *
457
+ * @param runTask - The runTask object.
458
+ * @param runTask.taskID - Unique identifier of a task.
459
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
460
+ */
461
+ runTask({ taskID }: RunTaskProps, requestOptions?: RequestOptions): Promise<RunResponse>;
462
+ /**
463
+ * Searches for authentication resources.
464
+ *
465
+ * Required API Key ACLs:
466
+ * - addObject
467
+ * - deleteIndex
468
+ * - editSettings.
469
+ *
470
+ * @param authenticationSearch - The authenticationSearch object.
471
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
472
+ */
473
+ searchAuthentications(authenticationSearch: AuthenticationSearch, requestOptions?: RequestOptions): Promise<Authentication[]>;
474
+ /**
475
+ * Searches for destinations.
476
+ *
477
+ * Required API Key ACLs:
478
+ * - addObject
479
+ * - deleteIndex
480
+ * - editSettings.
481
+ *
482
+ * @param destinationSearch - The destinationSearch object.
483
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
484
+ */
485
+ searchDestinations(destinationSearch: DestinationSearch, requestOptions?: RequestOptions): Promise<Destination[]>;
486
+ /**
487
+ * Searches for sources.
488
+ *
489
+ * Required API Key ACLs:
490
+ * - addObject
491
+ * - deleteIndex
492
+ * - editSettings.
493
+ *
494
+ * @param sourceSearch - The sourceSearch object.
495
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
496
+ */
497
+ searchSources(sourceSearch: SourceSearch, requestOptions?: RequestOptions): Promise<Source[]>;
498
+ /**
499
+ * Searches for tasks.
500
+ *
501
+ * Required API Key ACLs:
502
+ * - addObject
503
+ * - deleteIndex
504
+ * - editSettings.
505
+ *
506
+ * @param taskSearch - The taskSearch object.
507
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
508
+ */
509
+ searchTasks(taskSearch: TaskSearch, requestOptions?: RequestOptions): Promise<Task[]>;
510
+ /**
511
+ * Triggers a stream-listing request for a source. Triggering stream-listing requests only works with sources with `type: docker` and `imageType: singer`.
512
+ *
513
+ * Required API Key ACLs:
514
+ * - addObject
515
+ * - deleteIndex
516
+ * - editSettings.
517
+ *
518
+ * @param triggerDockerSourceDiscover - The triggerDockerSourceDiscover object.
519
+ * @param triggerDockerSourceDiscover.sourceID - Unique identifier of a source.
520
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
521
+ */
522
+ triggerDockerSourceDiscover({ sourceID }: TriggerDockerSourceDiscoverProps, requestOptions?: RequestOptions): Promise<DockerSourceDiscover>;
523
+ /**
524
+ * Updates an authentication resource.
525
+ *
526
+ * Required API Key ACLs:
527
+ * - addObject
528
+ * - deleteIndex
529
+ * - editSettings.
530
+ *
531
+ * @param updateAuthentication - The updateAuthentication object.
532
+ * @param updateAuthentication.authenticationID - Unique identifier of an authentication resource.
533
+ * @param updateAuthentication.authenticationUpdate - The authenticationUpdate object.
534
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
535
+ */
536
+ updateAuthentication({ authenticationID, authenticationUpdate }: UpdateAuthenticationProps, requestOptions?: RequestOptions): Promise<AuthenticationUpdateResponse>;
537
+ /**
538
+ * Updates the destination by its ID.
539
+ *
540
+ * Required API Key ACLs:
541
+ * - addObject
542
+ * - deleteIndex
543
+ * - editSettings.
544
+ *
545
+ * @param updateDestination - The updateDestination object.
546
+ * @param updateDestination.destinationID - Unique identifier of a destination.
547
+ * @param updateDestination.destinationUpdate - The destinationUpdate object.
548
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
549
+ */
550
+ updateDestination({ destinationID, destinationUpdate }: UpdateDestinationProps, requestOptions?: RequestOptions): Promise<DestinationUpdateResponse>;
551
+ /**
552
+ * Updates a source by its ID.
553
+ *
554
+ * Required API Key ACLs:
555
+ * - addObject
556
+ * - deleteIndex
557
+ * - editSettings.
558
+ *
559
+ * @param updateSource - The updateSource object.
560
+ * @param updateSource.sourceID - Unique identifier of a source.
561
+ * @param updateSource.sourceUpdate - The sourceUpdate object.
562
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
563
+ */
564
+ updateSource({ sourceID, sourceUpdate }: UpdateSourceProps, requestOptions?: RequestOptions): Promise<SourceUpdateResponse>;
565
+ /**
566
+ * Updates a task by its ID.
567
+ *
568
+ * @param updateTask - The updateTask object.
569
+ * @param updateTask.taskID - Unique identifier of a task.
570
+ * @param updateTask.taskUpdate - The taskUpdate object.
571
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
572
+ */
573
+ updateTask({ taskID, taskUpdate }: UpdateTaskProps, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
574
+ };
326
575
  //# sourceMappingURL=ingestionClient.d.ts.map