@happyvertical/smrt-social 0.44.0 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-social",
6
- "packageVersion": "0.44.0",
6
+ "packageVersion": "0.45.0",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "90ebfad1ad23e5f3f4265178b6f88a825060885433019b52e4bad8801bacaab1",
11
- "packageJson": "dc460314f5b96de625ee3572a9828b9c5e341bf988f8e070eaf39b9916272d2a",
10
+ "manifest": "531e1d7fffd6322821a4a1d6d86397a6308750fb37e04a153daea7ae9e53a5cc",
11
+ "packageJson": "bd0422c358ee7f40c8cd48d4e000f5673a600b147e10562a5b69f0b8f05f4db6",
12
12
  "agents": "f31b84b31431fcb43ab480fafd9684d91f0e55a935e95aa31fd19ea1f31b0ad4"
13
13
  },
14
14
  "exports": [
@@ -125,135 +125,12 @@
125
125
  ],
126
126
  "relationships": [],
127
127
  "methods": [
128
- "_setLoadedRelationship",
129
- "claimRevision",
130
- "classifyConstraintError",
131
- "clearEmbeddings",
132
- "delete",
133
- "describe",
134
- "destroy",
135
- "do",
136
- "executeToolCall",
137
- "forget",
138
- "forgetScope",
139
128
  "generateCodeChallenge",
140
129
  "generateCodeVerifier",
141
- "generateEmbeddings",
142
130
  "generateState",
143
- "getAiUsageSnapshot",
144
- "getAvailableTools",
145
- "getEmbedding",
146
- "getFields",
147
- "getId",
148
- "getRelated",
149
- "getSavedId",
150
- "getSlug",
151
- "hasStaleEmbeddings",
152
- "initialize",
153
- "is",
154
- "isRelatedLoaded",
155
- "isSaved",
156
- "listAiUsage",
157
- "loadDataFromDb",
158
- "loadFromId",
159
- "loadFromSlug",
160
- "loadRelated",
161
- "loadRelatedMany",
162
- "markAsPersisted",
163
- "recall",
164
- "recallAll",
165
- "remember",
166
- "requireInsertOnSave",
167
- "resetAiUsage",
168
- "save",
169
- "summarizeAiUsage",
170
- "toJSON",
171
- "toPlainObject",
172
- "toPublicJSON",
173
- "verifyState",
174
- "withDatabase",
175
- "withTransaction"
131
+ "verifyState"
176
132
  ],
177
133
  "methodSignatures": [
178
- {
179
- "name": "_setLoadedRelationship",
180
- "params": [
181
- "fieldName: string",
182
- "value: any"
183
- ],
184
- "returns": "void"
185
- },
186
- {
187
- "name": "claimRevision",
188
- "async": true,
189
- "params": [
190
- "expectedUpdatedAt: Date | string"
191
- ],
192
- "returns": "Promise"
193
- },
194
- {
195
- "name": "classifyConstraintError",
196
- "static": true,
197
- "params": [
198
- "message: string"
199
- ],
200
- "returns": "'unique' | 'not_null' | null"
201
- },
202
- {
203
- "name": "clearEmbeddings",
204
- "async": true,
205
- "returns": "Promise<void>"
206
- },
207
- {
208
- "name": "delete",
209
- "async": true,
210
- "returns": "Promise<void>"
211
- },
212
- {
213
- "name": "describe",
214
- "async": true,
215
- "params": [
216
- "options?: AiOperationOptions"
217
- ],
218
- "returns": "any"
219
- },
220
- {
221
- "name": "destroy",
222
- "returns": "void"
223
- },
224
- {
225
- "name": "do",
226
- "async": true,
227
- "params": [
228
- "instructions: string",
229
- "options?: AiOperationOptions"
230
- ],
231
- "returns": "any"
232
- },
233
- {
234
- "name": "executeToolCall",
235
- "async": true,
236
- "params": [
237
- "toolCall: ToolCall"
238
- ],
239
- "returns": "Promise<ToolCallResult>"
240
- },
241
- {
242
- "name": "forget",
243
- "async": true,
244
- "params": [
245
- "options: object"
246
- ],
247
- "returns": "Promise<void>"
248
- },
249
- {
250
- "name": "forgetScope",
251
- "async": true,
252
- "params": [
253
- "options: object"
254
- ],
255
- "returns": "Promise<number>"
256
- },
257
134
  {
258
135
  "name": "generateCodeChallenge",
259
136
  "async": true,
@@ -268,230 +145,17 @@
268
145
  "static": true,
269
146
  "returns": "string"
270
147
  },
271
- {
272
- "name": "generateEmbeddings",
273
- "async": true,
274
- "params": [
275
- "options?: GenerateEmbeddingsOptions"
276
- ],
277
- "returns": "Promise<void>"
278
- },
279
148
  {
280
149
  "name": "generateState",
281
150
  "static": true,
282
151
  "returns": "string"
283
152
  },
284
- {
285
- "name": "getAiUsageSnapshot",
286
- "returns": "AiUsageSnapshot | undefined"
287
- },
288
- {
289
- "name": "getAvailableTools",
290
- "returns": "AITool[]"
291
- },
292
- {
293
- "name": "getEmbedding",
294
- "async": true,
295
- "params": [
296
- "fieldName: string",
297
- "model?: string"
298
- ],
299
- "returns": "Promise<number[] | null>"
300
- },
301
- {
302
- "name": "getFields",
303
- "async": true,
304
- "returns": "Promise<any>"
305
- },
306
- {
307
- "name": "getId",
308
- "async": true,
309
- "returns": "any"
310
- },
311
- {
312
- "name": "getRelated",
313
- "async": true,
314
- "params": [
315
- "fieldName: string",
316
- "opts?: LoadRelatedOptions"
317
- ],
318
- "returns": "Promise<any>"
319
- },
320
- {
321
- "name": "getSavedId",
322
- "async": true,
323
- "returns": "any"
324
- },
325
- {
326
- "name": "getSlug",
327
- "async": true,
328
- "returns": "any"
329
- },
330
- {
331
- "name": "hasStaleEmbeddings",
332
- "async": true,
333
- "returns": "Promise<boolean>"
334
- },
335
- {
336
- "name": "initialize",
337
- "async": true,
338
- "returns": "Promise"
339
- },
340
- {
341
- "name": "is",
342
- "async": true,
343
- "params": [
344
- "criteria: string",
345
- "options?: AiOperationOptions"
346
- ],
347
- "returns": "any"
348
- },
349
- {
350
- "name": "isRelatedLoaded",
351
- "params": [
352
- "fieldName: string"
353
- ],
354
- "returns": "boolean"
355
- },
356
- {
357
- "name": "isSaved",
358
- "async": true,
359
- "returns": "any"
360
- },
361
- {
362
- "name": "listAiUsage",
363
- "async": true,
364
- "params": [
365
- "options?: AiUsageListOptions"
366
- ],
367
- "returns": "Promise<SmrtAiUsageRecord[]>"
368
- },
369
- {
370
- "name": "loadDataFromDb",
371
- "async": true,
372
- "params": [
373
- "data: Record<string>"
374
- ],
375
- "returns": "any"
376
- },
377
- {
378
- "name": "loadFromId",
379
- "async": true,
380
- "returns": "any"
381
- },
382
- {
383
- "name": "loadFromSlug",
384
- "async": true,
385
- "returns": "any"
386
- },
387
- {
388
- "name": "loadRelated",
389
- "async": true,
390
- "params": [
391
- "fieldName: string",
392
- "opts?: LoadRelatedOptions"
393
- ],
394
- "returns": "Promise<any>"
395
- },
396
- {
397
- "name": "loadRelatedMany",
398
- "async": true,
399
- "params": [
400
- "fieldName: string",
401
- "opts?: LoadRelatedOptions"
402
- ],
403
- "returns": "Promise<any[]>"
404
- },
405
- {
406
- "name": "markAsPersisted",
407
- "returns": "void"
408
- },
409
- {
410
- "name": "recall",
411
- "async": true,
412
- "params": [
413
- "options: object"
414
- ],
415
- "returns": "Promise"
416
- },
417
- {
418
- "name": "recallAll",
419
- "async": true,
420
- "params": [
421
- "options?: object"
422
- ],
423
- "returns": "Promise<Map<string>>"
424
- },
425
- {
426
- "name": "remember",
427
- "async": true,
428
- "params": [
429
- "options: object"
430
- ],
431
- "returns": "Promise<void>"
432
- },
433
- {
434
- "name": "requireInsertOnSave",
435
- "returns": "void"
436
- },
437
- {
438
- "name": "resetAiUsage",
439
- "returns": "void"
440
- },
441
- {
442
- "name": "save",
443
- "async": true,
444
- "params": [
445
- "options?: SmrtSaveOptions"
446
- ],
447
- "returns": "any"
448
- },
449
- {
450
- "name": "summarizeAiUsage",
451
- "async": true,
452
- "params": [
453
- "options?: AiUsageSummaryOptions"
454
- ],
455
- "returns": "Promise<Record<string, AiUsageStats>>"
456
- },
457
- {
458
- "name": "toJSON",
459
- "returns": "any"
460
- },
461
- {
462
- "name": "toPlainObject",
463
- "returns": "Record<string>"
464
- },
465
- {
466
- "name": "toPublicJSON",
467
- "params": [
468
- "options?: PublicJsonOptions"
469
- ],
470
- "returns": "Record<string>"
471
- },
472
153
  {
473
154
  "name": "verifyState",
474
155
  "params": [
475
156
  "callbackState: string"
476
157
  ],
477
158
  "returns": "boolean"
478
- },
479
- {
480
- "name": "withDatabase",
481
- "async": true,
482
- "params": [
483
- "db: DatabaseInterface",
484
- "operation: Function"
485
- ],
486
- "returns": "Promise<T>"
487
- },
488
- {
489
- "name": "withTransaction",
490
- "async": true,
491
- "params": [
492
- "operation: Function"
493
- ],
494
- "returns": "Promise<T>"
495
159
  }
496
160
  ],
