@yuno-payments/dashboard-api-mfe 0.36.45 → 0.36.46

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.
@@ -489,6 +489,7 @@ export declare class Api extends HttpClient {
489
489
  patchChartGPTChart<T>(chartgpt_id: string, payload: {
490
490
  type: string;
491
491
  name: string;
492
+ user_prompt: string;
492
493
  }): Promise<AxiosResponse<T, any>>;
493
494
  executeChartGPTChart<T>(chartgpt_id: string): Promise<AxiosResponse<T, any>>;
494
495
  getChartsByUser<T>(): Promise<AxiosResponse<T, any>>;
@@ -16,7 +16,7 @@ export interface ErrorChartGPTResponse {
16
16
  }[];
17
17
  }
18
18
  export interface PatchChartGPTChartPayload {
19
- chartgpt_id: string;
19
+ chart_id: string;
20
20
  type: string;
21
21
  name: string;
22
22
  }
@@ -26,7 +26,7 @@ export interface CreateAndExecuteChartPayload {
26
26
  export interface CreateAndExecuteChartResult {
27
27
  chart: ChartGPTChart;
28
28
  execution: ChartGPTExecuteResponse;
29
- chartgpt_id: string;
29
+ chart_id: string;
30
30
  }
31
31
  export declare function useCreateChart(): UseMutationResult<CreateChartGPTChartResponse, AxiosError<ErrorChartGPTResponse>, CreateChartGPTChartPayload>;
32
32
  export declare function useDeleteChart(): UseMutationResult<void, AxiosError<ErrorChartGPTResponse>, string>;
@@ -10,7 +10,7 @@ export interface ChartGPTExecuteResponse {
10
10
  results: ChartGPTResult[];
11
11
  }
12
12
  export interface ChartGPTChart {
13
- chartgpt_id: string;
13
+ chart_id: string;
14
14
  name: string;
15
15
  type: string;
16
16
  user_prompt: string;
@@ -28,7 +28,7 @@ export interface PatchAndExecuteChartResult {
28
28
  chart: ChartGPTChart;
29
29
  execution: ChartGPTExecuteResponse;
30
30
  }
31
- export declare function useChartExecute(chartgpt_id: string): UseQueryResult<ChartGPTExecuteResponse, unknown>;
31
+ export declare function useChartExecute(chart_id: string): UseQueryResult<ChartGPTExecuteResponse, unknown>;
32
32
  export declare function useGetChartsByUser(): UseQueryResult<ChartGPTChart[], unknown>;
33
33
  export declare function useGetChartsByUserWithResults(): UseQueryResult<ChartGPTChartWithResults[], unknown>;
34
- export declare function usePatchAndExecuteChart(chartgpt_id: string, patchPayload: PatchChartGPTPayload, enabled?: boolean): UseQueryResult<PatchAndExecuteChartResult, unknown>;
34
+ export declare function usePatchAndExecuteChart(chart_id: string, patchPayload: PatchChartGPTPayload, enabled?: boolean): UseQueryResult<PatchAndExecuteChartResult, unknown>;