@connectedxm/admin 7.0.0 → 7.0.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/index.d.cts CHANGED
@@ -20096,12 +20096,12 @@ interface GetThreadAccountsProps extends InfiniteQueryParams {
20096
20096
  * @category Queries
20097
20097
  * @thread Thread Accounts
20098
20098
  */
20099
- declare const GetThreadAccounts: ({ threadId, pageParam, pageSize, orderBy, search, adminApiParams, }: GetThreadAccountsProps) => Promise<ConnectedXMResponse<Account[]>>;
20099
+ declare const GetThreadAccounts: ({ threadId, pageParam, pageSize, orderBy, search, adminApiParams, }: GetThreadAccountsProps) => Promise<ConnectedXMResponse<ThreadAccount[]>>;
20100
20100
  /**
20101
20101
  * @category Hooks
20102
20102
  * @thread Thread Accounts
20103
20103
  */
20104
- declare const useGetThreadAccounts: (threadId?: string, params?: Omit<InfiniteQueryParams, "pageParam" | "queryClient" | "adminApiParams">, options?: InfiniteQueryOptions<Awaited<ReturnType<typeof GetThreadAccounts>>>) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ConnectedXMResponse<Account[]>, number>, axios.AxiosError<ConnectedXMResponse<null>, any>>;
20104
+ declare const useGetThreadAccounts: (threadId?: string, params?: Omit<InfiniteQueryParams, "pageParam" | "queryClient" | "adminApiParams">, options?: InfiniteQueryOptions<Awaited<ReturnType<typeof GetThreadAccounts>>>) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ConnectedXMResponse<ThreadAccount[]>, number>, axios.AxiosError<ConnectedXMResponse<null>, any>>;
20105
20105
 
20106
20106
  declare const THREAD_MESSAGE_FILES_QUERY_KEY: (threadId: string, messageId: string) => QueryKey;
20107
20107
  declare const SET_THREAD_MESSAGE_FILES_QUERY_DATA: (client: QueryClient, keyParams: Parameters<typeof THREAD_MESSAGE_FILES_QUERY_KEY>, response: Awaited<ReturnType<typeof GetThreadMessageFiles>>, options?: SetDataOptions) => void;
package/dist/index.d.ts CHANGED
@@ -20096,12 +20096,12 @@ interface GetThreadAccountsProps extends InfiniteQueryParams {
20096
20096
  * @category Queries
20097
20097
  * @thread Thread Accounts
20098
20098
  */
20099
- declare const GetThreadAccounts: ({ threadId, pageParam, pageSize, orderBy, search, adminApiParams, }: GetThreadAccountsProps) => Promise<ConnectedXMResponse<Account[]>>;
20099
+ declare const GetThreadAccounts: ({ threadId, pageParam, pageSize, orderBy, search, adminApiParams, }: GetThreadAccountsProps) => Promise<ConnectedXMResponse<ThreadAccount[]>>;
20100
20100
  /**
20101
20101
  * @category Hooks
20102
20102
  * @thread Thread Accounts
20103
20103
  */
20104
- declare const useGetThreadAccounts: (threadId?: string, params?: Omit<InfiniteQueryParams, "pageParam" | "queryClient" | "adminApiParams">, options?: InfiniteQueryOptions<Awaited<ReturnType<typeof GetThreadAccounts>>>) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ConnectedXMResponse<Account[]>, number>, axios.AxiosError<ConnectedXMResponse<null>, any>>;
20104
+ declare const useGetThreadAccounts: (threadId?: string, params?: Omit<InfiniteQueryParams, "pageParam" | "queryClient" | "adminApiParams">, options?: InfiniteQueryOptions<Awaited<ReturnType<typeof GetThreadAccounts>>>) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ConnectedXMResponse<ThreadAccount[]>, number>, axios.AxiosError<ConnectedXMResponse<null>, any>>;
20105
20105
 
20106
20106
  declare const THREAD_MESSAGE_FILES_QUERY_KEY: (threadId: string, messageId: string) => QueryKey;
20107
20107
  declare const SET_THREAD_MESSAGE_FILES_QUERY_DATA: (client: QueryClient, keyParams: Parameters<typeof THREAD_MESSAGE_FILES_QUERY_KEY>, response: Awaited<ReturnType<typeof GetThreadMessageFiles>>, options?: SetDataOptions) => void;
package/openapi.json CHANGED
@@ -89068,7 +89068,7 @@
89068
89068
  "data": {
89069
89069
  "type": "array",
89070
89070
  "items": {
89071
- "$ref": "#/components/schemas/Account"
89071
+ "$ref": "#/components/schemas/ThreadAccount"
89072
89072
  }
89073
89073
  },
89074
89074
  "count": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "7.0.0",
3
+ "version": "7.0.1",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",