@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.
- package/dist/ingestion.cjs +99 -99
- package/dist/ingestion.esm.browser.js +99 -99
- package/dist/ingestion.esm.node.js +99 -99
- 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 +5 -5
|
@@ -83,7 +83,7 @@ export type CustomPutProps = {
|
|
|
83
83
|
*/
|
|
84
84
|
export type DeleteAuthenticationProps = {
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* Unique identifier of an authentication resource.
|
|
87
87
|
*/
|
|
88
88
|
authenticationID: string;
|
|
89
89
|
};
|
|
@@ -92,7 +92,7 @@ export type DeleteAuthenticationProps = {
|
|
|
92
92
|
*/
|
|
93
93
|
export type DeleteDestinationProps = {
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* Unique identifier of a destination.
|
|
96
96
|
*/
|
|
97
97
|
destinationID: string;
|
|
98
98
|
};
|
|
@@ -101,7 +101,7 @@ export type DeleteDestinationProps = {
|
|
|
101
101
|
*/
|
|
102
102
|
export type DeleteSourceProps = {
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Unique identifier of a source.
|
|
105
105
|
*/
|
|
106
106
|
sourceID: string;
|
|
107
107
|
};
|
|
@@ -110,7 +110,7 @@ export type DeleteSourceProps = {
|
|
|
110
110
|
*/
|
|
111
111
|
export type DeleteTaskProps = {
|
|
112
112
|
/**
|
|
113
|
-
*
|
|
113
|
+
* Unique identifier of a task.
|
|
114
114
|
*/
|
|
115
115
|
taskID: string;
|
|
116
116
|
};
|
|
@@ -119,7 +119,7 @@ export type DeleteTaskProps = {
|
|
|
119
119
|
*/
|
|
120
120
|
export type DisableTaskProps = {
|
|
121
121
|
/**
|
|
122
|
-
*
|
|
122
|
+
* Unique identifier of a task.
|
|
123
123
|
*/
|
|
124
124
|
taskID: string;
|
|
125
125
|
};
|
|
@@ -128,7 +128,7 @@ export type DisableTaskProps = {
|
|
|
128
128
|
*/
|
|
129
129
|
export type EnableTaskProps = {
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* Unique identifier of a task.
|
|
132
132
|
*/
|
|
133
133
|
taskID: string;
|
|
134
134
|
};
|
|
@@ -137,7 +137,7 @@ export type EnableTaskProps = {
|
|
|
137
137
|
*/
|
|
138
138
|
export type GetAuthenticationProps = {
|
|
139
139
|
/**
|
|
140
|
-
*
|
|
140
|
+
* Unique identifier of an authentication resource.
|
|
141
141
|
*/
|
|
142
142
|
authenticationID: string;
|
|
143
143
|
};
|
|
@@ -146,27 +146,27 @@ export type GetAuthenticationProps = {
|
|
|
146
146
|
*/
|
|
147
147
|
export type GetAuthenticationsProps = {
|
|
148
148
|
/**
|
|
149
|
-
*
|
|
149
|
+
* Number of items per page.
|
|
150
150
|
*/
|
|
151
151
|
itemsPerPage?: number;
|
|
152
152
|
/**
|
|
153
|
-
*
|
|
153
|
+
* Page number of the paginated API response.
|
|
154
154
|
*/
|
|
155
155
|
page?: number;
|
|
156
156
|
/**
|
|
157
|
-
*
|
|
157
|
+
* Type of authentication resource to retrieve.
|
|
158
158
|
*/
|
|
159
159
|
type?: AuthenticationType[];
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
161
|
+
* Ecommerce platform for which to retrieve authentication resources.
|
|
162
162
|
*/
|
|
163
163
|
platform?: PlatformWithNone[];
|
|
164
164
|
/**
|
|
165
|
-
*
|
|
165
|
+
* Property by which to sort the list of authentication resources.
|
|
166
166
|
*/
|
|
167
167
|
sort?: AuthenticationSortKeys;
|
|
168
168
|
/**
|
|
169
|
-
*
|
|
169
|
+
* Sort order of the response, ascending or descending.
|
|
170
170
|
*/
|
|
171
171
|
order?: OrderKeys;
|
|
172
172
|
};
|
|
@@ -175,7 +175,7 @@ export type GetAuthenticationsProps = {
|
|
|
175
175
|
*/
|
|
176
176
|
export type GetDestinationProps = {
|
|
177
177
|
/**
|
|
178
|
-
*
|
|
178
|
+
* Unique identifier of a destination.
|
|
179
179
|
*/
|
|
180
180
|
destinationID: string;
|
|
181
181
|
};
|
|
@@ -184,27 +184,27 @@ export type GetDestinationProps = {
|
|
|
184
184
|
*/
|
|
185
185
|
export type GetDestinationsProps = {
|
|
186
186
|
/**
|
|
187
|
-
*
|
|
187
|
+
* Number of items per page.
|
|
188
188
|
*/
|
|
189
189
|
itemsPerPage?: number;
|
|
190
190
|
/**
|
|
191
|
-
*
|
|
191
|
+
* Page number of the paginated API response.
|
|
192
192
|
*/
|
|
193
193
|
page?: number;
|
|
194
194
|
/**
|
|
195
|
-
*
|
|
195
|
+
* Destination type.
|
|
196
196
|
*/
|
|
197
197
|
type?: DestinationType[];
|
|
198
198
|
/**
|
|
199
|
-
*
|
|
199
|
+
* Authentication ID used by destinations.
|
|
200
200
|
*/
|
|
201
201
|
authenticationID?: string[];
|
|
202
202
|
/**
|
|
203
|
-
*
|
|
203
|
+
* Property by which to sort the destinations.
|
|
204
204
|
*/
|
|
205
205
|
sort?: DestinationSortKeys;
|
|
206
206
|
/**
|
|
207
|
-
*
|
|
207
|
+
* Sort order of the response, ascending or descending.
|
|
208
208
|
*/
|
|
209
209
|
order?: OrderKeys;
|
|
210
210
|
};
|
|
@@ -213,7 +213,7 @@ export type GetDestinationsProps = {
|
|
|
213
213
|
*/
|
|
214
214
|
export type GetDockerSourceStreamsProps = {
|
|
215
215
|
/**
|
|
216
|
-
*
|
|
216
|
+
* Unique identifier of a source.
|
|
217
217
|
*/
|
|
218
218
|
sourceID: string;
|
|
219
219
|
};
|
|
@@ -222,11 +222,11 @@ export type GetDockerSourceStreamsProps = {
|
|
|
222
222
|
*/
|
|
223
223
|
export type GetEventProps = {
|
|
224
224
|
/**
|
|
225
|
-
*
|
|
225
|
+
* Unique identifier of a task run.
|
|
226
226
|
*/
|
|
227
227
|
runID: string;
|
|
228
228
|
/**
|
|
229
|
-
*
|
|
229
|
+
* Unique identifier of an event.
|
|
230
230
|
*/
|
|
231
231
|
eventID: string;
|
|
232
232
|
};
|
|
@@ -235,39 +235,39 @@ export type GetEventProps = {
|
|
|
235
235
|
*/
|
|
236
236
|
export type GetEventsProps = {
|
|
237
237
|
/**
|
|
238
|
-
*
|
|
238
|
+
* Unique identifier of a task run.
|
|
239
239
|
*/
|
|
240
240
|
runID: string;
|
|
241
241
|
/**
|
|
242
|
-
*
|
|
242
|
+
* Number of items per page.
|
|
243
243
|
*/
|
|
244
244
|
itemsPerPage?: number;
|
|
245
245
|
/**
|
|
246
|
-
*
|
|
246
|
+
* Page number of the paginated API response.
|
|
247
247
|
*/
|
|
248
248
|
page?: number;
|
|
249
249
|
/**
|
|
250
|
-
*
|
|
250
|
+
* Event status for filtering the list of task runs.
|
|
251
251
|
*/
|
|
252
252
|
status?: EventStatus[];
|
|
253
253
|
/**
|
|
254
|
-
*
|
|
254
|
+
* Event type for filtering the list of task runs.
|
|
255
255
|
*/
|
|
256
256
|
type?: EventType[];
|
|
257
257
|
/**
|
|
258
|
-
*
|
|
258
|
+
* Property by which to sort the list of task run events.
|
|
259
259
|
*/
|
|
260
260
|
sort?: EventSortKeys;
|
|
261
261
|
/**
|
|
262
|
-
*
|
|
262
|
+
* Sort order of the response, ascending or descending.
|
|
263
263
|
*/
|
|
264
264
|
order?: OrderKeys;
|
|
265
265
|
/**
|
|
266
|
-
*
|
|
266
|
+
* Date and time in RFC3339 format for the earliest events to retrieve. By default, the current time minus three hours is used.
|
|
267
267
|
*/
|
|
268
268
|
startDate?: string;
|
|
269
269
|
/**
|
|
270
|
-
*
|
|
270
|
+
* Date and time in RFC3339 format for the latest events to retrieve. By default, the current time is used.
|
|
271
271
|
*/
|
|
272
272
|
endDate?: string;
|
|
273
273
|
};
|
|
@@ -276,7 +276,7 @@ export type GetEventsProps = {
|
|
|
276
276
|
*/
|
|
277
277
|
export type GetRunProps = {
|
|
278
278
|
/**
|
|
279
|
-
*
|
|
279
|
+
* Unique identifier of a task run.
|
|
280
280
|
*/
|
|
281
281
|
runID: string;
|
|
282
282
|
};
|
|
@@ -285,35 +285,35 @@ export type GetRunProps = {
|
|
|
285
285
|
*/
|
|
286
286
|
export type GetRunsProps = {
|
|
287
287
|
/**
|
|
288
|
-
*
|
|
288
|
+
* Number of items per page.
|
|
289
289
|
*/
|
|
290
290
|
itemsPerPage?: number;
|
|
291
291
|
/**
|
|
292
|
-
*
|
|
292
|
+
* Page number of the paginated API response.
|
|
293
293
|
*/
|
|
294
294
|
page?: number;
|
|
295
295
|
/**
|
|
296
|
-
*
|
|
296
|
+
* Run status for filtering the list of task runs.
|
|
297
297
|
*/
|
|
298
298
|
status?: RunStatus[];
|
|
299
299
|
/**
|
|
300
|
-
*
|
|
300
|
+
* Task ID for filtering the list of task runs.
|
|
301
301
|
*/
|
|
302
302
|
taskID?: string;
|
|
303
303
|
/**
|
|
304
|
-
*
|
|
304
|
+
* Property by which to sort the list of task runs.
|
|
305
305
|
*/
|
|
306
306
|
sort?: RunSortKeys;
|
|
307
307
|
/**
|
|
308
|
-
*
|
|
308
|
+
* Sort order of the response, ascending or descending.
|
|
309
309
|
*/
|
|
310
310
|
order?: OrderKeys;
|
|
311
311
|
/**
|
|
312
|
-
*
|
|
312
|
+
* Date in RFC3339 format for the earliest run to retrieve. By default, the current day minus seven days is used.
|
|
313
313
|
*/
|
|
314
314
|
startDate?: string;
|
|
315
315
|
/**
|
|
316
|
-
*
|
|
316
|
+
* Date in RFC3339 format for the latest run to retrieve. By default, the current day is used.
|
|
317
317
|
*/
|
|
318
318
|
endDate?: string;
|
|
319
319
|
};
|
|
@@ -322,7 +322,7 @@ export type GetRunsProps = {
|
|
|
322
322
|
*/
|
|
323
323
|
export type GetSourceProps = {
|
|
324
324
|
/**
|
|
325
|
-
*
|
|
325
|
+
* Unique identifier of a source.
|
|
326
326
|
*/
|
|
327
327
|
sourceID: string;
|
|
328
328
|
};
|
|
@@ -331,27 +331,27 @@ export type GetSourceProps = {
|
|
|
331
331
|
*/
|
|
332
332
|
export type GetSourcesProps = {
|
|
333
333
|
/**
|
|
334
|
-
*
|
|
334
|
+
* Number of items per page.
|
|
335
335
|
*/
|
|
336
336
|
itemsPerPage?: number;
|
|
337
337
|
/**
|
|
338
|
-
*
|
|
338
|
+
* Page number of the paginated API response.
|
|
339
339
|
*/
|
|
340
340
|
page?: number;
|
|
341
341
|
/**
|
|
342
|
-
*
|
|
342
|
+
* Source type. Some sources require authentication.
|
|
343
343
|
*/
|
|
344
344
|
type?: SourceType[];
|
|
345
345
|
/**
|
|
346
|
-
*
|
|
346
|
+
* Authentication IDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication resource.
|
|
347
347
|
*/
|
|
348
348
|
authenticationID?: string[];
|
|
349
349
|
/**
|
|
350
|
-
*
|
|
350
|
+
* Property by which to sort the list of sources.
|
|
351
351
|
*/
|
|
352
352
|
sort?: SourceSortKeys;
|
|
353
353
|
/**
|
|
354
|
-
*
|
|
354
|
+
* Sort order of the response, ascending or descending.
|
|
355
355
|
*/
|
|
356
356
|
order?: OrderKeys;
|
|
357
357
|
};
|
|
@@ -360,7 +360,7 @@ export type GetSourcesProps = {
|
|
|
360
360
|
*/
|
|
361
361
|
export type GetTaskProps = {
|
|
362
362
|
/**
|
|
363
|
-
*
|
|
363
|
+
* Unique identifier of a task.
|
|
364
364
|
*/
|
|
365
365
|
taskID: string;
|
|
366
366
|
};
|
|
@@ -369,39 +369,39 @@ export type GetTaskProps = {
|
|
|
369
369
|
*/
|
|
370
370
|
export type GetTasksProps = {
|
|
371
371
|
/**
|
|
372
|
-
*
|
|
372
|
+
* Number of items per page.
|
|
373
373
|
*/
|
|
374
374
|
itemsPerPage?: number;
|
|
375
375
|
/**
|
|
376
|
-
*
|
|
376
|
+
* Page number of the paginated API response.
|
|
377
377
|
*/
|
|
378
378
|
page?: number;
|
|
379
379
|
/**
|
|
380
|
-
*
|
|
380
|
+
* Actions for filtering the list of tasks.
|
|
381
381
|
*/
|
|
382
382
|
action?: ActionType[];
|
|
383
383
|
/**
|
|
384
|
-
* Whether the
|
|
384
|
+
* Whether to filter the list of tasks by the `enabled` status.
|
|
385
385
|
*/
|
|
386
386
|
enabled?: boolean;
|
|
387
387
|
/**
|
|
388
|
-
*
|
|
388
|
+
* Source IDs for filtering the list of tasks.
|
|
389
389
|
*/
|
|
390
390
|
sourceID?: string[];
|
|
391
391
|
/**
|
|
392
|
-
*
|
|
392
|
+
* Destination IDs for filtering the list of tasks.
|
|
393
393
|
*/
|
|
394
394
|
destinationID?: string[];
|
|
395
395
|
/**
|
|
396
|
-
*
|
|
396
|
+
* Type of task trigger for filtering the list of tasks.
|
|
397
397
|
*/
|
|
398
398
|
triggerType?: TriggerType[];
|
|
399
399
|
/**
|
|
400
|
-
*
|
|
400
|
+
* Property by which to sort the list of tasks.
|
|
401
401
|
*/
|
|
402
402
|
sort?: TaskSortKeys;
|
|
403
403
|
/**
|
|
404
|
-
*
|
|
404
|
+
* Sort order of the response, ascending or descending.
|
|
405
405
|
*/
|
|
406
406
|
order?: OrderKeys;
|
|
407
407
|
};
|
|
@@ -410,7 +410,7 @@ export type GetTasksProps = {
|
|
|
410
410
|
*/
|
|
411
411
|
export type RunTaskProps = {
|
|
412
412
|
/**
|
|
413
|
-
*
|
|
413
|
+
* Unique identifier of a task.
|
|
414
414
|
*/
|
|
415
415
|
taskID: string;
|
|
416
416
|
};
|
|
@@ -419,7 +419,7 @@ export type RunTaskProps = {
|
|
|
419
419
|
*/
|
|
420
420
|
export type TriggerDockerSourceDiscoverProps = {
|
|
421
421
|
/**
|
|
422
|
-
*
|
|
422
|
+
* Unique identifier of a source.
|
|
423
423
|
*/
|
|
424
424
|
sourceID: string;
|
|
425
425
|
};
|
|
@@ -428,7 +428,7 @@ export type TriggerDockerSourceDiscoverProps = {
|
|
|
428
428
|
*/
|
|
429
429
|
export type UpdateAuthenticationProps = {
|
|
430
430
|
/**
|
|
431
|
-
*
|
|
431
|
+
* Unique identifier of an authentication resource.
|
|
432
432
|
*/
|
|
433
433
|
authenticationID: string;
|
|
434
434
|
authenticationUpdate: AuthenticationUpdate;
|
|
@@ -438,7 +438,7 @@ export type UpdateAuthenticationProps = {
|
|
|
438
438
|
*/
|
|
439
439
|
export type UpdateDestinationProps = {
|
|
440
440
|
/**
|
|
441
|
-
*
|
|
441
|
+
* Unique identifier of a destination.
|
|
442
442
|
*/
|
|
443
443
|
destinationID: string;
|
|
444
444
|
destinationUpdate: DestinationUpdate;
|
|
@@ -448,7 +448,7 @@ export type UpdateDestinationProps = {
|
|
|
448
448
|
*/
|
|
449
449
|
export type UpdateSourceProps = {
|
|
450
450
|
/**
|
|
451
|
-
*
|
|
451
|
+
* Unique identifier of a source.
|
|
452
452
|
*/
|
|
453
453
|
sourceID: string;
|
|
454
454
|
sourceUpdate: SourceUpdate;
|
|
@@ -458,7 +458,7 @@ export type UpdateSourceProps = {
|
|
|
458
458
|
*/
|
|
459
459
|
export type UpdateTaskProps = {
|
|
460
460
|
/**
|
|
461
|
-
*
|
|
461
|
+
* Unique identifier of a task.
|
|
462
462
|
*/
|
|
463
463
|
taskID: string;
|
|
464
464
|
taskUpdate: TaskUpdate;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Custom fields from
|
|
2
|
+
* 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).
|
|
3
3
|
*/
|
|
4
4
|
export type CommercetoolsCustomFields = {
|
|
5
5
|
/**
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import type { DestinationInput } from './destinationInput';
|
|
2
2
|
import type { DestinationType } from './destinationType';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Destinations are Algolia resources like indices or event streams.
|
|
5
5
|
*/
|
|
6
6
|
export type Destination = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
9
9
|
*/
|
|
10
10
|
destinationID: string;
|
|
11
11
|
type: DestinationType;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Descriptive name for the resource.
|
|
14
14
|
*/
|
|
15
15
|
name: string;
|
|
16
16
|
input: DestinationInput;
|
|
17
17
|
/**
|
|
18
|
-
* Date of creation
|
|
18
|
+
* Date of creation in RFC3339 format.
|
|
19
19
|
*/
|
|
20
20
|
createdAt: string;
|
|
21
21
|
/**
|
|
22
|
-
* Date of last update
|
|
22
|
+
* Date of last update in RFC3339 format.
|
|
23
23
|
*/
|
|
24
24
|
updatedAt?: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
27
27
|
*/
|
|
28
28
|
authenticationID?: string;
|
|
29
29
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { DestinationInput } from './destinationInput';
|
|
2
2
|
import type { DestinationType } from './destinationType';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* API request body for creating a new destination.
|
|
5
5
|
*/
|
|
6
6
|
export type DestinationCreate = {
|
|
7
7
|
type: DestinationType;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Descriptive name for the resource.
|
|
10
10
|
*/
|
|
11
11
|
name: string;
|
|
12
12
|
input: DestinationInput;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
15
15
|
*/
|
|
16
16
|
authenticationID?: string;
|
|
17
17
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* API response for creating a new destination.
|
|
3
3
|
*/
|
|
4
4
|
export type DestinationCreateResponse = {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
7
7
|
*/
|
|
8
8
|
destinationID: string;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Descriptive name for the resource.
|
|
11
11
|
*/
|
|
12
12
|
name: string;
|
|
13
13
|
/**
|
|
14
|
-
* Date of creation
|
|
14
|
+
* Date of creation in RFC3339 format.
|
|
15
15
|
*/
|
|
16
16
|
createdAt: string;
|
|
17
17
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { RecordType } from './recordType';
|
|
2
2
|
export type DestinationIndexName = {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Algolia index name.
|
|
5
5
|
*/
|
|
6
6
|
indexName: string;
|
|
7
7
|
recordType?: RecordType;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* 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.
|
|
10
10
|
*/
|
|
11
11
|
attributesToExclude?: string[];
|
|
12
12
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* 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>.
|
|
3
3
|
*/
|
|
4
|
-
export type DestinationType = '
|
|
4
|
+
export type DestinationType = 'insights' | 'search';
|
|
5
5
|
//# sourceMappingURL=destinationType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinationType.d.ts","sourceRoot":"","sources":["../../model/destinationType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,
|
|
1
|
+
{"version":3,"file":"destinationType.d.ts","sourceRoot":"","sources":["../../model/destinationType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,QAAQ,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { DestinationInput } from './destinationInput';
|
|
2
2
|
import type { DestinationType } from './destinationType';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* API request body for updating a destination.
|
|
5
5
|
*/
|
|
6
6
|
export type DestinationUpdate = {
|
|
7
7
|
type?: DestinationType;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Descriptive name for the resource.
|
|
10
10
|
*/
|
|
11
11
|
name?: string;
|
|
12
12
|
input?: DestinationInput;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
15
15
|
*/
|
|
16
16
|
authenticationID?: string;
|
|
17
17
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* API response for updating a destination.
|
|
3
3
|
*/
|
|
4
4
|
export type DestinationUpdateResponse = {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
7
7
|
*/
|
|
8
8
|
destinationID: string;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Descriptive name for the resource.
|
|
11
11
|
*/
|
|
12
12
|
name: string;
|
|
13
13
|
/**
|
|
14
|
-
* Date of last update
|
|
14
|
+
* Date of last update in RFC3339 format.
|
|
15
15
|
*/
|
|
16
16
|
updatedAt: string;
|
|
17
17
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export type DockerSourceDiscover = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Universally unique identifier (UUID) of a task run.
|
|
4
4
|
*/
|
|
5
5
|
runID: string;
|
|
6
6
|
/**
|
|
7
|
-
* Date of creation
|
|
7
|
+
* Date of creation in RFC3339 format.
|
|
8
8
|
*/
|
|
9
9
|
createdAt: string;
|
|
10
10
|
};
|