UNPKG

@nikhil-patil/ngx-firefly-iii-api-client

Version:
628 lines (627 loc) 44.4 kB
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { InsightGroupEntry } from '../model/insightGroupEntry'; import { InsightTotalEntry } from '../model/insightTotalEntry'; import { InsightTransferEntry } from '../model/insightTransferEntry'; import { HttpConfiguration } from '../configuration'; import * as i0 from "@angular/core"; export declare class InsightService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: HttpConfiguration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string | string[], configuration: HttpConfiguration); private addToHttpParams; private addToHttpParamsRecursive; /** * Insight into expenses, grouped by asset account. * This endpoint gives a summary of the expenses made by the user, grouped by asset account. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only withdrawals from those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightExpenseAsset(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightGroupEntry>>; insightExpenseAsset(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightGroupEntry>>>; insightExpenseAsset(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightGroupEntry>>>; /** * Insight into expenses, grouped by bill. * This endpoint gives a summary of the expenses made by the user, grouped by (any) bill. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param bills The bills to be included in the results. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only withdrawals from those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightExpenseBill(start: string, end: string, xTraceId?: string, bills?: Array<number>, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightGroupEntry>>; insightExpenseBill(start: string, end: string, xTraceId?: string, bills?: Array<number>, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightGroupEntry>>>; insightExpenseBill(start: string, end: string, xTraceId?: string, bills?: Array<number>, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightGroupEntry>>>; /** * Insight into expenses, grouped by budget. * This endpoint gives a summary of the expenses made by the user, grouped by (any) budget. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param budgets The budgets to be included in the results. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only withdrawals from those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightExpenseBudget(start: string, end: string, xTraceId?: string, budgets?: Array<number>, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightGroupEntry>>; insightExpenseBudget(start: string, end: string, xTraceId?: string, budgets?: Array<number>, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightGroupEntry>>>; insightExpenseBudget(start: string, end: string, xTraceId?: string, budgets?: Array<number>, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightGroupEntry>>>; /** * Insight into expenses, grouped by category. * This endpoint gives a summary of the expenses made by the user, grouped by (any) category. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param categories The categories to be included in the results. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only withdrawals from those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightExpenseCategory(start: string, end: string, xTraceId?: string, categories?: Array<number>, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightGroupEntry>>; insightExpenseCategory(start: string, end: string, xTraceId?: string, categories?: Array<number>, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightGroupEntry>>>; insightExpenseCategory(start: string, end: string, xTraceId?: string, categories?: Array<number>, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightGroupEntry>>>; /** * Insight into expenses, grouped by expense account. * This endpoint gives a summary of the expenses made by the user, grouped by expense account. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you add the accounts ID\&#39;s of expense accounts, only those accounts are included in the results. If you include ID\&#39;s of asset accounts or liabilities, only withdrawals from those asset accounts / liabilities will be included. You can combine both asset / liability and expense account ID\&#39;s. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightExpenseExpense(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightGroupEntry>>; insightExpenseExpense(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightGroupEntry>>>; insightExpenseExpense(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightGroupEntry>>>; /** * Insight into expenses, without bill. * This endpoint gives a summary of the expenses made by the user, including only expenses with no bill. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only withdrawals from those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightExpenseNoBill(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightTotalEntry>>; insightExpenseNoBill(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightTotalEntry>>>; insightExpenseNoBill(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightTotalEntry>>>; /** * Insight into expenses, without budget. * This endpoint gives a summary of the expenses made by the user, including only expenses with no budget. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only withdrawals from those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightExpenseNoBudget(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightTotalEntry>>; insightExpenseNoBudget(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightTotalEntry>>>; insightExpenseNoBudget(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightTotalEntry>>>; /** * Insight into expenses, without category. * This endpoint gives a summary of the expenses made by the user, including only expenses with no category. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only withdrawals from those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightExpenseNoCategory(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightTotalEntry>>; insightExpenseNoCategory(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightTotalEntry>>>; insightExpenseNoCategory(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightTotalEntry>>>; /** * Insight into expenses, without tag. * This endpoint gives a summary of the expenses made by the user, including only expenses with no tag. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only withdrawals from those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightExpenseNoTag(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightTotalEntry>>; insightExpenseNoTag(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightTotalEntry>>>; insightExpenseNoTag(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightTotalEntry>>>; /** * Insight into expenses, grouped by tag. * This endpoint gives a summary of the expenses made by the user, grouped by (any) tag. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param tags The tags to be included in the results. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only withdrawals from those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightExpenseTag(start: string, end: string, xTraceId?: string, tags?: Array<number>, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightGroupEntry>>; insightExpenseTag(start: string, end: string, xTraceId?: string, tags?: Array<number>, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightGroupEntry>>>; insightExpenseTag(start: string, end: string, xTraceId?: string, tags?: Array<number>, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightGroupEntry>>>; /** * Insight into total expenses. * This endpoint gives a sum of the total expenses made by the user. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only withdrawals from those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightExpenseTotal(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightTotalEntry>>; insightExpenseTotal(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightTotalEntry>>>; insightExpenseTotal(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightTotalEntry>>>; /** * Insight into income, grouped by asset account. * This endpoint gives a summary of the income received by the user, grouped by asset account. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only deposits to those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightIncomeAsset(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightGroupEntry>>; insightIncomeAsset(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightGroupEntry>>>; insightIncomeAsset(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightGroupEntry>>>; /** * Insight into income, grouped by category. * This endpoint gives a summary of the income received by the user, grouped by (any) category. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param categories The categories to be included in the results. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only deposits to those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightIncomeCategory(start: string, end: string, xTraceId?: string, categories?: Array<number>, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightGroupEntry>>; insightIncomeCategory(start: string, end: string, xTraceId?: string, categories?: Array<number>, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightGroupEntry>>>; insightIncomeCategory(start: string, end: string, xTraceId?: string, categories?: Array<number>, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightGroupEntry>>>; /** * Insight into income, without category. * This endpoint gives a summary of the income received by the user, including only income with no category. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only deposits to those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightIncomeNoCategory(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightTotalEntry>>; insightIncomeNoCategory(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightTotalEntry>>>; insightIncomeNoCategory(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightTotalEntry>>>; /** * Insight into income, without tag. * This endpoint gives a summary of the income received by the user, including only income with no tag. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only deposits to those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightIncomeNoTag(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightTotalEntry>>; insightIncomeNoTag(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightTotalEntry>>>; insightIncomeNoTag(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightTotalEntry>>>; /** * Insight into income, grouped by revenue account. * This endpoint gives a summary of the income received by the user, grouped by revenue account. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you add the accounts ID\&#39;s of revenue accounts, only those accounts are included in the results. If you include ID\&#39;s of asset accounts or liabilities, only deposits to those asset accounts / liabilities will be included. You can combine both asset / liability and deposit account ID\&#39;s. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightIncomeRevenue(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightGroupEntry>>; insightIncomeRevenue(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightGroupEntry>>>; insightIncomeRevenue(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightGroupEntry>>>; /** * Insight into income, grouped by tag. * This endpoint gives a summary of the income received by the user, grouped by (any) tag. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param tags The tags to be included in the results. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only deposits to those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightIncomeTag(start: string, end: string, xTraceId?: string, tags?: Array<number>, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightGroupEntry>>; insightIncomeTag(start: string, end: string, xTraceId?: string, tags?: Array<number>, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightGroupEntry>>>; insightIncomeTag(start: string, end: string, xTraceId?: string, tags?: Array<number>, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightGroupEntry>>>; /** * Insight into total income. * This endpoint gives a sum of the total income received by the user. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only deposits to those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightIncomeTotal(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightTotalEntry>>; insightIncomeTotal(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightTotalEntry>>>; insightIncomeTotal(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightTotalEntry>>>; /** * Insight into transfers, grouped by category. * This endpoint gives a summary of the transfers made by the user, grouped by (any) category. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param categories The categories to be included in the results. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only transfers between those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightTransferCategory(start: string, end: string, xTraceId?: string, categories?: Array<number>, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightGroupEntry>>; insightTransferCategory(start: string, end: string, xTraceId?: string, categories?: Array<number>, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightGroupEntry>>>; insightTransferCategory(start: string, end: string, xTraceId?: string, categories?: Array<number>, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightGroupEntry>>>; /** * Insight into transfers, without category. * This endpoint gives a summary of the transfers made by the user, including only transfers with no category. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only transfers between those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightTransferNoCategory(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightTotalEntry>>; insightTransferNoCategory(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightTotalEntry>>>; insightTransferNoCategory(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightTotalEntry>>>; /** * Insight into expenses, without tag. * This endpoint gives a summary of the transfers made by the user, including only transfers with no tag. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only transfers from those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightTransferNoTag(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightTotalEntry>>; insightTransferNoTag(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightTotalEntry>>>; insightTransferNoTag(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightTotalEntry>>>; /** * Insight into transfers, grouped by tag. * This endpoint gives a summary of the transfers created by the user, grouped by (any) tag. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param tags The tags to be included in the results. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only transfers between those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightTransferTag(start: string, end: string, xTraceId?: string, tags?: Array<number>, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightGroupEntry>>; insightTransferTag(start: string, end: string, xTraceId?: string, tags?: Array<number>, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightGroupEntry>>>; insightTransferTag(start: string, end: string, xTraceId?: string, tags?: Array<number>, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightGroupEntry>>>; /** * Insight into total transfers. * This endpoint gives a sum of the total amount transfers made by the user. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only transfers between those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightTransferTotal(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightTotalEntry>>; insightTransferTotal(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightTotalEntry>>>; insightTransferTotal(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightTotalEntry>>>; /** * Insight into transfers, grouped by account. * This endpoint gives a summary of the transfers made by the user, grouped by asset account or lability. * @param start A date formatted YYYY-MM-DD. * @param end A date formatted YYYY-MM-DD. * @param xTraceId Unique identifier associated with this request. * @param accounts The accounts to be included in the results. If you include ID\&#39;s of asset accounts or liabilities, only transfers between those asset accounts / liabilities will be included. Other account ID\&#39;s will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ insightTransfers(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<Array<InsightTransferEntry>>; insightTransfers(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpResponse<Array<InsightTransferEntry>>>; insightTransfers(start: string, end: string, xTraceId?: string, accounts?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean; }): Observable<HttpEvent<Array<InsightTransferEntry>>>; static ɵfac: i0.ɵɵFactoryDeclaration<InsightService, [null, { optional: true; }, { optional: true; }]>; static ɵprov: i0.ɵɵInjectableDeclaration<InsightService>; }