@jsb188/app 1.1.12 → 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.
- package/LICENSE +21 -0
- package/package.json +11 -3
- package/src/constants/agent.ts +17 -7
- package/src/constants/app.ts +26 -0
- package/src/constants/wsActions.ts +0 -6
- package/src/i18n/agent.ts +65 -78
- package/src/i18n/agentToolBusiness.ts +149 -5
- package/src/i18n/agentToolGrid.ts +0 -16
- package/src/i18n/agent_note.ts +7 -6
- package/src/i18n/auth.ts +0 -3
- package/src/i18n/c.ts +58 -12
- package/src/i18n/campaign.ts +81 -830
- package/src/i18n/editor.ts +3 -5
- package/src/i18n/email_outreach_editor.ts +526 -0
- package/src/i18n/error.ts +174 -85
- package/src/i18n/field_doc_programs.ts +2 -3
- package/src/i18n/field_docs.ts +1 -0
- package/src/i18n/form.ts +12 -0
- package/src/i18n/index.ts +5 -1
- package/src/i18n/log.ts +2 -1
- package/src/i18n/memory.ts +2 -3
- package/src/i18n/message.ts +1 -0
- package/src/i18n/org.ts +4 -1
- package/src/i18n/schedule.ts +46 -122
- package/src/i18n/sheet.ts +20 -33
- package/src/i18n/workflow.ts +66 -4
- package/src/types/ai.d.ts +0 -4
- package/src/types/app.d.ts +22 -59
- package/src/types/auth.d.ts +1 -1
- package/src/utils/api.ts +14 -10
- package/src/utils/color.ts +18 -0
- package/src/utils/object.ts +41 -128
- package/src/utils/queryReset.ts +16 -54
- package/src/utils/string.ts +7 -0
- package/src/utils/url_client.ts +46 -15
- package/src/utils/expression.test.ts +0 -793
- package/src/utils/managedSessionBff.test.ts +0 -60
- package/src/utils/string.test.ts +0 -278
- package/tsconfig.json +0 -12
package/src/i18n/agent_note.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
en: {
|
|
3
3
|
agent_notes: 'AI Notes',
|
|
4
|
+
edit_title: 'Edit title',
|
|
5
|
+
ai_note_title: 'AI note title',
|
|
6
|
+
edit_title_description: 'Choose a title for this AI note. Leave it blank to show the AI generated summary.',
|
|
7
|
+
title_save_failed: 'Could not save the note title. Press Enter to retry.',
|
|
4
8
|
refresh_queued_minutes: 'Refresh queued · starts in %{smart_count} minute |||| Refresh queued · starts in %{smart_count} minutes',
|
|
5
9
|
refresh_queued_soon: 'Refresh queued · starts soon',
|
|
6
10
|
refresh_in_progress: 'Refreshing…',
|
|
@@ -10,8 +14,7 @@ export default {
|
|
|
10
14
|
sources: 'Other sources',
|
|
11
15
|
no_references: 'No references',
|
|
12
16
|
reference_type: {
|
|
13
|
-
|
|
14
|
-
CAMPAIGN: 'Campaign',
|
|
17
|
+
EMAIL_OUTREACH: 'Bulk email',
|
|
15
18
|
FIELD_DOC: 'Field document',
|
|
16
19
|
DATA_TABLE: 'Data table',
|
|
17
20
|
SHEET: 'Sheet',
|
|
@@ -26,8 +29,7 @@ export default {
|
|
|
26
29
|
source_type: {
|
|
27
30
|
REMINDER: 'Scheduled task',
|
|
28
31
|
INSIGHT: 'Data table',
|
|
29
|
-
|
|
30
|
-
CAMPAIGN_EMAIL: 'Email campaign',
|
|
32
|
+
EMAIL_OUTREACH: 'Email outreach',
|
|
31
33
|
FIELD_DOC: 'Field document',
|
|
32
34
|
},
|
|
33
35
|
increase_priority: 'Increase priority',
|
|
@@ -72,8 +74,7 @@ export default {
|
|
|
72
74
|
kind: {
|
|
73
75
|
FIELD_DOC: 'Field document',
|
|
74
76
|
INSIGHT: 'Data insight',
|
|
75
|
-
|
|
76
|
-
CAMPAIGN_EMAIL: 'Email campaign',
|
|
77
|
+
EMAIL_OUTREACH: 'Bulk email',
|
|
77
78
|
REMINDER: 'Scheduled task',
|
|
78
79
|
},
|
|
79
80
|
agent_note_missing: 'This AI note is no longer available.',
|
package/src/i18n/auth.ts
CHANGED
|
@@ -45,8 +45,6 @@ export default {
|
|
|
45
45
|
resend_verification_code: 'Re-send verification code',
|
|
46
46
|
resend_verification_code_in: 'Re-send code in %{seconds}s',
|
|
47
47
|
use_different_email: 'Use a different email address',
|
|
48
|
-
public_form_email_code_sent:
|
|
49
|
-
'Enter the 6-digit code sent to %{emailAddress}. The code expires in 10 minutes. Check your spam folder if it has not arrived.',
|
|
50
48
|
verification_code_wrong: 'Verification code you entered is incorrect. Please try again.',
|
|
51
49
|
|
|
52
50
|
// Auth
|
|
@@ -55,7 +53,6 @@ export default {
|
|
|
55
53
|
signed_in_as_email: 'Signed in as [cl_bd u##%{emailAddress}].',
|
|
56
54
|
logged_in_as_: 'Logged in as %{name}.',
|
|
57
55
|
logged_in_as_org_: 'Logged in as %{name} (%{orgName}).',
|
|
58
|
-
verify_email_to_fill_form: 'Please [verify your email](/app) to fill out this form.',
|
|
59
56
|
hello_: 'Hello %{name}!',
|
|
60
57
|
you_are_logged_in: 'You are signed in.',
|
|
61
58
|
password_changed_msg: 'Your password has been changed.',
|
package/src/i18n/c.ts
CHANGED
|
@@ -11,11 +11,13 @@ export default {
|
|
|
11
11
|
mcp_application_request: '%{client} wants to connect to your Marketday account.',
|
|
12
12
|
mcp_signed_in_as: 'Signed in as %{name}',
|
|
13
13
|
mcp_callback: 'Return address: %{url}',
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
mcp_scope_read: "Read your organization's data: logs, forms, files, notes, spreadsheets, data tables and contacts.",
|
|
15
|
+
mcp_scope_write: 'Ask the Marketday assistant to record or change data on your behalf.',
|
|
16
|
+
mcp_scope_note: 'It can only see what your role in the organization lets you see. It cannot send messages or delete anything.',
|
|
16
17
|
mcp_choose_organizations: 'Organizations this application may access',
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
mcp_organization_turned_off: "Turned off by this organization's administrators",
|
|
19
|
+
mcp_active_organization_note:
|
|
20
|
+
'Marketday answers for whichever organization is active in your account. Select every organization you want this app to be able to read.',
|
|
19
21
|
mcp_allow: 'Allow connection',
|
|
20
22
|
mcp_deny: 'Deny',
|
|
21
23
|
mcp_manage_connections: 'Manage connected applications',
|
|
@@ -26,7 +28,9 @@ export default {
|
|
|
26
28
|
mcp_no_organizations: 'Your current sign-in has no organizations available to authorize.',
|
|
27
29
|
mcp_organization_count: '%{smart_count} authorized organization |||| %{smart_count} authorized organizations',
|
|
28
30
|
mcp_revoke: 'Revoke access',
|
|
29
|
-
|
|
31
|
+
mcp_last_used: 'Last used %{date}',
|
|
32
|
+
mcp_ends: 'Ends %{date}',
|
|
33
|
+
mcp_ended: 'Connection ended',
|
|
30
34
|
mcp_back_to_marketday: 'Back to Marketday',
|
|
31
35
|
mcp_sign_in_again: 'Your session is no longer valid. Sign in again to continue.',
|
|
32
36
|
mcp_request_expired: 'This connection request is invalid or has expired. Start connecting again from your application.',
|
|
@@ -41,7 +45,7 @@ export default {
|
|
|
41
45
|
qr_delete_no_access: 'You do not have permission to delete this QR code.',
|
|
42
46
|
qr_already_deleted: 'This QR code is already archived.',
|
|
43
47
|
qr_create: 'Create QR Code',
|
|
44
|
-
qr_create_new: '
|
|
48
|
+
qr_create_new: 'New QR code',
|
|
45
49
|
qr_create_description: 'Create a QR code label by entering any values you need.',
|
|
46
50
|
qr_name: 'QR code name',
|
|
47
51
|
qr_values: 'Values',
|
|
@@ -101,8 +105,7 @@ export default {
|
|
|
101
105
|
linked_content: 'Linked content',
|
|
102
106
|
linked_content_load_failed: 'Linked content could not be loaded. Try again.',
|
|
103
107
|
linked_content_type: {
|
|
104
|
-
|
|
105
|
-
CAMPAIGN_TEMPLATE: 'Template',
|
|
108
|
+
EMAIL_OUTREACH: 'Bulk email',
|
|
106
109
|
FIELD_DOC: 'Document',
|
|
107
110
|
DATA_TABLE: 'Data table',
|
|
108
111
|
SHEET: 'Spreadsheet',
|
|
@@ -215,6 +218,7 @@ export default {
|
|
|
215
218
|
draft_title: 'Draft title',
|
|
216
219
|
title: 'Title',
|
|
217
220
|
untitled: 'Untitled',
|
|
221
|
+
untitled_email: 'Untitled email',
|
|
218
222
|
hide: 'Hide',
|
|
219
223
|
show: 'Show',
|
|
220
224
|
open: 'Open',
|
|
@@ -223,7 +227,7 @@ export default {
|
|
|
223
227
|
field_document: 'field document',
|
|
224
228
|
deleted: 'Deleted',
|
|
225
229
|
delete: 'Delete',
|
|
226
|
-
delete_content_msg: 'Do you want to delete this %{contentName}
|
|
230
|
+
delete_content_msg: 'Do you want to delete this %{contentName}?:\n [hl]"%{title}"[/hl]',
|
|
227
231
|
delete_file: 'Delete file',
|
|
228
232
|
yes_delete_file: 'Yes, delete this file',
|
|
229
233
|
balance: 'Balance',
|
|
@@ -235,6 +239,45 @@ export default {
|
|
|
235
239
|
files: 'Files',
|
|
236
240
|
flag: 'Flag',
|
|
237
241
|
document: 'Document',
|
|
242
|
+
document_reader_description: 'Read a document from your organization’s library.',
|
|
243
|
+
document_switch_organization: 'Switch to the organization that owns this document to read it.',
|
|
244
|
+
document_processing: 'This document is being analyzed. Its analysis will appear here when it is ready.',
|
|
245
|
+
document_analysis_failed: 'This document could not be analyzed. Ask your AI assistant to review it.',
|
|
246
|
+
document_discarded: 'This file was flagged by the safety screen and is no longer available.',
|
|
247
|
+
document_no_brief: 'No analysis is available for this document.',
|
|
248
|
+
document_brief_stale: 'Showing the previous analysis. It may not reflect the latest document.',
|
|
249
|
+
document_brief_update_failed: 'The latest analysis failed. The previous analysis is shown below.',
|
|
250
|
+
document_brief_count: '%{title} (%{count})',
|
|
251
|
+
document_use_when: 'When to use this document',
|
|
252
|
+
document_key_points: 'Key points',
|
|
253
|
+
document_requirements: 'Requirements',
|
|
254
|
+
document_procedures: 'Procedures',
|
|
255
|
+
document_no_procedures: 'No step-by-step procedures were extracted.',
|
|
256
|
+
document_questions: 'Open questions identified by the analysis',
|
|
257
|
+
document_source_section: 'Section %{ref}',
|
|
258
|
+
document_source_page: 'Page %{ref}',
|
|
259
|
+
document_citation_open: 'Show source: %{source}',
|
|
260
|
+
document_citation: 'Source passage: %{source}',
|
|
261
|
+
document_citation_ocr: 'Scanned text',
|
|
262
|
+
document_citation_outdated: 'This brief was updated.',
|
|
263
|
+
document_citation_quote: 'Quote %{number}',
|
|
264
|
+
document_team_notes: 'From your team',
|
|
265
|
+
document_identifiers: 'Identifiers',
|
|
266
|
+
document_parties: 'People and organizations',
|
|
267
|
+
document_dates: 'Dates mentioned',
|
|
268
|
+
document_items: 'Line items',
|
|
269
|
+
document_replaces: 'Prior documents replaced or amended',
|
|
270
|
+
document_details: 'Document details',
|
|
271
|
+
document_version: 'Revision',
|
|
272
|
+
document_language: 'Language',
|
|
273
|
+
document_sensitivity: 'Sensitivity',
|
|
274
|
+
document_sensitivity_reason: 'Reason for classification',
|
|
275
|
+
document_effective_from: 'Effective from',
|
|
276
|
+
document_effective_until: 'Effective until',
|
|
277
|
+
document_keywords: 'Keywords',
|
|
278
|
+
document_no_text: 'No document text is available.',
|
|
279
|
+
document_original_files: 'Original files',
|
|
280
|
+
document_open_original: 'Open original file',
|
|
238
281
|
databases: 'Databases',
|
|
239
282
|
data_tables: 'Data tables',
|
|
240
283
|
documents: 'Documents',
|
|
@@ -258,7 +301,6 @@ export default {
|
|
|
258
301
|
show_all: 'Show all',
|
|
259
302
|
drag_drop_files_before_picker: 'Drag and drop files anywhere or',
|
|
260
303
|
drop_files_on_screen: 'Drop any files on the screen to upload.',
|
|
261
|
-
continue_editing_after_first_draft: 'to upload. You can continue editing after the first %{campaignKind} draft is generated.',
|
|
262
304
|
drag_drop_files_before_content: 'from your computer to create your',
|
|
263
305
|
disabled: 'Disabled',
|
|
264
306
|
refresh_page: 'Refresh page',
|
|
@@ -294,6 +336,7 @@ export default {
|
|
|
294
336
|
unsaved_changes_msg: 'You have unsaved changes.',
|
|
295
337
|
unsaved_changes: 'Unsaved changes',
|
|
296
338
|
unsaved_changes_save_first_msg: 'You have unsaved changes. Do you want to discard your edits or continue editing?',
|
|
339
|
+
unsaved_changes_save_failed_msg: "Your latest changes couldn't be saved. Leave without them, or stay and try again?",
|
|
297
340
|
continue_without_saving: 'Continue without saving',
|
|
298
341
|
table_of_contents: 'Table of contents',
|
|
299
342
|
table_empty: 'There is no data available for this table.',
|
|
@@ -448,8 +491,6 @@ export default {
|
|
|
448
491
|
},
|
|
449
492
|
|
|
450
493
|
recent: 'Recent',
|
|
451
|
-
recent_activities: 'Recent activities',
|
|
452
|
-
new_organization_activities_msg: 'New activities will appear here. This list clears every time the page reloads.',
|
|
453
494
|
starred: 'Starred',
|
|
454
495
|
upload: 'Upload',
|
|
455
496
|
uploaded_ct: 'Uploaded %{count}/%{max}',
|
|
@@ -460,6 +501,7 @@ export default {
|
|
|
460
501
|
invoice_date: 'Invoice date',
|
|
461
502
|
sales: 'Sales',
|
|
462
503
|
sales_orders: 'Sales orders',
|
|
504
|
+
action: 'Action',
|
|
463
505
|
actions: 'Actions',
|
|
464
506
|
ai_workflows: 'AI workflows',
|
|
465
507
|
add: 'Add',
|
|
@@ -570,6 +612,7 @@ export default {
|
|
|
570
612
|
time_with_zone: 'Time (%{timeZone})',
|
|
571
613
|
time_zone_: 'Time zone: %{timeZone}',
|
|
572
614
|
not_specified: 'Not specified',
|
|
615
|
+
not_set: 'Not set',
|
|
573
616
|
attendance: 'Attendance',
|
|
574
617
|
attended_: 'Attended?',
|
|
575
618
|
ct_attending: '%{count} / %{total} attending',
|
|
@@ -619,10 +662,13 @@ export default {
|
|
|
619
662
|
column_layout: 'Column layout',
|
|
620
663
|
add_row: 'Add row',
|
|
621
664
|
delete_row: 'Delete row',
|
|
665
|
+
duplicate: 'Duplicate',
|
|
666
|
+
done: 'Done',
|
|
622
667
|
duplicate_row: 'Duplicate row',
|
|
623
668
|
move_row_up: 'Move row up',
|
|
624
669
|
move_row_down: 'Move row down',
|
|
625
670
|
add_content_block: 'Add content block',
|
|
671
|
+
add_content_block_column: 'Column to add the block to',
|
|
626
672
|
delete_block: 'Delete block',
|
|
627
673
|
duplicate_block: 'Duplicate block',
|
|
628
674
|
move_block_up: 'Move block up',
|