@plusscommunities/pluss-maintenance-aws-a 2.1.13 → 2.1.15

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/getJobTypes.js CHANGED
@@ -39,20 +39,35 @@ module.exports.getJobTypes = (event, context, callback) => {
39
39
  };
40
40
 
41
41
  indexQuery(values.tableNameJobTypes, query)
42
- .then((typeRes) => {
43
- if (!_.isEmpty(typeRes.Items) || !values.allowGeneralType) {
42
+ .then(async (typeRes) => {
43
+ if (!_.isEmpty(typeRes.Items)) {
44
44
  return callback(null, generateJsonResponse(200, typeRes.Items));
45
45
  }
46
46
 
47
- const jobType = {
48
- id: createGuid().substring(0, 8),
49
- typeName: "General",
50
- site: data.site,
51
- };
47
+ const defaultJobTypes = [];
48
+ if (values.allowGeneralType) {
49
+ const generalType = {
50
+ id: createGuid().substring(0, 8),
51
+ typeName: "General",
52
+ site: data.site,
53
+ };
52
54
 
53
- updateRef(values.tableNameJobTypes, jobType).then(() => {
54
- return callback(null, generateJsonResponse(200, [jobType]));
55
- });
55
+ await updateRef(values.tableNameJobTypes, generalType);
56
+ defaultJobTypes.push(generalType);
57
+ }
58
+ if (values.defaultJobTypes?.length) {
59
+ for await (const jobType of values.defaultJobTypes) {
60
+ const defaultType = {
61
+ ...jobType,
62
+ id: createGuid().substring(0, 8),
63
+ site: data.site,
64
+ };
65
+ await updateRef(values.tableNameJobTypes, defaultType);
66
+ defaultJobTypes.push(defaultType);
67
+ }
68
+ }
69
+
70
+ return callback(null, generateJsonResponse(200, defaultJobTypes));
56
71
  })
57
72
  .catch((error) => {
58
73
  return callback(
@@ -9,6 +9,7 @@ const updateRef = require("@plusscommunities/pluss-core-aws/db/common/updateRef"
9
9
  const indexQuery = require("@plusscommunities/pluss-core-aws/db/common/indexQuery");
10
10
  const publishNotifications = require("@plusscommunities/pluss-core-aws/db/notifications/publishNotifications");
11
11
  const getRef = require("@plusscommunities/pluss-core-aws/db/common/getRef");
12
+ const getString = require("@plusscommunities/pluss-core-aws/db/strings/getString");
12
13
  const { values } = require("../../values.config");
13
14
 
14
15
  class ArchibusStrategy extends IntegrationStrategy {
@@ -23,6 +24,7 @@ class ArchibusStrategy extends IntegrationStrategy {
23
24
 
24
25
  this.statusMap = config.StatusMap;
25
26
  this.siteMap = config.SiteMap ?? {};
27
+ this.buildingCodes = [];
26
28
  }
27
29
 
28
30
  /**
@@ -61,10 +63,48 @@ class ArchibusStrategy extends IntegrationStrategy {
61
63
  */
62
64
  createRequest = async (request, mockResponse = null) => {
63
65
  const logId = log("Archibus:CreateRequest", "Start", request);
64
- const siteId = this.siteMap[request.site];
66
+
67
+ let siteId = this.siteMap[request.site];
68
+ let buildingCode = null;
69
+ if (request.room) {
70
+ if (this.buildingCodes.length === 0) {
71
+ this.buildingCodes = await getString(
72
+ getRowId(request.site, `${values.serviceKey}buildingcodes`),
73
+ "plussSpace"
74
+ );
75
+ }
76
+ const building = this.buildingCodes.find((b) => {
77
+ const address = request.room.toLowerCase();
78
+ const search = b.SearchString.toLowerCase();
79
+ const name = b.BuildingName.toLowerCase();
80
+ return address.includes(search) || address.includes(name);
81
+ });
82
+
83
+ if (building?.SiteCode) siteId = building.SiteCode.toString();
84
+ buildingCode = building?.BuildingCode;
85
+ }
65
86
  if (!siteId) return false;
66
87
 
67
88
  try {
89
+ const data = {
90
+ prob_type: "1.ON-SITE|1. MAINTENANCE",
91
+ requestor: "PLUSS",
92
+ description: `${request.title}${
93
+ _.isEmpty(request.description) ? "" : `\n\n${request.description}`
94
+ }${_.isEmpty(request.room) ? "" : `\n\nLocation: ${request.room}`}${
95
+ _.isEmpty(request.userName) ? "" : `\n\nName: ${request.userName}`
96
+ }${_.isEmpty(request.phone) ? "" : `\n\nPhone: ${request.phone}`}${
97
+ _.isEmpty(request.type) ? "" : `\n\nJob Type: ${request.type}`
98
+ }${
99
+ _.isEmpty(request.images)
100
+ ? ""
101
+ : `\n\nImages: ${request.images.join("\n")}`
102
+ }`,
103
+ site_id: siteId,
104
+ };
105
+ if (buildingCode) data.bl_id = buildingCode;
106
+ log("Archibus:CreateRequest", "Request", data, logId);
107
+
68
108
  const response =
69
109
  mockResponse ??
70
110
  (await axios({
@@ -76,29 +116,9 @@ class ArchibusStrategy extends IntegrationStrategy {
76
116
  "Content-Type": "application/json",
77
117
  Host: this.host,
78
118
  },
79
- data: {
80
- prob_type: "1.ON-SITE|1. MAINTENANCE",
81
- requestor: "PLUSS",
82
- description: `${request.title}${
83
- _.isEmpty(request.description) ? "" : `\n\n${request.description}`
84
- }${_.isEmpty(request.room) ? "" : `\n\nLocation: ${request.room}`}${
85
- _.isEmpty(request.userName) ? "" : `\n\nName: ${request.userName}`
86
- }${_.isEmpty(request.phone) ? "" : `\n\nPhone: ${request.phone}`}${
87
- _.isEmpty(request.type) ? "" : `\n\nJob Type: ${request.type}`
88
- }${
89
- _.isEmpty(request.images)
90
- ? ""
91
- : `\n\nImages: ${request.images.join("\n")}`
92
- }`,
93
- site_id: siteId,
94
- },
119
+ data,
95
120
  }));
96
- log(
97
- "Archibus:CreateRequest",
98
- "Response",
99
- { data: response.data, siteId },
100
- logId
101
- );
121
+ log("Archibus:CreateRequest", "Response", response.data, logId);
102
122
 
103
123
  // Save the ID to external entities for future reference
104
124
  await updateRef("externalentities", {
package/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-maintenance-aws-a",
3
- "version": "2.1.13",
3
+ "version": "2.1.15",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
@@ -1468,9 +1468,9 @@
1468
1468
  }
1469
1469
  },
1470
1470
  "@plusscommunities/pluss-core-aws": {
1471
- "version": "2.0.20",
1472
- "resolved": "https://registry.npmjs.org/@plusscommunities/pluss-core-aws/-/pluss-core-aws-2.0.20.tgz",
1473
- "integrity": "sha512-EB/Z8rUPSlghJeR3f/DdGvvGl1bF8GhcCENADsfhmwxeHFEKay8pwKnfkmFVHFLvcl9AbT1kF5mKuIA3z6RiGA==",
1471
+ "version": "2.0.21",
1472
+ "resolved": "https://registry.npmjs.org/@plusscommunities/pluss-core-aws/-/pluss-core-aws-2.0.21.tgz",
1473
+ "integrity": "sha512-eVkJTkTau5FiK1HSwPCnq40cxttezORA5sBTWohKL+0VcXsEQxJpJ8gzVTaPvo4tn/n+67n23nJaGR663fAdgQ==",
1474
1474
  "requires": {
1475
1475
  "@aws/dynamodb-auto-marshaller": "^0.7.1",
1476
1476
  "amazon-cognito-identity-js": "^2.0.19",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-maintenance-aws-a",
3
- "version": "2.1.13",
3
+ "version": "2.1.15",
4
4
  "description": "Extension package to enable maintenance on Pluss Communities Platform",
5
5
  "scripts": {
6
6
  "gc": "node ../../tools/gc ./",
@@ -24,7 +24,7 @@
24
24
  "license": "ISC",
25
25
  "dependencies": {
26
26
  "@aws/dynamodb-auto-marshaller": "^0.7.1",
27
- "@plusscommunities/pluss-core-aws": "2.0.20",
27
+ "@plusscommunities/pluss-core-aws": "2.0.21",
28
28
  "amazon-cognito-identity-js": "^2.0.19",
29
29
  "aws-sdk": "^2.1591.0",
30
30
  "axios": "^1.6.8",
package/sendJobEmail.js CHANGED
@@ -90,6 +90,15 @@ module.exports = function (job, updated) {
90
90
  `<img style="max-height: 400px" src="${image}" />`
91
91
  )}`
92
92
  : "";
93
+ case "document":
94
+ return field.answer && Array.isArray(field.answer)
95
+ ? `<br>${field.answer
96
+ .map(
97
+ (doc) =>
98
+ `<a href="${doc.url}" target="_blank">${doc.name}</a><br>`
99
+ )
100
+ .join("")}`
101
+ : "";
93
102
  default:
94
103
  return field.answer;
95
104
  }
@@ -24,6 +24,7 @@ const values = {
24
24
  activityEditMaintenanceNote: "EditMaintenanceNote",
25
25
  textJobEmailTitle: "Service Request",
26
26
  allowGeneralType: true,
27
+ defaultJobTypes: [],
27
28
  triggerMaintenanceStatusChanged: "MaintenanceStatusChanged",
28
29
  };
29
30
  exports.values = values;
@@ -0,0 +1,223 @@
1
+ const values = {
2
+ entityKey: "maintenancerequestEnquiry",
3
+ serviceKey: "maintenanceEnquiry",
4
+ updateKey: "jobsEnquiry",
5
+ tableKeyJobTypes: "jobtypesEnquiry",
6
+ tableKeyMaintenance: "maintenanceEnquiry",
7
+ tableKeySupportTickets: "supportticketsEnquiry",
8
+ tableNameJobTypes: "jobTypesEnquiry",
9
+ tableNameMaintenance: "maintenanceEnquiry",
10
+ tableNameSupportTickets: "supportticketsEnquiry",
11
+ permissionMaintenanceTracking: "maintenanceTrackingEnquiry",
12
+ permissionMaintenanceAssignment: "maintenanceAssignmentEnquiry",
13
+ permissionMaintenanceTypes: "maintenanceTypesEnquiry",
14
+ routeEntityPath: "/requestsHubEnquiry/jobDetails/:id",
15
+ screenMaintenanceDetail: "requestDetailEnquiry",
16
+ notificationMaintenanceJobAssigned: "MaintenanceJobAssignedEnquiry",
17
+ notificationMaintenanceJobUnassigned: "MaintenanceJobUnassignedEnquiry",
18
+ activityAddMaintenanceJob: "AddMaintenanceJobEnquiry",
19
+ activityDeleteMaintenanceJob: "DeleteMaintenanceJobEnquiry",
20
+ activityEditMaintenanceJob: "EditMaintenanceJobEnquiry",
21
+ activityMaintenanceJobStatusChanged: "MaintenanceJobStatusChangedEnquiry",
22
+ activityAddMaintenanceNote: "AddMaintenanceNoteEnquiry",
23
+ activityDeleteMaintenanceNote: "DeleteMaintenanceNoteEnquiry",
24
+ activityEditMaintenanceNote: "EditMaintenanceNoteEnquiry",
25
+ textJobEmailTitle: "Enquiry Submission",
26
+ allowGeneralType: false,
27
+ defaultJobTypes: [
28
+ {
29
+ customFields: [
30
+ {
31
+ isTitle: false,
32
+ label: "Subject of your enquiry",
33
+ mandatory: true,
34
+ type: "text",
35
+ },
36
+ {
37
+ isTitle: false,
38
+ label: "Details of your enquiry",
39
+ mandatory: true,
40
+ type: "text",
41
+ },
42
+ {
43
+ isTitle: false,
44
+ label: "Do you need a response by a specific date?",
45
+ mandatory: false,
46
+ type: "date",
47
+ },
48
+ ],
49
+ description:
50
+ "Use this form to submit any general questions to our community team. We'll get back to you as soon as possible",
51
+ email: "enquiry@pluss.com",
52
+ hasCustomFields: true,
53
+ level: 1,
54
+ typeName: "General Enquiry",
55
+ },
56
+ {
57
+ customFields: [
58
+ {
59
+ isTitle: false,
60
+ label:
61
+ "Are you or someone you know interested in buying a property? ",
62
+ mandatory: true,
63
+ type: "multichoice",
64
+ values: ["Myself", "Family member", "Friend", "Other"],
65
+ },
66
+ {
67
+ isTitle: false,
68
+ label:
69
+ "If this enquiry is not for yourself then please record the other person's name, email and phone number so that we can get in touch with them.",
70
+ mandatory: false,
71
+ placeHolder:
72
+ "First name, last name, email address, mobile phone number.",
73
+ type: "text",
74
+ },
75
+ {
76
+ isTitle: false,
77
+ label: "What would you like to know more about?",
78
+ mandatory: true,
79
+ type: "checkbox",
80
+ values: [
81
+ "Availability",
82
+ "Pricing",
83
+ "Services",
84
+ "Eligibility",
85
+ "Something else",
86
+ "Arranging a tour of the property",
87
+ ],
88
+ },
89
+ {
90
+ isTitle: false,
91
+ label: "Message details",
92
+ mandatory: true,
93
+ placeHolder:
94
+ "Record any details or message you would like to pass on regarding this sales enquiry",
95
+ type: "text",
96
+ },
97
+ ],
98
+ description: "Enquire about living in our community",
99
+ email: "sales@pluss.com",
100
+ hasCustomFields: true,
101
+ level: 1,
102
+ typeName: "Sales Enquiry",
103
+ },
104
+ {
105
+ customFields: [
106
+ {
107
+ isTitle: false,
108
+ label: "How would you like to help?",
109
+ mandatory: true,
110
+ type: "checkbox",
111
+ values: [
112
+ "Social Activities",
113
+ "Transport",
114
+ "Tech Support",
115
+ "Gardening",
116
+ "Companionship",
117
+ "Other",
118
+ ],
119
+ },
120
+ {
121
+ isTitle: false,
122
+ label: "If other please describe here",
123
+ mandatory: false,
124
+ type: "text",
125
+ },
126
+ {
127
+ isTitle: false,
128
+ label: "Availability",
129
+ mandatory: false,
130
+ type: "checkbox",
131
+ values: [
132
+ "Weekdays",
133
+ "Weekends",
134
+ "Specific days",
135
+ "Flexible",
136
+ "I'm not sure yet but would like to discuss further",
137
+ ],
138
+ },
139
+ {
140
+ isTitle: false,
141
+ label: "Relevant experience",
142
+ mandatory: false,
143
+ placeHolder:
144
+ "Please provide a brief description of any relevant experience ",
145
+ type: "text",
146
+ },
147
+ {
148
+ isTitle: false,
149
+ label: "How soon can you start?",
150
+ mandatory: true,
151
+ type: "multichoice",
152
+ values: [
153
+ "This week",
154
+ "Next week",
155
+ "Next month",
156
+ "Not sure yet",
157
+ "Other",
158
+ ],
159
+ },
160
+ {
161
+ isTitle: false,
162
+ label:
163
+ "Thanks for submitting your enquiry to volunteer in our community. Someone will be in touch with you soon.",
164
+ mandatory: false,
165
+ type: "staticText",
166
+ },
167
+ ],
168
+ description:
169
+ "If you're interested in volunteering your time, skills or companionship, we'd love to hear from you.",
170
+ email: "volunteer@pluss.com",
171
+ hasCustomFields: true,
172
+ level: 1,
173
+ typeName: "Volunteer Enquiry",
174
+ },
175
+ {
176
+ customFields: [
177
+ {
178
+ isTitle: false,
179
+ label: "Topic",
180
+ mandatory: true,
181
+ placeHolder:
182
+ "What is the topic of your enquiry for the resident committee?",
183
+ type: "text",
184
+ },
185
+ {
186
+ isTitle: false,
187
+ label: "Details",
188
+ mandatory: true,
189
+ placeHolder: "Add the details of your enquiry here",
190
+ type: "text",
191
+ },
192
+ {
193
+ isTitle: false,
194
+ label: "Would you like a response",
195
+ mandatory: true,
196
+ type: "yn",
197
+ },
198
+ {
199
+ isTitle: false,
200
+ label: "If yes, how should we contact you?",
201
+ mandatory: true,
202
+ type: "multichoice",
203
+ values: [
204
+ "Send a message through the app",
205
+ "Email",
206
+ "Phone",
207
+ "In person",
208
+ "Through the committee meeting report",
209
+ "Other",
210
+ ],
211
+ },
212
+ ],
213
+ description:
214
+ "This form lets you raise a question, share a suggestion, or request something for discussion with your resident committee or leadership team.",
215
+ email: "council@pluss.com",
216
+ hasCustomFields: true,
217
+ level: 1,
218
+ typeName: "Resident Council / Committee Enquiry",
219
+ },
220
+ ],
221
+ triggerMaintenanceStatusChanged: "MaintenanceStatusChangedEnquiry",
222
+ };
223
+ exports.values = values;
@@ -0,0 +1,195 @@
1
+ const values = {
2
+ entityKey: "maintenancerequestFeedback",
3
+ serviceKey: "maintenanceFeedback",
4
+ updateKey: "jobsFeedback",
5
+ tableKeyJobTypes: "jobtypesFeedback",
6
+ tableKeyMaintenance: "maintenanceFeedback",
7
+ tableKeySupportTickets: "supportticketsFeedback",
8
+ tableNameJobTypes: "jobTypesFeedback",
9
+ tableNameMaintenance: "maintenanceFeedback",
10
+ tableNameSupportTickets: "supportticketsFeedback",
11
+ permissionMaintenanceTracking: "maintenanceTrackingFeedback",
12
+ permissionMaintenanceAssignment: "maintenanceAssignmentFeedback",
13
+ permissionMaintenanceTypes: "maintenanceTypesFeedback",
14
+ routeEntityPath: "/requestsHubFeedback/jobDetails/:id",
15
+ screenMaintenanceDetail: "requestDetailFeedback",
16
+ notificationMaintenanceJobAssigned: "MaintenanceJobAssignedFeedback",
17
+ notificationMaintenanceJobUnassigned: "MaintenanceJobUnassignedFeedback",
18
+ activityAddMaintenanceJob: "AddMaintenanceJobFeedback",
19
+ activityDeleteMaintenanceJob: "DeleteMaintenanceJobFeedback",
20
+ activityEditMaintenanceJob: "EditMaintenanceJobFeedback",
21
+ activityMaintenanceJobStatusChanged: "MaintenanceJobStatusChangedFeedback",
22
+ activityAddMaintenanceNote: "AddMaintenanceNoteFeedback",
23
+ activityDeleteMaintenanceNote: "DeleteMaintenanceNoteFeedback",
24
+ activityEditMaintenanceNote: "EditMaintenanceNoteFeedback",
25
+ textJobEmailTitle: "Feedback Submission",
26
+ allowGeneralType: false,
27
+ defaultJobTypes: [
28
+ {
29
+ customFields: [
30
+ {
31
+ isTitle: false,
32
+ label: "What is the feedback about?",
33
+ mandatory: true,
34
+ type: "text",
35
+ },
36
+ {
37
+ isTitle: false,
38
+ label: "Feedback details",
39
+ mandatory: true,
40
+ placeHolder:
41
+ "Record specific details related to your feedback. Include dates, names, other relevant information in the order they happened",
42
+ type: "text",
43
+ },
44
+ {
45
+ isTitle: false,
46
+ label: "Desired outcome",
47
+ mandatory: false,
48
+ placeHolder:
49
+ "Describe the outcome you would like to see achieved as a result of the feedback you have provided.",
50
+ type: "text",
51
+ },
52
+ {
53
+ isTitle: false,
54
+ label: "Thanks for taking the time to share your feedback with us.",
55
+ mandatory: false,
56
+ type: "staticText",
57
+ },
58
+ ],
59
+ description:
60
+ "Use this form to provide general feedback that is not a specific complaint or compliment",
61
+ email: "feedback@plusscommunities.com",
62
+ hasCustomFields: true,
63
+ level: 1,
64
+ typeName: "General Feedback",
65
+ },
66
+ {
67
+ customFields: [
68
+ {
69
+ isTitle: false,
70
+ label: "What is the complaint about?",
71
+ mandatory: true,
72
+ type: "checkbox",
73
+ values: [
74
+ "An employee",
75
+ "Another community member",
76
+ "A specific incident",
77
+ "Service delivery",
78
+ "A facility",
79
+ "An Activity",
80
+ "Other",
81
+ ],
82
+ },
83
+ {
84
+ isTitle: false,
85
+ label: "Complaint details",
86
+ mandatory: true,
87
+ placeHolder:
88
+ "Please provide the details of your complaint in this section. Include dates, names, other relevant information in the order they happened",
89
+ type: "text",
90
+ },
91
+ {
92
+ isTitle: false,
93
+ label: "Action required",
94
+ mandatory: true,
95
+ placeHolder:
96
+ "Please describe what action, if any, you would like the organisation to take in relation to this matter",
97
+ type: "text",
98
+ },
99
+ {
100
+ isTitle: false,
101
+ label: "Have you raised this complaint previously",
102
+ mandatory: true,
103
+ type: "yn",
104
+ },
105
+ {
106
+ isTitle: false,
107
+ label:
108
+ "If yes, please provide details of who you complained to, when and how (phone, email, form)",
109
+ mandatory: false,
110
+ type: "text",
111
+ },
112
+ {
113
+ isTitle: false,
114
+ label:
115
+ "If you have any supporting documentation (e.g. emails, letters, receipts) for your complaint, please attach the files below. If you do not have the documentation right now, you can email us.",
116
+ mandatory: false,
117
+ type: "document",
118
+ },
119
+ {
120
+ isTitle: false,
121
+ label:
122
+ "Declaration . I declare that the information supplied by me is, to the best of my knowledge, true and correct. ",
123
+ mandatory: true,
124
+ type: "yn",
125
+ },
126
+ {
127
+ isTitle: false,
128
+ label:
129
+ "I agree that the information provided (except for demographic data) may, if necessary, be revealed to the organisation in correspondence or investigations concerning this complaint or referred to another authority for their appropriate action should the matter fall outside this department's jurisdiction",
130
+ mandatory: true,
131
+ type: "yn",
132
+ },
133
+ {
134
+ isTitle: false,
135
+ label:
136
+ "If your complaint is resolved after lodgement of this form, please advise us at as soon as possible.",
137
+ mandatory: false,
138
+ type: "staticText",
139
+ },
140
+ ],
141
+ description: "Use this form to provide a complaint to the organisation",
142
+ email: "example@plusscommunities.com",
143
+ hasCustomFields: true,
144
+ level: 1,
145
+ typeName: "Complaint",
146
+ },
147
+ {
148
+ customFields: [
149
+ {
150
+ isTitle: false,
151
+ label: "What is this compliment about?",
152
+ mandatory: true,
153
+ type: "multichoice",
154
+ values: [
155
+ "An employee",
156
+ "A facility",
157
+ "Another community member",
158
+ "A facility",
159
+ "A service",
160
+ "An activity",
161
+ "Other",
162
+ ],
163
+ },
164
+ {
165
+ isTitle: false,
166
+ label: "Compliment details",
167
+ mandatory: true,
168
+ placeHolder: "Please explain your compliment in detail",
169
+ type: "text",
170
+ },
171
+ {
172
+ isTitle: false,
173
+ label:
174
+ "Please describe what action, if any, you would like us to take in relation to this compliment",
175
+ mandatory: false,
176
+ type: "text",
177
+ },
178
+ {
179
+ isTitle: false,
180
+ label:
181
+ "Thanks for taking the time to record your compliment. It is always appreciated.",
182
+ mandatory: false,
183
+ type: "staticText",
184
+ },
185
+ ],
186
+ description: "Use this form to record a compliment",
187
+ email: "example@pluss.com",
188
+ hasCustomFields: true,
189
+ level: 1,
190
+ typeName: "Compliment",
191
+ },
192
+ ],
193
+ triggerMaintenanceStatusChanged: "MaintenanceStatusChangedFeedback",
194
+ };
195
+ exports.values = values;
@@ -0,0 +1,30 @@
1
+ const values = {
2
+ entityKey: "maintenancerequestFood",
3
+ serviceKey: "maintenanceFood",
4
+ updateKey: "jobsFood",
5
+ tableKeyJobTypes: "jobtypesFood",
6
+ tableKeyMaintenance: "maintenanceFood",
7
+ tableKeySupportTickets: "supportticketsFood",
8
+ tableNameJobTypes: "jobTypesFood",
9
+ tableNameMaintenance: "maintenanceFood",
10
+ tableNameSupportTickets: "supportticketsFood",
11
+ permissionMaintenanceTracking: "maintenanceTrackingFood",
12
+ permissionMaintenanceAssignment: "maintenanceAssignmentFood",
13
+ permissionMaintenanceTypes: "maintenanceTypesFood",
14
+ routeEntityPath: "/requestsHubFood/jobDetails/:id",
15
+ screenMaintenanceDetail: "requestDetailFood",
16
+ notificationMaintenanceJobAssigned: "MaintenanceJobAssignedFood",
17
+ notificationMaintenanceJobUnassigned: "MaintenanceJobUnassignedFood",
18
+ activityAddMaintenanceJob: "AddMaintenanceJobFood",
19
+ activityDeleteMaintenanceJob: "DeleteMaintenanceJobFood",
20
+ activityEditMaintenanceJob: "EditMaintenanceJobFood",
21
+ activityMaintenanceJobStatusChanged: "MaintenanceJobStatusChangedFood",
22
+ activityAddMaintenanceNote: "AddMaintenanceNoteFood",
23
+ activityDeleteMaintenanceNote: "DeleteMaintenanceNoteFood",
24
+ activityEditMaintenanceNote: "EditMaintenanceNoteFood",
25
+ textJobEmailTitle: "Food Ordering",
26
+ allowGeneralType: false,
27
+ defaultJobTypes: [],
28
+ triggerMaintenanceStatusChanged: "MaintenanceStatusChangedFood",
29
+ };
30
+ exports.values = values;
@@ -24,6 +24,7 @@ const values = {
24
24
  activityEditMaintenanceNote: "EditMaintenanceNoteForms",
25
25
  textJobEmailTitle: "Form Submission",
26
26
  allowGeneralType: false,
27
+ defaultJobTypes: [],
27
28
  triggerMaintenanceStatusChanged: "MaintenanceStatusChangedForms",
28
29
  };
29
30
  exports.values = values;