@algolia/client-search 5.23.0 → 5.23.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.
package/dist/fetch.d.ts CHANGED
@@ -3028,7 +3028,7 @@ type ReplaceAllObjectsOptions = {
3028
3028
  scopes?: Array<ScopeType>;
3029
3029
  };
3030
3030
 
3031
- declare const apiClientVersion = "5.23.0";
3031
+ declare const apiClientVersion = "5.23.1";
3032
3032
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3033
3033
  transporter: _algolia_client_common.Transporter;
3034
3034
  /**
@@ -3256,6 +3256,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3256
3256
  *
3257
3257
  * Required API Key ACLs:
3258
3258
  * - admin
3259
+ *
3260
+ * @deprecated
3259
3261
  * @param assignUserId - The assignUserId object.
3260
3262
  * @param assignUserId.xAlgoliaUserID - Unique identifier of the user who makes the search request.
3261
3263
  * @param assignUserId.assignUserIdParams - The assignUserIdParams object.
@@ -3275,6 +3277,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3275
3277
  *
3276
3278
  * Required API Key ACLs:
3277
3279
  * - admin
3280
+ *
3281
+ * @deprecated
3278
3282
  * @param batchAssignUserIds - The batchAssignUserIds object.
3279
3283
  * @param batchAssignUserIds.xAlgoliaUserID - Unique identifier of the user who makes the search request.
3280
3284
  * @param batchAssignUserIds.batchAssignUserIdsParams - The batchAssignUserIdsParams object.
@@ -3570,6 +3574,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3570
3574
  *
3571
3575
  * Required API Key ACLs:
3572
3576
  * - admin
3577
+ *
3578
+ * @deprecated
3573
3579
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3574
3580
  */
3575
3581
  getTopUserIds(requestOptions?: RequestOptions): Promise<GetTopUserIdsResponse>;
@@ -3578,6 +3584,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3578
3584
  *
3579
3585
  * Required API Key ACLs:
3580
3586
  * - admin
3587
+ *
3588
+ * @deprecated
3581
3589
  * @param getUserId - The getUserId object.
3582
3590
  * @param getUserId.userID - Unique identifier of the user who makes the search request.
3583
3591
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -3588,6 +3596,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3588
3596
  *
3589
3597
  * Required API Key ACLs:
3590
3598
  * - admin
3599
+ *
3600
+ * @deprecated
3591
3601
  * @param hasPendingMappings - The hasPendingMappings object.
3592
3602
  * @param hasPendingMappings.getClusters - Whether to include the cluster\'s pending mapping state in the response.
3593
3603
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -3606,6 +3616,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3606
3616
  *
3607
3617
  * Required API Key ACLs:
3608
3618
  * - admin
3619
+ *
3620
+ * @deprecated
3609
3621
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3610
3622
  */
3611
3623
  listClusters(requestOptions?: RequestOptions): Promise<ListClustersResponse>;
@@ -3625,6 +3637,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3625
3637
  *
3626
3638
  * Required API Key ACLs:
3627
3639
  * - admin
3640
+ *
3641
+ * @deprecated
3628
3642
  * @param listUserIds - The listUserIds object.
3629
3643
  * @param listUserIds.page - Requested page of the API response. If `null`, the API response is not paginated.
3630
3644
  * @param listUserIds.hitsPerPage - Number of hits per page.
@@ -3666,6 +3680,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3666
3680
  *
3667
3681
  * Required API Key ACLs:
3668
3682
  * - admin
3683
+ *
3684
+ * @deprecated
3669
3685
  * @param removeUserId - The removeUserId object.
3670
3686
  * @param removeUserId.userID - Unique identifier of the user who makes the search request.
3671
3687
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -3824,6 +3840,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3824
3840
  *
3825
3841
  * Required API Key ACLs:
3826
3842
  * - admin
3843
+ *
3844
+ * @deprecated
3827
3845
  * @param searchUserIdsParams - The searchUserIdsParams object.
