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

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 (434) hide show
  1. package/LICENSE +21 -0
  2. package/dist/builds/browser.d.ts +60 -5
  3. package/dist/builds/browser.d.ts.map +1 -1
  4. package/dist/builds/node.d.ts +60 -5
  5. package/dist/builds/node.d.ts.map +1 -1
  6. package/dist/ingestion.cjs +1565 -0
  7. package/dist/ingestion.esm.browser.js +1724 -979
  8. package/dist/ingestion.esm.node.js +1552 -819
  9. package/dist/ingestion.umd.js +2 -2
  10. package/dist/model/actionType.d.ts +4 -1
  11. package/dist/model/actionType.d.ts.map +1 -1
  12. package/dist/model/authAPIKey.d.ts +9 -3
  13. package/dist/model/authAPIKey.d.ts.map +1 -1
  14. package/dist/model/authAPIKeyPartial.d.ts +10 -0
  15. package/dist/model/authAPIKeyPartial.d.ts.map +1 -0
  16. package/dist/model/authAlgolia.d.ts +13 -4
  17. package/dist/model/authAlgolia.d.ts.map +1 -1
  18. package/dist/model/authAlgoliaInsights.d.ts +14 -0
  19. package/dist/model/authAlgoliaInsights.d.ts.map +1 -0
  20. package/dist/model/authAlgoliaInsightsPartial.d.ts +14 -0
  21. package/dist/model/authAlgoliaInsightsPartial.d.ts.map +1 -0
  22. package/dist/model/authAlgoliaPartial.d.ts +14 -0
  23. package/dist/model/authAlgoliaPartial.d.ts.map +1 -0
  24. package/dist/model/authBasic.d.ts +13 -4
  25. package/dist/model/authBasic.d.ts.map +1 -1
  26. package/dist/model/authBasicPartial.d.ts +14 -0
  27. package/dist/model/authBasicPartial.d.ts.map +1 -0
  28. package/dist/model/authGoogleServiceAccount.d.ts +13 -4
  29. package/dist/model/authGoogleServiceAccount.d.ts.map +1 -1
  30. package/dist/model/authGoogleServiceAccountPartial.d.ts +14 -0
  31. package/dist/model/authGoogleServiceAccountPartial.d.ts.map +1 -0
  32. package/dist/model/authInput.d.ts +7 -6
  33. package/dist/model/authInput.d.ts.map +1 -1
  34. package/dist/model/authInputPartial.d.ts +8 -0
  35. package/dist/model/authInputPartial.d.ts.map +1 -0
  36. package/dist/model/authOAuth.d.ts +21 -6
  37. package/dist/model/authOAuth.d.ts.map +1 -1
  38. package/dist/model/authOAuthPartial.d.ts +22 -0
  39. package/dist/model/authOAuthPartial.d.ts.map +1 -0
  40. package/dist/model/authentication.d.ts +27 -16
  41. package/dist/model/authentication.d.ts.map +1 -1
  42. package/dist/model/authenticationCreate.d.ts +15 -9
  43. package/dist/model/authenticationCreate.d.ts.map +1 -1
  44. package/dist/model/authenticationCreateResponse.d.ts +17 -8
  45. package/dist/model/authenticationCreateResponse.d.ts.map +1 -1
  46. package/dist/model/authenticationSearch.d.ts +7 -0
  47. package/dist/model/authenticationSearch.d.ts.map +1 -0
  48. package/dist/model/authenticationSortKeys.d.ts +5 -0
  49. package/dist/model/authenticationSortKeys.d.ts.map +1 -0
  50. package/dist/model/authenticationType.d.ts +4 -1
  51. package/dist/model/authenticationType.d.ts.map +1 -1
  52. package/dist/model/authenticationUpdate.d.ts +15 -9
  53. package/dist/model/authenticationUpdate.d.ts.map +1 -1
  54. package/dist/model/authenticationUpdateResponse.d.ts +17 -8
  55. package/dist/model/authenticationUpdateResponse.d.ts.map +1 -1
  56. package/dist/model/bigCommerceChannel.d.ts +11 -0
  57. package/dist/model/bigCommerceChannel.d.ts.map +1 -0
  58. package/dist/model/bigCommerceMetafield.d.ts +11 -0
  59. package/dist/model/bigCommerceMetafield.d.ts.map +1 -0
  60. package/dist/model/bigQueryDataType.d.ts +2 -0
  61. package/dist/model/bigQueryDataType.d.ts.map +1 -0
  62. package/dist/model/clientMethodProps.d.ts +509 -282
  63. package/dist/model/clientMethodProps.d.ts.map +1 -1
  64. package/dist/model/commercetoolsCustomFields.d.ts +18 -0
  65. package/dist/model/commercetoolsCustomFields.d.ts.map +1 -0
  66. package/dist/model/deleteResponse.d.ts +6 -6
  67. package/dist/model/deleteResponse.d.ts.map +1 -1
  68. package/dist/model/destination.d.ts +29 -17
  69. package/dist/model/destination.d.ts.map +1 -1
  70. package/dist/model/destinationCreate.d.ts +17 -8
  71. package/dist/model/destinationCreate.d.ts.map +1 -1
  72. package/dist/model/destinationCreateResponse.d.ts +17 -8
  73. package/dist/model/destinationCreateResponse.d.ts.map +1 -1
  74. package/dist/model/destinationIndexName.d.ts +12 -3
  75. package/dist/model/destinationIndexName.d.ts.map +1 -1
  76. package/dist/model/destinationIndexPrefix.d.ts +6 -3
  77. package/dist/model/destinationIndexPrefix.d.ts.map +1 -1
  78. package/dist/model/destinationInput.d.ts +3 -3
  79. package/dist/model/destinationInput.d.ts.map +1 -1
  80. package/dist/model/destinationSearch.d.ts +7 -0
  81. package/dist/model/destinationSearch.d.ts.map +1 -0
  82. package/dist/model/destinationSortKeys.d.ts +5 -0
  83. package/dist/model/destinationSortKeys.d.ts.map +1 -0
  84. package/dist/model/destinationType.d.ts +4 -1
  85. package/dist/model/destinationType.d.ts.map +1 -1
  86. package/dist/model/destinationUpdate.d.ts +17 -8
  87. package/dist/model/destinationUpdate.d.ts.map +1 -1
  88. package/dist/model/destinationUpdateResponse.d.ts +17 -8
  89. package/dist/model/destinationUpdateResponse.d.ts.map +1 -1
  90. package/dist/model/dockerImageType.d.ts +5 -0
  91. package/dist/model/dockerImageType.d.ts.map +1 -0
  92. package/dist/model/dockerRegistry.d.ts +5 -0
  93. package/dist/model/dockerRegistry.d.ts.map +1 -0
  94. package/dist/model/dockerStreamsInput.d.ts +4 -0
  95. package/dist/model/dockerStreamsInput.d.ts.map +1 -0
  96. package/dist/model/errorBase.d.ts +6 -6
  97. package/dist/model/errorBase.d.ts.map +1 -1
  98. package/dist/model/event.d.ts +30 -14
  99. package/dist/model/event.d.ts.map +1 -1
  100. package/dist/model/eventSortKeys.d.ts +5 -0
  101. package/dist/model/eventSortKeys.d.ts.map +1 -0
  102. package/dist/model/eventStatus.d.ts +1 -1
  103. package/dist/model/eventStatus.d.ts.map +1 -1
  104. package/dist/model/eventType.d.ts +1 -1
  105. package/dist/model/eventType.d.ts.map +1 -1
  106. package/dist/model/index.d.ts +134 -63
  107. package/dist/model/index.d.ts.map +1 -1
  108. package/dist/model/listAuthenticationsResponse.d.ts +6 -6
  109. package/dist/model/listAuthenticationsResponse.d.ts.map +1 -1
  110. package/dist/model/listDestinationsResponse.d.ts +6 -6
  111. package/dist/model/listDestinationsResponse.d.ts.map +1 -1
  112. package/dist/model/listEventsResponse.d.ts +8 -6
  113. package/dist/model/listEventsResponse.d.ts.map +1 -1
  114. package/dist/model/listSourcesResponse.d.ts +6 -6
  115. package/dist/model/listSourcesResponse.d.ts.map +1 -1
  116. package/dist/model/listTasksResponse.d.ts +9 -6
  117. package/dist/model/listTasksResponse.d.ts.map +1 -1
  118. package/dist/model/listTransformationsResponse.d.ts +10 -0
  119. package/dist/model/listTransformationsResponse.d.ts.map +1 -0
  120. package/dist/model/mappingFieldDirective.d.ts +14 -0
  121. package/dist/model/mappingFieldDirective.d.ts.map +1 -0
  122. package/dist/model/mappingFormatSchema.d.ts +5 -0
  123. package/dist/model/mappingFormatSchema.d.ts.map +1 -0
  124. package/dist/model/mappingInput.d.ts +10 -0
  125. package/dist/model/mappingInput.d.ts.map +1 -0
  126. package/dist/model/mappingKitAction.d.ts +20 -0
  127. package/dist/model/mappingKitAction.d.ts.map +1 -0
  128. package/dist/model/mappingTypeCSV.d.ts +2 -0
  129. package/dist/model/mappingTypeCSV.d.ts.map +1 -0
  130. package/dist/model/methodType.d.ts +4 -1
  131. package/dist/model/methodType.d.ts.map +1 -1
  132. package/dist/model/onDemandTrigger.d.ts +12 -0
  133. package/dist/model/onDemandTrigger.d.ts.map +1 -0
  134. package/dist/model/onDemandTriggerInput.d.ts +8 -0
  135. package/dist/model/onDemandTriggerInput.d.ts.map +1 -0
  136. package/dist/model/onDemandTriggerType.d.ts +5 -0
  137. package/dist/model/onDemandTriggerType.d.ts.map +1 -0
  138. package/dist/model/orderKeys.d.ts +5 -0
  139. package/dist/model/orderKeys.d.ts.map +1 -0
  140. package/dist/model/pagination.d.ts +21 -6
  141. package/dist/model/pagination.d.ts.map +1 -1
  142. package/dist/model/platform.d.ts +5 -0
  143. package/dist/model/platform.d.ts.map +1 -0
  144. package/dist/model/platformNone.d.ts +5 -0
  145. package/dist/model/platformNone.d.ts.map +1 -0
  146. package/dist/model/platformWithNone.d.ts +4 -0
  147. package/dist/model/platformWithNone.d.ts.map +1 -0
  148. package/dist/model/recordType.d.ts +5 -0
  149. package/dist/model/recordType.d.ts.map +1 -0
  150. package/dist/model/run.d.ts +41 -29
  151. package/dist/model/run.d.ts.map +1 -1
  152. package/dist/model/runListResponse.d.ts +8 -6
  153. package/dist/model/runListResponse.d.ts.map +1 -1
  154. package/dist/model/runOutcome.d.ts +4 -1
  155. package/dist/model/runOutcome.d.ts.map +1 -1
  156. package/dist/model/runProgress.d.ts +4 -4
  157. package/dist/model/runProgress.d.ts.map +1 -1
  158. package/dist/model/runReasonCode.d.ts +5 -0
  159. package/dist/model/runReasonCode.d.ts.map +1 -0
  160. package/dist/model/runResponse.d.ts +13 -7
  161. package/dist/model/runResponse.d.ts.map +1 -1
  162. package/dist/model/runSortKeys.d.ts +5 -0
  163. package/dist/model/runSortKeys.d.ts.map +1 -0
  164. package/dist/model/runStatus.d.ts +4 -1
  165. package/dist/model/runStatus.d.ts.map +1 -1
  166. package/dist/model/runType.d.ts +4 -1
  167. package/dist/model/runType.d.ts.map +1 -1
  168. package/dist/model/scheduleTrigger.d.ts +20 -0
  169. package/dist/model/scheduleTrigger.d.ts.map +1 -0
  170. package/dist/model/scheduleTriggerInput.d.ts +12 -0
  171. package/dist/model/scheduleTriggerInput.d.ts.map +1 -0
  172. package/dist/model/scheduleTriggerType.d.ts +5 -0
  173. package/dist/model/scheduleTriggerType.d.ts.map +1 -0
  174. package/dist/model/shopifyInput.d.ts +10 -0
  175. package/dist/model/shopifyInput.d.ts.map +1 -0
  176. package/dist/model/shopifyMarket.d.ts +9 -0
  177. package/dist/model/shopifyMarket.d.ts.map +1 -0
  178. package/dist/model/shopifyMetafield.d.ts +9 -0
  179. package/dist/model/shopifyMetafield.d.ts.map +1 -0
  180. package/dist/model/sortKeys.d.ts +5 -0
  181. package/dist/model/sortKeys.d.ts.map +1 -0
  182. package/dist/model/source.d.ts +23 -17
  183. package/dist/model/source.d.ts.map +1 -1
  184. package/dist/model/sourceBigCommerce.d.ts +12 -3
  185. package/dist/model/sourceBigCommerce.d.ts.map +1 -1
  186. package/dist/model/sourceBigQuery.d.ts +29 -0
  187. package/dist/model/sourceBigQuery.d.ts.map +1 -0
  188. package/dist/model/sourceCSV.d.ts +22 -0
  189. package/dist/model/sourceCSV.d.ts.map +1 -0
  190. package/dist/model/sourceCommercetools.d.ts +15 -9
  191. package/dist/model/sourceCommercetools.d.ts.map +1 -1
  192. package/dist/model/sourceCreate.d.ts +14 -8
  193. package/dist/model/sourceCreate.d.ts.map +1 -1
  194. package/dist/model/sourceCreateResponse.d.ts +14 -8
  195. package/dist/model/sourceCreateResponse.d.ts.map +1 -1
  196. package/dist/model/sourceDocker.d.ts +19 -0
  197. package/dist/model/sourceDocker.d.ts.map +1 -0
  198. package/dist/model/sourceGA4BigQueryExport.d.ts +15 -0
  199. package/dist/model/sourceGA4BigQueryExport.d.ts.map +1 -0
  200. package/dist/model/sourceInput.d.ts +9 -4
  201. package/dist/model/sourceInput.d.ts.map +1 -1
  202. package/dist/model/sourceJSON.d.ts +13 -0
  203. package/dist/model/sourceJSON.d.ts.map +1 -0
  204. package/dist/model/sourceSearch.d.ts +4 -0
  205. package/dist/model/sourceSearch.d.ts.map +1 -0
  206. package/dist/model/sourceShopify.d.ts +4 -0
  207. package/dist/model/sourceShopify.d.ts.map +1 -0
  208. package/dist/model/sourceShopifyBase.d.ts +7 -0
  209. package/dist/model/sourceShopifyBase.d.ts.map +1 -0
  210. package/dist/model/sourceSortKeys.d.ts +5 -0
  211. package/dist/model/sourceSortKeys.d.ts.map +1 -0
  212. package/dist/model/sourceType.d.ts +1 -1
  213. package/dist/model/sourceType.d.ts.map +1 -1
  214. package/dist/model/sourceUpdate.d.ts +12 -8
  215. package/dist/model/sourceUpdate.d.ts.map +1 -1
  216. package/dist/model/sourceUpdateCommercetools.d.ts +15 -0
  217. package/dist/model/sourceUpdateCommercetools.d.ts.map +1 -0
  218. package/dist/model/sourceUpdateDocker.d.ts +17 -0
  219. package/dist/model/sourceUpdateDocker.d.ts.map +1 -0
  220. package/dist/model/sourceUpdateInput.d.ts +9 -0
  221. package/dist/model/sourceUpdateInput.d.ts.map +1 -0
  222. package/dist/model/sourceUpdateResponse.d.ts +14 -8
  223. package/dist/model/sourceUpdateResponse.d.ts.map +1 -1
  224. package/dist/model/sourceUpdateShopify.d.ts +31 -0
  225. package/dist/model/sourceUpdateShopify.d.ts.map +1 -0
  226. package/dist/model/sourceWatchResponse.d.ts +20 -0
  227. package/dist/model/sourceWatchResponse.d.ts.map +1 -0
  228. package/dist/model/streamingInput.d.ts +8 -0
  229. package/dist/model/streamingInput.d.ts.map +1 -0
  230. package/dist/model/streamingTrigger.d.ts +8 -0
  231. package/dist/model/streamingTrigger.d.ts.map +1 -0
  232. package/dist/model/streamingTriggerType.d.ts +5 -0
  233. package/dist/model/streamingTriggerType.d.ts.map +1 -0
  234. package/dist/model/subscriptionTrigger.d.ts +8 -0
  235. package/dist/model/subscriptionTrigger.d.ts.map +1 -0
  236. package/dist/model/subscriptionTriggerType.d.ts +5 -0
  237. package/dist/model/subscriptionTriggerType.d.ts.map +1 -0
  238. package/dist/model/task.d.ts +40 -18
  239. package/dist/model/task.d.ts.map +1 -1
  240. package/dist/model/taskCreate.d.ts +31 -9
  241. package/dist/model/taskCreate.d.ts.map +1 -1
  242. package/dist/model/taskCreateResponse.d.ts +13 -7
  243. package/dist/model/taskCreateResponse.d.ts.map +1 -1
  244. package/dist/model/taskCreateTrigger.d.ts +6 -0
  245. package/dist/model/taskCreateTrigger.d.ts.map +1 -0
  246. package/dist/model/taskInput.d.ts +8 -0
  247. package/dist/model/taskInput.d.ts.map +1 -0
  248. package/dist/model/taskSearch.d.ts +4 -0
  249. package/dist/model/taskSearch.d.ts.map +1 -0
  250. package/dist/model/taskSortKeys.d.ts +5 -0
  251. package/dist/model/taskSortKeys.d.ts.map +1 -0
  252. package/dist/model/taskUpdate.d.ts +21 -6
  253. package/dist/model/taskUpdate.d.ts.map +1 -1
  254. package/dist/model/taskUpdateResponse.d.ts +13 -7
  255. package/dist/model/taskUpdateResponse.d.ts.map +1 -1
  256. package/dist/model/transformation.d.ts +27 -0
  257. package/dist/model/transformation.d.ts.map +1 -0
  258. package/dist/model/transformationCreate.d.ts +18 -0
  259. package/dist/model/transformationCreate.d.ts.map +1 -0
  260. package/dist/model/transformationCreateResponse.d.ts +14 -0
  261. package/dist/model/transformationCreateResponse.d.ts.map +1 -0
  262. package/dist/model/transformationSearch.d.ts +4 -0
  263. package/dist/model/transformationSearch.d.ts.map +1 -0
  264. package/dist/model/transformationTry.d.ts +11 -0
  265. package/dist/model/transformationTry.d.ts.map +1 -0
  266. package/dist/model/transformationTryResponse.d.ts +9 -0
  267. package/dist/model/transformationTryResponse.d.ts.map +1 -0
  268. package/dist/model/transformationTryResponseError.d.ts +14 -0
  269. package/dist/model/transformationTryResponseError.d.ts.map +1 -0
  270. package/dist/model/transformationUpdateResponse.d.ts +14 -0
  271. package/dist/model/transformationUpdateResponse.d.ts.map +1 -0
  272. package/dist/model/trigger.d.ts +8 -13
  273. package/dist/model/trigger.d.ts.map +1 -1
  274. package/dist/model/triggerType.d.ts +4 -1
  275. package/dist/model/triggerType.d.ts.map +1 -1
  276. package/dist/model/triggerUpdateInput.d.ts +10 -0
  277. package/dist/model/triggerUpdateInput.d.ts.map +1 -0
  278. package/dist/model/window.d.ts +14 -0
  279. package/dist/model/window.d.ts.map +1 -0
  280. package/dist/src/ingestionClient.d.ts +669 -325
  281. package/dist/src/ingestionClient.d.ts.map +1 -1
  282. package/index.js +1 -1
  283. package/model/actionType.ts +5 -2
  284. package/model/authAPIKey.ts +7 -1
  285. package/model/authAPIKeyPartial.ts +11 -0
  286. package/model/authAlgolia.ts +10 -1
  287. package/model/authAlgoliaInsights.ts +16 -0
  288. package/model/authAlgoliaInsightsPartial.ts +16 -0
  289. package/model/authAlgoliaPartial.ts +16 -0
  290. package/model/authBasic.ts +10 -1
  291. package/model/authBasicPartial.ts +16 -0
  292. package/model/authGoogleServiceAccount.ts +10 -1
  293. package/model/authGoogleServiceAccountPartial.ts +16 -0
  294. package/model/authInput.ts +3 -1
  295. package/model/authInputPartial.ts +16 -0
  296. package/model/authOAuth.ts +16 -1
  297. package/model/authOAuthPartial.ts +26 -0
  298. package/model/authentication.ts +17 -5
  299. package/model/authenticationCreate.ts +9 -3
  300. package/model/authenticationCreateResponse.ts +11 -2
  301. package/model/authenticationSearch.ts +8 -0
  302. package/model/authenticationSortKeys.ts +11 -0
  303. package/model/authenticationType.ts +5 -1
  304. package/model/authenticationUpdate.ts +11 -5
  305. package/model/authenticationUpdateResponse.ts +11 -2
  306. package/model/bigCommerceChannel.ts +13 -0
  307. package/model/bigCommerceMetafield.ts +13 -0
  308. package/model/bigQueryDataType.ts +3 -0
  309. package/model/clientMethodProps.ts +284 -48
  310. package/model/commercetoolsCustomFields.ts +21 -0
  311. package/model/deleteResponse.ts +2 -2
  312. package/model/destination.ts +15 -3
  313. package/model/destinationCreate.ts +11 -2
  314. package/model/destinationCreateResponse.ts +11 -2
  315. package/model/destinationIndexName.ts +13 -1
  316. package/model/destinationIndexPrefix.ts +4 -1
  317. package/model/destinationInput.ts +1 -1
  318. package/model/destinationSearch.ts +8 -0
  319. package/model/destinationSortKeys.ts +6 -0
  320. package/model/destinationType.ts +5 -2
  321. package/model/destinationUpdate.ts +10 -1
  322. package/model/destinationUpdateResponse.ts +11 -2
  323. package/model/dockerImageType.ts +6 -0
  324. package/model/dockerRegistry.ts +6 -0
  325. package/model/dockerStreamsInput.ts +5 -0
  326. package/model/errorBase.ts +1 -1
  327. package/model/event.ts +19 -2
  328. package/model/eventSortKeys.ts +6 -0
  329. package/model/eventStatus.ts +2 -1
  330. package/model/eventType.ts +2 -2
  331. package/model/index.ts +77 -6
  332. package/model/listAuthenticationsResponse.ts +1 -1
  333. package/model/listDestinationsResponse.ts +1 -1
  334. package/model/listEventsResponse.ts +4 -1
  335. package/model/listSourcesResponse.ts +1 -1
  336. package/model/listTasksResponse.ts +4 -1
  337. package/model/listTransformationsResponse.ts +13 -0
  338. package/model/mappingFieldDirective.ts +16 -0
  339. package/model/mappingFormatSchema.ts +6 -0
  340. package/model/mappingInput.ts +13 -0
  341. package/model/mappingKitAction.ts +25 -0
  342. package/model/mappingTypeCSV.ts +8 -0
  343. package/model/methodType.ts +4 -1
  344. package/model/onDemandTrigger.ts +15 -0
  345. package/model/onDemandTriggerInput.ts +10 -0
  346. package/model/onDemandTriggerType.ts +6 -0
  347. package/model/orderKeys.ts +6 -0
  348. package/model/pagination.ts +16 -1
  349. package/model/platform.ts +6 -0
  350. package/model/platformNone.ts +6 -0
  351. package/model/platformWithNone.ts +6 -0
  352. package/model/recordType.ts +6 -0
  353. package/model/run.ts +22 -8
  354. package/model/runListResponse.ts +4 -1
  355. package/model/runOutcome.ts +5 -2
  356. package/model/runProgress.ts +1 -1
  357. package/model/runReasonCode.ts +13 -0
  358. package/model/runResponse.ts +8 -2
  359. package/model/runSortKeys.ts +6 -0
  360. package/model/runStatus.ts +10 -2
  361. package/model/runType.ts +5 -2
  362. package/model/scheduleTrigger.ts +25 -0
  363. package/model/scheduleTriggerInput.ts +15 -0
  364. package/model/scheduleTriggerType.ts +6 -0
  365. package/model/shopifyInput.ts +13 -0
  366. package/model/shopifyMarket.ts +12 -0
  367. package/model/shopifyMetafield.ts +12 -0
  368. package/model/sortKeys.ts +6 -0
  369. package/model/source.ts +9 -3
  370. package/model/sourceBigCommerce.ts +16 -2
  371. package/model/sourceBigQuery.ts +37 -0
  372. package/model/sourceCSV.ts +28 -0
  373. package/model/sourceCommercetools.ts +11 -2
  374. package/model/sourceCreate.ts +8 -2
  375. package/model/sourceCreateResponse.ts +8 -2
  376. package/model/sourceDocker.ts +25 -0
  377. package/model/sourceGA4BigQueryExport.ts +18 -0
  378. package/model/sourceInput.ts +16 -3
  379. package/model/sourceJSON.ts +17 -0
  380. package/model/sourceSearch.ts +5 -0
  381. package/model/sourceShopify.ts +6 -0
  382. package/model/sourceShopifyBase.ts +8 -0
  383. package/model/sourceSortKeys.ts +6 -0
  384. package/model/sourceType.ts +11 -2
  385. package/model/sourceUpdate.ts +9 -6
  386. package/model/sourceUpdateCommercetools.ts +21 -0
  387. package/model/sourceUpdateDocker.ts +22 -0
  388. package/model/sourceUpdateInput.ts +18 -0
  389. package/model/sourceUpdateResponse.ts +8 -2
  390. package/model/sourceUpdateShopify.ts +38 -0
  391. package/model/sourceWatchResponse.ts +25 -0
  392. package/model/streamingInput.ts +10 -0
  393. package/model/streamingTrigger.ts +10 -0
  394. package/model/streamingTriggerType.ts +6 -0
  395. package/model/subscriptionTrigger.ts +10 -0
  396. package/model/subscriptionTriggerType.ts +6 -0
  397. package/model/task.ts +29 -4
  398. package/model/taskCreate.ts +28 -3
  399. package/model/taskCreateResponse.ts +8 -2
  400. package/model/taskCreateTrigger.ts +12 -0
  401. package/model/taskInput.ts +10 -0
  402. package/model/taskSearch.ts +5 -0
  403. package/model/taskSortKeys.ts +11 -0
  404. package/model/taskUpdate.ts +20 -3
  405. package/model/taskUpdateResponse.ts +8 -2
  406. package/model/transformation.ts +33 -0
  407. package/model/transformationCreate.ts +21 -0
  408. package/model/transformationCreateResponse.ts +16 -0
  409. package/model/transformationSearch.ts +5 -0
  410. package/model/transformationTry.ts +13 -0
  411. package/model/transformationTryResponse.ts +12 -0
  412. package/model/transformationTryResponseError.ts +16 -0
  413. package/model/transformationUpdateResponse.ts +16 -0
  414. package/model/trigger.ts +15 -19
  415. package/model/triggerType.ts +9 -2
  416. package/model/triggerUpdateInput.ts +11 -0
  417. package/model/window.ts +16 -0
  418. package/package.json +14 -10
  419. package/dist/ingestion.cjs.js +0 -831
  420. package/dist/model/authenticationInput.d.ts +0 -5
  421. package/dist/model/authenticationInput.d.ts.map +0 -1
  422. package/dist/model/authenticationWithInput.d.ts +0 -4
  423. package/dist/model/authenticationWithInput.d.ts.map +0 -1
  424. package/dist/model/platformType.d.ts +0 -2
  425. package/dist/model/platformType.d.ts.map +0 -1
  426. package/dist/model/sourceJson.d.ts +0 -6
  427. package/dist/model/sourceJson.d.ts.map +0 -1
  428. package/dist/model/triggerInput.d.ts +0 -6
  429. package/dist/model/triggerInput.d.ts.map +0 -1
  430. package/model/authenticationInput.ts +0 -7
  431. package/model/authenticationWithInput.ts +0 -6
  432. package/model/platformType.ts +0 -3
  433. package/model/sourceJson.ts +0 -9
  434. package/model/triggerInput.ts +0 -9
