ionic-vhframeworks 10.3.8 → 10.4.0
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.
|
@@ -939,6 +939,30 @@ export declare class VhAuth {
|
|
|
939
939
|
})
|
|
940
940
|
* @return Promise => user = {}
|
|
941
941
|
*/
|
|
942
|
+
/**
|
|
943
|
+
* @example:
|
|
944
|
+
* this.vhAuth.signInWithEmailAndPassword_Sales365_byAffiliater('emp11@gmail.com', '123456')
|
|
945
|
+
.then((user)=>{
|
|
946
|
+
console.log('signInWithEmailAndPassword_Sales365_byAffiliater', user);
|
|
947
|
+
},(error:any)=>{
|
|
948
|
+
console.log('error', error);
|
|
949
|
+
})
|
|
950
|
+
* @param email
|
|
951
|
+
* @param password
|
|
952
|
+
* @return Promise => user = {}
|
|
953
|
+
*/
|
|
954
|
+
signInWithEmailAndPassword_Sales365_byAffiliater(email: string, password: string): Promise<unknown>;
|
|
955
|
+
/**
|
|
956
|
+
* @example:
|
|
957
|
+
* this.vhAuth.onAuthStateChanged_Sales365_byAffiliater()
|
|
958
|
+
.then((user)=>{
|
|
959
|
+
console.log('onAuthStateChanged_Sales365_byAffiliater', user);
|
|
960
|
+
},(error:any)=>{
|
|
961
|
+
console.log('error', error);
|
|
962
|
+
})
|
|
963
|
+
* @return Promise => user = {}
|
|
964
|
+
*/
|
|
965
|
+
onAuthStateChanged_Sales365_byAffiliater(): Promise<unknown>;
|
|
942
966
|
/**
|
|
943
967
|
* @example:
|
|
944
968
|
* this.vhAuth.signInWithEmailAndPassword_Sales365_byDealer('emp11@gmail.com', '123456')
|
|
@@ -30171,6 +30195,27 @@ export declare class VhQuerySales {
|
|
|
30171
30195
|
static ɵfac: i0.ɵɵFactoryDeclaration<VhQuerySales, never>;
|
|
30172
30196
|
static ɵprov: i0.ɵɵInjectableDeclaration<VhQuerySales>;
|
|
30173
30197
|
}
|
|
30198
|
+
export declare class VhQueryAffiliater {
|
|
30199
|
+
private vhMGDB_auth;
|
|
30200
|
+
private vhMGDB_database;
|
|
30201
|
+
private vhMGDB_rootdatabase;
|
|
30202
|
+
private vhAuth;
|
|
30203
|
+
private vhAlgorithm;
|
|
30204
|
+
constructor(vhMGDB_auth: VhMGDB_auth, vhMGDB_database: VhMGDB_database, vhMGDB_rootdatabase: VhMGDB_rootdatabase, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm);
|
|
30205
|
+
/**
|
|
30206
|
+
* Hàm lấy về thông tin, giá cả các gói phần mềm mà các affiliater muốn bán cho khách của họ
|
|
30207
|
+
* @example:
|
|
30208
|
+
* this.vhQueryAffiliater.getAffiliate('5fb67fda87c0f21d484cbdf3')
|
|
30209
|
+
.then((affiliate)=>{
|
|
30210
|
+
console.log('getAffiliate', affiliate);
|
|
30211
|
+
})
|
|
30212
|
+
* @param id_affiliate
|
|
30213
|
+
* @return Promise => affiliate ={} or null / error
|
|
30214
|
+
*/
|
|
30215
|
+
getAffiliate(id_affiliate: any): Promise<unknown>;
|
|
30216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VhQueryAffiliater, never>;
|
|
30217
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VhQueryAffiliater>;
|
|
30218
|
+
}
|
|
30174
30219
|
export declare class VhQueryDealer {
|
|
30175
30220
|
private vhMGDB_auth;
|
|
30176
30221
|
private vhMGDB_database;
|