@happyvertical/smrt-places 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-places",
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": "f4a75a1f75d748367a76e8c7af72c0d85469ab83e651eed5ead9e26514f29af3",
11
- "packageJson": "498f6c757043765669c139d1a44131907441e0d4d670003e4860c133bb25421b",
10
+ "manifest": "bf28908fcebfed670112433449f9f16c6a678d3ba26ca6971b4b35c6766cc801",
11
+ "packageJson": "5898bff857df4845f9381477053ff59f68c176bceeb36f4db225c940d5183668",
12
12
  "agents": "1f12a465f3ef103ac0ba27bcec1ec2b982fd0f5e8a63b9a42738f2c79ecebe49"
13
13
  },
14
14
  "exports": [
@@ -306,7 +306,288 @@
306
306
  "returns": "Promise<Place[]>"
307
307
  }
308
308
  ],
309
- "surfaces": [],
309
+ "surfaces": [
310
+ {
311
+ "kind": "api",
312
+ "name": "places.lookupOrCreate",
313
+ "operation": "lookupOrCreate",
314
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
315
+ "path": "/places/lookupOrCreate",
316
+ "method": "POST"
317
+ },
318
+ {
319
+ "kind": "api",
320
+ "name": "places.discoverNearby",
321
+ "operation": "discoverNearby",
322
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
323
+ "path": "/places/discoverNearby",
324
+ "method": "POST"
325
+ },
326
+ {
327
+ "kind": "api",
328
+ "name": "places.resolveTrackPlaces",
329
+ "operation": "resolveTrackPlaces",
330
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
331
+ "path": "/places/resolveTrackPlaces",
332
+ "method": "POST"
333
+ },
334
+ {
335
+ "kind": "api",
336
+ "name": "places.getChildren",
337
+ "operation": "getChildren",
338
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
339
+ "path": "/places/getChildren",
340
+ "method": "POST"
341
+ },
342
+ {
343
+ "kind": "api",
344
+ "name": "places.getRootPlaces",
345
+ "operation": "getRootPlaces",
346
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
347
+ "path": "/places/getRootPlaces",
348
+ "method": "POST"
349
+ },
350
+ {
351
+ "kind": "api",
352
+ "name": "places.getByType",
353
+ "operation": "getByType",
354
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
355
+ "path": "/places/getByType",
356
+ "method": "POST"
357
+ },
358
+ {
359
+ "kind": "api",
360
+ "name": "places.getHierarchy",
361
+ "operation": "getHierarchy",
362
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
363
+ "path": "/places/getHierarchy",
364
+ "method": "POST"
365
+ },
366
+ {
367
+ "kind": "api",
368
+ "name": "places.getAssets",
369
+ "operation": "getAssets",
370
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
371
+ "path": "/places/getAssets",
372
+ "method": "POST"
373
+ },
374
+ {
375
+ "kind": "api",
376
+ "name": "places.addAsset",
377
+ "operation": "addAsset",
378
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
379
+ "path": "/places/addAsset",
380
+ "method": "POST"
381
+ },
382
+ {
383
+ "kind": "api",
384
+ "name": "places.removeAsset",
385
+ "operation": "removeAsset",
386
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
387
+ "path": "/places/removeAsset",
388
+ "method": "POST"
389
+ },
390
+ {
391
+ "kind": "api",
392
+ "name": "places.searchByProximity",
393
+ "operation": "searchByProximity",
394
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
395
+ "path": "/places/searchByProximity",
396
+ "method": "POST"
397
+ },
398
+ {
399
+ "kind": "api",
400
+ "name": "places.findByTenant",
401
+ "operation": "findByTenant",
402
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
403
+ "path": "/places/findByTenant",
404
+ "method": "POST"
405
+ },
406
+ {
407
+ "kind": "api",
408
+ "name": "places.findGlobal",
409
+ "operation": "findGlobal",
410
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
411
+ "path": "/places/findGlobal",
412
+ "method": "POST"
413
+ },
414
+ {
415
+ "kind": "api",
416
+ "name": "places.findWithGlobals",
417
+ "operation": "findWithGlobals",
418
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
419
+ "path": "/places/findWithGlobals",
420
+ "method": "POST"
421
+ },
422
+ {
423
+ "kind": "cli",
424
+ "name": "placecollection_lookupOrCreate",
425
+ "operation": "lookupOrCreate",
426
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
427
+ },
428
+ {
429
+ "kind": "cli",
430
+ "name": "placecollection_discoverNearby",
431
+ "operation": "discoverNearby",
432
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
433
+ },
434
+ {
435
+ "kind": "cli",
436
+ "name": "placecollection_resolveTrackPlaces",
437
+ "operation": "resolveTrackPlaces",
438
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
439
+ },
440
+ {
441
+ "kind": "cli",
442
+ "name": "placecollection_getChildren",
443
+ "operation": "getChildren",
444
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
445
+ },
446
+ {
447
+ "kind": "cli",
448
+ "name": "placecollection_getRootPlaces",
449
+ "operation": "getRootPlaces",
450
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
451
+ },
452
+ {
453
+ "kind": "cli",
454
+ "name": "placecollection_getByType",
455
+ "operation": "getByType",
456
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
457
+ },
458
+ {
459
+ "kind": "cli",
460
+ "name": "placecollection_getHierarchy",
461
+ "operation": "getHierarchy",
462
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
463
+ },
464
+ {
465
+ "kind": "cli",
466
+ "name": "placecollection_getAssets",
467
+ "operation": "getAssets",
468
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
469
+ },
470
+ {
471
+ "kind": "cli",
472
+ "name": "placecollection_addAsset",
473
+ "operation": "addAsset",
474
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
475
+ },
476
+ {
477
+ "kind": "cli",
478
+ "name": "placecollection_removeAsset",
479
+ "operation": "removeAsset",
480
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
481
+ },
482
+ {
483
+ "kind": "cli",
484
+ "name": "placecollection_searchByProximity",
485
+ "operation": "searchByProximity",
486
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
487
+ },
488
+ {
489
+ "kind": "cli",
490
+ "name": "placecollection_findByTenant",
491
+ "operation": "findByTenant",
492
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
493
+ },
494
+ {
495
+ "kind": "cli",
496
+ "name": "placecollection_findGlobal",
497
+ "operation": "findGlobal",
498
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
499
+ },
500
+ {
501
+ "kind": "cli",
502
+ "name": "placecollection_findWithGlobals",
503
+ "operation": "findWithGlobals",
504
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
505
+ },
506
+ {
507
+ "kind": "mcp",
508
+ "name": "placecollection_lookuporcreate",
509
+ "operation": "lookupOrCreate",
510
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
511
+ },
512
+ {
513
+ "kind": "mcp",
514
+ "name": "placecollection_discovernearby",
515
+ "operation": "discoverNearby",
516
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
517
+ },
518
+ {
519
+ "kind": "mcp",
520
+ "name": "placecollection_resolvetrackplaces",
521
+ "operation": "resolveTrackPlaces",
522
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
523
+ },
524
+ {
525
+ "kind": "mcp",
526
+ "name": "placecollection_getchildren",
527
+ "operation": "getChildren",
528
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
529
+ },
530
+ {
531
+ "kind": "mcp",
532
+ "name": "placecollection_getrootplaces",
533
+ "operation": "getRootPlaces",
534
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
535
+ },
536
+ {
537
+ "kind": "mcp",
538
+ "name": "placecollection_getbytype",
539
+ "operation": "getByType",
540
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
541
+ },
542
+ {
543
+ "kind": "mcp",
544
+ "name": "placecollection_gethierarchy",
545
+ "operation": "getHierarchy",
546
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
547
+ },
548
+ {
549
+ "kind": "mcp",
550
+ "name": "placecollection_getassets",
551
+ "operation": "getAssets",
552
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
553
+ },
554
+ {
555
+ "kind": "mcp",
556
+ "name": "placecollection_addasset",
557
+ "operation": "addAsset",
558
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
559
+ },
560
+ {
561
+ "kind": "mcp",
562
+ "name": "placecollection_removeasset",
563
+ "operation": "removeAsset",
564
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
565
+ },
566
+ {
567
+ "kind": "mcp",
568
+ "name": "placecollection_searchbyproximity",
569
+ "operation": "searchByProximity",
570
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
571
+ },
572
+ {
573
+ "kind": "mcp",
574
+ "name": "placecollection_findbytenant",
575
+ "operation": "findByTenant",
576
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
577
+ },
578
+ {
579
+ "kind": "mcp",
580
+ "name": "placecollection_findglobal",
581
+ "operation": "findGlobal",
582
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
583
+ },
584
+ {
585
+ "kind": "mcp",
586
+ "name": "placecollection_findwithglobals",
587
+ "operation": "findWithGlobals",
588
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
589
+ }
590
+ ],
310
591
  "relationshipFeatures": [
311
592
  "uuidColumns"
312
593
  ],
