@accounter/client 0.0.7-alpha-20250821154938-954b3cb72dbd3ab35c2f363f90aa079483f72196 → 0.0.7-alpha-20250821161622-fcb54c5f6524707e4544fc94066cd6ec87cbba51

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/dist/index.html CHANGED
@@ -5,8 +5,8 @@
5
5
  <link rel="icon" href="/icons/accounter-logo.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Accounter</title>
8
- <script type="module" crossorigin src="/assets/index-B06NFENr.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-DBmbnNAy.css">
8
+ <script type="module" crossorigin src="/assets/index-C3Jzs8px.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-BERPxH5K.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accounter/client",
3
- "version": "0.0.7-alpha-20250821154938-954b3cb72dbd3ab35c2f363f90aa079483f72196",
3
+ "version": "0.0.7-alpha-20250821161622-fcb54c5f6524707e4544fc94066cd6ec87cbba51",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -30,7 +30,6 @@
30
30
  "@radix-ui/react-icons": "1.3.2",
31
31
  "@radix-ui/react-label": "2.1.7",
32
32
  "@radix-ui/react-popover": "1.1.15",
33
- "@radix-ui/react-progress": "1.1.7",
34
33
  "@radix-ui/react-scroll-area": "1.2.10",
35
34
  "@radix-ui/react-select": "2.2.6",
36
35
  "@radix-ui/react-separator": "1.1.7",
package/src/app.tsx CHANGED
@@ -25,7 +25,6 @@ import { MissingInfoCharges } from './components/screens/charges/missing-info-ch
25
25
  import { DocumentsReport } from './components/screens/documents/all-documents/index.jsx';
26
26
  import { IssueDocumentScreen } from './components/screens/documents/issue-document.js';
27
27
  import { IssueDocuments } from './components/screens/documents/issue-documents/index.js';
28
- import { AnnualAuditFlow } from './components/screens/operations/annual-audit/index.jsx';
29
28
  import { BalanceReport } from './components/screens/reports/balance-report/index.js';
30
29
  import { DepreciationReport } from './components/screens/reports/depreciation-report/index.js';
31
30
  import { Shaam6111Report } from './components/screens/reports/shaam6111-report/index.js';
@@ -86,9 +85,6 @@ export function App(): ReactElement {
86
85
  <Route path="balance" element={<BalanceReport />} />
87
86
  <Route path="validate-reports" element={<ValidateReportsScreen />} />
88
87
  </Route>
89
- <Route path="workflows">
90
- <Route path="annual-audit" element={<AnnualAuditFlow />} />
91
- </Route>
92
88
  <Route path="salaries" element={<Salaries />} />
93
89
  <Route path="tags" element={<TagsManager />} />
94
90
  <Route path="tax-categories" element={<TaxCategories />} />
@@ -16,7 +16,6 @@ import {
16
16
  Files,
17
17
  HandCoins,
18
18
  IdCard,
19
- ListChecks,
20
19
  ParkingMeter,
21
20
  PlaneTakeoff,
22
21
  Puzzle,
@@ -236,20 +235,6 @@ export const sidelinks: SideLink[] = [
236
235
  },
237
236
  ],
238
237
  },
239
- {
240
- title: 'Workflows',
241
- label: '',
242
- href: '',
243
- icon: <ListChecks size={18} />,
244
- sub: [
245
- {
246
- title: 'Year-end audit',
247
- label: '',
248
- href: '/workflows/year-end-audit',
249
- icon: <ListChecks size={18} />,
250
- },
251
- ],
252
- },
253
238
  {
254
239
  href: '/salaries',
255
240
  title: 'Salaries',
package/src/gql/gql.ts CHANGED
@@ -155,8 +155,6 @@ type Documents = {
155
155
  "\n query DocumentsScreen($filters: DocumentsFilters!) {\n documentsByFilters(filters: $filters) {\n id\n image\n file\n charge {\n id\n userDescription\n __typename\n vat {\n formatted\n __typename\n }\n transactions {\n id\n eventDate\n sourceDescription\n effectiveDate\n amount {\n formatted\n __typename\n }\n }\n }\n __typename\n ... on FinancialDocument {\n creditor {\n id\n name\n }\n debtor {\n id\n name\n }\n vat {\n raw\n formatted\n currency\n }\n serialNumber\n date\n amount {\n raw\n formatted\n currency\n }\n }\n }\n }\n": typeof types.DocumentsScreenDocument,
156
156
  "\n query MonthlyDocumentDraftByClient($clientId: UUID!, $issueMonth: TimelessDate!) {\n clientMonthlyChargeDraft(clientId: $clientId, issueMonth: $issueMonth) {\n ...NewDocumentInfo\n }\n }\n": typeof types.MonthlyDocumentDraftByClientDocument,
157
157
  "\n query MonthlyDocumentsDrafts($issueMonth: TimelessDate!) {\n clientMonthlyChargesDrafts(issueMonth: $issueMonth) {\n ...NewDocumentInfo\n }\n }\n": typeof types.MonthlyDocumentsDraftsDocument,
158
- "\n query AccountantApprovalStatus($fromDate: TimelessDate!, $toDate: TimelessDate!) {\n accountantApprovalStatus(from: $fromDate, to: $toDate) {\n totalCharges\n approvedCount\n pendingCount\n unapprovedCount\n }\n }\n": typeof types.AccountantApprovalStatusDocument,
159
- "\n query LedgerValidationStatus($limit: Int, $filters: ChargeFilter) {\n chargesWithLedgerChanges(limit: $limit, filters: $filters) {\n charge {\n id\n }\n }\n }\n": typeof types.LedgerValidationStatusDocument,
160
158
  "\n query BalanceReportExtendedTransactions($transactionIDs: [UUID!]!) {\n transactionsByIDs(transactionIDs: $transactionIDs) {\n id\n ...TransactionForTransactionsTableFields\n }\n }\n": typeof types.BalanceReportExtendedTransactionsDocument,
161
159
  "\n query BalanceReportScreen($fromDate: TimelessDate!, $toDate: TimelessDate!, $ownerId: UUID) {\n transactionsForBalanceReport(fromDate: $fromDate, toDate: $toDate, ownerId: $ownerId) {\n id\n amountUsd {\n formatted\n raw\n }\n date\n month\n year\n counterparty {\n id\n }\n isFee\n description\n charge {\n id\n tags {\n id\n name\n }\n }\n }\n }\n": typeof types.BalanceReportScreenDocument,
162
160
  "\n fragment DepreciationReportRecordCore on DepreciationCoreRecord {\n id\n originalCost\n reportYearDelta\n totalDepreciableCosts\n reportYearClaimedDepreciation\n pastYearsAccumulatedDepreciation\n totalDepreciation\n netValue\n }\n": typeof types.DepreciationReportRecordCoreFragmentDoc,
@@ -204,7 +202,6 @@ type Documents = {
204
202
  "\n mutation DeleteMiscExpense($id: UUID!) {\n deleteMiscExpense(id: $id)\n }\n": typeof types.DeleteMiscExpenseDocument,
205
203
  "\n mutation DeleteTag($tagId: UUID!) {\n deleteTag(id: $tagId)\n }\n": typeof types.DeleteTagDocument,
206
204
  "\n mutation FetchIncomeDocuments($ownerId: UUID!) {\n fetchIncomeDocuments(ownerId: $ownerId) {\n id\n ...NewFetchedDocumentFields\n }\n }\n": typeof types.FetchIncomeDocumentsDocument,
207
- "\n query AdminBusinesses {\n allAdminBusinesses {\n id\n name\n governmentId\n }\n }\n": typeof types.AdminBusinessesDocument,
208
205
  "\n query AllClients {\n allClients {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n }\n": typeof types.AllClientsDocument,
209
206
  "\n query AllOpenContracts {\n allOpenContracts {\n id\n client {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n purchaseOrder\n startDate\n endDate\n remarks\n amount {\n raw\n currency\n formatted\n }\n documentType\n billingCycle\n isActive\n product\n plan\n signedAgreement\n msCloud\n }\n }\n": typeof types.AllOpenContractsDocument,
210
207
  "\n query AllBusinesses {\n allBusinesses {\n nodes {\n id\n name\n }\n }\n }\n": typeof types.AllBusinessesDocument,
@@ -397,8 +394,6 @@ const documents: Documents = {
397
394
  "\n query DocumentsScreen($filters: DocumentsFilters!) {\n documentsByFilters(filters: $filters) {\n id\n image\n file\n charge {\n id\n userDescription\n __typename\n vat {\n formatted\n __typename\n }\n transactions {\n id\n eventDate\n sourceDescription\n effectiveDate\n amount {\n formatted\n __typename\n }\n }\n }\n __typename\n ... on FinancialDocument {\n creditor {\n id\n name\n }\n debtor {\n id\n name\n }\n vat {\n raw\n formatted\n currency\n }\n serialNumber\n date\n amount {\n raw\n formatted\n currency\n }\n }\n }\n }\n": types.DocumentsScreenDocument,
398
395
  "\n query MonthlyDocumentDraftByClient($clientId: UUID!, $issueMonth: TimelessDate!) {\n clientMonthlyChargeDraft(clientId: $clientId, issueMonth: $issueMonth) {\n ...NewDocumentInfo\n }\n }\n": types.MonthlyDocumentDraftByClientDocument,
399
396
  "\n query MonthlyDocumentsDrafts($issueMonth: TimelessDate!) {\n clientMonthlyChargesDrafts(issueMonth: $issueMonth) {\n ...NewDocumentInfo\n }\n }\n": types.MonthlyDocumentsDraftsDocument,
400
- "\n query AccountantApprovalStatus($fromDate: TimelessDate!, $toDate: TimelessDate!) {\n accountantApprovalStatus(from: $fromDate, to: $toDate) {\n totalCharges\n approvedCount\n pendingCount\n unapprovedCount\n }\n }\n": types.AccountantApprovalStatusDocument,
401
- "\n query LedgerValidationStatus($limit: Int, $filters: ChargeFilter) {\n chargesWithLedgerChanges(limit: $limit, filters: $filters) {\n charge {\n id\n }\n }\n }\n": types.LedgerValidationStatusDocument,
402
397
  "\n query BalanceReportExtendedTransactions($transactionIDs: [UUID!]!) {\n transactionsByIDs(transactionIDs: $transactionIDs) {\n id\n ...TransactionForTransactionsTableFields\n }\n }\n": types.BalanceReportExtendedTransactionsDocument,
403
398
  "\n query BalanceReportScreen($fromDate: TimelessDate!, $toDate: TimelessDate!, $ownerId: UUID) {\n transactionsForBalanceReport(fromDate: $fromDate, toDate: $toDate, ownerId: $ownerId) {\n id\n amountUsd {\n formatted\n raw\n }\n date\n month\n year\n counterparty {\n id\n }\n isFee\n description\n charge {\n id\n tags {\n id\n name\n }\n }\n }\n }\n": types.BalanceReportScreenDocument,
404
399
  "\n fragment DepreciationReportRecordCore on DepreciationCoreRecord {\n id\n originalCost\n reportYearDelta\n totalDepreciableCosts\n reportYearClaimedDepreciation\n pastYearsAccumulatedDepreciation\n totalDepreciation\n netValue\n }\n": types.DepreciationReportRecordCoreFragmentDoc,
@@ -446,7 +441,6 @@ const documents: Documents = {
446
441
  "\n mutation DeleteMiscExpense($id: UUID!) {\n deleteMiscExpense(id: $id)\n }\n": types.DeleteMiscExpenseDocument,
447
442
  "\n mutation DeleteTag($tagId: UUID!) {\n deleteTag(id: $tagId)\n }\n": types.DeleteTagDocument,
448
443
  "\n mutation FetchIncomeDocuments($ownerId: UUID!) {\n fetchIncomeDocuments(ownerId: $ownerId) {\n id\n ...NewFetchedDocumentFields\n }\n }\n": types.FetchIncomeDocumentsDocument,
449
- "\n query AdminBusinesses {\n allAdminBusinesses {\n id\n name\n governmentId\n }\n }\n": types.AdminBusinessesDocument,
450
444
  "\n query AllClients {\n allClients {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n }\n": types.AllClientsDocument,
451
445
  "\n query AllOpenContracts {\n allOpenContracts {\n id\n client {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n purchaseOrder\n startDate\n endDate\n remarks\n amount {\n raw\n currency\n formatted\n }\n documentType\n billingCycle\n isActive\n product\n plan\n signedAgreement\n msCloud\n }\n }\n": types.AllOpenContractsDocument,
452
446
  "\n query AllBusinesses {\n allBusinesses {\n nodes {\n id\n name\n }\n }\n }\n": types.AllBusinessesDocument,
@@ -1076,14 +1070,6 @@ export function graphql(source: "\n query MonthlyDocumentDraftByClient($clientI
1076
1070
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1077
1071
  */
1078
1072
  export function graphql(source: "\n query MonthlyDocumentsDrafts($issueMonth: TimelessDate!) {\n clientMonthlyChargesDrafts(issueMonth: $issueMonth) {\n ...NewDocumentInfo\n }\n }\n"): (typeof documents)["\n query MonthlyDocumentsDrafts($issueMonth: TimelessDate!) {\n clientMonthlyChargesDrafts(issueMonth: $issueMonth) {\n ...NewDocumentInfo\n }\n }\n"];
1079
- /**
1080
- * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1081
- */
1082
- export function graphql(source: "\n query AccountantApprovalStatus($fromDate: TimelessDate!, $toDate: TimelessDate!) {\n accountantApprovalStatus(from: $fromDate, to: $toDate) {\n totalCharges\n approvedCount\n pendingCount\n unapprovedCount\n }\n }\n"): (typeof documents)["\n query AccountantApprovalStatus($fromDate: TimelessDate!, $toDate: TimelessDate!) {\n accountantApprovalStatus(from: $fromDate, to: $toDate) {\n totalCharges\n approvedCount\n pendingCount\n unapprovedCount\n }\n }\n"];
1083
- /**
1084
- * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1085
- */
1086
- export function graphql(source: "\n query LedgerValidationStatus($limit: Int, $filters: ChargeFilter) {\n chargesWithLedgerChanges(limit: $limit, filters: $filters) {\n charge {\n id\n }\n }\n }\n"): (typeof documents)["\n query LedgerValidationStatus($limit: Int, $filters: ChargeFilter) {\n chargesWithLedgerChanges(limit: $limit, filters: $filters) {\n charge {\n id\n }\n }\n }\n"];
1087
1073
  /**
1088
1074
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1089
1075
  */
@@ -1272,10 +1258,6 @@ export function graphql(source: "\n mutation DeleteTag($tagId: UUID!) {\n de
1272
1258
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1273
1259
  */
1274
1260
  export function graphql(source: "\n mutation FetchIncomeDocuments($ownerId: UUID!) {\n fetchIncomeDocuments(ownerId: $ownerId) {\n id\n ...NewFetchedDocumentFields\n }\n }\n"): (typeof documents)["\n mutation FetchIncomeDocuments($ownerId: UUID!) {\n fetchIncomeDocuments(ownerId: $ownerId) {\n id\n ...NewFetchedDocumentFields\n }\n }\n"];
1275
- /**
1276
- * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1277
- */
1278
- export function graphql(source: "\n query AdminBusinesses {\n allAdminBusinesses {\n id\n name\n governmentId\n }\n }\n"): (typeof documents)["\n query AdminBusinesses {\n allAdminBusinesses {\n id\n name\n governmentId\n }\n }\n"];
1279
1261
  /**
1280
1262
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1281
1263
  */
@@ -33,15 +33,6 @@ export type Scalars = {
33
33
  VatMock: { input: any; output: any; }
34
34
  };
35
35
 
36
- /** represents accountant approval status for a charge */
37
- export type AccountantApprovalStatus = {
38
- __typename?: 'AccountantApprovalStatus';
39
- approvedCount: Scalars['Int']['output'];
40
- pendingCount: Scalars['Int']['output'];
41
- totalCharges: Scalars['Int']['output'];
42
- unapprovedCount: Scalars['Int']['output'];
43
- };
44
-
45
36
  /** represents accountant approval status */
46
37
  export const AccountantStatus = {
47
38
  Approved: 'APPROVED',
@@ -1421,18 +1412,6 @@ export type FinancialCharge = Charge & {
1421
1412
  yearsOfRelevance?: Maybe<Array<YearOfRelevance>>;
1422
1413
  };
1423
1414
 
1424
- /** result type for generateFinancialCharges */
1425
- export type FinancialChargesGenerationResult = {
1426
- __typename?: 'FinancialChargesGenerationResult';
1427
- bankDepositsRevaluationCharge: Charge;
1428
- depreciationCharge: Charge;
1429
- id: Scalars['ID']['output'];
1430
- recoveryReserveCharge: Charge;
1431
- revaluationCharge: Charge;
1432
- taxExpensesCharge: Charge;
1433
- vacationReserveCharge: Charge;
1434
- };
1435
-
1436
1415
  /** represent a financial document */
1437
1416
  export type FinancialDocument = {
1438
1417
  allocationNumber?: Maybe<Scalars['String']['output']>;
@@ -2499,7 +2478,6 @@ export type Mutation = {
2499
2478
  generateBalanceCharge: FinancialCharge;
2500
2479
  generateBankDepositsRevaluationCharge: FinancialCharge;
2501
2480
  generateDepreciationCharge: FinancialCharge;
2502
- generateFinancialCharges: FinancialChargesGenerationResult;
2503
2481
  generateRecoveryReserveCharge: FinancialCharge;
2504
2482
  generateRevaluationCharge: FinancialCharge;
2505
2483
  generateTaxExpensesCharge: FinancialCharge;
@@ -2742,13 +2720,6 @@ export type MutationGenerateDepreciationChargeArgs = {
2742
2720
  };
2743
2721
 
2744
2722
 
2745
- /** mutation root */
2746
- export type MutationGenerateFinancialChargesArgs = {
2747
- date: Scalars['TimelessDate']['input'];
2748
- ownerId: Scalars['UUID']['input'];
2749
- };
2750
-
2751
-
2752
2723
  /** mutation root */
2753
2724
  export type MutationGenerateRecoveryReserveChargeArgs = {
2754
2725
  ownerId: Scalars['UUID']['input'];
@@ -3319,7 +3290,6 @@ export type Proforma = Document & FinancialDocument & Linkable & {
3319
3290
  /** query root */
3320
3291
  export type Query = {
3321
3292
  __typename?: 'Query';
3322
- accountantApprovalStatus: AccountantApprovalStatus;
3323
3293
  adminBusiness: AdminBusiness;
3324
3294
  allAdminBusinesses: Array<AdminBusiness>;
3325
3295
  allBusinessTrips: Array<BusinessTrip>;
@@ -3397,13 +3367,6 @@ export type Query = {
3397
3367
  };
3398
3368
 
3399
3369
 
3400
- /** query root */
3401
- export type QueryAccountantApprovalStatusArgs = {
3402
- from: Scalars['TimelessDate']['input'];
3403
- to: Scalars['TimelessDate']['input'];
3404
- };
3405
-
3406
-
3407
3370
  /** query root */
3408
3371
  export type QueryAdminBusinessArgs = {
3409
3372
  id: Scalars['UUID']['input'];
@@ -7292,22 +7255,6 @@ export type MonthlyDocumentsDraftsQuery = { __typename?: 'Query', clientMonthlyC
7292
7255
  & { ' $fragmentRefs'?: { 'NewDocumentInfoFragment': NewDocumentInfoFragment } }
7293
7256
  )> };
7294
7257
 
7295
- export type AccountantApprovalStatusQueryVariables = Exact<{
7296
- fromDate: Scalars['TimelessDate']['input'];
7297
- toDate: Scalars['TimelessDate']['input'];
7298
- }>;
7299
-
7300
-
7301
- export type AccountantApprovalStatusQuery = { __typename?: 'Query', accountantApprovalStatus: { __typename?: 'AccountantApprovalStatus', totalCharges: number, approvedCount: number, pendingCount: number, unapprovedCount: number } };
7302
-
7303
- export type LedgerValidationStatusQueryVariables = Exact<{
7304
- limit?: InputMaybe<Scalars['Int']['input']>;
7305
- filters?: InputMaybe<ChargeFilter>;
7306
- }>;
7307
-
7308
-
7309
- export type LedgerValidationStatusQuery = { __typename?: 'Query', chargesWithLedgerChanges: Array<{ __typename?: 'ChargesWithLedgerChangesResult', charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'ForeignSecuritiesCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null }> };
7310
-
7311
7258
  export type BalanceReportExtendedTransactionsQueryVariables = Exact<{
7312
7259
  transactionIDs: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
7313
7260
  }>;
@@ -7649,11 +7596,6 @@ export type FetchIncomeDocumentsMutation = { __typename?: 'Mutation', fetchIncom
7649
7596
  & { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Unprocessed_Fragment': NewFetchedDocumentFields_Unprocessed_Fragment } }
7650
7597
  )> };
7651
7598
 
7652
- export type AdminBusinessesQueryVariables = Exact<{ [key: string]: never; }>;
7653
-
7654
-
7655
- export type AdminBusinessesQuery = { __typename?: 'Query', allAdminBusinesses: Array<{ __typename?: 'AdminBusiness', id: string, name: string, governmentId: string }> };
7656
-
7657
7599
  export type AllClientsQueryVariables = Exact<{ [key: string]: never; }>;
7658
7600
 
7659
7601
 
@@ -8204,8 +8146,6 @@ export const MissingInfoChargesDocument = {"kind":"Document","definitions":[{"ki
8204
8146
  export const DocumentsScreenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"DocumentsScreen"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DocumentsFilters"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsByFilters"},"arguments":[{"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":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}},{"kind":"Field","name":{"kind":"Name","value":"charge"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDescription"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveDate"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"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":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}}]} as unknown as DocumentNode<DocumentsScreenQuery, DocumentsScreenQueryVariables>;
8205
8147
  export const MonthlyDocumentDraftByClientDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MonthlyDocumentDraftByClient"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"clientId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueMonth"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TimelessDate"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"clientMonthlyChargeDraft"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"clientId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"clientId"}}},{"kind":"Argument","name":{"kind":"Name","value":"issueMonth"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueMonth"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NewDocumentInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueDocumentClientFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GreenInvoiceClient"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"emails"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"taxId"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"zip"}},{"kind":"Field","name":{"kind":"Name","value":"fax"}},{"kind":"Field","name":{"kind":"Name","value":"mobile"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewDocumentInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NewDocumentInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"remarks"}},{"kind":"Field","name":{"kind":"Name","value":"footer"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"lang"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"vatType"}},{"kind":"Field","name":{"kind":"Name","value":"discount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rounding"}},{"kind":"Field","name":{"kind":"Name","value":"signed"}},{"kind":"Field","name":{"kind":"Name","value":"maxPayments"}},{"kind":"Field","name":{"kind":"Name","value":"client"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueDocumentClientFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"income"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"currencyRate"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"itemId"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"vatRate"}},{"kind":"Field","name":{"kind":"Name","value":"vatType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"currencyRate"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"subType"}},{"kind":"Field","name":{"kind":"Name","value":"bankName"}},{"kind":"Field","name":{"kind":"Name","value":"bankBranch"}},{"kind":"Field","name":{"kind":"Name","value":"bankAccount"}},{"kind":"Field","name":{"kind":"Name","value":"chequeNum"}},{"kind":"Field","name":{"kind":"Name","value":"accountId"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"appType"}},{"kind":"Field","name":{"kind":"Name","value":"cardType"}},{"kind":"Field","name":{"kind":"Name","value":"cardNum"}},{"kind":"Field","name":{"kind":"Name","value":"dealType"}},{"kind":"Field","name":{"kind":"Name","value":"numPayments"}},{"kind":"Field","name":{"kind":"Name","value":"firstPayment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkedDocumentIds"}},{"kind":"Field","name":{"kind":"Name","value":"linkedPaymentId"}}]}}]} as unknown as DocumentNode<MonthlyDocumentDraftByClientQuery, MonthlyDocumentDraftByClientQueryVariables>;
8206
8148
  export const MonthlyDocumentsDraftsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MonthlyDocumentsDrafts"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueMonth"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TimelessDate"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"clientMonthlyChargesDrafts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"issueMonth"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueMonth"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NewDocumentInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueDocumentClientFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GreenInvoiceClient"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"emails"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"taxId"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"zip"}},{"kind":"Field","name":{"kind":"Name","value":"fax"}},{"kind":"Field","name":{"kind":"Name","value":"mobile"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewDocumentInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NewDocumentInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"remarks"}},{"kind":"Field","name":{"kind":"Name","value":"footer"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"lang"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"vatType"}},{"kind":"Field","name":{"kind":"Name","value":"discount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rounding"}},{"kind":"Field","name":{"kind":"Name","value":"signed"}},{"kind":"Field","name":{"kind":"Name","value":"maxPayments"}},{"kind":"Field","name":{"kind":"Name","value":"client"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueDocumentClientFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"income"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"currencyRate"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"itemId"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"vatRate"}},{"kind":"Field","name":{"kind":"Name","value":"vatType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"currencyRate"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"subType"}},{"kind":"Field","name":{"kind":"Name","value":"bankName"}},{"kind":"Field","name":{"kind":"Name","value":"bankBranch"}},{"kind":"Field","name":{"kind":"Name","value":"bankAccount"}},{"kind":"Field","name":{"kind":"Name","value":"chequeNum"}},{"kind":"Field","name":{"kind":"Name","value":"accountId"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"appType"}},{"kind":"Field","name":{"kind":"Name","value":"cardType"}},{"kind":"Field","name":{"kind":"Name","value":"cardNum"}},{"kind":"Field","name":{"kind":"Name","value":"dealType"}},{"kind":"Field","name":{"kind":"Name","value":"numPayments"}},{"kind":"Field","name":{"kind":"Name","value":"firstPayment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkedDocumentIds"}},{"kind":"Field","name":{"kind":"Name","value":"linkedPaymentId"}}]}}]} as unknown as DocumentNode<MonthlyDocumentsDraftsQuery, MonthlyDocumentsDraftsQueryVariables>;
8207
- export const AccountantApprovalStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AccountantApprovalStatus"},"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":"accountantApprovalStatus"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"from"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromDate"}}},{"kind":"Argument","name":{"kind":"Name","value":"to"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toDate"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCharges"}},{"kind":"Field","name":{"kind":"Name","value":"approvedCount"}},{"kind":"Field","name":{"kind":"Name","value":"pendingCount"}},{"kind":"Field","name":{"kind":"Name","value":"unapprovedCount"}}]}}]}}]} as unknown as DocumentNode<AccountantApprovalStatusQuery, AccountantApprovalStatusQueryVariables>;
8208
- export const LedgerValidationStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"LedgerValidationStatus"},"variableDefinitions":[{"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":"chargesWithLedgerChanges"},"arguments":[{"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":"charge"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode<LedgerValidationStatusQuery, LedgerValidationStatusQueryVariables>;
8209
8149
  export const BalanceReportExtendedTransactionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"BalanceReportExtendedTransactions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"transactionIDs"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsByIDs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"transactionIDs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"transactionIDs"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionForTransactionsTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionForTransactionsTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveDate"}},{"kind":"Field","name":{"kind":"Name","value":"sourceEffectiveDate"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cryptoExchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceDescription"}},{"kind":"Field","name":{"kind":"Name","value":"referenceKey"}},{"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":"missingInfoSuggestions"},"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"}}]}}]}}]}}]} as unknown as DocumentNode<BalanceReportExtendedTransactionsQuery, BalanceReportExtendedTransactionsQueryVariables>;
8210
8150
  export const BalanceReportScreenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"BalanceReportScreen"},"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"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ownerId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsForBalanceReport"},"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"}}},{"kind":"Argument","name":{"kind":"Name","value":"ownerId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ownerId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amountUsd"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isFee"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"charge"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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"}}]}}]}}]}}]}}]} as unknown as DocumentNode<BalanceReportScreenQuery, BalanceReportScreenQueryVariables>;
8211
8151
  export const DepreciationReportScreenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"DepreciationReportScreen"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DepreciationReportFilter"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"depreciationReport"},"arguments":[{"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":"id"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"categories"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"percentage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"purchaseDate"}},{"kind":"Field","name":{"kind":"Name","value":"activationDate"}},{"kind":"Field","name":{"kind":"Name","value":"statutoryDepreciationRate"}},{"kind":"Field","name":{"kind":"Name","value":"claimedDepreciationRate"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DepreciationReportRecordCore"}}]}},{"kind":"Field","name":{"kind":"Name","value":"summary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DepreciationReportRecordCore"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"summary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DepreciationReportRecordCore"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DepreciationReportRecordCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DepreciationCoreRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"originalCost"}},{"kind":"Field","name":{"kind":"Name","value":"reportYearDelta"}},{"kind":"Field","name":{"kind":"Name","value":"totalDepreciableCosts"}},{"kind":"Field","name":{"kind":"Name","value":"reportYearClaimedDepreciation"}},{"kind":"Field","name":{"kind":"Name","value":"pastYearsAccumulatedDepreciation"}},{"kind":"Field","name":{"kind":"Name","value":"totalDepreciation"}},{"kind":"Field","name":{"kind":"Name","value":"netValue"}}]}}]} as unknown as DocumentNode<DepreciationReportScreenQuery, DepreciationReportScreenQueryVariables>;
@@ -8239,7 +8179,6 @@ export const DeleteDynamicReportTemplateDocument = {"kind":"Document","definitio
8239
8179
  export const DeleteMiscExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteMiscExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteMiscExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<DeleteMiscExpenseMutation, DeleteMiscExpenseMutationVariables>;
8240
8180
  export const DeleteTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tagId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tagId"}}}]}]}}]} as unknown as DocumentNode<DeleteTagMutation, DeleteTagMutationVariables>;
8241
8181
  export const FetchIncomeDocumentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"FetchIncomeDocuments"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ownerId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fetchIncomeDocuments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ownerId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ownerId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NewFetchedDocumentFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewFetchedDocumentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"Field","name":{"kind":"Name","value":"charge"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<FetchIncomeDocumentsMutation, FetchIncomeDocumentsMutationVariables>;
8242
- export const AdminBusinessesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AdminBusinesses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allAdminBusinesses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"governmentId"}}]}}]}}]} as unknown as DocumentNode<AdminBusinessesQuery, AdminBusinessesQueryVariables>;
8243
8182
  export const AllClientsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllClients"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allClients"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"greenInvoiceId"}},{"kind":"Field","name":{"kind":"Name","value":"emails"}},{"kind":"Field","name":{"kind":"Name","value":"originalBusiness"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<AllClientsQuery, AllClientsQueryVariables>;
8244
8183
  export const AllOpenContractsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllOpenContracts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allOpenContracts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"client"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"greenInvoiceId"}},{"kind":"Field","name":{"kind":"Name","value":"emails"}},{"kind":"Field","name":{"kind":"Name","value":"originalBusiness"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"purchaseOrder"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"endDate"}},{"kind":"Field","name":{"kind":"Name","value":"remarks"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"Field","name":{"kind":"Name","value":"billingCycle"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"product"}},{"kind":"Field","name":{"kind":"Name","value":"plan"}},{"kind":"Field","name":{"kind":"Name","value":"signedAgreement"}},{"kind":"Field","name":{"kind":"Name","value":"msCloud"}}]}}]}}]} as unknown as DocumentNode<AllOpenContractsQuery, AllOpenContractsQueryVariables>;
8245
8184
  export const AllBusinessesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllBusinesses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allBusinesses"},"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":"name"}}]}}]}}]}}]} as unknown as DocumentNode<AllBusinessesQuery, AllBusinessesQueryVariables>;