497
161
  "tenant": {
@@ -568,6 +232,30 @@
568
232
  "name": "oauthstate_delete",
569
233
  "operation": "delete",
570
234
  "objectName": "@happyvertical/smrt-social:OAuthState"
235
+ },
236
+ {
237
+ "kind": "cli",
238
+ "name": "oauthstate_verifyState",
239
+ "operation": "verifyState",
240
+ "objectName": "@happyvertical/smrt-social:OAuthState"
241
+ },
242
+ {
243
+ "kind": "cli",
244
+ "name": "oauthstate_generateState",
245
+ "operation": "generateState",
246
+ "objectName": "@happyvertical/smrt-social:OAuthState"
247
+ },
248
+ {
249
+ "kind": "cli",
250
+ "name": "oauthstate_generateCodeVerifier",
251
+ "operation": "generateCodeVerifier",
252
+ "objectName": "@happyvertical/smrt-social:OAuthState"
253
+ },
254
+ {
255
+ "kind": "cli",
256
+ "name": "oauthstate_generateCodeChallenge",
257
+ "operation": "generateCodeChallenge",
258
+ "objectName": "@happyvertical/smrt-social:OAuthState"
571
259
  }
572
260
  ],
573
261
  "relationshipFeatures": [
@@ -735,389 +423,59 @@
735
423
  ],
736
424
  "relationships": [],
737
425
  "methods": [
738
- "_setLoadedRelationship",
739
- "claimRevision",
740
- "classifyConstraintError",
741
- "clearEmbeddings",
742
- "delete",
743
- "describe",
744
- "destroy",
745
- "do",
746
- "executeToolCall",
747
- "forget",
748
- "forgetScope",
749
- "generateEmbeddings",
750
- "getAiUsageSnapshot",
751
- "getAvailableTools",
752
426
  "getCredentials",
753
- "getEmbedding",
754
- "getFields",
755
- "getId",
756
- "getRelated",
757
- "getSavedId",
758
427
  "getSlug",
759
- "hasStaleEmbeddings",
760
- "initialize",
761
- "is",
762
- "isRelatedLoaded",
763
- "isSaved",
764
- "listAiUsage",
765
- "loadDataFromDb",
766
- "loadFromId",
767
- "loadFromSlug",
768
- "loadRelated",
769
- "loadRelatedMany",
770
- "markAsPersisted",
771
- "recall",
772
- "recallAll",
773
- "remember",
774
- "requireInsertOnSave",
775
- "resetAiUsage",
776
- "save",
777
- "setCredentials",
778
- "summarizeAiUsage",
779
- "toJSON",
780
- "toPlainObject",
781
- "toPublicJSON",
782
- "withDatabase",
783
- "withTransaction"
428
+ "setCredentials"
784
429
  ],
785
430
  "methodSignatures": [
786
431
  {
787
- "name": "_setLoadedRelationship",
788
- "params": [
789
- "fieldName: string",
790
- "value: any"
791
- ],
792
- "returns": "void"
793
- },
794
- {
795
- "name": "claimRevision",
796
- "async": true,
797
- "params": [
798
- "expectedUpdatedAt: Date | string"
799
- ],
800
- "returns": "Promise"
801
- },
802
- {
803
- "name": "classifyConstraintError",
804
- "static": true,
805
- "params": [
806
- "message: string"
807
- ],
808
- "returns": "'unique' | 'not_null' | null"
809
- },
810
- {
811
- "name": "clearEmbeddings",
432
+ "name": "getCredentials",
812
433
  "async": true,
813
- "returns": "Promise<void>"
434
+ "returns": "Promise<Record<string> | null>"
814
435
  },
815
436
  {
816
- "name": "delete",
437
+ "name": "getSlug",
817
438
  "async": true,
818
- "returns": "Promise<void>"
439
+ "returns": "Promise<string | null | undefined>"
819
440
  },
820
441
  {
821
- "name": "describe",
442
+ "name": "setCredentials",
822
443
  "async": true,
823
444
  "params": [
824
- "options?: AiOperationOptions"
445
+ "credentials: Record<string>",
446
+ "options?: object"
825
447
  ],
826
- "returns": "any"
827
- },
448
+ "returns": "Promise<void>"
449
+ }
450
+ ],
451
+ "tenant": {
452
+ "scoped": true,
453
+ "mode": "optional",
454
+ "field": "tenantId"
455
+ },
456
+ "tableStrategy": "sti",
457
+ "conflictColumns": [
458
+ "tenant_id",
459
+ "slug",
460
+ "context",
461
+ "_meta_type"
462
+ ],
463
+ "surfaces": [
828
464
  {
829
- "name": "destroy",
830
- "returns": "void"
465
+ "kind": "api",
466
+ "name": "socialaccounts.list",
467
+ "operation": "list",
468
+ "objectName": "@happyvertical/smrt-social:SocialAccount",
469
+ "path": "/socialaccounts",
470
+ "method": "GET"
831
471
  },
832
472
  {
833
- "name": "do",
834
- "async": true,
835
- "params": [
836
- "instructions: string",
837
- "options?: AiOperationOptions"
838
- ],
839
- "returns": "any"
840
- },
841
- {
842
- "name": "executeToolCall",
843
- "async": true,
844
- "params": [
845
- "toolCall: ToolCall"
846
- ],
847
- "returns": "Promise<ToolCallResult>"
848
- },
849
- {
850
- "name": "forget",
851
- "async": true,
852
- "params": [
853
- "options: object"
854
- ],
855
- "returns": "Promise<void>"
856
- },
857
- {
858
- "name": "forgetScope",
859
- "async": true,
860
- "params": [
861
- "options: object"
862
- ],
863
- "returns": "Promise<number>"
864
- },
865
- {
866
- "name": "generateEmbeddings",
867
- "async": true,
868
- "params": [
869
- "options?: GenerateEmbeddingsOptions"
870
- ],
871
- "returns": "Promise<void>"
872
- },
873
- {
874
- "name": "getAiUsageSnapshot",
875
- "returns": "AiUsageSnapshot | undefined"
876
- },
877
- {
878
- "name": "getAvailableTools",
879
- "returns": "AITool[]"
880
- },
881
- {
882
- "name": "getCredentials",
883
- "async": true,
884
- "returns": "Promise<Record<string> | null>"
885
- },
886
- {
887
- "name": "getEmbedding",
888
- "async": true,
889
- "params": [
890
- "fieldName: string",
891
- "model?: string"
892
- ],
893
- "returns": "Promise<number[] | null>"
894
- },
895
- {
896
- "name": "getFields",
897
- "async": true,
898
- "returns": "Promise<any>"
899
- },
900
- {
901
- "name": "getId",
902
- "async": true,
903
- "returns": "any"
904
- },
905
- {
906
- "name": "getRelated",
907
- "async": true,
908
- "params": [
909
- "fieldName: string",
910
- "opts?: LoadRelatedOptions"
911
- ],
912
- "returns": "Promise<any>"
913
- },
914
- {
915
- "name": "getSavedId",
916
- "async": true,
917
- "returns": "any"
918
- },
919
- {
920
- "name": "getSlug",
921
- "async": true,
922
- "returns": "Promise<string | null | undefined>"
923
- },
924
- {
925
- "name": "hasStaleEmbeddings",
926
- "async": true,
927
- "returns": "Promise<boolean>"
928
- },
929
- {
930
- "name": "initialize",
931
- "async": true,
932
- "returns": "Promise"
933
- },
934
- {
935
- "name": "is",
936
- "async": true,
937
- "params": [
938
- "criteria: string",
939
- "options?: AiOperationOptions"
940
- ],
941
- "returns": "any"
942
- },
943
- {
944
- "name": "isRelatedLoaded",
945
- "params": [
946
- "fieldName: string"
947
- ],
948
- "returns": "boolean"
949
- },
950
- {
951
- "name": "isSaved",
952
- "async": true,
953
- "returns": "any"
954
- },
955
- {
956
- "name": "listAiUsage",
957
- "async": true,
958
- "params": [
959
- "options?: AiUsageListOptions"
960
- ],
961
- "returns": "Promise<SmrtAiUsageRecord[]>"
962
- },
963
- {
964
- "name": "loadDataFromDb",
965
- "async": true,
966
- "params": [
967
- "data: Record<string>"
968
- ],
969
- "returns": "any"
970
- },
971
- {
972
- "name": "loadFromId",
973
- "async": true,
974
- "returns": "any"
975
- },
976
- {
977
- "name": "loadFromSlug",
978
- "async": true,
979
- "returns": "any"
980
- },
981
- {
982
- "name": "loadRelated",
983
- "async": true,
984
- "params": [
985
- "fieldName: string",
986
- "opts?: LoadRelatedOptions"
987
- ],
988
- "returns": "Promise<any>"
989
- },
990
- {
991
- "name": "loadRelatedMany",
992
- "async": true,
993
- "params": [
994
- "fieldName: string",
995
- "opts?: LoadRelatedOptions"
996
- ],
997
- "returns": "Promise<any[]>"
998
- },
999
- {
1000
- "name": "markAsPersisted",
1001
- "returns": "void"
1002
- },
1003
- {
1004
- "name": "recall",
1005
- "async": true,
1006
- "params": [
1007
- "options: object"
1008
- ],
1009
- "returns": "Promise"
1010
- },
1011
- {
1012
- "name": "recallAll",
1013
- "async": true,
1014
- "params": [
1015
- "options?: object"
1016
- ],
1017
- "returns": "Promise<Map<string>>"
1018
- },
1019
- {
1020
- "name": "remember",
1021
- "async": true,
1022
- "params": [
1023
- "options: object"
1024
- ],
1025
- "returns": "Promise<void>"
1026
- },
1027
- {
1028
- "name": "requireInsertOnSave",
1029
- "returns": "void"
1030
- },
1031
- {
1032
- "name": "resetAiUsage",
1033
- "returns": "void"
1034
- },
1035
- {
1036
- "name": "save",
1037
- "async": true,
1038
- "params": [
1039
- "options?: SmrtSaveOptions"
1040
- ],
1041
- "returns": "any"
1042
- },
1043
- {
1044
- "name": "setCredentials",
1045
- "async": true,
1046
- "params": [
1047
- "credentials: Record<string>",
1048
- "options?: object"
1049
- ],
1050
- "returns": "Promise<void>"
1051
- },
1052
- {
1053
- "name": "summarizeAiUsage",
1054
- "async": true,
1055
- "params": [
1056
- "options?: AiUsageSummaryOptions"
1057
- ],
1058
- "returns": "Promise<Record<string, AiUsageStats>>"
1059
- },
1060
- {
1061
- "name": "toJSON",
1062
- "returns": "any"
1063
- },
1064
- {
1065
- "name": "toPlainObject",
1066
- "returns": "Record<string>"
1067
- },
1068
- {
1069
- "name": "toPublicJSON",
1070
- "params": [
1071
- "options?: PublicJsonOptions"
1072
- ],
1073
- "returns": "Record<string>"
1074
- },
1075
- {
1076
- "name": "withDatabase",
1077
- "async": true,
1078
- "params": [
1079
- "db: DatabaseInterface",
1080
- "operation: Function"
1081
- ],
1082
- "returns": "Promise<T>"
1083
- },
1084
- {
1085
- "name": "withTransaction",
1086
- "async": true,
1087
- "params": [
1088
- "operation: Function"
1089
- ],
1090
- "returns": "Promise<T>"
1091
- }
1092
- ],
1093
- "tenant": {
1094
- "scoped": true,
1095
- "mode": "optional",
1096
- "field": "tenantId"
1097
- },
1098
- "tableStrategy": "sti",
1099
- "conflictColumns": [
1100
- "tenant_id",
1101
- "slug",
1102
- "context",
1103
- "_meta_type"
1104
- ],
1105
- "surfaces": [
1106
- {
1107
- "kind": "api",
1108
- "name": "socialaccounts.list",
1109
- "operation": "list",
1110
- "objectName": "@happyvertical/smrt-social:SocialAccount",
1111
- "path": "/socialaccounts",
1112
- "method": "GET"
1113
- },
1114
- {
1115
- "kind": "api",
1116
- "name": "socialaccounts.get",
1117
- "operation": "get",
1118
- "objectName": "@happyvertical/smrt-social:SocialAccount",
1119
- "path": "/socialaccounts/[id]",
1120
- "method": "GET"
473
+ "kind": "api",
474
+ "name": "socialaccounts.get",
475
+ "operation": "get",
476
+ "objectName": "@happyvertical/smrt-social:SocialAccount",
477
+ "path": "/socialaccounts/[id]",
478
+ "method": "GET"
1121
479
  },
1122
480
  {
1123
481
  "kind": "api",
@@ -1173,6 +531,18 @@
1173
531
  "operation": "delete",
1174
532
  "objectName": "@happyvertical/smrt-social:SocialAccount"
1175
533
  },
534
+ {
535
+ "kind": "cli",
536
+ "name": "socialaccount_setCredentials",
537
+ "operation": "setCredentials",
538
+ "objectName": "@happyvertical/smrt-social:SocialAccount"
539
+ },
540
+ {
541
+ "kind": "cli",
542
+ "name": "socialaccount_getCredentials",
543
+ "operation": "getCredentials",
544
+ "objectName": "@happyvertical/smrt-social:SocialAccount"
545
+ },
1176
546
  {
1177
547
  "kind": "mcp",
1178
548
  "name": "socialaccount_list",
@@ -1259,390 +629,51 @@
1259
629
  "columnType": "UUID"
1260
630
  }
1261
631
  ],
