@algolia/ingestion 1.7.0 → 1.8.1

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.
Files changed (95) hide show
  1. package/README.md +5 -7
  2. package/dist/browser.d.ts +1295 -1335
  3. package/dist/builds/browser.js +201 -258
  4. package/dist/builds/browser.js.map +1 -1
  5. package/dist/builds/browser.min.js +1 -1
  6. package/dist/builds/browser.min.js.map +1 -1
  7. package/dist/builds/browser.umd.js +2 -2
  8. package/dist/builds/fetch.js +198 -255
  9. package/dist/builds/fetch.js.map +1 -1
  10. package/dist/builds/node.cjs +198 -255
  11. package/dist/builds/node.cjs.map +1 -1
  12. package/dist/builds/node.js +199 -256
  13. package/dist/builds/node.js.map +1 -1
  14. package/dist/fetch.d.ts +1294 -1333
  15. package/dist/node.d.cts +1294 -1333
  16. package/dist/node.d.ts +1294 -1333
  17. package/dist/src/ingestionClient.cjs +197 -254
  18. package/dist/src/ingestionClient.cjs.map +1 -1
  19. package/dist/src/ingestionClient.js +197 -254
  20. package/dist/src/ingestionClient.js.map +1 -1
  21. package/index.d.ts +0 -1
  22. package/index.js +1 -2
  23. package/model/action.ts +4 -4
  24. package/model/actionType.ts +1 -1
  25. package/model/authInput.ts +5 -5
  26. package/model/authInputPartial.ts +5 -5
  27. package/model/authenticationSearch.ts +1 -1
  28. package/model/authenticationSortKeys.ts +1 -1
  29. package/model/authenticationType.ts +1 -1
  30. package/model/bigCommerceChannel.ts +1 -1
  31. package/model/clientMethodProps.ts +61 -49
  32. package/model/commercetoolsCustomFields.ts +3 -3
  33. package/model/destination.ts +1 -1
  34. package/model/destinationCreate.ts +1 -1
  35. package/model/destinationIndexName.ts +1 -1
  36. package/model/destinationSearch.ts +1 -1
  37. package/model/destinationSortKeys.ts +1 -1
  38. package/model/destinationType.ts +1 -1
  39. package/model/destinationUpdate.ts +1 -1
  40. package/model/dockerImageType.ts +1 -1
  41. package/model/dockerStreams.ts +3 -3
  42. package/model/dockerStreamsInput.ts +1 -1
  43. package/model/dockerStreamsSyncMode.ts +1 -1
  44. package/model/entityType.ts +1 -1
  45. package/model/event.ts +1 -1
  46. package/model/eventSortKeys.ts +1 -1
  47. package/model/eventStatus.ts +1 -1
  48. package/model/eventType.ts +1 -1
  49. package/model/index.ts +10 -10
  50. package/model/listAuthenticationsResponse.ts +1 -1
  51. package/model/listDestinationsResponse.ts +1 -1
  52. package/model/listEventsResponse.ts +1 -1
  53. package/model/listSourcesResponse.ts +1 -1
  54. package/model/listTasksResponse.ts +1 -1
  55. package/model/listTasksResponseV1.ts +1 -1
  56. package/model/listTransformationsResponse.ts +1 -1
  57. package/model/mappingFieldDirective.ts +1 -1
  58. package/model/mappingInput.ts +1 -1
  59. package/model/mappingKitAction.ts +1 -1
  60. package/model/mappingTypeCSV.ts +1 -1
  61. package/model/pushTaskPayload.ts +1 -1
  62. package/model/runListResponse.ts +1 -1
  63. package/model/runOutcome.ts +1 -1
  64. package/model/runReasonCode.ts +1 -1
  65. package/model/runSortKeys.ts +1 -1
  66. package/model/runSourcePayload.ts +3 -3
  67. package/model/runSourceResponse.ts +1 -1
  68. package/model/runStatus.ts +1 -1
  69. package/model/runType.ts +1 -1
  70. package/model/shopifyInput.ts +1 -1
  71. package/model/shopifyMarket.ts +3 -3
  72. package/model/sourceBigCommerce.ts +3 -3
  73. package/model/sourceCSV.ts +1 -1
  74. package/model/sourceCommercetools.ts +2 -2
  75. package/model/sourceInput.ts +4 -4
  76. package/model/sourceSearch.ts +1 -1
  77. package/model/sourceShopify.ts +1 -1
  78. package/model/sourceSortKeys.ts +1 -1
  79. package/model/sourceType.ts +2 -2
  80. package/model/sourceUpdateCommercetools.ts +2 -2
  81. package/model/sourceUpdateInput.ts +3 -3
  82. package/model/sourceUpdateShopify.ts +1 -1
  83. package/model/sourceWatchResponse.ts +4 -4
  84. package/model/taskCreateTrigger.ts +2 -1
  85. package/model/taskInput.ts +3 -1
  86. package/model/taskSearch.ts +1 -1
  87. package/model/taskSortKeys.ts +1 -1
  88. package/model/transformation.ts +2 -2
  89. package/model/transformationCreate.ts +2 -2
  90. package/model/transformationSearch.ts +1 -1
  91. package/model/transformationSortKeys.ts +1 -1
  92. package/model/transformationTry.ts +1 -1
  93. package/model/trigger.ts +2 -1
  94. package/model/triggerType.ts +1 -1
  95. package/package.json +6 -6
@@ -1,17 +1,17 @@
1
1
  // builds/node.ts
2
+ import { createHttpRequester } from "@algolia/requester-node-http";
2
3
  import {
3
- createNullLogger,
4
4
  createMemoryCache,
5
5
  createNullCache,
6
+ createNullLogger,
6
7
  DEFAULT_CONNECT_TIMEOUT_NODE,
7
8
  DEFAULT_READ_TIMEOUT_NODE,
8
9
  DEFAULT_WRITE_TIMEOUT_NODE
9
10
  } from "@algolia/client-common";
10
- import { createHttpRequester } from "@algolia/requester-node-http";
11
11
 
