@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,30 +1,42 @@
1
- import type { RunOutcome } from './runOutcome';
2
- import type { RunProgress } from './runProgress';
3
- import type { RunStatus } from './runStatus';
4
- import type { RunType } from './runType';
5
- export declare type Run = {
6
- runID: string;
7
- appID: string;
8
- taskID: string;
9
- status: RunStatus;
10
- progress?: RunProgress;
11
- outcome?: RunOutcome;
12
- type: RunType;
13
- /**
14
- * Date of creation (RFC3339 format).
15
- */
16
- createdAt: string;
17
- /**
18
- * Date of last update (RFC3339 format).
19
- */
20
- updatedAt: string;
21
- /**
22
- * Date of start (RFC3339 format).
23
- */
24
- startedAt?: string;
25
- /**
26
- * Date of finish (RFC3339 format).
27
- */
28
- finishedAt?: string;
29
- };
1
+ import type { RunOutcome } from './runOutcome';
2
+ import type { RunProgress } from './runProgress';
3
+ import type { RunReasonCode } from './runReasonCode';
4
+ import type { RunStatus } from './runStatus';
5
+ import type { RunType } from './runType';
6
+ export type Run = {
7
+ /**
8
+ * Universally unique identifier (UUID) of a task run.
9
+ */
10
+ runID: string;
11
+ appID: string;
12
+ /**
13
+ * Universally unique identifier (UUID) of a task.
14
+ */
15
+ taskID: string;
16
+ status: RunStatus;
17
+ progress?: RunProgress;
18
+ outcome?: RunOutcome;
19
+ /**
20
+ * Maximum accepted percentage of failures for a task run to finish successfully.
21
+ */
22
+ failureThreshold?: number;
23
+ /**
24
+ * More information about the task run\'s outcome.
25
+ */
26
+ reason?: string;
27
+ reasonCode?: RunReasonCode;
28
+ type: RunType;
29
+ /**
30
+ * Date of creation in RFC3339 format.
31
+ */
32
+ createdAt: string;
33
+ /**
34
+ * Date of start in RFC3339 format.
35
+ */
36
+ startedAt?: string;
37
+ /**
38
+ * Date of finish in RFC3339 format.
39
+ */
40
+ finishedAt?: string;
41
+ };
30
42
  //# sourceMappingURL=run.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../model/run.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,oBAAY,GAAG,GAAG;IAChB,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,EAAE,SAAS,CAAC;IAElB,QAAQ,CAAC,EAAE,WAAW,CAAC;IAEvB,OAAO,CAAC,EAAE,UAAU,CAAC;IAErB,IAAI,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../model/run.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,GAAG,GAAG;IAChB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,EAAE,SAAS,CAAC;IAElB,QAAQ,CAAC,EAAE,WAAW,CAAC;IAEvB,OAAO,CAAC,EAAE,UAAU,CAAC;IAErB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,UAAU,CAAC,EAAE,aAAa,CAAC;IAE3B,IAAI,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -1,7 +1,9 @@
1
- import type { Pagination } from './pagination';
2
- import type { Run } from './run';
3
- export declare type RunListResponse = {
4
- runs: Run[];
5
- pagination: Pagination;
6
- };
1
+ import type { Pagination } from './pagination';
2
+ import type { Run } from './run';
3
+ import type { Window } from './window';
4
+ export type RunListResponse = {
5
+ runs: Run[];
6
+ pagination: Pagination;
7
+ window: Window;
8
+ };
7
9
  //# sourceMappingURL=runListResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runListResponse.d.ts","sourceRoot":"","sources":["../../model/runListResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,oBAAY,eAAe,GAAG;IAC5B,IAAI,EAAE,GAAG,EAAE,CAAC;IAEZ,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC"}