1262
- "methods": [
1263
- "_setLoadedRelationship",
1264
- "claimRevision",
1265
- "classifyConstraintError",
1266
- "clearEmbeddings",
1267
- "delete",
1268
- "describe",
1269
- "destroy",
1270
- "do",
1271
- "executeToolCall",
1272
- "forget",
1273
- "forgetScope",
1274
- "generateEmbeddings",
1275
- "getAiUsageSnapshot",
1276
- "getAvailableTools",
1277
- "getEmbedding",
1278
- "getFields",
1279
- "getId",
1280
- "getRelated",
1281
- "getSavedId",
1282
- "getSlug",
1283
- "hasStaleEmbeddings",
1284
- "initialize",
1285
- "is",
1286
- "isRelatedLoaded",
1287
- "isSaved",
1288
- "listAiUsage",
1289
- "loadDataFromDb",
1290
- "loadFromId",
1291
- "loadFromSlug",
1292
- "loadRelated",
1293
- "loadRelatedMany",
1294
- "markAsPersisted",
1295
- "recall",
1296
- "recallAll",
1297
- "remember",
1298
- "requireInsertOnSave",
1299
- "resetAiUsage",
1300
- "save",
1301
- "summarizeAiUsage",
1302
- "toJSON",
1303
- "toPlainObject",
1304
- "toPublicJSON",
1305
- "withDatabase",
1306
- "withTransaction"
632
+ "methods": [],
633
+ "tenant": {
634
+ "scoped": true,
635
+ "mode": "optional",
636
+ "field": "tenantId"
637
+ },
638
+ "tableStrategy": "sti",
639
+ "conflictColumns": [
640
+ "tenant_id",
641
+ "slug",
642
+ "context",
643
+ "_meta_type"
1307
644
  ],
1308
- "methodSignatures": [
1309
- {
1310
- "name": "_setLoadedRelationship",
1311
- "params": [
1312
- "fieldName: string",
1313
- "value: any"
1314
- ],
1315
- "returns": "void"
1316
- },
645
+ "surfaces": [
1317
646
  {
1318
- "name": "claimRevision",
1319
- "async": true,
1320
- "params": [
1321
- "expectedUpdatedAt: Date | string"
1322
- ],
1323
- "returns": "Promise"
647
+ "kind": "api",
648
+ "name": "socialpostanalyticssnapshots.list",
649
+ "operation": "list",
650
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshot",
651
+ "path": "/socialpostanalyticssnapshots",
652
+ "method": "GET"
1324
653
  },
1325
654
  {
1326
- "name": "classifyConstraintError",
1327
- "static": true,
1328
- "params": [
1329
- "message: string"
1330
- ],
1331
- "returns": "'unique' | 'not_null' | null"
655
+ "kind": "api",
656
+ "name": "socialpostanalyticssnapshots.get",
657
+ "operation": "get",
658
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshot",
659
+ "path": "/socialpostanalyticssnapshots/[id]",
660
+ "method": "GET"
1332
661
  },
1333
662
  {
1334
- "name": "clearEmbeddings",
1335
- "async": true,
1336
- "returns": "Promise<void>"
663
+ "kind": "api",
664
+ "name": "socialpostanalyticssnapshots.create",
665
+ "operation": "create",
666
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshot",
667
+ "path": "/socialpostanalyticssnapshots",
668
+ "method": "POST"
1337
669
  },
1338
670
  {
1339
- "name": "delete",
1340
- "async": true,
1341
- "returns": "Promise<void>"
1342
- },
1343
- {
1344
- "name": "describe",
1345
- "async": true,
1346
- "params": [
1347
- "options?: AiOperationOptions"
1348
- ],
1349
- "returns": "any"
1350
- },
1351
- {
1352
- "name": "destroy",
1353
- "returns": "void"
1354
- },
1355
- {
1356
- "name": "do",
1357
- "async": true,
1358
- "params": [
1359
- "instructions: string",
1360
- "options?: AiOperationOptions"
1361
- ],
1362
- "returns": "any"
1363
- },
1364
- {
1365
- "name": "executeToolCall",
1366
- "async": true,
1367
- "params": [
1368
- "toolCall: ToolCall"
1369
- ],
1370
- "returns": "Promise<ToolCallResult>"
1371
- },
1372
- {
1373
- "name": "forget",
1374
- "async": true,
1375
- "params": [
1376
- "options: object"
1377
- ],
1378
- "returns": "Promise<void>"
1379
- },
1380
- {
1381
- "name": "forgetScope",
1382
- "async": true,
1383
- "params": [
1384
- "options: object"
1385
- ],
1386
- "returns": "Promise<number>"
1387
- },
1388
- {
1389
- "name": "generateEmbeddings",
1390
- "async": true,
1391
- "params": [
1392
- "options?: GenerateEmbeddingsOptions"
1393
- ],
1394
- "returns": "Promise<void>"
1395
- },
1396
- {
1397
- "name": "getAiUsageSnapshot",
1398
- "returns": "AiUsageSnapshot | undefined"
1399
- },
1400
- {
1401
- "name": "getAvailableTools",
1402
- "returns": "AITool[]"
1403
- },
1404
- {
1405
- "name": "getEmbedding",
1406
- "async": true,
1407
- "params": [
1408
- "fieldName: string",
1409
- "model?: string"
1410
- ],
1411
- "returns": "Promise<number[] | null>"
1412
- },
1413
- {
1414
- "name": "getFields",
1415
- "async": true,
1416
- "returns": "Promise<any>"
1417
- },
1418
- {
1419
- "name": "getId",
1420
- "async": true,
1421
- "returns": "any"
1422
- },
1423
- {
1424
- "name": "getRelated",
1425
- "async": true,
1426
- "params": [
1427
- "fieldName: string",
1428
- "opts?: LoadRelatedOptions"
1429
- ],
1430
- "returns": "Promise<any>"
1431
- },
1432
- {
1433
- "name": "getSavedId",
1434
- "async": true,
1435
- "returns": "any"
1436
- },
1437
- {
1438
- "name": "getSlug",
1439
- "async": true,
1440
- "returns": "any"
1441
- },
1442
- {
1443
- "name": "hasStaleEmbeddings",
1444
- "async": true,
1445
- "returns": "Promise<boolean>"
1446
- },
1447
- {
1448
- "name": "initialize",
1449
- "async": true,
1450
- "returns": "Promise"
1451
- },
1452
- {
1453
- "name": "is",
1454
- "async": true,
1455
- "params": [
1456
- "criteria: string",
1457
- "options?: AiOperationOptions"
1458
- ],
1459
- "returns": "any"
1460
- },
1461
- {
1462
- "name": "isRelatedLoaded",
1463
- "params": [
1464
- "fieldName: string"
1465
- ],
1466
- "returns": "boolean"
1467
- },
1468
- {
1469
- "name": "isSaved",
1470
- "async": true,
1471
- "returns": "any"
1472
- },
1473
- {
1474
- "name": "listAiUsage",
1475
- "async": true,
1476
- "params": [
1477
- "options?: AiUsageListOptions"
1478
- ],
1479
- "returns": "Promise<SmrtAiUsageRecord[]>"
1480
- },
1481
- {
1482
- "name": "loadDataFromDb",
1483
- "async": true,
1484
- "params": [
1485
- "data: Record<string>"
1486
- ],
1487
- "returns": "any"
1488
- },
1489
- {
1490
- "name": "loadFromId",
1491
- "async": true,
1492
- "returns": "any"
1493
- },
1494
- {
1495
- "name": "loadFromSlug",
1496
- "async": true,
1497
- "returns": "any"
1498
- },
1499
- {
1500
- "name": "loadRelated",
1501
- "async": true,
1502
- "params": [
1503
- "fieldName: string",
1504
- "opts?: LoadRelatedOptions"
1505
- ],
1506
- "returns": "Promise<any>"
1507
- },
1508
- {
1509
- "name": "loadRelatedMany",
1510
- "async": true,
1511
- "params": [
1512
- "fieldName: string",
1513
- "opts?: LoadRelatedOptions"
1514
- ],
1515
- "returns": "Promise<any[]>"
1516
- },
1517
- {
1518
- "name": "markAsPersisted",
1519
- "returns": "void"
1520
- },
1521
- {
1522
- "name": "recall",
1523
- "async": true,
1524
- "params": [
1525
- "options: object"
1526
- ],
1527
- "returns": "Promise"
1528
- },
1529
- {
1530
- "name": "recallAll",
1531
- "async": true,
1532
- "params": [
1533
- "options?: object"
1534
- ],
1535
- "returns": "Promise<Map<string>>"
1536
- },
1537
- {
1538
- "name": "remember",
1539
- "async": true,
1540
- "params": [
1541
- "options: object"
1542
- ],
1543
- "returns": "Promise<void>"
1544
- },
1545
- {
1546
- "name": "requireInsertOnSave",
1547
- "returns": "void"
1548
- },
1549
- {
1550
- "name": "resetAiUsage",
1551
- "returns": "void"
1552
- },
1553
- {
1554
- "name": "save",
1555
- "async": true,
1556
- "params": [
1557
- "options?: SmrtSaveOptions"
1558
- ],
1559
- "returns": "any"
1560
- },
1561
- {
1562
- "name": "summarizeAiUsage",
1563
- "async": true,
1564
- "params": [
1565
- "options?: AiUsageSummaryOptions"
1566
- ],
1567
- "returns": "Promise<Record<string, AiUsageStats>>"
1568
- },
1569
- {
1570
- "name": "toJSON",
1571
- "returns": "any"
1572
- },
1573
- {
1574
- "name": "toPlainObject",
1575
- "returns": "Record<string>"
1576
- },
1577
- {
1578
- "name": "toPublicJSON",
1579
- "params": [
1580
- "options?: PublicJsonOptions"
1581
- ],
1582
- "returns": "Record<string>"
1583
- },
1584
- {
1585
- "name": "withDatabase",
1586
- "async": true,
1587
- "params": [
1588
- "db: DatabaseInterface",
1589
- "operation: Function"
1590
- ],
1591
- "returns": "Promise<T>"
1592
- },
1593
- {
1594
- "name": "withTransaction",
1595
- "async": true,
1596
- "params": [
1597
- "operation: Function"
1598
- ],
1599
- "returns": "Promise<T>"
1600
- }
1601
- ],
1602
- "tenant": {
1603
- "scoped": true,
1604
- "mode": "optional",
1605
- "field": "tenantId"
1606
- },
1607
- "tableStrategy": "sti",
1608
- "conflictColumns": [
1609
- "tenant_id",
1610
- "slug",
1611
- "context",
1612
- "_meta_type"
1613
- ],
1614
- "surfaces": [
1615
- {
1616
- "kind": "api",
1617
- "name": "socialpostanalyticssnapshots.list",
1618
- "operation": "list",
1619
- "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshot",
1620
- "path": "/socialpostanalyticssnapshots",
1621
- "method": "GET"
1622
- },
1623
- {
1624
- "kind": "api",
1625
- "name": "socialpostanalyticssnapshots.get",
1626
- "operation": "get",
1627
- "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshot",
1628
- "path": "/socialpostanalyticssnapshots/[id]",
1629
- "method": "GET"
1630
- },
1631
- {
1632
- "kind": "api",
1633
- "name": "socialpostanalyticssnapshots.create",
1634
- "operation": "create",
1635
- "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshot",
1636
- "path": "/socialpostanalyticssnapshots",
1637
- "method": "POST"
1638
- },
1639
- {
1640
- "kind": "api",
1641
- "name": "socialpostanalyticssnapshots.delete",
1642
- "operation": "delete",
1643
- "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshot",
1644
- "path": "/socialpostanalyticssnapshots/[id]",
1645
- "method": "DELETE"
671
+ "kind": "api",
672
+ "name": "socialpostanalyticssnapshots.delete",
673
+ "operation": "delete",
674
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshot",
675
+ "path": "/socialpostanalyticssnapshots/[id]",
676
+ "method": "DELETE"
1646
677
  },
1647
678
  {
1648
679
  "kind": "cli",
@@ -1697,502 +728,163 @@
1697
728
  {
1698
729
  "name": "SocialPost",
1699
730
  "qualifiedName": "@happyvertical/smrt-social:SocialPost",
1700
- "collection": "socialposts",
1701
- "tableName": "social_posts",
1702
- "packageName": "@happyvertical/smrt-social",
1703
- "extends": "SmrtObject",
1704
- "fields": [
1705
- {
1706
- "name": "created_at",
1707
- "type": "datetime",
1708
- "required": false,
1709
- "columnType": "TIMESTAMP"
1710
- },
1711
- {
1712
- "name": "updated_at",
1713
- "type": "datetime",
1714
- "required": false,
1715
- "columnType": "TIMESTAMP"
1716
- },
1717
- {
1718
- "name": "tenantId",
1719
- "type": "text",
1720
- "required": false,
1721
- "columnType": "UUID"
1722
- },
1723
- {
1724
- "name": "socialAccountId",
1725
- "type": "foreignKey",
1726
- "required": false,
1727
- "related": "SocialAccount",
1728
- "columnType": "UUID"
1729
- },
1730
- {
1731
- "name": "videoContentId",
1732
- "type": "crossPackageRef",
1733
- "required": false,
1734
- "related": "@happyvertical/smrt-video:VideoContent",
1735
- "columnType": "UUID"
1736
- },
1737
- {
1738
- "name": "contentId",
1739
- "type": "crossPackageRef",
1740
- "required": false,
1741
- "related": "@happyvertical/smrt-content:Content",
1742
- "columnType": "UUID"
1743
- },
1744
- {
1745
- "name": "postType",
1746
- "type": "text",
1747
- "required": false,
1748
- "columnType": "TEXT",
1749
- "default": "text"
1750
- },
1751
- {
1752
- "name": "mediaUrl",
1753
- "type": "text",
1754
- "required": false,
1755
- "columnType": "TEXT"
1756
- },
1757
- {
1758
- "name": "title",
1759
- "type": "text",
1760
- "required": false,
1761
- "columnType": "TEXT"
1762
- },
1763
- {
1764
- "name": "description",
1765
- "type": "text",
1766
- "required": false,
1767
- "columnType": "TEXT",
1768
- "default": ""
1769
- },
1770
- {
1771
- "name": "hashtags",
1772
- "type": "json",
1773
- "required": false,
1774
- "columnType": "JSON",
1775
- "default": []
1776
- },
1777
- {
1778
- "name": "linkUrl",
1779
- "type": "text",
1780
- "required": false,
1781
- "columnType": "TEXT"
1782
- },
1783
- {
1784
- "name": "platformPostId",
1785
- "type": "text",
1786
- "required": false,
1787
- "columnType": "TEXT"
1788
- },
1789
- {
1790
- "name": "platformUrl",
1791
- "type": "text",
1792
- "required": false,
1793
- "columnType": "TEXT"
1794
- },
1795
- {
1796
- "name": "scheduledAt",
1797
- "type": "datetime",
1798
- "required": false,
1799
- "columnType": "TIMESTAMP"
1800
- },
1801
- {
1802
- "name": "publishedAt",
1803
- "type": "datetime",
1804
- "required": false,
1805
- "columnType": "TIMESTAMP"
1806
- },
1807
- {
1808
- "name": "status",
1809
- "type": "text",
1810
- "required": false,
1811
- "columnType": "TEXT",
1812
- "default": "draft"
1813
- },
1814
- {
1815
- "name": "errorMessage",
1816
- "type": "text",
1817
- "required": false,
1818
- "columnType": "TEXT"
1819
- },
1820
- {
1821
- "name": "analytics",
1822
- "type": "json",
1823
- "required": false,
1824
- "columnType": "JSON"
1825
- },
1826
- {
1827
- "name": "analyticsLastSyncedAt",
1828
- "type": "datetime",
1829
- "required": false,
1830
- "columnType": "TIMESTAMP"
1831
- }
1832
- ],
1833
- "relationships": [
1834
- {
1835
- "name": "socialAccountId",
1836
- "type": "foreignKey",
1837
- "required": false,
1838
- "related": "SocialAccount",
1839
- "columnType": "UUID"
1840
- },
1841
- {
1842
- "name": "videoContentId",
1843
- "type": "crossPackageRef",
1844
- "required": false,
1845
- "related": "@happyvertical/smrt-video:VideoContent",
1846
- "columnType": "UUID"
1847
- },
1848
- {
1849
- "name": "contentId",
1850
- "type": "crossPackageRef",
1851
- "required": false,
1852
- "related": "@happyvertical/smrt-content:Content",
1853
- "columnType": "UUID"
1854
- }
1855
- ],
1856
- "methods": [
1857
- "_setLoadedRelationship",
1858
- "claimRevision",
1859
- "classifyConstraintError",
1860
- "clearEmbeddings",
1861
- "delete",
1862
- "describe",
1863
- "destroy",
1864
- "do",
1865
- "executeToolCall",
1866
- "forget",
1867
- "forgetScope",
1868
- "generateEmbeddings",
1869
- "getAiUsageSnapshot",
1870
- "getAvailableTools",
1871
- "getEmbedding",
1872
- "getFields",
1873
- "getId",
1874
- "getRelated",
1875
- "getSavedId",
1876
- "getSlug",
1877
- "hasStaleEmbeddings",
1878
- "initialize",
1879
- "is",
1880
- "isRelatedLoaded",
1881
- "isSaved",
1882
- "listAiUsage",
1883
- "loadDataFromDb",
1884
- "loadFromId",
1885
- "loadFromSlug",
1886
- "loadRelated",
1887
- "loadRelatedMany",
1888
- "markAsPersisted",
1889
- "recall",
1890
- "recallAll",
1891
- "remember",
1892
- "requireInsertOnSave",
1893
- "resetAiUsage",
1894
- "save",
1895
- "summarizeAiUsage",
1896
- "toJSON",
1897
- "toPlainObject",
1898
- "toPublicJSON",
1899
- "withDatabase",
1900
- "withTransaction"
1901
- ],
1902
- "methodSignatures": [
1903
- {
1904
- "name": "_setLoadedRelationship",
1905
- "params": [
1906
- "fieldName: string",
1907
- "value: any"
1908
- ],
1909
- "returns": "void"
1910
- },
1911
- {
1912
- "name": "claimRevision",
1913
- "async": true,
1914
- "params": [
1915
- "expectedUpdatedAt: Date | string"
1916
- ],
1917
- "returns": "Promise"
1918
- },
1919
- {
1920
- "name": "classifyConstraintError",
1921
- "static": true,
1922
- "params": [
1923
- "message: string"
1924
- ],
1925
- "returns": "'unique' | 'not_null' | null"
1926
- },
1927
- {
1928
- "name": "clearEmbeddings",
1929
- "async": true,
1930
- "returns": "Promise<void>"
1931
- },
1932
- {
1933
- "name": "delete",
1934
- "async": true,
1935
- "returns": "Promise<void>"
1936
- },
1937
- {
1938
- "name": "describe",
1939
- "async": true,
1940
- "params": [
1941
- "options?: AiOperationOptions"
1942
- ],
1943
- "returns": "any"
1944
- },
1945
- {
1946
- "name": "destroy",
1947
- "returns": "void"
1948
- },
1949
- {
1950
- "name": "do",
1951
- "async": true,
1952
- "params": [
1953
- "instructions: string",
1954
- "options?: AiOperationOptions"
1955
- ],
1956
- "returns": "any"
1957
- },
1958
- {
1959
- "name": "executeToolCall",
1960
- "async": true,
1961
- "params": [
1962
- "toolCall: ToolCall"
1963
- ],
1964
- "returns": "Promise<ToolCallResult>"
1965
- },
1966
- {
1967
- "name": "forget",
1968
- "async": true,
1969
- "params": [
1970
- "options: object"
1971
- ],
1972
- "returns": "Promise<void>"
1973
- },
1974
- {
1975
- "name": "forgetScope",
1976
- "async": true,
1977
- "params": [
1978
- "options: object"
1979
- ],
1980
- "returns": "Promise<number>"
1981
- },
1982
- {
1983
- "name": "generateEmbeddings",
1984
- "async": true,
1985
- "params": [
1986
- "options?: GenerateEmbeddingsOptions"
1987
- ],
1988
- "returns": "Promise<void>"
1989
- },
1990
- {
1991
- "name": "getAiUsageSnapshot",
1992
- "returns": "AiUsageSnapshot | undefined"
1993
- },
1994
- {
1995
- "name": "getAvailableTools",
1996
- "returns": "AITool[]"
1997
- },
1998
- {
1999
- "name": "getEmbedding",
2000
- "async": true,
2001
- "params": [
2002
- "fieldName: string",
2003
- "model?: string"
2004
- ],
2005
- "returns": "Promise<number[] | null>"
2006
- },
2007
- {
2008
- "name": "getFields",
2009
- "async": true,
2010
- "returns": "Promise<any>"
2011
- },
2012
- {
2013
- "name": "getId",
2014
- "async": true,
2015
- "returns": "any"
2016
- },
2017
- {
2018
- "name": "getRelated",
2019
- "async": true,
2020
- "params": [
2021
- "fieldName: string",
2022
- "opts?: LoadRelatedOptions"
2023
- ],
2024
- "returns": "Promise<any>"
2025
- },
2026
- {
2027
- "name": "getSavedId",
2028
- "async": true,
2029
- "returns": "any"
2030
- },
2031
- {
2032
- "name": "getSlug",
2033
- "async": true,
2034
- "returns": "any"
2035
- },
2036
- {
2037
- "name": "hasStaleEmbeddings",
2038
- "async": true,
2039
- "returns": "Promise<boolean>"
2040
- },
731
+ "collection": "socialposts",
732
+ "tableName": "social_posts",
733
+ "packageName": "@happyvertical/smrt-social",
734
+ "extends": "SmrtObject",
735
+ "fields": [
2041
736
  {
2042
- "name": "initialize",
2043
- "async": true,
2044
- "returns": "Promise"
737
+ "name": "created_at",
738
+ "type": "datetime",
739
+ "required": false,
740
+ "columnType": "TIMESTAMP"
2045
741
  },
2046
742
  {
2047
- "name": "is",
2048
- "async": true,
2049
- "params": [
2050
- "criteria: string",
2051
- "options?: AiOperationOptions"
2052
- ],
2053
- "returns": "any"
743
+ "name": "updated_at",
744
+ "type": "datetime",
745
+ "required": false,
746
+ "columnType": "TIMESTAMP"
2054
747
  },
2055
748
  {
2056
- "name": "isRelatedLoaded",
2057
- "params": [
2058
- "fieldName: string"
2059
- ],
2060
- "returns": "boolean"
749
+ "name": "tenantId",
750
+ "type": "text",
751
+ "required": false,
752
+ "columnType": "UUID"
2061
753
  },
2062
754
  {
2063
- "name": "isSaved",
2064
- "async": true,
2065
- "returns": "any"
755
+ "name": "socialAccountId",
756
+ "type": "foreignKey",
757
+ "required": false,
758
+ "related": "SocialAccount",
759
+ "columnType": "UUID"
2066
760
  },
2067
761
  {
2068
- "name": "listAiUsage",
2069
- "async": true,
2070
- "params": [
2071
- "options?: AiUsageListOptions"
2072
- ],
2073
- "returns": "Promise<SmrtAiUsageRecord[]>"
762
+ "name": "videoContentId",
763
+ "type": "crossPackageRef",
764
+ "required": false,
765
+ "related": "@happyvertical/smrt-video:VideoContent",
766
+ "columnType": "UUID"
2074
767
  },
2075
768
  {
2076
- "name": "loadDataFromDb",
2077
- "async": true,
2078
- "params": [
2079
- "data: Record<string>"
2080
- ],
2081
- "returns": "any"
769
+ "name": "contentId",
770
+ "type": "crossPackageRef",
771
+ "required": false,
772
+ "related": "@happyvertical/smrt-content:Content",
773
+ "columnType": "UUID"
2082
774
  },
2083
775
  {
2084
- "name": "loadFromId",
2085
- "async": true,
2086
- "returns": "any"
776
+ "name": "postType",
777
+ "type": "text",
778
+ "required": false,
779
+ "columnType": "TEXT",
780
+ "default": "text"
2087
781
  },
2088
782
  {
2089
- "name": "loadFromSlug",
2090
- "async": true,
2091
- "returns": "any"
783
+ "name": "mediaUrl",
784
+ "type": "text",
785
+ "required": false,
786
+ "columnType": "TEXT"
2092
787
  },
2093
788
  {
2094
- "name": "loadRelated",
2095
- "async": true,
2096
- "params": [
2097
- "fieldName: string",
2098
- "opts?: LoadRelatedOptions"
2099
- ],
2100
- "returns": "Promise<any>"
789
+ "name": "title",
790
+ "type": "text",
791
+ "required": false,
792
+ "columnType": "TEXT"
2101
793
  },
2102
794
  {
2103
- "name": "loadRelatedMany",
2104
- "async": true,
2105
- "params": [
2106
- "fieldName: string",
2107
- "opts?: LoadRelatedOptions"
2108
- ],
2109
- "returns": "Promise<any[]>"
795
+ "name": "description",
796
+ "type": "text",
797
+ "required": false,
798
+ "columnType": "TEXT",
799
+ "default": ""
2110
800
  },
2111
801
  {
2112
- "name": "markAsPersisted",
2113
- "returns": "void"
802
+ "name": "hashtags",
803
+ "type": "json",
804
+ "required": false,
805
+ "columnType": "JSON",
806
+ "default": []
2114
807
  },
2115
808
  {
2116
- "name": "recall",
2117
- "async": true,
2118
- "params": [
2119
- "options: object"
2120
- ],
2121
- "returns": "Promise"
809
+ "name": "linkUrl",
810
+ "type": "text",
811
+ "required": false,
812
+ "columnType": "TEXT"
2122
813
  },
2123
814
  {
2124
- "name": "recallAll",
2125
- "async": true,
2126
- "params": [
2127
- "options?: object"
2128
- ],
2129
- "returns": "Promise<Map<string>>"
815
+ "name": "platformPostId",
816
+ "type": "text",
817
+ "required": false,
818
+ "columnType": "TEXT"
2130
819
  },
2131
820
  {
2132
- "name": "remember",
2133
- "async": true,
2134
- "params": [
2135
- "options: object"
2136
- ],
2137
- "returns": "Promise<void>"
821
+ "name": "platformUrl",
822
+ "type": "text",
823
+ "required": false,
824
+ "columnType": "TEXT"
2138
825
  },
2139
826
  {
2140
- "name": "requireInsertOnSave",
2141
- "returns": "void"
827
+ "name": "scheduledAt",
828
+ "type": "datetime",
829
+ "required": false,
830
+ "columnType": "TIMESTAMP"
2142
831
  },
2143
832
  {
2144
- "name": "resetAiUsage",
2145
- "returns": "void"
833
+ "name": "publishedAt",
834
+ "type": "datetime",
835
+ "required": false,
836
+ "columnType": "TIMESTAMP"
2146
837
  },
2147
838
  {
2148
- "name": "save",
2149
- "async": true,
2150
- "params": [
2151
- "options?: SmrtSaveOptions"
2152
- ],
2153
- "returns": "any"
839
+ "name": "status",
840
+ "type": "text",
841
+ "required": false,
842
+ "columnType": "TEXT",
843
+ "default": "draft"
2154
844
  },
2155
845
  {
2156
- "name": "summarizeAiUsage",
2157
- "async": true,
2158
- "params": [
2159
- "options?: AiUsageSummaryOptions"
2160
- ],
2161
- "returns": "Promise<Record<string, AiUsageStats>>"
846
+ "name": "errorMessage",
847
+ "type": "text",
848
+ "required": false,
849
+ "columnType": "TEXT"
2162
850
  },
2163
851
  {
2164
- "name": "toJSON",
2165
- "returns": "any"
852
+ "name": "analytics",
853
+ "type": "json",
854
+ "required": false,
855
+ "columnType": "JSON"
2166
856
  },
2167
857
  {
2168
- "name": "toPlainObject",
2169
- "returns": "Record<string>"
2170
- },
858
+ "name": "analyticsLastSyncedAt",
859
+ "type": "datetime",
860
+ "required": false,
861
+ "columnType": "TIMESTAMP"
862
+ }
863
+ ],
864
+ "relationships": [
2171
865
  {
2172
- "name": "toPublicJSON",
2173
- "params": [
2174
- "options?: PublicJsonOptions"
2175
- ],
2176
- "returns": "Record<string>"
866
+ "name": "socialAccountId",
867
+ "type": "foreignKey",
868
+ "required": false,
869
+ "related": "SocialAccount",
870
+ "columnType": "UUID"
2177
871
  },
2178
872
  {
2179
- "name": "withDatabase",
2180
- "async": true,
2181
- "params": [
2182
- "db: DatabaseInterface",
2183
- "operation: Function"
2184
- ],
2185
- "returns": "Promise<T>"
873
+ "name": "videoContentId",
874
+ "type": "crossPackageRef",
875
+ "required": false,
876
+ "related": "@happyvertical/smrt-video:VideoContent",
877
+ "columnType": "UUID"
2186
878
  },
2187
879
  {
2188
- "name": "withTransaction",
2189
- "async": true,
2190
- "params": [
2191
- "operation: Function"
2192
- ],
2193
- "returns": "Promise<T>"
880
+ "name": "contentId",
881
+ "type": "crossPackageRef",
882
+ "required": false,
883
+ "related": "@happyvertical/smrt-content:Content",
884
+ "columnType": "UUID"
2194
885
  }
2195
886
  ],
887
+ "methods": [],
2196
888
  "tenant": {
2197
889
  "scoped": true,
2198
890
  "mode": "optional",
@@ -2337,7 +1029,68 @@
2337
1029
  "returns": "Promise<OAuthState[]>"
2338
1030
  }
2339
1031
  ],
2340
- "surfaces": [],
1032
+ "surfaces": [
1033
+ {
1034
+ "kind": "api",
1035
+ "name": "oauthstates.findByState",
1036
+ "operation": "findByState",
1037
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection",
1038
+ "path": "/oauthstates/findByState",
1039
+ "method": "POST"
1040
+ },
1041
+ {
1042
+ "kind": "api",
1043
+ "name": "oauthstates.findExpired",
1044
+ "operation": "findExpired",
1045
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection",
1046
+ "path": "/oauthstates/findExpired",
1047
+ "method": "POST"
1048
+ },
1049
+ {
1050
+ "kind": "api",
1051
+ "name": "oauthstates.deleteExpired",
1052
+ "operation": "deleteExpired",
1053
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection",
1054
+ "path": "/oauthstates/deleteExpired",
1055
+ "method": "POST"
1056
+ },
1057
+ {
1058
+ "kind": "cli",
1059
+ "name": "oauthstatecollection_findByState",
1060
+ "operation": "findByState",
1061
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection"
1062
+ },
1063
+ {
1064
+ "kind": "cli",
1065
+ "name": "oauthstatecollection_findExpired",
1066
+ "operation": "findExpired",
1067
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection"
1068
+ },
1069
+ {
1070
+ "kind": "cli",
1071
+ "name": "oauthstatecollection_deleteExpired",
1072
+ "operation": "deleteExpired",
1073
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection"
1074
+ },
1075
+ {
1076
+ "kind": "mcp",
1077
+ "name": "oauthstatecollection_findbystate",
1078
+ "operation": "findByState",
1079
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection"
1080
+ },
1081
+ {
1082
+ "kind": "mcp",
1083
+ "name": "oauthstatecollection_findexpired",
1084
+ "operation": "findExpired",
1085
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection"
1086
+ },
1087
+ {
1088
+ "kind": "mcp",
1089
+ "name": "oauthstatecollection_deleteexpired",
1090
+ "operation": "deleteExpired",
1091
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection"
1092
+ }
1093
+ ],
2341
1094
  "relationshipFeatures": [
2342
1095
  "uuidColumns"
2343
1096
  ],
@@ -2381,7 +1134,68 @@
2381
1134
  "returns": "Promise<SocialAccount[]>"
2382
1135
  }
2383
1136
  ],
2384
- "surfaces": [],
1137
+ "surfaces": [
1138
+ {
1139
+ "kind": "api",
1140
+ "name": "socialaccounts.findActive",
1141
+ "operation": "findActive",
1142
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection",
1143
+ "path": "/socialaccounts/findActive",
1144
+ "method": "POST"
1145
+ },
1146
+ {
1147
+ "kind": "api",
1148
+ "name": "socialaccounts.findReady",
1149
+ "operation": "findReady",
1150
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection",
1151
+ "path": "/socialaccounts/findReady",
1152
+ "method": "POST"
1153
+ },
1154
+ {
1155
+ "kind": "api",
1156
+ "name": "socialaccounts.findNeedsAttention",
1157
+ "operation": "findNeedsAttention",
1158
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection",
1159
+ "path": "/socialaccounts/findNeedsAttention",
1160
+ "method": "POST"
1161
+ },
1162
+ {
1163
+ "kind": "cli",
1164
+ "name": "socialaccountcollection_findActive",
1165
+ "operation": "findActive",
1166
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection"
1167
+ },
1168
+ {
1169
+ "kind": "cli",
1170
+ "name": "socialaccountcollection_findReady",
1171
+ "operation": "findReady",
1172
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection"
1173
+ },
1174
+ {
1175
+ "kind": "cli",
1176
+ "name": "socialaccountcollection_findNeedsAttention",
1177
+ "operation": "findNeedsAttention",
1178
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection"
1179
+ },
1180
+ {
1181
+ "kind": "mcp",
1182
+ "name": "socialaccountcollection_findactive",
1183
+ "operation": "findActive",
1184
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection"
1185
+ },
1186
+ {
1187
+ "kind": "mcp",
1188
+ "name": "socialaccountcollection_findready",
1189
+ "operation": "findReady",
1190
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection"
1191
+ },
1192
+ {
1193
+ "kind": "mcp",
1194
+ "name": "socialaccountcollection_findneedsattention",
1195
+ "operation": "findNeedsAttention",
1196
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection"
1197
+ }
1198
+ ],
2385
1199
  "relationshipFeatures": [
2386
1200
  "uuidColumns"
2387
1201
  ],
@@ -2428,7 +1242,68 @@
2428
1242
  "returns": "Promise<SocialPostAnalyticsSnapshot>"
2429
1243
  }
2430
1244
  ],
