@algolia/ingestion 1.0.0-alpha.7 → 1.0.0-alpha.71

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 (357) hide show
  1. package/dist/builds/browser.d.ts +5 -5
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +5 -5
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/{ingestion.cjs.js → ingestion.cjs} +1205 -820
  6. package/dist/ingestion.esm.browser.js +1386 -967
  7. package/dist/ingestion.esm.node.js +1203 -819
  8. package/dist/ingestion.umd.js +2 -2
  9. package/dist/model/actionType.d.ts +4 -1
  10. package/dist/model/actionType.d.ts.map +1 -1
  11. package/dist/model/authAPIKey.d.ts +6 -3
  12. package/dist/model/authAPIKey.d.ts.map +1 -1
  13. package/dist/model/authAPIKeyPartial.d.ts +7 -0
  14. package/dist/model/authAPIKeyPartial.d.ts.map +1 -0
  15. package/dist/model/authAlgolia.d.ts +10 -4
  16. package/dist/model/authAlgolia.d.ts.map +1 -1
  17. package/dist/model/authAlgoliaPartial.d.ts +11 -0
  18. package/dist/model/authAlgoliaPartial.d.ts.map +1 -0
  19. package/dist/model/authBasic.d.ts +7 -4
  20. package/dist/model/authBasic.d.ts.map +1 -1
  21. package/dist/model/authBasicPartial.d.ts +8 -0
  22. package/dist/model/authBasicPartial.d.ts.map +1 -0
  23. package/dist/model/authGoogleServiceAccount.d.ts +13 -4
  24. package/dist/model/authGoogleServiceAccount.d.ts.map +1 -1
  25. package/dist/model/authGoogleServiceAccountPartial.d.ts +14 -0
  26. package/dist/model/authGoogleServiceAccountPartial.d.ts.map +1 -0
  27. package/dist/model/authInput.d.ts +6 -6
  28. package/dist/model/authInput.d.ts.map +1 -1
  29. package/dist/model/authInputPartial.d.ts +7 -0
  30. package/dist/model/authInputPartial.d.ts.map +1 -0
  31. package/dist/model/authOAuth.d.ts +17 -6
  32. package/dist/model/authOAuth.d.ts.map +1 -1
  33. package/dist/model/authOAuthPartial.d.ts +18 -0
  34. package/dist/model/authOAuthPartial.d.ts.map +1 -0
  35. package/dist/model/authentication.d.ts +27 -16
  36. package/dist/model/authentication.d.ts.map +1 -1
  37. package/dist/model/authenticationCreate.d.ts +15 -9
  38. package/dist/model/authenticationCreate.d.ts.map +1 -1
  39. package/dist/model/authenticationCreateResponse.d.ts +17 -8
  40. package/dist/model/authenticationCreateResponse.d.ts.map +1 -1
  41. package/dist/model/authenticationSearch.d.ts +7 -0
  42. package/dist/model/authenticationSearch.d.ts.map +1 -0
  43. package/dist/model/authenticationSortKeys.d.ts +5 -0
  44. package/dist/model/authenticationSortKeys.d.ts.map +1 -0
  45. package/dist/model/authenticationType.d.ts +4 -1
  46. package/dist/model/authenticationType.d.ts.map +1 -1
  47. package/dist/model/authenticationUpdate.d.ts +15 -9
  48. package/dist/model/authenticationUpdate.d.ts.map +1 -1
  49. package/dist/model/authenticationUpdateResponse.d.ts +17 -8
  50. package/dist/model/authenticationUpdateResponse.d.ts.map +1 -1
  51. package/dist/model/bigCommerceChannel.d.ts +11 -0
  52. package/dist/model/bigCommerceChannel.d.ts.map +1 -0
  53. package/dist/model/bigCommerceMetafield.d.ts +11 -0
  54. package/dist/model/bigCommerceMetafield.d.ts.map +1 -0
  55. package/dist/model/bigQueryDataType.d.ts +2 -0
  56. package/dist/model/bigQueryDataType.d.ts.map +1 -0
  57. package/dist/model/clientMethodProps.d.ts +465 -282
  58. package/dist/model/clientMethodProps.d.ts.map +1 -1
  59. package/dist/model/deleteResponse.d.ts +6 -6
  60. package/dist/model/deleteResponse.d.ts.map +1 -1
  61. package/dist/model/destination.d.ts +26 -17
  62. package/dist/model/destination.d.ts.map +1 -1
  63. package/dist/model/destinationCreate.d.ts +17 -8
  64. package/dist/model/destinationCreate.d.ts.map +1 -1
  65. package/dist/model/destinationCreateResponse.d.ts +17 -8
  66. package/dist/model/destinationCreateResponse.d.ts.map +1 -1
  67. package/dist/model/destinationIndexName.d.ts +12 -3
  68. package/dist/model/destinationIndexName.d.ts.map +1 -1
  69. package/dist/model/destinationIndexPrefix.d.ts +6 -3
  70. package/dist/model/destinationIndexPrefix.d.ts.map +1 -1
  71. package/dist/model/destinationInput.d.ts +3 -3
  72. package/dist/model/destinationInput.d.ts.map +1 -1
  73. package/dist/model/destinationSearch.d.ts +7 -0
  74. package/dist/model/destinationSearch.d.ts.map +1 -0
  75. package/dist/model/destinationSortKeys.d.ts +5 -0
  76. package/dist/model/destinationSortKeys.d.ts.map +1 -0
  77. package/dist/model/destinationType.d.ts +4 -1
  78. package/dist/model/destinationType.d.ts.map +1 -1
  79. package/dist/model/destinationUpdate.d.ts +14 -8
  80. package/dist/model/destinationUpdate.d.ts.map +1 -1
  81. package/dist/model/destinationUpdateResponse.d.ts +17 -8
  82. package/dist/model/destinationUpdateResponse.d.ts.map +1 -1
  83. package/dist/model/dockerImageType.d.ts +5 -0
  84. package/dist/model/dockerImageType.d.ts.map +1 -0
  85. package/dist/model/dockerRegistry.d.ts +5 -0
  86. package/dist/model/dockerRegistry.d.ts.map +1 -0
  87. package/dist/model/dockerSourceDiscover.d.ts +11 -0
  88. package/dist/model/dockerSourceDiscover.d.ts.map +1 -0
  89. package/dist/model/dockerSourceStreams.d.ts +4 -0
  90. package/dist/model/dockerSourceStreams.d.ts.map +1 -0
  91. package/dist/model/errorBase.d.ts +6 -6
  92. package/dist/model/errorBase.d.ts.map +1 -1
  93. package/dist/model/event.d.ts +30 -14
  94. package/dist/model/event.d.ts.map +1 -1
  95. package/dist/model/eventSortKeys.d.ts +5 -0
  96. package/dist/model/eventSortKeys.d.ts.map +1 -0
  97. package/dist/model/eventStatus.d.ts +1 -1
  98. package/dist/model/eventStatus.d.ts.map +1 -1
  99. package/dist/model/eventType.d.ts +1 -1
  100. package/dist/model/eventType.d.ts.map +1 -1
  101. package/dist/model/index.d.ts +109 -63
  102. package/dist/model/index.d.ts.map +1 -1
  103. package/dist/model/listAuthenticationsResponse.d.ts +6 -6
  104. package/dist/model/listAuthenticationsResponse.d.ts.map +1 -1
  105. package/dist/model/listDestinationsResponse.d.ts +6 -6
  106. package/dist/model/listDestinationsResponse.d.ts.map +1 -1
  107. package/dist/model/listEventsResponse.d.ts +8 -6
  108. package/dist/model/listEventsResponse.d.ts.map +1 -1
  109. package/dist/model/listSourcesResponse.d.ts +6 -6
  110. package/dist/model/listSourcesResponse.d.ts.map +1 -1
  111. package/dist/model/listTasksResponse.d.ts +9 -6
  112. package/dist/model/listTasksResponse.d.ts.map +1 -1
  113. package/dist/model/mappingTypeCSV.d.ts +2 -0
  114. package/dist/model/mappingTypeCSV.d.ts.map +1 -0
  115. package/dist/model/methodType.d.ts +1 -1
  116. package/dist/model/methodType.d.ts.map +1 -1
  117. package/dist/model/onDemandDateUtilsInput.d.ts +14 -0
  118. package/dist/model/onDemandDateUtilsInput.d.ts.map +1 -0
  119. package/dist/model/onDemandTrigger.d.ts +12 -0
  120. package/dist/model/onDemandTrigger.d.ts.map +1 -0
  121. package/dist/model/onDemandTriggerInput.d.ts +8 -0
  122. package/dist/model/onDemandTriggerInput.d.ts.map +1 -0
  123. package/dist/model/onDemandTriggerType.d.ts +5 -0
  124. package/dist/model/onDemandTriggerType.d.ts.map +1 -0
  125. package/dist/model/orderKeys.d.ts +5 -0
  126. package/dist/model/orderKeys.d.ts.map +1 -0
  127. package/dist/model/pagination.d.ts +6 -6
  128. package/dist/model/pagination.d.ts.map +1 -1
  129. package/dist/model/platform.d.ts +5 -0
  130. package/dist/model/platform.d.ts.map +1 -0
  131. package/dist/model/platformNone.d.ts +5 -0
  132. package/dist/model/platformNone.d.ts.map +1 -0
  133. package/dist/model/platformWithNone.d.ts +4 -0
  134. package/dist/model/platformWithNone.d.ts.map +1 -0
  135. package/dist/model/recordType.d.ts +5 -0
  136. package/dist/model/recordType.d.ts.map +1 -0
  137. package/dist/model/run.d.ts +41 -29
  138. package/dist/model/run.d.ts.map +1 -1
  139. package/dist/model/runListResponse.d.ts +8 -6
  140. package/dist/model/runListResponse.d.ts.map +1 -1
  141. package/dist/model/runOutcome.d.ts +1 -1
  142. package/dist/model/runOutcome.d.ts.map +1 -1
  143. package/dist/model/runProgress.d.ts +4 -4
  144. package/dist/model/runProgress.d.ts.map +1 -1
  145. package/dist/model/runReasonCode.d.ts +5 -0
  146. package/dist/model/runReasonCode.d.ts.map +1 -0
  147. package/dist/model/runResponse.d.ts +13 -7
  148. package/dist/model/runResponse.d.ts.map +1 -1
  149. package/dist/model/runSortKeys.d.ts +5 -0
  150. package/dist/model/runSortKeys.d.ts.map +1 -0
  151. package/dist/model/runStatus.d.ts +1 -1
  152. package/dist/model/runStatus.d.ts.map +1 -1
  153. package/dist/model/runType.d.ts +1 -1
  154. package/dist/model/runType.d.ts.map +1 -1
  155. package/dist/model/scheduleDateUtilsInput.d.ts +10 -0
  156. package/dist/model/scheduleDateUtilsInput.d.ts.map +1 -0
  157. package/dist/model/scheduleTrigger.d.ts +20 -0
  158. package/dist/model/scheduleTrigger.d.ts.map +1 -0
  159. package/dist/model/scheduleTriggerInput.d.ts +12 -0
  160. package/dist/model/scheduleTriggerInput.d.ts.map +1 -0
  161. package/dist/model/scheduleTriggerType.d.ts +5 -0
  162. package/dist/model/scheduleTriggerType.d.ts.map +1 -0
  163. package/dist/model/source.d.ts +23 -17
  164. package/dist/model/source.d.ts.map +1 -1
  165. package/dist/model/sourceBigCommerce.d.ts +12 -3
  166. package/dist/model/sourceBigCommerce.d.ts.map +1 -1
  167. package/dist/model/sourceBigQuery.d.ts +29 -0
  168. package/dist/model/sourceBigQuery.d.ts.map +1 -0
  169. package/dist/model/sourceCSV.d.ts +22 -0
  170. package/dist/model/sourceCSV.d.ts.map +1 -0
  171. package/dist/model/sourceCommercetools.d.ts +13 -9
  172. package/dist/model/sourceCommercetools.d.ts.map +1 -1
  173. package/dist/model/sourceCreate.d.ts +11 -8
  174. package/dist/model/sourceCreate.d.ts.map +1 -1
  175. package/dist/model/sourceCreateResponse.d.ts +11 -8
  176. package/dist/model/sourceCreateResponse.d.ts.map +1 -1
  177. package/dist/model/sourceDocker.d.ts +19 -0
  178. package/dist/model/sourceDocker.d.ts.map +1 -0
  179. package/dist/model/sourceInput.d.ts +7 -4
  180. package/dist/model/sourceInput.d.ts.map +1 -1
  181. package/dist/model/sourceJSON.d.ts +13 -0
  182. package/dist/model/sourceJSON.d.ts.map +1 -0
  183. package/dist/model/sourceSearch.d.ts +4 -0
  184. package/dist/model/sourceSearch.d.ts.map +1 -0
  185. package/dist/model/sourceSortKeys.d.ts +5 -0
  186. package/dist/model/sourceSortKeys.d.ts.map +1 -0
  187. package/dist/model/sourceType.d.ts +1 -1
  188. package/dist/model/sourceType.d.ts.map +1 -1
  189. package/dist/model/sourceUpdate.d.ts +9 -8
  190. package/dist/model/sourceUpdate.d.ts.map +1 -1
  191. package/dist/model/sourceUpdateCommercetools.d.ts +11 -0
  192. package/dist/model/sourceUpdateCommercetools.d.ts.map +1 -0
  193. package/dist/model/sourceUpdateDocker.d.ts +17 -0
  194. package/dist/model/sourceUpdateDocker.d.ts.map +1 -0
  195. package/dist/model/sourceUpdateInput.d.ts +7 -0
  196. package/dist/model/sourceUpdateInput.d.ts.map +1 -0
  197. package/dist/model/sourceUpdateResponse.d.ts +11 -8
  198. package/dist/model/sourceUpdateResponse.d.ts.map +1 -1
  199. package/dist/model/subscriptionTrigger.d.ts +8 -0
  200. package/dist/model/subscriptionTrigger.d.ts.map +1 -0
  201. package/dist/model/subscriptionTriggerType.d.ts +5 -0
  202. package/dist/model/subscriptionTriggerType.d.ts.map +1 -0
  203. package/dist/model/task.d.ts +36 -18
  204. package/dist/model/task.d.ts.map +1 -1
  205. package/dist/model/taskCreate.d.ts +27 -9
  206. package/dist/model/taskCreate.d.ts.map +1 -1
  207. package/dist/model/taskCreateResponse.d.ts +13 -7
  208. package/dist/model/taskCreateResponse.d.ts.map +1 -1
  209. package/dist/model/taskCreateTrigger.d.ts +5 -0
  210. package/dist/model/taskCreateTrigger.d.ts.map +1 -0
  211. package/dist/model/taskInput.d.ts +4 -0
  212. package/dist/model/taskInput.d.ts.map +1 -0
  213. package/dist/model/taskSearch.d.ts +4 -0
  214. package/dist/model/taskSearch.d.ts.map +1 -0
  215. package/dist/model/taskSortKeys.d.ts +5 -0
  216. package/dist/model/taskSortKeys.d.ts.map +1 -0
  217. package/dist/model/taskUpdate.d.ts +21 -6
  218. package/dist/model/taskUpdate.d.ts.map +1 -1
  219. package/dist/model/taskUpdateResponse.d.ts +13 -7
  220. package/dist/model/taskUpdateResponse.d.ts.map +1 -1
  221. package/dist/model/trigger.d.ts +4 -13
  222. package/dist/model/trigger.d.ts.map +1 -1
  223. package/dist/model/triggerType.d.ts +4 -1
  224. package/dist/model/triggerType.d.ts.map +1 -1
  225. package/dist/model/triggerUpdateInput.d.ts +10 -0
  226. package/dist/model/triggerUpdateInput.d.ts.map +1 -0
  227. package/dist/model/window.d.ts +14 -0
  228. package/dist/model/window.d.ts.map +1 -0
  229. package/dist/src/ingestionClient.d.ts +465 -325
  230. package/dist/src/ingestionClient.d.ts.map +1 -1
  231. package/index.js +1 -1
  232. package/model/actionType.ts +5 -2
  233. package/model/authAPIKey.ts +4 -1
  234. package/model/authAPIKeyPartial.ts +8 -0
  235. package/model/authAlgolia.ts +7 -1
  236. package/model/authAlgoliaPartial.ts +13 -0
  237. package/model/authBasic.ts +4 -1
  238. package/model/authBasicPartial.ts +10 -0
  239. package/model/authGoogleServiceAccount.ts +10 -1
  240. package/model/authGoogleServiceAccountPartial.ts +16 -0
  241. package/model/authInput.ts +1 -1
  242. package/model/authInputPartial.ts +14 -0
  243. package/model/authOAuth.ts +13 -3
  244. package/model/authOAuthPartial.ts +21 -0
  245. package/model/authentication.ts +15 -3
  246. package/model/authenticationCreate.ts +9 -3
  247. package/model/authenticationCreateResponse.ts +10 -1
  248. package/model/authenticationSearch.ts +8 -0
  249. package/model/authenticationSortKeys.ts +11 -0
  250. package/model/authenticationType.ts +4 -1
  251. package/model/authenticationUpdate.ts +11 -5
  252. package/model/authenticationUpdateResponse.ts +10 -1
  253. package/model/bigCommerceChannel.ts +13 -0
  254. package/model/bigCommerceMetafield.ts +13 -0
  255. package/model/bigQueryDataType.ts +3 -0
  256. package/model/clientMethodProps.ts +224 -36
  257. package/model/deleteResponse.ts +1 -1
  258. package/model/destination.ts +10 -1
  259. package/model/destinationCreate.ts +11 -2
  260. package/model/destinationCreateResponse.ts +10 -1
  261. package/model/destinationIndexName.ts +13 -1
  262. package/model/destinationIndexPrefix.ts +4 -1
  263. package/model/destinationInput.ts +1 -1
  264. package/model/destinationSearch.ts +8 -0
  265. package/model/destinationSortKeys.ts +6 -0
  266. package/model/destinationType.ts +5 -2
  267. package/model/destinationUpdate.ts +7 -1
  268. package/model/destinationUpdateResponse.ts +10 -1
  269. package/model/dockerImageType.ts +6 -0
  270. package/model/dockerRegistry.ts +6 -0
  271. package/model/dockerSourceDiscover.ts +13 -0
  272. package/model/dockerSourceStreams.ts +5 -0
  273. package/model/errorBase.ts +1 -1
  274. package/model/event.ts +18 -1
  275. package/model/eventSortKeys.ts +6 -0
  276. package/model/eventStatus.ts +2 -1
  277. package/model/eventType.ts +2 -2
  278. package/model/index.ts +52 -6
  279. package/model/listAuthenticationsResponse.ts +1 -1
  280. package/model/listDestinationsResponse.ts +1 -1
  281. package/model/listEventsResponse.ts +4 -1
  282. package/model/listSourcesResponse.ts +1 -1
  283. package/model/listTasksResponse.ts +4 -1
  284. package/model/mappingTypeCSV.ts +8 -0
  285. package/model/methodType.ts +1 -1
  286. package/model/onDemandDateUtilsInput.ts +16 -0
  287. package/model/onDemandTrigger.ts +15 -0
  288. package/model/onDemandTriggerInput.ts +10 -0
  289. package/model/onDemandTriggerType.ts +6 -0
  290. package/model/orderKeys.ts +6 -0
  291. package/model/pagination.ts +1 -1
  292. package/model/platform.ts +6 -0
  293. package/model/platformNone.ts +6 -0
  294. package/model/platformWithNone.ts +6 -0
  295. package/model/recordType.ts +6 -0
  296. package/model/run.ts +20 -6
  297. package/model/runListResponse.ts +4 -1
  298. package/model/runOutcome.ts +2 -2
  299. package/model/runProgress.ts +1 -1
  300. package/model/runReasonCode.ts +13 -0
  301. package/model/runResponse.ts +7 -1
  302. package/model/runSortKeys.ts +6 -0
  303. package/model/runStatus.ts +7 -2
  304. package/model/runType.ts +2 -2
  305. package/model/scheduleDateUtilsInput.ts +11 -0
  306. package/model/scheduleTrigger.ts +25 -0
  307. package/model/scheduleTriggerInput.ts +15 -0
  308. package/model/scheduleTriggerType.ts +6 -0
  309. package/model/source.ts +7 -1
  310. package/model/sourceBigCommerce.ts +15 -1
  311. package/model/sourceBigQuery.ts +37 -0
  312. package/model/sourceCSV.ts +28 -0
  313. package/model/sourceCommercetools.ts +6 -1
  314. package/model/sourceCreate.ts +5 -2
  315. package/model/sourceCreateResponse.ts +4 -1
  316. package/model/sourceDocker.ts +25 -0
  317. package/model/sourceInput.ts +12 -3
  318. package/model/sourceJSON.ts +17 -0
  319. package/model/sourceSearch.ts +5 -0
  320. package/model/sourceSortKeys.ts +6 -0
  321. package/model/sourceType.ts +8 -2
  322. package/model/sourceUpdate.ts +6 -6
  323. package/model/sourceUpdateCommercetools.ts +13 -0
  324. package/model/sourceUpdateDocker.ts +22 -0
  325. package/model/sourceUpdateInput.ts +14 -0
  326. package/model/sourceUpdateResponse.ts +4 -1
  327. package/model/subscriptionTrigger.ts +10 -0
  328. package/model/subscriptionTriggerType.ts +6 -0
  329. package/model/task.ts +22 -2
  330. package/model/taskCreate.ts +23 -3
  331. package/model/taskCreateResponse.ts +7 -1
  332. package/model/taskCreateTrigger.ts +10 -0
  333. package/model/taskInput.ts +6 -0
  334. package/model/taskSearch.ts +5 -0
  335. package/model/taskSortKeys.ts +11 -0
  336. package/model/taskUpdate.ts +20 -3
  337. package/model/taskUpdateResponse.ts +7 -1
  338. package/model/trigger.ts +5 -17
  339. package/model/triggerType.ts +5 -2
  340. package/model/triggerUpdateInput.ts +11 -0
  341. package/model/window.ts +16 -0
  342. package/package.json +10 -9
  343. package/dist/model/authenticationInput.d.ts +0 -5
  344. package/dist/model/authenticationInput.d.ts.map +0 -1
  345. package/dist/model/authenticationWithInput.d.ts +0 -4
  346. package/dist/model/authenticationWithInput.d.ts.map +0 -1
  347. package/dist/model/platformType.d.ts +0 -2
  348. package/dist/model/platformType.d.ts.map +0 -1
  349. package/dist/model/sourceJson.d.ts +0 -6
  350. package/dist/model/sourceJson.d.ts.map +0 -1
  351. package/dist/model/triggerInput.d.ts +0 -6
  352. package/dist/model/triggerInput.d.ts.map +0 -1
  353. package/model/authenticationInput.ts +0 -7
  354. package/model/authenticationWithInput.ts +0 -6
  355. package/model/platformType.ts +0 -3
  356. package/model/sourceJson.ts +0 -9
  357. package/model/triggerInput.ts +0 -9
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Used to sort the Run list endpoint.
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,2 @@
1
- export declare type RunStatus = 'created' | 'finished' | 'started';
1
+ export type RunStatus = 'created' | 'finished' | 'idled' | 'skipped' | 'started';
2
2
  //# 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,MAAM,MAAM,SAAS,GACjB,SAAS,GACT,UAAU,GACV,OAAO,GACP,SAAS,GACT,SAAS,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare type RunType = 'reindex' | 'update';
