4.6.7 first pr (#726)
This commit is contained in:
13
projects/app/src/web/support/wallet/sub/api.ts
Normal file
13
projects/app/src/web/support/wallet/sub/api.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { GET, POST, PUT, DELETE } from '@/web/common/api/request';
|
||||
import { SubDatasetSizeParams } from '@fastgpt/global/support/wallet/sub/api';
|
||||
import { TeamSubSchema } from '@fastgpt/global/support/wallet/sub/type';
|
||||
|
||||
export const getTeamDatasetValidSub = () =>
|
||||
GET<{
|
||||
sub: TeamSubSchema;
|
||||
maxSize: number;
|
||||
usedSize: number;
|
||||
}>(`/support/wallet/sub/getDatasetSub`);
|
||||
|
||||
export const postExpandTeamDatasetSub = (data: SubDatasetSizeParams) =>
|
||||
POST('/plusApi/support/wallet/sub/datasetSize/expand', data);
|
||||
Reference in New Issue
Block a user