@happyvertical/smrt-social 0.44.1 → 0.45.0

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