@happyvertical/smrt-ledgers 0.44.0 → 0.45.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.
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-ledgers",
6
- "packageVersion": "0.44.0",
6
+ "packageVersion": "0.45.0",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "f51ecbf2646a738d5d5d79d2261ad982613acc457d2ca93acc7963c8e643635a",
11
- "packageJson": "b18f76e2b7a9af53853fbbc7d79cb3bd9b8863407dfe9a133259b584a0939195",
10
+ "manifest": "461004d79c373e92eef6bc2a9acd79c7153ae4d0ca933d6aa7e8e2be304b6b88",
11
+ "packageJson": "dea610f4bc14b558e72df2f743b6976d5616636d9f996aa443dd429e44e5b999",
12
12
  "agents": "6fa28e0fe0c03c7a9c201154f935286ca0e72fd59f7e3fa24b440f87e687d7c8"
13
13
  },
14
14
  "exports": [
@@ -144,7 +144,248 @@
144
144
  "returns": "Promise<Record<AccountType, Account[]>>"
145
145
  }
146
146
  ],
147
- "surfaces": [],
147
+ "surfaces": [
148
+ {
149
+ "kind": "api",
150
+ "name": "accounts.findByNumber",
151
+ "operation": "findByNumber",
152
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
153
+ "path": "/accounts/findByNumber",
154
+ "method": "POST"
155
+ },
156
+ {
157
+ "kind": "api",
158
+ "name": "accounts.findByType",
159
+ "operation": "findByType",
160
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
161
+ "path": "/accounts/findByType",
162
+ "method": "POST"
163
+ },
164
+ {
165
+ "kind": "api",
166
+ "name": "accounts.findActive",
167
+ "operation": "findActive",
168
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
169
+ "path": "/accounts/findActive",
170
+ "method": "POST"
171
+ },
172
+ {
173
+ "kind": "api",
174
+ "name": "accounts.findTopLevel",
175
+ "operation": "findTopLevel",
176
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
177
+ "path": "/accounts/findTopLevel",
178
+ "method": "POST"
179
+ },
180
+ {
181
+ "kind": "api",
182
+ "name": "accounts.findChildren",
183
+ "operation": "findChildren",
184
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
185
+ "path": "/accounts/findChildren",
186
+ "method": "POST"
187
+ },
188
+ {
189
+ "kind": "api",
190
+ "name": "accounts.getTree",
191
+ "operation": "getTree",
192
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
193
+ "path": "/accounts/getTree",
194
+ "method": "POST"
195
+ },
196
+ {
197
+ "kind": "api",
198
+ "name": "accounts.getOrCreateByNumber",
199
+ "operation": "getOrCreateByNumber",
200
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
201
+ "path": "/accounts/getOrCreateByNumber",
202
+ "method": "POST"
203
+ },
204
+ {
205
+ "kind": "api",
206
+ "name": "accounts.groupByType",
207
+ "operation": "groupByType",
208
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
209
+ "path": "/accounts/groupByType",
210
+ "method": "POST"
211
+ },
212
+ {
213
+ "kind": "api",
214
+ "name": "accounts.getDescendants",
215
+ "operation": "getDescendants",
216
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
217
+ "path": "/accounts/getDescendants",
218
+ "method": "POST"
219
+ },
220
+ {
221
+ "kind": "api",
222
+ "name": "accounts.findByTenant",
223
+ "operation": "findByTenant",
224
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
225
+ "path": "/accounts/findByTenant",
226
+ "method": "POST"
227
+ },
228
+ {
229
+ "kind": "api",
230
+ "name": "accounts.findGlobal",
231
+ "operation": "findGlobal",
232
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
233
+ "path": "/accounts/findGlobal",
234
+ "method": "POST"
235
+ },
236
+ {
237
+ "kind": "api",
238
+ "name": "accounts.findWithGlobals",
239
+ "operation": "findWithGlobals",
240
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
241
+ "path": "/accounts/findWithGlobals",
242
+ "method": "POST"
243
+ },
244
+ {
245
+ "kind": "cli",
246
+ "name": "accountcollection_findByNumber",
247
+ "operation": "findByNumber",
248
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
249
+ },
250
+ {
251
+ "kind": "cli",
252
+ "name": "accountcollection_findByType",
253
+ "operation": "findByType",
254
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
255
+ },
256
+ {
257
+ "kind": "cli",
258
+ "name": "accountcollection_findActive",
259
+ "operation": "findActive",
260
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
261
+ },
262
+ {
263
+ "kind": "cli",
264
+ "name": "accountcollection_findTopLevel",
265
+ "operation": "findTopLevel",
266
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
267
+ },
268
+ {
269
+ "kind": "cli",
270
+ "name": "accountcollection_findChildren",
271
+ "operation": "findChildren",
272
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
273
+ },
274
+ {
275
+ "kind": "cli",
276
+ "name": "accountcollection_getTree",
277
+ "operation": "getTree",
278
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
279
+ },
280
+ {
281
+ "kind": "cli",
282
+ "name": "accountcollection_getOrCreateByNumber",
283
+ "operation": "getOrCreateByNumber",
284
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
285
+ },
286
+ {
287
+ "kind": "cli",
288
+ "name": "accountcollection_groupByType",
289
+ "operation": "groupByType",
290
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
291
+ },
292
+ {
293
+ "kind": "cli",
294
+ "name": "accountcollection_getDescendants",
295
+ "operation": "getDescendants",
296
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
297
+ },
298
+ {
299
+ "kind": "cli",
300
+ "name": "accountcollection_findByTenant",
301
+ "operation": "findByTenant",
302
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
303
+ },
304
+ {
305
+ "kind": "cli",
306
+ "name": "accountcollection_findGlobal",
307
+ "operation": "findGlobal",
308
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
309
+ },
310
+ {
311
+ "kind": "cli",
312
+ "name": "accountcollection_findWithGlobals",
313
+ "operation": "findWithGlobals",
314
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
315
+ },
316
+ {
317
+ "kind": "mcp",
318
+ "name": "accountcollection_findbynumber",
319
+ "operation": "findByNumber",
320
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
321
+ },
322
+ {
323
+ "kind": "mcp",
324
+ "name": "accountcollection_findbytype",
325
+ "operation": "findByType",
326
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
327
+ },
328
+ {
329
+ "kind": "mcp",
330
+ "name": "accountcollection_findactive",
331
+ "operation": "findActive",
332
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
333
+ },
334
+ {
335
+ "kind": "mcp",
336
+ "name": "accountcollection_findtoplevel",
337
+ "operation": "findTopLevel",
338
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
339
+ },
340
+ {
341
+ "kind": "mcp",
342
+ "name": "accountcollection_findchildren",
343
+ "operation": "findChildren",
344
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
345
+ },
346
+ {
347
+ "kind": "mcp",
348
+ "name": "accountcollection_gettree",
349
+ "operation": "getTree",
350
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
351
+ },
352
+ {
353
+ "kind": "mcp",
354
+ "name": "accountcollection_getorcreatebynumber",
355
+ "operation": "getOrCreateByNumber",
356
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
357
+ },
358
+ {
359
+ "kind": "mcp",
360
+ "name": "accountcollection_groupbytype",
361
+ "operation": "groupByType",
362
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
363
+ },
364
+ {
365
+ "kind": "mcp",
366
+ "name": "accountcollection_getdescendants",
367
+ "operation": "getDescendants",
368
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
369
+ },
370
+ {
371
+ "kind": "mcp",
372
+ "name": "accountcollection_findbytenant",
373
+ "operation": "findByTenant",
374
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
375
+ },
376
+ {
377
+ "kind": "mcp",
378
+ "name": "accountcollection_findglobal",
379
+ "operation": "findGlobal",
380
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
381
+ },
382
+ {
383
+ "kind": "mcp",
384
+ "name": "accountcollection_findwithglobals",
385
+ "operation": "findWithGlobals",
386
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
387
+ }
388
+ ],
148
389
  "relationshipFeatures": [
149
390
  "uuidColumns"
150
391
  ],
@@ -253,7 +494,208 @@
253
494
  "returns": "Promise<TrialBalanceRow[]>"
254
495
  }
255
496
  ],
