ionic-vhframeworks 10.2.5 → 10.2.6

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.
@@ -11978,6 +11978,59 @@ export declare class VhEcommerce {
11978
11978
  * @returns
11979
11979
  */
11980
11980
  private getProductListTiktok;
11981
+ private getProductListTiktoks;
11982
+ /**
11983
+ * @example:
11984
+ * let id_branch = this.vhQuerySales.getDefaultBranch()._id;
11985
+ * this.vhEcommerce.refreshLocalProductListTiktok(id_branch)
11986
+ .then(()=>{
11987
+ do something.....
11988
+ })
11989
+ * Hàm này refresh giá trị mới nhất cho hàm getProductListTiktok() trong localstorage
11990
+ * @return Promise => null
11991
+ */
11992
+ refreshLocalProductListTiktok(id_branch: string, shop_id?: string): any;
11993
+ /**
11994
+ * let localshoplisttiktok = this.vhEcommerce.getlocalShopListTiktok();
11995
+ * @returns
11996
+ */
11997
+ getlocalShopListTiktok(): any;
11998
+ /**
11999
+ * @example:
12000
+ *let time_from = new Date('2021-10-28');
12001
+ * let time_to = new Date('2021-10-30');
12002
+ * this.vhEcommerce.getSalesOrderListTiktok(time_from, time_to, shop_cipher, app_key, access_token, id_shop)
12003
+ .then((result)=>{
12004
+ console.log('result', result);
12005
+ },(error:any)=>{
12006
+ console.log('error', error);
12007
+ })
12008
+ * @param time_from
12009
+ * @param time_to
12010
+ * @param shop_cipher
12011
+ * @param app_key
12012
+ * @param access_token
12013
+ * @param id_shop
12014
+ * @returns
12015
+ */
12016
+ getSalesOrderListTiktok(time_from: any, time_to: any, shop_cipher: string, app_key: string, access_token: string, id_shop: string): Promise<unknown>;
12017
+ /**
12018
+ * Hàm này lấy về chi tiết của một hóa đơn
12019
+ * @example
12020
+ * this.vhEcommerce.getSalesOrderDetailTiktok('14424213387', '403754acaafc4564a16c19faa32d73c8', 'gsdr3454u54w34tfq')
12021
+ .then((salesorderdetail)=>{
12022
+ console.log('getSalesOrderDetailTiktok', salesorderdetail);
12023
+ },(error:any)=>{
12024
+ console.log('error', error);
12025
+ })
12026
+ * @param id
12027
+ * @param shop_cipher
12028
+ * @param app_key
12029
+ * @param access_token
12030
+ * @param id_shop
12031
+ * @returns Promise => obj ={} or null
12032
+ */
12033
+ getSalesOrderDetailTiktok(id: string, shop_cipher: string, app_key: string, access_token: string, id_shop: any): Promise<unknown>;
11981
12034
  /**
11982
12035
  * @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...)
11983
12036
  * @example:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "10.2.5",
3
+ "version": "10.2.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"