@chift/chift-nodejs 1.0.7 → 1.0.8

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.
@@ -379,12 +379,20 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
379
379
  }[]>;
380
380
  }>;
381
381
  accounting: import("../types/api").ApiFor<{
382
- getAnalyticPlans(): import("../types/api").RequestData<{
382
+ getAnalyticPlans(params: {
383
+ folder_id?: string | undefined;
384
+ page?: number | undefined;
385
+ size?: number | undefined;
386
+ } | undefined): import("../types/api").RequestData<{
383
387
  id: string;
384
388
  name: string;
385
389
  active?: boolean | undefined;
386
390
  }[]>;
387
- getClients(): import("../types/api").RequestData<{
391
+ getClients(params: {
392
+ folder_id?: string | undefined;
393
+ page?: number | undefined;
394
+ size?: number | undefined;
395
+ } | undefined): import("../types/api").RequestData<{
388
396
  external_reference?: string | undefined;
389
397
  first_name?: string | undefined;
390
398
  last_name?: string | undefined;
@@ -492,7 +500,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
492
500
  company_number?: string | undefined;
493
501
  id?: string | undefined;
494
502
  }>;
495
- getClient(clientId: string): import("../types/api").RequestData<{
503
+ getClient(clientId: string, params: {
504
+ folder_id?: string | undefined;
505
+ } | undefined): import("../types/api").RequestData<{
496
506
  external_reference?: string | undefined;
497
507
  first_name?: string | undefined;
498
508
  last_name?: string | undefined;
@@ -560,7 +570,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
560
570
  postal_code?: string | undefined;
561
571
  country?: string | undefined;
562
572
  }[] | undefined;
563
- }): import("../types/api").RequestData<{
573
+ }, params: {
574
+ folder_id?: string | undefined;
575
+ } | undefined): import("../types/api").RequestData<{
564
576
  external_reference?: string | undefined;
565
577
  first_name?: string | undefined;
566
578
  last_name?: string | undefined;
@@ -596,7 +608,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
596
608
  company_number?: string | undefined;
597
609
  id?: string | undefined;
598
610
  }>;
599
- getSuppliers(): import("../types/api").RequestData<{
611
+ getSuppliers(params: {
612
+ folder_id?: string | undefined;
613
+ page?: number | undefined;
614
+ size?: number | undefined;
615
+ } | undefined): import("../types/api").RequestData<{
600
616
  external_reference?: string | undefined;
601
617
  first_name?: string | undefined;
602
618
  last_name?: string | undefined;
@@ -704,7 +720,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
704
720
  company_number?: string | undefined;
705
721
  id?: string | undefined;
706
722
  }>;
707
- getSupplier(supplierId: string): import("../types/api").RequestData<{
723
+ getSupplier(supplierId: string, params: {
724
+ folder_id?: string | undefined;
725
+ } | undefined): import("../types/api").RequestData<{
708
726
  external_reference?: string | undefined;
709
727
  first_name?: string | undefined;
710
728
  last_name?: string | undefined;
@@ -772,7 +790,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
772
790
  postal_code?: string | undefined;
773
791
  country?: string | undefined;
774
792
  }[] | undefined;
775
- }): import("../types/api").RequestData<{
793
+ }, params: {
794
+ folder_id?: string | undefined;
795
+ } | undefined): import("../types/api").RequestData<{
776
796
  external_reference?: string | undefined;
777
797
  first_name?: string | undefined;
778
798
  last_name?: string | undefined;
@@ -1215,7 +1235,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1215
1235
  code: string;
1216
1236
  name: string;
1217
1237
  currency: string;
1218
- }): import("../types/api").RequestData<{
1238
+ }, params: {
1239
+ folder_id?: string | undefined;
1240
+ } | undefined): import("../types/api").RequestData<{
1219
1241
  id: string;
1220
1242
  active: boolean;
1221
1243
  code?: string | undefined;
@@ -1225,7 +1247,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1225
1247
  credit?: number | undefined;
1226
1248
  debit?: number | undefined;
1227
1249
  }>;
1228
- getAnalyticAccounts(): import("../types/api").RequestData<{
1250
+ getAnalyticAccounts(params: {
1251
+ folder_id?: string | undefined;
1252
+ page?: number | undefined;
1253
+ size?: number | undefined;
1254
+ } | undefined): import("../types/api").RequestData<{
1229
1255
  id: string;
1230
1256
  active: boolean;
1231
1257
  code?: string | undefined;
@@ -1240,7 +1266,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1240
1266
  code: string;
1241
1267
  name: string;
1242
1268
  currency: string;
1243
- }): import("../types/api").RequestData<{
1269
+ }, params: {
1270
+ folder_id?: string | undefined;
1271
+ } | undefined): import("../types/api").RequestData<{
1244
1272
  id: string;
1245
1273
  active: boolean;
1246
1274
  code?: string | undefined;
@@ -1251,7 +1279,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1251
1279
  debit?: number | undefined;
1252
1280
  analytic_plan: string;
1253
1281
  }>;
