mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-25 08:06:48 +08:00
Feat: Add box connector (#11845)
### What problem does this PR solve? Feat: Add box connector ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -47,4 +47,13 @@ export const startGmailWebAuth = (payload: { credentials: string }) =>
|
||||
export const pollGmailWebAuthResult = (payload: { flow_id: string }) =>
|
||||
request.post(api.googleWebAuthResult('gmail'), { data: payload });
|
||||
|
||||
export const startBoxWebAuth = (payload: {
|
||||
client_id: string;
|
||||
client_secret: string;
|
||||
redirect_uri?: string;
|
||||
}) => request.post(api.boxWebAuthStart(), { data: payload });
|
||||
|
||||
export const pollBoxWebAuthResult = (payload: { flow_id: string }) =>
|
||||
request.post(api.boxWebAuthResult(), { data: payload });
|
||||
|
||||
export default dataSourceService;
|
||||
|
||||
Reference in New Issue
Block a user