@accounter/server 0.0.9-alpha-20251216144137-dc7316f892e1fcf0e350cfbbaa9ca0746e1c6c50 → 0.0.9-alpha-20251216161545-668306e40cf3aed663f444e0004246489fbec6d4
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 +5 -28
- package/dist/green-invoice-graphql/src/mesh-artifacts/index.d.ts +1 -1
- package/dist/server/src/__generated__/types.d.ts +301 -282
- package/dist/server/src/__generated__/types.js.map +1 -1
- package/dist/server/src/modules/app-providers/green-invoice-client.d.ts +3 -3
- package/dist/server/src/modules/documents/__generated__/types.d.ts +7 -121
- package/dist/server/src/modules/documents/__generated__/types.js.map +1 -1
- package/dist/server/src/modules/documents/helpers/common.helper.d.ts +0 -2
- package/dist/server/src/modules/documents/helpers/common.helper.js +0 -20
- package/dist/server/src/modules/documents/helpers/common.helper.js.map +1 -1
- package/dist/server/src/modules/documents/index.js +2 -9
- package/dist/server/src/modules/documents/index.js.map +1 -1
- package/dist/server/src/modules/green-invoice/__generated__/types.d.ts +135 -6
- package/dist/server/src/modules/green-invoice/__generated__/types.js +2 -0
- package/dist/server/src/modules/green-invoice/__generated__/types.js.map +1 -1
- package/dist/server/src/modules/green-invoice/helpers/contract-to-draft.helper.d.ts +7 -0
- package/dist/server/src/modules/green-invoice/helpers/contract-to-draft.helper.js +53 -0
- package/dist/server/src/modules/green-invoice/helpers/contract-to-draft.helper.js.map +1 -0
- package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.d.ts +27 -21
- package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.js +146 -151
- package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.js.map +1 -1
- package/dist/server/src/modules/green-invoice/helpers/issue-document.helper.d.ts +19 -0
- package/dist/server/src/modules/{documents → green-invoice}/helpers/issue-document.helper.js +11 -59
- package/dist/server/src/modules/green-invoice/helpers/issue-document.helper.js.map +1 -0
- package/dist/server/src/modules/green-invoice/resolvers/green-invoice.resolvers.js +347 -4
- package/dist/server/src/modules/green-invoice/resolvers/green-invoice.resolvers.js.map +1 -1
- package/dist/server/src/modules/green-invoice/typeDefs/green-invoice.graphql.js +512 -4
- package/dist/server/src/modules/green-invoice/typeDefs/green-invoice.graphql.js.map +1 -1
- package/dist/shaam-uniform-format-generator/src/generator/records/b110.d.ts +35 -35
- package/dist/shaam-uniform-format-generator/src/types/enums.d.ts +71 -71
- package/package.json +1 -1
- package/src/__generated__/types.ts +620 -327
- package/src/modules/documents/__generated__/types.ts +7 -121
- package/src/modules/documents/helpers/common.helper.ts +0 -21
- package/src/modules/documents/index.ts +2 -9
- package/src/modules/green-invoice/__generated__/types.ts +137 -6
- package/src/modules/green-invoice/helpers/contract-to-draft.helper.ts +69 -0
- package/src/modules/green-invoice/helpers/green-invoice.helper.ts +199 -183
- package/src/modules/{documents → green-invoice}/helpers/issue-document.helper.ts +44 -96
- package/src/modules/green-invoice/resolvers/green-invoice.resolvers.ts +520 -5
- package/src/modules/green-invoice/typeDefs/green-invoice.graphql.ts +512 -4
- package/dist/server/src/modules/documents/helpers/issue-document.helper.d.ts +0 -21
- package/dist/server/src/modules/documents/helpers/issue-document.helper.js.map +0 -1
- package/dist/server/src/modules/documents/resolvers/documents-issuing.resolver.d.ts +0 -2
- package/dist/server/src/modules/documents/resolvers/documents-issuing.resolver.js +0 -346
- package/dist/server/src/modules/documents/resolvers/documents-issuing.resolver.js.map +0 -1
- package/dist/server/src/modules/documents/typeDefs/documents-issuing.graphql.d.ts +0 -2
- package/dist/server/src/modules/documents/typeDefs/documents-issuing.graphql.js +0 -228
- package/dist/server/src/modules/documents/typeDefs/documents-issuing.graphql.js.map +0 -1
- package/src/modules/documents/resolvers/documents-issuing.resolver.ts +0 -529
- package/src/modules/documents/typeDefs/documents-issuing.graphql.ts +0 -228
|
@@ -1622,178 +1622,6 @@ export type Document = {
|
|
|
1622
1622
|
readonly isReviewed?: Maybe<Scalars['Boolean']['output']>;
|
|
1623
1623
|
};
|
|
1624
1624
|
|
|
1625
|
-
/** client input */
|
|
1626
|
-
export type DocumentClientInput = {
|
|
1627
|
-
readonly add?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1628
|
-
readonly address?: InputMaybe<Scalars['String']['input']>;
|
|
1629
|
-
readonly city?: InputMaybe<Scalars['String']['input']>;
|
|
1630
|
-
readonly country?: InputMaybe<Scalars['CountryCode']['input']>;
|
|
1631
|
-
readonly emails?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
1632
|
-
readonly fax?: InputMaybe<Scalars['String']['input']>;
|
|
1633
|
-
readonly id: Scalars['UUID']['input'];
|
|
1634
|
-
readonly mobile?: InputMaybe<Scalars['String']['input']>;
|
|
1635
|
-
readonly name?: InputMaybe<Scalars['String']['input']>;
|
|
1636
|
-
readonly phone?: InputMaybe<Scalars['String']['input']>;
|
|
1637
|
-
readonly self?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1638
|
-
readonly taxId?: InputMaybe<Scalars['String']['input']>;
|
|
1639
|
-
readonly zip?: InputMaybe<Scalars['String']['input']>;
|
|
1640
|
-
};
|
|
1641
|
-
|
|
1642
|
-
/** document discount info */
|
|
1643
|
-
export type DocumentDiscount = {
|
|
1644
|
-
readonly __typename?: 'DocumentDiscount';
|
|
1645
|
-
readonly amount: Scalars['Float']['output'];
|
|
1646
|
-
readonly type: DocumentDiscountType;
|
|
1647
|
-
};
|
|
1648
|
-
|
|
1649
|
-
/** discount input */
|
|
1650
|
-
export type DocumentDiscountInput = {
|
|
1651
|
-
readonly amount: Scalars['Float']['input'];
|
|
1652
|
-
readonly type: DocumentDiscountType;
|
|
1653
|
-
};
|
|
1654
|
-
|
|
1655
|
-
/** discount type enum */
|
|
1656
|
-
export type DocumentDiscountType =
|
|
1657
|
-
| 'PERCENTAGE'
|
|
1658
|
-
| 'SUM';
|
|
1659
|
-
|
|
1660
|
-
/** for previewing/issuing document */
|
|
1661
|
-
export type DocumentDraft = {
|
|
1662
|
-
readonly __typename?: 'DocumentDraft';
|
|
1663
|
-
readonly client?: Maybe<Client>;
|
|
1664
|
-
readonly currency: Currency;
|
|
1665
|
-
readonly date?: Maybe<Scalars['String']['output']>;
|
|
1666
|
-
readonly description?: Maybe<Scalars['String']['output']>;
|
|
1667
|
-
readonly discount?: Maybe<DocumentDiscount>;
|
|
1668
|
-
readonly dueDate?: Maybe<Scalars['String']['output']>;
|
|
1669
|
-
readonly footer?: Maybe<Scalars['String']['output']>;
|
|
1670
|
-
readonly income?: Maybe<ReadonlyArray<DocumentIncomeRecord>>;
|
|
1671
|
-
readonly language: DocumentLanguage;
|
|
1672
|
-
readonly linkType?: Maybe<DocumentLinkType>;
|
|
1673
|
-
readonly linkedDocumentIds?: Maybe<ReadonlyArray<Scalars['String']['output']>>;
|
|
1674
|
-
readonly linkedPaymentId?: Maybe<Scalars['String']['output']>;
|
|
1675
|
-
readonly maxPayments?: Maybe<Scalars['Int']['output']>;
|
|
1676
|
-
readonly payment?: Maybe<ReadonlyArray<DocumentPaymentRecord>>;
|
|
1677
|
-
readonly remarks?: Maybe<Scalars['String']['output']>;
|
|
1678
|
-
readonly rounding?: Maybe<Scalars['Boolean']['output']>;
|
|
1679
|
-
readonly signed?: Maybe<Scalars['Boolean']['output']>;
|
|
1680
|
-
readonly type: DocumentType;
|
|
1681
|
-
readonly vatType: DocumentVatType;
|
|
1682
|
-
};
|
|
1683
|
-
|
|
1684
|
-
/** income info */
|
|
1685
|
-
export type DocumentIncomeRecord = {
|
|
1686
|
-
readonly __typename?: 'DocumentIncomeRecord';
|
|
1687
|
-
readonly currency: Currency;
|
|
1688
|
-
readonly currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
1689
|
-
readonly description: Scalars['String']['output'];
|
|
1690
|
-
readonly itemId?: Maybe<Scalars['String']['output']>;
|
|
1691
|
-
readonly price: Scalars['Float']['output'];
|
|
1692
|
-
readonly quantity: Scalars['Float']['output'];
|
|
1693
|
-
readonly vatRate?: Maybe<Scalars['Float']['output']>;
|
|
1694
|
-
readonly vatType: DocumentVatType;
|
|
1695
|
-
};
|
|
1696
|
-
|
|
1697
|
-
/** income input */
|
|
1698
|
-
export type DocumentIncomeRecordInput = {
|
|
1699
|
-
readonly amount?: InputMaybe<Scalars['Float']['input']>;
|
|
1700
|
-
readonly amountTotal?: InputMaybe<Scalars['Float']['input']>;
|
|
1701
|
-
readonly catalogNum?: InputMaybe<Scalars['String']['input']>;
|
|
1702
|
-
readonly currency: Currency;
|
|
1703
|
-
readonly currencyRate?: InputMaybe<Scalars['Float']['input']>;
|
|
1704
|
-
readonly description: Scalars['String']['input'];
|
|
1705
|
-
readonly itemId?: InputMaybe<Scalars['String']['input']>;
|
|
1706
|
-
readonly price: Scalars['Float']['input'];
|
|
1707
|
-
readonly quantity: Scalars['Float']['input'];
|
|
1708
|
-
readonly vat?: InputMaybe<Scalars['Float']['input']>;
|
|
1709
|
-
readonly vatRate?: InputMaybe<Scalars['Float']['input']>;
|
|
1710
|
-
readonly vatType: DocumentVatType;
|
|
1711
|
-
};
|
|
1712
|
-
|
|
1713
|
-
/** input for issuing or previewing document */
|
|
1714
|
-
export type DocumentIssueInput = {
|
|
1715
|
-
readonly client?: InputMaybe<DocumentClientInput>;
|
|
1716
|
-
readonly currency: Currency;
|
|
1717
|
-
readonly date?: InputMaybe<Scalars['String']['input']>;
|
|
1718
|
-
readonly description?: InputMaybe<Scalars['String']['input']>;
|
|
1719
|
-
readonly discount?: InputMaybe<DocumentDiscountInput>;
|
|
1720
|
-
readonly dueDate?: InputMaybe<Scalars['String']['input']>;
|
|
1721
|
-
readonly footer?: InputMaybe<Scalars['String']['input']>;
|
|
1722
|
-
readonly income?: InputMaybe<ReadonlyArray<DocumentIncomeRecordInput>>;
|
|
1723
|
-
readonly language: DocumentLanguage;
|
|
1724
|
-
readonly linkType?: InputMaybe<DocumentLinkType>;
|
|
1725
|
-
readonly linkedDocumentIds?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
1726
|
-
readonly linkedPaymentId?: InputMaybe<Scalars['String']['input']>;
|
|
1727
|
-
readonly maxPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
1728
|
-
readonly payment?: InputMaybe<ReadonlyArray<DocumentPaymentRecordInput>>;
|
|
1729
|
-
readonly remarks?: InputMaybe<Scalars['String']['input']>;
|
|
1730
|
-
readonly rounding?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1731
|
-
readonly signed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1732
|
-
readonly type: DocumentType;
|
|
1733
|
-
readonly vatType: DocumentVatType;
|
|
1734
|
-
};
|
|
1735
|
-
|
|
1736
|
-
/** document language enum */
|
|
1737
|
-
export type DocumentLanguage =
|
|
1738
|
-
| 'ENGLISH'
|
|
1739
|
-
| 'HEBREW';
|
|
1740
|
-
|
|
1741
|
-
/** link type enum */
|
|
1742
|
-
export type DocumentLinkType =
|
|
1743
|
-
| 'CANCEL'
|
|
1744
|
-
| 'LINK';
|
|
1745
|
-
|
|
1746
|
-
/** payment info */
|
|
1747
|
-
export type DocumentPaymentRecord = {
|
|
1748
|
-
readonly __typename?: 'DocumentPaymentRecord';
|
|
1749
|
-
readonly accountId?: Maybe<Scalars['String']['output']>;
|
|
1750
|
-
readonly bankAccount?: Maybe<Scalars['String']['output']>;
|
|
1751
|
-
readonly bankBranch?: Maybe<Scalars['String']['output']>;
|
|
1752
|
-
/** subType: GreenInvoicePaymentSubType */
|
|
1753
|
-
readonly bankName?: Maybe<Scalars['String']['output']>;
|
|
1754
|
-
readonly cardNum?: Maybe<Scalars['String']['output']>;
|
|
1755
|
-
/** appType: GreenInvoicePaymentAppType */
|
|
1756
|
-
readonly cardType?: Maybe<DocumentPaymentRecordCardType>;
|
|
1757
|
-
readonly chequeNum?: Maybe<Scalars['String']['output']>;
|
|
1758
|
-
readonly currency: Currency;
|
|
1759
|
-
readonly currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
1760
|
-
readonly date?: Maybe<Scalars['String']['output']>;
|
|
1761
|
-
readonly firstPayment?: Maybe<Scalars['Float']['output']>;
|
|
1762
|
-
/** dealType: GreenInvoicePaymentDealType */
|
|
1763
|
-
readonly numPayments?: Maybe<Scalars['Int']['output']>;
|
|
1764
|
-
readonly price: Scalars['Float']['output'];
|
|
1765
|
-
readonly transactionId?: Maybe<Scalars['String']['output']>;
|
|
1766
|
-
readonly type: PaymentType;
|
|
1767
|
-
};
|
|
1768
|
-
|
|
1769
|
-
/** card type enum */
|
|
1770
|
-
export type DocumentPaymentRecordCardType =
|
|
1771
|
-
| 'AMERICAN_EXPRESS'
|
|
1772
|
-
| 'DINERS'
|
|
1773
|
-
| 'ISRACARD'
|
|
1774
|
-
| 'MASTERCARD'
|
|
1775
|
-
| 'UNKNOWN'
|
|
1776
|
-
| 'VISA';
|
|
1777
|
-
|
|
1778
|
-
/** payment input */
|
|
1779
|
-
export type DocumentPaymentRecordInput = {
|
|
1780
|
-
readonly accountId?: InputMaybe<Scalars['String']['input']>;
|
|
1781
|
-
readonly bankAccount?: InputMaybe<Scalars['String']['input']>;
|
|
1782
|
-
readonly bankBranch?: InputMaybe<Scalars['String']['input']>;
|
|
1783
|
-
readonly bankName?: InputMaybe<Scalars['String']['input']>;
|
|
1784
|
-
readonly cardNum?: InputMaybe<Scalars['String']['input']>;
|
|
1785
|
-
readonly cardType?: InputMaybe<DocumentPaymentRecordCardType>;
|
|
1786
|
-
readonly chequeNum?: InputMaybe<Scalars['String']['input']>;
|
|
1787
|
-
readonly currency: Currency;
|
|
1788
|
-
readonly currencyRate?: InputMaybe<Scalars['Float']['input']>;
|
|
1789
|
-
readonly date?: InputMaybe<Scalars['String']['input']>;
|
|
1790
|
-
readonly firstPayment?: InputMaybe<Scalars['Float']['input']>;
|
|
1791
|
-
readonly numPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
1792
|
-
readonly price: Scalars['Float']['input'];
|
|
1793
|
-
readonly transactionId?: InputMaybe<Scalars['String']['input']>;
|
|
1794
|
-
readonly type: PaymentType;
|
|
1795
|
-
};
|
|
1796
|
-
|
|
1797
1625
|
/** Document status */
|
|
1798
1626
|
export type DocumentStatus =
|
|
1799
1627
|
| 'CANCELLED'
|
|
@@ -1817,12 +1645,6 @@ export type DocumentSuggestions = {
|
|
|
1817
1645
|
|
|
1818
1646
|
export { DocumentType };
|
|
1819
1647
|
|
|
1820
|
-
/** VAT type enum */
|
|
1821
|
-
export type DocumentVatType =
|
|
1822
|
-
| 'DEFAULT'
|
|
1823
|
-
| 'EXEMPT'
|
|
1824
|
-
| 'MIXED';
|
|
1825
|
-
|
|
1826
1648
|
/** input variables for documents filtering */
|
|
1827
1649
|
export type DocumentsFilters = {
|
|
1828
1650
|
readonly businessIDs?: InputMaybe<ReadonlyArray<Scalars['UUID']['input']>>;
|
|
@@ -2110,9 +1932,9 @@ export type Fund = {
|
|
|
2110
1932
|
readonly name: Scalars['String']['output'];
|
|
2111
1933
|
};
|
|
2112
1934
|
|
|
2113
|
-
/** result type for
|
|
2114
|
-
export type
|
|
2115
|
-
readonly __typename?: '
|
|
1935
|
+
/** result type for generateMonthlyClientDocuments */
|
|
1936
|
+
export type GenerateMonthlyClientDocumentsResult = {
|
|
1937
|
+
readonly __typename?: 'GenerateMonthlyClientDocumentsResult';
|
|
2116
1938
|
readonly errors?: Maybe<ReadonlyArray<Scalars['String']['output']>>;
|
|
2117
1939
|
readonly success: Scalars['Boolean']['output'];
|
|
2118
1940
|
};
|
|
@@ -2127,7 +1949,7 @@ export type GreenInvoiceClient = {
|
|
|
2127
1949
|
readonly address?: Maybe<Scalars['String']['output']>;
|
|
2128
1950
|
readonly businessId: Scalars['UUID']['output'];
|
|
2129
1951
|
readonly city?: Maybe<Scalars['String']['output']>;
|
|
2130
|
-
readonly country?: Maybe<
|
|
1952
|
+
readonly country?: Maybe<GreenInvoiceCountry>;
|
|
2131
1953
|
readonly emails?: Maybe<ReadonlyArray<Scalars['String']['output']>>;
|
|
2132
1954
|
readonly fax?: Maybe<Scalars['String']['output']>;
|
|
2133
1955
|
readonly greenInvoiceId?: Maybe<Scalars['ID']['output']>;
|
|
@@ -2139,6 +1961,435 @@ export type GreenInvoiceClient = {
|
|
|
2139
1961
|
readonly zip?: Maybe<Scalars['String']['output']>;
|
|
2140
1962
|
};
|
|
2141
1963
|
|
|
1964
|
+
/** client input */
|
|
1965
|
+
export type GreenInvoiceClientInput = {
|
|
1966
|
+
readonly add?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1967
|
+
readonly address?: InputMaybe<Scalars['String']['input']>;
|
|
1968
|
+
readonly businessId: Scalars['UUID']['input'];
|
|
1969
|
+
readonly city?: InputMaybe<Scalars['String']['input']>;
|
|
1970
|
+
readonly country?: InputMaybe<GreenInvoiceCountry>;
|
|
1971
|
+
readonly emails?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
1972
|
+
readonly fax?: InputMaybe<Scalars['String']['input']>;
|
|
1973
|
+
readonly greenInvoiceId?: InputMaybe<Scalars['String']['input']>;
|
|
1974
|
+
readonly mobile?: InputMaybe<Scalars['String']['input']>;
|
|
1975
|
+
readonly name?: InputMaybe<Scalars['String']['input']>;
|
|
1976
|
+
readonly phone?: InputMaybe<Scalars['String']['input']>;
|
|
1977
|
+
readonly self?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1978
|
+
readonly taxId?: InputMaybe<Scalars['String']['input']>;
|
|
1979
|
+
readonly zip?: InputMaybe<Scalars['String']['input']>;
|
|
1980
|
+
};
|
|
1981
|
+
|
|
1982
|
+
/** country enum (abbreviated for brevity - add more as needed) */
|
|
1983
|
+
export type GreenInvoiceCountry =
|
|
1984
|
+
| 'AD'
|
|
1985
|
+
| 'AE'
|
|
1986
|
+
| 'AF'
|
|
1987
|
+
| 'AG'
|
|
1988
|
+
| 'AI'
|
|
1989
|
+
| 'AL'
|
|
1990
|
+
| 'AM'
|
|
1991
|
+
| 'AO'
|
|
1992
|
+
| 'AQ'
|
|
1993
|
+
| 'AR'
|
|
1994
|
+
| 'AS'
|
|
1995
|
+
| 'AT'
|
|
1996
|
+
| 'AU'
|
|
1997
|
+
| 'AW'
|
|
1998
|
+
| 'AX'
|
|
1999
|
+
| 'AZ'
|
|
2000
|
+
| 'BA'
|
|
2001
|
+
| 'BB'
|
|
2002
|
+
| 'BD'
|
|
2003
|
+
| 'BE'
|
|
2004
|
+
| 'BF'
|
|
2005
|
+
| 'BG'
|
|
2006
|
+
| 'BH'
|
|
2007
|
+
| 'BI'
|
|
2008
|
+
| 'BJ'
|
|
2009
|
+
| 'BL'
|
|
2010
|
+
| 'BM'
|
|
2011
|
+
| 'BN'
|
|
2012
|
+
| 'BO'
|
|
2013
|
+
| 'BQ'
|
|
2014
|
+
| 'BR'
|
|
2015
|
+
| 'BS'
|
|
2016
|
+
| 'BT'
|
|
2017
|
+
| 'BV'
|
|
2018
|
+
| 'BW'
|
|
2019
|
+
| 'BY'
|
|
2020
|
+
| 'BZ'
|
|
2021
|
+
| 'CA'
|
|
2022
|
+
| 'CC'
|
|
2023
|
+
| 'CD'
|
|
2024
|
+
| 'CF'
|
|
2025
|
+
| 'CG'
|
|
2026
|
+
| 'CH'
|
|
2027
|
+
| 'CI'
|
|
2028
|
+
| 'CK'
|
|
2029
|
+
| 'CL'
|
|
2030
|
+
| 'CM'
|
|
2031
|
+
| 'CN'
|
|
2032
|
+
| 'CO'
|
|
2033
|
+
| 'CR'
|
|
2034
|
+
| 'CU'
|
|
2035
|
+
| 'CV'
|
|
2036
|
+
| 'CW'
|
|
2037
|
+
| 'CX'
|
|
2038
|
+
| 'CY'
|
|
2039
|
+
| 'CZ'
|
|
2040
|
+
| 'DE'
|
|
2041
|
+
| 'DJ'
|
|
2042
|
+
| 'DK'
|
|
2043
|
+
| 'DM'
|
|
2044
|
+
| 'DO'
|
|
2045
|
+
| 'DZ'
|
|
2046
|
+
| 'EC'
|
|
2047
|
+
| 'EE'
|
|
2048
|
+
| 'EG'
|
|
2049
|
+
| 'EH'
|
|
2050
|
+
| 'ER'
|
|
2051
|
+
| 'ES'
|
|
2052
|
+
| 'ET'
|
|
2053
|
+
| 'FI'
|
|
2054
|
+
| 'FJ'
|
|
2055
|
+
| 'FK'
|
|
2056
|
+
| 'FM'
|
|
2057
|
+
| 'FO'
|
|
2058
|
+
| 'FR'
|
|
2059
|
+
| 'GA'
|
|
2060
|
+
| 'GB'
|
|
2061
|
+
| 'GD'
|
|
2062
|
+
| 'GE'
|
|
2063
|
+
| 'GF'
|
|
2064
|
+
| 'GG'
|
|
2065
|
+
| 'GH'
|
|
2066
|
+
| 'GI'
|
|
2067
|
+
| 'GL'
|
|
2068
|
+
| 'GM'
|
|
2069
|
+
| 'GN'
|
|
2070
|
+
| 'GP'
|
|
2071
|
+
| 'GQ'
|
|
2072
|
+
| 'GR'
|
|
2073
|
+
| 'GS'
|
|
2074
|
+
| 'GT'
|
|
2075
|
+
| 'GU'
|
|
2076
|
+
| 'GW'
|
|
2077
|
+
| 'GY'
|
|
2078
|
+
| 'HK'
|
|
2079
|
+
| 'HM'
|
|
2080
|
+
| 'HN'
|
|
2081
|
+
| 'HR'
|
|
2082
|
+
| 'HT'
|
|
2083
|
+
| 'HU'
|
|
2084
|
+
| 'ID'
|
|
2085
|
+
| 'IE'
|
|
2086
|
+
| 'IL'
|
|
2087
|
+
| 'IM'
|
|
2088
|
+
| 'IN'
|
|
2089
|
+
| 'IO'
|
|
2090
|
+
| 'IQ'
|
|
2091
|
+
| 'IR'
|
|
2092
|
+
| 'IS'
|
|
2093
|
+
| 'IT'
|
|
2094
|
+
| 'JE'
|
|
2095
|
+
| 'JM'
|
|
2096
|
+
| 'JO'
|
|
2097
|
+
| 'JP'
|
|
2098
|
+
| 'KE'
|
|
2099
|
+
| 'KG'
|
|
2100
|
+
| 'KH'
|
|
2101
|
+
| 'KI'
|
|
2102
|
+
| 'KM'
|
|
2103
|
+
| 'KN'
|
|
2104
|
+
| 'KP'
|
|
2105
|
+
| 'KR'
|
|
2106
|
+
| 'KW'
|
|
2107
|
+
| 'KY'
|
|
2108
|
+
| 'KZ'
|
|
2109
|
+
| 'LA'
|
|
2110
|
+
| 'LB'
|
|
2111
|
+
| 'LC'
|
|
2112
|
+
| 'LI'
|
|
2113
|
+
| 'LK'
|
|
2114
|
+
| 'LR'
|
|
2115
|
+
| 'LS'
|
|
2116
|
+
| 'LT'
|
|
2117
|
+
| 'LU'
|
|
2118
|
+
| 'LV'
|
|
2119
|
+
| 'LY'
|
|
2120
|
+
| 'MA'
|
|
2121
|
+
| 'MC'
|
|
2122
|
+
| 'MD'
|
|
2123
|
+
| 'ME'
|
|
2124
|
+
| 'MF'
|
|
2125
|
+
| 'MG'
|
|
2126
|
+
| 'MH'
|
|
2127
|
+
| 'MK'
|
|
2128
|
+
| 'ML'
|
|
2129
|
+
| 'MM'
|
|
2130
|
+
| 'MN'
|
|
2131
|
+
| 'MO'
|
|
2132
|
+
| 'MP'
|
|
2133
|
+
| 'MQ'
|
|
2134
|
+
| 'MR'
|
|
2135
|
+
| 'MS'
|
|
2136
|
+
| 'MT'
|
|
2137
|
+
| 'MU'
|
|
2138
|
+
| 'MV'
|
|
2139
|
+
| 'MW'
|
|
2140
|
+
| 'MX'
|
|
2141
|
+
| 'MY'
|
|
2142
|
+
| 'MZ'
|
|
2143
|
+
| 'NA'
|
|
2144
|
+
| 'NC'
|
|
2145
|
+
| 'NE'
|
|
2146
|
+
| 'NF'
|
|
2147
|
+
| 'NG'
|
|
2148
|
+
| 'NI'
|
|
2149
|
+
| 'NL'
|
|
2150
|
+
| 'NO'
|
|
2151
|
+
| 'NP'
|
|
2152
|
+
| 'NR'
|
|
2153
|
+
| 'NU'
|
|
2154
|
+
| 'NZ'
|
|
2155
|
+
| 'OM'
|
|
2156
|
+
| 'PA'
|
|
2157
|
+
| 'PE'
|
|
2158
|
+
| 'PF'
|
|
2159
|
+
| 'PG'
|
|
2160
|
+
| 'PH'
|
|
2161
|
+
| 'PK'
|
|
2162
|
+
| 'PL'
|
|
2163
|
+
| 'PM'
|
|
2164
|
+
| 'PN'
|
|
2165
|
+
| 'PR'
|
|
2166
|
+
| 'PS'
|
|
2167
|
+
| 'PT'
|
|
2168
|
+
| 'PW'
|
|
2169
|
+
| 'PY'
|
|
2170
|
+
| 'QA'
|
|
2171
|
+
| 'RE'
|
|
2172
|
+
| 'RO'
|
|
2173
|
+
| 'RS'
|
|
2174
|
+
| 'RU'
|
|
2175
|
+
| 'RW'
|
|
2176
|
+
| 'SA'
|
|
2177
|
+
| 'SB'
|
|
2178
|
+
| 'SC'
|
|
2179
|
+
| 'SD'
|
|
2180
|
+
| 'SE'
|
|
2181
|
+
| 'SG'
|
|
2182
|
+
| 'SH'
|
|
2183
|
+
| 'SI'
|
|
2184
|
+
| 'SJ'
|
|
2185
|
+
| 'SK'
|
|
2186
|
+
| 'SL'
|
|
2187
|
+
| 'SM'
|
|
2188
|
+
| 'SN'
|
|
2189
|
+
| 'SO'
|
|
2190
|
+
| 'SR'
|
|
2191
|
+
| 'SS'
|
|
2192
|
+
| 'ST'
|
|
2193
|
+
| 'SV'
|
|
2194
|
+
| 'SX'
|
|
2195
|
+
| 'SY'
|
|
2196
|
+
| 'SZ'
|
|
2197
|
+
| 'TC'
|
|
2198
|
+
| 'TD'
|
|
2199
|
+
| 'TF'
|
|
2200
|
+
| 'TG'
|
|
2201
|
+
| 'TH'
|
|
2202
|
+
| 'TJ'
|
|
2203
|
+
| 'TK'
|
|
2204
|
+
| 'TL'
|
|
2205
|
+
| 'TM'
|
|
2206
|
+
| 'TN'
|
|
2207
|
+
| 'TO'
|
|
2208
|
+
| 'TR'
|
|
2209
|
+
| 'TT'
|
|
2210
|
+
| 'TV'
|
|
2211
|
+
| 'TW'
|
|
2212
|
+
| 'TZ'
|
|
2213
|
+
| 'UA'
|
|
2214
|
+
| 'UG'
|
|
2215
|
+
| 'UM'
|
|
2216
|
+
| 'US'
|
|
2217
|
+
| 'UY'
|
|
2218
|
+
| 'UZ'
|
|
2219
|
+
| 'VA'
|
|
2220
|
+
| 'VC'
|
|
2221
|
+
| 'VE'
|
|
2222
|
+
| 'VG'
|
|
2223
|
+
| 'VI'
|
|
2224
|
+
| 'VN'
|
|
2225
|
+
| 'VU'
|
|
2226
|
+
| 'WF'
|
|
2227
|
+
| 'WS'
|
|
2228
|
+
| 'XK'
|
|
2229
|
+
| 'YE'
|
|
2230
|
+
| 'YT'
|
|
2231
|
+
| 'ZA'
|
|
2232
|
+
| 'ZM'
|
|
2233
|
+
| 'ZW';
|
|
2234
|
+
|
|
2235
|
+
/** discount info */
|
|
2236
|
+
export type GreenInvoiceDiscount = {
|
|
2237
|
+
readonly __typename?: 'GreenInvoiceDiscount';
|
|
2238
|
+
readonly amount: Scalars['Float']['output'];
|
|
2239
|
+
readonly type: GreenInvoiceDiscountType;
|
|
2240
|
+
};
|
|
2241
|
+
|
|
2242
|
+
/** discount input */
|
|
2243
|
+
export type GreenInvoiceDiscountInput = {
|
|
2244
|
+
readonly amount: Scalars['Float']['input'];
|
|
2245
|
+
readonly type: GreenInvoiceDiscountType;
|
|
2246
|
+
};
|
|
2247
|
+
|
|
2248
|
+
/** discount type enum */
|
|
2249
|
+
export type GreenInvoiceDiscountType =
|
|
2250
|
+
| 'PERCENTAGE'
|
|
2251
|
+
| 'SUM';
|
|
2252
|
+
|
|
2253
|
+
/** document language enum */
|
|
2254
|
+
export type GreenInvoiceDocumentLang =
|
|
2255
|
+
| 'ENGLISH'
|
|
2256
|
+
| 'HEBREW';
|
|
2257
|
+
|
|
2258
|
+
/** income info */
|
|
2259
|
+
export type GreenInvoiceIncome = {
|
|
2260
|
+
readonly __typename?: 'GreenInvoiceIncome';
|
|
2261
|
+
readonly currency: Currency;
|
|
2262
|
+
readonly currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
2263
|
+
readonly description: Scalars['String']['output'];
|
|
2264
|
+
readonly itemId?: Maybe<Scalars['String']['output']>;
|
|
2265
|
+
readonly price: Scalars['Float']['output'];
|
|
2266
|
+
readonly quantity: Scalars['Float']['output'];
|
|
2267
|
+
readonly vatRate?: Maybe<Scalars['Float']['output']>;
|
|
2268
|
+
readonly vatType: GreenInvoiceVatType;
|
|
2269
|
+
};
|
|
2270
|
+
|
|
2271
|
+
/** link type enum */
|
|
2272
|
+
export type GreenInvoiceLinkType =
|
|
2273
|
+
| 'CANCEL'
|
|
2274
|
+
| 'LINK';
|
|
2275
|
+
|
|
2276
|
+
/** payment info */
|
|
2277
|
+
export type GreenInvoicePayment = {
|
|
2278
|
+
readonly __typename?: 'GreenInvoicePayment';
|
|
2279
|
+
readonly accountId?: Maybe<Scalars['String']['output']>;
|
|
2280
|
+
readonly appType?: Maybe<GreenInvoicePaymentAppType>;
|
|
2281
|
+
readonly bankAccount?: Maybe<Scalars['String']['output']>;
|
|
2282
|
+
readonly bankBranch?: Maybe<Scalars['String']['output']>;
|
|
2283
|
+
readonly bankName?: Maybe<Scalars['String']['output']>;
|
|
2284
|
+
readonly cardNum?: Maybe<Scalars['String']['output']>;
|
|
2285
|
+
readonly cardType?: Maybe<GreenInvoicePaymentCardType>;
|
|
2286
|
+
readonly chequeNum?: Maybe<Scalars['String']['output']>;
|
|
2287
|
+
readonly currency: Currency;
|
|
2288
|
+
readonly currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
2289
|
+
readonly date?: Maybe<Scalars['String']['output']>;
|
|
2290
|
+
readonly dealType?: Maybe<GreenInvoicePaymentDealType>;
|
|
2291
|
+
readonly firstPayment?: Maybe<Scalars['Float']['output']>;
|
|
2292
|
+
readonly numPayments?: Maybe<Scalars['Int']['output']>;
|
|
2293
|
+
readonly price: Scalars['Float']['output'];
|
|
2294
|
+
readonly subType?: Maybe<GreenInvoicePaymentSubType>;
|
|
2295
|
+
readonly transactionId?: Maybe<Scalars['String']['output']>;
|
|
2296
|
+
readonly type: GreenInvoicePaymentType;
|
|
2297
|
+
};
|
|
2298
|
+
|
|
2299
|
+
/** payment app type enum */
|
|
2300
|
+
export type GreenInvoicePaymentAppType =
|
|
2301
|
+
| 'APPLE_PAY'
|
|
2302
|
+
| 'BIT'
|
|
2303
|
+
| 'CULO'
|
|
2304
|
+
| 'GOOGLE_PAY'
|
|
2305
|
+
| 'PAYBOX'
|
|
2306
|
+
| 'PAY_BY_PEPPER';
|
|
2307
|
+
|
|
2308
|
+
/** card type enum */
|
|
2309
|
+
export type GreenInvoicePaymentCardType =
|
|
2310
|
+
| 'AMERICAN_EXPRESS'
|
|
2311
|
+
| 'DINERS'
|
|
2312
|
+
| 'ISRACARD'
|
|
2313
|
+
| 'MASTERCARD'
|
|
2314
|
+
| 'UNKNOWN'
|
|
2315
|
+
| 'VISA';
|
|
2316
|
+
|
|
2317
|
+
/** deal type enum */
|
|
2318
|
+
export type GreenInvoicePaymentDealType =
|
|
2319
|
+
| 'CREDIT'
|
|
2320
|
+
| 'DEFERRED'
|
|
2321
|
+
| 'OTHER'
|
|
2322
|
+
| 'PAYMENTS'
|
|
2323
|
+
| 'RECURRING'
|
|
2324
|
+
| 'STANDARD';
|
|
2325
|
+
|
|
2326
|
+
/** income input */
|
|
2327
|
+
export type GreenInvoicePaymentIncomeInput = {
|
|
2328
|
+
readonly amount?: InputMaybe<Scalars['Float']['input']>;
|
|
2329
|
+
readonly amountTotal?: InputMaybe<Scalars['Float']['input']>;
|
|
2330
|
+
readonly catalogNum?: InputMaybe<Scalars['String']['input']>;
|
|
2331
|
+
readonly currency: Currency;
|
|
2332
|
+
readonly currencyRate?: InputMaybe<Scalars['Float']['input']>;
|
|
2333
|
+
readonly description: Scalars['String']['input'];
|
|
2334
|
+
readonly itemId?: InputMaybe<Scalars['String']['input']>;
|
|
2335
|
+
readonly price: Scalars['Float']['input'];
|
|
2336
|
+
readonly quantity: Scalars['Float']['input'];
|
|
2337
|
+
readonly vat?: InputMaybe<Scalars['Float']['input']>;
|
|
2338
|
+
readonly vatRate?: InputMaybe<Scalars['Float']['input']>;
|
|
2339
|
+
readonly vatType: GreenInvoiceVatType;
|
|
2340
|
+
};
|
|
2341
|
+
|
|
2342
|
+
/** payment input */
|
|
2343
|
+
export type GreenInvoicePaymentInput = {
|
|
2344
|
+
readonly accountId?: InputMaybe<Scalars['String']['input']>;
|
|
2345
|
+
readonly appType?: InputMaybe<GreenInvoicePaymentAppType>;
|
|
2346
|
+
readonly bankAccount?: InputMaybe<Scalars['String']['input']>;
|
|
2347
|
+
readonly bankBranch?: InputMaybe<Scalars['String']['input']>;
|
|
2348
|
+
readonly bankName?: InputMaybe<Scalars['String']['input']>;
|
|
2349
|
+
readonly cardNum?: InputMaybe<Scalars['String']['input']>;
|
|
2350
|
+
readonly cardType?: InputMaybe<GreenInvoicePaymentCardType>;
|
|
2351
|
+
readonly chequeNum?: InputMaybe<Scalars['String']['input']>;
|
|
2352
|
+
readonly currency: Currency;
|
|
2353
|
+
readonly currencyRate?: InputMaybe<Scalars['Float']['input']>;
|
|
2354
|
+
readonly date?: InputMaybe<Scalars['String']['input']>;
|
|
2355
|
+
readonly dealType?: InputMaybe<GreenInvoicePaymentDealType>;
|
|
2356
|
+
readonly firstPayment?: InputMaybe<Scalars['Float']['input']>;
|
|
2357
|
+
readonly numPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
2358
|
+
readonly price: Scalars['Float']['input'];
|
|
2359
|
+
readonly subType?: InputMaybe<GreenInvoicePaymentSubType>;
|
|
2360
|
+
readonly transactionId?: InputMaybe<Scalars['String']['input']>;
|
|
2361
|
+
readonly type: GreenInvoicePaymentType;
|
|
2362
|
+
};
|
|
2363
|
+
|
|
2364
|
+
/** payment sub type enum */
|
|
2365
|
+
export type GreenInvoicePaymentSubType =
|
|
2366
|
+
| 'BITCOIN'
|
|
2367
|
+
| 'BUYME_VOUCHER'
|
|
2368
|
+
| 'ETHEREUM'
|
|
2369
|
+
| 'GIFT_CARD'
|
|
2370
|
+
| 'MONEY_EQUAL'
|
|
2371
|
+
| 'NII_EMPLOYEE_DEDUCTION'
|
|
2372
|
+
| 'PAYONEER'
|
|
2373
|
+
| 'V_CHECK';
|
|
2374
|
+
|
|
2375
|
+
/** payment type enum */
|
|
2376
|
+
export type GreenInvoicePaymentType =
|
|
2377
|
+
| 'CASH'
|
|
2378
|
+
| 'CHEQUE'
|
|
2379
|
+
| 'CREDIT_CARD'
|
|
2380
|
+
| 'OTHER'
|
|
2381
|
+
| 'OTHER_DEDUCTION'
|
|
2382
|
+
| 'PAYMENT_APP'
|
|
2383
|
+
| 'PAYPAL'
|
|
2384
|
+
| 'TAX_DEDUCTION'
|
|
2385
|
+
| 'WIRE_TRANSFER';
|
|
2386
|
+
|
|
2387
|
+
/** VAT type enum */
|
|
2388
|
+
export type GreenInvoiceVatType =
|
|
2389
|
+
| 'DEFAULT'
|
|
2390
|
+
| 'EXEMPT'
|
|
2391
|
+
| 'MIXED';
|
|
2392
|
+
|
|
2142
2393
|
/** IFRS reporting option enum (דווח בחלופה - יישום תקני חשבונאות) */
|
|
2143
2394
|
export type IfrsReportingOption =
|
|
2144
2395
|
/** No IFRS implementation (במידה ואין יישום תקני חשבונאות) */
|
|
@@ -2385,7 +2636,7 @@ export type IssuedDocumentInfo = {
|
|
|
2385
2636
|
readonly externalId: Scalars['String']['output'];
|
|
2386
2637
|
readonly id: Scalars['ID']['output'];
|
|
2387
2638
|
readonly linkedDocuments?: Maybe<ReadonlyArray<FinancialDocument>>;
|
|
2388
|
-
readonly originalDocument?: Maybe<
|
|
2639
|
+
readonly originalDocument?: Maybe<NewDocumentInfo>;
|
|
2389
2640
|
/** Status of the issued document in the external system */
|
|
2390
2641
|
readonly status: DocumentStatus;
|
|
2391
2642
|
};
|
|
@@ -2607,6 +2858,7 @@ export type Mutation = {
|
|
|
2607
2858
|
readonly deleteTag: Scalars['Boolean']['output'];
|
|
2608
2859
|
readonly digestGmailMessages: Scalars['Boolean']['output'];
|
|
2609
2860
|
readonly fetchDeelDocuments: ReadonlyArray<Charge>;
|
|
2861
|
+
readonly fetchIncomeDocuments: ReadonlyArray<Document>;
|
|
2610
2862
|
readonly flagForeignFeeTransactions: FlagForeignFeeTransactionsResult;
|
|
2611
2863
|
readonly generateBalanceCharge: FinancialCharge;
|
|
2612
2864
|
readonly generateBankDepositsRevaluationCharge: FinancialCharge;
|
|
@@ -2630,17 +2882,16 @@ export type Mutation = {
|
|
|
2630
2882
|
readonly insertSalaryRecordsFromFile: Scalars['Boolean']['output'];
|
|
2631
2883
|
readonly insertTaxCategory: TaxCategory;
|
|
2632
2884
|
readonly issueGreenInvoiceDocument: Charge;
|
|
2633
|
-
readonly issueGreenInvoiceDocuments:
|
|
2885
|
+
readonly issueGreenInvoiceDocuments: GenerateMonthlyClientDocumentsResult;
|
|
2634
2886
|
readonly lockLedgerRecords: Scalars['Boolean']['output'];
|
|
2635
2887
|
readonly mergeBusinesses: Business;
|
|
2636
2888
|
readonly mergeCharges: MergeChargeResult;
|
|
2637
2889
|
readonly mergeChargesByTransactionReference: MergeChargesByTransactionReferenceResult;
|
|
2638
2890
|
readonly pong?: Maybe<Scalars['Boolean']['output']>;
|
|
2639
|
-
readonly
|
|
2891
|
+
readonly previewGreenInvoiceDocument: Scalars['FileScalar']['output'];
|
|
2640
2892
|
readonly regenerateLedgerRecords: GeneratedLedgerRecords;
|
|
2641
2893
|
readonly startGmailListener: Scalars['Boolean']['output'];
|
|
2642
2894
|
readonly stopGmailListener: Scalars['Boolean']['output'];
|
|
2643
|
-
readonly syncGreenInvoiceDocuments: ReadonlyArray<Document>;
|
|
2644
2895
|
readonly uncategorizePartialBusinessTripExpense: Scalars['Boolean']['output'];
|
|
2645
2896
|
readonly updateAdminBusiness: AdminBusiness;
|
|
2646
2897
|
readonly updateAdminContext: AdminContext;
|
|
@@ -2884,6 +3135,13 @@ export type MutationDeleteTagArgs = {
|
|
|
2884
3135
|
};
|
|
2885
3136
|
|
|
2886
3137
|
|
|
3138
|
+
/** mutation root */
|
|
3139
|
+
export type MutationFetchIncomeDocumentsArgs = {
|
|
3140
|
+
ownerId: Scalars['UUID']['input'];
|
|
3141
|
+
singlePageLimit?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3142
|
+
};
|
|
3143
|
+
|
|
3144
|
+
|
|
2887
3145
|
/** mutation root */
|
|
2888
3146
|
export type MutationGenerateBalanceChargeArgs = {
|
|
2889
3147
|
balanceRecords: ReadonlyArray<InsertMiscExpenseInput>;
|
|
@@ -3026,14 +3284,14 @@ export type MutationIssueGreenInvoiceDocumentArgs = {
|
|
|
3026
3284
|
attachment?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3027
3285
|
chargeId?: InputMaybe<Scalars['UUID']['input']>;
|
|
3028
3286
|
emailContent?: InputMaybe<Scalars['String']['input']>;
|
|
3029
|
-
input:
|
|
3287
|
+
input: NewDocumentInput;
|
|
3030
3288
|
sendEmail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3031
3289
|
};
|
|
3032
3290
|
|
|
3033
3291
|
|
|
3034
3292
|
/** mutation root */
|
|
3035
3293
|
export type MutationIssueGreenInvoiceDocumentsArgs = {
|
|
3036
|
-
generateDocumentsInfo: ReadonlyArray<
|
|
3294
|
+
generateDocumentsInfo: ReadonlyArray<NewDocumentInput>;
|
|
3037
3295
|
};
|
|
3038
3296
|
|
|
3039
3297
|
|
|
@@ -3059,8 +3317,8 @@ export type MutationMergeChargesArgs = {
|
|
|
3059
3317
|
|
|
3060
3318
|
|
|
3061
3319
|
/** mutation root */
|
|
3062
|
-
export type
|
|
3063
|
-
input:
|
|
3320
|
+
export type MutationPreviewGreenInvoiceDocumentArgs = {
|
|
3321
|
+
input: NewDocumentInput;
|
|
3064
3322
|
};
|
|
3065
3323
|
|
|
3066
3324
|
|
|
@@ -3070,13 +3328,6 @@ export type MutationRegenerateLedgerRecordsArgs = {
|
|
|
3070
3328
|
};
|
|
3071
3329
|
|
|
3072
3330
|
|
|
3073
|
-
/** mutation root */
|
|
3074
|
-
export type MutationSyncGreenInvoiceDocumentsArgs = {
|
|
3075
|
-
ownerId: Scalars['UUID']['input'];
|
|
3076
|
-
singlePageLimit?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3077
|
-
};
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
3331
|
/** mutation root */
|
|
3081
3332
|
export type MutationUncategorizePartialBusinessTripExpenseArgs = {
|
|
3082
3333
|
businessTripExpenseId: Scalars['UUID']['input'];
|
|
@@ -3314,6 +3565,53 @@ export type MutationUploadDocumentArgs = {
|
|
|
3314
3565
|
file: Scalars['FileScalar']['input'];
|
|
3315
3566
|
};
|
|
3316
3567
|
|
|
3568
|
+
/** for previewing/issuing document */
|
|
3569
|
+
export type NewDocumentInfo = {
|
|
3570
|
+
readonly __typename?: 'NewDocumentInfo';
|
|
3571
|
+
readonly client?: Maybe<GreenInvoiceClient>;
|
|
3572
|
+
readonly currency: Currency;
|
|
3573
|
+
readonly date?: Maybe<Scalars['String']['output']>;
|
|
3574
|
+
readonly description?: Maybe<Scalars['String']['output']>;
|
|
3575
|
+
readonly discount?: Maybe<GreenInvoiceDiscount>;
|
|
3576
|
+
readonly dueDate?: Maybe<Scalars['String']['output']>;
|
|
3577
|
+
readonly footer?: Maybe<Scalars['String']['output']>;
|
|
3578
|
+
readonly income?: Maybe<ReadonlyArray<GreenInvoiceIncome>>;
|
|
3579
|
+
readonly lang: GreenInvoiceDocumentLang;
|
|
3580
|
+
readonly linkType?: Maybe<GreenInvoiceLinkType>;
|
|
3581
|
+
readonly linkedDocumentIds?: Maybe<ReadonlyArray<Scalars['String']['output']>>;
|
|
3582
|
+
readonly linkedPaymentId?: Maybe<Scalars['String']['output']>;
|
|
3583
|
+
readonly maxPayments?: Maybe<Scalars['Int']['output']>;
|
|
3584
|
+
readonly payment?: Maybe<ReadonlyArray<GreenInvoicePayment>>;
|
|
3585
|
+
readonly remarks?: Maybe<Scalars['String']['output']>;
|
|
3586
|
+
readonly rounding?: Maybe<Scalars['Boolean']['output']>;
|
|
3587
|
+
readonly signed?: Maybe<Scalars['Boolean']['output']>;
|
|
3588
|
+
readonly type: DocumentType;
|
|
3589
|
+
readonly vatType: GreenInvoiceVatType;
|
|
3590
|
+
};
|
|
3591
|
+
|
|
3592
|
+
/** input for previewing document */
|
|
3593
|
+
export type NewDocumentInput = {
|
|
3594
|
+
readonly client?: InputMaybe<GreenInvoiceClientInput>;
|
|
3595
|
+
readonly currency: Currency;
|
|
3596
|
+
readonly date?: InputMaybe<Scalars['String']['input']>;
|
|
3597
|
+
readonly description?: InputMaybe<Scalars['String']['input']>;
|
|
3598
|
+
readonly discount?: InputMaybe<GreenInvoiceDiscountInput>;
|
|
3599
|
+
readonly dueDate?: InputMaybe<Scalars['String']['input']>;
|
|
3600
|
+
readonly footer?: InputMaybe<Scalars['String']['input']>;
|
|
3601
|
+
readonly income?: InputMaybe<ReadonlyArray<GreenInvoicePaymentIncomeInput>>;
|
|
3602
|
+
readonly lang: GreenInvoiceDocumentLang;
|
|
3603
|
+
readonly linkType?: InputMaybe<GreenInvoiceLinkType>;
|
|
3604
|
+
readonly linkedDocumentIds?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
3605
|
+
readonly linkedPaymentId?: InputMaybe<Scalars['String']['input']>;
|
|
3606
|
+
readonly maxPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
3607
|
+
readonly payment?: InputMaybe<ReadonlyArray<GreenInvoicePaymentInput>>;
|
|
3608
|
+
readonly remarks?: InputMaybe<Scalars['String']['input']>;
|
|
3609
|
+
readonly rounding?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3610
|
+
readonly signed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3611
|
+
readonly type: DocumentType;
|
|
3612
|
+
readonly vatType: GreenInvoiceVatType;
|
|
3613
|
+
};
|
|
3614
|
+
|
|
3317
3615
|
/** processed non-financial document */
|
|
3318
3616
|
export type OtherDocument = Document & Linkable & {
|
|
3319
3617
|
readonly __typename?: 'OtherDocument';
|
|
@@ -3367,18 +3665,6 @@ export type PaginatedFinancialEntities = {
|
|
|
3367
3665
|
readonly pageInfo: PageInfo;
|
|
3368
3666
|
};
|
|
3369
3667
|
|
|
3370
|
-
/** payment type enum */
|
|
3371
|
-
export type PaymentType =
|
|
3372
|
-
| 'CASH'
|
|
3373
|
-
| 'CHEQUE'
|
|
3374
|
-
| 'CREDIT_CARD'
|
|
3375
|
-
| 'OTHER'
|
|
3376
|
-
| 'OTHER_DEDUCTION'
|
|
3377
|
-
| 'PAYMENT_APP'
|
|
3378
|
-
| 'PAYPAL'
|
|
3379
|
-
| 'TAX_DEDUCTION'
|
|
3380
|
-
| 'WIRE_TRANSFER';
|
|
3381
|
-
|
|
3382
3668
|
/** record type of PCN874 report */
|
|
3383
3669
|
export type Pcn874RecordType =
|
|
3384
3670
|
| 'C'
|
|
@@ -3528,7 +3814,9 @@ export type Query = {
|
|
|
3528
3814
|
readonly chargesWithLedgerChanges: ReadonlyArray<ChargesWithLedgerChangesResult>;
|
|
3529
3815
|
readonly chargesWithMissingRequiredInfo: PaginatedCharges;
|
|
3530
3816
|
readonly client: Client;
|
|
3531
|
-
readonly
|
|
3817
|
+
readonly clientChargesDraftsByContracts: ReadonlyArray<NewDocumentInfo>;
|
|
3818
|
+
readonly clientMonthlyChargeDraft: NewDocumentInfo;
|
|
3819
|
+
readonly clientMonthlyChargesDrafts: ReadonlyArray<NewDocumentInfo>;
|
|
3532
3820
|
readonly contractsByAdmin: ReadonlyArray<Contract>;
|
|
3533
3821
|
readonly contractsByClient: ReadonlyArray<Contract>;
|
|
3534
3822
|
readonly contractsById: Contract;
|
|
@@ -3557,12 +3845,10 @@ export type Query = {
|
|
|
3557
3845
|
readonly ledgerRecordsByDates: ReadonlyArray<LedgerRecord>;
|
|
3558
3846
|
readonly ledgerRecordsByFinancialEntity: ReadonlyArray<LedgerRecord>;
|
|
3559
3847
|
readonly miscExpensesByCharge: ReadonlyArray<MiscExpense>;
|
|
3560
|
-
readonly
|
|
3561
|
-
readonly
|
|
3848
|
+
readonly newDocumentInfoDraftByCharge: NewDocumentInfo;
|
|
3849
|
+
readonly newDocumentInfoDraftByDocument: NewDocumentInfo;
|
|
3562
3850
|
readonly pcnByDate: ReadonlyArray<Pcn874Records>;
|
|
3563
3851
|
readonly pcnFile: PcnFileResult;
|
|
3564
|
-
readonly periodicalDocumentDrafts: ReadonlyArray<DocumentDraft>;
|
|
3565
|
-
readonly periodicalDocumentDraftsByContracts: ReadonlyArray<DocumentDraft>;
|
|
3566
3852
|
readonly ping?: Maybe<Scalars['Boolean']['output']>;
|
|
3567
3853
|
readonly profitAndLossReport: ProfitAndLossReport;
|
|
3568
3854
|
readonly recentDocumentsByBusiness: ReadonlyArray<Document>;
|
|
@@ -3695,6 +3981,13 @@ export type QueryClientArgs = {
|
|
|
3695
3981
|
};
|
|
3696
3982
|
|
|
3697
3983
|
|
|
3984
|
+
/** query root */
|
|
3985
|
+
export type QueryClientChargesDraftsByContractsArgs = {
|
|
3986
|
+
contractIds: ReadonlyArray<Scalars['UUID']['input']>;
|
|
3987
|
+
issueMonth: Scalars['TimelessDate']['input'];
|
|
3988
|
+
};
|
|
3989
|
+
|
|
3990
|
+
|
|
3698
3991
|
/** query root */
|
|
3699
3992
|
export type QueryClientMonthlyChargeDraftArgs = {
|
|
3700
3993
|
clientId: Scalars['UUID']['input'];
|
|
@@ -3702,6 +3995,12 @@ export type QueryClientMonthlyChargeDraftArgs = {
|
|
|
3702
3995
|
};
|
|
3703
3996
|
|
|
3704
3997
|
|
|
3998
|
+
/** query root */
|
|
3999
|
+
export type QueryClientMonthlyChargesDraftsArgs = {
|
|
4000
|
+
issueMonth: Scalars['TimelessDate']['input'];
|
|
4001
|
+
};
|
|
4002
|
+
|
|
4003
|
+
|
|
3705
4004
|
/** query root */
|
|
3706
4005
|
export type QueryContractsByAdminArgs = {
|
|
3707
4006
|
adminId: Scalars['UUID']['input'];
|
|
@@ -3842,13 +4141,13 @@ export type QueryMiscExpensesByChargeArgs = {
|
|
|
3842
4141
|
|
|
3843
4142
|
|
|
3844
4143
|
/** query root */
|
|
3845
|
-
export type
|
|
4144
|
+
export type QueryNewDocumentInfoDraftByChargeArgs = {
|
|
3846
4145
|
chargeId: Scalars['UUID']['input'];
|
|
3847
4146
|
};
|
|
3848
4147
|
|
|
3849
4148
|
|
|
3850
4149
|
/** query root */
|
|
3851
|
-
export type
|
|
4150
|
+
export type QueryNewDocumentInfoDraftByDocumentArgs = {
|
|
3852
4151
|
documentId: Scalars['UUID']['input'];
|
|
3853
4152
|
};
|
|
3854
4153
|
|
|
@@ -3869,19 +4168,6 @@ export type QueryPcnFileArgs = {
|
|
|
3869
4168
|
};
|
|
3870
4169
|
|
|
3871
4170
|
|
|
3872
|
-
/** query root */
|
|
3873
|
-
export type QueryPeriodicalDocumentDraftsArgs = {
|
|
3874
|
-
issueMonth: Scalars['TimelessDate']['input'];
|
|
3875
|
-
};
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
/** query root */
|
|
3879
|
-
export type QueryPeriodicalDocumentDraftsByContractsArgs = {
|
|
3880
|
-
contractIds: ReadonlyArray<Scalars['UUID']['input']>;
|
|
3881
|
-
issueMonth: Scalars['TimelessDate']['input'];
|
|
3882
|
-
};
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
4171
|
/** query root */
|
|
3886
4172
|
export type QueryProfitAndLossReportArgs = {
|
|
3887
4173
|
referenceYears: ReadonlyArray<Scalars['Int']['input']>;
|
|
@@ -5303,23 +5589,9 @@ export type ResolversTypes = {
|
|
|
5303
5589
|
DividendCharge: ResolverTypeWrapper<IGetChargesByIdsResult>;
|
|
5304
5590
|
DividendMock: ResolverTypeWrapper<Scalars['DividendMock']['output']>;
|
|
5305
5591
|
Document: ResolverTypeWrapper<ResolversInterfaceTypes<ResolversTypes>['Document']>;
|
|
5306
|
-
DocumentClientInput: DocumentClientInput;
|
|
5307
|
-
DocumentDiscount: ResolverTypeWrapper<DocumentDiscount>;
|
|
5308
|
-
DocumentDiscountInput: DocumentDiscountInput;
|
|
5309
|
-
DocumentDiscountType: DocumentDiscountType;
|
|
5310
|
-
DocumentDraft: ResolverTypeWrapper<Omit<DocumentDraft, 'client'> & { client?: Maybe<ResolversTypes['Client']> }>;
|
|
5311
|
-
DocumentIncomeRecord: ResolverTypeWrapper<DocumentIncomeRecord>;
|
|
5312
|
-
DocumentIncomeRecordInput: DocumentIncomeRecordInput;
|
|
5313
|
-
DocumentIssueInput: DocumentIssueInput;
|
|
5314
|
-
DocumentLanguage: DocumentLanguage;
|
|
5315
|
-
DocumentLinkType: DocumentLinkType;
|
|
5316
|
-
DocumentPaymentRecord: ResolverTypeWrapper<DocumentPaymentRecord>;
|
|
5317
|
-
DocumentPaymentRecordCardType: DocumentPaymentRecordCardType;
|
|
5318
|
-
DocumentPaymentRecordInput: DocumentPaymentRecordInput;
|
|
5319
5592
|
DocumentStatus: DocumentStatus;
|
|
5320
5593
|
DocumentSuggestions: ResolverTypeWrapper<DocumentSuggestionsProto>;
|
|
5321
5594
|
DocumentType: DocumentType;
|
|
5322
|
-
DocumentVatType: DocumentVatType;
|
|
5323
5595
|
DocumentsFilters: DocumentsFilters;
|
|
5324
5596
|
DynamicReportInfo: ResolverTypeWrapper<IGetTemplateResult>;
|
|
5325
5597
|
DynamicReportNode: ResolverTypeWrapper<DynamicReportNode>;
|
|
@@ -5345,9 +5617,26 @@ export type ResolversTypes = {
|
|
|
5345
5617
|
ForeignSecuritiesCharge: ResolverTypeWrapper<IGetChargesByIdsResult>;
|
|
5346
5618
|
ForeignSecuritiesFinancialAccount: ResolverTypeWrapper<IGetFinancialAccountsByOwnerIdsResult>;
|
|
5347
5619
|
Fund: ResolverTypeWrapper<ResolversInterfaceTypes<ResolversTypes>['Fund']>;
|
|
5348
|
-
|
|
5620
|
+
GenerateMonthlyClientDocumentsResult: ResolverTypeWrapper<GenerateMonthlyClientDocumentsResult>;
|
|
5349
5621
|
GeneratedLedgerRecords: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['GeneratedLedgerRecords']>;
|
|
5350
5622
|
GreenInvoiceClient: ResolverTypeWrapper<string>;
|
|
5623
|
+
GreenInvoiceClientInput: GreenInvoiceClientInput;
|
|
5624
|
+
GreenInvoiceCountry: GreenInvoiceCountry;
|
|
5625
|
+
GreenInvoiceDiscount: ResolverTypeWrapper<GreenInvoiceDiscount>;
|
|
5626
|
+
GreenInvoiceDiscountInput: GreenInvoiceDiscountInput;
|
|
5627
|
+
GreenInvoiceDiscountType: GreenInvoiceDiscountType;
|
|
5628
|
+
GreenInvoiceDocumentLang: GreenInvoiceDocumentLang;
|
|
5629
|
+
GreenInvoiceIncome: ResolverTypeWrapper<GreenInvoiceIncome>;
|
|
5630
|
+
GreenInvoiceLinkType: GreenInvoiceLinkType;
|
|
5631
|
+
GreenInvoicePayment: ResolverTypeWrapper<GreenInvoicePayment>;
|
|
5632
|
+
GreenInvoicePaymentAppType: GreenInvoicePaymentAppType;
|
|
5633
|
+
GreenInvoicePaymentCardType: GreenInvoicePaymentCardType;
|
|
5634
|
+
GreenInvoicePaymentDealType: GreenInvoicePaymentDealType;
|
|
5635
|
+
GreenInvoicePaymentIncomeInput: GreenInvoicePaymentIncomeInput;
|
|
5636
|
+
GreenInvoicePaymentInput: GreenInvoicePaymentInput;
|
|
5637
|
+
GreenInvoicePaymentSubType: GreenInvoicePaymentSubType;
|
|
5638
|
+
GreenInvoicePaymentType: GreenInvoicePaymentType;
|
|
5639
|
+
GreenInvoiceVatType: GreenInvoiceVatType;
|
|
5351
5640
|
ID: ResolverTypeWrapper<Scalars['ID']['output']>;
|
|
5352
5641
|
IFRSReportingOption: IfrsReportingOption;
|
|
5353
5642
|
IncomeExpenseChart: ResolverTypeWrapper<Omit<IncomeExpenseChart, 'monthlyData'> & { monthlyData: ReadonlyArray<ResolversTypes['IncomeExpenseChartMonthData']> }>;
|
|
@@ -5389,6 +5678,8 @@ export type ResolversTypes = {
|
|
|
5389
5678
|
MissingChargeInfo: MissingChargeInfo;
|
|
5390
5679
|
MonthlyVatCharge: ResolverTypeWrapper<IGetChargesByIdsResult>;
|
|
5391
5680
|
Mutation: ResolverTypeWrapper<Record<PropertyKey, never>>;
|
|
5681
|
+
NewDocumentInfo: ResolverTypeWrapper<Omit<NewDocumentInfo, 'client'> & { client?: Maybe<ResolversTypes['GreenInvoiceClient']> }>;
|
|
5682
|
+
NewDocumentInput: NewDocumentInput;
|
|
5392
5683
|
OtherDocument: ResolverTypeWrapper<IGetAllDocumentsResult>;
|
|
5393
5684
|
PCNFileResult: ResolverTypeWrapper<PcnFileResult>;
|
|
5394
5685
|
PCNOptionsInput: PcnOptionsInput;
|
|
@@ -5396,7 +5687,6 @@ export type ResolversTypes = {
|
|
|
5396
5687
|
PaginatedBusinesses: ResolverTypeWrapper<Omit<PaginatedBusinesses, 'nodes'> & { nodes: ReadonlyArray<ResolversTypes['Business']> }>;
|
|
5397
5688
|
PaginatedCharges: ResolverTypeWrapper<Omit<PaginatedCharges, 'nodes'> & { nodes: ReadonlyArray<ResolversTypes['Charge']> }>;
|
|
5398
5689
|
PaginatedFinancialEntities: ResolverTypeWrapper<Omit<PaginatedFinancialEntities, 'nodes'> & { nodes: ReadonlyArray<ResolversTypes['FinancialEntity']> }>;
|
|
5399
|
-
PaymentType: PaymentType;
|
|
5400
5690
|
Pcn874RecordType: Pcn874RecordType;
|
|
5401
5691
|
Pcn874Records: ResolverTypeWrapper<Omit<Pcn874Records, 'business'> & { business: ResolversTypes['Business'] }>;
|
|
5402
5692
|
PensionFund: ResolverTypeWrapper<PensionFund>;
|
|
@@ -5600,15 +5890,6 @@ export type ResolversParentTypes = {
|
|
|
5600
5890
|
DividendCharge: IGetChargesByIdsResult;
|
|
5601
5891
|
DividendMock: Scalars['DividendMock']['output'];
|
|
5602
5892
|
Document: ResolversInterfaceTypes<ResolversParentTypes>['Document'];
|
|
5603
|
-
DocumentClientInput: DocumentClientInput;
|
|
5604
|
-
DocumentDiscount: DocumentDiscount;
|
|
5605
|
-
DocumentDiscountInput: DocumentDiscountInput;
|
|
5606
|
-
DocumentDraft: Omit<DocumentDraft, 'client'> & { client?: Maybe<ResolversParentTypes['Client']> };
|
|
5607
|
-
DocumentIncomeRecord: DocumentIncomeRecord;
|
|
5608
|
-
DocumentIncomeRecordInput: DocumentIncomeRecordInput;
|
|
5609
|
-
DocumentIssueInput: DocumentIssueInput;
|
|
5610
|
-
DocumentPaymentRecord: DocumentPaymentRecord;
|
|
5611
|
-
DocumentPaymentRecordInput: DocumentPaymentRecordInput;
|
|
5612
5893
|
DocumentSuggestions: DocumentSuggestionsProto;
|
|
5613
5894
|
DocumentsFilters: DocumentsFilters;
|
|
5614
5895
|
DynamicReportInfo: IGetTemplateResult;
|
|
@@ -5631,9 +5912,16 @@ export type ResolversParentTypes = {
|
|
|
5631
5912
|
ForeignSecuritiesCharge: IGetChargesByIdsResult;
|
|
5632
5913
|
ForeignSecuritiesFinancialAccount: IGetFinancialAccountsByOwnerIdsResult;
|
|
5633
5914
|
Fund: ResolversInterfaceTypes<ResolversParentTypes>['Fund'];
|
|
5634
|
-
|
|
5915
|
+
GenerateMonthlyClientDocumentsResult: GenerateMonthlyClientDocumentsResult;
|
|
5635
5916
|
GeneratedLedgerRecords: ResolversUnionTypes<ResolversParentTypes>['GeneratedLedgerRecords'];
|
|
5636
5917
|
GreenInvoiceClient: string;
|
|
5918
|
+
GreenInvoiceClientInput: GreenInvoiceClientInput;
|
|
5919
|
+
GreenInvoiceDiscount: GreenInvoiceDiscount;
|
|
5920
|
+
GreenInvoiceDiscountInput: GreenInvoiceDiscountInput;
|
|
5921
|
+
GreenInvoiceIncome: GreenInvoiceIncome;
|
|
5922
|
+
GreenInvoicePayment: GreenInvoicePayment;
|
|
5923
|
+
GreenInvoicePaymentIncomeInput: GreenInvoicePaymentIncomeInput;
|
|
5924
|
+
GreenInvoicePaymentInput: GreenInvoicePaymentInput;
|
|
5637
5925
|
ID: Scalars['ID']['output'];
|
|
5638
5926
|
IncomeExpenseChart: Omit<IncomeExpenseChart, 'monthlyData'> & { monthlyData: ReadonlyArray<ResolversParentTypes['IncomeExpenseChartMonthData']> };
|
|
5639
5927
|
IncomeExpenseChartFilters: IncomeExpenseChartFilters;
|
|
@@ -5671,6 +5959,8 @@ export type ResolversParentTypes = {
|
|
|
5671
5959
|
MiscExpense: IGetExpensesByChargeIdsResult;
|
|
5672
5960
|
MonthlyVatCharge: IGetChargesByIdsResult;
|
|
5673
5961
|
Mutation: Record<PropertyKey, never>;
|
|
5962
|
+
NewDocumentInfo: Omit<NewDocumentInfo, 'client'> & { client?: Maybe<ResolversParentTypes['GreenInvoiceClient']> };
|
|
5963
|
+
NewDocumentInput: NewDocumentInput;
|
|
5674
5964
|
OtherDocument: IGetAllDocumentsResult;
|
|
5675
5965
|
PCNFileResult: PcnFileResult;
|
|
5676
5966
|
PCNOptionsInput: PcnOptionsInput;
|
|
@@ -6746,62 +7036,6 @@ export type DocumentResolvers<ContextType = GraphQLModules.Context, ParentType e
|
|
|
6746
7036
|
isReviewed?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
6747
7037
|
};
|
|
6748
7038
|
|
|
6749
|
-
export type DocumentDiscountResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['DocumentDiscount'] = ResolversParentTypes['DocumentDiscount']> = {
|
|
6750
|
-
amount?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
6751
|
-
type?: Resolver<ResolversTypes['DocumentDiscountType'], ParentType, ContextType>;
|
|
6752
|
-
};
|
|
6753
|
-
|
|
6754
|
-
export type DocumentDraftResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['DocumentDraft'] = ResolversParentTypes['DocumentDraft']> = {
|
|
6755
|
-
client?: Resolver<Maybe<ResolversTypes['Client']>, ParentType, ContextType>;
|
|
6756
|
-
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
6757
|
-
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6758
|
-
description?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6759
|
-
discount?: Resolver<Maybe<ResolversTypes['DocumentDiscount']>, ParentType, ContextType>;
|
|
6760
|
-
dueDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6761
|
-
footer?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6762
|
-
income?: Resolver<Maybe<ReadonlyArray<ResolversTypes['DocumentIncomeRecord']>>, ParentType, ContextType>;
|
|
6763
|
-
language?: Resolver<ResolversTypes['DocumentLanguage'], ParentType, ContextType>;
|
|
6764
|
-
linkType?: Resolver<Maybe<ResolversTypes['DocumentLinkType']>, ParentType, ContextType>;
|
|
6765
|
-
linkedDocumentIds?: Resolver<Maybe<ReadonlyArray<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
6766
|
-
linkedPaymentId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6767
|
-
maxPayments?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
6768
|
-
payment?: Resolver<Maybe<ReadonlyArray<ResolversTypes['DocumentPaymentRecord']>>, ParentType, ContextType>;
|
|
6769
|
-
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6770
|
-
rounding?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
6771
|
-
signed?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
6772
|
-
type?: Resolver<ResolversTypes['DocumentType'], ParentType, ContextType>;
|
|
6773
|
-
vatType?: Resolver<ResolversTypes['DocumentVatType'], ParentType, ContextType>;
|
|
6774
|
-
};
|
|
6775
|
-
|
|
6776
|
-
export type DocumentIncomeRecordResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['DocumentIncomeRecord'] = ResolversParentTypes['DocumentIncomeRecord']> = {
|
|
6777
|
-
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
6778
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
6779
|
-
description?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
6780
|
-
itemId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6781
|
-
price?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
6782
|
-
quantity?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
6783
|
-
vatRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
6784
|
-
vatType?: Resolver<ResolversTypes['DocumentVatType'], ParentType, ContextType>;
|
|
6785
|
-
};
|
|
6786
|
-
|
|
6787
|
-
export type DocumentPaymentRecordResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['DocumentPaymentRecord'] = ResolversParentTypes['DocumentPaymentRecord']> = {
|
|
6788
|
-
accountId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6789
|
-
bankAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6790
|
-
bankBranch?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6791
|
-
bankName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6792
|
-
cardNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6793
|
-
cardType?: Resolver<Maybe<ResolversTypes['DocumentPaymentRecordCardType']>, ParentType, ContextType>;
|
|
6794
|
-
chequeNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6795
|
-
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
6796
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
6797
|
-
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6798
|
-
firstPayment?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
6799
|
-
numPayments?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
6800
|
-
price?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
6801
|
-
transactionId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6802
|
-
type?: Resolver<ResolversTypes['PaymentType'], ParentType, ContextType>;
|
|
6803
|
-
};
|
|
6804
|
-
|
|
6805
7039
|
export type DocumentSuggestionsResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['DocumentSuggestions'] = ResolversParentTypes['DocumentSuggestions']> = {
|
|
6806
7040
|
amount?: Resolver<Maybe<ResolversTypes['FinancialAmount']>, ParentType, ContextType>;
|
|
6807
7041
|
counterparty?: Resolver<Maybe<ResolversTypes['FinancialEntity']>, ParentType, ContextType>;
|
|
@@ -7013,7 +7247,7 @@ export type FundResolvers<ContextType = GraphQLModules.Context, ParentType exten
|
|
|
7013
7247
|
name?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
7014
7248
|
};
|
|
7015
7249
|
|
|
7016
|
-
export type
|
|
7250
|
+
export type GenerateMonthlyClientDocumentsResultResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['GenerateMonthlyClientDocumentsResult'] = ResolversParentTypes['GenerateMonthlyClientDocumentsResult']> = {
|
|
7017
7251
|
errors?: Resolver<Maybe<ReadonlyArray<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
7018
7252
|
success?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
7019
7253
|
};
|
|
@@ -7027,7 +7261,7 @@ export type GreenInvoiceClientResolvers<ContextType = GraphQLModules.Context, Pa
|
|
|
7027
7261
|
address?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7028
7262
|
businessId?: Resolver<ResolversTypes['UUID'], ParentType, ContextType>;
|
|
7029
7263
|
city?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7030
|
-
country?: Resolver<Maybe<ResolversTypes['
|
|
7264
|
+
country?: Resolver<Maybe<ResolversTypes['GreenInvoiceCountry']>, ParentType, ContextType>;
|
|
7031
7265
|
emails?: Resolver<Maybe<ReadonlyArray<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
7032
7266
|
fax?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7033
7267
|
greenInvoiceId?: Resolver<Maybe<ResolversTypes['ID']>, ParentType, ContextType>;
|
|
@@ -7039,6 +7273,43 @@ export type GreenInvoiceClientResolvers<ContextType = GraphQLModules.Context, Pa
|
|
|
7039
7273
|
zip?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7040
7274
|
};
|
|
7041
7275
|
|
|
7276
|
+
export type GreenInvoiceDiscountResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['GreenInvoiceDiscount'] = ResolversParentTypes['GreenInvoiceDiscount']> = {
|
|
7277
|
+
amount?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
7278
|
+
type?: Resolver<ResolversTypes['GreenInvoiceDiscountType'], ParentType, ContextType>;
|
|
7279
|
+
};
|
|
7280
|
+
|
|
7281
|
+
export type GreenInvoiceIncomeResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['GreenInvoiceIncome'] = ResolversParentTypes['GreenInvoiceIncome']> = {
|
|
7282
|
+
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
7283
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
7284
|
+
description?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
7285
|
+
itemId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7286
|
+
price?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
7287
|
+
quantity?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
7288
|
+
vatRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
7289
|
+
vatType?: Resolver<ResolversTypes['GreenInvoiceVatType'], ParentType, ContextType>;
|
|
7290
|
+
};
|
|
7291
|
+
|
|
7292
|
+
export type GreenInvoicePaymentResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['GreenInvoicePayment'] = ResolversParentTypes['GreenInvoicePayment']> = {
|
|
7293
|
+
accountId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7294
|
+
appType?: Resolver<Maybe<ResolversTypes['GreenInvoicePaymentAppType']>, ParentType, ContextType>;
|
|
7295
|
+
bankAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7296
|
+
bankBranch?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7297
|
+
bankName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7298
|
+
cardNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7299
|
+
cardType?: Resolver<Maybe<ResolversTypes['GreenInvoicePaymentCardType']>, ParentType, ContextType>;
|
|
7300
|
+
chequeNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7301
|
+
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
7302
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
7303
|
+
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7304
|
+
dealType?: Resolver<Maybe<ResolversTypes['GreenInvoicePaymentDealType']>, ParentType, ContextType>;
|
|
7305
|
+
firstPayment?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
7306
|
+
numPayments?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
7307
|
+
price?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
7308
|
+
subType?: Resolver<Maybe<ResolversTypes['GreenInvoicePaymentSubType']>, ParentType, ContextType>;
|
|
7309
|
+
transactionId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7310
|
+
type?: Resolver<ResolversTypes['GreenInvoicePaymentType'], ParentType, ContextType>;
|
|
7311
|
+
};
|
|
7312
|
+
|
|
7042
7313
|
export type IncomeExpenseChartResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['IncomeExpenseChart'] = ResolversParentTypes['IncomeExpenseChart']> = {
|
|
7043
7314
|
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
7044
7315
|
fromDate?: Resolver<ResolversTypes['TimelessDate'], ParentType, ContextType>;
|
|
@@ -7158,7 +7429,7 @@ export type IssuedDocumentInfoResolvers<ContextType = GraphQLModules.Context, Pa
|
|
|
7158
7429
|
externalId?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
7159
7430
|
id?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
|
|
7160
7431
|
linkedDocuments?: Resolver<Maybe<ReadonlyArray<ResolversTypes['FinancialDocument']>>, ParentType, ContextType>;
|
|
7161
|
-
originalDocument?: Resolver<Maybe<ResolversTypes['
|
|
7432
|
+
originalDocument?: Resolver<Maybe<ResolversTypes['NewDocumentInfo']>, ParentType, ContextType>;
|
|
7162
7433
|
status?: Resolver<ResolversTypes['DocumentStatus'], ParentType, ContextType>;
|
|
7163
7434
|
};
|
|
7164
7435
|
|
|
@@ -7343,6 +7614,7 @@ export type MutationResolvers<ContextType = GraphQLModules.Context, ParentType e
|
|
|
7343
7614
|
deleteTag?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType, RequireFields<MutationDeleteTagArgs, 'id'>>;
|
|
7344
7615
|
digestGmailMessages?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
7345
7616
|
fetchDeelDocuments?: Resolver<ReadonlyArray<ResolversTypes['Charge']>, ParentType, ContextType>;
|
|
7617
|
+
fetchIncomeDocuments?: Resolver<ReadonlyArray<ResolversTypes['Document']>, ParentType, ContextType, RequireFields<MutationFetchIncomeDocumentsArgs, 'ownerId'>>;
|
|
7346
7618
|
flagForeignFeeTransactions?: Resolver<ResolversTypes['FlagForeignFeeTransactionsResult'], ParentType, ContextType>;
|
|
7347
7619
|
generateBalanceCharge?: Resolver<ResolversTypes['FinancialCharge'], ParentType, ContextType, RequireFields<MutationGenerateBalanceChargeArgs, 'balanceRecords' | 'description'>>;
|
|
7348
7620
|
generateBankDepositsRevaluationCharge?: Resolver<ResolversTypes['FinancialCharge'], ParentType, ContextType, RequireFields<MutationGenerateBankDepositsRevaluationChargeArgs, 'date' | 'ownerId'>>;
|
|
@@ -7366,17 +7638,16 @@ export type MutationResolvers<ContextType = GraphQLModules.Context, ParentType e
|
|
|
7366
7638
|
insertSalaryRecordsFromFile?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType, RequireFields<MutationInsertSalaryRecordsFromFileArgs, 'chargeId' | 'file'>>;
|
|
7367
7639
|
insertTaxCategory?: Resolver<ResolversTypes['TaxCategory'], ParentType, ContextType, RequireFields<MutationInsertTaxCategoryArgs, 'fields'>>;
|
|
7368
7640
|
issueGreenInvoiceDocument?: Resolver<ResolversTypes['Charge'], ParentType, ContextType, RequireFields<MutationIssueGreenInvoiceDocumentArgs, 'input'>>;
|
|
7369
|
-
issueGreenInvoiceDocuments?: Resolver<ResolversTypes['
|
|
7641
|
+
issueGreenInvoiceDocuments?: Resolver<ResolversTypes['GenerateMonthlyClientDocumentsResult'], ParentType, ContextType, RequireFields<MutationIssueGreenInvoiceDocumentsArgs, 'generateDocumentsInfo'>>;
|
|
7370
7642
|
lockLedgerRecords?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType, RequireFields<MutationLockLedgerRecordsArgs, 'date'>>;
|
|
7371
7643
|
mergeBusinesses?: Resolver<ResolversTypes['Business'], ParentType, ContextType, RequireFields<MutationMergeBusinessesArgs, 'businessIdsToMerge' | 'targetBusinessId'>>;
|
|
7372
7644
|
mergeCharges?: Resolver<ResolversTypes['MergeChargeResult'], ParentType, ContextType, RequireFields<MutationMergeChargesArgs, 'baseChargeID' | 'chargeIdsToMerge'>>;
|
|
7373
7645
|
mergeChargesByTransactionReference?: Resolver<ResolversTypes['MergeChargesByTransactionReferenceResult'], ParentType, ContextType>;
|
|
7374
7646
|
pong?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
7375
|
-
|
|
7647
|
+
previewGreenInvoiceDocument?: Resolver<ResolversTypes['FileScalar'], ParentType, ContextType, RequireFields<MutationPreviewGreenInvoiceDocumentArgs, 'input'>>;
|
|
7376
7648
|
regenerateLedgerRecords?: Resolver<ResolversTypes['GeneratedLedgerRecords'], ParentType, ContextType, RequireFields<MutationRegenerateLedgerRecordsArgs, 'chargeId'>>;
|
|
7377
7649
|
startGmailListener?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
7378
7650
|
stopGmailListener?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
7379
|
-
syncGreenInvoiceDocuments?: Resolver<ReadonlyArray<ResolversTypes['Document']>, ParentType, ContextType, RequireFields<MutationSyncGreenInvoiceDocumentsArgs, 'ownerId'>>;
|
|
7380
7651
|
uncategorizePartialBusinessTripExpense?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType, RequireFields<MutationUncategorizePartialBusinessTripExpenseArgs, 'businessTripExpenseId' | 'transactionId'>>;
|
|
7381
7652
|
updateAdminBusiness?: Resolver<ResolversTypes['AdminBusiness'], ParentType, ContextType, RequireFields<MutationUpdateAdminBusinessArgs, 'businessId' | 'fields'>>;
|
|
7382
7653
|
updateAdminContext?: Resolver<ResolversTypes['AdminContext'], ParentType, ContextType, RequireFields<MutationUpdateAdminContextArgs, 'context'>>;
|
|
@@ -7414,6 +7685,28 @@ export type MutationResolvers<ContextType = GraphQLModules.Context, ParentType e
|
|
|
7414
7685
|
uploadDocument?: Resolver<ResolversTypes['UploadDocumentResult'], ParentType, ContextType, RequireFields<MutationUploadDocumentArgs, 'file'>>;
|
|
7415
7686
|
};
|
|
7416
7687
|
|
|
7688
|
+
export type NewDocumentInfoResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['NewDocumentInfo'] = ResolversParentTypes['NewDocumentInfo']> = {
|
|
7689
|
+
client?: Resolver<Maybe<ResolversTypes['GreenInvoiceClient']>, ParentType, ContextType>;
|
|
7690
|
+
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
7691
|
+
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7692
|
+
description?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7693
|
+
discount?: Resolver<Maybe<ResolversTypes['GreenInvoiceDiscount']>, ParentType, ContextType>;
|
|
7694
|
+
dueDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7695
|
+
footer?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7696
|
+
income?: Resolver<Maybe<ReadonlyArray<ResolversTypes['GreenInvoiceIncome']>>, ParentType, ContextType>;
|
|
7697
|
+
lang?: Resolver<ResolversTypes['GreenInvoiceDocumentLang'], ParentType, ContextType>;
|
|
7698
|
+
linkType?: Resolver<Maybe<ResolversTypes['GreenInvoiceLinkType']>, ParentType, ContextType>;
|
|
7699
|
+
linkedDocumentIds?: Resolver<Maybe<ReadonlyArray<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
7700
|
+
linkedPaymentId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7701
|
+
maxPayments?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
7702
|
+
payment?: Resolver<Maybe<ReadonlyArray<ResolversTypes['GreenInvoicePayment']>>, ParentType, ContextType>;
|
|
7703
|
+
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7704
|
+
rounding?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
7705
|
+
signed?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
7706
|
+
type?: Resolver<ResolversTypes['DocumentType'], ParentType, ContextType>;
|
|
7707
|
+
vatType?: Resolver<ResolversTypes['GreenInvoiceVatType'], ParentType, ContextType>;
|
|
7708
|
+
};
|
|
7709
|
+
|
|
7417
7710
|
export type OtherDocumentResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['OtherDocument'] = ResolversParentTypes['OtherDocument']> = {
|
|
7418
7711
|
charge?: Resolver<Maybe<ResolversTypes['Charge']>, ParentType, ContextType>;
|
|
7419
7712
|
documentType?: Resolver<Maybe<ResolversTypes['DocumentType']>, ParentType, ContextType>;
|
|
@@ -7554,7 +7847,9 @@ export type QueryResolvers<ContextType = GraphQLModules.Context, ParentType exte
|
|
|
7554
7847
|
chargesWithLedgerChanges?: Resolver<ReadonlyArray<ResolversTypes['ChargesWithLedgerChangesResult']>, ParentType, ContextType, Partial<QueryChargesWithLedgerChangesArgs>>;
|
|
7555
7848
|
chargesWithMissingRequiredInfo?: Resolver<ResolversTypes['PaginatedCharges'], ParentType, ContextType, RequireFields<QueryChargesWithMissingRequiredInfoArgs, 'limit' | 'page'>>;
|
|
7556
7849
|
client?: Resolver<ResolversTypes['Client'], ParentType, ContextType, RequireFields<QueryClientArgs, 'businessId'>>;
|
|
7557
|
-
|
|
7850
|
+
clientChargesDraftsByContracts?: Resolver<ReadonlyArray<ResolversTypes['NewDocumentInfo']>, ParentType, ContextType, RequireFields<QueryClientChargesDraftsByContractsArgs, 'contractIds' | 'issueMonth'>>;
|
|
7851
|
+
clientMonthlyChargeDraft?: Resolver<ResolversTypes['NewDocumentInfo'], ParentType, ContextType, RequireFields<QueryClientMonthlyChargeDraftArgs, 'clientId' | 'issueMonth'>>;
|
|
7852
|
+
clientMonthlyChargesDrafts?: Resolver<ReadonlyArray<ResolversTypes['NewDocumentInfo']>, ParentType, ContextType, RequireFields<QueryClientMonthlyChargesDraftsArgs, 'issueMonth'>>;
|
|
7558
7853
|
contractsByAdmin?: Resolver<ReadonlyArray<ResolversTypes['Contract']>, ParentType, ContextType, RequireFields<QueryContractsByAdminArgs, 'adminId'>>;
|
|
7559
7854
|
contractsByClient?: Resolver<ReadonlyArray<ResolversTypes['Contract']>, ParentType, ContextType, RequireFields<QueryContractsByClientArgs, 'clientId'>>;
|
|
7560
7855
|
contractsById?: Resolver<ResolversTypes['Contract'], ParentType, ContextType, RequireFields<QueryContractsByIdArgs, 'id'>>;
|
|
@@ -7581,12 +7876,10 @@ export type QueryResolvers<ContextType = GraphQLModules.Context, ParentType exte
|
|
|
7581
7876
|
ledgerRecordsByDates?: Resolver<ReadonlyArray<ResolversTypes['LedgerRecord']>, ParentType, ContextType, RequireFields<QueryLedgerRecordsByDatesArgs, 'fromDate' | 'toDate'>>;
|
|
7582
7877
|
ledgerRecordsByFinancialEntity?: Resolver<ReadonlyArray<ResolversTypes['LedgerRecord']>, ParentType, ContextType, RequireFields<QueryLedgerRecordsByFinancialEntityArgs, 'financialEntityId'>>;
|
|
7583
7878
|
miscExpensesByCharge?: Resolver<ReadonlyArray<ResolversTypes['MiscExpense']>, ParentType, ContextType, RequireFields<QueryMiscExpensesByChargeArgs, 'chargeId'>>;
|
|
7584
|
-
|
|
7585
|
-
|
|
7879
|
+
newDocumentInfoDraftByCharge?: Resolver<ResolversTypes['NewDocumentInfo'], ParentType, ContextType, RequireFields<QueryNewDocumentInfoDraftByChargeArgs, 'chargeId'>>;
|
|
7880
|
+
newDocumentInfoDraftByDocument?: Resolver<ResolversTypes['NewDocumentInfo'], ParentType, ContextType, RequireFields<QueryNewDocumentInfoDraftByDocumentArgs, 'documentId'>>;
|
|
7586
7881
|
pcnByDate?: Resolver<ReadonlyArray<ResolversTypes['Pcn874Records']>, ParentType, ContextType, RequireFields<QueryPcnByDateArgs, 'fromMonthDate' | 'toMonthDate'>>;
|
|
7587
7882
|
pcnFile?: Resolver<ResolversTypes['PCNFileResult'], ParentType, ContextType, RequireFields<QueryPcnFileArgs, 'financialEntityId' | 'monthDate'>>;
|
|
7588
|
-
periodicalDocumentDrafts?: Resolver<ReadonlyArray<ResolversTypes['DocumentDraft']>, ParentType, ContextType, RequireFields<QueryPeriodicalDocumentDraftsArgs, 'issueMonth'>>;
|
|
7589
|
-
periodicalDocumentDraftsByContracts?: Resolver<ReadonlyArray<ResolversTypes['DocumentDraft']>, ParentType, ContextType, RequireFields<QueryPeriodicalDocumentDraftsByContractsArgs, 'contractIds' | 'issueMonth'>>;
|
|
7590
7883
|
ping?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
7591
7884
|
profitAndLossReport?: Resolver<ResolversTypes['ProfitAndLossReport'], ParentType, ContextType, RequireFields<QueryProfitAndLossReportArgs, 'referenceYears' | 'reportYear'>>;
|
|
7592
7885
|
recentDocumentsByBusiness?: Resolver<ReadonlyArray<ResolversTypes['Document']>, ParentType, ContextType, RequireFields<QueryRecentDocumentsByBusinessArgs, 'businessId'>>;
|
|
@@ -8161,10 +8454,6 @@ export type Resolvers<ContextType = GraphQLModules.Context> = {
|
|
|
8161
8454
|
DividendCharge?: DividendChargeResolvers<ContextType>;
|
|
8162
8455
|
DividendMock?: GraphQLScalarType;
|
|
8163
8456
|
Document?: DocumentResolvers<ContextType>;
|
|
8164
|
-
DocumentDiscount?: DocumentDiscountResolvers<ContextType>;
|
|
8165
|
-
DocumentDraft?: DocumentDraftResolvers<ContextType>;
|
|
8166
|
-
DocumentIncomeRecord?: DocumentIncomeRecordResolvers<ContextType>;
|
|
8167
|
-
DocumentPaymentRecord?: DocumentPaymentRecordResolvers<ContextType>;
|
|
8168
8457
|
DocumentSuggestions?: DocumentSuggestionsResolvers<ContextType>;
|
|
8169
8458
|
DocumentType?: DocumentTypeResolvers;
|
|
8170
8459
|
DynamicReportInfo?: DynamicReportInfoResolvers<ContextType>;
|
|
@@ -8185,9 +8474,12 @@ export type Resolvers<ContextType = GraphQLModules.Context> = {
|
|
|
8185
8474
|
ForeignSecuritiesCharge?: ForeignSecuritiesChargeResolvers<ContextType>;
|
|
8186
8475
|
ForeignSecuritiesFinancialAccount?: ForeignSecuritiesFinancialAccountResolvers<ContextType>;
|
|
8187
8476
|
Fund?: FundResolvers<ContextType>;
|
|
8188
|
-
|
|
8477
|
+
GenerateMonthlyClientDocumentsResult?: GenerateMonthlyClientDocumentsResultResolvers<ContextType>;
|
|
8189
8478
|
GeneratedLedgerRecords?: GeneratedLedgerRecordsResolvers<ContextType>;
|
|
8190
8479
|
GreenInvoiceClient?: GreenInvoiceClientResolvers<ContextType>;
|
|
8480
|
+
GreenInvoiceDiscount?: GreenInvoiceDiscountResolvers<ContextType>;
|
|
8481
|
+
GreenInvoiceIncome?: GreenInvoiceIncomeResolvers<ContextType>;
|
|
8482
|
+
GreenInvoicePayment?: GreenInvoicePaymentResolvers<ContextType>;
|
|
8191
8483
|
IncomeExpenseChart?: IncomeExpenseChartResolvers<ContextType>;
|
|
8192
8484
|
IncomeExpenseChartMonthData?: IncomeExpenseChartMonthDataResolvers<ContextType>;
|
|
8193
8485
|
InsertDepreciationCategoryResult?: InsertDepreciationCategoryResultResolvers<ContextType>;
|
|
@@ -8215,6 +8507,7 @@ export type Resolvers<ContextType = GraphQLModules.Context> = {
|
|
|
8215
8507
|
MissingChargeInfo?: MissingChargeInfoResolvers;
|
|
8216
8508
|
MonthlyVatCharge?: MonthlyVatChargeResolvers<ContextType>;
|
|
8217
8509
|
Mutation?: MutationResolvers<ContextType>;
|
|
8510
|
+
NewDocumentInfo?: NewDocumentInfoResolvers<ContextType>;
|
|
8218
8511
|
OtherDocument?: OtherDocumentResolvers<ContextType>;
|
|
8219
8512
|
PCNFileResult?: PcnFileResultResolvers<ContextType>;
|
|
8220
8513
|
PageInfo?: PageInfoResolvers<ContextType>;
|