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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/dist/builds/browser.d.ts +52 -5
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +52 -5
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/ingestion.cjs +1332 -0
  6. package/dist/ingestion.esm.browser.js +1488 -969
  7. package/dist/ingestion.esm.node.js +1319 -819
  8. package/dist/ingestion.umd.js +2 -2
  9. package/dist/model/actionType.d.ts +4 -1
  10. package/dist/model/actionType.d.ts.map +1 -1
  11. package/dist/model/authAPIKey.d.ts +9 -3
  12. package/dist/model/authAPIKey.d.ts.map +1 -1
  13. package/dist/model/authAPIKeyPartial.d.ts +10 -0
  14. package/dist/model/authAPIKeyPartial.d.ts.map +1 -0
  15. package/dist/model/authAlgolia.d.ts +13 -4
  16. package/dist/model/authAlgolia.d.ts.map +1 -1
  17. package/dist/model/authAlgoliaInsights.d.ts +14 -0
  18. package/dist/model/authAlgoliaInsights.d.ts.map +1 -0
  19. package/dist/model/authAlgoliaInsightsPartial.d.ts +14 -0
  20. package/dist/model/authAlgoliaInsightsPartial.d.ts.map +1 -0
  21. package/dist/model/authAlgoliaPartial.d.ts +14 -0
  22. package/dist/model/authAlgoliaPartial.d.ts.map +1 -0
  23. package/dist/model/authBasic.d.ts +13 -4
  24. package/dist/model/authBasic.d.ts.map +1 -1
  25. package/dist/model/authBasicPartial.d.ts +14 -0
  26. package/dist/model/authBasicPartial.d.ts.map +1 -0
  27. package/dist/model/authGoogleServiceAccount.d.ts +13 -4
  28. package/dist/model/authGoogleServiceAccount.d.ts.map +1 -1
  29. package/dist/model/authGoogleServiceAccountPartial.d.ts +14 -0
  30. package/dist/model/authGoogleServiceAccountPartial.d.ts.map +1 -0
  31. package/dist/model/authInput.d.ts +7 -6
  32. package/dist/model/authInput.d.ts.map +1 -1
  33. package/dist/model/authInputPartial.d.ts +8 -0
  34. package/dist/model/authInputPartial.d.ts.map +1 -0
  35. package/dist/model/authOAuth.d.ts +21 -6
  36. package/dist/model/authOAuth.d.ts.map +1 -1
  37. package/dist/model/authOAuthPartial.d.ts +22 -0
  38. package/dist/model/authOAuthPartial.d.ts.map +1 -0
  39. package/dist/model/authentication.d.ts +27 -16
  40. package/dist/model/authentication.d.ts.map +1 -1
  41. package/dist/model/authenticationCreate.d.ts +15 -9
  42. package/dist/model/authenticationCreate.d.ts.map +1 -1
  43. package/dist/model/authenticationCreateResponse.d.ts +17 -8
  44. package/dist/model/authenticationCreateResponse.d.ts.map +1 -1
  45. package/dist/model/authenticationSearch.d.ts +7 -0
  46. package/dist/model/authenticationSearch.d.ts.map +1 -0
  47. package/dist/model/authenticationSortKeys.d.ts +5 -0
  48. package/dist/model/authenticationSortKeys.d.ts.map +1 -0
  49. package/dist/model/authenticationType.d.ts +4 -1
  50. package/dist/model/authenticationType.d.ts.map +1 -1
  51. package/dist/model/authenticationUpdate.d.ts +15 -9
  52. package/dist/model/authenticationUpdate.d.ts.map +1 -1
  53. package/dist/model/authenticationUpdateResponse.d.ts +17 -8
  54. package/dist/model/authenticationUpdateResponse.d.ts.map +1 -1
  55. package/dist/model/bigCommerceChannel.d.ts +11 -0
  56. package/dist/model/bigCommerceChannel.d.ts.map +1 -0
  57. package/dist/model/bigCommerceMetafield.d.ts +11 -0
  58. package/dist/model/bigCommerceMetafield.d.ts.map +1 -0
  59. package/dist/model/bigQueryDataType.d.ts +2 -0
  60. package/dist/model/bigQueryDataType.d.ts.map +1 -0
  61. package/dist/model/clientMethodProps.d.ts +465 -282
  62. package/dist/model/clientMethodProps.d.ts.map +1 -1
  63. package/dist/model/commercetoolsCustomFields.d.ts +18 -0
  64. package/dist/model/commercetoolsCustomFields.d.ts.map +1 -0
  65. package/dist/model/deleteResponse.d.ts +6 -6
  66. package/dist/model/deleteResponse.d.ts.map +1 -1
  67. package/dist/model/destination.d.ts +29 -17
  68. package/dist/model/destination.d.ts.map +1 -1
  69. package/dist/model/destinationCreate.d.ts +17 -8
  70. package/dist/model/destinationCreate.d.ts.map +1 -1
  71. package/dist/model/destinationCreateResponse.d.ts +17 -8
  72. package/dist/model/destinationCreateResponse.d.ts.map +1 -1
  73. package/dist/model/destinationIndexName.d.ts +12 -3
  74. package/dist/model/destinationIndexName.d.ts.map +1 -1
  75. package/dist/model/destinationIndexPrefix.d.ts +6 -3
  76. package/dist/model/destinationIndexPrefix.d.ts.map +1 -1
  77. package/dist/model/destinationInput.d.ts +3 -3
  78. package/dist/model/destinationInput.d.ts.map +1 -1
  79. package/dist/model/destinationSearch.d.ts +7 -0
  80. package/dist/model/destinationSearch.d.ts.map +1 -0
  81. package/dist/model/destinationSortKeys.d.ts +5 -0
  82. package/dist/model/destinationSortKeys.d.ts.map +1 -0
  83. package/dist/model/destinationType.d.ts +4 -1
  84. package/dist/model/destinationType.d.ts.map +1 -1
  85. package/dist/model/destinationUpdate.d.ts +17 -8
  86. package/dist/model/destinationUpdate.d.ts.map +1 -1
  87. package/dist/model/destinationUpdateResponse.d.ts +17 -8
  88. package/dist/model/destinationUpdateResponse.d.ts.map +1 -1
  89. package/dist/model/dockerImageType.d.ts +5 -0
  90. package/dist/model/dockerImageType.d.ts.map +1 -0
  91. package/dist/model/dockerRegistry.d.ts +5 -0
  92. package/dist/model/dockerRegistry.d.ts.map +1 -0
  93. package/dist/model/dockerSourceDiscover.d.ts +11 -0
  94. package/dist/model/dockerSourceDiscover.d.ts.map +1 -0
  95. package/dist/model/dockerSourceStreams.d.ts +4 -0
  96. package/dist/model/dockerSourceStreams.d.ts.map +1 -0
  97. package/dist/model/errorBase.d.ts +6 -6
  98. package/dist/model/errorBase.d.ts.map +1 -1
  99. package/dist/model/event.d.ts +30 -14
  100. package/dist/model/event.d.ts.map +1 -1
  101. package/dist/model/eventSortKeys.d.ts +5 -0
  102. package/dist/model/eventSortKeys.d.ts.map +1 -0
  103. package/dist/model/eventStatus.d.ts +1 -1
  104. package/dist/model/eventStatus.d.ts.map +1 -1
  105. package/dist/model/eventType.d.ts +1 -1
  106. package/dist/model/eventType.d.ts.map +1 -1
  107. package/dist/model/index.d.ts +126 -63
  108. package/dist/model/index.d.ts.map +1 -1
  109. package/dist/model/listAuthenticationsResponse.d.ts +6 -6
  110. package/dist/model/listAuthenticationsResponse.d.ts.map +1 -1
  111. package/dist/model/listDestinationsResponse.d.ts +6 -6
  112. package/dist/model/listDestinationsResponse.d.ts.map +1 -1
  113. package/dist/model/listEventsResponse.d.ts +8 -6
  114. package/dist/model/listEventsResponse.d.ts.map +1 -1
  115. package/dist/model/listSourcesResponse.d.ts +6 -6
  116. package/dist/model/listSourcesResponse.d.ts.map +1 -1
  117. package/dist/model/listTasksResponse.d.ts +9 -6
  118. package/dist/model/listTasksResponse.d.ts.map +1 -1
  119. package/dist/model/mappingFieldDirective.d.ts +14 -0
  120. package/dist/model/mappingFieldDirective.d.ts.map +1 -0
  121. package/dist/model/mappingFormatSchema.d.ts +5 -0
  122. package/dist/model/mappingFormatSchema.d.ts.map +1 -0
  123. package/dist/model/mappingInput.d.ts +10 -0
  124. package/dist/model/mappingInput.d.ts.map +1 -0
  125. package/dist/model/mappingKitAction.d.ts +20 -0
  126. package/dist/model/mappingKitAction.d.ts.map +1 -0
  127. package/dist/model/mappingTypeCSV.d.ts +2 -0
  128. package/dist/model/mappingTypeCSV.d.ts.map +1 -0
  129. package/dist/model/methodType.d.ts +4 -1
  130. package/dist/model/methodType.d.ts.map +1 -1
  131. package/dist/model/onDemandDateUtilsInput.d.ts +16 -0
  132. package/dist/model/onDemandDateUtilsInput.d.ts.map +1 -0
  133. package/dist/model/onDemandTrigger.d.ts +12 -0
  134. package/dist/model/onDemandTrigger.d.ts.map +1 -0
  135. package/dist/model/onDemandTriggerInput.d.ts +8 -0
  136. package/dist/model/onDemandTriggerInput.d.ts.map +1 -0
  137. package/dist/model/onDemandTriggerType.d.ts +5 -0
  138. package/dist/model/onDemandTriggerType.d.ts.map +1 -0
  139. package/dist/model/orderKeys.d.ts +5 -0
  140. package/dist/model/orderKeys.d.ts.map +1 -0
  141. package/dist/model/pagination.d.ts +21 -6
  142. package/dist/model/pagination.d.ts.map +1 -1
  143. package/dist/model/platform.d.ts +5 -0
  144. package/dist/model/platform.d.ts.map +1 -0
  145. package/dist/model/platformNone.d.ts +5 -0
  146. package/dist/model/platformNone.d.ts.map +1 -0
  147. package/dist/model/platformWithNone.d.ts +4 -0
  148. package/dist/model/platformWithNone.d.ts.map +1 -0
  149. package/dist/model/recordType.d.ts +5 -0
  150. package/dist/model/recordType.d.ts.map +1 -0
  151. package/dist/model/run.d.ts +41 -29
  152. package/dist/model/run.d.ts.map +1 -1
  153. package/dist/model/runListResponse.d.ts +8 -6
  154. package/dist/model/runListResponse.d.ts.map +1 -1
  155. package/dist/model/runOutcome.d.ts +4 -1
  156. package/dist/model/runOutcome.d.ts.map +1 -1
  157. package/dist/model/runProgress.d.ts +4 -4
  158. package/dist/model/runProgress.d.ts.map +1 -1
  159. package/dist/model/runReasonCode.d.ts +5 -0
  160. package/dist/model/runReasonCode.d.ts.map +1 -0
  161. package/dist/model/runResponse.d.ts +13 -7
  162. package/dist/model/runResponse.d.ts.map +1 -1
  163. package/dist/model/runSortKeys.d.ts +5 -0
  164. package/dist/model/runSortKeys.d.ts.map +1 -0
  165. package/dist/model/runStatus.d.ts +4 -1
  166. package/dist/model/runStatus.d.ts.map +1 -1
  167. package/dist/model/runType.d.ts +4 -1
  168. package/dist/model/runType.d.ts.map +1 -1
  169. package/dist/model/scheduleDateUtilsInput.d.ts +12 -0
  170. package/dist/model/scheduleDateUtilsInput.d.ts.map +1 -0
  171. package/dist/model/scheduleTrigger.d.ts +20 -0
  172. package/dist/model/scheduleTrigger.d.ts.map +1 -0
  173. package/dist/model/scheduleTriggerInput.d.ts +12 -0
  174. package/dist/model/scheduleTriggerInput.d.ts.map +1 -0
  175. package/dist/model/scheduleTriggerType.d.ts +5 -0
  176. package/dist/model/scheduleTriggerType.d.ts.map +1 -0
  177. package/dist/model/shopifyInput.d.ts +10 -0
  178. package/dist/model/shopifyInput.d.ts.map +1 -0
  179. package/dist/model/shopifyMarket.d.ts +9 -0
  180. package/dist/model/shopifyMarket.d.ts.map +1 -0
  181. package/dist/model/shopifyMetafield.d.ts +9 -0
  182. package/dist/model/shopifyMetafield.d.ts.map +1 -0
  183. package/dist/model/source.d.ts +23 -17
  184. package/dist/model/source.d.ts.map +1 -1
  185. package/dist/model/sourceBigCommerce.d.ts +12 -3
  186. package/dist/model/sourceBigCommerce.d.ts.map +1 -1
  187. package/dist/model/sourceBigQuery.d.ts +29 -0
  188. package/dist/model/sourceBigQuery.d.ts.map +1 -0
  189. package/dist/model/sourceCSV.d.ts +22 -0
  190. package/dist/model/sourceCSV.d.ts.map +1 -0
  191. package/dist/model/sourceCommercetools.d.ts +15 -9
  192. package/dist/model/sourceCommercetools.d.ts.map +1 -1
  193. package/dist/model/sourceCreate.d.ts +14 -8
  194. package/dist/model/sourceCreate.d.ts.map +1 -1
  195. package/dist/model/sourceCreateResponse.d.ts +14 -8
  196. package/dist/model/sourceCreateResponse.d.ts.map +1 -1
  197. package/dist/model/sourceDocker.d.ts +19 -0
  198. package/dist/model/sourceDocker.d.ts.map +1 -0
  199. package/dist/model/sourceGA4BigQueryExport.d.ts +15 -0
  200. package/dist/model/sourceGA4BigQueryExport.d.ts.map +1 -0
  201. package/dist/model/sourceInput.d.ts +9 -4
  202. package/dist/model/sourceInput.d.ts.map +1 -1
  203. package/dist/model/sourceJSON.d.ts +13 -0
  204. package/dist/model/sourceJSON.d.ts.map +1 -0
  205. package/dist/model/sourceSearch.d.ts +4 -0
  206. package/dist/model/sourceSearch.d.ts.map +1 -0
  207. package/dist/model/sourceShopify.d.ts +4 -0
  208. package/dist/model/sourceShopify.d.ts.map +1 -0
  209. package/dist/model/sourceShopifyBase.d.ts +7 -0
  210. package/dist/model/sourceShopifyBase.d.ts.map +1 -0
  211. package/dist/model/sourceSortKeys.d.ts +5 -0
  212. package/dist/model/sourceSortKeys.d.ts.map +1 -0
  213. package/dist/model/sourceType.d.ts +1 -1
  214. package/dist/model/sourceType.d.ts.map +1 -1
  215. package/dist/model/sourceUpdate.d.ts +12 -8
  216. package/dist/model/sourceUpdate.d.ts.map +1 -1
  217. package/dist/model/sourceUpdateCommercetools.d.ts +15 -0
  218. package/dist/model/sourceUpdateCommercetools.d.ts.map +1 -0
  219. package/dist/model/sourceUpdateDocker.d.ts +17 -0
  220. package/dist/model/sourceUpdateDocker.d.ts.map +1 -0
  221. package/dist/model/sourceUpdateInput.d.ts +9 -0
  222. package/dist/model/sourceUpdateInput.d.ts.map +1 -0
  223. package/dist/model/sourceUpdateResponse.d.ts +14 -8
  224. package/dist/model/sourceUpdateResponse.d.ts.map +1 -1
  225. package/dist/model/sourceUpdateShopify.d.ts +31 -0
  226. package/dist/model/sourceUpdateShopify.d.ts.map +1 -0
  227. package/dist/model/streamingTrigger.d.ts +8 -0
  228. package/dist/model/streamingTrigger.d.ts.map +1 -0
  229. package/dist/model/streamingTriggerType.d.ts +5 -0
  230. package/dist/model/streamingTriggerType.d.ts.map +1 -0
  231. package/dist/model/streamingUtilsInput.d.ts +8 -0
  232. package/dist/model/streamingUtilsInput.d.ts.map +1 -0
  233. package/dist/model/subscriptionTrigger.d.ts +8 -0
  234. package/dist/model/subscriptionTrigger.d.ts.map +1 -0
  235. package/dist/model/subscriptionTriggerType.d.ts +5 -0
  236. package/dist/model/subscriptionTriggerType.d.ts.map +1 -0
  237. package/dist/model/task.d.ts +36 -18
  238. package/dist/model/task.d.ts.map +1 -1
  239. package/dist/model/taskCreate.d.ts +27 -9
  240. package/dist/model/taskCreate.d.ts.map +1 -1
  241. package/dist/model/taskCreateResponse.d.ts +13 -7
  242. package/dist/model/taskCreateResponse.d.ts.map +1 -1
  243. package/dist/model/taskCreateTrigger.d.ts +6 -0
  244. package/dist/model/taskCreateTrigger.d.ts.map +1 -0
  245. package/dist/model/taskInput.d.ts +9 -0
  246. package/dist/model/taskInput.d.ts.map +1 -0
  247. package/dist/model/taskSearch.d.ts +4 -0
  248. package/dist/model/taskSearch.d.ts.map +1 -0
  249. package/dist/model/taskSortKeys.d.ts +5 -0
  250. package/dist/model/taskSortKeys.d.ts.map +1 -0
  251. package/dist/model/taskUpdate.d.ts +21 -6
  252. package/dist/model/taskUpdate.d.ts.map +1 -1
  253. package/dist/model/taskUpdateResponse.d.ts +13 -7
  254. package/dist/model/taskUpdateResponse.d.ts.map +1 -1
  255. package/dist/model/trigger.d.ts +8 -13
  256. package/dist/model/trigger.d.ts.map +1 -1
  257. package/dist/model/triggerType.d.ts +4 -1
  258. package/dist/model/triggerType.d.ts.map +1 -1
  259. package/dist/model/triggerUpdateInput.d.ts +10 -0
  260. package/dist/model/triggerUpdateInput.d.ts.map +1 -0
  261. package/dist/model/window.d.ts +14 -0
  262. package/dist/model/window.d.ts.map +1 -0
  263. package/dist/src/ingestionClient.d.ts +574 -325
  264. package/dist/src/ingestionClient.d.ts.map +1 -1
  265. package/index.js +1 -1
  266. package/model/actionType.ts +5 -2
  267. package/model/authAPIKey.ts +7 -1
  268. package/model/authAPIKeyPartial.ts +11 -0
  269. package/model/authAlgolia.ts +10 -1
  270. package/model/authAlgoliaInsights.ts +16 -0
  271. package/model/authAlgoliaInsightsPartial.ts +16 -0
  272. package/model/authAlgoliaPartial.ts +16 -0
  273. package/model/authBasic.ts +10 -1
  274. package/model/authBasicPartial.ts +16 -0
  275. package/model/authGoogleServiceAccount.ts +10 -1
  276. package/model/authGoogleServiceAccountPartial.ts +16 -0
  277. package/model/authInput.ts +3 -1
  278. package/model/authInputPartial.ts +16 -0
  279. package/model/authOAuth.ts +16 -1
  280. package/model/authOAuthPartial.ts +26 -0
  281. package/model/authentication.ts +17 -5
  282. package/model/authenticationCreate.ts +9 -3
  283. package/model/authenticationCreateResponse.ts +11 -2
  284. package/model/authenticationSearch.ts +8 -0
  285. package/model/authenticationSortKeys.ts +11 -0
  286. package/model/authenticationType.ts +5 -1
  287. package/model/authenticationUpdate.ts +11 -5
  288. package/model/authenticationUpdateResponse.ts +11 -2
  289. package/model/bigCommerceChannel.ts +13 -0
  290. package/model/bigCommerceMetafield.ts +13 -0
  291. package/model/bigQueryDataType.ts +3 -0
  292. package/model/clientMethodProps.ts +236 -48
  293. package/model/commercetoolsCustomFields.ts +21 -0
  294. package/model/deleteResponse.ts +2 -2
  295. package/model/destination.ts +15 -3
  296. package/model/destinationCreate.ts +11 -2
  297. package/model/destinationCreateResponse.ts +11 -2
  298. package/model/destinationIndexName.ts +13 -1
  299. package/model/destinationIndexPrefix.ts +4 -1
  300. package/model/destinationInput.ts +1 -1
  301. package/model/destinationSearch.ts +8 -0
  302. package/model/destinationSortKeys.ts +6 -0
  303. package/model/destinationType.ts +5 -2
  304. package/model/destinationUpdate.ts +10 -1
  305. package/model/destinationUpdateResponse.ts +11 -2
  306. package/model/dockerImageType.ts +6 -0
  307. package/model/dockerRegistry.ts +6 -0
  308. package/model/dockerSourceDiscover.ts +13 -0
  309. package/model/dockerSourceStreams.ts +5 -0
  310. package/model/errorBase.ts +1 -1
  311. package/model/event.ts +19 -2
  312. package/model/eventSortKeys.ts +6 -0
  313. package/model/eventStatus.ts +2 -1
  314. package/model/eventType.ts +2 -2
  315. package/model/index.ts +69 -6
  316. package/model/listAuthenticationsResponse.ts +1 -1
  317. package/model/listDestinationsResponse.ts +1 -1
  318. package/model/listEventsResponse.ts +4 -1
  319. package/model/listSourcesResponse.ts +1 -1
  320. package/model/listTasksResponse.ts +4 -1
  321. package/model/mappingFieldDirective.ts +16 -0
  322. package/model/mappingFormatSchema.ts +6 -0
  323. package/model/mappingInput.ts +13 -0
  324. package/model/mappingKitAction.ts +25 -0
  325. package/model/mappingTypeCSV.ts +8 -0
  326. package/model/methodType.ts +4 -1
  327. package/model/onDemandDateUtilsInput.ts +20 -0
  328. package/model/onDemandTrigger.ts +15 -0
  329. package/model/onDemandTriggerInput.ts +10 -0
  330. package/model/onDemandTriggerType.ts +6 -0
  331. package/model/orderKeys.ts +6 -0
  332. package/model/pagination.ts +16 -1
  333. package/model/platform.ts +6 -0
  334. package/model/platformNone.ts +6 -0
  335. package/model/platformWithNone.ts +6 -0
  336. package/model/recordType.ts +6 -0
  337. package/model/run.ts +22 -8
  338. package/model/runListResponse.ts +4 -1
  339. package/model/runOutcome.ts +5 -2
  340. package/model/runProgress.ts +1 -1
  341. package/model/runReasonCode.ts +13 -0
  342. package/model/runResponse.ts +8 -2
  343. package/model/runSortKeys.ts +6 -0
  344. package/model/runStatus.ts +10 -2
  345. package/model/runType.ts +5 -2
  346. package/model/scheduleDateUtilsInput.ts +15 -0
  347. package/model/scheduleTrigger.ts +25 -0
  348. package/model/scheduleTriggerInput.ts +15 -0
  349. package/model/scheduleTriggerType.ts +6 -0
  350. package/model/shopifyInput.ts +13 -0
  351. package/model/shopifyMarket.ts +12 -0
  352. package/model/shopifyMetafield.ts +12 -0
  353. package/model/source.ts +9 -3
  354. package/model/sourceBigCommerce.ts +16 -2
  355. package/model/sourceBigQuery.ts +37 -0
  356. package/model/sourceCSV.ts +28 -0
  357. package/model/sourceCommercetools.ts +11 -2
  358. package/model/sourceCreate.ts +8 -2
  359. package/model/sourceCreateResponse.ts +8 -2
  360. package/model/sourceDocker.ts +25 -0
  361. package/model/sourceGA4BigQueryExport.ts +18 -0
  362. package/model/sourceInput.ts +16 -3
  363. package/model/sourceJSON.ts +17 -0
  364. package/model/sourceSearch.ts +5 -0
  365. package/model/sourceShopify.ts +6 -0
  366. package/model/sourceShopifyBase.ts +8 -0
  367. package/model/sourceSortKeys.ts +6 -0
  368. package/model/sourceType.ts +11 -2
  369. package/model/sourceUpdate.ts +9 -6
  370. package/model/sourceUpdateCommercetools.ts +21 -0
  371. package/model/sourceUpdateDocker.ts +22 -0
  372. package/model/sourceUpdateInput.ts +18 -0
  373. package/model/sourceUpdateResponse.ts +8 -2
  374. package/model/sourceUpdateShopify.ts +38 -0
  375. package/model/streamingTrigger.ts +10 -0
  376. package/model/streamingTriggerType.ts +6 -0
  377. package/model/streamingUtilsInput.ts +10 -0
  378. package/model/subscriptionTrigger.ts +10 -0
  379. package/model/subscriptionTriggerType.ts +6 -0
  380. package/model/task.ts +24 -4
  381. package/model/taskCreate.ts +23 -3
  382. package/model/taskCreateResponse.ts +8 -2
  383. package/model/taskCreateTrigger.ts +12 -0
  384. package/model/taskInput.ts +15 -0
  385. package/model/taskSearch.ts +5 -0
  386. package/model/taskSortKeys.ts +11 -0
  387. package/model/taskUpdate.ts +20 -3
  388. package/model/taskUpdateResponse.ts +8 -2
  389. package/model/trigger.ts +15 -19
  390. package/model/triggerType.ts +9 -2
  391. package/model/triggerUpdateInput.ts +11 -0
  392. package/model/window.ts +16 -0
  393. package/package.json +10 -9
  394. package/dist/ingestion.cjs.js +0 -831
  395. package/dist/model/authenticationInput.d.ts +0 -5
  396. package/dist/model/authenticationInput.d.ts.map +0 -1
  397. package/dist/model/authenticationWithInput.d.ts +0 -4
  398. package/dist/model/authenticationWithInput.d.ts.map +0 -1
  399. package/dist/model/platformType.d.ts +0 -2
  400. package/dist/model/platformType.d.ts.map +0 -1
  401. package/dist/model/sourceJson.d.ts +0 -6
  402. package/dist/model/sourceJson.d.ts.map +0 -1
  403. package/dist/model/triggerInput.d.ts +0 -6
  404. package/dist/model/triggerInput.d.ts.map +0 -1
  405. package/model/authenticationInput.ts +0 -7
  406. package/model/authenticationWithInput.ts +0 -6
  407. package/model/platformType.ts +0 -3
  408. package/model/sourceJson.ts +0 -9
  409. package/model/triggerInput.ts +0 -9
