@happyvertical/smrt-profiles 0.45.3 → 0.47.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-profiles",
6
- "packageVersion": "0.45.3",
6
+ "packageVersion": "0.47.0",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "23e07f5e583719c121875b542a206e2ebad3ae1b62d78576c05b1e1bdca6d8da",
11
- "packageJson": "4124048079c272257811f3f0c3572f74b42b6174b87b007edd41771384be4ced",
10
+ "manifest": "202cf736d7e0198687454d20322cc81eda22881021571c68573b74818673ac86",
11
+ "packageJson": "b3881fc2bd10ce4d4eaf5a03a0f2cd86ad7addc9913fa3f4d7d547fbcaa04c5b",
12
12
  "agents": "475e041f9b6a04721dda5d475337a22f72c80c8fdc8be95acca5011535744b15"
13
13
  },
14
14
  "exports": [
@@ -171,14 +171,6 @@
171
171
  "path": "/apikeys/verify",
172
172
  "method": "POST"
173
173
  },
174
- {
175
- "kind": "api",
176
- "name": "apikeys.generateForProfile",
177
- "operation": "generateForProfile",
178
- "objectName": "@happyvertical/smrt-profiles:ApiKeyCollection",
179
- "path": "/apikeys/generateForProfile",
180
- "method": "POST"
181
- },
182
174
  {
183
175
  "kind": "api",
184
176
  "name": "apikeys.revokeAllForProfile",
@@ -300,6 +292,15 @@
300
292
  "objectName": "@happyvertical/smrt-profiles:ApiKeyCollection"
301
293
  }
302
294
  ],
295
+ "withheldSurfaces": [
296
+ {
297
+ "kind": "api",
298
+ "operation": "generateForProfile",
299
+ "code": "not-wireable",
300
+ "reason": "not routed: parameter `profile`: `Profile` is a model class instance, not JSON data",
301
+ "objectName": "@happyvertical/smrt-profiles:ApiKeyCollection"
302
+ }
303
+ ],
303
304
  "relationshipFeatures": [
304
305
  "uuidColumns"
305
306
  ],
@@ -435,14 +436,6 @@
435
436
  "path": "/auditlogs/findOnBehalfOf",
436
437
  "method": "POST"
437
438
  },
438
- {
439
- "kind": "api",
440
- "name": "auditlogs.record",
441
- "operation": "record",
442
- "objectName": "@happyvertical/smrt-profiles:AuditLogCollection",
443
- "path": "/auditlogs/record",
444
- "method": "POST"
445
- },
446
439
  {
447
440
  "kind": "api",
448
441
  "name": "auditlogs.getRecentActivity",
@@ -556,6 +549,15 @@
556
549
  "objectName": "@happyvertical/smrt-profiles:AuditLogCollection"
557
550
  }
558
551
  ],
552
+ "withheldSurfaces": [
553
+ {
554
+ "kind": "api",
555
+ "operation": "record",
556
+ "code": "not-wireable",
557
+ "reason": "not routed: `options` contains a member where `Profile` is a model class instance, not JSON data",
558
+ "objectName": "@happyvertical/smrt-profiles:AuditLogCollection"
559
+ }
560
+ ],
559
561
  "relationshipFeatures": [
560
562
  "uuidColumns"
561
563
  ],
@@ -1016,22 +1018,6 @@
1016
1018
  "path": "/nostridentities/findByNip05",
1017
1019
  "method": "POST"
1018
1020
  },
1019
- {
1020
- "kind": "api",
1021
- "name": "nostridentities.createForProfile",
1022
- "operation": "createForProfile",
1023
- "objectName": "@happyvertical/smrt-profiles:NostrIdentityCollection",
1024
- "path": "/nostridentities/createForProfile",
1025
- "method": "POST"
1026
- },
1027
- {
1028
- "kind": "api",
1029
- "name": "nostridentities.linkToProfile",
1030
- "operation": "linkToProfile",
1031
- "objectName": "@happyvertical/smrt-profiles:NostrIdentityCollection",
1032
- "path": "/nostridentities/linkToProfile",
1033
- "method": "POST"
1034
- },
1035
1021
  {
1036
1022
  "kind": "api",
1037
1023
  "name": "nostridentities.unlinkFromProfile",
@@ -1056,14 +1042,6 @@
1056
1042
  "path": "/nostridentities/isNip05Available",
1057
1043
  "method": "POST"
1058
1044
  },
1059
- {
1060
- "kind": "api",
1061
- "name": "nostridentities.updateNip05Username",
1062
- "operation": "updateNip05Username",
1063
- "objectName": "@happyvertical/smrt-profiles:NostrIdentityCollection",
1064
- "path": "/nostridentities/updateNip05Username",
1065
- "method": "POST"
1066
- },
1067
1045
  {
1068
1046
  "kind": "cli",
1069
1047
  "name": "nostridentitycollection_findByProfile",
@@ -1185,6 +1163,29 @@
1185
1163
  "objectName": "@happyvertical/smrt-profiles:NostrIdentityCollection"
1186
1164
  }
1187
1165
  ],
1166
+ "withheldSurfaces": [
1167
+ {
1168
+ "kind": "api",
1169
+ "operation": "createForProfile",
1170
+ "code": "not-wireable",
1171
+ "reason": "not routed: parameter `profile`: `Profile` is a model class instance, not JSON data",
1172
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentityCollection"
1173
+ },
1174
+ {
1175
+ "kind": "api",
1176
+ "operation": "linkToProfile",
1177
+ "code": "not-wireable",
1178
+ "reason": "not routed: parameter `profile`: `Profile` is a model class instance, not JSON data",
1179
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentityCollection"
1180
+ },
1181
+ {
1182
+ "kind": "api",
1183
+ "operation": "updateNip05Username",
1184
+ "code": "not-wireable",
1185
+ "reason": "not routed: parameter `identity`: `NostrIdentity` is a model class instance, not JSON data",
1186
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentityCollection"
1187
+ }
1188
+ ],
1188
1189
  "relationshipFeatures": [
1189
1190
  "uuidColumns"
1190
1191
  ],
@@ -1278,14 +1279,6 @@
1278
1279
  "path": "/oidcidentities/findByProvider",
1279
1280
  "method": "POST"
1280
1281
  },
1281
- {
1282
- "kind": "api",
1283
- "name": "oidcidentities.linkToProfile",
1284
- "operation": "linkToProfile",
1285
- "objectName": "@happyvertical/smrt-profiles:OidcIdentityCollection",
1286
- "path": "/oidcidentities/linkToProfile",
1287
- "method": "POST"
1288
- },
1289
1282
  {
1290
1283
  "kind": "api",
1291
1284
  "name": "oidcidentities.unlinkFromProfile",
@@ -1355,6 +1348,15 @@
1355
1348
  "objectName": "@happyvertical/smrt-profiles:OidcIdentityCollection"
1356
1349
  }
1357
1350
  ],
1351
+ "withheldSurfaces": [
1352
+ {
1353
+ "kind": "api",
1354
+ "operation": "linkToProfile",
1355
+ "code": "not-wireable",
1356
+ "reason": "not routed: parameter `profile`: `Profile` is a model class instance, not JSON data",
1357
+ "objectName": "@happyvertical/smrt-profiles:OidcIdentityCollection"
1358
+ }
1359
+ ],
1358
1360
  "relationshipFeatures": [
1359
1361
  "uuidColumns"
1360
1362
  ],
@@ -1478,6 +1480,64 @@
1478
1480
  }
1479
1481
  ],
1480
1482
  "surfaces": [],
