@databrainhq/plugin 0.8.25 → 0.9.1

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.
@@ -169,8 +169,10 @@ export declare type PreviewTableOutput = {
169
169
  };
170
170
  export declare type SendRawCsvInput = {
171
171
  companyId: Scalars['String'];
172
+ metricName?: InputMaybe<Scalars['String']>;
172
173
  recipientAddress: Scalars['String'];
173
174
  sqlQuery: Scalars['String'];
175
+ workspaceId?: InputMaybe<Scalars['String']>;
174
176
  };
175
177
  export declare type SendRawCsvOutput = {
176
178
  __typename?: 'SendRawCsvOutput';
@@ -515,6 +517,7 @@ export declare type CompanyIntegrations = {
515
517
  /** connected source or destination id */
516
518
  integrationId: Scalars['uuid'];
517
519
  name: Scalars['String'];
520
+ workspaceId: Scalars['uuid'];
518
521
  };
519
522
  /** columns and relationships of "companyIntegrations" */
520
523
  export declare type CompanyIntegrationsExternalMetricsArgs = {
@@ -541,6 +544,7 @@ export declare type CompanyIntegrations_Bool_Exp = {
541
544
  id?: InputMaybe<Uuid_Comparison_Exp>;
542
545
  integrationId?: InputMaybe<Uuid_Comparison_Exp>;
543
546
  name?: InputMaybe<String_Comparison_Exp>;
547
+ workspaceId?: InputMaybe<Uuid_Comparison_Exp>;
544
548
  };
545
549
  /** order by max() on columns of table "companyIntegrations" */
546
550
  export declare type CompanyIntegrations_Max_Order_By = {
@@ -549,6 +553,7 @@ export declare type CompanyIntegrations_Max_Order_By = {
549
553
  /** connected source or destination id */
550
554
  integrationId?: InputMaybe<Order_By>;
551
555
  name?: InputMaybe<Order_By>;
556
+ workspaceId?: InputMaybe<Order_By>;
552
557
  };
553
558
  /** order by min() on columns of table "companyIntegrations" */
554
559
  export declare type CompanyIntegrations_Min_Order_By = {
@@ -557,6 +562,7 @@ export declare type CompanyIntegrations_Min_Order_By = {
557
562
  /** connected source or destination id */
558
563
  integrationId?: InputMaybe<Order_By>;
559
564
  name?: InputMaybe<Order_By>;
565
+ workspaceId?: InputMaybe<Order_By>;
560
566
  };
561
567
  /** Ordering options when selecting data from "companyIntegrations". */
562
568
  export declare type CompanyIntegrations_Order_By = {
@@ -566,6 +572,7 @@ export declare type CompanyIntegrations_Order_By = {
566
572
  id?: InputMaybe<Order_By>;
567
573
  integrationId?: InputMaybe<Order_By>;
568
574
  name?: InputMaybe<Order_By>;
575
+ workspaceId?: InputMaybe<Order_By>;
569
576
  };
570
577
  /** select columns of table "companyIntegrations" */
571
578
  export declare enum CompanyIntegrations_Select_Column {
@@ -576,7 +583,9 @@ export declare enum CompanyIntegrations_Select_Column {
576
583
  /** column name */
577
584
  IntegrationId = "integrationId",
578
585
  /** column name */
579
- Name = "name"
586
+ Name = "name",
587
+ /** column name */
588
+ WorkspaceId = "workspaceId"
580
589
  }
581
590
  export declare type CompanySubsetTableDataError = {
582
591
  __typename?: 'companySubsetTableDataError';
@@ -2810,6 +2819,26 @@ export declare type CreateExternalMetricMutation = {
2810
2819
  }>;
2811
2820
  } | null;
2812
2821
  };
2822
+ export declare type DeleteScheduleEmailReportChartsMutationVariables = Exact<{
2823
+ scheduleEmailReportId?: InputMaybe<Scalars['uuid']>;
2824
+ }>;
2825
+ export declare type DeleteScheduleEmailReportChartsMutation = {
2826
+ __typename?: 'mutation_root';
2827
+ delete_scheduleEmailReportCharts?: {
2828
+ __typename?: 'scheduleEmailReportCharts_mutation_response';
2829
+ affected_rows: number;
2830
+ } | null;
2831
+ };
2832
+ export declare type DeleteScheduledEmailMutationVariables = Exact<{
2833
+ id?: InputMaybe<Scalars['uuid']>;
2834
+ }>;
2835
+ export declare type DeleteScheduledEmailMutation = {
2836
+ __typename?: 'mutation_root';
2837
+ delete_scheduleEmailReports_by_pk?: {
2838
+ __typename?: 'scheduleEmailReports';
2839
+ id: any;
2840
+ } | null;
2841
+ };
2813
2842
  export declare type FetchColumnDataMutationVariables = Exact<{
2814
2843
  tableName?: InputMaybe<Scalars['String']>;
2815
2844
  columnName?: InputMaybe<Scalars['String']>;
@@ -2938,12 +2967,14 @@ export declare type EmbeddedDashboardMetricsQuery = {
2938
2967
  selectedGroupBy: any;
2939
2968
  isEnableGroupBy: boolean;
2940
2969
  groupBy: any;
2970
+ resizeAttributes: any;
2941
2971
  rlsConditions: any;
2942
2972
  clickActions: any;
2943
2973
  drillDownSettings?: any | null;
2944
2974
  companyIntegration: {
2945
2975
  __typename?: 'companyIntegrations';
2946
2976
  name: string;
2977
+ workspaceId: any;
2947
2978
  };
2948
2979
  };
2949
2980
  }>;
@@ -3025,6 +3056,32 @@ export declare type MetricAccessQuery = {
3025
3056
  isAllowChangeLayout: boolean;
3026
3057
  }>;
3027
3058
  };
3059
+ export declare type ScheduleEmailReportQueryVariables = Exact<{
3060
+ token?: InputMaybe<Scalars['uuid']>;
3061
+ }>;
3062
+ export declare type ScheduleEmailReportQuery = {
3063
+ __typename?: 'query_root';
3064
+ scheduleEmailReports: Array<{
3065
+ __typename?: 'scheduleEmailReports';
3066
+ externalDashboardId: any;
3067
+ guestToken: any;
3068
+ nextScheduledAt: string;
3069
+ sharingSettingsId: any;
3070
+ subject: string;
3071
+ timeConfigurations: any;
3072
+ id: any;
3073
+ }>;
3074
+ };
3075
+ export declare type SharingSettingsIdQueryVariables = Exact<{
3076
+ companyId?: InputMaybe<Scalars['uuid']>;
3077
+ }>;
3078
+ export declare type SharingSettingsIdQuery = {
3079
+ __typename?: 'query_root';
3080
+ sharingSettings: Array<{
3081
+ __typename?: 'sharingSettings';
3082
+ id: any;
3083
+ }>;
3084
+ };
3028
3085
  export declare type GetThemesQueryVariables = Exact<{
3029
3086
  companyId?: Scalars['uuid'];
3030
3087
  }>;
@@ -3109,6 +3166,8 @@ export declare type RawCsvMutationVariables = Exact<{
3109
3166
  companyId?: InputMaybe<Scalars['String']>;
3110
3167
  recipientAddress?: InputMaybe<Scalars['String']>;
3111
3168
  sqlQuery?: InputMaybe<Scalars['String']>;
3169
+ metricName?: InputMaybe<Scalars['String']>;
3170
+ workspaceId?: InputMaybe<Scalars['String']>;
3112
3171
  }>;
3113
3172
  export declare type RawCsvMutation = {
3114
3173
  __typename?: 'mutation_root';
@@ -3137,6 +3196,36 @@ export declare type SaveExternalDashboardLayoutMutation = {
3137
3196
  isLocked: boolean;
3138
3197
  } | null;
3139
3198
  };
3199
+ export declare type SaveScheduleEmailMutationVariables = Exact<{
3200
+ emails?: InputMaybe<Scalars['json']>;
3201
+ externalDashboardId?: InputMaybe<Scalars['uuid']>;
3202
+ guestToken?: InputMaybe<Scalars['uuid']>;
3203
+ nextScheduledAt?: InputMaybe<Scalars['String']>;
3204
+ sharingSettingsId?: InputMaybe<Scalars['uuid']>;
3205
+ subject?: InputMaybe<Scalars['String']>;
3206
+ timeConfigurations?: InputMaybe<Scalars['json']>;
3207
+ data?: InputMaybe<Array<ScheduleEmailReportCharts_Insert_Input> | ScheduleEmailReportCharts_Insert_Input>;
3208
+ }>;
3209
+ export declare type SaveScheduleEmailMutation = {
3210
+ __typename?: 'mutation_root';
3211
+ insert_scheduleEmailReports_one?: {
3212
+ __typename?: 'scheduleEmailReports';
3213
+ emails: any;
3214
+ externalDashboardId: any;
3215
+ guestToken: any;
3216
+ id: any;
3217
+ nextScheduledAt: string;
3218
+ sharingSettingsId: any;
3219
+ subject: string;
3220
+ timeConfigurations: any;
3221
+ scheduleEmailReportCharts: Array<{
3222
+ __typename?: 'scheduleEmailReportCharts';
3223
+ externalMetricId: any;
3224
+ id: any;
3225
+ scheduleEmailReportId: any;
3226
+ }>;
3227
+ } | null;
3228
+ };
3140
3229
  export declare type UpdateAdminMetricMutationVariables = Exact<{
3141
3230
  externalMetricId: Scalars['uuid'];
3142
3231
  object: ExternalMetrics_Insert_Input;
@@ -3236,6 +3325,18 @@ export declare const useCreateExternalMetricMutation: <TError = unknown, TContex
3236
3325
  isEnableGroupBy?: InputMaybe<boolean> | undefined;
3237
3326
  groupBy?: InputMaybe<Scalars['jsonb']>;
3238
3327
  }>, TContext>;
3328
+ export declare const DeleteScheduleEmailReportChartsDocument = "\n mutation DeleteScheduleEmailReportCharts($scheduleEmailReportId: uuid = \"\") {\n delete_scheduleEmailReportCharts(\n where: {scheduleEmailReportId: {_eq: $scheduleEmailReportId}}\n ) {\n affected_rows\n }\n}\n ";
3329
+ export declare const useDeleteScheduleEmailReportChartsMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<DeleteScheduleEmailReportChartsMutation, TError, Exact<{
3330
+ scheduleEmailReportId?: InputMaybe<Scalars['uuid']>;
3331
+ }>, TContext> | undefined) => import("react-query").UseMutationResult<DeleteScheduleEmailReportChartsMutation, TError, Exact<{
3332
+ scheduleEmailReportId?: InputMaybe<Scalars['uuid']>;
3333
+ }>, TContext>;
3334
+ export declare const DeleteScheduledEmailDocument = "\n mutation DeleteScheduledEmail($id: uuid = \"\") {\n delete_scheduleEmailReports_by_pk(id: $id) {\n id\n }\n}\n ";
3335
+ export declare const useDeleteScheduledEmailMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<DeleteScheduledEmailMutation, TError, Exact<{
3336
+ id?: InputMaybe<Scalars['uuid']>;
3337
+ }>, TContext> | undefined) => import("react-query").UseMutationResult<DeleteScheduledEmailMutation, TError, Exact<{
3338
+ id?: InputMaybe<Scalars['uuid']>;
3339
+ }>, TContext>;
3239
3340
  export declare const FetchColumnDataDocument = "\n mutation FetchColumnData($tableName: String = \"\", $columnName: String = \"\", $integrationId: String = \"\", $integrationName: String = \"\") {\n fetchColumnData(\n input: {columnName: $columnName, tableName: $tableName, integrationId: $integrationId, integrationName: $integrationName}\n ) {\n data {\n label\n value\n }\n error {\n message\n }\n }\n}\n ";
3240
3341
  export declare const useFetchColumnDataMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<FetchColumnDataMutation, TError, Exact<{
3241
3342
  tableName?: InputMaybe<string> | undefined;
@@ -3282,7 +3383,7 @@ export declare const useCompanySubsetTableDataMutation: <TError = unknown, TCont
3282
3383
  companyId?: InputMaybe<string> | undefined;
3283
3384
  workspaceId?: InputMaybe<string> | undefined;
3284
3385
  }>, TContext>;
3285
- export declare const EmbeddedDashboardMetricsDocument = "\n query EmbeddedDashboardMetrics($externalDashboardId: String! = \"\", $clientId: String! = \"\") {\n externalDashboardMetrics(\n where: {externalDashboard: {externalDashboardId: {_eq: $externalDashboardId}}, _not: {externalMetric: {clientDeletedMetrics: {clientId: {_eq: $clientId}}}}}\n ) {\n externalMetricId\n externalDashboardId\n externalMetric {\n chartOptions\n clientId\n companyId\n companyIntegrationId\n createdAt\n createdBy\n description\n id\n inputFields\n integrationName\n isCreatedByClient\n isLive\n metricId\n metricQuery\n name\n outputColumns\n query\n timeGrain\n updatedAt\n selectedGroupBy\n isEnableGroupBy\n groupBy\n rlsConditions\n companyIntegration {\n name\n }\n clickActions\n drillDownSettings\n }\n }\n}\n ";
3386
+ export declare const EmbeddedDashboardMetricsDocument = "\n query EmbeddedDashboardMetrics($externalDashboardId: String! = \"\", $clientId: String! = \"\") {\n externalDashboardMetrics(\n where: {externalDashboard: {externalDashboardId: {_eq: $externalDashboardId}}, _not: {externalMetric: {clientDeletedMetrics: {clientId: {_eq: $clientId}}}}}\n ) {\n externalMetricId\n externalDashboardId\n externalMetric {\n chartOptions\n clientId\n companyId\n companyIntegrationId\n createdAt\n createdBy\n description\n id\n inputFields\n integrationName\n isCreatedByClient\n isLive\n metricId\n metricQuery\n name\n outputColumns\n query\n timeGrain\n updatedAt\n selectedGroupBy\n isEnableGroupBy\n groupBy\n resizeAttributes\n rlsConditions\n clickActions\n drillDownSettings\n companyIntegration {\n name\n workspaceId\n }\n }\n }\n}\n ";
3286
3387
  export declare const useEmbeddedDashboardMetricsQuery: <TData = EmbeddedDashboardMetricsQuery, TError = unknown>(variables?: EmbeddedDashboardMetricsQueryVariables, options?: UseQueryOptions<EmbeddedDashboardMetricsQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
3287
3388
  export declare const GetExternalDashboardClientThemeDocument = "\n query GetExternalDashboardClientTheme($companyId: uuid!, $clientId: String!) {\n externalDashboardThemes(\n where: {companyId: {_eq: $companyId}, externalDashboardThemeClients: {clientId: {_eq: $clientId}}}\n limit: 1\n ) {\n colors\n createdAt\n id\n name\n }\n}\n ";
3288
3389
  export declare const useGetExternalDashboardClientThemeQuery: <TData = GetExternalDashboardClientThemeQuery, TError = unknown>(variables: GetExternalDashboardClientThemeQueryVariables, options?: UseQueryOptions<GetExternalDashboardClientThemeQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
@@ -3296,6 +3397,10 @@ export declare const GuestTokenParamsDocument = "\n query GuestTokenParams($i
3296
3397
  export declare const useGuestTokenParamsQuery: <TData = GuestTokenParamsQuery, TError = unknown>(variables?: GuestTokenParamsQueryVariables, options?: UseQueryOptions<GuestTokenParamsQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
3297
3398
  export declare const MetricAccessDocument = "\n query MetricAccess($companyId: uuid = \"\") {\n companySubsetTables(where: {companyId: {_eq: $companyId}}) {\n isAllowMetricCreation\n isAllowMetricDeletion\n isAllowMetricUpdation\n isAllowChangeLayout\n }\n}\n ";
3298
3399
  export declare const useMetricAccessQuery: <TData = MetricAccessQuery, TError = unknown>(variables?: MetricAccessQueryVariables, options?: UseQueryOptions<MetricAccessQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
3400
+ export declare const ScheduleEmailReportDocument = "\n query ScheduleEmailReport($token: uuid = \"\") {\n scheduleEmailReports(where: {guestToken: {_eq: $token}}) {\n externalDashboardId\n guestToken\n nextScheduledAt\n sharingSettingsId\n subject\n timeConfigurations\n id\n }\n}\n ";
3401
+ export declare const useScheduleEmailReportQuery: <TData = ScheduleEmailReportQuery, TError = unknown>(variables?: ScheduleEmailReportQueryVariables, options?: UseQueryOptions<ScheduleEmailReportQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
3402
+ export declare const SharingSettingsIdDocument = "\n query SharingSettingsId($companyId: uuid = \"\") {\n sharingSettings(where: {companyId: {_eq: $companyId}}) {\n id\n }\n}\n ";
3403
+ export declare const useSharingSettingsIdQuery: <TData = SharingSettingsIdQuery, TError = unknown>(variables?: SharingSettingsIdQueryVariables, options?: UseQueryOptions<SharingSettingsIdQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
3299
3404
  export declare const GetThemesDocument = "\n query GetThemes($companyId: uuid! = \"\") {\n themes(where: {companyId: {_eq: $companyId}}) {\n id\n companyId\n general\n dashboard\n cardTitle\n cardDescription\n chart\n }\n}\n ";
3300
3405
  export declare const useGetThemesQuery: <TData = GetThemesQuery, TError = unknown>(variables?: GetThemesQueryVariables, options?: UseQueryOptions<GetThemesQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
3301
3406
  export declare const UnderlyingDataDocument = "\n mutation UnderlyingData($columnName: String = \"\", $companyId: String = \"\", $query: String = \"\", $value: json = \"\") {\n getUnderlyingData(\n input: {columnName: $columnName, companyId: $companyId, query: $query, value: $value}\n ) {\n data\n timeTaken\n }\n}\n ";
@@ -3332,15 +3437,19 @@ export declare const usePreviewTableMutation: <TError = unknown, TContext = unkn
3332
3437
  }>, TContext>;
3333
3438
  export declare const QueryExternalMetricDocument = "\n query QueryExternalMetric($id: String = \"\", $clientId: String = \"\", $globalFilters: json = \"\", $rlsConditions: json = [], $filterValues: json = \"\", $tenancyLevel: String = \"\") {\n externalMetricQuery(\n input: {externalMetricId: $id, clientId: $clientId, globalFilters: $globalFilters, rlsConditions: $rlsConditions, filterValues: $filterValues, tenancyLevel: $tenancyLevel}\n ) {\n data\n timeTaken\n }\n}\n ";
3334
3439
  export declare const useQueryExternalMetricQuery: <TData = QueryExternalMetricQuery, TError = unknown>(variables?: QueryExternalMetricQueryVariables, options?: UseQueryOptions<QueryExternalMetricQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
3335
- export declare const RawCsvDocument = "\n mutation RawCsv($companyId: String = \"\", $recipientAddress: String = \"\", $sqlQuery: String = \"\") {\n sendRawCsv(\n input: {companyId: $companyId, recipientAddress: $recipientAddress, sqlQuery: $sqlQuery}\n ) {\n status\n error {\n message\n }\n }\n}\n ";
3440
+ export declare const RawCsvDocument = "\n mutation RawCsv($companyId: String = \"\", $recipientAddress: String = \"\", $sqlQuery: String = \"\", $metricName: String = \"\", $workspaceId: String = \"\") {\n sendRawCsv(\n input: {companyId: $companyId, recipientAddress: $recipientAddress, sqlQuery: $sqlQuery, metricName: $metricName, workspaceId: $workspaceId}\n ) {\n status\n error {\n message\n }\n }\n}\n ";
3336
3441
  export declare const useRawCsvMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<RawCsvMutation, TError, Exact<{
3337
3442
  companyId?: InputMaybe<string> | undefined;
3338
3443
  recipientAddress?: InputMaybe<string> | undefined;
3339
3444
  sqlQuery?: InputMaybe<string> | undefined;
3445
+ metricName?: InputMaybe<string> | undefined;
3446
+ workspaceId?: InputMaybe<string> | undefined;
3340
3447
  }>, TContext> | undefined) => import("react-query").UseMutationResult<RawCsvMutation, TError, Exact<{
3341
3448
  companyId?: InputMaybe<string> | undefined;
3342
3449
  recipientAddress?: InputMaybe<string> | undefined;
3343
3450
  sqlQuery?: InputMaybe<string> | undefined;
3451
+ metricName?: InputMaybe<string> | undefined;
3452
+ workspaceId?: InputMaybe<string> | undefined;
3344
3453
  }>, TContext>;
3345
3454
  export declare const SaveExternalDashboardLayoutDocument = "\n mutation SaveExternalDashboardLayout($clientId: String!, $externalDashboardId: uuid!, $layout: jsonb!, $isLocked: Boolean) {\n insert_clientDashboardLayout_one(\n object: {clientId: $clientId, externalDashboardId: $externalDashboardId, layout: $layout, isLocked: $isLocked}\n on_conflict: {constraint: clientDashboardLayout_pkey, update_columns: [layout, isLocked]}\n ) {\n clientId\n externalDashboardId\n layout\n isLocked\n }\n}\n ";
3346
3455
  export declare const useSaveExternalDashboardLayoutMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<SaveExternalDashboardLayoutMutation, TError, Exact<{
@@ -3354,6 +3463,26 @@ export declare const useSaveExternalDashboardLayoutMutation: <TError = unknown,
3354
3463
  layout: Scalars['jsonb'];
3355
3464
  isLocked?: InputMaybe<boolean> | undefined;
3356
3465
  }>, TContext>;
3466
+ export declare const SaveScheduleEmailDocument = "\n mutation SaveScheduleEmail($emails: json = \"\", $externalDashboardId: uuid = \"\", $guestToken: uuid = \"\", $nextScheduledAt: String = \"\", $sharingSettingsId: uuid = \"\", $subject: String = \"\", $timeConfigurations: json = \"\", $data: [scheduleEmailReportCharts_insert_input!] = []) {\n insert_scheduleEmailReports_one(\n object: {emails: $emails, externalDashboardId: $externalDashboardId, guestToken: $guestToken, nextScheduledAt: $nextScheduledAt, sharingSettingsId: $sharingSettingsId, subject: $subject, timeConfigurations: $timeConfigurations, scheduleEmailReportCharts: {data: $data}}\n on_conflict: {constraint: scheduleEmailReports_guestToken_key, update_columns: [emails, nextScheduledAt, sharingSettingsId, subject, timeConfigurations]}\n ) {\n emails\n externalDashboardId\n guestToken\n id\n nextScheduledAt\n sharingSettingsId\n subject\n timeConfigurations\n scheduleEmailReportCharts {\n externalMetricId\n id\n scheduleEmailReportId\n }\n }\n}\n ";
3467
+ export declare const useSaveScheduleEmailMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<SaveScheduleEmailMutation, TError, Exact<{
3468
+ emails?: InputMaybe<Scalars['json']>;
3469
+ externalDashboardId?: InputMaybe<Scalars['uuid']>;
3470
+ guestToken?: InputMaybe<Scalars['uuid']>;
3471
+ nextScheduledAt?: InputMaybe<string> | undefined;
3472
+ sharingSettingsId?: InputMaybe<Scalars['uuid']>;
3473
+ subject?: InputMaybe<string> | undefined;
3474
+ timeConfigurations?: InputMaybe<Scalars['json']>;
3475
+ data?: InputMaybe<ScheduleEmailReportCharts_Insert_Input | ScheduleEmailReportCharts_Insert_Input[]> | undefined;
3476
+ }>, TContext> | undefined) => import("react-query").UseMutationResult<SaveScheduleEmailMutation, TError, Exact<{
3477
+ emails?: InputMaybe<Scalars['json']>;
3478
+ externalDashboardId?: InputMaybe<Scalars['uuid']>;
3479
+ guestToken?: InputMaybe<Scalars['uuid']>;
3480
+ nextScheduledAt?: InputMaybe<string> | undefined;
3481
+ sharingSettingsId?: InputMaybe<Scalars['uuid']>;
3482
+ subject?: InputMaybe<string> | undefined;
3483
+ timeConfigurations?: InputMaybe<Scalars['json']>;
3484
+ data?: InputMaybe<ScheduleEmailReportCharts_Insert_Input | ScheduleEmailReportCharts_Insert_Input[]> | undefined;
3485
+ }>, TContext>;
3357
3486
  export declare const UpdateAdminMetricDocument = "\n mutation UpdateAdminMetric($externalMetricId: uuid!, $object: externalMetrics_insert_input!, $clientId: String!) {\n insert_clientDeletedMetrics_one(\n object: {externalMetricId: $externalMetricId, clientId: $clientId}\n ) {\n clientId\n externalMetricId\n }\n insert_externalMetrics_one(object: $object) {\n chartOptions\n clientId\n companyId\n companyIntegrationId\n createdAt\n createdBy\n description\n id\n inputFields\n integrationName\n isCreatedByClient\n isLive\n metricId\n metricQuery\n name\n outputColumns\n query\n timeGrain\n updatedAt\n selectedGroupBy\n isEnableGroupBy\n groupBy\n rlsConditions\n companyIntegration {\n name\n }\n clickActions\n }\n}\n ";
3358
3487
  export declare const useUpdateAdminMetricMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<UpdateAdminMetricMutation, TError, Exact<{
3359
3488
  externalMetricId: Scalars['uuid'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databrainhq/plugin",
3
- "version": "0.8.25",
3
+ "version": "0.9.1",
4
4
  "description": "Databrain app dashboard ui plugin.",
5
5
  "author": "",
6
6
  "license": "MIT",