@algolia/ingestion 1.0.0-alpha.8 → 1.0.0-alpha.81

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 (381) 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.js → ingestion.cjs} +1321 -820
  6. package/dist/ingestion.esm.browser.js +1486 -964
  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 +6 -3
  12. package/dist/model/authAPIKey.d.ts.map +1 -1
  13. package/dist/model/authAPIKeyPartial.d.ts +7 -0
  14. package/dist/model/authAPIKeyPartial.d.ts.map +1 -0
  15. package/dist/model/authAlgolia.d.ts +10 -4
  16. package/dist/model/authAlgolia.d.ts.map +1 -1
  17. package/dist/model/authAlgoliaPartial.d.ts +11 -0
  18. package/dist/model/authAlgoliaPartial.d.ts.map +1 -0
  19. package/dist/model/authBasic.d.ts +7 -4
  20. package/dist/model/authBasic.d.ts.map +1 -1
  21. package/dist/model/authBasicPartial.d.ts +8 -0
  22. package/dist/model/authBasicPartial.d.ts.map +1 -0
  23. package/dist/model/authGoogleServiceAccount.d.ts +13 -4
  24. package/dist/model/authGoogleServiceAccount.d.ts.map +1 -1
  25. package/dist/model/authGoogleServiceAccountPartial.d.ts +14 -0
  26. package/dist/model/authGoogleServiceAccountPartial.d.ts.map +1 -0
  27. package/dist/model/authInput.d.ts +6 -6
  28. package/dist/model/authInput.d.ts.map +1 -1
  29. package/dist/model/authInputPartial.d.ts +7 -0
  30. package/dist/model/authInputPartial.d.ts.map +1 -0
  31. package/dist/model/authOAuth.d.ts +17 -6
  32. package/dist/model/authOAuth.d.ts.map +1 -1
  33. package/dist/model/authOAuthPartial.d.ts +18 -0
  34. package/dist/model/authOAuthPartial.d.ts.map +1 -0
  35. package/dist/model/authentication.d.ts +27 -16
  36. package/dist/model/authentication.d.ts.map +1 -1
  37. package/dist/model/authenticationCreate.d.ts +15 -9
  38. package/dist/model/authenticationCreate.d.ts.map +1 -1
  39. package/dist/model/authenticationCreateResponse.d.ts +17 -8
  40. package/dist/model/authenticationCreateResponse.d.ts.map +1 -1
  41. package/dist/model/authenticationSearch.d.ts +7 -0
  42. package/dist/model/authenticationSearch.d.ts.map +1 -0
  43. package/dist/model/authenticationSortKeys.d.ts +5 -0
  44. package/dist/model/authenticationSortKeys.d.ts.map +1 -0
  45. package/dist/model/authenticationType.d.ts +4 -1
  46. package/dist/model/authenticationType.d.ts.map +1 -1
  47. package/dist/model/authenticationUpdate.d.ts +15 -9
  48. package/dist/model/authenticationUpdate.d.ts.map +1 -1
  49. package/dist/model/authenticationUpdateResponse.d.ts +17 -8
  50. package/dist/model/authenticationUpdateResponse.d.ts.map +1 -1
  51. package/dist/model/bigCommerceChannel.d.ts +11 -0
  52. package/dist/model/bigCommerceChannel.d.ts.map +1 -0
  53. package/dist/model/bigCommerceMetafield.d.ts +11 -0
  54. package/dist/model/bigCommerceMetafield.d.ts.map +1 -0
  55. package/dist/model/bigQueryDataType.d.ts +2 -0
  56. package/dist/model/bigQueryDataType.d.ts.map +1 -0
  57. package/dist/model/clientMethodProps.d.ts +465 -282
  58. package/dist/model/clientMethodProps.d.ts.map +1 -1
  59. package/dist/model/commercetoolsCustomFields.d.ts +18 -0
  60. package/dist/model/commercetoolsCustomFields.d.ts.map +1 -0
  61. package/dist/model/deleteResponse.d.ts +6 -6
  62. package/dist/model/deleteResponse.d.ts.map +1 -1
  63. package/dist/model/destination.d.ts +29 -17
  64. package/dist/model/destination.d.ts.map +1 -1
  65. package/dist/model/destinationCreate.d.ts +17 -8
  66. package/dist/model/destinationCreate.d.ts.map +1 -1
  67. package/dist/model/destinationCreateResponse.d.ts +17 -8
  68. package/dist/model/destinationCreateResponse.d.ts.map +1 -1
  69. package/dist/model/destinationIndexName.d.ts +12 -3
  70. package/dist/model/destinationIndexName.d.ts.map +1 -1
  71. package/dist/model/destinationIndexPrefix.d.ts +6 -3
  72. package/dist/model/destinationIndexPrefix.d.ts.map +1 -1
  73. package/dist/model/destinationInput.d.ts +3 -3
  74. package/dist/model/destinationInput.d.ts.map +1 -1
  75. package/dist/model/destinationSearch.d.ts +7 -0
  76. package/dist/model/destinationSearch.d.ts.map +1 -0
  77. package/dist/model/destinationSortKeys.d.ts +5 -0
  78. package/dist/model/destinationSortKeys.d.ts.map +1 -0
  79. package/dist/model/destinationType.d.ts +4 -1
  80. package/dist/model/destinationType.d.ts.map +1 -1
  81. package/dist/model/destinationUpdate.d.ts +17 -8
  82. package/dist/model/destinationUpdate.d.ts.map +1 -1
  83. package/dist/model/destinationUpdateResponse.d.ts +17 -8
  84. package/dist/model/destinationUpdateResponse.d.ts.map +1 -1
  85. package/dist/model/dockerImageType.d.ts +5 -0
  86. package/dist/model/dockerImageType.d.ts.map +1 -0
  87. package/dist/model/dockerRegistry.d.ts +5 -0
  88. package/dist/model/dockerRegistry.d.ts.map +1 -0
  89. package/dist/model/dockerSourceDiscover.d.ts +11 -0
  90. package/dist/model/dockerSourceDiscover.d.ts.map +1 -0
  91. package/dist/model/dockerSourceStreams.d.ts +4 -0
  92. package/dist/model/dockerSourceStreams.d.ts.map +1 -0
  93. package/dist/model/errorBase.d.ts +6 -6
  94. package/dist/model/errorBase.d.ts.map +1 -1
  95. package/dist/model/event.d.ts +30 -14
  96. package/dist/model/event.d.ts.map +1 -1
  97. package/dist/model/eventSortKeys.d.ts +5 -0
  98. package/dist/model/eventSortKeys.d.ts.map +1 -0
  99. package/dist/model/eventStatus.d.ts +1 -1
  100. package/dist/model/eventStatus.d.ts.map +1 -1
  101. package/dist/model/eventType.d.ts +1 -1
  102. package/dist/model/eventType.d.ts.map +1 -1
  103. package/dist/model/index.d.ts +117 -63
  104. package/dist/model/index.d.ts.map +1 -1
  105. package/dist/model/listAuthenticationsResponse.d.ts +6 -6
  106. package/dist/model/listAuthenticationsResponse.d.ts.map +1 -1
  107. package/dist/model/listDestinationsResponse.d.ts +6 -6
  108. package/dist/model/listDestinationsResponse.d.ts.map +1 -1
  109. package/dist/model/listEventsResponse.d.ts +8 -6
  110. package/dist/model/listEventsResponse.d.ts.map +1 -1
  111. package/dist/model/listSourcesResponse.d.ts +6 -6
  112. package/dist/model/listSourcesResponse.d.ts.map +1 -1
  113. package/dist/model/listTasksResponse.d.ts +9 -6
  114. package/dist/model/listTasksResponse.d.ts.map +1 -1
  115. package/dist/model/mappingFieldDirective.d.ts +14 -0
  116. package/dist/model/mappingFieldDirective.d.ts.map +1 -0
  117. package/dist/model/mappingInput.d.ts +12 -0
  118. package/dist/model/mappingInput.d.ts.map +1 -0
  119. package/dist/model/mappingKitAction.d.ts +20 -0
  120. package/dist/model/mappingKitAction.d.ts.map +1 -0
  121. package/dist/model/mappingTypeCSV.d.ts +2 -0
  122. package/dist/model/mappingTypeCSV.d.ts.map +1 -0
  123. package/dist/model/methodType.d.ts +1 -1
  124. package/dist/model/methodType.d.ts.map +1 -1
  125. package/dist/model/onDemandDateUtilsInput.d.ts +16 -0
  126. package/dist/model/onDemandDateUtilsInput.d.ts.map +1 -0
  127. package/dist/model/onDemandTrigger.d.ts +12 -0
  128. package/dist/model/onDemandTrigger.d.ts.map +1 -0
  129. package/dist/model/onDemandTriggerInput.d.ts +8 -0
  130. package/dist/model/onDemandTriggerInput.d.ts.map +1 -0
  131. package/dist/model/onDemandTriggerType.d.ts +5 -0
  132. package/dist/model/onDemandTriggerType.d.ts.map +1 -0
  133. package/dist/model/orderKeys.d.ts +5 -0
  134. package/dist/model/orderKeys.d.ts.map +1 -0
  135. package/dist/model/pagination.d.ts +6 -6
  136. package/dist/model/pagination.d.ts.map +1 -1
  137. package/dist/model/platform.d.ts +5 -0
  138. package/dist/model/platform.d.ts.map +1 -0
  139. package/dist/model/platformNone.d.ts +5 -0
  140. package/dist/model/platformNone.d.ts.map +1 -0
  141. package/dist/model/platformWithNone.d.ts +4 -0
  142. package/dist/model/platformWithNone.d.ts.map +1 -0
  143. package/dist/model/recordType.d.ts +5 -0
  144. package/dist/model/recordType.d.ts.map +1 -0
  145. package/dist/model/run.d.ts +41 -29
  146. package/dist/model/run.d.ts.map +1 -1
  147. package/dist/model/runListResponse.d.ts +8 -6
  148. package/dist/model/runListResponse.d.ts.map +1 -1
  149. package/dist/model/runOutcome.d.ts +1 -1
  150. package/dist/model/runOutcome.d.ts.map +1 -1
  151. package/dist/model/runProgress.d.ts +4 -4
  152. package/dist/model/runProgress.d.ts.map +1 -1
  153. package/dist/model/runReasonCode.d.ts +5 -0
  154. package/dist/model/runReasonCode.d.ts.map +1 -0
  155. package/dist/model/runResponse.d.ts +13 -7
  156. package/dist/model/runResponse.d.ts.map +1 -1
  157. package/dist/model/runSortKeys.d.ts +5 -0
  158. package/dist/model/runSortKeys.d.ts.map +1 -0
  159. package/dist/model/runStatus.d.ts +1 -1
  160. package/dist/model/runStatus.d.ts.map +1 -1
  161. package/dist/model/runType.d.ts +1 -1
  162. package/dist/model/runType.d.ts.map +1 -1
  163. package/dist/model/scheduleDateUtilsInput.d.ts +12 -0
  164. package/dist/model/scheduleDateUtilsInput.d.ts.map +1 -0
  165. package/dist/model/scheduleTrigger.d.ts +20 -0
  166. package/dist/model/scheduleTrigger.d.ts.map +1 -0
  167. package/dist/model/scheduleTriggerInput.d.ts +12 -0
  168. package/dist/model/scheduleTriggerInput.d.ts.map +1 -0
  169. package/dist/model/scheduleTriggerType.d.ts +5 -0
  170. package/dist/model/scheduleTriggerType.d.ts.map +1 -0
  171. package/dist/model/source.d.ts +23 -17
  172. package/dist/model/source.d.ts.map +1 -1
  173. package/dist/model/sourceBigCommerce.d.ts +12 -3
  174. package/dist/model/sourceBigCommerce.d.ts.map +1 -1
  175. package/dist/model/sourceBigQuery.d.ts +29 -0
  176. package/dist/model/sourceBigQuery.d.ts.map +1 -0
  177. package/dist/model/sourceCSV.d.ts +22 -0
  178. package/dist/model/sourceCSV.d.ts.map +1 -0
  179. package/dist/model/sourceCommercetools.d.ts +15 -9
  180. package/dist/model/sourceCommercetools.d.ts.map +1 -1
  181. package/dist/model/sourceCreate.d.ts +11 -8
  182. package/dist/model/sourceCreate.d.ts.map +1 -1
  183. package/dist/model/sourceCreateResponse.d.ts +11 -8
  184. package/dist/model/sourceCreateResponse.d.ts.map +1 -1
  185. package/dist/model/sourceDocker.d.ts +19 -0
  186. package/dist/model/sourceDocker.d.ts.map +1 -0
  187. package/dist/model/sourceGA4BigQueryExport.d.ts +15 -0
  188. package/dist/model/sourceGA4BigQueryExport.d.ts.map +1 -0
  189. package/dist/model/sourceInput.d.ts +8 -4
  190. package/dist/model/sourceInput.d.ts.map +1 -1
  191. package/dist/model/sourceJSON.d.ts +13 -0
  192. package/dist/model/sourceJSON.d.ts.map +1 -0
  193. package/dist/model/sourceSearch.d.ts +4 -0
  194. package/dist/model/sourceSearch.d.ts.map +1 -0
  195. package/dist/model/sourceSortKeys.d.ts +5 -0
  196. package/dist/model/sourceSortKeys.d.ts.map +1 -0
  197. package/dist/model/sourceType.d.ts +1 -1
  198. package/dist/model/sourceType.d.ts.map +1 -1
  199. package/dist/model/sourceUpdate.d.ts +9 -8
  200. package/dist/model/sourceUpdate.d.ts.map +1 -1
  201. package/dist/model/sourceUpdateCommercetools.d.ts +18 -0
  202. package/dist/model/sourceUpdateCommercetools.d.ts.map +1 -0
  203. package/dist/model/sourceUpdateDocker.d.ts +17 -0
  204. package/dist/model/sourceUpdateDocker.d.ts.map +1 -0
  205. package/dist/model/sourceUpdateInput.d.ts +8 -0
  206. package/dist/model/sourceUpdateInput.d.ts.map +1 -0
  207. package/dist/model/sourceUpdateResponse.d.ts +11 -8
  208. package/dist/model/sourceUpdateResponse.d.ts.map +1 -1
  209. package/dist/model/streamingTrigger.d.ts +8 -0
  210. package/dist/model/streamingTrigger.d.ts.map +1 -0
  211. package/dist/model/streamingTriggerType.d.ts +5 -0
  212. package/dist/model/streamingTriggerType.d.ts.map +1 -0
  213. package/dist/model/streamingUtilsInput.d.ts +8 -0
  214. package/dist/model/streamingUtilsInput.d.ts.map +1 -0
  215. package/dist/model/subscriptionTrigger.d.ts +8 -0
  216. package/dist/model/subscriptionTrigger.d.ts.map +1 -0
  217. package/dist/model/subscriptionTriggerType.d.ts +5 -0
  218. package/dist/model/subscriptionTriggerType.d.ts.map +1 -0
  219. package/dist/model/task.d.ts +36 -18
  220. package/dist/model/task.d.ts.map +1 -1
  221. package/dist/model/taskCreate.d.ts +27 -9
  222. package/dist/model/taskCreate.d.ts.map +1 -1
  223. package/dist/model/taskCreateResponse.d.ts +13 -7
  224. package/dist/model/taskCreateResponse.d.ts.map +1 -1
  225. package/dist/model/taskCreateTrigger.d.ts +6 -0
  226. package/dist/model/taskCreateTrigger.d.ts.map +1 -0
  227. package/dist/model/taskInput.d.ts +5 -0
  228. package/dist/model/taskInput.d.ts.map +1 -0
  229. package/dist/model/taskSearch.d.ts +4 -0
  230. package/dist/model/taskSearch.d.ts.map +1 -0
  231. package/dist/model/taskSortKeys.d.ts +5 -0
  232. package/dist/model/taskSortKeys.d.ts.map +1 -0
  233. package/dist/model/taskUpdate.d.ts +21 -6
  234. package/dist/model/taskUpdate.d.ts.map +1 -1
  235. package/dist/model/taskUpdateResponse.d.ts +13 -7
  236. package/dist/model/taskUpdateResponse.d.ts.map +1 -1
  237. package/dist/model/trigger.d.ts +5 -13
  238. package/dist/model/trigger.d.ts.map +1 -1
  239. package/dist/model/triggerType.d.ts +4 -1
  240. package/dist/model/triggerType.d.ts.map +1 -1
  241. package/dist/model/triggerUpdateInput.d.ts +10 -0
  242. package/dist/model/triggerUpdateInput.d.ts.map +1 -0
  243. package/dist/model/window.d.ts +14 -0
  244. package/dist/model/window.d.ts.map +1 -0
  245. package/dist/src/ingestionClient.d.ts +574 -325
  246. package/dist/src/ingestionClient.d.ts.map +1 -1
  247. package/index.js +1 -1
  248. package/model/actionType.ts +5 -2
  249. package/model/authAPIKey.ts +4 -1
  250. package/model/authAPIKeyPartial.ts +8 -0
  251. package/model/authAlgolia.ts +7 -1
  252. package/model/authAlgoliaPartial.ts +13 -0
  253. package/model/authBasic.ts +4 -1
  254. package/model/authBasicPartial.ts +10 -0
  255. package/model/authGoogleServiceAccount.ts +10 -1
  256. package/model/authGoogleServiceAccountPartial.ts +16 -0
  257. package/model/authInput.ts +1 -1
  258. package/model/authInputPartial.ts +14 -0
  259. package/model/authOAuth.ts +13 -3
  260. package/model/authOAuthPartial.ts +21 -0
  261. package/model/authentication.ts +15 -3
  262. package/model/authenticationCreate.ts +9 -3
  263. package/model/authenticationCreateResponse.ts +10 -1
  264. package/model/authenticationSearch.ts +8 -0
  265. package/model/authenticationSortKeys.ts +11 -0
  266. package/model/authenticationType.ts +4 -1
  267. package/model/authenticationUpdate.ts +11 -5
  268. package/model/authenticationUpdateResponse.ts +10 -1
  269. package/model/bigCommerceChannel.ts +13 -0
  270. package/model/bigCommerceMetafield.ts +13 -0
  271. package/model/bigQueryDataType.ts +3 -0
  272. package/model/clientMethodProps.ts +224 -36
  273. package/model/commercetoolsCustomFields.ts +21 -0
  274. package/model/deleteResponse.ts +1 -1
  275. package/model/destination.ts +13 -1
  276. package/model/destinationCreate.ts +11 -2
  277. package/model/destinationCreateResponse.ts +10 -1
  278. package/model/destinationIndexName.ts +13 -1
  279. package/model/destinationIndexPrefix.ts +4 -1
  280. package/model/destinationInput.ts +1 -1
  281. package/model/destinationSearch.ts +8 -0
  282. package/model/destinationSortKeys.ts +6 -0
  283. package/model/destinationType.ts +5 -2
  284. package/model/destinationUpdate.ts +10 -1
  285. package/model/destinationUpdateResponse.ts +10 -1
  286. package/model/dockerImageType.ts +6 -0
  287. package/model/dockerRegistry.ts +6 -0
  288. package/model/dockerSourceDiscover.ts +13 -0
  289. package/model/dockerSourceStreams.ts +5 -0
  290. package/model/errorBase.ts +1 -1
  291. package/model/event.ts +18 -1
  292. package/model/eventSortKeys.ts +6 -0
  293. package/model/eventStatus.ts +2 -1
  294. package/model/eventType.ts +2 -2
  295. package/model/index.ts +60 -6
  296. package/model/listAuthenticationsResponse.ts +1 -1
  297. package/model/listDestinationsResponse.ts +1 -1
  298. package/model/listEventsResponse.ts +4 -1
  299. package/model/listSourcesResponse.ts +1 -1
  300. package/model/listTasksResponse.ts +4 -1
  301. package/model/mappingFieldDirective.ts +16 -0
  302. package/model/mappingInput.ts +15 -0
  303. package/model/mappingKitAction.ts +25 -0
  304. package/model/mappingTypeCSV.ts +8 -0
  305. package/model/methodType.ts +1 -1
  306. package/model/onDemandDateUtilsInput.ts +20 -0
  307. package/model/onDemandTrigger.ts +15 -0
  308. package/model/onDemandTriggerInput.ts +10 -0
  309. package/model/onDemandTriggerType.ts +6 -0
  310. package/model/orderKeys.ts +6 -0
  311. package/model/pagination.ts +1 -1
  312. package/model/platform.ts +6 -0
  313. package/model/platformNone.ts +6 -0
  314. package/model/platformWithNone.ts +6 -0
  315. package/model/recordType.ts +6 -0
  316. package/model/run.ts +20 -6
  317. package/model/runListResponse.ts +4 -1
  318. package/model/runOutcome.ts +2 -2
  319. package/model/runProgress.ts +1 -1
  320. package/model/runReasonCode.ts +13 -0
  321. package/model/runResponse.ts +7 -1
  322. package/model/runSortKeys.ts +6 -0
  323. package/model/runStatus.ts +7 -2
  324. package/model/runType.ts +2 -2
  325. package/model/scheduleDateUtilsInput.ts +15 -0
  326. package/model/scheduleTrigger.ts +25 -0
  327. package/model/scheduleTriggerInput.ts +15 -0
  328. package/model/scheduleTriggerType.ts +6 -0
  329. package/model/source.ts +7 -1
  330. package/model/sourceBigCommerce.ts +16 -2
  331. package/model/sourceBigQuery.ts +37 -0
  332. package/model/sourceCSV.ts +28 -0
  333. package/model/sourceCommercetools.ts +10 -1
  334. package/model/sourceCreate.ts +5 -2
  335. package/model/sourceCreateResponse.ts +4 -1
  336. package/model/sourceDocker.ts +25 -0
  337. package/model/sourceGA4BigQueryExport.ts +18 -0
  338. package/model/sourceInput.ts +14 -3
  339. package/model/sourceJSON.ts +17 -0
  340. package/model/sourceSearch.ts +5 -0
  341. package/model/sourceSortKeys.ts +6 -0
  342. package/model/sourceType.ts +9 -2
  343. package/model/sourceUpdate.ts +6 -6
  344. package/model/sourceUpdateCommercetools.ts +24 -0
  345. package/model/sourceUpdateDocker.ts +22 -0
  346. package/model/sourceUpdateInput.ts +16 -0
  347. package/model/sourceUpdateResponse.ts +4 -1
  348. package/model/streamingTrigger.ts +10 -0
  349. package/model/streamingTriggerType.ts +6 -0
  350. package/model/streamingUtilsInput.ts +10 -0
  351. package/model/subscriptionTrigger.ts +10 -0
  352. package/model/subscriptionTriggerType.ts +6 -0
  353. package/model/task.ts +22 -2
  354. package/model/taskCreate.ts +23 -3
  355. package/model/taskCreateResponse.ts +7 -1
  356. package/model/taskCreateTrigger.ts +12 -0
  357. package/model/taskInput.ts +10 -0
  358. package/model/taskSearch.ts +5 -0
  359. package/model/taskSortKeys.ts +11 -0
  360. package/model/taskUpdate.ts +20 -3
  361. package/model/taskUpdateResponse.ts +7 -1
  362. package/model/trigger.ts +12 -19
  363. package/model/triggerType.ts +9 -2
  364. package/model/triggerUpdateInput.ts +11 -0
  365. package/model/window.ts +16 -0
  366. package/package.json +10 -9
  367. package/dist/model/authenticationInput.d.ts +0 -5
  368. package/dist/model/authenticationInput.d.ts.map +0 -1
  369. package/dist/model/authenticationWithInput.d.ts +0 -4
  370. package/dist/model/authenticationWithInput.d.ts.map +0 -1
  371. package/dist/model/platformType.d.ts +0 -2
  372. package/dist/model/platformType.d.ts.map +0 -1
  373. package/dist/model/sourceJson.d.ts +0 -6
  374. package/dist/model/sourceJson.d.ts.map +0 -1
  375. package/dist/model/triggerInput.d.ts +0 -6
  376. package/dist/model/triggerInput.d.ts.map +0 -1
  377. package/model/authenticationInput.ts +0 -7
  378. package/model/authenticationWithInput.ts +0 -6
  379. package/model/platformType.ts +0 -3
  380. package/model/sourceJson.ts +0 -9
  381. 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.8";
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-alpha.81";
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
+ * Create a authentication.
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
+ * Create a 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
+ * Create a 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
+ * Create a task.
125
+ *
126
+ * @param taskCreate -.
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
+ * Soft delete the authentication of the given authenticationID.
170
+ *
171
+ * Required API Key ACLs:
172
+ * - addObject
173
+ * - deleteIndex
174
+ * - editSettings.
175
+ *
176
+ * @param deleteAuthentication - The deleteAuthentication object.
177
+ * @param deleteAuthentication.authenticationID - The authentication UUID.
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
+ * Soft delete the destination of the given destinationID.
183
+ *
184
+ * Required API Key ACLs:
185
+ * - addObject
186
+ * - deleteIndex
187
+ * - editSettings.
188
+ *
189
+ * @param deleteDestination - The deleteDestination object.
190
+ * @param deleteDestination.destinationID - The destination UUID.
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
+ * Soft delete the source of the given sourceID.
196
+ *
197
+ * Required API Key ACLs:
198
+ * - addObject
199
+ * - deleteIndex
200
+ * - editSettings.
201
+ *
202
+ * @param deleteSource - The deleteSource object.
203
+ * @param deleteSource.sourceID - The source UUID.
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
+ * Soft delete the task of the given taskID.
209
+ *
210
+ * @param deleteTask - The deleteTask object.
211
+ * @param deleteTask.taskID - The task UUID.
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
+ * Disable the task of the given taskID.
217
+ *
218
+ * Required API Key ACLs:
219
+ * - addObject
220
+ * - deleteIndex
221
+ * - editSettings.
222
+ *
223
+ * @param disableTask - The disableTask object.
224
+ * @param disableTask.taskID - The task UUID.
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
+ * Enable the task of the given taskID.
230
+ *
231
+ * Required API Key ACLs:
232
+ * - addObject
233
+ * - deleteIndex
234
+ * - editSettings.
235
+ *
236
+ * @param enableTask - The enableTask object.
237
+ * @param enableTask.taskID - The task UUID.
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
+ * Get the authentication of the given authenticationID.
243
+ *
244
+ * Required API Key ACLs:
245
+ * - addObject
246
+ * - deleteIndex
247
+ * - editSettings.
248
+ *
249
+ * @param getAuthentication - The getAuthentication object.
250
+ * @param getAuthentication.authenticationID - The authentication UUID.
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
+ * Get a list of authentications for the given query parameters, with pagination details.
256
+ *
257
+ * Required API Key ACLs:
258
+ * - addObject
259
+ * - deleteIndex
260
+ * - editSettings.
261
+ *
262
+ * @param getAuthentications - The getAuthentications object.
263
+ * @param getAuthentications.itemsPerPage - The number of items per page to return.
264
+ * @param getAuthentications.page - The page number to fetch, starting at 1.
265
+ * @param getAuthentications.type - The type of the authentications to retrieve.
266
+ * @param getAuthentications.platform - The platform of the authentications to retrieve.
267
+ * @param getAuthentications.sort - The key by which the list should be sorted.
268
+ * @param getAuthentications.order - The order of the returned list.
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
+ * Get the destination of the given destinationID.
274
+ *
275
+ * Required API Key ACLs:
276
+ * - addObject
277
+ * - deleteIndex
278
+ * - editSettings.
279
+ *
280
+ * @param getDestination - The getDestination object.
281
+ * @param getDestination.destinationID - The destination UUID.
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
+ * Get a list of destinations for the given query parameters, with pagination details.
287
+ *
288
+ * Required API Key ACLs:
289
+ * - addObject
290
+ * - deleteIndex
291
+ * - editSettings.
292
+ *
293
+ * @param getDestinations - The getDestinations object.
294
+ * @param getDestinations.itemsPerPage - The number of items per page to return.
295
+ * @param getDestinations.page - The page number to fetch, starting at 1.
296
+ * @param getDestinations.type - The type of the destinations to retrive.
297
+ * @param getDestinations.authenticationID - The authenticationIDs of the destinations to retrive.
298
+ * @param getDestinations.sort - The key by which the list should be sorted.
299
+ * @param getDestinations.order - The order of the returned list.
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
+ * Retrieve a stream listing for a given Singer specification compatible docker type source ID.
305
+ *
306
+ * Required API Key ACLs:
307
+ * - addObject
308
+ * - deleteIndex
309
+ * - editSettings.
310
+ *
311
+ * @param getDockerSourceStreams - The getDockerSourceStreams object.
312
+ * @param getDockerSourceStreams.sourceID - The source UUID.
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
+ * Get a single event for a specific runID.
318
+ *
319
+ * Required API Key ACLs:
320
+ * - addObject
321
+ * - deleteIndex
322
+ * - editSettings.
323
+ *
324
+ * @param getEvent - The getEvent object.
325
+ * @param getEvent.runID - The run UUID.
326
+ * @param getEvent.eventID - The event UUID.
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
+ * Get a list of events associated to the given runID, for the given query parameters.
332
+ *
333
+ * Required API Key ACLs:
334
+ * - addObject
335
+ * - deleteIndex
336
+ * - editSettings.
337
+ *
338
+ * @param getEvents - The getEvents object.
339
+ * @param getEvents.runID - The run UUID.
340
+ * @param getEvents.itemsPerPage - The number of items per page to return.
341
+ * @param getEvents.page - The page number to fetch, starting at 1.
342
+ * @param getEvents.status - Filter the status of the events.
343
+ * @param getEvents.type - Filter the type of the events.
344
+ * @param getEvents.sort - The key by which the list should be sorted.
345
+ * @param getEvents.order - The order of the returned list.
346
+ * @param getEvents.startDate - The start date (in RFC3339 format) of the events fetching window. Defaults to \'now\'-3 hours if omitted.
347
+ * @param getEvents.endDate - The end date (in RFC3339 format) of the events fetching window. Defaults to \'now\' days if omitted.
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
+ * Get a single run for the given ID.
353
+ *
354
+ * Required API Key ACLs:
355
+ * - addObject
356
+ * - deleteIndex
357
+ * - editSettings.
358
+ *
359
+ * @param getRun - The getRun object.
360
+ * @param getRun.runID - The run UUID.
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
+ * Get a list of runs for the given query parameters, with pagination details.
366
+ *
367
+ * Required API Key ACLs:
368
+ * - addObject
369
+ * - deleteIndex
370
+ * - editSettings.
371
+ *
372
+ * @param getRuns - The getRuns object.
373
+ * @param getRuns.itemsPerPage - The number of items per page to return.
374
+ * @param getRuns.page - The page number to fetch, starting at 1.
375
+ * @param getRuns.status - Filter the status of the runs.
376
+ * @param getRuns.taskID - Filter by taskID.
377
+ * @param getRuns.sort - The key by which the list should be sorted.
378
+ * @param getRuns.order - The order of the returned list.
379
+ * @param getRuns.startDate - The start date (in RFC3339 format) of the runs fetching window. Defaults to \'now\'-7 days if omitted.
380
+ * @param getRuns.endDate - The end date (in RFC3339 format) of the runs fetching window. Defaults to \'now\' days if omitted.
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
+ * Get the source of the given sourceID.
386
+ *
387
+ * Required API Key ACLs:
388
+ * - addObject
389
+ * - deleteIndex
390
+ * - editSettings.
391
+ *
392
+ * @param getSource - The getSource object.
393
+ * @param getSource.sourceID - The source UUID.
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
+ * Get a list of sources for the given query parameters, with pagination details.
399
+ *
400
+ * Required API Key ACLs:
401
+ * - addObject
402
+ * - deleteIndex
403
+ * - editSettings.
404
+ *
405
+ * @param getSources - The getSources object.
406
+ * @param getSources.itemsPerPage - The number of items per page to return.
407
+ * @param getSources.page - The page number to fetch, starting at 1.
408
+ * @param getSources.type - The type of the sources to retrieve.
409
+ * @param getSources.authenticationID - The authenticationIDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication.
410
+ * @param getSources.sort - The key by which the list should be sorted.
411
+ * @param getSources.order - The order of the returned list.
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
+ * Get the task of the given taskID.
417
+ *
418
+ * Required API Key ACLs:
419
+ * - addObject
420
+ * - deleteIndex
421
+ * - editSettings.
422
+ *
423
+ * @param getTask - The getTask object.
424
+ * @param getTask.taskID - The task UUID.
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
+ * Get a list of tasks for the given query parameters, with pagination details.
430
+ *
431
+ * Required API Key ACLs:
432
+ * - addObject
433
+ * - deleteIndex
434
+ * - editSettings.
435
+ *
436
+ * @param getTasks - The getTasks object.
437
+ * @param getTasks.itemsPerPage - The number of items per page to return.
438
+ * @param getTasks.page - The page number to fetch, starting at 1.
439
+ * @param getTasks.action - The action of the tasks to retrieve.
440
+ * @param getTasks.enabled - Whether the task is enabled or not.
441
+ * @param getTasks.sourceID - The sourceIDs of the tasks to retrieve.
442
+ * @param getTasks.destinationID - The destinationIDs of the tasks to retrieve.
443
+ * @param getTasks.triggerType - The trigger type of the task.
444
+ * @param getTasks.sort - The key by which the list should be sorted.
445
+ * @param getTasks.order - The order of the returned list.
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
+ * Run the task of the given taskID.
451
+ *
452
+ * Required API Key ACLs:
453
+ * - addObject
454
+ * - deleteIndex
455
+ * - editSettings.
456
+ *
457
+ * @param runTask - The runTask object.
458
+ * @param runTask.taskID - The task UUID.
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
+ * Search among authentications with a defined set of parameters.
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
+ * Search among destinations with a defined set of parameters.
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
+ * Search among sources with a defined set of parameters.
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
+ * Search among tasks with a defined set of parameters.
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
+ * Trigger a stream listing request for a Singer specification compatible docker type source.
512
+ *
513
+ * Required API Key ACLs:
514
+ * - addObject
515
+ * - deleteIndex
516
+ * - editSettings.
517
+ *
518
+ * @param triggerDockerSourceDiscover - The triggerDockerSourceDiscover object.
519
+ * @param triggerDockerSourceDiscover.sourceID - The source UUID.
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
+ * Update the authentication of the given authenticationID.
525
+ *
526
+ * Required API Key ACLs:
527
+ * - addObject
528
+ * - deleteIndex
529
+ * - editSettings.
530
+ *
531
+ * @param updateAuthentication - The updateAuthentication object.
532
+ * @param updateAuthentication.authenticationID - The authentication UUID.
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
+ * Update the destination of the given destinationID.
539
+ *
540
+ * Required API Key ACLs:
541
+ * - addObject
542
+ * - deleteIndex
543
+ * - editSettings.
544
+ *
545
+ * @param updateDestination - The updateDestination object.
546
+ * @param updateDestination.destinationID - The destination UUID.
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
+ * Update the source of the given sourceID.
553
+ *
554
+ * Required API Key ACLs:
555
+ * - addObject
556
+ * - deleteIndex
557
+ * - editSettings.
558
+ *
559
+ * @param updateSource - The updateSource object.
560
+ * @param updateSource.sourceID - The source UUID.
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
+ * Update the task of the given taskID.
567
+ *
568
+ * @param updateTask - The updateTask object.
569
+ * @param updateTask.taskID - The task UUID.
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