3828
3846
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3829
3847
  */
package/dist/node.d.cts CHANGED
@@ -3028,7 +3028,7 @@ type ReplaceAllObjectsOptions = {
3028
3028
  scopes?: Array<ScopeType>;
3029
3029
  };
3030
3030
 
3031
- declare const apiClientVersion = "5.23.0";
3031
+ declare const apiClientVersion = "5.23.1";
3032
3032
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3033
3033
  transporter: _algolia_client_common.Transporter;
3034
3034
  /**
@@ -3256,6 +3256,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3256
3256
  *
3257
3257
  * Required API Key ACLs:
3258
3258
  * - admin
3259
+ *
3260
+ * @deprecated
3259
3261
  * @param assignUserId - The assignUserId object.
3260
3262
  * @param assignUserId.xAlgoliaUserID - Unique identifier of the user who makes the search request.
3261
3263
  * @param assignUserId.assignUserIdParams - The assignUserIdParams object.
@@ -3275,6 +3277,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3275
3277
  *
3276
3278
  * Required API Key ACLs:
3277
3279
  * - admin
3280
+ *
3281
+ * @deprecated
3278
3282
  * @param batchAssignUserIds - The batchAssignUserIds object.
3279
3283
  * @param batchAssignUserIds.xAlgoliaUserID - Unique identifier of the user who makes the search request.
3280
3284
  * @param batchAssignUserIds.batchAssignUserIdsParams - The batchAssignUserIdsParams object.
@@ -3570,6 +3574,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3570
3574
  *
3571
3575
  * Required API Key ACLs:
3572
3576
  * - admin
3577
+ *
3578
+ * @deprecated
3573
3579
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3574
3580
  */
3575
3581
  getTopUserIds(requestOptions?: RequestOptions): Promise<GetTopUserIdsResponse>;
@@ -3578,6 +3584,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3578
3584
  *
3579
3585
  * Required API Key ACLs:
3580
3586
  * - admin
3587
+ *
3588
+ * @deprecated
3581
3589
  * @param getUserId - The getUserId object.
3582
3590
  * @param getUserId.userID - Unique identifier of the user who makes the search request.
3583
3591
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -3588,6 +3596,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3588
3596
  *
3589
3597
  * Required API Key ACLs:
3590
3598
  * - admin
3599
+ *
3600
+ * @deprecated
3591
3601
  * @param hasPendingMappings - The hasPendingMappings object.
3592
3602
  * @param hasPendingMappings.getClusters - Whether to include the cluster\'s pending mapping state in the response.
3593
3603
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -3606,6 +3616,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3606
3616
  *
3607
3617
  * Required API Key ACLs:
3608
3618
  * - admin
3619
+ *
3620
+ * @deprecated
3609
3621
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3610
3622
  */
3611
3623
  listClusters(requestOptions?: RequestOptions): Promise<ListClustersResponse>;
@@ -3625,6 +3637,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3625
3637
  *
3626
3638
  * Required API Key ACLs:
3627
3639
  * - admin
3640
+ *
3641
+ * @deprecated
3628
3642
  * @param listUserIds - The listUserIds object.
3629
3643
  * @param listUserIds.page - Requested page of the API response. If `null`, the API response is not paginated.
3630
3644
  * @param listUserIds.hitsPerPage - Number of hits per page.
@@ -3666,6 +3680,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3666
3680
  *
3667
3681
  * Required API Key ACLs:
3668
3682
  * - admin
3683
+ *
3684
+ * @deprecated
3669
3685
  * @param removeUserId - The removeUserId object.
3670
3686
  * @param removeUserId.userID - Unique identifier of the user who makes the search request.
3671
3687
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -3824,6 +3840,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3824
3840
  *
3825
3841
  * Required API Key ACLs:
3826
3842
  * - admin
3843
+ *
3844
+ * @deprecated
3827
3845
  * @param searchUserIdsParams - The searchUserIdsParams object.
3828
3846
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3829
3847
  */