@@ -351,7 +632,68 @@
351
632
  "returns": "Promise<PlaceType[]>"
352
633
  }
353
634
  ],
354
- "surfaces": [],
635
+ "surfaces": [
636
+ {
637
+ "kind": "api",
638
+ "name": "placetypes.getOrCreate",
639
+ "operation": "getOrCreate",
640
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection",
641
+ "path": "/placetypes/getOrCreate",
642
+ "method": "POST"
643
+ },
644
+ {
645
+ "kind": "api",
646
+ "name": "placetypes.getBySlug",
647
+ "operation": "getBySlug",
648
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection",
649
+ "path": "/placetypes/getBySlug",
650
+ "method": "POST"
651
+ },
652
+ {
653
+ "kind": "api",
654
+ "name": "placetypes.initializeDefaults",
655
+ "operation": "initializeDefaults",
656
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection",
657
+ "path": "/placetypes/initializeDefaults",
658
+ "method": "POST"
659
+ },
660
+ {
661
+ "kind": "cli",
662
+ "name": "placetypecollection_getOrCreate",
663
+ "operation": "getOrCreate",
664
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection"
665
+ },
666
+ {
667
+ "kind": "cli",
668
+ "name": "placetypecollection_getBySlug",
669
+ "operation": "getBySlug",
670
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection"
671
+ },
672
+ {
673
+ "kind": "cli",
674
+ "name": "placetypecollection_initializeDefaults",
675
+ "operation": "initializeDefaults",
676
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection"
677
+ },
678
+ {
679
+ "kind": "mcp",
680
+ "name": "placetypecollection_getorcreate",
681
+ "operation": "getOrCreate",
682
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection"
683
+ },
684
+ {
685
+ "kind": "mcp",
686
+ "name": "placetypecollection_getbyslug",
687
+ "operation": "getBySlug",
688
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection"
689
+ },
690
+ {
691
+ "kind": "mcp",
692
+ "name": "placetypecollection_initializedefaults",
693
+ "operation": "initializeDefaults",
694
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection"
695
+ }
696
+ ],
355
697
  "relationshipFeatures": [
356
698
  "uuidColumns"
357
699
  ],
@@ -518,75 +860,23 @@
518
860
  }
519
861
  ],
520
862
  "methods": [
521
- "_setLoadedRelationship",
522
863
  "addAsset",
523
- "claimRevision",
524
- "classifyConstraintError",
525
- "clearEmbeddings",
526
- "delete",
527
- "describe",
528
- "destroy",
529
- "do",
530
- "executeToolCall",
531
- "forget",
532
- "forgetScope",
533
- "generateEmbeddings",
534
- "getAiUsageSnapshot",
535
864
  "getAncestors",
536
865
  "getAssets",
537
- "getAvailableTools",
538
866
  "getChildren",
539
867
  "getDescendants",
540
- "getEmbedding",
541
- "getFields",
542
868
  "getGeoData",
543
869
  "getHierarchy",
544
- "getId",
545
870
  "getMetadata",
546
871
  "getParent",
547
- "getRelated",
548
- "getSavedId",
549
- "getSlug",
550
872
  "getType",
551
873
  "hasCoordinates",
552
- "hasStaleEmbeddings",
553
- "initialize",
554
- "is",
555
- "isRelatedLoaded",
556
- "isSaved",
557
- "listAiUsage",
558
- "loadDataFromDb",
559
- "loadFromId",
560
- "loadFromSlug",
561
- "loadRelated",
562
- "loadRelatedMany",
563
- "markAsPersisted",
564
874
  "moveTo",
565
- "recall",
566
- "recallAll",
567
- "remember",
568
875
  "removeAsset",
569
- "requireInsertOnSave",
570
- "resetAiUsage",
571
- "save",
572
876
  "setMetadata",
573
- "summarizeAiUsage",
574
- "toJSON",
575
- "toPlainObject",
576
- "toPublicJSON",
577
- "updateMetadata",
578
- "withDatabase",
579
- "withTransaction"
877
+ "updateMetadata"
580
878
  ],
