ionic-vhframeworks 3.1.8 → 3.1.9
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 +150 -65
- package/package.json +1 -1
|
@@ -4229,14 +4229,12 @@ export declare class VhQueryCloudCam {
|
|
|
4229
4229
|
startLocalStorage(): Promise<any>;
|
|
4230
4230
|
/**
|
|
4231
4231
|
* lấy về clientRTSPURL cộng với rtspID nhận từ Cloudcam Box, APP sẽ đăng ký camera này lên Clouds, nếu thành công sẽ nhận đc licensecam
|
|
4232
|
-
* @returns String
|
|
4233
|
-
*/
|
|
4234
|
-
getClientRTSPURL(): any;
|
|
4235
|
-
/**
|
|
4236
4232
|
* lấy về serverRTSPURL, APP gửi serverRTSPURL cho Cloudcam Box, Box dùng send video của từng camera lên RTSP Server
|
|
4237
|
-
*
|
|
4233
|
+
* lấy về _id truyền vô hàm addCloudCamBoxByEndUser để đăng ký camera này lên Clouds
|
|
4234
|
+
* mỗi lần đăng ký một camera lên Clouds là dùng hàm getCloudCamServer() để lấy thông tin đăng ký lại
|
|
4235
|
+
* @returns Promise Object => obj = {clientRTSPURL, serverRTSPURL, _id}
|
|
4238
4236
|
*/
|
|
4239
|
-
|
|
4237
|
+
getCloudCamServer(): Promise<any>;
|
|
4240
4238
|
createPaymentVnpay(amount: number, bankCode: string, data: any, backHref: string, fee: object, fee_details: object): any;
|
|
4241
4239
|
/**
|
|
4242
4240
|
* @example:
|
|
@@ -4537,23 +4535,32 @@ export declare class VhQueryCloudCam {
|
|
|
4537
4535
|
console.log('changeCloudCamURLbyEndUser', bool);
|
|
4538
4536
|
})
|
|
4539
4537
|
* @param licensecam
|
|
4540
|
-
* @param rtsp_transport 'tcp' or 'udp'
|
|
4541
4538
|
* @param url
|
|
4542
4539
|
* @return Promise => bool = true or false
|
|
4543
4540
|
*/
|
|
4544
|
-
changeCloudCamURLbyEndUser(licensecam: string, url: string
|
|
4541
|
+
changeCloudCamURLbyEndUser(licensecam: string, url: string): Promise<unknown>;
|
|
4545
4542
|
/**
|
|
4546
4543
|
* @example:
|
|
4547
|
-
* this.vhQueryCloudCam.addCloudCamByEndUser('rtsp://freja.hiof.no:1935/rtplive/definst/hessdalen03.stream',
|
|
4544
|
+
* this.vhQueryCloudCam.addCloudCamByEndUser('rtsp://freja.hiof.no:1935/rtplive/definst/hessdalen03.stream', {name:camera 3})
|
|
4548
4545
|
.then((cloudcam)=>{
|
|
4549
4546
|
console.log('addCloudCamByEndUser', cloudcam);
|
|
4550
4547
|
})
|
|
4551
4548
|
* @param url
|
|
4552
|
-
* @rtsp_transport tcp or udp
|
|
4553
4549
|
* @param data
|
|
4554
4550
|
* @return Promise => {} or null
|
|
4555
4551
|
*/
|
|
4556
|
-
addCloudCamByEndUser(url: string,
|
|
4552
|
+
addCloudCamByEndUser(url: string, data: object): Promise<unknown>;
|
|
4553
|
+
/**
|
|
4554
|
+
* @example:
|
|
4555
|
+
* this.vhQueryCloudCam.addCloudCamBoxByEndUser('rtsp://127.0.0.1:20306/hessdalen03.stream', {name:camera 3}, 'jlsdjfoasi09asf0u90')
|
|
4556
|
+
.then((cloudcam)=>{
|
|
4557
|
+
console.log('addCloudCamBoxByEndUser', cloudcam);
|
|
4558
|
+
})
|
|
4559
|
+
* @param url
|
|
4560
|
+
* @param data
|
|
4561
|
+
* @return Promise => {} or null
|
|
4562
|
+
*/
|
|
4563
|
+
addCloudCamBoxByEndUser(url: string, data: object, id_cloudcamserver: string): Promise<unknown>;
|
|
4557
4564
|
/**
|
|
4558
4565
|
* @example:
|
|
4559
4566
|
* this.vhQueryCloudCam.updateCloudCamDataByEndUser('5fb6780ca2148e09806c5b01', {name:'camera 3'})
|
|
@@ -5656,11 +5663,10 @@ export declare class VhQueryClouds {
|
|
|
5656
5663
|
console.log('changeCloudCamURLbyUser', bool);
|
|
5657
5664
|
})
|
|
5658
5665
|
* @param licensecam
|
|
5659
|
-
* @param rtsp_transport 'tcp' or 'udp'
|
|
5660
5666
|
* @param url
|
|
5661
5667
|
* @return Promise => bool = true or false
|
|
5662
5668
|
*/
|
|
5663
|
-
changeCloudCamURLbyUser(licensecam: string, url: string,
|
|
5669
|
+
changeCloudCamURLbyUser(licensecam: string, url: string, eutoken: string): Promise<unknown>;
|
|
5664
5670
|
/**
|
|
5665
5671
|
* @example:
|
|
5666
5672
|
* this.vhQueryClouds.addCloudCamByUser('rtsp://freja.hiof.no:1935/rtplive/definst/hessdalen03.stream', 'udp', {name:camera 3},'fgsdge5etw45tw34w3w34t3')
|
|
@@ -5668,12 +5674,11 @@ export declare class VhQueryClouds {
|
|
|
5668
5674
|
console.log('addCloudCamByUser', cloudcam);
|
|
5669
5675
|
})
|
|
5670
5676
|
* @param url
|
|
5671
|
-
* @rtsp_transport 'tcp' or 'udp'
|
|
5672
5677
|
* @param data
|
|
5673
5678
|
* @param eutoken
|
|
5674
5679
|
* @return Promise => {} or null
|
|
5675
5680
|
*/
|
|
5676
|
-
addCloudCamByUser(url: string,
|
|
5681
|
+
addCloudCamByUser(url: string, data: object, eutoken: string): Promise<unknown>;
|
|
5677
5682
|
/**
|
|
5678
5683
|
* @example:
|
|
5679
5684
|
* this.vhQueryClouds.updateCloudCamDataByUser('5fb6780ca2148e09806c5b01', {name:'camera 3'},'fgsdge5etw45tw34w3w34t3)
|
|
@@ -6710,31 +6715,6 @@ export declare class VhQuerySales {
|
|
|
6710
6715
|
updateProductByXMLLazada(xml: any, access_token: string): Promise<unknown>;
|
|
6711
6716
|
/**
|
|
6712
6717
|
* @example:
|
|
6713
|
-
* let productlistlazada = this.vhQuerySales.getlocalProductDetailListLazada('ư0e4tuiwe98rhvqw9vtqw9t7rq987r9qvwn98et98');
|
|
6714
|
-
* @param status
|
|
6715
|
-
* @returns
|
|
6716
|
-
*/
|
|
6717
|
-
private getlocalProductDetailListLazada;
|
|
6718
|
-
/**
|
|
6719
|
-
* @example:
|
|
6720
|
-
* this.vhQuerySales.refreshLocalProductDetailListLazadas()
|
|
6721
|
-
.then(()=>{
|
|
6722
|
-
do something.....
|
|
6723
|
-
})
|
|
6724
|
-
* Hàm này refresh giá trị mới nhất cho hàm getlocalProductDetailListLazada() trong localstorage
|
|
6725
|
-
* @return Promise => null
|
|
6726
|
-
*/
|
|
6727
|
-
private refreshLocalProductDetailListLazadas;
|
|
6728
|
-
/**
|
|
6729
|
-
* @example:
|
|
6730
|
-
this.vhQuerySales.getProductDetailListLazadas().then((list)=>{
|
|
6731
|
-
console.log('list', list);
|
|
6732
|
-
})
|
|
6733
|
-
* @returns Promise => array =[{},{},...]
|
|
6734
|
-
*/
|
|
6735
|
-
private getProductDetailListLazadas;
|
|
6736
|
-
/**
|
|
6737
|
-
* @example:
|
|
6738
6718
|
* let productlistlazada = this.vhQuerySales.getlocalProductListLazada('ư0e4tuiwe98rhvqw9vtqw9t7rq987r9qvwn98et98');
|
|
6739
6719
|
* @param id_shop
|
|
6740
6720
|
* @returns Promise => Array
|
|
@@ -6771,9 +6751,9 @@ export declare class VhQuerySales {
|
|
|
6771
6751
|
*/
|
|
6772
6752
|
getProductDetailLazada(item_idArray: any, access_token: string, id_shop: any): Promise<unknown>;
|
|
6773
6753
|
/**
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6754
|
+
* let localshoplistlazada = this.vhQuerySales.getlocalShopListLazada();
|
|
6755
|
+
* @returns
|
|
6756
|
+
*/
|
|
6777
6757
|
getlocalShopListLazada(): any;
|
|
6778
6758
|
/**
|
|
6779
6759
|
* @example:
|
|
@@ -6790,11 +6770,11 @@ export declare class VhQuerySales {
|
|
|
6790
6770
|
console.log('bool', bool)
|
|
6791
6771
|
}
|
|
6792
6772
|
})
|
|
6793
|
-
|
|
6794
|
-
|
|
6773
|
+
* @returns Promise => true or false
|
|
6774
|
+
*/
|
|
6795
6775
|
signInLazada(): Promise<unknown>;
|
|
6796
6776
|
/**
|
|
6797
|
-
|
|
6777
|
+
* @example:
|
|
6798
6778
|
this.vhQuerySales.signOutLazada('938476838whsofis').then((bool)=>{
|
|
6799
6779
|
if(bool){
|
|
6800
6780
|
console.log('bool', bool)
|
|
@@ -6812,23 +6792,40 @@ export declare class VhQuerySales {
|
|
|
6812
6792
|
}, error=>{
|
|
6813
6793
|
console.log('error', error);
|
|
6814
6794
|
})
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
createMergeLazadasProduct(id_product:
|
|
6795
|
+
* @param data
|
|
6796
|
+
* @return Promise => array = [{},{},..]
|
|
6797
|
+
* 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
|
|
6798
|
+
*/
|
|
6799
|
+
createMergeLazadasProduct(id_product: string, lazadaproductArray: any): Promise<unknown>;
|
|
6800
|
+
/**
|
|
6801
|
+
* @example:
|
|
6802
|
+
* this.vhQuerySales.updateMergeLazadasProduct('5fb6780ca2148e09806c5b01', '435f34tf34f3243fdf', '13123135654', {quantity:400})
|
|
6803
|
+
.then((bool)=>{
|
|
6804
|
+
console.log('updateMergeLazadasProduct', bool);
|
|
6805
|
+
}, error=>{
|
|
6806
|
+
console.log('error', error);
|
|
6807
|
+
})
|
|
6808
|
+
* @param id_product
|
|
6809
|
+
* @param item_id: trường id trong sản phẩm lazada
|
|
6810
|
+
* @param SkuId: trường SkuId trong sản phẩm lazada
|
|
6811
|
+
* @param data
|
|
6812
|
+
* @returns Promise => true or false
|
|
6813
|
+
*/
|
|
6814
|
+
updateMergeLazadasProduct(id_product: any, item_id: any, SkuId: any, data: any): Promise<unknown>;
|
|
6820
6815
|
/**
|
|
6821
6816
|
* @example:
|
|
6822
|
-
* this.vhQuerySales.deleteMergeLazadaProduct('5fb67fda87c0f21d484cbdf3', 'gsdfgsdg4345324534t3w')
|
|
6817
|
+
* this.vhQuerySales.deleteMergeLazadaProduct('5fb67fda87c0f21d484cbdf3', 'gsdfgsdg4345324534t3w', 'sdfgsdfgererasds3563')
|
|
6823
6818
|
.then((bool)=>{
|
|
6824
6819
|
console.log('deleteMergeLazadaProduct', bool);
|
|
6825
6820
|
}, error=>{
|
|
6826
6821
|
reject(error)
|
|
6827
6822
|
})
|
|
6828
|
-
* @param
|
|
6823
|
+
* @param id_product
|
|
6824
|
+
* @param item_id
|
|
6825
|
+
* @param SkuId
|
|
6829
6826
|
* @return Promise => bool = true or false
|
|
6830
6827
|
*/
|
|
6831
|
-
deleteMergeLazadaProduct(id_product:
|
|
6828
|
+
deleteMergeLazadaProduct(id_product: any, item_id: any, SkuId: any): Promise<unknown>;
|
|
6832
6829
|
/**
|
|
6833
6830
|
* @example:
|
|
6834
6831
|
*let created_after = new Date('2021-01-25');
|
|
@@ -6846,7 +6843,99 @@ export declare class VhQuerySales {
|
|
|
6846
6843
|
* @param access_token
|
|
6847
6844
|
* @returns
|
|
6848
6845
|
*/
|
|
6849
|
-
getSalesOrderListLazada
|
|
6846
|
+
private getSalesOrderListLazada;
|
|
6847
|
+
/**
|
|
6848
|
+
* @example:
|
|
6849
|
+
*let created_after = new Date('2021-01-25');
|
|
6850
|
+
let created_before = new Date('2021-06-30');
|
|
6851
|
+
let access_token = '50000601506bKRvdjv16d01472hspFZdjp3qWxFJdNhveuVAezlxvCMt08WkxBrr';
|
|
6852
|
+
let id_shop = '100035896';
|
|
6853
|
+
this.vhQuerySales.getSalesOrderListLazada( created_after.toISOString(), created_before.toISOString(), access_token, id_shop)
|
|
6854
|
+
.then((result)=>{
|
|
6855
|
+
console.log('result', result);
|
|
6856
|
+
},error=>{
|
|
6857
|
+
console.log('error', error);
|
|
6858
|
+
})
|
|
6859
|
+
* @param created_after
|
|
6860
|
+
* @param created_before
|
|
6861
|
+
* @param access_token
|
|
6862
|
+
* @returns
|
|
6863
|
+
*/
|
|
6864
|
+
getSalesOrderDetailListLazada(created_after: string, created_before: string, access_token: string, id_shop: string): Promise<unknown>;
|
|
6865
|
+
/**
|
|
6866
|
+
* 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 sendo)
|
|
6867
|
+
* @example
|
|
6868
|
+
* this.vhQuerySales.getSalesOrderLazada_fromViethas( ['14424213387','14424273835'], '403754acaafc4564a16c19faa32d73c8')
|
|
6869
|
+
.then((array)=>{
|
|
6870
|
+
console.log('array', array);
|
|
6871
|
+
},error=>{
|
|
6872
|
+
console.log('error', error);
|
|
6873
|
+
})
|
|
6874
|
+
* @param order_idArray
|
|
6875
|
+
* @param id_shop
|
|
6876
|
+
* @returns Promise => Array(object or null)
|
|
6877
|
+
*/
|
|
6878
|
+
getSalesOrderLazada_fromViethas(order_idArray: any, id_shop: string): Promise<unknown>;
|
|
6879
|
+
/**
|
|
6880
|
+
* @example:
|
|
6881
|
+
* let order_date_from = new Date('2021-01-1');
|
|
6882
|
+
let order_date_to = new Date('2021-06-30');
|
|
6883
|
+
let id_shop = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9';
|
|
6884
|
+
this.vhQuerySales.getSalesOrderDetailListLazada_fromViethas( order_date_from, order_date_to, id_shop).then((result)=>{
|
|
6885
|
+
console.log('result', result);
|
|
6886
|
+
},error=>{
|
|
6887
|
+
console.log('error', error);
|
|
6888
|
+
})
|
|
6889
|
+
* @param order_date_from
|
|
6890
|
+
* @param order_date_to
|
|
6891
|
+
* @param id_shop
|
|
6892
|
+
* @returns Promise Array
|
|
6893
|
+
*/
|
|
6894
|
+
getSalesOrderDetailListLazada_fromViethas(order_date_from: string, order_date_to: string, id_shop: string): Promise<unknown>;
|
|
6895
|
+
/**
|
|
6896
|
+
* Hàm này cập nhật các đơn hàng (salesorder) được lưu trong database viethas (ko phải database lazada), lưu ý các order_id đc lấy từ lazada server về
|
|
6897
|
+
* @example:
|
|
6898
|
+
* this.vhQuerySales.updateSalesOrderLazada('5fb67fda87c0f21d484cbdf3', 'gsdfgsdg4345324534t3w', {check:true})
|
|
6899
|
+
.then((bool)=>{
|
|
6900
|
+
console.log('updateSalesOrderLazada', bool);
|
|
6901
|
+
}, error=>{
|
|
6902
|
+
reject(error)
|
|
6903
|
+
})
|
|
6904
|
+
* @param id_shop
|
|
6905
|
+
* @param order_id
|
|
6906
|
+
* @param data
|
|
6907
|
+
* @return Promise => bool = true or false
|
|
6908
|
+
*/
|
|
6909
|
+
updateSalesOrderLazada(id_shop: string, order_id: string, data: object): Promise<unknown>;
|
|
6910
|
+
/**
|
|
6911
|
+
* Hàm này cập nhật các đơn hàng (salesorder) được lưu trong database viethas (ko phải database lazada), lưu ý các order_id đc import từ file ngoài vào (excel, csv...)
|
|
6912
|
+
* @example:
|
|
6913
|
+
* this.vhQuerySales.updateSalesOrderLazada_byFile(['144242133871', '14424213387'], {check:true}, 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTdG9yZUlkIjoiNTczNjciLCJVc2VyTmFtZSI6IiIsIlN0b3JlU3RhdHVzIjoiMiIsIlNob3BUeXBlIjoiMCIsIlN0b3JlTGV2ZWwiOiIzIiwiZXhwIjoxNjMzODE3MzIwLCJpc3MiOiI1NzM2NyIsImF1ZCI6IjU3MzY3In0.9S18n7EuG7XxbZVm9kjUBozJVjx2_EZRNAn38wBUaDs', '403754acaafc4564a16c19faa32d73c8')
|
|
6914
|
+
.then((array)=>{
|
|
6915
|
+
console.log('updateSalesOrderLazada_byFile', array);
|
|
6916
|
+
}, error=>{
|
|
6917
|
+
console.log(error)
|
|
6918
|
+
})
|
|
6919
|
+
* @param order_idArray
|
|
6920
|
+
* @param data
|
|
6921
|
+
* @param token
|
|
6922
|
+
* @param id_shop
|
|
6923
|
+
* @return Promise => Array(bool) = [true or false,,...]
|
|
6924
|
+
*/
|
|
6925
|
+
updateSalesOrderLazada_byFile(order_idArray: any, data: object, token: string, id_shop: string): Promise<unknown>;
|
|
6926
|
+
/**
|
|
6927
|
+
* Hàm này lấy về khách hàng đã được gán cho mỗi shop(id_shop) trước đây, nếu trước đây chưa gán thì lấy về giá trị null
|
|
6928
|
+
* @example:
|
|
6929
|
+
* this.vhQuerySales.getShopPartner('5fb67fda87c0f21d484cbdf3')
|
|
6930
|
+
.then((customer)=>{
|
|
6931
|
+
console.log('getShopPartner', customer);
|
|
6932
|
+
}, error=>{
|
|
6933
|
+
reject(error)
|
|
6934
|
+
})
|
|
6935
|
+
* @param id_shop
|
|
6936
|
+
* @returns Promise => object(customer) or null
|
|
6937
|
+
*/
|
|
6938
|
+
getShopPartner(id_shop: string): Promise<unknown>;
|
|
6850
6939
|
/**
|
|
6851
6940
|
* @example:
|
|
6852
6941
|
* let json = [{
|
|
@@ -7060,13 +7149,13 @@ export declare class VhQuerySales {
|
|
|
7060
7149
|
updateMergeSendosProduct(id_product: any, id: any, variant_attribute_hash: any, data: any): Promise<unknown>;
|
|
7061
7150
|
/**
|
|
7062
7151
|
* @example:
|
|
7063
|
-
* this.vhQuerySales.deleteMergeSendoProduct('5fb67fda87c0f21d484cbdf3', 'gsdfgsdg4345324534t3w')
|
|
7152
|
+
* this.vhQuerySales.deleteMergeSendoProduct('5fb67fda87c0f21d484cbdf3', 'gsdfgsdg4345324534t3w', 'jhiy87685765r575345re')
|
|
7064
7153
|
.then((bool)=>{
|
|
7065
7154
|
console.log('deleteMergeSendoProduct', bool);
|
|
7066
7155
|
}, error=>{
|
|
7067
7156
|
reject(error)
|
|
7068
7157
|
})
|
|
7069
|
-
* @param
|
|
7158
|
+
* @param id_product
|
|
7070
7159
|
* @param id: trường id trong sản phẩm sendo
|
|
7071
7160
|
* @param variant_attribute_hash: trường variant_attribute_hash trong sản phẩm sendo
|
|
7072
7161
|
* @return Promise => bool = true or false
|
|
@@ -9774,11 +9863,10 @@ export declare class VhQuerySCclient {
|
|
|
9774
9863
|
console.log('changeCloudCamURL', bool);
|
|
9775
9864
|
})
|
|
9776
9865
|
* @param licensecam
|
|
9777
|
-
* @param rtsp_transport 'tcp' or 'udp'
|
|
9778
9866
|
* @param url
|
|
9779
9867
|
* @return Promise => bool = true or false
|
|
9780
9868
|
*/
|
|
9781
|
-
changeCloudCamURL(licensecam: string, url: string
|
|
9869
|
+
changeCloudCamURL(licensecam: string, url: string): Promise<unknown>;
|
|
9782
9870
|
/**
|
|
9783
9871
|
* @example:
|
|
9784
9872
|
* this.vhQuerySecurityCam.deleteCloudCam('5fb67fda87c0f21d484cbdf3')
|
|
@@ -9807,11 +9895,10 @@ export declare class VhQuerySCclient {
|
|
|
9807
9895
|
console.log('addCloudCam', cloudcam);
|
|
9808
9896
|
})
|
|
9809
9897
|
* @param url
|
|
9810
|
-
* @rtsp_transport tcp or udp
|
|
9811
9898
|
* @param data
|
|
9812
9899
|
* @return Promise => {} or null
|
|
9813
9900
|
*/
|
|
9814
|
-
addCloudCam(url: string,
|
|
9901
|
+
addCloudCam(url: string, data: object): Promise<unknown>;
|
|
9815
9902
|
getCloudCams(): Promise<unknown>;
|
|
9816
9903
|
/**
|
|
9817
9904
|
* @example:
|
|
@@ -10437,11 +10524,10 @@ export declare class VhQuerySecurityCam {
|
|
|
10437
10524
|
console.log('changeCloudCamURLbyEndUser', bool);
|
|
10438
10525
|
})
|
|
10439
10526
|
* @param licensecam
|
|
10440
|
-
* @param rtsp_transport 'tcp' or 'udp'
|
|
10441
10527
|
* @param url
|
|
10442
10528
|
* @return Promise => bool = true or false
|
|
10443
10529
|
*/
|
|
10444
|
-
changeCloudCamURLbyEndUser(licensecam: string, url: string
|
|
10530
|
+
changeCloudCamURLbyEndUser(licensecam: string, url: string): Promise<unknown>;
|
|
10445
10531
|
/**
|
|
10446
10532
|
* @example:
|
|
10447
10533
|
* this.vhQuerySecurityCam.addCloudCamByEndUser('rtsp://freja.hiof.no:1935/rtplive/definst/hessdalen03.stream', 'udp', {name:camera 3})
|
|
@@ -10449,11 +10535,10 @@ export declare class VhQuerySecurityCam {
|
|
|
10449
10535
|
console.log('addCloudCamByEndUser', cloudcam);
|
|
10450
10536
|
})
|
|
10451
10537
|
* @param url
|
|
10452
|
-
* @rtsp_transport tcp or udp
|
|
10453
10538
|
* @param data
|
|
10454
10539
|
* @return Promise => {} or null
|
|
10455
10540
|
*/
|
|
10456
|
-
addCloudCamByEndUser(url: string,
|
|
10541
|
+
addCloudCamByEndUser(url: string, data: object): Promise<unknown>;
|
|
10457
10542
|
/**
|
|
10458
10543
|
* @example:
|
|
10459
10544
|
* this.vhQuerySecurityCam.updateCloudCamDataByEndUser('5fb6780ca2148e09806c5b01', {name:'camera 3'})
|