@jsb188/mday 1.1.11 → 1.1.12
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/package.json +58 -23
- package/src/constants/agentMemory.ts +14 -45
- package/src/constants/agentNote.ts +212 -0
- package/src/constants/aiChat.ts +5 -0
- package/src/constants/billing.ts +126 -0
- package/src/constants/campaign.ts +156 -47
- package/src/constants/contact.ts +72 -0
- package/src/constants/csvExport.ts +133 -0
- package/src/constants/dataTable.ts +12 -38
- package/src/constants/dataTableFieldTypes.generated.ts +3 -7
- package/src/constants/docAccess.ts +3 -2
- package/src/constants/dt.ts +234 -0
- package/src/constants/email.ts +114 -12
- package/src/constants/fieldDoc.ts +74 -4
- package/src/constants/graphqlReactivity.ts +108 -25
- package/src/constants/log.ts +9 -0
- package/src/constants/logDisplay/README.md +88 -0
- package/src/constants/logDisplay/defaults.ts +39 -0
- package/src/constants/logDisplay/index.ts +27 -0
- package/src/constants/logDisplay/operations/arable.ts +16 -0
- package/src/constants/logDisplay/operations/farmersMarket.ts +10 -0
- package/src/constants/logDisplay/operations/foodManufacturing.ts +13 -0
- package/src/constants/logDisplay/shared/accounting.ts +13 -0
- package/src/constants/logDisplay/shared/interactions.ts +13 -0
- package/src/constants/logDisplay/shared/rackTemperatures.ts +42 -0
- package/src/constants/logTaxonomy.generated.ts +1834 -730
- package/src/constants/organization.ts +13 -14
- package/src/constants/qrCode.ts +30 -0
- package/src/constants/sheet.ts +65 -101
- package/src/constants/sms.ts +18 -0
- package/src/constants/storage.ts +33 -9
- package/src/constants/usage.ts +3 -0
- package/src/constants/workflowSteps.ts +60 -0
- package/src/schemas/editLogEntry.ts +106 -283
- package/src/schemas/inboundContact.ts +5 -5
- package/src/types/agentMemory.d.ts +38 -14
- package/src/types/agentNote.d.ts +443 -0
- package/src/types/billing.d.ts +537 -0
- package/src/types/campaign.d.ts +1043 -193
- package/src/types/contact.d.ts +15 -0
- package/src/types/csvExport.d.ts +213 -0
- package/src/types/dataAnalysis.d.ts +44 -0
- package/src/types/dataTable.d.ts +102 -309
- package/src/types/definitionElement.d.ts +35 -0
- package/src/types/dt.d.ts +257 -0
- package/src/types/email.d.ts +144 -55
- package/src/types/emailReplyReport.d.ts +76 -0
- package/src/types/fieldDoc.d.ts +579 -150
- package/src/types/fieldDocContract.d.ts +90 -0
- package/src/types/inboundContact.d.ts +8 -0
- package/src/types/log.d.ts +94 -3
- package/src/types/logDisplay.types.ts +85 -0
- package/src/types/organization.d.ts +8 -3
- package/src/types/qrCode.d.ts +96 -0
- package/src/types/richText.d.ts +81 -0
- package/src/types/sheet.d.ts +180 -463
- package/src/types/sms.d.ts +38 -0
- package/src/types/storage.d.ts +266 -27
- package/src/types/workflow.d.ts +196 -66
- package/src/utils/agentMemory.ts +15 -0
- package/src/utils/agentNote.ts +850 -0
- package/src/utils/aiChat.ts +31 -14
- package/src/utils/aiChatWork.ts +64 -0
- package/src/utils/billing.ts +37 -0
- package/src/utils/campaign.ts +642 -209
- package/src/utils/campaignAI.ts +72 -0
- package/src/utils/campaignAccess.ts +239 -0
- package/src/utils/campaignEmail.ts +601 -0
- package/src/utils/campaignEmailCompiler.ts +372 -0
- package/src/utils/campaignEmailImages.ts +60 -0
- package/src/utils/campaignEmailStyles.ts +544 -0
- package/src/utils/campaignLifecycle.ts +104 -0
- package/src/utils/campaignPreview.ts +285 -0
- package/src/utils/contact.ts +50 -0
- package/src/utils/csvExport.ts +19 -0
- package/src/utils/dataTable.ts +18 -556
- package/src/utils/dataTableFieldTypeRegistry.ts +1 -0
- package/src/utils/dataTableRelativeDate.ts +447 -0
- package/src/utils/definitionElement.ts +84 -0
- package/src/utils/email.ts +208 -1
- package/src/utils/emailReplyReport.test.ts +187 -0
- package/src/utils/emailReplyReport.ts +143 -0
- package/src/utils/fieldDoc.ts +81 -37
- package/src/utils/fieldDocAnswers.ts +128 -0
- package/src/utils/fieldDocDefaults.ts +36 -0
- package/src/utils/fieldDocProgram.ts +36 -0
- package/src/utils/fieldDocSummary.ts +30 -0
- package/src/utils/log.ts +232 -141
- package/src/utils/logDisplay.helpers.ts +177 -0
- package/src/utils/logDisplay.ts +87 -0
- package/src/utils/logStoreRead.ts +9 -13
- package/src/utils/logTaxonomy.helpers.ts +17 -0
- package/src/utils/logTaxonomyDisplay.ts +80 -124
- package/src/utils/noteDoc.ts +66 -284
- package/src/utils/organization.ts +117 -283
- package/src/utils/qrCode.helpers.ts +189 -0
- package/src/utils/qrCode.test.ts +519 -0
- package/src/utils/qrCode.ts +273 -0
- package/src/utils/richTextHTML.ts +385 -0
- package/src/utils/sheet.ts +123 -4834
- package/src/utils/sheetAxisMove.ts +77 -291
- package/src/utils/sheetBootstrap.ts +771 -1138
- package/src/utils/sheetCellLiteral.ts +101 -0
- package/src/utils/sheetCommand.ts +23 -88
- package/src/utils/sheetDesign.ts +705 -0
- package/src/utils/sheetExport.ts +17 -69
- package/src/utils/sheetFeatureReference.ts +183 -0
- package/src/utils/sheetFormulaArgs.ts +168 -0
- package/src/utils/sheetFormulaCompile.ts +475 -0
- package/src/utils/sheetFormulaConditionalAggregate.ts +254 -0
- package/src/utils/sheetFormulaCriteria.ts +656 -0
- package/src/utils/sheetFormulaDate.ts +444 -0
- package/src/utils/sheetFormulaEvaluation.ts +388 -403
- package/src/utils/sheetFormulaEvaluator.ts +589 -444
- package/src/utils/sheetFormulaFunctionHandlers.ts +403 -0
- package/src/utils/sheetFormulaLogical.ts +116 -0
- package/src/utils/sheetFormulaLookup.ts +488 -0
- package/src/utils/sheetFormulaMath.ts +48 -0
- package/src/utils/sheetFormulaParser.ts +729 -0
- package/src/utils/sheetFormulaRange.ts +330 -0
- package/src/utils/sheetFormulaReference.ts +703 -0
- package/src/utils/sheetFormulaReferenceAggregates.ts +313 -0
- package/src/utils/sheetFormulaReferenceDates.ts +237 -0
- package/src/utils/sheetFormulaReferenceLogical.ts +330 -0
- package/src/utils/sheetFormulaReferenceLookup.ts +341 -0
- package/src/utils/sheetFormulaReferenceMath.ts +95 -0
- package/src/utils/sheetFormulaReferenceRewrite.ts +220 -0
- package/src/utils/sheetFormulaReferenceText.ts +462 -0
- package/src/utils/sheetFormulaSyntax.ts +1027 -0
- package/src/utils/sheetFormulaText.ts +430 -0
- package/src/utils/sheetJournal.ts +140 -18
- package/src/utils/sheetNumberFormat.ts +68 -267
- package/src/utils/sheetPreview.ts +68 -0
- package/src/utils/sheetSequence.ts +13 -43
- package/src/utils/sheetSnapshot.ts +176 -429
- package/src/utils/sheetStructureEdit.ts +537 -907
- package/src/utils/sheetStructureReferences.ts +389 -0
- package/src/utils/storage.ts +49 -3
- package/src/utils/time.ts +12 -0
- package/src/utils/workflow.ts +199 -73
- package/src/utils/workflowLogFingerprint.ts +302 -0
- package/src/utils/workflowLogRevisionSnapshot.ts +424 -0
- package/src/utils/workflowProgress.ts +280 -0
- package/src/utils/workflowTriggers.ts +61 -0
- package/tests/agentNote.test.ts +395 -0
- package/tests/campaignAI.test.ts +119 -0
- package/tests/campaignAccess.test.ts +239 -0
- package/tests/campaignEmail.test.ts +441 -0
- package/tests/campaignLifecycle.test.ts +134 -0
- package/tests/campaignPublication.test.ts +309 -0
- package/tests/dataTableFieldTypeRegistry.test.ts +2 -1
- package/tests/dataTableRelativeDate.test.ts +412 -0
- package/tests/email.test.ts +39 -0
- package/tests/fieldDocProgram.test.ts +114 -0
- package/tests/logDisplay.fixtures.ts +67 -0
- package/tests/logDisplay.test.ts +227 -0
- package/tests/noteDoc.test.ts +37 -192
- package/tests/richTextHTML.test.ts +185 -0
- package/tests/sheetAxisMove.test.ts +49 -40
- package/tests/sheetBootstrap.test.ts +1967 -0
- package/tests/sheetFeatureReference.test.ts +22 -0
- package/tests/sheetFormulaCriteria.test.ts +269 -0
- package/tests/sheetFormulaEvaluator.test.ts +93 -200
- package/tests/sheetFormulaFunctions.test.ts +538 -0
- package/tests/sheetFormulaLanguage.test.ts +361 -0
- package/tests/sheetFormulaParity.fixtures.ts +872 -0
- package/tests/sheetFormulaParity.test.ts +188 -0
- package/tests/sheetFormulaRange.test.ts +167 -0
- package/tests/sheetFormulaReference.test.ts +78 -0
- package/tests/sheetFormulaReferenceRewrite.test.ts +117 -0
- package/tests/sheetFormulaTextDate.test.ts +512 -0
- package/tests/sheetSequence.test.ts +4 -23
- package/tests/sheetSnapshot.test.ts +134 -0
- package/tests/sheetStructureEdit.test.ts +492 -37
- package/tests/sheetStructureReferences.test.ts +589 -0
- package/tests/workflowLifecycleStatus.test.ts +60 -0
- package/tests/workflowLogFingerprint.test.ts +203 -0
- package/tests/workflowLogRevisionSnapshot.test.ts +96 -0
- package/tests/workflowProgress.test.ts +180 -0
- package/tests/workflowTriggers.test.ts +29 -0
- package/src/constants/agentDoc.ts +0 -12
- package/src/constants/logActivityGroupColors.generated.ts +0 -19
- package/src/constants/schedule.ts +0 -220
- package/src/constants/scheduleRuleTemplateSeed.ts +0 -138
- package/src/constants/scheduleRuleTemplates.generated.ts +0 -145
- package/src/constants/sheetRegionSources.generated.ts +0 -578
- package/src/schemas/fieldDocsQuery.ts +0 -12
- package/src/schemas/organization.ts +0 -68
- package/src/types/agentDoc.d.ts +0 -64
- package/src/types/noteDoc.d.ts +0 -86
- package/src/types/schedule.d.ts +0 -391
- package/src/utils/agentDoc.ts +0 -109
- package/src/utils/campaignFormEditor.ts +0 -871
- package/src/utils/dataTableRealtimeAuthority.ts +0 -209
- package/src/utils/dataTableRealtimeSelection.ts +0 -134
- package/src/utils/dataTableRowDocument.ts +0 -508
- package/src/utils/dataTableSource.ts +0 -230
- package/src/utils/schedule.ts +0 -799
- package/src/utils/scheduleEvaluation.ts +0 -1994
- package/src/utils/scheduleICS.ts +0 -246
- package/src/utils/scheduleRuleTemplates.ts +0 -188
- package/src/utils/sheetRegion.ts +0 -374
- package/src/utils/sheetRegionFilter.ts +0 -1259
- package/src/utils/sheetRegionSourceRegistry.ts +0 -594
- package/tests/schedule.test.ts +0 -693
- package/tests/scheduleEvaluation.test.ts +0 -1970
- package/tests/scheduleICS.test.ts +0 -208
- package/tests/scheduleRuleTemplates.test.ts +0 -176
- package/tests/scheduleSweepInvariants.test.ts +0 -428
- package/tests/sheetRegionFilter.test.ts +0 -1135
|
@@ -9,33 +9,139 @@
|
|
|
9
9
|
|
|
10
10
|
export const CAMPAIGN_KIND_ENUMS = ['PUBLIC_FORM', 'EMAIL'];
|
|
11
11
|
|
|
12
|
-
export const CAMPAIGN_AUDIENCE_ENUMS = [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
export const CAMPAIGN_AUDIENCE_ENUMS = ['ANYONE', 'CHILD_ORGS', 'INBOUND_CONTACTS'];
|
|
13
|
+
|
|
14
|
+
// access_grants."entityType" value for public-form campaign overrides; this
|
|
15
|
+
// must stay aligned with DOC_ACCESS_ENTITY_TYPE_ENUMS and the database CHECK.
|
|
16
|
+
export const CAMPAIGN_FORM_ACCESS_ENTITY_TYPE = 'CAMPAIGN_FORM' as const;
|
|
17
|
+
|
|
18
|
+
// Sheet Web form results reserve these stable response-column identities.
|
|
19
|
+
// Campaign question keys must never collide with them because response answer
|
|
20
|
+
// objects and generated Sheet columns share the same key namespace.
|
|
21
|
+
export const CAMPAIGN_WEB_FORM_RESULT_FIXED_COLUMN_KEYS = ['name', 'email', 'org_name', 'submitted_date'] as const;
|
|
22
|
+
|
|
23
|
+
// Templates retain ERROR for legacy failures. AI generation belongs to campaigns.
|
|
24
|
+
export const CAMPAIGN_TEMPLATE_STATUS_ENUMS = ['ACTIVE', 'ERROR'] as const;
|
|
25
|
+
|
|
26
|
+
// Template status has no transient websocket-only generation state.
|
|
27
|
+
export const CAMPAIGN_TEMPLATE_GRAPHQL_STATUS_ENUMS = [...CAMPAIGN_TEMPLATE_STATUS_ENUMS] as const;
|
|
28
|
+
|
|
29
|
+
// Campaign generation is independent from the publication/send lifecycle. A
|
|
30
|
+
// campaign remains a draft while its durable generation job settles.
|
|
31
|
+
export const CAMPAIGN_GENERATION_STATUS_ENUMS = ['GENERATING', 'COMPLETE', 'ERROR'] as const;
|
|
32
|
+
|
|
33
|
+
// GraphQL may briefly project GENERATED after persistence reaches COMPLETE.
|
|
34
|
+
// GENERATED is a refetch signal and is never persisted.
|
|
35
|
+
export const CAMPAIGN_GENERATION_GRAPHQL_STATUS_ENUMS = [...CAMPAIGN_GENERATION_STATUS_ENUMS, 'GENERATED'] as const;
|
|
36
|
+
|
|
37
|
+
// Realtime generation progress uses semantic stages so each client can
|
|
38
|
+
// translate the transient status in its active locale.
|
|
39
|
+
export const CAMPAIGN_GENERATION_PROGRESS_STAGES = [
|
|
40
|
+
'FORM_PLANNING',
|
|
41
|
+
'FORM_WRITING',
|
|
42
|
+
'FORM_CHOOSING_FIELDS',
|
|
43
|
+
'FORM_PREPARING',
|
|
44
|
+
'FORM_ALMOST_FINISHED',
|
|
45
|
+
'EMAIL_PLANNING',
|
|
46
|
+
'EMAIL_WRITING',
|
|
47
|
+
'EMAIL_FORMATTING',
|
|
48
|
+
'EMAIL_PREPARING',
|
|
49
|
+
'EMAIL_ALMOST_FINISHED',
|
|
50
|
+
] as const;
|
|
17
51
|
|
|
18
|
-
|
|
19
|
-
// durable generation job finishes; ARCHIVED retires it without deleting the
|
|
20
|
-
// campaigns already published from it
|
|
21
|
-
export const CAMPAIGN_TEMPLATE_STATUS_ENUMS = [
|
|
22
|
-
'GENERATING',
|
|
23
|
-
'ACTIVE',
|
|
24
|
-
'ARCHIVED',
|
|
25
|
-
'ERROR',
|
|
26
|
-
];
|
|
52
|
+
export const CAMPAIGN_STATUS_ENUMS = ['DRAFT', 'SCHEDULED', 'ACTIVE', 'SENDING', 'COMPLETED', 'CLOSED', 'CANCELLED', 'FAILED'];
|
|
27
53
|
|
|
28
|
-
export const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
'SENDING',
|
|
32
|
-
'COMPLETED',
|
|
33
|
-
'CLOSED',
|
|
34
|
-
'CANCELLED',
|
|
35
|
-
'FAILED',
|
|
36
|
-
];
|
|
54
|
+
export const CAMPAIGN_SORT_ENUMS = ['CREATED_AT_DESC', 'UPDATED_AT_DESC'] as const;
|
|
55
|
+
|
|
56
|
+
export const CAMPAIGN_PUBLISH_STATUS_ENUMS = ['DRAFT', 'SCHEDULED', 'ACTIVE', 'CLOSED'] as const;
|
|
37
57
|
|
|
38
|
-
export const
|
|
58
|
+
export const CAMPAIGN_DRAFT_RESET_SOURCES = ['PUBLISHED', 'TEMPLATE'] as const;
|
|
59
|
+
|
|
60
|
+
export const CAMPAIGN_MANAGEMENT_OPERATION_ENUMS = [
|
|
61
|
+
'PUBLISH',
|
|
62
|
+
'SEND_EMAIL',
|
|
63
|
+
'RETRY_EMAIL',
|
|
64
|
+
'RESCHEDULE',
|
|
65
|
+
'OPEN_NOW',
|
|
66
|
+
'SET_CLOSE_TIME',
|
|
67
|
+
'CLOSE_NOW',
|
|
68
|
+
'CANCEL',
|
|
69
|
+
'ARCHIVE',
|
|
70
|
+
] as const;
|
|
71
|
+
|
|
72
|
+
// Email builder block kinds. These values are shared by the editor, GraphQL
|
|
73
|
+
// schema, storage adapter, and delivery renderer.
|
|
74
|
+
export const CAMPAIGN_EMAIL_BLOCK_TYPES = [
|
|
75
|
+
'HEADING',
|
|
76
|
+
'RICH_TEXT',
|
|
77
|
+
'IMAGE',
|
|
78
|
+
'BUTTON',
|
|
79
|
+
'DIVIDER',
|
|
80
|
+
'SPACER',
|
|
81
|
+
'HERO',
|
|
82
|
+
'SOCIAL',
|
|
83
|
+
'MENU',
|
|
84
|
+
'VIDEO',
|
|
85
|
+
] as const;
|
|
86
|
+
|
|
87
|
+
// Heading levels intentionally stop at H3 so generated campaigns preserve a
|
|
88
|
+
// compact, accessible hierarchy across email clients.
|
|
89
|
+
export const CAMPAIGN_EMAIL_HEADING_LEVELS = ['H1', 'H2', 'H3'] as const;
|
|
90
|
+
|
|
91
|
+
export const CAMPAIGN_EMAIL_ALIGNMENTS = ['LEFT', 'CENTER', 'RIGHT'] as const;
|
|
92
|
+
|
|
93
|
+
export const CAMPAIGN_EMAIL_BUTTON_STYLES = ['FILLED', 'OUTLINE'] as const;
|
|
94
|
+
|
|
95
|
+
export const CAMPAIGN_EMAIL_CANVAS_VERTICAL_PADDING = 70;
|
|
96
|
+
export const CAMPAIGN_EMAIL_DOCUMENT_SCHEMA_VERSION = 1;
|
|
97
|
+
export const CAMPAIGN_EMAIL_DEFAULT_CANVAS_COLOR = '#f4f4f4';
|
|
98
|
+
export const CAMPAIGN_EMAIL_DEFAULT_CONTENT_COLOR = '#ffffff';
|
|
99
|
+
export const CAMPAIGN_EMAIL_DEFAULT_CONTENT_WIDTH = 600;
|
|
100
|
+
export const CAMPAIGN_EMAIL_DEFAULT_LINK_COLOR = '#1b66c9';
|
|
101
|
+
export const CAMPAIGN_EMAIL_DEFAULT_TEXT_COLOR = '#18181b';
|
|
102
|
+
export const CAMPAIGN_EMAIL_MAX_CONTENT_WIDTH = 800;
|
|
103
|
+
export const CAMPAIGN_EMAIL_MIN_CONTENT_WIDTH = 320;
|
|
104
|
+
export const CAMPAIGN_EMAIL_RESPONSIVE_CANVAS_BOTTOM_PADDING = 20;
|
|
105
|
+
|
|
106
|
+
// The app's TT Norms Pro faces, exposed to email as ONE weight-mapped family so
|
|
107
|
+
// clients that load web fonts (Apple Mail, iOS, Outlook for Mac) show the exact
|
|
108
|
+
// preview faces while clients that do not (Gmail, Outlook for Windows) fall
|
|
109
|
+
// back to a real bold weight instead of losing emphasis entirely.
|
|
110
|
+
export const CAMPAIGN_EMAIL_FONT_FAMILY_NAME = 'ttnp';
|
|
111
|
+
export const CAMPAIGN_EMAIL_DEFAULT_FONT_FAMILY = "'ttnp', 'Helvetica Neue', Helvetica, Arial, sans-serif";
|
|
112
|
+
// Font stacks persisted by earlier editor builds as the default; rendering
|
|
113
|
+
// treats them as "no custom font" so they follow the current default.
|
|
114
|
+
export const CAMPAIGN_EMAIL_LEGACY_DEFAULT_FONT_FAMILIES = ['Arial, sans-serif', '"ttnp-normal", sans-serif'] as const;
|
|
115
|
+
// Headings use the demibold face; bold runs and H3 use the medium face.
|
|
116
|
+
export const CAMPAIGN_EMAIL_HEADING_FONT_WEIGHT = 600;
|
|
117
|
+
export const CAMPAIGN_EMAIL_EMPHASIS_FONT_WEIGHT = 700;
|
|
118
|
+
export const CAMPAIGN_EMAIL_FONT_FILE_URL = 'https://assets.chiefhappiness.co/marketday/fonts/';
|
|
119
|
+
export const CAMPAIGN_EMAIL_FONT_FILE_VERSION = '20260713';
|
|
120
|
+
export const CAMPAIGN_EMAIL_FONT_FACES = [
|
|
121
|
+
{ file: 'ttnp-c-normal', style: 'normal', weight: 400 },
|
|
122
|
+
{ file: 'ttnp-c-normal-it', style: 'italic', weight: 400 },
|
|
123
|
+
{
|
|
124
|
+
file: 'ttnp-c-demibold',
|
|
125
|
+
style: 'normal',
|
|
126
|
+
weight: CAMPAIGN_EMAIL_HEADING_FONT_WEIGHT,
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
file: 'ttnp-c-medium',
|
|
130
|
+
style: 'normal',
|
|
131
|
+
weight: CAMPAIGN_EMAIL_EMPHASIS_FONT_WEIGHT,
|
|
132
|
+
},
|
|
133
|
+
] as const;
|
|
134
|
+
export const CAMPAIGN_EMAIL_INLINE_IMAGE_CONTENT_TYPES = ['image/gif', 'image/jpeg', 'image/png', 'image/webp'] as const;
|
|
135
|
+
export const CAMPAIGN_EMAIL_MAX_INLINE_IMAGE_BYTES = 7 * 1024 * 1024;
|
|
136
|
+
export const CAMPAIGN_EMAIL_MAX_INLINE_IMAGES = 20;
|
|
137
|
+
export const CAMPAIGN_EMAIL_MAX_BLOCKS_PER_ROW = 100;
|
|
138
|
+
export const CAMPAIGN_EMAIL_MAX_COLUMNS_PER_ROW = 4;
|
|
139
|
+
export const CAMPAIGN_EMAIL_MAX_LINKS_PER_BLOCK = 20;
|
|
140
|
+
export const CAMPAIGN_EMAIL_MAX_LINK_LABEL_LENGTH = 255;
|
|
141
|
+
export const CAMPAIGN_EMAIL_MAX_LINK_URL_LENGTH = 2_000;
|
|
142
|
+
export const CAMPAIGN_EMAIL_MAX_RECIPIENTS = 5000;
|
|
143
|
+
export const CAMPAIGN_EMAIL_MAX_ROWS = 100;
|
|
144
|
+
export const CAMPAIGN_EMAIL_UNSUBSCRIBE_URL_PLACEHOLDER = '{{campaign_unsubscribe_url}}';
|
|
39
145
|
|
|
40
146
|
// The structural role of one element; "type" below is how a QUESTION is
|
|
41
147
|
// answered
|
|
@@ -45,7 +151,7 @@ export const CAMPAIGN_ELEMENT_KINDS = [
|
|
|
45
151
|
'QUESTION', // Collects exactly one answer
|
|
46
152
|
];
|
|
47
153
|
|
|
48
|
-
export const
|
|
154
|
+
export const CAMPAIGN_FORM_QUESTION_TYPES = [
|
|
49
155
|
'SHORT_TEXT',
|
|
50
156
|
'LONG_TEXT',
|
|
51
157
|
'SINGLE_CHOICE',
|
|
@@ -57,38 +163,38 @@ export const CAMPAIGN_ELEMENT_TYPES = [
|
|
|
57
163
|
'FILE',
|
|
58
164
|
];
|
|
59
165
|
|
|
166
|
+
// Retain the retired type when reading historical definitions and responses.
|
|
167
|
+
export const CAMPAIGN_ELEMENT_TYPES = ['AI_TEXT', ...CAMPAIGN_FORM_QUESTION_TYPES];
|
|
168
|
+
|
|
60
169
|
// Element types whose answer must be one of the element's options
|
|
61
170
|
export const CAMPAIGN_CHOICE_ELEMENT_TYPES = ['SINGLE_CHOICE', 'MULTI_CHOICE'];
|
|
62
171
|
|
|
63
|
-
export const CAMPAIGN_ELEMENT_VISIBLE_WHEN_OPERATORS = [
|
|
64
|
-
'EQUALS',
|
|
65
|
-
'NOT_EQUALS',
|
|
66
|
-
'INCLUDES',
|
|
67
|
-
'IS_ANSWERED',
|
|
68
|
-
] as const;
|
|
69
|
-
|
|
70
|
-
export const CAMPAIGN_SORT_ENUMS = [
|
|
71
|
-
'CREATED_AT_DESC',
|
|
72
|
-
'CREATED_AT_ASC',
|
|
73
|
-
] as const;
|
|
172
|
+
export const CAMPAIGN_ELEMENT_VISIBLE_WHEN_OPERATORS = ['EQUALS', 'NOT_EQUALS', 'INCLUDES', 'IS_ANSWERED'] as const;
|
|
74
173
|
|
|
75
174
|
export const CAMPAIGN_TEMPLATE_TYPES = ['forms', 'emails'] as const;
|
|
76
175
|
|
|
77
|
-
// Upper bound for the AI generation instructions typed into the create-
|
|
176
|
+
// Upper bound for the AI generation instructions typed into the create-campaign
|
|
78
177
|
// modal; also caps what one locally persisted draft may hold
|
|
79
178
|
export const CAMPAIGN_INSTRUCTIONS_MAX_LENGTH = 10000;
|
|
80
179
|
|
|
81
|
-
//
|
|
180
|
+
// Public-form response limits are security and transport boundaries, not
|
|
181
|
+
// author-configurable validation defaults. Keep the aggregate comfortably
|
|
182
|
+
// below the shared AMQP payload limit after answer metadata is added.
|
|
183
|
+
export const CAMPAIGN_SHORT_TEXT_ANSWER_MAX_LENGTH = 255;
|
|
184
|
+
export const CAMPAIGN_LONG_TEXT_ANSWER_MAX_LENGTH = 6_400;
|
|
185
|
+
export const CAMPAIGN_RESPONSE_TEXT_ANSWERS_MAX_LENGTH = 50_000;
|
|
186
|
+
|
|
187
|
+
// A campaign stuck in GENERATING past this age is treated as a dead job and
|
|
82
188
|
// swept to ERROR
|
|
83
189
|
export const CAMPAIGN_GENERATION_TIMEOUT_MS = 10 * 60 * 1000;
|
|
84
190
|
|
|
85
191
|
// Bounded by the server's 12-hour sweep of "UNUSED" uploads: a resumed draft
|
|
86
192
|
// must never outlive the storage objects its file references point at
|
|
87
|
-
export const CAMPAIGN_DRAFT_TTL_HOURS =
|
|
193
|
+
export const CAMPAIGN_DRAFT_TTL_HOURS = 3;
|
|
88
194
|
|
|
89
195
|
// Bump the version segment when the persisted shape changes meaning in a way
|
|
90
196
|
// the schema cannot catch; old drafts then miss and are swept
|
|
91
|
-
export const CAMPAIGN_DRAFT_KEY_PREFIX = '
|
|
197
|
+
export const CAMPAIGN_DRAFT_KEY_PREFIX = 'createCampaign:v2';
|
|
92
198
|
|
|
93
199
|
// Public web form color presets; values must match generated bg_* color
|
|
94
200
|
// utility palette names in @jsb188/css.
|
|
@@ -113,15 +219,18 @@ export const CAMPAIGN_FORM_COLORS = [
|
|
|
113
219
|
'rose',
|
|
114
220
|
'slate',
|
|
115
221
|
'zinc',
|
|
116
|
-
'stone',
|
|
117
222
|
];
|
|
118
223
|
|
|
119
|
-
export const CAMPAIGN_FORM_BACKGROUND_FILL_STYLES = [
|
|
120
|
-
'FADED',
|
|
121
|
-
'LIGHT',
|
|
122
|
-
'MEDIUM',
|
|
123
|
-
'GRAYSCALE',
|
|
124
|
-
];
|
|
224
|
+
export const CAMPAIGN_FORM_BACKGROUND_FILL_STYLES = ['FADED', 'LIGHT', 'MEDIUM', 'GRAYSCALE'];
|
|
125
225
|
|
|
126
226
|
export const CAMPAIGN_FORM_DEFAULT_BACKGROUND_FILL_STYLE = 'FADED';
|
|
127
227
|
export const CAMPAIGN_FORM_NEUTRAL_COLOR = 'zinc';
|
|
228
|
+
|
|
229
|
+
/*
|
|
230
|
+
* Shared email delivery limits. Subject uses the stricter product limit; reply-to matches the JSONB CHECK (255).
|
|
231
|
+
*/
|
|
232
|
+
export const CAMPAIGN_EMAIL_TEXT_LIMITS = {
|
|
233
|
+
subject: 255,
|
|
234
|
+
preheader: 500,
|
|
235
|
+
secondaryReplyToEmail: 255,
|
|
236
|
+
} as const;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Industries offered on the public contact form. Physical-operations industries
|
|
3
|
+
* (where Marketday's field capture matters most) sit alongside the common
|
|
4
|
+
* industry options so every visitor can find a fit; "OTHER" is always last.
|
|
5
|
+
*/
|
|
6
|
+
export const CONTACT_INDUSTRIES = [
|
|
7
|
+
'AEROSPACE_AND_DEFENSE',
|
|
8
|
+
'AGRICULTURE',
|
|
9
|
+
'AUTOMOTIVE',
|
|
10
|
+
'CONSTRUCTION',
|
|
11
|
+
'EDUCATION',
|
|
12
|
+
'ENERGY_AND_UTILITIES',
|
|
13
|
+
'ENVIRONMENTAL_SERVICES',
|
|
14
|
+
'FACILITIES_MANAGEMENT',
|
|
15
|
+
'FIELD_SERVICES',
|
|
16
|
+
'FINANCIAL_SERVICES',
|
|
17
|
+
'FISHING_AND_AQUACULTURE',
|
|
18
|
+
'FOOD_AND_BEVERAGE',
|
|
19
|
+
'FORESTRY',
|
|
20
|
+
'GOVERNMENT',
|
|
21
|
+
'HEALTHCARE',
|
|
22
|
+
'HOSPITALITY',
|
|
23
|
+
'LANDSCAPING',
|
|
24
|
+
'LOGISTICS_AND_TRANSPORTATION',
|
|
25
|
+
'MANUFACTURING',
|
|
26
|
+
'MEDIA_AND_ENTERTAINMENT',
|
|
27
|
+
'MINING',
|
|
28
|
+
'NONPROFIT',
|
|
29
|
+
'OIL_AND_GAS',
|
|
30
|
+
'PHARMACEUTICALS',
|
|
31
|
+
'PROFESSIONAL_SERVICES',
|
|
32
|
+
'REAL_ESTATE',
|
|
33
|
+
'RETAIL',
|
|
34
|
+
'TECHNOLOGY',
|
|
35
|
+
'TELECOMMUNICATIONS',
|
|
36
|
+
'WAREHOUSING_AND_DISTRIBUTION',
|
|
37
|
+
'WHOLESALE',
|
|
38
|
+
'OTHER',
|
|
39
|
+
] as const;
|
|
40
|
+
|
|
41
|
+
/*
|
|
42
|
+
* Maximum accepted length of each contact form field. Shared by the client
|
|
43
|
+
* schema and the server validation so the two never drift apart.
|
|
44
|
+
*/
|
|
45
|
+
export const CONTACT_REQUEST_FIELD_MAX_LENGTHS = {
|
|
46
|
+
email: 254,
|
|
47
|
+
firstName: 60,
|
|
48
|
+
lastName: 60,
|
|
49
|
+
jobTitle: 80,
|
|
50
|
+
companyName: 120,
|
|
51
|
+
} as const;
|
|
52
|
+
|
|
53
|
+
/*
|
|
54
|
+
* Names, job titles and company names never legitimately contain a link. Shared
|
|
55
|
+
* by the client schema and the server validation.
|
|
56
|
+
*/
|
|
57
|
+
export const CONTACT_REQUEST_URL_PATTERN = /(https?:\/\/|www\.)/i;
|
|
58
|
+
|
|
59
|
+
/*
|
|
60
|
+
* One bare email address and nothing around it: no display name, whitespace or
|
|
61
|
+
* separators that could add a second recipient to the Reply-To of the sales
|
|
62
|
+
* notification. Checked on top of the general email rule.
|
|
63
|
+
*/
|
|
64
|
+
export const CONTACT_REQUEST_EMAIL_PATTERN = /^[^\s@<>()[\],;:"\\]+@[^\s@<>()[\],;:"\\]+\.[^\s@<>()[\],;:"\\]+$/;
|
|
65
|
+
|
|
66
|
+
/*
|
|
67
|
+
* Field name of the contact form honeypot input. Real visitors never see or
|
|
68
|
+
* fill it; a non-empty value marks the submission as automated. Plausible to a
|
|
69
|
+
* form-filling bot, but unlike anything browsers or password managers autofill
|
|
70
|
+
* (website, url, company), so autofill never trips it for a real visitor.
|
|
71
|
+
*/
|
|
72
|
+
export const CONTACT_FORM_HONEYPOT_FIELD = 'referral_code';
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Durable AI CSV export execution and delivery contracts.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export const CSV_EXPORT_BATCH_STATUS_ENUMS = [
|
|
6
|
+
'PENDING',
|
|
7
|
+
'PROCESSING',
|
|
8
|
+
'COMPLETED',
|
|
9
|
+
'PARTIALLY_COMPLETED',
|
|
10
|
+
'FAILED',
|
|
11
|
+
'CANCELLED',
|
|
12
|
+
] as const;
|
|
13
|
+
|
|
14
|
+
export const CSV_EXPORT_GENERATION_STAGE_ENUMS = [
|
|
15
|
+
'QUEUED',
|
|
16
|
+
'PLANNING',
|
|
17
|
+
'VALIDATING_PLAN',
|
|
18
|
+
'READING_DATA',
|
|
19
|
+
'COMBINING_DATASETS',
|
|
20
|
+
'TRANSFORMING',
|
|
21
|
+
'CREATING_FILE',
|
|
22
|
+
'UPLOADING',
|
|
23
|
+
'FINALIZING',
|
|
24
|
+
'DELIVERY_PENDING',
|
|
25
|
+
'DELIVERING',
|
|
26
|
+
'DONE',
|
|
27
|
+
'FAILED',
|
|
28
|
+
'CANCELLED',
|
|
29
|
+
] as const;
|
|
30
|
+
|
|
31
|
+
export const CSV_EXPORT_EXECUTION_MODE_ENUMS = [
|
|
32
|
+
'LEGACY_AGENT_V1',
|
|
33
|
+
'SHADOW_PLAN_V2',
|
|
34
|
+
'PLAN_EXECUTOR_V2',
|
|
35
|
+
] as const;
|
|
36
|
+
|
|
37
|
+
export const CSV_EXPORT_DELIVERY_MODE_ENUMS = [
|
|
38
|
+
'LEGACY_INLINE_V1',
|
|
39
|
+
'SHADOW_OUTBOX_V2',
|
|
40
|
+
'OUTBOX_V2',
|
|
41
|
+
] as const;
|
|
42
|
+
|
|
43
|
+
export const CSV_EXPORT_BATCH_FILE_STATUS_ENUMS = [
|
|
44
|
+
'PENDING',
|
|
45
|
+
'PROCESSING',
|
|
46
|
+
'COMPLETED',
|
|
47
|
+
'FAILED',
|
|
48
|
+
'CANCELLED',
|
|
49
|
+
'SKIPPED',
|
|
50
|
+
] as const;
|
|
51
|
+
|
|
52
|
+
export const CSV_EXPORT_STEP_KIND_ENUMS = [
|
|
53
|
+
'READ_SOURCE',
|
|
54
|
+
'EXTRACT_TEXT_ROWS',
|
|
55
|
+
'CALENDAR',
|
|
56
|
+
'TRANSFORM',
|
|
57
|
+
'APPEND',
|
|
58
|
+
'JOIN',
|
|
59
|
+
'AGGREGATE',
|
|
60
|
+
'EXPLODE',
|
|
61
|
+
'RENDER_FILE',
|
|
62
|
+
'UPLOAD_FILE',
|
|
63
|
+
'COMPOSE_ANSWER',
|
|
64
|
+
'FINALIZE_FILE',
|
|
65
|
+
] as const;
|
|
66
|
+
|
|
67
|
+
export const CSV_EXPORT_STEP_STATUS_ENUMS = [
|
|
68
|
+
'PENDING',
|
|
69
|
+
'PROCESSING',
|
|
70
|
+
'COMPLETED',
|
|
71
|
+
'FAILED',
|
|
72
|
+
'CANCELLED',
|
|
73
|
+
'SKIPPED',
|
|
74
|
+
] as const;
|
|
75
|
+
|
|
76
|
+
export const CSV_EXPORT_DATA_COMPLETENESS_ENUMS = [
|
|
77
|
+
'COMPLETE',
|
|
78
|
+
'INTENTIONALLY_LIMITED',
|
|
79
|
+
'INCOMPLETE',
|
|
80
|
+
'UNKNOWN',
|
|
81
|
+
] as const;
|
|
82
|
+
|
|
83
|
+
export const CSV_EXPORT_ARTIFACT_KIND_ENUMS = [
|
|
84
|
+
'ANSWER_RESULT',
|
|
85
|
+
'SOURCE_SNAPSHOT',
|
|
86
|
+
'STEP_OUTPUT',
|
|
87
|
+
'CSV_FILE',
|
|
88
|
+
] as const;
|
|
89
|
+
|
|
90
|
+
export const CSV_EXPORT_ARTIFACT_COMPRESSION_ENUMS = ['NONE', 'GZIP'] as const;
|
|
91
|
+
|
|
92
|
+
export const CSV_EXPORT_DELIVERY_CHANNEL_ENUMS = [
|
|
93
|
+
'CHAT',
|
|
94
|
+
'SMS',
|
|
95
|
+
'EMAIL',
|
|
96
|
+
] as const;
|
|
97
|
+
|
|
98
|
+
export const CSV_EXPORT_REQUESTED_DELIVERY_CHANNEL_ENUMS = [
|
|
99
|
+
'CHAT',
|
|
100
|
+
'SMS',
|
|
101
|
+
'EMAIL',
|
|
102
|
+
'CHAT_AND_SMS',
|
|
103
|
+
'CHAT_AND_EMAIL',
|
|
104
|
+
'NONE',
|
|
105
|
+
] as const;
|
|
106
|
+
|
|
107
|
+
export const CSV_EXPORT_DELIVERY_STATUS_ENUMS = [
|
|
108
|
+
'PENDING',
|
|
109
|
+
'PROCESSING',
|
|
110
|
+
'SENT',
|
|
111
|
+
'FAILED',
|
|
112
|
+
'DEAD',
|
|
113
|
+
'SKIPPED',
|
|
114
|
+
] as const;
|
|
115
|
+
|
|
116
|
+
export const CSV_EXPORT_DELIVERY_SUMMARY_STATUS_ENUMS = [
|
|
117
|
+
'NOT_REQUESTED',
|
|
118
|
+
'PENDING',
|
|
119
|
+
'PROCESSING',
|
|
120
|
+
'SENT',
|
|
121
|
+
'PARTIALLY_SENT',
|
|
122
|
+
'FAILED',
|
|
123
|
+
'DEAD',
|
|
124
|
+
'SKIPPED',
|
|
125
|
+
] as const;
|
|
126
|
+
|
|
127
|
+
export const CSV_EXPORT_PROGRESS_EVENT_STATUS_ENUMS = [
|
|
128
|
+
'PENDING',
|
|
129
|
+
'PROCESSING',
|
|
130
|
+
'PROCESSED',
|
|
131
|
+
'FAILED',
|
|
132
|
+
'DEAD',
|
|
133
|
+
] as const;
|
|
@@ -4,45 +4,19 @@
|
|
|
4
4
|
// existing import site keeps compiling unchanged.
|
|
5
5
|
export { DATA_TABLE_FIELD_TYPE_ENUMS } from './dataTableFieldTypes.generated.ts';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
'TEXT',
|
|
10
|
-
'NUMBER',
|
|
11
|
-
'BOOLEAN',
|
|
12
|
-
'DATE',
|
|
13
|
-
'DATETIME',
|
|
14
|
-
'JSON',
|
|
15
|
-
'RELATED',
|
|
16
|
-
'REFERENCE',
|
|
17
|
-
] as const;
|
|
7
|
+
// Maximum UTF-16 length stored or relayed for one semantic DataTable text value.
|
|
8
|
+
export const DATA_TABLE_CELL_TEXT_MAX_CHARS = 10_000;
|
|
18
9
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
'DATETIME',
|
|
25
|
-
] as const;
|
|
10
|
+
// Relative date filter values for agent data-table queries (query_data_table,
|
|
11
|
+
// saved tracker queries): { relative: { unit, offset, boundary } } is the
|
|
12
|
+
// START or END of the unit period containing the organization-local today,
|
|
13
|
+
// shifted by offset units. Weeks start on ISO Monday.
|
|
14
|
+
export const DATA_TABLE_RELATIVE_DATE_UNIT_ENUMS = ['DAY', 'WEEK', 'MONTH', 'QUARTER', 'YEAR'] as const;
|
|
26
15
|
|
|
27
|
-
export const
|
|
28
|
-
'RECORDS',
|
|
29
|
-
'ROWS',
|
|
30
|
-
'STRUCTURE',
|
|
31
|
-
'DESIGN',
|
|
32
|
-
'DELETE',
|
|
33
|
-
] as const;
|
|
16
|
+
export const DATA_TABLE_RELATIVE_DATE_BOUNDARY_ENUMS = ['START', 'END'] as const;
|
|
34
17
|
|
|
35
|
-
|
|
36
|
-
export const
|
|
18
|
+
// Filter operators that accept a relative date value (DATE/DATETIME columns)
|
|
19
|
+
export const DATA_TABLE_RELATIVE_DATE_OPERATOR_ENUMS = ['EQUALS', 'BEFORE', 'AFTER', 'ON_OR_BEFORE', 'ON_OR_AFTER'] as const;
|
|
37
20
|
|
|
38
|
-
|
|
39
|
-
export const
|
|
40
|
-
export const DATA_TABLE_COLUMN_MAX_WIDTH = 640;
|
|
41
|
-
export const DATA_TABLE_HUMAN_LABEL_MAX_LENGTH = 70;
|
|
42
|
-
export const DATA_TABLE_ROWS_MAX_LIMIT = 400;
|
|
43
|
-
|
|
44
|
-
// Keep realtime DataTable envelopes below the server's 750 KB websocket cap,
|
|
45
|
-
// including Socket.IO framing and server-added actor/order metadata.
|
|
46
|
-
export const DATA_TABLE_REALTIME_MAX_PAYLOAD_BYTES = 64 * 1_024;
|
|
47
|
-
export const DATA_TABLE_REALTIME_MAX_LOGICAL_OPERATIONS = 1_000;
|
|
48
|
-
export const DATA_TABLE_REALTIME_MAX_OPERATIONS_PER_RELAY = 200;
|
|
21
|
+
// Largest absolute offset, in units (3660 days is about ten years)
|
|
22
|
+
export const DATA_TABLE_RELATIVE_DATE_MAX_OFFSET = 3660;
|
|
@@ -7,17 +7,11 @@
|
|
|
7
7
|
// @jsb188/mday utils/dataTable.ts helpers; TEXT / ID / ID_OR_TEXT /
|
|
8
8
|
// BOOLEAN / DATETIME / SELECT / SELECT_OR_TEXT / MULTI_SELECT / JSON
|
|
9
9
|
// sites still compare fieldType literals directly (e.g. server
|
|
10
|
-
// sheet/sheetOps-regionSourceSQL.ts operator/typed-value routing
|
|
11
|
-
// @jsb188:sheet dataTable-cell-editing.tsx editors). A NEW type key
|
|
10
|
+
// sheet/sheetOps-regionSourceSQL.ts operator/typed-value routing). A NEW type key
|
|
12
11
|
// therefore only inherits behavior automatically when it binds to the
|
|
13
12
|
// NUMBER, DATE, or WEEK family; anything else is a code change.
|
|
14
13
|
// - Per-type UI editors/formatters and storage-column routing ARE the
|
|
15
14
|
// semantics and remain code behind the semantics keys.
|
|
16
|
-
// - Sheet region reconciliation keeps one hardcoded per-kind SQL site
|
|
17
|
-
// (sheet/sheetOps-regionProjection.ts enqueue… NOT IN ('LOGS',
|
|
18
|
-
// 'CHILD_ORGANIZATIONS')); new region source kinds fall back to the
|
|
19
|
-
// conservative rebuild path — documented in
|
|
20
|
-
// server/src/libs/sheet/sheetOps-regionSourceRegistry.generated.ts.
|
|
21
15
|
|
|
22
16
|
import type { DataTableFieldTypeSemanticsKey } from '../utils/dataTableFieldTypeRegistry.ts';
|
|
23
17
|
|
|
@@ -36,6 +30,7 @@ export const DATA_TABLE_FIELD_TYPE_ENUMS = [
|
|
|
36
30
|
'SELECT_OR_TEXT',
|
|
37
31
|
'MULTI_SELECT',
|
|
38
32
|
'JSON',
|
|
33
|
+
'REFERENCE',
|
|
39
34
|
] as const;
|
|
40
35
|
|
|
41
36
|
// Column-type key → code-owned semantics family (registry rows; the
|
|
@@ -57,6 +52,7 @@ export const DATA_TABLE_FIELD_TYPE_SEMANTICS = {
|
|
|
57
52
|
SELECT_OR_TEXT: 'SELECT_OR_TEXT',
|
|
58
53
|
MULTI_SELECT: 'MULTI_SELECT',
|
|
59
54
|
JSON: 'JSON',
|
|
55
|
+
REFERENCE: 'REFERENCE',
|
|
60
56
|
} as const satisfies Record<
|
|
61
57
|
(typeof DATA_TABLE_FIELD_TYPE_ENUMS)[number],
|
|
62
58
|
DataTableFieldTypeSemanticsKey
|
|
@@ -16,11 +16,12 @@ export const DOC_ACCESS_GRANTEE_TYPE_ENUMS = [
|
|
|
16
16
|
'ORGANIZATION',
|
|
17
17
|
] as const;
|
|
18
18
|
|
|
19
|
-
//
|
|
19
|
+
// Entity families that store per-target overrides in access_grants
|
|
20
20
|
export const DOC_ACCESS_ENTITY_TYPE_ENUMS = [
|
|
21
21
|
'SHEET',
|
|
22
|
-
'AGENT_DOC',
|
|
23
22
|
'SCHEDULE_CALENDAR',
|
|
23
|
+
'CAMPAIGN_FORM',
|
|
24
|
+
'SCHEDULE_PROJECT',
|
|
24
25
|
] as const;
|
|
25
26
|
|
|
26
27
|
// UI presentation of one document's general access policy beyond the owner
|