joye-backend-utility 5.0.46 → 5.0.49

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 (84) hide show
  1. package/README.md +2 -2
  2. package/dist/config/index.d.ts +2 -2
  3. package/dist/config/index.js +8 -8
  4. package/dist/database.d.ts +26 -26
  5. package/dist/database.js +136 -136
  6. package/dist/dateTime.d.ts +11 -11
  7. package/dist/dateTime.js +82 -82
  8. package/dist/index.d.ts +6 -6
  9. package/dist/index.js +25 -25
  10. package/dist/jwt.d.ts +3 -3
  11. package/dist/jwt.js +40 -40
  12. package/dist/jwtKeys/jwtRS256.key +54 -0
  13. package/dist/jwtKeys/jwtRS256.key.pub +14 -0
  14. package/dist/redisClient.d.ts +6 -6
  15. package/dist/redisClient.js +34 -34
  16. package/dist/schema/brew.d.ts +2 -2
  17. package/dist/schema/brew.js +160 -160
  18. package/dist/schema/databaseInfo.d.ts +2 -2
  19. package/dist/schema/databaseInfo.js +35 -35
  20. package/dist/schema/index.d.ts +32 -32
  21. package/dist/schema/index.js +67 -67
  22. package/dist/schema/masterAppSetting.d.ts +2 -2
  23. package/dist/schema/masterAppSetting.js +24 -24
  24. package/dist/schema/masterBlessingsData.d.ts +2 -2
  25. package/dist/schema/masterBlessingsData.js +41 -41
  26. package/dist/schema/masterData.d.ts +2 -2
  27. package/dist/schema/masterData.js +28 -28
  28. package/dist/schema/masterEmotion.d.ts +2 -2
  29. package/dist/schema/masterEmotion.js +115 -115
  30. package/dist/schema/masterEmotionMessageMapping.d.ts +2 -2
  31. package/dist/schema/masterEmotionMessageMapping.js +16 -16
  32. package/dist/schema/masterEmotionMessageTypeThemeMapping.d.ts +2 -2
  33. package/dist/schema/masterEmotionMessageTypeThemeMapping.js +23 -23
  34. package/dist/schema/masterLinkCard.d.ts +2 -2
  35. package/dist/schema/masterLinkCard.js +28 -28
  36. package/dist/schema/masterPodcast.d.ts +2 -2
  37. package/dist/schema/masterPodcast.js +33 -33
  38. package/dist/schema/masterPredictionEmotion.d.ts +2 -2
  39. package/dist/schema/masterPredictionEmotion.js +27 -27
  40. package/dist/schema/masterPredictionEmotionMessage.d.ts +2 -2
  41. package/dist/schema/masterPredictionEmotionMessage.js +26 -26
  42. package/dist/schema/masterPredictionEmotionMessageMapping.d.ts +2 -2
  43. package/dist/schema/masterPredictionEmotionMessageMapping.js +16 -16
  44. package/dist/schema/masterSuggestionsMessage.model.d.ts +2 -2
  45. package/dist/schema/masterSuggestionsMessage.model.js +31 -23
  46. package/dist/schema/masterSuggestionsParameter.model.d.ts +2 -2
  47. package/dist/schema/masterSuggestionsParameter.model.js +23 -23
  48. package/dist/schema/masterThemeData.d.ts +2 -2
  49. package/dist/schema/masterThemeData.js +48 -48
  50. package/dist/schema/masterThemeMessage.d.ts +2 -2
  51. package/dist/schema/masterThemeMessage.js +13 -13
  52. package/dist/schema/masterVideo.d.ts +2 -2
  53. package/dist/schema/masterVideo.js +33 -33
  54. package/dist/schema/organization.d.ts +2 -2
  55. package/dist/schema/organization.js +79 -79
  56. package/dist/schema/organizationUserAttrPermission.d.ts +2 -2
  57. package/dist/schema/organizationUserAttrPermission.js +35 -35
  58. package/dist/schema/platform.d.ts +2 -2
  59. package/dist/schema/platform.js +28 -28
  60. package/dist/schema/timezones.d.ts +2 -2
  61. package/dist/schema/timezones.js +26 -26
  62. package/dist/schema/user.d.ts +2 -2
  63. package/dist/schema/user.js +221 -221
  64. package/dist/schema/userFeedback.d.ts +2 -2
  65. package/dist/schema/userFeedback.js +24 -24
  66. package/dist/schema/userGoal.d.ts +2 -2
  67. package/dist/schema/userGoal.js +42 -34
  68. package/dist/schema/userLog.d.ts +2 -2
  69. package/dist/schema/userLog.js +22 -22
  70. package/dist/schema/userMeeting.d.ts +2 -2
  71. package/dist/schema/userMeeting.js +22 -22
  72. package/dist/schema/userMessages.d.ts +2 -2
  73. package/dist/schema/userMessages.js +24 -24
  74. package/dist/schema/userMessagesLog.d.ts +2 -2
  75. package/dist/schema/userMessagesLog.js +69 -69
  76. package/dist/schema/userRecommendation.d.ts +2 -2
  77. package/dist/schema/userRecommendation.js +24 -24
  78. package/dist/schema/userReminder.d.ts +2 -2
  79. package/dist/schema/userReminder.js +61 -61
  80. package/dist/schema/userVideo.d.ts +2 -2
  81. package/dist/schema/userVideo.js +50 -50
  82. package/dist/util.d.ts +2 -2
  83. package/dist/util.js +13 -13
  84. package/package.json +62 -62
