@apteva/integrations 0.3.60 → 0.3.62
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apteva/integrations",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.62",
|
|
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",
|
|
@@ -298,8 +298,8 @@
|
|
|
298
298
|
},
|
|
299
299
|
"include_storage_info": {
|
|
300
300
|
"type": "boolean",
|
|
301
|
-
"default":
|
|
302
|
-
"description": "Include storage bucket info and full URLs"
|
|
301
|
+
"default": true,
|
|
302
|
+
"description": "Include storage bucket info and the full public/CDN URLs for each file. Enabled by default — disable only if you need a minimal response and will fetch files individually."
|
|
303
303
|
},
|
|
304
304
|
"include_thumbnails": {
|
|
305
305
|
"type": "boolean",
|
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": {
|