ionic-vhframeworks 10.3.7 → 10.3.9
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.
|
@@ -939,6 +939,30 @@ export declare class VhAuth {
|
|
|
939
939
|
})
|
|
940
940
|
* @return Promise => user = {}
|
|
941
941
|
*/
|
|
942
|
+
/**
|
|
943
|
+
* @example:
|
|
944
|
+
* this.vhAuth.signInWithEmailAndPassword_Sales365_byAffiliater('emp11@gmail.com', '123456')
|
|
945
|
+
.then((user)=>{
|
|
946
|
+
console.log('signInWithEmailAndPassword_Sales365_byAffiliater', user);
|
|
947
|
+
},(error:any)=>{
|
|
948
|
+
console.log('error', error);
|
|
949
|
+
})
|
|
950
|
+
* @param email
|
|
951
|
+
* @param password
|
|
952
|
+
* @return Promise => user = {}
|
|
953
|
+
*/
|
|
954
|
+
signInWithEmailAndPassword_Sales365_byAffiliater(email: string, password: string): Promise<unknown>;
|
|
955
|
+
/**
|
|
956
|
+
* @example:
|
|
957
|
+
* this.vhAuth.onAuthStateChanged_Sales365_byAffiliater()
|
|
958
|
+
.then((user)=>{
|
|
959
|
+
console.log('onAuthStateChanged_Sales365_byAffiliater', user);
|
|
960
|
+
},(error:any)=>{
|
|
961
|
+
console.log('error', error);
|
|
962
|
+
})
|
|
963
|
+
* @return Promise => user = {}
|
|
964
|
+
*/
|
|
965
|
+
onAuthStateChanged_Sales365_byAffiliater(): Promise<unknown>;
|
|
942
966
|
/**
|
|
943
967
|
* @example:
|
|
944
968
|
* this.vhAuth.signInWithEmailAndPassword_Sales365_byDealer('emp11@gmail.com', '123456')
|
|
@@ -23635,6 +23659,20 @@ export declare class VhQuerySales {
|
|
|
23635
23659
|
* @return Promise => Array(bool) = [true or false,,...]
|
|
23636
23660
|
*/
|
|
23637
23661
|
updateSalesOrderLazada_byFile(order_idArray: any, data: object, token: string, id_shop: string): Promise<unknown>;
|
|
23662
|
+
/**
|
|
23663
|
+
* Hàm truy vấn thông tin chi tiết giao dịch của người bán trong phạm vi ngày cụ thể
|
|
23664
|
+
* @example:
|
|
23665
|
+
* this.vhQuerySales.getTransactionDetailsLazada(json, access_token)
|
|
23666
|
+
.then((array)=>{
|
|
23667
|
+
|
|
23668
|
+
}, error=>{
|
|
23669
|
+
reject(error)
|
|
23670
|
+
})
|
|
23671
|
+
* @param json : {start_time, end_time, limit, offset, trade_order_id, trade_order_line_id, trans_type}
|
|
23672
|
+
* @param access_token
|
|
23673
|
+
* @returns Promise => Array
|
|
23674
|
+
*/
|
|
23675
|
+
getTransactionDetailsLazada(json: any, access_token: string): Promise<unknown>;
|
|
23638
23676
|
/**
|
|
23639
23677
|
* Hàm này lấy về khách hàng đã được gán cho mỗi shop(id_shop) trước đây, nếu trước đây chưa gán thì lấy về giá trị null
|
|
23640
23678
|
* @example:
|