@algolia/ingestion 1.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/dist/builds/browser.d.ts +6 -0
  2. package/dist/builds/browser.d.ts.map +1 -0
  3. package/dist/builds/node.d.ts +6 -0
  4. package/dist/builds/node.d.ts.map +1 -0
  5. package/dist/ingestion.cjs.js +855 -0
  6. package/dist/ingestion.esm.browser.js +1516 -0
  7. package/dist/ingestion.esm.node.js +850 -0
  8. package/dist/ingestion.umd.js +2 -0
  9. package/dist/model/actionType.d.ts +2 -0
  10. package/dist/model/actionType.d.ts.map +1 -0
  11. package/dist/model/authAPIKey.d.ts +4 -0
  12. package/dist/model/authAPIKey.d.ts.map +1 -0
  13. package/dist/model/authAlgolia.d.ts +5 -0
  14. package/dist/model/authAlgolia.d.ts.map +1 -0
  15. package/dist/model/authBasic.d.ts +5 -0
  16. package/dist/model/authBasic.d.ts.map +1 -0
  17. package/dist/model/authGoogleServiceAccount.d.ts +5 -0
  18. package/dist/model/authGoogleServiceAccount.d.ts.map +1 -0
  19. package/dist/model/authInput.d.ts +7 -0
  20. package/dist/model/authInput.d.ts.map +1 -0
  21. package/dist/model/authOAuth.d.ts +7 -0
  22. package/dist/model/authOAuth.d.ts.map +1 -0
  23. package/dist/model/authentication.d.ts +17 -0
  24. package/dist/model/authentication.d.ts.map +1 -0
  25. package/dist/model/authenticationCreate.d.ts +10 -0
  26. package/dist/model/authenticationCreate.d.ts.map +1 -0
  27. package/dist/model/authenticationCreateResponse.d.ts +9 -0
  28. package/dist/model/authenticationCreateResponse.d.ts.map +1 -0
  29. package/dist/model/authenticationInput.d.ts +5 -0
  30. package/dist/model/authenticationInput.d.ts.map +1 -0
  31. package/dist/model/authenticationNone.d.ts +2 -0
  32. package/dist/model/authenticationNone.d.ts.map +1 -0
  33. package/dist/model/authenticationType.d.ts +2 -0
  34. package/dist/model/authenticationType.d.ts.map +1 -0
  35. package/dist/model/authenticationTypeWithNone.d.ts +4 -0
  36. package/dist/model/authenticationTypeWithNone.d.ts.map +1 -0
  37. package/dist/model/authenticationUpdate.d.ts +10 -0
  38. package/dist/model/authenticationUpdate.d.ts.map +1 -0
  39. package/dist/model/authenticationUpdateResponse.d.ts +9 -0
  40. package/dist/model/authenticationUpdateResponse.d.ts.map +1 -0
  41. package/dist/model/authenticationWithInput.d.ts +4 -0
  42. package/dist/model/authenticationWithInput.d.ts.map +1 -0
  43. package/dist/model/clientMethodProps.d.ts +311 -0
  44. package/dist/model/clientMethodProps.d.ts.map +1 -0
  45. package/dist/model/deleteResponse.d.ts +7 -0
  46. package/dist/model/deleteResponse.d.ts.map +1 -0
  47. package/dist/model/destination.d.ts +18 -0
  48. package/dist/model/destination.d.ts.map +1 -0
  49. package/dist/model/destinationCreate.d.ts +9 -0
  50. package/dist/model/destinationCreate.d.ts.map +1 -0
  51. package/dist/model/destinationCreateResponse.d.ts +9 -0
  52. package/dist/model/destinationCreateResponse.d.ts.map +1 -0
  53. package/dist/model/destinationIndexName.d.ts +4 -0
  54. package/dist/model/destinationIndexName.d.ts.map +1 -0
  55. package/dist/model/destinationIndexPrefix.d.ts +4 -0
  56. package/dist/model/destinationIndexPrefix.d.ts.map +1 -0
  57. package/dist/model/destinationInput.d.ts +4 -0
  58. package/dist/model/destinationInput.d.ts.map +1 -0
  59. package/dist/model/destinationType.d.ts +2 -0
  60. package/dist/model/destinationType.d.ts.map +1 -0
  61. package/dist/model/destinationUpdate.d.ts +9 -0
  62. package/dist/model/destinationUpdate.d.ts.map +1 -0
  63. package/dist/model/destinationUpdateResponse.d.ts +9 -0
  64. package/dist/model/destinationUpdateResponse.d.ts.map +1 -0
  65. package/dist/model/errorBase.d.ts +7 -0
  66. package/dist/model/errorBase.d.ts.map +1 -0
  67. package/dist/model/event.d.ts +15 -0
  68. package/dist/model/event.d.ts.map +1 -0
  69. package/dist/model/eventStatus.d.ts +2 -0
  70. package/dist/model/eventStatus.d.ts.map +1 -0
  71. package/dist/model/eventType.d.ts +2 -0
  72. package/dist/model/eventType.d.ts.map +1 -0
  73. package/dist/model/index.d.ts +66 -0
  74. package/dist/model/index.d.ts.map +1 -0
  75. package/dist/model/listAuthenticationsResponse.d.ts +7 -0
  76. package/dist/model/listAuthenticationsResponse.d.ts.map +1 -0
  77. package/dist/model/listDestinationsResponse.d.ts +7 -0
  78. package/dist/model/listDestinationsResponse.d.ts.map +1 -0
  79. package/dist/model/listEventsResponse.d.ts +7 -0
  80. package/dist/model/listEventsResponse.d.ts.map +1 -0
  81. package/dist/model/listSourcesResponse.d.ts +7 -0
  82. package/dist/model/listSourcesResponse.d.ts.map +1 -0
  83. package/dist/model/listTasksResponse.d.ts +7 -0
  84. package/dist/model/listTasksResponse.d.ts.map +1 -0
  85. package/dist/model/methodType.d.ts +2 -0
  86. package/dist/model/methodType.d.ts.map +1 -0
  87. package/dist/model/pagination.d.ts +7 -0
  88. package/dist/model/pagination.d.ts.map +1 -0
  89. package/dist/model/platform.d.ts +2 -0
  90. package/dist/model/platform.d.ts.map +1 -0
  91. package/dist/model/run.d.ts +30 -0
  92. package/dist/model/run.d.ts.map +1 -0
  93. package/dist/model/runListResponse.d.ts +7 -0
  94. package/dist/model/runListResponse.d.ts.map +1 -0
  95. package/dist/model/runOutcome.d.ts +2 -0
  96. package/dist/model/runOutcome.d.ts.map +1 -0
  97. package/dist/model/runProgress.d.ts +5 -0
  98. package/dist/model/runProgress.d.ts.map +1 -0
  99. package/dist/model/runResponse.d.ts +8 -0
  100. package/dist/model/runResponse.d.ts.map +1 -0
  101. package/dist/model/runStatus.d.ts +2 -0
  102. package/dist/model/runStatus.d.ts.map +1 -0
  103. package/dist/model/runType.d.ts +2 -0
  104. package/dist/model/runType.d.ts.map +1 -0
  105. package/dist/model/source.d.ts +18 -0
  106. package/dist/model/source.d.ts.map +1 -0
  107. package/dist/model/sourceBigCommerce.d.ts +4 -0
  108. package/dist/model/sourceBigCommerce.d.ts.map +1 -0
  109. package/dist/model/sourceCommercetools.d.ts +10 -0
  110. package/dist/model/sourceCommercetools.d.ts.map +1 -0
  111. package/dist/model/sourceCreate.d.ts +9 -0
  112. package/dist/model/sourceCreate.d.ts.map +1 -0
  113. package/dist/model/sourceCreateResponse.d.ts +9 -0
  114. package/dist/model/sourceCreateResponse.d.ts.map +1 -0
  115. package/dist/model/sourceInput.d.ts +5 -0
  116. package/dist/model/sourceInput.d.ts.map +1 -0
  117. package/dist/model/sourceJson.d.ts +6 -0
  118. package/dist/model/sourceJson.d.ts.map +1 -0
  119. package/dist/model/sourceType.d.ts +2 -0
  120. package/dist/model/sourceType.d.ts.map +1 -0
  121. package/dist/model/sourceUpdate.d.ts +9 -0
  122. package/dist/model/sourceUpdate.d.ts.map +1 -0
  123. package/dist/model/sourceUpdateResponse.d.ts +9 -0
  124. package/dist/model/sourceUpdateResponse.d.ts.map +1 -0
  125. package/dist/model/task.d.ts +19 -0
  126. package/dist/model/task.d.ts.map +1 -0
  127. package/dist/model/taskCreate.d.ts +10 -0
  128. package/dist/model/taskCreate.d.ts.map +1 -0
  129. package/dist/model/taskCreateResponse.d.ts +8 -0
  130. package/dist/model/taskCreateResponse.d.ts.map +1 -0
  131. package/dist/model/taskUpdate.d.ts +7 -0
  132. package/dist/model/taskUpdate.d.ts.map +1 -0
  133. package/dist/model/taskUpdateResponse.d.ts +8 -0
  134. package/dist/model/taskUpdateResponse.d.ts.map +1 -0
  135. package/dist/model/trigger.d.ts +14 -0
  136. package/dist/model/trigger.d.ts.map +1 -0
  137. package/dist/model/triggerInput.d.ts +6 -0
  138. package/dist/model/triggerInput.d.ts.map +1 -0
  139. package/dist/model/triggerType.d.ts +2 -0
  140. package/dist/model/triggerType.d.ts.map +1 -0
  141. package/dist/src/ingestionClient.d.ts +332 -0
  142. package/dist/src/ingestionClient.d.ts.map +1 -0
  143. package/index.d.ts +2 -0
  144. package/index.js +2 -0
  145. package/model/actionType.ts +3 -0
  146. package/model/authAPIKey.ts +5 -0
  147. package/model/authAlgolia.ts +7 -0
  148. package/model/authBasic.ts +7 -0
  149. package/model/authGoogleServiceAccount.ts +7 -0
  150. package/model/authInput.ts +14 -0
  151. package/model/authOAuth.ts +11 -0
  152. package/model/authentication.ts +24 -0
  153. package/model/authenticationCreate.ts +15 -0
  154. package/model/authenticationCreateResponse.ts +12 -0
  155. package/model/authenticationInput.ts +7 -0
  156. package/model/authenticationNone.ts +3 -0
  157. package/model/authenticationType.ts +8 -0
  158. package/model/authenticationTypeWithNone.ts +8 -0
  159. package/model/authenticationUpdate.ts +15 -0
  160. package/model/authenticationUpdateResponse.ts +12 -0
  161. package/model/authenticationWithInput.ts +6 -0
  162. package/model/clientMethodProps.ts +336 -0
  163. package/model/deleteResponse.ts +8 -0
  164. package/model/destination.ts +26 -0
  165. package/model/destinationCreate.ts +14 -0
  166. package/model/destinationCreateResponse.ts +12 -0
  167. package/model/destinationIndexName.ts +5 -0
  168. package/model/destinationIndexPrefix.ts +5 -0
  169. package/model/destinationInput.ts +6 -0
  170. package/model/destinationType.ts +3 -0
  171. package/model/destinationUpdate.ts +14 -0
  172. package/model/destinationUpdateResponse.ts +12 -0
  173. package/model/errorBase.ts +8 -0
  174. package/model/event.ts +23 -0
  175. package/model/eventStatus.ts +8 -0
  176. package/model/eventType.ts +3 -0
  177. package/model/index.ts +67 -0
  178. package/model/listAuthenticationsResponse.ts +10 -0
  179. package/model/listDestinationsResponse.ts +10 -0
  180. package/model/listEventsResponse.ts +10 -0
  181. package/model/listSourcesResponse.ts +10 -0
  182. package/model/listTasksResponse.ts +10 -0
  183. package/model/methodType.ts +3 -0
  184. package/model/pagination.ts +11 -0
  185. package/model/platform.ts +3 -0
  186. package/model/run.ts +42 -0
  187. package/model/runListResponse.ts +10 -0
  188. package/model/runOutcome.ts +3 -0
  189. package/model/runProgress.ts +7 -0
  190. package/model/runResponse.ts +10 -0
  191. package/model/runStatus.ts +3 -0
  192. package/model/runType.ts +3 -0
  193. package/model/source.ts +26 -0
  194. package/model/sourceBigCommerce.ts +5 -0
  195. package/model/sourceCommercetools.ts +14 -0
  196. package/model/sourceCreate.ts +14 -0
  197. package/model/sourceCreateResponse.ts +12 -0
  198. package/model/sourceInput.ts +7 -0
  199. package/model/sourceJson.ts +9 -0
  200. package/model/sourceType.ts +3 -0
  201. package/model/sourceUpdate.ts +14 -0
  202. package/model/sourceUpdateResponse.ts +12 -0
  203. package/model/task.ts +28 -0
  204. package/model/taskCreate.ts +16 -0
  205. package/model/taskCreateResponse.ts +10 -0
  206. package/model/taskUpdate.ts +11 -0
  207. package/model/taskUpdateResponse.ts +10 -0
  208. package/model/trigger.ts +19 -0
  209. package/model/triggerInput.ts +9 -0
  210. package/model/triggerType.ts +3 -0
  211. package/package.json +53 -0
