@algolia/ingestion 1.41.0 → 1.42.0
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/README.md +4 -4
- package/dist/browser.d.ts +51 -1
- package/dist/builds/browser.js +51 -1
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +1 -1
- package/dist/builds/fetch.js +51 -1
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +51 -1
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +51 -1
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +51 -1
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +51 -1
- package/dist/node.d.cts +51 -1
- package/dist/node.d.ts +51 -1
- package/dist/src/ingestionClient.cjs +51 -1
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +51 -1
- package/dist/src/ingestionClient.js.map +1 -1
- package/dist/worker.d.ts +51 -1
- package/package.json +6 -6
package/dist/fetch.d.ts
CHANGED
|
@@ -2486,7 +2486,7 @@ type ChunkedPushOptions = {
|
|
|
2486
2486
|
objects: Array<Record<string, unknown>>;
|
|
2487
2487
|
};
|
|
2488
2488
|
|
|
2489
|
-
declare const apiClientVersion = "1.
|
|
2489
|
+
declare const apiClientVersion = "1.42.0";
|
|
2490
2490
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2491
2491
|
type Region = (typeof REGIONS)[number];
|
|
2492
2492
|
type RegionOptions = {
|
|
@@ -2596,6 +2596,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2596
2596
|
createSource(sourceCreate: SourceCreate, requestOptions?: RequestOptions): Promise<SourceCreateResponse>;
|
|
2597
2597
|
/**
|
|
2598
2598
|
* Creates a new task.
|
|
2599
|
+
*
|
|
2600
|
+
* Required API Key ACLs:
|
|
2601
|
+
* - addObject
|
|
2602
|
+
* - deleteIndex
|
|
2603
|
+
* - editSettings
|
|
2599
2604
|
* @param taskCreate - Request body for creating a task.
|
|
2600
2605
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2601
2606
|
*/
|
|
@@ -2603,6 +2608,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2603
2608
|
/**
|
|
2604
2609
|
* Creates a new task using the v1 endpoint, please use `createTask` instead.
|
|
2605
2610
|
*
|
|
2611
|
+
* Required API Key ACLs:
|
|
2612
|
+
* - addObject
|
|
2613
|
+
* - deleteIndex
|
|
2614
|
+
* - editSettings
|
|
2615
|
+
*
|
|
2606
2616
|
* @deprecated
|
|
2607
2617
|
* @param taskCreate - Request body for creating a task.
|
|
2608
2618
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2610,6 +2620,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2610
2620
|
createTaskV1(taskCreate: TaskCreateV1, requestOptions?: RequestOptions): Promise<TaskCreateResponse>;
|
|
2611
2621
|
/**
|
|
2612
2622
|
* Creates a new transformation.
|
|
2623
|
+
*
|
|
2624
|
+
* Required API Key ACLs:
|
|
2625
|
+
* - addObject
|
|
2626
|
+
* - deleteIndex
|
|
2627
|
+
* - editSettings
|
|
2613
2628
|
* @param transformationCreate - Request body for creating a transformation.
|
|
2614
2629
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2615
2630
|
*/
|
|
@@ -2686,6 +2701,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2686
2701
|
deleteSource({ sourceID }: DeleteSourceProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
2687
2702
|
/**
|
|
2688
2703
|
* Deletes a task by its ID.
|
|
2704
|
+
*
|
|
2705
|
+
* Required API Key ACLs:
|
|
2706
|
+
* - addObject
|
|
2707
|
+
* - deleteIndex
|
|
2708
|
+
* - editSettings
|
|
2689
2709
|
* @param deleteTask - The deleteTask object.
|
|
2690
2710
|
* @param deleteTask.taskID - Unique identifier of a task.
|
|
2691
2711
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2694,6 +2714,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2694
2714
|
/**
|
|
2695
2715
|
* Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
|
|
2696
2716
|
*
|
|
2717
|
+
* Required API Key ACLs:
|
|
2718
|
+
* - addObject
|
|
2719
|
+
* - deleteIndex
|
|
2720
|
+
* - editSettings
|
|
2721
|
+
*
|
|
2697
2722
|
* @deprecated
|
|
2698
2723
|
* @param deleteTaskV1 - The deleteTaskV1 object.
|
|
2699
2724
|
* @param deleteTaskV1.taskID - Unique identifier of a task.
|
|
@@ -2702,6 +2727,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2702
2727
|
deleteTaskV1({ taskID }: DeleteTaskV1Props, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
2703
2728
|
/**
|
|
2704
2729
|
* Deletes a transformation by its ID.
|
|
2730
|
+
*
|
|
2731
|
+
* Required API Key ACLs:
|
|
2732
|
+
* - addObject
|
|
2733
|
+
* - deleteIndex
|
|
2734
|
+
* - editSettings
|
|
2705
2735
|
* @param deleteTransformation - The deleteTransformation object.
|
|
2706
2736
|
* @param deleteTransformation.transformationID - Unique identifier of a transformation.
|
|
2707
2737
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -3041,6 +3071,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3041
3071
|
pushTask({ taskID, pushTaskPayload, watch }: PushTaskProps, requestOptions?: RequestOptions): Promise<WatchResponse>;
|
|
3042
3072
|
/**
|
|
3043
3073
|
* Fully updates a task by its ID, use partialUpdateTask if you only want to update a subset of fields.
|
|
3074
|
+
*
|
|
3075
|
+
* Required API Key ACLs:
|
|
3076
|
+
* - addObject
|
|
3077
|
+
* - deleteIndex
|
|
3078
|
+
* - editSettings
|
|
3044
3079
|
* @param replaceTask - The replaceTask object.
|
|
3045
3080
|
* @param replaceTask.taskID - Unique identifier of a task.
|
|
3046
3081
|
* @param replaceTask.taskReplace - The taskReplace object.
|
|
@@ -3233,6 +3268,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3233
3268
|
updateSource({ sourceID, sourceUpdate }: UpdateSourceProps, requestOptions?: RequestOptions): Promise<SourceUpdateResponse>;
|
|
3234
3269
|
/**
|
|
3235
3270
|
* Partially updates a task by its ID.
|
|
3271
|
+
*
|
|
3272
|
+
* Required API Key ACLs:
|
|
3273
|
+
* - addObject
|
|
3274
|
+
* - deleteIndex
|
|
3275
|
+
* - editSettings
|
|
3236
3276
|
* @param updateTask - The updateTask object.
|
|
3237
3277
|
* @param updateTask.taskID - Unique identifier of a task.
|
|
3238
3278
|
* @param updateTask.taskUpdate - The taskUpdate object.
|
|
@@ -3242,6 +3282,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3242
3282
|
/**
|
|
3243
3283
|
* Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
|
|
3244
3284
|
*
|
|
3285
|
+
* Required API Key ACLs:
|
|
3286
|
+
* - addObject
|
|
3287
|
+
* - deleteIndex
|
|
3288
|
+
* - editSettings
|
|
3289
|
+
*
|
|
3245
3290
|
* @deprecated
|
|
3246
3291
|
* @param updateTaskV1 - The updateTaskV1 object.
|
|
3247
3292
|
* @param updateTaskV1.taskID - Unique identifier of a task.
|
|
@@ -3251,6 +3296,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3251
3296
|
updateTaskV1({ taskID, taskUpdate }: UpdateTaskV1Props, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
|
|
3252
3297
|
/**
|
|
3253
3298
|
* Updates a transformation by its ID.
|
|
3299
|
+
*
|
|
3300
|
+
* Required API Key ACLs:
|
|
3301
|
+
* - addObject
|
|
3302
|
+
* - deleteIndex
|
|
3303
|
+
* - editSettings
|
|
3254
3304
|
* @param updateTransformation - The updateTransformation object.
|
|
3255
3305
|
* @param updateTransformation.transformationID - Unique identifier of a transformation.
|
|
3256
3306
|
* @param updateTransformation.transformationCreate - The transformationCreate object.
|
package/dist/node.d.cts
CHANGED
|
@@ -2486,7 +2486,7 @@ type ChunkedPushOptions = {
|
|
|
2486
2486
|
objects: Array<Record<string, unknown>>;
|
|
2487
2487
|
};
|
|
2488
2488
|
|
|
2489
|
-
declare const apiClientVersion = "1.
|
|
2489
|
+
declare const apiClientVersion = "1.42.0";
|
|
2490
2490
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2491
2491
|
type Region = (typeof REGIONS)[number];
|
|
2492
2492
|
type RegionOptions = {
|
|
@@ -2596,6 +2596,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2596
2596
|
createSource(sourceCreate: SourceCreate, requestOptions?: RequestOptions): Promise<SourceCreateResponse>;
|
|
2597
2597
|
/**
|
|
2598
2598
|
* Creates a new task.
|
|
2599
|
+
*
|
|
2600
|
+
* Required API Key ACLs:
|
|
2601
|
+
* - addObject
|
|
2602
|
+
* - deleteIndex
|
|
2603
|
+
* - editSettings
|
|
2599
2604
|
* @param taskCreate - Request body for creating a task.
|
|
2600
2605
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2601
2606
|
*/
|
|
@@ -2603,6 +2608,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2603
2608
|
/**
|
|
2604
2609
|
* Creates a new task using the v1 endpoint, please use `createTask` instead.
|
|
2605
2610
|
*
|
|
2611
|
+
* Required API Key ACLs:
|
|
2612
|
+
* - addObject
|
|
2613
|
+
* - deleteIndex
|
|
2614
|
+
* - editSettings
|
|
2615
|
+
*
|
|
2606
2616
|
* @deprecated
|
|
2607
2617
|
* @param taskCreate - Request body for creating a task.
|
|
2608
2618
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2610,6 +2620,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2610
2620
|
createTaskV1(taskCreate: TaskCreateV1, requestOptions?: RequestOptions): Promise<TaskCreateResponse>;
|
|
2611
2621
|
/**
|
|
2612
2622
|
* Creates a new transformation.
|
|
2623
|
+
*
|
|
2624
|
+
* Required API Key ACLs:
|
|
2625
|
+
* - addObject
|
|
2626
|
+
* - deleteIndex
|
|
2627
|
+
* - editSettings
|
|
2613
2628
|
* @param transformationCreate - Request body for creating a transformation.
|
|
2614
2629
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2615
2630
|
*/
|
|
@@ -2686,6 +2701,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2686
2701
|
deleteSource({ sourceID }: DeleteSourceProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
2687
2702
|
/**
|
|
2688
2703
|
* Deletes a task by its ID.
|
|
2704
|
+
*
|
|
2705
|
+
* Required API Key ACLs:
|
|
2706
|
+
* - addObject
|
|
2707
|
+
* - deleteIndex
|
|
2708
|
+
* - editSettings
|
|
2689
2709
|
* @param deleteTask - The deleteTask object.
|
|
2690
2710
|
* @param deleteTask.taskID - Unique identifier of a task.
|
|
2691
2711
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2694,6 +2714,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2694
2714
|
/**
|
|
2695
2715
|
* Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
|
|
2696
2716
|
*
|
|
2717
|
+
* Required API Key ACLs:
|
|
2718
|
+
* - addObject
|
|
2719
|
+
* - deleteIndex
|
|
2720
|
+
* - editSettings
|
|
2721
|
+
*
|
|
2697
2722
|
* @deprecated
|
|
2698
2723
|
* @param deleteTaskV1 - The deleteTaskV1 object.
|
|
2699
2724
|
* @param deleteTaskV1.taskID - Unique identifier of a task.
|
|
@@ -2702,6 +2727,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2702
2727
|
deleteTaskV1({ taskID }: DeleteTaskV1Props, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
2703
2728
|
/**
|
|
2704
2729
|
* Deletes a transformation by its ID.
|
|
2730
|
+
*
|
|
2731
|
+
* Required API Key ACLs:
|
|
2732
|
+
* - addObject
|
|
2733
|
+
* - deleteIndex
|
|
2734
|
+
* - editSettings
|
|
2705
2735
|
* @param deleteTransformation - The deleteTransformation object.
|
|
2706
2736
|
* @param deleteTransformation.transformationID - Unique identifier of a transformation.
|
|
2707
2737
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -3041,6 +3071,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3041
3071
|
pushTask({ taskID, pushTaskPayload, watch }: PushTaskProps, requestOptions?: RequestOptions): Promise<WatchResponse>;
|
|
3042
3072
|
/**
|
|
3043
3073
|
* Fully updates a task by its ID, use partialUpdateTask if you only want to update a subset of fields.
|
|
3074
|
+
*
|
|
3075
|
+
* Required API Key ACLs:
|
|
3076
|
+
* - addObject
|
|
3077
|
+
* - deleteIndex
|
|
3078
|
+
* - editSettings
|
|
3044
3079
|
* @param replaceTask - The replaceTask object.
|
|
3045
3080
|
* @param replaceTask.taskID - Unique identifier of a task.
|
|
3046
3081
|
* @param replaceTask.taskReplace - The taskReplace object.
|
|
@@ -3233,6 +3268,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3233
3268
|
updateSource({ sourceID, sourceUpdate }: UpdateSourceProps, requestOptions?: RequestOptions): Promise<SourceUpdateResponse>;
|
|
3234
3269
|
/**
|
|
3235
3270
|
* Partially updates a task by its ID.
|
|
3271
|
+
*
|
|
3272
|
+
* Required API Key ACLs:
|
|
3273
|
+
* - addObject
|
|
3274
|
+
* - deleteIndex
|
|
3275
|
+
* - editSettings
|
|
3236
3276
|
* @param updateTask - The updateTask object.
|
|
3237
3277
|
* @param updateTask.taskID - Unique identifier of a task.
|
|
3238
3278
|
* @param updateTask.taskUpdate - The taskUpdate object.
|
|
@@ -3242,6 +3282,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3242
3282
|
/**
|
|
3243
3283
|
* Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
|
|
3244
3284
|
*
|
|
3285
|
+
* Required API Key ACLs:
|
|
3286
|
+
* - addObject
|
|
3287
|
+
* - deleteIndex
|
|
3288
|
+
* - editSettings
|
|
3289
|
+
*
|
|
3245
3290
|
* @deprecated
|
|
3246
3291
|
* @param updateTaskV1 - The updateTaskV1 object.
|
|
3247
3292
|
* @param updateTaskV1.taskID - Unique identifier of a task.
|
|
@@ -3251,6 +3296,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3251
3296
|
updateTaskV1({ taskID, taskUpdate }: UpdateTaskV1Props, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
|
|
3252
3297
|
/**
|
|
3253
3298
|
* Updates a transformation by its ID.
|
|
3299
|
+
*
|
|
3300
|
+
* Required API Key ACLs:
|
|
3301
|
+
* - addObject
|
|
3302
|
+
* - deleteIndex
|
|
3303
|
+
* - editSettings
|
|
3254
3304
|
* @param updateTransformation - The updateTransformation object.
|
|
3255
3305
|
* @param updateTransformation.transformationID - Unique identifier of a transformation.
|
|
3256
3306
|
* @param updateTransformation.transformationCreate - The transformationCreate object.
|
package/dist/node.d.ts
CHANGED
|
@@ -2486,7 +2486,7 @@ type ChunkedPushOptions = {
|
|
|
2486
2486
|
objects: Array<Record<string, unknown>>;
|
|
2487
2487
|
};
|
|
2488
2488
|
|
|
2489
|
-
declare const apiClientVersion = "1.
|
|
2489
|
+
declare const apiClientVersion = "1.42.0";
|
|
2490
2490
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2491
2491
|
type Region = (typeof REGIONS)[number];
|
|
2492
2492
|
type RegionOptions = {
|
|
@@ -2596,6 +2596,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2596
2596
|
createSource(sourceCreate: SourceCreate, requestOptions?: RequestOptions): Promise<SourceCreateResponse>;
|
|
2597
2597
|
/**
|
|
2598
2598
|
* Creates a new task.
|
|
2599
|
+
*
|
|
2600
|
+
* Required API Key ACLs:
|
|
2601
|
+
* - addObject
|
|
2602
|
+
* - deleteIndex
|
|
2603
|
+
* - editSettings
|
|
2599
2604
|
* @param taskCreate - Request body for creating a task.
|
|
2600
2605
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2601
2606
|
*/
|
|
@@ -2603,6 +2608,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2603
2608
|
/**
|
|
2604
2609
|
* Creates a new task using the v1 endpoint, please use `createTask` instead.
|
|
2605
2610
|
*
|
|
2611
|
+
* Required API Key ACLs:
|
|
2612
|
+
* - addObject
|
|
2613
|
+
* - deleteIndex
|
|
2614
|
+
* - editSettings
|
|
2615
|
+
*
|
|
2606
2616
|
* @deprecated
|
|
2607
2617
|
* @param taskCreate - Request body for creating a task.
|
|
2608
2618
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2610,6 +2620,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2610
2620
|
createTaskV1(taskCreate: TaskCreateV1, requestOptions?: RequestOptions): Promise<TaskCreateResponse>;
|
|
2611
2621
|
/**
|
|
2612
2622
|
* Creates a new transformation.
|
|
2623
|
+
*
|
|
2624
|
+
* Required API Key ACLs:
|
|
2625
|
+
* - addObject
|
|
2626
|
+
* - deleteIndex
|
|
2627
|
+
* - editSettings
|
|
2613
2628
|
* @param transformationCreate - Request body for creating a transformation.
|
|
2614
2629
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2615
2630
|
*/
|
|
@@ -2686,6 +2701,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2686
2701
|
deleteSource({ sourceID }: DeleteSourceProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
2687
2702
|
/**
|
|
2688
2703
|
* Deletes a task by its ID.
|
|
2704
|
+
*
|
|
2705
|
+
* Required API Key ACLs:
|
|
2706
|
+
* - addObject
|
|
2707
|
+
* - deleteIndex
|
|
2708
|
+
* - editSettings
|
|
2689
2709
|
* @param deleteTask - The deleteTask object.
|
|
2690
2710
|
* @param deleteTask.taskID - Unique identifier of a task.
|
|
2691
2711
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2694,6 +2714,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2694
2714
|
/**
|
|
2695
2715
|
* Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
|
|
2696
2716
|
*
|
|
2717
|
+
* Required API Key ACLs:
|
|
2718
|
+
* - addObject
|
|
2719
|
+
* - deleteIndex
|
|
2720
|
+
* - editSettings
|
|
2721
|
+
*
|
|
2697
2722
|
* @deprecated
|
|
2698
2723
|
* @param deleteTaskV1 - The deleteTaskV1 object.
|
|
2699
2724
|
* @param deleteTaskV1.taskID - Unique identifier of a task.
|
|
@@ -2702,6 +2727,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2702
2727
|
deleteTaskV1({ taskID }: DeleteTaskV1Props, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
2703
2728
|
/**
|
|
2704
2729
|
* Deletes a transformation by its ID.
|
|
2730
|
+
*
|
|
2731
|
+
* Required API Key ACLs:
|
|
2732
|
+
* - addObject
|
|
2733
|
+
* - deleteIndex
|
|
2734
|
+
* - editSettings
|
|
2705
2735
|
* @param deleteTransformation - The deleteTransformation object.
|
|
2706
2736
|
* @param deleteTransformation.transformationID - Unique identifier of a transformation.
|
|
2707
2737
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -3041,6 +3071,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3041
3071
|
pushTask({ taskID, pushTaskPayload, watch }: PushTaskProps, requestOptions?: RequestOptions): Promise<WatchResponse>;
|
|
3042
3072
|
/**
|
|
3043
3073
|
* Fully updates a task by its ID, use partialUpdateTask if you only want to update a subset of fields.
|
|
3074
|
+
*
|
|
3075
|
+
* Required API Key ACLs:
|
|
3076
|
+
* - addObject
|
|
3077
|
+
* - deleteIndex
|
|
3078
|
+
* - editSettings
|
|
3044
3079
|
* @param replaceTask - The replaceTask object.
|
|
3045
3080
|
* @param replaceTask.taskID - Unique identifier of a task.
|
|
3046
3081
|
* @param replaceTask.taskReplace - The taskReplace object.
|
|
@@ -3233,6 +3268,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3233
3268
|
updateSource({ sourceID, sourceUpdate }: UpdateSourceProps, requestOptions?: RequestOptions): Promise<SourceUpdateResponse>;
|
|
3234
3269
|
/**
|
|
3235
3270
|
* Partially updates a task by its ID.
|
|
3271
|
+
*
|
|
3272
|
+
* Required API Key ACLs:
|
|
3273
|
+
* - addObject
|
|
3274
|
+
* - deleteIndex
|
|
3275
|
+
* - editSettings
|
|
3236
3276
|
* @param updateTask - The updateTask object.
|
|
3237
3277
|
* @param updateTask.taskID - Unique identifier of a task.
|
|
3238
3278
|
* @param updateTask.taskUpdate - The taskUpdate object.
|
|
@@ -3242,6 +3282,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3242
3282
|
/**
|
|
3243
3283
|
* Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
|
|
3244
3284
|
*
|
|
3285
|
+
* Required API Key ACLs:
|
|
3286
|
+
* - addObject
|
|
3287
|
+
* - deleteIndex
|
|
3288
|
+
* - editSettings
|
|
3289
|
+
*
|
|
3245
3290
|
* @deprecated
|
|
3246
3291
|
* @param updateTaskV1 - The updateTaskV1 object.
|
|
3247
3292
|
* @param updateTaskV1.taskID - Unique identifier of a task.
|
|
@@ -3251,6 +3296,11 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3251
3296
|
updateTaskV1({ taskID, taskUpdate }: UpdateTaskV1Props, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
|
|
3252
3297
|
/**
|
|
3253
3298
|
* Updates a transformation by its ID.
|
|
3299
|
+
*
|
|
3300
|
+
* Required API Key ACLs:
|
|
3301
|
+
* - addObject
|
|
3302
|
+
* - deleteIndex
|
|
3303
|
+
* - editSettings
|
|
3254
3304
|
* @param updateTransformation - The updateTransformation object.
|
|
3255
3305
|
* @param updateTransformation.transformationID - Unique identifier of a transformation.
|
|
3256
3306
|
* @param updateTransformation.transformationCreate - The transformationCreate object.
|
|
@@ -29,7 +29,7 @@ __export(ingestionClient_exports, {
|
|
|
29
29
|
});
|
|
30
30
|
module.exports = __toCommonJS(ingestionClient_exports);
|
|
31
31
|
var import_client_common = require("@algolia/client-common");
|
|
32
|
-
var apiClientVersion = "1.
|
|
32
|
+
var apiClientVersion = "1.42.0";
|
|
33
33
|
var REGIONS = ["eu", "us"];
|
|
34
34
|
function getDefaultHosts(region) {
|
|
35
35
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|
|
@@ -285,6 +285,11 @@ function createIngestionClient({
|
|
|
285
285
|
},
|
|
286
286
|
/**
|
|
287
287
|
* Creates a new task.
|
|
288
|
+
*
|
|
289
|
+
* Required API Key ACLs:
|
|
290
|
+
* - addObject
|
|
291
|
+
* - deleteIndex
|
|
292
|
+
* - editSettings
|
|
288
293
|
* @param taskCreate - Request body for creating a task.
|
|
289
294
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
290
295
|
*/
|
|
@@ -316,6 +321,11 @@ function createIngestionClient({
|
|
|
316
321
|
/**
|
|
317
322
|
* Creates a new task using the v1 endpoint, please use `createTask` instead.
|
|
318
323
|
*
|
|
324
|
+
* Required API Key ACLs:
|
|
325
|
+
* - addObject
|
|
326
|
+
* - deleteIndex
|
|
327
|
+
* - editSettings
|
|
328
|
+
*
|
|
319
329
|
* @deprecated
|
|
320
330
|
* @param taskCreate - Request body for creating a task.
|
|
321
331
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -350,6 +360,11 @@ function createIngestionClient({
|
|
|
350
360
|
},
|
|
351
361
|
/**
|
|
352
362
|
* Creates a new transformation.
|
|
363
|
+
*
|
|
364
|
+
* Required API Key ACLs:
|
|
365
|
+
* - addObject
|
|
366
|
+
* - deleteIndex
|
|
367
|
+
* - editSettings
|
|
353
368
|
* @param transformationCreate - Request body for creating a transformation.
|
|
354
369
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
355
370
|
*/
|
|
@@ -550,6 +565,11 @@ function createIngestionClient({
|
|
|
550
565
|
},
|
|
551
566
|
/**
|
|
552
567
|
* Deletes a task by its ID.
|
|
568
|
+
*
|
|
569
|
+
* Required API Key ACLs:
|
|
570
|
+
* - addObject
|
|
571
|
+
* - deleteIndex
|
|
572
|
+
* - editSettings
|
|
553
573
|
* @param deleteTask - The deleteTask object.
|
|
554
574
|
* @param deleteTask.taskID - Unique identifier of a task.
|
|
555
575
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -572,6 +592,11 @@ function createIngestionClient({
|
|
|
572
592
|
/**
|
|
573
593
|
* Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
|
|
574
594
|
*
|
|
595
|
+
* Required API Key ACLs:
|
|
596
|
+
* - addObject
|
|
597
|
+
* - deleteIndex
|
|
598
|
+
* - editSettings
|
|
599
|
+
*
|
|
575
600
|
* @deprecated
|
|
576
601
|
* @param deleteTaskV1 - The deleteTaskV1 object.
|
|
577
602
|
* @param deleteTaskV1.taskID - Unique identifier of a task.
|
|
@@ -594,6 +619,11 @@ function createIngestionClient({
|
|
|
594
619
|
},
|
|
595
620
|
/**
|
|
596
621
|
* Deletes a transformation by its ID.
|
|
622
|
+
*
|
|
623
|
+
* Required API Key ACLs:
|
|
624
|
+
* - addObject
|
|
625
|
+
* - deleteIndex
|
|
626
|
+
* - editSettings
|
|
597
627
|
* @param deleteTransformation - The deleteTransformation object.
|
|
598
628
|
* @param deleteTransformation.transformationID - Unique identifier of a transformation.
|
|
599
629
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -1489,6 +1519,11 @@ function createIngestionClient({
|
|
|
1489
1519
|
},
|
|
1490
1520
|
/**
|
|
1491
1521
|
* Fully updates a task by its ID, use partialUpdateTask if you only want to update a subset of fields.
|
|
1522
|
+
*
|
|
1523
|
+
* Required API Key ACLs:
|
|
1524
|
+
* - addObject
|
|
1525
|
+
* - deleteIndex
|
|
1526
|
+
* - editSettings
|
|
1492
1527
|
* @param replaceTask - The replaceTask object.
|
|
1493
1528
|
* @param replaceTask.taskID - Unique identifier of a task.
|
|
1494
1529
|
* @param replaceTask.taskReplace - The taskReplace object.
|
|
@@ -1988,6 +2023,11 @@ function createIngestionClient({
|
|
|
1988
2023
|
},
|
|
1989
2024
|
/**
|
|
1990
2025
|
* Partially updates a task by its ID.
|
|
2026
|
+
*
|
|
2027
|
+
* Required API Key ACLs:
|
|
2028
|
+
* - addObject
|
|
2029
|
+
* - deleteIndex
|
|
2030
|
+
* - editSettings
|
|
1991
2031
|
* @param updateTask - The updateTask object.
|
|
1992
2032
|
* @param updateTask.taskID - Unique identifier of a task.
|
|
1993
2033
|
* @param updateTask.taskUpdate - The taskUpdate object.
|
|
@@ -2015,6 +2055,11 @@ function createIngestionClient({
|
|
|
2015
2055
|
/**
|
|
2016
2056
|
* Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
|
|
2017
2057
|
*
|
|
2058
|
+
* Required API Key ACLs:
|
|
2059
|
+
* - addObject
|
|
2060
|
+
* - deleteIndex
|
|
2061
|
+
* - editSettings
|
|
2062
|
+
*
|
|
2018
2063
|
* @deprecated
|
|
2019
2064
|
* @param updateTaskV1 - The updateTaskV1 object.
|
|
2020
2065
|
* @param updateTaskV1.taskID - Unique identifier of a task.
|
|
@@ -2042,6 +2087,11 @@ function createIngestionClient({
|
|
|
2042
2087
|
},
|
|
2043
2088
|
/**
|
|
2044
2089
|
* Updates a transformation by its ID.
|
|
2090
|
+
*
|
|
2091
|
+
* Required API Key ACLs:
|
|
2092
|
+
* - addObject
|
|
2093
|
+
* - deleteIndex
|
|
2094
|
+
* - editSettings
|
|
2045
2095
|
* @param updateTransformation - The updateTransformation object.
|
|
2046
2096
|
* @param updateTransformation.transformationID - Unique identifier of a transformation.
|
|
2047
2097
|
* @param updateTransformation.transformationCreate - The transformationCreate object.
|