1483
+ "withheldSurfaces": [
1484
+ {
1485
+ "kind": "api",
1486
+ "operation": "addAsset",
1487
+ "code": "api-disabled",
1488
+ "reason": "api is disabled",
1489
+ "objectName": "@happyvertical/smrt-profiles:ProfileAssetCollection"
1490
+ },
1491
+ {
1492
+ "kind": "api",
1493
+ "operation": "attach",
1494
+ "code": "api-disabled",
1495
+ "reason": "api is disabled",
1496
+ "objectName": "@happyvertical/smrt-profiles:ProfileAssetCollection"
1497
+ },
1498
+ {
1499
+ "kind": "api",
1500
+ "operation": "byLeft",
1501
+ "code": "api-disabled",
1502
+ "reason": "api is disabled",
1503
+ "objectName": "@happyvertical/smrt-profiles:ProfileAssetCollection"
1504
+ },
1505
+ {
1506
+ "kind": "api",
1507
+ "operation": "byRight",
1508
+ "code": "api-disabled",
1509
+ "reason": "api is disabled",
1510
+ "objectName": "@happyvertical/smrt-profiles:ProfileAssetCollection"
1511
+ },
1512
+ {
1513
+ "kind": "api",
1514
+ "operation": "detach",
1515
+ "code": "api-disabled",
1516
+ "reason": "api is disabled",
1517
+ "objectName": "@happyvertical/smrt-profiles:ProfileAssetCollection"
1518
+ },
1519
+ {
1520
+ "kind": "api",
1521
+ "operation": "getAssets",
1522
+ "code": "api-disabled",
1523
+ "reason": "api is disabled",
1524
+ "objectName": "@happyvertical/smrt-profiles:ProfileAssetCollection"
1525
+ },
1526
+ {
1527
+ "kind": "api",
1528
+ "operation": "removeAsset",
1529
+ "code": "api-disabled",
1530
+ "reason": "api is disabled",
1531
+ "objectName": "@happyvertical/smrt-profiles:ProfileAssetCollection"
1532
+ },
1533
+ {
1534
+ "kind": "api",
1535
+ "operation": "setLinks",
1536
+ "code": "api-disabled",
1537
+ "reason": "api is disabled",
1538
+ "objectName": "@happyvertical/smrt-profiles:ProfileAssetCollection"
1539
+ }
1540
+ ],
1481
1541
  "relationshipFeatures": [
1482
1542
  "SmrtJunction",
1483
1543
  "uuidColumns"
@@ -1968,7 +2028,7 @@
1968
2028
  "async": true,
1969
2029
  "params": [
1970
2030
  "metafieldId: string",
1971
- "value: any"
2031
+ "value: unknown"
1972
2032
  ],
1973
2033
  "returns": "Promise<string[]>"
1974
2034
  },
@@ -2820,6 +2880,64 @@
2820
2880
  "objectName": "@happyvertical/smrt-profiles:ApiKey"
2821
2881
  }
2822
2882
  ],
2883
+ "withheldSurfaces": [
2884
+ {
2885
+ "kind": "api",
2886
+ "operation": "generate",
2887
+ "code": "not-included",
2888
+ "reason": "not listed in api.include",
2889
+ "objectName": "@happyvertical/smrt-profiles:ApiKey"
2890
+ },
2891
+ {
2892
+ "kind": "api",
2893
+ "operation": "getProfile",
2894
+ "code": "not-included",
2895
+ "reason": "not listed in api.include",
2896
+ "objectName": "@happyvertical/smrt-profiles:ApiKey"
2897
+ },
2898
+ {
2899
+ "kind": "api",
2900
+ "operation": "hashKey",
2901
+ "code": "not-included",
2902
+ "reason": "not listed in api.include",
2903
+ "objectName": "@happyvertical/smrt-profiles:ApiKey"
2904
+ },
2905
+ {
2906
+ "kind": "api",
2907
+ "operation": "hasScope",
2908
+ "code": "not-included",
2909
+ "reason": "not listed in api.include",
2910
+ "objectName": "@happyvertical/smrt-profiles:ApiKey"
2911
+ },
2912
+ {
2913
+ "kind": "api",
2914
+ "operation": "isValid",
2915
+ "code": "not-included",
2916
+ "reason": "not listed in api.include",
2917
+ "objectName": "@happyvertical/smrt-profiles:ApiKey"
2918
+ },
2919
+ {
2920
+ "kind": "api",
2921
+ "operation": "recordUsage",
2922
+ "code": "not-included",
2923
+ "reason": "not listed in api.include",
2924
+ "objectName": "@happyvertical/smrt-profiles:ApiKey"
2925
+ },
2926
+ {
2927
+ "kind": "api",
2928
+ "operation": "revoke",
2929
+ "code": "not-included",
2930
+ "reason": "not listed in api.include",
2931
+ "objectName": "@happyvertical/smrt-profiles:ApiKey"
2932
+ },
2933
+ {
2934
+ "kind": "api",
2935
+ "operation": "verify",
2936
+ "code": "not-included",
2937
+ "reason": "not listed in api.include",
2938
+ "objectName": "@happyvertical/smrt-profiles:ApiKey"
2939
+ }
2940
+ ],
2823
2941
  "relationshipFeatures": [
2824
2942
  "foreignKey",
2825
2943
  "uuidColumns"
@@ -2985,6 +3103,36 @@
2985
3103
  "objectName": "@happyvertical/smrt-profiles:AuditLog"
2986
3104
  }
2987
3105
  ],
3106
+ "withheldSurfaces": [
3107
+ {
3108
+ "kind": "api",
3109
+ "operation": "getEffectiveActor",
3110
+ "code": "not-included",
3111
+ "reason": "not listed in api.include",
3112
+ "objectName": "@happyvertical/smrt-profiles:AuditLog"
3113
+ },
3114
+ {
3115
+ "kind": "api",
3116
+ "operation": "getOnBehalfOf",
3117
+ "code": "not-included",
3118
+ "reason": "not listed in api.include",
3119
+ "objectName": "@happyvertical/smrt-profiles:AuditLog"
3120
+ },
3121
+ {
3122
+ "kind": "api",
3123
+ "operation": "getProfile",
3124
+ "code": "not-included",
3125
+ "reason": "not listed in api.include",
3126
+ "objectName": "@happyvertical/smrt-profiles:AuditLog"
3127
+ },
3128
+ {
3129
+ "kind": "api",
3130
+ "operation": "record",
3131
+ "code": "not-included",
3132
+ "reason": "not listed in api.include",
3133
+ "objectName": "@happyvertical/smrt-profiles:AuditLog"
3134
+ }
3135
+ ],
2988
3136
  "relationshipFeatures": [
2989
3137
  "foreignKey",
2990
3138
  "uuidColumns"
@@ -3173,14 +3321,6 @@
3173
3321
  "path": "/magiclinktokens/hashToken",
3174
3322
  "method": "POST"
3175
3323
  },
3176
- {
3177
- "kind": "api",
3178
- "name": "magiclinktokens.generate",
3179
- "operation": "generate",
3180
- "objectName": "@happyvertical/smrt-profiles:MagicLinkToken",
3181
- "path": "/magiclinktokens/generate",
3182
- "method": "POST"
3183
- },
3184
3324
  {
3185
3325
  "kind": "api",
3186
3326
  "name": "magiclinktokens.verify",
@@ -3328,6 +3468,15 @@
3328
3468
  "objectName": "@happyvertical/smrt-profiles:MagicLinkToken"
3329
3469
  }
3330
3470
  ],
3471
+ "withheldSurfaces": [
3472
+ {
3473
+ "kind": "api",
3474
+ "operation": "generate",
3475
+ "code": "not-wireable",
3476
+ "reason": "not routed: parameter `nostrIdentity`: `NostrIdentity` is a model class instance, not JSON data",
3477
+ "objectName": "@happyvertical/smrt-profiles:MagicLinkToken"
3478
+ }
3479
+ ],
3331
3480
  "relationshipFeatures": [
3332
3481
  "foreignKey",
3333
3482
  "uuidColumns"
@@ -3540,6 +3689,78 @@
3540
3689
  "objectName": "@happyvertical/smrt-profiles:NostrIdentity"
3541
3690
  }
3542
3691
  ],
3692
+ "withheldSurfaces": [
3693
+ {
3694
+ "kind": "api",
3695
+ "operation": "decryptPrivkey",
3696
+ "code": "not-included",
3697
+ "reason": "not listed in api.include",
3698
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentity"
3699
+ },
3700
+ {
3701
+ "kind": "api",
3702
+ "operation": "findByEmail",
3703
+ "code": "not-included",
3704
+ "reason": "not listed in api.include",
3705
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentity"
3706
+ },
3707
+ {
3708
+ "kind": "api",
3709
+ "operation": "findByNip05",
3710
+ "code": "not-included",
3711
+ "reason": "not listed in api.include",
3712
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentity"
3713
+ },
3714
+ {
3715
+ "kind": "api",
3716
+ "operation": "findByPubkey",
3717
+ "code": "not-included",
3718
+ "reason": "not listed in api.include",
3719
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentity"
3720
+ },
3721
+ {
3722
+ "kind": "api",
3723
+ "operation": "getKeypair",
3724
+ "code": "not-included",
3725
+ "reason": "not listed in api.include",
3726
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentity"
3727
+ },
3728
+ {
3729
+ "kind": "api",
3730
+ "operation": "getNip05Identifier",
3731
+ "code": "not-included",
3732
+ "reason": "not listed in api.include",
3733
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentity"
3734
+ },
3735
+ {
3736
+ "kind": "api",
3737
+ "operation": "getProfile",
3738
+ "code": "not-included",
3739
+ "reason": "not listed in api.include",
3740
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentity"
3741
+ },
3742
+ {
3743
+ "kind": "api",
3744
+ "operation": "isVerified",
3745
+ "code": "not-included",
3746
+ "reason": "not listed in api.include",
3747
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentity"
3748
+ },
3749
+ {
3750
+ "kind": "api",
3751
+ "operation": "markVerified",
3752
+ "code": "not-included",
3753
+ "reason": "not listed in api.include",
3754
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentity"
3755
+ },
3756
+ {
3757
+ "kind": "api",
3758
+ "operation": "recordUsage",
3759
+ "code": "not-included",
3760
+ "reason": "not listed in api.include",
3761
+ "objectName": "@happyvertical/smrt-profiles:NostrIdentity"
3762
+ }
3763
+ ],
3543
3764
  "relationshipFeatures": [
3544
3765
  "foreignKey",
3545
3766
  "uuidColumns"
@@ -3662,7 +3883,7 @@
3662
3883
  {
3663
3884
  "name": "save",
3664
3885
  "async": true,
3665
- "returns": "Promise"
3886
+ "returns": "Promise<this>"
3666
3887
  }
3667
3888
  ],