2431
- "surfaces": [],
1245
+ "surfaces": [
1246
+ {
1247
+ "kind": "api",
1248
+ "name": "socialpostanalyticssnapshots.recordSnapshot",
1249
+ "operation": "recordSnapshot",
1250
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection",
1251
+ "path": "/socialpostanalyticssnapshots/recordSnapshot",
1252
+ "method": "POST"
1253
+ },
1254
+ {
1255
+ "kind": "api",
1256
+ "name": "socialpostanalyticssnapshots.findForPost",
1257
+ "operation": "findForPost",
1258
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection",
1259
+ "path": "/socialpostanalyticssnapshots/findForPost",
1260
+ "method": "POST"
1261
+ },
1262
+ {
1263
+ "kind": "api",
1264
+ "name": "socialpostanalyticssnapshots.findLatestForPost",
1265
+ "operation": "findLatestForPost",
1266
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection",
1267
+ "path": "/socialpostanalyticssnapshots/findLatestForPost",
1268
+ "method": "POST"
1269
+ },
1270
+ {
1271
+ "kind": "cli",
1272
+ "name": "socialpostanalyticssnapshotcollection_recordSnapshot",
1273
+ "operation": "recordSnapshot",
1274
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection"
1275
+ },
1276
+ {
1277
+ "kind": "cli",
1278
+ "name": "socialpostanalyticssnapshotcollection_findForPost",
1279
+ "operation": "findForPost",
1280
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection"
1281
+ },
1282
+ {
1283
+ "kind": "cli",
1284
+ "name": "socialpostanalyticssnapshotcollection_findLatestForPost",
1285
+ "operation": "findLatestForPost",
1286
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection"
1287
+ },
1288
+ {
1289
+ "kind": "mcp",
1290
+ "name": "socialpostanalyticssnapshotcollection_recordsnapshot",
1291
+ "operation": "recordSnapshot",
1292
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection"
1293
+ },
1294
+ {
1295
+ "kind": "mcp",
1296
+ "name": "socialpostanalyticssnapshotcollection_findforpost",
1297
+ "operation": "findForPost",
1298
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection"
1299
+ },
1300
+ {
1301
+ "kind": "mcp",
1302
+ "name": "socialpostanalyticssnapshotcollection_findlatestforpost",
1303
+ "operation": "findLatestForPost",
1304
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection"
1305
+ }
1306
+ ],
2432
1307
  "relationshipFeatures": [
2433
1308
  "uuidColumns"
2434
1309
  ],