@@ -1,18 +1,98 @@
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 { AuthenticationSortKeys } from './authenticationSortKeys';
5
+ import type { AuthenticationType } from './authenticationType';
4
6
  import type { AuthenticationUpdate } from './authenticationUpdate';
7
+ import type { DestinationSortKeys } from './destinationSortKeys';
8
+ import type { DestinationType } from './destinationType';
5
9
  import type { DestinationUpdate } from './destinationUpdate';
10
+ import type { EventSortKeys } from './eventSortKeys';
11
+ import type { EventStatus } from './eventStatus';
12
+ import type { EventType } from './eventType';
13
+ import type { OrderKeys } from './orderKeys';
14
+ import type { PlatformWithNone } from './platformWithNone';
15
+ import type { RunSortKeys } from './runSortKeys';
16
+ import type { RunStatus } from './runStatus';
17
+ import type { SortKeys } from './sortKeys';
18
+ import type { SourceSortKeys } from './sourceSortKeys';
19
+ import type { SourceType } from './sourceType';
6
20
  import type { SourceUpdate } from './sourceUpdate';
21
+ import type { TaskSortKeys } from './taskSortKeys';
7
22
  import type { TaskUpdate } from './taskUpdate';
23
+ import type { TransformationCreate } from './transformationCreate';
8
24
  import type { TriggerType } from './triggerType';
