@happyvertical/smrt-places 0.44.1 → 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.1",
6
+ "packageVersion": "0.45.0",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "1feb7f8a40ebdd1de34cb03a55345a7da05ab450fa7139756a40afa2078780dd",
11
- "packageJson": "d6e26e22320f501e12ff02e8c0047fd16bed1a152c506d1e34603c02a821e708",
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,
@@ -597,92 +887,6 @@
597
887
  ],
598
888
  "returns": "Promise<void>"
599
889
  },
600
- {
601
- "name": "claimRevision",
602
- "async": true,
603
- "params": [
604
- "expectedUpdatedAt: Date | string"
605
- ],
606
- "returns": "Promise"
607
- },
608
- {
609
- "name": "classifyConstraintError",
610
- "static": true,
611
- "params": [
612
- "message: string"
613
- ],
614
- "returns": "'unique' | 'not_null' | null"
615
- },
616
- {
617
- "name": "clearEmbeddings",
618
- "async": true,
619
- "returns": "Promise<void>"
620
- },
621
- {
622
- "name": "delete",
623
- "async": true,
624
- "params": [
625
- "options?: SmrtDeleteOptions"
626
- ],
627
- "returns": "Promise<void>"
628
- },
629
- {
630
- "name": "describe",
631
- "async": true,
632
- "params": [
633
- "options?: AiOperationOptions"
634
- ],
635
- "returns": "any"
636
- },
637
- {
638
- "name": "destroy",
639
- "returns": "void"
640
- },
641
- {
642
- "name": "do",
643
- "async": true,
644
- "params": [
645
- "instructions: string",
646
- "options?: AiOperationOptions"
647
- ],
648
- "returns": "any"
649
- },
650
- {
651
- "name": "executeToolCall",
652
- "async": true,
653
- "params": [
654
- "toolCall: ToolCall"
655
- ],
656
- "returns": "Promise<ToolCallResult>"
657
- },
658
- {
659
- "name": "forget",
660
- "async": true,
661
- "params": [
662
- "options: object"
663
- ],
664
- "returns": "Promise<void>"
665
- },
666
- {
667
- "name": "forgetScope",
668
- "async": true,
669
- "params": [
670
- "options: object"
671
- ],
672
- "returns": "Promise<number>"
673
- },
674
- {
675
- "name": "generateEmbeddings",
676
- "async": true,
677
- "params": [
678
- "options?: GenerateEmbeddingsOptions"
679
- ],
680
- "returns": "Promise<void>"
681
- },
682
- {
683
- "name": "getAiUsageSnapshot",
684
- "returns": "AiUsageSnapshot | undefined"
685
- },
686
890
  {
687
891
  "name": "getAncestors",
688
892
  "async": true,
@@ -696,10 +900,6 @@
696
900
  ],
697
901
  "returns": "Promise<Asset[]>"
698
902
  },
699
- {
700
- "name": "getAvailableTools",
701
- "returns": "AITool[]"
702
- },
703
903
  {
704
904
  "name": "getChildren",
705
905
  "async": true,
@@ -710,20 +910,6 @@
710
910
  "async": true,
711
911
  "returns": "Promise"
712
912
  },
713
- {
714
- "name": "getEmbedding",
715
- "async": true,
716
- "params": [
717
- "fieldName: string",
718
- "model?: string"
719
- ],
720
- "returns": "Promise<number[] | null>"
721
- },
722
- {
723
- "name": "getFields",
724
- "async": true,
725
- "returns": "Promise<any>"
726
- },
727
913
  {
728
914
  "name": "getGeoData",
729
915
  "returns": "GeoData"
@@ -733,11 +919,6 @@
733
919
  "async": true,
734
920
  "returns": "Promise<HierarchyView>"
735
921
  },
736
- {
737
- "name": "getId",
738
- "async": true,
739
- "returns": "any"
740
- },
741
922
  {
742
923
  "name": "getMetadata",
743
924
  "returns": "Record<string>"
@@ -748,26 +929,7 @@
748
929
  "returns": "Promise<null>"
749
930
  },
