@accounter/server 0.0.9-alpha-20251216161545-668306e40cf3aed663f444e0004246489fbec6d4 → 0.0.9-alpha-20251216205426-5f8c6ec241db9449687000a5cc5dbb8cbb861623
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 +28 -5
- package/dist/green-invoice-graphql/src/mesh-artifacts/index.d.ts +1 -1
- package/dist/green-invoice-graphql/src/mesh-artifacts/index.js +2 -2
- package/dist/green-invoice-graphql/src/mesh-artifacts/index.js.map +1 -1
- package/dist/server/src/__generated__/types.d.ts +282 -301
- 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/contracts/helpers/contracts.helper.d.ts +2 -0
- package/dist/server/src/modules/contracts/helpers/contracts.helper.js +20 -0
- package/dist/server/src/modules/contracts/helpers/contracts.helper.js.map +1 -1
- package/dist/server/src/modules/documents/__generated__/types.d.ts +121 -7
- package/dist/server/src/modules/documents/__generated__/types.js.map +1 -1
- package/dist/server/src/modules/documents/helpers/common.helper.d.ts +2 -0
- package/dist/server/src/modules/documents/helpers/common.helper.js +20 -0
- package/dist/server/src/modules/documents/helpers/common.helper.js.map +1 -1
- package/dist/server/src/modules/documents/helpers/issue-document.helper.d.ts +21 -0
- package/dist/server/src/modules/{green-invoice → documents}/helpers/issue-document.helper.js +61 -11
- package/dist/server/src/modules/documents/helpers/issue-document.helper.js.map +1 -0
- package/dist/server/src/modules/documents/index.js +9 -2
- package/dist/server/src/modules/documents/index.js.map +1 -1
- package/dist/server/src/modules/documents/resolvers/documents-issuing.resolver.d.ts +2 -0
- package/dist/server/src/modules/documents/resolvers/documents-issuing.resolver.js +357 -0
- package/dist/server/src/modules/documents/resolvers/documents-issuing.resolver.js.map +1 -0
- package/dist/server/src/modules/documents/typeDefs/documents-issuing.graphql.d.ts +2 -0
- package/dist/server/src/modules/documents/typeDefs/documents-issuing.graphql.js +228 -0
- package/dist/server/src/modules/documents/typeDefs/documents-issuing.graphql.js.map +1 -0
- package/dist/server/src/modules/green-invoice/__generated__/types.d.ts +6 -135
- package/dist/server/src/modules/green-invoice/__generated__/types.js +0 -2
- package/dist/server/src/modules/green-invoice/__generated__/types.js.map +1 -1
- package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.d.ts +21 -27
- package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.js +160 -151
- package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.js.map +1 -1
- package/dist/server/src/modules/green-invoice/resolvers/green-invoice.resolvers.js +4 -347
- 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 +4 -512
- 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 +2 -2
- package/src/__generated__/types.ts +327 -620
- package/src/modules/contracts/helpers/contracts.helper.ts +22 -0
- package/src/modules/documents/__generated__/types.ts +121 -7
- package/src/modules/documents/helpers/common.helper.ts +21 -0
- package/src/modules/{green-invoice → documents}/helpers/issue-document.helper.ts +104 -44
- package/src/modules/documents/index.ts +9 -2
- package/src/modules/documents/resolvers/documents-issuing.resolver.ts +554 -0
- package/src/modules/documents/typeDefs/documents-issuing.graphql.ts +228 -0
- package/src/modules/green-invoice/__generated__/types.ts +6 -137
- package/src/modules/green-invoice/helpers/green-invoice.helper.ts +195 -201
- package/src/modules/green-invoice/resolvers/green-invoice.resolvers.ts +5 -520
- package/src/modules/green-invoice/typeDefs/green-invoice.graphql.ts +4 -512
- package/dist/server/src/modules/green-invoice/helpers/contract-to-draft.helper.d.ts +0 -7
- package/dist/server/src/modules/green-invoice/helpers/contract-to-draft.helper.js +0 -53
- package/dist/server/src/modules/green-invoice/helpers/contract-to-draft.helper.js.map +0 -1
- package/dist/server/src/modules/green-invoice/helpers/issue-document.helper.d.ts +0 -19
- package/dist/server/src/modules/green-invoice/helpers/issue-document.helper.js.map +0 -1
- package/src/modules/green-invoice/helpers/contract-to-draft.helper.ts +0 -69
|
@@ -1622,6 +1622,178 @@ 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
|
+
|
|
1625
1797
|
/** Document status */
|
|
1626
1798
|
export type DocumentStatus =
|
|
1627
1799
|
| 'CANCELLED'
|
|
@@ -1645,6 +1817,12 @@ export type DocumentSuggestions = {
|
|
|
1645
1817
|
|
|
1646
1818
|
export { DocumentType };
|
|
1647
1819
|
|
|
1820
|
+
/** VAT type enum */
|
|
1821
|
+
export type DocumentVatType =
|
|
1822
|
+
| 'DEFAULT'
|
|
1823
|
+
| 'EXEMPT'
|
|
1824
|
+
| 'MIXED';
|
|
1825
|
+
|
|
1648
1826
|
/** input variables for documents filtering */
|
|
1649
1827
|
export type DocumentsFilters = {
|
|
1650
1828
|
readonly businessIDs?: InputMaybe<ReadonlyArray<Scalars['UUID']['input']>>;
|
|
@@ -1932,9 +2110,9 @@ export type Fund = {
|
|
|
1932
2110
|
readonly name: Scalars['String']['output'];
|
|
1933
2111
|
};
|
|
1934
2112
|
|
|
1935
|
-
/** result type for
|
|
1936
|
-
export type
|
|
1937
|
-
readonly __typename?: '
|
|
2113
|
+
/** result type for generateDocuments */
|
|
2114
|
+
export type GenerateDocumentsResult = {
|
|
2115
|
+
readonly __typename?: 'GenerateDocumentsResult';
|
|
1938
2116
|
readonly errors?: Maybe<ReadonlyArray<Scalars['String']['output']>>;
|
|
1939
2117
|
readonly success: Scalars['Boolean']['output'];
|
|
1940
2118
|
};
|
|
@@ -1949,7 +2127,7 @@ export type GreenInvoiceClient = {
|
|
|
1949
2127
|
readonly address?: Maybe<Scalars['String']['output']>;
|
|
1950
2128
|
readonly businessId: Scalars['UUID']['output'];
|
|
1951
2129
|
readonly city?: Maybe<Scalars['String']['output']>;
|
|
1952
|
-
readonly country?: Maybe<
|
|
2130
|
+
readonly country?: Maybe<Country>;
|
|
1953
2131
|
readonly emails?: Maybe<ReadonlyArray<Scalars['String']['output']>>;
|
|
1954
2132
|
readonly fax?: Maybe<Scalars['String']['output']>;
|
|
1955
2133
|
readonly greenInvoiceId?: Maybe<Scalars['ID']['output']>;
|
|
@@ -1961,435 +2139,6 @@ export type GreenInvoiceClient = {
|
|
|
1961
2139
|
readonly zip?: Maybe<Scalars['String']['output']>;
|
|
1962
2140
|
};
|
|
1963
2141
|
|
|
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
|
-
|
|
2393
2142
|
/** IFRS reporting option enum (דווח בחלופה - יישום תקני חשבונאות) */
|
|
2394
2143
|
export type IfrsReportingOption =
|
|
2395
2144
|
/** No IFRS implementation (במידה ואין יישום תקני חשבונאות) */
|
|
@@ -2636,7 +2385,7 @@ export type IssuedDocumentInfo = {
|
|
|
2636
2385
|
readonly externalId: Scalars['String']['output'];
|
|
2637
2386
|
readonly id: Scalars['ID']['output'];
|
|
2638
2387
|
readonly linkedDocuments?: Maybe<ReadonlyArray<FinancialDocument>>;
|
|
2639
|
-
readonly originalDocument?: Maybe<
|
|
2388
|
+
readonly originalDocument?: Maybe<DocumentDraft>;
|
|
2640
2389
|
/** Status of the issued document in the external system */
|
|
2641
2390
|
readonly status: DocumentStatus;
|
|
2642
2391
|
};
|
|
@@ -2858,7 +2607,6 @@ export type Mutation = {
|
|
|
2858
2607
|
readonly deleteTag: Scalars['Boolean']['output'];
|
|
2859
2608
|
readonly digestGmailMessages: Scalars['Boolean']['output'];
|
|
2860
2609
|
readonly fetchDeelDocuments: ReadonlyArray<Charge>;
|
|
2861
|
-
readonly fetchIncomeDocuments: ReadonlyArray<Document>;
|
|
2862
2610
|
readonly flagForeignFeeTransactions: FlagForeignFeeTransactionsResult;
|
|
2863
2611
|
readonly generateBalanceCharge: FinancialCharge;
|
|
2864
2612
|
readonly generateBankDepositsRevaluationCharge: FinancialCharge;
|
|
@@ -2882,16 +2630,17 @@ export type Mutation = {
|
|
|
2882
2630
|
readonly insertSalaryRecordsFromFile: Scalars['Boolean']['output'];
|
|
2883
2631
|
readonly insertTaxCategory: TaxCategory;
|
|
2884
2632
|
readonly issueGreenInvoiceDocument: Charge;
|
|
2885
|
-
readonly issueGreenInvoiceDocuments:
|
|
2633
|
+
readonly issueGreenInvoiceDocuments: GenerateDocumentsResult;
|
|
2886
2634
|
readonly lockLedgerRecords: Scalars['Boolean']['output'];
|
|
2887
2635
|
readonly mergeBusinesses: Business;
|
|
2888
2636
|
readonly mergeCharges: MergeChargeResult;
|
|
2889
2637
|
readonly mergeChargesByTransactionReference: MergeChargesByTransactionReferenceResult;
|
|
2890
2638
|
readonly pong?: Maybe<Scalars['Boolean']['output']>;
|
|
2891
|
-
readonly
|
|
2639
|
+
readonly previewDocument: Scalars['FileScalar']['output'];
|
|
2892
2640
|
readonly regenerateLedgerRecords: GeneratedLedgerRecords;
|
|
2893
2641
|
readonly startGmailListener: Scalars['Boolean']['output'];
|
|
2894
2642
|
readonly stopGmailListener: Scalars['Boolean']['output'];
|
|
2643
|
+
readonly syncGreenInvoiceDocuments: ReadonlyArray<Document>;
|
|
2895
2644
|
readonly uncategorizePartialBusinessTripExpense: Scalars['Boolean']['output'];
|
|
2896
2645
|
readonly updateAdminBusiness: AdminBusiness;
|
|
2897
2646
|
readonly updateAdminContext: AdminContext;
|
|
@@ -3135,13 +2884,6 @@ export type MutationDeleteTagArgs = {
|
|
|
3135
2884
|
};
|
|
3136
2885
|
|
|
3137
2886
|
|
|
3138
|
-
/** mutation root */
|
|
3139
|
-
export type MutationFetchIncomeDocumentsArgs = {
|
|
3140
|
-
ownerId: Scalars['UUID']['input'];
|
|
3141
|
-
singlePageLimit?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3142
|
-
};
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
2887
|
/** mutation root */
|
|
3146
2888
|
export type MutationGenerateBalanceChargeArgs = {
|
|
3147
2889
|
balanceRecords: ReadonlyArray<InsertMiscExpenseInput>;
|
|
@@ -3284,14 +3026,14 @@ export type MutationIssueGreenInvoiceDocumentArgs = {
|
|
|
3284
3026
|
attachment?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3285
3027
|
chargeId?: InputMaybe<Scalars['UUID']['input']>;
|
|
3286
3028
|
emailContent?: InputMaybe<Scalars['String']['input']>;
|
|
3287
|
-
input:
|
|
3029
|
+
input: DocumentIssueInput;
|
|
3288
3030
|
sendEmail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3289
3031
|
};
|
|
3290
3032
|
|
|
3291
3033
|
|
|
3292
3034
|
/** mutation root */
|
|
3293
3035
|
export type MutationIssueGreenInvoiceDocumentsArgs = {
|
|
3294
|
-
generateDocumentsInfo: ReadonlyArray<
|
|
3036
|
+
generateDocumentsInfo: ReadonlyArray<DocumentIssueInput>;
|
|
3295
3037
|
};
|
|
3296
3038
|
|
|
3297
3039
|
|
|
@@ -3317,8 +3059,8 @@ export type MutationMergeChargesArgs = {
|
|
|
3317
3059
|
|
|
3318
3060
|
|
|
3319
3061
|
/** mutation root */
|
|
3320
|
-
export type
|
|
3321
|
-
input:
|
|
3062
|
+
export type MutationPreviewDocumentArgs = {
|
|
3063
|
+
input: DocumentIssueInput;
|
|
3322
3064
|
};
|
|
3323
3065
|
|
|
3324
3066
|
|
|
@@ -3328,6 +3070,13 @@ export type MutationRegenerateLedgerRecordsArgs = {
|
|
|
3328
3070
|
};
|
|
3329
3071
|
|
|
3330
3072
|
|
|
3073
|
+
/** mutation root */
|
|
3074
|
+
export type MutationSyncGreenInvoiceDocumentsArgs = {
|
|
3075
|
+
ownerId: Scalars['UUID']['input'];
|
|
3076
|
+
singlePageLimit?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3077
|
+
};
|
|
3078
|
+
|
|
3079
|
+
|
|
3331
3080
|
/** mutation root */
|
|
3332
3081
|
export type MutationUncategorizePartialBusinessTripExpenseArgs = {
|
|
3333
3082
|
businessTripExpenseId: Scalars['UUID']['input'];
|
|
@@ -3565,53 +3314,6 @@ export type MutationUploadDocumentArgs = {
|
|
|
3565
3314
|
file: Scalars['FileScalar']['input'];
|
|
3566
3315
|
};
|
|
3567
3316
|
|
|
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
|
-
|
|
3615
3317
|
/** processed non-financial document */
|
|
3616
3318
|
export type OtherDocument = Document & Linkable & {
|
|
3617
3319
|
readonly __typename?: 'OtherDocument';
|
|
@@ -3665,6 +3367,18 @@ export type PaginatedFinancialEntities = {
|
|
|
3665
3367
|
readonly pageInfo: PageInfo;
|
|
3666
3368
|
};
|
|
3667
3369
|
|
|
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
|
+
|
|
3668
3382
|
/** record type of PCN874 report */
|
|
3669
3383
|
export type Pcn874RecordType =
|
|
3670
3384
|
| 'C'
|
|
@@ -3814,9 +3528,7 @@ export type Query = {
|
|
|
3814
3528
|
readonly chargesWithLedgerChanges: ReadonlyArray<ChargesWithLedgerChangesResult>;
|
|
3815
3529
|
readonly chargesWithMissingRequiredInfo: PaginatedCharges;
|
|
3816
3530
|
readonly client: Client;
|
|
3817
|
-
readonly
|
|
3818
|
-
readonly clientMonthlyChargeDraft: NewDocumentInfo;
|
|
3819
|
-
readonly clientMonthlyChargesDrafts: ReadonlyArray<NewDocumentInfo>;
|
|
3531
|
+
readonly clientMonthlyChargeDraft: DocumentDraft;
|
|
3820
3532
|
readonly contractsByAdmin: ReadonlyArray<Contract>;
|
|
3821
3533
|
readonly contractsByClient: ReadonlyArray<Contract>;
|
|
3822
3534
|
readonly contractsById: Contract;
|
|
@@ -3845,10 +3557,12 @@ export type Query = {
|
|
|
3845
3557
|
readonly ledgerRecordsByDates: ReadonlyArray<LedgerRecord>;
|
|
3846
3558
|
readonly ledgerRecordsByFinancialEntity: ReadonlyArray<LedgerRecord>;
|
|
3847
3559
|
readonly miscExpensesByCharge: ReadonlyArray<MiscExpense>;
|
|
3848
|
-
readonly
|
|
3849
|
-
readonly
|
|
3560
|
+
readonly newDocumentDraftByCharge: DocumentDraft;
|
|
3561
|
+
readonly newDocumentDraftByDocument: DocumentDraft;
|
|
3850
3562
|
readonly pcnByDate: ReadonlyArray<Pcn874Records>;
|
|
3851
3563
|
readonly pcnFile: PcnFileResult;
|
|
3564
|
+
readonly periodicalDocumentDrafts: ReadonlyArray<DocumentDraft>;
|
|
3565
|
+
readonly periodicalDocumentDraftsByContracts: ReadonlyArray<DocumentDraft>;
|
|
3852
3566
|
readonly ping?: Maybe<Scalars['Boolean']['output']>;
|
|
3853
3567
|
readonly profitAndLossReport: ProfitAndLossReport;
|
|
3854
3568
|
readonly recentDocumentsByBusiness: ReadonlyArray<Document>;
|
|
@@ -3981,13 +3695,6 @@ export type QueryClientArgs = {
|
|
|
3981
3695
|
};
|
|
3982
3696
|
|
|
3983
3697
|
|
|
3984
|
-
/** query root */
|
|
3985
|
-
export type QueryClientChargesDraftsByContractsArgs = {
|
|
3986
|
-
contractIds: ReadonlyArray<Scalars['UUID']['input']>;
|
|
3987
|
-
issueMonth: Scalars['TimelessDate']['input'];
|
|
3988
|
-
};
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
3698
|
/** query root */
|
|
3992
3699
|
export type QueryClientMonthlyChargeDraftArgs = {
|
|
3993
3700
|
clientId: Scalars['UUID']['input'];
|
|
@@ -3995,12 +3702,6 @@ export type QueryClientMonthlyChargeDraftArgs = {
|
|
|
3995
3702
|
};
|
|
3996
3703
|
|
|
3997
3704
|
|
|
3998
|
-
/** query root */
|
|
3999
|
-
export type QueryClientMonthlyChargesDraftsArgs = {
|
|
4000
|
-
issueMonth: Scalars['TimelessDate']['input'];
|
|
4001
|
-
};
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
3705
|
/** query root */
|
|
4005
3706
|
export type QueryContractsByAdminArgs = {
|
|
4006
3707
|
adminId: Scalars['UUID']['input'];
|
|
@@ -4141,13 +3842,13 @@ export type QueryMiscExpensesByChargeArgs = {
|
|
|
4141
3842
|
|
|
4142
3843
|
|
|
4143
3844
|
/** query root */
|
|
4144
|
-
export type
|
|
3845
|
+
export type QueryNewDocumentDraftByChargeArgs = {
|
|
4145
3846
|
chargeId: Scalars['UUID']['input'];
|
|
4146
3847
|
};
|
|
4147
3848
|
|
|
4148
3849
|
|
|
4149
3850
|
/** query root */
|
|
4150
|
-
export type
|
|
3851
|
+
export type QueryNewDocumentDraftByDocumentArgs = {
|
|
4151
3852
|
documentId: Scalars['UUID']['input'];
|
|
4152
3853
|
};
|
|
4153
3854
|
|
|
@@ -4168,6 +3869,19 @@ export type QueryPcnFileArgs = {
|
|
|
4168
3869
|
};
|
|
4169
3870
|
|
|
4170
3871
|
|
|
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
|
+
|
|
4171
3885
|
/** query root */
|
|
4172
3886
|
export type QueryProfitAndLossReportArgs = {
|
|
4173
3887
|
referenceYears: ReadonlyArray<Scalars['Int']['input']>;
|
|
@@ -5589,9 +5303,23 @@ export type ResolversTypes = {
|
|
|
5589
5303
|
DividendCharge: ResolverTypeWrapper<IGetChargesByIdsResult>;
|
|
5590
5304
|
DividendMock: ResolverTypeWrapper<Scalars['DividendMock']['output']>;
|
|
5591
5305
|
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;
|
|
5592
5319
|
DocumentStatus: DocumentStatus;
|
|
5593
5320
|
DocumentSuggestions: ResolverTypeWrapper<DocumentSuggestionsProto>;
|
|
5594
5321
|
DocumentType: DocumentType;
|
|
5322
|
+
DocumentVatType: DocumentVatType;
|
|
5595
5323
|
DocumentsFilters: DocumentsFilters;
|
|
5596
5324
|
DynamicReportInfo: ResolverTypeWrapper<IGetTemplateResult>;
|
|
5597
5325
|
DynamicReportNode: ResolverTypeWrapper<DynamicReportNode>;
|
|
@@ -5617,26 +5345,9 @@ export type ResolversTypes = {
|
|
|
5617
5345
|
ForeignSecuritiesCharge: ResolverTypeWrapper<IGetChargesByIdsResult>;
|
|
5618
5346
|
ForeignSecuritiesFinancialAccount: ResolverTypeWrapper<IGetFinancialAccountsByOwnerIdsResult>;
|
|
5619
5347
|
Fund: ResolverTypeWrapper<ResolversInterfaceTypes<ResolversTypes>['Fund']>;
|
|
5620
|
-
|
|
5348
|
+
GenerateDocumentsResult: ResolverTypeWrapper<GenerateDocumentsResult>;
|
|
5621
5349
|
GeneratedLedgerRecords: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['GeneratedLedgerRecords']>;
|
|
5622
5350
|
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;
|
|
5640
5351
|
ID: ResolverTypeWrapper<Scalars['ID']['output']>;
|
|
5641
5352
|
IFRSReportingOption: IfrsReportingOption;
|
|
5642
5353
|
IncomeExpenseChart: ResolverTypeWrapper<Omit<IncomeExpenseChart, 'monthlyData'> & { monthlyData: ReadonlyArray<ResolversTypes['IncomeExpenseChartMonthData']> }>;
|
|
@@ -5678,8 +5389,6 @@ export type ResolversTypes = {
|
|
|
5678
5389
|
MissingChargeInfo: MissingChargeInfo;
|
|
5679
5390
|
MonthlyVatCharge: ResolverTypeWrapper<IGetChargesByIdsResult>;
|
|
5680
5391
|
Mutation: ResolverTypeWrapper<Record<PropertyKey, never>>;
|
|
5681
|
-
NewDocumentInfo: ResolverTypeWrapper<Omit<NewDocumentInfo, 'client'> & { client?: Maybe<ResolversTypes['GreenInvoiceClient']> }>;
|
|
5682
|
-
NewDocumentInput: NewDocumentInput;
|
|
5683
5392
|
OtherDocument: ResolverTypeWrapper<IGetAllDocumentsResult>;
|
|
5684
5393
|
PCNFileResult: ResolverTypeWrapper<PcnFileResult>;
|
|
5685
5394
|
PCNOptionsInput: PcnOptionsInput;
|
|
@@ -5687,6 +5396,7 @@ export type ResolversTypes = {
|
|
|
5687
5396
|
PaginatedBusinesses: ResolverTypeWrapper<Omit<PaginatedBusinesses, 'nodes'> & { nodes: ReadonlyArray<ResolversTypes['Business']> }>;
|
|
5688
5397
|
PaginatedCharges: ResolverTypeWrapper<Omit<PaginatedCharges, 'nodes'> & { nodes: ReadonlyArray<ResolversTypes['Charge']> }>;
|
|
5689
5398
|
PaginatedFinancialEntities: ResolverTypeWrapper<Omit<PaginatedFinancialEntities, 'nodes'> & { nodes: ReadonlyArray<ResolversTypes['FinancialEntity']> }>;
|
|
5399
|
+
PaymentType: PaymentType;
|
|
5690
5400
|
Pcn874RecordType: Pcn874RecordType;
|
|
5691
5401
|
Pcn874Records: ResolverTypeWrapper<Omit<Pcn874Records, 'business'> & { business: ResolversTypes['Business'] }>;
|
|
5692
5402
|
PensionFund: ResolverTypeWrapper<PensionFund>;
|
|
@@ -5890,6 +5600,15 @@ export type ResolversParentTypes = {
|
|
|
5890
5600
|
DividendCharge: IGetChargesByIdsResult;
|
|
5891
5601
|
DividendMock: Scalars['DividendMock']['output'];
|
|
5892
5602
|
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;
|
|
5893
5612
|
DocumentSuggestions: DocumentSuggestionsProto;
|
|
5894
5613
|
DocumentsFilters: DocumentsFilters;
|
|
5895
5614
|
DynamicReportInfo: IGetTemplateResult;
|
|
@@ -5912,16 +5631,9 @@ export type ResolversParentTypes = {
|
|
|
5912
5631
|
ForeignSecuritiesCharge: IGetChargesByIdsResult;
|
|
5913
5632
|
ForeignSecuritiesFinancialAccount: IGetFinancialAccountsByOwnerIdsResult;
|
|
5914
5633
|
Fund: ResolversInterfaceTypes<ResolversParentTypes>['Fund'];
|
|
5915
|
-
|
|
5634
|
+
GenerateDocumentsResult: GenerateDocumentsResult;
|
|
5916
5635
|
GeneratedLedgerRecords: ResolversUnionTypes<ResolversParentTypes>['GeneratedLedgerRecords'];
|
|
5917
5636
|
GreenInvoiceClient: string;
|
|
5918
|
-
GreenInvoiceClientInput: GreenInvoiceClientInput;
|
|
5919
|
-
GreenInvoiceDiscount: GreenInvoiceDiscount;
|
|
5920
|
-
GreenInvoiceDiscountInput: GreenInvoiceDiscountInput;
|
|
5921
|
-
GreenInvoiceIncome: GreenInvoiceIncome;
|
|
5922
|
-
GreenInvoicePayment: GreenInvoicePayment;
|
|
5923
|
-
GreenInvoicePaymentIncomeInput: GreenInvoicePaymentIncomeInput;
|
|
5924
|
-
GreenInvoicePaymentInput: GreenInvoicePaymentInput;
|
|
5925
5637
|
ID: Scalars['ID']['output'];
|
|
5926
5638
|
IncomeExpenseChart: Omit<IncomeExpenseChart, 'monthlyData'> & { monthlyData: ReadonlyArray<ResolversParentTypes['IncomeExpenseChartMonthData']> };
|
|
5927
5639
|
IncomeExpenseChartFilters: IncomeExpenseChartFilters;
|
|
@@ -5959,8 +5671,6 @@ export type ResolversParentTypes = {
|
|
|
5959
5671
|
MiscExpense: IGetExpensesByChargeIdsResult;
|
|
5960
5672
|
MonthlyVatCharge: IGetChargesByIdsResult;
|
|
5961
5673
|
Mutation: Record<PropertyKey, never>;
|
|
5962
|
-
NewDocumentInfo: Omit<NewDocumentInfo, 'client'> & { client?: Maybe<ResolversParentTypes['GreenInvoiceClient']> };
|
|
5963
|
-
NewDocumentInput: NewDocumentInput;
|
|
5964
5674
|
OtherDocument: IGetAllDocumentsResult;
|
|
5965
5675
|
PCNFileResult: PcnFileResult;
|
|
5966
5676
|
PCNOptionsInput: PcnOptionsInput;
|
|
@@ -7036,6 +6746,62 @@ export type DocumentResolvers<ContextType = GraphQLModules.Context, ParentType e
|
|
|
7036
6746
|
isReviewed?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
7037
6747
|
};
|
|
7038
6748
|
|
|
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
|
+
|
|
7039
6805
|
export type DocumentSuggestionsResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['DocumentSuggestions'] = ResolversParentTypes['DocumentSuggestions']> = {
|
|
7040
6806
|
amount?: Resolver<Maybe<ResolversTypes['FinancialAmount']>, ParentType, ContextType>;
|
|
7041
6807
|
counterparty?: Resolver<Maybe<ResolversTypes['FinancialEntity']>, ParentType, ContextType>;
|
|
@@ -7247,7 +7013,7 @@ export type FundResolvers<ContextType = GraphQLModules.Context, ParentType exten
|
|
|
7247
7013
|
name?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
7248
7014
|
};
|
|
7249
7015
|
|
|
7250
|
-
export type
|
|
7016
|
+
export type GenerateDocumentsResultResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['GenerateDocumentsResult'] = ResolversParentTypes['GenerateDocumentsResult']> = {
|
|
7251
7017
|
errors?: Resolver<Maybe<ReadonlyArray<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
7252
7018
|
success?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
7253
7019
|
};
|
|
@@ -7261,7 +7027,7 @@ export type GreenInvoiceClientResolvers<ContextType = GraphQLModules.Context, Pa
|
|
|
7261
7027
|
address?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7262
7028
|
businessId?: Resolver<ResolversTypes['UUID'], ParentType, ContextType>;
|
|
7263
7029
|
city?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7264
|
-
country?: Resolver<Maybe<ResolversTypes['
|
|
7030
|
+
country?: Resolver<Maybe<ResolversTypes['Country']>, ParentType, ContextType>;
|
|
7265
7031
|
emails?: Resolver<Maybe<ReadonlyArray<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
7266
7032
|
fax?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7267
7033
|
greenInvoiceId?: Resolver<Maybe<ResolversTypes['ID']>, ParentType, ContextType>;
|
|
@@ -7273,43 +7039,6 @@ export type GreenInvoiceClientResolvers<ContextType = GraphQLModules.Context, Pa
|
|
|
7273
7039
|
zip?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
7274
7040
|
};
|
|
7275
7041
|
|
|
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
|
-
|
|
7313
7042
|
export type IncomeExpenseChartResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['IncomeExpenseChart'] = ResolversParentTypes['IncomeExpenseChart']> = {
|
|
7314
7043
|
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
7315
7044
|
fromDate?: Resolver<ResolversTypes['TimelessDate'], ParentType, ContextType>;
|
|
@@ -7429,7 +7158,7 @@ export type IssuedDocumentInfoResolvers<ContextType = GraphQLModules.Context, Pa
|
|
|
7429
7158
|
externalId?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
7430
7159
|
id?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
|
|
7431
7160
|
linkedDocuments?: Resolver<Maybe<ReadonlyArray<ResolversTypes['FinancialDocument']>>, ParentType, ContextType>;
|
|
7432
|
-
originalDocument?: Resolver<Maybe<ResolversTypes['
|
|
7161
|
+
originalDocument?: Resolver<Maybe<ResolversTypes['DocumentDraft']>, ParentType, ContextType>;
|
|
7433
7162
|
status?: Resolver<ResolversTypes['DocumentStatus'], ParentType, ContextType>;
|
|
7434
7163
|
};
|
|
7435
7164
|
|
|
@@ -7614,7 +7343,6 @@ export type MutationResolvers<ContextType = GraphQLModules.Context, ParentType e
|
|
|
7614
7343
|
deleteTag?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType, RequireFields<MutationDeleteTagArgs, 'id'>>;
|
|
7615
7344
|
digestGmailMessages?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
7616
7345
|
fetchDeelDocuments?: Resolver<ReadonlyArray<ResolversTypes['Charge']>, ParentType, ContextType>;
|
|
7617
|
-
fetchIncomeDocuments?: Resolver<ReadonlyArray<ResolversTypes['Document']>, ParentType, ContextType, RequireFields<MutationFetchIncomeDocumentsArgs, 'ownerId'>>;
|
|
7618
7346
|
flagForeignFeeTransactions?: Resolver<ResolversTypes['FlagForeignFeeTransactionsResult'], ParentType, ContextType>;
|
|
7619
7347
|
generateBalanceCharge?: Resolver<ResolversTypes['FinancialCharge'], ParentType, ContextType, RequireFields<MutationGenerateBalanceChargeArgs, 'balanceRecords' | 'description'>>;
|
|
7620
7348
|
generateBankDepositsRevaluationCharge?: Resolver<ResolversTypes['FinancialCharge'], ParentType, ContextType, RequireFields<MutationGenerateBankDepositsRevaluationChargeArgs, 'date' | 'ownerId'>>;
|
|
@@ -7638,16 +7366,17 @@ export type MutationResolvers<ContextType = GraphQLModules.Context, ParentType e
|
|
|
7638
7366
|
insertSalaryRecordsFromFile?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType, RequireFields<MutationInsertSalaryRecordsFromFileArgs, 'chargeId' | 'file'>>;
|
|
7639
7367
|
insertTaxCategory?: Resolver<ResolversTypes['TaxCategory'], ParentType, ContextType, RequireFields<MutationInsertTaxCategoryArgs, 'fields'>>;
|
|
7640
7368
|
issueGreenInvoiceDocument?: Resolver<ResolversTypes['Charge'], ParentType, ContextType, RequireFields<MutationIssueGreenInvoiceDocumentArgs, 'input'>>;
|
|
7641
|
-
issueGreenInvoiceDocuments?: Resolver<ResolversTypes['
|
|
7369
|
+
issueGreenInvoiceDocuments?: Resolver<ResolversTypes['GenerateDocumentsResult'], ParentType, ContextType, RequireFields<MutationIssueGreenInvoiceDocumentsArgs, 'generateDocumentsInfo'>>;
|
|
7642
7370
|
lockLedgerRecords?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType, RequireFields<MutationLockLedgerRecordsArgs, 'date'>>;
|
|
7643
7371
|
mergeBusinesses?: Resolver<ResolversTypes['Business'], ParentType, ContextType, RequireFields<MutationMergeBusinessesArgs, 'businessIdsToMerge' | 'targetBusinessId'>>;
|
|
7644
7372
|
mergeCharges?: Resolver<ResolversTypes['MergeChargeResult'], ParentType, ContextType, RequireFields<MutationMergeChargesArgs, 'baseChargeID' | 'chargeIdsToMerge'>>;
|
|
7645
7373
|
mergeChargesByTransactionReference?: Resolver<ResolversTypes['MergeChargesByTransactionReferenceResult'], ParentType, ContextType>;
|
|
7646
7374
|
pong?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
7647
|
-
|
|
7375
|
+
previewDocument?: Resolver<ResolversTypes['FileScalar'], ParentType, ContextType, RequireFields<MutationPreviewDocumentArgs, 'input'>>;
|
|
7648
7376
|
regenerateLedgerRecords?: Resolver<ResolversTypes['GeneratedLedgerRecords'], ParentType, ContextType, RequireFields<MutationRegenerateLedgerRecordsArgs, 'chargeId'>>;
|
|
7649
7377
|
startGmailListener?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
7650
7378
|
stopGmailListener?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
7379
|
+
syncGreenInvoiceDocuments?: Resolver<ReadonlyArray<ResolversTypes['Document']>, ParentType, ContextType, RequireFields<MutationSyncGreenInvoiceDocumentsArgs, 'ownerId'>>;
|
|
7651
7380
|
uncategorizePartialBusinessTripExpense?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType, RequireFields<MutationUncategorizePartialBusinessTripExpenseArgs, 'businessTripExpenseId' | 'transactionId'>>;
|
|
7652
7381
|
updateAdminBusiness?: Resolver<ResolversTypes['AdminBusiness'], ParentType, ContextType, RequireFields<MutationUpdateAdminBusinessArgs, 'businessId' | 'fields'>>;
|
|
7653
7382
|
updateAdminContext?: Resolver<ResolversTypes['AdminContext'], ParentType, ContextType, RequireFields<MutationUpdateAdminContextArgs, 'context'>>;
|
|
@@ -7685,28 +7414,6 @@ export type MutationResolvers<ContextType = GraphQLModules.Context, ParentType e
|
|
|
7685
7414
|
uploadDocument?: Resolver<ResolversTypes['UploadDocumentResult'], ParentType, ContextType, RequireFields<MutationUploadDocumentArgs, 'file'>>;
|
|
7686
7415
|
};
|
|
7687
7416
|
|
|
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
|
-
|
|
7710
7417
|
export type OtherDocumentResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['OtherDocument'] = ResolversParentTypes['OtherDocument']> = {
|
|
7711
7418
|
charge?: Resolver<Maybe<ResolversTypes['Charge']>, ParentType, ContextType>;
|
|
7712
7419
|
documentType?: Resolver<Maybe<ResolversTypes['DocumentType']>, ParentType, ContextType>;
|
|
@@ -7847,9 +7554,7 @@ export type QueryResolvers<ContextType = GraphQLModules.Context, ParentType exte
|
|
|
7847
7554
|
chargesWithLedgerChanges?: Resolver<ReadonlyArray<ResolversTypes['ChargesWithLedgerChangesResult']>, ParentType, ContextType, Partial<QueryChargesWithLedgerChangesArgs>>;
|
|
7848
7555
|
chargesWithMissingRequiredInfo?: Resolver<ResolversTypes['PaginatedCharges'], ParentType, ContextType, RequireFields<QueryChargesWithMissingRequiredInfoArgs, 'limit' | 'page'>>;
|
|
7849
7556
|
client?: Resolver<ResolversTypes['Client'], ParentType, ContextType, RequireFields<QueryClientArgs, 'businessId'>>;
|
|
7850
|
-
|
|
7851
|
-
clientMonthlyChargeDraft?: Resolver<ResolversTypes['NewDocumentInfo'], ParentType, ContextType, RequireFields<QueryClientMonthlyChargeDraftArgs, 'clientId' | 'issueMonth'>>;
|
|
7852
|
-
clientMonthlyChargesDrafts?: Resolver<ReadonlyArray<ResolversTypes['NewDocumentInfo']>, ParentType, ContextType, RequireFields<QueryClientMonthlyChargesDraftsArgs, 'issueMonth'>>;
|
|
7557
|
+
clientMonthlyChargeDraft?: Resolver<ResolversTypes['DocumentDraft'], ParentType, ContextType, RequireFields<QueryClientMonthlyChargeDraftArgs, 'clientId' | 'issueMonth'>>;
|
|
7853
7558
|
contractsByAdmin?: Resolver<ReadonlyArray<ResolversTypes['Contract']>, ParentType, ContextType, RequireFields<QueryContractsByAdminArgs, 'adminId'>>;
|
|
7854
7559
|
contractsByClient?: Resolver<ReadonlyArray<ResolversTypes['Contract']>, ParentType, ContextType, RequireFields<QueryContractsByClientArgs, 'clientId'>>;
|
|
7855
7560
|
contractsById?: Resolver<ResolversTypes['Contract'], ParentType, ContextType, RequireFields<QueryContractsByIdArgs, 'id'>>;
|
|
@@ -7876,10 +7581,12 @@ export type QueryResolvers<ContextType = GraphQLModules.Context, ParentType exte
|
|
|
7876
7581
|
ledgerRecordsByDates?: Resolver<ReadonlyArray<ResolversTypes['LedgerRecord']>, ParentType, ContextType, RequireFields<QueryLedgerRecordsByDatesArgs, 'fromDate' | 'toDate'>>;
|
|
7877
7582
|
ledgerRecordsByFinancialEntity?: Resolver<ReadonlyArray<ResolversTypes['LedgerRecord']>, ParentType, ContextType, RequireFields<QueryLedgerRecordsByFinancialEntityArgs, 'financialEntityId'>>;
|
|
7878
7583
|
miscExpensesByCharge?: Resolver<ReadonlyArray<ResolversTypes['MiscExpense']>, ParentType, ContextType, RequireFields<QueryMiscExpensesByChargeArgs, 'chargeId'>>;
|
|
7879
|
-
|
|
7880
|
-
|
|
7584
|
+
newDocumentDraftByCharge?: Resolver<ResolversTypes['DocumentDraft'], ParentType, ContextType, RequireFields<QueryNewDocumentDraftByChargeArgs, 'chargeId'>>;
|
|
7585
|
+
newDocumentDraftByDocument?: Resolver<ResolversTypes['DocumentDraft'], ParentType, ContextType, RequireFields<QueryNewDocumentDraftByDocumentArgs, 'documentId'>>;
|
|
7881
7586
|
pcnByDate?: Resolver<ReadonlyArray<ResolversTypes['Pcn874Records']>, ParentType, ContextType, RequireFields<QueryPcnByDateArgs, 'fromMonthDate' | 'toMonthDate'>>;
|
|
7882
7587
|
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'>>;
|
|
7883
7590
|
ping?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
7884
7591
|
profitAndLossReport?: Resolver<ResolversTypes['ProfitAndLossReport'], ParentType, ContextType, RequireFields<QueryProfitAndLossReportArgs, 'referenceYears' | 'reportYear'>>;
|
|
7885
7592
|
recentDocumentsByBusiness?: Resolver<ReadonlyArray<ResolversTypes['Document']>, ParentType, ContextType, RequireFields<QueryRecentDocumentsByBusinessArgs, 'businessId'>>;
|
|
@@ -8454,6 +8161,10 @@ export type Resolvers<ContextType = GraphQLModules.Context> = {
|
|
|
8454
8161
|
DividendCharge?: DividendChargeResolvers<ContextType>;
|
|
8455
8162
|
DividendMock?: GraphQLScalarType;
|
|
8456
8163
|
Document?: DocumentResolvers<ContextType>;
|
|
8164
|
+
DocumentDiscount?: DocumentDiscountResolvers<ContextType>;
|
|
8165
|
+
DocumentDraft?: DocumentDraftResolvers<ContextType>;
|
|
8166
|
+
DocumentIncomeRecord?: DocumentIncomeRecordResolvers<ContextType>;
|
|
8167
|
+
DocumentPaymentRecord?: DocumentPaymentRecordResolvers<ContextType>;
|
|
8457
8168
|
DocumentSuggestions?: DocumentSuggestionsResolvers<ContextType>;
|
|
8458
8169
|
DocumentType?: DocumentTypeResolvers;
|
|
8459
8170
|
DynamicReportInfo?: DynamicReportInfoResolvers<ContextType>;
|
|
@@ -8474,12 +8185,9 @@ export type Resolvers<ContextType = GraphQLModules.Context> = {
|
|
|
8474
8185
|
ForeignSecuritiesCharge?: ForeignSecuritiesChargeResolvers<ContextType>;
|
|
8475
8186
|
ForeignSecuritiesFinancialAccount?: ForeignSecuritiesFinancialAccountResolvers<ContextType>;
|
|
8476
8187
|
Fund?: FundResolvers<ContextType>;
|
|
8477
|
-
|
|
8188
|
+
GenerateDocumentsResult?: GenerateDocumentsResultResolvers<ContextType>;
|
|
8478
8189
|
GeneratedLedgerRecords?: GeneratedLedgerRecordsResolvers<ContextType>;
|
|
8479
8190
|
GreenInvoiceClient?: GreenInvoiceClientResolvers<ContextType>;
|
|
8480
|
-
GreenInvoiceDiscount?: GreenInvoiceDiscountResolvers<ContextType>;
|
|
8481
|
-
GreenInvoiceIncome?: GreenInvoiceIncomeResolvers<ContextType>;
|
|
8482
|
-
GreenInvoicePayment?: GreenInvoicePaymentResolvers<ContextType>;
|
|
8483
8191
|
IncomeExpenseChart?: IncomeExpenseChartResolvers<ContextType>;
|
|
8484
8192
|
IncomeExpenseChartMonthData?: IncomeExpenseChartMonthDataResolvers<ContextType>;
|
|
8485
8193
|
InsertDepreciationCategoryResult?: InsertDepreciationCategoryResultResolvers<ContextType>;
|
|
@@ -8507,7 +8215,6 @@ export type Resolvers<ContextType = GraphQLModules.Context> = {
|
|
|
8507
8215
|
MissingChargeInfo?: MissingChargeInfoResolvers;
|
|
8508
8216
|
MonthlyVatCharge?: MonthlyVatChargeResolvers<ContextType>;
|
|
8509
8217
|
Mutation?: MutationResolvers<ContextType>;
|
|
8510
|
-
NewDocumentInfo?: NewDocumentInfoResolvers<ContextType>;
|
|
8511
8218
|
OtherDocument?: OtherDocumentResolvers<ContextType>;
|
|
8512
8219
|
PCNFileResult?: PcnFileResultResolvers<ContextType>;
|
|
8513
8220
|
PageInfo?: PageInfoResolvers<ContextType>;
|