ntk-cms-api 1.2.243 → 1.2.245

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.
Files changed (30) hide show
  1. package/esm2020/lib/models/dto/core-main/cmsNotificationModel.mjs +1 -1
  2. package/esm2020/lib/models/entity/core-log/_export.mjs +2 -1
  3. package/esm2020/lib/models/entity/core-log/coreLogNotificationModel.mjs +5 -0
  4. package/esm2020/lib/models/entity/core-token/coreTokenMicroServiceModel.mjs +1 -1
  5. package/esm2020/lib/models/entity/core-token/coreTokenNotificationModel.mjs +1 -1
  6. package/esm2020/lib/models/entity/core-token/coreTokenUserBadLoginModel.mjs +1 -1
  7. package/esm2020/lib/models/entity/core-token/coreTokenUserLogModel.mjs +1 -1
  8. package/esm2020/lib/models/entity/core-token/coreTokenUserModel.mjs +1 -1
  9. package/esm2020/lib/models/enums/base/_export.mjs +3 -1
  10. package/esm2020/lib/models/enums/base/receiverNotificationStatusTypeEnum.mjs +7 -0
  11. package/esm2020/lib/models/enums/base/sendNotificationStatusTypeEnum.mjs +10 -0
  12. package/esm2020/lib/service/core-log/_export.mjs +2 -1
  13. package/esm2020/lib/service/core-log/coreLogNotification.service.mjs +14 -0
  14. package/fesm2015/ntk-cms-api.mjs +33 -1
  15. package/fesm2015/ntk-cms-api.mjs.map +1 -1
  16. package/fesm2020/ntk-cms-api.mjs +33 -1
  17. package/fesm2020/ntk-cms-api.mjs.map +1 -1
  18. package/lib/models/dto/core-main/cmsNotificationModel.d.ts +2 -0
  19. package/lib/models/entity/core-log/_export.d.ts +1 -0
  20. package/lib/models/entity/core-log/coreLogNotificationModel.d.ts +28 -0
  21. package/lib/models/entity/core-token/coreTokenMicroServiceModel.d.ts +1 -1
  22. package/lib/models/entity/core-token/coreTokenNotificationModel.d.ts +1 -1
  23. package/lib/models/entity/core-token/coreTokenUserBadLoginModel.d.ts +1 -0
  24. package/lib/models/entity/core-token/coreTokenUserLogModel.d.ts +1 -0
  25. package/lib/models/enums/base/_export.d.ts +2 -0
  26. package/lib/models/enums/base/receiverNotificationStatusTypeEnum.d.ts +5 -0
  27. package/lib/models/enums/base/sendNotificationStatusTypeEnum.d.ts +8 -0
  28. package/lib/service/core-log/_export.d.ts +1 -0
  29. package/lib/service/core-log/coreLogNotification.service.d.ts +9 -0
  30. package/package.json +1 -1
@@ -12,4 +12,6 @@ export declare class CmsNotificationModel {
12
12
  contentJsonClass: string;
13
13
  smallImageId?: number;
14
14
  bigImageId?: number;
15
+ smallImageIdSrc: string;
16
+ bigImageIdSrc: string;
15
17
  }
@@ -4,3 +4,4 @@ export * from './coreLogSmsModel';
4
4
  export * from './coreLogCurrencyModel';
5
5
  export * from './coreLogMemberModel';
6
6
  export * from './coreLogReportDataModel';
7
+ export * from './coreLogNotificationModel';
@@ -0,0 +1,28 @@
1
+ import { NotificationTypeEnum } from '../../enums/base/notificationTypeEnum';
2
+ import { ReceiverNotificationStatusTypeEnum } from '../../enums/base/receiverNotificationStatusTypeEnum';
3
+ import { SendNotificationStatusTypeEnum } from '../../enums/base/sendNotificationStatusTypeEnum';
4
+ import { BaseEntity } from '../base/baseEntity';
5
+ export declare class CoreLogNotificationModel extends BaseEntity<string> {
6
+ sendStatusType: SendNotificationStatusTypeEnum;
7
+ receiverStatusType: ReceiverNotificationStatusTypeEnum;
8
+ linkSiteId?: number;
9
+ linkMemberId: string;
10
+ moduleName: string;
11
+ moduleEntityName: string;
12
+ moduleEntityId: string;
13
+ senderlinkUserId?: number;
14
+ receiverlinkUserId?: number;
15
+ returnApi: string;
16
+ icon: string;
17
+ badge: string;
18
+ sound: string;
19
+ title: string;
20
+ clickAction: string;
21
+ renotify: boolean;
22
+ contentType: NotificationTypeEnum;
23
+ content: string;
24
+ contentJson: string;
25
+ contentJsonClass: string;
26
+ smallImageId?: number;
27
+ bigImageId?: number;
28
+ }
@@ -13,6 +13,6 @@ export declare class CoreTokenMicroServiceModel extends BaseEntity<string> {
13
13
  deviceConnectionState: MicroServiceConnectionStatusEnum;
14
14
  requestDate: string;
15
15
  usedUsername: string;
16
- iP: string;
16
+ deviceIP: string;
17
17
  description: string;
18
18
  }
@@ -17,6 +17,6 @@ export declare class CoreTokenNotificationModel extends BaseEntity<string> {
17
17
  deviceConnectionType: NotificationConnectionTypeEnum;
18
18
  deviceConnectionState: NotificationConnectionStatusEnum;
19
19
  usedUsername: string;
20
- iP: string;
20
+ deviceIP: string;
21
21
  description: string;
22
22
  }
@@ -11,4 +11,5 @@ export declare class CoreTokenUserBadLoginModel extends BaseEntity<string> {
11
11
  linkUserId?: number;
12
12
  linkSiteId?: number;
13
13
  linkMemberId: string;
14
+ deviceIp: string;
14
15
  }
@@ -1,4 +1,5 @@
1
1
  import { CoreTokenUserModel } from './coreTokenUserModel';
2
2
  export declare class CoreTokenUserLogModel extends CoreTokenUserModel {
3
3
  description: string;
4
+ deviceIp: string;
4
5
  }
@@ -39,3 +39,5 @@ export * from './microServiceConnectionStatusEnum';
39
39
  export * from './microServiceConnectionTypeEnum';
40
40
  export * from './microServiceModuleTypeEnum';
41
41
  export * from './notificationConnectionTypeEnum';
42
+ export * from './sendNotificationStatusTypeEnum';
43
+ export * from './receiverNotificationStatusTypeEnum';
@@ -0,0 +1,5 @@
1
+ export declare enum ReceiverNotificationStatusTypeEnum {
2
+ None = 0,
3
+ Receive = 1,
4
+ Read = 2
5
+ }
@@ -0,0 +1,8 @@
1
+ export declare enum SendNotificationStatusTypeEnum {
2
+ none = 0,
3
+ Sending = 1,
4
+ Sended = 2,
5
+ SendParameterError = 3,
6
+ SendConnectionError = 4,
7
+ SendServerApiError = 5
8
+ }
@@ -4,3 +4,4 @@ export * from './coreLogSms.service';
4
4
  export * from './coreLogCurrency.service';
5
5
  export * from './coreLogMember.service';
6
6
  export * from './coreLogReportData.service';
7
+ export * from './coreLogNotification.service';
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ntk-cms-api",
3
- "version": "1.2.243",
3
+ "version": "1.2.245",
4
4
  "description": "Ntk Cms Api And Model For Typscript",
5
5
  "author": "Alireza-Karavi",
6
6
  "license": "ISC",