@jsb188/app 1.0.4 → 1.1.2

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 (104) hide show
  1. package/package.json +57 -37
  2. package/src/constants/agent.ts +74 -0
  3. package/src/constants/app.ts +389 -0
  4. package/src/constants/emoji.ts +9153 -0
  5. package/src/constants/other.ts +13 -0
  6. package/src/constants/user.ts +27 -0
  7. package/src/constants/wsActions.ts +49 -0
  8. package/src/i18n/account.ts +139 -0
  9. package/src/i18n/agent.ts +397 -0
  10. package/src/i18n/agentToolBusiness.ts +196 -0
  11. package/src/i18n/agentToolGrid.ts +137 -0
  12. package/src/i18n/agentToolWorkflow.ts +101 -0
  13. package/src/i18n/agent_note.ts +109 -0
  14. package/src/i18n/app.ts +124 -0
  15. package/src/i18n/auth.ts +128 -0
  16. package/src/i18n/billing.ts +7 -0
  17. package/src/i18n/c.ts +907 -0
  18. package/src/i18n/campaign.ts +919 -0
  19. package/src/i18n/country.ts +249 -0
  20. package/src/i18n/datetime.ts +66 -0
  21. package/src/i18n/editor.ts +58 -0
  22. package/src/i18n/error.ts +579 -0
  23. package/src/i18n/field_doc_editor.ts +21 -0
  24. package/src/i18n/field_doc_programs.ts +52 -0
  25. package/src/i18n/field_docs.ts +190 -0
  26. package/src/i18n/index.ts +64 -0
  27. package/src/i18n/log.ts +566 -0
  28. package/src/i18n/memory.ts +59 -0
  29. package/src/i18n/message.ts +13 -0
  30. package/src/i18n/note.ts +19 -0
  31. package/src/i18n/org.ts +306 -0
  32. package/src/i18n/schedule.ts +209 -0
  33. package/src/i18n/sheet.ts +339 -0
  34. package/src/i18n/sheet_formula.ts +165 -0
  35. package/src/i18n/workflow.ts +111 -0
  36. package/src/main.ts +89 -0
  37. package/src/platform.ts +166 -0
  38. package/src/types/ai.d.ts +63 -0
  39. package/src/types/app.d.ts +127 -0
  40. package/src/types/auth.d.ts +94 -0
  41. package/src/types/console.d.ts +3 -0
  42. package/src/types/node-polyglot.d.ts +23 -0
  43. package/src/types/other.d.ts +66 -0
  44. package/src/types.d.ts +29 -0
  45. package/src/utils/account.ts +97 -0
  46. package/src/utils/api.ts +358 -0
  47. package/src/utils/authSession.ts +24 -0
  48. package/src/utils/clientIP.ts +213 -0
  49. package/src/utils/color.ts +279 -0
  50. package/src/utils/cron.ts +310 -0
  51. package/src/utils/csv.ts +19 -0
  52. package/src/utils/datetime.ts +1394 -0
  53. package/src/utils/deferredSave.ts +89 -0
  54. package/src/utils/email.ts +39 -0
  55. package/src/utils/emoji.ts +174 -0
  56. package/src/utils/expression.helpers.ts +470 -0
  57. package/src/utils/expression.test.ts +793 -0
  58. package/src/utils/expression.ts +2261 -0
  59. package/src/utils/interval.ts +80 -0
  60. package/src/utils/language.ts +9 -0
  61. package/src/utils/logic.ts +299 -0
  62. package/src/utils/managedSession.ts +34 -0
  63. package/src/utils/managedSessionBff.test.ts +60 -0
  64. package/src/utils/managedSessionBff.ts +117 -0
  65. package/src/utils/number.ts +338 -0
  66. package/src/utils/object.ts +916 -0
  67. package/src/utils/promise.ts +98 -0
  68. package/src/utils/queryReset.ts +266 -0
  69. package/src/utils/recurringTask.ts +60 -0
  70. package/src/utils/schema.ts +293 -0
  71. package/src/utils/string.test.ts +278 -0
  72. package/src/utils/string.ts +709 -0
  73. package/src/utils/timeZone.ts +2048 -0
  74. package/src/utils/url_client.ts +206 -0
  75. package/tsconfig.json +12 -0
  76. package/constants/app.ts +0 -47
  77. package/constants/billing.ts +0 -146
  78. package/constants/emoji.ts +0 -8945
  79. package/constants/user.ts +0 -36
  80. package/constants/ws.ts +0 -47
  81. package/i18n/app.ts +0 -99
  82. package/i18n/auth.ts +0 -57
  83. package/i18n/billing.ts +0 -94
  84. package/i18n/datetime.ts +0 -22
  85. package/i18n/error.ts +0 -138
  86. package/i18n/form.ts +0 -73
  87. package/i18n/index.ts +0 -6
  88. package/i18n/user.ts +0 -98
  89. package/main.ts +0 -62
  90. package/types/app.d.ts +0 -46
  91. package/types/datetime.d.ts +0 -10
  92. package/types/form.d.ts +0 -56
  93. package/types/user.d.ts +0 -52
  94. package/types.d.ts +0 -23
  95. package/utils/api.ts +0 -99
  96. package/utils/billing.ts +0 -134
  97. package/utils/datetime.ts +0 -358
  98. package/utils/emoji.ts +0 -151
  99. package/utils/logic.ts +0 -115
  100. package/utils/number.ts +0 -115
  101. package/utils/object.ts +0 -367
  102. package/utils/string.ts +0 -211
  103. package/utils/url_client.ts +0 -138
  104. package/utils/user.ts +0 -273
