@chift/chift-nodejs 1.0.1 → 1.0.3
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 +15 -4
- package/dist/src/modules/accounting.d.ts +4 -1
- package/dist/src/modules/accounting.js +16 -1
- package/dist/src/modules/api.d.ts +1494 -262
- package/dist/src/modules/consumer.d.ts +95 -13
- package/dist/src/modules/consumers.d.ts +475 -65
- package/dist/src/modules/integrations.d.ts +2 -0
- package/dist/src/modules/sync.d.ts +380 -52
- package/dist/src/modules/sync.js +0 -2
- package/dist/src/modules/syncs.d.ts +956 -136
- package/dist/test/modules/accounting.test.js +104 -15
- package/dist/test/modules/consumers.test.js +1 -1
- package/dist/test/modules/pos.test.js +4 -4
- package/package.json +1 -1
- package/src/modules/accounting.ts +12 -1
- package/src/types/public-api/schema.d.ts +56 -2
- package/test/modules/accounting.test.ts +108 -21
- package/test/modules/consumers.test.ts +3 -1
- package/.eslintcache +0 -1
- package/coverage/clover.xml +0 -1645
- package/coverage/coverage-final.json +0 -19
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -146
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/coverage/lcov-report/src/helpers/index.html +0 -131
- package/coverage/lcov-report/src/helpers/openapi.ts.html +0 -151
- package/coverage/lcov-report/src/helpers/settings.ts.html +0 -94
- package/coverage/lcov-report/src/index.html +0 -116
- package/coverage/lcov-report/src/index.ts.html +0 -88
- package/coverage/lcov-report/src/modules/accounting.ts.html +0 -1156
- package/coverage/lcov-report/src/modules/api.ts.html +0 -190
- package/coverage/lcov-report/src/modules/consumer.ts.html +0 -616
- package/coverage/lcov-report/src/modules/consumers.ts.html +0 -331
- package/coverage/lcov-report/src/modules/custom.ts.html +0 -193
- package/coverage/lcov-report/src/modules/datastores.ts.html +0 -142
- package/coverage/lcov-report/src/modules/ecommerce.ts.html +0 -331
- package/coverage/lcov-report/src/modules/flow.ts.html +0 -589
- package/coverage/lcov-report/src/modules/index.html +0 -326
- package/coverage/lcov-report/src/modules/integrations.ts.html +0 -151
- package/coverage/lcov-report/src/modules/internalApi.ts.html +0 -586
- package/coverage/lcov-report/src/modules/invoicing.ts.html +0 -391
- package/coverage/lcov-report/src/modules/pos.ts.html +0 -421
- package/coverage/lcov-report/src/modules/sync.ts.html +0 -316
- package/coverage/lcov-report/src/modules/syncs.ts.html +0 -169
- package/coverage/lcov-report/src/modules/webhooks.ts.html +0 -343
- package/coverage/lcov.info +0 -1976
- package/dist/test/modules/flow.test.d.ts +0 -1
- package/dist/test/modules/flow.test.js +0 -69
|
@@ -371,6 +371,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
371
371
|
country?: string | undefined;
|
|
372
372
|
}[] | undefined;
|
|
373
373
|
account_number?: string | undefined;
|
|
374
|
+
company_number?: string | undefined;
|
|
374
375
|
id?: string | undefined;
|
|
375
376
|
}[]>;
|
|
376
377
|
createClient(client: {
|
|
@@ -441,6 +442,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
441
442
|
country?: string | undefined;
|
|
442
443
|
}[] | undefined;
|
|
443
444
|
account_number?: string | undefined;
|
|
445
|
+
company_number?: string | undefined;
|
|
444
446
|
id?: string | undefined;
|
|
445
447
|
}>;
|
|
446
448
|
getClient(clientId: string): import("../types/api").RequestData<{
|
|
@@ -476,6 +478,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
476
478
|
country?: string | undefined;
|
|
477
479
|
}[] | undefined;
|
|
478
480
|
account_number?: string | undefined;
|
|
481
|
+
company_number?: string | undefined;
|
|
479
482
|
id?: string | undefined;
|
|
480
483
|
}>;
|
|
481
484
|
updateClient(clientId: string, client: {
|
|
@@ -543,6 +546,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
543
546
|
country?: string | undefined;
|
|
544
547
|
}[] | undefined;
|
|
545
548
|
account_number?: string | undefined;
|
|
549
|
+
company_number?: string | undefined;
|
|
546
550
|
id?: string | undefined;
|
|
547
551
|
}>;
|
|
548
552
|
getSuppliers(): import("../types/api").RequestData<{
|
|
@@ -578,6 +582,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
578
582
|
country?: string | undefined;
|
|
579
583
|
}[] | undefined;
|
|
580
584
|
account_number?: string | undefined;
|
|
585
|
+
company_number?: string | undefined;
|
|
581
586
|
id?: string | undefined;
|
|
582
587
|
}[]>;
|
|
583
588
|
createSupplier(supplier: {
|
|
@@ -648,6 +653,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
648
653
|
country?: string | undefined;
|
|
649
654
|
}[] | undefined;
|
|
650
655
|
account_number?: string | undefined;
|
|
656
|
+
company_number?: string | undefined;
|
|
651
657
|
id?: string | undefined;
|
|
652
658
|
}>;
|
|
653
659
|
getSupplier(supplierId: string): import("../types/api").RequestData<{
|
|
@@ -683,6 +689,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
683
689
|
country?: string | undefined;
|
|
684
690
|
}[] | undefined;
|
|
685
691
|
account_number?: string | undefined;
|
|
692
|
+
company_number?: string | undefined;
|
|
686
693
|
id?: string | undefined;
|
|
687
694
|
}>;
|
|
688
695
|
updateSupplier(supplierId: string, supplier: {
|
|
@@ -750,6 +757,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
750
757
|
country?: string | undefined;
|
|
751
758
|
}[] | undefined;
|
|
752
759
|
account_number?: string | undefined;
|
|
760
|
+
company_number?: string | undefined;
|
|
753
761
|
id?: string | undefined;
|
|
754
762
|
}>;
|
|
755
763
|
createInvoice(invoice: {
|
|
@@ -814,7 +822,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
814
822
|
amount: number;
|
|
815
823
|
dedicated_amount?: number | undefined;
|
|
816
824
|
payment_date: string;
|
|
817
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
825
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
818
826
|
journal_id: string;
|
|
819
827
|
journal_name: string;
|
|
820
828
|
reconciled?: boolean | undefined;
|
|
@@ -905,7 +913,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
905
913
|
amount: number;
|
|
906
914
|
dedicated_amount?: number | undefined;
|
|
907
915
|
payment_date: string;
|
|
908
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
916
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
909
917
|
journal_id: string;
|
|
910
918
|
journal_name: string;
|
|
911
919
|
reconciled?: boolean | undefined;
|
|
@@ -956,7 +964,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
956
964
|
amount: number;
|
|
957
965
|
dedicated_amount?: number | undefined;
|
|
958
966
|
payment_date: string;
|
|
959
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
967
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
960
968
|
journal_id: string;
|
|
961
969
|
journal_name: string;
|
|
962
970
|
reconciled?: boolean | undefined;
|
|
@@ -1003,7 +1011,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
1003
1011
|
amount: number;
|
|
1004
1012
|
dedicated_amount?: number | undefined;
|
|
1005
1013
|
payment_date: string;
|
|
1006
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
1014
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
1007
1015
|
journal_id: string;
|
|
1008
1016
|
journal_name: string;
|
|
1009
1017
|
reconciled?: boolean | undefined;
|
|
@@ -1050,7 +1058,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
1050
1058
|
amount: number;
|
|
1051
1059
|
dedicated_amount?: number | undefined;
|
|
1052
1060
|
payment_date: string;
|
|
1053
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
1061
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
1054
1062
|
journal_id: string;
|
|
1055
1063
|
journal_name: string;
|
|
1056
1064
|
reconciled?: boolean | undefined;
|
|
@@ -1101,7 +1109,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
1101
1109
|
amount: number;
|
|
1102
1110
|
dedicated_amount?: number | undefined;
|
|
1103
1111
|
payment_date: string;
|
|
1104
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
1112
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
1105
1113
|
journal_id: string;
|
|
1106
1114
|
journal_name: string;
|
|
1107
1115
|
reconciled?: boolean | undefined;
|
|
@@ -1315,7 +1323,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
1315
1323
|
amount: number;
|
|
1316
1324
|
dedicated_amount?: number | undefined;
|
|
1317
1325
|
payment_date: string;
|
|
1318
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
1326
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
1319
1327
|
journal_id: string;
|
|
1320
1328
|
journal_name: string;
|
|
1321
1329
|
reconciled?: boolean | undefined;
|
|
@@ -1326,13 +1334,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
1326
1334
|
id: string;
|
|
1327
1335
|
code: string;
|
|
1328
1336
|
name: string;
|
|
1329
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
1337
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
1330
1338
|
}[]>;
|
|
1331
1339
|
getVatCodes(): import("../types/api").RequestData<{
|
|
1332
1340
|
id: string;
|
|
1333
1341
|
code?: string | undefined;
|
|
1334
1342
|
label: string;
|
|
1335
|
-
scope?: "
|
|
1343
|
+
scope?: "unknown" | "nat" | "eu" | "int" | undefined;
|
|
1336
1344
|
rate: number;
|
|
1337
1345
|
type: "unknown" | "sale" | "purchase" | "both";
|
|
1338
1346
|
}[]>;
|
|
@@ -1444,6 +1452,25 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
1444
1452
|
reference?: string | undefined;
|
|
1445
1453
|
account_number?: string | undefined;
|
|
1446
1454
|
}[]>;
|
|
1455
|
+
getOutstandings(params: {
|
|
1456
|
+
unposted_allowed: "true" | "false";
|
|
1457
|
+
type: "client" | "supplier";
|
|
1458
|
+
}): import("../types/api").RequestData<{
|
|
1459
|
+
id: string;
|
|
1460
|
+
number?: string | undefined;
|
|
1461
|
+
journal_id: string;
|
|
1462
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
1463
|
+
date: string;
|
|
1464
|
+
due_date?: string | undefined;
|
|
1465
|
+
currency: string;
|
|
1466
|
+
currency_exchange_rate: number;
|
|
1467
|
+
amount: number;
|
|
1468
|
+
open_amount: number;
|
|
1469
|
+
partner_id: string;
|
|
1470
|
+
account_number: string;
|
|
1471
|
+
reference?: string | undefined;
|
|
1472
|
+
posted: boolean;
|
|
1473
|
+
}[]>;
|
|
1447
1474
|
createFinancialEntry(financial_entry: {
|
|
1448
1475
|
date: string;
|
|
1449
1476
|
journal_id: string;
|
|
@@ -1459,7 +1486,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
1459
1486
|
}[];
|
|
1460
1487
|
number?: string | undefined;
|
|
1461
1488
|
pdf?: string | undefined;
|
|
1462
|
-
}
|
|
1489
|
+
}, params: {
|
|
1490
|
+
financial_counterpart_account?: string | undefined;
|
|
1491
|
+
} | undefined): import("../types/api").RequestData<{
|
|
1463
1492
|
date: string;
|
|
1464
1493
|
journal_id: string;
|
|
1465
1494
|
currency: string;
|
|
@@ -1476,6 +1505,59 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
1476
1505
|
id: string;
|
|
1477
1506
|
number: string;
|
|
1478
1507
|
}>;
|
|
1508
|
+
createJournalEntry(journal_entry: {
|
|
1509
|
+
reference?: string | undefined;
|
|
1510
|
+
due_date?: string | undefined;
|
|
1511
|
+
journal_id: string;
|
|
1512
|
+
name: string;
|
|
1513
|
+
date: string;
|
|
1514
|
+
items: {
|
|
1515
|
+
account_number: string;
|
|
1516
|
+
partner_id?: string | undefined;
|
|
1517
|
+
description?: string | undefined;
|
|
1518
|
+
debit: number;
|
|
1519
|
+
credit: number;
|
|
1520
|
+
currency: string;
|
|
1521
|
+
currency_exchange_rate?: number | undefined;
|
|
1522
|
+
analytic_distribution?: {
|
|
1523
|
+
analytic_plan: string;
|
|
1524
|
+
analytic_accounts: {
|
|
1525
|
+
analytic_account: string;
|
|
1526
|
+
percentage: number;
|
|
1527
|
+
}[];
|
|
1528
|
+
}[] | undefined;
|
|
1529
|
+
pdf?: string | undefined;
|
|
1530
|
+
}[];
|
|
1531
|
+
}): import("../types/api").RequestData<{
|
|
1532
|
+
reference?: string | undefined;
|
|
1533
|
+
due_date?: string | undefined;
|
|
1534
|
+
journal_id: string;
|
|
1535
|
+
name?: string | undefined;
|
|
1536
|
+
journal_name: string;
|
|
1537
|
+
date?: string | undefined;
|
|
1538
|
+
posted?: boolean | undefined;
|
|
1539
|
+
id: string;
|
|
1540
|
+
items?: {
|
|
1541
|
+
account_number: string;
|
|
1542
|
+
partner_id?: string | undefined;
|
|
1543
|
+
description?: string | undefined;
|
|
1544
|
+
debit: number;
|
|
1545
|
+
credit: number;
|
|
1546
|
+
currency: string;
|
|
1547
|
+
currency_exchange_rate?: number | undefined;
|
|
1548
|
+
id: string;
|
|
1549
|
+
partner_name?: string | undefined;
|
|
1550
|
+
account_name: string;
|
|
1551
|
+
matching_numbers?: string[] | undefined;
|
|
1552
|
+
analytic_distribution?: {
|
|
1553
|
+
analytic_plan: string;
|
|
1554
|
+
analytic_accounts: {
|
|
1555
|
+
analytic_account: string;
|
|
1556
|
+
percentage: number;
|
|
1557
|
+
}[];
|
|
1558
|
+
}[] | undefined;
|
|
1559
|
+
}[] | undefined;
|
|
1560
|
+
}>;
|
|
1479
1561
|
}>;
|
|
1480
1562
|
invoicing: import("../types/api").ApiFor<{
|
|
1481
1563
|
getInvoices(params: {
|
|
@@ -1704,7 +1786,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
1704
1786
|
rate: number;
|
|
1705
1787
|
type: "unknown" | "sale" | "purchase" | "both";
|
|
1706
1788
|
code?: string | undefined;
|
|
1707
|
-
scope?: "
|
|
1789
|
+
scope?: "unknown" | "nat" | "eu" | "int" | undefined;
|
|
1708
1790
|
}[]>;
|
|
1709
1791
|
getTaxById(taxId: string): import("../types/api").RequestData<{
|
|
1710
1792
|
id: string;
|
|
@@ -1716,7 +1798,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
1716
1798
|
rate: number;
|
|
1717
1799
|
type: "unknown" | "sale" | "purchase" | "both";
|
|
1718
1800
|
code?: string | undefined;
|
|
1719
|
-
scope?: "
|
|
1801
|
+
scope?: "unknown" | "nat" | "eu" | "int" | undefined;
|
|
1720
1802
|
}>;
|
|
1721
1803
|
getOpportunities(): import("../types/api").RequestData<{
|
|
1722
1804
|
id: string;
|
|
@@ -1771,7 +1853,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
1771
1853
|
} | undefined;
|
|
1772
1854
|
}>;
|
|
1773
1855
|
getContacts(params?: {
|
|
1774
|
-
contact_type?: "all" | "
|
|
1856
|
+
contact_type?: "all" | "supplier" | "prospect" | "customer" | undefined;
|
|
1775
1857
|
page?: number | undefined;
|
|
1776
1858
|
size?: number | undefined;
|
|
1777
1859
|
} | undefined): import("../types/api").RequestData<{
|
|
@@ -2992,6 +3074,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
2992
3074
|
country?: string | undefined;
|
|
2993
3075
|
}[] | undefined;
|
|
2994
3076
|
account_number?: string | undefined;
|
|
3077
|
+
company_number?: string | undefined;
|
|
2995
3078
|
id?: string | undefined;
|
|
2996
3079
|
}[]>;
|
|
2997
3080
|
createClient(client: {
|
|
@@ -3062,6 +3145,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3062
3145
|
country?: string | undefined;
|
|
3063
3146
|
}[] | undefined;
|
|
3064
3147
|
account_number?: string | undefined;
|
|
3148
|
+
company_number?: string | undefined;
|
|
3065
3149
|
id?: string | undefined;
|
|
3066
3150
|
}>;
|
|
3067
3151
|
getClient(clientId: string): import("../types/api").RequestData<{
|
|
@@ -3097,6 +3181,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3097
3181
|
country?: string | undefined;
|
|
3098
3182
|
}[] | undefined;
|
|
3099
3183
|
account_number?: string | undefined;
|
|
3184
|
+
company_number?: string | undefined;
|
|
3100
3185
|
id?: string | undefined;
|
|
3101
3186
|
}>;
|
|
3102
3187
|
updateClient(clientId: string, client: {
|
|
@@ -3164,6 +3249,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3164
3249
|
country?: string | undefined;
|
|
3165
3250
|
}[] | undefined;
|
|
3166
3251
|
account_number?: string | undefined;
|
|
3252
|
+
company_number?: string | undefined;
|
|
3167
3253
|
id?: string | undefined;
|
|
3168
3254
|
}>;
|
|
3169
3255
|
getSuppliers(): import("../types/api").RequestData<{
|
|
@@ -3199,6 +3285,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3199
3285
|
country?: string | undefined;
|
|
3200
3286
|
}[] | undefined;
|
|
3201
3287
|
account_number?: string | undefined;
|
|
3288
|
+
company_number?: string | undefined;
|
|
3202
3289
|
id?: string | undefined;
|
|
3203
3290
|
}[]>;
|
|
3204
3291
|
createSupplier(supplier: {
|
|
@@ -3269,6 +3356,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3269
3356
|
country?: string | undefined;
|
|
3270
3357
|
}[] | undefined;
|
|
3271
3358
|
account_number?: string | undefined;
|
|
3359
|
+
company_number?: string | undefined;
|
|
3272
3360
|
id?: string | undefined;
|
|
3273
3361
|
}>;
|
|
3274
3362
|
getSupplier(supplierId: string): import("../types/api").RequestData<{
|
|
@@ -3304,6 +3392,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3304
3392
|
country?: string | undefined;
|
|
3305
3393
|
}[] | undefined;
|
|
3306
3394
|
account_number?: string | undefined;
|
|
3395
|
+
company_number?: string | undefined;
|
|
3307
3396
|
id?: string | undefined;
|
|
3308
3397
|
}>;
|
|
3309
3398
|
updateSupplier(supplierId: string, supplier: {
|
|
@@ -3371,6 +3460,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3371
3460
|
country?: string | undefined;
|
|
3372
3461
|
}[] | undefined;
|
|
3373
3462
|
account_number?: string | undefined;
|
|
3463
|
+
company_number?: string | undefined;
|
|
3374
3464
|
id?: string | undefined;
|
|
3375
3465
|
}>;
|
|
3376
3466
|
createInvoice(invoice: {
|
|
@@ -3435,7 +3525,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3435
3525
|
amount: number;
|
|
3436
3526
|
dedicated_amount?: number | undefined;
|
|
3437
3527
|
payment_date: string;
|
|
3438
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
3528
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
3439
3529
|
journal_id: string;
|
|
3440
3530
|
journal_name: string;
|
|
3441
3531
|
reconciled?: boolean | undefined;
|
|
@@ -3526,7 +3616,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3526
3616
|
amount: number;
|
|
3527
3617
|
dedicated_amount?: number | undefined;
|
|
3528
3618
|
payment_date: string;
|
|
3529
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
3619
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
3530
3620
|
journal_id: string;
|
|
3531
3621
|
journal_name: string;
|
|
3532
3622
|
reconciled?: boolean | undefined;
|
|
@@ -3577,7 +3667,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3577
3667
|
amount: number;
|
|
3578
3668
|
dedicated_amount?: number | undefined;
|
|
3579
3669
|
payment_date: string;
|
|
3580
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
3670
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
3581
3671
|
journal_id: string;
|
|
3582
3672
|
journal_name: string;
|
|
3583
3673
|
reconciled?: boolean | undefined;
|
|
@@ -3624,7 +3714,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3624
3714
|
amount: number;
|
|
3625
3715
|
dedicated_amount?: number | undefined;
|
|
3626
3716
|
payment_date: string;
|
|
3627
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
3717
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
3628
3718
|
journal_id: string;
|
|
3629
3719
|
journal_name: string;
|
|
3630
3720
|
reconciled?: boolean | undefined;
|
|
@@ -3671,7 +3761,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3671
3761
|
amount: number;
|
|
3672
3762
|
dedicated_amount?: number | undefined;
|
|
3673
3763
|
payment_date: string;
|
|
3674
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
3764
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
3675
3765
|
journal_id: string;
|
|
3676
3766
|
journal_name: string;
|
|
3677
3767
|
reconciled?: boolean | undefined;
|
|
@@ -3722,7 +3812,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3722
3812
|
amount: number;
|
|
3723
3813
|
dedicated_amount?: number | undefined;
|
|
3724
3814
|
payment_date: string;
|
|
3725
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
3815
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
3726
3816
|
journal_id: string;
|
|
3727
3817
|
journal_name: string;
|
|
3728
3818
|
reconciled?: boolean | undefined;
|
|
@@ -3936,7 +4026,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3936
4026
|
amount: number;
|
|
3937
4027
|
dedicated_amount?: number | undefined;
|
|
3938
4028
|
payment_date: string;
|
|
3939
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
4029
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
3940
4030
|
journal_id: string;
|
|
3941
4031
|
journal_name: string;
|
|
3942
4032
|
reconciled?: boolean | undefined;
|
|
@@ -3947,13 +4037,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
3947
4037
|
id: string;
|
|
3948
4038
|
code: string;
|
|
3949
4039
|
name: string;
|
|
3950
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
4040
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
3951
4041
|
}[]>;
|
|
3952
4042
|
getVatCodes(): import("../types/api").RequestData<{
|
|
3953
4043
|
id: string;
|
|
3954
4044
|
code?: string | undefined;
|
|
3955
4045
|
label: string;
|
|
3956
|
-
scope?: "
|
|
4046
|
+
scope?: "unknown" | "nat" | "eu" | "int" | undefined;
|
|
3957
4047
|
rate: number;
|
|
3958
4048
|
type: "unknown" | "sale" | "purchase" | "both";
|
|
3959
4049
|
}[]>;
|
|
@@ -4065,6 +4155,25 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
4065
4155
|
reference?: string | undefined;
|
|
4066
4156
|
account_number?: string | undefined;
|
|
4067
4157
|
}[]>;
|
|
4158
|
+
getOutstandings(params: {
|
|
4159
|
+
unposted_allowed: "true" | "false";
|
|
4160
|
+
type: "client" | "supplier";
|
|
4161
|
+
}): import("../types/api").RequestData<{
|
|
4162
|
+
id: string;
|
|
4163
|
+
number?: string | undefined;
|
|
4164
|
+
journal_id: string;
|
|
4165
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
4166
|
+
date: string;
|
|
4167
|
+
due_date?: string | undefined;
|
|
4168
|
+
currency: string;
|
|
4169
|
+
currency_exchange_rate: number;
|
|
4170
|
+
amount: number;
|
|
4171
|
+
open_amount: number;
|
|
4172
|
+
partner_id: string;
|
|
4173
|
+
account_number: string;
|
|
4174
|
+
reference?: string | undefined;
|
|
4175
|
+
posted: boolean;
|
|
4176
|
+
}[]>;
|
|
4068
4177
|
createFinancialEntry(financial_entry: {
|
|
4069
4178
|
date: string;
|
|
4070
4179
|
journal_id: string;
|
|
@@ -4080,7 +4189,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
4080
4189
|
}[];
|
|
4081
4190
|
number?: string | undefined;
|
|
4082
4191
|
pdf?: string | undefined;
|
|
4083
|
-
}
|
|
4192
|
+
}, params: {
|
|
4193
|
+
financial_counterpart_account?: string | undefined;
|
|
4194
|
+
} | undefined): import("../types/api").RequestData<{
|
|
4084
4195
|
date: string;
|
|
4085
4196
|
journal_id: string;
|
|
4086
4197
|
currency: string;
|
|
@@ -4097,6 +4208,59 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
4097
4208
|
id: string;
|
|
4098
4209
|
number: string;
|
|
4099
4210
|
}>;
|
|
4211
|
+
createJournalEntry(journal_entry: {
|
|
4212
|
+
reference?: string | undefined;
|
|
4213
|
+
due_date?: string | undefined;
|
|
4214
|
+
journal_id: string;
|
|
4215
|
+
name: string;
|
|
4216
|
+
date: string;
|
|
4217
|
+
items: {
|
|
4218
|
+
account_number: string;
|
|
4219
|
+
partner_id?: string | undefined;
|
|
4220
|
+
description?: string | undefined;
|
|
4221
|
+
debit: number;
|
|
4222
|
+
credit: number;
|
|
4223
|
+
currency: string;
|
|
4224
|
+
currency_exchange_rate?: number | undefined;
|
|
4225
|
+
analytic_distribution?: {
|
|
4226
|
+
analytic_plan: string;
|
|
4227
|
+
analytic_accounts: {
|
|
4228
|
+
analytic_account: string;
|
|
4229
|
+
percentage: number;
|
|
4230
|
+
}[];
|
|
4231
|
+
}[] | undefined;
|
|
4232
|
+
pdf?: string | undefined;
|
|
4233
|
+
}[];
|
|
4234
|
+
}): import("../types/api").RequestData<{
|
|
4235
|
+
reference?: string | undefined;
|
|
4236
|
+
due_date?: string | undefined;
|
|
4237
|
+
journal_id: string;
|
|
4238
|
+
name?: string | undefined;
|
|
4239
|
+
journal_name: string;
|
|
4240
|
+
date?: string | undefined;
|
|
4241
|
+
posted?: boolean | undefined;
|
|
4242
|
+
id: string;
|
|
4243
|
+
items?: {
|
|
4244
|
+
account_number: string;
|
|
4245
|
+
partner_id?: string | undefined;
|
|
4246
|
+
description?: string | undefined;
|
|
4247
|
+
debit: number;
|
|
4248
|
+
credit: number;
|
|
4249
|
+
currency: string;
|
|
4250
|
+
currency_exchange_rate?: number | undefined;
|
|
4251
|
+
id: string;
|
|
4252
|
+
partner_name?: string | undefined;
|
|
4253
|
+
account_name: string;
|
|
4254
|
+
matching_numbers?: string[] | undefined;
|
|
4255
|
+
analytic_distribution?: {
|
|
4256
|
+
analytic_plan: string;
|
|
4257
|
+
analytic_accounts: {
|
|
4258
|
+
analytic_account: string;
|
|
4259
|
+
percentage: number;
|
|
4260
|
+
}[];
|
|
4261
|
+
}[] | undefined;
|
|
4262
|
+
}[] | undefined;
|
|
4263
|
+
}>;
|
|
4100
4264
|
}>;
|
|
4101
4265
|
invoicing: import("../types/api").ApiFor<{
|
|
4102
4266
|
getInvoices(params: {
|
|
@@ -4325,7 +4489,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
4325
4489
|
rate: number;
|
|
4326
4490
|
type: "unknown" | "sale" | "purchase" | "both";
|
|
4327
4491
|
code?: string | undefined;
|
|
4328
|
-
scope?: "
|
|
4492
|
+
scope?: "unknown" | "nat" | "eu" | "int" | undefined;
|
|
4329
4493
|
}[]>;
|
|
4330
4494
|
getTaxById(taxId: string): import("../types/api").RequestData<{
|
|
4331
4495
|
id: string;
|
|
@@ -4337,7 +4501,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
4337
4501
|
rate: number;
|
|
4338
4502
|
type: "unknown" | "sale" | "purchase" | "both";
|
|
4339
4503
|
code?: string | undefined;
|
|
4340
|
-
scope?: "
|
|
4504
|
+
scope?: "unknown" | "nat" | "eu" | "int" | undefined;
|
|
4341
4505
|
}>;
|
|
4342
4506
|
getOpportunities(): import("../types/api").RequestData<{
|
|
4343
4507
|
id: string;
|
|
@@ -4392,7 +4556,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
4392
4556
|
} | undefined;
|
|
4393
4557
|
}>;
|
|
4394
4558
|
getContacts(params?: {
|
|
4395
|
-
contact_type?: "all" | "
|
|
4559
|
+
contact_type?: "all" | "supplier" | "prospect" | "customer" | undefined;
|
|
4396
4560
|
page?: number | undefined;
|
|
4397
4561
|
size?: number | undefined;
|
|
4398
4562
|
} | undefined): import("../types/api").RequestData<{
|
|
@@ -5613,6 +5777,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
5613
5777
|
country?: string | undefined;
|
|
5614
5778
|
}[] | undefined;
|
|
5615
5779
|
account_number?: string | undefined;
|
|
5780
|
+
company_number?: string | undefined;
|
|
5616
5781
|
id?: string | undefined;
|
|
5617
5782
|
}[]>;
|
|
5618
5783
|
createClient(client: {
|
|
@@ -5683,6 +5848,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
5683
5848
|
country?: string | undefined;
|
|
5684
5849
|
}[] | undefined;
|
|
5685
5850
|
account_number?: string | undefined;
|
|
5851
|
+
company_number?: string | undefined;
|
|
5686
5852
|
id?: string | undefined;
|
|
5687
5853
|
}>;
|
|
5688
5854
|
getClient(clientId: string): import("../types/api").RequestData<{
|
|
@@ -5718,6 +5884,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
5718
5884
|
country?: string | undefined;
|
|
5719
5885
|
}[] | undefined;
|
|
5720
5886
|
account_number?: string | undefined;
|
|
5887
|
+
company_number?: string | undefined;
|
|
5721
5888
|
id?: string | undefined;
|
|
5722
5889
|
}>;
|
|
5723
5890
|
updateClient(clientId: string, client: {
|
|
@@ -5785,6 +5952,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
5785
5952
|
country?: string | undefined;
|
|
5786
5953
|
}[] | undefined;
|
|
5787
5954
|
account_number?: string | undefined;
|
|
5955
|
+
company_number?: string | undefined;
|
|
5788
5956
|
id?: string | undefined;
|
|
5789
5957
|
}>;
|
|
5790
5958
|
getSuppliers(): import("../types/api").RequestData<{
|
|
@@ -5820,6 +5988,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
5820
5988
|
country?: string | undefined;
|
|
5821
5989
|
}[] | undefined;
|
|
5822
5990
|
account_number?: string | undefined;
|
|
5991
|
+
company_number?: string | undefined;
|
|
5823
5992
|
id?: string | undefined;
|
|
5824
5993
|
}[]>;
|
|
5825
5994
|
createSupplier(supplier: {
|
|
@@ -5890,6 +6059,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
5890
6059
|
country?: string | undefined;
|
|
5891
6060
|
}[] | undefined;
|
|
5892
6061
|
account_number?: string | undefined;
|
|
6062
|
+
company_number?: string | undefined;
|
|
5893
6063
|
id?: string | undefined;
|
|
5894
6064
|
}>;
|
|
5895
6065
|
getSupplier(supplierId: string): import("../types/api").RequestData<{
|
|
@@ -5925,6 +6095,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
5925
6095
|
country?: string | undefined;
|
|
5926
6096
|
}[] | undefined;
|
|
5927
6097
|
account_number?: string | undefined;
|
|
6098
|
+
company_number?: string | undefined;
|
|
5928
6099
|
id?: string | undefined;
|
|
5929
6100
|
}>;
|
|
5930
6101
|
updateSupplier(supplierId: string, supplier: {
|
|
@@ -5992,6 +6163,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
5992
6163
|
country?: string | undefined;
|
|
5993
6164
|
}[] | undefined;
|
|
5994
6165
|
account_number?: string | undefined;
|
|
6166
|
+
company_number?: string | undefined;
|
|
5995
6167
|
id?: string | undefined;
|
|
5996
6168
|
}>;
|
|
5997
6169
|
createInvoice(invoice: {
|
|
@@ -6056,7 +6228,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6056
6228
|
amount: number;
|
|
6057
6229
|
dedicated_amount?: number | undefined;
|
|
6058
6230
|
payment_date: string;
|
|
6059
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
6231
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
6060
6232
|
journal_id: string;
|
|
6061
6233
|
journal_name: string;
|
|
6062
6234
|
reconciled?: boolean | undefined;
|
|
@@ -6147,7 +6319,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6147
6319
|
amount: number;
|
|
6148
6320
|
dedicated_amount?: number | undefined;
|
|
6149
6321
|
payment_date: string;
|
|
6150
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
6322
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
6151
6323
|
journal_id: string;
|
|
6152
6324
|
journal_name: string;
|
|
6153
6325
|
reconciled?: boolean | undefined;
|
|
@@ -6198,7 +6370,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6198
6370
|
amount: number;
|
|
6199
6371
|
dedicated_amount?: number | undefined;
|
|
6200
6372
|
payment_date: string;
|
|
6201
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
6373
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
6202
6374
|
journal_id: string;
|
|
6203
6375
|
journal_name: string;
|
|
6204
6376
|
reconciled?: boolean | undefined;
|
|
@@ -6245,7 +6417,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6245
6417
|
amount: number;
|
|
6246
6418
|
dedicated_amount?: number | undefined;
|
|
6247
6419
|
payment_date: string;
|
|
6248
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
6420
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
6249
6421
|
journal_id: string;
|
|
6250
6422
|
journal_name: string;
|
|
6251
6423
|
reconciled?: boolean | undefined;
|
|
@@ -6292,7 +6464,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6292
6464
|
amount: number;
|
|
6293
6465
|
dedicated_amount?: number | undefined;
|
|
6294
6466
|
payment_date: string;
|
|
6295
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
6467
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
6296
6468
|
journal_id: string;
|
|
6297
6469
|
journal_name: string;
|
|
6298
6470
|
reconciled?: boolean | undefined;
|
|
@@ -6343,7 +6515,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6343
6515
|
amount: number;
|
|
6344
6516
|
dedicated_amount?: number | undefined;
|
|
6345
6517
|
payment_date: string;
|
|
6346
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
6518
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
6347
6519
|
journal_id: string;
|
|
6348
6520
|
journal_name: string;
|
|
6349
6521
|
reconciled?: boolean | undefined;
|
|
@@ -6557,7 +6729,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6557
6729
|
amount: number;
|
|
6558
6730
|
dedicated_amount?: number | undefined;
|
|
6559
6731
|
payment_date: string;
|
|
6560
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
6732
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
6561
6733
|
journal_id: string;
|
|
6562
6734
|
journal_name: string;
|
|
6563
6735
|
reconciled?: boolean | undefined;
|
|
@@ -6568,13 +6740,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6568
6740
|
id: string;
|
|
6569
6741
|
code: string;
|
|
6570
6742
|
name: string;
|
|
6571
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
6743
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
6572
6744
|
}[]>;
|
|
6573
6745
|
getVatCodes(): import("../types/api").RequestData<{
|
|
6574
6746
|
id: string;
|
|
6575
6747
|
code?: string | undefined;
|
|
6576
6748
|
label: string;
|
|
6577
|
-
scope?: "
|
|
6749
|
+
scope?: "unknown" | "nat" | "eu" | "int" | undefined;
|
|
6578
6750
|
rate: number;
|
|
6579
6751
|
type: "unknown" | "sale" | "purchase" | "both";
|
|
6580
6752
|
}[]>;
|
|
@@ -6686,6 +6858,25 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6686
6858
|
reference?: string | undefined;
|
|
6687
6859
|
account_number?: string | undefined;
|
|
6688
6860
|
}[]>;
|
|
6861
|
+
getOutstandings(params: {
|
|
6862
|
+
unposted_allowed: "true" | "false";
|
|
6863
|
+
type: "client" | "supplier";
|
|
6864
|
+
}): import("../types/api").RequestData<{
|
|
6865
|
+
id: string;
|
|
6866
|
+
number?: string | undefined;
|
|
6867
|
+
journal_id: string;
|
|
6868
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
6869
|
+
date: string;
|
|
6870
|
+
due_date?: string | undefined;
|
|
6871
|
+
currency: string;
|
|
6872
|
+
currency_exchange_rate: number;
|
|
6873
|
+
amount: number;
|
|
6874
|
+
open_amount: number;
|
|
6875
|
+
partner_id: string;
|
|
6876
|
+
account_number: string;
|
|
6877
|
+
reference?: string | undefined;
|
|
6878
|
+
posted: boolean;
|
|
6879
|
+
}[]>;
|
|
6689
6880
|
createFinancialEntry(financial_entry: {
|
|
6690
6881
|
date: string;
|
|
6691
6882
|
journal_id: string;
|
|
@@ -6701,7 +6892,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6701
6892
|
}[];
|
|
6702
6893
|
number?: string | undefined;
|
|
6703
6894
|
pdf?: string | undefined;
|
|
6704
|
-
}
|
|
6895
|
+
}, params: {
|
|
6896
|
+
financial_counterpart_account?: string | undefined;
|
|
6897
|
+
} | undefined): import("../types/api").RequestData<{
|
|
6705
6898
|
date: string;
|
|
6706
6899
|
journal_id: string;
|
|
6707
6900
|
currency: string;
|
|
@@ -6718,6 +6911,59 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6718
6911
|
id: string;
|
|
6719
6912
|
number: string;
|
|
6720
6913
|
}>;
|
|
6914
|
+
createJournalEntry(journal_entry: {
|
|
6915
|
+
reference?: string | undefined;
|
|
6916
|
+
due_date?: string | undefined;
|
|
6917
|
+
journal_id: string;
|
|
6918
|
+
name: string;
|
|
6919
|
+
date: string;
|
|
6920
|
+
items: {
|
|
6921
|
+
account_number: string;
|
|
6922
|
+
partner_id?: string | undefined;
|
|
6923
|
+
description?: string | undefined;
|
|
6924
|
+
debit: number;
|
|
6925
|
+
credit: number;
|
|
6926
|
+
currency: string;
|
|
6927
|
+
currency_exchange_rate?: number | undefined;
|
|
6928
|
+
analytic_distribution?: {
|
|
6929
|
+
analytic_plan: string;
|
|
6930
|
+
analytic_accounts: {
|
|
6931
|
+
analytic_account: string;
|
|
6932
|
+
percentage: number;
|
|
6933
|
+
}[];
|
|
6934
|
+
}[] | undefined;
|
|
6935
|
+
pdf?: string | undefined;
|
|
6936
|
+
}[];
|
|
6937
|
+
}): import("../types/api").RequestData<{
|
|
6938
|
+
reference?: string | undefined;
|
|
6939
|
+
due_date?: string | undefined;
|
|
6940
|
+
journal_id: string;
|
|
6941
|
+
name?: string | undefined;
|
|
6942
|
+
journal_name: string;
|
|
6943
|
+
date?: string | undefined;
|
|
6944
|
+
posted?: boolean | undefined;
|
|
6945
|
+
id: string;
|
|
6946
|
+
items?: {
|
|
6947
|
+
account_number: string;
|
|
6948
|
+
partner_id?: string | undefined;
|
|
6949
|
+
description?: string | undefined;
|
|
6950
|
+
debit: number;
|
|
6951
|
+
credit: number;
|
|
6952
|
+
currency: string;
|
|
6953
|
+
currency_exchange_rate?: number | undefined;
|
|
6954
|
+
id: string;
|
|
6955
|
+
partner_name?: string | undefined;
|
|
6956
|
+
account_name: string;
|
|
6957
|
+
matching_numbers?: string[] | undefined;
|
|
6958
|
+
analytic_distribution?: {
|
|
6959
|
+
analytic_plan: string;
|
|
6960
|
+
analytic_accounts: {
|
|
6961
|
+
analytic_account: string;
|
|
6962
|
+
percentage: number;
|
|
6963
|
+
}[];
|
|
6964
|
+
}[] | undefined;
|
|
6965
|
+
}[] | undefined;
|
|
6966
|
+
}>;
|
|
6721
6967
|
}>;
|
|
6722
6968
|
invoicing: import("../types/api").ApiFor<{
|
|
6723
6969
|
getInvoices(params: {
|
|
@@ -6946,7 +7192,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6946
7192
|
rate: number;
|
|
6947
7193
|
type: "unknown" | "sale" | "purchase" | "both";
|
|
6948
7194
|
code?: string | undefined;
|
|
6949
|
-
scope?: "
|
|
7195
|
+
scope?: "unknown" | "nat" | "eu" | "int" | undefined;
|
|
6950
7196
|
}[]>;
|
|
6951
7197
|
getTaxById(taxId: string): import("../types/api").RequestData<{
|
|
6952
7198
|
id: string;
|
|
@@ -6958,7 +7204,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
6958
7204
|
rate: number;
|
|
6959
7205
|
type: "unknown" | "sale" | "purchase" | "both";
|
|
6960
7206
|
code?: string | undefined;
|
|
6961
|
-
scope?: "
|
|
7207
|
+
scope?: "unknown" | "nat" | "eu" | "int" | undefined;
|
|
6962
7208
|
}>;
|
|
6963
7209
|
getOpportunities(): import("../types/api").RequestData<{
|
|
6964
7210
|
id: string;
|
|
@@ -7013,7 +7259,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
7013
7259
|
} | undefined;
|
|
7014
7260
|
}>;
|
|
7015
7261
|
getContacts(params?: {
|
|
7016
|
-
contact_type?: "all" | "
|
|
7262
|
+
contact_type?: "all" | "supplier" | "prospect" | "customer" | undefined;
|
|
7017
7263
|
page?: number | undefined;
|
|
7018
7264
|
size?: number | undefined;
|
|
7019
7265
|
} | undefined): import("../types/api").RequestData<{
|
|
@@ -8234,6 +8480,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8234
8480
|
country?: string | undefined;
|
|
8235
8481
|
}[] | undefined;
|
|
8236
8482
|
account_number?: string | undefined;
|
|
8483
|
+
company_number?: string | undefined;
|
|
8237
8484
|
id?: string | undefined;
|
|
8238
8485
|
}[]>;
|
|
8239
8486
|
createClient(client: {
|
|
@@ -8304,6 +8551,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8304
8551
|
country?: string | undefined;
|
|
8305
8552
|
}[] | undefined;
|
|
8306
8553
|
account_number?: string | undefined;
|
|
8554
|
+
company_number?: string | undefined;
|
|
8307
8555
|
id?: string | undefined;
|
|
8308
8556
|
}>;
|
|
8309
8557
|
getClient(clientId: string): import("../types/api").RequestData<{
|
|
@@ -8339,6 +8587,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8339
8587
|
country?: string | undefined;
|
|
8340
8588
|
}[] | undefined;
|
|
8341
8589
|
account_number?: string | undefined;
|
|
8590
|
+
company_number?: string | undefined;
|
|
8342
8591
|
id?: string | undefined;
|
|
8343
8592
|
}>;
|
|
8344
8593
|
updateClient(clientId: string, client: {
|
|
@@ -8406,6 +8655,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8406
8655
|
country?: string | undefined;
|
|
8407
8656
|
}[] | undefined;
|
|
8408
8657
|
account_number?: string | undefined;
|
|
8658
|
+
company_number?: string | undefined;
|
|
8409
8659
|
id?: string | undefined;
|
|
8410
8660
|
}>;
|
|
8411
8661
|
getSuppliers(): import("../types/api").RequestData<{
|
|
@@ -8441,6 +8691,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8441
8691
|
country?: string | undefined;
|
|
8442
8692
|
}[] | undefined;
|
|
8443
8693
|
account_number?: string | undefined;
|
|
8694
|
+
company_number?: string | undefined;
|
|
8444
8695
|
id?: string | undefined;
|
|
8445
8696
|
}[]>;
|
|
8446
8697
|
createSupplier(supplier: {
|
|
@@ -8511,6 +8762,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8511
8762
|
country?: string | undefined;
|
|
8512
8763
|
}[] | undefined;
|
|
8513
8764
|
account_number?: string | undefined;
|
|
8765
|
+
company_number?: string | undefined;
|
|
8514
8766
|
id?: string | undefined;
|
|
8515
8767
|
}>;
|
|
8516
8768
|
getSupplier(supplierId: string): import("../types/api").RequestData<{
|
|
@@ -8546,6 +8798,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8546
8798
|
country?: string | undefined;
|
|
8547
8799
|
}[] | undefined;
|
|
8548
8800
|
account_number?: string | undefined;
|
|
8801
|
+
company_number?: string | undefined;
|
|
8549
8802
|
id?: string | undefined;
|
|
8550
8803
|
}>;
|
|
8551
8804
|
updateSupplier(supplierId: string, supplier: {
|
|
@@ -8613,6 +8866,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8613
8866
|
country?: string | undefined;
|
|
8614
8867
|
}[] | undefined;
|
|
8615
8868
|
account_number?: string | undefined;
|
|
8869
|
+
company_number?: string | undefined;
|
|
8616
8870
|
id?: string | undefined;
|
|
8617
8871
|
}>;
|
|
8618
8872
|
createInvoice(invoice: {
|
|
@@ -8677,7 +8931,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8677
8931
|
amount: number;
|
|
8678
8932
|
dedicated_amount?: number | undefined;
|
|
8679
8933
|
payment_date: string;
|
|
8680
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
8934
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
8681
8935
|
journal_id: string;
|
|
8682
8936
|
journal_name: string;
|
|
8683
8937
|
reconciled?: boolean | undefined;
|
|
@@ -8768,7 +9022,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8768
9022
|
amount: number;
|
|
8769
9023
|
dedicated_amount?: number | undefined;
|
|
8770
9024
|
payment_date: string;
|
|
8771
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
9025
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
8772
9026
|
journal_id: string;
|
|
8773
9027
|
journal_name: string;
|
|
8774
9028
|
reconciled?: boolean | undefined;
|
|
@@ -8819,7 +9073,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8819
9073
|
amount: number;
|
|
8820
9074
|
dedicated_amount?: number | undefined;
|
|
8821
9075
|
payment_date: string;
|
|
8822
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
9076
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
8823
9077
|
journal_id: string;
|
|
8824
9078
|
journal_name: string;
|
|
8825
9079
|
reconciled?: boolean | undefined;
|
|
@@ -8866,7 +9120,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8866
9120
|
amount: number;
|
|
8867
9121
|
dedicated_amount?: number | undefined;
|
|
8868
9122
|
payment_date: string;
|
|
8869
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
9123
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
8870
9124
|
journal_id: string;
|
|
8871
9125
|
journal_name: string;
|
|
8872
9126
|
reconciled?: boolean | undefined;
|
|
@@ -8913,7 +9167,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8913
9167
|
amount: number;
|
|
8914
9168
|
dedicated_amount?: number | undefined;
|
|
8915
9169
|
payment_date: string;
|
|
8916
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
9170
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
8917
9171
|
journal_id: string;
|
|
8918
9172
|
journal_name: string;
|
|
8919
9173
|
reconciled?: boolean | undefined;
|
|
@@ -8964,7 +9218,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
8964
9218
|
amount: number;
|
|
8965
9219
|
dedicated_amount?: number | undefined;
|
|
8966
9220
|
payment_date: string;
|
|
8967
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
9221
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
8968
9222
|
journal_id: string;
|
|
8969
9223
|
journal_name: string;
|
|
8970
9224
|
reconciled?: boolean | undefined;
|
|
@@ -9178,7 +9432,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
9178
9432
|
amount: number;
|
|
9179
9433
|
dedicated_amount?: number | undefined;
|
|
9180
9434
|
payment_date: string;
|
|
9181
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
9435
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
9182
9436
|
journal_id: string;
|
|
9183
9437
|
journal_name: string;
|
|
9184
9438
|
reconciled?: boolean | undefined;
|
|
@@ -9189,13 +9443,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
9189
9443
|
id: string;
|
|
9190
9444
|
code: string;
|
|
9191
9445
|
name: string;
|
|
9192
|
-
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation";
|
|
9446
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
9193
9447
|
}[]>;
|
|
9194
9448
|
getVatCodes(): import("../types/api").RequestData<{
|
|
9195
9449
|
id: string;
|
|
9196
9450
|
code?: string | undefined;
|
|
9197
9451
|
label: string;
|
|
9198
|
-
scope?: "
|
|
9452
|
+
scope?: "unknown" | "nat" | "eu" | "int" | undefined;
|
|
9199
9453
|
rate: number;
|
|
9200
9454
|
type: "unknown" | "sale" | "purchase" | "both";
|
|
9201
9455
|
}[]>;
|
|
@@ -9307,6 +9561,25 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
9307
9561
|
reference?: string | undefined;
|
|
9308
9562
|
account_number?: string | undefined;
|
|
9309
9563
|
}[]>;
|
|
9564
|
+
getOutstandings(params: {
|
|
9565
|
+
unposted_allowed: "true" | "false";
|
|
9566
|
+
type: "client" | "supplier";
|
|
9567
|
+
}): import("../types/api").RequestData<{
|
|
9568
|
+
id: string;
|
|
9569
|
+
number?: string | undefined;
|
|
9570
|
+
journal_id: string;
|
|
9571
|
+
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
9572
|
+
date: string;
|
|
9573
|
+
due_date?: string | undefined;
|
|
9574
|
+
currency: string;
|
|
9575
|
+
currency_exchange_rate: number;
|
|
9576
|
+
amount: number;
|
|
9577
|
+
open_amount: number;
|
|
9578
|
+
partner_id: string;
|
|
9579
|
+
account_number: string;
|
|
9580
|
+
reference?: string | undefined;
|
|
9581
|
+
posted: boolean;
|
|
9582
|
+
}[]>;
|
|
9310
9583
|
createFinancialEntry(financial_entry: {
|
|
9311
9584
|
date: string;
|
|
9312
9585
|
journal_id: string;
|
|
@@ -9322,7 +9595,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
9322
9595
|
}[];
|
|
9323
9596
|
number?: string | undefined;
|
|
9324
9597
|
pdf?: string | undefined;
|
|
9325
|
-
}
|
|
9598
|
+
}, params: {
|
|
9599
|
+
financial_counterpart_account?: string | undefined;
|
|
9600
|
+
} | undefined): import("../types/api").RequestData<{
|
|
9326
9601
|
date: string;
|
|
9327
9602
|
journal_id: string;
|
|
9328
9603
|
currency: string;
|
|
@@ -9339,6 +9614,59 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
9339
9614
|
id: string;
|
|
9340
9615
|
number: string;
|
|
9341
9616
|
}>;
|
|
9617
|
+
createJournalEntry(journal_entry: {
|
|
9618
|
+
reference?: string | undefined;
|
|
9619
|
+
due_date?: string | undefined;
|
|
9620
|
+
journal_id: string;
|
|
9621
|
+
name: string;
|
|
9622
|
+
date: string;
|
|
9623
|
+
items: {
|
|
9624
|
+
account_number: string;
|
|
9625
|
+
partner_id?: string | undefined;
|
|
9626
|
+
description?: string | undefined;
|
|
9627
|
+
debit: number;
|
|
9628
|
+
credit: number;
|
|
9629
|
+
currency: string;
|
|
9630
|
+
currency_exchange_rate?: number | undefined;
|
|
9631
|
+
analytic_distribution?: {
|
|
9632
|
+
analytic_plan: string;
|
|
9633
|
+
analytic_accounts: {
|
|
9634
|
+
analytic_account: string;
|
|
9635
|
+
percentage: number;
|
|
9636
|
+
}[];
|
|
9637
|
+
}[] | undefined;
|
|
9638
|
+
pdf?: string | undefined;
|
|
9639
|
+
}[];
|
|
9640
|
+
}): import("../types/api").RequestData<{
|
|
9641
|
+
reference?: string | undefined;
|
|
9642
|
+
due_date?: string | undefined;
|
|
9643
|
+
journal_id: string;
|
|
9644
|
+
name?: string | undefined;
|
|
9645
|
+
journal_name: string;
|
|
9646
|
+
date?: string | undefined;
|
|
9647
|
+
posted?: boolean | undefined;
|
|
9648
|
+
id: string;
|
|
9649
|
+
items?: {
|
|
9650
|
+
account_number: string;
|
|
9651
|
+
partner_id?: string | undefined;
|
|
9652
|
+
description?: string | undefined;
|
|
9653
|
+
debit: number;
|
|
9654
|
+
credit: number;
|
|
9655
|
+
currency: string;
|
|
9656
|
+
currency_exchange_rate?: number | undefined;
|
|
9657
|
+
id: string;
|
|
9658
|
+
partner_name?: string | undefined;
|
|
9659
|
+
account_name: string;
|
|
9660
|
+
matching_numbers?: string[] | undefined;
|
|
9661
|
+
analytic_distribution?: {
|
|
9662
|
+
analytic_plan: string;
|
|
9663
|
+
analytic_accounts: {
|
|
9664
|
+
analytic_account: string;
|
|
9665
|
+
percentage: number;
|
|
9666
|
+
}[];
|
|
9667
|
+
}[] | undefined;
|
|
9668
|
+
}[] | undefined;
|
|
9669
|
+
}>;
|
|
9342
9670
|
}>;
|
|
9343
9671
|
invoicing: import("../types/api").ApiFor<{
|
|
9344
9672
|
getInvoices(params: {
|
|
@@ -9567,7 +9895,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
9567
9895
|
rate: number;
|
|
9568
9896
|
type: "unknown" | "sale" | "purchase" | "both";
|
|
9569
9897
|
code?: string | undefined;
|
|
9570
|
-
scope?: "
|
|
9898
|
+
scope?: "unknown" | "nat" | "eu" | "int" | undefined;
|
|
9571
9899
|
}[]>;
|
|
9572
9900
|
getTaxById(taxId: string): import("../types/api").RequestData<{
|
|
9573
9901
|
id: string;
|
|
@@ -9579,7 +9907,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
9579
9907
|
rate: number;
|
|
9580
9908
|
type: "unknown" | "sale" | "purchase" | "both";
|
|
9581
9909
|
code?: string | undefined;
|
|
9582
|
-
scope?: "
|
|
9910
|
+
scope?: "unknown" | "nat" | "eu" | "int" | undefined;
|
|
9583
9911
|
}>;
|
|
9584
9912
|
getOpportunities(): import("../types/api").RequestData<{
|
|
9585
9913
|
id: string;
|
|
@@ -9634,7 +9962,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Sync
|
|
|
9634
9962
|
} | undefined;
|
|
9635
9963
|
}>;
|
|
9636
9964
|
getContacts(params?: {
|
|
9637
|
-
contact_type?: "all" | "
|
|
9965
|
+
contact_type?: "all" | "supplier" | "prospect" | "customer" | undefined;
|
|
9638
9966
|
page?: number | undefined;
|
|
9639
9967
|
size?: number | undefined;
|
|
9640
9968
|
} | undefined): import("../types/api").RequestData<{
|