9
25
 
26
+ /**
27
+ * Properties for the `customDelete` method.
28
+ */
29
+ export type CustomDeleteProps = {
30
+ /**
31
+ * Path of the endpoint, anything after \"/1\" must be specified.
32
+ */
33
+ path: string;
34
+ /**
35
+ * Query parameters to apply to the current query.
36
+ */
37
+ parameters?: Record<string, any>;
38
+ };
39
+
40
+ /**
41
+ * Properties for the `customGet` method.
42
+ */
43
+ export type CustomGetProps = {
44
+ /**
45
+ * Path of the endpoint, anything after \"/1\" must be specified.
46
+ */
47
+ path: string;
48
+ /**
49
+ * Query parameters to apply to the current query.
50
+ */
51
+ parameters?: Record<string, any>;
52
+ };
53
+
54
+ /**
55
+ * Properties for the `customPost` method.
56
+ */
57
+ export type CustomPostProps = {
58
+ /**
59
+ * Path of the endpoint, anything after \"/1\" must be specified.
60
+ */
61
+ path: string;
62
+ /**
63
+ * Query parameters to apply to the current query.
64
+ */
65
+ parameters?: Record<string, any>;
66
+ /**
67
+ * Parameters to send with the custom request.
68
+ */
69
+ body?: Record<string, any>;
70
+ };
71
+
72
+ /**
73
+ * Properties for the `customPut` method.
74
+ */
75
+ export type CustomPutProps = {
76
+ /**
77
+ * Path of the endpoint, anything after \"/1\" must be specified.
78
+ */
79
+ path: string;
80
+ /**
81
+ * Query parameters to apply to the current query.
82
+ */
83
+ parameters?: Record<string, any>;
84
+ /**
85
+ * Parameters to send with the custom request.
86
+ */
87
+ body?: Record<string, any>;
88
+ };
89
+
10
90
  /**
11
91
  * Properties for the `deleteAuthentication` method.
12
92
  */
