@omniumretail/shared-resources 0.4.38 → 0.4.39

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.
@@ -1,7 +1,7 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import { AllSupportTicket } from '../../../../interfaces';
2
+ import { AllSupportTicket, ResponseList } from '../../../../interfaces';
3
3
 
4
- interface AllSupportTicketsProps extends UseQueryOptions<AllSupportTicket> {
4
+ interface AllSupportTicketsProps extends Omit<UseQueryOptions<ResponseList<"SupportTickets", AllSupportTicket>>, "queryKey"> {
5
5
  page?: number;
6
6
  records?: number;
7
7
  sortBy?: string;
@@ -9,5 +9,5 @@ interface AllSupportTicketsProps extends UseQueryOptions<AllSupportTicket> {
9
9
  type?: string;
10
10
  applicationName?: string;
11
11
  }
12
- export declare const getAllSupportTicketsQueryHook: ({ page, records, sortBy, sortDirection, type, applicationName, ...options }: AllSupportTicketsProps) => import('@tanstack/react-query').UseQueryResult<AllSupportTicket, unknown>;
12
+ export declare const getAllSupportTicketsQueryHook: ({ page, records, sortBy, sortDirection, type, applicationName, ...options }: AllSupportTicketsProps) => import('@tanstack/react-query').UseQueryResult<ResponseList<"SupportTickets", AllSupportTicket>, unknown>;
13
13
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/shared-resources",
3
- "version": "0.4.38",
3
+ "version": "0.4.39",
4
4
  "private": false,
5
5
  "description": "Shared Components and services or utils to the frontend versions",
6
6
  "main": "dist/shared-resources.umd.js",