@@ -2515,7 +1390,148 @@
2515
1390
  "returns": "Promise<SocialPost>"
2516
1391
  }
2517
1392
  ],
2518
- "surfaces": [],
1393
+ "surfaces": [
1394
+ {
1395
+ "kind": "api",
1396
+ "name": "socialposts.createDraft",
1397
+ "operation": "createDraft",
1398
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
1399
+ "path": "/socialposts/createDraft",
1400
+ "method": "POST"
1401
+ },
1402
+ {
1403
+ "kind": "api",
1404
+ "name": "socialposts.findByStatus",
1405
+ "operation": "findByStatus",
1406
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
1407
+ "path": "/socialposts/findByStatus",
1408
+ "method": "POST"
1409
+ },
1410
+ {
1411
+ "kind": "api",
1412
+ "name": "socialposts.findForAccount",
1413
+ "operation": "findForAccount",
1414
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
1415
+ "path": "/socialposts/findForAccount",
1416
+ "method": "POST"
1417
+ },
1418
+ {
1419
+ "kind": "api",
1420
+ "name": "socialposts.findDueForPublish",
1421
+ "operation": "findDueForPublish",
1422
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
1423
+ "path": "/socialposts/findDueForPublish",
1424
+ "method": "POST"
1425
+ },
1426
+ {
1427
+ "kind": "api",
1428
+ "name": "socialposts.recordPublishSuccess",
1429
+ "operation": "recordPublishSuccess",
1430
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
1431
+ "path": "/socialposts/recordPublishSuccess",
1432
+ "method": "POST"
1433
+ },
1434
+ {
1435
+ "kind": "api",
1436
+ "name": "socialposts.recordPublishFailure",
1437
+ "operation": "recordPublishFailure",
1438
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
1439
+ "path": "/socialposts/recordPublishFailure",
1440
+ "method": "POST"
1441
+ },
1442
+ {
1443
+ "kind": "api",
1444
+ "name": "socialposts.updateLatestAnalytics",
1445
+ "operation": "updateLatestAnalytics",
1446
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
1447
+ "path": "/socialposts/updateLatestAnalytics",
1448
+ "method": "POST"
1449
+ },
1450
+ {
1451
+ "kind": "cli",
1452
+ "name": "socialpostcollection_createDraft",
1453
+ "operation": "createDraft",
1454
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1455
+ },
1456
+ {
1457
+ "kind": "cli",
1458
+ "name": "socialpostcollection_findByStatus",
1459
+ "operation": "findByStatus",
1460
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1461
+ },
1462
+ {
1463
+ "kind": "cli",
1464
+ "name": "socialpostcollection_findForAccount",
1465
+ "operation": "findForAccount",
1466
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1467
+ },
1468
+ {
1469
+ "kind": "cli",
1470
+ "name": "socialpostcollection_findDueForPublish",
1471
+ "operation": "findDueForPublish",
1472
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1473
+ },
1474
+ {
1475
+ "kind": "cli",
1476
+ "name": "socialpostcollection_recordPublishSuccess",
1477
+ "operation": "recordPublishSuccess",
1478
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1479
+ },
1480
+ {
1481
+ "kind": "cli",
1482
+ "name": "socialpostcollection_recordPublishFailure",
1483
+ "operation": "recordPublishFailure",
1484
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1485
+ },
1486
+ {
1487
+ "kind": "cli",
1488
+ "name": "socialpostcollection_updateLatestAnalytics",
1489
+ "operation": "updateLatestAnalytics",
1490
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1491
+ },
1492
+ {
1493
+ "kind": "mcp",
1494
+ "name": "socialpostcollection_createdraft",
1495
+ "operation": "createDraft",
1496
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1497
+ },
1498
+ {
1499
+ "kind": "mcp",
1500
+ "name": "socialpostcollection_findbystatus",
1501
+ "operation": "findByStatus",
1502
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1503
+ },
1504
+ {
1505
+ "kind": "mcp",
1506
+ "name": "socialpostcollection_findforaccount",
1507
+ "operation": "findForAccount",
1508
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1509
+ },
1510
+ {
1511
+ "kind": "mcp",
1512
+ "name": "socialpostcollection_finddueforpublish",
1513
+ "operation": "findDueForPublish",
1514
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1515
+ },
1516
+ {
1517
+ "kind": "mcp",
1518
+ "name": "socialpostcollection_recordpublishsuccess",
1519
+ "operation": "recordPublishSuccess",
1520
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1521
+ },
1522
+ {
1523
+ "kind": "mcp",
1524
+ "name": "socialpostcollection_recordpublishfailure",
1525
+ "operation": "recordPublishFailure",
1526
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1527
+ },
1528
+ {
1529
+ "kind": "mcp",
1530
+ "name": "socialpostcollection_updatelatestanalytics",
1531
+ "operation": "updateLatestAnalytics",
1532
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
1533
+ }
1534
+ ],
2519
1535
  "relationshipFeatures": [
2520
1536
  "uuidColumns"
2521
1537
  ],
