ionic-vhframeworks 10.3.3 → 10.3.5

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.
@@ -11953,6 +11953,7 @@ export declare class VhEcommerce {
11953
11953
  private tikipricecomparinglist;
11954
11954
  private sendopricecomparinglist;
11955
11955
  private shopeepricecomparinglist;
11956
+ private tiktokpricecomparinglist;
11956
11957
  private callbacklazadapricecomparing;
11957
11958
  constructor(vhMGDB_auth: VhMGDB_auth, vhMGDB_socketMongoDB: VhMGDB_socketMongoDB, vhMGDB_database: VhMGDB_database, vhMGDB_shopee: VhMGDB_shopee, vhMGDB_tiktok: VhMGDB_tiktok);
11958
11959
  /**
@@ -11966,6 +11967,17 @@ export declare class VhEcommerce {
11966
11967
  * @returns Promise => true or false
11967
11968
  */
11968
11969
  signInTiktok(id_branch: string, backHref: string): Promise<unknown>;
11970
+ /**
11971
+ * @example:
11972
+ this.vhEcommerce.signOutTiktok('938476838whsofis').then((bool:any)=>{
11973
+ if(bool){
11974
+ console.log('bool', bool)
11975
+ }
11976
+ })
11977
+ * @param id_shop
11978
+ * @returns Promise => true or false
11979
+ */
11980
+ signOutTiktok(id_shop: string): Promise<unknown>;
11969
11981
  /**
11970
11982
  * @example:
11971
11983
  * let id_branch = this.vhQuerySales.getDefaultBranch()._id;
@@ -12000,6 +12012,66 @@ export declare class VhEcommerce {
12000
12012
  * @returns
12001
12013
  */
12002
12014
  getlocalShopListTiktok(): any;
12015
+ /**
12016
+ * Cập nhật giá
12017
+ * @example:
12018
+ * this.vhEcommerce.updatePriceTiktok(shop_cipher, app_key, access_token, product_id, json, id_shop).then((order)=>{
12019
+ do something...
12020
+ },(error:any)=>{
12021
+ })
12022
+ * @param shop_cipher
12023
+ * @param app_key
12024
+ * @param access_token
12025
+ * @param product_id
12026
+ * @param json
12027
+ * @param id_shop
12028
+ * @returns
12029
+ */
12030
+ updatePriceTiktok(shop_cipher: string, app_key: string, access_token: string, product_id: string, json: any, id_shop: string): Promise<unknown>;
12031
+ /**
12032
+ * Cập nhật tồn kho
12033
+ * @example:
12034
+ * this.vhEcommerce.updateStockTiktok(shop_cipher, app_key, access_token, product_id, json, id_shop).then((order)=>{
12035
+ do something...
12036
+ },(error:any)=>{
12037
+ })
12038
+ * @param shop_cipher
12039
+ * @param app_key
12040
+ * @param access_token
12041
+ * @param product_id
12042
+ * @param json
12043
+ * @param id_shop
12044
+ * @returns
12045
+ */
12046
+ updateStockTiktok(shop_cipher: string, app_key: string, access_token: string, product_id: string, json: any, id_shop: string): Promise<unknown>;
12047
+ /**
12048
+ * Lấy số lượng tồn kho
12049
+ * @example:
12050
+ * this.vhEcommerce.searchInventoryTiktok(shop_cipher, app_key, access_token, json).then((order)=>{
12051
+ do something...
12052
+ },(error:any)=>{
12053
+ })
12054
+ * @param shop_cipher
12055
+ * @param app_key
12056
+ * @param access_token
12057
+ * @param json
12058
+ * @returns
12059
+ */
12060
+ searchInventoryTiktok(shop_cipher: string, app_key: string, access_token: string, json: any): Promise<unknown>;
12061
+ /**
12062
+ * Lấy về giao dịch sao kê
12063
+ * @example:
12064
+ * this.vhEcommerce.getOrderStatementTransactionsTiktok(shop_cipher, app_key, access_token, order_id).then((order)=>{
12065
+ do something...
12066
+ },(error:any)=>{
12067
+ })
12068
+ * @param shop_cipher
12069
+ * @param app_key
12070
+ * @param access_token
12071
+ * @param order_id
12072
+ * @returns
12073
+ */
12074
+ getOrderStatementTransactionsTiktok(shop_cipher: string, app_key: string, access_token: string, order_id: string): Promise<unknown>;
12003
12075
  /**
12004
12076
  * @example:
12005
12077
  *let time_from = new Date('2021-10-28');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "10.3.3",
3
+ "version": "10.3.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"