@@ -1,22 +1,22 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserLogSchema = void 0;
4
- const mongoose_1 = require("mongoose");
5
- const UserLog = new mongoose_1.Schema({
6
- userId: {
7
- type: mongoose_1.Types.ObjectId,
8
- required: true,
9
- },
10
- date: {
11
- type: String,
12
- required: true,
13
- },
14
- log: {
15
- type: Object,
16
- required: false,
17
- },
18
- });
19
- UserLog.index({ userId: 1, date: -1 }, {
20
- unique: true,
21
- });
22
- exports.UserLogSchema = UserLog;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserLogSchema = void 0;
4
+ const mongoose_1 = require("mongoose");
5
+ const UserLog = new mongoose_1.Schema({
6
+ userId: {
7
+ type: mongoose_1.Types.ObjectId,
8
+ required: true,
9
+ },
10
+ date: {
11
+ type: String,
12
+ required: true,
13
+ },
14
+ log: {
15
+ type: Object,
16
+ required: false,
17
+ },
18
+ });
19
+ UserLog.index({ userId: 1, date: -1 }, {
20
+ unique: true,
21
+ });
22
+ exports.UserLogSchema = UserLog;
@@ -1,2 +1,2 @@
1
- import { Schema } from 'mongoose';
2
- export declare const UserMeetingSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
1
+ import { Schema } from 'mongoose';
2
+ export declare const UserMeetingSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
@@ -1,22 +1,22 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserMeetingSchema = void 0;
4
- const mongoose_1 = require("mongoose");
5
- const UserMeeting = new mongoose_1.Schema({
6
- employeeId: {
7
- type: String,
8
- required: true,
9
- },
10
- date: {
11
- type: String,
12
- required: true,
13
- },
14
- meetings: {
15
- type: Array,
16
- required: false,
17
- },
18
- });
19
- UserMeeting.index({ employeeId: 1, date: -1 }, {
20
- unique: true,
21
- });
22
- exports.UserMeetingSchema = UserMeeting;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserMeetingSchema = void 0;
4
+ const mongoose_1 = require("mongoose");
5
+ const UserMeeting = new mongoose_1.Schema({
6
+ employeeId: {
7
+ type: String,
8
+ required: true,
9
+ },
10
+ date: {
11
+ type: String,
12
+ required: true,
13
+ },
14
+ meetings: {
15
+ type: Array,
16
+ required: false,
17
+ },
18
+ });
19
+ UserMeeting.index({ employeeId: 1, date: -1 }, {
20
+ unique: true,
21
+ });
22
+ exports.UserMeetingSchema = UserMeeting;
@@ -1,2 +1,2 @@
1
- import { Schema } from 'mongoose';
2
- export declare const UserMessageSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
1
+ import { Schema } from 'mongoose';
2
+ export declare const UserMessageSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
@@ -1,24 +1,24 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserMessageSchema = void 0;
4
- const mongoose_1 = require("mongoose");
5
- const UserMessage = new mongoose_1.Schema({
6
- userId: {
7
- type: String,
8
- required: false,
9
- },
10
- employeeId: {
11
- type: String,
12
- required: true,
13
- },
14
- date: {
15
- type: String,
16
- },
17
- activityId: {
18
- type: String,
19
- },
20
- praiseThanks: {
21
- type: Boolean,
22
- },
23
- });
24
- exports.UserMessageSchema = UserMessage;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserMessageSchema = void 0;
4
+ const mongoose_1 = require("mongoose");
5
+ const UserMessage = new mongoose_1.Schema({
6
+ userId: {
7
+ type: String,
8
+ required: false,
9
+ },
10
+ employeeId: {
11
+ type: String,
12
+ required: true,
13
+ },
14
+ date: {
15
+ type: String,
16
+ },
17
+ activityId: {
18
+ type: String,
19
+ },
20
+ praiseThanks: {
21
+ type: Boolean,
22
+ },
23
+ });
24
+ exports.UserMessageSchema = UserMessage;
@@ -1,2 +1,2 @@
1
- import { Schema } from 'mongoose';
2
- export declare const UserMessageLogSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
1
+ import { Schema } from 'mongoose';
2
+ export declare const UserMessageLogSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
@@ -1,69 +1,69 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserMessageLogSchema = void 0;
4
- const mongoose_1 = require("mongoose");
5
- const UserMessageLog = new mongoose_1.Schema({
6
- userId: {
7
- type: String,
8
- required: false,
9
- },
10
- employeeId: {
11
- type: String,
12
- required: true,
13
- },
14
- date: {
15
- type: String,
16
- required: true,
17
- },
18
- activityId: {
19
- type: String,
20
- required: true,
21
- },
22
- messageType: {
23
- type: String,
24
- required: true,
25
- },
26
- status: {
27
- type: String,
28
- required: true,
29
- },
30
- sentTime: {
31
- type: Number,
32
- required: false,
33
- },
34
- messageSeen: {
35
- type: Boolean,
36
- required: false,
37
- },
38
- appreciation: {
39
- type: Boolean,
40
- required: false,
41
- },
42
- saved: {
43
- type: Boolean,
44
- default: false,
45
- required: false,
46
- },
47
- deleted: {
48
- type: Boolean,
49
- default: false,
50
- required: false,
51
- },
52
- recommendationsMoreClick: {
53
- type: Boolean,
54
- default: false,
55
- required: false,
56
- },
57
- linkCardCounter: {
58
- type: Number,
59
- required: false,
60
- },
61
- noteToSelfClick: {
62
- type: Number,
63
- required: false,
64
- },
65
- });
66
- UserMessageLog.index({ employeeId: 1, activityId: -1 });
67
- UserMessageLog.index({ employeeId: 1, date: -1 });
68
- UserMessageLog.index({ employeeId: 1, messageType: -1, status: -1, date: -1 });
69
- exports.UserMessageLogSchema = UserMessageLog;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserMessageLogSchema = void 0;
4
+ const mongoose_1 = require("mongoose");
5
+ const UserMessageLog = new mongoose_1.Schema({
6
+ userId: {
7
+ type: String,
8
+ required: false,
9
+ },
10
+ employeeId: {
11
+ type: String,
12
+ required: true,
13
+ },
14
+ date: {
15
+ type: String,
16
+ required: true,
17
+ },
18
+ activityId: {
19
+ type: String,
20
+ required: true,
21
+ },
22
+ messageType: {
23
+ type: String,
24
+ required: true,
25
+ },
26
+ status: {
27
+ type: String,
28
+ required: true,
29
+ },
30
+ sentTime: {
31
+ type: Number,
32
+ required: false,
33
+ },
34
+ messageSeen: {
35
+ type: Boolean,
36
+ required: false,
37
+ },
38
+ appreciation: {
39
+ type: Boolean,
40
+ required: false,
41
+ },
42
+ saved: {
43
+ type: Boolean,
44
+ default: false,
45
+ required: false,
46
+ },
47
+ deleted: {
48
+ type: Boolean,
49
+ default: false,
50
+ required: false,
51
+ },
52
+ recommendationsMoreClick: {
53
+ type: Boolean,
54
+ default: false,
55
+ required: false,
56
+ },
57
+ linkCardCounter: {
58
+ type: Number,
59
+ required: false,
60
+ },
61
+ noteToSelfClick: {
62
+ type: Number,
63
+ required: false,
64
+ },
65
+ });
66
+ UserMessageLog.index({ employeeId: 1, activityId: -1 });
67
+ UserMessageLog.index({ employeeId: 1, date: -1 });
68
+ UserMessageLog.index({ employeeId: 1, messageType: -1, status: -1, date: -1 });
69
+ exports.UserMessageLogSchema = UserMessageLog;
@@ -1,2 +1,2 @@
1
- import { Schema } from 'mongoose';
2
- export declare const UserRecommendationSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
1
+ import { Schema } from 'mongoose';
2
+ export declare const UserRecommendationSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
@@ -1,24 +1,24 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserRecommendationSchema = void 0;
4
- const mongoose_1 = require("mongoose");
5
- const UserRecommendation = new mongoose_1.Schema({
6
- employeeId: {
7
- type: String,
8
- required: true,
9
- index: true,
10
- },
11
- weekNumber: {
12
- type: String,
13
- required: false,
14
- },
15
- weekStartDate: {
16
- type: String,
17
- required: true,
18
- },
19
- recommendations: {
20
- type: Array,
21
- required: false,
22
- },
23
- });
24
- exports.UserRecommendationSchema = UserRecommendation;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserRecommendationSchema = void 0;
4
+ const mongoose_1 = require("mongoose");
5
+ const UserRecommendation = new mongoose_1.Schema({
6
+ employeeId: {
7
+ type: String,
8
+ required: true,
9
+ index: true,
10
+ },
11
+ weekNumber: {
12
+ type: String,
13
+ required: false,
14
+ },
15
+ weekStartDate: {
16
+ type: String,
17
+ required: true,
18
+ },
19
+ recommendations: {
20
+ type: Array,
21
+ required: false,
22
+ },
23
+ });
24
+ exports.UserRecommendationSchema = UserRecommendation;
@@ -1,2 +1,2 @@
1
- import { Schema } from 'mongoose';
2
- export declare const UserReminderSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
1
+ import { Schema } from 'mongoose';
2
+ export declare const UserReminderSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
@@ -1,61 +1,61 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserReminderSchema = void 0;
4
- const mongoose_1 = require("mongoose");
5
- const UserReminder = new mongoose_1.Schema({
6
- employeeId: {
7
- type: String,
8
- required: true,
9
- index: true,
10
- },
11
- note: {
12
- type: String,
13
- required: true,
14
- },
15
- days: {
16
- type: Array,
17
- required: true,
18
- },
19
- time: {
20
- type: String,
21
- required: true,
22
- },
23
- endDate: {
24
- type: String,
25
- required: true,
26
- },
27
- taskOneDate: {
28
- type: String,
29
- required: true,
30
- },
31
- taskTwoDate: {
32
- type: String,
33
- required: true,
34
- },
35
- taskThreeDate: {
36
- type: String,
37
- required: true,
38
- },
39
- taskOneTime: {
40
- type: String,
41
- required: true,
42
- },
43
- taskTwoTime: {
44
- type: String,
45
- required: true,
46
- },
47
- taskThreeTime: {
48
- type: String,
49
- required: true,
50
- },
51
- });
52
- UserReminder.index({ taskOneDate: 1, taskOneTime: -1 }, {
53
- unique: false,
54
- });
55
- UserReminder.index({ taskTwoDate: 1, taskTwoTime: -1 }, {
56
- unique: false,
57
- });
58
- UserReminder.index({ taskThreeDate: 1, taskThreeTime: -1 }, {
59
- unique: false,
60
- });
61
- exports.UserReminderSchema = UserReminder;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserReminderSchema = void 0;
4
+ const mongoose_1 = require("mongoose");
5
+ const UserReminder = new mongoose_1.Schema({
6
+ employeeId: {
7
+ type: String,
8
+ required: true,
9
+ index: true,
10
+ },
11
+ note: {
12
+ type: String,
13
+ required: true,
14
+ },
15
+ days: {
16
+ type: Array,
17
+ required: true,
18
+ },
19
+ time: {
20
+ type: String,
21
+ required: true,
22
+ },
23
+ endDate: {
24
+ type: String,
25
+ required: true,
26
+ },
27
+ taskOneDate: {
28
+ type: String,
29
+ required: true,
30
+ },
31
+ taskTwoDate: {
32
+ type: String,
33
+ required: true,
34
+ },
35
+ taskThreeDate: {
36
+ type: String,
37
+ required: true,
38
+ },
39
+ taskOneTime: {
40
+ type: String,
41
+ required: true,
42
+ },
43
+ taskTwoTime: {
44
+ type: String,
45
+ required: true,
46
+ },
47
+ taskThreeTime: {
48
+ type: String,
49
+ required: true,
50
+ },
51
+ });
52
+ UserReminder.index({ taskOneDate: 1, taskOneTime: -1 }, {
53
+ unique: false,
54
+ });
55
+ UserReminder.index({ taskTwoDate: 1, taskTwoTime: -1 }, {
56
+ unique: false,
57
+ });
58
+ UserReminder.index({ taskThreeDate: 1, taskThreeTime: -1 }, {
59
+ unique: false,
60
+ });
61
+ exports.UserReminderSchema = UserReminder;
@@ -1,2 +1,2 @@
1
- import { Schema } from 'mongoose';
2
- export declare const UserVideoSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
1
+ import { Schema } from 'mongoose';
2
+ export declare const UserVideoSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
@@ -1,50 +1,50 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserVideoSchema = void 0;
4
- const mongoose_1 = require("mongoose");
5
- const UserVideo = new mongoose_1.Schema({
6
- employeeId: {
7
- type: String,
8
- required: true,
9
- index: true,
10
- },
11
- tId: {
12
- type: String,
13
- required: true,
14
- index: true,
15
- },
16
- tags: {
17
- type: String,
18
- required: true,
19
- index: true,
20
- },
21
- date: {
22
- type: String,
23
- required: true,
24
- index: true,
25
- },
26
- fileName: {
27
- type: String,
28
- required: true,
29
- },
30
- thumbnailUrl: {
31
- type: String,
32
- required: true,
33
- },
34
- url: {
35
- type: String,
36
- required: true,
37
- },
38
- caption: {
39
- type: String,
40
- required: false,
41
- },
42
- uploadTime: {
43
- type: Number,
44
- default: false,
45
- },
46
- });
47
- UserVideo.index({ employeeId: 1, date: -1 }, {
48
- unique: false,
49
- });
50
- exports.UserVideoSchema = UserVideo;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserVideoSchema = void 0;
4
+ const mongoose_1 = require("mongoose");
5
+ const UserVideo = new mongoose_1.Schema({
6
+ employeeId: {
7
+ type: String,
8
+ required: true,
9
+ index: true,
10
+ },
11
+ tId: {
12
+ type: String,
13
+ required: true,
14
+ index: true,
15
+ },
16
+ tags: {
17
+ type: String,
18
+ required: true,
19
+ index: true,
20
+ },
21
+ date: {
22
+ type: String,
23
+ required: true,
24
+ index: true,
25
+ },
26
+ fileName: {
27
+ type: String,
28
+ required: true,
29
+ },
30
+ thumbnailUrl: {
31
+ type: String,
32
+ required: true,
33
+ },
34
+ url: {
35
+ type: String,
36
+ required: true,
37
+ },
38
+ caption: {
39
+ type: String,
40
+ required: false,
41
+ },
42
+ uploadTime: {
43
+ type: Number,
44
+ default: false,
45
+ },
46
+ });
47
+ UserVideo.index({ employeeId: 1, date: -1 }, {
48
+ unique: false,
49
+ });
50
+ exports.UserVideoSchema = UserVideo;
package/dist/util.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const createHashPassword: (password: string) => Promise<string>;
2
- export declare const createUuid: () => Promise<string>;
1
+ export declare const createHashPassword: (password: string) => Promise<string>;
2
+ export declare const createUuid: () => Promise<string>;
package/dist/util.js CHANGED
@@ -1,13 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createUuid = exports.createHashPassword = void 0;
4
- const bcrypt_1 = require("bcrypt");
5
- const uuid_1 = require("uuid");
6
- const createHashPassword = async (password) => {
7
- return await (0, bcrypt_1.hash)(password, 10);
8
- };
9
- exports.createHashPassword = createHashPassword;
10
- const createUuid = async () => {
11
- return (0, uuid_1.v4)();
12
- };
13
- exports.createUuid = createUuid;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createUuid = exports.createHashPassword = void 0;
4
+ const bcrypt_1 = require("bcrypt");
5
+ const uuid_1 = require("uuid");
6
+ const createHashPassword = async (password) => {
7
+ return await (0, bcrypt_1.hash)(password, 10);
8
+ };
9
+ exports.createHashPassword = createHashPassword;
10
+ const createUuid = async () => {
11
+ return (0, uuid_1.v4)();
12
+ };
13
+ exports.createUuid = createUuid;