@yuno-payments/dashboard-api-mfe 0.35.0-beta.16 → 0.35.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/queries/chartgpt/chartgpt.query.d.ts +9 -0
- package/build/esm/index.js +4 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/queries/chartgpt/chartgpt.query.d.ts +9 -0
- package/build/index.d.ts +11 -2
- package/package.json +1 -1
|
@@ -18,6 +18,15 @@ export interface ChartGPTChart {
|
|
|
18
18
|
export interface ChartGPTChartWithResults extends ChartGPTChart {
|
|
19
19
|
results: ChartGPTResult[];
|
|
20
20
|
}
|
|
21
|
+
export interface PatchChartGPTPayload {
|
|
22
|
+
type: string;
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
export interface PatchAndExecuteChartResult {
|
|
26
|
+
chart: ChartGPTChart;
|
|
27
|
+
execution: ChartGPTExecuteResponse;
|
|
28
|
+
}
|
|
21
29
|
export declare function useChartExecute(chartgpt_id: string): UseQueryResult<ChartGPTExecuteResponse, unknown>;
|
|
22
30
|
export declare function useGetChartsByUser(): UseQueryResult<ChartGPTChart[], unknown>;
|
|
23
31
|
export declare function useGetChartsByUserWithResults(): UseQueryResult<ChartGPTChartWithResults[], unknown>;
|
|
32
|
+
export declare function usePatchAndExecuteChart(chartgpt_id: string, patchPayload: PatchChartGPTPayload, enabled?: boolean): UseQueryResult<PatchAndExecuteChartResult, unknown>;
|