@algolia/ingestion 1.0.0-alpha.83 → 1.0.0-alpha.84

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 (224) hide show
  1. package/dist/ingestion.cjs +99 -99
  2. package/dist/ingestion.esm.browser.js +99 -99
  3. package/dist/ingestion.esm.node.js +99 -99
  4. package/dist/ingestion.umd.js +2 -2
  5. package/dist/model/actionType.d.ts +1 -1
  6. package/dist/model/authAPIKey.d.ts +4 -1
  7. package/dist/model/authAPIKey.d.ts.map +1 -1
  8. package/dist/model/authAPIKeyPartial.d.ts +4 -1
  9. package/dist/model/authAPIKeyPartial.d.ts.map +1 -1
  10. package/dist/model/authAlgolia.d.ts +5 -2
  11. package/dist/model/authAlgolia.d.ts.map +1 -1
  12. package/dist/model/authAlgoliaPartial.d.ts +5 -2
  13. package/dist/model/authAlgoliaPartial.d.ts.map +1 -1
  14. package/dist/model/authBasic.d.ts +7 -1
  15. package/dist/model/authBasic.d.ts.map +1 -1
  16. package/dist/model/authBasicPartial.d.ts +7 -1
  17. package/dist/model/authBasicPartial.d.ts.map +1 -1
  18. package/dist/model/authGoogleServiceAccount.d.ts +3 -3
  19. package/dist/model/authGoogleServiceAccountPartial.d.ts +3 -3
  20. package/dist/model/authOAuth.d.ts +8 -4
  21. package/dist/model/authOAuth.d.ts.map +1 -1
  22. package/dist/model/authOAuthPartial.d.ts +8 -4
  23. package/dist/model/authOAuthPartial.d.ts.map +1 -1
  24. package/dist/model/authentication.d.ts +5 -5
  25. package/dist/model/authenticationCreate.d.ts +2 -2
  26. package/dist/model/authenticationCreateResponse.d.ts +4 -4
  27. package/dist/model/authenticationSearch.d.ts +1 -1
  28. package/dist/model/authenticationSortKeys.d.ts +1 -1
  29. package/dist/model/authenticationType.d.ts +1 -1
  30. package/dist/model/authenticationUpdate.d.ts +2 -2
  31. package/dist/model/authenticationUpdateResponse.d.ts +4 -4
  32. package/dist/model/bigCommerceChannel.d.ts +2 -2
  33. package/dist/model/bigCommerceMetafield.d.ts +2 -2
  34. package/dist/model/clientMethodProps.d.ts +64 -64
  35. package/dist/model/commercetoolsCustomFields.d.ts +1 -1
  36. package/dist/model/deleteResponse.d.ts +1 -1
  37. package/dist/model/destination.d.ts +6 -6
  38. package/dist/model/destinationCreate.d.ts +3 -3
  39. package/dist/model/destinationCreateResponse.d.ts +4 -4
  40. package/dist/model/destinationIndexName.d.ts +2 -2
  41. package/dist/model/destinationIndexPrefix.d.ts +1 -1
  42. package/dist/model/destinationSearch.d.ts +1 -1
  43. package/dist/model/destinationSortKeys.d.ts +1 -1
  44. package/dist/model/destinationType.d.ts +2 -2
  45. package/dist/model/destinationType.d.ts.map +1 -1
  46. package/dist/model/destinationUpdate.d.ts +3 -3
  47. package/dist/model/destinationUpdateResponse.d.ts +4 -4
  48. package/dist/model/dockerImageType.d.ts +1 -1
  49. package/dist/model/dockerRegistry.d.ts +1 -1
  50. package/dist/model/dockerSourceDiscover.d.ts +2 -2
  51. package/dist/model/event.d.ts +3 -3
  52. package/dist/model/eventSortKeys.d.ts +1 -1
  53. package/dist/model/index.d.ts +1 -0
  54. package/dist/model/index.d.ts.map +1 -1
  55. package/dist/model/listTasksResponse.d.ts +1 -1
  56. package/dist/model/mappingFormatSchema.d.ts +5 -0
  57. package/dist/model/mappingFormatSchema.d.ts.map +1 -0
  58. package/dist/model/mappingInput.d.ts +3 -5
  59. package/dist/model/mappingInput.d.ts.map +1 -1
  60. package/dist/model/methodType.d.ts +3 -0
  61. package/dist/model/methodType.d.ts.map +1 -1
  62. package/dist/model/onDemandDateUtilsInput.d.ts +3 -3
  63. package/dist/model/onDemandTrigger.d.ts +2 -2
  64. package/dist/model/onDemandTriggerInput.d.ts +1 -1
  65. package/dist/model/onDemandTriggerType.d.ts +1 -1
  66. package/dist/model/orderKeys.d.ts +1 -1
  67. package/dist/model/pagination.d.ts +15 -0
  68. package/dist/model/pagination.d.ts.map +1 -1
  69. package/dist/model/platform.d.ts +2 -2
  70. package/dist/model/platform.d.ts.map +1 -1
  71. package/dist/model/platformNone.d.ts +1 -1
  72. package/dist/model/recordType.d.ts +1 -1
  73. package/dist/model/run.d.ts +7 -7
  74. package/dist/model/runOutcome.d.ts +3 -0
  75. package/dist/model/runOutcome.d.ts.map +1 -1
  76. package/dist/model/runReasonCode.d.ts +1 -1
  77. package/dist/model/runResponse.d.ts +3 -3
  78. package/dist/model/runSortKeys.d.ts +1 -1
  79. package/dist/model/runStatus.d.ts +3 -0
  80. package/dist/model/runStatus.d.ts.map +1 -1
  81. package/dist/model/runType.d.ts +3 -0
  82. package/dist/model/runType.d.ts.map +1 -1
  83. package/dist/model/scheduleDateUtilsInput.d.ts +2 -2
  84. package/dist/model/scheduleTrigger.d.ts +4 -4
  85. package/dist/model/scheduleTriggerInput.d.ts +2 -2
  86. package/dist/model/scheduleTriggerType.d.ts +1 -1
  87. package/dist/model/source.d.ts +4 -4
  88. package/dist/model/sourceBigCommerce.d.ts +1 -1
  89. package/dist/model/sourceBigQuery.d.ts +5 -5
  90. package/dist/model/sourceCSV.d.ts +3 -3
  91. package/dist/model/sourceCommercetools.d.ts +2 -2
  92. package/dist/model/sourceCreate.d.ts +4 -1
  93. package/dist/model/sourceCreate.d.ts.map +1 -1
  94. package/dist/model/sourceCreateResponse.d.ts +5 -2
  95. package/dist/model/sourceCreateResponse.d.ts.map +1 -1
  96. package/dist/model/sourceDocker.d.ts +3 -3
  97. package/dist/model/sourceGA4BigQueryExport.d.ts +3 -3
  98. package/dist/model/sourceJSON.d.ts +2 -2
  99. package/dist/model/sourceSortKeys.d.ts +1 -1
  100. package/dist/model/sourceType.d.ts +1 -1
  101. package/dist/model/sourceType.d.ts.map +1 -1
  102. package/dist/model/sourceUpdate.d.ts +4 -1
  103. package/dist/model/sourceUpdate.d.ts.map +1 -1
  104. package/dist/model/sourceUpdateCommercetools.d.ts +2 -5
  105. package/dist/model/sourceUpdateCommercetools.d.ts.map +1 -1
  106. package/dist/model/sourceUpdateDocker.d.ts +3 -3
  107. package/dist/model/sourceUpdateResponse.d.ts +5 -2
  108. package/dist/model/sourceUpdateResponse.d.ts.map +1 -1
  109. package/dist/model/streamingTrigger.d.ts +1 -1
  110. package/dist/model/streamingTriggerType.d.ts +1 -1
  111. package/dist/model/streamingUtilsInput.d.ts +1 -1
  112. package/dist/model/subscriptionTrigger.d.ts +1 -1
  113. package/dist/model/subscriptionTriggerType.d.ts +1 -1
  114. package/dist/model/task.d.ts +7 -7
  115. package/dist/model/taskCreate.d.ts +5 -5
  116. package/dist/model/taskCreateResponse.d.ts +3 -3
  117. package/dist/model/taskInput.d.ts +3 -0
  118. package/dist/model/taskInput.d.ts.map +1 -1
  119. package/dist/model/taskSortKeys.d.ts +1 -1
  120. package/dist/model/taskUpdate.d.ts +4 -4
  121. package/dist/model/taskUpdateResponse.d.ts +3 -3
  122. package/dist/model/trigger.d.ts +3 -0
  123. package/dist/model/trigger.d.ts.map +1 -1
  124. package/dist/model/triggerType.d.ts +1 -1
  125. package/dist/model/triggerUpdateInput.d.ts +2 -2
  126. package/dist/model/window.d.ts +3 -3
  127. package/dist/src/ingestionClient.d.ts +99 -99
  128. package/model/actionType.ts +1 -1
  129. package/model/authAPIKey.ts +4 -1
  130. package/model/authAPIKeyPartial.ts +4 -1
  131. package/model/authAlgolia.ts +5 -2
  132. package/model/authAlgoliaPartial.ts +5 -2
  133. package/model/authBasic.ts +7 -1
  134. package/model/authBasicPartial.ts +7 -1
  135. package/model/authGoogleServiceAccount.ts +3 -3
  136. package/model/authGoogleServiceAccountPartial.ts +3 -3
  137. package/model/authOAuth.ts +9 -4
  138. package/model/authOAuthPartial.ts +9 -4
  139. package/model/authentication.ts +5 -5
  140. package/model/authenticationCreate.ts +2 -2
  141. package/model/authenticationCreateResponse.ts +4 -4
  142. package/model/authenticationSearch.ts +1 -1
  143. package/model/authenticationSortKeys.ts +1 -1
  144. package/model/authenticationType.ts +1 -1
  145. package/model/authenticationUpdate.ts +2 -2
  146. package/model/authenticationUpdateResponse.ts +4 -4
  147. package/model/bigCommerceChannel.ts +2 -2
  148. package/model/bigCommerceMetafield.ts +2 -2
  149. package/model/clientMethodProps.ts +64 -64
  150. package/model/commercetoolsCustomFields.ts +1 -1
  151. package/model/deleteResponse.ts +1 -1
  152. package/model/destination.ts +6 -6
  153. package/model/destinationCreate.ts +3 -3
  154. package/model/destinationCreateResponse.ts +4 -4
  155. package/model/destinationIndexName.ts +2 -2
  156. package/model/destinationIndexPrefix.ts +1 -1
  157. package/model/destinationSearch.ts +1 -1
  158. package/model/destinationSortKeys.ts +1 -1
  159. package/model/destinationType.ts +2 -2
  160. package/model/destinationUpdate.ts +3 -3
  161. package/model/destinationUpdateResponse.ts +4 -4
  162. package/model/dockerImageType.ts +1 -1
  163. package/model/dockerRegistry.ts +1 -1
  164. package/model/dockerSourceDiscover.ts +2 -2
  165. package/model/event.ts +3 -3
  166. package/model/eventSortKeys.ts +1 -1
  167. package/model/index.ts +1 -0
  168. package/model/listTasksResponse.ts +1 -1
  169. package/model/mappingFormatSchema.ts +6 -0
  170. package/model/mappingInput.ts +3 -5
  171. package/model/methodType.ts +3 -0
  172. package/model/onDemandDateUtilsInput.ts +3 -3
  173. package/model/onDemandTrigger.ts +2 -2
  174. package/model/onDemandTriggerInput.ts +1 -1
  175. package/model/onDemandTriggerType.ts +1 -1
  176. package/model/orderKeys.ts +1 -1
  177. package/model/pagination.ts +15 -0
  178. package/model/platform.ts +2 -2
  179. package/model/platformNone.ts +1 -1
  180. package/model/recordType.ts +1 -1
  181. package/model/run.ts +7 -7
  182. package/model/runOutcome.ts +3 -0
  183. package/model/runReasonCode.ts +1 -1
  184. package/model/runResponse.ts +3 -3
  185. package/model/runSortKeys.ts +1 -1
  186. package/model/runStatus.ts +3 -0
  187. package/model/runType.ts +3 -0
  188. package/model/scheduleDateUtilsInput.ts +2 -2
  189. package/model/scheduleTrigger.ts +4 -4
  190. package/model/scheduleTriggerInput.ts +2 -2
  191. package/model/scheduleTriggerType.ts +1 -1
  192. package/model/source.ts +4 -4
  193. package/model/sourceBigCommerce.ts +1 -1
  194. package/model/sourceBigQuery.ts +5 -5
  195. package/model/sourceCSV.ts +3 -3
  196. package/model/sourceCommercetools.ts +2 -2
  197. package/model/sourceCreate.ts +4 -1
  198. package/model/sourceCreateResponse.ts +5 -2
  199. package/model/sourceDocker.ts +3 -3
  200. package/model/sourceGA4BigQueryExport.ts +3 -3
  201. package/model/sourceJSON.ts +2 -2
  202. package/model/sourceSortKeys.ts +1 -1
  203. package/model/sourceType.ts +3 -1
  204. package/model/sourceUpdate.ts +4 -1
  205. package/model/sourceUpdateCommercetools.ts +2 -5
  206. package/model/sourceUpdateDocker.ts +3 -3
  207. package/model/sourceUpdateResponse.ts +5 -2
  208. package/model/streamingTrigger.ts +1 -1
  209. package/model/streamingTriggerType.ts +1 -1
  210. package/model/streamingUtilsInput.ts +1 -1
  211. package/model/subscriptionTrigger.ts +1 -1
  212. package/model/subscriptionTriggerType.ts +1 -1
  213. package/model/task.ts +7 -7
  214. package/model/taskCreate.ts +5 -5
  215. package/model/taskCreateResponse.ts +3 -3
  216. package/model/taskInput.ts +3 -0
  217. package/model/taskSortKeys.ts +1 -1
  218. package/model/taskUpdate.ts +4 -4
  219. package/model/taskUpdateResponse.ts +3 -3
  220. package/model/trigger.ts +3 -0
  221. package/model/triggerType.ts +1 -1
  222. package/model/triggerUpdateInput.ts +2 -2
  223. package/model/window.ts +3 -3
  224. package/package.json +5 -5
