@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
|
@@ -1543,153 +1543,6 @@ export type Document = {
|
|
|
1543
1543
|
readonly image?: Maybe<Scalars['URL']['output']>;
|
|
1544
1544
|
readonly isReviewed?: Maybe<Scalars['Boolean']['output']>;
|
|
1545
1545
|
};
|
|
1546
|
-
/** client input */
|
|
1547
|
-
export type DocumentClientInput = {
|
|
1548
|
-
readonly add?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1549
|
-
readonly address?: InputMaybe<Scalars['String']['input']>;
|
|
1550
|
-
readonly city?: InputMaybe<Scalars['String']['input']>;
|
|
1551
|
-
readonly country?: InputMaybe<Scalars['CountryCode']['input']>;
|
|
1552
|
-
readonly emails?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
1553
|
-
readonly fax?: InputMaybe<Scalars['String']['input']>;
|
|
1554
|
-
readonly id: Scalars['UUID']['input'];
|
|
1555
|
-
readonly mobile?: InputMaybe<Scalars['String']['input']>;
|
|
1556
|
-
readonly name?: InputMaybe<Scalars['String']['input']>;
|
|
1557
|
-
readonly phone?: InputMaybe<Scalars['String']['input']>;
|
|
1558
|
-
readonly self?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1559
|
-
readonly taxId?: InputMaybe<Scalars['String']['input']>;
|
|
1560
|
-
readonly zip?: InputMaybe<Scalars['String']['input']>;
|
|
1561
|
-
};
|
|
1562
|
-
/** document discount info */
|
|
1563
|
-
export type DocumentDiscount = {
|
|
1564
|
-
readonly __typename?: 'DocumentDiscount';
|
|
1565
|
-
readonly amount: Scalars['Float']['output'];
|
|
1566
|
-
readonly type: DocumentDiscountType;
|
|
1567
|
-
};
|
|
1568
|
-
/** discount input */
|
|
1569
|
-
export type DocumentDiscountInput = {
|
|
1570
|
-
readonly amount: Scalars['Float']['input'];
|
|
1571
|
-
readonly type: DocumentDiscountType;
|
|
1572
|
-
};
|
|
1573
|
-
/** discount type enum */
|
|
1574
|
-
export type DocumentDiscountType = 'PERCENTAGE' | 'SUM';
|
|
1575
|
-
/** for previewing/issuing document */
|
|
1576
|
-
export type DocumentDraft = {
|
|
1577
|
-
readonly __typename?: 'DocumentDraft';
|
|
1578
|
-
readonly client?: Maybe<Client>;
|
|
1579
|
-
readonly currency: Currency;
|
|
1580
|
-
readonly date?: Maybe<Scalars['String']['output']>;
|
|
1581
|
-
readonly description?: Maybe<Scalars['String']['output']>;
|
|
1582
|
-
readonly discount?: Maybe<DocumentDiscount>;
|
|
1583
|
-
readonly dueDate?: Maybe<Scalars['String']['output']>;
|
|
1584
|
-
readonly footer?: Maybe<Scalars['String']['output']>;
|
|
1585
|
-
readonly income?: Maybe<ReadonlyArray<DocumentIncomeRecord>>;
|
|
1586
|
-
readonly language: DocumentLanguage;
|
|
1587
|
-
readonly linkType?: Maybe<DocumentLinkType>;
|
|
1588
|
-
readonly linkedDocumentIds?: Maybe<ReadonlyArray<Scalars['String']['output']>>;
|
|
1589
|
-
readonly linkedPaymentId?: Maybe<Scalars['String']['output']>;
|
|
1590
|
-
readonly maxPayments?: Maybe<Scalars['Int']['output']>;
|
|
1591
|
-
readonly payment?: Maybe<ReadonlyArray<DocumentPaymentRecord>>;
|
|
1592
|
-
readonly remarks?: Maybe<Scalars['String']['output']>;
|
|
1593
|
-
readonly rounding?: Maybe<Scalars['Boolean']['output']>;
|
|
1594
|
-
readonly signed?: Maybe<Scalars['Boolean']['output']>;
|
|
1595
|
-
readonly type: DocumentType;
|
|
1596
|
-
readonly vatType: DocumentVatType;
|
|
1597
|
-
};
|
|
1598
|
-
/** income info */
|
|
1599
|
-
export type DocumentIncomeRecord = {
|
|
1600
|
-
readonly __typename?: 'DocumentIncomeRecord';
|
|
1601
|
-
readonly currency: Currency;
|
|
1602
|
-
readonly currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
1603
|
-
readonly description: Scalars['String']['output'];
|
|
1604
|
-
readonly itemId?: Maybe<Scalars['String']['output']>;
|
|
1605
|
-
readonly price: Scalars['Float']['output'];
|
|
1606
|
-
readonly quantity: Scalars['Float']['output'];
|
|
1607
|
-
readonly vatRate?: Maybe<Scalars['Float']['output']>;
|
|
1608
|
-
readonly vatType: DocumentVatType;
|
|
1609
|
-
};
|
|
1610
|
-
/** income input */
|
|
1611
|
-
export type DocumentIncomeRecordInput = {
|
|
1612
|
-
readonly amount?: InputMaybe<Scalars['Float']['input']>;
|
|
1613
|
-
readonly amountTotal?: InputMaybe<Scalars['Float']['input']>;
|
|
1614
|
-
readonly catalogNum?: InputMaybe<Scalars['String']['input']>;
|
|
1615
|
-
readonly currency: Currency;
|
|
1616
|
-
readonly currencyRate?: InputMaybe<Scalars['Float']['input']>;
|
|
1617
|
-
readonly description: Scalars['String']['input'];
|
|
1618
|
-
readonly itemId?: InputMaybe<Scalars['String']['input']>;
|
|
1619
|
-
readonly price: Scalars['Float']['input'];
|
|
1620
|
-
readonly quantity: Scalars['Float']['input'];
|
|
1621
|
-
readonly vat?: InputMaybe<Scalars['Float']['input']>;
|
|
1622
|
-
readonly vatRate?: InputMaybe<Scalars['Float']['input']>;
|
|
1623
|
-
readonly vatType: DocumentVatType;
|
|
1624
|
-
};
|
|
1625
|
-
/** input for issuing or previewing document */
|
|
1626
|
-
export type DocumentIssueInput = {
|
|
1627
|
-
readonly client?: InputMaybe<DocumentClientInput>;
|
|
1628
|
-
readonly currency: Currency;
|
|
1629
|
-
readonly date?: InputMaybe<Scalars['String']['input']>;
|
|
1630
|
-
readonly description?: InputMaybe<Scalars['String']['input']>;
|
|
1631
|
-
readonly discount?: InputMaybe<DocumentDiscountInput>;
|
|
1632
|
-
readonly dueDate?: InputMaybe<Scalars['String']['input']>;
|
|
1633
|
-
readonly footer?: InputMaybe<Scalars['String']['input']>;
|
|
1634
|
-
readonly income?: InputMaybe<ReadonlyArray<DocumentIncomeRecordInput>>;
|
|
1635
|
-
readonly language: DocumentLanguage;
|
|
1636
|
-
readonly linkType?: InputMaybe<DocumentLinkType>;
|
|
1637
|
-
readonly linkedDocumentIds?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
1638
|
-
readonly linkedPaymentId?: InputMaybe<Scalars['String']['input']>;
|
|
1639
|
-
readonly maxPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
1640
|
-
readonly payment?: InputMaybe<ReadonlyArray<DocumentPaymentRecordInput>>;
|
|
1641
|
-
readonly remarks?: InputMaybe<Scalars['String']['input']>;
|
|
1642
|
-
readonly rounding?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1643
|
-
readonly signed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1644
|
-
readonly type: DocumentType;
|
|
1645
|
-
readonly vatType: DocumentVatType;
|
|
1646
|
-
};
|
|
1647
|
-
/** document language enum */
|
|
1648
|
-
export type DocumentLanguage = 'ENGLISH' | 'HEBREW';
|
|
1649
|
-
/** link type enum */
|
|
1650
|
-
export type DocumentLinkType = 'CANCEL' | 'LINK';
|
|
1651
|
-
/** payment info */
|
|
1652
|
-
export type DocumentPaymentRecord = {
|
|
1653
|
-
readonly __typename?: 'DocumentPaymentRecord';
|
|
1654
|
-
readonly accountId?: Maybe<Scalars['String']['output']>;
|
|
1655
|
-
readonly bankAccount?: Maybe<Scalars['String']['output']>;
|
|
1656
|
-
readonly bankBranch?: Maybe<Scalars['String']['output']>;
|
|
1657
|
-
/** subType: GreenInvoicePaymentSubType */
|
|
1658
|
-
readonly bankName?: Maybe<Scalars['String']['output']>;
|
|
1659
|
-
readonly cardNum?: Maybe<Scalars['String']['output']>;
|
|
1660
|
-
/** appType: GreenInvoicePaymentAppType */
|
|
1661
|
-
readonly cardType?: Maybe<DocumentPaymentRecordCardType>;
|
|
1662
|
-
readonly chequeNum?: Maybe<Scalars['String']['output']>;
|
|
1663
|
-
readonly currency: Currency;
|
|
1664
|
-
readonly currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
1665
|
-
readonly date?: Maybe<Scalars['String']['output']>;
|
|
1666
|
-
readonly firstPayment?: Maybe<Scalars['Float']['output']>;
|
|
1667
|
-
/** dealType: GreenInvoicePaymentDealType */
|
|
1668
|
-
readonly numPayments?: Maybe<Scalars['Int']['output']>;
|
|
1669
|
-
readonly price: Scalars['Float']['output'];
|
|
1670
|
-
readonly transactionId?: Maybe<Scalars['String']['output']>;
|
|
1671
|
-
readonly type: PaymentType;
|
|
1672
|
-
};
|
|
1673
|
-
/** card type enum */
|
|
1674
|
-
export type DocumentPaymentRecordCardType = 'AMERICAN_EXPRESS' | 'DINERS' | 'ISRACARD' | 'MASTERCARD' | 'UNKNOWN' | 'VISA';
|
|
1675
|
-
/** payment input */
|
|
1676
|
-
export type DocumentPaymentRecordInput = {
|
|
1677
|
-
readonly accountId?: InputMaybe<Scalars['String']['input']>;
|
|
1678
|
-
readonly bankAccount?: InputMaybe<Scalars['String']['input']>;
|
|
1679
|
-
readonly bankBranch?: InputMaybe<Scalars['String']['input']>;
|
|
1680
|
-
readonly bankName?: InputMaybe<Scalars['String']['input']>;
|
|
1681
|
-
readonly cardNum?: InputMaybe<Scalars['String']['input']>;
|
|
1682
|
-
readonly cardType?: InputMaybe<DocumentPaymentRecordCardType>;
|
|
1683
|
-
readonly chequeNum?: InputMaybe<Scalars['String']['input']>;
|
|
1684
|
-
readonly currency: Currency;
|
|
1685
|
-
readonly currencyRate?: InputMaybe<Scalars['Float']['input']>;
|
|
1686
|
-
readonly date?: InputMaybe<Scalars['String']['input']>;
|
|
1687
|
-
readonly firstPayment?: InputMaybe<Scalars['Float']['input']>;
|
|
1688
|
-
readonly numPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
1689
|
-
readonly price: Scalars['Float']['input'];
|
|
1690
|
-
readonly transactionId?: InputMaybe<Scalars['String']['input']>;
|
|
1691
|
-
readonly type: PaymentType;
|
|
1692
|
-
};
|
|
1693
1546
|
/** Document status */
|
|
1694
1547
|
export type DocumentStatus = 'CANCELLED' | 'CANCELLED_BY_OTHER_DOC' | 'CLOSED' | 'MANUALLY_CLOSED' | 'OPEN';
|
|
1695
1548
|
/** represent document suggestions for missing info */
|
|
@@ -1705,8 +1558,6 @@ export type DocumentSuggestions = {
|
|
|
1705
1558
|
readonly owner?: Maybe<FinancialEntity>;
|
|
1706
1559
|
};
|
|
1707
1560
|
export { DocumentType };
|
|
1708
|
-
/** VAT type enum */
|
|
1709
|
-
export type DocumentVatType = 'DEFAULT' | 'EXEMPT' | 'MIXED';
|
|
1710
1561
|
/** input variables for documents filtering */
|
|
1711
1562
|
export type DocumentsFilters = {
|
|
1712
1563
|
readonly businessIDs?: InputMaybe<ReadonlyArray<Scalars['UUID']['input']>>;
|
|
@@ -1953,9 +1804,9 @@ export type Fund = {
|
|
|
1953
1804
|
readonly id: Scalars['UUID']['output'];
|
|
1954
1805
|
readonly name: Scalars['String']['output'];
|
|
1955
1806
|
};
|
|
1956
|
-
/** result type for
|
|
1957
|
-
export type
|
|
1958
|
-
readonly __typename?: '
|
|
1807
|
+
/** result type for generateMonthlyClientDocuments */
|
|
1808
|
+
export type GenerateMonthlyClientDocumentsResult = {
|
|
1809
|
+
readonly __typename?: 'GenerateMonthlyClientDocumentsResult';
|
|
1959
1810
|
readonly errors?: Maybe<ReadonlyArray<Scalars['String']['output']>>;
|
|
1960
1811
|
readonly success: Scalars['Boolean']['output'];
|
|
1961
1812
|
};
|
|
@@ -1968,7 +1819,7 @@ export type GreenInvoiceClient = {
|
|
|
1968
1819
|
readonly address?: Maybe<Scalars['String']['output']>;
|
|
1969
1820
|
readonly businessId: Scalars['UUID']['output'];
|
|
1970
1821
|
readonly city?: Maybe<Scalars['String']['output']>;
|
|
1971
|
-
readonly country?: Maybe<
|
|
1822
|
+
readonly country?: Maybe<GreenInvoiceCountry>;
|
|
1972
1823
|
readonly emails?: Maybe<ReadonlyArray<Scalars['String']['output']>>;
|
|
1973
1824
|
readonly fax?: Maybe<Scalars['String']['output']>;
|
|
1974
1825
|
readonly greenInvoiceId?: Maybe<Scalars['ID']['output']>;
|
|
@@ -1979,6 +1830,124 @@ export type GreenInvoiceClient = {
|
|
|
1979
1830
|
readonly taxId?: Maybe<Scalars['String']['output']>;
|
|
1980
1831
|
readonly zip?: Maybe<Scalars['String']['output']>;
|
|
1981
1832
|
};
|
|
1833
|
+
/** client input */
|
|
1834
|
+
export type GreenInvoiceClientInput = {
|
|
1835
|
+
readonly add?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1836
|
+
readonly address?: InputMaybe<Scalars['String']['input']>;
|
|
1837
|
+
readonly businessId: Scalars['UUID']['input'];
|
|
1838
|
+
readonly city?: InputMaybe<Scalars['String']['input']>;
|
|
1839
|
+
readonly country?: InputMaybe<GreenInvoiceCountry>;
|
|
1840
|
+
readonly emails?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
1841
|
+
readonly fax?: InputMaybe<Scalars['String']['input']>;
|
|
1842
|
+
readonly greenInvoiceId?: InputMaybe<Scalars['String']['input']>;
|
|
1843
|
+
readonly mobile?: InputMaybe<Scalars['String']['input']>;
|
|
1844
|
+
readonly name?: InputMaybe<Scalars['String']['input']>;
|
|
1845
|
+
readonly phone?: InputMaybe<Scalars['String']['input']>;
|
|
1846
|
+
readonly self?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1847
|
+
readonly taxId?: InputMaybe<Scalars['String']['input']>;
|
|
1848
|
+
readonly zip?: InputMaybe<Scalars['String']['input']>;
|
|
1849
|
+
};
|
|
1850
|
+
/** country enum (abbreviated for brevity - add more as needed) */
|
|
1851
|
+
export type GreenInvoiceCountry = 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'UM' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW';
|
|
1852
|
+
/** discount info */
|
|
1853
|
+
export type GreenInvoiceDiscount = {
|
|
1854
|
+
readonly __typename?: 'GreenInvoiceDiscount';
|
|
1855
|
+
readonly amount: Scalars['Float']['output'];
|
|
1856
|
+
readonly type: GreenInvoiceDiscountType;
|
|
1857
|
+
};
|
|
1858
|
+
/** discount input */
|
|
1859
|
+
export type GreenInvoiceDiscountInput = {
|
|
1860
|
+
readonly amount: Scalars['Float']['input'];
|
|
1861
|
+
readonly type: GreenInvoiceDiscountType;
|
|
1862
|
+
};
|
|
1863
|
+
/** discount type enum */
|
|
1864
|
+
export type GreenInvoiceDiscountType = 'PERCENTAGE' | 'SUM';
|
|
1865
|
+
/** document language enum */
|
|
1866
|
+
export type GreenInvoiceDocumentLang = 'ENGLISH' | 'HEBREW';
|
|
1867
|
+
/** income info */
|
|
1868
|
+
export type GreenInvoiceIncome = {
|
|
1869
|
+
readonly __typename?: 'GreenInvoiceIncome';
|
|
1870
|
+
readonly currency: Currency;
|
|
1871
|
+
readonly currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
1872
|
+
readonly description: Scalars['String']['output'];
|
|
1873
|
+
readonly itemId?: Maybe<Scalars['String']['output']>;
|
|
1874
|
+
readonly price: Scalars['Float']['output'];
|
|
1875
|
+
readonly quantity: Scalars['Float']['output'];
|
|
1876
|
+
readonly vatRate?: Maybe<Scalars['Float']['output']>;
|
|
1877
|
+
readonly vatType: GreenInvoiceVatType;
|
|
1878
|
+
};
|
|
1879
|
+
/** link type enum */
|
|
1880
|
+
export type GreenInvoiceLinkType = 'CANCEL' | 'LINK';
|
|
1881
|
+
/** payment info */
|
|
1882
|
+
export type GreenInvoicePayment = {
|
|
1883
|
+
readonly __typename?: 'GreenInvoicePayment';
|
|
1884
|
+
readonly accountId?: Maybe<Scalars['String']['output']>;
|
|
1885
|
+
readonly appType?: Maybe<GreenInvoicePaymentAppType>;
|
|
1886
|
+
readonly bankAccount?: Maybe<Scalars['String']['output']>;
|
|
1887
|
+
readonly bankBranch?: Maybe<Scalars['String']['output']>;
|
|
1888
|
+
readonly bankName?: Maybe<Scalars['String']['output']>;
|
|
1889
|
+
readonly cardNum?: Maybe<Scalars['String']['output']>;
|
|
1890
|
+
readonly cardType?: Maybe<GreenInvoicePaymentCardType>;
|
|
1891
|
+
readonly chequeNum?: Maybe<Scalars['String']['output']>;
|
|
1892
|
+
readonly currency: Currency;
|
|
1893
|
+
readonly currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
1894
|
+
readonly date?: Maybe<Scalars['String']['output']>;
|
|
1895
|
+
readonly dealType?: Maybe<GreenInvoicePaymentDealType>;
|
|
1896
|
+
readonly firstPayment?: Maybe<Scalars['Float']['output']>;
|
|
1897
|
+
readonly numPayments?: Maybe<Scalars['Int']['output']>;
|
|
1898
|
+
readonly price: Scalars['Float']['output'];
|
|
1899
|
+
readonly subType?: Maybe<GreenInvoicePaymentSubType>;
|
|
1900
|
+
readonly transactionId?: Maybe<Scalars['String']['output']>;
|
|
1901
|
+
readonly type: GreenInvoicePaymentType;
|
|
1902
|
+
};
|
|
1903
|
+
/** payment app type enum */
|
|
1904
|
+
export type GreenInvoicePaymentAppType = 'APPLE_PAY' | 'BIT' | 'CULO' | 'GOOGLE_PAY' | 'PAYBOX' | 'PAY_BY_PEPPER';
|
|
1905
|
+
/** card type enum */
|
|
1906
|
+
export type GreenInvoicePaymentCardType = 'AMERICAN_EXPRESS' | 'DINERS' | 'ISRACARD' | 'MASTERCARD' | 'UNKNOWN' | 'VISA';
|
|
1907
|
+
/** deal type enum */
|
|
1908
|
+
export type GreenInvoicePaymentDealType = 'CREDIT' | 'DEFERRED' | 'OTHER' | 'PAYMENTS' | 'RECURRING' | 'STANDARD';
|
|
1909
|
+
/** income input */
|
|
1910
|
+
export type GreenInvoicePaymentIncomeInput = {
|
|
1911
|
+
readonly amount?: InputMaybe<Scalars['Float']['input']>;
|
|
1912
|
+
readonly amountTotal?: InputMaybe<Scalars['Float']['input']>;
|
|
1913
|
+
readonly catalogNum?: InputMaybe<Scalars['String']['input']>;
|
|
1914
|
+
readonly currency: Currency;
|
|
1915
|
+
readonly currencyRate?: InputMaybe<Scalars['Float']['input']>;
|
|
1916
|
+
readonly description: Scalars['String']['input'];
|
|
1917
|
+
readonly itemId?: InputMaybe<Scalars['String']['input']>;
|
|
1918
|
+
readonly price: Scalars['Float']['input'];
|
|
1919
|
+
readonly quantity: Scalars['Float']['input'];
|
|
1920
|
+
readonly vat?: InputMaybe<Scalars['Float']['input']>;
|
|
1921
|
+
readonly vatRate?: InputMaybe<Scalars['Float']['input']>;
|
|
1922
|
+
readonly vatType: GreenInvoiceVatType;
|
|
1923
|
+
};
|
|
1924
|
+
/** payment input */
|
|
1925
|
+
export type GreenInvoicePaymentInput = {
|
|
1926
|
+
readonly accountId?: InputMaybe<Scalars['String']['input']>;
|
|
1927
|
+
readonly appType?: InputMaybe<GreenInvoicePaymentAppType>;
|
|
1928
|
+
readonly bankAccount?: InputMaybe<Scalars['String']['input']>;
|
|
1929
|
+
readonly bankBranch?: InputMaybe<Scalars['String']['input']>;
|
|
1930
|
+
readonly bankName?: InputMaybe<Scalars['String']['input']>;
|
|
1931
|
+
readonly cardNum?: InputMaybe<Scalars['String']['input']>;
|
|
1932
|
+
readonly cardType?: InputMaybe<GreenInvoicePaymentCardType>;
|
|
1933
|
+
readonly chequeNum?: InputMaybe<Scalars['String']['input']>;
|
|
1934
|
+
readonly currency: Currency;
|
|
1935
|
+
readonly currencyRate?: InputMaybe<Scalars['Float']['input']>;
|
|
1936
|
+
readonly date?: InputMaybe<Scalars['String']['input']>;
|
|
1937
|
+
readonly dealType?: InputMaybe<GreenInvoicePaymentDealType>;
|
|
1938
|
+
readonly firstPayment?: InputMaybe<Scalars['Float']['input']>;
|
|
1939
|
+
readonly numPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
1940
|
+
readonly price: Scalars['Float']['input'];
|
|
1941
|
+
readonly subType?: InputMaybe<GreenInvoicePaymentSubType>;
|
|
1942
|
+
readonly transactionId?: InputMaybe<Scalars['String']['input']>;
|
|
1943
|
+
readonly type: GreenInvoicePaymentType;
|
|
1944
|
+
};
|
|
1945
|
+
/** payment sub type enum */
|
|
1946
|
+
export type GreenInvoicePaymentSubType = 'BITCOIN' | 'BUYME_VOUCHER' | 'ETHEREUM' | 'GIFT_CARD' | 'MONEY_EQUAL' | 'NII_EMPLOYEE_DEDUCTION' | 'PAYONEER' | 'V_CHECK';
|
|
1947
|
+
/** payment type enum */
|
|
1948
|
+
export type GreenInvoicePaymentType = 'CASH' | 'CHEQUE' | 'CREDIT_CARD' | 'OTHER' | 'OTHER_DEDUCTION' | 'PAYMENT_APP' | 'PAYPAL' | 'TAX_DEDUCTION' | 'WIRE_TRANSFER';
|
|
1949
|
+
/** VAT type enum */
|
|
1950
|
+
export type GreenInvoiceVatType = 'DEFAULT' | 'EXEMPT' | 'MIXED';
|
|
1982
1951
|
/** IFRS reporting option enum (דווח בחלופה - יישום תקני חשבונאות) */
|
|
1983
1952
|
export type IfrsReportingOption =
|
|
1984
1953
|
/** No IFRS implementation (במידה ואין יישום תקני חשבונאות) */
|
|
@@ -2203,7 +2172,7 @@ export type IssuedDocumentInfo = {
|
|
|
2203
2172
|
readonly externalId: Scalars['String']['output'];
|
|
2204
2173
|
readonly id: Scalars['ID']['output'];
|
|
2205
2174
|
readonly linkedDocuments?: Maybe<ReadonlyArray<FinancialDocument>>;
|
|
2206
|
-
readonly originalDocument?: Maybe<
|
|
2175
|
+
readonly originalDocument?: Maybe<NewDocumentInfo>;
|
|
2207
2176
|
/** Status of the issued document in the external system */
|
|
2208
2177
|
readonly status: DocumentStatus;
|
|
2209
2178
|
};
|
|
@@ -2404,6 +2373,7 @@ export type Mutation = {
|
|
|
2404
2373
|
readonly deleteTag: Scalars['Boolean']['output'];
|
|
2405
2374
|
readonly digestGmailMessages: Scalars['Boolean']['output'];
|
|
2406
2375
|
readonly fetchDeelDocuments: ReadonlyArray<Charge>;
|
|
2376
|
+
readonly fetchIncomeDocuments: ReadonlyArray<Document>;
|
|
2407
2377
|
readonly flagForeignFeeTransactions: FlagForeignFeeTransactionsResult;
|
|
2408
2378
|
readonly generateBalanceCharge: FinancialCharge;
|
|
2409
2379
|
readonly generateBankDepositsRevaluationCharge: FinancialCharge;
|
|
@@ -2427,17 +2397,16 @@ export type Mutation = {
|
|
|
2427
2397
|
readonly insertSalaryRecordsFromFile: Scalars['Boolean']['output'];
|
|
2428
2398
|
readonly insertTaxCategory: TaxCategory;
|
|
2429
2399
|
readonly issueGreenInvoiceDocument: Charge;
|
|
2430
|
-
readonly issueGreenInvoiceDocuments:
|
|
2400
|
+
readonly issueGreenInvoiceDocuments: GenerateMonthlyClientDocumentsResult;
|
|
2431
2401
|
readonly lockLedgerRecords: Scalars['Boolean']['output'];
|
|
2432
2402
|
readonly mergeBusinesses: Business;
|
|
2433
2403
|
readonly mergeCharges: MergeChargeResult;
|
|
2434
2404
|
readonly mergeChargesByTransactionReference: MergeChargesByTransactionReferenceResult;
|
|
2435
2405
|
readonly pong?: Maybe<Scalars['Boolean']['output']>;
|
|
2436
|
-
readonly
|
|
2406
|
+
readonly previewGreenInvoiceDocument: Scalars['FileScalar']['output'];
|
|
2437
2407
|
readonly regenerateLedgerRecords: GeneratedLedgerRecords;
|
|
2438
2408
|
readonly startGmailListener: Scalars['Boolean']['output'];
|
|
2439
2409
|
readonly stopGmailListener: Scalars['Boolean']['output'];
|
|
2440
|
-
readonly syncGreenInvoiceDocuments: ReadonlyArray<Document>;
|
|
2441
2410
|
readonly uncategorizePartialBusinessTripExpense: Scalars['Boolean']['output'];
|
|
2442
2411
|
readonly updateAdminBusiness: AdminBusiness;
|
|
2443
2412
|
readonly updateAdminContext: AdminContext;
|
|
@@ -2616,6 +2585,11 @@ export type MutationDeleteTagArgs = {
|
|
|
2616
2585
|
id: Scalars['UUID']['input'];
|
|
2617
2586
|
};
|
|
2618
2587
|
/** mutation root */
|
|
2588
|
+
export type MutationFetchIncomeDocumentsArgs = {
|
|
2589
|
+
ownerId: Scalars['UUID']['input'];
|
|
2590
|
+
singlePageLimit?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2591
|
+
};
|
|
2592
|
+
/** mutation root */
|
|
2619
2593
|
export type MutationGenerateBalanceChargeArgs = {
|
|
2620
2594
|
balanceRecords: ReadonlyArray<InsertMiscExpenseInput>;
|
|
2621
2595
|
description: Scalars['String']['input'];
|
|
@@ -2715,12 +2689,12 @@ export type MutationIssueGreenInvoiceDocumentArgs = {
|
|
|
2715
2689
|
attachment?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2716
2690
|
chargeId?: InputMaybe<Scalars['UUID']['input']>;
|
|
2717
2691
|
emailContent?: InputMaybe<Scalars['String']['input']>;
|
|
2718
|
-
input:
|
|
2692
|
+
input: NewDocumentInput;
|
|
2719
2693
|
sendEmail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2720
2694
|
};
|
|
2721
2695
|
/** mutation root */
|
|
2722
2696
|
export type MutationIssueGreenInvoiceDocumentsArgs = {
|
|
2723
|
-
generateDocumentsInfo: ReadonlyArray<
|
|
2697
|
+
generateDocumentsInfo: ReadonlyArray<NewDocumentInput>;
|
|
2724
2698
|
};
|
|
2725
2699
|
/** mutation root */
|
|
2726
2700
|
export type MutationLockLedgerRecordsArgs = {
|
|
@@ -2738,19 +2712,14 @@ export type MutationMergeChargesArgs = {
|
|
|
2738
2712
|
fields?: InputMaybe<UpdateChargeInput>;
|
|
2739
2713
|
};
|
|
2740
2714
|
/** mutation root */
|
|
2741
|
-
export type
|
|
2742
|
-
input:
|
|
2715
|
+
export type MutationPreviewGreenInvoiceDocumentArgs = {
|
|
2716
|
+
input: NewDocumentInput;
|
|
2743
2717
|
};
|
|
2744
2718
|
/** mutation root */
|
|
2745
2719
|
export type MutationRegenerateLedgerRecordsArgs = {
|
|
2746
2720
|
chargeId: Scalars['UUID']['input'];
|
|
2747
2721
|
};
|
|
2748
2722
|
/** mutation root */
|
|
2749
|
-
export type MutationSyncGreenInvoiceDocumentsArgs = {
|
|
2750
|
-
ownerId: Scalars['UUID']['input'];
|
|
2751
|
-
singlePageLimit?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2752
|
-
};
|
|
2753
|
-
/** mutation root */
|
|
2754
2723
|
export type MutationUncategorizePartialBusinessTripExpenseArgs = {
|
|
2755
2724
|
businessTripExpenseId: Scalars['UUID']['input'];
|
|
2756
2725
|
transactionId: Scalars['UUID']['input'];
|
|
@@ -2918,6 +2887,51 @@ export type MutationUploadDocumentArgs = {
|
|
|
2918
2887
|
chargeId?: InputMaybe<Scalars['UUID']['input']>;
|
|
2919
2888
|
file: Scalars['FileScalar']['input'];
|
|
2920
2889
|
};
|
|
2890
|
+
/** for previewing/issuing document */
|
|
2891
|
+
export type NewDocumentInfo = {
|
|
2892
|
+
readonly __typename?: 'NewDocumentInfo';
|
|
2893
|
+
readonly client?: Maybe<GreenInvoiceClient>;
|
|
2894
|
+
readonly currency: Currency;
|
|
2895
|
+
readonly date?: Maybe<Scalars['String']['output']>;
|
|
2896
|
+
readonly description?: Maybe<Scalars['String']['output']>;
|
|
2897
|
+
readonly discount?: Maybe<GreenInvoiceDiscount>;
|
|
2898
|
+
readonly dueDate?: Maybe<Scalars['String']['output']>;
|
|
2899
|
+
readonly footer?: Maybe<Scalars['String']['output']>;
|
|
2900
|
+
readonly income?: Maybe<ReadonlyArray<GreenInvoiceIncome>>;
|
|
2901
|
+
readonly lang: GreenInvoiceDocumentLang;
|
|
2902
|
+
readonly linkType?: Maybe<GreenInvoiceLinkType>;
|
|
2903
|
+
readonly linkedDocumentIds?: Maybe<ReadonlyArray<Scalars['String']['output']>>;
|
|
2904
|
+
readonly linkedPaymentId?: Maybe<Scalars['String']['output']>;
|
|
2905
|
+
readonly maxPayments?: Maybe<Scalars['Int']['output']>;
|
|
2906
|
+
readonly payment?: Maybe<ReadonlyArray<GreenInvoicePayment>>;
|
|
2907
|
+
readonly remarks?: Maybe<Scalars['String']['output']>;
|
|
2908
|
+
readonly rounding?: Maybe<Scalars['Boolean']['output']>;
|
|
2909
|
+
readonly signed?: Maybe<Scalars['Boolean']['output']>;
|
|
2910
|
+
readonly type: DocumentType;
|
|
2911
|
+
readonly vatType: GreenInvoiceVatType;
|
|
2912
|
+
};
|
|
2913
|
+
/** input for previewing document */
|
|
2914
|
+
export type NewDocumentInput = {
|
|
2915
|
+
readonly client?: InputMaybe<GreenInvoiceClientInput>;
|
|
2916
|
+
readonly currency: Currency;
|
|
2917
|
+
readonly date?: InputMaybe<Scalars['String']['input']>;
|
|
2918
|
+
readonly description?: InputMaybe<Scalars['String']['input']>;
|
|
2919
|
+
readonly discount?: InputMaybe<GreenInvoiceDiscountInput>;
|
|
2920
|
+
readonly dueDate?: InputMaybe<Scalars['String']['input']>;
|
|
2921
|
+
readonly footer?: InputMaybe<Scalars['String']['input']>;
|
|
2922
|
+
readonly income?: InputMaybe<ReadonlyArray<GreenInvoicePaymentIncomeInput>>;
|
|
2923
|
+
readonly lang: GreenInvoiceDocumentLang;
|
|
2924
|
+
readonly linkType?: InputMaybe<GreenInvoiceLinkType>;
|
|
2925
|
+
readonly linkedDocumentIds?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
2926
|
+
readonly linkedPaymentId?: InputMaybe<Scalars['String']['input']>;
|
|
2927
|
+
readonly maxPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
2928
|
+
readonly payment?: InputMaybe<ReadonlyArray<GreenInvoicePaymentInput>>;
|
|
2929
|
+
readonly remarks?: InputMaybe<Scalars['String']['input']>;
|
|
2930
|
+
readonly rounding?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2931
|
+
readonly signed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2932
|
+
readonly type: DocumentType;
|
|
2933
|
+
readonly vatType: GreenInvoiceVatType;
|
|
2934
|
+
};
|
|
2921
2935
|
/** processed non-financial document */
|
|
2922
2936
|
export type OtherDocument = Document & Linkable & {
|
|
2923
2937
|
readonly __typename?: 'OtherDocument';
|
|
@@ -2964,8 +2978,6 @@ export type PaginatedFinancialEntities = {
|
|
|
2964
2978
|
readonly nodes: ReadonlyArray<FinancialEntity>;
|
|
2965
2979
|
readonly pageInfo: PageInfo;
|
|
2966
2980
|
};
|
|
2967
|
-
/** payment type enum */
|
|
2968
|
-
export type PaymentType = 'CASH' | 'CHEQUE' | 'CREDIT_CARD' | 'OTHER' | 'OTHER_DEDUCTION' | 'PAYMENT_APP' | 'PAYPAL' | 'TAX_DEDUCTION' | 'WIRE_TRANSFER';
|
|
2969
2981
|
/** record type of PCN874 report */
|
|
2970
2982
|
export type Pcn874RecordType = 'C' | 'H' | 'I' | 'K' | 'L1' | 'L2' | 'M' | 'P' | 'R' | 'S1' | 'S2' | 'T' | 'Y';
|
|
2971
2983
|
/** record of PCN874 report */
|
|
@@ -3087,7 +3099,9 @@ export type Query = {
|
|
|
3087
3099
|
readonly chargesWithLedgerChanges: ReadonlyArray<ChargesWithLedgerChangesResult>;
|
|
3088
3100
|
readonly chargesWithMissingRequiredInfo: PaginatedCharges;
|
|
3089
3101
|
readonly client: Client;
|
|
3090
|
-
readonly
|
|
3102
|
+
readonly clientChargesDraftsByContracts: ReadonlyArray<NewDocumentInfo>;
|
|
3103
|
+
readonly clientMonthlyChargeDraft: NewDocumentInfo;
|
|
3104
|
+
readonly clientMonthlyChargesDrafts: ReadonlyArray<NewDocumentInfo>;
|
|
3091
3105
|
readonly contractsByAdmin: ReadonlyArray<Contract>;
|
|
3092
3106
|
readonly contractsByClient: ReadonlyArray<Contract>;
|
|
3093
3107
|
readonly contractsById: Contract;
|
|
@@ -3116,12 +3130,10 @@ export type Query = {
|
|
|
3116
3130
|
readonly ledgerRecordsByDates: ReadonlyArray<LedgerRecord>;
|
|
3117
3131
|
readonly ledgerRecordsByFinancialEntity: ReadonlyArray<LedgerRecord>;
|
|
3118
3132
|
readonly miscExpensesByCharge: ReadonlyArray<MiscExpense>;
|
|
3119
|
-
readonly
|
|
3120
|
-
readonly
|
|
3133
|
+
readonly newDocumentInfoDraftByCharge: NewDocumentInfo;
|
|
3134
|
+
readonly newDocumentInfoDraftByDocument: NewDocumentInfo;
|
|
3121
3135
|
readonly pcnByDate: ReadonlyArray<Pcn874Records>;
|
|
3122
3136
|
readonly pcnFile: PcnFileResult;
|
|
3123
|
-
readonly periodicalDocumentDrafts: ReadonlyArray<DocumentDraft>;
|
|
3124
|
-
readonly periodicalDocumentDraftsByContracts: ReadonlyArray<DocumentDraft>;
|
|
3125
3137
|
readonly ping?: Maybe<Scalars['Boolean']['output']>;
|
|
3126
3138
|
readonly profitAndLossReport: ProfitAndLossReport;
|
|
3127
3139
|
readonly recentDocumentsByBusiness: ReadonlyArray<Document>;
|
|
@@ -3221,11 +3233,20 @@ export type QueryClientArgs = {
|
|
|
3221
3233
|
businessId: Scalars['UUID']['input'];
|
|
3222
3234
|
};
|
|
3223
3235
|
/** query root */
|
|
3236
|
+
export type QueryClientChargesDraftsByContractsArgs = {
|
|
3237
|
+
contractIds: ReadonlyArray<Scalars['UUID']['input']>;
|
|
3238
|
+
issueMonth: Scalars['TimelessDate']['input'];
|
|
3239
|
+
};
|
|
3240
|
+
/** query root */
|
|
3224
3241
|
export type QueryClientMonthlyChargeDraftArgs = {
|
|
3225
3242
|
clientId: Scalars['UUID']['input'];
|
|
3226
3243
|
issueMonth: Scalars['TimelessDate']['input'];
|
|
3227
3244
|
};
|
|
3228
3245
|
/** query root */
|
|
3246
|
+
export type QueryClientMonthlyChargesDraftsArgs = {
|
|
3247
|
+
issueMonth: Scalars['TimelessDate']['input'];
|
|
3248
|
+
};
|
|
3249
|
+
/** query root */
|
|
3229
3250
|
export type QueryContractsByAdminArgs = {
|
|
3230
3251
|
adminId: Scalars['UUID']['input'];
|
|
3231
3252
|
};
|
|
@@ -3319,11 +3340,11 @@ export type QueryMiscExpensesByChargeArgs = {
|
|
|
3319
3340
|
chargeId: Scalars['UUID']['input'];
|
|
3320
3341
|
};
|
|
3321
3342
|
/** query root */
|
|
3322
|
-
export type
|
|
3343
|
+
export type QueryNewDocumentInfoDraftByChargeArgs = {
|
|
3323
3344
|
chargeId: Scalars['UUID']['input'];
|
|
3324
3345
|
};
|
|
3325
3346
|
/** query root */
|
|
3326
|
-
export type
|
|
3347
|
+
export type QueryNewDocumentInfoDraftByDocumentArgs = {
|
|
3327
3348
|
documentId: Scalars['UUID']['input'];
|
|
3328
3349
|
};
|
|
3329
3350
|
/** query root */
|
|
@@ -3339,15 +3360,6 @@ export type QueryPcnFileArgs = {
|
|
|
3339
3360
|
options?: InputMaybe<PcnOptionsInput>;
|
|
3340
3361
|
};
|
|
3341
3362
|
/** query root */
|
|
3342
|
-
export type QueryPeriodicalDocumentDraftsArgs = {
|
|
3343
|
-
issueMonth: Scalars['TimelessDate']['input'];
|
|
3344
|
-
};
|
|
3345
|
-
/** query root */
|
|
3346
|
-
export type QueryPeriodicalDocumentDraftsByContractsArgs = {
|
|
3347
|
-
contractIds: ReadonlyArray<Scalars['UUID']['input']>;
|
|
3348
|
-
issueMonth: Scalars['TimelessDate']['input'];
|
|
3349
|
-
};
|
|
3350
|
-
/** query root */
|
|
3351
3363
|
export type QueryProfitAndLossReportArgs = {
|
|
3352
3364
|
referenceYears: ReadonlyArray<Scalars['Int']['input']>;
|
|
3353
3365
|
reportYear: Scalars['Int']['input'];
|
|
@@ -4513,25 +4525,9 @@ export type ResolversTypes = {
|
|
|
4513
4525
|
DividendCharge: ResolverTypeWrapper<IGetChargesByIdsResult>;
|
|
4514
4526
|
DividendMock: ResolverTypeWrapper<Scalars['DividendMock']['output']>;
|
|
4515
4527
|
Document: ResolverTypeWrapper<ResolversInterfaceTypes<ResolversTypes>['Document']>;
|
|
4516
|
-
DocumentClientInput: DocumentClientInput;
|
|
4517
|
-
DocumentDiscount: ResolverTypeWrapper<DocumentDiscount>;
|
|
4518
|
-
DocumentDiscountInput: DocumentDiscountInput;
|
|
4519
|
-
DocumentDiscountType: DocumentDiscountType;
|
|
4520
|
-
DocumentDraft: ResolverTypeWrapper<Omit<DocumentDraft, 'client'> & {
|
|
4521
|
-
client?: Maybe<ResolversTypes['Client']>;
|
|
4522
|
-
}>;
|
|
4523
|
-
DocumentIncomeRecord: ResolverTypeWrapper<DocumentIncomeRecord>;
|
|
4524
|
-
DocumentIncomeRecordInput: DocumentIncomeRecordInput;
|
|
4525
|
-
DocumentIssueInput: DocumentIssueInput;
|
|
4526
|
-
DocumentLanguage: DocumentLanguage;
|
|
4527
|
-
DocumentLinkType: DocumentLinkType;
|
|
4528
|
-
DocumentPaymentRecord: ResolverTypeWrapper<DocumentPaymentRecord>;
|
|
4529
|
-
DocumentPaymentRecordCardType: DocumentPaymentRecordCardType;
|
|
4530
|
-
DocumentPaymentRecordInput: DocumentPaymentRecordInput;
|
|
4531
4528
|
DocumentStatus: DocumentStatus;
|
|
4532
4529
|
DocumentSuggestions: ResolverTypeWrapper<DocumentSuggestionsProto>;
|
|
4533
4530
|
DocumentType: DocumentType;
|
|
4534
|
-
DocumentVatType: DocumentVatType;
|
|
4535
4531
|
DocumentsFilters: DocumentsFilters;
|
|
4536
4532
|
DynamicReportInfo: ResolverTypeWrapper<IGetTemplateResult>;
|
|
4537
4533
|
DynamicReportNode: ResolverTypeWrapper<DynamicReportNode>;
|
|
@@ -4559,9 +4555,26 @@ export type ResolversTypes = {
|
|
|
4559
4555
|
ForeignSecuritiesCharge: ResolverTypeWrapper<IGetChargesByIdsResult>;
|
|
4560
4556
|
ForeignSecuritiesFinancialAccount: ResolverTypeWrapper<IGetFinancialAccountsByOwnerIdsResult>;
|
|
4561
4557
|
Fund: ResolverTypeWrapper<ResolversInterfaceTypes<ResolversTypes>['Fund']>;
|
|
4562
|
-
|
|
4558
|
+
GenerateMonthlyClientDocumentsResult: ResolverTypeWrapper<GenerateMonthlyClientDocumentsResult>;
|
|
4563
4559
|
GeneratedLedgerRecords: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['GeneratedLedgerRecords']>;
|
|
4564
4560
|
GreenInvoiceClient: ResolverTypeWrapper<string>;
|
|
4561
|
+
GreenInvoiceClientInput: GreenInvoiceClientInput;
|
|
4562
|
+
GreenInvoiceCountry: GreenInvoiceCountry;
|
|
4563
|
+
GreenInvoiceDiscount: ResolverTypeWrapper<GreenInvoiceDiscount>;
|
|
4564
|
+
GreenInvoiceDiscountInput: GreenInvoiceDiscountInput;
|
|
4565
|
+
GreenInvoiceDiscountType: GreenInvoiceDiscountType;
|
|
4566
|
+
GreenInvoiceDocumentLang: GreenInvoiceDocumentLang;
|
|
4567
|
+
GreenInvoiceIncome: ResolverTypeWrapper<GreenInvoiceIncome>;
|
|
4568
|
+
GreenInvoiceLinkType: GreenInvoiceLinkType;
|
|
4569
|
+
GreenInvoicePayment: ResolverTypeWrapper<GreenInvoicePayment>;
|
|
4570
|
+
GreenInvoicePaymentAppType: GreenInvoicePaymentAppType;
|
|
4571
|
+
GreenInvoicePaymentCardType: GreenInvoicePaymentCardType;
|
|
4572
|
+
GreenInvoicePaymentDealType: GreenInvoicePaymentDealType;
|
|
4573
|
+
GreenInvoicePaymentIncomeInput: GreenInvoicePaymentIncomeInput;
|
|
4574
|
+
GreenInvoicePaymentInput: GreenInvoicePaymentInput;
|
|
4575
|
+
GreenInvoicePaymentSubType: GreenInvoicePaymentSubType;
|
|
4576
|
+
GreenInvoicePaymentType: GreenInvoicePaymentType;
|
|
4577
|
+
GreenInvoiceVatType: GreenInvoiceVatType;
|
|
4565
4578
|
ID: ResolverTypeWrapper<Scalars['ID']['output']>;
|
|
4566
4579
|
IFRSReportingOption: IfrsReportingOption;
|
|
4567
4580
|
IncomeExpenseChart: ResolverTypeWrapper<Omit<IncomeExpenseChart, 'monthlyData'> & {
|
|
@@ -4617,6 +4630,10 @@ export type ResolversTypes = {
|
|
|
4617
4630
|
MissingChargeInfo: MissingChargeInfo;
|
|
4618
4631
|
MonthlyVatCharge: ResolverTypeWrapper<IGetChargesByIdsResult>;
|
|
4619
4632
|
Mutation: ResolverTypeWrapper<Record<PropertyKey, never>>;
|
|
4633
|
+
NewDocumentInfo: ResolverTypeWrapper<Omit<NewDocumentInfo, 'client'> & {
|
|
4634
|
+
client?: Maybe<ResolversTypes['GreenInvoiceClient']>;
|
|
4635
|
+
}>;
|
|
4636
|
+
NewDocumentInput: NewDocumentInput;
|
|
4620
4637
|
OtherDocument: ResolverTypeWrapper<IGetAllDocumentsResult>;
|
|
4621
4638
|
PCNFileResult: ResolverTypeWrapper<PcnFileResult>;
|
|
4622
4639
|
PCNOptionsInput: PcnOptionsInput;
|
|
@@ -4630,7 +4647,6 @@ export type ResolversTypes = {
|
|
|
4630
4647
|
PaginatedFinancialEntities: ResolverTypeWrapper<Omit<PaginatedFinancialEntities, 'nodes'> & {
|
|
4631
4648
|
nodes: ReadonlyArray<ResolversTypes['FinancialEntity']>;
|
|
4632
4649
|
}>;
|
|
4633
|
-
PaymentType: PaymentType;
|
|
4634
4650
|
Pcn874RecordType: Pcn874RecordType;
|
|
4635
4651
|
Pcn874Records: ResolverTypeWrapper<Omit<Pcn874Records, 'business'> & {
|
|
4636
4652
|
business: ResolversTypes['Business'];
|
|
@@ -4894,17 +4910,6 @@ export type ResolversParentTypes = {
|
|
|
4894
4910
|
DividendCharge: IGetChargesByIdsResult;
|
|
4895
4911
|
DividendMock: Scalars['DividendMock']['output'];
|
|
4896
4912
|
Document: ResolversInterfaceTypes<ResolversParentTypes>['Document'];
|
|
4897
|
-
DocumentClientInput: DocumentClientInput;
|
|
4898
|
-
DocumentDiscount: DocumentDiscount;
|
|
4899
|
-
DocumentDiscountInput: DocumentDiscountInput;
|
|
4900
|
-
DocumentDraft: Omit<DocumentDraft, 'client'> & {
|
|
4901
|
-
client?: Maybe<ResolversParentTypes['Client']>;
|
|
4902
|
-
};
|
|
4903
|
-
DocumentIncomeRecord: DocumentIncomeRecord;
|
|
4904
|
-
DocumentIncomeRecordInput: DocumentIncomeRecordInput;
|
|
4905
|
-
DocumentIssueInput: DocumentIssueInput;
|
|
4906
|
-
DocumentPaymentRecord: DocumentPaymentRecord;
|
|
4907
|
-
DocumentPaymentRecordInput: DocumentPaymentRecordInput;
|
|
4908
4913
|
DocumentSuggestions: DocumentSuggestionsProto;
|
|
4909
4914
|
DocumentsFilters: DocumentsFilters;
|
|
4910
4915
|
DynamicReportInfo: IGetTemplateResult;
|
|
@@ -4929,9 +4934,16 @@ export type ResolversParentTypes = {
|
|
|
4929
4934
|
ForeignSecuritiesCharge: IGetChargesByIdsResult;
|
|
4930
4935
|
ForeignSecuritiesFinancialAccount: IGetFinancialAccountsByOwnerIdsResult;
|
|
4931
4936
|
Fund: ResolversInterfaceTypes<ResolversParentTypes>['Fund'];
|
|
4932
|
-
|
|
4937
|
+
GenerateMonthlyClientDocumentsResult: GenerateMonthlyClientDocumentsResult;
|
|
4933
4938
|
GeneratedLedgerRecords: ResolversUnionTypes<ResolversParentTypes>['GeneratedLedgerRecords'];
|
|
4934
4939
|
GreenInvoiceClient: string;
|
|
4940
|
+
GreenInvoiceClientInput: GreenInvoiceClientInput;
|
|
4941
|
+
GreenInvoiceDiscount: GreenInvoiceDiscount;
|
|
4942
|
+
GreenInvoiceDiscountInput: GreenInvoiceDiscountInput;
|
|
4943
|
+
GreenInvoiceIncome: GreenInvoiceIncome;
|
|
4944
|
+
GreenInvoicePayment: GreenInvoicePayment;
|
|
4945
|
+
GreenInvoicePaymentIncomeInput: GreenInvoicePaymentIncomeInput;
|
|
4946
|
+
GreenInvoicePaymentInput: GreenInvoicePaymentInput;
|
|
4935
4947
|
ID: Scalars['ID']['output'];
|
|
4936
4948
|
IncomeExpenseChart: Omit<IncomeExpenseChart, 'monthlyData'> & {
|
|
4937
4949
|
monthlyData: ReadonlyArray<ResolversParentTypes['IncomeExpenseChartMonthData']>;
|
|
@@ -4983,6 +4995,10 @@ export type ResolversParentTypes = {
|
|
|
4983
4995
|
MiscExpense: IGetExpensesByChargeIdsResult;
|
|
4984
4996
|
MonthlyVatCharge: IGetChargesByIdsResult;
|
|
4985
4997
|
Mutation: Record<PropertyKey, never>;
|
|
4998
|
+
NewDocumentInfo: Omit<NewDocumentInfo, 'client'> & {
|
|
4999
|
+
client?: Maybe<ResolversParentTypes['GreenInvoiceClient']>;
|
|
5000
|
+
};
|
|
5001
|
+
NewDocumentInput: NewDocumentInput;
|
|
4986
5002
|
OtherDocument: IGetAllDocumentsResult;
|
|
4987
5003
|
PCNFileResult: PcnFileResult;
|
|
4988
5004
|
PCNOptionsInput: PcnOptionsInput;
|
|
@@ -6036,58 +6052,6 @@ export type DocumentResolvers<ContextType = GraphQLModules.Context, ParentType e
|
|
|
6036
6052
|
image?: Resolver<Maybe<ResolversTypes['URL']>, ParentType, ContextType>;
|
|
6037
6053
|
isReviewed?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
6038
6054
|
};
|
|
6039
|
-
export type DocumentDiscountResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['DocumentDiscount'] = ResolversParentTypes['DocumentDiscount']> = {
|
|
6040
|
-
amount?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
6041
|
-
type?: Resolver<ResolversTypes['DocumentDiscountType'], ParentType, ContextType>;
|
|
6042
|
-
};
|
|
6043
|
-
export type DocumentDraftResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['DocumentDraft'] = ResolversParentTypes['DocumentDraft']> = {
|
|
6044
|
-
client?: Resolver<Maybe<ResolversTypes['Client']>, ParentType, ContextType>;
|
|
6045
|
-
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
6046
|
-
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6047
|
-
description?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6048
|
-
discount?: Resolver<Maybe<ResolversTypes['DocumentDiscount']>, ParentType, ContextType>;
|
|
6049
|
-
dueDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6050
|
-
footer?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6051
|
-
income?: Resolver<Maybe<ReadonlyArray<ResolversTypes['DocumentIncomeRecord']>>, ParentType, ContextType>;
|
|
6052
|
-
language?: Resolver<ResolversTypes['DocumentLanguage'], ParentType, ContextType>;
|
|
6053
|
-
linkType?: Resolver<Maybe<ResolversTypes['DocumentLinkType']>, ParentType, ContextType>;
|
|
6054
|
-
linkedDocumentIds?: Resolver<Maybe<ReadonlyArray<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
6055
|
-
linkedPaymentId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6056
|
-
maxPayments?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
6057
|
-
payment?: Resolver<Maybe<ReadonlyArray<ResolversTypes['DocumentPaymentRecord']>>, ParentType, ContextType>;
|
|
6058
|
-
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6059
|
-
rounding?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
6060
|
-
signed?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
6061
|
-
type?: Resolver<ResolversTypes['DocumentType'], ParentType, ContextType>;
|
|
6062
|
-
vatType?: Resolver<ResolversTypes['DocumentVatType'], ParentType, ContextType>;
|
|
6063
|
-
};
|
|
6064
|
-
export type DocumentIncomeRecordResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['DocumentIncomeRecord'] = ResolversParentTypes['DocumentIncomeRecord']> = {
|
|
6065
|
-
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
6066
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
6067
|
-
description?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
6068
|
-
itemId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6069
|
-
price?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
6070
|
-
quantity?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
6071
|
-
vatRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
6072
|
-
vatType?: Resolver<ResolversTypes['DocumentVatType'], ParentType, ContextType>;
|
|
6073
|
-
};
|
|
6074
|
-
export type DocumentPaymentRecordResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['DocumentPaymentRecord'] = ResolversParentTypes['DocumentPaymentRecord']> = {
|
|
6075
|
-
accountId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6076
|
-
bankAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6077
|
-
bankBranch?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6078
|
-
bankName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6079
|
-
cardNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6080
|
-
cardType?: Resolver<Maybe<ResolversTypes['DocumentPaymentRecordCardType']>, ParentType, ContextType>;
|
|
6081
|
-
chequeNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6082
|
-
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
6083
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
6084
|
-
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6085
|
-
firstPayment?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
6086
|
-
numPayments?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
6087
|
-
price?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
6088
|
-
transactionId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6089
|
-
type?: Resolver<ResolversTypes['PaymentType'], ParentType, ContextType>;
|
|
6090
|
-
};
|
|
6091
6055
|
export type DocumentSuggestionsResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['DocumentSuggestions'] = ResolversParentTypes['DocumentSuggestions']> = {
|
|
6092
6056
|
amount?: Resolver<Maybe<ResolversTypes['FinancialAmount']>, ParentType, ContextType>;
|
|
6093
6057
|
counterparty?: Resolver<Maybe<ResolversTypes['FinancialEntity']>, ParentType, ContextType>;
|
|
@@ -6287,7 +6251,7 @@ export type FundResolvers<ContextType = GraphQLModules.Context, ParentType exten
|
|
|
6287
6251
|
id?: Resolver<ResolversTypes['UUID'], ParentType, ContextType>;
|
|
6288
6252
|
name?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
6289
6253
|
};
|
|
6290
|
-
export type
|
|
6254
|
+
export type GenerateMonthlyClientDocumentsResultResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['GenerateMonthlyClientDocumentsResult'] = ResolversParentTypes['GenerateMonthlyClientDocumentsResult']> = {
|
|
6291
6255
|
errors?: Resolver<Maybe<ReadonlyArray<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
6292
6256
|
success?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
6293
6257
|
};
|
|
@@ -6299,7 +6263,7 @@ export type GreenInvoiceClientResolvers<ContextType = GraphQLModules.Context, Pa
|
|
|
6299
6263
|
address?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6300
6264
|
businessId?: Resolver<ResolversTypes['UUID'], ParentType, ContextType>;
|
|
6301
6265
|
city?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6302
|
-
country?: Resolver<Maybe<ResolversTypes['
|
|
6266
|
+
country?: Resolver<Maybe<ResolversTypes['GreenInvoiceCountry']>, ParentType, ContextType>;
|
|
6303
6267
|
emails?: Resolver<Maybe<ReadonlyArray<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
6304
6268
|
fax?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6305
6269
|
greenInvoiceId?: Resolver<Maybe<ResolversTypes['ID']>, ParentType, ContextType>;
|
|
@@ -6310,6 +6274,40 @@ export type GreenInvoiceClientResolvers<ContextType = GraphQLModules.Context, Pa
|
|
|
6310
6274
|
taxId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6311
6275
|
zip?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6312
6276
|
};
|
|
6277
|
+
export type GreenInvoiceDiscountResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['GreenInvoiceDiscount'] = ResolversParentTypes['GreenInvoiceDiscount']> = {
|
|
6278
|
+
amount?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
6279
|
+
type?: Resolver<ResolversTypes['GreenInvoiceDiscountType'], ParentType, ContextType>;
|
|
6280
|
+
};
|
|
6281
|
+
export type GreenInvoiceIncomeResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['GreenInvoiceIncome'] = ResolversParentTypes['GreenInvoiceIncome']> = {
|
|
6282
|
+
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
6283
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
6284
|
+
description?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
6285
|
+
itemId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6286
|
+
price?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
6287
|
+
quantity?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
6288
|
+
vatRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
6289
|
+
vatType?: Resolver<ResolversTypes['GreenInvoiceVatType'], ParentType, ContextType>;
|
|
6290
|
+
};
|
|
6291
|
+
export type GreenInvoicePaymentResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['GreenInvoicePayment'] = ResolversParentTypes['GreenInvoicePayment']> = {
|
|
6292
|
+
accountId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6293
|
+
appType?: Resolver<Maybe<ResolversTypes['GreenInvoicePaymentAppType']>, ParentType, ContextType>;
|
|
6294
|
+
bankAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6295
|
+
bankBranch?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6296
|
+
bankName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6297
|
+
cardNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6298
|
+
cardType?: Resolver<Maybe<ResolversTypes['GreenInvoicePaymentCardType']>, ParentType, ContextType>;
|
|
6299
|
+
chequeNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6300
|
+
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
6301
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
6302
|
+
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6303
|
+
dealType?: Resolver<Maybe<ResolversTypes['GreenInvoicePaymentDealType']>, ParentType, ContextType>;
|
|
6304
|
+
firstPayment?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
6305
|
+
numPayments?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
6306
|
+
price?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
6307
|
+
subType?: Resolver<Maybe<ResolversTypes['GreenInvoicePaymentSubType']>, ParentType, ContextType>;
|
|
6308
|
+
transactionId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6309
|
+
type?: Resolver<ResolversTypes['GreenInvoicePaymentType'], ParentType, ContextType>;
|
|
6310
|
+
};
|
|
6313
6311
|
export type IncomeExpenseChartResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['IncomeExpenseChart'] = ResolversParentTypes['IncomeExpenseChart']> = {
|
|
6314
6312
|
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
6315
6313
|
fromDate?: Resolver<ResolversTypes['TimelessDate'], ParentType, ContextType>;
|
|
@@ -6418,7 +6416,7 @@ export type IssuedDocumentInfoResolvers<ContextType = GraphQLModules.Context, Pa
|
|
|
6418
6416
|
externalId?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
6419
6417
|
id?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
|
|
6420
6418
|
linkedDocuments?: Resolver<Maybe<ReadonlyArray<ResolversTypes['FinancialDocument']>>, ParentType, ContextType>;
|
|
6421
|
-
originalDocument?: Resolver<Maybe<ResolversTypes['
|
|
6419
|
+
originalDocument?: Resolver<Maybe<ResolversTypes['NewDocumentInfo']>, ParentType, ContextType>;
|
|
6422
6420
|
status?: Resolver<ResolversTypes['DocumentStatus'], ParentType, ContextType>;
|
|
6423
6421
|
};
|
|
6424
6422
|
export type LedgerResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['Ledger'] = ResolversParentTypes['Ledger']> = {
|
|
@@ -6596,6 +6594,7 @@ export type MutationResolvers<ContextType = GraphQLModules.Context, ParentType e
|
|
|
6596
6594
|
deleteTag?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType, RequireFields<MutationDeleteTagArgs, 'id'>>;
|
|
6597
6595
|
digestGmailMessages?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
6598
6596
|
fetchDeelDocuments?: Resolver<ReadonlyArray<ResolversTypes['Charge']>, ParentType, ContextType>;
|
|
6597
|
+
fetchIncomeDocuments?: Resolver<ReadonlyArray<ResolversTypes['Document']>, ParentType, ContextType, RequireFields<MutationFetchIncomeDocumentsArgs, 'ownerId'>>;
|
|
6599
6598
|
flagForeignFeeTransactions?: Resolver<ResolversTypes['FlagForeignFeeTransactionsResult'], ParentType, ContextType>;
|
|
6600
6599
|
generateBalanceCharge?: Resolver<ResolversTypes['FinancialCharge'], ParentType, ContextType, RequireFields<MutationGenerateBalanceChargeArgs, 'balanceRecords' | 'description'>>;
|
|
6601
6600
|
generateBankDepositsRevaluationCharge?: Resolver<ResolversTypes['FinancialCharge'], ParentType, ContextType, RequireFields<MutationGenerateBankDepositsRevaluationChargeArgs, 'date' | 'ownerId'>>;
|
|
@@ -6619,17 +6618,16 @@ export type MutationResolvers<ContextType = GraphQLModules.Context, ParentType e
|
|
|
6619
6618
|
insertSalaryRecordsFromFile?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType, RequireFields<MutationInsertSalaryRecordsFromFileArgs, 'chargeId' | 'file'>>;
|
|
6620
6619
|
insertTaxCategory?: Resolver<ResolversTypes['TaxCategory'], ParentType, ContextType, RequireFields<MutationInsertTaxCategoryArgs, 'fields'>>;
|
|
6621
6620
|
issueGreenInvoiceDocument?: Resolver<ResolversTypes['Charge'], ParentType, ContextType, RequireFields<MutationIssueGreenInvoiceDocumentArgs, 'input'>>;
|
|
6622
|
-
issueGreenInvoiceDocuments?: Resolver<ResolversTypes['
|
|
6621
|
+
issueGreenInvoiceDocuments?: Resolver<ResolversTypes['GenerateMonthlyClientDocumentsResult'], ParentType, ContextType, RequireFields<MutationIssueGreenInvoiceDocumentsArgs, 'generateDocumentsInfo'>>;
|
|
6623
6622
|
lockLedgerRecords?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType, RequireFields<MutationLockLedgerRecordsArgs, 'date'>>;
|
|
6624
6623
|
mergeBusinesses?: Resolver<ResolversTypes['Business'], ParentType, ContextType, RequireFields<MutationMergeBusinessesArgs, 'businessIdsToMerge' | 'targetBusinessId'>>;
|
|
6625
6624
|
mergeCharges?: Resolver<ResolversTypes['MergeChargeResult'], ParentType, ContextType, RequireFields<MutationMergeChargesArgs, 'baseChargeID' | 'chargeIdsToMerge'>>;
|
|
6626
6625
|
mergeChargesByTransactionReference?: Resolver<ResolversTypes['MergeChargesByTransactionReferenceResult'], ParentType, ContextType>;
|
|
6627
6626
|
pong?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
6628
|
-
|
|
6627
|
+
previewGreenInvoiceDocument?: Resolver<ResolversTypes['FileScalar'], ParentType, ContextType, RequireFields<MutationPreviewGreenInvoiceDocumentArgs, 'input'>>;
|
|
6629
6628
|
regenerateLedgerRecords?: Resolver<ResolversTypes['GeneratedLedgerRecords'], ParentType, ContextType, RequireFields<MutationRegenerateLedgerRecordsArgs, 'chargeId'>>;
|
|
6630
6629
|
startGmailListener?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
6631
6630
|
stopGmailListener?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
6632
|
-
syncGreenInvoiceDocuments?: Resolver<ReadonlyArray<ResolversTypes['Document']>, ParentType, ContextType, RequireFields<MutationSyncGreenInvoiceDocumentsArgs, 'ownerId'>>;
|
|
6633
6631
|
uncategorizePartialBusinessTripExpense?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType, RequireFields<MutationUncategorizePartialBusinessTripExpenseArgs, 'businessTripExpenseId' | 'transactionId'>>;
|
|
6634
6632
|
updateAdminBusiness?: Resolver<ResolversTypes['AdminBusiness'], ParentType, ContextType, RequireFields<MutationUpdateAdminBusinessArgs, 'businessId' | 'fields'>>;
|
|
6635
6633
|
updateAdminContext?: Resolver<ResolversTypes['AdminContext'], ParentType, ContextType, RequireFields<MutationUpdateAdminContextArgs, 'context'>>;
|
|
@@ -6666,6 +6664,27 @@ export type MutationResolvers<ContextType = GraphQLModules.Context, ParentType e
|
|
|
6666
6664
|
updateTransactions?: Resolver<ResolversTypes['UpdateTransactionsResult'], ParentType, ContextType, RequireFields<MutationUpdateTransactionsArgs, 'fields' | 'transactionIds'>>;
|
|
6667
6665
|
uploadDocument?: Resolver<ResolversTypes['UploadDocumentResult'], ParentType, ContextType, RequireFields<MutationUploadDocumentArgs, 'file'>>;
|
|
6668
6666
|
};
|
|
6667
|
+
export type NewDocumentInfoResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['NewDocumentInfo'] = ResolversParentTypes['NewDocumentInfo']> = {
|
|
6668
|
+
client?: Resolver<Maybe<ResolversTypes['GreenInvoiceClient']>, ParentType, ContextType>;
|
|
6669
|
+
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
6670
|
+
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6671
|
+
description?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6672
|
+
discount?: Resolver<Maybe<ResolversTypes['GreenInvoiceDiscount']>, ParentType, ContextType>;
|
|
6673
|
+
dueDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6674
|
+
footer?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6675
|
+
income?: Resolver<Maybe<ReadonlyArray<ResolversTypes['GreenInvoiceIncome']>>, ParentType, ContextType>;
|
|
6676
|
+
lang?: Resolver<ResolversTypes['GreenInvoiceDocumentLang'], ParentType, ContextType>;
|
|
6677
|
+
linkType?: Resolver<Maybe<ResolversTypes['GreenInvoiceLinkType']>, ParentType, ContextType>;
|
|
6678
|
+
linkedDocumentIds?: Resolver<Maybe<ReadonlyArray<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
6679
|
+
linkedPaymentId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6680
|
+
maxPayments?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
6681
|
+
payment?: Resolver<Maybe<ReadonlyArray<ResolversTypes['GreenInvoicePayment']>>, ParentType, ContextType>;
|
|
6682
|
+
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
6683
|
+
rounding?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
6684
|
+
signed?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
6685
|
+
type?: Resolver<ResolversTypes['DocumentType'], ParentType, ContextType>;
|
|
6686
|
+
vatType?: Resolver<ResolversTypes['GreenInvoiceVatType'], ParentType, ContextType>;
|
|
6687
|
+
};
|
|
6669
6688
|
export type OtherDocumentResolvers<ContextType = GraphQLModules.Context, ParentType extends ResolversParentTypes['OtherDocument'] = ResolversParentTypes['OtherDocument']> = {
|
|
6670
6689
|
charge?: Resolver<Maybe<ResolversTypes['Charge']>, ParentType, ContextType>;
|
|
6671
6690
|
documentType?: Resolver<Maybe<ResolversTypes['DocumentType']>, ParentType, ContextType>;
|
|
@@ -6794,7 +6813,9 @@ export type QueryResolvers<ContextType = GraphQLModules.Context, ParentType exte
|
|
|
6794
6813
|
chargesWithLedgerChanges?: Resolver<ReadonlyArray<ResolversTypes['ChargesWithLedgerChangesResult']>, ParentType, ContextType, Partial<QueryChargesWithLedgerChangesArgs>>;
|
|
6795
6814
|
chargesWithMissingRequiredInfo?: Resolver<ResolversTypes['PaginatedCharges'], ParentType, ContextType, RequireFields<QueryChargesWithMissingRequiredInfoArgs, 'limit' | 'page'>>;
|
|
6796
6815
|
client?: Resolver<ResolversTypes['Client'], ParentType, ContextType, RequireFields<QueryClientArgs, 'businessId'>>;
|
|
6797
|
-
|
|
6816
|
+
clientChargesDraftsByContracts?: Resolver<ReadonlyArray<ResolversTypes['NewDocumentInfo']>, ParentType, ContextType, RequireFields<QueryClientChargesDraftsByContractsArgs, 'contractIds' | 'issueMonth'>>;
|
|
6817
|
+
clientMonthlyChargeDraft?: Resolver<ResolversTypes['NewDocumentInfo'], ParentType, ContextType, RequireFields<QueryClientMonthlyChargeDraftArgs, 'clientId' | 'issueMonth'>>;
|
|
6818
|
+
clientMonthlyChargesDrafts?: Resolver<ReadonlyArray<ResolversTypes['NewDocumentInfo']>, ParentType, ContextType, RequireFields<QueryClientMonthlyChargesDraftsArgs, 'issueMonth'>>;
|
|
6798
6819
|
contractsByAdmin?: Resolver<ReadonlyArray<ResolversTypes['Contract']>, ParentType, ContextType, RequireFields<QueryContractsByAdminArgs, 'adminId'>>;
|
|
6799
6820
|
contractsByClient?: Resolver<ReadonlyArray<ResolversTypes['Contract']>, ParentType, ContextType, RequireFields<QueryContractsByClientArgs, 'clientId'>>;
|
|
6800
6821
|
contractsById?: Resolver<ResolversTypes['Contract'], ParentType, ContextType, RequireFields<QueryContractsByIdArgs, 'id'>>;
|
|
@@ -6821,12 +6842,10 @@ export type QueryResolvers<ContextType = GraphQLModules.Context, ParentType exte
|
|
|
6821
6842
|
ledgerRecordsByDates?: Resolver<ReadonlyArray<ResolversTypes['LedgerRecord']>, ParentType, ContextType, RequireFields<QueryLedgerRecordsByDatesArgs, 'fromDate' | 'toDate'>>;
|
|
6822
6843
|
ledgerRecordsByFinancialEntity?: Resolver<ReadonlyArray<ResolversTypes['LedgerRecord']>, ParentType, ContextType, RequireFields<QueryLedgerRecordsByFinancialEntityArgs, 'financialEntityId'>>;
|
|
6823
6844
|
miscExpensesByCharge?: Resolver<ReadonlyArray<ResolversTypes['MiscExpense']>, ParentType, ContextType, RequireFields<QueryMiscExpensesByChargeArgs, 'chargeId'>>;
|
|
6824
|
-
|
|
6825
|
-
|
|
6845
|
+
newDocumentInfoDraftByCharge?: Resolver<ResolversTypes['NewDocumentInfo'], ParentType, ContextType, RequireFields<QueryNewDocumentInfoDraftByChargeArgs, 'chargeId'>>;
|
|
6846
|
+
newDocumentInfoDraftByDocument?: Resolver<ResolversTypes['NewDocumentInfo'], ParentType, ContextType, RequireFields<QueryNewDocumentInfoDraftByDocumentArgs, 'documentId'>>;
|
|
6826
6847
|
pcnByDate?: Resolver<ReadonlyArray<ResolversTypes['Pcn874Records']>, ParentType, ContextType, RequireFields<QueryPcnByDateArgs, 'fromMonthDate' | 'toMonthDate'>>;
|
|
6827
6848
|
pcnFile?: Resolver<ResolversTypes['PCNFileResult'], ParentType, ContextType, RequireFields<QueryPcnFileArgs, 'financialEntityId' | 'monthDate'>>;
|
|
6828
|
-
periodicalDocumentDrafts?: Resolver<ReadonlyArray<ResolversTypes['DocumentDraft']>, ParentType, ContextType, RequireFields<QueryPeriodicalDocumentDraftsArgs, 'issueMonth'>>;
|
|
6829
|
-
periodicalDocumentDraftsByContracts?: Resolver<ReadonlyArray<ResolversTypes['DocumentDraft']>, ParentType, ContextType, RequireFields<QueryPeriodicalDocumentDraftsByContractsArgs, 'contractIds' | 'issueMonth'>>;
|
|
6830
6849
|
ping?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
6831
6850
|
profitAndLossReport?: Resolver<ResolversTypes['ProfitAndLossReport'], ParentType, ContextType, RequireFields<QueryProfitAndLossReportArgs, 'referenceYears' | 'reportYear'>>;
|
|
6832
6851
|
recentDocumentsByBusiness?: Resolver<ReadonlyArray<ResolversTypes['Document']>, ParentType, ContextType, RequireFields<QueryRecentDocumentsByBusinessArgs, 'businessId'>>;
|
|
@@ -7345,10 +7364,6 @@ export type Resolvers<ContextType = GraphQLModules.Context> = {
|
|
|
7345
7364
|
DividendCharge?: DividendChargeResolvers<ContextType>;
|
|
7346
7365
|
DividendMock?: GraphQLScalarType;
|
|
7347
7366
|
Document?: DocumentResolvers<ContextType>;
|
|
7348
|
-
DocumentDiscount?: DocumentDiscountResolvers<ContextType>;
|
|
7349
|
-
DocumentDraft?: DocumentDraftResolvers<ContextType>;
|
|
7350
|
-
DocumentIncomeRecord?: DocumentIncomeRecordResolvers<ContextType>;
|
|
7351
|
-
DocumentPaymentRecord?: DocumentPaymentRecordResolvers<ContextType>;
|
|
7352
7367
|
DocumentSuggestions?: DocumentSuggestionsResolvers<ContextType>;
|
|
7353
7368
|
DocumentType?: DocumentTypeResolvers;
|
|
7354
7369
|
DynamicReportInfo?: DynamicReportInfoResolvers<ContextType>;
|
|
@@ -7369,9 +7384,12 @@ export type Resolvers<ContextType = GraphQLModules.Context> = {
|
|
|
7369
7384
|
ForeignSecuritiesCharge?: ForeignSecuritiesChargeResolvers<ContextType>;
|
|
7370
7385
|
ForeignSecuritiesFinancialAccount?: ForeignSecuritiesFinancialAccountResolvers<ContextType>;
|
|
7371
7386
|
Fund?: FundResolvers<ContextType>;
|
|
7372
|
-
|
|
7387
|
+
GenerateMonthlyClientDocumentsResult?: GenerateMonthlyClientDocumentsResultResolvers<ContextType>;
|
|
7373
7388
|
GeneratedLedgerRecords?: GeneratedLedgerRecordsResolvers<ContextType>;
|
|
7374
7389
|
GreenInvoiceClient?: GreenInvoiceClientResolvers<ContextType>;
|
|
7390
|
+
GreenInvoiceDiscount?: GreenInvoiceDiscountResolvers<ContextType>;
|
|
7391
|
+
GreenInvoiceIncome?: GreenInvoiceIncomeResolvers<ContextType>;
|
|
7392
|
+
GreenInvoicePayment?: GreenInvoicePaymentResolvers<ContextType>;
|
|
7375
7393
|
IncomeExpenseChart?: IncomeExpenseChartResolvers<ContextType>;
|
|
7376
7394
|
IncomeExpenseChartMonthData?: IncomeExpenseChartMonthDataResolvers<ContextType>;
|
|
7377
7395
|
InsertDepreciationCategoryResult?: InsertDepreciationCategoryResultResolvers<ContextType>;
|
|
@@ -7399,6 +7417,7 @@ export type Resolvers<ContextType = GraphQLModules.Context> = {
|
|
|
7399
7417
|
MissingChargeInfo?: MissingChargeInfoResolvers;
|
|
7400
7418
|
MonthlyVatCharge?: MonthlyVatChargeResolvers<ContextType>;
|
|
7401
7419
|
Mutation?: MutationResolvers<ContextType>;
|
|
7420
|
+
NewDocumentInfo?: NewDocumentInfoResolvers<ContextType>;
|
|
7402
7421
|
OtherDocument?: OtherDocumentResolvers<ContextType>;
|
|
7403
7422
|
PCNFileResult?: PcnFileResultResolvers<ContextType>;
|
|
7404
7423
|
PageInfo?: PageInfoResolvers<ContextType>;
|