1
+ export type RunType = 'discover' | 'reindex' | 'update';
2
2
  //# 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,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The input for a `schedule` task whose source is of type `bigquery` and for which extracted data spans a fixed number of days.
3
+ */
4
+ export type ScheduleDateUtilsInput = {
5
+ /**
6
+ * The timeframe of the extraction, in number of days from today.
7
+ */
8
+ timeframe: number;
9
+ };
10
+ //# sourceMappingURL=scheduleDateUtilsInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduleDateUtilsInput.d.ts","sourceRoot":"","sources":["../../model/scheduleDateUtilsInput.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { ScheduleTriggerType } from './scheduleTriggerType';
2
+ /**
3
+ * The trigger information for a task of type \'schedule\'.
4
+ */
5
+ export type ScheduleTrigger = {
6
+ type: ScheduleTriggerType;
7
+ /**
8
+ * A cron expression that represent at which regularity the task should run.
9
+ */
10
+ cron: string;
11
+ /**
12
+ * The last time the scheduled task ran (RFC3339 format).
13
+ */
14
+ lastRun?: string;
15
+ /**
16
+ * The next scheduled run of the task (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
+ * The trigger input for a task of type \'schedule\'.
4
+ */
5
+ export type ScheduleTriggerInput = {
6
+ type: ScheduleTriggerType;
7
+ /**
8
+ * A cron expression that represent at which regularity the task should run.
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
+ * A task which is triggered by a schedule (cron expression).
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"}
@@ -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
+ * The source UUID.
6
+ */
7
+ sourceID: string;
8
+ type: SourceType;
9
+ name: string;
10
+ input: SourceInput;
11
+ /**
12
+ * The authentication UUID.
13
+ */
14
+ authenticationID?: string;
15
+ /**
16
+ * Date of creation (RFC3339 format).
17
+ */
18
+ createdAt: string;
19
+ /**
20
+ * Date of last update (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
+ * The store hash identifying the store the shopper is signing in to.
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,CAAC,EAAE,MAAM,CAAC;IAEnB,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 default BQ).
14
+ */
15
+ table?: string;
16
+ /**
17
+ * Table prefix (for Google Analytics).
18
+ */
19
+ tablePrefix?: string;
20
+ /**
21
+ * Custom SQL request to extract data from the BigQuery table.
22
+ */
23
+ customSQLRequest?: string;
24
+ /**
25
+ * The name of the column that contains the unique ID, 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
+ * The URL of the file.
6
+ */
7
+ url: string;
8
+ /**
9
+ * The name of the column that contains the unique ID, used as `objectID` in Algolia.
10
+ */
11
+ uniqueIDColumn?: string;
12
+ /**
13
+ * Mapping of type for every column. For example {\"myColumn\": \"boolean\", \"myOtherColumn\": \"json\"}.
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,14 @@
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
+ export 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
+ /**
10
+ * Determines the value that will be stored in the Algolia record if there\'s no inventory information on the product.
11
+ */
12
+ fallbackIsInStockValue?: boolean;
13
+ };
10
14
  //# 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,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;CAClC,CAAC"}
@@ -1,9 +1,12 @@
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
+ name: string;
6
+ input: SourceInput;
7
+ /**
8
+ * The authentication UUID.
9
+ */
10
+ authenticationID?: string;
11
+ };
9
12
  //# 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,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,WAAW,CAAC;IAEnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC"}
