ionic-vhframeworks 10.2.5 → 10.2.7

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