@@ -2586,6 +1602,30 @@
2586
1602
  "operation": "delete",
2587
1603
  "objectName": "@happyvertical/smrt-social:OAuthState"
2588
1604
  },
1605
+ {
1606
+ "kind": "cli",
1607
+ "name": "oauthstate_verifyState",
1608
+ "operation": "verifyState",
1609
+ "objectName": "@happyvertical/smrt-social:OAuthState"
1610
+ },
1611
+ {
1612
+ "kind": "cli",
1613
+ "name": "oauthstate_generateState",
1614
+ "operation": "generateState",
1615
+ "objectName": "@happyvertical/smrt-social:OAuthState"
1616
+ },
1617
+ {
1618
+ "kind": "cli",
1619
+ "name": "oauthstate_generateCodeVerifier",
1620
+ "operation": "generateCodeVerifier",
1621
+ "objectName": "@happyvertical/smrt-social:OAuthState"
1622
+ },
1623
+ {
1624
+ "kind": "cli",
1625
+ "name": "oauthstate_generateCodeChallenge",
1626
+ "operation": "generateCodeChallenge",
1627
+ "objectName": "@happyvertical/smrt-social:OAuthState"
1628
+ },
2589
1629
  {
2590
1630
  "kind": "api",
2591
1631
  "name": "socialaccounts.list",
@@ -2656,6 +1696,18 @@
2656
1696
  "operation": "delete",
2657
1697
  "objectName": "@happyvertical/smrt-social:SocialAccount"
2658
1698
  },