581
879
  "methodSignatures": [
582
- {
583
- "name": "_setLoadedRelationship",
584
- "params": [
585
- "fieldName: string",
586
- "value: any"
587
- ],
588
- "returns": "void"
589
- },
590
880
  {
591
881
  "name": "addAsset",
592
882
  "async": true,
@@ -598,345 +888,78 @@
598
888
  "returns": "Promise<void>"
599
889
  },
600
890
  {
601
- "name": "claimRevision",
891
+ "name": "getAncestors",
602
892
  "async": true,
603
- "params": [
604
- "expectedUpdatedAt: Date | string"
605
- ],
606
893
  "returns": "Promise"
607
894
  },
608
895
  {
609
- "name": "classifyConstraintError",
610
- "static": true,
896
+ "name": "getAssets",
897
+ "async": true,
611
898
  "params": [
612
- "message: string"
899
+ "relationship?: string"
613
900
  ],
614
- "returns": "'unique' | 'not_null' | null"
901
+ "returns": "Promise<Asset[]>"
615
902
  },
616
903
  {
617
- "name": "clearEmbeddings",
904
+ "name": "getChildren",
618
905
  "async": true,
619
- "returns": "Promise<void>"
906
+ "returns": "Promise"
620
907
  },
621
908
  {
622
- "name": "delete",
909
+ "name": "getDescendants",
623
910
  "async": true,
624
- "returns": "Promise<void>"
911
+ "returns": "Promise"
625
912
  },
626
913
  {
627
- "name": "describe",
628
- "async": true,
629
- "params": [
630
- "options?: AiOperationOptions"
631
- ],
632
- "returns": "any"
914
+ "name": "getGeoData",
915
+ "returns": "GeoData"
633
916
  },
634
917
  {
635
- "name": "destroy",
636
- "returns": "void"
918
+ "name": "getHierarchy",
919
+ "async": true,
920
+ "returns": "Promise<HierarchyView>"
637
921
  },
638
922
  {
639
- "name": "do",
640
- "async": true,
641
- "params": [
642
- "instructions: string",
643
- "options?: AiOperationOptions"
644
- ],
645
- "returns": "any"
923
+ "name": "getMetadata",
924
+ "returns": "Record<string>"
646
925
  },
647
926
  {
648
- "name": "executeToolCall",
927
+ "name": "getParent",
649
928
  "async": true,
650
- "params": [
651
- "toolCall: ToolCall"
652
- ],
653
- "returns": "Promise<ToolCallResult>"
929
+ "returns": "Promise<null>"
654
930
  },
655
931
  {
656
- "name": "forget",
932
+ "name": "getType",
657
933
  "async": true,
658
- "params": [
659
- "options: object"
660
- ],
661
- "returns": "Promise<void>"
934
+ "returns": "any"
662
935
  },
663
936
  {
664
- "name": "forgetScope",
665
- "async": true,
666
- "params": [
667
- "options: object"
668
- ],
669
- "returns": "Promise<number>"
937
+ "name": "hasCoordinates",
938
+ "returns": "boolean"
670
939
  },
671
940
  {
672
- "name": "generateEmbeddings",
941
+ "name": "moveTo",
673
942
  "async": true,
674
943
  "params": [
675
- "options?: GenerateEmbeddingsOptions"
944
+ "newParent: string | null"
676
945
  ],
677
946
  "returns": "Promise<void>"
678
947
  },
679
948
  {
680
- "name": "getAiUsageSnapshot",
681
- "returns": "AiUsageSnapshot | undefined"
682
- },
683
- {
684
- "name": "getAncestors",
685
- "async": true,
686
- "returns": "Promise"
687
- },
688
- {
689
- "name": "getAssets",
949
+ "name": "removeAsset",
690
950
  "async": true,
691
951
  "params": [
952
+ "assetId: string",
692
953
  "relationship?: string"
693
954
  ],
694
- "returns": "Promise<Asset[]>"
695
- },
696
- {
697
- "name": "getAvailableTools",
698
- "returns": "AITool[]"
699
- },
700
- {
701
- "name": "getChildren",
702
- "async": true,
703
- "returns": "Promise"
704
- },
705
- {
706
- "name": "getDescendants",
707
- "async": true,
708
- "returns": "Promise"
955
+ "returns": "Promise<void>"
709
956
  },
710
957
  {
711
- "name": "getEmbedding",
712
- "async": true,
958
+ "name": "setMetadata",
713
959
  "params": [
714
- "fieldName: string",
715
- "model?: string"
960
+ "data: Record<string>"
716
961
  ],
717
- "returns": "Promise<number[] | null>"
718
- },
719
- {
720
- "name": "getFields",
721
- "async": true,
722
- "returns": "Promise<any>"
723
- },
724
- {
725
- "name": "getGeoData",
726
- "returns": "GeoData"
727
- },
728
- {
729
- "name": "getHierarchy",
730
- "async": true,
731
- "returns": "Promise<HierarchyView>"
732
- },
733
- {
734
- "name": "getId",
735
- "async": true,
736
- "returns": "any"
737
- },
738
- {
739
- "name": "getMetadata",
740
- "returns": "Record<string>"
741
- },
742
- {
743
- "name": "getParent",
744
- "async": true,
745
- "returns": "Promise<null>"
746
- },
747
- {
748
- "name": "getRelated",
749
- "async": true,
750
- "params": [
751
- "fieldName: string",
752
- "opts?: LoadRelatedOptions"
753
- ],
754
- "returns": "Promise<any>"
755
- },
756
- {
757
- "name": "getSavedId",
758
- "async": true,
759
- "returns": "any"
760
- },
761
- {
762
- "name": "getSlug",
763
- "async": true,
764
- "returns": "any"
765
- },
766
- {
767
- "name": "getType",
768
- "async": true,
769
- "returns": "any"
770
- },
771
- {
772
- "name": "hasCoordinates",
773
- "returns": "boolean"
774
- },
775
- {
776
- "name": "hasStaleEmbeddings",
777
- "async": true,
778
- "returns": "Promise<boolean>"
779
- },
780
- {
781
- "name": "initialize",
782
- "async": true,
783
- "returns": "Promise"
784
- },
785
- {
786
- "name": "is",
787
- "async": true,
788
- "params": [
789
- "criteria: string",
790
- "options?: AiOperationOptions"
791
- ],
792
- "returns": "any"
793
- },
794
- {
795
- "name": "isRelatedLoaded",
796
- "params": [
797
- "fieldName: string"
798
- ],
799
- "returns": "boolean"
800
- },
801
- {
802
- "name": "isSaved",
803
- "async": true,
804
- "returns": "any"
805
- },
806
- {
807
- "name": "listAiUsage",
808
- "async": true,
809
- "params": [
810
- "options?: AiUsageListOptions"
811
- ],
812
- "returns": "Promise<SmrtAiUsageRecord[]>"
813
- },
814
- {
815
- "name": "loadDataFromDb",
816
- "async": true,
817
- "params": [
818
- "data: Record<string>"
819
- ],
820
- "returns": "any"
821
- },
822
- {
823
- "name": "loadFromId",
824
- "async": true,
825
- "returns": "any"
826
- },
827
- {
828
- "name": "loadFromSlug",
829
- "async": true,
830
- "returns": "any"
831
- },
832
- {
833
- "name": "loadRelated",
834
- "async": true,
835
- "params": [
836
- "fieldName: string",
837
- "opts?: LoadRelatedOptions"
838
- ],
839
- "returns": "Promise<any>"
840
- },
841
- {
842
- "name": "loadRelatedMany",
843
- "async": true,
844
- "params": [
845
- "fieldName: string",
846
- "opts?: LoadRelatedOptions"
847
- ],
848
- "returns": "Promise<any[]>"
849
- },
850
- {
851
- "name": "markAsPersisted",
852
- "returns": "void"
853
- },
854
- {
855
- "name": "moveTo",
856
- "async": true,
857
- "params": [
858
- "newParent: string | null"
859
- ],
860
- "returns": "Promise<void>"
861
- },
862
- {
863
- "name": "recall",
864
- "async": true,
865
- "params": [
866
- "options: object"
867
- ],
868
- "returns": "Promise"
869
- },
870
- {
871
- "name": "recallAll",
872
- "async": true,
873
- "params": [
874
- "options?: object"
875
- ],
876
- "returns": "Promise<Map<string>>"
877
- },
878
- {
879
- "name": "remember",
880
- "async": true,
881
- "params": [
882
- "options: object"
883
- ],
884
- "returns": "Promise<void>"
885
- },
886
- {
887
- "name": "removeAsset",
888
- "async": true,
889
- "params": [
890
- "assetId: string",
891
- "relationship?: string"
892
- ],
893
- "returns": "Promise<void>"
894
- },
895
- {
896
- "name": "requireInsertOnSave",
897
- "returns": "void"
898
- },
899
- {
900
- "name": "resetAiUsage",
901
- "returns": "void"
902
- },
903
- {
904
- "name": "save",
905
- "async": true,
906
- "params": [
907
- "options?: SmrtSaveOptions"
908
- ],
909
- "returns": "any"
910
- },
911
- {
912
- "name": "setMetadata",
913
- "params": [
914
- "data: Record<string>"
915
- ],
916
- "returns": "void"
917
- },
918
- {
919
- "name": "summarizeAiUsage",
920
- "async": true,
921
- "params": [
922
- "options?: AiUsageSummaryOptions"
923
- ],
924
- "returns": "Promise<Record<string, AiUsageStats>>"
925
- },
926
- {
927
- "name": "toJSON",
928
- "returns": "any"
929
- },
930
- {
931
- "name": "toPlainObject",
932
- "returns": "Record<string>"
933
- },
934
- {
935
- "name": "toPublicJSON",
936
- "params": [
937
- "options?: PublicJsonOptions"
938
- ],
939
- "returns": "Record<string>"
962
+ "returns": "void"
940
963
  },
941
964
  {
942
965
  "name": "updateMetadata",
@@ -944,23 +967,6 @@
944
967
  "updates: Record<string>"
945
968
  ],
946
969
  "returns": "void"
947
- },
948
- {
949
- "name": "withDatabase",
950
- "async": true,
951
- "params": [
952
- "db: DatabaseInterface",
953
- "operation: Function"
954
- ],
955
- "returns": "Promise<T>"
956
- },
957
- {
958
- "name": "withTransaction",
959
- "async": true,
960
- "params": [
961
- "operation: Function"
962
- ],
963
- "returns": "Promise<T>"
964
970
  }
