@apteva/integrations 0.3.59 → 0.3.61
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.
- package/package.json +1 -1
- package/src/apps/gigs-marketplace.json +34 -245
- package/src/apps/socialcast.json +0 -174
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apteva/integrations",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.61",
|
|
4
4
|
"description": "Local integrations, connections, and webhooks for Apteva. Self-contained app templates, OAuth engine, and trigger provider.",
|
|
5
5
|
"author": "Apteva <hello@apteva.com>",
|
|
6
6
|
"license": "Elastic-2.0",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"name": "get_gig_details",
|
|
141
141
|
"description": "Get detailed information about a specific gig",
|
|
142
142
|
"method": "GET",
|
|
143
|
-
"path": "/gigs
|
|
143
|
+
"path": "/gigs/{id}",
|
|
144
144
|
"input_schema": {
|
|
145
145
|
"type": "object",
|
|
146
146
|
"properties": {
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"name": "assign_gig",
|
|
159
159
|
"description": "Assign a gig to a worker (client only)",
|
|
160
160
|
"method": "POST",
|
|
161
|
-
"path": "/gigs
|
|
161
|
+
"path": "/gigs/{id}/assign",
|
|
162
162
|
"input_schema": {
|
|
163
163
|
"type": "object",
|
|
164
164
|
"properties": {
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"name": "update_gig_status",
|
|
186
186
|
"description": "Update the status of a gig",
|
|
187
187
|
"method": "PUT",
|
|
188
|
-
"path": "/gigs
|
|
188
|
+
"path": "/gigs/{id}/status",
|
|
189
189
|
"input_schema": {
|
|
190
190
|
"type": "object",
|
|
191
191
|
"properties": {
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
"name": "update_gig",
|
|
221
221
|
"description": "Update gig details such as title, description, budget, deadline, or priority",
|
|
222
222
|
"method": "PUT",
|
|
223
|
-
"path": "/gigs
|
|
223
|
+
"path": "/gigs/{id}",
|
|
224
224
|
"input_schema": {
|
|
225
225
|
"type": "object",
|
|
226
226
|
"properties": {
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
"name": "cancel_gig",
|
|
266
266
|
"description": "Cancel a gig (client only)",
|
|
267
267
|
"method": "DELETE",
|
|
268
|
-
"path": "/gigs
|
|
268
|
+
"path": "/gigs/{id}",
|
|
269
269
|
"input_schema": {
|
|
270
270
|
"type": "object",
|
|
271
271
|
"properties": {
|
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
"name": "apply_template_to_gig",
|
|
510
510
|
"description": "Apply a template's instructions to a gig",
|
|
511
511
|
"method": "POST",
|
|
512
|
-
"path": "/gigs
|
|
512
|
+
"path": "/gigs/{id}/apply-template",
|
|
513
513
|
"input_schema": {
|
|
514
514
|
"type": "object",
|
|
515
515
|
"properties": {
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
"name": "add_instruction_to_gig",
|
|
537
537
|
"description": "Add an instruction from the instruction library to a gig. Use 'List Instructions' or 'Search Instructions' to find the library instruction_id.",
|
|
538
538
|
"method": "POST",
|
|
539
|
-
"path": "/gigs
|
|
539
|
+
"path": "/gigs/{id}/instructions",
|
|
540
540
|
"input_schema": {
|
|
541
541
|
"type": "object",
|
|
542
542
|
"properties": {
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
"name": "get_gig_instructions",
|
|
572
572
|
"description": "Get all instructions attached to a gig. Returns gig_instructions records with their 'id' (needed for remove/complete/customize/reset operations), instruction details, completion status, and submitted files.",
|
|
573
573
|
"method": "GET",
|
|
574
|
-
"path": "/gigs
|
|
574
|
+
"path": "/gigs/{id}/instructions",
|
|
575
575
|
"input_schema": {
|
|
576
576
|
"type": "object",
|
|
577
577
|
"properties": {
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
"name": "mark_instruction_complete",
|
|
590
590
|
"description": "Mark a gig instruction as completed. Use 'Get Gig Instructions' first to find the gig_instructions record ID.",
|
|
591
591
|
"method": "PUT",
|
|
592
|
-
"path": "/gigs
|
|
592
|
+
"path": "/gigs/{id}/instructions/{instructionId}/complete",
|
|
593
593
|
"input_schema": {
|
|
594
594
|
"type": "object",
|
|
595
595
|
"properties": {
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
"name": "submit_work",
|
|
617
617
|
"description": "Submit work files for a gig",
|
|
618
618
|
"method": "POST",
|
|
619
|
-
"path": "/gigs
|
|
619
|
+
"path": "/gigs/{id}/submissions",
|
|
620
620
|
"input_schema": {
|
|
621
621
|
"type": "object",
|
|
622
622
|
"properties": {
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
"name": "get_submissions",
|
|
661
661
|
"description": "Get all submissions for a gig",
|
|
662
662
|
"method": "GET",
|
|
663
|
-
"path": "/gigs
|
|
663
|
+
"path": "/gigs/{id}/submissions",
|
|
664
664
|
"input_schema": {
|
|
665
665
|
"type": "object",
|
|
666
666
|
"properties": {
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
"name": "review_submission",
|
|
679
679
|
"description": "Review and approve/reject a work submission (client only)",
|
|
680
680
|
"method": "POST",
|
|
681
|
-
"path": "/gigs
|
|
681
|
+
"path": "/gigs/{id}/submissions/{submissionId}/review",
|
|
682
682
|
"input_schema": {
|
|
683
683
|
"type": "object",
|
|
684
684
|
"properties": {
|
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
"name": "request_revision",
|
|
720
720
|
"description": "Request changes to a work submission",
|
|
721
721
|
"method": "POST",
|
|
722
|
-
"path": "/gigs
|
|
722
|
+
"path": "/gigs/{id}/submissions/{submissionId}/revision",
|
|
723
723
|
"input_schema": {
|
|
724
724
|
"type": "object",
|
|
725
725
|
"properties": {
|
|
@@ -751,7 +751,7 @@
|
|
|
751
751
|
"name": "get_gig_activity",
|
|
752
752
|
"description": "Get activity log/history for a gig",
|
|
753
753
|
"method": "GET",
|
|
754
|
-
"path": "/gigs
|
|
754
|
+
"path": "/gigs/{id}/activity",
|
|
755
755
|
"input_schema": {
|
|
756
756
|
"type": "object",
|
|
757
757
|
"properties": {
|
|
@@ -765,49 +765,11 @@
|
|
|
765
765
|
]
|
|
766
766
|
}
|
|
767
767
|
},
|
|
768
|
-
{
|
|
769
|
-
"name": "list_users",
|
|
770
|
-
"description": "List available workers and clients in the system with optional role and project filtering",
|
|
771
|
-
"method": "GET",
|
|
772
|
-
"path": "/users",
|
|
773
|
-
"input_schema": {
|
|
774
|
-
"type": "object",
|
|
775
|
-
"properties": {
|
|
776
|
-
"role": {
|
|
777
|
-
"type": "string",
|
|
778
|
-
"description": "Filter by user role",
|
|
779
|
-
"enum": [
|
|
780
|
-
"all",
|
|
781
|
-
"worker",
|
|
782
|
-
"client"
|
|
783
|
-
],
|
|
784
|
-
"default": "all"
|
|
785
|
-
},
|
|
786
|
-
"project_id": {
|
|
787
|
-
"type": "integer",
|
|
788
|
-
"description": "Filter by project ID"
|
|
789
|
-
},
|
|
790
|
-
"limit": {
|
|
791
|
-
"type": "integer",
|
|
792
|
-
"description": "Number of users to return",
|
|
793
|
-
"default": 50,
|
|
794
|
-
"minimum": 1,
|
|
795
|
-
"maximum": 100
|
|
796
|
-
},
|
|
797
|
-
"offset": {
|
|
798
|
-
"type": "integer",
|
|
799
|
-
"description": "Pagination offset",
|
|
800
|
-
"default": 0,
|
|
801
|
-
"minimum": 0
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
768
|
{
|
|
807
769
|
"name": "get_instruction",
|
|
808
770
|
"description": "Get a single instruction from the library by ID",
|
|
809
771
|
"method": "GET",
|
|
810
|
-
"path": "/instructions
|
|
772
|
+
"path": "/instructions/{id}",
|
|
811
773
|
"input_schema": {
|
|
812
774
|
"type": "object",
|
|
813
775
|
"properties": {
|
|
@@ -829,7 +791,7 @@
|
|
|
829
791
|
"name": "update_instruction",
|
|
830
792
|
"description": "Update an instruction's content, media, or settings",
|
|
831
793
|
"method": "PUT",
|
|
832
|
-
"path": "/instructions
|
|
794
|
+
"path": "/instructions/{id}",
|
|
833
795
|
"input_schema": {
|
|
834
796
|
"type": "object",
|
|
835
797
|
"properties": {
|
|
@@ -893,7 +855,7 @@
|
|
|
893
855
|
"name": "delete_instruction",
|
|
894
856
|
"description": "Delete an instruction from the library",
|
|
895
857
|
"method": "DELETE",
|
|
896
|
-
"path": "/instructions
|
|
858
|
+
"path": "/instructions/{id}",
|
|
897
859
|
"input_schema": {
|
|
898
860
|
"type": "object",
|
|
899
861
|
"properties": {
|
|
@@ -915,7 +877,7 @@
|
|
|
915
877
|
"name": "get_template",
|
|
916
878
|
"description": "Get a template with its instructions",
|
|
917
879
|
"method": "GET",
|
|
918
|
-
"path": "/templates
|
|
880
|
+
"path": "/templates/{id}",
|
|
919
881
|
"input_schema": {
|
|
920
882
|
"type": "object",
|
|
921
883
|
"properties": {
|
|
@@ -937,7 +899,7 @@
|
|
|
937
899
|
"name": "update_template",
|
|
938
900
|
"description": "Update a gig template's name, description, or settings",
|
|
939
901
|
"method": "PUT",
|
|
940
|
-
"path": "/
|
|
902
|
+
"path": "/templates/{id}",
|
|
941
903
|
"input_schema": {
|
|
942
904
|
"type": "object",
|
|
943
905
|
"properties": {
|
|
@@ -975,7 +937,7 @@
|
|
|
975
937
|
"name": "delete_template",
|
|
976
938
|
"description": "Delete a gig template",
|
|
977
939
|
"method": "DELETE",
|
|
978
|
-
"path": "/gigs/templates
|
|
940
|
+
"path": "/gigs/templates/{id}",
|
|
979
941
|
"input_schema": {
|
|
980
942
|
"type": "object",
|
|
981
943
|
"properties": {
|
|
@@ -997,7 +959,7 @@
|
|
|
997
959
|
"name": "clone_template",
|
|
998
960
|
"description": "Create a copy of a template for customization",
|
|
999
961
|
"method": "POST",
|
|
1000
|
-
"path": "/gigs/templates
|
|
962
|
+
"path": "/gigs/templates/{id}/clone",
|
|
1001
963
|
"input_schema": {
|
|
1002
964
|
"type": "object",
|
|
1003
965
|
"properties": {
|
|
@@ -1024,7 +986,7 @@
|
|
|
1024
986
|
"name": "add_instruction_to_template",
|
|
1025
987
|
"description": "Add an instruction from the library to a template",
|
|
1026
988
|
"method": "POST",
|
|
1027
|
-
"path": "/templates
|
|
989
|
+
"path": "/templates/{id}/instructions",
|
|
1028
990
|
"input_schema": {
|
|
1029
991
|
"type": "object",
|
|
1030
992
|
"properties": {
|
|
@@ -1061,7 +1023,7 @@
|
|
|
1061
1023
|
"name": "remove_instruction_from_template",
|
|
1062
1024
|
"description": "Remove an instruction from a template",
|
|
1063
1025
|
"method": "DELETE",
|
|
1064
|
-
"path": "/templates
|
|
1026
|
+
"path": "/templates/{id}/instructions/{instructionId}",
|
|
1065
1027
|
"input_schema": {
|
|
1066
1028
|
"type": "object",
|
|
1067
1029
|
"properties": {
|
|
@@ -1088,7 +1050,7 @@
|
|
|
1088
1050
|
"name": "reorder_template_instructions",
|
|
1089
1051
|
"description": "Reorder the instructions within a template",
|
|
1090
1052
|
"method": "PUT",
|
|
1091
|
-
"path": "/gigs/templates
|
|
1053
|
+
"path": "/gigs/templates/{id}/instructions/reorder",
|
|
1092
1054
|
"input_schema": {
|
|
1093
1055
|
"type": "object",
|
|
1094
1056
|
"properties": {
|
|
@@ -1126,17 +1088,17 @@
|
|
|
1126
1088
|
"name": "update_template_instruction",
|
|
1127
1089
|
"description": "Update settings for an instruction within a template (e.g., required status)",
|
|
1128
1090
|
"method": "PUT",
|
|
1129
|
-
"path": "/
|
|
1091
|
+
"path": "/templates/{id}/instructions/{instructionId}",
|
|
1130
1092
|
"input_schema": {
|
|
1131
1093
|
"type": "object",
|
|
1132
1094
|
"properties": {
|
|
1133
1095
|
"id": {
|
|
1134
1096
|
"type": "integer",
|
|
1135
|
-
"description": "Template
|
|
1097
|
+
"description": "Template ID"
|
|
1136
1098
|
},
|
|
1137
|
-
"
|
|
1099
|
+
"instructionId": {
|
|
1138
1100
|
"type": "integer",
|
|
1139
|
-
"description": "Template ID"
|
|
1101
|
+
"description": "Template instruction record ID"
|
|
1140
1102
|
},
|
|
1141
1103
|
"is_required": {
|
|
1142
1104
|
"type": "boolean",
|
|
@@ -1149,7 +1111,7 @@
|
|
|
1149
1111
|
},
|
|
1150
1112
|
"required": [
|
|
1151
1113
|
"id",
|
|
1152
|
-
"
|
|
1114
|
+
"instructionId",
|
|
1153
1115
|
"is_required"
|
|
1154
1116
|
]
|
|
1155
1117
|
}
|
|
@@ -1158,7 +1120,7 @@
|
|
|
1158
1120
|
"name": "remove_gig_instruction",
|
|
1159
1121
|
"description": "Remove an instruction from a gig. Use 'Get Gig Instructions' first to find the gig_instructions record ID for the instruction you want to remove.",
|
|
1160
1122
|
"method": "DELETE",
|
|
1161
|
-
"path": "/gigs
|
|
1123
|
+
"path": "/gigs/{id}/instructions/{instructionId}",
|
|
1162
1124
|
"input_schema": {
|
|
1163
1125
|
"type": "object",
|
|
1164
1126
|
"properties": {
|
|
@@ -1181,7 +1143,7 @@
|
|
|
1181
1143
|
"name": "customize_gig_instruction",
|
|
1182
1144
|
"description": "Customize an instruction for a specific gig with custom content or media. Use 'Get Gig Instructions' first to find the gig_instructions record ID.",
|
|
1183
1145
|
"method": "PUT",
|
|
1184
|
-
"path": "/gigs
|
|
1146
|
+
"path": "/gigs/{id}/instructions/{instructionId}",
|
|
1185
1147
|
"input_schema": {
|
|
1186
1148
|
"type": "object",
|
|
1187
1149
|
"properties": {
|
|
@@ -1255,7 +1217,7 @@
|
|
|
1255
1217
|
"name": "delete_submission",
|
|
1256
1218
|
"description": "Delete a work submission from a gig",
|
|
1257
1219
|
"method": "DELETE",
|
|
1258
|
-
"path": "/gigs
|
|
1220
|
+
"path": "/gigs/{id}/submissions/{submissionId}",
|
|
1259
1221
|
"input_schema": {
|
|
1260
1222
|
"type": "object",
|
|
1261
1223
|
"properties": {
|
|
@@ -1282,7 +1244,7 @@
|
|
|
1282
1244
|
"name": "complete_gig",
|
|
1283
1245
|
"description": "Complete a gig by verifying all required instructions are done, creating a submissions folder, moving files, and updating status to completed",
|
|
1284
1246
|
"method": "POST",
|
|
1285
|
-
"path": "/gigs
|
|
1247
|
+
"path": "/gigs/{id}/complete",
|
|
1286
1248
|
"input_schema": {
|
|
1287
1249
|
"type": "object",
|
|
1288
1250
|
"properties": {
|
|
@@ -1305,7 +1267,7 @@
|
|
|
1305
1267
|
"name": "reset_instruction_status",
|
|
1306
1268
|
"description": "Reset a gig instruction to not completed, clearing all submission data and files. Use 'Get Gig Instructions' first to find the gig_instructions record ID.",
|
|
1307
1269
|
"method": "PUT",
|
|
1308
|
-
"path": "/gigs
|
|
1270
|
+
"path": "/gigs/{id}/instructions/{instructionId}/reset",
|
|
1309
1271
|
"input_schema": {
|
|
1310
1272
|
"type": "object",
|
|
1311
1273
|
"properties": {
|
|
@@ -1323,179 +1285,6 @@
|
|
|
1323
1285
|
"instructionId"
|
|
1324
1286
|
]
|
|
1325
1287
|
}
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"name": "create_user",
|
|
1329
|
-
"description": "Register a new user (model) in the gigs platform. Creates a user account and automatically creates a matching contact record for storing phone, notes, and other contact details.",
|
|
1330
|
-
"method": "POST",
|
|
1331
|
-
"path": "/users",
|
|
1332
|
-
"input_schema": {
|
|
1333
|
-
"type": "object",
|
|
1334
|
-
"properties": {
|
|
1335
|
-
"email": {
|
|
1336
|
-
"type": "string",
|
|
1337
|
-
"description": "User's email address",
|
|
1338
|
-
"format": "email"
|
|
1339
|
-
},
|
|
1340
|
-
"password": {
|
|
1341
|
-
"type": "string",
|
|
1342
|
-
"description": "User's password (minimum 6 characters)",
|
|
1343
|
-
"minLength": 6
|
|
1344
|
-
},
|
|
1345
|
-
"username": {
|
|
1346
|
-
"type": "string",
|
|
1347
|
-
"description": "Username (auto-generated from email if not provided)"
|
|
1348
|
-
},
|
|
1349
|
-
"display_name": {
|
|
1350
|
-
"type": "string",
|
|
1351
|
-
"description": "Display name shown in the platform"
|
|
1352
|
-
},
|
|
1353
|
-
"phone": {
|
|
1354
|
-
"type": "string",
|
|
1355
|
-
"description": "Phone number (stored in contact record)"
|
|
1356
|
-
},
|
|
1357
|
-
"notes": {
|
|
1358
|
-
"type": "string",
|
|
1359
|
-
"description": "Notes about this user/model (stored in contact record)"
|
|
1360
|
-
},
|
|
1361
|
-
"tags": {
|
|
1362
|
-
"type": "array",
|
|
1363
|
-
"items": {
|
|
1364
|
-
"type": "string"
|
|
1365
|
-
},
|
|
1366
|
-
"description": "Tags for categorization (e.g. ['model', 'hypno-reactions']). Defaults to ['gigs-user', role]"
|
|
1367
|
-
},
|
|
1368
|
-
"attributes": {
|
|
1369
|
-
"type": "object",
|
|
1370
|
-
"description": "Custom contact attributes (e.g. social media links, address, emergency contact, bio)",
|
|
1371
|
-
"properties": {
|
|
1372
|
-
"first_name": {
|
|
1373
|
-
"type": "string"
|
|
1374
|
-
},
|
|
1375
|
-
"last_name": {
|
|
1376
|
-
"type": "string"
|
|
1377
|
-
},
|
|
1378
|
-
"company": {
|
|
1379
|
-
"type": "string"
|
|
1380
|
-
},
|
|
1381
|
-
"address": {
|
|
1382
|
-
"type": "string"
|
|
1383
|
-
},
|
|
1384
|
-
"city": {
|
|
1385
|
-
"type": "string"
|
|
1386
|
-
},
|
|
1387
|
-
"state": {
|
|
1388
|
-
"type": "string"
|
|
1389
|
-
},
|
|
1390
|
-
"country": {
|
|
1391
|
-
"type": "string"
|
|
1392
|
-
},
|
|
1393
|
-
"bio": {
|
|
1394
|
-
"type": "string"
|
|
1395
|
-
},
|
|
1396
|
-
"instagram": {
|
|
1397
|
-
"type": "string"
|
|
1398
|
-
},
|
|
1399
|
-
"twitter": {
|
|
1400
|
-
"type": "string"
|
|
1401
|
-
},
|
|
1402
|
-
"tiktok": {
|
|
1403
|
-
"type": "string"
|
|
1404
|
-
},
|
|
1405
|
-
"website": {
|
|
1406
|
-
"type": "string"
|
|
1407
|
-
}
|
|
1408
|
-
},
|
|
1409
|
-
"additionalProperties": true
|
|
1410
|
-
}
|
|
1411
|
-
},
|
|
1412
|
-
"required": [
|
|
1413
|
-
"email",
|
|
1414
|
-
"password"
|
|
1415
|
-
]
|
|
1416
|
-
}
|
|
1417
|
-
},
|
|
1418
|
-
{
|
|
1419
|
-
"name": "delete_user",
|
|
1420
|
-
"description": "Delete a user (model) from the gigs platform and their linked contact record. Only users belonging to the modeling project can be deleted.",
|
|
1421
|
-
"method": "DELETE",
|
|
1422
|
-
"path": "/users/%7B%7Buser_id%7D%7D",
|
|
1423
|
-
"input_schema": {
|
|
1424
|
-
"type": "object",
|
|
1425
|
-
"properties": {
|
|
1426
|
-
"user_id": {
|
|
1427
|
-
"type": "integer",
|
|
1428
|
-
"description": "ID of the user to delete"
|
|
1429
|
-
}
|
|
1430
|
-
},
|
|
1431
|
-
"required": [
|
|
1432
|
-
"user_id"
|
|
1433
|
-
]
|
|
1434
|
-
}
|
|
1435
|
-
},
|
|
1436
|
-
{
|
|
1437
|
-
"name": "update_user",
|
|
1438
|
-
"description": "Update a user (model) profile and contact details. Changes are automatically synced to the linked contact record. Supports phone, notes, tags, and custom attributes.",
|
|
1439
|
-
"method": "PUT",
|
|
1440
|
-
"path": "/users/%7B%7Buser_id%7D%7D",
|
|
1441
|
-
"input_schema": {
|
|
1442
|
-
"type": "object",
|
|
1443
|
-
"properties": {
|
|
1444
|
-
"user_id": {
|
|
1445
|
-
"type": "integer",
|
|
1446
|
-
"description": "ID of the user to update"
|
|
1447
|
-
},
|
|
1448
|
-
"display_name": {
|
|
1449
|
-
"type": "string",
|
|
1450
|
-
"description": "New display name for the user"
|
|
1451
|
-
},
|
|
1452
|
-
"username": {
|
|
1453
|
-
"type": "string",
|
|
1454
|
-
"description": "New username (3-50 chars, alphanumeric/underscore/dash)"
|
|
1455
|
-
},
|
|
1456
|
-
"email": {
|
|
1457
|
-
"type": "string",
|
|
1458
|
-
"description": "New email address"
|
|
1459
|
-
},
|
|
1460
|
-
"role": {
|
|
1461
|
-
"type": "string",
|
|
1462
|
-
"description": "User role"
|
|
1463
|
-
},
|
|
1464
|
-
"account_status": {
|
|
1465
|
-
"type": "string",
|
|
1466
|
-
"description": "Account status",
|
|
1467
|
-
"enum": [
|
|
1468
|
-
"active",
|
|
1469
|
-
"suspended",
|
|
1470
|
-
"disabled",
|
|
1471
|
-
"pending"
|
|
1472
|
-
]
|
|
1473
|
-
},
|
|
1474
|
-
"phone": {
|
|
1475
|
-
"type": "string",
|
|
1476
|
-
"description": "Phone number (synced to contact record)"
|
|
1477
|
-
},
|
|
1478
|
-
"notes": {
|
|
1479
|
-
"type": "string",
|
|
1480
|
-
"description": "Notes about this user/model (synced to contact record)"
|
|
1481
|
-
},
|
|
1482
|
-
"tags": {
|
|
1483
|
-
"type": "array",
|
|
1484
|
-
"items": {
|
|
1485
|
-
"type": "string"
|
|
1486
|
-
},
|
|
1487
|
-
"description": "Tags for categorization (synced to contact record)"
|
|
1488
|
-
},
|
|
1489
|
-
"attributes": {
|
|
1490
|
-
"type": "object",
|
|
1491
|
-
"description": "Custom contact attributes (merged with existing). Supports: first_name, last_name, company, address, city, state, country, bio, instagram, twitter, tiktok, website, and any custom fields.",
|
|
1492
|
-
"additionalProperties": true
|
|
1493
|
-
}
|
|
1494
|
-
},
|
|
1495
|
-
"required": [
|
|
1496
|
-
"user_id"
|
|
1497
|
-
]
|
|
1498
|
-
}
|
|
1499
1288
|
}
|
|
1500
1289
|
]
|
|
1501
1290
|
}
|
package/src/apps/socialcast.json
CHANGED
|
@@ -99,110 +99,6 @@
|
|
|
99
99
|
]
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
|
-
{
|
|
103
|
-
"name": "connect_account",
|
|
104
|
-
"description": "Initiate connecting a new social media account via OAuth. Returns an auth_url to redirect the user to for authorization. Supports: Twitter, Instagram, Facebook, LinkedIn, TikTok, YouTube, Reddit, Pinterest, Telegram.",
|
|
105
|
-
"method": "POST",
|
|
106
|
-
"path": "/accounts/connect",
|
|
107
|
-
"input_schema": {
|
|
108
|
-
"type": "object",
|
|
109
|
-
"properties": {
|
|
110
|
-
"platform": {
|
|
111
|
-
"type": "string",
|
|
112
|
-
"enum": [
|
|
113
|
-
"twitter",
|
|
114
|
-
"instagram",
|
|
115
|
-
"facebook",
|
|
116
|
-
"linkedin",
|
|
117
|
-
"tiktok",
|
|
118
|
-
"youtube",
|
|
119
|
-
"reddit",
|
|
120
|
-
"pinterest",
|
|
121
|
-
"telegram"
|
|
122
|
-
],
|
|
123
|
-
"description": "Platform to connect"
|
|
124
|
-
},
|
|
125
|
-
"redirect_url": {
|
|
126
|
-
"type": "string",
|
|
127
|
-
"description": "OAuth redirect URL after authorization completes"
|
|
128
|
-
},
|
|
129
|
-
"platform_metadata": {
|
|
130
|
-
"type": "object",
|
|
131
|
-
"description": "Platform-specific metadata (e.g., subreddit for Reddit, chatId for Telegram)"
|
|
132
|
-
},
|
|
133
|
-
"credential_data": {
|
|
134
|
-
"type": "object",
|
|
135
|
-
"description": "For API-key platforms like Telegram: { botToken: '...' }"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
"required": [
|
|
139
|
-
"platform",
|
|
140
|
-
"redirect_url"
|
|
141
|
-
]
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"name": "disconnect_account",
|
|
146
|
-
"description": "Disconnect a social media account. The account will be marked as inactive.",
|
|
147
|
-
"method": "DELETE",
|
|
148
|
-
"path": "/accounts/{id}",
|
|
149
|
-
"input_schema": {
|
|
150
|
-
"type": "object",
|
|
151
|
-
"properties": {
|
|
152
|
-
"id": {
|
|
153
|
-
"type": "integer",
|
|
154
|
-
"description": "Account ID to disconnect"
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
"required": [
|
|
158
|
-
"id"
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"name": "list_pages",
|
|
164
|
-
"description": "List available Facebook Pages and Instagram Business accounts for a connected Facebook/Instagram account. Used after OAuth to let the user pick which page or Instagram account to use.",
|
|
165
|
-
"method": "GET",
|
|
166
|
-
"path": "/accounts/{id}/pages",
|
|
167
|
-
"input_schema": {
|
|
168
|
-
"type": "object",
|
|
169
|
-
"properties": {
|
|
170
|
-
"id": {
|
|
171
|
-
"type": "integer",
|
|
172
|
-
"description": "Social account ID (must be a Facebook or Instagram account in needs_selection status)"
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
"required": [
|
|
176
|
-
"id"
|
|
177
|
-
]
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"name": "select_page",
|
|
182
|
-
"description": "Finalize a Facebook or Instagram connection by selecting which Page or Instagram Business account to post to.",
|
|
183
|
-
"method": "POST",
|
|
184
|
-
"path": "/accounts/{id}/select-page",
|
|
185
|
-
"input_schema": {
|
|
186
|
-
"type": "object",
|
|
187
|
-
"properties": {
|
|
188
|
-
"id": {
|
|
189
|
-
"type": "integer",
|
|
190
|
-
"description": "Social account ID"
|
|
191
|
-
},
|
|
192
|
-
"page_id": {
|
|
193
|
-
"type": "string",
|
|
194
|
-
"description": "Facebook Page ID to select (for Facebook accounts)"
|
|
195
|
-
},
|
|
196
|
-
"instagram_account_id": {
|
|
197
|
-
"type": "string",
|
|
198
|
-
"description": "Instagram Business account ID to select (for Instagram accounts)"
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
"required": [
|
|
202
|
-
"id"
|
|
203
|
-
]
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
102
|
{
|
|
207
103
|
"name": "create_post",
|
|
208
104
|
"description": "Create and publish a post to one or more connected social media platforms simultaneously. Supports text, images, videos, and links.\n\nMedia capabilities per platform:\n- Instagram: Single image, single video (Reel), or CAROUSEL (2-10 images/videos mixed). Pass multiple items in media_urls for carousel.\n- Facebook: Text, single image, MULTI-PHOTO (2+ images posted as album), single video, or link post.\n- Twitter/X: Text with up to 4 media attachments (images, GIFs, or 1 video). Media is uploaded automatically.\n- TikTok: Single video or PHOTO CAROUSEL (up to 35 images). Use overrides for privacy, comments, music.\n- YouTube: Single video upload with title, description, tags, privacy.\n- Pinterest: Single image with title, description, board, and link.\n- Reddit: Text (self) or link post to a subreddit.\n- LinkedIn: Text post with optional visibility setting.\n- Telegram: Text or single image with optional parse mode.\n\nTo schedule a post for later, set scheduled_for to an ISO 8601 timestamp and optionally timezone (e.g., 'America/New_York'). IMPORTANT: Each call only accepts a single scheduled_for time that applies to ALL account_ids in that call. To schedule the same content at different times for different platforms (e.g., Instagram at 9am and Twitter at 12pm), you MUST make separate create_post calls — one per unique scheduled time, each with only the account_ids for that time slot.",
|
|
@@ -521,22 +417,6 @@
|
|
|
521
417
|
]
|
|
522
418
|
}
|
|
523
419
|
},
|
|
524
|
-
{
|
|
525
|
-
"name": "account_health",
|
|
526
|
-
"description": "Check the connection health of one or all connected social accounts. Verifies that OAuth tokens are still valid by calling each platform's profile API. Pass a specific account ID or 'all' to check all active accounts.",
|
|
527
|
-
"method": "GET",
|
|
528
|
-
"path": "/accounts/{id}/health",
|
|
529
|
-
"input_schema": {
|
|
530
|
-
"type": "object",
|
|
531
|
-
"properties": {
|
|
532
|
-
"id": {
|
|
533
|
-
"type": "string",
|
|
534
|
-
"description": "Account ID to check, or 'all' to check all active accounts",
|
|
535
|
-
"default": "all"
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
},
|
|
540
420
|
{
|
|
541
421
|
"name": "list_inbox",
|
|
542
422
|
"description": "List social inbox items — comments, replies, and DMs received on your connected accounts. Filter by platform, account, status, or type. Returns items sorted by most recent first with unread count.",
|
|
@@ -589,33 +469,6 @@
|
|
|
589
469
|
}
|
|
590
470
|
}
|
|
591
471
|
},
|
|
592
|
-
{
|
|
593
|
-
"name": "get_inbox_comments",
|
|
594
|
-
"description": "Fetch live comments for a specific post directly from the platform API (Facebook/Instagram). Returns threaded comments with reply counts, like counts, and reply capability flags.",
|
|
595
|
-
"method": "GET",
|
|
596
|
-
"path": "/inbox/comments",
|
|
597
|
-
"input_schema": {
|
|
598
|
-
"type": "object",
|
|
599
|
-
"properties": {
|
|
600
|
-
"social_account_id": {
|
|
601
|
-
"type": "integer",
|
|
602
|
-
"description": "Social account ID that owns the post"
|
|
603
|
-
},
|
|
604
|
-
"platform_post_id": {
|
|
605
|
-
"type": "string",
|
|
606
|
-
"description": "The platform-specific post ID to fetch comments for"
|
|
607
|
-
},
|
|
608
|
-
"cursor": {
|
|
609
|
-
"type": "string",
|
|
610
|
-
"description": "Pagination cursor for next page of comments"
|
|
611
|
-
}
|
|
612
|
-
},
|
|
613
|
-
"required": [
|
|
614
|
-
"social_account_id",
|
|
615
|
-
"platform_post_id"
|
|
616
|
-
]
|
|
617
|
-
}
|
|
618
|
-
},
|
|
619
472
|
{
|
|
620
473
|
"name": "reply_inbox",
|
|
621
474
|
"description": "Reply to a comment on a social post, or send a private DM to the commenter via Messenger. Set private_reply=true to send as a DM instead of a public comment reply. Private replies use the Messenger Platform and are delivered to the commenter's inbox.",
|
|
@@ -699,33 +552,6 @@
|
|
|
699
552
|
}
|
|
700
553
|
}
|
|
701
554
|
}
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
"name": "delete_inbox_comment",
|
|
705
|
-
"description": "Delete a comment from a social platform (Facebook/Instagram). The comment will be removed from the platform and the inbox item marked as deleted.",
|
|
706
|
-
"method": "DELETE",
|
|
707
|
-
"path": "/inbox/comment",
|
|
708
|
-
"input_schema": {
|
|
709
|
-
"type": "object",
|
|
710
|
-
"properties": {
|
|
711
|
-
"social_account_id": {
|
|
712
|
-
"type": "integer",
|
|
713
|
-
"description": "Social account ID that owns the comment"
|
|
714
|
-
},
|
|
715
|
-
"comment_id": {
|
|
716
|
-
"type": "string",
|
|
717
|
-
"description": "Platform comment ID to delete"
|
|
718
|
-
},
|
|
719
|
-
"inbox_item_id": {
|
|
720
|
-
"type": "integer",
|
|
721
|
-
"description": "Optional: inbox record ID to mark as deleted"
|
|
722
|
-
}
|
|
723
|
-
},
|
|
724
|
-
"required": [
|
|
725
|
-
"social_account_id",
|
|
726
|
-
"comment_id"
|
|
727
|
-
]
|
|
728
|
-
}
|
|
729
555
|
}
|
|
730
556
|
],
|
|
731
557
|
"webhooks": {
|