package/dist/node.d.ts CHANGED
@@ -3028,7 +3028,7 @@ type ReplaceAllObjectsOptions = {
3028
3028
  scopes?: Array<ScopeType>;
3029
3029
  };
3030
3030
 
3031
- declare const apiClientVersion = "5.23.0";
3031
+ declare const apiClientVersion = "5.23.1";
3032
3032
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3033
3033
  transporter: _algolia_client_common.Transporter;
3034
3034
  /**
@@ -3256,6 +3256,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3256
3256
  *
3257
3257
  * Required API Key ACLs:
3258
3258
  * - admin
3259
+ *
3260
+ * @deprecated
3259
3261
  * @param assignUserId - The assignUserId object.
3260
3262
  * @param assignUserId.xAlgoliaUserID - Unique identifier of the user who makes the search request.
3261
3263
  * @param assignUserId.assignUserIdParams - The assignUserIdParams object.
@@ -3275,6 +3277,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3275
3277
  *
3276
3278
  * Required API Key ACLs:
3277
3279
  * - admin
3280
+ *
3281
+ * @deprecated
3278
3282
  * @param batchAssignUserIds - The batchAssignUserIds object.
3279
3283
  * @param batchAssignUserIds.xAlgoliaUserID - Unique identifier of the user who makes the search request.
3280
3284
  * @param batchAssignUserIds.batchAssignUserIdsParams - The batchAssignUserIdsParams object.
@@ -3570,6 +3574,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3570
3574
  *
3571
3575
  * Required API Key ACLs:
3572
3576
  * - admin
3577
+ *
3578
+ * @deprecated
3573
3579
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3574
3580
  */
3575
3581
  getTopUserIds(requestOptions?: RequestOptions): Promise<GetTopUserIdsResponse>;
@@ -3578,6 +3584,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3578
3584
  *
3579
3585
  * Required API Key ACLs:
3580
3586
  * - admin
3587
+ *
3588
+ * @deprecated
3581
3589
  * @param getUserId - The getUserId object.
3582
3590
  * @param getUserId.userID - Unique identifier of the user who makes the search request.
3583
3591
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -3588,6 +3596,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3588
3596
  *
3589
3597
  * Required API Key ACLs:
3590
3598
  * - admin
3599
+ *
3600
+ * @deprecated
3591
3601
  * @param hasPendingMappings - The hasPendingMappings object.
3592
3602
  * @param hasPendingMappings.getClusters - Whether to include the cluster\'s pending mapping state in the response.
3593
3603
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -3606,6 +3616,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3606
3616
  *
3607
3617
  * Required API Key ACLs:
3608
3618
  * - admin
3619
+ *
3620
+ * @deprecated
3609
3621
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3610
3622
  */
3611
3623
  listClusters(requestOptions?: RequestOptions): Promise<ListClustersResponse>;
@@ -3625,6 +3637,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3625
3637
  *
3626
3638
  * Required API Key ACLs:
3627
3639
  * - admin
3640
+ *
3641
+ * @deprecated
3628
3642
  * @param listUserIds - The listUserIds object.
3629
3643
  * @param listUserIds.page - Requested page of the API response. If `null`, the API response is not paginated.
3630
3644
  * @param listUserIds.hitsPerPage - Number of hits per page.
@@ -3666,6 +3680,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3666
3680
  *
3667
3681
  * Required API Key ACLs:
3668
3682
  * - admin
3683
+ *
3684
+ * @deprecated
3669
3685
  * @param removeUserId - The removeUserId object.
3670
3686
  * @param removeUserId.userID - Unique identifier of the user who makes the search request.
3671
3687
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -3824,6 +3840,8 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3824
3840
  *
3825
3841
  * Required API Key ACLs:
3826
3842
  * - admin
3843
+ *
3844
+ * @deprecated
3827
3845
  * @param searchUserIdsParams - The searchUserIdsParams object.
3828
3846
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3829
3847
  */
