@servicelabsco/slabs-access-manager 1.0.73 → 1.0.75
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/AGENTS.md +1 -0
- package/CLAUDE.md +1 -0
- package/dist/access/controllers/business.script.controller.d.ts +2 -3
- package/dist/access/controllers/business.script.controller.js +1 -3
- package/dist/access/controllers/business.script.controller.js.map +1 -1
- package/dist/access/controllers/choice.list.controller.d.ts +5 -1
- package/dist/access/controllers/choice.list.controller.js +19 -2
- package/dist/access/controllers/choice.list.controller.js.map +1 -1
- package/dist/access/controllers/custom.field.controller.d.ts +2 -0
- package/dist/access/controllers/custom.field.controller.js +28 -0
- package/dist/access/controllers/custom.field.controller.js.map +1 -1
- package/dist/access/dtos/add.custom.field.dto.d.ts +1 -0
- package/dist/access/dtos/add.custom.field.dto.js +6 -0
- package/dist/access/dtos/add.custom.field.dto.js.map +1 -1
- package/dist/access/dtos/choice.list.list.filter.dto.d.ts +4 -0
- package/dist/access/dtos/choice.list.list.filter.dto.js +25 -0
- package/dist/access/dtos/choice.list.list.filter.dto.js.map +1 -0
- package/dist/access/dtos/index.d.ts +2 -0
- package/dist/access/dtos/index.js +2 -0
- package/dist/access/dtos/index.js.map +1 -1
- package/dist/access/dtos/modify.custom.field.dto.d.ts +8 -0
- package/dist/access/dtos/modify.custom.field.dto.js +54 -0
- package/dist/access/dtos/modify.custom.field.dto.js.map +1 -0
- package/dist/access/entities/access.business.entity.d.ts +3 -0
- package/dist/access/entities/access.business.entity.js +10 -0
- package/dist/access/entities/access.business.entity.js.map +1 -1
- package/dist/access/entities/{whatsapp.template.entity.d.ts → access.whatsapp.template.entity.d.ts} +2 -4
- package/dist/access/entities/{whatsapp.template.entity.js → access.whatsapp.template.entity.js} +11 -19
- package/dist/access/entities/access.whatsapp.template.entity.js.map +1 -0
- package/dist/access/entities/index.d.ts +1 -1
- package/dist/access/entities/index.js +1 -1
- package/dist/access/entities/index.js.map +1 -1
- package/dist/access/es6.classes.d.ts +3 -1
- package/dist/access/es6.classes.js +10 -2
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/jobs/capture.event.trigger.job.js +4 -4
- package/dist/access/jobs/capture.event.trigger.job.js.map +1 -1
- package/dist/access/jobs/execute.business.script.job.d.ts +2 -3
- package/dist/access/jobs/execute.business.script.job.js +3 -5
- package/dist/access/jobs/execute.business.script.job.js.map +1 -1
- package/dist/access/jobs/whatsapp.template.job.d.ts +2 -2
- package/dist/access/jobs/whatsapp.template.job.js.map +1 -1
- package/dist/access/libraries/index.d.ts +2 -0
- package/dist/access/libraries/index.js +2 -0
- package/dist/access/libraries/index.js.map +1 -1
- package/dist/access/libraries/process.business.script.data.d.ts +1 -1
- package/dist/access/libraries/process.choice.list.list.d.ts +20 -0
- package/dist/access/libraries/process.choice.list.list.js +35 -0
- package/dist/access/libraries/process.choice.list.list.js.map +1 -0
- package/dist/access/libraries/process.common.list.js +2 -7
- package/dist/access/libraries/process.common.list.js.map +1 -1
- package/dist/access/libraries/process.custom.field.creation.js +2 -0
- package/dist/access/libraries/process.custom.field.creation.js.map +1 -1
- package/dist/access/libraries/process.dashboard.report.data.d.ts +1 -0
- package/dist/access/libraries/process.dashboard.report.data.js +14 -2
- package/dist/access/libraries/process.dashboard.report.data.js.map +1 -1
- package/dist/access/libraries/process.listing.order.d.ts +8 -0
- package/dist/access/libraries/process.listing.order.js +41 -0
- package/dist/access/libraries/process.listing.order.js.map +1 -0
- package/dist/access/libraries/process.report.data.d.ts +1 -0
- package/dist/access/libraries/process.report.data.js +14 -2
- package/dist/access/libraries/process.report.data.js.map +1 -1
- package/dist/access/libraries/send.whatsapp.message.notification.js.map +1 -1
- package/dist/access/services/access.business.service.js +2 -2
- package/dist/access/services/access.business.service.js.map +1 -1
- package/dist/access/services/business.script.service.d.ts +2 -3
- package/dist/access/services/business.script.service.js +2 -4
- package/dist/access/services/business.script.service.js.map +1 -1
- package/dist/access/subscribers/whatsapp.template.subscriber.d.ts +5 -5
- package/dist/access/subscribers/whatsapp.template.subscriber.js +2 -2
- package/dist/access/subscribers/whatsapp.template.subscriber.js.map +1 -1
- package/dist/accessUtility/entities/whatsapp.notification.entity.d.ts +2 -2
- package/dist/accessUtility/entities/whatsapp.notification.entity.js +3 -3
- package/dist/accessUtility/entities/whatsapp.notification.entity.js.map +1 -1
- package/dist/accessUtility/es6.classes.d.ts +3 -3
- package/dist/accessUtility/libraries/json.evaluator.d.ts +4 -1
- package/dist/accessUtility/libraries/json.evaluator.js +77 -22
- package/dist/accessUtility/libraries/json.evaluator.js.map +1 -1
- package/dist/accessUtility/libraries/process.report.listing.d.ts +1 -1
- package/dist/accessWorkflow/dtos/workflow.approval.payload.dto.d.ts +1 -0
- package/dist/accessWorkflow/dtos/workflow.approval.payload.dto.js.map +1 -1
- package/dist/accessWorkflow/enums/approval.step.type.enum.d.ts +3 -1
- package/dist/accessWorkflow/enums/approval.step.type.enum.js +2 -0
- package/dist/accessWorkflow/enums/approval.step.type.enum.js.map +1 -1
- package/dist/accessWorkflow/libraries/process.approval.rule.data.d.ts +2 -0
- package/dist/accessWorkflow/libraries/process.approval.rule.data.js +36 -0
- package/dist/accessWorkflow/libraries/process.approval.rule.data.js.map +1 -1
- package/dist/app.module.js +1 -0
- package/dist/app.module.js.map +1 -1
- package/dist/auth.controller.js +1 -1
- package/dist/auth.controller.js.map +1 -1
- package/dist/config/entity.constants.d.ts +2 -2
- package/dist/config/entity.constants.js +2 -2
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/instrument.d.ts +1 -0
- package/dist/instrument.js +5 -0
- package/dist/instrument.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +1 -0
- package/dist/main.js.map +1 -1
- package/dist/migrations/1788407457838-AddBusinessUnitApprovalStepTypeDataSeederTable.d.ts +6 -0
- package/dist/migrations/1788407457838-AddBusinessUnitApprovalStepTypeDataSeederTable.js +36 -0
- package/dist/migrations/1788407457838-AddBusinessUnitApprovalStepTypeDataSeederTable.js.map +1 -0
- package/dist/migrations/1789489338708-AddCurrencyBzBusinessDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1789489338708-AddCurrencyBzBusinessDetailsTable.ts.js +15 -0
- package/dist/migrations/1789489338708-AddCurrencyBzBusinessDetailsTable.ts.js.map +1 -0
- package/package.json +2 -2
- package/.vscode/settings.json +0 -9
- package/dist/access/entities/whatsapp.template.entity.js.map +0 -1
package/AGENTS.md
CHANGED
|
@@ -94,6 +94,7 @@ Every entity has a matching TypeORM subscriber in `subscribers/`. Subscribers ar
|
|
|
94
94
|
- DTOs use `class-validator` / `class-transformer`; the global `ValidationPipe` (`main.ts`) is configured with `whitelist: true, transform: true` — properties not on the DTO are stripped.
|
|
95
95
|
- Bodies up to 50mb are accepted (`bodyParser.json({ limit: '50mb' })`); helmet and a global rate limiter (`rate.limiter.config.ts`) are on.
|
|
96
96
|
- New Relic is optional, enabled when `NEWRELIC_KEY` is set in env.
|
|
97
|
+
- Sentry is optional on the HTTP process: set `SENTRY_DSN` (see NU `docs/sentry-reporting.md`). Do not init from `cli.ts` / `console.ts`.
|
|
97
98
|
- The `'use cases'` layer lives in `libraries/` (`process.*.ts`, `send.*.ts`). Prefer adding one there over bloating a service when logic spans multiple entities.
|
|
98
99
|
|
|
99
100
|
## Required env
|
package/CLAUDE.md
CHANGED
|
@@ -94,6 +94,7 @@ Every entity has a matching TypeORM subscriber in `subscribers/`. Subscribers ar
|
|
|
94
94
|
- DTOs use `class-validator` / `class-transformer`; the global `ValidationPipe` (`main.ts`) is configured with `whitelist: true, transform: true` — properties not on the DTO are stripped.
|
|
95
95
|
- Bodies up to 50mb are accepted (`bodyParser.json({ limit: '50mb' })`); helmet and a global rate limiter (`rate.limiter.config.ts`) are on.
|
|
96
96
|
- New Relic is optional, enabled when `NEWRELIC_KEY` is set in env.
|
|
97
|
+
- Sentry is optional on the HTTP process: set `SENTRY_DSN` (see NU `docs/sentry-reporting.md`). Do not init from `cli.ts` / `console.ts`.
|
|
97
98
|
- The `'use cases'` layer lives in `libraries/` (`process.*.ts`, `send.*.ts`). Prefer adding one there over bloating a service when logic spans multiple entities.
|
|
98
99
|
|
|
99
100
|
## Required env
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExecutableScriptService,
|
|
1
|
+
import { ExecutableScriptService, SqlService, StringSearchDto } from '@servicelabsco/nestjs-utility-services';
|
|
2
2
|
import { AddBusinessScriptDto } from '../dtos/add.business.script.dto';
|
|
3
3
|
import { BusinessParamDto } from '../dtos/business.param.dto';
|
|
4
4
|
import { BusinessScriptListFilterDto } from '../dtos/business.script.list.filter.dto';
|
|
@@ -12,10 +12,9 @@ export declare class BusinessScriptController {
|
|
|
12
12
|
private readonly sqlService;
|
|
13
13
|
private readonly listingService;
|
|
14
14
|
protected readonly executableScriptService: ExecutableScriptService;
|
|
15
|
-
protected readonly loggerService: LoggerService;
|
|
16
15
|
private readonly businessScriptService;
|
|
17
16
|
private readonly businessPropertyService;
|
|
18
|
-
constructor(accessBusinessService: AccessBusinessService, sqlService: SqlService, listingService: ListingService, executableScriptService: ExecutableScriptService,
|
|
17
|
+
constructor(accessBusinessService: AccessBusinessService, sqlService: SqlService, listingService: ListingService, executableScriptService: ExecutableScriptService, businessScriptService: BusinessScriptService, businessPropertyService: BusinessPropertyService);
|
|
19
18
|
search(body: BusinessScriptListFilterDto): Promise<import("..").ListResponseDto>;
|
|
20
19
|
find(body: StringSearchDto): Promise<any>;
|
|
21
20
|
show(params: BusinessParamDto): Promise<BusinessScriptEntity>;
|
|
@@ -31,12 +31,11 @@ const SourceHash = require("../../config/source.hash");
|
|
|
31
31
|
const business_property_service_1 = require("../services/business.property.service");
|
|
32
32
|
const business_script_service_1 = require("../services/business.script.service");
|
|
33
33
|
let BusinessScriptController = class BusinessScriptController {
|
|
34
|
-
constructor(accessBusinessService, sqlService, listingService, executableScriptService,
|
|
34
|
+
constructor(accessBusinessService, sqlService, listingService, executableScriptService, businessScriptService, businessPropertyService) {
|
|
35
35
|
this.accessBusinessService = accessBusinessService;
|
|
36
36
|
this.sqlService = sqlService;
|
|
37
37
|
this.listingService = listingService;
|
|
38
38
|
this.executableScriptService = executableScriptService;
|
|
39
|
-
this.loggerService = loggerService;
|
|
40
39
|
this.businessScriptService = businessScriptService;
|
|
41
40
|
this.businessPropertyService = businessPropertyService;
|
|
42
41
|
}
|
|
@@ -197,7 +196,6 @@ exports.BusinessScriptController = BusinessScriptController = __decorate([
|
|
|
197
196
|
nestjs_utility_services_1.SqlService,
|
|
198
197
|
listing_service_1.ListingService,
|
|
199
198
|
nestjs_utility_services_1.ExecutableScriptService,
|
|
200
|
-
nestjs_utility_services_1.LoggerService,
|
|
201
199
|
business_script_service_1.BusinessScriptService,
|
|
202
200
|
business_property_service_1.BusinessPropertyService])
|
|
203
201
|
], BusinessScriptController);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.script.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/business.script.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,
|
|
1
|
+
{"version":3,"file":"business.script.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/business.script.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,oFAOgD;AAChD,qCAAiC;AACjC,6EAAuE;AACvE,mEAA8D;AAC9D,6FAAsF;AAEtF,+EAA0E;AAC1E,2EAAsE;AACtE,kFAA6E;AAC7E,oGAA8F;AAC9F,4FAAsF;AACtF,kEAA6D;AAC7D,iFAA4E;AAC5E,iEAA6D;AAC7D,uDAAwD;AACxD,qFAAgF;AAChF,iFAA4E;AAgBrE,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IACjC,YACqB,qBAA4C,EAC5C,UAAsB,EACtB,cAA8B,EAC5B,uBAAgD,EAClD,qBAA4C,EAC5C,uBAAgD;QALhD,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,eAAU,GAAV,UAAU,CAAY;QACtB,mBAA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AC,QAAQ,CAAC,CAAA;;qCAAjC,qCAAgB;;4DAInD;AAaK;IADL,IAAA,aAAI,EAAC,WAAW,CAAC;IACC,WAAA,IAAA,cAAK,GAAE,CAAA;IAA4B,WAAA,IAAA,aAAI,EAAC,QAAQ,CAAC,CAAA;;qCAAjC,qCAAgB;;2DAIlD;AAaK;IADL,IAAA,aAAI,EAAC,eAAe,CAAC;IACC,WAAA,IAAA,cAAK,GAAE,CAAA;IAA4B,WAAA,IAAA,aAAI,EAAC,QAAQ,CAAC,CAAA;;qCAAjC,qCAAgB;;+DAItD;AAaK;IADL,IAAA,aAAI,EAAC,cAAc,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;wDAE/C;AAaK;IADL,IAAA,aAAI,EAAC,gBAAgB,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;0DAEjD;mCA5LQ,wBAAwB;IADpC,IAAA,mBAAU,EAAC,uBAAuB,CAAC;qCAGY,+CAAqB;QAChC,oCAAU;QACN,gCAAc;QACH,iDAAuB;QAC3B,+CAAqB;QACnB,mDAAuB;GAP5D,wBAAwB,CA6OpC"}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { SqlService } from '@servicelabsco/nestjs-utility-services';
|
|
2
2
|
import { AddChoiceListDto } from '../dtos/add.choice.list.dto';
|
|
3
3
|
import { BusinessParamDto } from '../dtos/business.param.dto';
|
|
4
|
+
import { ChoiceListListFilterDto } from '../dtos/choice.list.list.filter.dto';
|
|
4
5
|
import { DbFindDto } from '../dtos/db.find.dto';
|
|
5
6
|
import { ChoiceListEntity } from '../entities/choice.list.entity';
|
|
6
7
|
import { ChoiceTypeEntity } from '../entities/choice.type.entity';
|
|
7
8
|
import { AccessBusinessService } from '../services/access.business.service';
|
|
9
|
+
import { ListingService } from '../services/listing.service';
|
|
8
10
|
export declare class ChoiceListController {
|
|
9
11
|
private readonly accessBusinessService;
|
|
10
12
|
private readonly sqlService;
|
|
11
|
-
|
|
13
|
+
private readonly listingService;
|
|
14
|
+
constructor(accessBusinessService: AccessBusinessService, sqlService: SqlService, listingService: ListingService);
|
|
12
15
|
get(params: BusinessParamDto): Promise<ChoiceListEntity[]>;
|
|
13
16
|
show(params: BusinessParamDto): Promise<ChoiceListEntity>;
|
|
17
|
+
search(params: BusinessParamDto, body: ChoiceListListFilterDto): Promise<import("..").ListResponseDto>;
|
|
14
18
|
find(params: BusinessParamDto, body: DbFindDto): Promise<any>;
|
|
15
19
|
create(params: BusinessParamDto, body: AddChoiceListDto): Promise<ChoiceListEntity>;
|
|
16
20
|
activate(params: BusinessParamDto): Promise<ChoiceListEntity>;
|
|
@@ -17,16 +17,20 @@ const common_1 = require("@nestjs/common");
|
|
|
17
17
|
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
18
18
|
const add_choice_list_dto_1 = require("../dtos/add.choice.list.dto");
|
|
19
19
|
const business_param_dto_1 = require("../dtos/business.param.dto");
|
|
20
|
+
const choice_list_list_filter_dto_1 = require("../dtos/choice.list.list.filter.dto");
|
|
20
21
|
const db_find_dto_1 = require("../dtos/db.find.dto");
|
|
21
22
|
const choice_list_entity_1 = require("../entities/choice.list.entity");
|
|
22
23
|
const choice_type_entity_1 = require("../entities/choice.type.entity");
|
|
23
24
|
const process_choice_list_data_1 = require("../libraries/process.choice.list.data");
|
|
25
|
+
const process_choice_list_list_1 = require("../libraries/process.choice.list.list");
|
|
24
26
|
const process_db_find_1 = require("../libraries/process.db.find");
|
|
25
27
|
const access_business_service_1 = require("../services/access.business.service");
|
|
28
|
+
const listing_service_1 = require("../services/listing.service");
|
|
26
29
|
let ChoiceListController = class ChoiceListController {
|
|
27
|
-
constructor(accessBusinessService, sqlService) {
|
|
30
|
+
constructor(accessBusinessService, sqlService, listingService) {
|
|
28
31
|
this.accessBusinessService = accessBusinessService;
|
|
29
32
|
this.sqlService = sqlService;
|
|
33
|
+
this.listingService = listingService;
|
|
30
34
|
}
|
|
31
35
|
async get(params) {
|
|
32
36
|
const validation = await this.validate(params);
|
|
@@ -36,6 +40,10 @@ let ChoiceListController = class ChoiceListController {
|
|
|
36
40
|
const validation = await this.validate(params);
|
|
37
41
|
return choice_list_entity_1.ChoiceListEntity.findOne({ where: { id: params.second_id, type_id: validation.type.id } });
|
|
38
42
|
}
|
|
43
|
+
async search(params, body) {
|
|
44
|
+
const validation = await this.validate(params);
|
|
45
|
+
return new process_choice_list_list_1.ProcessChoiceListList(validation.type, this.listingService).process(body);
|
|
46
|
+
}
|
|
39
47
|
async find(params, body) {
|
|
40
48
|
const validation = await this.validate(params);
|
|
41
49
|
const config = {
|
|
@@ -107,6 +115,14 @@ __decorate([
|
|
|
107
115
|
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
108
116
|
__metadata("design:returntype", Promise)
|
|
109
117
|
], ChoiceListController.prototype, "show", null);
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, common_1.Post)('search'),
|
|
120
|
+
__param(0, (0, common_1.Param)()),
|
|
121
|
+
__param(1, (0, common_1.Body)()),
|
|
122
|
+
__metadata("design:type", Function),
|
|
123
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto, choice_list_list_filter_dto_1.ChoiceListListFilterDto]),
|
|
124
|
+
__metadata("design:returntype", Promise)
|
|
125
|
+
], ChoiceListController.prototype, "search", null);
|
|
110
126
|
__decorate([
|
|
111
127
|
(0, common_1.Post)('find'),
|
|
112
128
|
__param(0, (0, common_1.Param)()),
|
|
@@ -140,6 +156,7 @@ __decorate([
|
|
|
140
156
|
exports.ChoiceListController = ChoiceListController = __decorate([
|
|
141
157
|
(0, common_1.Controller)('api/b/choice-type/:id/list'),
|
|
142
158
|
__metadata("design:paramtypes", [access_business_service_1.AccessBusinessService,
|
|
143
|
-
nestjs_utility_services_1.SqlService
|
|
159
|
+
nestjs_utility_services_1.SqlService,
|
|
160
|
+
listing_service_1.ListingService])
|
|
144
161
|
], ChoiceListController);
|
|
145
162
|
//# sourceMappingURL=choice.list.controller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"choice.list.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/choice.list.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,oFAAyG;AACzG,qEAA+D;AAC/D,mEAA8D;AAC9D,qDAAgD;AAEhD,uEAAkE;AAClE,uEAAkE;AAClE,oFAA8E;AAC9E,kEAA6D;AAC7D,iFAA4E;
|
|
1
|
+
{"version":3,"file":"choice.list.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/choice.list.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,oFAAyG;AACzG,qEAA+D;AAC/D,mEAA8D;AAC9D,qFAA8E;AAC9E,qDAAgD;AAEhD,uEAAkE;AAClE,uEAAkE;AAClE,oFAA8E;AAC9E,oFAA8E;AAC9E,kEAA6D;AAC7D,iFAA4E;AAC5E,iEAA6D;AAiBtD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC7B,YACqB,qBAA4C,EAC5C,UAAsB,EACtB,cAA8B;QAF9B,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,eAAU,GAAV,UAAU,CAAY;QACtB,mBAAc,GAAd,cAAc,CAAgB;IAChD,CAAC;IASE,AAAN,KAAK,CAAC,GAAG,CAAU,MAAwB;QACvC,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAE/C,OAAO,qCAAgB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;IACrG,CAAC;IASK,AAAN,KAAK,CAAC,IAAI,CAAU,MAAwB;QACxC,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC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AU,EAAC,4BAA4B,CAAC;qCAGO,+CAAqB;QAChC,oCAAU;QACN,gCAAc;GAJ1C,oBAAoB,CAuJhC"}
|
|
@@ -5,6 +5,7 @@ import { ListingService } from '../services/listing.service';
|
|
|
5
5
|
import { AccessBusinessService } from '../services/access.business.service';
|
|
6
6
|
import { AddCustomFieldDto } from '../dtos/add.custom.field.dto';
|
|
7
7
|
import { ModifyCustomFieldStatusDto } from '../dtos/modify.custom.field.status.dto';
|
|
8
|
+
import { ModifyCustomFieldDto } from '../dtos/modify.custom.field.dto';
|
|
8
9
|
export declare class CustomFieldController {
|
|
9
10
|
private readonly accessBusinessService;
|
|
10
11
|
private readonly listingService;
|
|
@@ -15,4 +16,5 @@ export declare class CustomFieldController {
|
|
|
15
16
|
show(params: BusinessParamDto): Promise<CustomFieldEntity>;
|
|
16
17
|
create(body: AddCustomFieldDto): Promise<CustomFieldEntity>;
|
|
17
18
|
setActive(params: BusinessParamDto, body: ModifyCustomFieldStatusDto): Promise<CustomFieldEntity>;
|
|
19
|
+
update(params: BusinessParamDto, body: ModifyCustomFieldDto): Promise<CustomFieldEntity>;
|
|
18
20
|
}
|
|
@@ -24,6 +24,7 @@ const process_custom_field_list_1 = require("../libraries/process.custom.field.l
|
|
|
24
24
|
const add_custom_field_dto_1 = require("../dtos/add.custom.field.dto");
|
|
25
25
|
const process_custom_field_creation_1 = require("../libraries/process.custom.field.creation");
|
|
26
26
|
const modify_custom_field_status_dto_1 = require("../dtos/modify.custom.field.status.dto");
|
|
27
|
+
const modify_custom_field_dto_1 = require("../dtos/modify.custom.field.dto");
|
|
27
28
|
let CustomFieldController = class CustomFieldController {
|
|
28
29
|
constructor(accessBusinessService, listingService) {
|
|
29
30
|
this.accessBusinessService = accessBusinessService;
|
|
@@ -63,6 +64,25 @@ let CustomFieldController = class CustomFieldController {
|
|
|
63
64
|
record.is_mandatory = body.is_mandatory;
|
|
64
65
|
return record.save();
|
|
65
66
|
}
|
|
67
|
+
async update(params, body) {
|
|
68
|
+
const business = await this.accessBusinessService.hasRoles(['ua_custom_field_manager']);
|
|
69
|
+
const record = await custom_field_entity_1.CustomFieldEntity.findOne({ where: { id: params.id, business_id: business.id } });
|
|
70
|
+
if (!record)
|
|
71
|
+
throw new nestjs_utility_services_1.AccessException();
|
|
72
|
+
if (typeof body.name !== 'undefined')
|
|
73
|
+
record.name = body.name;
|
|
74
|
+
if (typeof body.priority !== 'undefined')
|
|
75
|
+
record.priority = body.priority;
|
|
76
|
+
if (typeof body.default_value !== 'undefined')
|
|
77
|
+
record.default_value = body.default_value;
|
|
78
|
+
if (typeof body.is_mandatory !== 'undefined')
|
|
79
|
+
record.is_mandatory = body.is_mandatory;
|
|
80
|
+
if (typeof body.active !== 'undefined')
|
|
81
|
+
record.active = body.active;
|
|
82
|
+
if (typeof body.attributes !== 'undefined')
|
|
83
|
+
record.attributes = body.attributes;
|
|
84
|
+
return record.save();
|
|
85
|
+
}
|
|
66
86
|
};
|
|
67
87
|
exports.CustomFieldController = CustomFieldController;
|
|
68
88
|
__decorate([
|
|
@@ -107,6 +127,14 @@ __decorate([
|
|
|
107
127
|
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto, modify_custom_field_status_dto_1.ModifyCustomFieldStatusDto]),
|
|
108
128
|
__metadata("design:returntype", Promise)
|
|
109
129
|
], CustomFieldController.prototype, "setActive", null);
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, common_1.Post)(':id'),
|
|
132
|
+
__param(0, (0, common_1.Param)()),
|
|
133
|
+
__param(1, (0, common_1.Body)()),
|
|
134
|
+
__metadata("design:type", Function),
|
|
135
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto, modify_custom_field_dto_1.ModifyCustomFieldDto]),
|
|
136
|
+
__metadata("design:returntype", Promise)
|
|
137
|
+
], CustomFieldController.prototype, "update", null);
|
|
110
138
|
exports.CustomFieldController = CustomFieldController = __decorate([
|
|
111
139
|
(0, common_1.Controller)('api/b/custom-field'),
|
|
112
140
|
__metadata("design:paramtypes", [access_business_service_1.AccessBusinessService,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom.field.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/custom.field.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAuF;AACvF,oFAAyE;AACzE,mEAA8D;AAC9D,uFAAgF;AAChF,yEAAoE;
|
|
1
|
+
{"version":3,"file":"custom.field.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/custom.field.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAuF;AACvF,oFAAyE;AACzE,mEAA8D;AAC9D,uFAAgF;AAChF,yEAAoE;AAEpE,iEAA6D;AAC7D,iFAA4E;AAC5E,sFAAgF;AAChF,uEAAiE;AACjE,8FAAwF;AACxF,2FAAoF;AACpF,6EAAuE;AAkBhE,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAC9B,YACqB,qBAA4C,EAC5C,cAA8B;QAD9B,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,mBAAc,GAAd,cAAc,CAAgB;IAChD,CAAC;IAUE,AAAN,KAAK,CAAC,MAAM,CAAS,IAA8B;QAC/C,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,CAAC;QAEnE,OAAO,IAAI,kDAAsB,CAAC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACnF,CAAC;IASK,AAAN,KAAK,CAAC,GAAG;QACL,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,CAAC;QAEnE,OAAO,uCAAiB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,QAAQ,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,E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__decorate([
|
|
|
63
63
|
(0, class_transformer_1.Expose)(),
|
|
64
64
|
__metadata("design:type", String)
|
|
65
65
|
], AddCustomFieldDto.prototype, "default_value", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_transformer_1.Expose)(),
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
(0, class_validator_1.IsObject)(),
|
|
70
|
+
__metadata("design:type", Object)
|
|
71
|
+
], AddCustomFieldDto.prototype, "attributes", void 0);
|
|
66
72
|
//# sourceMappingURL=add.custom.field.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.custom.field.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/add.custom.field.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"add.custom.field.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/add.custom.field.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAqF;AACrF,8EAAwE;AACxE,qFAA8E;AAS9E,MAAa,iBAAkB,SAAQ,2DAA0B;CA2DhE;AA3DD,8CA2DC;AAtDG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACC;AAMZ;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;kDACG;AAOhB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAM,EAAC,8CAAoB,CAAC;;yDACN;AAMvB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;yDACe;AAKxB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;qDACO;AAKpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;+CACI;AAMb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;mDACM;AAKjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;wDACa;AAatB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACsB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ChoiceListListFilterDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const common_list_filter_dto_1 = require("./common.list.filter.dto");
|
|
16
|
+
class ChoiceListListFilterDto extends common_list_filter_dto_1.CommonListFilterDto {
|
|
17
|
+
}
|
|
18
|
+
exports.ChoiceListListFilterDto = ChoiceListListFilterDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
(0, class_validator_1.IsBoolean)(),
|
|
23
|
+
__metadata("design:type", Boolean)
|
|
24
|
+
], ChoiceListListFilterDto.prototype, "active", void 0);
|
|
25
|
+
//# sourceMappingURL=choice.list.list.filter.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"choice.list.list.filter.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/choice.list.list.filter.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAwD;AACxD,qEAA+D;AAS/D,MAAa,uBAAwB,SAAQ,4CAAmB;CAM/D;AAND,0DAMC;AADG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,2BAAS,GAAE;;uDACK"}
|
|
@@ -70,6 +70,7 @@ export * from './business.webhook.attributes.dto';
|
|
|
70
70
|
export * from './bz.notification.channel.preference.attributes.dto';
|
|
71
71
|
export * from './child.menu.attributes.dto';
|
|
72
72
|
export * from './choice.list.attributes.dto';
|
|
73
|
+
export * from './choice.list.list.filter.dto';
|
|
73
74
|
export * from './choice.type.attributes.dto';
|
|
74
75
|
export * from './choice.type.list.filter.dto';
|
|
75
76
|
export * from './common.list.filter.dto';
|
|
@@ -146,6 +147,7 @@ export * from './lock.script.list.filter.dto';
|
|
|
146
147
|
export * from './menu.action.attributes.dto';
|
|
147
148
|
export * from './menu.attributes.dto';
|
|
148
149
|
export * from './menu.role.attributes.dto';
|
|
150
|
+
export * from './modify.custom.field.dto';
|
|
149
151
|
export * from './modify.custom.field.status.dto';
|
|
150
152
|
export * from './module.attributes.dto';
|
|
151
153
|
export * from './module.menu.attributes.dto';
|
|
@@ -86,6 +86,7 @@ __exportStar(require("./business.webhook.attributes.dto"), exports);
|
|
|
86
86
|
__exportStar(require("./bz.notification.channel.preference.attributes.dto"), exports);
|
|
87
87
|
__exportStar(require("./child.menu.attributes.dto"), exports);
|
|
88
88
|
__exportStar(require("./choice.list.attributes.dto"), exports);
|
|
89
|
+
__exportStar(require("./choice.list.list.filter.dto"), exports);
|
|
89
90
|
__exportStar(require("./choice.type.attributes.dto"), exports);
|
|
90
91
|
__exportStar(require("./choice.type.list.filter.dto"), exports);
|
|
91
92
|
__exportStar(require("./common.list.filter.dto"), exports);
|
|
@@ -162,6 +163,7 @@ __exportStar(require("./lock.script.list.filter.dto"), exports);
|
|
|
162
163
|
__exportStar(require("./menu.action.attributes.dto"), exports);
|
|
163
164
|
__exportStar(require("./menu.attributes.dto"), exports);
|
|
164
165
|
__exportStar(require("./menu.role.attributes.dto"), exports);
|
|
166
|
+
__exportStar(require("./modify.custom.field.dto"), exports);
|
|
165
167
|
__exportStar(require("./modify.custom.field.status.dto"), exports);
|
|
166
168
|
__exportStar(require("./module.attributes.dto"), exports);
|
|
167
169
|
__exportStar(require("./module.menu.attributes.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAAA,mEAAiD;AAAA,wDAAsC;AAAA,qEAAmD;AAAA,8DAA4C;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,gEAA8C;AAAA,kFAAgE;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,yDAAuC;AAAA,gEAA8C;AAAA,2EAAyD;AAAA,uDAAqC;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,wDAAsC;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,wDAAsC;AAAA,iDAA+B;AAAA,mDAAiC;AAAA,wDAAsC;AAAA,4EAA0D;AAAA,8DAA4C;AAAA,iDAA+B;AAAA,6DAA2C;AAAA,sDAAoC;AAAA,gDAA8B;AAAA,4DAA0C;AAAA,wDAAsC;AAAA,oDAAkC;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,mEAAiD;AAAA,6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AAAA,gEAA8C;AAAA,2DAAyC;AAAA,6DAA2C;AAAA,8DAA4C;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,4DAA0C;AAAA,8DAA4C;AAAA,oEAAkD;AAAA,0EAAwD;AAAA,yEAAuD;AAAA,0EAAwD;AAAA,qEAAmD;AAAA,qEAAmD;AAAA,iEAA+C;AAAA,sEAAoD;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,iEAA+C;AAAA,2DAAyC;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,8DAA4C;AAAA,iEAA+C;AAAA,yEAAuD;AAAA,sDAAoC;AAAA,oDAAkC;AAAA,sDAAoC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,oEAAkD;AAAA,2DAAyC;AAAA,wDAAsC;AAAA,wEAAsD;AAAA,qEAAmD;AAAA,sEAAoD;AAAA,mEAAiD;AAAA,6DAA2C;AAAA,wEAAsD;AAAA,iEAA+C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,gEAA8C;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,qEAAmD;AAAA,+EAA4D"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ModifyCustomFieldDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class ModifyCustomFieldDto {
|
|
16
|
+
}
|
|
17
|
+
exports.ModifyCustomFieldDto = ModifyCustomFieldDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_validator_1.IsString)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], ModifyCustomFieldDto.prototype, "name", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsNumber)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], ModifyCustomFieldDto.prototype, "priority", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], ModifyCustomFieldDto.prototype, "default_value", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_validator_1.IsBoolean)(),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], ModifyCustomFieldDto.prototype, "is_mandatory", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
(0, class_validator_1.IsBoolean)(),
|
|
46
|
+
__metadata("design:type", Boolean)
|
|
47
|
+
], ModifyCustomFieldDto.prototype, "active", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_validator_1.IsObject)(),
|
|
52
|
+
__metadata("design:type", Object)
|
|
53
|
+
], ModifyCustomFieldDto.prototype, "attributes", void 0);
|
|
54
|
+
//# sourceMappingURL=modify.custom.field.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modify.custom.field.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/modify.custom.field.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAsF;AAyBtF,MAAa,oBAAoB;CAyChC;AAzCD,oDAyCC;AApCG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACG;AAMd;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACO;AAMlB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACY;AAMvB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;0DACW;AAMvB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;oDACK;AAWjB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACsB"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { CommonEntity, UserEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { CurrencyEntity } from '../../accessUtility/entities/currency.entity';
|
|
2
3
|
export declare class AccessBusinessEntity extends CommonEntity {
|
|
3
4
|
name: string;
|
|
4
5
|
owner_id: number;
|
|
5
6
|
identifier: number;
|
|
6
7
|
active: boolean;
|
|
8
|
+
currency_id: number;
|
|
7
9
|
meta_server_id: number;
|
|
8
10
|
owner: UserEntity;
|
|
11
|
+
currency: CurrencyEntity;
|
|
9
12
|
}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.AccessBusinessEntity = void 0;
|
|
13
13
|
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
+
const currency_entity_1 = require("../../accessUtility/entities/currency.entity");
|
|
15
16
|
let AccessBusinessEntity = class AccessBusinessEntity extends nestjs_utility_services_1.CommonEntity {
|
|
16
17
|
};
|
|
17
18
|
exports.AccessBusinessEntity = AccessBusinessEntity;
|
|
@@ -31,6 +32,10 @@ __decorate([
|
|
|
31
32
|
(0, typeorm_1.Column)(),
|
|
32
33
|
__metadata("design:type", Boolean)
|
|
33
34
|
], AccessBusinessEntity.prototype, "active", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)(),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], AccessBusinessEntity.prototype, "currency_id", void 0);
|
|
34
39
|
__decorate([
|
|
35
40
|
(0, typeorm_1.Column)(),
|
|
36
41
|
__metadata("design:type", Number)
|
|
@@ -40,6 +45,11 @@ __decorate([
|
|
|
40
45
|
(0, typeorm_1.JoinColumn)({ name: 'owner_id' }),
|
|
41
46
|
__metadata("design:type", nestjs_utility_services_1.UserEntity)
|
|
42
47
|
], AccessBusinessEntity.prototype, "owner", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.ManyToOne)(() => currency_entity_1.CurrencyEntity),
|
|
50
|
+
(0, typeorm_1.JoinColumn)({ name: 'currency_id' }),
|
|
51
|
+
__metadata("design:type", currency_entity_1.CurrencyEntity)
|
|
52
|
+
], AccessBusinessEntity.prototype, "currency", void 0);
|
|
43
53
|
exports.AccessBusinessEntity = AccessBusinessEntity = __decorate([
|
|
44
54
|
(0, typeorm_1.Entity)('bz_business_details')
|
|
45
55
|
], AccessBusinessEntity);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access.business.entity.js","sourceRoot":"","sources":["../../../src/access/entities/access.business.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAkF;AAClF,qCAAgE;
|
|
1
|
+
{"version":3,"file":"access.business.entity.js","sourceRoot":"","sources":["../../../src/access/entities/access.business.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAkF;AAClF,qCAAgE;AAChE,kFAA8E;AASvE,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,sCAAY;CAsBrD,CAAA;AAtBY,oDAAoB;AAE7B;IADC,IAAA,gBAAM,GAAE;;kDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;sDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;wDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;oDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;yDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;4DACc;AAGwC;IAA9D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oCAAU,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BAAQ,oCAAU;mDAAC;AACX;IAArE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,gCAAc;sDAAC;+BArBtF,oBAAoB;IADhC,IAAA,gBAAM,EAAC,qBAAqB,CAAC;GACjB,oBAAoB,CAsBhC"}
|
package/dist/access/entities/{whatsapp.template.entity.d.ts → access.whatsapp.template.entity.d.ts}
RENAMED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WhatsappTemplateEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
2
|
import { WhatsappTemplateAttributesDto } from '../dtos/whatsapp.template.attributes.dto';
|
|
3
|
-
export declare class
|
|
4
|
-
name: string;
|
|
5
|
-
identifier: string;
|
|
3
|
+
export declare class AccessWhatsappTemplateEntity extends WhatsappTemplateEntity {
|
|
6
4
|
content: string;
|
|
7
5
|
variables: any;
|
|
8
6
|
active: boolean;
|
package/dist/access/entities/{whatsapp.template.entity.js → access.whatsapp.template.entity.js}
RENAMED
|
@@ -9,38 +9,30 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
12
|
+
exports.AccessWhatsappTemplateEntity = void 0;
|
|
14
13
|
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
15
|
const whatsapp_template_attributes_dto_1 = require("../dtos/whatsapp.template.attributes.dto");
|
|
16
|
-
let
|
|
16
|
+
let AccessWhatsappTemplateEntity = class AccessWhatsappTemplateEntity extends nestjs_utility_services_1.WhatsappTemplateEntity {
|
|
17
17
|
};
|
|
18
|
-
exports.
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, typeorm_1.Column)(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], WhatsappTemplateEntity.prototype, "name", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, typeorm_1.Column)(),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], WhatsappTemplateEntity.prototype, "identifier", void 0);
|
|
18
|
+
exports.AccessWhatsappTemplateEntity = AccessWhatsappTemplateEntity;
|
|
27
19
|
__decorate([
|
|
28
20
|
(0, typeorm_1.Column)(),
|
|
29
21
|
__metadata("design:type", String)
|
|
30
|
-
],
|
|
22
|
+
], AccessWhatsappTemplateEntity.prototype, "content", void 0);
|
|
31
23
|
__decorate([
|
|
32
24
|
(0, typeorm_1.Column)('json'),
|
|
33
25
|
__metadata("design:type", Object)
|
|
34
|
-
],
|
|
26
|
+
], AccessWhatsappTemplateEntity.prototype, "variables", void 0);
|
|
35
27
|
__decorate([
|
|
36
28
|
(0, typeorm_1.Column)(),
|
|
37
29
|
__metadata("design:type", Boolean)
|
|
38
|
-
],
|
|
30
|
+
], AccessWhatsappTemplateEntity.prototype, "active", void 0);
|
|
39
31
|
__decorate([
|
|
40
32
|
(0, typeorm_1.Column)('json'),
|
|
41
33
|
__metadata("design:type", whatsapp_template_attributes_dto_1.WhatsappTemplateAttributesDto)
|
|
42
|
-
],
|
|
43
|
-
exports.
|
|
34
|
+
], AccessWhatsappTemplateEntity.prototype, "attributes", void 0);
|
|
35
|
+
exports.AccessWhatsappTemplateEntity = AccessWhatsappTemplateEntity = __decorate([
|
|
44
36
|
(0, typeorm_1.Entity)('sys_whatsapp_templates')
|
|
45
|
-
],
|
|
46
|
-
//# sourceMappingURL=whatsapp.template.entity.js.map
|
|
37
|
+
], AccessWhatsappTemplateEntity);
|
|
38
|
+
//# sourceMappingURL=access.whatsapp.template.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"access.whatsapp.template.entity.js","sourceRoot":"","sources":["../../../src/access/entities/access.whatsapp.template.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAgF;AAChF,qCAAyC;AACzC,+FAAyF;AAOlF,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,gDAAsB;CAcvE,CAAA;AAdY,oEAA4B;AAErC;IADC,IAAA,gBAAM,GAAE;;6DACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;+DACA;AAGf;IADC,IAAA,gBAAM,GAAE;;4DACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,gEAA6B;gEAAC;uCAXjC,4BAA4B;IADxC,IAAA,gBAAM,EAAC,wBAAwB,CAAC;GACpB,4BAA4B,CAcxC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './access.business.entity';
|
|
2
2
|
export * from './access.employee.entity';
|
|
3
|
+
export * from './access.whatsapp.template.entity';
|
|
3
4
|
export * from './api.account.entity';
|
|
4
5
|
export * from './app.integration.entity';
|
|
5
6
|
export * from './business.app.integration.credential.entity';
|
|
@@ -99,5 +100,4 @@ export * from './webhook.slug.entity';
|
|
|
99
100
|
export * from './webhook.type.entity';
|
|
100
101
|
export * from './whatsapp.message.entity';
|
|
101
102
|
export * from './whatsapp.preference.entity';
|
|
102
|
-
export * from './whatsapp.template.entity';
|
|
103
103
|
export * from './whitelisted.whatsapp.number.entity';
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./access.business.entity"), exports);
|
|
18
18
|
__exportStar(require("./access.employee.entity"), exports);
|
|
19
|
+
__exportStar(require("./access.whatsapp.template.entity"), exports);
|
|
19
20
|
__exportStar(require("./api.account.entity"), exports);
|
|
20
21
|
__exportStar(require("./app.integration.entity"), exports);
|
|
21
22
|
__exportStar(require("./business.app.integration.credential.entity"), exports);
|
|
@@ -115,6 +116,5 @@ __exportStar(require("./webhook.slug.entity"), exports);
|
|
|
115
116
|
__exportStar(require("./webhook.type.entity"), exports);
|
|
116
117
|
__exportStar(require("./whatsapp.message.entity"), exports);
|
|
117
118
|
__exportStar(require("./whatsapp.preference.entity"), exports);
|
|
118
|
-
__exportStar(require("./whatsapp.template.entity"), exports);
|
|
119
119
|
__exportStar(require("./whitelisted.whatsapp.number.entity"), exports);
|
|
120
120
|
//# sourceMappingURL=index.js.map
|