@aldb2b/common 1.0.400 → 1.0.402

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.
@@ -0,0 +1,16 @@
1
+ import { RecordType } from 'src/types/record-type.enum';
2
+ import { Subjects } from './subjects';
3
+ import { PropertyType } from './enums/property-type.enum';
4
+ export declare namespace CreateProperty {
5
+ interface Context {
6
+ subject: Subjects.CreateProperty;
7
+ data: Data;
8
+ }
9
+ interface Data {
10
+ relatedRecordType: RecordType;
11
+ relatedRecordId: string;
12
+ eventId?: string;
13
+ type: PropertyType;
14
+ content: string;
15
+ }
16
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=add-properties-token.interface.js.map
3
+ //# sourceMappingURL=create-property.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-property.interface.js","sourceRoot":"","sources":["../../src/events/create-property.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export declare enum PropertyType {
2
+ NOTE = "Note",
3
+ TASK = "Task",
4
+ IMAGE = "Image",
5
+ DOCUMENT = "Document",
6
+ VIDEO = "Video",
7
+ BUSINESS_CARD = "Business Card"
8
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertyType = void 0;
4
+ var PropertyType;
5
+ (function (PropertyType) {
6
+ PropertyType["NOTE"] = "Note";
7
+ PropertyType["TASK"] = "Task";
8
+ PropertyType["IMAGE"] = "Image";
9
+ PropertyType["DOCUMENT"] = "Document";
10
+ PropertyType["VIDEO"] = "Video";
11
+ PropertyType["BUSINESS_CARD"] = "Business Card";
12
+ })(PropertyType = exports.PropertyType || (exports.PropertyType = {}));
13
+ //# sourceMappingURL=property-type.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"property-type.enum.js","sourceRoot":"","sources":["../../../src/events/enums/property-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAOX;AAPD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,6BAAa,CAAA;IACb,+BAAe,CAAA;IACf,qCAAqB,CAAA;IACrB,+BAAe,CAAA;IACf,+CAA+B,CAAA;AACjC,CAAC,EAPW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAOvB"}
@@ -109,5 +109,6 @@ export declare enum Subjects {
109
109
  CreateCities = "createCities",
110
110
  PullEventInfo = "pullEventInfo",
111
111
  SetMeetingsToNotShow = "setMeetingsToNotShow",
112
- MoveUserEventInfo = "moveUserEventInfo"
112
+ MoveUserEventInfo = "moveUserEventInfo",
113
+ CreateProperty = "createProperty"
113
114
  }
@@ -114,5 +114,6 @@ var Subjects;
114
114
  Subjects["PullEventInfo"] = "pullEventInfo";
115
115
  Subjects["SetMeetingsToNotShow"] = "setMeetingsToNotShow";
116
116
  Subjects["MoveUserEventInfo"] = "moveUserEventInfo";
117
+ Subjects["CreateProperty"] = "createProperty";
117
118
  })(Subjects = exports.Subjects || (exports.Subjects = {}));
118
119
  //# sourceMappingURL=subjects.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subjects.js","sourceRoot":"","sources":["../../src/events/subjects.ts"],"names":[],"mappings":";;;AAEA,IAAY,QAgHX;AAhHD,WAAY,QAAQ;IAClB,yCAA6B,CAAA;IAC7B,mCAAuB,CAAA;IACvB,4CAAgC,CAAA;IAChC,iCAAqB,CAAA;IACrB,uCAA2B,CAAA;IAC3B,+CAAmC,CAAA;IACnC,+CAAmC,CAAA;IACnC,6CAAiC,CAAA;IACjC,4CAAgC,CAAA;IAChC,4CAAgC,CAAA;IAChC,gDAAoC,CAAA;IACpC,4EAAgE,CAAA;IAChE,wDAA4C,CAAA;IAC5C,yDAA6C,CAAA;IAC7C,qCAAyB,CAAA;IACzB,4CAAgC,CAAA;IAChC,4CAAgC,CAAA;IAChC,2DAA+C,CAAA;IAC/C,2DAA+C,CAAA;IAC/C,2DAA+C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EAAyD,CAAA;IACzD,mEAAuD,CAAA;IACvD,iDAAqC,CAAA;IACrC,yDAA6C,CAAA;IAC7C,uEAA2D,CAAA;IAC3D,6DAAiD,CAAA;IACjD,6CAAiC,CAAA;IACjC,iDAAqC,CAAA;IACrC,mDAAuC,CAAA;IACvC,yCAA6B,CAAA;IAC7B,+CAAmC,CAAA;IACnC,+DAAmD,CAAA;IACnD,uDAA2C,CAAA;IAC3C,mEAAuD,CAAA;IACvD,qDAAyC,CAAA;IACzC,mEAAuD,CAAA;IACvD,qDAAyC,CAAA;IACzC,+CAAmC,CAAA;IACnC,+DAAmD,CAAA;IACnD,uDAA2C,CAAA;IAC3C,+CAAmC,CAAA;IACnC,yDAA6C,CAAA;IAC7C,yDAA6C,CAAA;IAC7C,mDAAuC,CAAA;IACvC,mEAAuD,CAAA;IACvD,mEAAuD,CAAA;IACvD,yDAA6C,CAAA;IAC7C,mEAAuD,CAAA;IACvD,oEAAwD,CAAA;IACxD,sEAA0D,CAAA;IAC1D,yCAA6B,CAAA;IAC7B,2CAA+B,CAAA;IAC/B,yDAA6C,CAAA;IAC7C,mDAAuC,CAAA;IACvC,6CAAiC,CAAA;AACnC,CAAC,EAjHW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAiHnB"}
package/build/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './events/enums/property-type.enum';
1
2
  export * from './events/subjects';
2
3
  export * from './events/email-specs.interface';
3
4
  export * from './events/get-companies.interface';
@@ -111,6 +112,7 @@ export * from './events/update-chat-setting.interface';
111
112
  export * from './events/pull-event-info.interface';
112
113
  export * from './events/set-meetings-to-not-show.interface';
113
114
  export * from './events/move-user-event-info.interface';
115
+ export * from './events/create-property.interface';
114
116
  export * from './validators/conditional-required';
115
117
  export * from './validators/date-validator';
116
118
  export * from './validators/validateNewItem';
@@ -176,7 +178,6 @@ export * from './types/priority.enum';
176
178
  export * from './types/meeting-setting.interface';
177
179
  export * from './types/notifications-calendar-event.interface';
178
180
  export * from './types/meeting-token.interface';
179
- export * from './types/add-properties-token.interface';
180
181
  export * from './middlewares/app.middleware';
181
182
  export * from './middlewares/authorizer.middleware';
182
183
  export * from './middlewares/subscription-subtractor.middleware';
@@ -197,5 +198,4 @@ export * from './utils/getEndpoint';
197
198
  export * from './utils/addDaysToDate';
198
199
  export * from './utils/addHours';
199
200
  export * from './types/meeting-token.interface';
200
- export * from './types/add-properties-token.interface';
201
201
  export * from './utils/encryptor';
package/build/index.js CHANGED
@@ -10,6 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./events/enums/property-type.enum"), exports);
13
14
  __exportStar(require("./events/subjects"), exports);
14
15
  __exportStar(require("./events/email-specs.interface"), exports);
15
16
  __exportStar(require("./events/get-companies.interface"), exports);
@@ -123,6 +124,7 @@ __exportStar(require("./events/update-chat-setting.interface"), exports);
123
124
  __exportStar(require("./events/pull-event-info.interface"), exports);
124
125
  __exportStar(require("./events/set-meetings-to-not-show.interface"), exports);
125
126
  __exportStar(require("./events/move-user-event-info.interface"), exports);
127
+ __exportStar(require("./events/create-property.interface"), exports);
126
128
  __exportStar(require("./validators/conditional-required"), exports);
127
129
  __exportStar(require("./validators/date-validator"), exports);
128
130
  __exportStar(require("./validators/validateNewItem"), exports);