965
971
  ],
966
972
  "tenant": {
@@ -1046,6 +1052,96 @@
1046
1052
  "operation": "delete",
1047
1053
  "objectName": "@happyvertical/smrt-places:Place"
1048
1054
  },
1055
+ {
1056
+ "kind": "cli",
1057
+ "name": "place_getParent",
1058
+ "operation": "getParent",
1059
+ "objectName": "@happyvertical/smrt-places:Place"
1060
+ },
1061
+ {
1062
+ "kind": "cli",
1063
+ "name": "place_getChildren",
1064
+ "operation": "getChildren",
1065
+ "objectName": "@happyvertical/smrt-places:Place"
1066
+ },
1067
+ {
1068
+ "kind": "cli",
1069
+ "name": "place_getAncestors",
1070
+ "operation": "getAncestors",
1071
+ "objectName": "@happyvertical/smrt-places:Place"
1072
+ },
1073
+ {
1074
+ "kind": "cli",
1075
+ "name": "place_getDescendants",
1076
+ "operation": "getDescendants",
1077
+ "objectName": "@happyvertical/smrt-places:Place"
1078
+ },
1079
+ {
1080
+ "kind": "cli",
1081
+ "name": "place_getHierarchy",
1082
+ "operation": "getHierarchy",
1083
+ "objectName": "@happyvertical/smrt-places:Place"
1084
+ },
1085
+ {
1086
+ "kind": "cli",
1087
+ "name": "place_moveTo",
1088
+ "operation": "moveTo",
1089
+ "objectName": "@happyvertical/smrt-places:Place"
1090
+ },
1091
+ {
1092
+ "kind": "cli",
1093
+ "name": "place_getGeoData",
1094
+ "operation": "getGeoData",
1095
+ "objectName": "@happyvertical/smrt-places:Place"
1096
+ },
1097
+ {
1098
+ "kind": "cli",
1099
+ "name": "place_hasCoordinates",
1100
+ "operation": "hasCoordinates",
1101
+ "objectName": "@happyvertical/smrt-places:Place"
1102
+ },
1103
+ {
1104
+ "kind": "cli",
1105
+ "name": "place_getMetadata",
1106
+ "operation": "getMetadata",
1107
+ "objectName": "@happyvertical/smrt-places:Place"
1108
+ },
1109
+ {
1110
+ "kind": "cli",
1111
+ "name": "place_setMetadata",
1112
+ "operation": "setMetadata",
1113
+ "objectName": "@happyvertical/smrt-places:Place"
1114
+ },
1115
+ {
1116
+ "kind": "cli",
1117
+ "name": "place_updateMetadata",
1118
+ "operation": "updateMetadata",
1119
+ "objectName": "@happyvertical/smrt-places:Place"
1120
+ },
1121
+ {
1122
+ "kind": "cli",
1123
+ "name": "place_getType",
1124
+ "operation": "getType",
1125
+ "objectName": "@happyvertical/smrt-places:Place"
1126
+ },
1127
+ {
1128
+ "kind": "cli",
1129
+ "name": "place_getAssets",
1130
+ "operation": "getAssets",
1131
+ "objectName": "@happyvertical/smrt-places:Place"
1132
+ },
1133
+ {
1134
+ "kind": "cli",
1135
+ "name": "place_addAsset",
1136
+ "operation": "addAsset",
1137
+ "objectName": "@happyvertical/smrt-places:Place"
1138
+ },
1139
+ {
1140
+ "kind": "cli",
1141
+ "name": "place_removeAsset",
1142
+ "operation": "removeAsset",
1143
+ "objectName": "@happyvertical/smrt-places:Place"
1144
+ },
1049
1145
  {
1050
1146
  "kind": "mcp",
1051
1147
  "name": "place_list",
@@ -1197,361 +1293,25 @@
1197
1293
  "columnType": "TIMESTAMP"
1198
1294
  },
