ionic-vhframeworks 3.5.8 → 3.6.2
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 +121 -1
- package/package.json +1 -1
|
@@ -6537,6 +6537,46 @@ export declare class VhEcommerce {
|
|
|
6537
6537
|
private shopeepricecomparinglist;
|
|
6538
6538
|
private callbacklazadapricecomparing;
|
|
6539
6539
|
constructor(vhmongo_firebase: Vhmongo_firebase);
|
|
6540
|
+
/**
|
|
6541
|
+
* @notice : Lấy địa chỉ + thời gian lấy hàng
|
|
6542
|
+
* @example:
|
|
6543
|
+
let order_sn = '2112156RC1JN5Y';
|
|
6544
|
+
let access_token = '98efa569a4731bb67a8f76fed8808d66';
|
|
6545
|
+
let shop_id = '894793475932';
|
|
6546
|
+
this.vhEcommerce.getShippingParameterShopee( order_sn, access_token, shop_id).then((result)=>{
|
|
6547
|
+
console.log('result', result);
|
|
6548
|
+
},error=>{
|
|
6549
|
+
console.log('error', error);
|
|
6550
|
+
})
|
|
6551
|
+
* @param order_sn
|
|
6552
|
+
* @param access_token
|
|
6553
|
+
* @param shop_id
|
|
6554
|
+
* @returns Promise
|
|
6555
|
+
*/
|
|
6556
|
+
getShippingParameterShopee(order_sn: string, access_token: string, shop_id: string): Promise<unknown>;
|
|
6557
|
+
/**
|
|
6558
|
+
* @notice : Xác nhận đã đóng gói xong
|
|
6559
|
+
* @example:
|
|
6560
|
+
* let json = {
|
|
6561
|
+
order_sn: "2112156RC1JN5Y",
|
|
6562
|
+
pickup: {
|
|
6563
|
+
address_id: 51363234,
|
|
6564
|
+
pickup_time_id: "1639731600"
|
|
6565
|
+
}
|
|
6566
|
+
}
|
|
6567
|
+
let access_token = '98efa569a4731bb67a8f76fed8808d66'
|
|
6568
|
+
let shop_id = '894793475932';
|
|
6569
|
+
this.vhEcommerce.confirmShippingByJSONShopee( json, access_token, shop_id).then((result)=>{
|
|
6570
|
+
console.log('result', result);
|
|
6571
|
+
},error=>{
|
|
6572
|
+
console.log('error', error);
|
|
6573
|
+
})
|
|
6574
|
+
* @param json
|
|
6575
|
+
* @param access_token
|
|
6576
|
+
* @param shop_id
|
|
6577
|
+
* @returns Promise
|
|
6578
|
+
*/
|
|
6579
|
+
confirmShippingByJSONShopee(json: any, access_token: string, shop_id: string): Promise<unknown>;
|
|
6540
6580
|
/**
|
|
6541
6581
|
* @example:
|
|
6542
6582
|
* this.vhEcommerce.observableLazadaPriceComparing('5fb6780ca2148e09806c5b01')
|
|
@@ -6940,6 +6980,46 @@ export declare class VhQuerySales {
|
|
|
6940
6980
|
private subjectwarrantys;
|
|
6941
6981
|
constructor(vhmongo_firebase: Vhmongo_firebase, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm, iap2: InAppPurchase2, platform: Platform);
|
|
6942
6982
|
/**------------------------TIKI Ecommerce-------------------------- */
|
|
6983
|
+
/**
|
|
6984
|
+
* @example:
|
|
6985
|
+
* this.vhQuerySales.getSellerInventoriesForConfirmationTiki(access_token).then((result)=>{
|
|
6986
|
+
console.log('result', result);
|
|
6987
|
+
},error=>{
|
|
6988
|
+
console.log('error', error);
|
|
6989
|
+
})
|
|
6990
|
+
* @param access_token :string
|
|
6991
|
+
* @returns Promise
|
|
6992
|
+
*/
|
|
6993
|
+
getSellerInventoriesForConfirmationTiki(access_token: string): Promise<unknown>;
|
|
6994
|
+
/**
|
|
6995
|
+
* @example:
|
|
6996
|
+
* this.vhQuerySales.getExpectedPickupTimesTiki(access_token).then((result)=>{
|
|
6997
|
+
console.log('result', result);
|
|
6998
|
+
},error=>{
|
|
6999
|
+
console.log('error', error);
|
|
7000
|
+
})
|
|
7001
|
+
* @param access_token :string
|
|
7002
|
+
* @returns Promise
|
|
7003
|
+
*/
|
|
7004
|
+
getExpectedPickupTimesTiki(access_token: string): Promise<unknown>;
|
|
7005
|
+
/**
|
|
7006
|
+
* @example:
|
|
7007
|
+
* let json = {
|
|
7008
|
+
confirmation_status: 'seller_confirmed',
|
|
7009
|
+
seller_inventory_id: 237188,
|
|
7010
|
+
expected_pickup_time: '2021-12-10 09:00:00
|
|
7011
|
+
}
|
|
7012
|
+
* this.vhQuerySales.ConfirmEnoughStockForDropShippingByJSONTiki(code, json, access_token).then((result)=>{
|
|
7013
|
+
console.log('result', result);
|
|
7014
|
+
},error=>{
|
|
7015
|
+
console.log('error', error);
|
|
7016
|
+
})
|
|
7017
|
+
* @param code :string
|
|
7018
|
+
* @param json :object
|
|
7019
|
+
* @param access_token :string
|
|
7020
|
+
* @returns Promise
|
|
7021
|
+
*/
|
|
7022
|
+
ConfirmEnoughStockForDropShippingByJSONTiki(code: string, json: any, access_token: string): Promise<unknown>;
|
|
6943
7023
|
/**
|
|
6944
7024
|
* Hàm này lấy về mảng các đơn hàng (salesorder) được lưu trong database viethas (ko phải database tiki)
|
|
6945
7025
|
* @example
|
|
@@ -7217,6 +7297,30 @@ export declare class VhQuerySales {
|
|
|
7217
7297
|
* @returns Bool => true or false
|
|
7218
7298
|
*/
|
|
7219
7299
|
updateProductByXMLLazada(xml: any, access_token: string): Promise<unknown>;
|
|
7300
|
+
/**
|
|
7301
|
+
* @example:
|
|
7302
|
+
* this.vhQuerySales.setStatusPackedLazada( order_item_ids, access_token).then((result)=>{
|
|
7303
|
+
console.log('result', result);
|
|
7304
|
+
},error=>{
|
|
7305
|
+
console.log('error', error);
|
|
7306
|
+
})
|
|
7307
|
+
* @param order_item_ids : array
|
|
7308
|
+
* @param access_token :string
|
|
7309
|
+
* @returns Promise
|
|
7310
|
+
*/
|
|
7311
|
+
setStatusPackedLazada(order_item_ids: any, access_token: string): Promise<unknown>;
|
|
7312
|
+
/**
|
|
7313
|
+
* @example:
|
|
7314
|
+
* this.vhQuerySales.setStatusReadyToShipLazada( order_item_ids, access_token).then((result)=>{
|
|
7315
|
+
console.log('result', result);
|
|
7316
|
+
},error=>{
|
|
7317
|
+
console.log('error', error);
|
|
7318
|
+
})
|
|
7319
|
+
* @param order_item_ids : array
|
|
7320
|
+
* @param access_token :string
|
|
7321
|
+
* @returns Promise
|
|
7322
|
+
*/
|
|
7323
|
+
setStatusReadyToShipLazada(order_item_ids: any, tracking_number: string, access_token: string): Promise<unknown>;
|
|
7220
7324
|
/**
|
|
7221
7325
|
* @example:
|
|
7222
7326
|
* let productlistlazada = this.vhQuerySales.getlocalProductListLazada('ư0e4tuiwe98rhvqw9vtqw9t7rq987r9qvwn98et98');
|
|
@@ -7510,6 +7614,21 @@ export declare class VhQuerySales {
|
|
|
7510
7614
|
* @returns
|
|
7511
7615
|
*/
|
|
7512
7616
|
updateByJSONSendo(json: any, token: string): Promise<unknown>;
|
|
7617
|
+
/**
|
|
7618
|
+
* @example:
|
|
7619
|
+
* this.vhQuerySales.updateOrderStatusSendo(order_number, order_status, cancel_order_reason, token)
|
|
7620
|
+
.then((bool)=>{
|
|
7621
|
+
console.log(bool);
|
|
7622
|
+
}, error=>{
|
|
7623
|
+
console.log(error);
|
|
7624
|
+
})
|
|
7625
|
+
* @param order_number
|
|
7626
|
+
* @param order_status
|
|
7627
|
+
* @param cancel_order_reason
|
|
7628
|
+
* @param token
|
|
7629
|
+
* @returns Promise => bool = true or false
|
|
7630
|
+
*/
|
|
7631
|
+
updateOrderStatusSendo(order_number: string, order_status: number, cancel_order_reason: string, token: string): Promise<unknown>;
|
|
7513
7632
|
/**
|
|
7514
7633
|
* @example:
|
|
7515
7634
|
* let order_date_from = new Date('2021-01-1');
|
|
@@ -7812,6 +7931,7 @@ export declare class VhQuerySales {
|
|
|
7812
7931
|
* @returns Promise bool = true or false
|
|
7813
7932
|
*/
|
|
7814
7933
|
syncCollections_Desktop(): Promise<unknown>;
|
|
7934
|
+
private fixBill;
|
|
7815
7935
|
private initSyncCollections;
|
|
7816
7936
|
/**
|
|
7817
7937
|
* @example:
|
|
@@ -9784,7 +9904,7 @@ export declare class VhQuerySales {
|
|
|
9784
9904
|
private getLocalAppSettingBranch;
|
|
9785
9905
|
/**
|
|
9786
9906
|
* @example:
|
|
9787
|
-
this.vhQuerySales.updateAppSettingNameBranch('
|
|
9907
|
+
this.vhQuerySales.updateAppSettingNameBranch('permission_branch',{display_promotion_selling_price:true})
|
|
9788
9908
|
.then((bool)=>{
|
|
9789
9909
|
console.log(bool);
|
|
9790
9910
|
})
|