@experteam-mx/ngx-services
Version:
Angular common services for Experteam apps
25 lines (24 loc) • 933 B
TypeScript
import { Environment } from '../ngx-services.models';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { IncomeTypesOut } from './models/api-billing.types';
import * as i0 from "@angular/core";
export declare class ApiBillingDOService {
private environments;
private http;
constructor(environments: Environment, http: HttpClient);
/**
* Retrieves the URL for the shipments API from the environment configurations.
*
* @return {string} The URL of the shipments API.
*/
get url(): string;
/**
* Retrieves a list of income types
*
* @return {Observable<ApiSuccess<IncomeTypesOut>>} An observable that emits the income types data.
*/
getIncomeTypes(): Observable<IncomeTypesOut>;
static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingDOService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingDOService>;
}