ionic-vhframeworks 3.3.7 → 3.3.8
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/bundles/ionic-vhframeworks.umd.js +1 -1
- package/bundles/ionic-vhframeworks.umd.js.map +1 -1
- package/bundles/ionic-vhframeworks.umd.min.js +1 -1
- package/bundles/ionic-vhframeworks.umd.min.js.map +1 -1
- package/fesm2015/ionic-vhframeworks.js.map +1 -1
- package/ionic-vhframeworks.metadata.json +1 -1
- package/lib/ionic-vhframeworks.service.d.ts +35 -5
- package/package.json +1 -1
|
@@ -6586,6 +6586,21 @@ export declare class VhEcommerce {
|
|
|
6586
6586
|
* @returns
|
|
6587
6587
|
*/
|
|
6588
6588
|
getSalesOrderListShopee(time_from: any, time_to: any, access_token: string, id_shop: string): Promise<unknown>;
|
|
6589
|
+
/**
|
|
6590
|
+
* @example:
|
|
6591
|
+
* this.vhQuerySales.addMergeShopeesProduct_model('5fb6780ca2148e09806c5b01','tf3452345234', [{},{}], 'hjhjrtyur56u53')
|
|
6592
|
+
.then((bool)=>{
|
|
6593
|
+
console.log('addMergeShopeesProduct_model', bool);
|
|
6594
|
+
}, error=>{
|
|
6595
|
+
console.log('error', error);
|
|
6596
|
+
})
|
|
6597
|
+
* @param id_product
|
|
6598
|
+
* @param item_id
|
|
6599
|
+
* @param modelArray : [{SkuId1,..},{SkuId2,..}]
|
|
6600
|
+
* @param id_shop
|
|
6601
|
+
* @return Promise => boolean true or false
|
|
6602
|
+
*/
|
|
6603
|
+
addMergeShopeesProduct_model(product: any, item_id: string, modelArray: any, id_shop: string, id_branch: any): Promise<unknown>;
|
|
6589
6604
|
}
|
|
6590
6605
|
export declare class VhQuerySales {
|
|
6591
6606
|
private vhmongo_firebase;
|
|
@@ -6743,11 +6758,26 @@ export declare class VhQuerySales {
|
|
|
6743
6758
|
*/
|
|
6744
6759
|
getSalesOrderListTiki(created_from_date: any, created_to_date: any, access_token: string, id_shop: string): Promise<unknown>;
|
|
6745
6760
|
/**
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6761
|
+
* Hàm này lấy về chi tiết của một hóa đơn
|
|
6762
|
+
* @example
|
|
6763
|
+
* this.vhQuerySales.getSalesOrderDetailTiki('14424213387', '403754acaafc4564a16c19faa32d73c8', 'gsdr3454u54w34tfq')
|
|
6764
|
+
.then((salesorderdetail)=>{
|
|
6765
|
+
console.log('salesorderdetail', salesorderdetail);
|
|
6766
|
+
},error=>{
|
|
6767
|
+
console.log('error', error);
|
|
6768
|
+
})
|
|
6769
|
+
* @param order_id
|
|
6770
|
+
* @param access_token
|
|
6771
|
+
* @param id_shop
|
|
6772
|
+
* @returns Promise => obj ={} or null
|
|
6773
|
+
*/
|
|
6774
|
+
getSalesOrderDetailTiki(code: string, access_token: string, id_shop: any): Promise<unknown>;
|
|
6775
|
+
/**
|
|
6776
|
+
* @example:
|
|
6777
|
+
* let productlisttiki = this.vhQuerySales.getlocalProductListTiki('ư0e4tuiwe98rhvqw9vtqw9t7rq987r9qvwn98et98');
|
|
6778
|
+
* @param id_shop
|
|
6779
|
+
* @returns
|
|
6780
|
+
*/
|
|
6751
6781
|
getlocalProductListTiki(id_shop: any): any;
|
|
6752
6782
|
/**
|
|
6753
6783
|
* @example:
|