1254
- getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
1282
+ getAnalyticAccount(analytic_account_id: string, params: {
1283
+ folder_id?: string | undefined;
1284
+ } | undefined): import("../types/api").RequestData<{
1255
1285
  id: string;
1256
1286
  active: boolean;
1257
1287
  code?: string | undefined;
@@ -1266,7 +1296,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1266
1296
  code?: string | undefined;
1267
1297
  name?: string | undefined;
1268
1298
  currency?: string | undefined;
1269
- }): import("../types/api").RequestData<{
1299
+ }, params: {
1300
+ folder_id?: string | undefined;
1301
+ } | undefined): import("../types/api").RequestData<{
1270
1302
  id: string;
1271
1303
  active: boolean;
1272
1304
  code?: string | undefined;
@@ -1276,7 +1308,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1276
1308
  credit?: number | undefined;
1277
1309
  debit?: number | undefined;
1278
1310
  }>;
1279
- getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
1311
+ getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string, params: {
1312
+ folder_id?: string | undefined;
1313
+ } | undefined): import("../types/api").RequestData<{
1280
1314
  id: string;
1281
1315
  active: boolean;
1282
1316
  code?: string | undefined;
@@ -1292,7 +1326,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1292
1326
  code?: string | undefined;
1293
1327
  name?: string | undefined;
1294
1328
  currency?: string | undefined;
1295
- }): import("../types/api").RequestData<{
1329
+ }, params: {
1330
+ folder_id?: string | undefined;
1331
+ } | undefined): import("../types/api").RequestData<{
1296
1332
  id: string;
1297
1333
  active: boolean;
1298
1334
  code?: string | undefined;
@@ -1303,7 +1339,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1303
1339
  debit?: number | undefined;
1304
1340
  analytic_plan: string;
1305
1341
  }>;
1306
- getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
1342
+ getAnalyticAccountsWithMultiplePlans(params: {
1343
+ folder_id?: string | undefined;
1344
+ page?: number | undefined;
1345
+ size?: number | undefined;
1346
+ } | undefined): import("../types/api").RequestData<{
1307
1347
  id: string;
1308
1348
  active: boolean;
1309
1349
  code?: string | undefined;
@@ -1383,7 +1423,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1383
1423
  }[] | undefined;
1384
1424
  }[] | undefined;
1385
1425
  }[]>;
1386
- getPaymentsByInvoiceId(invoice_id: string): import("../types/api").RequestData<{
1426
+ getPaymentsByInvoiceId(invoice_id: string, params: {
1427
+ folder_id?: string | undefined;
1428
+ page?: number | undefined;
1429
+ size?: number | undefined;
1430
+ } | undefined): import("../types/api").RequestData<{
1387
1431
  id: string;
1388
1432
  name: string;
1389
1433
  currency: string;
@@ -1397,13 +1441,21 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1397
1441
  communication?: string | undefined;
1398
1442
  matching_number?: string | undefined;
1399
1443
  }[]>;
1400
- getJournals(): import("../types/api").RequestData<{
1444
+ getJournals(params: {
1445
+ folder_id?: string | undefined;
1446
+ page?: number | undefined;
1447
+ size?: number | undefined;
1448
+ } | undefined): import("../types/api").RequestData<{
1401
1449
  id: string;
1402
1450
  code?: string | undefined;
1403
1451
  name: string;
1404
1452
  journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
1405
1453
  }[]>;
1406
- getVatCodes(): import("../types/api").RequestData<{
1454
+ getVatCodes(params: {
1455
+ folder_id?: string | undefined;
1456
+ page?: number | undefined;
1457
+ size?: number | undefined;
1458
+ } | undefined): import("../types/api").RequestData<{
1407
1459
  id: string;
1408
1460
  code?: string | undefined;
1409
1461
  label: string;
@@ -1497,6 +1549,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1497
1549
  'application/json': unknown;
1498
1550
  };
1499
1551
  }>;
1552
+ getAttachments(params: {
1553
+ type: "invoice" | "entry";
1554
+ document_id: string;
1555
+ folder_id?: string | undefined;
1556
+ page?: number | undefined;
1557
+ size?: number | undefined;
1558
+ }): import("../types/api").RequestData<{
1559
+ base64_string: string;
1560
+ }[]>;
1500
1561
  getChartOfAccounts(params: {}): import("../types/api").RequestData<{
1501
1562
  number: string;
1502
1563
  name: string;
@@ -1735,6 +1796,20 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1735
1796
  }[] | undefined;
1736
1797
  }[] | undefined;
1737
1798
  }>;
1799
+ matchEntries(body: {
1800
+ entries: string[];
1801
+ partner_id: string;
1802
+ }, params: {
1803
+ folder_id?: string | undefined;
1804
+ } | undefined): import("../types/api").RequestData<{
1805
+ matching_number: string;
1806
+ balance: number;
1807
+ }>;
1808
+ getFolders(): import("../types/api").RequestData<{
1809
+ id: string;
1810
+ name: string;
1811
+ selected?: boolean | undefined;
1812
+ }[]>;
1738
1813
  }>;