@@ -188,7 +190,6 @@ __exportStar(require("./types/priority.enum"), exports);
188
190
  __exportStar(require("./types/meeting-setting.interface"), exports);
189
191
  __exportStar(require("./types/notifications-calendar-event.interface"), exports);
190
192
  __exportStar(require("./types/meeting-token.interface"), exports);
191
- __exportStar(require("./types/add-properties-token.interface"), exports);
192
193
  __exportStar(require("./middlewares/app.middleware"), exports);
193
194
  __exportStar(require("./middlewares/authorizer.middleware"), exports);
194
195
  __exportStar(require("./middlewares/subscription-subtractor.middleware"), exports);
@@ -209,6 +210,5 @@ __exportStar(require("./utils/getEndpoint"), exports);
209
210
  __exportStar(require("./utils/addDaysToDate"), exports);
210
211
  __exportStar(require("./utils/addHours"), exports);
211
212
  __exportStar(require("./types/meeting-token.interface"), exports);
212
- __exportStar(require("./types/add-properties-token.interface"), exports);
213
213
  __exportStar(require("./utils/encryptor"), exports);
214
214
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiC;AACjC,iEAA8C;AAC9C,mEAAgD;AAChD,+DAA4C;AAC5C,oEAAiD;AACjD,qEAAkD;AAClD,oEAAiD;AACjD,sEAAmD;AACnD,6EAA0D;AAC1D,uEAAoD;AACpD,sEAAmD;AACnD,6EAA0D;AAC1D,2EAAwD;AACxD,4EAAyD;AACzD,iEAA8C;AAC9C,4EAAyD;AACzD,4EAAyD;AACzD,wEAAqD;AACrD,yEAAsD;AACtD,yEAAsD;AACtD,oEAAiD;AACjD,6EAA0D;AAC1D,2EAAwD;AACxD,8EAA2D;AAC3D,mEAAgD;AAChD,oEAAiD;AACjD,oEAAiD;AACjD,oEAAiD;AACjD,wEAAqD;AACrD,2EAAwD;AACxD,0EAAuD;AACvD,mEAAgD;AAChD,kDAA+B;AAC/B,oEAAiD;AACjD,2EAAwD;AACxD,oEAAiD;AACjD,qEAAkD;AAClD,qEAAkD;AAClD,wEAAqD;AACrD,sEAAmD;AACnD,0EAAuD;AACvD,wEAAqD;AACrD,4EAAyD;AACzD,oEAAiD;AACjD,oEAAiD;AACjD,wEAAqD;AACrD,0EAAuD;AACvD,2EAAwD;AACxD,yEAAsD;AACtD,kFAA+D;AAC/D,qEAAkD;AAClD,qEAAkD;AAClD,qEAAkD;AAClD,qEAAkD;AAClD,mEAAgD;AAChD,mEAAgD;AAChD,qEAAkD;AAClD,6EAA0D;AAC1D,qEAAkD;AAClD,qEAAkD;AAClD,qEAAkD;AAClD,uEA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gEAA6C;AAC7C,yEAAsD;AACtD,2EAAwD;AACxD,4DAAyC;AACzC,0EAAuD;AACvD,0DAAuC;AACvC,gEAA6C;AAC7C,0DAAuC;AACvC,qEAAkD;AAClD,qEAAkD;AAClD,uEAAoD;AACpD,mEAAgD;AAChD,+DAA4C;AAC5C,uEAAoD;AACpD,qEAAkD;AAClD,kEAA+C;AAC/C,oEAAiD;AACjD,iEAA8C;AAC9C,2DAAwC;AACxC,8DAA2C;AAC3C,kEAA+C;AAC/C,6DAA0C;AAC1C,4DAAyC;AACzC,6DAA0C;AAC1C,2DAAwC;AACxC,4DAAyC;AACzC,4DAAyC;AACzC,0DAAuC;AACvC,8DAA2C;AAC3C,8DAA2C;AAC3C,wDAAqC;AACrC,oEAAiD;AACjD,iFAA8D;AAC9D,kEAA+C;AAC/C,yEAAsD;AAEtD,+DAA4C;AAC5C,sEAAmD;AACnD,mFAAgE;AAChE,kFAA+D;AAC/D,wEAAqD;AAErD,qEAAkD;AAClD,6DAA0C;AAC1C,uDAAoC;AACpC,sDAAmC;AACnC,qDAAkC;AAClC,mDAAgC;AAChC,4DAAyC;AACzC,2DAAwC;AACxC,oDAAiC;AACjC,uDAAoC;AACpC,yDAAsC;AACtC,sDAAmC;AACnC,wDAAqC;AACrC,mDAAgC;AAChC,kEAA+C;AAC/C,yEAAsD;AACtD,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oEAAiD;AACjD,oDAAiC;AACjC,iEAA8C;AAC9C,mEAAgD;AAChD,+DAA4C;AAC5C,oEAAiD;AACjD,qEAAkD;AAClD,oEAAiD;AACjD,sEAAmD;AACnD,6EAA0D;AAC1D,uEAAoD;AACpD,sEAAmD;AACnD,6EAA0D;AAC1D,2EAAwD;AACxD,4EAAyD;AACzD,iEAA8C;AAC9C,4EAAyD;AACzD,4EAAyD;AACzD,wEAAqD;AACrD,yEAAsD;AACtD,yEAAsD;AACtD,o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;AACpC,sDAAmC;AACnC,qDAAkC;AAClC,mDAAgC;AAChC,4DAAyC;AACzC,2DAAwC;AACxC,oDAAiC;AACjC,uDAAoC;AACpC,yDAAsC;AACtC,sDAAmC;AACnC,wDAAqC;AACrC,mDAAgC;AAChC,kEAA+C;AAC/C,oDAAiC"}
@@ -161,14 +161,19 @@
161
161
  "signature": "d2f31f19e1ba6ed59be9259d660a239d9a3fcbbc8e038c6b2009bde34b175fed",
