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

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 (237) 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/authAlgoliaInsights.d.ts +14 -0
  13. package/dist/model/authAlgoliaInsights.d.ts.map +1 -0
  14. package/dist/model/authAlgoliaInsightsPartial.d.ts +14 -0
  15. package/dist/model/authAlgoliaInsightsPartial.d.ts.map +1 -0
  16. package/dist/model/authAlgoliaPartial.d.ts +5 -2
  17. package/dist/model/authAlgoliaPartial.d.ts.map +1 -1
  18. package/dist/model/authBasic.d.ts +7 -1
  19. package/dist/model/authBasic.d.ts.map +1 -1
  20. package/dist/model/authBasicPartial.d.ts +7 -1
  21. package/dist/model/authBasicPartial.d.ts.map +1 -1
  22. package/dist/model/authGoogleServiceAccount.d.ts +3 -3
  23. package/dist/model/authGoogleServiceAccountPartial.d.ts +3 -3
  24. package/dist/model/authInput.d.ts +2 -1
  25. package/dist/model/authInput.d.ts.map +1 -1
  26. package/dist/model/authInputPartial.d.ts +2 -1
  27. package/dist/model/authInputPartial.d.ts.map +1 -1
  28. package/dist/model/authOAuth.d.ts +8 -4
  29. package/dist/model/authOAuth.d.ts.map +1 -1
  30. package/dist/model/authOAuthPartial.d.ts +8 -4
  31. package/dist/model/authOAuthPartial.d.ts.map +1 -1
  32. package/dist/model/authentication.d.ts +5 -5
  33. package/dist/model/authenticationCreate.d.ts +2 -2
  34. package/dist/model/authenticationCreateResponse.d.ts +4 -4
  35. package/dist/model/authenticationSearch.d.ts +1 -1
  36. package/dist/model/authenticationSortKeys.d.ts +1 -1
  37. package/dist/model/authenticationType.d.ts +2 -2
  38. package/dist/model/authenticationType.d.ts.map +1 -1
  39. package/dist/model/authenticationUpdate.d.ts +2 -2
  40. package/dist/model/authenticationUpdateResponse.d.ts +4 -4
  41. package/dist/model/bigCommerceChannel.d.ts +2 -2
  42. package/dist/model/bigCommerceMetafield.d.ts +2 -2
  43. package/dist/model/clientMethodProps.d.ts +64 -64
  44. package/dist/model/commercetoolsCustomFields.d.ts +1 -1
  45. package/dist/model/deleteResponse.d.ts +1 -1
  46. package/dist/model/destination.d.ts +6 -6
  47. package/dist/model/destinationCreate.d.ts +3 -3
  48. package/dist/model/destinationCreateResponse.d.ts +4 -4
  49. package/dist/model/destinationIndexName.d.ts +2 -2
  50. package/dist/model/destinationIndexPrefix.d.ts +1 -1
  51. package/dist/model/destinationSearch.d.ts +1 -1
  52. package/dist/model/destinationSortKeys.d.ts +1 -1
  53. package/dist/model/destinationType.d.ts +2 -2
  54. package/dist/model/destinationType.d.ts.map +1 -1
  55. package/dist/model/destinationUpdate.d.ts +3 -3
  56. package/dist/model/destinationUpdateResponse.d.ts +4 -4
  57. package/dist/model/dockerImageType.d.ts +1 -1
  58. package/dist/model/dockerRegistry.d.ts +1 -1
  59. package/dist/model/dockerSourceDiscover.d.ts +2 -2
  60. package/dist/model/event.d.ts +3 -3
  61. package/dist/model/eventSortKeys.d.ts +1 -1
  62. package/dist/model/index.d.ts +3 -0
  63. package/dist/model/index.d.ts.map +1 -1
  64. package/dist/model/listTasksResponse.d.ts +1 -1
  65. package/dist/model/mappingFormatSchema.d.ts +5 -0
  66. package/dist/model/mappingFormatSchema.d.ts.map +1 -0
  67. package/dist/model/mappingInput.d.ts +3 -5
  68. package/dist/model/mappingInput.d.ts.map +1 -1
  69. package/dist/model/methodType.d.ts +3 -0
  70. package/dist/model/methodType.d.ts.map +1 -1
  71. package/dist/model/onDemandDateUtilsInput.d.ts +3 -3
  72. package/dist/model/onDemandTrigger.d.ts +2 -2
  73. package/dist/model/onDemandTriggerInput.d.ts +1 -1
  74. package/dist/model/onDemandTriggerType.d.ts +1 -1
  75. package/dist/model/orderKeys.d.ts +1 -1
  76. package/dist/model/pagination.d.ts +15 -0
  77. package/dist/model/pagination.d.ts.map +1 -1
  78. package/dist/model/platform.d.ts +2 -2
  79. package/dist/model/platform.d.ts.map +1 -1
  80. package/dist/model/platformNone.d.ts +1 -1
  81. package/dist/model/recordType.d.ts +1 -1
  82. package/dist/model/run.d.ts +7 -7
  83. package/dist/model/runOutcome.d.ts +3 -0
  84. package/dist/model/runOutcome.d.ts.map +1 -1
  85. package/dist/model/runReasonCode.d.ts +1 -1
  86. package/dist/model/runResponse.d.ts +3 -3
  87. package/dist/model/runSortKeys.d.ts +1 -1
  88. package/dist/model/runStatus.d.ts +3 -0
  89. package/dist/model/runStatus.d.ts.map +1 -1
  90. package/dist/model/runType.d.ts +3 -0
  91. package/dist/model/runType.d.ts.map +1 -1
  92. package/dist/model/scheduleDateUtilsInput.d.ts +2 -2
  93. package/dist/model/scheduleTrigger.d.ts +4 -4
  94. package/dist/model/scheduleTriggerInput.d.ts +2 -2
  95. package/dist/model/scheduleTriggerType.d.ts +1 -1
  96. package/dist/model/source.d.ts +4 -4
  97. package/dist/model/sourceBigCommerce.d.ts +1 -1
  98. package/dist/model/sourceBigQuery.d.ts +5 -5
  99. package/dist/model/sourceCSV.d.ts +3 -3
  100. package/dist/model/sourceCommercetools.d.ts +2 -2
  101. package/dist/model/sourceCreate.d.ts +4 -1
  102. package/dist/model/sourceCreate.d.ts.map +1 -1
  103. package/dist/model/sourceCreateResponse.d.ts +5 -2
  104. package/dist/model/sourceCreateResponse.d.ts.map +1 -1
  105. package/dist/model/sourceDocker.d.ts +3 -3
  106. package/dist/model/sourceGA4BigQueryExport.d.ts +3 -3
  107. package/dist/model/sourceJSON.d.ts +2 -2
  108. package/dist/model/sourceSortKeys.d.ts +1 -1
  109. package/dist/model/sourceType.d.ts +1 -1
  110. package/dist/model/sourceType.d.ts.map +1 -1
  111. package/dist/model/sourceUpdate.d.ts +4 -1
  112. package/dist/model/sourceUpdate.d.ts.map +1 -1
  113. package/dist/model/sourceUpdateCommercetools.d.ts +2 -5
  114. package/dist/model/sourceUpdateCommercetools.d.ts.map +1 -1
  115. package/dist/model/sourceUpdateDocker.d.ts +3 -3
  116. package/dist/model/sourceUpdateResponse.d.ts +5 -2
  117. package/dist/model/sourceUpdateResponse.d.ts.map +1 -1
  118. package/dist/model/streamingTrigger.d.ts +1 -1
  119. package/dist/model/streamingTriggerType.d.ts +1 -1
  120. package/dist/model/streamingUtilsInput.d.ts +1 -1
  121. package/dist/model/subscriptionTrigger.d.ts +1 -1
  122. package/dist/model/subscriptionTriggerType.d.ts +1 -1
  123. package/dist/model/task.d.ts +7 -7
  124. package/dist/model/taskCreate.d.ts +5 -5
  125. package/dist/model/taskCreateResponse.d.ts +3 -3
  126. package/dist/model/taskInput.d.ts +3 -0
  127. package/dist/model/taskInput.d.ts.map +1 -1
  128. package/dist/model/taskSortKeys.d.ts +1 -1
  129. package/dist/model/taskUpdate.d.ts +4 -4
  130. package/dist/model/taskUpdateResponse.d.ts +3 -3
  131. package/dist/model/trigger.d.ts +3 -0
  132. package/dist/model/trigger.d.ts.map +1 -1
  133. package/dist/model/triggerType.d.ts +1 -1
  134. package/dist/model/triggerUpdateInput.d.ts +2 -2
  135. package/dist/model/window.d.ts +3 -3
  136. package/dist/src/ingestionClient.d.ts +99 -99
  137. package/model/actionType.ts +1 -1
  138. package/model/authAPIKey.ts +4 -1
  139. package/model/authAPIKeyPartial.ts +4 -1
  140. package/model/authAlgolia.ts +5 -2
  141. package/model/authAlgoliaInsights.ts +16 -0
  142. package/model/authAlgoliaInsightsPartial.ts +16 -0
  143. package/model/authAlgoliaPartial.ts +5 -2
  144. package/model/authBasic.ts +7 -1
  145. package/model/authBasicPartial.ts +7 -1
  146. package/model/authGoogleServiceAccount.ts +3 -3
  147. package/model/authGoogleServiceAccountPartial.ts +3 -3
  148. package/model/authInput.ts +2 -0
  149. package/model/authInputPartial.ts +2 -0
  150. package/model/authOAuth.ts +9 -4
  151. package/model/authOAuthPartial.ts +9 -4
  152. package/model/authentication.ts +5 -5
  153. package/model/authenticationCreate.ts +2 -2
  154. package/model/authenticationCreateResponse.ts +4 -4
  155. package/model/authenticationSearch.ts +1 -1
  156. package/model/authenticationSortKeys.ts +1 -1
  157. package/model/authenticationType.ts +2 -1
  158. package/model/authenticationUpdate.ts +2 -2
  159. package/model/authenticationUpdateResponse.ts +4 -4
  160. package/model/bigCommerceChannel.ts +2 -2
  161. package/model/bigCommerceMetafield.ts +2 -2
  162. package/model/clientMethodProps.ts +64 -64
  163. package/model/commercetoolsCustomFields.ts +1 -1
  164. package/model/deleteResponse.ts +1 -1
  165. package/model/destination.ts +6 -6
  166. package/model/destinationCreate.ts +3 -3
  167. package/model/destinationCreateResponse.ts +4 -4
  168. package/model/destinationIndexName.ts +2 -2
  169. package/model/destinationIndexPrefix.ts +1 -1
  170. package/model/destinationSearch.ts +1 -1
  171. package/model/destinationSortKeys.ts +1 -1
  172. package/model/destinationType.ts +2 -2
  173. package/model/destinationUpdate.ts +3 -3
  174. package/model/destinationUpdateResponse.ts +4 -4
  175. package/model/dockerImageType.ts +1 -1
  176. package/model/dockerRegistry.ts +1 -1
  177. package/model/dockerSourceDiscover.ts +2 -2
  178. package/model/event.ts +3 -3
  179. package/model/eventSortKeys.ts +1 -1
  180. package/model/index.ts +3 -0
  181. package/model/listTasksResponse.ts +1 -1
  182. package/model/mappingFormatSchema.ts +6 -0
  183. package/model/mappingInput.ts +3 -5
  184. package/model/methodType.ts +3 -0
  185. package/model/onDemandDateUtilsInput.ts +3 -3
  186. package/model/onDemandTrigger.ts +2 -2
  187. package/model/onDemandTriggerInput.ts +1 -1
  188. package/model/onDemandTriggerType.ts +1 -1
  189. package/model/orderKeys.ts +1 -1
  190. package/model/pagination.ts +15 -0
  191. package/model/platform.ts +2 -2
  192. package/model/platformNone.ts +1 -1
  193. package/model/recordType.ts +1 -1
  194. package/model/run.ts +7 -7
  195. package/model/runOutcome.ts +3 -0
  196. package/model/runReasonCode.ts +1 -1
  197. package/model/runResponse.ts +3 -3
  198. package/model/runSortKeys.ts +1 -1
  199. package/model/runStatus.ts +3 -0
  200. package/model/runType.ts +3 -0
  201. package/model/scheduleDateUtilsInput.ts +2 -2
  202. package/model/scheduleTrigger.ts +4 -4
  203. package/model/scheduleTriggerInput.ts +2 -2
  204. package/model/scheduleTriggerType.ts +1 -1
  205. package/model/source.ts +4 -4
  206. package/model/sourceBigCommerce.ts +1 -1
  207. package/model/sourceBigQuery.ts +5 -5
  208. package/model/sourceCSV.ts +3 -3
  209. package/model/sourceCommercetools.ts +2 -2
  210. package/model/sourceCreate.ts +4 -1
  211. package/model/sourceCreateResponse.ts +5 -2
  212. package/model/sourceDocker.ts +3 -3
  213. package/model/sourceGA4BigQueryExport.ts +3 -3
  214. package/model/sourceJSON.ts +2 -2
  215. package/model/sourceSortKeys.ts +1 -1
  216. package/model/sourceType.ts +3 -1
  217. package/model/sourceUpdate.ts +4 -1
  218. package/model/sourceUpdateCommercetools.ts +2 -5
  219. package/model/sourceUpdateDocker.ts +3 -3
  220. package/model/sourceUpdateResponse.ts +5 -2
  221. package/model/streamingTrigger.ts +1 -1
  222. package/model/streamingTriggerType.ts +1 -1
  223. package/model/streamingUtilsInput.ts +1 -1
  224. package/model/subscriptionTrigger.ts +1 -1
  225. package/model/subscriptionTriggerType.ts +1 -1
  226. package/model/task.ts +7 -7
  227. package/model/taskCreate.ts +5 -5
  228. package/model/taskCreateResponse.ts +3 -3
  229. package/model/taskInput.ts +3 -0
  230. package/model/taskSortKeys.ts +1 -1
  231. package/model/taskUpdate.ts +4 -4
  232. package/model/taskUpdateResponse.ts +3 -3
  233. package/model/trigger.ts +3 -0
  234. package/model/triggerType.ts +1 -1
  235. package/model/triggerUpdateInput.ts +2 -2
  236. package/model/window.ts +3 -3
  237. package/package.json +7 -7