@@ -25,7 +25,7 @@ __export(searchClient_exports, {
25
25
  });
26
26
  module.exports = __toCommonJS(searchClient_exports);
27
27
  var import_client_common = require("@algolia/client-common");
28
- var apiClientVersion = "5.23.0";
28
+ var apiClientVersion = "5.23.1";
29
29
  function getDefaultHosts(appId) {
30
30
  return [
31
31
  {
@@ -638,6 +638,8 @@ function createSearchClient({
638
638
  *
639
639
  * Required API Key ACLs:
640
640
  * - admin
641
+ *
642
+ * @deprecated
641
643
  * @param assignUserId - The assignUserId object.
642
644
  * @param assignUserId.xAlgoliaUserID - Unique identifier of the user who makes the search request.
643
645
  * @param assignUserId.assignUserIdParams - The assignUserIdParams object.
@@ -702,6 +704,8 @@ function createSearchClient({
702
704
  *
703
705
  * Required API Key ACLs:
704
706
  * - admin
707
+ *
708
+ * @deprecated
705
709
  * @param batchAssignUserIds - The batchAssignUserIds object.
706
710
  * @param batchAssignUserIds.xAlgoliaUserID - Unique identifier of the user who makes the search request.
707
711
  * @param batchAssignUserIds.batchAssignUserIdsParams - The batchAssignUserIdsParams object.
@@ -1476,6 +1480,8 @@ function createSearchClient({
1476
1480
  *
1477
1481
  * Required API Key ACLs:
1478
1482
  * - admin
1483
+ *
1484
+ * @deprecated
1479
1485
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1480
1486
  */
1481
1487
  getTopUserIds(requestOptions) {
@@ -1495,6 +1501,8 @@ function createSearchClient({
1495
1501
  *
1496
1502
  * Required API Key ACLs:
1497
1503
  * - admin
1504
+ *
1505
+ * @deprecated
1498
1506
  * @param getUserId - The getUserId object.
1499
1507
  * @param getUserId.userID - Unique identifier of the user who makes the search request.
1500
1508
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -1519,6 +1527,8 @@ function createSearchClient({
1519
1527
  *
1520
1528
  * Required API Key ACLs:
1521
1529
  * - admin
1530
+ *
1531
+ * @deprecated
1522
1532
  * @param hasPendingMappings - The hasPendingMappings object.
1523
1533
  * @param hasPendingMappings.getClusters - Whether to include the cluster\'s pending mapping state in the response.
1524
1534
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -1562,6 +1572,8 @@ function createSearchClient({
1562
1572
  *
1563
1573
  * Required API Key ACLs:
1564
1574
  * - admin
1575
+ *
1576
+ * @deprecated
1565
1577
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1566
1578
  */
1567
1579
  listClusters(requestOptions) {
@@ -1609,6 +1621,8 @@ function createSearchClient({
1609
1621
  *
1610
1622
  * Required API Key ACLs:
1611
1623
  * - admin
1624
+ *
1625
+ * @deprecated
1612
1626
  * @param listUserIds - The listUserIds object.
1613
1627
  * @param listUserIds.page - Requested page of the API response. If `null`, the API response is not paginated.
1614
1628
  * @param listUserIds.hitsPerPage - Number of hits per page.
@@ -1733,6 +1747,8 @@ function createSearchClient({
1733
1747
  *
1734
1748
  * Required API Key ACLs:
1735
1749
  * - admin
1750
+ *
1751
+ * @deprecated
1736
1752
  * @param removeUserId - The removeUserId object.
1737
1753
  * @param removeUserId.userID - Unique identifier of the user who makes the search request.
1738
1754
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -2205,6 +2221,8 @@ function createSearchClient({
2205
2221
  *
2206
2222
  * Required API Key ACLs:
2207
2223
  * - admin
2224
+ *
2225
+ * @deprecated
2208
2226
  * @param searchUserIdsParams - The searchUserIdsParams object.
2209
2227
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
2210
2228
  */