3668
3889
  "surfaces": [
@@ -3707,6 +3928,50 @@
3707
3928
  "objectName": "@happyvertical/smrt-profiles:OidcIdentity"
3708
3929
  }
3709
3930
  ],
3931
+ "withheldSurfaces": [
3932
+ {
3933
+ "kind": "api",
3934
+ "operation": "buildIdentityKey",
3935
+ "code": "not-included",
3936
+ "reason": "not listed in api.include",
3937
+ "objectName": "@happyvertical/smrt-profiles:OidcIdentity"
3938
+ },
3939
+ {
3940
+ "kind": "api",
3941
+ "operation": "findBySubject",
3942
+ "code": "not-included",
3943
+ "reason": "not listed in api.include",
3944
+ "objectName": "@happyvertical/smrt-profiles:OidcIdentity"
3945
+ },
3946
+ {
3947
+ "kind": "api",
3948
+ "operation": "findOrCreate",
3949
+ "code": "not-included",
3950
+ "reason": "not listed in api.include",
3951
+ "objectName": "@happyvertical/smrt-profiles:OidcIdentity"
3952
+ },
3953
+ {
3954
+ "kind": "api",
3955
+ "operation": "getProfile",
3956
+ "code": "not-included",
3957
+ "reason": "not listed in api.include",
3958
+ "objectName": "@happyvertical/smrt-profiles:OidcIdentity"
3959
+ },
3960
+ {
3961
+ "kind": "api",
3962
+ "operation": "recordUsage",
3963
+ "code": "not-included",
3964
+ "reason": "not listed in api.include",
3965
+ "objectName": "@happyvertical/smrt-profiles:OidcIdentity"
3966
+ },
3967
+ {
3968
+ "kind": "api",
3969
+ "operation": "save",
3970
+ "code": "lifecycle-method",
3971
+ "reason": "`save` is a framework lifecycle method, not a distinct operation",
3972
+ "objectName": "@happyvertical/smrt-profiles:OidcIdentity"
3973
+ }
3974
+ ],
3710
3975
  "relationshipFeatures": [
3711
3976
  "foreignKey",
3712
3977
  "uuidColumns"
@@ -3907,7 +4172,7 @@
3907
4172
  "async": true,
3908
4173
  "params": [
3909
4174
  "metafieldSlug: string",
3910
- "value: any"
4175
+ "value: unknown"
3911
4176
  ],
3912
4177
  "returns": "Promise<void>"
3913
4178
  },
@@ -3927,7 +4192,7 @@
3927
4192
  "static": true,
3928
4193
  "params": [
3929
4194
  "_metafieldSlug: string",
3930
- "_value: any"
4195
+ "_value: unknown"
3931
4196
  ],
3932
4197
  "returns": "Promise<Profile[]>"
3933
4198
  },
@@ -4086,7 +4351,7 @@
4086
4351
  {
4087
4352
  "name": "save",
4088
4353
  "async": true,
4089
- "returns": "Promise"
4354
+ "returns": "Promise<this>"
4090
4355
  },
4091
4356
  {
4092
4357
  "name": "searchByEmail",
@@ -4109,7 +4374,7 @@
4109
4374
  "name": "updateMetadata",
4110
4375
  "async": true,
4111
4376
  "params": [
4112
- "metadata: Record<string>"
4377
+ "metadata: Record<string, unknown>"
4113
4378
  ],
4114
4379
  "returns": "Promise<void>"
4115
4380
  }
@@ -4390,27 +4655,232 @@
4390
4655
  "objectName": "@happyvertical/smrt-profiles:Profile"
4391
4656
  }
4392
4657
  ],
