web 3cf6a5cfb4 feat: update localization files and improve system version management
- Changed output path for i18next configuration in admin and user apps to "public/assets/locales/{{language}}/{{namespace}}.json".
- Added new translation keys in English and Chinese for admin and user updates in tool.json files.
- Refactored SystemVersionCard component to utilize new service version checking and updating logic.
- Introduced basic service version checking and updating functions in the gateway service.
- Added typings for new API endpoints related to service version management.
- Updated Vite configuration to rewrite API paths.
- Added TypeScript error handling in various service files.
2025-12-01 03:00:47 -08:00

16 lines
408 B
TypeScript

//
/* eslint-disable */
import request from "@workspace/ui/lib/request";
/** Get available payment methods GET /v1/public/payment/methods */
export async function getAvailablePaymentMethods(options?: {
[key: string]: any;
}) {
return request<
API.Response & { data?: API.GetAvailablePaymentMethodsResponse }
>("/api/v1/public/payment/methods", {
method: "GET",
...(options || {}),
});
}