@aldb2b/common 1.0.2135 → 1.0.2137

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.
Files changed (26) hide show
  1. package/build/entities/models/companies/companies.provider.d.ts +14 -14
  2. package/build/entities/models/companies/companies.provider.js.map +1 -1
  3. package/build/entities/models/companies/entities/itps/index.d.ts +1 -0
  4. package/build/entities/models/companies/entities/itps/index.js +18 -0
  5. package/build/entities/models/companies/entities/itps/index.js.map +1 -0
  6. package/build/entities/models/companies/entities/itps/itp.entity.d.ts +35 -0
  7. package/build/entities/models/companies/entities/itps/itp.entity.js +27 -0
  8. package/build/entities/models/companies/entities/itps/itp.entity.js.map +1 -0
  9. package/build/entities/models/companies/index.d.ts +1 -0
  10. package/build/entities/models/companies/index.js +1 -0
  11. package/build/entities/models/companies/index.js.map +1 -1
  12. package/build/entities/models/meetings/entities/meetings/meeting.entity.d.ts +14 -11
  13. package/build/entities/models/meetings/entities/meetings/meeting.entity.js +221 -176
  14. package/build/entities/models/meetings/entities/meetings/meeting.entity.js.map +1 -1
  15. package/build/entities/models/meetings/meetings.provider.d.ts +1 -1
  16. package/build/entities/models/meetings/meetings.provider.js +1 -0
  17. package/build/entities/models/meetings/meetings.provider.js.map +1 -1
  18. package/build/entities/models/model.providers.d.ts +18 -18
  19. package/build/entities/models/subscriptions/entities/managedServiceSubscriptions/managed-service-subscription.entity.js +1 -1
  20. package/build/entities/models/subscriptions/entities/managedServiceSubscriptions/managed-service-subscription.entity.js.map +1 -1
  21. package/build/enums/database-model.enum.d.ts +1 -0
  22. package/build/enums/database-model.enum.js +1 -0
  23. package/build/enums/database-model.enum.js.map +1 -1
  24. package/build/events/subtract-subscription-point.interface.d.ts +2 -0
  25. package/build/tsconfig.tsbuildinfo +1 -1
  26. package/package.json +1 -1
@@ -24,19 +24,19 @@
24
24
  /// <reference types="mongoose" />
25
25
  /// <reference types="mongoose/types/inferschematype" />
26
26
  /// <reference types="mongoose/types/inferrawdoctype" />
27
- import { Company } from './entities/companies/company.entity';
28
- import { DatabaseModel } from '../../../enums/database-model.enum';
29
- import { DatabaseConnection } from '../../../enums/database-connection.enum';
30
- import { ContactModel } from './entities/contacts/contact.entity';
31
- import { ServiceProvider } from '../../../enums/service-provider.enum';
32
- import { RepositoryProvider } from '../../../enums/repository-provider.enum';
33
- import { MeetingRequestCommonRepository } from '../meetings/repositories/meeting-request-common.repository';
34
- import { Meeting, MeetingCommonRepository, MeetingRequest } from '../meetings';
35
- import { CompanyCommonService } from './services/company-common.service';
36
- import { CompanyCommonRepository } from './repositories/company-common.repository';
37
- import { SubscriptionLogRepository } from '../subscriptions/repositories/subscription-log.repository';
38
- import { CustomModel } from '../../../db/CustomModel';
39
- import { SubscriptionLog } from '../subscriptions';
27
+ import { Company } from "./entities/companies/company.entity";
28
+ import { DatabaseModel } from "../../../enums/database-model.enum";
29
+ import { DatabaseConnection } from "../../../enums/database-connection.enum";
30
+ import { ContactModel } from "./entities/contacts/contact.entity";
31
+ import { ServiceProvider } from "../../../enums/service-provider.enum";
32
+ import { RepositoryProvider } from "../../../enums/repository-provider.enum";
33
+ import { MeetingRequestCommonRepository } from "../meetings/repositories/meeting-request-common.repository";
34
+ import { Meeting, MeetingCommonRepository, MeetingRequest } from "../meetings";
35
+ import { CompanyCommonService } from "./services/company-common.service";
36
+ import { CompanyCommonRepository } from "./repositories/company-common.repository";
37
+ import { SubscriptionLogRepository } from "../subscriptions/repositories/subscription-log.repository";
38
+ import { CustomModel } from "../../../db/CustomModel";
39
+ import { SubscriptionLog } from "../subscriptions";
40
40
  import { ContactCommonRepository } from "./repositories/contact-common.repository";