1699
+ {
1700
+ "kind": "cli",
1701
+ "name": "socialaccount_setCredentials",
1702
+ "operation": "setCredentials",
1703
+ "objectName": "@happyvertical/smrt-social:SocialAccount"
1704
+ },
1705
+ {
1706
+ "kind": "cli",
1707
+ "name": "socialaccount_getCredentials",
1708
+ "operation": "getCredentials",
1709
+ "objectName": "@happyvertical/smrt-social:SocialAccount"
1710
+ },
2659
1711
  {
2660
1712
  "kind": "mcp",
2661
1713
  "name": "socialaccount_list",
@@ -2823,6 +1875,326 @@
2823
1875
  "name": "socialpost_get",
2824
1876
  "operation": "get",
2825
1877
  "objectName": "@happyvertical/smrt-social:SocialPost"
1878
+ },
1879
+ {
1880
+ "kind": "api",
1881
+ "name": "oauthstates.findByState",
1882
+ "operation": "findByState",
1883
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection",
1884
+ "path": "/oauthstates/findByState",
1885
+ "method": "POST"
1886
+ },
1887
+ {
1888
+ "kind": "api",
1889
+ "name": "oauthstates.findExpired",
1890
+ "operation": "findExpired",
1891
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection",
1892
+ "path": "/oauthstates/findExpired",
1893
+ "method": "POST"
1894
+ },
1895
+ {
1896
+ "kind": "api",
1897
+ "name": "oauthstates.deleteExpired",
1898
+ "operation": "deleteExpired",
1899
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection",
1900
+ "path": "/oauthstates/deleteExpired",
1901
+ "method": "POST"
1902
+ },
1903
+ {
1904
+ "kind": "cli",
1905
+ "name": "oauthstatecollection_findByState",
1906
+ "operation": "findByState",
1907
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection"
1908
+ },
1909
+ {
1910
+ "kind": "cli",
1911
+ "name": "oauthstatecollection_findExpired",
1912
+ "operation": "findExpired",
1913
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection"
1914
+ },
1915
+ {
1916
+ "kind": "cli",
1917
+ "name": "oauthstatecollection_deleteExpired",
1918
+ "operation": "deleteExpired",
1919
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection"
1920
+ },
1921
+ {
1922
+ "kind": "mcp",
1923
+ "name": "oauthstatecollection_findbystate",
1924
+ "operation": "findByState",
1925
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection"
1926
+ },
1927
+ {
1928
+ "kind": "mcp",
1929
+ "name": "oauthstatecollection_findexpired",
1930
+ "operation": "findExpired",
1931
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection"
1932
+ },
1933
+ {
1934
+ "kind": "mcp",
1935
+ "name": "oauthstatecollection_deleteexpired",
1936
+ "operation": "deleteExpired",
1937
+ "objectName": "@happyvertical/smrt-social:OAuthStateCollection"
1938
+ },
1939
+ {
1940
+ "kind": "api",
1941
+ "name": "socialaccounts.findActive",
1942
+ "operation": "findActive",
1943
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection",
1944
+ "path": "/socialaccounts/findActive",
1945
+ "method": "POST"
1946
+ },
1947
+ {
1948
+ "kind": "api",
1949
+ "name": "socialaccounts.findReady",
1950
+ "operation": "findReady",
1951
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection",
1952
+ "path": "/socialaccounts/findReady",
1953
+ "method": "POST"
1954
+ },
1955
+ {
1956
+ "kind": "api",
1957
+ "name": "socialaccounts.findNeedsAttention",
1958
+ "operation": "findNeedsAttention",
1959
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection",
1960
+ "path": "/socialaccounts/findNeedsAttention",
1961
+ "method": "POST"
1962
+ },
1963
+ {
1964
+ "kind": "cli",
1965
+ "name": "socialaccountcollection_findActive",
1966
+ "operation": "findActive",
1967
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection"
1968
+ },
1969
+ {
1970
+ "kind": "cli",
1971
+ "name": "socialaccountcollection_findReady",
1972
+ "operation": "findReady",
1973
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection"
1974
+ },
1975
+ {
1976
+ "kind": "cli",
1977
+ "name": "socialaccountcollection_findNeedsAttention",
1978
+ "operation": "findNeedsAttention",
1979
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection"
1980
+ },
1981
+ {
1982
+ "kind": "mcp",
1983
+ "name": "socialaccountcollection_findactive",
1984
+ "operation": "findActive",
1985
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection"
1986
+ },
1987
+ {
1988
+ "kind": "mcp",
1989
+ "name": "socialaccountcollection_findready",
1990
+ "operation": "findReady",
1991
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection"
1992
+ },
1993
+ {
1994
+ "kind": "mcp",
1995
+ "name": "socialaccountcollection_findneedsattention",
1996
+ "operation": "findNeedsAttention",
1997
+ "objectName": "@happyvertical/smrt-social:SocialAccountCollection"
1998
+ },
1999
+ {
2000
+ "kind": "api",
2001
+ "name": "socialpostanalyticssnapshots.recordSnapshot",
2002
+ "operation": "recordSnapshot",
2003
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection",
2004
+ "path": "/socialpostanalyticssnapshots/recordSnapshot",
2005
+ "method": "POST"
2006
+ },
2007
+ {
2008
+ "kind": "api",
2009
+ "name": "socialpostanalyticssnapshots.findForPost",
2010
+ "operation": "findForPost",
2011
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection",
2012
+ "path": "/socialpostanalyticssnapshots/findForPost",
2013
+ "method": "POST"
2014
+ },
2015
+ {
2016
+ "kind": "api",
2017
+ "name": "socialpostanalyticssnapshots.findLatestForPost",
2018
+ "operation": "findLatestForPost",
2019
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection",
2020
+ "path": "/socialpostanalyticssnapshots/findLatestForPost",
2021
+ "method": "POST"
2022
+ },
2023
+ {
2024
+ "kind": "cli",
2025
+ "name": "socialpostanalyticssnapshotcollection_recordSnapshot",
2026
+ "operation": "recordSnapshot",
2027
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection"
2028
+ },
2029
+ {
2030
+ "kind": "cli",
2031
+ "name": "socialpostanalyticssnapshotcollection_findForPost",
2032
+ "operation": "findForPost",
2033
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection"
2034
+ },
2035
+ {
2036
+ "kind": "cli",
2037
+ "name": "socialpostanalyticssnapshotcollection_findLatestForPost",
2038
+ "operation": "findLatestForPost",
2039
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection"
2040
+ },
2041
+ {
2042
+ "kind": "mcp",
2043
+ "name": "socialpostanalyticssnapshotcollection_recordsnapshot",
2044
+ "operation": "recordSnapshot",
2045
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection"
2046
+ },
2047
+ {
2048
+ "kind": "mcp",
2049
+ "name": "socialpostanalyticssnapshotcollection_findforpost",
2050
+ "operation": "findForPost",
2051
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection"
2052
+ },
2053
+ {
2054
+ "kind": "mcp",
2055
+ "name": "socialpostanalyticssnapshotcollection_findlatestforpost",
2056
+ "operation": "findLatestForPost",
2057
+ "objectName": "@happyvertical/smrt-social:SocialPostAnalyticsSnapshotCollection"
2058
+ },
2059
+ {
2060
+ "kind": "api",
2061
+ "name": "socialposts.createDraft",
2062
+ "operation": "createDraft",
2063
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
2064
+ "path": "/socialposts/createDraft",
2065
+ "method": "POST"
2066
+ },
2067
+ {
2068
+ "kind": "api",
2069
+ "name": "socialposts.findByStatus",
2070
+ "operation": "findByStatus",
2071
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
2072
+ "path": "/socialposts/findByStatus",
2073
+ "method": "POST"
2074
+ },
2075
+ {
2076
+ "kind": "api",
2077
+ "name": "socialposts.findForAccount",
2078
+ "operation": "findForAccount",
2079
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
2080
+ "path": "/socialposts/findForAccount",
2081
+ "method": "POST"
2082
+ },
2083
+ {
2084
+ "kind": "api",
2085
+ "name": "socialposts.findDueForPublish",
2086
+ "operation": "findDueForPublish",
2087
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
2088
+ "path": "/socialposts/findDueForPublish",
2089
+ "method": "POST"
2090
+ },
2091
+ {
2092
+ "kind": "api",
2093
+ "name": "socialposts.recordPublishSuccess",
2094
+ "operation": "recordPublishSuccess",
2095
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
2096
+ "path": "/socialposts/recordPublishSuccess",
2097
+ "method": "POST"
2098
+ },
2099
+ {
2100
+ "kind": "api",
2101
+ "name": "socialposts.recordPublishFailure",
2102
+ "operation": "recordPublishFailure",
2103
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
2104
+ "path": "/socialposts/recordPublishFailure",
2105
+ "method": "POST"
2106
+ },
2107
+ {
2108
+ "kind": "api",
2109
+ "name": "socialposts.updateLatestAnalytics",
2110
+ "operation": "updateLatestAnalytics",
2111
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection",
2112
+ "path": "/socialposts/updateLatestAnalytics",
2113
+ "method": "POST"
2114
+ },
2115
+ {
2116
+ "kind": "cli",
2117
+ "name": "socialpostcollection_createDraft",
2118
+ "operation": "createDraft",
2119
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2120
+ },
2121
+ {
2122
+ "kind": "cli",
2123
+ "name": "socialpostcollection_findByStatus",
2124
+ "operation": "findByStatus",
2125
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2126
+ },
2127
+ {
2128
+ "kind": "cli",
2129
+ "name": "socialpostcollection_findForAccount",
2130
+ "operation": "findForAccount",
2131
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2132
+ },
2133
+ {
2134
+ "kind": "cli",
2135
+ "name": "socialpostcollection_findDueForPublish",
2136
+ "operation": "findDueForPublish",
2137
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2138
+ },
2139
+ {
2140
+ "kind": "cli",
2141
+ "name": "socialpostcollection_recordPublishSuccess",
2142
+ "operation": "recordPublishSuccess",
2143
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2144
+ },
2145
+ {
2146
+ "kind": "cli",
2147
+ "name": "socialpostcollection_recordPublishFailure",
2148
+ "operation": "recordPublishFailure",
2149
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2150
+ },
2151
+ {
2152
+ "kind": "cli",
2153
+ "name": "socialpostcollection_updateLatestAnalytics",
2154
+ "operation": "updateLatestAnalytics",
2155
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2156
+ },
2157
+ {
2158
+ "kind": "mcp",
2159
+ "name": "socialpostcollection_createdraft",
2160
+ "operation": "createDraft",
2161
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2162
+ },
2163
+ {
2164
+ "kind": "mcp",
2165
+ "name": "socialpostcollection_findbystatus",
2166
+ "operation": "findByStatus",
2167
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2168
+ },
2169
+ {
2170
+ "kind": "mcp",
2171
+ "name": "socialpostcollection_findforaccount",
2172
+ "operation": "findForAccount",
2173
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2174
+ },
2175
+ {
2176
+ "kind": "mcp",
2177
+ "name": "socialpostcollection_finddueforpublish",
2178
+ "operation": "findDueForPublish",
2179
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2180
+ },
2181
+ {
2182
+ "kind": "mcp",
2183
+ "name": "socialpostcollection_recordpublishsuccess",
2184
+ "operation": "recordPublishSuccess",
2185
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2186
+ },
2187
+ {
2188
+ "kind": "mcp",
2189
+ "name": "socialpostcollection_recordpublishfailure",
2190
+ "operation": "recordPublishFailure",
2191
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2192
+ },
2193
+ {
2194
+ "kind": "mcp",
2195
+ "name": "socialpostcollection_updatelatestanalytics",
2196
+ "operation": "updateLatestAnalytics",
2197
+ "objectName": "@happyvertical/smrt-social:SocialPostCollection"
2826
2198
  }
2827
2199
  ],
2828
2200
  "prompts": [],