@@ -1,3 +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
2
 
3
- export type DestinationType = 'flow' | 'insights' | 'predict' | 'search';
3
+ /**
4
+ * Destination type. - `search`. Data is stored in an Algolia index. - `insights`. Data is recorded as user events in the Insights API.
5
+ */
6
+ export type DestinationType = 'insights' | 'search';
@@ -1,14 +1,23 @@
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 { DestinationInput } from './destinationInput';
4
4
  import type { DestinationType } from './destinationType';
5
5
 
6
+ /**
7
+ * API request body for updating a destination.
8
+ */
6
9
  export type DestinationUpdate = {
7
10
  type?: DestinationType;
8
11
 
12
+ /**
13
+ * Descriptive name for the resource.
14
+ */
9
15
  name?: string;
10
16
 
11
17
  input?: DestinationInput;
12
18
 
19
+ /**
20
+ * Universally unique identifier (UUID) of an authentication resource.
21
+ */
13
22
  authenticationID?: string;
14
23
  };
@@ -1,12 +1,21 @@
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
+ * API response for updating a destination.
5
+ */
3
6
  export type DestinationUpdateResponse = {
7
+ /**
8
+ * Universally unique identifier (UUID) of a destination resource.
9
+ */
4
10
  destinationID: string;
5
11
 
12
+ /**
13
+ * Descriptive name for the resource.
14
+ */
6
15
  name: string;
7
16
 
8
17
  /**
9
- * Date of last update (RFC3339 format).
18
+ * Date of last update in RFC3339 format.
10
19
  */
11
20
  updatedAt: string;
12
21
  };
