MCPcopy Create free account

hub / github.com/QuantumNous/new-api / functions

Functions15,409 in github.com/QuantumNous/new-api

↓ 1 callersFunctionsankeyDatumSource
( datum: Record<string, unknown> )
web/src/features/dashboard/lib/flow.ts:1034
↓ 1 callersFunctionsave
(submitted: RoutingPolicyFormValues)
web/src/features/system-settings/request-policies/routing-section.tsx:87
↓ 1 callersFunctionsaveButton
()
web/src/features/system-settings/models/__tests__/price-changes.test.tsx:136
↓ 1 callersFunctionsaveGranularity
(granularity: TimeGranularity)
web/src/features/dashboard/lib/filters.ts:85
↓ 1 callersFunctionsaveManagedKeyStatus
saveManagedKeyStatus runs change on the stored multi-key channel and writes the key statuses, channel status and status reason it leaves. A change ano
controller/channel.go:149
↓ 1 callersFunctionsaveSetupGuideExpanded
(expanded: boolean)
web/src/features/dashboard/components/overview/overview-dashboard.tsx:135
↓ 1 callersFunctionsaveWaffoPancakeConfig
(params: { merchantID: string privateKey: string returnURL: string storeID: string productID: string
web/src/features/system-settings/integrations/waffo-pancake-api.ts:87
↓ 1 callersFunctionsavedConfig
What the channel would save, as the drawer converts it on submit.
web/src/features/channels/components/__tests__/channel-plugin-config-fields.test.tsx:84
↓ 1 callersFunctionsavedPlugin
(active: boolean)
web/src/features/task-plugins/__tests__/upload-dialog.test.tsx:77
↓ 1 callersFunctionsavedSettings
(form: ChannelFormValues)
web/src/features/channels/lib/__tests__/vertex-channel.test.ts:47
↓ 1 callersFunctionscalarTimeGroup
( value: string, timeFunc: TimeFunc = 'hour' )
web/src/features/pricing/lib/__tests__/time-rule-expr.test.ts:53
↓ 1 callersFunctionscopesToPermissionMatrix
( scopes: readonly string[] )
web/src/lib/admin-permissions.ts:133
↓ 1 callersFunctionscrollParent
(element: HTMLElement)
web/src/features/channels/hooks/use-channel-priority-drag.ts:43
↓ 1 callersFunctionsearchApiKeys
( params: SearchApiKeysParams )
web/src/features/keys/api.ts:45
↓ 1 callersFunctionsearchCalls
()
web/src/features/channels/components/__tests__/table-refresh.test.tsx:137
↓ 1 callersFunctionsearchChannels
( params: SearchChannelsParams )
web/src/features/channels/api.ts:191
↓ 1 callersFunctionsearchDeployments
(params: { p?: number page_size?: number status?: string keyword?: string })
web/src/features/models/api.ts:364
↓ 1 callersFunctionsearchEntriesFor
(role: number, sidebarModulesAdmin = '')
web/src/components/__tests__/command-menu.test.tsx:76
↓ 1 callersFunctionsearchRedemptions
( params: SearchRedemptionsParams )
web/src/features/redemption-codes/api.ts:44
↓ 1 callersFunctionsearchUsers
( params: SearchUsersParams )
web/src/features/users/api.ts:72
↓ 1 callersFunctionsecondImage
(req)
plugins/tasks/alibaba/plugin.js:442
↓ 1 callersMethodsection
section reads the cross-reference table or stream at offset into the table and returns its trailer dictionary.
relay/requestplugin/pdf.go:1005
↓ 1 callersFunctionsecurityProofError
(c *gin.Context, code, message string)
middleware/secure_verification.go:82
↓ 1 callersFunctionseedBuiltInRoles
(db *gorm.DB)
service/authz/seed.go:11
↓ 1 callersFunctionseedDefaultPolicies
()
service/authz/seed.go:49
↓ 1 callersFunctionseedFlowLookupData
(t *testing.T)
model/usedata_flow_test.go:15
↓ 1 callersFunctionseedFlowQuotaData
(t *testing.T, quotaData QuotaData)
model/usedata_flow_test.go:10
↓ 1 callersFunctionseedanceDisplayTiers
()
web/src/features/pricing/__tests__/breakdown-tier-match.test.ts:36
↓ 1 callersFunctionseedanceUsageExamples
(profile)
plugins/tasks/doubao/plugin.js:263
↓ 1 callersFunctionseedanceUsageSchema
(profile)
plugins/tasks/doubao/plugin.js:224
↓ 1 callersFunctionseedreamUsageSchema
(profile)
plugins/tasks/doubao/plugin.js:192
↓ 1 callersFunctionselectComboboxOption
( trigger: HTMLButtonElement, optionDescription: string )
web/src/features/keys/components/__tests__/api-keys-mutate-drawer.test.tsx:184
↓ 1 callersFunctionselectCurrency
(label: string)
web/src/features/model-pricing/__tests__/editor-currency.test.tsx:132
↓ 1 callersFunctionselectFile
(file?: File)
web/src/features/task-plugins/components/plugin-source-picker.tsx:44
↓ 1 callersFunctionselectSource
( user: ReturnType<typeof userEvent.setup>, source: string )
web/src/features/task-plugins/__tests__/upload-dialog.test.tsx:195
↓ 1 callersFunctionselectTemplate
(nextTemplateKey: string)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:626
↓ 1 callersFunctionselectedNodeFiltersExceptKind
( selectedNodes: readonly FlowNodeFilter[] | undefined, kind: FlowNodeKind )
web/src/features/dashboard/lib/flow.ts:406
↓ 1 callersFunctionsendBarkNotify
(barkURL string, data dto.Notify)
service/user_notify.go:135
↓ 1 callersFunctionsendChatCompletion
( payload: ChatCompletionRequest, signal?: AbortSignal )
web/src/features/playground/api.ts:33
↓ 1 callersFunctionsendCode
(email: string)
web/src/features/auth/hooks/use-email-verification.ts:50
↓ 1 callersFunctionsendEmailNotify
(userEmail string, data dto.Notify)
service/user_notify.go:125
↓ 1 callersFunctionsendEmailVerification
( email: string, turnstile?: string )
web/src/features/auth/api.ts:258
↓ 1 callersFunctionsendFetchModelsRequest
sendFetchModelsRequest sends a model list request through the channel's proxy and TLS setting. The caller closes the response body.
controller/channel_upstream_update.go:356
↓ 1 callersFunctionsendGotifyNotify
(gotifyUrl string, gotifyToken string, priority int, data dto.Notify)
service/user_notify.go:204
↓ 1 callersFunctionsendPasswordResetEmail
( email: string, turnstile?: string )
web/src/features/auth/api.ts:152
↓ 1 callersFunctionsendResendEmail
API contract: https://resend.com/docs/api-reference/emails/send-email OWASP Authentication / Session Management / Forgot Password cheat sheets: do not
common/email_resend.go:40
↓ 1 callersMethodsendStep
sendStep sends one request of a plugin route as DoApiRequest does, with the request's own method, address and headers: the route or credential auth, t
relay/channel/providerplugin/chain.go:114
↓ 1 callersFunctionsendToFluent
(apiKey: string, serverAddress?: string)
web/src/features/chat/lib/send-to-fluent.ts:19
↓ 1 callersFunctionsendable
(config, attachment)
plugins/tasks/content-moderation/plugin.js:334
↓ 1 callersFunctionsensitiveWordInstanceName
()
model/sensitive_word_migration.go:91
↓ 1 callersFunctionsensitiveWordLines
sensitiveWordLines is the old word list, one word per line, as the check read it: lines trimmed, empty lines dropped.
model/sensitive_word_migration.go:81
↓ 1 callersFunctionseparatedResponsesDelta
(delta string)
relaykit/relayconvert/internal/oai_responses/to_claude_messages_stream_resp.go:492
↓ 1 callersFunctionserializeEndpointItems
(items: PrefillGroup['items'])
web/src/features/models/components/prefill-group-shared.ts:119
↓ 1 callersFunctionserializeRules
(rules: Rule[])
web/src/features/system-settings/models/group-special-usable-editor.tsx:121
↓ 1 callersFunctionserve
* Answers the update request with `start` and each progress check with the * next of `progress`; a progress check past the last one rejects.
web/src/features/channels/lib/__tests__/update-all-balances.test.ts:45
↓ 1 callersFunctionserveHTTP2ProbePeer
serveHTTP2ProbePeer can withhold PING acknowledgements without sending FIN or RST, reproducing an upstream connection silently lost by an intermediary
service/http_client_transport_test.go:583
↓ 1 callersFunctionservePluginCredentials
Serves the channel's credential list as it is when the panel asks.
web/src/features/channels/components/__tests__/channel-configuration.test.tsx:3379
↓ 1 callersFunctionsessionAsyncPaymentFailed
sessionAsyncPaymentFailed marks orders as failed when delayed payment methods ultimately fail (e.g. bank transfer not received, SEPA rejected).
controller/topup_stripe.go:239
↓ 1 callersFunctionsessionAsyncPaymentSucceeded
sessionAsyncPaymentSucceeded handles delayed payment methods (bank transfer, SEPA, etc.) that confirm payment after the checkout session completes.
controller/topup_stripe.go:229
↓ 1 callersFunctionsessionCompleted
(ctx context.Context, event stripe.Event, callerIp string)
controller/topup_stripe.go:209
↓ 1 callersFunctionsessionExpired
(ctx context.Context, event stripe.Event)
controller/topup_stripe.go:309
↓ 1 callersFunctionsetAuthMode
(mode: AdvancedCustomAuthMode)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:1371
↓ 1 callersFunctionsetCachedConnection
(ok: boolean)
web/src/features/models/hooks/use-model-deployment-settings.ts:45
↓ 1 callersFunctionsetCompactMode
(value: boolean, tableKey: string)
web/src/hooks/use-table-compact-mode.ts:34
↓ 1 callersFunctionsetConverter
(nextConverter: AdvancedCustomConverter)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:1349
↓ 1 callersFunctionsetDeepValue
( target: Record<string, unknown>, path: string, value: unknown )
web/src/features/system-settings/hooks/use-settings-form.ts:111
↓ 1 callersFunctionsetDir
(dir: Direction)
web/src/context/direction-provider.tsx:49
↓ 1 callersFunctionsetFilterValue
( filters: TaskLogsFilters, logCategory: TaskLikeLogCategory, value: string )
web/src/features/usage-logs/components/task-logs-filter-bar.tsx:56
↓ 1 callersFunctionsetGeminiPartialArgValue
(current any, path []geminiPartialArgPathSegment, value any, appendString bool)
relaykit/relayconvert/internal/gemini_chat/to_oai_chat_resp.go:653
↓ 1 callersFunctionsetInterfaceLanguage
(language: string)
web/src/components/__tests__/date-picker-locale.test.tsx:35
↓ 1 callersFunctionsetInterfaceLanguage
(language: string)
web/src/features/security/components/__tests__/login-session-item.test.tsx:41
↓ 1 callersFunctionsetKind
(kind: PluginKind)
web/src/features/task-plugins/index.tsx:81
↓ 1 callersFunctionsetLegacyAccessTokenRetireAt
setLegacyAccessTokenRetireAt moves the stored transition deadline the way an operator restoring the option row would, then reloads it.
controller/access_token_audit_test.go:158
↓ 1 callersMethodsetMember
(name string, value *node)
pkg/requestpatch/patch.go:530
↓ 1 callersFunctionsetMessageDeltaUsageInt
(data string, path string, localValue int)
relaykit/relayconvert/internal/claude_messages/to_oai_chat_resp.go:479
↓ 1 callersFunctionsetMobileViewport
(mobile: boolean)
web/src/components/data-table/toolbar/__tests__/mobile-filter.test.tsx:80
↓ 1 callersFunctionsetModelsInput
(value: string)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:1375
↓ 1 callersFunctionsetOption
( name: | 'pass_through_body_enabled' | 'upstream_model_update_check_enabled' | 'respons
web/src/features/channels/components/channel-quick-options.tsx:88
↓ 1 callersFunctionsetReducedMotion
(value: boolean)
web/src/features/keys/components/__tests__/api-key-group-combobox.test.tsx:33
↓ 1 callersFunctionsetStoredPageSize
(size: number)
web/src/hooks/use-table-url-state.ts:41
↓ 1 callersFunctionsetTaskPluginEnabledOption
(enabled: boolean)
web/src/features/task-plugins/api.ts:203
↓ 1 callersFunctionsetTaskPluginStatus
( key: string, enabled: boolean, options?: { cascade?: boolean; force?: boolean } )
web/src/features/task-plugins/api.ts:166
↓ 1 callersFunctionsettingsOf
(payload: { settings?: string | null })
web/src/features/channels/lib/__tests__/task-plugin-channel-settings.test.ts:44
↓ 1 callersMethodsettleStart
(task *model.Task, quota int)
controller/task_plugin_debug.go:201
↓ 1 callersFunctionsetup
()
web/src/features/redemption-codes/components/__tests__/bulk-delete.test.tsx:81
↓ 1 callersFunctionsetup2FA
( proofToken: string, signal: AbortSignal )
web/src/features/security/api.ts:189
↓ 1 callersFunctionsetupChannelSelectAutoGroupsTest
(t *testing.T)
service/channel_select_auto_groups_test.go:21
↓ 1 callersFunctionsetupPasskeyNetwork
()
web/src/features/auth/passkey/__tests__/domain-verification.test.tsx:59
↓ 1 callersFunctionsha256Hex
( bytes: Uint8Array<ArrayBuffer> )
web/src/features/task-plugins/lib/plugin-icon-file.ts:71
↓ 1 callersFunctionsha256hex
(s string)
relay/channel/tencent/relay-tencent.go:176
↓ 1 callersFunctionshiftMarks
shiftMarks moves the part marks of text past the masks applied to it, which releaseReply merged and sorted. A mask across a mark stays with the part w
relay/requestplugin/reply.go:537
↓ 1 callersFunctionshouldAppendClaudeBetaQuery
(info *relaycommon.RelayInfo)
relay/channel/claude/adaptor.go:92
↓ 1 callersFunctionshouldApplyClaudeHeaders
(converter string, info *relaycommon.RelayInfo)
relay/channel/advancedcustom/adaptor.go:541
↓ 1 callersFunctionshouldAuditOperation
(mode, path, from, to string)
relay/common/override.go:417
↓ 1 callersFunctionshouldAuthenticateSMTP
()
common/email.go:33
↓ 1 callersFunctionshouldChargeViolationFee
(err *types.NewAPIError)
service/violation_fee.go:73
↓ 1 callersFunctionshouldClearModelForGroup
( models: ModelOption[], currentModel: string )
web/src/features/playground/lib/options/playground-option-utils.ts:34
↓ 1 callersFunctionshouldCloseActiveWebSocketsAfterDisable
(channelId int)
service/channel.go:20
↓ 1 callersFunctionshouldEnableParamOverrideAudit
(paramOverride map[string]any)
relay/common/override.go:349
↓ 1 callersFunctionshouldRenderColumnResizer
( table: TanstackTable<TData>, header: Header<TData, unknown> )
web/src/components/data-table/core/data-table-header.tsx:240
← previousnext →8,301–8,400 of 15,409, ranked by callers