package/model/run.ts ADDED
@@ -0,0 +1,42 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { RunOutcome } from './runOutcome';
4
+ import type { RunProgress } from './runProgress';
5
+ import type { RunStatus } from './runStatus';
6
+ import type { RunType } from './runType';
7
+
8
+ export type Run = {
9
+ runID: string;
10
+
11
+ appID: string;
12
+
13
+ taskID: string;
14
+
15
+ status: RunStatus;
16
+
17
+ progress?: RunProgress;
18
+
19
+ outcome?: RunOutcome;
20
+
21
+ type: RunType;
22
+
23
+ /**
24
+ * Date of creation (RFC3339 format).
25
+ */
26
+ createdAt: string;
27
+
28
+ /**
29
+ * Date of last update (RFC3339 format).
30
+ */
31
+ updatedAt: string;
32
+
33
+ /**
34
+ * Date of start (RFC3339 format).
35
+ */
36
+ startedAt?: string;
37
+
38
+ /**
39
+ * Date of finish (RFC3339 format).
40
+ */
41
+ finishedAt?: string;
42
+ };
@@ -0,0 +1,10 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { Pagination } from './pagination';
4
+ import type { Run } from './run';
5
+
6
+ export type RunListResponse = {
7
+ runs: Run[];
8
+
9
+ pagination: Pagination;
10
+ };
@@ -0,0 +1,3 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type RunOutcome = 'failure' | 'success';
@@ -0,0 +1,7 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type RunProgress = {
4
+ expectedNbOfEvents?: number;
5
+
6
+ receivedNbOfEvents?: number;
7
+ };
@@ -0,0 +1,10 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type RunResponse = {
4
+ runID: string;
5
+
6
+ /**
7
+ * Date of creation (RFC3339 format).
8
+ */
9
+ createdAt: string;
10
+ };
@@ -0,0 +1,3 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type RunStatus = 'created' | 'finished' | 'started';
@@ -0,0 +1,3 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type RunType = 'reindex' | 'update';
@@ -0,0 +1,26 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { SourceInput } from './sourceInput';
4
+ import type { SourceType } from './sourceType';
5
+
6
+ export type Source = {
7
+ sourceID: string;
8
+
9
+ type: SourceType;
10
+
11
+ name: string;
12
+
13
+ input: SourceInput;
14
+
15
+ authenticationID?: string;
16
+
17
+ /**
18
+ * Date of creation (RFC3339 format).
19
+ */
20
+ createdAt: string;
21
+
22
+ /**
23
+ * Date of last update (RFC3339 format).
24
+ */
25
+ updatedAt?: string;
26
+ };
@@ -0,0 +1,5 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type SourceBigCommerce = {
4
+ storeHash?: string;
5
+ };
@@ -0,0 +1,14 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type SourceCommercetools = {
4
+ storeKeys?: string[];
5
+
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
+ url: string;
12
+
13
+ projectKey: string;
14
+ };
@@ -0,0 +1,14 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { SourceInput } from './sourceInput';
4
+ import type { SourceType } from './sourceType';
5
+
6
+ export type SourceCreate = {
7
+ type: SourceType;
8
+
9
+ name: string;
10
+
11
+ input: SourceInput;
12
+
13
+ authenticationID: string;
14
+ };
@@ -0,0 +1,12 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type SourceCreateResponse = {
4
+ sourceID: string;
5
+
6
+ name: string;
7
+
8
+ /**
9
+ * Date of creation (RFC3339 format).
10
+ */
11
+ createdAt: string;
12
+ };
@@ -0,0 +1,7 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { SourceBigCommerce } from './sourceBigCommerce';
4
+ import type { SourceCommercetools } from './sourceCommercetools';
5
+ import type { SourceJson } from './sourceJson';
6
+
7
+ export type SourceInput = SourceBigCommerce | SourceCommercetools | SourceJson;
@@ -0,0 +1,9 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { MethodType } from './methodType';
4
+
5
+ export type SourceJson = {
6
+ url: string;
7
+
8
+ method?: MethodType;
9
+ };
@@ -0,0 +1,3 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type SourceType = 'bigcommerce' | 'commercetools' | 'json';
@@ -0,0 +1,14 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { SourceInput } from './sourceInput';
4
+ import type { SourceType } from './sourceType';
5
+
6
+ export type SourceUpdate = {
7
+ type?: SourceType;
8
+
9
+ name?: string;
10
+
11
+ input?: SourceInput;
12
+
13
+ authenticationID?: string;
14
+ };
@@ -0,0 +1,12 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type SourceUpdateResponse = {
4
+ sourceID: string;
5
+
6
+ name: string;
7
+
8
+ /**
9
+ * Date of last update (RFC3339 format).
10
+ */
11
+ updatedAt: string;
12
+ };
package/model/task.ts ADDED
@@ -0,0 +1,28 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { ActionType } from './actionType';
4
+ import type { Trigger } from './trigger';
5
+
6
+ export type Task = {
7
+ taskID: string;
8
+
9
+ sourceID: string;
10
+
11
+ destinationID: string;
12
+
13
+ trigger?: Trigger;
14
+
15
+ enabled: boolean;
16
+
17
+ action: ActionType;
18
+
19
+ /**
20
+ * Date of creation (RFC3339 format).
21
+ */
22
+ createdAt: string;
23
+
24
+ /**
25
+ * Date of last update (RFC3339 format).
26
+ */
27
+ updatedAt?: string;
28
+ };
@@ -0,0 +1,16 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { ActionType } from './actionType';
4
+ import type { TriggerInput } from './triggerInput';
5
+
6
+ export type TaskCreate = {
7
+ sourceID: string;
8
+
9
+ destinationID: string;
10
+
11
+ trigger: TriggerInput;
12
+
13
+ action: ActionType;
14
+
15
+ enabled?: boolean;
16
+ };
@@ -0,0 +1,10 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type TaskCreateResponse = {
4
+ taskID: string;
5
+
6
+ /**
7
+ * Date of creation (RFC3339 format).
8
+ */
9
+ createdAt: string;
10
+ };
@@ -0,0 +1,11 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { TriggerInput } from './triggerInput';
4
+
5
+ export type TaskUpdate = {
6
+ destinationID?: string;
7
+
8
+ trigger?: TriggerInput;
9
+
10
+ enabled?: boolean;
11
+ };
@@ -0,0 +1,10 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type TaskUpdateResponse = {
4
+ taskID: string;
5
+
6
+ /**
7
+ * Date of last update (RFC3339 format).
8
+ */
9
+ updatedAt: string;
10
+ };
@@ -0,0 +1,19 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { TriggerType } from './triggerType';
4
+
5
+ export type Trigger = {
6
+ type: TriggerType;
7
+
8
+ cron?: string;
9
+
10
+ /**
11
+ * The last time the task ran (`scheduled` or `on-demand`).
12
+ */
13
+ lastRun?: string;
14
+
15
+ /**
16
+ * The next scheduled run for the task (`scheduled`).
17
+ */
18
+ nextRun?: string;
19
+ };
@@ -0,0 +1,9 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { TriggerType } from './triggerType';
4
+
5
+ export type TriggerInput = {
6
+ type: TriggerType;
7
+
8
+ cron?: string;
9
+ };
@@ -0,0 +1,3 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type TriggerType = 'on_demand' | 'schedule' | 'subscription';
package/package.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "@algolia/ingestion",
3
+ "version": "1.0.0-alpha.10",
4
+ "description": "JavaScript client for ingestion",
5
+ "repository": "algolia/algoliasearch-client-javascript",
6
+ "license": "MIT",
7
+ "author": "Algolia",
8
+ "exports": {
9
+ ".": {
10
+ "node": {
11
+ "import": "./dist/ingestion.esm.node.js",
12
+ "module": "./dist/ingestion.esm.node.js",
13
+ "require": "./dist/ingestion.cjs.js",
14
+ "default": "./dist/ingestion.cjs.js"
15
+ },
16
+ "default": {
17
+ "umd": "./dist/ingestion.umd.js",
18
+ "module": "./dist/ingestion.esm.browser.js",
19
+ "import": "./dist/ingestion.esm.browser.js",
20
+ "default": "./dist/ingestion.umd.js"
21
+ }
22
+ },
23
+ "./src/*": "./src/*.ts",
24
+ "./model": "./model/index.ts"
25
+ },
26
+ "jsdelivr": "./dist/ingestion.umd.js",
27
+ "unpkg": "./dist/ingestion.umd.js",
28
+ "browser": "./dist/ingestion.umd.js",
29
+ "types": "./index.d.ts",
30
+ "files": [
31
+ "dist",
32
+ "model",
33
+ "index.js",
34
+ "index.d.ts"
35
+ ],
36
+ "scripts": {
37
+ "build": "yarn clean && rollup --config",
38
+ "clean": "rm -rf ./dist || true"
39
+ },
40
+ "dependencies": {
41
+ "@algolia/client-common": "5.0.0-alpha.36",
42
+ "@algolia/requester-browser-xhr": "5.0.0-alpha.36",
43
+ "@algolia/requester-node-http": "5.0.0-alpha.36"
44
+ },
45
+ "devDependencies": {
46
+ "@types/node": "16.11.59",
47
+ "rollup": "2.79.1",
48
+ "typescript": "4.8.3"
49
+ },
50
+ "engines": {
51
+ "node": ">= 14.0.0"
52
+ }
53
+ }