import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { AgeCategoryCreatedModel } from '../model/ageCategoryCreatedModel'; import { AgeCategoryListModel } from '../model/ageCategoryListModel'; import { AgeCategoryModel } from '../model/ageCategoryModel'; import { CreateAgeCategoryModel } from '../model/createAgeCategoryModel'; import { Operation } from '../model/operation'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare namespace settingsAgeCategoriesByIdDelete { interface Params { /** * The id of the age category. */ id: string; /** * 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 settingsAgeCategoriesByIdGet { interface Params { /** * The id of the age category. */ id: string; /** * 'all' or comma separated list of two-letter language codes (ISO Alpha-2) */ languages?: 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 settingsAgeCategoriesByIdPatch { interface Params { /** * The id of the age category to be modified. */ id: string; /** * Define the list of operations to be applied to the resource. Learn more about JSON Patch here: http://jsonpatch.com/. */ body: 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 settingsAgeCategoriesGet { interface Params { /** * Return age categories for the specific property */ propertyId: string; /** * 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 settingsAgeCategoriesPost { interface Params { /** * The definition of the age category. */ body: CreateAgeCategoryModel; /** * 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 AgeCategoryService { 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; /** * Delete an age category * Use this call to delete an age category. You can only delete an age category if it is not already used in a rate plan to define age specific prices. <br>You must have at least one of these scopes: 'settings.manage, setup.manage'. * @param $params.id The id of the age category. * @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. */ settingsAgeCategoriesByIdDelete($params: settingsAgeCategoriesByIdDelete.Params, observe?: 'body', reportProgress?: boolean): Observable; settingsAgeCategoriesByIdDelete($params: settingsAgeCategoriesByIdDelete.Params, observe?: 'response', reportProgress?: boolean): Observable>; settingsAgeCategoriesByIdDelete($params: settingsAgeCategoriesByIdDelete.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Get an age category * Get an age category by id.<br>You must have at least one of these scopes: 'settings.read, setup.read, setup.manage'. * @param $params.id The id of the age category. * @param $params.languages 'all' or comma separated list of two-letter language codes (ISO Alpha-2) * @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. */ settingsAgeCategoriesByIdGet($params: settingsAgeCategoriesByIdGet.Params, observe?: 'body', reportProgress?: boolean): Observable; settingsAgeCategoriesByIdGet($params: settingsAgeCategoriesByIdGet.Params, observe?: 'response', reportProgress?: boolean): Observable>; settingsAgeCategoriesByIdGet($params: settingsAgeCategoriesByIdGet.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Allows to modify properties of an age category * Here is the list of operations that are currently allowed: - Replace name, minimum age and maximum age <br>You must have at least one of these scopes: 'settings.manage, setup.manage'. * @param $params.id The id of the age category to be modified. * @param $params.body Define the list of operations to be applied to the resource. Learn more about JSON Patch here: http://jsonpatch.com/. * @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. */ settingsAgeCategoriesByIdPatch($params: settingsAgeCategoriesByIdPatch.Params, observe?: 'body', reportProgress?: boolean): Observable; settingsAgeCategoriesByIdPatch($params: settingsAgeCategoriesByIdPatch.Params, observe?: 'response', reportProgress?: boolean): Observable>; settingsAgeCategoriesByIdPatch($params: settingsAgeCategoriesByIdPatch.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Get an age category list * Get the list of age categories. <br>You must have at least one of these scopes: 'settings.read, setup.read, setup.manage'. * @param $params.propertyId Return age categories for the specific property * @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. */ settingsAgeCategoriesGet($params: settingsAgeCategoriesGet.Params, observe?: 'body', reportProgress?: boolean): Observable; settingsAgeCategoriesGet($params: settingsAgeCategoriesGet.Params, observe?: 'response', reportProgress?: boolean): Observable>; settingsAgeCategoriesGet($params: settingsAgeCategoriesGet.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Create an age category * Use this call to create a new age category. The age ranges for categories must not overlap each other and the allowed values span from 0 to 17. <br>You must have at least one of these scopes: 'settings.manage, setup.manage'. * @param $params.body The definition of the age category. * @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. */ settingsAgeCategoriesPost($params: settingsAgeCategoriesPost.Params, observe?: 'body', reportProgress?: boolean): Observable; settingsAgeCategoriesPost($params: settingsAgeCategoriesPost.Params, observe?: 'response', reportProgress?: boolean): Observable>; settingsAgeCategoriesPost($params: settingsAgeCategoriesPost.Params, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }