shuttlepro-shared 1.3.40 → 1.3.42

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 (73) hide show
  1. package/common/repositories/customerProfile.repository.js +83 -14
  2. package/common/repositories/userRole.repository.js +5 -2
  3. package/config/redis.js +72 -73
  4. package/middlewares/checkPermission/index.js +36 -23
  5. package/models/Activity.js +28 -0
  6. package/models/ActivityLogs.js +1 -0
  7. package/models/AgentActivity.js +5 -4
  8. package/models/Attribute.js +130 -0
  9. package/models/Automation.js +242 -0
  10. package/models/BusinessRule.js +16 -0
  11. package/models/BusinessRuleHelper.js +13 -0
  12. package/models/Card.js +50 -1
  13. package/models/Catalogue.js +22 -0
  14. package/models/Category.js +129 -0
  15. package/models/ChatMemberSession.js +21 -0
  16. package/models/ChatMessage.js +43 -0
  17. package/models/Chatbot.js +1 -1
  18. package/models/Color.js +10 -0
  19. package/models/Column.js +6 -0
  20. package/models/Conversation.js +40 -0
  21. package/models/Customer.js +2 -1
  22. package/models/CustomerCheckpoint.js +21 -0
  23. package/models/DeviceInfo.js +13 -0
  24. package/models/Email.js +21 -0
  25. package/models/EmailMessage.js +30 -0
  26. package/models/EmailNotification.js +17 -0
  27. package/models/EscalationConfiguration.js +123 -0
  28. package/models/EscalationManager.js +50 -0
  29. package/models/Faq.js +29 -0
  30. package/models/FeedbackResponse.js +72 -0
  31. package/models/FormTemplate.js +27 -0
  32. package/models/Integration.js +6 -0
  33. package/models/InternalComments.js +27 -0
  34. package/models/InternalThreads.js +20 -0
  35. package/models/JobDesign.js +32 -0
  36. package/models/JobQueue.js +17 -0
  37. package/models/LabelsPdf.js +12 -0
  38. package/models/Layout.js +12 -0
  39. package/models/LoadSheet.js +31 -0
  40. package/models/Location.js +148 -0
  41. package/models/Logo.js +11 -0
  42. package/models/MailGroup.js +21 -0
  43. package/models/Notification.js +32 -0
  44. package/models/Order.js +11 -0
  45. package/models/OrderPdf.js +29 -0
  46. package/models/PostsAutomation.js +66 -0
  47. package/models/Product.js +337 -0
  48. package/models/ProductAttachment.js +158 -0
  49. package/models/ProductAttribute.js +140 -0
  50. package/models/ProductCategory.js +128 -0
  51. package/models/ProductLabels.js +11 -0
  52. package/models/ProductShopify.js +13 -0
  53. package/models/ProductTag.js +124 -0
  54. package/models/ProductVariant.js +157 -0
  55. package/models/Profile.js +3 -1
  56. package/models/ServiceUsage.js +26 -0
  57. package/models/ShipperSetting.js +24 -0
  58. package/models/SocialGroup.js +127 -0
  59. package/models/SocialPost.js +40 -0
  60. package/models/SocialProfile.js +56 -0
  61. package/models/Story.js +86 -0
  62. package/models/Tag.js +77 -0
  63. package/models/Template.js +76 -0
  64. package/models/TemplateFrame.js +55 -0
  65. package/models/TemplateTag.js +10 -0
  66. package/models/UserGuide.js +21 -0
  67. package/models/UserSession.js +47 -0
  68. package/models/VariantLocation.js +145 -0
  69. package/models/WhatsappFlow.js +29 -0
  70. package/models/Workflow.js +34 -0
  71. package/models/Workspace.js +78 -4
  72. package/models.js +168 -49
  73. package/package.json +1 -1