1739
1814
  invoicing: import("../types/api").ApiFor<{
1740
1815
  getInvoices(params: {
@@ -3426,12 +3501,20 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3426
3501
  }[]>;
3427
3502
  }>;
3428
3503
  accounting: import("../types/api").ApiFor<{
3429
- getAnalyticPlans(): import("../types/api").RequestData<{
3504
+ getAnalyticPlans(params: {
3505
+ folder_id?: string | undefined;
3506
+ page?: number | undefined;
3507
+ size?: number | undefined;
3508
+ } | undefined): import("../types/api").RequestData<{
3430
3509
  id: string;
3431
3510
  name: string;
3432
3511
  active?: boolean | undefined;
3433
3512
  }[]>;
3434
- getClients(): import("../types/api").RequestData<{
3513
+ getClients(params: {
3514
+ folder_id?: string | undefined;
3515
+ page?: number | undefined;
3516
+ size?: number | undefined;
3517
+ } | undefined): import("../types/api").RequestData<{
3435
3518
  external_reference?: string | undefined;
3436
3519
  first_name?: string | undefined;
3437
3520
  last_name?: string | undefined;
@@ -3539,7 +3622,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3539
3622
  company_number?: string | undefined;
3540
3623
  id?: string | undefined;
3541
3624
  }>;
3542
- getClient(clientId: string): import("../types/api").RequestData<{
3625
+ getClient(clientId: string, params: {
3626
+ folder_id?: string | undefined;
3627
+ } | undefined): import("../types/api").RequestData<{
3543
3628
  external_reference?: string | undefined;
3544
3629
  first_name?: string | undefined;
3545
3630
  last_name?: string | undefined;
@@ -3607,7 +3692,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3607
3692
  postal_code?: string | undefined;
3608
3693
  country?: string | undefined;
3609
3694
  }[] | undefined;
3610
- }): import("../types/api").RequestData<{
3695
+ }, params: {
3696
+ folder_id?: string | undefined;
3697
+ } | undefined): import("../types/api").RequestData<{
3611
3698
  external_reference?: string | undefined;
3612
3699
  first_name?: string | undefined;
3613
3700
  last_name?: string | undefined;
@@ -3643,7 +3730,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3643
3730
  company_number?: string | undefined;
3644
3731
  id?: string | undefined;
3645
3732
  }>;
3646
- getSuppliers(): import("../types/api").RequestData<{
3733
+ getSuppliers(params: {
3734
+ folder_id?: string | undefined;
3735
+ page?: number | undefined;
3736
+ size?: number | undefined;
3737
+ } | undefined): import("../types/api").RequestData<{
3647
3738
  external_reference?: string | undefined;
3648
3739
  first_name?: string | undefined;
3649
3740
  last_name?: string | undefined;
@@ -3751,7 +3842,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3751
3842
  company_number?: string | undefined;
3752
3843
  id?: string | undefined;
3753
3844
  }>;
3754
- getSupplier(supplierId: string): import("../types/api").RequestData<{
3845
+ getSupplier(supplierId: string, params: {
3846
+ folder_id?: string | undefined;
3847
+ } | undefined): import("../types/api").RequestData<{
3755
3848
  external_reference?: string | undefined;
3756
3849
  first_name?: string | undefined;
3757
3850
  last_name?: string | undefined;
@@ -3819,7 +3912,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3819
3912
  postal_code?: string | undefined;
3820
3913
  country?: string | undefined;
3821
3914
  }[] | undefined;
3822
- }): import("../types/api").RequestData<{
3915
+ }, params: {
3916
+ folder_id?: string | undefined;
3917
+ } | undefined): import("../types/api").RequestData<{
3823
3918
  external_reference?: string | undefined;
3824
3919
  first_name?: string | undefined;
3825
3920
  last_name?: string | undefined;
@@ -4262,7 +4357,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4262
4357
  code: string;
4263
4358
  name: string;
4264
4359
  currency: string;
4265
- }): import("../types/api").RequestData<{
4360
+ }, params: {
4361
+ folder_id?: string | undefined;
4362
+ } | undefined): import("../types/api").RequestData<{
4266
4363
  id: string;
4267
4364
  active: boolean;
4268
4365
  code?: string | undefined;
@@ -4272,7 +4369,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4272
4369
  credit?: number | undefined;
4273
4370
  debit?: number | undefined;
4274
4371
  }>;
4275
- getAnalyticAccounts(): import("../types/api").RequestData<{
4372
+ getAnalyticAccounts(params: {
4373
+ folder_id?: string | undefined;
4374
+ page?: number | undefined;
4375
+ size?: number | undefined;
4376
+ } | undefined): import("../types/api").RequestData<{
4276
4377
  id: string;
4277
4378
  active: boolean;
4278
4379
  code?: string | undefined;
@@ -4287,7 +4388,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4287
4388
  code: string;
4288
4389
  name: string;
4289
4390
  currency: string;
4290
- }): import("../types/api").RequestData<{
4391
+ }, params: {
4392
+ folder_id?: string | undefined;
4393
+ } | undefined): import("../types/api").RequestData<{
4291
4394
  id: string;
4292
4395
  active: boolean;
4293
4396
  code?: string | undefined;
@@ -4298,7 +4401,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4298
4401
  debit?: number | undefined;
4299
4402
  analytic_plan: string;
4300
4403
  }>;
