@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
|
@@ -37,7 +37,7 @@ import type { TaskCreateTrigger } from '../model/taskCreateTrigger';
|
|
|
37
37
|
import type { TaskSearch } from '../model/taskSearch';
|
|
38
38
|
import type { TaskUpdateResponse } from '../model/taskUpdateResponse';
|
|
39
39
|
import type { Trigger } from '../model/trigger';
|
|
40
|
-
export declare const apiClientVersion = "1.0.0-alpha.
|
|
40
|
+
export declare const apiClientVersion = "1.0.0-alpha.84";
|
|
41
41
|
export declare const REGIONS: readonly ["eu", "us"];
|
|
42
42
|
export type Region = (typeof REGIONS)[number];
|
|
43
43
|
/**
|
|
@@ -85,7 +85,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
85
85
|
*/
|
|
86
86
|
addAlgoliaAgent(segment: string, version?: string): void;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* Creates a new authentication resource.
|
|
89
89
|
*
|
|
90
90
|
* Required API Key ACLs:
|
|
91
91
|
* - addObject
|
|
@@ -97,7 +97,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
97
97
|
*/
|
|
98
98
|
createAuthentication(authenticationCreate: AuthenticationCreate, requestOptions?: RequestOptions): Promise<AuthenticationCreateResponse>;
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* Creates a new destination.
|
|
101
101
|
*
|
|
102
102
|
* Required API Key ACLs:
|
|
103
103
|
* - addObject
|
|
@@ -109,7 +109,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
109
109
|
*/
|
|
110
110
|
createDestination(destinationCreate: DestinationCreate, requestOptions?: RequestOptions): Promise<DestinationCreateResponse>;
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Creates a new source.
|
|
113
113
|
*
|
|
114
114
|
* Required API Key ACLs:
|
|
115
115
|
* - addObject
|
|
@@ -121,9 +121,9 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
121
121
|
*/
|
|
122
122
|
createSource(sourceCreate: SourceCreate, requestOptions?: RequestOptions): Promise<SourceCreateResponse>;
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
124
|
+
* Creates a new task.
|
|
125
125
|
*
|
|
126
|
-
* @param taskCreate
|
|
126
|
+
* @param taskCreate - Request body for creating a task.
|
|
127
127
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
128
128
|
*/
|
|
129
129
|
createTask(taskCreate: TaskCreate, requestOptions?: RequestOptions): Promise<TaskCreateResponse>;
|
|
@@ -166,7 +166,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
166
166
|
*/
|
|
167
167
|
customPut({ path, parameters, body }: CustomPutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
168
168
|
/**
|
|
169
|
-
*
|
|
169
|
+
* Deletes an authentication resource. You can\'t delete authentication resources that are used by a source or a destination.
|
|
170
170
|
*
|
|
171
171
|
* Required API Key ACLs:
|
|
172
172
|
* - addObject
|
|
@@ -174,12 +174,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
174
174
|
* - editSettings.
|
|
175
175
|
*
|
|
176
176
|
* @param deleteAuthentication - The deleteAuthentication object.
|
|
177
|
-
* @param deleteAuthentication.authenticationID -
|
|
177
|
+
* @param deleteAuthentication.authenticationID - Unique identifier of an authentication resource.
|
|
178
178
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
179
179
|
*/
|
|
180
180
|
deleteAuthentication({ authenticationID }: DeleteAuthenticationProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
182
|
+
* Deletes a destination by its ID. You can\'t delete destinations that are referenced in tasks.
|
|
183
183
|
*
|
|
184
184
|
* Required API Key ACLs:
|
|
185
185
|
* - addObject
|
|
@@ -187,12 +187,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
187
187
|
* - editSettings.
|
|
188
188
|
*
|
|
189
189
|
* @param deleteDestination - The deleteDestination object.
|
|
190
|
-
* @param deleteDestination.destinationID -
|
|
190
|
+
* @param deleteDestination.destinationID - Unique identifier of a destination.
|
|
191
191
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
192
192
|
*/
|
|
193
193
|
deleteDestination({ destinationID }: DeleteDestinationProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
194
194
|
/**
|
|
195
|
-
*
|
|
195
|
+
* Deletes a source by its ID. You can\'t delete sources that are referenced in tasks.
|
|
196
196
|
*
|
|
197
197
|
* Required API Key ACLs:
|
|
198
198
|
* - addObject
|
|
@@ -200,20 +200,20 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
200
200
|
* - editSettings.
|
|
201
201
|
*
|
|
202
202
|
* @param deleteSource - The deleteSource object.
|
|
203
|
-
* @param deleteSource.sourceID -
|
|
203
|
+
* @param deleteSource.sourceID - Unique identifier of a source.
|
|
204
204
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
205
205
|
*/
|
|
206
206
|
deleteSource({ sourceID }: DeleteSourceProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
207
207
|
/**
|
|
208
|
-
*
|
|
208
|
+
* Deletes a task by its ID.
|
|
209
209
|
*
|
|
210
210
|
* @param deleteTask - The deleteTask object.
|
|
211
|
-
* @param deleteTask.taskID -
|
|
211
|
+
* @param deleteTask.taskID - Unique identifier of a task.
|
|
212
212
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
213
213
|
*/
|
|
214
214
|
deleteTask({ taskID }: DeleteTaskProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
215
215
|
/**
|
|
216
|
-
*
|
|
216
|
+
* Disables a task.
|
|
217
217
|
*
|
|
218
218
|
* Required API Key ACLs:
|
|
219
219
|
* - addObject
|
|
@@ -221,12 +221,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
221
221
|
* - editSettings.
|
|
222
222
|
*
|
|
223
223
|
* @param disableTask - The disableTask object.
|
|
224
|
-
* @param disableTask.taskID -
|
|
224
|
+
* @param disableTask.taskID - Unique identifier of a task.
|
|
225
225
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
226
226
|
*/
|
|
227
227
|
disableTask({ taskID }: DisableTaskProps, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
|
|
228
228
|
/**
|
|
229
|
-
*
|
|
229
|
+
* Enables a task.
|
|
230
230
|
*
|
|
231
231
|
* Required API Key ACLs:
|
|
232
232
|
* - addObject
|
|
@@ -234,12 +234,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
234
234
|
* - editSettings.
|
|
235
235
|
*
|
|
236
236
|
* @param enableTask - The enableTask object.
|
|
237
|
-
* @param enableTask.taskID -
|
|
237
|
+
* @param enableTask.taskID - Unique identifier of a task.
|
|
238
238
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
239
239
|
*/
|
|
240
240
|
enableTask({ taskID }: EnableTaskProps, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
|
|
241
241
|
/**
|
|
242
|
-
*
|
|
242
|
+
* Retrieves an authentication resource by its ID.
|
|
243
243
|
*
|
|
244
244
|
* Required API Key ACLs:
|
|
245
245
|
* - addObject
|
|
@@ -247,12 +247,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
247
247
|
* - editSettings.
|
|
248
248
|
*
|
|
249
249
|
* @param getAuthentication - The getAuthentication object.
|
|
250
|
-
* @param getAuthentication.authenticationID -
|
|
250
|
+
* @param getAuthentication.authenticationID - Unique identifier of an authentication resource.
|
|
251
251
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
252
252
|
*/
|
|
253
253
|
getAuthentication({ authenticationID }: GetAuthenticationProps, requestOptions?: RequestOptions): Promise<Authentication>;
|
|
254
254
|
/**
|
|
255
|
-
*
|
|
255
|
+
* Retrieves a list of all authentication resources.
|
|
256
256
|
*
|
|
257
257
|
* Required API Key ACLs:
|
|
258
258
|
* - addObject
|
|
@@ -260,17 +260,17 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
260
260
|
* - editSettings.
|
|
261
261
|
*
|
|
262
262
|
* @param getAuthentications - The getAuthentications object.
|
|
263
|
-
* @param getAuthentications.itemsPerPage -
|
|
264
|
-
* @param getAuthentications.page -
|
|
265
|
-
* @param getAuthentications.type -
|
|
266
|
-
* @param getAuthentications.platform -
|
|
267
|
-
* @param getAuthentications.sort -
|
|
268
|
-
* @param getAuthentications.order -
|
|
263
|
+
* @param getAuthentications.itemsPerPage - Number of items per page.
|
|
264
|
+
* @param getAuthentications.page - Page number of the paginated API response.
|
|
265
|
+
* @param getAuthentications.type - Type of authentication resource to retrieve.
|
|
266
|
+
* @param getAuthentications.platform - Ecommerce platform for which to retrieve authentication resources.
|
|
267
|
+
* @param getAuthentications.sort - Property by which to sort the list of authentication resources.
|
|
268
|
+
* @param getAuthentications.order - Sort order of the response, ascending or descending.
|
|
269
269
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
270
270
|
*/
|
|
271
271
|
getAuthentications({ itemsPerPage, page, type, platform, sort, order, }?: GetAuthenticationsProps, requestOptions?: RequestOptions | undefined): Promise<ListAuthenticationsResponse>;
|
|
272
272
|
/**
|
|
273
|
-
*
|
|
273
|
+
* Retrieves a destination by its ID.
|
|
274
274
|
*
|
|
275
275
|
* Required API Key ACLs:
|
|
276
276
|
* - addObject
|
|
@@ -278,12 +278,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
278
278
|
* - editSettings.
|
|
279
279
|
*
|
|
280
280
|
* @param getDestination - The getDestination object.
|
|
281
|
-
* @param getDestination.destinationID -
|
|
281
|
+
* @param getDestination.destinationID - Unique identifier of a destination.
|
|
282
282
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
283
283
|
*/
|
|
284
284
|
getDestination({ destinationID }: GetDestinationProps, requestOptions?: RequestOptions): Promise<Destination>;
|
|
285
285
|
/**
|
|
286
|
-
*
|
|
286
|
+
* Retrieves a list of destinations.
|
|
287
287
|
*
|
|
288
288
|
* Required API Key ACLs:
|
|
289
289
|
* - addObject
|
|
@@ -291,17 +291,17 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
291
291
|
* - editSettings.
|
|
292
292
|
*
|
|
293
293
|
* @param getDestinations - The getDestinations object.
|
|
294
|
-
* @param getDestinations.itemsPerPage -
|
|
295
|
-
* @param getDestinations.page -
|
|
296
|
-
* @param getDestinations.type -
|
|
297
|
-
* @param getDestinations.authenticationID -
|
|
298
|
-
* @param getDestinations.sort -
|
|
299
|
-
* @param getDestinations.order -
|
|
294
|
+
* @param getDestinations.itemsPerPage - Number of items per page.
|
|
295
|
+
* @param getDestinations.page - Page number of the paginated API response.
|
|
296
|
+
* @param getDestinations.type - Destination type.
|
|
297
|
+
* @param getDestinations.authenticationID - Authentication ID used by destinations.
|
|
298
|
+
* @param getDestinations.sort - Property by which to sort the destinations.
|
|
299
|
+
* @param getDestinations.order - Sort order of the response, ascending or descending.
|
|
300
300
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
301
301
|
*/
|
|
302
302
|
getDestinations({ itemsPerPage, page, type, authenticationID, sort, order, }?: GetDestinationsProps, requestOptions?: RequestOptions | undefined): Promise<ListDestinationsResponse>;
|
|
303
303
|
/**
|
|
304
|
-
*
|
|
304
|
+
* Retrieves a stream listing for a source. Listing streams only works with sources with `type: docker` and `imageType: singer`.
|
|
305
305
|
*
|
|
306
306
|
* Required API Key ACLs:
|
|
307
307
|
* - addObject
|
|
@@ -309,12 +309,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
309
309
|
* - editSettings.
|
|
310
310
|
*
|
|
311
311
|
* @param getDockerSourceStreams - The getDockerSourceStreams object.
|
|
312
|
-
* @param getDockerSourceStreams.sourceID -
|
|
312
|
+
* @param getDockerSourceStreams.sourceID - Unique identifier of a source.
|
|
313
313
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
314
314
|
*/
|
|
315
315
|
getDockerSourceStreams({ sourceID }: GetDockerSourceStreamsProps, requestOptions?: RequestOptions): Promise<DockerSourceStreams>;
|
|
316
316
|
/**
|
|
317
|
-
*
|
|
317
|
+
* Retrieves a single task run event by its ID.
|
|
318
318
|
*
|
|
319
319
|
* Required API Key ACLs:
|
|
320
320
|
* - addObject
|
|
@@ -322,13 +322,13 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
322
322
|
* - editSettings.
|
|
323
323
|
*
|
|
324
324
|
* @param getEvent - The getEvent object.
|
|
325
|
-
* @param getEvent.runID -
|
|
326
|
-
* @param getEvent.eventID -
|
|
325
|
+
* @param getEvent.runID - Unique identifier of a task run.
|
|
326
|
+
* @param getEvent.eventID - Unique identifier of an event.
|
|
327
327
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
328
328
|
*/
|
|
329
329
|
getEvent({ runID, eventID }: GetEventProps, requestOptions?: RequestOptions): Promise<Event>;
|
|
330
330
|
/**
|
|
331
|
-
*
|
|
331
|
+
* Retrieves a list of events for a task run, identified by it\'s ID.
|
|
332
332
|
*
|
|
333
333
|
* Required API Key ACLs:
|
|
334
334
|
* - addObject
|
|
@@ -336,20 +336,20 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
336
336
|
* - editSettings.
|
|
337
337
|
*
|
|
338
338
|
* @param getEvents - The getEvents object.
|
|
339
|
-
* @param getEvents.runID -
|
|
340
|
-
* @param getEvents.itemsPerPage -
|
|
341
|
-
* @param getEvents.page -
|
|
342
|
-
* @param getEvents.status -
|
|
343
|
-
* @param getEvents.type -
|
|
344
|
-
* @param getEvents.sort -
|
|
345
|
-
* @param getEvents.order -
|
|
346
|
-
* @param getEvents.startDate -
|
|
347
|
-
* @param getEvents.endDate -
|
|
339
|
+
* @param getEvents.runID - Unique identifier of a task run.
|
|
340
|
+
* @param getEvents.itemsPerPage - Number of items per page.
|
|
341
|
+
* @param getEvents.page - Page number of the paginated API response.
|
|
342
|
+
* @param getEvents.status - Event status for filtering the list of task runs.
|
|
343
|
+
* @param getEvents.type - Event type for filtering the list of task runs.
|
|
344
|
+
* @param getEvents.sort - Property by which to sort the list of task run events.
|
|
345
|
+
* @param getEvents.order - Sort order of the response, ascending or descending.
|
|
346
|
+
* @param getEvents.startDate - Date and time in RFC3339 format for the earliest events to retrieve. By default, the current time minus three hours is used.
|
|
347
|
+
* @param getEvents.endDate - Date and time in RFC3339 format for the latest events to retrieve. By default, the current time is used.
|
|
348
348
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
349
349
|
*/
|
|
350
350
|
getEvents({ runID, itemsPerPage, page, status, type, sort, order, startDate, endDate, }: GetEventsProps, requestOptions?: RequestOptions): Promise<ListEventsResponse>;
|
|
351
351
|
/**
|
|
352
|
-
*
|
|
352
|
+
* Retrieve a single task run by its ID.
|
|
353
353
|
*
|
|
354
354
|
* Required API Key ACLs:
|
|
355
355
|
* - addObject
|
|
@@ -357,12 +357,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
357
357
|
* - editSettings.
|
|
358
358
|
*
|
|
359
359
|
* @param getRun - The getRun object.
|
|
360
|
-
* @param getRun.runID -
|
|
360
|
+
* @param getRun.runID - Unique identifier of a task run.
|
|
361
361
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
362
362
|
*/
|
|
363
363
|
getRun({ runID }: GetRunProps, requestOptions?: RequestOptions): Promise<Run>;
|
|
364
364
|
/**
|
|
365
|
-
*
|
|
365
|
+
* Retrieve a list of task runs.
|
|
366
366
|
*
|
|
367
367
|
* Required API Key ACLs:
|
|
368
368
|
* - addObject
|
|
@@ -370,19 +370,19 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
370
370
|
* - editSettings.
|
|
371
371
|
*
|
|
372
372
|
* @param getRuns - The getRuns object.
|
|
373
|
-
* @param getRuns.itemsPerPage -
|
|
374
|
-
* @param getRuns.page -
|
|
375
|
-
* @param getRuns.status -
|
|
376
|
-
* @param getRuns.taskID -
|
|
377
|
-
* @param getRuns.sort -
|
|
378
|
-
* @param getRuns.order -
|
|
379
|
-
* @param getRuns.startDate -
|
|
380
|
-
* @param getRuns.endDate -
|
|
373
|
+
* @param getRuns.itemsPerPage - Number of items per page.
|
|
374
|
+
* @param getRuns.page - Page number of the paginated API response.
|
|
375
|
+
* @param getRuns.status - Run status for filtering the list of task runs.
|
|
376
|
+
* @param getRuns.taskID - Task ID for filtering the list of task runs.
|
|
377
|
+
* @param getRuns.sort - Property by which to sort the list of task runs.
|
|
378
|
+
* @param getRuns.order - Sort order of the response, ascending or descending.
|
|
379
|
+
* @param getRuns.startDate - Date in RFC3339 format for the earliest run to retrieve. By default, the current day minus seven days is used.
|
|
380
|
+
* @param getRuns.endDate - Date in RFC3339 format for the latest run to retrieve. By default, the current day is used.
|
|
381
381
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
382
382
|
*/
|
|
383
383
|
getRuns({ itemsPerPage, page, status, taskID, sort, order, startDate, endDate, }?: GetRunsProps, requestOptions?: RequestOptions | undefined): Promise<RunListResponse>;
|
|
384
384
|
/**
|
|
385
|
-
*
|
|
385
|
+
* Retrieve a source by its ID.
|
|
386
386
|
*
|
|
387
387
|
* Required API Key ACLs:
|
|
388
388
|
* - addObject
|
|
@@ -390,12 +390,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
390
390
|
* - editSettings.
|
|
391
391
|
*
|
|
392
392
|
* @param getSource - The getSource object.
|
|
393
|
-
* @param getSource.sourceID -
|
|
393
|
+
* @param getSource.sourceID - Unique identifier of a source.
|
|
394
394
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
395
395
|
*/
|
|
396
396
|
getSource({ sourceID }: GetSourceProps, requestOptions?: RequestOptions): Promise<Source>;
|
|
397
397
|
/**
|
|
398
|
-
*
|
|
398
|
+
* Retrieves a list of sources.
|
|
399
399
|
*
|
|
400
400
|
* Required API Key ACLs:
|
|
401
401
|
* - addObject
|
|
@@ -403,17 +403,17 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
403
403
|
* - editSettings.
|
|
404
404
|
*
|
|
405
405
|
* @param getSources - The getSources object.
|
|
406
|
-
* @param getSources.itemsPerPage -
|
|
407
|
-
* @param getSources.page -
|
|
408
|
-
* @param getSources.type -
|
|
409
|
-
* @param getSources.authenticationID -
|
|
410
|
-
* @param getSources.sort -
|
|
411
|
-
* @param getSources.order -
|
|
406
|
+
* @param getSources.itemsPerPage - Number of items per page.
|
|
407
|
+
* @param getSources.page - Page number of the paginated API response.
|
|
408
|
+
* @param getSources.type - Source type. Some sources require authentication.
|
|
409
|
+
* @param getSources.authenticationID - Authentication IDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication resource.
|
|
410
|
+
* @param getSources.sort - Property by which to sort the list of sources.
|
|
411
|
+
* @param getSources.order - Sort order of the response, ascending or descending.
|
|
412
412
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
413
413
|
*/
|
|
414
414
|
getSources({ itemsPerPage, page, type, authenticationID, sort, order, }?: GetSourcesProps, requestOptions?: RequestOptions | undefined): Promise<ListSourcesResponse>;
|
|
415
415
|
/**
|
|
416
|
-
*
|
|
416
|
+
* Retrieves a task by its ID.
|
|
417
417
|
*
|
|
418
418
|
* Required API Key ACLs:
|
|
419
419
|
* - addObject
|
|
@@ -421,12 +421,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
421
421
|
* - editSettings.
|
|
422
422
|
*
|
|
423
423
|
* @param getTask - The getTask object.
|
|
424
|
-
* @param getTask.taskID -
|
|
424
|
+
* @param getTask.taskID - Unique identifier of a task.
|
|
425
425
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
426
426
|
*/
|
|
427
427
|
getTask({ taskID }: GetTaskProps, requestOptions?: RequestOptions): Promise<Task>;
|
|
428
428
|
/**
|
|
429
|
-
*
|
|
429
|
+
* Retrieves a list of tasks.
|
|
430
430
|
*
|
|
431
431
|
* Required API Key ACLs:
|
|
432
432
|
* - addObject
|
|
@@ -434,20 +434,20 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
434
434
|
* - editSettings.
|
|
435
435
|
*
|
|
436
436
|
* @param getTasks - The getTasks object.
|
|
437
|
-
* @param getTasks.itemsPerPage -
|
|
438
|
-
* @param getTasks.page -
|
|
439
|
-
* @param getTasks.action -
|
|
440
|
-
* @param getTasks.enabled - Whether the
|
|
441
|
-
* @param getTasks.sourceID -
|
|
442
|
-
* @param getTasks.destinationID -
|
|
443
|
-
* @param getTasks.triggerType -
|
|
444
|
-
* @param getTasks.sort -
|
|
445
|
-
* @param getTasks.order -
|
|
437
|
+
* @param getTasks.itemsPerPage - Number of items per page.
|
|
438
|
+
* @param getTasks.page - Page number of the paginated API response.
|
|
439
|
+
* @param getTasks.action - Actions for filtering the list of tasks.
|
|
440
|
+
* @param getTasks.enabled - Whether to filter the list of tasks by the `enabled` status.
|
|
441
|
+
* @param getTasks.sourceID - Source IDs for filtering the list of tasks.
|
|
442
|
+
* @param getTasks.destinationID - Destination IDs for filtering the list of tasks.
|
|
443
|
+
* @param getTasks.triggerType - Type of task trigger for filtering the list of tasks.
|
|
444
|
+
* @param getTasks.sort - Property by which to sort the list of tasks.
|
|
445
|
+
* @param getTasks.order - Sort order of the response, ascending or descending.
|
|
446
446
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
447
447
|
*/
|
|
448
448
|
getTasks({ itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, }?: GetTasksProps, requestOptions?: RequestOptions | undefined): Promise<ListTasksResponse>;
|
|
449
449
|
/**
|
|
450
|
-
*
|
|
450
|
+
* Runs a task. You can check the status of task runs with the observability endpoints.
|
|
451
451
|
*
|
|
452
452
|
* Required API Key ACLs:
|
|
453
453
|
* - addObject
|
|
@@ -455,12 +455,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
455
455
|
* - editSettings.
|
|
456
456
|
*
|
|
457
457
|
* @param runTask - The runTask object.
|
|
458
|
-
* @param runTask.taskID -
|
|
458
|
+
* @param runTask.taskID - Unique identifier of a task.
|
|
459
459
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
460
460
|
*/
|
|
461
461
|
runTask({ taskID }: RunTaskProps, requestOptions?: RequestOptions): Promise<RunResponse>;
|
|
462
462
|
/**
|
|
463
|
-
*
|
|
463
|
+
* Searches for authentication resources.
|
|
464
464
|
*
|
|
465
465
|
* Required API Key ACLs:
|
|
466
466
|
* - addObject
|
|
@@ -472,7 +472,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
472
472
|
*/
|
|
473
473
|
searchAuthentications(authenticationSearch: AuthenticationSearch, requestOptions?: RequestOptions): Promise<Authentication[]>;
|
|
474
474
|
/**
|
|
475
|
-
*
|
|
475
|
+
* Searches for destinations.
|
|
476
476
|
*
|
|
477
477
|
* Required API Key ACLs:
|
|
478
478
|
* - addObject
|
|
@@ -484,7 +484,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
484
484
|
*/
|
|
485
485
|
searchDestinations(destinationSearch: DestinationSearch, requestOptions?: RequestOptions): Promise<Destination[]>;
|
|
486
486
|
/**
|
|
487
|
-
*
|
|
487
|
+
* Searches for sources.
|
|
488
488
|
*
|
|
489
489
|
* Required API Key ACLs:
|
|
490
490
|
* - addObject
|
|
@@ -496,7 +496,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
496
496
|
*/
|
|
497
497
|
searchSources(sourceSearch: SourceSearch, requestOptions?: RequestOptions): Promise<Source[]>;
|
|
498
498
|
/**
|
|
499
|
-
*
|
|
499
|
+
* Searches for tasks.
|
|
500
500
|
*
|
|
501
501
|
* Required API Key ACLs:
|
|
502
502
|
* - addObject
|
|
@@ -508,7 +508,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
508
508
|
*/
|
|
509
509
|
searchTasks(taskSearch: TaskSearch, requestOptions?: RequestOptions): Promise<Task[]>;
|
|
510
510
|
/**
|
|
511
|
-
*
|
|
511
|
+
* Triggers a stream-listing request for a source. Triggering stream-listing requests only works with sources with `type: docker` and `imageType: singer`.
|
|
512
512
|
*
|
|
513
513
|
* Required API Key ACLs:
|
|
514
514
|
* - addObject
|
|
@@ -516,12 +516,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
516
516
|
* - editSettings.
|
|
517
517
|
*
|
|
518
518
|
* @param triggerDockerSourceDiscover - The triggerDockerSourceDiscover object.
|
|
519
|
-
* @param triggerDockerSourceDiscover.sourceID -
|
|
519
|
+
* @param triggerDockerSourceDiscover.sourceID - Unique identifier of a source.
|
|
520
520
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
521
521
|
*/
|
|
522
522
|
triggerDockerSourceDiscover({ sourceID }: TriggerDockerSourceDiscoverProps, requestOptions?: RequestOptions): Promise<DockerSourceDiscover>;
|
|
523
523
|
/**
|
|
524
|
-
*
|
|
524
|
+
* Updates an authentication resource.
|
|
525
525
|
*
|
|
526
526
|
* Required API Key ACLs:
|
|
527
527
|
* - addObject
|
|
@@ -529,13 +529,13 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
529
529
|
* - editSettings.
|
|
530
530
|
*
|
|
531
531
|
* @param updateAuthentication - The updateAuthentication object.
|
|
532
|
-
* @param updateAuthentication.authenticationID -
|
|
532
|
+
* @param updateAuthentication.authenticationID - Unique identifier of an authentication resource.
|
|
533
533
|
* @param updateAuthentication.authenticationUpdate - The authenticationUpdate object.
|
|
534
534
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
535
535
|
*/
|
|
536
536
|
updateAuthentication({ authenticationID, authenticationUpdate }: UpdateAuthenticationProps, requestOptions?: RequestOptions): Promise<AuthenticationUpdateResponse>;
|
|
537
537
|
/**
|
|
538
|
-
*
|
|
538
|
+
* Updates the destination by its ID.
|
|
539
539
|
*
|
|
540
540
|
* Required API Key ACLs:
|
|
541
541
|
* - addObject
|
|
@@ -543,13 +543,13 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
543
543
|
* - editSettings.
|
|
544
544
|
*
|
|
545
545
|
* @param updateDestination - The updateDestination object.
|
|
546
|
-
* @param updateDestination.destinationID -
|
|
546
|
+
* @param updateDestination.destinationID - Unique identifier of a destination.
|
|
547
547
|
* @param updateDestination.destinationUpdate - The destinationUpdate object.
|
|
548
548
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
549
549
|
*/
|
|
550
550
|
updateDestination({ destinationID, destinationUpdate }: UpdateDestinationProps, requestOptions?: RequestOptions): Promise<DestinationUpdateResponse>;
|
|
551
551
|
/**
|
|
552
|
-
*
|
|
552
|
+
* Updates a source by its ID.
|
|
553
553
|
*
|
|
554
554
|
* Required API Key ACLs:
|
|
555
555
|
* - addObject
|
|
@@ -557,16 +557,16 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
557
557
|
* - editSettings.
|
|
558
558
|
*
|
|
559
559
|
* @param updateSource - The updateSource object.
|
|
560
|
-
* @param updateSource.sourceID -
|
|
560
|
+
* @param updateSource.sourceID - Unique identifier of a source.
|
|
561
561
|
* @param updateSource.sourceUpdate - The sourceUpdate object.
|
|
562
562
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
563
563
|
*/
|
|
564
564
|
updateSource({ sourceID, sourceUpdate }: UpdateSourceProps, requestOptions?: RequestOptions): Promise<SourceUpdateResponse>;
|
|
565
565
|
/**
|
|
566
|
-
*
|
|
566
|
+
* Updates a task by its ID.
|
|
567
567
|
*
|
|
568
568
|
* @param updateTask - The updateTask object.
|
|
569
|
-
* @param updateTask.taskID -
|
|
569
|
+
* @param updateTask.taskID - Unique identifier of a task.
|
|
570
570
|
* @param updateTask.taskUpdate - The taskUpdate object.
|
|
571
571
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
572
572
|
*/
|
package/model/actionType.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
|
+
* Action to perform on the Algolia index.
|
|
5
5
|
*/
|
|
6
6
|
export type ActionType = 'append' | 'partial' | 'replace' | 'save';
|
package/model/authAPIKey.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Credentials for authenticating with an API key.
|
|
5
5
|
*/
|
|
6
6
|
export type AuthAPIKey = {
|
|
7
|
+
/**
|
|
8
|
+
* API key. This field is `null` in the API response.
|
|
9
|
+
*/
|
|
7
10
|
key: string;
|
|
8
11
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Credentials for authenticating with an API key.
|
|
5
5
|
*/
|
|
6
6
|
export type AuthAPIKeyPartial = {
|
|
7
|
+
/**
|
|
8
|
+
* API key. This field is `null` in the API response.
|
|
9
|
+
*/
|
|
7
10
|
key?: string;
|
|
8
11
|
};
|
package/model/authAlgolia.ts
CHANGED
|
@@ -1,13 +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
|
+
/**
|
|
4
|
+
* Credentials for authenticating with Algolia.
|
|
5
|
+
*/
|
|
3
6
|
export type AuthAlgolia = {
|
|
4
7
|
/**
|
|
5
|
-
* Algolia
|
|
8
|
+
* Algolia application ID.
|
|
6
9
|
*/
|
|
7
10
|
appID: string;
|
|
8
11
|
|
|
9
12
|
/**
|
|
10
|
-
* Algolia API
|
|
13
|
+
* Algolia API key with the ACL: `addObject`, `deleteObject`, `settings`, `editSettings`, `listIndexes`, `deleteIndex`. This field is `null` in the API response.
|
|
11
14
|
*/
|
|
12
15
|
apiKey: string;
|
|
13
16
|
};
|
|
@@ -1,13 +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
|
+
/**
|
|
4
|
+
* Credentials for authenticating with Algolia.
|
|
5
|
+
*/
|
|
3
6
|
export type AuthAlgoliaPartial = {
|
|
4
7
|
/**
|
|
5
|
-
* Algolia
|
|
8
|
+
* Algolia application ID.
|
|
6
9
|
*/
|
|
7
10
|
appID?: string;
|
|
8
11
|
|
|
9
12
|
/**
|
|
10
|
-
* Algolia API
|
|
13
|
+
* Algolia API key with the ACL: `addObject`, `deleteObject`, `settings`, `editSettings`, `listIndexes`, `deleteIndex`. This field is `null` in the API response.
|
|
11
14
|
*/
|
|
12
15
|
apiKey?: string;
|
|
13
16
|
};
|
package/model/authBasic.ts
CHANGED
|
@@ -1,10 +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
|
-
*
|
|
4
|
+
* Credentials for authenticating with user name and password.
|
|
5
5
|
*/
|
|
6
6
|
export type AuthBasic = {
|
|
7
|
+
/**
|
|
8
|
+
* Username.
|
|
9
|
+
*/
|
|
7
10
|
username: string;
|
|
8
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Password. This field is `null` in the API response.
|
|
14
|
+
*/
|
|
9
15
|
password: string;
|
|
10
16
|
};
|