@accounter/client 0.0.8-alpha-20251021150553-5fe662174014d6173ebcea8412cf0fa294abbed2 → 0.0.8-alpha-20251021163440-2ab1a9ffaec95fd99fac5495c3a392b97429ce77
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 +36 -1
- package/dist/assets/index-B2UYAO1O.css +1 -0
- package/dist/assets/index-BexxGuN6.js +1224 -0
- package/dist/assets/{index.es-BaJmdn-u.js → index.es-CWwhWGxX.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +2 -1
- package/src/app.tsx +35 -25
- package/src/components/business/business-header.tsx +68 -0
- package/src/components/business/charges-section.tsx +82 -0
- package/src/components/business/charts-section.tsx +115 -0
- package/src/components/business/configurations-section.tsx +885 -0
- package/src/components/business/contact-info-section.tsx +536 -0
- package/src/components/business/contracts-section.tsx +196 -0
- package/src/components/business/documents-section.tsx +26 -0
- package/src/components/business/index.tsx +171 -0
- package/src/components/business/integrations-section.tsx +477 -0
- package/src/components/business/transactions-section.tsx +26 -0
- package/src/components/business-transactions/business-extended-info.tsx +11 -15
- package/src/components/business-transactions/business-transactions-single.tsx +1 -1
- package/src/components/business-transactions/index.tsx +1 -1
- package/src/components/charges/charge-extended-info-menu.tsx +27 -21
- package/src/components/charges/charges-row.tsx +12 -10
- package/src/components/charges/charges-table.tsx +15 -9
- package/src/components/clients/contracts/modify-contract-dialog.tsx +464 -0
- package/src/components/clients/modify-client-dialog.tsx +276 -0
- package/src/components/common/documents/issue-document/index.tsx +3 -3
- package/src/components/common/documents/issue-document/{recent-client-docs.tsx → recent-business-docs.tsx} +19 -13
- package/src/components/common/forms/business-card.tsx +1 -0
- package/src/components/common/forms/modify-business-fields.tsx +2 -19
- package/src/components/common/inputs/combo-box.tsx +1 -1
- package/src/components/layout/sidelinks.tsx +3 -3
- package/src/components/reports/trial-balance-report/trial-balance-report-group.tsx +4 -6
- package/src/components/reports/trial-balance-report/trial-balance-report-sort-code.tsx +8 -11
- package/src/components/screens/businesses/business.tsx +44 -0
- package/src/components/screens/documents/issue-documents/edit-issue-document-modal.tsx +4 -4
- package/src/components/ui/progress.tsx +25 -0
- package/src/components/ui/skeleton.tsx +12 -0
- package/src/gql/gql.ts +93 -9
- package/src/gql/graphql.ts +300 -9
- package/src/helpers/contracts.ts +22 -0
- package/src/helpers/currency.ts +5 -0
- package/src/helpers/index.ts +2 -0
- package/src/helpers/pcn874.ts +17 -0
- package/src/hooks/use-add-sort-code.ts +1 -1
- package/src/hooks/use-add-tag.ts +1 -1
- package/src/hooks/use-create-contract.ts +62 -0
- package/src/hooks/use-delete-contract.ts +64 -0
- package/src/hooks/use-delete-tag.ts +1 -1
- package/src/hooks/use-get-all-contracts.ts +0 -1
- package/src/hooks/use-insert-client.ts +80 -0
- package/src/hooks/use-merge-businesses.ts +1 -1
- package/src/hooks/use-merge-charges.ts +1 -1
- package/src/hooks/use-update-client.ts +75 -0
- package/src/hooks/use-update-contract.ts +69 -0
- package/dist/assets/index-CqaS5jWM.css +0 -1
- package/dist/assets/index-IlfO2QvT.js +0 -1188
package/src/gql/gql.ts
CHANGED
|
@@ -21,6 +21,14 @@ type Documents = {
|
|
|
21
21
|
"\n query BusinessTripsRowValidation($id: UUID!) {\n businessTrip(id: $id) {\n id\n uncategorizedTransactions {\n transaction {\n ... on Transaction @defer {\n id\n }\n }\n }\n summary {\n ... on BusinessTripSummary @defer {\n errors\n }\n }\n }\n }\n": typeof types.BusinessTripsRowValidationDocument,
|
|
22
22
|
"\n query EditableBusinessTrip($businessTripId: UUID!) {\n businessTrip(id: $businessTripId) {\n id\n ...BusinessTripReportHeaderFields\n ...BusinessTripReportAttendeesFields\n ...BusinessTripUncategorizedTransactionsFields\n ...BusinessTripReportFlightsFields\n ...BusinessTripReportAccommodationsFields\n ...BusinessTripReportTravelAndSubsistenceFields\n ...BusinessTripReportCarRentalFields\n ...BusinessTripReportOtherFields\n ...BusinessTripReportSummaryFields\n ... on BusinessTrip {\n uncategorizedTransactions {\n transaction {\n id\n }\n }\n }\n }\n }\n": typeof types.EditableBusinessTripDocument,
|
|
23
23
|
"\n query BusinessTripsScreen {\n allBusinessTrips {\n id\n name\n dates {\n start\n }\n ...BusinessTripsRowFields\n }\n }\n": typeof types.BusinessTripsScreenDocument,
|
|
24
|
+
"\n fragment BusinessHeader on Business {\n __typename\n id\n name\n createdAt\n ... on LtdFinancialEntity {\n governmentId\n }\n }\n": typeof types.BusinessHeaderFragmentDoc,
|
|
25
|
+
"\n query BusinessChargesSection($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n": typeof types.BusinessChargesSectionDocument,
|
|
26
|
+
"\n fragment BusinessConfigurationSection on Business {\n __typename\n id\n pcn874RecordType\n irsCode\n isActive\n ... on LtdFinancialEntity {\n optionalVAT\n exemptDealer\n isReceiptEnough\n isDocumentsOptional\n sortCode {\n id\n key\n defaultIrsCode\n }\n taxCategory {\n id\n }\n suggestions {\n phrases\n emails\n tags {\n id\n }\n description\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n clientInfo {\n id\n }\n }\n }\n": typeof types.BusinessConfigurationSectionFragmentDoc,
|
|
27
|
+
"\n fragment BusinessContactSection on Business {\n __typename\n id\n ... on LtdFinancialEntity {\n name\n hebrewName\n country\n governmentId\n address\n email\n # localAddress\n phoneNumber\n website\n clientInfo {\n id\n emails\n }\n }\n }\n": typeof types.BusinessContactSectionFragmentDoc,
|
|
28
|
+
"\n query ClientContractsSection($clientId: UUID!) {\n contractsByClient(clientId: $clientId) {\n id\n purchaseOrder\n startDate\n endDate\n amount {\n raw\n currency\n }\n billingCycle\n isActive\n product\n documentType\n remarks\n plan\n msCloud\n }\n }\n": typeof types.ClientContractsSectionDocument,
|
|
29
|
+
"\n fragment BusinessPage on Business {\n id\n ... on LtdFinancialEntity {\n clientInfo {\n id\n }\n }\n ...ClientIntegrationsSection\n ...BusinessHeader\n ...BusinessContactSection\n ...BusinessConfigurationSection\n }\n": typeof types.BusinessPageFragmentDoc,
|
|
30
|
+
"\n fragment ClientIntegrationsSection on LtdFinancialEntity {\n id\n clientInfo {\n id\n greenInvoiceId\n hiveId\n }\n }\n": typeof types.ClientIntegrationsSectionFragmentDoc,
|
|
31
|
+
"\n query ClientIntegrationsSectionGreenInvoice($clientId: UUID!) {\n greenInvoiceClient(clientId: $clientId) {\n id\n country\n emails\n name\n phone\n taxId\n address\n city\n zip\n fax\n mobile\n }\n }\n": typeof types.ClientIntegrationsSectionGreenInvoiceDocument,
|
|
24
32
|
"\n fragment AllBusinessesRowFields on LtdFinancialEntity {\n id\n ...AllBusinessesNameFields\n ...AllBusinessesHebrewNameFields\n }\n": typeof types.AllBusinessesRowFieldsFragmentDoc,
|
|
25
33
|
"\n fragment AllBusinessesHebrewNameFields on LtdFinancialEntity {\n id\n hebrewName\n }\n": typeof types.AllBusinessesHebrewNameFieldsFragmentDoc,
|
|
26
34
|
"\n fragment AllBusinessesNameFields on LtdFinancialEntity {\n id\n name\n }\n": typeof types.AllBusinessesNameFieldsFragmentDoc,
|
|
@@ -80,9 +88,9 @@ type Documents = {
|
|
|
80
88
|
"\n query DocumentsToChargeMatcher($chargeId: UUID!, $filters: DocumentsFilters!) {\n documentsByFilters(filters: $filters) {\n id\n ...DocumentsToMatchFields\n }\n charge(chargeId: $chargeId) {\n id\n transactions {\n id\n eventDate\n }\n totalAmount {\n raw\n }\n ...ChargeToMatchDocumentsFields\n }\n }\n": typeof types.DocumentsToChargeMatcherDocument,
|
|
81
89
|
"\n fragment ChargeToMatchDocumentsFields on Charge {\n id\n totalAmount {\n raw\n formatted\n currency\n }\n counterparty {\n id\n name\n }\n transactions {\n id\n eventDate\n sourceDescription\n }\n }\n": typeof types.ChargeToMatchDocumentsFieldsFragmentDoc,
|
|
82
90
|
"\n fragment DocumentsToMatchFields on Document {\n id\n __typename\n charge {\n id\n }\n image\n file\n documentType\n ... on FinancialDocument {\n creditor {\n id\n name\n }\n serialNumber\n date\n amount {\n raw\n formatted\n currency\n }\n }\n }\n": typeof types.DocumentsToMatchFieldsFragmentDoc,
|
|
83
|
-
"\n query
|
|
91
|
+
"\n query RecentBusinessIssuedDocuments($businessId: UUID!, $limit: Int) {\n recentDocumentsByBusiness(businessId: $businessId, limit: $limit) {\n id\n ... on FinancialDocument {\n issuedDocumentInfo {\n id\n status\n externalId\n }\n }\n ...TableDocumentsRowFields\n }\n }\n": typeof types.RecentBusinessIssuedDocumentsDocument,
|
|
84
92
|
"\n query RecentIssuedDocumentsOfSameType($documentType: DocumentType!) {\n recentIssuedDocumentsByType(documentType: $documentType) {\n id\n ...TableDocumentsRowFields\n }\n }\n": typeof types.RecentIssuedDocumentsOfSameTypeDocument,
|
|
85
|
-
"\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n }\n }\n }\n": typeof types.FetchBusinessDocument,
|
|
93
|
+
"\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n pcn874RecordType\n }\n }\n }\n": typeof types.FetchBusinessDocument,
|
|
86
94
|
"\n query EditDocument($documentId: UUID!) {\n documentById(documentId: $documentId) {\n id\n image\n file\n documentType\n __typename\n ... on FinancialDocument {\n vat {\n raw\n currency\n }\n serialNumber\n date\n amount {\n raw\n currency\n }\n debtor {\n id\n name\n }\n creditor {\n id\n name\n }\n vatReportDateOverride\n noVatAmount\n allocationNumber\n exchangeRateOverride\n }\n }\n }\n": typeof types.EditDocumentDocument,
|
|
87
95
|
"\n fragment EditMiscExpenseFields on MiscExpense {\n id\n amount {\n raw\n currency\n }\n description\n invoiceDate\n valueDate\n creditor {\n id\n }\n debtor {\n id\n }\n }\n": typeof types.EditMiscExpenseFieldsFragmentDoc,
|
|
88
96
|
"\n fragment EditTagFields on Tag {\n id\n name\n parent {\n id\n name\n }\n }\n": typeof types.EditTagFieldsFragmentDoc,
|
|
@@ -149,6 +157,7 @@ type Documents = {
|
|
|
149
157
|
"\n fragment SalariesMonthFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordFields\n }\n": typeof types.SalariesMonthFieldsFragmentDoc,
|
|
150
158
|
"\n fragment SalariesTableFields on Salary {\n month\n employee {\n id\n }\n ...SalariesMonthFields\n }\n": typeof types.SalariesTableFieldsFragmentDoc,
|
|
151
159
|
"\n fragment SalariesRecordFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordEmployeeFields\n ...SalariesRecordMainSalaryFields\n ...SalariesRecordFundsFields\n ...SalariesRecordInsurancesAndTaxesFields\n ...SalariesRecordWorkFrameFields\n }\n": typeof types.SalariesRecordFieldsFragmentDoc,
|
|
160
|
+
"\n query BusinessScreen($businessId: UUID!) {\n business(id: $businessId) {\n id\n ...BusinessPage\n }\n }\n": typeof types.BusinessScreenDocument,
|
|
152
161
|
"\n query AllCharges($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n": typeof types.AllChargesDocument,
|
|
153
162
|
"\n query ChargeScreen($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n id\n ...ChargesTableFields\n }\n }\n": typeof types.ChargeScreenDocument,
|
|
154
163
|
"\n query MissingInfoCharges($page: Int, $limit: Int) {\n chargesWithMissingRequiredInfo(page: $page, limit: $limit) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n": typeof types.MissingInfoChargesDocument,
|
|
@@ -192,10 +201,12 @@ type Documents = {
|
|
|
192
201
|
"\n mutation FlagForeignFeeTransactions {\n flagForeignFeeTransactions {\n success\n errors\n }\n }\n": typeof types.FlagForeignFeeTransactionsDocument,
|
|
193
202
|
"\n mutation MergeChargesByTransactionReference {\n mergeChargesByTransactionReference {\n success\n errors\n }\n }\n": typeof types.MergeChargesByTransactionReferenceDocument,
|
|
194
203
|
"\n mutation CalculateCreditcardTransactionsDebitDate {\n calculateCreditcardTransactionsDebitDate\n }\n": typeof types.CalculateCreditcardTransactionsDebitDateDocument,
|
|
204
|
+
"\n mutation CreateContract($input: CreateContractInput!) {\n createContract(input: $input) {\n id\n }\n }\n": typeof types.CreateContractDocument,
|
|
195
205
|
"\n mutation CreditShareholdersBusinessTripTravelAndSubsistence($businessTripId: UUID!) {\n creditShareholdersBusinessTripTravelAndSubsistence(businessTripId: $businessTripId)\n }\n": typeof types.CreditShareholdersBusinessTripTravelAndSubsistenceDocument,
|
|
196
206
|
"\n mutation DeleteBusinessTripAttendee($fields: DeleteBusinessTripAttendeeInput!) {\n deleteBusinessTripAttendee(fields: $fields)\n }\n": typeof types.DeleteBusinessTripAttendeeDocument,
|
|
197
207
|
"\n mutation DeleteBusinessTripExpense($businessTripExpenseId: UUID!) {\n deleteBusinessTripExpense(businessTripExpenseId: $businessTripExpenseId)\n }\n": typeof types.DeleteBusinessTripExpenseDocument,
|
|
198
208
|
"\n mutation DeleteCharge($chargeId: UUID!) {\n deleteCharge(chargeId: $chargeId)\n }\n": typeof types.DeleteChargeDocument,
|
|
209
|
+
"\n mutation DeleteContract($contractId: UUID!) {\n deleteContract(id: $contractId)\n }\n": typeof types.DeleteContractDocument,
|
|
199
210
|
"\n mutation DeleteDepreciationRecord($depreciationRecordId: UUID!) {\n deleteDepreciationRecord(depreciationRecordId: $depreciationRecordId)\n }\n": typeof types.DeleteDepreciationRecordDocument,
|
|
200
211
|
"\n mutation DeleteDocument($documentId: UUID!) {\n deleteDocument(documentId: $documentId)\n }\n": typeof types.DeleteDocumentDocument,
|
|
201
212
|
"\n mutation DeleteDynamicReportTemplate($name: String!) {\n deleteDynamicReportTemplate(name: $name)\n }\n": typeof types.DeleteDynamicReportTemplateDocument,
|
|
@@ -203,7 +214,7 @@ type Documents = {
|
|
|
203
214
|
"\n mutation DeleteTag($tagId: UUID!) {\n deleteTag(id: $tagId)\n }\n": typeof types.DeleteTagDocument,
|
|
204
215
|
"\n mutation FetchIncomeDocuments($ownerId: UUID!) {\n fetchIncomeDocuments(ownerId: $ownerId) {\n id\n ...NewFetchedDocumentFields\n }\n }\n": typeof types.FetchIncomeDocumentsDocument,
|
|
205
216
|
"\n query AllClients {\n allClients {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n }\n": typeof types.AllClientsDocument,
|
|
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
|
|
217
|
+
"\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 msCloud\n }\n }\n": typeof types.AllOpenContractsDocument,
|
|
207
218
|
"\n query AllBusinesses {\n allBusinesses {\n nodes {\n id\n name\n }\n }\n }\n": typeof types.AllBusinessesDocument,
|
|
208
219
|
"\n query AllCountries {\n allCountries {\n id\n name\n code\n }\n }\n": typeof types.AllCountriesDocument,
|
|
209
220
|
"\n query AllFinancialEntities {\n allFinancialEntities {\n nodes {\n id\n name\n }\n }\n }\n": typeof types.AllFinancialEntitiesDocument,
|
|
@@ -213,6 +224,7 @@ type Documents = {
|
|
|
213
224
|
"\n mutation InsertBusinessTripAttendee($fields: InsertBusinessTripAttendeeInput!) {\n insertBusinessTripAttendee(fields: $fields)\n }\n": typeof types.InsertBusinessTripAttendeeDocument,
|
|
214
225
|
"\n mutation InsertBusinessTrip($fields: InsertBusinessTripInput!) {\n insertBusinessTrip(fields: $fields)\n }\n": typeof types.InsertBusinessTripDocument,
|
|
215
226
|
"\n mutation InsertBusiness($fields: InsertNewBusinessInput!) {\n insertNewBusiness(fields: $fields) {\n __typename\n ... on LtdFinancialEntity {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n": typeof types.InsertBusinessDocument,
|
|
227
|
+
"\n mutation InsertClient($fields: ClientInsertInput!) {\n insertClient(fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n": typeof types.InsertClientDocument,
|
|
216
228
|
"\n mutation InsertDocument($record: InsertDocumentInput!) {\n insertDocument(record: $record) {\n __typename\n ... on InsertDocumentSuccessfulResult {\n document {\n id\n }\n }\n ... on CommonError {\n message\n }\n }\n }\n": typeof types.InsertDocumentDocument,
|
|
217
229
|
"\n mutation InsertDynamicReportTemplate($name: String!, $template: String!) {\n insertDynamicReportTemplate(name: $name, template: $template) {\n id\n name\n }\n }\n": typeof types.InsertDynamicReportTemplateDocument,
|
|
218
230
|
"\n mutation InsertMiscExpense($chargeId: UUID!, $fields: InsertMiscExpenseInput!) {\n insertMiscExpense(chargeId: $chargeId, fields: $fields) {\n id\n }\n }\n": typeof types.InsertMiscExpenseDocument,
|
|
@@ -235,6 +247,8 @@ type Documents = {
|
|
|
235
247
|
"\n mutation UpdateBusiness($businessId: UUID!, $ownerId: UUID!, $fields: UpdateBusinessInput!) {\n updateBusiness(businessId: $businessId, ownerId: $ownerId, fields: $fields) {\n __typename\n ... on LtdFinancialEntity {\n id\n name\n }\n ... on CommonError {\n message\n }\n }\n }\n": typeof types.UpdateBusinessDocument,
|
|
236
248
|
"\n mutation UpdateChargeAccountantApproval($chargeId: UUID!, $status: AccountantStatus!) {\n updateChargeAccountantApproval(chargeId: $chargeId, approvalStatus: $status)\n }\n": typeof types.UpdateChargeAccountantApprovalDocument,
|
|
237
249
|
"\n mutation UpdateCharge($chargeId: UUID!, $fields: UpdateChargeInput!) {\n updateCharge(chargeId: $chargeId, fields: $fields) {\n __typename\n ... on UpdateChargeSuccessfulResult {\n charge {\n id\n }\n }\n ... on CommonError {\n message\n }\n }\n }\n": typeof types.UpdateChargeDocument,
|
|
250
|
+
"\n mutation UpdateClient($businessId: UUID!, $fields: ClientUpdateInput!) {\n updateClient(businessId: $businessId, fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n": typeof types.UpdateClientDocument,
|
|
251
|
+
"\n mutation UpdateContract($contractId: UUID!, $input: UpdateContractInput!) {\n updateContract(contractId: $contractId, input: $input) {\n id\n }\n }\n": typeof types.UpdateContractDocument,
|
|
238
252
|
"\n mutation UpdateDepreciationRecord($fields: UpdateDepreciationRecordInput!) {\n updateDepreciationRecord(input: $fields) {\n __typename\n ... on CommonError {\n message\n }\n ... on DepreciationRecord {\n id\n }\n }\n }\n": typeof types.UpdateDepreciationRecordDocument,
|
|
239
253
|
"\n mutation UpdateDocument($documentId: UUID!, $fields: UpdateDocumentFieldsInput!) {\n updateDocument(documentId: $documentId, fields: $fields) {\n __typename\n ... on CommonError {\n message\n }\n ... on UpdateDocumentSuccessfulResult {\n document {\n id\n }\n }\n }\n }\n": typeof types.UpdateDocumentDocument,
|
|
240
254
|
"\n mutation UpdateDynamicReportTemplateName($name: String!, $newName: String!) {\n updateDynamicReportTemplateName(name: $name, newName: $newName) {\n id\n name\n }\n }\n": typeof types.UpdateDynamicReportTemplateNameDocument,
|
|
@@ -261,6 +275,14 @@ const documents: Documents = {
|
|
|
261
275
|
"\n query BusinessTripsRowValidation($id: UUID!) {\n businessTrip(id: $id) {\n id\n uncategorizedTransactions {\n transaction {\n ... on Transaction @defer {\n id\n }\n }\n }\n summary {\n ... on BusinessTripSummary @defer {\n errors\n }\n }\n }\n }\n": types.BusinessTripsRowValidationDocument,
|
|
262
276
|
"\n query EditableBusinessTrip($businessTripId: UUID!) {\n businessTrip(id: $businessTripId) {\n id\n ...BusinessTripReportHeaderFields\n ...BusinessTripReportAttendeesFields\n ...BusinessTripUncategorizedTransactionsFields\n ...BusinessTripReportFlightsFields\n ...BusinessTripReportAccommodationsFields\n ...BusinessTripReportTravelAndSubsistenceFields\n ...BusinessTripReportCarRentalFields\n ...BusinessTripReportOtherFields\n ...BusinessTripReportSummaryFields\n ... on BusinessTrip {\n uncategorizedTransactions {\n transaction {\n id\n }\n }\n }\n }\n }\n": types.EditableBusinessTripDocument,
|
|
263
277
|
"\n query BusinessTripsScreen {\n allBusinessTrips {\n id\n name\n dates {\n start\n }\n ...BusinessTripsRowFields\n }\n }\n": types.BusinessTripsScreenDocument,
|
|
278
|
+
"\n fragment BusinessHeader on Business {\n __typename\n id\n name\n createdAt\n ... on LtdFinancialEntity {\n governmentId\n }\n }\n": types.BusinessHeaderFragmentDoc,
|
|
279
|
+
"\n query BusinessChargesSection($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n": types.BusinessChargesSectionDocument,
|
|
280
|
+
"\n fragment BusinessConfigurationSection on Business {\n __typename\n id\n pcn874RecordType\n irsCode\n isActive\n ... on LtdFinancialEntity {\n optionalVAT\n exemptDealer\n isReceiptEnough\n isDocumentsOptional\n sortCode {\n id\n key\n defaultIrsCode\n }\n taxCategory {\n id\n }\n suggestions {\n phrases\n emails\n tags {\n id\n }\n description\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n clientInfo {\n id\n }\n }\n }\n": types.BusinessConfigurationSectionFragmentDoc,
|
|
281
|
+
"\n fragment BusinessContactSection on Business {\n __typename\n id\n ... on LtdFinancialEntity {\n name\n hebrewName\n country\n governmentId\n address\n email\n # localAddress\n phoneNumber\n website\n clientInfo {\n id\n emails\n }\n }\n }\n": types.BusinessContactSectionFragmentDoc,
|
|
282
|
+
"\n query ClientContractsSection($clientId: UUID!) {\n contractsByClient(clientId: $clientId) {\n id\n purchaseOrder\n startDate\n endDate\n amount {\n raw\n currency\n }\n billingCycle\n isActive\n product\n documentType\n remarks\n plan\n msCloud\n }\n }\n": types.ClientContractsSectionDocument,
|
|
283
|
+
"\n fragment BusinessPage on Business {\n id\n ... on LtdFinancialEntity {\n clientInfo {\n id\n }\n }\n ...ClientIntegrationsSection\n ...BusinessHeader\n ...BusinessContactSection\n ...BusinessConfigurationSection\n }\n": types.BusinessPageFragmentDoc,
|
|
284
|
+
"\n fragment ClientIntegrationsSection on LtdFinancialEntity {\n id\n clientInfo {\n id\n greenInvoiceId\n hiveId\n }\n }\n": types.ClientIntegrationsSectionFragmentDoc,
|
|
285
|
+
"\n query ClientIntegrationsSectionGreenInvoice($clientId: UUID!) {\n greenInvoiceClient(clientId: $clientId) {\n id\n country\n emails\n name\n phone\n taxId\n address\n city\n zip\n fax\n mobile\n }\n }\n": types.ClientIntegrationsSectionGreenInvoiceDocument,
|
|
264
286
|
"\n fragment AllBusinessesRowFields on LtdFinancialEntity {\n id\n ...AllBusinessesNameFields\n ...AllBusinessesHebrewNameFields\n }\n": types.AllBusinessesRowFieldsFragmentDoc,
|
|
265
287
|
"\n fragment AllBusinessesHebrewNameFields on LtdFinancialEntity {\n id\n hebrewName\n }\n": types.AllBusinessesHebrewNameFieldsFragmentDoc,
|
|
266
288
|
"\n fragment AllBusinessesNameFields on LtdFinancialEntity {\n id\n name\n }\n": types.AllBusinessesNameFieldsFragmentDoc,
|
|
@@ -320,9 +342,9 @@ const documents: Documents = {
|
|
|
320
342
|
"\n query DocumentsToChargeMatcher($chargeId: UUID!, $filters: DocumentsFilters!) {\n documentsByFilters(filters: $filters) {\n id\n ...DocumentsToMatchFields\n }\n charge(chargeId: $chargeId) {\n id\n transactions {\n id\n eventDate\n }\n totalAmount {\n raw\n }\n ...ChargeToMatchDocumentsFields\n }\n }\n": types.DocumentsToChargeMatcherDocument,
|
|
321
343
|
"\n fragment ChargeToMatchDocumentsFields on Charge {\n id\n totalAmount {\n raw\n formatted\n currency\n }\n counterparty {\n id\n name\n }\n transactions {\n id\n eventDate\n sourceDescription\n }\n }\n": types.ChargeToMatchDocumentsFieldsFragmentDoc,
|
|
322
344
|
"\n fragment DocumentsToMatchFields on Document {\n id\n __typename\n charge {\n id\n }\n image\n file\n documentType\n ... on FinancialDocument {\n creditor {\n id\n name\n }\n serialNumber\n date\n amount {\n raw\n formatted\n currency\n }\n }\n }\n": types.DocumentsToMatchFieldsFragmentDoc,
|
|
323
|
-
"\n query
|
|
345
|
+
"\n query RecentBusinessIssuedDocuments($businessId: UUID!, $limit: Int) {\n recentDocumentsByBusiness(businessId: $businessId, limit: $limit) {\n id\n ... on FinancialDocument {\n issuedDocumentInfo {\n id\n status\n externalId\n }\n }\n ...TableDocumentsRowFields\n }\n }\n": types.RecentBusinessIssuedDocumentsDocument,
|
|
324
346
|
"\n query RecentIssuedDocumentsOfSameType($documentType: DocumentType!) {\n recentIssuedDocumentsByType(documentType: $documentType) {\n id\n ...TableDocumentsRowFields\n }\n }\n": types.RecentIssuedDocumentsOfSameTypeDocument,
|
|
325
|
-
"\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n }\n }\n }\n": types.FetchBusinessDocument,
|
|
347
|
+
"\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n pcn874RecordType\n }\n }\n }\n": types.FetchBusinessDocument,
|
|
326
348
|
"\n query EditDocument($documentId: UUID!) {\n documentById(documentId: $documentId) {\n id\n image\n file\n documentType\n __typename\n ... on FinancialDocument {\n vat {\n raw\n currency\n }\n serialNumber\n date\n amount {\n raw\n currency\n }\n debtor {\n id\n name\n }\n creditor {\n id\n name\n }\n vatReportDateOverride\n noVatAmount\n allocationNumber\n exchangeRateOverride\n }\n }\n }\n": types.EditDocumentDocument,
|
|
327
349
|
"\n fragment EditMiscExpenseFields on MiscExpense {\n id\n amount {\n raw\n currency\n }\n description\n invoiceDate\n valueDate\n creditor {\n id\n }\n debtor {\n id\n }\n }\n": types.EditMiscExpenseFieldsFragmentDoc,
|
|
328
350
|
"\n fragment EditTagFields on Tag {\n id\n name\n parent {\n id\n name\n }\n }\n": types.EditTagFieldsFragmentDoc,
|
|
@@ -389,6 +411,7 @@ const documents: Documents = {
|
|
|
389
411
|
"\n fragment SalariesMonthFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordFields\n }\n": types.SalariesMonthFieldsFragmentDoc,
|
|
390
412
|
"\n fragment SalariesTableFields on Salary {\n month\n employee {\n id\n }\n ...SalariesMonthFields\n }\n": types.SalariesTableFieldsFragmentDoc,
|
|
391
413
|
"\n fragment SalariesRecordFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordEmployeeFields\n ...SalariesRecordMainSalaryFields\n ...SalariesRecordFundsFields\n ...SalariesRecordInsurancesAndTaxesFields\n ...SalariesRecordWorkFrameFields\n }\n": types.SalariesRecordFieldsFragmentDoc,
|
|
414
|
+
"\n query BusinessScreen($businessId: UUID!) {\n business(id: $businessId) {\n id\n ...BusinessPage\n }\n }\n": types.BusinessScreenDocument,
|
|
392
415
|
"\n query AllCharges($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n": types.AllChargesDocument,
|
|
393
416
|
"\n query ChargeScreen($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n id\n ...ChargesTableFields\n }\n }\n": types.ChargeScreenDocument,
|
|
394
417
|
"\n query MissingInfoCharges($page: Int, $limit: Int) {\n chargesWithMissingRequiredInfo(page: $page, limit: $limit) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n": types.MissingInfoChargesDocument,
|
|
@@ -432,10 +455,12 @@ const documents: Documents = {
|
|
|
432
455
|
"\n mutation FlagForeignFeeTransactions {\n flagForeignFeeTransactions {\n success\n errors\n }\n }\n": types.FlagForeignFeeTransactionsDocument,
|
|
433
456
|
"\n mutation MergeChargesByTransactionReference {\n mergeChargesByTransactionReference {\n success\n errors\n }\n }\n": types.MergeChargesByTransactionReferenceDocument,
|
|
434
457
|
"\n mutation CalculateCreditcardTransactionsDebitDate {\n calculateCreditcardTransactionsDebitDate\n }\n": types.CalculateCreditcardTransactionsDebitDateDocument,
|
|
458
|
+
"\n mutation CreateContract($input: CreateContractInput!) {\n createContract(input: $input) {\n id\n }\n }\n": types.CreateContractDocument,
|
|
435
459
|
"\n mutation CreditShareholdersBusinessTripTravelAndSubsistence($businessTripId: UUID!) {\n creditShareholdersBusinessTripTravelAndSubsistence(businessTripId: $businessTripId)\n }\n": types.CreditShareholdersBusinessTripTravelAndSubsistenceDocument,
|
|
436
460
|
"\n mutation DeleteBusinessTripAttendee($fields: DeleteBusinessTripAttendeeInput!) {\n deleteBusinessTripAttendee(fields: $fields)\n }\n": types.DeleteBusinessTripAttendeeDocument,
|
|
437
461
|
"\n mutation DeleteBusinessTripExpense($businessTripExpenseId: UUID!) {\n deleteBusinessTripExpense(businessTripExpenseId: $businessTripExpenseId)\n }\n": types.DeleteBusinessTripExpenseDocument,
|
|
438
462
|
"\n mutation DeleteCharge($chargeId: UUID!) {\n deleteCharge(chargeId: $chargeId)\n }\n": types.DeleteChargeDocument,
|
|
463
|
+
"\n mutation DeleteContract($contractId: UUID!) {\n deleteContract(id: $contractId)\n }\n": types.DeleteContractDocument,
|
|
439
464
|
"\n mutation DeleteDepreciationRecord($depreciationRecordId: UUID!) {\n deleteDepreciationRecord(depreciationRecordId: $depreciationRecordId)\n }\n": types.DeleteDepreciationRecordDocument,
|
|
440
465
|
"\n mutation DeleteDocument($documentId: UUID!) {\n deleteDocument(documentId: $documentId)\n }\n": types.DeleteDocumentDocument,
|
|
441
466
|
"\n mutation DeleteDynamicReportTemplate($name: String!) {\n deleteDynamicReportTemplate(name: $name)\n }\n": types.DeleteDynamicReportTemplateDocument,
|
|
@@ -443,7 +468,7 @@ const documents: Documents = {
|
|
|
443
468
|
"\n mutation DeleteTag($tagId: UUID!) {\n deleteTag(id: $tagId)\n }\n": types.DeleteTagDocument,
|
|
444
469
|
"\n mutation FetchIncomeDocuments($ownerId: UUID!) {\n fetchIncomeDocuments(ownerId: $ownerId) {\n id\n ...NewFetchedDocumentFields\n }\n }\n": types.FetchIncomeDocumentsDocument,
|
|
445
470
|
"\n query AllClients {\n allClients {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n }\n": types.AllClientsDocument,
|
|
446
|
-
"\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
|
|
471
|
+
"\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 msCloud\n }\n }\n": types.AllOpenContractsDocument,
|
|
447
472
|
"\n query AllBusinesses {\n allBusinesses {\n nodes {\n id\n name\n }\n }\n }\n": types.AllBusinessesDocument,
|
|
448
473
|
"\n query AllCountries {\n allCountries {\n id\n name\n code\n }\n }\n": types.AllCountriesDocument,
|
|
449
474
|
"\n query AllFinancialEntities {\n allFinancialEntities {\n nodes {\n id\n name\n }\n }\n }\n": types.AllFinancialEntitiesDocument,
|
|
@@ -453,6 +478,7 @@ const documents: Documents = {
|
|
|
453
478
|
"\n mutation InsertBusinessTripAttendee($fields: InsertBusinessTripAttendeeInput!) {\n insertBusinessTripAttendee(fields: $fields)\n }\n": types.InsertBusinessTripAttendeeDocument,
|
|
454
479
|
"\n mutation InsertBusinessTrip($fields: InsertBusinessTripInput!) {\n insertBusinessTrip(fields: $fields)\n }\n": types.InsertBusinessTripDocument,
|
|
455
480
|
"\n mutation InsertBusiness($fields: InsertNewBusinessInput!) {\n insertNewBusiness(fields: $fields) {\n __typename\n ... on LtdFinancialEntity {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n": types.InsertBusinessDocument,
|
|
481
|
+
"\n mutation InsertClient($fields: ClientInsertInput!) {\n insertClient(fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n": types.InsertClientDocument,
|
|
456
482
|
"\n mutation InsertDocument($record: InsertDocumentInput!) {\n insertDocument(record: $record) {\n __typename\n ... on InsertDocumentSuccessfulResult {\n document {\n id\n }\n }\n ... on CommonError {\n message\n }\n }\n }\n": types.InsertDocumentDocument,
|
|
457
483
|
"\n mutation InsertDynamicReportTemplate($name: String!, $template: String!) {\n insertDynamicReportTemplate(name: $name, template: $template) {\n id\n name\n }\n }\n": types.InsertDynamicReportTemplateDocument,
|
|
458
484
|
"\n mutation InsertMiscExpense($chargeId: UUID!, $fields: InsertMiscExpenseInput!) {\n insertMiscExpense(chargeId: $chargeId, fields: $fields) {\n id\n }\n }\n": types.InsertMiscExpenseDocument,
|
|
@@ -475,6 +501,8 @@ const documents: Documents = {
|
|
|
475
501
|
"\n mutation UpdateBusiness($businessId: UUID!, $ownerId: UUID!, $fields: UpdateBusinessInput!) {\n updateBusiness(businessId: $businessId, ownerId: $ownerId, fields: $fields) {\n __typename\n ... on LtdFinancialEntity {\n id\n name\n }\n ... on CommonError {\n message\n }\n }\n }\n": types.UpdateBusinessDocument,
|
|
476
502
|
"\n mutation UpdateChargeAccountantApproval($chargeId: UUID!, $status: AccountantStatus!) {\n updateChargeAccountantApproval(chargeId: $chargeId, approvalStatus: $status)\n }\n": types.UpdateChargeAccountantApprovalDocument,
|
|
477
503
|
"\n mutation UpdateCharge($chargeId: UUID!, $fields: UpdateChargeInput!) {\n updateCharge(chargeId: $chargeId, fields: $fields) {\n __typename\n ... on UpdateChargeSuccessfulResult {\n charge {\n id\n }\n }\n ... on CommonError {\n message\n }\n }\n }\n": types.UpdateChargeDocument,
|
|
504
|
+
"\n mutation UpdateClient($businessId: UUID!, $fields: ClientUpdateInput!) {\n updateClient(businessId: $businessId, fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n": types.UpdateClientDocument,
|
|
505
|
+
"\n mutation UpdateContract($contractId: UUID!, $input: UpdateContractInput!) {\n updateContract(contractId: $contractId, input: $input) {\n id\n }\n }\n": types.UpdateContractDocument,
|
|
478
506
|
"\n mutation UpdateDepreciationRecord($fields: UpdateDepreciationRecordInput!) {\n updateDepreciationRecord(input: $fields) {\n __typename\n ... on CommonError {\n message\n }\n ... on DepreciationRecord {\n id\n }\n }\n }\n": types.UpdateDepreciationRecordDocument,
|
|
479
507
|
"\n mutation UpdateDocument($documentId: UUID!, $fields: UpdateDocumentFieldsInput!) {\n updateDocument(documentId: $documentId, fields: $fields) {\n __typename\n ... on CommonError {\n message\n }\n ... on UpdateDocumentSuccessfulResult {\n document {\n id\n }\n }\n }\n }\n": types.UpdateDocumentDocument,
|
|
480
508
|
"\n mutation UpdateDynamicReportTemplateName($name: String!, $newName: String!) {\n updateDynamicReportTemplateName(name: $name, newName: $newName) {\n id\n name\n }\n }\n": types.UpdateDynamicReportTemplateNameDocument,
|
|
@@ -536,6 +564,38 @@ export function graphql(source: "\n query EditableBusinessTrip($businessTripId:
|
|
|
536
564
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
537
565
|
*/
|
|
538
566
|
export function graphql(source: "\n query BusinessTripsScreen {\n allBusinessTrips {\n id\n name\n dates {\n start\n }\n ...BusinessTripsRowFields\n }\n }\n"): (typeof documents)["\n query BusinessTripsScreen {\n allBusinessTrips {\n id\n name\n dates {\n start\n }\n ...BusinessTripsRowFields\n }\n }\n"];
|
|
567
|
+
/**
|
|
568
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
569
|
+
*/
|
|
570
|
+
export function graphql(source: "\n fragment BusinessHeader on Business {\n __typename\n id\n name\n createdAt\n ... on LtdFinancialEntity {\n governmentId\n }\n }\n"): (typeof documents)["\n fragment BusinessHeader on Business {\n __typename\n id\n name\n createdAt\n ... on LtdFinancialEntity {\n governmentId\n }\n }\n"];
|
|
571
|
+
/**
|
|
572
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
573
|
+
*/
|
|
574
|
+
export function graphql(source: "\n query BusinessChargesSection($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n"): (typeof documents)["\n query BusinessChargesSection($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n"];
|
|
575
|
+
/**
|
|
576
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
577
|
+
*/
|
|
578
|
+
export function graphql(source: "\n fragment BusinessConfigurationSection on Business {\n __typename\n id\n pcn874RecordType\n irsCode\n isActive\n ... on LtdFinancialEntity {\n optionalVAT\n exemptDealer\n isReceiptEnough\n isDocumentsOptional\n sortCode {\n id\n key\n defaultIrsCode\n }\n taxCategory {\n id\n }\n suggestions {\n phrases\n emails\n tags {\n id\n }\n description\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n clientInfo {\n id\n }\n }\n }\n"): (typeof documents)["\n fragment BusinessConfigurationSection on Business {\n __typename\n id\n pcn874RecordType\n irsCode\n isActive\n ... on LtdFinancialEntity {\n optionalVAT\n exemptDealer\n isReceiptEnough\n isDocumentsOptional\n sortCode {\n id\n key\n defaultIrsCode\n }\n taxCategory {\n id\n }\n suggestions {\n phrases\n emails\n tags {\n id\n }\n description\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n clientInfo {\n id\n }\n }\n }\n"];
|
|
579
|
+
/**
|
|
580
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
581
|
+
*/
|
|
582
|
+
export function graphql(source: "\n fragment BusinessContactSection on Business {\n __typename\n id\n ... on LtdFinancialEntity {\n name\n hebrewName\n country\n governmentId\n address\n email\n # localAddress\n phoneNumber\n website\n clientInfo {\n id\n emails\n }\n }\n }\n"): (typeof documents)["\n fragment BusinessContactSection on Business {\n __typename\n id\n ... on LtdFinancialEntity {\n name\n hebrewName\n country\n governmentId\n address\n email\n # localAddress\n phoneNumber\n website\n clientInfo {\n id\n emails\n }\n }\n }\n"];
|
|
583
|
+
/**
|
|
584
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
585
|
+
*/
|
|
586
|
+
export function graphql(source: "\n query ClientContractsSection($clientId: UUID!) {\n contractsByClient(clientId: $clientId) {\n id\n purchaseOrder\n startDate\n endDate\n amount {\n raw\n currency\n }\n billingCycle\n isActive\n product\n documentType\n remarks\n plan\n msCloud\n }\n }\n"): (typeof documents)["\n query ClientContractsSection($clientId: UUID!) {\n contractsByClient(clientId: $clientId) {\n id\n purchaseOrder\n startDate\n endDate\n amount {\n raw\n currency\n }\n billingCycle\n isActive\n product\n documentType\n remarks\n plan\n msCloud\n }\n }\n"];
|
|
587
|
+
/**
|
|
588
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
589
|
+
*/
|
|
590
|
+
export function graphql(source: "\n fragment BusinessPage on Business {\n id\n ... on LtdFinancialEntity {\n clientInfo {\n id\n }\n }\n ...ClientIntegrationsSection\n ...BusinessHeader\n ...BusinessContactSection\n ...BusinessConfigurationSection\n }\n"): (typeof documents)["\n fragment BusinessPage on Business {\n id\n ... on LtdFinancialEntity {\n clientInfo {\n id\n }\n }\n ...ClientIntegrationsSection\n ...BusinessHeader\n ...BusinessContactSection\n ...BusinessConfigurationSection\n }\n"];
|
|
591
|
+
/**
|
|
592
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
593
|
+
*/
|
|
594
|
+
export function graphql(source: "\n fragment ClientIntegrationsSection on LtdFinancialEntity {\n id\n clientInfo {\n id\n greenInvoiceId\n hiveId\n }\n }\n"): (typeof documents)["\n fragment ClientIntegrationsSection on LtdFinancialEntity {\n id\n clientInfo {\n id\n greenInvoiceId\n hiveId\n }\n }\n"];
|
|
595
|
+
/**
|
|
596
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
597
|
+
*/
|
|
598
|
+
export function graphql(source: "\n query ClientIntegrationsSectionGreenInvoice($clientId: UUID!) {\n greenInvoiceClient(clientId: $clientId) {\n id\n country\n emails\n name\n phone\n taxId\n address\n city\n zip\n fax\n mobile\n }\n }\n"): (typeof documents)["\n query ClientIntegrationsSectionGreenInvoice($clientId: UUID!) {\n greenInvoiceClient(clientId: $clientId) {\n id\n country\n emails\n name\n phone\n taxId\n address\n city\n zip\n fax\n mobile\n }\n }\n"];
|
|
539
599
|
/**
|
|
540
600
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
541
601
|
*/
|
|
@@ -775,7 +835,7 @@ export function graphql(source: "\n fragment DocumentsToMatchFields on Document
|
|
|
775
835
|
/**
|
|
776
836
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
777
837
|
*/
|
|
778
|
-
export function graphql(source: "\n query
|
|
838
|
+
export function graphql(source: "\n query RecentBusinessIssuedDocuments($businessId: UUID!, $limit: Int) {\n recentDocumentsByBusiness(businessId: $businessId, limit: $limit) {\n id\n ... on FinancialDocument {\n issuedDocumentInfo {\n id\n status\n externalId\n }\n }\n ...TableDocumentsRowFields\n }\n }\n"): (typeof documents)["\n query RecentBusinessIssuedDocuments($businessId: UUID!, $limit: Int) {\n recentDocumentsByBusiness(businessId: $businessId, limit: $limit) {\n id\n ... on FinancialDocument {\n issuedDocumentInfo {\n id\n status\n externalId\n }\n }\n ...TableDocumentsRowFields\n }\n }\n"];
|
|
779
839
|
/**
|
|
780
840
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
781
841
|
*/
|
|
@@ -783,7 +843,7 @@ export function graphql(source: "\n query RecentIssuedDocumentsOfSameType($docu
|
|
|
783
843
|
/**
|
|
784
844
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
785
845
|
*/
|
|
786
|
-
export function graphql(source: "\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n }\n }\n }\n"): (typeof documents)["\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n }\n }\n }\n"];
|
|
846
|
+
export function graphql(source: "\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n pcn874RecordType\n }\n }\n }\n"): (typeof documents)["\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n pcn874RecordType\n }\n }\n }\n"];
|
|
787
847
|
/**
|
|
788
848
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
789
849
|
*/
|
|
@@ -1048,6 +1108,10 @@ export function graphql(source: "\n fragment SalariesTableFields on Salary {\n
|
|
|
1048
1108
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1049
1109
|
*/
|
|
1050
1110
|
export function graphql(source: "\n fragment SalariesRecordFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordEmployeeFields\n ...SalariesRecordMainSalaryFields\n ...SalariesRecordFundsFields\n ...SalariesRecordInsurancesAndTaxesFields\n ...SalariesRecordWorkFrameFields\n }\n"): (typeof documents)["\n fragment SalariesRecordFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordEmployeeFields\n ...SalariesRecordMainSalaryFields\n ...SalariesRecordFundsFields\n ...SalariesRecordInsurancesAndTaxesFields\n ...SalariesRecordWorkFrameFields\n }\n"];
|
|
1111
|
+
/**
|
|
1112
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1113
|
+
*/
|
|
1114
|
+
export function graphql(source: "\n query BusinessScreen($businessId: UUID!) {\n business(id: $businessId) {\n id\n ...BusinessPage\n }\n }\n"): (typeof documents)["\n query BusinessScreen($businessId: UUID!) {\n business(id: $businessId) {\n id\n ...BusinessPage\n }\n }\n"];
|
|
1051
1115
|
/**
|
|
1052
1116
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1053
1117
|
*/
|
|
@@ -1220,6 +1284,10 @@ export function graphql(source: "\n mutation MergeChargesByTransactionReference
|
|
|
1220
1284
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1221
1285
|
*/
|
|
1222
1286
|
export function graphql(source: "\n mutation CalculateCreditcardTransactionsDebitDate {\n calculateCreditcardTransactionsDebitDate\n }\n"): (typeof documents)["\n mutation CalculateCreditcardTransactionsDebitDate {\n calculateCreditcardTransactionsDebitDate\n }\n"];
|
|
1287
|
+
/**
|
|
1288
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1289
|
+
*/
|
|
1290
|
+
export function graphql(source: "\n mutation CreateContract($input: CreateContractInput!) {\n createContract(input: $input) {\n id\n }\n }\n"): (typeof documents)["\n mutation CreateContract($input: CreateContractInput!) {\n createContract(input: $input) {\n id\n }\n }\n"];
|
|
1223
1291
|
/**
|
|
1224
1292
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1225
1293
|
*/
|
|
@@ -1236,6 +1304,10 @@ export function graphql(source: "\n mutation DeleteBusinessTripExpense($busines
|
|
|
1236
1304
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1237
1305
|
*/
|
|
1238
1306
|
export function graphql(source: "\n mutation DeleteCharge($chargeId: UUID!) {\n deleteCharge(chargeId: $chargeId)\n }\n"): (typeof documents)["\n mutation DeleteCharge($chargeId: UUID!) {\n deleteCharge(chargeId: $chargeId)\n }\n"];
|
|
1307
|
+
/**
|
|
1308
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1309
|
+
*/
|
|
1310
|
+
export function graphql(source: "\n mutation DeleteContract($contractId: UUID!) {\n deleteContract(id: $contractId)\n }\n"): (typeof documents)["\n mutation DeleteContract($contractId: UUID!) {\n deleteContract(id: $contractId)\n }\n"];
|
|
1239
1311
|
/**
|
|
1240
1312
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1241
1313
|
*/
|
|
@@ -1267,7 +1339,7 @@ export function graphql(source: "\n query AllClients {\n allClients {\n
|
|
|
1267
1339
|
/**
|
|
1268
1340
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1269
1341
|
*/
|
|
1270
|
-
export function graphql(source: "\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
|
|
1342
|
+
export function graphql(source: "\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 msCloud\n }\n }\n"): (typeof documents)["\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 msCloud\n }\n }\n"];
|
|
1271
1343
|
/**
|
|
1272
1344
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1273
1345
|
*/
|
|
@@ -1304,6 +1376,10 @@ export function graphql(source: "\n mutation InsertBusinessTrip($fields: Insert
|
|
|
1304
1376
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1305
1377
|
*/
|
|
1306
1378
|
export function graphql(source: "\n mutation InsertBusiness($fields: InsertNewBusinessInput!) {\n insertNewBusiness(fields: $fields) {\n __typename\n ... on LtdFinancialEntity {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n"): (typeof documents)["\n mutation InsertBusiness($fields: InsertNewBusinessInput!) {\n insertNewBusiness(fields: $fields) {\n __typename\n ... on LtdFinancialEntity {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n"];
|
|
1379
|
+
/**
|
|
1380
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1381
|
+
*/
|
|
1382
|
+
export function graphql(source: "\n mutation InsertClient($fields: ClientInsertInput!) {\n insertClient(fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n"): (typeof documents)["\n mutation InsertClient($fields: ClientInsertInput!) {\n insertClient(fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n"];
|
|
1307
1383
|
/**
|
|
1308
1384
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1309
1385
|
*/
|
|
@@ -1392,6 +1468,14 @@ export function graphql(source: "\n mutation UpdateChargeAccountantApproval($ch
|
|
|
1392
1468
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1393
1469
|
*/
|
|
1394
1470
|
export function graphql(source: "\n mutation UpdateCharge($chargeId: UUID!, $fields: UpdateChargeInput!) {\n updateCharge(chargeId: $chargeId, fields: $fields) {\n __typename\n ... on UpdateChargeSuccessfulResult {\n charge {\n id\n }\n }\n ... on CommonError {\n message\n }\n }\n }\n"): (typeof documents)["\n mutation UpdateCharge($chargeId: UUID!, $fields: UpdateChargeInput!) {\n updateCharge(chargeId: $chargeId, fields: $fields) {\n __typename\n ... on UpdateChargeSuccessfulResult {\n charge {\n id\n }\n }\n ... on CommonError {\n message\n }\n }\n }\n"];
|
|
1471
|
+
/**
|
|
1472
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1473
|
+
*/
|
|
1474
|
+
export function graphql(source: "\n mutation UpdateClient($businessId: UUID!, $fields: ClientUpdateInput!) {\n updateClient(businessId: $businessId, fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n"): (typeof documents)["\n mutation UpdateClient($businessId: UUID!, $fields: ClientUpdateInput!) {\n updateClient(businessId: $businessId, fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n"];
|
|
1475
|
+
/**
|
|
1476
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1477
|
+
*/
|
|
1478
|
+
export function graphql(source: "\n mutation UpdateContract($contractId: UUID!, $input: UpdateContractInput!) {\n updateContract(contractId: $contractId, input: $input) {\n id\n }\n }\n"): (typeof documents)["\n mutation UpdateContract($contractId: UUID!, $input: UpdateContractInput!) {\n updateContract(contractId: $contractId, input: $input) {\n id\n }\n }\n"];
|
|
1395
1479
|
/**
|
|
1396
1480
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1397
1481
|
*/
|