1
+ {"version":3,"file":"runListResponse.d.ts","sourceRoot":"","sources":["../../model/runListResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,GAAG,EAAE,CAAC;IAEZ,UAAU,EAAE,UAAU,CAAC;IAEvB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -1,2 +1,5 @@
1
- export declare type RunOutcome = 'failure' | 'success';
1
+ /**
2
+ * Task run outcome.
3
+ */
4
+ export type RunOutcome = 'failure' | 'processing' | 'success';
2
5
  //# sourceMappingURL=runOutcome.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runOutcome.d.ts","sourceRoot":"","sources":["../../model/runOutcome.ts"],"names":[],"mappings":"AAEA,oBAAY,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC"}
1
+ {"version":3,"file":"runOutcome.d.ts","sourceRoot":"","sources":["../../model/runOutcome.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,CAAC"}
@@ -1,5 +1,5 @@
1
- export declare type RunProgress = {
2
- expectedNbOfEvents?: number;
3
- receivedNbOfEvents?: number;
4
- };
1
+ export type RunProgress = {
2
+ expectedNbOfEvents?: number;
3
+ receivedNbOfEvents?: number;
4
+ };
5
5
  //# sourceMappingURL=runProgress.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runProgress.d.ts","sourceRoot":"","sources":["../../model/runProgress.ts"],"names":[],"mappings":"AAEA,oBAAY,WAAW,GAAG;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC"}
1
+ {"version":3,"file":"runProgress.d.ts","sourceRoot":"","sources":["../../model/runProgress.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * A code for the task run\'s outcome. A readable description of the code is included in the `reason` response property.
3
+ */
4
+ export type RunReasonCode = 'blocking' | 'critical' | 'discarded' | 'internal' | 'no_events' | 'ok' | 'too_many_errors';
5
+ //# sourceMappingURL=runReasonCode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runReasonCode.d.ts","sourceRoot":"","sources":["../../model/runReasonCode.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,UAAU,GACV,WAAW,GACX,UAAU,GACV,WAAW,GACX,IAAI,GACJ,iBAAiB,CAAC"}
@@ -1,8 +1,14 @@
1
- export declare type RunResponse = {
2
- runID: string;
3
- /**
4
- * Date of creation (RFC3339 format).
5
- */
6
- createdAt: string;
7
- };
1
+ /**
2
+ * API response for running a task.
3
+ */
4
+ export type RunResponse = {
5
+ /**
6
+ * Universally unique identifier (UUID) of a task run.
7
+ */
8
+ runID: string;
9
+ /**
10
+ * Date of creation in RFC3339 format.
11
+ */
12
+ createdAt: string;
13
+ };
8
14
  //# sourceMappingURL=runResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runResponse.d.ts","sourceRoot":"","sources":["../../model/runResponse.ts"],"names":[],"mappings":"AAEA,oBAAY,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
1
+ {"version":3,"file":"runResponse.d.ts","sourceRoot":"","sources":["../../model/runResponse.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Property by which to sort the list of task runs.
3
+ */
4
+ export type RunSortKeys = 'createdAt' | 'status' | 'updatedAt';
5
+ //# sourceMappingURL=runSortKeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runSortKeys.d.ts","sourceRoot":"","sources":["../../model/runSortKeys.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC"}
@@ -1,2 +1,5 @@
1
- export declare type RunStatus = 'created' | 'finished' | 'started';
1
+ /**
2
+ * Task run status.
3
+ */
4
+ export type RunStatus = 'created' | 'finished' | 'idled' | 'skipped' | 'started';
2
5
  //# sourceMappingURL=runStatus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runStatus.d.ts","sourceRoot":"","sources":["../../model/runStatus.ts"],"names":[],"mappings":"AAEA,oBAAY,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC"}
1
+ {"version":3,"file":"runStatus.d.ts","sourceRoot":"","sources":["../../model/runStatus.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,SAAS,GACjB,SAAS,GACT,UAAU,GACV,OAAO,GACP,SAAS,GACT,SAAS,CAAC"}
@@ -1,2 +1,5 @@
1
- export declare type RunType = 'reindex' | 'update';
1
+ /**
2
+ * Task run type.
3
+ */
4
+ export type RunType = 'discover' | 'reindex' | 'update';
2
5
  //# sourceMappingURL=runType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runType.d.ts","sourceRoot":"","sources":["../../model/runType.ts"],"names":[],"mappings":"AAEA,oBAAY,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"runType.d.ts","sourceRoot":"","sources":["../../model/runType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { MappingInput } from './mappingInput';
2
+ /**
3
+ * Input for scheduled tasks whose source is of type `bigquery` and for which extracted data spans a fixed number of days.
4
+ */
5
+ export type ScheduleDateUtilsInput = {
6
+ /**
7
+ * Number of days in the past until the current day for which to extract Big Query data.
8
+ */
9
+ timeframe: number;
10
+ mapping?: MappingInput;
11
+ };
12
+ //# sourceMappingURL=scheduleDateUtilsInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduleDateUtilsInput.d.ts","sourceRoot":"","sources":["../../model/scheduleDateUtilsInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { ScheduleTriggerType } from './scheduleTriggerType';
2
+ /**
3
+ * Trigger information for scheduled tasks.
4
+ */
5
+ export type ScheduleTrigger = {
6
+ type: ScheduleTriggerType;
7
+ /**
8
+ * Cron expression for the task\'s schedule.
9
+ */
10
+ cron: string;
11
+ /**
12
+ * The last time the scheduled task ran in RFC3339 format.
13
+ */
14
+ lastRun?: string;
15
+ /**
16
+ * The next scheduled run of the task in RFC3339 format.
17
+ */
18
+ nextRun: string;
19
+ };
20
+ //# sourceMappingURL=scheduleTrigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduleTrigger.d.ts","sourceRoot":"","sources":["../../model/scheduleTrigger.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,mBAAmB,CAAC;IAE1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { ScheduleTriggerType } from './scheduleTriggerType';
2
+ /**
3
+ * Trigger input for scheduled tasks.
4
+ */
5
+ export type ScheduleTriggerInput = {
6
+ type: ScheduleTriggerType;
7
+ /**
8
+ * Cron expression for the task\'s schedule.
9
+ */
10
+ cron: string;
11
+ };
12
+ //# sourceMappingURL=scheduleTriggerInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduleTriggerInput.d.ts","sourceRoot":"","sources":["../../model/scheduleTriggerInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,mBAAmB,CAAC;IAE1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Task runs on a schedule.
3
+ */
4
+ export type ScheduleTriggerType = 'schedule';
5
+ //# sourceMappingURL=scheduleTriggerType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduleTriggerType.d.ts","sourceRoot":"","sources":["../../model/scheduleTriggerType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { ShopifyMarket } from './shopifyMarket';
2
+ import type { ShopifyMetafield } from './shopifyMetafield';
3
+ /**
4
+ * Represents the required elements of the task input when using a `shopify` source.
5
+ */
6
+ export type ShopifyInput = {
7
+ metafields: ShopifyMetafield[];
8
+ market: ShopifyMarket;
9
+ };
10
+ //# sourceMappingURL=shopifyInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shopifyInput.d.ts","sourceRoot":"","sources":["../../model/shopifyInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAE/B,MAAM,EAAE,aAAa,CAAC;CACvB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Represents a market in Shopify.
3
+ */
4
+ export type ShopifyMarket = {
5
+ countries: string[];
6
+ currencies: string[];
7
+ locales: string[];
8
+ };
9
+ //# sourceMappingURL=shopifyMarket.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shopifyMarket.d.ts","sourceRoot":"","sources":["../../model/shopifyMarket.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,EAAE,MAAM,EAAE,CAAC;IAEpB,UAAU,EAAE,MAAM,EAAE,CAAC;IAErB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Represents a metafield in Shopify.
3
+ */
4
+ export type ShopifyMetafield = {
5
+ namespace: string;
6
+ key: string;
7
+ value: string;
8
+ };
9
+ //# sourceMappingURL=shopifyMetafield.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shopifyMetafield.d.ts","sourceRoot":"","sources":["../../model/shopifyMetafield.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,MAAM,CAAC;IAElB,GAAG,EAAE,MAAM,CAAC;IAEZ,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -1,18 +1,24 @@
1
- import type { SourceInput } from './sourceInput';
2
- import type { SourceType } from './sourceType';
3
- export declare type Source = {
4
- sourceID: string;
5
- type: SourceType;
6
- name: string;
7
- input: SourceInput;
8
- authenticationID?: string;
9
- /**
10
- * Date of creation (RFC3339 format).
11
- */
12
- createdAt: string;
13
- /**
14
- * Date of last update (RFC3339 format).
15
- */
16
- updatedAt?: string;
17
- };
1
+ import type { SourceInput } from './sourceInput';
2
+ import type { SourceType } from './sourceType';
3
+ export type Source = {
4
+ /**
5
+ * Universally uniqud identifier (UUID) of a source.
6
+ */
7
+ sourceID: string;
8
+ type: SourceType;
9
+ name: string;
10
+ input: SourceInput;
11
+ /**
12
+ * Universally unique identifier (UUID) of an authentication resource.
13
+ */
14
+ authenticationID?: string;
15
+ /**
16
+ * Date of creation in RFC3339 format.
17
+ */
18
+ createdAt: string;
19
+ /**
20
+ * Date of last update in RFC3339 format.
21
+ */
22
+ updatedAt?: string;
23
+ };
18
24
  //# sourceMappingURL=source.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../model/source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,oBAAY,MAAM,GAAG;IACnB,QAAQ,EAAE,MAAM,CAAC;IAEjB,IAAI,EAAE,UAAU,CAAC;IAEjB,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,WAAW,CAAC;IAEnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
1
+ {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../model/source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,MAAM,GAAG;IACnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,IAAI,EAAE,UAAU,CAAC;IAEjB,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,WAAW,CAAC;IAEnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -1,4 +1,13 @@
1
- export declare type SourceBigCommerce = {
2
- storeHash?: string;
3
- };
1
+ import type { BigCommerceChannel } from './bigCommerceChannel';
2
+ import type { BigCommerceMetafield } from './bigCommerceMetafield';
3
+ export type SourceBigCommerce = {
4
+ /**
5
+ * Store hash identifying your BigCommerce store.
6
+ */
7
+ storeHash: string;
8
+ channel?: BigCommerceChannel;
9
+ customFields?: string[];
10
+ productMetafields?: BigCommerceMetafield[];
11
+ variantMetafields?: BigCommerceMetafield[];
12
+ };
4
13
  //# sourceMappingURL=sourceBigCommerce.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sourceBigCommerce.d.ts","sourceRoot":"","sources":["../../model/sourceBigCommerce.ts"],"names":[],"mappings":"AAEA,oBAAY,iBAAiB,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
1
+ {"version":3,"file":"sourceBigCommerce.d.ts","sourceRoot":"","sources":["../../model/sourceBigCommerce.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAExB,iBAAiB,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAE3C,iBAAiB,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAC5C,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { BigQueryDataType } from './bigQueryDataType';
2
+ export type SourceBigQuery = {
3
+ /**
4
+ * Project ID of the BigQuery source.
5
+ */
6
+ projectID: string;
7
+ /**
8
+ * Dataset ID of the BigQuery source.
9
+ */
10
+ datasetID: string;
11
+ dataType?: BigQueryDataType;
12
+ /**
13
+ * Table name for the BigQuery export.
14
+ */
15
+ table?: string;
16
+ /**
17
+ * Table prefix for a Google Analytics 4 data export to BigQuery.
18
+ */
19
+ tablePrefix?: string;
20
+ /**
21
+ * Custom SQL request to extract data from the BigQuery table.
22
+ */
23
+ customSQLRequest?: string;
24
+ /**
25
+ * Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
26
+ */
27
+ uniqueIDColumn?: string;
28
+ };
29
+ //# sourceMappingURL=sourceBigQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceBigQuery.d.ts","sourceRoot":"","sources":["../../model/sourceBigQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { MappingTypeCSV } from './mappingTypeCSV';
2
+ import type { MethodType } from './methodType';
3
+ export type SourceCSV = {
4
+ /**
5
+ * URL of the file.
6
+ */
7
+ url: string;
8
+ /**
9
+ * Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
10
+ */
11
+ uniqueIDColumn?: string;
12
+ /**
13
+ * Key-value pairs of column names and their expected types.
14
+ */
15
+ mapping?: Record<string, MappingTypeCSV>;
16
+ method?: MethodType;
17
+ /**
18
+ * The character used to split the value on each line, default to a comma (\\r, \\n, 0xFFFD, and space are forbidden).
19
+ */
20
+ delimiter?: string;
21
+ };
22
+ //# sourceMappingURL=sourceCSV.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceCSV.d.ts","sourceRoot":"","sources":["../../model/sourceCSV.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAEzC,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -1,10 +1,16 @@
1
- export declare type SourceCommercetools = {
2
- storeKeys?: string[];
3
- /**
4
- * Array of locales that must match the following pattern: ^[a-z]{2}(-[A-Z]{2})?$. For example [\"fr-FR\", \"en\"].
5
- */
6
- locales?: string[];
7
- url: string;
8
- projectKey: string;
9
- };
1
+ import type { CommercetoolsCustomFields } from './commercetoolsCustomFields';
2
+ export type SourceCommercetools = {
3
+ storeKeys?: string[];
4
+ /**
5
+ * Locales for your commercetools stores.
6
+ */
7
+ locales?: string[];
8
+ url: string;
9
+ projectKey: string;
10
+ /**
11
+ * Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
12
+ */
13
+ fallbackIsInStockValue?: boolean;
14
+ customFields?: CommercetoolsCustomFields;
15
+ };
10
16
  //# sourceMappingURL=sourceCommercetools.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sourceCommercetools.d.ts","sourceRoot":"","sources":["../../model/sourceCommercetools.ts"],"names":[],"mappings":"AAEA,oBAAY,mBAAmB,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnB,GAAG,EAAE,MAAM,CAAC;IAEZ,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
1
+ {"version":3,"file":"sourceCommercetools.d.ts","sourceRoot":"","sources":["../../model/sourceCommercetools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAE7E,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnB,GAAG,EAAE,MAAM,CAAC;IAEZ,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC,YAAY,CAAC,EAAE,yBAAyB,CAAC;CAC1C,CAAC"}
@@ -1,9 +1,15 @@
1
- import type { SourceInput } from './sourceInput';
2
- import type { SourceType } from './sourceType';
3
- export declare type SourceCreate = {
4
- type: SourceType;
5
- name: string;
6
- input: SourceInput;
7
- authenticationID: string;
8
- };
1
+ import type { SourceInput } from './sourceInput';
2
+ import type { SourceType } from './sourceType';
3
+ export type SourceCreate = {
4
+ type: SourceType;
5
+ /**
6
+ * Descriptive name of the source.
7
+ */
8
+ name: string;
9
+ input: SourceInput;
10
+ /**
11
+ * Universally unique identifier (UUID) of an authentication resource.
12
+ */
13
+ authenticationID?: string;
14
+ };
9
15
  //# sourceMappingURL=sourceCreate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sourceCreate.d.ts","sourceRoot":"","sources":["../../model/sourceCreate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,oBAAY,YAAY,GAAG;IACzB,IAAI,EAAE,UAAU,CAAC;IAEjB,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,WAAW,CAAC;IAEnB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"sourceCreate.d.ts","sourceRoot":"","sources":["../../model/sourceCreate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,UAAU,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,WAAW,CAAC;IAEnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC"}
@@ -1,9 +1,15 @@
1
- export declare type SourceCreateResponse = {
2
- sourceID: string;
3
- name: string;
4
- /**
5
- * Date of creation (RFC3339 format).
6
- */
7
- createdAt: string;
8
- };
1
+ export type SourceCreateResponse = {
2
+ /**
3
+ * Universally uniqud identifier (UUID) of a source.
4
+ */
5
+ sourceID: string;
6
+ /**
7
+ * Descriptive name of the source.
8
+ */
9
+ name: string;
10
+ /**
11
+ * Date of creation in RFC3339 format.
12
+ */
13
+ createdAt: string;
14
+ };
9
15
  //# sourceMappingURL=sourceCreateResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sourceCreateResponse.d.ts","sourceRoot":"","sources":["../../model/sourceCreateResponse.ts"],"names":[],"mappings":"AAEA,oBAAY,oBAAoB,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAC;IAEjB,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
1
+ {"version":3,"file":"sourceCreateResponse.d.ts","sourceRoot":"","sources":["../../model/sourceCreateResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type { DockerImageType } from './dockerImageType';
2
+ import type { DockerRegistry } from './dockerRegistry';
3
+ export type SourceDocker = {
4
+ imageType: DockerImageType;
5
+ registry: DockerRegistry;
6
+ /**
7
+ * Docker image name.
8
+ */
9
+ image: string;
10
+ /**
11
+ * Docker image version.
12
+ */
13
+ version?: string;
14
+ /**
15
+ * Configuration of the spec.
16
+ */
17
+ configuration: Record<string, any>;
18
+ };
19
+ //# sourceMappingURL=sourceDocker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceDocker.d.ts","sourceRoot":"","sources":["../../model/sourceDocker.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,EAAE,eAAe,CAAC;IAE3B,QAAQ,EAAE,cAAc,CAAC;IAEzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACpC,CAAC"}
@@ -0,0 +1,15 @@
1
+ export type SourceGA4BigQueryExport = {
2
+ /**
3
+ * GCP project ID that the BigQuery export writes to.
4
+ */
5
+ projectID: string;
6
+ /**
7
+ * BigQuery dataset ID that the BigQuery export writes to.
8
+ */
9
+ datasetID: string;
10
+ /**
11
+ * Prefix of the tables that the BigQuery Export writes to.
12
+ */
13
+ tablePrefix: string;
14
+ };
15
+ //# sourceMappingURL=sourceGA4BigQueryExport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceGA4BigQueryExport.d.ts","sourceRoot":"","sources":["../../model/sourceGA4BigQueryExport.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -1,5 +1,10 @@
1
- import type { SourceBigCommerce } from './sourceBigCommerce';
2
- import type { SourceCommercetools } from './sourceCommercetools';
3
- import type { SourceJson } from './sourceJson';
4
- export declare type SourceInput = SourceBigCommerce | SourceCommercetools | SourceJson;
1
+ import type { SourceBigCommerce } from './sourceBigCommerce';
2
+ import type { SourceBigQuery } from './sourceBigQuery';
3
+ import type { SourceCSV } from './sourceCSV';
4
+ import type { SourceCommercetools } from './sourceCommercetools';
5
+ import type { SourceDocker } from './sourceDocker';
6
+ import type { SourceGA4BigQueryExport } from './sourceGA4BigQueryExport';
7
+ import type { SourceJSON } from './sourceJSON';
8
+ import type { SourceShopify } from './sourceShopify';
9
+ export type SourceInput = SourceBigCommerce | SourceBigQuery | SourceCommercetools | SourceCSV | SourceDocker | SourceGA4BigQueryExport | SourceJSON | SourceShopify;
5
10
  //# sourceMappingURL=sourceInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sourceInput.d.ts","sourceRoot":"","sources":["../../model/sourceInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,oBAAY,WAAW,GAAG,iBAAiB,GAAG,mBAAmB,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"sourceInput.d.ts","sourceRoot":"","sources":["../../model/sourceInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,WAAW,GACnB,iBAAiB,GACjB,cAAc,GACd,mBAAmB,GACnB,SAAS,GACT,YAAY,GACZ,uBAAuB,GACvB,UAAU,GACV,aAAa,CAAC"}