4393
- "relationshipFeatures": [
4394
- "foreignKey",
4395
- "oneToMany",
4396
- "uuidColumns"
4397
- ],
4398
- "tags": [],
4399
- "risks": []
4400
- },
4401
- {
4402
- "name": "ProfileAsset",
4403
- "qualifiedName": "@happyvertical/smrt-profiles:ProfileAsset",
4404
- "collection": "profileassets",
4405
- "tableName": "profile_assets",
4406
- "packageName": "@happyvertical/smrt-profiles",
4407
- "extends": "SmrtObject",
4408
- "fields": [
4658
+ "withheldSurfaces": [
4409
4659
  {
4410
- "name": "tenantId",
4411
- "type": "text",
4412
- "required": false,
4413
- "columnType": "UUID"
4660
+ "kind": "api",
4661
+ "operation": "addAsset",
4662
+ "code": "not-included",
4663
+ "reason": "not listed in api.include",
4664
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4665
+ },
4666
+ {
4667
+ "kind": "api",
4668
+ "operation": "addMetadata",
4669
+ "code": "not-included",
4670
+ "reason": "not listed in api.include",
4671
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4672
+ },
4673
+ {
4674
+ "kind": "api",
4675
+ "operation": "addRelationship",
4676
+ "code": "not-included",
4677
+ "reason": "not listed in api.include",
4678
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4679
+ },
4680
+ {
4681
+ "kind": "api",
4682
+ "operation": "findByMetadata",
4683
+ "code": "not-included",
4684
+ "reason": "not listed in api.include",
4685
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4686
+ },
4687
+ {
4688
+ "kind": "api",
4689
+ "operation": "findByType",
4690
+ "code": "not-included",
4691
+ "reason": "not listed in api.include",
4692
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4693
+ },
4694
+ {
4695
+ "kind": "api",
4696
+ "operation": "findRelated",
4697
+ "code": "not-included",
4698
+ "reason": "not listed in api.include",
4699
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4700
+ },
4701
+ {
4702
+ "kind": "api",
4703
+ "operation": "generateApiKey",
4704
+ "code": "not-included",
4705
+ "reason": "not listed in api.include",
4706
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4707
+ },
4708
+ {
4709
+ "kind": "api",
4710
+ "operation": "generateBio",
4711
+ "code": "not-included",
4712
+ "reason": "not listed in api.include",
4713
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4714
+ },
4715
+ {
4716
+ "kind": "api",
4717
+ "operation": "getActiveApiKeys",
4718
+ "code": "not-included",
4719
+ "reason": "not listed in api.include",
4720
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4721
+ },
4722
+ {
4723
+ "kind": "api",
4724
+ "operation": "getApiKeys",
4725
+ "code": "not-included",
4726
+ "reason": "not listed in api.include",
4727
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4728
+ },
4729
+ {
4730
+ "kind": "api",
4731
+ "operation": "getAssets",
4732
+ "code": "not-included",
4733
+ "reason": "not listed in api.include",
4734
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4735
+ },
4736
+ {
4737
+ "kind": "api",
4738
+ "operation": "getAuditLogs",
4739
+ "code": "not-included",
4740
+ "reason": "not listed in api.include",
4741
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4742
+ },
4743
+ {
4744
+ "kind": "api",
4745
+ "operation": "getMetadata",
4746
+ "code": "not-included",
4747
+ "reason": "not listed in api.include",
4748
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4749
+ },
4750
+ {
4751
+ "kind": "api",
4752
+ "operation": "getNostrIdentities",
4753
+ "code": "not-included",
4754
+ "reason": "not listed in api.include",
4755
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4756
+ },
4757
+ {
4758
+ "kind": "api",
4759
+ "operation": "getOidcIdentities",
4760
+ "code": "not-included",
4761
+ "reason": "not listed in api.include",
4762
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4763
+ },
4764
+ {
4765
+ "kind": "api",
4766
+ "operation": "getRelatedProfiles",
4767
+ "code": "not-included",
4768
+ "reason": "not listed in api.include",
4769
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4770
+ },
4771
+ {
4772
+ "kind": "api",
4773
+ "operation": "getRelationships",
4774
+ "code": "not-included",
4775
+ "reason": "not listed in api.include",
4776
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4777
+ },
4778
+ {
4779
+ "kind": "api",
4780
+ "operation": "getTypeSlug",
4781
+ "code": "not-included",
4782
+ "reason": "not listed in api.include",
4783
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4784
+ },
4785
+ {
4786
+ "kind": "api",
4787
+ "operation": "linkNostrIdentity",
4788
+ "code": "not-included",
4789
+ "reason": "not listed in api.include",
4790
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4791
+ },
4792
+ {
4793
+ "kind": "api",
4794
+ "operation": "linkOidcIdentity",
4795
+ "code": "not-included",
4796
+ "reason": "not listed in api.include",
4797
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4798
+ },
4799
+ {
4800
+ "kind": "api",
4801
+ "operation": "matches",
4802
+ "code": "not-included",
4803
+ "reason": "not listed in api.include",
4804
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4805
+ },
4806
+ {
4807
+ "kind": "api",
4808
+ "operation": "recordAction",
4809
+ "code": "not-included",
4810
+ "reason": "not listed in api.include",
4811
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4812
+ },
4813
+ {
4814
+ "kind": "api",
4815
+ "operation": "removeAsset",
4816
+ "code": "not-included",
4817
+ "reason": "not listed in api.include",
4818
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4819
+ },
4820
+ {
4821
+ "kind": "api",
4822
+ "operation": "removeMetadata",
4823
+ "code": "not-included",
4824
+ "reason": "not listed in api.include",
4825
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4826
+ },
4827
+ {
4828
+ "kind": "api",
4829
+ "operation": "removeRelationship",
4830
+ "code": "not-included",
4831
+ "reason": "not listed in api.include",
4832
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4833
+ },
4834
+ {
4835
+ "kind": "api",
4836
+ "operation": "save",
4837
+ "code": "lifecycle-method",
4838
+ "reason": "`save` is a framework lifecycle method, not a distinct operation",
4839
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4840
+ },
4841
+ {
4842
+ "kind": "api",
4843
+ "operation": "searchByEmail",
4844
+ "code": "not-included",
4845
+ "reason": "not listed in api.include",
4846
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4847
+ },
4848
+ {
4849
+ "kind": "api",
4850
+ "operation": "setTypeBySlug",
4851
+ "code": "not-included",
4852
+ "reason": "not listed in api.include",
4853
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4854
+ },
4855
+ {
4856
+ "kind": "api",
4857
+ "operation": "updateMetadata",
4858
+ "code": "not-included",
4859
+ "reason": "not listed in api.include",
4860
+ "objectName": "@happyvertical/smrt-profiles:Profile"
4861
+ }
4862
+ ],
4863
+ "relationshipFeatures": [
4864
+ "foreignKey",
4865
+ "oneToMany",
4866
+ "uuidColumns"
4867
+ ],
4868
+ "tags": [],
4869
+ "risks": []
4870
+ },
4871
+ {
4872
+ "name": "ProfileAsset",
4873
+ "qualifiedName": "@happyvertical/smrt-profiles:ProfileAsset",
4874
+ "collection": "profileassets",
4875
+ "tableName": "profile_assets",
4876
+ "packageName": "@happyvertical/smrt-profiles",
4877
+ "extends": "SmrtObject",
4878
+ "fields": [
4879
+ {
4880
+ "name": "tenantId",
4881
+ "type": "text",
4882
+ "required": false,
4883
+ "columnType": "UUID"
4414
4884
  },
4415
4885
  {
4416
4886
  "name": "profileId",
@@ -4664,6 +5134,22 @@
4664
5134
  "objectName": "@happyvertical/smrt-profiles:ProfileMetadata"
4665
5135
  }
4666
5136
  ],
5137
+ "withheldSurfaces": [
5138
+ {
5139
+ "kind": "api",
5140
+ "operation": "getMetafieldSlug",
5141
+ "code": "not-included",
5142
+ "reason": "not listed in api.include",
5143
+ "objectName": "@happyvertical/smrt-profiles:ProfileMetadata"
5144
+ },
5145
+ {
5146
+ "kind": "api",
5147
+ "operation": "validate",
5148
+ "code": "not-included",
5149
+ "reason": "not listed in api.include",
5150
+ "objectName": "@happyvertical/smrt-profiles:ProfileMetadata"
5151
+ }
5152
+ ],
4667
5153
  "relationshipFeatures": [
4668
5154
  "foreignKey",
4669
5155
  "uuidColumns"
@@ -4755,7 +5241,7 @@
4755
5241
  "name": "validateValue",
4756
5242
  "async": true,
4757
5243
  "params": [
4758
- "value: any"
5244
+ "value: unknown"
4759
5245
  ],
4760
5246
  "returns": "Promise<boolean>"
4761
5247
  }
@@ -4872,6 +5358,36 @@
4872
5358
  "objectName": "@happyvertical/smrt-profiles:ProfileMetafield"
4873
5359
  }
4874
5360
  ],
5361
+ "withheldSurfaces": [
5362
+ {
5363
+ "kind": "api",
5364
+ "operation": "getBySlug",
5365
+ "code": "not-included",
5366
+ "reason": "not listed in api.include",
5367
+ "objectName": "@happyvertical/smrt-profiles:ProfileMetafield"
5368
+ },
5369
+ {
5370
+ "kind": "api",
5371
+ "operation": "getValidator",
5372
+ "code": "not-included",
5373
+ "reason": "not listed in api.include",
5374
+ "objectName": "@happyvertical/smrt-profiles:ProfileMetafield"
5375
+ },
5376
+ {
5377
+ "kind": "api",
5378
+ "operation": "registerValidator",
5379
+ "code": "not-included",
5380
+ "reason": "not listed in api.include",
5381
+ "objectName": "@happyvertical/smrt-profiles:ProfileMetafield"
5382
+ },
5383
+ {
5384
+ "kind": "api",
5385
+ "operation": "validateValue",
5386
+ "code": "not-included",
5387
+ "reason": "not listed in api.include",
5388
+ "objectName": "@happyvertical/smrt-profiles:ProfileMetafield"
5389
+ }
5390
+ ],
4875
5391
  "relationshipFeatures": [
4876
5392
  "uuidColumns"
4877
5393
  ],
@@ -5134,6 +5650,43 @@
5134
5650
  "objectName": "@happyvertical/smrt-profiles:ProfileRelationship"
5135
5651
  }
5136
5652
  ],
5653
+ "withheldSurfaces": [
5654
+ {
5655
+ "kind": "api",
5656
+ "operation": "addTerm",
5657
+ "code": "not-included",
5658
+ "reason": "not listed in api.include",
5659
+ "objectName": "@happyvertical/smrt-profiles:ProfileRelationship"
5660
+ },
5661
+ {
5662
+ "kind": "api",
5663
+ "operation": "endCurrentTerm",
5664
+ "code": "not-included",
5665
+ "reason": "not listed in api.include",
5666
+ "objectName": "@happyvertical/smrt-profiles:ProfileRelationship"
5667
+ },
5668
+ {
5669
+ "kind": "api",
5670
+ "operation": "getActiveTerm",
5671
+ "code": "not-included",
5672
+ "reason": "not listed in api.include",
5673
+ "objectName": "@happyvertical/smrt-profiles:ProfileRelationship"
5674
+ },
5675
+ {
5676
+ "kind": "api",
5677
+ "operation": "getTerms",
5678
+ "code": "not-included",
5679
+ "reason": "not listed in api.include",
5680
+ "objectName": "@happyvertical/smrt-profiles:ProfileRelationship"
5681
+ },
5682
+ {
5683
+ "kind": "api",
5684
+ "operation": "getTypeSlug",
5685
+ "code": "not-included",
5686
+ "reason": "not listed in api.include",
5687
+ "objectName": "@happyvertical/smrt-profiles:ProfileRelationship"
5688
+ }
5689
+ ],
5137
5690
  "relationshipFeatures": [
5138
5691
  "foreignKey",
5139
5692
  "oneToMany",
@@ -5317,6 +5870,29 @@
5317
5870
  "objectName": "@happyvertical/smrt-profiles:ProfileRelationshipTerm"
5318
5871
  }
5319
5872
  ],
5873
+ "withheldSurfaces": [
5874
+ {
5875
+ "kind": "api",
5876
+ "operation": "end",
5877
+ "code": "not-included",
5878
+ "reason": "not listed in api.include",
5879
+ "objectName": "@happyvertical/smrt-profiles:ProfileRelationshipTerm"
5880
+ },
5881
+ {
5882
+ "kind": "api",
5883
+ "operation": "getDurationDays",
5884
+ "code": "not-included",
5885
+ "reason": "not listed in api.include",
5886
+ "objectName": "@happyvertical/smrt-profiles:ProfileRelationshipTerm"
5887
+ },
5888
+ {
5889
+ "kind": "api",
5890
+ "operation": "isActive",
5891
+ "code": "not-included",
5892
+ "reason": "not listed in api.include",
5893
+ "objectName": "@happyvertical/smrt-profiles:ProfileRelationshipTerm"
5894
+ }
5895
+ ],
5320
5896
  "relationshipFeatures": [
5321
5897
  "foreignKey",
5322
5898
  "uuidColumns"
@@ -5504,6 +6080,36 @@
5504
6080
  "objectName": "@happyvertical/smrt-profiles:ProfileRelationshipType"
5505
6081
  }
