ionic-vhframeworks 9.4.9 → 9.5.0
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.
|
@@ -25891,6 +25891,64 @@ export declare class VhQuerySales {
|
|
|
25891
25891
|
* @return Promise => package ={} or null / error
|
|
25892
25892
|
*/
|
|
25893
25893
|
getPackage_byDealer(id_package: any): Promise<unknown>;
|
|
25894
|
+
/**
|
|
25895
|
+
* @example:
|
|
25896
|
+
* this.vhQuerySales.updateLiceseKEY_byDealer('5fb6780ca2148e09806c5b01', {total:990000})
|
|
25897
|
+
.then((response)=>{
|
|
25898
|
+
console.log('updateLiceseKEY_byDealer', response);
|
|
25899
|
+
}, error=>{
|
|
25900
|
+
console.log('error', error);
|
|
25901
|
+
})
|
|
25902
|
+
* @param id_dealer
|
|
25903
|
+
* @param id_licenseKEY
|
|
25904
|
+
* @param value
|
|
25905
|
+
* @return Promise => response = undefined / error
|
|
25906
|
+
*/
|
|
25907
|
+
updateLiceseKEY_byDealer(id_dealer: string, id_licenseKEY: string, value: any): Promise<unknown>;
|
|
25908
|
+
/**
|
|
25909
|
+
* @example:
|
|
25910
|
+
* let time = new Date();
|
|
25911
|
+
* time.setDate(time.getDate()-7);
|
|
25912
|
+
* this.vhQuerySales.getPayments_byDealer({payment_type:{$eq:5}}, {},{},0)
|
|
25913
|
+
.then((payments)=>{
|
|
25914
|
+
console.log('getPayments_byDealer', payments);
|
|
25915
|
+
})
|
|
25916
|
+
* @param query
|
|
25917
|
+
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
25918
|
+
* @param sort — null hoặc {}:không sắp xếp; {date:1}: sắp xếp theo ASC; {date:-1}: sắp xếp theo DESC
|
|
25919
|
+
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
25920
|
+
* @return — Array -> array = [{},{},...]
|
|
25921
|
+
*/
|
|
25922
|
+
getLiceseKEYs_byDealer(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
25923
|
+
/**
|
|
25924
|
+
* @example:
|
|
25925
|
+
* this.vhQuerySales.updateLiceseKEY_byStote('5fb6780ca2148e09806c5b01', {total:990000})
|
|
25926
|
+
.then((response)=>{
|
|
25927
|
+
console.log('updateLiceseKEY_byStote', response);
|
|
25928
|
+
}, error=>{
|
|
25929
|
+
console.log('error', error);
|
|
25930
|
+
})
|
|
25931
|
+
* @param id_dealer
|
|
25932
|
+
* @param id_licenseKEY
|
|
25933
|
+
* @param value
|
|
25934
|
+
* @return Promise => response = undefined / error
|
|
25935
|
+
*/
|
|
25936
|
+
updateLiceseKEY_byStote(id_store: string, id_licenseKEY: string, value: any): Promise<unknown>;
|
|
25937
|
+
/**
|
|
25938
|
+
* @example:
|
|
25939
|
+
* let time = new Date();
|
|
25940
|
+
* time.setDate(time.getDate()-7);
|
|
25941
|
+
* this.vhQuerySales.getLiceseKEYs_byStote({payment_type:{$eq:5}}, {},{},0)
|
|
25942
|
+
.then((payments)=>{
|
|
25943
|
+
console.log('getLiceseKEYs_byStote', payments);
|
|
25944
|
+
})
|
|
25945
|
+
* @param query
|
|
25946
|
+
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
25947
|
+
* @param sort — null hoặc {}:không sắp xếp; {date:1}: sắp xếp theo ASC; {date:-1}: sắp xếp theo DESC
|
|
25948
|
+
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
25949
|
+
* @return — Array -> array = [{},{},...]
|
|
25950
|
+
*/
|
|
25951
|
+
getLiceseKEYs_byStote(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
25894
25952
|
private publishObservableEventPromotions;
|
|
25895
25953
|
private observableLocalPromotions;
|
|
25896
25954
|
/**
|