@aldb2b/common 1.0.102 → 1.0.105
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/build/db/CustomModel.d.ts +4 -4
- package/build/db/CustomModel.js +7 -7
- package/build/db/MongooseBase.d.ts +37 -37
- package/build/db/MongooseBase.js +321 -321
- package/build/db/aggregate/AggregateConvertor.d.ts +23 -23
- package/build/db/aggregate/AggregateConvertor.js +211 -211
- package/build/db/aggregate/createAggregateResponse.d.ts +2 -2
- package/build/db/aggregate/createAggregateResponse.js +49 -49
- package/build/db/mongoose-find-options.d.ts +12 -12
- package/build/db/mongoose-find-options.js +67 -67
- package/build/decorators/get-event-id-decorator.d.ts +1 -1
- package/build/decorators/get-event-id-decorator.js +9 -9
- package/build/decorators/get-user-decorator.d.ts +1 -1
- package/build/decorators/get-user-decorator.js +12 -12
- package/build/events/attendee-contact.interface.d.ts +10 -10
- package/build/events/attendee-contact.interface.js +2 -2
- package/build/events/authorize-user.interface.d.ts +13 -13
- package/build/events/authorize-user.interface.js +2 -2
- package/build/events/campaign-users.interface.d.ts +11 -11
- package/build/events/campaign-users.interface.js +2 -2
- package/build/events/compute-calendar.interface.d.ts +14 -14
- package/build/events/compute-calendar.interface.js +2 -2
- package/build/events/contacts-by-search.interface.d.ts +10 -10
- package/build/events/contacts-by-search.interface.js +2 -2
- package/build/events/create-company-setting.interface.d.ts +18 -16
- package/build/events/create-company-setting.interface.js +2 -2
- package/build/events/create-company.interface.d.ts +15 -13
- package/build/events/create-company.interface.js +2 -2
- package/build/events/create-contact.interface.d.ts +17 -15
- package/build/events/create-contact.interface.js +2 -2
- package/build/events/data-by-search.interface.d.ts +10 -10
- package/build/events/data-by-search.interface.js +2 -2
- package/build/events/edit-list-users.interface.d.ts +10 -10
- package/build/events/edit-list-users.interface.js +2 -2
- package/build/events/email-specs.interface.d.ts +18 -18
- package/build/events/email-specs.interface.js +2 -2
- package/build/events/get-companies.interface.d.ts +10 -10
- package/build/events/get-companies.interface.js +2 -2
- package/build/events/get-event.interface.d.ts +10 -10
- package/build/events/get-event.interface.js +2 -2
- package/build/events/get-unavailable-by-user.interface.d.ts +13 -13
- package/build/events/get-unavailable-by-user.interface.js +2 -2
- package/build/events/get-user-by-id.interface.d.ts +10 -10
- package/build/events/get-user-by-id.interface.js +2 -2
- package/build/events/groups-by-company.interface.d.ts +13 -13
- package/build/events/groups-by-company.interface.js +2 -2
- package/build/events/groups-by-ids.interface.d.ts +10 -10
- package/build/events/groups-by-ids.interface.js +2 -2
- package/build/events/manage-asseccibillity.interface.d.ts +13 -13
- package/build/events/manage-asseccibillity.interface.js +2 -2
- package/build/events/meeting-count-by-company.interface.d.ts +10 -10
- package/build/events/meeting-count-by-company.interface.js +2 -2
- package/build/events/meeting-count-by-user.interface.d.ts +10 -10
- package/build/events/meeting-count-by-user.interface.js +2 -2
- package/build/events/meeting-request-created.interface.d.ts +20 -20
- package/build/events/meeting-request-created.interface.js +2 -2
- package/build/events/meeting-requested-users.interface.d.ts +10 -10
- package/build/events/meeting-requested-users.interface.js +2 -2
- package/build/events/send-emails.interface.d.ts +21 -21
- package/build/events/send-emails.interface.js +2 -2
- package/build/events/subjects.d.ts +26 -26
- package/build/events/subjects.js +30 -30
- package/build/events/update-company-setting.interface.d.ts +18 -16
- package/build/events/update-company-setting.interface.js +2 -2
- package/build/events/update-user-event-info.interface.d.ts +17 -17
- package/build/events/update-user-event-info.interface.js +2 -2
- package/build/index.d.ts +75 -71
- package/build/index.js +87 -83
- package/build/index.js.map +1 -1
- package/build/interceptors/response.interceptor.d.ts +6 -6
- package/build/interceptors/response.interceptor.js +30 -30
- package/build/interceptors/serialize.interceptor.d.ts +12 -12
- package/build/interceptors/serialize.interceptor.js +24 -24
- package/build/middlewares/app.middleware.d.ts +6 -6
- package/build/middlewares/app.middleware.js +29 -29
- package/build/middlewares/authorizer.middleware.d.ts +10 -10
- package/build/middlewares/authorizer.middleware.js +102 -102
- package/build/tsconfig.tsbuildinfo +5063 -5019
- package/build/types/analytic-group.interface.d.ts +12 -0
- package/build/types/analytic-group.interface.js +3 -0
- package/build/types/analytic-group.interface.js.map +1 -0
- package/build/types/chat-group.interface.d.ts +4 -0
- package/build/types/{visibility.interface.js → chat-group.interface.js} +3 -3
- package/build/types/chat-group.interface.js.map +1 -0
- package/build/types/{visibility.interface.d.ts → default-visibility.interface.d.ts} +13 -10
- package/build/types/default-visibility.interface.js +3 -0
- package/build/types/default-visibility.interface.js.map +1 -0
- package/build/types/download-presigned-url.interface.d.ts +4 -4
- package/build/types/download-presigned-url.interface.js +2 -2
- package/build/types/group-visibility.interface.d.ts +13 -0
- package/build/types/group-visibility.interface.js +3 -0
- package/build/types/group-visibility.interface.js.map +1 -0
- package/build/types/header-user.interface.d.ts +8 -8
- package/build/types/header-user.interface.js +2 -2
- package/build/types/match-group.interface.d.ts +7 -7
- package/build/types/match-group.interface.js +2 -2
- package/build/types/match.interface.d.ts +6 -6
- package/build/types/match.interface.js +2 -2
- package/build/types/meeting-request-token.interface.d.ts +7 -6
- package/build/types/meeting-request-token.interface.js +2 -2
- package/build/types/meeting-type.enum.d.ts +6 -6
- package/build/types/meeting-type.enum.js +10 -10
- package/build/types/operation-types.d.ts +5 -5
- package/build/types/operation-types.js +9 -9
- package/build/types/read-result.interface.d.ts +5 -5
- package/build/types/read-result.interface.js +2 -2
- package/build/types/update-input-data.interface.d.ts +10 -10
- package/build/types/update-input-data.interface.js +2 -2
- package/build/types/upload-presigned-url.interface.d.ts +4 -4
- package/build/types/upload-presigned-url.interface.js +2 -2
- package/build/types/user-invitations.interface.d.ts +6 -6
- package/build/types/user-invitations.interface.js +2 -2
- package/build/types/user-role.enum.d.ts +7 -7
- package/build/types/user-role.enum.js +11 -11
- package/build/types/user-type.enum.d.ts +5 -5
- package/build/types/user-type.enum.js +9 -9
- package/build/types/visibility-group.interface.d.ts +6 -6
- package/build/types/visibility-group.interface.js +2 -2
- package/build/utils/create-default-directories.d.ts +1 -1
- package/build/utils/create-default-directories.js +23 -23
- package/build/utils/equal-array-object.d.ts +1 -1
- package/build/utils/equal-array-object.js +9 -9
- package/build/utils/equal-object.d.ts +1 -1
- package/build/utils/equal-object.js +8 -8
- package/build/utils/parse-query.d.ts +1 -1
- package/build/utils/parse-query.js +30 -30
- package/build/utils/projection.d.ts +1 -1
- package/build/utils/projection.js +25 -25
- package/build/utils/timezone.d.ts +2 -2
- package/build/utils/timezone.js +14 -14
- package/build/validators/conditional-required.d.ts +2 -2
- package/build/validators/conditional-required.js +23 -23
- package/build/validators/date-validator.d.ts +2 -2
- package/build/validators/date-validator.js +20 -20
- package/build/validators/responses/customizeArrayResponse.d.ts +3 -3
- package/build/validators/responses/customizeArrayResponse.js +23 -23
- package/build/validators/responses/error.d.ts +2 -2
- package/build/validators/responses/error.interface.d.ts +4 -4
- package/build/validators/responses/error.interface.js +2 -2
- package/build/validators/responses/error.js +28 -28
- package/build/validators/responses/response-option.interface.d.ts +7 -7
- package/build/validators/responses/response-option.interface.js +2 -2
- package/build/validators/responses/succes-result.interface.d.ts +10 -10
- package/build/validators/responses/succes-result.interface.js +2 -2
- package/build/validators/responses/success.d.ts +3 -3
- package/build/validators/responses/success.interface.d.ts +4 -4
- package/build/validators/responses/success.interface.js +2 -2
- package/build/validators/responses/success.js +14 -14
- package/build/validators/validateNewItem.d.ts +1 -1
- package/build/validators/validateNewItem.js +22 -22
- package/build/validators/validateProjection.d.ts +1 -1
- package/build/validators/validateProjection.js +32 -32
- package/build/validators/validateProjectionResult.d.ts +1 -1
- package/build/validators/validateProjectionResult.js +36 -36
- package/build/validators/validateUpdateItem.d.ts +1 -1
- package/build/validators/validateUpdateItem.js +22 -22
- package/package.json +35 -35
- package/build/types/visibility.interface.js.map +0 -1
|
@@ -1,68 +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.MongooseFindOptions = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class MongooseFindOptions {
|
|
16
|
-
}
|
|
17
|
-
__decorate([
|
|
18
|
-
swagger_1.ApiPropertyOptional(),
|
|
19
|
-
class_validator_1.IsOptional(),
|
|
20
|
-
__metadata("design:type", Object)
|
|
21
|
-
], MongooseFindOptions.prototype, "query", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
swagger_1.ApiPropertyOptional(),
|
|
24
|
-
class_validator_1.IsOptional(),
|
|
25
|
-
__metadata("design:type", Object)
|
|
26
|
-
], MongooseFindOptions.prototype, "hasTotal", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
swagger_1.ApiPropertyOptional(),
|
|
29
|
-
class_validator_1.IsOptional(),
|
|
30
|
-
__metadata("design:type", Number)
|
|
31
|
-
], MongooseFindOptions.prototype, "skip", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
swagger_1.ApiPropertyOptional(),
|
|
34
|
-
class_validator_1.IsOptional(),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], MongooseFindOptions.prototype, "limit", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
swagger_1.ApiPropertyOptional(),
|
|
39
|
-
class_validator_1.IsOptional(),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], MongooseFindOptions.prototype, "sort", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
swagger_1.ApiPropertyOptional(),
|
|
44
|
-
class_validator_1.IsOptional(),
|
|
45
|
-
__metadata("design:type", Object)
|
|
46
|
-
], MongooseFindOptions.prototype, "needPopulate", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
swagger_1.ApiPropertyOptional(),
|
|
49
|
-
class_validator_1.IsOptional(),
|
|
50
|
-
__metadata("design:type", Object)
|
|
51
|
-
], MongooseFindOptions.prototype, "populates", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
swagger_1.ApiPropertyOptional(),
|
|
54
|
-
class_validator_1.IsOptional(),
|
|
55
|
-
__metadata("design:type", Array)
|
|
56
|
-
], MongooseFindOptions.prototype, "necessaryProjectionArray", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
swagger_1.ApiPropertyOptional(),
|
|
59
|
-
class_validator_1.IsOptional(),
|
|
60
|
-
__metadata("design:type", Object)
|
|
61
|
-
], MongooseFindOptions.prototype, "lean", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
swagger_1.ApiPropertyOptional(),
|
|
64
|
-
class_validator_1.IsOptional(),
|
|
65
|
-
__metadata("design:type", Object)
|
|
66
|
-
], MongooseFindOptions.prototype, "addPresignedURL", void 0);
|
|
67
|
-
exports.MongooseFindOptions = MongooseFindOptions;
|
|
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.MongooseFindOptions = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class MongooseFindOptions {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
swagger_1.ApiPropertyOptional(),
|
|
19
|
+
class_validator_1.IsOptional(),
|
|
20
|
+
__metadata("design:type", Object)
|
|
21
|
+
], MongooseFindOptions.prototype, "query", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
swagger_1.ApiPropertyOptional(),
|
|
24
|
+
class_validator_1.IsOptional(),
|
|
25
|
+
__metadata("design:type", Object)
|
|
26
|
+
], MongooseFindOptions.prototype, "hasTotal", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
swagger_1.ApiPropertyOptional(),
|
|
29
|
+
class_validator_1.IsOptional(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], MongooseFindOptions.prototype, "skip", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
swagger_1.ApiPropertyOptional(),
|
|
34
|
+
class_validator_1.IsOptional(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], MongooseFindOptions.prototype, "limit", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
swagger_1.ApiPropertyOptional(),
|
|
39
|
+
class_validator_1.IsOptional(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], MongooseFindOptions.prototype, "sort", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
swagger_1.ApiPropertyOptional(),
|
|
44
|
+
class_validator_1.IsOptional(),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], MongooseFindOptions.prototype, "needPopulate", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
swagger_1.ApiPropertyOptional(),
|
|
49
|
+
class_validator_1.IsOptional(),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], MongooseFindOptions.prototype, "populates", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
swagger_1.ApiPropertyOptional(),
|
|
54
|
+
class_validator_1.IsOptional(),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], MongooseFindOptions.prototype, "necessaryProjectionArray", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
swagger_1.ApiPropertyOptional(),
|
|
59
|
+
class_validator_1.IsOptional(),
|
|
60
|
+
__metadata("design:type", Object)
|
|
61
|
+
], MongooseFindOptions.prototype, "lean", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
swagger_1.ApiPropertyOptional(),
|
|
64
|
+
class_validator_1.IsOptional(),
|
|
65
|
+
__metadata("design:type", Object)
|
|
66
|
+
], MongooseFindOptions.prototype, "addPresignedURL", void 0);
|
|
67
|
+
exports.MongooseFindOptions = MongooseFindOptions;
|
|
68
68
|
//# sourceMappingURL=mongoose-find-options.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const GetEventId: (...dataOrPipes: any[]) => ParameterDecorator;
|
|
1
|
+
export declare const GetEventId: (...dataOrPipes: any[]) => ParameterDecorator;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetEventId = void 0;
|
|
4
|
-
const common_1 = require("@nestjs/common");
|
|
5
|
-
exports.GetEventId = common_1.createParamDecorator((data, ctx) => {
|
|
6
|
-
const req = ctx.switchToHttp().getRequest();
|
|
7
|
-
const eventId = req.headers['event-id'];
|
|
8
|
-
return eventId;
|
|
9
|
-
});
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetEventId = void 0;
|
|
4
|
+
const common_1 = require("@nestjs/common");
|
|
5
|
+
exports.GetEventId = common_1.createParamDecorator((data, ctx) => {
|
|
6
|
+
const req = ctx.switchToHttp().getRequest();
|
|
7
|
+
const eventId = req.headers['event-id'];
|
|
8
|
+
return eventId;
|
|
9
|
+
});
|
|
10
10
|
//# sourceMappingURL=get-event-id-decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const GetUser: (...dataOrPipes: any[]) => ParameterDecorator;
|
|
1
|
+
export declare const GetUser: (...dataOrPipes: any[]) => ParameterDecorator;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetUser = void 0;
|
|
4
|
-
const common_1 = require("@nestjs/common");
|
|
5
|
-
exports.GetUser = common_1.createParamDecorator((data, ctx) => {
|
|
6
|
-
const req = ctx.switchToHttp().getRequest();
|
|
7
|
-
const { id, email, role, type, company, contactId } = req.headers;
|
|
8
|
-
if (!id || !email || !role || !type) {
|
|
9
|
-
throw new common_1.BadRequestException('Invalid header');
|
|
10
|
-
}
|
|
11
|
-
return { id, email, role, type, company, contactId };
|
|
12
|
-
});
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetUser = void 0;
|
|
4
|
+
const common_1 = require("@nestjs/common");
|
|
5
|
+
exports.GetUser = common_1.createParamDecorator((data, ctx) => {
|
|
6
|
+
const req = ctx.switchToHttp().getRequest();
|
|
7
|
+
const { id, email, role, type, company, contactId } = req.headers;
|
|
8
|
+
if (!id || !email || !role || !type) {
|
|
9
|
+
throw new common_1.BadRequestException('Invalid header');
|
|
10
|
+
}
|
|
11
|
+
return { id, email, role, type, company, contactId };
|
|
12
|
+
});
|
|
13
13
|
//# sourceMappingURL=get-user-decorator.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
export declare namespace AttendeeContactList {
|
|
3
|
-
interface Context {
|
|
4
|
-
subject: Subjects.AttendeeContact;
|
|
5
|
-
data: Data;
|
|
6
|
-
}
|
|
7
|
-
interface Data {
|
|
8
|
-
attendeeIds: string[];
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
import { Subjects } from './subjects';
|
|
2
|
+
export declare namespace AttendeeContactList {
|
|
3
|
+
interface Context {
|
|
4
|
+
subject: Subjects.AttendeeContact;
|
|
5
|
+
data: Data;
|
|
6
|
+
}
|
|
7
|
+
interface Data {
|
|
8
|
+
attendeeIds: string[];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=attendee-contact.interface.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
export declare namespace AuthorizeUser {
|
|
3
|
-
interface Context {
|
|
4
|
-
subject: Subjects.AuthorizeUser;
|
|
5
|
-
data: Data;
|
|
6
|
-
}
|
|
7
|
-
interface Data {
|
|
8
|
-
path: string;
|
|
9
|
-
method: string;
|
|
10
|
-
cognitoUserId: string;
|
|
11
|
-
eventId?: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
1
|
+
import { Subjects } from './subjects';
|
|
2
|
+
export declare namespace AuthorizeUser {
|
|
3
|
+
interface Context {
|
|
4
|
+
subject: Subjects.AuthorizeUser;
|
|
5
|
+
data: Data;
|
|
6
|
+
}
|
|
7
|
+
interface Data {
|
|
8
|
+
path: string;
|
|
9
|
+
method: string;
|
|
10
|
+
cognitoUserId: string;
|
|
11
|
+
eventId?: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=authorize-user.interface.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
export declare namespace CampaignUsers {
|
|
3
|
-
interface Context {
|
|
4
|
-
subject: Subjects.CampaignUsers;
|
|
5
|
-
data: Data;
|
|
6
|
-
}
|
|
7
|
-
interface Data {
|
|
8
|
-
userIds: string[];
|
|
9
|
-
companyIds: string[];
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
import { Subjects } from './subjects';
|
|
2
|
+
export declare namespace CampaignUsers {
|
|
3
|
+
interface Context {
|
|
4
|
+
subject: Subjects.CampaignUsers;
|
|
5
|
+
data: Data;
|
|
6
|
+
}
|
|
7
|
+
interface Data {
|
|
8
|
+
userIds: string[];
|
|
9
|
+
companyIds: string[];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=campaign-users.interface.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
export declare namespace ComputeCompany {
|
|
3
|
-
interface Context {
|
|
4
|
-
subject: Subjects.ComputeCalendar;
|
|
5
|
-
data: Data;
|
|
6
|
-
}
|
|
7
|
-
interface Data {
|
|
8
|
-
eventId: string;
|
|
9
|
-
hostId: string;
|
|
10
|
-
guestId: string;
|
|
11
|
-
hostCompanyId: string;
|
|
12
|
-
guestCompanyId: string;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
import { Subjects } from './subjects';
|
|
2
|
+
export declare namespace ComputeCompany {
|
|
3
|
+
interface Context {
|
|
4
|
+
subject: Subjects.ComputeCalendar;
|
|
5
|
+
data: Data;
|
|
6
|
+
}
|
|
7
|
+
interface Data {
|
|
8
|
+
eventId: string;
|
|
9
|
+
hostId: string;
|
|
10
|
+
guestId: string;
|
|
11
|
+
hostCompanyId: string;
|
|
12
|
+
guestCompanyId: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=compute-calendar.interface.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
export declare namespace ContactsBySearchExpression {
|
|
3
|
-
interface Context {
|
|
4
|
-
subject: Subjects.ContactsBySearch;
|
|
5
|
-
data: Data;
|
|
6
|
-
}
|
|
7
|
-
interface Data {
|
|
8
|
-
searchString: string;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
import { Subjects } from './subjects';
|
|
2
|
+
export declare namespace ContactsBySearchExpression {
|
|
3
|
+
interface Context {
|
|
4
|
+
subject: Subjects.ContactsBySearch;
|
|
5
|
+
data: Data;
|
|
6
|
+
}
|
|
7
|
+
interface Data {
|
|
8
|
+
searchString: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=contacts-by-search.interface.js.map
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { Match } from '../types/match.interface';
|
|
2
|
-
import { UserInvitation } from '../types/user-invitations.interface';
|
|
3
|
-
import {
|
|
4
|
-
import { Subjects } from './subjects';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { Match } from '../types/match.interface';
|
|
2
|
+
import { UserInvitation } from '../types/user-invitations.interface';
|
|
3
|
+
import { DefaultVisibility } from '../types/default-visibility.interface';
|
|
4
|
+
import { Subjects } from './subjects';
|
|
5
|
+
import { GroupVisibility } from 'src/types/group-visibility.interface';
|
|
6
|
+
export declare namespace CreateCompanySetting {
|
|
7
|
+
interface Context {
|
|
8
|
+
subject: Subjects.CreateCompanySetting;
|
|
9
|
+
data: Data;
|
|
10
|
+
}
|
|
11
|
+
interface Data {
|
|
12
|
+
event: string;
|
|
13
|
+
defaultVisibility: DefaultVisibility;
|
|
14
|
+
groupVisibilities: GroupVisibility[];
|
|
15
|
+
match?: Match;
|
|
16
|
+
userInvitation?: UserInvitation;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=create-company-setting.interface.js.map
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { Subjects } from './subjects';
|
|
2
|
+
import { operationTypes } from "..";
|
|
3
|
+
export declare namespace CreateCompany {
|
|
4
|
+
interface Context {
|
|
5
|
+
subject: Subjects.CreateCompany;
|
|
6
|
+
data: Data;
|
|
7
|
+
}
|
|
8
|
+
interface Data {
|
|
9
|
+
name: string;
|
|
10
|
+
website: string;
|
|
11
|
+
eventId: string;
|
|
12
|
+
usertype: string;
|
|
13
|
+
operationType: operationTypes;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=create-company.interface.js.map
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { Subjects } from './subjects';
|
|
2
|
+
import { operationTypes } from "..";
|
|
3
|
+
export declare namespace CreateContact {
|
|
4
|
+
interface Context {
|
|
5
|
+
subject: Subjects.CreateContact;
|
|
6
|
+
data: Data;
|
|
7
|
+
}
|
|
8
|
+
interface Data {
|
|
9
|
+
firstname: string;
|
|
10
|
+
lastname: string;
|
|
11
|
+
email: string;
|
|
12
|
+
company: string;
|
|
13
|
+
eventId: string;
|
|
14
|
+
createdBy: string;
|
|
15
|
+
operationType: operationTypes;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=create-contact.interface.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
export declare namespace DataBySearchExpression {
|
|
3
|
-
interface Context {
|
|
4
|
-
subject: Subjects.DataBySearch;
|
|
5
|
-
data: Data;
|
|
6
|
-
}
|
|
7
|
-
interface Data {
|
|
8
|
-
searchString: string;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
import { Subjects } from './subjects';
|
|
2
|
+
export declare namespace DataBySearchExpression {
|
|
3
|
+
interface Context {
|
|
4
|
+
subject: Subjects.DataBySearch;
|
|
5
|
+
data: Data;
|
|
6
|
+
}
|
|
7
|
+
interface Data {
|
|
8
|
+
searchString: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=data-by-search.interface.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
export declare namespace EditListUsers {
|
|
3
|
-
interface Context {
|
|
4
|
-
subject: Subjects.EditListUsers;
|
|
5
|
-
data: Data;
|
|
6
|
-
}
|
|
7
|
-
interface Data {
|
|
8
|
-
userIds: string[];
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
import { Subjects } from './subjects';
|
|
2
|
+
export declare namespace EditListUsers {
|
|
3
|
+
interface Context {
|
|
4
|
+
subject: Subjects.EditListUsers;
|
|
5
|
+
data: Data;
|
|
6
|
+
}
|
|
7
|
+
interface Data {
|
|
8
|
+
userIds: string[];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=edit-list-users.interface.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
export interface SendEmailEvent {
|
|
3
|
-
subject: Subjects.SendEmail;
|
|
4
|
-
data: {
|
|
5
|
-
data: {
|
|
6
|
-
content: string;
|
|
7
|
-
};
|
|
8
|
-
templateName?: string;
|
|
9
|
-
campaignId?: string;
|
|
10
|
-
options: {
|
|
11
|
-
to: string | string[];
|
|
12
|
-
from: string;
|
|
13
|
-
subject: string;
|
|
14
|
-
attachments: object[];
|
|
15
|
-
cc?: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
}
|
|
1
|
+
import { Subjects } from './subjects';
|
|
2
|
+
export interface SendEmailEvent {
|
|
3
|
+
subject: Subjects.SendEmail;
|
|
4
|
+
data: {
|
|
5
|
+
data: {
|
|
6
|
+
content: string;
|
|
7
|
+
};
|
|
8
|
+
templateName?: string;
|
|
9
|
+
campaignId?: string;
|
|
10
|
+
options: {
|
|
11
|
+
to: string | string[];
|
|
12
|
+
from: string;
|
|
13
|
+
subject: string;
|
|
14
|
+
attachments: object[];
|
|
15
|
+
cc?: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=email-specs.interface.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
export declare namespace GetCompanies {
|
|
3
|
-
interface Context {
|
|
4
|
-
subject: Subjects.GetCompanies;
|
|
5
|
-
data: Data;
|
|
6
|
-
}
|
|
7
|
-
interface Data {
|
|
8
|
-
companyIds: string[];
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
import { Subjects } from './subjects';
|
|
2
|
+
export declare namespace GetCompanies {
|
|
3
|
+
interface Context {
|
|
4
|
+
subject: Subjects.GetCompanies;
|
|
5
|
+
data: Data;
|
|
6
|
+
}
|
|
7
|
+
interface Data {
|
|
8
|
+
companyIds: string[];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=get-companies.interface.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
export declare namespace GetEvent {
|
|
3
|
-
interface Context {
|
|
4
|
-
subject: Subjects.GetEvent;
|
|
5
|
-
data: Data;
|
|
6
|
-
}
|
|
7
|
-
interface Data {
|
|
8
|
-
eventId: string;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
import { Subjects } from './subjects';
|
|
2
|
+
export declare namespace GetEvent {
|
|
3
|
+
interface Context {
|
|
4
|
+
subject: Subjects.GetEvent;
|
|
5
|
+
data: Data;
|
|
6
|
+
}
|
|
7
|
+
interface Data {
|
|
8
|
+
eventId: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=get-event.interface.js.map
|