@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,283 +1,466 @@
1
- import type { ActionType } from './actionType';
2
- import type { AuthenticationUpdate } from './authenticationUpdate';
3
- import type { DestinationUpdate } from './destinationUpdate';
4
- import type { SourceUpdate } from './sourceUpdate';
5
- import type { TaskUpdate } from './taskUpdate';
6
- import type { TriggerType } from './triggerType';
7
- /**
8
- * Properties for the `deleteAuthentication` method.
9
- */
10
- export declare type DeleteAuthenticationProps = {
11
- /**
12
- * The authentication uuid.
13
- */
14
- authenticationID: string;
15
- };
16
- /**
17
- * Properties for the `deleteDestination` method.
18
- */
19
- export declare type DeleteDestinationProps = {
20
- /**
21
- * The destination uuid.
22
- */
23
- destinationID: string;
24
- };
25
- /**
26
- * Properties for the `deleteSource` method.
27
- */
28
- export declare type DeleteSourceProps = {
29
- /**
30
- * The source uuid.
31
- */
32
- sourceID: string;
33
- };
34
- /**
35
- * Properties for the `deleteTask` method.
36
- */
37
- export declare type DeleteTaskProps = {
38
- /**
39
- * The task uuid.
40
- */
41
- taskID: string;
42
- };
43
- /**
44
- * Properties for the `disableTask` method.
45
- */
46
- export declare type DisableTaskProps = {
47
- /**
48
- * The task uuid.
49
- */
50
- taskID: string;
51
- };
52
- /**
53
- * Properties for the `enableTask` method.
54
- */
55
- export declare type EnableTaskProps = {
56
- /**
57
- * The task uuid.
58
- */
59
- taskID: string;
60
- };
61
- /**
62
- * Properties for the `getAuthentication` method.
63
- */
64
- export declare type GetAuthenticationProps = {
65
- /**
66
- * The authentication uuid.
67
- */
68
- authenticationID: string;
69
- };
70
- /**
71
- * Properties for the `getAuthentications` method.
72
- */
73
- export declare type GetAuthenticationsProps = {
74
- /**
75
- * The number of items per page to return.
76
- */
77
- itemsPerPage?: number;
78
- /**
79
- * The page number to fetch, starting at 1.
80
- */
81
- page?: number;
82
- };
83
- /**
84
- * Properties for the `getDestination` method.
85
- */
86
- export declare type GetDestinationProps = {
87
- /**
88
- * The destination uuid.
89
- */
90
- destinationID: string;
91
- };
92
- /**
93
- * Properties for the `getDestinations` method.
94
- */
95
- export declare type GetDestinationsProps = {
96
- /**
97
- * The number of items per page to return.
98
- */
99
- itemsPerPage?: number;
100
- /**
101
- * The page number to fetch, starting at 1.
102
- */
103
- page?: number;
104
- };
105
- /**
106
- * Properties for the `getEvent` method.
107
- */
108
- export declare type GetEventProps = {
109
- /**
110
- * The run uuid.
111
- */
112
- runID: string;
113
- /**
114
- * The event uuid.
115
- */
116
- eventID: string;
117
- };
118
- /**
119
- * Properties for the `getEvents` method.
120
- */
121
- export declare type GetEventsProps = {
122
- /**
123
- * The run uuid.
124
- */
125
- runID: string;
126
- /**
127
- * The number of items per page to return.
128
- */
129
- itemsPerPage?: number;
130
- /**
131
- * The page number to fetch, starting at 1.
132
- */
133
- page?: number;
134
- };
135
- /**
136
- * Properties for the `getRun` method.
137
- */
138
- export declare type GetRunProps = {
139
- /**
140
- * The run uuid.
141
- */
142
- runID: string;
143
- };
144
- /**
145
- * Properties for the `getRuns` method.
146
- */
147
- export declare type GetRunsProps = {
148
- /**
149
- * The number of items per page to return.
150
- */
151
- itemsPerPage?: number;
152
- /**
153
- * The page number to fetch, starting at 1.
154
- */
155
- page?: number;
156
- };
157
- /**
158
- * Properties for the `getRunsByTaskID` method.
159
- */
160
- export declare type GetRunsByTaskIDProps = {
161
- /**
162
- * The task uuid.
163
- */
164
- taskID: string;
165
- /**
166
- * The number of items per page to return.
167
- */
168
- itemsPerPage?: number;
169
- /**
170
- * The page number to fetch, starting at 1.
171
- */
172
- page?: number;
173
- };
174
- /**
175
- * Properties for the `getSource` method.
176
- */
177
- export declare type GetSourceProps = {
178
- /**
179
- * The source uuid.
180
- */
181
- sourceID: string;
182
- };
183
- /**
184
- * Properties for the `getSources` method.
185
- */
186
- export declare type GetSourcesProps = {
187
- /**
188
- * The number of items per page to return.
189
- */
190
- itemsPerPage?: number;
191
- /**
192
- * The page number to fetch, starting at 1.
193
- */
194
- page?: number;
195
- };
196
- /**
197
- * Properties for the `getTask` method.
198
- */
199
- export declare type GetTaskProps = {
200
- /**
201
- * The task uuid.
202
- */
203
- taskID: string;
204
- };
205
- /**
206
- * Properties for the `getTasks` method.
207
- */
208
- export declare type GetTasksProps = {
209
- /**
210
- * The number of items per page to return.
211
- */
212
- itemsPerPage?: number;
213
- /**
214
- * The page number to fetch, starting at 1.
215
- */
216
- page?: number;
217
- /**
218
- * Which action the returned task should have. Can be a list of string separated with commas.
219
- */
220
- action?: ActionType[];
221
- /**
222
- * If the returned task should have its \'enabled\' property set to true.
223
- */
224
- enabled?: boolean;
225
- /**
226
- * Which destinationID the returned task should have. Can be a list of string separated with commas.
227
- */
228
- destinationID?: string[];
229
- /**
230
- * Which trigger type the returned task should have. Can be a list of string separated with commas.
231
- */
232
- triggerType?: TriggerType[];
233
- };
234
- /**
235
- * Properties for the `runTask` method.
236
- */
237
- export declare type RunTaskProps = {
238
- /**
239
- * The task uuid.
240
- */
241
- taskID: string;
242
- };
243
- /**
244
- * Properties for the `updateAuthentication` method.
245
- */
246
- export declare type UpdateAuthenticationProps = {
247
- /**
248
- * The authentication uuid.
249
- */
250
- authenticationID: string;
251
- authenticationUpdate: AuthenticationUpdate;
252
- };
253
- /**
254
- * Properties for the `updateDestination` method.
255
- */
256
- export declare type UpdateDestinationProps = {
257
- /**
258
- * The destination uuid.
259
- */
260
- destinationID: string;
261
- destinationUpdate: DestinationUpdate;
262
- };
263
- /**
264
- * Properties for the `updateSource` method.
265
- */
266
- export declare type UpdateSourceProps = {
267
- /**
268
- * The source uuid.
269
- */
270
- sourceID: string;
271
- sourceUpdate: SourceUpdate;
272
- };
273
- /**
274
- * Properties for the `updateTask` method.
275
- */
276
- export declare type UpdateTaskProps = {
277
- /**
278
- * The task uuid.
279
- */
280
- taskID: string;
281
- taskUpdate: TaskUpdate;
282
- };
1
+ import type { ActionType } from './actionType';
2
+ import type { AuthenticationSortKeys } from './authenticationSortKeys';
3
+ import type { AuthenticationType } from './authenticationType';
4
+ import type { AuthenticationUpdate } from './authenticationUpdate';
5
+ import type { DestinationSortKeys } from './destinationSortKeys';
6
+ import type { DestinationType } from './destinationType';
7
+ import type { DestinationUpdate } from './destinationUpdate';
8
+ import type { EventSortKeys } from './eventSortKeys';
9
+ import type { EventStatus } from './eventStatus';
10
+ import type { EventType } from './eventType';
11
+ import type { OrderKeys } from './orderKeys';
12
+ import type { PlatformWithNone } from './platformWithNone';
13
+ import type { RunSortKeys } from './runSortKeys';
14
+ import type { RunStatus } from './runStatus';
15
+ import type { SourceSortKeys } from './sourceSortKeys';
16
+ import type { SourceType } from './sourceType';
17
+ import type { SourceUpdate } from './sourceUpdate';
18
+ import type { TaskSortKeys } from './taskSortKeys';
19
+ import type { TaskUpdate } from './taskUpdate';
20
+ import type { TriggerType } from './triggerType';
21
+ /**
22
+ * Properties for the `customDelete` method.
23
+ */
24
+ export type CustomDeleteProps = {
25
+ /**
26
+ * Path of the endpoint, anything after \"/1\" must be specified.
27
+ */
28
+ path: string;
29
+ /**
30
+ * Query parameters to apply to the current query.
31
+ */
32
+ parameters?: Record<string, any>;
33
+ };
34
+ /**
35
+ * Properties for the `customGet` method.
36
+ */
37
+ export type CustomGetProps = {
38
+ /**
39
+ * Path of the endpoint, anything after \"/1\" must be specified.
40
+ */
41
+ path: string;
42
+ /**
43
+ * Query parameters to apply to the current query.
44
+ */
45
+ parameters?: Record<string, any>;
46
+ };
47
+ /**
48
+ * Properties for the `customPost` method.
49
+ */
50
+ export type CustomPostProps = {
51
+ /**
52
+ * Path of the endpoint, anything after \"/1\" must be specified.
53
+ */
54
+ path: string;
55
+ /**
56
+ * Query parameters to apply to the current query.
57
+ */
58
+ parameters?: Record<string, any>;
59
+ /**
60
+ * Parameters to send with the custom request.
61
+ */
62
+ body?: Record<string, any>;
63
+ };
64
+ /**
65
+ * Properties for the `customPut` method.
66
+ */
67
+ export type CustomPutProps = {
68
+ /**
69
+ * Path of the endpoint, anything after \"/1\" must be specified.
70
+ */
71
+ path: string;
72
+ /**
73
+ * Query parameters to apply to the current query.
74
+ */
75
+ parameters?: Record<string, any>;
76
+ /**
77
+ * Parameters to send with the custom request.
78
+ */
79
+ body?: Record<string, any>;
80
+ };
81
+ /**
82
+ * Properties for the `deleteAuthentication` method.
83
+ */
84
+ export type DeleteAuthenticationProps = {
85
+ /**
86
+ * Unique identifier of an authentication resource.
87
+ */
88
+ authenticationID: string;
89
+ };
90
+ /**
91
+ * Properties for the `deleteDestination` method.
92
+ */
93
+ export type DeleteDestinationProps = {
94
+ /**
95
+ * Unique identifier of a destination.
96
+ */
97
+ destinationID: string;
98
+ };
99
+ /**
100
+ * Properties for the `deleteSource` method.
101
+ */
102
+ export type DeleteSourceProps = {
103
+ /**
104
+ * Unique identifier of a source.
105
+ */
106
+ sourceID: string;
107
+ };
108
+ /**
109
+ * Properties for the `deleteTask` method.
110
+ */
111
+ export type DeleteTaskProps = {
112
+ /**
113
+ * Unique identifier of a task.
114
+ */
115
+ taskID: string;
116
+ };
117
+ /**
118
+ * Properties for the `disableTask` method.
119
+ */
120
+ export type DisableTaskProps = {
121
+ /**
122
+ * Unique identifier of a task.
123
+ */
124
+ taskID: string;
125
+ };
126
+ /**
127
+ * Properties for the `enableTask` method.
128
+ */
129
+ export type EnableTaskProps = {
130
+ /**
131
+ * Unique identifier of a task.
132
+ */
133
+ taskID: string;
134
+ };
135
+ /**
136
+ * Properties for the `getAuthentication` method.
137
+ */
138
+ export type GetAuthenticationProps = {
139
+ /**
140
+ * Unique identifier of an authentication resource.
141
+ */
142
+ authenticationID: string;
143
+ };
144
+ /**
145
+ * Properties for the `getAuthentications` method.
146
+ */
147
+ export type GetAuthenticationsProps = {
148
+ /**
149
+ * Number of items per page.
150
+ */
151
+ itemsPerPage?: number;
152
+ /**
153
+ * Page number of the paginated API response.
154
+ */
155
+ page?: number;
156
+ /**
157
+ * Type of authentication resource to retrieve.
158
+ */
159
+ type?: AuthenticationType[];
160
+ /**
161
+ * Ecommerce platform for which to retrieve authentication resources.
162
+ */
163
+ platform?: PlatformWithNone[];
164
+ /**
165
+ * Property by which to sort the list of authentication resources.
166
+ */
167
+ sort?: AuthenticationSortKeys;
168
+ /**
169
+ * Sort order of the response, ascending or descending.
170
+ */
171
+ order?: OrderKeys;
172
+ };
173
+ /**
174
+ * Properties for the `getDestination` method.
175
+ */
176
+ export type GetDestinationProps = {
177
+ /**
178
+ * Unique identifier of a destination.
179
+ */
180
+ destinationID: string;
181
+ };
182
+ /**
183
+ * Properties for the `getDestinations` method.
184
+ */
185
+ export type GetDestinationsProps = {
186
+ /**
187
+ * Number of items per page.
188
+ */
189
+ itemsPerPage?: number;
190
+ /**
191
+ * Page number of the paginated API response.
192
+ */
193
+ page?: number;
194
+ /**
195
+ * Destination type.
196
+ */
197
+ type?: DestinationType[];
198
+ /**
199
+ * Authentication ID used by destinations.
200
+ */
201
+ authenticationID?: string[];
202
+ /**
203
+ * Property by which to sort the destinations.
204
+ */
205
+ sort?: DestinationSortKeys;
206
+ /**
207
+ * Sort order of the response, ascending or descending.
208
+ */
209
+ order?: OrderKeys;
210
+ };
211
+ /**
212
+ * Properties for the `getDockerSourceStreams` method.
213
+ */
214
+ export type GetDockerSourceStreamsProps = {
215
+ /**
216
+ * Unique identifier of a source.
217
+ */
218
+ sourceID: string;
219
+ };
220
+ /**
221
+ * Properties for the `getEvent` method.
222
+ */
223
+ export type GetEventProps = {
224
+ /**
225
+ * Unique identifier of a task run.
226
+ */
227
+ runID: string;
228
+ /**
229
+ * Unique identifier of an event.
230
+ */
231
+ eventID: string;
232
+ };
233
+ /**
234
+ * Properties for the `getEvents` method.
235
+ */
236
+ export type GetEventsProps = {
237
+ /**
238
+ * Unique identifier of a task run.
239
+ */
240
+ runID: string;
241
+ /**
242
+ * Number of items per page.
243
+ */
244
+ itemsPerPage?: number;
245
+ /**
246
+ * Page number of the paginated API response.
247
+ */
248
+ page?: number;
249
+ /**
250
+ * Event status for filtering the list of task runs.
251
+ */
252
+ status?: EventStatus[];
253
+ /**
254
+ * Event type for filtering the list of task runs.
255
+ */
256
+ type?: EventType[];
257
+ /**
258
+ * Property by which to sort the list of task run events.
259
+ */
260
+ sort?: EventSortKeys;
261
+ /**
262
+ * Sort order of the response, ascending or descending.
263
+ */
264
+ order?: OrderKeys;
265
+ /**
266
+ * Date and time in RFC3339 format for the earliest events to retrieve. By default, the current time minus three hours is used.
267
+ */
268
+ startDate?: string;
269
+ /**
270
+ * Date and time in RFC3339 format for the latest events to retrieve. By default, the current time is used.
271
+ */
272
+ endDate?: string;
273
+ };
274
+ /**
275
+ * Properties for the `getRun` method.
276
+ */
277
+ export type GetRunProps = {
278
+ /**
279
+ * Unique identifier of a task run.
280
+ */
281
+ runID: string;
282
+ };
283
+ /**
284
+ * Properties for the `getRuns` method.
285
+ */
286
+ export type GetRunsProps = {
287
+ /**
288
+ * Number of items per page.
289
+ */
290
+ itemsPerPage?: number;
291
+ /**
292
+ * Page number of the paginated API response.
293
+ */
294
+ page?: number;
295
+ /**
296
+ * Run status for filtering the list of task runs.
297
+ */
298
+ status?: RunStatus[];
299
+ /**
300
+ * Task ID for filtering the list of task runs.
301
+ */
302
+ taskID?: string;
303
+ /**
304
+ * Property by which to sort the list of task runs.
305
+ */
306
+ sort?: RunSortKeys;
307
+ /**
308
+ * Sort order of the response, ascending or descending.
309
+ */
310
+ order?: OrderKeys;
311
+ /**
312
+ * Date in RFC3339 format for the earliest run to retrieve. By default, the current day minus seven days is used.
313
+ */
314
+ startDate?: string;
315
+ /**
316
+ * Date in RFC3339 format for the latest run to retrieve. By default, the current day is used.
317
+ */
318
+ endDate?: string;
319
+ };
320
+ /**
321
+ * Properties for the `getSource` method.
322
+ */
323
+ export type GetSourceProps = {
324
+ /**
325
+ * Unique identifier of a source.
326
+ */
327
+ sourceID: string;
328
+ };
329
+ /**
330
+ * Properties for the `getSources` method.
331
+ */
332
+ export type GetSourcesProps = {
333
+ /**
334
+ * Number of items per page.
335
+ */
336
+ itemsPerPage?: number;
337
+ /**
338
+ * Page number of the paginated API response.
339
+ */
340
+ page?: number;
341
+ /**
342
+ * Source type. Some sources require authentication.
343
+ */
344
+ type?: SourceType[];
345
+ /**
346
+ * Authentication IDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication resource.
347
+ */
348
+ authenticationID?: string[];
349
+ /**
350
+ * Property by which to sort the list of sources.
351
+ */
352
+ sort?: SourceSortKeys;
353
+ /**
354
+ * Sort order of the response, ascending or descending.
355
+ */
356
+ order?: OrderKeys;
357
+ };
358
+ /**
359
+ * Properties for the `getTask` method.
360
+ */
361
+ export type GetTaskProps = {
362
+ /**
363
+ * Unique identifier of a task.
364
+ */
365
+ taskID: string;
366
+ };
367
+ /**
368
+ * Properties for the `getTasks` method.
369
+ */
370
+ export type GetTasksProps = {
371
+ /**
372
+ * Number of items per page.
373
+ */
374
+ itemsPerPage?: number;
375
+ /**
376
+ * Page number of the paginated API response.
377
+ */
378
+ page?: number;
379
+ /**
380
+ * Actions for filtering the list of tasks.
381
+ */
382
+ action?: ActionType[];
383
+ /**
384
+ * Whether to filter the list of tasks by the `enabled` status.
385
+ */
386
+ enabled?: boolean;
387
+ /**
388
+ * Source IDs for filtering the list of tasks.
389
+ */
390
+ sourceID?: string[];
391
+ /**
392
+ * Destination IDs for filtering the list of tasks.
393
+ */
394
+ destinationID?: string[];
395
+ /**
396
+ * Type of task trigger for filtering the list of tasks.
397
+ */
398
+ triggerType?: TriggerType[];
399
+ /**
400
+ * Property by which to sort the list of tasks.
401
+ */
402
+ sort?: TaskSortKeys;
403
+ /**
404
+ * Sort order of the response, ascending or descending.
405
+ */
406
+ order?: OrderKeys;
407
+ };
408
+ /**
409
+ * Properties for the `runTask` method.
410
+ */
411
+ export type RunTaskProps = {
412
+ /**
413
+ * Unique identifier of a task.
414
+ */
415
+ taskID: string;
416
+ };
417
+ /**
418
+ * Properties for the `triggerDockerSourceDiscover` method.
419
+ */
420
+ export type TriggerDockerSourceDiscoverProps = {
421
+ /**
422
+ * Unique identifier of a source.
423
+ */
424
+ sourceID: string;
425
+ };
426
+ /**
427
+ * Properties for the `updateAuthentication` method.
428
+ */
429
+ export type UpdateAuthenticationProps = {
430
+ /**
431
+ * Unique identifier of an authentication resource.
432
+ */
433
+ authenticationID: string;
434
+ authenticationUpdate: AuthenticationUpdate;
435
+ };
436
+ /**
437
+ * Properties for the `updateDestination` method.
438
+ */
439
+ export type UpdateDestinationProps = {
440
+ /**
441
+ * Unique identifier of a destination.
442
+ */
443
+ destinationID: string;
444
+ destinationUpdate: DestinationUpdate;
445
+ };
446
+ /**
447
+ * Properties for the `updateSource` method.
448
+ */
449
+ export type UpdateSourceProps = {
450
+ /**
451
+ * Unique identifier of a source.
452
+ */
453
+ sourceID: string;
454
+ sourceUpdate: SourceUpdate;
455
+ };
456
+ /**
457
+ * Properties for the `updateTask` method.
458
+ */
459
+ export type UpdateTaskProps = {
460
+ /**
461
+ * Unique identifier of a task.
462
+ */
463
+ taskID: string;
464
+ taskUpdate: TaskUpdate;
465
+ };
283
466
  //# sourceMappingURL=clientMethodProps.d.ts.map