256
- "surfaces": [],
497
+ "surfaces": [
498
+ {
499
+ "kind": "api",
500
+ "name": "journalentries.findByJournal",
501
+ "operation": "findByJournal",
502
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
503
+ "path": "/journalentries/findByJournal",
504
+ "method": "POST"
505
+ },
506
+ {
507
+ "kind": "api",
508
+ "name": "journalentries.findByAccount",
509
+ "operation": "findByAccount",
510
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
511
+ "path": "/journalentries/findByAccount",
512
+ "method": "POST"
513
+ },
514
+ {
515
+ "kind": "api",
516
+ "name": "journalentries.getAccountBalance",
517
+ "operation": "getAccountBalance",
518
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
519
+ "path": "/journalentries/getAccountBalance",
520
+ "method": "POST"
521
+ },
522
+ {
523
+ "kind": "api",
524
+ "name": "journalentries.getTrialBalance",
525
+ "operation": "getTrialBalance",
526
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
527
+ "path": "/journalentries/getTrialBalance",
528
+ "method": "POST"
529
+ },
530
+ {
531
+ "kind": "api",
532
+ "name": "journalentries.getTotalsForDateRange",
533
+ "operation": "getTotalsForDateRange",
534
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
535
+ "path": "/journalentries/getTotalsForDateRange",
536
+ "method": "POST"
537
+ },
538
+ {
539
+ "kind": "api",
540
+ "name": "journalentries.findByAccounts",
541
+ "operation": "findByAccounts",
542
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
543
+ "path": "/journalentries/findByAccounts",
544
+ "method": "POST"
545
+ },
546
+ {
547
+ "kind": "api",
548
+ "name": "journalentries.getAccountLedger",
549
+ "operation": "getAccountLedger",
550
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
551
+ "path": "/journalentries/getAccountLedger",
552
+ "method": "POST"
553
+ },
554
+ {
555
+ "kind": "api",
556
+ "name": "journalentries.findByTenant",
557
+ "operation": "findByTenant",
558
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
559
+ "path": "/journalentries/findByTenant",
560
+ "method": "POST"
561
+ },
562
+ {
563
+ "kind": "api",
564
+ "name": "journalentries.findGlobal",
565
+ "operation": "findGlobal",
566
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
567
+ "path": "/journalentries/findGlobal",
568
+ "method": "POST"
569
+ },
570
+ {
571
+ "kind": "api",
572
+ "name": "journalentries.findWithGlobals",
573
+ "operation": "findWithGlobals",
574
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
575
+ "path": "/journalentries/findWithGlobals",
576
+ "method": "POST"
577
+ },
578
+ {
579
+ "kind": "cli",
580
+ "name": "journalentrycollection_findByJournal",
581
+ "operation": "findByJournal",
582
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
583
+ },
584
+ {
585
+ "kind": "cli",
586
+ "name": "journalentrycollection_findByAccount",
587
+ "operation": "findByAccount",
588
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
589
+ },
590
+ {
591
+ "kind": "cli",
592
+ "name": "journalentrycollection_getAccountBalance",
593
+ "operation": "getAccountBalance",
594
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
595
+ },
596
+ {
597
+ "kind": "cli",
598
+ "name": "journalentrycollection_getTrialBalance",
599
+ "operation": "getTrialBalance",
600
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
601
+ },
602
+ {
603
+ "kind": "cli",
604
+ "name": "journalentrycollection_getTotalsForDateRange",
605
+ "operation": "getTotalsForDateRange",
606
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
607
+ },
608
+ {
609
+ "kind": "cli",
610
+ "name": "journalentrycollection_findByAccounts",
611
+ "operation": "findByAccounts",
612
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
613
+ },
614
+ {
615
+ "kind": "cli",
616
+ "name": "journalentrycollection_getAccountLedger",
617
+ "operation": "getAccountLedger",
618
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
619
+ },
620
+ {
621
+ "kind": "cli",
622
+ "name": "journalentrycollection_findByTenant",
623
+ "operation": "findByTenant",
624
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
625
+ },
626
+ {
627
+ "kind": "cli",
628
+ "name": "journalentrycollection_findGlobal",
629
+ "operation": "findGlobal",
630
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
631
+ },
632
+ {
633
+ "kind": "cli",
634
+ "name": "journalentrycollection_findWithGlobals",
635
+ "operation": "findWithGlobals",
636
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
637
+ },
638
+ {
639
+ "kind": "mcp",
640
+ "name": "journalentrycollection_findbyjournal",
641
+ "operation": "findByJournal",
642
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
643
+ },
644
+ {
645
+ "kind": "mcp",
646
+ "name": "journalentrycollection_findbyaccount",
647
+ "operation": "findByAccount",
648
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
649
+ },
650
+ {
651
+ "kind": "mcp",
652
+ "name": "journalentrycollection_getaccountbalance",
653
+ "operation": "getAccountBalance",
654
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
655
+ },
656
+ {
657
+ "kind": "mcp",
658
+ "name": "journalentrycollection_gettrialbalance",
659
+ "operation": "getTrialBalance",
660
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
661
+ },
662
+ {
663
+ "kind": "mcp",
664
+ "name": "journalentrycollection_gettotalsfordaterange",
665
+ "operation": "getTotalsForDateRange",
666
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
667
+ },
668
+ {
669
+ "kind": "mcp",
670
+ "name": "journalentrycollection_findbyaccounts",
671
+ "operation": "findByAccounts",
672
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
673
+ },
674
+ {
675
+ "kind": "mcp",
676
+ "name": "journalentrycollection_getaccountledger",
677
+ "operation": "getAccountLedger",
678
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
679
+ },
680
+ {
681
+ "kind": "mcp",
682
+ "name": "journalentrycollection_findbytenant",
683
+ "operation": "findByTenant",
684
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
685
+ },
686
+ {
687
+ "kind": "mcp",
688
+ "name": "journalentrycollection_findglobal",
689
+ "operation": "findGlobal",
690
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
691
+ },
692
+ {
693
+ "kind": "mcp",
694
+ "name": "journalentrycollection_findwithglobals",
695
+ "operation": "findWithGlobals",
696
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
697
+ }
698
+ ],
257
699
  "relationshipFeatures": [
258
700
  "uuidColumns"
259
701
  ],
@@ -393,39 +835,320 @@
393
835
  "returns": "Promise<Journal>"
394
836
  }
395
837
  ],