162
162
  "affectsGlobalScope": false
163
163
  },
164
+ "../src/events/enums/property-type.enum.ts": {
165
+ "version": "c9ce7db72c889e1bef2c97290b40f5d773a403869dc5b58f87e0366040bf99ae",
166
+ "signature": "8123d31257d20ad99aee23cc803f3a7fe45f7133d35b6e51c9b1354e69a613b3",
167
+ "affectsGlobalScope": false
168
+ },
164
169
  "../src/events/move-user-event-info.interface.ts": {
165
170
  "version": "aa2f3d1f967da46862f67143b851c6408be9a80bca3854b0496d19403843c875",
166
171
  "signature": "b54e7e7cbe7cffc5ab959f588e01f9ee560c2c8b161eb5723232dd9f7abc5549",
167
172
  "affectsGlobalScope": false
168
173
  },
169
174
  "../src/events/subjects.ts": {
170
- "version": "35eb29916f6e0162c6e45c658fa55a315b0c3d5e4605e38ff3d6b3a53f9d5110",
171
- "signature": "65d7e86819e577f087271b157b83f05b18b8814e1c4dc0043e84e516fcdfa428",
175
+ "version": "8df8284fdd397b4766c1c04021387e3f425f8ac2edf84b3bfb4c6eb8f3b96ed8",
176
+ "signature": "a295f440f6ea16f0e57ffd95f21414d2507b123d538b39ab84501e8c41e8f814",
172
177
  "affectsGlobalScope": false
173
178
  },
174
179
  "../src/events/email-specs.interface.ts": {
@@ -816,6 +821,11 @@
816
821
  "signature": "2986146393d92eb7385a4f194b82901a5dca5bfc30e0313dbbb2f2f7b3eeb188",
817
822
  "affectsGlobalScope": false
818
823
  },