750
931
  {
751
- "name": "getRelated",
752
- "async": true,
753
- "params": [
754
- "fieldName: string",
755
- "opts?: LoadRelatedOptions"
756
- ],
757
- "returns": "Promise<any>"
758
- },
759
- {
760
- "name": "getSavedId",
761
- "async": true,
762
- "returns": "any"
763
- },
764
- {
765
- "name": "getSlug",
766
- "async": true,
767
- "returns": "any"
768
- },
769
- {
770
- "name": "getType",
932
+ "name": "getType",
771
933
  "async": true,
772
934
  "returns": "any"
773
935
  },
@@ -775,85 +937,6 @@
775
937
  "name": "hasCoordinates",
776
938
  "returns": "boolean"
777
939
  },
778
- {
779
- "name": "hasStaleEmbeddings",
780
- "async": true,
781
- "returns": "Promise<boolean>"
782
- },
783
- {
784
- "name": "initialize",
785
- "async": true,
786
- "returns": "Promise"
787
- },
788
- {
789
- "name": "is",
790
- "async": true,
791
- "params": [
792
- "criteria: string",
793
- "options?: AiOperationOptions"
794
- ],
795
- "returns": "any"
796
- },
797
- {
798
- "name": "isRelatedLoaded",
799
- "params": [
800
- "fieldName: string"
801
- ],
802
- "returns": "boolean"
803
- },
804
- {
805
- "name": "isSaved",
806
- "async": true,
807
- "returns": "any"
808
- },
809
- {
810
- "name": "listAiUsage",
811
- "async": true,
812
- "params": [
813
- "options?: AiUsageListOptions"
814
- ],
815
- "returns": "Promise<SmrtAiUsageRecord[]>"
816
- },
817
- {
818
- "name": "loadDataFromDb",
819
- "async": true,
820
- "params": [
821
- "data: Record<string>"
822
- ],
823
- "returns": "any"
824
- },
825
- {
826
- "name": "loadFromId",
827
- "async": true,
828
- "returns": "any"
829
- },
830
- {
831
- "name": "loadFromSlug",
832
- "async": true,
833
- "returns": "any"
834
- },
835
- {
836
- "name": "loadRelated",
837
- "async": true,
838
- "params": [
839
- "fieldName: string",
840
- "opts?: LoadRelatedOptions"
841
- ],
842
- "returns": "Promise<any>"
843
- },
844
- {
845
- "name": "loadRelatedMany",
846
- "async": true,
847
- "params": [
848
- "fieldName: string",
849
- "opts?: LoadRelatedOptions"
850
- ],
851
- "returns": "Promise<any[]>"
852
- },
853
- {
854
- "name": "markAsPersisted",
855
- "returns": "void"
856
- },
857
940
  {
858
941
  "name": "moveTo",
859
942
  "async": true,
@@ -862,30 +945,6 @@
862
945
  ],
863
946
  "returns": "Promise<void>"
864
947
  },
865
- {
866
- "name": "recall",
867
- "async": true,
868
- "params": [
869
- "options: object"
870
- ],
871
- "returns": "Promise"
872
- },
873
- {
874
- "name": "recallAll",
875
- "async": true,
876
- "params": [
877
- "options?: object"
878
- ],
879
- "returns": "Promise<Map<string>>"
880
- },
881
- {
882
- "name": "remember",
883
- "async": true,
884
- "params": [
885
- "options: object"
886
- ],
887
- "returns": "Promise<void>"
888
- },
889
948
  {
890
949
  "name": "removeAsset",
891
950
  "async": true,
@@ -895,22 +954,6 @@
895
954
  ],
896
955
  "returns": "Promise<void>"
897
956
  },
898
- {
899
- "name": "requireInsertOnSave",
900
- "returns": "void"
901
- },
902
- {
903
- "name": "resetAiUsage",
904
- "returns": "void"
905
- },
906
- {
907
- "name": "save",
908
- "async": true,
909
- "params": [
910
- "options?: SmrtSaveOptions"
911
- ],
912
- "returns": "any"
913
- },
914
957
  {
915
958
  "name": "setMetadata",
916
959
  "params": [
@@ -918,52 +961,12 @@
918
961
  ],
919
962
  "returns": "void"
920
963
  },