@@ -2,12 +2,12 @@
2
2
 
3
3
  export type DockerSourceDiscover = {
4
4
  /**
5
- * The run UUID.
5
+ * Universally unique identifier (UUID) of a task run.
6
6
  */
7
7
  runID: string;
8
8
 
9
9
  /**
10
- * Date of creation (RFC3339 format).
10
+ * Date of creation in RFC3339 format.
11
11
  */
12
12
  createdAt: string;
13
13
  };
package/model/event.ts CHANGED
@@ -8,12 +8,12 @@ import type { EventType } from './eventType';
8
8
  */
9
9
  export type Event = {
10
10
  /**
11
- * The event UUID.
11
+ * Universally unique identifier (UUID) of an event.
12
12
  */
13
13
  eventID: string;
14
14
 
15
15
  /**
16
- * The run UUID.
16
+ * Universally unique identifier (UUID) of a task run.
17
17
  */
18
18
  runID: string;
19
19
 
@@ -34,7 +34,7 @@ export type Event = {
34
34
  data?: Record<string, any>;
35
35
 
36
36
  /**
37
- * Date of publish (RFC3339 format).
37
+ * Date of publish RFC3339 format.
38
38
  */
39
39
  publishedAt: string;
40
40
  };
@@ -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
- * Used to sort the Event list endpoint.
4
+ * Property by which to sort the list of task run events.
5
5
  */
6
6
  export type EventSortKeys = 'publishedAt' | 'status' | 'type';
package/model/index.ts CHANGED
@@ -4,6 +4,8 @@ export * from './actionType';
4
4
  export * from './authAPIKey';
5
5
  export * from './authAPIKeyPartial';
6
6
  export * from './authAlgolia';
7
+ export * from './authAlgoliaInsights';
8
+ export * from './authAlgoliaInsightsPartial';
7
9
  export * from './authAlgoliaPartial';
8
10
  export * from './authBasic';
9
11
  export * from './authBasicPartial';
@@ -52,6 +54,7 @@ export * from './listEventsResponse';
52
54
  export * from './listSourcesResponse';
53
55
  export * from './listTasksResponse';
54
56
  export * from './mappingFieldDirective';
57
+ export * from './mappingFormatSchema';
55
58
  export * from './mappingInput';
56
59
  export * from './mappingKitAction';
57
60
  export * from './mappingTypeCSV';
@@ -4,7 +4,7 @@ import type { Pagination } from './pagination';
4
4
  import type { Task } from './task';
5
5
 
6
6
  /**
7
- * A list of tasks with pagination details.
7
+ * Configured tasks and pagination information.
8
8
  */
9
9
  export type ListTasksResponse = {
10
10
  tasks: Task[];
@@ -0,0 +1,6 @@
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
+
3
+ /**
4
+ * Mapping format schema.
5
+ */
6
+ export type MappingFormatSchema = 'mappingkit/v1';
@@ -1,15 +1,13 @@
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
+ import type { MappingFormatSchema } from './mappingFormatSchema';
3
4
  import type { MappingKitAction } from './mappingKitAction';
4
5
 
5
6
  /**
6
- * Transformations to apply to source, serialized as a JSON string.
7
+ * Transformations to apply to the source, serialized as a JSON string.
7
8
  */
8
9
  export type MappingInput = {
9
- /**
10
- * Name of the mapping format schema, `mappingkit/v1` is currently the only supported format.
11
- */
12
- format: string;
10
+ format: MappingFormatSchema;
13
11
 
14
12
  actions: MappingKitAction[];
15
13
  };
@@ -1,3 +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
+ /**
4
+ * HTTP method to be used for retrieving your data.
5
+ */
3
6
  export type MethodType = 'GET' | 'POST';
@@ -3,16 +3,16 @@
3
3
  import type { MappingInput } from './mappingInput';
4
4
 
5
5
  /**
6
- * The input for an `onDemand` task whose source is of type `bigquery` and for which extracted data spans a given time range.
6
+ * Input for a manually-triggered task whose source is of type `bigquery` and for which extracted data spans a given time range.
7
7
  */
8
8
  export type OnDemandDateUtilsInput = {
9
9
  /**
10
- * The start date of the extraction (RFC3339 format).
10
+ * Earliest date in RFC3339 format of the extracted data from Big Query.
11
11
  */
12
12
  startDate: string;
13
13
 
14
14
  /**
15
- * The end date of the extraction (RFC3339 format).
15
+ * Latest date in RFC3339 format of the extracted data from Big Query.
16
16
  */
17
17
  endDate: string;
18
18
 
@@ -3,13 +3,13 @@
3
3
  import type { OnDemandTriggerType } from './onDemandTriggerType';
4
4
 
5
5
  /**
6
- * The trigger information of a task of type `onDemand`.
6
+ * Trigger information for manually-triggered tasks.
7
7
  */
8
8
  export type OnDemandTrigger = {
9
9
  type: OnDemandTriggerType;
10
10
 
11
11
  /**
12
- * The last time the scheduled task ran (RFC3339 format).
12
+ * The last time the scheduled task ran in RFC3339 format.
13
13
  */
14
14
  lastRun?: string;
15
15
  };
@@ -3,7 +3,7 @@
3
3
  import type { OnDemandTriggerType } from './onDemandTriggerType';
4
4
 
5
5
  /**
6
- * The trigger information of a task of type `onDemand`.
6
+ * Trigger information for manually-triggered tasks.
7
7
  */
8
8
  export type OnDemandTriggerInput = {
9
9
  type: OnDemandTriggerType;
@@ -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 manually executed via the run task endpoint.
4
+ * Task is run manually, with the `/run` endpoint.
5
5
  */
6
6
  export type OnDemandTriggerType = 'onDemand';
@@ -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
- * Used to order a sorted request.
4
+ * Ascending or descending sort order.
5
5
  */
6
6
  export type OrderKeys = 'asc' | 'desc';
@@ -1,11 +1,26 @@
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
+ /**
4
+ * Paginated API response.
5
+ */
3
6
  export type Pagination = {
7
+ /**
8
+ * Number of pages in the API response.
9
+ */
4
10
  nbPages: number;
5
11
 
12
+ /**
13
+ * Page of the API response to retrieve.
14
+ */
6
15
  page: number;
7
16
 
17
+ /**
18
+ * Number of items in the API response.
19
+ */
8
20
  nbItems: number;
9
21
 
22
+ /**
23
+ * Number of items per page.
24
+ */
10
25
  itemsPerPage: number;
11
26
  };
package/model/platform.ts CHANGED
@@ -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
- * Describe which platform the Authentication is used for.
4
+ * Name of an ecommerce platform with which to authenticate. This determines which authentication type you can select.
5
5
  */
6
- export type Platform = 'bigcommerce' | 'commercetools';
6
+ export type Platform = 'bigcommerce' | 'commercetools' | 'shopify';
@@ -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
- * Used to filter Authentication without platform property.
4
+ * Authentication resource not tied to any ecommerce platform, used for filtering.
5
5
  */
6
6
  export type PlatformNone = 'none';
@@ -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
- * Determines the indexing strategy to use for a given e-commerce source.
4
+ * Record type for ecommerce sources.
5
5
  */
6
6
  export type RecordType = 'product' | 'variant';
package/model/run.ts CHANGED
@@ -8,14 +8,14 @@ import type { RunType } from './runType';
8
8
 
9
9
  export type Run = {
10
10
  /**
11
- * The run UUID.
11
+ * Universally unique identifier (UUID) of a task run.
12
12
  */
13
13
  runID: string;
14
14
 
15
15
  appID: string;
16
16
 
17
17
  /**
18
- * The task UUID.
18
+ * Universally unique identifier (UUID) of a task.
19
19
  */
20
20
  taskID: string;
21
21
 
@@ -26,12 +26,12 @@ export type Run = {
26
26
  outcome?: RunOutcome;
27
27
 
28
28
  /**
29
- * A percentage representing the accepted failure threshold to determine if a `run` succeeded or not.
29
+ * Maximum accepted percentage of failures for a task run to finish successfully.
30
30
  */
31
31
  failureThreshold?: number;
32
32
 
33
33
  /**
34
- * Explains the result of outcome.
34
+ * More information about the task run\'s outcome.
35
35
  */
36
36
  reason?: string;
37
37
 
@@ -40,17 +40,17 @@ export type Run = {
40
40
  type: RunType;
41
41
 
42
42
  /**
43
- * Date of creation (RFC3339 format).
43
+ * Date of creation in RFC3339 format.
44
44
  */
45
45
  createdAt: string;
46
46
 
47
47
  /**
48
- * Date of start (RFC3339 format).
48
+ * Date of start in RFC3339 format.
49
49
  */
50
50
  startedAt?: string;
51
51
 
52
52
  /**
53
- * Date of finish (RFC3339 format).
53
+ * Date of finish in RFC3339 format.
54
54
  */
55
55
  finishedAt?: string;
56
56
  };
@@ -1,3 +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
+ /**
4
+ * Task run outcome.
5
+ */
3
6
  export type RunOutcome = 'failure' | 'processing' | 'success';
@@ -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
- * An identifier that pairs with the outcome reason.
4
+ * A code for the task run\'s outcome. A readable description of the code is included in the `reason` response property.
5
5
  */
6
6
  export type RunReasonCode =
7
7
  | 'blocking'
@@ -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 run task API, containing an Observability Run ID and the time it was created at.
4
+ * API response for running a task.
5
5
  */
6
6
  export type RunResponse = {
7
7
  /**
8
- * The run UUID.
8
+ * Universally unique identifier (UUID) of a task run.
9
9
  */
10
10
  runID: 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
  };
@@ -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
- * Used to sort the Run list endpoint.
4
+ * Property by which to sort the list of task runs.
5
5
  */
6
6
  export type RunSortKeys = 'createdAt' | 'status' | 'updatedAt';
@@ -1,5 +1,8 @@
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
+ /**
4
+ * Task run status.
5
+ */
3
6
  export type RunStatus =
4
7
  | 'created'
5
8
  | 'finished'
package/model/runType.ts CHANGED
@@ -1,3 +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
+ /**
4
+ * Task run type.
5
+ */
3
6
  export type RunType = 'discover' | 'reindex' | 'update';
@@ -3,11 +3,11 @@
3
3
  import type { MappingInput } from './mappingInput';
4
4
 
5
5
  /**
6
- * The input for a `schedule` task whose source is of type `bigquery` and for which extracted data spans a fixed number of days.
6
+ * Input for scheduled tasks whose source is of type `bigquery` and for which extracted data spans a fixed number of days.
7
7
  */
8
8
  export type ScheduleDateUtilsInput = {
9
9
  /**
10
- * The timeframe of the extraction, in number of days from today.
10
+ * Number of days in the past until the current day for which to extract Big Query data.
11
11
  */
12
12
  timeframe: number;
13
13
 
@@ -3,23 +3,23 @@
3
3
  import type { ScheduleTriggerType } from './scheduleTriggerType';
4
4
 
5
5
  /**
6
- * The trigger information for a task of type \'schedule\'.
6
+ * Trigger information for scheduled tasks.
7
7
  */
8
8
  export type ScheduleTrigger = {
9
9
  type: ScheduleTriggerType;
10
10
 
11
11
  /**
12
- * A cron expression that represent at which regularity the task should run.
12
+ * Cron expression for the task\'s schedule.
13
13
  */
14
14
  cron: string;
15
15
 
16
16
  /**
17
- * The last time the scheduled task ran (RFC3339 format).
17
+ * The last time the scheduled task ran in RFC3339 format.
18
18
  */
19
19
  lastRun?: string;
20
20
 
21
21
  /**
22
- * The next scheduled run of the task (RFC3339 format).
22
+ * The next scheduled run of the task in RFC3339 format.
23
23
  */
24
24
  nextRun: string;
25
25
  };
@@ -3,13 +3,13 @@
3
3
  import type { ScheduleTriggerType } from './scheduleTriggerType';
4
4
 
5
5
  /**
6
- * The trigger input for a task of type \'schedule\'.
6
+ * Trigger input for scheduled tasks.
7
7
  */
8
8
  export type ScheduleTriggerInput = {
9
9
  type: ScheduleTriggerType;
10
10
 
11
11
  /**
12
- * A cron expression that represent at which regularity the task should run.
12
+ * Cron expression for the task\'s schedule.
13
13
  */
14
14
  cron: string;
15
15
  };
@@ -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 a schedule (cron expression).
4
+ * Task runs on a schedule.
5
5
  */
6
6
  export type ScheduleTriggerType = 'schedule';
package/model/source.ts CHANGED
@@ -5,7 +5,7 @@ import type { SourceType } from './sourceType';
5
5
 
6
6
  export type Source = {
7
7
  /**
8
- * The source UUID.
8
+ * Universally uniqud identifier (UUID) of a source.
9
9
  */
10
10
  sourceID: string;
11
11
 
@@ -16,17 +16,17 @@ export type Source = {
16
16
  input: SourceInput;
17
17
 
18
18
  /**
19
- * The authentication UUID.
19
+ * Universally unique identifier (UUID) of an authentication resource.
20
20
  */
21
21
  authenticationID?: string;
22
22
 
23
23
  /**
24
- * Date of creation (RFC3339 format).
24
+ * Date of creation in RFC3339 format.
25
25
  */
26
26
  createdAt: string;
27
27
 
28
28
  /**
29
- * Date of last update (RFC3339 format).
29
+ * Date of last update in RFC3339 format.
30
30
  */
31
31
  updatedAt?: string;
32
32
  };
@@ -5,7 +5,7 @@ import type { BigCommerceMetafield } from './bigCommerceMetafield';
5
5
 
6
6
  export type SourceBigCommerce = {
7
7
  /**
8
- * The store hash identifying the store the shopper is signing in to.
8
+ * Store hash identifying your BigCommerce store.
9
9
  */
10
10
  storeHash: string;
11
11
 
@@ -4,24 +4,24 @@ import type { BigQueryDataType } from './bigQueryDataType';
4
4
 
5
5
  export type SourceBigQuery = {
6
6
  /**
7
- * Project ID of the BigQuery Source.
7
+ * Project ID of the BigQuery source.
8
8
  */
9
9
  projectID: string;
10
10
 
11
11
  /**
12
- * Dataset ID of the BigQuery Source.
12
+ * Dataset ID of the BigQuery source.
13
13
  */
14
14
  datasetID: string;
15
15
 
16
16
  dataType?: BigQueryDataType;
17
17
 
18
18
  /**
19
- * Table name (for default BQ).
19
+ * Table name for the BigQuery export.
20
20
  */
21
21
  table?: string;
22
22
 
23
23
  /**
24
- * Table prefix (for Google Analytics).
24
+ * Table prefix for a Google Analytics 4 data export to BigQuery.
25
25
  */
26
26
  tablePrefix?: string;
27
27
 
@@ -31,7 +31,7 @@ export type SourceBigQuery = {
31
31
  customSQLRequest?: string;
32
32
 
33
33
  /**
34
- * The name of the column that contains the unique ID, used as `objectID` in Algolia.
34
+ * Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
35
35
  */
36
36
  uniqueIDColumn?: string;
37
37
  };
@@ -5,17 +5,17 @@ import type { MethodType } from './methodType';
5
5
 
6
6
  export type SourceCSV = {
7
7
  /**
8
- * The URL of the file.
8
+ * URL of the file.
9
9
  */
10
10
  url: string;
11
11
 
12
12
  /**
13
- * The name of the column that contains the unique ID, used as `objectID` in Algolia.
13
+ * Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
14
14
  */
15
15
  uniqueIDColumn?: string;
16
16
 
17
17
  /**
18
- * Mapping of type for every column. For example {\"myColumn\": \"boolean\", \"myOtherColumn\": \"json\"}.
18
+ * Key-value pairs of column names and their expected types.
19
19
  */
20
20
  mapping?: Record<string, MappingTypeCSV>;
21
21
 
@@ -6,7 +6,7 @@ export type SourceCommercetools = {
6
6
  storeKeys?: string[];
7
7
 
8
8
  /**
9
- * 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.
10
10
  */
11
11
  locales?: string[];
12
12
 
@@ -15,7 +15,7 @@ export type SourceCommercetools = {
15
15
  projectKey: string;
16
16
 
17
17
  /**
18
- * Determines the value that will be stored in the Algolia record if there\'s no inventory information on the product.
18
+ * Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
19
19
  */
20
20
  fallbackIsInStockValue?: boolean;
21
21
 
@@ -6,12 +6,15 @@ import type { SourceType } from './sourceType';
6
6
  export type SourceCreate = {
7
7
  type: SourceType;
8
8
 
9
+ /**
10
+ * Descriptive name of the source.
11
+ */
9
12
  name: string;
10
13
 
11
14
  input: SourceInput;
12
15
 
13
16
  /**
14
- * The authentication UUID.
17
+ * Universally unique identifier (UUID) of an authentication resource.
15
18
  */
16
19
  authenticationID?: string;
17
20
  };
@@ -2,14 +2,17 @@
2
2
 
3
3
  export type SourceCreateResponse = {
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 creation (RFC3339 format).
15
+ * Date of creation in RFC3339 format.
13
16
  */
14
17
  createdAt: string;
15
18
  };
@@ -9,17 +9,17 @@ export type SourceDocker = {
9
9
  registry: DockerRegistry;
10
10
 
11
11
  /**
12
- * The name of the image to pull.
12
+ * Docker image name.
13
13
  */
14
14
  image: string;
15
15
 
16
16
  /**
17
- * The version of the image, defaults to `latest`.
17
+ * Docker image version.
18
18
  */
19
19
  version?: string;
20
20
 
21
21
  /**
22
- * The configuration of the spec.
22
+ * Configuration of the spec.
23
23
  */
24
24
  configuration: Record<string, any>;
25
25
  };
@@ -2,17 +2,17 @@
2
2
 
3
3
  export type SourceGA4BigQueryExport = {
4
4
  /**
5
- * GCP project ID that the BigQuery Export writes to.
5
+ * GCP project ID that the BigQuery export writes to.
6
6
  */
7
7
  projectID: string;
8
8
 
9
9
  /**
10
- * BigQuery dataset ID that the BigQuery Export writes to.
10
+ * BigQuery dataset ID that the BigQuery export writes to.
11
11
  */
12
12
  datasetID: string;
13
13
 
14
14
  /**
15
- * Prefix of the tables that the BigQuery Export writes to (i.e. Events_intraday_ for streaming, events_ for daily).
15
+ * Prefix of the tables that the BigQuery Export writes to.
16
16
  */
17
17
  tablePrefix: string;
18
18
  };
@@ -4,12 +4,12 @@ import type { MethodType } from './methodType';
4
4
 
5
5
  export type SourceJSON = {
6
6
  /**
7
- * The URL of the file.
7
+ * URL of the file.
8
8
  */
9
9
  url: string;
10
10
 
11
11
  /**
12
- * The name of the column that contains the unique ID, used as `objectID` in Algolia.
12
+ * Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
13
13
  */
14
14
  uniqueIDColumn?: string;
15
15