@servicelabsco/slabs-access-manager 0.1.169 → 0.1.171
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access/controllers/business.notification.channel.preference.controller.d.ts +17 -0
- package/dist/access/controllers/business.notification.channel.preference.controller.js +112 -0
- package/dist/access/controllers/business.notification.channel.preference.controller.js.map +1 -0
- package/dist/access/controllers/business.user.notification.preference.controller.d.ts +21 -0
- package/dist/access/controllers/business.user.notification.preference.controller.js +138 -0
- package/dist/access/controllers/business.user.notification.preference.controller.js.map +1 -0
- package/dist/access/controllers/business.webhook.controller.d.ts +13 -0
- package/dist/access/controllers/business.webhook.controller.js +81 -0
- package/dist/access/controllers/business.webhook.controller.js.map +1 -0
- package/dist/access/controllers/index.d.ts +3 -0
- package/dist/access/controllers/index.js +3 -0
- package/dist/access/controllers/index.js.map +1 -1
- package/dist/access/dtos/add.business.user.notification.preference.dto.d.ts +6 -0
- package/dist/access/dtos/add.business.user.notification.preference.dto.js +43 -0
- package/dist/access/dtos/add.business.user.notification.preference.dto.js.map +1 -0
- package/dist/access/dtos/add.notification.channel.preference.dto.d.ts +6 -0
- package/dist/access/dtos/add.notification.channel.preference.dto.js +43 -0
- package/dist/access/dtos/add.notification.channel.preference.dto.js.map +1 -0
- package/dist/access/dtos/add.webhook.dto.d.ts +5 -0
- package/dist/access/dtos/add.webhook.dto.js +36 -0
- package/dist/access/dtos/add.webhook.dto.js.map +1 -0
- package/dist/access/dtos/business.notification.channel.preference.list.filter.dto.d.ts +4 -0
- package/dist/access/dtos/business.notification.channel.preference.list.filter.dto.js +25 -0
- package/dist/access/dtos/business.notification.channel.preference.list.filter.dto.js.map +1 -0
- package/dist/access/dtos/business.user.notification.preference.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/business.user.notification.preference.attributes.dto.js +8 -0
- package/dist/access/dtos/business.user.notification.preference.attributes.dto.js.map +1 -0
- package/dist/access/dtos/business.user.notification.preference.list.filter.dto.d.ts +5 -0
- package/dist/access/dtos/business.user.notification.preference.list.filter.dto.js +31 -0
- package/dist/access/dtos/business.user.notification.preference.list.filter.dto.js.map +1 -0
- package/dist/access/dtos/business.webhook.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/business.webhook.attributes.dto.js +8 -0
- package/dist/access/dtos/business.webhook.attributes.dto.js.map +1 -0
- package/dist/access/dtos/bz.notification.channel.preference.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/bz.notification.channel.preference.attributes.dto.js +8 -0
- package/dist/access/dtos/bz.notification.channel.preference.attributes.dto.js.map +1 -0
- package/dist/access/dtos/index.d.ts +11 -0
- package/dist/access/dtos/index.js +11 -0
- package/dist/access/dtos/index.js.map +1 -1
- package/dist/access/dtos/send.webhook.request.payload.d.ts +4 -0
- package/dist/access/dtos/send.webhook.request.payload.js +7 -0
- package/dist/access/dtos/send.webhook.request.payload.js.map +1 -0
- package/dist/access/dtos/webhook.event.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/webhook.event.attributes.dto.js +8 -0
- package/dist/access/dtos/webhook.event.attributes.dto.js.map +1 -0
- package/dist/access/dtos/webhook.log.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/webhook.log.attributes.dto.js +8 -0
- package/dist/access/dtos/webhook.log.attributes.dto.js.map +1 -0
- package/dist/access/entities/app.integration.entity.d.ts +1 -0
- package/dist/access/entities/app.integration.entity.js +4 -0
- package/dist/access/entities/app.integration.entity.js.map +1 -1
- package/dist/access/entities/business.user.notification.preference.entity.d.ts +15 -0
- package/dist/access/entities/business.user.notification.preference.entity.js +68 -0
- package/dist/access/entities/business.user.notification.preference.entity.js.map +1 -0
- package/dist/access/entities/business.webhook.entity.d.ts +12 -0
- package/dist/access/entities/business.webhook.entity.js +52 -0
- package/dist/access/entities/business.webhook.entity.js.map +1 -0
- package/dist/access/entities/bz.notification.channel.preference.entity.d.ts +13 -0
- package/dist/access/entities/bz.notification.channel.preference.entity.js +59 -0
- package/dist/access/entities/bz.notification.channel.preference.entity.js.map +1 -0
- package/dist/access/entities/index.d.ts +5 -0
- package/dist/access/entities/index.js +5 -0
- package/dist/access/entities/index.js.map +1 -1
- package/dist/access/entities/webhook.event.entity.d.ts +9 -0
- package/dist/access/entities/webhook.event.entity.js +42 -0
- package/dist/access/entities/webhook.event.entity.js.map +1 -0
- package/dist/access/entities/webhook.log.entity.d.ts +16 -0
- package/dist/access/entities/webhook.log.entity.js +66 -0
- package/dist/access/entities/webhook.log.entity.js.map +1 -0
- package/dist/access/enums/index.d.ts +1 -0
- package/dist/access/enums/index.js +1 -0
- package/dist/access/enums/index.js.map +1 -1
- package/dist/access/enums/notification.channel.type.enum.d.ts +7 -0
- package/dist/access/enums/notification.channel.type.enum.js +12 -0
- package/dist/access/enums/notification.channel.type.enum.js.map +1 -0
- package/dist/access/es6.classes.d.ts +30 -8
- package/dist/access/es6.classes.js +67 -2
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/jobs/business.user.notification.preference.job.d.ts +7 -0
- package/dist/access/jobs/business.user.notification.preference.job.js +29 -0
- package/dist/access/jobs/business.user.notification.preference.job.js.map +1 -0
- package/dist/access/jobs/business.webhook.job.d.ts +7 -0
- package/dist/access/jobs/business.webhook.job.js +29 -0
- package/dist/access/jobs/business.webhook.job.js.map +1 -0
- package/dist/access/jobs/bz.notification.channel.preference.job.d.ts +7 -0
- package/dist/access/jobs/bz.notification.channel.preference.job.js +29 -0
- package/dist/access/jobs/bz.notification.channel.preference.job.js.map +1 -0
- package/dist/access/jobs/index.d.ts +5 -0
- package/dist/access/jobs/index.js +5 -0
- package/dist/access/jobs/index.js.map +1 -1
- package/dist/access/jobs/webhook.event.job.d.ts +7 -0
- package/dist/access/jobs/webhook.event.job.js +29 -0
- package/dist/access/jobs/webhook.event.job.js.map +1 -0
- package/dist/access/jobs/webhook.log.job.d.ts +7 -0
- package/dist/access/jobs/webhook.log.job.js +29 -0
- package/dist/access/jobs/webhook.log.job.js.map +1 -0
- package/dist/access/libraries/business.notification.channel.preference.list.d.ts +21 -0
- package/dist/access/libraries/business.notification.channel.preference.list.js +41 -0
- package/dist/access/libraries/business.notification.channel.preference.list.js.map +1 -0
- package/dist/access/libraries/business.user.notification.preference.list.d.ts +22 -0
- package/dist/access/libraries/business.user.notification.preference.list.js +47 -0
- package/dist/access/libraries/business.user.notification.preference.list.js.map +1 -0
- package/dist/access/libraries/index.d.ts +3 -0
- package/dist/access/libraries/index.js +3 -0
- package/dist/access/libraries/index.js.map +1 -1
- package/dist/access/libraries/send.webhook.request.d.ts +20 -0
- package/dist/access/libraries/send.webhook.request.js +71 -0
- package/dist/access/libraries/send.webhook.request.js.map +1 -0
- package/dist/access/services/es6.jobs.service.d.ts +11 -1
- package/dist/access/services/es6.jobs.service.js +21 -1
- package/dist/access/services/es6.jobs.service.js.map +1 -1
- package/dist/access/services/webhook.service.d.ts +5 -2
- package/dist/access/services/webhook.service.js +12 -2
- package/dist/access/services/webhook.service.js.map +1 -1
- package/dist/access/subscribers/business.user.notification.preference.subscriber.d.ts +10 -0
- package/dist/access/subscribers/business.user.notification.preference.subscriber.js +34 -0
- package/dist/access/subscribers/business.user.notification.preference.subscriber.js.map +1 -0
- package/dist/access/subscribers/business.webhook.subscriber.d.ts +10 -0
- package/dist/access/subscribers/business.webhook.subscriber.js +34 -0
- package/dist/access/subscribers/business.webhook.subscriber.js.map +1 -0
- package/dist/access/subscribers/bz.notification.channel.preference.subscriber.d.ts +10 -0
- package/dist/access/subscribers/bz.notification.channel.preference.subscriber.js +34 -0
- package/dist/access/subscribers/bz.notification.channel.preference.subscriber.js.map +1 -0
- package/dist/access/subscribers/index.d.ts +5 -0
- package/dist/access/subscribers/index.js +5 -0
- package/dist/access/subscribers/index.js.map +1 -1
- package/dist/access/subscribers/webhook.event.subscriber.d.ts +10 -0
- package/dist/access/subscribers/webhook.event.subscriber.js +34 -0
- package/dist/access/subscribers/webhook.event.subscriber.js.map +1 -0
- package/dist/access/subscribers/webhook.log.subscriber.d.ts +10 -0
- package/dist/access/subscribers/webhook.log.subscriber.js +34 -0
- package/dist/access/subscribers/webhook.log.subscriber.js.map +1 -0
- package/dist/config/entity.constants.d.ts +10 -0
- package/dist/config/entity.constants.js +10 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/migrations/1725343070093-AddEnabledGloballyBzAppIntegrationsTable.d.ts +5 -0
- package/dist/migrations/1725343070093-AddEnabledGloballyBzAppIntegrationsTable.js +15 -0
- package/dist/migrations/1725343070093-AddEnabledGloballyBzAppIntegrationsTable.js.map +1 -0
- package/dist/migrations/1725343451546-AddNotificationChannelDataSeederTable.d.ts +7 -0
- package/dist/migrations/1725343451546-AddNotificationChannelDataSeederTable.js +65 -0
- package/dist/migrations/1725343451546-AddNotificationChannelDataSeederTable.js.map +1 -0
- package/dist/migrations/1725343967311-CreateBzUserNotificationPreferencesTable.d.ts +5 -0
- package/dist/migrations/1725343967311-CreateBzUserNotificationPreferencesTable.js +22 -0
- package/dist/migrations/1725343967311-CreateBzUserNotificationPreferencesTable.js.map +1 -0
- package/dist/migrations/1725354088464-CreateBzNotificationChannelPreferenceTable.d.ts +5 -0
- package/dist/migrations/1725354088464-CreateBzNotificationChannelPreferenceTable.js +21 -0
- package/dist/migrations/1725354088464-CreateBzNotificationChannelPreferenceTable.js.map +1 -0
- package/dist/migrations/1725422481585-CreateBusinessWebhookTable.d.ts +5 -0
- package/dist/migrations/1725422481585-CreateBusinessWebhookTable.js +22 -0
- package/dist/migrations/1725422481585-CreateBusinessWebhookTable.js.map +1 -0
- package/dist/migrations/1725428002811-CreateWebhookEventTable.d.ts +5 -0
- package/dist/migrations/1725428002811-CreateWebhookEventTable.js +21 -0
- package/dist/migrations/1725428002811-CreateWebhookEventTable.js.map +1 -0
- package/dist/migrations/1725428278040-CreateWebhookLogTable.d.ts +5 -0
- package/dist/migrations/1725428278040-CreateWebhookLogTable.js +24 -0
- package/dist/migrations/1725428278040-CreateWebhookLogTable.js.map +1 -0
- package/package.json +1 -1
|
@@ -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.BusinessNotificationChannelPreferenceListFilterDto = 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 BusinessNotificationChannelPreferenceListFilterDto extends common_list_filter_dto_1.CommonListFilterDto {
|
|
17
|
+
}
|
|
18
|
+
exports.BusinessNotificationChannelPreferenceListFilterDto = BusinessNotificationChannelPreferenceListFilterDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
(0, class_validator_1.IsNumber)(),
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], BusinessNotificationChannelPreferenceListFilterDto.prototype, "channel_id", void 0);
|
|
25
|
+
//# sourceMappingURL=business.notification.channel.preference.list.filter.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.notification.channel.preference.list.filter.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.notification.channel.preference.list.filter.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAuD;AACvD,qEAA+D;AAE/D,MAAa,kDAAmD,SAAQ,4CAAmB;CAK1F;AALD,gHAKC;AADG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sFACO"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessUserNotificationPreferenceAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class BusinessUserNotificationPreferenceAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.BusinessUserNotificationPreferenceAttributesDto = BusinessUserNotificationPreferenceAttributesDto;
|
|
8
|
+
//# sourceMappingURL=business.user.notification.preference.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.user.notification.preference.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.user.notification.preference.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,+CAAgD,SAAQ,6CAAmB;CAAG;AAA3F,0GAA2F"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.BusinessUserNotificationPreferenceListFilterDto = 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 BusinessUserNotificationPreferenceListFilterDto extends common_list_filter_dto_1.CommonListFilterDto {
|
|
17
|
+
}
|
|
18
|
+
exports.BusinessUserNotificationPreferenceListFilterDto = BusinessUserNotificationPreferenceListFilterDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
(0, class_validator_1.IsNumber)(),
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], BusinessUserNotificationPreferenceListFilterDto.prototype, "channel_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_validator_1.IsNumber)(),
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], BusinessUserNotificationPreferenceListFilterDto.prototype, "notification_id", void 0);
|
|
31
|
+
//# sourceMappingURL=business.user.notification.preference.list.filter.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.user.notification.preference.list.filter.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.user.notification.preference.list.filter.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAuD;AACvD,qEAA+D;AAE/D,MAAa,+CAAgD,SAAQ,4CAAmB;CAUvF;AAVD,0GAUC;AANG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mFACO;AAKpB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wFACY"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessWebhookAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class BusinessWebhookAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.BusinessWebhookAttributesDto = BusinessWebhookAttributesDto;
|
|
8
|
+
//# sourceMappingURL=business.webhook.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.webhook.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.webhook.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,4BAA6B,SAAQ,6CAAmB;CAAG;AAAxE,oEAAwE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BzNotificationChannelPreferenceAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class BzNotificationChannelPreferenceAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.BzNotificationChannelPreferenceAttributesDto = BzNotificationChannelPreferenceAttributesDto;
|
|
8
|
+
//# sourceMappingURL=bz.notification.channel.preference.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bz.notification.channel.preference.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/bz.notification.channel.preference.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,4CAA6C,SAAQ,6CAAmB;CAAG;AAAxF,oGAAwF"}
|
|
@@ -3,6 +3,7 @@ export * from './add.api.account.dto';
|
|
|
3
3
|
export * from './add.business.app.integration.dto';
|
|
4
4
|
export * from './add.business.preference.dto';
|
|
5
5
|
export * from './add.business.user.group.dto';
|
|
6
|
+
export * from './add.business.user.notification.preference.dto';
|
|
6
7
|
export * from './add.choice.list.dto';
|
|
7
8
|
export * from './add.choice.type.dto';
|
|
8
9
|
export * from './add.conversation.dto';
|
|
@@ -11,11 +12,13 @@ export * from './add.dashboard.component.dto';
|
|
|
11
12
|
export * from './add.dashboard.component.properties.dto';
|
|
12
13
|
export * from './add.group.member.dto';
|
|
13
14
|
export * from './add.listing.preference.dto';
|
|
15
|
+
export * from './add.notification.channel.preference.dto';
|
|
14
16
|
export * from './add.role.dto';
|
|
15
17
|
export * from './add.scheduled.report.dto';
|
|
16
18
|
export * from './add.short.url.dto';
|
|
17
19
|
export * from './add.tag.dto';
|
|
18
20
|
export * from './add.user.preference.dto';
|
|
21
|
+
export * from './add.webhook.dto';
|
|
19
22
|
export * from './api.account.attributes.dto';
|
|
20
23
|
export * from './api.account.list.filter.dto';
|
|
21
24
|
export * from './app.integration.attributes.dto';
|
|
@@ -28,12 +31,17 @@ export * from './business.app.integration.message.payload.dto';
|
|
|
28
31
|
export * from './business.app.integration.messages.attributes.dto';
|
|
29
32
|
export * from './business.email.attributes.dto';
|
|
30
33
|
export * from './business.menu.attributes.dto';
|
|
34
|
+
export * from './business.notification.channel.preference.list.filter.dto';
|
|
31
35
|
export * from './business.param.dto';
|
|
32
36
|
export * from './business.preference.attributes.dto';
|
|
33
37
|
export * from './business.user.attributes.dto';
|
|
34
38
|
export * from './business.user.group.attributes.dto';
|
|
35
39
|
export * from './business.user.group.list.filter.dto';
|
|
40
|
+
export * from './business.user.notification.preference.attributes.dto';
|
|
41
|
+
export * from './business.user.notification.preference.list.filter.dto';
|
|
36
42
|
export * from './business.user.role.attributes.dto';
|
|
43
|
+
export * from './business.webhook.attributes.dto';
|
|
44
|
+
export * from './bz.notification.channel.preference.attributes.dto';
|
|
37
45
|
export * from './child.menu.attributes.dto';
|
|
38
46
|
export * from './choice.list.attributes.dto';
|
|
39
47
|
export * from './choice.type.attributes.dto';
|
|
@@ -101,6 +109,7 @@ export * from './scheduled.report.item.attributes.dto';
|
|
|
101
109
|
export * from './scheduled.report.item.list.filter.dto';
|
|
102
110
|
export * from './scheduled.report.list.filter.dto';
|
|
103
111
|
export * from './send.email.notification.data.dto';
|
|
112
|
+
export * from './send.webhook.request.payload';
|
|
104
113
|
export * from './server.email.attachment.dto';
|
|
105
114
|
export * from './server.email.message.dto';
|
|
106
115
|
export * from './server.email.recipient.dto';
|
|
@@ -124,6 +133,8 @@ export * from './user.notification.list.filter.dto';
|
|
|
124
133
|
export * from './user.preference.attributes.dto';
|
|
125
134
|
export * from './user.role.attributes.dto';
|
|
126
135
|
export * from './watchlist.assignment.attributes.dto';
|
|
136
|
+
export * from './webhook.event.attributes.dto';
|
|
137
|
+
export * from './webhook.log.attributes.dto';
|
|
127
138
|
export * from './webhook.slug.attributes.dto';
|
|
128
139
|
export * from './webhook.type.attributes.dto';
|
|
129
140
|
export * from './whatsapp.message.attributes.dto';
|
|
@@ -19,6 +19,7 @@ __exportStar(require("./add.api.account.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./add.business.app.integration.dto"), exports);
|
|
20
20
|
__exportStar(require("./add.business.preference.dto"), exports);
|
|
21
21
|
__exportStar(require("./add.business.user.group.dto"), exports);
|
|
22
|
+
__exportStar(require("./add.business.user.notification.preference.dto"), exports);
|
|
22
23
|
__exportStar(require("./add.choice.list.dto"), exports);
|
|
23
24
|
__exportStar(require("./add.choice.type.dto"), exports);
|
|
24
25
|
__exportStar(require("./add.conversation.dto"), exports);
|
|
@@ -27,11 +28,13 @@ __exportStar(require("./add.dashboard.component.dto"), exports);
|
|
|
27
28
|
__exportStar(require("./add.dashboard.component.properties.dto"), exports);
|
|
28
29
|
__exportStar(require("./add.group.member.dto"), exports);
|
|
29
30
|
__exportStar(require("./add.listing.preference.dto"), exports);
|
|
31
|
+
__exportStar(require("./add.notification.channel.preference.dto"), exports);
|
|
30
32
|
__exportStar(require("./add.role.dto"), exports);
|
|
31
33
|
__exportStar(require("./add.scheduled.report.dto"), exports);
|
|
32
34
|
__exportStar(require("./add.short.url.dto"), exports);
|
|
33
35
|
__exportStar(require("./add.tag.dto"), exports);
|
|
34
36
|
__exportStar(require("./add.user.preference.dto"), exports);
|
|
37
|
+
__exportStar(require("./add.webhook.dto"), exports);
|
|
35
38
|
__exportStar(require("./api.account.attributes.dto"), exports);
|
|
36
39
|
__exportStar(require("./api.account.list.filter.dto"), exports);
|
|
37
40
|
__exportStar(require("./app.integration.attributes.dto"), exports);
|
|
@@ -44,12 +47,17 @@ __exportStar(require("./business.app.integration.message.payload.dto"), exports)
|
|
|
44
47
|
__exportStar(require("./business.app.integration.messages.attributes.dto"), exports);
|
|
45
48
|
__exportStar(require("./business.email.attributes.dto"), exports);
|
|
46
49
|
__exportStar(require("./business.menu.attributes.dto"), exports);
|
|
50
|
+
__exportStar(require("./business.notification.channel.preference.list.filter.dto"), exports);
|
|
47
51
|
__exportStar(require("./business.param.dto"), exports);
|
|
48
52
|
__exportStar(require("./business.preference.attributes.dto"), exports);
|
|
49
53
|
__exportStar(require("./business.user.attributes.dto"), exports);
|
|
50
54
|
__exportStar(require("./business.user.group.attributes.dto"), exports);
|
|
51
55
|
__exportStar(require("./business.user.group.list.filter.dto"), exports);
|
|
56
|
+
__exportStar(require("./business.user.notification.preference.attributes.dto"), exports);
|
|
57
|
+
__exportStar(require("./business.user.notification.preference.list.filter.dto"), exports);
|
|
52
58
|
__exportStar(require("./business.user.role.attributes.dto"), exports);
|
|
59
|
+
__exportStar(require("./business.webhook.attributes.dto"), exports);
|
|
60
|
+
__exportStar(require("./bz.notification.channel.preference.attributes.dto"), exports);
|
|
53
61
|
__exportStar(require("./child.menu.attributes.dto"), exports);
|
|
54
62
|
__exportStar(require("./choice.list.attributes.dto"), exports);
|
|
55
63
|
__exportStar(require("./choice.type.attributes.dto"), exports);
|
|
@@ -117,6 +125,7 @@ __exportStar(require("./scheduled.report.item.attributes.dto"), exports);
|
|
|
117
125
|
__exportStar(require("./scheduled.report.item.list.filter.dto"), exports);
|
|
118
126
|
__exportStar(require("./scheduled.report.list.filter.dto"), exports);
|
|
119
127
|
__exportStar(require("./send.email.notification.data.dto"), exports);
|
|
128
|
+
__exportStar(require("./send.webhook.request.payload"), exports);
|
|
120
129
|
__exportStar(require("./server.email.attachment.dto"), exports);
|
|
121
130
|
__exportStar(require("./server.email.message.dto"), exports);
|
|
122
131
|
__exportStar(require("./server.email.recipient.dto"), exports);
|
|
@@ -140,6 +149,8 @@ __exportStar(require("./user.notification.list.filter.dto"), exports);
|
|
|
140
149
|
__exportStar(require("./user.preference.attributes.dto"), exports);
|
|
141
150
|
__exportStar(require("./user.role.attributes.dto"), exports);
|
|
142
151
|
__exportStar(require("./watchlist.assignment.attributes.dto"), exports);
|
|
152
|
+
__exportStar(require("./webhook.event.attributes.dto"), exports);
|
|
153
|
+
__exportStar(require("./webhook.log.attributes.dto"), exports);
|
|
143
154
|
__exportStar(require("./webhook.slug.attributes.dto"), exports);
|
|
144
155
|
__exportStar(require("./webhook.type.attributes.dto"), exports);
|
|
145
156
|
__exportStar(require("./whatsapp.message.attributes.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAAA,wDAAsC;AAAA,qEAAmD;AAAA,gEAA8C;AAAA,gEAA8C;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,gEAA8C;AAAA,2EAAyD;A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A,wDAAsC;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,qEAAkD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendWebhookRequestPayload = void 0;
|
|
4
|
+
class SendWebhookRequestPayload {
|
|
5
|
+
}
|
|
6
|
+
exports.SendWebhookRequestPayload = SendWebhookRequestPayload;
|
|
7
|
+
//# sourceMappingURL=send.webhook.request.payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send.webhook.request.payload.js","sourceRoot":"","sources":["../../../src/access/dtos/send.webhook.request.payload.ts"],"names":[],"mappings":";;;AAAA,MAAa,yBAAyB;CAGrC;AAHD,8DAGC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhookEventAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class WebhookEventAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.WebhookEventAttributesDto = WebhookEventAttributesDto;
|
|
8
|
+
//# sourceMappingURL=webhook.event.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook.event.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/webhook.event.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,yBAA0B,SAAQ,6CAAmB;CAAG;AAArE,8DAAqE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhookLogAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class WebhookLogAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.WebhookLogAttributesDto = WebhookLogAttributesDto;
|
|
8
|
+
//# sourceMappingURL=webhook.log.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook.log.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/webhook.log.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,uBAAwB,SAAQ,6CAAmB;CAAG;AAAnE,0DAAmE"}
|
|
@@ -3,6 +3,7 @@ import { AppIntegrationAttributesDto } from '../dtos/app.integration.attributes.
|
|
|
3
3
|
export declare class AppIntegrationEntity extends CommonEntity {
|
|
4
4
|
name: string;
|
|
5
5
|
active: boolean;
|
|
6
|
+
enabled_globally: boolean;
|
|
6
7
|
integration_identifier: string;
|
|
7
8
|
url: string;
|
|
8
9
|
image: string;
|
|
@@ -24,6 +24,10 @@ __decorate([
|
|
|
24
24
|
(0, typeorm_1.Column)(),
|
|
25
25
|
__metadata("design:type", Boolean)
|
|
26
26
|
], AppIntegrationEntity.prototype, "active", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", Boolean)
|
|
30
|
+
], AppIntegrationEntity.prototype, "enabled_globally", void 0);
|
|
27
31
|
__decorate([
|
|
28
32
|
(0, typeorm_1.Column)({ unique: true }),
|
|
29
33
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.integration.entity.js","sourceRoot":"","sources":["../../../src/access/entities/app.integration.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAyC;AACzC,2FAAqF;AAS9E,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,sCAAY;
|
|
1
|
+
{"version":3,"file":"app.integration.entity.js","sourceRoot":"","sources":["../../../src/access/entities/app.integration.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAyC;AACzC,2FAAqF;AAS9E,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,sCAAY;CAwBrD,CAAA;AAxBY,oDAAoB;AAE7B;IADC,IAAA,gBAAM,GAAE;;kDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;oDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;8DACiB;AAG1B;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;oEACM;AAG/B;IADC,IAAA,gBAAM,GAAE;;iDACG;AAGZ;IADC,IAAA,gBAAM,GAAE;;mDACK;AAGd;IADC,IAAA,gBAAM,GAAE;;yDACW;AAGpB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,4DAA2B;wDAAC;+BAvB/B,oBAAoB;IADhC,IAAA,gBAAM,EAAC,sBAAsB,CAAC;GAClB,oBAAoB,CAwBhC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CommonEntity, LookupValueEntity, UserEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BusinessUserNotificationPreferenceAttributesDto } from '../dtos/business.user.notification.preference.attributes.dto';
|
|
3
|
+
import { AccessBusinessEntity } from './access.business.entity';
|
|
4
|
+
export declare class BusinessUserNotificationPreferenceEntity extends CommonEntity {
|
|
5
|
+
business_id: number;
|
|
6
|
+
user_id: number;
|
|
7
|
+
channel_id: number;
|
|
8
|
+
notification_id: number;
|
|
9
|
+
active: boolean;
|
|
10
|
+
attributes: BusinessUserNotificationPreferenceAttributesDto;
|
|
11
|
+
business: AccessBusinessEntity;
|
|
12
|
+
user: UserEntity;
|
|
13
|
+
channel: LookupValueEntity;
|
|
14
|
+
notification: LookupValueEntity;
|
|
15
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.BusinessUserNotificationPreferenceEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const notification_entity_1 = require("../../accessUtility/entities/notification.entity");
|
|
16
|
+
const business_user_notification_preference_attributes_dto_1 = require("../dtos/business.user.notification.preference.attributes.dto");
|
|
17
|
+
const access_business_entity_1 = require("./access.business.entity");
|
|
18
|
+
let BusinessUserNotificationPreferenceEntity = class BusinessUserNotificationPreferenceEntity extends nestjs_utility_services_1.CommonEntity {
|
|
19
|
+
};
|
|
20
|
+
exports.BusinessUserNotificationPreferenceEntity = BusinessUserNotificationPreferenceEntity;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], BusinessUserNotificationPreferenceEntity.prototype, "business_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], BusinessUserNotificationPreferenceEntity.prototype, "user_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], BusinessUserNotificationPreferenceEntity.prototype, "channel_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], BusinessUserNotificationPreferenceEntity.prototype, "notification_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], BusinessUserNotificationPreferenceEntity.prototype, "active", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)('json'),
|
|
43
|
+
__metadata("design:type", business_user_notification_preference_attributes_dto_1.BusinessUserNotificationPreferenceAttributesDto)
|
|
44
|
+
], BusinessUserNotificationPreferenceEntity.prototype, "attributes", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
47
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
48
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
49
|
+
], BusinessUserNotificationPreferenceEntity.prototype, "business", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.UserEntity),
|
|
52
|
+
(0, typeorm_1.JoinColumn)({ name: 'user_id' }),
|
|
53
|
+
__metadata("design:type", nestjs_utility_services_1.UserEntity)
|
|
54
|
+
], BusinessUserNotificationPreferenceEntity.prototype, "user", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.LookupValueEntity),
|
|
57
|
+
(0, typeorm_1.JoinColumn)({ name: 'channel_id' }),
|
|
58
|
+
__metadata("design:type", nestjs_utility_services_1.LookupValueEntity)
|
|
59
|
+
], BusinessUserNotificationPreferenceEntity.prototype, "channel", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.ManyToOne)(() => notification_entity_1.NotificationEntity),
|
|
62
|
+
(0, typeorm_1.JoinColumn)({ name: 'notification_id' }),
|
|
63
|
+
__metadata("design:type", nestjs_utility_services_1.LookupValueEntity)
|
|
64
|
+
], BusinessUserNotificationPreferenceEntity.prototype, "notification", void 0);
|
|
65
|
+
exports.BusinessUserNotificationPreferenceEntity = BusinessUserNotificationPreferenceEntity = __decorate([
|
|
66
|
+
(0, typeorm_1.Entity)('bz_user_notification_preferences')
|
|
67
|
+
], BusinessUserNotificationPreferenceEntity);
|
|
68
|
+
//# sourceMappingURL=business.user.notification.preference.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.user.notification.preference.entity.js","sourceRoot":"","sources":["../../../src/access/entities/business.user.notification.preference.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAqG;AACrG,qCAAgE;AAChE,0FAAsF;AACtF,uIAA+H;AAC/H,qEAAgE;AASzD,IAAM,wCAAwC,GAA9C,MAAM,wCAAyC,SAAQ,sCAAY;CAwBzE,CAAA;AAxBY,4FAAwC;AAEjD;IADC,IAAA,gBAAM,GAAE;;6EACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;yEACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;4EACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;iFACe;AAGxB;IADC,IAAA,gBAAM,GAAE;;wEACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,sGAA+C;4EAAC;AAGgB;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;0EAAC;AAC7C;IAA7D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oCAAU,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAAO,oCAAU;sEAAC;AACP;IAAvE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAiB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAAU,2CAAiB;yEAAC;AACrB;IAA7E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;8BAAe,2CAAiB;8EAAC;mDAvBrG,wCAAwC;IADpD,IAAA,gBAAM,EAAC,kCAAkC,CAAC;GAC9B,wCAAwC,CAwBpD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BusinessWebhookAttributesDto } from '../dtos/business.webhook.attributes.dto';
|
|
3
|
+
import { AccessBusinessEntity } from './access.business.entity';
|
|
4
|
+
export declare class BusinessWebhookEntity extends CommonEntity {
|
|
5
|
+
business_id: number;
|
|
6
|
+
url: string;
|
|
7
|
+
secret: string;
|
|
8
|
+
event_type: any;
|
|
9
|
+
active: boolean;
|
|
10
|
+
attributes: BusinessWebhookAttributesDto;
|
|
11
|
+
business: AccessBusinessEntity;
|
|
12
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.BusinessWebhookEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const business_webhook_attributes_dto_1 = require("../dtos/business.webhook.attributes.dto");
|
|
16
|
+
const access_business_entity_1 = require("./access.business.entity");
|
|
17
|
+
let BusinessWebhookEntity = class BusinessWebhookEntity extends nestjs_utility_services_1.CommonEntity {
|
|
18
|
+
};
|
|
19
|
+
exports.BusinessWebhookEntity = BusinessWebhookEntity;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], BusinessWebhookEntity.prototype, "business_id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], BusinessWebhookEntity.prototype, "url", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], BusinessWebhookEntity.prototype, "secret", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)('json'),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], BusinessWebhookEntity.prototype, "event_type", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)(),
|
|
38
|
+
__metadata("design:type", Boolean)
|
|
39
|
+
], BusinessWebhookEntity.prototype, "active", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)('json'),
|
|
42
|
+
__metadata("design:type", business_webhook_attributes_dto_1.BusinessWebhookAttributesDto)
|
|
43
|
+
], BusinessWebhookEntity.prototype, "attributes", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
46
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
47
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
48
|
+
], BusinessWebhookEntity.prototype, "business", void 0);
|
|
49
|
+
exports.BusinessWebhookEntity = BusinessWebhookEntity = __decorate([
|
|
50
|
+
(0, typeorm_1.Entity)('bz_webhook_details')
|
|
51
|
+
], BusinessWebhookEntity);
|
|
52
|
+
//# sourceMappingURL=business.webhook.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.webhook.entity.js","sourceRoot":"","sources":["../../../src/access/entities/business.webhook.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,oFAAsE;AACtE,6FAAuF;AACvF,qEAAgE;AASzD,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,sCAAY;CAqBtD,CAAA;AArBY,sDAAqB;AAE9B;IADC,IAAA,gBAAM,GAAE;;0DACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;kDACG;AAGZ;IADC,IAAA,gBAAM,GAAE;;qDACM;AAGf;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;yDACC;AAGhB;IADC,IAAA,gBAAM,GAAE;;qDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,8DAA4B;yDAAC;AAGmC;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;uDAAC;gCApBlG,qBAAqB;IADjC,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,qBAAqB,CAqBjC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CommonEntity, LookupValueEntity, UserEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BzNotificationChannelPreferenceAttributesDto } from '../dtos/bz.notification.channel.preference.attributes.dto';
|
|
3
|
+
import { AccessBusinessEntity } from './access.business.entity';
|
|
4
|
+
export declare class BzNotificationChannelPreferenceEntity extends CommonEntity {
|
|
5
|
+
business_id: number;
|
|
6
|
+
user_id: number;
|
|
7
|
+
channel_id: number;
|
|
8
|
+
active: boolean;
|
|
9
|
+
attributes: BzNotificationChannelPreferenceAttributesDto;
|
|
10
|
+
business: AccessBusinessEntity;
|
|
11
|
+
user: UserEntity;
|
|
12
|
+
channel: LookupValueEntity;
|
|
13
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.BzNotificationChannelPreferenceEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const bz_notification_channel_preference_attributes_dto_1 = require("../dtos/bz.notification.channel.preference.attributes.dto");
|
|
16
|
+
const notification_entity_1 = require("../../accessUtility/entities/notification.entity");
|
|
17
|
+
const access_business_entity_1 = require("./access.business.entity");
|
|
18
|
+
let BzNotificationChannelPreferenceEntity = class BzNotificationChannelPreferenceEntity extends nestjs_utility_services_1.CommonEntity {
|
|
19
|
+
};
|
|
20
|
+
exports.BzNotificationChannelPreferenceEntity = BzNotificationChannelPreferenceEntity;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], BzNotificationChannelPreferenceEntity.prototype, "business_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], BzNotificationChannelPreferenceEntity.prototype, "user_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], BzNotificationChannelPreferenceEntity.prototype, "channel_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)(),
|
|
35
|
+
__metadata("design:type", Boolean)
|
|
36
|
+
], BzNotificationChannelPreferenceEntity.prototype, "active", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)('json'),
|
|
39
|
+
__metadata("design:type", bz_notification_channel_preference_attributes_dto_1.BzNotificationChannelPreferenceAttributesDto)
|
|
40
|
+
], BzNotificationChannelPreferenceEntity.prototype, "attributes", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
43
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
44
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
45
|
+
], BzNotificationChannelPreferenceEntity.prototype, "business", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.UserEntity),
|
|
48
|
+
(0, typeorm_1.JoinColumn)({ name: 'user_id' }),
|
|
49
|
+
__metadata("design:type", nestjs_utility_services_1.UserEntity)
|
|
50
|
+
], BzNotificationChannelPreferenceEntity.prototype, "user", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.ManyToOne)(() => notification_entity_1.NotificationEntity),
|
|
53
|
+
(0, typeorm_1.JoinColumn)({ name: 'channel_id' }),
|
|
54
|
+
__metadata("design:type", nestjs_utility_services_1.LookupValueEntity)
|
|
55
|
+
], BzNotificationChannelPreferenceEntity.prototype, "channel", void 0);
|
|
56
|
+
exports.BzNotificationChannelPreferenceEntity = BzNotificationChannelPreferenceEntity = __decorate([
|
|
57
|
+
(0, typeorm_1.Entity)('bz_notification_channel_preferences')
|
|
58
|
+
], BzNotificationChannelPreferenceEntity);
|
|
59
|
+
//# sourceMappingURL=bz.notification.channel.preference.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bz.notification.channel.preference.entity.js","sourceRoot":"","sources":["../../../src/access/entities/bz.notification.channel.preference.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,oFAAqG;AACrG,iIAAyH;AACzH,0FAAsF;AACtF,qEAAgE;AASzD,IAAM,qCAAqC,GAA3C,MAAM,qCAAsC,SAAQ,sCAAY;CAoBtE,CAAA;AApBY,sFAAqC;AAE9C;IADC,IAAA,gBAAM,GAAE;;0EACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;sEACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;yEACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;qEACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,gGAA4C;yEAAC;AAGmB;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;uEAAC;AAC7C;IAA7D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oCAAU,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAAO,oCAAU;mEAAC;AACN;IAAxE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAAU,2CAAiB;sEAAC;gDAnB3F,qCAAqC;IADjD,IAAA,gBAAM,EAAC,qCAAqC,CAAC;GACjC,qCAAqC,CAoBjD"}
|
|
@@ -10,7 +10,10 @@ export * from './business.menu.entity';
|
|
|
10
10
|
export * from './business.preference.entity';
|
|
11
11
|
export * from './business.user.entity';
|
|
12
12
|
export * from './business.user.group.entity';
|
|
13
|
+
export * from './business.user.notification.preference.entity';
|
|
13
14
|
export * from './business.user.role.entity';
|
|
15
|
+
export * from './business.webhook.entity';
|
|
16
|
+
export * from './bz.notification.channel.preference.entity';
|
|
14
17
|
export * from './child.menu.entity';
|
|
15
18
|
export * from './choice.list.entity';
|
|
16
19
|
export * from './choice.type.entity';
|
|
@@ -60,6 +63,8 @@ export * from './user.notification.entity';
|
|
|
60
63
|
export * from './user.preference.entity';
|
|
61
64
|
export * from './user.role.entity';
|
|
62
65
|
export * from './watchlist.assignment.entity';
|
|
66
|
+
export * from './webhook.event.entity';
|
|
67
|
+
export * from './webhook.log.entity';
|
|
63
68
|
export * from './webhook.slug.entity';
|
|
64
69
|
export * from './webhook.type.entity';
|
|
65
70
|
export * from './whatsapp.message.entity';
|