@@ -0,0 +1,13 @@
1
+ export const DAY_OF_WEEK = [
2
+ 'Sunday', // Order matters
3
+ 'Monday',
4
+ 'Tuesday',
5
+ 'Wednesday',
6
+ 'Thursday',
7
+ 'Friday',
8
+ 'Saturday',
9
+ ];
10
+
11
+ export const SCHEDULE_FREQUENCY = ['ONCE', 'WEEKLY'];
12
+
13
+ export const DATE_PICKER_MIN = '1950-01-01';
@@ -0,0 +1,27 @@
1
+ export const USER_FRIEND_STATUS_ENUMS = [
2
+ 'BLOCKED',
3
+ 'DECLINED',
4
+ 'PENDING',
5
+ 'ACCEPTED',
6
+ ];
7
+
8
+ export const USER_PLUS_TYPE_ENUMS = ['NORMAL', 'PERKS', 'PLUS', 'PRO'];
9
+
10
+ export const SUB_TYPE_TO_ENUMS = {
11
+ kajiwoto_plus: 'PLUS',
12
+ kajiwoto_plus_yearly: 'PLUS',
13
+ kajiwoto_pro: 'PRO',
14
+ kajiwoto_pro_yearly: 'PRO',
15
+ };
16
+
17
+ export const SUB_TYPE_ENUMS = Object.keys(SUB_TYPE_TO_ENUMS);
18
+
19
+ export const ONLINE_STATUS_ENUMS = ['AWAY', 'BUSY', 'APPEAR_OFFLINE'];
20
+
21
+ export const STICKY_CHAT_SECTION_ENUMS = [
22
+ 'LIVE',
23
+ 'MY_LIVE',
24
+ 'MY_AI',
25
+ 'FAVORITES',
26
+ 'NONE',
27
+ ];
@@ -0,0 +1,49 @@
1
+ const WS_ACTIONS = {
2
+ // Socket connection
3
+ // NOTE: these are reserved names in Socket.IO
4
+ // That means you cannot emit custom events with these names
5
+ connect: 'connect',
6
+ disconnect: 'disconnect',
7
+
8
+ // Authentication
9
+ auth: 'auth',
10
+ auth_ready: 'aok',
11
+ auth_reset: 'auth_reset',
12
+ session_revoked: 'sr',
13
+ organization_access_revoked: 'oar',
14
+
15
+ // App
16
+ alert: 'alert',
17
+ data_update: 'du',
18
+ app_context_update: 'acu',
19
+
20
+ // Account
21
+ me: 'me:',
22
+ session: 'session:',
23
+ organization: 'org:',
24
+
25
+ // Sheet collaboration
26
+ sheet: 'sheet:',
27
+ sheet_join: 'sh_j',
28
+ sheet_leave: 'sh_l',
29
+ sheet_presence: 'sh_p',
30
+ sheet_selection: 'sh_s',
31
+ sheet_draft: 'sh_d',
32
+
33
+ // Authorization-only Sheet access watcher (no workbook/collab payloads)
34
+ sheet_access: 'sheet_access:',
35
+ sheet_access_watch: 'sh_aw',
36
+ sheet_access_watch_ack: 'sh_awa',
37
+ sheet_access_unwatch: 'sh_au',
38
+
39
+ // Server-managed, signed-capability Sheet data delivery room
40
+ sheet_data: 'sheet_data:',
41
+
42
+ // Account-owned Orchestrator artifact events. A socket joins its own
43
+ // authenticated account room only while that tab's orchestrator is open.
44
+ orchestrator: 'gcp:',
45
+ orchestrator_watch: 'gcp_w',
46
+ orchestrator_unwatch: 'gcp_uw',
47
+ };
48
+
49
+ export default WS_ACTIONS;
@@ -0,0 +1,139 @@
1
+ export default {
2
+ en: {
3
+ name_ph: 'e.g. Jane Doe',
4
+ name_ph2: 'Jane Doe',
5
+ about: 'About me',
6
+ about_ph: 'This text will be displayed on your profile for others to see.',
7
+ username: 'Username',
8
+ username_ph: 'e.g. "@jane_doe"',
9
+ username_info: 'Username, ID, and email is used to log in to your account.',
10
+ email: 'Email',
11
+ email_ph: 'e.g. jane_doe@email.com',
12
+ email_ph2: 'jane_doe@email.com',
13
+ phone_ph: 'e.g. 123-444-5555',
14
+ phone_ph2: '123-444-5555',
15
+ password: 'Password',
16
+ password_ph: 'Enter your password',
17
+ passwordRepeat: 'Password (repeat)',
18
+ search_ph: 'Search @ or ID',
19
+ no_one_found_: 'No one found: "%{query}"',
20
+ profile_no_desc: "This user hasn't written anything about themselves.",
21
+ no_one_found: 'No one found with this query.',
22
+
23
+ // App settings
24
+ manage_team: 'Manage team',
25
+ change_role: 'Change role',
26
+ change_role_desc:
27
+ "Choose [hl]%{name}[/hl]'s new role in _%{orgName}_. " +
28
+ 'This will change their permissions and access to certain features.',
29
+ edit_note_desc: 'Edit note for [hl]%{name}[/hl].',
30
+ edit_note_fin_msg:
31
+ 'Note for [hl]%{name}[/hl] in _%{orgName}_ has been updated.',
32
+ edit_note_help:
33
+ "It's useful to write information here such as their job function, " +
34
+ 'dietary preferences, disabilities or anything else to help guide the AI. ' +
35
+ '_AI may update this note when it receives new information._',
36
+ change_role_fin_msg:
37
+ "[hl]%{name}[/hl]'s role in _%{orgName}_ has been changed to **%{role}**.",
38
+ remove_member_confirm_msg:
39
+ 'Are you sure you want to remove\n [hl]%{name}[/hl] from _%{orgName}_?',
40
+ remove_member_fin_msg:
41
+ '[hl]%{name}[/hl] has been removed from _%{orgName}_.',
42
+ remove_member: 'Remove member',
43
+ account: 'Account',
44
+ fName: 'First name',
45
+ lName: 'Last name',
46
+ language: 'Language',
47
+ ai_language: 'Preferred language for AI',
48
+ timeZone: 'Time zone',
49
+ your_account: 'Your account',
50
+ sessions: 'Sessions',
51
+ sessions_desc: 'Review the devices currently signed in to your account.',
52
+ session_current: 'Current session',
53
+ session_last_active: 'Last active %{date}',
54
+ session_expires: 'Expires %{date}',
55
+ session_sign_out: 'Sign out',
56
+ session_sign_out_others: 'Sign out other sessions',
57
+ session_sign_out_member: 'Sign out member sessions',
58
+ session_sign_out_member_desc:
59
+ "Remove %{name}'s active access to %{orgName}.",
60
+ session_unknown_device: 'Unknown device',
61
+ session_none: 'No active sessions were found.',
62
+ your_preferences: 'Your preferences',
63
+ profile: 'Profile',
64
+ profile_desc: 'Change how your profile looks to others.',
65
+ personas: 'Personas',
66
+ show_password: 'Show password',
67
+ hide_password: 'Hide password',
68
+ change_password: 'Change password',
69
+ change_password_desc: "Change your account's login password.",
70
+ // personas_desc: 'Manage your roleplay personas. Persona for the chat (your name and photo) can be changed by clicking your photo next to the chat textarea.',
71
+ personas_desc:
72
+ 'Use personas to easily change your display name and profile photo. You can change your persona by clicking your photo next to the chat textarea.',
73
+ persona_label: 'Roleplay persona',
74
+ badge: 'Badge',
75
+ badge_desc: 'Change the badge that appear next to your name in chat.',
76
+ badge_instr: 'This badge will be displayed next to your name:',
77
+
78
+ // Change sensitive account settings/info
79
+ enter_password: 'Enter password',
80
+ enter_password_msg: 'Confirm your identity before continuing.',
81
+ new_email: 'New email address',
82
+ email_updated: 'Email updated',
83
+ email_updated_msg:
84
+ 'Your email address has been updated to:\n %{emailAddress}.',
85
+ change_email: 'Change email',
86
+ change_email_msg:
87
+ 'You will receive a confirmation email\n to your new address.',
88
+ change_email_pw_confirm_msg:
89
+ 'Please confirm your identity to\n change your email address.',
90
+ change_email_verify_msg:
91
+ 'Follow the instructions in the email we sent\n to change your email address.',
92
+ change_password_msg: 'Enter your new password below.',
93
+ change_password_pw_confirm_msg:
94
+ 'Please confirm your identity to\n change your password.',
95
+ change_phone: 'Change phone',
96
+ change_phone_msg:
97
+ 'Please confirm your identity to\n change your phone number.',
98
+ change_phone_request_msg:
99
+ 'Enter your new phone number below.\n We will send you a verification code.',
100
+ change_phone_verify_msg:
101
+ 'Enter the verification code\n sent to your new phone number.',
102
+ currentPassword: 'Current password',
103
+ newPassword: 'New password',
104
+ newPasswordRepeat: 'New password (repeat)',
105
+ phone_updated: 'Number updated',
106
+ phone_updated_msg:
107
+ 'Your phone number has been updated to:\n [hl]%{phoneNumber}[/hl].',
108
+
109
+ // Log out
110
+ logout: 'Log out',
111
+ logout_message: 'Do you want to log out from this account?',
112
+ logout_yes: 'Yes, log me out',
113
+
114
+ // Online status
115
+ status_ONLINE: 'Online',
116
+ status_AWAY: 'Away',
117
+ status_BUSY: 'Busy',
118
+ status_APPEAR_OFFLINE: 'Appear offline',
119
+
120
+ // Mini status profile
121
+ copy_id: 'Copy ID',
122
+
123
+ // Profile
124
+ avatar_color: 'Avatar color',
125
+ open_profile: 'Open profile',
126
+ cards_ct: '%{smart_count} Card||||%{smart_count} Cards',
127
+ report_user: 'Report user',
128
+ profile_deactivated_desc: 'This account has been deactivated.',
129
+ phone_numbers: 'Phone numbers',
130
+
131
+ // Roles
132
+ role: {
133
+ MEMBER: 'Employee',
134
+ MANAGER: 'Manager',
135
+ ADMIN: 'Admin',
136
+ OWNER: 'Owner',
137
+ },
138
+ },
139
+ };
@@ -0,0 +1,397 @@
1
+ export default {
2
+ en: {
3
+ searching_qr_codes_: '🔎 Searching QR codes.',
4
+ creating_qr_code_: '▦ Creating a QR code.',
5
+ updating_qr_code_: '▦ Updating a QR code.',
6
+ exporting_qr_code_: '▦ Preparing the QR code print and download link.',
7
+ recording_log_summary: '📝 Recording a log entry: “%{summary}”.',
8
+ recording_logs_summary: '📝 Recording %{count} log entries, including “%{summary}”.',
9
+ recording_log_count: '📝 Recording %{smart_count} log entry. |||| 📝 Recording %{smart_count} log entries.',
10
+ // SMS responses
11
+ sms_still_processing_1: 'Please wait a moment, I am still processing your message.',
12
+ sms_still_processing_2: 'I am still processing your request. Please give me a moment.',
13
+ sms_still_processing_3: 'Please hold on. I need a little more time to process your last message.',
14
+ // Response texts
15
+ reading_email_conversation_history_: '📖 Reading email conversation history.',
16
+ reading_latest_conversation_: '📖 Reading the latest conversation.',
17
+ scheduling_workflow_followup_: '📅 Scheduling the next workflow follow-up.',
18
+ updating_workflow_task_progress_: '📝 Updating workflow task progress.',
19
+ saving_field_doc_identifier_: '📝 Saving the submission label.',
20
+ saving_field_doc_answers_: '📝 Saving field document answers.',
21
+ updating_field_doc_table_: '🗄️ Updating field document table.',
22
+ opening_job_document_: '📄 Opening the job document.',
23
+ updating_job_document_status_: '📝 Updating job document status.',
24
+ saving_compliance_document_: '📜 Saving compliance document.',
25
+ saving_temporary_memory_: '🧠 Saving information for short-term reference.',
26
+ recording_farm_purchase_: '📝 Recording farm purchase.',
27
+ recording_farm_purchases_: '📝 Recording farm purchases.',
28
+ recording_farming_activity_: '🌱 Recording farming activity.',
29
+ recording_farming_activities_: '🌱 Recording farming activities.',
30
+ recording_cold_storage_reading_: '🌡️ Recording cold storage reading.',
31
+ recording_cold_storage_readings_: '🌡️ Recording cold storage readings.',
32
+ recording_customer_sales_order_: '📝 Recording customer sales order.',
33
+ recording_customer_sales_orders_: '📝 Recording customer sales orders.',
34
+ recording_water_testing_entry_: '💧 Recording water testing entry.',
35
+ recording_water_testing_entries_: '💧 Recording water testing entries.',
36
+ recording_food_safety_entry_: '🧼 Recording food safety entry.',
37
+ recording_food_safety_entries_: '🧼 Recording food safety entries.',
38
+ recording_farm_operation_note_: '📝 Recording farm operation note.',
39
+ recording_farm_operation_notes_: '📝 Recording farm operation notes.',
40
+ recording_market_credit_receipt_: '🧾 Recording market credit receipt.',
41
+ recording_market_credit_receipts_: '🧾 Recording market credit receipts.',
42
+ recording_market_day_activity_: '📝 Recording market day activity.',
43
+ recording_market_day_activities_: '📝 Recording market day activities.',
44
+ recording_farmers_market_note_: '📝 Recording farmers market note.',
45
+ recording_farmers_market_notes_: '📝 Recording farmers market notes.',
46
+ recording_grower_inspection_note_: '🔍 Recording grower inspection note.',
47
+ recording_grower_inspection_notes_: '🔍 Recording grower inspection notes.',
48
+ listing_open_shifts_: '📅 Listing open shifts.',
49
+ listing_my_shifts_: '📅 Listing your shifts.',
50
+ checking_coverage_: '👥 Checking schedule coverage.',
51
+ finding_candidates_: '👥 Finding eligible staff.',
52
+ requesting_shift_change_: '📅 Submitting your shift request.',
53
+ requesting_time_off_: '🏖️ Submitting your time-off request.',
54
+ reading_project_: '📖 Reading the project schedule.',
55
+ proposing_plan_: '📋 Preparing the project plan proposal.',
56
+ running_schedule_: '🧮 Queuing the project calculation.',
57
+ updating_progress_: '📈 Updating activity progress.',
58
+ thinking_: '⚙️ Working.',
59
+ processing_request_: '⚙️ Processing your request.',
60
+ creating_link_: '🔗 Creating a link.',
61
+ getting_new_id_: '🆔 Creating new ID number.',
62
+ saving_memories_: '💾 Saving memories.',
63
+ reading_stored_memories_: '🧠 Reading stored memories.',
64
+ listing_notes_: '🗒️ Listing AI notes.',
65
+ reading_note_: '🗒️ Reading an AI note.',
66
+ searching_notes_: '🗒️ Searching AI notes.',
67
+ updating_note_focus_: '🎯 Updating an AI note focus.',
68
+ updating_form_note_focus_: '🎯 Updating the AI note focus of a web form.',
69
+ archiving_note_: '🗄️ Archiving an AI note.',
70
+ restoring_note_: '🗒️ Restoring an AI note.',
71
+ deleting_note_: '🗑️ Deleting an AI note.',
72
+ planning_tracker_: '🧭 Planning a tracker.',
73
+ creating_tracker_: '📊 Creating a tracker.',
74
+ updating_tracker_: '📊 Updating a tracker.',
75
+ reading_campaign_responses_: '📋 Reading web form responses.',
76
+ reading_campaign_response_: '📋 Reading one web form response.',
77
+ reading_campaign_responses_count:
78
+ '📋 Reading %{smart_count} web form response. |||| 📋 Reading %{smart_count} web form responses.',
79
+ reading_campaign_email_activity_: '✉️ Reading email campaign activity.',
80
+ reading_campaign_recipients_: '✉️ Reading email campaign recipients.',
81
+ reading_campaign_recipients_count:
82
+ '✉️ Reading %{smart_count} email campaign recipient. |||| ✉️ Reading %{smart_count} email campaign recipients.',
83
+ reading_campaign_replies_: '✉️ Reading email campaign replies.',
84
+ reading_campaign_replies_count:
85
+ '✉️ Reading %{smart_count} email campaign reply. |||| ✉️ Reading %{smart_count} email campaign replies.',
86
+ listing_form_campaigns_: '📋 Listing web form campaigns.',
87
+ listing_form_campaigns_count: '📋 Listing %{smart_count} web form campaign. |||| 📋 Listing %{smart_count} web form campaigns.',
88
+ listing_email_campaigns_: '✉️ Listing email campaigns.',
89
+ listing_email_campaigns_count: '✉️ Listing %{smart_count} email campaign. |||| ✉️ Listing %{smart_count} email campaigns.',
90
+ writing_log_: '📝 Writing log entry.',
91
+ writing_logs_: '📝 Writing log entries.',
92
+ recording_site_inspection_entry_: '📝 Recording site inspection entry.',
93
+ recording_site_inspection_entries_: '📝 Recording site inspection entries.',
94
+ handling_construction_project_inquiry_: '📝 Handling construction project inquiry.',
95
+ handling_construction_project_inquiries_: '📝 Handling construction project inquiries.',
96
+ recording_agency_operation_note_: '📝 Recording agency operation note.',
97
+ recording_agency_operation_notes_: '📝 Recording agency operation notes.',
98
+ searching_logs_: '📖 Finding matching activity records.',
99
+ searching_arable_farming_logs_: '🌱 Scanning farming activity records.',
100
+ searching_farmers_market_logs_: '🧺 Scanning farmers market activity records.',
101
+ searching_grower_network_logs_: '🔍 Finding grower inspection records.',
102
+ searching_harvest_logs_: '📖 Scanning recorded crop harvest logs.',
103
+ searching_avail_field_docs_: '🗄️ Scanning field documents in workspace.',
104
+ getting_file_url_: '📄 Getting file URL.',
105
+ create_reminder_: '📅 Creating reminder.',
106
+ create_recurring_reminder_: '📅 Creating recurring reminder.',
107
+ update_reminder_: '📅 Updating reminder.',
108
+ list_reminders_: '📅 Opening reminders.',
109
+ ask_and_wait_: '💬 Sending question.',
110
+ finding_item_: '🔍 Looking up item details.',
111
+ searching_contacts_: '🔍 Browsing employee contact records.',
112
+ updating_contacts_: '🪪 Updating contacts list.',
113
+ searching_directory_: '🗂️ Browsing the organization directory.',
114
+ listing_organizations_: '🏢 Listing your organizations.',
115
+ switching_organization_: '🏢 Switching organization.',
116
+ updating_directory_: '🗂️ Updating directory.',
117
+ searching_site_loc_: '🗺️ Finding matching organization sites.',
118
+ updating_site_loc_: '🗺️ Updating site location.',
119
+ creating_field_doc_: '📊 Creating field documents.',
120
+ updating_schedule_: '📅 Updating schedule.',
121
+ updating_events_: '📅 Updating events.',
122
+ searching_event_: '🔍 Finding matching scheduled events.',
123
+ saving_address_: '🏠 Saving address.',
124
+ searching_address_: '🔍 Looking up saved address details.',
125
+ searching_: '🔍 Scanning submitted field documents.',
126
+ saving_document_: '📜 Saving document.',
127
+ saving_attendance_: '🙋 Saving attendance.',
128
+ getting_attendance_: '🙋 Getting attendance.',
129
+ updating_attendance_list_: '🙋 Updating attendance list.',
130
+ updating_database_: '🗄️ Updating database.',
131
+ sending_message_: '✉️ Sending message.',
132
+ saving_load_list_: '📋 Saving load list.',
133
+ searching_for_load_list_: '🔍 Scanning saved load list records.',
134
+ writing_field_doc_: '✍️ Writing field doc.',
135
+ processing_csv_request_: '⚙️ Processing CSV file request.',
136
+ processing_data_analysis_: '⚙️ Preparing your analysis.',
137
+ retrieving_inbound_contact_: '🧠 Retrieving inbound contact information.',
138
+ saving_inbound_contact_: '🧠 Saving inbound contact information.',
139
+ // Orchestrator tool progress, keyed by tool name
140
+ grids_tool: {
141
+ get_workflow_authoring_context: '🔍 Checking workflow options.',
142
+ view_workflow: '📖 Reading the workflow.',
143
+ preview_workflow: '✅ Validating the workflow.',
144
+ save_workflow: '💾 Saving the workflow.',
145
+ set_workflow_active: '⚙️ Updating workflow activation.',
146
+ set_workflow_user_instructions: '✏️ Updating workflow user instructions.',
147
+ get_field_doc_authoring_context: '🔍 Checking field document options.',
148
+ view_field_doc_definition: '📖 Reading the field document.',
149
+ list_field_doc_revisions: '🕘 Reviewing document revisions.',
150
+ preview_field_doc: '✅ Validating the field document.',
151
+ save_field_doc: '💾 Saving the field document.',
152
+ migrate_field_doc_submission: '🔄 Updating the submission revision.',
153
+ read_field_doc_document: '📖 Reading document answers.',
154
+ list_field_doc_programs: '🔍 Checking field document programs.',
155
+ enroll_field_doc_program: '📋 Enrolling in the field document program.',
156
+ set_field_doc_custom_instructions: '✏️ Updating custom instructions for the field document.',
157
+ search_sheets: '🔍 Scanning spreadsheets in workspace.',
158
+ view_sheet: '📖 Reading the spreadsheet.',
159
+ get_sheet_formula_help: '📚 Reading formula guidance.',
160
+ validate_sheet_formulas: '✅ Validating formulas.',
161
+ get_sheet_calculation_status: '🧮 Checking calculation status.',
162
+ search_data_tables: '🔍 Scanning data tables in workspace.',
163
+ describe_table_sources: '🔍 Checking the fields of the source data.',
164
+ read_data_table: '📖 Reading the data table.',
165
+ query_data_table: '🔍 Querying table data.',
166
+ transform_dataset: '🛠️ Preparing data for the requested analysis.',
167
+ aggregate_dataset: '🧮 Calculating grouped totals and summaries.',
168
+ explode_dataset: '↕️ Expanding data into rows.',
169
+ append_datasets: '➕ Appending datasets.',
170
+ join_datasets: '🔗 Joining datasets.',
171
+ enable_grid_tools: '🧰 Loading tools for spreadsheet work.',
172
+ save_chat_working_result: '📝 Saving working notes.',
173
+ read_chat_tool_result: '📖 Reading tool results.',
174
+ get_grid_task: '📋 Reviewing the plan.',
175
+ update_grid_task: '📋 Updating the plan.',
176
+ create_spreadsheet: '📊 Creating spreadsheet.',
177
+ update_spreadsheet: '📊 Updating spreadsheet.',
178
+ delete_spreadsheet: '🗑️ Deleting spreadsheet.',
179
+ create_sheet_tab: '📑 Adding tab.',
180
+ duplicate_sheet_tab: '📑 Duplicating tab.',
181
+ update_sheet_tab: '📑 Updating tab.',
182
+ delete_sheet_tab: '🗑️ Deleting tab.',
183
+ update_sheet_cells: '✏️ Updating spreadsheet cell contents.',
184
+ apply_sheet_changes: '🛠️ Applying sheet changes.',
185
+ update_sheet_layout: '🎨 Formatting sheet.',
186
+ update_sheet_structure: '↕️ Rearranging rows and columns.',
187
+ fill_sheet_cells: '🧮 Filling cells.',
188
+ materialize_sheet_dataset: '📥 Copying data into the sheet.',
189
+ materialize_log_dataset: '📋 Preparing activity records for analysis.',
190
+ create_data_table: '🗄️ Creating data table.',
191
+ update_data_table_definition: '🗄️ Updating table settings.',
192
+ write_data_table_rows: '🗄️ Writing table rows.',
193
+ delete_data_table: '🗑️ Deleting data table.',
194
+ undo_grid_change: '↩️ Undoing a change.',
195
+ redo_grid_change: '↪️ Redoing a change.',
196
+ list_grid_changes: '🕘 Reviewing recent changes.',
197
+ },
198
+ inbound_contact_associated_orgs_auto_create_msg:
199
+ 'When AI reads incoming emails, it will auto-create associated organizations for the contact, if the information can be found.',
200
+ // Agent memory
201
+ saving_memory_: '🧠 Saving information for future conversations.',
202
+ updating_memory_: '🧠 Updating what I remember.',
203
+ forgetting_memory_: '🧠 Forgetting.',
204
+ // Digests
205
+ digest_for_: 'Digest for %{date}',
206
+ // AI inbox
207
+ ai_inbox_handle: 'Handle',
208
+ change_ai_inbox: 'AI inbox',
209
+ change_ai_inbox_msg: 'Choose an AI inbox email handle for your organization.',
210
+ remove_ai_inbox: 'Remove AI inbox',
211
+ ai_inbox_updated: 'AI inbox updated',
212
+ ai_inbox_updated_msg: 'AI inbox handle has been changed to:\n [hl]%{inboundEmail}[/hl].',
213
+ ai_inbox_removed_msg: 'AI inbox for your organization has been removed.',
214
+ ai_inbox_addresses_ready: 'AI agents review emails sent to these addresses and handle relevant requests for your team.',
215
+ ai_inbox_addresses_empty: "AI inboxes handles requests from emails on your team's behalf. Choose a handle to activate AI inboxes.",
216
+ ai_inbox_desc: {
217
+ orders: 'Handle incoming orders from customers.',
218
+ agent: 'Handle general requests.',
219
+ assistant: 'AI agent inbox for answering general inquiries.',
220
+ outbound: 'All outbound emails will be sent from this address.',
221
+ },
222
+ inbound_emails: 'Inbound emails',
223
+ orders_email_agent_tooltip: 'Email agent tasked with handling customer orders.',
224
+ campaign_email_agent_tooltip: 'Email agent handling replies to email campaigns.',
225
+ assistant_email_agent_tooltip: 'Email agent tasked with handling general inquiries.',
226
+ platform_assistant_email_tooltip: 'Email address used by the Marketday assistant.',
227
+ support_email_tooltip: 'Marketday support email address.',
228
+ do_not_reply_email_tooltip: 'Automated email address that does not accept replies.',
229
+ system_email_tooltip: 'Marketday system email address.',
230
+ outbound_emails: 'Outbound emails',
231
+ change_handle: 'Change inbox handle',
232
+ inbound_email_from: 'From',
233
+ inbound_email_to: 'To',
234
+ inbound_email_subject: 'Subject',
235
+ inbound_email_received: 'Received',
236
+ inbound_email_summary: 'Summary',
237
+ inbound_email_body: 'Email',
238
+ inbound_email_no_subject: '(No subject)',
239
+ inbound_email_no_body: 'There is no message body for this email.',
240
+ inbound_email_attachment_size: '%{size} bytes',
241
+ inbound_email_status: {
242
+ RECEIVED: 'Received',
243
+ QUEUED: 'Queued',
244
+ SUPERSEDED: 'Superseded',
245
+ PROCESSING: 'Processing',
246
+ COMPLETED: 'Completed',
247
+ IGNORED: 'Ignored',
248
+ ERRORED: 'Errored',
249
+ },
250
+ email_message_direction: 'Direction',
251
+ email_message_direction_all: 'Received and sent',
252
+ email_message_direction_INBOUND: 'Received',
253
+ email_message_direction_OUTBOUND: 'Sent',
254
+ email_message_kind: 'Source',
255
+ email_message_kind_filter_title: 'Filter by type',
256
+ email_message_status_filter_title: 'Filter by status',
257
+ email_message_exact_status: 'Detailed status',
258
+ email_message_filters: 'Filters',
259
+ email_message_filters_count: 'Filters (%{count})',
260
+ email_message_clear_filters: 'Clear all',
261
+ email_message_remove_filter: 'Remove %{filter}',
262
+ email_message_search: 'Search emails…',
263
+ email_message_campaign: 'Campaign',
264
+ email_message_delivery_all: 'Any delivery',
265
+ email_message_delivery_recorded: 'Delivery recorded (sent)',
266
+ email_message_delivery_unrecorded: 'No delivery recorded (sent)',
267
+ email_message_open_tracking: 'Opens',
268
+ email_message_open_all: 'Any open tracking',
269
+ email_message_open_recorded: 'Open recorded (sent)',
270
+ email_message_open_unrecorded: 'No open recorded (sent)',
271
+ email_message_from: 'From',
272
+ email_message_to: 'To',
273
+ email_message_subject: 'Subject',
274
+ email_message_date: 'Date',
275
+ email_message_reply_to: 'Reply To',
276
+ email_message_cc: 'Cc',
277
+ email_message_detail: 'Details',
278
+ email_message_body: 'Email',
279
+ email_message_heading: {
280
+ queued: 'Email is queued to be sent to %{name}.',
281
+ sending: 'Email is being sent to %{name}.',
282
+ unknown_delivery: 'Delivery of the email to %{name} could not be confirmed.',
283
+ failed: 'Email to %{name} failed to send.',
284
+ skipped: 'Email to %{name} was skipped.',
285
+ unavailable: 'Delivery status for the email to %{name} is unavailable.',
286
+ sent: 'Email sent to %{name}.',
287
+ sent_at: 'Email sent to %{name} at %{dateTime}.',
288
+ bounced: 'Email to %{name} bounced.',
289
+ bounced_at: 'Email to %{name} bounced at %{dateTime}.',
290
+ delivered: 'Email delivered to %{name}.',
291
+ delivered_at: 'Email delivered to %{name} at %{dateTime}.',
292
+ opened: '%{name} opened the email.',
293
+ opened_at: '%{name} opened the email at %{dateTime}.',
294
+ responded: '%{name} responded to the email.',
295
+ responded_at: '%{name} responded to the email at %{dateTime}.',
296
+ spam: '%{name} reported the email as spam.',
297
+ spam_at: '%{name} reported the email as spam at %{dateTime}.',
298
+ received: 'Email received from %{name}.',
299
+ received_at: 'Email received from %{name} at %{dateTime}.',
300
+ inbound_queued: 'Email from %{name} is queued for AI processing.',
301
+ inbound_processing: 'Email from %{name} is being processed by AI.',
302
+ inbound_processing_at: 'AI started processing the email from %{name} at %{dateTime}.',
303
+ inbound_completed: 'AI finished processing the email from %{name}.',
304
+ inbound_completed_at: 'AI finished processing the email from %{name} at %{dateTime}.',
305
+ inbound_failed: 'AI processing failed for the email from %{name}.',
306
+ inbound_failed_at: 'AI processing failed for the email from %{name} at %{dateTime}.',
307
+ inbound_ignored: 'Email from %{name} was ignored.',
308
+ inbound_superseded: 'Email from %{name} was replaced by a newer message.',
309
+ inbound_unavailable: 'Processing status for the email from %{name} is unavailable.',
310
+ },
311
+ email_message_no_body: 'There is no message body for this email.',
312
+ email_message_load_error: 'This email could not be loaded.',
313
+ email_message_delivery: 'Delivery',
314
+ email_message_processing: 'AI processing',
315
+ email_message_sent_at: 'Sent',
316
+ email_message_delivered_at: 'Delivered',
317
+ email_message_opened_at: 'Opened',
318
+ email_message_bounced_at: 'Bounced',
319
+ email_message_spam_complaint_at: 'Spam complaint',
320
+ email_message_processing_started_at: 'Started',
321
+ email_message_processing_completed_at: 'Finished',
322
+ email_message_kinds: {
323
+ INBOX_MESSAGE: 'Incoming email',
324
+ CAMPAIGN_REPLY: 'Incoming campaign reply',
325
+ REPLY: 'Incoming reply',
326
+ AGENT_REPLY: 'Outgoing AI reply',
327
+ AGENT_SEND: 'Outgoing AI email',
328
+ WORKFLOW_SEND: 'Outgoing workflow email',
329
+ REMINDER: 'Outgoing reminder',
330
+ SCHEDULE_NOTIFICATION: 'Outgoing notification',
331
+ CAMPAIGN: 'Outgoing campaign email',
332
+ FORM_RESPONSE_COPY: 'Outgoing web form response',
333
+ CSV_EXPORT: 'Outgoing CSV export',
334
+ OTHER: 'Other outgoing email',
335
+ },
336
+ email_message_statuses: {
337
+ RECEIVED: 'Received',
338
+ QUEUED: 'Queued',
339
+ PROCESSING: 'Processing',
340
+ SUPERSEDED: 'Superseded',
341
+ COMPLETED: 'Completed',
342
+ IGNORED: 'Ignored',
343
+ SENT: 'Sent',
344
+ DELIVERY_UNKNOWN: 'Delivery unknown',
345
+ BOUNCED: 'Bounced',
346
+ SUPPRESSED: 'Suppressed',
347
+ ERRORED: 'Failed',
348
+ },
349
+ email_message_status_groups: {
350
+ PENDING: 'In progress',
351
+ DONE: 'Done',
352
+ SKIPPED: 'Skipped',
353
+ FAILED: 'Failed',
354
+ },
355
+ email_message_sorts: {
356
+ OCCURRED_AT_DESC: 'Newest first',
357
+ OCCURRED_AT_ASC: 'Oldest first',
358
+ },
359
+ // Integrations
360
+ integrations_desc: 'Grant your AI access to third-party apps and services.',
361
+ integrations_read_only_desc: 'You _do not_ have permissions to edit third-party apps and services for this organization.',
362
+ integrations_other_title: 'Looking for a different app connection?',
363
+ integrations_other_desc: '[Send us an e-mail](mailto:hello@marketday.ai). We decide what to build next based on your feedback.',
364
+ integrations_disconnect_msg: 'Are you sure you want to disconnect?\n All related features will be disabled.',
365
+ // Common errors
366
+ invalid_id: '"%{field}" (%{value}) is not a valid ID.',
367
+ one_is_required: 'One of the following fields is required: %{fields}.',
368
+ // Operation specific terms
369
+ operation_activities: {
370
+ ARABLE: 'farming activities',
371
+ FARMERS_MARKET: 'farmers market operations',
372
+ GROWER_NETWORK: 'network activities',
373
+ WHOLESALE_FOOD: 'wholesale food operations',
374
+ UNKNOWN: 'organization activities',
375
+ },
376
+ operation_farmers: {
377
+ ARABLE: 'farmers',
378
+ FARMERS_MARKET: 'farmers market vendors',
379
+ GROWER_NETWORK: 'growers',
380
+ WHOLESALE_FOOD: 'wholesale food businesses',
381
+ UNKNOWN: 'organizations',
382
+ },
383
+ // Real time data update messages
384
+ log_created_label: 'New log',
385
+ vendors_list_updated: 'Vendors list was updated.',
386
+ vendor_removed: 'A vendor was removed.',
387
+ log_updated: 'Log was updated.',
388
+ log_deleted: 'Log was deleted.',
389
+ attendance_list_updated: 'Attendance list was updated.',
390
+ attendance_logged: 'Attendance record was logged.',
391
+ // Real-time data update messages
392
+ data_update: {
393
+ moderation_failed_tasks_terminated: "AI's tasks were terminated because it failed our moderation tests.",
394
+ tasks_assigned: 'AI has been assigned tasks.',
395
+ },
396
+ },
397
+ };