@algolia/ingestion 1.0.0-alpha.82 → 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.
- package/dist/ingestion.cjs +103 -103
- package/dist/ingestion.esm.browser.js +104 -104
- package/dist/ingestion.esm.node.js +103 -103
- package/dist/ingestion.umd.js +2 -2
- package/dist/model/actionType.d.ts +1 -1
- package/dist/model/authAPIKey.d.ts +4 -1
- package/dist/model/authAPIKey.d.ts.map +1 -1
- package/dist/model/authAPIKeyPartial.d.ts +4 -1
- package/dist/model/authAPIKeyPartial.d.ts.map +1 -1
- package/dist/model/authAlgolia.d.ts +5 -2
- package/dist/model/authAlgolia.d.ts.map +1 -1
- package/dist/model/authAlgoliaPartial.d.ts +5 -2
- package/dist/model/authAlgoliaPartial.d.ts.map +1 -1
- package/dist/model/authBasic.d.ts +7 -1
- package/dist/model/authBasic.d.ts.map +1 -1
- package/dist/model/authBasicPartial.d.ts +7 -1
- package/dist/model/authBasicPartial.d.ts.map +1 -1
- package/dist/model/authGoogleServiceAccount.d.ts +3 -3
- package/dist/model/authGoogleServiceAccountPartial.d.ts +3 -3
- package/dist/model/authOAuth.d.ts +8 -4
- package/dist/model/authOAuth.d.ts.map +1 -1
- package/dist/model/authOAuthPartial.d.ts +8 -4
- package/dist/model/authOAuthPartial.d.ts.map +1 -1
- package/dist/model/authentication.d.ts +5 -5
- package/dist/model/authenticationCreate.d.ts +2 -2
- package/dist/model/authenticationCreateResponse.d.ts +4 -4
- package/dist/model/authenticationSearch.d.ts +1 -1
- package/dist/model/authenticationSortKeys.d.ts +1 -1
- package/dist/model/authenticationType.d.ts +1 -1
- package/dist/model/authenticationUpdate.d.ts +2 -2
- package/dist/model/authenticationUpdateResponse.d.ts +4 -4
- package/dist/model/bigCommerceChannel.d.ts +2 -2
- package/dist/model/bigCommerceMetafield.d.ts +2 -2
- package/dist/model/clientMethodProps.d.ts +64 -64
- package/dist/model/commercetoolsCustomFields.d.ts +1 -1
- package/dist/model/deleteResponse.d.ts +1 -1
- package/dist/model/destination.d.ts +6 -6
- package/dist/model/destinationCreate.d.ts +3 -3
- package/dist/model/destinationCreateResponse.d.ts +4 -4
- package/dist/model/destinationIndexName.d.ts +2 -2
- package/dist/model/destinationIndexPrefix.d.ts +1 -1
- package/dist/model/destinationSearch.d.ts +1 -1
- package/dist/model/destinationSortKeys.d.ts +1 -1
- package/dist/model/destinationType.d.ts +2 -2
- package/dist/model/destinationType.d.ts.map +1 -1
- package/dist/model/destinationUpdate.d.ts +3 -3
- package/dist/model/destinationUpdateResponse.d.ts +4 -4
- package/dist/model/dockerImageType.d.ts +1 -1
- package/dist/model/dockerRegistry.d.ts +1 -1
- package/dist/model/dockerSourceDiscover.d.ts +2 -2
- package/dist/model/event.d.ts +3 -3
- package/dist/model/eventSortKeys.d.ts +1 -1
- package/dist/model/index.d.ts +1 -0
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/listTasksResponse.d.ts +1 -1
- package/dist/model/mappingFormatSchema.d.ts +5 -0
- package/dist/model/mappingFormatSchema.d.ts.map +1 -0
- package/dist/model/mappingInput.d.ts +3 -5
- package/dist/model/mappingInput.d.ts.map +1 -1
- package/dist/model/methodType.d.ts +3 -0
- package/dist/model/methodType.d.ts.map +1 -1
- package/dist/model/onDemandDateUtilsInput.d.ts +3 -3
- package/dist/model/onDemandTrigger.d.ts +2 -2
- package/dist/model/onDemandTriggerInput.d.ts +1 -1
- package/dist/model/onDemandTriggerType.d.ts +1 -1
- package/dist/model/orderKeys.d.ts +1 -1
- package/dist/model/pagination.d.ts +15 -0
- package/dist/model/pagination.d.ts.map +1 -1
- package/dist/model/platform.d.ts +2 -2
- package/dist/model/platform.d.ts.map +1 -1
- package/dist/model/platformNone.d.ts +1 -1
- package/dist/model/recordType.d.ts +1 -1
- package/dist/model/run.d.ts +7 -7
- package/dist/model/runOutcome.d.ts +3 -0
- package/dist/model/runOutcome.d.ts.map +1 -1
- package/dist/model/runReasonCode.d.ts +1 -1
- package/dist/model/runResponse.d.ts +3 -3
- package/dist/model/runSortKeys.d.ts +1 -1
- package/dist/model/runStatus.d.ts +3 -0
- package/dist/model/runStatus.d.ts.map +1 -1
- package/dist/model/runType.d.ts +3 -0
- package/dist/model/runType.d.ts.map +1 -1
- package/dist/model/scheduleDateUtilsInput.d.ts +2 -2
- package/dist/model/scheduleTrigger.d.ts +4 -4
- package/dist/model/scheduleTriggerInput.d.ts +2 -2
- package/dist/model/scheduleTriggerType.d.ts +1 -1
- package/dist/model/source.d.ts +4 -4
- package/dist/model/sourceBigCommerce.d.ts +1 -1
- package/dist/model/sourceBigQuery.d.ts +5 -5
- package/dist/model/sourceCSV.d.ts +3 -3
- package/dist/model/sourceCommercetools.d.ts +2 -2
- package/dist/model/sourceCreate.d.ts +4 -1
- package/dist/model/sourceCreate.d.ts.map +1 -1
- package/dist/model/sourceCreateResponse.d.ts +5 -2
- package/dist/model/sourceCreateResponse.d.ts.map +1 -1
- package/dist/model/sourceDocker.d.ts +3 -3
- package/dist/model/sourceGA4BigQueryExport.d.ts +3 -3
- package/dist/model/sourceJSON.d.ts +2 -2
- package/dist/model/sourceSortKeys.d.ts +1 -1
- package/dist/model/sourceType.d.ts +1 -1
- package/dist/model/sourceType.d.ts.map +1 -1
- package/dist/model/sourceUpdate.d.ts +4 -1
- package/dist/model/sourceUpdate.d.ts.map +1 -1
- package/dist/model/sourceUpdateCommercetools.d.ts +2 -5
- package/dist/model/sourceUpdateCommercetools.d.ts.map +1 -1
- package/dist/model/sourceUpdateDocker.d.ts +3 -3
- package/dist/model/sourceUpdateResponse.d.ts +5 -2
- package/dist/model/sourceUpdateResponse.d.ts.map +1 -1
- package/dist/model/streamingTrigger.d.ts +1 -1
- package/dist/model/streamingTriggerType.d.ts +1 -1
- package/dist/model/streamingUtilsInput.d.ts +1 -1
- package/dist/model/subscriptionTrigger.d.ts +1 -1
- package/dist/model/subscriptionTriggerType.d.ts +1 -1
- package/dist/model/task.d.ts +7 -7
- package/dist/model/taskCreate.d.ts +5 -5
- package/dist/model/taskCreateResponse.d.ts +3 -3
- package/dist/model/taskInput.d.ts +3 -0
- package/dist/model/taskInput.d.ts.map +1 -1
- package/dist/model/taskSortKeys.d.ts +1 -1
- package/dist/model/taskUpdate.d.ts +4 -4
- package/dist/model/taskUpdateResponse.d.ts +3 -3
- package/dist/model/trigger.d.ts +3 -0
- package/dist/model/trigger.d.ts.map +1 -1
- package/dist/model/triggerType.d.ts +1 -1
- package/dist/model/triggerUpdateInput.d.ts +2 -2
- package/dist/model/window.d.ts +3 -3
- package/dist/src/ingestionClient.d.ts +99 -99
- package/model/actionType.ts +1 -1
- package/model/authAPIKey.ts +4 -1
- package/model/authAPIKeyPartial.ts +4 -1
- package/model/authAlgolia.ts +5 -2
- package/model/authAlgoliaPartial.ts +5 -2
- package/model/authBasic.ts +7 -1
- package/model/authBasicPartial.ts +7 -1
- package/model/authGoogleServiceAccount.ts +3 -3
- package/model/authGoogleServiceAccountPartial.ts +3 -3
- package/model/authOAuth.ts +9 -4
- package/model/authOAuthPartial.ts +9 -4
- package/model/authentication.ts +5 -5
- package/model/authenticationCreate.ts +2 -2
- package/model/authenticationCreateResponse.ts +4 -4
- package/model/authenticationSearch.ts +1 -1
- package/model/authenticationSortKeys.ts +1 -1
- package/model/authenticationType.ts +1 -1
- package/model/authenticationUpdate.ts +2 -2
- package/model/authenticationUpdateResponse.ts +4 -4
- package/model/bigCommerceChannel.ts +2 -2
- package/model/bigCommerceMetafield.ts +2 -2
- package/model/clientMethodProps.ts +64 -64
- package/model/commercetoolsCustomFields.ts +1 -1
- package/model/deleteResponse.ts +1 -1
- package/model/destination.ts +6 -6
- package/model/destinationCreate.ts +3 -3
- package/model/destinationCreateResponse.ts +4 -4
- package/model/destinationIndexName.ts +2 -2
- package/model/destinationIndexPrefix.ts +1 -1
- package/model/destinationSearch.ts +1 -1
- package/model/destinationSortKeys.ts +1 -1
- package/model/destinationType.ts +2 -2
- package/model/destinationUpdate.ts +3 -3
- package/model/destinationUpdateResponse.ts +4 -4
- package/model/dockerImageType.ts +1 -1
- package/model/dockerRegistry.ts +1 -1
- package/model/dockerSourceDiscover.ts +2 -2
- package/model/event.ts +3 -3
- package/model/eventSortKeys.ts +1 -1
- package/model/index.ts +1 -0
- package/model/listTasksResponse.ts +1 -1
- package/model/mappingFormatSchema.ts +6 -0
- package/model/mappingInput.ts +3 -5
- package/model/methodType.ts +3 -0
- package/model/onDemandDateUtilsInput.ts +3 -3
- package/model/onDemandTrigger.ts +2 -2
- package/model/onDemandTriggerInput.ts +1 -1
- package/model/onDemandTriggerType.ts +1 -1
- package/model/orderKeys.ts +1 -1
- package/model/pagination.ts +15 -0
- package/model/platform.ts +2 -2
- package/model/platformNone.ts +1 -1
- package/model/recordType.ts +1 -1
- package/model/run.ts +7 -7
- package/model/runOutcome.ts +3 -0
- package/model/runReasonCode.ts +1 -1
- package/model/runResponse.ts +3 -3
- package/model/runSortKeys.ts +1 -1
- package/model/runStatus.ts +3 -0
- package/model/runType.ts +3 -0
- package/model/scheduleDateUtilsInput.ts +2 -2
- package/model/scheduleTrigger.ts +4 -4
- package/model/scheduleTriggerInput.ts +2 -2
- package/model/scheduleTriggerType.ts +1 -1
- package/model/source.ts +4 -4
- package/model/sourceBigCommerce.ts +1 -1
- package/model/sourceBigQuery.ts +5 -5
- package/model/sourceCSV.ts +3 -3
- package/model/sourceCommercetools.ts +2 -2
- package/model/sourceCreate.ts +4 -1
- package/model/sourceCreateResponse.ts +5 -2
- package/model/sourceDocker.ts +3 -3
- package/model/sourceGA4BigQueryExport.ts +3 -3
- package/model/sourceJSON.ts +2 -2
- package/model/sourceSortKeys.ts +1 -1
- package/model/sourceType.ts +3 -1
- package/model/sourceUpdate.ts +4 -1
- package/model/sourceUpdateCommercetools.ts +2 -5
- package/model/sourceUpdateDocker.ts +3 -3
- package/model/sourceUpdateResponse.ts +5 -2
- package/model/streamingTrigger.ts +1 -1
- package/model/streamingTriggerType.ts +1 -1
- package/model/streamingUtilsInput.ts +1 -1
- package/model/subscriptionTrigger.ts +1 -1
- package/model/subscriptionTriggerType.ts +1 -1
- package/model/task.ts +7 -7
- package/model/taskCreate.ts +5 -5
- package/model/taskCreateResponse.ts +3 -3
- package/model/taskInput.ts +3 -0
- package/model/taskSortKeys.ts +1 -1
- package/model/taskUpdate.ts +4 -4
- package/model/taskUpdateResponse.ts +3 -3
- package/model/trigger.ts +3 -0
- package/model/triggerType.ts +1 -1
- package/model/triggerUpdateInput.ts +2 -2
- package/model/window.ts +3 -3
- package/package.json +7 -7
|
@@ -90,7 +90,7 @@ export type CustomPutProps = {
|
|
|
90
90
|
*/
|
|
91
91
|
export type DeleteAuthenticationProps = {
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Unique identifier of an authentication resource.
|
|
94
94
|
*/
|
|
95
95
|
authenticationID: string;
|
|
96
96
|
};
|
|
@@ -100,7 +100,7 @@ export type DeleteAuthenticationProps = {
|
|
|
100
100
|
*/
|
|
101
101
|
export type DeleteDestinationProps = {
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* Unique identifier of a destination.
|
|
104
104
|
*/
|
|
105
105
|
destinationID: string;
|
|
106
106
|
};
|
|
@@ -110,7 +110,7 @@ export type DeleteDestinationProps = {
|
|
|
110
110
|
*/
|
|
111
111
|
export type DeleteSourceProps = {
|
|
112
112
|
/**
|
|
113
|
-
*
|
|
113
|
+
* Unique identifier of a source.
|
|
114
114
|
*/
|
|
115
115
|
sourceID: string;
|
|
116
116
|
};
|
|
@@ -120,7 +120,7 @@ export type DeleteSourceProps = {
|
|
|
120
120
|
*/
|
|
121
121
|
export type DeleteTaskProps = {
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
123
|
+
* Unique identifier of a task.
|
|
124
124
|
*/
|
|
125
125
|
taskID: string;
|
|
126
126
|
};
|
|
@@ -130,7 +130,7 @@ export type DeleteTaskProps = {
|
|
|
130
130
|
*/
|
|
131
131
|
export type DisableTaskProps = {
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* Unique identifier of a task.
|
|
134
134
|
*/
|
|
135
135
|
taskID: string;
|
|
136
136
|
};
|
|
@@ -140,7 +140,7 @@ export type DisableTaskProps = {
|
|
|
140
140
|
*/
|
|
141
141
|
export type EnableTaskProps = {
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
143
|
+
* Unique identifier of a task.
|
|
144
144
|
*/
|
|
145
145
|
taskID: string;
|
|
146
146
|
};
|
|
@@ -150,7 +150,7 @@ export type EnableTaskProps = {
|
|
|
150
150
|
*/
|
|
151
151
|
export type GetAuthenticationProps = {
|
|
152
152
|
/**
|
|
153
|
-
*
|
|
153
|
+
* Unique identifier of an authentication resource.
|
|
154
154
|
*/
|
|
155
155
|
authenticationID: string;
|
|
156
156
|
};
|
|
@@ -160,27 +160,27 @@ export type GetAuthenticationProps = {
|
|
|
160
160
|
*/
|
|
161
161
|
export type GetAuthenticationsProps = {
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
163
|
+
* Number of items per page.
|
|
164
164
|
*/
|
|
165
165
|
itemsPerPage?: number;
|
|
166
166
|
/**
|
|
167
|
-
*
|
|
167
|
+
* Page number of the paginated API response.
|
|
168
168
|
*/
|
|
169
169
|
page?: number;
|
|
170
170
|
/**
|
|
171
|
-
*
|
|
171
|
+
* Type of authentication resource to retrieve.
|
|
172
172
|
*/
|
|
173
173
|
type?: AuthenticationType[];
|
|
174
174
|
/**
|
|
175
|
-
*
|
|
175
|
+
* Ecommerce platform for which to retrieve authentication resources.
|
|
176
176
|
*/
|
|
177
177
|
platform?: PlatformWithNone[];
|
|
178
178
|
/**
|
|
179
|
-
*
|
|
179
|
+
* Property by which to sort the list of authentication resources.
|
|
180
180
|
*/
|
|
181
181
|
sort?: AuthenticationSortKeys;
|
|
182
182
|
/**
|
|
183
|
-
*
|
|
183
|
+
* Sort order of the response, ascending or descending.
|
|
184
184
|
*/
|
|
185
185
|
order?: OrderKeys;
|
|
186
186
|
};
|
|
@@ -190,7 +190,7 @@ export type GetAuthenticationsProps = {
|
|
|
190
190
|
*/
|
|
191
191
|
export type GetDestinationProps = {
|
|
192
192
|
/**
|
|
193
|
-
*
|
|
193
|
+
* Unique identifier of a destination.
|
|
194
194
|
*/
|
|
195
195
|
destinationID: string;
|
|
196
196
|
};
|
|
@@ -200,27 +200,27 @@ export type GetDestinationProps = {
|
|
|
200
200
|
*/
|
|
201
201
|
export type GetDestinationsProps = {
|
|
202
202
|
/**
|
|
203
|
-
*
|
|
203
|
+
* Number of items per page.
|
|
204
204
|
*/
|
|
205
205
|
itemsPerPage?: number;
|
|
206
206
|
/**
|
|
207
|
-
*
|
|
207
|
+
* Page number of the paginated API response.
|
|
208
208
|
*/
|
|
209
209
|
page?: number;
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
211
|
+
* Destination type.
|
|
212
212
|
*/
|
|
213
213
|
type?: DestinationType[];
|
|
214
214
|
/**
|
|
215
|
-
*
|
|
215
|
+
* Authentication ID used by destinations.
|
|
216
216
|
*/
|
|
217
217
|
authenticationID?: string[];
|
|
218
218
|
/**
|
|
219
|
-
*
|
|
219
|
+
* Property by which to sort the destinations.
|
|
220
220
|
*/
|
|
221
221
|
sort?: DestinationSortKeys;
|
|
222
222
|
/**
|
|
223
|
-
*
|
|
223
|
+
* Sort order of the response, ascending or descending.
|
|
224
224
|
*/
|
|
225
225
|
order?: OrderKeys;
|
|
226
226
|
};
|
|
@@ -230,7 +230,7 @@ export type GetDestinationsProps = {
|
|
|
230
230
|
*/
|
|
231
231
|
export type GetDockerSourceStreamsProps = {
|
|
232
232
|
/**
|
|
233
|
-
*
|
|
233
|
+
* Unique identifier of a source.
|
|
234
234
|
*/
|
|
235
235
|
sourceID: string;
|
|
236
236
|
};
|
|
@@ -240,11 +240,11 @@ export type GetDockerSourceStreamsProps = {
|
|
|
240
240
|
*/
|
|
241
241
|
export type GetEventProps = {
|
|
242
242
|
/**
|
|
243
|
-
*
|
|
243
|
+
* Unique identifier of a task run.
|
|
244
244
|
*/
|
|
245
245
|
runID: string;
|
|
246
246
|
/**
|
|
247
|
-
*
|
|
247
|
+
* Unique identifier of an event.
|
|
248
248
|
*/
|
|
249
249
|
eventID: string;
|
|
250
250
|
};
|
|
@@ -254,39 +254,39 @@ export type GetEventProps = {
|
|
|
254
254
|
*/
|
|
255
255
|
export type GetEventsProps = {
|
|
256
256
|
/**
|
|
257
|
-
*
|
|
257
|
+
* Unique identifier of a task run.
|
|
258
258
|
*/
|
|
259
259
|
runID: string;
|
|
260
260
|
/**
|
|
261
|
-
*
|
|
261
|
+
* Number of items per page.
|
|
262
262
|
*/
|
|
263
263
|
itemsPerPage?: number;
|
|
264
264
|
/**
|
|
265
|
-
*
|
|
265
|
+
* Page number of the paginated API response.
|
|
266
266
|
*/
|
|
267
267
|
page?: number;
|
|
268
268
|
/**
|
|
269
|
-
*
|
|
269
|
+
* Event status for filtering the list of task runs.
|
|
270
270
|
*/
|
|
271
271
|
status?: EventStatus[];
|
|
272
272
|
/**
|
|
273
|
-
*
|
|
273
|
+
* Event type for filtering the list of task runs.
|
|
274
274
|
*/
|
|
275
275
|
type?: EventType[];
|
|
276
276
|
/**
|
|
277
|
-
*
|
|
277
|
+
* Property by which to sort the list of task run events.
|
|
278
278
|
*/
|
|
279
279
|
sort?: EventSortKeys;
|
|
280
280
|
/**
|
|
281
|
-
*
|
|
281
|
+
* Sort order of the response, ascending or descending.
|
|
282
282
|
*/
|
|
283
283
|
order?: OrderKeys;
|
|
284
284
|
/**
|
|
285
|
-
*
|
|
285
|
+
* Date and time in RFC3339 format for the earliest events to retrieve. By default, the current time minus three hours is used.
|
|
286
286
|
*/
|
|
287
287
|
startDate?: string;
|
|
288
288
|
/**
|
|
289
|
-
*
|
|
289
|
+
* Date and time in RFC3339 format for the latest events to retrieve. By default, the current time is used.
|
|
290
290
|
*/
|
|
291
291
|
endDate?: string;
|
|
292
292
|
};
|
|
@@ -296,7 +296,7 @@ export type GetEventsProps = {
|
|
|
296
296
|
*/
|
|
297
297
|
export type GetRunProps = {
|
|
298
298
|
/**
|
|
299
|
-
*
|
|
299
|
+
* Unique identifier of a task run.
|
|
300
300
|
*/
|
|
301
301
|
runID: string;
|
|
302
302
|
};
|
|
@@ -306,35 +306,35 @@ export type GetRunProps = {
|
|
|
306
306
|
*/
|
|
307
307
|
export type GetRunsProps = {
|
|
308
308
|
/**
|
|
309
|
-
*
|
|
309
|
+
* Number of items per page.
|
|
310
310
|
*/
|
|
311
311
|
itemsPerPage?: number;
|
|
312
312
|
/**
|
|
313
|
-
*
|
|
313
|
+
* Page number of the paginated API response.
|
|
314
314
|
*/
|
|
315
315
|
page?: number;
|
|
316
316
|
/**
|
|
317
|
-
*
|
|
317
|
+
* Run status for filtering the list of task runs.
|
|
318
318
|
*/
|
|
319
319
|
status?: RunStatus[];
|
|
320
320
|
/**
|
|
321
|
-
*
|
|
321
|
+
* Task ID for filtering the list of task runs.
|
|
322
322
|
*/
|
|
323
323
|
taskID?: string;
|
|
324
324
|
/**
|
|
325
|
-
*
|
|
325
|
+
* Property by which to sort the list of task runs.
|
|
326
326
|
*/
|
|
327
327
|
sort?: RunSortKeys;
|
|
328
328
|
/**
|
|
329
|
-
*
|
|
329
|
+
* Sort order of the response, ascending or descending.
|
|
330
330
|
*/
|
|
331
331
|
order?: OrderKeys;
|
|
332
332
|
/**
|
|
333
|
-
*
|
|
333
|
+
* Date in RFC3339 format for the earliest run to retrieve. By default, the current day minus seven days is used.
|
|
334
334
|
*/
|
|
335
335
|
startDate?: string;
|
|
336
336
|
/**
|
|
337
|
-
*
|
|
337
|
+
* Date in RFC3339 format for the latest run to retrieve. By default, the current day is used.
|
|
338
338
|
*/
|
|
339
339
|
endDate?: string;
|
|
340
340
|
};
|
|
@@ -344,7 +344,7 @@ export type GetRunsProps = {
|
|
|
344
344
|
*/
|
|
345
345
|
export type GetSourceProps = {
|
|
346
346
|
/**
|
|
347
|
-
*
|
|
347
|
+
* Unique identifier of a source.
|
|
348
348
|
*/
|
|
349
349
|
sourceID: string;
|
|
350
350
|
};
|
|
@@ -354,27 +354,27 @@ export type GetSourceProps = {
|
|
|
354
354
|
*/
|
|
355
355
|
export type GetSourcesProps = {
|
|
356
356
|
/**
|
|
357
|
-
*
|
|
357
|
+
* Number of items per page.
|
|
358
358
|
*/
|
|
359
359
|
itemsPerPage?: number;
|
|
360
360
|
/**
|
|
361
|
-
*
|
|
361
|
+
* Page number of the paginated API response.
|
|
362
362
|
*/
|
|
363
363
|
page?: number;
|
|
364
364
|
/**
|
|
365
|
-
*
|
|
365
|
+
* Source type. Some sources require authentication.
|
|
366
366
|
*/
|
|
367
367
|
type?: SourceType[];
|
|
368
368
|
/**
|
|
369
|
-
*
|
|
369
|
+
* Authentication IDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication resource.
|
|
370
370
|
*/
|
|
371
371
|
authenticationID?: string[];
|
|
372
372
|
/**
|
|
373
|
-
*
|
|
373
|
+
* Property by which to sort the list of sources.
|
|
374
374
|
*/
|
|
375
375
|
sort?: SourceSortKeys;
|
|
376
376
|
/**
|
|
377
|
-
*
|
|
377
|
+
* Sort order of the response, ascending or descending.
|
|
378
378
|
*/
|
|
379
379
|
order?: OrderKeys;
|
|
380
380
|
};
|
|
@@ -384,7 +384,7 @@ export type GetSourcesProps = {
|
|
|
384
384
|
*/
|
|
385
385
|
export type GetTaskProps = {
|
|
386
386
|
/**
|
|
387
|
-
*
|
|
387
|
+
* Unique identifier of a task.
|
|
388
388
|
*/
|
|
389
389
|
taskID: string;
|
|
390
390
|
};
|
|
@@ -394,39 +394,39 @@ export type GetTaskProps = {
|
|
|
394
394
|
*/
|
|
395
395
|
export type GetTasksProps = {
|
|
396
396
|
/**
|
|
397
|
-
*
|
|
397
|
+
* Number of items per page.
|
|
398
398
|
*/
|
|
399
399
|
itemsPerPage?: number;
|
|
400
400
|
/**
|
|
401
|
-
*
|
|
401
|
+
* Page number of the paginated API response.
|
|
402
402
|
*/
|
|
403
403
|
page?: number;
|
|
404
404
|
/**
|
|
405
|
-
*
|
|
405
|
+
* Actions for filtering the list of tasks.
|
|
406
406
|
*/
|
|
407
407
|
action?: ActionType[];
|
|
408
408
|
/**
|
|
409
|
-
* Whether the
|
|
409
|
+
* Whether to filter the list of tasks by the `enabled` status.
|
|
410
410
|
*/
|
|
411
411
|
enabled?: boolean;
|
|
412
412
|
/**
|
|
413
|
-
*
|
|
413
|
+
* Source IDs for filtering the list of tasks.
|
|
414
414
|
*/
|
|
415
415
|
sourceID?: string[];
|
|
416
416
|
/**
|
|
417
|
-
*
|
|
417
|
+
* Destination IDs for filtering the list of tasks.
|
|
418
418
|
*/
|
|
419
419
|
destinationID?: string[];
|
|
420
420
|
/**
|
|
421
|
-
*
|
|
421
|
+
* Type of task trigger for filtering the list of tasks.
|
|
422
422
|
*/
|
|
423
423
|
triggerType?: TriggerType[];
|
|
424
424
|
/**
|
|
425
|
-
*
|
|
425
|
+
* Property by which to sort the list of tasks.
|
|
426
426
|
*/
|
|
427
427
|
sort?: TaskSortKeys;
|
|
428
428
|
/**
|
|
429
|
-
*
|
|
429
|
+
* Sort order of the response, ascending or descending.
|
|
430
430
|
*/
|
|
431
431
|
order?: OrderKeys;
|
|
432
432
|
};
|
|
@@ -436,7 +436,7 @@ export type GetTasksProps = {
|
|
|
436
436
|
*/
|
|
437
437
|
export type RunTaskProps = {
|
|
438
438
|
/**
|
|
439
|
-
*
|
|
439
|
+
* Unique identifier of a task.
|
|
440
440
|
*/
|
|
441
441
|
taskID: string;
|
|
442
442
|
};
|
|
@@ -446,7 +446,7 @@ export type RunTaskProps = {
|
|
|
446
446
|
*/
|
|
447
447
|
export type TriggerDockerSourceDiscoverProps = {
|
|
448
448
|
/**
|
|
449
|
-
*
|
|
449
|
+
* Unique identifier of a source.
|
|
450
450
|
*/
|
|
451
451
|
sourceID: string;
|
|
452
452
|
};
|
|
@@ -456,7 +456,7 @@ export type TriggerDockerSourceDiscoverProps = {
|
|
|
456
456
|
*/
|
|
457
457
|
export type UpdateAuthenticationProps = {
|
|
458
458
|
/**
|
|
459
|
-
*
|
|
459
|
+
* Unique identifier of an authentication resource.
|
|
460
460
|
*/
|
|
461
461
|
authenticationID: string;
|
|
462
462
|
authenticationUpdate: AuthenticationUpdate;
|
|
@@ -467,7 +467,7 @@ export type UpdateAuthenticationProps = {
|
|
|
467
467
|
*/
|
|
468
468
|
export type UpdateDestinationProps = {
|
|
469
469
|
/**
|
|
470
|
-
*
|
|
470
|
+
* Unique identifier of a destination.
|
|
471
471
|
*/
|
|
472
472
|
destinationID: string;
|
|
473
473
|
destinationUpdate: DestinationUpdate;
|
|
@@ -478,7 +478,7 @@ export type UpdateDestinationProps = {
|
|
|
478
478
|
*/
|
|
479
479
|
export type UpdateSourceProps = {
|
|
480
480
|
/**
|
|
481
|
-
*
|
|
481
|
+
* Unique identifier of a source.
|
|
482
482
|
*/
|
|
483
483
|
sourceID: string;
|
|
484
484
|
sourceUpdate: SourceUpdate;
|
|
@@ -489,7 +489,7 @@ export type UpdateSourceProps = {
|
|
|
489
489
|
*/
|
|
490
490
|
export type UpdateTaskProps = {
|
|
491
491
|
/**
|
|
492
|
-
*
|
|
492
|
+
* Unique identifier of a task.
|
|
493
493
|
*/
|
|
494
494
|
taskID: string;
|
|
495
495
|
taskUpdate: TaskUpdate;
|
|
@@ -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
|
-
* Custom fields from
|
|
4
|
+
* Custom fields from commercetools to add to the records. For more information, see [Using Custom Types and Custom Fields](https://docs.commercetools.com/tutorials/custom-types).
|
|
5
5
|
*/
|
|
6
6
|
export type CommercetoolsCustomFields = {
|
|
7
7
|
/**
|
package/model/deleteResponse.ts
CHANGED
package/model/destination.ts
CHANGED
|
@@ -4,35 +4,35 @@ import type { DestinationInput } from './destinationInput';
|
|
|
4
4
|
import type { DestinationType } from './destinationType';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Destinations are Algolia resources like indices or event streams.
|
|
8
8
|
*/
|
|
9
9
|
export type Destination = {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
12
12
|
*/
|
|
13
13
|
destinationID: string;
|
|
14
14
|
|
|
15
15
|
type: DestinationType;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Descriptive name for the resource.
|
|
19
19
|
*/
|
|
20
20
|
name: string;
|
|
21
21
|
|
|
22
22
|
input: DestinationInput;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Date of creation
|
|
25
|
+
* Date of creation in RFC3339 format.
|
|
26
26
|
*/
|
|
27
27
|
createdAt: string;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* Date of last update
|
|
30
|
+
* Date of last update in RFC3339 format.
|
|
31
31
|
*/
|
|
32
32
|
updatedAt?: string;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
36
36
|
*/
|
|
37
37
|
authenticationID?: string;
|
|
38
38
|
};
|
|
@@ -4,20 +4,20 @@ import type { DestinationInput } from './destinationInput';
|
|
|
4
4
|
import type { DestinationType } from './destinationType';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* API request body for creating a new destination.
|
|
8
8
|
*/
|
|
9
9
|
export type DestinationCreate = {
|
|
10
10
|
type: DestinationType;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Descriptive name for the resource.
|
|
14
14
|
*/
|
|
15
15
|
name: string;
|
|
16
16
|
|
|
17
17
|
input: DestinationInput;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
21
21
|
*/
|
|
22
22
|
authenticationID?: string;
|
|
23
23
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
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
|
-
*
|
|
4
|
+
* API response for creating a new destination.
|
|
5
5
|
*/
|
|
6
6
|
export type DestinationCreateResponse = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
9
9
|
*/
|
|
10
10
|
destinationID: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Descriptive name for the resource.
|
|
14
14
|
*/
|
|
15
15
|
name: string;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* Date of creation
|
|
18
|
+
* Date of creation in RFC3339 format.
|
|
19
19
|
*/
|
|
20
20
|
createdAt: string;
|
|
21
21
|
};
|
|
@@ -4,14 +4,14 @@ import type { RecordType } from './recordType';
|
|
|
4
4
|
|
|
5
5
|
export type DestinationIndexName = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Algolia index name.
|
|
8
8
|
*/
|
|
9
9
|
indexName: string;
|
|
10
10
|
|
|
11
11
|
recordType?: RecordType;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Attributes from your source to exclude from Algolia records. Not all your data attributes will be useful for searching. Keeping your Algolia records small increases indexing and search performance. - Exclude nested attributes with `.` notation. For example, `foo.bar` indexes the `foo` attribute and all its children **except** the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element. For example, `foo.[0].bar` only excludes the `bar` attribute from the first element of the `foo` array, but indexes the complete `foo` attribute for all other elements. Use `*` as wildcard: `foo.[*].bar` excludes `bar` from all elements of the `foo` array.
|
|
15
15
|
*/
|
|
16
16
|
attributesToExclude?: string[];
|
|
17
17
|
};
|
|
@@ -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
|
-
*
|
|
4
|
+
* API request body for searching destinations.
|
|
5
5
|
*/
|
|
6
6
|
export type DestinationSearch = {
|
|
7
7
|
destinationIDs: string[];
|
|
@@ -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
|
-
*
|
|
4
|
+
* Property by which to sort the destinations.
|
|
5
5
|
*/
|
|
6
6
|
export type DestinationSortKeys = 'createdAt' | 'name' | 'type' | 'updatedAt';
|
package/model/destinationType.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
|
-
*
|
|
4
|
+
* Destination type. <dl> <dt><code>search</code></dt> <dd>Data is stored in an Algolia index.</dd> <dt><code>insights</code></dt> <dd>Data is recorded as user events in the Insights API.</dd> </dl>.
|
|
5
5
|
*/
|
|
6
|
-
export type DestinationType = '
|
|
6
|
+
export type DestinationType = 'insights' | 'search';
|
|
@@ -4,20 +4,20 @@ import type { DestinationInput } from './destinationInput';
|
|
|
4
4
|
import type { DestinationType } from './destinationType';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* API request body for updating a destination.
|
|
8
8
|
*/
|
|
9
9
|
export type DestinationUpdate = {
|
|
10
10
|
type?: DestinationType;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Descriptive name for the resource.
|
|
14
14
|
*/
|
|
15
15
|
name?: string;
|
|
16
16
|
|
|
17
17
|
input?: DestinationInput;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
21
21
|
*/
|
|
22
22
|
authenticationID?: string;
|
|
23
23
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
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
|
-
*
|
|
4
|
+
* API response for updating a destination.
|
|
5
5
|
*/
|
|
6
6
|
export type DestinationUpdateResponse = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
9
9
|
*/
|
|
10
10
|
destinationID: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Descriptive name for the resource.
|
|
14
14
|
*/
|
|
15
15
|
name: string;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* Date of last update
|
|
18
|
+
* Date of last update in RFC3339 format.
|
|
19
19
|
*/
|
|
20
20
|
updatedAt: string;
|
|
21
21
|
};
|
package/model/dockerImageType.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
|
-
*
|
|
4
|
+
* Image type.
|
|
5
5
|
*/
|
|
6
6
|
export type DockerImageType = 'airbyte' | 'custom' | 'singer';
|
package/model/dockerRegistry.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
|
-
*
|
|
4
|
+
* Container registry name from where to pull the image.
|
|
5
5
|
*/
|
|
6
6
|
export type DockerRegistry = 'dockerhub' | 'ghcr';
|