824
+ "../src/events/create-property.interface.ts": {
825
+ "version": "8b4912c9db433aebe0b43e2c5c77c4c92258049265493210f64686c97f2e10f0",
826
+ "signature": "df113434028a5a2ce20b01abb4eeaae076363cc2b1c469ffb6797c87d17167cc",
827
+ "affectsGlobalScope": false
828
+ },
819
829
  "../node_modules/class-validator/types/validation/ValidationError.d.ts": {
820
830
  "version": "e69d0b59db23f59172cb087ee44a71438f809bd214d4f4105abd6090b341cbdc",
821
831
  "signature": "e69d0b59db23f59172cb087ee44a71438f809bd214d4f4105abd6090b341cbdc",
@@ -3972,13 +3982,8 @@
3972
3982
  "affectsGlobalScope": false
3973
3983
  },
3974
3984
  "../src/types/meeting-token.interface.ts": {
3975
- "version": "551c8beb7aa9c54826dc0b1a107870128c91c14a0cfe5c3112f2ad8f20a45504",
3976
- "signature": "2d9c1838253b7ac8360bd0b2a65f21903a812913c8fe752f18470c278e3f3230",
3977
- "affectsGlobalScope": false
3978
- },
3979
- "../src/types/add-properties-token.interface.ts": {
3980
- "version": "f0b5a8aaa00a7419c71eddb29d5999d9474517e9dff1da46731f4b051b6c347a",
3981
- "signature": "b162d23c2ebde673bd4aa31cd345030e989495b64acac7e9a16b09b2ce8fd81d",
3985
+ "version": "8b3bc68e214ae9a986b8265304ca2a9dfed00b4b5566c838808dbd40a8169864",
3986
+ "signature": "c9678bd9503cd9864d48045ac8ab9d7c10e335eb78dee933bd5f7f42ab4eebb9",
3982
3987
  "affectsGlobalScope": false
3983
3988
  },
3984
3989
  "../node_modules/@types/range-parser/index.d.ts": {
@@ -6857,13 +6862,13 @@
6857
6862
  "affectsGlobalScope": false
6858
6863
  },
6859
6864
  "../src/utils/encryptor.ts": {
6860
- "version": "96348b9b8985e91fed0c2d69e01c13220fd925d344ca7b1aff9594293780c943",
6865
+ "version": "fed8fe03d387758eb337f41a4f5e0ea442d7a11cafc8f9aeea6ef1da58a4c627",
6861
6866
  "signature": "8bccc5c219d51c20a51d3531a55a09c9d6ee5189aeb4714e46f979d5d0e8fce1",
6862
6867
  "affectsGlobalScope": false
6863
6868
  },
6864
6869
  "../src/index.ts": {
6865
- "version": "a79c284fdf9b10f8c710ca077203b5f473d0735c493307463b14fc980849c82d",
6866
- "signature": "3de894c45ed5430bccf8823cab89c085b26f4c2c78fe2566ee64d580cbe5b975",
6870
+ "version": "c77ed2d9be69907b1bbc76a86d89d9bdc67fd554928a1546ed730ddd4abe9568",
6871
+ "signature": "7b722b4f074ad42d97b05234e74805842c9c0f476fd5fc625bed84b9e67c0a6f",
6867
6872
  "affectsGlobalScope": false
6868
6873
  },
6869
6874
  "../src/events/meeting-request-updated.interface.ts": {
@@ -11803,6 +11808,11 @@
11803
11808
  "../src/events/subjects.ts",
11804
11809
  "../src/types/notification-event.enum.ts"
11805
11810
  ],
11811
+ "../src/events/create-property.interface.ts": [
11812
+ "../src/events/enums/property-type.enum.ts",
11813
+ "../src/events/subjects.ts",
11814
+ "../src/types/record-type.enum.ts"
11815
+ ],
11806
11816
  "../src/events/create-quotation-crm.interface.ts": [
11807
11817
  "../src/events/subjects.ts"
11808
11818
  ],
@@ -12109,6 +12119,7 @@
12109
12119
  "../src/events/create-notification-event.interface.ts",
12110
12120
  "../src/events/create-order-crm.interface.ts",
12111
12121
  "../src/events/create-order-send-email.interface.ts",
12122
+ "../src/events/create-property.interface.ts",
12112
12123
  "../src/events/create-quotation-crm.interface.ts",
12113
12124
  "../src/events/create-subscription-event.interface.ts",
12114
12125
  "../src/events/create-user-event.interface.ts",
@@ -12118,6 +12129,7 @@
12118
12129
  "../src/events/demo-create-users.interface.ts",
12119
12130
  "../src/events/edit-list-users.interface.ts",
12120
12131
  "../src/events/email-specs.interface.ts",
12132
+ "../src/events/enums/property-type.enum.ts",
12121
12133
  "../src/events/event-created.interface.ts",
12122
12134
  "../src/events/event-deleted.interface.ts",
12123
12135
  "../src/events/event-updated.interface.ts",
@@ -12200,7 +12212,6 @@
12200
12212
  "../src/middlewares/event-status.middleware.ts",
12201
12213
  "../src/middlewares/subscription-subtractor.middleware.ts",
12202
12214
  "../src/middlewares/subscription-validator.middleware.ts",
12203
- "../src/types/add-properties-token.interface.ts",
12204
12215
  "../src/types/analytic-group.interface.ts",
12205
12216
  "../src/types/bulk-users.enum.ts",
12206
12217
  "../src/types/calendar-source-type.enum.ts",
@@ -17298,6 +17309,11 @@
17298
17309
  "../src/events/subjects.ts",
17299
17310
  "../src/types/notification-event.enum.ts"
17300
17311
  ],
17312
+ "../src/events/create-property.interface.ts": [
17313
+ "../src/events/enums/property-type.enum.ts",
17314
+ "../src/events/subjects.ts",
17315
+ "../src/types/record-type.enum.ts"
17316
+ ],
17301
17317
  "../src/events/create-quotation-crm.interface.ts": [
17302
17318
  "../src/events/subjects.ts"
17303
17319
  ],
@@ -17600,6 +17616,7 @@
17600
17616
  "../src/events/create-notification-event.interface.ts",
17601
17617
  "../src/events/create-order-crm.interface.ts",
17602
17618
  "../src/events/create-order-send-email.interface.ts",
17619
+ "../src/events/create-property.interface.ts",
17603
17620
  "../src/events/create-quotation-crm.interface.ts",
17604
17621
  "../src/events/create-subscription-event.interface.ts",
17605
17622
  "../src/events/create-user-event.interface.ts",
@@ -17609,6 +17626,7 @@
17609
17626
  "../src/events/demo-create-users.interface.ts",
17610
17627
  "../src/events/edit-list-users.interface.ts",
17611
17628
  "../src/events/email-specs.interface.ts",
17629
+ "../src/events/enums/property-type.enum.ts",
17612
17630
  "../src/events/event-created.interface.ts",
17613
17631
  "../src/events/event-deleted.interface.ts",
17614
17632
  "../src/events/event-updated.interface.ts",
@@ -17691,7 +17709,6 @@
17691
17709
  "../src/middlewares/event-status.middleware.ts",
17692
17710
  "../src/middlewares/subscription-subtractor.middleware.ts",
17693
17711
  "../src/middlewares/subscription-validator.middleware.ts",
17694
- "../src/types/add-properties-token.interface.ts",
17695
17712
  "../src/types/analytic-group.interface.ts",
17696
17713
  "../src/types/bulk-users.enum.ts",
17697
17714
  "../src/types/calendar-source-type.enum.ts",
@@ -19080,6 +19097,7 @@
19080
19097
  "../src/events/create-notification-event.interface.ts",
19081
19098
  "../src/events/create-order-crm.interface.ts",
19082
19099
  "../src/events/create-order-send-email.interface.ts",
19100
+ "../src/events/create-property.interface.ts",
19083
19101
  "../src/events/create-quotation-crm.interface.ts",
19084
19102
  "../src/events/create-subscription-event.interface.ts",
19085
19103
  "../src/events/create-user-event.interface.ts",
@@ -19089,6 +19107,7 @@
19089
19107
  "../src/events/demo-create-users.interface.ts",
