@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 CHANGED
@@ -41,11 +41,11 @@ All of our clients comes with type definition, and are available for both browse
41
41
  ### With a package manager
42
42
 
43
43
  ```bash
44
- yarn add @algolia/ingestion@1.20.3
44
+ yarn add @algolia/ingestion@1.20.4
45
45
  # or
46
- npm install @algolia/ingestion@1.20.3
46
+ npm install @algolia/ingestion@1.20.4
47
47
  # or
48
- pnpm add @algolia/ingestion@1.20.3
48
+ pnpm add @algolia/ingestion@1.20.4
49
49
  ```
50
50
 
51
51
  ### Without a package manager
@@ -53,7 +53,7 @@ pnpm add @algolia/ingestion@1.20.3
53
53
  Add the following JavaScript snippet to the <head> of your website:
54
54
 
55
55
  ```html
56
- <script src="https://cdn.jsdelivr.net/npm/@algolia/ingestion@1.20.3/dist/builds/browser.umd.js"></script>
56
+ <script src="https://cdn.jsdelivr.net/npm/@algolia/ingestion@1.20.4/dist/builds/browser.umd.js"></script>
57
57
  ```
58
58
 
59
59
  ### Usage
package/dist/browser.d.ts CHANGED
@@ -2278,7 +2278,7 @@ type ValidateSourceBeforeUpdateProps = {
2278
2278
  sourceUpdate: SourceUpdate;
2279
2279
  };
2280
2280
 
2281
- declare const apiClientVersion = "1.20.3";
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 allow you to send requests to the Algolia REST API.
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 allow you to send requests to the Algolia REST API.
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 allow you to send requests to the Algolia REST API.
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 allow you to send requests to the Algolia REST API.
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.
@@ -9,7 +9,7 @@ import {
9
9
 
10
10
  // src/ingestionClient.ts
11
11
  import { createAuth, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
12
- var apiClientVersion = "1.20.3";
12
+ var apiClientVersion = "1.20.4";
13
13
  var REGIONS = ["eu", "us"];
14
14
  function getDefaultHosts(region) {
15
15
  const url = "data.{region}.algolia.com".replace("{region}", region);
@@ -288,7 +288,7 @@ function createIngestionClient({
288
288
  return transporter.request(request, requestOptions);
289
289
  },
290
290
  /**
291
- * This method allow you to send requests to the Algolia REST API.
291
+ * This method lets you send requests to the Algolia REST API.
292
292
  * @param customDelete - The customDelete object.
293
293
  * @param customDelete.path - Path of the endpoint, anything after \"/1\" must be specified.
294
294
  * @param customDelete.parameters - Query parameters to apply to the current query.
@@ -310,7 +310,7 @@ function createIngestionClient({
310
310
  return transporter.request(request, requestOptions);
311
311
  },
312
312
  /**
313
- * This method allow you to send requests to the Algolia REST API.
313
+ * This method lets you send requests to the Algolia REST API.
314
314
  * @param customGet - The customGet object.
315
315
  * @param customGet.path - Path of the endpoint, anything after \"/1\" must be specified.
316
316
  * @param customGet.parameters - Query parameters to apply to the current query.
@@ -332,7 +332,7 @@ function createIngestionClient({
332
332
  return transporter.request(request, requestOptions);
333
333
  },
334
334
  /**
335
- * This method allow you to send requests to the Algolia REST API.
335
+ * This method lets you send requests to the Algolia REST API.
336
336
  * @param customPost - The customPost object.
337
337
  * @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
338
338
  * @param customPost.parameters - Query parameters to apply to the current query.
@@ -356,7 +356,7 @@ function createIngestionClient({
356
356
  return transporter.request(request, requestOptions);
357
357
  },
358
358
  /**
359
- * This method allow you to send requests to the Algolia REST API.
359
+ * This method lets you send requests to the Algolia REST API.
360
360
  * @param customPut - The customPut object.
361
361
  * @param customPut.path - Path of the endpoint, anything after \"/1\" must be specified.
362
362
  * @param customPut.parameters - Query parameters to apply to the current query.