5506
6082
  ],
6083
+ "withheldSurfaces": [
6084
+ {
6085
+ "kind": "api",
6086
+ "operation": "getBySlug",
6087
+ "code": "not-included",
6088
+ "reason": "not listed in api.include",
6089
+ "objectName": "@happyvertical/smrt-profiles:ProfileRelationshipType"
6090
+ },
6091
+ {
6092
+ "kind": "api",
6093
+ "operation": "getReciprocalHandler",
6094
+ "code": "not-included",
6095
+ "reason": "not listed in api.include",
6096
+ "objectName": "@happyvertical/smrt-profiles:ProfileRelationshipType"
6097
+ },
6098
+ {
6099
+ "kind": "api",
6100
+ "operation": "isReciprocal",
6101
+ "code": "not-included",
6102
+ "reason": "not listed in api.include",
6103
+ "objectName": "@happyvertical/smrt-profiles:ProfileRelationshipType"
6104
+ },
6105
+ {
6106
+ "kind": "api",
6107
+ "operation": "registerReciprocalHandler",
6108
+ "code": "not-included",
6109
+ "reason": "not listed in api.include",
6110
+ "objectName": "@happyvertical/smrt-profiles:ProfileRelationshipType"
6111
+ }
6112
+ ],
5507
6113
  "relationshipFeatures": [
5508
6114
  "uuidColumns"
5509
6115
  ],
@@ -5659,6 +6265,15 @@
5659
6265
  "objectName": "@happyvertical/smrt-profiles:ProfileType"
5660
6266
  }
5661
6267
  ],
6268
+ "withheldSurfaces": [
6269
+ {
6270
+ "kind": "api",
6271
+ "operation": "getBySlug",
6272
+ "code": "not-included",
6273
+ "reason": "not listed in api.include",
6274
+ "objectName": "@happyvertical/smrt-profiles:ProfileType"
6275
+ }
6276
+ ],
5662
6277
  "relationshipFeatures": [
5663
6278
  "uuidColumns"
5664
6279
  ],
@@ -5817,7 +6432,7 @@
5817
6432
  "async": true,
5818
6433
  "params": [
5819
6434
  "metafieldSlug: string",
5820
- "value: any"
6435
+ "value: unknown"
5821
6436
  ],
5822
6437
  "returns": "Promise<void>"
5823
6438
  },
@@ -5837,7 +6452,7 @@
5837
6452
  "static": true,
5838
6453
  "params": [
5839
6454
  "_metafieldSlug: string",
5840
- "_value: any"
6455
+ "_value: unknown"
5841
6456
  ],
5842
6457
  "returns": "Promise<Profile[]>"
5843
6458
  },
@@ -5996,7 +6611,7 @@
5996
6611
  {
5997
6612
  "name": "save",
5998
6613
  "async": true,
5999
- "returns": "Promise"
6614
+ "returns": "Promise<this>"
6000
6615
  },
6001
6616
  {
6002
6617
  "name": "searchByEmail",
@@ -6019,7 +6634,7 @@
6019
6634
  "name": "updateMetadata",
6020
6635
  "async": true,
6021
6636
  "params": [
6022
- "metadata: Record<string>"
6637
+ "metadata: Record<string, unknown>"
6023
6638
  ],
6024
6639
  "returns": "Promise<void>"
6025
6640
  }
@@ -6066,14 +6681,6 @@
6066
6681
  "path": "/profiles/[id]",
6067
6682
  "method": "DELETE"
6068
6683
  },
6069
- {
6070
- "kind": "api",
6071
- "name": "profiles.save",
6072
- "operation": "save",
6073
- "objectName": "@happyvertical/smrt-profiles:Person",
6074
- "path": "/profiles/[id]/save",
6075
- "method": "POST"
6076
- },
6077
6684
  {
6078
6685
  "kind": "api",
6079
6686
  "name": "profiles.getTypeSlug",
@@ -6146,14 +6753,6 @@
6146
6753
  "path": "/profiles/[id]/removeAsset",
6147
6754
  "method": "POST"
6148
6755
  },
6149
- {
6150
- "kind": "api",
6151
- "name": "profiles.addRelationship",
6152
- "operation": "addRelationship",
6153
- "objectName": "@happyvertical/smrt-profiles:Person",
6154
- "path": "/profiles/[id]/addRelationship",
6155
- "method": "POST"
6156
- },
6157
6756
  {
6158
6757
  "kind": "api",
6159
6758
  "name": "profiles.getRelationships",
@@ -6170,14 +6769,6 @@
6170
6769
  "path": "/profiles/[id]/getRelatedProfiles",
6171
6770
  "method": "POST"
6172
6771
  },
6173
- {
6174
- "kind": "api",
6175
- "name": "profiles.removeRelationship",
6176
- "operation": "removeRelationship",
6177
- "objectName": "@happyvertical/smrt-profiles:Person",
6178
- "path": "/profiles/[id]/removeRelationship",
6179
- "method": "POST"
6180
- },
6181
6772
  {
6182
6773
  "kind": "api",
6183
6774
  "name": "profiles.generateBio",
@@ -6242,14 +6833,6 @@
6242
6833
  "path": "/profiles/[id]/getActiveApiKeys",
6243
6834
  "method": "POST"
6244
6835
  },
6245
- {
6246
- "kind": "api",
6247
- "name": "profiles.generateApiKey",
6248
- "operation": "generateApiKey",
6249
- "objectName": "@happyvertical/smrt-profiles:Person",
6250
- "path": "/profiles/[id]/generateApiKey",
6251
- "method": "POST"
6252
- },
6253
6836
  {
6254
6837
  "kind": "api",
6255
6838
  "name": "profiles.getOidcIdentities",
@@ -6290,14 +6873,6 @@
6290
6873
  "path": "/profiles/[id]/getAuditLogs",
6291
6874
  "method": "POST"
6292
6875
  },
6293
- {
6294
- "kind": "api",
6295
- "name": "profiles.recordAction",
6296
- "operation": "recordAction",
6297
- "objectName": "@happyvertical/smrt-profiles:Person",
6298
- "path": "/profiles/[id]/recordAction",
6299
- "method": "POST"
6300
- },
6301
6876
  {
6302
6877
  "kind": "cli",
6303
6878
  "name": "person_list",
@@ -6677,21 +7252,58 @@
6677
7252
  "objectName": "@happyvertical/smrt-profiles:Person"
6678
7253
  },
6679
7254
  {
6680
- "kind": "mcp",
6681
- "name": "person_linknostridentity",
6682
- "operation": "linkNostrIdentity",
7255
+ "kind": "mcp",
7256
+ "name": "person_linknostridentity",
7257
+ "operation": "linkNostrIdentity",
7258
+ "objectName": "@happyvertical/smrt-profiles:Person"
7259
+ },
7260
+ {
7261
+ "kind": "mcp",
7262
+ "name": "person_getauditlogs",
7263
+ "operation": "getAuditLogs",
7264
+ "objectName": "@happyvertical/smrt-profiles:Person"
7265
+ },
7266
+ {
7267
+ "kind": "mcp",
7268
+ "name": "person_recordaction",
7269
+ "operation": "recordAction",
7270
+ "objectName": "@happyvertical/smrt-profiles:Person"
7271
+ }
7272
+ ],
7273
+ "withheldSurfaces": [
7274
+ {
7275
+ "kind": "api",
7276
+ "operation": "addRelationship",
7277
+ "code": "not-wireable",
7278
+ "reason": "not routed: parameter `toProfile`: `Profile` is a model class instance, not JSON data",
7279
+ "objectName": "@happyvertical/smrt-profiles:Person"
7280
+ },
7281
+ {
7282
+ "kind": "api",
7283
+ "operation": "generateApiKey",
7284
+ "code": "not-wireable",
7285
+ "reason": "not routed: `options` contains a member where every branch of `Date | null` is unreachable over HTTP (`Date` is only hydrated as a top-level parameter, so a nested one arrives as a string)",
7286
+ "objectName": "@happyvertical/smrt-profiles:Person"
7287
+ },
7288
+ {
7289
+ "kind": "api",
7290
+ "operation": "recordAction",
7291
+ "code": "not-wireable",
7292
+ "reason": "not routed: `options` contains a member where every branch of `Profile | null` is unreachable over HTTP (`Profile` is a model class instance, not JSON data)",
6683
7293
  "objectName": "@happyvertical/smrt-profiles:Person"
6684
7294
  },
6685
7295
  {
6686
- "kind": "mcp",
6687
- "name": "person_getauditlogs",
6688
- "operation": "getAuditLogs",
7296
+ "kind": "api",
7297
+ "operation": "removeRelationship",
7298
+ "code": "not-wireable",
7299
+ "reason": "not routed: parameter `toProfile`: `Profile` is a model class instance, not JSON data",
6689
7300
  "objectName": "@happyvertical/smrt-profiles:Person"
6690
7301
  },
6691
7302
  {
6692
- "kind": "mcp",
6693
- "name": "person_recordaction",
6694
- "operation": "recordAction",
7303
+ "kind": "api",
7304
+ "operation": "save",
7305
+ "code": "lifecycle-method",
7306
+ "reason": "`save` is a framework lifecycle method, not a distinct operation",
6695
7307
  "objectName": "@happyvertical/smrt-profiles:Person"
6696
7308
  }
6697
7309
  ],
