ubk.erp.webpack 1.3.2 → 1.3.3

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/Api/api.d.ts CHANGED
@@ -2,6 +2,9 @@ export function setBaseUrl(url: any): void;
2
2
  export function getAssetBaseUrl(): any;
3
3
  export function setImageBaseUrl(url: any): void;
4
4
  export function getImageBaseUrl(): any;
5
+ export function decodeJwtPayload(token: any): any;
6
+ export function getBranchIdFromToken(token: any): any;
7
+ export function getAuthToken(): string;
5
8
  export function addData(url: any, data: any, token: any): Promise<any>;
6
9
  export function postData(url: any, data: any, token: any): Promise<any>;
7
10
  export function getNewData(url: any, token: any): Promise<any>;
@@ -117,6 +120,7 @@ export const expenseHeadAddUrl: "api/branchapi/expense/addexpensehead";
117
120
  export const expenseHeadUpdateUrl: "api/branchapi/expense/editexpensehead";
118
121
  export const expenseHeadDeleteUrl: "api/branchapi/expense/deleteexpensehead";
119
122
  export const expenseShowUrl: "api/branchapi/expense/expenseShowdata";
123
+ export const expenseVoucherbyIDUrl: "api/branchapi/expense/expenseVoucherbyID";
120
124
  export const expenseHeadShowUrl: "api/branchapi/expense/expenseheadShowdata";
121
125
  export const expenseSearchByDateUrl: "api/branchapi/expense/searchexpensebydates";
122
126
  export const vendorListUrl: "api/accounts/vendor/vendorlist";
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default DownloadExpense;
3
+ declare function DownloadExpense({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  export default SingleUpload;
3
- declare function SingleUpload({ token, value, onChange, action, accept, maxCount, previewUrl }: {
3
+ declare function SingleUpload({ token, value, onChange, action, accept, maxCount, previewUrl, data }: {
4
4
  token: any;
5
5
  value: any;
6
6
  onChange: any;
@@ -8,4 +8,5 @@ declare function SingleUpload({ token, value, onChange, action, accept, maxCount
8
8
  accept: any;
9
9
  maxCount?: number | undefined;
10
10
  previewUrl: any;
11
+ data: any;
11
12
  }): React.JSX.Element;