import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { AccountCreatedModel } from '../model/accountCreatedModel'; import { AccountListModel } from '../model/accountListModel'; import { AccountModel } from '../model/accountModel'; import { CreateAccountModel } from '../model/createAccountModel'; import { ReplaceAccountModel } from '../model/replaceAccountModel'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare namespace accountAccountsCurrentGet { interface Params { /** * Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the ISO8601:2004.This header will only take effect on development environments. */ apaleoCurrentDateTime?: Date; } } export declare namespace accountAccountsCurrentPut { interface Params { /** * The definition of the account. */ body: ReplaceAccountModel; /** * Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the ISO8601:2004.This header will only take effect on development environments. */ apaleoCurrentDateTime?: Date; } } export declare namespace accountAccountsGet { interface Params { /** * Filter result by requested codes */ accountCodes?: Array; /** * Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the ISO8601:2004.This header will only take effect on development environments. */ apaleoCurrentDateTime?: Date; } } export declare namespace accountAccountsPost { interface Params { /** * The definition of the account. */ body: CreateAccountModel; /** * Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the ISO8601:2004.This header will only take effect on development environments. */ apaleoCurrentDateTime?: Date; /** * Unique key for safely retrying requests without accidentally performing the same operation twice. We'll always send back the same response for requests made with the same key, and keys can't be reused with different request parameters. Keys expire after 24 hours. */ idempotencyKey?: string; } } export declare class AccountService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm; /** * Returns the current account. * Retrieves information about the current account.<br>You need to be authorized (no particular scope required) * @param $params.apaleoCurrentDateTime Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>.This header will only take effect on development environments. * @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. */ accountAccountsCurrentGet($params: accountAccountsCurrentGet.Params, observe?: 'body', reportProgress?: boolean): Observable; accountAccountsCurrentGet($params: accountAccountsCurrentGet.Params, observe?: 'response', reportProgress?: boolean): Observable>; accountAccountsCurrentGet($params: accountAccountsCurrentGet.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Replaces an existing account. * Completely replaces an account with the new definition passed in. The old data will be lost.<br>You must have this scope: 'account.manage'. * @param $params.body The definition of the account. * @param $params.apaleoCurrentDateTime Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>.This header will only take effect on development environments. * @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. */ accountAccountsCurrentPut($params: accountAccountsCurrentPut.Params, observe?: 'body', reportProgress?: boolean): Observable; accountAccountsCurrentPut($params: accountAccountsCurrentPut.Params, observe?: 'response', reportProgress?: boolean): Observable>; accountAccountsCurrentPut($params: accountAccountsCurrentPut.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Returns all accounts * Get the list of accounts.<br>You must have this scope: 'accounts.read'. * @param $params.accountCodes Filter result by requested codes * @param $params.apaleoCurrentDateTime Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>.This header will only take effect on development environments. * @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. */ accountAccountsGet($params: accountAccountsGet.Params, observe?: 'body', reportProgress?: boolean): Observable; accountAccountsGet($params: accountAccountsGet.Params, observe?: 'response', reportProgress?: boolean): Observable>; accountAccountsGet($params: accountAccountsGet.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Creates an account with an admin user. * Use this call to create a new account.<br>You must have this scope: 'account.create'. * @param $params.body The definition of the account. * @param $params.apaleoCurrentDateTime Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>.This header will only take effect on development environments. * @param $params.idempotencyKey Unique key for safely retrying requests without accidentally performing the same operation twice. We'll always send back the same response for requests made with the same key, and keys can't be reused with different request parameters. Keys expire after 24 hours. * @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. */ accountAccountsPost($params: accountAccountsPost.Params, observe?: 'body', reportProgress?: boolean): Observable; accountAccountsPost($params: accountAccountsPost.Params, observe?: 'response', reportProgress?: boolean): Observable>; accountAccountsPost($params: accountAccountsPost.Params, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }