@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/agent.ts CHANGED
@@ -1,94 +1,219 @@
1
1
  export default {
2
2
  en: {
3
- // SMS responses
4
- sms_still_processing_1:
5
- 'Please wait a moment, I am still processing your message.',
6
- sms_still_processing_2:
7
- 'I am still processing your request. Please give me a moment.',
8
- sms_still_processing_3:
9
- 'Please hold on. I need a little more time to process your last message.',
3
+ transferring_reply_: 'Transferring your reply.',
4
+ drafting_email_outreach_: 'Drafting email.',
5
+ drafting_layout_email_outreach_: 'Drafting email layout.',
6
+ sending_email_outreach_: 'Sending email.',
7
+ updating_email_outreach_: 'Updating email.',
8
+ resending_email_outreach_: 'Re-sending email.',
9
+ checking_recipients_email_outreach_: 'Checking email recipients.',
10
+ updating_recipients_email_outreach_: 'Updating email recipients.',
10
11
 
12
+ searching_qr_codes_: '🔎 Searching QR codes.',
13
+ creating_qr_code_: '▦ Creating a QR code.',
14
+ updating_qr_code_: '▦ Updating a QR code.',
15
+ exporting_qr_code_: '▦ Preparing the QR code print and download link.',
16
+ recording_log_summary: '📝 Recording a log entry: “%{summary}”.',
17
+ recording_logs_summary: '📝 Recording %{count} log entries, including “%{summary}”.',
18
+ recording_log_count: '📝 Recording %{smart_count} log entry. |||| 📝 Recording %{smart_count} log entries.',
19
+ // SMS responses
20
+ sms_still_processing_1: 'Please wait a moment, I am still processing your message.',
21
+ sms_still_processing_2: 'I am still processing your request. Please give me a moment.',
22
+ sms_still_processing_3: 'Please hold on. I need a little more time to process your last message.',
11
23
  // Response texts
12
- thinking_: '💭 Thinking...',
13
- processing_request_: '⚙️ Processing your request...',
14
- creating_link_: '🔗 Creating a link...',
15
- getting_new_id_: '🆔 Creating new ID number...',
16
- saving_memories_: '💾 Saving memories...',
17
- reading_stored_memories_: '🧠 Reading stored memories...',
18
- listing_documents_: '📚 Listing documents...',
19
- reading_document_: '📖 Reading document...',
20
- searching_documents_: '🔍 Searching documents...',
21
- creating_document_: '📄 Creating document...',
22
- updating_document_: '📝 Updating document...',
23
- writing_log_: '📝 Writing log entry...',
24
- writing_logs_: '📝 Writing log entries...',
25
- searching_logs_: '📖 Searching for logs...',
26
- searching_harvest_logs_: '📖 Searching for harvest logs...',
27
- searching_avail_field_docs_: '🗄️ Searching for available field docs...',
28
- getting_file_url_: '📄 Getting file URL...',
29
- create_reminder_: '📅 Creating reminder...',
30
- create_recurring_reminder_: '📅 Creating recurring reminder...',
31
- update_reminder_: '📅 Updating reminder...',
32
- list_reminders_: '📅 Opening reminders...',
33
- ask_and_wait_: '💬 Sending question...',
34
- finding_item_: '🔍 Searching for item...',
35
- searching_contacts_: '🔍 Searching contacts list...',
36
- updating_contacts_: '🪪 Updating contacts list...',
37
- searching_directory_: '🗂️ Searching directory...',
38
- listing_organizations_: '🏢 Listing your organizations...',
39
- switching_organization_: '🏢 Switching organization...',
40
- updating_directory_: '🗂️ Updating directory...',
41
- searching_site_loc_: '🗺️ Searching for site...',
42
- updating_site_loc_: '🗺️ Updating site location...',
43
- creating_field_doc_: '📊 Creating field doc... ',
44
- updating_schedule_: '📅 Updating schedule...',
45
- updating_events_: '📅 Updating events...',
46
- searching_event_: '🔍 Searching for event(s)...',
47
- saving_address_: '🏠 Saving address...',
48
- searching_address_: '🔍 Searching for address...',
49
- searching_: '🔍 Searching...',
50
- saving_document_: '📜 Saving document...',
51
- saving_attendance_: '🙋 Saving attendance...',
52
- getting_attendance_: '🙋 Getting attendance...',
53
- updating_attendance_list_: '🙋 Updating attendance list...',
54
- updating_database_: '🗄️ Updating database...',
55
- sending_message_: '✉️ Sending message...',
56
- saving_load_list_: '📋 Saving load list...',
57
- searching_for_load_list_: '🔍 Searching for load list...',
58
- writing_field_doc_: '✍️ Writing field doc...',
59
- processing_csv_request_: '⚙️ Processing CSV file request...',
60
- retrieving_inbound_contact_: '🧠 Retrieving inbound contact information...',
61
- saving_inbound_contact_: '🧠 Saving inbound contact information...',
24
+ reading_email_conversation_history_: '📖 Reading email conversation history.',
25
+ reading_latest_conversation_: '📖 Reading the latest conversation.',
26
+ scheduling_workflow_followup_: '📅 Scheduling the next workflow follow-up.',
27
+ updating_workflow_task_progress_: '📝 Updating workflow task progress.',
28
+ saving_field_doc_identifier_: '📝 Saving the submission label.',
29
+ saving_field_doc_answers_: '📝 Saving field document answers.',
30
+ updating_field_doc_table_: '🗄️ Updating field document table.',
31
+ opening_job_document_: '📄 Opening the job document.',
32
+ updating_job_document_status_: '📝 Updating job document status.',
33
+ saving_temporary_memory_: '🧠 Saving information for short-term reference.',
34
+ recording_farm_purchase_: '📝 Recording farm purchase.',
35
+ recording_farm_purchases_: '📝 Recording farm purchases.',
36
+ recording_farming_activity_: '🌱 Recording farming activity.',
37
+ recording_farming_activities_: '🌱 Recording farming activities.',
38
+ recording_cold_storage_reading_: '🌡️ Recording cold storage reading.',
39
+ recording_cold_storage_readings_: '🌡️ Recording cold storage readings.',
40
+ recording_customer_sales_order_: '📝 Recording customer sales order.',
41
+ recording_customer_sales_orders_: '📝 Recording customer sales orders.',
42
+ recording_water_testing_entry_: '💧 Recording water testing entry.',
43
+ recording_water_testing_entries_: '💧 Recording water testing entries.',
44
+ recording_food_safety_entry_: '🧼 Recording food safety entry.',
45
+ recording_food_safety_entries_: '🧼 Recording food safety entries.',
46
+ recording_farm_operation_note_: '📝 Recording farm operation note.',
47
+ recording_farm_operation_notes_: '📝 Recording farm operation notes.',
48
+ recording_market_credit_receipt_: '🧾 Recording market credit receipt.',
49
+ recording_market_credit_receipts_: '🧾 Recording market credit receipts.',
50
+ recording_market_day_activity_: '📝 Recording market day activity.',
51
+ recording_market_day_activities_: '📝 Recording market day activities.',
52
+ recording_farmers_market_note_: '📝 Recording farmers market note.',
53
+ recording_farmers_market_notes_: '📝 Recording farmers market notes.',
54
+ recording_grower_inspection_note_: '🔍 Recording grower inspection note.',
55
+ recording_grower_inspection_notes_: '🔍 Recording grower inspection notes.',
56
+ listing_open_shifts_: '📅 Listing open shifts.',
57
+ listing_my_shifts_: '📅 Listing your shifts.',
58
+ checking_coverage_: '👥 Checking schedule coverage.',
59
+ finding_candidates_: '👥 Finding eligible staff.',
60
+ requesting_shift_change_: '📅 Submitting your shift request.',
61
+ requesting_time_off_: '🏖️ Submitting your time-off request.',
62
+ reading_project_: '📖 Reading the project schedule.',
63
+ proposing_plan_: '📋 Preparing the project plan proposal.',
64
+ running_schedule_: '🧮 Queuing the project calculation.',
65
+ updating_progress_: '📈 Updating activity progress.',
66
+ thinking_: '⚙️ Working.',
67
+ processing_request_: '⚙️ Processing your request.',
68
+ creating_link_: '🔗 Creating a link.',
69
+ getting_new_id_: '🆔 Creating new ID number.',
70
+ saving_memories_: '💾 Saving memories.',
71
+ reading_stored_memories_: '🧠 Reading stored memories.',
72
+ listing_notes_: '🗒️ Listing AI notes.',
73
+ reading_note_: '🗒️ Reading an AI note.',
74
+ searching_notes_: '🗒️ Searching AI notes.',
75
+ updating_note_focus_: '🎯 Updating an AI note focus.',
76
+ archiving_note_: '🗄️ Archiving an AI note.',
77
+ restoring_note_: '🗒️ Restoring an AI note.',
78
+ deleting_note_: '🗑️ Deleting an AI note.',
79
+ searching_library_: '📚 Searching the library.',
80
+ reading_library_file_: '📖 Reading a library file.',
81
+ reading_library_file_text_: '📖 Reading the text of a library file.',
82
+ listing_library_groups_: "🗂️ Listing the library's purposes and folders.",
83
+ saving_library_file_: '📥 Saving a file to the library.',
84
+ writing_library_file_: '✍️ Writing a library file.',
85
+ editing_library_file_: '✍️ Editing a library file.',
86
+ updating_library_file_: '📝 Updating a library file.',
87
+ organizing_library_: '🗂️ Organizing the library.',
88
+ updating_library_groups_: "🗂️ Updating the library's folders and purposes.",
89
+ planning_tracker_: '🧭 Planning a tracker.',
90
+ creating_tracker_: '📊 Creating a tracker.',
91
+ updating_tracker_: '📊 Updating a tracker.',
92
+ reading_email_outreach_: '✉️ Reading a bulk email.',
93
+ listing_email_outreach_: '✉️ Listing bulk emails.',
94
+ listing_email_outreach_count: '✉️ Listing %{smart_count} bulk email. |||| ✉️ Listing %{smart_count} bulk emails.',
95
+ reading_email_outreach_recipients_: '✉️ Reading bulk email recipients.',
96
+ reading_email_outreach_recipients_count:
97
+ '✉️ Reading %{smart_count} bulk email recipient. |||| ✉️ Reading %{smart_count} bulk email recipients.',
98
+ reading_email_outreach_replies_: '✉️ Reading replies to a bulk email.',
99
+ reading_email_outreach_replies_count:
100
+ '✉️ Reading %{smart_count} reply to a bulk email. |||| ✉️ Reading %{smart_count} replies to a bulk email.',
101
+ writing_log_: '📝 Writing log entry.',
102
+ writing_logs_: '📝 Writing log entries.',
103
+ recording_site_inspection_entry_: '📝 Recording site inspection entry.',
104
+ recording_site_inspection_entries_: '📝 Recording site inspection entries.',
105
+ handling_construction_project_inquiry_: '📝 Handling construction project inquiry.',
106
+ handling_construction_project_inquiries_: '📝 Handling construction project inquiries.',
107
+ recording_agency_operation_note_: '📝 Recording agency operation note.',
108
+ recording_agency_operation_notes_: '📝 Recording agency operation notes.',
109
+ searching_logs_: '📖 Finding matching activity records.',
110
+ searching_harvest_logs_: '📖 Scanning recorded crop harvest logs.',
111
+ searching_avail_field_docs_: '🗄️ Scanning field documents in workspace.',
112
+ getting_file_url_: '📄 Getting file URL.',
113
+ create_reminder_: '📅 Creating reminder.',
114
+ create_recurring_reminder_: '📅 Creating recurring reminder.',
115
+ update_reminder_: '📅 Updating reminder.',
116
+ list_reminders_: '📅 Opening reminders.',
117
+ ask_and_wait_: '💬 Sending question.',
118
+ finding_item_: '🔍 Looking up item details.',
119
+ searching_contacts_: '🔍 Browsing employee contact records.',
120
+ updating_contacts_: '🪪 Updating contacts list.',
121
+ searching_directory_: '🗂️ Browsing the organization directory.',
122
+ listing_organizations_: '🏢 Listing your organizations.',
123
+ switching_organization_: '🏢 Switching organization.',
124
+ updating_directory_: '🗂️ Updating directory.',
125
+ searching_site_loc_: '🗺️ Finding matching organization sites.',
126
+ updating_site_loc_: '🗺️ Updating site location.',
127
+ creating_field_doc_: '📊 Creating field documents.',
128
+ updating_schedule_: '📅 Updating schedule.',
129
+ updating_events_: '📅 Updating events.',
130
+ searching_event_: '🔍 Finding matching scheduled events.',
131
+ saving_address_: '🏠 Saving address.',
132
+ searching_address_: '🔍 Looking up saved address details.',
133
+ searching_: '🔍 Scanning submitted field documents.',
134
+ saving_document_: '📜 Saving document.',
135
+ saving_attendance_: '🙋 Saving attendance.',
136
+ getting_attendance_: '🙋 Getting attendance.',
137
+ updating_attendance_list_: '🙋 Updating attendance list.',
138
+ updating_database_: '🗄️ Updating database.',
139
+ sending_message_: '✉️ Sending message.',
140
+ saving_load_list_: '📋 Saving load list.',
141
+ searching_for_load_list_: '🔍 Scanning saved load list records.',
142
+ writing_field_doc_: '✍️ Writing field doc.',
143
+ processing_csv_request_: '⚙️ Processing CSV file request.',
144
+ processing_data_analysis_: '⚙️ Preparing your analysis.',
145
+ retrieving_inbound_contact_: '🧠 Retrieving inbound contact information.',
146
+ saving_inbound_contact_: '🧠 Saving inbound contact information.',
147
+ // Spreadsheet and data tool progress, keyed by tool name
148
+ grids_tool: {
149
+ read_field_doc_document: '📖 Reading document answers.',
150
+ search_sheets: '🔍 Scanning spreadsheets in workspace.',
151
+ view_sheet: '📖 Reading the spreadsheet.',
152
+ get_sheet_formula_help: '📚 Reading formula guidance.',
153
+ search_data_tables: '🔍 Scanning data tables in workspace.',
154
+ describe_table_sources: '🔍 Checking the fields of the source data.',
155
+ read_data_table: '📖 Reading the data table.',
156
+ query_data_table: '🔍 Querying table data.',
157
+ transform_dataset: '🛠️ Preparing data for the requested analysis.',
158
+ aggregate_dataset: '🧮 Calculating grouped totals and summaries.',
159
+ explode_dataset: '↕️ Expanding data into rows.',
160
+ append_datasets: '➕ Appending datasets.',
161
+ join_datasets: '🔗 Joining datasets.',
162
+ save_chat_working_result: '📝 Saving working notes.',
163
+ read_chat_tool_result: '📖 Reading tool results.',
164
+ create_spreadsheet: '📊 Creating spreadsheet.',
165
+ clone_spreadsheet: '📊 Cloning spreadsheet.',
166
+ update_spreadsheet: '📊 Updating spreadsheet.',
167
+ delete_spreadsheet: '🗑️ Deleting spreadsheet.',
168
+ export_spreadsheet: '📄 Exporting spreadsheet.',
169
+ create_sheet_tab: '📑 Adding tab.',
170
+ duplicate_sheet_tab: '📑 Duplicating tab.',
171
+ update_sheet_tab: '📑 Updating tab.',
172
+ delete_sheet_tab: '🗑️ Deleting tab.',
173
+ apply_sheet_changes: '🛠️ Applying sheet changes.',
174
+ update_sheet_structure: '↕️ Rearranging rows and columns.',
175
+ fill_sheet_cells: '🧮 Filling cells.',
176
+ materialize_sheet_dataset: '📥 Copying data into the sheet.',
177
+ materialize_log_dataset: '📋 Preparing activity records for analysis.',
178
+ create_data_table: '🗄️ Creating data table.',
179
+ update_data_table_definition: '🗄️ Updating table settings.',
180
+ write_data_table_rows: '🗄️ Writing table rows.',
181
+ delete_data_table: '🗑️ Deleting data table.',
182
+ undo_grid_change: '↩️ Undoing a change.',
183
+ redo_grid_change: '↪️ Redoing a change.',
184
+ list_grid_changes: '🕘 Reviewing recent changes.',
185
+ },
62
186
  inbound_contact_associated_orgs_auto_create_msg:
63
187
  'When AI reads incoming emails, it will auto-create associated organizations for the contact, if the information can be found.',
64
-
65
188
  // Agent memory
66
- saving_memory_: '🧠 Remembering...',
67
- updating_memory_: '🧠 Updating what I remember...',
68
- forgetting_memory_: '🧠 Forgetting...',
69
-
189
+ saving_memory_: '🧠 Saving information for future conversations.',
190
+ updating_memory_: '🧠 Updating what I remember.',
191
+ forgetting_memory_: '🧠 Forgetting.',
70
192
  // Digests
71
193
  digest_for_: 'Digest for %{date}',
72
-
73
194
  // AI inbox
195
+ ai_inbox: 'Agent inbox',
74
196
  ai_inbox_handle: 'Handle',
75
- change_ai_inbox: 'AI inbox',
76
- change_ai_inbox_msg:
77
- 'Choose a handle for your organization.\n This will become the address for your AI inbox email.',
78
- remove_ai_inbox: 'Remove AI inbox',
79
- ai_inbox_updated: 'AI inbox updated',
80
- ai_inbox_updated_msg:
81
- 'AI inbox handle has been changed to:\n [hl]%{inboundEmail}[/hl].',
82
- ai_inbox_removed_msg: 'AI inbox for your organization has been removed.',
83
- ai_inbox_addresses_ready:
84
- 'Emails sent to any of these addresses will automatically trigger AI workflows.',
85
- ai_inbox_addresses_empty:
86
- "AI inboxes handles requests from emails on your team's behalf. Choose a handle to activate AI inboxes.",
197
+ change_ai_inbox: 'Agent inbox',
198
+ change_ai_inbox_msg: 'Choose an Agent inbox email handle for your organization.',
199
+ remove_ai_inbox: 'Remove Agent inbox',
200
+ ai_inbox_updated: 'Agent inbox updated',
201
+ ai_inbox_updated_msg: 'Agent inbox handle has been changed to:\n [hl]%{inboundEmail}[/hl].',
202
+ ai_inbox_removed_msg: 'Agent inbox for your organization has been removed.',
203
+ ai_inbox_addresses_ready: 'Your AI agent reviews emails sent to this address and handles relevant requests for your team.',
204
+ ai_inbox_addresses_empty: "The AI agent handles email requests on your team's behalf. Choose a handle to activate your inbox.",
87
205
  ai_inbox_desc: {
88
- orders: 'Handle incoming orders from customers.',
89
- agent: 'Handle general requests.',
90
- assistant: 'Answer inquiries and general questions.',
206
+ agent: 'Handle requests, record supported orders and operational information, and coordinate help from your team.',
207
+ outbound: 'All outbound emails will be sent from this address.',
91
208
  },
209
+ inbound_emails: 'Inbound emails',
210
+ outbound_email_tooltip: 'Address your outbound emails are sent from.',
211
+ agent_email_agent_tooltip: 'AI agent handling requests, supported orders, and operational information for your team.',
212
+ platform_assistant_email_tooltip: 'Email address used by the Marketday assistant.',
213
+ support_email_tooltip: 'Marketday support email address.',
214
+ do_not_reply_email_tooltip: 'Automated email address that does not accept replies.',
215
+ system_email_tooltip: 'Marketday system email address.',
216
+ outbound_emails: 'Outbound emails',
92
217
  change_handle: 'Change inbox handle',
93
218
  inbound_email_from: 'From',
94
219
  inbound_email_to: 'To',
@@ -108,21 +233,129 @@ export default {
108
233
  IGNORED: 'Ignored',
109
234
  ERRORED: 'Errored',
110
235
  },
111
-
236
+ email_message_direction: 'Direction',
237
+ email_message_direction_all: 'Received and sent',
238
+ email_message_direction_INBOUND: 'Received',
239
+ email_message_direction_OUTBOUND: 'Sent',
240
+ email_message_kind: 'Source',
241
+ email_message_kind_filter_title: 'Filter by type',
242
+ email_message_status_filter_title: 'Filter by status',
243
+ email_message_exact_status: 'Detailed status',
244
+ email_message_filters: 'Filters',
245
+ email_message_filters_count: 'Filters (%{count})',
246
+ email_message_clear_filters: 'Clear all',
247
+ email_message_remove_filter: 'Remove %{filter}',
248
+ email_message_search: 'Search emails…',
249
+ email_message_campaign: 'Campaign',
250
+ email_message_delivery_all: 'Any delivery',
251
+ email_message_delivery_recorded: 'Delivery recorded (sent)',
252
+ email_message_delivery_unrecorded: 'No delivery recorded (sent)',
253
+ email_message_open_tracking: 'Opens',
254
+ email_message_open_all: 'Any open tracking',
255
+ email_message_open_recorded: 'Open recorded (sent)',
256
+ email_message_open_unrecorded: 'No open recorded (sent)',
257
+ email_message_from: 'From',
258
+ email_message_to: 'To',
259
+ email_message_subject: 'Subject',
260
+ email_message_date: 'Date',
261
+ email_message_reply_to: 'Reply To',
262
+ email_message_cc: 'Cc',
263
+ email_message_detail: 'Details',
264
+ email_message_body: 'Email',
265
+ email_message_heading: {
266
+ queued: 'Email is queued to be sent to %{name}.',
267
+ sending: 'Email is being sent to %{name}.',
268
+ unknown_delivery: 'Delivery of the email to %{name} could not be confirmed.',
269
+ failed: 'Email to %{name} failed to send.',
270
+ skipped: 'Email to %{name} was skipped.',
271
+ unavailable: 'Delivery status for the email to %{name} is unavailable.',
272
+ sent: 'Email sent to %{name}.',
273
+ sent_at: 'Email sent to %{name} at %{dateTime}.',
274
+ bounced: 'Email to %{name} bounced.',
275
+ bounced_at: 'Email to %{name} bounced at %{dateTime}.',
276
+ delivered: 'Email delivered to %{name}.',
277
+ delivered_at: 'Email delivered to %{name} at %{dateTime}.',
278
+ opened: '%{name} opened the email.',
279
+ opened_at: '%{name} opened the email at %{dateTime}.',
280
+ responded: '%{name} responded to the email.',
281
+ responded_at: '%{name} responded to the email at %{dateTime}.',
282
+ spam: '%{name} reported the email as spam.',
283
+ spam_at: '%{name} reported the email as spam at %{dateTime}.',
284
+ received: 'Email from %{name} was received and it is waiting to be processed.',
285
+ received_at: 'Email from %{name} was received at %{dateTime} and it is waiting to be processed.',
286
+ inbound_queued: 'Email from %{name} is queued for AI processing.',
287
+ inbound_processing: 'Email from %{name} is being processed by AI.',
288
+ inbound_processing_at: 'Email is being processed from %{name} at %{dateTime}.',
289
+ inbound_completed: 'Email from %{name} was received.',
290
+ inbound_completed_at: 'Email from %{name} was received at %{dateTime}.',
291
+ inbound_failed: 'Email from %{name} failed to process.',
292
+ inbound_failed_at: 'Email from %{name} failed to process at %{dateTime}.',
293
+ inbound_ignored: 'Email from %{name} was ignored.',
294
+ inbound_superseded: 'Email from %{name} was replaced by a newer message.',
295
+ inbound_unavailable: 'Processing status for the email from %{name} is unavailable.',
296
+ },
297
+ email_message_conversation: 'Email conversation',
298
+ email_message_selected: 'Selected email',
299
+ email_message_conversation_load_error: 'The next messages could not be loaded.',
300
+ email_message_no_body: 'There is no message body for this email.',
301
+ email_message_load_error: 'This email could not be loaded.',
302
+ email_message_block_sender: 'Block sender',
303
+ email_message_block_sender_confirm: 'Do you want to block future emails from this sender?:\n [hl]"%{emailAddress}"[/hl]',
304
+ email_message_unblock_sender: 'Unblock sender',
305
+ email_message_delivery: 'Delivery',
306
+ email_message_processing: 'AI processing',
307
+ email_message_sent_at: 'Sent',
308
+ email_message_delivered_at: 'Delivered',
309
+ email_message_opened_at: 'Opened',
310
+ email_message_bounced_at: 'Bounced',
311
+ email_message_spam_complaint_at: 'Spam',
312
+ email_message_processing_started_at: 'Queued',
313
+ email_message_processing_completed_at: 'Processed',
314
+ email_message_kinds: {
315
+ INBOX_MESSAGE: 'Inbound email',
316
+ EMAIL_OUTREACH_REPLY: 'Inbound reply to outreach',
317
+ REPLY: 'Inbound reply',
318
+ AGENT_REPLY: 'Outbound AI reply',
319
+ AGENT_SEND: 'Outbound AI email',
320
+ WORKFLOW_SEND: 'Outbound workflow email',
321
+ REMINDER: 'Outbound reminder',
322
+ SCHEDULE_NOTIFICATION: 'Outbound notification',
323
+ EMAIL_OUTREACH: 'Email outreach',
324
+ CSV_EXPORT: 'Outbound CSV export',
325
+ OTHER: 'Other outbound email',
326
+ },
327
+ email_message_statuses: {
328
+ RECEIVED: 'Received',
329
+ QUEUED: 'Queued',
330
+ PROCESSING: 'Processing',
331
+ SUPERSEDED: 'Superseded',
332
+ COMPLETED: 'Processed',
333
+ IGNORED: 'Ignored',
334
+ SENT: 'Sent',
335
+ DELIVERY_UNKNOWN: 'Delivery unknown',
336
+ BOUNCED: 'Bounced',
337
+ SUPPRESSED: 'Suppressed',
338
+ ERRORED: 'Failed',
339
+ },
340
+ email_message_status_groups: {
341
+ PENDING: 'In progress',
342
+ DONE: 'Done',
343
+ SKIPPED: 'Skipped',
344
+ FAILED: 'Failed',
345
+ },
346
+ email_message_sorts: {
347
+ OCCURRED_AT_DESC: 'Newest first',
348
+ OCCURRED_AT_ASC: 'Oldest first',
349
+ },
112
350
  // Integrations
113
351
  integrations_desc: 'Grant your AI access to third-party apps and services.',
114
- integrations_read_only_desc:
115
- 'You _do not_ have permissions to edit third-party apps and services for this organization.',
352
+ integrations_read_only_desc: 'You _do not_ have permissions to edit third-party apps and services for this organization.',
116
353
  integrations_other_title: 'Looking for a different app connection?',
117
- integrations_other_desc:
118
- '[Send us an e-mail](mailto:hello@marketday.ai). We decide what to build next based on your feedback.',
119
- integrations_disconnect_msg:
120
- 'Are you sure you want to disconnect?\n All related features will be disabled.',
121
-
354
+ integrations_other_desc: '[Send us an e-mail](mailto:hello@marketday.ai). We decide what to build next based on your feedback.',
355
+ integrations_disconnect_msg: 'Are you sure you want to disconnect?\n All related features will be disabled.',
122
356
  // Common errors
123
357
  invalid_id: '"%{field}" (%{value}) is not a valid ID.',
124
358
  one_is_required: 'One of the following fields is required: %{fields}.',
125
-
126
359
  // Operation specific terms
127
360
  operation_activities: {
128
361
  ARABLE: 'farming activities',
@@ -138,20 +371,12 @@ export default {
138
371
  WHOLESALE_FOOD: 'wholesale food businesses',
139
372
  UNKNOWN: 'organizations',
140
373
  },
141
-
142
374
  // Real time data update messages
143
- log_created: 'A new log was created.',
144
- vendors_list_updated: 'Vendors list was updated.',
145
- vendor_removed: 'A vendor was removed.',
146
- log_updated: 'Log was updated.',
147
- log_deleted: 'Log was deleted.',
148
375
  attendance_list_updated: 'Attendance list was updated.',
149
376
  attendance_logged: 'Attendance record was logged.',
150
-
151
377
  // Real-time data update messages
152
378
  data_update: {
153
- moderation_failed_tasks_terminated:
154
- "AI's tasks were terminated because it failed our moderation tests.",
379
+ moderation_failed_tasks_terminated: "AI's tasks were terminated because it failed our moderation tests.",
155
380
  tasks_assigned: 'AI has been assigned tasks.',
156
381
  },
157
382
  },