@@ -6855,7 +7467,7 @@
6855
7467
  "async": true,
6856
7468
  "params": [
6857
7469
  "metafieldSlug: string",
6858
- "value: any"
7470
+ "value: unknown"
6859
7471
  ],
6860
7472
  "returns": "Promise<void>"
6861
7473
  },
@@ -6875,7 +7487,7 @@
6875
7487
  "static": true,
6876
7488
  "params": [
6877
7489
  "_metafieldSlug: string",
6878
- "_value: any"
7490
+ "_value: unknown"
6879
7491
  ],
6880
7492
  "returns": "Promise<Profile[]>"
6881
7493
  },
@@ -7034,7 +7646,7 @@
7034
7646
  {
7035
7647
  "name": "save",
7036
7648
  "async": true,
7037
- "returns": "Promise"
7649
+ "returns": "Promise<this>"
7038
7650
  },
7039
7651
  {
7040
7652
  "name": "searchByEmail",
@@ -7057,7 +7669,7 @@
7057
7669
  "name": "updateMetadata",
7058
7670
  "async": true,
7059
7671
  "params": [
7060
- "metadata: Record<string>"
7672
+ "metadata: Record<string, unknown>"
7061
7673
  ],
7062
7674
  "returns": "Promise<void>"
7063
7675
  }
@@ -7104,14 +7716,6 @@
7104
7716
  "path": "/profiles/[id]",
7105
7717
  "method": "DELETE"
7106
7718
  },
7107
- {
7108
- "kind": "api",
7109
- "name": "profiles.save",
7110
- "operation": "save",
7111
- "objectName": "@happyvertical/smrt-profiles:Organization",
7112
- "path": "/profiles/[id]/save",
7113
- "method": "POST"
7114
- },
7115
7719
  {
7116
7720
  "kind": "api",
7117
7721
  "name": "profiles.getTypeSlug",
@@ -7184,14 +7788,6 @@
7184
7788
  "path": "/profiles/[id]/removeAsset",
7185
7789
  "method": "POST"
7186
7790
  },
7187
- {
7188
- "kind": "api",
7189
- "name": "profiles.addRelationship",
7190
- "operation": "addRelationship",
7191
- "objectName": "@happyvertical/smrt-profiles:Organization",
7192
- "path": "/profiles/[id]/addRelationship",
7193
- "method": "POST"
7194
- },
7195
7791
  {
7196
7792
  "kind": "api",
7197
7793
  "name": "profiles.getRelationships",
@@ -7208,14 +7804,6 @@
7208
7804
  "path": "/profiles/[id]/getRelatedProfiles",
7209
7805
  "method": "POST"
7210
7806
  },
7211
- {
7212
- "kind": "api",
7213
- "name": "profiles.removeRelationship",
7214
- "operation": "removeRelationship",
7215
- "objectName": "@happyvertical/smrt-profiles:Organization",
7216
- "path": "/profiles/[id]/removeRelationship",
7217
- "method": "POST"
7218
- },
7219
7807
  {
7220
7808
  "kind": "api",
7221
7809
  "name": "profiles.generateBio",
@@ -7280,14 +7868,6 @@
7280
7868
  "path": "/profiles/[id]/getActiveApiKeys",
7281
7869
  "method": "POST"
7282
7870
  },
7283
- {
7284
- "kind": "api",
7285
- "name": "profiles.generateApiKey",
7286
- "operation": "generateApiKey",
7287
- "objectName": "@happyvertical/smrt-profiles:Organization",
7288
- "path": "/profiles/[id]/generateApiKey",
7289
- "method": "POST"
7290
- },
7291
7871
  {
7292
7872
  "kind": "api",
7293
7873
  "name": "profiles.getOidcIdentities",
@@ -7328,14 +7908,6 @@
7328
7908
  "path": "/profiles/[id]/getAuditLogs",
7329
7909
  "method": "POST"
7330
7910
  },
7331
- {
7332
- "kind": "api",
7333
- "name": "profiles.recordAction",
7334
- "operation": "recordAction",
7335
- "objectName": "@happyvertical/smrt-profiles:Organization",
7336
- "path": "/profiles/[id]/recordAction",
7337
- "method": "POST"
7338
- },
7339
7911
  {
7340
7912
  "kind": "cli",
7341
7913
  "name": "organization_list",
@@ -7733,6 +8305,43 @@
7733
8305
  "objectName": "@happyvertical/smrt-profiles:Organization"
7734
8306
  }
7735
8307
  ],
8308
+ "withheldSurfaces": [
8309
+ {
8310
+ "kind": "api",
8311
+ "operation": "addRelationship",
8312
+ "code": "not-wireable",
8313
+ "reason": "not routed: parameter `toProfile`: `Profile` is a model class instance, not JSON data",
8314
+ "objectName": "@happyvertical/smrt-profiles:Organization"
8315
+ },
8316
+ {
8317
+ "kind": "api",
8318
+ "operation": "generateApiKey",
8319
+ "code": "not-wireable",
8320
+ "reason": "not routed: `options` contains a member where every branch of `Date | null` is unreachable over HTTP (`Date` is only hydrated as a top-level parameter, so a nested one arrives as a string)",
8321
+ "objectName": "@happyvertical/smrt-profiles:Organization"
8322
+ },
8323
+ {
8324
+ "kind": "api",
8325
+ "operation": "recordAction",
8326
+ "code": "not-wireable",
8327
+ "reason": "not routed: `options` contains a member where every branch of `Profile | null` is unreachable over HTTP (`Profile` is a model class instance, not JSON data)",
8328
+ "objectName": "@happyvertical/smrt-profiles:Organization"
8329
+ },
8330
+ {
8331
+ "kind": "api",
8332
+ "operation": "removeRelationship",
8333
+ "code": "not-wireable",
8334
+ "reason": "not routed: parameter `toProfile`: `Profile` is a model class instance, not JSON data",
8335
+ "objectName": "@happyvertical/smrt-profiles:Organization"
8336
+ },
8337
+ {
8338
+ "kind": "api",
8339
+ "operation": "save",
8340
+ "code": "lifecycle-method",
8341
+ "reason": "`save` is a framework lifecycle method, not a distinct operation",
8342
+ "objectName": "@happyvertical/smrt-profiles:Organization"
8343
+ }
8344
+ ],
7736
8345
  "relationshipFeatures": [
7737
8346
  "foreignKey",
7738
8347
  "oneToMany",
@@ -7893,7 +8502,7 @@
7893
8502
  "async": true,
7894
8503
  "params": [
7895
8504
  "metafieldSlug: string",
7896
- "value: any"
8505
+ "value: unknown"
7897
8506
  ],
7898
8507
  "returns": "Promise<void>"
7899
8508
  },
@@ -7913,7 +8522,7 @@
7913
8522
  "static": true,
7914
8523
  "params": [
7915
8524
  "_metafieldSlug: string",
7916
- "_value: any"
8525
+ "_value: unknown"
7917
8526
  ],
7918
8527
  "returns": "Promise<Profile[]>"
7919
8528
  },
@@ -8072,7 +8681,7 @@
8072
8681
  {
8073
8682
  "name": "save",
8074
8683
  "async": true,
8075
- "returns": "Promise"
8684
+ "returns": "Promise<this>"
8076
8685
  },
8077
8686
  {
8078
8687
  "name": "searchByEmail",
@@ -8095,7 +8704,7 @@
8095
8704
  "name": "updateMetadata",
8096
8705
  "async": true,
8097
8706
  "params": [
8098
- "metadata: Record<string>"
8707
+ "metadata: Record<string, unknown>"
8099
8708
  ],
8100
8709
  "returns": "Promise<void>"
8101
8710
  }
@@ -8142,14 +8751,6 @@
8142
8751
  "path": "/profiles/[id]",
8143
8752
  "method": "DELETE"
8144
8753
  },