4301
- getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
4404
+ getAnalyticAccount(analytic_account_id: string, params: {
4405
+ folder_id?: string | undefined;
4406
+ } | undefined): import("../types/api").RequestData<{
4302
4407
  id: string;
4303
4408
  active: boolean;
4304
4409
  code?: string | undefined;
@@ -4313,7 +4418,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4313
4418
  code?: string | undefined;
4314
4419
  name?: string | undefined;
4315
4420
  currency?: string | undefined;
4316
- }): import("../types/api").RequestData<{
4421
+ }, params: {
4422
+ folder_id?: string | undefined;
4423
+ } | undefined): import("../types/api").RequestData<{
4317
4424
  id: string;
4318
4425
  active: boolean;
4319
4426
  code?: string | undefined;
@@ -4323,7 +4430,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4323
4430
  credit?: number | undefined;
4324
4431
  debit?: number | undefined;
4325
4432
  }>;
4326
- getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
4433
+ getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string, params: {
4434
+ folder_id?: string | undefined;
4435
+ } | undefined): import("../types/api").RequestData<{
4327
4436
  id: string;
4328
4437
  active: boolean;
4329
4438
  code?: string | undefined;
@@ -4339,7 +4448,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4339
4448
  code?: string | undefined;
4340
4449
  name?: string | undefined;
4341
4450
  currency?: string | undefined;
4342
- }): import("../types/api").RequestData<{
4451
+ }, params: {
4452
+ folder_id?: string | undefined;
4453
+ } | undefined): import("../types/api").RequestData<{
4343
4454
  id: string;
4344
4455
  active: boolean;
4345
4456
  code?: string | undefined;
@@ -4350,7 +4461,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4350
4461
  debit?: number | undefined;
4351
4462
  analytic_plan: string;
4352
4463
  }>;
4353
- getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
4464
+ getAnalyticAccountsWithMultiplePlans(params: {
4465
+ folder_id?: string | undefined;
4466
+ page?: number | undefined;
4467
+ size?: number | undefined;
4468
+ } | undefined): import("../types/api").RequestData<{
4354
4469
  id: string;
4355
4470
  active: boolean;
4356
4471
  code?: string | undefined;
@@ -4430,7 +4545,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4430
4545
  }[] | undefined;
4431
4546
  }[] | undefined;
4432
4547
  }[]>;
4433
- getPaymentsByInvoiceId(invoice_id: string): import("../types/api").RequestData<{
4548
+ getPaymentsByInvoiceId(invoice_id: string, params: {
4549
+ folder_id?: string | undefined;
4550
+ page?: number | undefined;
4551
+ size?: number | undefined;
4552
+ } | undefined): import("../types/api").RequestData<{
4434
4553
  id: string;
4435
4554
  name: string;
4436
4555
  currency: string;
@@ -4444,13 +4563,21 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4444
4563
  communication?: string | undefined;
4445
4564
  matching_number?: string | undefined;
4446
4565
  }[]>;
4447
- getJournals(): import("../types/api").RequestData<{
4566
+ getJournals(params: {
4567
+ folder_id?: string | undefined;
4568
+ page?: number | undefined;
4569
+ size?: number | undefined;
4570
+ } | undefined): import("../types/api").RequestData<{
4448
4571
  id: string;
4449
4572
  code?: string | undefined;
4450
4573
  name: string;
4451
4574
  journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
4452
4575
  }[]>;
4453
- getVatCodes(): import("../types/api").RequestData<{
4576
+ getVatCodes(params: {
4577
+ folder_id?: string | undefined;
4578
+ page?: number | undefined;
4579
+ size?: number | undefined;
4580
+ } | undefined): import("../types/api").RequestData<{
4454
4581
  id: string;
4455
4582
  code?: string | undefined;
4456
4583
  label: string;
@@ -4544,6 +4671,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4544
4671
  'application/json': unknown;
4545
4672
  };
4546
4673
  }>;
4674
+ getAttachments(params: {
4675
+ type: "invoice" | "entry";
4676
+ document_id: string;
4677
+ folder_id?: string | undefined;
4678
+ page?: number | undefined;
4679
+ size?: number | undefined;
4680
+ }): import("../types/api").RequestData<{
4681
+ base64_string: string;
4682
+ }[]>;
4547
4683
  getChartOfAccounts(params: {}): import("../types/api").RequestData<{
4548
4684
  number: string;
4549
4685
  name: string;
@@ -4782,6 +4918,20 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4782
4918
  }[] | undefined;
4783
4919
  }[] | undefined;
4784
4920
  }>;
4921
+ matchEntries(body: {
4922
+ entries: string[];
4923
+ partner_id: string;
4924
+ }, params: {
4925
+ folder_id?: string | undefined;
4926
+ } | undefined): import("../types/api").RequestData<{
4927
+ matching_number: string;
4928
+ balance: number;
4929
+ }>;
4930
+ getFolders(): import("../types/api").RequestData<{
4931
+ id: string;
4932
+ name: string;
4933
+ selected?: boolean | undefined;
4934
+ }[]>;
4785
4935
  }>;
