ionic-vhframeworks 4.0.2 → 4.0.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.
- 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 +58 -11
- package/package.json +1 -1
|
@@ -12189,7 +12189,7 @@ export declare class VhQuerySales {
|
|
|
12189
12189
|
* @param id_customer_class
|
|
12190
12190
|
* @return Promise => bool = true or false
|
|
12191
12191
|
*/
|
|
12192
|
-
deleteCustomerClass(id_customer_class: any
|
|
12192
|
+
deleteCustomerClass(id_customer_class: any): Promise<unknown>;
|
|
12193
12193
|
/**
|
|
12194
12194
|
* @example:
|
|
12195
12195
|
* this.vhQuerySales.getCustomerClass('KNOVIYWKN135468DWS')
|
|
@@ -12529,7 +12529,7 @@ export declare class VhQuerySales {
|
|
|
12529
12529
|
* @param data
|
|
12530
12530
|
* @return Promise => Array(object)
|
|
12531
12531
|
*/
|
|
12532
|
-
createCouponCodes(data:
|
|
12532
|
+
createCouponCodes(data: any, quantity: number): Promise<unknown>;
|
|
12533
12533
|
/**
|
|
12534
12534
|
* @example:
|
|
12535
12535
|
*
|
|
@@ -12571,6 +12571,22 @@ export declare class VhQuerySales {
|
|
|
12571
12571
|
* @return Promise => Array<any>
|
|
12572
12572
|
*/
|
|
12573
12573
|
getCouponCodes_byIdCouponReleaseDetail(id_coupon_release_detail: any): Promise<unknown>;
|
|
12574
|
+
/**
|
|
12575
|
+
* hàm này trả về danh sách coupon code đã phát hành theo điều kiện query
|
|
12576
|
+
* @example:
|
|
12577
|
+
* this.vhQuerySales.getCouponCodes_byFields({status:{$eq: 1}}, {}, {}, 0)
|
|
12578
|
+
.then((res)=>{
|
|
12579
|
+
console.log('getCouponCodes_byFields', res);
|
|
12580
|
+
}, error=>{
|
|
12581
|
+
console.log('error', error);
|
|
12582
|
+
})
|
|
12583
|
+
* @param query
|
|
12584
|
+
* @param projection
|
|
12585
|
+
* @param sort
|
|
12586
|
+
* @param limit
|
|
12587
|
+
* @return Promise => array(object) = [{},{},..]
|
|
12588
|
+
*/
|
|
12589
|
+
getCouponCodes_byFields(query: object, projection: object, sort: object, limit: number): Promise<unknown>;
|
|
12574
12590
|
/**
|
|
12575
12591
|
* hàm này trả về coupon code đã phát hành theo trường code của Coupon code. dùng trong trang bán hàng để đổi phiếu
|
|
12576
12592
|
* @example:
|
|
@@ -12831,7 +12847,7 @@ export declare class VhQuerySales {
|
|
|
12831
12847
|
* @param quantity
|
|
12832
12848
|
* @return Promise => Array(object)
|
|
12833
12849
|
*/
|
|
12834
|
-
createVoucherCodes(data:
|
|
12850
|
+
createVoucherCodes(data: any, quantity: number): Promise<unknown>;
|
|
12835
12851
|
/**
|
|
12836
12852
|
* @example:
|
|
12837
12853
|
*
|
|
@@ -12862,17 +12878,32 @@ export declare class VhQuerySales {
|
|
|
12862
12878
|
/**
|
|
12863
12879
|
* hàm này trả về danh sách voucher_codes đã phát hành theo mỗi đợt
|
|
12864
12880
|
* @example:
|
|
12865
|
-
*
|
|
12866
|
-
* this.vhQuerySales.getVoucherCode_byIdCouponReleaseDetail('OUHEOIWUYGHIQNIDOUW1359478'})
|
|
12881
|
+
* this.vhQuerySales.getVoucherCodes_byIdCouponReleaseDetail('OUHEOIWUYGHIQNIDOUW1359478'})
|
|
12867
12882
|
.then((array)=>{
|
|
12868
|
-
console.log('
|
|
12883
|
+
console.log('getVoucherCodes_byIdCouponReleaseDetail', array);
|
|
12869
12884
|
}, error=>{
|
|
12870
12885
|
console.log('error', error);
|
|
12871
12886
|
})
|
|
12872
12887
|
* @param id_voucher_release_detail
|
|
12873
12888
|
* @return Promise => Array<any>
|
|
12874
12889
|
*/
|
|
12875
|
-
|
|
12890
|
+
getVoucherCodes_byIdCouponReleaseDetail(id_voucher_release_detail: any): Promise<unknown>;
|
|
12891
|
+
/**
|
|
12892
|
+
* hàm này trả về danh sách voucher code đã phát hành theo điều kiện query
|
|
12893
|
+
* @example:
|
|
12894
|
+
* this.vhQuerySales.getVoucherCodes_byFields({status:{$eq: 1}}, {}, {}, 0)
|
|
12895
|
+
.then((res)=>{
|
|
12896
|
+
console.log('getVoucherCodes_byFields', res);
|
|
12897
|
+
}, error=>{
|
|
12898
|
+
console.log('error', error);
|
|
12899
|
+
})
|
|
12900
|
+
* @param query
|
|
12901
|
+
* @param projection
|
|
12902
|
+
* @param sort
|
|
12903
|
+
* @param limit
|
|
12904
|
+
* @return Promise => array(object) = [{},{},..]
|
|
12905
|
+
*/
|
|
12906
|
+
getVoucherCodes_byFields(query: object, projection: object, sort: object, limit: number): Promise<unknown>;
|
|
12876
12907
|
/**
|
|
12877
12908
|
* hàm này trả về voucher code đã phát hành theo trường code của voucher code. dùng trong trang bán hàng để đổi phiếu
|
|
12878
12909
|
* @example:
|
|
@@ -13138,7 +13169,7 @@ export declare class VhQuerySales {
|
|
|
13138
13169
|
* @param quantity
|
|
13139
13170
|
* @return Promise => Array(object)
|
|
13140
13171
|
*/
|
|
13141
|
-
createPaymentCardCodes(data:
|
|
13172
|
+
createPaymentCardCodes(data: any, quantity: number): Promise<unknown>;
|
|
13142
13173
|
/**
|
|
13143
13174
|
* @example:
|
|
13144
13175
|
* let data = {
|
|
@@ -13174,16 +13205,32 @@ export declare class VhQuerySales {
|
|
|
13174
13205
|
* hàm này trả về danh sách payment_card_codes đã phát hành theo mỗi đợt
|
|
13175
13206
|
* @example:
|
|
13176
13207
|
*
|
|
13177
|
-
* this.vhQuerySales.
|
|
13208
|
+
* this.vhQuerySales.getPaymentCardCodes_byIdPaymentCardReleaseDetail('OUHEOIWUYGHIQNIDOUW1359478'})
|
|
13178
13209
|
.then((array)=>{
|
|
13179
|
-
console.log('
|
|
13210
|
+
console.log('getPaymentCardCodes_byIdPaymentCardReleaseDetail', array);
|
|
13180
13211
|
}, error=>{
|
|
13181
13212
|
console.log('error', error);
|
|
13182
13213
|
})
|
|
13183
13214
|
* @param id_payment_card_release_detail
|
|
13184
13215
|
* @return Promise => Array<any>
|
|
13185
13216
|
*/
|
|
13186
|
-
|
|
13217
|
+
getPaymentCardCodes_byIdPaymentCardReleaseDetail(id_payment_card_release_detail: any): Promise<unknown>;
|
|
13218
|
+
/**
|
|
13219
|
+
* hàm này trả về danh sách payment_card code đã phát hành theo điều kiện query
|
|
13220
|
+
* @example:
|
|
13221
|
+
* this.vhQuerySales.getPaymentCardCodes_byFields({status:{$eq: 1}}, {}, {}, 0)
|
|
13222
|
+
.then((res)=>{
|
|
13223
|
+
console.log('getPaymentCardCodes_byFields', res);
|
|
13224
|
+
}, error=>{
|
|
13225
|
+
console.log('error', error);
|
|
13226
|
+
})
|
|
13227
|
+
* @param query
|
|
13228
|
+
* @param projection
|
|
13229
|
+
* @param sort
|
|
13230
|
+
* @param limit
|
|
13231
|
+
* @return Promise => array(object) = [{},{},..]
|
|
13232
|
+
*/
|
|
13233
|
+
getPaymentCardCodes_byFields(query: object, projection: object, sort: object, limit: number): Promise<unknown>;
|
|
13187
13234
|
/**
|
|
13188
13235
|
* hàm này trả về payment_card_code đã phát hành theo trường _id của payment_card_code. dùng trong trang bán hàng để đổi phiếu
|
|
13189
13236
|
* @example:
|