921
- {
922
- "name": "summarizeAiUsage",
923
- "async": true,
924
- "params": [
925
- "options?: AiUsageSummaryOptions"
926
- ],
927
- "returns": "Promise<Record<string, AiUsageStats>>"
928
- },
929
- {
930
- "name": "toJSON",
931
- "returns": "any"
932
- },
933
- {
934
- "name": "toPlainObject",
935
- "returns": "Record<string>"
936
- },
937
- {
938
- "name": "toPublicJSON",
939
- "params": [
940
- "options?: PublicJsonOptions"
941
- ],
942
- "returns": "Record<string>"
943
- },
944
964
  {
945
965
  "name": "updateMetadata",
946
966
  "params": [
947
967
  "updates: Record<string>"
948
968
  ],
949
969
  "returns": "void"
950
- },
951
- {
952
- "name": "withDatabase",
953
- "async": true,
954
- "params": [
955
- "db: DatabaseInterface",
956
- "operation: Function"
957
- ],
958
- "returns": "Promise<T>"
959
- },
960
- {
961
- "name": "withTransaction",
962
- "async": true,
963
- "params": [
964
- "operation: Function"
965
- ],
966
- "returns": "Promise<T>"
967
970
  }
968
971
  ],
969
972
  "tenant": {
@@ -1049,6 +1052,96 @@
1049
1052
  "operation": "delete",
1050
1053
  "objectName": "@happyvertical/smrt-places:Place"
1051
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
+ },
1052
1145
  {
1053
1146
  "kind": "mcp",
1054
1147
  "name": "place_list",
@@ -1208,405 +1301,66 @@
1208
1301
  ],
1209
1302
  "relationships": [],
1210
1303
  "methods": [
1211
- "_setLoadedRelationship",
1212
- "claimRevision",
1213
- "classifyConstraintError",
1214
- "clearEmbeddings",
1215
- "delete",
1216
- "describe",
1217
- "destroy",
1218
- "do",
1219
- "executeToolCall",
1220
- "forget",
1221
- "forgetScope",
1222
- "generateEmbeddings",
1223
- "getAiUsageSnapshot",
1224
- "getAvailableTools",
1225
- "getBySlug",
1226
- "getEmbedding",
1227
- "getFields",
1228
- "getId",
1229
- "getRelated",
1230
- "getSavedId",
1231
- "getSlug",
1232
- "hasStaleEmbeddings",
1233
- "initialize",
1234
- "is",
1235
- "isRelatedLoaded",
1236
- "isSaved",
1237
- "listAiUsage",
1238
- "loadDataFromDb",
1239
- "loadFromId",
1240
- "loadFromSlug",
1241
- "loadRelated",
1242
- "loadRelatedMany",
1243
- "markAsPersisted",
1244
- "recall",
1245
- "recallAll",
1246
- "remember",
1247
- "requireInsertOnSave",
1248
- "resetAiUsage",
1249
- "save",
1250
- "summarizeAiUsage",
1251
- "toJSON",
1252
- "toPlainObject",
1253
- "toPublicJSON",
1254
- "withDatabase",
1255
- "withTransaction"
1304
+ "getBySlug"
1256
1305
  ],
