ntk-cms-api 1.2.242 → 1.2.243

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@ export declare class ApiCmsServerBase<TModel, TKey, TFilterModel> extends ApiSer
23
23
  ServiceReportFileGetAll(): Observable<ErrorExceptionResult<CoreModuleEntityReportFileModel>>;
24
24
  ServiceGetAll(model: TFilterModel): Observable<ErrorExceptionResult<TModel>>;
25
25
  ServiceGetAllEditor(model: TFilterModel): Observable<ErrorExceptionResult<TModel>>;
26
- ServiceGetOneById(id: TKey): Observable<ErrorExceptionResult<TModel>>;
26
+ ServiceGetOneById(id: TKey, cashApiSeconds?: number): Observable<ErrorExceptionResult<TModel>>;
27
27
  ServiceGetCount(model: FilterModel): Observable<ErrorExceptionResultBase>;
28
28
  ServiceSetStatus(id: TKey, recordStatus: RecordStatusEnum): Observable<ErrorExceptionResult<TModel>>;
29
29
  ServiceGetExist(model: FilterModel): Observable<ErrorExceptionResultBase>;
@@ -22,13 +22,10 @@ export declare class ApiServerBase {
22
22
  private accessDataType;
23
23
  setConfig(url: string, apiRetry?: number): void;
24
24
  cachApiResult: any[];
25
- cachApiCallDate: any[];
26
- cashApiSeconds: number;
27
- cashApiIsValid(serviceNameKay: string): boolean;
25
+ cashApiIsValid(serviceNameKay: string, cashApiSeconds?: number): boolean;
28
26
  childConstructor(): any;
29
27
  getBaseUrl(): string;
30
28
  getModuleControllerUrl(): string;
31
- getModuleCashService(): string[];
32
29
  setHeaders(key: string, value: string): void;
33
30
  setAccessLoad(status?: boolean): void;
34
31
  setAccessDataType(status: ManageUserAccessDataTypesEnum): void;
@@ -5,8 +5,7 @@ import { ApiServerBase } from '../base/apiServerBase.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class CoreEnumService extends ApiServerBase {
7
7
  getModuleControllerUrl(): string;
8
- getModuleCashService(): string[];
9
- ServiceRecordStatusEnum(): Observable<ErrorExceptionResult<InfoEnumModel>>;
8
+ ServiceRecordStatusEnum(cashApiSeconds?: number): Observable<ErrorExceptionResult<InfoEnumModel>>;
10
9
  ServiceLocationTypeEnum(): Observable<ErrorExceptionResult<InfoEnumModel>>;
11
10
  ServiceUserLanguageEnum(): Observable<ErrorExceptionResult<InfoEnumModel>>;
12
11
  ServiceGenderEnum(): Observable<ErrorExceptionResult<InfoEnumModel>>;
@@ -13,7 +13,6 @@ import { CoreSiteSupportModel } from '../../models/entity/core-main/coreSiteSupp
13
13
  import * as i0 from "@angular/core";
14
14
  export declare class CoreSiteService extends ApiCmsServerBase<CoreSiteModel, number, FilterModel> {
15
15
  getModuleControllerUrl(): string;
16
- getModuleCashService(): string[];
17
16
  ServiceModuleDataOptimaze(linkSiteId: number): Observable<ErrorExceptionResult<ProcessModuleSiteDataOptimazeOutputModel>>;
18
17
  ServiceModuleDataInfo(linkSiteId: number): Observable<ErrorExceptionResult<ProcessModuleSiteDataInfoOutputModel>>;
19
18
  ServiceWebScreenshot(model: CoreSiteModel): Observable<ErrorExceptionResult<CoreSiteModel>>;
@@ -9,7 +9,6 @@ export declare class CoreUserService extends ApiCmsServerBase<CoreUserModel, num
9
9
  CurrentUser: BehaviorSubject<CoreUserModel>;
10
10
  CurrentUserObs: Observable<CoreUserModel>;
11
11
  getModuleControllerUrl(): string;
12
- getModuleCashService(): string[];
13
12
  ServiceGetRessellerChart(linkUserId?: number): Observable<ErrorExceptionResult<RessellerChartModel>>;
14
13
  SetCurrentUser(model: CoreUserModel): any;
15
14
  ServiceCurrectUser(): Observable<ErrorExceptionResult<CoreUserModel>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ntk-cms-api",
3
- "version": "1.2.242",
3
+ "version": "1.2.243",
4
4
  "description": "Ntk Cms Api And Model For Typscript",
5
5
  "author": "Alireza-Karavi",
6
6
  "license": "ISC",