@@ -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
+ * Image type.
5
+ */
6
+ export type DockerImageType = 'airbyte' | 'custom' | 'singer';
@@ -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
+ * Container registry name from where to pull the image.
5
+ */
6
+ export type DockerRegistry = 'dockerhub' | 'ghcr';
@@ -0,0 +1,13 @@
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 DockerSourceDiscover = {
4
+ /**
5
+ * Universally unique identifier (UUID) of a task run.
6
+ */
7
+ runID: string;
8
+
9
+ /**
10
+ * Date of creation in RFC3339 format.
11
+ */
12
+ createdAt: string;
13
+ };
@@ -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 DockerSourceStreams = {
4
+ streams: Array<Record<string, any>>;
5
+ };
@@ -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
  /**
4
4
  * Error.
package/model/event.ts CHANGED
@@ -1,23 +1,40 @@
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 { EventStatus } from './eventStatus';
4
4
  import type { EventType } from './eventType';
5
5
 
6
+ /**
7
+ * An event describe a step of the task execution flow..
8
+ */
6
9
  export type Event = {
10
+ /**
11
+ * Universally unique identifier (UUID) of an event.
12
+ */
7
13
  eventID: string;
8
14
 
15
+ /**
16
+ * Universally unique identifier (UUID) of a task run.
17
+ */
9
18
  runID: string;
10
19
 
20
+ /**
21
+ * The parent event, the cause of this event.
22
+ */
11
23
  parentID?: string;
12
24
 
13
25
  status: EventStatus;
14
26
 
15
27
  type: EventType;
16
28
 
29
+ /**
30
+ * The extracted record batch size.
31
+ */
32
+ batchSize: number;
33
+
17
34
  data?: Record<string, any>;
18
35
 
19
36
  /**
20
- * Date of publish (RFC3339 format).
37
+ * Date of publish RFC3339 format.
21
38
  */
22
39
  publishedAt: string;
23
40
  };
