@accounter/client 0.0.6-alpha-20250721003005-5938b056d0ba67eea1d64a09f04faeb3550c5295 → 0.0.6-alpha-20250721061727-7022e2dc3b1e92ab852aa0c79aa7f61a2225797e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -1
- package/dist/assets/index-9mUQ-Yce.js +825 -0
- package/dist/assets/index-X0nt4zGa.css +1 -0
- package/dist/index.html +2 -2
- package/package.json +2 -1
- package/src/components/common/modals/uniform-format-files-modal.tsx +235 -0
- package/src/components/layout/mobile-sidebar.tsx +52 -14
- package/src/components/layout/nav.tsx +89 -31
- package/src/components/layout/sidebar.tsx +51 -19
- package/src/components/layout/sidelinks.tsx +8 -1
- package/src/gql/gql.ts +6 -0
- package/src/gql/graphql.ts +24 -0
- package/dist/assets/index-eRknOFHx.css +0 -1
- package/dist/assets/index-pMWV5usw.js +0 -820
|
@@ -53,12 +53,42 @@ function NavLink({
|
|
|
53
53
|
icon,
|
|
54
54
|
label,
|
|
55
55
|
href,
|
|
56
|
+
action,
|
|
56
57
|
closeNav,
|
|
57
58
|
subLink = false,
|
|
58
59
|
}: NavLinkProps): JSX.Element {
|
|
60
|
+
// If there's an action callback, use a button instead of a link
|
|
61
|
+
if (action) {
|
|
62
|
+
return (
|
|
63
|
+
<button
|
|
64
|
+
onClick={() => {
|
|
65
|
+
action();
|
|
66
|
+
closeNav();
|
|
67
|
+
}}
|
|
68
|
+
className={cn(
|
|
69
|
+
buttonVariants({
|
|
70
|
+
variant: 'ghost',
|
|
71
|
+
size: 'sm',
|
|
72
|
+
}),
|
|
73
|
+
'h-12 font-semibold tracking-tight justify-start text-wrap rounded-none px-6 w-full',
|
|
74
|
+
subLink && 'h-10 w-full border-l border-l-slate-500 px-2',
|
|
75
|
+
)}
|
|
76
|
+
>
|
|
77
|
+
<div className="mr-2">{icon}</div>
|
|
78
|
+
{title}
|
|
79
|
+
{label && (
|
|
80
|
+
<div className="ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground">
|
|
81
|
+
{label}
|
|
82
|
+
</div>
|
|
83
|
+
)}
|
|
84
|
+
</button>
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// Default behavior - navigation link
|
|
59
89
|
return (
|
|
60
90
|
<Link
|
|
61
|
-
to={href}
|
|
91
|
+
to={href!}
|
|
62
92
|
onClick={closeNav}
|
|
63
93
|
className={cn(
|
|
64
94
|
buttonVariants({
|
|
@@ -118,23 +148,30 @@ function NavLinkDropdown({ title, icon, label, sub, closeNav }: NavLinkProps): J
|
|
|
118
148
|
);
|
|
119
149
|
}
|
|
120
150
|
|
|
121
|
-
function NavLinkIcon({ title, icon, label, href }: NavLinkProps): JSX.Element {
|
|
151
|
+
function NavLinkIcon({ title, icon, label, href, action }: NavLinkProps): JSX.Element {
|
|
122
152
|
return (
|
|
123
153
|
<Tooltip delayDuration={0}>
|
|
124
154
|
<TooltipTrigger asChild>
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
155
|
+
{action ? (
|
|
156
|
+
<Button variant="ghost" size="icon" className="h-12 w-12" onClick={action}>
|
|
157
|
+
{icon}
|
|
158
|
+
<span className="sr-only">{title}</span>
|
|
159
|
+
</Button>
|
|
160
|
+
) : (
|
|
161
|
+
<Link
|
|
162
|
+
to={href!}
|
|
163
|
+
className={cn(
|
|
164
|
+
buttonVariants({
|
|
165
|
+
variant: 'ghost',
|
|
166
|
+
size: 'icon',
|
|
167
|
+
}),
|
|
168
|
+
'h-12 w-12',
|
|
169
|
+
)}
|
|
170
|
+
>
|
|
171
|
+
{icon}
|
|
172
|
+
<span className="sr-only">{title}</span>
|
|
173
|
+
</Link>
|
|
174
|
+
)}
|
|
138
175
|
</TooltipTrigger>
|
|
139
176
|
<TooltipContent side="right" className="flex font-semibold tracking-tight items-center gap-4">
|
|
140
177
|
{title}
|
|
@@ -176,22 +213,43 @@ function NavLinkIconDropdown({ title, icon, label, sub }: NavLinkProps): JSX.Ele
|
|
|
176
213
|
{title} {label ? `(${label})` : ''}
|
|
177
214
|
</DropdownMenuLabel>
|
|
178
215
|
<DropdownMenuSeparator />
|
|
179
|
-
{sub!.map(({ title, icon, label, href }) => (
|
|
180
|
-
<DropdownMenuItem key={`${title}-${href}`} asChild>
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
216
|
+
{sub!.map(({ title, icon, label, href, action }) => (
|
|
217
|
+
<DropdownMenuItem key={`${title}-${href || title}`} asChild={!action}>
|
|
218
|
+
{action ? (
|
|
219
|
+
<button
|
|
220
|
+
onClick={action}
|
|
221
|
+
className={cn(
|
|
222
|
+
buttonVariants({
|
|
223
|
+
variant: 'ghost',
|
|
224
|
+
size: 'sm',
|
|
225
|
+
}),
|
|
226
|
+
'flex h-12 cursor-pointer justify-start text-wrap rounded-none px-6 w-full',
|
|
227
|
+
)}
|
|
228
|
+
>
|
|
229
|
+
{icon}{' '}
|
|
230
|
+
<span className="ml-2 max-w-52 text-wrap font-semibold tracking-tight">
|
|
231
|
+
{title}
|
|
232
|
+
</span>
|
|
233
|
+
{label && <span className="ml-auto text-xs">{label}</span>}
|
|
234
|
+
</button>
|
|
235
|
+
) : (
|
|
236
|
+
<Link
|
|
237
|
+
to={href!}
|
|
238
|
+
className={cn(
|
|
239
|
+
buttonVariants({
|
|
240
|
+
variant: 'ghost',
|
|
241
|
+
size: 'sm',
|
|
242
|
+
}),
|
|
243
|
+
'flex h-12 cursor-pointer justify-start text-wrap rounded-none px-6',
|
|
244
|
+
)}
|
|
245
|
+
>
|
|
246
|
+
{icon}{' '}
|
|
247
|
+
<span className="ml-2 max-w-52 text-wrap font-semibold tracking-tight">
|
|
248
|
+
{title}
|
|
249
|
+
</span>
|
|
250
|
+
{label && <span className="ml-auto text-xs">{label}</span>}
|
|
251
|
+
</Link>
|
|
252
|
+
)}
|
|
195
253
|
</DropdownMenuItem>
|
|
196
254
|
))}
|
|
197
255
|
</DropdownMenuContent>
|
|
@@ -2,8 +2,9 @@ import { JSX, useState } from 'react';
|
|
|
2
2
|
import { ChevronLeft } from 'lucide-react';
|
|
3
3
|
import { useSidebar } from '../../hooks/use-sidebar.js';
|
|
4
4
|
import { cn } from '../../lib/utils.js';
|
|
5
|
+
import { UniformFormatFilesDownloadModal } from '../common/modals/uniform-format-files-modal.js';
|
|
5
6
|
import { Nav } from './nav.js';
|
|
6
|
-
import { sidelinks } from './sidelinks.js';
|
|
7
|
+
import { sidelinks, type SideLink } from './sidelinks.js';
|
|
7
8
|
|
|
8
9
|
type SidebarProps = {
|
|
9
10
|
className?: string;
|
|
@@ -12,6 +13,7 @@ type SidebarProps = {
|
|
|
12
13
|
export function Sidebar({ className }: SidebarProps): JSX.Element {
|
|
13
14
|
const { isMinimized, toggle } = useSidebar();
|
|
14
15
|
const [status, setStatus] = useState(false);
|
|
16
|
+
const [uniformFormatModalOpen, setUniformFormatModalOpen] = useState(false);
|
|
15
17
|
|
|
16
18
|
const handleToggle = (): void => {
|
|
17
19
|
setStatus(true);
|
|
@@ -19,27 +21,57 @@ export function Sidebar({ className }: SidebarProps): JSX.Element {
|
|
|
19
21
|
setTimeout(() => setStatus(false), 300);
|
|
20
22
|
};
|
|
21
23
|
|
|
24
|
+
// Create enhanced sidelinks with modal actions
|
|
25
|
+
const enhancedSidelinks: SideLink[] = sidelinks.map(link => {
|
|
26
|
+
if (link.sub) {
|
|
27
|
+
return {
|
|
28
|
+
...link,
|
|
29
|
+
sub: link.sub.map(sublink => {
|
|
30
|
+
// Handle the Generate Uniform Files action
|
|
31
|
+
if (sublink.title === 'Generate Uniform Files') {
|
|
32
|
+
return {
|
|
33
|
+
...sublink,
|
|
34
|
+
action: () => {
|
|
35
|
+
setUniformFormatModalOpen(true);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
return sublink;
|
|
40
|
+
}),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
return link;
|
|
44
|
+
});
|
|
45
|
+
|
|
22
46
|
return (
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
'relative hidden h-screen flex-none border-r z-10 pt-10 md:block bg-white',
|
|
26
|
-
status && 'duration-300',
|
|
27
|
-
isMinimized ? 'w-[72px]' : 'w-[240px]',
|
|
28
|
-
className,
|
|
29
|
-
)}
|
|
30
|
-
>
|
|
31
|
-
<ChevronLeft
|
|
47
|
+
<>
|
|
48
|
+
<nav
|
|
32
49
|
className={cn(
|
|
33
|
-
'
|
|
34
|
-
|
|
50
|
+
'relative hidden h-screen flex-none border-r z-10 pt-10 md:block bg-white',
|
|
51
|
+
status && 'duration-300',
|
|
52
|
+
isMinimized ? 'w-[72px]' : 'w-[240px]',
|
|
53
|
+
className,
|
|
35
54
|
)}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
55
|
+
>
|
|
56
|
+
<ChevronLeft
|
|
57
|
+
className={cn(
|
|
58
|
+
'absolute -right-3 top-20 cursor-pointer bg-gray-300 border-black/75 rounded-full border text-3xl text-foreground',
|
|
59
|
+
isMinimized && 'rotate-180',
|
|
60
|
+
)}
|
|
61
|
+
onClick={handleToggle}
|
|
62
|
+
/>
|
|
63
|
+
<div className="px-3 py-2">
|
|
64
|
+
<div className="mt-3 space-y-1">
|
|
65
|
+
<Nav links={enhancedSidelinks} isCollapsed={isMinimized} closeNav={handleToggle} />
|
|
66
|
+
</div>
|
|
41
67
|
</div>
|
|
42
|
-
</
|
|
43
|
-
|
|
68
|
+
</nav>
|
|
69
|
+
|
|
70
|
+
{/* Controlled modal */}
|
|
71
|
+
<UniformFormatFilesDownloadModal
|
|
72
|
+
open={uniformFormatModalOpen}
|
|
73
|
+
onOpenChange={setUniformFormatModalOpen}
|
|
74
|
+
/>
|
|
75
|
+
</>
|
|
44
76
|
);
|
|
45
77
|
}
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
ChartColumnDecreasing,
|
|
11
11
|
ChartNoAxesCombined,
|
|
12
12
|
CheckCheck,
|
|
13
|
+
Download,
|
|
13
14
|
Factory,
|
|
14
15
|
FilePen,
|
|
15
16
|
Files,
|
|
@@ -29,8 +30,9 @@ import {
|
|
|
29
30
|
export interface NavLink {
|
|
30
31
|
title: string;
|
|
31
32
|
label?: string;
|
|
32
|
-
href
|
|
33
|
+
href?: string;
|
|
33
34
|
icon: JSX.Element;
|
|
35
|
+
action?: () => void;
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
export interface SideLink extends NavLink {
|
|
@@ -142,6 +144,11 @@ export const sidelinks: SideLink[] = [
|
|
|
142
144
|
href: '/reports/validate-reports',
|
|
143
145
|
icon: <CheckCheck size={18} />,
|
|
144
146
|
},
|
|
147
|
+
{
|
|
148
|
+
title: 'Generate Uniform Files',
|
|
149
|
+
label: '',
|
|
150
|
+
icon: <Download size={18} />,
|
|
151
|
+
},
|
|
145
152
|
],
|
|
146
153
|
},
|
|
147
154
|
{
|
package/src/gql/gql.ts
CHANGED
|
@@ -101,6 +101,7 @@ type Documents = {
|
|
|
101
101
|
"\n query SimilarCharges(\n $chargeId: UUID!\n $withMissingTags: Boolean!\n $withMissingDescription: Boolean!\n $tagsDifferentThan: [String!]\n $descriptionDifferentThan: String\n ) {\n similarCharges(\n chargeId: $chargeId\n withMissingTags: $withMissingTags\n withMissingDescription: $withMissingDescription\n tagsDifferentThan: $tagsDifferentThan\n descriptionDifferentThan: $descriptionDifferentThan\n ) {\n id\n ...SimilarChargesTable\n }\n }\n": typeof types.SimilarChargesDocument,
|
|
102
102
|
"\n fragment SimilarChargesTable on Charge {\n id\n __typename\n counterparty {\n name\n id\n }\n minEventDate\n minDebitDate\n minDocumentsDate\n totalAmount {\n raw\n formatted\n }\n vat {\n raw\n formatted\n }\n userDescription\n tags {\n id\n name\n }\n taxCategory {\n id\n name\n }\n ... on BusinessTripCharge {\n businessTrip {\n id\n name\n }\n }\n metadata {\n transactionsCount\n documentsCount\n ledgerCount\n miscExpensesCount\n }\n }\n": typeof types.SimilarChargesTableFragmentDoc,
|
|
103
103
|
"\n query SimilarTransactions($transactionId: UUID!, $withMissingInfo: Boolean!) {\n similarTransactions(transactionId: $transactionId, withMissingInfo: $withMissingInfo) {\n id\n account {\n id\n name\n type\n }\n amount {\n formatted\n raw\n }\n effectiveDate\n eventDate\n sourceDescription\n }\n }\n": typeof types.SimilarTransactionsDocument,
|
|
104
|
+
"\n query UniformFormat($fromDate: TimelessDate!, $toDate: TimelessDate!) {\n uniformFormat(fromDate: $fromDate, toDate: $toDate) {\n bkmvdata\n ini\n }\n }\n": typeof types.UniformFormatDocument,
|
|
104
105
|
"\n fragment NewFetchedDocumentFields on Document {\n id\n documentType\n charge {\n id\n userDescription\n counterparty {\n id\n name\n }\n }\n }\n": typeof types.NewFetchedDocumentFieldsFragmentDoc,
|
|
105
106
|
"\n fragment TableDocumentsRowFields on Document {\n id\n documentType\n image\n file\n ... on FinancialDocument {\n amount {\n raw\n formatted\n currency\n }\n missingInfoSuggestions {\n amount {\n raw\n formatted\n currency\n }\n isIncome\n counterparty {\n id\n name\n }\n owner {\n id\n name\n }\n }\n date\n vat {\n raw\n formatted\n currency\n }\n serialNumber\n allocationNumber\n creditor {\n id\n name\n }\n debtor {\n id\n name\n }\n }\n }\n": typeof types.TableDocumentsRowFieldsFragmentDoc,
|
|
106
107
|
"\n fragment DocumentsGalleryFields on Charge {\n id\n additionalDocuments {\n id\n image\n ... on FinancialDocument {\n documentType\n }\n }\n }\n": typeof types.DocumentsGalleryFieldsFragmentDoc,
|
|
@@ -325,6 +326,7 @@ const documents: Documents = {
|
|
|
325
326
|
"\n query SimilarCharges(\n $chargeId: UUID!\n $withMissingTags: Boolean!\n $withMissingDescription: Boolean!\n $tagsDifferentThan: [String!]\n $descriptionDifferentThan: String\n ) {\n similarCharges(\n chargeId: $chargeId\n withMissingTags: $withMissingTags\n withMissingDescription: $withMissingDescription\n tagsDifferentThan: $tagsDifferentThan\n descriptionDifferentThan: $descriptionDifferentThan\n ) {\n id\n ...SimilarChargesTable\n }\n }\n": types.SimilarChargesDocument,
|
|
326
327
|
"\n fragment SimilarChargesTable on Charge {\n id\n __typename\n counterparty {\n name\n id\n }\n minEventDate\n minDebitDate\n minDocumentsDate\n totalAmount {\n raw\n formatted\n }\n vat {\n raw\n formatted\n }\n userDescription\n tags {\n id\n name\n }\n taxCategory {\n id\n name\n }\n ... on BusinessTripCharge {\n businessTrip {\n id\n name\n }\n }\n metadata {\n transactionsCount\n documentsCount\n ledgerCount\n miscExpensesCount\n }\n }\n": types.SimilarChargesTableFragmentDoc,
|
|
327
328
|
"\n query SimilarTransactions($transactionId: UUID!, $withMissingInfo: Boolean!) {\n similarTransactions(transactionId: $transactionId, withMissingInfo: $withMissingInfo) {\n id\n account {\n id\n name\n type\n }\n amount {\n formatted\n raw\n }\n effectiveDate\n eventDate\n sourceDescription\n }\n }\n": types.SimilarTransactionsDocument,
|
|
329
|
+
"\n query UniformFormat($fromDate: TimelessDate!, $toDate: TimelessDate!) {\n uniformFormat(fromDate: $fromDate, toDate: $toDate) {\n bkmvdata\n ini\n }\n }\n": types.UniformFormatDocument,
|
|
328
330
|
"\n fragment NewFetchedDocumentFields on Document {\n id\n documentType\n charge {\n id\n userDescription\n counterparty {\n id\n name\n }\n }\n }\n": types.NewFetchedDocumentFieldsFragmentDoc,
|
|
329
331
|
"\n fragment TableDocumentsRowFields on Document {\n id\n documentType\n image\n file\n ... on FinancialDocument {\n amount {\n raw\n formatted\n currency\n }\n missingInfoSuggestions {\n amount {\n raw\n formatted\n currency\n }\n isIncome\n counterparty {\n id\n name\n }\n owner {\n id\n name\n }\n }\n date\n vat {\n raw\n formatted\n currency\n }\n serialNumber\n allocationNumber\n creditor {\n id\n name\n }\n debtor {\n id\n name\n }\n }\n }\n": types.TableDocumentsRowFieldsFragmentDoc,
|
|
330
332
|
"\n fragment DocumentsGalleryFields on Charge {\n id\n additionalDocuments {\n id\n image\n ... on FinancialDocument {\n documentType\n }\n }\n }\n": types.DocumentsGalleryFieldsFragmentDoc,
|
|
@@ -824,6 +826,10 @@ export function graphql(source: "\n fragment SimilarChargesTable on Charge {\n
|
|
|
824
826
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
825
827
|
*/
|
|
826
828
|
export function graphql(source: "\n query SimilarTransactions($transactionId: UUID!, $withMissingInfo: Boolean!) {\n similarTransactions(transactionId: $transactionId, withMissingInfo: $withMissingInfo) {\n id\n account {\n id\n name\n type\n }\n amount {\n formatted\n raw\n }\n effectiveDate\n eventDate\n sourceDescription\n }\n }\n"): (typeof documents)["\n query SimilarTransactions($transactionId: UUID!, $withMissingInfo: Boolean!) {\n similarTransactions(transactionId: $transactionId, withMissingInfo: $withMissingInfo) {\n id\n account {\n id\n name\n type\n }\n amount {\n formatted\n raw\n }\n effectiveDate\n eventDate\n sourceDescription\n }\n }\n"];
|
|
829
|
+
/**
|
|
830
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
831
|
+
*/
|
|
832
|
+
export function graphql(source: "\n query UniformFormat($fromDate: TimelessDate!, $toDate: TimelessDate!) {\n uniformFormat(fromDate: $fromDate, toDate: $toDate) {\n bkmvdata\n ini\n }\n }\n"): (typeof documents)["\n query UniformFormat($fromDate: TimelessDate!, $toDate: TimelessDate!) {\n uniformFormat(fromDate: $fromDate, toDate: $toDate) {\n bkmvdata\n ini\n }\n }\n"];
|
|
827
833
|
/**
|
|
828
834
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
829
835
|
*/
|
package/src/gql/graphql.ts
CHANGED
|
@@ -2674,6 +2674,7 @@ export type Query = {
|
|
|
2674
2674
|
taxReport: TaxReport;
|
|
2675
2675
|
transactionsByIDs: Array<Transaction>;
|
|
2676
2676
|
transactionsForBalanceReport: Array<BalanceTransactions>;
|
|
2677
|
+
uniformFormat?: Maybe<UniformFormat>;
|
|
2677
2678
|
userContext?: Maybe<UserContext>;
|
|
2678
2679
|
vatReport: VatReportResult;
|
|
2679
2680
|
yearlyLedgerReport: YearlyLedgerReport;
|
|
@@ -2956,6 +2957,13 @@ export type QueryTransactionsForBalanceReportArgs = {
|
|
|
2956
2957
|
};
|
|
2957
2958
|
|
|
2958
2959
|
|
|
2960
|
+
/** query root */
|
|
2961
|
+
export type QueryUniformFormatArgs = {
|
|
2962
|
+
fromDate: Scalars['TimelessDate']['input'];
|
|
2963
|
+
toDate: Scalars['TimelessDate']['input'];
|
|
2964
|
+
};
|
|
2965
|
+
|
|
2966
|
+
|
|
2959
2967
|
/** query root */
|
|
2960
2968
|
export type QueryVatReportArgs = {
|
|
2961
2969
|
filters?: InputMaybe<VatReportFilter>;
|
|
@@ -3437,6 +3445,13 @@ export type UncategorizedTransaction = {
|
|
|
3437
3445
|
transaction: Transaction;
|
|
3438
3446
|
};
|
|
3439
3447
|
|
|
3448
|
+
/** result type for uniformFormat */
|
|
3449
|
+
export type UniformFormat = {
|
|
3450
|
+
__typename?: 'UniformFormat';
|
|
3451
|
+
bkmvdata: Scalars['FileScalar']['output'];
|
|
3452
|
+
ini: Scalars['FileScalar']['output'];
|
|
3453
|
+
};
|
|
3454
|
+
|
|
3440
3455
|
/** document that haven't yet been processed */
|
|
3441
3456
|
export type Unprocessed = Document & Linkable & {
|
|
3442
3457
|
__typename?: 'Unprocessed';
|
|
@@ -5426,6 +5441,14 @@ export type SimilarTransactionsQueryVariables = Exact<{
|
|
|
5426
5441
|
|
|
5427
5442
|
export type SimilarTransactionsQuery = { __typename?: 'Query', similarTransactions: Array<{ __typename?: 'CommonTransaction', id: string, effectiveDate?: TimelessDateString | null, eventDate: TimelessDateString, sourceDescription: string, account: { __typename?: 'BankFinancialAccount', id: string, name: string, type: string } | { __typename?: 'CardFinancialAccount', id: string, name: string, type: string } | { __typename?: 'CryptoWalletFinancialAccount', id: string, name: string, type: string }, amount: { __typename?: 'FinancialAmount', formatted: string, raw: number } } | { __typename?: 'ConversionTransaction', id: string, effectiveDate: TimelessDateString, eventDate: TimelessDateString, sourceDescription: string, account: { __typename?: 'BankFinancialAccount', id: string, name: string, type: string } | { __typename?: 'CardFinancialAccount', id: string, name: string, type: string } | { __typename?: 'CryptoWalletFinancialAccount', id: string, name: string, type: string }, amount: { __typename?: 'FinancialAmount', formatted: string, raw: number } }> };
|
|
5428
5443
|
|
|
5444
|
+
export type UniformFormatQueryVariables = Exact<{
|
|
5445
|
+
fromDate: Scalars['TimelessDate']['input'];
|
|
5446
|
+
toDate: Scalars['TimelessDate']['input'];
|
|
5447
|
+
}>;
|
|
5448
|
+
|
|
5449
|
+
|
|
5450
|
+
export type UniformFormatQuery = { __typename?: 'Query', uniformFormat?: { __typename?: 'UniformFormat', bkmvdata: string, ini: string } | null };
|
|
5451
|
+
|
|
5429
5452
|
type NewFetchedDocumentFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: string, documentType?: DocumentType | null, charge?: { __typename?: 'BankDepositCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'BusinessTripCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CommonCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'ConversionCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CreditcardBankCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'DividendCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'FinancialCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'InternalTransferCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'MonthlyVatCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'SalaryCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'NewFetchedDocumentFields_CreditInvoice_Fragment' };
|
|
5430
5453
|
|
|
5431
5454
|
type NewFetchedDocumentFields_Invoice_Fragment = { __typename?: 'Invoice', id: string, documentType?: DocumentType | null, charge?: { __typename?: 'BankDepositCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'BusinessTripCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CommonCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'ConversionCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CreditcardBankCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'DividendCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'FinancialCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'InternalTransferCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'MonthlyVatCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'SalaryCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'NewFetchedDocumentFields_Invoice_Fragment' };
|
|
@@ -7019,6 +7042,7 @@ export const MiscExpenseTransactionFieldsDocument = {"kind":"Document","definiti
|
|
|
7019
7042
|
export const SimilarChargesByBusinessDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SimilarChargesByBusiness"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"businessId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tagsDifferentThan"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"descriptionDifferentThan"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"similarChargesByBusiness"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"businessId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"businessId"}}},{"kind":"Argument","name":{"kind":"Name","value":"tagsDifferentThan"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tagsDifferentThan"}}},{"kind":"Argument","name":{"kind":"Name","value":"descriptionDifferentThan"},"value":{"kind":"Variable","name":{"kind":"Name","value":"descriptionDifferentThan"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SimilarChargesTable"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SimilarChargesTable"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"minEventDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDebitDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDocumentsDate"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}}]}}]}}]} as unknown as DocumentNode<SimilarChargesByBusinessQuery, SimilarChargesByBusinessQueryVariables>;
|
|
7020
7043
|
export const SimilarChargesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SimilarCharges"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"withMissingTags"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"withMissingDescription"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tagsDifferentThan"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"descriptionDifferentThan"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"similarCharges"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chargeId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}}},{"kind":"Argument","name":{"kind":"Name","value":"withMissingTags"},"value":{"kind":"Variable","name":{"kind":"Name","value":"withMissingTags"}}},{"kind":"Argument","name":{"kind":"Name","value":"withMissingDescription"},"value":{"kind":"Variable","name":{"kind":"Name","value":"withMissingDescription"}}},{"kind":"Argument","name":{"kind":"Name","value":"tagsDifferentThan"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tagsDifferentThan"}}},{"kind":"Argument","name":{"kind":"Name","value":"descriptionDifferentThan"},"value":{"kind":"Variable","name":{"kind":"Name","value":"descriptionDifferentThan"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SimilarChargesTable"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SimilarChargesTable"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"minEventDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDebitDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDocumentsDate"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}}]}}]}}]} as unknown as DocumentNode<SimilarChargesQuery, SimilarChargesQueryVariables>;
|
|
7021
7044
|
export const SimilarTransactionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SimilarTransactions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"transactionId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"withMissingInfo"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"similarTransactions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"transactionId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"transactionId"}}},{"kind":"Argument","name":{"kind":"Name","value":"withMissingInfo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"withMissingInfo"}}}],"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"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"effectiveDate"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDescription"}}]}}]}}]} as unknown as DocumentNode<SimilarTransactionsQuery, SimilarTransactionsQueryVariables>;
|
|
7045
|
+
export const UniformFormatDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UniformFormat"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromDate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TimelessDate"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toDate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TimelessDate"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uniformFormat"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fromDate"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromDate"}}},{"kind":"Argument","name":{"kind":"Name","value":"toDate"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toDate"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bkmvdata"}},{"kind":"Field","name":{"kind":"Name","value":"ini"}}]}}]}}]} as unknown as DocumentNode<UniformFormatQuery, UniformFormatQueryVariables>;
|
|
7022
7046
|
export const AccountantApprovalsChargesTableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AccountantApprovalsChargesTable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeFilter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allCharges"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}}]}}]}}]} as unknown as DocumentNode<AccountantApprovalsChargesTableQuery, AccountantApprovalsChargesTableQueryVariables>;
|
|
7023
7047
|
export const AllContoReportsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllContoReports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allDynamicReports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"updated"}}]}}]}}]} as unknown as DocumentNode<AllContoReportsQuery, AllContoReportsQueryVariables>;
|
|
7024
7048
|
export const ContoReportDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ContoReport"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTransactionsFilter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTransactionsSumFromLedgerRecords"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTransactionsSumFromLedgerRecordsSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTransactionsSum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sortCode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"credit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}}]}}]}}]} as unknown as DocumentNode<ContoReportQuery, ContoReportQueryVariables>;
|