19090
19108
  "../src/events/edit-list-users.interface.ts",
19091
19109
  "../src/events/email-specs.interface.ts",
19110
+ "../src/events/enums/property-type.enum.ts",
19092
19111
  "../src/events/event-created.interface.ts",
19093
19112
  "../src/events/event-deleted.interface.ts",
19094
19113
  "../src/events/event-updated.interface.ts",
@@ -19173,7 +19192,6 @@
19173
19192
  "../src/middlewares/event-status.middleware.ts",
19174
19193
  "../src/middlewares/subscription-subtractor.middleware.ts",
19175
19194
  "../src/middlewares/subscription-validator.middleware.ts",
19176
- "../src/types/add-properties-token.interface.ts",
19177
19195
  "../src/types/analytic-group.interface.ts",
19178
19196
  "../src/types/bulk-users.enum.ts",
19179
19197
  "../src/types/calendar-source-type.enum.ts",
@@ -1,5 +1,6 @@
1
1
  export interface MeetingToken {
2
2
  userId: string;
3
+ companyId: string;
3
4
  id: string;
4
5
  eventId: string;
5
6
  }
@@ -1,9 +1,18 @@
1
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
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.Encryptor = void 0;
4
13
  const common_1 = require("@nestjs/common");
5
14
  const Cryptr = require('cryptr');
6
- class Encryptor {
15
+ let Encryptor = class Encryptor {
7
16
  constructor(tokenSerializer) {
8
17
  this.cryptr = new Cryptr(tokenSerializer);
9
18
  }
@@ -18,6 +27,10 @@ class Encryptor {
18
27
  throw new common_1.BadRequestException('Invalid token');
19
28
  }
20
29
  }
21
- }
30
+ };
31
+ Encryptor = __decorate([
32
+ common_1.Injectable(),
33
+ __metadata("design:paramtypes", [String])
34
+ ], Encryptor);
22
35
  exports.Encryptor = Encryptor;
23
36
  //# sourceMappingURL=encryptor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"encryptor.js","sourceRoot":"","sources":["../../src/utils/encryptor.ts"],"names":[],"mappings":";;;AAAA,2CAAoD;AAGpD,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAEhC,MAAa,SAAS;IAEpB,YAAY,eAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,eAAe,CAAC,CAAA;IAC3C,CAAC;IAED,OAAO,CAAC,IAAO;QACb,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAA;IAClD,CAAC;IAED,OAAO,CAAC,KAAa;QACnB,IAAI;YACF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAM,CAAA;SACnD;QAAC,OAAO,GAAG,EAAE;YACZ,MAAM,IAAI,4BAAmB,CAAC,eAAe,CAAC,CAAA;SAC/C;IACH,CAAC;CACF;AAjBD,8BAiBC"}
1
+ {"version":3,"file":"encryptor.js","sourceRoot":"","sources":["../../src/utils/encryptor.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAgE;AAGhE,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGhC,IAAa,SAAS,GAAtB,MAAa,SAAS;IAEpB,YAAY,eAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,eAAe,CAAC,CAAA;IAC3C,CAAC;IAED,OAAO,CAAC,IAAO;QACb,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAA;IAClD,CAAC;IAED,OAAO,CAAC,KAAa;QACnB,IAAI;YACF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAM,CAAA;SACnD;QAAC,OAAO,GAAG,EAAE;YACZ,MAAM,IAAI,4BAAmB,CAAC,eAAe,CAAC,CAAA;SAC/C;IACH,CAAC;CACF,CAAA;AAjBY,SAAS;IADrB,mBAAU,EAAE;;GACA,SAAS,CAiBrB;AAjBY,8BAAS"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldb2b/common",
3
- "version": "1.0.400",
3
+ "version": "1.0.402",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -1,4 +0,0 @@
1
- export interface AddPropertiesToken {
2
- relatedRecordId: string;
3
- eventId: string;
4
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-properties-token.interface.js","sourceRoot":"","sources":["../../src/types/add-properties-token.interface.ts"],"names":[],"mappings":""}