@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
@@ -0,0 +1,15 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { ScheduleTriggerType } from './scheduleTriggerType';
4
+
5
+ /**
6
+ * The trigger input for a task of type \'schedule\'.
7
+ */
8
+ export type ScheduleTriggerInput = {
9
+ type: ScheduleTriggerType;
10
+
11
+ /**
12
+ * A cron expression that represent at which regularity the task should run.
13
+ */
14
+ cron: string;
15
+ };
@@ -0,0 +1,6 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ /**
4
+ * A task which is triggered by a schedule (cron expression).
5
+ */
6
+ export type ScheduleTriggerType = 'schedule';
package/model/source.ts CHANGED
@@ -1,9 +1,12 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { SourceInput } from './sourceInput';
4
4
  import type { SourceType } from './sourceType';
5
5
 
6
6
  export type Source = {
7
+ /**
8
+ * The source UUID.
9
+ */
7
10
  sourceID: string;
8
11
 
9
12
  type: SourceType;
@@ -12,6 +15,9 @@ export type Source = {
12
15
 
13
16
  input: SourceInput;
14
17
 
18
+ /**
19
+ * The authentication UUID.
20
+ */
15
21
  authenticationID?: string;
16
22
 
17
23
  /**
@@ -1,5 +1,19 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { BigCommerceChannel } from './bigCommerceChannel';
4
+ import type { BigCommerceMetafield } from './bigCommerceMetafield';
2
5
 
3
6
  export type SourceBigCommerce = {
4
- storeHash?: string;
7
+ /**
8
+ * The store hash identifying the store the shopper is signing in to.
9
+ */
10
+ storeHash: string;
11
+
12
+ channel?: BigCommerceChannel;
13
+
14
+ customFields?: string[];
15
+
16
+ productMetafields?: BigCommerceMetafield[];
17
+
18
+ variantMetafields?: BigCommerceMetafield[];
5
19
  };
@@ -0,0 +1,37 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { BigQueryDataType } from './bigQueryDataType';
4
+
5
+ export type SourceBigQuery = {
6
+ /**
7
+ * Project ID of the BigQuery Source.
8
+ */
9
+ projectID: string;
10
+
11
+ /**
12
+ * Dataset ID of the BigQuery Source.
13
+ */
14
+ datasetID: string;
15
+
16
+ dataType?: BigQueryDataType;
17
+
18
+ /**
19
+ * Table name (for default BQ).
20
+ */
21
+ table?: string;
22
+
23
+ /**
24
+ * Table prefix (for Google Analytics).
25
+ */
26
+ tablePrefix?: string;
27
+
28
+ /**
29
+ * Custom SQL request to extract data from the BigQuery table.
30
+ */
31
+ customSQLRequest?: string;
32
+
33
+ /**
34
+ * The name of the column that contains the unique ID, used as `objectID` in Algolia.
35
+ */
36
+ uniqueIDColumn?: string;
37
+ };
@@ -0,0 +1,28 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { MappingTypeCSV } from './mappingTypeCSV';
4
+ import type { MethodType } from './methodType';
5
+
6
+ export type SourceCSV = {
7
+ /**
8
+ * The URL of the file.
9
+ */
10
+ url: string;
11
+
12
+ /**
13
+ * The name of the column that contains the unique ID, used as `objectID` in Algolia.
14
+ */
15
+ uniqueIDColumn?: string;
16
+
17
+ /**
18
+ * Mapping of type for every column. For example {\"myColumn\": \"boolean\", \"myOtherColumn\": \"json\"}.
19
+ */
20
+ mapping?: Record<string, MappingTypeCSV>;
21
+
22
+ method?: MethodType;
23
+
24
+ /**
25
+ * The character used to split the value on each line, default to a comma (\\r, \\n, 0xFFFD, and space are forbidden).
26
+ */
27
+ delimiter?: string;
28
+ };
@@ -1,4 +1,6 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { CommercetoolsCustomFields } from './commercetoolsCustomFields';
2
4
 
3
5
  export type SourceCommercetools = {
4
6
  storeKeys?: string[];
@@ -11,4 +13,11 @@ export type SourceCommercetools = {
11
13
  url: string;
12
14
 
13
15
  projectKey: string;
16
+
17
+ /**
18
+ * Determines the value that will be stored in the Algolia record if there\'s no inventory information on the product.
19
+ */
20
+ fallbackIsInStockValue?: boolean;
21
+
22
+ customFields?: CommercetoolsCustomFields;
14
23
  };
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { SourceInput } from './sourceInput';
4
4
  import type { SourceType } from './sourceType';
@@ -10,5 +10,8 @@ export type SourceCreate = {
10
10
 
11
11
  input: SourceInput;
12
12
 
13
- authenticationID: string;
13
+ /**
14
+ * The authentication UUID.
15
+ */
16
+ authenticationID?: string;
14
17
  };
@@ -1,6 +1,9 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type SourceCreateResponse = {
4
+ /**
5
+ * The source UUID.
6
+ */
4
7
  sourceID: string;
5
8
 
6
9
  name: string;
@@ -0,0 +1,25 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { DockerImageType } from './dockerImageType';
4
+ import type { DockerRegistry } from './dockerRegistry';
5
+
6
+ export type SourceDocker = {
7
+ imageType: DockerImageType;
8
+
9
+ registry: DockerRegistry;
10
+
11
+ /**
12
+ * The name of the image to pull.
13
+ */
14
+ image: string;
15
+
16
+ /**
17
+ * The version of the image, defaults to `latest`.
18
+ */
19
+ version?: string;
20
+
21
+ /**
22
+ * The configuration of the spec.
23
+ */
24
+ configuration: Record<string, any>;
25
+ };
@@ -0,0 +1,18 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ export type SourceGA4BigQueryExport = {
4
+ /**
5
+ * GCP project ID that the BigQuery Export writes to.
6
+ */
7
+ projectID: string;
8
+
9
+ /**
10
+ * BigQuery dataset ID that the BigQuery Export writes to.
11
+ */
12
+ datasetID: string;
13
+
14
+ /**
15
+ * Prefix of the tables that the BigQuery Export writes to (i.e. Events_intraday_ for streaming, events_ for daily).
16
+ */
17
+ tablePrefix: string;
18
+ };
@@ -1,7 +1,18 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { SourceBigCommerce } from './sourceBigCommerce';
4
+ import type { SourceBigQuery } from './sourceBigQuery';
5
+ import type { SourceCSV } from './sourceCSV';
4
6
  import type { SourceCommercetools } from './sourceCommercetools';
5
- import type { SourceJson } from './sourceJson';
7
+ import type { SourceDocker } from './sourceDocker';
8
+ import type { SourceGA4BigQueryExport } from './sourceGA4BigQueryExport';
9
+ import type { SourceJSON } from './sourceJSON';
6
10
 
7
- export type SourceInput = SourceBigCommerce | SourceCommercetools | SourceJson;
11
+ export type SourceInput =
12
+ | SourceBigCommerce
13
+ | SourceBigQuery
14
+ | SourceCommercetools
15
+ | SourceCSV
16
+ | SourceDocker
17
+ | SourceGA4BigQueryExport
18
+ | SourceJSON;
@@ -0,0 +1,17 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { MethodType } from './methodType';
4
+
5
+ export type SourceJSON = {
6
+ /**
7
+ * The URL of the file.
8
+ */
9
+ url: string;
10
+
11
+ /**
12
+ * The name of the column that contains the unique ID, used as `objectID` in Algolia.
13
+ */
14
+ uniqueIDColumn?: string;
15
+
16
+ method?: MethodType;
17
+ };
@@ -0,0 +1,5 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ export type SourceSearch = {
4
+ sourceIDs: string[];
5
+ };
@@ -0,0 +1,6 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ /**
4
+ * Used to sort the Source list endpoint.
5
+ */
6
+ export type SourceSortKeys = 'createdAt' | 'name' | 'type' | 'updatedAt';
@@ -1,3 +1,10 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
- export type SourceType = 'bigcommerce' | 'commercetools' | 'json';
3
+ export type SourceType =
4
+ | 'bigcommerce'
5
+ | 'bigquery'
6
+ | 'commercetools'
7
+ | 'csv'
8
+ | 'docker'
9
+ | 'ga4BigqueryExport'
10
+ | 'json';
@@ -1,14 +1,14 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
- import type { SourceInput } from './sourceInput';
4
- import type { SourceType } from './sourceType';
3
+ import type { SourceUpdateInput } from './sourceUpdateInput';
5
4
 
6
5
  export type SourceUpdate = {
7
- type?: SourceType;
8
-
9
6
  name?: string;
10
7
 
11
- input?: SourceInput;
8
+ input?: SourceUpdateInput;
12
9
 
10
+ /**
11
+ * The authentication UUID.
12
+ */
13
13
  authenticationID?: string;
14
14
  };
@@ -0,0 +1,24 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { CommercetoolsCustomFields } from './commercetoolsCustomFields';
4
+
5
+ export type SourceUpdateCommercetools = {
6
+ /**
7
+ * Unique and immutable key of the referenced Store.
8
+ */
9
+ storeKeys?: string[];
10
+
11
+ /**
12
+ * Array of locales that must match the following pattern: ^[a-z]{2}(-[A-Z]{2})?$. For example [\"fr-FR\", \"en\"].
13
+ */
14
+ locales?: string[];
15
+
16
+ url?: string;
17
+
18
+ /**
19
+ * Determines the value that will be stored in the Algolia record if there\'s no inventory information on the product.
20
+ */
21
+ fallbackIsInStockValue?: boolean;
22
+
23
+ customFields?: CommercetoolsCustomFields;
24
+ };
@@ -0,0 +1,22 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { DockerRegistry } from './dockerRegistry';
4
+
5
+ export type SourceUpdateDocker = {
6
+ registry?: DockerRegistry;
7
+
8
+ /**
9
+ * The name of the image to pull.
10
+ */
11
+ image?: string;
12
+
13
+ /**
14
+ * The version of the image, defaults to `latest`.
15
+ */
16
+ version?: string;
17
+
18
+ /**
19
+ * The configuration of the spec.
20
+ */
21
+ configuration: Record<string, any>;
22
+ };
@@ -0,0 +1,16 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { SourceBigQuery } from './sourceBigQuery';
4
+ import type { SourceCSV } from './sourceCSV';
5
+ import type { SourceGA4BigQueryExport } from './sourceGA4BigQueryExport';
6
+ import type { SourceJSON } from './sourceJSON';
7
+ import type { SourceUpdateCommercetools } from './sourceUpdateCommercetools';
8
+ import type { SourceUpdateDocker } from './sourceUpdateDocker';
9
+
10
+ export type SourceUpdateInput =
11
+ | SourceBigQuery
12
+ | SourceCSV
13
+ | SourceGA4BigQueryExport
14
+ | SourceJSON
15
+ | SourceUpdateCommercetools
16
+ | SourceUpdateDocker;
@@ -1,6 +1,9 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type SourceUpdateResponse = {
4
+ /**
5
+ * The source UUID.
6
+ */
4
7
  sourceID: string;
5
8
 
6
9
  name: string;
@@ -0,0 +1,10 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { StreamingTriggerType } from './streamingTriggerType';
4
+
5
+ /**
6
+ * The trigger input for a task of type \'streaming\'.
7
+ */
8
+ export type StreamingTrigger = {
9
+ type: StreamingTriggerType;
10
+ };
@@ -0,0 +1,6 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ /**
4
+ * A task that runs continuously.
5
+ */
6
+ export type StreamingTriggerType = 'streaming';
@@ -0,0 +1,10 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { MappingInput } from './mappingInput';
4
+
5
+ /**
6
+ * The input for a `streaming` task whose source is of type `ga4BigqueryExport` and for which extracted data is continuously streamed.
7
+ */
8
+ export type StreamingUtilsInput = {
9
+ mapping: MappingInput;
10
+ };
@@ -0,0 +1,10 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { SubscriptionTriggerType } from './subscriptionTriggerType';
4
+
5
+ /**
6
+ * The trigger input for a task of type \'subscription\'.
7
+ */
8
+ export type SubscriptionTrigger = {
9
+ type: SubscriptionTriggerType;
10
+ };
@@ -0,0 +1,6 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ /**
4
+ * A task which is triggered by an external subscription (e.g. Webhook).
5
+ */
6
+ export type SubscriptionTriggerType = 'subscription';
package/model/task.ts CHANGED
@@ -1,19 +1,39 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { ActionType } from './actionType';
4
+ import type { TaskInput } from './taskInput';
4
5
  import type { Trigger } from './trigger';
5
6
 
6
7
  export type Task = {
8
+ /**
9
+ * The task UUID.
10
+ */
7
11
  taskID: string;
8
12
 
13
+ /**
14
+ * The source UUID.
15
+ */
9
16
  sourceID: string;
10
17
 
18
+ /**
19
+ * The destination UUID.
20
+ */
11
21
  destinationID: string;
12
22
 
13
- trigger?: Trigger;
23
+ trigger: Trigger;
14
24
 
25
+ input?: TaskInput;
26
+
27
+ /**
28
+ * Whether the task is enabled or not.
29
+ */
15
30
  enabled: boolean;
16
31
 
32
+ /**
33
+ * A percentage representing the accepted failure threshold to determine if a `run` succeeded or not.
34
+ */
35
+ failureThreshold?: number;
36
+
17
37
  action: ActionType;
18
38
 
19
39
  /**
@@ -1,16 +1,36 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { ActionType } from './actionType';
4
- import type { TriggerInput } from './triggerInput';
4
+ import type { TaskCreateTrigger } from './taskCreateTrigger';
5
+ import type { TaskInput } from './taskInput';
5
6
 
7
+ /**
8
+ * The payload for a task creation.
9
+ */
6
10
  export type TaskCreate = {
11
+ /**
12
+ * The source UUID.
13
+ */
7
14
  sourceID: string;
8
15
 
16
+ /**
17
+ * The destination UUID.
18
+ */
9
19
  destinationID: string;
10
20
 
11
- trigger: TriggerInput;
21
+ trigger: TaskCreateTrigger;
12
22
 
13
23
  action: ActionType;
14
24
 
25
+ /**
26
+ * Whether the task is enabled or not.
27
+ */
15
28
  enabled?: boolean;
29
+
30
+ /**
31
+ * A percentage representing the accepted failure threshold to determine if a `run` succeeded or not.
32
+ */
33
+ failureThreshold?: number;
34
+
35
+ input?: TaskInput;
16
36
  };
@@ -1,6 +1,12 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
+ /**
4
+ * The response from the API after a task creation.
5
+ */
3
6
  export type TaskCreateResponse = {
7
+ /**
8
+ * The task UUID.
9
+ */
4
10
  taskID: string;
5
11
 
6
12
  /**
@@ -0,0 +1,12 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { OnDemandTriggerInput } from './onDemandTriggerInput';
4
+ import type { ScheduleTriggerInput } from './scheduleTriggerInput';
5
+ import type { StreamingTrigger } from './streamingTrigger';
6
+ import type { SubscriptionTrigger } from './subscriptionTrigger';
7
+
8
+ export type TaskCreateTrigger =
9
+ | OnDemandTriggerInput
10
+ | ScheduleTriggerInput
11
+ | StreamingTrigger
12
+ | SubscriptionTrigger;
@@ -0,0 +1,10 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ import type { OnDemandDateUtilsInput } from './onDemandDateUtilsInput';
4
+ import type { ScheduleDateUtilsInput } from './scheduleDateUtilsInput';
5
+ import type { StreamingUtilsInput } from './streamingUtilsInput';
6
+
7
+ export type TaskInput =
8
+ | OnDemandDateUtilsInput
9
+ | ScheduleDateUtilsInput
10
+ | StreamingUtilsInput;
@@ -0,0 +1,5 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ export type TaskSearch = {
4
+ taskIDs: string[];
5
+ };
@@ -0,0 +1,11 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ /**
4
+ * Used to sort the Task list endpoint.
5
+ */
6
+ export type TaskSortKeys =
7
+ | 'action'
8
+ | 'createdAt'
9
+ | 'enabled'
10
+ | 'triggerType'
11
+ | 'updatedAt';
@@ -1,11 +1,28 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
- import type { TriggerInput } from './triggerInput';
3
+ import type { TaskInput } from './taskInput';
4
+ import type { TriggerUpdateInput } from './triggerUpdateInput';
4
5
 
6
+ /**
7
+ * The payload for a task update.
8
+ */
5
9
  export type TaskUpdate = {
10
+ /**
11
+ * The destination UUID.
12
+ */
6
13
  destinationID?: string;
7
14
 
8
- trigger?: TriggerInput;
15
+ trigger?: TriggerUpdateInput;
9
16
 
17
+ input?: TaskInput;
18
+
19
+ /**
20
+ * Whether the task is enabled or not.
21
+ */
10
22
  enabled?: boolean;
23
+
24
+ /**
25
+ * A percentage representing the accepted failure threshold to determine if a `run` succeeded or not.
26
+ */
27
+ failureThreshold?: number;
11
28
  };
@@ -1,6 +1,12 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
+ /**
4
+ * The response from the API after a task update.
5
+ */
3
6
  export type TaskUpdateResponse = {
7
+ /**
8
+ * The task UUID.
9
+ */
4
10
  taskID: string;
5
11
 
6
12
  /**