13
93
  export type DeleteAuthenticationProps = {
14
94
  /**
15
- * The authentication uuid.
95
+ * Unique identifier of an authentication resource.
16
96
  */
17
97
  authenticationID: string;
18
98
  };
@@ -22,7 +102,7 @@ export type DeleteAuthenticationProps = {
22
102
  */
23
103
  export type DeleteDestinationProps = {
24
104
  /**
25
- * The destination uuid.
105
+ * Unique identifier of a destination.
26
106
  */
27
107
  destinationID: string;
28
108
  };
@@ -32,7 +112,7 @@ export type DeleteDestinationProps = {
32
112
  */
33
113
  export type DeleteSourceProps = {
34
114
  /**
35
- * The source uuid.
115
+ * Unique identifier of a source.
36
116
  */
37
117
  sourceID: string;
38
118
  };
@@ -42,17 +122,27 @@ export type DeleteSourceProps = {
42
122
  */
43
123
  export type DeleteTaskProps = {
44
124
  /**
45
- * The task uuid.
125
+ * Unique identifier of a task.
46
126
  */
47
127
  taskID: string;
48
128
  };
49
129
 
130
+ /**
131
+ * Properties for the `deleteTransformation` method.
132
+ */
133
+ export type DeleteTransformationProps = {
134
+ /**
135
+ * Unique identifier of a transformation.
136
+ */
137
+ transformationID: string;
138
+ };
139
+
50
140
  /**
51
141
  * Properties for the `disableTask` method.
52
142
  */
53
143
  export type DisableTaskProps = {
54
144
  /**
55
- * The task uuid.
145
+ * Unique identifier of a task.
56
146
  */
57
147
  taskID: string;
58
148
  };
@@ -62,7 +152,7 @@ export type DisableTaskProps = {
62
152
  */
63
153
  export type EnableTaskProps = {
64
154
  /**
65
- * The task uuid.
155
+ * Unique identifier of a task.
66
156
  */
67
157
  taskID: string;
68
158
  };
@@ -72,7 +162,7 @@ export type EnableTaskProps = {
72
162
  */
73
163
  export type GetAuthenticationProps = {
74
164
  /**
75
- * The authentication uuid.
165
+ * Unique identifier of an authentication resource.
76
166
  */
77
167
  authenticationID: string;
78
168
  };
@@ -82,13 +172,29 @@ export type GetAuthenticationProps = {
82
172
  */
83
173
  export type GetAuthenticationsProps = {
84
174
  /**
85
- * The number of items per page to return.
175
+ * Number of items per page.
86
176
  */
87
177
  itemsPerPage?: number;
88
178
  /**
89
- * The page number to fetch, starting at 1.
179
+ * Page number of the paginated API response.
90
180
  */
91
181
  page?: number;
182
+ /**
183
+ * Type of authentication resource to retrieve.
184
+ */
185
+ type?: AuthenticationType[];
186
+ /**
187
+ * Ecommerce platform for which to retrieve authentication resources.
188
+ */
189
+ platform?: PlatformWithNone[];
190
+ /**
191
+ * Property by which to sort the list of authentication resources.
192
+ */
193
+ sort?: AuthenticationSortKeys;
194
+ /**
195
+ * Sort order of the response, ascending or descending.
196
+ */
197
+ order?: OrderKeys;
92
198
  };
93
199
 
94
200
  /**
@@ -96,7 +202,7 @@ export type GetAuthenticationsProps = {
96
202
  */
97
203
  export type GetDestinationProps = {
98
204
  /**
99
- * The destination uuid.
205
+ * Unique identifier of a destination.
100
206
  */
101
207
  destinationID: string;
102
208
  };
@@ -106,13 +212,29 @@ export type GetDestinationProps = {
106
212
  */
107
213
  export type GetDestinationsProps = {
108
214
  /**
109
- * The number of items per page to return.
215
+ * Number of items per page.
110
216
  */
111
217
  itemsPerPage?: number;
112
218
  /**
113
- * The page number to fetch, starting at 1.
219
+ * Page number of the paginated API response.
114
220
  */
115
221
  page?: number;
222
+ /**
223
+ * Destination type.
224
+ */
225
+ type?: DestinationType[];
226
+ /**
227
+ * Authentication ID used by destinations.
228
+ */
229
+ authenticationID?: string[];
230
+ /**
231
+ * Property by which to sort the destinations.
232
+ */
233
+ sort?: DestinationSortKeys;
234
+ /**
235
+ * Sort order of the response, ascending or descending.
236
+ */
237
+ order?: OrderKeys;
116
238
  };
117
239
 
118
240
  /**
@@ -120,11 +242,11 @@ export type GetDestinationsProps = {
120
242
  */
121
243
  export type GetEventProps = {
122
244
  /**
123
- * The run uuid.
245
+ * Unique identifier of a task run.
124
246
  */
125
247
  runID: string;
126
248
  /**
127
- * The event uuid.
249
+ * Unique identifier of an event.
128
250
  */
129
251
  eventID: string;
130
252
  };
@@ -134,17 +256,41 @@ export type GetEventProps = {
134
256
  */
135
257
  export type GetEventsProps = {
136
258
  /**
137
- * The run uuid.
259
+ * Unique identifier of a task run.
138
260
  */
139
261
  runID: string;
140
262
  /**
141
- * The number of items per page to return.
263
+ * Number of items per page.
142
264
  */
143
265
  itemsPerPage?: number;
144
266
  /**
145
- * The page number to fetch, starting at 1.
267
+ * Page number of the paginated API response.
146
268
  */
147
269
  page?: number;
270
+ /**
271
+ * Event status for filtering the list of task runs.
272
+ */
273
+ status?: EventStatus[];
274
+ /**
275
+ * Event type for filtering the list of task runs.
276
+ */
277
+ type?: EventType[];
278
+ /**
279
+ * Property by which to sort the list of task run events.
280
+ */
281
+ sort?: EventSortKeys;
282
+ /**
283
+ * Sort order of the response, ascending or descending.
284
+ */
285
+ order?: OrderKeys;
286
+ /**
287
+ * Date and time in RFC 3339 format for the earliest events to retrieve. By default, the current time minus three hours is used.
288
+ */
289
+ startDate?: string;
290
+ /**
291
+ * Date and time in RFC 3339 format for the latest events to retrieve. By default, the current time is used.
292
+ */
293
+ endDate?: string;
148
294
  };
149
295
 
150
296
  /**
@@ -152,7 +298,7 @@ export type GetEventsProps = {
152
298
  */
153
299
  export type GetRunProps = {
154
300
  /**
155
- * The run uuid.
301
+ * Unique identifier of a task run.
156
302
  */
157
303
  runID: string;
158
304
  };
@@ -162,31 +308,37 @@ export type GetRunProps = {
162
308
  */
163
309
  export type GetRunsProps = {
164
310
  /**
165
- * The number of items per page to return.
311
+ * Number of items per page.
166
312
  */
167
313
  itemsPerPage?: number;
168
314
  /**
169
- * The page number to fetch, starting at 1.
315
+ * Page number of the paginated API response.
170
316
  */
171
317
  page?: number;
172
- };
173
-
174
- /**
175
- * Properties for the `getRunsByTaskID` method.
176
- */
177
- export type GetRunsByTaskIDProps = {
178
318
  /**
179
- * The task uuid.
319
+ * Run status for filtering the list of task runs.
180
320
  */
181
- taskID: string;
321
+ status?: RunStatus[];
182
322
  /**
183
- * The number of items per page to return.
323
+ * Task ID for filtering the list of task runs.
184
324
  */
185
- itemsPerPage?: number;
325
+ taskID?: string;
186
326
  /**
187
- * The page number to fetch, starting at 1.
327
+ * Property by which to sort the list of task runs.
188
328
  */
189
- page?: number;
329
+ sort?: RunSortKeys;
330
+ /**
331
+ * Sort order of the response, ascending or descending.
332
+ */
333
+ order?: OrderKeys;
334
+ /**
335
+ * Date in RFC 3339 format for the earliest run to retrieve. By default, the current day minus seven days is used.
336
+ */
337
+ startDate?: string;
338
+ /**
339
+ * Date in RFC 3339 format for the latest run to retrieve. By default, the current day is used.
340
+ */
341
+ endDate?: string;
190
342
  };
191
343
 
192
344
  /**
@@ -194,7 +346,7 @@ export type GetRunsByTaskIDProps = {
194
346
  */
195
347
  export type GetSourceProps = {
196
348
  /**
197
- * The source uuid.
349
+ * Unique identifier of a source.
198
350
  */
199
351
  sourceID: string;
200
352
  };
@@ -204,13 +356,29 @@ export type GetSourceProps = {
204
356
  */
205
357
  export type GetSourcesProps = {
206
358
  /**
207
- * The number of items per page to return.
359
+ * Number of items per page.
208
360
  */
209
361
  itemsPerPage?: number;
210
362
  /**
211
- * The page number to fetch, starting at 1.
363
+ * Page number of the paginated API response.
212
364
  */
213
365
  page?: number;
366
+ /**
367
+ * Source type. Some sources require authentication.
368
+ */
369
+ type?: SourceType[];
370
+ /**
371
+ * Authentication IDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication resource.
372
+ */
373
+ authenticationID?: string[];
374
+ /**
375
+ * Property by which to sort the list of sources.
376
+ */
377
+ sort?: SourceSortKeys;
378
+ /**
379
+ * Sort order of the response, ascending or descending.
380
+ */
381
+ order?: OrderKeys;
214
382
  };
215
383
 
216
384
  /**
@@ -218,7 +386,7 @@ export type GetSourcesProps = {
218
386
  */
219
387
  export type GetTaskProps = {
220
388
  /**
221
- * The task uuid.
389
+ * Unique identifier of a task.
222
390
  */
223
391
  taskID: string;
224
392
  };
@@ -228,29 +396,65 @@ export type GetTaskProps = {
228
396
  */
229
397
  export type GetTasksProps = {
230
398
  /**
231
- * The number of items per page to return.
399
+ * Number of items per page.
232
400
  */
233
401
  itemsPerPage?: number;
234
402
  /**
235
- * The page number to fetch, starting at 1.
403
+ * Page number of the paginated API response.
236
404
  */
237
405
  page?: number;
238
406
  /**
239
- * Which action the returned task should have. Can be a list of string separated with commas.
407
+ * Actions for filtering the list of tasks.
240
408
  */
241
409
  action?: ActionType[];
242
410
  /**
243
- * If the returned task should have its \'enabled\' property set to true.
411
+ * Whether to filter the list of tasks by the `enabled` status.
244
412
  */
245
413
  enabled?: boolean;
246
414
  /**
247
- * Which destinationID the returned task should have. Can be a list of string separated with commas.
415
+ * Source IDs for filtering the list of tasks.
416
+ */
417
+ sourceID?: string[];
418
+ /**
419
+ * Destination IDs for filtering the list of tasks.
248
420
  */
249
421
  destinationID?: string[];
250
422
  /**
251
- * Which trigger type the returned task should have. Can be a list of string separated with commas.
423
+ * Type of task trigger for filtering the list of tasks.
252
424
  */
253
425
  triggerType?: TriggerType[];
426
+ /**
427
+ * Property by which to sort the list of tasks.
428
+ */
429
+ sort?: TaskSortKeys;
430
+ /**
431
+ * Sort order of the response, ascending or descending.
432
+ */
433
+ order?: OrderKeys;
434
+ };
435
+
436
+ /**
437
+ * Properties for the `getTransformation` method.
438
+ */
439
+ export type GetTransformationProps = {
440
+ /**
441
+ * Unique identifier of a transformation.
442
+ */
443
+ transformationID: string;
444
+ };
445
+
446
+ /**
447
+ * Properties for the `getTransformations` method.
448
+ */
449
+ export type GetTransformationsProps = {
450
+ /**
451
+ * Property by which to sort the list.
452
+ */
453
+ sort?: SortKeys;
454
+ /**
455
+ * Sort order of the response, ascending or descending.
456
+ */
457
+ order?: OrderKeys;
254
458
  };
255
459
 
256
460
  /**
@@ -258,17 +462,27 @@ export type GetTasksProps = {
258
462
  */
259
463
  export type RunTaskProps = {
260
464
  /**
261
- * The task uuid.
465
+ * Unique identifier of a task.
262
466
  */
263
467
  taskID: string;
264
468
  };
265
469
 
470
+ /**
471
+ * Properties for the `triggerDockerSourceDiscover` method.
472
+ */
473
+ export type TriggerDockerSourceDiscoverProps = {
474
+ /**
475
+ * Unique identifier of a source.
476
+ */
477
+ sourceID: string;
478
+ };
479
+
266
480
  /**
267
481
  * Properties for the `updateAuthentication` method.
268
482
  */
269
483
  export type UpdateAuthenticationProps = {
270
484
  /**
271
- * The authentication uuid.
485
+ * Unique identifier of an authentication resource.
272
486
  */
273
487
  authenticationID: string;
274
488
  authenticationUpdate: AuthenticationUpdate;
@@ -279,7 +493,7 @@ export type UpdateAuthenticationProps = {
279
493
  */
280
494
  export type UpdateDestinationProps = {
281
495
  /**
282
- * The destination uuid.
496
+ * Unique identifier of a destination.
283
497
  */
284
498
  destinationID: string;
285
499
  destinationUpdate: DestinationUpdate;
@@ -290,7 +504,7 @@ export type UpdateDestinationProps = {
290
504
  */
291
505
  export type UpdateSourceProps = {
292
506
  /**
293
- * The source uuid.
507
+ * Unique identifier of a source.
294
508
  */
295
509
  sourceID: string;
296
510
  sourceUpdate: SourceUpdate;
@@ -301,8 +515,30 @@ export type UpdateSourceProps = {
301
515
  */
302
516
  export type UpdateTaskProps = {
303
517
  /**
304
- * The task uuid.
518
+ * Unique identifier of a task.
305
519
  */
306
520
  taskID: string;
307
521
  taskUpdate: TaskUpdate;
308
522
  };
523
+
524
+ /**
525
+ * Properties for the `updateTransformation` method.
526
+ */
527
+ export type UpdateTransformationProps = {
528
+ /**
529
+ * Unique identifier of a transformation.
530
+ */
531
+ transformationID: string;
532
+ transformationCreate: TransformationCreate;
533
+ };
534
+
535
+ /**
536
+ * Properties for the `validateSourceBeforeUpdate` method.
537
+ */
538
+ export type ValidateSourceBeforeUpdateProps = {
539
+ /**
540
+ * Unique identifier of a source.
541
+ */
542
+ sourceID: string;
543
+ sourceUpdate: SourceUpdate;
544
+ };
@@ -0,0 +1,21 @@
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
+ * Custom fields from commercetools to add to the records. For more information, see [Using Custom Types and Custom Fields](https://docs.commercetools.com/tutorials/custom-types).
5
+ */
6
+ export type CommercetoolsCustomFields = {
7
+ /**
8
+ * Inventory custom fields.
9
+ */
10
+ inventory?: string[] | null;
11
+
12
+ /**
13
+ * Price custom fields.
14
+ */
15
+ price?: string[] | null;
16
+
17
+ /**
18
+ * Category custom fields.
19
+ */
20
+ category?: string[] | null;
21
+ };
@@ -1,8 +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 DeleteResponse = {
4
4
  /**
5
- * Date of deletion (RFC3339 format).
5
+ * Date of deletion in RFC 3339 format.
6
6
  */
7
7
  deletedAt: string;
8
8
  };
@@ -1,26 +1,38 @@
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
+ * Destinations are Algolia resources like indices or event streams.
8
+ */
6
9
  export type Destination = {
10
+ /**
11
+ * Universally unique identifier (UUID) of a destination resource.
12
+ */
7
13
  destinationID: string;
8
14
 
9
15
  type: DestinationType;
10
16
 
17
+ /**
18
+ * Descriptive name for the resource.
19
+ */
11
20
  name: string;
12
21
 
13
22
  input: DestinationInput;
14
23
 
15
24
  /**
16
- * Date of creation (RFC3339 format).
25
+ * Date of creation in RFC 3339 format.
17
26
  */
18
27
  createdAt: string;
19
28
 
20
29
  /**
21
- * Date of last update (RFC3339 format).
30
+ * Date of last update in RFC 3339 format.
22
31
  */
23
32
  updatedAt?: string;
24
33
 
34
+ /**
35
+ * Universally unique identifier (UUID) of an authentication resource.
36
+ */
25
37
  authenticationID?: string;
26
38
  };
@@ -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 creating a new destination.
8
+ */
6
9
  export type DestinationCreate = {
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
 
13
- authenticationID: string;
19
+ /**
20
+ * Universally unique identifier (UUID) of an authentication resource.
21
+ */
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 creating a new destination.
5
+ */
3
6
  export type DestinationCreateResponse = {
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 creation (RFC3339 format).
18
+ * Date of creation in RFC 3339 format.
10
19
  */
11
20
  createdAt: string;
12
21
  };
@@ -1,5 +1,17 @@
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 { RecordType } from './recordType';
2
4
 
3
5
  export type DestinationIndexName = {
6
+ /**
7
+ * Algolia index name (case-sensitive).
8
+ */
4
9
  indexName: string;
10
+
11
+ recordType?: RecordType;
12
+
13
+ /**
14
+ * Attributes from your source to exclude from Algolia records. Not all your data attributes will be useful for searching. Keeping your Algolia records small increases indexing and search performance. - Exclude nested attributes with `.` notation. For example, `foo.bar` indexes the `foo` attribute and all its children **except** the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element. For example, `foo.[0].bar` only excludes the `bar` attribute from the first element of the `foo` array, but indexes the complete `foo` attribute for all other elements. Use `*` as wildcard: `foo.[*].bar` excludes `bar` from all elements of the `foo` array.
15
+ */
16
+ attributesToExclude?: string[];
5
17
  };