41
41
  export declare const companiesProviders: ({
42
42
  provide: DatabaseModel;
@@ -76,7 +76,7 @@ export declare const companiesProviders: ({
76
76
  inject: DatabaseConnection[];
77
77
  } | {
78
78
  provide: DatabaseModel;
79
- useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<Meeting, {}, {}, {}, import("mongoose").Document<unknown, {}, Meeting> & Meeting & Required<{
79
+ useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, subscriptionConnection: import("mongoose").Connection) => import("mongoose").Model<Meeting, {}, {}, {}, import("mongoose").Document<unknown, {}, Meeting> & Meeting & Required<{
80
80
  _id: string;
81
81
  }>, any>;
82
82
  inject: DatabaseConnection[];
@@ -1 +1 @@
1
- {"version":3,"file":"companies.provider.js","sourceRoot":"","sources":["../../../../src/entities/models/companies/companies.provider.ts"],"names":[],"mappings":";;;AAAA,wEAA6E;AAC7E,4EAAkE;AAClE,sFAA4E;AAC5E,uEAA+E;AAC/E,gFAAsE;AACtE,sFAA4E;AAC5E,kHAA2G;AAC3G,0CAMoB;AACpB,8EAAwE;AACxE,wFAAkF;AAClF,2GAAqG;AAErG,oDAA0E;AAC1E,wEAAoE;AACpE,+DAA2D;AAC3D,wFAAiF;AACjF,2EAAsE;AAEzD,QAAA,kBAAkB,GAAG;IAChC;QACE,OAAO,EAAE,mCAAa,CAAC,aAAa;QACpC,UAAU,EAAE,+BAAc;QAC1B,MAAM,EAAE,CAAC,6CAAkB,CAAC,kBAAkB,CAAC;KAChD;IACD;QACE,OAAO,EAAE,mCAAa,CAAC,cAAc;QACrC,UAAU,EAAE,iCAAe;QAC3B,MAAM,EAAE;YACN,6CAAkB,CAAC,kBAAkB;YACrC,6CAAkB,CAAC,gBAAgB;SACpC;KACF;IACD;QACE,OAAO,EAAE,mCAAa,CAAC,UAAU;QACjC,UAAU,EAAE,yBAAW;QACvB,MAAM,EAAE,CAAC,6CAAkB,CAAC,kBAAkB,CAAC;KAChD;IACD;QACE,OAAO,EAAE,mCAAa,CAAC,aAAa;QACpC,UAAU,EAAE,+BAAc;QAC1B,MAAM,EAAE;YACN,6CAAkB,CAAC,kBAAkB;YACrC,6CAAkB,CAAC,gBAAgB;SACpC;KACF;IACD;QACE,OAAO,EAAE,mCAAa,CAAC,a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ACE,OAAO,EAAE,6CAAkB,CAAC,2BAA2B;QACvD,MAAM,EAAE,CAAC,mCAAa,CAAC,sBAAsB,CAAC;QAC9C,UAAU,EAAE,CAAC,oBAAkD,EAAE,EAAE,CACjE,IAAI,uDAAyB,CAAC,oBAAoB,CAAC;KACtD;IACD;QACE,OAAO,EAAE,6CAAkB,CAAC,yBAAyB;QACrD,MAAM,EAAE,CAAC,mCAAa,CAAC,aAAa,CAAC;QACrC,UAAU,EAAE,CAAC,YAAuC,EAAE,EAAE,CACtD,IAAI,mDAAuB,CAAC,YAAY,CAAC;KAC5C;IACD;QACE,OAAO,EAAE,uCAAe,CAAC,sBAAsB;QAC/C,MAAM,EAAE;YACN,6CAAkB,CAAC,yBAAyB;YAC5C,6CAAkB,CAAC,iCAAiC;YACpD,6CAAkB,CAAC,yBAAyB;YAC5C,6CAAkB,CAAC,2BAA2B;SAC/C;QACD,UAAU,EAAE,CACV,uBAAgD,EAChD,8BAA8D,EAC9D,uBAAgD,EAChD,yBAAoD,EACpD,EAAE,CACF,IAAI,6CAAoB,CACtB,uBAAuB,EACvB,8BAA8B,EAC9B,uBAAuB,EACvB,yBAAyB,CAC1B;KACJ;CACF,CAAA"}
1
+ {"version":3,"file":"companies.provider.js","sourceRoot":"","sources":["../../../../src/entities/models/companies/companies.provider.ts"],"names":[],"mappings":";;;AAAA,wEAA8E;AAC9E,4EAAmE;AACnE,sFAA6E;AAK7E,uEAG4C;AAC5C,gFAAuE;AACvE,sFAA6E;AAC7E,kHAA4G;AAC5G,0CAMqB;AACrB,8EAAyE;AACzE,wFAAmF;AACnF,2GAAsG;AAEtG,oDAA2E;AAC3E,wEAAqE;AACrE,+DAA4D;AAC5D,wFAAmF;AACnF,2EAAwE;AAE3D,QAAA,kBAAkB,GAAG;IAChC;QACE,OAAO,EAAE,mCAAa,CAAC,aAAa;QACpC,UAAU,EAAE,+BAAc;QAC1B,MAAM,EAAE,CAAC,6CAAkB,CAAC,kBAAkB,CAAC;KAChD;IACD;Q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./itp.entity";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./itp.entity"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/itps/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
@@ -0,0 +1,35 @@
1
+ /// <reference types="mongoose/types/aggregate" />
2
+ /// <reference types="mongoose/types/callback" />
3
+ /// <reference types="mongoose/types/collection" />
4
+ /// <reference types="mongoose/types/connection" />
5
+ /// <reference types="mongoose/types/cursor" />
6
+ /// <reference types="mongoose/types/document" />
7
+ /// <reference types="mongoose/types/error" />
8
+ /// <reference types="mongoose/types/expressions" />
9
+ /// <reference types="mongoose/types/helpers" />
10
+ /// <reference types="mongoose/types/middlewares" />
11
+ /// <reference types="mongoose/types/indexes" />
12
+ /// <reference types="mongoose/types/models" />
13
+ /// <reference types="mongoose/types/mongooseoptions" />
14
+ /// <reference types="mongoose/types/pipelinestage" />
15
+ /// <reference types="mongoose/types/populate" />
16
+ /// <reference types="mongoose/types/query" />
17
+ /// <reference types="mongoose/types/schemaoptions" />
18
+ /// <reference types="mongoose/types/schematypes" />
19
+ /// <reference types="mongoose/types/session" />
20
+ /// <reference types="mongoose/types/types" />
21
+ /// <reference types="mongoose/types/utility" />
22
+ /// <reference types="mongoose/types/validation" />
23
+ /// <reference types="mongoose/types/virtuals" />
24
+ /// <reference types="mongoose/types/inferschematype" />
25
+ /// <reference types="mongoose/types/inferrawdoctype" />
26
+ import { Connection } from 'mongoose';
27
+ import { CustomModel } from '../../../../../db/CustomModel';
28
+ export type ITPModel = CustomModel<ITP>;
29
+ export declare class ITP {
30
+ _id: string;
31
+ title: string;
32
+ }
33
+ export declare const itpFactory: (connection: Connection) => import("mongoose").Model<ITP, {}, {}, {}, import("mongoose").Document<unknown, {}, ITP> & ITP & Required<{
34
+ _id: string;
35
+ }>, any>;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.itpFactory = exports.ITP = void 0;
4
+ const mongoose_1 = require("mongoose");
5
+ const generate_model_1 = require("../../../../services/generate-model");
6
+ const validateProjectionResult_1 = require("../../../../../validators/validateProjectionResult");
7
+ const validateProjection_1 = require("../../../../../validators/validateProjection");
8
+ const validateNewItem_1 = require("../../../../../validators/validateNewItem");
9
+ const validateUpdateItem_1 = require("../../../../../validators/validateUpdateItem");
10
+ class ITP {
11
+ }
12
+ exports.ITP = ITP;
13
+ const itpFactory = (connection) => {
14
+ const itpSchema = new mongoose_1.Schema({
15
+ title: {
16
+ type: String
17
+ }
18
+ });
19
+ const fields = ["_id", "title"];
20
+ itpSchema.statics.validateProjectionResult = (necessaryProjectionObj) => (0, validateProjectionResult_1.validateProjectionResult)(fields, necessaryProjectionObj, false);
21
+ itpSchema.statics.validateProjection = (necessaryProjectionArray) => (0, validateProjection_1.validateProjection)(fields, necessaryProjectionArray, false);
22
+ itpSchema.statics.validateNewItem = (newItemObj) => (0, validateNewItem_1.validateNewItem)(fields, newItemObj, false);
23
+ itpSchema.statics.validateUpdateItem = (updateItemObj) => (0, validateUpdateItem_1.validateUpdateItem)(fields, updateItemObj, false);
24
+ return (0, generate_model_1.generateModel)('ITP', connection, itpSchema);
25
+ };
26
+ exports.itpFactory = itpFactory;
27
+ //# sourceMappingURL=itp.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"itp.entity.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/itps/itp.entity.ts"],"names":[],"mappings":";;;AAAA,uCAA6C;AAE7C,wEAAmE;AACnE,iGAA8F;AAC9F,qFAAkF;AAClF,+EAA4E;AAC5E,qFAAkF;AAIlF,MAAa,GAAG;CAGf;AAHD,kBAGC;AAEM,MAAM,UAAU,GAAG,CAAC,UAAsB,EAAE,EAAE;IACnD,MAAM,SAAS,GAAG,IAAI,iBAAM,CAAgB;QAC1C,KAAK,EAAE;YACL,IAAI,EAAE,MAAM;SACb;KACF,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAEhC,SAAS,CAAC,OAAO,CAAC,wBAAwB,GAAG,CAAC,sBAAsB,EAAE,EAAE,CACtE,IAAA,mDAAwB,EACtB,MAAM,EACN,sBAAsB,EACtB,KAAK,CACN,CAAA;IAEH,SAAS,CAAC,OAAO,CAAC,kBAAkB,GAAG,CAAC,wBAAwB,EAAE,EAAE,CAClE,IAAA,uCAAkB,EAAC,MAAM,EAAE,wBAAwB,EAAE,KAAK,CAAC,CAAA;IAE7D,SAAS,CAAC,OAAO,CAAC,eAAe,GAAG,CAAC,UAAU,EAAE,EAAE,CACjD,IAAA,iCAAe,EAAC,MAAM,EAAE,UAAU,EAAE,KAAK,CAAC,CAAA;IAE5C,SAAS,CAAC,OAAO,CAAC,kBAAkB,GAAG,CAAC,aAAa,EAAE,EAAE,CACvD,IAAA,uCAAkB,EAAC,MAAM,EAAE,aAAa,EAAE,KAAK,CAAC,CAAA;IAElD,OAAO,IAAA,8BAAa,EAClB,KAAK,EACL,UAAU,EACV,SAAS,CACV,CAAA;AACH,CAAC,CAAA;AA9BY,QAAA,UAAU,cA8BtB"}
@@ -2,6 +2,7 @@ export * from './entities/countries/country.schema';
2
2
  export * from './entities/cities/city.schema';
3
3
  export * from './entities/companies';
4
4
  export * from './entities/contacts';
5
+ export * from './entities/itps';
5
6
  export * from './repositories/company-common.repository';
6
7
  export * from './repositories/contact-common.repository';
7
8
  export * from './services/company-common.service';
@@ -18,6 +18,7 @@ __exportStar(require("./entities/countries/country.schema"), exports);
18
18
  __exportStar(require("./entities/cities/city.schema"), exports);
19
19
  __exportStar(require("./entities/companies"), exports);
20
20
  __exportStar(require("./entities/contacts"), exports);
21
+ __exportStar(require("./entities/itps"), exports);
21
22
  __exportStar(require("./repositories/company-common.repository"), exports);
22
23
  __exportStar(require("./repositories/contact-common.repository"), exports);
23
24
  __exportStar(require("./services/company-common.service"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/models/companies/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAmD;AACnD,gEAA6C;AAC7C,uDAAoC;AACpC,sDAAmC;AACnC,2EAAwD;AACxD,2EAAwD;AACxD,oEAAiD;AACjD,uDAAoC;AACpC,sEAAmD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/models/companies/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAmD;AACnD,gEAA6C;AAC7C,uDAAoC;AACpC,sDAAmC;AACnC,kDAA+B;AAC/B,2EAAwD;AACxD,2EAAwD;AACxD,oEAAiD;AACjD,uDAAoC;AACpC,sEAAmD"}
@@ -23,16 +23,16 @@
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  /// <reference types="mongoose/types/inferrawdoctype" />
26
- import { Connection } from 'mongoose';
27
- import { Company, Contact } from '../../../companies';
28
- import { Event } from '../../../../../entities/models/events';
29
- import { CustomModel } from '../../../../../db/CustomModel';
30
- import { MeetingType } from '../../../../../types/meeting-type.enum';
31
- import { ReminderType } from './reminder-type.enum';
32
- import { FollowupMeetingType } from './followup-meeting-type.enum';
33
- import { MeetingStatus } from './meeting-status.enum';
34
- import { MeetingRequest } from '../meetingRequests/meeting-request.entity';
35
- import { CompanyUserType } from '../../../../../enums/company-user-type.enum';
26
+ import { Connection } from "mongoose";
27
+ import { Company, Contact } from "../../../companies";
28
+ import { Event } from "../../../../../entities/models/events";
29
+ import { CustomModel } from "../../../../../db/CustomModel";
30
+ import { MeetingType } from "../../../../../types/meeting-type.enum";
31
+ import { ReminderType } from "./reminder-type.enum";
32
+ import { FollowupMeetingType } from "./followup-meeting-type.enum";
33
+ import { MeetingStatus } from "./meeting-status.enum";
34
+ import { MeetingRequest } from "../meetingRequests/meeting-request.entity";
35
+ import { CompanyUserType } from "../../../../../enums/company-user-type.enum";
36
36
  import { CreationSourceEnum } from "./creation-source.enum";
37
37
  export type MeetingModel = CustomModel<Meeting>;
38
38
  export declare class Meeting {
@@ -50,6 +50,9 @@ export declare class Meeting {
50
50
  place: string;
51
51
  hallId?: any;
52
52
  tableId?: any;
53
+ managed?: boolean;
54
+ itp?: any;
55
+ subscription?: any;
53
56
  virtualMeetingId?: string;
54
57
  virtualMeetingLink?: string;
55
58
  virtualMeetingAdminLink?: string;
@@ -78,6 +81,6 @@ export declare class Meeting {
78
81
  hostType: CompanyUserType;
79
82
  creationSource?: CreationSourceEnum;
80
83
  }
81
- export declare const meetingFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<Meeting, {}, {}, {}, import("mongoose").Document<unknown, {}, Meeting> & Meeting & Required<{
84
+ export declare const meetingFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection, subscriptionConnection: Connection) => import("mongoose").Model<Meeting, {}, {}, {}, import("mongoose").Document<unknown, {}, Meeting> & Meeting & Required<{
82
85
  _id: string;
83
86
  }>, any>;