396
- "surfaces": [],
397
- "relationshipFeatures": [
398
- "uuidColumns"
399
- ],
400
- "tags": [],
401
- "risks": []
402
- },
403
- {
404
- "name": "Account",
405
- "qualifiedName": "@happyvertical/smrt-ledgers:Account",
406
- "collection": "accounts",
407
- "tableName": "accounts",
408
- "packageName": "@happyvertical/smrt-ledgers",
409
- "extends": "SmrtHierarchical",
410
- "fields": [
838
+ "surfaces": [
411
839
  {
412
- "name": "parentId",
413
- "type": "foreignKey",
414
- "required": false,
415
- "related": "Account",
416
- "columnType": "UUID"
840
+ "kind": "api",
841
+ "name": "journals.findByNumber",
842
+ "operation": "findByNumber",
843
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
844
+ "path": "/journals/findByNumber",
845
+ "method": "POST"
417
846
  },
418
847
  {
419
- "name": "tenantId",
420
- "type": "text",
421
- "required": false,
422
- "columnType": "UUID"
848
+ "kind": "api",
849
+ "name": "journals.findByDateRange",
850
+ "operation": "findByDateRange",
851
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
852
+ "path": "/journals/findByDateRange",
853
+ "method": "POST"
423
854
  },
424
855
  {
425
- "name": "number",
426
- "type": "text",
427
- "required": false,
428
- "columnType": "TEXT",
856
+ "kind": "api",
857
+ "name": "journals.findBySource",
858
+ "operation": "findBySource",
859
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
860
+ "path": "/journals/findBySource",
861
+ "method": "POST"
862
+ },
863
+ {
864
+ "kind": "api",
865
+ "name": "journals.findByStatus",
866
+ "operation": "findByStatus",
867
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
868
+ "path": "/journals/findByStatus",
869
+ "method": "POST"
870
+ },
871
+ {
872
+ "kind": "api",
873
+ "name": "journals.findDrafts",
874
+ "operation": "findDrafts",
875
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
876
+ "path": "/journals/findDrafts",
877
+ "method": "POST"
878
+ },
879
+ {
880
+ "kind": "api",
881
+ "name": "journals.findPosted",
882
+ "operation": "findPosted",
883
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
884
+ "path": "/journals/findPosted",
885
+ "method": "POST"
886
+ },
887
+ {
888
+ "kind": "api",
889
+ "name": "journals.createWithEntries",
890
+ "operation": "createWithEntries",
891
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
892
+ "path": "/journals/createWithEntries",
893
+ "method": "POST"
894
+ },
895
+ {
896
+ "kind": "api",
897
+ "name": "journals.post",
898
+ "operation": "post",
899
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
900
+ "path": "/journals/post",
901
+ "method": "POST"
902
+ },
903
+ {
904
+ "kind": "api",
905
+ "name": "journals.void",
906
+ "operation": "void",
907
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
908
+ "path": "/journals/void",
909
+ "method": "POST"
910
+ },
911
+ {
912
+ "kind": "api",
913
+ "name": "journals.findBySourceRef",
914
+ "operation": "findBySourceRef",
915
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
916
+ "path": "/journals/findBySourceRef",
917
+ "method": "POST"
918
+ },
919
+ {
920
+ "kind": "api",
921
+ "name": "journals.findByMonth",
922
+ "operation": "findByMonth",
923
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
924
+ "path": "/journals/findByMonth",
925
+ "method": "POST"
926
+ },
927
+ {
928
+ "kind": "api",
929
+ "name": "journals.findByTenant",
930
+ "operation": "findByTenant",
931
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
932
+ "path": "/journals/findByTenant",
933
+ "method": "POST"
934
+ },
935
+ {
936
+ "kind": "api",
937
+ "name": "journals.findGlobal",
938
+ "operation": "findGlobal",
939
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
940
+ "path": "/journals/findGlobal",
941
+ "method": "POST"
942
+ },
943
+ {
944
+ "kind": "api",
945
+ "name": "journals.findWithGlobals",
946
+ "operation": "findWithGlobals",
947
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
948
+ "path": "/journals/findWithGlobals",
949
+ "method": "POST"
950
+ },
951
+ {
952
+ "kind": "cli",
953
+ "name": "journalcollection_findByNumber",
954
+ "operation": "findByNumber",
955
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
956
+ },
957
+ {
958
+ "kind": "cli",
959
+ "name": "journalcollection_findByDateRange",
960
+ "operation": "findByDateRange",
961
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
962
+ },
963
+ {
964
+ "kind": "cli",
965
+ "name": "journalcollection_findBySource",
966
+ "operation": "findBySource",
967
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
968
+ },
969
+ {
970
+ "kind": "cli",
971
+ "name": "journalcollection_findByStatus",
972
+ "operation": "findByStatus",
973
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
974
+ },
975
+ {
976
+ "kind": "cli",
977
+ "name": "journalcollection_findDrafts",
978
+ "operation": "findDrafts",
979
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
980
+ },
981
+ {
982
+ "kind": "cli",
983
+ "name": "journalcollection_findPosted",
984
+ "operation": "findPosted",
985
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
986
+ },
987
+ {
988
+ "kind": "cli",
989
+ "name": "journalcollection_createWithEntries",
990
+ "operation": "createWithEntries",
991
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
992
+ },
993
+ {
994
+ "kind": "cli",
995
+ "name": "journalcollection_post",
996
+ "operation": "post",
997
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
998
+ },
999
+ {
1000
+ "kind": "cli",
1001
+ "name": "journalcollection_void",
1002
+ "operation": "void",
1003
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1004
+ },
1005
+ {
1006
+ "kind": "cli",
1007
+ "name": "journalcollection_findBySourceRef",
1008
+ "operation": "findBySourceRef",
1009
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1010
+ },
1011
+ {
1012
+ "kind": "cli",
1013
+ "name": "journalcollection_findByMonth",
1014
+ "operation": "findByMonth",
1015
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1016
+ },
1017
+ {
1018
+ "kind": "cli",
1019
+ "name": "journalcollection_findByTenant",
1020
+ "operation": "findByTenant",
1021
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1022
+ },
1023
+ {
1024
+ "kind": "cli",
1025
+ "name": "journalcollection_findGlobal",
1026
+ "operation": "findGlobal",
1027
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1028
+ },
1029
+ {
1030
+ "kind": "cli",
1031
+ "name": "journalcollection_findWithGlobals",
1032
+ "operation": "findWithGlobals",
1033
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1034
+ },
1035
+ {
1036
+ "kind": "mcp",
1037
+ "name": "journalcollection_findbynumber",
1038
+ "operation": "findByNumber",
1039
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1040
+ },
1041
+ {
1042
+ "kind": "mcp",
1043
+ "name": "journalcollection_findbydaterange",
1044
+ "operation": "findByDateRange",
1045
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1046
+ },
1047
+ {
1048
+ "kind": "mcp",
1049
+ "name": "journalcollection_findbysource",
1050
+ "operation": "findBySource",
1051
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1052
+ },
1053
+ {
1054
+ "kind": "mcp",
1055
+ "name": "journalcollection_findbystatus",
1056
+ "operation": "findByStatus",
1057
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1058
+ },
1059
+ {
1060
+ "kind": "mcp",
1061
+ "name": "journalcollection_finddrafts",
1062
+ "operation": "findDrafts",
1063
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1064
+ },
1065
+ {
1066
+ "kind": "mcp",
1067
+ "name": "journalcollection_findposted",
1068
+ "operation": "findPosted",
1069
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1070
+ },
1071
+ {
1072
+ "kind": "mcp",
1073
+ "name": "journalcollection_createwithentries",
1074
+ "operation": "createWithEntries",
1075
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1076
+ },
1077
+ {
1078
+ "kind": "mcp",
1079
+ "name": "journalcollection_post",
1080
+ "operation": "post",
1081
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1082
+ },
1083
+ {
1084
+ "kind": "mcp",
1085
+ "name": "journalcollection_void",
1086
+ "operation": "void",
1087
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1088
+ },
1089
+ {
1090
+ "kind": "mcp",
1091
+ "name": "journalcollection_findbysourceref",
1092
+ "operation": "findBySourceRef",
1093
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1094
+ },
1095
+ {
1096
+ "kind": "mcp",
1097
+ "name": "journalcollection_findbymonth",
1098
+ "operation": "findByMonth",
1099
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1100
+ },
1101
+ {
1102
+ "kind": "mcp",
1103
+ "name": "journalcollection_findbytenant",
1104
+ "operation": "findByTenant",
1105
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1106
+ },
1107
+ {
1108
+ "kind": "mcp",
1109
+ "name": "journalcollection_findglobal",
1110
+ "operation": "findGlobal",
1111
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1112
+ },
1113
+ {
1114
+ "kind": "mcp",
1115
+ "name": "journalcollection_findwithglobals",
1116
+ "operation": "findWithGlobals",
1117
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
1118
+ }
1119
+ ],
1120
+ "relationshipFeatures": [
1121
+ "uuidColumns"
1122
+ ],
1123
+ "tags": [],
1124
+ "risks": []
1125
+ },
1126
+ {
1127
+ "name": "Account",
1128
+ "qualifiedName": "@happyvertical/smrt-ledgers:Account",
1129
+ "collection": "accounts",
1130
+ "tableName": "accounts",
1131
+ "packageName": "@happyvertical/smrt-ledgers",
1132
+ "extends": "SmrtHierarchical",
1133
+ "fields": [
1134
+ {
1135
+ "name": "parentId",
1136
+ "type": "foreignKey",
1137
+ "required": false,
1138
+ "related": "Account",
1139
+ "columnType": "UUID"
1140
+ },
1141
+ {
1142
+ "name": "tenantId",
1143
+ "type": "text",
1144
+ "required": false,
1145
+ "columnType": "UUID"
1146
+ },
1147
+ {
1148
+ "name": "number",
1149
+ "type": "text",
1150
+ "required": false,
1151
+ "columnType": "TEXT",
429
1152
  "default": ""
430
1153
  },
431
1154
  {
@@ -642,6 +1365,84 @@
642
1365
  "operation": "delete",
643
1366
  "objectName": "@happyvertical/smrt-ledgers:Account"
644
1367
  },
1368
+ {
1369
+ "kind": "cli",
1370
+ "name": "account_getParent",
1371
+ "operation": "getParent",
1372
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1373
+ },
1374
+ {
1375
+ "kind": "cli",
1376
+ "name": "account_getChildren",
1377
+ "operation": "getChildren",
1378
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1379
+ },
1380
+ {
1381
+ "kind": "cli",
1382
+ "name": "account_getAncestors",
1383
+ "operation": "getAncestors",
1384
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1385
+ },
1386
+ {
1387
+ "kind": "cli",
1388
+ "name": "account_getDescendants",
1389
+ "operation": "getDescendants",
1390
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1391
+ },
1392
+ {
1393
+ "kind": "cli",
1394
+ "name": "account_getHierarchy",
1395
+ "operation": "getHierarchy",
1396
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1397
+ },
1398
+ {
1399
+ "kind": "cli",
1400
+ "name": "account_moveTo",
1401
+ "operation": "moveTo",
1402
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1403
+ },
1404
+ {
1405
+ "kind": "cli",
1406
+ "name": "account_isTopLevel",
1407
+ "operation": "isTopLevel",
1408
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1409
+ },
1410
+ {
1411
+ "kind": "cli",
1412
+ "name": "account_isDebitNormal",
1413
+ "operation": "isDebitNormal",
1414
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1415
+ },
1416
+ {
1417
+ "kind": "cli",
1418
+ "name": "account_isCreditNormal",
1419
+ "operation": "isCreditNormal",
1420
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1421
+ },
1422
+ {
1423
+ "kind": "cli",
1424
+ "name": "account_getFullPath",
1425
+ "operation": "getFullPath",
1426
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1427
+ },
1428
+ {
1429
+ "kind": "cli",
1430
+ "name": "account_toTreeNode",
1431
+ "operation": "toTreeNode",
1432
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1433
+ },
1434
+ {
1435
+ "kind": "cli",
1436
+ "name": "account_getBalance",
1437
+ "operation": "getBalance",
1438
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1439
+ },
1440
+ {
1441
+ "kind": "cli",
1442
+ "name": "account_createChild",
1443
+ "operation": "createChild",
1444
+ "objectName": "@happyvertical/smrt-ledgers:Account"
1445
+ },
645
1446
  {
646
1447
  "kind": "mcp",
647
1448
  "name": "account_list",
@@ -894,50 +1695,122 @@
894
1695
  "objectName": "@happyvertical/smrt-ledgers:Journal"
895
1696
  },
896
1697
  {
897
- "kind": "mcp",
898
- "name": "journal_list",
899
- "operation": "list",
1698
+ "kind": "cli",
1699
+ "name": "journal_isDraft",
1700
+ "operation": "isDraft",
900
1701
  "objectName": "@happyvertical/smrt-ledgers:Journal"
901
1702
  },
902
1703
  {
903
- "kind": "mcp",
904
- "name": "journal_get",
905
- "operation": "get",
1704
+ "kind": "cli",
1705
+ "name": "journal_isPosted",
1706
+ "operation": "isPosted",
906
1707
  "objectName": "@happyvertical/smrt-ledgers:Journal"
907
1708
  },
908
1709
  {
909
- "kind": "mcp",
910
- "name": "journal_create",
911
- "operation": "create",
1710
+ "kind": "cli",
1711
+ "name": "journal_isVoided",
1712
+ "operation": "isVoided",
912
1713
  "objectName": "@happyvertical/smrt-ledgers:Journal"
913
- }
914
- ],
915
- "relationshipFeatures": [
916
- "uuidColumns"
917
- ],
918
- "tags": [],
919
- "risks": []
920
- },
921
- {
922
- "name": "JournalEntry",
923
- "qualifiedName": "@happyvertical/smrt-ledgers:JournalEntry",
924
- "collection": "journalentries",
925
- "tableName": "journal_entries",
926
- "packageName": "@happyvertical/smrt-ledgers",
927
- "extends": "SmrtObject",
928
- "fields": [
929
- {
930
- "name": "tenantId",
931
- "type": "text",
932
- "required": false,
933
- "columnType": "UUID"
934
1714
  },
935
1715
  {
936
- "name": "journalId",
937
- "type": "foreignKey",
938
- "required": false,
939
- "related": "Journal",
940
- "columnType": "UUID"
1716
+ "kind": "cli",
1717
+ "name": "journal_isEditable",
1718
+ "operation": "isEditable",
1719
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
1720
+ },
1721
+ {
1722
+ "kind": "cli",
1723
+ "name": "journal_getEntries",
1724
+ "operation": "getEntries",
1725
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
1726
+ },
1727
+ {
1728
+ "kind": "cli",
1729
+ "name": "journal_getTotalDebits",
1730
+ "operation": "getTotalDebits",
1731
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
1732
+ },
1733
+ {
1734
+ "kind": "cli",
1735
+ "name": "journal_getTotalCredits",
1736
+ "operation": "getTotalCredits",
1737
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
1738
+ },
1739
+ {
1740
+ "kind": "cli",
1741
+ "name": "journal_isBalanced",
1742
+ "operation": "isBalanced",
1743
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
1744
+ },
1745
+ {
1746
+ "kind": "cli",
1747
+ "name": "journal_addEntry",
1748
+ "operation": "addEntry",
1749
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
1750
+ },
1751
+ {
1752
+ "kind": "cli",
1753
+ "name": "journal_post",
1754
+ "operation": "post",
1755
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
1756
+ },
1757
+ {
1758
+ "kind": "cli",
1759
+ "name": "journal_void",
1760
+ "operation": "void",
1761
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
1762
+ },
1763
+ {
1764
+ "kind": "cli",
1765
+ "name": "journal_summarize",
1766
+ "operation": "summarize",
1767
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
1768
+ },
1769
+ {
1770
+ "kind": "mcp",
1771
+ "name": "journal_list",
1772
+ "operation": "list",
1773
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
1774
+ },
1775
+ {
1776
+ "kind": "mcp",
1777
+ "name": "journal_get",
1778
+ "operation": "get",
1779
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
1780
+ },
1781
+ {
1782
+ "kind": "mcp",
1783
+ "name": "journal_create",
1784
+ "operation": "create",
1785
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
1786
+ }
1787
+ ],
1788
+ "relationshipFeatures": [
1789
+ "uuidColumns"
1790
+ ],
1791
+ "tags": [],
1792
+ "risks": []
1793
+ },
1794
+ {
1795
+ "name": "JournalEntry",
1796
+ "qualifiedName": "@happyvertical/smrt-ledgers:JournalEntry",
1797
+ "collection": "journalentries",
1798
+ "tableName": "journal_entries",
1799
+ "packageName": "@happyvertical/smrt-ledgers",
1800
+ "extends": "SmrtObject",
1801
+ "fields": [
1802
+ {
1803
+ "name": "tenantId",
1804
+ "type": "text",
1805
+ "required": false,
1806
+ "columnType": "UUID"
1807
+ },
1808
+ {
1809
+ "name": "journalId",
1810
+ "type": "foreignKey",
1811
+ "required": false,
1812
+ "related": "Journal",
1813
+ "columnType": "UUID"
941
1814
  },
942
1815
  {
943
1816
  "name": "accountId",
@@ -1104,6 +1977,48 @@
1104
1977
  "operation": "delete",
1105
1978
  "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
1106
1979
  },
1980
+ {
1981
+ "kind": "cli",
1982
+ "name": "journalentry_isDebit",
1983
+ "operation": "isDebit",
1984
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
1985
+ },
1986
+ {
1987
+ "kind": "cli",
1988
+ "name": "journalentry_isCredit",
1989
+ "operation": "isCredit",
1990
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
1991
+ },
1992
+ {
1993
+ "kind": "cli",
1994
+ "name": "journalentry_getAmount",
1995
+ "operation": "getAmount",
1996
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
1997
+ },
1998
+ {
1999
+ "kind": "cli",
2000
+ "name": "journalentry_getBaseAmount",
2001
+ "operation": "getBaseAmount",
2002
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
2003
+ },
2004
+ {
2005
+ "kind": "cli",
2006
+ "name": "journalentry_getJournal",
2007
+ "operation": "getJournal",
2008
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
2009
+ },
2010
+ {
2011
+ "kind": "cli",
2012
+ "name": "journalentry_getAccount",
2013
+ "operation": "getAccount",
2014
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
2015
+ },
2016
+ {
2017
+ "kind": "cli",
2018
+ "name": "journalentry_getDescription",
2019
+ "operation": "getDescription",
2020
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
2021
+ },
1107
2022
  {
1108
2023
  "kind": "mcp",
1109
2024
  "name": "journalentry_list",
@@ -1128,191 +2043,1061 @@
1128
2043
  "surfaces": [
1129
2044
  {
1130
2045
  "kind": "api",
1131
- "name": "accounts.list",
1132
- "operation": "list",
1133
- "objectName": "@happyvertical/smrt-ledgers:Account",
1134
- "path": "/accounts",
1135
- "method": "GET"
2046
+ "name": "accounts.findByNumber",
2047
+ "operation": "findByNumber",
2048
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
2049
+ "path": "/accounts/findByNumber",
2050
+ "method": "POST"
1136
2051
  },
1137
2052
  {
1138
2053
  "kind": "api",
1139
- "name": "accounts.get",
1140
- "operation": "get",
1141
- "objectName": "@happyvertical/smrt-ledgers:Account",
1142
- "path": "/accounts/[id]",
1143
- "method": "GET"
2054
+ "name": "accounts.findByType",
2055
+ "operation": "findByType",
2056
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
2057
+ "path": "/accounts/findByType",
2058
+ "method": "POST"
1144
2059
  },
1145
2060
  {
1146
2061
  "kind": "api",
1147
- "name": "accounts.create",
1148
- "operation": "create",
1149
- "objectName": "@happyvertical/smrt-ledgers:Account",
1150
- "path": "/accounts",
2062
+ "name": "accounts.findActive",
2063
+ "operation": "findActive",
2064
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
2065
+ "path": "/accounts/findActive",
1151
2066
  "method": "POST"
1152
2067
  },
1153
2068
  {
1154
2069
  "kind": "api",
1155
- "name": "accounts.update",
1156
- "operation": "update",
1157
- "objectName": "@happyvertical/smrt-ledgers:Account",
1158
- "path": "/accounts/[id]",
1159
- "method": "PATCH"
2070
+ "name": "accounts.findTopLevel",
2071
+ "operation": "findTopLevel",
2072
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
2073
+ "path": "/accounts/findTopLevel",
2074
+ "method": "POST"
1160
2075
  },
1161
2076
  {
1162
2077
  "kind": "api",
1163
- "name": "accounts.delete",
1164
- "operation": "delete",
1165
- "objectName": "@happyvertical/smrt-ledgers:Account",
1166
- "path": "/accounts/[id]",
1167
- "method": "DELETE"
2078
+ "name": "accounts.findChildren",
2079
+ "operation": "findChildren",
2080
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
2081
+ "path": "/accounts/findChildren",
2082
+ "method": "POST"
1168
2083
  },
1169
2084
  {
1170
- "kind": "cli",
1171
- "name": "account_list",
1172
- "operation": "list",
1173
- "objectName": "@happyvertical/smrt-ledgers:Account"
2085
+ "kind": "api",
2086
+ "name": "accounts.getTree",
2087
+ "operation": "getTree",
2088
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
2089
+ "path": "/accounts/getTree",
2090
+ "method": "POST"
1174
2091
  },
1175
2092
  {
1176
- "kind": "cli",
1177
- "name": "account_get",
1178
- "operation": "get",
1179
- "objectName": "@happyvertical/smrt-ledgers:Account"
2093
+ "kind": "api",
2094
+ "name": "accounts.getOrCreateByNumber",
2095
+ "operation": "getOrCreateByNumber",
2096
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
2097
+ "path": "/accounts/getOrCreateByNumber",
2098
+ "method": "POST"
1180
2099
  },
1181
2100
  {
1182
- "kind": "cli",
1183
- "name": "account_create",
1184
- "operation": "create",
1185
- "objectName": "@happyvertical/smrt-ledgers:Account"
2101
+ "kind": "api",
2102
+ "name": "accounts.groupByType",
2103
+ "operation": "groupByType",
2104
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
2105
+ "path": "/accounts/groupByType",
2106
+ "method": "POST"
1186
2107
  },
1187
2108
  {
1188
- "kind": "cli",
1189
- "name": "account_update",
1190
- "operation": "update",
1191
- "objectName": "@happyvertical/smrt-ledgers:Account"
2109
+ "kind": "api",
2110
+ "name": "accounts.getDescendants",
2111
+ "operation": "getDescendants",
2112
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
2113
+ "path": "/accounts/getDescendants",
2114
+ "method": "POST"
2115
+ },
2116
+ {
2117
+ "kind": "api",
2118
+ "name": "accounts.findByTenant",
2119
+ "operation": "findByTenant",
2120
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
2121
+ "path": "/accounts/findByTenant",
2122
+ "method": "POST"
2123
+ },
2124
+ {
2125
+ "kind": "api",
2126
+ "name": "accounts.findGlobal",
2127
+ "operation": "findGlobal",
2128
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
2129
+ "path": "/accounts/findGlobal",
2130
+ "method": "POST"
2131
+ },
2132
+ {
2133
+ "kind": "api",
2134
+ "name": "accounts.findWithGlobals",
2135
+ "operation": "findWithGlobals",
2136
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection",
2137
+ "path": "/accounts/findWithGlobals",
2138
+ "method": "POST"
1192
2139
  },
1193
2140
  {
1194
2141
  "kind": "cli",
1195
- "name": "account_delete",
1196
- "operation": "delete",
1197
- "objectName": "@happyvertical/smrt-ledgers:Account"
2142
+ "name": "accountcollection_findByNumber",
2143
+ "operation": "findByNumber",
2144
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1198
2145
  },
1199
2146
  {
1200
- "kind": "mcp",
1201
- "name": "account_list",
1202
- "operation": "list",
1203
- "objectName": "@happyvertical/smrt-ledgers:Account"
2147
+ "kind": "cli",
2148
+ "name": "accountcollection_findByType",
2149
+ "operation": "findByType",
2150
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1204
2151
  },
1205
2152
  {
1206
- "kind": "mcp",
1207
- "name": "account_get",
1208
- "operation": "get",
1209
- "objectName": "@happyvertical/smrt-ledgers:Account"
2153
+ "kind": "cli",
2154
+ "name": "accountcollection_findActive",
2155
+ "operation": "findActive",
2156
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1210
2157
  },
1211
2158
  {
1212
- "kind": "mcp",
1213
- "name": "account_create",
1214
- "operation": "create",
1215
- "objectName": "@happyvertical/smrt-ledgers:Account"
2159
+ "kind": "cli",
2160
+ "name": "accountcollection_findTopLevel",
2161
+ "operation": "findTopLevel",
2162
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1216
2163
  },
1217
2164
  {
1218
- "kind": "api",
1219
- "name": "journals.list",
1220
- "operation": "list",
1221
- "objectName": "@happyvertical/smrt-ledgers:Journal",
1222
- "path": "/journals",
1223
- "method": "GET"
2165
+ "kind": "cli",
2166
+ "name": "accountcollection_findChildren",
2167
+ "operation": "findChildren",
2168
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1224
2169
  },
1225
2170
  {
1226
- "kind": "api",
1227
- "name": "journals.get",
1228
- "operation": "get",
1229
- "objectName": "@happyvertical/smrt-ledgers:Journal",
1230
- "path": "/journals/[id]",
1231
- "method": "GET"
2171
+ "kind": "cli",
2172
+ "name": "accountcollection_getTree",
2173
+ "operation": "getTree",
2174
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1232
2175
  },
1233
2176
  {
1234
- "kind": "api",
1235
- "name": "journals.create",
1236
- "operation": "create",
1237
- "objectName": "@happyvertical/smrt-ledgers:Journal",
1238
- "path": "/journals",
1239
- "method": "POST"
2177
+ "kind": "cli",
2178
+ "name": "accountcollection_getOrCreateByNumber",
2179
+ "operation": "getOrCreateByNumber",
2180
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1240
2181
  },
1241
2182
  {
1242
2183
  "kind": "cli",
1243
- "name": "journal_list",
1244
- "operation": "list",
1245
- "objectName": "@happyvertical/smrt-ledgers:Journal"
2184
+ "name": "accountcollection_groupByType",
2185
+ "operation": "groupByType",
2186
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1246
2187
  },
1247
2188
  {
1248
2189
  "kind": "cli",
1249
- "name": "journal_get",
1250
- "operation": "get",
1251
- "objectName": "@happyvertical/smrt-ledgers:Journal"
2190
+ "name": "accountcollection_getDescendants",
2191
+ "operation": "getDescendants",
2192
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1252
2193
  },
1253
2194
  {
1254
2195
  "kind": "cli",
1255
- "name": "journal_create",
1256
- "operation": "create",
1257
- "objectName": "@happyvertical/smrt-ledgers:Journal"
2196
+ "name": "accountcollection_findByTenant",
2197
+ "operation": "findByTenant",
2198
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1258
2199
  },
1259
2200
  {
1260
2201
  "kind": "cli",
1261
- "name": "journal_update",
1262
- "operation": "update",
1263
- "objectName": "@happyvertical/smrt-ledgers:Journal"
2202
+ "name": "accountcollection_findGlobal",
2203
+ "operation": "findGlobal",
2204
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1264
2205
  },
1265
2206
  {
1266
2207
  "kind": "cli",
1267
- "name": "journal_delete",
1268
- "operation": "delete",
1269
- "objectName": "@happyvertical/smrt-ledgers:Journal"
2208
+ "name": "accountcollection_findWithGlobals",
2209
+ "operation": "findWithGlobals",
2210
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1270
2211
  },
1271
2212
  {
1272
2213
  "kind": "mcp",
1273
- "name": "journal_list",
1274
- "operation": "list",
1275
- "objectName": "@happyvertical/smrt-ledgers:Journal"
2214
+ "name": "accountcollection_findbynumber",
2215
+ "operation": "findByNumber",
2216
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1276
2217
  },
1277
2218
  {
1278
2219
  "kind": "mcp",
1279
- "name": "journal_get",
1280
- "operation": "get",
1281
- "objectName": "@happyvertical/smrt-ledgers:Journal"
2220
+ "name": "accountcollection_findbytype",
2221
+ "operation": "findByType",
2222
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1282
2223
  },
1283
2224
  {
1284
2225
  "kind": "mcp",
1285
- "name": "journal_create",
1286
- "operation": "create",
1287
- "objectName": "@happyvertical/smrt-ledgers:Journal"
2226
+ "name": "accountcollection_findactive",
2227
+ "operation": "findActive",
2228
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1288
2229
  },
1289
2230
  {
1290
- "kind": "api",
1291
- "name": "journalentries.list",
1292
- "operation": "list",
1293
- "objectName": "@happyvertical/smrt-ledgers:JournalEntry",
1294
- "path": "/journalentries",
1295
- "method": "GET"
2231
+ "kind": "mcp",
2232
+ "name": "accountcollection_findtoplevel",
2233
+ "operation": "findTopLevel",
2234
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1296
2235
  },
1297
2236
  {
1298
- "kind": "api",
1299
- "name": "journalentries.get",
1300
- "operation": "get",
1301
- "objectName": "@happyvertical/smrt-ledgers:JournalEntry",
1302
- "path": "/journalentries/[id]",
1303
- "method": "GET"
2237
+ "kind": "mcp",
2238
+ "name": "accountcollection_findchildren",
2239
+ "operation": "findChildren",
2240
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1304
2241
  },
1305
2242
  {
1306
- "kind": "cli",
1307
- "name": "journalentry_list",
1308
- "operation": "list",
1309
- "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
2243
+ "kind": "mcp",
2244
+ "name": "accountcollection_gettree",
2245
+ "operation": "getTree",
2246
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
1310
2247
  },
1311
2248
  {
1312
- "kind": "cli",
1313
- "name": "journalentry_get",
1314
- "operation": "get",
1315
- "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
2249
+ "kind": "mcp",
2250
+ "name": "accountcollection_getorcreatebynumber",
2251
+ "operation": "getOrCreateByNumber",
2252
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
2253
+ },
2254
+ {
2255
+ "kind": "mcp",
2256
+ "name": "accountcollection_groupbytype",
2257
+ "operation": "groupByType",
2258
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
2259
+ },
2260
+ {
2261
+ "kind": "mcp",
2262
+ "name": "accountcollection_getdescendants",
2263
+ "operation": "getDescendants",
2264
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
2265
+ },
2266
+ {
2267
+ "kind": "mcp",
2268
+ "name": "accountcollection_findbytenant",
2269
+ "operation": "findByTenant",
2270
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
2271
+ },
2272
+ {
2273
+ "kind": "mcp",
2274
+ "name": "accountcollection_findglobal",
2275
+ "operation": "findGlobal",
2276
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
2277
+ },
2278
+ {
2279
+ "kind": "mcp",
2280
+ "name": "accountcollection_findwithglobals",
2281
+ "operation": "findWithGlobals",
2282
+ "objectName": "@happyvertical/smrt-ledgers:AccountCollection"
2283
+ },
2284
+ {
2285
+ "kind": "api",
2286
+ "name": "journalentries.findByJournal",
2287
+ "operation": "findByJournal",
2288
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
2289
+ "path": "/journalentries/findByJournal",
2290
+ "method": "POST"
2291
+ },
2292
+ {
2293
+ "kind": "api",
2294
+ "name": "journalentries.findByAccount",
2295
+ "operation": "findByAccount",
2296
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
2297
+ "path": "/journalentries/findByAccount",
2298
+ "method": "POST"
2299
+ },
2300
+ {
2301
+ "kind": "api",
2302
+ "name": "journalentries.getAccountBalance",
2303
+ "operation": "getAccountBalance",
2304
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
2305
+ "path": "/journalentries/getAccountBalance",
2306
+ "method": "POST"
2307
+ },
2308
+ {
2309
+ "kind": "api",
2310
+ "name": "journalentries.getTrialBalance",
2311
+ "operation": "getTrialBalance",
2312
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
2313
+ "path": "/journalentries/getTrialBalance",
2314
+ "method": "POST"
2315
+ },
2316
+ {
2317
+ "kind": "api",
2318
+ "name": "journalentries.getTotalsForDateRange",
2319
+ "operation": "getTotalsForDateRange",
2320
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
2321
+ "path": "/journalentries/getTotalsForDateRange",
2322
+ "method": "POST"
2323
+ },
2324
+ {
2325
+ "kind": "api",
2326
+ "name": "journalentries.findByAccounts",
2327
+ "operation": "findByAccounts",
2328
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
2329
+ "path": "/journalentries/findByAccounts",
2330
+ "method": "POST"
2331
+ },
2332
+ {
2333
+ "kind": "api",
2334
+ "name": "journalentries.getAccountLedger",
2335
+ "operation": "getAccountLedger",
2336
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
2337
+ "path": "/journalentries/getAccountLedger",
2338
+ "method": "POST"
2339
+ },
2340
+ {
2341
+ "kind": "api",
2342
+ "name": "journalentries.findByTenant",
2343
+ "operation": "findByTenant",
2344
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
2345
+ "path": "/journalentries/findByTenant",
2346
+ "method": "POST"
2347
+ },
2348
+ {
2349
+ "kind": "api",
2350
+ "name": "journalentries.findGlobal",
2351
+ "operation": "findGlobal",
2352
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
2353
+ "path": "/journalentries/findGlobal",
2354
+ "method": "POST"
2355
+ },
2356
+ {
2357
+ "kind": "api",
2358
+ "name": "journalentries.findWithGlobals",
2359
+ "operation": "findWithGlobals",
2360
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection",
2361
+ "path": "/journalentries/findWithGlobals",
2362
+ "method": "POST"
2363
+ },
2364
+ {
2365
+ "kind": "cli",
2366
+ "name": "journalentrycollection_findByJournal",
2367
+ "operation": "findByJournal",
2368
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2369
+ },
2370
+ {
2371
+ "kind": "cli",
2372
+ "name": "journalentrycollection_findByAccount",
2373
+ "operation": "findByAccount",
2374
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2375
+ },
2376
+ {
2377
+ "kind": "cli",
2378
+ "name": "journalentrycollection_getAccountBalance",
2379
+ "operation": "getAccountBalance",
2380
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2381
+ },
2382
+ {
2383
+ "kind": "cli",
2384
+ "name": "journalentrycollection_getTrialBalance",
2385
+ "operation": "getTrialBalance",
2386
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2387
+ },
2388
+ {
2389
+ "kind": "cli",
2390
+ "name": "journalentrycollection_getTotalsForDateRange",
2391
+ "operation": "getTotalsForDateRange",
2392
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2393
+ },
2394
+ {
2395
+ "kind": "cli",
2396
+ "name": "journalentrycollection_findByAccounts",
2397
+ "operation": "findByAccounts",
2398
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2399
+ },
2400
+ {
2401
+ "kind": "cli",
2402
+ "name": "journalentrycollection_getAccountLedger",
2403
+ "operation": "getAccountLedger",
2404
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2405
+ },
2406
+ {
2407
+ "kind": "cli",
2408
+ "name": "journalentrycollection_findByTenant",
2409
+ "operation": "findByTenant",
2410
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2411
+ },
2412
+ {
2413
+ "kind": "cli",
2414
+ "name": "journalentrycollection_findGlobal",
2415
+ "operation": "findGlobal",
2416
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2417
+ },
2418
+ {
2419
+ "kind": "cli",
2420
+ "name": "journalentrycollection_findWithGlobals",
2421
+ "operation": "findWithGlobals",
2422
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2423
+ },
2424
+ {
2425
+ "kind": "mcp",
2426
+ "name": "journalentrycollection_findbyjournal",
2427
+ "operation": "findByJournal",
2428
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2429
+ },
2430
+ {
2431
+ "kind": "mcp",
2432
+ "name": "journalentrycollection_findbyaccount",
2433
+ "operation": "findByAccount",
2434
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2435
+ },
2436
+ {
2437
+ "kind": "mcp",
2438
+ "name": "journalentrycollection_getaccountbalance",
2439
+ "operation": "getAccountBalance",
2440
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2441
+ },
2442
+ {
2443
+ "kind": "mcp",
2444
+ "name": "journalentrycollection_gettrialbalance",
2445
+ "operation": "getTrialBalance",
2446
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2447
+ },
2448
+ {
2449
+ "kind": "mcp",
2450
+ "name": "journalentrycollection_gettotalsfordaterange",
2451
+ "operation": "getTotalsForDateRange",
2452
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2453
+ },
2454
+ {
2455
+ "kind": "mcp",
2456
+ "name": "journalentrycollection_findbyaccounts",
2457
+ "operation": "findByAccounts",
2458
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2459
+ },
2460
+ {
2461
+ "kind": "mcp",
2462
+ "name": "journalentrycollection_getaccountledger",
2463
+ "operation": "getAccountLedger",
2464
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2465
+ },
2466
+ {
2467
+ "kind": "mcp",
2468
+ "name": "journalentrycollection_findbytenant",
2469
+ "operation": "findByTenant",
2470
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2471
+ },
2472
+ {
2473
+ "kind": "mcp",
2474
+ "name": "journalentrycollection_findglobal",
2475
+ "operation": "findGlobal",
2476
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2477
+ },
2478
+ {
2479
+ "kind": "mcp",
2480
+ "name": "journalentrycollection_findwithglobals",
2481
+ "operation": "findWithGlobals",
2482
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntryCollection"
2483
+ },
2484
+ {
2485
+ "kind": "api",
2486
+ "name": "journals.findByNumber",
2487
+ "operation": "findByNumber",
2488
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2489
+ "path": "/journals/findByNumber",
2490
+ "method": "POST"
2491
+ },
2492
+ {
2493
+ "kind": "api",
2494
+ "name": "journals.findByDateRange",
2495
+ "operation": "findByDateRange",
2496
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2497
+ "path": "/journals/findByDateRange",
2498
+ "method": "POST"
2499
+ },
2500
+ {
2501
+ "kind": "api",
2502
+ "name": "journals.findBySource",
2503
+ "operation": "findBySource",
2504
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2505
+ "path": "/journals/findBySource",
2506
+ "method": "POST"
2507
+ },
2508
+ {
2509
+ "kind": "api",
2510
+ "name": "journals.findByStatus",
2511
+ "operation": "findByStatus",
2512
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2513
+ "path": "/journals/findByStatus",
2514
+ "method": "POST"
2515
+ },
2516
+ {
2517
+ "kind": "api",
2518
+ "name": "journals.findDrafts",
2519
+ "operation": "findDrafts",
2520
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2521
+ "path": "/journals/findDrafts",
2522
+ "method": "POST"
2523
+ },
2524
+ {
2525
+ "kind": "api",
2526
+ "name": "journals.findPosted",
2527
+ "operation": "findPosted",
2528
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2529
+ "path": "/journals/findPosted",
2530
+ "method": "POST"
2531
+ },
2532
+ {
2533
+ "kind": "api",
2534
+ "name": "journals.createWithEntries",
2535
+ "operation": "createWithEntries",
2536
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2537
+ "path": "/journals/createWithEntries",
2538
+ "method": "POST"
2539
+ },
2540
+ {
2541
+ "kind": "api",
2542
+ "name": "journals.post",
2543
+ "operation": "post",
2544
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2545
+ "path": "/journals/post",
2546
+ "method": "POST"
2547
+ },
2548
+ {
2549
+ "kind": "api",
2550
+ "name": "journals.void",
2551
+ "operation": "void",
2552
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2553
+ "path": "/journals/void",
2554
+ "method": "POST"
2555
+ },
2556
+ {
2557
+ "kind": "api",
2558
+ "name": "journals.findBySourceRef",
2559
+ "operation": "findBySourceRef",
2560
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2561
+ "path": "/journals/findBySourceRef",
2562
+ "method": "POST"
2563
+ },
2564
+ {
2565
+ "kind": "api",
2566
+ "name": "journals.findByMonth",
2567
+ "operation": "findByMonth",
2568
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2569
+ "path": "/journals/findByMonth",
2570
+ "method": "POST"
2571
+ },
2572
+ {
2573
+ "kind": "api",
2574
+ "name": "journals.findByTenant",
2575
+ "operation": "findByTenant",
2576
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2577
+ "path": "/journals/findByTenant",
2578
+ "method": "POST"
2579
+ },
2580
+ {
2581
+ "kind": "api",
2582
+ "name": "journals.findGlobal",
2583
+ "operation": "findGlobal",
2584
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2585
+ "path": "/journals/findGlobal",
2586
+ "method": "POST"
2587
+ },
2588
+ {
2589
+ "kind": "api",
2590
+ "name": "journals.findWithGlobals",
2591
+ "operation": "findWithGlobals",
2592
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection",
2593
+ "path": "/journals/findWithGlobals",
2594
+ "method": "POST"
2595
+ },
2596
+ {
2597
+ "kind": "cli",
2598
+ "name": "journalcollection_findByNumber",
2599
+ "operation": "findByNumber",
2600
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2601
+ },
2602
+ {
2603
+ "kind": "cli",
2604
+ "name": "journalcollection_findByDateRange",
2605
+ "operation": "findByDateRange",
2606
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2607
+ },
2608
+ {
2609
+ "kind": "cli",
2610
+ "name": "journalcollection_findBySource",
2611
+ "operation": "findBySource",
2612
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2613
+ },
2614
+ {
2615
+ "kind": "cli",
2616
+ "name": "journalcollection_findByStatus",
2617
+ "operation": "findByStatus",
2618
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2619
+ },
2620
+ {
2621
+ "kind": "cli",
2622
+ "name": "journalcollection_findDrafts",
2623
+ "operation": "findDrafts",
2624
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2625
+ },
2626
+ {
2627
+ "kind": "cli",
2628
+ "name": "journalcollection_findPosted",
2629
+ "operation": "findPosted",
2630
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2631
+ },
2632
+ {
2633
+ "kind": "cli",
2634
+ "name": "journalcollection_createWithEntries",
2635
+ "operation": "createWithEntries",
2636
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2637
+ },
2638
+ {
2639
+ "kind": "cli",
2640
+ "name": "journalcollection_post",
2641
+ "operation": "post",
2642
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2643
+ },
2644
+ {
2645
+ "kind": "cli",
2646
+ "name": "journalcollection_void",
2647
+ "operation": "void",
2648
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2649
+ },
2650
+ {
2651
+ "kind": "cli",
2652
+ "name": "journalcollection_findBySourceRef",
2653
+ "operation": "findBySourceRef",
2654
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2655
+ },
2656
+ {
2657
+ "kind": "cli",
2658
+ "name": "journalcollection_findByMonth",
2659
+ "operation": "findByMonth",
2660
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2661
+ },
2662
+ {
2663
+ "kind": "cli",
2664
+ "name": "journalcollection_findByTenant",
2665
+ "operation": "findByTenant",
2666
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2667
+ },
2668
+ {
2669
+ "kind": "cli",
2670
+ "name": "journalcollection_findGlobal",
2671
+ "operation": "findGlobal",
2672
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2673
+ },
2674
+ {
2675
+ "kind": "cli",
2676
+ "name": "journalcollection_findWithGlobals",
2677
+ "operation": "findWithGlobals",
2678
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2679
+ },
2680
+ {
2681
+ "kind": "mcp",
2682
+ "name": "journalcollection_findbynumber",
2683
+ "operation": "findByNumber",
2684
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2685
+ },
2686
+ {
2687
+ "kind": "mcp",
2688
+ "name": "journalcollection_findbydaterange",
2689
+ "operation": "findByDateRange",
2690
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2691
+ },
2692
+ {
2693
+ "kind": "mcp",
2694
+ "name": "journalcollection_findbysource",
2695
+ "operation": "findBySource",
2696
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2697
+ },
2698
+ {
2699
+ "kind": "mcp",
2700
+ "name": "journalcollection_findbystatus",
2701
+ "operation": "findByStatus",
2702
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2703
+ },
2704
+ {
2705
+ "kind": "mcp",
2706
+ "name": "journalcollection_finddrafts",
2707
+ "operation": "findDrafts",
2708
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2709
+ },
2710
+ {
2711
+ "kind": "mcp",
2712
+ "name": "journalcollection_findposted",
2713
+ "operation": "findPosted",
2714
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2715
+ },
2716
+ {
2717
+ "kind": "mcp",
2718
+ "name": "journalcollection_createwithentries",
2719
+ "operation": "createWithEntries",
2720
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2721
+ },
2722
+ {
2723
+ "kind": "mcp",
2724
+ "name": "journalcollection_post",
2725
+ "operation": "post",
2726
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2727
+ },
2728
+ {
2729
+ "kind": "mcp",
2730
+ "name": "journalcollection_void",
2731
+ "operation": "void",
2732
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2733
+ },
2734
+ {
2735
+ "kind": "mcp",
2736
+ "name": "journalcollection_findbysourceref",
2737
+ "operation": "findBySourceRef",
2738
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2739
+ },
2740
+ {
2741
+ "kind": "mcp",
2742
+ "name": "journalcollection_findbymonth",
2743
+ "operation": "findByMonth",
2744
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2745
+ },
2746
+ {
2747
+ "kind": "mcp",
2748
+ "name": "journalcollection_findbytenant",
2749
+ "operation": "findByTenant",
2750
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2751
+ },
2752
+ {
2753
+ "kind": "mcp",
2754
+ "name": "journalcollection_findglobal",
2755
+ "operation": "findGlobal",
2756
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2757
+ },
2758
+ {
2759
+ "kind": "mcp",
2760
+ "name": "journalcollection_findwithglobals",
2761
+ "operation": "findWithGlobals",
2762
+ "objectName": "@happyvertical/smrt-ledgers:JournalCollection"
2763
+ },
2764
+ {
2765
+ "kind": "api",
2766
+ "name": "accounts.list",
2767
+ "operation": "list",
2768
+ "objectName": "@happyvertical/smrt-ledgers:Account",
2769
+ "path": "/accounts",
2770
+ "method": "GET"
2771
+ },
2772
+ {
2773
+ "kind": "api",
2774
+ "name": "accounts.get",
2775
+ "operation": "get",
2776
+ "objectName": "@happyvertical/smrt-ledgers:Account",
2777
+ "path": "/accounts/[id]",
2778
+ "method": "GET"
2779
+ },
2780
+ {
2781
+ "kind": "api",
2782
+ "name": "accounts.create",
2783
+ "operation": "create",
2784
+ "objectName": "@happyvertical/smrt-ledgers:Account",
2785
+ "path": "/accounts",
2786
+ "method": "POST"
2787
+ },
2788
+ {
2789
+ "kind": "api",
2790
+ "name": "accounts.update",
2791
+ "operation": "update",
2792
+ "objectName": "@happyvertical/smrt-ledgers:Account",
2793
+ "path": "/accounts/[id]",
2794
+ "method": "PATCH"
2795
+ },
2796
+ {
2797
+ "kind": "api",
2798
+ "name": "accounts.delete",
2799
+ "operation": "delete",
2800
+ "objectName": "@happyvertical/smrt-ledgers:Account",
2801
+ "path": "/accounts/[id]",
2802
+ "method": "DELETE"
2803
+ },
2804
+ {
2805
+ "kind": "cli",
2806
+ "name": "account_list",
2807
+ "operation": "list",
2808
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2809
+ },
2810
+ {
2811
+ "kind": "cli",
2812
+ "name": "account_get",
2813
+ "operation": "get",
2814
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2815
+ },
2816
+ {
2817
+ "kind": "cli",
2818
+ "name": "account_create",
2819
+ "operation": "create",
2820
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2821
+ },
2822
+ {
2823
+ "kind": "cli",
2824
+ "name": "account_update",
2825
+ "operation": "update",
2826
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2827
+ },
2828
+ {
2829
+ "kind": "cli",
2830
+ "name": "account_delete",
2831
+ "operation": "delete",
2832
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2833
+ },
2834
+ {
2835
+ "kind": "cli",
2836
+ "name": "account_getParent",
2837
+ "operation": "getParent",
2838
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2839
+ },
2840
+ {
2841
+ "kind": "cli",
2842
+ "name": "account_getChildren",
2843
+ "operation": "getChildren",
2844
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2845
+ },
2846
+ {
2847
+ "kind": "cli",
2848
+ "name": "account_getAncestors",
2849
+ "operation": "getAncestors",
2850
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2851
+ },
2852
+ {
2853
+ "kind": "cli",
2854
+ "name": "account_getDescendants",
2855
+ "operation": "getDescendants",
2856
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2857
+ },
2858
+ {
2859
+ "kind": "cli",
2860
+ "name": "account_getHierarchy",
2861
+ "operation": "getHierarchy",
2862
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2863
+ },
2864
+ {
2865
+ "kind": "cli",
2866
+ "name": "account_moveTo",
2867
+ "operation": "moveTo",
2868
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2869
+ },
2870
+ {
2871
+ "kind": "cli",
2872
+ "name": "account_isTopLevel",
2873
+ "operation": "isTopLevel",
2874
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2875
+ },
2876
+ {
2877
+ "kind": "cli",
2878
+ "name": "account_isDebitNormal",
2879
+ "operation": "isDebitNormal",
2880
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2881
+ },
2882
+ {
2883
+ "kind": "cli",
2884
+ "name": "account_isCreditNormal",
2885
+ "operation": "isCreditNormal",
2886
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2887
+ },
2888
+ {
2889
+ "kind": "cli",
2890
+ "name": "account_getFullPath",
2891
+ "operation": "getFullPath",
2892
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2893
+ },
2894
+ {
2895
+ "kind": "cli",
2896
+ "name": "account_toTreeNode",
2897
+ "operation": "toTreeNode",
2898
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2899
+ },
2900
+ {
2901
+ "kind": "cli",
2902
+ "name": "account_getBalance",
2903
+ "operation": "getBalance",
2904
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2905
+ },
2906
+ {
2907
+ "kind": "cli",
2908
+ "name": "account_createChild",
2909
+ "operation": "createChild",
2910
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2911
+ },
2912
+ {
2913
+ "kind": "mcp",
2914
+ "name": "account_list",
2915
+ "operation": "list",
2916
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2917
+ },
2918
+ {
2919
+ "kind": "mcp",
2920
+ "name": "account_get",
2921
+ "operation": "get",
2922
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2923
+ },
2924
+ {
2925
+ "kind": "mcp",
2926
+ "name": "account_create",
2927
+ "operation": "create",
2928
+ "objectName": "@happyvertical/smrt-ledgers:Account"
2929
+ },
2930
+ {
2931
+ "kind": "api",
2932
+ "name": "journals.list",
2933
+ "operation": "list",
2934
+ "objectName": "@happyvertical/smrt-ledgers:Journal",
2935
+ "path": "/journals",
2936
+ "method": "GET"
2937
+ },
2938
+ {
2939
+ "kind": "api",
2940
+ "name": "journals.get",
2941
+ "operation": "get",
2942
+ "objectName": "@happyvertical/smrt-ledgers:Journal",
2943
+ "path": "/journals/[id]",
2944
+ "method": "GET"
2945
+ },
2946
+ {
2947
+ "kind": "api",
2948
+ "name": "journals.create",
2949
+ "operation": "create",
2950
+ "objectName": "@happyvertical/smrt-ledgers:Journal",
2951
+ "path": "/journals",
2952
+ "method": "POST"
2953
+ },
2954
+ {
2955
+ "kind": "cli",
2956
+ "name": "journal_list",
2957
+ "operation": "list",
2958
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
2959
+ },
2960
+ {
2961
+ "kind": "cli",
2962
+ "name": "journal_get",
2963
+ "operation": "get",
2964
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
2965
+ },
2966
+ {
2967
+ "kind": "cli",
2968
+ "name": "journal_create",
2969
+ "operation": "create",
2970
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
2971
+ },
2972
+ {
2973
+ "kind": "cli",
2974
+ "name": "journal_update",
2975
+ "operation": "update",
2976
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
2977
+ },
2978
+ {
2979
+ "kind": "cli",
2980
+ "name": "journal_delete",
2981
+ "operation": "delete",
2982
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
2983
+ },
2984
+ {
2985
+ "kind": "cli",
2986
+ "name": "journal_isDraft",
2987
+ "operation": "isDraft",
2988
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
2989
+ },
2990
+ {
2991
+ "kind": "cli",
2992
+ "name": "journal_isPosted",
2993
+ "operation": "isPosted",
2994
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
2995
+ },
2996
+ {
2997
+ "kind": "cli",
2998
+ "name": "journal_isVoided",
2999
+ "operation": "isVoided",
3000
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3001
+ },
3002
+ {
3003
+ "kind": "cli",
3004
+ "name": "journal_isEditable",
3005
+ "operation": "isEditable",
3006
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3007
+ },
3008
+ {
3009
+ "kind": "cli",
3010
+ "name": "journal_getEntries",
3011
+ "operation": "getEntries",
3012
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3013
+ },
3014
+ {
3015
+ "kind": "cli",
3016
+ "name": "journal_getTotalDebits",
3017
+ "operation": "getTotalDebits",
3018
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3019
+ },
3020
+ {
3021
+ "kind": "cli",
3022
+ "name": "journal_getTotalCredits",
3023
+ "operation": "getTotalCredits",
3024
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3025
+ },
3026
+ {
3027
+ "kind": "cli",
3028
+ "name": "journal_isBalanced",
3029
+ "operation": "isBalanced",
3030
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3031
+ },
3032
+ {
3033
+ "kind": "cli",
3034
+ "name": "journal_addEntry",
3035
+ "operation": "addEntry",
3036
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3037
+ },
3038
+ {
3039
+ "kind": "cli",
3040
+ "name": "journal_post",
3041
+ "operation": "post",
3042
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3043
+ },
3044
+ {
3045
+ "kind": "cli",
3046
+ "name": "journal_void",
3047
+ "operation": "void",
3048
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3049
+ },
3050
+ {
3051
+ "kind": "cli",
3052
+ "name": "journal_summarize",
3053
+ "operation": "summarize",
3054
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3055
+ },
3056
+ {
3057
+ "kind": "mcp",
3058
+ "name": "journal_list",
3059
+ "operation": "list",
3060
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3061
+ },
3062
+ {
3063
+ "kind": "mcp",
3064
+ "name": "journal_get",
3065
+ "operation": "get",
3066
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3067
+ },
3068
+ {
3069
+ "kind": "mcp",
3070
+ "name": "journal_create",
3071
+ "operation": "create",
3072
+ "objectName": "@happyvertical/smrt-ledgers:Journal"
3073
+ },
3074
+ {
3075
+ "kind": "api",
3076
+ "name": "journalentries.list",
3077
+ "operation": "list",
3078
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry",
3079
+ "path": "/journalentries",
3080
+ "method": "GET"
3081
+ },
3082
+ {
3083
+ "kind": "api",
3084
+ "name": "journalentries.get",
3085
+ "operation": "get",
3086
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry",
3087
+ "path": "/journalentries/[id]",
3088
+ "method": "GET"
3089
+ },
3090
+ {
3091
+ "kind": "cli",
3092
+ "name": "journalentry_list",
3093
+ "operation": "list",
3094
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
3095
+ },
3096
+ {
3097
+ "kind": "cli",
3098
+ "name": "journalentry_get",
3099
+ "operation": "get",
3100
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
1316
3101
  },
1317
3102
  {
1318
3103
  "kind": "cli",
@@ -1332,6 +3117,48 @@
1332
3117
  "operation": "delete",
1333
3118
  "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
1334
3119
  },
3120
+ {
3121
+ "kind": "cli",
3122
+ "name": "journalentry_isDebit",
3123
+ "operation": "isDebit",
3124
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
3125
+ },
3126
+ {
3127
+ "kind": "cli",
3128
+ "name": "journalentry_isCredit",
3129
+ "operation": "isCredit",
3130
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
3131
+ },
3132
+ {
3133
+ "kind": "cli",
3134
+ "name": "journalentry_getAmount",
3135
+ "operation": "getAmount",
3136
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
3137
+ },
3138
+ {
3139
+ "kind": "cli",
3140
+ "name": "journalentry_getBaseAmount",
3141
+ "operation": "getBaseAmount",
3142
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
3143
+ },
3144
+ {
3145
+ "kind": "cli",
3146
+ "name": "journalentry_getJournal",
3147
+ "operation": "getJournal",
3148
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
3149
+ },
3150
+ {
3151
+ "kind": "cli",
3152
+ "name": "journalentry_getAccount",
3153
+ "operation": "getAccount",
3154
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
3155
+ },
3156
+ {
3157
+ "kind": "cli",
3158
+ "name": "journalentry_getDescription",
3159
+ "operation": "getDescription",
3160
+ "objectName": "@happyvertical/smrt-ledgers:JournalEntry"
3161
+ },
1335
3162
  {
1336
3163
  "kind": "mcp",
1337
3164
  "name": "journalentry_list",