@servicelabsco/slabs-access-manager 1.0.74 → 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/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 +1 -0
- package/dist/access/dtos/index.js +1 -0
- package/dist/access/dtos/index.js.map +1 -1
- 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 +8 -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.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/process.report.listing.d.ts +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/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,wBAA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AAI,GAAE;IACO,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,8CAAoB;;sDAI9C;AAaK;IADL,IAAA,aAAI,EAAC,YAAY,CAAC;IACC,WAAA,IAAA,cAAK,GAAE,CAAA;IAA4B,WAAA,IAAA,aAAI,EAAC,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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AE,CAAA;;qCAAS,qCAAgB;;oDAU/C;AAUK;IADL,IAAA,aAAI,EAAC,uBAAuB,CAAC;IACZ,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;sDAUjD;+BAtIQ,oBAAoB;IADhC,IAAA,mBAAU,EAAC,4BAA4B,CAAC;qCAGO,+CAAqB;QAChC,oCAAU;QACN,gCAAc;GAJ1C,oBAAoB,CAuJhC"}
|
|
@@ -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';
|
|
@@ -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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;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C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,gEAA8C;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,qEAAmD;AAAA,+EAA4D"}
|
|
@@ -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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,+EAA6D;AAAA,oEAAkD;AAAA,6EAA2D;AAAA,6DAA2C;AAAA,wEAAsD;AAAA,0DAAwC;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,kEAAgD;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,iFAA+D;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,8EAA4D;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,qDAAmC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,2DAAyC;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,8DAA4C;AAAA,oEAAkD;AAAA,yDAAuC;AAAA,6DAA2C;AAAA,yDAAuC;AAAA,uDAAqC;AAAA,qDAAmC;AAAA,mDAAiC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,uDAAqC;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,0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uC;AAAA,2DAAyC;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,8DAA4C;AAAA,oEAAkD;AAAA,yDAAuC;AAAA,6DAA2C;AAAA,yDAAuC;AAAA,uDAAqC;AAAA,qDAAmC;AAAA,mDAAiC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,uDAAqC;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,gDAA8B;AAAA,qDAAmC;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,+DAA6C;AAAA,wDAAsC;AAAA,2DAAyC;AAAA,6DAA2C;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,mDAAiC;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,sDAAoC;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,6DAA2C;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,qDAAmC;AAAA,0DAAwC;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,2DAAyC;AAAA,qDAAmC;AAAA,gEAA8C;AAAA,yDAAuC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,uEAAoD"}
|
|
@@ -333,6 +333,7 @@ import { ProcessBusinessUserGroupList } from './libraries/process.business.user.
|
|
|
333
333
|
import { ProcessBusinessUserNotificationPreferenceList } from './libraries/process.business.user.notification.preference.list';
|
|
334
334
|
import { ProcessBusinessUserRoleUpdate } from './libraries/process.business.user.role.update';
|
|
335
335
|
import { ProcessChoiceListData } from './libraries/process.choice.list.data';
|
|
336
|
+
import { ProcessChoiceListList } from './libraries/process.choice.list.list';
|
|
336
337
|
import { ProcessChoiceTypeData } from './libraries/process.choice.type.data';
|
|
337
338
|
import { ProcessChoiceTypeList } from './libraries/process.choice.type.list';
|
|
338
339
|
import { ProcessCommonCustomField } from './libraries/process.common.custom.field';
|
|
@@ -367,6 +368,7 @@ import { ProcessGstMappingData } from './libraries/process.gst.mapping.data';
|
|
|
367
368
|
import { ProcessGstMappingList } from './libraries/process.gst.mapping.list';
|
|
368
369
|
import { ProcessInternalNotification } from './libraries/process.internal.notification';
|
|
369
370
|
import { ProcessListingCsvFile } from './libraries/process.listing.csv.file';
|
|
371
|
+
import { ProcessListingOrder } from './libraries/process.listing.order';
|
|
370
372
|
import { ProcessListingPageCreation } from './libraries/process.listing.page.creation';
|
|
371
373
|
import { ProcessListingPageQuery } from './libraries/process.listing.page.query';
|
|
372
374
|
import { ProcessLockScriptData } from './libraries/process.lock.script.data';
|
|
@@ -560,7 +562,7 @@ declare const es6Classes: {
|
|
|
560
562
|
entities: (typeof AccessBusinessEntity | typeof EmailMessageEntity | typeof EmailRecipientEntity | typeof BusinessUserEntity | typeof ProductEntity | typeof EmailStyleEntity | typeof EmailTemplateLogEntity | typeof EmailTemplateRecipientEntity | typeof FcmMessageEntity | typeof FcmTokenEntity | typeof GchatUserEntity | typeof GchatMessageEntity | typeof GchatWebhookMessageEntity | typeof SlackMessageEntity | typeof BzNotificationChannelPreferenceEntity | typeof SlackIntegrationEntity | typeof SlackUserEntity | typeof WhatsappMessageEntity | typeof WhatsappPreferenceEntity | typeof OnholdDocumentEntity | typeof BusinessAppIntegrationCredentialEntity | typeof BusinessAppIntegrationMessagesEntity | typeof BusinessCurrencyEntity | typeof BusinessDownloadableReportEntity | typeof ChildMenuEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof MenuRoleEntity | typeof FeatureMenuEntity | typeof BusinessFeatureEntity | typeof BusinessGroupRoleEntity | typeof BusinessMaterialViewEntity | typeof BusinessMenuEntity | typeof BusinessReportEntity | typeof ExecutionLogEntity | typeof GroupRoleEntity | typeof BusinessUserRoleEntity | typeof BusinessWebhookEntity | typeof ConversationEntity | typeof CurrencyRateEntity | typeof DashboardComponentEntity | typeof DeviceCodeEntity | typeof DownloadLogEntity | typeof EventTriggerLogEntity | typeof FinnotoUserEntity | typeof GroupMemberEntity | typeof GstMappingEntity | typeof PreferenceUserEntity | typeof PreferenceUserGroupEntity | typeof LockScriptEntity | typeof ModuleMenuEntity | typeof OauthAuthorizationEntity | typeof OauthClientEntity | typeof ReportLogEntity | typeof RequestLogEntity | typeof ScheduledReportEntity | typeof ScheduledReportEmailEntity | typeof ScheduledReportItemEntity | typeof SlackWebhookMessageEntity | typeof UserNotificationEntity | typeof UserRoleEntity | typeof WatchlistAssignmentEntity | typeof WebhookLogEntity | typeof WebhookSlugEntity)[];
|
|
561
563
|
enums: (typeof NotificationTypeEnum | typeof NotificationChannelTypeEnum | typeof RecurringPeriodEnum | typeof ListingViewTypeEnum | typeof CustomColumnTypeEnum | typeof ProductTypeEnum | typeof PlatformTypeEnum)[];
|
|
562
564
|
jobs: (typeof EvaluateEmailRuleJob | typeof WhatsappMessagePayloadDto | typeof AccessTestJob | typeof ApiAccountJob | typeof AppIntegrationJob | typeof BusinessAppIntegrationCredentialJob | typeof BusinessAppIntegrationJob | typeof BusinessAppIntegrationMessagesJob | typeof BusinessCurrencyJob | typeof BusinessDownloadableReportJob | typeof BusinessEmailJob | typeof BusinessFeatureJob | typeof BusinessGroupRoleJob | typeof BusinessMenuJob | typeof BusinessPreferenceJob | typeof BusinessPropertyJob | typeof GenerateBusinessReportJob | typeof SendBusinessReportNotificationJob | typeof BusinessReportJob | typeof SetBusinessScriptScheduleJob | typeof BusinessScriptJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserNotificationPreferenceJob | typeof BusinessUserRoleJob | typeof BusinessWebhookJob | typeof BzNotificationChannelPreferenceJob | typeof CaptureEventTriggerJob | typeof ChildMenuJob | typeof ChoiceListJob | typeof ChoiceTypeJob | typeof ConversationJob | typeof CurrencyRateJob | typeof CustomFieldJob | typeof CustomReportJob | typeof DashboardComponentJob | typeof DashboardJob | typeof DownloadLogJob | typeof SyncEmailMessageMetricsJob | typeof EmailAttachmentJob | typeof SetEmailUnreadCountJob | typeof EmailMessageJob | typeof EmailRecipientJob | typeof EmailRuleJob | typeof EmailStyleJob | typeof EmailTemplateLogJob | typeof EmailTemplateRecipientJob | typeof EventTriggerJob | typeof EventTriggerLogJob | typeof ExecuteBusinessScriptJob | typeof ExecutionLogJob | typeof FcmMessageJob | typeof FcmNotificationJob | typeof FcmTemplateJob | typeof FcmTokenJob | typeof FeatureJob | typeof FeatureMenuJob | typeof FormScriptJob | typeof GchatIncomingWebhookJob | typeof GchatMessageJob | typeof GchatTemplateJob | typeof GchatUserJob | typeof GchatWebhookJob | typeof GchatWebhookMessageJob | typeof GmailIntegrationFetchMessagesJob | typeof GroupMemberJob | typeof GroupRoleJob | typeof GstMappingJob | typeof ListPreferenceJob | typeof ListingColumnJob | typeof ListingPageJob | typeof ListingPreferenceJob | typeof LockScriptJob | typeof MenuActionJob | typeof MenuJob | typeof MenuRoleJob | typeof ModuleJob | typeof ModuleMenuJob | typeof OnholdDocumentJob | typeof OverridingScriptJob | typeof PreferenceUserGroupJob | typeof PreferenceUsersJob | typeof ProcessServerEmailJob | typeof ProductJob | typeof RefreshBusinessPropertyJob | typeof ReportLogJob | typeof RequestLogJob | typeof RoleGroupJob | typeof ScheduledReportEmailJob | typeof ScheduledReportItemJob | typeof ScheduledReportJob | typeof SlackIncomingWebhookJob | typeof SlackIntegrationJob | typeof SlackMessageJob | typeof SlackTemplateJob | typeof SlackUserJob | typeof SlackWebhookJob | typeof SlackWebhookMessageJob | typeof SyncBURoleJob | typeof SyncEmailMessagesJob | typeof SyncMenuJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserBusinessSecretJob | typeof UserNotificationJob | typeof UserPreferenceJob | typeof UserRoleJob | typeof WatchlistAssignmentJob | typeof WebhookEventJob | typeof WebhookLogJob | typeof WebhookSlugJob | typeof WebhookTypeJob | typeof WhatsappIncomingWebhookJob | typeof WhatsappMessageJob | typeof WhatsappTemplateJob | typeof WhitelistedWhatsappNumberJob)[];
|
|
563
|
-
libraries: (typeof DateFn | typeof EvaluateEmailRule | typeof SanitizeEmailAddresses | typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendFcmNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof ProcessWhatsappMessage | typeof SendWhatsappMessageNotification | typeof ProcessDbFind | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessListingCsvFile | typeof SendWebhookRequest | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessApiAccountList | typeof ProcessBulkUploadItemList | typeof ProcessBulkUploadList | typeof ProcessWhatsappIntegration | typeof ProcessAppIntegration | typeof ProcessBusinessCurrencyList | typeof ProcessBusinessEmailList | typeof ProcessBusinessNotificationChannelPreferenceList | typeof ProcessBusinessPropertyData | typeof ProcessBusinessPropertyList | typeof ProcessBusinessReportList | typeof ProcessGenerateReport | typeof ProcessDownloadableReportsList | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessReportSheetData | typeof ExecuteBusinessScript | typeof ProcessBusinessScriptCreation | typeof ProcessBusinessScriptList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessBusinessUserNotificationPreferenceList | typeof ProcessChoiceListData | typeof ProcessChoiceTypeData | typeof ProcessChoiceTypeList | typeof ProcessAmazonIntegration | typeof ProcessSlackIntegration | typeof ProcessZohoIntegration | typeof ProcessCurrencyRateList | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof CreateUserBusinessSecret | typeof ExtractClientCredentials | typeof ProcessDownloadLogList | typeof ProcessEmailRuleData | typeof ProcessEmailRuleList | typeof ProcessEventTriggerData | typeof ProcessEventTriggerList | typeof ProcessEventTriggerLogList | typeof SetFcmToken | typeof ProcessFormScriptList | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessGstMappingData | typeof ProcessGstMappingList | typeof ProcessListingPageQuery | typeof ProcessListingPageCreation | typeof ProcessPreferenceData | typeof ProcessLockScriptData | typeof ProcessLockScriptList | typeof ProcessMenuCreation | typeof ProcessModuleCreation | typeof ProcessModuleMenuCreation | typeof OauthPkce | typeof ProcessOverridingScriptData | typeof ProcessOverridingScriptList | {
|
|
565
|
+
libraries: (typeof DateFn | typeof EvaluateEmailRule | typeof SanitizeEmailAddresses | typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendFcmNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof ProcessWhatsappMessage | typeof SendWhatsappMessageNotification | typeof ProcessDbFind | typeof ProcessDateFilter | typeof ProcessListingOrder | typeof ProcessCommonList | typeof ProcessListingCsvFile | typeof SendWebhookRequest | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessApiAccountList | typeof ProcessBulkUploadItemList | typeof ProcessBulkUploadList | typeof ProcessWhatsappIntegration | typeof ProcessAppIntegration | typeof ProcessBusinessCurrencyList | typeof ProcessBusinessEmailList | typeof ProcessBusinessNotificationChannelPreferenceList | typeof ProcessBusinessPropertyData | typeof ProcessBusinessPropertyList | typeof ProcessBusinessReportList | typeof ProcessGenerateReport | typeof ProcessDownloadableReportsList | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessReportSheetData | typeof ExecuteBusinessScript | typeof ProcessBusinessScriptCreation | typeof ProcessBusinessScriptList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessBusinessUserNotificationPreferenceList | typeof ProcessChoiceListData | typeof ProcessChoiceListList | typeof ProcessChoiceTypeData | typeof ProcessChoiceTypeList | typeof ProcessAmazonIntegration | typeof ProcessSlackIntegration | typeof ProcessZohoIntegration | typeof ProcessCurrencyRateList | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof CreateUserBusinessSecret | typeof ExtractClientCredentials | typeof ProcessDownloadLogList | typeof ProcessEmailRuleData | typeof ProcessEmailRuleList | typeof ProcessEventTriggerData | typeof ProcessEventTriggerList | typeof ProcessEventTriggerLogList | typeof SetFcmToken | typeof ProcessFormScriptList | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessGstMappingData | typeof ProcessGstMappingList | typeof ProcessListingPageQuery | typeof ProcessListingPageCreation | typeof ProcessPreferenceData | typeof ProcessLockScriptData | typeof ProcessLockScriptList | typeof ProcessMenuCreation | typeof ProcessModuleCreation | typeof ProcessModuleMenuCreation | typeof OauthPkce | typeof ProcessOverridingScriptData | typeof ProcessOverridingScriptList | {
|
|
564
566
|
invalidateReportViewEnablement: typeof import("./libraries/report.view.enablement").invalidateReportViewEnablement;
|
|
565
567
|
loadReportViewOverrides: typeof import("./libraries/report.view.enablement").loadReportViewOverrides;
|
|
566
568
|
isViewEnabledForBusiness: typeof import("./libraries/report.view.enablement").isViewEnabledForBusiness;
|
|
@@ -128,6 +128,7 @@ const business_webhook_attributes_dto_1 = require("./dtos/business.webhook.attri
|
|
|
128
128
|
const bz_notification_channel_preference_attributes_dto_1 = require("./dtos/bz.notification.channel.preference.attributes.dto");
|
|
129
129
|
const child_menu_attributes_dto_1 = require("./dtos/child.menu.attributes.dto");
|
|
130
130
|
const choice_list_attributes_dto_1 = require("./dtos/choice.list.attributes.dto");
|
|
131
|
+
const choice_list_list_filter_dto_1 = require("./dtos/choice.list.list.filter.dto");
|
|
131
132
|
const choice_type_attributes_dto_1 = require("./dtos/choice.type.attributes.dto");
|
|
132
133
|
const choice_type_list_filter_dto_1 = require("./dtos/choice.type.list.filter.dto");
|
|
133
134
|
const common_list_filter_dto_1 = require("./dtos/common.list.filter.dto");
|
|
@@ -271,6 +272,7 @@ const whatsapp_template_attributes_dto_1 = require("./dtos/whatsapp.template.att
|
|
|
271
272
|
const whitelisted_whatsapp_number_attributes_dto_1 = require("./dtos/whitelisted.whatsapp.number.attributes.dto");
|
|
272
273
|
const access_business_entity_1 = require("./entities/access.business.entity");
|
|
273
274
|
const access_employee_entity_1 = require("./entities/access.employee.entity");
|
|
275
|
+
const access_whatsapp_template_entity_1 = require("./entities/access.whatsapp.template.entity");
|
|
274
276
|
const api_account_entity_1 = require("./entities/api.account.entity");
|
|
275
277
|
const app_integration_entity_1 = require("./entities/app.integration.entity");
|
|
276
278
|
const business_app_integration_credential_entity_1 = require("./entities/business.app.integration.credential.entity");
|
|
@@ -370,7 +372,6 @@ const webhook_slug_entity_1 = require("./entities/webhook.slug.entity");
|
|
|
370
372
|
const webhook_type_entity_1 = require("./entities/webhook.type.entity");
|
|
371
373
|
const whatsapp_message_entity_1 = require("./entities/whatsapp.message.entity");
|
|
372
374
|
const whatsapp_preference_entity_1 = require("./entities/whatsapp.preference.entity");
|
|
373
|
-
const whatsapp_template_entity_1 = require("./entities/whatsapp.template.entity");
|
|
374
375
|
const whitelisted_whatsapp_number_entity_1 = require("./entities/whitelisted.whatsapp.number.entity");
|
|
375
376
|
const custom_column_type_enum_1 = require("./enums/custom.column.type.enum");
|
|
376
377
|
const listing_view_type_enum_1 = require("./enums/listing.view.type.enum");
|
|
@@ -526,6 +527,7 @@ const process_business_user_group_list_1 = require("./libraries/process.business
|
|
|
526
527
|
const process_business_user_notification_preference_list_1 = require("./libraries/process.business.user.notification.preference.list");
|
|
527
528
|
const process_business_user_role_update_1 = require("./libraries/process.business.user.role.update");
|
|
528
529
|
const process_choice_list_data_1 = require("./libraries/process.choice.list.data");
|
|
530
|
+
const process_choice_list_list_1 = require("./libraries/process.choice.list.list");
|
|
529
531
|
const process_choice_type_data_1 = require("./libraries/process.choice.type.data");
|
|
530
532
|
const process_choice_type_list_1 = require("./libraries/process.choice.type.list");
|
|
531
533
|
const process_common_custom_field_1 = require("./libraries/process.common.custom.field");
|
|
@@ -561,6 +563,7 @@ const process_gst_mapping_data_1 = require("./libraries/process.gst.mapping.data
|
|
|
561
563
|
const process_gst_mapping_list_1 = require("./libraries/process.gst.mapping.list");
|
|
562
564
|
const process_internal_notification_1 = require("./libraries/process.internal.notification");
|
|
563
565
|
const process_listing_csv_file_1 = require("./libraries/process.listing.csv.file");
|
|
566
|
+
const process_listing_order_1 = require("./libraries/process.listing.order");
|
|
564
567
|
const process_listing_page_creation_1 = require("./libraries/process.listing.page.creation");
|
|
565
568
|
const process_listing_page_query_1 = require("./libraries/process.listing.page.query");
|
|
566
569
|
const process_lock_script_data_1 = require("./libraries/process.lock.script.data");
|
|
@@ -881,6 +884,7 @@ const es6Classes = {
|
|
|
881
884
|
bz_notification_channel_preference_attributes_dto_1.BzNotificationChannelPreferenceAttributesDto,
|
|
882
885
|
child_menu_attributes_dto_1.ChildMenuAttributesDto,
|
|
883
886
|
choice_list_attributes_dto_1.ChoiceListAttributesDto,
|
|
887
|
+
choice_list_list_filter_dto_1.ChoiceListListFilterDto,
|
|
884
888
|
choice_type_attributes_dto_1.ChoiceTypeAttributesDto,
|
|
885
889
|
choice_type_list_filter_dto_1.ChoiceTypeListFilterDto,
|
|
886
890
|
common_list_filter_dto_1.CommonListFilterDto,
|
|
@@ -1026,6 +1030,7 @@ const es6Classes = {
|
|
|
1026
1030
|
entities: [
|
|
1027
1031
|
access_business_entity_1.AccessBusinessEntity,
|
|
1028
1032
|
access_employee_entity_1.AccessEmployeeEntity,
|
|
1033
|
+
access_whatsapp_template_entity_1.AccessWhatsappTemplateEntity,
|
|
1029
1034
|
api_account_entity_1.ApiAccountEntity,
|
|
1030
1035
|
app_integration_entity_1.AppIntegrationEntity,
|
|
1031
1036
|
business_app_integration_credential_entity_1.BusinessAppIntegrationCredentialEntity,
|
|
@@ -1125,7 +1130,6 @@ const es6Classes = {
|
|
|
1125
1130
|
webhook_type_entity_1.WebhookTypeEntity,
|
|
1126
1131
|
whatsapp_message_entity_1.WhatsappMessageEntity,
|
|
1127
1132
|
whatsapp_preference_entity_1.WhatsappPreferenceEntity,
|
|
1128
|
-
whatsapp_template_entity_1.WhatsappTemplateEntity,
|
|
1129
1133
|
whitelisted_whatsapp_number_entity_1.WhitelistedWhatsappNumberEntity,
|
|
1130
1134
|
],
|
|
1131
1135
|
enums: [
|
|
@@ -1287,6 +1291,7 @@ const es6Classes = {
|
|
|
1287
1291
|
process_business_user_notification_preference_list_1.ProcessBusinessUserNotificationPreferenceList,
|
|
1288
1292
|
process_business_user_role_update_1.ProcessBusinessUserRoleUpdate,
|
|
1289
1293
|
process_choice_list_data_1.ProcessChoiceListData,
|
|
1294
|
+
process_choice_list_list_1.ProcessChoiceListList,
|
|
1290
1295
|
process_choice_type_data_1.ProcessChoiceTypeData,
|
|
1291
1296
|
process_choice_type_list_1.ProcessChoiceTypeList,
|
|
1292
1297
|
process_common_custom_field_1.ProcessCommonCustomField,
|
|
@@ -1322,6 +1327,7 @@ const es6Classes = {
|
|
|
1322
1327
|
process_gst_mapping_list_1.ProcessGstMappingList,
|
|
1323
1328
|
process_internal_notification_1.ProcessInternalNotification,
|
|
1324
1329
|
process_listing_csv_file_1.ProcessListingCsvFile,
|
|
1330
|
+
process_listing_order_1.ProcessListingOrder,
|
|
1325
1331
|
process_listing_page_creation_1.ProcessListingPageCreation,
|
|
1326
1332
|
process_listing_page_query_1.ProcessListingPageQuery,
|
|
1327
1333
|
process_lock_script_data_1.ProcessLockScriptData,
|