From 7a2403d3f2162474f6ac6a940496f515cc145307 Mon Sep 17 00:00:00 2001 From: Ryo-Kgym Date: Mon, 8 Jul 2024 23:15:49 +0900 Subject: [PATCH 1/9] One-for-All-174 Set the background-color. --- apps/web/src/app/_layout/NavbarSection.tsx | 10 +++------- apps/web/src/app/household/_layout/HouseholdLayout.tsx | 4 +--- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/apps/web/src/app/_layout/NavbarSection.tsx b/apps/web/src/app/_layout/NavbarSection.tsx index 813ecc69..adf036b6 100644 --- a/apps/web/src/app/_layout/NavbarSection.tsx +++ b/apps/web/src/app/_layout/NavbarSection.tsx @@ -1,13 +1,9 @@ -/* - * Copyright (c) 2024 Ryo-Kgym. - */ - "use client"; +import Link from "next/link"; import { Navi } from "@app/_layout/navi"; import { AppShell, Burger, Group, ScrollArea } from "@mantine/core"; import { useDisclosure } from "@mantine/hooks"; -import Link from "next/link"; export const NavbarSection = ({ header, @@ -29,14 +25,14 @@ export const NavbarSection = ({ collapsed: { desktop: !opened, mobile: !opened }, }} > - +
{header}
- + {naviArray .filter(({ visible = true }) => visible) diff --git a/apps/web/src/app/household/_layout/HouseholdLayout.tsx b/apps/web/src/app/household/_layout/HouseholdLayout.tsx index 0d59652c..05db8293 100644 --- a/apps/web/src/app/household/_layout/HouseholdLayout.tsx +++ b/apps/web/src/app/household/_layout/HouseholdLayout.tsx @@ -1,6 +1,4 @@ -/* - * Copyright (c) 2024 Ryo-Kgym. - */ +"use client"; import { NavbarSection } from "@app/_layout/NavbarSection"; import { Navi } from "@app/_layout/navi"; From 254a53bc804bb2e5941666104e69d797f2784e8c Mon Sep 17 00:00:00 2001 From: Ryo-Kgym Date: Mon, 8 Jul 2024 23:25:29 +0900 Subject: [PATCH 2/9] One-for-All-174 Resolved the error. --- .../components/atoms/Table/TablePresenter.tsx | 33 ++++++++----------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/apps/web/src/components/atoms/Table/TablePresenter.tsx b/apps/web/src/components/atoms/Table/TablePresenter.tsx index c785847c..07675b91 100644 --- a/apps/web/src/components/atoms/Table/TablePresenter.tsx +++ b/apps/web/src/components/atoms/Table/TablePresenter.tsx @@ -2,10 +2,9 @@ * Copyright (c) 2024 Ryo-Kgym. */ -import { ActionIcon, Button, ScrollArea, Table } from "@mantine/core"; -import { IconArrowBarToDown } from "@tabler/icons-react"; - import type { RefObject } from "react"; +import { ActionIcon, ScrollArea, Table } from "@mantine/core"; +import { IconArrowBarToDown } from "@tabler/icons-react"; type TablePresenterProps = { headerTr: React.ReactNode; @@ -69,19 +68,15 @@ const JumpToBottom = ({ scrollToBottom, }: { scrollToBottom: (() => void) | undefined; -}) => - scrollToBottom ? ( - - ) : ( - <> - ); +}) => ( + +); From 52f219fad0bd1839287a4ba31b9cad339542ac91 Mon Sep 17 00:00:00 2001 From: Ryo-Kgym Date: Tue, 9 Jul 2024 12:19:03 +0900 Subject: [PATCH 3/9] One-for-All-174 Installed the mantine-datatable --- apps/web/package.json | 2 ++ pnpm-lock.yaml | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/apps/web/package.json b/apps/web/package.json index 7245da3a..a77e87ae 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -48,6 +48,7 @@ "@urql/exchange-refocus": "^1.1.0", "@urql/next": "^1.1.1", "@v3/graphql": "workspace:^", + "clsx": "^2.1.1", "dayjs": "^1.11.10", "embla-carousel-react": "8.0.0-rc18", "encoding-japanese": "^2.1.0", @@ -56,6 +57,7 @@ "graphql": "^16.8.1", "immer": "^10.0.4", "js-cookie": "^3.0.5", + "mantine-datatable": "^7.11.1", "next": "^14.1.4", "next-intercept-stdout": "^1.0.1", "react": "18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7b6ef00a..33b470c8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -285,6 +285,9 @@ importers: '@v3/graphql': specifier: workspace:^ version: link:../../packages/graphql + clsx: + specifier: ^2.1.1 + version: 2.1.1 dayjs: specifier: ^1.11.10 version: 1.11.11 @@ -309,6 +312,9 @@ importers: js-cookie: specifier: ^3.0.5 version: 3.0.5 + mantine-datatable: + specifier: ^7.11.1 + version: 7.11.1(@mantine/core@7.10.2)(@mantine/hooks@7.10.2)(clsx@2.1.1)(react@18.2.0) next: specifier: ^14.1.4 version: 14.2.4(@babel/core@7.24.7)(react-dom@18.2.0)(react@18.2.0)(sass@1.77.6) @@ -11973,6 +11979,20 @@ packages: dependencies: tmpl: 1.0.5 + /mantine-datatable@7.11.1(@mantine/core@7.10.2)(@mantine/hooks@7.10.2)(clsx@2.1.1)(react@18.2.0): + resolution: {integrity: sha512-YpTdmk1rRHengIyqjS2QI2GOIVtVUvBRdLClGJPnT1Sallunhx7aCFJWsvm3FQJO6yriz+/DexgQaOt8hZ6GNQ==} + peerDependencies: + '@mantine/core': '>=7.8' + '@mantine/hooks': '>=7.8' + clsx: '>=2' + react: '>=18.2' + dependencies: + '@mantine/core': 7.10.2(@mantine/hooks@7.10.2)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0) + '@mantine/hooks': 7.10.2(react@18.2.0) + clsx: 2.1.1 + react: 18.2.0 + dev: false + /map-cache@0.2.2: resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} engines: {node: '>=0.10.0'} From bb2feedb129b01a52d1674f7006b010bbecc679e Mon Sep 17 00:00:00 2001 From: Ryo-Kgym Date: Thu, 11 Jul 2024 13:24:49 +0900 Subject: [PATCH 4/9] One-for-All-174 Implemented the DataTable component. --- apps/web/src/app/layout.tsx | 2 + .../ui/v4/table/MantineDataTable.tsx | 62 +++++++++++++++++++ apps/web/src/components/ui/v4/table/index.ts | 1 + apps/web/src/styles/globals.css | 2 + 4 files changed, 67 insertions(+) create mode 100644 apps/web/src/components/ui/v4/table/MantineDataTable.tsx diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index 9d96ea28..040c8490 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -4,7 +4,9 @@ import "@styles/globals.css"; import "@mantine/core/styles.css"; +import "@mantine/core/styles.layer.css"; import "@mantine/dates/styles.css"; +import "mantine-datatable/styles.layer.css"; import { Metadata } from "next"; import { ClerkProvider } from "@clerk/nextjs"; diff --git a/apps/web/src/components/ui/v4/table/MantineDataTable.tsx b/apps/web/src/components/ui/v4/table/MantineDataTable.tsx new file mode 100644 index 00000000..97bb5bb9 --- /dev/null +++ b/apps/web/src/components/ui/v4/table/MantineDataTable.tsx @@ -0,0 +1,62 @@ +"use client"; + +import { ReactNode, useEffect, useState } from "react"; +import { DataTable } from "mantine-datatable"; + +const PAGE_SIZE = 30; + +type DataTableRowType = { id: string } & Record< + H, + string | number +>; + +type ColumnProps = { + accessor: H; + title?: string; + width?: number | string; + textAlign?: "left" | "center" | "right"; + render?: (record: Record) => ReactNode; +}; + +type DataTableProps = { + columns: ColumnProps[]; + records: DataTableRowType[]; + onRowClick?: (record: DataTableRowType) => void; +}; + +export const MantineDataTable = ({ + columns, + records: defaultRecords, + onRowClick, +}: DataTableProps) => { + const [page, setPage] = useState(1); + const [records, setRecords] = useState(defaultRecords.slice(0, PAGE_SIZE)); + + useEffect(() => { + const from = (page - 1) * PAGE_SIZE; + const to = from + PAGE_SIZE; + setRecords(defaultRecords.slice(from, to)); + }, [defaultRecords, page]); + + return ( + setPage(p)} + paginationSize="md" + loadingText="Loading..." + noRecordsText="No records found" + paginationText={({ from, to, totalRecords }) => + `Records ${from} - ${to} of ${totalRecords}` + } + paginationActiveBackgroundColor="green" + paginationActiveTextColor="#e6e348" + onRowClick={(record) => onRowClick?.(record.record)} + /> + ); +}; diff --git a/apps/web/src/components/ui/v4/table/index.ts b/apps/web/src/components/ui/v4/table/index.ts index 4e1175be..01636eb6 100644 --- a/apps/web/src/components/ui/v4/table/index.ts +++ b/apps/web/src/components/ui/v4/table/index.ts @@ -1 +1,2 @@ export { TailWindCSSTable as Table } from "./TailWindCSSTable"; +export { MantineDataTable as DataTable } from "./MantineDataTable"; diff --git a/apps/web/src/styles/globals.css b/apps/web/src/styles/globals.css index 6ef02606..5baf9609 100644 --- a/apps/web/src/styles/globals.css +++ b/apps/web/src/styles/globals.css @@ -1,3 +1,5 @@ +@layer mantine, mantine-datatable; + /* @tailwind base; */ /* Mantineと競合してしまうため直書きに変更(下記URLが@tailwind base;の直書きとのこと) https://unpkg.com/tailwindcss@3.0.23/src/css/preflight.css From 7855464eec0c7e6cdec5df93d5f89f674512db8e Mon Sep 17 00:00:00 2001 From: Ryo-Kgym Date: Thu, 11 Jul 2024 13:29:53 +0900 Subject: [PATCH 5/9] One-for-All-174 Replaced to the DataTable. --- .../account/_material/AccountPresenter.tsx | 41 --------------- apps/web/src/app/household/account/page.tsx | 2 +- .../components}/AccountContainer.tsx | 31 ++++------- .../components/AccountPresenter.tsx | 51 +++++++++++++++++++ .../household/accountList/components/type.ts | 3 ++ 5 files changed, 65 insertions(+), 63 deletions(-) delete mode 100644 apps/web/src/app/household/account/_material/AccountPresenter.tsx rename apps/web/src/{app/household/account/_material => features/household/accountList/components}/AccountContainer.tsx (67%) create mode 100644 apps/web/src/features/household/accountList/components/AccountPresenter.tsx create mode 100644 apps/web/src/features/household/accountList/components/type.ts diff --git a/apps/web/src/app/household/account/_material/AccountPresenter.tsx b/apps/web/src/app/household/account/_material/AccountPresenter.tsx deleted file mode 100644 index 775f039b..00000000 --- a/apps/web/src/app/household/account/_material/AccountPresenter.tsx +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) 2023 Ryo-Kgym. - */ - -import { TableProps } from "@components/atoms/Table"; -import { Table } from "@components/atoms/Table/index"; -import { Total } from "@components/molecules/Total/index"; -import { RangeDatePicker } from "@components/ui/date"; - -type AccountPresenterProps = { - fromDate: Date | null; - changeFromDate: (_: Date | null) => void; - toDate: Date | null; - changeToDate: (_: Date | null) => void; - tableProps: TableProps[]; - total: number | undefined; -}; -export const AccountPresenter = ({ - fromDate, - changeFromDate, - toDate, - changeToDate, - tableProps, - total, -}: AccountPresenterProps) => ( -
- - - - -); diff --git a/apps/web/src/app/household/account/page.tsx b/apps/web/src/app/household/account/page.tsx index 127ff3a4..f49767c2 100644 --- a/apps/web/src/app/household/account/page.tsx +++ b/apps/web/src/app/household/account/page.tsx @@ -2,7 +2,7 @@ * Copyright (c) 2023 Ryo-Kgym. */ -import { AccountContainer } from "./_material/AccountContainer"; +import { AccountContainer } from "@features/household/accountList/components/AccountContainer"; const Page = () => ; diff --git a/apps/web/src/app/household/account/_material/AccountContainer.tsx b/apps/web/src/features/household/accountList/components/AccountContainer.tsx similarity index 67% rename from apps/web/src/app/household/account/_material/AccountContainer.tsx rename to apps/web/src/features/household/accountList/components/AccountContainer.tsx index 446d78b7..593b9c61 100644 --- a/apps/web/src/app/household/account/_material/AccountContainer.tsx +++ b/apps/web/src/features/household/accountList/components/AccountContainer.tsx @@ -4,11 +4,11 @@ "use client"; +import { useState } from "react"; import { ResponsiveSwitcher } from "@app/household/_layout/ResponsiveSwitcher"; import { DailyTableByAccount } from "@components/organisms/daily_table/account"; -import { TableProps } from "@components/ui"; +import { AccountTableRow } from "@features/household/accountList/components/type"; import { useGetAccountBalanceList } from "@hooks/household/account/useGetAccountBalanceList"; -import { useState } from "react"; import { AccountPresenter } from "./AccountPresenter"; @@ -21,24 +21,12 @@ export const AccountContainer = () => { const { data, total } = useGetAccountBalanceList(fromDate, toDate!); - const tableProps: TableProps[] = - data?.account?.map((account) => { - return { - keyPrefix: "account", - columns: [ - { value: account?.accountName, align: "left" }, - { - value: Number( - account?.allDetailViewsAggregate.aggregate?.sum?.signedAmount, - ).toLocaleString(), - align: "right", - }, - ], - onClick: () => { - setSelectedAccountId(account?.id); - }, - }; - }) ?? []; + const records: AccountTableRow[] = + data?.account.map((a) => ({ + id: a.id, + accountName: a.accountName, + balance: a.allDetailViewsAggregate.aggregate?.sum?.signedAmount, + })) ?? []; return ( { changeFromDate={setFromDate} toDate={toDate} changeToDate={setToDate} - tableProps={tableProps} total={total} + records={records} + onRowClick={(record) => setSelectedAccountId(record.id.toString())} /> } second={ diff --git a/apps/web/src/features/household/accountList/components/AccountPresenter.tsx b/apps/web/src/features/household/accountList/components/AccountPresenter.tsx new file mode 100644 index 00000000..7847ea53 --- /dev/null +++ b/apps/web/src/features/household/accountList/components/AccountPresenter.tsx @@ -0,0 +1,51 @@ +/* + * Copyright (c) 2023 Ryo-Kgym. + */ + +import { Total } from "@components/molecules/Total"; +import { RangeDatePicker } from "@components/ui/date"; +import { DataTable } from "@components/ui/v4/table"; + +import { AccountTableRow } from "./type"; + +export const AccountPresenter = ({ + fromDate, + changeFromDate, + toDate, + changeToDate, + total, + records, + onRowClick, +}: { + fromDate: Date | null; + changeFromDate: (_: Date | null) => void; + toDate: Date | null; + changeToDate: (_: Date | null) => void; + total: number | undefined; + records: AccountTableRow[]; + onRowClick: (record: AccountTableRow) => void; +}) => ( +
+ + balance.toLocaleString(), + }, + ]} + records={records} + onRowClick={onRowClick} + /> + +
+); diff --git a/apps/web/src/features/household/accountList/components/type.ts b/apps/web/src/features/household/accountList/components/type.ts new file mode 100644 index 00000000..1533eb2f --- /dev/null +++ b/apps/web/src/features/household/accountList/components/type.ts @@ -0,0 +1,3 @@ +export type AccountTableRow = { + id: string; +} & Record<"accountName" | "balance", string | number>; From 12a8daa7e461f2c20896818dbfcfa6d95af2cf8b Mon Sep 17 00:00:00 2001 From: Ryo-Kgym Date: Thu, 11 Jul 2024 14:28:31 +0900 Subject: [PATCH 6/9] One-for-All-174 Changed the structure. --- .../household/hasura-codegen-example.yml | 17 - packages/graphql/household/hasura-codegen.cjs | 37 + packages/graphql/household/hasuraGraphql.tsx | 14117 ------------- packages/graphql/household/index.ts | 8535 +++++++- packages/graphql/household/type.ts | 16752 ++++++++++++++++ packages/graphql/package.json | 2 +- packages/graphql/public/hasura-codegen.cjs | 4 +- tooling/eslint/base.cjs | 2 - 8 files changed, 25326 insertions(+), 14140 deletions(-) delete mode 100644 packages/graphql/household/hasura-codegen-example.yml create mode 100644 packages/graphql/household/hasura-codegen.cjs delete mode 100644 packages/graphql/household/hasuraGraphql.tsx create mode 100644 packages/graphql/household/type.ts diff --git a/packages/graphql/household/hasura-codegen-example.yml b/packages/graphql/household/hasura-codegen-example.yml deleted file mode 100644 index 50c626eb..00000000 --- a/packages/graphql/household/hasura-codegen-example.yml +++ /dev/null @@ -1,17 +0,0 @@ -overwrite: true -schema: "http://localhost:8282/v1/graphql" -documents: "./household/schema/**/*.graphql" -generates: - ./household/hasuraGraphql.tsx: - config: - withHooks: true - plugins: - - "typescript" - - "typescript-operations" - - "typescript-urql" - hooks: - afterOneFileWrite: - - prettier --write - ./hasura-graphql.schema.json: - plugins: - - "introspection" diff --git a/packages/graphql/household/hasura-codegen.cjs b/packages/graphql/household/hasura-codegen.cjs new file mode 100644 index 00000000..5265a2fd --- /dev/null +++ b/packages/graphql/household/hasura-codegen.cjs @@ -0,0 +1,37 @@ +const path = require('path'); +require('dotenv').config({ path: path.join(__dirname, '../.env') }); + +/* +echo ONEFORALL_GRAPHQL_ENDPOINT=https://hoge >> ../.env +*/ + +module.exports = { + overwrite: true, + schema: process.env.ONEFORALL_GRAPHQL_ENDPOINT, + documents: "./household/**/**.graphql", + generates: { + "./household/index.ts": { + config: { + onlyOperationTypes: true, + withHooks: true, + }, + plugins: ["typescript", "typescript-operations", "typescript-urql"], + hooks: { + afterOneFileWrite: ["prettier --write"], + }, + }, + "./household/type.ts": { + config: { + enumsAsTypes: true, + onlyOperationTypes: true, + }, + plugins: ["typescript", "typescript-operations", "typed-document-node"], + hooks: { + afterOneFileWrite: ["prettier --write"], + }, + }, + "./household/schema.json": { + plugins: ["introspection"], + }, + }, +}; diff --git a/packages/graphql/household/hasuraGraphql.tsx b/packages/graphql/household/hasuraGraphql.tsx deleted file mode 100644 index 0cc20fdc..00000000 --- a/packages/graphql/household/hasuraGraphql.tsx +++ /dev/null @@ -1,14117 +0,0 @@ -import gql from "graphql-tag"; -import * as Urql from "urql"; - -export type Maybe = T | null; -export type InputMaybe = Maybe; -export type Exact = { - [K in keyof T]: T[K]; -}; -export type MakeOptional = Omit & { - [SubKey in K]?: Maybe; -}; -export type MakeMaybe = Omit & { - [SubKey in K]: Maybe; -}; -export type Omit = Pick>; -/** All built-in and custom scalars, mapped to their actual values */ -export type Scalars = { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; - date: any; - json: any; - numeric: any; - timestamp: any; - timestamptz: any; -}; - -/** columns and relationships of "affiliation" */ -export type Affiliation = { - __typename?: "Affiliation"; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - groupRole: Scalars["String"]; - id: Scalars["String"]; - /** An object relationship */ - user: User; - userId: Scalars["String"]; -}; - -/** aggregated selection of "affiliation" */ -export type AffiliationAggregate = { - __typename?: "AffiliationAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type AffiliationAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "affiliation" */ -export type AffiliationAggregateFields = { - __typename?: "AffiliationAggregateFields"; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; -}; - -/** aggregate fields of "affiliation" */ -export type AffiliationAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "affiliation" */ -export type AffiliationAggregateOrderBy = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "affiliation" */ -export type AffiliationArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "affiliation". All fields are combined with a logical 'AND'. */ -export type AffiliationBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - group?: InputMaybe; - groupId?: InputMaybe; - groupRole?: InputMaybe; - id?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -/** unique or primary key constraints on table "affiliation" */ -export enum AffiliationConstraint { - /** unique or primary key constraint on columns "id" */ - AffiliationPkey = "affiliation_pkey", -} - -/** input type for inserting data into table "affiliation" */ -export type AffiliationInsertInput = { - groupId?: InputMaybe; - groupRole?: InputMaybe; - id?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -/** aggregate max on columns */ -export type AffiliationMaxFields = { - __typename?: "AffiliationMaxFields"; - groupId?: Maybe; - groupRole?: Maybe; - id?: Maybe; - userId?: Maybe; -}; - -/** order by max() on columns of table "affiliation" */ -export type AffiliationMaxOrderBy = { - groupId?: InputMaybe; - groupRole?: InputMaybe; - id?: InputMaybe; - userId?: InputMaybe; -}; - -/** aggregate min on columns */ -export type AffiliationMinFields = { - __typename?: "AffiliationMinFields"; - groupId?: Maybe; - groupRole?: Maybe; - id?: Maybe; - userId?: Maybe; -}; - -/** order by min() on columns of table "affiliation" */ -export type AffiliationMinOrderBy = { - groupId?: InputMaybe; - groupRole?: InputMaybe; - id?: InputMaybe; - userId?: InputMaybe; -}; - -/** response of any mutation on the table "affiliation" */ -export type AffiliationMutationResponse = { - __typename?: "AffiliationMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** on_conflict condition type for table "affiliation" */ -export type AffiliationOnConflict = { - constraint: AffiliationConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "affiliation". */ -export type AffiliationOrderBy = { - group?: InputMaybe; - groupId?: InputMaybe; - groupRole?: InputMaybe; - id?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -/** select columns of table "affiliation" */ -export enum AffiliationSelectColumn { - /** column name */ - GroupId = "groupId", - /** column name */ - GroupRole = "groupRole", - /** column name */ - Id = "id", - /** column name */ - UserId = "userId", -} - -/** Streaming cursor of the table "affiliation" */ -export type AffiliationStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: AffiliationStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type AffiliationStreamCursorValueInput = { - groupId?: InputMaybe; - groupRole?: InputMaybe; - id?: InputMaybe; - userId?: InputMaybe; -}; - -/** placeholder for update columns of table "affiliation" (current role has no relevant permissions) */ -export enum AffiliationUpdateColumn { - /** placeholder (do not use) */ - Placeholder = "_PLACEHOLDER", -} - -/** columns and relationships of "app" */ -export type App = { - __typename?: "App"; - createUserId: Scalars["String"]; - /** An array relationship */ - fields: Array; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - id: Scalars["String"]; - /** An array relationship */ - importFileHistories: Array; - /** An object relationship */ - importFileSetting?: Maybe; - name: Scalars["String"]; - /** An array relationship */ - records: Array; - /** An aggregate relationship */ - recordsAggregate: RecordAggregate; - /** An object relationship */ - user: User; - /** An array relationship */ - viewApps: Array; -}; - -/** columns and relationships of "app" */ -export type AppFieldsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "app" */ -export type AppImportFileHistoriesArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "app" */ -export type AppRecordsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "app" */ -export type AppRecordsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "app" */ -export type AppViewAppsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** order by aggregate values of table "app" */ -export type AppAggregateOrderBy = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "app" */ -export type AppArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "app". All fields are combined with a logical 'AND'. */ -export type AppBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - createUserId?: InputMaybe; - fields?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - importFileHistories?: InputMaybe; - importFileSetting?: InputMaybe; - name?: InputMaybe; - records?: InputMaybe; - recordsAggregate?: InputMaybe; - user?: InputMaybe; - viewApps?: InputMaybe; -}; - -/** unique or primary key constraints on table "app" */ -export enum AppConstraint { - /** unique or primary key constraint on columns "id" */ - AppPkey = "app_pkey", -} - -/** input type for inserting data into table "app" */ -export type AppInsertInput = { - createUserId?: InputMaybe; - fields?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - importFileHistories?: InputMaybe; - importFileSetting?: InputMaybe; - name?: InputMaybe; - records?: InputMaybe; - user?: InputMaybe; - viewApps?: InputMaybe; -}; - -/** order by max() on columns of table "app" */ -export type AppMaxOrderBy = { - createUserId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** order by min() on columns of table "app" */ -export type AppMinOrderBy = { - createUserId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** response of any mutation on the table "app" */ -export type AppMutationResponse = { - __typename?: "AppMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "app" */ -export type AppObjRelInsertInput = { - data: AppInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "app" */ -export type AppOnConflict = { - constraint: AppConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "app". */ -export type AppOrderBy = { - createUserId?: InputMaybe; - fieldsAggregate?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - importFileHistoriesAggregate?: InputMaybe; - importFileSetting?: InputMaybe; - name?: InputMaybe; - recordsAggregate?: InputMaybe; - user?: InputMaybe; - viewAppsAggregate?: InputMaybe; -}; - -/** primary key columns input for table: app */ -export type AppPkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "app" */ -export enum AppSelectColumn { - /** column name */ - CreateUserId = "createUserId", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - Name = "name", -} - -/** input type for updating data in table "app" */ -export type AppSetInput = { - name?: InputMaybe; -}; - -/** Streaming cursor of the table "app" */ -export type AppStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: AppStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type AppStreamCursorValueInput = { - createUserId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** update columns of table "app" */ -export enum AppUpdateColumn { - /** column name */ - Name = "name", -} - -export type AppUpdates = { - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: AppBoolExp; -}; - -/** columns and relationships of "application" */ -export type Application = { - __typename?: "Application"; - /** An array relationship */ - groupApplications: Array; - /** An aggregate relationship */ - groupApplicationsAggregate: GroupApplicationAggregate; - id: Scalars["String"]; - name: Scalars["String"]; - topUrl: Scalars["String"]; - validFlag?: Maybe; -}; - -/** columns and relationships of "application" */ -export type ApplicationGroupApplicationsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "application" */ -export type ApplicationGroupApplicationsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "application" */ -export type ApplicationAggregate = { - __typename?: "ApplicationAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "application" */ -export type ApplicationAggregateFields = { - __typename?: "ApplicationAggregateFields"; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; -}; - -/** aggregate fields of "application" */ -export type ApplicationAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "application". All fields are combined with a logical 'AND'. */ -export type ApplicationBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - groupApplications?: InputMaybe; - groupApplicationsAggregate?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - topUrl?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** aggregate max on columns */ -export type ApplicationMaxFields = { - __typename?: "ApplicationMaxFields"; - id?: Maybe; - name?: Maybe; - topUrl?: Maybe; -}; - -/** aggregate min on columns */ -export type ApplicationMinFields = { - __typename?: "ApplicationMinFields"; - id?: Maybe; - name?: Maybe; - topUrl?: Maybe; -}; - -/** Ordering options when selecting data from "application". */ -export type ApplicationOrderBy = { - groupApplicationsAggregate?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - topUrl?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** select columns of table "application" */ -export enum ApplicationSelectColumn { - /** column name */ - Id = "id", - /** column name */ - Name = "name", - /** column name */ - TopUrl = "topUrl", - /** column name */ - ValidFlag = "validFlag", -} - -/** Streaming cursor of the table "application" */ -export type ApplicationStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: ApplicationStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type ApplicationStreamCursorValueInput = { - id?: InputMaybe; - name?: InputMaybe; - topUrl?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ -export type BooleanComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _isNull?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** ordering argument of a cursor */ -export enum CursorOrdering { - /** ascending ordering of the cursor */ - Asc = "ASC", - /** descending ordering of the cursor */ - Desc = "DESC", -} - -/** Boolean expression to compare columns of type "date". All fields are combined with logical 'AND'. */ -export type DateComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _isNull?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** columns and relationships of "field" */ -export type Field = { - __typename?: "Field"; - /** An object relationship */ - app: App; - appId: Scalars["String"]; - fieldKind: Scalars["String"]; - id: Scalars["String"]; - index: Scalars["Int"]; - name: Scalars["String"]; - options?: Maybe; -}; - -/** columns and relationships of "field" */ -export type FieldOptionsArgs = { - path?: InputMaybe; -}; - -/** order by aggregate values of table "field" */ -export type FieldAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "field" */ -export type FieldArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** order by avg() on columns of table "field" */ -export type FieldAvgOrderBy = { - index?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "field". All fields are combined with a logical 'AND'. */ -export type FieldBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - app?: InputMaybe; - appId?: InputMaybe; - fieldKind?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - options?: InputMaybe; -}; - -/** unique or primary key constraints on table "field" */ -export enum FieldConstraint { - /** unique or primary key constraint on columns "id" */ - FieldPkey = "field_pkey", -} - -/** input type for incrementing numeric columns in table "field" */ -export type FieldIncInput = { - index?: InputMaybe; -}; - -/** input type for inserting data into table "field" */ -export type FieldInsertInput = { - app?: InputMaybe; - appId?: InputMaybe; - fieldKind?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - options?: InputMaybe; -}; - -/** order by max() on columns of table "field" */ -export type FieldMaxOrderBy = { - appId?: InputMaybe; - fieldKind?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; -}; - -/** order by min() on columns of table "field" */ -export type FieldMinOrderBy = { - appId?: InputMaybe; - fieldKind?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; -}; - -/** response of any mutation on the table "field" */ -export type FieldMutationResponse = { - __typename?: "FieldMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** on_conflict condition type for table "field" */ -export type FieldOnConflict = { - constraint: FieldConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "field". */ -export type FieldOrderBy = { - app?: InputMaybe; - appId?: InputMaybe; - fieldKind?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - options?: InputMaybe; -}; - -/** primary key columns input for table: field */ -export type FieldPkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "field" */ -export enum FieldSelectColumn { - /** column name */ - AppId = "appId", - /** column name */ - FieldKind = "fieldKind", - /** column name */ - Id = "id", - /** column name */ - Index = "index", - /** column name */ - Name = "name", - /** column name */ - Options = "options", -} - -/** input type for updating data in table "field" */ -export type FieldSetInput = { - fieldKind?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - options?: InputMaybe; -}; - -/** order by stddev() on columns of table "field" */ -export type FieldStddevOrderBy = { - index?: InputMaybe; -}; - -/** order by stddevPop() on columns of table "field" */ -export type FieldStddevPopOrderBy = { - index?: InputMaybe; -}; - -/** order by stddevSamp() on columns of table "field" */ -export type FieldStddevSampOrderBy = { - index?: InputMaybe; -}; - -/** Streaming cursor of the table "field" */ -export type FieldStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: FieldStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type FieldStreamCursorValueInput = { - appId?: InputMaybe; - fieldKind?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - options?: InputMaybe; -}; - -/** order by sum() on columns of table "field" */ -export type FieldSumOrderBy = { - index?: InputMaybe; -}; - -/** update columns of table "field" */ -export enum FieldUpdateColumn { - /** column name */ - FieldKind = "fieldKind", - /** column name */ - Index = "index", - /** column name */ - Name = "name", - /** column name */ - Options = "options", -} - -export type FieldUpdates = { - /** increments the numeric columns with given value of the filtered values */ - _inc?: InputMaybe; - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: FieldBoolExp; -}; - -/** order by varPop() on columns of table "field" */ -export type FieldVarPopOrderBy = { - index?: InputMaybe; -}; - -/** order by varSamp() on columns of table "field" */ -export type FieldVarSampOrderBy = { - index?: InputMaybe; -}; - -/** order by variance() on columns of table "field" */ -export type FieldVarianceOrderBy = { - index?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type Group = { - __typename?: "Group"; - /** An array relationship */ - accounts: Array; - /** An aggregate relationship */ - accountsAggregate: HouseholdAccountAggregate; - /** An array relationship */ - affiliations: Array; - /** An aggregate relationship */ - affiliationsAggregate: AffiliationAggregate; - /** An array relationship */ - apps: Array; - /** An array relationship */ - categories: Array; - /** An array relationship */ - creditCardDetails: Array; - /** An aggregate relationship */ - creditCardDetailsAggregate: HouseholdCreditCardDetailAggregate; - /** An array relationship */ - creditCardSummaries: Array; - /** An aggregate relationship */ - creditCardSummariesAggregate: HouseholdCreditCardSummaryAggregate; - /** An array relationship */ - dailyDetails: Array; - /** An aggregate relationship */ - dailyDetailsAggregate: HouseholdDailyDetailAggregate; - /** An array relationship */ - dashboardSettings: Array; - /** An array relationship */ - depositCategories: Array; - /** An aggregate relationship */ - depositCategoriesAggregate: HouseholdDepositCategoryAggregate; - /** An array relationship */ - favoriteFilters: Array; - /** An aggregate relationship */ - favoriteFiltersAggregate: HouseholdFavoriteFilterAggregate; - /** An array relationship */ - genres: Array; - /** An aggregate relationship */ - genresAggregate: HouseholdGenreAggregate; - /** An array relationship */ - groupApplications: Array; - /** An aggregate relationship */ - groupApplicationsAggregate: GroupApplicationAggregate; - id: Scalars["String"]; - /** An array relationship */ - importFileHistories: Array; - /** An aggregate relationship */ - importFileHistoriesAggregate: HouseholdImportFileHistoryAggregate; - name: Scalars["String"]; - /** An array relationship */ - summaryCategories: Array; - /** An aggregate relationship */ - summaryCategoriesAggregate: HouseholdSummaryCategoryAggregate; - /** An array relationship */ - totalByCategoryView: Array; - /** An aggregate relationship */ - totalByCategoryViewAggregate: HouseholdTotalByCategoryViewAggregate; - /** An object relationship */ - transferCategory?: Maybe; - /** An array relationship */ - views: Array; -}; - -/** columns and relationships of "group" */ -export type GroupAccountsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupAccountsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupAffiliationsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupAffiliationsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupAppsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupCategoriesArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupCreditCardDetailsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupCreditCardDetailsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupCreditCardSummariesArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupCreditCardSummariesAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupDailyDetailsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupDailyDetailsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupDashboardSettingsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupDepositCategoriesArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupDepositCategoriesAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupFavoriteFiltersArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupFavoriteFiltersAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupGenresArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupGenresAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupGroupApplicationsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupGroupApplicationsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupImportFileHistoriesArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupImportFileHistoriesAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupSummaryCategoriesArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupSummaryCategoriesAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupTotalByCategoryViewArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupTotalByCategoryViewAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "group" */ -export type GroupViewsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "group" */ -export type GroupAggregate = { - __typename?: "GroupAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "group" */ -export type GroupAggregateFields = { - __typename?: "GroupAggregateFields"; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; -}; - -/** aggregate fields of "group" */ -export type GroupAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** columns and relationships of "group_application" */ -export type GroupApplication = { - __typename?: "GroupApplication"; - /** An object relationship */ - application: Application; - applicationId: Scalars["String"]; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - id: Scalars["String"]; -}; - -/** aggregated selection of "group_application" */ -export type GroupApplicationAggregate = { - __typename?: "GroupApplicationAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type GroupApplicationAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "group_application" */ -export type GroupApplicationAggregateFields = { - __typename?: "GroupApplicationAggregateFields"; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; -}; - -/** aggregate fields of "group_application" */ -export type GroupApplicationAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "group_application" */ -export type GroupApplicationAggregateOrderBy = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "group_application". All fields are combined with a logical 'AND'. */ -export type GroupApplicationBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - application?: InputMaybe; - applicationId?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; -}; - -/** aggregate max on columns */ -export type GroupApplicationMaxFields = { - __typename?: "GroupApplicationMaxFields"; - applicationId?: Maybe; - groupId?: Maybe; - id?: Maybe; -}; - -/** order by max() on columns of table "group_application" */ -export type GroupApplicationMaxOrderBy = { - applicationId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; -}; - -/** aggregate min on columns */ -export type GroupApplicationMinFields = { - __typename?: "GroupApplicationMinFields"; - applicationId?: Maybe; - groupId?: Maybe; - id?: Maybe; -}; - -/** order by min() on columns of table "group_application" */ -export type GroupApplicationMinOrderBy = { - applicationId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; -}; - -/** Ordering options when selecting data from "group_application". */ -export type GroupApplicationOrderBy = { - application?: InputMaybe; - applicationId?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; -}; - -/** select columns of table "group_application" */ -export enum GroupApplicationSelectColumn { - /** column name */ - ApplicationId = "applicationId", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", -} - -/** Streaming cursor of the table "group_application" */ -export type GroupApplicationStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: GroupApplicationStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type GroupApplicationStreamCursorValueInput = { - applicationId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "group". All fields are combined with a logical 'AND'. */ -export type GroupBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - accounts?: InputMaybe; - accountsAggregate?: InputMaybe; - affiliations?: InputMaybe; - affiliationsAggregate?: InputMaybe; - apps?: InputMaybe; - categories?: InputMaybe; - creditCardDetails?: InputMaybe; - creditCardDetailsAggregate?: InputMaybe; - creditCardSummaries?: InputMaybe; - creditCardSummariesAggregate?: InputMaybe; - dailyDetails?: InputMaybe; - dailyDetailsAggregate?: InputMaybe; - dashboardSettings?: InputMaybe; - depositCategories?: InputMaybe; - depositCategoriesAggregate?: InputMaybe; - favoriteFilters?: InputMaybe; - favoriteFiltersAggregate?: InputMaybe; - genres?: InputMaybe; - genresAggregate?: InputMaybe; - groupApplications?: InputMaybe; - groupApplicationsAggregate?: InputMaybe; - id?: InputMaybe; - importFileHistories?: InputMaybe; - importFileHistoriesAggregate?: InputMaybe; - name?: InputMaybe; - summaryCategories?: InputMaybe; - summaryCategoriesAggregate?: InputMaybe; - totalByCategoryView?: InputMaybe; - totalByCategoryViewAggregate?: InputMaybe; - transferCategory?: InputMaybe; - views?: InputMaybe; -}; - -/** aggregate max on columns */ -export type GroupMaxFields = { - __typename?: "GroupMaxFields"; - id?: Maybe; - name?: Maybe; -}; - -/** aggregate min on columns */ -export type GroupMinFields = { - __typename?: "GroupMinFields"; - id?: Maybe; - name?: Maybe; -}; - -/** Ordering options when selecting data from "group". */ -export type GroupOrderBy = { - accountsAggregate?: InputMaybe; - affiliationsAggregate?: InputMaybe; - appsAggregate?: InputMaybe; - categoriesAggregate?: InputMaybe; - creditCardDetailsAggregate?: InputMaybe; - creditCardSummariesAggregate?: InputMaybe; - dailyDetailsAggregate?: InputMaybe; - dashboardSettingsAggregate?: InputMaybe; - depositCategoriesAggregate?: InputMaybe; - favoriteFiltersAggregate?: InputMaybe; - genresAggregate?: InputMaybe; - groupApplicationsAggregate?: InputMaybe; - id?: InputMaybe; - importFileHistoriesAggregate?: InputMaybe; - name?: InputMaybe; - summaryCategoriesAggregate?: InputMaybe; - totalByCategoryViewAggregate?: InputMaybe; - transferCategory?: InputMaybe; - viewsAggregate?: InputMaybe; -}; - -/** select columns of table "group" */ -export enum GroupSelectColumn { - /** column name */ - Id = "id", - /** column name */ - Name = "name", -} - -/** Streaming cursor of the table "group" */ -export type GroupStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: GroupStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type GroupStreamCursorValueInput = { - id?: InputMaybe; - name?: InputMaybe; -}; - -/** columns and relationships of "household.account" */ -export type HouseholdAccount = { - __typename?: "HouseholdAccount"; - /** An array relationship */ - allDetailViews: Array; - /** An aggregate relationship */ - allDetailViewsAggregate: HouseholdAllDetailViewAggregate; - /** An array relationship */ - creditCardSummaries: Array; - /** An aggregate relationship */ - creditCardSummariesAggregate: HouseholdCreditCardSummaryAggregate; - /** An array relationship */ - dailyDetails: Array; - /** An aggregate relationship */ - dailyDetailsAggregate: HouseholdDailyDetailAggregate; - displayOrder: Scalars["Int"]; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - id: Scalars["String"]; - name: Scalars["String"]; - validFlag?: Maybe; -}; - -/** columns and relationships of "household.account" */ -export type HouseholdAccountAllDetailViewsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.account" */ -export type HouseholdAccountAllDetailViewsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.account" */ -export type HouseholdAccountCreditCardSummariesArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.account" */ -export type HouseholdAccountCreditCardSummariesAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.account" */ -export type HouseholdAccountDailyDetailsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.account" */ -export type HouseholdAccountDailyDetailsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "household.account" */ -export type HouseholdAccountAggregate = { - __typename?: "HouseholdAccountAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdAccountAggregateBoolExp = { - bool_and?: InputMaybe; - bool_or?: InputMaybe; - count?: InputMaybe; -}; - -/** aggregate fields of "household.account" */ -export type HouseholdAccountAggregateFields = { - __typename?: "HouseholdAccountAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "household.account" */ -export type HouseholdAccountAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.account" */ -export type HouseholdAccountAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type HouseholdAccountAvgFields = { - __typename?: "HouseholdAccountAvgFields"; - displayOrder?: Maybe; -}; - -/** order by avg() on columns of table "household.account" */ -export type HouseholdAccountAvgOrderBy = { - displayOrder?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.account". All fields are combined with a logical 'AND'. */ -export type HouseholdAccountBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - allDetailViews?: InputMaybe; - allDetailViewsAggregate?: InputMaybe; - creditCardSummaries?: InputMaybe; - creditCardSummariesAggregate?: InputMaybe; - dailyDetails?: InputMaybe; - dailyDetailsAggregate?: InputMaybe; - displayOrder?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** unique or primary key constraints on table "household.account" */ -export enum HouseholdAccountConstraint { - /** unique or primary key constraint on columns "id" */ - AccountPkey = "account_pkey", -} - -/** input type for inserting data into table "household.account" */ -export type HouseholdAccountInsertInput = { - creditCardSummaries?: InputMaybe; - dailyDetails?: InputMaybe; - displayOrder?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdAccountMaxFields = { - __typename?: "HouseholdAccountMaxFields"; - displayOrder?: Maybe; - groupId?: Maybe; - id?: Maybe; - name?: Maybe; -}; - -/** order by max() on columns of table "household.account" */ -export type HouseholdAccountMaxOrderBy = { - displayOrder?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdAccountMinFields = { - __typename?: "HouseholdAccountMinFields"; - displayOrder?: Maybe; - groupId?: Maybe; - id?: Maybe; - name?: Maybe; -}; - -/** order by min() on columns of table "household.account" */ -export type HouseholdAccountMinOrderBy = { - displayOrder?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** response of any mutation on the table "household.account" */ -export type HouseholdAccountMutationResponse = { - __typename?: "HouseholdAccountMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "household.account" */ -export type HouseholdAccountObjRelInsertInput = { - data: HouseholdAccountInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "household.account" */ -export type HouseholdAccountOnConflict = { - constraint: HouseholdAccountConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.account". */ -export type HouseholdAccountOrderBy = { - allDetailViewsAggregate?: InputMaybe; - creditCardSummariesAggregate?: InputMaybe; - dailyDetailsAggregate?: InputMaybe; - displayOrder?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** select columns of table "household.account" */ -export enum HouseholdAccountSelectColumn { - /** column name */ - DisplayOrder = "displayOrder", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - Name = "name", - /** column name */ - ValidFlag = "validFlag", -} - -/** select "householdAccountAggregateBoolExpBool_andArgumentsColumns" columns of table "household.account" */ -export enum HouseholdAccountSelectColumnHouseholdAccountAggregateBoolExpBool_AndArgumentsColumns { - /** column name */ - ValidFlag = "validFlag", -} - -/** select "householdAccountAggregateBoolExpBool_orArgumentsColumns" columns of table "household.account" */ -export enum HouseholdAccountSelectColumnHouseholdAccountAggregateBoolExpBool_OrArgumentsColumns { - /** column name */ - ValidFlag = "validFlag", -} - -/** aggregate stddev on columns */ -export type HouseholdAccountStddevFields = { - __typename?: "HouseholdAccountStddevFields"; - displayOrder?: Maybe; -}; - -/** order by stddev() on columns of table "household.account" */ -export type HouseholdAccountStddevOrderBy = { - displayOrder?: InputMaybe; -}; - -/** aggregate stddevPop on columns */ -export type HouseholdAccountStddevPopFields = { - __typename?: "HouseholdAccountStddevPopFields"; - displayOrder?: Maybe; -}; - -/** order by stddevPop() on columns of table "household.account" */ -export type HouseholdAccountStddevPopOrderBy = { - displayOrder?: InputMaybe; -}; - -/** aggregate stddevSamp on columns */ -export type HouseholdAccountStddevSampFields = { - __typename?: "HouseholdAccountStddevSampFields"; - displayOrder?: Maybe; -}; - -/** order by stddevSamp() on columns of table "household.account" */ -export type HouseholdAccountStddevSampOrderBy = { - displayOrder?: InputMaybe; -}; - -/** Streaming cursor of the table "household_account" */ -export type HouseholdAccountStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdAccountStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdAccountStreamCursorValueInput = { - displayOrder?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type HouseholdAccountSumFields = { - __typename?: "HouseholdAccountSumFields"; - displayOrder?: Maybe; -}; - -/** order by sum() on columns of table "household.account" */ -export type HouseholdAccountSumOrderBy = { - displayOrder?: InputMaybe; -}; - -/** placeholder for update columns of table "household.account" (current role has no relevant permissions) */ -export enum HouseholdAccountUpdateColumn { - /** placeholder (do not use) */ - Placeholder = "_PLACEHOLDER", -} - -/** aggregate varPop on columns */ -export type HouseholdAccountVarPopFields = { - __typename?: "HouseholdAccountVarPopFields"; - displayOrder?: Maybe; -}; - -/** order by varPop() on columns of table "household.account" */ -export type HouseholdAccountVarPopOrderBy = { - displayOrder?: InputMaybe; -}; - -/** aggregate varSamp on columns */ -export type HouseholdAccountVarSampFields = { - __typename?: "HouseholdAccountVarSampFields"; - displayOrder?: Maybe; -}; - -/** order by varSamp() on columns of table "household.account" */ -export type HouseholdAccountVarSampOrderBy = { - displayOrder?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type HouseholdAccountVarianceFields = { - __typename?: "HouseholdAccountVarianceFields"; - displayOrder?: Maybe; -}; - -/** order by variance() on columns of table "household.account" */ -export type HouseholdAccountVarianceOrderBy = { - displayOrder?: InputMaybe; -}; - -/** columns and relationships of "household.all_detail_view" */ -export type HouseholdAllDetailView = { - __typename?: "HouseholdAllDetailView"; - accountId?: Maybe; - categoryId?: Maybe; - date?: Maybe; - genreId?: Maybe; - groupId?: Maybe; - id?: Maybe; - iocomeType?: Maybe; - memo?: Maybe; - originalAmount?: Maybe; - signedAmount?: Maybe; - type?: Maybe; -}; - -/** aggregated selection of "household.all_detail_view" */ -export type HouseholdAllDetailViewAggregate = { - __typename?: "HouseholdAllDetailViewAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdAllDetailViewAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "household.all_detail_view" */ -export type HouseholdAllDetailViewAggregateFields = { - __typename?: "HouseholdAllDetailViewAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "household.all_detail_view" */ -export type HouseholdAllDetailViewAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.all_detail_view" */ -export type HouseholdAllDetailViewAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type HouseholdAllDetailViewAvgFields = { - __typename?: "HouseholdAllDetailViewAvgFields"; - originalAmount?: Maybe; - signedAmount?: Maybe; -}; - -/** order by avg() on columns of table "household.all_detail_view" */ -export type HouseholdAllDetailViewAvgOrderBy = { - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.all_detail_view". All fields are combined with a logical 'AND'. */ -export type HouseholdAllDetailViewBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - accountId?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; - type?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdAllDetailViewMaxFields = { - __typename?: "HouseholdAllDetailViewMaxFields"; - accountId?: Maybe; - categoryId?: Maybe; - date?: Maybe; - genreId?: Maybe; - groupId?: Maybe; - id?: Maybe; - iocomeType?: Maybe; - memo?: Maybe; - originalAmount?: Maybe; - signedAmount?: Maybe; - type?: Maybe; -}; - -/** order by max() on columns of table "household.all_detail_view" */ -export type HouseholdAllDetailViewMaxOrderBy = { - accountId?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; - type?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdAllDetailViewMinFields = { - __typename?: "HouseholdAllDetailViewMinFields"; - accountId?: Maybe; - categoryId?: Maybe; - date?: Maybe; - genreId?: Maybe; - groupId?: Maybe; - id?: Maybe; - iocomeType?: Maybe; - memo?: Maybe; - originalAmount?: Maybe; - signedAmount?: Maybe; - type?: Maybe; -}; - -/** order by min() on columns of table "household.all_detail_view" */ -export type HouseholdAllDetailViewMinOrderBy = { - accountId?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; - type?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.all_detail_view". */ -export type HouseholdAllDetailViewOrderBy = { - accountId?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; - type?: InputMaybe; -}; - -/** select columns of table "household.all_detail_view" */ -export enum HouseholdAllDetailViewSelectColumn { - /** column name */ - AccountId = "accountId", - /** column name */ - CategoryId = "categoryId", - /** column name */ - Date = "date", - /** column name */ - GenreId = "genreId", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - IocomeType = "iocomeType", - /** column name */ - Memo = "memo", - /** column name */ - OriginalAmount = "originalAmount", - /** column name */ - SignedAmount = "signedAmount", - /** column name */ - Type = "type", -} - -/** aggregate stddev on columns */ -export type HouseholdAllDetailViewStddevFields = { - __typename?: "HouseholdAllDetailViewStddevFields"; - originalAmount?: Maybe; - signedAmount?: Maybe; -}; - -/** order by stddev() on columns of table "household.all_detail_view" */ -export type HouseholdAllDetailViewStddevOrderBy = { - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; -}; - -/** aggregate stddevPop on columns */ -export type HouseholdAllDetailViewStddevPopFields = { - __typename?: "HouseholdAllDetailViewStddevPopFields"; - originalAmount?: Maybe; - signedAmount?: Maybe; -}; - -/** order by stddevPop() on columns of table "household.all_detail_view" */ -export type HouseholdAllDetailViewStddevPopOrderBy = { - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; -}; - -/** aggregate stddevSamp on columns */ -export type HouseholdAllDetailViewStddevSampFields = { - __typename?: "HouseholdAllDetailViewStddevSampFields"; - originalAmount?: Maybe; - signedAmount?: Maybe; -}; - -/** order by stddevSamp() on columns of table "household.all_detail_view" */ -export type HouseholdAllDetailViewStddevSampOrderBy = { - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; -}; - -/** Streaming cursor of the table "household_all_detail_view" */ -export type HouseholdAllDetailViewStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdAllDetailViewStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdAllDetailViewStreamCursorValueInput = { - accountId?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; - type?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type HouseholdAllDetailViewSumFields = { - __typename?: "HouseholdAllDetailViewSumFields"; - originalAmount?: Maybe; - signedAmount?: Maybe; -}; - -/** order by sum() on columns of table "household.all_detail_view" */ -export type HouseholdAllDetailViewSumOrderBy = { - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; -}; - -/** aggregate varPop on columns */ -export type HouseholdAllDetailViewVarPopFields = { - __typename?: "HouseholdAllDetailViewVarPopFields"; - originalAmount?: Maybe; - signedAmount?: Maybe; -}; - -/** order by varPop() on columns of table "household.all_detail_view" */ -export type HouseholdAllDetailViewVarPopOrderBy = { - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; -}; - -/** aggregate varSamp on columns */ -export type HouseholdAllDetailViewVarSampFields = { - __typename?: "HouseholdAllDetailViewVarSampFields"; - originalAmount?: Maybe; - signedAmount?: Maybe; -}; - -/** order by varSamp() on columns of table "household.all_detail_view" */ -export type HouseholdAllDetailViewVarSampOrderBy = { - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type HouseholdAllDetailViewVarianceFields = { - __typename?: "HouseholdAllDetailViewVarianceFields"; - originalAmount?: Maybe; - signedAmount?: Maybe; -}; - -/** order by variance() on columns of table "household.all_detail_view" */ -export type HouseholdAllDetailViewVarianceOrderBy = { - originalAmount?: InputMaybe; - signedAmount?: InputMaybe; -}; - -/** columns and relationships of "household.category" */ -export type HouseholdCategory = { - __typename?: "HouseholdCategory"; - /** An array relationship */ - creditCardDetails: Array; - /** An aggregate relationship */ - creditCardDetailsAggregate: HouseholdCreditCardDetailAggregate; - /** An array relationship */ - dailyDetails: Array; - /** An aggregate relationship */ - dailyDetailsAggregate: HouseholdDailyDetailAggregate; - /** An object relationship */ - depositCategory?: Maybe; - displayOrder: Scalars["Int"]; - /** An object relationship */ - genre: HouseholdGenre; - genreId: Scalars["String"]; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - id: Scalars["String"]; - name: Scalars["String"]; - /** An array relationship */ - summaryCategories: Array; - /** An aggregate relationship */ - summaryCategoriesAggregate: HouseholdSummaryCategoryAggregate; - /** An array relationship */ - transferCategories: Array; - /** An aggregate relationship */ - transferCategoriesAggregate: HouseholdTransferCategoryAggregate; - validFlag?: Maybe; -}; - -/** columns and relationships of "household.category" */ -export type HouseholdCategoryCreditCardDetailsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.category" */ -export type HouseholdCategoryCreditCardDetailsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.category" */ -export type HouseholdCategoryDailyDetailsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.category" */ -export type HouseholdCategoryDailyDetailsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.category" */ -export type HouseholdCategorySummaryCategoriesArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.category" */ -export type HouseholdCategorySummaryCategoriesAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.category" */ -export type HouseholdCategoryTransferCategoriesArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.category" */ -export type HouseholdCategoryTransferCategoriesAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** order by aggregate values of table "household.category" */ -export type HouseholdCategoryAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "household.category" */ -export type HouseholdCategoryArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** order by avg() on columns of table "household.category" */ -export type HouseholdCategoryAvgOrderBy = { - displayOrder?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.category". All fields are combined with a logical 'AND'. */ -export type HouseholdCategoryBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - creditCardDetails?: InputMaybe; - creditCardDetailsAggregate?: InputMaybe; - dailyDetails?: InputMaybe; - dailyDetailsAggregate?: InputMaybe; - depositCategory?: InputMaybe; - displayOrder?: InputMaybe; - genre?: InputMaybe; - genreId?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - summaryCategories?: InputMaybe; - summaryCategoriesAggregate?: InputMaybe; - transferCategories?: InputMaybe; - transferCategoriesAggregate?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** unique or primary key constraints on table "household.category" */ -export enum HouseholdCategoryConstraint { - /** unique or primary key constraint on columns "id" */ - CategoryPkey = "category_pkey", -} - -/** input type for incrementing numeric columns in table "household.category" */ -export type HouseholdCategoryIncInput = { - displayOrder?: InputMaybe; -}; - -/** input type for inserting data into table "household.category" */ -export type HouseholdCategoryInsertInput = { - creditCardDetails?: InputMaybe; - dailyDetails?: InputMaybe; - displayOrder?: InputMaybe; - genre?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - summaryCategories?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** order by max() on columns of table "household.category" */ -export type HouseholdCategoryMaxOrderBy = { - displayOrder?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** order by min() on columns of table "household.category" */ -export type HouseholdCategoryMinOrderBy = { - displayOrder?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** response of any mutation on the table "household.category" */ -export type HouseholdCategoryMutationResponse = { - __typename?: "HouseholdCategoryMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "household.category" */ -export type HouseholdCategoryObjRelInsertInput = { - data: HouseholdCategoryInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "household.category" */ -export type HouseholdCategoryOnConflict = { - constraint: HouseholdCategoryConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.category". */ -export type HouseholdCategoryOrderBy = { - creditCardDetailsAggregate?: InputMaybe; - dailyDetailsAggregate?: InputMaybe; - depositCategory?: InputMaybe; - displayOrder?: InputMaybe; - genre?: InputMaybe; - genreId?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - summaryCategoriesAggregate?: InputMaybe; - transferCategoriesAggregate?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** primary key columns input for table: household.category */ -export type HouseholdCategoryPkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "household.category" */ -export enum HouseholdCategorySelectColumn { - /** column name */ - DisplayOrder = "displayOrder", - /** column name */ - GenreId = "genreId", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - Name = "name", - /** column name */ - ValidFlag = "validFlag", -} - -/** input type for updating data in table "household.category" */ -export type HouseholdCategorySetInput = { - displayOrder?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** order by stddev() on columns of table "household.category" */ -export type HouseholdCategoryStddevOrderBy = { - displayOrder?: InputMaybe; -}; - -/** order by stddevPop() on columns of table "household.category" */ -export type HouseholdCategoryStddevPopOrderBy = { - displayOrder?: InputMaybe; -}; - -/** order by stddevSamp() on columns of table "household.category" */ -export type HouseholdCategoryStddevSampOrderBy = { - displayOrder?: InputMaybe; -}; - -/** Streaming cursor of the table "household_category" */ -export type HouseholdCategoryStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdCategoryStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdCategoryStreamCursorValueInput = { - displayOrder?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** order by sum() on columns of table "household.category" */ -export type HouseholdCategorySumOrderBy = { - displayOrder?: InputMaybe; -}; - -/** update columns of table "household.category" */ -export enum HouseholdCategoryUpdateColumn { - /** column name */ - DisplayOrder = "displayOrder", - /** column name */ - GenreId = "genreId", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - Name = "name", - /** column name */ - ValidFlag = "validFlag", -} - -export type HouseholdCategoryUpdates = { - /** increments the numeric columns with given value of the filtered values */ - _inc?: InputMaybe; - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: HouseholdCategoryBoolExp; -}; - -/** order by varPop() on columns of table "household.category" */ -export type HouseholdCategoryVarPopOrderBy = { - displayOrder?: InputMaybe; -}; - -/** order by varSamp() on columns of table "household.category" */ -export type HouseholdCategoryVarSampOrderBy = { - displayOrder?: InputMaybe; -}; - -/** order by variance() on columns of table "household.category" */ -export type HouseholdCategoryVarianceOrderBy = { - displayOrder?: InputMaybe; -}; - -/** columns and relationships of "household.credit_card_detail" */ -export type HouseholdCreditCardDetail = { - __typename?: "HouseholdCreditCardDetail"; - amount: Scalars["numeric"]; - /** An object relationship */ - category: HouseholdCategory; - categoryId: Scalars["String"]; - /** An object relationship */ - creditCardSummary: HouseholdCreditCardSummary; - date: Scalars["date"]; - /** An object relationship */ - genre: HouseholdGenre; - genreId: Scalars["String"]; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - id: Scalars["String"]; - iocomeType: Scalars["String"]; - memo?: Maybe; - summaryId: Scalars["String"]; - /** An object relationship */ - user: User; - userId: Scalars["String"]; -}; - -/** aggregated selection of "household.credit_card_detail" */ -export type HouseholdCreditCardDetailAggregate = { - __typename?: "HouseholdCreditCardDetailAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdCreditCardDetailAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "household.credit_card_detail" */ -export type HouseholdCreditCardDetailAggregateFields = { - __typename?: "HouseholdCreditCardDetailAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "household.credit_card_detail" */ -export type HouseholdCreditCardDetailAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type HouseholdCreditCardDetailAvgFields = { - __typename?: "HouseholdCreditCardDetailAvgFields"; - amount?: Maybe; -}; - -/** order by avg() on columns of table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailAvgOrderBy = { - amount?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.credit_card_detail". All fields are combined with a logical 'AND'. */ -export type HouseholdCreditCardDetailBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - amount?: InputMaybe; - category?: InputMaybe; - categoryId?: InputMaybe; - creditCardSummary?: InputMaybe; - date?: InputMaybe; - genre?: InputMaybe; - genreId?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - summaryId?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -/** unique or primary key constraints on table "household.credit_card_detail" */ -export enum HouseholdCreditCardDetailConstraint { - /** unique or primary key constraint on columns "id" */ - CreditCardDetailPkey = "credit_card_detail_pkey", -} - -/** input type for incrementing numeric columns in table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailIncInput = { - amount?: InputMaybe; -}; - -/** input type for inserting data into table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailInsertInput = { - amount?: InputMaybe; - category?: InputMaybe; - categoryId?: InputMaybe; - creditCardSummary?: InputMaybe; - date?: InputMaybe; - genre?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - summaryId?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdCreditCardDetailMaxFields = { - __typename?: "HouseholdCreditCardDetailMaxFields"; - amount?: Maybe; - categoryId?: Maybe; - date?: Maybe; - genreId?: Maybe; - groupId?: Maybe; - id?: Maybe; - iocomeType?: Maybe; - memo?: Maybe; - summaryId?: Maybe; - userId?: Maybe; -}; - -/** order by max() on columns of table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailMaxOrderBy = { - amount?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - summaryId?: InputMaybe; - userId?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdCreditCardDetailMinFields = { - __typename?: "HouseholdCreditCardDetailMinFields"; - amount?: Maybe; - categoryId?: Maybe; - date?: Maybe; - genreId?: Maybe; - groupId?: Maybe; - id?: Maybe; - iocomeType?: Maybe; - memo?: Maybe; - summaryId?: Maybe; - userId?: Maybe; -}; - -/** order by min() on columns of table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailMinOrderBy = { - amount?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - summaryId?: InputMaybe; - userId?: InputMaybe; -}; - -/** response of any mutation on the table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailMutationResponse = { - __typename?: "HouseholdCreditCardDetailMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** on_conflict condition type for table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailOnConflict = { - constraint: HouseholdCreditCardDetailConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.credit_card_detail". */ -export type HouseholdCreditCardDetailOrderBy = { - amount?: InputMaybe; - category?: InputMaybe; - categoryId?: InputMaybe; - creditCardSummary?: InputMaybe; - date?: InputMaybe; - genre?: InputMaybe; - genreId?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - summaryId?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -/** primary key columns input for table: household.credit_card_detail */ -export type HouseholdCreditCardDetailPkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "household.credit_card_detail" */ -export enum HouseholdCreditCardDetailSelectColumn { - /** column name */ - Amount = "amount", - /** column name */ - CategoryId = "categoryId", - /** column name */ - Date = "date", - /** column name */ - GenreId = "genreId", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - IocomeType = "iocomeType", - /** column name */ - Memo = "memo", - /** column name */ - SummaryId = "summaryId", - /** column name */ - UserId = "userId", -} - -/** input type for updating data in table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailSetInput = { - amount?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - summaryId?: InputMaybe; - userId?: InputMaybe; -}; - -/** aggregate stddev on columns */ -export type HouseholdCreditCardDetailStddevFields = { - __typename?: "HouseholdCreditCardDetailStddevFields"; - amount?: Maybe; -}; - -/** order by stddev() on columns of table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailStddevOrderBy = { - amount?: InputMaybe; -}; - -/** aggregate stddevPop on columns */ -export type HouseholdCreditCardDetailStddevPopFields = { - __typename?: "HouseholdCreditCardDetailStddevPopFields"; - amount?: Maybe; -}; - -/** order by stddevPop() on columns of table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailStddevPopOrderBy = { - amount?: InputMaybe; -}; - -/** aggregate stddevSamp on columns */ -export type HouseholdCreditCardDetailStddevSampFields = { - __typename?: "HouseholdCreditCardDetailStddevSampFields"; - amount?: Maybe; -}; - -/** order by stddevSamp() on columns of table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailStddevSampOrderBy = { - amount?: InputMaybe; -}; - -/** Streaming cursor of the table "household_credit_card_detail" */ -export type HouseholdCreditCardDetailStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdCreditCardDetailStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdCreditCardDetailStreamCursorValueInput = { - amount?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - summaryId?: InputMaybe; - userId?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type HouseholdCreditCardDetailSumFields = { - __typename?: "HouseholdCreditCardDetailSumFields"; - amount?: Maybe; -}; - -/** order by sum() on columns of table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailSumOrderBy = { - amount?: InputMaybe; -}; - -/** update columns of table "household.credit_card_detail" */ -export enum HouseholdCreditCardDetailUpdateColumn { - /** column name */ - Amount = "amount", - /** column name */ - CategoryId = "categoryId", - /** column name */ - Date = "date", - /** column name */ - GenreId = "genreId", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - IocomeType = "iocomeType", - /** column name */ - Memo = "memo", - /** column name */ - SummaryId = "summaryId", - /** column name */ - UserId = "userId", -} - -export type HouseholdCreditCardDetailUpdates = { - /** increments the numeric columns with given value of the filtered values */ - _inc?: InputMaybe; - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: HouseholdCreditCardDetailBoolExp; -}; - -/** aggregate varPop on columns */ -export type HouseholdCreditCardDetailVarPopFields = { - __typename?: "HouseholdCreditCardDetailVarPopFields"; - amount?: Maybe; -}; - -/** order by varPop() on columns of table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailVarPopOrderBy = { - amount?: InputMaybe; -}; - -/** aggregate varSamp on columns */ -export type HouseholdCreditCardDetailVarSampFields = { - __typename?: "HouseholdCreditCardDetailVarSampFields"; - amount?: Maybe; -}; - -/** order by varSamp() on columns of table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailVarSampOrderBy = { - amount?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type HouseholdCreditCardDetailVarianceFields = { - __typename?: "HouseholdCreditCardDetailVarianceFields"; - amount?: Maybe; -}; - -/** order by variance() on columns of table "household.credit_card_detail" */ -export type HouseholdCreditCardDetailVarianceOrderBy = { - amount?: InputMaybe; -}; - -/** columns and relationships of "household.credit_card_summary" */ -export type HouseholdCreditCardSummary = { - __typename?: "HouseholdCreditCardSummary"; - /** An object relationship */ - account: HouseholdAccount; - accountId: Scalars["String"]; - count: Scalars["Int"]; - creditCard: Scalars["String"]; - /** An array relationship */ - creditCardDetails: Array; - /** An aggregate relationship */ - creditCardDetailsAggregate: HouseholdCreditCardDetailAggregate; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - id: Scalars["String"]; - totalAmount: Scalars["numeric"]; - withdrawalDate: Scalars["date"]; -}; - -/** columns and relationships of "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryCreditCardDetailsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryCreditCardDetailsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryAggregate = { - __typename?: "HouseholdCreditCardSummaryAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdCreditCardSummaryAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryAggregateFields = { - __typename?: "HouseholdCreditCardSummaryAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type HouseholdCreditCardSummaryAvgFields = { - __typename?: "HouseholdCreditCardSummaryAvgFields"; - count?: Maybe; - totalAmount?: Maybe; -}; - -/** order by avg() on columns of table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryAvgOrderBy = { - count?: InputMaybe; - totalAmount?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.credit_card_summary". All fields are combined with a logical 'AND'. */ -export type HouseholdCreditCardSummaryBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - account?: InputMaybe; - accountId?: InputMaybe; - count?: InputMaybe; - creditCard?: InputMaybe; - creditCardDetails?: InputMaybe; - creditCardDetailsAggregate?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - totalAmount?: InputMaybe; - withdrawalDate?: InputMaybe; -}; - -/** unique or primary key constraints on table "household.credit_card_summary" */ -export enum HouseholdCreditCardSummaryConstraint { - /** unique or primary key constraint on columns "id" */ - CreditCardSummaryPkey = "credit_card_summary_pkey", -} - -/** input type for incrementing numeric columns in table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryIncInput = { - count?: InputMaybe; - totalAmount?: InputMaybe; -}; - -/** input type for inserting data into table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryInsertInput = { - account?: InputMaybe; - accountId?: InputMaybe; - count?: InputMaybe; - creditCard?: InputMaybe; - creditCardDetails?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - totalAmount?: InputMaybe; - withdrawalDate?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdCreditCardSummaryMaxFields = { - __typename?: "HouseholdCreditCardSummaryMaxFields"; - accountId?: Maybe; - count?: Maybe; - creditCard?: Maybe; - groupId?: Maybe; - id?: Maybe; - totalAmount?: Maybe; - withdrawalDate?: Maybe; -}; - -/** order by max() on columns of table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryMaxOrderBy = { - accountId?: InputMaybe; - count?: InputMaybe; - creditCard?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - totalAmount?: InputMaybe; - withdrawalDate?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdCreditCardSummaryMinFields = { - __typename?: "HouseholdCreditCardSummaryMinFields"; - accountId?: Maybe; - count?: Maybe; - creditCard?: Maybe; - groupId?: Maybe; - id?: Maybe; - totalAmount?: Maybe; - withdrawalDate?: Maybe; -}; - -/** order by min() on columns of table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryMinOrderBy = { - accountId?: InputMaybe; - count?: InputMaybe; - creditCard?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - totalAmount?: InputMaybe; - withdrawalDate?: InputMaybe; -}; - -/** response of any mutation on the table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryMutationResponse = { - __typename?: "HouseholdCreditCardSummaryMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryObjRelInsertInput = { - data: HouseholdCreditCardSummaryInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryOnConflict = { - constraint: HouseholdCreditCardSummaryConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.credit_card_summary". */ -export type HouseholdCreditCardSummaryOrderBy = { - account?: InputMaybe; - accountId?: InputMaybe; - count?: InputMaybe; - creditCard?: InputMaybe; - creditCardDetailsAggregate?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - totalAmount?: InputMaybe; - withdrawalDate?: InputMaybe; -}; - -/** primary key columns input for table: household.credit_card_summary */ -export type HouseholdCreditCardSummaryPkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "household.credit_card_summary" */ -export enum HouseholdCreditCardSummarySelectColumn { - /** column name */ - AccountId = "accountId", - /** column name */ - Count = "count", - /** column name */ - CreditCard = "creditCard", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - TotalAmount = "totalAmount", - /** column name */ - WithdrawalDate = "withdrawalDate", -} - -/** input type for updating data in table "household.credit_card_summary" */ -export type HouseholdCreditCardSummarySetInput = { - accountId?: InputMaybe; - count?: InputMaybe; - creditCard?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - totalAmount?: InputMaybe; - withdrawalDate?: InputMaybe; -}; - -/** aggregate stddev on columns */ -export type HouseholdCreditCardSummaryStddevFields = { - __typename?: "HouseholdCreditCardSummaryStddevFields"; - count?: Maybe; - totalAmount?: Maybe; -}; - -/** order by stddev() on columns of table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryStddevOrderBy = { - count?: InputMaybe; - totalAmount?: InputMaybe; -}; - -/** aggregate stddevPop on columns */ -export type HouseholdCreditCardSummaryStddevPopFields = { - __typename?: "HouseholdCreditCardSummaryStddevPopFields"; - count?: Maybe; - totalAmount?: Maybe; -}; - -/** order by stddevPop() on columns of table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryStddevPopOrderBy = { - count?: InputMaybe; - totalAmount?: InputMaybe; -}; - -/** aggregate stddevSamp on columns */ -export type HouseholdCreditCardSummaryStddevSampFields = { - __typename?: "HouseholdCreditCardSummaryStddevSampFields"; - count?: Maybe; - totalAmount?: Maybe; -}; - -/** order by stddevSamp() on columns of table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryStddevSampOrderBy = { - count?: InputMaybe; - totalAmount?: InputMaybe; -}; - -/** Streaming cursor of the table "household_credit_card_summary" */ -export type HouseholdCreditCardSummaryStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdCreditCardSummaryStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdCreditCardSummaryStreamCursorValueInput = { - accountId?: InputMaybe; - count?: InputMaybe; - creditCard?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - totalAmount?: InputMaybe; - withdrawalDate?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type HouseholdCreditCardSummarySumFields = { - __typename?: "HouseholdCreditCardSummarySumFields"; - count?: Maybe; - totalAmount?: Maybe; -}; - -/** order by sum() on columns of table "household.credit_card_summary" */ -export type HouseholdCreditCardSummarySumOrderBy = { - count?: InputMaybe; - totalAmount?: InputMaybe; -}; - -/** columns and relationships of "household.credit_card_summary_total_by_account_view" */ -export type HouseholdCreditCardSummaryTotalByAccountView = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountView"; - accountId?: Maybe; - date?: Maybe; - displayOrder?: Maybe; - groupId?: Maybe; - iocomeType?: Maybe; - name?: Maybe; - total?: Maybe; -}; - -/** aggregated selection of "household.credit_card_summary_total_by_account_view" */ -export type HouseholdCreditCardSummaryTotalByAccountViewAggregate = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountViewAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "household.credit_card_summary_total_by_account_view" */ -export type HouseholdCreditCardSummaryTotalByAccountViewAggregateFields = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountViewAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "household.credit_card_summary_total_by_account_view" */ -export type HouseholdCreditCardSummaryTotalByAccountViewAggregateFieldsCountArgs = - { - columns?: InputMaybe< - Array - >; - distinct?: InputMaybe; - }; - -/** aggregate avg on columns */ -export type HouseholdCreditCardSummaryTotalByAccountViewAvgFields = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountViewAvgFields"; - displayOrder?: Maybe; - total?: Maybe; -}; - -/** Boolean expression to filter rows from the table "household.credit_card_summary_total_by_account_view". All fields are combined with a logical 'AND'. */ -export type HouseholdCreditCardSummaryTotalByAccountViewBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - accountId?: InputMaybe; - date?: InputMaybe; - displayOrder?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - name?: InputMaybe; - total?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdCreditCardSummaryTotalByAccountViewMaxFields = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountViewMaxFields"; - accountId?: Maybe; - date?: Maybe; - displayOrder?: Maybe; - groupId?: Maybe; - iocomeType?: Maybe; - name?: Maybe; - total?: Maybe; -}; - -/** aggregate min on columns */ -export type HouseholdCreditCardSummaryTotalByAccountViewMinFields = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountViewMinFields"; - accountId?: Maybe; - date?: Maybe; - displayOrder?: Maybe; - groupId?: Maybe; - iocomeType?: Maybe; - name?: Maybe; - total?: Maybe; -}; - -/** Ordering options when selecting data from "household.credit_card_summary_total_by_account_view". */ -export type HouseholdCreditCardSummaryTotalByAccountViewOrderBy = { - accountId?: InputMaybe; - date?: InputMaybe; - displayOrder?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - name?: InputMaybe; - total?: InputMaybe; -}; - -/** select columns of table "household.credit_card_summary_total_by_account_view" */ -export enum HouseholdCreditCardSummaryTotalByAccountViewSelectColumn { - /** column name */ - AccountId = "accountId", - /** column name */ - Date = "date", - /** column name */ - DisplayOrder = "displayOrder", - /** column name */ - GroupId = "groupId", - /** column name */ - IocomeType = "iocomeType", - /** column name */ - Name = "name", - /** column name */ - Total = "total", -} - -/** aggregate stddev on columns */ -export type HouseholdCreditCardSummaryTotalByAccountViewStddevFields = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountViewStddevFields"; - displayOrder?: Maybe; - total?: Maybe; -}; - -/** aggregate stddevPop on columns */ -export type HouseholdCreditCardSummaryTotalByAccountViewStddevPopFields = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountViewStddevPopFields"; - displayOrder?: Maybe; - total?: Maybe; -}; - -/** aggregate stddevSamp on columns */ -export type HouseholdCreditCardSummaryTotalByAccountViewStddevSampFields = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountViewStddevSampFields"; - displayOrder?: Maybe; - total?: Maybe; -}; - -/** Streaming cursor of the table "household_credit_card_summary_total_by_account_view" */ -export type HouseholdCreditCardSummaryTotalByAccountViewStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdCreditCardSummaryTotalByAccountViewStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdCreditCardSummaryTotalByAccountViewStreamCursorValueInput = - { - accountId?: InputMaybe; - date?: InputMaybe; - displayOrder?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - name?: InputMaybe; - total?: InputMaybe; - }; - -/** aggregate sum on columns */ -export type HouseholdCreditCardSummaryTotalByAccountViewSumFields = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountViewSumFields"; - displayOrder?: Maybe; - total?: Maybe; -}; - -/** aggregate varPop on columns */ -export type HouseholdCreditCardSummaryTotalByAccountViewVarPopFields = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountViewVarPopFields"; - displayOrder?: Maybe; - total?: Maybe; -}; - -/** aggregate varSamp on columns */ -export type HouseholdCreditCardSummaryTotalByAccountViewVarSampFields = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountViewVarSampFields"; - displayOrder?: Maybe; - total?: Maybe; -}; - -/** aggregate variance on columns */ -export type HouseholdCreditCardSummaryTotalByAccountViewVarianceFields = { - __typename?: "HouseholdCreditCardSummaryTotalByAccountViewVarianceFields"; - displayOrder?: Maybe; - total?: Maybe; -}; - -/** update columns of table "household.credit_card_summary" */ -export enum HouseholdCreditCardSummaryUpdateColumn { - /** column name */ - AccountId = "accountId", - /** column name */ - Count = "count", - /** column name */ - CreditCard = "creditCard", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - TotalAmount = "totalAmount", - /** column name */ - WithdrawalDate = "withdrawalDate", -} - -export type HouseholdCreditCardSummaryUpdates = { - /** increments the numeric columns with given value of the filtered values */ - _inc?: InputMaybe; - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: HouseholdCreditCardSummaryBoolExp; -}; - -/** aggregate varPop on columns */ -export type HouseholdCreditCardSummaryVarPopFields = { - __typename?: "HouseholdCreditCardSummaryVarPopFields"; - count?: Maybe; - totalAmount?: Maybe; -}; - -/** order by varPop() on columns of table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryVarPopOrderBy = { - count?: InputMaybe; - totalAmount?: InputMaybe; -}; - -/** aggregate varSamp on columns */ -export type HouseholdCreditCardSummaryVarSampFields = { - __typename?: "HouseholdCreditCardSummaryVarSampFields"; - count?: Maybe; - totalAmount?: Maybe; -}; - -/** order by varSamp() on columns of table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryVarSampOrderBy = { - count?: InputMaybe; - totalAmount?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type HouseholdCreditCardSummaryVarianceFields = { - __typename?: "HouseholdCreditCardSummaryVarianceFields"; - count?: Maybe; - totalAmount?: Maybe; -}; - -/** order by variance() on columns of table "household.credit_card_summary" */ -export type HouseholdCreditCardSummaryVarianceOrderBy = { - count?: InputMaybe; - totalAmount?: InputMaybe; -}; - -/** columns and relationships of "household.daily_detail" */ -export type HouseholdDailyDetail = { - __typename?: "HouseholdDailyDetail"; - /** An object relationship */ - account: HouseholdAccount; - accountId: Scalars["String"]; - amount: Scalars["numeric"]; - /** An object relationship */ - category: HouseholdCategory; - categoryId: Scalars["String"]; - date: Scalars["date"]; - /** An object relationship */ - genre: HouseholdGenre; - genreId: Scalars["String"]; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - id: Scalars["String"]; - iocomeType: Scalars["String"]; - memo?: Maybe; - /** An object relationship */ - user: User; - userId: Scalars["String"]; -}; - -/** aggregated selection of "household.daily_detail" */ -export type HouseholdDailyDetailAggregate = { - __typename?: "HouseholdDailyDetailAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdDailyDetailAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "household.daily_detail" */ -export type HouseholdDailyDetailAggregateFields = { - __typename?: "HouseholdDailyDetailAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "household.daily_detail" */ -export type HouseholdDailyDetailAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.daily_detail" */ -export type HouseholdDailyDetailAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "household.daily_detail" */ -export type HouseholdDailyDetailArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type HouseholdDailyDetailAvgFields = { - __typename?: "HouseholdDailyDetailAvgFields"; - amount?: Maybe; -}; - -/** order by avg() on columns of table "household.daily_detail" */ -export type HouseholdDailyDetailAvgOrderBy = { - amount?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.daily_detail". All fields are combined with a logical 'AND'. */ -export type HouseholdDailyDetailBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - account?: InputMaybe; - accountId?: InputMaybe; - amount?: InputMaybe; - category?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genre?: InputMaybe; - genreId?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -/** unique or primary key constraints on table "household.daily_detail" */ -export enum HouseholdDailyDetailConstraint { - /** unique or primary key constraint on columns "id" */ - DailyDetailPkey = "daily_detail_pkey", -} - -/** input type for incrementing numeric columns in table "household.daily_detail" */ -export type HouseholdDailyDetailIncInput = { - amount?: InputMaybe; -}; - -/** input type for inserting data into table "household.daily_detail" */ -export type HouseholdDailyDetailInsertInput = { - account?: InputMaybe; - accountId?: InputMaybe; - amount?: InputMaybe; - category?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genre?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdDailyDetailMaxFields = { - __typename?: "HouseholdDailyDetailMaxFields"; - accountId?: Maybe; - amount?: Maybe; - categoryId?: Maybe; - date?: Maybe; - genreId?: Maybe; - groupId?: Maybe; - id?: Maybe; - iocomeType?: Maybe; - memo?: Maybe; - userId?: Maybe; -}; - -/** order by max() on columns of table "household.daily_detail" */ -export type HouseholdDailyDetailMaxOrderBy = { - accountId?: InputMaybe; - amount?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - userId?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdDailyDetailMinFields = { - __typename?: "HouseholdDailyDetailMinFields"; - accountId?: Maybe; - amount?: Maybe; - categoryId?: Maybe; - date?: Maybe; - genreId?: Maybe; - groupId?: Maybe; - id?: Maybe; - iocomeType?: Maybe; - memo?: Maybe; - userId?: Maybe; -}; - -/** order by min() on columns of table "household.daily_detail" */ -export type HouseholdDailyDetailMinOrderBy = { - accountId?: InputMaybe; - amount?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - userId?: InputMaybe; -}; - -/** response of any mutation on the table "household.daily_detail" */ -export type HouseholdDailyDetailMutationResponse = { - __typename?: "HouseholdDailyDetailMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** on_conflict condition type for table "household.daily_detail" */ -export type HouseholdDailyDetailOnConflict = { - constraint: HouseholdDailyDetailConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.daily_detail". */ -export type HouseholdDailyDetailOrderBy = { - account?: InputMaybe; - accountId?: InputMaybe; - amount?: InputMaybe; - category?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genre?: InputMaybe; - genreId?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -/** primary key columns input for table: household.daily_detail */ -export type HouseholdDailyDetailPkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "household.daily_detail" */ -export enum HouseholdDailyDetailSelectColumn { - /** column name */ - AccountId = "accountId", - /** column name */ - Amount = "amount", - /** column name */ - CategoryId = "categoryId", - /** column name */ - Date = "date", - /** column name */ - GenreId = "genreId", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - IocomeType = "iocomeType", - /** column name */ - Memo = "memo", - /** column name */ - UserId = "userId", -} - -/** input type for updating data in table "household.daily_detail" */ -export type HouseholdDailyDetailSetInput = { - accountId?: InputMaybe; - amount?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - userId?: InputMaybe; -}; - -/** aggregate stddev on columns */ -export type HouseholdDailyDetailStddevFields = { - __typename?: "HouseholdDailyDetailStddevFields"; - amount?: Maybe; -}; - -/** order by stddev() on columns of table "household.daily_detail" */ -export type HouseholdDailyDetailStddevOrderBy = { - amount?: InputMaybe; -}; - -/** aggregate stddevPop on columns */ -export type HouseholdDailyDetailStddevPopFields = { - __typename?: "HouseholdDailyDetailStddevPopFields"; - amount?: Maybe; -}; - -/** order by stddevPop() on columns of table "household.daily_detail" */ -export type HouseholdDailyDetailStddevPopOrderBy = { - amount?: InputMaybe; -}; - -/** aggregate stddevSamp on columns */ -export type HouseholdDailyDetailStddevSampFields = { - __typename?: "HouseholdDailyDetailStddevSampFields"; - amount?: Maybe; -}; - -/** order by stddevSamp() on columns of table "household.daily_detail" */ -export type HouseholdDailyDetailStddevSampOrderBy = { - amount?: InputMaybe; -}; - -/** Streaming cursor of the table "household_daily_detail" */ -export type HouseholdDailyDetailStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdDailyDetailStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdDailyDetailStreamCursorValueInput = { - accountId?: InputMaybe; - amount?: InputMaybe; - categoryId?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - memo?: InputMaybe; - userId?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type HouseholdDailyDetailSumFields = { - __typename?: "HouseholdDailyDetailSumFields"; - amount?: Maybe; -}; - -/** order by sum() on columns of table "household.daily_detail" */ -export type HouseholdDailyDetailSumOrderBy = { - amount?: InputMaybe; -}; - -/** update columns of table "household.daily_detail" */ -export enum HouseholdDailyDetailUpdateColumn { - /** column name */ - AccountId = "accountId", - /** column name */ - Amount = "amount", - /** column name */ - CategoryId = "categoryId", - /** column name */ - Date = "date", - /** column name */ - GenreId = "genreId", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - IocomeType = "iocomeType", - /** column name */ - Memo = "memo", - /** column name */ - UserId = "userId", -} - -export type HouseholdDailyDetailUpdates = { - /** increments the numeric columns with given value of the filtered values */ - _inc?: InputMaybe; - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: HouseholdDailyDetailBoolExp; -}; - -/** aggregate varPop on columns */ -export type HouseholdDailyDetailVarPopFields = { - __typename?: "HouseholdDailyDetailVarPopFields"; - amount?: Maybe; -}; - -/** order by varPop() on columns of table "household.daily_detail" */ -export type HouseholdDailyDetailVarPopOrderBy = { - amount?: InputMaybe; -}; - -/** aggregate varSamp on columns */ -export type HouseholdDailyDetailVarSampFields = { - __typename?: "HouseholdDailyDetailVarSampFields"; - amount?: Maybe; -}; - -/** order by varSamp() on columns of table "household.daily_detail" */ -export type HouseholdDailyDetailVarSampOrderBy = { - amount?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type HouseholdDailyDetailVarianceFields = { - __typename?: "HouseholdDailyDetailVarianceFields"; - amount?: Maybe; -}; - -/** order by variance() on columns of table "household.daily_detail" */ -export type HouseholdDailyDetailVarianceOrderBy = { - amount?: InputMaybe; -}; - -/** columns and relationships of "household.daily_total_view" */ -export type HouseholdDailyTotalView = { - __typename?: "HouseholdDailyTotalView"; - date?: Maybe; - groupId?: Maybe; - iocomeType?: Maybe; - total?: Maybe; -}; - -/** aggregated selection of "household.daily_total_view" */ -export type HouseholdDailyTotalViewAggregate = { - __typename?: "HouseholdDailyTotalViewAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "household.daily_total_view" */ -export type HouseholdDailyTotalViewAggregateFields = { - __typename?: "HouseholdDailyTotalViewAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "household.daily_total_view" */ -export type HouseholdDailyTotalViewAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type HouseholdDailyTotalViewAvgFields = { - __typename?: "HouseholdDailyTotalViewAvgFields"; - total?: Maybe; -}; - -/** Boolean expression to filter rows from the table "household.daily_total_view". All fields are combined with a logical 'AND'. */ -export type HouseholdDailyTotalViewBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - date?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - total?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdDailyTotalViewMaxFields = { - __typename?: "HouseholdDailyTotalViewMaxFields"; - date?: Maybe; - groupId?: Maybe; - iocomeType?: Maybe; - total?: Maybe; -}; - -/** aggregate min on columns */ -export type HouseholdDailyTotalViewMinFields = { - __typename?: "HouseholdDailyTotalViewMinFields"; - date?: Maybe; - groupId?: Maybe; - iocomeType?: Maybe; - total?: Maybe; -}; - -/** Ordering options when selecting data from "household.daily_total_view". */ -export type HouseholdDailyTotalViewOrderBy = { - date?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - total?: InputMaybe; -}; - -/** select columns of table "household.daily_total_view" */ -export enum HouseholdDailyTotalViewSelectColumn { - /** column name */ - Date = "date", - /** column name */ - GroupId = "groupId", - /** column name */ - IocomeType = "iocomeType", - /** column name */ - Total = "total", -} - -/** aggregate stddev on columns */ -export type HouseholdDailyTotalViewStddevFields = { - __typename?: "HouseholdDailyTotalViewStddevFields"; - total?: Maybe; -}; - -/** aggregate stddevPop on columns */ -export type HouseholdDailyTotalViewStddevPopFields = { - __typename?: "HouseholdDailyTotalViewStddevPopFields"; - total?: Maybe; -}; - -/** aggregate stddevSamp on columns */ -export type HouseholdDailyTotalViewStddevSampFields = { - __typename?: "HouseholdDailyTotalViewStddevSampFields"; - total?: Maybe; -}; - -/** Streaming cursor of the table "household_daily_total_view" */ -export type HouseholdDailyTotalViewStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdDailyTotalViewStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdDailyTotalViewStreamCursorValueInput = { - date?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - total?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type HouseholdDailyTotalViewSumFields = { - __typename?: "HouseholdDailyTotalViewSumFields"; - total?: Maybe; -}; - -/** aggregate varPop on columns */ -export type HouseholdDailyTotalViewVarPopFields = { - __typename?: "HouseholdDailyTotalViewVarPopFields"; - total?: Maybe; -}; - -/** aggregate varSamp on columns */ -export type HouseholdDailyTotalViewVarSampFields = { - __typename?: "HouseholdDailyTotalViewVarSampFields"; - total?: Maybe; -}; - -/** aggregate variance on columns */ -export type HouseholdDailyTotalViewVarianceFields = { - __typename?: "HouseholdDailyTotalViewVarianceFields"; - total?: Maybe; -}; - -/** columns and relationships of "household.dashboard_setting" */ -export type HouseholdDashboardSetting = { - __typename?: "HouseholdDashboardSetting"; - /** An array relationship */ - dashboardSettingArgs: Array; - feature: Scalars["String"]; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - id: Scalars["String"]; - order: Scalars["Int"]; - /** An object relationship */ - user: User; - userId: Scalars["String"]; -}; - -/** columns and relationships of "household.dashboard_setting" */ -export type HouseholdDashboardSettingDashboardSettingArgsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** order by aggregate values of table "household.dashboard_setting" */ -export type HouseholdDashboardSettingAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** columns and relationships of "household.dashboard_setting_args" */ -export type HouseholdDashboardSettingArgs = { - __typename?: "HouseholdDashboardSettingArgs"; - /** An object relationship */ - dashboardSetting: HouseholdDashboardSetting; - id: Scalars["String"]; - settingId: Scalars["String"]; - type: Scalars["String"]; - value: Scalars["String"]; -}; - -/** order by aggregate values of table "household.dashboard_setting_args" */ -export type HouseholdDashboardSettingArgsAggregateOrderBy = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "household.dashboard_setting_args" */ -export type HouseholdDashboardSettingArgsArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.dashboard_setting_args". All fields are combined with a logical 'AND'. */ -export type HouseholdDashboardSettingArgsBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - dashboardSetting?: InputMaybe; - id?: InputMaybe; - settingId?: InputMaybe; - type?: InputMaybe; - value?: InputMaybe; -}; - -/** unique or primary key constraints on table "household.dashboard_setting_args" */ -export enum HouseholdDashboardSettingArgsConstraint { - /** unique or primary key constraint on columns "id" */ - DashboardSettingArgsPkey = "dashboard_setting_args_pkey", -} - -/** input type for inserting data into table "household.dashboard_setting_args" */ -export type HouseholdDashboardSettingArgsInsertInput = { - dashboardSetting?: InputMaybe; - id?: InputMaybe; - settingId?: InputMaybe; - type?: InputMaybe; - value?: InputMaybe; -}; - -/** order by max() on columns of table "household.dashboard_setting_args" */ -export type HouseholdDashboardSettingArgsMaxOrderBy = { - id?: InputMaybe; - settingId?: InputMaybe; - type?: InputMaybe; - value?: InputMaybe; -}; - -/** order by min() on columns of table "household.dashboard_setting_args" */ -export type HouseholdDashboardSettingArgsMinOrderBy = { - id?: InputMaybe; - settingId?: InputMaybe; - type?: InputMaybe; - value?: InputMaybe; -}; - -/** response of any mutation on the table "household.dashboard_setting_args" */ -export type HouseholdDashboardSettingArgsMutationResponse = { - __typename?: "HouseholdDashboardSettingArgsMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** on_conflict condition type for table "household.dashboard_setting_args" */ -export type HouseholdDashboardSettingArgsOnConflict = { - constraint: HouseholdDashboardSettingArgsConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.dashboard_setting_args". */ -export type HouseholdDashboardSettingArgsOrderBy = { - dashboardSetting?: InputMaybe; - id?: InputMaybe; - settingId?: InputMaybe; - type?: InputMaybe; - value?: InputMaybe; -}; - -/** select columns of table "household.dashboard_setting_args" */ -export enum HouseholdDashboardSettingArgsSelectColumn { - /** column name */ - Id = "id", - /** column name */ - SettingId = "settingId", - /** column name */ - Type = "type", - /** column name */ - Value = "value", -} - -/** Streaming cursor of the table "household_dashboard_setting_args" */ -export type HouseholdDashboardSettingArgsStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdDashboardSettingArgsStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdDashboardSettingArgsStreamCursorValueInput = { - id?: InputMaybe; - settingId?: InputMaybe; - type?: InputMaybe; - value?: InputMaybe; -}; - -/** placeholder for update columns of table "household.dashboard_setting_args" (current role has no relevant permissions) */ -export enum HouseholdDashboardSettingArgsUpdateColumn { - /** placeholder (do not use) */ - Placeholder = "_PLACEHOLDER", -} - -/** order by avg() on columns of table "household.dashboard_setting" */ -export type HouseholdDashboardSettingAvgOrderBy = { - order?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.dashboard_setting". All fields are combined with a logical 'AND'. */ -export type HouseholdDashboardSettingBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - dashboardSettingArgs?: InputMaybe; - feature?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - order?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -/** unique or primary key constraints on table "household.dashboard_setting" */ -export enum HouseholdDashboardSettingConstraint { - /** unique or primary key constraint on columns "id" */ - DashboardSettingPkey = "dashboard_setting_pkey", -} - -/** input type for incrementing numeric columns in table "household.dashboard_setting" */ -export type HouseholdDashboardSettingIncInput = { - order?: InputMaybe; -}; - -/** input type for inserting data into table "household.dashboard_setting" */ -export type HouseholdDashboardSettingInsertInput = { - dashboardSettingArgs?: InputMaybe; - feature?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - order?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -/** order by max() on columns of table "household.dashboard_setting" */ -export type HouseholdDashboardSettingMaxOrderBy = { - feature?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - order?: InputMaybe; - userId?: InputMaybe; -}; - -/** order by min() on columns of table "household.dashboard_setting" */ -export type HouseholdDashboardSettingMinOrderBy = { - feature?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - order?: InputMaybe; - userId?: InputMaybe; -}; - -/** response of any mutation on the table "household.dashboard_setting" */ -export type HouseholdDashboardSettingMutationResponse = { - __typename?: "HouseholdDashboardSettingMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "household.dashboard_setting" */ -export type HouseholdDashboardSettingObjRelInsertInput = { - data: HouseholdDashboardSettingInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "household.dashboard_setting" */ -export type HouseholdDashboardSettingOnConflict = { - constraint: HouseholdDashboardSettingConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.dashboard_setting". */ -export type HouseholdDashboardSettingOrderBy = { - dashboardSettingArgsAggregate?: InputMaybe; - feature?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - order?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -/** primary key columns input for table: household.dashboard_setting */ -export type HouseholdDashboardSettingPkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "household.dashboard_setting" */ -export enum HouseholdDashboardSettingSelectColumn { - /** column name */ - Feature = "feature", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - Order = "order", - /** column name */ - UserId = "userId", -} - -/** input type for updating data in table "household.dashboard_setting" */ -export type HouseholdDashboardSettingSetInput = { - feature?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - order?: InputMaybe; - userId?: InputMaybe; -}; - -/** order by stddev() on columns of table "household.dashboard_setting" */ -export type HouseholdDashboardSettingStddevOrderBy = { - order?: InputMaybe; -}; - -/** order by stddevPop() on columns of table "household.dashboard_setting" */ -export type HouseholdDashboardSettingStddevPopOrderBy = { - order?: InputMaybe; -}; - -/** order by stddevSamp() on columns of table "household.dashboard_setting" */ -export type HouseholdDashboardSettingStddevSampOrderBy = { - order?: InputMaybe; -}; - -/** Streaming cursor of the table "household_dashboard_setting" */ -export type HouseholdDashboardSettingStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdDashboardSettingStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdDashboardSettingStreamCursorValueInput = { - feature?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - order?: InputMaybe; - userId?: InputMaybe; -}; - -/** order by sum() on columns of table "household.dashboard_setting" */ -export type HouseholdDashboardSettingSumOrderBy = { - order?: InputMaybe; -}; - -/** update columns of table "household.dashboard_setting" */ -export enum HouseholdDashboardSettingUpdateColumn { - /** column name */ - Feature = "feature", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - Order = "order", - /** column name */ - UserId = "userId", -} - -export type HouseholdDashboardSettingUpdates = { - /** increments the numeric columns with given value of the filtered values */ - _inc?: InputMaybe; - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: HouseholdDashboardSettingBoolExp; -}; - -/** order by varPop() on columns of table "household.dashboard_setting" */ -export type HouseholdDashboardSettingVarPopOrderBy = { - order?: InputMaybe; -}; - -/** order by varSamp() on columns of table "household.dashboard_setting" */ -export type HouseholdDashboardSettingVarSampOrderBy = { - order?: InputMaybe; -}; - -/** order by variance() on columns of table "household.dashboard_setting" */ -export type HouseholdDashboardSettingVarianceOrderBy = { - order?: InputMaybe; -}; - -/** columns and relationships of "household.deposit_category" */ -export type HouseholdDepositCategory = { - __typename?: "HouseholdDepositCategory"; - /** An object relationship */ - category: HouseholdCategory; - categoryId: Scalars["String"]; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; -}; - -/** aggregated selection of "household.deposit_category" */ -export type HouseholdDepositCategoryAggregate = { - __typename?: "HouseholdDepositCategoryAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdDepositCategoryAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "household.deposit_category" */ -export type HouseholdDepositCategoryAggregateFields = { - __typename?: "HouseholdDepositCategoryAggregateFields"; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; -}; - -/** aggregate fields of "household.deposit_category" */ -export type HouseholdDepositCategoryAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.deposit_category" */ -export type HouseholdDepositCategoryAggregateOrderBy = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.deposit_category". All fields are combined with a logical 'AND'. */ -export type HouseholdDepositCategoryBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - category?: InputMaybe; - categoryId?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdDepositCategoryMaxFields = { - __typename?: "HouseholdDepositCategoryMaxFields"; - categoryId?: Maybe; - groupId?: Maybe; -}; - -/** order by max() on columns of table "household.deposit_category" */ -export type HouseholdDepositCategoryMaxOrderBy = { - categoryId?: InputMaybe; - groupId?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdDepositCategoryMinFields = { - __typename?: "HouseholdDepositCategoryMinFields"; - categoryId?: Maybe; - groupId?: Maybe; -}; - -/** order by min() on columns of table "household.deposit_category" */ -export type HouseholdDepositCategoryMinOrderBy = { - categoryId?: InputMaybe; - groupId?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.deposit_category". */ -export type HouseholdDepositCategoryOrderBy = { - category?: InputMaybe; - categoryId?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; -}; - -/** select columns of table "household.deposit_category" */ -export enum HouseholdDepositCategorySelectColumn { - /** column name */ - CategoryId = "categoryId", - /** column name */ - GroupId = "groupId", -} - -/** Streaming cursor of the table "household_deposit_category" */ -export type HouseholdDepositCategoryStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdDepositCategoryStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdDepositCategoryStreamCursorValueInput = { - categoryId?: InputMaybe; - groupId?: InputMaybe; -}; - -/** columns and relationships of "household.favorite_filter" */ -export type HouseholdFavoriteFilter = { - __typename?: "HouseholdFavoriteFilter"; - /** An array relationship */ - favoriteFilterArgs: Array; - /** An aggregate relationship */ - favoriteFilterArgsAggregate: HouseholdFavoriteFilterArgsAggregate; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - id: Scalars["String"]; - name: Scalars["String"]; -}; - -/** columns and relationships of "household.favorite_filter" */ -export type HouseholdFavoriteFilterFavoriteFilterArgsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.favorite_filter" */ -export type HouseholdFavoriteFilterFavoriteFilterArgsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "household.favorite_filter" */ -export type HouseholdFavoriteFilterAggregate = { - __typename?: "HouseholdFavoriteFilterAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdFavoriteFilterAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "household.favorite_filter" */ -export type HouseholdFavoriteFilterAggregateFields = { - __typename?: "HouseholdFavoriteFilterAggregateFields"; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; -}; - -/** aggregate fields of "household.favorite_filter" */ -export type HouseholdFavoriteFilterAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.favorite_filter" */ -export type HouseholdFavoriteFilterAggregateOrderBy = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** columns and relationships of "household.favorite_filter_args" */ -export type HouseholdFavoriteFilterArgs = { - __typename?: "HouseholdFavoriteFilterArgs"; - /** An object relationship */ - favoriteFilter: HouseholdFavoriteFilter; - /** An object relationship */ - favoriteFilterArgCategoryId?: Maybe; - filterId: Scalars["String"]; - id: Scalars["String"]; - key: Scalars["String"]; - value: Scalars["String"]; -}; - -/** aggregated selection of "household.favorite_filter_args" */ -export type HouseholdFavoriteFilterArgsAggregate = { - __typename?: "HouseholdFavoriteFilterArgsAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdFavoriteFilterArgsAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "household.favorite_filter_args" */ -export type HouseholdFavoriteFilterArgsAggregateFields = { - __typename?: "HouseholdFavoriteFilterArgsAggregateFields"; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; -}; - -/** aggregate fields of "household.favorite_filter_args" */ -export type HouseholdFavoriteFilterArgsAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.favorite_filter_args" */ -export type HouseholdFavoriteFilterArgsAggregateOrderBy = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "household.favorite_filter_args" */ -export type HouseholdFavoriteFilterArgsArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.favorite_filter_args". All fields are combined with a logical 'AND'. */ -export type HouseholdFavoriteFilterArgsBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - favoriteFilter?: InputMaybe; - favoriteFilterArgCategoryId?: InputMaybe; - filterId?: InputMaybe; - id?: InputMaybe; - key?: InputMaybe; - value?: InputMaybe; -}; - -/** unique or primary key constraints on table "household.favorite_filter_args" */ -export enum HouseholdFavoriteFilterArgsConstraint { - /** unique or primary key constraint on columns "id" */ - FavoriteFilterArgsPkey = "favorite_filter_args_pkey", -} - -/** input type for inserting data into table "household.favorite_filter_args" */ -export type HouseholdFavoriteFilterArgsInsertInput = { - favoriteFilter?: InputMaybe; - favoriteFilterArgCategoryId?: InputMaybe; - filterId?: InputMaybe; - id?: InputMaybe; - key?: InputMaybe; - value?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdFavoriteFilterArgsMaxFields = { - __typename?: "HouseholdFavoriteFilterArgsMaxFields"; - filterId?: Maybe; - id?: Maybe; - key?: Maybe; - value?: Maybe; -}; - -/** order by max() on columns of table "household.favorite_filter_args" */ -export type HouseholdFavoriteFilterArgsMaxOrderBy = { - filterId?: InputMaybe; - id?: InputMaybe; - key?: InputMaybe; - value?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdFavoriteFilterArgsMinFields = { - __typename?: "HouseholdFavoriteFilterArgsMinFields"; - filterId?: Maybe; - id?: Maybe; - key?: Maybe; - value?: Maybe; -}; - -/** order by min() on columns of table "household.favorite_filter_args" */ -export type HouseholdFavoriteFilterArgsMinOrderBy = { - filterId?: InputMaybe; - id?: InputMaybe; - key?: InputMaybe; - value?: InputMaybe; -}; - -/** response of any mutation on the table "household.favorite_filter_args" */ -export type HouseholdFavoriteFilterArgsMutationResponse = { - __typename?: "HouseholdFavoriteFilterArgsMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** on_conflict condition type for table "household.favorite_filter_args" */ -export type HouseholdFavoriteFilterArgsOnConflict = { - constraint: HouseholdFavoriteFilterArgsConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.favorite_filter_args". */ -export type HouseholdFavoriteFilterArgsOrderBy = { - favoriteFilter?: InputMaybe; - favoriteFilterArgCategoryId?: InputMaybe; - filterId?: InputMaybe; - id?: InputMaybe; - key?: InputMaybe; - value?: InputMaybe; -}; - -/** primary key columns input for table: household.favorite_filter_args */ -export type HouseholdFavoriteFilterArgsPkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "household.favorite_filter_args" */ -export enum HouseholdFavoriteFilterArgsSelectColumn { - /** column name */ - FilterId = "filterId", - /** column name */ - Id = "id", - /** column name */ - Key = "key", - /** column name */ - Value = "value", -} - -/** input type for updating data in table "household.favorite_filter_args" */ -export type HouseholdFavoriteFilterArgsSetInput = { - key?: InputMaybe; - value?: InputMaybe; -}; - -/** update columns of table "household.favorite_filter_args" */ -export enum HouseholdFavoriteFilterArgsUpdateColumn { - /** column name */ - Key = "key", - /** column name */ - Value = "value", -} - -export type HouseholdFavoriteFilterArgsUpdates = { - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: HouseholdFavoriteFilterArgsBoolExp; -}; - -/** Boolean expression to filter rows from the table "household.favorite_filter". All fields are combined with a logical 'AND'. */ -export type HouseholdFavoriteFilterBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - favoriteFilterArgs?: InputMaybe; - favoriteFilterArgsAggregate?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** unique or primary key constraints on table "household.favorite_filter" */ -export enum HouseholdFavoriteFilterConstraint { - /** unique or primary key constraint on columns "id" */ - FavoriteFilterPkey = "favorite_filter_pkey", -} - -/** input type for inserting data into table "household.favorite_filter" */ -export type HouseholdFavoriteFilterInsertInput = { - favoriteFilterArgs?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdFavoriteFilterMaxFields = { - __typename?: "HouseholdFavoriteFilterMaxFields"; - groupId?: Maybe; - id?: Maybe; - name?: Maybe; -}; - -/** order by max() on columns of table "household.favorite_filter" */ -export type HouseholdFavoriteFilterMaxOrderBy = { - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdFavoriteFilterMinFields = { - __typename?: "HouseholdFavoriteFilterMinFields"; - groupId?: Maybe; - id?: Maybe; - name?: Maybe; -}; - -/** order by min() on columns of table "household.favorite_filter" */ -export type HouseholdFavoriteFilterMinOrderBy = { - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** response of any mutation on the table "household.favorite_filter" */ -export type HouseholdFavoriteFilterMutationResponse = { - __typename?: "HouseholdFavoriteFilterMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "household.favorite_filter" */ -export type HouseholdFavoriteFilterObjRelInsertInput = { - data: HouseholdFavoriteFilterInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "household.favorite_filter" */ -export type HouseholdFavoriteFilterOnConflict = { - constraint: HouseholdFavoriteFilterConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.favorite_filter". */ -export type HouseholdFavoriteFilterOrderBy = { - favoriteFilterArgsAggregate?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** primary key columns input for table: household.favorite_filter */ -export type HouseholdFavoriteFilterPkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "household.favorite_filter" */ -export enum HouseholdFavoriteFilterSelectColumn { - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - Name = "name", -} - -/** input type for updating data in table "household.favorite_filter" */ -export type HouseholdFavoriteFilterSetInput = { - name?: InputMaybe; -}; - -/** update columns of table "household.favorite_filter" */ -export enum HouseholdFavoriteFilterUpdateColumn { - /** column name */ - Name = "name", -} - -export type HouseholdFavoriteFilterUpdates = { - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: HouseholdFavoriteFilterBoolExp; -}; - -/** columns and relationships of "household.genre" */ -export type HouseholdGenre = { - __typename?: "HouseholdGenre"; - /** An array relationship */ - categories: Array; - /** An array relationship */ - creditCardDetails: Array; - /** An aggregate relationship */ - creditCardDetailsAggregate: HouseholdCreditCardDetailAggregate; - /** An array relationship */ - dailyDetails: Array; - /** An aggregate relationship */ - dailyDetailsAggregate: HouseholdDailyDetailAggregate; - displayOrder: Scalars["Int"]; - genreType: Scalars["String"]; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - id: Scalars["String"]; - iocomeType: Scalars["String"]; - name: Scalars["String"]; - validFlag?: Maybe; -}; - -/** columns and relationships of "household.genre" */ -export type HouseholdGenreCategoriesArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.genre" */ -export type HouseholdGenreCreditCardDetailsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.genre" */ -export type HouseholdGenreCreditCardDetailsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.genre" */ -export type HouseholdGenreDailyDetailsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "household.genre" */ -export type HouseholdGenreDailyDetailsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "household.genre" */ -export type HouseholdGenreAggregate = { - __typename?: "HouseholdGenreAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdGenreAggregateBoolExp = { - bool_and?: InputMaybe; - bool_or?: InputMaybe; - count?: InputMaybe; -}; - -/** aggregate fields of "household.genre" */ -export type HouseholdGenreAggregateFields = { - __typename?: "HouseholdGenreAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "household.genre" */ -export type HouseholdGenreAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.genre" */ -export type HouseholdGenreAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type HouseholdGenreAvgFields = { - __typename?: "HouseholdGenreAvgFields"; - displayOrder?: Maybe; -}; - -/** order by avg() on columns of table "household.genre" */ -export type HouseholdGenreAvgOrderBy = { - displayOrder?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.genre". All fields are combined with a logical 'AND'. */ -export type HouseholdGenreBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - categories?: InputMaybe; - creditCardDetails?: InputMaybe; - creditCardDetailsAggregate?: InputMaybe; - dailyDetails?: InputMaybe; - dailyDetailsAggregate?: InputMaybe; - displayOrder?: InputMaybe; - genreType?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - name?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** unique or primary key constraints on table "household.genre" */ -export enum HouseholdGenreConstraint { - /** unique or primary key constraint on columns "id" */ - GenrePkey = "genre_pkey", -} - -/** input type for incrementing numeric columns in table "household.genre" */ -export type HouseholdGenreIncInput = { - displayOrder?: InputMaybe; -}; - -/** input type for inserting data into table "household.genre" */ -export type HouseholdGenreInsertInput = { - categories?: InputMaybe; - creditCardDetails?: InputMaybe; - dailyDetails?: InputMaybe; - displayOrder?: InputMaybe; - genreType?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - name?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdGenreMaxFields = { - __typename?: "HouseholdGenreMaxFields"; - displayOrder?: Maybe; - genreType?: Maybe; - groupId?: Maybe; - id?: Maybe; - iocomeType?: Maybe; - name?: Maybe; -}; - -/** order by max() on columns of table "household.genre" */ -export type HouseholdGenreMaxOrderBy = { - displayOrder?: InputMaybe; - genreType?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - name?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdGenreMinFields = { - __typename?: "HouseholdGenreMinFields"; - displayOrder?: Maybe; - genreType?: Maybe; - groupId?: Maybe; - id?: Maybe; - iocomeType?: Maybe; - name?: Maybe; -}; - -/** order by min() on columns of table "household.genre" */ -export type HouseholdGenreMinOrderBy = { - displayOrder?: InputMaybe; - genreType?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - name?: InputMaybe; -}; - -/** response of any mutation on the table "household.genre" */ -export type HouseholdGenreMutationResponse = { - __typename?: "HouseholdGenreMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "household.genre" */ -export type HouseholdGenreObjRelInsertInput = { - data: HouseholdGenreInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "household.genre" */ -export type HouseholdGenreOnConflict = { - constraint: HouseholdGenreConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.genre". */ -export type HouseholdGenreOrderBy = { - categoriesAggregate?: InputMaybe; - creditCardDetailsAggregate?: InputMaybe; - dailyDetailsAggregate?: InputMaybe; - displayOrder?: InputMaybe; - genreType?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - name?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** primary key columns input for table: household.genre */ -export type HouseholdGenrePkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "household.genre" */ -export enum HouseholdGenreSelectColumn { - /** column name */ - DisplayOrder = "displayOrder", - /** column name */ - GenreType = "genreType", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - IocomeType = "iocomeType", - /** column name */ - Name = "name", - /** column name */ - ValidFlag = "validFlag", -} - -/** select "householdGenreAggregateBoolExpBool_andArgumentsColumns" columns of table "household.genre" */ -export enum HouseholdGenreSelectColumnHouseholdGenreAggregateBoolExpBool_AndArgumentsColumns { - /** column name */ - ValidFlag = "validFlag", -} - -/** select "householdGenreAggregateBoolExpBool_orArgumentsColumns" columns of table "household.genre" */ -export enum HouseholdGenreSelectColumnHouseholdGenreAggregateBoolExpBool_OrArgumentsColumns { - /** column name */ - ValidFlag = "validFlag", -} - -/** input type for updating data in table "household.genre" */ -export type HouseholdGenreSetInput = { - displayOrder?: InputMaybe; - genreType?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - name?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** aggregate stddev on columns */ -export type HouseholdGenreStddevFields = { - __typename?: "HouseholdGenreStddevFields"; - displayOrder?: Maybe; -}; - -/** order by stddev() on columns of table "household.genre" */ -export type HouseholdGenreStddevOrderBy = { - displayOrder?: InputMaybe; -}; - -/** aggregate stddevPop on columns */ -export type HouseholdGenreStddevPopFields = { - __typename?: "HouseholdGenreStddevPopFields"; - displayOrder?: Maybe; -}; - -/** order by stddevPop() on columns of table "household.genre" */ -export type HouseholdGenreStddevPopOrderBy = { - displayOrder?: InputMaybe; -}; - -/** aggregate stddevSamp on columns */ -export type HouseholdGenreStddevSampFields = { - __typename?: "HouseholdGenreStddevSampFields"; - displayOrder?: Maybe; -}; - -/** order by stddevSamp() on columns of table "household.genre" */ -export type HouseholdGenreStddevSampOrderBy = { - displayOrder?: InputMaybe; -}; - -/** Streaming cursor of the table "household_genre" */ -export type HouseholdGenreStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdGenreStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdGenreStreamCursorValueInput = { - displayOrder?: InputMaybe; - genreType?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - iocomeType?: InputMaybe; - name?: InputMaybe; - validFlag?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type HouseholdGenreSumFields = { - __typename?: "HouseholdGenreSumFields"; - displayOrder?: Maybe; -}; - -/** order by sum() on columns of table "household.genre" */ -export type HouseholdGenreSumOrderBy = { - displayOrder?: InputMaybe; -}; - -/** update columns of table "household.genre" */ -export enum HouseholdGenreUpdateColumn { - /** column name */ - DisplayOrder = "displayOrder", - /** column name */ - GenreType = "genreType", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - IocomeType = "iocomeType", - /** column name */ - Name = "name", - /** column name */ - ValidFlag = "validFlag", -} - -export type HouseholdGenreUpdates = { - /** increments the numeric columns with given value of the filtered values */ - _inc?: InputMaybe; - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: HouseholdGenreBoolExp; -}; - -/** aggregate varPop on columns */ -export type HouseholdGenreVarPopFields = { - __typename?: "HouseholdGenreVarPopFields"; - displayOrder?: Maybe; -}; - -/** order by varPop() on columns of table "household.genre" */ -export type HouseholdGenreVarPopOrderBy = { - displayOrder?: InputMaybe; -}; - -/** aggregate varSamp on columns */ -export type HouseholdGenreVarSampFields = { - __typename?: "HouseholdGenreVarSampFields"; - displayOrder?: Maybe; -}; - -/** order by varSamp() on columns of table "household.genre" */ -export type HouseholdGenreVarSampOrderBy = { - displayOrder?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type HouseholdGenreVarianceFields = { - __typename?: "HouseholdGenreVarianceFields"; - displayOrder?: Maybe; -}; - -/** order by variance() on columns of table "household.genre" */ -export type HouseholdGenreVarianceOrderBy = { - displayOrder?: InputMaybe; -}; - -/** columns and relationships of "household.import_file_history" */ -export type HouseholdImportFileHistory = { - __typename?: "HouseholdImportFileHistory"; - fileName: Scalars["String"]; - fileType: Scalars["String"]; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - id: Scalars["String"]; - importDatetime: Scalars["timestamp"]; - importUserId: Scalars["String"]; -}; - -/** aggregated selection of "household.import_file_history" */ -export type HouseholdImportFileHistoryAggregate = { - __typename?: "HouseholdImportFileHistoryAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdImportFileHistoryAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "household.import_file_history" */ -export type HouseholdImportFileHistoryAggregateFields = { - __typename?: "HouseholdImportFileHistoryAggregateFields"; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; -}; - -/** aggregate fields of "household.import_file_history" */ -export type HouseholdImportFileHistoryAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.import_file_history" */ -export type HouseholdImportFileHistoryAggregateOrderBy = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.import_file_history". All fields are combined with a logical 'AND'. */ -export type HouseholdImportFileHistoryBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - fileName?: InputMaybe; - fileType?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - importDatetime?: InputMaybe; - importUserId?: InputMaybe; -}; - -/** unique or primary key constraints on table "household.import_file_history" */ -export enum HouseholdImportFileHistoryConstraint { - /** unique or primary key constraint on columns "id" */ - ImportFileHistoryPkey = "import_file_history_pkey", -} - -/** input type for inserting data into table "household.import_file_history" */ -export type HouseholdImportFileHistoryInsertInput = { - fileName?: InputMaybe; - fileType?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - importDatetime?: InputMaybe; - importUserId?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdImportFileHistoryMaxFields = { - __typename?: "HouseholdImportFileHistoryMaxFields"; - fileName?: Maybe; - fileType?: Maybe; - groupId?: Maybe; - id?: Maybe; - importDatetime?: Maybe; - importUserId?: Maybe; -}; - -/** order by max() on columns of table "household.import_file_history" */ -export type HouseholdImportFileHistoryMaxOrderBy = { - fileName?: InputMaybe; - fileType?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - importDatetime?: InputMaybe; - importUserId?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdImportFileHistoryMinFields = { - __typename?: "HouseholdImportFileHistoryMinFields"; - fileName?: Maybe; - fileType?: Maybe; - groupId?: Maybe; - id?: Maybe; - importDatetime?: Maybe; - importUserId?: Maybe; -}; - -/** order by min() on columns of table "household.import_file_history" */ -export type HouseholdImportFileHistoryMinOrderBy = { - fileName?: InputMaybe; - fileType?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - importDatetime?: InputMaybe; - importUserId?: InputMaybe; -}; - -/** response of any mutation on the table "household.import_file_history" */ -export type HouseholdImportFileHistoryMutationResponse = { - __typename?: "HouseholdImportFileHistoryMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** on_conflict condition type for table "household.import_file_history" */ -export type HouseholdImportFileHistoryOnConflict = { - constraint: HouseholdImportFileHistoryConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.import_file_history". */ -export type HouseholdImportFileHistoryOrderBy = { - fileName?: InputMaybe; - fileType?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - importDatetime?: InputMaybe; - importUserId?: InputMaybe; -}; - -/** select columns of table "household.import_file_history" */ -export enum HouseholdImportFileHistorySelectColumn { - /** column name */ - FileName = "fileName", - /** column name */ - FileType = "fileType", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", - /** column name */ - ImportDatetime = "importDatetime", - /** column name */ - ImportUserId = "importUserId", -} - -/** Streaming cursor of the table "household_import_file_history" */ -export type HouseholdImportFileHistoryStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdImportFileHistoryStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdImportFileHistoryStreamCursorValueInput = { - fileName?: InputMaybe; - fileType?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - importDatetime?: InputMaybe; - importUserId?: InputMaybe; -}; - -/** placeholder for update columns of table "household.import_file_history" (current role has no relevant permissions) */ -export enum HouseholdImportFileHistoryUpdateColumn { - /** placeholder (do not use) */ - Placeholder = "_PLACEHOLDER", -} - -/** columns and relationships of "household.summary_category" */ -export type HouseholdSummaryCategory = { - __typename?: "HouseholdSummaryCategory"; - /** An object relationship */ - category: HouseholdCategory; - categoryId: Scalars["String"]; - displayOrder: Scalars["Int"]; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - id: Scalars["String"]; -}; - -/** aggregated selection of "household.summary_category" */ -export type HouseholdSummaryCategoryAggregate = { - __typename?: "HouseholdSummaryCategoryAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdSummaryCategoryAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "household.summary_category" */ -export type HouseholdSummaryCategoryAggregateFields = { - __typename?: "HouseholdSummaryCategoryAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "household.summary_category" */ -export type HouseholdSummaryCategoryAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.summary_category" */ -export type HouseholdSummaryCategoryAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "household.summary_category" */ -export type HouseholdSummaryCategoryArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type HouseholdSummaryCategoryAvgFields = { - __typename?: "HouseholdSummaryCategoryAvgFields"; - displayOrder?: Maybe; -}; - -/** order by avg() on columns of table "household.summary_category" */ -export type HouseholdSummaryCategoryAvgOrderBy = { - displayOrder?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.summary_category". All fields are combined with a logical 'AND'. */ -export type HouseholdSummaryCategoryBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - category?: InputMaybe; - categoryId?: InputMaybe; - displayOrder?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; -}; - -/** unique or primary key constraints on table "household.summary_category" */ -export enum HouseholdSummaryCategoryConstraint { - /** unique or primary key constraint on columns "id" */ - SummaryCategoryByGroupPkey = "summary_category_by_group_pkey", -} - -/** input type for inserting data into table "household.summary_category" */ -export type HouseholdSummaryCategoryInsertInput = { - category?: InputMaybe; - categoryId?: InputMaybe; - displayOrder?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdSummaryCategoryMaxFields = { - __typename?: "HouseholdSummaryCategoryMaxFields"; - categoryId?: Maybe; - displayOrder?: Maybe; - groupId?: Maybe; - id?: Maybe; -}; - -/** order by max() on columns of table "household.summary_category" */ -export type HouseholdSummaryCategoryMaxOrderBy = { - categoryId?: InputMaybe; - displayOrder?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdSummaryCategoryMinFields = { - __typename?: "HouseholdSummaryCategoryMinFields"; - categoryId?: Maybe; - displayOrder?: Maybe; - groupId?: Maybe; - id?: Maybe; -}; - -/** order by min() on columns of table "household.summary_category" */ -export type HouseholdSummaryCategoryMinOrderBy = { - categoryId?: InputMaybe; - displayOrder?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; -}; - -/** response of any mutation on the table "household.summary_category" */ -export type HouseholdSummaryCategoryMutationResponse = { - __typename?: "HouseholdSummaryCategoryMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** on_conflict condition type for table "household.summary_category" */ -export type HouseholdSummaryCategoryOnConflict = { - constraint: HouseholdSummaryCategoryConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.summary_category". */ -export type HouseholdSummaryCategoryOrderBy = { - category?: InputMaybe; - categoryId?: InputMaybe; - displayOrder?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; -}; - -/** select columns of table "household.summary_category" */ -export enum HouseholdSummaryCategorySelectColumn { - /** column name */ - CategoryId = "categoryId", - /** column name */ - DisplayOrder = "displayOrder", - /** column name */ - GroupId = "groupId", - /** column name */ - Id = "id", -} - -/** aggregate stddev on columns */ -export type HouseholdSummaryCategoryStddevFields = { - __typename?: "HouseholdSummaryCategoryStddevFields"; - displayOrder?: Maybe; -}; - -/** order by stddev() on columns of table "household.summary_category" */ -export type HouseholdSummaryCategoryStddevOrderBy = { - displayOrder?: InputMaybe; -}; - -/** aggregate stddevPop on columns */ -export type HouseholdSummaryCategoryStddevPopFields = { - __typename?: "HouseholdSummaryCategoryStddevPopFields"; - displayOrder?: Maybe; -}; - -/** order by stddevPop() on columns of table "household.summary_category" */ -export type HouseholdSummaryCategoryStddevPopOrderBy = { - displayOrder?: InputMaybe; -}; - -/** aggregate stddevSamp on columns */ -export type HouseholdSummaryCategoryStddevSampFields = { - __typename?: "HouseholdSummaryCategoryStddevSampFields"; - displayOrder?: Maybe; -}; - -/** order by stddevSamp() on columns of table "household.summary_category" */ -export type HouseholdSummaryCategoryStddevSampOrderBy = { - displayOrder?: InputMaybe; -}; - -/** Streaming cursor of the table "household_summary_category" */ -export type HouseholdSummaryCategoryStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdSummaryCategoryStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdSummaryCategoryStreamCursorValueInput = { - categoryId?: InputMaybe; - displayOrder?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type HouseholdSummaryCategorySumFields = { - __typename?: "HouseholdSummaryCategorySumFields"; - displayOrder?: Maybe; -}; - -/** order by sum() on columns of table "household.summary_category" */ -export type HouseholdSummaryCategorySumOrderBy = { - displayOrder?: InputMaybe; -}; - -/** placeholder for update columns of table "household.summary_category" (current role has no relevant permissions) */ -export enum HouseholdSummaryCategoryUpdateColumn { - /** placeholder (do not use) */ - Placeholder = "_PLACEHOLDER", -} - -/** aggregate varPop on columns */ -export type HouseholdSummaryCategoryVarPopFields = { - __typename?: "HouseholdSummaryCategoryVarPopFields"; - displayOrder?: Maybe; -}; - -/** order by varPop() on columns of table "household.summary_category" */ -export type HouseholdSummaryCategoryVarPopOrderBy = { - displayOrder?: InputMaybe; -}; - -/** aggregate varSamp on columns */ -export type HouseholdSummaryCategoryVarSampFields = { - __typename?: "HouseholdSummaryCategoryVarSampFields"; - displayOrder?: Maybe; -}; - -/** order by varSamp() on columns of table "household.summary_category" */ -export type HouseholdSummaryCategoryVarSampOrderBy = { - displayOrder?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type HouseholdSummaryCategoryVarianceFields = { - __typename?: "HouseholdSummaryCategoryVarianceFields"; - displayOrder?: Maybe; -}; - -/** order by variance() on columns of table "household.summary_category" */ -export type HouseholdSummaryCategoryVarianceOrderBy = { - displayOrder?: InputMaybe; -}; - -/** columns and relationships of "household.total_by_category_view" */ -export type HouseholdTotalByCategoryView = { - __typename?: "HouseholdTotalByCategoryView"; - categoryId?: Maybe; - categoryName?: Maybe; - date?: Maybe; - genreId?: Maybe; - genreName?: Maybe; - /** An object relationship */ - group?: Maybe; - groupId?: Maybe; - iocomeType?: Maybe; - total?: Maybe; -}; - -/** aggregated selection of "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewAggregate = { - __typename?: "HouseholdTotalByCategoryViewAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdTotalByCategoryViewAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewAggregateFields = { - __typename?: "HouseholdTotalByCategoryViewAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type HouseholdTotalByCategoryViewAvgFields = { - __typename?: "HouseholdTotalByCategoryViewAvgFields"; - total?: Maybe; -}; - -/** order by avg() on columns of table "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewAvgOrderBy = { - total?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.total_by_category_view". All fields are combined with a logical 'AND'. */ -export type HouseholdTotalByCategoryViewBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - categoryId?: InputMaybe; - categoryName?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - genreName?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - total?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdTotalByCategoryViewMaxFields = { - __typename?: "HouseholdTotalByCategoryViewMaxFields"; - categoryId?: Maybe; - categoryName?: Maybe; - date?: Maybe; - genreId?: Maybe; - genreName?: Maybe; - groupId?: Maybe; - iocomeType?: Maybe; - total?: Maybe; -}; - -/** order by max() on columns of table "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewMaxOrderBy = { - categoryId?: InputMaybe; - categoryName?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - genreName?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - total?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdTotalByCategoryViewMinFields = { - __typename?: "HouseholdTotalByCategoryViewMinFields"; - categoryId?: Maybe; - categoryName?: Maybe; - date?: Maybe; - genreId?: Maybe; - genreName?: Maybe; - groupId?: Maybe; - iocomeType?: Maybe; - total?: Maybe; -}; - -/** order by min() on columns of table "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewMinOrderBy = { - categoryId?: InputMaybe; - categoryName?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - genreName?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - total?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.total_by_category_view". */ -export type HouseholdTotalByCategoryViewOrderBy = { - categoryId?: InputMaybe; - categoryName?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - genreName?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - total?: InputMaybe; -}; - -/** select columns of table "household.total_by_category_view" */ -export enum HouseholdTotalByCategoryViewSelectColumn { - /** column name */ - CategoryId = "categoryId", - /** column name */ - CategoryName = "categoryName", - /** column name */ - Date = "date", - /** column name */ - GenreId = "genreId", - /** column name */ - GenreName = "genreName", - /** column name */ - GroupId = "groupId", - /** column name */ - IocomeType = "iocomeType", - /** column name */ - Total = "total", -} - -/** aggregate stddev on columns */ -export type HouseholdTotalByCategoryViewStddevFields = { - __typename?: "HouseholdTotalByCategoryViewStddevFields"; - total?: Maybe; -}; - -/** order by stddev() on columns of table "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewStddevOrderBy = { - total?: InputMaybe; -}; - -/** aggregate stddevPop on columns */ -export type HouseholdTotalByCategoryViewStddevPopFields = { - __typename?: "HouseholdTotalByCategoryViewStddevPopFields"; - total?: Maybe; -}; - -/** order by stddevPop() on columns of table "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewStddevPopOrderBy = { - total?: InputMaybe; -}; - -/** aggregate stddevSamp on columns */ -export type HouseholdTotalByCategoryViewStddevSampFields = { - __typename?: "HouseholdTotalByCategoryViewStddevSampFields"; - total?: Maybe; -}; - -/** order by stddevSamp() on columns of table "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewStddevSampOrderBy = { - total?: InputMaybe; -}; - -/** Streaming cursor of the table "household_total_by_category_view" */ -export type HouseholdTotalByCategoryViewStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdTotalByCategoryViewStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdTotalByCategoryViewStreamCursorValueInput = { - categoryId?: InputMaybe; - categoryName?: InputMaybe; - date?: InputMaybe; - genreId?: InputMaybe; - genreName?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - total?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type HouseholdTotalByCategoryViewSumFields = { - __typename?: "HouseholdTotalByCategoryViewSumFields"; - total?: Maybe; -}; - -/** order by sum() on columns of table "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewSumOrderBy = { - total?: InputMaybe; -}; - -/** aggregate varPop on columns */ -export type HouseholdTotalByCategoryViewVarPopFields = { - __typename?: "HouseholdTotalByCategoryViewVarPopFields"; - total?: Maybe; -}; - -/** order by varPop() on columns of table "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewVarPopOrderBy = { - total?: InputMaybe; -}; - -/** aggregate varSamp on columns */ -export type HouseholdTotalByCategoryViewVarSampFields = { - __typename?: "HouseholdTotalByCategoryViewVarSampFields"; - total?: Maybe; -}; - -/** order by varSamp() on columns of table "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewVarSampOrderBy = { - total?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type HouseholdTotalByCategoryViewVarianceFields = { - __typename?: "HouseholdTotalByCategoryViewVarianceFields"; - total?: Maybe; -}; - -/** order by variance() on columns of table "household.total_by_category_view" */ -export type HouseholdTotalByCategoryViewVarianceOrderBy = { - total?: InputMaybe; -}; - -/** columns and relationships of "household.total_by_genre_view" */ -export type HouseholdTotalByGenreView = { - __typename?: "HouseholdTotalByGenreView"; - date?: Maybe; - genreId?: Maybe; - genreName?: Maybe; - groupId?: Maybe; - iocomeType?: Maybe; - total?: Maybe; -}; - -export type HouseholdTotalByGenreViewAggregate = { - __typename?: "HouseholdTotalByGenreViewAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "household.total_by_genre_view" */ -export type HouseholdTotalByGenreViewAggregateFields = { - __typename?: "HouseholdTotalByGenreViewAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "household.total_by_genre_view" */ -export type HouseholdTotalByGenreViewAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type HouseholdTotalByGenreViewAvgFields = { - __typename?: "HouseholdTotalByGenreViewAvgFields"; - total?: Maybe; -}; - -/** Boolean expression to filter rows from the table "household.total_by_genre_view". All fields are combined with a logical 'AND'. */ -export type HouseholdTotalByGenreViewBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - date?: InputMaybe; - genreId?: InputMaybe; - genreName?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - total?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdTotalByGenreViewMaxFields = { - __typename?: "HouseholdTotalByGenreViewMaxFields"; - date?: Maybe; - genreId?: Maybe; - genreName?: Maybe; - groupId?: Maybe; - iocomeType?: Maybe; - total?: Maybe; -}; - -/** aggregate min on columns */ -export type HouseholdTotalByGenreViewMinFields = { - __typename?: "HouseholdTotalByGenreViewMinFields"; - date?: Maybe; - genreId?: Maybe; - genreName?: Maybe; - groupId?: Maybe; - iocomeType?: Maybe; - total?: Maybe; -}; - -/** Ordering options when selecting data from "household.total_by_genre_view". */ -export type HouseholdTotalByGenreViewOrderBy = { - date?: InputMaybe; - genreId?: InputMaybe; - genreName?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - total?: InputMaybe; -}; - -/** select columns of table "household.total_by_genre_view" */ -export enum HouseholdTotalByGenreViewSelectColumn { - /** column name */ - Date = "date", - /** column name */ - GenreId = "genreId", - /** column name */ - GenreName = "genreName", - /** column name */ - GroupId = "groupId", - /** column name */ - IocomeType = "iocomeType", - /** column name */ - Total = "total", -} - -/** aggregate stddev on columns */ -export type HouseholdTotalByGenreViewStddevFields = { - __typename?: "HouseholdTotalByGenreViewStddevFields"; - total?: Maybe; -}; - -/** aggregate stddevPop on columns */ -export type HouseholdTotalByGenreViewStddevPopFields = { - __typename?: "HouseholdTotalByGenreViewStddevPopFields"; - total?: Maybe; -}; - -/** aggregate stddevSamp on columns */ -export type HouseholdTotalByGenreViewStddevSampFields = { - __typename?: "HouseholdTotalByGenreViewStddevSampFields"; - total?: Maybe; -}; - -/** Streaming cursor of the table "household_total_by_genre_view" */ -export type HouseholdTotalByGenreViewStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdTotalByGenreViewStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdTotalByGenreViewStreamCursorValueInput = { - date?: InputMaybe; - genreId?: InputMaybe; - genreName?: InputMaybe; - groupId?: InputMaybe; - iocomeType?: InputMaybe; - total?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type HouseholdTotalByGenreViewSumFields = { - __typename?: "HouseholdTotalByGenreViewSumFields"; - total?: Maybe; -}; - -/** aggregate varPop on columns */ -export type HouseholdTotalByGenreViewVarPopFields = { - __typename?: "HouseholdTotalByGenreViewVarPopFields"; - total?: Maybe; -}; - -/** aggregate varSamp on columns */ -export type HouseholdTotalByGenreViewVarSampFields = { - __typename?: "HouseholdTotalByGenreViewVarSampFields"; - total?: Maybe; -}; - -/** aggregate variance on columns */ -export type HouseholdTotalByGenreViewVarianceFields = { - __typename?: "HouseholdTotalByGenreViewVarianceFields"; - total?: Maybe; -}; - -/** columns and relationships of "household.transfer_category" */ -export type HouseholdTransferCategory = { - __typename?: "HouseholdTransferCategory"; - /** An object relationship */ - categoryByIncomeCategoryId: HouseholdCategory; - /** An object relationship */ - categoryByOutcomeCategoryId: HouseholdCategory; - /** An object relationship */ - group: Group; - groupId: Scalars["String"]; - incomeCategoryId: Scalars["String"]; - outcomeCategoryId: Scalars["String"]; -}; - -/** aggregated selection of "household.transfer_category" */ -export type HouseholdTransferCategoryAggregate = { - __typename?: "HouseholdTransferCategoryAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type HouseholdTransferCategoryAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "household.transfer_category" */ -export type HouseholdTransferCategoryAggregateFields = { - __typename?: "HouseholdTransferCategoryAggregateFields"; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; -}; - -/** aggregate fields of "household.transfer_category" */ -export type HouseholdTransferCategoryAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "household.transfer_category" */ -export type HouseholdTransferCategoryAggregateOrderBy = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "household.transfer_category". All fields are combined with a logical 'AND'. */ -export type HouseholdTransferCategoryBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - categoryByIncomeCategoryId?: InputMaybe; - categoryByOutcomeCategoryId?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - incomeCategoryId?: InputMaybe; - outcomeCategoryId?: InputMaybe; -}; - -/** aggregate max on columns */ -export type HouseholdTransferCategoryMaxFields = { - __typename?: "HouseholdTransferCategoryMaxFields"; - groupId?: Maybe; - incomeCategoryId?: Maybe; - outcomeCategoryId?: Maybe; -}; - -/** order by max() on columns of table "household.transfer_category" */ -export type HouseholdTransferCategoryMaxOrderBy = { - groupId?: InputMaybe; - incomeCategoryId?: InputMaybe; - outcomeCategoryId?: InputMaybe; -}; - -/** aggregate min on columns */ -export type HouseholdTransferCategoryMinFields = { - __typename?: "HouseholdTransferCategoryMinFields"; - groupId?: Maybe; - incomeCategoryId?: Maybe; - outcomeCategoryId?: Maybe; -}; - -/** order by min() on columns of table "household.transfer_category" */ -export type HouseholdTransferCategoryMinOrderBy = { - groupId?: InputMaybe; - incomeCategoryId?: InputMaybe; - outcomeCategoryId?: InputMaybe; -}; - -/** Ordering options when selecting data from "household.transfer_category". */ -export type HouseholdTransferCategoryOrderBy = { - categoryByIncomeCategoryId?: InputMaybe; - categoryByOutcomeCategoryId?: InputMaybe; - group?: InputMaybe; - groupId?: InputMaybe; - incomeCategoryId?: InputMaybe; - outcomeCategoryId?: InputMaybe; -}; - -/** select columns of table "household.transfer_category" */ -export enum HouseholdTransferCategorySelectColumn { - /** column name */ - GroupId = "groupId", - /** column name */ - IncomeCategoryId = "incomeCategoryId", - /** column name */ - OutcomeCategoryId = "outcomeCategoryId", -} - -/** Streaming cursor of the table "household_transfer_category" */ -export type HouseholdTransferCategoryStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: HouseholdTransferCategoryStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HouseholdTransferCategoryStreamCursorValueInput = { - groupId?: InputMaybe; - incomeCategoryId?: InputMaybe; - outcomeCategoryId?: InputMaybe; -}; - -/** columns and relationships of "import_file_history" */ -export type ImportFileHistory = { - __typename?: "ImportFileHistory"; - /** An object relationship */ - app: App; - appId: Scalars["String"]; - count: Scalars["Int"]; - fileName: Scalars["String"]; - id: Scalars["String"]; - importDatetime: Scalars["timestamptz"]; - /** An array relationship */ - importFileRecords: Array; -}; - -/** columns and relationships of "import_file_history" */ -export type ImportFileHistoryImportFileRecordsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** order by aggregate values of table "import_file_history" */ -export type ImportFileHistoryAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "import_file_history" */ -export type ImportFileHistoryArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** order by avg() on columns of table "import_file_history" */ -export type ImportFileHistoryAvgOrderBy = { - count?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "import_file_history". All fields are combined with a logical 'AND'. */ -export type ImportFileHistoryBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - app?: InputMaybe; - appId?: InputMaybe; - count?: InputMaybe; - fileName?: InputMaybe; - id?: InputMaybe; - importDatetime?: InputMaybe; - importFileRecords?: InputMaybe; -}; - -/** unique or primary key constraints on table "import_file_history" */ -export enum ImportFileHistoryConstraint { - /** unique or primary key constraint on columns "id" */ - ImportFileHistoryPkey = "import_file_history_pkey", -} - -/** input type for inserting data into table "import_file_history" */ -export type ImportFileHistoryInsertInput = { - app?: InputMaybe; - appId?: InputMaybe; - count?: InputMaybe; - fileName?: InputMaybe; - id?: InputMaybe; - importDatetime?: InputMaybe; - importFileRecords?: InputMaybe; -}; - -/** order by max() on columns of table "import_file_history" */ -export type ImportFileHistoryMaxOrderBy = { - appId?: InputMaybe; - count?: InputMaybe; - fileName?: InputMaybe; - id?: InputMaybe; - importDatetime?: InputMaybe; -}; - -/** order by min() on columns of table "import_file_history" */ -export type ImportFileHistoryMinOrderBy = { - appId?: InputMaybe; - count?: InputMaybe; - fileName?: InputMaybe; - id?: InputMaybe; - importDatetime?: InputMaybe; -}; - -/** response of any mutation on the table "import_file_history" */ -export type ImportFileHistoryMutationResponse = { - __typename?: "ImportFileHistoryMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "import_file_history" */ -export type ImportFileHistoryObjRelInsertInput = { - data: ImportFileHistoryInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "import_file_history" */ -export type ImportFileHistoryOnConflict = { - constraint: ImportFileHistoryConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "import_file_history". */ -export type ImportFileHistoryOrderBy = { - app?: InputMaybe; - appId?: InputMaybe; - count?: InputMaybe; - fileName?: InputMaybe; - id?: InputMaybe; - importDatetime?: InputMaybe; - importFileRecordsAggregate?: InputMaybe; -}; - -/** select columns of table "import_file_history" */ -export enum ImportFileHistorySelectColumn { - /** column name */ - AppId = "appId", - /** column name */ - Count = "count", - /** column name */ - FileName = "fileName", - /** column name */ - Id = "id", - /** column name */ - ImportDatetime = "importDatetime", -} - -/** order by stddev() on columns of table "import_file_history" */ -export type ImportFileHistoryStddevOrderBy = { - count?: InputMaybe; -}; - -/** order by stddevPop() on columns of table "import_file_history" */ -export type ImportFileHistoryStddevPopOrderBy = { - count?: InputMaybe; -}; - -/** order by stddevSamp() on columns of table "import_file_history" */ -export type ImportFileHistoryStddevSampOrderBy = { - count?: InputMaybe; -}; - -/** Streaming cursor of the table "import_file_history" */ -export type ImportFileHistoryStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: ImportFileHistoryStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type ImportFileHistoryStreamCursorValueInput = { - appId?: InputMaybe; - count?: InputMaybe; - fileName?: InputMaybe; - id?: InputMaybe; - importDatetime?: InputMaybe; -}; - -/** order by sum() on columns of table "import_file_history" */ -export type ImportFileHistorySumOrderBy = { - count?: InputMaybe; -}; - -/** placeholder for update columns of table "import_file_history" (current role has no relevant permissions) */ -export enum ImportFileHistoryUpdateColumn { - /** placeholder (do not use) */ - Placeholder = "_PLACEHOLDER", -} - -/** order by varPop() on columns of table "import_file_history" */ -export type ImportFileHistoryVarPopOrderBy = { - count?: InputMaybe; -}; - -/** order by varSamp() on columns of table "import_file_history" */ -export type ImportFileHistoryVarSampOrderBy = { - count?: InputMaybe; -}; - -/** order by variance() on columns of table "import_file_history" */ -export type ImportFileHistoryVarianceOrderBy = { - count?: InputMaybe; -}; - -/** columns and relationships of "import_file_record" */ -export type ImportFileRecord = { - __typename?: "ImportFileRecord"; - historyId: Scalars["String"]; - /** An object relationship */ - importFileHistory: ImportFileHistory; - /** An object relationship */ - record: Record; - recordId: Scalars["String"]; -}; - -/** order by aggregate values of table "import_file_record" */ -export type ImportFileRecordAggregateOrderBy = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "import_file_record" */ -export type ImportFileRecordArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "import_file_record". All fields are combined with a logical 'AND'. */ -export type ImportFileRecordBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - historyId?: InputMaybe; - importFileHistory?: InputMaybe; - record?: InputMaybe; - recordId?: InputMaybe; -}; - -/** unique or primary key constraints on table "import_file_record" */ -export enum ImportFileRecordConstraint { - /** unique or primary key constraint on columns "record_id" */ - ImportFileRecordPkey = "import_file_record_pkey", -} - -/** input type for inserting data into table "import_file_record" */ -export type ImportFileRecordInsertInput = { - historyId?: InputMaybe; - importFileHistory?: InputMaybe; - record?: InputMaybe; - recordId?: InputMaybe; -}; - -/** order by max() on columns of table "import_file_record" */ -export type ImportFileRecordMaxOrderBy = { - historyId?: InputMaybe; - recordId?: InputMaybe; -}; - -/** order by min() on columns of table "import_file_record" */ -export type ImportFileRecordMinOrderBy = { - historyId?: InputMaybe; - recordId?: InputMaybe; -}; - -/** response of any mutation on the table "import_file_record" */ -export type ImportFileRecordMutationResponse = { - __typename?: "ImportFileRecordMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "import_file_record" */ -export type ImportFileRecordObjRelInsertInput = { - data: ImportFileRecordInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "import_file_record" */ -export type ImportFileRecordOnConflict = { - constraint: ImportFileRecordConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "import_file_record". */ -export type ImportFileRecordOrderBy = { - historyId?: InputMaybe; - importFileHistory?: InputMaybe; - record?: InputMaybe; - recordId?: InputMaybe; -}; - -/** select columns of table "import_file_record" */ -export enum ImportFileRecordSelectColumn { - /** column name */ - HistoryId = "historyId", - /** column name */ - RecordId = "recordId", -} - -/** Streaming cursor of the table "import_file_record" */ -export type ImportFileRecordStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: ImportFileRecordStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type ImportFileRecordStreamCursorValueInput = { - historyId?: InputMaybe; - recordId?: InputMaybe; -}; - -/** placeholder for update columns of table "import_file_record" (current role has no relevant permissions) */ -export enum ImportFileRecordUpdateColumn { - /** placeholder (do not use) */ - Placeholder = "_PLACEHOLDER", -} - -/** columns and relationships of "import_file_setting" */ -export type ImportFileSetting = { - __typename?: "ImportFileSetting"; - /** An object relationship */ - app: App; - appId: Scalars["String"]; - settings: Scalars["json"]; -}; - -/** columns and relationships of "import_file_setting" */ -export type ImportFileSettingSettingsArgs = { - path?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "import_file_setting". All fields are combined with a logical 'AND'. */ -export type ImportFileSettingBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - app?: InputMaybe; - appId?: InputMaybe; - settings?: InputMaybe; -}; - -/** unique or primary key constraints on table "import_file_setting" */ -export enum ImportFileSettingConstraint { - /** unique or primary key constraint on columns "app_id" */ - ImportFileSettingPkey = "import_file_setting_pkey", -} - -/** input type for inserting data into table "import_file_setting" */ -export type ImportFileSettingInsertInput = { - app?: InputMaybe; - appId?: InputMaybe; - settings?: InputMaybe; -}; - -/** response of any mutation on the table "import_file_setting" */ -export type ImportFileSettingMutationResponse = { - __typename?: "ImportFileSettingMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "import_file_setting" */ -export type ImportFileSettingObjRelInsertInput = { - data: ImportFileSettingInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "import_file_setting" */ -export type ImportFileSettingOnConflict = { - constraint: ImportFileSettingConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "import_file_setting". */ -export type ImportFileSettingOrderBy = { - app?: InputMaybe; - appId?: InputMaybe; - settings?: InputMaybe; -}; - -/** primary key columns input for table: import_file_setting */ -export type ImportFileSettingPkColumnsInput = { - appId: Scalars["String"]; -}; - -/** select columns of table "import_file_setting" */ -export enum ImportFileSettingSelectColumn { - /** column name */ - AppId = "appId", - /** column name */ - Settings = "settings", -} - -/** input type for updating data in table "import_file_setting" */ -export type ImportFileSettingSetInput = { - settings?: InputMaybe; -}; - -/** Streaming cursor of the table "import_file_setting" */ -export type ImportFileSettingStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: ImportFileSettingStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type ImportFileSettingStreamCursorValueInput = { - appId?: InputMaybe; - settings?: InputMaybe; -}; - -/** update columns of table "import_file_setting" */ -export enum ImportFileSettingUpdateColumn { - /** column name */ - Settings = "settings", -} - -export type ImportFileSettingUpdates = { - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: ImportFileSettingBoolExp; -}; - -/** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ -export type IntComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _isNull?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ -export type JsonComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _isNull?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ -export type NumericComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _isNull?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** column ordering options */ -export enum OrderBy { - /** in ascending order, nulls last */ - Asc = "ASC", - /** in ascending order, nulls first */ - AscNullsFirst = "ASC_NULLS_FIRST", - /** in ascending order, nulls last */ - AscNullsLast = "ASC_NULLS_LAST", - /** in descending order, nulls first */ - Desc = "DESC", - /** in descending order, nulls first */ - DescNullsFirst = "DESC_NULLS_FIRST", - /** in descending order, nulls last */ - DescNullsLast = "DESC_NULLS_LAST", -} - -/** columns and relationships of "record" */ -export type Record = { - __typename?: "Record"; - /** An object relationship */ - app: App; - appId: Scalars["String"]; - columns: Scalars["json"]; - id: Scalars["String"]; - /** An object relationship */ - importFileRecord?: Maybe; - index: Scalars["Int"]; -}; - -/** columns and relationships of "record" */ -export type RecordColumnsArgs = { - path?: InputMaybe; -}; - -/** aggregated selection of "record" */ -export type RecordAggregate = { - __typename?: "RecordAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type RecordAggregateBoolExp = { - count?: InputMaybe; -}; - -/** aggregate fields of "record" */ -export type RecordAggregateFields = { - __typename?: "RecordAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "record" */ -export type RecordAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "record" */ -export type RecordAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "record" */ -export type RecordArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type RecordAvgFields = { - __typename?: "RecordAvgFields"; - index?: Maybe; -}; - -/** order by avg() on columns of table "record" */ -export type RecordAvgOrderBy = { - index?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "record". All fields are combined with a logical 'AND'. */ -export type RecordBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - app?: InputMaybe; - appId?: InputMaybe; - columns?: InputMaybe; - id?: InputMaybe; - importFileRecord?: InputMaybe; - index?: InputMaybe; -}; - -/** unique or primary key constraints on table "record" */ -export enum RecordConstraint { - /** unique or primary key constraint on columns "id" */ - RecordPkey = "record_pkey", -} - -/** input type for incrementing numeric columns in table "record" */ -export type RecordIncInput = { - index?: InputMaybe; -}; - -/** input type for inserting data into table "record" */ -export type RecordInsertInput = { - app?: InputMaybe; - appId?: InputMaybe; - columns?: InputMaybe; - id?: InputMaybe; - importFileRecord?: InputMaybe; - index?: InputMaybe; -}; - -/** aggregate max on columns */ -export type RecordMaxFields = { - __typename?: "RecordMaxFields"; - appId?: Maybe; - id?: Maybe; - index?: Maybe; -}; - -/** order by max() on columns of table "record" */ -export type RecordMaxOrderBy = { - appId?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; -}; - -/** aggregate min on columns */ -export type RecordMinFields = { - __typename?: "RecordMinFields"; - appId?: Maybe; - id?: Maybe; - index?: Maybe; -}; - -/** order by min() on columns of table "record" */ -export type RecordMinOrderBy = { - appId?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; -}; - -/** response of any mutation on the table "record" */ -export type RecordMutationResponse = { - __typename?: "RecordMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "record" */ -export type RecordObjRelInsertInput = { - data: RecordInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "record" */ -export type RecordOnConflict = { - constraint: RecordConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "record". */ -export type RecordOrderBy = { - app?: InputMaybe; - appId?: InputMaybe; - columns?: InputMaybe; - id?: InputMaybe; - importFileRecord?: InputMaybe; - index?: InputMaybe; -}; - -/** primary key columns input for table: record */ -export type RecordPkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "record" */ -export enum RecordSelectColumn { - /** column name */ - AppId = "appId", - /** column name */ - Columns = "columns", - /** column name */ - Id = "id", - /** column name */ - Index = "index", -} - -/** input type for updating data in table "record" */ -export type RecordSetInput = { - columns?: InputMaybe; - index?: InputMaybe; -}; - -/** aggregate stddev on columns */ -export type RecordStddevFields = { - __typename?: "RecordStddevFields"; - index?: Maybe; -}; - -/** order by stddev() on columns of table "record" */ -export type RecordStddevOrderBy = { - index?: InputMaybe; -}; - -/** aggregate stddevPop on columns */ -export type RecordStddevPopFields = { - __typename?: "RecordStddevPopFields"; - index?: Maybe; -}; - -/** order by stddevPop() on columns of table "record" */ -export type RecordStddevPopOrderBy = { - index?: InputMaybe; -}; - -/** aggregate stddevSamp on columns */ -export type RecordStddevSampFields = { - __typename?: "RecordStddevSampFields"; - index?: Maybe; -}; - -/** order by stddevSamp() on columns of table "record" */ -export type RecordStddevSampOrderBy = { - index?: InputMaybe; -}; - -/** Streaming cursor of the table "record" */ -export type RecordStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: RecordStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type RecordStreamCursorValueInput = { - appId?: InputMaybe; - columns?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type RecordSumFields = { - __typename?: "RecordSumFields"; - index?: Maybe; -}; - -/** order by sum() on columns of table "record" */ -export type RecordSumOrderBy = { - index?: InputMaybe; -}; - -/** update columns of table "record" */ -export enum RecordUpdateColumn { - /** column name */ - Columns = "columns", - /** column name */ - Index = "index", -} - -export type RecordUpdates = { - /** increments the numeric columns with given value of the filtered values */ - _inc?: InputMaybe; - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: RecordBoolExp; -}; - -/** aggregate varPop on columns */ -export type RecordVarPopFields = { - __typename?: "RecordVarPopFields"; - index?: Maybe; -}; - -/** order by varPop() on columns of table "record" */ -export type RecordVarPopOrderBy = { - index?: InputMaybe; -}; - -/** aggregate varSamp on columns */ -export type RecordVarSampFields = { - __typename?: "RecordVarSampFields"; - index?: Maybe; -}; - -/** order by varSamp() on columns of table "record" */ -export type RecordVarSampOrderBy = { - index?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type RecordVarianceFields = { - __typename?: "RecordVarianceFields"; - index?: Maybe; -}; - -/** order by variance() on columns of table "record" */ -export type RecordVarianceOrderBy = { - index?: InputMaybe; -}; - -/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ -export type StringComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - /** does the column match the given case-insensitive pattern */ - _ilike?: InputMaybe; - _in?: InputMaybe>; - /** does the column match the given POSIX regular expression, case insensitive */ - _iregex?: InputMaybe; - _isNull?: InputMaybe; - /** does the column match the given pattern */ - _like?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - /** does the column NOT match the given case-insensitive pattern */ - _nilike?: InputMaybe; - _nin?: InputMaybe>; - /** does the column NOT match the given POSIX regular expression, case insensitive */ - _niregex?: InputMaybe; - /** does the column NOT match the given pattern */ - _nlike?: InputMaybe; - /** does the column NOT match the given POSIX regular expression, case sensitive */ - _nregex?: InputMaybe; - /** does the column NOT match the given SQL regular expression */ - _nsimilar?: InputMaybe; - /** does the column match the given POSIX regular expression, case sensitive */ - _regex?: InputMaybe; - /** does the column match the given SQL regular expression */ - _similar?: InputMaybe; -}; - -/** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ -export type TimestampComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _isNull?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ -export type TimestamptzComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _isNull?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** columns and relationships of "user" */ -export type User = { - __typename?: "User"; - /** An array relationship */ - affiliations: Array; - /** An aggregate relationship */ - affiliationsAggregate: AffiliationAggregate; - /** An array relationship */ - apps: Array; - /** An array relationship */ - creditCardDetails: Array; - /** An aggregate relationship */ - creditCardDetailsAggregate: HouseholdCreditCardDetailAggregate; - /** An array relationship */ - dailyDetails: Array; - /** An aggregate relationship */ - dailyDetailsAggregate: HouseholdDailyDetailAggregate; - displayOrder?: Maybe; - email: Scalars["String"]; - id: Scalars["String"]; - name?: Maybe; - /** An array relationship */ - views: Array; -}; - -/** columns and relationships of "user" */ -export type UserAffiliationsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "user" */ -export type UserAffiliationsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "user" */ -export type UserAppsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "user" */ -export type UserCreditCardDetailsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "user" */ -export type UserCreditCardDetailsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "user" */ -export type UserDailyDetailsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "user" */ -export type UserDailyDetailsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "user" */ -export type UserViewsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "user" */ -export type UserAggregate = { - __typename?: "UserAggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "user" */ -export type UserAggregateFields = { - __typename?: "UserAggregateFields"; - avg?: Maybe; - count: Scalars["Int"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddevPop?: Maybe; - stddevSamp?: Maybe; - sum?: Maybe; - varPop?: Maybe; - varSamp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "user" */ -export type UserAggregateFieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type UserAvgFields = { - __typename?: "UserAvgFields"; - displayOrder?: Maybe; -}; - -/** Boolean expression to filter rows from the table "user". All fields are combined with a logical 'AND'. */ -export type UserBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - affiliations?: InputMaybe; - affiliationsAggregate?: InputMaybe; - apps?: InputMaybe; - creditCardDetails?: InputMaybe; - creditCardDetailsAggregate?: InputMaybe; - dailyDetails?: InputMaybe; - dailyDetailsAggregate?: InputMaybe; - displayOrder?: InputMaybe; - email?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - views?: InputMaybe; -}; - -/** unique or primary key constraints on table "user" */ -export enum UserConstraint { - /** unique or primary key constraint on columns "email" */ - UserEmailKey = "user_email_key", - /** unique or primary key constraint on columns "id" */ - UserPkey = "user_pkey", -} - -/** input type for inserting data into table "user" */ -export type UserInsertInput = { - affiliations?: InputMaybe; - apps?: InputMaybe; - creditCardDetails?: InputMaybe; - dailyDetails?: InputMaybe; - displayOrder?: InputMaybe; - email?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - views?: InputMaybe; -}; - -/** aggregate max on columns */ -export type UserMaxFields = { - __typename?: "UserMaxFields"; - displayOrder?: Maybe; - email?: Maybe; - id?: Maybe; - name?: Maybe; -}; - -/** aggregate min on columns */ -export type UserMinFields = { - __typename?: "UserMinFields"; - displayOrder?: Maybe; - email?: Maybe; - id?: Maybe; - name?: Maybe; -}; - -/** response of any mutation on the table "user" */ -export type UserMutationResponse = { - __typename?: "UserMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "user" */ -export type UserObjRelInsertInput = { - data: UserInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "user" */ -export type UserOnConflict = { - constraint: UserConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "user". */ -export type UserOrderBy = { - affiliationsAggregate?: InputMaybe; - appsAggregate?: InputMaybe; - creditCardDetailsAggregate?: InputMaybe; - dailyDetailsAggregate?: InputMaybe; - displayOrder?: InputMaybe; - email?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - viewsAggregate?: InputMaybe; -}; - -/** select columns of table "user" */ -export enum UserSelectColumn { - /** column name */ - DisplayOrder = "displayOrder", - /** column name */ - Email = "email", - /** column name */ - Id = "id", - /** column name */ - Name = "name", -} - -/** aggregate stddev on columns */ -export type UserStddevFields = { - __typename?: "UserStddevFields"; - displayOrder?: Maybe; -}; - -/** aggregate stddevPop on columns */ -export type UserStddevPopFields = { - __typename?: "UserStddevPopFields"; - displayOrder?: Maybe; -}; - -/** aggregate stddevSamp on columns */ -export type UserStddevSampFields = { - __typename?: "UserStddevSampFields"; - displayOrder?: Maybe; -}; - -/** Streaming cursor of the table "user" */ -export type UserStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: UserStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type UserStreamCursorValueInput = { - displayOrder?: InputMaybe; - email?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type UserSumFields = { - __typename?: "UserSumFields"; - displayOrder?: Maybe; -}; - -/** placeholder for update columns of table "user" (current role has no relevant permissions) */ -export enum UserUpdateColumn { - /** placeholder (do not use) */ - Placeholder = "_PLACEHOLDER", -} - -/** aggregate varPop on columns */ -export type UserVarPopFields = { - __typename?: "UserVarPopFields"; - displayOrder?: Maybe; -}; - -/** aggregate varSamp on columns */ -export type UserVarSampFields = { - __typename?: "UserVarSampFields"; - displayOrder?: Maybe; -}; - -/** aggregate variance on columns */ -export type UserVarianceFields = { - __typename?: "UserVarianceFields"; - displayOrder?: Maybe; -}; - -/** columns and relationships of "view" */ -export type View = { - __typename?: "View"; - /** An object relationship */ - group: Group; - id: Scalars["String"]; - name: Scalars["String"]; - /** An object relationship */ - user: User; - /** An array relationship */ - viewApps: Array; - /** An array relationship */ - viewFields: Array; -}; - -/** columns and relationships of "view" */ -export type ViewViewAppsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** columns and relationships of "view" */ -export type ViewViewFieldsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -/** order by aggregate values of table "view" */ -export type ViewAggregateOrderBy = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** columns and relationships of "view_app" */ -export type ViewApp = { - __typename?: "ViewApp"; - /** An object relationship */ - app: App; - appId: Scalars["String"]; - fields: Scalars["json"]; - id: Scalars["String"]; - /** An object relationship */ - view: View; - viewId: Scalars["String"]; -}; - -/** columns and relationships of "view_app" */ -export type ViewAppFieldsArgs = { - path?: InputMaybe; -}; - -/** order by aggregate values of table "view_app" */ -export type ViewAppAggregateOrderBy = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "view_app" */ -export type ViewAppArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "view_app". All fields are combined with a logical 'AND'. */ -export type ViewAppBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - app?: InputMaybe; - appId?: InputMaybe; - fields?: InputMaybe; - id?: InputMaybe; - view?: InputMaybe; - viewId?: InputMaybe; -}; - -/** unique or primary key constraints on table "view_app" */ -export enum ViewAppConstraint { - /** unique or primary key constraint on columns "id" */ - ViewAppPkey = "view_app_pkey", -} - -/** input type for inserting data into table "view_app" */ -export type ViewAppInsertInput = { - app?: InputMaybe; - appId?: InputMaybe; - fields?: InputMaybe; - id?: InputMaybe; - view?: InputMaybe; - viewId?: InputMaybe; -}; - -/** order by max() on columns of table "view_app" */ -export type ViewAppMaxOrderBy = { - appId?: InputMaybe; - id?: InputMaybe; - viewId?: InputMaybe; -}; - -/** order by min() on columns of table "view_app" */ -export type ViewAppMinOrderBy = { - appId?: InputMaybe; - id?: InputMaybe; - viewId?: InputMaybe; -}; - -/** response of any mutation on the table "view_app" */ -export type ViewAppMutationResponse = { - __typename?: "ViewAppMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** on_conflict condition type for table "view_app" */ -export type ViewAppOnConflict = { - constraint: ViewAppConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "view_app". */ -export type ViewAppOrderBy = { - app?: InputMaybe; - appId?: InputMaybe; - fields?: InputMaybe; - id?: InputMaybe; - view?: InputMaybe; - viewId?: InputMaybe; -}; - -/** select columns of table "view_app" */ -export enum ViewAppSelectColumn { - /** column name */ - AppId = "appId", - /** column name */ - Fields = "fields", - /** column name */ - Id = "id", - /** column name */ - ViewId = "viewId", -} - -/** Streaming cursor of the table "view_app" */ -export type ViewAppStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: ViewAppStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type ViewAppStreamCursorValueInput = { - appId?: InputMaybe; - fields?: InputMaybe; - id?: InputMaybe; - viewId?: InputMaybe; -}; - -/** placeholder for update columns of table "view_app" (current role has no relevant permissions) */ -export enum ViewAppUpdateColumn { - /** placeholder (do not use) */ - Placeholder = "_PLACEHOLDER", -} - -/** input type for inserting array relation for remote table "view" */ -export type ViewArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "view". All fields are combined with a logical 'AND'. */ -export type ViewBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - group?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - user?: InputMaybe; - viewApps?: InputMaybe; - viewFields?: InputMaybe; -}; - -/** unique or primary key constraints on table "view" */ -export enum ViewConstraint { - /** unique or primary key constraint on columns "id" */ - ViewPkey = "view_pkey", -} - -/** columns and relationships of "view_field" */ -export type ViewField = { - __typename?: "ViewField"; - fieldKind: Scalars["String"]; - id: Scalars["String"]; - index: Scalars["Int"]; - name: Scalars["String"]; - options?: Maybe; - /** An object relationship */ - view: View; -}; - -/** columns and relationships of "view_field" */ -export type ViewFieldOptionsArgs = { - path?: InputMaybe; -}; - -/** order by aggregate values of table "view_field" */ -export type ViewFieldAggregateOrderBy = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddevPop?: InputMaybe; - stddevSamp?: InputMaybe; - sum?: InputMaybe; - varPop?: InputMaybe; - varSamp?: InputMaybe; - variance?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "view_field" */ -export type ViewFieldArrRelInsertInput = { - data: Array; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** order by avg() on columns of table "view_field" */ -export type ViewFieldAvgOrderBy = { - index?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "view_field". All fields are combined with a logical 'AND'. */ -export type ViewFieldBoolExp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - fieldKind?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - options?: InputMaybe; - view?: InputMaybe; -}; - -/** unique or primary key constraints on table "view_field" */ -export enum ViewFieldConstraint { - /** unique or primary key constraint on columns "id" */ - ViewFieldPkey = "view_field_pkey", -} - -/** input type for incrementing numeric columns in table "view_field" */ -export type ViewFieldIncInput = { - index?: InputMaybe; -}; - -/** input type for inserting data into table "view_field" */ -export type ViewFieldInsertInput = { - fieldKind?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - options?: InputMaybe; - view?: InputMaybe; - viewId?: InputMaybe; -}; - -/** order by max() on columns of table "view_field" */ -export type ViewFieldMaxOrderBy = { - fieldKind?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; -}; - -/** order by min() on columns of table "view_field" */ -export type ViewFieldMinOrderBy = { - fieldKind?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; -}; - -/** response of any mutation on the table "view_field" */ -export type ViewFieldMutationResponse = { - __typename?: "ViewFieldMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** on_conflict condition type for table "view_field" */ -export type ViewFieldOnConflict = { - constraint: ViewFieldConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "view_field". */ -export type ViewFieldOrderBy = { - fieldKind?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - options?: InputMaybe; - view?: InputMaybe; -}; - -/** primary key columns input for table: view_field */ -export type ViewFieldPkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "view_field" */ -export enum ViewFieldSelectColumn { - /** column name */ - FieldKind = "fieldKind", - /** column name */ - Id = "id", - /** column name */ - Index = "index", - /** column name */ - Name = "name", - /** column name */ - Options = "options", -} - -/** input type for updating data in table "view_field" */ -export type ViewFieldSetInput = { - index?: InputMaybe; - name?: InputMaybe; - options?: InputMaybe; -}; - -/** order by stddev() on columns of table "view_field" */ -export type ViewFieldStddevOrderBy = { - index?: InputMaybe; -}; - -/** order by stddevPop() on columns of table "view_field" */ -export type ViewFieldStddevPopOrderBy = { - index?: InputMaybe; -}; - -/** order by stddevSamp() on columns of table "view_field" */ -export type ViewFieldStddevSampOrderBy = { - index?: InputMaybe; -}; - -/** Streaming cursor of the table "view_field" */ -export type ViewFieldStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: ViewFieldStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type ViewFieldStreamCursorValueInput = { - fieldKind?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - options?: InputMaybe; -}; - -/** order by sum() on columns of table "view_field" */ -export type ViewFieldSumOrderBy = { - index?: InputMaybe; -}; - -/** update columns of table "view_field" */ -export enum ViewFieldUpdateColumn { - /** column name */ - Index = "index", - /** column name */ - Name = "name", - /** column name */ - Options = "options", -} - -export type ViewFieldUpdates = { - /** increments the numeric columns with given value of the filtered values */ - _inc?: InputMaybe; - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: ViewFieldBoolExp; -}; - -/** order by varPop() on columns of table "view_field" */ -export type ViewFieldVarPopOrderBy = { - index?: InputMaybe; -}; - -/** order by varSamp() on columns of table "view_field" */ -export type ViewFieldVarSampOrderBy = { - index?: InputMaybe; -}; - -/** order by variance() on columns of table "view_field" */ -export type ViewFieldVarianceOrderBy = { - index?: InputMaybe; -}; - -/** input type for inserting data into table "view" */ -export type ViewInsertInput = { - createUserId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - user?: InputMaybe; - viewApps?: InputMaybe; - viewFields?: InputMaybe; -}; - -/** order by max() on columns of table "view" */ -export type ViewMaxOrderBy = { - id?: InputMaybe; - name?: InputMaybe; -}; - -/** order by min() on columns of table "view" */ -export type ViewMinOrderBy = { - id?: InputMaybe; - name?: InputMaybe; -}; - -/** response of any mutation on the table "view" */ -export type ViewMutationResponse = { - __typename?: "ViewMutationResponse"; - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** input type for inserting object relation for remote table "view" */ -export type ViewObjRelInsertInput = { - data: ViewInsertInput; - /** upsert condition */ - onConflict?: InputMaybe; -}; - -/** on_conflict condition type for table "view" */ -export type ViewOnConflict = { - constraint: ViewConstraint; - updateColumns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "view". */ -export type ViewOrderBy = { - group?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - user?: InputMaybe; - viewAppsAggregate?: InputMaybe; - viewFieldsAggregate?: InputMaybe; -}; - -/** primary key columns input for table: view */ -export type ViewPkColumnsInput = { - id: Scalars["String"]; -}; - -/** select columns of table "view" */ -export enum ViewSelectColumn { - /** column name */ - Id = "id", - /** column name */ - Name = "name", -} - -/** input type for updating data in table "view" */ -export type ViewSetInput = { - name?: InputMaybe; -}; - -/** Streaming cursor of the table "view" */ -export type ViewStreamCursorInput = { - /** Stream column input with initial value */ - initialValue: ViewStreamCursorValueInput; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type ViewStreamCursorValueInput = { - id?: InputMaybe; - name?: InputMaybe; -}; - -/** update columns of table "view" */ -export enum ViewUpdateColumn { - /** column name */ - Name = "name", -} - -export type ViewUpdates = { - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: ViewBoolExp; -}; - -export type AffiliationAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type CategoryTotalByMonthArgs = { - from_date?: InputMaybe; - group_id?: InputMaybe; - to_date?: InputMaybe; -}; - -export type DailyDetailByDateArgs = { - from_date?: InputMaybe; - group_id?: InputMaybe; - to_date?: InputMaybe; -}; - -export type GenreTotalByMonthArgs = { - from_date?: InputMaybe; - group_id?: InputMaybe; - to_date?: InputMaybe; -}; - -export type GroupApplicationAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdAccountAggregateBoolExpBool_And = { - arguments: HouseholdAccountSelectColumnHouseholdAccountAggregateBoolExpBool_AndArgumentsColumns; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: BooleanComparisonExp; -}; - -export type HouseholdAccountAggregateBoolExpBool_Or = { - arguments: HouseholdAccountSelectColumnHouseholdAccountAggregateBoolExpBool_OrArgumentsColumns; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: BooleanComparisonExp; -}; - -export type HouseholdAccountAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdAllDetailViewAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdCreditCardDetailAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdCreditCardSummaryAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdDailyDetailAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdDepositCategoryAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdFavoriteFilterAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdFavoriteFilterArgsAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdGenreAggregateBoolExpBool_And = { - arguments: HouseholdGenreSelectColumnHouseholdGenreAggregateBoolExpBool_AndArgumentsColumns; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: BooleanComparisonExp; -}; - -export type HouseholdGenreAggregateBoolExpBool_Or = { - arguments: HouseholdGenreSelectColumnHouseholdGenreAggregateBoolExpBool_OrArgumentsColumns; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: BooleanComparisonExp; -}; - -export type HouseholdGenreAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdImportFileHistoryAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdSummaryCategoryAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdTotalByCategoryViewAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type HouseholdTransferCategoryAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -/** mutation root */ -export type Mutation_Root = { - __typename?: "mutation_root"; - /** delete data from the table: "app" */ - deleteApp?: Maybe; - /** delete single row from the table: "app" */ - deleteAppByPk?: Maybe; - /** delete data from the table: "field" */ - deleteField?: Maybe; - /** delete single row from the table: "field" */ - deleteFieldByPk?: Maybe; - /** delete data from the table: "household.daily_detail" */ - deleteHouseholdDailyDetail?: Maybe; - /** delete single row from the table: "household.daily_detail" */ - deleteHouseholdDailyDetailByPk?: Maybe; - /** delete data from the table: "household.dashboard_setting" */ - deleteHouseholdDashboardSetting?: Maybe; - /** delete data from the table: "household.dashboard_setting_args" */ - deleteHouseholdDashboardSettingArgs?: Maybe; - /** delete single row from the table: "household.dashboard_setting_args" */ - deleteHouseholdDashboardSettingArgsByPk?: Maybe; - /** delete single row from the table: "household.dashboard_setting" */ - deleteHouseholdDashboardSettingByPk?: Maybe; - /** delete data from the table: "household.favorite_filter" */ - deleteHouseholdFavoriteFilter?: Maybe; - /** delete data from the table: "household.favorite_filter_args" */ - deleteHouseholdFavoriteFilterArgs?: Maybe; - /** delete single row from the table: "household.favorite_filter_args" */ - deleteHouseholdFavoriteFilterArgsByPk?: Maybe; - /** delete single row from the table: "household.favorite_filter" */ - deleteHouseholdFavoriteFilterByPk?: Maybe; - /** delete data from the table: "household.summary_category" */ - deleteHouseholdSummaryCategory?: Maybe; - /** delete single row from the table: "household.summary_category" */ - deleteHouseholdSummaryCategoryByPk?: Maybe; - /** delete data from the table: "import_file_history" */ - deleteImportFileHistory?: Maybe; - /** delete single row from the table: "import_file_history" */ - deleteImportFileHistoryByPk?: Maybe; - /** delete data from the table: "import_file_record" */ - deleteImportFileRecord?: Maybe; - /** delete single row from the table: "import_file_record" */ - deleteImportFileRecordByPk?: Maybe; - /** delete data from the table: "record" */ - deleteRecord?: Maybe; - /** delete single row from the table: "record" */ - deleteRecordByPk?: Maybe; - /** delete data from the table: "view" */ - deleteView?: Maybe; - /** delete data from the table: "view_app" */ - deleteViewApp?: Maybe; - /** delete single row from the table: "view_app" */ - deleteViewAppByPk?: Maybe; - /** delete single row from the table: "view" */ - deleteViewByPk?: Maybe; - /** delete data from the table: "view_field" */ - deleteViewField?: Maybe; - /** delete single row from the table: "view_field" */ - deleteViewFieldByPk?: Maybe; - /** insert data into the table: "affiliation" */ - insertAffiliation?: Maybe; - /** insert a single row into the table: "affiliation" */ - insertAffiliationOne?: Maybe; - /** insert data into the table: "app" */ - insertApp?: Maybe; - /** insert a single row into the table: "app" */ - insertAppOne?: Maybe; - /** insert data into the table: "field" */ - insertField?: Maybe; - /** insert a single row into the table: "field" */ - insertFieldOne?: Maybe; - /** insert data into the table: "household.account" */ - insertHouseholdAccount?: Maybe; - /** insert a single row into the table: "household.account" */ - insertHouseholdAccountOne?: Maybe; - /** insert data into the table: "household.category" */ - insertHouseholdCategory?: Maybe; - /** insert a single row into the table: "household.category" */ - insertHouseholdCategoryOne?: Maybe; - /** insert data into the table: "household.credit_card_detail" */ - insertHouseholdCreditCardDetail?: Maybe; - /** insert a single row into the table: "household.credit_card_detail" */ - insertHouseholdCreditCardDetailOne?: Maybe; - /** insert data into the table: "household.credit_card_summary" */ - insertHouseholdCreditCardSummary?: Maybe; - /** insert a single row into the table: "household.credit_card_summary" */ - insertHouseholdCreditCardSummaryOne?: Maybe; - /** insert data into the table: "household.daily_detail" */ - insertHouseholdDailyDetail?: Maybe; - /** insert a single row into the table: "household.daily_detail" */ - insertHouseholdDailyDetailOne?: Maybe; - /** insert data into the table: "household.dashboard_setting" */ - insertHouseholdDashboardSetting?: Maybe; - /** insert data into the table: "household.dashboard_setting_args" */ - insertHouseholdDashboardSettingArgs?: Maybe; - /** insert a single row into the table: "household.dashboard_setting_args" */ - insertHouseholdDashboardSettingArgsOne?: Maybe; - /** insert a single row into the table: "household.dashboard_setting" */ - insertHouseholdDashboardSettingOne?: Maybe; - /** insert data into the table: "household.favorite_filter" */ - insertHouseholdFavoriteFilter?: Maybe; - /** insert data into the table: "household.favorite_filter_args" */ - insertHouseholdFavoriteFilterArgs?: Maybe; - /** insert a single row into the table: "household.favorite_filter_args" */ - insertHouseholdFavoriteFilterArgsOne?: Maybe; - /** insert a single row into the table: "household.favorite_filter" */ - insertHouseholdFavoriteFilterOne?: Maybe; - /** insert data into the table: "household.genre" */ - insertHouseholdGenre?: Maybe; - /** insert a single row into the table: "household.genre" */ - insertHouseholdGenreOne?: Maybe; - /** insert data into the table: "household.import_file_history" */ - insertHouseholdImportFileHistory?: Maybe; - /** insert a single row into the table: "household.import_file_history" */ - insertHouseholdImportFileHistoryOne?: Maybe; - /** insert data into the table: "household.summary_category" */ - insertHouseholdSummaryCategory?: Maybe; - /** insert a single row into the table: "household.summary_category" */ - insertHouseholdSummaryCategoryOne?: Maybe; - /** insert data into the table: "import_file_history" */ - insertImportFileHistory?: Maybe; - /** insert a single row into the table: "import_file_history" */ - insertImportFileHistoryOne?: Maybe; - /** insert data into the table: "import_file_record" */ - insertImportFileRecord?: Maybe; - /** insert a single row into the table: "import_file_record" */ - insertImportFileRecordOne?: Maybe; - /** insert data into the table: "import_file_setting" */ - insertImportFileSetting?: Maybe; - /** insert a single row into the table: "import_file_setting" */ - insertImportFileSettingOne?: Maybe; - /** insert data into the table: "record" */ - insertRecord?: Maybe; - /** insert a single row into the table: "record" */ - insertRecordOne?: Maybe; - /** insert data into the table: "user" */ - insertUser?: Maybe; - /** insert a single row into the table: "user" */ - insertUserOne?: Maybe; - /** insert data into the table: "view" */ - insertView?: Maybe; - /** insert data into the table: "view_app" */ - insertViewApp?: Maybe; - /** insert a single row into the table: "view_app" */ - insertViewAppOne?: Maybe; - /** insert data into the table: "view_field" */ - insertViewField?: Maybe; - /** insert a single row into the table: "view_field" */ - insertViewFieldOne?: Maybe; - /** insert a single row into the table: "view" */ - insertViewOne?: Maybe; - /** update data of the table: "app" */ - updateApp?: Maybe; - /** update single row of the table: "app" */ - updateAppByPk?: Maybe; - /** update multiples rows of table: "app" */ - updateAppMany?: Maybe>>; - /** update data of the table: "field" */ - updateField?: Maybe; - /** update single row of the table: "field" */ - updateFieldByPk?: Maybe; - /** update multiples rows of table: "field" */ - updateFieldMany?: Maybe>>; - /** update data of the table: "household.category" */ - updateHouseholdCategory?: Maybe; - /** update single row of the table: "household.category" */ - updateHouseholdCategoryByPk?: Maybe; - /** update multiples rows of table: "household.category" */ - updateHouseholdCategoryMany?: Maybe< - Array> - >; - /** update data of the table: "household.credit_card_detail" */ - updateHouseholdCreditCardDetail?: Maybe; - /** update single row of the table: "household.credit_card_detail" */ - updateHouseholdCreditCardDetailByPk?: Maybe; - /** update multiples rows of table: "household.credit_card_detail" */ - updateHouseholdCreditCardDetailMany?: Maybe< - Array> - >; - /** update data of the table: "household.credit_card_summary" */ - updateHouseholdCreditCardSummary?: Maybe; - /** update single row of the table: "household.credit_card_summary" */ - updateHouseholdCreditCardSummaryByPk?: Maybe; - /** update multiples rows of table: "household.credit_card_summary" */ - updateHouseholdCreditCardSummaryMany?: Maybe< - Array> - >; - /** update data of the table: "household.daily_detail" */ - updateHouseholdDailyDetail?: Maybe; - /** update single row of the table: "household.daily_detail" */ - updateHouseholdDailyDetailByPk?: Maybe; - /** update multiples rows of table: "household.daily_detail" */ - updateHouseholdDailyDetailMany?: Maybe< - Array> - >; - /** update data of the table: "household.dashboard_setting" */ - updateHouseholdDashboardSetting?: Maybe; - /** update single row of the table: "household.dashboard_setting" */ - updateHouseholdDashboardSettingByPk?: Maybe; - /** update multiples rows of table: "household.dashboard_setting" */ - updateHouseholdDashboardSettingMany?: Maybe< - Array> - >; - /** update data of the table: "household.favorite_filter" */ - updateHouseholdFavoriteFilter?: Maybe; - /** update data of the table: "household.favorite_filter_args" */ - updateHouseholdFavoriteFilterArgs?: Maybe; - /** update single row of the table: "household.favorite_filter_args" */ - updateHouseholdFavoriteFilterArgsByPk?: Maybe; - /** update multiples rows of table: "household.favorite_filter_args" */ - updateHouseholdFavoriteFilterArgsMany?: Maybe< - Array> - >; - /** update single row of the table: "household.favorite_filter" */ - updateHouseholdFavoriteFilterByPk?: Maybe; - /** update multiples rows of table: "household.favorite_filter" */ - updateHouseholdFavoriteFilterMany?: Maybe< - Array> - >; - /** update data of the table: "household.genre" */ - updateHouseholdGenre?: Maybe; - /** update single row of the table: "household.genre" */ - updateHouseholdGenreByPk?: Maybe; - /** update multiples rows of table: "household.genre" */ - updateHouseholdGenreMany?: Maybe< - Array> - >; - /** update data of the table: "import_file_setting" */ - updateImportFileSetting?: Maybe; - /** update single row of the table: "import_file_setting" */ - updateImportFileSettingByPk?: Maybe; - /** update multiples rows of table: "import_file_setting" */ - updateImportFileSettingMany?: Maybe< - Array> - >; - /** update data of the table: "record" */ - updateRecord?: Maybe; - /** update single row of the table: "record" */ - updateRecordByPk?: Maybe; - /** update multiples rows of table: "record" */ - updateRecordMany?: Maybe>>; - /** update data of the table: "view" */ - updateView?: Maybe; - /** update single row of the table: "view" */ - updateViewByPk?: Maybe; - /** update data of the table: "view_field" */ - updateViewField?: Maybe; - /** update single row of the table: "view_field" */ - updateViewFieldByPk?: Maybe; - /** update multiples rows of table: "view_field" */ - updateViewFieldMany?: Maybe>>; - /** update multiples rows of table: "view" */ - updateViewMany?: Maybe>>; -}; - -/** mutation root */ -export type Mutation_RootDeleteAppArgs = { - where: AppBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteAppByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteFieldArgs = { - where: FieldBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteFieldByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteHouseholdDailyDetailArgs = { - where: HouseholdDailyDetailBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteHouseholdDailyDetailByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteHouseholdDashboardSettingArgs = { - where: HouseholdDashboardSettingBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteHouseholdDashboardSettingArgsArgs = { - where: HouseholdDashboardSettingArgsBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteHouseholdDashboardSettingArgsByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteHouseholdDashboardSettingByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteHouseholdFavoriteFilterArgs = { - where: HouseholdFavoriteFilterBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteHouseholdFavoriteFilterArgsArgs = { - where: HouseholdFavoriteFilterArgsBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteHouseholdFavoriteFilterArgsByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteHouseholdFavoriteFilterByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteHouseholdSummaryCategoryArgs = { - where: HouseholdSummaryCategoryBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteHouseholdSummaryCategoryByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteImportFileHistoryArgs = { - where: ImportFileHistoryBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteImportFileHistoryByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteImportFileRecordArgs = { - where: ImportFileRecordBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteImportFileRecordByPkArgs = { - recordId: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteRecordArgs = { - where: RecordBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteRecordByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteViewArgs = { - where: ViewBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteViewAppArgs = { - where: ViewAppBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteViewAppByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteViewByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootDeleteViewFieldArgs = { - where: ViewFieldBoolExp; -}; - -/** mutation root */ -export type Mutation_RootDeleteViewFieldByPkArgs = { - id: Scalars["String"]; -}; - -/** mutation root */ -export type Mutation_RootInsertAffiliationArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertAffiliationOneArgs = { - object: AffiliationInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertAppArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertAppOneArgs = { - object: AppInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertFieldArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertFieldOneArgs = { - object: FieldInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdAccountArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdAccountOneArgs = { - object: HouseholdAccountInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdCategoryArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdCategoryOneArgs = { - object: HouseholdCategoryInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdCreditCardDetailArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdCreditCardDetailOneArgs = { - object: HouseholdCreditCardDetailInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdCreditCardSummaryArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdCreditCardSummaryOneArgs = { - object: HouseholdCreditCardSummaryInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdDailyDetailArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdDailyDetailOneArgs = { - object: HouseholdDailyDetailInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdDashboardSettingArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdDashboardSettingArgsArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdDashboardSettingArgsOneArgs = { - object: HouseholdDashboardSettingArgsInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdDashboardSettingOneArgs = { - object: HouseholdDashboardSettingInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdFavoriteFilterArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdFavoriteFilterArgsArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdFavoriteFilterArgsOneArgs = { - object: HouseholdFavoriteFilterArgsInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdFavoriteFilterOneArgs = { - object: HouseholdFavoriteFilterInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdGenreArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdGenreOneArgs = { - object: HouseholdGenreInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdImportFileHistoryArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdImportFileHistoryOneArgs = { - object: HouseholdImportFileHistoryInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdSummaryCategoryArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertHouseholdSummaryCategoryOneArgs = { - object: HouseholdSummaryCategoryInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertImportFileHistoryArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertImportFileHistoryOneArgs = { - object: ImportFileHistoryInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertImportFileRecordArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertImportFileRecordOneArgs = { - object: ImportFileRecordInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertImportFileSettingArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertImportFileSettingOneArgs = { - object: ImportFileSettingInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertRecordArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertRecordOneArgs = { - object: RecordInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertUserArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertUserOneArgs = { - object: UserInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertViewArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertViewAppArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertViewAppOneArgs = { - object: ViewAppInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertViewFieldArgs = { - objects: Array; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertViewFieldOneArgs = { - object: ViewFieldInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsertViewOneArgs = { - object: ViewInsertInput; - onConflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootUpdateAppArgs = { - _set?: InputMaybe; - where: AppBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateAppByPkArgs = { - _set?: InputMaybe; - pkColumns: AppPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateAppManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateFieldArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - where: FieldBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateFieldByPkArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - pkColumns: FieldPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateFieldManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdCategoryArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - where: HouseholdCategoryBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdCategoryByPkArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - pkColumns: HouseholdCategoryPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdCategoryManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdCreditCardDetailArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - where: HouseholdCreditCardDetailBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdCreditCardDetailByPkArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - pkColumns: HouseholdCreditCardDetailPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdCreditCardDetailManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdCreditCardSummaryArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - where: HouseholdCreditCardSummaryBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdCreditCardSummaryByPkArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - pkColumns: HouseholdCreditCardSummaryPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdCreditCardSummaryManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdDailyDetailArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - where: HouseholdDailyDetailBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdDailyDetailByPkArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - pkColumns: HouseholdDailyDetailPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdDailyDetailManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdDashboardSettingArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - where: HouseholdDashboardSettingBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdDashboardSettingByPkArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - pkColumns: HouseholdDashboardSettingPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdDashboardSettingManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdFavoriteFilterArgs = { - _set?: InputMaybe; - where: HouseholdFavoriteFilterBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdFavoriteFilterArgsArgs = { - _set?: InputMaybe; - where: HouseholdFavoriteFilterArgsBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdFavoriteFilterArgsByPkArgs = { - _set?: InputMaybe; - pkColumns: HouseholdFavoriteFilterArgsPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdFavoriteFilterArgsManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdFavoriteFilterByPkArgs = { - _set?: InputMaybe; - pkColumns: HouseholdFavoriteFilterPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdFavoriteFilterManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdGenreArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - where: HouseholdGenreBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdGenreByPkArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - pkColumns: HouseholdGenrePkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateHouseholdGenreManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateImportFileSettingArgs = { - _set?: InputMaybe; - where: ImportFileSettingBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateImportFileSettingByPkArgs = { - _set?: InputMaybe; - pkColumns: ImportFileSettingPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateImportFileSettingManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateRecordArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - where: RecordBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateRecordByPkArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - pkColumns: RecordPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateRecordManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateViewArgs = { - _set?: InputMaybe; - where: ViewBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateViewByPkArgs = { - _set?: InputMaybe; - pkColumns: ViewPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateViewFieldArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - where: ViewFieldBoolExp; -}; - -/** mutation root */ -export type Mutation_RootUpdateViewFieldByPkArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - pkColumns: ViewFieldPkColumnsInput; -}; - -/** mutation root */ -export type Mutation_RootUpdateViewFieldManyArgs = { - updates: Array; -}; - -/** mutation root */ -export type Mutation_RootUpdateViewManyArgs = { - updates: Array; -}; - -export type Query_Root = { - __typename?: "query_root"; - /** fetch data from the table: "affiliation" */ - affiliation: Array; - /** fetch aggregated fields from the table: "affiliation" */ - affiliationAggregate: AffiliationAggregate; - /** fetch data from the table: "affiliation" using primary key columns */ - affiliationByPk?: Maybe; - /** fetch data from the table: "app" */ - app: Array; - /** fetch data from the table: "app" using primary key columns */ - appByPk?: Maybe; - /** fetch data from the table: "application" */ - application: Array; - /** fetch aggregated fields from the table: "application" */ - applicationAggregate: ApplicationAggregate; - /** fetch data from the table: "application" using primary key columns */ - applicationByPk?: Maybe; - /** execute function "category_total_by_month" which returns "household.total_by_category_view" */ - categoryTotalByMonth: Array; - /** execute function "category_total_by_month" and query aggregates on result of table type "household.total_by_category_view" */ - categoryTotalByMonthAggregate: HouseholdTotalByCategoryViewAggregate; - /** execute function "daily_detail_by_date" which returns "household.daily_detail" */ - dailyDetailByDate: Array; - /** execute function "daily_detail_by_date" and query aggregates on result of table type "household.daily_detail" */ - dailyDetailByDateAggregate: HouseholdDailyDetailAggregate; - /** fetch data from the table: "field" */ - field: Array; - /** fetch data from the table: "field" using primary key columns */ - fieldByPk?: Maybe; - /** execute function "genre_total_by_month" which returns "household.total_by_genre_view" */ - genreTotalByMonth: Array; - /** execute function "genre_total_by_month" and query aggregates on result of table type "household.total_by_genre_view" */ - genreTotalByMonthAggregate: HouseholdTotalByGenreViewAggregate; - /** fetch data from the table: "group" */ - group: Array; - /** fetch aggregated fields from the table: "group" */ - groupAggregate: GroupAggregate; - /** fetch data from the table: "group_application" */ - groupApplication: Array; - /** fetch aggregated fields from the table: "group_application" */ - groupApplicationAggregate: GroupApplicationAggregate; - /** fetch data from the table: "group_application" using primary key columns */ - groupApplicationByPk?: Maybe; - /** fetch data from the table: "group" using primary key columns */ - groupByPk?: Maybe; - /** fetch data from the table: "household.account" */ - householdAccount: Array; - /** fetch aggregated fields from the table: "household.account" */ - householdAccountAggregate: HouseholdAccountAggregate; - /** fetch data from the table: "household.account" using primary key columns */ - householdAccountByPk?: Maybe; - /** fetch data from the table: "household.all_detail_view" */ - householdAllDetailView: Array; - /** fetch aggregated fields from the table: "household.all_detail_view" */ - householdAllDetailViewAggregate: HouseholdAllDetailViewAggregate; - /** fetch data from the table: "household.category" */ - householdCategory: Array; - /** fetch data from the table: "household.category" using primary key columns */ - householdCategoryByPk?: Maybe; - /** fetch data from the table: "household.credit_card_detail" */ - householdCreditCardDetail: Array; - /** fetch aggregated fields from the table: "household.credit_card_detail" */ - householdCreditCardDetailAggregate: HouseholdCreditCardDetailAggregate; - /** fetch data from the table: "household.credit_card_detail" using primary key columns */ - householdCreditCardDetailByPk?: Maybe; - /** fetch data from the table: "household.credit_card_summary" */ - householdCreditCardSummary: Array; - /** fetch aggregated fields from the table: "household.credit_card_summary" */ - householdCreditCardSummaryAggregate: HouseholdCreditCardSummaryAggregate; - /** fetch data from the table: "household.credit_card_summary" using primary key columns */ - householdCreditCardSummaryByPk?: Maybe; - /** fetch data from the table: "household.credit_card_summary_total_by_account_view" */ - householdCreditCardSummaryTotalByAccountView: Array; - /** fetch aggregated fields from the table: "household.credit_card_summary_total_by_account_view" */ - householdCreditCardSummaryTotalByAccountViewAggregate: HouseholdCreditCardSummaryTotalByAccountViewAggregate; - /** fetch data from the table: "household.daily_detail" */ - householdDailyDetail: Array; - /** fetch aggregated fields from the table: "household.daily_detail" */ - householdDailyDetailAggregate: HouseholdDailyDetailAggregate; - /** fetch data from the table: "household.daily_detail" using primary key columns */ - householdDailyDetailByPk?: Maybe; - /** fetch data from the table: "household.daily_total_view" */ - householdDailyTotalView: Array; - /** fetch aggregated fields from the table: "household.daily_total_view" */ - householdDailyTotalViewAggregate: HouseholdDailyTotalViewAggregate; - /** fetch data from the table: "household.dashboard_setting" */ - householdDashboardSetting: Array; - /** fetch data from the table: "household.dashboard_setting_args" */ - householdDashboardSettingArgs: Array; - /** fetch data from the table: "household.dashboard_setting_args" using primary key columns */ - householdDashboardSettingArgsByPk?: Maybe; - /** fetch data from the table: "household.dashboard_setting" using primary key columns */ - householdDashboardSettingByPk?: Maybe; - /** fetch data from the table: "household.deposit_category" */ - householdDepositCategory: Array; - /** fetch aggregated fields from the table: "household.deposit_category" */ - householdDepositCategoryAggregate: HouseholdDepositCategoryAggregate; - /** fetch data from the table: "household.deposit_category" using primary key columns */ - householdDepositCategoryByPk?: Maybe; - /** fetch data from the table: "household.favorite_filter" */ - householdFavoriteFilter: Array; - /** fetch aggregated fields from the table: "household.favorite_filter" */ - householdFavoriteFilterAggregate: HouseholdFavoriteFilterAggregate; - /** fetch data from the table: "household.favorite_filter_args" */ - householdFavoriteFilterArgs: Array; - /** fetch aggregated fields from the table: "household.favorite_filter_args" */ - householdFavoriteFilterArgsAggregate: HouseholdFavoriteFilterArgsAggregate; - /** fetch data from the table: "household.favorite_filter_args" using primary key columns */ - householdFavoriteFilterArgsByPk?: Maybe; - /** fetch data from the table: "household.favorite_filter" using primary key columns */ - householdFavoriteFilterByPk?: Maybe; - /** fetch data from the table: "household.genre" */ - householdGenre: Array; - /** fetch aggregated fields from the table: "household.genre" */ - householdGenreAggregate: HouseholdGenreAggregate; - /** fetch data from the table: "household.genre" using primary key columns */ - householdGenreByPk?: Maybe; - /** fetch data from the table: "household.import_file_history" */ - householdImportFileHistory: Array; - /** fetch aggregated fields from the table: "household.import_file_history" */ - householdImportFileHistoryAggregate: HouseholdImportFileHistoryAggregate; - /** fetch data from the table: "household.import_file_history" using primary key columns */ - householdImportFileHistoryByPk?: Maybe; - /** fetch data from the table: "household.summary_category" */ - householdSummaryCategory: Array; - /** fetch aggregated fields from the table: "household.summary_category" */ - householdSummaryCategoryAggregate: HouseholdSummaryCategoryAggregate; - /** fetch data from the table: "household.summary_category" using primary key columns */ - householdSummaryCategoryByPk?: Maybe; - /** fetch data from the table: "household.total_by_category_view" */ - householdTotalByCategoryView: Array; - /** fetch aggregated fields from the table: "household.total_by_category_view" */ - householdTotalByCategoryViewAggregate: HouseholdTotalByCategoryViewAggregate; - /** fetch data from the table: "household.total_by_genre_view" */ - householdTotalByGenreView: Array; - /** fetch aggregated fields from the table: "household.total_by_genre_view" */ - householdTotalByGenreViewAggregate: HouseholdTotalByGenreViewAggregate; - /** fetch data from the table: "household.transfer_category" */ - householdTransferCategory: Array; - /** fetch aggregated fields from the table: "household.transfer_category" */ - householdTransferCategoryAggregate: HouseholdTransferCategoryAggregate; - /** fetch data from the table: "household.transfer_category" using primary key columns */ - householdTransferCategoryByPk?: Maybe; - /** fetch data from the table: "import_file_history" */ - importFileHistory: Array; - /** fetch data from the table: "import_file_history" using primary key columns */ - importFileHistoryByPk?: Maybe; - /** fetch data from the table: "import_file_record" */ - importFileRecord: Array; - /** fetch data from the table: "import_file_record" using primary key columns */ - importFileRecordByPk?: Maybe; - /** fetch data from the table: "import_file_setting" */ - importFileSetting: Array; - /** fetch data from the table: "import_file_setting" using primary key columns */ - importFileSettingByPk?: Maybe; - /** fetch data from the table: "record" */ - record: Array; - /** fetch aggregated fields from the table: "record" */ - recordAggregate: RecordAggregate; - /** fetch data from the table: "record" using primary key columns */ - recordByPk?: Maybe; - /** fetch data from the table: "user" */ - user: Array; - /** fetch aggregated fields from the table: "user" */ - userAggregate: UserAggregate; - /** fetch data from the table: "user" using primary key columns */ - userByPk?: Maybe; - /** fetch data from the table: "view" */ - view: Array; - /** fetch data from the table: "view_app" */ - viewApp: Array; - /** fetch data from the table: "view_app" using primary key columns */ - viewAppByPk?: Maybe; - /** fetch data from the table: "view" using primary key columns */ - viewByPk?: Maybe; - /** fetch data from the table: "view_field" */ - viewField: Array; - /** fetch data from the table: "view_field" using primary key columns */ - viewFieldByPk?: Maybe; -}; - -export type Query_RootAffiliationArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootAffiliationAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootAffiliationByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootAppArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootAppByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootApplicationArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootApplicationAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootApplicationByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootCategoryTotalByMonthArgs = { - args: CategoryTotalByMonthArgs; - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootCategoryTotalByMonthAggregateArgs = { - args: CategoryTotalByMonthArgs; - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootDailyDetailByDateArgs = { - args: DailyDetailByDateArgs; - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootDailyDetailByDateAggregateArgs = { - args: DailyDetailByDateArgs; - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootFieldArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootFieldByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootGenreTotalByMonthArgs = { - args: GenreTotalByMonthArgs; - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootGenreTotalByMonthAggregateArgs = { - args: GenreTotalByMonthArgs; - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootGroupArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootGroupAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootGroupApplicationArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootGroupApplicationAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootGroupApplicationByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootGroupByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdAccountArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdAccountAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdAccountByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdAllDetailViewArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdAllDetailViewAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdCategoryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdCategoryByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdCreditCardDetailArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdCreditCardDetailAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdCreditCardDetailByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdCreditCardSummaryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdCreditCardSummaryAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdCreditCardSummaryByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdCreditCardSummaryTotalByAccountViewArgs = { - distinctOn?: InputMaybe< - Array - >; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe< - Array - >; - where?: InputMaybe; -}; - -export type Query_RootHouseholdCreditCardSummaryTotalByAccountViewAggregateArgs = - { - distinctOn?: InputMaybe< - Array - >; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe< - Array - >; - where?: InputMaybe; - }; - -export type Query_RootHouseholdDailyDetailArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdDailyDetailAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdDailyDetailByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdDailyTotalViewArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdDailyTotalViewAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdDashboardSettingArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdDashboardSettingArgsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdDashboardSettingArgsByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdDashboardSettingByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdDepositCategoryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdDepositCategoryAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdDepositCategoryByPkArgs = { - categoryId: Scalars["String"]; -}; - -export type Query_RootHouseholdFavoriteFilterArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdFavoriteFilterAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdFavoriteFilterArgsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdFavoriteFilterArgsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdFavoriteFilterArgsByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdFavoriteFilterByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdGenreArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdGenreAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdGenreByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdImportFileHistoryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdImportFileHistoryAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdImportFileHistoryByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdSummaryCategoryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdSummaryCategoryAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdSummaryCategoryByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootHouseholdTotalByCategoryViewArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdTotalByCategoryViewAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdTotalByGenreViewArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdTotalByGenreViewAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdTransferCategoryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdTransferCategoryAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootHouseholdTransferCategoryByPkArgs = { - groupId: Scalars["String"]; -}; - -export type Query_RootImportFileHistoryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootImportFileHistoryByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootImportFileRecordArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootImportFileRecordByPkArgs = { - recordId: Scalars["String"]; -}; - -export type Query_RootImportFileSettingArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootImportFileSettingByPkArgs = { - appId: Scalars["String"]; -}; - -export type Query_RootRecordArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootRecordAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootRecordByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootUserArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootUserAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootUserByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootViewArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootViewAppArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootViewAppByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootViewByPkArgs = { - id: Scalars["String"]; -}; - -export type Query_RootViewFieldArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootViewFieldByPkArgs = { - id: Scalars["String"]; -}; - -export type RecordAggregateBoolExpCount = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: IntComparisonExp; -}; - -export type Subscription_Root = { - __typename?: "subscription_root"; - /** fetch data from the table: "affiliation" */ - affiliation: Array; - /** fetch aggregated fields from the table: "affiliation" */ - affiliationAggregate: AffiliationAggregate; - /** fetch data from the table: "affiliation" using primary key columns */ - affiliationByPk?: Maybe; - /** fetch data from the table in a streaming manner: "affiliation" */ - affiliationStream: Array; - /** fetch data from the table: "app" */ - app: Array; - /** fetch data from the table: "app" using primary key columns */ - appByPk?: Maybe; - /** fetch data from the table in a streaming manner: "app" */ - appStream: Array; - /** fetch data from the table: "application" */ - application: Array; - /** fetch aggregated fields from the table: "application" */ - applicationAggregate: ApplicationAggregate; - /** fetch data from the table: "application" using primary key columns */ - applicationByPk?: Maybe; - /** fetch data from the table in a streaming manner: "application" */ - applicationStream: Array; - /** execute function "category_total_by_month" which returns "household.total_by_category_view" */ - categoryTotalByMonth: Array; - /** execute function "category_total_by_month" and query aggregates on result of table type "household.total_by_category_view" */ - categoryTotalByMonthAggregate: HouseholdTotalByCategoryViewAggregate; - /** execute function "daily_detail_by_date" which returns "household.daily_detail" */ - dailyDetailByDate: Array; - /** execute function "daily_detail_by_date" and query aggregates on result of table type "household.daily_detail" */ - dailyDetailByDateAggregate: HouseholdDailyDetailAggregate; - /** fetch data from the table: "field" */ - field: Array; - /** fetch data from the table: "field" using primary key columns */ - fieldByPk?: Maybe; - /** fetch data from the table in a streaming manner: "field" */ - fieldStream: Array; - /** execute function "genre_total_by_month" which returns "household.total_by_genre_view" */ - genreTotalByMonth: Array; - /** execute function "genre_total_by_month" and query aggregates on result of table type "household.total_by_genre_view" */ - genreTotalByMonthAggregate: HouseholdTotalByGenreViewAggregate; - /** fetch data from the table: "group" */ - group: Array; - /** fetch aggregated fields from the table: "group" */ - groupAggregate: GroupAggregate; - /** fetch data from the table: "group_application" */ - groupApplication: Array; - /** fetch aggregated fields from the table: "group_application" */ - groupApplicationAggregate: GroupApplicationAggregate; - /** fetch data from the table: "group_application" using primary key columns */ - groupApplicationByPk?: Maybe; - /** fetch data from the table in a streaming manner: "group_application" */ - groupApplicationStream: Array; - /** fetch data from the table: "group" using primary key columns */ - groupByPk?: Maybe; - /** fetch data from the table in a streaming manner: "group" */ - groupStream: Array; - /** fetch data from the table: "household.account" */ - householdAccount: Array; - /** fetch aggregated fields from the table: "household.account" */ - householdAccountAggregate: HouseholdAccountAggregate; - /** fetch data from the table: "household.account" using primary key columns */ - householdAccountByPk?: Maybe; - /** fetch data from the table in a streaming manner: "household.account" */ - householdAccountStream: Array; - /** fetch data from the table: "household.all_detail_view" */ - householdAllDetailView: Array; - /** fetch aggregated fields from the table: "household.all_detail_view" */ - householdAllDetailViewAggregate: HouseholdAllDetailViewAggregate; - /** fetch data from the table in a streaming manner: "household.all_detail_view" */ - householdAllDetailViewStream: Array; - /** fetch data from the table: "household.category" */ - householdCategory: Array; - /** fetch data from the table: "household.category" using primary key columns */ - householdCategoryByPk?: Maybe; - /** fetch data from the table in a streaming manner: "household.category" */ - householdCategoryStream: Array; - /** fetch data from the table: "household.credit_card_detail" */ - householdCreditCardDetail: Array; - /** fetch aggregated fields from the table: "household.credit_card_detail" */ - householdCreditCardDetailAggregate: HouseholdCreditCardDetailAggregate; - /** fetch data from the table: "household.credit_card_detail" using primary key columns */ - householdCreditCardDetailByPk?: Maybe; - /** fetch data from the table in a streaming manner: "household.credit_card_detail" */ - householdCreditCardDetailStream: Array; - /** fetch data from the table: "household.credit_card_summary" */ - householdCreditCardSummary: Array; - /** fetch aggregated fields from the table: "household.credit_card_summary" */ - householdCreditCardSummaryAggregate: HouseholdCreditCardSummaryAggregate; - /** fetch data from the table: "household.credit_card_summary" using primary key columns */ - householdCreditCardSummaryByPk?: Maybe; - /** fetch data from the table in a streaming manner: "household.credit_card_summary" */ - householdCreditCardSummaryStream: Array; - /** fetch data from the table: "household.credit_card_summary_total_by_account_view" */ - householdCreditCardSummaryTotalByAccountView: Array; - /** fetch aggregated fields from the table: "household.credit_card_summary_total_by_account_view" */ - householdCreditCardSummaryTotalByAccountViewAggregate: HouseholdCreditCardSummaryTotalByAccountViewAggregate; - /** fetch data from the table in a streaming manner: "household.credit_card_summary_total_by_account_view" */ - householdCreditCardSummaryTotalByAccountViewStream: Array; - /** fetch data from the table: "household.daily_detail" */ - householdDailyDetail: Array; - /** fetch aggregated fields from the table: "household.daily_detail" */ - householdDailyDetailAggregate: HouseholdDailyDetailAggregate; - /** fetch data from the table: "household.daily_detail" using primary key columns */ - householdDailyDetailByPk?: Maybe; - /** fetch data from the table in a streaming manner: "household.daily_detail" */ - householdDailyDetailStream: Array; - /** fetch data from the table: "household.daily_total_view" */ - householdDailyTotalView: Array; - /** fetch aggregated fields from the table: "household.daily_total_view" */ - householdDailyTotalViewAggregate: HouseholdDailyTotalViewAggregate; - /** fetch data from the table in a streaming manner: "household.daily_total_view" */ - householdDailyTotalViewStream: Array; - /** fetch data from the table: "household.dashboard_setting" */ - householdDashboardSetting: Array; - /** fetch data from the table: "household.dashboard_setting_args" */ - householdDashboardSettingArgs: Array; - /** fetch data from the table: "household.dashboard_setting_args" using primary key columns */ - householdDashboardSettingArgsByPk?: Maybe; - /** fetch data from the table in a streaming manner: "household.dashboard_setting_args" */ - householdDashboardSettingArgsStream: Array; - /** fetch data from the table: "household.dashboard_setting" using primary key columns */ - householdDashboardSettingByPk?: Maybe; - /** fetch data from the table in a streaming manner: "household.dashboard_setting" */ - householdDashboardSettingStream: Array; - /** fetch data from the table: "household.deposit_category" */ - householdDepositCategory: Array; - /** fetch aggregated fields from the table: "household.deposit_category" */ - householdDepositCategoryAggregate: HouseholdDepositCategoryAggregate; - /** fetch data from the table: "household.deposit_category" using primary key columns */ - householdDepositCategoryByPk?: Maybe; - /** fetch data from the table in a streaming manner: "household.deposit_category" */ - householdDepositCategoryStream: Array; - /** fetch data from the table: "household.favorite_filter" */ - householdFavoriteFilter: Array; - /** fetch aggregated fields from the table: "household.favorite_filter" */ - householdFavoriteFilterAggregate: HouseholdFavoriteFilterAggregate; - /** fetch data from the table: "household.favorite_filter_args" */ - householdFavoriteFilterArgs: Array; - /** fetch aggregated fields from the table: "household.favorite_filter_args" */ - householdFavoriteFilterArgsAggregate: HouseholdFavoriteFilterArgsAggregate; - /** fetch data from the table: "household.favorite_filter_args" using primary key columns */ - householdFavoriteFilterArgsByPk?: Maybe; - /** fetch data from the table: "household.favorite_filter" using primary key columns */ - householdFavoriteFilterByPk?: Maybe; - /** fetch data from the table: "household.genre" */ - householdGenre: Array; - /** fetch aggregated fields from the table: "household.genre" */ - householdGenreAggregate: HouseholdGenreAggregate; - /** fetch data from the table: "household.genre" using primary key columns */ - householdGenreByPk?: Maybe; - /** fetch data from the table in a streaming manner: "household.genre" */ - householdGenreStream: Array; - /** fetch data from the table: "household.import_file_history" */ - householdImportFileHistory: Array; - /** fetch aggregated fields from the table: "household.import_file_history" */ - householdImportFileHistoryAggregate: HouseholdImportFileHistoryAggregate; - /** fetch data from the table: "household.import_file_history" using primary key columns */ - householdImportFileHistoryByPk?: Maybe; - /** fetch data from the table in a streaming manner: "household.import_file_history" */ - householdImportFileHistoryStream: Array; - /** fetch data from the table: "household.summary_category" */ - householdSummaryCategory: Array; - /** fetch aggregated fields from the table: "household.summary_category" */ - householdSummaryCategoryAggregate: HouseholdSummaryCategoryAggregate; - /** fetch data from the table: "household.summary_category" using primary key columns */ - householdSummaryCategoryByPk?: Maybe; - /** fetch data from the table in a streaming manner: "household.summary_category" */ - householdSummaryCategoryStream: Array; - /** fetch data from the table: "household.total_by_category_view" */ - householdTotalByCategoryView: Array; - /** fetch aggregated fields from the table: "household.total_by_category_view" */ - householdTotalByCategoryViewAggregate: HouseholdTotalByCategoryViewAggregate; - /** fetch data from the table in a streaming manner: "household.total_by_category_view" */ - householdTotalByCategoryViewStream: Array; - /** fetch data from the table: "household.total_by_genre_view" */ - householdTotalByGenreView: Array; - /** fetch aggregated fields from the table: "household.total_by_genre_view" */ - householdTotalByGenreViewAggregate: HouseholdTotalByGenreViewAggregate; - /** fetch data from the table in a streaming manner: "household.total_by_genre_view" */ - householdTotalByGenreViewStream: Array; - /** fetch data from the table: "household.transfer_category" */ - householdTransferCategory: Array; - /** fetch aggregated fields from the table: "household.transfer_category" */ - householdTransferCategoryAggregate: HouseholdTransferCategoryAggregate; - /** fetch data from the table: "household.transfer_category" using primary key columns */ - householdTransferCategoryByPk?: Maybe; - /** fetch data from the table in a streaming manner: "household.transfer_category" */ - householdTransferCategoryStream: Array; - /** fetch data from the table: "import_file_history" */ - importFileHistory: Array; - /** fetch data from the table: "import_file_history" using primary key columns */ - importFileHistoryByPk?: Maybe; - /** fetch data from the table in a streaming manner: "import_file_history" */ - importFileHistoryStream: Array; - /** fetch data from the table: "import_file_record" */ - importFileRecord: Array; - /** fetch data from the table: "import_file_record" using primary key columns */ - importFileRecordByPk?: Maybe; - /** fetch data from the table in a streaming manner: "import_file_record" */ - importFileRecordStream: Array; - /** fetch data from the table: "import_file_setting" */ - importFileSetting: Array; - /** fetch data from the table: "import_file_setting" using primary key columns */ - importFileSettingByPk?: Maybe; - /** fetch data from the table in a streaming manner: "import_file_setting" */ - importFileSettingStream: Array; - /** fetch data from the table: "record" */ - record: Array; - /** fetch aggregated fields from the table: "record" */ - recordAggregate: RecordAggregate; - /** fetch data from the table: "record" using primary key columns */ - recordByPk?: Maybe; - /** fetch data from the table in a streaming manner: "record" */ - recordStream: Array; - /** fetch data from the table: "user" */ - user: Array; - /** fetch aggregated fields from the table: "user" */ - userAggregate: UserAggregate; - /** fetch data from the table: "user" using primary key columns */ - userByPk?: Maybe; - /** fetch data from the table in a streaming manner: "user" */ - userStream: Array; - /** fetch data from the table: "view" */ - view: Array; - /** fetch data from the table: "view_app" */ - viewApp: Array; - /** fetch data from the table: "view_app" using primary key columns */ - viewAppByPk?: Maybe; - /** fetch data from the table in a streaming manner: "view_app" */ - viewAppStream: Array; - /** fetch data from the table: "view" using primary key columns */ - viewByPk?: Maybe; - /** fetch data from the table: "view_field" */ - viewField: Array; - /** fetch data from the table: "view_field" using primary key columns */ - viewFieldByPk?: Maybe; - /** fetch data from the table in a streaming manner: "view_field" */ - viewFieldStream: Array; - /** fetch data from the table in a streaming manner: "view" */ - viewStream: Array; -}; - -export type Subscription_RootAffiliationArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootAffiliationAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootAffiliationByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootAffiliationStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootAppArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootAppByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootAppStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootApplicationArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootApplicationAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootApplicationByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootApplicationStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootCategoryTotalByMonthArgs = { - args: CategoryTotalByMonthArgs; - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootCategoryTotalByMonthAggregateArgs = { - args: CategoryTotalByMonthArgs; - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootDailyDetailByDateArgs = { - args: DailyDetailByDateArgs; - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootDailyDetailByDateAggregateArgs = { - args: DailyDetailByDateArgs; - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootFieldArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootFieldByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootFieldStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootGenreTotalByMonthArgs = { - args: GenreTotalByMonthArgs; - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootGenreTotalByMonthAggregateArgs = { - args: GenreTotalByMonthArgs; - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootGroupArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootGroupAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootGroupApplicationArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootGroupApplicationAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootGroupApplicationByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootGroupApplicationStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootGroupByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootGroupStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdAccountArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdAccountAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdAccountByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootHouseholdAccountStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdAllDetailViewArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdAllDetailViewAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdAllDetailViewStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdCategoryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdCategoryByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootHouseholdCategoryStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdCreditCardDetailArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdCreditCardDetailAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdCreditCardDetailByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootHouseholdCreditCardDetailStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdCreditCardSummaryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdCreditCardSummaryAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdCreditCardSummaryByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootHouseholdCreditCardSummaryStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdCreditCardSummaryTotalByAccountViewArgs = - { - distinctOn?: InputMaybe< - Array - >; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe< - Array - >; - where?: InputMaybe; - }; - -export type Subscription_RootHouseholdCreditCardSummaryTotalByAccountViewAggregateArgs = - { - distinctOn?: InputMaybe< - Array - >; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe< - Array - >; - where?: InputMaybe; - }; - -export type Subscription_RootHouseholdCreditCardSummaryTotalByAccountViewStreamArgs = - { - batchSize: Scalars["Int"]; - cursor: Array< - InputMaybe - >; - where?: InputMaybe; - }; - -export type Subscription_RootHouseholdDailyDetailArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdDailyDetailAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdDailyDetailByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootHouseholdDailyDetailStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdDailyTotalViewArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdDailyTotalViewAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdDailyTotalViewStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdDashboardSettingArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdDashboardSettingArgsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdDashboardSettingArgsByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootHouseholdDashboardSettingArgsStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdDashboardSettingByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootHouseholdDashboardSettingStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdDepositCategoryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdDepositCategoryAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdDepositCategoryByPkArgs = { - categoryId: Scalars["String"]; -}; - -export type Subscription_RootHouseholdDepositCategoryStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdFavoriteFilterArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdFavoriteFilterAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdFavoriteFilterArgsArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdFavoriteFilterArgsAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdFavoriteFilterArgsByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootHouseholdFavoriteFilterByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootHouseholdGenreArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdGenreAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdGenreByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootHouseholdGenreStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdImportFileHistoryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdImportFileHistoryAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdImportFileHistoryByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootHouseholdImportFileHistoryStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdSummaryCategoryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdSummaryCategoryAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdSummaryCategoryByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootHouseholdSummaryCategoryStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdTotalByCategoryViewArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdTotalByCategoryViewAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdTotalByCategoryViewStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdTotalByGenreViewArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdTotalByGenreViewAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdTotalByGenreViewStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdTransferCategoryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdTransferCategoryAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootHouseholdTransferCategoryByPkArgs = { - groupId: Scalars["String"]; -}; - -export type Subscription_RootHouseholdTransferCategoryStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootImportFileHistoryArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootImportFileHistoryByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootImportFileHistoryStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootImportFileRecordArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootImportFileRecordByPkArgs = { - recordId: Scalars["String"]; -}; - -export type Subscription_RootImportFileRecordStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootImportFileSettingArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootImportFileSettingByPkArgs = { - appId: Scalars["String"]; -}; - -export type Subscription_RootImportFileSettingStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootRecordArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootRecordAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootRecordByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootRecordStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootUserArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootUserAggregateArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootUserByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootUserStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootViewArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootViewAppArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootViewAppByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootViewAppStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootViewByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootViewFieldArgs = { - distinctOn?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootViewFieldByPkArgs = { - id: Scalars["String"]; -}; - -export type Subscription_RootViewFieldStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type Subscription_RootViewStreamArgs = { - batchSize: Scalars["Int"]; - cursor: Array>; - where?: InputMaybe; -}; - -export type CreateAccountMutationVariables = Exact<{ - accountId: Scalars["String"]; - accountName: Scalars["String"]; - displayOrder: Scalars["Int"]; - groupId: Scalars["String"]; -}>; - -export type CreateAccountMutation = { - __typename?: "mutation_root"; - insertAccount?: { - __typename?: "HouseholdAccountMutationResponse"; - returning: Array<{ __typename?: "HouseholdAccount"; accountId: string }>; - } | null; -}; - -export type CreateCategoryMutationVariables = Exact<{ - categoryId: Scalars["String"]; - categoryName: Scalars["String"]; - genreId: Scalars["String"]; - displayOrder: Scalars["Int"]; - validFlag: Scalars["Boolean"]; - groupId: Scalars["String"]; -}>; - -export type CreateCategoryMutation = { - __typename?: "mutation_root"; - insertCategory?: { - __typename?: "HouseholdCategoryMutationResponse"; - returning: Array<{ __typename?: "HouseholdCategory"; id: string }>; - } | null; -}; - -export type CreateCreditCardDetailMutationVariables = Exact<{ - id: Scalars["String"]; - date: Scalars["date"]; - genreId: Scalars["String"]; - iocomeType: Scalars["String"]; - categoryId: Scalars["String"]; - amount: Scalars["numeric"]; - memo: Scalars["String"]; - summaryId: Scalars["String"]; - userId: Scalars["String"]; - groupId: Scalars["String"]; -}>; - -export type CreateCreditCardDetailMutation = { - __typename?: "mutation_root"; - insertCreditCardDetail?: { - __typename?: "HouseholdCreditCardDetailMutationResponse"; - returning: Array<{ __typename?: "HouseholdCreditCardDetail"; id: string }>; - } | null; -}; - -export type CreateCreditCardSummaryMutationVariables = Exact<{ - accountId: Scalars["String"]; - count: Scalars["Int"]; - creditCard: Scalars["String"]; - groupId: Scalars["String"]; - id: Scalars["String"]; - totalAmount: Scalars["numeric"]; - withdrawalDate: Scalars["date"]; -}>; - -export type CreateCreditCardSummaryMutation = { - __typename?: "mutation_root"; - insertCreditCardSummary?: { - __typename?: "HouseholdCreditCardSummaryMutationResponse"; - returning: Array<{ __typename?: "HouseholdCreditCardSummary"; id: string }>; - } | null; -}; - -export type CreateDailyDetailMutationVariables = Exact<{ - accountId: Scalars["String"]; - amount: Scalars["numeric"]; - genreId: Scalars["String"]; - iocomeType: Scalars["String"]; - categoryId: Scalars["String"]; - date: Scalars["date"]; - groupId: Scalars["String"]; - id: Scalars["String"]; - memo?: InputMaybe; - userId: Scalars["String"]; -}>; - -export type CreateDailyDetailMutation = { - __typename: "mutation_root"; - insertDailyDetail?: { - __typename: "HouseholdDailyDetailMutationResponse"; - returning: Array<{ __typename: "HouseholdDailyDetail"; id: string }>; - } | null; -}; - -export type CreateImportFileHistoryMutationVariables = Exact<{ - fileName: Scalars["String"]; - fileType: Scalars["String"]; - groupId: Scalars["String"]; - id: Scalars["String"]; - importDatetime: Scalars["timestamp"]; - importUserId: Scalars["String"]; -}>; - -export type CreateImportFileHistoryMutation = { - __typename?: "mutation_root"; - insertImportFileHistory?: { - __typename?: "HouseholdImportFileHistoryMutationResponse"; - returning: Array<{ __typename?: "HouseholdImportFileHistory"; id: string }>; - } | null; -}; - -export type CreateSummaryCategoryMutationVariables = Exact<{ - id: Scalars["String"]; - displayOrder: Scalars["Int"]; - categoryId: Scalars["String"]; - groupId: Scalars["String"]; -}>; - -export type CreateSummaryCategoryMutation = { - __typename?: "mutation_root"; - insertSummaryCategoryByGroup?: { - __typename?: "HouseholdSummaryCategoryMutationResponse"; - returning: Array<{ __typename?: "HouseholdSummaryCategory"; id: string }>; - } | null; -}; - -export type CreateUserMutationVariables = Exact<{ - userId: Scalars["String"]; - userName: Scalars["String"]; - email: Scalars["String"]; - displayOrder: Scalars["Int"]; -}>; - -export type CreateUserMutation = { - __typename?: "mutation_root"; - insertUser?: { - __typename?: "UserMutationResponse"; - returning: Array<{ __typename?: "User"; email: string; userId: string }>; - } | null; -}; - -export type DeleteDailyDetailBySerialNoMutationVariables = Exact<{ - id: Scalars["String"]; -}>; - -export type DeleteDailyDetailBySerialNoMutation = { - __typename?: "mutation_root"; - deleteDailyDetailByPk?: { - __typename: "HouseholdDailyDetail"; - id: string; - } | null; -}; - -export type DeleteSummaryCategoryMutationVariables = Exact<{ - groupId: Scalars["String"]; -}>; - -export type DeleteSummaryCategoryMutation = { - __typename?: "mutation_root"; - deleteSummaryCategoryByGroup?: { - __typename?: "HouseholdSummaryCategoryMutationResponse"; - returning: Array<{ __typename?: "HouseholdSummaryCategory"; id: string }>; - } | null; -}; - -export type UpdateCategoryByIdMutationVariables = Exact<{ - categoryId: Scalars["String"]; - categoryName: Scalars["String"]; - genreId: Scalars["String"]; - displayOrder: Scalars["Int"]; - validFlag: Scalars["Boolean"]; -}>; - -export type UpdateCategoryByIdMutation = { - __typename?: "mutation_root"; - updateCategoryByPk?: { __typename?: "HouseholdCategory"; id: string } | null; -}; - -export type UpdateCreditCardSummaryTotalMutationVariables = Exact<{ - id: Scalars["String"]; - totalAmount: Scalars["numeric"]; - count: Scalars["Int"]; -}>; - -export type UpdateCreditCardSummaryTotalMutation = { - __typename?: "mutation_root"; - updateCreditCardSummary?: { - __typename?: "HouseholdCreditCardSummary"; - id: string; - } | null; -}; - -export type UpdateDailyDetailByIdMutationVariables = Exact<{ - id: Scalars["String"]; - date: Scalars["date"]; - genreId: Scalars["String"]; - iocomeType: Scalars["String"]; - categoryId: Scalars["String"]; - accountId: Scalars["String"]; - amount: Scalars["numeric"]; - memo?: InputMaybe; -}>; - -export type UpdateDailyDetailByIdMutation = { - __typename?: "mutation_root"; - updateDailyDetailByPk?: { - __typename: "HouseholdDailyDetail"; - id: string; - } | null; -}; - -export type UpdateGenreByIdMutationVariables = Exact<{ - genreId: Scalars["String"]; - validFlag: Scalars["Boolean"]; - iocomeType: Scalars["String"]; - genreType: Scalars["String"]; - genreName: Scalars["String"]; - displayOrder: Scalars["Int"]; -}>; - -export type UpdateGenreByIdMutation = { - __typename?: "mutation_root"; - updateGenreByPk?: { __typename?: "HouseholdGenre"; id: string } | null; -}; - -export type DeleteDashboardSettingMutationVariables = Exact<{ - settingId: Scalars["String"]; -}>; - -export type DeleteDashboardSettingMutation = { - __typename?: "mutation_root"; - deleteHouseholdDashboardSettingArgs?: { - __typename?: "HouseholdDashboardSettingArgsMutationResponse"; - returning: Array<{ - __typename: "HouseholdDashboardSettingArgs"; - id: string; - }>; - } | null; - deleteHouseholdDashboardSettingByPk?: { - __typename: "HouseholdDashboardSetting"; - id: string; - } | null; -}; - -export type DeleteFavoriteFilterArgMutationVariables = Exact<{ - id: Scalars["String"]; -}>; - -export type DeleteFavoriteFilterArgMutation = { - __typename?: "mutation_root"; - deleteHouseholdFavoriteFilterArgsByPk?: { - __typename?: "HouseholdFavoriteFilterArgs"; - id: string; - } | null; -}; - -export type DeleteInsertDashboardSettingArgsMutationVariables = Exact<{ - settingId: Scalars["String"]; - objects: - | Array - | HouseholdDashboardSettingArgsInsertInput; -}>; - -export type DeleteInsertDashboardSettingArgsMutation = { - __typename?: "mutation_root"; - deleteDashboardSettingArgs?: { - __typename?: "HouseholdDashboardSettingArgsMutationResponse"; - returning: Array<{ - __typename: "HouseholdDashboardSettingArgs"; - id: string; - }>; - } | null; - insertDashboardSettingArgs?: { - __typename?: "HouseholdDashboardSettingArgsMutationResponse"; - returning: Array<{ - __typename: "HouseholdDashboardSettingArgs"; - id: string; - }>; - } | null; -}; - -export type InsertDashboardSettingMutationVariables = Exact<{ - settingId: Scalars["String"]; - feature: Scalars["String"]; - order: Scalars["Int"]; - userId: Scalars["String"]; - groupId: Scalars["String"]; -}>; - -export type InsertDashboardSettingMutation = { - __typename?: "mutation_root"; - insertSetting?: { - __typename?: "HouseholdDashboardSettingMutationResponse"; - returning: Array<{ __typename: "HouseholdDashboardSetting"; id: string }>; - } | null; -}; - -export type InsertDashboardSettingArgsMutationVariables = Exact<{ - id: Scalars["String"]; - type: Scalars["String"]; - value: Scalars["String"]; - settingId: Scalars["String"]; -}>; - -export type InsertDashboardSettingArgsMutation = { - __typename?: "mutation_root"; - insertSettingArgs?: { - __typename?: "HouseholdDashboardSettingArgsMutationResponse"; - returning: Array<{ - __typename: "HouseholdDashboardSettingArgs"; - id: string; - }>; - } | null; -}; - -export type InsertFavoriteFilterMutationVariables = Exact<{ - filterId: Scalars["String"]; - name: Scalars["String"]; - groupId: Scalars["String"]; -}>; - -export type InsertFavoriteFilterMutation = { - __typename?: "mutation_root"; - insertHouseholdFavoriteFilterOne?: { - __typename?: "HouseholdFavoriteFilter"; - id: string; - } | null; -}; - -export type InsertFavoriteFilterArgMutationVariables = Exact<{ - argId: Scalars["String"]; - filterId: Scalars["String"]; - key: Scalars["String"]; - value: Scalars["String"]; -}>; - -export type InsertFavoriteFilterArgMutation = { - __typename?: "mutation_root"; - insertArg?: { __typename: "HouseholdFavoriteFilterArgs"; id: string } | null; -}; - -export type UpdateCreditCardDetailAmountByIdMutationVariables = Exact<{ - id: Scalars["String"]; - amount: Scalars["numeric"]; -}>; - -export type UpdateCreditCardDetailAmountByIdMutation = { - __typename?: "mutation_root"; - updateHouseholdCreditCardDetailByPk?: { - __typename?: "HouseholdCreditCardDetail"; - id: string; - } | null; -}; - -export type UpdateCreditCardDetailByIdMutationVariables = Exact<{ - id: Scalars["String"]; - genreId: Scalars["String"]; - categoryId: Scalars["String"]; - memo?: InputMaybe; -}>; - -export type UpdateCreditCardDetailByIdMutation = { - __typename?: "mutation_root"; - updateHouseholdCreditCardDetailByPk?: { - __typename?: "HouseholdCreditCardDetail"; - id: string; - } | null; -}; - -export type UpdateDashboardSettingMutationVariables = Exact<{ - settingId: Scalars["String"]; - feature: Scalars["String"]; - order: Scalars["Int"]; -}>; - -export type UpdateDashboardSettingMutation = { - __typename?: "mutation_root"; - updateDashboardSetting?: { - __typename: "HouseholdDashboardSetting"; - id: string; - } | null; -}; - -export type UpdateDashboardSettingOrderMutationVariables = Exact<{ - settingId: Scalars["String"]; - order: Scalars["Int"]; -}>; - -export type UpdateDashboardSettingOrderMutation = { - __typename?: "mutation_root"; - updateHouseholdDashboardSettingByPk?: { - __typename: "HouseholdDashboardSetting"; - id: string; - } | null; -}; - -export type UpdateFavoriteFilterMutationVariables = Exact<{ - filterId: Scalars["String"]; - name: Scalars["String"]; -}>; - -export type UpdateFavoriteFilterMutation = { - __typename?: "mutation_root"; - updateHouseholdFavoriteFilterByPk?: { - __typename: "HouseholdFavoriteFilter"; - id: string; - } | null; -}; - -export type UpdateFavoriteFilterArgMutationVariables = Exact<{ - argId: Scalars["String"]; - value: Scalars["String"]; -}>; - -export type UpdateFavoriteFilterArgMutation = { - __typename?: "mutation_root"; - insertArg?: { __typename: "HouseholdFavoriteFilterArgs"; id: string } | null; -}; - -export type GetAccountBalanceListQueryVariables = Exact<{ - groupId: Scalars["String"]; - fromDate: Scalars["date"]; - toDate: Scalars["date"]; -}>; - -export type GetAccountBalanceListQuery = { - __typename?: "query_root"; - account: Array<{ - __typename: "HouseholdAccount"; - id: string; - accountName: string; - dailyDetails: Array<{ - __typename: "HouseholdDailyDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - genreType: string; - iocomeType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; - allDetailViewsAggregate: { - __typename?: "HouseholdAllDetailViewAggregate"; - aggregate?: { - __typename?: "HouseholdAllDetailViewAggregateFields"; - sum?: { - __typename: "HouseholdAllDetailViewSumFields"; - signedAmount?: any | null; - } | null; - } | null; - }; - }>; -}; - -export type GetAllCategoriesQueryVariables = Exact<{ - groupId: Scalars["String"]; -}>; - -export type GetAllCategoriesQuery = { - __typename?: "query_root"; - categories: Array<{ - __typename?: "HouseholdCategory"; - id: string; - displayOrder: number; - validFlag?: boolean | null; - categoryName: string; - genre: { - __typename?: "HouseholdGenre"; - genreId: string; - genreName: string; - }; - }>; -}; - -export type GetAllCategoryListWithCriteriaQueryVariables = Exact<{ - validCategoryIn?: InputMaybe | Scalars["Boolean"]>; - validGenreIn?: InputMaybe | Scalars["Boolean"]>; - iocomeTypeIn?: InputMaybe | Scalars["String"]>; - categoryNotIn?: InputMaybe | Scalars["String"]>; -}>; - -export type GetAllCategoryListWithCriteriaQuery = { - __typename?: "query_root"; - genres: Array<{ - __typename?: "HouseholdGenre"; - id: string; - name: string; - iocomeType: string; - validFlag?: boolean | null; - displayOrder: number; - type: string; - categories: Array<{ - __typename?: "HouseholdCategory"; - id: string; - name: string; - validFlag?: boolean | null; - displayOrder: number; - }>; - }>; -}; - -export type GetAllGenreQueryVariables = Exact<{ - groupId: Scalars["String"]; -}>; - -export type GetAllGenreQuery = { - __typename?: "query_root"; - genre: Array<{ - __typename?: "HouseholdGenre"; - id: string; - genreType: string; - iocomeType: string; - validFlag?: boolean | null; - displayOrder: number; - genreName: string; - }>; -}; - -export type GetAllUsersQueryVariables = Exact<{ [key: string]: never }>; - -export type GetAllUsersQuery = { - __typename?: "query_root"; - users: Array<{ - __typename?: "User"; - id: string; - name?: string | null; - email: string; - affiliation: Array<{ - __typename?: "Affiliation"; - group: { __typename?: "Group"; id: string; name: string }; - }>; - }>; -}; - -export type GetCategoryByIdQueryVariables = Exact<{ - categoryId: Scalars["String"]; -}>; - -export type GetCategoryByIdQuery = { - __typename?: "query_root"; - category?: { - __typename?: "HouseholdCategory"; - validFlag?: boolean | null; - displayOrder: number; - categoryName: string; - genre: { - __typename?: "HouseholdGenre"; - iocomeType: string; - genreId: string; - }; - } | null; -}; - -export type GetCategoryTotalByMonthQueryVariables = Exact<{ - fromDate?: InputMaybe; - toDate?: InputMaybe; - groupId: Scalars["String"]; -}>; - -export type GetCategoryTotalByMonthQuery = { - __typename?: "query_root"; - categoryTotalByMonth: Array<{ - __typename?: "HouseholdTotalByCategoryView"; - date?: any | null; - iocomeType?: string | null; - genreId?: string | null; - genreName?: string | null; - categoryId?: string | null; - categoryName?: string | null; - total?: any | null; - }>; -}; - -export type GetCreditCardDetailBySummaryIdQueryVariables = Exact<{ - id: Scalars["String"]; -}>; - -export type GetCreditCardDetailBySummaryIdQuery = { - __typename?: "query_root"; - creditCardSummary?: { - __typename?: "HouseholdCreditCardSummary"; - id: string; - creditCard: string; - withdrawalDate: any; - count: number; - totalAmount: any; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - creditCardDetails: Array<{ - __typename?: "HouseholdCreditCardDetail"; - id: string; - date: any; - memo?: string | null; - amount: any; - category: { - __typename?: "HouseholdCategory"; - id: string; - name: string; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - genreType: string; - iocomeType: string; - }; - }; - }>; - } | null; -}; - -export type GetCreditCardListQueryVariables = Exact<{ - groupId: Scalars["String"]; -}>; - -export type GetCreditCardListQuery = { - __typename?: "query_root"; - allCreditCardSummariesList: Array<{ - __typename?: "HouseholdCreditCardSummary"; - id: string; - creditCard: string; - count: number; - withdrawalDate: any; - totalAmount: any; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; -}; - -export type GetDailyDetailByDateQueryVariables = Exact<{ - fromDate: Scalars["date"]; - toDate: Scalars["date"]; - groupId: Scalars["String"]; -}>; - -export type GetDailyDetailByDateQuery = { - __typename?: "query_root"; - dailies: Array<{ - __typename: "HouseholdDailyDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - genreType: string; - iocomeType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; -}; - -export type GetDailyDetailByDateCategoryIdQueryVariables = Exact<{ - fromDate: Scalars["date"]; - toDate: Scalars["date"]; - groupId: Scalars["String"]; - categoryId: Scalars["String"]; -}>; - -export type GetDailyDetailByDateCategoryIdQuery = { - __typename?: "query_root"; - dailies: Array<{ - __typename: "HouseholdDailyDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - genreType: string; - iocomeType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; -}; - -export type GetDailyDetailByDateGenreIdQueryVariables = Exact<{ - genreId: Scalars["String"]; - fromDate: Scalars["date"]; - toDate: Scalars["date"]; - groupId: Scalars["String"]; -}>; - -export type GetDailyDetailByDateGenreIdQuery = { - __typename?: "query_root"; - allCategoriesList: Array<{ - __typename?: "HouseholdCategory"; - dailyDetailsByCategoryIdList: Array<{ - __typename?: "HouseholdDailyDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - categoryByCategoryId: { - __typename?: "HouseholdCategory"; - categoryId: string; - categoryName: string; - genreByGenreId: { - __typename?: "HouseholdGenre"; - genreType: string; - iocomeType: string; - genreId: string; - genreName: string; - }; - }; - accountByAccountId: { - __typename?: "HouseholdAccount"; - accountId: string; - accountName: string; - }; - userByUserId: { - __typename?: "User"; - userId: string; - userName?: string | null; - }; - }>; - }>; -}; - -export type GetGenreByIdQueryVariables = Exact<{ - genreId: Scalars["String"]; -}>; - -export type GetGenreByIdQuery = { - __typename?: "query_root"; - genreById?: { - __typename?: "HouseholdGenre"; - id: string; - genreType: string; - iocomeType: string; - validFlag?: boolean | null; - displayOrder: number; - genreName: string; - categories: Array<{ - __typename?: "HouseholdCategory"; - categoryId: string; - categoryName: string; - }>; - } | null; -}; - -export type GetGenreTotalByMonthQueryVariables = Exact<{ - fromDate: Scalars["date"]; - toDate: Scalars["date"]; - groupId: Scalars["String"]; -}>; - -export type GetGenreTotalByMonthQuery = { - __typename?: "query_root"; - genreTotalByMonthList: Array<{ - __typename?: "HouseholdTotalByGenreView"; - date?: any | null; - iocomeType?: string | null; - genreId?: string | null; - genreName?: string | null; - total?: any | null; - }>; -}; - -export type GetSummaryCategoriesQueryVariables = Exact<{ - groupId: Scalars["String"]; -}>; - -export type GetSummaryCategoriesQuery = { - __typename?: "query_root"; - categories: Array<{ - __typename?: "HouseholdSummaryCategory"; - id: string; - groupId: string; - displayOrder: number; - category: { - __typename?: "HouseholdCategory"; - id: string; - name: string; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - iocomeType: string; - type: string; - }; - }; - }>; -}; - -export type GetSummaryCategoryBetweenDateQueryVariables = Exact<{ - fromDate: Scalars["date"]; - toDate: Scalars["date"]; - groupId: Scalars["String"]; -}>; - -export type GetSummaryCategoryBetweenDateQuery = { - __typename?: "query_root"; - summaryCategoryList: Array<{ - __typename?: "HouseholdSummaryCategory"; - category: { - __typename?: "HouseholdCategory"; - name: string; - id: string; - genre: { __typename?: "HouseholdGenre"; iocomeType: string }; - daily: Array<{ - __typename?: "HouseholdDailyDetail"; - date: any; - amount: any; - }>; - creditCard: Array<{ - __typename?: "HouseholdCreditCardDetail"; - date: any; - amount: any; - }>; - }; - }>; -}; - -export type GetTotalBetweenDateQueryVariables = Exact<{ - fromDate: Scalars["date"]; - toDate: Scalars["date"]; - groupId: Scalars["String"]; -}>; - -export type GetTotalBetweenDateQuery = { - __typename?: "query_root"; - incomeTotalByDate: Array<{ - __typename?: "HouseholdDailyTotalView"; - date?: any | null; - iocomeType?: string | null; - total?: any | null; - }>; - outcomeTotalByDate: Array<{ - __typename?: "HouseholdDailyTotalView"; - date?: any | null; - iocomeType?: string | null; - total?: any | null; - }>; -}; - -export type GetTransferCategoryByQueryVariables = Exact<{ - groupId: Scalars["String"]; -}>; - -export type GetTransferCategoryByQuery = { - __typename?: "query_root"; - transferCategory?: { - __typename?: "HouseholdTransferCategory"; - id: string; - incomeCategory: { - __typename?: "HouseholdCategory"; - categoryId: string; - genre: { - __typename?: "HouseholdGenre"; - iocomeType: string; - genreId: string; - }; - }; - outcomeCategory: { - __typename?: "HouseholdCategory"; - categoryId: string; - genre: { - __typename?: "HouseholdGenre"; - iocomeType: string; - genreId: string; - }; - }; - } | null; -}; - -export type GetValidAccountsQueryVariables = Exact<{ - groupId: Scalars["String"]; -}>; - -export type GetValidAccountsQuery = { - __typename?: "query_root"; - allAccountsList: Array<{ - __typename?: "HouseholdAccount"; - accountId: string; - accountName: string; - }>; -}; - -export type GetValidCategoryByGenreIdQueryVariables = Exact<{ - groupId: Scalars["String"]; - genreId: Scalars["String"]; -}>; - -export type GetValidCategoryByGenreIdQuery = { - __typename?: "query_root"; - genreById: Array<{ - __typename?: "HouseholdGenre"; - id: string; - name: string; - categories: Array<{ - __typename?: "HouseholdCategory"; - id: string; - name: string; - displayOrder: number; - }>; - }>; - genre?: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - categories: Array<{ - __typename?: "HouseholdCategory"; - id: string; - name: string; - displayOrder: number; - }>; - } | null; -}; - -export type GetValidGenreListByIocomeTypeQueryVariables = Exact<{ - iocomeType: Scalars["String"]; - groupId: Scalars["String"]; -}>; - -export type GetValidGenreListByIocomeTypeQuery = { - __typename?: "query_root"; - allGenresList: Array<{ - __typename?: "HouseholdGenre"; - genreType: string; - iocomeType: string; - displayOrder: number; - genreId: string; - genreName: string; - categoriesByGenreIdList: Array<{ - __typename?: "HouseholdCategory"; - displayOrder: number; - categoryId: string; - categoryName: string; - }>; - }>; -}; - -export type FragDailyDetailFragment = { - __typename: "HouseholdDailyDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - genreType: string; - iocomeType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; -}; - -export type GetCreditCardSummaryByDateQueryVariables = Exact<{ - fromDate: Scalars["date"]; - toDate: Scalars["date"]; - groupId: Scalars["String"]; -}>; - -export type GetCreditCardSummaryByDateQuery = { - __typename?: "query_root"; - creditCardSummaries: Array<{ - __typename?: "HouseholdCreditCardSummary"; - id: string; - withdrawalDate: any; - totalAmount: any; - creditCard: string; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; -}; - -export type GetDailyDetailByIdQueryVariables = Exact<{ - id: Scalars["String"]; -}>; - -export type GetDailyDetailByIdQuery = { - __typename?: "query_root"; - dailyDetail?: { - __typename: "HouseholdDailyDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - genreType: string; - iocomeType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - } | null; -}; - -export type GetDepositQueryVariables = Exact<{ - groupId: Scalars["String"]; - fromDate: Scalars["date"]; - toDate: Scalars["date"]; -}>; - -export type GetDepositQuery = { - __typename?: "query_root"; - depositCategory: Array<{ - __typename?: "HouseholdDepositCategory"; - category: { - __typename?: "HouseholdCategory"; - id: string; - categoryName: string; - daily: { - __typename?: "HouseholdDailyDetailAggregate"; - aggregate?: { - __typename?: "HouseholdDailyDetailAggregateFields"; - count: number; - sum?: { - __typename?: "HouseholdDailyDetailSumFields"; - amount?: any | null; - } | null; - avg?: { - __typename?: "HouseholdDailyDetailAvgFields"; - amount?: number | null; - } | null; - } | null; - nodes: Array<{ - __typename?: "HouseholdDailyDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - }>; - }; - credit: { - __typename?: "HouseholdCreditCardDetailAggregate"; - aggregate?: { - __typename?: "HouseholdCreditCardDetailAggregateFields"; - count: number; - sum?: { - __typename?: "HouseholdCreditCardDetailSumFields"; - amount?: any | null; - } | null; - avg?: { - __typename?: "HouseholdCreditCardDetailAvgFields"; - amount?: number | null; - } | null; - } | null; - nodes: Array<{ - __typename?: "HouseholdCreditCardDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - }>; - }; - }; - }>; -}; - -export type FragCreditCardDetailFragment = { - __typename?: "HouseholdCreditCardDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - iocomeType: string; - genreType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - summary: { - __typename?: "HouseholdCreditCardSummary"; - id: string; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }; -}; - -export type FragFavoriteFilterFragment = { - __typename: "HouseholdFavoriteFilter"; - id: string; - name: string; - args: Array<{ - __typename: "HouseholdFavoriteFilterArgs"; - id: string; - key: string; - value: string; - category?: { - __typename: "HouseholdCategory"; - id: string; - name: string; - genre: { - __typename: "HouseholdGenre"; - id: string; - name: string; - iocomeType: string; - genreType: string; - }; - } | null; - }>; -}; - -export type GetAccountByIdQueryVariables = Exact<{ - accountId: Scalars["String"]; -}>; - -export type GetAccountByIdQuery = { - __typename?: "query_root"; - account?: { - __typename?: "HouseholdAccount"; - id: string; - name: string; - } | null; -}; - -export type GetCreditCardDetailByIdQueryVariables = Exact<{ - id: Scalars["String"]; -}>; - -export type GetCreditCardDetailByIdQuery = { - __typename?: "query_root"; - creditCardDetail?: { - __typename?: "HouseholdCreditCardDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - iocomeType: string; - genreType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - summary: { - __typename?: "HouseholdCreditCardSummary"; - id: string; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }; - } | null; -}; - -export type GetCreditCardDetailListQueryVariables = Exact<{ - fromDate: Scalars["date"]; - toDate: Scalars["date"]; - groupId: Scalars["String"]; -}>; - -export type GetCreditCardDetailListQuery = { - __typename?: "query_root"; - creditCardDetails: Array<{ - __typename?: "HouseholdCreditCardDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - iocomeType: string; - genreType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - summary: { - __typename?: "HouseholdCreditCardSummary"; - id: string; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }; - }>; -}; - -export type GetCreditCardSummaryByAccountIdQueryVariables = Exact<{ - fromDate: Scalars["date"]; - toDate: Scalars["date"]; - accountId: Scalars["String"]; -}>; - -export type GetCreditCardSummaryByAccountIdQuery = { - __typename?: "query_root"; - creditCardSummaries: Array<{ - __typename: "HouseholdCreditCardSummary"; - id: string; - withdrawalDate: any; - totalAmount: any; - creditCard: string; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; -}; - -export type GetCreditCardSummaryByIdQueryVariables = Exact<{ - summaryId: Scalars["String"]; -}>; - -export type GetCreditCardSummaryByIdQuery = { - __typename?: "query_root"; - creditCardSummary?: { - __typename?: "HouseholdCreditCardSummary"; - id: string; - creditCard: string; - withdrawalDate: any; - totalAmount: any; - count: number; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - } | null; -}; - -export type GetDailyByAccountIdQueryVariables = Exact<{ - fromDate: Scalars["date"]; - toDate: Scalars["date"]; - accountId: Scalars["String"]; - groupId: Scalars["String"]; - orderBy?: InputMaybe; -}>; - -export type GetDailyByAccountIdQuery = { - __typename: "query_root"; - dailies: Array<{ - __typename: "HouseholdDailyDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - genreType: string; - iocomeType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; -}; - -export type GetDashboardSettingQueryVariables = Exact<{ - userId: Scalars["String"]; - groupId: Scalars["String"]; -}>; - -export type GetDashboardSettingQuery = { - __typename?: "query_root"; - setting: Array<{ - __typename: "HouseholdDashboardSetting"; - id: string; - feature: string; - order: number; - args: Array<{ - __typename: "HouseholdDashboardSettingArgs"; - id: string; - type: string; - value: string; - }>; - }>; -}; - -export type GetDetailsByCategoryQueryVariables = Exact<{ - fromDate: Scalars["date"]; - toDate: Scalars["date"]; - groupId: Scalars["String"]; - iocomeType?: InputMaybe | Scalars["String"]>; -}>; - -export type GetDetailsByCategoryQuery = { - __typename?: "query_root"; - group?: { - __typename?: "Group"; - transfer?: { - __typename?: "HouseholdTransferCategory"; - outcomeCategoryId: string; - incomeCategoryId: string; - } | null; - dailyDetails: Array<{ - __typename?: "HouseholdDailyDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - iocomeType: string; - genreType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - }>; - creditCardDetails: Array<{ - __typename?: "HouseholdCreditCardDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - iocomeType: string; - genreType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - summary: { - __typename?: "HouseholdCreditCardSummary"; - id: string; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }; - }>; - } | null; -}; - -export type GetFavoriteFilterQueryVariables = Exact<{ - filterId: Scalars["String"]; -}>; - -export type GetFavoriteFilterQuery = { - __typename?: "query_root"; - filter?: { - __typename: "HouseholdFavoriteFilter"; - id: string; - name: string; - args: Array<{ - __typename: "HouseholdFavoriteFilterArgs"; - id: string; - key: string; - value: string; - category?: { - __typename: "HouseholdCategory"; - id: string; - name: string; - genre: { - __typename: "HouseholdGenre"; - id: string; - name: string; - iocomeType: string; - genreType: string; - }; - } | null; - }>; - } | null; -}; - -export type GetFavoriteFiltersQueryVariables = Exact<{ - groupId: Scalars["String"]; -}>; - -export type GetFavoriteFiltersQuery = { - __typename?: "query_root"; - filters: Array<{ - __typename: "HouseholdFavoriteFilter"; - id: string; - name: string; - args: Array<{ - __typename: "HouseholdFavoriteFilterArgs"; - id: string; - key: string; - value: string; - category?: { - __typename: "HouseholdCategory"; - id: string; - name: string; - genre: { - __typename: "HouseholdGenre"; - id: string; - name: string; - iocomeType: string; - genreType: string; - }; - } | null; - }>; - }>; -}; - -export const FragDailyDetailFragmentDoc = gql` - fragment fragDailyDetail on HouseholdDailyDetail { - __typename - id - date - genre { - id - name - genreType - iocomeType - } - category { - id - name - } - account { - id - name - } - amount - memo - } -`; -export const FragCreditCardDetailFragmentDoc = gql` - fragment fragCreditCardDetail on HouseholdCreditCardDetail { - id - date - amount - memo - genre { - id - name - iocomeType - genreType - } - category { - id - name - } - summary: creditCardSummary { - id - account { - id - name - } - } - } -`; -export const FragFavoriteFilterFragmentDoc = gql` - fragment fragFavoriteFilter on HouseholdFavoriteFilter { - __typename - id - name - args: favoriteFilterArgs { - __typename - id - key - value - category: favoriteFilterArgCategoryId { - __typename - id - name - genre { - __typename - id - name - iocomeType - genreType - } - } - } - } -`; -export const CreateAccountDocument = gql` - mutation CreateAccount( - $accountId: String! - $accountName: String! - $displayOrder: Int! - $groupId: String! - ) { - insertAccount: insertHouseholdAccount( - objects: { - id: $accountId - name: $accountName - displayOrder: $displayOrder - groupId: $groupId - validFlag: true - } - ) { - returning { - accountId: id - } - } - } -`; - -export function useCreateAccountMutation() { - return Urql.useMutation< - CreateAccountMutation, - CreateAccountMutationVariables - >(CreateAccountDocument); -} -export const CreateCategoryDocument = gql` - mutation CreateCategory( - $categoryId: String! - $categoryName: String! - $genreId: String! - $displayOrder: Int! - $validFlag: Boolean! - $groupId: String! - ) { - insertCategory: insertHouseholdCategory( - objects: { - id: $categoryId - name: $categoryName - genreId: $genreId - displayOrder: $displayOrder - validFlag: $validFlag - groupId: $groupId - } - ) { - returning { - id - } - } - } -`; - -export function useCreateCategoryMutation() { - return Urql.useMutation< - CreateCategoryMutation, - CreateCategoryMutationVariables - >(CreateCategoryDocument); -} -export const CreateCreditCardDetailDocument = gql` - mutation CreateCreditCardDetail( - $id: String! - $date: date! - $genreId: String! - $iocomeType: String! - $categoryId: String! - $amount: numeric! - $memo: String! - $summaryId: String! - $userId: String! - $groupId: String! - ) { - insertCreditCardDetail: insertHouseholdCreditCardDetail( - objects: { - id: $id - date: $date - genreId: $genreId - iocomeType: $iocomeType - categoryId: $categoryId - amount: $amount - summaryId: $summaryId - userId: $userId - memo: $memo - groupId: $groupId - } - ) { - returning { - id - } - } - } -`; - -export function useCreateCreditCardDetailMutation() { - return Urql.useMutation< - CreateCreditCardDetailMutation, - CreateCreditCardDetailMutationVariables - >(CreateCreditCardDetailDocument); -} -export const CreateCreditCardSummaryDocument = gql` - mutation CreateCreditCardSummary( - $accountId: String! - $count: Int! - $creditCard: String! - $groupId: String! - $id: String! - $totalAmount: numeric! - $withdrawalDate: date! - ) { - insertCreditCardSummary: insertHouseholdCreditCardSummary( - objects: { - id: $id - creditCard: $creditCard - accountId: $accountId - totalAmount: $totalAmount - count: $count - withdrawalDate: $withdrawalDate - groupId: $groupId - } - ) { - returning { - id - } - } - } -`; - -export function useCreateCreditCardSummaryMutation() { - return Urql.useMutation< - CreateCreditCardSummaryMutation, - CreateCreditCardSummaryMutationVariables - >(CreateCreditCardSummaryDocument); -} -export const CreateDailyDetailDocument = gql` - mutation CreateDailyDetail( - $accountId: String! - $amount: numeric! - $genreId: String! - $iocomeType: String! - $categoryId: String! - $date: date! - $groupId: String! - $id: String! - $memo: String - $userId: String! - ) { - __typename - insertDailyDetail: insertHouseholdDailyDetail( - objects: { - id: $id - date: $date - genreId: $genreId - iocomeType: $iocomeType - categoryId: $categoryId - accountId: $accountId - userId: $userId - amount: $amount - memo: $memo - groupId: $groupId - } - ) { - __typename - returning { - id - __typename - } - } - } -`; - -export function useCreateDailyDetailMutation() { - return Urql.useMutation< - CreateDailyDetailMutation, - CreateDailyDetailMutationVariables - >(CreateDailyDetailDocument); -} -export const CreateImportFileHistoryDocument = gql` - mutation CreateImportFileHistory( - $fileName: String! - $fileType: String! - $groupId: String! - $id: String! - $importDatetime: timestamp! - $importUserId: String! - ) { - insertImportFileHistory: insertHouseholdImportFileHistory( - objects: { - id: $id - fileType: $fileType - fileName: $fileName - importUserId: $importUserId - importDatetime: $importDatetime - groupId: $groupId - } - ) { - returning { - id - } - } - } -`; - -export function useCreateImportFileHistoryMutation() { - return Urql.useMutation< - CreateImportFileHistoryMutation, - CreateImportFileHistoryMutationVariables - >(CreateImportFileHistoryDocument); -} -export const CreateSummaryCategoryDocument = gql` - mutation CreateSummaryCategory( - $id: String! - $displayOrder: Int! - $categoryId: String! - $groupId: String! - ) { - insertSummaryCategoryByGroup: insertHouseholdSummaryCategory( - objects: { - id: $id - categoryId: $categoryId - groupId: $groupId - displayOrder: $displayOrder - } - ) { - returning { - id - } - } - } -`; - -export function useCreateSummaryCategoryMutation() { - return Urql.useMutation< - CreateSummaryCategoryMutation, - CreateSummaryCategoryMutationVariables - >(CreateSummaryCategoryDocument); -} -export const CreateUserDocument = gql` - mutation CreateUser( - $userId: String! - $userName: String! - $email: String! - $displayOrder: Int! - ) { - insertUser: insertUser( - objects: { - id: $userId - name: $userName - email: $email - displayOrder: $displayOrder - } - ) { - returning { - userId: id - email - } - } - } -`; - -export function useCreateUserMutation() { - return Urql.useMutation( - CreateUserDocument, - ); -} -export const DeleteDailyDetailBySerialNoDocument = gql` - mutation DeleteDailyDetailBySerialNo($id: String!) { - deleteDailyDetailByPk: deleteHouseholdDailyDetailByPk(id: $id) { - __typename - id - } - } -`; - -export function useDeleteDailyDetailBySerialNoMutation() { - return Urql.useMutation< - DeleteDailyDetailBySerialNoMutation, - DeleteDailyDetailBySerialNoMutationVariables - >(DeleteDailyDetailBySerialNoDocument); -} -export const DeleteSummaryCategoryDocument = gql` - mutation DeleteSummaryCategory($groupId: String!) { - deleteSummaryCategoryByGroup: deleteHouseholdSummaryCategory( - where: { groupId: { _eq: $groupId } } - ) { - returning { - id - } - } - } -`; - -export function useDeleteSummaryCategoryMutation() { - return Urql.useMutation< - DeleteSummaryCategoryMutation, - DeleteSummaryCategoryMutationVariables - >(DeleteSummaryCategoryDocument); -} -export const UpdateCategoryByIdDocument = gql` - mutation UpdateCategoryById( - $categoryId: String! - $categoryName: String! - $genreId: String! - $displayOrder: Int! - $validFlag: Boolean! - ) { - updateCategoryByPk: updateHouseholdCategoryByPk( - pkColumns: { id: $categoryId } - _set: { - name: $categoryName - genreId: $genreId - displayOrder: $displayOrder - validFlag: $validFlag - } - ) { - id - } - } -`; - -export function useUpdateCategoryByIdMutation() { - return Urql.useMutation< - UpdateCategoryByIdMutation, - UpdateCategoryByIdMutationVariables - >(UpdateCategoryByIdDocument); -} -export const UpdateCreditCardSummaryTotalDocument = gql` - mutation UpdateCreditCardSummaryTotal( - $id: String! - $totalAmount: numeric! - $count: Int! - ) { - updateCreditCardSummary: updateHouseholdCreditCardSummaryByPk( - pkColumns: { id: $id } - _set: { totalAmount: $totalAmount, count: $count } - ) { - id - } - } -`; - -export function useUpdateCreditCardSummaryTotalMutation() { - return Urql.useMutation< - UpdateCreditCardSummaryTotalMutation, - UpdateCreditCardSummaryTotalMutationVariables - >(UpdateCreditCardSummaryTotalDocument); -} -export const UpdateDailyDetailByIdDocument = gql` - mutation UpdateDailyDetailById( - $id: String! - $date: date! - $genreId: String! - $iocomeType: String! - $categoryId: String! - $accountId: String! - $amount: numeric! - $memo: String - ) { - updateDailyDetailByPk: updateHouseholdDailyDetailByPk( - _set: { - date: $date - genreId: $genreId - iocomeType: $iocomeType - categoryId: $categoryId - accountId: $accountId - amount: $amount - memo: $memo - } - pkColumns: { id: $id } - ) { - __typename - id - } - } -`; - -export function useUpdateDailyDetailByIdMutation() { - return Urql.useMutation< - UpdateDailyDetailByIdMutation, - UpdateDailyDetailByIdMutationVariables - >(UpdateDailyDetailByIdDocument); -} -export const UpdateGenreByIdDocument = gql` - mutation UpdateGenreById( - $genreId: String! - $validFlag: Boolean! - $iocomeType: String! - $genreType: String! - $genreName: String! - $displayOrder: Int! - ) { - updateGenreByPk: updateHouseholdGenreByPk( - pkColumns: { id: $genreId } - _set: { - name: $genreName - genreType: $genreType - iocomeType: $iocomeType - validFlag: $validFlag - displayOrder: $displayOrder - } - ) { - id - } - } -`; - -export function useUpdateGenreByIdMutation() { - return Urql.useMutation< - UpdateGenreByIdMutation, - UpdateGenreByIdMutationVariables - >(UpdateGenreByIdDocument); -} -export const DeleteDashboardSettingDocument = gql` - mutation deleteDashboardSetting($settingId: String!) { - deleteHouseholdDashboardSettingArgs( - where: { settingId: { _eq: $settingId } } - ) { - returning { - id - __typename - } - } - deleteHouseholdDashboardSettingByPk(id: $settingId) { - id - __typename - } - } -`; - -export function useDeleteDashboardSettingMutation() { - return Urql.useMutation< - DeleteDashboardSettingMutation, - DeleteDashboardSettingMutationVariables - >(DeleteDashboardSettingDocument); -} -export const DeleteFavoriteFilterArgDocument = gql` - mutation deleteFavoriteFilterArg($id: String!) { - deleteHouseholdFavoriteFilterArgsByPk(id: $id) { - id - } - } -`; - -export function useDeleteFavoriteFilterArgMutation() { - return Urql.useMutation< - DeleteFavoriteFilterArgMutation, - DeleteFavoriteFilterArgMutationVariables - >(DeleteFavoriteFilterArgDocument); -} -export const DeleteInsertDashboardSettingArgsDocument = gql` - mutation deleteInsertDashboardSettingArgs( - $settingId: String! - $objects: [HouseholdDashboardSettingArgsInsertInput!]! - ) { - deleteDashboardSettingArgs: deleteHouseholdDashboardSettingArgs( - where: { settingId: { _eq: $settingId } } - ) { - returning { - id - __typename - } - } - insertDashboardSettingArgs: insertHouseholdDashboardSettingArgs( - objects: $objects - ) { - returning { - id - __typename - } - } - } -`; - -export function useDeleteInsertDashboardSettingArgsMutation() { - return Urql.useMutation< - DeleteInsertDashboardSettingArgsMutation, - DeleteInsertDashboardSettingArgsMutationVariables - >(DeleteInsertDashboardSettingArgsDocument); -} -export const InsertDashboardSettingDocument = gql` - mutation insertDashboardSetting( - $settingId: String! - $feature: String! - $order: Int! - $userId: String! - $groupId: String! - ) { - insertSetting: insertHouseholdDashboardSetting( - objects: { - id: $settingId - feature: $feature - order: $order - userId: $userId - groupId: $groupId - } - ) { - returning { - id - __typename - } - } - } -`; - -export function useInsertDashboardSettingMutation() { - return Urql.useMutation< - InsertDashboardSettingMutation, - InsertDashboardSettingMutationVariables - >(InsertDashboardSettingDocument); -} -export const InsertDashboardSettingArgsDocument = gql` - mutation insertDashboardSettingArgs( - $id: String! - $type: String! - $value: String! - $settingId: String! - ) { - insertSettingArgs: insertHouseholdDashboardSettingArgs( - objects: { id: $id, type: $type, value: $value, settingId: $settingId } - ) { - returning { - id - __typename - } - } - } -`; - -export function useInsertDashboardSettingArgsMutation() { - return Urql.useMutation< - InsertDashboardSettingArgsMutation, - InsertDashboardSettingArgsMutationVariables - >(InsertDashboardSettingArgsDocument); -} -export const InsertFavoriteFilterDocument = gql` - mutation insertFavoriteFilter( - $filterId: String! - $name: String! - $groupId: String! - ) { - insertHouseholdFavoriteFilterOne( - object: { id: $filterId, name: $name, groupId: $groupId } - ) { - id - } - } -`; - -export function useInsertFavoriteFilterMutation() { - return Urql.useMutation< - InsertFavoriteFilterMutation, - InsertFavoriteFilterMutationVariables - >(InsertFavoriteFilterDocument); -} -export const InsertFavoriteFilterArgDocument = gql` - mutation insertFavoriteFilterArg( - $argId: String! - $filterId: String! - $key: String! - $value: String! - ) { - insertArg: insertHouseholdFavoriteFilterArgsOne( - object: { id: $argId, filterId: $filterId, key: $key, value: $value } - ) { - id - __typename - } - } -`; - -export function useInsertFavoriteFilterArgMutation() { - return Urql.useMutation< - InsertFavoriteFilterArgMutation, - InsertFavoriteFilterArgMutationVariables - >(InsertFavoriteFilterArgDocument); -} -export const UpdateCreditCardDetailAmountByIdDocument = gql` - mutation updateCreditCardDetailAmountById($id: String!, $amount: numeric!) { - updateHouseholdCreditCardDetailByPk( - pkColumns: { id: $id } - _set: { amount: $amount } - ) { - id - } - } -`; - -export function useUpdateCreditCardDetailAmountByIdMutation() { - return Urql.useMutation< - UpdateCreditCardDetailAmountByIdMutation, - UpdateCreditCardDetailAmountByIdMutationVariables - >(UpdateCreditCardDetailAmountByIdDocument); -} -export const UpdateCreditCardDetailByIdDocument = gql` - mutation updateCreditCardDetailById( - $id: String! - $genreId: String! - $categoryId: String! - $memo: String - ) { - updateHouseholdCreditCardDetailByPk( - pkColumns: { id: $id } - _set: { genreId: $genreId, categoryId: $categoryId, memo: $memo } - ) { - id - } - } -`; - -export function useUpdateCreditCardDetailByIdMutation() { - return Urql.useMutation< - UpdateCreditCardDetailByIdMutation, - UpdateCreditCardDetailByIdMutationVariables - >(UpdateCreditCardDetailByIdDocument); -} -export const UpdateDashboardSettingDocument = gql` - mutation updateDashboardSetting( - $settingId: String! - $feature: String! - $order: Int! - ) { - updateDashboardSetting: updateHouseholdDashboardSettingByPk( - pkColumns: { id: $settingId } - _set: { feature: $feature, order: $order } - ) { - id - __typename - } - } -`; - -export function useUpdateDashboardSettingMutation() { - return Urql.useMutation< - UpdateDashboardSettingMutation, - UpdateDashboardSettingMutationVariables - >(UpdateDashboardSettingDocument); -} -export const UpdateDashboardSettingOrderDocument = gql` - mutation updateDashboardSettingOrder($settingId: String!, $order: Int!) { - updateHouseholdDashboardSettingByPk( - pkColumns: { id: $settingId } - _set: { order: $order } - ) { - id - __typename - } - } -`; - -export function useUpdateDashboardSettingOrderMutation() { - return Urql.useMutation< - UpdateDashboardSettingOrderMutation, - UpdateDashboardSettingOrderMutationVariables - >(UpdateDashboardSettingOrderDocument); -} -export const UpdateFavoriteFilterDocument = gql` - mutation updateFavoriteFilter($filterId: String!, $name: String!) { - updateHouseholdFavoriteFilterByPk( - pkColumns: { id: $filterId } - _set: { name: $name } - ) { - __typename - id - } - } -`; - -export function useUpdateFavoriteFilterMutation() { - return Urql.useMutation< - UpdateFavoriteFilterMutation, - UpdateFavoriteFilterMutationVariables - >(UpdateFavoriteFilterDocument); -} -export const UpdateFavoriteFilterArgDocument = gql` - mutation updateFavoriteFilterArg($argId: String!, $value: String!) { - insertArg: updateHouseholdFavoriteFilterArgsByPk( - pkColumns: { id: $argId } - _set: { value: $value } - ) { - id - __typename - } - } -`; - -export function useUpdateFavoriteFilterArgMutation() { - return Urql.useMutation< - UpdateFavoriteFilterArgMutation, - UpdateFavoriteFilterArgMutationVariables - >(UpdateFavoriteFilterArgDocument); -} -export const GetAccountBalanceListDocument = gql` - query GetAccountBalanceList( - $groupId: String! - $fromDate: date! - $toDate: date! - ) { - account: householdAccount( - where: { _and: { groupId: { _eq: $groupId } } } - orderBy: { displayOrder: ASC } - ) { - __typename - id - accountName: name - dailyDetails( - where: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } - ) { - ...fragDailyDetail - } - allDetailViewsAggregate( - where: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } - ) { - aggregate { - sum { - __typename - signedAmount - } - } - } - } - } - ${FragDailyDetailFragmentDoc} -`; - -export function useGetAccountBalanceListQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetAccountBalanceListQuery, - GetAccountBalanceListQueryVariables - >({ query: GetAccountBalanceListDocument, ...options }); -} -export const GetAllCategoriesDocument = gql` - query GetAllCategories($groupId: String!) { - categories: householdCategory( - where: { groupId: { _eq: $groupId } } - orderBy: [{ genre: { displayOrder: ASC } }, { displayOrder: ASC }] - ) { - id - categoryName: name - displayOrder - validFlag - genre { - genreId: id - genreName: name - } - } - } -`; - -export function useGetAllCategoriesQuery( - options: Omit, "query">, -) { - return Urql.useQuery({ - query: GetAllCategoriesDocument, - ...options, - }); -} -export const GetAllCategoryListWithCriteriaDocument = gql` - query GetAllCategoryListWithCriteria( - $validCategoryIn: [Boolean!] = [true, false] - $validGenreIn: [Boolean!] = [true, false] - $iocomeTypeIn: [String!] = ["INCOME", "OUTCOME"] - $categoryNotIn: [String!] = [] - ) { - genres: householdGenre( - where: { - validFlag: { _in: $validCategoryIn } - _and: { iocomeType: { _in: $iocomeTypeIn } } - } - orderBy: { displayOrder: ASC } - ) { - id - name - type: genreType - iocomeType - validFlag - displayOrder - categories( - where: { - validFlag: { _in: $validGenreIn } - _and: { id: { _nin: $categoryNotIn } } - } - orderBy: { displayOrder: ASC } - ) { - id - name - validFlag - displayOrder - } - } - } -`; - -export function useGetAllCategoryListWithCriteriaQuery( - options?: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetAllCategoryListWithCriteriaQuery, - GetAllCategoryListWithCriteriaQueryVariables - >({ query: GetAllCategoryListWithCriteriaDocument, ...options }); -} -export const GetAllGenreDocument = gql` - query GetAllGenre($groupId: String!) @cached { - genre: householdGenre( - where: { groupId: { _eq: $groupId } } - orderBy: { displayOrder: ASC } - ) { - id - genreName: name - genreType - iocomeType - validFlag - displayOrder - } - } -`; - -export function useGetAllGenreQuery( - options: Omit, "query">, -) { - return Urql.useQuery({ - query: GetAllGenreDocument, - ...options, - }); -} -export const GetAllUsersDocument = gql` - query GetAllUsers { - users: user(orderBy: { displayOrder: ASC }) { - id - name - email - affiliation: affiliations { - group { - id - name - } - } - } - } -`; - -export function useGetAllUsersQuery( - options?: Omit, "query">, -) { - return Urql.useQuery({ - query: GetAllUsersDocument, - ...options, - }); -} -export const GetCategoryByIdDocument = gql` - query GetCategoryById($categoryId: String!) { - category: householdCategoryByPk(id: $categoryId) { - categoryName: name - validFlag - displayOrder - genre { - genreId: id - iocomeType - } - } - } -`; - -export function useGetCategoryByIdQuery( - options: Omit, "query">, -) { - return Urql.useQuery({ - query: GetCategoryByIdDocument, - ...options, - }); -} -export const GetCategoryTotalByMonthDocument = gql` - query GetCategoryTotalByMonth( - $fromDate: date - $toDate: date - $groupId: String! - ) { - categoryTotalByMonth( - args: { from_date: $fromDate, to_date: $toDate, group_id: $groupId } - ) { - date - iocomeType - genreId - genreName - categoryId - categoryName - total - } - } -`; - -export function useGetCategoryTotalByMonthQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetCategoryTotalByMonthQuery, - GetCategoryTotalByMonthQueryVariables - >({ query: GetCategoryTotalByMonthDocument, ...options }); -} -export const GetCreditCardDetailBySummaryIdDocument = gql` - query GetCreditCardDetailBySummaryId($id: String!) { - creditCardSummary: householdCreditCardSummaryByPk(id: $id) { - id - creditCard - withdrawalDate - account { - id - name - } - count - totalAmount - creditCardDetails(orderBy: { date: ASC }) { - id - date - memo - amount - category { - id - name - genre { - id - name - genreType - iocomeType - } - } - } - } - } -`; - -export function useGetCreditCardDetailBySummaryIdQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetCreditCardDetailBySummaryIdQuery, - GetCreditCardDetailBySummaryIdQueryVariables - >({ query: GetCreditCardDetailBySummaryIdDocument, ...options }); -} -export const GetCreditCardListDocument = gql` - query GetCreditCardList($groupId: String!) { - allCreditCardSummariesList: householdCreditCardSummary( - where: { groupId: { _eq: $groupId } } - orderBy: { withdrawalDate: DESC } - ) { - id - creditCard - account { - id - name - } - count - withdrawalDate - totalAmount - } - } -`; - -export function useGetCreditCardListQuery( - options: Omit, "query">, -) { - return Urql.useQuery( - { query: GetCreditCardListDocument, ...options }, - ); -} -export const GetDailyDetailByDateDocument = gql` - query GetDailyDetailByDate( - $fromDate: date! - $toDate: date! - $groupId: String! - ) { - dailies: dailyDetailByDate( - args: { from_date: $fromDate, to_date: $toDate, group_id: $groupId } - ) { - ...fragDailyDetail - } - } - ${FragDailyDetailFragmentDoc} -`; - -export function useGetDailyDetailByDateQuery( - options: Omit, "query">, -) { - return Urql.useQuery< - GetDailyDetailByDateQuery, - GetDailyDetailByDateQueryVariables - >({ query: GetDailyDetailByDateDocument, ...options }); -} -export const GetDailyDetailByDateCategoryIdDocument = gql` - query GetDailyDetailByDateCategoryId( - $fromDate: date! - $toDate: date! - $groupId: String! - $categoryId: String! - ) { - dailies: dailyDetailByDate( - args: { from_date: $fromDate, to_date: $toDate, group_id: $groupId } - where: { categoryId: { _eq: $categoryId } } - ) { - ...fragDailyDetail - } - } - ${FragDailyDetailFragmentDoc} -`; - -export function useGetDailyDetailByDateCategoryIdQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetDailyDetailByDateCategoryIdQuery, - GetDailyDetailByDateCategoryIdQueryVariables - >({ query: GetDailyDetailByDateCategoryIdDocument, ...options }); -} -export const GetDailyDetailByDateGenreIdDocument = gql` - query GetDailyDetailByDateGenreId( - $genreId: String! - $fromDate: date! - $toDate: date! - $groupId: String! - ) { - allCategoriesList: householdCategory( - where: { genreId: { _eq: $genreId } } - ) { - dailyDetailsByCategoryIdList: dailyDetails( - where: { - date: { _gte: $fromDate } - _and: { - date: { _lte: $toDate } - _and: { groupId: { _eq: $groupId } } - } - } - ) { - id - date - amount - memo - categoryByCategoryId: category { - categoryId: id - categoryName: name - genreByGenreId: genre { - genreId: id - genreName: name - genreType - iocomeType - } - } - accountByAccountId: account { - accountId: id - accountName: name - } - userByUserId: user { - userId: id - userName: name - } - } - } - } -`; - -export function useGetDailyDetailByDateGenreIdQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetDailyDetailByDateGenreIdQuery, - GetDailyDetailByDateGenreIdQueryVariables - >({ query: GetDailyDetailByDateGenreIdDocument, ...options }); -} -export const GetGenreByIdDocument = gql` - query GetGenreById($genreId: String!) { - genreById: householdGenreByPk(id: $genreId) { - id - genreName: name - genreType - iocomeType - validFlag - displayOrder - categories(where: { validFlag: { _eq: true } }) { - categoryId: id - categoryName: name - } - } - } -`; - -export function useGetGenreByIdQuery( - options: Omit, "query">, -) { - return Urql.useQuery({ - query: GetGenreByIdDocument, - ...options, - }); -} -export const GetGenreTotalByMonthDocument = gql` - query GetGenreTotalByMonth( - $fromDate: date! - $toDate: date! - $groupId: String! - ) { - genreTotalByMonthList: genreTotalByMonth( - args: { from_date: $fromDate, to_date: $toDate, group_id: $groupId } - ) { - date - iocomeType - genreId - genreName - total - } - } -`; - -export function useGetGenreTotalByMonthQuery( - options: Omit, "query">, -) { - return Urql.useQuery< - GetGenreTotalByMonthQuery, - GetGenreTotalByMonthQueryVariables - >({ query: GetGenreTotalByMonthDocument, ...options }); -} -export const GetSummaryCategoriesDocument = gql` - query GetSummaryCategories($groupId: String!) { - categories: householdSummaryCategory( - where: { groupId: { _eq: $groupId } } - orderBy: { displayOrder: ASC } - ) { - id - groupId - displayOrder - category: category { - id - name - genre: genre { - id - name - type: genreType - iocomeType - } - } - } - } -`; - -export function useGetSummaryCategoriesQuery( - options: Omit, "query">, -) { - return Urql.useQuery< - GetSummaryCategoriesQuery, - GetSummaryCategoriesQueryVariables - >({ query: GetSummaryCategoriesDocument, ...options }); -} -export const GetSummaryCategoryBetweenDateDocument = gql` - query GetSummaryCategoryBetweenDate( - $fromDate: date! - $toDate: date! - $groupId: String! - ) { - summaryCategoryList: householdSummaryCategory( - orderBy: { displayOrder: ASC } - where: { groupId: { _eq: $groupId } } - ) { - category { - name - id - genre { - iocomeType - } - daily: dailyDetails( - where: { - groupId: { _eq: $groupId } - _and: { - date: { _gte: $fromDate } - _and: { date: { _lte: $toDate } } - } - } - orderBy: { date: ASC } - ) { - date - amount - } - creditCard: creditCardDetails( - where: { - groupId: { _eq: $groupId } - _and: { - date: { _gte: $fromDate } - _and: { date: { _lte: $toDate } } - } - } - orderBy: { date: ASC } - ) { - date - amount - } - } - } - } -`; - -export function useGetSummaryCategoryBetweenDateQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetSummaryCategoryBetweenDateQuery, - GetSummaryCategoryBetweenDateQueryVariables - >({ query: GetSummaryCategoryBetweenDateDocument, ...options }); -} -export const GetTotalBetweenDateDocument = gql` - query GetTotalBetweenDate( - $fromDate: date! - $toDate: date! - $groupId: String! - ) { - incomeTotalByDate: householdDailyTotalView( - where: { - iocomeType: { _eq: "INCOME" } - _and: { - groupId: { _eq: $groupId } - _and: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } - } - } - ) { - date - iocomeType - total - } - outcomeTotalByDate: householdDailyTotalView( - where: { - iocomeType: { _eq: "OUTCOME" } - _and: { - groupId: { _eq: $groupId } - _and: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } - } - } - ) { - date - iocomeType - total - } - } -`; - -export function useGetTotalBetweenDateQuery( - options: Omit, "query">, -) { - return Urql.useQuery< - GetTotalBetweenDateQuery, - GetTotalBetweenDateQueryVariables - >({ query: GetTotalBetweenDateDocument, ...options }); -} -export const GetTransferCategoryByDocument = gql` - query GetTransferCategoryBy($groupId: String!) { - transferCategory: householdTransferCategoryByPk(groupId: $groupId) { - id: groupId - incomeCategory: categoryByIncomeCategoryId { - categoryId: id - genre { - genreId: id - iocomeType - } - } - outcomeCategory: categoryByOutcomeCategoryId { - categoryId: id - genre { - genreId: id - iocomeType - } - } - } - } -`; - -export function useGetTransferCategoryByQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetTransferCategoryByQuery, - GetTransferCategoryByQueryVariables - >({ query: GetTransferCategoryByDocument, ...options }); -} -export const GetValidAccountsDocument = gql` - query GetValidAccounts($groupId: String!) { - allAccountsList: householdAccount( - where: { validFlag: { _eq: true }, _and: { groupId: { _eq: $groupId } } } - orderBy: { displayOrder: ASC } - ) { - accountId: id - accountName: name - } - } -`; - -export function useGetValidAccountsQuery( - options: Omit, "query">, -) { - return Urql.useQuery({ - query: GetValidAccountsDocument, - ...options, - }); -} -export const GetValidCategoryByGenreIdDocument = gql` - query GetValidCategoryByGenreId($groupId: String!, $genreId: String!) { - genreById: householdGenre( - where: { - groupId: { _eq: $groupId } - _and: { validFlag: { _eq: true }, _and: { id: { _eq: $genreId } } } - } - orderBy: { displayOrder: ASC } - ) { - id - name - categories(where: { validFlag: { _eq: true } }) { - id - name - displayOrder - } - } - genre: householdGenreByPk(id: $genreId) { - id - name - categories( - where: { validFlag: { _eq: true } } - orderBy: { displayOrder: ASC } - ) { - id - name - displayOrder - } - } - } -`; - -export function useGetValidCategoryByGenreIdQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetValidCategoryByGenreIdQuery, - GetValidCategoryByGenreIdQueryVariables - >({ query: GetValidCategoryByGenreIdDocument, ...options }); -} -export const GetValidGenreListByIocomeTypeDocument = gql` - query GetValidGenreListByIocomeType($iocomeType: String!, $groupId: String!) { - allGenresList: householdGenre( - where: { - validFlag: { _eq: true } - iocomeType: { _eq: $iocomeType } - groupId: { _eq: $groupId } - } - orderBy: { displayOrder: ASC } - ) { - genreId: id - genreName: name - genreType - iocomeType - displayOrder - categoriesByGenreIdList: categories( - orderBy: { displayOrder: ASC } - where: { validFlag: { _eq: true } } - ) { - categoryId: id - categoryName: name - displayOrder - } - } - } -`; - -export function useGetValidGenreListByIocomeTypeQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetValidGenreListByIocomeTypeQuery, - GetValidGenreListByIocomeTypeQueryVariables - >({ query: GetValidGenreListByIocomeTypeDocument, ...options }); -} -export const GetCreditCardSummaryByDateDocument = gql` - query getCreditCardSummaryByDate( - $fromDate: date! - $toDate: date! - $groupId: String! - ) { - creditCardSummaries: householdCreditCardSummary( - where: { - withdrawalDate: { _gte: $fromDate } - _and: { - withdrawalDate: { _lte: $toDate } - _and: { groupId: { _eq: $groupId } } - } - } - orderBy: { withdrawalDate: ASC } - ) { - id - withdrawalDate - totalAmount - creditCard - account { - id - name - } - } - } -`; - -export function useGetCreditCardSummaryByDateQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetCreditCardSummaryByDateQuery, - GetCreditCardSummaryByDateQueryVariables - >({ query: GetCreditCardSummaryByDateDocument, ...options }); -} -export const GetDailyDetailByIdDocument = gql` - query GetDailyDetailById($id: String!) { - dailyDetail: householdDailyDetailByPk(id: $id) { - ...fragDailyDetail - } - } - ${FragDailyDetailFragmentDoc} -`; - -export function useGetDailyDetailByIdQuery( - options: Omit, "query">, -) { - return Urql.useQuery< - GetDailyDetailByIdQuery, - GetDailyDetailByIdQueryVariables - >({ query: GetDailyDetailByIdDocument, ...options }); -} -export const GetDepositDocument = gql` - query getDeposit($groupId: String!, $fromDate: date!, $toDate: date!) { - depositCategory: householdDepositCategory( - where: { groupId: { _eq: $groupId } } - ) { - category { - id - categoryName: name - daily: dailyDetailsAggregate( - orderBy: { date: ASC } - where: { - date: { _gte: $fromDate } - _and: { date: { _lte: $toDate } } - } - ) { - aggregate { - count - sum { - amount - } - avg { - amount - } - } - nodes { - id - date - amount - memo - } - } - credit: creditCardDetailsAggregate( - orderBy: { date: ASC } - where: { - date: { _gte: $fromDate } - _and: { date: { _lte: $toDate } } - } - ) { - aggregate { - count - sum { - amount - } - avg { - amount - } - } - nodes { - id - date - amount - memo - } - } - } - } - } -`; - -export function useGetDepositQuery( - options: Omit, "query">, -) { - return Urql.useQuery({ - query: GetDepositDocument, - ...options, - }); -} -export const GetAccountByIdDocument = gql` - query getAccountById($accountId: String!) { - account: householdAccountByPk(id: $accountId) { - id - name - } - } -`; - -export function useGetAccountByIdQuery( - options: Omit, "query">, -) { - return Urql.useQuery({ - query: GetAccountByIdDocument, - ...options, - }); -} -export const GetCreditCardDetailByIdDocument = gql` - query getCreditCardDetailById($id: String!) { - creditCardDetail: householdCreditCardDetailByPk(id: $id) { - ...fragCreditCardDetail - } - } - ${FragCreditCardDetailFragmentDoc} -`; - -export function useGetCreditCardDetailByIdQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetCreditCardDetailByIdQuery, - GetCreditCardDetailByIdQueryVariables - >({ query: GetCreditCardDetailByIdDocument, ...options }); -} -export const GetCreditCardDetailListDocument = gql` - query getCreditCardDetailList( - $fromDate: date! - $toDate: date! - $groupId: String! - ) { - creditCardDetails: householdCreditCardDetail( - where: { - date: { _gte: $fromDate, _lte: $toDate } - _and: { groupId: { _eq: $groupId } } - } - ) { - ...fragCreditCardDetail - } - } - ${FragCreditCardDetailFragmentDoc} -`; - -export function useGetCreditCardDetailListQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetCreditCardDetailListQuery, - GetCreditCardDetailListQueryVariables - >({ query: GetCreditCardDetailListDocument, ...options }); -} -export const GetCreditCardSummaryByAccountIdDocument = gql` - query getCreditCardSummaryByAccountId( - $fromDate: date! - $toDate: date! - $accountId: String! - ) { - creditCardSummaries: householdCreditCardSummary( - where: { - withdrawalDate: { _gte: $fromDate } - _and: { - withdrawalDate: { _lte: $toDate } - _and: { accountId: { _eq: $accountId } } - } - } - orderBy: { withdrawalDate: ASC } - ) { - __typename - id - withdrawalDate - totalAmount - creditCard - account { - id - name - } - } - } -`; - -export function useGetCreditCardSummaryByAccountIdQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetCreditCardSummaryByAccountIdQuery, - GetCreditCardSummaryByAccountIdQueryVariables - >({ query: GetCreditCardSummaryByAccountIdDocument, ...options }); -} -export const GetCreditCardSummaryByIdDocument = gql` - query getCreditCardSummaryById($summaryId: String!) { - creditCardSummary: householdCreditCardSummaryByPk(id: $summaryId) { - id - creditCard - withdrawalDate - account { - id - name - } - totalAmount - count - } - } -`; - -export function useGetCreditCardSummaryByIdQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetCreditCardSummaryByIdQuery, - GetCreditCardSummaryByIdQueryVariables - >({ query: GetCreditCardSummaryByIdDocument, ...options }); -} -export const GetDailyByAccountIdDocument = gql` - query getDailyByAccountId( - $fromDate: date! - $toDate: date! - $accountId: String! - $groupId: String! - $orderBy: OrderBy = ASC - ) { - __typename - dailies: dailyDetailByDate( - args: { group_id: $groupId, from_date: $fromDate, to_date: $toDate } - where: { accountId: { _eq: $accountId } } - orderBy: { date: $orderBy, id: DESC } - ) { - ...fragDailyDetail - } - } - ${FragDailyDetailFragmentDoc} -`; - -export function useGetDailyByAccountIdQuery( - options: Omit, "query">, -) { - return Urql.useQuery< - GetDailyByAccountIdQuery, - GetDailyByAccountIdQueryVariables - >({ query: GetDailyByAccountIdDocument, ...options }); -} -export const GetDashboardSettingDocument = gql` - query getDashboardSetting($userId: String!, $groupId: String!) { - setting: householdDashboardSetting( - where: { userId: { _eq: $userId }, _and: { groupId: { _eq: $groupId } } } - orderBy: { order: ASC } - ) { - id - feature - order - __typename - args: dashboardSettingArgs(orderBy: { type: ASC }) { - id - type - value - __typename - } - } - } -`; - -export function useGetDashboardSettingQuery( - options: Omit, "query">, -) { - return Urql.useQuery< - GetDashboardSettingQuery, - GetDashboardSettingQueryVariables - >({ query: GetDashboardSettingDocument, ...options }); -} -export const GetDetailsByCategoryDocument = gql` - query getDetailsByCategory( - $fromDate: date! - $toDate: date! - $groupId: String! - $iocomeType: [String!] = ["INCOME", "OUTCOME"] - ) { - group: groupByPk(id: $groupId) { - transfer: transferCategory { - outcomeCategoryId - incomeCategoryId - } - dailyDetails( - where: { - date: { _gte: $fromDate, _lte: $toDate } - _and: { iocomeType: { _in: $iocomeType } } - } - ) { - id - date - genre { - id - name - iocomeType - genreType - } - category { - id - name - } - amount - memo - } - creditCardDetails( - where: { - date: { _gte: $fromDate, _lte: $toDate } - _and: { iocomeType: { _in: $iocomeType } } - } - ) { - ...fragCreditCardDetail - } - } - } - ${FragCreditCardDetailFragmentDoc} -`; - -export function useGetDetailsByCategoryQuery( - options: Omit, "query">, -) { - return Urql.useQuery< - GetDetailsByCategoryQuery, - GetDetailsByCategoryQueryVariables - >({ query: GetDetailsByCategoryDocument, ...options }); -} -export const GetFavoriteFilterDocument = gql` - query getFavoriteFilter($filterId: String!) { - filter: householdFavoriteFilterByPk(id: $filterId) { - ...fragFavoriteFilter - } - } - ${FragFavoriteFilterFragmentDoc} -`; - -export function useGetFavoriteFilterQuery( - options: Omit, "query">, -) { - return Urql.useQuery( - { query: GetFavoriteFilterDocument, ...options }, - ); -} -export const GetFavoriteFiltersDocument = gql` - query getFavoriteFilters($groupId: String!) { - filters: householdFavoriteFilter(where: { groupId: { _eq: $groupId } }) { - ...fragFavoriteFilter - } - } - ${FragFavoriteFilterFragmentDoc} -`; - -export function useGetFavoriteFiltersQuery( - options: Omit, "query">, -) { - return Urql.useQuery< - GetFavoriteFiltersQuery, - GetFavoriteFiltersQueryVariables - >({ query: GetFavoriteFiltersDocument, ...options }); -} diff --git a/packages/graphql/household/index.ts b/packages/graphql/household/index.ts index 79bce7a2..c9f820ff 100644 --- a/packages/graphql/household/index.ts +++ b/packages/graphql/household/index.ts @@ -1 +1,8534 @@ -export * from "./hasuraGraphql"; +import gql from "graphql-tag"; +import * as Urql from "urql"; + +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { + [K in keyof T]: T[K]; +}; +export type MakeOptional = Omit & { + [SubKey in K]?: Maybe; +}; +export type MakeMaybe = Omit & { + [SubKey in K]: Maybe; +}; +export type Omit = Pick>; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; + date: any; + json: any; + numeric: any; + timestamp: any; + timestamptz: any; +}; + +export type AffiliationAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "affiliation" */ +export type AffiliationAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "affiliation" */ +export type AffiliationArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "affiliation". All fields are combined with a logical 'AND'. */ +export type AffiliationBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + group?: InputMaybe; + groupId?: InputMaybe; + groupRole?: InputMaybe; + id?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** unique or primary key constraints on table "affiliation" */ +export enum AffiliationConstraint { + /** unique or primary key constraint on columns "id" */ + AffiliationPkey = "affiliation_pkey", +} + +/** input type for inserting data into table "affiliation" */ +export type AffiliationInsertInput = { + groupId?: InputMaybe; + groupRole?: InputMaybe; + id?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by max() on columns of table "affiliation" */ +export type AffiliationMaxOrderBy = { + groupId?: InputMaybe; + groupRole?: InputMaybe; + id?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by min() on columns of table "affiliation" */ +export type AffiliationMinOrderBy = { + groupId?: InputMaybe; + groupRole?: InputMaybe; + id?: InputMaybe; + userId?: InputMaybe; +}; + +/** on_conflict condition type for table "affiliation" */ +export type AffiliationOnConflict = { + constraint: AffiliationConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "affiliation". */ +export type AffiliationOrderBy = { + group?: InputMaybe; + groupId?: InputMaybe; + groupRole?: InputMaybe; + id?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** select columns of table "affiliation" */ +export enum AffiliationSelectColumn { + /** column name */ + GroupId = "groupId", + /** column name */ + GroupRole = "groupRole", + /** column name */ + Id = "id", + /** column name */ + UserId = "userId", +} + +/** Streaming cursor of the table "affiliation" */ +export type AffiliationStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: AffiliationStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type AffiliationStreamCursorValueInput = { + groupId?: InputMaybe; + groupRole?: InputMaybe; + id?: InputMaybe; + userId?: InputMaybe; +}; + +/** placeholder for update columns of table "affiliation" (current role has no relevant permissions) */ +export enum AffiliationUpdateColumn { + /** placeholder (do not use) */ + Placeholder = "_PLACEHOLDER", +} + +/** order by aggregate values of table "app" */ +export type AppAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "app" */ +export type AppArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "app". All fields are combined with a logical 'AND'. */ +export type AppBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + createUserId?: InputMaybe; + fields?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importFileHistories?: InputMaybe; + importFileRecords?: InputMaybe; + importFileRecordsAggregate?: InputMaybe; + importFileSetting?: InputMaybe; + linkDatabase?: InputMaybe; + name?: InputMaybe; + records?: InputMaybe; + recordsAggregate?: InputMaybe; + user?: InputMaybe; + viewApps?: InputMaybe; +}; + +/** unique or primary key constraints on table "app" */ +export enum AppConstraint { + /** unique or primary key constraint on columns "id" */ + AppPkey = "app_pkey", +} + +/** input type for inserting data into table "app" */ +export type AppInsertInput = { + createUserId?: InputMaybe; + fields?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importFileHistories?: InputMaybe; + importFileRecords?: InputMaybe; + importFileSetting?: InputMaybe; + linkDatabase?: InputMaybe; + name?: InputMaybe; + records?: InputMaybe; + user?: InputMaybe; + viewApps?: InputMaybe; +}; + +/** order by max() on columns of table "app" */ +export type AppMaxOrderBy = { + createUserId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "app" */ +export type AppMinOrderBy = { + createUserId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "app" */ +export type AppObjRelInsertInput = { + data: AppInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "app" */ +export type AppOnConflict = { + constraint: AppConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "app". */ +export type AppOrderBy = { + createUserId?: InputMaybe; + fieldsAggregate?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importFileHistoriesAggregate?: InputMaybe; + importFileRecordsAggregate?: InputMaybe; + importFileSetting?: InputMaybe; + linkDatabase?: InputMaybe; + name?: InputMaybe; + recordsAggregate?: InputMaybe; + user?: InputMaybe; + viewAppsAggregate?: InputMaybe; +}; + +/** primary key columns input for table: app */ +export type AppPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "app" */ +export enum AppSelectColumn { + /** column name */ + CreateUserId = "createUserId", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + Name = "name", +} + +/** input type for updating data in table "app" */ +export type AppSetInput = { + name?: InputMaybe; +}; + +/** Streaming cursor of the table "app" */ +export type AppStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: AppStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type AppStreamCursorValueInput = { + createUserId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** update columns of table "app" */ +export enum AppUpdateColumn { + /** column name */ + Name = "name", +} + +export type AppUpdates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: AppBoolExp; +}; + +/** Boolean expression to filter rows from the table "application". All fields are combined with a logical 'AND'. */ +export type ApplicationBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + groupApplications?: InputMaybe; + groupApplicationsAggregate?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + topUrl?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** Ordering options when selecting data from "application". */ +export type ApplicationOrderBy = { + groupApplicationsAggregate?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + topUrl?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** select columns of table "application" */ +export enum ApplicationSelectColumn { + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + TopUrl = "topUrl", + /** column name */ + ValidFlag = "validFlag", +} + +/** Streaming cursor of the table "application" */ +export type ApplicationStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ApplicationStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ApplicationStreamCursorValueInput = { + id?: InputMaybe; + name?: InputMaybe; + topUrl?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ +export type BooleanComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** ordering argument of a cursor */ +export enum CursorOrdering { + /** ascending ordering of the cursor */ + Asc = "ASC", + /** descending ordering of the cursor */ + Desc = "DESC", +} + +/** Boolean expression to compare columns of type "date". All fields are combined with logical 'AND'. */ +export type DateComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** order by aggregate values of table "field" */ +export type FieldAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "field" */ +export type FieldArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "field" */ +export type FieldAvgOrderBy = { + index?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "field". All fields are combined with a logical 'AND'. */ +export type FieldBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + app?: InputMaybe; + appId?: InputMaybe; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; +}; + +/** unique or primary key constraints on table "field" */ +export enum FieldConstraint { + /** unique or primary key constraint on columns "id" */ + FieldPkey = "field_pkey", +} + +/** input type for incrementing numeric columns in table "field" */ +export type FieldIncInput = { + index?: InputMaybe; +}; + +/** input type for inserting data into table "field" */ +export type FieldInsertInput = { + app?: InputMaybe; + appId?: InputMaybe; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; +}; + +/** order by max() on columns of table "field" */ +export type FieldMaxOrderBy = { + appId?: InputMaybe; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "field" */ +export type FieldMinOrderBy = { + appId?: InputMaybe; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; +}; + +/** on_conflict condition type for table "field" */ +export type FieldOnConflict = { + constraint: FieldConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "field". */ +export type FieldOrderBy = { + app?: InputMaybe; + appId?: InputMaybe; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; +}; + +/** primary key columns input for table: field */ +export type FieldPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "field" */ +export enum FieldSelectColumn { + /** column name */ + AppId = "appId", + /** column name */ + FieldKind = "fieldKind", + /** column name */ + Id = "id", + /** column name */ + Index = "index", + /** column name */ + Name = "name", + /** column name */ + Options = "options", +} + +/** input type for updating data in table "field" */ +export type FieldSetInput = { + fieldKind?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; +}; + +/** order by stddev() on columns of table "field" */ +export type FieldStddevOrderBy = { + index?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "field" */ +export type FieldStddevPopOrderBy = { + index?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "field" */ +export type FieldStddevSampOrderBy = { + index?: InputMaybe; +}; + +/** Streaming cursor of the table "field" */ +export type FieldStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: FieldStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type FieldStreamCursorValueInput = { + appId?: InputMaybe; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; +}; + +/** order by sum() on columns of table "field" */ +export type FieldSumOrderBy = { + index?: InputMaybe; +}; + +/** update columns of table "field" */ +export enum FieldUpdateColumn { + /** column name */ + FieldKind = "fieldKind", + /** column name */ + Index = "index", + /** column name */ + Name = "name", + /** column name */ + Options = "options", +} + +export type FieldUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: FieldBoolExp; +}; + +/** order by varPop() on columns of table "field" */ +export type FieldVarPopOrderBy = { + index?: InputMaybe; +}; + +/** order by varSamp() on columns of table "field" */ +export type FieldVarSampOrderBy = { + index?: InputMaybe; +}; + +/** order by variance() on columns of table "field" */ +export type FieldVarianceOrderBy = { + index?: InputMaybe; +}; + +export type GroupApplicationAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "group_application" */ +export type GroupApplicationAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "group_application". All fields are combined with a logical 'AND'. */ +export type GroupApplicationBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + application?: InputMaybe; + applicationId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** order by max() on columns of table "group_application" */ +export type GroupApplicationMaxOrderBy = { + applicationId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** order by min() on columns of table "group_application" */ +export type GroupApplicationMinOrderBy = { + applicationId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** Ordering options when selecting data from "group_application". */ +export type GroupApplicationOrderBy = { + application?: InputMaybe; + applicationId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** select columns of table "group_application" */ +export enum GroupApplicationSelectColumn { + /** column name */ + ApplicationId = "applicationId", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", +} + +/** Streaming cursor of the table "group_application" */ +export type GroupApplicationStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: GroupApplicationStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type GroupApplicationStreamCursorValueInput = { + applicationId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "group". All fields are combined with a logical 'AND'. */ +export type GroupBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + accounts?: InputMaybe; + accountsAggregate?: InputMaybe; + affiliations?: InputMaybe; + affiliationsAggregate?: InputMaybe; + apps?: InputMaybe; + categories?: InputMaybe; + creditCardDetails?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + creditCardSummaries?: InputMaybe; + creditCardSummariesAggregate?: InputMaybe; + dailyDetails?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + dashboardSettings?: InputMaybe; + depositCategories?: InputMaybe; + depositCategoriesAggregate?: InputMaybe; + favoriteFilters?: InputMaybe; + favoriteFiltersAggregate?: InputMaybe; + genres?: InputMaybe; + genresAggregate?: InputMaybe; + groupApplications?: InputMaybe; + groupApplicationsAggregate?: InputMaybe; + id?: InputMaybe; + importFileHistories?: InputMaybe; + importFileHistoriesAggregate?: InputMaybe; + name?: InputMaybe; + summaryCategories?: InputMaybe; + summaryCategoriesAggregate?: InputMaybe; + summaryViews?: InputMaybe; + totalByCategoryView?: InputMaybe; + totalByCategoryViewAggregate?: InputMaybe; + transferCategory?: InputMaybe; + views?: InputMaybe; +}; + +/** Ordering options when selecting data from "group". */ +export type GroupOrderBy = { + accountsAggregate?: InputMaybe; + affiliationsAggregate?: InputMaybe; + appsAggregate?: InputMaybe; + categoriesAggregate?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + creditCardSummariesAggregate?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + dashboardSettingsAggregate?: InputMaybe; + depositCategoriesAggregate?: InputMaybe; + favoriteFiltersAggregate?: InputMaybe; + genresAggregate?: InputMaybe; + groupApplicationsAggregate?: InputMaybe; + id?: InputMaybe; + importFileHistoriesAggregate?: InputMaybe; + name?: InputMaybe; + summaryCategoriesAggregate?: InputMaybe; + summaryViewsAggregate?: InputMaybe; + totalByCategoryViewAggregate?: InputMaybe; + transferCategory?: InputMaybe; + viewsAggregate?: InputMaybe; +}; + +/** select columns of table "group" */ +export enum GroupSelectColumn { + /** column name */ + Id = "id", + /** column name */ + Name = "name", +} + +/** Streaming cursor of the table "group" */ +export type GroupStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: GroupStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type GroupStreamCursorValueInput = { + id?: InputMaybe; + name?: InputMaybe; +}; + +export type HouseholdAccountAggregateBoolExp = { + bool_and?: InputMaybe; + bool_or?: InputMaybe; + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.account" */ +export type HouseholdAccountAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "household.account" */ +export type HouseholdAccountAvgOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.account". All fields are combined with a logical 'AND'. */ +export type HouseholdAccountBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + allDetailViews?: InputMaybe; + allDetailViewsAggregate?: InputMaybe; + creditCardSummaries?: InputMaybe; + creditCardSummariesAggregate?: InputMaybe; + dailyDetails?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + displayOrder?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.account" */ +export enum HouseholdAccountConstraint { + /** unique or primary key constraint on columns "id" */ + AccountPkey = "account_pkey", +} + +/** input type for inserting data into table "household.account" */ +export type HouseholdAccountInsertInput = { + creditCardSummaries?: InputMaybe; + dailyDetails?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by max() on columns of table "household.account" */ +export type HouseholdAccountMaxOrderBy = { + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "household.account" */ +export type HouseholdAccountMinOrderBy = { + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "household.account" */ +export type HouseholdAccountObjRelInsertInput = { + data: HouseholdAccountInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "household.account" */ +export type HouseholdAccountOnConflict = { + constraint: HouseholdAccountConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.account". */ +export type HouseholdAccountOrderBy = { + allDetailViewsAggregate?: InputMaybe; + creditCardSummariesAggregate?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + displayOrder?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** select columns of table "household.account" */ +export enum HouseholdAccountSelectColumn { + /** column name */ + DisplayOrder = "displayOrder", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + ValidFlag = "validFlag", +} + +/** select "householdAccountAggregateBoolExpBool_andArgumentsColumns" columns of table "household.account" */ +export enum HouseholdAccountSelectColumnHouseholdAccountAggregateBoolExpBool_AndArgumentsColumns { + /** column name */ + ValidFlag = "validFlag", +} + +/** select "householdAccountAggregateBoolExpBool_orArgumentsColumns" columns of table "household.account" */ +export enum HouseholdAccountSelectColumnHouseholdAccountAggregateBoolExpBool_OrArgumentsColumns { + /** column name */ + ValidFlag = "validFlag", +} + +/** order by stddev() on columns of table "household.account" */ +export type HouseholdAccountStddevOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.account" */ +export type HouseholdAccountStddevPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.account" */ +export type HouseholdAccountStddevSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Streaming cursor of the table "household_account" */ +export type HouseholdAccountStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdAccountStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdAccountStreamCursorValueInput = { + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by sum() on columns of table "household.account" */ +export type HouseholdAccountSumOrderBy = { + displayOrder?: InputMaybe; +}; + +/** placeholder for update columns of table "household.account" (current role has no relevant permissions) */ +export enum HouseholdAccountUpdateColumn { + /** placeholder (do not use) */ + Placeholder = "_PLACEHOLDER", +} + +/** order by varPop() on columns of table "household.account" */ +export type HouseholdAccountVarPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.account" */ +export type HouseholdAccountVarSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by variance() on columns of table "household.account" */ +export type HouseholdAccountVarianceOrderBy = { + displayOrder?: InputMaybe; +}; + +export type HouseholdAllDetailViewAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.all_detail_view" */ +export type HouseholdAllDetailViewAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewAvgOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.all_detail_view". All fields are combined with a logical 'AND'. */ +export type HouseholdAllDetailViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + accountId?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; + type?: InputMaybe; +}; + +/** order by max() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewMaxOrderBy = { + accountId?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; + type?: InputMaybe; +}; + +/** order by min() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewMinOrderBy = { + accountId?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; + type?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.all_detail_view". */ +export type HouseholdAllDetailViewOrderBy = { + accountId?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; + type?: InputMaybe; +}; + +/** select columns of table "household.all_detail_view" */ +export enum HouseholdAllDetailViewSelectColumn { + /** column name */ + AccountId = "accountId", + /** column name */ + CategoryId = "categoryId", + /** column name */ + Date = "date", + /** column name */ + GenreId = "genreId", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + IocomeType = "iocomeType", + /** column name */ + Memo = "memo", + /** column name */ + OriginalAmount = "originalAmount", + /** column name */ + SignedAmount = "signedAmount", + /** column name */ + Type = "type", +} + +/** order by stddev() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewStddevOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewStddevPopOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewStddevSampOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** Streaming cursor of the table "household_all_detail_view" */ +export type HouseholdAllDetailViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdAllDetailViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdAllDetailViewStreamCursorValueInput = { + accountId?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; + type?: InputMaybe; +}; + +/** order by sum() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewSumOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** order by varPop() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewVarPopOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewVarSampOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** order by variance() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewVarianceOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** order by aggregate values of table "household.category" */ +export type HouseholdCategoryAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.category" */ +export type HouseholdCategoryArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "household.category" */ +export type HouseholdCategoryAvgOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.category". All fields are combined with a logical 'AND'. */ +export type HouseholdCategoryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + creditCardDetails?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + dailyDetails?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + depositCategory?: InputMaybe; + displayOrder?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryCategories?: InputMaybe; + summaryCategoriesAggregate?: InputMaybe; + transferCategories?: InputMaybe; + transferCategoriesAggregate?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.category" */ +export enum HouseholdCategoryConstraint { + /** unique or primary key constraint on columns "id" */ + CategoryPkey = "category_pkey", +} + +/** input type for incrementing numeric columns in table "household.category" */ +export type HouseholdCategoryIncInput = { + displayOrder?: InputMaybe; +}; + +/** input type for inserting data into table "household.category" */ +export type HouseholdCategoryInsertInput = { + creditCardDetails?: InputMaybe; + dailyDetails?: InputMaybe; + displayOrder?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryCategories?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by max() on columns of table "household.category" */ +export type HouseholdCategoryMaxOrderBy = { + displayOrder?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "household.category" */ +export type HouseholdCategoryMinOrderBy = { + displayOrder?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "household.category" */ +export type HouseholdCategoryObjRelInsertInput = { + data: HouseholdCategoryInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "household.category" */ +export type HouseholdCategoryOnConflict = { + constraint: HouseholdCategoryConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.category". */ +export type HouseholdCategoryOrderBy = { + creditCardDetailsAggregate?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + depositCategory?: InputMaybe; + displayOrder?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryCategoriesAggregate?: InputMaybe; + transferCategoriesAggregate?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** primary key columns input for table: household.category */ +export type HouseholdCategoryPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.category" */ +export enum HouseholdCategorySelectColumn { + /** column name */ + DisplayOrder = "displayOrder", + /** column name */ + GenreId = "genreId", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + ValidFlag = "validFlag", +} + +/** input type for updating data in table "household.category" */ +export type HouseholdCategorySetInput = { + displayOrder?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by stddev() on columns of table "household.category" */ +export type HouseholdCategoryStddevOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.category" */ +export type HouseholdCategoryStddevPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.category" */ +export type HouseholdCategoryStddevSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Streaming cursor of the table "household_category" */ +export type HouseholdCategoryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdCategoryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdCategoryStreamCursorValueInput = { + displayOrder?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by sum() on columns of table "household.category" */ +export type HouseholdCategorySumOrderBy = { + displayOrder?: InputMaybe; +}; + +/** update columns of table "household.category" */ +export enum HouseholdCategoryUpdateColumn { + /** column name */ + DisplayOrder = "displayOrder", + /** column name */ + GenreId = "genreId", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + ValidFlag = "validFlag", +} + +export type HouseholdCategoryUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdCategoryBoolExp; +}; + +/** order by varPop() on columns of table "household.category" */ +export type HouseholdCategoryVarPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.category" */ +export type HouseholdCategoryVarSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by variance() on columns of table "household.category" */ +export type HouseholdCategoryVarianceOrderBy = { + displayOrder?: InputMaybe; +}; + +export type HouseholdCreditCardDetailAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailAvgOrderBy = { + amount?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.credit_card_detail". All fields are combined with a logical 'AND'. */ +export type HouseholdCreditCardDetailBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + amount?: InputMaybe; + category?: InputMaybe; + categoryId?: InputMaybe; + creditCardSummary?: InputMaybe; + date?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.credit_card_detail" */ +export enum HouseholdCreditCardDetailConstraint { + /** unique or primary key constraint on columns "id" */ + CreditCardDetailPkey = "credit_card_detail_pkey", +} + +/** input type for incrementing numeric columns in table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailIncInput = { + amount?: InputMaybe; +}; + +/** input type for inserting data into table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailInsertInput = { + amount?: InputMaybe; + category?: InputMaybe; + categoryId?: InputMaybe; + creditCardSummary?: InputMaybe; + date?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by max() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailMaxOrderBy = { + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by min() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailMinOrderBy = { + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + userId?: InputMaybe; +}; + +/** on_conflict condition type for table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailOnConflict = { + constraint: HouseholdCreditCardDetailConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.credit_card_detail". */ +export type HouseholdCreditCardDetailOrderBy = { + amount?: InputMaybe; + category?: InputMaybe; + categoryId?: InputMaybe; + creditCardSummary?: InputMaybe; + date?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** primary key columns input for table: household.credit_card_detail */ +export type HouseholdCreditCardDetailPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.credit_card_detail" */ +export enum HouseholdCreditCardDetailSelectColumn { + /** column name */ + Amount = "amount", + /** column name */ + CategoryId = "categoryId", + /** column name */ + Date = "date", + /** column name */ + GenreId = "genreId", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + IocomeType = "iocomeType", + /** column name */ + Memo = "memo", + /** column name */ + SummaryId = "summaryId", + /** column name */ + UserId = "userId", +} + +/** input type for updating data in table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailSetInput = { + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by stddev() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailStddevOrderBy = { + amount?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailStddevPopOrderBy = { + amount?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailStddevSampOrderBy = { + amount?: InputMaybe; +}; + +/** Streaming cursor of the table "household_credit_card_detail" */ +export type HouseholdCreditCardDetailStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdCreditCardDetailStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdCreditCardDetailStreamCursorValueInput = { + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by sum() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailSumOrderBy = { + amount?: InputMaybe; +}; + +/** update columns of table "household.credit_card_detail" */ +export enum HouseholdCreditCardDetailUpdateColumn { + /** column name */ + Amount = "amount", + /** column name */ + CategoryId = "categoryId", + /** column name */ + Date = "date", + /** column name */ + GenreId = "genreId", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + IocomeType = "iocomeType", + /** column name */ + Memo = "memo", + /** column name */ + SummaryId = "summaryId", + /** column name */ + UserId = "userId", +} + +export type HouseholdCreditCardDetailUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdCreditCardDetailBoolExp; +}; + +/** order by varPop() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailVarPopOrderBy = { + amount?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailVarSampOrderBy = { + amount?: InputMaybe; +}; + +/** order by variance() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailVarianceOrderBy = { + amount?: InputMaybe; +}; + +export type HouseholdCreditCardSummaryAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryAvgOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.credit_card_summary". All fields are combined with a logical 'AND'. */ +export type HouseholdCreditCardSummaryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + creditCardDetails?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.credit_card_summary" */ +export enum HouseholdCreditCardSummaryConstraint { + /** unique or primary key constraint on columns "id" */ + CreditCardSummaryPkey = "credit_card_summary_pkey", +} + +/** input type for incrementing numeric columns in table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryIncInput = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** input type for inserting data into table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryInsertInput = { + account?: InputMaybe; + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + creditCardDetails?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** order by max() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryMaxOrderBy = { + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** order by min() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryMinOrderBy = { + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryObjRelInsertInput = { + data: HouseholdCreditCardSummaryInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryOnConflict = { + constraint: HouseholdCreditCardSummaryConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.credit_card_summary". */ +export type HouseholdCreditCardSummaryOrderBy = { + account?: InputMaybe; + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** primary key columns input for table: household.credit_card_summary */ +export type HouseholdCreditCardSummaryPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.credit_card_summary" */ +export enum HouseholdCreditCardSummarySelectColumn { + /** column name */ + AccountId = "accountId", + /** column name */ + Count = "count", + /** column name */ + CreditCard = "creditCard", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + TotalAmount = "totalAmount", + /** column name */ + WithdrawalDate = "withdrawalDate", +} + +/** input type for updating data in table "household.credit_card_summary" */ +export type HouseholdCreditCardSummarySetInput = { + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** order by stddev() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryStddevOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryStddevPopOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryStddevSampOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** Streaming cursor of the table "household_credit_card_summary" */ +export type HouseholdCreditCardSummaryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdCreditCardSummaryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdCreditCardSummaryStreamCursorValueInput = { + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** order by sum() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummarySumOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.credit_card_summary_total_by_account_view". All fields are combined with a logical 'AND'. */ +export type HouseholdCreditCardSummaryTotalByAccountViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + accountId?: InputMaybe; + date?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + total?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.credit_card_summary_total_by_account_view". */ +export type HouseholdCreditCardSummaryTotalByAccountViewOrderBy = { + accountId?: InputMaybe; + date?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + total?: InputMaybe; +}; + +/** select columns of table "household.credit_card_summary_total_by_account_view" */ +export enum HouseholdCreditCardSummaryTotalByAccountViewSelectColumn { + /** column name */ + AccountId = "accountId", + /** column name */ + Date = "date", + /** column name */ + DisplayOrder = "displayOrder", + /** column name */ + GroupId = "groupId", + /** column name */ + IocomeType = "iocomeType", + /** column name */ + Name = "name", + /** column name */ + Total = "total", +} + +/** Streaming cursor of the table "household_credit_card_summary_total_by_account_view" */ +export type HouseholdCreditCardSummaryTotalByAccountViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdCreditCardSummaryTotalByAccountViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdCreditCardSummaryTotalByAccountViewStreamCursorValueInput = + { + accountId?: InputMaybe; + date?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + total?: InputMaybe; + }; + +/** update columns of table "household.credit_card_summary" */ +export enum HouseholdCreditCardSummaryUpdateColumn { + /** column name */ + AccountId = "accountId", + /** column name */ + Count = "count", + /** column name */ + CreditCard = "creditCard", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + TotalAmount = "totalAmount", + /** column name */ + WithdrawalDate = "withdrawalDate", +} + +export type HouseholdCreditCardSummaryUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdCreditCardSummaryBoolExp; +}; + +/** order by varPop() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryVarPopOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryVarSampOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** order by variance() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryVarianceOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +export type HouseholdDailyDetailAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.daily_detail" */ +export type HouseholdDailyDetailAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.daily_detail" */ +export type HouseholdDailyDetailArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailAvgOrderBy = { + amount?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.daily_detail". All fields are combined with a logical 'AND'. */ +export type HouseholdDailyDetailBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + accountId?: InputMaybe; + amount?: InputMaybe; + category?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.daily_detail" */ +export enum HouseholdDailyDetailConstraint { + /** unique or primary key constraint on columns "id" */ + DailyDetailPkey = "daily_detail_pkey", +} + +/** input type for incrementing numeric columns in table "household.daily_detail" */ +export type HouseholdDailyDetailIncInput = { + amount?: InputMaybe; +}; + +/** input type for inserting data into table "household.daily_detail" */ +export type HouseholdDailyDetailInsertInput = { + account?: InputMaybe; + accountId?: InputMaybe; + amount?: InputMaybe; + category?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by max() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailMaxOrderBy = { + accountId?: InputMaybe; + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by min() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailMinOrderBy = { + accountId?: InputMaybe; + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + userId?: InputMaybe; +}; + +/** on_conflict condition type for table "household.daily_detail" */ +export type HouseholdDailyDetailOnConflict = { + constraint: HouseholdDailyDetailConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.daily_detail". */ +export type HouseholdDailyDetailOrderBy = { + account?: InputMaybe; + accountId?: InputMaybe; + amount?: InputMaybe; + category?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** primary key columns input for table: household.daily_detail */ +export type HouseholdDailyDetailPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.daily_detail" */ +export enum HouseholdDailyDetailSelectColumn { + /** column name */ + AccountId = "accountId", + /** column name */ + Amount = "amount", + /** column name */ + CategoryId = "categoryId", + /** column name */ + Date = "date", + /** column name */ + GenreId = "genreId", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + IocomeType = "iocomeType", + /** column name */ + Memo = "memo", + /** column name */ + UserId = "userId", +} + +/** input type for updating data in table "household.daily_detail" */ +export type HouseholdDailyDetailSetInput = { + accountId?: InputMaybe; + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by stddev() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailStddevOrderBy = { + amount?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailStddevPopOrderBy = { + amount?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailStddevSampOrderBy = { + amount?: InputMaybe; +}; + +/** Streaming cursor of the table "household_daily_detail" */ +export type HouseholdDailyDetailStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdDailyDetailStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdDailyDetailStreamCursorValueInput = { + accountId?: InputMaybe; + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by sum() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailSumOrderBy = { + amount?: InputMaybe; +}; + +/** update columns of table "household.daily_detail" */ +export enum HouseholdDailyDetailUpdateColumn { + /** column name */ + AccountId = "accountId", + /** column name */ + Amount = "amount", + /** column name */ + CategoryId = "categoryId", + /** column name */ + Date = "date", + /** column name */ + GenreId = "genreId", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + IocomeType = "iocomeType", + /** column name */ + Memo = "memo", + /** column name */ + UserId = "userId", +} + +export type HouseholdDailyDetailUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdDailyDetailBoolExp; +}; + +/** order by varPop() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailVarPopOrderBy = { + amount?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailVarSampOrderBy = { + amount?: InputMaybe; +}; + +/** order by variance() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailVarianceOrderBy = { + amount?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.daily_total_view". All fields are combined with a logical 'AND'. */ +export type HouseholdDailyTotalViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + date?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.daily_total_view". */ +export type HouseholdDailyTotalViewOrderBy = { + date?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** select columns of table "household.daily_total_view" */ +export enum HouseholdDailyTotalViewSelectColumn { + /** column name */ + Date = "date", + /** column name */ + GroupId = "groupId", + /** column name */ + IocomeType = "iocomeType", + /** column name */ + Total = "total", +} + +/** Streaming cursor of the table "household_daily_total_view" */ +export type HouseholdDailyTotalViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdDailyTotalViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdDailyTotalViewStreamCursorValueInput = { + date?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** order by aggregate values of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by aggregate values of table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.dashboard_setting_args". All fields are combined with a logical 'AND'. */ +export type HouseholdDashboardSettingArgsBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + dashboardSetting?: InputMaybe; + id?: InputMaybe; + settingId?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.dashboard_setting_args" */ +export enum HouseholdDashboardSettingArgsConstraint { + /** unique or primary key constraint on columns "id" */ + DashboardSettingArgsPkey = "dashboard_setting_args_pkey", +} + +/** input type for inserting data into table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsInsertInput = { + dashboardSetting?: InputMaybe; + id?: InputMaybe; + settingId?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** order by max() on columns of table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsMaxOrderBy = { + id?: InputMaybe; + settingId?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** order by min() on columns of table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsMinOrderBy = { + id?: InputMaybe; + settingId?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** on_conflict condition type for table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsOnConflict = { + constraint: HouseholdDashboardSettingArgsConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.dashboard_setting_args". */ +export type HouseholdDashboardSettingArgsOrderBy = { + dashboardSetting?: InputMaybe; + id?: InputMaybe; + settingId?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** select columns of table "household.dashboard_setting_args" */ +export enum HouseholdDashboardSettingArgsSelectColumn { + /** column name */ + Id = "id", + /** column name */ + SettingId = "settingId", + /** column name */ + Type = "type", + /** column name */ + Value = "value", +} + +/** Streaming cursor of the table "household_dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdDashboardSettingArgsStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdDashboardSettingArgsStreamCursorValueInput = { + id?: InputMaybe; + settingId?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** placeholder for update columns of table "household.dashboard_setting_args" (current role has no relevant permissions) */ +export enum HouseholdDashboardSettingArgsUpdateColumn { + /** placeholder (do not use) */ + Placeholder = "_PLACEHOLDER", +} + +/** order by avg() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingAvgOrderBy = { + order?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.dashboard_setting". All fields are combined with a logical 'AND'. */ +export type HouseholdDashboardSettingBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + dashboardSettingArgs?: InputMaybe; + feature?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.dashboard_setting" */ +export enum HouseholdDashboardSettingConstraint { + /** unique or primary key constraint on columns "id" */ + DashboardSettingPkey = "dashboard_setting_pkey", +} + +/** input type for incrementing numeric columns in table "household.dashboard_setting" */ +export type HouseholdDashboardSettingIncInput = { + order?: InputMaybe; +}; + +/** input type for inserting data into table "household.dashboard_setting" */ +export type HouseholdDashboardSettingInsertInput = { + dashboardSettingArgs?: InputMaybe; + feature?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by max() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingMaxOrderBy = { + feature?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by min() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingMinOrderBy = { + feature?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + userId?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "household.dashboard_setting" */ +export type HouseholdDashboardSettingObjRelInsertInput = { + data: HouseholdDashboardSettingInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "household.dashboard_setting" */ +export type HouseholdDashboardSettingOnConflict = { + constraint: HouseholdDashboardSettingConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.dashboard_setting". */ +export type HouseholdDashboardSettingOrderBy = { + dashboardSettingArgsAggregate?: InputMaybe; + feature?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** primary key columns input for table: household.dashboard_setting */ +export type HouseholdDashboardSettingPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.dashboard_setting" */ +export enum HouseholdDashboardSettingSelectColumn { + /** column name */ + Feature = "feature", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + Order = "order", + /** column name */ + UserId = "userId", +} + +/** input type for updating data in table "household.dashboard_setting" */ +export type HouseholdDashboardSettingSetInput = { + feature?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by stddev() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingStddevOrderBy = { + order?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingStddevPopOrderBy = { + order?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingStddevSampOrderBy = { + order?: InputMaybe; +}; + +/** Streaming cursor of the table "household_dashboard_setting" */ +export type HouseholdDashboardSettingStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdDashboardSettingStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdDashboardSettingStreamCursorValueInput = { + feature?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by sum() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingSumOrderBy = { + order?: InputMaybe; +}; + +/** update columns of table "household.dashboard_setting" */ +export enum HouseholdDashboardSettingUpdateColumn { + /** column name */ + Feature = "feature", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + Order = "order", + /** column name */ + UserId = "userId", +} + +export type HouseholdDashboardSettingUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdDashboardSettingBoolExp; +}; + +/** order by varPop() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingVarPopOrderBy = { + order?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingVarSampOrderBy = { + order?: InputMaybe; +}; + +/** order by variance() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingVarianceOrderBy = { + order?: InputMaybe; +}; + +export type HouseholdDepositCategoryAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.deposit_category" */ +export type HouseholdDepositCategoryAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.deposit_category". All fields are combined with a logical 'AND'. */ +export type HouseholdDepositCategoryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + category?: InputMaybe; + categoryId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; +}; + +/** order by max() on columns of table "household.deposit_category" */ +export type HouseholdDepositCategoryMaxOrderBy = { + categoryId?: InputMaybe; + groupId?: InputMaybe; +}; + +/** order by min() on columns of table "household.deposit_category" */ +export type HouseholdDepositCategoryMinOrderBy = { + categoryId?: InputMaybe; + groupId?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.deposit_category". */ +export type HouseholdDepositCategoryOrderBy = { + category?: InputMaybe; + categoryId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; +}; + +/** select columns of table "household.deposit_category" */ +export enum HouseholdDepositCategorySelectColumn { + /** column name */ + CategoryId = "categoryId", + /** column name */ + GroupId = "groupId", +} + +/** Streaming cursor of the table "household_deposit_category" */ +export type HouseholdDepositCategoryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdDepositCategoryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdDepositCategoryStreamCursorValueInput = { + categoryId?: InputMaybe; + groupId?: InputMaybe; +}; + +export type HouseholdFavoriteFilterAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.favorite_filter" */ +export type HouseholdFavoriteFilterAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +export type HouseholdFavoriteFilterArgsAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.favorite_filter_args". All fields are combined with a logical 'AND'. */ +export type HouseholdFavoriteFilterArgsBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + favoriteFilter?: InputMaybe; + favoriteFilterArgCategoryId?: InputMaybe; + filterId?: InputMaybe; + id?: InputMaybe; + key?: InputMaybe; + value?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.favorite_filter_args" */ +export enum HouseholdFavoriteFilterArgsConstraint { + /** unique or primary key constraint on columns "id" */ + FavoriteFilterArgsPkey = "favorite_filter_args_pkey", +} + +/** input type for inserting data into table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsInsertInput = { + favoriteFilter?: InputMaybe; + favoriteFilterArgCategoryId?: InputMaybe; + filterId?: InputMaybe; + id?: InputMaybe; + key?: InputMaybe; + value?: InputMaybe; +}; + +/** order by max() on columns of table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsMaxOrderBy = { + filterId?: InputMaybe; + id?: InputMaybe; + key?: InputMaybe; + value?: InputMaybe; +}; + +/** order by min() on columns of table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsMinOrderBy = { + filterId?: InputMaybe; + id?: InputMaybe; + key?: InputMaybe; + value?: InputMaybe; +}; + +/** on_conflict condition type for table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsOnConflict = { + constraint: HouseholdFavoriteFilterArgsConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.favorite_filter_args". */ +export type HouseholdFavoriteFilterArgsOrderBy = { + favoriteFilter?: InputMaybe; + favoriteFilterArgCategoryId?: InputMaybe; + filterId?: InputMaybe; + id?: InputMaybe; + key?: InputMaybe; + value?: InputMaybe; +}; + +/** primary key columns input for table: household.favorite_filter_args */ +export type HouseholdFavoriteFilterArgsPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.favorite_filter_args" */ +export enum HouseholdFavoriteFilterArgsSelectColumn { + /** column name */ + FilterId = "filterId", + /** column name */ + Id = "id", + /** column name */ + Key = "key", + /** column name */ + Value = "value", +} + +/** input type for updating data in table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsSetInput = { + key?: InputMaybe; + value?: InputMaybe; +}; + +/** update columns of table "household.favorite_filter_args" */ +export enum HouseholdFavoriteFilterArgsUpdateColumn { + /** column name */ + Key = "key", + /** column name */ + Value = "value", +} + +export type HouseholdFavoriteFilterArgsUpdates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdFavoriteFilterArgsBoolExp; +}; + +/** Boolean expression to filter rows from the table "household.favorite_filter". All fields are combined with a logical 'AND'. */ +export type HouseholdFavoriteFilterBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + favoriteFilterArgs?: InputMaybe; + favoriteFilterArgsAggregate?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.favorite_filter" */ +export enum HouseholdFavoriteFilterConstraint { + /** unique or primary key constraint on columns "id" */ + FavoriteFilterPkey = "favorite_filter_pkey", +} + +/** input type for inserting data into table "household.favorite_filter" */ +export type HouseholdFavoriteFilterInsertInput = { + favoriteFilterArgs?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** order by max() on columns of table "household.favorite_filter" */ +export type HouseholdFavoriteFilterMaxOrderBy = { + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "household.favorite_filter" */ +export type HouseholdFavoriteFilterMinOrderBy = { + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "household.favorite_filter" */ +export type HouseholdFavoriteFilterObjRelInsertInput = { + data: HouseholdFavoriteFilterInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "household.favorite_filter" */ +export type HouseholdFavoriteFilterOnConflict = { + constraint: HouseholdFavoriteFilterConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.favorite_filter". */ +export type HouseholdFavoriteFilterOrderBy = { + favoriteFilterArgsAggregate?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** primary key columns input for table: household.favorite_filter */ +export type HouseholdFavoriteFilterPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.favorite_filter" */ +export enum HouseholdFavoriteFilterSelectColumn { + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + Name = "name", +} + +/** input type for updating data in table "household.favorite_filter" */ +export type HouseholdFavoriteFilterSetInput = { + name?: InputMaybe; +}; + +/** update columns of table "household.favorite_filter" */ +export enum HouseholdFavoriteFilterUpdateColumn { + /** column name */ + Name = "name", +} + +export type HouseholdFavoriteFilterUpdates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdFavoriteFilterBoolExp; +}; + +export type HouseholdGenreAggregateBoolExp = { + bool_and?: InputMaybe; + bool_or?: InputMaybe; + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.genre" */ +export type HouseholdGenreAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "household.genre" */ +export type HouseholdGenreAvgOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.genre". All fields are combined with a logical 'AND'. */ +export type HouseholdGenreBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + categories?: InputMaybe; + creditCardDetails?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + dailyDetails?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + displayOrder?: InputMaybe; + genreType?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.genre" */ +export enum HouseholdGenreConstraint { + /** unique or primary key constraint on columns "id" */ + GenrePkey = "genre_pkey", +} + +/** input type for incrementing numeric columns in table "household.genre" */ +export type HouseholdGenreIncInput = { + displayOrder?: InputMaybe; +}; + +/** input type for inserting data into table "household.genre" */ +export type HouseholdGenreInsertInput = { + categories?: InputMaybe; + creditCardDetails?: InputMaybe; + dailyDetails?: InputMaybe; + displayOrder?: InputMaybe; + genreType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by max() on columns of table "household.genre" */ +export type HouseholdGenreMaxOrderBy = { + displayOrder?: InputMaybe; + genreType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "household.genre" */ +export type HouseholdGenreMinOrderBy = { + displayOrder?: InputMaybe; + genreType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "household.genre" */ +export type HouseholdGenreObjRelInsertInput = { + data: HouseholdGenreInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "household.genre" */ +export type HouseholdGenreOnConflict = { + constraint: HouseholdGenreConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.genre". */ +export type HouseholdGenreOrderBy = { + categoriesAggregate?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + displayOrder?: InputMaybe; + genreType?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** primary key columns input for table: household.genre */ +export type HouseholdGenrePkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.genre" */ +export enum HouseholdGenreSelectColumn { + /** column name */ + DisplayOrder = "displayOrder", + /** column name */ + GenreType = "genreType", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + IocomeType = "iocomeType", + /** column name */ + Name = "name", + /** column name */ + ValidFlag = "validFlag", +} + +/** select "householdGenreAggregateBoolExpBool_andArgumentsColumns" columns of table "household.genre" */ +export enum HouseholdGenreSelectColumnHouseholdGenreAggregateBoolExpBool_AndArgumentsColumns { + /** column name */ + ValidFlag = "validFlag", +} + +/** select "householdGenreAggregateBoolExpBool_orArgumentsColumns" columns of table "household.genre" */ +export enum HouseholdGenreSelectColumnHouseholdGenreAggregateBoolExpBool_OrArgumentsColumns { + /** column name */ + ValidFlag = "validFlag", +} + +/** input type for updating data in table "household.genre" */ +export type HouseholdGenreSetInput = { + displayOrder?: InputMaybe; + genreType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by stddev() on columns of table "household.genre" */ +export type HouseholdGenreStddevOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.genre" */ +export type HouseholdGenreStddevPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.genre" */ +export type HouseholdGenreStddevSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Streaming cursor of the table "household_genre" */ +export type HouseholdGenreStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdGenreStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdGenreStreamCursorValueInput = { + displayOrder?: InputMaybe; + genreType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by sum() on columns of table "household.genre" */ +export type HouseholdGenreSumOrderBy = { + displayOrder?: InputMaybe; +}; + +/** update columns of table "household.genre" */ +export enum HouseholdGenreUpdateColumn { + /** column name */ + DisplayOrder = "displayOrder", + /** column name */ + GenreType = "genreType", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + IocomeType = "iocomeType", + /** column name */ + Name = "name", + /** column name */ + ValidFlag = "validFlag", +} + +export type HouseholdGenreUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdGenreBoolExp; +}; + +/** order by varPop() on columns of table "household.genre" */ +export type HouseholdGenreVarPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.genre" */ +export type HouseholdGenreVarSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by variance() on columns of table "household.genre" */ +export type HouseholdGenreVarianceOrderBy = { + displayOrder?: InputMaybe; +}; + +export type HouseholdImportFileHistoryAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.import_file_history" */ +export type HouseholdImportFileHistoryAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.import_file_history". All fields are combined with a logical 'AND'. */ +export type HouseholdImportFileHistoryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + fileName?: InputMaybe; + fileType?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importUserId?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.import_file_history" */ +export enum HouseholdImportFileHistoryConstraint { + /** unique or primary key constraint on columns "id" */ + ImportFileHistoryPkey = "import_file_history_pkey", +} + +/** input type for inserting data into table "household.import_file_history" */ +export type HouseholdImportFileHistoryInsertInput = { + fileName?: InputMaybe; + fileType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importUserId?: InputMaybe; +}; + +/** order by max() on columns of table "household.import_file_history" */ +export type HouseholdImportFileHistoryMaxOrderBy = { + fileName?: InputMaybe; + fileType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importUserId?: InputMaybe; +}; + +/** order by min() on columns of table "household.import_file_history" */ +export type HouseholdImportFileHistoryMinOrderBy = { + fileName?: InputMaybe; + fileType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importUserId?: InputMaybe; +}; + +/** on_conflict condition type for table "household.import_file_history" */ +export type HouseholdImportFileHistoryOnConflict = { + constraint: HouseholdImportFileHistoryConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.import_file_history". */ +export type HouseholdImportFileHistoryOrderBy = { + fileName?: InputMaybe; + fileType?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importUserId?: InputMaybe; +}; + +/** select columns of table "household.import_file_history" */ +export enum HouseholdImportFileHistorySelectColumn { + /** column name */ + FileName = "fileName", + /** column name */ + FileType = "fileType", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", + /** column name */ + ImportDatetime = "importDatetime", + /** column name */ + ImportUserId = "importUserId", +} + +/** Streaming cursor of the table "household_import_file_history" */ +export type HouseholdImportFileHistoryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdImportFileHistoryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdImportFileHistoryStreamCursorValueInput = { + fileName?: InputMaybe; + fileType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importUserId?: InputMaybe; +}; + +/** placeholder for update columns of table "household.import_file_history" (current role has no relevant permissions) */ +export enum HouseholdImportFileHistoryUpdateColumn { + /** placeholder (do not use) */ + Placeholder = "_PLACEHOLDER", +} + +export type HouseholdSummaryCategoryAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.summary_category" */ +export type HouseholdSummaryCategoryAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.summary_category" */ +export type HouseholdSummaryCategoryArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryAvgOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.summary_category". All fields are combined with a logical 'AND'. */ +export type HouseholdSummaryCategoryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + category?: InputMaybe; + categoryId?: InputMaybe; + displayOrder?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.summary_category" */ +export enum HouseholdSummaryCategoryConstraint { + /** unique or primary key constraint on columns "id" */ + SummaryCategoryByGroupPkey = "summary_category_by_group_pkey", +} + +/** input type for inserting data into table "household.summary_category" */ +export type HouseholdSummaryCategoryInsertInput = { + category?: InputMaybe; + categoryId?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** order by max() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryMaxOrderBy = { + categoryId?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** order by min() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryMinOrderBy = { + categoryId?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** on_conflict condition type for table "household.summary_category" */ +export type HouseholdSummaryCategoryOnConflict = { + constraint: HouseholdSummaryCategoryConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.summary_category". */ +export type HouseholdSummaryCategoryOrderBy = { + category?: InputMaybe; + categoryId?: InputMaybe; + displayOrder?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** select columns of table "household.summary_category" */ +export enum HouseholdSummaryCategorySelectColumn { + /** column name */ + CategoryId = "categoryId", + /** column name */ + DisplayOrder = "displayOrder", + /** column name */ + GroupId = "groupId", + /** column name */ + Id = "id", +} + +/** order by stddev() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryStddevOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryStddevPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryStddevSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Streaming cursor of the table "household_summary_category" */ +export type HouseholdSummaryCategoryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdSummaryCategoryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdSummaryCategoryStreamCursorValueInput = { + categoryId?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** order by sum() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategorySumOrderBy = { + displayOrder?: InputMaybe; +}; + +/** placeholder for update columns of table "household.summary_category" (current role has no relevant permissions) */ +export enum HouseholdSummaryCategoryUpdateColumn { + /** placeholder (do not use) */ + Placeholder = "_PLACEHOLDER", +} + +/** order by varPop() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryVarPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryVarSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by variance() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryVarianceOrderBy = { + displayOrder?: InputMaybe; +}; + +export type HouseholdTotalByCategoryViewAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewAvgOrderBy = { + total?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.total_by_category_view". All fields are combined with a logical 'AND'. */ +export type HouseholdTotalByCategoryViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + categoryId?: InputMaybe; + categoryName?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** order by max() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewMaxOrderBy = { + categoryId?: InputMaybe; + categoryName?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** order by min() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewMinOrderBy = { + categoryId?: InputMaybe; + categoryName?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.total_by_category_view". */ +export type HouseholdTotalByCategoryViewOrderBy = { + categoryId?: InputMaybe; + categoryName?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** select columns of table "household.total_by_category_view" */ +export enum HouseholdTotalByCategoryViewSelectColumn { + /** column name */ + CategoryId = "categoryId", + /** column name */ + CategoryName = "categoryName", + /** column name */ + Date = "date", + /** column name */ + GenreId = "genreId", + /** column name */ + GenreName = "genreName", + /** column name */ + GroupId = "groupId", + /** column name */ + IocomeType = "iocomeType", + /** column name */ + Total = "total", +} + +/** order by stddev() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewStddevOrderBy = { + total?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewStddevPopOrderBy = { + total?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewStddevSampOrderBy = { + total?: InputMaybe; +}; + +/** Streaming cursor of the table "household_total_by_category_view" */ +export type HouseholdTotalByCategoryViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdTotalByCategoryViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdTotalByCategoryViewStreamCursorValueInput = { + categoryId?: InputMaybe; + categoryName?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** order by sum() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewSumOrderBy = { + total?: InputMaybe; +}; + +/** order by varPop() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewVarPopOrderBy = { + total?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewVarSampOrderBy = { + total?: InputMaybe; +}; + +/** order by variance() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewVarianceOrderBy = { + total?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.total_by_genre_view". All fields are combined with a logical 'AND'. */ +export type HouseholdTotalByGenreViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.total_by_genre_view". */ +export type HouseholdTotalByGenreViewOrderBy = { + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** select columns of table "household.total_by_genre_view" */ +export enum HouseholdTotalByGenreViewSelectColumn { + /** column name */ + Date = "date", + /** column name */ + GenreId = "genreId", + /** column name */ + GenreName = "genreName", + /** column name */ + GroupId = "groupId", + /** column name */ + IocomeType = "iocomeType", + /** column name */ + Total = "total", +} + +/** Streaming cursor of the table "household_total_by_genre_view" */ +export type HouseholdTotalByGenreViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdTotalByGenreViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdTotalByGenreViewStreamCursorValueInput = { + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +export type HouseholdTransferCategoryAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.transfer_category" */ +export type HouseholdTransferCategoryAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.transfer_category". All fields are combined with a logical 'AND'. */ +export type HouseholdTransferCategoryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + categoryByIncomeCategoryId?: InputMaybe; + categoryByOutcomeCategoryId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + incomeCategoryId?: InputMaybe; + outcomeCategoryId?: InputMaybe; +}; + +/** order by max() on columns of table "household.transfer_category" */ +export type HouseholdTransferCategoryMaxOrderBy = { + groupId?: InputMaybe; + incomeCategoryId?: InputMaybe; + outcomeCategoryId?: InputMaybe; +}; + +/** order by min() on columns of table "household.transfer_category" */ +export type HouseholdTransferCategoryMinOrderBy = { + groupId?: InputMaybe; + incomeCategoryId?: InputMaybe; + outcomeCategoryId?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.transfer_category". */ +export type HouseholdTransferCategoryOrderBy = { + categoryByIncomeCategoryId?: InputMaybe; + categoryByOutcomeCategoryId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + incomeCategoryId?: InputMaybe; + outcomeCategoryId?: InputMaybe; +}; + +/** select columns of table "household.transfer_category" */ +export enum HouseholdTransferCategorySelectColumn { + /** column name */ + GroupId = "groupId", + /** column name */ + IncomeCategoryId = "incomeCategoryId", + /** column name */ + OutcomeCategoryId = "outcomeCategoryId", +} + +/** Streaming cursor of the table "household_transfer_category" */ +export type HouseholdTransferCategoryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdTransferCategoryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdTransferCategoryStreamCursorValueInput = { + groupId?: InputMaybe; + incomeCategoryId?: InputMaybe; + outcomeCategoryId?: InputMaybe; +}; + +/** order by aggregate values of table "import_file_history" */ +export type ImportFileHistoryAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "import_file_history" */ +export type ImportFileHistoryArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "import_file_history" */ +export type ImportFileHistoryAvgOrderBy = { + count?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "import_file_history". All fields are combined with a logical 'AND'. */ +export type ImportFileHistoryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + app?: InputMaybe; + appId?: InputMaybe; + count?: InputMaybe; + fileName?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importFileRecords?: InputMaybe; + importFileRecordsAggregate?: InputMaybe; +}; + +/** unique or primary key constraints on table "import_file_history" */ +export enum ImportFileHistoryConstraint { + /** unique or primary key constraint on columns "id" */ + ImportFileHistoryPkey = "import_file_history_pkey", +} + +/** input type for inserting data into table "import_file_history" */ +export type ImportFileHistoryInsertInput = { + app?: InputMaybe; + appId?: InputMaybe; + count?: InputMaybe; + fileName?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importFileRecords?: InputMaybe; +}; + +/** order by max() on columns of table "import_file_history" */ +export type ImportFileHistoryMaxOrderBy = { + appId?: InputMaybe; + count?: InputMaybe; + fileName?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; +}; + +/** order by min() on columns of table "import_file_history" */ +export type ImportFileHistoryMinOrderBy = { + appId?: InputMaybe; + count?: InputMaybe; + fileName?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "import_file_history" */ +export type ImportFileHistoryObjRelInsertInput = { + data: ImportFileHistoryInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "import_file_history" */ +export type ImportFileHistoryOnConflict = { + constraint: ImportFileHistoryConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "import_file_history". */ +export type ImportFileHistoryOrderBy = { + app?: InputMaybe; + appId?: InputMaybe; + count?: InputMaybe; + fileName?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importFileRecordsAggregate?: InputMaybe; +}; + +/** select columns of table "import_file_history" */ +export enum ImportFileHistorySelectColumn { + /** column name */ + AppId = "appId", + /** column name */ + Count = "count", + /** column name */ + FileName = "fileName", + /** column name */ + Id = "id", + /** column name */ + ImportDatetime = "importDatetime", +} + +/** order by stddev() on columns of table "import_file_history" */ +export type ImportFileHistoryStddevOrderBy = { + count?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "import_file_history" */ +export type ImportFileHistoryStddevPopOrderBy = { + count?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "import_file_history" */ +export type ImportFileHistoryStddevSampOrderBy = { + count?: InputMaybe; +}; + +/** Streaming cursor of the table "import_file_history" */ +export type ImportFileHistoryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ImportFileHistoryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ImportFileHistoryStreamCursorValueInput = { + appId?: InputMaybe; + count?: InputMaybe; + fileName?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; +}; + +/** order by sum() on columns of table "import_file_history" */ +export type ImportFileHistorySumOrderBy = { + count?: InputMaybe; +}; + +/** placeholder for update columns of table "import_file_history" (current role has no relevant permissions) */ +export enum ImportFileHistoryUpdateColumn { + /** placeholder (do not use) */ + Placeholder = "_PLACEHOLDER", +} + +/** order by varPop() on columns of table "import_file_history" */ +export type ImportFileHistoryVarPopOrderBy = { + count?: InputMaybe; +}; + +/** order by varSamp() on columns of table "import_file_history" */ +export type ImportFileHistoryVarSampOrderBy = { + count?: InputMaybe; +}; + +/** order by variance() on columns of table "import_file_history" */ +export type ImportFileHistoryVarianceOrderBy = { + count?: InputMaybe; +}; + +export type ImportFileRecordAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "import_file_record" */ +export type ImportFileRecordAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "import_file_record" */ +export type ImportFileRecordArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "import_file_record". All fields are combined with a logical 'AND'. */ +export type ImportFileRecordBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + app?: InputMaybe; + appId?: InputMaybe; + historyId?: InputMaybe; + importFileHistory?: InputMaybe; + record?: InputMaybe; + recordId?: InputMaybe; +}; + +/** unique or primary key constraints on table "import_file_record" */ +export enum ImportFileRecordConstraint { + /** unique or primary key constraint on columns "record_id" */ + ImportFileRecordPkey = "import_file_record_pkey", +} + +/** input type for inserting data into table "import_file_record" */ +export type ImportFileRecordInsertInput = { + app?: InputMaybe; + appId?: InputMaybe; + historyId?: InputMaybe; + importFileHistory?: InputMaybe; + record?: InputMaybe; + recordId?: InputMaybe; +}; + +/** order by max() on columns of table "import_file_record" */ +export type ImportFileRecordMaxOrderBy = { + appId?: InputMaybe; + historyId?: InputMaybe; + recordId?: InputMaybe; +}; + +/** order by min() on columns of table "import_file_record" */ +export type ImportFileRecordMinOrderBy = { + appId?: InputMaybe; + historyId?: InputMaybe; + recordId?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "import_file_record" */ +export type ImportFileRecordObjRelInsertInput = { + data: ImportFileRecordInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "import_file_record" */ +export type ImportFileRecordOnConflict = { + constraint: ImportFileRecordConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "import_file_record". */ +export type ImportFileRecordOrderBy = { + app?: InputMaybe; + appId?: InputMaybe; + historyId?: InputMaybe; + importFileHistory?: InputMaybe; + record?: InputMaybe; + recordId?: InputMaybe; +}; + +/** select columns of table "import_file_record" */ +export enum ImportFileRecordSelectColumn { + /** column name */ + AppId = "appId", + /** column name */ + HistoryId = "historyId", + /** column name */ + RecordId = "recordId", +} + +/** Streaming cursor of the table "import_file_record" */ +export type ImportFileRecordStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ImportFileRecordStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ImportFileRecordStreamCursorValueInput = { + appId?: InputMaybe; + historyId?: InputMaybe; + recordId?: InputMaybe; +}; + +/** placeholder for update columns of table "import_file_record" (current role has no relevant permissions) */ +export enum ImportFileRecordUpdateColumn { + /** placeholder (do not use) */ + Placeholder = "_PLACEHOLDER", +} + +/** Boolean expression to filter rows from the table "import_file_setting". All fields are combined with a logical 'AND'. */ +export type ImportFileSettingBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + app?: InputMaybe; + appId?: InputMaybe; + settings?: InputMaybe; +}; + +/** unique or primary key constraints on table "import_file_setting" */ +export enum ImportFileSettingConstraint { + /** unique or primary key constraint on columns "app_id" */ + ImportFileSettingPkey = "import_file_setting_pkey", +} + +/** input type for inserting data into table "import_file_setting" */ +export type ImportFileSettingInsertInput = { + app?: InputMaybe; + appId?: InputMaybe; + settings?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "import_file_setting" */ +export type ImportFileSettingObjRelInsertInput = { + data: ImportFileSettingInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "import_file_setting" */ +export type ImportFileSettingOnConflict = { + constraint: ImportFileSettingConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "import_file_setting". */ +export type ImportFileSettingOrderBy = { + app?: InputMaybe; + appId?: InputMaybe; + settings?: InputMaybe; +}; + +/** primary key columns input for table: import_file_setting */ +export type ImportFileSettingPkColumnsInput = { + appId: Scalars["String"]; +}; + +/** select columns of table "import_file_setting" */ +export enum ImportFileSettingSelectColumn { + /** column name */ + AppId = "appId", + /** column name */ + Settings = "settings", +} + +/** input type for updating data in table "import_file_setting" */ +export type ImportFileSettingSetInput = { + settings?: InputMaybe; +}; + +/** Streaming cursor of the table "import_file_setting" */ +export type ImportFileSettingStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ImportFileSettingStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ImportFileSettingStreamCursorValueInput = { + appId?: InputMaybe; + settings?: InputMaybe; +}; + +/** update columns of table "import_file_setting" */ +export enum ImportFileSettingUpdateColumn { + /** column name */ + Settings = "settings", +} + +export type ImportFileSettingUpdates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: ImportFileSettingBoolExp; +}; + +/** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ +export type IntComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ +export type JsonComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to filter rows from the table "link_database". All fields are combined with a logical 'AND'. */ +export type LinkDatabaseBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + appId?: InputMaybe; + connection?: InputMaybe; + database?: InputMaybe; + fieldColumnMaps?: InputMaybe; + parameters?: InputMaybe; + sql?: InputMaybe; +}; + +/** unique or primary key constraints on table "link_database" */ +export enum LinkDatabaseConstraint { + /** unique or primary key constraint on columns "app_id" */ + LinkDatabasePkey = "link_database_pkey", +} + +/** input type for inserting data into table "link_database" */ +export type LinkDatabaseInsertInput = { + appId?: InputMaybe; + connection?: InputMaybe; + database?: InputMaybe; + fieldColumnMaps?: InputMaybe; + parameters?: InputMaybe; + sql?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "link_database" */ +export type LinkDatabaseObjRelInsertInput = { + data: LinkDatabaseInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "link_database" */ +export type LinkDatabaseOnConflict = { + constraint: LinkDatabaseConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "link_database". */ +export type LinkDatabaseOrderBy = { + appId?: InputMaybe; + connection?: InputMaybe; + database?: InputMaybe; + fieldColumnMaps?: InputMaybe; + parameters?: InputMaybe; + sql?: InputMaybe; +}; + +/** primary key columns input for table: link_database */ +export type LinkDatabasePkColumnsInput = { + appId: Scalars["String"]; +}; + +/** select columns of table "link_database" */ +export enum LinkDatabaseSelectColumn { + /** column name */ + AppId = "appId", + /** column name */ + Connection = "connection", + /** column name */ + Database = "database", + /** column name */ + FieldColumnMaps = "fieldColumnMaps", + /** column name */ + Parameters = "parameters", + /** column name */ + Sql = "sql", +} + +/** input type for updating data in table "link_database" */ +export type LinkDatabaseSetInput = { + appId?: InputMaybe; + connection?: InputMaybe; + database?: InputMaybe; + fieldColumnMaps?: InputMaybe; + parameters?: InputMaybe; + sql?: InputMaybe; +}; + +/** Streaming cursor of the table "link_database" */ +export type LinkDatabaseStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: LinkDatabaseStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type LinkDatabaseStreamCursorValueInput = { + appId?: InputMaybe; + connection?: InputMaybe; + database?: InputMaybe; + fieldColumnMaps?: InputMaybe; + parameters?: InputMaybe; + sql?: InputMaybe; +}; + +/** update columns of table "link_database" */ +export enum LinkDatabaseUpdateColumn { + /** column name */ + AppId = "appId", + /** column name */ + Connection = "connection", + /** column name */ + Database = "database", + /** column name */ + FieldColumnMaps = "fieldColumnMaps", + /** column name */ + Parameters = "parameters", + /** column name */ + Sql = "sql", +} + +export type LinkDatabaseUpdates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: LinkDatabaseBoolExp; +}; + +/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ +export type NumericComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** column ordering options */ +export enum OrderBy { + /** in ascending order, nulls last */ + Asc = "ASC", + /** in ascending order, nulls first */ + AscNullsFirst = "ASC_NULLS_FIRST", + /** in ascending order, nulls last */ + AscNullsLast = "ASC_NULLS_LAST", + /** in descending order, nulls first */ + Desc = "DESC", + /** in descending order, nulls first */ + DescNullsFirst = "DESC_NULLS_FIRST", + /** in descending order, nulls last */ + DescNullsLast = "DESC_NULLS_LAST", +} + +export type RecordAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "record" */ +export type RecordAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "record" */ +export type RecordArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "record" */ +export type RecordAvgOrderBy = { + index?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "record". All fields are combined with a logical 'AND'. */ +export type RecordBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + app?: InputMaybe; + appId?: InputMaybe; + columns?: InputMaybe; + id?: InputMaybe; + importFileRecord?: InputMaybe; + index?: InputMaybe; +}; + +/** unique or primary key constraints on table "record" */ +export enum RecordConstraint { + /** unique or primary key constraint on columns "id" */ + RecordPkey = "record_pkey", +} + +/** input type for incrementing numeric columns in table "record" */ +export type RecordIncInput = { + index?: InputMaybe; +}; + +/** input type for inserting data into table "record" */ +export type RecordInsertInput = { + app?: InputMaybe; + appId?: InputMaybe; + columns?: InputMaybe; + id?: InputMaybe; + importFileRecord?: InputMaybe; + index?: InputMaybe; +}; + +/** order by max() on columns of table "record" */ +export type RecordMaxOrderBy = { + appId?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; +}; + +/** order by min() on columns of table "record" */ +export type RecordMinOrderBy = { + appId?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "record" */ +export type RecordObjRelInsertInput = { + data: RecordInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "record" */ +export type RecordOnConflict = { + constraint: RecordConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "record". */ +export type RecordOrderBy = { + app?: InputMaybe; + appId?: InputMaybe; + columns?: InputMaybe; + id?: InputMaybe; + importFileRecord?: InputMaybe; + index?: InputMaybe; +}; + +/** primary key columns input for table: record */ +export type RecordPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "record" */ +export enum RecordSelectColumn { + /** column name */ + AppId = "appId", + /** column name */ + Columns = "columns", + /** column name */ + Id = "id", + /** column name */ + Index = "index", +} + +/** input type for updating data in table "record" */ +export type RecordSetInput = { + columns?: InputMaybe; + index?: InputMaybe; +}; + +/** order by stddev() on columns of table "record" */ +export type RecordStddevOrderBy = { + index?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "record" */ +export type RecordStddevPopOrderBy = { + index?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "record" */ +export type RecordStddevSampOrderBy = { + index?: InputMaybe; +}; + +/** Streaming cursor of the table "record" */ +export type RecordStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: RecordStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type RecordStreamCursorValueInput = { + appId?: InputMaybe; + columns?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; +}; + +/** order by sum() on columns of table "record" */ +export type RecordSumOrderBy = { + index?: InputMaybe; +}; + +/** update columns of table "record" */ +export enum RecordUpdateColumn { + /** column name */ + Columns = "columns", + /** column name */ + Index = "index", +} + +export type RecordUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: RecordBoolExp; +}; + +/** order by varPop() on columns of table "record" */ +export type RecordVarPopOrderBy = { + index?: InputMaybe; +}; + +/** order by varSamp() on columns of table "record" */ +export type RecordVarSampOrderBy = { + index?: InputMaybe; +}; + +/** order by variance() on columns of table "record" */ +export type RecordVarianceOrderBy = { + index?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ +export type StringComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + /** does the column match the given case-insensitive pattern */ + _ilike?: InputMaybe; + _in?: InputMaybe>; + /** does the column match the given POSIX regular expression, case insensitive */ + _iregex?: InputMaybe; + _isNull?: InputMaybe; + /** does the column match the given pattern */ + _like?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + /** does the column NOT match the given case-insensitive pattern */ + _nilike?: InputMaybe; + _nin?: InputMaybe>; + /** does the column NOT match the given POSIX regular expression, case insensitive */ + _niregex?: InputMaybe; + /** does the column NOT match the given pattern */ + _nlike?: InputMaybe; + /** does the column NOT match the given POSIX regular expression, case sensitive */ + _nregex?: InputMaybe; + /** does the column NOT match the given SQL regular expression */ + _nsimilar?: InputMaybe; + /** does the column match the given POSIX regular expression, case sensitive */ + _regex?: InputMaybe; + /** does the column match the given SQL regular expression */ + _similar?: InputMaybe; +}; + +/** order by aggregate values of table "summary_view" */ +export type SummaryViewAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "summary_view" */ +export type SummaryViewArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "summary_view". All fields are combined with a logical 'AND'. */ +export type SummaryViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + group?: InputMaybe; + groupId?: InputMaybe; + groupingFields?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryFields?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** unique or primary key constraints on table "summary_view" */ +export enum SummaryViewConstraint { + /** unique or primary key constraint on columns "id" */ + SummaryViewPkey = "summary_view_pkey", +} + +/** input type for inserting data into table "summary_view" */ +export type SummaryViewInsertInput = { + groupId?: InputMaybe; + groupingFields?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryFields?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by max() on columns of table "summary_view" */ +export type SummaryViewMaxOrderBy = { + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by min() on columns of table "summary_view" */ +export type SummaryViewMinOrderBy = { + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + viewId?: InputMaybe; +}; + +/** on_conflict condition type for table "summary_view" */ +export type SummaryViewOnConflict = { + constraint: SummaryViewConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "summary_view". */ +export type SummaryViewOrderBy = { + group?: InputMaybe; + groupId?: InputMaybe; + groupingFields?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryFields?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** select columns of table "summary_view" */ +export enum SummaryViewSelectColumn { + /** column name */ + GroupId = "groupId", + /** column name */ + GroupingFields = "groupingFields", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + SummaryFields = "summaryFields", + /** column name */ + ViewId = "viewId", +} + +/** Streaming cursor of the table "summary_view" */ +export type SummaryViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: SummaryViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type SummaryViewStreamCursorValueInput = { + groupId?: InputMaybe; + groupingFields?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryFields?: InputMaybe; + viewId?: InputMaybe; +}; + +/** placeholder for update columns of table "summary_view" (current role has no relevant permissions) */ +export enum SummaryViewUpdateColumn { + /** placeholder (do not use) */ + Placeholder = "_PLACEHOLDER", +} + +/** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ +export type TimestampComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ +export type TimestamptzComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to filter rows from the table "user". All fields are combined with a logical 'AND'. */ +export type UserBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + affiliations?: InputMaybe; + affiliationsAggregate?: InputMaybe; + apps?: InputMaybe; + creditCardDetails?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + dailyDetails?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + displayOrder?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + views?: InputMaybe; +}; + +/** unique or primary key constraints on table "user" */ +export enum UserConstraint { + /** unique or primary key constraint on columns "email" */ + UserEmailKey = "user_email_key", + /** unique or primary key constraint on columns "id" */ + UserPkey = "user_pkey", +} + +/** input type for inserting data into table "user" */ +export type UserInsertInput = { + affiliations?: InputMaybe; + apps?: InputMaybe; + creditCardDetails?: InputMaybe; + dailyDetails?: InputMaybe; + displayOrder?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + views?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "user" */ +export type UserObjRelInsertInput = { + data: UserInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "user" */ +export type UserOnConflict = { + constraint: UserConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "user". */ +export type UserOrderBy = { + affiliationsAggregate?: InputMaybe; + appsAggregate?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + displayOrder?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + viewsAggregate?: InputMaybe; +}; + +/** select columns of table "user" */ +export enum UserSelectColumn { + /** column name */ + DisplayOrder = "displayOrder", + /** column name */ + Email = "email", + /** column name */ + Id = "id", + /** column name */ + Name = "name", +} + +/** Streaming cursor of the table "user" */ +export type UserStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: UserStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type UserStreamCursorValueInput = { + displayOrder?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** placeholder for update columns of table "user" (current role has no relevant permissions) */ +export enum UserUpdateColumn { + /** placeholder (do not use) */ + Placeholder = "_PLACEHOLDER", +} + +/** order by aggregate values of table "view" */ +export type ViewAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** order by aggregate values of table "view_app" */ +export type ViewAppAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "view_app" */ +export type ViewAppArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "view_app". All fields are combined with a logical 'AND'. */ +export type ViewAppBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + app?: InputMaybe; + appId?: InputMaybe; + fields?: InputMaybe; + id?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** unique or primary key constraints on table "view_app" */ +export enum ViewAppConstraint { + /** unique or primary key constraint on columns "id" */ + ViewAppPkey = "view_app_pkey", +} + +/** input type for inserting data into table "view_app" */ +export type ViewAppInsertInput = { + app?: InputMaybe; + appId?: InputMaybe; + fields?: InputMaybe; + id?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by max() on columns of table "view_app" */ +export type ViewAppMaxOrderBy = { + appId?: InputMaybe; + id?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by min() on columns of table "view_app" */ +export type ViewAppMinOrderBy = { + appId?: InputMaybe; + id?: InputMaybe; + viewId?: InputMaybe; +}; + +/** on_conflict condition type for table "view_app" */ +export type ViewAppOnConflict = { + constraint: ViewAppConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "view_app". */ +export type ViewAppOrderBy = { + app?: InputMaybe; + appId?: InputMaybe; + fields?: InputMaybe; + id?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** select columns of table "view_app" */ +export enum ViewAppSelectColumn { + /** column name */ + AppId = "appId", + /** column name */ + Fields = "fields", + /** column name */ + Id = "id", + /** column name */ + ViewId = "viewId", +} + +/** Streaming cursor of the table "view_app" */ +export type ViewAppStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ViewAppStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ViewAppStreamCursorValueInput = { + appId?: InputMaybe; + fields?: InputMaybe; + id?: InputMaybe; + viewId?: InputMaybe; +}; + +/** placeholder for update columns of table "view_app" (current role has no relevant permissions) */ +export enum ViewAppUpdateColumn { + /** placeholder (do not use) */ + Placeholder = "_PLACEHOLDER", +} + +/** input type for inserting array relation for remote table "view" */ +export type ViewArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "view". All fields are combined with a logical 'AND'. */ +export type ViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + group?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryViews?: InputMaybe; + user?: InputMaybe; + viewApps?: InputMaybe; + viewFields?: InputMaybe; +}; + +/** unique or primary key constraints on table "view" */ +export enum ViewConstraint { + /** unique or primary key constraint on columns "id" */ + ViewPkey = "view_pkey", +} + +/** order by aggregate values of table "view_field" */ +export type ViewFieldAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "view_field" */ +export type ViewFieldArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "view_field" */ +export type ViewFieldAvgOrderBy = { + index?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "view_field". All fields are combined with a logical 'AND'. */ +export type ViewFieldBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** unique or primary key constraints on table "view_field" */ +export enum ViewFieldConstraint { + /** unique or primary key constraint on columns "id" */ + ViewFieldPkey = "view_field_pkey", +} + +/** input type for incrementing numeric columns in table "view_field" */ +export type ViewFieldIncInput = { + index?: InputMaybe; +}; + +/** input type for inserting data into table "view_field" */ +export type ViewFieldInsertInput = { + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by max() on columns of table "view_field" */ +export type ViewFieldMaxOrderBy = { + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by min() on columns of table "view_field" */ +export type ViewFieldMinOrderBy = { + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + viewId?: InputMaybe; +}; + +/** on_conflict condition type for table "view_field" */ +export type ViewFieldOnConflict = { + constraint: ViewFieldConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "view_field". */ +export type ViewFieldOrderBy = { + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** primary key columns input for table: view_field */ +export type ViewFieldPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "view_field" */ +export enum ViewFieldSelectColumn { + /** column name */ + FieldKind = "fieldKind", + /** column name */ + Id = "id", + /** column name */ + Index = "index", + /** column name */ + Name = "name", + /** column name */ + Options = "options", + /** column name */ + ViewId = "viewId", +} + +/** input type for updating data in table "view_field" */ +export type ViewFieldSetInput = { + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; +}; + +/** order by stddev() on columns of table "view_field" */ +export type ViewFieldStddevOrderBy = { + index?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "view_field" */ +export type ViewFieldStddevPopOrderBy = { + index?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "view_field" */ +export type ViewFieldStddevSampOrderBy = { + index?: InputMaybe; +}; + +/** Streaming cursor of the table "view_field" */ +export type ViewFieldStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ViewFieldStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ViewFieldStreamCursorValueInput = { + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by sum() on columns of table "view_field" */ +export type ViewFieldSumOrderBy = { + index?: InputMaybe; +}; + +/** update columns of table "view_field" */ +export enum ViewFieldUpdateColumn { + /** column name */ + Index = "index", + /** column name */ + Name = "name", + /** column name */ + Options = "options", +} + +export type ViewFieldUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: ViewFieldBoolExp; +}; + +/** order by varPop() on columns of table "view_field" */ +export type ViewFieldVarPopOrderBy = { + index?: InputMaybe; +}; + +/** order by varSamp() on columns of table "view_field" */ +export type ViewFieldVarSampOrderBy = { + index?: InputMaybe; +}; + +/** order by variance() on columns of table "view_field" */ +export type ViewFieldVarianceOrderBy = { + index?: InputMaybe; +}; + +/** input type for inserting data into table "view" */ +export type ViewInsertInput = { + createUserId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryViews?: InputMaybe; + user?: InputMaybe; + viewApps?: InputMaybe; + viewFields?: InputMaybe; +}; + +/** order by max() on columns of table "view" */ +export type ViewMaxOrderBy = { + id?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "view" */ +export type ViewMinOrderBy = { + id?: InputMaybe; + name?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "view" */ +export type ViewObjRelInsertInput = { + data: ViewInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "view" */ +export type ViewOnConflict = { + constraint: ViewConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "view". */ +export type ViewOrderBy = { + group?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryViewsAggregate?: InputMaybe; + user?: InputMaybe; + viewAppsAggregate?: InputMaybe; + viewFieldsAggregate?: InputMaybe; +}; + +/** primary key columns input for table: view */ +export type ViewPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "view" */ +export enum ViewSelectColumn { + /** column name */ + Id = "id", + /** column name */ + Name = "name", +} + +/** input type for updating data in table "view" */ +export type ViewSetInput = { + name?: InputMaybe; +}; + +/** Streaming cursor of the table "view" */ +export type ViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ViewStreamCursorValueInput = { + id?: InputMaybe; + name?: InputMaybe; +}; + +/** update columns of table "view" */ +export enum ViewUpdateColumn { + /** column name */ + Name = "name", +} + +export type ViewUpdates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: ViewBoolExp; +}; + +export type AffiliationAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type CategoryTotalByMonthArgs = { + from_date?: InputMaybe; + group_id?: InputMaybe; + to_date?: InputMaybe; +}; + +export type DailyDetailByDateArgs = { + from_date?: InputMaybe; + group_id?: InputMaybe; + to_date?: InputMaybe; +}; + +export type GenreTotalByMonthArgs = { + from_date?: InputMaybe; + group_id?: InputMaybe; + to_date?: InputMaybe; +}; + +export type GroupApplicationAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdAccountAggregateBoolExpBool_And = { + arguments: HouseholdAccountSelectColumnHouseholdAccountAggregateBoolExpBool_AndArgumentsColumns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: BooleanComparisonExp; +}; + +export type HouseholdAccountAggregateBoolExpBool_Or = { + arguments: HouseholdAccountSelectColumnHouseholdAccountAggregateBoolExpBool_OrArgumentsColumns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: BooleanComparisonExp; +}; + +export type HouseholdAccountAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdAllDetailViewAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdCreditCardDetailAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdCreditCardSummaryAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdDailyDetailAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdDepositCategoryAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdFavoriteFilterAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdFavoriteFilterArgsAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdGenreAggregateBoolExpBool_And = { + arguments: HouseholdGenreSelectColumnHouseholdGenreAggregateBoolExpBool_AndArgumentsColumns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: BooleanComparisonExp; +}; + +export type HouseholdGenreAggregateBoolExpBool_Or = { + arguments: HouseholdGenreSelectColumnHouseholdGenreAggregateBoolExpBool_OrArgumentsColumns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: BooleanComparisonExp; +}; + +export type HouseholdGenreAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdImportFileHistoryAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdSummaryCategoryAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdTotalByCategoryViewAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdTransferCategoryAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type ImportFileRecordAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type RecordAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type CreateAccountMutationVariables = Exact<{ + accountId: Scalars["String"]; + accountName: Scalars["String"]; + displayOrder: Scalars["Int"]; + groupId: Scalars["String"]; +}>; + +export type CreateAccountMutation = { + __typename?: "mutation_root"; + insertAccount?: { + __typename?: "HouseholdAccountMutationResponse"; + returning: Array<{ __typename?: "HouseholdAccount"; accountId: string }>; + } | null; +}; + +export type CreateCategoryMutationVariables = Exact<{ + categoryId: Scalars["String"]; + categoryName: Scalars["String"]; + genreId: Scalars["String"]; + displayOrder: Scalars["Int"]; + validFlag: Scalars["Boolean"]; + groupId: Scalars["String"]; +}>; + +export type CreateCategoryMutation = { + __typename?: "mutation_root"; + insertCategory?: { + __typename?: "HouseholdCategoryMutationResponse"; + returning: Array<{ __typename?: "HouseholdCategory"; id: string }>; + } | null; +}; + +export type CreateCreditCardDetailMutationVariables = Exact<{ + id: Scalars["String"]; + date: Scalars["date"]; + genreId: Scalars["String"]; + iocomeType: Scalars["String"]; + categoryId: Scalars["String"]; + amount: Scalars["numeric"]; + memo: Scalars["String"]; + summaryId: Scalars["String"]; + userId: Scalars["String"]; + groupId: Scalars["String"]; +}>; + +export type CreateCreditCardDetailMutation = { + __typename?: "mutation_root"; + insertCreditCardDetail?: { + __typename?: "HouseholdCreditCardDetailMutationResponse"; + returning: Array<{ __typename?: "HouseholdCreditCardDetail"; id: string }>; + } | null; +}; + +export type CreateCreditCardSummaryMutationVariables = Exact<{ + accountId: Scalars["String"]; + count: Scalars["Int"]; + creditCard: Scalars["String"]; + groupId: Scalars["String"]; + id: Scalars["String"]; + totalAmount: Scalars["numeric"]; + withdrawalDate: Scalars["date"]; +}>; + +export type CreateCreditCardSummaryMutation = { + __typename?: "mutation_root"; + insertCreditCardSummary?: { + __typename?: "HouseholdCreditCardSummaryMutationResponse"; + returning: Array<{ __typename?: "HouseholdCreditCardSummary"; id: string }>; + } | null; +}; + +export type CreateDailyDetailMutationVariables = Exact<{ + accountId: Scalars["String"]; + amount: Scalars["numeric"]; + genreId: Scalars["String"]; + iocomeType: Scalars["String"]; + categoryId: Scalars["String"]; + date: Scalars["date"]; + groupId: Scalars["String"]; + id: Scalars["String"]; + memo?: InputMaybe; + userId: Scalars["String"]; +}>; + +export type CreateDailyDetailMutation = { + __typename: "mutation_root"; + insertDailyDetail?: { + __typename: "HouseholdDailyDetailMutationResponse"; + returning: Array<{ __typename: "HouseholdDailyDetail"; id: string }>; + } | null; +}; + +export type CreateImportFileHistoryMutationVariables = Exact<{ + fileName: Scalars["String"]; + fileType: Scalars["String"]; + groupId: Scalars["String"]; + id: Scalars["String"]; + importDatetime: Scalars["timestamp"]; + importUserId: Scalars["String"]; +}>; + +export type CreateImportFileHistoryMutation = { + __typename?: "mutation_root"; + insertImportFileHistory?: { + __typename?: "HouseholdImportFileHistoryMutationResponse"; + returning: Array<{ __typename?: "HouseholdImportFileHistory"; id: string }>; + } | null; +}; + +export type CreateSummaryCategoryMutationVariables = Exact<{ + id: Scalars["String"]; + displayOrder: Scalars["Int"]; + categoryId: Scalars["String"]; + groupId: Scalars["String"]; +}>; + +export type CreateSummaryCategoryMutation = { + __typename?: "mutation_root"; + insertSummaryCategoryByGroup?: { + __typename?: "HouseholdSummaryCategoryMutationResponse"; + returning: Array<{ __typename?: "HouseholdSummaryCategory"; id: string }>; + } | null; +}; + +export type CreateUserMutationVariables = Exact<{ + userId: Scalars["String"]; + userName: Scalars["String"]; + email: Scalars["String"]; + displayOrder: Scalars["Int"]; +}>; + +export type CreateUserMutation = { + __typename?: "mutation_root"; + insertUser?: { + __typename?: "UserMutationResponse"; + returning: Array<{ __typename?: "User"; email: string; userId: string }>; + } | null; +}; + +export type DeleteDailyDetailBySerialNoMutationVariables = Exact<{ + id: Scalars["String"]; +}>; + +export type DeleteDailyDetailBySerialNoMutation = { + __typename?: "mutation_root"; + deleteDailyDetailByPk?: { + __typename: "HouseholdDailyDetail"; + id: string; + } | null; +}; + +export type DeleteSummaryCategoryMutationVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type DeleteSummaryCategoryMutation = { + __typename?: "mutation_root"; + deleteSummaryCategoryByGroup?: { + __typename?: "HouseholdSummaryCategoryMutationResponse"; + returning: Array<{ __typename?: "HouseholdSummaryCategory"; id: string }>; + } | null; +}; + +export type UpdateCategoryByIdMutationVariables = Exact<{ + categoryId: Scalars["String"]; + categoryName: Scalars["String"]; + genreId: Scalars["String"]; + displayOrder: Scalars["Int"]; + validFlag: Scalars["Boolean"]; +}>; + +export type UpdateCategoryByIdMutation = { + __typename?: "mutation_root"; + updateCategoryByPk?: { __typename?: "HouseholdCategory"; id: string } | null; +}; + +export type UpdateCreditCardSummaryTotalMutationVariables = Exact<{ + id: Scalars["String"]; + totalAmount: Scalars["numeric"]; + count: Scalars["Int"]; +}>; + +export type UpdateCreditCardSummaryTotalMutation = { + __typename?: "mutation_root"; + updateCreditCardSummary?: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + } | null; +}; + +export type UpdateDailyDetailByIdMutationVariables = Exact<{ + id: Scalars["String"]; + date: Scalars["date"]; + genreId: Scalars["String"]; + iocomeType: Scalars["String"]; + categoryId: Scalars["String"]; + accountId: Scalars["String"]; + amount: Scalars["numeric"]; + memo?: InputMaybe; +}>; + +export type UpdateDailyDetailByIdMutation = { + __typename?: "mutation_root"; + updateDailyDetailByPk?: { + __typename: "HouseholdDailyDetail"; + id: string; + } | null; +}; + +export type UpdateGenreByIdMutationVariables = Exact<{ + genreId: Scalars["String"]; + validFlag: Scalars["Boolean"]; + iocomeType: Scalars["String"]; + genreType: Scalars["String"]; + genreName: Scalars["String"]; + displayOrder: Scalars["Int"]; +}>; + +export type UpdateGenreByIdMutation = { + __typename?: "mutation_root"; + updateGenreByPk?: { __typename?: "HouseholdGenre"; id: string } | null; +}; + +export type DeleteDashboardSettingMutationVariables = Exact<{ + settingId: Scalars["String"]; +}>; + +export type DeleteDashboardSettingMutation = { + __typename?: "mutation_root"; + deleteHouseholdDashboardSettingArgs?: { + __typename?: "HouseholdDashboardSettingArgsMutationResponse"; + returning: Array<{ + __typename: "HouseholdDashboardSettingArgs"; + id: string; + }>; + } | null; + deleteHouseholdDashboardSettingByPk?: { + __typename: "HouseholdDashboardSetting"; + id: string; + } | null; +}; + +export type DeleteFavoriteFilterArgMutationVariables = Exact<{ + id: Scalars["String"]; +}>; + +export type DeleteFavoriteFilterArgMutation = { + __typename?: "mutation_root"; + deleteHouseholdFavoriteFilterArgsByPk?: { + __typename?: "HouseholdFavoriteFilterArgs"; + id: string; + } | null; +}; + +export type DeleteInsertDashboardSettingArgsMutationVariables = Exact<{ + settingId: Scalars["String"]; + objects: + | Array + | HouseholdDashboardSettingArgsInsertInput; +}>; + +export type DeleteInsertDashboardSettingArgsMutation = { + __typename?: "mutation_root"; + deleteDashboardSettingArgs?: { + __typename?: "HouseholdDashboardSettingArgsMutationResponse"; + returning: Array<{ + __typename: "HouseholdDashboardSettingArgs"; + id: string; + }>; + } | null; + insertDashboardSettingArgs?: { + __typename?: "HouseholdDashboardSettingArgsMutationResponse"; + returning: Array<{ + __typename: "HouseholdDashboardSettingArgs"; + id: string; + }>; + } | null; +}; + +export type InsertDashboardSettingMutationVariables = Exact<{ + settingId: Scalars["String"]; + feature: Scalars["String"]; + order: Scalars["Int"]; + userId: Scalars["String"]; + groupId: Scalars["String"]; +}>; + +export type InsertDashboardSettingMutation = { + __typename?: "mutation_root"; + insertSetting?: { + __typename?: "HouseholdDashboardSettingMutationResponse"; + returning: Array<{ __typename: "HouseholdDashboardSetting"; id: string }>; + } | null; +}; + +export type InsertDashboardSettingArgsMutationVariables = Exact<{ + id: Scalars["String"]; + type: Scalars["String"]; + value: Scalars["String"]; + settingId: Scalars["String"]; +}>; + +export type InsertDashboardSettingArgsMutation = { + __typename?: "mutation_root"; + insertSettingArgs?: { + __typename?: "HouseholdDashboardSettingArgsMutationResponse"; + returning: Array<{ + __typename: "HouseholdDashboardSettingArgs"; + id: string; + }>; + } | null; +}; + +export type InsertFavoriteFilterMutationVariables = Exact<{ + filterId: Scalars["String"]; + name: Scalars["String"]; + groupId: Scalars["String"]; +}>; + +export type InsertFavoriteFilterMutation = { + __typename?: "mutation_root"; + insertHouseholdFavoriteFilterOne?: { + __typename?: "HouseholdFavoriteFilter"; + id: string; + } | null; +}; + +export type InsertFavoriteFilterArgMutationVariables = Exact<{ + argId: Scalars["String"]; + filterId: Scalars["String"]; + key: Scalars["String"]; + value: Scalars["String"]; +}>; + +export type InsertFavoriteFilterArgMutation = { + __typename?: "mutation_root"; + insertArg?: { __typename: "HouseholdFavoriteFilterArgs"; id: string } | null; +}; + +export type UpdateCreditCardDetailAmountByIdMutationVariables = Exact<{ + id: Scalars["String"]; + amount: Scalars["numeric"]; +}>; + +export type UpdateCreditCardDetailAmountByIdMutation = { + __typename?: "mutation_root"; + updateHouseholdCreditCardDetailByPk?: { + __typename?: "HouseholdCreditCardDetail"; + id: string; + } | null; +}; + +export type UpdateCreditCardDetailByIdMutationVariables = Exact<{ + id: Scalars["String"]; + genreId: Scalars["String"]; + categoryId: Scalars["String"]; + memo?: InputMaybe; +}>; + +export type UpdateCreditCardDetailByIdMutation = { + __typename?: "mutation_root"; + updateHouseholdCreditCardDetailByPk?: { + __typename?: "HouseholdCreditCardDetail"; + id: string; + } | null; +}; + +export type UpdateDashboardSettingMutationVariables = Exact<{ + settingId: Scalars["String"]; + feature: Scalars["String"]; + order: Scalars["Int"]; +}>; + +export type UpdateDashboardSettingMutation = { + __typename?: "mutation_root"; + updateDashboardSetting?: { + __typename: "HouseholdDashboardSetting"; + id: string; + } | null; +}; + +export type UpdateDashboardSettingOrderMutationVariables = Exact<{ + settingId: Scalars["String"]; + order: Scalars["Int"]; +}>; + +export type UpdateDashboardSettingOrderMutation = { + __typename?: "mutation_root"; + updateHouseholdDashboardSettingByPk?: { + __typename: "HouseholdDashboardSetting"; + id: string; + } | null; +}; + +export type UpdateFavoriteFilterMutationVariables = Exact<{ + filterId: Scalars["String"]; + name: Scalars["String"]; +}>; + +export type UpdateFavoriteFilterMutation = { + __typename?: "mutation_root"; + updateHouseholdFavoriteFilterByPk?: { + __typename: "HouseholdFavoriteFilter"; + id: string; + } | null; +}; + +export type UpdateFavoriteFilterArgMutationVariables = Exact<{ + argId: Scalars["String"]; + value: Scalars["String"]; +}>; + +export type UpdateFavoriteFilterArgMutation = { + __typename?: "mutation_root"; + insertArg?: { __typename: "HouseholdFavoriteFilterArgs"; id: string } | null; +}; + +export type GetAccountBalanceListQueryVariables = Exact<{ + groupId: Scalars["String"]; + fromDate: Scalars["date"]; + toDate: Scalars["date"]; +}>; + +export type GetAccountBalanceListQuery = { + __typename?: "query_root"; + account: Array<{ + __typename: "HouseholdAccount"; + id: string; + accountName: string; + dailyDetails: Array<{ + __typename: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; + allDetailViewsAggregate: { + __typename?: "HouseholdAllDetailViewAggregate"; + aggregate?: { + __typename?: "HouseholdAllDetailViewAggregateFields"; + sum?: { + __typename: "HouseholdAllDetailViewSumFields"; + signedAmount?: any | null; + } | null; + } | null; + }; + }>; +}; + +export type GetAllCategoriesQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetAllCategoriesQuery = { + __typename?: "query_root"; + categories: Array<{ + __typename?: "HouseholdCategory"; + id: string; + displayOrder: number; + validFlag?: boolean | null; + categoryName: string; + genre: { + __typename?: "HouseholdGenre"; + genreId: string; + genreName: string; + }; + }>; +}; + +export type GetAllCategoryListWithCriteriaQueryVariables = Exact<{ + validCategoryIn?: InputMaybe | Scalars["Boolean"]>; + validGenreIn?: InputMaybe | Scalars["Boolean"]>; + iocomeTypeIn?: InputMaybe | Scalars["String"]>; + categoryNotIn?: InputMaybe | Scalars["String"]>; +}>; + +export type GetAllCategoryListWithCriteriaQuery = { + __typename?: "query_root"; + genres: Array<{ + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + validFlag?: boolean | null; + displayOrder: number; + type: string; + categories: Array<{ + __typename?: "HouseholdCategory"; + id: string; + name: string; + validFlag?: boolean | null; + displayOrder: number; + }>; + }>; +}; + +export type GetAllGenreQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetAllGenreQuery = { + __typename?: "query_root"; + genre: Array<{ + __typename?: "HouseholdGenre"; + id: string; + genreType: string; + iocomeType: string; + validFlag?: boolean | null; + displayOrder: number; + genreName: string; + }>; +}; + +export type GetAllUsersQueryVariables = Exact<{ [key: string]: never }>; + +export type GetAllUsersQuery = { + __typename?: "query_root"; + users: Array<{ + __typename?: "User"; + id: string; + name?: string | null; + email: string; + affiliation: Array<{ + __typename?: "Affiliation"; + group: { __typename?: "Group"; id: string; name: string }; + }>; + }>; +}; + +export type GetCategoryByIdQueryVariables = Exact<{ + categoryId: Scalars["String"]; +}>; + +export type GetCategoryByIdQuery = { + __typename?: "query_root"; + category?: { + __typename?: "HouseholdCategory"; + validFlag?: boolean | null; + displayOrder: number; + categoryName: string; + genre: { + __typename?: "HouseholdGenre"; + iocomeType: string; + genreId: string; + }; + } | null; +}; + +export type GetCategoryTotalByMonthQueryVariables = Exact<{ + fromDate?: InputMaybe; + toDate?: InputMaybe; + groupId: Scalars["String"]; +}>; + +export type GetCategoryTotalByMonthQuery = { + __typename?: "query_root"; + categoryTotalByMonth: Array<{ + __typename?: "HouseholdTotalByCategoryView"; + date?: any | null; + iocomeType?: string | null; + genreId?: string | null; + genreName?: string | null; + categoryId?: string | null; + categoryName?: string | null; + total?: any | null; + }>; +}; + +export type GetCreditCardDetailBySummaryIdQueryVariables = Exact<{ + id: Scalars["String"]; +}>; + +export type GetCreditCardDetailBySummaryIdQuery = { + __typename?: "query_root"; + creditCardSummary?: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + creditCard: string; + withdrawalDate: any; + count: number; + totalAmount: any; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + creditCardDetails: Array<{ + __typename?: "HouseholdCreditCardDetail"; + id: string; + date: any; + memo?: string | null; + amount: any; + category: { + __typename?: "HouseholdCategory"; + id: string; + name: string; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + }; + }>; + } | null; +}; + +export type GetCreditCardListQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetCreditCardListQuery = { + __typename?: "query_root"; + allCreditCardSummariesList: Array<{ + __typename?: "HouseholdCreditCardSummary"; + id: string; + creditCard: string; + count: number; + withdrawalDate: any; + totalAmount: any; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; +}; + +export type GetDailyDetailByDateQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetDailyDetailByDateQuery = { + __typename?: "query_root"; + dailies: Array<{ + __typename: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; +}; + +export type GetDailyDetailByDateCategoryIdQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; + categoryId: Scalars["String"]; +}>; + +export type GetDailyDetailByDateCategoryIdQuery = { + __typename?: "query_root"; + dailies: Array<{ + __typename: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; +}; + +export type GetDailyDetailByDateGenreIdQueryVariables = Exact<{ + genreId: Scalars["String"]; + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetDailyDetailByDateGenreIdQuery = { + __typename?: "query_root"; + allCategoriesList: Array<{ + __typename?: "HouseholdCategory"; + dailyDetailsByCategoryIdList: Array<{ + __typename?: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + categoryByCategoryId: { + __typename?: "HouseholdCategory"; + categoryId: string; + categoryName: string; + genreByGenreId: { + __typename?: "HouseholdGenre"; + genreType: string; + iocomeType: string; + genreId: string; + genreName: string; + }; + }; + accountByAccountId: { + __typename?: "HouseholdAccount"; + accountId: string; + accountName: string; + }; + userByUserId: { + __typename?: "User"; + userId: string; + userName?: string | null; + }; + }>; + }>; +}; + +export type GetGenreByIdQueryVariables = Exact<{ + genreId: Scalars["String"]; +}>; + +export type GetGenreByIdQuery = { + __typename?: "query_root"; + genreById?: { + __typename?: "HouseholdGenre"; + id: string; + genreType: string; + iocomeType: string; + validFlag?: boolean | null; + displayOrder: number; + genreName: string; + categories: Array<{ + __typename?: "HouseholdCategory"; + categoryId: string; + categoryName: string; + }>; + } | null; +}; + +export type GetGenreTotalByMonthQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetGenreTotalByMonthQuery = { + __typename?: "query_root"; + genreTotalByMonthList: Array<{ + __typename?: "HouseholdTotalByGenreView"; + date?: any | null; + iocomeType?: string | null; + genreId?: string | null; + genreName?: string | null; + total?: any | null; + }>; +}; + +export type GetSummaryCategoriesQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetSummaryCategoriesQuery = { + __typename?: "query_root"; + categories: Array<{ + __typename?: "HouseholdSummaryCategory"; + id: string; + groupId: string; + displayOrder: number; + category: { + __typename?: "HouseholdCategory"; + id: string; + name: string; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + type: string; + }; + }; + }>; +}; + +export type GetSummaryCategoryBetweenDateQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetSummaryCategoryBetweenDateQuery = { + __typename?: "query_root"; + summaryCategoryList: Array<{ + __typename?: "HouseholdSummaryCategory"; + category: { + __typename?: "HouseholdCategory"; + name: string; + id: string; + genre: { __typename?: "HouseholdGenre"; iocomeType: string }; + daily: Array<{ + __typename?: "HouseholdDailyDetail"; + date: any; + amount: any; + }>; + creditCard: Array<{ + __typename?: "HouseholdCreditCardDetail"; + date: any; + amount: any; + }>; + }; + }>; +}; + +export type GetTotalBetweenDateQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetTotalBetweenDateQuery = { + __typename?: "query_root"; + incomeTotalByDate: Array<{ + __typename?: "HouseholdDailyTotalView"; + date?: any | null; + iocomeType?: string | null; + total?: any | null; + }>; + outcomeTotalByDate: Array<{ + __typename?: "HouseholdDailyTotalView"; + date?: any | null; + iocomeType?: string | null; + total?: any | null; + }>; +}; + +export type GetTransferCategoryByQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetTransferCategoryByQuery = { + __typename?: "query_root"; + transferCategory?: { + __typename?: "HouseholdTransferCategory"; + id: string; + incomeCategory: { + __typename?: "HouseholdCategory"; + categoryId: string; + genre: { + __typename?: "HouseholdGenre"; + iocomeType: string; + genreId: string; + }; + }; + outcomeCategory: { + __typename?: "HouseholdCategory"; + categoryId: string; + genre: { + __typename?: "HouseholdGenre"; + iocomeType: string; + genreId: string; + }; + }; + } | null; +}; + +export type GetValidAccountsQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetValidAccountsQuery = { + __typename?: "query_root"; + allAccountsList: Array<{ + __typename?: "HouseholdAccount"; + accountId: string; + accountName: string; + }>; +}; + +export type GetValidCategoryByGenreIdQueryVariables = Exact<{ + groupId: Scalars["String"]; + genreId: Scalars["String"]; +}>; + +export type GetValidCategoryByGenreIdQuery = { + __typename?: "query_root"; + genreById: Array<{ + __typename?: "HouseholdGenre"; + id: string; + name: string; + categories: Array<{ + __typename?: "HouseholdCategory"; + id: string; + name: string; + displayOrder: number; + }>; + }>; + genre?: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + categories: Array<{ + __typename?: "HouseholdCategory"; + id: string; + name: string; + displayOrder: number; + }>; + } | null; +}; + +export type GetValidGenreListByIocomeTypeQueryVariables = Exact<{ + iocomeType: Scalars["String"]; + groupId: Scalars["String"]; +}>; + +export type GetValidGenreListByIocomeTypeQuery = { + __typename?: "query_root"; + allGenresList: Array<{ + __typename?: "HouseholdGenre"; + genreType: string; + iocomeType: string; + displayOrder: number; + genreId: string; + genreName: string; + categoriesByGenreIdList: Array<{ + __typename?: "HouseholdCategory"; + displayOrder: number; + categoryId: string; + categoryName: string; + }>; + }>; +}; + +export type FragDailyDetailFragment = { + __typename: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; +}; + +export type GetCreditCardSummaryByDateQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetCreditCardSummaryByDateQuery = { + __typename?: "query_root"; + creditCardSummaries: Array<{ + __typename?: "HouseholdCreditCardSummary"; + id: string; + withdrawalDate: any; + totalAmount: any; + creditCard: string; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; +}; + +export type GetDailyDetailByIdQueryVariables = Exact<{ + id: Scalars["String"]; +}>; + +export type GetDailyDetailByIdQuery = { + __typename?: "query_root"; + dailyDetail?: { + __typename: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + } | null; +}; + +export type GetDepositQueryVariables = Exact<{ + groupId: Scalars["String"]; + fromDate: Scalars["date"]; + toDate: Scalars["date"]; +}>; + +export type GetDepositQuery = { + __typename?: "query_root"; + depositCategory: Array<{ + __typename?: "HouseholdDepositCategory"; + category: { + __typename?: "HouseholdCategory"; + id: string; + categoryName: string; + daily: { + __typename?: "HouseholdDailyDetailAggregate"; + aggregate?: { + __typename?: "HouseholdDailyDetailAggregateFields"; + count: number; + sum?: { + __typename?: "HouseholdDailyDetailSumFields"; + amount?: any | null; + } | null; + avg?: { + __typename?: "HouseholdDailyDetailAvgFields"; + amount?: number | null; + } | null; + } | null; + nodes: Array<{ + __typename?: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + }>; + }; + credit: { + __typename?: "HouseholdCreditCardDetailAggregate"; + aggregate?: { + __typename?: "HouseholdCreditCardDetailAggregateFields"; + count: number; + sum?: { + __typename?: "HouseholdCreditCardDetailSumFields"; + amount?: any | null; + } | null; + avg?: { + __typename?: "HouseholdCreditCardDetailAvgFields"; + amount?: number | null; + } | null; + } | null; + nodes: Array<{ + __typename?: "HouseholdCreditCardDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + }>; + }; + }; + }>; +}; + +export type FragCreditCardDetailFragment = { + __typename?: "HouseholdCreditCardDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + summary: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }; +}; + +export type FragFavoriteFilterFragment = { + __typename: "HouseholdFavoriteFilter"; + id: string; + name: string; + args: Array<{ + __typename: "HouseholdFavoriteFilterArgs"; + id: string; + key: string; + value: string; + category?: { + __typename: "HouseholdCategory"; + id: string; + name: string; + genre: { + __typename: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + } | null; + }>; +}; + +export type GetAccountByIdQueryVariables = Exact<{ + accountId: Scalars["String"]; +}>; + +export type GetAccountByIdQuery = { + __typename?: "query_root"; + account?: { + __typename?: "HouseholdAccount"; + id: string; + name: string; + } | null; +}; + +export type GetCreditCardDetailByIdQueryVariables = Exact<{ + id: Scalars["String"]; +}>; + +export type GetCreditCardDetailByIdQuery = { + __typename?: "query_root"; + creditCardDetail?: { + __typename?: "HouseholdCreditCardDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + summary: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }; + } | null; +}; + +export type GetCreditCardDetailListQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetCreditCardDetailListQuery = { + __typename?: "query_root"; + creditCardDetails: Array<{ + __typename?: "HouseholdCreditCardDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + summary: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }; + }>; +}; + +export type GetCreditCardSummaryByAccountIdQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + accountId: Scalars["String"]; +}>; + +export type GetCreditCardSummaryByAccountIdQuery = { + __typename?: "query_root"; + creditCardSummaries: Array<{ + __typename: "HouseholdCreditCardSummary"; + id: string; + withdrawalDate: any; + totalAmount: any; + creditCard: string; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; +}; + +export type GetCreditCardSummaryByIdQueryVariables = Exact<{ + summaryId: Scalars["String"]; +}>; + +export type GetCreditCardSummaryByIdQuery = { + __typename?: "query_root"; + creditCardSummary?: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + creditCard: string; + withdrawalDate: any; + totalAmount: any; + count: number; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + } | null; +}; + +export type GetDailyByAccountIdQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + accountId: Scalars["String"]; + groupId: Scalars["String"]; + orderBy?: InputMaybe; +}>; + +export type GetDailyByAccountIdQuery = { + __typename: "query_root"; + dailies: Array<{ + __typename: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; +}; + +export type GetDashboardSettingQueryVariables = Exact<{ + userId: Scalars["String"]; + groupId: Scalars["String"]; +}>; + +export type GetDashboardSettingQuery = { + __typename?: "query_root"; + setting: Array<{ + __typename: "HouseholdDashboardSetting"; + id: string; + feature: string; + order: number; + args: Array<{ + __typename: "HouseholdDashboardSettingArgs"; + id: string; + type: string; + value: string; + }>; + }>; +}; + +export type GetDetailsByCategoryQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; + iocomeType?: InputMaybe | Scalars["String"]>; +}>; + +export type GetDetailsByCategoryQuery = { + __typename?: "query_root"; + group?: { + __typename?: "Group"; + transfer?: { + __typename?: "HouseholdTransferCategory"; + outcomeCategoryId: string; + incomeCategoryId: string; + } | null; + dailyDetails: Array<{ + __typename?: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + }>; + creditCardDetails: Array<{ + __typename?: "HouseholdCreditCardDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + summary: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }; + }>; + } | null; +}; + +export type GetFavoriteFilterQueryVariables = Exact<{ + filterId: Scalars["String"]; +}>; + +export type GetFavoriteFilterQuery = { + __typename?: "query_root"; + filter?: { + __typename: "HouseholdFavoriteFilter"; + id: string; + name: string; + args: Array<{ + __typename: "HouseholdFavoriteFilterArgs"; + id: string; + key: string; + value: string; + category?: { + __typename: "HouseholdCategory"; + id: string; + name: string; + genre: { + __typename: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + } | null; + }>; + } | null; +}; + +export type GetFavoriteFiltersQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetFavoriteFiltersQuery = { + __typename?: "query_root"; + filters: Array<{ + __typename: "HouseholdFavoriteFilter"; + id: string; + name: string; + args: Array<{ + __typename: "HouseholdFavoriteFilterArgs"; + id: string; + key: string; + value: string; + category?: { + __typename: "HouseholdCategory"; + id: string; + name: string; + genre: { + __typename: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + } | null; + }>; + }>; +}; + +export const FragDailyDetailFragmentDoc = gql` + fragment fragDailyDetail on HouseholdDailyDetail { + __typename + id + date + genre { + id + name + genreType + iocomeType + } + category { + id + name + } + account { + id + name + } + amount + memo + } +`; +export const FragCreditCardDetailFragmentDoc = gql` + fragment fragCreditCardDetail on HouseholdCreditCardDetail { + id + date + amount + memo + genre { + id + name + iocomeType + genreType + } + category { + id + name + } + summary: creditCardSummary { + id + account { + id + name + } + } + } +`; +export const FragFavoriteFilterFragmentDoc = gql` + fragment fragFavoriteFilter on HouseholdFavoriteFilter { + __typename + id + name + args: favoriteFilterArgs { + __typename + id + key + value + category: favoriteFilterArgCategoryId { + __typename + id + name + genre { + __typename + id + name + iocomeType + genreType + } + } + } + } +`; +export const CreateAccountDocument = gql` + mutation CreateAccount( + $accountId: String! + $accountName: String! + $displayOrder: Int! + $groupId: String! + ) { + insertAccount: insertHouseholdAccount( + objects: { + id: $accountId + name: $accountName + displayOrder: $displayOrder + groupId: $groupId + validFlag: true + } + ) { + returning { + accountId: id + } + } + } +`; + +export function useCreateAccountMutation() { + return Urql.useMutation< + CreateAccountMutation, + CreateAccountMutationVariables + >(CreateAccountDocument); +} +export const CreateCategoryDocument = gql` + mutation CreateCategory( + $categoryId: String! + $categoryName: String! + $genreId: String! + $displayOrder: Int! + $validFlag: Boolean! + $groupId: String! + ) { + insertCategory: insertHouseholdCategory( + objects: { + id: $categoryId + name: $categoryName + genreId: $genreId + displayOrder: $displayOrder + validFlag: $validFlag + groupId: $groupId + } + ) { + returning { + id + } + } + } +`; + +export function useCreateCategoryMutation() { + return Urql.useMutation< + CreateCategoryMutation, + CreateCategoryMutationVariables + >(CreateCategoryDocument); +} +export const CreateCreditCardDetailDocument = gql` + mutation CreateCreditCardDetail( + $id: String! + $date: date! + $genreId: String! + $iocomeType: String! + $categoryId: String! + $amount: numeric! + $memo: String! + $summaryId: String! + $userId: String! + $groupId: String! + ) { + insertCreditCardDetail: insertHouseholdCreditCardDetail( + objects: { + id: $id + date: $date + genreId: $genreId + iocomeType: $iocomeType + categoryId: $categoryId + amount: $amount + summaryId: $summaryId + userId: $userId + memo: $memo + groupId: $groupId + } + ) { + returning { + id + } + } + } +`; + +export function useCreateCreditCardDetailMutation() { + return Urql.useMutation< + CreateCreditCardDetailMutation, + CreateCreditCardDetailMutationVariables + >(CreateCreditCardDetailDocument); +} +export const CreateCreditCardSummaryDocument = gql` + mutation CreateCreditCardSummary( + $accountId: String! + $count: Int! + $creditCard: String! + $groupId: String! + $id: String! + $totalAmount: numeric! + $withdrawalDate: date! + ) { + insertCreditCardSummary: insertHouseholdCreditCardSummary( + objects: { + id: $id + creditCard: $creditCard + accountId: $accountId + totalAmount: $totalAmount + count: $count + withdrawalDate: $withdrawalDate + groupId: $groupId + } + ) { + returning { + id + } + } + } +`; + +export function useCreateCreditCardSummaryMutation() { + return Urql.useMutation< + CreateCreditCardSummaryMutation, + CreateCreditCardSummaryMutationVariables + >(CreateCreditCardSummaryDocument); +} +export const CreateDailyDetailDocument = gql` + mutation CreateDailyDetail( + $accountId: String! + $amount: numeric! + $genreId: String! + $iocomeType: String! + $categoryId: String! + $date: date! + $groupId: String! + $id: String! + $memo: String + $userId: String! + ) { + __typename + insertDailyDetail: insertHouseholdDailyDetail( + objects: { + id: $id + date: $date + genreId: $genreId + iocomeType: $iocomeType + categoryId: $categoryId + accountId: $accountId + userId: $userId + amount: $amount + memo: $memo + groupId: $groupId + } + ) { + __typename + returning { + id + __typename + } + } + } +`; + +export function useCreateDailyDetailMutation() { + return Urql.useMutation< + CreateDailyDetailMutation, + CreateDailyDetailMutationVariables + >(CreateDailyDetailDocument); +} +export const CreateImportFileHistoryDocument = gql` + mutation CreateImportFileHistory( + $fileName: String! + $fileType: String! + $groupId: String! + $id: String! + $importDatetime: timestamp! + $importUserId: String! + ) { + insertImportFileHistory: insertHouseholdImportFileHistory( + objects: { + id: $id + fileType: $fileType + fileName: $fileName + importUserId: $importUserId + importDatetime: $importDatetime + groupId: $groupId + } + ) { + returning { + id + } + } + } +`; + +export function useCreateImportFileHistoryMutation() { + return Urql.useMutation< + CreateImportFileHistoryMutation, + CreateImportFileHistoryMutationVariables + >(CreateImportFileHistoryDocument); +} +export const CreateSummaryCategoryDocument = gql` + mutation CreateSummaryCategory( + $id: String! + $displayOrder: Int! + $categoryId: String! + $groupId: String! + ) { + insertSummaryCategoryByGroup: insertHouseholdSummaryCategory( + objects: { + id: $id + categoryId: $categoryId + groupId: $groupId + displayOrder: $displayOrder + } + ) { + returning { + id + } + } + } +`; + +export function useCreateSummaryCategoryMutation() { + return Urql.useMutation< + CreateSummaryCategoryMutation, + CreateSummaryCategoryMutationVariables + >(CreateSummaryCategoryDocument); +} +export const CreateUserDocument = gql` + mutation CreateUser( + $userId: String! + $userName: String! + $email: String! + $displayOrder: Int! + ) { + insertUser: insertUser( + objects: { + id: $userId + name: $userName + email: $email + displayOrder: $displayOrder + } + ) { + returning { + userId: id + email + } + } + } +`; + +export function useCreateUserMutation() { + return Urql.useMutation( + CreateUserDocument, + ); +} +export const DeleteDailyDetailBySerialNoDocument = gql` + mutation DeleteDailyDetailBySerialNo($id: String!) { + deleteDailyDetailByPk: deleteHouseholdDailyDetailByPk(id: $id) { + __typename + id + } + } +`; + +export function useDeleteDailyDetailBySerialNoMutation() { + return Urql.useMutation< + DeleteDailyDetailBySerialNoMutation, + DeleteDailyDetailBySerialNoMutationVariables + >(DeleteDailyDetailBySerialNoDocument); +} +export const DeleteSummaryCategoryDocument = gql` + mutation DeleteSummaryCategory($groupId: String!) { + deleteSummaryCategoryByGroup: deleteHouseholdSummaryCategory( + where: { groupId: { _eq: $groupId } } + ) { + returning { + id + } + } + } +`; + +export function useDeleteSummaryCategoryMutation() { + return Urql.useMutation< + DeleteSummaryCategoryMutation, + DeleteSummaryCategoryMutationVariables + >(DeleteSummaryCategoryDocument); +} +export const UpdateCategoryByIdDocument = gql` + mutation UpdateCategoryById( + $categoryId: String! + $categoryName: String! + $genreId: String! + $displayOrder: Int! + $validFlag: Boolean! + ) { + updateCategoryByPk: updateHouseholdCategoryByPk( + pkColumns: { id: $categoryId } + _set: { + name: $categoryName + genreId: $genreId + displayOrder: $displayOrder + validFlag: $validFlag + } + ) { + id + } + } +`; + +export function useUpdateCategoryByIdMutation() { + return Urql.useMutation< + UpdateCategoryByIdMutation, + UpdateCategoryByIdMutationVariables + >(UpdateCategoryByIdDocument); +} +export const UpdateCreditCardSummaryTotalDocument = gql` + mutation UpdateCreditCardSummaryTotal( + $id: String! + $totalAmount: numeric! + $count: Int! + ) { + updateCreditCardSummary: updateHouseholdCreditCardSummaryByPk( + pkColumns: { id: $id } + _set: { totalAmount: $totalAmount, count: $count } + ) { + id + } + } +`; + +export function useUpdateCreditCardSummaryTotalMutation() { + return Urql.useMutation< + UpdateCreditCardSummaryTotalMutation, + UpdateCreditCardSummaryTotalMutationVariables + >(UpdateCreditCardSummaryTotalDocument); +} +export const UpdateDailyDetailByIdDocument = gql` + mutation UpdateDailyDetailById( + $id: String! + $date: date! + $genreId: String! + $iocomeType: String! + $categoryId: String! + $accountId: String! + $amount: numeric! + $memo: String + ) { + updateDailyDetailByPk: updateHouseholdDailyDetailByPk( + _set: { + date: $date + genreId: $genreId + iocomeType: $iocomeType + categoryId: $categoryId + accountId: $accountId + amount: $amount + memo: $memo + } + pkColumns: { id: $id } + ) { + __typename + id + } + } +`; + +export function useUpdateDailyDetailByIdMutation() { + return Urql.useMutation< + UpdateDailyDetailByIdMutation, + UpdateDailyDetailByIdMutationVariables + >(UpdateDailyDetailByIdDocument); +} +export const UpdateGenreByIdDocument = gql` + mutation UpdateGenreById( + $genreId: String! + $validFlag: Boolean! + $iocomeType: String! + $genreType: String! + $genreName: String! + $displayOrder: Int! + ) { + updateGenreByPk: updateHouseholdGenreByPk( + pkColumns: { id: $genreId } + _set: { + name: $genreName + genreType: $genreType + iocomeType: $iocomeType + validFlag: $validFlag + displayOrder: $displayOrder + } + ) { + id + } + } +`; + +export function useUpdateGenreByIdMutation() { + return Urql.useMutation< + UpdateGenreByIdMutation, + UpdateGenreByIdMutationVariables + >(UpdateGenreByIdDocument); +} +export const DeleteDashboardSettingDocument = gql` + mutation deleteDashboardSetting($settingId: String!) { + deleteHouseholdDashboardSettingArgs( + where: { settingId: { _eq: $settingId } } + ) { + returning { + id + __typename + } + } + deleteHouseholdDashboardSettingByPk(id: $settingId) { + id + __typename + } + } +`; + +export function useDeleteDashboardSettingMutation() { + return Urql.useMutation< + DeleteDashboardSettingMutation, + DeleteDashboardSettingMutationVariables + >(DeleteDashboardSettingDocument); +} +export const DeleteFavoriteFilterArgDocument = gql` + mutation deleteFavoriteFilterArg($id: String!) { + deleteHouseholdFavoriteFilterArgsByPk(id: $id) { + id + } + } +`; + +export function useDeleteFavoriteFilterArgMutation() { + return Urql.useMutation< + DeleteFavoriteFilterArgMutation, + DeleteFavoriteFilterArgMutationVariables + >(DeleteFavoriteFilterArgDocument); +} +export const DeleteInsertDashboardSettingArgsDocument = gql` + mutation deleteInsertDashboardSettingArgs( + $settingId: String! + $objects: [HouseholdDashboardSettingArgsInsertInput!]! + ) { + deleteDashboardSettingArgs: deleteHouseholdDashboardSettingArgs( + where: { settingId: { _eq: $settingId } } + ) { + returning { + id + __typename + } + } + insertDashboardSettingArgs: insertHouseholdDashboardSettingArgs( + objects: $objects + ) { + returning { + id + __typename + } + } + } +`; + +export function useDeleteInsertDashboardSettingArgsMutation() { + return Urql.useMutation< + DeleteInsertDashboardSettingArgsMutation, + DeleteInsertDashboardSettingArgsMutationVariables + >(DeleteInsertDashboardSettingArgsDocument); +} +export const InsertDashboardSettingDocument = gql` + mutation insertDashboardSetting( + $settingId: String! + $feature: String! + $order: Int! + $userId: String! + $groupId: String! + ) { + insertSetting: insertHouseholdDashboardSetting( + objects: { + id: $settingId + feature: $feature + order: $order + userId: $userId + groupId: $groupId + } + ) { + returning { + id + __typename + } + } + } +`; + +export function useInsertDashboardSettingMutation() { + return Urql.useMutation< + InsertDashboardSettingMutation, + InsertDashboardSettingMutationVariables + >(InsertDashboardSettingDocument); +} +export const InsertDashboardSettingArgsDocument = gql` + mutation insertDashboardSettingArgs( + $id: String! + $type: String! + $value: String! + $settingId: String! + ) { + insertSettingArgs: insertHouseholdDashboardSettingArgs( + objects: { id: $id, type: $type, value: $value, settingId: $settingId } + ) { + returning { + id + __typename + } + } + } +`; + +export function useInsertDashboardSettingArgsMutation() { + return Urql.useMutation< + InsertDashboardSettingArgsMutation, + InsertDashboardSettingArgsMutationVariables + >(InsertDashboardSettingArgsDocument); +} +export const InsertFavoriteFilterDocument = gql` + mutation insertFavoriteFilter( + $filterId: String! + $name: String! + $groupId: String! + ) { + insertHouseholdFavoriteFilterOne( + object: { id: $filterId, name: $name, groupId: $groupId } + ) { + id + } + } +`; + +export function useInsertFavoriteFilterMutation() { + return Urql.useMutation< + InsertFavoriteFilterMutation, + InsertFavoriteFilterMutationVariables + >(InsertFavoriteFilterDocument); +} +export const InsertFavoriteFilterArgDocument = gql` + mutation insertFavoriteFilterArg( + $argId: String! + $filterId: String! + $key: String! + $value: String! + ) { + insertArg: insertHouseholdFavoriteFilterArgsOne( + object: { id: $argId, filterId: $filterId, key: $key, value: $value } + ) { + id + __typename + } + } +`; + +export function useInsertFavoriteFilterArgMutation() { + return Urql.useMutation< + InsertFavoriteFilterArgMutation, + InsertFavoriteFilterArgMutationVariables + >(InsertFavoriteFilterArgDocument); +} +export const UpdateCreditCardDetailAmountByIdDocument = gql` + mutation updateCreditCardDetailAmountById($id: String!, $amount: numeric!) { + updateHouseholdCreditCardDetailByPk( + pkColumns: { id: $id } + _set: { amount: $amount } + ) { + id + } + } +`; + +export function useUpdateCreditCardDetailAmountByIdMutation() { + return Urql.useMutation< + UpdateCreditCardDetailAmountByIdMutation, + UpdateCreditCardDetailAmountByIdMutationVariables + >(UpdateCreditCardDetailAmountByIdDocument); +} +export const UpdateCreditCardDetailByIdDocument = gql` + mutation updateCreditCardDetailById( + $id: String! + $genreId: String! + $categoryId: String! + $memo: String + ) { + updateHouseholdCreditCardDetailByPk( + pkColumns: { id: $id } + _set: { genreId: $genreId, categoryId: $categoryId, memo: $memo } + ) { + id + } + } +`; + +export function useUpdateCreditCardDetailByIdMutation() { + return Urql.useMutation< + UpdateCreditCardDetailByIdMutation, + UpdateCreditCardDetailByIdMutationVariables + >(UpdateCreditCardDetailByIdDocument); +} +export const UpdateDashboardSettingDocument = gql` + mutation updateDashboardSetting( + $settingId: String! + $feature: String! + $order: Int! + ) { + updateDashboardSetting: updateHouseholdDashboardSettingByPk( + pkColumns: { id: $settingId } + _set: { feature: $feature, order: $order } + ) { + id + __typename + } + } +`; + +export function useUpdateDashboardSettingMutation() { + return Urql.useMutation< + UpdateDashboardSettingMutation, + UpdateDashboardSettingMutationVariables + >(UpdateDashboardSettingDocument); +} +export const UpdateDashboardSettingOrderDocument = gql` + mutation updateDashboardSettingOrder($settingId: String!, $order: Int!) { + updateHouseholdDashboardSettingByPk( + pkColumns: { id: $settingId } + _set: { order: $order } + ) { + id + __typename + } + } +`; + +export function useUpdateDashboardSettingOrderMutation() { + return Urql.useMutation< + UpdateDashboardSettingOrderMutation, + UpdateDashboardSettingOrderMutationVariables + >(UpdateDashboardSettingOrderDocument); +} +export const UpdateFavoriteFilterDocument = gql` + mutation updateFavoriteFilter($filterId: String!, $name: String!) { + updateHouseholdFavoriteFilterByPk( + pkColumns: { id: $filterId } + _set: { name: $name } + ) { + __typename + id + } + } +`; + +export function useUpdateFavoriteFilterMutation() { + return Urql.useMutation< + UpdateFavoriteFilterMutation, + UpdateFavoriteFilterMutationVariables + >(UpdateFavoriteFilterDocument); +} +export const UpdateFavoriteFilterArgDocument = gql` + mutation updateFavoriteFilterArg($argId: String!, $value: String!) { + insertArg: updateHouseholdFavoriteFilterArgsByPk( + pkColumns: { id: $argId } + _set: { value: $value } + ) { + id + __typename + } + } +`; + +export function useUpdateFavoriteFilterArgMutation() { + return Urql.useMutation< + UpdateFavoriteFilterArgMutation, + UpdateFavoriteFilterArgMutationVariables + >(UpdateFavoriteFilterArgDocument); +} +export const GetAccountBalanceListDocument = gql` + query GetAccountBalanceList( + $groupId: String! + $fromDate: date! + $toDate: date! + ) { + account: householdAccount( + where: { _and: { groupId: { _eq: $groupId } } } + orderBy: { displayOrder: ASC } + ) { + __typename + id + accountName: name + dailyDetails( + where: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } + ) { + ...fragDailyDetail + } + allDetailViewsAggregate( + where: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } + ) { + aggregate { + sum { + __typename + signedAmount + } + } + } + } + } + ${FragDailyDetailFragmentDoc} +`; + +export function useGetAccountBalanceListQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetAccountBalanceListQuery, + GetAccountBalanceListQueryVariables + >({ query: GetAccountBalanceListDocument, ...options }); +} +export const GetAllCategoriesDocument = gql` + query GetAllCategories($groupId: String!) { + categories: householdCategory( + where: { groupId: { _eq: $groupId } } + orderBy: [{ genre: { displayOrder: ASC } }, { displayOrder: ASC }] + ) { + id + categoryName: name + displayOrder + validFlag + genre { + genreId: id + genreName: name + } + } + } +`; + +export function useGetAllCategoriesQuery( + options: Omit, "query">, +) { + return Urql.useQuery({ + query: GetAllCategoriesDocument, + ...options, + }); +} +export const GetAllCategoryListWithCriteriaDocument = gql` + query GetAllCategoryListWithCriteria( + $validCategoryIn: [Boolean!] = [true, false] + $validGenreIn: [Boolean!] = [true, false] + $iocomeTypeIn: [String!] = ["INCOME", "OUTCOME"] + $categoryNotIn: [String!] = [] + ) { + genres: householdGenre( + where: { + validFlag: { _in: $validCategoryIn } + _and: { iocomeType: { _in: $iocomeTypeIn } } + } + orderBy: { displayOrder: ASC } + ) { + id + name + type: genreType + iocomeType + validFlag + displayOrder + categories( + where: { + validFlag: { _in: $validGenreIn } + _and: { id: { _nin: $categoryNotIn } } + } + orderBy: { displayOrder: ASC } + ) { + id + name + validFlag + displayOrder + } + } + } +`; + +export function useGetAllCategoryListWithCriteriaQuery( + options?: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetAllCategoryListWithCriteriaQuery, + GetAllCategoryListWithCriteriaQueryVariables + >({ query: GetAllCategoryListWithCriteriaDocument, ...options }); +} +export const GetAllGenreDocument = gql` + query GetAllGenre($groupId: String!) @cached { + genre: householdGenre( + where: { groupId: { _eq: $groupId } } + orderBy: { displayOrder: ASC } + ) { + id + genreName: name + genreType + iocomeType + validFlag + displayOrder + } + } +`; + +export function useGetAllGenreQuery( + options: Omit, "query">, +) { + return Urql.useQuery({ + query: GetAllGenreDocument, + ...options, + }); +} +export const GetAllUsersDocument = gql` + query GetAllUsers { + users: user(orderBy: { displayOrder: ASC }) { + id + name + email + affiliation: affiliations { + group { + id + name + } + } + } + } +`; + +export function useGetAllUsersQuery( + options?: Omit, "query">, +) { + return Urql.useQuery({ + query: GetAllUsersDocument, + ...options, + }); +} +export const GetCategoryByIdDocument = gql` + query GetCategoryById($categoryId: String!) { + category: householdCategoryByPk(id: $categoryId) { + categoryName: name + validFlag + displayOrder + genre { + genreId: id + iocomeType + } + } + } +`; + +export function useGetCategoryByIdQuery( + options: Omit, "query">, +) { + return Urql.useQuery({ + query: GetCategoryByIdDocument, + ...options, + }); +} +export const GetCategoryTotalByMonthDocument = gql` + query GetCategoryTotalByMonth( + $fromDate: date + $toDate: date + $groupId: String! + ) { + categoryTotalByMonth( + args: { from_date: $fromDate, to_date: $toDate, group_id: $groupId } + ) { + date + iocomeType + genreId + genreName + categoryId + categoryName + total + } + } +`; + +export function useGetCategoryTotalByMonthQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetCategoryTotalByMonthQuery, + GetCategoryTotalByMonthQueryVariables + >({ query: GetCategoryTotalByMonthDocument, ...options }); +} +export const GetCreditCardDetailBySummaryIdDocument = gql` + query GetCreditCardDetailBySummaryId($id: String!) { + creditCardSummary: householdCreditCardSummaryByPk(id: $id) { + id + creditCard + withdrawalDate + account { + id + name + } + count + totalAmount + creditCardDetails(orderBy: { date: ASC }) { + id + date + memo + amount + category { + id + name + genre { + id + name + genreType + iocomeType + } + } + } + } + } +`; + +export function useGetCreditCardDetailBySummaryIdQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetCreditCardDetailBySummaryIdQuery, + GetCreditCardDetailBySummaryIdQueryVariables + >({ query: GetCreditCardDetailBySummaryIdDocument, ...options }); +} +export const GetCreditCardListDocument = gql` + query GetCreditCardList($groupId: String!) { + allCreditCardSummariesList: householdCreditCardSummary( + where: { groupId: { _eq: $groupId } } + orderBy: { withdrawalDate: DESC } + ) { + id + creditCard + account { + id + name + } + count + withdrawalDate + totalAmount + } + } +`; + +export function useGetCreditCardListQuery( + options: Omit, "query">, +) { + return Urql.useQuery( + { query: GetCreditCardListDocument, ...options }, + ); +} +export const GetDailyDetailByDateDocument = gql` + query GetDailyDetailByDate( + $fromDate: date! + $toDate: date! + $groupId: String! + ) { + dailies: dailyDetailByDate( + args: { from_date: $fromDate, to_date: $toDate, group_id: $groupId } + ) { + ...fragDailyDetail + } + } + ${FragDailyDetailFragmentDoc} +`; + +export function useGetDailyDetailByDateQuery( + options: Omit, "query">, +) { + return Urql.useQuery< + GetDailyDetailByDateQuery, + GetDailyDetailByDateQueryVariables + >({ query: GetDailyDetailByDateDocument, ...options }); +} +export const GetDailyDetailByDateCategoryIdDocument = gql` + query GetDailyDetailByDateCategoryId( + $fromDate: date! + $toDate: date! + $groupId: String! + $categoryId: String! + ) { + dailies: dailyDetailByDate( + args: { from_date: $fromDate, to_date: $toDate, group_id: $groupId } + where: { categoryId: { _eq: $categoryId } } + ) { + ...fragDailyDetail + } + } + ${FragDailyDetailFragmentDoc} +`; + +export function useGetDailyDetailByDateCategoryIdQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetDailyDetailByDateCategoryIdQuery, + GetDailyDetailByDateCategoryIdQueryVariables + >({ query: GetDailyDetailByDateCategoryIdDocument, ...options }); +} +export const GetDailyDetailByDateGenreIdDocument = gql` + query GetDailyDetailByDateGenreId( + $genreId: String! + $fromDate: date! + $toDate: date! + $groupId: String! + ) { + allCategoriesList: householdCategory( + where: { genreId: { _eq: $genreId } } + ) { + dailyDetailsByCategoryIdList: dailyDetails( + where: { + date: { _gte: $fromDate } + _and: { + date: { _lte: $toDate } + _and: { groupId: { _eq: $groupId } } + } + } + ) { + id + date + amount + memo + categoryByCategoryId: category { + categoryId: id + categoryName: name + genreByGenreId: genre { + genreId: id + genreName: name + genreType + iocomeType + } + } + accountByAccountId: account { + accountId: id + accountName: name + } + userByUserId: user { + userId: id + userName: name + } + } + } + } +`; + +export function useGetDailyDetailByDateGenreIdQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetDailyDetailByDateGenreIdQuery, + GetDailyDetailByDateGenreIdQueryVariables + >({ query: GetDailyDetailByDateGenreIdDocument, ...options }); +} +export const GetGenreByIdDocument = gql` + query GetGenreById($genreId: String!) { + genreById: householdGenreByPk(id: $genreId) { + id + genreName: name + genreType + iocomeType + validFlag + displayOrder + categories(where: { validFlag: { _eq: true } }) { + categoryId: id + categoryName: name + } + } + } +`; + +export function useGetGenreByIdQuery( + options: Omit, "query">, +) { + return Urql.useQuery({ + query: GetGenreByIdDocument, + ...options, + }); +} +export const GetGenreTotalByMonthDocument = gql` + query GetGenreTotalByMonth( + $fromDate: date! + $toDate: date! + $groupId: String! + ) { + genreTotalByMonthList: genreTotalByMonth( + args: { from_date: $fromDate, to_date: $toDate, group_id: $groupId } + ) { + date + iocomeType + genreId + genreName + total + } + } +`; + +export function useGetGenreTotalByMonthQuery( + options: Omit, "query">, +) { + return Urql.useQuery< + GetGenreTotalByMonthQuery, + GetGenreTotalByMonthQueryVariables + >({ query: GetGenreTotalByMonthDocument, ...options }); +} +export const GetSummaryCategoriesDocument = gql` + query GetSummaryCategories($groupId: String!) { + categories: householdSummaryCategory( + where: { groupId: { _eq: $groupId } } + orderBy: { displayOrder: ASC } + ) { + id + groupId + displayOrder + category: category { + id + name + genre: genre { + id + name + type: genreType + iocomeType + } + } + } + } +`; + +export function useGetSummaryCategoriesQuery( + options: Omit, "query">, +) { + return Urql.useQuery< + GetSummaryCategoriesQuery, + GetSummaryCategoriesQueryVariables + >({ query: GetSummaryCategoriesDocument, ...options }); +} +export const GetSummaryCategoryBetweenDateDocument = gql` + query GetSummaryCategoryBetweenDate( + $fromDate: date! + $toDate: date! + $groupId: String! + ) { + summaryCategoryList: householdSummaryCategory( + orderBy: { displayOrder: ASC } + where: { groupId: { _eq: $groupId } } + ) { + category { + name + id + genre { + iocomeType + } + daily: dailyDetails( + where: { + groupId: { _eq: $groupId } + _and: { + date: { _gte: $fromDate } + _and: { date: { _lte: $toDate } } + } + } + orderBy: { date: ASC } + ) { + date + amount + } + creditCard: creditCardDetails( + where: { + groupId: { _eq: $groupId } + _and: { + date: { _gte: $fromDate } + _and: { date: { _lte: $toDate } } + } + } + orderBy: { date: ASC } + ) { + date + amount + } + } + } + } +`; + +export function useGetSummaryCategoryBetweenDateQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetSummaryCategoryBetweenDateQuery, + GetSummaryCategoryBetweenDateQueryVariables + >({ query: GetSummaryCategoryBetweenDateDocument, ...options }); +} +export const GetTotalBetweenDateDocument = gql` + query GetTotalBetweenDate( + $fromDate: date! + $toDate: date! + $groupId: String! + ) { + incomeTotalByDate: householdDailyTotalView( + where: { + iocomeType: { _eq: "INCOME" } + _and: { + groupId: { _eq: $groupId } + _and: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } + } + } + ) { + date + iocomeType + total + } + outcomeTotalByDate: householdDailyTotalView( + where: { + iocomeType: { _eq: "OUTCOME" } + _and: { + groupId: { _eq: $groupId } + _and: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } + } + } + ) { + date + iocomeType + total + } + } +`; + +export function useGetTotalBetweenDateQuery( + options: Omit, "query">, +) { + return Urql.useQuery< + GetTotalBetweenDateQuery, + GetTotalBetweenDateQueryVariables + >({ query: GetTotalBetweenDateDocument, ...options }); +} +export const GetTransferCategoryByDocument = gql` + query GetTransferCategoryBy($groupId: String!) { + transferCategory: householdTransferCategoryByPk(groupId: $groupId) { + id: groupId + incomeCategory: categoryByIncomeCategoryId { + categoryId: id + genre { + genreId: id + iocomeType + } + } + outcomeCategory: categoryByOutcomeCategoryId { + categoryId: id + genre { + genreId: id + iocomeType + } + } + } + } +`; + +export function useGetTransferCategoryByQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetTransferCategoryByQuery, + GetTransferCategoryByQueryVariables + >({ query: GetTransferCategoryByDocument, ...options }); +} +export const GetValidAccountsDocument = gql` + query GetValidAccounts($groupId: String!) { + allAccountsList: householdAccount( + where: { validFlag: { _eq: true }, _and: { groupId: { _eq: $groupId } } } + orderBy: { displayOrder: ASC } + ) { + accountId: id + accountName: name + } + } +`; + +export function useGetValidAccountsQuery( + options: Omit, "query">, +) { + return Urql.useQuery({ + query: GetValidAccountsDocument, + ...options, + }); +} +export const GetValidCategoryByGenreIdDocument = gql` + query GetValidCategoryByGenreId($groupId: String!, $genreId: String!) { + genreById: householdGenre( + where: { + groupId: { _eq: $groupId } + _and: { validFlag: { _eq: true }, _and: { id: { _eq: $genreId } } } + } + orderBy: { displayOrder: ASC } + ) { + id + name + categories(where: { validFlag: { _eq: true } }) { + id + name + displayOrder + } + } + genre: householdGenreByPk(id: $genreId) { + id + name + categories( + where: { validFlag: { _eq: true } } + orderBy: { displayOrder: ASC } + ) { + id + name + displayOrder + } + } + } +`; + +export function useGetValidCategoryByGenreIdQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetValidCategoryByGenreIdQuery, + GetValidCategoryByGenreIdQueryVariables + >({ query: GetValidCategoryByGenreIdDocument, ...options }); +} +export const GetValidGenreListByIocomeTypeDocument = gql` + query GetValidGenreListByIocomeType($iocomeType: String!, $groupId: String!) { + allGenresList: householdGenre( + where: { + validFlag: { _eq: true } + iocomeType: { _eq: $iocomeType } + groupId: { _eq: $groupId } + } + orderBy: { displayOrder: ASC } + ) { + genreId: id + genreName: name + genreType + iocomeType + displayOrder + categoriesByGenreIdList: categories( + orderBy: { displayOrder: ASC } + where: { validFlag: { _eq: true } } + ) { + categoryId: id + categoryName: name + displayOrder + } + } + } +`; + +export function useGetValidGenreListByIocomeTypeQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetValidGenreListByIocomeTypeQuery, + GetValidGenreListByIocomeTypeQueryVariables + >({ query: GetValidGenreListByIocomeTypeDocument, ...options }); +} +export const GetCreditCardSummaryByDateDocument = gql` + query getCreditCardSummaryByDate( + $fromDate: date! + $toDate: date! + $groupId: String! + ) { + creditCardSummaries: householdCreditCardSummary( + where: { + withdrawalDate: { _gte: $fromDate } + _and: { + withdrawalDate: { _lte: $toDate } + _and: { groupId: { _eq: $groupId } } + } + } + orderBy: { withdrawalDate: ASC } + ) { + id + withdrawalDate + totalAmount + creditCard + account { + id + name + } + } + } +`; + +export function useGetCreditCardSummaryByDateQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetCreditCardSummaryByDateQuery, + GetCreditCardSummaryByDateQueryVariables + >({ query: GetCreditCardSummaryByDateDocument, ...options }); +} +export const GetDailyDetailByIdDocument = gql` + query GetDailyDetailById($id: String!) { + dailyDetail: householdDailyDetailByPk(id: $id) { + ...fragDailyDetail + } + } + ${FragDailyDetailFragmentDoc} +`; + +export function useGetDailyDetailByIdQuery( + options: Omit, "query">, +) { + return Urql.useQuery< + GetDailyDetailByIdQuery, + GetDailyDetailByIdQueryVariables + >({ query: GetDailyDetailByIdDocument, ...options }); +} +export const GetDepositDocument = gql` + query getDeposit($groupId: String!, $fromDate: date!, $toDate: date!) { + depositCategory: householdDepositCategory( + where: { groupId: { _eq: $groupId } } + ) { + category { + id + categoryName: name + daily: dailyDetailsAggregate( + orderBy: { date: ASC } + where: { + date: { _gte: $fromDate } + _and: { date: { _lte: $toDate } } + } + ) { + aggregate { + count + sum { + amount + } + avg { + amount + } + } + nodes { + id + date + amount + memo + } + } + credit: creditCardDetailsAggregate( + orderBy: { date: ASC } + where: { + date: { _gte: $fromDate } + _and: { date: { _lte: $toDate } } + } + ) { + aggregate { + count + sum { + amount + } + avg { + amount + } + } + nodes { + id + date + amount + memo + } + } + } + } + } +`; + +export function useGetDepositQuery( + options: Omit, "query">, +) { + return Urql.useQuery({ + query: GetDepositDocument, + ...options, + }); +} +export const GetAccountByIdDocument = gql` + query getAccountById($accountId: String!) { + account: householdAccountByPk(id: $accountId) { + id + name + } + } +`; + +export function useGetAccountByIdQuery( + options: Omit, "query">, +) { + return Urql.useQuery({ + query: GetAccountByIdDocument, + ...options, + }); +} +export const GetCreditCardDetailByIdDocument = gql` + query getCreditCardDetailById($id: String!) { + creditCardDetail: householdCreditCardDetailByPk(id: $id) { + ...fragCreditCardDetail + } + } + ${FragCreditCardDetailFragmentDoc} +`; + +export function useGetCreditCardDetailByIdQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetCreditCardDetailByIdQuery, + GetCreditCardDetailByIdQueryVariables + >({ query: GetCreditCardDetailByIdDocument, ...options }); +} +export const GetCreditCardDetailListDocument = gql` + query getCreditCardDetailList( + $fromDate: date! + $toDate: date! + $groupId: String! + ) { + creditCardDetails: householdCreditCardDetail( + where: { + date: { _gte: $fromDate, _lte: $toDate } + _and: { groupId: { _eq: $groupId } } + } + ) { + ...fragCreditCardDetail + } + } + ${FragCreditCardDetailFragmentDoc} +`; + +export function useGetCreditCardDetailListQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetCreditCardDetailListQuery, + GetCreditCardDetailListQueryVariables + >({ query: GetCreditCardDetailListDocument, ...options }); +} +export const GetCreditCardSummaryByAccountIdDocument = gql` + query getCreditCardSummaryByAccountId( + $fromDate: date! + $toDate: date! + $accountId: String! + ) { + creditCardSummaries: householdCreditCardSummary( + where: { + withdrawalDate: { _gte: $fromDate } + _and: { + withdrawalDate: { _lte: $toDate } + _and: { accountId: { _eq: $accountId } } + } + } + orderBy: { withdrawalDate: ASC } + ) { + __typename + id + withdrawalDate + totalAmount + creditCard + account { + id + name + } + } + } +`; + +export function useGetCreditCardSummaryByAccountIdQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetCreditCardSummaryByAccountIdQuery, + GetCreditCardSummaryByAccountIdQueryVariables + >({ query: GetCreditCardSummaryByAccountIdDocument, ...options }); +} +export const GetCreditCardSummaryByIdDocument = gql` + query getCreditCardSummaryById($summaryId: String!) { + creditCardSummary: householdCreditCardSummaryByPk(id: $summaryId) { + id + creditCard + withdrawalDate + account { + id + name + } + totalAmount + count + } + } +`; + +export function useGetCreditCardSummaryByIdQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetCreditCardSummaryByIdQuery, + GetCreditCardSummaryByIdQueryVariables + >({ query: GetCreditCardSummaryByIdDocument, ...options }); +} +export const GetDailyByAccountIdDocument = gql` + query getDailyByAccountId( + $fromDate: date! + $toDate: date! + $accountId: String! + $groupId: String! + $orderBy: OrderBy = ASC + ) { + __typename + dailies: dailyDetailByDate( + args: { group_id: $groupId, from_date: $fromDate, to_date: $toDate } + where: { accountId: { _eq: $accountId } } + orderBy: { date: $orderBy, id: DESC } + ) { + ...fragDailyDetail + } + } + ${FragDailyDetailFragmentDoc} +`; + +export function useGetDailyByAccountIdQuery( + options: Omit, "query">, +) { + return Urql.useQuery< + GetDailyByAccountIdQuery, + GetDailyByAccountIdQueryVariables + >({ query: GetDailyByAccountIdDocument, ...options }); +} +export const GetDashboardSettingDocument = gql` + query getDashboardSetting($userId: String!, $groupId: String!) { + setting: householdDashboardSetting( + where: { userId: { _eq: $userId }, _and: { groupId: { _eq: $groupId } } } + orderBy: { order: ASC } + ) { + id + feature + order + __typename + args: dashboardSettingArgs(orderBy: { type: ASC }) { + id + type + value + __typename + } + } + } +`; + +export function useGetDashboardSettingQuery( + options: Omit, "query">, +) { + return Urql.useQuery< + GetDashboardSettingQuery, + GetDashboardSettingQueryVariables + >({ query: GetDashboardSettingDocument, ...options }); +} +export const GetDetailsByCategoryDocument = gql` + query getDetailsByCategory( + $fromDate: date! + $toDate: date! + $groupId: String! + $iocomeType: [String!] = ["INCOME", "OUTCOME"] + ) { + group: groupByPk(id: $groupId) { + transfer: transferCategory { + outcomeCategoryId + incomeCategoryId + } + dailyDetails( + where: { + date: { _gte: $fromDate, _lte: $toDate } + _and: { iocomeType: { _in: $iocomeType } } + } + ) { + id + date + genre { + id + name + iocomeType + genreType + } + category { + id + name + } + amount + memo + } + creditCardDetails( + where: { + date: { _gte: $fromDate, _lte: $toDate } + _and: { iocomeType: { _in: $iocomeType } } + } + ) { + ...fragCreditCardDetail + } + } + } + ${FragCreditCardDetailFragmentDoc} +`; + +export function useGetDetailsByCategoryQuery( + options: Omit, "query">, +) { + return Urql.useQuery< + GetDetailsByCategoryQuery, + GetDetailsByCategoryQueryVariables + >({ query: GetDetailsByCategoryDocument, ...options }); +} +export const GetFavoriteFilterDocument = gql` + query getFavoriteFilter($filterId: String!) { + filter: householdFavoriteFilterByPk(id: $filterId) { + ...fragFavoriteFilter + } + } + ${FragFavoriteFilterFragmentDoc} +`; + +export function useGetFavoriteFilterQuery( + options: Omit, "query">, +) { + return Urql.useQuery( + { query: GetFavoriteFilterDocument, ...options }, + ); +} +export const GetFavoriteFiltersDocument = gql` + query getFavoriteFilters($groupId: String!) { + filters: householdFavoriteFilter(where: { groupId: { _eq: $groupId } }) { + ...fragFavoriteFilter + } + } + ${FragFavoriteFilterFragmentDoc} +`; + +export function useGetFavoriteFiltersQuery( + options: Omit, "query">, +) { + return Urql.useQuery< + GetFavoriteFiltersQuery, + GetFavoriteFiltersQueryVariables + >({ query: GetFavoriteFiltersDocument, ...options }); +} diff --git a/packages/graphql/household/type.ts b/packages/graphql/household/type.ts new file mode 100644 index 00000000..df055498 --- /dev/null +++ b/packages/graphql/household/type.ts @@ -0,0 +1,16752 @@ +import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core"; + +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { + [K in keyof T]: T[K]; +}; +export type MakeOptional = Omit & { + [SubKey in K]?: Maybe; +}; +export type MakeMaybe = Omit & { + [SubKey in K]: Maybe; +}; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; + date: any; + json: any; + numeric: any; + timestamp: any; + timestamptz: any; +}; + +export type AffiliationAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "affiliation" */ +export type AffiliationAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "affiliation" */ +export type AffiliationArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "affiliation". All fields are combined with a logical 'AND'. */ +export type AffiliationBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + group?: InputMaybe; + groupId?: InputMaybe; + groupRole?: InputMaybe; + id?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** unique or primary key constraints on table "affiliation" */ +export type AffiliationConstraint = + /** unique or primary key constraint on columns "id" */ + "affiliation_pkey"; + +/** input type for inserting data into table "affiliation" */ +export type AffiliationInsertInput = { + groupId?: InputMaybe; + groupRole?: InputMaybe; + id?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by max() on columns of table "affiliation" */ +export type AffiliationMaxOrderBy = { + groupId?: InputMaybe; + groupRole?: InputMaybe; + id?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by min() on columns of table "affiliation" */ +export type AffiliationMinOrderBy = { + groupId?: InputMaybe; + groupRole?: InputMaybe; + id?: InputMaybe; + userId?: InputMaybe; +}; + +/** on_conflict condition type for table "affiliation" */ +export type AffiliationOnConflict = { + constraint: AffiliationConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "affiliation". */ +export type AffiliationOrderBy = { + group?: InputMaybe; + groupId?: InputMaybe; + groupRole?: InputMaybe; + id?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** select columns of table "affiliation" */ +export type AffiliationSelectColumn = + /** column name */ + | "groupId" + /** column name */ + | "groupRole" + /** column name */ + | "id" + /** column name */ + | "userId"; + +/** Streaming cursor of the table "affiliation" */ +export type AffiliationStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: AffiliationStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type AffiliationStreamCursorValueInput = { + groupId?: InputMaybe; + groupRole?: InputMaybe; + id?: InputMaybe; + userId?: InputMaybe; +}; + +/** placeholder for update columns of table "affiliation" (current role has no relevant permissions) */ +export type AffiliationUpdateColumn = + /** placeholder (do not use) */ + "_PLACEHOLDER"; + +/** order by aggregate values of table "app" */ +export type AppAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "app" */ +export type AppArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "app". All fields are combined with a logical 'AND'. */ +export type AppBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + createUserId?: InputMaybe; + fields?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importFileHistories?: InputMaybe; + importFileRecords?: InputMaybe; + importFileRecordsAggregate?: InputMaybe; + importFileSetting?: InputMaybe; + linkDatabase?: InputMaybe; + name?: InputMaybe; + records?: InputMaybe; + recordsAggregate?: InputMaybe; + user?: InputMaybe; + viewApps?: InputMaybe; +}; + +/** unique or primary key constraints on table "app" */ +export type AppConstraint = + /** unique or primary key constraint on columns "id" */ + "app_pkey"; + +/** input type for inserting data into table "app" */ +export type AppInsertInput = { + createUserId?: InputMaybe; + fields?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importFileHistories?: InputMaybe; + importFileRecords?: InputMaybe; + importFileSetting?: InputMaybe; + linkDatabase?: InputMaybe; + name?: InputMaybe; + records?: InputMaybe; + user?: InputMaybe; + viewApps?: InputMaybe; +}; + +/** order by max() on columns of table "app" */ +export type AppMaxOrderBy = { + createUserId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "app" */ +export type AppMinOrderBy = { + createUserId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "app" */ +export type AppObjRelInsertInput = { + data: AppInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "app" */ +export type AppOnConflict = { + constraint: AppConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "app". */ +export type AppOrderBy = { + createUserId?: InputMaybe; + fieldsAggregate?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importFileHistoriesAggregate?: InputMaybe; + importFileRecordsAggregate?: InputMaybe; + importFileSetting?: InputMaybe; + linkDatabase?: InputMaybe; + name?: InputMaybe; + recordsAggregate?: InputMaybe; + user?: InputMaybe; + viewAppsAggregate?: InputMaybe; +}; + +/** primary key columns input for table: app */ +export type AppPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "app" */ +export type AppSelectColumn = + /** column name */ + | "createUserId" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "name"; + +/** input type for updating data in table "app" */ +export type AppSetInput = { + name?: InputMaybe; +}; + +/** Streaming cursor of the table "app" */ +export type AppStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: AppStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type AppStreamCursorValueInput = { + createUserId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** update columns of table "app" */ +export type AppUpdateColumn = + /** column name */ + "name"; + +export type AppUpdates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: AppBoolExp; +}; + +/** Boolean expression to filter rows from the table "application". All fields are combined with a logical 'AND'. */ +export type ApplicationBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + groupApplications?: InputMaybe; + groupApplicationsAggregate?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + topUrl?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** Ordering options when selecting data from "application". */ +export type ApplicationOrderBy = { + groupApplicationsAggregate?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + topUrl?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** select columns of table "application" */ +export type ApplicationSelectColumn = + /** column name */ + | "id" + /** column name */ + | "name" + /** column name */ + | "topUrl" + /** column name */ + | "validFlag"; + +/** Streaming cursor of the table "application" */ +export type ApplicationStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ApplicationStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ApplicationStreamCursorValueInput = { + id?: InputMaybe; + name?: InputMaybe; + topUrl?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ +export type BooleanComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** ordering argument of a cursor */ +export type CursorOrdering = + /** ascending ordering of the cursor */ + | "ASC" + /** descending ordering of the cursor */ + | "DESC"; + +/** Boolean expression to compare columns of type "date". All fields are combined with logical 'AND'. */ +export type DateComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** order by aggregate values of table "field" */ +export type FieldAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "field" */ +export type FieldArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "field" */ +export type FieldAvgOrderBy = { + index?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "field". All fields are combined with a logical 'AND'. */ +export type FieldBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + app?: InputMaybe; + appId?: InputMaybe; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; +}; + +/** unique or primary key constraints on table "field" */ +export type FieldConstraint = + /** unique or primary key constraint on columns "id" */ + "field_pkey"; + +/** input type for incrementing numeric columns in table "field" */ +export type FieldIncInput = { + index?: InputMaybe; +}; + +/** input type for inserting data into table "field" */ +export type FieldInsertInput = { + app?: InputMaybe; + appId?: InputMaybe; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; +}; + +/** order by max() on columns of table "field" */ +export type FieldMaxOrderBy = { + appId?: InputMaybe; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "field" */ +export type FieldMinOrderBy = { + appId?: InputMaybe; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; +}; + +/** on_conflict condition type for table "field" */ +export type FieldOnConflict = { + constraint: FieldConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "field". */ +export type FieldOrderBy = { + app?: InputMaybe; + appId?: InputMaybe; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; +}; + +/** primary key columns input for table: field */ +export type FieldPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "field" */ +export type FieldSelectColumn = + /** column name */ + | "appId" + /** column name */ + | "fieldKind" + /** column name */ + | "id" + /** column name */ + | "index" + /** column name */ + | "name" + /** column name */ + | "options"; + +/** input type for updating data in table "field" */ +export type FieldSetInput = { + fieldKind?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; +}; + +/** order by stddev() on columns of table "field" */ +export type FieldStddevOrderBy = { + index?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "field" */ +export type FieldStddevPopOrderBy = { + index?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "field" */ +export type FieldStddevSampOrderBy = { + index?: InputMaybe; +}; + +/** Streaming cursor of the table "field" */ +export type FieldStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: FieldStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type FieldStreamCursorValueInput = { + appId?: InputMaybe; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; +}; + +/** order by sum() on columns of table "field" */ +export type FieldSumOrderBy = { + index?: InputMaybe; +}; + +/** update columns of table "field" */ +export type FieldUpdateColumn = + /** column name */ + | "fieldKind" + /** column name */ + | "index" + /** column name */ + | "name" + /** column name */ + | "options"; + +export type FieldUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: FieldBoolExp; +}; + +/** order by varPop() on columns of table "field" */ +export type FieldVarPopOrderBy = { + index?: InputMaybe; +}; + +/** order by varSamp() on columns of table "field" */ +export type FieldVarSampOrderBy = { + index?: InputMaybe; +}; + +/** order by variance() on columns of table "field" */ +export type FieldVarianceOrderBy = { + index?: InputMaybe; +}; + +export type GroupApplicationAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "group_application" */ +export type GroupApplicationAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "group_application". All fields are combined with a logical 'AND'. */ +export type GroupApplicationBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + application?: InputMaybe; + applicationId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** order by max() on columns of table "group_application" */ +export type GroupApplicationMaxOrderBy = { + applicationId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** order by min() on columns of table "group_application" */ +export type GroupApplicationMinOrderBy = { + applicationId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** Ordering options when selecting data from "group_application". */ +export type GroupApplicationOrderBy = { + application?: InputMaybe; + applicationId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** select columns of table "group_application" */ +export type GroupApplicationSelectColumn = + /** column name */ + | "applicationId" + /** column name */ + | "groupId" + /** column name */ + | "id"; + +/** Streaming cursor of the table "group_application" */ +export type GroupApplicationStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: GroupApplicationStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type GroupApplicationStreamCursorValueInput = { + applicationId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "group". All fields are combined with a logical 'AND'. */ +export type GroupBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + accounts?: InputMaybe; + accountsAggregate?: InputMaybe; + affiliations?: InputMaybe; + affiliationsAggregate?: InputMaybe; + apps?: InputMaybe; + categories?: InputMaybe; + creditCardDetails?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + creditCardSummaries?: InputMaybe; + creditCardSummariesAggregate?: InputMaybe; + dailyDetails?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + dashboardSettings?: InputMaybe; + depositCategories?: InputMaybe; + depositCategoriesAggregate?: InputMaybe; + favoriteFilters?: InputMaybe; + favoriteFiltersAggregate?: InputMaybe; + genres?: InputMaybe; + genresAggregate?: InputMaybe; + groupApplications?: InputMaybe; + groupApplicationsAggregate?: InputMaybe; + id?: InputMaybe; + importFileHistories?: InputMaybe; + importFileHistoriesAggregate?: InputMaybe; + name?: InputMaybe; + summaryCategories?: InputMaybe; + summaryCategoriesAggregate?: InputMaybe; + summaryViews?: InputMaybe; + totalByCategoryView?: InputMaybe; + totalByCategoryViewAggregate?: InputMaybe; + transferCategory?: InputMaybe; + views?: InputMaybe; +}; + +/** Ordering options when selecting data from "group". */ +export type GroupOrderBy = { + accountsAggregate?: InputMaybe; + affiliationsAggregate?: InputMaybe; + appsAggregate?: InputMaybe; + categoriesAggregate?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + creditCardSummariesAggregate?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + dashboardSettingsAggregate?: InputMaybe; + depositCategoriesAggregate?: InputMaybe; + favoriteFiltersAggregate?: InputMaybe; + genresAggregate?: InputMaybe; + groupApplicationsAggregate?: InputMaybe; + id?: InputMaybe; + importFileHistoriesAggregate?: InputMaybe; + name?: InputMaybe; + summaryCategoriesAggregate?: InputMaybe; + summaryViewsAggregate?: InputMaybe; + totalByCategoryViewAggregate?: InputMaybe; + transferCategory?: InputMaybe; + viewsAggregate?: InputMaybe; +}; + +/** select columns of table "group" */ +export type GroupSelectColumn = + /** column name */ + | "id" + /** column name */ + | "name"; + +/** Streaming cursor of the table "group" */ +export type GroupStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: GroupStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type GroupStreamCursorValueInput = { + id?: InputMaybe; + name?: InputMaybe; +}; + +export type HouseholdAccountAggregateBoolExp = { + bool_and?: InputMaybe; + bool_or?: InputMaybe; + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.account" */ +export type HouseholdAccountAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "household.account" */ +export type HouseholdAccountAvgOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.account". All fields are combined with a logical 'AND'. */ +export type HouseholdAccountBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + allDetailViews?: InputMaybe; + allDetailViewsAggregate?: InputMaybe; + creditCardSummaries?: InputMaybe; + creditCardSummariesAggregate?: InputMaybe; + dailyDetails?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + displayOrder?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.account" */ +export type HouseholdAccountConstraint = + /** unique or primary key constraint on columns "id" */ + "account_pkey"; + +/** input type for inserting data into table "household.account" */ +export type HouseholdAccountInsertInput = { + creditCardSummaries?: InputMaybe; + dailyDetails?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by max() on columns of table "household.account" */ +export type HouseholdAccountMaxOrderBy = { + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "household.account" */ +export type HouseholdAccountMinOrderBy = { + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "household.account" */ +export type HouseholdAccountObjRelInsertInput = { + data: HouseholdAccountInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "household.account" */ +export type HouseholdAccountOnConflict = { + constraint: HouseholdAccountConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.account". */ +export type HouseholdAccountOrderBy = { + allDetailViewsAggregate?: InputMaybe; + creditCardSummariesAggregate?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + displayOrder?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** select columns of table "household.account" */ +export type HouseholdAccountSelectColumn = + /** column name */ + | "displayOrder" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "name" + /** column name */ + | "validFlag"; + +/** select "householdAccountAggregateBoolExpBool_andArgumentsColumns" columns of table "household.account" */ +export type HouseholdAccountSelectColumnHouseholdAccountAggregateBoolExpBool_AndArgumentsColumns = + /** column name */ + "validFlag"; + +/** select "householdAccountAggregateBoolExpBool_orArgumentsColumns" columns of table "household.account" */ +export type HouseholdAccountSelectColumnHouseholdAccountAggregateBoolExpBool_OrArgumentsColumns = + /** column name */ + "validFlag"; + +/** order by stddev() on columns of table "household.account" */ +export type HouseholdAccountStddevOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.account" */ +export type HouseholdAccountStddevPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.account" */ +export type HouseholdAccountStddevSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Streaming cursor of the table "household_account" */ +export type HouseholdAccountStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdAccountStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdAccountStreamCursorValueInput = { + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by sum() on columns of table "household.account" */ +export type HouseholdAccountSumOrderBy = { + displayOrder?: InputMaybe; +}; + +/** placeholder for update columns of table "household.account" (current role has no relevant permissions) */ +export type HouseholdAccountUpdateColumn = + /** placeholder (do not use) */ + "_PLACEHOLDER"; + +/** order by varPop() on columns of table "household.account" */ +export type HouseholdAccountVarPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.account" */ +export type HouseholdAccountVarSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by variance() on columns of table "household.account" */ +export type HouseholdAccountVarianceOrderBy = { + displayOrder?: InputMaybe; +}; + +export type HouseholdAllDetailViewAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.all_detail_view" */ +export type HouseholdAllDetailViewAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewAvgOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.all_detail_view". All fields are combined with a logical 'AND'. */ +export type HouseholdAllDetailViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + accountId?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; + type?: InputMaybe; +}; + +/** order by max() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewMaxOrderBy = { + accountId?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; + type?: InputMaybe; +}; + +/** order by min() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewMinOrderBy = { + accountId?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; + type?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.all_detail_view". */ +export type HouseholdAllDetailViewOrderBy = { + accountId?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; + type?: InputMaybe; +}; + +/** select columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewSelectColumn = + /** column name */ + | "accountId" + /** column name */ + | "categoryId" + /** column name */ + | "date" + /** column name */ + | "genreId" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "iocomeType" + /** column name */ + | "memo" + /** column name */ + | "originalAmount" + /** column name */ + | "signedAmount" + /** column name */ + | "type"; + +/** order by stddev() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewStddevOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewStddevPopOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewStddevSampOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** Streaming cursor of the table "household_all_detail_view" */ +export type HouseholdAllDetailViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdAllDetailViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdAllDetailViewStreamCursorValueInput = { + accountId?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; + type?: InputMaybe; +}; + +/** order by sum() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewSumOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** order by varPop() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewVarPopOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewVarSampOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** order by variance() on columns of table "household.all_detail_view" */ +export type HouseholdAllDetailViewVarianceOrderBy = { + originalAmount?: InputMaybe; + signedAmount?: InputMaybe; +}; + +/** order by aggregate values of table "household.category" */ +export type HouseholdCategoryAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.category" */ +export type HouseholdCategoryArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "household.category" */ +export type HouseholdCategoryAvgOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.category". All fields are combined with a logical 'AND'. */ +export type HouseholdCategoryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + creditCardDetails?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + dailyDetails?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + depositCategory?: InputMaybe; + displayOrder?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryCategories?: InputMaybe; + summaryCategoriesAggregate?: InputMaybe; + transferCategories?: InputMaybe; + transferCategoriesAggregate?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.category" */ +export type HouseholdCategoryConstraint = + /** unique or primary key constraint on columns "id" */ + "category_pkey"; + +/** input type for incrementing numeric columns in table "household.category" */ +export type HouseholdCategoryIncInput = { + displayOrder?: InputMaybe; +}; + +/** input type for inserting data into table "household.category" */ +export type HouseholdCategoryInsertInput = { + creditCardDetails?: InputMaybe; + dailyDetails?: InputMaybe; + displayOrder?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryCategories?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by max() on columns of table "household.category" */ +export type HouseholdCategoryMaxOrderBy = { + displayOrder?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "household.category" */ +export type HouseholdCategoryMinOrderBy = { + displayOrder?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "household.category" */ +export type HouseholdCategoryObjRelInsertInput = { + data: HouseholdCategoryInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "household.category" */ +export type HouseholdCategoryOnConflict = { + constraint: HouseholdCategoryConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.category". */ +export type HouseholdCategoryOrderBy = { + creditCardDetailsAggregate?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + depositCategory?: InputMaybe; + displayOrder?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryCategoriesAggregate?: InputMaybe; + transferCategoriesAggregate?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** primary key columns input for table: household.category */ +export type HouseholdCategoryPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.category" */ +export type HouseholdCategorySelectColumn = + /** column name */ + | "displayOrder" + /** column name */ + | "genreId" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "name" + /** column name */ + | "validFlag"; + +/** input type for updating data in table "household.category" */ +export type HouseholdCategorySetInput = { + displayOrder?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by stddev() on columns of table "household.category" */ +export type HouseholdCategoryStddevOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.category" */ +export type HouseholdCategoryStddevPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.category" */ +export type HouseholdCategoryStddevSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Streaming cursor of the table "household_category" */ +export type HouseholdCategoryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdCategoryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdCategoryStreamCursorValueInput = { + displayOrder?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by sum() on columns of table "household.category" */ +export type HouseholdCategorySumOrderBy = { + displayOrder?: InputMaybe; +}; + +/** update columns of table "household.category" */ +export type HouseholdCategoryUpdateColumn = + /** column name */ + | "displayOrder" + /** column name */ + | "genreId" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "name" + /** column name */ + | "validFlag"; + +export type HouseholdCategoryUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdCategoryBoolExp; +}; + +/** order by varPop() on columns of table "household.category" */ +export type HouseholdCategoryVarPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.category" */ +export type HouseholdCategoryVarSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by variance() on columns of table "household.category" */ +export type HouseholdCategoryVarianceOrderBy = { + displayOrder?: InputMaybe; +}; + +export type HouseholdCreditCardDetailAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailAvgOrderBy = { + amount?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.credit_card_detail". All fields are combined with a logical 'AND'. */ +export type HouseholdCreditCardDetailBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + amount?: InputMaybe; + category?: InputMaybe; + categoryId?: InputMaybe; + creditCardSummary?: InputMaybe; + date?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailConstraint = + /** unique or primary key constraint on columns "id" */ + "credit_card_detail_pkey"; + +/** input type for incrementing numeric columns in table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailIncInput = { + amount?: InputMaybe; +}; + +/** input type for inserting data into table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailInsertInput = { + amount?: InputMaybe; + category?: InputMaybe; + categoryId?: InputMaybe; + creditCardSummary?: InputMaybe; + date?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by max() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailMaxOrderBy = { + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by min() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailMinOrderBy = { + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + userId?: InputMaybe; +}; + +/** on_conflict condition type for table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailOnConflict = { + constraint: HouseholdCreditCardDetailConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.credit_card_detail". */ +export type HouseholdCreditCardDetailOrderBy = { + amount?: InputMaybe; + category?: InputMaybe; + categoryId?: InputMaybe; + creditCardSummary?: InputMaybe; + date?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** primary key columns input for table: household.credit_card_detail */ +export type HouseholdCreditCardDetailPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailSelectColumn = + /** column name */ + | "amount" + /** column name */ + | "categoryId" + /** column name */ + | "date" + /** column name */ + | "genreId" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "iocomeType" + /** column name */ + | "memo" + /** column name */ + | "summaryId" + /** column name */ + | "userId"; + +/** input type for updating data in table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailSetInput = { + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by stddev() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailStddevOrderBy = { + amount?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailStddevPopOrderBy = { + amount?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailStddevSampOrderBy = { + amount?: InputMaybe; +}; + +/** Streaming cursor of the table "household_credit_card_detail" */ +export type HouseholdCreditCardDetailStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdCreditCardDetailStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdCreditCardDetailStreamCursorValueInput = { + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + summaryId?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by sum() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailSumOrderBy = { + amount?: InputMaybe; +}; + +/** update columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailUpdateColumn = + /** column name */ + | "amount" + /** column name */ + | "categoryId" + /** column name */ + | "date" + /** column name */ + | "genreId" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "iocomeType" + /** column name */ + | "memo" + /** column name */ + | "summaryId" + /** column name */ + | "userId"; + +export type HouseholdCreditCardDetailUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdCreditCardDetailBoolExp; +}; + +/** order by varPop() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailVarPopOrderBy = { + amount?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailVarSampOrderBy = { + amount?: InputMaybe; +}; + +/** order by variance() on columns of table "household.credit_card_detail" */ +export type HouseholdCreditCardDetailVarianceOrderBy = { + amount?: InputMaybe; +}; + +export type HouseholdCreditCardSummaryAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryAvgOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.credit_card_summary". All fields are combined with a logical 'AND'. */ +export type HouseholdCreditCardSummaryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + creditCardDetails?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryConstraint = + /** unique or primary key constraint on columns "id" */ + "credit_card_summary_pkey"; + +/** input type for incrementing numeric columns in table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryIncInput = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** input type for inserting data into table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryInsertInput = { + account?: InputMaybe; + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + creditCardDetails?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** order by max() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryMaxOrderBy = { + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** order by min() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryMinOrderBy = { + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryObjRelInsertInput = { + data: HouseholdCreditCardSummaryInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryOnConflict = { + constraint: HouseholdCreditCardSummaryConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.credit_card_summary". */ +export type HouseholdCreditCardSummaryOrderBy = { + account?: InputMaybe; + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** primary key columns input for table: household.credit_card_summary */ +export type HouseholdCreditCardSummaryPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummarySelectColumn = + /** column name */ + | "accountId" + /** column name */ + | "count" + /** column name */ + | "creditCard" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "totalAmount" + /** column name */ + | "withdrawalDate"; + +/** input type for updating data in table "household.credit_card_summary" */ +export type HouseholdCreditCardSummarySetInput = { + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** order by stddev() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryStddevOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryStddevPopOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryStddevSampOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** Streaming cursor of the table "household_credit_card_summary" */ +export type HouseholdCreditCardSummaryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdCreditCardSummaryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdCreditCardSummaryStreamCursorValueInput = { + accountId?: InputMaybe; + count?: InputMaybe; + creditCard?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + totalAmount?: InputMaybe; + withdrawalDate?: InputMaybe; +}; + +/** order by sum() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummarySumOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.credit_card_summary_total_by_account_view". All fields are combined with a logical 'AND'. */ +export type HouseholdCreditCardSummaryTotalByAccountViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + accountId?: InputMaybe; + date?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + total?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.credit_card_summary_total_by_account_view". */ +export type HouseholdCreditCardSummaryTotalByAccountViewOrderBy = { + accountId?: InputMaybe; + date?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + total?: InputMaybe; +}; + +/** select columns of table "household.credit_card_summary_total_by_account_view" */ +export type HouseholdCreditCardSummaryTotalByAccountViewSelectColumn = + /** column name */ + | "accountId" + /** column name */ + | "date" + /** column name */ + | "displayOrder" + /** column name */ + | "groupId" + /** column name */ + | "iocomeType" + /** column name */ + | "name" + /** column name */ + | "total"; + +/** Streaming cursor of the table "household_credit_card_summary_total_by_account_view" */ +export type HouseholdCreditCardSummaryTotalByAccountViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdCreditCardSummaryTotalByAccountViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdCreditCardSummaryTotalByAccountViewStreamCursorValueInput = + { + accountId?: InputMaybe; + date?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + total?: InputMaybe; + }; + +/** update columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryUpdateColumn = + /** column name */ + | "accountId" + /** column name */ + | "count" + /** column name */ + | "creditCard" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "totalAmount" + /** column name */ + | "withdrawalDate"; + +export type HouseholdCreditCardSummaryUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdCreditCardSummaryBoolExp; +}; + +/** order by varPop() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryVarPopOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryVarSampOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +/** order by variance() on columns of table "household.credit_card_summary" */ +export type HouseholdCreditCardSummaryVarianceOrderBy = { + count?: InputMaybe; + totalAmount?: InputMaybe; +}; + +export type HouseholdDailyDetailAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.daily_detail" */ +export type HouseholdDailyDetailAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.daily_detail" */ +export type HouseholdDailyDetailArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailAvgOrderBy = { + amount?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.daily_detail". All fields are combined with a logical 'AND'. */ +export type HouseholdDailyDetailBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + accountId?: InputMaybe; + amount?: InputMaybe; + category?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.daily_detail" */ +export type HouseholdDailyDetailConstraint = + /** unique or primary key constraint on columns "id" */ + "daily_detail_pkey"; + +/** input type for incrementing numeric columns in table "household.daily_detail" */ +export type HouseholdDailyDetailIncInput = { + amount?: InputMaybe; +}; + +/** input type for inserting data into table "household.daily_detail" */ +export type HouseholdDailyDetailInsertInput = { + account?: InputMaybe; + accountId?: InputMaybe; + amount?: InputMaybe; + category?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by max() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailMaxOrderBy = { + accountId?: InputMaybe; + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by min() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailMinOrderBy = { + accountId?: InputMaybe; + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + userId?: InputMaybe; +}; + +/** on_conflict condition type for table "household.daily_detail" */ +export type HouseholdDailyDetailOnConflict = { + constraint: HouseholdDailyDetailConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.daily_detail". */ +export type HouseholdDailyDetailOrderBy = { + account?: InputMaybe; + accountId?: InputMaybe; + amount?: InputMaybe; + category?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genre?: InputMaybe; + genreId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** primary key columns input for table: household.daily_detail */ +export type HouseholdDailyDetailPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.daily_detail" */ +export type HouseholdDailyDetailSelectColumn = + /** column name */ + | "accountId" + /** column name */ + | "amount" + /** column name */ + | "categoryId" + /** column name */ + | "date" + /** column name */ + | "genreId" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "iocomeType" + /** column name */ + | "memo" + /** column name */ + | "userId"; + +/** input type for updating data in table "household.daily_detail" */ +export type HouseholdDailyDetailSetInput = { + accountId?: InputMaybe; + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by stddev() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailStddevOrderBy = { + amount?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailStddevPopOrderBy = { + amount?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailStddevSampOrderBy = { + amount?: InputMaybe; +}; + +/** Streaming cursor of the table "household_daily_detail" */ +export type HouseholdDailyDetailStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdDailyDetailStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdDailyDetailStreamCursorValueInput = { + accountId?: InputMaybe; + amount?: InputMaybe; + categoryId?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + memo?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by sum() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailSumOrderBy = { + amount?: InputMaybe; +}; + +/** update columns of table "household.daily_detail" */ +export type HouseholdDailyDetailUpdateColumn = + /** column name */ + | "accountId" + /** column name */ + | "amount" + /** column name */ + | "categoryId" + /** column name */ + | "date" + /** column name */ + | "genreId" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "iocomeType" + /** column name */ + | "memo" + /** column name */ + | "userId"; + +export type HouseholdDailyDetailUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdDailyDetailBoolExp; +}; + +/** order by varPop() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailVarPopOrderBy = { + amount?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailVarSampOrderBy = { + amount?: InputMaybe; +}; + +/** order by variance() on columns of table "household.daily_detail" */ +export type HouseholdDailyDetailVarianceOrderBy = { + amount?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.daily_total_view". All fields are combined with a logical 'AND'. */ +export type HouseholdDailyTotalViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + date?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.daily_total_view". */ +export type HouseholdDailyTotalViewOrderBy = { + date?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** select columns of table "household.daily_total_view" */ +export type HouseholdDailyTotalViewSelectColumn = + /** column name */ + | "date" + /** column name */ + | "groupId" + /** column name */ + | "iocomeType" + /** column name */ + | "total"; + +/** Streaming cursor of the table "household_daily_total_view" */ +export type HouseholdDailyTotalViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdDailyTotalViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdDailyTotalViewStreamCursorValueInput = { + date?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** order by aggregate values of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by aggregate values of table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.dashboard_setting_args". All fields are combined with a logical 'AND'. */ +export type HouseholdDashboardSettingArgsBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + dashboardSetting?: InputMaybe; + id?: InputMaybe; + settingId?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsConstraint = + /** unique or primary key constraint on columns "id" */ + "dashboard_setting_args_pkey"; + +/** input type for inserting data into table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsInsertInput = { + dashboardSetting?: InputMaybe; + id?: InputMaybe; + settingId?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** order by max() on columns of table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsMaxOrderBy = { + id?: InputMaybe; + settingId?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** order by min() on columns of table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsMinOrderBy = { + id?: InputMaybe; + settingId?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** on_conflict condition type for table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsOnConflict = { + constraint: HouseholdDashboardSettingArgsConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.dashboard_setting_args". */ +export type HouseholdDashboardSettingArgsOrderBy = { + dashboardSetting?: InputMaybe; + id?: InputMaybe; + settingId?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** select columns of table "household.dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsSelectColumn = + /** column name */ + | "id" + /** column name */ + | "settingId" + /** column name */ + | "type" + /** column name */ + | "value"; + +/** Streaming cursor of the table "household_dashboard_setting_args" */ +export type HouseholdDashboardSettingArgsStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdDashboardSettingArgsStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdDashboardSettingArgsStreamCursorValueInput = { + id?: InputMaybe; + settingId?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** placeholder for update columns of table "household.dashboard_setting_args" (current role has no relevant permissions) */ +export type HouseholdDashboardSettingArgsUpdateColumn = + /** placeholder (do not use) */ + "_PLACEHOLDER"; + +/** order by avg() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingAvgOrderBy = { + order?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.dashboard_setting". All fields are combined with a logical 'AND'. */ +export type HouseholdDashboardSettingBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + dashboardSettingArgs?: InputMaybe; + feature?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.dashboard_setting" */ +export type HouseholdDashboardSettingConstraint = + /** unique or primary key constraint on columns "id" */ + "dashboard_setting_pkey"; + +/** input type for incrementing numeric columns in table "household.dashboard_setting" */ +export type HouseholdDashboardSettingIncInput = { + order?: InputMaybe; +}; + +/** input type for inserting data into table "household.dashboard_setting" */ +export type HouseholdDashboardSettingInsertInput = { + dashboardSettingArgs?: InputMaybe; + feature?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by max() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingMaxOrderBy = { + feature?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by min() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingMinOrderBy = { + feature?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + userId?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "household.dashboard_setting" */ +export type HouseholdDashboardSettingObjRelInsertInput = { + data: HouseholdDashboardSettingInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "household.dashboard_setting" */ +export type HouseholdDashboardSettingOnConflict = { + constraint: HouseholdDashboardSettingConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.dashboard_setting". */ +export type HouseholdDashboardSettingOrderBy = { + dashboardSettingArgsAggregate?: InputMaybe; + feature?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +/** primary key columns input for table: household.dashboard_setting */ +export type HouseholdDashboardSettingPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingSelectColumn = + /** column name */ + | "feature" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "order" + /** column name */ + | "userId"; + +/** input type for updating data in table "household.dashboard_setting" */ +export type HouseholdDashboardSettingSetInput = { + feature?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by stddev() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingStddevOrderBy = { + order?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingStddevPopOrderBy = { + order?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingStddevSampOrderBy = { + order?: InputMaybe; +}; + +/** Streaming cursor of the table "household_dashboard_setting" */ +export type HouseholdDashboardSettingStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdDashboardSettingStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdDashboardSettingStreamCursorValueInput = { + feature?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + userId?: InputMaybe; +}; + +/** order by sum() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingSumOrderBy = { + order?: InputMaybe; +}; + +/** update columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingUpdateColumn = + /** column name */ + | "feature" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "order" + /** column name */ + | "userId"; + +export type HouseholdDashboardSettingUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdDashboardSettingBoolExp; +}; + +/** order by varPop() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingVarPopOrderBy = { + order?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingVarSampOrderBy = { + order?: InputMaybe; +}; + +/** order by variance() on columns of table "household.dashboard_setting" */ +export type HouseholdDashboardSettingVarianceOrderBy = { + order?: InputMaybe; +}; + +export type HouseholdDepositCategoryAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.deposit_category" */ +export type HouseholdDepositCategoryAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.deposit_category". All fields are combined with a logical 'AND'. */ +export type HouseholdDepositCategoryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + category?: InputMaybe; + categoryId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; +}; + +/** order by max() on columns of table "household.deposit_category" */ +export type HouseholdDepositCategoryMaxOrderBy = { + categoryId?: InputMaybe; + groupId?: InputMaybe; +}; + +/** order by min() on columns of table "household.deposit_category" */ +export type HouseholdDepositCategoryMinOrderBy = { + categoryId?: InputMaybe; + groupId?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.deposit_category". */ +export type HouseholdDepositCategoryOrderBy = { + category?: InputMaybe; + categoryId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; +}; + +/** select columns of table "household.deposit_category" */ +export type HouseholdDepositCategorySelectColumn = + /** column name */ + | "categoryId" + /** column name */ + | "groupId"; + +/** Streaming cursor of the table "household_deposit_category" */ +export type HouseholdDepositCategoryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdDepositCategoryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdDepositCategoryStreamCursorValueInput = { + categoryId?: InputMaybe; + groupId?: InputMaybe; +}; + +export type HouseholdFavoriteFilterAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.favorite_filter" */ +export type HouseholdFavoriteFilterAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +export type HouseholdFavoriteFilterArgsAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.favorite_filter_args". All fields are combined with a logical 'AND'. */ +export type HouseholdFavoriteFilterArgsBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + favoriteFilter?: InputMaybe; + favoriteFilterArgCategoryId?: InputMaybe; + filterId?: InputMaybe; + id?: InputMaybe; + key?: InputMaybe; + value?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsConstraint = + /** unique or primary key constraint on columns "id" */ + "favorite_filter_args_pkey"; + +/** input type for inserting data into table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsInsertInput = { + favoriteFilter?: InputMaybe; + favoriteFilterArgCategoryId?: InputMaybe; + filterId?: InputMaybe; + id?: InputMaybe; + key?: InputMaybe; + value?: InputMaybe; +}; + +/** order by max() on columns of table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsMaxOrderBy = { + filterId?: InputMaybe; + id?: InputMaybe; + key?: InputMaybe; + value?: InputMaybe; +}; + +/** order by min() on columns of table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsMinOrderBy = { + filterId?: InputMaybe; + id?: InputMaybe; + key?: InputMaybe; + value?: InputMaybe; +}; + +/** on_conflict condition type for table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsOnConflict = { + constraint: HouseholdFavoriteFilterArgsConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.favorite_filter_args". */ +export type HouseholdFavoriteFilterArgsOrderBy = { + favoriteFilter?: InputMaybe; + favoriteFilterArgCategoryId?: InputMaybe; + filterId?: InputMaybe; + id?: InputMaybe; + key?: InputMaybe; + value?: InputMaybe; +}; + +/** primary key columns input for table: household.favorite_filter_args */ +export type HouseholdFavoriteFilterArgsPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsSelectColumn = + /** column name */ + | "filterId" + /** column name */ + | "id" + /** column name */ + | "key" + /** column name */ + | "value"; + +/** input type for updating data in table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsSetInput = { + key?: InputMaybe; + value?: InputMaybe; +}; + +/** update columns of table "household.favorite_filter_args" */ +export type HouseholdFavoriteFilterArgsUpdateColumn = + /** column name */ + | "key" + /** column name */ + | "value"; + +export type HouseholdFavoriteFilterArgsUpdates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdFavoriteFilterArgsBoolExp; +}; + +/** Boolean expression to filter rows from the table "household.favorite_filter". All fields are combined with a logical 'AND'. */ +export type HouseholdFavoriteFilterBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + favoriteFilterArgs?: InputMaybe; + favoriteFilterArgsAggregate?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.favorite_filter" */ +export type HouseholdFavoriteFilterConstraint = + /** unique or primary key constraint on columns "id" */ + "favorite_filter_pkey"; + +/** input type for inserting data into table "household.favorite_filter" */ +export type HouseholdFavoriteFilterInsertInput = { + favoriteFilterArgs?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** order by max() on columns of table "household.favorite_filter" */ +export type HouseholdFavoriteFilterMaxOrderBy = { + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "household.favorite_filter" */ +export type HouseholdFavoriteFilterMinOrderBy = { + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "household.favorite_filter" */ +export type HouseholdFavoriteFilterObjRelInsertInput = { + data: HouseholdFavoriteFilterInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "household.favorite_filter" */ +export type HouseholdFavoriteFilterOnConflict = { + constraint: HouseholdFavoriteFilterConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.favorite_filter". */ +export type HouseholdFavoriteFilterOrderBy = { + favoriteFilterArgsAggregate?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** primary key columns input for table: household.favorite_filter */ +export type HouseholdFavoriteFilterPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.favorite_filter" */ +export type HouseholdFavoriteFilterSelectColumn = + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "name"; + +/** input type for updating data in table "household.favorite_filter" */ +export type HouseholdFavoriteFilterSetInput = { + name?: InputMaybe; +}; + +/** update columns of table "household.favorite_filter" */ +export type HouseholdFavoriteFilterUpdateColumn = + /** column name */ + "name"; + +export type HouseholdFavoriteFilterUpdates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdFavoriteFilterBoolExp; +}; + +export type HouseholdGenreAggregateBoolExp = { + bool_and?: InputMaybe; + bool_or?: InputMaybe; + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.genre" */ +export type HouseholdGenreAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "household.genre" */ +export type HouseholdGenreAvgOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.genre". All fields are combined with a logical 'AND'. */ +export type HouseholdGenreBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + categories?: InputMaybe; + creditCardDetails?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + dailyDetails?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + displayOrder?: InputMaybe; + genreType?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.genre" */ +export type HouseholdGenreConstraint = + /** unique or primary key constraint on columns "id" */ + "genre_pkey"; + +/** input type for incrementing numeric columns in table "household.genre" */ +export type HouseholdGenreIncInput = { + displayOrder?: InputMaybe; +}; + +/** input type for inserting data into table "household.genre" */ +export type HouseholdGenreInsertInput = { + categories?: InputMaybe; + creditCardDetails?: InputMaybe; + dailyDetails?: InputMaybe; + displayOrder?: InputMaybe; + genreType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by max() on columns of table "household.genre" */ +export type HouseholdGenreMaxOrderBy = { + displayOrder?: InputMaybe; + genreType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "household.genre" */ +export type HouseholdGenreMinOrderBy = { + displayOrder?: InputMaybe; + genreType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "household.genre" */ +export type HouseholdGenreObjRelInsertInput = { + data: HouseholdGenreInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "household.genre" */ +export type HouseholdGenreOnConflict = { + constraint: HouseholdGenreConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.genre". */ +export type HouseholdGenreOrderBy = { + categoriesAggregate?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + displayOrder?: InputMaybe; + genreType?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** primary key columns input for table: household.genre */ +export type HouseholdGenrePkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "household.genre" */ +export type HouseholdGenreSelectColumn = + /** column name */ + | "displayOrder" + /** column name */ + | "genreType" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "iocomeType" + /** column name */ + | "name" + /** column name */ + | "validFlag"; + +/** select "householdGenreAggregateBoolExpBool_andArgumentsColumns" columns of table "household.genre" */ +export type HouseholdGenreSelectColumnHouseholdGenreAggregateBoolExpBool_AndArgumentsColumns = + /** column name */ + "validFlag"; + +/** select "householdGenreAggregateBoolExpBool_orArgumentsColumns" columns of table "household.genre" */ +export type HouseholdGenreSelectColumnHouseholdGenreAggregateBoolExpBool_OrArgumentsColumns = + /** column name */ + "validFlag"; + +/** input type for updating data in table "household.genre" */ +export type HouseholdGenreSetInput = { + displayOrder?: InputMaybe; + genreType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by stddev() on columns of table "household.genre" */ +export type HouseholdGenreStddevOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.genre" */ +export type HouseholdGenreStddevPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.genre" */ +export type HouseholdGenreStddevSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Streaming cursor of the table "household_genre" */ +export type HouseholdGenreStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdGenreStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdGenreStreamCursorValueInput = { + displayOrder?: InputMaybe; + genreType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + iocomeType?: InputMaybe; + name?: InputMaybe; + validFlag?: InputMaybe; +}; + +/** order by sum() on columns of table "household.genre" */ +export type HouseholdGenreSumOrderBy = { + displayOrder?: InputMaybe; +}; + +/** update columns of table "household.genre" */ +export type HouseholdGenreUpdateColumn = + /** column name */ + | "displayOrder" + /** column name */ + | "genreType" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "iocomeType" + /** column name */ + | "name" + /** column name */ + | "validFlag"; + +export type HouseholdGenreUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: HouseholdGenreBoolExp; +}; + +/** order by varPop() on columns of table "household.genre" */ +export type HouseholdGenreVarPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.genre" */ +export type HouseholdGenreVarSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by variance() on columns of table "household.genre" */ +export type HouseholdGenreVarianceOrderBy = { + displayOrder?: InputMaybe; +}; + +export type HouseholdImportFileHistoryAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.import_file_history" */ +export type HouseholdImportFileHistoryAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.import_file_history". All fields are combined with a logical 'AND'. */ +export type HouseholdImportFileHistoryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + fileName?: InputMaybe; + fileType?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importUserId?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.import_file_history" */ +export type HouseholdImportFileHistoryConstraint = + /** unique or primary key constraint on columns "id" */ + "import_file_history_pkey"; + +/** input type for inserting data into table "household.import_file_history" */ +export type HouseholdImportFileHistoryInsertInput = { + fileName?: InputMaybe; + fileType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importUserId?: InputMaybe; +}; + +/** order by max() on columns of table "household.import_file_history" */ +export type HouseholdImportFileHistoryMaxOrderBy = { + fileName?: InputMaybe; + fileType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importUserId?: InputMaybe; +}; + +/** order by min() on columns of table "household.import_file_history" */ +export type HouseholdImportFileHistoryMinOrderBy = { + fileName?: InputMaybe; + fileType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importUserId?: InputMaybe; +}; + +/** on_conflict condition type for table "household.import_file_history" */ +export type HouseholdImportFileHistoryOnConflict = { + constraint: HouseholdImportFileHistoryConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.import_file_history". */ +export type HouseholdImportFileHistoryOrderBy = { + fileName?: InputMaybe; + fileType?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importUserId?: InputMaybe; +}; + +/** select columns of table "household.import_file_history" */ +export type HouseholdImportFileHistorySelectColumn = + /** column name */ + | "fileName" + /** column name */ + | "fileType" + /** column name */ + | "groupId" + /** column name */ + | "id" + /** column name */ + | "importDatetime" + /** column name */ + | "importUserId"; + +/** Streaming cursor of the table "household_import_file_history" */ +export type HouseholdImportFileHistoryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdImportFileHistoryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdImportFileHistoryStreamCursorValueInput = { + fileName?: InputMaybe; + fileType?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importUserId?: InputMaybe; +}; + +/** placeholder for update columns of table "household.import_file_history" (current role has no relevant permissions) */ +export type HouseholdImportFileHistoryUpdateColumn = + /** placeholder (do not use) */ + "_PLACEHOLDER"; + +export type HouseholdSummaryCategoryAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.summary_category" */ +export type HouseholdSummaryCategoryAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "household.summary_category" */ +export type HouseholdSummaryCategoryArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryAvgOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.summary_category". All fields are combined with a logical 'AND'. */ +export type HouseholdSummaryCategoryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + category?: InputMaybe; + categoryId?: InputMaybe; + displayOrder?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** unique or primary key constraints on table "household.summary_category" */ +export type HouseholdSummaryCategoryConstraint = + /** unique or primary key constraint on columns "id" */ + "summary_category_by_group_pkey"; + +/** input type for inserting data into table "household.summary_category" */ +export type HouseholdSummaryCategoryInsertInput = { + category?: InputMaybe; + categoryId?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** order by max() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryMaxOrderBy = { + categoryId?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** order by min() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryMinOrderBy = { + categoryId?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** on_conflict condition type for table "household.summary_category" */ +export type HouseholdSummaryCategoryOnConflict = { + constraint: HouseholdSummaryCategoryConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.summary_category". */ +export type HouseholdSummaryCategoryOrderBy = { + category?: InputMaybe; + categoryId?: InputMaybe; + displayOrder?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** select columns of table "household.summary_category" */ +export type HouseholdSummaryCategorySelectColumn = + /** column name */ + | "categoryId" + /** column name */ + | "displayOrder" + /** column name */ + | "groupId" + /** column name */ + | "id"; + +/** order by stddev() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryStddevOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryStddevPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryStddevSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** Streaming cursor of the table "household_summary_category" */ +export type HouseholdSummaryCategoryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdSummaryCategoryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdSummaryCategoryStreamCursorValueInput = { + categoryId?: InputMaybe; + displayOrder?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; +}; + +/** order by sum() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategorySumOrderBy = { + displayOrder?: InputMaybe; +}; + +/** placeholder for update columns of table "household.summary_category" (current role has no relevant permissions) */ +export type HouseholdSummaryCategoryUpdateColumn = + /** placeholder (do not use) */ + "_PLACEHOLDER"; + +/** order by varPop() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryVarPopOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryVarSampOrderBy = { + displayOrder?: InputMaybe; +}; + +/** order by variance() on columns of table "household.summary_category" */ +export type HouseholdSummaryCategoryVarianceOrderBy = { + displayOrder?: InputMaybe; +}; + +export type HouseholdTotalByCategoryViewAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewAvgOrderBy = { + total?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.total_by_category_view". All fields are combined with a logical 'AND'. */ +export type HouseholdTotalByCategoryViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + categoryId?: InputMaybe; + categoryName?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** order by max() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewMaxOrderBy = { + categoryId?: InputMaybe; + categoryName?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** order by min() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewMinOrderBy = { + categoryId?: InputMaybe; + categoryName?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.total_by_category_view". */ +export type HouseholdTotalByCategoryViewOrderBy = { + categoryId?: InputMaybe; + categoryName?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** select columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewSelectColumn = + /** column name */ + | "categoryId" + /** column name */ + | "categoryName" + /** column name */ + | "date" + /** column name */ + | "genreId" + /** column name */ + | "genreName" + /** column name */ + | "groupId" + /** column name */ + | "iocomeType" + /** column name */ + | "total"; + +/** order by stddev() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewStddevOrderBy = { + total?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewStddevPopOrderBy = { + total?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewStddevSampOrderBy = { + total?: InputMaybe; +}; + +/** Streaming cursor of the table "household_total_by_category_view" */ +export type HouseholdTotalByCategoryViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdTotalByCategoryViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdTotalByCategoryViewStreamCursorValueInput = { + categoryId?: InputMaybe; + categoryName?: InputMaybe; + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** order by sum() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewSumOrderBy = { + total?: InputMaybe; +}; + +/** order by varPop() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewVarPopOrderBy = { + total?: InputMaybe; +}; + +/** order by varSamp() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewVarSampOrderBy = { + total?: InputMaybe; +}; + +/** order by variance() on columns of table "household.total_by_category_view" */ +export type HouseholdTotalByCategoryViewVarianceOrderBy = { + total?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.total_by_genre_view". All fields are combined with a logical 'AND'. */ +export type HouseholdTotalByGenreViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.total_by_genre_view". */ +export type HouseholdTotalByGenreViewOrderBy = { + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +/** select columns of table "household.total_by_genre_view" */ +export type HouseholdTotalByGenreViewSelectColumn = + /** column name */ + | "date" + /** column name */ + | "genreId" + /** column name */ + | "genreName" + /** column name */ + | "groupId" + /** column name */ + | "iocomeType" + /** column name */ + | "total"; + +/** Streaming cursor of the table "household_total_by_genre_view" */ +export type HouseholdTotalByGenreViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdTotalByGenreViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdTotalByGenreViewStreamCursorValueInput = { + date?: InputMaybe; + genreId?: InputMaybe; + genreName?: InputMaybe; + groupId?: InputMaybe; + iocomeType?: InputMaybe; + total?: InputMaybe; +}; + +export type HouseholdTransferCategoryAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "household.transfer_category" */ +export type HouseholdTransferCategoryAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "household.transfer_category". All fields are combined with a logical 'AND'. */ +export type HouseholdTransferCategoryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + categoryByIncomeCategoryId?: InputMaybe; + categoryByOutcomeCategoryId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + incomeCategoryId?: InputMaybe; + outcomeCategoryId?: InputMaybe; +}; + +/** order by max() on columns of table "household.transfer_category" */ +export type HouseholdTransferCategoryMaxOrderBy = { + groupId?: InputMaybe; + incomeCategoryId?: InputMaybe; + outcomeCategoryId?: InputMaybe; +}; + +/** order by min() on columns of table "household.transfer_category" */ +export type HouseholdTransferCategoryMinOrderBy = { + groupId?: InputMaybe; + incomeCategoryId?: InputMaybe; + outcomeCategoryId?: InputMaybe; +}; + +/** Ordering options when selecting data from "household.transfer_category". */ +export type HouseholdTransferCategoryOrderBy = { + categoryByIncomeCategoryId?: InputMaybe; + categoryByOutcomeCategoryId?: InputMaybe; + group?: InputMaybe; + groupId?: InputMaybe; + incomeCategoryId?: InputMaybe; + outcomeCategoryId?: InputMaybe; +}; + +/** select columns of table "household.transfer_category" */ +export type HouseholdTransferCategorySelectColumn = + /** column name */ + | "groupId" + /** column name */ + | "incomeCategoryId" + /** column name */ + | "outcomeCategoryId"; + +/** Streaming cursor of the table "household_transfer_category" */ +export type HouseholdTransferCategoryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: HouseholdTransferCategoryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HouseholdTransferCategoryStreamCursorValueInput = { + groupId?: InputMaybe; + incomeCategoryId?: InputMaybe; + outcomeCategoryId?: InputMaybe; +}; + +/** order by aggregate values of table "import_file_history" */ +export type ImportFileHistoryAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "import_file_history" */ +export type ImportFileHistoryArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "import_file_history" */ +export type ImportFileHistoryAvgOrderBy = { + count?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "import_file_history". All fields are combined with a logical 'AND'. */ +export type ImportFileHistoryBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + app?: InputMaybe; + appId?: InputMaybe; + count?: InputMaybe; + fileName?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importFileRecords?: InputMaybe; + importFileRecordsAggregate?: InputMaybe; +}; + +/** unique or primary key constraints on table "import_file_history" */ +export type ImportFileHistoryConstraint = + /** unique or primary key constraint on columns "id" */ + "import_file_history_pkey"; + +/** input type for inserting data into table "import_file_history" */ +export type ImportFileHistoryInsertInput = { + app?: InputMaybe; + appId?: InputMaybe; + count?: InputMaybe; + fileName?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importFileRecords?: InputMaybe; +}; + +/** order by max() on columns of table "import_file_history" */ +export type ImportFileHistoryMaxOrderBy = { + appId?: InputMaybe; + count?: InputMaybe; + fileName?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; +}; + +/** order by min() on columns of table "import_file_history" */ +export type ImportFileHistoryMinOrderBy = { + appId?: InputMaybe; + count?: InputMaybe; + fileName?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "import_file_history" */ +export type ImportFileHistoryObjRelInsertInput = { + data: ImportFileHistoryInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "import_file_history" */ +export type ImportFileHistoryOnConflict = { + constraint: ImportFileHistoryConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "import_file_history". */ +export type ImportFileHistoryOrderBy = { + app?: InputMaybe; + appId?: InputMaybe; + count?: InputMaybe; + fileName?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; + importFileRecordsAggregate?: InputMaybe; +}; + +/** select columns of table "import_file_history" */ +export type ImportFileHistorySelectColumn = + /** column name */ + | "appId" + /** column name */ + | "count" + /** column name */ + | "fileName" + /** column name */ + | "id" + /** column name */ + | "importDatetime"; + +/** order by stddev() on columns of table "import_file_history" */ +export type ImportFileHistoryStddevOrderBy = { + count?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "import_file_history" */ +export type ImportFileHistoryStddevPopOrderBy = { + count?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "import_file_history" */ +export type ImportFileHistoryStddevSampOrderBy = { + count?: InputMaybe; +}; + +/** Streaming cursor of the table "import_file_history" */ +export type ImportFileHistoryStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ImportFileHistoryStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ImportFileHistoryStreamCursorValueInput = { + appId?: InputMaybe; + count?: InputMaybe; + fileName?: InputMaybe; + id?: InputMaybe; + importDatetime?: InputMaybe; +}; + +/** order by sum() on columns of table "import_file_history" */ +export type ImportFileHistorySumOrderBy = { + count?: InputMaybe; +}; + +/** placeholder for update columns of table "import_file_history" (current role has no relevant permissions) */ +export type ImportFileHistoryUpdateColumn = + /** placeholder (do not use) */ + "_PLACEHOLDER"; + +/** order by varPop() on columns of table "import_file_history" */ +export type ImportFileHistoryVarPopOrderBy = { + count?: InputMaybe; +}; + +/** order by varSamp() on columns of table "import_file_history" */ +export type ImportFileHistoryVarSampOrderBy = { + count?: InputMaybe; +}; + +/** order by variance() on columns of table "import_file_history" */ +export type ImportFileHistoryVarianceOrderBy = { + count?: InputMaybe; +}; + +export type ImportFileRecordAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "import_file_record" */ +export type ImportFileRecordAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "import_file_record" */ +export type ImportFileRecordArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "import_file_record". All fields are combined with a logical 'AND'. */ +export type ImportFileRecordBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + app?: InputMaybe; + appId?: InputMaybe; + historyId?: InputMaybe; + importFileHistory?: InputMaybe; + record?: InputMaybe; + recordId?: InputMaybe; +}; + +/** unique or primary key constraints on table "import_file_record" */ +export type ImportFileRecordConstraint = + /** unique or primary key constraint on columns "record_id" */ + "import_file_record_pkey"; + +/** input type for inserting data into table "import_file_record" */ +export type ImportFileRecordInsertInput = { + app?: InputMaybe; + appId?: InputMaybe; + historyId?: InputMaybe; + importFileHistory?: InputMaybe; + record?: InputMaybe; + recordId?: InputMaybe; +}; + +/** order by max() on columns of table "import_file_record" */ +export type ImportFileRecordMaxOrderBy = { + appId?: InputMaybe; + historyId?: InputMaybe; + recordId?: InputMaybe; +}; + +/** order by min() on columns of table "import_file_record" */ +export type ImportFileRecordMinOrderBy = { + appId?: InputMaybe; + historyId?: InputMaybe; + recordId?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "import_file_record" */ +export type ImportFileRecordObjRelInsertInput = { + data: ImportFileRecordInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "import_file_record" */ +export type ImportFileRecordOnConflict = { + constraint: ImportFileRecordConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "import_file_record". */ +export type ImportFileRecordOrderBy = { + app?: InputMaybe; + appId?: InputMaybe; + historyId?: InputMaybe; + importFileHistory?: InputMaybe; + record?: InputMaybe; + recordId?: InputMaybe; +}; + +/** select columns of table "import_file_record" */ +export type ImportFileRecordSelectColumn = + /** column name */ + | "appId" + /** column name */ + | "historyId" + /** column name */ + | "recordId"; + +/** Streaming cursor of the table "import_file_record" */ +export type ImportFileRecordStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ImportFileRecordStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ImportFileRecordStreamCursorValueInput = { + appId?: InputMaybe; + historyId?: InputMaybe; + recordId?: InputMaybe; +}; + +/** placeholder for update columns of table "import_file_record" (current role has no relevant permissions) */ +export type ImportFileRecordUpdateColumn = + /** placeholder (do not use) */ + "_PLACEHOLDER"; + +/** Boolean expression to filter rows from the table "import_file_setting". All fields are combined with a logical 'AND'. */ +export type ImportFileSettingBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + app?: InputMaybe; + appId?: InputMaybe; + settings?: InputMaybe; +}; + +/** unique or primary key constraints on table "import_file_setting" */ +export type ImportFileSettingConstraint = + /** unique or primary key constraint on columns "app_id" */ + "import_file_setting_pkey"; + +/** input type for inserting data into table "import_file_setting" */ +export type ImportFileSettingInsertInput = { + app?: InputMaybe; + appId?: InputMaybe; + settings?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "import_file_setting" */ +export type ImportFileSettingObjRelInsertInput = { + data: ImportFileSettingInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "import_file_setting" */ +export type ImportFileSettingOnConflict = { + constraint: ImportFileSettingConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "import_file_setting". */ +export type ImportFileSettingOrderBy = { + app?: InputMaybe; + appId?: InputMaybe; + settings?: InputMaybe; +}; + +/** primary key columns input for table: import_file_setting */ +export type ImportFileSettingPkColumnsInput = { + appId: Scalars["String"]; +}; + +/** select columns of table "import_file_setting" */ +export type ImportFileSettingSelectColumn = + /** column name */ + | "appId" + /** column name */ + | "settings"; + +/** input type for updating data in table "import_file_setting" */ +export type ImportFileSettingSetInput = { + settings?: InputMaybe; +}; + +/** Streaming cursor of the table "import_file_setting" */ +export type ImportFileSettingStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ImportFileSettingStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ImportFileSettingStreamCursorValueInput = { + appId?: InputMaybe; + settings?: InputMaybe; +}; + +/** update columns of table "import_file_setting" */ +export type ImportFileSettingUpdateColumn = + /** column name */ + "settings"; + +export type ImportFileSettingUpdates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: ImportFileSettingBoolExp; +}; + +/** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ +export type IntComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ +export type JsonComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to filter rows from the table "link_database". All fields are combined with a logical 'AND'. */ +export type LinkDatabaseBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + appId?: InputMaybe; + connection?: InputMaybe; + database?: InputMaybe; + fieldColumnMaps?: InputMaybe; + parameters?: InputMaybe; + sql?: InputMaybe; +}; + +/** unique or primary key constraints on table "link_database" */ +export type LinkDatabaseConstraint = + /** unique or primary key constraint on columns "app_id" */ + "link_database_pkey"; + +/** input type for inserting data into table "link_database" */ +export type LinkDatabaseInsertInput = { + appId?: InputMaybe; + connection?: InputMaybe; + database?: InputMaybe; + fieldColumnMaps?: InputMaybe; + parameters?: InputMaybe; + sql?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "link_database" */ +export type LinkDatabaseObjRelInsertInput = { + data: LinkDatabaseInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "link_database" */ +export type LinkDatabaseOnConflict = { + constraint: LinkDatabaseConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "link_database". */ +export type LinkDatabaseOrderBy = { + appId?: InputMaybe; + connection?: InputMaybe; + database?: InputMaybe; + fieldColumnMaps?: InputMaybe; + parameters?: InputMaybe; + sql?: InputMaybe; +}; + +/** primary key columns input for table: link_database */ +export type LinkDatabasePkColumnsInput = { + appId: Scalars["String"]; +}; + +/** select columns of table "link_database" */ +export type LinkDatabaseSelectColumn = + /** column name */ + | "appId" + /** column name */ + | "connection" + /** column name */ + | "database" + /** column name */ + | "fieldColumnMaps" + /** column name */ + | "parameters" + /** column name */ + | "sql"; + +/** input type for updating data in table "link_database" */ +export type LinkDatabaseSetInput = { + appId?: InputMaybe; + connection?: InputMaybe; + database?: InputMaybe; + fieldColumnMaps?: InputMaybe; + parameters?: InputMaybe; + sql?: InputMaybe; +}; + +/** Streaming cursor of the table "link_database" */ +export type LinkDatabaseStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: LinkDatabaseStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type LinkDatabaseStreamCursorValueInput = { + appId?: InputMaybe; + connection?: InputMaybe; + database?: InputMaybe; + fieldColumnMaps?: InputMaybe; + parameters?: InputMaybe; + sql?: InputMaybe; +}; + +/** update columns of table "link_database" */ +export type LinkDatabaseUpdateColumn = + /** column name */ + | "appId" + /** column name */ + | "connection" + /** column name */ + | "database" + /** column name */ + | "fieldColumnMaps" + /** column name */ + | "parameters" + /** column name */ + | "sql"; + +export type LinkDatabaseUpdates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: LinkDatabaseBoolExp; +}; + +/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ +export type NumericComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** column ordering options */ +export type OrderBy = + /** in ascending order, nulls last */ + | "ASC" + /** in ascending order, nulls first */ + | "ASC_NULLS_FIRST" + /** in ascending order, nulls last */ + | "ASC_NULLS_LAST" + /** in descending order, nulls first */ + | "DESC" + /** in descending order, nulls first */ + | "DESC_NULLS_FIRST" + /** in descending order, nulls last */ + | "DESC_NULLS_LAST"; + +export type RecordAggregateBoolExp = { + count?: InputMaybe; +}; + +/** order by aggregate values of table "record" */ +export type RecordAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "record" */ +export type RecordArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "record" */ +export type RecordAvgOrderBy = { + index?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "record". All fields are combined with a logical 'AND'. */ +export type RecordBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + app?: InputMaybe; + appId?: InputMaybe; + columns?: InputMaybe; + id?: InputMaybe; + importFileRecord?: InputMaybe; + index?: InputMaybe; +}; + +/** unique or primary key constraints on table "record" */ +export type RecordConstraint = + /** unique or primary key constraint on columns "id" */ + "record_pkey"; + +/** input type for incrementing numeric columns in table "record" */ +export type RecordIncInput = { + index?: InputMaybe; +}; + +/** input type for inserting data into table "record" */ +export type RecordInsertInput = { + app?: InputMaybe; + appId?: InputMaybe; + columns?: InputMaybe; + id?: InputMaybe; + importFileRecord?: InputMaybe; + index?: InputMaybe; +}; + +/** order by max() on columns of table "record" */ +export type RecordMaxOrderBy = { + appId?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; +}; + +/** order by min() on columns of table "record" */ +export type RecordMinOrderBy = { + appId?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "record" */ +export type RecordObjRelInsertInput = { + data: RecordInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "record" */ +export type RecordOnConflict = { + constraint: RecordConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "record". */ +export type RecordOrderBy = { + app?: InputMaybe; + appId?: InputMaybe; + columns?: InputMaybe; + id?: InputMaybe; + importFileRecord?: InputMaybe; + index?: InputMaybe; +}; + +/** primary key columns input for table: record */ +export type RecordPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "record" */ +export type RecordSelectColumn = + /** column name */ + | "appId" + /** column name */ + | "columns" + /** column name */ + | "id" + /** column name */ + | "index"; + +/** input type for updating data in table "record" */ +export type RecordSetInput = { + columns?: InputMaybe; + index?: InputMaybe; +}; + +/** order by stddev() on columns of table "record" */ +export type RecordStddevOrderBy = { + index?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "record" */ +export type RecordStddevPopOrderBy = { + index?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "record" */ +export type RecordStddevSampOrderBy = { + index?: InputMaybe; +}; + +/** Streaming cursor of the table "record" */ +export type RecordStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: RecordStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type RecordStreamCursorValueInput = { + appId?: InputMaybe; + columns?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; +}; + +/** order by sum() on columns of table "record" */ +export type RecordSumOrderBy = { + index?: InputMaybe; +}; + +/** update columns of table "record" */ +export type RecordUpdateColumn = + /** column name */ + | "columns" + /** column name */ + | "index"; + +export type RecordUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: RecordBoolExp; +}; + +/** order by varPop() on columns of table "record" */ +export type RecordVarPopOrderBy = { + index?: InputMaybe; +}; + +/** order by varSamp() on columns of table "record" */ +export type RecordVarSampOrderBy = { + index?: InputMaybe; +}; + +/** order by variance() on columns of table "record" */ +export type RecordVarianceOrderBy = { + index?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ +export type StringComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + /** does the column match the given case-insensitive pattern */ + _ilike?: InputMaybe; + _in?: InputMaybe>; + /** does the column match the given POSIX regular expression, case insensitive */ + _iregex?: InputMaybe; + _isNull?: InputMaybe; + /** does the column match the given pattern */ + _like?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + /** does the column NOT match the given case-insensitive pattern */ + _nilike?: InputMaybe; + _nin?: InputMaybe>; + /** does the column NOT match the given POSIX regular expression, case insensitive */ + _niregex?: InputMaybe; + /** does the column NOT match the given pattern */ + _nlike?: InputMaybe; + /** does the column NOT match the given POSIX regular expression, case sensitive */ + _nregex?: InputMaybe; + /** does the column NOT match the given SQL regular expression */ + _nsimilar?: InputMaybe; + /** does the column match the given POSIX regular expression, case sensitive */ + _regex?: InputMaybe; + /** does the column match the given SQL regular expression */ + _similar?: InputMaybe; +}; + +/** order by aggregate values of table "summary_view" */ +export type SummaryViewAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "summary_view" */ +export type SummaryViewArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "summary_view". All fields are combined with a logical 'AND'. */ +export type SummaryViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + group?: InputMaybe; + groupId?: InputMaybe; + groupingFields?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryFields?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** unique or primary key constraints on table "summary_view" */ +export type SummaryViewConstraint = + /** unique or primary key constraint on columns "id" */ + "summary_view_pkey"; + +/** input type for inserting data into table "summary_view" */ +export type SummaryViewInsertInput = { + groupId?: InputMaybe; + groupingFields?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryFields?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by max() on columns of table "summary_view" */ +export type SummaryViewMaxOrderBy = { + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by min() on columns of table "summary_view" */ +export type SummaryViewMinOrderBy = { + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + viewId?: InputMaybe; +}; + +/** on_conflict condition type for table "summary_view" */ +export type SummaryViewOnConflict = { + constraint: SummaryViewConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "summary_view". */ +export type SummaryViewOrderBy = { + group?: InputMaybe; + groupId?: InputMaybe; + groupingFields?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryFields?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** select columns of table "summary_view" */ +export type SummaryViewSelectColumn = + /** column name */ + | "groupId" + /** column name */ + | "groupingFields" + /** column name */ + | "id" + /** column name */ + | "name" + /** column name */ + | "summaryFields" + /** column name */ + | "viewId"; + +/** Streaming cursor of the table "summary_view" */ +export type SummaryViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: SummaryViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type SummaryViewStreamCursorValueInput = { + groupId?: InputMaybe; + groupingFields?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryFields?: InputMaybe; + viewId?: InputMaybe; +}; + +/** placeholder for update columns of table "summary_view" (current role has no relevant permissions) */ +export type SummaryViewUpdateColumn = + /** placeholder (do not use) */ + "_PLACEHOLDER"; + +/** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ +export type TimestampComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ +export type TimestamptzComparisonExp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _isNull?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to filter rows from the table "user". All fields are combined with a logical 'AND'. */ +export type UserBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + affiliations?: InputMaybe; + affiliationsAggregate?: InputMaybe; + apps?: InputMaybe; + creditCardDetails?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + dailyDetails?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + displayOrder?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + views?: InputMaybe; +}; + +/** unique or primary key constraints on table "user" */ +export type UserConstraint = + /** unique or primary key constraint on columns "email" */ + | "user_email_key" + /** unique or primary key constraint on columns "id" */ + | "user_pkey"; + +/** input type for inserting data into table "user" */ +export type UserInsertInput = { + affiliations?: InputMaybe; + apps?: InputMaybe; + creditCardDetails?: InputMaybe; + dailyDetails?: InputMaybe; + displayOrder?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + views?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "user" */ +export type UserObjRelInsertInput = { + data: UserInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "user" */ +export type UserOnConflict = { + constraint: UserConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "user". */ +export type UserOrderBy = { + affiliationsAggregate?: InputMaybe; + appsAggregate?: InputMaybe; + creditCardDetailsAggregate?: InputMaybe; + dailyDetailsAggregate?: InputMaybe; + displayOrder?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + viewsAggregate?: InputMaybe; +}; + +/** select columns of table "user" */ +export type UserSelectColumn = + /** column name */ + | "displayOrder" + /** column name */ + | "email" + /** column name */ + | "id" + /** column name */ + | "name"; + +/** Streaming cursor of the table "user" */ +export type UserStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: UserStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type UserStreamCursorValueInput = { + displayOrder?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** placeholder for update columns of table "user" (current role has no relevant permissions) */ +export type UserUpdateColumn = + /** placeholder (do not use) */ + "_PLACEHOLDER"; + +/** order by aggregate values of table "view" */ +export type ViewAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** order by aggregate values of table "view_app" */ +export type ViewAppAggregateOrderBy = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "view_app" */ +export type ViewAppArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "view_app". All fields are combined with a logical 'AND'. */ +export type ViewAppBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + app?: InputMaybe; + appId?: InputMaybe; + fields?: InputMaybe; + id?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** unique or primary key constraints on table "view_app" */ +export type ViewAppConstraint = + /** unique or primary key constraint on columns "id" */ + "view_app_pkey"; + +/** input type for inserting data into table "view_app" */ +export type ViewAppInsertInput = { + app?: InputMaybe; + appId?: InputMaybe; + fields?: InputMaybe; + id?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by max() on columns of table "view_app" */ +export type ViewAppMaxOrderBy = { + appId?: InputMaybe; + id?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by min() on columns of table "view_app" */ +export type ViewAppMinOrderBy = { + appId?: InputMaybe; + id?: InputMaybe; + viewId?: InputMaybe; +}; + +/** on_conflict condition type for table "view_app" */ +export type ViewAppOnConflict = { + constraint: ViewAppConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "view_app". */ +export type ViewAppOrderBy = { + app?: InputMaybe; + appId?: InputMaybe; + fields?: InputMaybe; + id?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** select columns of table "view_app" */ +export type ViewAppSelectColumn = + /** column name */ + | "appId" + /** column name */ + | "fields" + /** column name */ + | "id" + /** column name */ + | "viewId"; + +/** Streaming cursor of the table "view_app" */ +export type ViewAppStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ViewAppStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ViewAppStreamCursorValueInput = { + appId?: InputMaybe; + fields?: InputMaybe; + id?: InputMaybe; + viewId?: InputMaybe; +}; + +/** placeholder for update columns of table "view_app" (current role has no relevant permissions) */ +export type ViewAppUpdateColumn = + /** placeholder (do not use) */ + "_PLACEHOLDER"; + +/** input type for inserting array relation for remote table "view" */ +export type ViewArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "view". All fields are combined with a logical 'AND'. */ +export type ViewBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + group?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryViews?: InputMaybe; + user?: InputMaybe; + viewApps?: InputMaybe; + viewFields?: InputMaybe; +}; + +/** unique or primary key constraints on table "view" */ +export type ViewConstraint = + /** unique or primary key constraint on columns "id" */ + "view_pkey"; + +/** order by aggregate values of table "view_field" */ +export type ViewFieldAggregateOrderBy = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddevPop?: InputMaybe; + stddevSamp?: InputMaybe; + sum?: InputMaybe; + varPop?: InputMaybe; + varSamp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "view_field" */ +export type ViewFieldArrRelInsertInput = { + data: Array; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** order by avg() on columns of table "view_field" */ +export type ViewFieldAvgOrderBy = { + index?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "view_field". All fields are combined with a logical 'AND'. */ +export type ViewFieldBoolExp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** unique or primary key constraints on table "view_field" */ +export type ViewFieldConstraint = + /** unique or primary key constraint on columns "id" */ + "view_field_pkey"; + +/** input type for incrementing numeric columns in table "view_field" */ +export type ViewFieldIncInput = { + index?: InputMaybe; +}; + +/** input type for inserting data into table "view_field" */ +export type ViewFieldInsertInput = { + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by max() on columns of table "view_field" */ +export type ViewFieldMaxOrderBy = { + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by min() on columns of table "view_field" */ +export type ViewFieldMinOrderBy = { + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + viewId?: InputMaybe; +}; + +/** on_conflict condition type for table "view_field" */ +export type ViewFieldOnConflict = { + constraint: ViewFieldConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "view_field". */ +export type ViewFieldOrderBy = { + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; + view?: InputMaybe; + viewId?: InputMaybe; +}; + +/** primary key columns input for table: view_field */ +export type ViewFieldPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "view_field" */ +export type ViewFieldSelectColumn = + /** column name */ + | "fieldKind" + /** column name */ + | "id" + /** column name */ + | "index" + /** column name */ + | "name" + /** column name */ + | "options" + /** column name */ + | "viewId"; + +/** input type for updating data in table "view_field" */ +export type ViewFieldSetInput = { + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; +}; + +/** order by stddev() on columns of table "view_field" */ +export type ViewFieldStddevOrderBy = { + index?: InputMaybe; +}; + +/** order by stddevPop() on columns of table "view_field" */ +export type ViewFieldStddevPopOrderBy = { + index?: InputMaybe; +}; + +/** order by stddevSamp() on columns of table "view_field" */ +export type ViewFieldStddevSampOrderBy = { + index?: InputMaybe; +}; + +/** Streaming cursor of the table "view_field" */ +export type ViewFieldStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ViewFieldStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ViewFieldStreamCursorValueInput = { + fieldKind?: InputMaybe; + id?: InputMaybe; + index?: InputMaybe; + name?: InputMaybe; + options?: InputMaybe; + viewId?: InputMaybe; +}; + +/** order by sum() on columns of table "view_field" */ +export type ViewFieldSumOrderBy = { + index?: InputMaybe; +}; + +/** update columns of table "view_field" */ +export type ViewFieldUpdateColumn = + /** column name */ + | "index" + /** column name */ + | "name" + /** column name */ + | "options"; + +export type ViewFieldUpdates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: ViewFieldBoolExp; +}; + +/** order by varPop() on columns of table "view_field" */ +export type ViewFieldVarPopOrderBy = { + index?: InputMaybe; +}; + +/** order by varSamp() on columns of table "view_field" */ +export type ViewFieldVarSampOrderBy = { + index?: InputMaybe; +}; + +/** order by variance() on columns of table "view_field" */ +export type ViewFieldVarianceOrderBy = { + index?: InputMaybe; +}; + +/** input type for inserting data into table "view" */ +export type ViewInsertInput = { + createUserId?: InputMaybe; + groupId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryViews?: InputMaybe; + user?: InputMaybe; + viewApps?: InputMaybe; + viewFields?: InputMaybe; +}; + +/** order by max() on columns of table "view" */ +export type ViewMaxOrderBy = { + id?: InputMaybe; + name?: InputMaybe; +}; + +/** order by min() on columns of table "view" */ +export type ViewMinOrderBy = { + id?: InputMaybe; + name?: InputMaybe; +}; + +/** input type for inserting object relation for remote table "view" */ +export type ViewObjRelInsertInput = { + data: ViewInsertInput; + /** upsert condition */ + onConflict?: InputMaybe; +}; + +/** on_conflict condition type for table "view" */ +export type ViewOnConflict = { + constraint: ViewConstraint; + updateColumns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "view". */ +export type ViewOrderBy = { + group?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + summaryViewsAggregate?: InputMaybe; + user?: InputMaybe; + viewAppsAggregate?: InputMaybe; + viewFieldsAggregate?: InputMaybe; +}; + +/** primary key columns input for table: view */ +export type ViewPkColumnsInput = { + id: Scalars["String"]; +}; + +/** select columns of table "view" */ +export type ViewSelectColumn = + /** column name */ + | "id" + /** column name */ + | "name"; + +/** input type for updating data in table "view" */ +export type ViewSetInput = { + name?: InputMaybe; +}; + +/** Streaming cursor of the table "view" */ +export type ViewStreamCursorInput = { + /** Stream column input with initial value */ + initialValue: ViewStreamCursorValueInput; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ViewStreamCursorValueInput = { + id?: InputMaybe; + name?: InputMaybe; +}; + +/** update columns of table "view" */ +export type ViewUpdateColumn = + /** column name */ + "name"; + +export type ViewUpdates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: ViewBoolExp; +}; + +export type AffiliationAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type CategoryTotalByMonthArgs = { + from_date?: InputMaybe; + group_id?: InputMaybe; + to_date?: InputMaybe; +}; + +export type DailyDetailByDateArgs = { + from_date?: InputMaybe; + group_id?: InputMaybe; + to_date?: InputMaybe; +}; + +export type GenreTotalByMonthArgs = { + from_date?: InputMaybe; + group_id?: InputMaybe; + to_date?: InputMaybe; +}; + +export type GroupApplicationAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdAccountAggregateBoolExpBool_And = { + arguments: HouseholdAccountSelectColumnHouseholdAccountAggregateBoolExpBool_AndArgumentsColumns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: BooleanComparisonExp; +}; + +export type HouseholdAccountAggregateBoolExpBool_Or = { + arguments: HouseholdAccountSelectColumnHouseholdAccountAggregateBoolExpBool_OrArgumentsColumns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: BooleanComparisonExp; +}; + +export type HouseholdAccountAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdAllDetailViewAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdCreditCardDetailAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdCreditCardSummaryAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdDailyDetailAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdDepositCategoryAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdFavoriteFilterAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdFavoriteFilterArgsAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdGenreAggregateBoolExpBool_And = { + arguments: HouseholdGenreSelectColumnHouseholdGenreAggregateBoolExpBool_AndArgumentsColumns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: BooleanComparisonExp; +}; + +export type HouseholdGenreAggregateBoolExpBool_Or = { + arguments: HouseholdGenreSelectColumnHouseholdGenreAggregateBoolExpBool_OrArgumentsColumns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: BooleanComparisonExp; +}; + +export type HouseholdGenreAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdImportFileHistoryAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdSummaryCategoryAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdTotalByCategoryViewAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type HouseholdTransferCategoryAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type ImportFileRecordAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type RecordAggregateBoolExpCount = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: IntComparisonExp; +}; + +export type CreateAccountMutationVariables = Exact<{ + accountId: Scalars["String"]; + accountName: Scalars["String"]; + displayOrder: Scalars["Int"]; + groupId: Scalars["String"]; +}>; + +export type CreateAccountMutation = { + __typename?: "mutation_root"; + insertAccount?: { + __typename?: "HouseholdAccountMutationResponse"; + returning: Array<{ __typename?: "HouseholdAccount"; accountId: string }>; + } | null; +}; + +export type CreateCategoryMutationVariables = Exact<{ + categoryId: Scalars["String"]; + categoryName: Scalars["String"]; + genreId: Scalars["String"]; + displayOrder: Scalars["Int"]; + validFlag: Scalars["Boolean"]; + groupId: Scalars["String"]; +}>; + +export type CreateCategoryMutation = { + __typename?: "mutation_root"; + insertCategory?: { + __typename?: "HouseholdCategoryMutationResponse"; + returning: Array<{ __typename?: "HouseholdCategory"; id: string }>; + } | null; +}; + +export type CreateCreditCardDetailMutationVariables = Exact<{ + id: Scalars["String"]; + date: Scalars["date"]; + genreId: Scalars["String"]; + iocomeType: Scalars["String"]; + categoryId: Scalars["String"]; + amount: Scalars["numeric"]; + memo: Scalars["String"]; + summaryId: Scalars["String"]; + userId: Scalars["String"]; + groupId: Scalars["String"]; +}>; + +export type CreateCreditCardDetailMutation = { + __typename?: "mutation_root"; + insertCreditCardDetail?: { + __typename?: "HouseholdCreditCardDetailMutationResponse"; + returning: Array<{ __typename?: "HouseholdCreditCardDetail"; id: string }>; + } | null; +}; + +export type CreateCreditCardSummaryMutationVariables = Exact<{ + accountId: Scalars["String"]; + count: Scalars["Int"]; + creditCard: Scalars["String"]; + groupId: Scalars["String"]; + id: Scalars["String"]; + totalAmount: Scalars["numeric"]; + withdrawalDate: Scalars["date"]; +}>; + +export type CreateCreditCardSummaryMutation = { + __typename?: "mutation_root"; + insertCreditCardSummary?: { + __typename?: "HouseholdCreditCardSummaryMutationResponse"; + returning: Array<{ __typename?: "HouseholdCreditCardSummary"; id: string }>; + } | null; +}; + +export type CreateDailyDetailMutationVariables = Exact<{ + accountId: Scalars["String"]; + amount: Scalars["numeric"]; + genreId: Scalars["String"]; + iocomeType: Scalars["String"]; + categoryId: Scalars["String"]; + date: Scalars["date"]; + groupId: Scalars["String"]; + id: Scalars["String"]; + memo?: InputMaybe; + userId: Scalars["String"]; +}>; + +export type CreateDailyDetailMutation = { + __typename: "mutation_root"; + insertDailyDetail?: { + __typename: "HouseholdDailyDetailMutationResponse"; + returning: Array<{ __typename: "HouseholdDailyDetail"; id: string }>; + } | null; +}; + +export type CreateImportFileHistoryMutationVariables = Exact<{ + fileName: Scalars["String"]; + fileType: Scalars["String"]; + groupId: Scalars["String"]; + id: Scalars["String"]; + importDatetime: Scalars["timestamp"]; + importUserId: Scalars["String"]; +}>; + +export type CreateImportFileHistoryMutation = { + __typename?: "mutation_root"; + insertImportFileHistory?: { + __typename?: "HouseholdImportFileHistoryMutationResponse"; + returning: Array<{ __typename?: "HouseholdImportFileHistory"; id: string }>; + } | null; +}; + +export type CreateSummaryCategoryMutationVariables = Exact<{ + id: Scalars["String"]; + displayOrder: Scalars["Int"]; + categoryId: Scalars["String"]; + groupId: Scalars["String"]; +}>; + +export type CreateSummaryCategoryMutation = { + __typename?: "mutation_root"; + insertSummaryCategoryByGroup?: { + __typename?: "HouseholdSummaryCategoryMutationResponse"; + returning: Array<{ __typename?: "HouseholdSummaryCategory"; id: string }>; + } | null; +}; + +export type CreateUserMutationVariables = Exact<{ + userId: Scalars["String"]; + userName: Scalars["String"]; + email: Scalars["String"]; + displayOrder: Scalars["Int"]; +}>; + +export type CreateUserMutation = { + __typename?: "mutation_root"; + insertUser?: { + __typename?: "UserMutationResponse"; + returning: Array<{ __typename?: "User"; email: string; userId: string }>; + } | null; +}; + +export type DeleteDailyDetailBySerialNoMutationVariables = Exact<{ + id: Scalars["String"]; +}>; + +export type DeleteDailyDetailBySerialNoMutation = { + __typename?: "mutation_root"; + deleteDailyDetailByPk?: { + __typename: "HouseholdDailyDetail"; + id: string; + } | null; +}; + +export type DeleteSummaryCategoryMutationVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type DeleteSummaryCategoryMutation = { + __typename?: "mutation_root"; + deleteSummaryCategoryByGroup?: { + __typename?: "HouseholdSummaryCategoryMutationResponse"; + returning: Array<{ __typename?: "HouseholdSummaryCategory"; id: string }>; + } | null; +}; + +export type UpdateCategoryByIdMutationVariables = Exact<{ + categoryId: Scalars["String"]; + categoryName: Scalars["String"]; + genreId: Scalars["String"]; + displayOrder: Scalars["Int"]; + validFlag: Scalars["Boolean"]; +}>; + +export type UpdateCategoryByIdMutation = { + __typename?: "mutation_root"; + updateCategoryByPk?: { __typename?: "HouseholdCategory"; id: string } | null; +}; + +export type UpdateCreditCardSummaryTotalMutationVariables = Exact<{ + id: Scalars["String"]; + totalAmount: Scalars["numeric"]; + count: Scalars["Int"]; +}>; + +export type UpdateCreditCardSummaryTotalMutation = { + __typename?: "mutation_root"; + updateCreditCardSummary?: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + } | null; +}; + +export type UpdateDailyDetailByIdMutationVariables = Exact<{ + id: Scalars["String"]; + date: Scalars["date"]; + genreId: Scalars["String"]; + iocomeType: Scalars["String"]; + categoryId: Scalars["String"]; + accountId: Scalars["String"]; + amount: Scalars["numeric"]; + memo?: InputMaybe; +}>; + +export type UpdateDailyDetailByIdMutation = { + __typename?: "mutation_root"; + updateDailyDetailByPk?: { + __typename: "HouseholdDailyDetail"; + id: string; + } | null; +}; + +export type UpdateGenreByIdMutationVariables = Exact<{ + genreId: Scalars["String"]; + validFlag: Scalars["Boolean"]; + iocomeType: Scalars["String"]; + genreType: Scalars["String"]; + genreName: Scalars["String"]; + displayOrder: Scalars["Int"]; +}>; + +export type UpdateGenreByIdMutation = { + __typename?: "mutation_root"; + updateGenreByPk?: { __typename?: "HouseholdGenre"; id: string } | null; +}; + +export type DeleteDashboardSettingMutationVariables = Exact<{ + settingId: Scalars["String"]; +}>; + +export type DeleteDashboardSettingMutation = { + __typename?: "mutation_root"; + deleteHouseholdDashboardSettingArgs?: { + __typename?: "HouseholdDashboardSettingArgsMutationResponse"; + returning: Array<{ + __typename: "HouseholdDashboardSettingArgs"; + id: string; + }>; + } | null; + deleteHouseholdDashboardSettingByPk?: { + __typename: "HouseholdDashboardSetting"; + id: string; + } | null; +}; + +export type DeleteFavoriteFilterArgMutationVariables = Exact<{ + id: Scalars["String"]; +}>; + +export type DeleteFavoriteFilterArgMutation = { + __typename?: "mutation_root"; + deleteHouseholdFavoriteFilterArgsByPk?: { + __typename?: "HouseholdFavoriteFilterArgs"; + id: string; + } | null; +}; + +export type DeleteInsertDashboardSettingArgsMutationVariables = Exact<{ + settingId: Scalars["String"]; + objects: + | Array + | HouseholdDashboardSettingArgsInsertInput; +}>; + +export type DeleteInsertDashboardSettingArgsMutation = { + __typename?: "mutation_root"; + deleteDashboardSettingArgs?: { + __typename?: "HouseholdDashboardSettingArgsMutationResponse"; + returning: Array<{ + __typename: "HouseholdDashboardSettingArgs"; + id: string; + }>; + } | null; + insertDashboardSettingArgs?: { + __typename?: "HouseholdDashboardSettingArgsMutationResponse"; + returning: Array<{ + __typename: "HouseholdDashboardSettingArgs"; + id: string; + }>; + } | null; +}; + +export type InsertDashboardSettingMutationVariables = Exact<{ + settingId: Scalars["String"]; + feature: Scalars["String"]; + order: Scalars["Int"]; + userId: Scalars["String"]; + groupId: Scalars["String"]; +}>; + +export type InsertDashboardSettingMutation = { + __typename?: "mutation_root"; + insertSetting?: { + __typename?: "HouseholdDashboardSettingMutationResponse"; + returning: Array<{ __typename: "HouseholdDashboardSetting"; id: string }>; + } | null; +}; + +export type InsertDashboardSettingArgsMutationVariables = Exact<{ + id: Scalars["String"]; + type: Scalars["String"]; + value: Scalars["String"]; + settingId: Scalars["String"]; +}>; + +export type InsertDashboardSettingArgsMutation = { + __typename?: "mutation_root"; + insertSettingArgs?: { + __typename?: "HouseholdDashboardSettingArgsMutationResponse"; + returning: Array<{ + __typename: "HouseholdDashboardSettingArgs"; + id: string; + }>; + } | null; +}; + +export type InsertFavoriteFilterMutationVariables = Exact<{ + filterId: Scalars["String"]; + name: Scalars["String"]; + groupId: Scalars["String"]; +}>; + +export type InsertFavoriteFilterMutation = { + __typename?: "mutation_root"; + insertHouseholdFavoriteFilterOne?: { + __typename?: "HouseholdFavoriteFilter"; + id: string; + } | null; +}; + +export type InsertFavoriteFilterArgMutationVariables = Exact<{ + argId: Scalars["String"]; + filterId: Scalars["String"]; + key: Scalars["String"]; + value: Scalars["String"]; +}>; + +export type InsertFavoriteFilterArgMutation = { + __typename?: "mutation_root"; + insertArg?: { __typename: "HouseholdFavoriteFilterArgs"; id: string } | null; +}; + +export type UpdateCreditCardDetailAmountByIdMutationVariables = Exact<{ + id: Scalars["String"]; + amount: Scalars["numeric"]; +}>; + +export type UpdateCreditCardDetailAmountByIdMutation = { + __typename?: "mutation_root"; + updateHouseholdCreditCardDetailByPk?: { + __typename?: "HouseholdCreditCardDetail"; + id: string; + } | null; +}; + +export type UpdateCreditCardDetailByIdMutationVariables = Exact<{ + id: Scalars["String"]; + genreId: Scalars["String"]; + categoryId: Scalars["String"]; + memo?: InputMaybe; +}>; + +export type UpdateCreditCardDetailByIdMutation = { + __typename?: "mutation_root"; + updateHouseholdCreditCardDetailByPk?: { + __typename?: "HouseholdCreditCardDetail"; + id: string; + } | null; +}; + +export type UpdateDashboardSettingMutationVariables = Exact<{ + settingId: Scalars["String"]; + feature: Scalars["String"]; + order: Scalars["Int"]; +}>; + +export type UpdateDashboardSettingMutation = { + __typename?: "mutation_root"; + updateDashboardSetting?: { + __typename: "HouseholdDashboardSetting"; + id: string; + } | null; +}; + +export type UpdateDashboardSettingOrderMutationVariables = Exact<{ + settingId: Scalars["String"]; + order: Scalars["Int"]; +}>; + +export type UpdateDashboardSettingOrderMutation = { + __typename?: "mutation_root"; + updateHouseholdDashboardSettingByPk?: { + __typename: "HouseholdDashboardSetting"; + id: string; + } | null; +}; + +export type UpdateFavoriteFilterMutationVariables = Exact<{ + filterId: Scalars["String"]; + name: Scalars["String"]; +}>; + +export type UpdateFavoriteFilterMutation = { + __typename?: "mutation_root"; + updateHouseholdFavoriteFilterByPk?: { + __typename: "HouseholdFavoriteFilter"; + id: string; + } | null; +}; + +export type UpdateFavoriteFilterArgMutationVariables = Exact<{ + argId: Scalars["String"]; + value: Scalars["String"]; +}>; + +export type UpdateFavoriteFilterArgMutation = { + __typename?: "mutation_root"; + insertArg?: { __typename: "HouseholdFavoriteFilterArgs"; id: string } | null; +}; + +export type GetAccountBalanceListQueryVariables = Exact<{ + groupId: Scalars["String"]; + fromDate: Scalars["date"]; + toDate: Scalars["date"]; +}>; + +export type GetAccountBalanceListQuery = { + __typename?: "query_root"; + account: Array<{ + __typename: "HouseholdAccount"; + id: string; + accountName: string; + dailyDetails: Array<{ + __typename: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; + allDetailViewsAggregate: { + __typename?: "HouseholdAllDetailViewAggregate"; + aggregate?: { + __typename?: "HouseholdAllDetailViewAggregateFields"; + sum?: { + __typename: "HouseholdAllDetailViewSumFields"; + signedAmount?: any | null; + } | null; + } | null; + }; + }>; +}; + +export type GetAllCategoriesQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetAllCategoriesQuery = { + __typename?: "query_root"; + categories: Array<{ + __typename?: "HouseholdCategory"; + id: string; + displayOrder: number; + validFlag?: boolean | null; + categoryName: string; + genre: { + __typename?: "HouseholdGenre"; + genreId: string; + genreName: string; + }; + }>; +}; + +export type GetAllCategoryListWithCriteriaQueryVariables = Exact<{ + validCategoryIn?: InputMaybe | Scalars["Boolean"]>; + validGenreIn?: InputMaybe | Scalars["Boolean"]>; + iocomeTypeIn?: InputMaybe | Scalars["String"]>; + categoryNotIn?: InputMaybe | Scalars["String"]>; +}>; + +export type GetAllCategoryListWithCriteriaQuery = { + __typename?: "query_root"; + genres: Array<{ + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + validFlag?: boolean | null; + displayOrder: number; + type: string; + categories: Array<{ + __typename?: "HouseholdCategory"; + id: string; + name: string; + validFlag?: boolean | null; + displayOrder: number; + }>; + }>; +}; + +export type GetAllGenreQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetAllGenreQuery = { + __typename?: "query_root"; + genre: Array<{ + __typename?: "HouseholdGenre"; + id: string; + genreType: string; + iocomeType: string; + validFlag?: boolean | null; + displayOrder: number; + genreName: string; + }>; +}; + +export type GetAllUsersQueryVariables = Exact<{ [key: string]: never }>; + +export type GetAllUsersQuery = { + __typename?: "query_root"; + users: Array<{ + __typename?: "User"; + id: string; + name?: string | null; + email: string; + affiliation: Array<{ + __typename?: "Affiliation"; + group: { __typename?: "Group"; id: string; name: string }; + }>; + }>; +}; + +export type GetCategoryByIdQueryVariables = Exact<{ + categoryId: Scalars["String"]; +}>; + +export type GetCategoryByIdQuery = { + __typename?: "query_root"; + category?: { + __typename?: "HouseholdCategory"; + validFlag?: boolean | null; + displayOrder: number; + categoryName: string; + genre: { + __typename?: "HouseholdGenre"; + iocomeType: string; + genreId: string; + }; + } | null; +}; + +export type GetCategoryTotalByMonthQueryVariables = Exact<{ + fromDate?: InputMaybe; + toDate?: InputMaybe; + groupId: Scalars["String"]; +}>; + +export type GetCategoryTotalByMonthQuery = { + __typename?: "query_root"; + categoryTotalByMonth: Array<{ + __typename?: "HouseholdTotalByCategoryView"; + date?: any | null; + iocomeType?: string | null; + genreId?: string | null; + genreName?: string | null; + categoryId?: string | null; + categoryName?: string | null; + total?: any | null; + }>; +}; + +export type GetCreditCardDetailBySummaryIdQueryVariables = Exact<{ + id: Scalars["String"]; +}>; + +export type GetCreditCardDetailBySummaryIdQuery = { + __typename?: "query_root"; + creditCardSummary?: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + creditCard: string; + withdrawalDate: any; + count: number; + totalAmount: any; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + creditCardDetails: Array<{ + __typename?: "HouseholdCreditCardDetail"; + id: string; + date: any; + memo?: string | null; + amount: any; + category: { + __typename?: "HouseholdCategory"; + id: string; + name: string; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + }; + }>; + } | null; +}; + +export type GetCreditCardListQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetCreditCardListQuery = { + __typename?: "query_root"; + allCreditCardSummariesList: Array<{ + __typename?: "HouseholdCreditCardSummary"; + id: string; + creditCard: string; + count: number; + withdrawalDate: any; + totalAmount: any; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; +}; + +export type GetDailyDetailByDateQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetDailyDetailByDateQuery = { + __typename?: "query_root"; + dailies: Array<{ + __typename: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; +}; + +export type GetDailyDetailByDateCategoryIdQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; + categoryId: Scalars["String"]; +}>; + +export type GetDailyDetailByDateCategoryIdQuery = { + __typename?: "query_root"; + dailies: Array<{ + __typename: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; +}; + +export type GetDailyDetailByDateGenreIdQueryVariables = Exact<{ + genreId: Scalars["String"]; + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetDailyDetailByDateGenreIdQuery = { + __typename?: "query_root"; + allCategoriesList: Array<{ + __typename?: "HouseholdCategory"; + dailyDetailsByCategoryIdList: Array<{ + __typename?: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + categoryByCategoryId: { + __typename?: "HouseholdCategory"; + categoryId: string; + categoryName: string; + genreByGenreId: { + __typename?: "HouseholdGenre"; + genreType: string; + iocomeType: string; + genreId: string; + genreName: string; + }; + }; + accountByAccountId: { + __typename?: "HouseholdAccount"; + accountId: string; + accountName: string; + }; + userByUserId: { + __typename?: "User"; + userId: string; + userName?: string | null; + }; + }>; + }>; +}; + +export type GetGenreByIdQueryVariables = Exact<{ + genreId: Scalars["String"]; +}>; + +export type GetGenreByIdQuery = { + __typename?: "query_root"; + genreById?: { + __typename?: "HouseholdGenre"; + id: string; + genreType: string; + iocomeType: string; + validFlag?: boolean | null; + displayOrder: number; + genreName: string; + categories: Array<{ + __typename?: "HouseholdCategory"; + categoryId: string; + categoryName: string; + }>; + } | null; +}; + +export type GetGenreTotalByMonthQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetGenreTotalByMonthQuery = { + __typename?: "query_root"; + genreTotalByMonthList: Array<{ + __typename?: "HouseholdTotalByGenreView"; + date?: any | null; + iocomeType?: string | null; + genreId?: string | null; + genreName?: string | null; + total?: any | null; + }>; +}; + +export type GetSummaryCategoriesQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetSummaryCategoriesQuery = { + __typename?: "query_root"; + categories: Array<{ + __typename?: "HouseholdSummaryCategory"; + id: string; + groupId: string; + displayOrder: number; + category: { + __typename?: "HouseholdCategory"; + id: string; + name: string; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + type: string; + }; + }; + }>; +}; + +export type GetSummaryCategoryBetweenDateQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetSummaryCategoryBetweenDateQuery = { + __typename?: "query_root"; + summaryCategoryList: Array<{ + __typename?: "HouseholdSummaryCategory"; + category: { + __typename?: "HouseholdCategory"; + name: string; + id: string; + genre: { __typename?: "HouseholdGenre"; iocomeType: string }; + daily: Array<{ + __typename?: "HouseholdDailyDetail"; + date: any; + amount: any; + }>; + creditCard: Array<{ + __typename?: "HouseholdCreditCardDetail"; + date: any; + amount: any; + }>; + }; + }>; +}; + +export type GetTotalBetweenDateQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetTotalBetweenDateQuery = { + __typename?: "query_root"; + incomeTotalByDate: Array<{ + __typename?: "HouseholdDailyTotalView"; + date?: any | null; + iocomeType?: string | null; + total?: any | null; + }>; + outcomeTotalByDate: Array<{ + __typename?: "HouseholdDailyTotalView"; + date?: any | null; + iocomeType?: string | null; + total?: any | null; + }>; +}; + +export type GetTransferCategoryByQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetTransferCategoryByQuery = { + __typename?: "query_root"; + transferCategory?: { + __typename?: "HouseholdTransferCategory"; + id: string; + incomeCategory: { + __typename?: "HouseholdCategory"; + categoryId: string; + genre: { + __typename?: "HouseholdGenre"; + iocomeType: string; + genreId: string; + }; + }; + outcomeCategory: { + __typename?: "HouseholdCategory"; + categoryId: string; + genre: { + __typename?: "HouseholdGenre"; + iocomeType: string; + genreId: string; + }; + }; + } | null; +}; + +export type GetValidAccountsQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetValidAccountsQuery = { + __typename?: "query_root"; + allAccountsList: Array<{ + __typename?: "HouseholdAccount"; + accountId: string; + accountName: string; + }>; +}; + +export type GetValidCategoryByGenreIdQueryVariables = Exact<{ + groupId: Scalars["String"]; + genreId: Scalars["String"]; +}>; + +export type GetValidCategoryByGenreIdQuery = { + __typename?: "query_root"; + genreById: Array<{ + __typename?: "HouseholdGenre"; + id: string; + name: string; + categories: Array<{ + __typename?: "HouseholdCategory"; + id: string; + name: string; + displayOrder: number; + }>; + }>; + genre?: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + categories: Array<{ + __typename?: "HouseholdCategory"; + id: string; + name: string; + displayOrder: number; + }>; + } | null; +}; + +export type GetValidGenreListByIocomeTypeQueryVariables = Exact<{ + iocomeType: Scalars["String"]; + groupId: Scalars["String"]; +}>; + +export type GetValidGenreListByIocomeTypeQuery = { + __typename?: "query_root"; + allGenresList: Array<{ + __typename?: "HouseholdGenre"; + genreType: string; + iocomeType: string; + displayOrder: number; + genreId: string; + genreName: string; + categoriesByGenreIdList: Array<{ + __typename?: "HouseholdCategory"; + displayOrder: number; + categoryId: string; + categoryName: string; + }>; + }>; +}; + +export type FragDailyDetailFragment = { + __typename: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; +}; + +export type GetCreditCardSummaryByDateQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetCreditCardSummaryByDateQuery = { + __typename?: "query_root"; + creditCardSummaries: Array<{ + __typename?: "HouseholdCreditCardSummary"; + id: string; + withdrawalDate: any; + totalAmount: any; + creditCard: string; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; +}; + +export type GetDailyDetailByIdQueryVariables = Exact<{ + id: Scalars["String"]; +}>; + +export type GetDailyDetailByIdQuery = { + __typename?: "query_root"; + dailyDetail?: { + __typename: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + } | null; +}; + +export type GetDepositQueryVariables = Exact<{ + groupId: Scalars["String"]; + fromDate: Scalars["date"]; + toDate: Scalars["date"]; +}>; + +export type GetDepositQuery = { + __typename?: "query_root"; + depositCategory: Array<{ + __typename?: "HouseholdDepositCategory"; + category: { + __typename?: "HouseholdCategory"; + id: string; + categoryName: string; + daily: { + __typename?: "HouseholdDailyDetailAggregate"; + aggregate?: { + __typename?: "HouseholdDailyDetailAggregateFields"; + count: number; + sum?: { + __typename?: "HouseholdDailyDetailSumFields"; + amount?: any | null; + } | null; + avg?: { + __typename?: "HouseholdDailyDetailAvgFields"; + amount?: number | null; + } | null; + } | null; + nodes: Array<{ + __typename?: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + }>; + }; + credit: { + __typename?: "HouseholdCreditCardDetailAggregate"; + aggregate?: { + __typename?: "HouseholdCreditCardDetailAggregateFields"; + count: number; + sum?: { + __typename?: "HouseholdCreditCardDetailSumFields"; + amount?: any | null; + } | null; + avg?: { + __typename?: "HouseholdCreditCardDetailAvgFields"; + amount?: number | null; + } | null; + } | null; + nodes: Array<{ + __typename?: "HouseholdCreditCardDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + }>; + }; + }; + }>; +}; + +export type FragCreditCardDetailFragment = { + __typename?: "HouseholdCreditCardDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + summary: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }; +}; + +export type FragFavoriteFilterFragment = { + __typename: "HouseholdFavoriteFilter"; + id: string; + name: string; + args: Array<{ + __typename: "HouseholdFavoriteFilterArgs"; + id: string; + key: string; + value: string; + category?: { + __typename: "HouseholdCategory"; + id: string; + name: string; + genre: { + __typename: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + } | null; + }>; +}; + +export type GetAccountByIdQueryVariables = Exact<{ + accountId: Scalars["String"]; +}>; + +export type GetAccountByIdQuery = { + __typename?: "query_root"; + account?: { + __typename?: "HouseholdAccount"; + id: string; + name: string; + } | null; +}; + +export type GetCreditCardDetailByIdQueryVariables = Exact<{ + id: Scalars["String"]; +}>; + +export type GetCreditCardDetailByIdQuery = { + __typename?: "query_root"; + creditCardDetail?: { + __typename?: "HouseholdCreditCardDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + summary: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }; + } | null; +}; + +export type GetCreditCardDetailListQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; +}>; + +export type GetCreditCardDetailListQuery = { + __typename?: "query_root"; + creditCardDetails: Array<{ + __typename?: "HouseholdCreditCardDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + summary: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }; + }>; +}; + +export type GetCreditCardSummaryByAccountIdQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + accountId: Scalars["String"]; +}>; + +export type GetCreditCardSummaryByAccountIdQuery = { + __typename?: "query_root"; + creditCardSummaries: Array<{ + __typename: "HouseholdCreditCardSummary"; + id: string; + withdrawalDate: any; + totalAmount: any; + creditCard: string; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; +}; + +export type GetCreditCardSummaryByIdQueryVariables = Exact<{ + summaryId: Scalars["String"]; +}>; + +export type GetCreditCardSummaryByIdQuery = { + __typename?: "query_root"; + creditCardSummary?: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + creditCard: string; + withdrawalDate: any; + totalAmount: any; + count: number; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + } | null; +}; + +export type GetDailyByAccountIdQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + accountId: Scalars["String"]; + groupId: Scalars["String"]; + orderBy?: InputMaybe; +}>; + +export type GetDailyByAccountIdQuery = { + __typename: "query_root"; + dailies: Array<{ + __typename: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + genreType: string; + iocomeType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }>; +}; + +export type GetDashboardSettingQueryVariables = Exact<{ + userId: Scalars["String"]; + groupId: Scalars["String"]; +}>; + +export type GetDashboardSettingQuery = { + __typename?: "query_root"; + setting: Array<{ + __typename: "HouseholdDashboardSetting"; + id: string; + feature: string; + order: number; + args: Array<{ + __typename: "HouseholdDashboardSettingArgs"; + id: string; + type: string; + value: string; + }>; + }>; +}; + +export type GetDetailsByCategoryQueryVariables = Exact<{ + fromDate: Scalars["date"]; + toDate: Scalars["date"]; + groupId: Scalars["String"]; + iocomeType?: InputMaybe | Scalars["String"]>; +}>; + +export type GetDetailsByCategoryQuery = { + __typename?: "query_root"; + group?: { + __typename?: "Group"; + transfer?: { + __typename?: "HouseholdTransferCategory"; + outcomeCategoryId: string; + incomeCategoryId: string; + } | null; + dailyDetails: Array<{ + __typename?: "HouseholdDailyDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + }>; + creditCardDetails: Array<{ + __typename?: "HouseholdCreditCardDetail"; + id: string; + date: any; + amount: any; + memo?: string | null; + genre: { + __typename?: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + category: { __typename?: "HouseholdCategory"; id: string; name: string }; + summary: { + __typename?: "HouseholdCreditCardSummary"; + id: string; + account: { __typename?: "HouseholdAccount"; id: string; name: string }; + }; + }>; + } | null; +}; + +export type GetFavoriteFilterQueryVariables = Exact<{ + filterId: Scalars["String"]; +}>; + +export type GetFavoriteFilterQuery = { + __typename?: "query_root"; + filter?: { + __typename: "HouseholdFavoriteFilter"; + id: string; + name: string; + args: Array<{ + __typename: "HouseholdFavoriteFilterArgs"; + id: string; + key: string; + value: string; + category?: { + __typename: "HouseholdCategory"; + id: string; + name: string; + genre: { + __typename: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + } | null; + }>; + } | null; +}; + +export type GetFavoriteFiltersQueryVariables = Exact<{ + groupId: Scalars["String"]; +}>; + +export type GetFavoriteFiltersQuery = { + __typename?: "query_root"; + filters: Array<{ + __typename: "HouseholdFavoriteFilter"; + id: string; + name: string; + args: Array<{ + __typename: "HouseholdFavoriteFilterArgs"; + id: string; + key: string; + value: string; + category?: { + __typename: "HouseholdCategory"; + id: string; + name: string; + genre: { + __typename: "HouseholdGenre"; + id: string; + name: string; + iocomeType: string; + genreType: string; + }; + } | null; + }>; + }>; +}; + +export const FragDailyDetailFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragDailyDetail" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdDailyDetail" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "amount" } }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FragCreditCardDetailFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragCreditCardDetail" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdCreditCardDetail" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { kind: "Field", name: { kind: "Name", value: "amount" } }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "summary" }, + name: { kind: "Name", value: "creditCardSummary" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FragFavoriteFilterFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragFavoriteFilter" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdFavoriteFilter" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + alias: { kind: "Name", value: "args" }, + name: { kind: "Name", value: "favoriteFilterArgs" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "key" } }, + { kind: "Field", name: { kind: "Name", value: "value" } }, + { + kind: "Field", + alias: { kind: "Name", value: "category" }, + name: { kind: "Name", value: "favoriteFilterArgCategoryId" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "iocomeType" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "genreType" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateAccountDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "CreateAccount" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "accountName" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "displayOrder" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "insertAccount" }, + name: { kind: "Name", value: "insertHouseholdAccount" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "objects" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "accountName" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "displayOrder" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "accountId" }, + name: { kind: "Name", value: "id" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + CreateAccountMutation, + CreateAccountMutationVariables +>; +export const CreateCategoryDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "CreateCategory" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "categoryName" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "displayOrder" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "validFlag" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "Boolean" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "insertCategory" }, + name: { kind: "Name", value: "insertHouseholdCategory" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "objects" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "categoryName" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "genreId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "displayOrder" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "validFlag" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + CreateCategoryMutation, + CreateCategoryMutationVariables +>; +export const CreateCreditCardDetailDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "CreateCreditCardDetail" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "date" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "iocomeType" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "amount" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "numeric" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "memo" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "summaryId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "userId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "insertCreditCardDetail" }, + name: { kind: "Name", value: "insertHouseholdCreditCardDetail" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "objects" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "date" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "genreId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "iocomeType" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "iocomeType" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "categoryId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "amount" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "amount" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "summaryId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "summaryId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "userId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "userId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "memo" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "memo" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + CreateCreditCardDetailMutation, + CreateCreditCardDetailMutationVariables +>; +export const CreateCreditCardSummaryDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "CreateCreditCardSummary" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "count" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "creditCard" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "totalAmount" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "numeric" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "withdrawalDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "insertCreditCardSummary" }, + name: { kind: "Name", value: "insertHouseholdCreditCardSummary" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "objects" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "creditCard" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "creditCard" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "accountId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "totalAmount" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "totalAmount" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "count" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "count" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "withdrawalDate" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "withdrawalDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + CreateCreditCardSummaryMutation, + CreateCreditCardSummaryMutationVariables +>; +export const CreateDailyDetailDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "CreateDailyDetail" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "amount" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "numeric" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "iocomeType" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "date" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "memo" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "userId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { + kind: "Field", + alias: { kind: "Name", value: "insertDailyDetail" }, + name: { kind: "Name", value: "insertHouseholdDailyDetail" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "objects" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "date" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "genreId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "iocomeType" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "iocomeType" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "categoryId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "accountId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "userId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "userId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "amount" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "amount" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "memo" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "memo" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + CreateDailyDetailMutation, + CreateDailyDetailMutationVariables +>; +export const CreateImportFileHistoryDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "CreateImportFileHistory" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fileName" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fileType" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "importDatetime" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "timestamp" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "importUserId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "insertImportFileHistory" }, + name: { kind: "Name", value: "insertHouseholdImportFileHistory" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "objects" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "fileType" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fileType" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "fileName" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fileName" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "importUserId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "importUserId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "importDatetime" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "importDatetime" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + CreateImportFileHistoryMutation, + CreateImportFileHistoryMutationVariables +>; +export const CreateSummaryCategoryDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "CreateSummaryCategory" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "displayOrder" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "insertSummaryCategoryByGroup" }, + name: { kind: "Name", value: "insertHouseholdSummaryCategory" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "objects" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "categoryId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "displayOrder" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + CreateSummaryCategoryMutation, + CreateSummaryCategoryMutationVariables +>; +export const CreateUserDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "CreateUser" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "userId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "userName" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "email" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "displayOrder" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "insertUser" }, + name: { kind: "Name", value: "insertUser" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "objects" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "userId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "userName" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "email" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "email" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "displayOrder" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "userId" }, + name: { kind: "Name", value: "id" }, + }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteDailyDetailBySerialNoDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "DeleteDailyDetailBySerialNo" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "deleteDailyDetailByPk" }, + name: { kind: "Name", value: "deleteHouseholdDailyDetailByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + DeleteDailyDetailBySerialNoMutation, + DeleteDailyDetailBySerialNoMutationVariables +>; +export const DeleteSummaryCategoryDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "DeleteSummaryCategory" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "deleteSummaryCategoryByGroup" }, + name: { kind: "Name", value: "deleteHouseholdSummaryCategory" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + DeleteSummaryCategoryMutation, + DeleteSummaryCategoryMutationVariables +>; +export const UpdateCategoryByIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "UpdateCategoryById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "categoryName" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "displayOrder" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "validFlag" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "Boolean" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "updateCategoryByPk" }, + name: { kind: "Name", value: "updateHouseholdCategoryByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "pkColumns" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "_set" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "categoryName" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "genreId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "displayOrder" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "validFlag" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + UpdateCategoryByIdMutation, + UpdateCategoryByIdMutationVariables +>; +export const UpdateCreditCardSummaryTotalDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "UpdateCreditCardSummaryTotal" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "totalAmount" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "numeric" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "count" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "updateCreditCardSummary" }, + name: { + kind: "Name", + value: "updateHouseholdCreditCardSummaryByPk", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "pkColumns" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "_set" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "totalAmount" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "totalAmount" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "count" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "count" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + UpdateCreditCardSummaryTotalMutation, + UpdateCreditCardSummaryTotalMutationVariables +>; +export const UpdateDailyDetailByIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "UpdateDailyDetailById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "date" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "iocomeType" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "amount" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "numeric" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "memo" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "updateDailyDetailByPk" }, + name: { kind: "Name", value: "updateHouseholdDailyDetailByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "_set" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "date" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "genreId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "iocomeType" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "iocomeType" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "categoryId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "accountId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "amount" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "amount" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "memo" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "memo" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "pkColumns" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + UpdateDailyDetailByIdMutation, + UpdateDailyDetailByIdMutationVariables +>; +export const UpdateGenreByIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "UpdateGenreById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "validFlag" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "Boolean" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "iocomeType" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "genreType" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "genreName" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "displayOrder" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "updateGenreByPk" }, + name: { kind: "Name", value: "updateHouseholdGenreByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "pkColumns" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "_set" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "genreName" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "genreType" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "genreType" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "iocomeType" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "iocomeType" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "validFlag" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "displayOrder" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + UpdateGenreByIdMutation, + UpdateGenreByIdMutationVariables +>; +export const DeleteDashboardSettingDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "deleteDashboardSetting" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "deleteHouseholdDashboardSettingArgs", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "settingId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + name: { + kind: "Name", + value: "deleteHouseholdDashboardSettingByPk", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + DeleteDashboardSettingMutation, + DeleteDashboardSettingMutationVariables +>; +export const DeleteFavoriteFilterArgDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "deleteFavoriteFilterArg" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "deleteHouseholdFavoriteFilterArgsByPk", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + DeleteFavoriteFilterArgMutation, + DeleteFavoriteFilterArgMutationVariables +>; +export const DeleteInsertDashboardSettingArgsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "deleteInsertDashboardSettingArgs" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "objects" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "ListType", + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { + kind: "Name", + value: "HouseholdDashboardSettingArgsInsertInput", + }, + }, + }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "deleteDashboardSettingArgs" }, + name: { + kind: "Name", + value: "deleteHouseholdDashboardSettingArgs", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "settingId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "insertDashboardSettingArgs" }, + name: { + kind: "Name", + value: "insertHouseholdDashboardSettingArgs", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "objects" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "objects" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + DeleteInsertDashboardSettingArgsMutation, + DeleteInsertDashboardSettingArgsMutationVariables +>; +export const InsertDashboardSettingDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "insertDashboardSetting" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "feature" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "order" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "userId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "insertSetting" }, + name: { kind: "Name", value: "insertHouseholdDashboardSetting" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "objects" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "feature" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "feature" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "order" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "order" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "userId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "userId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + InsertDashboardSettingMutation, + InsertDashboardSettingMutationVariables +>; +export const InsertDashboardSettingArgsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "insertDashboardSettingArgs" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "type" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "value" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "insertSettingArgs" }, + name: { + kind: "Name", + value: "insertHouseholdDashboardSettingArgs", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "objects" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "type" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "type" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "value" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "value" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "settingId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "returning" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + InsertDashboardSettingArgsMutation, + InsertDashboardSettingArgsMutationVariables +>; +export const InsertFavoriteFilterDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "insertFavoriteFilter" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "filterId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "name" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insertHouseholdFavoriteFilterOne" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "filterId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "name" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + InsertFavoriteFilterMutation, + InsertFavoriteFilterMutationVariables +>; +export const InsertFavoriteFilterArgDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "insertFavoriteFilterArg" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "argId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "filterId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "key" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "value" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "insertArg" }, + name: { + kind: "Name", + value: "insertHouseholdFavoriteFilterArgsOne", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "argId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "filterId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "filterId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "key" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "key" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "value" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "value" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + InsertFavoriteFilterArgMutation, + InsertFavoriteFilterArgMutationVariables +>; +export const UpdateCreditCardDetailAmountByIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateCreditCardDetailAmountById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "amount" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "numeric" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "updateHouseholdCreditCardDetailByPk", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "pkColumns" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "_set" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "amount" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "amount" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + UpdateCreditCardDetailAmountByIdMutation, + UpdateCreditCardDetailAmountByIdMutationVariables +>; +export const UpdateCreditCardDetailByIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateCreditCardDetailById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "memo" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "updateHouseholdCreditCardDetailByPk", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "pkColumns" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "_set" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "genreId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "categoryId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "memo" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "memo" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + UpdateCreditCardDetailByIdMutation, + UpdateCreditCardDetailByIdMutationVariables +>; +export const UpdateDashboardSettingDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateDashboardSetting" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "feature" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "order" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "updateDashboardSetting" }, + name: { + kind: "Name", + value: "updateHouseholdDashboardSettingByPk", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "pkColumns" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "_set" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "feature" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "feature" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "order" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "order" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + UpdateDashboardSettingMutation, + UpdateDashboardSettingMutationVariables +>; +export const UpdateDashboardSettingOrderDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateDashboardSettingOrder" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "order" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "updateHouseholdDashboardSettingByPk", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "pkColumns" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "settingId" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "_set" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "order" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "order" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + UpdateDashboardSettingOrderMutation, + UpdateDashboardSettingOrderMutationVariables +>; +export const UpdateFavoriteFilterDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateFavoriteFilter" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "filterId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "name" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "updateHouseholdFavoriteFilterByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "pkColumns" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "filterId" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "_set" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "name" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + UpdateFavoriteFilterMutation, + UpdateFavoriteFilterMutationVariables +>; +export const UpdateFavoriteFilterArgDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateFavoriteFilterArg" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "argId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "value" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "insertArg" }, + name: { + kind: "Name", + value: "updateHouseholdFavoriteFilterArgsByPk", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "pkColumns" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "argId" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "_set" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "value" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "value" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + UpdateFavoriteFilterArgMutation, + UpdateFavoriteFilterArgMutationVariables +>; +export const GetAccountBalanceListDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetAccountBalanceList" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "account" }, + name: { kind: "Name", value: "householdAccount" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + alias: { kind: "Name", value: "accountName" }, + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "dailyDetails" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_lte" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "toDate", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "FragmentSpread", + name: { kind: "Name", value: "fragDailyDetail" }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "allDetailViewsAggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_lte" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "toDate", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "sum" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + { + kind: "Field", + name: { + kind: "Name", + value: "signedAmount", + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragDailyDetail" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdDailyDetail" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "amount" } }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetAccountBalanceListQuery, + GetAccountBalanceListQueryVariables +>; +export const GetAllCategoriesDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetAllCategories" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "categories" }, + name: { kind: "Name", value: "householdCategory" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "genre" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + alias: { kind: "Name", value: "categoryName" }, + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "displayOrder" }, + }, + { kind: "Field", name: { kind: "Name", value: "validFlag" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "genreId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "genreName" }, + name: { kind: "Name", value: "name" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetAllCategoriesQuery, + GetAllCategoriesQueryVariables +>; +export const GetAllCategoryListWithCriteriaDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetAllCategoryListWithCriteria" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "validCategoryIn" }, + }, + type: { + kind: "ListType", + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "Boolean" }, + }, + }, + }, + defaultValue: { + kind: "ListValue", + values: [ + { kind: "BooleanValue", value: true }, + { kind: "BooleanValue", value: false }, + ], + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "validGenreIn" }, + }, + type: { + kind: "ListType", + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "Boolean" }, + }, + }, + }, + defaultValue: { + kind: "ListValue", + values: [ + { kind: "BooleanValue", value: true }, + { kind: "BooleanValue", value: false }, + ], + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "iocomeTypeIn" }, + }, + type: { + kind: "ListType", + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + defaultValue: { + kind: "ListValue", + values: [ + { kind: "StringValue", value: "INCOME", block: false }, + { kind: "StringValue", value: "OUTCOME", block: false }, + ], + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "categoryNotIn" }, + }, + type: { + kind: "ListType", + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + defaultValue: { kind: "ListValue", values: [] }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "genres" }, + name: { kind: "Name", value: "householdGenre" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_in" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "validCategoryIn" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "iocomeType" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_in" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "iocomeTypeIn", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + alias: { kind: "Name", value: "type" }, + name: { kind: "Name", value: "genreType" }, + }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + { kind: "Field", name: { kind: "Name", value: "validFlag" } }, + { + kind: "Field", + name: { kind: "Name", value: "displayOrder" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "categories" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_in" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "validGenreIn", + }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_nin" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "categoryNotIn", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "validFlag" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "displayOrder" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetAllCategoryListWithCriteriaQuery, + GetAllCategoryListWithCriteriaQueryVariables +>; +export const GetAllGenreDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetAllGenre" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + directives: [ + { kind: "Directive", name: { kind: "Name", value: "cached" } }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "genre" }, + name: { kind: "Name", value: "householdGenre" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + alias: { kind: "Name", value: "genreName" }, + name: { kind: "Name", value: "name" }, + }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + { kind: "Field", name: { kind: "Name", value: "validFlag" } }, + { + kind: "Field", + name: { kind: "Name", value: "displayOrder" }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetAllUsersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetAllUsers" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "users" }, + name: { kind: "Name", value: "user" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { + kind: "Field", + alias: { kind: "Name", value: "affiliation" }, + name: { kind: "Name", value: "affiliations" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "group" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCategoryByIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetCategoryById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "category" }, + name: { kind: "Name", value: "householdCategoryByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "categoryName" }, + name: { kind: "Name", value: "name" }, + }, + { kind: "Field", name: { kind: "Name", value: "validFlag" } }, + { + kind: "Field", + name: { kind: "Name", value: "displayOrder" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "genreId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "iocomeType" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetCategoryByIdQuery, + GetCategoryByIdQueryVariables +>; +export const GetCategoryTotalByMonthDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetCategoryTotalByMonth" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "categoryTotalByMonth" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "args" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "from_date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "to_date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "group_id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "date" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + { kind: "Field", name: { kind: "Name", value: "genreId" } }, + { kind: "Field", name: { kind: "Name", value: "genreName" } }, + { kind: "Field", name: { kind: "Name", value: "categoryId" } }, + { + kind: "Field", + name: { kind: "Name", value: "categoryName" }, + }, + { kind: "Field", name: { kind: "Name", value: "total" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetCategoryTotalByMonthQuery, + GetCategoryTotalByMonthQueryVariables +>; +export const GetCreditCardDetailBySummaryIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetCreditCardDetailBySummaryId" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "creditCardSummary" }, + name: { kind: "Name", value: "householdCreditCardSummaryByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "creditCard" } }, + { + kind: "Field", + name: { kind: "Name", value: "withdrawalDate" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "count" } }, + { kind: "Field", name: { kind: "Name", value: "totalAmount" } }, + { + kind: "Field", + name: { kind: "Name", value: "creditCardDetails" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + { + kind: "Field", + name: { kind: "Name", value: "amount" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "genreType" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "iocomeType" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetCreditCardDetailBySummaryIdQuery, + GetCreditCardDetailBySummaryIdQueryVariables +>; +export const GetCreditCardListDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetCreditCardList" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "allCreditCardSummariesList" }, + name: { kind: "Name", value: "householdCreditCardSummary" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "withdrawalDate" }, + value: { kind: "EnumValue", value: "DESC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "creditCard" } }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "count" } }, + { + kind: "Field", + name: { kind: "Name", value: "withdrawalDate" }, + }, + { kind: "Field", name: { kind: "Name", value: "totalAmount" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetCreditCardListQuery, + GetCreditCardListQueryVariables +>; +export const GetDailyDetailByDateDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetDailyDetailByDate" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "dailies" }, + name: { kind: "Name", value: "dailyDetailByDate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "args" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "from_date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "to_date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "group_id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "FragmentSpread", + name: { kind: "Name", value: "fragDailyDetail" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragDailyDetail" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdDailyDetail" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "amount" } }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetDailyDetailByDateQuery, + GetDailyDetailByDateQueryVariables +>; +export const GetDailyDetailByDateCategoryIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetDailyDetailByDateCategoryId" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "dailies" }, + name: { kind: "Name", value: "dailyDetailByDate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "args" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "from_date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "to_date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "group_id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "categoryId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "categoryId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "FragmentSpread", + name: { kind: "Name", value: "fragDailyDetail" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragDailyDetail" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdDailyDetail" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "amount" } }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetDailyDetailByDateCategoryIdQuery, + GetDailyDetailByDateCategoryIdQueryVariables +>; +export const GetDailyDetailByDateGenreIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetDailyDetailByDateGenreId" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "allCategoriesList" }, + name: { kind: "Name", value: "householdCategory" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "genreId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { + kind: "Name", + value: "dailyDetailsByCategoryIdList", + }, + name: { kind: "Name", value: "dailyDetails" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_lte" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "toDate", + }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "groupId", + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_eq", + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "groupId", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { + kind: "Field", + name: { kind: "Name", value: "amount" }, + }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + { + kind: "Field", + alias: { kind: "Name", value: "categoryByCategoryId" }, + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "categoryId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "categoryName" }, + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "genreByGenreId" }, + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "genreId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "genreName" }, + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "genreType" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "iocomeType" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "accountByAccountId" }, + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "accountId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "accountName" }, + name: { kind: "Name", value: "name" }, + }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "userByUserId" }, + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "userId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "userName" }, + name: { kind: "Name", value: "name" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetDailyDetailByDateGenreIdQuery, + GetDailyDetailByDateGenreIdQueryVariables +>; +export const GetGenreByIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetGenreById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "genreById" }, + name: { kind: "Name", value: "householdGenreByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + alias: { kind: "Name", value: "genreName" }, + name: { kind: "Name", value: "name" }, + }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + { kind: "Field", name: { kind: "Name", value: "validFlag" } }, + { + kind: "Field", + name: { kind: "Name", value: "displayOrder" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "categories" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "categoryId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "categoryName" }, + name: { kind: "Name", value: "name" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetGenreTotalByMonthDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetGenreTotalByMonth" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "genreTotalByMonthList" }, + name: { kind: "Name", value: "genreTotalByMonth" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "args" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "from_date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "to_date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "group_id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "date" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + { kind: "Field", name: { kind: "Name", value: "genreId" } }, + { kind: "Field", name: { kind: "Name", value: "genreName" } }, + { kind: "Field", name: { kind: "Name", value: "total" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetGenreTotalByMonthQuery, + GetGenreTotalByMonthQueryVariables +>; +export const GetSummaryCategoriesDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetSummaryCategories" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "categories" }, + name: { kind: "Name", value: "householdSummaryCategory" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "groupId" } }, + { + kind: "Field", + name: { kind: "Name", value: "displayOrder" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "category" }, + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + alias: { kind: "Name", value: "genre" }, + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "type" }, + name: { kind: "Name", value: "genreType" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "iocomeType" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetSummaryCategoriesQuery, + GetSummaryCategoriesQueryVariables +>; +export const GetSummaryCategoryBetweenDateDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetSummaryCategoryBetweenDate" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "summaryCategoryList" }, + name: { kind: "Name", value: "householdSummaryCategory" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "iocomeType" }, + }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "daily" }, + name: { kind: "Name", value: "dailyDetails" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "groupId", + }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_gte", + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "fromDate", + }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "date", + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_lte", + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "toDate", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "date" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "amount" }, + }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "creditCard" }, + name: { kind: "Name", value: "creditCardDetails" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "groupId", + }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_gte", + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "fromDate", + }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "date", + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_lte", + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "toDate", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "date" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "amount" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetSummaryCategoryBetweenDateQuery, + GetSummaryCategoryBetweenDateQueryVariables +>; +export const GetTotalBetweenDateDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetTotalBetweenDate" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "incomeTotalByDate" }, + name: { kind: "Name", value: "householdDailyTotalView" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "iocomeType" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "StringValue", + value: "INCOME", + block: false, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "fromDate", + }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_lte", + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "toDate", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "date" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + { kind: "Field", name: { kind: "Name", value: "total" } }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "outcomeTotalByDate" }, + name: { kind: "Name", value: "householdDailyTotalView" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "iocomeType" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "StringValue", + value: "OUTCOME", + block: false, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "fromDate", + }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_lte", + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "toDate", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "date" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + { kind: "Field", name: { kind: "Name", value: "total" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetTotalBetweenDateQuery, + GetTotalBetweenDateQueryVariables +>; +export const GetTransferCategoryByDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetTransferCategoryBy" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "transferCategory" }, + name: { kind: "Name", value: "householdTransferCategoryByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "id" }, + name: { kind: "Name", value: "groupId" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "incomeCategory" }, + name: { kind: "Name", value: "categoryByIncomeCategoryId" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "categoryId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "genreId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "iocomeType" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "outcomeCategory" }, + name: { kind: "Name", value: "categoryByOutcomeCategoryId" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "categoryId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "genreId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "iocomeType" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetTransferCategoryByQuery, + GetTransferCategoryByQueryVariables +>; +export const GetValidAccountsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetValidAccounts" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "allAccountsList" }, + name: { kind: "Name", value: "householdAccount" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "accountId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "accountName" }, + name: { kind: "Name", value: "name" }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetValidAccountsQuery, + GetValidAccountsQueryVariables +>; +export const GetValidCategoryByGenreIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetValidCategoryByGenreId" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "genreById" }, + name: { kind: "Name", value: "householdGenre" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "genreId", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "categories" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "displayOrder" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "genre" }, + name: { kind: "Name", value: "householdGenreByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "genreId" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "categories" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "displayOrder" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetValidCategoryByGenreIdQuery, + GetValidCategoryByGenreIdQueryVariables +>; +export const GetValidGenreListByIocomeTypeDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetValidGenreListByIocomeType" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "iocomeType" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "allGenresList" }, + name: { kind: "Name", value: "householdGenre" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "iocomeType" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "iocomeType" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "genreId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "genreName" }, + name: { kind: "Name", value: "name" }, + }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + { + kind: "Field", + name: { kind: "Name", value: "displayOrder" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "categoriesByGenreIdList" }, + name: { kind: "Name", value: "categories" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "validFlag" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "categoryId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "categoryName" }, + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "displayOrder" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetValidGenreListByIocomeTypeQuery, + GetValidGenreListByIocomeTypeQueryVariables +>; +export const GetCreditCardSummaryByDateDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getCreditCardSummaryByDate" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "creditCardSummaries" }, + name: { kind: "Name", value: "householdCreditCardSummary" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "withdrawalDate" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "withdrawalDate" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_lte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "groupId", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "withdrawalDate" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "withdrawalDate" }, + }, + { kind: "Field", name: { kind: "Name", value: "totalAmount" } }, + { kind: "Field", name: { kind: "Name", value: "creditCard" } }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetCreditCardSummaryByDateQuery, + GetCreditCardSummaryByDateQueryVariables +>; +export const GetDailyDetailByIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetDailyDetailById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "dailyDetail" }, + name: { kind: "Name", value: "householdDailyDetailByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "FragmentSpread", + name: { kind: "Name", value: "fragDailyDetail" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragDailyDetail" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdDailyDetail" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "amount" } }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetDailyDetailByIdQuery, + GetDailyDetailByIdQueryVariables +>; +export const GetDepositDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getDeposit" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "depositCategory" }, + name: { kind: "Name", value: "householdDepositCategory" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + alias: { kind: "Name", value: "categoryName" }, + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "daily" }, + name: { kind: "Name", value: "dailyDetailsAggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "fromDate", + }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_lte", + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "toDate", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "sum" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "amount", + }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "avg" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "amount", + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "nodes" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "date" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "amount" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "memo" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "credit" }, + name: { + kind: "Name", + value: "creditCardDetailsAggregate", + }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "fromDate", + }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_lte", + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "toDate", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "sum" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "amount", + }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "avg" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "amount", + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "nodes" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "date" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "amount" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "memo" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetAccountByIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getAccountById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "account" }, + name: { kind: "Name", value: "householdAccountByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCreditCardDetailByIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getCreditCardDetailById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "creditCardDetail" }, + name: { kind: "Name", value: "householdCreditCardDetailByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "FragmentSpread", + name: { kind: "Name", value: "fragCreditCardDetail" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragCreditCardDetail" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdCreditCardDetail" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { kind: "Field", name: { kind: "Name", value: "amount" } }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "summary" }, + name: { kind: "Name", value: "creditCardSummary" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetCreditCardDetailByIdQuery, + GetCreditCardDetailByIdQueryVariables +>; +export const GetCreditCardDetailListDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getCreditCardDetailList" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "creditCardDetails" }, + name: { kind: "Name", value: "householdCreditCardDetail" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_lte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "FragmentSpread", + name: { kind: "Name", value: "fragCreditCardDetail" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragCreditCardDetail" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdCreditCardDetail" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { kind: "Field", name: { kind: "Name", value: "amount" } }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "summary" }, + name: { kind: "Name", value: "creditCardSummary" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetCreditCardDetailListQuery, + GetCreditCardDetailListQueryVariables +>; +export const GetCreditCardSummaryByAccountIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getCreditCardSummaryByAccountId" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "creditCardSummaries" }, + name: { kind: "Name", value: "householdCreditCardSummary" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "withdrawalDate" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "withdrawalDate" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_lte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "accountId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "accountId", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "withdrawalDate" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "withdrawalDate" }, + }, + { kind: "Field", name: { kind: "Name", value: "totalAmount" } }, + { kind: "Field", name: { kind: "Name", value: "creditCard" } }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetCreditCardSummaryByAccountIdQuery, + GetCreditCardSummaryByAccountIdQueryVariables +>; +export const GetCreditCardSummaryByIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getCreditCardSummaryById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "summaryId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "creditCardSummary" }, + name: { kind: "Name", value: "householdCreditCardSummaryByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "summaryId" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "creditCard" } }, + { + kind: "Field", + name: { kind: "Name", value: "withdrawalDate" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "totalAmount" } }, + { kind: "Field", name: { kind: "Name", value: "count" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetCreditCardSummaryByIdQuery, + GetCreditCardSummaryByIdQueryVariables +>; +export const GetDailyByAccountIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getDailyByAccountId" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "orderBy" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "OrderBy" } }, + defaultValue: { kind: "EnumValue", value: "ASC" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { + kind: "Field", + alias: { kind: "Name", value: "dailies" }, + name: { kind: "Name", value: "dailyDetailByDate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "args" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "group_id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "from_date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "to_date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "accountId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "accountId" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "orderBy" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { kind: "EnumValue", value: "DESC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "FragmentSpread", + name: { kind: "Name", value: "fragDailyDetail" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragDailyDetail" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdDailyDetail" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "amount" } }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetDailyByAccountIdQuery, + GetDailyByAccountIdQueryVariables +>; +export const GetDashboardSettingDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getDashboardSetting" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "userId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "setting" }, + name: { kind: "Name", value: "householdDashboardSetting" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "userId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "userId" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "order" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "feature" } }, + { kind: "Field", name: { kind: "Name", value: "order" } }, + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { + kind: "Field", + alias: { kind: "Name", value: "args" }, + name: { kind: "Name", value: "dashboardSettingArgs" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "type" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "type" } }, + { kind: "Field", name: { kind: "Name", value: "value" } }, + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetDashboardSettingQuery, + GetDashboardSettingQueryVariables +>; +export const GetDetailsByCategoryDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getDetailsByCategory" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "iocomeType" }, + }, + type: { + kind: "ListType", + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + defaultValue: { + kind: "ListValue", + values: [ + { kind: "StringValue", value: "INCOME", block: false }, + { kind: "StringValue", value: "OUTCOME", block: false }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "group" }, + name: { kind: "Name", value: "groupByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "transfer" }, + name: { kind: "Name", value: "transferCategory" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "outcomeCategoryId" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "incomeCategoryId" }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "dailyDetails" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_lte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "iocomeType" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_in" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "iocomeType", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "iocomeType" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "genreType" }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "amount" }, + }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "creditCardDetails" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_lte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "iocomeType" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_in" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "iocomeType", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "FragmentSpread", + name: { kind: "Name", value: "fragCreditCardDetail" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragCreditCardDetail" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdCreditCardDetail" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "date" } }, + { kind: "Field", name: { kind: "Name", value: "amount" } }, + { kind: "Field", name: { kind: "Name", value: "memo" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, + { kind: "Field", name: { kind: "Name", value: "genreType" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "summary" }, + name: { kind: "Name", value: "creditCardSummary" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "account" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetDetailsByCategoryQuery, + GetDetailsByCategoryQueryVariables +>; +export const GetFavoriteFilterDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getFavoriteFilter" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "filterId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "filter" }, + name: { kind: "Name", value: "householdFavoriteFilterByPk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "filterId" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "FragmentSpread", + name: { kind: "Name", value: "fragFavoriteFilter" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragFavoriteFilter" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdFavoriteFilter" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + alias: { kind: "Name", value: "args" }, + name: { kind: "Name", value: "favoriteFilterArgs" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "key" } }, + { kind: "Field", name: { kind: "Name", value: "value" } }, + { + kind: "Field", + alias: { kind: "Name", value: "category" }, + name: { kind: "Name", value: "favoriteFilterArgCategoryId" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "iocomeType" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "genreType" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetFavoriteFilterQuery, + GetFavoriteFilterQueryVariables +>; +export const GetFavoriteFiltersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getFavoriteFilters" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "filters" }, + name: { kind: "Name", value: "householdFavoriteFilter" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "FragmentSpread", + name: { kind: "Name", value: "fragFavoriteFilter" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "fragFavoriteFilter" }, + typeCondition: { + kind: "NamedType", + name: { kind: "Name", value: "HouseholdFavoriteFilter" }, + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + alias: { kind: "Name", value: "args" }, + name: { kind: "Name", value: "favoriteFilterArgs" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "key" } }, + { kind: "Field", name: { kind: "Name", value: "value" } }, + { + kind: "Field", + alias: { kind: "Name", value: "category" }, + name: { kind: "Name", value: "favoriteFilterArgCategoryId" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "__typename" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "iocomeType" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "genreType" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetFavoriteFiltersQuery, + GetFavoriteFiltersQueryVariables +>; diff --git a/packages/graphql/package.json b/packages/graphql/package.json index fba7bfb7..e914c1ad 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -9,7 +9,7 @@ "test": "jest", "test-watch": "jest --watch", "hasura-public-codegen": "graphql-codegen --config public/hasura-codegen.cjs", - "hasura-household-codegen": "graphql-codegen --config household/hasura-codegen.yml" + "hasura-household-codegen": "graphql-codegen --config household/hasura-codegen.cjs" }, "dependencies": { "@oneforall/domain": "workspace:^" diff --git a/packages/graphql/public/hasura-codegen.cjs b/packages/graphql/public/hasura-codegen.cjs index ad45a502..f90de936 100644 --- a/packages/graphql/public/hasura-codegen.cjs +++ b/packages/graphql/public/hasura-codegen.cjs @@ -1,8 +1,8 @@ const path = require('path'); -require('dotenv').config({ path: path.join(__dirname, '.env') }); +require('dotenv').config({ path: path.join(__dirname, '../.env') }); /* -echo ONEFORALL_GRAPHQL_ENDPOINT=https://hoge >> .env +echo ONEFORALL_GRAPHQL_ENDPOINT=https://hoge >> ../.env */ module.exports = { diff --git a/tooling/eslint/base.cjs b/tooling/eslint/base.cjs index 50ed2b20..b8a6a694 100644 --- a/tooling/eslint/base.cjs +++ b/tooling/eslint/base.cjs @@ -137,8 +137,6 @@ const config = { "no-useless-rename": ["error"], }, ignorePatterns: [ - "**/hasuraGraphql.tsx", - "**/hasuraHelperKidsGraphql.tsx", "**/*.config.js", "**/*.config.cjs", "**/.eslintrc.cjs", From fba0c341a3bc297358c759b232aa417f96df759c Mon Sep 17 00:00:00 2001 From: Ryo-Kgym Date: Thu, 11 Jul 2024 14:02:09 +0900 Subject: [PATCH 7/9] One-for-All-174 I enabled to fetch the account data on the server side. --- apps/web/src/app/household/account/page.tsx | 24 +- .../components/AccountContainer.tsx | 53 - .../components/AccountPresenter.tsx | 51 - .../components/BalanceListTable.tsx | 53 + .../account/useGetAccountBalanceList.ts | 33 - .../account/components/AccountListClient.tsx | 40 + .../account/components/AccountListServer.tsx | 27 + .../account/server/fetchBalanceList.ts | 31 + apps/web/src/routing/client/useNavigation.ts | 26 + .../domain/household/accountBalance.ts | 2 +- .../household/convert/parseToAccounts.test.ts | 88 ++ .../household/convert/parseToAccounts.ts | 21 + packages/graphql/household/index.ts | 147 +- ....graphql => getAccountBalanceList.graphql} | 8 +- packages/graphql/household/type.ts | 1237 ++++++++--------- 15 files changed, 915 insertions(+), 926 deletions(-) delete mode 100644 apps/web/src/features/household/accountList/components/AccountContainer.tsx delete mode 100644 apps/web/src/features/household/accountList/components/AccountPresenter.tsx create mode 100644 apps/web/src/features/household/accountList/components/BalanceListTable.tsx delete mode 100644 apps/web/src/hooks/household/account/useGetAccountBalanceList.ts create mode 100644 apps/web/src/pageComponents/household/account/components/AccountListClient.tsx create mode 100644 apps/web/src/pageComponents/household/account/components/AccountListServer.tsx create mode 100644 apps/web/src/pageComponents/household/account/server/fetchBalanceList.ts create mode 100644 apps/web/src/routing/client/useNavigation.ts rename apps/web/src/features/household/accountList/components/type.ts => packages/domain/household/accountBalance.ts (68%) create mode 100644 packages/graphql/household/convert/parseToAccounts.test.ts create mode 100644 packages/graphql/household/convert/parseToAccounts.ts rename packages/graphql/household/schema/query/get/{GetAccountBalanceList.graphql => getAccountBalanceList.graphql} (69%) diff --git a/apps/web/src/app/household/account/page.tsx b/apps/web/src/app/household/account/page.tsx index f49767c2..0322358c 100644 --- a/apps/web/src/app/household/account/page.tsx +++ b/apps/web/src/app/household/account/page.tsx @@ -1,9 +1,21 @@ -/* - * Copyright (c) 2023 Ryo-Kgym. - */ +import { AccountListServer } from "@pageComponents/household/account/components/AccountListServer"; -import { AccountContainer } from "@features/household/accountList/components/AccountContainer"; - -const Page = () => ; +const Page = ({ + searchParams, +}: { + searchParams: { + fromDate: string | undefined; + toDate: string | undefined; + accountId: string | undefined; + }; +}) => ( + +); export default Page; diff --git a/apps/web/src/features/household/accountList/components/AccountContainer.tsx b/apps/web/src/features/household/accountList/components/AccountContainer.tsx deleted file mode 100644 index 593b9c61..00000000 --- a/apps/web/src/features/household/accountList/components/AccountContainer.tsx +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) 2023 Ryo-Kgym. - */ - -"use client"; - -import { useState } from "react"; -import { ResponsiveSwitcher } from "@app/household/_layout/ResponsiveSwitcher"; -import { DailyTableByAccount } from "@components/organisms/daily_table/account"; -import { AccountTableRow } from "@features/household/accountList/components/type"; -import { useGetAccountBalanceList } from "@hooks/household/account/useGetAccountBalanceList"; - -import { AccountPresenter } from "./AccountPresenter"; - -const FIRST_DATE = new Date("2019-01-01"); - -export const AccountContainer = () => { - const [fromDate, setFromDate] = useState(FIRST_DATE); - const [toDate, setToDate] = useState(new Date()); - const [selectedAccountId, setSelectedAccountId] = useState(""); - - const { data, total } = useGetAccountBalanceList(fromDate, toDate!); - - const records: AccountTableRow[] = - data?.account.map((a) => ({ - id: a.id, - accountName: a.accountName, - balance: a.allDetailViewsAggregate.aggregate?.sum?.signedAmount, - })) ?? []; - - return ( - setSelectedAccountId(record.id.toString())} - /> - } - second={ - - } - /> - ); -}; diff --git a/apps/web/src/features/household/accountList/components/AccountPresenter.tsx b/apps/web/src/features/household/accountList/components/AccountPresenter.tsx deleted file mode 100644 index 7847ea53..00000000 --- a/apps/web/src/features/household/accountList/components/AccountPresenter.tsx +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) 2023 Ryo-Kgym. - */ - -import { Total } from "@components/molecules/Total"; -import { RangeDatePicker } from "@components/ui/date"; -import { DataTable } from "@components/ui/v4/table"; - -import { AccountTableRow } from "./type"; - -export const AccountPresenter = ({ - fromDate, - changeFromDate, - toDate, - changeToDate, - total, - records, - onRowClick, -}: { - fromDate: Date | null; - changeFromDate: (_: Date | null) => void; - toDate: Date | null; - changeToDate: (_: Date | null) => void; - total: number | undefined; - records: AccountTableRow[]; - onRowClick: (record: AccountTableRow) => void; -}) => ( -
- - balance.toLocaleString(), - }, - ]} - records={records} - onRowClick={onRowClick} - /> - -
-); diff --git a/apps/web/src/features/household/accountList/components/BalanceListTable.tsx b/apps/web/src/features/household/accountList/components/BalanceListTable.tsx new file mode 100644 index 00000000..56d50f47 --- /dev/null +++ b/apps/web/src/features/household/accountList/components/BalanceListTable.tsx @@ -0,0 +1,53 @@ +"use client"; + +import { Total } from "@components/molecules/Total"; +import { RangeDatePicker } from "@components/ui/date"; +import { DataTable } from "@components/ui/v4/table"; +import { AccountBalance } from "@oneforall/domain/household/accountBalance"; +import { useNavigation } from "@routing/client/useNavigation"; + +export const BalanceListTable = ({ + balanceRecords, + total = 0, + fromDate, + toDate, +}: { + balanceRecords: AccountBalance[]; + total: number | undefined; + fromDate: Date; + toDate: Date; +}) => { + const { prependParamAndPush } = useNavigation(); + + return ( + <> + { + prependParamAndPush({ key: "fromDate", value: d.toISOString() }); + }} + toDate={toDate} + changeToDate={(d) => { + prependParamAndPush({ key: "toDate", value: d.toISOString() }); + }} + /> + balance.toLocaleString(), + }, + ]} + records={balanceRecords} + onRowClick={(record) => { + prependParamAndPush({ key: "accountId", value: record.id }); + }} + /> + + + ); +}; diff --git a/apps/web/src/hooks/household/account/useGetAccountBalanceList.ts b/apps/web/src/hooks/household/account/useGetAccountBalanceList.ts deleted file mode 100644 index fa6e199c..00000000 --- a/apps/web/src/hooks/household/account/useGetAccountBalanceList.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) 2023 Ryo-Kgym. - */ - -import { useFindUser } from "@persistence/browser/client/useFindUser"; -import { useGetAccountBalanceListQuery } from "@v3/graphql/household"; - -export const useGetAccountBalanceList = ( - fromDate: Date | null, - toDate: Date, -) => { - const { group } = useFindUser(); - const [{ data, fetching, error }] = useGetAccountBalanceListQuery({ - variables: { - fromDate: fromDate ?? new Date(0), - toDate, - groupId: group.id, - }, - }); - - const total = data?.account?.reduce( - (acc, cur) => - Number( - cur?.dailyDetails.reduce((acc, cur) => { - const isIncome = cur.genre.iocomeType === "INCOME"; - return acc + cur.amount * (isIncome ? 1 : -1); - }, 0), - ) + acc, - 0, - ); - - return { data, fetching, error, total }; -}; diff --git a/apps/web/src/pageComponents/household/account/components/AccountListClient.tsx b/apps/web/src/pageComponents/household/account/components/AccountListClient.tsx new file mode 100644 index 00000000..806019c7 --- /dev/null +++ b/apps/web/src/pageComponents/household/account/components/AccountListClient.tsx @@ -0,0 +1,40 @@ +"use client"; + +import { ResponsiveSwitcher } from "@app/household/_layout/ResponsiveSwitcher"; +import { DailyTableByAccount } from "@components/organisms/daily_table/account"; +import { BalanceListTable } from "@features/household/accountList/components/BalanceListTable"; +import { AccountBalance } from "@oneforall/domain/household/accountBalance"; + +export const AccountListClient = ({ + balanceRecords, + total, + fromDate, + toDate, + accountId, +}: { + balanceRecords: AccountBalance[]; + total: number | undefined; + fromDate: Date; + toDate: Date; + accountId: string | undefined; +}) => { + return ( + + } + second={ + + } + /> + ); +}; diff --git a/apps/web/src/pageComponents/household/account/components/AccountListServer.tsx b/apps/web/src/pageComponents/household/account/components/AccountListServer.tsx new file mode 100644 index 00000000..13669aac --- /dev/null +++ b/apps/web/src/pageComponents/household/account/components/AccountListServer.tsx @@ -0,0 +1,27 @@ +import { fetchBalanceList } from "../server/fetchBalanceList"; +import { AccountListClient } from "./AccountListClient"; + +export const AccountListServer = async ({ + fromDate = new Date("2019-01-01"), + toDate = new Date(), + accountId, +}: { + fromDate: Date | undefined; + toDate: Date | undefined; + accountId: string | undefined; +}) => { + const { records, total } = await fetchBalanceList({ + fromDate, + toDate, + }); + + return ( + + ); +}; diff --git a/apps/web/src/pageComponents/household/account/server/fetchBalanceList.ts b/apps/web/src/pageComponents/household/account/server/fetchBalanceList.ts new file mode 100644 index 00000000..1caf9999 --- /dev/null +++ b/apps/web/src/pageComponents/household/account/server/fetchBalanceList.ts @@ -0,0 +1,31 @@ +import { findUser } from "@persistence/browser/server/find-user"; +import { fetchQuery } from "@persistence/database/server/fetchQuery"; +import { + convertToAccounts, + totalBalance, +} from "@v3/graphql/household/convert/parseToAccounts"; +import { GetAccountBalanceListDocument } from "@v3/graphql/household/type"; + +export const fetchBalanceList = async ({ + fromDate, + toDate, +}: { + fromDate: Date; + toDate: Date; +}) => { + const { group } = await findUser(); + + const { data } = await fetchQuery(GetAccountBalanceListDocument, { + fromDate: fromDate, + toDate: toDate, + groupId: group.id, + }); + + const records = convertToAccounts(data); + const total = totalBalance(data); + + return { + records, + total, + }; +}; diff --git a/apps/web/src/routing/client/useNavigation.ts b/apps/web/src/routing/client/useNavigation.ts new file mode 100644 index 00000000..d36eec0c --- /dev/null +++ b/apps/web/src/routing/client/useNavigation.ts @@ -0,0 +1,26 @@ +import { usePathname, useRouter, useSearchParams } from "next/navigation"; + +export const useNavigation = () => { + const { push } = useRouter(); + const pathname = usePathname(); + const searchParams = useSearchParams(); + + const prependParamAndPush = ({ + key, + value, + }: { + key: string; + value: string; + }) => { + const searchParamJoined = Object.entries( + Object.fromEntries(searchParams.entries()), + ) + .filter(([k]) => k !== key) + .map(([k, v]) => `${k}=${v}`) + .join("&"); + + return push(`${pathname}?${searchParamJoined}&${key}=${value}`); + }; + + return { prependParamAndPush }; +}; diff --git a/apps/web/src/features/household/accountList/components/type.ts b/packages/domain/household/accountBalance.ts similarity index 68% rename from apps/web/src/features/household/accountList/components/type.ts rename to packages/domain/household/accountBalance.ts index 1533eb2f..aafad83c 100644 --- a/apps/web/src/features/household/accountList/components/type.ts +++ b/packages/domain/household/accountBalance.ts @@ -1,3 +1,3 @@ -export type AccountTableRow = { +export type AccountBalance = { id: string; } & Record<"accountName" | "balance", string | number>; diff --git a/packages/graphql/household/convert/parseToAccounts.test.ts b/packages/graphql/household/convert/parseToAccounts.test.ts new file mode 100644 index 00000000..40c91c92 --- /dev/null +++ b/packages/graphql/household/convert/parseToAccounts.test.ts @@ -0,0 +1,88 @@ +import { convertToAccounts, totalBalance } from "./parseToAccounts"; + +describe("convertToAccounts", () => { + it("should convert data to accounts", () => { + const data: Parameters[0] = { + account: [ + { + __typename: "HouseholdAccount", + id: "1", + accountName: "account1", + allDetailViewsAggregate: { + aggregate: { + sum: { + signedAmount: 100, + }, + }, + }, + }, + { + __typename: "HouseholdAccount", + id: "2", + accountName: "account2", + allDetailViewsAggregate: { + aggregate: { + sum: { + signedAmount: 200, + }, + }, + }, + }, + ], + }; + + const actual = convertToAccounts(data); + + expect(actual).toEqual([ + { + id: "1", + accountName: "account1", + balance: 100, + }, + { + id: "2", + accountName: "account2", + balance: 200, + }, + ]); + }); +}); + +describe("totalBalance", () => { + it("should calculate total balance", () => { + const data: Parameters[0] = { + account: [ + { + __typename: "HouseholdAccount", + id: "1", + accountName: "account1", + allDetailViewsAggregate: { + aggregate: { + sum: { + __typename: "HouseholdAllDetailViewSumFields", + signedAmount: 100, + }, + }, + }, + }, + { + __typename: "HouseholdAccount", + id: "2", + accountName: "account2", + allDetailViewsAggregate: { + aggregate: { + sum: { + __typename: "HouseholdAllDetailViewSumFields", + signedAmount: 200, + }, + }, + }, + }, + ], + }; + + const actual = totalBalance(data); + + expect(actual).toBe(300); + }); +}); diff --git a/packages/graphql/household/convert/parseToAccounts.ts b/packages/graphql/household/convert/parseToAccounts.ts new file mode 100644 index 00000000..a777d40b --- /dev/null +++ b/packages/graphql/household/convert/parseToAccounts.ts @@ -0,0 +1,21 @@ +import { AccountBalance } from "@oneforall/domain/household/accountBalance"; + +import { GetAccountBalanceListQuery } from "../type"; + +export const convertToAccounts = ( + data: GetAccountBalanceListQuery, +): AccountBalance[] => { + return data.account.map((a) => ({ + id: a.id, + accountName: a.accountName, + balance: a.allDetailViewsAggregate.aggregate?.sum?.signedAmount, + })); +}; + +export const totalBalance = (data: GetAccountBalanceListQuery): number => { + return data.account.reduce( + (acc, cur) => + Number(cur.allDetailViewsAggregate.aggregate?.sum?.signedAmount) + acc, + 0, + ); +}; diff --git a/packages/graphql/household/index.ts b/packages/graphql/household/index.ts index c9f820ff..30bb56c0 100644 --- a/packages/graphql/household/index.ts +++ b/packages/graphql/household/index.ts @@ -5696,47 +5696,6 @@ export type UpdateFavoriteFilterArgMutation = { insertArg?: { __typename: "HouseholdFavoriteFilterArgs"; id: string } | null; }; -export type GetAccountBalanceListQueryVariables = Exact<{ - groupId: Scalars["String"]; - fromDate: Scalars["date"]; - toDate: Scalars["date"]; -}>; - -export type GetAccountBalanceListQuery = { - __typename?: "query_root"; - account: Array<{ - __typename: "HouseholdAccount"; - id: string; - accountName: string; - dailyDetails: Array<{ - __typename: "HouseholdDailyDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - genreType: string; - iocomeType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; - allDetailViewsAggregate: { - __typename?: "HouseholdAllDetailViewAggregate"; - aggregate?: { - __typename?: "HouseholdAllDetailViewAggregateFields"; - sum?: { - __typename: "HouseholdAllDetailViewSumFields"; - signedAmount?: any | null; - } | null; - } | null; - }; - }>; -}; - export type GetAllCategoriesQueryVariables = Exact<{ groupId: Scalars["String"]; }>; @@ -6236,6 +6195,31 @@ export type FragDailyDetailFragment = { account: { __typename?: "HouseholdAccount"; id: string; name: string }; }; +export type GetAccountBalanceListQueryVariables = Exact<{ + groupId: Scalars["String"]; + fromDate: Scalars["date"]; + toDate: Scalars["date"]; +}>; + +export type GetAccountBalanceListQuery = { + __typename?: "query_root"; + account: Array<{ + __typename: "HouseholdAccount"; + id: string; + accountName: string; + allDetailViewsAggregate: { + __typename?: "HouseholdAllDetailViewAggregate"; + aggregate?: { + __typename?: "HouseholdAllDetailViewAggregateFields"; + sum?: { + __typename?: "HouseholdAllDetailViewSumFields"; + signedAmount?: any | null; + } | null; + } | null; + }; + }>; +}; + export type GetCreditCardSummaryByDateQueryVariables = Exact<{ fromDate: Scalars["date"]; toDate: Scalars["date"]; @@ -7421,50 +7405,6 @@ export function useUpdateFavoriteFilterArgMutation() { UpdateFavoriteFilterArgMutationVariables >(UpdateFavoriteFilterArgDocument); } -export const GetAccountBalanceListDocument = gql` - query GetAccountBalanceList( - $groupId: String! - $fromDate: date! - $toDate: date! - ) { - account: householdAccount( - where: { _and: { groupId: { _eq: $groupId } } } - orderBy: { displayOrder: ASC } - ) { - __typename - id - accountName: name - dailyDetails( - where: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } - ) { - ...fragDailyDetail - } - allDetailViewsAggregate( - where: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } - ) { - aggregate { - sum { - __typename - signedAmount - } - } - } - } - } - ${FragDailyDetailFragmentDoc} -`; - -export function useGetAccountBalanceListQuery( - options: Omit< - Urql.UseQueryArgs, - "query" - >, -) { - return Urql.useQuery< - GetAccountBalanceListQuery, - GetAccountBalanceListQueryVariables - >({ query: GetAccountBalanceListDocument, ...options }); -} export const GetAllCategoriesDocument = gql` query GetAllCategories($groupId: String!) { categories: householdCategory( @@ -8133,6 +8073,43 @@ export function useGetValidGenreListByIocomeTypeQuery( GetValidGenreListByIocomeTypeQueryVariables >({ query: GetValidGenreListByIocomeTypeDocument, ...options }); } +export const GetAccountBalanceListDocument = gql` + query getAccountBalanceList( + $groupId: String! + $fromDate: date! + $toDate: date! + ) { + account: householdAccount( + where: { _and: { groupId: { _eq: $groupId } } } + orderBy: { displayOrder: ASC } + ) { + __typename + id + accountName: name + allDetailViewsAggregate( + where: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } + ) { + aggregate { + sum { + signedAmount + } + } + } + } + } +`; + +export function useGetAccountBalanceListQuery( + options: Omit< + Urql.UseQueryArgs, + "query" + >, +) { + return Urql.useQuery< + GetAccountBalanceListQuery, + GetAccountBalanceListQueryVariables + >({ query: GetAccountBalanceListDocument, ...options }); +} export const GetCreditCardSummaryByDateDocument = gql` query getCreditCardSummaryByDate( $fromDate: date! diff --git a/packages/graphql/household/schema/query/get/GetAccountBalanceList.graphql b/packages/graphql/household/schema/query/get/getAccountBalanceList.graphql similarity index 69% rename from packages/graphql/household/schema/query/get/GetAccountBalanceList.graphql rename to packages/graphql/household/schema/query/get/getAccountBalanceList.graphql index 31a0dc67..49a22019 100644 --- a/packages/graphql/household/schema/query/get/GetAccountBalanceList.graphql +++ b/packages/graphql/household/schema/query/get/getAccountBalanceList.graphql @@ -1,4 +1,4 @@ -query GetAccountBalanceList( +query getAccountBalanceList( $groupId: String! $fromDate: date! $toDate: date! @@ -10,17 +10,11 @@ query GetAccountBalanceList( __typename id accountName: name - dailyDetails( - where: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } - ) { - ...fragDailyDetail - } allDetailViewsAggregate( where: { date: { _gte: $fromDate }, _and: { date: { _lte: $toDate } } } ) { aggregate { sum { - __typename signedAmount } } diff --git a/packages/graphql/household/type.ts b/packages/graphql/household/type.ts index df055498..f8a4f174 100644 --- a/packages/graphql/household/type.ts +++ b/packages/graphql/household/type.ts @@ -2,7 +2,7 @@ import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/ export type Maybe = T | null; export type InputMaybe = Maybe; -export type Exact = { +export type Exact> = { [K in keyof T]: T[K]; }; export type MakeOptional = Omit & { @@ -38,16 +38,16 @@ export type AffiliationAggregateOrderBy = { /** input type for inserting array relation for remote table "affiliation" */ export type AffiliationArrRelInsertInput = { - data: Array; + data: AffiliationInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; /** Boolean expression to filter rows from the table "affiliation". All fields are combined with a logical 'AND'. */ export type AffiliationBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; group?: InputMaybe; groupId?: InputMaybe; groupRole?: InputMaybe; @@ -89,7 +89,7 @@ export type AffiliationMinOrderBy = { /** on_conflict condition type for table "affiliation" */ export type AffiliationOnConflict = { constraint: AffiliationConstraint; - updateColumns?: Array; + updateColumns?: AffiliationUpdateColumn[]; where?: InputMaybe; }; @@ -144,16 +144,16 @@ export type AppAggregateOrderBy = { /** input type for inserting array relation for remote table "app" */ export type AppArrRelInsertInput = { - data: Array; + data: AppInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; /** Boolean expression to filter rows from the table "app". All fields are combined with a logical 'AND'. */ export type AppBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; createUserId?: InputMaybe; fields?: InputMaybe; group?: InputMaybe; @@ -218,7 +218,7 @@ export type AppObjRelInsertInput = { /** on_conflict condition type for table "app" */ export type AppOnConflict = { constraint: AppConstraint; - updateColumns?: Array; + updateColumns?: AppUpdateColumn[]; where?: InputMaybe; }; @@ -290,9 +290,9 @@ export type AppUpdates = { /** Boolean expression to filter rows from the table "application". All fields are combined with a logical 'AND'. */ export type ApplicationBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; groupApplications?: InputMaybe; groupApplicationsAggregate?: InputMaybe; id?: InputMaybe; @@ -342,12 +342,12 @@ export type BooleanComparisonExp = { _eq?: InputMaybe; _gt?: InputMaybe; _gte?: InputMaybe; - _in?: InputMaybe>; + _in?: InputMaybe; _isNull?: InputMaybe; _lt?: InputMaybe; _lte?: InputMaybe; _neq?: InputMaybe; - _nin?: InputMaybe>; + _nin?: InputMaybe; }; /** ordering argument of a cursor */ @@ -362,12 +362,12 @@ export type DateComparisonExp = { _eq?: InputMaybe; _gt?: InputMaybe; _gte?: InputMaybe; - _in?: InputMaybe>; + _in?: InputMaybe; _isNull?: InputMaybe; _lt?: InputMaybe; _lte?: InputMaybe; _neq?: InputMaybe; - _nin?: InputMaybe>; + _nin?: InputMaybe; }; /** order by aggregate values of table "field" */ @@ -387,7 +387,7 @@ export type FieldAggregateOrderBy = { /** input type for inserting array relation for remote table "field" */ export type FieldArrRelInsertInput = { - data: Array; + data: FieldInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; @@ -399,9 +399,9 @@ export type FieldAvgOrderBy = { /** Boolean expression to filter rows from the table "field". All fields are combined with a logical 'AND'. */ export type FieldBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; app?: InputMaybe; appId?: InputMaybe; fieldKind?: InputMaybe; @@ -453,7 +453,7 @@ export type FieldMinOrderBy = { /** on_conflict condition type for table "field" */ export type FieldOnConflict = { constraint: FieldConstraint; - updateColumns?: Array; + updateColumns?: FieldUpdateColumn[]; where?: InputMaybe; }; @@ -582,9 +582,9 @@ export type GroupApplicationAggregateOrderBy = { /** Boolean expression to filter rows from the table "group_application". All fields are combined with a logical 'AND'. */ export type GroupApplicationBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; application?: InputMaybe; applicationId?: InputMaybe; group?: InputMaybe; @@ -641,9 +641,9 @@ export type GroupApplicationStreamCursorValueInput = { /** Boolean expression to filter rows from the table "group". All fields are combined with a logical 'AND'. */ export type GroupBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; accounts?: InputMaybe; accountsAggregate?: InputMaybe; affiliations?: InputMaybe; @@ -751,9 +751,9 @@ export type HouseholdAccountAvgOrderBy = { /** Boolean expression to filter rows from the table "household.account". All fields are combined with a logical 'AND'. */ export type HouseholdAccountBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; allDetailViews?: InputMaybe; allDetailViewsAggregate?: InputMaybe; creditCardSummaries?: InputMaybe; @@ -810,7 +810,7 @@ export type HouseholdAccountObjRelInsertInput = { /** on_conflict condition type for table "household.account" */ export type HouseholdAccountOnConflict = { constraint: HouseholdAccountConstraint; - updateColumns?: Array; + updateColumns?: HouseholdAccountUpdateColumn[]; where?: InputMaybe; }; @@ -934,9 +934,9 @@ export type HouseholdAllDetailViewAvgOrderBy = { /** Boolean expression to filter rows from the table "household.all_detail_view". All fields are combined with a logical 'AND'. */ export type HouseholdAllDetailViewBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; accountId?: InputMaybe; categoryId?: InputMaybe; date?: InputMaybe; @@ -1102,7 +1102,7 @@ export type HouseholdCategoryAggregateOrderBy = { /** input type for inserting array relation for remote table "household.category" */ export type HouseholdCategoryArrRelInsertInput = { - data: Array; + data: HouseholdCategoryInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; @@ -1114,9 +1114,9 @@ export type HouseholdCategoryAvgOrderBy = { /** Boolean expression to filter rows from the table "household.category". All fields are combined with a logical 'AND'. */ export type HouseholdCategoryBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; creditCardDetails?: InputMaybe; creditCardDetailsAggregate?: InputMaybe; dailyDetails?: InputMaybe; @@ -1188,7 +1188,7 @@ export type HouseholdCategoryObjRelInsertInput = { /** on_conflict condition type for table "household.category" */ export type HouseholdCategoryOnConflict = { constraint: HouseholdCategoryConstraint; - updateColumns?: Array; + updateColumns?: HouseholdCategoryUpdateColumn[]; where?: InputMaybe; }; @@ -1337,7 +1337,7 @@ export type HouseholdCreditCardDetailAggregateOrderBy = { /** input type for inserting array relation for remote table "household.credit_card_detail" */ export type HouseholdCreditCardDetailArrRelInsertInput = { - data: Array; + data: HouseholdCreditCardDetailInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; @@ -1349,9 +1349,9 @@ export type HouseholdCreditCardDetailAvgOrderBy = { /** Boolean expression to filter rows from the table "household.credit_card_detail". All fields are combined with a logical 'AND'. */ export type HouseholdCreditCardDetailBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; amount?: InputMaybe; category?: InputMaybe; categoryId?: InputMaybe; @@ -1428,7 +1428,7 @@ export type HouseholdCreditCardDetailMinOrderBy = { /** on_conflict condition type for table "household.credit_card_detail" */ export type HouseholdCreditCardDetailOnConflict = { constraint: HouseholdCreditCardDetailConstraint; - updateColumns?: Array; + updateColumns?: HouseholdCreditCardDetailUpdateColumn[]; where?: InputMaybe; }; @@ -1603,7 +1603,7 @@ export type HouseholdCreditCardSummaryAggregateOrderBy = { /** input type for inserting array relation for remote table "household.credit_card_summary" */ export type HouseholdCreditCardSummaryArrRelInsertInput = { - data: Array; + data: HouseholdCreditCardSummaryInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; @@ -1616,9 +1616,9 @@ export type HouseholdCreditCardSummaryAvgOrderBy = { /** Boolean expression to filter rows from the table "household.credit_card_summary". All fields are combined with a logical 'AND'. */ export type HouseholdCreditCardSummaryBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; account?: InputMaybe; accountId?: InputMaybe; count?: InputMaybe; @@ -1688,7 +1688,7 @@ export type HouseholdCreditCardSummaryObjRelInsertInput = { /** on_conflict condition type for table "household.credit_card_summary" */ export type HouseholdCreditCardSummaryOnConflict = { constraint: HouseholdCreditCardSummaryConstraint; - updateColumns?: Array; + updateColumns?: HouseholdCreditCardSummaryUpdateColumn[]; where?: InputMaybe; }; @@ -1784,9 +1784,9 @@ export type HouseholdCreditCardSummarySumOrderBy = { /** Boolean expression to filter rows from the table "household.credit_card_summary_total_by_account_view". All fields are combined with a logical 'AND'. */ export type HouseholdCreditCardSummaryTotalByAccountViewBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; accountId?: InputMaybe; date?: InputMaybe; displayOrder?: InputMaybe; @@ -1909,7 +1909,7 @@ export type HouseholdDailyDetailAggregateOrderBy = { /** input type for inserting array relation for remote table "household.daily_detail" */ export type HouseholdDailyDetailArrRelInsertInput = { - data: Array; + data: HouseholdDailyDetailInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; @@ -1921,9 +1921,9 @@ export type HouseholdDailyDetailAvgOrderBy = { /** Boolean expression to filter rows from the table "household.daily_detail". All fields are combined with a logical 'AND'. */ export type HouseholdDailyDetailBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; account?: InputMaybe; accountId?: InputMaybe; amount?: InputMaybe; @@ -2000,7 +2000,7 @@ export type HouseholdDailyDetailMinOrderBy = { /** on_conflict condition type for table "household.daily_detail" */ export type HouseholdDailyDetailOnConflict = { constraint: HouseholdDailyDetailConstraint; - updateColumns?: Array; + updateColumns?: HouseholdDailyDetailUpdateColumn[]; where?: InputMaybe; }; @@ -2156,9 +2156,9 @@ export type HouseholdDailyDetailVarianceOrderBy = { /** Boolean expression to filter rows from the table "household.daily_total_view". All fields are combined with a logical 'AND'. */ export type HouseholdDailyTotalViewBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; date?: InputMaybe; groupId?: InputMaybe; iocomeType?: InputMaybe; @@ -2224,16 +2224,16 @@ export type HouseholdDashboardSettingArgsAggregateOrderBy = { /** input type for inserting array relation for remote table "household.dashboard_setting_args" */ export type HouseholdDashboardSettingArgsArrRelInsertInput = { - data: Array; + data: HouseholdDashboardSettingArgsInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; /** Boolean expression to filter rows from the table "household.dashboard_setting_args". All fields are combined with a logical 'AND'. */ export type HouseholdDashboardSettingArgsBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; dashboardSetting?: InputMaybe; id?: InputMaybe; settingId?: InputMaybe; @@ -2274,7 +2274,7 @@ export type HouseholdDashboardSettingArgsMinOrderBy = { /** on_conflict condition type for table "household.dashboard_setting_args" */ export type HouseholdDashboardSettingArgsOnConflict = { constraint: HouseholdDashboardSettingArgsConstraint; - updateColumns?: Array; + updateColumns?: HouseholdDashboardSettingArgsUpdateColumn[]; where?: InputMaybe; }; @@ -2326,9 +2326,9 @@ export type HouseholdDashboardSettingAvgOrderBy = { /** Boolean expression to filter rows from the table "household.dashboard_setting". All fields are combined with a logical 'AND'. */ export type HouseholdDashboardSettingBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; dashboardSettingArgs?: InputMaybe; feature?: InputMaybe; group?: InputMaybe; @@ -2388,7 +2388,7 @@ export type HouseholdDashboardSettingObjRelInsertInput = { /** on_conflict condition type for table "household.dashboard_setting" */ export type HouseholdDashboardSettingOnConflict = { constraint: HouseholdDashboardSettingConstraint; - updateColumns?: Array; + updateColumns?: HouseholdDashboardSettingUpdateColumn[]; where?: InputMaybe; }; @@ -2518,9 +2518,9 @@ export type HouseholdDepositCategoryAggregateOrderBy = { /** Boolean expression to filter rows from the table "household.deposit_category". All fields are combined with a logical 'AND'. */ export type HouseholdDepositCategoryBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; category?: InputMaybe; categoryId?: InputMaybe; group?: InputMaybe; @@ -2592,16 +2592,16 @@ export type HouseholdFavoriteFilterArgsAggregateOrderBy = { /** input type for inserting array relation for remote table "household.favorite_filter_args" */ export type HouseholdFavoriteFilterArgsArrRelInsertInput = { - data: Array; + data: HouseholdFavoriteFilterArgsInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; /** Boolean expression to filter rows from the table "household.favorite_filter_args". All fields are combined with a logical 'AND'. */ export type HouseholdFavoriteFilterArgsBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; favoriteFilter?: InputMaybe; favoriteFilterArgCategoryId?: InputMaybe; filterId?: InputMaybe; @@ -2644,7 +2644,7 @@ export type HouseholdFavoriteFilterArgsMinOrderBy = { /** on_conflict condition type for table "household.favorite_filter_args" */ export type HouseholdFavoriteFilterArgsOnConflict = { constraint: HouseholdFavoriteFilterArgsConstraint; - updateColumns?: Array; + updateColumns?: HouseholdFavoriteFilterArgsUpdateColumn[]; where?: InputMaybe; }; @@ -2696,9 +2696,9 @@ export type HouseholdFavoriteFilterArgsUpdates = { /** Boolean expression to filter rows from the table "household.favorite_filter". All fields are combined with a logical 'AND'. */ export type HouseholdFavoriteFilterBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; favoriteFilterArgs?: InputMaybe; favoriteFilterArgsAggregate?: InputMaybe; group?: InputMaybe; @@ -2744,7 +2744,7 @@ export type HouseholdFavoriteFilterObjRelInsertInput = { /** on_conflict condition type for table "household.favorite_filter" */ export type HouseholdFavoriteFilterOnConflict = { constraint: HouseholdFavoriteFilterConstraint; - updateColumns?: Array; + updateColumns?: HouseholdFavoriteFilterUpdateColumn[]; where?: InputMaybe; }; @@ -2816,9 +2816,9 @@ export type HouseholdGenreAvgOrderBy = { /** Boolean expression to filter rows from the table "household.genre". All fields are combined with a logical 'AND'. */ export type HouseholdGenreBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; categories?: InputMaybe; creditCardDetails?: InputMaybe; creditCardDetailsAggregate?: InputMaybe; @@ -2888,7 +2888,7 @@ export type HouseholdGenreObjRelInsertInput = { /** on_conflict condition type for table "household.genre" */ export type HouseholdGenreOnConflict = { constraint: HouseholdGenreConstraint; - updateColumns?: Array; + updateColumns?: HouseholdGenreUpdateColumn[]; where?: InputMaybe; }; @@ -3043,9 +3043,9 @@ export type HouseholdImportFileHistoryAggregateOrderBy = { /** Boolean expression to filter rows from the table "household.import_file_history". All fields are combined with a logical 'AND'. */ export type HouseholdImportFileHistoryBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; fileName?: InputMaybe; fileType?: InputMaybe; group?: InputMaybe; @@ -3093,7 +3093,7 @@ export type HouseholdImportFileHistoryMinOrderBy = { /** on_conflict condition type for table "household.import_file_history" */ export type HouseholdImportFileHistoryOnConflict = { constraint: HouseholdImportFileHistoryConstraint; - updateColumns?: Array; + updateColumns?: HouseholdImportFileHistoryUpdateColumn[]; where?: InputMaybe; }; @@ -3167,7 +3167,7 @@ export type HouseholdSummaryCategoryAggregateOrderBy = { /** input type for inserting array relation for remote table "household.summary_category" */ export type HouseholdSummaryCategoryArrRelInsertInput = { - data: Array; + data: HouseholdSummaryCategoryInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; @@ -3179,9 +3179,9 @@ export type HouseholdSummaryCategoryAvgOrderBy = { /** Boolean expression to filter rows from the table "household.summary_category". All fields are combined with a logical 'AND'. */ export type HouseholdSummaryCategoryBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; category?: InputMaybe; categoryId?: InputMaybe; displayOrder?: InputMaybe; @@ -3223,7 +3223,7 @@ export type HouseholdSummaryCategoryMinOrderBy = { /** on_conflict condition type for table "household.summary_category" */ export type HouseholdSummaryCategoryOnConflict = { constraint: HouseholdSummaryCategoryConstraint; - updateColumns?: Array; + updateColumns?: HouseholdSummaryCategoryUpdateColumn[]; where?: InputMaybe; }; @@ -3330,9 +3330,9 @@ export type HouseholdTotalByCategoryViewAvgOrderBy = { /** Boolean expression to filter rows from the table "household.total_by_category_view". All fields are combined with a logical 'AND'. */ export type HouseholdTotalByCategoryViewBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; categoryId?: InputMaybe; categoryName?: InputMaybe; date?: InputMaybe; @@ -3457,9 +3457,9 @@ export type HouseholdTotalByCategoryViewVarianceOrderBy = { /** Boolean expression to filter rows from the table "household.total_by_genre_view". All fields are combined with a logical 'AND'. */ export type HouseholdTotalByGenreViewBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; date?: InputMaybe; genreId?: InputMaybe; genreName?: InputMaybe; @@ -3524,9 +3524,9 @@ export type HouseholdTransferCategoryAggregateOrderBy = { /** Boolean expression to filter rows from the table "household.transfer_category". All fields are combined with a logical 'AND'. */ export type HouseholdTransferCategoryBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; categoryByIncomeCategoryId?: InputMaybe; categoryByOutcomeCategoryId?: InputMaybe; group?: InputMaybe; @@ -3600,7 +3600,7 @@ export type ImportFileHistoryAggregateOrderBy = { /** input type for inserting array relation for remote table "import_file_history" */ export type ImportFileHistoryArrRelInsertInput = { - data: Array; + data: ImportFileHistoryInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; @@ -3612,9 +3612,9 @@ export type ImportFileHistoryAvgOrderBy = { /** Boolean expression to filter rows from the table "import_file_history". All fields are combined with a logical 'AND'. */ export type ImportFileHistoryBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; app?: InputMaybe; appId?: InputMaybe; count?: InputMaybe; @@ -3669,7 +3669,7 @@ export type ImportFileHistoryObjRelInsertInput = { /** on_conflict condition type for table "import_file_history" */ export type ImportFileHistoryOnConflict = { constraint: ImportFileHistoryConstraint; - updateColumns?: Array; + updateColumns?: ImportFileHistoryUpdateColumn[]; where?: InputMaybe; }; @@ -3767,16 +3767,16 @@ export type ImportFileRecordAggregateOrderBy = { /** input type for inserting array relation for remote table "import_file_record" */ export type ImportFileRecordArrRelInsertInput = { - data: Array; + data: ImportFileRecordInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; /** Boolean expression to filter rows from the table "import_file_record". All fields are combined with a logical 'AND'. */ export type ImportFileRecordBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; app?: InputMaybe; appId?: InputMaybe; historyId?: InputMaybe; @@ -3824,7 +3824,7 @@ export type ImportFileRecordObjRelInsertInput = { /** on_conflict condition type for table "import_file_record" */ export type ImportFileRecordOnConflict = { constraint: ImportFileRecordConstraint; - updateColumns?: Array; + updateColumns?: ImportFileRecordUpdateColumn[]; where?: InputMaybe; }; @@ -3869,9 +3869,9 @@ export type ImportFileRecordUpdateColumn = /** Boolean expression to filter rows from the table "import_file_setting". All fields are combined with a logical 'AND'. */ export type ImportFileSettingBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; app?: InputMaybe; appId?: InputMaybe; settings?: InputMaybe; @@ -3899,7 +3899,7 @@ export type ImportFileSettingObjRelInsertInput = { /** on_conflict condition type for table "import_file_setting" */ export type ImportFileSettingOnConflict = { constraint: ImportFileSettingConstraint; - updateColumns?: Array; + updateColumns?: ImportFileSettingUpdateColumn[]; where?: InputMaybe; }; @@ -3958,12 +3958,12 @@ export type IntComparisonExp = { _eq?: InputMaybe; _gt?: InputMaybe; _gte?: InputMaybe; - _in?: InputMaybe>; + _in?: InputMaybe; _isNull?: InputMaybe; _lt?: InputMaybe; _lte?: InputMaybe; _neq?: InputMaybe; - _nin?: InputMaybe>; + _nin?: InputMaybe; }; /** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ @@ -3971,19 +3971,19 @@ export type JsonComparisonExp = { _eq?: InputMaybe; _gt?: InputMaybe; _gte?: InputMaybe; - _in?: InputMaybe>; + _in?: InputMaybe; _isNull?: InputMaybe; _lt?: InputMaybe; _lte?: InputMaybe; _neq?: InputMaybe; - _nin?: InputMaybe>; + _nin?: InputMaybe; }; /** Boolean expression to filter rows from the table "link_database". All fields are combined with a logical 'AND'. */ export type LinkDatabaseBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; appId?: InputMaybe; connection?: InputMaybe; database?: InputMaybe; @@ -4017,7 +4017,7 @@ export type LinkDatabaseObjRelInsertInput = { /** on_conflict condition type for table "link_database" */ export type LinkDatabaseOnConflict = { constraint: LinkDatabaseConstraint; - updateColumns?: Array; + updateColumns?: LinkDatabaseUpdateColumn[]; where?: InputMaybe; }; @@ -4106,12 +4106,12 @@ export type NumericComparisonExp = { _eq?: InputMaybe; _gt?: InputMaybe; _gte?: InputMaybe; - _in?: InputMaybe>; + _in?: InputMaybe; _isNull?: InputMaybe; _lt?: InputMaybe; _lte?: InputMaybe; _neq?: InputMaybe; - _nin?: InputMaybe>; + _nin?: InputMaybe; }; /** column ordering options */ @@ -4150,7 +4150,7 @@ export type RecordAggregateOrderBy = { /** input type for inserting array relation for remote table "record" */ export type RecordArrRelInsertInput = { - data: Array; + data: RecordInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; @@ -4162,9 +4162,9 @@ export type RecordAvgOrderBy = { /** Boolean expression to filter rows from the table "record". All fields are combined with a logical 'AND'. */ export type RecordBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; app?: InputMaybe; appId?: InputMaybe; columns?: InputMaybe; @@ -4217,7 +4217,7 @@ export type RecordObjRelInsertInput = { /** on_conflict condition type for table "record" */ export type RecordOnConflict = { constraint: RecordConstraint; - updateColumns?: Array; + updateColumns?: RecordUpdateColumn[]; where?: InputMaybe; }; @@ -4327,7 +4327,7 @@ export type StringComparisonExp = { _gte?: InputMaybe; /** does the column match the given case-insensitive pattern */ _ilike?: InputMaybe; - _in?: InputMaybe>; + _in?: InputMaybe; /** does the column match the given POSIX regular expression, case insensitive */ _iregex?: InputMaybe; _isNull?: InputMaybe; @@ -4338,7 +4338,7 @@ export type StringComparisonExp = { _neq?: InputMaybe; /** does the column NOT match the given case-insensitive pattern */ _nilike?: InputMaybe; - _nin?: InputMaybe>; + _nin?: InputMaybe; /** does the column NOT match the given POSIX regular expression, case insensitive */ _niregex?: InputMaybe; /** does the column NOT match the given pattern */ @@ -4362,16 +4362,16 @@ export type SummaryViewAggregateOrderBy = { /** input type for inserting array relation for remote table "summary_view" */ export type SummaryViewArrRelInsertInput = { - data: Array; + data: SummaryViewInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; /** Boolean expression to filter rows from the table "summary_view". All fields are combined with a logical 'AND'. */ export type SummaryViewBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; group?: InputMaybe; groupId?: InputMaybe; groupingFields?: InputMaybe; @@ -4417,7 +4417,7 @@ export type SummaryViewMinOrderBy = { /** on_conflict condition type for table "summary_view" */ export type SummaryViewOnConflict = { constraint: SummaryViewConstraint; - updateColumns?: Array; + updateColumns?: SummaryViewUpdateColumn[]; where?: InputMaybe; }; @@ -4476,12 +4476,12 @@ export type TimestampComparisonExp = { _eq?: InputMaybe; _gt?: InputMaybe; _gte?: InputMaybe; - _in?: InputMaybe>; + _in?: InputMaybe; _isNull?: InputMaybe; _lt?: InputMaybe; _lte?: InputMaybe; _neq?: InputMaybe; - _nin?: InputMaybe>; + _nin?: InputMaybe; }; /** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ @@ -4489,19 +4489,19 @@ export type TimestamptzComparisonExp = { _eq?: InputMaybe; _gt?: InputMaybe; _gte?: InputMaybe; - _in?: InputMaybe>; + _in?: InputMaybe; _isNull?: InputMaybe; _lt?: InputMaybe; _lte?: InputMaybe; _neq?: InputMaybe; - _nin?: InputMaybe>; + _nin?: InputMaybe; }; /** Boolean expression to filter rows from the table "user". All fields are combined with a logical 'AND'. */ export type UserBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; affiliations?: InputMaybe; affiliationsAggregate?: InputMaybe; apps?: InputMaybe; @@ -4546,7 +4546,7 @@ export type UserObjRelInsertInput = { /** on_conflict condition type for table "user" */ export type UserOnConflict = { constraint: UserConstraint; - updateColumns?: Array; + updateColumns?: UserUpdateColumn[]; where?: InputMaybe; }; @@ -4611,16 +4611,16 @@ export type ViewAppAggregateOrderBy = { /** input type for inserting array relation for remote table "view_app" */ export type ViewAppArrRelInsertInput = { - data: Array; + data: ViewAppInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; /** Boolean expression to filter rows from the table "view_app". All fields are combined with a logical 'AND'. */ export type ViewAppBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; app?: InputMaybe; appId?: InputMaybe; fields?: InputMaybe; @@ -4661,7 +4661,7 @@ export type ViewAppMinOrderBy = { /** on_conflict condition type for table "view_app" */ export type ViewAppOnConflict = { constraint: ViewAppConstraint; - updateColumns?: Array; + updateColumns?: ViewAppUpdateColumn[]; where?: InputMaybe; }; @@ -4709,16 +4709,16 @@ export type ViewAppUpdateColumn = /** input type for inserting array relation for remote table "view" */ export type ViewArrRelInsertInput = { - data: Array; + data: ViewInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; /** Boolean expression to filter rows from the table "view". All fields are combined with a logical 'AND'. */ export type ViewBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; group?: InputMaybe; id?: InputMaybe; name?: InputMaybe; @@ -4750,7 +4750,7 @@ export type ViewFieldAggregateOrderBy = { /** input type for inserting array relation for remote table "view_field" */ export type ViewFieldArrRelInsertInput = { - data: Array; + data: ViewFieldInsertInput[]; /** upsert condition */ onConflict?: InputMaybe; }; @@ -4762,9 +4762,9 @@ export type ViewFieldAvgOrderBy = { /** Boolean expression to filter rows from the table "view_field". All fields are combined with a logical 'AND'. */ export type ViewFieldBoolExp = { - _and?: InputMaybe>; + _and?: InputMaybe; _not?: InputMaybe; - _or?: InputMaybe>; + _or?: InputMaybe; fieldKind?: InputMaybe; id?: InputMaybe; index?: InputMaybe; @@ -4816,7 +4816,7 @@ export type ViewFieldMinOrderBy = { /** on_conflict condition type for table "view_field" */ export type ViewFieldOnConflict = { constraint: ViewFieldConstraint; - updateColumns?: Array; + updateColumns?: ViewFieldUpdateColumn[]; where?: InputMaybe; }; @@ -4963,7 +4963,7 @@ export type ViewObjRelInsertInput = { /** on_conflict condition type for table "view" */ export type ViewOnConflict = { constraint: ViewConstraint; - updateColumns?: Array; + updateColumns?: ViewUpdateColumn[]; where?: InputMaybe; }; @@ -5022,7 +5022,7 @@ export type ViewUpdates = { }; export type AffiliationAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; @@ -5047,7 +5047,7 @@ export type GenreTotalByMonthArgs = { }; export type GroupApplicationAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; @@ -5068,56 +5068,56 @@ export type HouseholdAccountAggregateBoolExpBool_Or = { }; export type HouseholdAccountAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type HouseholdAllDetailViewAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type HouseholdCreditCardDetailAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type HouseholdCreditCardSummaryAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type HouseholdDailyDetailAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type HouseholdDepositCategoryAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type HouseholdFavoriteFilterAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type HouseholdFavoriteFilterArgsAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; @@ -5138,49 +5138,49 @@ export type HouseholdGenreAggregateBoolExpBool_Or = { }; export type HouseholdGenreAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type HouseholdImportFileHistoryAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type HouseholdSummaryCategoryAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type HouseholdTotalByCategoryViewAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type HouseholdTransferCategoryAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type ImportFileRecordAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; }; export type RecordAggregateBoolExpCount = { - arguments?: InputMaybe>; + arguments?: InputMaybe; distinct?: InputMaybe; filter?: InputMaybe; predicate: IntComparisonExp; @@ -5197,7 +5197,7 @@ export type CreateAccountMutation = { __typename?: "mutation_root"; insertAccount?: { __typename?: "HouseholdAccountMutationResponse"; - returning: Array<{ __typename?: "HouseholdAccount"; accountId: string }>; + returning: { __typename?: "HouseholdAccount"; accountId: string }[]; } | null; }; @@ -5214,7 +5214,7 @@ export type CreateCategoryMutation = { __typename?: "mutation_root"; insertCategory?: { __typename?: "HouseholdCategoryMutationResponse"; - returning: Array<{ __typename?: "HouseholdCategory"; id: string }>; + returning: { __typename?: "HouseholdCategory"; id: string }[]; } | null; }; @@ -5235,7 +5235,7 @@ export type CreateCreditCardDetailMutation = { __typename?: "mutation_root"; insertCreditCardDetail?: { __typename?: "HouseholdCreditCardDetailMutationResponse"; - returning: Array<{ __typename?: "HouseholdCreditCardDetail"; id: string }>; + returning: { __typename?: "HouseholdCreditCardDetail"; id: string }[]; } | null; }; @@ -5253,7 +5253,7 @@ export type CreateCreditCardSummaryMutation = { __typename?: "mutation_root"; insertCreditCardSummary?: { __typename?: "HouseholdCreditCardSummaryMutationResponse"; - returning: Array<{ __typename?: "HouseholdCreditCardSummary"; id: string }>; + returning: { __typename?: "HouseholdCreditCardSummary"; id: string }[]; } | null; }; @@ -5274,7 +5274,7 @@ export type CreateDailyDetailMutation = { __typename: "mutation_root"; insertDailyDetail?: { __typename: "HouseholdDailyDetailMutationResponse"; - returning: Array<{ __typename: "HouseholdDailyDetail"; id: string }>; + returning: { __typename: "HouseholdDailyDetail"; id: string }[]; } | null; }; @@ -5291,7 +5291,7 @@ export type CreateImportFileHistoryMutation = { __typename?: "mutation_root"; insertImportFileHistory?: { __typename?: "HouseholdImportFileHistoryMutationResponse"; - returning: Array<{ __typename?: "HouseholdImportFileHistory"; id: string }>; + returning: { __typename?: "HouseholdImportFileHistory"; id: string }[]; } | null; }; @@ -5306,7 +5306,7 @@ export type CreateSummaryCategoryMutation = { __typename?: "mutation_root"; insertSummaryCategoryByGroup?: { __typename?: "HouseholdSummaryCategoryMutationResponse"; - returning: Array<{ __typename?: "HouseholdSummaryCategory"; id: string }>; + returning: { __typename?: "HouseholdSummaryCategory"; id: string }[]; } | null; }; @@ -5321,7 +5321,7 @@ export type CreateUserMutation = { __typename?: "mutation_root"; insertUser?: { __typename?: "UserMutationResponse"; - returning: Array<{ __typename?: "User"; email: string; userId: string }>; + returning: { __typename?: "User"; email: string; userId: string }[]; } | null; }; @@ -5345,7 +5345,7 @@ export type DeleteSummaryCategoryMutation = { __typename?: "mutation_root"; deleteSummaryCategoryByGroup?: { __typename?: "HouseholdSummaryCategoryMutationResponse"; - returning: Array<{ __typename?: "HouseholdSummaryCategory"; id: string }>; + returning: { __typename?: "HouseholdSummaryCategory"; id: string }[]; } | null; }; @@ -5417,10 +5417,10 @@ export type DeleteDashboardSettingMutation = { __typename?: "mutation_root"; deleteHouseholdDashboardSettingArgs?: { __typename?: "HouseholdDashboardSettingArgsMutationResponse"; - returning: Array<{ + returning: { __typename: "HouseholdDashboardSettingArgs"; id: string; - }>; + }[]; } | null; deleteHouseholdDashboardSettingByPk?: { __typename: "HouseholdDashboardSetting"; @@ -5443,7 +5443,7 @@ export type DeleteFavoriteFilterArgMutation = { export type DeleteInsertDashboardSettingArgsMutationVariables = Exact<{ settingId: Scalars["String"]; objects: - | Array + | HouseholdDashboardSettingArgsInsertInput[] | HouseholdDashboardSettingArgsInsertInput; }>; @@ -5451,17 +5451,17 @@ export type DeleteInsertDashboardSettingArgsMutation = { __typename?: "mutation_root"; deleteDashboardSettingArgs?: { __typename?: "HouseholdDashboardSettingArgsMutationResponse"; - returning: Array<{ + returning: { __typename: "HouseholdDashboardSettingArgs"; id: string; - }>; + }[]; } | null; insertDashboardSettingArgs?: { __typename?: "HouseholdDashboardSettingArgsMutationResponse"; - returning: Array<{ + returning: { __typename: "HouseholdDashboardSettingArgs"; id: string; - }>; + }[]; } | null; }; @@ -5477,7 +5477,7 @@ export type InsertDashboardSettingMutation = { __typename?: "mutation_root"; insertSetting?: { __typename?: "HouseholdDashboardSettingMutationResponse"; - returning: Array<{ __typename: "HouseholdDashboardSetting"; id: string }>; + returning: { __typename: "HouseholdDashboardSetting"; id: string }[]; } | null; }; @@ -5492,10 +5492,10 @@ export type InsertDashboardSettingArgsMutation = { __typename?: "mutation_root"; insertSettingArgs?: { __typename?: "HouseholdDashboardSettingArgsMutationResponse"; - returning: Array<{ + returning: { __typename: "HouseholdDashboardSettingArgs"; id: string; - }>; + }[]; } | null; }; @@ -5603,54 +5603,13 @@ export type UpdateFavoriteFilterArgMutation = { insertArg?: { __typename: "HouseholdFavoriteFilterArgs"; id: string } | null; }; -export type GetAccountBalanceListQueryVariables = Exact<{ - groupId: Scalars["String"]; - fromDate: Scalars["date"]; - toDate: Scalars["date"]; -}>; - -export type GetAccountBalanceListQuery = { - __typename?: "query_root"; - account: Array<{ - __typename: "HouseholdAccount"; - id: string; - accountName: string; - dailyDetails: Array<{ - __typename: "HouseholdDailyDetail"; - id: string; - date: any; - amount: any; - memo?: string | null; - genre: { - __typename?: "HouseholdGenre"; - id: string; - name: string; - genreType: string; - iocomeType: string; - }; - category: { __typename?: "HouseholdCategory"; id: string; name: string }; - account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; - allDetailViewsAggregate: { - __typename?: "HouseholdAllDetailViewAggregate"; - aggregate?: { - __typename?: "HouseholdAllDetailViewAggregateFields"; - sum?: { - __typename: "HouseholdAllDetailViewSumFields"; - signedAmount?: any | null; - } | null; - } | null; - }; - }>; -}; - export type GetAllCategoriesQueryVariables = Exact<{ groupId: Scalars["String"]; }>; export type GetAllCategoriesQuery = { __typename?: "query_root"; - categories: Array<{ + categories: { __typename?: "HouseholdCategory"; id: string; displayOrder: number; @@ -5661,19 +5620,19 @@ export type GetAllCategoriesQuery = { genreId: string; genreName: string; }; - }>; + }[]; }; export type GetAllCategoryListWithCriteriaQueryVariables = Exact<{ - validCategoryIn?: InputMaybe | Scalars["Boolean"]>; - validGenreIn?: InputMaybe | Scalars["Boolean"]>; - iocomeTypeIn?: InputMaybe | Scalars["String"]>; - categoryNotIn?: InputMaybe | Scalars["String"]>; + validCategoryIn?: InputMaybe; + validGenreIn?: InputMaybe; + iocomeTypeIn?: InputMaybe; + categoryNotIn?: InputMaybe; }>; export type GetAllCategoryListWithCriteriaQuery = { __typename?: "query_root"; - genres: Array<{ + genres: { __typename?: "HouseholdGenre"; id: string; name: string; @@ -5681,14 +5640,14 @@ export type GetAllCategoryListWithCriteriaQuery = { validFlag?: boolean | null; displayOrder: number; type: string; - categories: Array<{ + categories: { __typename?: "HouseholdCategory"; id: string; name: string; validFlag?: boolean | null; displayOrder: number; - }>; - }>; + }[]; + }[]; }; export type GetAllGenreQueryVariables = Exact<{ @@ -5697,7 +5656,7 @@ export type GetAllGenreQueryVariables = Exact<{ export type GetAllGenreQuery = { __typename?: "query_root"; - genre: Array<{ + genre: { __typename?: "HouseholdGenre"; id: string; genreType: string; @@ -5705,23 +5664,23 @@ export type GetAllGenreQuery = { validFlag?: boolean | null; displayOrder: number; genreName: string; - }>; + }[]; }; -export type GetAllUsersQueryVariables = Exact<{ [key: string]: never }>; +export type GetAllUsersQueryVariables = Exact>; export type GetAllUsersQuery = { __typename?: "query_root"; - users: Array<{ + users: { __typename?: "User"; id: string; name?: string | null; email: string; - affiliation: Array<{ + affiliation: { __typename?: "Affiliation"; group: { __typename?: "Group"; id: string; name: string }; - }>; - }>; + }[]; + }[]; }; export type GetCategoryByIdQueryVariables = Exact<{ @@ -5751,7 +5710,7 @@ export type GetCategoryTotalByMonthQueryVariables = Exact<{ export type GetCategoryTotalByMonthQuery = { __typename?: "query_root"; - categoryTotalByMonth: Array<{ + categoryTotalByMonth: { __typename?: "HouseholdTotalByCategoryView"; date?: any | null; iocomeType?: string | null; @@ -5760,7 +5719,7 @@ export type GetCategoryTotalByMonthQuery = { categoryId?: string | null; categoryName?: string | null; total?: any | null; - }>; + }[]; }; export type GetCreditCardDetailBySummaryIdQueryVariables = Exact<{ @@ -5777,7 +5736,7 @@ export type GetCreditCardDetailBySummaryIdQuery = { count: number; totalAmount: any; account: { __typename?: "HouseholdAccount"; id: string; name: string }; - creditCardDetails: Array<{ + creditCardDetails: { __typename?: "HouseholdCreditCardDetail"; id: string; date: any; @@ -5795,7 +5754,7 @@ export type GetCreditCardDetailBySummaryIdQuery = { iocomeType: string; }; }; - }>; + }[]; } | null; }; @@ -5805,7 +5764,7 @@ export type GetCreditCardListQueryVariables = Exact<{ export type GetCreditCardListQuery = { __typename?: "query_root"; - allCreditCardSummariesList: Array<{ + allCreditCardSummariesList: { __typename?: "HouseholdCreditCardSummary"; id: string; creditCard: string; @@ -5813,7 +5772,7 @@ export type GetCreditCardListQuery = { withdrawalDate: any; totalAmount: any; account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; + }[]; }; export type GetDailyDetailByDateQueryVariables = Exact<{ @@ -5824,7 +5783,7 @@ export type GetDailyDetailByDateQueryVariables = Exact<{ export type GetDailyDetailByDateQuery = { __typename?: "query_root"; - dailies: Array<{ + dailies: { __typename: "HouseholdDailyDetail"; id: string; date: any; @@ -5839,7 +5798,7 @@ export type GetDailyDetailByDateQuery = { }; category: { __typename?: "HouseholdCategory"; id: string; name: string }; account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; + }[]; }; export type GetDailyDetailByDateCategoryIdQueryVariables = Exact<{ @@ -5851,7 +5810,7 @@ export type GetDailyDetailByDateCategoryIdQueryVariables = Exact<{ export type GetDailyDetailByDateCategoryIdQuery = { __typename?: "query_root"; - dailies: Array<{ + dailies: { __typename: "HouseholdDailyDetail"; id: string; date: any; @@ -5866,7 +5825,7 @@ export type GetDailyDetailByDateCategoryIdQuery = { }; category: { __typename?: "HouseholdCategory"; id: string; name: string }; account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; + }[]; }; export type GetDailyDetailByDateGenreIdQueryVariables = Exact<{ @@ -5878,9 +5837,9 @@ export type GetDailyDetailByDateGenreIdQueryVariables = Exact<{ export type GetDailyDetailByDateGenreIdQuery = { __typename?: "query_root"; - allCategoriesList: Array<{ + allCategoriesList: { __typename?: "HouseholdCategory"; - dailyDetailsByCategoryIdList: Array<{ + dailyDetailsByCategoryIdList: { __typename?: "HouseholdDailyDetail"; id: string; date: any; @@ -5908,8 +5867,8 @@ export type GetDailyDetailByDateGenreIdQuery = { userId: string; userName?: string | null; }; - }>; - }>; + }[]; + }[]; }; export type GetGenreByIdQueryVariables = Exact<{ @@ -5926,11 +5885,11 @@ export type GetGenreByIdQuery = { validFlag?: boolean | null; displayOrder: number; genreName: string; - categories: Array<{ + categories: { __typename?: "HouseholdCategory"; categoryId: string; categoryName: string; - }>; + }[]; } | null; }; @@ -5942,14 +5901,14 @@ export type GetGenreTotalByMonthQueryVariables = Exact<{ export type GetGenreTotalByMonthQuery = { __typename?: "query_root"; - genreTotalByMonthList: Array<{ + genreTotalByMonthList: { __typename?: "HouseholdTotalByGenreView"; date?: any | null; iocomeType?: string | null; genreId?: string | null; genreName?: string | null; total?: any | null; - }>; + }[]; }; export type GetSummaryCategoriesQueryVariables = Exact<{ @@ -5958,7 +5917,7 @@ export type GetSummaryCategoriesQueryVariables = Exact<{ export type GetSummaryCategoriesQuery = { __typename?: "query_root"; - categories: Array<{ + categories: { __typename?: "HouseholdSummaryCategory"; id: string; groupId: string; @@ -5975,7 +5934,7 @@ export type GetSummaryCategoriesQuery = { type: string; }; }; - }>; + }[]; }; export type GetSummaryCategoryBetweenDateQueryVariables = Exact<{ @@ -5986,25 +5945,25 @@ export type GetSummaryCategoryBetweenDateQueryVariables = Exact<{ export type GetSummaryCategoryBetweenDateQuery = { __typename?: "query_root"; - summaryCategoryList: Array<{ + summaryCategoryList: { __typename?: "HouseholdSummaryCategory"; category: { __typename?: "HouseholdCategory"; name: string; id: string; genre: { __typename?: "HouseholdGenre"; iocomeType: string }; - daily: Array<{ + daily: { __typename?: "HouseholdDailyDetail"; date: any; amount: any; - }>; - creditCard: Array<{ + }[]; + creditCard: { __typename?: "HouseholdCreditCardDetail"; date: any; amount: any; - }>; + }[]; }; - }>; + }[]; }; export type GetTotalBetweenDateQueryVariables = Exact<{ @@ -6015,18 +5974,18 @@ export type GetTotalBetweenDateQueryVariables = Exact<{ export type GetTotalBetweenDateQuery = { __typename?: "query_root"; - incomeTotalByDate: Array<{ + incomeTotalByDate: { __typename?: "HouseholdDailyTotalView"; date?: any | null; iocomeType?: string | null; total?: any | null; - }>; - outcomeTotalByDate: Array<{ + }[]; + outcomeTotalByDate: { __typename?: "HouseholdDailyTotalView"; date?: any | null; iocomeType?: string | null; total?: any | null; - }>; + }[]; }; export type GetTransferCategoryByQueryVariables = Exact<{ @@ -6065,11 +6024,11 @@ export type GetValidAccountsQueryVariables = Exact<{ export type GetValidAccountsQuery = { __typename?: "query_root"; - allAccountsList: Array<{ + allAccountsList: { __typename?: "HouseholdAccount"; accountId: string; accountName: string; - }>; + }[]; }; export type GetValidCategoryByGenreIdQueryVariables = Exact<{ @@ -6079,27 +6038,27 @@ export type GetValidCategoryByGenreIdQueryVariables = Exact<{ export type GetValidCategoryByGenreIdQuery = { __typename?: "query_root"; - genreById: Array<{ + genreById: { __typename?: "HouseholdGenre"; id: string; name: string; - categories: Array<{ + categories: { __typename?: "HouseholdCategory"; id: string; name: string; displayOrder: number; - }>; - }>; + }[]; + }[]; genre?: { __typename?: "HouseholdGenre"; id: string; name: string; - categories: Array<{ + categories: { __typename?: "HouseholdCategory"; id: string; name: string; displayOrder: number; - }>; + }[]; } | null; }; @@ -6110,20 +6069,20 @@ export type GetValidGenreListByIocomeTypeQueryVariables = Exact<{ export type GetValidGenreListByIocomeTypeQuery = { __typename?: "query_root"; - allGenresList: Array<{ + allGenresList: { __typename?: "HouseholdGenre"; genreType: string; iocomeType: string; displayOrder: number; genreId: string; genreName: string; - categoriesByGenreIdList: Array<{ + categoriesByGenreIdList: { __typename?: "HouseholdCategory"; displayOrder: number; categoryId: string; categoryName: string; - }>; - }>; + }[]; + }[]; }; export type FragDailyDetailFragment = { @@ -6143,6 +6102,31 @@ export type FragDailyDetailFragment = { account: { __typename?: "HouseholdAccount"; id: string; name: string }; }; +export type GetAccountBalanceListQueryVariables = Exact<{ + groupId: Scalars["String"]; + fromDate: Scalars["date"]; + toDate: Scalars["date"]; +}>; + +export type GetAccountBalanceListQuery = { + __typename?: "query_root"; + account: { + __typename: "HouseholdAccount"; + id: string; + accountName: string; + allDetailViewsAggregate: { + __typename?: "HouseholdAllDetailViewAggregate"; + aggregate?: { + __typename?: "HouseholdAllDetailViewAggregateFields"; + sum?: { + __typename?: "HouseholdAllDetailViewSumFields"; + signedAmount?: any | null; + } | null; + } | null; + }; + }[]; +}; + export type GetCreditCardSummaryByDateQueryVariables = Exact<{ fromDate: Scalars["date"]; toDate: Scalars["date"]; @@ -6151,14 +6135,14 @@ export type GetCreditCardSummaryByDateQueryVariables = Exact<{ export type GetCreditCardSummaryByDateQuery = { __typename?: "query_root"; - creditCardSummaries: Array<{ + creditCardSummaries: { __typename?: "HouseholdCreditCardSummary"; id: string; withdrawalDate: any; totalAmount: any; creditCard: string; account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; + }[]; }; export type GetDailyDetailByIdQueryVariables = Exact<{ @@ -6193,7 +6177,7 @@ export type GetDepositQueryVariables = Exact<{ export type GetDepositQuery = { __typename?: "query_root"; - depositCategory: Array<{ + depositCategory: { __typename?: "HouseholdDepositCategory"; category: { __typename?: "HouseholdCategory"; @@ -6213,13 +6197,13 @@ export type GetDepositQuery = { amount?: number | null; } | null; } | null; - nodes: Array<{ + nodes: { __typename?: "HouseholdDailyDetail"; id: string; date: any; amount: any; memo?: string | null; - }>; + }[]; }; credit: { __typename?: "HouseholdCreditCardDetailAggregate"; @@ -6235,16 +6219,16 @@ export type GetDepositQuery = { amount?: number | null; } | null; } | null; - nodes: Array<{ + nodes: { __typename?: "HouseholdCreditCardDetail"; id: string; date: any; amount: any; memo?: string | null; - }>; + }[]; }; }; - }>; + }[]; }; export type FragCreditCardDetailFragment = { @@ -6272,7 +6256,7 @@ export type FragFavoriteFilterFragment = { __typename: "HouseholdFavoriteFilter"; id: string; name: string; - args: Array<{ + args: { __typename: "HouseholdFavoriteFilterArgs"; id: string; key: string; @@ -6289,7 +6273,7 @@ export type FragFavoriteFilterFragment = { genreType: string; }; } | null; - }>; + }[]; }; export type GetAccountByIdQueryVariables = Exact<{ @@ -6341,7 +6325,7 @@ export type GetCreditCardDetailListQueryVariables = Exact<{ export type GetCreditCardDetailListQuery = { __typename?: "query_root"; - creditCardDetails: Array<{ + creditCardDetails: { __typename?: "HouseholdCreditCardDetail"; id: string; date: any; @@ -6360,7 +6344,7 @@ export type GetCreditCardDetailListQuery = { id: string; account: { __typename?: "HouseholdAccount"; id: string; name: string }; }; - }>; + }[]; }; export type GetCreditCardSummaryByAccountIdQueryVariables = Exact<{ @@ -6371,14 +6355,14 @@ export type GetCreditCardSummaryByAccountIdQueryVariables = Exact<{ export type GetCreditCardSummaryByAccountIdQuery = { __typename?: "query_root"; - creditCardSummaries: Array<{ + creditCardSummaries: { __typename: "HouseholdCreditCardSummary"; id: string; withdrawalDate: any; totalAmount: any; creditCard: string; account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; + }[]; }; export type GetCreditCardSummaryByIdQueryVariables = Exact<{ @@ -6408,7 +6392,7 @@ export type GetDailyByAccountIdQueryVariables = Exact<{ export type GetDailyByAccountIdQuery = { __typename: "query_root"; - dailies: Array<{ + dailies: { __typename: "HouseholdDailyDetail"; id: string; date: any; @@ -6423,7 +6407,7 @@ export type GetDailyByAccountIdQuery = { }; category: { __typename?: "HouseholdCategory"; id: string; name: string }; account: { __typename?: "HouseholdAccount"; id: string; name: string }; - }>; + }[]; }; export type GetDashboardSettingQueryVariables = Exact<{ @@ -6433,25 +6417,25 @@ export type GetDashboardSettingQueryVariables = Exact<{ export type GetDashboardSettingQuery = { __typename?: "query_root"; - setting: Array<{ + setting: { __typename: "HouseholdDashboardSetting"; id: string; feature: string; order: number; - args: Array<{ + args: { __typename: "HouseholdDashboardSettingArgs"; id: string; type: string; value: string; - }>; - }>; + }[]; + }[]; }; export type GetDetailsByCategoryQueryVariables = Exact<{ fromDate: Scalars["date"]; toDate: Scalars["date"]; groupId: Scalars["String"]; - iocomeType?: InputMaybe | Scalars["String"]>; + iocomeType?: InputMaybe; }>; export type GetDetailsByCategoryQuery = { @@ -6463,7 +6447,7 @@ export type GetDetailsByCategoryQuery = { outcomeCategoryId: string; incomeCategoryId: string; } | null; - dailyDetails: Array<{ + dailyDetails: { __typename?: "HouseholdDailyDetail"; id: string; date: any; @@ -6477,8 +6461,8 @@ export type GetDetailsByCategoryQuery = { genreType: string; }; category: { __typename?: "HouseholdCategory"; id: string; name: string }; - }>; - creditCardDetails: Array<{ + }[]; + creditCardDetails: { __typename?: "HouseholdCreditCardDetail"; id: string; date: any; @@ -6497,7 +6481,7 @@ export type GetDetailsByCategoryQuery = { id: string; account: { __typename?: "HouseholdAccount"; id: string; name: string }; }; - }>; + }[]; } | null; }; @@ -6511,7 +6495,7 @@ export type GetFavoriteFilterQuery = { __typename: "HouseholdFavoriteFilter"; id: string; name: string; - args: Array<{ + args: { __typename: "HouseholdFavoriteFilterArgs"; id: string; key: string; @@ -6528,7 +6512,7 @@ export type GetFavoriteFilterQuery = { genreType: string; }; } | null; - }>; + }[]; } | null; }; @@ -6538,11 +6522,11 @@ export type GetFavoriteFiltersQueryVariables = Exact<{ export type GetFavoriteFiltersQuery = { __typename?: "query_root"; - filters: Array<{ + filters: { __typename: "HouseholdFavoriteFilter"; id: string; name: string; - args: Array<{ + args: { __typename: "HouseholdFavoriteFilterArgs"; id: string; key: string; @@ -6559,8 +6543,8 @@ export type GetFavoriteFiltersQuery = { genreType: string; }; } | null; - }>; - }>; + }[]; + }[]; }; export const FragDailyDetailFragmentDoc = { @@ -10535,13 +10519,13 @@ export const UpdateFavoriteFilterArgDocument = { UpdateFavoriteFilterArgMutation, UpdateFavoriteFilterArgMutationVariables >; -export const GetAccountBalanceListDocument = { +export const GetAllCategoriesDocument = { kind: "Document", definitions: [ { kind: "OperationDefinition", operation: "query", - name: { kind: "Name", value: "GetAccountBalanceList" }, + name: { kind: "Name", value: "GetAllCategories" }, variableDefinitions: [ { kind: "VariableDefinition", @@ -10557,36 +10541,14 @@ export const GetAccountBalanceListDocument = { }, }, }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "fromDate" }, - }, - type: { - kind: "NonNullType", - type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, - }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "toDate" }, - }, - type: { - kind: "NonNullType", - type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, - }, - }, ], selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", - alias: { kind: "Name", value: "account" }, - name: { kind: "Name", value: "householdAccount" }, + alias: { kind: "Name", value: "categories" }, + name: { kind: "Name", value: "householdCategory" }, arguments: [ { kind: "Argument", @@ -10596,25 +10558,16 @@ export const GetAccountBalanceListDocument = { fields: [ { kind: "ObjectField", - name: { kind: "Name", value: "_and" }, + name: { kind: "Name", value: "groupId" }, value: { kind: "ObjectValue", fields: [ { kind: "ObjectField", - name: { kind: "Name", value: "groupId" }, + name: { kind: "Name", value: "_eq" }, value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "_eq" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "groupId" }, - }, - }, - ], + kind: "Variable", + name: { kind: "Name", value: "groupId" }, }, }, ], @@ -10627,12 +10580,36 @@ export const GetAccountBalanceListDocument = { kind: "Argument", name: { kind: "Name", value: "orderBy" }, value: { - kind: "ObjectValue", - fields: [ + kind: "ListValue", + values: [ { - kind: "ObjectField", - name: { kind: "Name", value: "displayOrder" }, - value: { kind: "EnumValue", value: "ASC" }, + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "genre" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], }, ], }, @@ -10641,367 +10618,32 @@ export const GetAccountBalanceListDocument = { selectionSet: { kind: "SelectionSet", selections: [ - { kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", - alias: { kind: "Name", value: "accountName" }, + alias: { kind: "Name", value: "categoryName" }, name: { kind: "Name", value: "name" }, }, { kind: "Field", - name: { kind: "Name", value: "dailyDetails" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "where" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "date" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "_gte" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "fromDate" }, - }, - }, - ], - }, - }, - { - kind: "ObjectField", - name: { kind: "Name", value: "_and" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "date" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "_lte" }, - value: { - kind: "Variable", - name: { - kind: "Name", - value: "toDate", - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], + name: { kind: "Name", value: "displayOrder" }, + }, + { kind: "Field", name: { kind: "Name", value: "validFlag" } }, + { + kind: "Field", + name: { kind: "Name", value: "genre" }, selectionSet: { kind: "SelectionSet", selections: [ { - kind: "FragmentSpread", - name: { kind: "Name", value: "fragDailyDetail" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "allDetailViewsAggregate" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "where" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "date" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "_gte" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "fromDate" }, - }, - }, - ], - }, - }, - { - kind: "ObjectField", - name: { kind: "Name", value: "_and" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "date" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "_lte" }, - value: { - kind: "Variable", - name: { - kind: "Name", - value: "toDate", - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "aggregate" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "sum" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "__typename" }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "signedAmount", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "fragDailyDetail" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "HouseholdDailyDetail" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "__typename" } }, - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "date" } }, - { - kind: "Field", - name: { kind: "Name", value: "genre" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "genreType" } }, - { kind: "Field", name: { kind: "Name", value: "iocomeType" } }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "category" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "name" } }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "account" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "name" } }, - ], - }, - }, - { kind: "Field", name: { kind: "Name", value: "amount" } }, - { kind: "Field", name: { kind: "Name", value: "memo" } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - GetAccountBalanceListQuery, - GetAccountBalanceListQueryVariables ->; -export const GetAllCategoriesDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "GetAllCategories" }, - variableDefinitions: [ - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "groupId" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "String" }, - }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - alias: { kind: "Name", value: "categories" }, - name: { kind: "Name", value: "householdCategory" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "where" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "groupId" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "_eq" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "groupId" }, - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "orderBy" }, - value: { - kind: "ListValue", - values: [ - { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "genre" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "displayOrder" }, - value: { kind: "EnumValue", value: "ASC" }, - }, - ], - }, - }, - ], - }, - { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "displayOrder" }, - value: { kind: "EnumValue", value: "ASC" }, - }, - ], - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - alias: { kind: "Name", value: "categoryName" }, - name: { kind: "Name", value: "name" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "displayOrder" }, - }, - { kind: "Field", name: { kind: "Name", value: "validFlag" } }, - { - kind: "Field", - name: { kind: "Name", value: "genre" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - alias: { kind: "Name", value: "genreId" }, - name: { kind: "Name", value: "id" }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "genreName" }, - name: { kind: "Name", value: "name" }, + kind: "Field", + alias: { kind: "Name", value: "genreId" }, + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + alias: { kind: "Name", value: "genreName" }, + name: { kind: "Name", value: "name" }, }, ], }, @@ -14358,6 +14000,221 @@ export const GetValidGenreListByIocomeTypeDocument = { GetValidGenreListByIocomeTypeQuery, GetValidGenreListByIocomeTypeQueryVariables >; +export const GetAccountBalanceListDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getAccountBalanceList" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "toDate" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "date" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + alias: { kind: "Name", value: "account" }, + name: { kind: "Name", value: "householdAccount" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "groupId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "groupId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "orderBy" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "displayOrder" }, + value: { kind: "EnumValue", value: "ASC" }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "__typename" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + alias: { kind: "Name", value: "accountName" }, + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "allDetailViewsAggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "fromDate" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "date" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_lte" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "toDate", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "sum" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "signedAmount", + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetAccountBalanceListQuery, + GetAccountBalanceListQueryVariables +>; export const GetCreditCardSummaryByDateDocument = { kind: "Document", definitions: [ From 9aef46a7d94feaf523d3847996d7af07e1f43a01 Mon Sep 17 00:00:00 2001 From: Ryo-Kgym Date: Thu, 11 Jul 2024 23:35:51 +0900 Subject: [PATCH 8/9] One-for-All-174 Changed the design. --- apps/web/src/app/_layout/NavbarSection.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/app/_layout/NavbarSection.tsx b/apps/web/src/app/_layout/NavbarSection.tsx index adf036b6..2ed40510 100644 --- a/apps/web/src/app/_layout/NavbarSection.tsx +++ b/apps/web/src/app/_layout/NavbarSection.tsx @@ -14,13 +14,13 @@ export const NavbarSection = ({ naviArray: Navi[]; children: React.ReactNode; }) => { - const [opened, { toggle }] = useDisclosure(); + const [opened, { toggle }] = useDisclosure(true); return ( - + {naviArray .filter(({ visible = true }) => visible) From 3bf40bf8c715db9614c1f64ed98c9625979797a4 Mon Sep 17 00:00:00 2001 From: Ryo-Kgym Date: Fri, 12 Jul 2024 00:47:38 +0900 Subject: [PATCH 9/9] One-for-All-174 I replaced the detail table. --- .../organisms/daily_table/DailyTable.tsx | 47 ++------- .../account/DailyTableByAccountContainer.tsx | 62 ------------ .../account/DailyTableByAccountPresenter.tsx | 37 ------- .../organisms/daily_table/account/index.ts | 1 - .../ui/v4/table/MantineDataTable.tsx | 4 +- .../components/AccountDailyTable.tsx | 97 +++++++++++++++++++ .../components/BalanceListTable.tsx | 2 +- .../account/components/AccountListClient.tsx | 4 +- 8 files changed, 111 insertions(+), 143 deletions(-) delete mode 100644 apps/web/src/components/organisms/daily_table/account/DailyTableByAccountContainer.tsx delete mode 100644 apps/web/src/components/organisms/daily_table/account/DailyTableByAccountPresenter.tsx delete mode 100644 apps/web/src/components/organisms/daily_table/account/index.ts create mode 100644 apps/web/src/features/household/accountList/components/AccountDailyTable.tsx diff --git a/apps/web/src/components/organisms/daily_table/DailyTable.tsx b/apps/web/src/components/organisms/daily_table/DailyTable.tsx index f9098943..137cb421 100644 --- a/apps/web/src/components/organisms/daily_table/DailyTable.tsx +++ b/apps/web/src/components/organisms/daily_table/DailyTable.tsx @@ -2,11 +2,10 @@ * Copyright (c) 2024 Ryo-Kgym. */ +import type { TableProps } from "@components/atoms/Table"; import { Table } from "@components/atoms/Table"; import { IocomeTotal } from "@components/molecules/Total"; -import type { TableProps } from "@components/atoms/Table"; - export const DailyTable = ({ tablePropsList, incomeTotal, @@ -17,43 +16,13 @@ export const DailyTable = ({ outcomeTotal: number | undefined; }) => ( <> -
-
- -
-
{ - return { - keyPrefix: t.keyPrefix, - columns: [ - { - value: ( -
-
{t.columns[0]!.value}
-
{t.columns[1]!.value}
-
{t.columns[2]!.value}
-
{t.columns[3]!.value}
-
- ), - align: "left", - hidden: false, - }, - ], - onClick: t.onClick, - }; - })} - size={"xs"} - height={"63vh"} - toBottom - /> - +
); diff --git a/apps/web/src/components/organisms/daily_table/account/DailyTableByAccountContainer.tsx b/apps/web/src/components/organisms/daily_table/account/DailyTableByAccountContainer.tsx deleted file mode 100644 index 162978dd..00000000 --- a/apps/web/src/components/organisms/daily_table/account/DailyTableByAccountContainer.tsx +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2023 Ryo-Kgym. - */ - -import { tablePropsDateSorter } from "@components/atoms/Table"; -import { creditCardSummaryConverter } from "@components/organisms/daily_table/creditCardSummaryConverter"; -import { dailyDetailConverter } from "@components/organisms/daily_table/dailyDetailConverter"; -import { useGetCreditCardSummaryByAccountIdBetweenDate } from "@hooks/household/credit_card/useGetCreditCardSummaryByAccountIdBetweenDate"; -import { useGetDailyDetailByDateAccountId } from "@hooks/household/daily_detail/useGetDailyDetailByDateAccountId"; -import { useState } from "react"; - -import { DailyTableByAccountPresenter } from "./DailyTableByAccountPresenter"; - -import type { TableProps } from "@components/atoms/Table"; -import type { DailyDetail } from "@domain/model/household/DailyDetail"; - -export const DailyTableByAccountContainer = ({ - fromDate, - toDate, - accountId, -}: { - fromDate: Date; - toDate: Date; - accountId: string; -}) => { - const [modifyModalOpen, setModifyModalOpen] = useState(false); - const [dailyDetail, setDailyDetail] = useState(null); - - const { data, incomeTotal, outcomeTotal, getDetail } = - useGetDailyDetailByDateAccountId(accountId, fromDate, toDate); - - const { - data: creditCardSummaryData, - incomeTotal: creditCardIncomeTotal, - outcomeTotal: creditCardOutcomeTotal, - } = useGetCreditCardSummaryByAccountIdBetweenDate( - accountId, - fromDate, - toDate, - ); - - const tableProps: TableProps[] = dailyDetailConverter({ - data, - onClickHandler: (id) => { - setDailyDetail(getDetail(id)); - setModifyModalOpen(true); - }, - }) - .concat(creditCardSummaryConverter({ data: creditCardSummaryData })) - .sort(tablePropsDateSorter); - - return ( - setModifyModalOpen(false)} - detailForUpdate={dailyDetail} - /> - ); -}; diff --git a/apps/web/src/components/organisms/daily_table/account/DailyTableByAccountPresenter.tsx b/apps/web/src/components/organisms/daily_table/account/DailyTableByAccountPresenter.tsx deleted file mode 100644 index 338608b7..00000000 --- a/apps/web/src/components/organisms/daily_table/account/DailyTableByAccountPresenter.tsx +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) 2023 Ryo-Kgym. - */ - -import { DailyTable, UpdateDetail } from "@components/organisms"; - -import type { TableProps } from "@components/ui"; -import type { DailyDetail } from "@domain/model/household/DailyDetail"; - -export const DailyTableByAccountPresenter = ({ - tableProps, - incomeTotal, - outcomeTotal, - modifyModalOpen, - modifyOnClose, - detailForUpdate, -}: { - tableProps: TableProps[]; - incomeTotal: number | undefined; - outcomeTotal: number | undefined; - modifyModalOpen: boolean; - modifyOnClose: () => void; - detailForUpdate: DailyDetail | null; -}) => ( -
- - -
-); diff --git a/apps/web/src/components/organisms/daily_table/account/index.ts b/apps/web/src/components/organisms/daily_table/account/index.ts deleted file mode 100644 index 18d74768..00000000 --- a/apps/web/src/components/organisms/daily_table/account/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { DailyTableByAccountContainer as DailyTableByAccount } from "./DailyTableByAccountContainer"; diff --git a/apps/web/src/components/ui/v4/table/MantineDataTable.tsx b/apps/web/src/components/ui/v4/table/MantineDataTable.tsx index 97bb5bb9..c23e9aef 100644 --- a/apps/web/src/components/ui/v4/table/MantineDataTable.tsx +++ b/apps/web/src/components/ui/v4/table/MantineDataTable.tsx @@ -40,8 +40,10 @@ export const MantineDataTable = ({ return ( { + const [modifyModalOpen, setModifyModalOpen] = useState(false); + const [dailyDetail, setDailyDetail] = useState(null); + + const { data, incomeTotal, outcomeTotal, getDetail } = + useGetDailyDetailByDateAccountId(accountId, fromDate, toDate); + + const { + data: creditCardSummaryData, + incomeTotal: creditCardIncomeTotal, + outcomeTotal: creditCardOutcomeTotal, + } = useGetCreditCardSummaryByAccountIdBetweenDate( + accountId, + fromDate, + toDate, + ); + + return ( + <> + amount.toLocaleString(), + }, + { accessor: "memo", title: "メモ", width: "50%" }, + ]} + records={( + data?.dailies.map((d) => ({ + id: d.id, + date: d.date, + genre: d.genre.name, + category: d.category.name, + amount: d.amount, + memo: d.memo ?? "", + })) ?? [] + ) + .concat( + creditCardSummaryData?.creditCardSummaries.map((s) => ({ + id: s.id, + date: s.withdrawalDate, + genre: "クレジットカード", + category: s.creditCard, + amount: s.totalAmount, + memo: "", + })) ?? [], + ) + .sort((a, b) => { + if (a.date < b.date) { + return 1; + } + if (a.date > b.date) { + return -1; + } + return 0; + })} + onRowClick={({ id, genre }) => { + if (genre === "クレジットカード") return; + + setDailyDetail(getDetail(id)); + setModifyModalOpen(true); + }} + /> + + setModifyModalOpen(false)} + /> + + ); +}; diff --git a/apps/web/src/features/household/accountList/components/BalanceListTable.tsx b/apps/web/src/features/household/accountList/components/BalanceListTable.tsx index 56d50f47..f37db704 100644 --- a/apps/web/src/features/household/accountList/components/BalanceListTable.tsx +++ b/apps/web/src/features/household/accountList/components/BalanceListTable.tsx @@ -39,7 +39,7 @@ export const BalanceListTable = ({ title: "残高", width: "50%", textAlign: "right", - render: ({ balance }) => balance.toLocaleString(), + render: ({ balance }) => balance?.toLocaleString() ?? 0, }, ]} records={balanceRecords} diff --git a/apps/web/src/pageComponents/household/account/components/AccountListClient.tsx b/apps/web/src/pageComponents/household/account/components/AccountListClient.tsx index 806019c7..4eaddb21 100644 --- a/apps/web/src/pageComponents/household/account/components/AccountListClient.tsx +++ b/apps/web/src/pageComponents/household/account/components/AccountListClient.tsx @@ -1,7 +1,7 @@ "use client"; import { ResponsiveSwitcher } from "@app/household/_layout/ResponsiveSwitcher"; -import { DailyTableByAccount } from "@components/organisms/daily_table/account"; +import { AccountDailyTable } from "@features/household/accountList/components/AccountDailyTable"; import { BalanceListTable } from "@features/household/accountList/components/BalanceListTable"; import { AccountBalance } from "@oneforall/domain/household/accountBalance"; @@ -29,7 +29,7 @@ export const AccountListClient = ({ /> } second={ -