@papicandela/mcx-adapters 0.1.0

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.
@@ -0,0 +1,3974 @@
1
+ import * as zod from 'zod';
2
+ import { z } from 'zod';
3
+
4
+ /**
5
+ * Base configuration schema for all adapters
6
+ */
7
+ declare const BaseConfigSchema: z.ZodObject<{
8
+ /** Optional name override */
9
+ name: z.ZodOptional<z.ZodString>;
10
+ /** Enable debug logging */
11
+ debug: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ debug: boolean;
14
+ name?: string | undefined;
15
+ }, {
16
+ name?: string | undefined;
17
+ debug?: boolean | undefined;
18
+ }>;
19
+ /**
20
+ * Adapter tool definition
21
+ */
22
+ interface AdapterTool<TParams = unknown, TResult = unknown> {
23
+ description: string;
24
+ parameters?: Record<string, ParameterDefinition>;
25
+ execute: (params: TParams | any) => Promise<TResult> | TResult;
26
+ }
27
+ /**
28
+ * Parameter definition for adapter tools
29
+ */
30
+ interface ParameterDefinition {
31
+ type: "string" | "number" | "boolean" | "object" | "array";
32
+ description?: string;
33
+ required?: boolean;
34
+ default?: unknown;
35
+ }
36
+ /**
37
+ * Adapter definition structure
38
+ */
39
+ interface AdapterDefinition<TConfig extends z.ZodTypeAny = typeof BaseConfigSchema, TTools extends Record<string, AdapterTool> = Record<string, AdapterTool>> {
40
+ name: string;
41
+ description?: string;
42
+ version?: string;
43
+ config?: TConfig;
44
+ tools: TTools;
45
+ }
46
+
47
+ /**
48
+ * Alegra API Adapter - Auto-generated
49
+ * Generated: 2026-02-17T03:12:56.334Z
50
+ * Endpoints: 233
51
+ *
52
+ * Environment variables:
53
+ * - ALEGRA_EMAIL
54
+ * - ALEGRA_TOKEN
55
+ */
56
+ declare const alegra: AdapterDefinition<zod.ZodTypeAny, {
57
+ updateWebhooksSubscriptionsById: {
58
+ description: string;
59
+ parameters: {
60
+ id: {
61
+ type: "string";
62
+ description: string;
63
+ required: true;
64
+ };
65
+ body: {
66
+ type: "object";
67
+ description: string;
68
+ };
69
+ };
70
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
71
+ };
72
+ createWebhooksSubscriptions: {
73
+ description: string;
74
+ parameters: {
75
+ body: {
76
+ type: "object";
77
+ description: string;
78
+ };
79
+ };
80
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
81
+ };
82
+ getWebhooksSubscriptions: {
83
+ description: string;
84
+ parameters: {};
85
+ execute: (_params: Record<string, unknown>) => Promise<unknown>;
86
+ };
87
+ getWebhooksSubscriptionsById: {
88
+ description: string;
89
+ parameters: {
90
+ id: {
91
+ type: "string";
92
+ description: string;
93
+ required: true;
94
+ };
95
+ };
96
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
97
+ };
98
+ deleteWebhooksSubscriptionsById: {
99
+ description: string;
100
+ parameters: {
101
+ id: {
102
+ type: "string";
103
+ description: string;
104
+ required: true;
105
+ };
106
+ };
107
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
108
+ };
109
+ getSellers: {
110
+ description: string;
111
+ parameters: {
112
+ start: {
113
+ type: "number";
114
+ description: string;
115
+ };
116
+ limit: {
117
+ type: "number";
118
+ description: string;
119
+ };
120
+ status: {
121
+ type: "array";
122
+ description: string;
123
+ };
124
+ };
125
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
126
+ };
127
+ getSellersById: {
128
+ description: string;
129
+ parameters: {
130
+ id: {
131
+ type: "number";
132
+ description: string;
133
+ required: true;
134
+ };
135
+ };
136
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
137
+ };
138
+ updateSellersById: {
139
+ description: string;
140
+ parameters: {
141
+ id: {
142
+ type: "number";
143
+ description: string;
144
+ required: true;
145
+ };
146
+ body: {
147
+ type: "object";
148
+ description: string;
149
+ };
150
+ };
151
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
152
+ };
153
+ deleteSellersById: {
154
+ description: string;
155
+ parameters: {
156
+ id: {
157
+ type: "number";
158
+ description: string;
159
+ required: true;
160
+ };
161
+ };
162
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
163
+ };
164
+ createSellers: {
165
+ description: string;
166
+ parameters: {
167
+ body: {
168
+ type: "object";
169
+ description: string;
170
+ };
171
+ };
172
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
173
+ };
174
+ updateVariantAttributesById: {
175
+ description: string;
176
+ parameters: {
177
+ id: {
178
+ type: "string";
179
+ description: string;
180
+ required: true;
181
+ };
182
+ body: {
183
+ type: "object";
184
+ description: string;
185
+ };
186
+ };
187
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
188
+ };
189
+ createVariantAttributes: {
190
+ description: string;
191
+ parameters: {
192
+ body: {
193
+ type: "object";
194
+ description: string;
195
+ };
196
+ };
197
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
198
+ };
199
+ getVariantAttributes: {
200
+ description: string;
201
+ parameters: {
202
+ start: {
203
+ type: "number";
204
+ description: string;
205
+ };
206
+ limit: {
207
+ type: "number";
208
+ description: string;
209
+ };
210
+ metadata: {
211
+ type: "boolean";
212
+ description: string;
213
+ };
214
+ order_field: {
215
+ type: "string";
216
+ description: string;
217
+ };
218
+ order_direction: {
219
+ type: "string";
220
+ description: string;
221
+ };
222
+ fields: {
223
+ type: "string";
224
+ description: string;
225
+ };
226
+ name: {
227
+ type: "string";
228
+ description: string;
229
+ };
230
+ options: {
231
+ type: "string";
232
+ description: string;
233
+ };
234
+ };
235
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
236
+ };
237
+ getVariantAttributesById: {
238
+ description: string;
239
+ parameters: {
240
+ id: {
241
+ type: "string";
242
+ description: string;
243
+ required: true;
244
+ };
245
+ };
246
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
247
+ };
248
+ deleteVariantAttributesById: {
249
+ description: string;
250
+ parameters: {
251
+ id: {
252
+ type: "string";
253
+ description: string;
254
+ required: true;
255
+ };
256
+ };
257
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
258
+ };
259
+ updatePriceListsById: {
260
+ description: string;
261
+ parameters: {
262
+ id: {
263
+ type: "string";
264
+ description: string;
265
+ required: true;
266
+ };
267
+ body: {
268
+ type: "object";
269
+ description: string;
270
+ };
271
+ };
272
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
273
+ };
274
+ createPriceLists: {
275
+ description: string;
276
+ parameters: {
277
+ body: {
278
+ type: "object";
279
+ description: string;
280
+ };
281
+ };
282
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
283
+ };
284
+ getPriceLists: {
285
+ description: string;
286
+ parameters: {
287
+ query: {
288
+ type: "string";
289
+ description: string;
290
+ };
291
+ start: {
292
+ type: "string";
293
+ description: string;
294
+ };
295
+ limit: {
296
+ type: "string";
297
+ description: string;
298
+ };
299
+ metadata: {
300
+ type: "string";
301
+ description: string;
302
+ };
303
+ order_field: {
304
+ type: "string";
305
+ description: string;
306
+ };
307
+ order_direction: {
308
+ type: "string";
309
+ description: string;
310
+ };
311
+ fields: {
312
+ type: "string";
313
+ description: string;
314
+ };
315
+ };
316
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
317
+ };
318
+ getPriceListsById: {
319
+ description: string;
320
+ parameters: {
321
+ id: {
322
+ type: "string";
323
+ description: string;
324
+ required: true;
325
+ };
326
+ };
327
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
328
+ };
329
+ deletePriceListsById: {
330
+ description: string;
331
+ parameters: {
332
+ id: {
333
+ type: "string";
334
+ description: string;
335
+ required: true;
336
+ };
337
+ };
338
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
339
+ };
340
+ updateWarehouseTransfersById: {
341
+ description: string;
342
+ parameters: {
343
+ id: {
344
+ type: "string";
345
+ description: string;
346
+ required: true;
347
+ };
348
+ body: {
349
+ type: "object";
350
+ description: string;
351
+ };
352
+ };
353
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
354
+ };
355
+ createWarehouseTransfers: {
356
+ description: string;
357
+ parameters: {
358
+ body: {
359
+ type: "object";
360
+ description: string;
361
+ };
362
+ };
363
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
364
+ };
365
+ getWarehouseTransfers: {
366
+ description: string;
367
+ parameters: {
368
+ start: {
369
+ type: "number";
370
+ description: string;
371
+ };
372
+ limit: {
373
+ type: "number";
374
+ description: string;
375
+ };
376
+ item_id: {
377
+ type: "number";
378
+ description: string;
379
+ };
380
+ date: {
381
+ type: "string";
382
+ description: string;
383
+ };
384
+ editable: {
385
+ type: "boolean";
386
+ description: string;
387
+ };
388
+ deletable: {
389
+ type: "boolean";
390
+ description: string;
391
+ };
392
+ };
393
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
394
+ };
395
+ getWarehouseTransfersById: {
396
+ description: string;
397
+ parameters: {
398
+ id: {
399
+ type: "string";
400
+ description: string;
401
+ required: true;
402
+ };
403
+ };
404
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
405
+ };
406
+ deleteWarehouseTransfersById: {
407
+ description: string;
408
+ parameters: {
409
+ id: {
410
+ type: "string";
411
+ description: string;
412
+ required: true;
413
+ };
414
+ };
415
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
416
+ };
417
+ updateItemsById: {
418
+ description: string;
419
+ parameters: {
420
+ id: {
421
+ type: "string";
422
+ description: string;
423
+ required: true;
424
+ };
425
+ body: {
426
+ type: "object";
427
+ description: string;
428
+ };
429
+ };
430
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
431
+ };
432
+ createItems: {
433
+ description: string;
434
+ parameters: {
435
+ body: {
436
+ type: "object";
437
+ description: string;
438
+ };
439
+ };
440
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
441
+ };
442
+ createItemsByIdAttachment: {
443
+ description: string;
444
+ parameters: {
445
+ id: {
446
+ type: "string";
447
+ description: string;
448
+ required: true;
449
+ };
450
+ body: {
451
+ type: "object";
452
+ description: string;
453
+ };
454
+ };
455
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
456
+ };
457
+ getItems: {
458
+ description: string;
459
+ parameters: {
460
+ start: {
461
+ type: "number";
462
+ description: string;
463
+ };
464
+ limit: {
465
+ type: "number";
466
+ description: string;
467
+ };
468
+ order_direction: {
469
+ type: "string";
470
+ description: string;
471
+ };
472
+ order_field: {
473
+ type: "string";
474
+ description: string;
475
+ };
476
+ query: {
477
+ type: "string";
478
+ description: string;
479
+ };
480
+ metadata: {
481
+ type: "boolean";
482
+ description: string;
483
+ };
484
+ idWarehouse: {
485
+ type: "string";
486
+ description: string;
487
+ };
488
+ name: {
489
+ type: "string";
490
+ description: string;
491
+ };
492
+ reference: {
493
+ type: "string";
494
+ description: string;
495
+ };
496
+ price: {
497
+ type: "string";
498
+ description: string;
499
+ };
500
+ description: {
501
+ type: "string";
502
+ description: string;
503
+ };
504
+ priceList_id: {
505
+ type: "string";
506
+ description: string;
507
+ };
508
+ idItemCategory: {
509
+ type: "string";
510
+ description: string;
511
+ };
512
+ type: {
513
+ type: "string";
514
+ description: string;
515
+ };
516
+ variantAttribute_id: {
517
+ type: "string";
518
+ description: string;
519
+ };
520
+ variantAttributeOption_id: {
521
+ type: "string";
522
+ description: string;
523
+ };
524
+ variantParent_id: {
525
+ type: "string";
526
+ description: string;
527
+ };
528
+ customField_id: {
529
+ type: "string";
530
+ description: string;
531
+ };
532
+ customField_value: {
533
+ type: "string";
534
+ description: string;
535
+ };
536
+ status: {
537
+ type: "string";
538
+ description: string;
539
+ };
540
+ inventariable: {
541
+ type: "boolean";
542
+ description: string;
543
+ };
544
+ fields: {
545
+ type: "string";
546
+ description: string;
547
+ };
548
+ mode: {
549
+ type: "string";
550
+ description: string;
551
+ };
552
+ };
553
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
554
+ };
555
+ getItemsById: {
556
+ description: string;
557
+ parameters: {
558
+ id: {
559
+ type: "string";
560
+ description: string;
561
+ required: true;
562
+ };
563
+ fields: {
564
+ type: "string";
565
+ description: string;
566
+ };
567
+ };
568
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
569
+ };
570
+ deleteItems: {
571
+ description: string;
572
+ parameters: {
573
+ id: {
574
+ type: "string";
575
+ description: string;
576
+ };
577
+ };
578
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
579
+ };
580
+ deleteItemsById: {
581
+ description: string;
582
+ parameters: {
583
+ id: {
584
+ type: "string";
585
+ description: string;
586
+ required: true;
587
+ };
588
+ };
589
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
590
+ };
591
+ deleteItemsAttachmentById: {
592
+ description: string;
593
+ parameters: {
594
+ idAttachment: {
595
+ type: "string";
596
+ description: string;
597
+ required: true;
598
+ };
599
+ };
600
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
601
+ };
602
+ updateItemCategoriesById: {
603
+ description: string;
604
+ parameters: {
605
+ id: {
606
+ type: "string";
607
+ description: string;
608
+ required: true;
609
+ };
610
+ body: {
611
+ type: "object";
612
+ description: string;
613
+ };
614
+ };
615
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
616
+ };
617
+ createItemCategories: {
618
+ description: string;
619
+ parameters: {
620
+ body: {
621
+ type: "object";
622
+ description: string;
623
+ };
624
+ };
625
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
626
+ };
627
+ createItemCategoriesByIdAttachment: {
628
+ description: string;
629
+ parameters: {
630
+ id: {
631
+ type: "string";
632
+ description: string;
633
+ required: true;
634
+ };
635
+ body: {
636
+ type: "object";
637
+ description: string;
638
+ };
639
+ };
640
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
641
+ };
642
+ getItemCategories: {
643
+ description: string;
644
+ parameters: {
645
+ start: {
646
+ type: "number";
647
+ description: string;
648
+ };
649
+ limit: {
650
+ type: "number";
651
+ description: string;
652
+ };
653
+ metadata: {
654
+ type: "boolean";
655
+ description: string;
656
+ };
657
+ order_field: {
658
+ type: "string";
659
+ description: string;
660
+ };
661
+ status: {
662
+ type: "string";
663
+ description: string;
664
+ };
665
+ name: {
666
+ type: "string";
667
+ description: string;
668
+ };
669
+ description: {
670
+ type: "string";
671
+ description: string;
672
+ };
673
+ order_direction: {
674
+ type: "string";
675
+ description: string;
676
+ };
677
+ };
678
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
679
+ };
680
+ getItemCategoriesById: {
681
+ description: string;
682
+ parameters: {
683
+ id: {
684
+ type: "string";
685
+ description: string;
686
+ required: true;
687
+ };
688
+ };
689
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
690
+ };
691
+ deleteItemCategoriesById: {
692
+ description: string;
693
+ parameters: {
694
+ id: {
695
+ type: "string";
696
+ description: string;
697
+ required: true;
698
+ };
699
+ };
700
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
701
+ };
702
+ deleteItemCategoriesAttachmentById: {
703
+ description: string;
704
+ parameters: {
705
+ idAttachment: {
706
+ type: "string";
707
+ description: string;
708
+ required: true;
709
+ };
710
+ };
711
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
712
+ };
713
+ updateCustomFieldsById: {
714
+ description: string;
715
+ parameters: {
716
+ id: {
717
+ type: "string";
718
+ description: string;
719
+ required: true;
720
+ };
721
+ body: {
722
+ type: "object";
723
+ description: string;
724
+ };
725
+ };
726
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
727
+ };
728
+ createCustomFields: {
729
+ description: string;
730
+ parameters: {
731
+ body: {
732
+ type: "object";
733
+ description: string;
734
+ };
735
+ };
736
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
737
+ };
738
+ getCustomFields: {
739
+ description: string;
740
+ parameters: {
741
+ start: {
742
+ type: "number";
743
+ description: string;
744
+ };
745
+ limit: {
746
+ type: "number";
747
+ description: string;
748
+ };
749
+ name_query: {
750
+ type: "string";
751
+ description: string;
752
+ };
753
+ description_query: {
754
+ type: "string";
755
+ description: string;
756
+ };
757
+ metadata: {
758
+ type: "boolean";
759
+ description: string;
760
+ };
761
+ status: {
762
+ type: "string";
763
+ description: string;
764
+ };
765
+ resourceType: {
766
+ type: "string";
767
+ description: string;
768
+ };
769
+ type: {
770
+ type: "string";
771
+ description: string;
772
+ };
773
+ };
774
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
775
+ };
776
+ getCustomFieldsById: {
777
+ description: string;
778
+ parameters: {
779
+ id: {
780
+ type: "string";
781
+ description: string;
782
+ required: true;
783
+ };
784
+ };
785
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
786
+ };
787
+ deleteCustomFieldsById: {
788
+ description: string;
789
+ parameters: {
790
+ id: {
791
+ type: "string";
792
+ description: string;
793
+ required: true;
794
+ };
795
+ };
796
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
797
+ };
798
+ updateWarehousesById: {
799
+ description: string;
800
+ parameters: {
801
+ id: {
802
+ type: "string";
803
+ description: string;
804
+ required: true;
805
+ };
806
+ body: {
807
+ type: "object";
808
+ description: string;
809
+ };
810
+ };
811
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
812
+ };
813
+ createWarehouses: {
814
+ description: string;
815
+ parameters: {
816
+ body: {
817
+ type: "object";
818
+ description: string;
819
+ };
820
+ };
821
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
822
+ };
823
+ getWarehouses: {
824
+ description: string;
825
+ parameters: {
826
+ start: {
827
+ type: "number";
828
+ description: string;
829
+ };
830
+ limit: {
831
+ type: "number";
832
+ description: string;
833
+ };
834
+ metadata: {
835
+ type: "boolean";
836
+ description: string;
837
+ };
838
+ order_field: {
839
+ type: "string";
840
+ description: string;
841
+ };
842
+ order_direction: {
843
+ type: "string";
844
+ description: string;
845
+ };
846
+ fields: {
847
+ type: "string";
848
+ description: string;
849
+ };
850
+ name: {
851
+ type: "string";
852
+ description: string;
853
+ };
854
+ status: {
855
+ type: "string";
856
+ description: string;
857
+ };
858
+ };
859
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
860
+ };
861
+ getWarehousesById: {
862
+ description: string;
863
+ parameters: {
864
+ id: {
865
+ type: "string";
866
+ description: string;
867
+ required: true;
868
+ };
869
+ };
870
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
871
+ };
872
+ deleteWarehousesById: {
873
+ description: string;
874
+ parameters: {
875
+ id: {
876
+ type: "string";
877
+ description: string;
878
+ required: true;
879
+ };
880
+ };
881
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
882
+ };
883
+ updateInventoryAdjustmentsNumerationsById: {
884
+ description: string;
885
+ parameters: {
886
+ id: {
887
+ type: "string";
888
+ description: string;
889
+ required: true;
890
+ };
891
+ body: {
892
+ type: "object";
893
+ description: string;
894
+ };
895
+ };
896
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
897
+ };
898
+ updateInventoryAdjustmentsById: {
899
+ description: string;
900
+ parameters: {
901
+ id: {
902
+ type: "string";
903
+ description: string;
904
+ required: true;
905
+ };
906
+ body: {
907
+ type: "object";
908
+ description: string;
909
+ };
910
+ };
911
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
912
+ };
913
+ createInventoryAdjustments: {
914
+ description: string;
915
+ parameters: {
916
+ body: {
917
+ type: "object";
918
+ description: string;
919
+ };
920
+ };
921
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
922
+ };
923
+ createInventoryAdjustmentsNumerations: {
924
+ description: string;
925
+ parameters: {
926
+ body: {
927
+ type: "object";
928
+ description: string;
929
+ };
930
+ };
931
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
932
+ };
933
+ getInventoryAdjustments: {
934
+ description: string;
935
+ parameters: {
936
+ start: {
937
+ type: "number";
938
+ description: string;
939
+ };
940
+ limit: {
941
+ type: "number";
942
+ description: string;
943
+ };
944
+ order_direction: {
945
+ type: "string";
946
+ description: string;
947
+ };
948
+ order_field: {
949
+ type: "string";
950
+ description: string;
951
+ };
952
+ number: {
953
+ type: "number";
954
+ description: string;
955
+ };
956
+ date: {
957
+ type: "string";
958
+ description: string;
959
+ };
960
+ warehouse_id: {
961
+ type: "string";
962
+ description: string;
963
+ };
964
+ metadata: {
965
+ type: "string";
966
+ description: string;
967
+ };
968
+ };
969
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
970
+ };
971
+ getInventoryAdjustmentsNumerations: {
972
+ description: string;
973
+ parameters: {
974
+ start: {
975
+ type: "string";
976
+ description: string;
977
+ };
978
+ limit: {
979
+ type: "string";
980
+ description: string;
981
+ };
982
+ name: {
983
+ type: "string";
984
+ description: string;
985
+ };
986
+ autoIncrement: {
987
+ type: "boolean";
988
+ description: string;
989
+ };
990
+ metadata: {
991
+ type: "boolean";
992
+ description: string;
993
+ };
994
+ status: {
995
+ type: "boolean";
996
+ description: string;
997
+ };
998
+ fields: {
999
+ type: "string";
1000
+ description: string;
1001
+ };
1002
+ };
1003
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1004
+ };
1005
+ getInventoryAdjustmentsNumerationsById: {
1006
+ description: string;
1007
+ parameters: {
1008
+ id: {
1009
+ type: "string";
1010
+ description: string;
1011
+ required: true;
1012
+ };
1013
+ };
1014
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1015
+ };
1016
+ getInventoryAdjustmentsById: {
1017
+ description: string;
1018
+ parameters: {
1019
+ id: {
1020
+ type: "string";
1021
+ description: string;
1022
+ required: true;
1023
+ };
1024
+ };
1025
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1026
+ };
1027
+ deleteInventoryAdjustmentsNumerationsById: {
1028
+ description: string;
1029
+ parameters: {
1030
+ id: {
1031
+ type: "string";
1032
+ description: string;
1033
+ required: true;
1034
+ };
1035
+ };
1036
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1037
+ };
1038
+ deleteInventoryAdjustmentsById: {
1039
+ description: string;
1040
+ parameters: {
1041
+ id: {
1042
+ type: "string";
1043
+ description: string;
1044
+ required: true;
1045
+ };
1046
+ };
1047
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1048
+ };
1049
+ updateRemissionsById: {
1050
+ description: string;
1051
+ parameters: {
1052
+ id: {
1053
+ type: "string";
1054
+ description: string;
1055
+ required: true;
1056
+ };
1057
+ body: {
1058
+ type: "object";
1059
+ description: string;
1060
+ };
1061
+ };
1062
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1063
+ };
1064
+ createRemissions: {
1065
+ description: string;
1066
+ parameters: {
1067
+ body: {
1068
+ type: "object";
1069
+ description: string;
1070
+ };
1071
+ };
1072
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1073
+ };
1074
+ createRemissionsByIdVoid: {
1075
+ description: string;
1076
+ parameters: {
1077
+ id: {
1078
+ type: "string";
1079
+ description: string;
1080
+ required: true;
1081
+ };
1082
+ };
1083
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1084
+ };
1085
+ createRemissionsByIdOpen: {
1086
+ description: string;
1087
+ parameters: {
1088
+ id: {
1089
+ type: "string";
1090
+ description: string;
1091
+ required: true;
1092
+ };
1093
+ };
1094
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1095
+ };
1096
+ createRemissionsByIdAttachment: {
1097
+ description: string;
1098
+ parameters: {
1099
+ id: {
1100
+ type: "string";
1101
+ description: string;
1102
+ required: true;
1103
+ };
1104
+ body: {
1105
+ type: "object";
1106
+ description: string;
1107
+ };
1108
+ };
1109
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1110
+ };
1111
+ getRemissions: {
1112
+ description: string;
1113
+ parameters: {
1114
+ start: {
1115
+ type: "number";
1116
+ description: string;
1117
+ };
1118
+ limit: {
1119
+ type: "number";
1120
+ description: string;
1121
+ };
1122
+ order_direction: {
1123
+ type: "string";
1124
+ description: string;
1125
+ };
1126
+ order_field: {
1127
+ type: "string";
1128
+ description: string;
1129
+ };
1130
+ metadata: {
1131
+ type: "boolean";
1132
+ description: string;
1133
+ };
1134
+ client_id: {
1135
+ type: "string";
1136
+ description: string;
1137
+ };
1138
+ attachment: {
1139
+ type: "boolean";
1140
+ description: string;
1141
+ };
1142
+ item_id: {
1143
+ type: "string";
1144
+ description: string;
1145
+ };
1146
+ number: {
1147
+ type: "string";
1148
+ description: string;
1149
+ };
1150
+ client_name: {
1151
+ type: "string";
1152
+ description: string;
1153
+ };
1154
+ date: {
1155
+ type: "string";
1156
+ description: string;
1157
+ };
1158
+ dueDate: {
1159
+ type: "string";
1160
+ description: string;
1161
+ };
1162
+ status: {
1163
+ type: "string";
1164
+ description: string;
1165
+ };
1166
+ };
1167
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1168
+ };
1169
+ getRemissionsById: {
1170
+ description: string;
1171
+ parameters: {
1172
+ id: {
1173
+ type: "string";
1174
+ description: string;
1175
+ required: true;
1176
+ };
1177
+ fields: {
1178
+ type: "string";
1179
+ description: string;
1180
+ };
1181
+ };
1182
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1183
+ };
1184
+ deleteRemissionsById: {
1185
+ description: string;
1186
+ parameters: {
1187
+ id: {
1188
+ type: "string";
1189
+ description: string;
1190
+ required: true;
1191
+ };
1192
+ };
1193
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1194
+ };
1195
+ deleteRemissionsAttachmentById: {
1196
+ description: string;
1197
+ parameters: {
1198
+ idAttachment: {
1199
+ type: "string";
1200
+ description: string;
1201
+ required: true;
1202
+ };
1203
+ };
1204
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1205
+ };
1206
+ updatePaymentsById: {
1207
+ description: string;
1208
+ parameters: {
1209
+ id: {
1210
+ type: "string";
1211
+ description: string;
1212
+ required: true;
1213
+ };
1214
+ body: {
1215
+ type: "object";
1216
+ description: string;
1217
+ };
1218
+ };
1219
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1220
+ };
1221
+ createPaymentsByIdVoid: {
1222
+ description: string;
1223
+ parameters: {
1224
+ id: {
1225
+ type: "string";
1226
+ description: string;
1227
+ required: true;
1228
+ };
1229
+ body: {
1230
+ type: "object";
1231
+ description: string;
1232
+ };
1233
+ };
1234
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1235
+ };
1236
+ createPaymentsByIdOpen: {
1237
+ description: string;
1238
+ parameters: {
1239
+ id: {
1240
+ type: "string";
1241
+ description: string;
1242
+ required: true;
1243
+ };
1244
+ };
1245
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1246
+ };
1247
+ createPaymentsByIdAttachment: {
1248
+ description: string;
1249
+ parameters: {
1250
+ id: {
1251
+ type: "string";
1252
+ description: string;
1253
+ required: true;
1254
+ };
1255
+ body: {
1256
+ type: "object";
1257
+ description: string;
1258
+ };
1259
+ };
1260
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1261
+ };
1262
+ createPayments: {
1263
+ description: string;
1264
+ parameters: {
1265
+ body: {
1266
+ type: "object";
1267
+ description: string;
1268
+ };
1269
+ };
1270
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1271
+ };
1272
+ getPaymentsById: {
1273
+ description: string;
1274
+ parameters: {
1275
+ id: {
1276
+ type: "string";
1277
+ description: string;
1278
+ required: true;
1279
+ };
1280
+ account_id: {
1281
+ type: "string";
1282
+ description: string;
1283
+ };
1284
+ conciliated: {
1285
+ type: "boolean";
1286
+ description: string;
1287
+ };
1288
+ fields: {
1289
+ type: "string";
1290
+ description: string;
1291
+ };
1292
+ };
1293
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1294
+ };
1295
+ getPayments: {
1296
+ description: string;
1297
+ parameters: {
1298
+ start: {
1299
+ type: "number";
1300
+ description: string;
1301
+ };
1302
+ limit: {
1303
+ type: "number";
1304
+ description: string;
1305
+ };
1306
+ order_direction: {
1307
+ type: "string";
1308
+ description: string;
1309
+ };
1310
+ order_field: {
1311
+ type: "string";
1312
+ description: string;
1313
+ };
1314
+ type: {
1315
+ type: "string";
1316
+ description: string;
1317
+ };
1318
+ metadata: {
1319
+ type: "boolean";
1320
+ description: string;
1321
+ };
1322
+ id: {
1323
+ type: "string";
1324
+ description: string;
1325
+ };
1326
+ client_id: {
1327
+ type: "string";
1328
+ description: string;
1329
+ };
1330
+ conciliation_id: {
1331
+ type: "string";
1332
+ description: string;
1333
+ };
1334
+ includeUnconciliated: {
1335
+ type: "boolean";
1336
+ description: string;
1337
+ };
1338
+ fields: {
1339
+ type: "string";
1340
+ description: string;
1341
+ };
1342
+ };
1343
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1344
+ };
1345
+ deletePaymentsById: {
1346
+ description: string;
1347
+ parameters: {
1348
+ id: {
1349
+ type: "string";
1350
+ description: string;
1351
+ required: true;
1352
+ };
1353
+ };
1354
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1355
+ };
1356
+ updateIncomeDebitNotesById: {
1357
+ description: string;
1358
+ parameters: {
1359
+ id: {
1360
+ type: "string";
1361
+ description: string;
1362
+ required: true;
1363
+ };
1364
+ body: {
1365
+ type: "object";
1366
+ description: string;
1367
+ };
1368
+ };
1369
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1370
+ };
1371
+ createIncomeDebitNotes: {
1372
+ description: string;
1373
+ parameters: {
1374
+ body: {
1375
+ type: "object";
1376
+ description: string;
1377
+ };
1378
+ };
1379
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1380
+ };
1381
+ getIncomeDebitNotes: {
1382
+ description: string;
1383
+ parameters: {
1384
+ status: {
1385
+ type: "string";
1386
+ description: string;
1387
+ };
1388
+ client_name: {
1389
+ type: "string";
1390
+ description: string;
1391
+ };
1392
+ client_identification: {
1393
+ type: "string";
1394
+ description: string;
1395
+ };
1396
+ date: {
1397
+ type: "string";
1398
+ description: string;
1399
+ };
1400
+ dueDate: {
1401
+ type: "string";
1402
+ description: string;
1403
+ };
1404
+ prefix: {
1405
+ type: "string";
1406
+ description: string;
1407
+ };
1408
+ number: {
1409
+ type: "number";
1410
+ description: string;
1411
+ };
1412
+ emission_status: {
1413
+ type: "string";
1414
+ description: string;
1415
+ };
1416
+ };
1417
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1418
+ };
1419
+ getIncomeDebitNotesById: {
1420
+ description: string;
1421
+ parameters: {
1422
+ id: {
1423
+ type: "string";
1424
+ description: string;
1425
+ required: true;
1426
+ };
1427
+ };
1428
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1429
+ };
1430
+ deleteIncomeDebitNotesById: {
1431
+ description: string;
1432
+ parameters: {
1433
+ id: {
1434
+ type: "string";
1435
+ description: string;
1436
+ required: true;
1437
+ };
1438
+ };
1439
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1440
+ };
1441
+ updateCreditNotesById: {
1442
+ description: string;
1443
+ parameters: {
1444
+ id: {
1445
+ type: "string";
1446
+ description: string;
1447
+ required: true;
1448
+ };
1449
+ body: {
1450
+ type: "object";
1451
+ description: string;
1452
+ };
1453
+ };
1454
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1455
+ };
1456
+ createCreditNotes: {
1457
+ description: string;
1458
+ parameters: {
1459
+ body: {
1460
+ type: "object";
1461
+ description: string;
1462
+ };
1463
+ };
1464
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1465
+ };
1466
+ createCreditNotesByIdEmail: {
1467
+ description: string;
1468
+ parameters: {
1469
+ id: {
1470
+ type: "string";
1471
+ description: string;
1472
+ required: true;
1473
+ };
1474
+ body: {
1475
+ type: "object";
1476
+ description: string;
1477
+ };
1478
+ };
1479
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1480
+ };
1481
+ getCreditNotes: {
1482
+ description: string;
1483
+ parameters: {
1484
+ start: {
1485
+ type: "number";
1486
+ description: string;
1487
+ };
1488
+ limit: {
1489
+ type: "number";
1490
+ description: string;
1491
+ };
1492
+ metadata: {
1493
+ type: "boolean";
1494
+ description: string;
1495
+ };
1496
+ id: {
1497
+ type: "string";
1498
+ description: string;
1499
+ };
1500
+ item_id: {
1501
+ type: "string";
1502
+ description: string;
1503
+ };
1504
+ client_id: {
1505
+ type: "string";
1506
+ description: string;
1507
+ };
1508
+ attachment: {
1509
+ type: "boolean";
1510
+ description: string;
1511
+ };
1512
+ number: {
1513
+ type: "string";
1514
+ description: string;
1515
+ };
1516
+ client_name: {
1517
+ type: "string";
1518
+ description: string;
1519
+ };
1520
+ date: {
1521
+ type: "string";
1522
+ description: string;
1523
+ };
1524
+ emission_status: {
1525
+ type: "string";
1526
+ description: string;
1527
+ };
1528
+ };
1529
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1530
+ };
1531
+ getCreditNotesById: {
1532
+ description: string;
1533
+ parameters: {
1534
+ id: {
1535
+ type: "string";
1536
+ description: string;
1537
+ required: true;
1538
+ };
1539
+ fields: {
1540
+ type: "string";
1541
+ description: string;
1542
+ };
1543
+ };
1544
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1545
+ };
1546
+ deleteCreditNotesById: {
1547
+ description: string;
1548
+ parameters: {
1549
+ id: {
1550
+ type: "string";
1551
+ description: string;
1552
+ required: true;
1553
+ };
1554
+ };
1555
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1556
+ };
1557
+ updateGlobalInvoicesById: {
1558
+ description: string;
1559
+ parameters: {
1560
+ id: {
1561
+ type: "string";
1562
+ description: string;
1563
+ required: true;
1564
+ };
1565
+ body: {
1566
+ type: "object";
1567
+ description: string;
1568
+ };
1569
+ };
1570
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1571
+ };
1572
+ createGlobalInvoices: {
1573
+ description: string;
1574
+ parameters: {
1575
+ body: {
1576
+ type: "object";
1577
+ description: string;
1578
+ };
1579
+ };
1580
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1581
+ };
1582
+ getGlobalInvoices: {
1583
+ description: string;
1584
+ parameters: {};
1585
+ execute: (_params: Record<string, unknown>) => Promise<unknown>;
1586
+ };
1587
+ getGlobalInvoicesById: {
1588
+ description: string;
1589
+ parameters: {
1590
+ id: {
1591
+ type: "string";
1592
+ description: string;
1593
+ required: true;
1594
+ };
1595
+ };
1596
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1597
+ };
1598
+ deleteGlobalInvoicesById: {
1599
+ description: string;
1600
+ parameters: {
1601
+ id: {
1602
+ type: "string";
1603
+ description: string;
1604
+ required: true;
1605
+ };
1606
+ };
1607
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1608
+ };
1609
+ updateInvoicesById: {
1610
+ description: string;
1611
+ parameters: {
1612
+ id: {
1613
+ type: "string";
1614
+ description: string;
1615
+ required: true;
1616
+ };
1617
+ body: {
1618
+ type: "object";
1619
+ description: string;
1620
+ };
1621
+ };
1622
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1623
+ };
1624
+ updateInvoicesByIdRetentionsApplied: {
1625
+ description: string;
1626
+ parameters: {
1627
+ id: {
1628
+ type: "string";
1629
+ description: string;
1630
+ required: true;
1631
+ };
1632
+ body: {
1633
+ type: "object";
1634
+ description: string;
1635
+ };
1636
+ };
1637
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1638
+ };
1639
+ createInvoicesByIdEmail: {
1640
+ description: string;
1641
+ parameters: {
1642
+ id: {
1643
+ type: "string";
1644
+ description: string;
1645
+ required: true;
1646
+ };
1647
+ body: {
1648
+ type: "object";
1649
+ description: string;
1650
+ };
1651
+ };
1652
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1653
+ };
1654
+ createInvoices: {
1655
+ description: string;
1656
+ parameters: {
1657
+ body: {
1658
+ type: "object";
1659
+ description: string;
1660
+ };
1661
+ };
1662
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1663
+ };
1664
+ createInvoicesStamp: {
1665
+ description: string;
1666
+ parameters: {
1667
+ body: {
1668
+ type: "object";
1669
+ description: string;
1670
+ };
1671
+ };
1672
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1673
+ };
1674
+ createInvoicesPreview: {
1675
+ description: string;
1676
+ parameters: {
1677
+ body: {
1678
+ type: "object";
1679
+ description: string;
1680
+ };
1681
+ };
1682
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1683
+ };
1684
+ createInvoicesByIdVoid: {
1685
+ description: string;
1686
+ parameters: {
1687
+ id: {
1688
+ type: "string";
1689
+ description: string;
1690
+ required: true;
1691
+ };
1692
+ body: {
1693
+ type: "object";
1694
+ description: string;
1695
+ };
1696
+ };
1697
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1698
+ };
1699
+ createInvoicesByIdOpen: {
1700
+ description: string;
1701
+ parameters: {
1702
+ id: {
1703
+ type: "string";
1704
+ description: string;
1705
+ required: true;
1706
+ };
1707
+ body: {
1708
+ type: "object";
1709
+ description: string;
1710
+ };
1711
+ };
1712
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1713
+ };
1714
+ createInvoicesByIdAttachment: {
1715
+ description: string;
1716
+ parameters: {
1717
+ id: {
1718
+ type: "string";
1719
+ description: string;
1720
+ required: true;
1721
+ };
1722
+ body: {
1723
+ type: "object";
1724
+ description: string;
1725
+ };
1726
+ };
1727
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1728
+ };
1729
+ getInvoicesById: {
1730
+ description: string;
1731
+ parameters: {
1732
+ id: {
1733
+ type: "string";
1734
+ description: string;
1735
+ required: true;
1736
+ };
1737
+ fields: {
1738
+ type: "string";
1739
+ description: string;
1740
+ };
1741
+ };
1742
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1743
+ };
1744
+ getInvoices: {
1745
+ description: string;
1746
+ parameters: {
1747
+ start: {
1748
+ type: "number";
1749
+ description: string;
1750
+ };
1751
+ limit: {
1752
+ type: "number";
1753
+ description: string;
1754
+ };
1755
+ order_direction: {
1756
+ type: "string";
1757
+ description: string;
1758
+ };
1759
+ order_field: {
1760
+ type: "string";
1761
+ description: string;
1762
+ };
1763
+ metadata: {
1764
+ type: "boolean";
1765
+ description: string;
1766
+ };
1767
+ id: {
1768
+ type: "string";
1769
+ description: string;
1770
+ };
1771
+ date: {
1772
+ type: "string";
1773
+ description: string;
1774
+ };
1775
+ dueDate: {
1776
+ type: "string";
1777
+ description: string;
1778
+ };
1779
+ status: {
1780
+ type: "string";
1781
+ description: string;
1782
+ };
1783
+ client_id: {
1784
+ type: "string";
1785
+ description: string;
1786
+ };
1787
+ client_name: {
1788
+ type: "string";
1789
+ description: string;
1790
+ };
1791
+ client_identification: {
1792
+ type: "string";
1793
+ description: string;
1794
+ };
1795
+ numberTemplate_fullNumber: {
1796
+ type: "string";
1797
+ description: string;
1798
+ };
1799
+ item_id: {
1800
+ type: "string";
1801
+ description: string;
1802
+ };
1803
+ date_after: {
1804
+ type: "string";
1805
+ description: string;
1806
+ };
1807
+ date_afterOrNow: {
1808
+ type: "string";
1809
+ description: string;
1810
+ };
1811
+ date_before: {
1812
+ type: "string";
1813
+ description: string;
1814
+ };
1815
+ date_beforeOrNow: {
1816
+ type: "string";
1817
+ description: string;
1818
+ };
1819
+ dueDate_after: {
1820
+ type: "string";
1821
+ description: string;
1822
+ };
1823
+ dueDate_afterOrNow: {
1824
+ type: "string";
1825
+ description: string;
1826
+ };
1827
+ dueDate_before: {
1828
+ type: "string";
1829
+ description: string;
1830
+ };
1831
+ dueDate_beforeOrNow: {
1832
+ type: "string";
1833
+ description: string;
1834
+ };
1835
+ toReplace: {
1836
+ type: "boolean";
1837
+ description: string;
1838
+ };
1839
+ download: {
1840
+ type: "boolean";
1841
+ description: string;
1842
+ };
1843
+ downloadType: {
1844
+ type: "string";
1845
+ description: string;
1846
+ };
1847
+ };
1848
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1849
+ };
1850
+ deleteInvoicesById: {
1851
+ description: string;
1852
+ parameters: {
1853
+ id: {
1854
+ type: "string";
1855
+ description: string;
1856
+ required: true;
1857
+ };
1858
+ };
1859
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1860
+ };
1861
+ deleteInvoicesAttachmentById: {
1862
+ description: string;
1863
+ parameters: {
1864
+ idAttachment: {
1865
+ type: "string";
1866
+ description: string;
1867
+ required: true;
1868
+ };
1869
+ };
1870
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1871
+ };
1872
+ updateRecurringInvoicesById: {
1873
+ description: string;
1874
+ parameters: {
1875
+ id: {
1876
+ type: "string";
1877
+ description: string;
1878
+ required: true;
1879
+ };
1880
+ body: {
1881
+ type: "object";
1882
+ description: string;
1883
+ };
1884
+ };
1885
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1886
+ };
1887
+ createRecurringInvoices: {
1888
+ description: string;
1889
+ parameters: {
1890
+ body: {
1891
+ type: "object";
1892
+ description: string;
1893
+ };
1894
+ };
1895
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1896
+ };
1897
+ getRecurringInvoices: {
1898
+ description: string;
1899
+ parameters: {
1900
+ start: {
1901
+ type: "number";
1902
+ description: string;
1903
+ };
1904
+ limit: {
1905
+ type: "number";
1906
+ description: string;
1907
+ };
1908
+ order_direction: {
1909
+ type: "string";
1910
+ description: string;
1911
+ };
1912
+ order_field: {
1913
+ type: "string";
1914
+ description: string;
1915
+ };
1916
+ metadata: {
1917
+ type: "boolean";
1918
+ description: string;
1919
+ };
1920
+ startDate: {
1921
+ type: "string";
1922
+ description: string;
1923
+ };
1924
+ endDate: {
1925
+ type: "string";
1926
+ description: string;
1927
+ };
1928
+ repeatEvery: {
1929
+ type: "number";
1930
+ description: string;
1931
+ };
1932
+ term: {
1933
+ type: "number";
1934
+ description: string;
1935
+ };
1936
+ client_id: {
1937
+ type: "string";
1938
+ description: string;
1939
+ };
1940
+ name: {
1941
+ type: "string";
1942
+ description: string;
1943
+ };
1944
+ };
1945
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1946
+ };
1947
+ getRecurringInvoicesById: {
1948
+ description: string;
1949
+ parameters: {
1950
+ id: {
1951
+ type: "string";
1952
+ description: string;
1953
+ required: true;
1954
+ };
1955
+ };
1956
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1957
+ };
1958
+ deleteRecurringInvoicesById: {
1959
+ description: string;
1960
+ parameters: {
1961
+ id: {
1962
+ type: "string";
1963
+ description: string;
1964
+ required: true;
1965
+ };
1966
+ };
1967
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1968
+ };
1969
+ updateTransportationReceiptsById: {
1970
+ description: string;
1971
+ parameters: {
1972
+ id: {
1973
+ type: "string";
1974
+ description: string;
1975
+ required: true;
1976
+ };
1977
+ body: {
1978
+ type: "object";
1979
+ description: string;
1980
+ };
1981
+ };
1982
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1983
+ };
1984
+ createTransportationReceipts: {
1985
+ description: string;
1986
+ parameters: {
1987
+ body: {
1988
+ type: "object";
1989
+ description: string;
1990
+ };
1991
+ };
1992
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
1993
+ };
1994
+ createTransportationReceiptsPreview: {
1995
+ description: string;
1996
+ parameters: {
1997
+ body: {
1998
+ type: "object";
1999
+ description: string;
2000
+ };
2001
+ };
2002
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2003
+ };
2004
+ createTransportationReceiptsByIdVoid: {
2005
+ description: string;
2006
+ parameters: {
2007
+ id: {
2008
+ type: "string";
2009
+ description: string;
2010
+ required: true;
2011
+ };
2012
+ body: {
2013
+ type: "object";
2014
+ description: string;
2015
+ };
2016
+ };
2017
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2018
+ };
2019
+ createTransportationReceiptsByIdOpen: {
2020
+ description: string;
2021
+ parameters: {
2022
+ id: {
2023
+ type: "string";
2024
+ description: string;
2025
+ required: true;
2026
+ };
2027
+ body: {
2028
+ type: "object";
2029
+ description: string;
2030
+ };
2031
+ };
2032
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2033
+ };
2034
+ createTransportationReceiptsByIdEmail: {
2035
+ description: string;
2036
+ parameters: {
2037
+ id: {
2038
+ type: "string";
2039
+ description: string;
2040
+ required: true;
2041
+ };
2042
+ body: {
2043
+ type: "object";
2044
+ description: string;
2045
+ };
2046
+ };
2047
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2048
+ };
2049
+ createTransportationReceiptsByIdAttachment: {
2050
+ description: string;
2051
+ parameters: {
2052
+ id: {
2053
+ type: "string";
2054
+ description: string;
2055
+ required: true;
2056
+ };
2057
+ body: {
2058
+ type: "object";
2059
+ description: string;
2060
+ };
2061
+ };
2062
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2063
+ };
2064
+ getTransportationReceipts: {
2065
+ description: string;
2066
+ parameters: {
2067
+ start: {
2068
+ type: "number";
2069
+ description: string;
2070
+ };
2071
+ limit: {
2072
+ type: "number";
2073
+ description: string;
2074
+ };
2075
+ order_direction: {
2076
+ type: "string";
2077
+ description: string;
2078
+ };
2079
+ order_field: {
2080
+ type: "string";
2081
+ description: string;
2082
+ };
2083
+ metadata: {
2084
+ type: "boolean";
2085
+ description: string;
2086
+ };
2087
+ id: {
2088
+ type: "string";
2089
+ description: string;
2090
+ };
2091
+ date: {
2092
+ type: "string";
2093
+ description: string;
2094
+ };
2095
+ dateShipping: {
2096
+ type: "string";
2097
+ description: string;
2098
+ };
2099
+ status: {
2100
+ type: "string";
2101
+ description: string;
2102
+ };
2103
+ client_id: {
2104
+ type: "string";
2105
+ description: string;
2106
+ };
2107
+ number: {
2108
+ type: "string";
2109
+ description: string;
2110
+ };
2111
+ item_id: {
2112
+ type: "string";
2113
+ description: string;
2114
+ };
2115
+ number_invoice: {
2116
+ type: "string";
2117
+ description: string;
2118
+ };
2119
+ emission_status: {
2120
+ type: "string";
2121
+ description: string;
2122
+ };
2123
+ complement: {
2124
+ type: "string";
2125
+ description: string;
2126
+ };
2127
+ };
2128
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2129
+ };
2130
+ getTransportationReceiptsById: {
2131
+ description: string;
2132
+ parameters: {
2133
+ id: {
2134
+ type: "string";
2135
+ description: string;
2136
+ required: true;
2137
+ };
2138
+ fields: {
2139
+ type: "string";
2140
+ description: string;
2141
+ };
2142
+ };
2143
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2144
+ };
2145
+ deleteTransportationReceiptsById: {
2146
+ description: string;
2147
+ parameters: {
2148
+ id: {
2149
+ type: "string";
2150
+ description: string;
2151
+ required: true;
2152
+ };
2153
+ };
2154
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2155
+ };
2156
+ deleteTransportationReceiptsAttachmentById: {
2157
+ description: string;
2158
+ parameters: {
2159
+ idAttachment: {
2160
+ type: "string";
2161
+ description: string;
2162
+ required: true;
2163
+ };
2164
+ };
2165
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2166
+ };
2167
+ updateEstimatesById: {
2168
+ description: string;
2169
+ parameters: {
2170
+ id: {
2171
+ type: "string";
2172
+ description: string;
2173
+ required: true;
2174
+ };
2175
+ body: {
2176
+ type: "object";
2177
+ description: string;
2178
+ };
2179
+ };
2180
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2181
+ };
2182
+ createEstimates: {
2183
+ description: string;
2184
+ parameters: {
2185
+ body: {
2186
+ type: "object";
2187
+ description: string;
2188
+ };
2189
+ };
2190
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2191
+ };
2192
+ createEstimatesByIdEmail: {
2193
+ description: string;
2194
+ parameters: {
2195
+ id: {
2196
+ type: "string";
2197
+ description: string;
2198
+ required: true;
2199
+ };
2200
+ body: {
2201
+ type: "object";
2202
+ description: string;
2203
+ };
2204
+ };
2205
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2206
+ };
2207
+ getEstimates: {
2208
+ description: string;
2209
+ parameters: {
2210
+ start: {
2211
+ type: "number";
2212
+ description: string;
2213
+ };
2214
+ limit: {
2215
+ type: "number";
2216
+ description: string;
2217
+ };
2218
+ order_direction: {
2219
+ type: "string";
2220
+ description: string;
2221
+ };
2222
+ order_field: {
2223
+ type: "string";
2224
+ description: string;
2225
+ };
2226
+ metadata: {
2227
+ type: "boolean";
2228
+ description: string;
2229
+ };
2230
+ item_id: {
2231
+ type: "string";
2232
+ description: string;
2233
+ };
2234
+ client_id: {
2235
+ type: "string";
2236
+ description: string;
2237
+ };
2238
+ number: {
2239
+ type: "string";
2240
+ description: string;
2241
+ };
2242
+ client_name: {
2243
+ type: "string";
2244
+ description: string;
2245
+ };
2246
+ date: {
2247
+ type: "string";
2248
+ description: string;
2249
+ };
2250
+ };
2251
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2252
+ };
2253
+ getEstimatesById: {
2254
+ description: string;
2255
+ parameters: {
2256
+ id: {
2257
+ type: "string";
2258
+ description: string;
2259
+ required: true;
2260
+ };
2261
+ fields: {
2262
+ type: "string";
2263
+ description: string;
2264
+ };
2265
+ };
2266
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2267
+ };
2268
+ deleteEstimatesById: {
2269
+ description: string;
2270
+ parameters: {
2271
+ id: {
2272
+ type: "string";
2273
+ description: string;
2274
+ required: true;
2275
+ };
2276
+ };
2277
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2278
+ };
2279
+ getRecurringPayments: {
2280
+ description: string;
2281
+ parameters: {
2282
+ start: {
2283
+ type: "number";
2284
+ description: string;
2285
+ };
2286
+ limit: {
2287
+ type: "number";
2288
+ description: string;
2289
+ };
2290
+ order_direction: {
2291
+ type: "string";
2292
+ description: string;
2293
+ };
2294
+ order_field: {
2295
+ type: "string";
2296
+ description: string;
2297
+ };
2298
+ metadata: {
2299
+ type: "boolean";
2300
+ description: string;
2301
+ };
2302
+ client_id: {
2303
+ type: "number";
2304
+ description: string;
2305
+ };
2306
+ };
2307
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2308
+ };
2309
+ getRecurringPaymentsById: {
2310
+ description: string;
2311
+ parameters: {
2312
+ id: {
2313
+ type: "number";
2314
+ description: string;
2315
+ required: true;
2316
+ };
2317
+ };
2318
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2319
+ };
2320
+ updateDebitNotesById: {
2321
+ description: string;
2322
+ parameters: {
2323
+ id: {
2324
+ type: "number";
2325
+ description: string;
2326
+ required: true;
2327
+ };
2328
+ body: {
2329
+ type: "object";
2330
+ description: string;
2331
+ };
2332
+ };
2333
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2334
+ };
2335
+ createDebitNotes: {
2336
+ description: string;
2337
+ parameters: {
2338
+ body: {
2339
+ type: "object";
2340
+ description: string;
2341
+ };
2342
+ };
2343
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2344
+ };
2345
+ getDebitNotes: {
2346
+ description: string;
2347
+ parameters: {
2348
+ metadata: {
2349
+ type: "boolean";
2350
+ description: string;
2351
+ };
2352
+ start: {
2353
+ type: "number";
2354
+ description: string;
2355
+ };
2356
+ limit: {
2357
+ type: "number";
2358
+ description: string;
2359
+ };
2360
+ id: {
2361
+ type: "string";
2362
+ description: string;
2363
+ };
2364
+ number: {
2365
+ type: "string";
2366
+ description: string;
2367
+ };
2368
+ date: {
2369
+ type: "string";
2370
+ description: string;
2371
+ };
2372
+ item_id: {
2373
+ type: "number";
2374
+ description: string;
2375
+ };
2376
+ client_id: {
2377
+ type: "number";
2378
+ description: string;
2379
+ };
2380
+ provider_name: {
2381
+ type: "string";
2382
+ description: string;
2383
+ };
2384
+ };
2385
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2386
+ };
2387
+ getDebitNotesById: {
2388
+ description: string;
2389
+ parameters: {
2390
+ id: {
2391
+ type: "number";
2392
+ description: string;
2393
+ required: true;
2394
+ };
2395
+ fields: {
2396
+ type: "string";
2397
+ description: string;
2398
+ };
2399
+ };
2400
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2401
+ };
2402
+ deleteDebitNotesById: {
2403
+ description: string;
2404
+ parameters: {
2405
+ id: {
2406
+ type: "number";
2407
+ description: string;
2408
+ required: true;
2409
+ };
2410
+ };
2411
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2412
+ };
2413
+ updatePaymentsById1: {
2414
+ description: string;
2415
+ parameters: {
2416
+ id: {
2417
+ type: "number";
2418
+ description: string;
2419
+ required: true;
2420
+ };
2421
+ body: {
2422
+ type: "object";
2423
+ description: string;
2424
+ };
2425
+ };
2426
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2427
+ };
2428
+ createPayments1: {
2429
+ description: string;
2430
+ parameters: {
2431
+ body: {
2432
+ type: "object";
2433
+ description: string;
2434
+ };
2435
+ };
2436
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2437
+ };
2438
+ createPaymentsByIdVoid1: {
2439
+ description: string;
2440
+ parameters: {
2441
+ id: {
2442
+ type: "number";
2443
+ description: string;
2444
+ required: true;
2445
+ };
2446
+ };
2447
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2448
+ };
2449
+ createPaymentsByIdOpen1: {
2450
+ description: string;
2451
+ parameters: {
2452
+ id: {
2453
+ type: "number";
2454
+ description: string;
2455
+ required: true;
2456
+ };
2457
+ };
2458
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2459
+ };
2460
+ createPaymentsByIdAttachment1: {
2461
+ description: string;
2462
+ parameters: {
2463
+ id: {
2464
+ type: "number";
2465
+ description: string;
2466
+ required: true;
2467
+ };
2468
+ body: {
2469
+ type: "object";
2470
+ description: string;
2471
+ };
2472
+ };
2473
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2474
+ };
2475
+ getPayments1: {
2476
+ description: string;
2477
+ parameters: {
2478
+ start: {
2479
+ type: "number";
2480
+ description: string;
2481
+ };
2482
+ limit: {
2483
+ type: "number";
2484
+ description: string;
2485
+ };
2486
+ order_direction: {
2487
+ type: "string";
2488
+ description: string;
2489
+ };
2490
+ order_field: {
2491
+ type: "string";
2492
+ description: string;
2493
+ };
2494
+ type: {
2495
+ type: "string";
2496
+ description: string;
2497
+ };
2498
+ metadata: {
2499
+ type: "boolean";
2500
+ description: string;
2501
+ };
2502
+ client_id: {
2503
+ type: "number";
2504
+ description: string;
2505
+ };
2506
+ conciliation_id: {
2507
+ type: "number";
2508
+ description: string;
2509
+ };
2510
+ id: {
2511
+ type: "string";
2512
+ description: string;
2513
+ };
2514
+ includeUnconciliated: {
2515
+ type: "boolean";
2516
+ description: string;
2517
+ };
2518
+ fields: {
2519
+ type: "string";
2520
+ description: string;
2521
+ };
2522
+ };
2523
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2524
+ };
2525
+ getPaymentsById1: {
2526
+ description: string;
2527
+ parameters: {
2528
+ id: {
2529
+ type: "number";
2530
+ description: string;
2531
+ required: true;
2532
+ };
2533
+ fields: {
2534
+ type: "string";
2535
+ description: string;
2536
+ };
2537
+ };
2538
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2539
+ };
2540
+ deletePaymentsById1: {
2541
+ description: string;
2542
+ parameters: {
2543
+ id: {
2544
+ type: "number";
2545
+ description: string;
2546
+ required: true;
2547
+ };
2548
+ };
2549
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2550
+ };
2551
+ updatePurchaseOrdersById: {
2552
+ description: string;
2553
+ parameters: {
2554
+ id: {
2555
+ type: "number";
2556
+ description: string;
2557
+ required: true;
2558
+ };
2559
+ body: {
2560
+ type: "object";
2561
+ description: string;
2562
+ };
2563
+ };
2564
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2565
+ };
2566
+ createPurchaseOrdersByIdVoid: {
2567
+ description: string;
2568
+ parameters: {
2569
+ id: {
2570
+ type: "number";
2571
+ description: string;
2572
+ required: true;
2573
+ };
2574
+ };
2575
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2576
+ };
2577
+ createPurchaseOrdersByIdAttachment: {
2578
+ description: string;
2579
+ parameters: {
2580
+ id: {
2581
+ type: "number";
2582
+ description: string;
2583
+ required: true;
2584
+ };
2585
+ body: {
2586
+ type: "object";
2587
+ description: string;
2588
+ };
2589
+ };
2590
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2591
+ };
2592
+ getPurchaseOrders: {
2593
+ description: string;
2594
+ parameters: {
2595
+ start: {
2596
+ type: "number";
2597
+ description: string;
2598
+ };
2599
+ limit: {
2600
+ type: "number";
2601
+ description: string;
2602
+ };
2603
+ order_direction: {
2604
+ type: "string";
2605
+ description: string;
2606
+ };
2607
+ order_field: {
2608
+ type: "string";
2609
+ description: string;
2610
+ };
2611
+ metadata: {
2612
+ type: "boolean";
2613
+ description: string;
2614
+ };
2615
+ client_id: {
2616
+ type: "string";
2617
+ description: string;
2618
+ };
2619
+ id: {
2620
+ type: "number";
2621
+ description: string;
2622
+ };
2623
+ date: {
2624
+ type: "string";
2625
+ description: string;
2626
+ };
2627
+ status: {
2628
+ type: "string";
2629
+ description: string;
2630
+ };
2631
+ item_id: {
2632
+ type: "number";
2633
+ description: string;
2634
+ };
2635
+ provider_name: {
2636
+ type: "string";
2637
+ description: string;
2638
+ };
2639
+ number: {
2640
+ type: "string";
2641
+ description: string;
2642
+ };
2643
+ delivery_date: {
2644
+ type: "string";
2645
+ description: string;
2646
+ };
2647
+ };
2648
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2649
+ };
2650
+ getPurchaseOrdersById: {
2651
+ description: string;
2652
+ parameters: {
2653
+ id: {
2654
+ type: "number";
2655
+ description: string;
2656
+ required: true;
2657
+ };
2658
+ fields: {
2659
+ type: "string";
2660
+ description: string;
2661
+ };
2662
+ };
2663
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2664
+ };
2665
+ deletePurchaseOrdersById: {
2666
+ description: string;
2667
+ parameters: {
2668
+ id: {
2669
+ type: "number";
2670
+ description: string;
2671
+ required: true;
2672
+ };
2673
+ };
2674
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2675
+ };
2676
+ deletePurchaseOrdersAttachmentById: {
2677
+ description: string;
2678
+ parameters: {
2679
+ attachment_id: {
2680
+ type: "number";
2681
+ description: string;
2682
+ required: true;
2683
+ };
2684
+ };
2685
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2686
+ };
2687
+ createPurchaseOrders: {
2688
+ description: string;
2689
+ parameters: {
2690
+ body: {
2691
+ type: "object";
2692
+ description: string;
2693
+ };
2694
+ };
2695
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2696
+ };
2697
+ updateBillsById: {
2698
+ description: string;
2699
+ parameters: {
2700
+ id: {
2701
+ type: "number";
2702
+ description: string;
2703
+ required: true;
2704
+ };
2705
+ body: {
2706
+ type: "object";
2707
+ description: string;
2708
+ };
2709
+ };
2710
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2711
+ };
2712
+ createBills: {
2713
+ description: string;
2714
+ parameters: {
2715
+ body: {
2716
+ type: "object";
2717
+ description: string;
2718
+ };
2719
+ };
2720
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2721
+ };
2722
+ createBillsByIdComments: {
2723
+ description: string;
2724
+ parameters: {
2725
+ id: {
2726
+ type: "number";
2727
+ description: string;
2728
+ required: true;
2729
+ };
2730
+ body: {
2731
+ type: "object";
2732
+ description: string;
2733
+ };
2734
+ };
2735
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2736
+ };
2737
+ createBillsByIdClose: {
2738
+ description: string;
2739
+ parameters: {
2740
+ id: {
2741
+ type: "number";
2742
+ description: string;
2743
+ required: true;
2744
+ };
2745
+ body: {
2746
+ type: "object";
2747
+ description: string;
2748
+ };
2749
+ };
2750
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2751
+ };
2752
+ createBillsByIdAttachment: {
2753
+ description: string;
2754
+ parameters: {
2755
+ id: {
2756
+ type: "number";
2757
+ description: string;
2758
+ required: true;
2759
+ };
2760
+ body: {
2761
+ type: "object";
2762
+ description: string;
2763
+ };
2764
+ };
2765
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2766
+ };
2767
+ getBills: {
2768
+ description: string;
2769
+ parameters: {
2770
+ metadata: {
2771
+ type: "boolean";
2772
+ description: string;
2773
+ };
2774
+ start: {
2775
+ type: "number";
2776
+ description: string;
2777
+ };
2778
+ limit: {
2779
+ type: "number";
2780
+ description: string;
2781
+ };
2782
+ order_direction: {
2783
+ type: "string";
2784
+ description: string;
2785
+ };
2786
+ order_field: {
2787
+ type: "string";
2788
+ description: string;
2789
+ };
2790
+ billNumber: {
2791
+ type: "string";
2792
+ description: string;
2793
+ };
2794
+ client_name: {
2795
+ type: "string";
2796
+ description: string;
2797
+ };
2798
+ date: {
2799
+ type: "string";
2800
+ description: string;
2801
+ };
2802
+ dueDate: {
2803
+ type: "string";
2804
+ description: string;
2805
+ };
2806
+ status: {
2807
+ type: "string";
2808
+ description: string;
2809
+ };
2810
+ item_id: {
2811
+ type: "number";
2812
+ description: string;
2813
+ };
2814
+ client_id: {
2815
+ type: "number";
2816
+ description: string;
2817
+ };
2818
+ provider_name: {
2819
+ type: "string";
2820
+ description: string;
2821
+ };
2822
+ uuid: {
2823
+ type: "string";
2824
+ description: string;
2825
+ };
2826
+ purchaseOrder_id: {
2827
+ type: "number";
2828
+ description: string;
2829
+ };
2830
+ type: {
2831
+ type: "string";
2832
+ description: string;
2833
+ };
2834
+ };
2835
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2836
+ };
2837
+ getBillsById: {
2838
+ description: string;
2839
+ parameters: {
2840
+ id: {
2841
+ type: "number";
2842
+ description: string;
2843
+ required: true;
2844
+ };
2845
+ fields: {
2846
+ type: "string";
2847
+ description: string;
2848
+ };
2849
+ includeVoidPayments: {
2850
+ type: "string";
2851
+ description: string;
2852
+ };
2853
+ };
2854
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2855
+ };
2856
+ deleteBillsById: {
2857
+ description: string;
2858
+ parameters: {
2859
+ id: {
2860
+ type: "number";
2861
+ description: string;
2862
+ required: true;
2863
+ };
2864
+ };
2865
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2866
+ };
2867
+ deleteBillsAttachmentById: {
2868
+ description: string;
2869
+ parameters: {
2870
+ attachment_id: {
2871
+ type: "number";
2872
+ description: string;
2873
+ required: true;
2874
+ };
2875
+ };
2876
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2877
+ };
2878
+ updateContactsRestoreById: {
2879
+ description: string;
2880
+ parameters: {
2881
+ id: {
2882
+ type: "string";
2883
+ description: string;
2884
+ required: true;
2885
+ };
2886
+ };
2887
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2888
+ };
2889
+ createContacts: {
2890
+ description: string;
2891
+ parameters: {
2892
+ body: {
2893
+ type: "object";
2894
+ description: string;
2895
+ };
2896
+ };
2897
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2898
+ };
2899
+ getContacts: {
2900
+ description: string;
2901
+ parameters: {
2902
+ metadata: {
2903
+ type: "boolean";
2904
+ description: string;
2905
+ };
2906
+ start: {
2907
+ type: "number";
2908
+ description: string;
2909
+ };
2910
+ limit: {
2911
+ type: "number";
2912
+ description: string;
2913
+ };
2914
+ order_direction: {
2915
+ type: "string";
2916
+ description: string;
2917
+ };
2918
+ order_field: {
2919
+ type: "string";
2920
+ description: string;
2921
+ };
2922
+ query: {
2923
+ type: "string";
2924
+ description: string;
2925
+ };
2926
+ identification: {
2927
+ type: "string";
2928
+ description: string;
2929
+ };
2930
+ name: {
2931
+ type: "string";
2932
+ description: string;
2933
+ };
2934
+ type: {
2935
+ type: "string";
2936
+ description: string;
2937
+ };
2938
+ mode: {
2939
+ type: "string";
2940
+ description: string;
2941
+ };
2942
+ };
2943
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2944
+ };
2945
+ updateContactsById: {
2946
+ description: string;
2947
+ parameters: {
2948
+ id: {
2949
+ type: "string";
2950
+ description: string;
2951
+ required: true;
2952
+ };
2953
+ body: {
2954
+ type: "object";
2955
+ description: string;
2956
+ };
2957
+ };
2958
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2959
+ };
2960
+ deleteContacts: {
2961
+ description: string;
2962
+ parameters: {
2963
+ id: {
2964
+ type: "string";
2965
+ description: string;
2966
+ required: true;
2967
+ };
2968
+ };
2969
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2970
+ };
2971
+ deleteContactsById: {
2972
+ description: string;
2973
+ parameters: {
2974
+ id: {
2975
+ type: "string";
2976
+ description: string;
2977
+ required: true;
2978
+ };
2979
+ };
2980
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2981
+ };
2982
+ getContactsById: {
2983
+ description: string;
2984
+ parameters: {
2985
+ id: {
2986
+ type: "string";
2987
+ description: string;
2988
+ required: true;
2989
+ };
2990
+ fields: {
2991
+ type: "string";
2992
+ description: string;
2993
+ };
2994
+ };
2995
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
2996
+ };
2997
+ deleteContactsAttachmentById: {
2998
+ description: string;
2999
+ parameters: {
3000
+ idAttachment: {
3001
+ type: "number";
3002
+ description: string;
3003
+ required: true;
3004
+ };
3005
+ };
3006
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3007
+ };
3008
+ createContactsByIdAttachment: {
3009
+ description: string;
3010
+ parameters: {
3011
+ id: {
3012
+ type: "string";
3013
+ description: string;
3014
+ required: true;
3015
+ };
3016
+ body: {
3017
+ type: "object";
3018
+ description: string;
3019
+ };
3020
+ };
3021
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3022
+ };
3023
+ getJournalsById: {
3024
+ description: string;
3025
+ parameters: {
3026
+ id: {
3027
+ type: "string";
3028
+ description: string;
3029
+ required: true;
3030
+ };
3031
+ fields: {
3032
+ type: "array";
3033
+ description: string;
3034
+ };
3035
+ };
3036
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3037
+ };
3038
+ updateJournalsById: {
3039
+ description: string;
3040
+ parameters: {
3041
+ id: {
3042
+ type: "number";
3043
+ description: string;
3044
+ required: true;
3045
+ };
3046
+ body: {
3047
+ type: "object";
3048
+ description: string;
3049
+ };
3050
+ };
3051
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3052
+ };
3053
+ getJournals: {
3054
+ description: string;
3055
+ parameters: {
3056
+ start: {
3057
+ type: "number";
3058
+ description: string;
3059
+ };
3060
+ limit: {
3061
+ type: "number";
3062
+ description: string;
3063
+ };
3064
+ order_direction: {
3065
+ type: "string";
3066
+ description: string;
3067
+ };
3068
+ order_field: {
3069
+ type: "string";
3070
+ description: string;
3071
+ };
3072
+ date: {
3073
+ type: "string";
3074
+ description: string;
3075
+ };
3076
+ client_name: {
3077
+ type: "string";
3078
+ description: string;
3079
+ };
3080
+ reference: {
3081
+ type: "string";
3082
+ description: string;
3083
+ };
3084
+ observations: {
3085
+ type: "string";
3086
+ description: string;
3087
+ };
3088
+ client_id: {
3089
+ type: "string";
3090
+ description: string;
3091
+ };
3092
+ id: {
3093
+ type: "string";
3094
+ description: string;
3095
+ };
3096
+ number: {
3097
+ type: "string";
3098
+ description: string;
3099
+ };
3100
+ fields: {
3101
+ type: "array";
3102
+ description: string;
3103
+ };
3104
+ };
3105
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3106
+ };
3107
+ deleteJournalsById: {
3108
+ description: string;
3109
+ parameters: {
3110
+ id: {
3111
+ type: "number";
3112
+ description: string;
3113
+ required: true;
3114
+ };
3115
+ };
3116
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3117
+ };
3118
+ createJournals: {
3119
+ description: string;
3120
+ parameters: {
3121
+ body: {
3122
+ type: "object";
3123
+ description: string;
3124
+ };
3125
+ };
3126
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3127
+ };
3128
+ getCategoriesById: {
3129
+ description: string;
3130
+ parameters: {
3131
+ id: {
3132
+ type: "number";
3133
+ description: string;
3134
+ required: true;
3135
+ };
3136
+ };
3137
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3138
+ };
3139
+ updateCategoriesById: {
3140
+ description: string;
3141
+ parameters: {
3142
+ id: {
3143
+ type: "number";
3144
+ description: string;
3145
+ required: true;
3146
+ };
3147
+ body: {
3148
+ type: "object";
3149
+ description: string;
3150
+ };
3151
+ };
3152
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3153
+ };
3154
+ getCategoriesSettings: {
3155
+ description: string;
3156
+ parameters: {};
3157
+ execute: (_params: Record<string, unknown>) => Promise<unknown>;
3158
+ };
3159
+ updateCategoriesSettings: {
3160
+ description: string;
3161
+ parameters: {
3162
+ body: {
3163
+ type: "object";
3164
+ description: string;
3165
+ };
3166
+ };
3167
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3168
+ };
3169
+ getCategories: {
3170
+ description: string;
3171
+ parameters: {
3172
+ format: {
3173
+ type: "string";
3174
+ description: string;
3175
+ };
3176
+ type: {
3177
+ type: "string";
3178
+ description: string;
3179
+ };
3180
+ types: {
3181
+ type: "string";
3182
+ description: string;
3183
+ };
3184
+ filter: {
3185
+ type: "string";
3186
+ description: string;
3187
+ };
3188
+ level_greaterThanOrEqualsTo: {
3189
+ type: "number";
3190
+ description: string;
3191
+ };
3192
+ exclude: {
3193
+ type: "string";
3194
+ description: string;
3195
+ };
3196
+ date: {
3197
+ type: "string";
3198
+ description: string;
3199
+ };
3200
+ fields: {
3201
+ type: "string";
3202
+ description: string;
3203
+ };
3204
+ categoryRule_key: {
3205
+ type: "string";
3206
+ description: string;
3207
+ };
3208
+ status: {
3209
+ type: "string";
3210
+ description: string;
3211
+ };
3212
+ name: {
3213
+ type: "string";
3214
+ description: string;
3215
+ };
3216
+ description: {
3217
+ type: "string";
3218
+ description: string;
3219
+ };
3220
+ };
3221
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3222
+ };
3223
+ createCategories: {
3224
+ description: string;
3225
+ parameters: {
3226
+ body: {
3227
+ type: "object";
3228
+ description: string;
3229
+ };
3230
+ };
3231
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3232
+ };
3233
+ getCostCentersById: {
3234
+ description: string;
3235
+ parameters: {
3236
+ id: {
3237
+ type: "number";
3238
+ description: string;
3239
+ required: true;
3240
+ };
3241
+ };
3242
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3243
+ };
3244
+ updateCostCentersById: {
3245
+ description: string;
3246
+ parameters: {
3247
+ id: {
3248
+ type: "number";
3249
+ description: string;
3250
+ required: true;
3251
+ };
3252
+ body: {
3253
+ type: "object";
3254
+ description: string;
3255
+ };
3256
+ };
3257
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3258
+ };
3259
+ getCostCenters: {
3260
+ description: string;
3261
+ parameters: {
3262
+ start: {
3263
+ type: "number";
3264
+ description: string;
3265
+ };
3266
+ limit: {
3267
+ type: "number";
3268
+ description: string;
3269
+ };
3270
+ order_direction: {
3271
+ type: "string";
3272
+ description: string;
3273
+ };
3274
+ order_field: {
3275
+ type: "string";
3276
+ description: string;
3277
+ };
3278
+ status: {
3279
+ type: "string";
3280
+ description: string;
3281
+ };
3282
+ name: {
3283
+ type: "string";
3284
+ description: string;
3285
+ };
3286
+ metadata: {
3287
+ type: "boolean";
3288
+ description: string;
3289
+ };
3290
+ };
3291
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3292
+ };
3293
+ deleteCostCentersById: {
3294
+ description: string;
3295
+ parameters: {
3296
+ id: {
3297
+ type: "number";
3298
+ description: string;
3299
+ required: true;
3300
+ };
3301
+ };
3302
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3303
+ };
3304
+ createCostCenters: {
3305
+ description: string;
3306
+ parameters: {
3307
+ body: {
3308
+ type: "object";
3309
+ description: string;
3310
+ };
3311
+ };
3312
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3313
+ };
3314
+ updateTermsById: {
3315
+ description: string;
3316
+ parameters: {
3317
+ id: {
3318
+ type: "string";
3319
+ description: string;
3320
+ required: true;
3321
+ };
3322
+ body: {
3323
+ type: "object";
3324
+ description: string;
3325
+ };
3326
+ };
3327
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3328
+ };
3329
+ createTerms: {
3330
+ description: string;
3331
+ parameters: {
3332
+ body: {
3333
+ type: "object";
3334
+ description: string;
3335
+ };
3336
+ };
3337
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3338
+ };
3339
+ getTerms: {
3340
+ description: string;
3341
+ parameters: {
3342
+ fields: {
3343
+ type: "string";
3344
+ description: string;
3345
+ };
3346
+ };
3347
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3348
+ };
3349
+ getTermsById: {
3350
+ description: string;
3351
+ parameters: {
3352
+ id: {
3353
+ type: "string";
3354
+ description: string;
3355
+ required: true;
3356
+ };
3357
+ fields: {
3358
+ type: "string";
3359
+ description: string;
3360
+ };
3361
+ };
3362
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3363
+ };
3364
+ deleteTermsById: {
3365
+ description: string;
3366
+ parameters: {
3367
+ id: {
3368
+ type: "string";
3369
+ description: string;
3370
+ required: true;
3371
+ };
3372
+ };
3373
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3374
+ };
3375
+ updateUsersSelfMetadata: {
3376
+ description: string;
3377
+ parameters: {
3378
+ body: {
3379
+ type: "object";
3380
+ description: string;
3381
+ };
3382
+ };
3383
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3384
+ };
3385
+ updateUsersSelf: {
3386
+ description: string;
3387
+ parameters: {
3388
+ body: {
3389
+ type: "object";
3390
+ description: string;
3391
+ };
3392
+ };
3393
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3394
+ };
3395
+ updateUsersById: {
3396
+ description: string;
3397
+ parameters: {
3398
+ id: {
3399
+ type: "string";
3400
+ description: string;
3401
+ required: true;
3402
+ };
3403
+ body: {
3404
+ type: "object";
3405
+ description: string;
3406
+ };
3407
+ };
3408
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3409
+ };
3410
+ updateUsersByIdMetadata: {
3411
+ description: string;
3412
+ parameters: {
3413
+ id: {
3414
+ type: "string";
3415
+ description: string;
3416
+ required: true;
3417
+ };
3418
+ body: {
3419
+ type: "object";
3420
+ description: string;
3421
+ };
3422
+ };
3423
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3424
+ };
3425
+ createUsers: {
3426
+ description: string;
3427
+ parameters: {
3428
+ body: {
3429
+ type: "object";
3430
+ description: string;
3431
+ };
3432
+ };
3433
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3434
+ };
3435
+ createUsersAttachment: {
3436
+ description: string;
3437
+ parameters: {
3438
+ body: {
3439
+ type: "object";
3440
+ description: string;
3441
+ };
3442
+ };
3443
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3444
+ };
3445
+ getUsers: {
3446
+ description: string;
3447
+ parameters: {
3448
+ start: {
3449
+ type: "number";
3450
+ description: string;
3451
+ };
3452
+ limit: {
3453
+ type: "number";
3454
+ description: string;
3455
+ };
3456
+ fields: {
3457
+ type: "string";
3458
+ description: string;
3459
+ };
3460
+ };
3461
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3462
+ };
3463
+ getUsersSelf: {
3464
+ description: string;
3465
+ parameters: {
3466
+ fields: {
3467
+ type: "string";
3468
+ description: string;
3469
+ };
3470
+ };
3471
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3472
+ };
3473
+ getUsersById: {
3474
+ description: string;
3475
+ parameters: {
3476
+ id: {
3477
+ type: "string";
3478
+ description: string;
3479
+ required: true;
3480
+ };
3481
+ fields: {
3482
+ type: "string";
3483
+ description: string;
3484
+ };
3485
+ };
3486
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3487
+ };
3488
+ deleteUsersById: {
3489
+ description: string;
3490
+ parameters: {
3491
+ id: {
3492
+ type: "string";
3493
+ description: string;
3494
+ required: true;
3495
+ };
3496
+ };
3497
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3498
+ };
3499
+ updateRetentionsById: {
3500
+ description: string;
3501
+ parameters: {
3502
+ id: {
3503
+ type: "string";
3504
+ description: string;
3505
+ required: true;
3506
+ };
3507
+ body: {
3508
+ type: "object";
3509
+ description: string;
3510
+ };
3511
+ };
3512
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3513
+ };
3514
+ createRetentions: {
3515
+ description: string;
3516
+ parameters: {
3517
+ body: {
3518
+ type: "object";
3519
+ description: string;
3520
+ };
3521
+ };
3522
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3523
+ };
3524
+ getRetentions: {
3525
+ description: string;
3526
+ parameters: {
3527
+ start: {
3528
+ type: "number";
3529
+ description: string;
3530
+ };
3531
+ limit: {
3532
+ type: "number";
3533
+ description: string;
3534
+ };
3535
+ fields: {
3536
+ type: "string";
3537
+ description: string;
3538
+ };
3539
+ };
3540
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3541
+ };
3542
+ getRetentionsById: {
3543
+ description: string;
3544
+ parameters: {
3545
+ id: {
3546
+ type: "string";
3547
+ description: string;
3548
+ required: true;
3549
+ };
3550
+ fields: {
3551
+ type: "string";
3552
+ description: string;
3553
+ };
3554
+ };
3555
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3556
+ };
3557
+ deleteRetentionsById: {
3558
+ description: string;
3559
+ parameters: {
3560
+ id: {
3561
+ type: "string";
3562
+ description: string;
3563
+ required: true;
3564
+ };
3565
+ };
3566
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3567
+ };
3568
+ updateCurrenciesById: {
3569
+ description: string;
3570
+ parameters: {
3571
+ code: {
3572
+ type: "string";
3573
+ description: string;
3574
+ required: true;
3575
+ };
3576
+ body: {
3577
+ type: "object";
3578
+ description: string;
3579
+ };
3580
+ };
3581
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3582
+ };
3583
+ createCurrencies: {
3584
+ description: string;
3585
+ parameters: {
3586
+ body: {
3587
+ type: "object";
3588
+ description: string;
3589
+ };
3590
+ };
3591
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3592
+ };
3593
+ getCurrencies: {
3594
+ description: string;
3595
+ parameters: {
3596
+ start: {
3597
+ type: "number";
3598
+ description: string;
3599
+ };
3600
+ limit: {
3601
+ type: "number";
3602
+ description: string;
3603
+ };
3604
+ fields: {
3605
+ type: "string";
3606
+ description: string;
3607
+ };
3608
+ metadata: {
3609
+ type: "boolean";
3610
+ description: string;
3611
+ };
3612
+ };
3613
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3614
+ };
3615
+ getCurrenciesById: {
3616
+ description: string;
3617
+ parameters: {
3618
+ code: {
3619
+ type: "string";
3620
+ description: string;
3621
+ required: true;
3622
+ };
3623
+ fields: {
3624
+ type: "string";
3625
+ description: string;
3626
+ };
3627
+ };
3628
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3629
+ };
3630
+ deleteCurrenciesById: {
3631
+ description: string;
3632
+ parameters: {
3633
+ code: {
3634
+ type: "string";
3635
+ description: string;
3636
+ required: true;
3637
+ };
3638
+ };
3639
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3640
+ };
3641
+ updateNumberTemplatesById: {
3642
+ description: string;
3643
+ parameters: {
3644
+ id: {
3645
+ type: "string";
3646
+ description: string;
3647
+ required: true;
3648
+ };
3649
+ body: {
3650
+ type: "object";
3651
+ description: string;
3652
+ };
3653
+ };
3654
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3655
+ };
3656
+ createNumberTemplates: {
3657
+ description: string;
3658
+ parameters: {
3659
+ body: {
3660
+ type: "object";
3661
+ description: string;
3662
+ };
3663
+ };
3664
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3665
+ };
3666
+ getNumberTemplatesById: {
3667
+ description: string;
3668
+ parameters: {
3669
+ id: {
3670
+ type: "string";
3671
+ description: string;
3672
+ required: true;
3673
+ };
3674
+ };
3675
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3676
+ };
3677
+ getNumberTemplates: {
3678
+ description: string;
3679
+ parameters: {
3680
+ start: {
3681
+ type: "number";
3682
+ description: string;
3683
+ };
3684
+ limit: {
3685
+ type: "number";
3686
+ description: string;
3687
+ };
3688
+ documentType: {
3689
+ type: "string";
3690
+ description: string;
3691
+ required: true;
3692
+ };
3693
+ };
3694
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3695
+ };
3696
+ deleteNumberTemplatesById: {
3697
+ description: string;
3698
+ parameters: {
3699
+ id: {
3700
+ type: "string";
3701
+ description: string;
3702
+ required: true;
3703
+ };
3704
+ };
3705
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3706
+ };
3707
+ updateTaxesById: {
3708
+ description: string;
3709
+ parameters: {
3710
+ id: {
3711
+ type: "string";
3712
+ description: string;
3713
+ required: true;
3714
+ };
3715
+ body: {
3716
+ type: "object";
3717
+ description: string;
3718
+ };
3719
+ };
3720
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3721
+ };
3722
+ createTaxes: {
3723
+ description: string;
3724
+ parameters: {
3725
+ body: {
3726
+ type: "object";
3727
+ description: string;
3728
+ };
3729
+ };
3730
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3731
+ };
3732
+ getTaxes: {
3733
+ description: string;
3734
+ parameters: {
3735
+ start: {
3736
+ type: "number";
3737
+ description: string;
3738
+ };
3739
+ limit: {
3740
+ type: "number";
3741
+ description: string;
3742
+ };
3743
+ fields: {
3744
+ type: "string";
3745
+ description: string;
3746
+ };
3747
+ };
3748
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3749
+ };
3750
+ getTaxesById: {
3751
+ description: string;
3752
+ parameters: {
3753
+ id: {
3754
+ type: "string";
3755
+ description: string;
3756
+ required: true;
3757
+ };
3758
+ fields: {
3759
+ type: "string";
3760
+ description: string;
3761
+ };
3762
+ };
3763
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3764
+ };
3765
+ deleteTaxesById: {
3766
+ description: string;
3767
+ parameters: {
3768
+ id: {
3769
+ type: "string";
3770
+ description: string;
3771
+ required: true;
3772
+ };
3773
+ };
3774
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3775
+ };
3776
+ updateCompany: {
3777
+ description: string;
3778
+ parameters: {
3779
+ body: {
3780
+ type: "object";
3781
+ description: string;
3782
+ };
3783
+ };
3784
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3785
+ };
3786
+ createCompanyAttachment: {
3787
+ description: string;
3788
+ parameters: {
3789
+ body: {
3790
+ type: "object";
3791
+ description: string;
3792
+ };
3793
+ };
3794
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3795
+ };
3796
+ getCompany: {
3797
+ description: string;
3798
+ parameters: {
3799
+ fields: {
3800
+ type: "string";
3801
+ description: string;
3802
+ };
3803
+ };
3804
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3805
+ };
3806
+ getBankAccounts: {
3807
+ description: string;
3808
+ parameters: {
3809
+ start: {
3810
+ type: "number";
3811
+ description: string;
3812
+ };
3813
+ limit: {
3814
+ type: "number";
3815
+ description: string;
3816
+ };
3817
+ order_direction: {
3818
+ type: "string";
3819
+ description: string;
3820
+ };
3821
+ order_field: {
3822
+ type: "string";
3823
+ description: string;
3824
+ };
3825
+ fields: {
3826
+ type: "string";
3827
+ description: string;
3828
+ };
3829
+ includeInactive: {
3830
+ type: "boolean";
3831
+ description: string;
3832
+ };
3833
+ includeBalance: {
3834
+ type: "boolean";
3835
+ description: string;
3836
+ };
3837
+ metadata: {
3838
+ type: "boolean";
3839
+ description: string;
3840
+ };
3841
+ };
3842
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3843
+ };
3844
+ createBankAccounts: {
3845
+ description: string;
3846
+ parameters: {
3847
+ body: {
3848
+ type: "object";
3849
+ description: string;
3850
+ };
3851
+ };
3852
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3853
+ };
3854
+ createBankAccountsByIdTransfer: {
3855
+ description: string;
3856
+ parameters: {
3857
+ id: {
3858
+ type: "string";
3859
+ description: string;
3860
+ required: true;
3861
+ };
3862
+ body: {
3863
+ type: "object";
3864
+ description: string;
3865
+ };
3866
+ };
3867
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3868
+ };
3869
+ updateBankAccountsById: {
3870
+ description: string;
3871
+ parameters: {
3872
+ id: {
3873
+ type: "string";
3874
+ description: string;
3875
+ required: true;
3876
+ };
3877
+ body: {
3878
+ type: "object";
3879
+ description: string;
3880
+ };
3881
+ };
3882
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3883
+ };
3884
+ getBankAccountsById: {
3885
+ description: string;
3886
+ parameters: {
3887
+ id: {
3888
+ type: "string";
3889
+ description: string;
3890
+ required: true;
3891
+ };
3892
+ };
3893
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3894
+ };
3895
+ deleteBankAccountsById: {
3896
+ description: string;
3897
+ parameters: {
3898
+ id: {
3899
+ type: "string";
3900
+ description: string;
3901
+ required: true;
3902
+ };
3903
+ };
3904
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3905
+ };
3906
+ getConciliationsById: {
3907
+ description: string;
3908
+ parameters: {
3909
+ id: {
3910
+ type: "string";
3911
+ description: string;
3912
+ required: true;
3913
+ };
3914
+ };
3915
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3916
+ };
3917
+ deleteConciliationsById: {
3918
+ description: string;
3919
+ parameters: {
3920
+ id: {
3921
+ type: "string";
3922
+ description: string;
3923
+ required: true;
3924
+ };
3925
+ };
3926
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3927
+ };
3928
+ getConciliations: {
3929
+ description: string;
3930
+ parameters: {
3931
+ account_id: {
3932
+ type: "string";
3933
+ description: string;
3934
+ };
3935
+ start: {
3936
+ type: "number";
3937
+ description: string;
3938
+ };
3939
+ limit: {
3940
+ type: "number";
3941
+ description: string;
3942
+ };
3943
+ order_direction: {
3944
+ type: "string";
3945
+ description: string;
3946
+ };
3947
+ order_field: {
3948
+ type: "string";
3949
+ description: string;
3950
+ };
3951
+ fields: {
3952
+ type: "string";
3953
+ description: string;
3954
+ };
3955
+ metadata: {
3956
+ type: "boolean";
3957
+ description: string;
3958
+ };
3959
+ };
3960
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3961
+ };
3962
+ createConciliations: {
3963
+ description: string;
3964
+ parameters: {
3965
+ body: {
3966
+ type: "object";
3967
+ description: string;
3968
+ };
3969
+ };
3970
+ execute: (params: Record<string, unknown>) => Promise<unknown>;
3971
+ };
3972
+ }>;
3973
+
3974
+ export { alegra };