8145
- {
8146
- "kind": "api",
8147
- "name": "profiles.save",
8148
- "operation": "save",
8149
- "objectName": "@happyvertical/smrt-profiles:Bot",
8150
- "path": "/profiles/[id]/save",
8151
- "method": "POST"
8152
- },
8153
8754
  {
8154
8755
  "kind": "api",
8155
8756
  "name": "profiles.getTypeSlug",
@@ -8222,14 +8823,6 @@
8222
8823
  "path": "/profiles/[id]/removeAsset",
8223
8824
  "method": "POST"
8224
8825
  },
8225
- {
8226
- "kind": "api",
8227
- "name": "profiles.addRelationship",
8228
- "operation": "addRelationship",
8229
- "objectName": "@happyvertical/smrt-profiles:Bot",
8230
- "path": "/profiles/[id]/addRelationship",
8231
- "method": "POST"
8232
- },
8233
8826
  {
8234
8827
  "kind": "api",
8235
8828
  "name": "profiles.getRelationships",
@@ -8246,14 +8839,6 @@
8246
8839
  "path": "/profiles/[id]/getRelatedProfiles",
8247
8840
  "method": "POST"
8248
8841
  },
8249
- {
8250
- "kind": "api",
8251
- "name": "profiles.removeRelationship",
8252
- "operation": "removeRelationship",
8253
- "objectName": "@happyvertical/smrt-profiles:Bot",
8254
- "path": "/profiles/[id]/removeRelationship",
8255
- "method": "POST"
8256
- },
8257
8842
  {
8258
8843
  "kind": "api",
8259
8844
  "name": "profiles.generateBio",
@@ -8318,14 +8903,6 @@
8318
8903
  "path": "/profiles/[id]/getActiveApiKeys",
8319
8904
  "method": "POST"
8320
8905
  },
8321
- {
8322
- "kind": "api",
8323
- "name": "profiles.generateApiKey",
8324
- "operation": "generateApiKey",
8325
- "objectName": "@happyvertical/smrt-profiles:Bot",
8326
- "path": "/profiles/[id]/generateApiKey",
8327
- "method": "POST"
8328
- },
8329
8906
  {
8330
8907
  "kind": "api",
8331
8908
  "name": "profiles.getOidcIdentities",
@@ -8366,14 +8943,6 @@
8366
8943
  "path": "/profiles/[id]/getAuditLogs",
8367
8944
  "method": "POST"
8368
8945
  },
8369
- {
8370
- "kind": "api",
8371
- "name": "profiles.recordAction",
8372
- "operation": "recordAction",
8373
- "objectName": "@happyvertical/smrt-profiles:Bot",
8374
- "path": "/profiles/[id]/recordAction",
8375
- "method": "POST"
8376
- },
8377
8946
  {
8378
8947
  "kind": "cli",
8379
8948
  "name": "bot_list",
@@ -8771,6 +9340,43 @@
8771
9340
  "objectName": "@happyvertical/smrt-profiles:Bot"
8772
9341
  }
8773
9342
  ],
9343
+ "withheldSurfaces": [
9344
+ {
9345
+ "kind": "api",
9346
+ "operation": "addRelationship",
9347
+ "code": "not-wireable",
9348
+ "reason": "not routed: parameter `toProfile`: `Profile` is a model class instance, not JSON data",
9349
+ "objectName": "@happyvertical/smrt-profiles:Bot"
9350
+ },
9351
+ {
9352
+ "kind": "api",
9353
+ "operation": "generateApiKey",
9354
+ "code": "not-wireable",
9355
+ "reason": "not routed: `options` contains a member where every branch of `Date | null` is unreachable over HTTP (`Date` is only hydrated as a top-level parameter, so a nested one arrives as a string)",
9356
+ "objectName": "@happyvertical/smrt-profiles:Bot"
9357
+ },
9358
+ {
9359
+ "kind": "api",
9360
+ "operation": "recordAction",
9361
+ "code": "not-wireable",
9362
+ "reason": "not routed: `options` contains a member where every branch of `Profile | null` is unreachable over HTTP (`Profile` is a model class instance, not JSON data)",
9363
+ "objectName": "@happyvertical/smrt-profiles:Bot"
9364
+ },
9365
+ {
9366
+ "kind": "api",
9367
+ "operation": "removeRelationship",
9368
+ "code": "not-wireable",
9369
+ "reason": "not routed: parameter `toProfile`: `Profile` is a model class instance, not JSON data",
9370
+ "objectName": "@happyvertical/smrt-profiles:Bot"
9371
+ },
9372
+ {
9373
+ "kind": "api",
9374
+ "operation": "save",
9375
+ "code": "lifecycle-method",
9376
+ "reason": "`save` is a framework lifecycle method, not a distinct operation",
9377
+ "objectName": "@happyvertical/smrt-profiles:Bot"
9378
+ }
9379
+ ],
8774
9380
  "relationshipFeatures": [
8775
9381
  "foreignKey",
8776
9382
  "oneToMany",
@@ -8813,14 +9419,6 @@
8813
9419
  "path": "/apikeys/verify",
8814
9420
  "method": "POST"
8815
9421
  },
8816
- {
8817
- "kind": "api",
8818
- "name": "apikeys.generateForProfile",
8819
- "operation": "generateForProfile",
8820
- "objectName": "@happyvertical/smrt-profiles:ApiKeyCollection",
8821
- "path": "/apikeys/generateForProfile",
8822
- "method": "POST"
8823
- },
8824
9422
  {
8825
9423
  "kind": "api",
8826
9424
  "name": "apikeys.revokeAllForProfile",
@@ -8981,14 +9579,6 @@
8981
9579
  "path": "/auditlogs/findOnBehalfOf",
8982
9580
  "method": "POST"
8983
9581
  },
8984
- {
8985
- "kind": "api",
8986
- "name": "auditlogs.record",
8987
- "operation": "record",
8988
- "objectName": "@happyvertical/smrt-profiles:AuditLogCollection",
8989
- "path": "/auditlogs/record",
8990
- "method": "POST"
8991
- },
8992
9582
  {
8993
9583
  "kind": "api",
8994
9584
  "name": "auditlogs.getRecentActivity",
@@ -9333,22 +9923,6 @@
9333
9923
  "path": "/nostridentities/findByNip05",
9334
9924
  "method": "POST"
9335
9925
  },
9336
- {
9337
- "kind": "api",
9338
- "name": "nostridentities.createForProfile",
9339
- "operation": "createForProfile",
9340
- "objectName": "@happyvertical/smrt-profiles:NostrIdentityCollection",
9341
- "path": "/nostridentities/createForProfile",
9342
- "method": "POST"
9343
- },
9344
- {
9345
- "kind": "api",
9346
- "name": "nostridentities.linkToProfile",
9347
- "operation": "linkToProfile",
9348
- "objectName": "@happyvertical/smrt-profiles:NostrIdentityCollection",
9349
- "path": "/nostridentities/linkToProfile",
9350
- "method": "POST"
9351
- },
9352
9926
  {
9353
9927
  "kind": "api",
9354
9928
  "name": "nostridentities.unlinkFromProfile",
@@ -9373,14 +9947,6 @@
9373
9947
  "path": "/nostridentities/isNip05Available",
9374
9948
  "method": "POST"
9375
9949
  },
9376
- {
9377
- "kind": "api",
9378
- "name": "nostridentities.updateNip05Username",
9379
- "operation": "updateNip05Username",
9380
- "objectName": "@happyvertical/smrt-profiles:NostrIdentityCollection",
9381
- "path": "/nostridentities/updateNip05Username",
9382
- "method": "POST"
9383
- },
9384
9950
  {
9385
9951
  "kind": "cli",
9386
9952
  "name": "nostridentitycollection_findByProfile",
@@ -9525,14 +10091,6 @@
9525
10091
  "path": "/oidcidentities/findByProvider",
9526
10092
  "method": "POST"
9527
10093
  },
9528
- {
9529
- "kind": "api",
9530
- "name": "oidcidentities.linkToProfile",
9531
- "operation": "linkToProfile",
9532
- "objectName": "@happyvertical/smrt-profiles:OidcIdentityCollection",
9533
- "path": "/oidcidentities/linkToProfile",
9534
- "method": "POST"
9535
- },
9536
10094
  {
9537
10095
  "kind": "api",
9538
10096
  "name": "oidcidentities.unlinkFromProfile",
@@ -10415,14 +10973,6 @@
10415
10973
  "path": "/magiclinktokens/hashToken",
10416
10974
  "method": "POST"
10417
10975
  },
10418
- {
10419
- "kind": "api",
10420
- "name": "magiclinktokens.generate",
10421
- "operation": "generate",
10422
- "objectName": "@happyvertical/smrt-profiles:MagicLinkToken",
10423
- "path": "/magiclinktokens/generate",
10424
- "method": "POST"
10425
- },
10426
10976
  {
10427
10977
  "kind": "api",
10428
10978
  "name": "magiclinktokens.verify",
@@ -11525,14 +12075,6 @@
11525
12075
  "path": "/profiles/[id]",
11526
12076
  "method": "DELETE"
11527
12077
  },
