@gus-eip/loggers 3.1.2 → 3.1.4
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/dist/enum.d.ts +28 -0
- package/dist/enum.js +42 -0
- package/dist/module.js +2 -1
- package/package.json +1 -1
package/dist/enum.d.ts
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
export declare class LoggerEnumService {
|
2
|
+
static Event: {
|
3
|
+
NEW_APPLICATION: string;
|
4
|
+
POST_APPLICATION_DETAILS_TO_SNS: string;
|
5
|
+
UPDATE_APPLICATION: string;
|
6
|
+
UPLOAD_DOCUMENT: string;
|
7
|
+
SUBMIT_APPLICATION: string;
|
8
|
+
SALESFORCE_REQUEST: string;
|
9
|
+
SAVING_IN_SALESFORCE: string;
|
10
|
+
SAVE_APPLICATION_INITIATED: string;
|
11
|
+
CREATE_OPPORTUNITY_INITIATED: string;
|
12
|
+
OPPORTUNITY_CREATED: string;
|
13
|
+
CREATE_APPLICATION_INITIATED: string;
|
14
|
+
CREATE_APPLICATION_WITHOUT_LEAD: string;
|
15
|
+
UPDATE_APPLICATION_INITIATED: string;
|
16
|
+
CREATED_OPPORTUNITYTEAMMEMBER: string;
|
17
|
+
CREATED_OPPORTUNITYLINEITEM: string;
|
18
|
+
};
|
19
|
+
static UseCase: {
|
20
|
+
SAVE_BASIC_DETAILS: string;
|
21
|
+
SAVE_PROGRAMME_DETAILS: string;
|
22
|
+
SAVE_APPLICATION: string;
|
23
|
+
UPLOAD_DOCUMENT: string;
|
24
|
+
DELETE_DOCUMENT: string;
|
25
|
+
SUBMIT_APPLICATION: string;
|
26
|
+
SAVE_SECTION_NAME: string;
|
27
|
+
};
|
28
|
+
}
|
package/dist/enum.js
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
9
|
+
exports.LoggerEnumService = void 0;
|
10
|
+
const common_1 = require("@nestjs/common");
|
11
|
+
let LoggerEnumService = class LoggerEnumService {
|
12
|
+
};
|
13
|
+
LoggerEnumService.Event = {
|
14
|
+
NEW_APPLICATION: 'NEW_APPLICATION',
|
15
|
+
POST_APPLICATION_DETAILS_TO_SNS: 'POST_APPLICATION_DETAILS_TO_SNS',
|
16
|
+
UPDATE_APPLICATION: 'UPDATE_APPLICATION',
|
17
|
+
UPLOAD_DOCUMENT: 'UPLOAD_DOCUMENT',
|
18
|
+
SUBMIT_APPLICATION: 'SUBMIT_APPLICATION',
|
19
|
+
SALESFORCE_REQUEST: 'SALESFORCE_REQUEST',
|
20
|
+
SAVING_IN_SALESFORCE: 'SAVING_IN_SALESFORCE',
|
21
|
+
SAVE_APPLICATION_INITIATED: 'SAVE_APPLICATION_INITIATED',
|
22
|
+
CREATE_OPPORTUNITY_INITIATED: 'CREATE_OPPORTUNITY_INITIATED',
|
23
|
+
OPPORTUNITY_CREATED: 'OPPORTUNITY_CREATED',
|
24
|
+
CREATE_APPLICATION_INITIATED: 'CREATE_APPLICATION_INITIATED',
|
25
|
+
CREATE_APPLICATION_WITHOUT_LEAD: 'CREATE_APPLICATION_WITHOUT_LEAD',
|
26
|
+
UPDATE_APPLICATION_INITIATED: 'UPDATE_APPLICATION_INITIATED',
|
27
|
+
CREATED_OPPORTUNITYTEAMMEMBER: 'CREATED_OPPORTUNITYTEAMMEMBER',
|
28
|
+
CREATED_OPPORTUNITYLINEITEM: 'CREATED_OPPORTUNITYLINEITEM',
|
29
|
+
};
|
30
|
+
LoggerEnumService.UseCase = {
|
31
|
+
SAVE_BASIC_DETAILS: 'SAVE_BASIC_DETAILS',
|
32
|
+
SAVE_PROGRAMME_DETAILS: 'SAVE_PROGRAMME_DETAILS',
|
33
|
+
SAVE_APPLICATION: 'SAVE_APPLICATION',
|
34
|
+
UPLOAD_DOCUMENT: 'UPLOAD_DOCUMENT',
|
35
|
+
DELETE_DOCUMENT: 'DELETE_DOCUMENT',
|
36
|
+
SUBMIT_APPLICATION: 'SUBMIT_APPLICATION',
|
37
|
+
SAVE_SECTION_NAME: 'SAVE_SECTION_NAME',
|
38
|
+
};
|
39
|
+
LoggerEnumService = __decorate([
|
40
|
+
(0, common_1.Injectable)()
|
41
|
+
], LoggerEnumService);
|
42
|
+
exports.LoggerEnumService = LoggerEnumService;
|
package/dist/module.js
CHANGED
@@ -10,11 +10,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.LoggerModule = void 0;
|
11
11
|
const common_1 = require("@nestjs/common");
|
12
12
|
const cloudwatch_logger_1 = require("./cloudwatch.logger");
|
13
|
+
const enum_1 = require("./enum");
|
13
14
|
let LoggerModule = LoggerModule_1 = class LoggerModule {
|
14
15
|
static forRoot(params) {
|
15
16
|
const cloudwatchProvider = {
|
16
17
|
provide: params.options,
|
17
|
-
useClass: cloudwatch_logger_1.CloudWatchLoggerService,
|
18
|
+
useClass: cloudwatch_logger_1.CloudWatchLoggerService, LoggerEnumService: enum_1.LoggerEnumService
|
18
19
|
};
|
19
20
|
const cloudwatchProviders = {
|
20
21
|
provide: params.options,
|
package/package.json
CHANGED