@@ -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
+ * Property by which to sort the list of task run events.
5
+ */
6
+ export type EventSortKeys = 'publishedAt' | 'status' | 'type';
@@ -1,7 +1,8 @@
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 EventStatus =
4
4
  | 'created'
5
+ | 'critical'
5
6
  | 'failed'
6
7
  | 'retried'
7
8
  | 'started'
@@ -1,3 +1,3 @@
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 EventType = 'fetch' | 'internal' | 'record';
3
+ export type EventType = 'fetch' | 'log' | 'record' | 'transform';
package/model/index.ts CHANGED
@@ -1,20 +1,32 @@
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 * from './actionType';
4
4
  export * from './authAPIKey';
5
+ export * from './authAPIKeyPartial';
5
6
  export * from './authAlgolia';
7
+ export * from './authAlgoliaInsights';
8
+ export * from './authAlgoliaInsightsPartial';
9
+ export * from './authAlgoliaPartial';
6
10
  export * from './authBasic';
11
+ export * from './authBasicPartial';
7
12
  export * from './authGoogleServiceAccount';
13
+ export * from './authGoogleServiceAccountPartial';
8
14
  export * from './authInput';
15
+ export * from './authInputPartial';
9
16
  export * from './authOAuth';
17
+ export * from './authOAuthPartial';
10
18
  export * from './authentication';