11528
- {
11529
- "kind": "api",
11530
- "name": "profiles.save",
11531
- "operation": "save",
11532
- "objectName": "@happyvertical/smrt-profiles:Person",
11533
- "path": "/profiles/[id]/save",
11534
- "method": "POST"
11535
- },
11536
12078
  {
11537
12079
  "kind": "api",
11538
12080
  "name": "profiles.getTypeSlug",
@@ -11605,14 +12147,6 @@
11605
12147
  "path": "/profiles/[id]/removeAsset",
11606
12148
  "method": "POST"
11607
12149
  },
11608
- {
11609
- "kind": "api",
11610
- "name": "profiles.addRelationship",
11611
- "operation": "addRelationship",
11612
- "objectName": "@happyvertical/smrt-profiles:Person",
11613
- "path": "/profiles/[id]/addRelationship",
11614
- "method": "POST"
11615
- },
11616
12150
  {
11617
12151
  "kind": "api",
11618
12152
  "name": "profiles.getRelationships",
@@ -11629,14 +12163,6 @@
11629
12163
  "path": "/profiles/[id]/getRelatedProfiles",
11630
12164
  "method": "POST"
11631
12165
  },
11632
- {
11633
- "kind": "api",
11634
- "name": "profiles.removeRelationship",
11635
- "operation": "removeRelationship",
11636
- "objectName": "@happyvertical/smrt-profiles:Person",
11637
- "path": "/profiles/[id]/removeRelationship",
11638
- "method": "POST"
11639
- },
11640
12166
  {
11641
12167
  "kind": "api",
11642
12168
  "name": "profiles.generateBio",
@@ -11701,14 +12227,6 @@
11701
12227
  "path": "/profiles/[id]/getActiveApiKeys",
11702
12228
  "method": "POST"
11703
12229
  },
11704
- {
11705
- "kind": "api",
11706
- "name": "profiles.generateApiKey",
11707
- "operation": "generateApiKey",
11708
- "objectName": "@happyvertical/smrt-profiles:Person",
11709
- "path": "/profiles/[id]/generateApiKey",
11710
- "method": "POST"
11711
- },
11712
12230
  {
11713
12231
  "kind": "api",
11714
12232
  "name": "profiles.getOidcIdentities",
@@ -11749,14 +12267,6 @@
11749
12267
  "path": "/profiles/[id]/getAuditLogs",
11750
12268
  "method": "POST"
11751
12269
  },
11752
- {
11753
- "kind": "api",
11754
- "name": "profiles.recordAction",
11755
- "operation": "recordAction",
11756
- "objectName": "@happyvertical/smrt-profiles:Person",
11757
- "path": "/profiles/[id]/recordAction",
11758
- "method": "POST"
11759
- },
11760
12270
  {
11761
12271
  "kind": "cli",
11762
12272
  "name": "person_list",
@@ -12193,14 +12703,6 @@
12193
12703
  "path": "/profiles/[id]",
12194
12704
  "method": "DELETE"
12195
12705
  },
12196
- {
12197
- "kind": "api",
12198
- "name": "profiles.save",
12199
- "operation": "save",
12200
- "objectName": "@happyvertical/smrt-profiles:Organization",
12201
- "path": "/profiles/[id]/save",
12202
- "method": "POST"
12203
- },
12204
12706
  {
12205
12707
  "kind": "api",
12206
12708
  "name": "profiles.getTypeSlug",
@@ -12273,14 +12775,6 @@
12273
12775
  "path": "/profiles/[id]/removeAsset",
12274
12776
  "method": "POST"
12275
12777
  },
12276
- {
12277
- "kind": "api",
12278
- "name": "profiles.addRelationship",
12279
- "operation": "addRelationship",
12280
- "objectName": "@happyvertical/smrt-profiles:Organization",
12281
- "path": "/profiles/[id]/addRelationship",
12282
- "method": "POST"
12283
- },
12284
12778
  {
12285
12779
  "kind": "api",
12286
12780
  "name": "profiles.getRelationships",
@@ -12297,14 +12791,6 @@
12297
12791
  "path": "/profiles/[id]/getRelatedProfiles",
12298
12792
  "method": "POST"
12299
12793
  },
12300
- {
12301
- "kind": "api",
12302
- "name": "profiles.removeRelationship",
12303
- "operation": "removeRelationship",
12304
- "objectName": "@happyvertical/smrt-profiles:Organization",
12305
- "path": "/profiles/[id]/removeRelationship",
12306
- "method": "POST"
12307
- },
12308
12794
  {
12309
12795
  "kind": "api",
12310
12796
  "name": "profiles.generateBio",
@@ -12369,14 +12855,6 @@
12369
12855
  "path": "/profiles/[id]/getActiveApiKeys",
12370
12856
  "method": "POST"
12371
12857
  },
12372
- {
12373
- "kind": "api",
12374
- "name": "profiles.generateApiKey",
12375
- "operation": "generateApiKey",
12376
- "objectName": "@happyvertical/smrt-profiles:Organization",
12377
- "path": "/profiles/[id]/generateApiKey",
12378
- "method": "POST"
12379
- },
12380
12858
  {
12381
12859
  "kind": "api",
12382
12860
  "name": "profiles.getOidcIdentities",
@@ -12417,14 +12895,6 @@
12417
12895
  "path": "/profiles/[id]/getAuditLogs",
12418
12896
  "method": "POST"
12419
12897
  },
12420
- {
12421
- "kind": "api",
12422
- "name": "profiles.recordAction",
12423
- "operation": "recordAction",
12424
- "objectName": "@happyvertical/smrt-profiles:Organization",
12425
- "path": "/profiles/[id]/recordAction",
12426
- "method": "POST"
12427
- },
12428
12898
  {
12429
12899
  "kind": "cli",
12430
12900
  "name": "organization_list",
@@ -12861,14 +13331,6 @@
12861
13331
  "path": "/profiles/[id]",
12862
13332
  "method": "DELETE"
12863
13333
  },
12864
- {
12865
- "kind": "api",
12866
- "name": "profiles.save",
12867
- "operation": "save",
12868
- "objectName": "@happyvertical/smrt-profiles:Bot",
12869
- "path": "/profiles/[id]/save",
12870
- "method": "POST"
12871
- },
12872
13334
  {
12873
13335
  "kind": "api",
12874
13336
  "name": "profiles.getTypeSlug",
@@ -12941,14 +13403,6 @@
12941
13403
  "path": "/profiles/[id]/removeAsset",
12942
13404
  "method": "POST"
12943
13405
  },
12944
- {
12945
- "kind": "api",
12946
- "name": "profiles.addRelationship",
12947
- "operation": "addRelationship",
12948
- "objectName": "@happyvertical/smrt-profiles:Bot",
12949
- "path": "/profiles/[id]/addRelationship",
12950
- "method": "POST"
12951
- },
12952
13406
  {
12953
13407
  "kind": "api",
12954
13408
  "name": "profiles.getRelationships",
@@ -12965,14 +13419,6 @@
12965
13419
  "path": "/profiles/[id]/getRelatedProfiles",
12966
13420
  "method": "POST"
12967
13421
  },
12968
- {
12969
- "kind": "api",
12970
- "name": "profiles.removeRelationship",
12971
- "operation": "removeRelationship",
12972
- "objectName": "@happyvertical/smrt-profiles:Bot",
12973
- "path": "/profiles/[id]/removeRelationship",
12974
- "method": "POST"
12975
- },
12976
13422
  {
12977
13423
  "kind": "api",
12978
13424
  "name": "profiles.generateBio",
@@ -13037,14 +13483,6 @@
13037
13483
  "path": "/profiles/[id]/getActiveApiKeys",
13038
13484
  "method": "POST"
13039
13485
  },
13040
- {
13041
- "kind": "api",
13042
- "name": "profiles.generateApiKey",
13043
- "operation": "generateApiKey",
13044
- "objectName": "@happyvertical/smrt-profiles:Bot",
13045
- "path": "/profiles/[id]/generateApiKey",
13046
- "method": "POST"
13047
- },
13048
13486
  {
13049
13487
  "kind": "api",
13050
13488
  "name": "profiles.getOidcIdentities",
@@ -13085,14 +13523,6 @@
13085
13523
  "path": "/profiles/[id]/getAuditLogs",
13086
13524
  "method": "POST"
13087
13525
  },
13088
- {
13089
- "kind": "api",
13090
- "name": "profiles.recordAction",
13091
- "operation": "recordAction",
13092
- "objectName": "@happyvertical/smrt-profiles:Bot",
13093
- "path": "/profiles/[id]/recordAction",
13094
- "method": "POST"
13095
- },
13096
13526
  {
13097
13527
  "kind": "cli",
13098
13528
  "name": "bot_list",