ionic-vhframeworks 10.11.0 → 10.11.2

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.
@@ -1891,7 +1891,20 @@ export declare class VhAuth {
1891
1891
  * @return Promise => bool = true or false
1892
1892
  */
1893
1893
  deleteEmployee(id_employee: string): Promise<unknown>;
1894
- deleteEmployee1(id_employee: string): Promise<unknown>;
1894
+ /**
1895
+ * @example:
1896
+ * this.vhAuth.changeEmployeeEmail_byShop('5fb67fda87c0f21d484cbdf3', 'ngoclan@gmail.com)
1897
+ .then((rsp:any)=>{
1898
+ console.log('changeEmployeeEmail_byShop', rsp);
1899
+ })
1900
+ * @param id_employee
1901
+ * @param newEmail
1902
+ * @return Promise => {vcode, msg}
1903
+ * vcode : 0 => Đổi email thành công
1904
+ * vcode : 1 => Email muốn đổi sang đã có người sử dụng
1905
+ * vcode : 2 => Email cũ và Email mới giống nhau
1906
+ */
1907
+ changeEmployeeEmail_byShop(id_employee: string, newEmail: string): Promise<unknown>;
1895
1908
  /**
1896
1909
  * @example
1897
1910
  * this.vhAuth.getEmployee('5fb67fda87c0f21d484cbdf3')
@@ -7125,6 +7138,12 @@ export declare class VhQueryCafe {
7125
7138
  * @return — Array -> array = [{},{},...]
7126
7139
  */
7127
7140
  getLicenseKEYs(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
7141
+ /**
7142
+ * Hàm lấy webhook Url của phần mềm ViethasPOS, Sales365, XprinterPOS, ký sinh vào trang Casso
7143
+ * Dùng vào việc Phần mềm bán hàng tạo đơn -> khách quet mã QR thanh toán (ngân hàng mà Casso đã tích hợp) -> Casso và Phần mềm bán hàng sẽ đồng bộ và xác nhận thanh toán thành công
7144
+ * @returns
7145
+ */
7146
+ getWebhookURL_Casso(): string;
7128
7147
  /**
7129
7148
  * Lấy về danh sách các ngân hàng (kèm logo) mà vietqr hỗ trợ tạo mã QR
7130
7149
  * @example:
@@ -7597,8 +7616,6 @@ export declare class VhQueryCafe {
7597
7616
  * @notice : ở giao diện APP, chọn IDbranch rồi mới hiện ra những IDwallet của chi nhánh đó để chọn tiếp. Nếu IDbranch = 'all' thì IDwallet phải là 'all'
7598
7617
  */
7599
7618
  getReportCashBook(starttime: any, endtime: any, IDwallet: any, IDbranch?: any): Promise<unknown>;
7600
- private getReportCashBook_oldnew;
7601
- private getReportCashBook_old;
7602
7619
  /**
7603
7620
  * vhQueryCafe
7604
7621
  * Hàm này chỉ chạy trên giao diện Desktop
@@ -19520,21 +19537,6 @@ export declare class VhQuerySales {
19520
19537
  * @notice : ở giao diện APP, chọn IDbranch rồi mới hiện ra những IDwallet của chi nhánh đó để chọn tiếp. Nếu IDbranch = 'all' thì IDwallet phải là 'all'
19521
19538
  */
19522
19539
  getReportCashBook(starttime: any, endtime: any, IDwallet: any, IDbranch?: any): Promise<unknown>;
19523
- /**
19524
- * VhQuerySales:
19525
- * @param starttime
19526
- * @param endtime
19527
- * @param IDwallet
19528
- * @param IDbranch
19529
- * @returns
19530
- */
19531
- private getReportCashBook_old;
19532
- /**
19533
- * VhQuerySales:
19534
- * @param id_branch
19535
- * @returns
19536
- */
19537
- private syncCashBook;
19538
19540
  /**
19539
19541
  * VhQuerySales:
19540
19542
  * Hàm này chỉ chạy trên giao diện Desktop
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "10.11.0",
3
+ "version": "10.11.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"