@connectedxm/admin 2.8.6 → 2.8.7

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.cjs CHANGED
@@ -20334,7 +20334,7 @@ var useGetThreads = (type, params = {}, options = {}) => {
20334
20334
 
20335
20335
  // src/queries/threads/useGetThread.ts
20336
20336
  var THREAD_QUERY_KEY = (threadId) => [
20337
- THREADS_QUERY_KEY(),
20337
+ ...THREADS_QUERY_KEY(),
20338
20338
  threadId
20339
20339
  ];
20340
20340
  var SET_THREAD_QUERY_DATA = (client, keyParams, response, options) => {
package/dist/index.d.cts CHANGED
@@ -15780,7 +15780,7 @@ declare const useGetSurveys: (params?: Omit<InfiniteQueryParams, "pageParam" | "
15780
15780
  * @category Keys
15781
15781
  * @thread Threads
15782
15782
  */
15783
- declare const THREAD_QUERY_KEY: (threadId: string) => (string | string[])[];
15783
+ declare const THREAD_QUERY_KEY: (threadId: string) => string[];
15784
15784
  /**
15785
15785
  * @category Setters
15786
15786
  * @thread Threads
@@ -15804,7 +15804,7 @@ declare const useGetThread: (threadId?: string, options?: SingleQueryOptions<Ret
15804
15804
  * @category Keys
15805
15805
  * @thread Thread Accounts
15806
15806
  */
15807
- declare const THREAD_ACCOUNTS_QUERY_KEY: (threadId: string) => (string | string[])[];
15807
+ declare const THREAD_ACCOUNTS_QUERY_KEY: (threadId: string) => string[];
15808
15808
  interface GetThreadAccountsProps extends InfiniteQueryParams {
15809
15809
  threadId: string;
15810
15810
  }
@@ -16023,7 +16023,7 @@ declare const useGetThreadMessages: (threadId?: string, params?: Omit<InfiniteQu
16023
16023
  * @category Keys
16024
16024
  * @thread Thread Viewers
16025
16025
  */
16026
- declare const THREAD_VIEWERS_QUERY_KEY: (threadId: string) => (string | string[])[];
16026
+ declare const THREAD_VIEWERS_QUERY_KEY: (threadId: string) => string[];
16027
16027
  interface GetThreadViewersProps extends InfiniteQueryParams {
16028
16028
  threadId: string;
16029
16029
  }
package/dist/index.d.ts CHANGED
@@ -15780,7 +15780,7 @@ declare const useGetSurveys: (params?: Omit<InfiniteQueryParams, "pageParam" | "
15780
15780
  * @category Keys
15781
15781
  * @thread Threads
15782
15782
  */
15783
- declare const THREAD_QUERY_KEY: (threadId: string) => (string | string[])[];
15783
+ declare const THREAD_QUERY_KEY: (threadId: string) => string[];
15784
15784
  /**
15785
15785
  * @category Setters
15786
15786
  * @thread Threads
@@ -15804,7 +15804,7 @@ declare const useGetThread: (threadId?: string, options?: SingleQueryOptions<Ret
15804
15804
  * @category Keys
15805
15805
  * @thread Thread Accounts
15806
15806
  */
15807
- declare const THREAD_ACCOUNTS_QUERY_KEY: (threadId: string) => (string | string[])[];
15807
+ declare const THREAD_ACCOUNTS_QUERY_KEY: (threadId: string) => string[];
15808
15808
  interface GetThreadAccountsProps extends InfiniteQueryParams {
15809
15809
  threadId: string;
15810
15810
  }
@@ -16023,7 +16023,7 @@ declare const useGetThreadMessages: (threadId?: string, params?: Omit<InfiniteQu
16023
16023
  * @category Keys
16024
16024
  * @thread Thread Viewers
16025
16025
  */
16026
- declare const THREAD_VIEWERS_QUERY_KEY: (threadId: string) => (string | string[])[];
16026
+ declare const THREAD_VIEWERS_QUERY_KEY: (threadId: string) => string[];
16027
16027
  interface GetThreadViewersProps extends InfiniteQueryParams {
16028
16028
  threadId: string;
16029
16029
  }
package/dist/index.js CHANGED
@@ -17341,7 +17341,7 @@ var useGetThreads = (type, params = {}, options = {}) => {
17341
17341
 
17342
17342
  // src/queries/threads/useGetThread.ts
17343
17343
  var THREAD_QUERY_KEY = (threadId) => [
17344
- THREADS_QUERY_KEY(),
17344
+ ...THREADS_QUERY_KEY(),
17345
17345
  threadId
17346
17346
  ];
17347
17347
  var SET_THREAD_QUERY_DATA = (client, keyParams, response, options) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "2.8.6",
3
+ "version": "2.8.7",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",