@chift/chift-nodejs 1.0.25 → 1.0.26
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/dist/src/modules/accounting.d.ts +3 -5
- package/dist/src/modules/accounting.js +26 -21
- package/dist/src/modules/api.d.ts +1689 -593
- package/dist/src/modules/consumer.d.ts +320 -101
- package/dist/src/modules/consumers.d.ts +1688 -593
- package/dist/src/modules/integrations.d.ts +1 -0
- package/dist/src/modules/invoicing.d.ts +5 -0
- package/dist/src/modules/invoicing.js +24 -0
- package/dist/src/modules/pos.d.ts +1 -0
- package/dist/src/modules/pos.js +8 -0
- package/dist/src/modules/sync.d.ts +1361 -485
- package/dist/src/types/public-api/schema.d.ts +3111 -869
- package/dist/test/modules/accounting.test.js +1 -29
- package/package.json +1 -2
- package/src/types/public-api/schema.d.ts +3111 -869
|
@@ -145,7 +145,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
145
145
|
}[];
|
|
146
146
|
items: {
|
|
147
147
|
id: string;
|
|
148
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
148
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
149
149
|
menu_id?: string | null | undefined;
|
|
150
150
|
quantity: number;
|
|
151
151
|
unit_price: number;
|
|
@@ -223,7 +223,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
223
223
|
}[];
|
|
224
224
|
items: {
|
|
225
225
|
id: string;
|
|
226
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
226
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
227
227
|
menu_id?: string | null | undefined;
|
|
228
228
|
quantity: number;
|
|
229
229
|
unit_price: number;
|
|
@@ -350,6 +350,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
350
350
|
payments: {
|
|
351
351
|
payment_method_id?: string | null | undefined;
|
|
352
352
|
payment_method_name?: string | null | undefined;
|
|
353
|
+
tip: number | null;
|
|
353
354
|
total: number;
|
|
354
355
|
}[] | null;
|
|
355
356
|
taxes: {
|
|
@@ -410,7 +411,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
410
411
|
}[];
|
|
411
412
|
items: {
|
|
412
413
|
id: string;
|
|
413
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
414
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
414
415
|
menu_id?: string | null | undefined;
|
|
415
416
|
quantity: number;
|
|
416
417
|
unit_price: number;
|
|
@@ -436,6 +437,22 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
436
437
|
ledger_account_code?: string | null | undefined;
|
|
437
438
|
posting_account_code?: string | null | undefined;
|
|
438
439
|
}[]>;
|
|
440
|
+
getObjectives(params: {
|
|
441
|
+
page?: number | undefined;
|
|
442
|
+
size?: number | undefined;
|
|
443
|
+
date_from: string;
|
|
444
|
+
date_to: string;
|
|
445
|
+
location_id?: string | null | undefined;
|
|
446
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
447
|
+
items: {
|
|
448
|
+
total: number;
|
|
449
|
+
tax_amount: number;
|
|
450
|
+
date: string;
|
|
451
|
+
}[];
|
|
452
|
+
total: number;
|
|
453
|
+
page: number;
|
|
454
|
+
size: number;
|
|
455
|
+
}>;
|
|
439
456
|
}>;
|
|
440
457
|
pms: import("../types/api").ApiFor<{
|
|
441
458
|
getLocations(rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
@@ -492,7 +509,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
492
509
|
id?: string | null | undefined;
|
|
493
510
|
model?: string | null | undefined;
|
|
494
511
|
};
|
|
495
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
512
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
496
513
|
menu_id?: string | null | undefined;
|
|
497
514
|
quantity: number;
|
|
498
515
|
unit_price: number;
|
|
@@ -584,6 +601,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
584
601
|
payments: {
|
|
585
602
|
payment_method_id?: string | null | undefined;
|
|
586
603
|
payment_method_name?: string | null | undefined;
|
|
604
|
+
tip: number | null;
|
|
587
605
|
total: number;
|
|
588
606
|
}[] | null;
|
|
589
607
|
taxes: {
|
|
@@ -616,6 +634,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
616
634
|
model?: string | null | undefined;
|
|
617
635
|
};
|
|
618
636
|
} | null | undefined;
|
|
637
|
+
description?: string | null | undefined;
|
|
619
638
|
}[]>;
|
|
620
639
|
getAccountingCategories(params?: {} | undefined, rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
621
640
|
id: string;
|
|
@@ -692,7 +711,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
692
711
|
id?: string | null | undefined;
|
|
693
712
|
model?: string | null | undefined;
|
|
694
713
|
};
|
|
695
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
714
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
696
715
|
menu_id?: string | null | undefined;
|
|
697
716
|
quantity: number;
|
|
698
717
|
unit_price: number;
|
|
@@ -728,6 +747,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
728
747
|
model?: string | null | undefined;
|
|
729
748
|
};
|
|
730
749
|
} | null | undefined;
|
|
750
|
+
description?: string | null | undefined;
|
|
731
751
|
}[];
|
|
732
752
|
service_id?: string | null | undefined;
|
|
733
753
|
reservation?: {
|
|
@@ -793,7 +813,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
793
813
|
id?: string | null | undefined;
|
|
794
814
|
model?: string | null | undefined;
|
|
795
815
|
};
|
|
796
|
-
|
|
816
|
+
amount: number;
|
|
797
817
|
fee: number;
|
|
798
818
|
currency: string;
|
|
799
819
|
exchange_rate: number;
|
|
@@ -1306,7 +1326,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1306
1326
|
customer_memo?: string | null | undefined;
|
|
1307
1327
|
invoice_date: string;
|
|
1308
1328
|
due_date: string;
|
|
1309
|
-
partner_id
|
|
1329
|
+
partner_id?: string | null | undefined;
|
|
1310
1330
|
journal_id?: string | null | undefined;
|
|
1311
1331
|
status: "draft" | "posted" | null;
|
|
1312
1332
|
pdf?: string | null | undefined;
|
|
@@ -1418,6 +1438,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1418
1438
|
country?: string | null | undefined;
|
|
1419
1439
|
}[] | null;
|
|
1420
1440
|
} | null | undefined;
|
|
1441
|
+
due_dates: {
|
|
1442
|
+
due_date: string;
|
|
1443
|
+
payment_method?: string | null | undefined;
|
|
1444
|
+
amount: number;
|
|
1445
|
+
}[] | null;
|
|
1421
1446
|
lines: {
|
|
1422
1447
|
line_number: number | null;
|
|
1423
1448
|
unit_price: number;
|
|
@@ -1445,7 +1470,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1445
1470
|
customer_memo?: string | null | undefined;
|
|
1446
1471
|
invoice_date: string;
|
|
1447
1472
|
due_date: string;
|
|
1448
|
-
partner_id
|
|
1473
|
+
partner_id?: string | null | undefined;
|
|
1449
1474
|
journal_id?: string | null | undefined;
|
|
1450
1475
|
status: "draft" | "posted" | null;
|
|
1451
1476
|
pdf?: string | null | undefined;
|
|
@@ -1563,6 +1588,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1563
1588
|
country?: string | null | undefined;
|
|
1564
1589
|
}[] | null;
|
|
1565
1590
|
} | null | undefined;
|
|
1591
|
+
due_dates: {
|
|
1592
|
+
due_date: string;
|
|
1593
|
+
payment_method?: string | null | undefined;
|
|
1594
|
+
amount: number;
|
|
1595
|
+
}[] | null;
|
|
1566
1596
|
lines: {
|
|
1567
1597
|
line_number: number | null;
|
|
1568
1598
|
unit_price: number;
|
|
@@ -1662,6 +1692,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1662
1692
|
country?: string | null | undefined;
|
|
1663
1693
|
}[] | null;
|
|
1664
1694
|
} | null | undefined;
|
|
1695
|
+
due_dates: {
|
|
1696
|
+
due_date: string;
|
|
1697
|
+
payment_method?: string | null | undefined;
|
|
1698
|
+
amount: number;
|
|
1699
|
+
}[] | null;
|
|
1665
1700
|
lines: {
|
|
1666
1701
|
line_number: number | null;
|
|
1667
1702
|
unit_price: number;
|
|
@@ -1750,6 +1785,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1750
1785
|
country?: string | null | undefined;
|
|
1751
1786
|
}[] | null;
|
|
1752
1787
|
} | null | undefined;
|
|
1788
|
+
due_dates: {
|
|
1789
|
+
due_date: string;
|
|
1790
|
+
payment_method?: string | null | undefined;
|
|
1791
|
+
amount: number;
|
|
1792
|
+
}[] | null;
|
|
1753
1793
|
lines: {
|
|
1754
1794
|
line_number: number | null;
|
|
1755
1795
|
unit_price: number;
|
|
@@ -1838,6 +1878,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1838
1878
|
country?: string | null | undefined;
|
|
1839
1879
|
}[] | null;
|
|
1840
1880
|
} | null | undefined;
|
|
1881
|
+
due_dates: {
|
|
1882
|
+
due_date: string;
|
|
1883
|
+
payment_method?: string | null | undefined;
|
|
1884
|
+
amount: number;
|
|
1885
|
+
}[] | null;
|
|
1841
1886
|
lines: {
|
|
1842
1887
|
line_number: number | null;
|
|
1843
1888
|
unit_price: number;
|
|
@@ -1937,6 +1982,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1937
1982
|
country?: string | null | undefined;
|
|
1938
1983
|
}[] | null;
|
|
1939
1984
|
} | null | undefined;
|
|
1985
|
+
due_dates: {
|
|
1986
|
+
due_date: string;
|
|
1987
|
+
payment_method?: string | null | undefined;
|
|
1988
|
+
amount: number;
|
|
1989
|
+
}[] | null;
|
|
1940
1990
|
lines: {
|
|
1941
1991
|
line_number: number | null;
|
|
1942
1992
|
unit_price: number;
|
|
@@ -2095,6 +2145,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2095
2145
|
date: string | null;
|
|
2096
2146
|
posted: boolean | null;
|
|
2097
2147
|
id: string;
|
|
2148
|
+
due_dates: {
|
|
2149
|
+
due_date: string;
|
|
2150
|
+
payment_method?: string | null | undefined;
|
|
2151
|
+
debit: number | null;
|
|
2152
|
+
credit: number | null;
|
|
2153
|
+
}[] | null;
|
|
2098
2154
|
items: {
|
|
2099
2155
|
account_number: string;
|
|
2100
2156
|
partner_id?: string | null | undefined;
|
|
@@ -2128,6 +2184,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2128
2184
|
date: string | null;
|
|
2129
2185
|
posted: boolean | null;
|
|
2130
2186
|
id: string;
|
|
2187
|
+
due_dates: {
|
|
2188
|
+
due_date: string;
|
|
2189
|
+
payment_method?: string | null | undefined;
|
|
2190
|
+
debit: number | null;
|
|
2191
|
+
credit: number | null;
|
|
2192
|
+
}[] | null;
|
|
2131
2193
|
items: {
|
|
2132
2194
|
account_number: string;
|
|
2133
2195
|
partner_id?: string | null | undefined;
|
|
@@ -2175,6 +2237,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2175
2237
|
name: string;
|
|
2176
2238
|
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
2177
2239
|
counterpart_account?: string | null | undefined;
|
|
2240
|
+
unallocated_account?: string | null | undefined;
|
|
2178
2241
|
next_document_numbers: {
|
|
2179
2242
|
bookyear_name?: string | null | undefined;
|
|
2180
2243
|
next_document_number?: string | null | undefined;
|
|
@@ -2183,6 +2246,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2183
2246
|
}[] | null;
|
|
2184
2247
|
iban?: string | null | undefined;
|
|
2185
2248
|
currency?: string | null | undefined;
|
|
2249
|
+
other_currencies_allowed: boolean | null;
|
|
2250
|
+
blocked: boolean | null;
|
|
2186
2251
|
}[]>;
|
|
2187
2252
|
createJournal(journal: {
|
|
2188
2253
|
code: string;
|
|
@@ -2197,6 +2262,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2197
2262
|
name: string;
|
|
2198
2263
|
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
2199
2264
|
counterpart_account?: string | null | undefined;
|
|
2265
|
+
unallocated_account?: string | null | undefined;
|
|
2200
2266
|
next_document_numbers: {
|
|
2201
2267
|
bookyear_name?: string | null | undefined;
|
|
2202
2268
|
next_document_number?: string | null | undefined;
|
|
@@ -2205,6 +2271,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2205
2271
|
}[] | null;
|
|
2206
2272
|
iban?: string | null | undefined;
|
|
2207
2273
|
currency?: string | null | undefined;
|
|
2274
|
+
other_currencies_allowed: boolean | null;
|
|
2275
|
+
blocked: boolean | null;
|
|
2208
2276
|
}>;
|
|
2209
2277
|
getVatCodes(params?: {
|
|
2210
2278
|
folder_id?: string | null | undefined;
|
|
@@ -2218,6 +2286,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2218
2286
|
deductible_account?: string | null | undefined;
|
|
2219
2287
|
payable_account?: string | null | undefined;
|
|
2220
2288
|
reversed: boolean | null;
|
|
2289
|
+
country?: string | null | undefined;
|
|
2221
2290
|
}[]>;
|
|
2222
2291
|
getMiscOperations(params?: {
|
|
2223
2292
|
date_from?: string | null | undefined;
|
|
@@ -2324,7 +2393,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2324
2393
|
number: string;
|
|
2325
2394
|
name: string;
|
|
2326
2395
|
active: boolean | null;
|
|
2327
|
-
type?: "vat" | "
|
|
2396
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
2328
2397
|
}[]>;
|
|
2329
2398
|
getBalanceOfAccounts(filter: {
|
|
2330
2399
|
accounts: string[];
|
|
@@ -2388,41 +2457,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2388
2457
|
reference?: string | null | undefined;
|
|
2389
2458
|
} | null | undefined;
|
|
2390
2459
|
}[]>;
|
|
2391
|
-
createFinancialEntryOld(financial_entry: {
|
|
2392
|
-
date: string;
|
|
2393
|
-
journal_id: string;
|
|
2394
|
-
currency: string;
|
|
2395
|
-
currency_exchange_rate: number | null;
|
|
2396
|
-
reference?: string | null | undefined;
|
|
2397
|
-
number?: string | null | undefined;
|
|
2398
|
-
items: {
|
|
2399
|
-
type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
2400
|
-
account_number: string;
|
|
2401
|
-
partner_id?: string | null | undefined;
|
|
2402
|
-
amount: number;
|
|
2403
|
-
description?: string | null | undefined;
|
|
2404
|
-
}[];
|
|
2405
|
-
pdf?: string | null | undefined;
|
|
2406
|
-
}, params?: {
|
|
2407
|
-
folder_id?: string | null | undefined;
|
|
2408
|
-
financial_counterpart_account?: string | null | undefined;
|
|
2409
|
-
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2410
|
-
date: string;
|
|
2411
|
-
journal_id: string;
|
|
2412
|
-
currency: string;
|
|
2413
|
-
currency_exchange_rate: number | null;
|
|
2414
|
-
reference?: string | null | undefined;
|
|
2415
|
-
id: string;
|
|
2416
|
-
number: string;
|
|
2417
|
-
items: {
|
|
2418
|
-
type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
2419
|
-
account_number: string;
|
|
2420
|
-
partner_id?: string | null | undefined;
|
|
2421
|
-
amount: number;
|
|
2422
|
-
description?: string | null | undefined;
|
|
2423
|
-
counterpart_account: string;
|
|
2424
|
-
}[];
|
|
2425
|
-
}>;
|
|
2426
2460
|
createFinancialEntry(financial_entry: {
|
|
2427
2461
|
date: string;
|
|
2428
2462
|
journal_id: string;
|
|
@@ -2456,59 +2490,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2456
2490
|
counterpart_account: string;
|
|
2457
2491
|
}[];
|
|
2458
2492
|
}>;
|
|
2459
|
-
createJournalEntryOld(journal_entry: {
|
|
2460
|
-
reference?: string | null | undefined;
|
|
2461
|
-
due_date?: string | null | undefined;
|
|
2462
|
-
journal_id: string;
|
|
2463
|
-
name: string;
|
|
2464
|
-
date: string;
|
|
2465
|
-
items: {
|
|
2466
|
-
account_number: string;
|
|
2467
|
-
partner_id?: string | null | undefined;
|
|
2468
|
-
description?: string | null | undefined;
|
|
2469
|
-
debit: number;
|
|
2470
|
-
credit: number;
|
|
2471
|
-
currency: string;
|
|
2472
|
-
currency_exchange_rate: number | null;
|
|
2473
|
-
analytic_distribution: {
|
|
2474
|
-
analytic_plan: string;
|
|
2475
|
-
analytic_accounts: {
|
|
2476
|
-
analytic_account: string;
|
|
2477
|
-
percentage: number;
|
|
2478
|
-
}[];
|
|
2479
|
-
}[] | null;
|
|
2480
|
-
}[];
|
|
2481
|
-
pdf?: string | null | undefined;
|
|
2482
|
-
}, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2483
|
-
reference?: string | null | undefined;
|
|
2484
|
-
due_date?: string | null | undefined;
|
|
2485
|
-
journal_id: string;
|
|
2486
|
-
name?: string | null | undefined;
|
|
2487
|
-
journal_name?: string | null | undefined;
|
|
2488
|
-
date: string | null;
|
|
2489
|
-
posted: boolean | null;
|
|
2490
|
-
id: string;
|
|
2491
|
-
items: {
|
|
2492
|
-
account_number: string;
|
|
2493
|
-
partner_id?: string | null | undefined;
|
|
2494
|
-
description?: string | null | undefined;
|
|
2495
|
-
debit: number;
|
|
2496
|
-
credit: number;
|
|
2497
|
-
currency: string;
|
|
2498
|
-
currency_exchange_rate: number | null;
|
|
2499
|
-
id: string;
|
|
2500
|
-
partner_name?: string | null | undefined;
|
|
2501
|
-
account_name: string;
|
|
2502
|
-
matching_numbers: string[] | null;
|
|
2503
|
-
analytic_distribution: {
|
|
2504
|
-
analytic_plan: string;
|
|
2505
|
-
analytic_accounts: {
|
|
2506
|
-
analytic_account: string;
|
|
2507
|
-
percentage: number;
|
|
2508
|
-
}[];
|
|
2509
|
-
}[] | null;
|
|
2510
|
-
}[] | null;
|
|
2511
|
-
}>;
|
|
2512
2493
|
createJournalEntry(journal_entry: {
|
|
2513
2494
|
reference?: string | null | undefined;
|
|
2514
2495
|
due_date?: string | null | undefined;
|
|
@@ -2519,7 +2500,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2519
2500
|
date: string;
|
|
2520
2501
|
items: {
|
|
2521
2502
|
account_type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
2522
|
-
account
|
|
2503
|
+
account?: string | null | undefined;
|
|
2523
2504
|
force_general_account?: string | null | undefined;
|
|
2524
2505
|
prioritise_thirdparty_account: boolean | null;
|
|
2525
2506
|
description?: string | null | undefined;
|
|
@@ -2533,7 +2514,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2533
2514
|
}[];
|
|
2534
2515
|
}[] | null;
|
|
2535
2516
|
tax_code?: string | null | undefined;
|
|
2536
|
-
country?: string | null | undefined;
|
|
2537
2517
|
account_info?: {
|
|
2538
2518
|
account_number: string;
|
|
2539
2519
|
account_name: string;
|
|
@@ -2555,6 +2535,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2555
2535
|
date: string | null;
|
|
2556
2536
|
posted: boolean | null;
|
|
2557
2537
|
id: string;
|
|
2538
|
+
due_dates: {
|
|
2539
|
+
due_date: string;
|
|
2540
|
+
payment_method?: string | null | undefined;
|
|
2541
|
+
debit: number | null;
|
|
2542
|
+
credit: number | null;
|
|
2543
|
+
}[] | null;
|
|
2558
2544
|
items: {
|
|
2559
2545
|
account_number: string;
|
|
2560
2546
|
partner_id?: string | null | undefined;
|
|
@@ -2599,12 +2585,65 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2599
2585
|
[key: string]: unknown;
|
|
2600
2586
|
} | null | undefined;
|
|
2601
2587
|
}[]>;
|
|
2588
|
+
createExpense(expense: {
|
|
2589
|
+
employee_id: string;
|
|
2590
|
+
total: number;
|
|
2591
|
+
untaxed_amount: number;
|
|
2592
|
+
tax_amount: number;
|
|
2593
|
+
reference?: string | null | undefined;
|
|
2594
|
+
number?: string | null | undefined;
|
|
2595
|
+
currency: string;
|
|
2596
|
+
currency_exchange_rate: number | null;
|
|
2597
|
+
date: string;
|
|
2598
|
+
pdf?: string | null | undefined;
|
|
2599
|
+
lines: {
|
|
2600
|
+
total: number;
|
|
2601
|
+
untaxed_amount: number;
|
|
2602
|
+
tax_amount: number;
|
|
2603
|
+
description?: string | null | undefined;
|
|
2604
|
+
account_number: string;
|
|
2605
|
+
tax_rate: number;
|
|
2606
|
+
tax_id: string;
|
|
2607
|
+
}[];
|
|
2608
|
+
}, params?: {
|
|
2609
|
+
folder_id?: string | null | undefined;
|
|
2610
|
+
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2611
|
+
employee_id: string;
|
|
2612
|
+
total: number;
|
|
2613
|
+
untaxed_amount: number;
|
|
2614
|
+
tax_amount: number;
|
|
2615
|
+
reference?: string | null | undefined;
|
|
2616
|
+
number?: string | null | undefined;
|
|
2617
|
+
currency: string;
|
|
2618
|
+
currency_exchange_rate: number | null;
|
|
2619
|
+
date: string;
|
|
2620
|
+
pdf?: string | null | undefined;
|
|
2621
|
+
lines: {
|
|
2622
|
+
total: number;
|
|
2623
|
+
untaxed_amount: number;
|
|
2624
|
+
tax_amount: number;
|
|
2625
|
+
description?: string | null | undefined;
|
|
2626
|
+
account_number: string;
|
|
2627
|
+
tax_rate: number;
|
|
2628
|
+
tax_id: string;
|
|
2629
|
+
}[];
|
|
2630
|
+
id: string;
|
|
2631
|
+
}>;
|
|
2602
2632
|
getFolders(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
2603
2633
|
id: string;
|
|
2604
2634
|
name: string;
|
|
2605
2635
|
selected: boolean | null;
|
|
2606
2636
|
vat?: string | null | undefined;
|
|
2607
2637
|
company_number?: string | null | undefined;
|
|
2638
|
+
main_currency?: string | null | undefined;
|
|
2639
|
+
addresses?: {
|
|
2640
|
+
street?: string | null | undefined;
|
|
2641
|
+
number?: string | null | undefined;
|
|
2642
|
+
box?: string | null | undefined;
|
|
2643
|
+
postal_code?: string | null | undefined;
|
|
2644
|
+
city?: string | null | undefined;
|
|
2645
|
+
country?: string | null | undefined;
|
|
2646
|
+
}[] | null | undefined;
|
|
2608
2647
|
}[]>;
|
|
2609
2648
|
getBookyears(params?: {
|
|
2610
2649
|
folder_id?: string | null | undefined;
|
|
@@ -2617,13 +2656,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2617
2656
|
createLedgerAccount(account: {
|
|
2618
2657
|
name: string;
|
|
2619
2658
|
number: string;
|
|
2659
|
+
type: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null;
|
|
2620
2660
|
}, params?: {
|
|
2621
2661
|
folder_id?: string | null | undefined;
|
|
2622
2662
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2623
2663
|
number: string;
|
|
2624
2664
|
name: string;
|
|
2625
2665
|
active: boolean | null;
|
|
2626
|
-
type?: "vat" | "
|
|
2666
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
2627
2667
|
}>;
|
|
2628
2668
|
createBankAccount(bankAccount: {
|
|
2629
2669
|
code: string;
|
|
@@ -2644,6 +2684,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2644
2684
|
bank_name?: string | null | undefined;
|
|
2645
2685
|
journal_id?: string | null | undefined;
|
|
2646
2686
|
ledger_account?: string | null | undefined;
|
|
2687
|
+
unallocated_account?: string | null | undefined;
|
|
2647
2688
|
}>;
|
|
2648
2689
|
getJournalEntry(journalEntryId: string, params?: {
|
|
2649
2690
|
folder_id?: string | null | undefined;
|
|
@@ -2656,6 +2697,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2656
2697
|
date: string | null;
|
|
2657
2698
|
posted: boolean | null;
|
|
2658
2699
|
id: string;
|
|
2700
|
+
due_dates: {
|
|
2701
|
+
due_date: string;
|
|
2702
|
+
payment_method?: string | null | undefined;
|
|
2703
|
+
debit: number | null;
|
|
2704
|
+
credit: number | null;
|
|
2705
|
+
}[] | null;
|
|
2659
2706
|
items: {
|
|
2660
2707
|
account_number: string;
|
|
2661
2708
|
partner_id?: string | null | undefined;
|
|
@@ -2677,6 +2724,38 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2677
2724
|
}[] | null;
|
|
2678
2725
|
}[] | null;
|
|
2679
2726
|
}>;
|
|
2727
|
+
getPaymentMethods(params?: {
|
|
2728
|
+
page?: number | undefined;
|
|
2729
|
+
size?: number | undefined;
|
|
2730
|
+
folder_id?: string | null | undefined;
|
|
2731
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
2732
|
+
items: {
|
|
2733
|
+
id: string;
|
|
2734
|
+
name?: string | null | undefined;
|
|
2735
|
+
}[];
|
|
2736
|
+
total: number;
|
|
2737
|
+
page: number;
|
|
2738
|
+
size: number;
|
|
2739
|
+
}>;
|
|
2740
|
+
createInvoicePayment(body: {
|
|
2741
|
+
date: string;
|
|
2742
|
+
payment_method_id: string;
|
|
2743
|
+
currency: string;
|
|
2744
|
+
currency_exchange_rate: number | null;
|
|
2745
|
+
reference?: string | null | undefined;
|
|
2746
|
+
number?: string | null | undefined;
|
|
2747
|
+
items: {
|
|
2748
|
+
invoice_id: string;
|
|
2749
|
+
amount: number;
|
|
2750
|
+
}[];
|
|
2751
|
+
}, params?: {
|
|
2752
|
+
folder_id?: string | null | undefined;
|
|
2753
|
+
} | undefined): import("../types/api").RequestData<{
|
|
2754
|
+
headers: {
|
|
2755
|
+
[name: string]: unknown;
|
|
2756
|
+
};
|
|
2757
|
+
content?: undefined;
|
|
2758
|
+
}>;
|
|
2680
2759
|
}>;
|
|
2681
2760
|
invoicing: import("../types/api").ApiFor<{
|
|
2682
2761
|
getInvoices(params?: {
|
|
@@ -2747,6 +2826,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2747
2826
|
} | null | undefined;
|
|
2748
2827
|
last_updated_on?: string | null | undefined;
|
|
2749
2828
|
outstanding_amount?: number | null | undefined;
|
|
2829
|
+
last_payment_date?: string | null | undefined;
|
|
2750
2830
|
accounting_date?: string | null | undefined;
|
|
2751
2831
|
payment_method_id?: string | null | undefined;
|
|
2752
2832
|
currency_exchange_rate: number | null;
|
|
@@ -2814,6 +2894,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2814
2894
|
} | null | undefined;
|
|
2815
2895
|
last_updated_on?: string | null | undefined;
|
|
2816
2896
|
outstanding_amount?: number | null | undefined;
|
|
2897
|
+
last_payment_date?: string | null | undefined;
|
|
2817
2898
|
accounting_date?: string | null | undefined;
|
|
2818
2899
|
payment_method_id?: string | null | undefined;
|
|
2819
2900
|
currency_exchange_rate: number | null;
|
|
@@ -2934,6 +3015,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2934
3015
|
} | null | undefined;
|
|
2935
3016
|
last_updated_on?: string | null | undefined;
|
|
2936
3017
|
outstanding_amount?: number | null | undefined;
|
|
3018
|
+
last_payment_date?: string | null | undefined;
|
|
2937
3019
|
accounting_date?: string | null | undefined;
|
|
2938
3020
|
payment_method_id?: string | null | undefined;
|
|
2939
3021
|
currency_exchange_rate: number | null;
|
|
@@ -3261,59 +3343,182 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
3261
3343
|
};
|
|
3262
3344
|
name: string;
|
|
3263
3345
|
}[]>;
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
getCustomers(params?: {} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
3267
|
-
id: string;
|
|
3268
|
-
source_ref: {
|
|
3269
|
-
id?: string | null | undefined;
|
|
3270
|
-
model?: string | null | undefined;
|
|
3271
|
-
};
|
|
3272
|
-
first_name?: string | null | undefined;
|
|
3273
|
-
last_name?: string | null | undefined;
|
|
3274
|
-
phone?: string | null | undefined;
|
|
3275
|
-
email?: string | null | undefined;
|
|
3276
|
-
language?: string | null | undefined;
|
|
3277
|
-
internal_notes?: string | null | undefined;
|
|
3278
|
-
currency?: string | null | undefined;
|
|
3279
|
-
addresses: {
|
|
3280
|
-
address_type: "main" | "delivery" | "invoice";
|
|
3281
|
-
company_name?: string | null | undefined;
|
|
3282
|
-
first_name?: string | null | undefined;
|
|
3283
|
-
last_name?: string | null | undefined;
|
|
3284
|
-
street?: string | null | undefined;
|
|
3285
|
-
number?: string | null | undefined;
|
|
3286
|
-
box?: string | null | undefined;
|
|
3287
|
-
city?: string | null | undefined;
|
|
3288
|
-
postal_code?: string | null | undefined;
|
|
3289
|
-
country?: string | null | undefined;
|
|
3290
|
-
phone?: string | null | undefined;
|
|
3291
|
-
email?: string | null | undefined;
|
|
3292
|
-
}[] | null;
|
|
3293
|
-
created_on?: string | null | undefined;
|
|
3294
|
-
}[]>;
|
|
3295
|
-
getProducts(params?: {} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
3296
|
-
id: string;
|
|
3297
|
-
source_ref: {
|
|
3298
|
-
id?: string | null | undefined;
|
|
3299
|
-
model?: string | null | undefined;
|
|
3300
|
-
};
|
|
3301
|
-
name: string;
|
|
3302
|
-
description?: string | null | undefined;
|
|
3303
|
-
description_html?: string | null | undefined;
|
|
3304
|
-
categories: {
|
|
3346
|
+
getBankAccounts(params?: {} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
3347
|
+
items: {
|
|
3305
3348
|
id: string;
|
|
3349
|
+
source_ref: {
|
|
3350
|
+
id?: string | null | undefined;
|
|
3351
|
+
model?: string | null | undefined;
|
|
3352
|
+
};
|
|
3306
3353
|
name: string;
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3354
|
+
iban?: string | null | undefined;
|
|
3355
|
+
currency?: string | null | undefined;
|
|
3356
|
+
balance?: number | null | undefined;
|
|
3357
|
+
}[];
|
|
3358
|
+
total: number;
|
|
3359
|
+
page: number;
|
|
3360
|
+
size: number;
|
|
3361
|
+
}>;
|
|
3362
|
+
getBankTransactions(params: {
|
|
3363
|
+
date_from?: string | null | undefined;
|
|
3364
|
+
date_to?: string | null | undefined;
|
|
3365
|
+
bank_account_id: string;
|
|
3366
|
+
status?: "draft" | "done" | null | undefined;
|
|
3367
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
3368
|
+
items: {
|
|
3310
3369
|
id: string;
|
|
3311
3370
|
source_ref: {
|
|
3312
3371
|
id?: string | null | undefined;
|
|
3313
3372
|
model?: string | null | undefined;
|
|
3314
3373
|
};
|
|
3315
|
-
|
|
3316
|
-
|
|
3374
|
+
status: "draft" | "done";
|
|
3375
|
+
bank_account_id: string;
|
|
3376
|
+
amount: number;
|
|
3377
|
+
date: string;
|
|
3378
|
+
description?: string | null | undefined;
|
|
3379
|
+
currency: string;
|
|
3380
|
+
currency_exchange_rate: number | null;
|
|
3381
|
+
accounting_code?: string | null | undefined;
|
|
3382
|
+
linked_documents: {
|
|
3383
|
+
id: string;
|
|
3384
|
+
source_ref: {
|
|
3385
|
+
id?: string | null | undefined;
|
|
3386
|
+
model?: string | null | undefined;
|
|
3387
|
+
};
|
|
3388
|
+
amount: number;
|
|
3389
|
+
type: "invoice" | "other";
|
|
3390
|
+
}[] | null;
|
|
3391
|
+
}[];
|
|
3392
|
+
total: number;
|
|
3393
|
+
page: number;
|
|
3394
|
+
size: number;
|
|
3395
|
+
}>;
|
|
3396
|
+
uploadDocument(document: {
|
|
3397
|
+
base64_string: string;
|
|
3398
|
+
document_type: "customer_document" | "supplier_document" | "employee_expense";
|
|
3399
|
+
}, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
3400
|
+
id: string;
|
|
3401
|
+
source_ref: {
|
|
3402
|
+
id?: string | null | undefined;
|
|
3403
|
+
model?: string | null | undefined;
|
|
3404
|
+
};
|
|
3405
|
+
currency?: string | null | undefined;
|
|
3406
|
+
invoice_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all" | null | undefined;
|
|
3407
|
+
status?: "draft" | "posted" | "cancelled" | "paid" | null | undefined;
|
|
3408
|
+
invoice_date?: string | null | undefined;
|
|
3409
|
+
tax_amount?: number | null | undefined;
|
|
3410
|
+
untaxed_amount?: number | null | undefined;
|
|
3411
|
+
total?: number | null | undefined;
|
|
3412
|
+
lines: {
|
|
3413
|
+
description?: string | null | undefined;
|
|
3414
|
+
unit_price: number;
|
|
3415
|
+
quantity: number;
|
|
3416
|
+
discount_amount: number;
|
|
3417
|
+
tax_amount: number;
|
|
3418
|
+
untaxed_amount: number;
|
|
3419
|
+
total: number;
|
|
3420
|
+
tax_rate?: number | null | undefined;
|
|
3421
|
+
account_number?: string | null | undefined;
|
|
3422
|
+
tax_id?: string | null | undefined;
|
|
3423
|
+
tax_exemption_reason?: string | null | undefined;
|
|
3424
|
+
unit_of_measure?: string | null | undefined;
|
|
3425
|
+
product_id?: string | null | undefined;
|
|
3426
|
+
product_code?: string | null | undefined;
|
|
3427
|
+
product_name?: string | null | undefined;
|
|
3428
|
+
}[] | null;
|
|
3429
|
+
partner_id?: string | null | undefined;
|
|
3430
|
+
invoice_number?: string | null | undefined;
|
|
3431
|
+
due_date?: string | null | undefined;
|
|
3432
|
+
reference?: string | null | undefined;
|
|
3433
|
+
payment_communication?: string | null | undefined;
|
|
3434
|
+
customer_memo?: string | null | undefined;
|
|
3435
|
+
journal_ref?: {
|
|
3436
|
+
id?: string | null | undefined;
|
|
3437
|
+
model?: string | null | undefined;
|
|
3438
|
+
name?: string | null | undefined;
|
|
3439
|
+
} | null | undefined;
|
|
3440
|
+
italian_specificities?: {
|
|
3441
|
+
stamp_duty_amount?: number | null | undefined;
|
|
3442
|
+
withholding_tax?: {
|
|
3443
|
+
rate: number;
|
|
3444
|
+
amount: number;
|
|
3445
|
+
reason?: "RT01" | "RT02" | "RT03" | "RT04" | "RT05" | "RT06" | null | undefined;
|
|
3446
|
+
payment_reason?: "A" | "U" | "R" | "Q" | "H" | "V" | "V2" | "I" | "J" | "K" | "P" | "S" | "T" | "W" | "X" | "Y" | "B" | "C" | "D" | "E" | "F" | "G" | "L" | "L1" | "M" | "M1" | "M2" | "IN" | "O" | "O1" | "V1" | null | undefined;
|
|
3447
|
+
} | null | undefined;
|
|
3448
|
+
welfare_fund?: {
|
|
3449
|
+
rate: number;
|
|
3450
|
+
amount: number;
|
|
3451
|
+
type?: "TC01" | "TC02" | "TC03" | "TC04" | "TC05" | "TC06" | "TC07" | "TC08" | "TC09" | "TC10" | "TC11" | "TC12" | "TC13" | "TC14" | "TC15" | "TC16" | "TC17" | "TC18" | "TC19" | "TC20" | "TC21" | "TC22" | null | undefined;
|
|
3452
|
+
} | null | undefined;
|
|
3453
|
+
payment_reporting?: {
|
|
3454
|
+
method?: "MP01" | "MP02" | "MP03" | "MP04" | "MP05" | "MP06" | "MP07" | "MP08" | "MP09" | "MP10" | "MP11" | "MP12" | "MP13" | "MP14" | "MP15" | "MP16" | "MP17" | "MP18" | "MP19" | "MP20" | "MP21" | "MP22" | "MP23" | null | undefined;
|
|
3455
|
+
conditions?: "TP01" | "TP02" | "TP03" | null | undefined;
|
|
3456
|
+
} | null | undefined;
|
|
3457
|
+
} | null | undefined;
|
|
3458
|
+
last_updated_on?: string | null | undefined;
|
|
3459
|
+
outstanding_amount?: number | null | undefined;
|
|
3460
|
+
last_payment_date?: string | null | undefined;
|
|
3461
|
+
accounting_date?: string | null | undefined;
|
|
3462
|
+
payment_method_id?: string | null | undefined;
|
|
3463
|
+
currency_exchange_rate: number | null;
|
|
3464
|
+
}>;
|
|
3465
|
+
}>;
|
|
3466
|
+
ecommerce: import("../types/api").ApiFor<{
|
|
3467
|
+
getCustomers(params?: {} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
3468
|
+
id: string;
|
|
3469
|
+
source_ref: {
|
|
3470
|
+
id?: string | null | undefined;
|
|
3471
|
+
model?: string | null | undefined;
|
|
3472
|
+
};
|
|
3473
|
+
first_name?: string | null | undefined;
|
|
3474
|
+
last_name?: string | null | undefined;
|
|
3475
|
+
phone?: string | null | undefined;
|
|
3476
|
+
email?: string | null | undefined;
|
|
3477
|
+
language?: string | null | undefined;
|
|
3478
|
+
internal_notes?: string | null | undefined;
|
|
3479
|
+
currency?: string | null | undefined;
|
|
3480
|
+
addresses: {
|
|
3481
|
+
address_type: "main" | "delivery" | "invoice";
|
|
3482
|
+
company_name?: string | null | undefined;
|
|
3483
|
+
first_name?: string | null | undefined;
|
|
3484
|
+
last_name?: string | null | undefined;
|
|
3485
|
+
street?: string | null | undefined;
|
|
3486
|
+
number?: string | null | undefined;
|
|
3487
|
+
box?: string | null | undefined;
|
|
3488
|
+
city?: string | null | undefined;
|
|
3489
|
+
postal_code?: string | null | undefined;
|
|
3490
|
+
country?: string | null | undefined;
|
|
3491
|
+
phone?: string | null | undefined;
|
|
3492
|
+
email?: string | null | undefined;
|
|
3493
|
+
}[] | null;
|
|
3494
|
+
created_on?: string | null | undefined;
|
|
3495
|
+
}[]>;
|
|
3496
|
+
getProducts(params?: {
|
|
3497
|
+
updated_after?: string | null | undefined;
|
|
3498
|
+
sku?: string | null | undefined;
|
|
3499
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
3500
|
+
id: string;
|
|
3501
|
+
source_ref: {
|
|
3502
|
+
id?: string | null | undefined;
|
|
3503
|
+
model?: string | null | undefined;
|
|
3504
|
+
};
|
|
3505
|
+
name: string;
|
|
3506
|
+
description?: string | null | undefined;
|
|
3507
|
+
description_html?: string | null | undefined;
|
|
3508
|
+
categories: {
|
|
3509
|
+
id: string;
|
|
3510
|
+
name: string;
|
|
3511
|
+
}[] | null;
|
|
3512
|
+
created_on?: string | null | undefined;
|
|
3513
|
+
last_updated_on?: string | null | undefined;
|
|
3514
|
+
variants: {
|
|
3515
|
+
id: string;
|
|
3516
|
+
source_ref: {
|
|
3517
|
+
id?: string | null | undefined;
|
|
3518
|
+
model?: string | null | undefined;
|
|
3519
|
+
};
|
|
3520
|
+
parent_id: string;
|
|
3521
|
+
name: string;
|
|
3317
3522
|
description?: string | null | undefined;
|
|
3318
3523
|
description_html?: string | null | undefined;
|
|
3319
3524
|
categories: {
|
|
@@ -3347,6 +3552,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
3347
3552
|
}[] | null;
|
|
3348
3553
|
}[] | null;
|
|
3349
3554
|
status?: "unknown" | "archived" | "unpublished" | "published" | null | undefined;
|
|
3555
|
+
sku?: string | null | undefined;
|
|
3350
3556
|
common_attributes: {
|
|
3351
3557
|
name: string;
|
|
3352
3558
|
values: string[];
|
|
@@ -3404,6 +3610,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
3404
3610
|
name: string;
|
|
3405
3611
|
}[] | null;
|
|
3406
3612
|
created_on?: string | null | undefined;
|
|
3613
|
+
last_updated_on?: string | null | undefined;
|
|
3407
3614
|
variants: {
|
|
3408
3615
|
id: string;
|
|
3409
3616
|
source_ref: {
|
|
@@ -3445,6 +3652,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
3445
3652
|
}[] | null;
|
|
3446
3653
|
}[] | null;
|
|
3447
3654
|
status?: "unknown" | "archived" | "unpublished" | "published" | null | undefined;
|
|
3655
|
+
sku?: string | null | undefined;
|
|
3448
3656
|
common_attributes: {
|
|
3449
3657
|
name: string;
|
|
3450
3658
|
values: string[];
|
|
@@ -3634,6 +3842,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
3634
3842
|
amount: number;
|
|
3635
3843
|
}[] | null;
|
|
3636
3844
|
gift_card: boolean | null;
|
|
3845
|
+
is_gift: boolean | null;
|
|
3637
3846
|
}[];
|
|
3638
3847
|
other_fees: {
|
|
3639
3848
|
id: string;
|
|
@@ -3911,6 +4120,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
3911
4120
|
amount: number;
|
|
3912
4121
|
}[] | null;
|
|
3913
4122
|
gift_card: boolean | null;
|
|
4123
|
+
is_gift: boolean | null;
|
|
3914
4124
|
}[];
|
|
3915
4125
|
other_fees: {
|
|
3916
4126
|
id: string;
|
|
@@ -4149,6 +4359,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4149
4359
|
amount: number;
|
|
4150
4360
|
}[] | null;
|
|
4151
4361
|
gift_card: boolean | null;
|
|
4362
|
+
is_gift: boolean | null;
|
|
4152
4363
|
}[];
|
|
4153
4364
|
other_fees: {
|
|
4154
4365
|
id: string;
|
|
@@ -4407,6 +4618,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4407
4618
|
description?: string | null | undefined;
|
|
4408
4619
|
display_order: number;
|
|
4409
4620
|
challenge_question?: string | null | undefined;
|
|
4621
|
+
conditions?: {
|
|
4622
|
+
[key: string]: {
|
|
4623
|
+
[key: string]: unknown;
|
|
4624
|
+
};
|
|
4625
|
+
} | null | undefined;
|
|
4410
4626
|
values: {
|
|
4411
4627
|
source_id?: string | null | undefined;
|
|
4412
4628
|
target_id?: string | null | undefined;
|
|
@@ -4417,6 +4633,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4417
4633
|
link_metadata?: {
|
|
4418
4634
|
[key: string]: unknown;
|
|
4419
4635
|
} | null | undefined;
|
|
4636
|
+
link_presync?: {
|
|
4637
|
+
[key: string]: unknown;
|
|
4638
|
+
} | null | undefined;
|
|
4420
4639
|
enabled_flows?: {
|
|
4421
4640
|
name: string;
|
|
4422
4641
|
description?: string | null | undefined;
|
|
@@ -4692,7 +4911,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4692
4911
|
}[];
|
|
4693
4912
|
items: {
|
|
4694
4913
|
id: string;
|
|
4695
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
4914
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
4696
4915
|
menu_id?: string | null | undefined;
|
|
4697
4916
|
quantity: number;
|
|
4698
4917
|
unit_price: number;
|
|
@@ -4770,7 +4989,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4770
4989
|
}[];
|
|
4771
4990
|
items: {
|
|
4772
4991
|
id: string;
|
|
4773
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
4992
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
4774
4993
|
menu_id?: string | null | undefined;
|
|
4775
4994
|
quantity: number;
|
|
4776
4995
|
unit_price: number;
|
|
@@ -4897,6 +5116,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4897
5116
|
payments: {
|
|
4898
5117
|
payment_method_id?: string | null | undefined;
|
|
4899
5118
|
payment_method_name?: string | null | undefined;
|
|
5119
|
+
tip: number | null;
|
|
4900
5120
|
total: number;
|
|
4901
5121
|
}[] | null;
|
|
4902
5122
|
taxes: {
|
|
@@ -4957,7 +5177,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4957
5177
|
}[];
|
|
4958
5178
|
items: {
|
|
4959
5179
|
id: string;
|
|
4960
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
5180
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
4961
5181
|
menu_id?: string | null | undefined;
|
|
4962
5182
|
quantity: number;
|
|
4963
5183
|
unit_price: number;
|
|
@@ -4983,6 +5203,22 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4983
5203
|
ledger_account_code?: string | null | undefined;
|
|
4984
5204
|
posting_account_code?: string | null | undefined;
|
|
4985
5205
|
}[]>;
|
|
5206
|
+
getObjectives(params: {
|
|
5207
|
+
page?: number | undefined;
|
|
5208
|
+
size?: number | undefined;
|
|
5209
|
+
date_from: string;
|
|
5210
|
+
date_to: string;
|
|
5211
|
+
location_id?: string | null | undefined;
|
|
5212
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
5213
|
+
items: {
|
|
5214
|
+
total: number;
|
|
5215
|
+
tax_amount: number;
|
|
5216
|
+
date: string;
|
|
5217
|
+
}[];
|
|
5218
|
+
total: number;
|
|
5219
|
+
page: number;
|
|
5220
|
+
size: number;
|
|
5221
|
+
}>;
|
|
4986
5222
|
}>;
|
|
4987
5223
|
pms: import("../types/api").ApiFor<{
|
|
4988
5224
|
getLocations(rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
@@ -5039,7 +5275,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5039
5275
|
id?: string | null | undefined;
|
|
5040
5276
|
model?: string | null | undefined;
|
|
5041
5277
|
};
|
|
5042
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
5278
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
5043
5279
|
menu_id?: string | null | undefined;
|
|
5044
5280
|
quantity: number;
|
|
5045
5281
|
unit_price: number;
|
|
@@ -5131,6 +5367,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5131
5367
|
payments: {
|
|
5132
5368
|
payment_method_id?: string | null | undefined;
|
|
5133
5369
|
payment_method_name?: string | null | undefined;
|
|
5370
|
+
tip: number | null;
|
|
5134
5371
|
total: number;
|
|
5135
5372
|
}[] | null;
|
|
5136
5373
|
taxes: {
|
|
@@ -5163,6 +5400,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5163
5400
|
model?: string | null | undefined;
|
|
5164
5401
|
};
|
|
5165
5402
|
} | null | undefined;
|
|
5403
|
+
description?: string | null | undefined;
|
|
5166
5404
|
}[]>;
|
|
5167
5405
|
getAccountingCategories(params?: {} | undefined, rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
5168
5406
|
id: string;
|
|
@@ -5239,7 +5477,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5239
5477
|
id?: string | null | undefined;
|
|
5240
5478
|
model?: string | null | undefined;
|
|
5241
5479
|
};
|
|
5242
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
5480
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
5243
5481
|
menu_id?: string | null | undefined;
|
|
5244
5482
|
quantity: number;
|
|
5245
5483
|
unit_price: number;
|
|
@@ -5275,6 +5513,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5275
5513
|
model?: string | null | undefined;
|
|
5276
5514
|
};
|
|
5277
5515
|
} | null | undefined;
|
|
5516
|
+
description?: string | null | undefined;
|
|
5278
5517
|
}[];
|
|
5279
5518
|
service_id?: string | null | undefined;
|
|
5280
5519
|
reservation?: {
|
|
@@ -5340,7 +5579,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5340
5579
|
id?: string | null | undefined;
|
|
5341
5580
|
model?: string | null | undefined;
|
|
5342
5581
|
};
|
|
5343
|
-
|
|
5582
|
+
amount: number;
|
|
5344
5583
|
fee: number;
|
|
5345
5584
|
currency: string;
|
|
5346
5585
|
exchange_rate: number;
|
|
@@ -5853,7 +6092,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5853
6092
|
customer_memo?: string | null | undefined;
|
|
5854
6093
|
invoice_date: string;
|
|
5855
6094
|
due_date: string;
|
|
5856
|
-
partner_id
|
|
6095
|
+
partner_id?: string | null | undefined;
|
|
5857
6096
|
journal_id?: string | null | undefined;
|
|
5858
6097
|
status: "draft" | "posted" | null;
|
|
5859
6098
|
pdf?: string | null | undefined;
|
|
@@ -5965,6 +6204,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5965
6204
|
country?: string | null | undefined;
|
|
5966
6205
|
}[] | null;
|
|
5967
6206
|
} | null | undefined;
|
|
6207
|
+
due_dates: {
|
|
6208
|
+
due_date: string;
|
|
6209
|
+
payment_method?: string | null | undefined;
|
|
6210
|
+
amount: number;
|
|
6211
|
+
}[] | null;
|
|
5968
6212
|
lines: {
|
|
5969
6213
|
line_number: number | null;
|
|
5970
6214
|
unit_price: number;
|
|
@@ -5992,7 +6236,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5992
6236
|
customer_memo?: string | null | undefined;
|
|
5993
6237
|
invoice_date: string;
|
|
5994
6238
|
due_date: string;
|
|
5995
|
-
partner_id
|
|
6239
|
+
partner_id?: string | null | undefined;
|
|
5996
6240
|
journal_id?: string | null | undefined;
|
|
5997
6241
|
status: "draft" | "posted" | null;
|
|
5998
6242
|
pdf?: string | null | undefined;
|
|
@@ -6110,6 +6354,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6110
6354
|
country?: string | null | undefined;
|
|
6111
6355
|
}[] | null;
|
|
6112
6356
|
} | null | undefined;
|
|
6357
|
+
due_dates: {
|
|
6358
|
+
due_date: string;
|
|
6359
|
+
payment_method?: string | null | undefined;
|
|
6360
|
+
amount: number;
|
|
6361
|
+
}[] | null;
|
|
6113
6362
|
lines: {
|
|
6114
6363
|
line_number: number | null;
|
|
6115
6364
|
unit_price: number;
|
|
@@ -6209,6 +6458,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6209
6458
|
country?: string | null | undefined;
|
|
6210
6459
|
}[] | null;
|
|
6211
6460
|
} | null | undefined;
|
|
6461
|
+
due_dates: {
|
|
6462
|
+
due_date: string;
|
|
6463
|
+
payment_method?: string | null | undefined;
|
|
6464
|
+
amount: number;
|
|
6465
|
+
}[] | null;
|
|
6212
6466
|
lines: {
|
|
6213
6467
|
line_number: number | null;
|
|
6214
6468
|
unit_price: number;
|
|
@@ -6297,6 +6551,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6297
6551
|
country?: string | null | undefined;
|
|
6298
6552
|
}[] | null;
|
|
6299
6553
|
} | null | undefined;
|
|
6554
|
+
due_dates: {
|
|
6555
|
+
due_date: string;
|
|
6556
|
+
payment_method?: string | null | undefined;
|
|
6557
|
+
amount: number;
|
|
6558
|
+
}[] | null;
|
|
6300
6559
|
lines: {
|
|
6301
6560
|
line_number: number | null;
|
|
6302
6561
|
unit_price: number;
|
|
@@ -6385,6 +6644,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6385
6644
|
country?: string | null | undefined;
|
|
6386
6645
|
}[] | null;
|
|
6387
6646
|
} | null | undefined;
|
|
6647
|
+
due_dates: {
|
|
6648
|
+
due_date: string;
|
|
6649
|
+
payment_method?: string | null | undefined;
|
|
6650
|
+
amount: number;
|
|
6651
|
+
}[] | null;
|
|
6388
6652
|
lines: {
|
|
6389
6653
|
line_number: number | null;
|
|
6390
6654
|
unit_price: number;
|
|
@@ -6484,6 +6748,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6484
6748
|
country?: string | null | undefined;
|
|
6485
6749
|
}[] | null;
|
|
6486
6750
|
} | null | undefined;
|
|
6751
|
+
due_dates: {
|
|
6752
|
+
due_date: string;
|
|
6753
|
+
payment_method?: string | null | undefined;
|
|
6754
|
+
amount: number;
|
|
6755
|
+
}[] | null;
|
|
6487
6756
|
lines: {
|
|
6488
6757
|
line_number: number | null;
|
|
6489
6758
|
unit_price: number;
|
|
@@ -6642,6 +6911,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6642
6911
|
date: string | null;
|
|
6643
6912
|
posted: boolean | null;
|
|
6644
6913
|
id: string;
|
|
6914
|
+
due_dates: {
|
|
6915
|
+
due_date: string;
|
|
6916
|
+
payment_method?: string | null | undefined;
|
|
6917
|
+
debit: number | null;
|
|
6918
|
+
credit: number | null;
|
|
6919
|
+
}[] | null;
|
|
6645
6920
|
items: {
|
|
6646
6921
|
account_number: string;
|
|
6647
6922
|
partner_id?: string | null | undefined;
|
|
@@ -6675,6 +6950,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6675
6950
|
date: string | null;
|
|
6676
6951
|
posted: boolean | null;
|
|
6677
6952
|
id: string;
|
|
6953
|
+
due_dates: {
|
|
6954
|
+
due_date: string;
|
|
6955
|
+
payment_method?: string | null | undefined;
|
|
6956
|
+
debit: number | null;
|
|
6957
|
+
credit: number | null;
|
|
6958
|
+
}[] | null;
|
|
6678
6959
|
items: {
|
|
6679
6960
|
account_number: string;
|
|
6680
6961
|
partner_id?: string | null | undefined;
|
|
@@ -6722,6 +7003,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6722
7003
|
name: string;
|
|
6723
7004
|
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
6724
7005
|
counterpart_account?: string | null | undefined;
|
|
7006
|
+
unallocated_account?: string | null | undefined;
|
|
6725
7007
|
next_document_numbers: {
|
|
6726
7008
|
bookyear_name?: string | null | undefined;
|
|
6727
7009
|
next_document_number?: string | null | undefined;
|
|
@@ -6730,6 +7012,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6730
7012
|
}[] | null;
|
|
6731
7013
|
iban?: string | null | undefined;
|
|
6732
7014
|
currency?: string | null | undefined;
|
|
7015
|
+
other_currencies_allowed: boolean | null;
|
|
7016
|
+
blocked: boolean | null;
|
|
6733
7017
|
}[]>;
|
|
6734
7018
|
createJournal(journal: {
|
|
6735
7019
|
code: string;
|
|
@@ -6744,6 +7028,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6744
7028
|
name: string;
|
|
6745
7029
|
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
6746
7030
|
counterpart_account?: string | null | undefined;
|
|
7031
|
+
unallocated_account?: string | null | undefined;
|
|
6747
7032
|
next_document_numbers: {
|
|
6748
7033
|
bookyear_name?: string | null | undefined;
|
|
6749
7034
|
next_document_number?: string | null | undefined;
|
|
@@ -6752,6 +7037,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6752
7037
|
}[] | null;
|
|
6753
7038
|
iban?: string | null | undefined;
|
|
6754
7039
|
currency?: string | null | undefined;
|
|
7040
|
+
other_currencies_allowed: boolean | null;
|
|
7041
|
+
blocked: boolean | null;
|
|
6755
7042
|
}>;
|
|
6756
7043
|
getVatCodes(params?: {
|
|
6757
7044
|
folder_id?: string | null | undefined;
|
|
@@ -6765,6 +7052,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6765
7052
|
deductible_account?: string | null | undefined;
|
|
6766
7053
|
payable_account?: string | null | undefined;
|
|
6767
7054
|
reversed: boolean | null;
|
|
7055
|
+
country?: string | null | undefined;
|
|
6768
7056
|
}[]>;
|
|
6769
7057
|
getMiscOperations(params?: {
|
|
6770
7058
|
date_from?: string | null | undefined;
|
|
@@ -6871,7 +7159,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6871
7159
|
number: string;
|
|
6872
7160
|
name: string;
|
|
6873
7161
|
active: boolean | null;
|
|
6874
|
-
type?: "vat" | "
|
|
7162
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
6875
7163
|
}[]>;
|
|
6876
7164
|
getBalanceOfAccounts(filter: {
|
|
6877
7165
|
accounts: string[];
|
|
@@ -6935,41 +7223,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6935
7223
|
reference?: string | null | undefined;
|
|
6936
7224
|
} | null | undefined;
|
|
6937
7225
|
}[]>;
|
|
6938
|
-
createFinancialEntryOld(financial_entry: {
|
|
6939
|
-
date: string;
|
|
6940
|
-
journal_id: string;
|
|
6941
|
-
currency: string;
|
|
6942
|
-
currency_exchange_rate: number | null;
|
|
6943
|
-
reference?: string | null | undefined;
|
|
6944
|
-
number?: string | null | undefined;
|
|
6945
|
-
items: {
|
|
6946
|
-
type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
6947
|
-
account_number: string;
|
|
6948
|
-
partner_id?: string | null | undefined;
|
|
6949
|
-
amount: number;
|
|
6950
|
-
description?: string | null | undefined;
|
|
6951
|
-
}[];
|
|
6952
|
-
pdf?: string | null | undefined;
|
|
6953
|
-
}, params?: {
|
|
6954
|
-
folder_id?: string | null | undefined;
|
|
6955
|
-
financial_counterpart_account?: string | null | undefined;
|
|
6956
|
-
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6957
|
-
date: string;
|
|
6958
|
-
journal_id: string;
|
|
6959
|
-
currency: string;
|
|
6960
|
-
currency_exchange_rate: number | null;
|
|
6961
|
-
reference?: string | null | undefined;
|
|
6962
|
-
id: string;
|
|
6963
|
-
number: string;
|
|
6964
|
-
items: {
|
|
6965
|
-
type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
6966
|
-
account_number: string;
|
|
6967
|
-
partner_id?: string | null | undefined;
|
|
6968
|
-
amount: number;
|
|
6969
|
-
description?: string | null | undefined;
|
|
6970
|
-
counterpart_account: string;
|
|
6971
|
-
}[];
|
|
6972
|
-
}>;
|
|
6973
7226
|
createFinancialEntry(financial_entry: {
|
|
6974
7227
|
date: string;
|
|
6975
7228
|
journal_id: string;
|
|
@@ -7003,20 +7256,22 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7003
7256
|
counterpart_account: string;
|
|
7004
7257
|
}[];
|
|
7005
7258
|
}>;
|
|
7006
|
-
|
|
7259
|
+
createJournalEntry(journal_entry: {
|
|
7007
7260
|
reference?: string | null | undefined;
|
|
7008
7261
|
due_date?: string | null | undefined;
|
|
7009
7262
|
journal_id: string;
|
|
7010
|
-
|
|
7263
|
+
number: string;
|
|
7264
|
+
currency: string;
|
|
7265
|
+
currency_exchange_rate: number | null;
|
|
7011
7266
|
date: string;
|
|
7012
7267
|
items: {
|
|
7013
|
-
|
|
7014
|
-
|
|
7268
|
+
account_type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
7269
|
+
account?: string | null | undefined;
|
|
7270
|
+
force_general_account?: string | null | undefined;
|
|
7271
|
+
prioritise_thirdparty_account: boolean | null;
|
|
7015
7272
|
description?: string | null | undefined;
|
|
7016
7273
|
debit: number;
|
|
7017
7274
|
credit: number;
|
|
7018
|
-
currency: string;
|
|
7019
|
-
currency_exchange_rate: number | null;
|
|
7020
7275
|
analytic_distribution: {
|
|
7021
7276
|
analytic_plan: string;
|
|
7022
7277
|
analytic_accounts: {
|
|
@@ -7024,76 +7279,20 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7024
7279
|
percentage: number;
|
|
7025
7280
|
}[];
|
|
7026
7281
|
}[] | null;
|
|
7282
|
+
tax_code?: string | null | undefined;
|
|
7283
|
+
account_info?: {
|
|
7284
|
+
account_number: string;
|
|
7285
|
+
account_name: string;
|
|
7286
|
+
} | null | undefined;
|
|
7027
7287
|
}[];
|
|
7028
7288
|
pdf?: string | null | undefined;
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
posted: boolean | null;
|
|
7037
|
-
id: string;
|
|
7038
|
-
items: {
|
|
7039
|
-
account_number: string;
|
|
7040
|
-
partner_id?: string | null | undefined;
|
|
7041
|
-
description?: string | null | undefined;
|
|
7042
|
-
debit: number;
|
|
7043
|
-
credit: number;
|
|
7044
|
-
currency: string;
|
|
7045
|
-
currency_exchange_rate: number | null;
|
|
7046
|
-
id: string;
|
|
7047
|
-
partner_name?: string | null | undefined;
|
|
7048
|
-
account_name: string;
|
|
7049
|
-
matching_numbers: string[] | null;
|
|
7050
|
-
analytic_distribution: {
|
|
7051
|
-
analytic_plan: string;
|
|
7052
|
-
analytic_accounts: {
|
|
7053
|
-
analytic_account: string;
|
|
7054
|
-
percentage: number;
|
|
7055
|
-
}[];
|
|
7056
|
-
}[] | null;
|
|
7057
|
-
}[] | null;
|
|
7058
|
-
}>;
|
|
7059
|
-
createJournalEntry(journal_entry: {
|
|
7060
|
-
reference?: string | null | undefined;
|
|
7061
|
-
due_date?: string | null | undefined;
|
|
7062
|
-
journal_id: string;
|
|
7063
|
-
number: string;
|
|
7064
|
-
currency: string;
|
|
7065
|
-
currency_exchange_rate: number | null;
|
|
7066
|
-
date: string;
|
|
7067
|
-
items: {
|
|
7068
|
-
account_type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
7069
|
-
account: string;
|
|
7070
|
-
force_general_account?: string | null | undefined;
|
|
7071
|
-
prioritise_thirdparty_account: boolean | null;
|
|
7072
|
-
description?: string | null | undefined;
|
|
7073
|
-
debit: number;
|
|
7074
|
-
credit: number;
|
|
7075
|
-
analytic_distribution: {
|
|
7076
|
-
analytic_plan: string;
|
|
7077
|
-
analytic_accounts: {
|
|
7078
|
-
analytic_account: string;
|
|
7079
|
-
percentage: number;
|
|
7080
|
-
}[];
|
|
7081
|
-
}[] | null;
|
|
7082
|
-
tax_code?: string | null | undefined;
|
|
7083
|
-
country?: string | null | undefined;
|
|
7084
|
-
account_info?: {
|
|
7085
|
-
account_number: string;
|
|
7086
|
-
account_name: string;
|
|
7087
|
-
} | null | undefined;
|
|
7088
|
-
}[];
|
|
7089
|
-
pdf?: string | null | undefined;
|
|
7090
|
-
posted: boolean | null;
|
|
7091
|
-
start_date?: string | null | undefined;
|
|
7092
|
-
end_date?: string | null | undefined;
|
|
7093
|
-
}, params?: {
|
|
7094
|
-
folder_id?: string | null | undefined;
|
|
7095
|
-
force_currency_exchange?: "true" | "false" | null | undefined;
|
|
7096
|
-
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7289
|
+
posted: boolean | null;
|
|
7290
|
+
start_date?: string | null | undefined;
|
|
7291
|
+
end_date?: string | null | undefined;
|
|
7292
|
+
}, params?: {
|
|
7293
|
+
folder_id?: string | null | undefined;
|
|
7294
|
+
force_currency_exchange?: "true" | "false" | null | undefined;
|
|
7295
|
+
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7097
7296
|
reference?: string | null | undefined;
|
|
7098
7297
|
due_date?: string | null | undefined;
|
|
7099
7298
|
journal_id: string;
|
|
@@ -7102,6 +7301,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7102
7301
|
date: string | null;
|
|
7103
7302
|
posted: boolean | null;
|
|
7104
7303
|
id: string;
|
|
7304
|
+
due_dates: {
|
|
7305
|
+
due_date: string;
|
|
7306
|
+
payment_method?: string | null | undefined;
|
|
7307
|
+
debit: number | null;
|
|
7308
|
+
credit: number | null;
|
|
7309
|
+
}[] | null;
|
|
7105
7310
|
items: {
|
|
7106
7311
|
account_number: string;
|
|
7107
7312
|
partner_id?: string | null | undefined;
|
|
@@ -7146,12 +7351,65 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7146
7351
|
[key: string]: unknown;
|
|
7147
7352
|
} | null | undefined;
|
|
7148
7353
|
}[]>;
|
|
7354
|
+
createExpense(expense: {
|
|
7355
|
+
employee_id: string;
|
|
7356
|
+
total: number;
|
|
7357
|
+
untaxed_amount: number;
|
|
7358
|
+
tax_amount: number;
|
|
7359
|
+
reference?: string | null | undefined;
|
|
7360
|
+
number?: string | null | undefined;
|
|
7361
|
+
currency: string;
|
|
7362
|
+
currency_exchange_rate: number | null;
|
|
7363
|
+
date: string;
|
|
7364
|
+
pdf?: string | null | undefined;
|
|
7365
|
+
lines: {
|
|
7366
|
+
total: number;
|
|
7367
|
+
untaxed_amount: number;
|
|
7368
|
+
tax_amount: number;
|
|
7369
|
+
description?: string | null | undefined;
|
|
7370
|
+
account_number: string;
|
|
7371
|
+
tax_rate: number;
|
|
7372
|
+
tax_id: string;
|
|
7373
|
+
}[];
|
|
7374
|
+
}, params?: {
|
|
7375
|
+
folder_id?: string | null | undefined;
|
|
7376
|
+
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7377
|
+
employee_id: string;
|
|
7378
|
+
total: number;
|
|
7379
|
+
untaxed_amount: number;
|
|
7380
|
+
tax_amount: number;
|
|
7381
|
+
reference?: string | null | undefined;
|
|
7382
|
+
number?: string | null | undefined;
|
|
7383
|
+
currency: string;
|
|
7384
|
+
currency_exchange_rate: number | null;
|
|
7385
|
+
date: string;
|
|
7386
|
+
pdf?: string | null | undefined;
|
|
7387
|
+
lines: {
|
|
7388
|
+
total: number;
|
|
7389
|
+
untaxed_amount: number;
|
|
7390
|
+
tax_amount: number;
|
|
7391
|
+
description?: string | null | undefined;
|
|
7392
|
+
account_number: string;
|
|
7393
|
+
tax_rate: number;
|
|
7394
|
+
tax_id: string;
|
|
7395
|
+
}[];
|
|
7396
|
+
id: string;
|
|
7397
|
+
}>;
|
|
7149
7398
|
getFolders(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
7150
7399
|
id: string;
|
|
7151
7400
|
name: string;
|
|
7152
7401
|
selected: boolean | null;
|
|
7153
7402
|
vat?: string | null | undefined;
|
|
7154
7403
|
company_number?: string | null | undefined;
|
|
7404
|
+
main_currency?: string | null | undefined;
|
|
7405
|
+
addresses?: {
|
|
7406
|
+
street?: string | null | undefined;
|
|
7407
|
+
number?: string | null | undefined;
|
|
7408
|
+
box?: string | null | undefined;
|
|
7409
|
+
postal_code?: string | null | undefined;
|
|
7410
|
+
city?: string | null | undefined;
|
|
7411
|
+
country?: string | null | undefined;
|
|
7412
|
+
}[] | null | undefined;
|
|
7155
7413
|
}[]>;
|
|
7156
7414
|
getBookyears(params?: {
|
|
7157
7415
|
folder_id?: string | null | undefined;
|
|
@@ -7164,13 +7422,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7164
7422
|
createLedgerAccount(account: {
|
|
7165
7423
|
name: string;
|
|
7166
7424
|
number: string;
|
|
7425
|
+
type: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null;
|
|
7167
7426
|
}, params?: {
|
|
7168
7427
|
folder_id?: string | null | undefined;
|
|
7169
7428
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7170
7429
|
number: string;
|
|
7171
7430
|
name: string;
|
|
7172
7431
|
active: boolean | null;
|
|
7173
|
-
type?: "vat" | "
|
|
7432
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
7174
7433
|
}>;
|
|
7175
7434
|
createBankAccount(bankAccount: {
|
|
7176
7435
|
code: string;
|
|
@@ -7191,6 +7450,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7191
7450
|
bank_name?: string | null | undefined;
|
|
7192
7451
|
journal_id?: string | null | undefined;
|
|
7193
7452
|
ledger_account?: string | null | undefined;
|
|
7453
|
+
unallocated_account?: string | null | undefined;
|
|
7194
7454
|
}>;
|
|
7195
7455
|
getJournalEntry(journalEntryId: string, params?: {
|
|
7196
7456
|
folder_id?: string | null | undefined;
|
|
@@ -7203,6 +7463,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7203
7463
|
date: string | null;
|
|
7204
7464
|
posted: boolean | null;
|
|
7205
7465
|
id: string;
|
|
7466
|
+
due_dates: {
|
|
7467
|
+
due_date: string;
|
|
7468
|
+
payment_method?: string | null | undefined;
|
|
7469
|
+
debit: number | null;
|
|
7470
|
+
credit: number | null;
|
|
7471
|
+
}[] | null;
|
|
7206
7472
|
items: {
|
|
7207
7473
|
account_number: string;
|
|
7208
7474
|
partner_id?: string | null | undefined;
|
|
@@ -7224,6 +7490,38 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7224
7490
|
}[] | null;
|
|
7225
7491
|
}[] | null;
|
|
7226
7492
|
}>;
|
|
7493
|
+
getPaymentMethods(params?: {
|
|
7494
|
+
page?: number | undefined;
|
|
7495
|
+
size?: number | undefined;
|
|
7496
|
+
folder_id?: string | null | undefined;
|
|
7497
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
7498
|
+
items: {
|
|
7499
|
+
id: string;
|
|
7500
|
+
name?: string | null | undefined;
|
|
7501
|
+
}[];
|
|
7502
|
+
total: number;
|
|
7503
|
+
page: number;
|
|
7504
|
+
size: number;
|
|
7505
|
+
}>;
|
|
7506
|
+
createInvoicePayment(body: {
|
|
7507
|
+
date: string;
|
|
7508
|
+
payment_method_id: string;
|
|
7509
|
+
currency: string;
|
|
7510
|
+
currency_exchange_rate: number | null;
|
|
7511
|
+
reference?: string | null | undefined;
|
|
7512
|
+
number?: string | null | undefined;
|
|
7513
|
+
items: {
|
|
7514
|
+
invoice_id: string;
|
|
7515
|
+
amount: number;
|
|
7516
|
+
}[];
|
|
7517
|
+
}, params?: {
|
|
7518
|
+
folder_id?: string | null | undefined;
|
|
7519
|
+
} | undefined): import("../types/api").RequestData<{
|
|
7520
|
+
headers: {
|
|
7521
|
+
[name: string]: unknown;
|
|
7522
|
+
};
|
|
7523
|
+
content?: undefined;
|
|
7524
|
+
}>;
|
|
7227
7525
|
}>;
|
|
7228
7526
|
invoicing: import("../types/api").ApiFor<{
|
|
7229
7527
|
getInvoices(params?: {
|
|
@@ -7294,6 +7592,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7294
7592
|
} | null | undefined;
|
|
7295
7593
|
last_updated_on?: string | null | undefined;
|
|
7296
7594
|
outstanding_amount?: number | null | undefined;
|
|
7595
|
+
last_payment_date?: string | null | undefined;
|
|
7297
7596
|
accounting_date?: string | null | undefined;
|
|
7298
7597
|
payment_method_id?: string | null | undefined;
|
|
7299
7598
|
currency_exchange_rate: number | null;
|
|
@@ -7361,6 +7660,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7361
7660
|
} | null | undefined;
|
|
7362
7661
|
last_updated_on?: string | null | undefined;
|
|
7363
7662
|
outstanding_amount?: number | null | undefined;
|
|
7663
|
+
last_payment_date?: string | null | undefined;
|
|
7364
7664
|
accounting_date?: string | null | undefined;
|
|
7365
7665
|
payment_method_id?: string | null | undefined;
|
|
7366
7666
|
currency_exchange_rate: number | null;
|
|
@@ -7481,6 +7781,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7481
7781
|
} | null | undefined;
|
|
7482
7782
|
last_updated_on?: string | null | undefined;
|
|
7483
7783
|
outstanding_amount?: number | null | undefined;
|
|
7784
|
+
last_payment_date?: string | null | undefined;
|
|
7484
7785
|
accounting_date?: string | null | undefined;
|
|
7485
7786
|
payment_method_id?: string | null | undefined;
|
|
7486
7787
|
currency_exchange_rate: number | null;
|
|
@@ -7808,6 +8109,125 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7808
8109
|
};
|
|
7809
8110
|
name: string;
|
|
7810
8111
|
}[]>;
|
|
8112
|
+
getBankAccounts(params?: {} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
8113
|
+
items: {
|
|
8114
|
+
id: string;
|
|
8115
|
+
source_ref: {
|
|
8116
|
+
id?: string | null | undefined;
|
|
8117
|
+
model?: string | null | undefined;
|
|
8118
|
+
};
|
|
8119
|
+
name: string;
|
|
8120
|
+
iban?: string | null | undefined;
|
|
8121
|
+
currency?: string | null | undefined;
|
|
8122
|
+
balance?: number | null | undefined;
|
|
8123
|
+
}[];
|
|
8124
|
+
total: number;
|
|
8125
|
+
page: number;
|
|
8126
|
+
size: number;
|
|
8127
|
+
}>;
|
|
8128
|
+
getBankTransactions(params: {
|
|
8129
|
+
date_from?: string | null | undefined;
|
|
8130
|
+
date_to?: string | null | undefined;
|
|
8131
|
+
bank_account_id: string;
|
|
8132
|
+
status?: "draft" | "done" | null | undefined;
|
|
8133
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
8134
|
+
items: {
|
|
8135
|
+
id: string;
|
|
8136
|
+
source_ref: {
|
|
8137
|
+
id?: string | null | undefined;
|
|
8138
|
+
model?: string | null | undefined;
|
|
8139
|
+
};
|
|
8140
|
+
status: "draft" | "done";
|
|
8141
|
+
bank_account_id: string;
|
|
8142
|
+
amount: number;
|
|
8143
|
+
date: string;
|
|
8144
|
+
description?: string | null | undefined;
|
|
8145
|
+
currency: string;
|
|
8146
|
+
currency_exchange_rate: number | null;
|
|
8147
|
+
accounting_code?: string | null | undefined;
|
|
8148
|
+
linked_documents: {
|
|
8149
|
+
id: string;
|
|
8150
|
+
source_ref: {
|
|
8151
|
+
id?: string | null | undefined;
|
|
8152
|
+
model?: string | null | undefined;
|
|
8153
|
+
};
|
|
8154
|
+
amount: number;
|
|
8155
|
+
type: "invoice" | "other";
|
|
8156
|
+
}[] | null;
|
|
8157
|
+
}[];
|
|
8158
|
+
total: number;
|
|
8159
|
+
page: number;
|
|
8160
|
+
size: number;
|
|
8161
|
+
}>;
|
|
8162
|
+
uploadDocument(document: {
|
|
8163
|
+
base64_string: string;
|
|
8164
|
+
document_type: "customer_document" | "supplier_document" | "employee_expense";
|
|
8165
|
+
}, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
8166
|
+
id: string;
|
|
8167
|
+
source_ref: {
|
|
8168
|
+
id?: string | null | undefined;
|
|
8169
|
+
model?: string | null | undefined;
|
|
8170
|
+
};
|
|
8171
|
+
currency?: string | null | undefined;
|
|
8172
|
+
invoice_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all" | null | undefined;
|
|
8173
|
+
status?: "draft" | "posted" | "cancelled" | "paid" | null | undefined;
|
|
8174
|
+
invoice_date?: string | null | undefined;
|
|
8175
|
+
tax_amount?: number | null | undefined;
|
|
8176
|
+
untaxed_amount?: number | null | undefined;
|
|
8177
|
+
total?: number | null | undefined;
|
|
8178
|
+
lines: {
|
|
8179
|
+
description?: string | null | undefined;
|
|
8180
|
+
unit_price: number;
|
|
8181
|
+
quantity: number;
|
|
8182
|
+
discount_amount: number;
|
|
8183
|
+
tax_amount: number;
|
|
8184
|
+
untaxed_amount: number;
|
|
8185
|
+
total: number;
|
|
8186
|
+
tax_rate?: number | null | undefined;
|
|
8187
|
+
account_number?: string | null | undefined;
|
|
8188
|
+
tax_id?: string | null | undefined;
|
|
8189
|
+
tax_exemption_reason?: string | null | undefined;
|
|
8190
|
+
unit_of_measure?: string | null | undefined;
|
|
8191
|
+
product_id?: string | null | undefined;
|
|
8192
|
+
product_code?: string | null | undefined;
|
|
8193
|
+
product_name?: string | null | undefined;
|
|
8194
|
+
}[] | null;
|
|
8195
|
+
partner_id?: string | null | undefined;
|
|
8196
|
+
invoice_number?: string | null | undefined;
|
|
8197
|
+
due_date?: string | null | undefined;
|
|
8198
|
+
reference?: string | null | undefined;
|
|
8199
|
+
payment_communication?: string | null | undefined;
|
|
8200
|
+
customer_memo?: string | null | undefined;
|
|
8201
|
+
journal_ref?: {
|
|
8202
|
+
id?: string | null | undefined;
|
|
8203
|
+
model?: string | null | undefined;
|
|
8204
|
+
name?: string | null | undefined;
|
|
8205
|
+
} | null | undefined;
|
|
8206
|
+
italian_specificities?: {
|
|
8207
|
+
stamp_duty_amount?: number | null | undefined;
|
|
8208
|
+
withholding_tax?: {
|
|
8209
|
+
rate: number;
|
|
8210
|
+
amount: number;
|
|
8211
|
+
reason?: "RT01" | "RT02" | "RT03" | "RT04" | "RT05" | "RT06" | null | undefined;
|
|
8212
|
+
payment_reason?: "A" | "U" | "R" | "Q" | "H" | "V" | "V2" | "I" | "J" | "K" | "P" | "S" | "T" | "W" | "X" | "Y" | "B" | "C" | "D" | "E" | "F" | "G" | "L" | "L1" | "M" | "M1" | "M2" | "IN" | "O" | "O1" | "V1" | null | undefined;
|
|
8213
|
+
} | null | undefined;
|
|
8214
|
+
welfare_fund?: {
|
|
8215
|
+
rate: number;
|
|
8216
|
+
amount: number;
|
|
8217
|
+
type?: "TC01" | "TC02" | "TC03" | "TC04" | "TC05" | "TC06" | "TC07" | "TC08" | "TC09" | "TC10" | "TC11" | "TC12" | "TC13" | "TC14" | "TC15" | "TC16" | "TC17" | "TC18" | "TC19" | "TC20" | "TC21" | "TC22" | null | undefined;
|
|
8218
|
+
} | null | undefined;
|
|
8219
|
+
payment_reporting?: {
|
|
8220
|
+
method?: "MP01" | "MP02" | "MP03" | "MP04" | "MP05" | "MP06" | "MP07" | "MP08" | "MP09" | "MP10" | "MP11" | "MP12" | "MP13" | "MP14" | "MP15" | "MP16" | "MP17" | "MP18" | "MP19" | "MP20" | "MP21" | "MP22" | "MP23" | null | undefined;
|
|
8221
|
+
conditions?: "TP01" | "TP02" | "TP03" | null | undefined;
|
|
8222
|
+
} | null | undefined;
|
|
8223
|
+
} | null | undefined;
|
|
8224
|
+
last_updated_on?: string | null | undefined;
|
|
8225
|
+
outstanding_amount?: number | null | undefined;
|
|
8226
|
+
last_payment_date?: string | null | undefined;
|
|
8227
|
+
accounting_date?: string | null | undefined;
|
|
8228
|
+
payment_method_id?: string | null | undefined;
|
|
8229
|
+
currency_exchange_rate: number | null;
|
|
8230
|
+
}>;
|
|
7811
8231
|
}>;
|
|
7812
8232
|
ecommerce: import("../types/api").ApiFor<{
|
|
7813
8233
|
getCustomers(params?: {} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
@@ -7839,7 +8259,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7839
8259
|
}[] | null;
|
|
7840
8260
|
created_on?: string | null | undefined;
|
|
7841
8261
|
}[]>;
|
|
7842
|
-
getProducts(params?: {
|
|
8262
|
+
getProducts(params?: {
|
|
8263
|
+
updated_after?: string | null | undefined;
|
|
8264
|
+
sku?: string | null | undefined;
|
|
8265
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
7843
8266
|
id: string;
|
|
7844
8267
|
source_ref: {
|
|
7845
8268
|
id?: string | null | undefined;
|
|
@@ -7853,6 +8276,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7853
8276
|
name: string;
|
|
7854
8277
|
}[] | null;
|
|
7855
8278
|
created_on?: string | null | undefined;
|
|
8279
|
+
last_updated_on?: string | null | undefined;
|
|
7856
8280
|
variants: {
|
|
7857
8281
|
id: string;
|
|
7858
8282
|
source_ref: {
|
|
@@ -7894,6 +8318,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7894
8318
|
}[] | null;
|
|
7895
8319
|
}[] | null;
|
|
7896
8320
|
status?: "unknown" | "archived" | "unpublished" | "published" | null | undefined;
|
|
8321
|
+
sku?: string | null | undefined;
|
|
7897
8322
|
common_attributes: {
|
|
7898
8323
|
name: string;
|
|
7899
8324
|
values: string[];
|
|
@@ -7951,6 +8376,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7951
8376
|
name: string;
|
|
7952
8377
|
}[] | null;
|
|
7953
8378
|
created_on?: string | null | undefined;
|
|
8379
|
+
last_updated_on?: string | null | undefined;
|
|
7954
8380
|
variants: {
|
|
7955
8381
|
id: string;
|
|
7956
8382
|
source_ref: {
|
|
@@ -7992,6 +8418,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7992
8418
|
}[] | null;
|
|
7993
8419
|
}[] | null;
|
|
7994
8420
|
status?: "unknown" | "archived" | "unpublished" | "published" | null | undefined;
|
|
8421
|
+
sku?: string | null | undefined;
|
|
7995
8422
|
common_attributes: {
|
|
7996
8423
|
name: string;
|
|
7997
8424
|
values: string[];
|
|
@@ -8181,6 +8608,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
8181
8608
|
amount: number;
|
|
8182
8609
|
}[] | null;
|
|
8183
8610
|
gift_card: boolean | null;
|
|
8611
|
+
is_gift: boolean | null;
|
|
8184
8612
|
}[];
|
|
8185
8613
|
other_fees: {
|
|
8186
8614
|
id: string;
|
|
@@ -8458,6 +8886,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
8458
8886
|
amount: number;
|
|
8459
8887
|
}[] | null;
|
|
8460
8888
|
gift_card: boolean | null;
|
|
8889
|
+
is_gift: boolean | null;
|
|
8461
8890
|
}[];
|
|
8462
8891
|
other_fees: {
|
|
8463
8892
|
id: string;
|
|
@@ -8696,6 +9125,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
8696
9125
|
amount: number;
|
|
8697
9126
|
}[] | null;
|
|
8698
9127
|
gift_card: boolean | null;
|
|
9128
|
+
is_gift: boolean | null;
|
|
8699
9129
|
}[];
|
|
8700
9130
|
other_fees: {
|
|
8701
9131
|
id: string;
|
|
@@ -8954,6 +9384,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
8954
9384
|
description?: string | null | undefined;
|
|
8955
9385
|
display_order: number;
|
|
8956
9386
|
challenge_question?: string | null | undefined;
|
|
9387
|
+
conditions?: {
|
|
9388
|
+
[key: string]: {
|
|
9389
|
+
[key: string]: unknown;
|
|
9390
|
+
};
|
|
9391
|
+
} | null | undefined;
|
|
8957
9392
|
values: {
|
|
8958
9393
|
source_id?: string | null | undefined;
|
|
8959
9394
|
target_id?: string | null | undefined;
|
|
@@ -8964,6 +9399,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
8964
9399
|
link_metadata?: {
|
|
8965
9400
|
[key: string]: unknown;
|
|
8966
9401
|
} | null | undefined;
|
|
9402
|
+
link_presync?: {
|
|
9403
|
+
[key: string]: unknown;
|
|
9404
|
+
} | null | undefined;
|
|
8967
9405
|
enabled_flows?: {
|
|
8968
9406
|
name: string;
|
|
8969
9407
|
description?: string | null | undefined;
|
|
@@ -9239,7 +9677,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9239
9677
|
}[];
|
|
9240
9678
|
items: {
|
|
9241
9679
|
id: string;
|
|
9242
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
9680
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
9243
9681
|
menu_id?: string | null | undefined;
|
|
9244
9682
|
quantity: number;
|
|
9245
9683
|
unit_price: number;
|
|
@@ -9317,7 +9755,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9317
9755
|
}[];
|
|
9318
9756
|
items: {
|
|
9319
9757
|
id: string;
|
|
9320
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
9758
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
9321
9759
|
menu_id?: string | null | undefined;
|
|
9322
9760
|
quantity: number;
|
|
9323
9761
|
unit_price: number;
|
|
@@ -9444,6 +9882,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9444
9882
|
payments: {
|
|
9445
9883
|
payment_method_id?: string | null | undefined;
|
|
9446
9884
|
payment_method_name?: string | null | undefined;
|
|
9885
|
+
tip: number | null;
|
|
9447
9886
|
total: number;
|
|
9448
9887
|
}[] | null;
|
|
9449
9888
|
taxes: {
|
|
@@ -9504,7 +9943,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9504
9943
|
}[];
|
|
9505
9944
|
items: {
|
|
9506
9945
|
id: string;
|
|
9507
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
9946
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
9508
9947
|
menu_id?: string | null | undefined;
|
|
9509
9948
|
quantity: number;
|
|
9510
9949
|
unit_price: number;
|
|
@@ -9530,6 +9969,22 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9530
9969
|
ledger_account_code?: string | null | undefined;
|
|
9531
9970
|
posting_account_code?: string | null | undefined;
|
|
9532
9971
|
}[]>;
|
|
9972
|
+
getObjectives(params: {
|
|
9973
|
+
page?: number | undefined;
|
|
9974
|
+
size?: number | undefined;
|
|
9975
|
+
date_from: string;
|
|
9976
|
+
date_to: string;
|
|
9977
|
+
location_id?: string | null | undefined;
|
|
9978
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
9979
|
+
items: {
|
|
9980
|
+
total: number;
|
|
9981
|
+
tax_amount: number;
|
|
9982
|
+
date: string;
|
|
9983
|
+
}[];
|
|
9984
|
+
total: number;
|
|
9985
|
+
page: number;
|
|
9986
|
+
size: number;
|
|
9987
|
+
}>;
|
|
9533
9988
|
}>;
|
|
9534
9989
|
pms: import("../types/api").ApiFor<{
|
|
9535
9990
|
getLocations(rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
@@ -9586,7 +10041,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9586
10041
|
id?: string | null | undefined;
|
|
9587
10042
|
model?: string | null | undefined;
|
|
9588
10043
|
};
|
|
9589
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
10044
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
9590
10045
|
menu_id?: string | null | undefined;
|
|
9591
10046
|
quantity: number;
|
|
9592
10047
|
unit_price: number;
|
|
@@ -9678,6 +10133,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9678
10133
|
payments: {
|
|
9679
10134
|
payment_method_id?: string | null | undefined;
|
|
9680
10135
|
payment_method_name?: string | null | undefined;
|
|
10136
|
+
tip: number | null;
|
|
9681
10137
|
total: number;
|
|
9682
10138
|
}[] | null;
|
|
9683
10139
|
taxes: {
|
|
@@ -9710,6 +10166,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9710
10166
|
model?: string | null | undefined;
|
|
9711
10167
|
};
|
|
9712
10168
|
} | null | undefined;
|
|
10169
|
+
description?: string | null | undefined;
|
|
9713
10170
|
}[]>;
|
|
9714
10171
|
getAccountingCategories(params?: {} | undefined, rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
9715
10172
|
id: string;
|
|
@@ -9786,7 +10243,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9786
10243
|
id?: string | null | undefined;
|
|
9787
10244
|
model?: string | null | undefined;
|
|
9788
10245
|
};
|
|
9789
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
10246
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
9790
10247
|
menu_id?: string | null | undefined;
|
|
9791
10248
|
quantity: number;
|
|
9792
10249
|
unit_price: number;
|
|
@@ -9822,6 +10279,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9822
10279
|
model?: string | null | undefined;
|
|
9823
10280
|
};
|
|
9824
10281
|
} | null | undefined;
|
|
10282
|
+
description?: string | null | undefined;
|
|
9825
10283
|
}[];
|
|
9826
10284
|
service_id?: string | null | undefined;
|
|
9827
10285
|
reservation?: {
|
|
@@ -9887,7 +10345,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9887
10345
|
id?: string | null | undefined;
|
|
9888
10346
|
model?: string | null | undefined;
|
|
9889
10347
|
};
|
|
9890
|
-
|
|
10348
|
+
amount: number;
|
|
9891
10349
|
fee: number;
|
|
9892
10350
|
currency: string;
|
|
9893
10351
|
exchange_rate: number;
|
|
@@ -10400,7 +10858,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10400
10858
|
customer_memo?: string | null | undefined;
|
|
10401
10859
|
invoice_date: string;
|
|
10402
10860
|
due_date: string;
|
|
10403
|
-
partner_id
|
|
10861
|
+
partner_id?: string | null | undefined;
|
|
10404
10862
|
journal_id?: string | null | undefined;
|
|
10405
10863
|
status: "draft" | "posted" | null;
|
|
10406
10864
|
pdf?: string | null | undefined;
|
|
@@ -10512,6 +10970,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10512
10970
|
country?: string | null | undefined;
|
|
10513
10971
|
}[] | null;
|
|
10514
10972
|
} | null | undefined;
|
|
10973
|
+
due_dates: {
|
|
10974
|
+
due_date: string;
|
|
10975
|
+
payment_method?: string | null | undefined;
|
|
10976
|
+
amount: number;
|
|
10977
|
+
}[] | null;
|
|
10515
10978
|
lines: {
|
|
10516
10979
|
line_number: number | null;
|
|
10517
10980
|
unit_price: number;
|
|
@@ -10539,7 +11002,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10539
11002
|
customer_memo?: string | null | undefined;
|
|
10540
11003
|
invoice_date: string;
|
|
10541
11004
|
due_date: string;
|
|
10542
|
-
partner_id
|
|
11005
|
+
partner_id?: string | null | undefined;
|
|
10543
11006
|
journal_id?: string | null | undefined;
|
|
10544
11007
|
status: "draft" | "posted" | null;
|
|
10545
11008
|
pdf?: string | null | undefined;
|
|
@@ -10657,6 +11120,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10657
11120
|
country?: string | null | undefined;
|
|
10658
11121
|
}[] | null;
|
|
10659
11122
|
} | null | undefined;
|
|
11123
|
+
due_dates: {
|
|
11124
|
+
due_date: string;
|
|
11125
|
+
payment_method?: string | null | undefined;
|
|
11126
|
+
amount: number;
|
|
11127
|
+
}[] | null;
|
|
10660
11128
|
lines: {
|
|
10661
11129
|
line_number: number | null;
|
|
10662
11130
|
unit_price: number;
|
|
@@ -10756,6 +11224,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10756
11224
|
country?: string | null | undefined;
|
|
10757
11225
|
}[] | null;
|
|
10758
11226
|
} | null | undefined;
|
|
11227
|
+
due_dates: {
|
|
11228
|
+
due_date: string;
|
|
11229
|
+
payment_method?: string | null | undefined;
|
|
11230
|
+
amount: number;
|
|
11231
|
+
}[] | null;
|
|
10759
11232
|
lines: {
|
|
10760
11233
|
line_number: number | null;
|
|
10761
11234
|
unit_price: number;
|
|
@@ -10844,6 +11317,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10844
11317
|
country?: string | null | undefined;
|
|
10845
11318
|
}[] | null;
|
|
10846
11319
|
} | null | undefined;
|
|
11320
|
+
due_dates: {
|
|
11321
|
+
due_date: string;
|
|
11322
|
+
payment_method?: string | null | undefined;
|
|
11323
|
+
amount: number;
|
|
11324
|
+
}[] | null;
|
|
10847
11325
|
lines: {
|
|
10848
11326
|
line_number: number | null;
|
|
10849
11327
|
unit_price: number;
|
|
@@ -10932,6 +11410,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10932
11410
|
country?: string | null | undefined;
|
|
10933
11411
|
}[] | null;
|
|
10934
11412
|
} | null | undefined;
|
|
11413
|
+
due_dates: {
|
|
11414
|
+
due_date: string;
|
|
11415
|
+
payment_method?: string | null | undefined;
|
|
11416
|
+
amount: number;
|
|
11417
|
+
}[] | null;
|
|
10935
11418
|
lines: {
|
|
10936
11419
|
line_number: number | null;
|
|
10937
11420
|
unit_price: number;
|
|
@@ -11031,6 +11514,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11031
11514
|
country?: string | null | undefined;
|
|
11032
11515
|
}[] | null;
|
|
11033
11516
|
} | null | undefined;
|
|
11517
|
+
due_dates: {
|
|
11518
|
+
due_date: string;
|
|
11519
|
+
payment_method?: string | null | undefined;
|
|
11520
|
+
amount: number;
|
|
11521
|
+
}[] | null;
|
|
11034
11522
|
lines: {
|
|
11035
11523
|
line_number: number | null;
|
|
11036
11524
|
unit_price: number;
|
|
@@ -11189,6 +11677,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11189
11677
|
date: string | null;
|
|
11190
11678
|
posted: boolean | null;
|
|
11191
11679
|
id: string;
|
|
11680
|
+
due_dates: {
|
|
11681
|
+
due_date: string;
|
|
11682
|
+
payment_method?: string | null | undefined;
|
|
11683
|
+
debit: number | null;
|
|
11684
|
+
credit: number | null;
|
|
11685
|
+
}[] | null;
|
|
11192
11686
|
items: {
|
|
11193
11687
|
account_number: string;
|
|
11194
11688
|
partner_id?: string | null | undefined;
|
|
@@ -11222,6 +11716,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11222
11716
|
date: string | null;
|
|
11223
11717
|
posted: boolean | null;
|
|
11224
11718
|
id: string;
|
|
11719
|
+
due_dates: {
|
|
11720
|
+
due_date: string;
|
|
11721
|
+
payment_method?: string | null | undefined;
|
|
11722
|
+
debit: number | null;
|
|
11723
|
+
credit: number | null;
|
|
11724
|
+
}[] | null;
|
|
11225
11725
|
items: {
|
|
11226
11726
|
account_number: string;
|
|
11227
11727
|
partner_id?: string | null | undefined;
|
|
@@ -11269,6 +11769,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11269
11769
|
name: string;
|
|
11270
11770
|
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
11271
11771
|
counterpart_account?: string | null | undefined;
|
|
11772
|
+
unallocated_account?: string | null | undefined;
|
|
11272
11773
|
next_document_numbers: {
|
|
11273
11774
|
bookyear_name?: string | null | undefined;
|
|
11274
11775
|
next_document_number?: string | null | undefined;
|
|
@@ -11277,6 +11778,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11277
11778
|
}[] | null;
|
|
11278
11779
|
iban?: string | null | undefined;
|
|
11279
11780
|
currency?: string | null | undefined;
|
|
11781
|
+
other_currencies_allowed: boolean | null;
|
|
11782
|
+
blocked: boolean | null;
|
|
11280
11783
|
}[]>;
|
|
11281
11784
|
createJournal(journal: {
|
|
11282
11785
|
code: string;
|
|
@@ -11291,6 +11794,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11291
11794
|
name: string;
|
|
11292
11795
|
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
11293
11796
|
counterpart_account?: string | null | undefined;
|
|
11797
|
+
unallocated_account?: string | null | undefined;
|
|
11294
11798
|
next_document_numbers: {
|
|
11295
11799
|
bookyear_name?: string | null | undefined;
|
|
11296
11800
|
next_document_number?: string | null | undefined;
|
|
@@ -11299,6 +11803,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11299
11803
|
}[] | null;
|
|
11300
11804
|
iban?: string | null | undefined;
|
|
11301
11805
|
currency?: string | null | undefined;
|
|
11806
|
+
other_currencies_allowed: boolean | null;
|
|
11807
|
+
blocked: boolean | null;
|
|
11302
11808
|
}>;
|
|
11303
11809
|
getVatCodes(params?: {
|
|
11304
11810
|
folder_id?: string | null | undefined;
|
|
@@ -11312,6 +11818,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11312
11818
|
deductible_account?: string | null | undefined;
|
|
11313
11819
|
payable_account?: string | null | undefined;
|
|
11314
11820
|
reversed: boolean | null;
|
|
11821
|
+
country?: string | null | undefined;
|
|
11315
11822
|
}[]>;
|
|
11316
11823
|
getMiscOperations(params?: {
|
|
11317
11824
|
date_from?: string | null | undefined;
|
|
@@ -11418,7 +11925,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11418
11925
|
number: string;
|
|
11419
11926
|
name: string;
|
|
11420
11927
|
active: boolean | null;
|
|
11421
|
-
type?: "vat" | "
|
|
11928
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
11422
11929
|
}[]>;
|
|
11423
11930
|
getBalanceOfAccounts(filter: {
|
|
11424
11931
|
accounts: string[];
|
|
@@ -11482,41 +11989,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11482
11989
|
reference?: string | null | undefined;
|
|
11483
11990
|
} | null | undefined;
|
|
11484
11991
|
}[]>;
|
|
11485
|
-
createFinancialEntryOld(financial_entry: {
|
|
11486
|
-
date: string;
|
|
11487
|
-
journal_id: string;
|
|
11488
|
-
currency: string;
|
|
11489
|
-
currency_exchange_rate: number | null;
|
|
11490
|
-
reference?: string | null | undefined;
|
|
11491
|
-
number?: string | null | undefined;
|
|
11492
|
-
items: {
|
|
11493
|
-
type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
11494
|
-
account_number: string;
|
|
11495
|
-
partner_id?: string | null | undefined;
|
|
11496
|
-
amount: number;
|
|
11497
|
-
description?: string | null | undefined;
|
|
11498
|
-
}[];
|
|
11499
|
-
pdf?: string | null | undefined;
|
|
11500
|
-
}, params?: {
|
|
11501
|
-
folder_id?: string | null | undefined;
|
|
11502
|
-
financial_counterpart_account?: string | null | undefined;
|
|
11503
|
-
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11504
|
-
date: string;
|
|
11505
|
-
journal_id: string;
|
|
11506
|
-
currency: string;
|
|
11507
|
-
currency_exchange_rate: number | null;
|
|
11508
|
-
reference?: string | null | undefined;
|
|
11509
|
-
id: string;
|
|
11510
|
-
number: string;
|
|
11511
|
-
items: {
|
|
11512
|
-
type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
11513
|
-
account_number: string;
|
|
11514
|
-
partner_id?: string | null | undefined;
|
|
11515
|
-
amount: number;
|
|
11516
|
-
description?: string | null | undefined;
|
|
11517
|
-
counterpart_account: string;
|
|
11518
|
-
}[];
|
|
11519
|
-
}>;
|
|
11520
11992
|
createFinancialEntry(financial_entry: {
|
|
11521
11993
|
date: string;
|
|
11522
11994
|
journal_id: string;
|
|
@@ -11550,59 +12022,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11550
12022
|
counterpart_account: string;
|
|
11551
12023
|
}[];
|
|
11552
12024
|
}>;
|
|
11553
|
-
createJournalEntryOld(journal_entry: {
|
|
11554
|
-
reference?: string | null | undefined;
|
|
11555
|
-
due_date?: string | null | undefined;
|
|
11556
|
-
journal_id: string;
|
|
11557
|
-
name: string;
|
|
11558
|
-
date: string;
|
|
11559
|
-
items: {
|
|
11560
|
-
account_number: string;
|
|
11561
|
-
partner_id?: string | null | undefined;
|
|
11562
|
-
description?: string | null | undefined;
|
|
11563
|
-
debit: number;
|
|
11564
|
-
credit: number;
|
|
11565
|
-
currency: string;
|
|
11566
|
-
currency_exchange_rate: number | null;
|
|
11567
|
-
analytic_distribution: {
|
|
11568
|
-
analytic_plan: string;
|
|
11569
|
-
analytic_accounts: {
|
|
11570
|
-
analytic_account: string;
|
|
11571
|
-
percentage: number;
|
|
11572
|
-
}[];
|
|
11573
|
-
}[] | null;
|
|
11574
|
-
}[];
|
|
11575
|
-
pdf?: string | null | undefined;
|
|
11576
|
-
}, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11577
|
-
reference?: string | null | undefined;
|
|
11578
|
-
due_date?: string | null | undefined;
|
|
11579
|
-
journal_id: string;
|
|
11580
|
-
name?: string | null | undefined;
|
|
11581
|
-
journal_name?: string | null | undefined;
|
|
11582
|
-
date: string | null;
|
|
11583
|
-
posted: boolean | null;
|
|
11584
|
-
id: string;
|
|
11585
|
-
items: {
|
|
11586
|
-
account_number: string;
|
|
11587
|
-
partner_id?: string | null | undefined;
|
|
11588
|
-
description?: string | null | undefined;
|
|
11589
|
-
debit: number;
|
|
11590
|
-
credit: number;
|
|
11591
|
-
currency: string;
|
|
11592
|
-
currency_exchange_rate: number | null;
|
|
11593
|
-
id: string;
|
|
11594
|
-
partner_name?: string | null | undefined;
|
|
11595
|
-
account_name: string;
|
|
11596
|
-
matching_numbers: string[] | null;
|
|
11597
|
-
analytic_distribution: {
|
|
11598
|
-
analytic_plan: string;
|
|
11599
|
-
analytic_accounts: {
|
|
11600
|
-
analytic_account: string;
|
|
11601
|
-
percentage: number;
|
|
11602
|
-
}[];
|
|
11603
|
-
}[] | null;
|
|
11604
|
-
}[] | null;
|
|
11605
|
-
}>;
|
|
11606
12025
|
createJournalEntry(journal_entry: {
|
|
11607
12026
|
reference?: string | null | undefined;
|
|
11608
12027
|
due_date?: string | null | undefined;
|
|
@@ -11613,7 +12032,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11613
12032
|
date: string;
|
|
11614
12033
|
items: {
|
|
11615
12034
|
account_type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
11616
|
-
account
|
|
12035
|
+
account?: string | null | undefined;
|
|
11617
12036
|
force_general_account?: string | null | undefined;
|
|
11618
12037
|
prioritise_thirdparty_account: boolean | null;
|
|
11619
12038
|
description?: string | null | undefined;
|
|
@@ -11627,7 +12046,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11627
12046
|
}[];
|
|
11628
12047
|
}[] | null;
|
|
11629
12048
|
tax_code?: string | null | undefined;
|
|
11630
|
-
country?: string | null | undefined;
|
|
11631
12049
|
account_info?: {
|
|
11632
12050
|
account_number: string;
|
|
11633
12051
|
account_name: string;
|
|
@@ -11649,6 +12067,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11649
12067
|
date: string | null;
|
|
11650
12068
|
posted: boolean | null;
|
|
11651
12069
|
id: string;
|
|
12070
|
+
due_dates: {
|
|
12071
|
+
due_date: string;
|
|
12072
|
+
payment_method?: string | null | undefined;
|
|
12073
|
+
debit: number | null;
|
|
12074
|
+
credit: number | null;
|
|
12075
|
+
}[] | null;
|
|
11652
12076
|
items: {
|
|
11653
12077
|
account_number: string;
|
|
11654
12078
|
partner_id?: string | null | undefined;
|
|
@@ -11693,12 +12117,65 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11693
12117
|
[key: string]: unknown;
|
|
11694
12118
|
} | null | undefined;
|
|
11695
12119
|
}[]>;
|
|
12120
|
+
createExpense(expense: {
|
|
12121
|
+
employee_id: string;
|
|
12122
|
+
total: number;
|
|
12123
|
+
untaxed_amount: number;
|
|
12124
|
+
tax_amount: number;
|
|
12125
|
+
reference?: string | null | undefined;
|
|
12126
|
+
number?: string | null | undefined;
|
|
12127
|
+
currency: string;
|
|
12128
|
+
currency_exchange_rate: number | null;
|
|
12129
|
+
date: string;
|
|
12130
|
+
pdf?: string | null | undefined;
|
|
12131
|
+
lines: {
|
|
12132
|
+
total: number;
|
|
12133
|
+
untaxed_amount: number;
|
|
12134
|
+
tax_amount: number;
|
|
12135
|
+
description?: string | null | undefined;
|
|
12136
|
+
account_number: string;
|
|
12137
|
+
tax_rate: number;
|
|
12138
|
+
tax_id: string;
|
|
12139
|
+
}[];
|
|
12140
|
+
}, params?: {
|
|
12141
|
+
folder_id?: string | null | undefined;
|
|
12142
|
+
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
12143
|
+
employee_id: string;
|
|
12144
|
+
total: number;
|
|
12145
|
+
untaxed_amount: number;
|
|
12146
|
+
tax_amount: number;
|
|
12147
|
+
reference?: string | null | undefined;
|
|
12148
|
+
number?: string | null | undefined;
|
|
12149
|
+
currency: string;
|
|
12150
|
+
currency_exchange_rate: number | null;
|
|
12151
|
+
date: string;
|
|
12152
|
+
pdf?: string | null | undefined;
|
|
12153
|
+
lines: {
|
|
12154
|
+
total: number;
|
|
12155
|
+
untaxed_amount: number;
|
|
12156
|
+
tax_amount: number;
|
|
12157
|
+
description?: string | null | undefined;
|
|
12158
|
+
account_number: string;
|
|
12159
|
+
tax_rate: number;
|
|
12160
|
+
tax_id: string;
|
|
12161
|
+
}[];
|
|
12162
|
+
id: string;
|
|
12163
|
+
}>;
|
|
11696
12164
|
getFolders(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
11697
12165
|
id: string;
|
|
11698
12166
|
name: string;
|
|
11699
12167
|
selected: boolean | null;
|
|
11700
12168
|
vat?: string | null | undefined;
|
|
11701
12169
|
company_number?: string | null | undefined;
|
|
12170
|
+
main_currency?: string | null | undefined;
|
|
12171
|
+
addresses?: {
|
|
12172
|
+
street?: string | null | undefined;
|
|
12173
|
+
number?: string | null | undefined;
|
|
12174
|
+
box?: string | null | undefined;
|
|
12175
|
+
postal_code?: string | null | undefined;
|
|
12176
|
+
city?: string | null | undefined;
|
|
12177
|
+
country?: string | null | undefined;
|
|
12178
|
+
}[] | null | undefined;
|
|
11702
12179
|
}[]>;
|
|
11703
12180
|
getBookyears(params?: {
|
|
11704
12181
|
folder_id?: string | null | undefined;
|
|
@@ -11711,13 +12188,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11711
12188
|
createLedgerAccount(account: {
|
|
11712
12189
|
name: string;
|
|
11713
12190
|
number: string;
|
|
12191
|
+
type: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null;
|
|
11714
12192
|
}, params?: {
|
|
11715
12193
|
folder_id?: string | null | undefined;
|
|
11716
12194
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11717
12195
|
number: string;
|
|
11718
12196
|
name: string;
|
|
11719
12197
|
active: boolean | null;
|
|
11720
|
-
type?: "vat" | "
|
|
12198
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
11721
12199
|
}>;
|
|
11722
12200
|
createBankAccount(bankAccount: {
|
|
11723
12201
|
code: string;
|
|
@@ -11738,6 +12216,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11738
12216
|
bank_name?: string | null | undefined;
|
|
11739
12217
|
journal_id?: string | null | undefined;
|
|
11740
12218
|
ledger_account?: string | null | undefined;
|
|
12219
|
+
unallocated_account?: string | null | undefined;
|
|
11741
12220
|
}>;
|
|
11742
12221
|
getJournalEntry(journalEntryId: string, params?: {
|
|
11743
12222
|
folder_id?: string | null | undefined;
|
|
@@ -11750,6 +12229,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11750
12229
|
date: string | null;
|
|
11751
12230
|
posted: boolean | null;
|
|
11752
12231
|
id: string;
|
|
12232
|
+
due_dates: {
|
|
12233
|
+
due_date: string;
|
|
12234
|
+
payment_method?: string | null | undefined;
|
|
12235
|
+
debit: number | null;
|
|
12236
|
+
credit: number | null;
|
|
12237
|
+
}[] | null;
|
|
11753
12238
|
items: {
|
|
11754
12239
|
account_number: string;
|
|
11755
12240
|
partner_id?: string | null | undefined;
|
|
@@ -11771,6 +12256,38 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11771
12256
|
}[] | null;
|
|
11772
12257
|
}[] | null;
|
|
11773
12258
|
}>;
|
|
12259
|
+
getPaymentMethods(params?: {
|
|
12260
|
+
page?: number | undefined;
|
|
12261
|
+
size?: number | undefined;
|
|
12262
|
+
folder_id?: string | null | undefined;
|
|
12263
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
12264
|
+
items: {
|
|
12265
|
+
id: string;
|
|
12266
|
+
name?: string | null | undefined;
|
|
12267
|
+
}[];
|
|
12268
|
+
total: number;
|
|
12269
|
+
page: number;
|
|
12270
|
+
size: number;
|
|
12271
|
+
}>;
|
|
12272
|
+
createInvoicePayment(body: {
|
|
12273
|
+
date: string;
|
|
12274
|
+
payment_method_id: string;
|
|
12275
|
+
currency: string;
|
|
12276
|
+
currency_exchange_rate: number | null;
|
|
12277
|
+
reference?: string | null | undefined;
|
|
12278
|
+
number?: string | null | undefined;
|
|
12279
|
+
items: {
|
|
12280
|
+
invoice_id: string;
|
|
12281
|
+
amount: number;
|
|
12282
|
+
}[];
|
|
12283
|
+
}, params?: {
|
|
12284
|
+
folder_id?: string | null | undefined;
|
|
12285
|
+
} | undefined): import("../types/api").RequestData<{
|
|
12286
|
+
headers: {
|
|
12287
|
+
[name: string]: unknown;
|
|
12288
|
+
};
|
|
12289
|
+
content?: undefined;
|
|
12290
|
+
}>;
|
|
11774
12291
|
}>;
|
|
11775
12292
|
invoicing: import("../types/api").ApiFor<{
|
|
11776
12293
|
getInvoices(params?: {
|
|
@@ -11841,6 +12358,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11841
12358
|
} | null | undefined;
|
|
11842
12359
|
last_updated_on?: string | null | undefined;
|
|
11843
12360
|
outstanding_amount?: number | null | undefined;
|
|
12361
|
+
last_payment_date?: string | null | undefined;
|
|
11844
12362
|
accounting_date?: string | null | undefined;
|
|
11845
12363
|
payment_method_id?: string | null | undefined;
|
|
11846
12364
|
currency_exchange_rate: number | null;
|
|
@@ -11908,6 +12426,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11908
12426
|
} | null | undefined;
|
|
11909
12427
|
last_updated_on?: string | null | undefined;
|
|
11910
12428
|
outstanding_amount?: number | null | undefined;
|
|
12429
|
+
last_payment_date?: string | null | undefined;
|
|
11911
12430
|
accounting_date?: string | null | undefined;
|
|
11912
12431
|
payment_method_id?: string | null | undefined;
|
|
11913
12432
|
currency_exchange_rate: number | null;
|
|
@@ -12028,6 +12547,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12028
12547
|
} | null | undefined;
|
|
12029
12548
|
last_updated_on?: string | null | undefined;
|
|
12030
12549
|
outstanding_amount?: number | null | undefined;
|
|
12550
|
+
last_payment_date?: string | null | undefined;
|
|
12031
12551
|
accounting_date?: string | null | undefined;
|
|
12032
12552
|
payment_method_id?: string | null | undefined;
|
|
12033
12553
|
currency_exchange_rate: number | null;
|
|
@@ -12355,6 +12875,125 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12355
12875
|
};
|
|
12356
12876
|
name: string;
|
|
12357
12877
|
}[]>;
|
|
12878
|
+
getBankAccounts(params?: {} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
12879
|
+
items: {
|
|
12880
|
+
id: string;
|
|
12881
|
+
source_ref: {
|
|
12882
|
+
id?: string | null | undefined;
|
|
12883
|
+
model?: string | null | undefined;
|
|
12884
|
+
};
|
|
12885
|
+
name: string;
|
|
12886
|
+
iban?: string | null | undefined;
|
|
12887
|
+
currency?: string | null | undefined;
|
|
12888
|
+
balance?: number | null | undefined;
|
|
12889
|
+
}[];
|
|
12890
|
+
total: number;
|
|
12891
|
+
page: number;
|
|
12892
|
+
size: number;
|
|
12893
|
+
}>;
|
|
12894
|
+
getBankTransactions(params: {
|
|
12895
|
+
date_from?: string | null | undefined;
|
|
12896
|
+
date_to?: string | null | undefined;
|
|
12897
|
+
bank_account_id: string;
|
|
12898
|
+
status?: "draft" | "done" | null | undefined;
|
|
12899
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
12900
|
+
items: {
|
|
12901
|
+
id: string;
|
|
12902
|
+
source_ref: {
|
|
12903
|
+
id?: string | null | undefined;
|
|
12904
|
+
model?: string | null | undefined;
|
|
12905
|
+
};
|
|
12906
|
+
status: "draft" | "done";
|
|
12907
|
+
bank_account_id: string;
|
|
12908
|
+
amount: number;
|
|
12909
|
+
date: string;
|
|
12910
|
+
description?: string | null | undefined;
|
|
12911
|
+
currency: string;
|
|
12912
|
+
currency_exchange_rate: number | null;
|
|
12913
|
+
accounting_code?: string | null | undefined;
|
|
12914
|
+
linked_documents: {
|
|
12915
|
+
id: string;
|
|
12916
|
+
source_ref: {
|
|
12917
|
+
id?: string | null | undefined;
|
|
12918
|
+
model?: string | null | undefined;
|
|
12919
|
+
};
|
|
12920
|
+
amount: number;
|
|
12921
|
+
type: "invoice" | "other";
|
|
12922
|
+
}[] | null;
|
|
12923
|
+
}[];
|
|
12924
|
+
total: number;
|
|
12925
|
+
page: number;
|
|
12926
|
+
size: number;
|
|
12927
|
+
}>;
|
|
12928
|
+
uploadDocument(document: {
|
|
12929
|
+
base64_string: string;
|
|
12930
|
+
document_type: "customer_document" | "supplier_document" | "employee_expense";
|
|
12931
|
+
}, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
12932
|
+
id: string;
|
|
12933
|
+
source_ref: {
|
|
12934
|
+
id?: string | null | undefined;
|
|
12935
|
+
model?: string | null | undefined;
|
|
12936
|
+
};
|
|
12937
|
+
currency?: string | null | undefined;
|
|
12938
|
+
invoice_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all" | null | undefined;
|
|
12939
|
+
status?: "draft" | "posted" | "cancelled" | "paid" | null | undefined;
|
|
12940
|
+
invoice_date?: string | null | undefined;
|
|
12941
|
+
tax_amount?: number | null | undefined;
|
|
12942
|
+
untaxed_amount?: number | null | undefined;
|
|
12943
|
+
total?: number | null | undefined;
|
|
12944
|
+
lines: {
|
|
12945
|
+
description?: string | null | undefined;
|
|
12946
|
+
unit_price: number;
|
|
12947
|
+
quantity: number;
|
|
12948
|
+
discount_amount: number;
|
|
12949
|
+
tax_amount: number;
|
|
12950
|
+
untaxed_amount: number;
|
|
12951
|
+
total: number;
|
|
12952
|
+
tax_rate?: number | null | undefined;
|
|
12953
|
+
account_number?: string | null | undefined;
|
|
12954
|
+
tax_id?: string | null | undefined;
|
|
12955
|
+
tax_exemption_reason?: string | null | undefined;
|
|
12956
|
+
unit_of_measure?: string | null | undefined;
|
|
12957
|
+
product_id?: string | null | undefined;
|
|
12958
|
+
product_code?: string | null | undefined;
|
|
12959
|
+
product_name?: string | null | undefined;
|
|
12960
|
+
}[] | null;
|
|
12961
|
+
partner_id?: string | null | undefined;
|
|
12962
|
+
invoice_number?: string | null | undefined;
|
|
12963
|
+
due_date?: string | null | undefined;
|
|
12964
|
+
reference?: string | null | undefined;
|
|
12965
|
+
payment_communication?: string | null | undefined;
|
|
12966
|
+
customer_memo?: string | null | undefined;
|
|
12967
|
+
journal_ref?: {
|
|
12968
|
+
id?: string | null | undefined;
|
|
12969
|
+
model?: string | null | undefined;
|
|
12970
|
+
name?: string | null | undefined;
|
|
12971
|
+
} | null | undefined;
|
|
12972
|
+
italian_specificities?: {
|
|
12973
|
+
stamp_duty_amount?: number | null | undefined;
|
|
12974
|
+
withholding_tax?: {
|
|
12975
|
+
rate: number;
|
|
12976
|
+
amount: number;
|
|
12977
|
+
reason?: "RT01" | "RT02" | "RT03" | "RT04" | "RT05" | "RT06" | null | undefined;
|
|
12978
|
+
payment_reason?: "A" | "U" | "R" | "Q" | "H" | "V" | "V2" | "I" | "J" | "K" | "P" | "S" | "T" | "W" | "X" | "Y" | "B" | "C" | "D" | "E" | "F" | "G" | "L" | "L1" | "M" | "M1" | "M2" | "IN" | "O" | "O1" | "V1" | null | undefined;
|
|
12979
|
+
} | null | undefined;
|
|
12980
|
+
welfare_fund?: {
|
|
12981
|
+
rate: number;
|
|
12982
|
+
amount: number;
|
|
12983
|
+
type?: "TC01" | "TC02" | "TC03" | "TC04" | "TC05" | "TC06" | "TC07" | "TC08" | "TC09" | "TC10" | "TC11" | "TC12" | "TC13" | "TC14" | "TC15" | "TC16" | "TC17" | "TC18" | "TC19" | "TC20" | "TC21" | "TC22" | null | undefined;
|
|
12984
|
+
} | null | undefined;
|
|
12985
|
+
payment_reporting?: {
|
|
12986
|
+
method?: "MP01" | "MP02" | "MP03" | "MP04" | "MP05" | "MP06" | "MP07" | "MP08" | "MP09" | "MP10" | "MP11" | "MP12" | "MP13" | "MP14" | "MP15" | "MP16" | "MP17" | "MP18" | "MP19" | "MP20" | "MP21" | "MP22" | "MP23" | null | undefined;
|
|
12987
|
+
conditions?: "TP01" | "TP02" | "TP03" | null | undefined;
|
|
12988
|
+
} | null | undefined;
|
|
12989
|
+
} | null | undefined;
|
|
12990
|
+
last_updated_on?: string | null | undefined;
|
|
12991
|
+
outstanding_amount?: number | null | undefined;
|
|
12992
|
+
last_payment_date?: string | null | undefined;
|
|
12993
|
+
accounting_date?: string | null | undefined;
|
|
12994
|
+
payment_method_id?: string | null | undefined;
|
|
12995
|
+
currency_exchange_rate: number | null;
|
|
12996
|
+
}>;
|
|
12358
12997
|
}>;
|
|
12359
12998
|
ecommerce: import("../types/api").ApiFor<{
|
|
12360
12999
|
getCustomers(params?: {} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
@@ -12386,7 +13025,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12386
13025
|
}[] | null;
|
|
12387
13026
|
created_on?: string | null | undefined;
|
|
12388
13027
|
}[]>;
|
|
12389
|
-
getProducts(params?: {
|
|
13028
|
+
getProducts(params?: {
|
|
13029
|
+
updated_after?: string | null | undefined;
|
|
13030
|
+
sku?: string | null | undefined;
|
|
13031
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
12390
13032
|
id: string;
|
|
12391
13033
|
source_ref: {
|
|
12392
13034
|
id?: string | null | undefined;
|
|
@@ -12400,6 +13042,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12400
13042
|
name: string;
|
|
12401
13043
|
}[] | null;
|
|
12402
13044
|
created_on?: string | null | undefined;
|
|
13045
|
+
last_updated_on?: string | null | undefined;
|
|
12403
13046
|
variants: {
|
|
12404
13047
|
id: string;
|
|
12405
13048
|
source_ref: {
|
|
@@ -12441,6 +13084,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12441
13084
|
}[] | null;
|
|
12442
13085
|
}[] | null;
|
|
12443
13086
|
status?: "unknown" | "archived" | "unpublished" | "published" | null | undefined;
|
|
13087
|
+
sku?: string | null | undefined;
|
|
12444
13088
|
common_attributes: {
|
|
12445
13089
|
name: string;
|
|
12446
13090
|
values: string[];
|
|
@@ -12498,6 +13142,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12498
13142
|
name: string;
|
|
12499
13143
|
}[] | null;
|
|
12500
13144
|
created_on?: string | null | undefined;
|
|
13145
|
+
last_updated_on?: string | null | undefined;
|
|
12501
13146
|
variants: {
|
|
12502
13147
|
id: string;
|
|
12503
13148
|
source_ref: {
|
|
@@ -12539,6 +13184,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12539
13184
|
}[] | null;
|
|
12540
13185
|
}[] | null;
|
|
12541
13186
|
status?: "unknown" | "archived" | "unpublished" | "published" | null | undefined;
|
|
13187
|
+
sku?: string | null | undefined;
|
|
12542
13188
|
common_attributes: {
|
|
12543
13189
|
name: string;
|
|
12544
13190
|
values: string[];
|
|
@@ -12728,6 +13374,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12728
13374
|
amount: number;
|
|
12729
13375
|
}[] | null;
|
|
12730
13376
|
gift_card: boolean | null;
|
|
13377
|
+
is_gift: boolean | null;
|
|
12731
13378
|
}[];
|
|
12732
13379
|
other_fees: {
|
|
12733
13380
|
id: string;
|
|
@@ -13005,6 +13652,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13005
13652
|
amount: number;
|
|
13006
13653
|
}[] | null;
|
|
13007
13654
|
gift_card: boolean | null;
|
|
13655
|
+
is_gift: boolean | null;
|
|
13008
13656
|
}[];
|
|
13009
13657
|
other_fees: {
|
|
13010
13658
|
id: string;
|
|
@@ -13243,6 +13891,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13243
13891
|
amount: number;
|
|
13244
13892
|
}[] | null;
|
|
13245
13893
|
gift_card: boolean | null;
|
|
13894
|
+
is_gift: boolean | null;
|
|
13246
13895
|
}[];
|
|
13247
13896
|
other_fees: {
|
|
13248
13897
|
id: string;
|
|
@@ -13501,6 +14150,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13501
14150
|
description?: string | null | undefined;
|
|
13502
14151
|
display_order: number;
|
|
13503
14152
|
challenge_question?: string | null | undefined;
|
|
14153
|
+
conditions?: {
|
|
14154
|
+
[key: string]: {
|
|
14155
|
+
[key: string]: unknown;
|
|
14156
|
+
};
|
|
14157
|
+
} | null | undefined;
|
|
13504
14158
|
values: {
|
|
13505
14159
|
source_id?: string | null | undefined;
|
|
13506
14160
|
target_id?: string | null | undefined;
|
|
@@ -13511,6 +14165,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13511
14165
|
link_metadata?: {
|
|
13512
14166
|
[key: string]: unknown;
|
|
13513
14167
|
} | null | undefined;
|
|
14168
|
+
link_presync?: {
|
|
14169
|
+
[key: string]: unknown;
|
|
14170
|
+
} | null | undefined;
|
|
13514
14171
|
enabled_flows?: {
|
|
13515
14172
|
name: string;
|
|
13516
14173
|
description?: string | null | undefined;
|
|
@@ -13786,7 +14443,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13786
14443
|
}[];
|
|
13787
14444
|
items: {
|
|
13788
14445
|
id: string;
|
|
13789
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
14446
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
13790
14447
|
menu_id?: string | null | undefined;
|
|
13791
14448
|
quantity: number;
|
|
13792
14449
|
unit_price: number;
|
|
@@ -13864,7 +14521,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13864
14521
|
}[];
|
|
13865
14522
|
items: {
|
|
13866
14523
|
id: string;
|
|
13867
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
14524
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
13868
14525
|
menu_id?: string | null | undefined;
|
|
13869
14526
|
quantity: number;
|
|
13870
14527
|
unit_price: number;
|
|
@@ -13991,6 +14648,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13991
14648
|
payments: {
|
|
13992
14649
|
payment_method_id?: string | null | undefined;
|
|
13993
14650
|
payment_method_name?: string | null | undefined;
|
|
14651
|
+
tip: number | null;
|
|
13994
14652
|
total: number;
|
|
13995
14653
|
}[] | null;
|
|
13996
14654
|
taxes: {
|
|
@@ -14051,7 +14709,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14051
14709
|
}[];
|
|
14052
14710
|
items: {
|
|
14053
14711
|
id: string;
|
|
14054
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
14712
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
14055
14713
|
menu_id?: string | null | undefined;
|
|
14056
14714
|
quantity: number;
|
|
14057
14715
|
unit_price: number;
|
|
@@ -14077,6 +14735,22 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14077
14735
|
ledger_account_code?: string | null | undefined;
|
|
14078
14736
|
posting_account_code?: string | null | undefined;
|
|
14079
14737
|
}[]>;
|
|
14738
|
+
getObjectives(params: {
|
|
14739
|
+
page?: number | undefined;
|
|
14740
|
+
size?: number | undefined;
|
|
14741
|
+
date_from: string;
|
|
14742
|
+
date_to: string;
|
|
14743
|
+
location_id?: string | null | undefined;
|
|
14744
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
14745
|
+
items: {
|
|
14746
|
+
total: number;
|
|
14747
|
+
tax_amount: number;
|
|
14748
|
+
date: string;
|
|
14749
|
+
}[];
|
|
14750
|
+
total: number;
|
|
14751
|
+
page: number;
|
|
14752
|
+
size: number;
|
|
14753
|
+
}>;
|
|
14080
14754
|
}>;
|
|
14081
14755
|
pms: import("../types/api").ApiFor<{
|
|
14082
14756
|
getLocations(rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
@@ -14133,7 +14807,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14133
14807
|
id?: string | null | undefined;
|
|
14134
14808
|
model?: string | null | undefined;
|
|
14135
14809
|
};
|
|
14136
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
14810
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
14137
14811
|
menu_id?: string | null | undefined;
|
|
14138
14812
|
quantity: number;
|
|
14139
14813
|
unit_price: number;
|
|
@@ -14225,6 +14899,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14225
14899
|
payments: {
|
|
14226
14900
|
payment_method_id?: string | null | undefined;
|
|
14227
14901
|
payment_method_name?: string | null | undefined;
|
|
14902
|
+
tip: number | null;
|
|
14228
14903
|
total: number;
|
|
14229
14904
|
}[] | null;
|
|
14230
14905
|
taxes: {
|
|
@@ -14257,6 +14932,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14257
14932
|
model?: string | null | undefined;
|
|
14258
14933
|
};
|
|
14259
14934
|
} | null | undefined;
|
|
14935
|
+
description?: string | null | undefined;
|
|
14260
14936
|
}[]>;
|
|
14261
14937
|
getAccountingCategories(params?: {} | undefined, rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
14262
14938
|
id: string;
|
|
@@ -14333,7 +15009,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14333
15009
|
id?: string | null | undefined;
|
|
14334
15010
|
model?: string | null | undefined;
|
|
14335
15011
|
};
|
|
14336
|
-
type?: "menu" | "product" | "general_discount" | null | undefined;
|
|
15012
|
+
type?: "menu" | "product" | "service" | "general_discount" | null | undefined;
|
|
14337
15013
|
menu_id?: string | null | undefined;
|
|
14338
15014
|
quantity: number;
|
|
14339
15015
|
unit_price: number;
|
|
@@ -14369,6 +15045,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14369
15045
|
model?: string | null | undefined;
|
|
14370
15046
|
};
|
|
14371
15047
|
} | null | undefined;
|
|
15048
|
+
description?: string | null | undefined;
|
|
14372
15049
|
}[];
|
|
14373
15050
|
service_id?: string | null | undefined;
|
|
14374
15051
|
reservation?: {
|
|
@@ -14434,7 +15111,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14434
15111
|
id?: string | null | undefined;
|
|
14435
15112
|
model?: string | null | undefined;
|
|
14436
15113
|
};
|
|
14437
|
-
|
|
15114
|
+
amount: number;
|
|
14438
15115
|
fee: number;
|
|
14439
15116
|
currency: string;
|
|
14440
15117
|
exchange_rate: number;
|
|
@@ -14947,7 +15624,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14947
15624
|
customer_memo?: string | null | undefined;
|
|
14948
15625
|
invoice_date: string;
|
|
14949
15626
|
due_date: string;
|
|
14950
|
-
partner_id
|
|
15627
|
+
partner_id?: string | null | undefined;
|
|
14951
15628
|
journal_id?: string | null | undefined;
|
|
14952
15629
|
status: "draft" | "posted" | null;
|
|
14953
15630
|
pdf?: string | null | undefined;
|
|
@@ -15059,6 +15736,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15059
15736
|
country?: string | null | undefined;
|
|
15060
15737
|
}[] | null;
|
|
15061
15738
|
} | null | undefined;
|
|
15739
|
+
due_dates: {
|
|
15740
|
+
due_date: string;
|
|
15741
|
+
payment_method?: string | null | undefined;
|
|
15742
|
+
amount: number;
|
|
15743
|
+
}[] | null;
|
|
15062
15744
|
lines: {
|
|
15063
15745
|
line_number: number | null;
|
|
15064
15746
|
unit_price: number;
|
|
@@ -15086,7 +15768,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15086
15768
|
customer_memo?: string | null | undefined;
|
|
15087
15769
|
invoice_date: string;
|
|
15088
15770
|
due_date: string;
|
|
15089
|
-
partner_id
|
|
15771
|
+
partner_id?: string | null | undefined;
|
|
15090
15772
|
journal_id?: string | null | undefined;
|
|
15091
15773
|
status: "draft" | "posted" | null;
|
|
15092
15774
|
pdf?: string | null | undefined;
|
|
@@ -15204,6 +15886,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15204
15886
|
country?: string | null | undefined;
|
|
15205
15887
|
}[] | null;
|
|
15206
15888
|
} | null | undefined;
|
|
15889
|
+
due_dates: {
|
|
15890
|
+
due_date: string;
|
|
15891
|
+
payment_method?: string | null | undefined;
|
|
15892
|
+
amount: number;
|
|
15893
|
+
}[] | null;
|
|
15207
15894
|
lines: {
|
|
15208
15895
|
line_number: number | null;
|
|
15209
15896
|
unit_price: number;
|
|
@@ -15303,6 +15990,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15303
15990
|
country?: string | null | undefined;
|
|
15304
15991
|
}[] | null;
|
|
15305
15992
|
} | null | undefined;
|
|
15993
|
+
due_dates: {
|
|
15994
|
+
due_date: string;
|
|
15995
|
+
payment_method?: string | null | undefined;
|
|
15996
|
+
amount: number;
|
|
15997
|
+
}[] | null;
|
|
15306
15998
|
lines: {
|
|
15307
15999
|
line_number: number | null;
|
|
15308
16000
|
unit_price: number;
|
|
@@ -15391,6 +16083,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15391
16083
|
country?: string | null | undefined;
|
|
15392
16084
|
}[] | null;
|
|
15393
16085
|
} | null | undefined;
|
|
16086
|
+
due_dates: {
|
|
16087
|
+
due_date: string;
|
|
16088
|
+
payment_method?: string | null | undefined;
|
|
16089
|
+
amount: number;
|
|
16090
|
+
}[] | null;
|
|
15394
16091
|
lines: {
|
|
15395
16092
|
line_number: number | null;
|
|
15396
16093
|
unit_price: number;
|
|
@@ -15479,6 +16176,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15479
16176
|
country?: string | null | undefined;
|
|
15480
16177
|
}[] | null;
|
|
15481
16178
|
} | null | undefined;
|
|
16179
|
+
due_dates: {
|
|
16180
|
+
due_date: string;
|
|
16181
|
+
payment_method?: string | null | undefined;
|
|
16182
|
+
amount: number;
|
|
16183
|
+
}[] | null;
|
|
15482
16184
|
lines: {
|
|
15483
16185
|
line_number: number | null;
|
|
15484
16186
|
unit_price: number;
|
|
@@ -15578,6 +16280,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15578
16280
|
country?: string | null | undefined;
|
|
15579
16281
|
}[] | null;
|
|
15580
16282
|
} | null | undefined;
|
|
16283
|
+
due_dates: {
|
|
16284
|
+
due_date: string;
|
|
16285
|
+
payment_method?: string | null | undefined;
|
|
16286
|
+
amount: number;
|
|
16287
|
+
}[] | null;
|
|
15581
16288
|
lines: {
|
|
15582
16289
|
line_number: number | null;
|
|
15583
16290
|
unit_price: number;
|
|
@@ -15736,6 +16443,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15736
16443
|
date: string | null;
|
|
15737
16444
|
posted: boolean | null;
|
|
15738
16445
|
id: string;
|
|
16446
|
+
due_dates: {
|
|
16447
|
+
due_date: string;
|
|
16448
|
+
payment_method?: string | null | undefined;
|
|
16449
|
+
debit: number | null;
|
|
16450
|
+
credit: number | null;
|
|
16451
|
+
}[] | null;
|
|
15739
16452
|
items: {
|
|
15740
16453
|
account_number: string;
|
|
15741
16454
|
partner_id?: string | null | undefined;
|
|
@@ -15769,6 +16482,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15769
16482
|
date: string | null;
|
|
15770
16483
|
posted: boolean | null;
|
|
15771
16484
|
id: string;
|
|
16485
|
+
due_dates: {
|
|
16486
|
+
due_date: string;
|
|
16487
|
+
payment_method?: string | null | undefined;
|
|
16488
|
+
debit: number | null;
|
|
16489
|
+
credit: number | null;
|
|
16490
|
+
}[] | null;
|
|
15772
16491
|
items: {
|
|
15773
16492
|
account_number: string;
|
|
15774
16493
|
partner_id?: string | null | undefined;
|
|
@@ -15816,6 +16535,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15816
16535
|
name: string;
|
|
15817
16536
|
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
15818
16537
|
counterpart_account?: string | null | undefined;
|
|
16538
|
+
unallocated_account?: string | null | undefined;
|
|
15819
16539
|
next_document_numbers: {
|
|
15820
16540
|
bookyear_name?: string | null | undefined;
|
|
15821
16541
|
next_document_number?: string | null | undefined;
|
|
@@ -15824,6 +16544,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15824
16544
|
}[] | null;
|
|
15825
16545
|
iban?: string | null | undefined;
|
|
15826
16546
|
currency?: string | null | undefined;
|
|
16547
|
+
other_currencies_allowed: boolean | null;
|
|
16548
|
+
blocked: boolean | null;
|
|
15827
16549
|
}[]>;
|
|
15828
16550
|
createJournal(journal: {
|
|
15829
16551
|
code: string;
|
|
@@ -15838,6 +16560,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15838
16560
|
name: string;
|
|
15839
16561
|
journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
|
|
15840
16562
|
counterpart_account?: string | null | undefined;
|
|
16563
|
+
unallocated_account?: string | null | undefined;
|
|
15841
16564
|
next_document_numbers: {
|
|
15842
16565
|
bookyear_name?: string | null | undefined;
|
|
15843
16566
|
next_document_number?: string | null | undefined;
|
|
@@ -15846,6 +16569,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15846
16569
|
}[] | null;
|
|
15847
16570
|
iban?: string | null | undefined;
|
|
15848
16571
|
currency?: string | null | undefined;
|
|
16572
|
+
other_currencies_allowed: boolean | null;
|
|
16573
|
+
blocked: boolean | null;
|
|
15849
16574
|
}>;
|
|
15850
16575
|
getVatCodes(params?: {
|
|
15851
16576
|
folder_id?: string | null | undefined;
|
|
@@ -15859,6 +16584,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15859
16584
|
deductible_account?: string | null | undefined;
|
|
15860
16585
|
payable_account?: string | null | undefined;
|
|
15861
16586
|
reversed: boolean | null;
|
|
16587
|
+
country?: string | null | undefined;
|
|
15862
16588
|
}[]>;
|
|
15863
16589
|
getMiscOperations(params?: {
|
|
15864
16590
|
date_from?: string | null | undefined;
|
|
@@ -15965,7 +16691,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15965
16691
|
number: string;
|
|
15966
16692
|
name: string;
|
|
15967
16693
|
active: boolean | null;
|
|
15968
|
-
type?: "vat" | "
|
|
16694
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
15969
16695
|
}[]>;
|
|
15970
16696
|
getBalanceOfAccounts(filter: {
|
|
15971
16697
|
accounts: string[];
|
|
@@ -16012,58 +16738,23 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16012
16738
|
currency: string;
|
|
16013
16739
|
currency_exchange_rate: number;
|
|
16014
16740
|
amount: number;
|
|
16015
|
-
open_amount: number;
|
|
16016
|
-
partner_id: string;
|
|
16017
|
-
account_number: string;
|
|
16018
|
-
reference?: string | null | undefined;
|
|
16019
|
-
matching_numbers: string[] | null;
|
|
16020
|
-
payment_communication?: string | null | undefined;
|
|
16021
|
-
posted: boolean;
|
|
16022
|
-
original_document?: {
|
|
16023
|
-
id?: string | null | undefined;
|
|
16024
|
-
number?: string | null | undefined;
|
|
16025
|
-
journal_id?: string | null | undefined;
|
|
16026
|
-
journal_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown" | null | undefined;
|
|
16027
|
-
date?: string | null | undefined;
|
|
16028
|
-
due_date?: string | null | undefined;
|
|
16029
|
-
reference?: string | null | undefined;
|
|
16030
|
-
} | null | undefined;
|
|
16031
|
-
}[]>;
|
|
16032
|
-
createFinancialEntryOld(financial_entry: {
|
|
16033
|
-
date: string;
|
|
16034
|
-
journal_id: string;
|
|
16035
|
-
currency: string;
|
|
16036
|
-
currency_exchange_rate: number | null;
|
|
16037
|
-
reference?: string | null | undefined;
|
|
16038
|
-
number?: string | null | undefined;
|
|
16039
|
-
items: {
|
|
16040
|
-
type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
16041
|
-
account_number: string;
|
|
16042
|
-
partner_id?: string | null | undefined;
|
|
16043
|
-
amount: number;
|
|
16044
|
-
description?: string | null | undefined;
|
|
16045
|
-
}[];
|
|
16046
|
-
pdf?: string | null | undefined;
|
|
16047
|
-
}, params?: {
|
|
16048
|
-
folder_id?: string | null | undefined;
|
|
16049
|
-
financial_counterpart_account?: string | null | undefined;
|
|
16050
|
-
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16051
|
-
date: string;
|
|
16052
|
-
journal_id: string;
|
|
16053
|
-
currency: string;
|
|
16054
|
-
currency_exchange_rate: number | null;
|
|
16055
|
-
reference?: string | null | undefined;
|
|
16056
|
-
id: string;
|
|
16057
|
-
number: string;
|
|
16058
|
-
items: {
|
|
16059
|
-
type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
16060
|
-
account_number: string;
|
|
16061
|
-
partner_id?: string | null | undefined;
|
|
16062
|
-
amount: number;
|
|
16063
|
-
description?: string | null | undefined;
|
|
16064
|
-
counterpart_account: string;
|
|
16065
|
-
}[];
|
|
16066
|
-
}>;
|
|
16741
|
+
open_amount: number;
|
|
16742
|
+
partner_id: string;
|
|
16743
|
+
account_number: string;
|
|
16744
|
+
reference?: string | null | undefined;
|
|
16745
|
+
matching_numbers: string[] | null;
|
|
16746
|
+
payment_communication?: string | null | undefined;
|
|
16747
|
+
posted: boolean;
|
|
16748
|
+
original_document?: {
|
|
16749
|
+
id?: string | null | undefined;
|
|
16750
|
+
number?: string | null | undefined;
|
|
16751
|
+
journal_id?: string | null | undefined;
|
|
16752
|
+
journal_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown" | null | undefined;
|
|
16753
|
+
date?: string | null | undefined;
|
|
16754
|
+
due_date?: string | null | undefined;
|
|
16755
|
+
reference?: string | null | undefined;
|
|
16756
|
+
} | null | undefined;
|
|
16757
|
+
}[]>;
|
|
16067
16758
|
createFinancialEntry(financial_entry: {
|
|
16068
16759
|
date: string;
|
|
16069
16760
|
journal_id: string;
|
|
@@ -16097,59 +16788,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16097
16788
|
counterpart_account: string;
|
|
16098
16789
|
}[];
|
|
16099
16790
|
}>;
|
|
16100
|
-
createJournalEntryOld(journal_entry: {
|
|
16101
|
-
reference?: string | null | undefined;
|
|
16102
|
-
due_date?: string | null | undefined;
|
|
16103
|
-
journal_id: string;
|
|
16104
|
-
name: string;
|
|
16105
|
-
date: string;
|
|
16106
|
-
items: {
|
|
16107
|
-
account_number: string;
|
|
16108
|
-
partner_id?: string | null | undefined;
|
|
16109
|
-
description?: string | null | undefined;
|
|
16110
|
-
debit: number;
|
|
16111
|
-
credit: number;
|
|
16112
|
-
currency: string;
|
|
16113
|
-
currency_exchange_rate: number | null;
|
|
16114
|
-
analytic_distribution: {
|
|
16115
|
-
analytic_plan: string;
|
|
16116
|
-
analytic_accounts: {
|
|
16117
|
-
analytic_account: string;
|
|
16118
|
-
percentage: number;
|
|
16119
|
-
}[];
|
|
16120
|
-
}[] | null;
|
|
16121
|
-
}[];
|
|
16122
|
-
pdf?: string | null | undefined;
|
|
16123
|
-
}, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16124
|
-
reference?: string | null | undefined;
|
|
16125
|
-
due_date?: string | null | undefined;
|
|
16126
|
-
journal_id: string;
|
|
16127
|
-
name?: string | null | undefined;
|
|
16128
|
-
journal_name?: string | null | undefined;
|
|
16129
|
-
date: string | null;
|
|
16130
|
-
posted: boolean | null;
|
|
16131
|
-
id: string;
|
|
16132
|
-
items: {
|
|
16133
|
-
account_number: string;
|
|
16134
|
-
partner_id?: string | null | undefined;
|
|
16135
|
-
description?: string | null | undefined;
|
|
16136
|
-
debit: number;
|
|
16137
|
-
credit: number;
|
|
16138
|
-
currency: string;
|
|
16139
|
-
currency_exchange_rate: number | null;
|
|
16140
|
-
id: string;
|
|
16141
|
-
partner_name?: string | null | undefined;
|
|
16142
|
-
account_name: string;
|
|
16143
|
-
matching_numbers: string[] | null;
|
|
16144
|
-
analytic_distribution: {
|
|
16145
|
-
analytic_plan: string;
|
|
16146
|
-
analytic_accounts: {
|
|
16147
|
-
analytic_account: string;
|
|
16148
|
-
percentage: number;
|
|
16149
|
-
}[];
|
|
16150
|
-
}[] | null;
|
|
16151
|
-
}[] | null;
|
|
16152
|
-
}>;
|
|
16153
16791
|
createJournalEntry(journal_entry: {
|
|
16154
16792
|
reference?: string | null | undefined;
|
|
16155
16793
|
due_date?: string | null | undefined;
|
|
@@ -16160,7 +16798,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16160
16798
|
date: string;
|
|
16161
16799
|
items: {
|
|
16162
16800
|
account_type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
16163
|
-
account
|
|
16801
|
+
account?: string | null | undefined;
|
|
16164
16802
|
force_general_account?: string | null | undefined;
|
|
16165
16803
|
prioritise_thirdparty_account: boolean | null;
|
|
16166
16804
|
description?: string | null | undefined;
|
|
@@ -16174,7 +16812,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16174
16812
|
}[];
|
|
16175
16813
|
}[] | null;
|
|
16176
16814
|
tax_code?: string | null | undefined;
|
|
16177
|
-
country?: string | null | undefined;
|
|
16178
16815
|
account_info?: {
|
|
16179
16816
|
account_number: string;
|
|
16180
16817
|
account_name: string;
|
|
@@ -16196,6 +16833,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16196
16833
|
date: string | null;
|
|
16197
16834
|
posted: boolean | null;
|
|
16198
16835
|
id: string;
|
|
16836
|
+
due_dates: {
|
|
16837
|
+
due_date: string;
|
|
16838
|
+
payment_method?: string | null | undefined;
|
|
16839
|
+
debit: number | null;
|
|
16840
|
+
credit: number | null;
|
|
16841
|
+
}[] | null;
|
|
16199
16842
|
items: {
|
|
16200
16843
|
account_number: string;
|
|
16201
16844
|
partner_id?: string | null | undefined;
|
|
@@ -16240,12 +16883,65 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16240
16883
|
[key: string]: unknown;
|
|
16241
16884
|
} | null | undefined;
|
|
16242
16885
|
}[]>;
|
|
16886
|
+
createExpense(expense: {
|
|
16887
|
+
employee_id: string;
|
|
16888
|
+
total: number;
|
|
16889
|
+
untaxed_amount: number;
|
|
16890
|
+
tax_amount: number;
|
|
16891
|
+
reference?: string | null | undefined;
|
|
16892
|
+
number?: string | null | undefined;
|
|
16893
|
+
currency: string;
|
|
16894
|
+
currency_exchange_rate: number | null;
|
|
16895
|
+
date: string;
|
|
16896
|
+
pdf?: string | null | undefined;
|
|
16897
|
+
lines: {
|
|
16898
|
+
total: number;
|
|
16899
|
+
untaxed_amount: number;
|
|
16900
|
+
tax_amount: number;
|
|
16901
|
+
description?: string | null | undefined;
|
|
16902
|
+
account_number: string;
|
|
16903
|
+
tax_rate: number;
|
|
16904
|
+
tax_id: string;
|
|
16905
|
+
}[];
|
|
16906
|
+
}, params?: {
|
|
16907
|
+
folder_id?: string | null | undefined;
|
|
16908
|
+
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16909
|
+
employee_id: string;
|
|
16910
|
+
total: number;
|
|
16911
|
+
untaxed_amount: number;
|
|
16912
|
+
tax_amount: number;
|
|
16913
|
+
reference?: string | null | undefined;
|
|
16914
|
+
number?: string | null | undefined;
|
|
16915
|
+
currency: string;
|
|
16916
|
+
currency_exchange_rate: number | null;
|
|
16917
|
+
date: string;
|
|
16918
|
+
pdf?: string | null | undefined;
|
|
16919
|
+
lines: {
|
|
16920
|
+
total: number;
|
|
16921
|
+
untaxed_amount: number;
|
|
16922
|
+
tax_amount: number;
|
|
16923
|
+
description?: string | null | undefined;
|
|
16924
|
+
account_number: string;
|
|
16925
|
+
tax_rate: number;
|
|
16926
|
+
tax_id: string;
|
|
16927
|
+
}[];
|
|
16928
|
+
id: string;
|
|
16929
|
+
}>;
|
|
16243
16930
|
getFolders(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
16244
16931
|
id: string;
|
|
16245
16932
|
name: string;
|
|
16246
16933
|
selected: boolean | null;
|
|
16247
16934
|
vat?: string | null | undefined;
|
|
16248
16935
|
company_number?: string | null | undefined;
|
|
16936
|
+
main_currency?: string | null | undefined;
|
|
16937
|
+
addresses?: {
|
|
16938
|
+
street?: string | null | undefined;
|
|
16939
|
+
number?: string | null | undefined;
|
|
16940
|
+
box?: string | null | undefined;
|
|
16941
|
+
postal_code?: string | null | undefined;
|
|
16942
|
+
city?: string | null | undefined;
|
|
16943
|
+
country?: string | null | undefined;
|
|
16944
|
+
}[] | null | undefined;
|
|
16249
16945
|
}[]>;
|
|
16250
16946
|
getBookyears(params?: {
|
|
16251
16947
|
folder_id?: string | null | undefined;
|
|
@@ -16258,13 +16954,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16258
16954
|
createLedgerAccount(account: {
|
|
16259
16955
|
name: string;
|
|
16260
16956
|
number: string;
|
|
16957
|
+
type: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null;
|
|
16261
16958
|
}, params?: {
|
|
16262
16959
|
folder_id?: string | null | undefined;
|
|
16263
16960
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16264
16961
|
number: string;
|
|
16265
16962
|
name: string;
|
|
16266
16963
|
active: boolean | null;
|
|
16267
|
-
type?: "vat" | "
|
|
16964
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
16268
16965
|
}>;
|
|
16269
16966
|
createBankAccount(bankAccount: {
|
|
16270
16967
|
code: string;
|
|
@@ -16285,6 +16982,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16285
16982
|
bank_name?: string | null | undefined;
|
|
16286
16983
|
journal_id?: string | null | undefined;
|
|
16287
16984
|
ledger_account?: string | null | undefined;
|
|
16985
|
+
unallocated_account?: string | null | undefined;
|
|
16288
16986
|
}>;
|
|
16289
16987
|
getJournalEntry(journalEntryId: string, params?: {
|
|
16290
16988
|
folder_id?: string | null | undefined;
|
|
@@ -16297,6 +16995,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16297
16995
|
date: string | null;
|
|
16298
16996
|
posted: boolean | null;
|
|
16299
16997
|
id: string;
|
|
16998
|
+
due_dates: {
|
|
16999
|
+
due_date: string;
|
|
17000
|
+
payment_method?: string | null | undefined;
|
|
17001
|
+
debit: number | null;
|
|
17002
|
+
credit: number | null;
|
|
17003
|
+
}[] | null;
|
|
16300
17004
|
items: {
|
|
16301
17005
|
account_number: string;
|
|
16302
17006
|
partner_id?: string | null | undefined;
|
|
@@ -16318,6 +17022,38 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16318
17022
|
}[] | null;
|
|
16319
17023
|
}[] | null;
|
|
16320
17024
|
}>;
|
|
17025
|
+
getPaymentMethods(params?: {
|
|
17026
|
+
page?: number | undefined;
|
|
17027
|
+
size?: number | undefined;
|
|
17028
|
+
folder_id?: string | null | undefined;
|
|
17029
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
17030
|
+
items: {
|
|
17031
|
+
id: string;
|
|
17032
|
+
name?: string | null | undefined;
|
|
17033
|
+
}[];
|
|
17034
|
+
total: number;
|
|
17035
|
+
page: number;
|
|
17036
|
+
size: number;
|
|
17037
|
+
}>;
|
|
17038
|
+
createInvoicePayment(body: {
|
|
17039
|
+
date: string;
|
|
17040
|
+
payment_method_id: string;
|
|
17041
|
+
currency: string;
|
|
17042
|
+
currency_exchange_rate: number | null;
|
|
17043
|
+
reference?: string | null | undefined;
|
|
17044
|
+
number?: string | null | undefined;
|
|
17045
|
+
items: {
|
|
17046
|
+
invoice_id: string;
|
|
17047
|
+
amount: number;
|
|
17048
|
+
}[];
|
|
17049
|
+
}, params?: {
|
|
17050
|
+
folder_id?: string | null | undefined;
|
|
17051
|
+
} | undefined): import("../types/api").RequestData<{
|
|
17052
|
+
headers: {
|
|
17053
|
+
[name: string]: unknown;
|
|
17054
|
+
};
|
|
17055
|
+
content?: undefined;
|
|
17056
|
+
}>;
|
|
16321
17057
|
}>;
|
|
16322
17058
|
invoicing: import("../types/api").ApiFor<{
|
|
16323
17059
|
getInvoices(params?: {
|
|
@@ -16388,6 +17124,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16388
17124
|
} | null | undefined;
|
|
16389
17125
|
last_updated_on?: string | null | undefined;
|
|
16390
17126
|
outstanding_amount?: number | null | undefined;
|
|
17127
|
+
last_payment_date?: string | null | undefined;
|
|
16391
17128
|
accounting_date?: string | null | undefined;
|
|
16392
17129
|
payment_method_id?: string | null | undefined;
|
|
16393
17130
|
currency_exchange_rate: number | null;
|
|
@@ -16455,6 +17192,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16455
17192
|
} | null | undefined;
|
|
16456
17193
|
last_updated_on?: string | null | undefined;
|
|
16457
17194
|
outstanding_amount?: number | null | undefined;
|
|
17195
|
+
last_payment_date?: string | null | undefined;
|
|
16458
17196
|
accounting_date?: string | null | undefined;
|
|
16459
17197
|
payment_method_id?: string | null | undefined;
|
|
16460
17198
|
currency_exchange_rate: number | null;
|
|
@@ -16575,6 +17313,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16575
17313
|
} | null | undefined;
|
|
16576
17314
|
last_updated_on?: string | null | undefined;
|
|
16577
17315
|
outstanding_amount?: number | null | undefined;
|
|
17316
|
+
last_payment_date?: string | null | undefined;
|
|
16578
17317
|
accounting_date?: string | null | undefined;
|
|
16579
17318
|
payment_method_id?: string | null | undefined;
|
|
16580
17319
|
currency_exchange_rate: number | null;
|
|
@@ -16902,6 +17641,125 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16902
17641
|
};
|
|
16903
17642
|
name: string;
|
|
16904
17643
|
}[]>;
|
|
17644
|
+
getBankAccounts(params?: {} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
17645
|
+
items: {
|
|
17646
|
+
id: string;
|
|
17647
|
+
source_ref: {
|
|
17648
|
+
id?: string | null | undefined;
|
|
17649
|
+
model?: string | null | undefined;
|
|
17650
|
+
};
|
|
17651
|
+
name: string;
|
|
17652
|
+
iban?: string | null | undefined;
|
|
17653
|
+
currency?: string | null | undefined;
|
|
17654
|
+
balance?: number | null | undefined;
|
|
17655
|
+
}[];
|
|
17656
|
+
total: number;
|
|
17657
|
+
page: number;
|
|
17658
|
+
size: number;
|
|
17659
|
+
}>;
|
|
17660
|
+
getBankTransactions(params: {
|
|
17661
|
+
date_from?: string | null | undefined;
|
|
17662
|
+
date_to?: string | null | undefined;
|
|
17663
|
+
bank_account_id: string;
|
|
17664
|
+
status?: "draft" | "done" | null | undefined;
|
|
17665
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
17666
|
+
items: {
|
|
17667
|
+
id: string;
|
|
17668
|
+
source_ref: {
|
|
17669
|
+
id?: string | null | undefined;
|
|
17670
|
+
model?: string | null | undefined;
|
|
17671
|
+
};
|
|
17672
|
+
status: "draft" | "done";
|
|
17673
|
+
bank_account_id: string;
|
|
17674
|
+
amount: number;
|
|
17675
|
+
date: string;
|
|
17676
|
+
description?: string | null | undefined;
|
|
17677
|
+
currency: string;
|
|
17678
|
+
currency_exchange_rate: number | null;
|
|
17679
|
+
accounting_code?: string | null | undefined;
|
|
17680
|
+
linked_documents: {
|
|
17681
|
+
id: string;
|
|
17682
|
+
source_ref: {
|
|
17683
|
+
id?: string | null | undefined;
|
|
17684
|
+
model?: string | null | undefined;
|
|
17685
|
+
};
|
|
17686
|
+
amount: number;
|
|
17687
|
+
type: "invoice" | "other";
|
|
17688
|
+
}[] | null;
|
|
17689
|
+
}[];
|
|
17690
|
+
total: number;
|
|
17691
|
+
page: number;
|
|
17692
|
+
size: number;
|
|
17693
|
+
}>;
|
|
17694
|
+
uploadDocument(document: {
|
|
17695
|
+
base64_string: string;
|
|
17696
|
+
document_type: "customer_document" | "supplier_document" | "employee_expense";
|
|
17697
|
+
}, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
17698
|
+
id: string;
|
|
17699
|
+
source_ref: {
|
|
17700
|
+
id?: string | null | undefined;
|
|
17701
|
+
model?: string | null | undefined;
|
|
17702
|
+
};
|
|
17703
|
+
currency?: string | null | undefined;
|
|
17704
|
+
invoice_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all" | null | undefined;
|
|
17705
|
+
status?: "draft" | "posted" | "cancelled" | "paid" | null | undefined;
|
|
17706
|
+
invoice_date?: string | null | undefined;
|
|
17707
|
+
tax_amount?: number | null | undefined;
|
|
17708
|
+
untaxed_amount?: number | null | undefined;
|
|
17709
|
+
total?: number | null | undefined;
|
|
17710
|
+
lines: {
|
|
17711
|
+
description?: string | null | undefined;
|
|
17712
|
+
unit_price: number;
|
|
17713
|
+
quantity: number;
|
|
17714
|
+
discount_amount: number;
|
|
17715
|
+
tax_amount: number;
|
|
17716
|
+
untaxed_amount: number;
|
|
17717
|
+
total: number;
|
|
17718
|
+
tax_rate?: number | null | undefined;
|
|
17719
|
+
account_number?: string | null | undefined;
|
|
17720
|
+
tax_id?: string | null | undefined;
|
|
17721
|
+
tax_exemption_reason?: string | null | undefined;
|
|
17722
|
+
unit_of_measure?: string | null | undefined;
|
|
17723
|
+
product_id?: string | null | undefined;
|
|
17724
|
+
product_code?: string | null | undefined;
|
|
17725
|
+
product_name?: string | null | undefined;
|
|
17726
|
+
}[] | null;
|
|
17727
|
+
partner_id?: string | null | undefined;
|
|
17728
|
+
invoice_number?: string | null | undefined;
|
|
17729
|
+
due_date?: string | null | undefined;
|
|
17730
|
+
reference?: string | null | undefined;
|
|
17731
|
+
payment_communication?: string | null | undefined;
|
|
17732
|
+
customer_memo?: string | null | undefined;
|
|
17733
|
+
journal_ref?: {
|
|
17734
|
+
id?: string | null | undefined;
|
|
17735
|
+
model?: string | null | undefined;
|
|
17736
|
+
name?: string | null | undefined;
|
|
17737
|
+
} | null | undefined;
|
|
17738
|
+
italian_specificities?: {
|
|
17739
|
+
stamp_duty_amount?: number | null | undefined;
|
|
17740
|
+
withholding_tax?: {
|
|
17741
|
+
rate: number;
|
|
17742
|
+
amount: number;
|
|
17743
|
+
reason?: "RT01" | "RT02" | "RT03" | "RT04" | "RT05" | "RT06" | null | undefined;
|
|
17744
|
+
payment_reason?: "A" | "U" | "R" | "Q" | "H" | "V" | "V2" | "I" | "J" | "K" | "P" | "S" | "T" | "W" | "X" | "Y" | "B" | "C" | "D" | "E" | "F" | "G" | "L" | "L1" | "M" | "M1" | "M2" | "IN" | "O" | "O1" | "V1" | null | undefined;
|
|
17745
|
+
} | null | undefined;
|
|
17746
|
+
welfare_fund?: {
|
|
17747
|
+
rate: number;
|
|
17748
|
+
amount: number;
|
|
17749
|
+
type?: "TC01" | "TC02" | "TC03" | "TC04" | "TC05" | "TC06" | "TC07" | "TC08" | "TC09" | "TC10" | "TC11" | "TC12" | "TC13" | "TC14" | "TC15" | "TC16" | "TC17" | "TC18" | "TC19" | "TC20" | "TC21" | "TC22" | null | undefined;
|
|
17750
|
+
} | null | undefined;
|
|
17751
|
+
payment_reporting?: {
|
|
17752
|
+
method?: "MP01" | "MP02" | "MP03" | "MP04" | "MP05" | "MP06" | "MP07" | "MP08" | "MP09" | "MP10" | "MP11" | "MP12" | "MP13" | "MP14" | "MP15" | "MP16" | "MP17" | "MP18" | "MP19" | "MP20" | "MP21" | "MP22" | "MP23" | null | undefined;
|
|
17753
|
+
conditions?: "TP01" | "TP02" | "TP03" | null | undefined;
|
|
17754
|
+
} | null | undefined;
|
|
17755
|
+
} | null | undefined;
|
|
17756
|
+
last_updated_on?: string | null | undefined;
|
|
17757
|
+
outstanding_amount?: number | null | undefined;
|
|
17758
|
+
last_payment_date?: string | null | undefined;
|
|
17759
|
+
accounting_date?: string | null | undefined;
|
|
17760
|
+
payment_method_id?: string | null | undefined;
|
|
17761
|
+
currency_exchange_rate: number | null;
|
|
17762
|
+
}>;
|
|
16905
17763
|
}>;
|
|
16906
17764
|
ecommerce: import("../types/api").ApiFor<{
|
|
16907
17765
|
getCustomers(params?: {} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
@@ -16933,7 +17791,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16933
17791
|
}[] | null;
|
|
16934
17792
|
created_on?: string | null | undefined;
|
|
16935
17793
|
}[]>;
|
|
16936
|
-
getProducts(params?: {
|
|
17794
|
+
getProducts(params?: {
|
|
17795
|
+
updated_after?: string | null | undefined;
|
|
17796
|
+
sku?: string | null | undefined;
|
|
17797
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
16937
17798
|
id: string;
|
|
16938
17799
|
source_ref: {
|
|
16939
17800
|
id?: string | null | undefined;
|
|
@@ -16947,6 +17808,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16947
17808
|
name: string;
|
|
16948
17809
|
}[] | null;
|
|
16949
17810
|
created_on?: string | null | undefined;
|
|
17811
|
+
last_updated_on?: string | null | undefined;
|
|
16950
17812
|
variants: {
|
|
16951
17813
|
id: string;
|
|
16952
17814
|
source_ref: {
|
|
@@ -16988,6 +17850,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16988
17850
|
}[] | null;
|
|
16989
17851
|
}[] | null;
|
|
16990
17852
|
status?: "unknown" | "archived" | "unpublished" | "published" | null | undefined;
|
|
17853
|
+
sku?: string | null | undefined;
|
|
16991
17854
|
common_attributes: {
|
|
16992
17855
|
name: string;
|
|
16993
17856
|
values: string[];
|
|
@@ -17045,6 +17908,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17045
17908
|
name: string;
|
|
17046
17909
|
}[] | null;
|
|
17047
17910
|
created_on?: string | null | undefined;
|
|
17911
|
+
last_updated_on?: string | null | undefined;
|
|
17048
17912
|
variants: {
|
|
17049
17913
|
id: string;
|
|
17050
17914
|
source_ref: {
|
|
@@ -17086,6 +17950,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17086
17950
|
}[] | null;
|
|
17087
17951
|
}[] | null;
|
|
17088
17952
|
status?: "unknown" | "archived" | "unpublished" | "published" | null | undefined;
|
|
17953
|
+
sku?: string | null | undefined;
|
|
17089
17954
|
common_attributes: {
|
|
17090
17955
|
name: string;
|
|
17091
17956
|
values: string[];
|
|
@@ -17275,6 +18140,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17275
18140
|
amount: number;
|
|
17276
18141
|
}[] | null;
|
|
17277
18142
|
gift_card: boolean | null;
|
|
18143
|
+
is_gift: boolean | null;
|
|
17278
18144
|
}[];
|
|
17279
18145
|
other_fees: {
|
|
17280
18146
|
id: string;
|
|
@@ -17552,6 +18418,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17552
18418
|
amount: number;
|
|
17553
18419
|
}[] | null;
|
|
17554
18420
|
gift_card: boolean | null;
|
|
18421
|
+
is_gift: boolean | null;
|
|
17555
18422
|
}[];
|
|
17556
18423
|
other_fees: {
|
|
17557
18424
|
id: string;
|
|
@@ -17790,6 +18657,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17790
18657
|
amount: number;
|
|
17791
18658
|
}[] | null;
|
|
17792
18659
|
gift_card: boolean | null;
|
|
18660
|
+
is_gift: boolean | null;
|
|
17793
18661
|
}[];
|
|
17794
18662
|
other_fees: {
|
|
17795
18663
|
id: string;
|
|
@@ -18048,6 +18916,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
18048
18916
|
description?: string | null | undefined;
|
|
18049
18917
|
display_order: number;
|
|
18050
18918
|
challenge_question?: string | null | undefined;
|
|
18919
|
+
conditions?: {
|
|
18920
|
+
[key: string]: {
|
|
18921
|
+
[key: string]: unknown;
|
|
18922
|
+
};
|
|
18923
|
+
} | null | undefined;
|
|
18051
18924
|
values: {
|
|
18052
18925
|
source_id?: string | null | undefined;
|
|
18053
18926
|
target_id?: string | null | undefined;
|
|
@@ -18058,6 +18931,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
18058
18931
|
link_metadata?: {
|
|
18059
18932
|
[key: string]: unknown;
|
|
18060
18933
|
} | null | undefined;
|
|
18934
|
+
link_presync?: {
|
|
18935
|
+
[key: string]: unknown;
|
|
18936
|
+
} | null | undefined;
|
|
18061
18937
|
enabled_flows?: {
|
|
18062
18938
|
name: string;
|
|
18063
18939
|
description?: string | null | undefined;
|