@@ -7,4 +7,6 @@ export type SourceType =
7
7
  | 'csv'
8
8
  | 'docker'
9
9
  | 'ga4BigqueryExport'
10
- | 'json';
10
+ | 'json'
11
+ | 'sfcc'
12
+ | 'shopify';
@@ -3,12 +3,15 @@
3
3
  import type { SourceUpdateInput } from './sourceUpdateInput';
4
4
 
5
5
  export type SourceUpdate = {
6
+ /**
7
+ * Descriptive name of the source.
8
+ */
6
9
  name?: string;
7
10
 
8
11
  input?: SourceUpdateInput;
9
12
 
10
13
  /**
11
- * The authentication UUID.
14
+ * Universally unique identifier (UUID) of an authentication resource.
12
15
  */
13
16
  authenticationID?: string;
14
17
  };
@@ -3,20 +3,17 @@
3
3
  import type { CommercetoolsCustomFields } from './commercetoolsCustomFields';
4
4
 
5
5
  export type SourceUpdateCommercetools = {
6
- /**
7
- * Unique and immutable key of the referenced Store.
8
- */
9
6
  storeKeys?: string[];
10
7
 
11
8
  /**
12
- * Array of locales that must match the following pattern: ^[a-z]{2}(-[A-Z]{2})?$. For example [\"fr-FR\", \"en\"].
9
+ * Locales for your commercetools stores.
13
10
  */
14
11
  locales?: string[];
15
12
 
16
13
  url?: string;
17
14
 
18
15
  /**
19
- * Determines the value that will be stored in the Algolia record if there\'s no inventory information on the product.
16
+ * Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
20
17
  */
21
18
  fallbackIsInStockValue?: boolean;
22
19
 
@@ -6,17 +6,17 @@ export type SourceUpdateDocker = {
6
6
  registry?: DockerRegistry;
7
7
 
8
8
  /**
9
- * The name of the image to pull.
9
+ * Docker image name.
10
10
  */
11
11
  image?: string;
12
12
 
13
13
  /**
14
- * The version of the image, defaults to `latest`.
14
+ * Docker image version.
15
15
  */
16
16
  version?: string;
17
17
 
18
18
  /**
19
- * The configuration of the spec.
19
+ * Configuration of the spec.
20
20
  */
21
21
  configuration: Record<string, any>;
22
22
  };
@@ -2,14 +2,17 @@
2
2
 
3
3
  export type SourceUpdateResponse = {
4
4
  /**
5
- * The source UUID.
5
+ * Universally uniqud identifier (UUID) of a source.
6
6
  */
7
7
  sourceID: string;
8
8
 
9
+ /**
10
+ * Descriptive name of the source.
11
+ */
9
12
  name: string;
10
13
 
11
14
  /**
12
- * Date of last update (RFC3339 format).
15
+ * Date of last update in RFC3339 format.
13
16
  */
14
17
  updatedAt: string;
15
18
  };
@@ -3,7 +3,7 @@
3
3
  import type { StreamingTriggerType } from './streamingTriggerType';
4
4
 
5
5
  /**
6
- * The trigger input for a task of type \'streaming\'.
6
+ * Trigger input for continuously running tasks.
7
7
  */
8
8
  export type StreamingTrigger = {
9
9
  type: StreamingTriggerType;
@@ -1,6 +1,6 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  /**
4
- * A task that runs continuously.
4
+ * Task runs continuously.
5
5
  */
6
6
  export type StreamingTriggerType = 'streaming';
@@ -3,7 +3,7 @@
3
3
  import type { MappingInput } from './mappingInput';
4
4
 
5
5
  /**
6
- * The input for a `streaming` task whose source is of type `ga4BigqueryExport` and for which extracted data is continuously streamed.
6
+ * Input for a `streaming` task whose source is of type `ga4BigqueryExport` and for which extracted data is continuously streamed.
7
7
  */
8
8
  export type StreamingUtilsInput = {
9
9
  mapping: MappingInput;
@@ -3,7 +3,7 @@
3
3
  import type { SubscriptionTriggerType } from './subscriptionTriggerType';
4
4
 
5
5
  /**
6
- * The trigger input for a task of type \'subscription\'.
6
+ * Trigger input for subscription tasks.
7
7
  */
8
8
  export type SubscriptionTrigger = {
9
9
  type: SubscriptionTriggerType;
@@ -1,6 +1,6 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  /**
4
- * A task which is triggered by an external subscription (e.g. Webhook).
4
+ * Task runs after receiving subscribed event.
5
5
  */
6
6
  export type SubscriptionTriggerType = 'subscription';
package/model/task.ts CHANGED
@@ -6,17 +6,17 @@ import type { Trigger } from './trigger';
6
6
 
7
7
  export type Task = {
8
8
  /**
9
- * The task UUID.
9
+ * Universally unique identifier (UUID) of a task.
10
10
  */
11
11
  taskID: string;
12
12
 
13
13
  /**
14
- * The source UUID.
14
+ * Universally uniqud identifier (UUID) of a source.
15
15
  */
16
16
  sourceID: string;
17
17
 
18
18
  /**
19
- * The destination UUID.
19
+ * Universally unique identifier (UUID) of a destination resource.
20
20
  */
21
21
  destinationID: string;
22
22
 
@@ -25,24 +25,24 @@ export type Task = {
25
25
  input?: TaskInput;
26
26
 
27
27
  /**
28
- * Whether the task is enabled or not.
28
+ * Whether the task is enabled.
29
29
  */
30
30
  enabled: boolean;
31
31
 
32
32
  /**
33
- * A percentage representing the accepted failure threshold to determine if a `run` succeeded or not.
33
+ * Maximum accepted percentage of failures for a task run to finish successfully.
34
34
  */
35
35
  failureThreshold?: number;
36
36
 
37
37
  action: ActionType;
38
38
 
39
39
  /**
40
- * Date of creation (RFC3339 format).
40
+ * Date of creation in RFC3339 format.
41
41
  */
42
42
  createdAt: string;
43
43
 
44
44
  /**
45
- * Date of last update (RFC3339 format).
45
+ * Date of last update in RFC3339 format.
46
46
  */
47
47
  updatedAt?: string;
48
48
  };
@@ -5,16 +5,16 @@ import type { TaskCreateTrigger } from './taskCreateTrigger';
5
5
  import type { TaskInput } from './taskInput';
6
6
 
7
7
  /**
8
- * The payload for a task creation.
8
+ * API request body for creating a task.
9
9
  */
10
10
  export type TaskCreate = {
11
11
  /**
12
- * The source UUID.
12
+ * Universally uniqud identifier (UUID) of a source.
13
13
  */
14
14
  sourceID: string;
15
15
 
16
16
  /**
17
- * The destination UUID.
17
+ * Universally unique identifier (UUID) of a destination resource.
18
18
  */
19
19
  destinationID: string;
20
20
 
@@ -23,12 +23,12 @@ export type TaskCreate = {
23
23
  action: ActionType;
24
24
 
25
25
  /**
26
- * Whether the task is enabled or not.
26
+ * Whether the task is enabled.
27
27
  */
28
28
  enabled?: boolean;
29
29
 
30
30
  /**
31
- * A percentage representing the accepted failure threshold to determine if a `run` succeeded or not.
31
+ * Maximum accepted percentage of failures for a task run to finish successfully.
32
32
  */
33
33
  failureThreshold?: number;
34
34
 
@@ -1,16 +1,16 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  /**
4
- * The response from the API after a task creation.
4
+ * API response for creating a task.
5
5
  */
6
6
  export type TaskCreateResponse = {
7
7
  /**
8
- * The task UUID.
8
+ * Universally unique identifier (UUID) of a task.
9
9
  */
10
10
  taskID: string;
11
11
 
12
12
  /**
13
- * Date of creation (RFC3339 format).
13
+ * Date of creation in RFC3339 format.
14
14
  */
15
15
  createdAt: string;
16
16
  };
@@ -4,6 +4,9 @@ import type { OnDemandDateUtilsInput } from './onDemandDateUtilsInput';
4
4
  import type { ScheduleDateUtilsInput } from './scheduleDateUtilsInput';
5
5
  import type { StreamingUtilsInput } from './streamingUtilsInput';
6
6
 
7
+ /**
8
+ * Configuration of the task, depending on its type.
9
+ */
7
10
  export type TaskInput =
8
11
  | OnDemandDateUtilsInput
9
12
  | ScheduleDateUtilsInput
@@ -1,7 +1,7 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  /**
4
- * Used to sort the Task list endpoint.
4
+ * Property by which to sort the list of tasks.
5
5
  */
6
6
  export type TaskSortKeys =
7
7
  | 'action'
@@ -4,11 +4,11 @@ import type { TaskInput } from './taskInput';
4
4
  import type { TriggerUpdateInput } from './triggerUpdateInput';
5
5
 
6
6
  /**
7
- * The payload for a task update.
7
+ * API request body for updating a task.
8
8
  */
9
9
  export type TaskUpdate = {
10
10
  /**
11
- * The destination UUID.
11
+ * Universally unique identifier (UUID) of a destination resource.
12
12
  */
13
13
  destinationID?: string;
14
14
 
@@ -17,12 +17,12 @@ export type TaskUpdate = {
17
17
  input?: TaskInput;
18
18
 
19
19
  /**
20
- * Whether the task is enabled or not.
20
+ * Whether the task is enabled.
21
21
  */
22
22
  enabled?: boolean;
23
23
 
24
24
  /**
25
- * A percentage representing the accepted failure threshold to determine if a `run` succeeded or not.
25
+ * Maximum accepted percentage of failures for a task run to finish successfully.
26
26
  */
27
27
  failureThreshold?: number;
28
28
  };
@@ -1,16 +1,16 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  /**
4
- * The response from the API after a task update.
4
+ * API response for updating a task.
5
5
  */
6
6
  export type TaskUpdateResponse = {
7
7
  /**
8
- * The task UUID.
8
+ * Universally unique identifier (UUID) of a task.
9
9
  */
10
10
  taskID: string;
11
11
 
12
12
  /**
13
- * Date of last update (RFC3339 format).
13
+ * Date of last update in RFC3339 format.
14
14
  */
15
15
  updatedAt: string;
16
16
  };
package/model/trigger.ts CHANGED
@@ -5,6 +5,9 @@ import type { ScheduleTrigger } from './scheduleTrigger';
5
5
  import type { StreamingTrigger } from './streamingTrigger';
6
6
  import type { SubscriptionTrigger } from './subscriptionTrigger';
7
7
 
8
+ /**
9
+ * Trigger that runs the task.
10
+ */
8
11
  export type Trigger =
9
12
  | OnDemandTrigger
10
13
  | ScheduleTrigger
@@ -1,7 +1,7 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  /**
4
- * The type of the task reflect how it can be used: - onDemand: a task that runs manually - schedule: a task that runs regularly, following a given cron expression - subscription: a task that runs after a subscription event is received from an integration (e.g. Webhook). - streaming: a task that runs continuously.
4
+ * Task trigger, describing when a task should run. <dl> <dt><code>onDemand</code></dt> <dd> Manually trigger the task with the `/run` endpoint. </dd> <dt><code>schedule</code></dt> <dd> Regularly trigger the task on a `cron` schedule. </dd> <dt><code>subscription</code></dt> <dd> Trigger the task after an event is received, such as, a webhook. </dd> <dt><code>streaming</code></dt> <dd> Run the task continuously. </dd> </dl>.
5
5
  */
6
6
  export type TriggerType =
7
7
  | 'onDemand'
@@ -1,11 +1,11 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  /**
4
- * The trigger input for a task update.
4
+ * Trigger for a task update.
5
5
  */
6
6
  export type TriggerUpdateInput = {
7
7
  /**
8
- * A cron expression that represent at which regularity the task should run.
8
+ * Cron expression for the task\'s schedule.
9
9
  */
10
10
  cron: string;
11
11
  };
package/model/window.ts CHANGED
@@ -1,16 +1,16 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  /**
4
- * The window parameter represents the holds the dates used to query the Observability data from the database in a given window.
4
+ * Time window by which to filter the observability data.
5
5
  */
6
6
  export type Window = {
7
7
  /**
8
- * A date in format RFC3339 representing the oldest possible data in query window.
8
+ * Date in RFC3339 format representing the oldest data in the time window.
9
9
  */
10
10
  startDate: string;
11
11
 
12
12
  /**
13
- * A date in format RFC3339 representing the newest possible data in query window.
13
+ * Date in RFC3339 format representing the newest data in the time window.
14
14
  */
15
15
  endDate: string;
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/ingestion",
3
- "version": "1.0.0-alpha.83",
3
+ "version": "1.0.0-alpha.84",
4
4
  "description": "JavaScript client for ingestion",
5
5
  "repository": "algolia/algoliasearch-client-javascript",
6
6
  "license": "MIT",
@@ -39,13 +39,13 @@
39
39
  "clean": "rm -rf ./dist || true"
40
40
  },
41
41
  "dependencies": {
42
- "@algolia/client-common": "5.0.0-alpha.110",
43
- "@algolia/requester-browser-xhr": "5.0.0-alpha.110",
44
- "@algolia/requester-node-http": "5.0.0-alpha.110"
42
+ "@algolia/client-common": "5.0.0-alpha.111",
43
+ "@algolia/requester-browser-xhr": "5.0.0-alpha.111",
44
+ "@algolia/requester-node-http": "5.0.0-alpha.111"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/node": "20.11.30",
48
- "rollup": "4.13.0",
48
+ "rollup": "4.13.2",
49
49
  "typescript": "5.4.3"
50
50
  },
51
51
  "engines": {