4786
4936
  invoicing: import("../types/api").ApiFor<{
4787
4937
  getInvoices(params: {
@@ -6473,12 +6623,20 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6473
6623
  }[]>;
6474
6624
  }>;
6475
6625
  accounting: import("../types/api").ApiFor<{
6476
- getAnalyticPlans(): import("../types/api").RequestData<{
6626
+ getAnalyticPlans(params: {
6627
+ folder_id?: string | undefined;
6628
+ page?: number | undefined;
6629
+ size?: number | undefined;
6630
+ } | undefined): import("../types/api").RequestData<{
6477
6631
  id: string;
6478
6632
  name: string;
6479
6633
  active?: boolean | undefined;
6480
6634
  }[]>;
6481
- getClients(): import("../types/api").RequestData<{
6635
+ getClients(params: {
6636
+ folder_id?: string | undefined;
6637
+ page?: number | undefined;
6638
+ size?: number | undefined;
6639
+ } | undefined): import("../types/api").RequestData<{
6482
6640
  external_reference?: string | undefined;
6483
6641
  first_name?: string | undefined;
6484
6642
  last_name?: string | undefined;
@@ -6586,7 +6744,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6586
6744
  company_number?: string | undefined;
6587
6745
  id?: string | undefined;
6588
6746
  }>;
6589
- getClient(clientId: string): import("../types/api").RequestData<{
6747
+ getClient(clientId: string, params: {
6748
+ folder_id?: string | undefined;
6749
+ } | undefined): import("../types/api").RequestData<{
6590
6750
  external_reference?: string | undefined;
6591
6751
  first_name?: string | undefined;
6592
6752
  last_name?: string | undefined;
@@ -6654,7 +6814,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6654
6814
  postal_code?: string | undefined;
6655
6815
  country?: string | undefined;
6656
6816
  }[] | undefined;
6657
- }): import("../types/api").RequestData<{
6817
+ }, params: {
6818
+ folder_id?: string | undefined;
6819
+ } | undefined): import("../types/api").RequestData<{
6658
6820
  external_reference?: string | undefined;
6659
6821
  first_name?: string | undefined;
6660
6822
  last_name?: string | undefined;
@@ -6690,7 +6852,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6690
6852
  company_number?: string | undefined;
6691
6853
  id?: string | undefined;
6692
6854
  }>;
6693
- getSuppliers(): import("../types/api").RequestData<{
6855
+ getSuppliers(params: {
6856
+ folder_id?: string | undefined;
6857
+ page?: number | undefined;
6858
+ size?: number | undefined;
6859
+ } | undefined): import("../types/api").RequestData<{
6694
6860
  external_reference?: string | undefined;
6695
6861
  first_name?: string | undefined;
6696
6862
  last_name?: string | undefined;
@@ -6798,7 +6964,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6798
6964
  company_number?: string | undefined;
6799
6965
  id?: string | undefined;
6800
6966
  }>;
6801
- getSupplier(supplierId: string): import("../types/api").RequestData<{
6967
+ getSupplier(supplierId: string, params: {
6968
+ folder_id?: string | undefined;
6969
+ } | undefined): import("../types/api").RequestData<{
6802
6970
  external_reference?: string | undefined;
6803
6971
  first_name?: string | undefined;
6804
6972
  last_name?: string | undefined;
@@ -6866,7 +7034,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6866
7034
  postal_code?: string | undefined;
6867
7035
  country?: string | undefined;
6868
7036
  }[] | undefined;
6869
- }): import("../types/api").RequestData<{
7037
+ }, params: {
7038
+ folder_id?: string | undefined;
7039
+ } | undefined): import("../types/api").RequestData<{
6870
7040
  external_reference?: string | undefined;
6871
7041
  first_name?: string | undefined;
6872
7042
  last_name?: string | undefined;
@@ -7309,7 +7479,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7309
7479
  code: string;
7310
7480
  name: string;
7311
7481
  currency: string;
7312
- }): import("../types/api").RequestData<{
7482
+ }, params: {
7483
+ folder_id?: string | undefined;
7484
+ } | undefined): import("../types/api").RequestData<{
7313
7485
  id: string;
7314
7486
  active: boolean;
7315
7487
  code?: string | undefined;
@@ -7319,7 +7491,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7319
7491
  credit?: number | undefined;
7320
7492
  debit?: number | undefined;
7321
7493
  }>;
7322
- getAnalyticAccounts(): import("../types/api").RequestData<{
7494
+ getAnalyticAccounts(params: {
7495
+ folder_id?: string | undefined;
7496
+ page?: number | undefined;
7497
+ size?: number | undefined;
7498
+ } | undefined): import("../types/api").RequestData<{
7323
7499
  id: string;
7324
7500
  active: boolean;
7325
7501
  code?: string | undefined;
@@ -7334,7 +7510,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7334
7510
  code: string;
7335
7511
  name: string;
7336
7512
  currency: string;
7337
- }): import("../types/api").RequestData<{
7513
+ }, params: {
7514
+ folder_id?: string | undefined;
7515
+ } | undefined): import("../types/api").RequestData<{
7338
7516
  id: string;
7339
7517
  active: boolean;
7340
7518
  code?: string | undefined;
@@ -7345,7 +7523,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7345
7523
  debit?: number | undefined;
7346
7524
  analytic_plan: string;
7347
7525
  }>;