@@ -0,0 +1,145 @@
1
+ const mongoose = require("mongoose");
2
+ const { Schema } = mongoose;
3
+ const VariantLocationSchema = new Schema(
4
+ {
5
+ variantId: {
6
+ type: Schema.Types.ObjectId,
7
+ ref: "ProductVariant",
8
+ default: null,
9
+ },
10
+ quantity: { type: Number, default: 0 },
11
+ workspaceId: {
12
+ type: Schema.Types.ObjectId,
13
+ ref: "Workspace",
14
+ default: null,
15
+ },
16
+ productId: { type: Schema.Types.ObjectId, ref: "Product", default: null },
17
+ locationId: { type: Schema.Types.ObjectId, ref: "Location", default: null },
18
+ webVariantLocationId: { type: Number, default: null },
19
+ rackNo: { type: String, default: "" },
20
+ boxNo: { type: String, default: "" },
21
+ shelfNo: { type: String, default: "" },
22
+ uuid: { type: String, default: "" },
23
+ createdBy: { type: Schema.Types.ObjectId, ref: "User", default: null },
24
+ updatedBy: { type: Schema.Types.ObjectId, ref: "User", default: null },
25
+ isDeleted: { type: Boolean, default: false },
26
+ },
27
+ { timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true } }
28
+ );
29
+
30
+ const VariantLocation = mongoose.model(
31
+ "VariantLocation",
32
+ VariantLocationSchema
33
+ );
34
+
35
+ const createNewVariantLocation = async (variantLocationData) => {
36
+ try {
37
+ return await VariantLocation.create(variantLocationData);
38
+ } catch (error) {
39
+ console.log(error);
40
+ return null;
41
+ }
42
+ };
43
+
44
+ const insertVariantLocations = async (data) => {
45
+ try {
46
+ return await VariantLocation.insertMany(data);
47
+ } catch (error) {
48
+ console.log(error);
49
+ return [null];
50
+ }
51
+ };
52
+
53
+ const updateManyVariantsLocations = async (
54
+ criteria,
55
+ updateData,
56
+ options = {}
57
+ ) => {
58
+ try {
59
+ return await VariantLocation.updateMany(criteria, updateData, options);
60
+ } catch (error) {
61
+ console.log(error);
62
+ return null;
63
+ }
64
+ };
65
+
66
+ const findVariantLocationById = async (variantLocationId) => {
67
+ try {
68
+ return await VariantLocation.findById(variantLocationId);
69
+ } catch (error) {
70
+ console.log(error);
71
+ return null;
72
+ }
73
+ };
74
+
75
+ const updateVariantLocationById = async (criteria, updateData, options) => {
76
+ try {
77
+ return await VariantLocation.findByIdAndUpdate(
78
+ criteria,
79
+ updateData,
80
+ options
81
+ );
82
+ } catch (error) {
83
+ console.log(error);
84
+ return null;
85
+ }
86
+ };
87
+
88
+ const deleteVariantLocationById = async (variantLocationId) => {
89
+ try {
90
+ return await VariantLocation.findByIdAndDelete(variantLocationId);
91
+ } catch (error) {
92
+ console.log(error);
93
+ return null;
94
+ }
95
+ };
96
+
97
+ const findVariantLocation = async (criteria) => {
98
+ try {
99
+ return await VariantLocation.findOne(criteria);
100
+ } catch (error) {
101
+ console.log(error);
102
+ return null;
103
+ }
104
+ };
105
+
106
+ const findVariantLocations = async (criteria) => {
107
+ try {
108
+ return await VariantLocation.find(criteria);
109
+ } catch (error) {
110
+ console.log(error);
111
+ return [];
112
+ }
113
+ };
114
+
115
+ const findSingleVariantLocation = async (obj) => {
116
+ try {
117
+ let variantLocation = await VariantLocation.findOne(obj);
118
+ return variantLocation;
119
+ } catch (err) {
120
+ return null;
121
+ }
122
+ };
123
+
124
+ const findVariantLocationsByPopulate = async (criteria, populate) => {
125
+ try {
126
+ return await VariantLocation.find(criteria).populate(populate);
127
+ } catch (error) {
128
+ console.log(error);
129
+ return [];
130
+ }
131
+ };
132
+
133
+ module.exports = {
134
+ insertVariantLocations,
135
+ createNewVariantLocation,
136
+ updateManyVariantsLocations,
137
+ findVariantLocationById,
138
+ updateVariantLocationById,
139
+ findVariantLocationsByPopulate,
140
+ deleteVariantLocationById,
141
+ findVariantLocation,
142
+ findVariantLocations,
143
+ findSingleVariantLocation,
144
+ VariantLocation,
145
+ };
@@ -0,0 +1,29 @@
1
+ const mongoose = require("mongoose");
2
+
3
+ const whatsappFlowSchema = new mongoose.Schema(
4
+ {
5
+ referenceId: {
6
+ type: String,
7
+ default: "",
8
+ },
9
+ flowName: {
10
+ type: String,
11
+ default: "",
12
+ },
13
+ workspaceId: {
14
+ type: mongoose.Schema.Types.ObjectId,
15
+ ref: "Workspace",
16
+ },
17
+ response: {
18
+ type: Object,
19
+ default: {},
20
+ },
21
+ },
22
+ {
23
+ timestamps: true,
24
+ }
25
+ );
26
+
27
+ const WhatsappFlow = mongoose.model("WhatsappFlow", whatsappFlowSchema);
28
+
29
+ module.exports = WhatsappFlow;
@@ -0,0 +1,34 @@
1
+ const mongoose = require("mongoose");
2
+
3
+ const WorkflowSchema = new mongoose.Schema(
4
+ {
5
+ workspaceId: {
6
+ type: mongoose.Schema.Types.ObjectId,
7
+ ref: "Workspace",
8
+ required: true,
9
+ },
10
+ orders: {
11
+ enabled: { type: Boolean, default: false },
12
+ maxOrders: { type: Number, default: 100 },
13
+ currentCount: { type: Number, default: 0 },
14
+ },
15
+ chatbot: { type: Boolean, default: true },
16
+ nlpBot: {
17
+ enabled: { type: Boolean, default: true },
18
+ shared: {
19
+ maxRequests: { type: Number, default: 5000 },
20
+ maxTokens: { type: Number, default: 80000 },
21
+ requestsCount: { type: Number, default: 0 },
22
+ tokensCount: { type: Number, default: 0 },
23
+ },
24
+ custom: {
25
+ requestsCount: { type: Number, default: 0 },
26
+ tokensCount: { type: Number, default: 0 },
27
+ },
28
+ },
29
+ },
30
+ { timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true } }
31
+ );
32
+
33
+ const Workflow = mongoose.model("Workflow", WorkflowSchema);
34
+ module.exports = Workflow;
@@ -1,7 +1,24 @@
1
1
  const mongoose = require("mongoose");
