@connectedxm/client 6.2.0 → 6.2.2

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/index.d.ts CHANGED
@@ -462,7 +462,6 @@ interface RegistrationQuestionChoice extends BaseRegistrationQuestionChoice {
462
462
  interface BaseSearchListValue {
463
463
  id: string;
464
464
  value: string;
465
- top: boolean;
466
465
  }
467
466
  interface SearchListValue extends BaseSearchListValue {
468
467
  createdAt: string;
@@ -471,10 +470,8 @@ interface SearchListValue extends BaseSearchListValue {
471
470
  interface BaseSearchList {
472
471
  id: string;
473
472
  name: string;
474
- values: BaseSearchListValue[];
475
473
  }
476
474
  interface SearchList extends BaseSearchList {
477
- values: SearchListValue[];
478
475
  createdAt: string;
479
476
  updatedAt: string;
480
477
  }
@@ -4677,12 +4674,9 @@ declare const useGetSearchLists: (params?: Omit<InfiniteQueryParams, "pageParam"
4677
4674
  declare const SEARCH_LIST_VALUES_QUERY_KEY: (searchListId: string) => string[];
4678
4675
  interface GetSearchListValuesProps extends InfiniteQueryParams {
4679
4676
  searchListId: string;
4680
- top?: boolean;
4681
4677
  }
4682
- declare const GetSearchListValues: ({ searchListId, pageParam, pageSize, orderBy, search, top, clientApiParams, }: GetSearchListValuesProps) => Promise<ConnectedXMResponse<SearchListValue[]>>;
4683
- declare const useGetSearchListValues: (searchListId?: string, params?: Omit<InfiniteQueryParams, "pageParam" | "queryClient" | "clientApiParams"> & {
4684
- top?: boolean;
4685
- }, options?: InfiniteQueryOptions<Awaited<ReturnType<typeof GetSearchListValues>>>) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ConnectedXMResponse<SearchListValue[]>, number>, axios.AxiosError<ConnectedXMResponse<null>, any>>;
4678
+ declare const GetSearchListValues: ({ searchListId, pageParam, pageSize, orderBy, search, clientApiParams, }: GetSearchListValuesProps) => Promise<ConnectedXMResponse<SearchListValue[]>>;
4679
+ declare const useGetSearchListValues: (searchListId?: string, params?: Omit<InfiniteQueryParams, "pageParam" | "queryClient" | "clientApiParams">, options?: InfiniteQueryOptions<Awaited<ReturnType<typeof GetSearchListValues>>>) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ConnectedXMResponse<SearchListValue[]>, number>, axios.AxiosError<ConnectedXMResponse<null>, any>>;
4686
4680
 
4687
4681
  declare const SELF_ADDRESS_QUERY_KEY: (addressId: string) => QueryKey;
4688
4682
  interface GetSelfAddressProps extends SingleQueryParams {
package/dist/index.js CHANGED
@@ -3437,7 +3437,6 @@ var GetSearchListValues = async ({
3437
3437
  pageSize,
3438
3438
  orderBy,
3439
3439
  search,
3440
- top,
3441
3440
  clientApiParams
3442
3441
  }) => {
3443
3442
  const clientApi = await GetClientAPI(clientApiParams);
@@ -3446,8 +3445,7 @@ var GetSearchListValues = async ({
3446
3445
  page: pageParam || void 0,
3447
3446
  pageSize: pageSize || void 0,
3448
3447
  orderBy: orderBy || void 0,
3449
- search: search || void 0,
3450
- top: top || void 0
3448
+ search: search || void 0
3451
3449
  }
3452
3450
  });
3453
3451
  return data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "6.2.0",
3
+ "version": "6.2.2",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",