7348
- getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
7526
+ getAnalyticAccount(analytic_account_id: string, params: {
7527
+ folder_id?: string | undefined;
7528
+ } | undefined): import("../types/api").RequestData<{
7349
7529
  id: string;
7350
7530
  active: boolean;
7351
7531
  code?: string | undefined;
@@ -7360,7 +7540,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7360
7540
  code?: string | undefined;
7361
7541
  name?: string | undefined;
7362
7542
  currency?: string | undefined;
7363
- }): import("../types/api").RequestData<{
7543
+ }, params: {
7544
+ folder_id?: string | undefined;
7545
+ } | undefined): import("../types/api").RequestData<{
7364
7546
  id: string;
7365
7547
  active: boolean;
7366
7548
  code?: string | undefined;
@@ -7370,7 +7552,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7370
7552
  credit?: number | undefined;
7371
7553
  debit?: number | undefined;
7372
7554
  }>;
7373
- getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
7555
+ getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string, params: {
7556
+ folder_id?: string | undefined;
7557
+ } | undefined): import("../types/api").RequestData<{
7374
7558
  id: string;
7375
7559
  active: boolean;
7376
7560
  code?: string | undefined;
@@ -7386,7 +7570,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7386
7570
  code?: string | undefined;
7387
7571
  name?: string | undefined;
7388
7572
  currency?: string | undefined;
7389
- }): import("../types/api").RequestData<{
7573
+ }, params: {
7574
+ folder_id?: string | undefined;
7575
+ } | undefined): import("../types/api").RequestData<{
7390
7576
  id: string;
7391
7577
  active: boolean;
7392
7578
  code?: string | undefined;
@@ -7397,7 +7583,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7397
7583
  debit?: number | undefined;
7398
7584
  analytic_plan: string;
7399
7585
  }>;
7400
- getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
7586
+ getAnalyticAccountsWithMultiplePlans(params: {
7587
+ folder_id?: string | undefined;
7588
+ page?: number | undefined;
7589
+ size?: number | undefined;
7590
+ } | undefined): import("../types/api").RequestData<{
7401
7591
  id: string;
7402
7592
  active: boolean;
7403
7593
  code?: string | undefined;
@@ -7477,7 +7667,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7477
7667
  }[] | undefined;
7478
7668
  }[] | undefined;
7479
7669
  }[]>;
7480
- getPaymentsByInvoiceId(invoice_id: string): import("../types/api").RequestData<{
7670
+ getPaymentsByInvoiceId(invoice_id: string, params: {
7671
+ folder_id?: string | undefined;
7672
+ page?: number | undefined;
7673
+ size?: number | undefined;
7674
+ } | undefined): import("../types/api").RequestData<{
7481
7675
  id: string;
7482
7676
  name: string;
7483
7677
  currency: string;
@@ -7491,13 +7685,21 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7491
7685
  communication?: string | undefined;
7492
7686
  matching_number?: string | undefined;
7493
7687
  }[]>;
7494
- getJournals(): import("../types/api").RequestData<{
7688
+ getJournals(params: {
7689
+ folder_id?: string | undefined;
7690
+ page?: number | undefined;
7691
+ size?: number | undefined;
7692
+ } | undefined): import("../types/api").RequestData<{
7495
7693
  id: string;
7496
7694
  code?: string | undefined;
7497
7695
  name: string;
7498
7696
  journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
7499
7697
  }[]>;
7500
- getVatCodes(): import("../types/api").RequestData<{
7698
+ getVatCodes(params: {
7699
+ folder_id?: string | undefined;
7700
+ page?: number | undefined;
7701
+ size?: number | undefined;
7702
+ } | undefined): import("../types/api").RequestData<{
7501
7703
  id: string;
7502
7704
  code?: string | undefined;
7503
7705
  label: string;
@@ -7591,6 +7793,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7591
7793
  'application/json': unknown;
7592
7794
  };
7593
7795
  }>;
7796
+ getAttachments(params: {
7797
+ type: "invoice" | "entry";
7798
+ document_id: string;
7799
+ folder_id?: string | undefined;
7800
+ page?: number | undefined;
7801
+ size?: number | undefined;
7802
+ }): import("../types/api").RequestData<{
7803
+ base64_string: string;
7804
+ }[]>;
7594
7805
  getChartOfAccounts(params: {}): import("../types/api").RequestData<{
7595
7806
  number: string;
7596
7807
  name: string;
@@ -7829,6 +8040,20 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7829
8040
  }[] | undefined;
7830
8041
  }[] | undefined;
7831
8042
  }>;
8043
+ matchEntries(body: {
8044
+ entries: string[];
8045
+ partner_id: string;
8046
+ }, params: {
8047
+ folder_id?: string | undefined;
8048
+ } | undefined): import("../types/api").RequestData<{
8049
+ matching_number: string;
8050
+ balance: number;
8051
+ }>;
8052
+ getFolders(): import("../types/api").RequestData<{
8053
+ id: string;
8054
+ name: string;
8055
+ selected?: boolean | undefined;
8056
+ }[]>;
7832
8057
  }>;