1199
1295
  {
1200
- "name": "updatedAt",
1201
- "type": "text",
1202
- "required": false,
1203
- "columnType": "TIMESTAMP"
1204
- }
1205
- ],
1206
- "relationships": [],
1207
- "methods": [
1208
- "_setLoadedRelationship",
1209
- "claimRevision",
1210
- "classifyConstraintError",
1211
- "clearEmbeddings",
1212
- "delete",
1213
- "describe",
1214
- "destroy",
1215
- "do",
1216
- "executeToolCall",
1217
- "forget",
1218
- "forgetScope",
1219
- "generateEmbeddings",
1220
- "getAiUsageSnapshot",
1221
- "getAvailableTools",
1222
- "getBySlug",
1223
- "getEmbedding",
1224
- "getFields",
1225
- "getId",
1226
- "getRelated",
1227
- "getSavedId",
1228
- "getSlug",
1229
- "hasStaleEmbeddings",
1230
- "initialize",
1231
- "is",
1232
- "isRelatedLoaded",
1233
- "isSaved",
1234
- "listAiUsage",
1235
- "loadDataFromDb",
1236
- "loadFromId",
1237
- "loadFromSlug",
1238
- "loadRelated",
1239
- "loadRelatedMany",
1240
- "markAsPersisted",
1241
- "recall",
1242
- "recallAll",
1243
- "remember",
1244
- "requireInsertOnSave",
1245
- "resetAiUsage",
1246
- "save",
1247
- "summarizeAiUsage",
1248
- "toJSON",
1249
- "toPlainObject",
1250
- "toPublicJSON",
1251
- "withDatabase",
1252
- "withTransaction"
1253
- ],
1254
- "methodSignatures": [
1255
- {
1256
- "name": "_setLoadedRelationship",
1257
- "params": [
1258
- "fieldName: string",
1259
- "value: any"
1260
- ],
1261
- "returns": "void"
1262
- },
1263
- {
1264
- "name": "claimRevision",
1265
- "async": true,
1266
- "params": [
1267
- "expectedUpdatedAt: Date | string"
1268
- ],
1269
- "returns": "Promise"
1270
- },
1271
- {
1272
- "name": "classifyConstraintError",
1273
- "static": true,
1274
- "params": [
1275
- "message: string"
1276
- ],
1277
- "returns": "'unique' | 'not_null' | null"
1278
- },
1279
- {
1280
- "name": "clearEmbeddings",
1281
- "async": true,
1282
- "returns": "Promise<void>"
1283
- },
1284
- {
1285
- "name": "delete",
1286
- "async": true,
1287
- "returns": "Promise<void>"
1288
- },
1289
- {
1290
- "name": "describe",
1291
- "async": true,
1292
- "params": [
1293
- "options?: AiOperationOptions"
1294
- ],
1295
- "returns": "any"
1296
- },
1297
- {
1298
- "name": "destroy",
1299
- "returns": "void"
1300
- },
1301
- {
1302
- "name": "do",
1303
- "async": true,
1304
- "params": [
1305
- "instructions: string",
1306
- "options?: AiOperationOptions"
1307
- ],
1308
- "returns": "any"
1309
- },
1310
- {
1311
- "name": "executeToolCall",
1312
- "async": true,
1313
- "params": [
1314
- "toolCall: ToolCall"
1315
- ],
1316
- "returns": "Promise<ToolCallResult>"
1317
- },
1318
- {
1319
- "name": "forget",
1320
- "async": true,
1321
- "params": [
1322
- "options: object"
1323
- ],
1324
- "returns": "Promise<void>"
1325
- },
1326
- {
1327
- "name": "forgetScope",
1328
- "async": true,
1329
- "params": [
1330
- "options: object"
1331
- ],
1332
- "returns": "Promise<number>"
1333
- },
1334
- {
1335
- "name": "generateEmbeddings",
1336
- "async": true,
1337
- "params": [
1338
- "options?: GenerateEmbeddingsOptions"
1339
- ],
1340
- "returns": "Promise<void>"
1341
- },
1342
- {
1343
- "name": "getAiUsageSnapshot",
1344
- "returns": "AiUsageSnapshot | undefined"
1345
- },
1346
- {
1347
- "name": "getAvailableTools",
1348
- "returns": "AITool[]"
1349
- },
1350
- {
1351
- "name": "getBySlug",
1352
- "async": true,
1353
- "static": true,
1354
- "params": [
1355
- "_slug: string"
1356
- ],
1357
- "returns": "Promise<PlaceType | null>"
1358
- },
1359
- {
1360
- "name": "getEmbedding",
1361
- "async": true,
1362
- "params": [
1363
- "fieldName: string",
1364
- "model?: string"
1365
- ],
1366
- "returns": "Promise<number[] | null>"
1367
- },
1368
- {
1369
- "name": "getFields",
1370
- "async": true,
1371
- "returns": "Promise<any>"
1372
- },
1373
- {
1374
- "name": "getId",
1375
- "async": true,
1376
- "returns": "any"
1377
- },
1378
- {
1379
- "name": "getRelated",
1380
- "async": true,
1381
- "params": [
1382
- "fieldName: string",
1383
- "opts?: LoadRelatedOptions"
1384
- ],
1385
- "returns": "Promise<any>"
1386
- },
1387
- {
1388
- "name": "getSavedId",
1389
- "async": true,
1390
- "returns": "any"
1391
- },
1392
- {
1393
- "name": "getSlug",
1394
- "async": true,
1395
- "returns": "any"
1396
- },
1397
- {
1398
- "name": "hasStaleEmbeddings",
1399
- "async": true,
1400
- "returns": "Promise<boolean>"
1401
- },
1402
- {
1403
- "name": "initialize",
1404
- "async": true,
1405
- "returns": "Promise"
1406
- },
1407
- {
1408
- "name": "is",
1409
- "async": true,
1410
- "params": [
1411
- "criteria: string",
1412
- "options?: AiOperationOptions"
1413
- ],
1414
- "returns": "any"
1415
- },
1416
- {
1417
- "name": "isRelatedLoaded",
1418
- "params": [
1419
- "fieldName: string"
1420
- ],
1421
- "returns": "boolean"
1422
- },
1423
- {
1424
- "name": "isSaved",
1425
- "async": true,
1426
- "returns": "any"
1427
- },
1428
- {
1429
- "name": "listAiUsage",
1430
- "async": true,
1431
- "params": [
1432
- "options?: AiUsageListOptions"
1433
- ],
1434
- "returns": "Promise<SmrtAiUsageRecord[]>"
1435
- },
1436
- {
1437
- "name": "loadDataFromDb",
1438
- "async": true,
1439
- "params": [
1440
- "data: Record<string>"
1441
- ],
1442
- "returns": "any"
1443
- },
1444
- {
1445
- "name": "loadFromId",
1446
- "async": true,
1447
- "returns": "any"
1448
- },
1449
- {
1450
- "name": "loadFromSlug",
1451
- "async": true,
1452
- "returns": "any"
1453
- },
1454
- {
1455
- "name": "loadRelated",
1456
- "async": true,
1457
- "params": [
1458
- "fieldName: string",
1459
- "opts?: LoadRelatedOptions"
1460
- ],
1461
- "returns": "Promise<any>"
1462
- },
1463
- {
1464
- "name": "loadRelatedMany",
1465
- "async": true,
1466
- "params": [
1467
- "fieldName: string",
1468
- "opts?: LoadRelatedOptions"
1469
- ],
1470
- "returns": "Promise<any[]>"
1471
- },
1472
- {
1473
- "name": "markAsPersisted",
1474
- "returns": "void"
1475
- },
1476
- {
1477
- "name": "recall",
1478
- "async": true,
1479
- "params": [
1480
- "options: object"
1481
- ],
1482
- "returns": "Promise"
1483
- },
1484
- {
1485
- "name": "recallAll",
1486
- "async": true,
1487
- "params": [
1488
- "options?: object"
1489
- ],
1490
- "returns": "Promise<Map<string>>"
1491
- },
1492
- {
1493
- "name": "remember",
1494
- "async": true,
1495
- "params": [
1496
- "options: object"
1497
- ],
1498
- "returns": "Promise<void>"
1499
- },
1500
- {
1501
- "name": "requireInsertOnSave",
1502
- "returns": "void"
1503
- },
1504
- {
1505
- "name": "resetAiUsage",
1506
- "returns": "void"
1507
- },
1508
- {
1509
- "name": "save",
1510
- "async": true,
1511
- "params": [
1512
- "options?: SmrtSaveOptions"
1513
- ],
1514
- "returns": "any"
1515
- },
1516
- {
1517
- "name": "summarizeAiUsage",
1518
- "async": true,
1519
- "params": [
1520
- "options?: AiUsageSummaryOptions"
1521
- ],
1522
- "returns": "Promise<Record<string, AiUsageStats>>"
1523
- },
1524
- {
1525
- "name": "toJSON",
1526
- "returns": "any"
1527
- },
1528
- {
1529
- "name": "toPlainObject",
1530
- "returns": "Record<string>"
1531
- },
1532
- {
1533
- "name": "toPublicJSON",
1534
- "params": [
1535
- "options?: PublicJsonOptions"
1536
- ],
1537
- "returns": "Record<string>"
1538
- },
1539
- {
1540
- "name": "withDatabase",
1541
- "async": true,
1542
- "params": [
1543
- "db: DatabaseInterface",
1544
- "operation: Function"
1545
- ],
1546
- "returns": "Promise<T>"
1547
- },
1296
+ "name": "updatedAt",
1297
+ "type": "text",
1298
+ "required": false,
1299
+ "columnType": "TIMESTAMP"
1300
+ }
1301
+ ],
1302
+ "relationships": [],
1303
+ "methods": [
1304
+ "getBySlug"
1305
+ ],
1306
+ "methodSignatures": [
1548
1307
  {
1549
- "name": "withTransaction",
1308
+ "name": "getBySlug",
1550
1309
  "async": true,
1310
+ "static": true,
1551
1311
  "params": [
1552
- "operation: Function"
1312
+ "_slug: string"
1553
1313
  ],
1554
- "returns": "Promise<T>"
1314
+ "returns": "Promise<PlaceType | null>"
1555
1315
  }
1556
1316
  ],
