feat: persist browser sessions and update admin workflows
This commit is contained in:
@@ -88,6 +88,7 @@ export interface UpstreamData {
|
||||
balance_endpoint: string
|
||||
balance_response_path: string
|
||||
balance_divisor: number
|
||||
balance_alert_threshold: number | null
|
||||
created_at: string
|
||||
updated_at: string
|
||||
}
|
||||
@@ -106,6 +107,7 @@ export interface UpstreamForm {
|
||||
balance_endpoint: string
|
||||
balance_response_path: string
|
||||
balance_divisor: number
|
||||
balance_alert_threshold: number | null
|
||||
}
|
||||
|
||||
export interface GeneratedUpstreamKey {
|
||||
@@ -284,6 +286,7 @@ export const websitesApi = {
|
||||
platform_mode?: string
|
||||
concurrency?: number
|
||||
priority?: number
|
||||
auto_priority_by_rate?: boolean
|
||||
}) => api.post<{ success: boolean; message: string; items: ImportAccountItem[] }>(`/api/websites/${id}/accounts/import-upstream-keys`, data),
|
||||
listBindings: () => api.get<GroupBindingData[]>('/api/group-bindings'),
|
||||
createBinding: (data: GroupBindingForm) => api.post<GroupBindingData>('/api/group-bindings', data),
|
||||
|
||||
Reference in New Issue
Block a user