1257
1306
  "methodSignatures": [
1258
1307
  {
1259
- "name": "_setLoadedRelationship",
1260
- "params": [
1261
- "fieldName: string",
1262
- "value: any"
1263
- ],
1264
- "returns": "void"
1265
- },
1266
- {
1267
- "name": "claimRevision",
1308
+ "name": "getBySlug",
1268
1309
  "async": true,
1269
- "params": [
1270
- "expectedUpdatedAt: Date | string"
1271
- ],
1272
- "returns": "Promise"
1273
- },
1274
- {
1275
- "name": "classifyConstraintError",
1276
1310
  "static": true,
1277
1311
  "params": [
1278
- "message: string"
1312
+ "_slug: string"
1279
1313
  ],
1280
- "returns": "'unique' | 'not_null' | null"
1281
- },
1314
+ "returns": "Promise<PlaceType | null>"
1315
+ }
1316
+ ],
1317
+ "tableStrategy": "sti",
1318
+ "surfaces": [
1282
1319
  {
1283
- "name": "clearEmbeddings",
1284
- "async": true,
1285
- "returns": "Promise<void>"
1320
+ "kind": "api",
1321
+ "name": "placetypes.list",
1322
+ "operation": "list",
1323
+ "objectName": "@happyvertical/smrt-places:PlaceType",
1324
+ "path": "/placetypes",
1325
+ "method": "GET"
1286
1326
  },
1287
1327
  {
1288
- "name": "delete",
1289
- "async": true,
1290
- "params": [
1291
- "options?: SmrtDeleteOptions"
1292
- ],
1293
- "returns": "Promise<void>"
1328
+ "kind": "api",
1329
+ "name": "placetypes.get",
1330
+ "operation": "get",
1331
+ "objectName": "@happyvertical/smrt-places:PlaceType",
1332
+ "path": "/placetypes/[id]",
1333
+ "method": "GET"
1294
1334
  },
1295
1335
  {
1296
- "name": "describe",
1297
- "async": true,
1298
- "params": [
1299
- "options?: AiOperationOptions"
1300
- ],
1301
- "returns": "any"
1336
+ "kind": "api",
1337
+ "name": "placetypes.create",
1338
+ "operation": "create",
1339
+ "objectName": "@happyvertical/smrt-places:PlaceType",
1340
+ "path": "/placetypes",
1341
+ "method": "POST"
1302
1342
  },
1303
1343
  {
1304
- "name": "destroy",
1305
- "returns": "void"
1344
+ "kind": "api",
1345
+ "name": "placetypes.update",
1346
+ "operation": "update",
1347
+ "objectName": "@happyvertical/smrt-places:PlaceType",
1348
+ "path": "/placetypes/[id]",
1349
+ "method": "PATCH"
1306
1350
  },
1307
1351
  {
1308
- "name": "do",
1309
- "async": true,
1310
- "params": [
1311
- "instructions: string",
1312
- "options?: AiOperationOptions"
1313
- ],
1314
- "returns": "any"
1352
+ "kind": "api",
1353
+ "name": "placetypes.delete",
1354
+ "operation": "delete",
1355
+ "objectName": "@happyvertical/smrt-places:PlaceType",
1356
+ "path": "/placetypes/[id]",
1357
+ "method": "DELETE"
1315
1358
  },
1316
1359
  {
1317
- "name": "executeToolCall",
1318
- "async": true,
1319
- "params": [
1320
- "toolCall: ToolCall"
1321
- ],
1322
- "returns": "Promise<ToolCallResult>"
1323
- },
1324
- {
1325
- "name": "forget",
1326
- "async": true,
1327
- "params": [
1328
- "options: object"
1329
- ],
1330
- "returns": "Promise<void>"
1331
- },
1332
- {
1333
- "name": "forgetScope",
1334
- "async": true,
1335
- "params": [
1336
- "options: object"
1337
- ],
1338
- "returns": "Promise<number>"
1339
- },
1340
- {
1341
- "name": "generateEmbeddings",
1342
- "async": true,
1343
- "params": [
1344
- "options?: GenerateEmbeddingsOptions"
1345
- ],
1346
- "returns": "Promise<void>"
1347
- },
1348
- {
1349
- "name": "getAiUsageSnapshot",
1350
- "returns": "AiUsageSnapshot | undefined"
1351
- },
1352
- {
1353
- "name": "getAvailableTools",
1354
- "returns": "AITool[]"
1355
- },
1356
- {
1357
- "name": "getBySlug",
1358
- "async": true,
1359
- "static": true,
1360
- "params": [
1361
- "_slug: string"
1362
- ],
1363
- "returns": "Promise<PlaceType | null>"
1364
- },
1365
- {
1366
- "name": "getEmbedding",
1367
- "async": true,
1368
- "params": [
1369
- "fieldName: string",
1370
- "model?: string"
1371
- ],
1372
- "returns": "Promise<number[] | null>"
1373
- },
1374
- {
1375
- "name": "getFields",
1376
- "async": true,
1377
- "returns": "Promise<any>"
1378
- },
1379
- {
1380
- "name": "getId",
1381
- "async": true,
1382
- "returns": "any"
1383
- },
1384
- {
1385
- "name": "getRelated",
1386
- "async": true,
1387
- "params": [
1388
- "fieldName: string",
1389
- "opts?: LoadRelatedOptions"
1390
- ],
1391
- "returns": "Promise<any>"
1392
- },
1393
- {
1394
- "name": "getSavedId",
1395
- "async": true,
1396
- "returns": "any"
1397
- },
1398
- {
1399
- "name": "getSlug",
1400
- "async": true,
1401
- "returns": "any"
1402
- },
1403
- {
1404
- "name": "hasStaleEmbeddings",
1405
- "async": true,
1406
- "returns": "Promise<boolean>"
1407
- },
1408
- {
1409
- "name": "initialize",
1410
- "async": true,
1411
- "returns": "Promise"
1412
- },
1413
- {
1414
- "name": "is",
1415
- "async": true,
1416
- "params": [
1417
- "criteria: string",
1418
- "options?: AiOperationOptions"
1419
- ],
1420
- "returns": "any"
1421
- },
1422
- {
1423
- "name": "isRelatedLoaded",
1424
- "params": [
1425
- "fieldName: string"
1426
- ],
1427
- "returns": "boolean"
1428
- },
1429
- {
1430
- "name": "isSaved",
1431
- "async": true,
1432
- "returns": "any"
1433
- },
1434
- {
1435
- "name": "listAiUsage",
1436
- "async": true,
1437
- "params": [
1438
- "options?: AiUsageListOptions"
1439
- ],
1440
- "returns": "Promise<SmrtAiUsageRecord[]>"
1441
- },
1442
- {
1443
- "name": "loadDataFromDb",
1444
- "async": true,
1445
- "params": [
1446
- "data: Record<string>"
1447
- ],
1448
- "returns": "any"
1449
- },
1450
- {
1451
- "name": "loadFromId",
1452
- "async": true,
1453
- "returns": "any"
1454
- },
1455
- {
1456
- "name": "loadFromSlug",
1457
- "async": true,
1458
- "returns": "any"
1459
- },
1460
- {
1461
- "name": "loadRelated",
1462
- "async": true,
1463
- "params": [
1464
- "fieldName: string",
1465
- "opts?: LoadRelatedOptions"
1466
- ],
1467
- "returns": "Promise<any>"
1468
- },
1469
- {
1470
- "name": "loadRelatedMany",
1471
- "async": true,
1472
- "params": [
1473
- "fieldName: string",
1474
- "opts?: LoadRelatedOptions"
1475
- ],
1476
- "returns": "Promise<any[]>"
1477
- },
1478
- {
1479
- "name": "markAsPersisted",
1480
- "returns": "void"
1481
- },
1482
- {
1483
- "name": "recall",
1484
- "async": true,
1485
- "params": [
1486
- "options: object"
1487
- ],
1488
- "returns": "Promise"
1489
- },
1490
- {
1491
- "name": "recallAll",
1492
- "async": true,
1493
- "params": [
1494
- "options?: object"
1495
- ],
1496
- "returns": "Promise<Map<string>>"
1497
- },
1498
- {
1499
- "name": "remember",
1500
- "async": true,
1501
- "params": [
1502
- "options: object"
1503
- ],
1504
- "returns": "Promise<void>"
1505
- },
1506
- {
1507
- "name": "requireInsertOnSave",
1508
- "returns": "void"
1509
- },
1510
- {
1511
- "name": "resetAiUsage",
1512
- "returns": "void"
1513
- },
1514
- {
1515
- "name": "save",
1516
- "async": true,
1517
- "params": [
1518
- "options?: SmrtSaveOptions"
1519
- ],
1520
- "returns": "any"
1521
- },
1522
- {
1523
- "name": "summarizeAiUsage",
1524
- "async": true,
1525
- "params": [
1526
- "options?: AiUsageSummaryOptions"
1527
- ],
1528
- "returns": "Promise<Record<string, AiUsageStats>>"
1529
- },
1530
- {
1531
- "name": "toJSON",
1532
- "returns": "any"
1533
- },
1534
- {
1535
- "name": "toPlainObject",
1536
- "returns": "Record<string>"
1537
- },
1538
- {
1539
- "name": "toPublicJSON",
1540
- "params": [
1541
- "options?: PublicJsonOptions"
1542
- ],
1543
- "returns": "Record<string>"
1544
- },
1545
- {
1546
- "name": "withDatabase",
1547
- "async": true,
1548
- "params": [
1549
- "db: DatabaseInterface",
1550
- "operation: Function"
1551
- ],
1552
- "returns": "Promise<T>"
1553
- },
1554
- {
1555
- "name": "withTransaction",
1556
- "async": true,
1557
- "params": [
1558
- "operation: Function"
1559
- ],
1560
- "returns": "Promise<T>"
1561
- }
1562
- ],
1563
- "tableStrategy": "sti",
1564
- "surfaces": [
1565
- {
1566
- "kind": "api",
1567
- "name": "placetypes.list",
1568
- "operation": "list",
1569
- "objectName": "@happyvertical/smrt-places:PlaceType",
1570
- "path": "/placetypes",
1571
- "method": "GET"
1572
- },
1573
- {
1574
- "kind": "api",
1575
- "name": "placetypes.get",
1576
- "operation": "get",
1577
- "objectName": "@happyvertical/smrt-places:PlaceType",
1578
- "path": "/placetypes/[id]",
1579
- "method": "GET"
1580
- },
1581
- {
1582
- "kind": "api",
1583
- "name": "placetypes.create",
1584
- "operation": "create",
1585
- "objectName": "@happyvertical/smrt-places:PlaceType",
1586
- "path": "/placetypes",
1587
- "method": "POST"
1588
- },
1589
- {
1590
- "kind": "api",
1591
- "name": "placetypes.update",
1592
- "operation": "update",
1593
- "objectName": "@happyvertical/smrt-places:PlaceType",
1594
- "path": "/placetypes/[id]",
1595
- "method": "PATCH"
1596
- },
1597
- {
1598
- "kind": "api",
1599
- "name": "placetypes.delete",
1600
- "operation": "delete",
1601
- "objectName": "@happyvertical/smrt-places:PlaceType",
1602
- "path": "/placetypes/[id]",
1603
- "method": "DELETE"
1604
- },
1605
- {
1606
- "kind": "cli",
1607
- "name": "placetype_list",
1608
- "operation": "list",
1609
- "objectName": "@happyvertical/smrt-places:PlaceType"
1360
+ "kind": "cli",
1361
+ "name": "placetype_list",
1362
+ "operation": "list",
1363
+ "objectName": "@happyvertical/smrt-places:PlaceType"
1610
1364
  },
1611
1365
  {
1612
1366
  "kind": "cli",
@@ -1632,6 +1386,12 @@
1632
1386
  "operation": "delete",
1633
1387
  "objectName": "@happyvertical/smrt-places:PlaceType"
1634
1388
  },
1389
+ {
1390
+ "kind": "cli",
1391
+ "name": "placetype_getBySlug",
1392
+ "operation": "getBySlug",
1393
+ "objectName": "@happyvertical/smrt-places:PlaceType"
1394
+ },
1635
1395
  {
1636
1396
  "kind": "mcp",
1637
1397
  "name": "placetype_list",
@@ -1659,6 +1419,346 @@
1659
1419
  }
1660
1420
  ],
1661
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
+ },
1662
1762
  {
1663
1763
  "kind": "api",
1664
1764
  "name": "places.list",
@@ -1729,6 +1829,96 @@
1729
1829
  "operation": "delete",
1730
1830
  "objectName": "@happyvertical/smrt-places:Place"
1731
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
+ },
1732
1922
  {
1733
1923
  "kind": "mcp",
1734
1924
  "name": "place_list",
@@ -1823,6 +2013,12 @@
1823
2013
  "operation": "delete",
1824
2014
  "objectName": "@happyvertical/smrt-places:PlaceType"
1825
2015
  },
2016
+ {
2017
+ "kind": "cli",
2018
+ "name": "placetype_getBySlug",
2019
+ "operation": "getBySlug",
2020
+ "objectName": "@happyvertical/smrt-places:PlaceType"
2021
+ },
1826
2022
  {
1827
2023
  "kind": "mcp",
1828
2024
  "name": "placetype_list",