ionic-vhframeworks 3.7.9 → 3.8.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.
@@ -10555,6 +10555,7 @@ export declare class VhQuerySales {
10555
10555
  * @Notice id_product = 'all' or id_product;
10556
10556
  * @Notice bill_type = [1,10,15,30,2,3,9,31]
10557
10557
  */
10558
+ private getReportInputOutputInventory_byEndTime_byIDProduct_allRecords;
10558
10559
  getReportInputOutputInventory_byEndTime_byIDProduct(endtime: any, IDproduct: any, IDbranch?: string): Promise<any>;
10559
10560
  /**
10560
10561
  * Hàm này dùng trong page Tồn kho, giá trị tồn kho, doanh số, chi phí nhập hàng tại một thời điểm endtime nào đó -> chi tiết của một sản phẩm nào đó
@@ -10638,6 +10639,21 @@ export declare class VhQuerySales {
10638
10639
  */
10639
10640
  private syncInventoryEveryDay_Stock1stDayOfMonth;
10640
10641
  private syncInventoryEveryDay1;
10642
+ /**
10643
+ * Hàm này dùng trong page XUẤT-NHẬP-TỒN -> Xuất nhập tồn
10644
+ * @example:
10645
+ * this.vhQuerySales.getReportInputOutputInventory_byTime_byIDProduct(starttime , endtime, 'all', 'tj1iYodbVoShwtEetACx')
10646
+ .then((json)=>{
10647
+ console.log('json', json);
10648
+ })
10649
+ * @param starttime
10650
+ * @param endtime
10651
+ * @param IDproduct: 'all' or id_product;
10652
+ * @param IDbranch: 'all' or id_branch;
10653
+ * @return Promise Array *
10654
+ * @Notice bill_type = [1,10,15,30,2,3,9,31]
10655
+ */
10656
+ makeCorrectQuantityProducts_60days(): Promise<any>;
10641
10657
  /**
10642
10658
  * @example:
10643
10659
  * this.vhQuerySales.makeCorrectQuantityProducts()
@@ -14128,7 +14144,7 @@ export declare class VhQuerySalesWebUser {
14128
14144
  constructor(vhmongo_firebase: Vhmongo_firebase, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm);
14129
14145
  /**
14130
14146
  * @example
14131
- * this.vhQuerySales.getBranch('5fb67fda87c0f21d484cbdf3')
14147
+ * this.vhQuerySalesWebUser.getBranch('5fb67fda87c0f21d484cbdf3')
14132
14148
  .then((branch)=>{
14133
14149
  console.log('getBranch', branch);
14134
14150
  },error=>{
@@ -14140,7 +14156,7 @@ export declare class VhQuerySalesWebUser {
14140
14156
  getBranch(id_branch: string): Promise<unknown>;
14141
14157
  /**
14142
14158
  * @example
14143
- * this.vhQuerySales.getBranchs()
14159
+ * this.vhQuerySalesWebUser.getBranchs()
14144
14160
  .then((branchs)=>{
14145
14161
  console.log('getBranchs', branchs);
14146
14162
  },error=>{
@@ -14151,7 +14167,7 @@ export declare class VhQuerySalesWebUser {
14151
14167
  getBranchs(): Promise<unknown>;
14152
14168
  /**
14153
14169
  * @example
14154
- * this.vhQuerySales.getProduct('5fb67fda87c0f21d484cbdf3')
14170
+ * this.vhQuerySalesWebUser.getProduct('5fb67fda87c0f21d484cbdf3')
14155
14171
  .then((product)=>{
14156
14172
  console.log('getProduct', product);
14157
14173
  }, error=>{
@@ -14163,7 +14179,7 @@ export declare class VhQuerySalesWebUser {
14163
14179
  getProduct(id_product: string): Promise<unknown>;
14164
14180
  /**
14165
14181
  * @example:
14166
- * this.vhQuery.getProductsByFields({name:{$eq:'name abc'}}, {},{},0)
14182
+ * this.vhQuerySalesWebUser.getProductsByFields({name:{$eq:'name abc'}}, {},{},0)
14167
14183
  .then((products)=>{
14168
14184
  console.log('getProductsByFields', products);
14169
14185
  },error=>{
@@ -14178,7 +14194,7 @@ export declare class VhQuerySalesWebUser {
14178
14194
  getProductsByFields(query: object, projection?: object, sort?: object, limit?: number): Promise<unknown>;
14179
14195
  /**
14180
14196
  * @example
14181
- * this.vhQuerySales.getCategory('5fb67fda87c0f21d484cbdf3')
14197
+ * this.vhQuerySalesWebUser.getCategory('5fb67fda87c0f21d484cbdf3')
14182
14198
  .then((category)=>{
14183
14199
  console.log('getCategory', category);
14184
14200
  })
@@ -14188,7 +14204,7 @@ export declare class VhQuerySalesWebUser {
14188
14204
  getCategory(id_category: string): Promise<unknown>;
14189
14205
  /**
14190
14206
  * @example
14191
- * this.vhQuerySales.getCategorys()
14207
+ * this.vhQuerySalesWebUser.getCategorys()
14192
14208
  .then((categorys)=>{
14193
14209
  console.log('getCategorys', categorys);
14194
14210
  })
@@ -14197,7 +14213,7 @@ export declare class VhQuerySalesWebUser {
14197
14213
  getCategorys(): Promise<unknown>;
14198
14214
  /**
14199
14215
  * @example:
14200
- * this.vhQuery.getCategorysByFields({name:{$eq:'name abc'}}, {},{},0)
14216
+ * this.vhQuerySalesWebUser.getCategorysByFields({name:{$eq:'name abc'}}, {},{},0)
14201
14217
  .then((categorys)=>{
14202
14218
  console.log('getCategorysByFields', categorys);
14203
14219
  })
@@ -14217,7 +14233,7 @@ export declare class VhQuerySalesWebAdmin {
14217
14233
  constructor(vhmongo_firebase: Vhmongo_firebase, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm);
14218
14234
  /**
14219
14235
  * @example
14220
- * this.vhQuerySales.getBranch('5fb67fda87c0f21d484cbdf3')
14236
+ * this.vhQuerySalesWebAdmin.getBranch('5fb67fda87c0f21d484cbdf3')
14221
14237
  .then((branch)=>{
14222
14238
  console.log('getBranch', branch);
14223
14239
  },error=>{
@@ -14229,7 +14245,7 @@ export declare class VhQuerySalesWebAdmin {
14229
14245
  getBranch(id_branch: string): Promise<unknown>;
14230
14246
  /**
14231
14247
  * @example
14232
- * this.vhQuerySales.getBranchs()
14248
+ * this.vhQuerySalesWebAdmin.getBranchs()
14233
14249
  .then((branchs)=>{
14234
14250
  console.log('getBranchs', branchs);
14235
14251
  },error=>{
@@ -14238,10 +14254,22 @@ export declare class VhQuerySalesWebAdmin {
14238
14254
  * @return Promise => array(object) = [{},{},..]
14239
14255
  */
14240
14256
  getBranchs(): Promise<unknown>;
14257
+ /**
14258
+ * @example:
14259
+ * this.vhQuerySalesWebAdmin.addProduct({name:'camera 2', quantity:20, price:200000})
14260
+ .then((product)=>{
14261
+ console.log('addProduct', product);
14262
+ }, error=>{
14263
+ console.log('error', error);
14264
+ })
14265
+ * @param data : object
14266
+ * @return Promise => object = {}
14267
+ * 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
14268
+ */
14241
14269
  addProduct(data: any): Promise<unknown>;
14242
14270
  /**
14243
14271
  * @example:
14244
- * this.vhQuerySales.updateProduct('5fb6780ca2148e09806c5b01', {quantity:400})
14272
+ * this.vhQuerySalesWebAdmin.updateProduct('5fb6780ca2148e09806c5b01', {quantity:400})
14245
14273
  .then((bool)=>{
14246
14274
  console.log('updateProduct', bool);
14247
14275
  }, error=>{
@@ -14254,7 +14282,7 @@ export declare class VhQuerySalesWebAdmin {
14254
14282
  updateProduct(id_product: string, data: object): Promise<unknown>;
14255
14283
  /**
14256
14284
  * @example:
14257
- * this.vhQuerySales.deleteProduct('5fb67fda87c0f21d484cbdf3')
14285
+ * this.vhQuerySalesWebAdmin.deleteProduct('5fb67fda87c0f21d484cbdf3')
14258
14286
  .then((bool)=>{
14259
14287
  console.log('deleteDoc', bool);
14260
14288
  }, error=>{
@@ -14266,7 +14294,7 @@ export declare class VhQuerySalesWebAdmin {
14266
14294
  deleteProduct(id_product: string): Promise<unknown>;
14267
14295
  /**
14268
14296
  * @example
14269
- * this.vhQuerySales.getProduct('5fb67fda87c0f21d484cbdf3')
14297
+ * this.vhQuerySalesWebAdmin.getProduct('5fb67fda87c0f21d484cbdf3')
14270
14298
  .then((product)=>{
14271
14299
  console.log('getProduct', product);
14272
14300
  })
@@ -14276,7 +14304,7 @@ export declare class VhQuerySalesWebAdmin {
14276
14304
  getProduct(id_product: string): Promise<unknown>;
14277
14305
  /**
14278
14306
  * @example:
14279
- * this.vhQuery.getProductsByFields({name:{$eq:'name abc'}}, {},{},0)
14307
+ * this.vhQuerySalesWebAdmin.getProductsByFields({name:{$eq:'name abc'}}, {},{},0)
14280
14308
  .then((products)=>{
14281
14309
  console.log('getProductsByFields', products);
14282
14310
  })
@@ -14289,7 +14317,7 @@ export declare class VhQuerySalesWebAdmin {
14289
14317
  getProductsByFields(query: object, projection?: object, sort?: object, limit?: number): Promise<unknown>;
14290
14318
  /**
14291
14319
  * @example:
14292
- * this.vhQuerySales.addCategory({name:'Danh mục 1'})
14320
+ * this.vhQuerySalesWebAdmin.addCategory({name:'Danh mục 1'})
14293
14321
  .then((category)=>{
14294
14322
  console.log('addCategory', category);
14295
14323
  },error=>{
@@ -14303,7 +14331,7 @@ export declare class VhQuerySalesWebAdmin {
14303
14331
  addCategory(data: object): Promise<unknown>;
14304
14332
  /**
14305
14333
  * @example:
14306
- * this.vhQuerySales.updateCategory('5fb6780ca2148e09806c5b01', {quantity:400})
14334
+ * this.vhQuerySalesWebAdmin.updateCategory('5fb6780ca2148e09806c5b01', {quantity:400})
14307
14335
  .then((bool)=>{
14308
14336
  console.log('updateCategory', bool);
14309
14337
  })
@@ -14314,7 +14342,7 @@ export declare class VhQuerySalesWebAdmin {
14314
14342
  updateCategory(id_category: string, data: object): Promise<unknown>;
14315
14343
  /**
14316
14344
  * @example:
14317
- * this.vhQuerySales.deleteCategory('5fb67fda87c0f21d484cbdf3')
14345
+ * this.vhQuerySalesWebAdmin.deleteCategory('5fb67fda87c0f21d484cbdf3')
14318
14346
  .then((bool)=>{
14319
14347
  console.log('deleteCategory', bool);
14320
14348
  })
@@ -14324,7 +14352,303 @@ export declare class VhQuerySalesWebAdmin {
14324
14352
  deleteCategory(id_category: string): Promise<unknown>;
14325
14353
  /**
14326
14354
  * @example
14327
- * this.vhQuerySales.getCategory('5fb67fda87c0f21d484cbdf3')
14355
+ * this.vhQuerySalesWebAdmin.getCategory('5fb67fda87c0f21d484cbdf3')
14356
+ .then((category)=>{
14357
+ console.log('getCategory', category);
14358
+ })
14359
+ * @param id_category
14360
+ * @return Promise => obj ={} or null
14361
+ */
14362
+ getCategory(id_category: string): Promise<unknown>;
14363
+ /**
14364
+ * @example
14365
+ * this.vhQuerySalesWebAdmin.getCategorys()
14366
+ .then((categorys)=>{
14367
+ console.log('getCategorys', categorys);
14368
+ })
14369
+ * @return Promise => array(object) = [{},{},..]
14370
+ */
14371
+ getCategorys(): Promise<unknown>;
14372
+ /**
14373
+ * @example:
14374
+ * this.vhQuerySalesWebAdmin.getCategorysByFields({name:{$eq:'name abc'}}, {},{},0)
14375
+ .then((categorys)=>{
14376
+ console.log('getCategorysByFields', categorys);
14377
+ })
14378
+ * @param query
14379
+ * @param projection — đang tìm hiểu, tạm thời để giá trị là {}
14380
+ * @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
14381
+ * @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
14382
+ * @return — Array -> array = [{},{},...]
14383
+ */
14384
+ getCategorysByFields(query: object, projection?: object, sort?: object, limit?: number): Promise<unknown>;
14385
+ }
14386
+ export declare class VhQueryCafeWebUser {
14387
+ private vhmongo_firebase;
14388
+ private vhQuery;
14389
+ private vhAuth;
14390
+ private vhAlgorithm;
14391
+ constructor(vhmongo_firebase: Vhmongo_firebase, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm);
14392
+ /**
14393
+ * @example
14394
+ * this.vhQueryCafeWebUser.getBranch('5fb67fda87c0f21d484cbdf3')
14395
+ .then((branch)=>{
14396
+ console.log('getBranch', branch);
14397
+ },error=>{
14398
+ reject(error);
14399
+ })
14400
+ * @param id_branch
14401
+ * @return Promise => obj ={} or null
14402
+ */
14403
+ getBranch(id_branch: string): Promise<unknown>;
14404
+ /**
14405
+ * @example
14406
+ * this.vhQueryCafeWebUser.getBranchs()
14407
+ .then((branchs)=>{
14408
+ console.log('getBranchs', branchs);
14409
+ },error=>{
14410
+ reject(error);
14411
+ })
14412
+ * @return Promise => array(object) = [{},{},..]
14413
+ */
14414
+ getBranchs(): Promise<unknown>;
14415
+ /**
14416
+ * @example
14417
+ * this.vhQueryCafeWebUser.getProduct('5fb67fda87c0f21d484cbdf3')
14418
+ .then((product)=>{
14419
+ console.log('getProduct', product);
14420
+ }, error=>{
14421
+ reject(error)
14422
+ })
14423
+ * @param id_product
14424
+ * @return false or object
14425
+ */
14426
+ getProduct(id_product: string): Promise<unknown>;
14427
+ /**
14428
+ * @example:
14429
+ * this.vhQueryCafeWebUser.getProductsByFields({name:{$eq:'name abc'}}, {},{},0)
14430
+ .then((products)=>{
14431
+ console.log('getProductsByFields', products);
14432
+ },error=>{
14433
+ console.log('error', error);
14434
+ })
14435
+ * @param query
14436
+ * @param projection — đang tìm hiểu, tạm thời để giá trị là {}
14437
+ * @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
14438
+ * @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
14439
+ * @return — Array -> array = [{},{},...]
14440
+ */
14441
+ getProductsByFields(query: object, projection?: object, sort?: object, limit?: number): Promise<unknown>;
14442
+ /**
14443
+ * @example
14444
+ * this.vhQueryCafeWebUser.getCategory('5fb67fda87c0f21d484cbdf3')
14445
+ .then((category)=>{
14446
+ console.log('getCategory', category);
14447
+ })
14448
+ * @param id_category
14449
+ * @return Promise => obj ={} or null
14450
+ */
14451
+ getCategory(id_category: string): Promise<unknown>;
14452
+ /**
14453
+ * @example
14454
+ * this.vhQueryCafeWebUser.getCategorys()
14455
+ .then((categorys)=>{
14456
+ console.log('getCategorys', categorys);
14457
+ })
14458
+ * @return Promise => array(object) = [{},{},..]
14459
+ */
14460
+ getCategorys(): Promise<unknown>;
14461
+ /**
14462
+ * @example:
14463
+ * this.vhQueryCafeWebUser.getCategorysByFields({name:{$eq:'name abc'}}, {},{},0)
14464
+ .then((categorys)=>{
14465
+ console.log('getCategorysByFields', categorys);
14466
+ })
14467
+ * @param query
14468
+ * @param projection — đang tìm hiểu, tạm thời để giá trị là {}
14469
+ * @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
14470
+ * @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
14471
+ * @return — Array -> array = [{},{},...]
14472
+ */
14473
+ getCategorysByFields(query: object, projection?: object, sort?: object, limit?: number): Promise<unknown>;
14474
+ }
14475
+ export declare class VhQueryCafeWebAdmin {
14476
+ private vhmongo_firebase;
14477
+ private vhQuery;
14478
+ private vhAuth;
14479
+ private vhAlgorithm;
14480
+ private products;
14481
+ constructor(vhmongo_firebase: Vhmongo_firebase, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm);
14482
+ private getlocalProductAndCombosAndToppings;
14483
+ /**
14484
+ * @example:
14485
+ * let product = this.vhQueryCafe.getlocalProduct('5fb6780ca2148e09806c5b01');
14486
+ * @param id_product
14487
+ * @return Object => obj = {} or null
14488
+ */
14489
+ private getlocalProduct;
14490
+ /**
14491
+ * @example
14492
+ * this.vhQueryCafeWebAdmin.getBranch('5fb67fda87c0f21d484cbdf3')
14493
+ .then((branch)=>{
14494
+ console.log('getBranch', branch);
14495
+ },error=>{
14496
+ reject(error);
14497
+ })
14498
+ * @param id_branch
14499
+ * @return Promise => obj ={} or null
14500
+ */
14501
+ getBranch(id_branch: string): Promise<unknown>;
14502
+ /**
14503
+ * @example
14504
+ * this.vhQueryCafeWebAdmin.getBranchs()
14505
+ .then((branchs)=>{
14506
+ console.log('getBranchs', branchs);
14507
+ },error=>{
14508
+ reject(error);
14509
+ })
14510
+ * @return Promise => array(object) = [{},{},..]
14511
+ */
14512
+ getBranchs(): Promise<unknown>;
14513
+ /**
14514
+ * @example:
14515
+ * this.vhQueryCafeWebAdmin.addProduct({name:'camera 2', quantity:20, price:200000})
14516
+ .then((product)=>{
14517
+ console.log('addProduct', product);
14518
+ }, error=>{
14519
+ console.log('error', error);
14520
+ })
14521
+ * @param data
14522
+ * @return Promise => object = {}
14523
+ * 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
14524
+ */
14525
+ addProduct(data: any): Promise<unknown>;
14526
+ /**
14527
+ * @example:
14528
+ * this.vhQueryCafeWebAdmin.addSubsProduct('5fb6780ca2148e09806c5b01',[{price:0, name:'small'},{},...])
14529
+ .then((subproducts)=>{
14530
+ console.log('addSubsProduct', subproducts);
14531
+ }, error=>{
14532
+ console.log('error', error);
14533
+ })
14534
+ * @param data
14535
+ * @return Promise => object = {} hoặc null
14536
+ * Luu ý: chỉ có 2 trường hợp, hoặc là thêm thành công, hoặc là null
14537
+ */
14538
+ addSubsProduct(id_product: any, dataArray: any): Promise<unknown>;
14539
+ /**
14540
+ * @example:
14541
+ * this.vhQueryCafeWebAdmin.updateSubProduct('5fb6780ca2148e09806c5b01', {quantity:400})
14542
+ .then((bool)=>{
14543
+ console.log('updateSubProduct', bool);
14544
+ }, error=>{
14545
+ console.log('error', error);
14546
+ })
14547
+ * @param id_product
14548
+ * @param id_subproduct
14549
+ * @param data
14550
+ * @return Promise => bool = true or false
14551
+ */
14552
+ updateSubProduct(id_product: string, id_subproduct: string, data: object): Promise<unknown>;
14553
+ /**
14554
+ * @example:
14555
+ * this.vhQueryCafeWebAdmin.deleteSubProduct('5fb67fda87c0f21d484cbdf3')
14556
+ .then((bool)=>{
14557
+ console.log('deleteDoc', bool);
14558
+ }, error=>{
14559
+ reject(error)
14560
+ })
14561
+ * @param id_product
14562
+ * @param id_subproduct
14563
+ * @return Promise => bool = true or false
14564
+ */
14565
+ deleteSubProduct(id_product: string, id_subproduct: string): Promise<unknown>;
14566
+ /**
14567
+ * @example:
14568
+ * this.vhQueryCafeWebAdmin.updateProduct('5fb6780ca2148e09806c5b01', {quantity:400})
14569
+ .then((bool)=>{
14570
+ console.log('updateProduct', bool);
14571
+ }, error=>{
14572
+ console.log('error', error);
14573
+ })
14574
+ * @param id_product
14575
+ * @param data
14576
+ * @return Promise => bool = true or false
14577
+ */
14578
+ updateProduct(id_product: string, data: object): Promise<unknown>;
14579
+ /**
14580
+ * @example:
14581
+ * this.vhQueryCafeWebAdmin.deleteProduct('5fb67fda87c0f21d484cbdf3')
14582
+ .then((bool)=>{
14583
+ console.log('deleteDoc', bool);
14584
+ }, error=>{
14585
+ reject(error)
14586
+ })
14587
+ * @param id_product
14588
+ * @return Promise => bool = true or false
14589
+ */
14590
+ deleteProduct(id_product: string): Promise<unknown>;
14591
+ /**
14592
+ * @example
14593
+ * this.vhQueryCafeWebAdmin.getProduct('5fb67fda87c0f21d484cbdf3')
14594
+ .then((product)=>{
14595
+ console.log('getProduct', product);
14596
+ })
14597
+ * @param id_product
14598
+ * @return false or object
14599
+ */
14600
+ getProduct(id_product: string): Promise<unknown>;
14601
+ /**
14602
+ * @example:
14603
+ * this.vhQueryCafeWebAdmin.getProductsByFields({name:{$eq:'name abc'}}, {},{},0)
14604
+ .then((products)=>{
14605
+ console.log('getProductsByFields', products);
14606
+ })
14607
+ * @param query
14608
+ * @param projection — đang tìm hiểu, tạm thời để giá trị là {}
14609
+ * @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
14610
+ * @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
14611
+ * @return — Array -> array = [{},{},...]
14612
+ */
14613
+ getProductsByFields(query: object, projection?: object, sort?: object, limit?: number): Promise<unknown>;
14614
+ /**
14615
+ * @example:
14616
+ * this.vhQueryCafeWebAdmin.addCategory({name:'Danh mục 1'})
14617
+ .then((category)=>{
14618
+ console.log('addCategory', category);
14619
+ },error=>{
14620
+ console.log('error', error);
14621
+ })
14622
+ * @param colname
14623
+ * @param data
14624
+ * @return Promise => obj = {}
14625
+ * 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
14626
+ */
14627
+ addCategory(data: object): Promise<unknown>;
14628
+ /**
14629
+ * @example:
14630
+ * this.vhQueryCafeWebAdmin.updateCategory('5fb6780ca2148e09806c5b01', {quantity:400})
14631
+ .then((bool)=>{
14632
+ console.log('updateCategory', bool);
14633
+ })
14634
+ * @param id_category
14635
+ * @param data
14636
+ * @return Promise => bool = true or false
14637
+ */
14638
+ updateCategory(id_category: string, data: object): Promise<unknown>;
14639
+ /**
14640
+ * @example:
14641
+ * this.vhQueryCafeWebAdmin.deleteCategory('5fb67fda87c0f21d484cbdf3')
14642
+ .then((bool)=>{
14643
+ console.log('deleteCategory', bool);
14644
+ })
14645
+ * @param id_category
14646
+ * @return Promise => bool = true or false
14647
+ */
14648
+ deleteCategory(id_category: string): Promise<unknown>;
14649
+ /**
14650
+ * @example
14651
+ * this.vhQueryCafeWebAdmin.getCategory('5fb67fda87c0f21d484cbdf3')
14328
14652
  .then((category)=>{
14329
14653
  console.log('getCategory', category);
14330
14654
  })
@@ -14334,7 +14658,7 @@ export declare class VhQuerySalesWebAdmin {
14334
14658
  getCategory(id_category: string): Promise<unknown>;
14335
14659
  /**
14336
14660
  * @example
14337
- * this.vhQuerySales.getCategorys()
14661
+ * this.vhQueryCafeWebAdmin.getCategorys()
14338
14662
  .then((categorys)=>{
14339
14663
  console.log('getCategorys', categorys);
14340
14664
  })
@@ -14343,7 +14667,7 @@ export declare class VhQuerySalesWebAdmin {
14343
14667
  getCategorys(): Promise<unknown>;
14344
14668
  /**
14345
14669
  * @example:
14346
- * this.vhQuery.getCategorysByFields({name:{$eq:'name abc'}}, {},{},0)
14670
+ * this.vhQueryCafeWebAdmin.getCategorysByFields({name:{$eq:'name abc'}}, {},{},0)
14347
14671
  .then((categorys)=>{
14348
14672
  console.log('getCategorysByFields', categorys);
14349
14673
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "3.7.9",
3
+ "version": "3.8.2",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"