7833
8058
  invoicing: import("../types/api").ApiFor<{
7834
8059
  getInvoices(params: {
@@ -9520,12 +9745,20 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9520
9745
  }[]>;
9521
9746
  }>;
9522
9747
  accounting: import("../types/api").ApiFor<{
9523
- getAnalyticPlans(): import("../types/api").RequestData<{
9748
+ getAnalyticPlans(params: {
9749
+ folder_id?: string | undefined;
9750
+ page?: number | undefined;
9751
+ size?: number | undefined;
9752
+ } | undefined): import("../types/api").RequestData<{
9524
9753
  id: string;
9525
9754
  name: string;
9526
9755
  active?: boolean | undefined;
9527
9756
  }[]>;
9528
- getClients(): import("../types/api").RequestData<{
9757
+ getClients(params: {
9758
+ folder_id?: string | undefined;
9759
+ page?: number | undefined;
9760
+ size?: number | undefined;
9761
+ } | undefined): import("../types/api").RequestData<{
9529
9762
  external_reference?: string | undefined;
9530
9763
  first_name?: string | undefined;
9531
9764
  last_name?: string | undefined;
@@ -9633,7 +9866,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9633
9866
  company_number?: string | undefined;
9634
9867
  id?: string | undefined;
9635
9868
  }>;
9636
- getClient(clientId: string): import("../types/api").RequestData<{
9869
+ getClient(clientId: string, params: {
9870
+ folder_id?: string | undefined;
9871
+ } | undefined): import("../types/api").RequestData<{
9637
9872
  external_reference?: string | undefined;
9638
9873
  first_name?: string | undefined;
9639
9874
  last_name?: string | undefined;
@@ -9701,7 +9936,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9701
9936
  postal_code?: string | undefined;
9702
9937
  country?: string | undefined;
9703
9938
  }[] | undefined;
9704
- }): import("../types/api").RequestData<{
9939
+ }, params: {
9940
+ folder_id?: string | undefined;
9941
+ } | undefined): import("../types/api").RequestData<{
9705
9942
  external_reference?: string | undefined;
9706
9943
  first_name?: string | undefined;
9707
9944
  last_name?: string | undefined;
@@ -9737,7 +9974,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9737
9974
  company_number?: string | undefined;
9738
9975
  id?: string | undefined;
9739
9976
  }>;
9740
- getSuppliers(): import("../types/api").RequestData<{
9977
+ getSuppliers(params: {
9978
+ folder_id?: string | undefined;
9979
+ page?: number | undefined;
9980
+ size?: number | undefined;
9981
+ } | undefined): import("../types/api").RequestData<{
9741
9982
  external_reference?: string | undefined;
9742
9983
  first_name?: string | undefined;
9743
9984
  last_name?: string | undefined;
@@ -9845,7 +10086,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9845
10086
  company_number?: string | undefined;
9846
10087
  id?: string | undefined;
9847
10088
  }>;
9848
- getSupplier(supplierId: string): import("../types/api").RequestData<{
10089
+ getSupplier(supplierId: string, params: {
10090
+ folder_id?: string | undefined;
10091
+ } | undefined): import("../types/api").RequestData<{
9849
10092
  external_reference?: string | undefined;
9850
10093
  first_name?: string | undefined;
9851
10094
  last_name?: string | undefined;
@@ -9913,7 +10156,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9913
10156
  postal_code?: string | undefined;
9914
10157
  country?: string | undefined;
9915
10158
  }[] | undefined;
9916
- }): import("../types/api").RequestData<{
10159
+ }, params: {
10160
+ folder_id?: string | undefined;
10161
+ } | undefined): import("../types/api").RequestData<{
9917
10162
  external_reference?: string | undefined;
9918
10163
  first_name?: string | undefined;
9919
10164
  last_name?: string | undefined;
@@ -10356,7 +10601,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10356
10601
  code: string;
10357
10602
  name: string;
10358
10603
  currency: string;
10359
- }): import("../types/api").RequestData<{
10604
+ }, params: {
10605
+ folder_id?: string | undefined;
10606
+ } | undefined): import("../types/api").RequestData<{
10360
10607
  id: string;
10361
10608
  active: boolean;
10362
10609
  code?: string | undefined;
@@ -10366,7 +10613,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10366
10613
  credit?: number | undefined;
10367
10614
  debit?: number | undefined;
10368
10615
  }>;
10369
- getAnalyticAccounts(): import("../types/api").RequestData<{
10616
+ getAnalyticAccounts(params: {
10617
+ folder_id?: string | undefined;
10618
+ page?: number | undefined;
10619
+ size?: number | undefined;
10620
+ } | undefined): import("../types/api").RequestData<{
10370
10621
  id: string;
10371
10622
  active: boolean;
10372
10623
  code?: string | undefined;
@@ -10381,7 +10632,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10381
10632
  code: string;
10382
10633
  name: string;
10383
10634
  currency: string;
10384
- }): import("../types/api").RequestData<{
10635
+ }, params: {
10636
+ folder_id?: string | undefined;
10637
+ } | undefined): import("../types/api").RequestData<{
10385
10638
  id: string;
10386
10639
  active: boolean;
10387
10640
  code?: string | undefined;
@@ -10392,7 +10645,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10392
10645
  debit?: number | undefined;
10393
10646
  analytic_plan: string;
10394
10647
  }>;