1557
1317
  "tableStrategy": "sti",
@@ -1626,6 +1386,12 @@
1626
1386
  "operation": "delete",
1627
1387
  "objectName": "@happyvertical/smrt-places:PlaceType"
1628
1388
  },
1389
+ {
1390
+ "kind": "cli",
1391
+ "name": "placetype_getBySlug",
1392
+ "operation": "getBySlug",
1393
+ "objectName": "@happyvertical/smrt-places:PlaceType"
1394
+ },
1629
1395
  {
1630
1396
  "kind": "mcp",
1631
1397
  "name": "placetype_list",
@@ -1653,6 +1419,346 @@
1653
1419
  }
1654
1420
  ],
1655
1421
  "surfaces": [
1422
+ {
1423
+ "kind": "api",
1424
+ "name": "places.lookupOrCreate",
1425
+ "operation": "lookupOrCreate",
1426
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1427
+ "path": "/places/lookupOrCreate",
1428
+ "method": "POST"
1429
+ },
1430
+ {
1431
+ "kind": "api",
1432
+ "name": "places.discoverNearby",
1433
+ "operation": "discoverNearby",
1434
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1435
+ "path": "/places/discoverNearby",
1436
+ "method": "POST"
1437
+ },
1438
+ {
1439
+ "kind": "api",
1440
+ "name": "places.resolveTrackPlaces",
1441
+ "operation": "resolveTrackPlaces",
1442
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1443
+ "path": "/places/resolveTrackPlaces",
1444
+ "method": "POST"
1445
+ },
1446
+ {
1447
+ "kind": "api",
1448
+ "name": "places.getChildren",
1449
+ "operation": "getChildren",
1450
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1451
+ "path": "/places/getChildren",
1452
+ "method": "POST"
1453
+ },
1454
+ {
1455
+ "kind": "api",
1456
+ "name": "places.getRootPlaces",
1457
+ "operation": "getRootPlaces",
1458
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1459
+ "path": "/places/getRootPlaces",
1460
+ "method": "POST"
1461
+ },
1462
+ {
1463
+ "kind": "api",
1464
+ "name": "places.getByType",
1465
+ "operation": "getByType",
1466
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1467
+ "path": "/places/getByType",
1468
+ "method": "POST"
1469
+ },
1470
+ {
1471
+ "kind": "api",
1472
+ "name": "places.getHierarchy",
1473
+ "operation": "getHierarchy",
1474
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1475
+ "path": "/places/getHierarchy",
1476
+ "method": "POST"
1477
+ },
1478
+ {
1479
+ "kind": "api",
1480
+ "name": "places.getAssets",
1481
+ "operation": "getAssets",
1482
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1483
+ "path": "/places/getAssets",
1484
+ "method": "POST"
1485
+ },
1486
+ {
1487
+ "kind": "api",
1488
+ "name": "places.addAsset",
1489
+ "operation": "addAsset",
1490
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1491
+ "path": "/places/addAsset",
1492
+ "method": "POST"
1493
+ },
1494
+ {
1495
+ "kind": "api",
1496
+ "name": "places.removeAsset",
1497
+ "operation": "removeAsset",
1498
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1499
+ "path": "/places/removeAsset",
1500
+ "method": "POST"
1501
+ },
1502
+ {
1503
+ "kind": "api",
1504
+ "name": "places.searchByProximity",
1505
+ "operation": "searchByProximity",
1506
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1507
+ "path": "/places/searchByProximity",
1508
+ "method": "POST"
1509
+ },
1510
+ {
1511
+ "kind": "api",
1512
+ "name": "places.findByTenant",
1513
+ "operation": "findByTenant",
1514
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1515
+ "path": "/places/findByTenant",
1516
+ "method": "POST"
1517
+ },
1518
+ {
1519
+ "kind": "api",
1520
+ "name": "places.findGlobal",
1521
+ "operation": "findGlobal",
1522
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1523
+ "path": "/places/findGlobal",
1524
+ "method": "POST"
1525
+ },
1526
+ {
1527
+ "kind": "api",
1528
+ "name": "places.findWithGlobals",
1529
+ "operation": "findWithGlobals",
1530
+ "objectName": "@happyvertical/smrt-places:PlaceCollection",
1531
+ "path": "/places/findWithGlobals",
1532
+ "method": "POST"
1533
+ },
1534
+ {
1535
+ "kind": "cli",
1536
+ "name": "placecollection_lookupOrCreate",
1537
+ "operation": "lookupOrCreate",
1538
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1539
+ },
1540
+ {
1541
+ "kind": "cli",
1542
+ "name": "placecollection_discoverNearby",
1543
+ "operation": "discoverNearby",
1544
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1545
+ },
1546
+ {
1547
+ "kind": "cli",
1548
+ "name": "placecollection_resolveTrackPlaces",
1549
+ "operation": "resolveTrackPlaces",
1550
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1551
+ },
1552
+ {
1553
+ "kind": "cli",
1554
+ "name": "placecollection_getChildren",
1555
+ "operation": "getChildren",
1556
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1557
+ },
1558
+ {
1559
+ "kind": "cli",
1560
+ "name": "placecollection_getRootPlaces",
1561
+ "operation": "getRootPlaces",
1562
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1563
+ },
1564
+ {
1565
+ "kind": "cli",
1566
+ "name": "placecollection_getByType",
1567
+ "operation": "getByType",
1568
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1569
+ },
1570
+ {
1571
+ "kind": "cli",
1572
+ "name": "placecollection_getHierarchy",
1573
+ "operation": "getHierarchy",
1574
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1575
+ },
1576
+ {
1577
+ "kind": "cli",
1578
+ "name": "placecollection_getAssets",
1579
+ "operation": "getAssets",
1580
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1581
+ },
1582
+ {
1583
+ "kind": "cli",
1584
+ "name": "placecollection_addAsset",
1585
+ "operation": "addAsset",
1586
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1587
+ },
1588
+ {
1589
+ "kind": "cli",
1590
+ "name": "placecollection_removeAsset",
1591
+ "operation": "removeAsset",
1592
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1593
+ },
1594
+ {
1595
+ "kind": "cli",
1596
+ "name": "placecollection_searchByProximity",
1597
+ "operation": "searchByProximity",
1598
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1599
+ },
1600
+ {
1601
+ "kind": "cli",
1602
+ "name": "placecollection_findByTenant",
1603
+ "operation": "findByTenant",
1604
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1605
+ },
1606
+ {
1607
+ "kind": "cli",
1608
+ "name": "placecollection_findGlobal",
1609
+ "operation": "findGlobal",
1610
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1611
+ },
1612
+ {
1613
+ "kind": "cli",
1614
+ "name": "placecollection_findWithGlobals",
1615
+ "operation": "findWithGlobals",
1616
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1617
+ },
1618
+ {
1619
+ "kind": "mcp",
1620
+ "name": "placecollection_lookuporcreate",
1621
+ "operation": "lookupOrCreate",
1622
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1623
+ },
1624
+ {
1625
+ "kind": "mcp",
1626
+ "name": "placecollection_discovernearby",
1627
+ "operation": "discoverNearby",
1628
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1629
+ },
1630
+ {
1631
+ "kind": "mcp",
1632
+ "name": "placecollection_resolvetrackplaces",
1633
+ "operation": "resolveTrackPlaces",
1634
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1635
+ },
1636
+ {
1637
+ "kind": "mcp",
1638
+ "name": "placecollection_getchildren",
1639
+ "operation": "getChildren",
1640
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1641
+ },
1642
+ {
1643
+ "kind": "mcp",
1644
+ "name": "placecollection_getrootplaces",
1645
+ "operation": "getRootPlaces",
1646
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1647
+ },
1648
+ {
1649
+ "kind": "mcp",
1650
+ "name": "placecollection_getbytype",
1651
+ "operation": "getByType",
1652
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1653
+ },
1654
+ {
1655
+ "kind": "mcp",
1656
+ "name": "placecollection_gethierarchy",
1657
+ "operation": "getHierarchy",
1658
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1659
+ },
1660
+ {
1661
+ "kind": "mcp",
1662
+ "name": "placecollection_getassets",
1663
+ "operation": "getAssets",
1664
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1665
+ },
1666
+ {
1667
+ "kind": "mcp",
1668
+ "name": "placecollection_addasset",
1669
+ "operation": "addAsset",
1670
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1671
+ },
1672
+ {
1673
+ "kind": "mcp",
1674
+ "name": "placecollection_removeasset",
1675
+ "operation": "removeAsset",
1676
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1677
+ },
1678
+ {
1679
+ "kind": "mcp",
1680
+ "name": "placecollection_searchbyproximity",
1681
+ "operation": "searchByProximity",
1682
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1683
+ },
1684
+ {
1685
+ "kind": "mcp",
1686
+ "name": "placecollection_findbytenant",
1687
+ "operation": "findByTenant",
1688
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1689
+ },
1690
+ {
1691
+ "kind": "mcp",
1692
+ "name": "placecollection_findglobal",
1693
+ "operation": "findGlobal",
1694
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1695
+ },
1696
+ {
1697
+ "kind": "mcp",
1698
+ "name": "placecollection_findwithglobals",
1699
+ "operation": "findWithGlobals",
1700
+ "objectName": "@happyvertical/smrt-places:PlaceCollection"
1701
+ },
1702
+ {
1703
+ "kind": "api",
1704
+ "name": "placetypes.getOrCreate",
1705
+ "operation": "getOrCreate",
1706
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection",
1707
+ "path": "/placetypes/getOrCreate",
1708
+ "method": "POST"
1709
+ },
1710
+ {
1711
+ "kind": "api",
1712
+ "name": "placetypes.getBySlug",
1713
+ "operation": "getBySlug",
1714
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection",
1715
+ "path": "/placetypes/getBySlug",
1716
+ "method": "POST"
1717
+ },
1718
+ {
1719
+ "kind": "api",
1720
+ "name": "placetypes.initializeDefaults",
1721
+ "operation": "initializeDefaults",
1722
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection",
1723
+ "path": "/placetypes/initializeDefaults",
1724
+ "method": "POST"
1725
+ },
1726
+ {
1727
+ "kind": "cli",
1728
+ "name": "placetypecollection_getOrCreate",
1729
+ "operation": "getOrCreate",
1730
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection"
1731
+ },
1732
+ {
1733
+ "kind": "cli",
1734
+ "name": "placetypecollection_getBySlug",
1735
+ "operation": "getBySlug",
1736
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection"
1737
+ },
1738
+ {
1739
+ "kind": "cli",
1740
+ "name": "placetypecollection_initializeDefaults",
1741
+ "operation": "initializeDefaults",
1742
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection"
1743
+ },
1744
+ {
1745
+ "kind": "mcp",
1746
+ "name": "placetypecollection_getorcreate",
1747
+ "operation": "getOrCreate",
1748
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection"
1749
+ },
1750
+ {
1751
+ "kind": "mcp",
1752
+ "name": "placetypecollection_getbyslug",
1753
+ "operation": "getBySlug",
1754
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection"
1755
+ },
1756
+ {
1757
+ "kind": "mcp",
1758
+ "name": "placetypecollection_initializedefaults",
1759
+ "operation": "initializeDefaults",
1760
+ "objectName": "@happyvertical/smrt-places:PlaceTypeCollection"
1761
+ },
1656
1762
  {
1657
1763
  "kind": "api",
1658
1764
  "name": "places.list",
@@ -1723,6 +1829,96 @@
1723
1829
  "operation": "delete",
1724
1830
  "objectName": "@happyvertical/smrt-places:Place"
1725
1831
  },
1832
+ {
1833
+ "kind": "cli",
1834
+ "name": "place_getParent",
1835
+ "operation": "getParent",
1836
+ "objectName": "@happyvertical/smrt-places:Place"
1837
+ },
1838
+ {
1839
+ "kind": "cli",
1840
+ "name": "place_getChildren",
1841
+ "operation": "getChildren",
1842
+ "objectName": "@happyvertical/smrt-places:Place"
1843
+ },
1844
+ {
1845
+ "kind": "cli",
1846
+ "name": "place_getAncestors",
1847
+ "operation": "getAncestors",
1848
+ "objectName": "@happyvertical/smrt-places:Place"
1849
+ },
1850
+ {
1851
+ "kind": "cli",
1852
+ "name": "place_getDescendants",
1853
+ "operation": "getDescendants",
1854
+ "objectName": "@happyvertical/smrt-places:Place"
1855
+ },
1856
+ {
1857
+ "kind": "cli",
1858
+ "name": "place_getHierarchy",
1859
+ "operation": "getHierarchy",
1860
+ "objectName": "@happyvertical/smrt-places:Place"
1861
+ },
1862
+ {
1863
+ "kind": "cli",
1864
+ "name": "place_moveTo",
1865
+ "operation": "moveTo",
1866
+ "objectName": "@happyvertical/smrt-places:Place"
1867
+ },
1868
+ {
1869
+ "kind": "cli",
1870
+ "name": "place_getGeoData",
1871
+ "operation": "getGeoData",
1872
+ "objectName": "@happyvertical/smrt-places:Place"
1873
+ },
1874
+ {
1875
+ "kind": "cli",
1876
+ "name": "place_hasCoordinates",
1877
+ "operation": "hasCoordinates",
1878
+ "objectName": "@happyvertical/smrt-places:Place"
1879
+ },
1880
+ {
1881
+ "kind": "cli",
1882
+ "name": "place_getMetadata",
1883
+ "operation": "getMetadata",
1884
+ "objectName": "@happyvertical/smrt-places:Place"
1885
+ },
1886
+ {
1887
+ "kind": "cli",
1888
+ "name": "place_setMetadata",
1889
+ "operation": "setMetadata",
1890
+ "objectName": "@happyvertical/smrt-places:Place"
1891
+ },
1892
+ {
1893
+ "kind": "cli",
1894
+ "name": "place_updateMetadata",
1895
+ "operation": "updateMetadata",
1896
+ "objectName": "@happyvertical/smrt-places:Place"
1897
+ },
1898
+ {
1899
+ "kind": "cli",
1900
+ "name": "place_getType",
1901
+ "operation": "getType",
1902
+ "objectName": "@happyvertical/smrt-places:Place"
1903
+ },
1904
+ {
1905
+ "kind": "cli",
1906
+ "name": "place_getAssets",
1907
+ "operation": "getAssets",
1908
+ "objectName": "@happyvertical/smrt-places:Place"
1909
+ },
1910
+ {
1911
+ "kind": "cli",
1912
+ "name": "place_addAsset",
1913
+ "operation": "addAsset",
1914
+ "objectName": "@happyvertical/smrt-places:Place"
1915
+ },
1916
+ {
1917
+ "kind": "cli",
1918
+ "name": "place_removeAsset",
1919
+ "operation": "removeAsset",
1920
+ "objectName": "@happyvertical/smrt-places:Place"
1921
+ },
1726
1922
  {
1727
1923
  "kind": "mcp",
1728
1924
  "name": "place_list",
@@ -1817,6 +2013,12 @@
1817
2013
  "operation": "delete",
1818
2014
  "objectName": "@happyvertical/smrt-places:PlaceType"
1819
2015
  },
2016
+ {
2017
+ "kind": "cli",
2018
+ "name": "placetype_getBySlug",
2019
+ "operation": "getBySlug",
2020
+ "objectName": "@happyvertical/smrt-places:PlaceType"
2021
+ },
1820
2022
  {
1821
2023
  "kind": "mcp",
1822
2024
  "name": "placetype_list",