|
- /**
- * Rules
- * API for create rules
- *
- * The version of the OpenAPI document: 1.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
- import { HttpHeaders } from '@angular/common/http';
-
- import { Observable } from 'rxjs';
-
- import { CreateRuleDto } from '../model/models';
- import { Rule } from '../model/models';
-
-
- import { Configuration } from '../configuration';
-
-
-
- export interface RulesServiceInterface {
- defaultHeaders: HttpHeaders;
- configuration: Configuration;
-
- /**
- *
- *
- * @param createRuleDto
- */
- create(createRuleDto: CreateRuleDto, extraHttpRequestParams?: any): Observable<Rule>;
-
- /**
- *
- *
- */
- findAll(extraHttpRequestParams?: any): Observable<Array<Rule>>;
-
- /**
- *
- *
- */
- findAllAdmin(extraHttpRequestParams?: any): Observable<Array<Rule>>;
-
- /**
- *
- *
- * @param id
- */
- findOne(id: string, extraHttpRequestParams?: any): Observable<Rule>;
-
- /**
- *
- *
- * @param id
- */
- remove(id: string, extraHttpRequestParams?: any): Observable<{}>;
-
- /**
- *
- *
- * @param id
- */
- restore(id: string, extraHttpRequestParams?: any): Observable<{}>;
-
- /**
- *
- *
- * @param id
- * @param body
- */
- update(id: string, body: object, extraHttpRequestParams?: any): Observable<{}>;
-
- }
|