ntk-cms-api 1.2.242 → 1.2.244
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.
- package/esm2020/lib/models/entity/core-log/_export.mjs +2 -1
- package/esm2020/lib/models/entity/core-log/coreLogNotificationModel.mjs +5 -0
- package/esm2020/lib/models/entity/core-token/coreTokenUserBadLoginModel.mjs +1 -1
- package/esm2020/lib/models/entity/core-token/coreTokenUserLogModel.mjs +1 -1
- package/esm2020/lib/models/entity/core-token/coreTokenUserModel.mjs +1 -1
- package/esm2020/lib/models/enums/base/_export.mjs +2 -1
- package/esm2020/lib/models/enums/base/sendNotificationStatusTypeEnum.mjs +10 -0
- package/esm2020/lib/service/base/apiCmsServerBase.service.mjs +6 -18
- package/esm2020/lib/service/base/apiServerBase.service.mjs +10 -13
- package/esm2020/lib/service/core-log/_export.mjs +2 -1
- package/esm2020/lib/service/core-log/coreLogNotification.service.mjs +14 -0
- package/esm2020/lib/service/core-main/coreEnum.service.mjs +6 -21
- package/esm2020/lib/service/core-main/coreSite.service.mjs +1 -4
- package/esm2020/lib/service/core-main/coreUser.service.mjs +1 -4
- package/fesm2015/ntk-cms-api.mjs +45 -56
- package/fesm2015/ntk-cms-api.mjs.map +1 -1
- package/fesm2020/ntk-cms-api.mjs +45 -56
- package/fesm2020/ntk-cms-api.mjs.map +1 -1
- package/lib/models/entity/core-log/_export.d.ts +1 -0
- package/lib/models/entity/core-log/coreLogNotificationModel.d.ts +14 -0
- package/lib/models/entity/core-token/coreTokenUserBadLoginModel.d.ts +1 -0
- package/lib/models/entity/core-token/coreTokenUserLogModel.d.ts +1 -0
- package/lib/models/enums/base/_export.d.ts +1 -0
- package/lib/models/enums/base/sendNotificationStatusTypeEnum.d.ts +8 -0
- package/lib/service/base/apiCmsServerBase.service.d.ts +1 -1
- package/lib/service/base/apiServerBase.service.d.ts +1 -4
- package/lib/service/core-log/_export.d.ts +1 -0
- package/lib/service/core-log/coreLogNotification.service.d.ts +9 -0
- package/lib/service/core-main/coreEnum.service.d.ts +1 -2
- package/lib/service/core-main/coreSite.service.d.ts +0 -1
- package/lib/service/core-main/coreUser.service.d.ts +0 -1
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SendNotificationStatusTypeEnum } from '../../enums/base/sendNotificationStatusTypeEnum';
|
|
2
|
+
import { BaseEntity } from '../base/baseEntity';
|
|
3
|
+
export declare class CoreLogNotificationModel extends BaseEntity<string> {
|
|
4
|
+
sendStatusType: SendNotificationStatusTypeEnum;
|
|
5
|
+
linkSiteId?: number;
|
|
6
|
+
linkMemberId: string;
|
|
7
|
+
moduleName: string;
|
|
8
|
+
moduleEntityName: string;
|
|
9
|
+
moduleEntityId: string;
|
|
10
|
+
fromlinkUserId: string;
|
|
11
|
+
tolinkUserId: string;
|
|
12
|
+
message: string;
|
|
13
|
+
returnApi: string;
|
|
14
|
+
}
|
|
@@ -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
|
-
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CoreLogNotificationModel } from '../../models/entity/core-log/coreLogNotificationModel';
|
|
2
|
+
import { ApiCmsServerBase } from '../base/apiCmsServerBase.service';
|
|
3
|
+
import { FilterModel } from '../../models/entity/base/filterModel';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CoreLogNotificationService extends ApiCmsServerBase<CoreLogNotificationModel, string, FilterModel> {
|
|
6
|
+
getModuleControllerUrl(): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoreLogNotificationService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CoreLogNotificationService>;
|
|
9
|
+
}
|
|
@@ -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
|
-
|
|
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>>;
|