10395
- getAnalyticAccount(analytic_account_id: string): import("../types/api").RequestData<{
10648
+ getAnalyticAccount(analytic_account_id: string, params: {
10649
+ folder_id?: string | undefined;
10650
+ } | undefined): import("../types/api").RequestData<{
10396
10651
  id: string;
10397
10652
  active: boolean;
10398
10653
  code?: string | undefined;
@@ -10407,7 +10662,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10407
10662
  code?: string | undefined;
10408
10663
  name?: string | undefined;
10409
10664
  currency?: string | undefined;
10410
- }): import("../types/api").RequestData<{
10665
+ }, params: {
10666
+ folder_id?: string | undefined;
10667
+ } | undefined): import("../types/api").RequestData<{
10411
10668
  id: string;
10412
10669
  active: boolean;
10413
10670
  code?: string | undefined;
@@ -10417,7 +10674,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10417
10674
  credit?: number | undefined;
10418
10675
  debit?: number | undefined;
10419
10676
  }>;
10420
- getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string): import("../types/api").RequestData<{
10677
+ getAnalyticAccountWithMultiplePlans(analytic_account_id: string, analytic_plan: string, params: {
10678
+ folder_id?: string | undefined;
10679
+ } | undefined): import("../types/api").RequestData<{
10421
10680
  id: string;
10422
10681
  active: boolean;
10423
10682
  code?: string | undefined;
@@ -10433,7 +10692,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10433
10692
  code?: string | undefined;
10434
10693
  name?: string | undefined;
10435
10694
  currency?: string | undefined;
10436
- }): import("../types/api").RequestData<{
10695
+ }, params: {
10696
+ folder_id?: string | undefined;
10697
+ } | undefined): import("../types/api").RequestData<{
10437
10698
  id: string;
10438
10699
  active: boolean;
10439
10700
  code?: string | undefined;
@@ -10444,7 +10705,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10444
10705
  debit?: number | undefined;
10445
10706
  analytic_plan: string;
10446
10707
  }>;
10447
- getAnalyticAccountsWithMultiplePlans(): import("../types/api").RequestData<{
10708
+ getAnalyticAccountsWithMultiplePlans(params: {
10709
+ folder_id?: string | undefined;
10710
+ page?: number | undefined;
10711
+ size?: number | undefined;
10712
+ } | undefined): import("../types/api").RequestData<{
10448
10713
  id: string;
10449
10714
  active: boolean;
10450
10715
  code?: string | undefined;
@@ -10524,7 +10789,11 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10524
10789
  }[] | undefined;
10525
10790
  }[] | undefined;
10526
10791
  }[]>;
10527
- getPaymentsByInvoiceId(invoice_id: string): import("../types/api").RequestData<{
10792
+ getPaymentsByInvoiceId(invoice_id: string, params: {
10793
+ folder_id?: string | undefined;
10794
+ page?: number | undefined;
10795
+ size?: number | undefined;
10796
+ } | undefined): import("../types/api").RequestData<{
10528
10797
  id: string;
10529
10798
  name: string;
10530
10799
  currency: string;
@@ -10538,13 +10807,21 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10538
10807
  communication?: string | undefined;
10539
10808
  matching_number?: string | undefined;
10540
10809
  }[]>;
10541
- getJournals(): import("../types/api").RequestData<{
10810
+ getJournals(params: {
10811
+ folder_id?: string | undefined;
10812
+ page?: number | undefined;
10813
+ size?: number | undefined;
10814
+ } | undefined): import("../types/api").RequestData<{
10542
10815
  id: string;
10543
10816
  code?: string | undefined;
10544
10817
  name: string;
10545
10818
  journal_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown";
10546
10819
  }[]>;
10547
- getVatCodes(): import("../types/api").RequestData<{
10820
+ getVatCodes(params: {
10821
+ folder_id?: string | undefined;
10822
+ page?: number | undefined;
10823
+ size?: number | undefined;
10824
+ } | undefined): import("../types/api").RequestData<{
10548
10825
  id: string;
10549
10826
  code?: string | undefined;
10550
10827
  label: string;
@@ -10638,6 +10915,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10638
10915
  'application/json': unknown;
10639
10916
  };
10640
10917
  }>;
10918
+ getAttachments(params: {
10919
+ type: "invoice" | "entry";
10920
+ document_id: string;
10921
+ folder_id?: string | undefined;
10922
+ page?: number | undefined;
10923
+ size?: number | undefined;
10924
+ }): import("../types/api").RequestData<{
10925
+ base64_string: string;
10926
+ }[]>;
10641
10927
  getChartOfAccounts(params: {}): import("../types/api").RequestData<{
10642
10928
  number: string;
10643
10929
  name: string;
@@ -10876,6 +11162,20 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10876
11162
  }[] | undefined;
10877
11163
  }[] | undefined;
10878
11164
  }>;
11165
+ matchEntries(body: {
11166
+ entries: string[];
11167
+ partner_id: string;
11168
+ }, params: {
11169
+ folder_id?: string | undefined;
11170
+ } | undefined): import("../types/api").RequestData<{
11171
+ matching_number: string;
11172
+ balance: number;
11173
+ }>;
11174
+ getFolders(): import("../types/api").RequestData<{
11175
+ id: string;
11176
+ name: string;
11177
+ selected?: boolean | undefined;
11178
+ }[]>;
10879
11179
  }>;
10880
11180
  invoicing: import("../types/api").ApiFor<{
10881
11181
  getInvoices(params: {