@omniumretail/shared-resources 0.3.45 → 0.3.46

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,3 +1,3 @@
1
- import { ReportBuilder } from '../../..';
1
+ import { TransferPackage } from '../../..';
2
2
  import { UseQueryOptions } from '@tanstack/react-query';
3
- export declare const getBarcodesListingQueryHook: (transferId: string, { ...options }: UseQueryOptions<ReportBuilder>) => import("@tanstack/react-query").UseQueryResult<ReportBuilder, unknown>;
3
+ export declare const getBarcodesListingQueryHook: (transferId: string, { ...options }: UseQueryOptions<TransferPackage>) => import("@tanstack/react-query").UseQueryResult<TransferPackage, unknown>;
@@ -12,5 +12,7 @@ export interface TransferPackage {
12
12
  UserName: string;
13
13
  PackageName: string;
14
14
  PackageType: string;
15
- CreateDate: Number;
15
+ CreateDate: number;
16
+ Price: number;
17
+ OutletPrice: number;
16
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/shared-resources",
3
- "version": "0.3.45",
3
+ "version": "0.3.46",
4
4
  "private": false,
5
5
  "description": "Shared Components and services or utils to the frontend versions",
6
6
  "main": "dist/bundle.js",
@@ -1,10 +1,10 @@
1
- import { getAuth0, ReportBuilder } from '../../..';
1
+ import { getAuth0, TransferPackage } from '../../..';
2
2
  import { useQuery, UseQueryOptions } from '@tanstack/react-query';
3
3
 
4
- export const getBarcodesListingQueryHook = (transferId: string, { ...options }: UseQueryOptions<ReportBuilder>) => {
4
+ export const getBarcodesListingQueryHook = (transferId: string, { ...options }: UseQueryOptions<TransferPackage>) => {
5
5
  return useQuery(
6
6
  ['ASTT_BARCODES_LISTING', transferId, options],
7
- () => getAuth0<ReportBuilder>(`/ASTT/TransferDocuments/BarcodesListing`, {
7
+ () => getAuth0<TransferPackage>(`/ASTT/TransferDocuments/BarcodesListing`, {
8
8
  pTransferDocumentId: transferId,
9
9
  }),
10
10
  options
@@ -13,5 +13,7 @@ export interface TransferPackage {
13
13
  UserName: string;
14
14
  PackageName: string;
15
15
  PackageType: string;
16
- CreateDate: Number;
16
+ CreateDate: number;
17
+ Price: number;
18
+ OutletPrice: number;
17
19
  }