12
12
  // src/ingestionClient.ts
13
13
  import { createAuth, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
14
- var apiClientVersion = "1.7.0";
14
+ var apiClientVersion = "1.8.1";
15
15
  var REGIONS = ["eu", "us"];
16
16
  function getDefaultHosts(region) {
17
17
  const url = "data.{region}.algolia.com".replace("{region}", region);
@@ -97,11 +97,10 @@ function createIngestionClient({
97
97
  * Creates a new authentication resource.
98
98
  *
99
99
  * Required API Key ACLs:
100
- * - addObject
101
- * - deleteIndex
102
- * - editSettings.
103
- *
104
- * @param authenticationCreate -.
100
+ * - addObject
101
+ * - deleteIndex
102
+ * - editSettings
103
+ * @param authenticationCreate -
105
104
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
106
105
  */
107
106
  createAuthentication(authenticationCreate, requestOptions) {
@@ -133,11 +132,10 @@ function createIngestionClient({
133
132
  * Creates a new destination.
134
133
  *
135
134
  * Required API Key ACLs:
136
- * - addObject
137
- * - deleteIndex
138
- * - editSettings.
139
- *
140
- * @param destinationCreate -.
135
+ * - addObject
136
+ * - deleteIndex
137
+ * - editSettings
138
+ * @param destinationCreate -
141
139
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
142
140
  */
143
141
  createDestination(destinationCreate, requestOptions) {
@@ -169,11 +167,10 @@ function createIngestionClient({
169
167
  * Creates a new source.
170
168
  *
171
169
  * Required API Key ACLs:
172
- * - addObject
173
- * - deleteIndex
174
- * - editSettings.
175
- *
176
- * @param sourceCreate -.
170
+ * - addObject
171
+ * - deleteIndex
172
+ * - editSettings
173
+ * @param sourceCreate -
177
174
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
178
175
  */
179
176
  createSource(sourceCreate, requestOptions) {
@@ -200,7 +197,6 @@ function createIngestionClient({
200
197
  },
201
198
  /**
202
199
  * Creates a new task.
203
- *
204
200
  * @param taskCreate - Request body for creating a task.
205
201
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
206
202
  */
@@ -231,7 +227,6 @@ function createIngestionClient({
231
227
  },
232
228
  /**
233
229
  * Creates a new task using the v1 endpoint, please use `createTask` instead.
234
- *
235
230
  * @param taskCreate - Request body for creating a task.
236
231
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
237
232
  */
@@ -265,7 +260,6 @@ function createIngestionClient({
265
260
  },
266
261
  /**
267
262
  * Creates a new transformation.
268
- *
269
263
  * @param transformationCreate - Request body for creating a transformation.
270
264
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
271
265
  */
@@ -293,7 +287,6 @@ function createIngestionClient({
293
287
  },
294
288
  /**
295
289
  * This method allow you to send requests to the Algolia REST API.
296
- *
297
290
  * @param customDelete - The customDelete object.
298
291
  * @param customDelete.path - Path of the endpoint, anything after \"/1\" must be specified.
299
292
  * @param customDelete.parameters - Query parameters to apply to the current query.
@@ -316,7 +309,6 @@ function createIngestionClient({
316
309
  },
317
310
  /**
318
311
  * This method allow you to send requests to the Algolia REST API.
319
- *
320
312
  * @param customGet - The customGet object.
321
313
  * @param customGet.path - Path of the endpoint, anything after \"/1\" must be specified.
322
314
  * @param customGet.parameters - Query parameters to apply to the current query.
@@ -339,7 +331,6 @@ function createIngestionClient({
339
331
  },
340
332
  /**
341
333
  * This method allow you to send requests to the Algolia REST API.
342
- *
343
334
  * @param customPost - The customPost object.
344
335
  * @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
345
336
  * @param customPost.parameters - Query parameters to apply to the current query.
@@ -364,7 +355,6 @@ function createIngestionClient({
364
355
  },
365
356
  /**
366
357
  * This method allow you to send requests to the Algolia REST API.
367
- *
368
358
  * @param customPut - The customPut object.
369
359
  * @param customPut.path - Path of the endpoint, anything after \"/1\" must be specified.
370
360
  * @param customPut.parameters - Query parameters to apply to the current query.
@@ -391,10 +381,9 @@ function createIngestionClient({
391
381
  * Deletes an authentication resource. You can\'t delete authentication resources that are used by a source or a destination.
392
382
  *
393
383
  * Required API Key ACLs:
394
- * - addObject
395
- * - deleteIndex
396
- * - editSettings.
397
- *
384
+ * - addObject
385
+ * - deleteIndex
386
+ * - editSettings
398
387
  * @param deleteAuthentication - The deleteAuthentication object.
399
388
  * @param deleteAuthentication.authenticationID - Unique identifier of an authentication resource.
400
389
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -421,10 +410,9 @@ function createIngestionClient({
421
410
  * Deletes a destination by its ID. You can\'t delete destinations that are referenced in tasks.
422
411
  *
423
412
  * Required API Key ACLs:
424
- * - addObject
425
- * - deleteIndex
426
- * - editSettings.
427
- *
413
+ * - addObject
414
+ * - deleteIndex
415
+ * - editSettings
428
416
  * @param deleteDestination - The deleteDestination object.
429
417
  * @param deleteDestination.destinationID - Unique identifier of a destination.
430
418
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -451,10 +439,9 @@ function createIngestionClient({
451
439
  * Deletes a source by its ID. You can\'t delete sources that are referenced in tasks.
452
440
  *
453
441
  * Required API Key ACLs:
454
- * - addObject
455
- * - deleteIndex
456
- * - editSettings.
457
- *
442
+ * - addObject
443
+ * - deleteIndex
444
+ * - editSettings
458
445
  * @param deleteSource - The deleteSource object.
459
446
  * @param deleteSource.sourceID - Unique identifier of a source.
460
447
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -476,7 +463,6 @@ function createIngestionClient({
476
463
  },
477
464
  /**
478
465
  * Deletes a task by its ID.
479
- *
480
466
  * @param deleteTask - The deleteTask object.
481
467
  * @param deleteTask.taskID - Unique identifier of a task.
482
468
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -498,7 +484,6 @@ function createIngestionClient({
498
484
  },
499
485
  /**
500
486
  * Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
501
- *
502
487
  * @param deleteTaskV1 - The deleteTaskV1 object.
503
488
  * @param deleteTaskV1.taskID - Unique identifier of a task.
504
489
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -520,7 +505,6 @@ function createIngestionClient({
520
505
  },
521
506
  /**
522
507
  * Deletes a transformation by its ID.
523
- *
524
508
  * @param deleteTransformation - The deleteTransformation object.
525
509
  * @param deleteTransformation.transformationID - Unique identifier of a transformation.
526
510
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -547,10 +531,9 @@ function createIngestionClient({
547
531
  * Disables a task.
548
532
  *
549
533
  * Required API Key ACLs:
550
- * - addObject
551
- * - deleteIndex
552
- * - editSettings.
553
- *
534
+ * - addObject
535
+ * - deleteIndex
536
+ * - editSettings
554
537
  * @param disableTask - The disableTask object.
555
538
  * @param disableTask.taskID - Unique identifier of a task.
556
539
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -574,10 +557,9 @@ function createIngestionClient({
574
557
  * Disables a task using the v1 endpoint, please use `disableTask` instead.
575
558
  *
576
559
  * Required API Key ACLs:
577
- * - addObject
578
- * - deleteIndex
579
- * - editSettings.
580
- *
560
+ * - addObject
561
+ * - deleteIndex
562
+ * - editSettings
581
563
  * @param disableTaskV1 - The disableTaskV1 object.
582
564
  * @param disableTaskV1.taskID - Unique identifier of a task.
583
565
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -601,10 +583,9 @@ function createIngestionClient({
601
583
  * Enables a task.
602
584
  *
603
585
  * Required API Key ACLs:
604
- * - addObject
605
- * - deleteIndex
606
- * - editSettings.
607
- *
586
+ * - addObject
587
+ * - deleteIndex
588
+ * - editSettings
608
589
  * @param enableTask - The enableTask object.
609
590
  * @param enableTask.taskID - Unique identifier of a task.
610
591
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -628,10 +609,9 @@ function createIngestionClient({
628
609
  * Enables a task using the v1 endpoint, please use `enableTask` instead.
629
610
  *
630
611
  * Required API Key ACLs:
631
- * - addObject
632
- * - deleteIndex
633
- * - editSettings.
634
- *
612
+ * - addObject
613
+ * - deleteIndex
614
+ * - editSettings
635
615
  * @param enableTaskV1 - The enableTaskV1 object.
636
616
  * @param enableTaskV1.taskID - Unique identifier of a task.
637
617
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -655,10 +635,9 @@ function createIngestionClient({
655
635
  * Retrieves an authentication resource by its ID.
656
636
  *
657
637
  * Required API Key ACLs:
658
- * - addObject
659
- * - deleteIndex
660
- * - editSettings.
661
- *
638
+ * - addObject
639
+ * - deleteIndex
640
+ * - editSettings
662
641
  * @param getAuthentication - The getAuthentication object.
663
642
  * @param getAuthentication.authenticationID - Unique identifier of an authentication resource.
664
643
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -685,10 +664,9 @@ function createIngestionClient({
685
664
  * Retrieves a destination by its ID.
686
665
  *
687
666
  * Required API Key ACLs:
688
- * - addObject
689
- * - deleteIndex
690
- * - editSettings.
691
- *
667
+ * - addObject
668
+ * - deleteIndex
669
+ * - editSettings
692
670
  * @param getDestination - The getDestination object.
693
671
  * @param getDestination.destinationID - Unique identifier of a destination.
694
672
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -715,10 +693,9 @@ function createIngestionClient({
715
693
  * Retrieves a single task run event by its ID.
716
694
  *
717
695
  * Required API Key ACLs:
718
- * - addObject
719
- * - deleteIndex
720
- * - editSettings.
721
- *
696
+ * - addObject
697
+ * - deleteIndex
698
+ * - editSettings
722
699
  * @param getEvent - The getEvent object.
723
700
  * @param getEvent.runID - Unique identifier of a task run.
724
701
  * @param getEvent.eventID - Unique identifier of an event.
@@ -746,10 +723,9 @@ function createIngestionClient({
746
723
  * Retrieve a single task run by its ID.
747
724
  *
748
725
  * Required API Key ACLs:
749
- * - addObject
750
- * - deleteIndex
751
- * - editSettings.
752
- *
726
+ * - addObject
727
+ * - deleteIndex
728
+ * - editSettings
753
729
  * @param getRun - The getRun object.
754
730
  * @param getRun.runID - Unique identifier of a task run.
755
731
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -773,10 +749,9 @@ function createIngestionClient({
773
749
  * Retrieve a source by its ID.
774
750
  *
775
751
  * Required API Key ACLs:
776
- * - addObject
777
- * - deleteIndex
778
- * - editSettings.
779
- *
752
+ * - addObject
753
+ * - deleteIndex
754
+ * - editSettings
780
755
  * @param getSource - The getSource object.
781
756
  * @param getSource.sourceID - Unique identifier of a source.
782
757
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -800,10 +775,9 @@ function createIngestionClient({
800
775
  * Retrieves a task by its ID.
801
776
  *
802
777
  * Required API Key ACLs:
803
- * - addObject
804
- * - deleteIndex
805
- * - editSettings.
806
- *
778
+ * - addObject
779
+ * - deleteIndex
780
+ * - editSettings
807
781
  * @param getTask - The getTask object.
808
782
  * @param getTask.taskID - Unique identifier of a task.
809
783
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -827,10 +801,9 @@ function createIngestionClient({
827
801
  * Retrieves a task by its ID using the v1 endpoint, please use `getTask` instead.
828
802
  *
829
803
  * Required API Key ACLs:
830
- * - addObject
831
- * - deleteIndex
832
- * - editSettings.
833
- *
804
+ * - addObject
805
+ * - deleteIndex
806
+ * - editSettings
834
807
  * @param getTaskV1 - The getTaskV1 object.
835
808
  * @param getTaskV1.taskID - Unique identifier of a task.
836
809
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -854,10 +827,9 @@ function createIngestionClient({
854
827
  * Retrieves a transformation by its ID.
855
828
  *
856
829
  * Required API Key ACLs:
857
- * - addObject
858
- * - deleteIndex
859
- * - editSettings.
860
- *
830
+ * - addObject
831
+ * - deleteIndex
832
+ * - editSettings
861
833
  * @param getTransformation - The getTransformation object.
862
834
  * @param getTransformation.transformationID - Unique identifier of a transformation.
863
835
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -884,10 +856,9 @@ function createIngestionClient({
884
856
  * Retrieves a list of all authentication resources.
885
857
  *
886
858
  * Required API Key ACLs:
887
- * - addObject
888
- * - deleteIndex
889
- * - editSettings.
890
- *
859
+ * - addObject
860
+ * - deleteIndex
861
+ * - editSettings
891
862
  * @param listAuthentications - The listAuthentications object.
892
863
  * @param listAuthentications.itemsPerPage - Number of items per page.
893
864
  * @param listAuthentications.page - Page number of the paginated API response.
@@ -902,22 +873,22 @@ function createIngestionClient({
902
873
  const headers = {};
903
874
  const queryParameters = {};
904
875
  if (itemsPerPage !== void 0) {
905
- queryParameters.itemsPerPage = itemsPerPage.toString();
876
+ queryParameters["itemsPerPage"] = itemsPerPage.toString();
906
877
  }
907
878
  if (page !== void 0) {
908
- queryParameters.page = page.toString();
879
+ queryParameters["page"] = page.toString();
909
880
  }
910
881
  if (type !== void 0) {
911
- queryParameters.type = type.toString();
882
+ queryParameters["type"] = type.toString();
912
883
  }
913
884
  if (platform !== void 0) {
914
- queryParameters.platform = platform.toString();
885
+ queryParameters["platform"] = platform.toString();
915
886
  }
916
887
  if (sort !== void 0) {
917
- queryParameters.sort = sort.toString();
888
+ queryParameters["sort"] = sort.toString();
918
889
  }
919
890
  if (order !== void 0) {
920
- queryParameters.order = order.toString();
891
+ queryParameters["order"] = order.toString();
921
892
  }
922
893
  const request = {
923
894
  method: "GET",
@@ -931,10 +902,9 @@ function createIngestionClient({
931
902
  * Retrieves a list of destinations.
932
903
  *
933
904
  * Required API Key ACLs:
934
- * - addObject
935
- * - deleteIndex
936
- * - editSettings.
937
- *
905
+ * - addObject
906
+ * - deleteIndex
907
+ * - editSettings
938
908
  * @param listDestinations - The listDestinations object.
939
909
  * @param listDestinations.itemsPerPage - Number of items per page.
940
910
  * @param listDestinations.page - Page number of the paginated API response.
@@ -950,25 +920,25 @@ function createIngestionClient({
950
920
  const headers = {};
951
921
  const queryParameters = {};
952
922
  if (itemsPerPage !== void 0) {
953
- queryParameters.itemsPerPage = itemsPerPage.toString();
923
+ queryParameters["itemsPerPage"] = itemsPerPage.toString();
954
924
  }
955
925
  if (page !== void 0) {
956
- queryParameters.page = page.toString();
926
+ queryParameters["page"] = page.toString();
957
927
  }
958
928
  if (type !== void 0) {
959
- queryParameters.type = type.toString();
929
+ queryParameters["type"] = type.toString();
960
930
  }
961
931
  if (authenticationID !== void 0) {
962
- queryParameters.authenticationID = authenticationID.toString();
932
+ queryParameters["authenticationID"] = authenticationID.toString();
963
933
  }
964
934
  if (transformationID !== void 0) {
965
- queryParameters.transformationID = transformationID.toString();
935
+ queryParameters["transformationID"] = transformationID.toString();
966
936
  }
967
937
  if (sort !== void 0) {
968
- queryParameters.sort = sort.toString();
938
+ queryParameters["sort"] = sort.toString();
969
939
  }
970
940
  if (order !== void 0) {
971
- queryParameters.order = order.toString();
941
+ queryParameters["order"] = order.toString();
972
942
  }
973
943
  const request = {
974
944
  method: "GET",
@@ -979,13 +949,12 @@ function createIngestionClient({
979
949
  return transporter.request(request, requestOptions);
980
950
  },
981
951
  /**
982
- * Retrieves a list of events for a task run, identified by it\'s ID.
952
+ * Retrieves a list of events for a task run, identified by its ID.
983
953
  *
984
954
  * Required API Key ACLs:
985
- * - addObject
986
- * - deleteIndex
987
- * - editSettings.
988
- *
955
+ * - addObject
956
+ * - deleteIndex
957
+ * - editSettings
989
958
  * @param listEvents - The listEvents object.
990
959
  * @param listEvents.runID - Unique identifier of a task run.
991
960
  * @param listEvents.itemsPerPage - Number of items per page.
@@ -1006,28 +975,28 @@ function createIngestionClient({
1006
975
  const headers = {};
1007
976
  const queryParameters = {};
1008
977
  if (itemsPerPage !== void 0) {
1009
- queryParameters.itemsPerPage = itemsPerPage.toString();
978
+ queryParameters["itemsPerPage"] = itemsPerPage.toString();
1010
979
  }
1011
980
  if (page !== void 0) {
1012
- queryParameters.page = page.toString();
981
+ queryParameters["page"] = page.toString();
1013
982
  }
1014
983
  if (status !== void 0) {
1015
- queryParameters.status = status.toString();
984
+ queryParameters["status"] = status.toString();
1016
985
  }
1017
986
  if (type !== void 0) {
1018
- queryParameters.type = type.toString();
987
+ queryParameters["type"] = type.toString();
1019
988
  }
1020
989
  if (sort !== void 0) {
1021
- queryParameters.sort = sort.toString();
990
+ queryParameters["sort"] = sort.toString();
1022
991
  }
1023
992
  if (order !== void 0) {
1024
- queryParameters.order = order.toString();
993
+ queryParameters["order"] = order.toString();
1025
994
  }
1026
995
  if (startDate !== void 0) {
1027
- queryParameters.startDate = startDate.toString();
996
+ queryParameters["startDate"] = startDate.toString();
1028
997
  }
1029
998
  if (endDate !== void 0) {
1030
- queryParameters.endDate = endDate.toString();
999
+ queryParameters["endDate"] = endDate.toString();
1031
1000
  }
1032
1001
  const request = {
1033
1002
  method: "GET",
@@ -1041,10 +1010,9 @@ function createIngestionClient({
1041
1010
  * Retrieve a list of task runs.
1042
1011
  *
1043
1012
  * Required API Key ACLs:
1044
- * - addObject
1045
- * - deleteIndex
1046
- * - editSettings.
1047
- *
1013
+ * - addObject
1014
+ * - deleteIndex
1015
+ * - editSettings
1048
1016
  * @param listRuns - The listRuns object.
1049
1017
  * @param listRuns.itemsPerPage - Number of items per page.
1050
1018
  * @param listRuns.page - Page number of the paginated API response.
@@ -1062,31 +1030,31 @@ function createIngestionClient({
1062
1030
  const headers = {};
1063
1031
  const queryParameters = {};
1064
1032
  if (itemsPerPage !== void 0) {
1065
- queryParameters.itemsPerPage = itemsPerPage.toString();
1033
+ queryParameters["itemsPerPage"] = itemsPerPage.toString();
1066
1034
  }
1067
1035
  if (page !== void 0) {
1068
- queryParameters.page = page.toString();
1036
+ queryParameters["page"] = page.toString();
1069
1037
  }
1070
1038
  if (status !== void 0) {
1071
- queryParameters.status = status.toString();
1039
+ queryParameters["status"] = status.toString();
1072
1040
  }
1073
1041
  if (type !== void 0) {
1074
- queryParameters.type = type.toString();
1042
+ queryParameters["type"] = type.toString();
1075
1043
  }
1076
1044
  if (taskID !== void 0) {
1077
- queryParameters.taskID = taskID.toString();
1045
+ queryParameters["taskID"] = taskID.toString();
1078
1046
  }
1079
1047
  if (sort !== void 0) {
1080
- queryParameters.sort = sort.toString();
1048
+ queryParameters["sort"] = sort.toString();
1081
1049
  }
1082
1050
  if (order !== void 0) {
1083
- queryParameters.order = order.toString();
1051
+ queryParameters["order"] = order.toString();
1084
1052
  }
1085
1053
  if (startDate !== void 0) {
1086
- queryParameters.startDate = startDate.toString();
1054
+ queryParameters["startDate"] = startDate.toString();
1087
1055
  }
1088
1056
  if (endDate !== void 0) {
1089
- queryParameters.endDate = endDate.toString();
1057
+ queryParameters["endDate"] = endDate.toString();
1090
1058
  }
1091
1059
  const request = {
1092
1060
  method: "GET",
@@ -1100,10 +1068,9 @@ function createIngestionClient({
1100
1068
  * Retrieves a list of sources.
1101
1069
  *
1102
1070
  * Required API Key ACLs:
1103
- * - addObject
1104
- * - deleteIndex
1105
- * - editSettings.
1106
- *
1071
+ * - addObject
1072
+ * - deleteIndex
1073
+ * - editSettings
1107
1074
  * @param listSources - The listSources object.
1108
1075
  * @param listSources.itemsPerPage - Number of items per page.
1109
1076
  * @param listSources.page - Page number of the paginated API response.
@@ -1118,22 +1085,22 @@ function createIngestionClient({
1118
1085
  const headers = {};
1119
1086
  const queryParameters = {};
1120
1087
  if (itemsPerPage !== void 0) {
1121
- queryParameters.itemsPerPage = itemsPerPage.toString();
1088
+ queryParameters["itemsPerPage"] = itemsPerPage.toString();
1122
1089
  }
1123
1090
  if (page !== void 0) {
1124
- queryParameters.page = page.toString();
1091
+ queryParameters["page"] = page.toString();
1125
1092
  }
1126
1093
  if (type !== void 0) {
1127
- queryParameters.type = type.toString();
1094
+ queryParameters["type"] = type.toString();
1128
1095
  }
1129
1096
  if (authenticationID !== void 0) {
1130
- queryParameters.authenticationID = authenticationID.toString();
1097
+ queryParameters["authenticationID"] = authenticationID.toString();
1131
1098
  }
1132
1099
  if (sort !== void 0) {
1133
- queryParameters.sort = sort.toString();
1100
+ queryParameters["sort"] = sort.toString();
1134
1101
  }
1135
1102
  if (order !== void 0) {
1136
- queryParameters.order = order.toString();
1103
+ queryParameters["order"] = order.toString();
1137
1104
  }
1138
1105
  const request = {
1139
1106
  method: "GET",
@@ -1147,10 +1114,9 @@ function createIngestionClient({
1147
1114
  * Retrieves a list of tasks.
1148
1115
  *
1149
1116
  * Required API Key ACLs:
1150
- * - addObject
1151
- * - deleteIndex
1152
- * - editSettings.
1153
- *
1117
+ * - addObject
1118
+ * - deleteIndex
1119
+ * - editSettings
1154
1120
  * @param listTasks - The listTasks object.
1155
1121
  * @param listTasks.itemsPerPage - Number of items per page.
1156
1122
  * @param listTasks.page - Page number of the paginated API response.
@@ -1168,31 +1134,31 @@ function createIngestionClient({
1168
1134
  const headers = {};
1169
1135
  const queryParameters = {};
1170
1136
  if (itemsPerPage !== void 0) {
1171
- queryParameters.itemsPerPage = itemsPerPage.toString();
1137
+ queryParameters["itemsPerPage"] = itemsPerPage.toString();
1172
1138
  }
1173
1139
  if (page !== void 0) {
1174
- queryParameters.page = page.toString();
1140
+ queryParameters["page"] = page.toString();
1175
1141
  }
1176
1142
  if (action !== void 0) {
1177
- queryParameters.action = action.toString();
1143
+ queryParameters["action"] = action.toString();
1178
1144
  }
1179
1145
  if (enabled !== void 0) {
1180
- queryParameters.enabled = enabled.toString();
1146
+ queryParameters["enabled"] = enabled.toString();
1181
1147
  }
1182
1148
  if (sourceID !== void 0) {
1183
- queryParameters.sourceID = sourceID.toString();
1149
+ queryParameters["sourceID"] = sourceID.toString();
1184
1150
  }
1185
1151
  if (destinationID !== void 0) {
1186
- queryParameters.destinationID = destinationID.toString();
1152
+ queryParameters["destinationID"] = destinationID.toString();
1187
1153
  }
1188
1154
  if (triggerType !== void 0) {
1189
- queryParameters.triggerType = triggerType.toString();
1155
+ queryParameters["triggerType"] = triggerType.toString();
1190
1156
  }
1191
1157
  if (sort !== void 0) {
1192
- queryParameters.sort = sort.toString();
1158
+ queryParameters["sort"] = sort.toString();
1193
1159
  }
1194
1160
  if (order !== void 0) {
1195
- queryParameters.order = order.toString();
1161
+ queryParameters["order"] = order.toString();
1196
1162
  }
1197
1163
  const request = {
1198
1164
  method: "GET",
@@ -1206,10 +1172,9 @@ function createIngestionClient({
1206
1172
  * Retrieves a list of tasks using the v1 endpoint, please use `getTasks` instead.
1207
1173
  *
1208
1174
  * Required API Key ACLs:
1209
- * - addObject
1210
- * - deleteIndex
1211
- * - editSettings.
1212
- *
1175
+ * - addObject
1176
+ * - deleteIndex
1177
+ * - editSettings
1213
1178
  * @param listTasksV1 - The listTasksV1 object.
1214
1179
  * @param listTasksV1.itemsPerPage - Number of items per page.
1215
1180
  * @param listTasksV1.page - Page number of the paginated API response.
@@ -1227,31 +1192,31 @@ function createIngestionClient({
1227
1192
  const headers = {};
1228
1193
  const queryParameters = {};
1229
1194
  if (itemsPerPage !== void 0) {
1230
- queryParameters.itemsPerPage = itemsPerPage.toString();
1195
+ queryParameters["itemsPerPage"] = itemsPerPage.toString();
1231
1196
  }
1232
1197
  if (page !== void 0) {
1233
- queryParameters.page = page.toString();
1198
+ queryParameters["page"] = page.toString();
1234
1199
  }
1235
1200
  if (action !== void 0) {
1236
- queryParameters.action = action.toString();
1201
+ queryParameters["action"] = action.toString();
1237
1202
  }
1238
1203
  if (enabled !== void 0) {
1239
- queryParameters.enabled = enabled.toString();
1204
+ queryParameters["enabled"] = enabled.toString();
1240
1205
  }
1241
1206
  if (sourceID !== void 0) {
1242
- queryParameters.sourceID = sourceID.toString();
1207
+ queryParameters["sourceID"] = sourceID.toString();
1243
1208
  }
1244
1209
  if (destinationID !== void 0) {
1245
- queryParameters.destinationID = destinationID.toString();
1210
+ queryParameters["destinationID"] = destinationID.toString();
1246
1211
  }
1247
1212
  if (triggerType !== void 0) {
1248
- queryParameters.triggerType = triggerType.toString();
1213
+ queryParameters["triggerType"] = triggerType.toString();
1249
1214
  }
1250
1215
  if (sort !== void 0) {
1251
- queryParameters.sort = sort.toString();
1216
+ queryParameters["sort"] = sort.toString();
1252
1217
  }
1253
1218
  if (order !== void 0) {
1254
- queryParameters.order = order.toString();
1219
+ queryParameters["order"] = order.toString();
1255
1220
  }
1256
1221
  const request = {
1257
1222
  method: "GET",
@@ -1265,10 +1230,9 @@ function createIngestionClient({
1265
1230
  * Retrieves a list of transformations.
1266
1231
  *
1267
1232
  * Required API Key ACLs:
1268
- * - addObject
1269
- * - deleteIndex
1270
- * - editSettings.
1271
- *
1233
+ * - addObject
1234
+ * - deleteIndex
1235
+ * - editSettings
1272
1236
  * @param listTransformations - The listTransformations object.
1273
1237
  * @param listTransformations.itemsPerPage - Number of items per page.
1274
1238
  * @param listTransformations.page - Page number of the paginated API response.
@@ -1281,16 +1245,16 @@ function createIngestionClient({
1281
1245
  const headers = {};
1282
1246
  const queryParameters = {};
1283
1247
  if (itemsPerPage !== void 0) {
1284
- queryParameters.itemsPerPage = itemsPerPage.toString();
1248
+ queryParameters["itemsPerPage"] = itemsPerPage.toString();
1285
1249
  }
1286
1250
  if (page !== void 0) {
1287
- queryParameters.page = page.toString();
1251
+ queryParameters["page"] = page.toString();
1288
1252
  }
1289
1253
  if (sort !== void 0) {
1290
- queryParameters.sort = sort.toString();
1254
+ queryParameters["sort"] = sort.toString();
1291
1255
  }
1292
1256
  if (order !== void 0) {
1293
- queryParameters.order = order.toString();
1257
+ queryParameters["order"] = order.toString();
1294
1258
  }
1295
1259
  const request = {
1296
1260
  method: "GET",
@@ -1304,10 +1268,9 @@ function createIngestionClient({
1304
1268
  * Push a `batch` request payload through the Pipeline. You can check the status of task pushes with the observability endpoints.
1305
1269
  *
1306
1270
  * Required API Key ACLs:
1307
- * - addObject
1308
- * - deleteIndex
1309
- * - editSettings.
1310
- *
1271
+ * - addObject
1272
+ * - deleteIndex
1273
+ * - editSettings
1311
1274
  * @param pushTask - The pushTask object.
1312
1275
  * @param pushTask.taskID - Unique identifier of a task.
1313
1276
  * @param pushTask.pushTaskPayload - Request body of a Search API `batch` request that will be pushed in the Connectors pipeline.
@@ -1342,13 +1305,12 @@ function createIngestionClient({
1342
1305
  * Runs all tasks linked to a source, only available for Shopify sources. It will create 1 run per task.
1343
1306
  *
1344
1307
  * Required API Key ACLs:
1345
- * - addObject
1346
- * - deleteIndex
1347
- * - editSettings.
1348
- *
1308
+ * - addObject
1309
+ * - deleteIndex
1310
+ * - editSettings
1349
1311
  * @param runSource - The runSource object.
1350
1312
  * @param runSource.sourceID - Unique identifier of a source.
1351
- * @param runSource.runSourcePayload -.
1313
+ * @param runSource.runSourcePayload -
1352
1314
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1353
1315
  */
1354
1316
  runSource({ sourceID, runSourcePayload }, requestOptions) {
@@ -1371,10 +1333,9 @@ function createIngestionClient({
1371
1333
  * Runs a task. You can check the status of task runs with the observability endpoints.
1372
1334
  *
1373
1335
  * Required API Key ACLs:
1374
- * - addObject
1375
- * - deleteIndex
1376
- * - editSettings.
1377
- *
1336
+ * - addObject
1337
+ * - deleteIndex
1338
+ * - editSettings
1378
1339
  * @param runTask - The runTask object.
1379
1340
  * @param runTask.taskID - Unique identifier of a task.
1380
1341
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -1398,10 +1359,9 @@ function createIngestionClient({
1398
1359
  * Runs a task using the v1 endpoint, please use `runTask` instead. You can check the status of task runs with the observability endpoints.
1399
1360
  *
1400
1361
  * Required API Key ACLs:
1401
- * - addObject
1402
- * - deleteIndex
1403
- * - editSettings.
1404
- *
1362
+ * - addObject
1363
+ * - deleteIndex
1364
+ * - editSettings
1405
1365
  * @param runTaskV1 - The runTaskV1 object.
1406
1366
  * @param runTaskV1.taskID - Unique identifier of a task.
1407
1367
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -1425,10 +1385,9 @@ function createIngestionClient({
1425
1385
  * Searches for authentication resources.
1426
1386
  *
1427
1387
  * Required API Key ACLs:
1428
- * - addObject
1429
- * - deleteIndex
1430
- * - editSettings.
1431
- *
1388
+ * - addObject
1389
+ * - deleteIndex
1390
+ * - editSettings
1432
1391
  * @param authenticationSearch - The authenticationSearch object.
1433
1392
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1434
1393
  */
@@ -1457,10 +1416,9 @@ function createIngestionClient({
1457
1416
  * Searches for destinations.
1458
1417
  *
1459
1418
  * Required API Key ACLs:
1460
- * - addObject
1461
- * - deleteIndex
1462
- * - editSettings.
1463
- *
1419
+ * - addObject
1420
+ * - deleteIndex
1421
+ * - editSettings
1464
1422
  * @param destinationSearch - The destinationSearch object.
1465
1423
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1466
1424
  */
@@ -1487,10 +1445,9 @@ function createIngestionClient({
1487
1445
  * Searches for sources.
1488
1446
  *
1489
1447
  * Required API Key ACLs:
1490
- * - addObject
1491
- * - deleteIndex
1492
- * - editSettings.
1493
- *
1448
+ * - addObject
1449
+ * - deleteIndex
1450
+ * - editSettings
1494
1451
  * @param sourceSearch - The sourceSearch object.
1495
1452
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1496
1453
  */
@@ -1517,10 +1474,9 @@ function createIngestionClient({
1517
1474
  * Searches for tasks.
1518
1475
  *
1519
1476
  * Required API Key ACLs:
1520
- * - addObject
1521
- * - deleteIndex
1522
- * - editSettings.
1523
- *
1477
+ * - addObject
1478
+ * - deleteIndex
1479
+ * - editSettings
1524
1480
  * @param taskSearch - The taskSearch object.
1525
1481
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1526
1482
  */
@@ -1547,10 +1503,9 @@ function createIngestionClient({
1547
1503
  * Searches for tasks using the v1 endpoint, please use `searchTasks` instead.
1548
1504
  *
1549
1505
  * Required API Key ACLs:
1550
- * - addObject
1551
- * - deleteIndex
1552
- * - editSettings.
1553
- *
1506
+ * - addObject
1507
+ * - deleteIndex
1508
+ * - editSettings
1554
1509
  * @param taskSearch - The taskSearch object.
1555
1510
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1556
1511
  */
@@ -1577,10 +1532,9 @@ function createIngestionClient({
1577
1532
  * Searches for transformations.
1578
1533
  *
1579
1534
  * Required API Key ACLs:
1580
- * - addObject
1581
- * - deleteIndex
1582
- * - editSettings.
1583
- *
1535
+ * - addObject
1536
+ * - deleteIndex
1537
+ * - editSettings
1584
1538
  * @param transformationSearch - The transformationSearch object.
1585
1539
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1586
1540
  */
@@ -1609,10 +1563,9 @@ function createIngestionClient({
1609
1563
  * Triggers a stream-listing request for a source. Triggering stream-listing requests only works with sources with `type: docker` and `imageType: singer`.
1610
1564
  *
1611
1565
  * Required API Key ACLs:
1612
- * - addObject
1613
- * - deleteIndex
1614
- * - editSettings.
1615
- *
1566
+ * - addObject
1567
+ * - deleteIndex
1568
+ * - editSettings
1616
1569
  * @param triggerDockerSourceDiscover - The triggerDockerSourceDiscover object.
1617
1570
  * @param triggerDockerSourceDiscover.sourceID - Unique identifier of a source.
1618
1571
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -1636,10 +1589,9 @@ function createIngestionClient({
1636
1589
  * Try a transformation before creating it.
1637
1590
  *
1638
1591
  * Required API Key ACLs:
1639
- * - addObject
1640
- * - deleteIndex
1641
- * - editSettings.
1642
- *
1592
+ * - addObject
1593
+ * - deleteIndex
1594
+ * - editSettings
1643
1595
  * @param transformationTry - The transformationTry object.
1644
1596
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1645
1597
  */
@@ -1669,10 +1621,9 @@ function createIngestionClient({
1669
1621
  * Try a transformation before updating it.
1670
1622
  *
1671
1623
  * Required API Key ACLs:
1672
- * - addObject
1673
- * - deleteIndex
1674
- * - editSettings.
1675
- *
1624
+ * - addObject
1625
+ * - deleteIndex
1626
+ * - editSettings
1676
1627
  * @param tryTransformationBeforeUpdate - The tryTransformationBeforeUpdate object.
1677
1628
  * @param tryTransformationBeforeUpdate.transformationID - Unique identifier of a transformation.
1678
1629
  * @param tryTransformationBeforeUpdate.transformationTry - The transformationTry object.
@@ -1712,10 +1663,9 @@ function createIngestionClient({
1712
1663
  * Updates an authentication resource.
1713
1664
  *
1714
1665
  * Required API Key ACLs:
1715
- * - addObject
1716
- * - deleteIndex
1717
- * - editSettings.
1718
- *
1666
+ * - addObject
1667
+ * - deleteIndex
1668
+ * - editSettings
1719
1669
  * @param updateAuthentication - The updateAuthentication object.
1720
1670
  * @param updateAuthentication.authenticationID - Unique identifier of an authentication resource.
1721
1671
  * @param updateAuthentication.authenticationUpdate - The authenticationUpdate object.
@@ -1747,10 +1697,9 @@ function createIngestionClient({
1747
1697
  * Updates the destination by its ID.
1748
1698
  *
1749
1699
  * Required API Key ACLs:
1750
- * - addObject
1751
- * - deleteIndex
1752
- * - editSettings.
1753
- *
1700
+ * - addObject
1701
+ * - deleteIndex
1702
+ * - editSettings
1754
1703
  * @param updateDestination - The updateDestination object.
1755
1704
  * @param updateDestination.destinationID - Unique identifier of a destination.
1756
1705
  * @param updateDestination.destinationUpdate - The destinationUpdate object.
@@ -1782,10 +1731,9 @@ function createIngestionClient({
1782
1731
  * Updates a source by its ID.
1783
1732
  *
1784
1733
  * Required API Key ACLs:
1785
- * - addObject
1786
- * - deleteIndex
1787
- * - editSettings.
1788
- *
1734
+ * - addObject
1735
+ * - deleteIndex
1736
+ * - editSettings
1789
1737
  * @param updateSource - The updateSource object.
1790
1738
  * @param updateSource.sourceID - Unique identifier of a source.
1791
1739
  * @param updateSource.sourceUpdate - The sourceUpdate object.
@@ -1812,7 +1760,6 @@ function createIngestionClient({
1812
1760
  },
1813
1761
  /**
1814
1762
  * Updates a task by its ID.
1815
- *
1816
1763
  * @param updateTask - The updateTask object.
1817
1764
  * @param updateTask.taskID - Unique identifier of a task.
1818
1765
  * @param updateTask.taskUpdate - The taskUpdate object.
@@ -1839,7 +1786,6 @@ function createIngestionClient({
1839
1786
  },
1840
1787
  /**
1841
1788
  * Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
1842
- *
1843
1789
  * @param updateTaskV1 - The updateTaskV1 object.
1844
1790
  * @param updateTaskV1.taskID - Unique identifier of a task.
1845
1791
  * @param updateTaskV1.taskUpdate - The taskUpdate object.
@@ -1866,7 +1812,6 @@ function createIngestionClient({
1866
1812
  },
1867
1813
  /**
1868
1814
  * Updates a transformation by its ID.
1869
- *
1870
1815
  * @param updateTransformation - The updateTransformation object.
1871
1816
  * @param updateTransformation.transformationID - Unique identifier of a transformation.
1872
1817
  * @param updateTransformation.transformationCreate - The transformationCreate object.
@@ -1904,11 +1849,10 @@ function createIngestionClient({
1904
1849
  * Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.
1905
1850
  *
1906
1851
  * Required API Key ACLs:
1907
- * - addObject
1908
- * - deleteIndex
1909
- * - editSettings.
1910
- *
1911
- * @param sourceCreate -.
1852
+ * - addObject
1853
+ * - deleteIndex
1854
+ * - editSettings
1855
+ * @param sourceCreate -
1912
1856
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1913
1857
  */
1914
1858
  validateSource(sourceCreate, requestOptions = void 0) {
@@ -1928,10 +1872,9 @@ function createIngestionClient({
1928
1872
  * Validates an update of a source payload to ensure it can be created and that the data source can be reached by Algolia.
1929
1873
  *
1930
1874
  * Required API Key ACLs:
1931
- * - addObject
1932
- * - deleteIndex
1933
- * - editSettings.
1934
- *
1875
+ * - addObject
1876
+ * - deleteIndex
1877
+ * - editSettings
1935
1878
  * @param validateSourceBeforeUpdate - The validateSourceBeforeUpdate object.
1936
1879
  * @param validateSourceBeforeUpdate.sourceID - Unique identifier of a source.
1937
1880
  * @param validateSourceBeforeUpdate.sourceUpdate - The sourceUpdate object.