@@ -1,9 +1,12 @@
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
+ * The source UUID.
4
+ */
5
+ sourceID: string;
6
+ name: string;
7
+ /**
8
+ * Date of creation (RFC3339 format).
9
+ */
10
+ createdAt: string;
11
+ };
9
12
  //# 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,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
+ * The name of the image to pull.
8
+ */
9
+ image: string;
10
+ /**
11
+ * The version of the image, defaults to `latest`.
12
+ */
13
+ version?: string;
14
+ /**
15
+ * The 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"}
@@ -1,5 +1,8 @@
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 { SourceJSON } from './sourceJSON';
7
+ export type SourceInput = SourceBigCommerce | SourceBigQuery | SourceCommercetools | SourceCSV | SourceDocker | SourceJSON;
5
8
  //# 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,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,WAAW,GACnB,iBAAiB,GACjB,cAAc,GACd,mBAAmB,GACnB,SAAS,GACT,YAAY,GACZ,UAAU,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { MethodType } from './methodType';
2
+ export type SourceJSON = {
3
+ /**
4
+ * The URL of the file.
5
+ */
6
+ url: string;
7
+ /**
8
+ * The name of the column that contains the unique ID, used as `objectID` in Algolia.
9
+ */
10
+ uniqueIDColumn?: string;
11
+ method?: MethodType;
12
+ };
13
+ //# sourceMappingURL=sourceJSON.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceJSON.d.ts","sourceRoot":"","sources":["../../model/sourceJSON.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export type SourceSearch = {
2
+ sourceIDs: string[];
3
+ };
4
+ //# sourceMappingURL=sourceSearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceSearch.d.ts","sourceRoot":"","sources":["../../model/sourceSearch.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Used to sort the Source list endpoint.
3
+ */
4
+ export type SourceSortKeys = 'createdAt' | 'name' | 'type' | 'updatedAt';
5
+ //# sourceMappingURL=sourceSortKeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceSortKeys.d.ts","sourceRoot":"","sources":["../../model/sourceSortKeys.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare type SourceType = 'bigcommerce' | 'commercetools' | 'json';
1
+ export type SourceType = 'bigcommerce' | 'bigquery' | 'commercetools' | 'csv' | 'docker' | 'json';
2
2
  //# sourceMappingURL=sourceType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sourceType.d.ts","sourceRoot":"","sources":["../../model/sourceType.ts"],"names":[],"mappings":"AAEA,oBAAY,UAAU,GAAG,aAAa,GAAG,eAAe,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"sourceType.d.ts","sourceRoot":"","sources":["../../model/sourceType.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAClB,aAAa,GACb,UAAU,GACV,eAAe,GACf,KAAK,GACL,QAAQ,GACR,MAAM,CAAC"}
