@algolia/ingestion 1.20.3 → 1.20.4
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 +5 -5
- package/dist/builds/browser.js +5 -5
- 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 +5 -5
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +5 -5
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +5 -5
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +5 -5
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +5 -5
- package/dist/node.d.cts +5 -5
- package/dist/node.d.ts +5 -5
- package/dist/src/ingestionClient.cjs +5 -5
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +9 -9
- package/dist/src/ingestionClient.js.map +1 -1
- package/dist/worker.d.ts +5 -5
- package/package.json +10 -10
package/dist/fetch.d.ts
CHANGED
|
@@ -2278,7 +2278,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2278
2278
|
sourceUpdate: SourceUpdate;
|
|
2279
2279
|
};
|
|
2280
2280
|
|
|
2281
|
-
declare const apiClientVersion = "1.20.
|
|
2281
|
+
declare const apiClientVersion = "1.20.4";
|
|
2282
2282
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2283
2283
|
type Region = (typeof REGIONS)[number];
|
|
2284
2284
|
type RegionOptions = {
|
|
@@ -2391,7 +2391,7 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2391
2391
|
*/
|
|
2392
2392
|
createTransformation(transformationCreate: TransformationCreate, requestOptions?: RequestOptions): Promise<TransformationCreateResponse>;
|
|
2393
2393
|
/**
|
|
2394
|
-
* This method
|
|
2394
|
+
* This method lets you send requests to the Algolia REST API.
|
|
2395
2395
|
* @param customDelete - The customDelete object.
|
|
2396
2396
|
* @param customDelete.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
2397
2397
|
* @param customDelete.parameters - Query parameters to apply to the current query.
|
|
@@ -2399,7 +2399,7 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2399
2399
|
*/
|
|
2400
2400
|
customDelete({ path, parameters }: CustomDeleteProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
2401
2401
|
/**
|
|
2402
|
-
* This method
|
|
2402
|
+
* This method lets you send requests to the Algolia REST API.
|
|
2403
2403
|
* @param customGet - The customGet object.
|
|
2404
2404
|
* @param customGet.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
2405
2405
|
* @param customGet.parameters - Query parameters to apply to the current query.
|
|
@@ -2407,7 +2407,7 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2407
2407
|
*/
|
|
2408
2408
|
customGet({ path, parameters }: CustomGetProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
2409
2409
|
/**
|
|
2410
|
-
* This method
|
|
2410
|
+
* This method lets you send requests to the Algolia REST API.
|
|
2411
2411
|
* @param customPost - The customPost object.
|
|
2412
2412
|
* @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
2413
2413
|
* @param customPost.parameters - Query parameters to apply to the current query.
|
|
@@ -2416,7 +2416,7 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2416
2416
|
*/
|
|
2417
2417
|
customPost({ path, parameters, body }: CustomPostProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
2418
2418
|
/**
|
|
2419
|
-
* This method
|
|
2419
|
+
* This method lets you send requests to the Algolia REST API.
|
|
2420
2420
|
* @param customPut - The customPut object.
|
|
2421
2421
|
* @param customPut.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
2422
2422
|
* @param customPut.parameters - Query parameters to apply to the current query.
|
package/dist/node.d.cts
CHANGED
|
@@ -2278,7 +2278,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2278
2278
|
sourceUpdate: SourceUpdate;
|
|
2279
2279
|
};
|
|
2280
2280
|
|
|
2281
|
-
declare const apiClientVersion = "1.20.
|
|
2281
|
+
declare const apiClientVersion = "1.20.4";
|
|
2282
2282
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2283
2283
|
type Region = (typeof REGIONS)[number];
|
|
2284
2284
|
type RegionOptions = {
|
|
@@ -2391,7 +2391,7 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2391
2391
|
*/
|
|
2392
2392
|
createTransformation(transformationCreate: TransformationCreate, requestOptions?: RequestOptions): Promise<TransformationCreateResponse>;
|
|
2393
2393
|
/**
|
|
2394
|
-
* This method
|
|
2394
|
+
* This method lets you send requests to the Algolia REST API.
|
|
2395
2395
|
* @param customDelete - The customDelete object.
|
|
2396
2396
|
* @param customDelete.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
2397
2397
|
* @param customDelete.parameters - Query parameters to apply to the current query.
|
|
@@ -2399,7 +2399,7 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2399
2399
|
*/
|
|
2400
2400
|
customDelete({ path, parameters }: CustomDeleteProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
2401
2401
|
/**
|
|
2402
|
-
* This method
|
|
2402
|
+
* This method lets you send requests to the Algolia REST API.
|
|
2403
2403
|
* @param customGet - The customGet object.
|
|
2404
2404
|
* @param customGet.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
2405
2405
|
* @param customGet.parameters - Query parameters to apply to the current query.
|
|
@@ -2407,7 +2407,7 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2407
2407
|
*/
|
|
2408
2408
|
customGet({ path, parameters }: CustomGetProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
2409
2409
|
/**
|
|
2410
|
-
* This method
|
|
2410
|
+
* This method lets you send requests to the Algolia REST API.
|
|
2411
2411
|
* @param customPost - The customPost object.
|
|
2412
2412
|
* @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
2413
2413
|
* @param customPost.parameters - Query parameters to apply to the current query.
|
|
@@ -2416,7 +2416,7 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2416
2416
|
*/
|
|
2417
2417
|
customPost({ path, parameters, body }: CustomPostProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
2418
2418
|
/**
|
|
2419
|
-
* This method
|
|
2419
|
+
* This method lets you send requests to the Algolia REST API.
|
|
2420
2420
|
* @param customPut - The customPut object.
|
|
2421
2421
|
* @param customPut.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
2422
2422
|
* @param customPut.parameters - Query parameters to apply to the current query.
|
package/dist/node.d.ts
CHANGED
|
@@ -2278,7 +2278,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2278
2278
|
sourceUpdate: SourceUpdate;
|
|
2279
2279
|
};
|
|
2280
2280
|
|
|
2281
|
-
declare const apiClientVersion = "1.20.
|
|
2281
|
+
declare const apiClientVersion = "1.20.4";
|
|
2282
2282
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2283
2283
|
type Region = (typeof REGIONS)[number];
|
|
2284
2284
|
type RegionOptions = {
|
|
@@ -2391,7 +2391,7 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2391
2391
|
*/
|
|
2392
2392
|
createTransformation(transformationCreate: TransformationCreate, requestOptions?: RequestOptions): Promise<TransformationCreateResponse>;
|
|
2393
2393
|
/**
|
|
2394
|
-
* This method
|
|
2394
|
+
* This method lets you send requests to the Algolia REST API.
|
|
2395
2395
|
* @param customDelete - The customDelete object.
|
|
2396
2396
|
* @param customDelete.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
2397
2397
|
* @param customDelete.parameters - Query parameters to apply to the current query.
|
|
@@ -2399,7 +2399,7 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2399
2399
|
*/
|
|
2400
2400
|
customDelete({ path, parameters }: CustomDeleteProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
2401
2401
|
/**
|
|
2402
|
-
* This method
|
|
2402
|
+
* This method lets you send requests to the Algolia REST API.
|
|
2403
2403
|
* @param customGet - The customGet object.
|
|
2404
2404
|
* @param customGet.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
2405
2405
|
* @param customGet.parameters - Query parameters to apply to the current query.
|
|
@@ -2407,7 +2407,7 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2407
2407
|
*/
|
|
2408
2408
|
customGet({ path, parameters }: CustomGetProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
2409
2409
|
/**
|
|
2410
|
-
* This method
|
|
2410
|
+
* This method lets you send requests to the Algolia REST API.
|
|
2411
2411
|
* @param customPost - The customPost object.
|
|
2412
2412
|
* @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
2413
2413
|
* @param customPost.parameters - Query parameters to apply to the current query.
|
|
@@ -2416,7 +2416,7 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2416
2416
|
*/
|
|
2417
2417
|
customPost({ path, parameters, body }: CustomPostProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
2418
2418
|
/**
|
|
2419
|
-
* This method
|
|
2419
|
+
* This method lets you send requests to the Algolia REST API.
|
|
2420
2420
|
* @param customPut - The customPut object.
|
|
2421
2421
|
* @param customPut.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
2422
2422
|
* @param customPut.parameters - Query parameters to apply to the current query.
|
|
@@ -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.20.
|
|
32
|
+
var apiClientVersion = "1.20.4";
|
|
33
33
|
var REGIONS = ["eu", "us"];
|
|
34
34
|
function getDefaultHosts(region) {
|
|
35
35
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|
|
@@ -308,7 +308,7 @@ function createIngestionClient({
|
|
|
308
308
|
return transporter.request(request, requestOptions);
|
|
309
309
|
},
|
|
310
310
|
/**
|
|
311
|
-
* This method
|
|
311
|
+
* This method lets you send requests to the Algolia REST API.
|
|
312
312
|
* @param customDelete - The customDelete object.
|
|
313
313
|
* @param customDelete.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
314
314
|
* @param customDelete.parameters - Query parameters to apply to the current query.
|
|
@@ -330,7 +330,7 @@ function createIngestionClient({
|
|
|
330
330
|
return transporter.request(request, requestOptions);
|
|
331
331
|
},
|
|
332
332
|
/**
|
|
333
|
-
* This method
|
|
333
|
+
* This method lets you send requests to the Algolia REST API.
|
|
334
334
|
* @param customGet - The customGet object.
|
|
335
335
|
* @param customGet.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
336
336
|
* @param customGet.parameters - Query parameters to apply to the current query.
|
|
@@ -352,7 +352,7 @@ function createIngestionClient({
|
|
|
352
352
|
return transporter.request(request, requestOptions);
|
|
353
353
|
},
|
|
354
354
|
/**
|
|
355
|
-
* This method
|
|
355
|
+
* This method lets you send requests to the Algolia REST API.
|
|
356
356
|
* @param customPost - The customPost object.
|
|
357
357
|
* @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
358
358
|
* @param customPost.parameters - Query parameters to apply to the current query.
|
|
@@ -376,7 +376,7 @@ function createIngestionClient({
|
|
|
376
376
|
return transporter.request(request, requestOptions);
|
|
377
377
|
},
|
|
378
378
|
/**
|
|
379
|
-
* This method
|
|
379
|
+
* This method lets you send requests to the Algolia REST API.
|
|
380
380
|
* @param customPut - The customPut object.
|
|
381
381
|
* @param customPut.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
382
382
|
* @param customPut.parameters - Query parameters to apply to the current query.
|