ionic-vhframeworks 10.2.3 → 10.2.5

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.
@@ -8,7 +8,7 @@
8
8
  */
9
9
  import { OnInit, EventEmitter, PipeTransform, RendererFactory2 } from "@angular/core";
10
10
  import { Router } from "@angular/router";
11
- import { VhMGDB_auth, VhMGDB_database, VhMGDB_rootdatabase, VhMGDB_f3rdclouds, VhMGDB_image, VhMGDB_socketMongoDB, VhMGDB_paymentVNPAY, VhMGDB_clouds, VhMGDB_shopee, VhMGDB_tiki, VhMGDB_sendo, VhMGDB_lazada, VhMGDB_socketFacebook, VhMGDB_pattern, VhFB_OTP } from 'vhmongo-new';
11
+ import { VhMGDB_auth, VhMGDB_database, VhMGDB_rootdatabase, VhMGDB_f3rdclouds, VhMGDB_image, VhMGDB_socketMongoDB, VhMGDB_paymentVNPAY, VhMGDB_clouds, VhMGDB_shopee, VhMGDB_tiki, VhMGDB_sendo, VhMGDB_lazada, VhMGDB_tiktok, VhMGDB_socketFacebook, VhMGDB_pattern, VhFB_OTP } from 'vhmongo-new';
12
12
  import { ImagePicker } from "@ionic-native/image-picker/ngx";
13
13
  import { WebView } from "@ionic-native/ionic-webview/ngx";
14
14
  import { Camera } from "@ionic-native/camera/ngx";
@@ -5701,6 +5701,19 @@ export declare class VhQueryCafe {
5701
5701
  * @return Promise => object = {} or null
5702
5702
  */
5703
5703
  createBill_Billdetail(bill: any, bill_details: any): any;
5704
+ /**
5705
+ * @example
5706
+ * this.vhQueryCafe.changeBill_toInvoice_byMinvoice(id_bill,invoiceSeries)
5707
+ .then((rsp)=>{
5708
+ //-----------your code here-----------
5709
+ },(error:any)=>{
5710
+ console.log('error', error)
5711
+ })
5712
+ * @param id_bill
5713
+ * @param invoiceSeries
5714
+ * @returns Promise => {vcode, msg, data(array)}
5715
+ */
5716
+ changeBill_toInvoice_byMinvoice(id_bill: string, invoiceSeries: string): Promise<any>;
5704
5717
  /**
5705
5718
  * hàm này chỉ dùng cho trường hợp bill_type 5->1, 29->3031, 36->1, 42->40, 43->41, 52->50, 53->51
5706
5719
  * @example
@@ -11933,6 +11946,9 @@ export declare class VhEcommerce {
11933
11946
  private vhMGDB_socketMongoDB;
11934
11947
  private vhMGDB_database;
11935
11948
  private vhMGDB_shopee;
11949
+ private vhMGDB_tiktok;
11950
+ private productlisttiktoks;
11951
+ private shoplisttiktok;
11936
11952
  private productlistshopees;
11937
11953
  private shoplistshopee;
11938
11954
  private lazadapricecomparinglist;
@@ -11940,7 +11956,7 @@ export declare class VhEcommerce {
11940
11956
  private sendopricecomparinglist;
11941
11957
  private shopeepricecomparinglist;
11942
11958
  private callbacklazadapricecomparing;
11943
- constructor(vhMGDB_auth: VhMGDB_auth, vhMGDB_socketMongoDB: VhMGDB_socketMongoDB, vhMGDB_database: VhMGDB_database, vhMGDB_shopee: VhMGDB_shopee);
11959
+ constructor(vhMGDB_auth: VhMGDB_auth, vhMGDB_socketMongoDB: VhMGDB_socketMongoDB, vhMGDB_database: VhMGDB_database, vhMGDB_shopee: VhMGDB_shopee, vhMGDB_tiktok: VhMGDB_tiktok);
11944
11960
  /**
11945
11961
  * @example:
11946
11962
  * let backHref = http://localhost:4200/dashboard/overview';
@@ -11952,6 +11968,16 @@ export declare class VhEcommerce {
11952
11968
  * @returns Promise => true or false
11953
11969
  */
11954
11970
  signInTiktok(id_branch: string, backHref: string): Promise<unknown>;
11971
+ /**
11972
+ * @example:
11973
+ * let id_branch = this.vhQuerySales.getDefaultBranch()._id;
11974
+ * this.vhEcommerce.getProductListTiktok(id_branch).then(()=>{
11975
+ do something...
11976
+ },(error:any)=>{
11977
+ })
11978
+ * @returns
11979
+ */
11980
+ private getProductListTiktok;
11955
11981
  /**
11956
11982
  * @notice : lấy thông tin vận đơn (mã code người gửi , mã code người nhận, địa chỉ người nhận...)
11957
11983
  * @example:
@@ -12100,7 +12126,7 @@ export declare class VhEcommerce {
12100
12126
  .then(()=>{
12101
12127
  do something.....
12102
12128
  })
12103
- * Hàm này refresh giá trị mới nhất cho hàm getProductListSendo() trong localstorage
12129
+ * Hàm này refresh giá trị mới nhất cho hàm getProductListShopee() trong localstorage
12104
12130
  * @return Promise => null
12105
12131
  */
12106
12132
  refreshLocalProductListShopee(id_branch: string, shop_id?: string): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "10.2.3",
3
+ "version": "10.2.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"