@@ -1,9 +1,10 @@
1
- import type { SourceInput } from './sourceInput';
2
- import type { SourceType } from './sourceType';
3
- export declare type SourceUpdate = {
4
- type?: SourceType;
5
- name?: string;
6
- input?: SourceInput;
7
- authenticationID?: string;
8
- };
1
+ import type { SourceUpdateInput } from './sourceUpdateInput';
2
+ export type SourceUpdate = {
3
+ name?: string;
4
+ input?: SourceUpdateInput;
5
+ /**
6
+ * The authentication UUID.
7
+ */
8
+ authenticationID?: string;
9
+ };
9
10
  //# sourceMappingURL=sourceUpdate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sourceUpdate.d.ts","sourceRoot":"","sources":["../../model/sourceUpdate.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,CAAC,EAAE,UAAU,CAAC;IAElB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC"}
1
+ {"version":3,"file":"sourceUpdate.d.ts","sourceRoot":"","sources":["../../model/sourceUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAE1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC"}
@@ -0,0 +1,11 @@
1
+ export type SourceUpdateCommercetools = {
2
+ /**
3
+ * Unique and immutable key of the referenced Store.
4
+ */
5
+ storeKeys?: string[];
6
+ /**
7
+ * Array of locales that must match the following pattern: ^[a-z]{2}(-[A-Z]{2})?$. For example [\"fr-FR\", \"en\"].
8
+ */
9
+ locales?: string[];
10
+ };
11
+ //# sourceMappingURL=sourceUpdateCommercetools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceUpdateCommercetools.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateCommercetools.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { DockerRegistry } from './dockerRegistry';
2
+ export type SourceUpdateDocker = {
3
+ registry?: DockerRegistry;
4
+ /**
5
+ * The name of the image to pull.
6
+ */
7
+ image?: string;
8
+ /**
9
+ * The version of the image, defaults to `latest`.
10
+ */
11
+ version?: string;
12
+ /**
13
+ * The configuration of the spec.
14
+ */
15
+ configuration: Record<string, any>;
16
+ };
17
+ //# sourceMappingURL=sourceUpdateDocker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceUpdateDocker.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateDocker.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,cAAc,CAAC;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACpC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { SourceBigQuery } from './sourceBigQuery';
2
+ import type { SourceCSV } from './sourceCSV';
3
+ import type { SourceJSON } from './sourceJSON';
4
+ import type { SourceUpdateCommercetools } from './sourceUpdateCommercetools';
5
+ import type { SourceUpdateDocker } from './sourceUpdateDocker';
6
+ export type SourceUpdateInput = SourceBigQuery | SourceCSV | SourceJSON | SourceUpdateCommercetools | SourceUpdateDocker;
7
+ //# sourceMappingURL=sourceUpdateInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceUpdateInput.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,iBAAiB,GACzB,cAAc,GACd,SAAS,GACT,UAAU,GACV,yBAAyB,GACzB,kBAAkB,CAAC"}
@@ -1,9 +1,12 @@
1
- export declare type SourceUpdateResponse = {
2
- sourceID: string;
3
- name: string;
4
- /**
5
- * Date of last update (RFC3339 format).
6
- */
7
- updatedAt: string;
8
- };
1
+ export type SourceUpdateResponse = {
2
+ /**
3
+ * The source UUID.
4
+ */
5
+ sourceID: string;
6
+ name: string;
7
+ /**
8
+ * Date of last update (RFC3339 format).
9
+ */
10
+ updatedAt: string;
11
+ };
9
12
  //# sourceMappingURL=sourceUpdateResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sourceUpdateResponse.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateResponse.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":"sourceUpdateResponse.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { SubscriptionTriggerType } from './subscriptionTriggerType';
2
+ /**
3
+ * The trigger input for a task of type \'subscription\'.
4
+ */
5
+ export type SubscriptionTrigger = {
6
+ type: SubscriptionTriggerType;
7
+ };
8
+ //# sourceMappingURL=subscriptionTrigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriptionTrigger.d.ts","sourceRoot":"","sources":["../../model/subscriptionTrigger.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,uBAAuB,CAAC;CAC/B,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * A task which is triggered by an external subscription (e.g. Webhook).
3
+ */
4
+ export type SubscriptionTriggerType = 'subscription';
5
+ //# sourceMappingURL=subscriptionTriggerType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriptionTriggerType.d.ts","sourceRoot":"","sources":["../../model/subscriptionTriggerType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC"}
@@ -1,19 +1,37 @@
1
- import type { ActionType } from './actionType';
2
- import type { Trigger } from './trigger';
3
- export declare type Task = {
4
- taskID: string;
5
- sourceID: string;
6
- destinationID: string;
7
- trigger?: Trigger;
8
- enabled: boolean;
9
- action: ActionType;
10
- /**
11
- * Date of creation (RFC3339 format).
12
- */
13
- createdAt: string;
14
- /**
15
- * Date of last update (RFC3339 format).
16
- */
17
- updatedAt?: string;
18
- };
1
+ import type { ActionType } from './actionType';
2
+ import type { TaskInput } from './taskInput';
3
+ import type { Trigger } from './trigger';
4
+ export type Task = {
5
+ /**
6
+ * The task UUID.
7
+ */
8
+ taskID: string;
9
+ /**
10
+ * The source UUID.
11
+ */
12
+ sourceID: string;
13
+ /**
14
+ * The destination UUID.
15
+ */
16
+ destinationID: string;
17
+ trigger: Trigger;
18
+ input?: TaskInput;
19
+ /**
20
+ * Whether the task is enabled or not.
21
+ */
22
+ enabled: boolean;
23
+ /**
24
+ * A percentage representing the accepted failure threshold to determine if a `run` succeeded or not.
25
+ */
26
+ failureThreshold?: number;
27
+ action: ActionType;
28
+ /**
29
+ * Date of creation (RFC3339 format).
30
+ */
31
+ createdAt: string;
32
+ /**
33
+ * Date of last update (RFC3339 format).
34
+ */
35
+ updatedAt?: string;
36
+ };
19
37
  //# sourceMappingURL=task.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../model/task.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,oBAAY,IAAI,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,MAAM,CAAC;IAEjB,aAAa,EAAE,MAAM,CAAC;IAEtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,OAAO,EAAE,OAAO,CAAC;IAEjB,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
1
+ {"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../model/task.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,IAAI,GAAG;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB,OAAO,EAAE,OAAO,CAAC;IAEjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}