2
+ const SettingModel = require("./Setting");
3
+ const SocialMediaSettingModel = require("./SocialMediaSetting");
4
+ const { Schema } = mongoose;
5
+
6
+ const generateSlug = (input) => {
7
+ return input
8
+ .trim()
9
+ .toLowerCase()
10
+ .replace(/[^a-z0-9\s-]/g, "")
11
+ .replace(/\s+/g, "-")
12
+ .replace(/-+/g, "-");
13
+ };
14
+
2
15
  //TODO: task manager and default location creation
3
16
  const shiftSchema = new mongoose.Schema(
4
17
  {
18
+ _id: {
19
+ type: mongoose.Schema.Types.ObjectId,
20
+ default: () => new mongoose.Types.ObjectId(),
21
+ },
5
22
  shiftName: {
6
23
  type: String,
7
24
  required: true,
@@ -161,6 +178,13 @@ const workspaceSchema = new mongoose.Schema(
161
178
  required: true,
162
179
  trim: true,
163
180
  },
181
+ slug: {
182
+ type: String,
183
+ required: true,
184
+ trim: true,
185
+ default: "",
186
+ unique: true,
187
+ },
164
188
  iconUrl: { type: String, default: "" },
165
189
  thumbUrl: { type: String, default: "" },
166
190
  createdBy: {
@@ -273,6 +297,9 @@ const workspaceSchema = new mongoose.Schema(
273
297
  "url",
274
298
  "colour",
275
299
  "file",
300
+ "starRating",
301
+ "paragraph",
302
+ "heading",
276
303
  ],
277
304
  },
278
305
  option: {
@@ -292,9 +319,44 @@ const workspaceSchema = new mongoose.Schema(
292
319
  default: "everyone",
293
320
  },
294
321
  defaultShift: { type: String, default: "" },
322
+ automationManager: {
323
+ delayThreshold: {
324
+ type: Number,
325
+ default: 5,
326
+ },
327
+ messageCount: {
328
+ type: Number,
329
+ default: 3,
330
+ },
331
+ },
295
332
  },
296
333
  { timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true } }
297
334
  );
335
+
336
+ workspaceSchema.virtual("products", {
337
+ ref: "Product",
338
+ localField: "_id",
339
+ foreignField: "workspaceId",
340
+ });
341
+
342
+ workspaceSchema.virtual("orders", {
343
+ ref: "Order",
344
+ localField: "_id",
345
+ foreignField: "workspaceId",
346
+ });
347
+
348
+ workspaceSchema.virtual("socialProfilesArr", {
349
+ ref: "socialProfile",
350
+ localField: "_id",
351
+ foreignField: "workspaceId",
352
+ });
353
+
354
+ workspaceSchema.virtual("integrations", {
355
+ ref: "Integration",
356
+ localField: "_id",
357
+ foreignField: "workspaceId",
358
+ });
359
+
298
360
  const commonOptions = {
299
361
  type: String,
300
362
  trim: true,
@@ -311,10 +373,22 @@ workspaceSchema.add({
311
373
  chatGptApiKey: commonOptions,
312
374
  });
313
375
 
314
- workspaceSchema.virtual("integrations", {
315
- ref: "Integration",
316
- localField: "_id",
317
- foreignField: "workspaceId",
376
+ workspaceSchema.pre("save", async function (next) {
377
+ if (this.isModified("name")) {
378
+ let slug = generateSlug(this.name);
379
+ let slugExists = await mongoose.models.Workspace.findOne({ slug });
380
+
381
+ let counter = 1;
382
+ while (slugExists) {
383
+ slug = `${slug}-${counter}`;
384
+ slugExists = await mongoose.models.Workspace.findOne({ slug });
385
+ counter++;
386
+ }
387
+
388
+ this.slug = slug;
389
+ }
390
+ next();
318
391
  });
392
+
319
393
  const Workspace = mongoose.model("Workspace", workspaceSchema);
320
394
  module.exports = Workspace;
package/models.js CHANGED
@@ -1,94 +1,213 @@
1
- const Website = require("./models/Website");
2
- const ChatMember = require("./models/ChatMember");
3
- const DescriptionTemplate = require("./models/DescriptionTemplate");
4
- const ProductQueue = require("./models/ProductQueue");
5
- const ColumnPreference = require("./models/ColumnPreference");
6
- const UserPermission = require("./models/UserPermission");
7
- const GoogleClientInfo = require("./models/GoogleClientInfo");
8
- const GoogleCredentials = require("./models/GoogleCredentials");
9
- const User = require("./models/User");
1
+ const Activity = require("./models/Activity");
2
+ const ActivityLogs = require("./models/ActivityLogs");
3
+ const AgentActivity = require("./models/AgentActivity");
10
4
  const AllPostSchema = require("./models/AllPost");
11
5
  const AllPostBatchSchema = require("./models/AllPostBatch");
12
6
  const AllPostScheduleSchema = require("./models/AllPostSchedule");
13
- const AutoSchedulerSchema = require("./models/AutoScheduler");
14
- const ActivityLogs = require("./models/ActivityLogs");
15
- const UserRole = require("./models/UserRole");
16
- const OrderQueue = require("./models/OrderQueue");
17
- const AgentActivity = require("./models/AgentActivity");
18
7
  const Assignment = require("./models/Assignment");
8
+ const Attribute = require("./models/Attribute");
9
+ const Automation = require("./models/Automation");
10
+ const AutoSchedulerSchema = require("./models/AutoScheduler");
19
11
  const BusinessDistribution = require("./models/BusinessDistribution");
12
+ const BusinessRule = require("./models/BusinessRule");
13
+ const BusinessRuleHelper = require("./models/BusinessRuleHelper");
14
+ const Card = require("./models/Card");
20
15
  const CardComments = require("./models/CardComments");
16
+ const Catalogue = require("./models/Catalogue");
17
+ const Category = require("./models/Category");
18
+ const Chatbot = require("./models/Chatbot");
19
+ const ChatMember = require("./models/ChatMember");
20
+ const ChatMemberSession = require("./models/ChatMemberSession");
21
+ const ChatMessage = require("./models/ChatMessage");
21
22
  const Checkpoint = require("./models/Checkpoint");
22
23
  const City = require("./models/City");
24
+ const Color = require("./models/Color");
23
25
  const Column = require("./models/Column");
26
+ const ColumnPreference = require("./models/ColumnPreference");
24
27
  const Conversation = require("./models/Conversation");
25
28
  const Customer = require("./models/Customer");
29
+ const CustomerCheckpoint = require("./models/CustomerCheckpoint");
30
+ const CustomerProfile = require("./models/CustomerProfile");
31
+ const CustomerTimeline = require("./models/CustomerTimeline");
32
+ const DefaultRolePermission = require("./models/DefaultRolePermission");
33
+ const DescriptionTemplate = require("./models/DescriptionTemplate");
34
+ const DeviceInfo = require("./models/DeviceInfo");
35
+ const Email = require("./models/Email");
36
+ const EmailMessage = require("./models/EmailMessage");
37
+ const EmailNotification = require("./models/EmailNotification");
38
+ const EscalationConfiguration = require("./models/EscalationConfiguration");
39
+ const EscalationManager = require("./models/EscalationManager");
40
+ const Faq = require("./models/Faq");
41
+ const FeedbackResponse = require("./models/FeedbackResponse");
42
+ const FormTemplate = require("./models/FormTemplate");
43
+ const GoogleClientInfo = require("./models/GoogleClientInfo");
44
+ const GoogleCredentials = require("./models/GoogleCredentials");
26
45
  const Integration = require("./models/Integration");
46
+ const InternalComments = require("./models/InternalComments");
47
+ const InternalThreads = require("./models/InternalThreads");
48
+ const JobDesign = require("./models/JobDesign");
49
+ const JobQueue = require("./models/JobQueue");
27
50
  const Label = require("./models/Label");
51
+ const LabelPdf = require("./models/LabelsPdf");
52
+ const Layout = require("./models/Layout");
53
+ const LoadSheet = require("./models/LoadSheet");
54
+ const Location = require("./models/Location");
55
+ const Logo = require("./models/Logo");
56
+ const MailGroup = require("./models/MailGroup");
28
57
  const Message = require("./models/Message");
58
+ const NewProduct = require("./models/NewProduct");
59
+ const Notification = require("./models/Notification");
60
+ const NotificationSettings = require("./models/NotificationSettings");
29
61
  const Order = require("./models/Order");
62
+ const OrderPdf = require("./models/OrderPdf");
30
63
  const OrderProduct = require("./models/OrderProduct");
64
+ const OrderQueue = require("./models/OrderQueue");
65
+ const PostsAutomation = require("./models/PostsAutomation");
66
+ const Product = require("./models/Product");
67
+ const ProductAttachment = require("./models/ProductAttachment");
68
+ const ProductAttribute = require("./models/ProductAttribute");
69
+ const ProductCategory = require("./models/ProductCategory");
70
+ const ProductLabel = require("./models/ProductLabels");
71
+ const ProductQueue = require("./models/ProductQueue");
72
+ const ProductShopify = require("./models/ProductShopify");
73
+ const ProductTag = require("./models/ProductTag");
74
+ const ProductVariant = require("./models/ProductVariant");
75
+ const Profile = require("./models/Profile");
31
76
  const Report = require("./models/Report");
77
+ const Role = require("./models/Role");
78
+ const Setting = require("./models/Setting");
79
+ const ServiceUsage = require("./models/ServiceUsage");
32
80
  const Shipper = require("./models/Shipper");
81
+ const ShipperSetting = require("./models/ShipperSetting");
82
+ const SocialGroup = require("./models/SocialGroup");
83
+ const SocialMediaSetting = require("./models/SocialMediaSetting");
84
+ const SocialPost = require("./models/SocialPost");
85
+ const SocialProfile = require("./models/SocialProfile");
33
86
  const Status = require("./models/Status");
34
87
  const StatusType = require("./models/StatusType");
35
- const Type = require("./models/Type");
36
- const Workspace = require("./models/Workspace");
37
- const Card = require("./models/Card");
38
- const Profile = require("./models/Profile");
39
- const Chatbot = require("./models/Chatbot");
40
88
  const Step = require("./models/Step");
41
- const Role = require("./models/Role");
42
- const NewProduct = require("./models/NewProduct");
43
- const NotificationSettings = require("./models/NotificationSettings");
89
+ const Story = require("./models/Story");
90
+ const Tag = require("./models/Tag");
91
+ const Template = require("./models/Template");
92
+ const TemplateFrame = require("./models/TemplateFrame");
93
+ const TemplateTag = require("./models/TemplateTag");
94
+ const Type = require("./models/Type");
95
+ const User = require("./models/User");
96
+ const UserGuide = require("./models/UserGuide");
97
+ const UserPermission = require("./models/UserPermission");
98
+ const UserRole = require("./models/UserRole");
99
+ const UserSession = require("./models/UserSession");
44
100
  const UserWorkflow = require("./models/UserWorkflow");
45
- const Setting = require("./models/Setting");
46
- const CustomerProfile = require("./models/CustomerProfile");
101
+ const VariantLocation = require("./models/VariantLocation");
102
+ const Website = require("./models/Website");
103
+ const WhatsappFlow = require("./models/WhatsappFlow");
104
+ const Workflow = require("./models/Workflow");
105
+ const Workspace = require("./models/Workspace");
106
+
47
107
  module.exports = {
48
- Website,
49
- ProductQueue,
50
- ColumnPreference,
51
- UserPermission,
52
- User,
53
- GoogleClientInfo,
54
- GoogleCredentials,
108
+ Activity,
109
+ ActivityLogs,
110
+ AgentActivity,
55
111
  AllPostSchema,
56
112
  AllPostBatchSchema,
57
113
  AllPostScheduleSchema,
58
- AutoSchedulerSchema,
59
- ActivityLogs,
60
- UserRole,
61
- OrderQueue,
62
- AgentActivity,
63
114
  Assignment,
115
+ Attribute,
116
+ Automation,
117
+ AutoSchedulerSchema,
64
118
  BusinessDistribution,
119
+ BusinessRule,
120
+ BusinessRuleHelper,
121
+ Card,
65
122
  CardComments,
123
+ Catalogue,
124
+ Category,
125
+ Chatbot,
126
+ ChatMember,
127
+ ChatMemberSession,
128
+ ChatMessage,
66
129
  Checkpoint,
130
+ City,
131
+ Color,
67
132
  Column,
133
+ ColumnPreference,
68
134
  Conversation,
69
- City,
70
135
  Customer,
136
+ CustomerCheckpoint,
137
+ CustomerProfile,
138
+ CustomerTimeline,
139
+ DefaultRolePermission,
140
+ DescriptionTemplate,
141
+ DeviceInfo,
142
+ Email,
143
+ EmailMessage,
144
+ EmailNotification,
145
+ EscalationConfiguration,
146
+ EscalationManager,
147
+ Faq,
148
+ FeedbackResponse,
149
+ FormTemplate,
150
+ GoogleClientInfo,
151
+ GoogleCredentials,
71
152
  Integration,
153
+ InternalComments,
154
+ InternalThreads,
155
+ JobDesign,
156
+ JobQueue,
72
157
  Label,
158
+ LabelPdf,
159
+ LoadSheet,
160
+ Layout,
161
+ Location,
162
+ Logo,
163
+ MailGroup,
73
164
  Message,
165
+ NewProduct,
166
+ Notification,
167
+ NotificationSettings,
74
168
  Order,
169
+ OrderPdf,
75
170
  OrderProduct,
171
+ OrderQueue,
172
+ PostsAutomation,
173
+ Product,
174
+ ProductAttachment,
175
+ ProductAttribute,
176
+ ProductCategory,
177
+ ProductLabel,
178
+ ProductQueue,
179
+ ProductShopify,
180
+ ProductTag,
181
+ ProductVariant,
182
+ Profile,
76
183
  Report,
184
+ Role,
185
+ Setting,
186
+ ServiceUsage,
77
187
  Shipper,
188
+ ShipperSetting,
189
+ SocialGroup,
190
+ SocialMediaSetting,
191
+ SocialPost,
192
+ SocialProfile,
78
193
  Status,
79
- Type,
80
- Workspace,
81
194
  StatusType,
82
- Card,
83
- DescriptionTemplate,
84
- Profile,
85
- ChatMember,
86
- Chatbot,
87
195
  Step,
88
- Role,
89
- NewProduct,
90
- NotificationSettings,
196
+ Story,
197
+ Tag,
198
+ Template,
199
+ TemplateFrame,
200
+ TemplateTag,
201
+ Type,
202
+ User,
203
+ UserGuide,
204
+ UserPermission,
205
+ UserRole,
206
+ UserSession,
91
207
  UserWorkflow,
92
- Setting,
93
- CustomerProfile,
208
+ VariantLocation,
209
+ Website,
210
+ WhatsappFlow,
211
+ Workflow,
212
+ Workspace,
94
213
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.3.40",
3
+ "version": "1.3.42",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {