MCPcopy Create free account

hub / github.com/ArnasDon/wacrm / functions

Functions1,053 in github.com/ArnasDon/wacrm

↓ 1 callersFunctionpercent
(numerator: number, denominator: number)
src/app/(dashboard)/broadcasts/page.tsx:28
↓ 1 callersFunctionpickTemplate
(template: MessageTemplate)
src/components/inbox/template-picker.tsx:144
↓ 1 callersFunctionpostRun
()
public/opus/encoderWorker.min.js:1
↓ 1 callersFunctionpreRun
()
public/opus/encoderWorker.min.js:1
↓ 1 callersFunctionpreviewFor
(step: BuilderStep)
src/components/automations/automation-builder.tsx:1386
↓ 1 callersFunctionprocessMessage
( message: WhatsAppMessage, contact: { profile: { name: string }; wa_id: string }, // Tenancy. Resolved
src/app/api/whatsapp/webhook/route.ts:560
↓ 1 callersFunctionprocessWebhook
(body: { entry?: WhatsAppWebhookEntry[] })
src/app/api/whatsapp/webhook/route.ts:218
↓ 1 callersFunctionrateLimited
(result: RateLimitResult)
src/lib/api/v1/respond.ts:69
↓ 1 callersFunctionreceiveInstance
(instance,module)
public/opus/encoderWorker.min.js:1
↓ 1 callersFunctionrelativeTime
(iso: string)
src/components/dashboard/activity-feed.tsx:158
↓ 1 callersFunctionremove
(id: string)
src/components/settings/ai-knowledge.tsx:126
↓ 1 callersFunctionremoveAt
(steps: BuilderStep[], path: StepPath)
src/components/automations/automation-builder.tsx:1475
↓ 1 callersFunctionremoveButton
(index: number)
src/components/settings/template-manager.tsx:433
↓ 1 callersFunctionremoveButton
(idx: number)
src/components/flows/forms/node-config-form.tsx:254
↓ 1 callersFunctionremoveRow
(sIdx: number, rIdx: number)
src/components/flows/forms/node-config-form.tsx:439
↓ 1 callersFunctionremoveRunDependency
(id)
public/opus/encoderWorker.min.js:1
↓ 1 callersFunctionremoveSection
(sIdx: number)
src/components/flows/forms/node-config-form.tsx:401
↓ 1 callersFunctionrenderBodyPreview
(body: string, params: string[])
src/components/inbox/template-picker.tsx:38
↓ 1 callersFunctionrenderShape
( props: any, activeBar: any | undefined, activeLegend: string | undefined, layout: string, )
src/components/tremor/bar-chart.tsx:76
↓ 1 callersFunctionrenderTemplateBody
(body: string, params: string[])
src/components/inbox/message-thread.tsx:58
↓ 1 callersFunctionreplaceSteps
( automationId: string, input: BuilderStepInput[], )
src/lib/automations/steps-tree.ts:36
↓ 1 callersFunctionreset
()
src/components/contacts/import-modal.tsx:145
↓ 1 callersFunctionreset
()
src/components/settings/invite-member-dialog.tsx:91
↓ 1 callersFunctionresetSelection
()
src/components/inbox/template-picker.tsx:132
↓ 1 callersFunctionresolveAudience
(audience: AudienceConfig)
src/hooks/use-broadcast-sending.ts:155
↓ 1 callersFunctionresolveCustomFieldAudience
( supabase: ReturnType<typeof createClient>, filter: CustomFieldFilter, )
src/hooks/use-broadcast-sending.ts:290
↓ 1 callersFunctionresolveSection
(raw: string | null)
src/components/settings/settings-sections.ts:77
↓ 1 callersFunctionresolveVariables
( variables: Record<string, VariableMapping>, contact: Contact, customValues?: Map<string, string>, )
src/hooks/use-broadcast-sending.ts:87
↓ 1 callersFunctionresumePendingExecution
(pending: { id: string automation_id: string /** Audit-only; the automation row carries account_id for t
src/lib/automations/engine.ts:115
↓ 1 callersFunctionrpcErrorToResponse
(err: PostgrestError)
src/app/api/invitations/[token]/redeem/route.ts:39
↓ 1 callersFunctionrpcErrorToResponse
(err: PostgrestError)
src/app/api/account/transfer-ownership/route.ts:31
↓ 1 callersFunctionrunStep
(step: AutomationStep, args: ExecuteArgs)
src/lib/automations/engine.ts:340
↓ 1 callersFunctionsanitizeSearch
(raw: string)
src/app/api/v1/contacts/route.ts:31
↓ 1 callersFunctionseedsToTree
(seeds: BuilderStepInput[])
src/lib/automations/steps-tree.ts:90
↓ 1 callersFunctionsend
()
src/components/agents/ai-playground.tsx:26
↓ 1 callersFunctionsendReactionMessage
( args: SendReactionMessageArgs )
src/lib/whatsapp/meta-api.ts:680
↓ 1 callersFunctionshortDayLabel
(key: string)
src/components/dashboard/conversations-chart.tsx:312
↓ 1 callersFunctionsleep
(ms: number)
src/hooks/use-broadcast-sending.ts:68
↓ 1 callersFunctionslotColor
(nodeType: NodeType, slotId: string, fallback: string)
src/components/flows/flow-canvas.tsx:123
↓ 1 callersFunctionstartFromTemplate
(slug: TemplateSlug)
src/app/(dashboard)/automations/page.tsx:134
↓ 1 callersFunctionstartNewRun
( db: AdminClient, flow: FlowRow, input: DispatchInboundInput, nodes: Map<string, FlowNodeRow>, )
src/lib/flows/engine.ts:1051
↓ 1 callersFunctionsummarizePayload
(payload: Record<string, unknown>)
src/app/(dashboard)/flows/[id]/runs/page.tsx:330
↓ 1 callersFunctionsupabaseAdmin
()
src/app/api/whatsapp/config/route.ts:40
↓ 1 callersFunctionsweepExpired
(now: number)
src/lib/rate-limit.ts:54
↓ 1 callersFunctiontoApiSteps
(steps: BuilderStep[])
src/components/automations/automation-builder.tsx:1580
↓ 1 callersFunctiontoCsv
* CSV export helper — RFC 4180 quoting. Quote every field so * commas/newlines/quotes round-trip cleanly.
src/app/(dashboard)/broadcasts/[id]/page.tsx:127
↓ 1 callersFunctiontoggle
(runId: string)
src/app/(dashboard)/flows/[id]/runs/page.tsx:142
↓ 1 callersFunctiontoggleActive
(a: Automation, next: boolean)
src/app/(dashboard)/automations/page.tsx:86
↓ 1 callersFunctiontoggleExcludeTag
(tagId: string)
src/components/broadcasts/step2-select-audience.tsx:222
↓ 1 callersFunctiontoggleScope
(scope: ApiScope, checked: boolean)
src/components/settings/api-keys-settings.tsx:302
↓ 1 callersFunctiontoggleSelect
(id: string)
src/app/(dashboard)/contacts/page.tsx:287
↓ 1 callersFunctiontoggleTag
(tagId: string)
src/components/contacts/contact-detail-view.tsx:225
↓ 1 callersFunctiontoggleTag
(tagId: string)
src/components/broadcasts/step2-select-audience.tsx:214
↓ 1 callersFunctiontriggerMatches
(automation: Automation, ctx: AutomationContext | undefined)
src/lib/automations/engine.ts:581
↓ 1 callersFunctiontriggerMeta
(t: AutomationTriggerType | string)
src/lib/automations/trigger-meta.ts:40
↓ 1 callersFunctiontruncateFilename
(name: string, max = 48)
src/components/contacts/import-modal.tsx:44
↓ 1 callersFunctionuid
()
src/lib/automations/steps-tree.ts:31
↓ 1 callersFunctionuid
()
src/app/(dashboard)/automations/new/page.tsx:60
↓ 1 callersFunctionuid
()
src/app/api/automations/[id]/duplicate/route.ts:55
↓ 1 callersFunctionupdateGlobalBufferAndViews
(buf)
public/opus/encoderWorker.min.js:1
↓ 1 callersFunctionupdateSection
( sIdx: number, patch: Partial<NonNullable<SendListCfg["sections"]>[number]>, )
src/components/flows/forms/node-config-form.tsx:375
↓ 1 callersFunctionupsertCsvContacts
* CSV uploads arrive as raw phone/name pairs, not DB rows. Before we * can insert broadcast_recipients (whose contact_id FKs contacts.id), * we
src/hooks/use-broadcast-sending.ts:219
↓ 1 callersFunctionuseBroadcastSending
()
src/hooks/use-broadcast-sending.ts:150
↓ 1 callersFunctionuseIsClient
()
src/components/themed-toaster.tsx:14
↓ 1 callersFunctionuseMatchMedia
* Tiny `useMatchMedia` shim. We could pull in `react-responsive` but * this is the only consumer and matchMedia is one of those browser * APIs that
src/components/flows/flow-editor-shell.tsx:164
↓ 1 callersFunctionuseOnWindowResize
(handler: () => void)
src/components/tremor/use-on-window-resize.ts:7
↓ 1 callersFunctionuseRealtime
({ channelName, onMessageEvent, onConversationEvent, enabled = true, }: UseRealtimeOptions)
src/hooks/use-realtime.ts:21
↓ 1 callersFunctionuseTotalUnread
()
src/hooks/use-total-unread.ts:15
↓ 1 callersFunctionuseUnreadNotifications
()
src/hooks/use-unread-notifications.ts:15
↓ 1 callersFunctionvalidateNode
( node: NodeInput, knownKeys: Set<string>, )
src/lib/flows/validate.ts:185
↓ 1 callersFunctionvalidateOne
(step: StepLike, path: string, issues: ValidationIssue[])
src/lib/automations/validate.ts:53
↓ 1 callersFunctionvalidateTrigger
( trigger_type: FlowInput["trigger_type"], trigger_config: Record<string, unknown>, )
src/lib/flows/validate.ts:142
↓ 1 callersFunctionwaitMs
(cfg: WaitStepConfig)
src/lib/automations/engine.ts:646
↓ 1 callersFunctionwalk
(steps: StepLike[], prefix: string, issues: ValidationIssue[])
src/lib/automations/validate.ts:42
↓ 1 callersFunctionwalk
( steps: BuilderStepInput[], parentId: string | null, branch: 'yes' | 'no' | null, )
src/lib/automations/steps-tree.ts:61
↓ 1 callersFunctionwhatsappShareUrl
(url: string)
src/components/settings/invite-member-dialog.tsx:167
FunctionAccordion
({ className, ...props }: AccordionPrimitive.Root.Props)
src/components/ui/accordion.tsx:6
FunctionAccordionContent
({ className, children, ...props }: AccordionPrimitive.Panel.Props)
src/components/ui/accordion.tsx:49
FunctionAccordionItem
({ className, ...props }: AccordionPrimitive.Item.Props)
src/components/ui/accordion.tsx:16
FunctionAccordionTrigger
({ className, children, ...props }: AccordionPrimitive.Trigger.Props)
src/components/ui/accordion.tsx:26
FunctionActivityFeed
({ items, loading }: ActivityFeedProps)
src/components/dashboard/activity-feed.tsx:41
FunctionAddButton
({ onPick }: { onPick: (t: AutomationStepType) => void })
src/components/automations/automation-builder.tsx:1131
FunctionAddNodeButton
({ onAdd }: { onAdd: (type: NodeType) => void })
src/components/flows/flow-builder.tsx:568
FunctionAgentSelect
Agent dropdown by name, storing the member's user_id. Falls back to * a raw id input when the member list is unavailable.
src/components/automations/automation-builder.tsx:375
FunctionAgentsPage
()
src/app/(dashboard)/agents/page.tsx:11
FunctionAiConfig
()
src/components/settings/ai-config.tsx:44
FunctionAiKnowledgeCard
({ accountId, canEdit, hasEmbeddingsKey, }: { accountId: string | null; canEdit: boolean; hasEmbed
src/components/settings/ai-knowledge.tsx:27
FunctionAiPlayground
({ onGoToSetup }: { onGoToSetup?: () => void })
src/components/agents/ai-playground.tsx:16
FunctionAlert
({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>)
src/components/ui/alert.tsx:22
FunctionAlertAction
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/alert.tsx:66
FunctionAlertDescription
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/alert.tsx:50
FunctionAlertTitle
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/alert.tsx:37
FunctionApiKeysSettings
()
src/components/settings/api-keys-settings.tsx:71
FunctionAppearancePanel
()
src/components/settings/appearance-panel.tsx:22
FunctionAuthLayout
({ children }: { children: ReactNode })
src/app/(auth)/layout.tsx:22
FunctionAuthProvider
({ children }: { children: ReactNode })
src/hooks/use-auth.tsx:114
FunctionAutomationBuilder
({ initial }: { initial: BuilderInitial })
src/components/automations/automation-builder.tsx:589
FunctionAutomationCard
({ automation, onToggle, onEdit, onDuplicate, onLogs, onDelete, }: { automation: Automation on
src/app/(dashboard)/automations/page.tsx:263
FunctionAutomationLogsPage
({ params, }: { params: Promise<{ id: string }> })
src/app/(dashboard)/automations/[id]/logs/page.tsx:24
FunctionAutomationsPage
()
src/app/(dashboard)/automations/page.tsx:60
← previousnext →501–600 of 1,053, ranked by callers