ionic-vhframeworks 9.5.2 → 9.5.3
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.
|
@@ -2439,6 +2439,27 @@ export declare class VhQueryCafe {
|
|
|
2439
2439
|
*/
|
|
2440
2440
|
syncCollections_Desktop(): Promise<unknown>;
|
|
2441
2441
|
private checkExpireBranch_Cafe;
|
|
2442
|
+
/**
|
|
2443
|
+
* @example:
|
|
2444
|
+
this.vhQueryCafe.syncCollections_Sales365_Mobile().then((bool:any)=>{
|
|
2445
|
+
if(bool){
|
|
2446
|
+
do something...
|
|
2447
|
+
}
|
|
2448
|
+
})
|
|
2449
|
+
* @returns Promise bool = true or false
|
|
2450
|
+
*/
|
|
2451
|
+
syncCollections_Sales365_Mobile(): Promise<unknown>;
|
|
2452
|
+
/**
|
|
2453
|
+
* @example:
|
|
2454
|
+
this.vhQueryCafe.syncCollections_Sales365_Desktop().then((bool:any)=>{
|
|
2455
|
+
if(bool){
|
|
2456
|
+
do something...
|
|
2457
|
+
}
|
|
2458
|
+
})
|
|
2459
|
+
* @returns Promise bool = true or false
|
|
2460
|
+
*/
|
|
2461
|
+
syncCollections_Sales365_Desktop(): Promise<unknown>;
|
|
2462
|
+
private checkExpireBranch_Sales365;
|
|
2442
2463
|
private initSyncCollections;
|
|
2443
2464
|
/**
|
|
2444
2465
|
* @example:
|
|
@@ -25644,412 +25665,124 @@ export declare class VhQuerySales {
|
|
|
25644
25665
|
*/
|
|
25645
25666
|
getPackage(id_package: any): Promise<unknown>;
|
|
25646
25667
|
/**
|
|
25647
|
-
* Lấy về danh sách các ngân hàng (kèm logo) mà vietqr hỗ trợ tạo mã QR
|
|
25648
25668
|
* @example:
|
|
25649
|
-
* this.vhQuerySales.
|
|
25650
|
-
|
|
25651
|
-
|
|
25652
|
-
}
|
|
25669
|
+
* this.vhQuerySales.updateLicenseKEY('5fb6780ca2148e09806c5b01', {total:990000})
|
|
25670
|
+
.then((response)=>{
|
|
25671
|
+
console.log('updateLicenseKEY', response);
|
|
25653
25672
|
}, error=>{
|
|
25654
|
-
console.log(error)
|
|
25673
|
+
console.log('error', error);
|
|
25655
25674
|
})
|
|
25656
|
-
|
|
25657
|
-
|
|
25658
|
-
|
|
25659
|
-
|
|
25675
|
+
* @param id_licenseKEY
|
|
25676
|
+
* @param value
|
|
25677
|
+
* @return Promise => response = undefined / error
|
|
25678
|
+
*/
|
|
25679
|
+
updateLicenseKEY(id_licenseKEY: string, value: any): Promise<unknown>;
|
|
25660
25680
|
/**
|
|
25661
|
-
|
|
25662
|
-
|
|
25663
|
-
|
|
25664
|
-
|
|
25665
|
-
|
|
25666
|
-
|
|
25667
|
-
|
|
25668
|
-
|
|
25669
|
-
|
|
25670
|
-
|
|
25671
|
-
|
|
25672
|
-
|
|
25673
|
-
|
|
25674
|
-
|
|
25675
|
-
+ compact: 540x540 QR kèm logo VietQR, Napas, ngân hàng
|
|
25676
|
-
+ qr_only: 480x480 Trả về ảnh QR đơn giản, chỉ bao gồm QR
|
|
25677
|
-
+ print: 600x776 Bao gồm : Mã QR, các logo và đầy đủ thông tin chuyển khoản
|
|
25678
|
-
* @param id_bill: _id của đơn hàng
|
|
25679
|
-
* @param amount: tổng tiền khách phải thanh toán
|
|
25680
|
-
* @returns Promise => rsp ={vcode, msg, data(img_base64)} / error
|
|
25681
|
-
* vcode == 0: success
|
|
25682
|
-
*/
|
|
25683
|
-
vietqr_generateQR_byDealer(accountNo: string, accountName: string, acqId: string, template: string, id_payment: string, amount: number): Promise<unknown>;
|
|
25681
|
+
* @example:
|
|
25682
|
+
* let time = new Date();
|
|
25683
|
+
* time.setDate(time.getDate()-7);
|
|
25684
|
+
* this.vhQuerySales.getLicenseKEYs({payment_type:{$eq:5}}, {},{},0)
|
|
25685
|
+
.then((payments)=>{
|
|
25686
|
+
console.log('getLicenseKEYs', payments);
|
|
25687
|
+
})
|
|
25688
|
+
* @param query
|
|
25689
|
+
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
25690
|
+
* @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
|
|
25691
|
+
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
25692
|
+
* @return — Array -> array = [{},{},...]
|
|
25693
|
+
*/
|
|
25694
|
+
getLicenseKEYs(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
25684
25695
|
/**
|
|
25685
25696
|
* Tạo mã QR cho Shop quét thanh toán
|
|
25686
25697
|
* @example:
|
|
25687
|
-
* this.vhQuerySales.
|
|
25688
|
-
|
|
25698
|
+
* this.vhQuerySales.vietqr_generateQR('0909925354', 'LE DUC HUY', '970422', 'compact2', '674fd94a9ace7267deb685fd', 99000)
|
|
25699
|
+
.then((rsp:any)=>{
|
|
25689
25700
|
if(rsp.vcode === 0){
|
|
25690
25701
|
}
|
|
25691
25702
|
}, error=>{
|
|
25692
25703
|
console.log(error)
|
|
25693
25704
|
})
|
|
25694
|
-
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25705
|
+
* @param accountNo: số tài khoản ngân hàng
|
|
25706
|
+
* @param accountName: tên chủ tài khoản
|
|
25707
|
+
* @param acqId: mã bin của ngân hàng (lấy từ hàm vietqr_getBanks())
|
|
25708
|
+
* @param template: compact2, compact, qr_only, print
|
|
25698
25709
|
+ compact2: 540x640 Bao gồm : Mã QR, các logo , thông tin chuyển khoản
|
|
25699
25710
|
+ compact: 540x540 QR kèm logo VietQR, Napas, ngân hàng
|
|
25700
25711
|
+ qr_only: 480x480 Trả về ảnh QR đơn giản, chỉ bao gồm QR
|
|
25701
25712
|
+ print: 600x776 Bao gồm : Mã QR, các logo và đầy đủ thông tin chuyển khoản
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25713
|
+
* @param id_bill: _id của đơn hàng
|
|
25714
|
+
* @param amount: tổng tiền khách phải thanh toán
|
|
25715
|
+
* @returns Promise => rsp ={vcode, msg, data(img_base64)} / error
|
|
25716
|
+
* vcode == 0: success
|
|
25717
|
+
*/
|
|
25718
|
+
vietqr_generateQR(accountNo: string, accountName: string, acqId: string, template: string, id_payment: string, amount: number): Promise<unknown>;
|
|
25719
|
+
private publishObservableEventPromotions;
|
|
25720
|
+
private observableLocalPromotions;
|
|
25708
25721
|
/**
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
|
|
25712
|
-
|
|
25713
|
-
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
.then((payment)=>{
|
|
25719
|
-
console.log('createPayment_byDealer', payment);
|
|
25720
|
-
},(error:any)=>{
|
|
25721
|
-
console.log('error', error);
|
|
25722
|
-
})
|
|
25723
|
-
* payment = {
|
|
25724
|
-
_id,
|
|
25725
|
-
payment_code,
|
|
25726
|
-
id_dealer,
|
|
25727
|
-
|
|
25728
|
-
date
|
|
25729
|
-
payment_type,
|
|
25730
|
-
payment,
|
|
25731
|
-
tax,
|
|
25732
|
-
total
|
|
25733
|
-
}
|
|
25734
|
-
* @param payment : object
|
|
25735
|
-
* @return Promise => payment = {} / error
|
|
25736
|
-
* Luu ý: chỉ có 2 trường hợp, hoặc là thêm thành công, hoặc là báo lỗi error
|
|
25737
|
-
* @notice : hàm này chỉ dùng tạo những bill_type mà không có phát sinh bill_detail
|
|
25722
|
+
* @example:
|
|
25723
|
+
* this.observablePromotion = this.vhQuerySales.getObservableLocalPromotions().subscribe((localPromotions:any) => {
|
|
25724
|
+
do something...
|
|
25725
|
+
})
|
|
25726
|
+
|
|
25727
|
+
ngOnDestroy(){
|
|
25728
|
+
this.observablePromotion.unsubscribe();
|
|
25729
|
+
}
|
|
25730
|
+
* @returns Observerble (Array) => Array(object) => array = [{},{},...]
|
|
25738
25731
|
*/
|
|
25739
|
-
|
|
25740
|
-
/**
|
|
25741
|
-
* @example:
|
|
25742
|
-
* this.vhQuerySales.updatePayment_byDealer('5fb6780ca2148e09806c5b01', {total:990000})
|
|
25743
|
-
.then((response)=>{
|
|
25744
|
-
console.log('updatePayment_byDealer', response);
|
|
25745
|
-
}, error=>{
|
|
25746
|
-
console.log('error', error);
|
|
25747
|
-
})
|
|
25748
|
-
* @param id_payment
|
|
25749
|
-
* @param value
|
|
25750
|
-
* @return Promise => response = undefined / error
|
|
25751
|
-
*/
|
|
25752
|
-
updatePayment_byDealer(id_payment: string, value: any): Promise<unknown>;
|
|
25732
|
+
private getObservableLocalPromotions;
|
|
25753
25733
|
/**
|
|
25754
|
-
|
|
25755
|
-
|
|
25756
|
-
|
|
25757
|
-
|
|
25758
|
-
|
|
25759
|
-
|
|
25760
|
-
})
|
|
25761
|
-
* @param id_payment
|
|
25762
|
-
* @return Promise => response = undefined / error
|
|
25763
|
-
*/
|
|
25764
|
-
deletePayment_byDealer(id_payment: any): Promise<unknown>;
|
|
25734
|
+
* @example:
|
|
25735
|
+
* let promotion = this.vhQuerySales.getlocalPromotion('5fb6780ca2148e09806c5b01');
|
|
25736
|
+
* @param id_promotion
|
|
25737
|
+
* @return Object => obj = {} or null
|
|
25738
|
+
*/
|
|
25739
|
+
getlocalPromotion(id_promotion: any): null;
|
|
25765
25740
|
/**
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
25769
|
-
|
|
25770
|
-
|
|
25771
|
-
console.log('getPayments_byDealer', payments);
|
|
25772
|
-
})
|
|
25773
|
-
* @param query
|
|
25774
|
-
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
25775
|
-
* @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
|
|
25776
|
-
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
25777
|
-
* @return — Array -> array = [{},{},...]
|
|
25778
|
-
*/
|
|
25779
|
-
getPayments_byDealer(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
25741
|
+
* @example:
|
|
25742
|
+
* let promotions = this.vhQuerySales.getlocalPromotions();
|
|
25743
|
+
* @return Array(object) => array = [{},{},...]
|
|
25744
|
+
*/
|
|
25745
|
+
getlocalPromotions(): never[];
|
|
25780
25746
|
/**
|
|
25781
|
-
|
|
25782
|
-
|
|
25783
|
-
|
|
25784
|
-
|
|
25785
|
-
|
|
25786
|
-
|
|
25787
|
-
|
|
25788
|
-
|
|
25789
|
-
|
|
25747
|
+
* @example:
|
|
25748
|
+
* let date = new Date();
|
|
25749
|
+
* this.vhQuerySales.refreshLocalPromotions(date)
|
|
25750
|
+
.then(()=>{
|
|
25751
|
+
do something.....
|
|
25752
|
+
}, error=>{
|
|
25753
|
+
console.log('error', error);
|
|
25754
|
+
})
|
|
25755
|
+
* Hàm này refresh giá trị mới nhất cho hàm getlocalPromotion(), getlocalPromotions() trong localstorage
|
|
25756
|
+
* @return Promise => null
|
|
25757
|
+
*/
|
|
25758
|
+
private refreshLocalPromotions;
|
|
25790
25759
|
/**
|
|
25791
25760
|
* @example:
|
|
25792
|
-
|
|
25793
|
-
|
|
25794
|
-
|
|
25795
|
-
|
|
25796
|
-
|
|
25797
|
-
|
|
25798
|
-
|
|
25799
|
-
tax: 0, package.tax,
|
|
25800
|
-
price: 99000, package.price,
|
|
25801
|
-
quantity: 1, //khách chọn
|
|
25802
|
-
payment_detail_type: 1, //1: gói gia hạng mới, 2: gói nâng cấp, 3: gói kéo dài thêm thời gian
|
|
25803
|
-
}
|
|
25804
|
-
this.vhQuerySales.createPayment_Detail_byDealer({})
|
|
25805
|
-
.then((payment_detail)=>{
|
|
25806
|
-
console.log('createPayment_Detail_byDealer', payment_detail);
|
|
25807
|
-
},(error:any)=>{
|
|
25808
|
-
console.log('error', error);
|
|
25809
|
-
})
|
|
25810
|
-
payment_detail = {
|
|
25811
|
-
_id,
|
|
25812
|
-
id_dealer,
|
|
25813
|
-
payment_type,
|
|
25814
|
-
activating,
|
|
25815
|
-
invalid,
|
|
25816
|
-
date,
|
|
25817
|
-
|
|
25818
|
-
id_branch,
|
|
25819
|
-
id_payment,
|
|
25820
|
-
id_restriction,
|
|
25821
|
-
id_package,
|
|
25822
|
-
package_type,
|
|
25823
|
-
payment_type,
|
|
25824
|
-
payment_detail_type,
|
|
25825
|
-
day,
|
|
25826
|
-
tax,
|
|
25827
|
-
price,
|
|
25828
|
-
quantity
|
|
25829
|
-
}
|
|
25761
|
+
* this.vhQuerySales.addPromotion({name:'Cuối tuần vui vẻ', type:2, active:true, date_start:new Date(), date_end: new Date()})
|
|
25762
|
+
.then((promotion)=>{
|
|
25763
|
+
console.log('addPromotion', promotion);
|
|
25764
|
+
},(error:any)=>{
|
|
25765
|
+
console.log('error', error);
|
|
25766
|
+
})
|
|
25767
|
+
* @param colname
|
|
25830
25768
|
* @param data
|
|
25831
|
-
* @return Promise =>
|
|
25769
|
+
* @return Promise => obj = {}
|
|
25832
25770
|
* Luu ý: chỉ có 2 trường hợp, hoặc là thêm thành công, hoặc là báo lỗi error
|
|
25833
25771
|
*/
|
|
25834
|
-
|
|
25772
|
+
addPromotion(data: any): Promise<unknown>;
|
|
25835
25773
|
/**
|
|
25836
25774
|
* @example:
|
|
25837
|
-
* this.vhQuerySales.
|
|
25838
|
-
.then((
|
|
25839
|
-
console.log('
|
|
25840
|
-
},
|
|
25841
|
-
|
|
25775
|
+
* this.vhQuerySales.updatePromotion('5fb6780ca2148e09806c5b01', {name:'Khuyến mãi 12/12'})
|
|
25776
|
+
.then((bool:any)=>{
|
|
25777
|
+
console.log('updatePromotion', bool);
|
|
25778
|
+
}, error=>{
|
|
25779
|
+
console.log('error', error);
|
|
25842
25780
|
})
|
|
25843
|
-
|
|
25844
|
-
|
|
25845
|
-
|
|
25846
|
-
*/
|
|
25847
|
-
updatePayment_Detail_byDealer(id_payment_detail: string, value: object): Promise<unknown>;
|
|
25848
|
-
/**
|
|
25849
|
-
* @example:
|
|
25850
|
-
* let time = new Date();
|
|
25851
|
-
* time.setDate(time.getDate()-7);
|
|
25852
|
-
* this.vhQuerySales.getPayment_details_byDealer({id_payment:{$eq:'5fb67fda87c0f21d484cbdf3'}}, {},{},0)
|
|
25853
|
-
.then((payment_details)=>{
|
|
25854
|
-
console.log('getPayment_details_byDealer', payment_details);
|
|
25855
|
-
})
|
|
25856
|
-
* @param query
|
|
25857
|
-
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
25858
|
-
* @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
|
|
25859
|
-
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
25860
|
-
* @return Promise Array => array = [{},{},...] / error
|
|
25861
|
-
*/
|
|
25862
|
-
getPayment_details_byDealer(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
25863
|
-
/**
|
|
25864
|
-
* @example:
|
|
25865
|
-
* this.vhQuerySales.getPayment_detail_byDealer('5fb67fda87c0f21d484cbdf3')
|
|
25866
|
-
.then((payment_detail)=>{
|
|
25867
|
-
console.log('getPayment_detail_byDealer', payment_detail);
|
|
25868
|
-
})
|
|
25869
|
-
* @param id_payment_detail
|
|
25870
|
-
* @return Promise => payment_detail ={} or null / error
|
|
25781
|
+
* @param id_promotion
|
|
25782
|
+
* @param data
|
|
25783
|
+
* @return Promise => bool = true or false
|
|
25871
25784
|
*/
|
|
25872
|
-
|
|
25873
|
-
/**
|
|
25874
|
-
* @example:
|
|
25875
|
-
* this.vhQuerySales.deletePayment_Detail_byDealer('5fb67fda87c0f21d484cbdf3')
|
|
25876
|
-
.then((response)=>{
|
|
25877
|
-
console.log('deletePayment_Detail_byDealer', response);
|
|
25878
|
-
},(error:any)=>{
|
|
25879
|
-
reject(error);
|
|
25880
|
-
})
|
|
25881
|
-
* @param id_payment_detail
|
|
25882
|
-
* @return Promise => Promise => response = undefined / error
|
|
25883
|
-
*/
|
|
25884
|
-
deletePayment_Detail_byDealer(id_payment_detail: string): Promise<unknown>;
|
|
25885
|
-
/**
|
|
25886
|
-
* @example:
|
|
25887
|
-
* this.vhQuerySales.getPackage_byDealer('5fb67fda87c0f21d484cbdf3')
|
|
25888
|
-
.then((package)=>{
|
|
25889
|
-
console.log('getPackage_byDealer', package);
|
|
25890
|
-
})
|
|
25891
|
-
* @param id_package
|
|
25892
|
-
* @return Promise => package ={} or null / error
|
|
25893
|
-
*/
|
|
25894
|
-
getPackage_byDealer(id_package: any): Promise<unknown>;
|
|
25895
|
-
/**
|
|
25896
|
-
* @example:
|
|
25897
|
-
* this.vhQuerySales.updateLicenseKEY_byDealer('5fb6780ca2148e09806c5b01', {total:990000})
|
|
25898
|
-
.then((response)=>{
|
|
25899
|
-
console.log('updateLicenseKEY_byDealer', response);
|
|
25900
|
-
}, error=>{
|
|
25901
|
-
console.log('error', error);
|
|
25902
|
-
})
|
|
25903
|
-
* @param id_dealer
|
|
25904
|
-
* @param id_licenseKEY
|
|
25905
|
-
* @param value
|
|
25906
|
-
* @return Promise => response = undefined / error
|
|
25907
|
-
*/
|
|
25908
|
-
updateLicenseKEY_byDealer(id_dealer: string, id_licenseKEY: string, value: any): Promise<unknown>;
|
|
25909
|
-
/**
|
|
25910
|
-
* @example:
|
|
25911
|
-
* let time = new Date();
|
|
25912
|
-
* time.setDate(time.getDate()-7);
|
|
25913
|
-
* this.vhQuerySales.getLicenseKEYs_byDealer({payment_type:{$eq:5}}, {},{},0)
|
|
25914
|
-
.then((payments)=>{
|
|
25915
|
-
console.log('getLicenseKEYs_byDealer', payments);
|
|
25916
|
-
})
|
|
25917
|
-
* @param query
|
|
25918
|
-
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
25919
|
-
* @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
|
|
25920
|
-
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
25921
|
-
* @return — Array -> array = [{},{},...]
|
|
25922
|
-
*/
|
|
25923
|
-
getLicenseKEYs_byDealer(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
25924
|
-
/**
|
|
25925
|
-
* @example:
|
|
25926
|
-
* this.vhQuerySales.updateLicenseKEY_byStore('5fb6780ca2148e09806c5b01', {total:990000})
|
|
25927
|
-
.then((response)=>{
|
|
25928
|
-
console.log('updateLicenseKEY_byStore', response);
|
|
25929
|
-
}, error=>{
|
|
25930
|
-
console.log('error', error);
|
|
25931
|
-
})
|
|
25932
|
-
* @param id_store
|
|
25933
|
-
* @param id_licenseKEY
|
|
25934
|
-
* @param value
|
|
25935
|
-
* @return Promise => response = undefined / error
|
|
25936
|
-
*/
|
|
25937
|
-
updateLicenseKEY_byStore(id_store: string, id_licenseKEY: string, value: any): Promise<unknown>;
|
|
25938
|
-
/**
|
|
25939
|
-
* @example:
|
|
25940
|
-
* let time = new Date();
|
|
25941
|
-
* time.setDate(time.getDate()-7);
|
|
25942
|
-
* this.vhQuerySales.getLicenseKEYs_byStore({payment_type:{$eq:5}}, {},{},0)
|
|
25943
|
-
.then((payments)=>{
|
|
25944
|
-
console.log('getLicenseKEYs_byStore', payments);
|
|
25945
|
-
})
|
|
25946
|
-
* @param query
|
|
25947
|
-
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
25948
|
-
* @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
|
|
25949
|
-
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
25950
|
-
* @return — Array -> array = [{},{},...]
|
|
25951
|
-
*/
|
|
25952
|
-
getLicenseKEYs_byStore(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
25953
|
-
/**
|
|
25954
|
-
* Lấy về thông tin Đại lý từ mã đại lý (dealercode)
|
|
25955
|
-
* @example:
|
|
25956
|
-
* this.vhQuerySales.getDealer_byDealerCode()
|
|
25957
|
-
.then((dealer)=>{
|
|
25958
|
-
if(dealer){
|
|
25959
|
-
console.log('getDealer_byDealerCode', dealer);
|
|
25960
|
-
}
|
|
25961
|
-
}, error=>{
|
|
25962
|
-
console.log(error);
|
|
25963
|
-
})
|
|
25964
|
-
* @param dealercode
|
|
25965
|
-
* @returns object or null
|
|
25966
|
-
*/
|
|
25967
|
-
getDealer_byDealerCode(dealercode: any): Promise<unknown>;
|
|
25968
|
-
/**
|
|
25969
|
-
* Lấy về tất cả các Shop đăng ký dùng APP thuộc quản lý của Đại lý (IDdealer)
|
|
25970
|
-
* @param starttime
|
|
25971
|
-
* @param endtime
|
|
25972
|
-
* @param IDdealer
|
|
25973
|
-
* @returns Array
|
|
25974
|
-
*/
|
|
25975
|
-
getStoresAPP_byTime_byDealer(starttime: any, endtime: any, IDdealer: any): Promise<unknown>;
|
|
25976
|
-
/**
|
|
25977
|
-
* @example:
|
|
25978
|
-
* this.vhQuerySales.getBranchs_byIDstore('5fb67fda87c0f21d484cbdf3')
|
|
25979
|
-
.then((branchs)=>{
|
|
25980
|
-
console.log('getBranchs_byIDstore', branchs);
|
|
25981
|
-
})
|
|
25982
|
-
* @param id_store
|
|
25983
|
-
* @return Promise => Array -> array = [{},{},...]
|
|
25984
|
-
*/
|
|
25985
|
-
getBranchs_byIDstore(id_store: any): Promise<unknown>;
|
|
25986
|
-
private publishObservableEventPromotions;
|
|
25987
|
-
private observableLocalPromotions;
|
|
25988
|
-
/**
|
|
25989
|
-
* @example:
|
|
25990
|
-
* this.observablePromotion = this.vhQuerySales.getObservableLocalPromotions().subscribe((localPromotions:any) => {
|
|
25991
|
-
do something...
|
|
25992
|
-
})
|
|
25993
|
-
|
|
25994
|
-
ngOnDestroy(){
|
|
25995
|
-
this.observablePromotion.unsubscribe();
|
|
25996
|
-
}
|
|
25997
|
-
* @returns Observerble (Array) => Array(object) => array = [{},{},...]
|
|
25998
|
-
*/
|
|
25999
|
-
private getObservableLocalPromotions;
|
|
26000
|
-
/**
|
|
26001
|
-
* @example:
|
|
26002
|
-
* let promotion = this.vhQuerySales.getlocalPromotion('5fb6780ca2148e09806c5b01');
|
|
26003
|
-
* @param id_promotion
|
|
26004
|
-
* @return Object => obj = {} or null
|
|
26005
|
-
*/
|
|
26006
|
-
getlocalPromotion(id_promotion: any): null;
|
|
26007
|
-
/**
|
|
26008
|
-
* @example:
|
|
26009
|
-
* let promotions = this.vhQuerySales.getlocalPromotions();
|
|
26010
|
-
* @return Array(object) => array = [{},{},...]
|
|
26011
|
-
*/
|
|
26012
|
-
getlocalPromotions(): never[];
|
|
26013
|
-
/**
|
|
26014
|
-
* @example:
|
|
26015
|
-
* let date = new Date();
|
|
26016
|
-
* this.vhQuerySales.refreshLocalPromotions(date)
|
|
26017
|
-
.then(()=>{
|
|
26018
|
-
do something.....
|
|
26019
|
-
}, error=>{
|
|
26020
|
-
console.log('error', error);
|
|
26021
|
-
})
|
|
26022
|
-
* Hàm này refresh giá trị mới nhất cho hàm getlocalPromotion(), getlocalPromotions() trong localstorage
|
|
26023
|
-
* @return Promise => null
|
|
26024
|
-
*/
|
|
26025
|
-
private refreshLocalPromotions;
|
|
26026
|
-
/**
|
|
26027
|
-
* @example:
|
|
26028
|
-
* this.vhQuerySales.addPromotion({name:'Cuối tuần vui vẻ', type:2, active:true, date_start:new Date(), date_end: new Date()})
|
|
26029
|
-
.then((promotion)=>{
|
|
26030
|
-
console.log('addPromotion', promotion);
|
|
26031
|
-
},(error:any)=>{
|
|
26032
|
-
console.log('error', error);
|
|
26033
|
-
})
|
|
26034
|
-
* @param colname
|
|
26035
|
-
* @param data
|
|
26036
|
-
* @return Promise => obj = {}
|
|
26037
|
-
* Luu ý: chỉ có 2 trường hợp, hoặc là thêm thành công, hoặc là báo lỗi error
|
|
26038
|
-
*/
|
|
26039
|
-
addPromotion(data: any): Promise<unknown>;
|
|
26040
|
-
/**
|
|
26041
|
-
* @example:
|
|
26042
|
-
* this.vhQuerySales.updatePromotion('5fb6780ca2148e09806c5b01', {name:'Khuyến mãi 12/12'})
|
|
26043
|
-
.then((bool:any)=>{
|
|
26044
|
-
console.log('updatePromotion', bool);
|
|
26045
|
-
}, error=>{
|
|
26046
|
-
console.log('error', error);
|
|
26047
|
-
})
|
|
26048
|
-
* @param id_promotion
|
|
26049
|
-
* @param data
|
|
26050
|
-
* @return Promise => bool = true or false
|
|
26051
|
-
*/
|
|
26052
|
-
updatePromotion(id_promotion: string, data: object): Promise<unknown>;
|
|
25785
|
+
updatePromotion(id_promotion: string, data: object): Promise<unknown>;
|
|
26053
25786
|
/**
|
|
26054
25787
|
* @example:
|
|
26055
25788
|
* this.vhQuerySales.deletePromotion('5fb67fda87c0f21d484cbdf3')
|
|
@@ -28907,6 +28640,307 @@ export declare class VhQuerySales {
|
|
|
28907
28640
|
static ɵfac: i0.ɵɵFactoryDeclaration<VhQuerySales, never>;
|
|
28908
28641
|
static ɵprov: i0.ɵɵInjectableDeclaration<VhQuerySales>;
|
|
28909
28642
|
}
|
|
28643
|
+
export declare class VhQueryDealer {
|
|
28644
|
+
private vhMGDB_auth;
|
|
28645
|
+
private vhMGDB_database;
|
|
28646
|
+
private vhMGDB_rootdatabase;
|
|
28647
|
+
private vhAuth;
|
|
28648
|
+
private vhAlgorithm;
|
|
28649
|
+
constructor(vhMGDB_auth: VhMGDB_auth, vhMGDB_database: VhMGDB_database, vhMGDB_rootdatabase: VhMGDB_rootdatabase, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm);
|
|
28650
|
+
/**
|
|
28651
|
+
* Lấy về danh sách các ngân hàng (kèm logo) mà vietqr hỗ trợ tạo mã QR
|
|
28652
|
+
* @example:
|
|
28653
|
+
* this.vhQueryDealer.vietqr_getBanks()
|
|
28654
|
+
.then((rsp:any)=>{
|
|
28655
|
+
if(rsp.vcode === 0){
|
|
28656
|
+
}
|
|
28657
|
+
}, error=>{
|
|
28658
|
+
console.log(error)
|
|
28659
|
+
})
|
|
28660
|
+
* @returns Promise => rsp ={vcode, msg, data(array)} / error
|
|
28661
|
+
* vcode == 0: success
|
|
28662
|
+
*/
|
|
28663
|
+
vietqr_getBanks(): Promise<unknown>;
|
|
28664
|
+
/**
|
|
28665
|
+
* Tạo mã QR cho Đại lý quét thanh toán
|
|
28666
|
+
* @example:
|
|
28667
|
+
* this.vhQueryDealer.vietqr_generateQR('0909925354', 'LE DUC HUY', '970422', 'compact2', '674fd94a9ace7267deb685fd', 99000)
|
|
28668
|
+
.then((rsp:any)=>{
|
|
28669
|
+
if(rsp.vcode === 0){
|
|
28670
|
+
}
|
|
28671
|
+
}, error=>{
|
|
28672
|
+
console.log(error)
|
|
28673
|
+
})
|
|
28674
|
+
* @param accountNo: số tài khoản ngân hàng
|
|
28675
|
+
* @param accountName: tên chủ tài khoản
|
|
28676
|
+
* @param acqId: mã bin của ngân hàng (lấy từ hàm vietqr_getBanks())
|
|
28677
|
+
* @param template: compact2, compact, qr_only, print
|
|
28678
|
+
+ compact2: 540x640 Bao gồm : Mã QR, các logo , thông tin chuyển khoản
|
|
28679
|
+
+ compact: 540x540 QR kèm logo VietQR, Napas, ngân hàng
|
|
28680
|
+
+ qr_only: 480x480 Trả về ảnh QR đơn giản, chỉ bao gồm QR
|
|
28681
|
+
+ print: 600x776 Bao gồm : Mã QR, các logo và đầy đủ thông tin chuyển khoản
|
|
28682
|
+
* @param id_bill: _id của đơn hàng
|
|
28683
|
+
* @param amount: tổng tiền khách phải thanh toán
|
|
28684
|
+
* @returns Promise => rsp ={vcode, msg, data(img_base64)} / error
|
|
28685
|
+
* vcode == 0: success
|
|
28686
|
+
*/
|
|
28687
|
+
vietqr_generateQR(accountNo: string, accountName: string, acqId: string, template: string, id_payment: string, amount: number): Promise<unknown>;
|
|
28688
|
+
/**
|
|
28689
|
+
* @example:
|
|
28690
|
+
* let data = {
|
|
28691
|
+
date: new Date(),
|
|
28692
|
+
payment_type: 5, //1 lưu (khách đã thanh toán cho vnpay); 5 lưu tạm (khách chưa thanh toán vnpay), hệ thống sẽ tự động xóa những payment này hoặc trên giao diện hiện ra cho khách tự xóa
|
|
28693
|
+
payment: 990.000,
|
|
28694
|
+
tax: 0,
|
|
28695
|
+
total: 990.000
|
|
28696
|
+
}
|
|
28697
|
+
* this.vhQueryDealer.createPayment(data)
|
|
28698
|
+
.then((payment)=>{
|
|
28699
|
+
console.log('createPayment', payment);
|
|
28700
|
+
},(error:any)=>{
|
|
28701
|
+
console.log('error', error);
|
|
28702
|
+
})
|
|
28703
|
+
* payment = {
|
|
28704
|
+
_id,
|
|
28705
|
+
payment_code,
|
|
28706
|
+
id_dealer,
|
|
28707
|
+
|
|
28708
|
+
date
|
|
28709
|
+
payment_type,
|
|
28710
|
+
payment,
|
|
28711
|
+
tax,
|
|
28712
|
+
total
|
|
28713
|
+
}
|
|
28714
|
+
* @param payment : object
|
|
28715
|
+
* @return Promise => payment = {} / error
|
|
28716
|
+
* Luu ý: chỉ có 2 trường hợp, hoặc là thêm thành công, hoặc là báo lỗi error
|
|
28717
|
+
* @notice : hàm này chỉ dùng tạo những bill_type mà không có phát sinh bill_detail
|
|
28718
|
+
*/
|
|
28719
|
+
createPayment(data: any): Promise<unknown>;
|
|
28720
|
+
/**
|
|
28721
|
+
* @example:
|
|
28722
|
+
* this.vhQueryDealer.updatePayment('5fb6780ca2148e09806c5b01', {total:990000})
|
|
28723
|
+
.then((response)=>{
|
|
28724
|
+
console.log('updatePayment', response);
|
|
28725
|
+
}, error=>{
|
|
28726
|
+
console.log('error', error);
|
|
28727
|
+
})
|
|
28728
|
+
* @param id_payment
|
|
28729
|
+
* @param value
|
|
28730
|
+
* @return Promise => response = undefined / error
|
|
28731
|
+
*/
|
|
28732
|
+
updatePayment(id_payment: string, value: any): Promise<unknown>;
|
|
28733
|
+
/**
|
|
28734
|
+
* @example:
|
|
28735
|
+
* this.vhQueryDealer.deletePayment('5fb67fda87c0f21d484cbdf3')
|
|
28736
|
+
.then((response)=>{
|
|
28737
|
+
console.log('deletePayment', response);
|
|
28738
|
+
}, error=>{
|
|
28739
|
+
console.log(error, error);
|
|
28740
|
+
})
|
|
28741
|
+
* @param id_payment
|
|
28742
|
+
* @return Promise => response = undefined / error
|
|
28743
|
+
*/
|
|
28744
|
+
deletePayment(id_payment: any): Promise<unknown>;
|
|
28745
|
+
/**
|
|
28746
|
+
* @example:
|
|
28747
|
+
* let time = new Date();
|
|
28748
|
+
* time.setDate(time.getDate()-7);
|
|
28749
|
+
* this.vhQueryDealer.getPayments({payment_type:{$eq:5}}, {},{},0)
|
|
28750
|
+
.then((payments)=>{
|
|
28751
|
+
console.log('getPayments', payments);
|
|
28752
|
+
})
|
|
28753
|
+
* @param query
|
|
28754
|
+
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
28755
|
+
* @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
|
|
28756
|
+
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
28757
|
+
* @return — Array -> array = [{},{},...]
|
|
28758
|
+
*/
|
|
28759
|
+
getPayments(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
28760
|
+
/**
|
|
28761
|
+
* @example:
|
|
28762
|
+
* this.vhQueryDealer.getPayment('5fb67fda87c0f21d484cbdf3')
|
|
28763
|
+
.then((payment)=>{
|
|
28764
|
+
console.log('getPayment', payment);
|
|
28765
|
+
})
|
|
28766
|
+
* @param id_payment
|
|
28767
|
+
* @return Promise => payment ={} or null / error
|
|
28768
|
+
*/
|
|
28769
|
+
getPayment(id_payment: any): Promise<unknown>;
|
|
28770
|
+
/**
|
|
28771
|
+
* @example:
|
|
28772
|
+
let payment_detail_main = {
|
|
28773
|
+
id_branch: 'AEUWSWZXA4iHv8BmCNz2', //khách chọn
|
|
28774
|
+
id_payment: '5D4XGdZ2q5XLnOUa0mMx', //payment._id
|
|
28775
|
+
id_restriction: 'main_package_advanced', //package.id_restriction
|
|
28776
|
+
id_package: 'main_package_advanced_1month', //có được khi khách chọn gói để mua
|
|
28777
|
+
package_type: 1, //gói chinh, gói tmđt hay gói facebook...
|
|
28778
|
+
day: 31, //package.day,
|
|
28779
|
+
tax: 0, package.tax,
|
|
28780
|
+
price: 99000, package.price,
|
|
28781
|
+
quantity: 1, //khách chọn
|
|
28782
|
+
payment_detail_type: 1, //1: gói gia hạng mới, 2: gói nâng cấp, 3: gói kéo dài thêm thời gian
|
|
28783
|
+
}
|
|
28784
|
+
this.vhQueryDealer.createPayment_Detail({})
|
|
28785
|
+
.then((payment_detail)=>{
|
|
28786
|
+
console.log('createPayment_Detail', payment_detail);
|
|
28787
|
+
},(error:any)=>{
|
|
28788
|
+
console.log('error', error);
|
|
28789
|
+
})
|
|
28790
|
+
payment_detail = {
|
|
28791
|
+
_id,
|
|
28792
|
+
id_dealer,
|
|
28793
|
+
payment_type,
|
|
28794
|
+
activating,
|
|
28795
|
+
invalid,
|
|
28796
|
+
date,
|
|
28797
|
+
|
|
28798
|
+
id_branch,
|
|
28799
|
+
id_payment,
|
|
28800
|
+
id_restriction,
|
|
28801
|
+
id_package,
|
|
28802
|
+
package_type,
|
|
28803
|
+
payment_type,
|
|
28804
|
+
payment_detail_type,
|
|
28805
|
+
day,
|
|
28806
|
+
tax,
|
|
28807
|
+
price,
|
|
28808
|
+
quantity
|
|
28809
|
+
}
|
|
28810
|
+
* @param data
|
|
28811
|
+
* @return Promise => response = {} / error
|
|
28812
|
+
* Luu ý: chỉ có 2 trường hợp, hoặc là thêm thành công, hoặc là báo lỗi error
|
|
28813
|
+
*/
|
|
28814
|
+
createPayment_Detail(data: any): any;
|
|
28815
|
+
/**
|
|
28816
|
+
* @example:
|
|
28817
|
+
* this.vhQueryDealer.updatePayment_Detail('5fb6780ca2148e09806c5b01', {name:'Khuyến mãi 12/12'})
|
|
28818
|
+
.then((response)=>{
|
|
28819
|
+
console.log('updatePayment_Detail', response);
|
|
28820
|
+
},(error:any)=>{
|
|
28821
|
+
reject(error);
|
|
28822
|
+
})
|
|
28823
|
+
* @param id_payment_detail
|
|
28824
|
+
* @param value
|
|
28825
|
+
* @return Promise => response = undefined / error
|
|
28826
|
+
*/
|
|
28827
|
+
updatePayment_Detail(id_payment_detail: string, value: object): Promise<unknown>;
|
|
28828
|
+
/**
|
|
28829
|
+
* @example:
|
|
28830
|
+
* let time = new Date();
|
|
28831
|
+
* time.setDate(time.getDate()-7);
|
|
28832
|
+
* this.vhQueryDealer.getPayment_details({id_payment:{$eq:'5fb67fda87c0f21d484cbdf3'}}, {},{},0)
|
|
28833
|
+
.then((payment_details)=>{
|
|
28834
|
+
console.log('getPayment_details', payment_details);
|
|
28835
|
+
})
|
|
28836
|
+
* @param query
|
|
28837
|
+
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
28838
|
+
* @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
|
|
28839
|
+
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
28840
|
+
* @return Promise Array => array = [{},{},...] / error
|
|
28841
|
+
*/
|
|
28842
|
+
getPayment_details(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
28843
|
+
/**
|
|
28844
|
+
* @example:
|
|
28845
|
+
* this.vhQueryDealer.getPayment_detail('5fb67fda87c0f21d484cbdf3')
|
|
28846
|
+
.then((payment_detail)=>{
|
|
28847
|
+
console.log('getPayment_detail', payment_detail);
|
|
28848
|
+
})
|
|
28849
|
+
* @param id_payment_detail
|
|
28850
|
+
* @return Promise => payment_detail ={} or null / error
|
|
28851
|
+
*/
|
|
28852
|
+
getPayment_detail(id_payment_detail: any): Promise<unknown>;
|
|
28853
|
+
/**
|
|
28854
|
+
* @example:
|
|
28855
|
+
* this.vhQueryDealer.deletePayment_Detail('5fb67fda87c0f21d484cbdf3')
|
|
28856
|
+
.then((response)=>{
|
|
28857
|
+
console.log('deletePayment_Detail', response);
|
|
28858
|
+
},(error:any)=>{
|
|
28859
|
+
reject(error);
|
|
28860
|
+
})
|
|
28861
|
+
* @param id_payment_detail
|
|
28862
|
+
* @return Promise => Promise => response = undefined / error
|
|
28863
|
+
*/
|
|
28864
|
+
deletePayment_Detail(id_payment_detail: string): Promise<unknown>;
|
|
28865
|
+
/**
|
|
28866
|
+
* @example:
|
|
28867
|
+
* this.vhQueryDealer.getPackage('5fb67fda87c0f21d484cbdf3')
|
|
28868
|
+
.then((package)=>{
|
|
28869
|
+
console.log('getPackage', package);
|
|
28870
|
+
})
|
|
28871
|
+
* @param id_package
|
|
28872
|
+
* @return Promise => package ={} or null / error
|
|
28873
|
+
*/
|
|
28874
|
+
getPackage(id_package: any): Promise<unknown>;
|
|
28875
|
+
/**
|
|
28876
|
+
* @example:
|
|
28877
|
+
* this.vhQueryDealer.updateLicenseKEY('5fb6780ca2148e09806c5b01', {total:990000})
|
|
28878
|
+
.then((response)=>{
|
|
28879
|
+
console.log('updateLicenseKEY', response);
|
|
28880
|
+
}, error=>{
|
|
28881
|
+
console.log('error', error);
|
|
28882
|
+
})
|
|
28883
|
+
* @param id_licenseKEY
|
|
28884
|
+
* @param value
|
|
28885
|
+
* @return Promise => response = undefined / error
|
|
28886
|
+
*/
|
|
28887
|
+
updateLicenseKEY(id_licenseKEY: string, value: any): Promise<unknown>;
|
|
28888
|
+
/**
|
|
28889
|
+
* @example:
|
|
28890
|
+
* let time = new Date();
|
|
28891
|
+
* time.setDate(time.getDate()-7);
|
|
28892
|
+
* this.vhQueryDealer.getLicenseKEYs({payment_type:{$eq:5}}, {},{},0)
|
|
28893
|
+
.then((payments)=>{
|
|
28894
|
+
console.log('getLicenseKEYs', payments);
|
|
28895
|
+
})
|
|
28896
|
+
* @param query
|
|
28897
|
+
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
28898
|
+
* @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
|
|
28899
|
+
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
28900
|
+
* @return — Array -> array = [{},{},...]
|
|
28901
|
+
*/
|
|
28902
|
+
getLicenseKEYs(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
28903
|
+
/**
|
|
28904
|
+
* Lấy về thông tin Đại lý từ mã đại lý (dealercode)
|
|
28905
|
+
* @example:
|
|
28906
|
+
* this.vhQueryDealer.getDealer_byDealerCode()
|
|
28907
|
+
.then((dealer)=>{
|
|
28908
|
+
if(dealer){
|
|
28909
|
+
console.log('getDealer_byDealerCode', dealer);
|
|
28910
|
+
}
|
|
28911
|
+
}, error=>{
|
|
28912
|
+
console.log(error);
|
|
28913
|
+
})
|
|
28914
|
+
* @param dealercode
|
|
28915
|
+
* @returns object or null
|
|
28916
|
+
*/
|
|
28917
|
+
getDealer_byDealerCode(dealercode: any): Promise<unknown>;
|
|
28918
|
+
/**
|
|
28919
|
+
* @example:
|
|
28920
|
+
* this.vhQueryDealer.getStoresAPP_byTime(starttime, endtime, '5fb67fda87c0f21d484cbdf3')
|
|
28921
|
+
.then((stores)=>{
|
|
28922
|
+
console.log('getStoresAPP_byTime', stores);
|
|
28923
|
+
})
|
|
28924
|
+
* Lấy về tất cả các Shop đăng ký dùng APP thuộc quản lý của Đại lý (IDdealer)
|
|
28925
|
+
* @param starttime
|
|
28926
|
+
* @param endtime
|
|
28927
|
+
* @param IDdealer
|
|
28928
|
+
* @returns Promise => Array -> array = [{},{},...]
|
|
28929
|
+
*/
|
|
28930
|
+
getStoresAPP_byTime(starttime: any, endtime: any, IDdealer: any): Promise<unknown>;
|
|
28931
|
+
/**
|
|
28932
|
+
* @example:
|
|
28933
|
+
* this.vhQueryDealer.getBranchs_byIDstore('5fb67fda87c0f21d484cbdf3')
|
|
28934
|
+
.then((branchs)=>{
|
|
28935
|
+
console.log('getBranchs_byIDstore', branchs);
|
|
28936
|
+
})
|
|
28937
|
+
* @param id_store
|
|
28938
|
+
* @return Promise => Array -> array = [{},{},...]
|
|
28939
|
+
*/
|
|
28940
|
+
getBranchs_byIDstore(id_store: any): Promise<unknown>;
|
|
28941
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VhQueryDealer, never>;
|
|
28942
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VhQueryDealer>;
|
|
28943
|
+
}
|
|
28910
28944
|
export declare class VhQuerySCclient {
|
|
28911
28945
|
private vhMGDB_auth;
|
|
28912
28946
|
private vhMGDB_database;
|