feat: Actualización general de la aplicación
- Contratos, tarjetas, postulaciones, categorías y reportes - Servicios: auth, ichamba, env, language, firebase, interceptor - Guards, modelos, componentes y páginas de verificación - Configuración: angular.json, tsconfig, polyfills, environments - Capacitor: capacitor.config.json y android settings Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -26,6 +26,10 @@ export class IchambaService {
|
||||
return this.http.get<any[]>(this.env.API_URL + 'parameters');
|
||||
}
|
||||
|
||||
getBanks() {
|
||||
return this.http.get<any[]>(this.env.API_URL + 'banks');
|
||||
}
|
||||
|
||||
checkCategories(category_string: String) {
|
||||
const headers = new HttpHeaders({
|
||||
'Authorization': this.authService.token["token_type"]+" "+this.authService.token["access_token"]
|
||||
@@ -201,11 +205,11 @@ export class IchambaService {
|
||||
{ contract_id: contract_id, amount: amount, card_id: card_id, code: code, device_id: device_id }, { headers: headers });
|
||||
}
|
||||
|
||||
addHero(name: String, categories: String, tags: String, address: String, lat: Number, lng: Number, reference_options: Number, reference: String) {
|
||||
addHero(name: String, rfc: String, categories: String, tags: String, address: String, lat: Number, lng: Number, bank: Number, bank_account: Number, fee: Number, reference_options: Number, reference: String) {
|
||||
const headers = new HttpHeaders({
|
||||
'Authorization': this.authService.token["token_type"]+" "+this.authService.token["access_token"]
|
||||
});
|
||||
return this.http.post(this.env.API_URL + 'add-hero',
|
||||
{name: name, categories: categories, tags: tags, address: address, lat: lat, lng: lng, reference_options: reference_options, reference: reference}, { headers: headers });
|
||||
{name: name, rfc: rfc, categories: categories, tags: tags, address: address, lat: lat, lng: lng, bank: bank, bank_account: bank_account, fee: fee, reference_options: reference_options, reference: reference}, { headers: headers });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user