@jsb188/app 1.1.11 → 1.1.13

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 (64) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +17 -6
  3. package/src/constants/agent.ts +44 -57
  4. package/src/constants/app.ts +43 -0
  5. package/src/constants/wsActions.ts +1 -15
  6. package/src/i18n/account.ts +1 -1
  7. package/src/i18n/agent.ts +321 -96
  8. package/src/i18n/agentToolBusiness.ts +340 -0
  9. package/src/i18n/agentToolGrid.ts +121 -0
  10. package/src/i18n/agentToolWorkflow.ts +101 -0
  11. package/src/i18n/agent_note.ts +110 -0
  12. package/src/i18n/app.ts +23 -17
  13. package/src/i18n/auth.ts +25 -30
  14. package/src/i18n/billing.ts +3 -85
  15. package/src/i18n/c.ts +953 -0
  16. package/src/i18n/campaign.ts +164 -211
  17. package/src/i18n/datetime.ts +6 -0
  18. package/src/i18n/editor.ts +56 -0
  19. package/src/i18n/email_outreach_editor.ts +526 -0
  20. package/src/i18n/error.ts +430 -202
  21. package/src/i18n/field_doc_editor.ts +21 -0
  22. package/src/i18n/field_doc_programs.ts +51 -0
  23. package/src/i18n/field_docs.ts +171 -8
  24. package/src/i18n/form.ts +7 -491
  25. package/src/i18n/index.ts +23 -3
  26. package/src/i18n/log.ts +234 -39
  27. package/src/i18n/memory.ts +18 -5
  28. package/src/i18n/message.ts +1 -0
  29. package/src/i18n/note.ts +5 -3
  30. package/src/i18n/org.ts +97 -45
  31. package/src/i18n/schedule.ts +133 -0
  32. package/src/i18n/sheet.ts +105 -161
  33. package/src/i18n/sheet_formula.ts +165 -0
  34. package/src/i18n/workflow.ts +112 -11
  35. package/src/main.ts +2 -2
  36. package/src/platform.ts +89 -49
  37. package/src/types/ai.d.ts +16 -1
  38. package/src/types/app.d.ts +29 -73
  39. package/src/types/auth.d.ts +1 -1
  40. package/src/types/other.d.ts +8 -1
  41. package/src/utils/api.ts +60 -10
  42. package/src/utils/clientIP.ts +213 -0
  43. package/src/utils/color.ts +95 -0
  44. package/src/utils/csv.ts +19 -0
  45. package/src/utils/datetime.ts +207 -31
  46. package/src/utils/deferredSave.ts +89 -0
  47. package/src/utils/email.ts +50 -0
  48. package/src/utils/expression.helpers.ts +470 -0
  49. package/src/utils/expression.ts +1633 -239
  50. package/src/utils/language.ts +9 -0
  51. package/src/utils/logic.ts +9 -162
  52. package/src/utils/number.ts +30 -11
  53. package/src/utils/object.ts +69 -127
  54. package/src/utils/promise.ts +78 -7
  55. package/src/utils/queryReset.ts +110 -61
  56. package/src/utils/string.ts +80 -143
  57. package/src/utils/url_client.ts +115 -15
  58. package/src/constants/billing.ts +0 -146
  59. package/src/i18n/agentDoc.ts +0 -110
  60. package/src/types/form.d.ts +0 -101
  61. package/src/utils/billing.ts +0 -141
  62. package/src/utils/managedSessionBff.test.ts +0 -60
  63. package/src/utils/string.test.ts +0 -293
  64. package/tsconfig.json +0 -12
package/src/i18n/org.ts CHANGED
@@ -4,31 +4,43 @@ export default {
4
4
  organizations: 'Organizations',
5
5
  grower: 'Grower',
6
6
  growers: 'Growers',
7
+ growers_end: 'There is %{smart_count} grower for this organization.||||' +
8
+ 'There are %{smart_count} growers for this organization.',
9
+ growers_empty: "There aren't any growers for this organization.",
10
+ vendors_end: 'There is %{smart_count} vendor for this organization.||||' +
11
+ 'There are %{smart_count} vendors for this organization.',
12
+ vendors_empty: "There aren't any vendors for this organization.",
7
13
  my_organizations: 'My organizations',
8
14
  name: 'Organization name',
9
15
  name_of: 'Name of organization',
10
16
  type_of: 'Type of organization',
11
17
  claimed_business: 'Claimed business',
12
- contact_associated_with:
13
- 'This contact is associated with: %{organizationNames}',
14
- contact_choose_associated_orgs:
15
- 'Choose the associated organizations for this contact.',
16
- org_info: 'Organization information',
18
+ contact_associated_with: 'This contact is associated with: %{organizationNames}',
19
+ contact_choose_associated_orgs: 'Choose the associated organizations for this contact.',
20
+ org_info: 'Organization settings',
17
21
  nothing_found: 'No organizations found.',
18
22
  farms: 'Farms',
19
23
  settings: 'Organization settings',
24
+ log_language_preference: 'Log display language preference',
25
+ log_language_preference_description:
26
+ 'Choose whether log pages will display available translations or always show the original texts.',
27
+ display_translated_logs_if_available: 'Display translated logs if available',
28
+ always_show_original_log_texts: 'Always show original log texts',
29
+ translate_language: 'Log translation language',
30
+ translate_language_disabled: 'Disabled - do not translate',
31
+ translate_language_description:
32
+ 'Logs written in a different language will always be translated into this language. It may take 1 to 3 minutes before you see the translated texts.',
33
+ allow_mcp_connections: 'Allow AI app connections (MCP)',
34
+ allow_mcp_connections_description:
35
+ "Lets members connect apps such as Claude or ChatGPT to read this organization's data with their own permissions. Turning this off stops all such connections for this organization.",
20
36
  edit_operation: 'Edit operation',
21
37
  edit_child_org_operation: 'Edit child organization operation',
22
- edit_child_org_operation_msg:
23
- 'Choose the business operation for\n [hl]%{name}[/hl].',
24
- edit_child_org_operation_finished_msg:
25
- "[hl]%{name}[/hl]'s business operation is set to **%{operation}**.",
38
+ edit_child_org_operation_msg: 'Choose the business operation for\n [hl]%{name}[/hl].',
39
+ edit_child_org_operation_finished_msg: "[hl]%{name}[/hl]'s business operation is set to **%{operation}**.",
26
40
  edit_child_org_info_msg: 'Update the information for\n [hl]%{name}[/hl].',
27
- edit_child_org_info_finished_msg:
28
- 'Information has been updated for\n [hl]%{name}[/hl].',
41
+ edit_child_org_info_finished_msg: 'Information has been updated for\n [hl]%{name}[/hl].',
29
42
  edit_site_location_msg: 'Update the information for\n [hl]%{name}[/hl].',
30
- edit_site_location_finished_msg:
31
- 'Information has been updated for\n [hl]%{name}[/hl].',
43
+ edit_site_location_finished_msg: 'Information has been updated for\n [hl]%{name}[/hl].',
32
44
  delete_child_org_msg: 'Are you sure you want to remove\n [hl]%{name}[/hl]?',
33
45
  manage_team: 'Manage team',
34
46
  site_locations: 'Site locations',
@@ -38,10 +50,8 @@ export default {
38
50
  administration: 'Administration',
39
51
  billing: 'Billing',
40
52
  department_req_msg: 'Please select a department for this contact.',
41
- contact_phone_or_email_req_msg:
42
- 'Please provide a phone number or email for this contact.',
43
- address_notice_msg:
44
- 'This information will appear on the invoices you generate for your customers and to others in your network.',
53
+ contact_phone_or_email_req_msg: 'Please provide a phone number or email for this contact.',
54
+ address_notice_msg: 'This information will appear on the invoices you generate for your customers and others in your network.',
45
55
  no_recurring_schedule: 'This event does not have a recurring schedule.',
46
56
  daily_event_msg: 'This event repeats every day.',
47
57
  single_event_msg: 'This event only occurs once.',
@@ -58,39 +68,27 @@ export default {
58
68
  past_markets: 'Past Markets',
59
69
  load_lists: 'Load Lists',
60
70
  contact_to_change: 'Please contact us to change this information.',
61
- locked_contact_msg:
62
- 'This contact information is saved by the owner of this organization.',
63
- no_contact_information_msg:
64
- "This organization doesn't have any contact information.",
71
+ locked_contact_msg: 'This contact information is saved by the owner of this organization.',
72
+ no_contact_information_msg: "This organization doesn't have any contact information.",
65
73
  no_site_locations: "This organization doesn't have any site locations.",
66
- could_not_load_not_linked_org:
67
- "This organization's data could not be loaded because it's no longer linked to your organization.",
68
- vendor_documents_not_found_msg:
69
- "This vendor hasn't submitted any compliance documents or certifications.",
74
+ could_not_load_not_linked_org: "This organization's data could not be loaded because it's no longer linked to your organization.",
75
+ vendor_documents_not_found_msg: "This vendor hasn't submitted any compliance documents or certifications.",
70
76
  switch_organizations: 'Switch organizations',
71
- switch_msg:
72
- 'Messages from your phone number <span class="em_text"><span class="rel z1">%{phoneNumber}</span></span> ' +
73
- 'will only be sent to your primary organization, <span class="em_text"><span class="rel z1">%{orgName}</span></span>.',
74
- switch_msg_no_org_selected:
75
- 'Messages from your phone number <span class="em_text"><span class="rel z1">%{phoneNumber}</span></span> ' +
76
- 'will only be sent to your primary organization.',
77
- switch_msg_no_phone_selected:
78
- 'Messages from your phone number ' +
79
- 'will only be sent to your primary organization, <span class="em_text"><span class="rel z1">%{orgName}</span></span>.',
80
- switch_msg_none_selected:
81
- 'Messages from your phone number will only be sent to your primary organization.',
82
- switch_instr:
83
- 'Select from the list below to change your primary organization.',
77
+ switch_organization: 'Switch organization',
78
+ choose_sign_in_organization: 'Choose the organization you want to sign in as.',
79
+ switch_msg: 'Messages from your phone number [hl]%{phoneNumber}[/hl] will default to the logged in organization: [hl]%{orgName}[/hl].',
80
+ switch_msg_no_org_selected: 'Messages from your phone number [hl]%{phoneNumber}[/hl] will only be sent to the organization you\'re logged into.',
81
+ switch_msg_no_phone_selected: 'Messages from your phone number will only be sent to the organization you\'re logged into: [hl]%{orgName}[/hl].',
82
+ switch_msg_none_selected: 'Messages from your phone number will only be sent to the organization you\'re logged into.',
83
+ switch_instr: 'Select from the list below to change your organization.',
84
84
 
85
85
  switch_confirm_msg:
86
- // NOTE: Because ".em_text" only works when the entire word is in 1 line,
86
+ // NOTE: Because ".em_link" only works when the entire word is in 1 line,
87
87
  // we need to give as much space as possible to <span> block.
88
- 'Do you want to switch your primary organization to ' +
89
- '<span class="em_text"><span class="rel z1">%{orgName}</span></span>?',
88
+ 'Do you want to switch your primary organization to ' + '[hl]%{orgName}[/hl]?',
90
89
 
91
- switch_finished_msg:
92
- 'Your primary organization has been switched to ' +
93
- '<span class="em_text"><span class="rel z1">%{orgName}</span></span>.',
90
+ switch_finished_msg: 'Your primary organization has been switched to ' +
91
+ '[hl]%{orgName}[/hl].',
94
92
 
95
93
  yes_switch: 'Yes, switch organization',
96
94
 
@@ -104,12 +102,19 @@ export default {
104
102
 
105
103
  type: {
106
104
  ARABLE: 'Arable farm',
105
+ LIVESTOCK: 'Livestock ranch', // We don't support this operation, but it still needs to be here because some orgs can still be LIVESTOCK operation
107
106
  FARMERS_MARKET: 'Farmers market',
108
107
  GROWER_NETWORK: 'Grower network',
109
108
  RESTAURANT: 'Restaurant',
110
109
  VENDOR: 'Vendor',
111
110
  WHOLESALE_FOOD: 'Wholesale (Food)',
112
111
  UNKNOWN: 'Unknown',
112
+ CONSTRUCTION: 'Construction',
113
+ UTILITIES: 'Utilities',
114
+ CHILDCARE: 'Childcare',
115
+ CONSTRUCTION_INSPECTION_AGENCY: 'Construction inspection agency',
116
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'Emergency medical services agency',
117
+ FOOD_MANUFACTURING: 'Food manufacturing',
113
118
  },
114
119
 
115
120
  type_short: {
@@ -120,6 +125,12 @@ export default {
120
125
  VENDOR: 'Vendor',
121
126
  WHOLESALE_FOOD: 'Wholesale',
122
127
  UNKNOWN: 'Unknown',
128
+ CONSTRUCTION: 'Construction',
129
+ UTILITIES: 'Utilities',
130
+ CHILDCARE: 'Childcare',
131
+ CONSTRUCTION_INSPECTION_AGENCY: 'Inspection agency',
132
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'EMS agency',
133
+ FOOD_MANUFACTURING: 'Food manufacturer',
123
134
  },
124
135
 
125
136
  type_inline: {
@@ -130,6 +141,12 @@ export default {
130
141
  VENDOR: 'vendor',
131
142
  WHOLESALE_FOOD: 'wholesale food business',
132
143
  UNKNOWN: 'unknown organization',
144
+ CONSTRUCTION: 'construction company',
145
+ UTILITIES: 'utilities company',
146
+ CHILDCARE: 'childcare provider',
147
+ CONSTRUCTION_INSPECTION_AGENCY: 'inspection agency',
148
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'EMS agency',
149
+ FOOD_MANUFACTURING: 'food manufacturer',
133
150
  },
134
151
 
135
152
  type_active: {
@@ -140,6 +157,12 @@ export default {
140
157
  VENDOR: 'Vendor',
141
158
  WHOLESALE_FOOD: 'Wholesale',
142
159
  UNKNOWN: 'Unknown',
160
+ CONSTRUCTION: 'Projects',
161
+ UTILITIES: 'Projects',
162
+ CHILDCARE: 'Staffing',
163
+ CONSTRUCTION_INSPECTION_AGENCY: 'Inspections',
164
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'EMS',
165
+ FOOD_MANUFACTURING: 'Manufacturing',
143
166
  },
144
167
 
145
168
  type_detailed: {
@@ -150,13 +173,18 @@ export default {
150
173
  VENDOR: 'Vendor (customer or supplier)',
151
174
  WHOLESALE_FOOD: 'Wholesale (Food)',
152
175
  UNKNOWN: 'Unknown',
176
+ CONSTRUCTION: 'Construction (contractor or engineering firm)',
177
+ UTILITIES: 'Utilities (power, water, gas, telecom)',
178
+ CHILDCARE: 'Childcare and early learning',
179
+ CONSTRUCTION_INSPECTION_AGENCY: 'Construction inspection agency (special inspections, materials testing)',
180
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'Emergency medical services agency',
181
+ FOOD_MANUFACTURING: 'Food manufacturing and processing',
153
182
  },
154
183
 
155
184
  operation_desc: {
156
185
  ARABLE: 'Crop production (%{commodities})',
157
186
 
158
187
  ARABLE_default: 'Crop production (produce)',
159
-
160
188
  // ..
161
189
  // Other operations will defaults to "Unknown"
162
190
  },
@@ -174,6 +202,11 @@ export default {
174
202
  VENDOR: 'product',
175
203
  WHOLESALE_FOOD: 'product',
176
204
  UNKNOWN: 'product',
205
+ CONSTRUCTION: 'product',
206
+ UTILITIES: 'product',
207
+ CONSTRUCTION_INSPECTION_AGENCY: 'product',
208
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'product',
209
+ FOOD_MANUFACTURING: 'product',
177
210
  },
178
211
 
179
212
  children: {
@@ -197,7 +230,13 @@ export default {
197
230
  VENDOR: 'View vendor',
198
231
  WHOLESALE_FOOD: 'View wholesale business',
199
232
  UNKNOWN: 'View organization',
233
+ CONSTRUCTION: 'View construction company',
234
+ UTILITIES: 'View utilities company',
235
+ CONSTRUCTION_INSPECTION_AGENCY: 'View inspection agency',
236
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'View EMS agency',
237
+ FOOD_MANUFACTURING: 'View food manufacturer',
200
238
  },
239
+ view_organization_type: 'View %{type}',
201
240
 
202
241
  edit: {
203
242
  ARABLE: 'Edit farm',
@@ -208,6 +247,11 @@ export default {
208
247
  VENDOR: 'Edit vendor',
209
248
  WHOLESALE_FOOD: 'Edit wholesale business',
210
249
  UNKNOWN: 'Edit organization',
250
+ CONSTRUCTION: 'Edit construction company',
251
+ UTILITIES: 'Edit utilities company',
252
+ CONSTRUCTION_INSPECTION_AGENCY: 'Edit inspection agency',
253
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'Edit EMS agency',
254
+ FOOD_MANUFACTURING: 'Edit food manufacturer',
211
255
  },
212
256
 
213
257
  delete: {
@@ -219,6 +263,11 @@ export default {
219
263
  VENDOR: 'Delete vendor',
220
264
  WHOLESALE_FOOD: 'Delete wholesale business',
221
265
  UNKNOWN: 'Delete organization',
266
+ CONSTRUCTION: 'Delete construction company',
267
+ UTILITIES: 'Delete utilities company',
268
+ CONSTRUCTION_INSPECTION_AGENCY: 'Delete inspection agency',
269
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'Delete EMS agency',
270
+ FOOD_MANUFACTURING: 'Delete food manufacturer',
222
271
  },
223
272
 
224
273
  remove: {
@@ -230,6 +279,9 @@ export default {
230
279
  VENDOR: 'Remove vendor',
231
280
  WHOLESALE_FOOD: 'Remove wholesale business',
232
281
  UNKNOWN: 'Remove organization',
282
+ CONSTRUCTION_INSPECTION_AGENCY: 'Remove inspection agency',
283
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'Remove EMS agency',
284
+ FOOD_MANUFACTURING: 'Remove food manufacturer',
233
285
  },
234
286
 
235
287
  contact_department: {
@@ -0,0 +1,133 @@
1
+ export default {
2
+ en: {
3
+ settings: {
4
+ title: 'Schedule settings',
5
+ kind: 'Resource type',
6
+ kind_PERSON: 'Team member',
7
+ kind_LABOR: 'Labor crew',
8
+ kind_EQUIPMENT: 'Equipment',
9
+ kind_MATERIAL: 'Material',
10
+ kind_SPACE: 'Room or space',
11
+ key: 'Resource code',
12
+ name: 'Name',
13
+ description: 'Description',
14
+ account: 'Linked member',
15
+ work_calendar: 'Working calendar',
16
+ work_calendars: 'Working calendars',
17
+ resources: 'Resources',
18
+ notifications: 'My notifications',
19
+ maxUnitsPerDay: 'Available units per day',
20
+ capacity: 'Room capacity',
21
+ unitOfMeasure: 'Unit of measure',
22
+ can_level: 'Use available capacity when leveling',
23
+ tags: 'Tags (comma separated)',
24
+ qualifications: 'Qualifications',
25
+ qualification: 'Qualification',
26
+ expires: 'Expires at (local time)',
27
+ add_qualification: 'Add qualification',
28
+ add_hours: 'Add working hours',
29
+ minutes_per_day: 'Minutes in one working day',
30
+ is_default: 'Organization default working calendar',
31
+ timeZone: 'Time zone',
32
+ weekday_1: 'Monday',
33
+ weekday_2: 'Tuesday',
34
+ weekday_3: 'Wednesday',
35
+ weekday_4: 'Thursday',
36
+ weekday_5: 'Friday',
37
+ weekday_6: 'Saturday',
38
+ weekday_7: 'Sunday',
39
+ select: 'Select an item',
40
+ retired_name: '%{name} (retired)',
41
+ add_resource: 'Add resource',
42
+ add_calendar: 'Add working calendar',
43
+ loading: 'Loading schedule settings…',
44
+ error: 'The change could not be saved. Check the values and try again.',
45
+ conflict: 'Someone changed this item. Reopen it to review the latest values before saving.',
46
+ capacity_periods: 'Capacity by date',
47
+ capacity_periods_description: 'Set daily capacity for a date range. Zero marks the resource unavailable.',
48
+ capacity_period_row: '%{from} – %{to}: %{units} units per day',
49
+ ongoing: 'ongoing',
50
+ startsOn: 'From date',
51
+ endsOn: 'Last day (optional)',
52
+ add_capacity_period: 'Add capacity period',
53
+ retire_confirm: 'Retiring this resource releases its future shifts and closes affected requests.',
54
+ reactivate: 'Reactivate resource',
55
+ confirm_retire: 'Confirm retirement',
56
+ retire: 'Retire resource',
57
+ exceptions: 'Holidays and dated exceptions',
58
+ date: 'Date',
59
+ start: 'Start time',
60
+ end: 'End time',
61
+ note: 'Note',
62
+ holiday: 'Non-working day',
63
+ save_exception: 'Save date exception',
64
+ delete_calendar_confirm: 'Delete this working calendar? Calendars in use cannot be deleted.',
65
+ confirm_delete: 'Confirm deletion',
66
+ notify_description:
67
+ 'In-app schedule updates stay on. Email and SMS use your verified contact details when you opt in. Turning SMS on agrees to shift texts.',
68
+ notify_unlinked: 'A manager must add you to the schedule before you can change schedule notifications.',
69
+ notify_inherited:
70
+ "You haven't chosen yet, so each location's default applies (usually in-app, plus SMS once you agree to shift texts). Saving keeps your choice.",
71
+ channel_IN_APP: 'In-app updates',
72
+ channel_EMAIL: 'Email',
73
+ channel_SMS: 'SMS',
74
+ saved: 'Preferences saved.',
75
+ },
76
+
77
+ title: 'Schedule',
78
+ operation_default: 'Use organization type default',
79
+ calendar: 'Calendar',
80
+ my_shifts: 'My shifts',
81
+ time_off: 'Time off',
82
+ resources: 'Resources',
83
+ no_shifts: 'No shifts in this window.',
84
+ my_todos: 'My to-dos',
85
+ no_todos: 'No open to-dos.',
86
+ todo_due_: 'Due %{date}',
87
+ todo_overdue: 'Overdue',
88
+ todo_high_priority: 'High priority',
89
+ todo_status: {
90
+ OPEN: 'Open',
91
+ IN_PROGRESS: 'In progress',
92
+ DONE: 'Done',
93
+ CANCELED: 'Canceled',
94
+ },
95
+ notification: 'Schedule update',
96
+ eligibility: {
97
+ NOT_PERSON: 'Only a person on the team can take this shift.',
98
+ RESOURCE_RETIRED: 'This person is no longer active on the schedule.',
99
+ NOT_MEMBER: 'This person is no longer a member of the organization.',
100
+ SHIFT_CANCELED: 'This shift was canceled.',
101
+ SHIFT_ENDED: 'This shift has already ended.',
102
+ ALREADY_ASSIGNED: 'Already assigned to this shift.',
103
+ ROLE_MISSING: 'This person does not have the role this shift needs.',
104
+ QUALIFICATION_MISSING: 'A qualification this role requires is missing.',
105
+ QUALIFICATION_EXPIRED: 'A qualification this role requires has expired.',
106
+ TIME_OFF: 'Approved time off overlaps this shift.',
107
+ OVERLAP: 'This person already has a shift at that time.',
108
+ UNAVAILABLE: 'This person is unavailable at that time.',
109
+ MAX_HOURS: 'This shift goes over the hours limit.',
110
+ MIN_REST: 'There is not enough rest between shifts.',
111
+ MAX_CONSECUTIVE_DAYS: 'This shift goes over the limit of days in a row.',
112
+ SHIFT_LENGTH: 'This shift is longer or shorter than allowed.',
113
+ COVERAGE_IMPACT: 'This change would leave the schedule short-staffed.',
114
+ },
115
+ notify: {
116
+ SCHEDULE_PUBLISHED: 'A schedule has been published.',
117
+ SHIFTS_CHANGED: 'Your shifts changed.',
118
+ REQUEST_OPENED: 'A shift request needs attention.',
119
+ REQUEST_DECIDED: 'A shift request has been decided.',
120
+ CALL_OUT: 'Someone called out of a shift.',
121
+ TIME_OFF_REQUESTED: 'A time-off request needs attention.',
122
+ TIME_OFF_DECIDED: 'A time-off request has been decided.',
123
+ VIOLATION_RAISED: 'The schedule has a blocking staffing issue.',
124
+ TASK_ASSIGNED: 'You have a new to-do.',
125
+ SCHEDULE_RUN_COMPLETE: 'The project schedule run has finished.',
126
+ MILESTONE_AT_RISK: 'A milestone is at risk.',
127
+ RESOURCE_OVERALLOCATED: 'A resource is overallocated.',
128
+ OFFER_FILLED: 'An open shift was filled.',
129
+ OFFER_UNFILLED: 'An open shift was not filled.',
130
+ PROJECT_DIGEST: 'Your weekly project update is ready.',
131
+ },
132
+ },
133
+ };