11
19
  export * from './authenticationCreate';
12
20
  export * from './authenticationCreateResponse';
13
- export * from './authenticationInput';
21
+ export * from './authenticationSearch';
22
+ export * from './authenticationSortKeys';
14
23
  export * from './authenticationType';
15
24
  export * from './authenticationUpdate';
16
25
  export * from './authenticationUpdateResponse';
17
- export * from './authenticationWithInput';
26
+ export * from './bigCommerceChannel';
27
+ export * from './bigCommerceMetafield';
28
+ export * from './bigQueryDataType';
29
+ export * from './commercetoolsCustomFields';
18
30
  export * from './deleteResponse';
19
31
  export * from './destination';
20
32
  export * from './destinationCreate';
@@ -22,11 +34,18 @@ export * from './destinationCreateResponse';
22
34
  export * from './destinationIndexName';
23
35
  export * from './destinationIndexPrefix';
24
36
  export * from './destinationInput';
37
+ export * from './destinationSearch';
38
+ export * from './destinationSortKeys';
25
39
  export * from './destinationType';
26
40
  export * from './destinationUpdate';
27
41
  export * from './destinationUpdateResponse';
42
+ export * from './dockerImageType';
43
+ export * from './dockerRegistry';
44
+ export * from './dockerSourceDiscover';
45
+ export * from './dockerSourceStreams';
28
46
  export * from './errorBase';
29
47
  export * from './event';
48
+ export * from './eventSortKeys';
30
49
  export * from './eventStatus';
31
50
  export * from './eventType';
32
51
  export * from './listAuthenticationsResponse';
@@ -34,32 +53,76 @@ export * from './listDestinationsResponse';
34
53
  export * from './listEventsResponse';
35
54
  export * from './listSourcesResponse';
36
55
  export * from './listTasksResponse';
56
+ export * from './mappingFieldDirective';
57
+ export * from './mappingFormatSchema';
58
+ export * from './mappingInput';
59
+ export * from './mappingKitAction';
60
+ export * from './mappingTypeCSV';
37
61
  export * from './methodType';
62
+ export * from './onDemandDateUtilsInput';
63
+ export * from './onDemandTrigger';
64
+ export * from './onDemandTriggerInput';
65
+ export * from './onDemandTriggerType';
66
+ export * from './orderKeys';
38
67
  export * from './pagination';
39
- export * from './platformType';
68
+ export * from './platform';
69
+ export * from './platformNone';
70
+ export * from './platformWithNone';
71
+ export * from './recordType';
40
72
  export * from './run';
41
73
  export * from './runListResponse';
42
74
  export * from './runOutcome';
43
75
  export * from './runProgress';
76
+ export * from './runReasonCode';
44
77
  export * from './runResponse';
78
+ export * from './runSortKeys';
45
79
  export * from './runStatus';
46
80
  export * from './runType';
81
+ export * from './scheduleDateUtilsInput';
82
+ export * from './scheduleTrigger';
83
+ export * from './scheduleTriggerInput';
84
+ export * from './scheduleTriggerType';
85
+ export * from './shopifyInput';
86
+ export * from './shopifyMarket';
87
+ export * from './shopifyMetafield';
47
88
  export * from './source';
48
89
  export * from './sourceBigCommerce';
90
+ export * from './sourceBigQuery';
91
+ export * from './sourceCSV';
49
92
  export * from './sourceCommercetools';
50
93
  export * from './sourceCreate';
51
94
  export * from './sourceCreateResponse';
95
+ export * from './sourceDocker';
96
+ export * from './sourceGA4BigQueryExport';
52
97
  export * from './sourceInput';
53
- export * from './sourceJson';
98
+ export * from './sourceJSON';
99
+ export * from './sourceSearch';
100
+ export * from './sourceShopify';
101
+ export * from './sourceShopifyBase';
102
+ export * from './sourceSortKeys';
54
103
  export * from './sourceType';
55
104
  export * from './sourceUpdate';
105
+ export * from './sourceUpdateCommercetools';
106
+ export * from './sourceUpdateDocker';
107
+ export * from './sourceUpdateInput';
56
108
  export * from './sourceUpdateResponse';
109
+ export * from './sourceUpdateShopify';
110
+ export * from './streamingTrigger';
111
+ export * from './streamingTriggerType';
112
+ export * from './streamingUtilsInput';
113
+ export * from './subscriptionTrigger';
114
+ export * from './subscriptionTriggerType';
57
115
  export * from './task';
58
116
  export * from './taskCreate';
59
117
  export * from './taskCreateResponse';
118
+ export * from './taskCreateTrigger';
119
+ export * from './taskInput';
120
+ export * from './taskSearch';
121
+ export * from './taskSortKeys';
60
122
  export * from './taskUpdate';
61
123
  export * from './taskUpdateResponse';
62
124
  export * from './trigger';
63
- export * from './triggerInput';
64
125
  export * from './triggerType';
126
+ export * from './triggerUpdateInput';
127
+ export * from './window';
65
128
  export * from './clientMethodProps';
@@ -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 { Authentication } from './authentication';
4
4
  import type { Pagination } from './pagination';
@@ -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 { Destination } from './destination';
4
4
  import type { Pagination } from './pagination';
@@ -1,10 +1,13 @@
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 { Event } from './event';
4
4
  import type { Pagination } from './pagination';
5
+ import type { Window } from './window';
5
6
 
6
7
  export type ListEventsResponse = {
7
8
  events: Event[];
8
9
 
9
10
  pagination: Pagination;
11
+
12
+ window: Window;
10
13
  };
@@ -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 { Pagination } from './pagination';
4
4
  import type { Source } from './source';
@@ -1,8 +1,11 @@
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 { Pagination } from './pagination';
4
4
  import type { Task } from './task';
5
5
 
6
+ /**
7
+ * Configured tasks and pagination information.
8
+ */
6
9
  export type ListTasksResponse = {
7
10
  tasks: Task[];
8
11
 
@@ -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
+ /**
4
+ * Describes how a field should be resolved by applying a set of directives.
5
+ */
6
+ export type MappingFieldDirective = {
7
+ /**
8
+ * Destination field key.
9
+ */
10
+ fieldKey: string;
11
+
12
+ /**
13
+ * How the destination field should be resolved from the source.
14
+ */
15
+ value: Record<string, any>;
16
+ };
@@ -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
+ * Mapping format schema.
5
+ */
6
+ export type MappingFormatSchema = 'mappingkit/v1';
@@ -0,0 +1,13 @@
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 { MappingFormatSchema } from './mappingFormatSchema';
4
+ import type { MappingKitAction } from './mappingKitAction';
5
+
6
+ /**
7
+ * Transformations to apply to the source, serialized as a JSON string.
8
+ */
9
+ export type MappingInput = {
10
+ format: MappingFormatSchema;
11
+
12
+ actions: MappingKitAction[];
13
+ };
@@ -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 { MappingFieldDirective } from './mappingFieldDirective';
4
+
5
+ /**
6
+ * Describes how a destination object should be resolved by means of applying a set of directives.
7
+ */
8
+ export type MappingKitAction = {
9
+ /**
10
+ * ID to uniquely identify this action.
11
+ */
12
+ id?: string;
13
+
14
+ /**
15
+ * Whether this action has any effect.
16
+ */
17
+ enabled: boolean;
18
+
19
+ /**
20
+ * Condition which must be satisfied to apply the action. If this evaluates to false, the action is not applied, and the process attempts to apply the next action, if any.
21
+ */
22
+ trigger: string;
23
+
24
+ fieldDirectives: MappingFieldDirective[];
25
+ };
@@ -0,0 +1,8 @@
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 MappingTypeCSV =
4
+ | 'boolean'
5
+ | 'float'
6
+ | 'integer'
7
+ | 'json'
8
+ | 'string';
@@ -1,3 +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
2
 
3
+ /**
4
+ * HTTP method to be used for retrieving your data.
5
+ */
3
6
  export type MethodType = 'GET' | 'POST';
@@ -0,0 +1,20 @@
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
+ * Input for a manually-triggered task whose source is of type `bigquery` and for which extracted data spans a given time range.
7
+ */
8
+ export type OnDemandDateUtilsInput = {
9
+ /**
10
+ * Earliest date in RFC3339 format of the extracted data from Big Query.
11
+ */
12
+ startDate: string;
13
+
14
+ /**
15
+ * Latest date in RFC3339 format of the extracted data from Big Query.
16
+ */
17
+ endDate: string;
18
+
19
+ mapping?: MappingInput;
20
+ };
@@ -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 { OnDemandTriggerType } from './onDemandTriggerType';
4
+
5
+ /**
6
+ * Trigger information for manually-triggered tasks.
7
+ */
8
+ export type OnDemandTrigger = {
9
+ type: OnDemandTriggerType;
10
+
11
+ /**
12
+ * The last time the scheduled task ran in RFC3339 format.
13
+ */
14
+ lastRun?: string;
15
+ };
@@ -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 { OnDemandTriggerType } from './onDemandTriggerType';
4
+
5
+ /**
6
+ * Trigger information for manually-triggered tasks.
7
+ */
8
+ export type OnDemandTriggerInput = {
9
+ type: OnDemandTriggerType;
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
+ * Task is run manually, with the `/run` endpoint.
5
+ */
6
+ export type OnDemandTriggerType = 'onDemand';
@@ -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
+ * Ascending or descending sort order.
5
+ */
6
+ export type OrderKeys = 'asc' | 'desc';
@@ -1,11 +1,26 @@
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
+ * Paginated API response.
5
+ */
3
6
  export type Pagination = {
7
+ /**
8
+ * Number of pages in the API response.
9
+ */
4
10
  nbPages: number;
5
11
 
12
+ /**
13
+ * Page of the API response to retrieve.
14
+ */
6
15
  page: number;
7
16
 
17
+ /**
18
+ * Number of items in the API response.
19
+ */
8
20
  nbItems: number;
9
21
 
22
+ /**
23
+ * Number of items per page.
24
+ */
10
25
  itemsPerPage: number;
11
26
  };
@@ -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
+ * Name of an ecommerce platform with which to authenticate. This determines which authentication type you can select.
5
+ */
6
+ export type Platform = 'bigcommerce' | 'commercetools' | 'shopify';
@@ -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
+ * Authentication resource not tied to any ecommerce platform, used for filtering.
5
+ */
6
+ export type PlatformNone = 'none';
@@ -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
+ import type { Platform } from './platform';
4
+ import type { PlatformNone } from './platformNone';
5
+
6
+ export type PlatformWithNone = Platform | PlatformNone;
@@ -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
+ * Record type for ecommerce sources.
5
+ */
6
+ export type RecordType = 'product' | 'variant';
package/model/run.ts CHANGED
@@ -1,15 +1,22 @@
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 { RunOutcome } from './runOutcome';
4
4
  import type { RunProgress } from './runProgress';
5
+ import type { RunReasonCode } from './runReasonCode';
5
6
  import type { RunStatus } from './runStatus';
6
7
  import type { RunType } from './runType';
7
8
 
8
9
  export type Run = {
10
+ /**
11
+ * Universally unique identifier (UUID) of a task run.
12
+ */
9
13
  runID: string;
10
14
 
11
15
  appID: string;
12
16
 
17
+ /**
18
+ * Universally unique identifier (UUID) of a task.
19
+ */
13
20
  taskID: string;
14
21
 
15
22
  status: RunStatus;
@@ -18,25 +25,32 @@ export type Run = {
18
25
 
19
26
  outcome?: RunOutcome;
20
27
 
21
- type: RunType;
28
+ /**
29
+ * Maximum accepted percentage of failures for a task run to finish successfully.
30
+ */
31
+ failureThreshold?: number;
22
32
 
23
33
  /**
24
- * Date of creation (RFC3339 format).
34
+ * More information about the task run\'s outcome.
25
35
  */
26
- createdAt: string;
36
+ reason?: string;
37
+
38
+ reasonCode?: RunReasonCode;
39
+
40
+ type: RunType;
27
41
 
28
42
  /**
29
- * Date of last update (RFC3339 format).
43
+ * Date of creation in RFC3339 format.
30
44
  */
31
- updatedAt: string;
45
+ createdAt: string;
32
46
 
33
47
  /**
34
- * Date of start (RFC3339 format).
48
+ * Date of start in RFC3339 format.
35
49
  */
36
50
  startedAt?: string;
37
51
 
38
52
  /**
39
- * Date of finish (RFC3339 format).
53
+ * Date of finish in RFC3339 format.
40
54
  */
41
55
  finishedAt?: string;
42
56
  };