@algolia/ingestion 1.20.2 → 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.
@@ -1,6 +1,6 @@
1
1
  // src/ingestionClient.ts
2
2
  import { createAuth, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
3
- var apiClientVersion = "1.20.2";
3
+ var apiClientVersion = "1.20.4";
4
4
  var REGIONS = ["eu", "us"];
5
5
  function getDefaultHosts(region) {
6
6
  const url = "data.{region}.algolia.com".replace("{region}", region);
@@ -279,7 +279,7 @@ function createIngestionClient({
279
279
  return transporter.request(request, requestOptions);
280
280
  },
281
281
  /**
282
- * This method allow you to send requests to the Algolia REST API.
282
+ * This method lets you send requests to the Algolia REST API.
283
283
  * @param customDelete - The customDelete object.
284
284
  * @param customDelete.path - Path of the endpoint, anything after \"/1\" must be specified.
285
285
  * @param customDelete.parameters - Query parameters to apply to the current query.
@@ -301,7 +301,7 @@ function createIngestionClient({
301
301
  return transporter.request(request, requestOptions);
302
302
  },
303
303
  /**
304
- * This method allow you to send requests to the Algolia REST API.
304
+ * This method lets you send requests to the Algolia REST API.
305
305
  * @param customGet - The customGet object.
306
306
  * @param customGet.path - Path of the endpoint, anything after \"/1\" must be specified.
307
307
  * @param customGet.parameters - Query parameters to apply to the current query.
@@ -323,7 +323,7 @@ function createIngestionClient({
323
323
  return transporter.request(request, requestOptions);
324
324
  },
325
325
  /**
326
- * This method allow you to send requests to the Algolia REST API.
326
+ * This method lets you send requests to the Algolia REST API.
327
327
  * @param customPost - The customPost object.
328
328
  * @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
329
329
  * @param customPost.parameters - Query parameters to apply to the current query.
@@ -347,7 +347,7 @@ function createIngestionClient({
347
347
  return transporter.request(request, requestOptions);
348
348
  },
349
349
  /**
350
- * This method allow you to send requests to the Algolia REST API.
350
+ * This method lets you send requests to the Algolia REST API.
351
351
  * @param customPut - The customPut object.
352
352
  * @param customPut.path - Path of the endpoint, anything after \"/1\" must be specified.
353
353
  * @param customPut.parameters - Query parameters to apply to the current query.
@@ -1321,7 +1321,7 @@ function createIngestionClient({
1321
1321
  connect: 18e4,
1322
1322
  read: 18e4,
1323
1323
  write: 18e4,
1324
- ...requestOptions == null ? void 0 : requestOptions.timeouts
1324
+ ...requestOptions?.timeouts
1325
1325
  }
1326
1326
  };
1327
1327
  return transporter.request(request, requestOptions);
@@ -1613,7 +1613,7 @@ function createIngestionClient({
1613
1613
  connect: 18e4,
1614
1614
  read: 18e4,
1615
1615
  write: 18e4,
1616
- ...requestOptions == null ? void 0 : requestOptions.timeouts
1616
+ ...requestOptions?.timeouts
1617
1617
  }
1618
1618
  };
1619
1619
  return transporter.request(request, requestOptions);
@@ -1904,7 +1904,7 @@ function createIngestionClient({
1904
1904
  connect: 18e4,
1905
1905
  read: 18e4,
1906
1906
  write: 18e4,
1907
- ...requestOptions == null ? void 0 : requestOptions.timeouts
1907
+ ...requestOptions?.timeouts
1908
1908
  }
1909
1909
  };
1910
1910
  return transporter.request(request, requestOptions);
@@ -1943,7 +1943,7 @@ function createIngestionClient({
1943
1943
  connect: 18e4,
1944
1944
  read: 18e4,
1945
1945
  write: 18e4,
1946
- ...requestOptions == null ? void 0 : requestOptions.timeouts
1946
+ ...requestOptions?.timeouts
1947
1947
  }
1948
1948
  };
1949
1949
  return transporter.request(request, requestOptions);