@oomol-lab/open-connector 1.6.3 → 1.6.5
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/assets/open-connector/catalog/apps/aisa.json +568 -0
- package/assets/open-connector/catalog/apps/bilibili.json +2586 -0
- package/assets/open-connector/catalog/apps/bitwarden.json +1423 -0
- package/assets/open-connector/catalog/apps/cronfree.json +303 -0
- package/assets/open-connector/catalog/apps/cufinder.json +368 -0
- package/assets/open-connector/catalog/apps/feishu_app_bot.json +2 -2
- package/assets/open-connector/catalog/apps/gmail.json +73 -0
- package/assets/open-connector/catalog/apps/investoday_mcp.json +22228 -197
- package/assets/open-connector/catalog/apps/ixspy.json +2274 -0
- package/assets/open-connector/catalog/apps/jin10.json +1 -1
- package/assets/open-connector/catalog/apps/osv.json +663 -0
- package/assets/open-connector/catalog/apps/pdf_vector.json +329 -0
- package/assets/open-connector/catalog/apps/pulsetic.json +406 -0
- package/assets/open-connector/catalog/apps/shopee.json +1785 -0
- package/assets/open-connector/catalog/apps/slack.json +81 -0
- package/assets/open-connector/catalog/apps/slackbot.json +81 -0
- package/assets/open-connector/catalog/apps/speak_ai.json +360 -0
- package/assets/open-connector/catalog/apps/tongdaxin.json +11 -440
- package/assets/open-connector/catalog/apps/zyhub.json +1585 -0
- package/assets/open-connector/catalog/apps-index.json +1 -1
- package/package.json +1 -1
- package/src/core/json-schema.d.ts +5 -1
- package/src/core/json-schema.js +14 -2
- package/src/core/types.d.ts +9 -0
- package/src/oauth/oauth-credential-refresh-service.js +3 -1
- package/src/oauth/oauth-flow-service.js +17 -2
- package/src/oauth/oauth-token.d.ts +13 -0
- package/src/providers/action-contracts.generated.d.ts +16 -4
- package/src/providers/aisa/executors.d.ts +4 -0
- package/src/providers/aisa/executors.js +176 -0
- package/src/providers/bilibili/articles.d.ts +3 -0
- package/src/providers/bilibili/articles.js +369 -0
- package/src/providers/bilibili/executors.d.ts +8 -0
- package/src/providers/bilibili/executors.js +262 -0
- package/src/providers/bilibili/runtime.d.ts +95 -0
- package/src/providers/bilibili/runtime.js +238 -0
- package/src/providers/bilibili/upload.d.ts +14 -0
- package/src/providers/bilibili/upload.js +105 -0
- package/src/providers/bitwarden/executors.d.ts +3 -0
- package/src/providers/bitwarden/executors.js +146 -0
- package/src/providers/cronfree/executors.d.ts +4 -0
- package/src/providers/cronfree/executors.js +89 -0
- package/src/providers/cufinder/executors.d.ts +4 -0
- package/src/providers/cufinder/executors.js +105 -0
- package/src/providers/dropbox/executors.js +21 -3
- package/src/providers/elevenreader/runtime.js +6 -5
- package/src/providers/feishu_app_bot/scopes.js +1 -1
- package/src/providers/gmail/attachment-stream.d.ts +2 -0
- package/src/providers/gmail/attachment-stream.js +162 -0
- package/src/providers/gmail/executors.d.ts +3 -1
- package/src/providers/gmail/executors.js +53 -25
- package/src/providers/investoday_mcp/official-actions.js +19 -372
- package/src/providers/investoday_mcp/official-tool-types.d.ts +10 -0
- package/src/providers/investoday_mcp/official-tool-types.js +4 -0
- package/src/providers/investoday_mcp/official-tools/charts.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/charts.js +32 -0
- package/src/providers/investoday_mcp/official-tools/fixed-income.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/fixed-income.js +326 -0
- package/src/providers/investoday_mcp/official-tools/funds.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/funds.js +1085 -0
- package/src/providers/investoday_mcp/official-tools/hong-kong.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/hong-kong.js +275 -0
- package/src/providers/investoday_mcp/official-tools/indices-industries.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/indices-industries.js +642 -0
- package/src/providers/investoday_mcp/official-tools/macro-calendar.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/macro-calendar.js +398 -0
- package/src/providers/investoday_mcp/official-tools/other.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/other.js +131 -0
- package/src/providers/investoday_mcp/official-tools/research-news.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/research-news.js +302 -0
- package/src/providers/investoday_mcp/official-tools/stocks.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/stocks.js +2829 -0
- package/src/providers/ixspy/executors.d.ts +3 -0
- package/src/providers/ixspy/executors.js +220 -0
- package/src/providers/mcp-client.d.ts +1 -0
- package/src/providers/mcp-client.js +41 -27
- package/src/providers/osv/executors.d.ts +2 -0
- package/src/providers/osv/executors.js +11 -0
- package/src/providers/osv/runtime.d.ts +9 -0
- package/src/providers/osv/runtime.js +66 -0
- package/src/providers/pdf_vector/executors.d.ts +4 -0
- package/src/providers/pdf_vector/executors.js +108 -0
- package/src/providers/provider-runtime.d.ts +3 -0
- package/src/providers/provider-runtime.js +4 -1
- package/src/providers/pulsetic/executors.d.ts +4 -0
- package/src/providers/pulsetic/executors.js +126 -0
- package/src/providers/registry.generated.js +12 -0
- package/src/providers/sellersprite_mcp/executors.js +2 -1
- package/src/providers/shopee/actions.d.ts +2 -0
- package/src/providers/shopee/actions.js +474 -0
- package/src/providers/shopee/executors.d.ts +3 -0
- package/src/providers/shopee/executors.js +85 -0
- package/src/providers/shopee/runtime.d.ts +79 -0
- package/src/providers/shopee/runtime.js +693 -0
- package/src/providers/slack/actions.js +17 -0
- package/src/providers/slack/runtime.js +62 -4
- package/src/providers/speak_ai/executors.d.ts +3 -0
- package/src/providers/speak_ai/executors.js +187 -0
- package/src/providers/tongdaxin/executors.js +5 -4
- package/src/providers/tongdaxin/named-action-output.js +3 -9
- package/src/providers/tongdaxin/named-action-routing.js +1 -1
- package/src/providers/tongdaxin/named-actions.js +1 -6
- package/src/providers/tushare/runtime.js +22 -9
- package/src/providers/twenty_crm/runtime.js +4 -2
- package/src/providers/zyhub/executors.d.ts +3 -0
- package/src/providers/zyhub/executors.js +240 -0
- package/src/server/files/transit-files.d.ts +3 -2
- package/src/server/files/transit-files.js +31 -35
|
@@ -422,6 +422,87 @@
|
|
|
422
422
|
"description": "The output payload for a Slack message reference."
|
|
423
423
|
}
|
|
424
424
|
},
|
|
425
|
+
{
|
|
426
|
+
"id": "slack.download_file",
|
|
427
|
+
"service": "slack",
|
|
428
|
+
"name": "download_file",
|
|
429
|
+
"description": "Download a Slack-hosted file into transit storage using the connected identity's access.",
|
|
430
|
+
"operationType": "read",
|
|
431
|
+
"requiredScopes": [
|
|
432
|
+
"files:read"
|
|
433
|
+
],
|
|
434
|
+
"providerPermissions": [],
|
|
435
|
+
"inputSchema": {
|
|
436
|
+
"type": "object",
|
|
437
|
+
"properties": {
|
|
438
|
+
"fileId": {
|
|
439
|
+
"type": "string",
|
|
440
|
+
"minLength": 1,
|
|
441
|
+
"description": "The Slack file ID."
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"additionalProperties": false,
|
|
445
|
+
"required": [
|
|
446
|
+
"fileId"
|
|
447
|
+
],
|
|
448
|
+
"description": "The Slack file to download."
|
|
449
|
+
},
|
|
450
|
+
"outputSchema": {
|
|
451
|
+
"type": "object",
|
|
452
|
+
"properties": {
|
|
453
|
+
"fileId": {
|
|
454
|
+
"type": "string",
|
|
455
|
+
"minLength": 1,
|
|
456
|
+
"description": "The Slack file ID."
|
|
457
|
+
},
|
|
458
|
+
"file": {
|
|
459
|
+
"type": "object",
|
|
460
|
+
"properties": {
|
|
461
|
+
"fileId": {
|
|
462
|
+
"type": "string",
|
|
463
|
+
"minLength": 1,
|
|
464
|
+
"description": "The transit file identifier."
|
|
465
|
+
},
|
|
466
|
+
"downloadUrl": {
|
|
467
|
+
"type": "string",
|
|
468
|
+
"description": "The transit URL for downloading the stored file.",
|
|
469
|
+
"format": "uri"
|
|
470
|
+
},
|
|
471
|
+
"sizeBytes": {
|
|
472
|
+
"type": "integer",
|
|
473
|
+
"minimum": 0,
|
|
474
|
+
"description": "The stored file size in bytes."
|
|
475
|
+
},
|
|
476
|
+
"name": {
|
|
477
|
+
"type": "string",
|
|
478
|
+
"minLength": 1,
|
|
479
|
+
"description": "The stored file name."
|
|
480
|
+
},
|
|
481
|
+
"mimeType": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"minLength": 1,
|
|
484
|
+
"description": "The stored file MIME type."
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
"additionalProperties": false,
|
|
488
|
+
"required": [
|
|
489
|
+
"fileId",
|
|
490
|
+
"downloadUrl",
|
|
491
|
+
"sizeBytes",
|
|
492
|
+
"name",
|
|
493
|
+
"mimeType"
|
|
494
|
+
],
|
|
495
|
+
"description": "The downloaded file in transit storage."
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"additionalProperties": false,
|
|
499
|
+
"required": [
|
|
500
|
+
"fileId",
|
|
501
|
+
"file"
|
|
502
|
+
],
|
|
503
|
+
"description": "A Slack file downloaded into transit storage."
|
|
504
|
+
}
|
|
505
|
+
},
|
|
425
506
|
{
|
|
426
507
|
"id": "slack.get_channel_messages",
|
|
427
508
|
"service": "slack",
|
|
@@ -247,6 +247,87 @@
|
|
|
247
247
|
"description": "The output payload for a Slack message reference."
|
|
248
248
|
}
|
|
249
249
|
},
|
|
250
|
+
{
|
|
251
|
+
"id": "slackbot.download_file",
|
|
252
|
+
"service": "slackbot",
|
|
253
|
+
"name": "download_file",
|
|
254
|
+
"description": "Download a Slack-hosted file into transit storage using the connected identity's access.",
|
|
255
|
+
"operationType": "read",
|
|
256
|
+
"requiredScopes": [
|
|
257
|
+
"files:read"
|
|
258
|
+
],
|
|
259
|
+
"providerPermissions": [],
|
|
260
|
+
"inputSchema": {
|
|
261
|
+
"type": "object",
|
|
262
|
+
"properties": {
|
|
263
|
+
"fileId": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"minLength": 1,
|
|
266
|
+
"description": "The Slack file ID."
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"additionalProperties": false,
|
|
270
|
+
"required": [
|
|
271
|
+
"fileId"
|
|
272
|
+
],
|
|
273
|
+
"description": "The Slack file to download."
|
|
274
|
+
},
|
|
275
|
+
"outputSchema": {
|
|
276
|
+
"type": "object",
|
|
277
|
+
"properties": {
|
|
278
|
+
"fileId": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"minLength": 1,
|
|
281
|
+
"description": "The Slack file ID."
|
|
282
|
+
},
|
|
283
|
+
"file": {
|
|
284
|
+
"type": "object",
|
|
285
|
+
"properties": {
|
|
286
|
+
"fileId": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"minLength": 1,
|
|
289
|
+
"description": "The transit file identifier."
|
|
290
|
+
},
|
|
291
|
+
"downloadUrl": {
|
|
292
|
+
"type": "string",
|
|
293
|
+
"description": "The transit URL for downloading the stored file.",
|
|
294
|
+
"format": "uri"
|
|
295
|
+
},
|
|
296
|
+
"sizeBytes": {
|
|
297
|
+
"type": "integer",
|
|
298
|
+
"minimum": 0,
|
|
299
|
+
"description": "The stored file size in bytes."
|
|
300
|
+
},
|
|
301
|
+
"name": {
|
|
302
|
+
"type": "string",
|
|
303
|
+
"minLength": 1,
|
|
304
|
+
"description": "The stored file name."
|
|
305
|
+
},
|
|
306
|
+
"mimeType": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"minLength": 1,
|
|
309
|
+
"description": "The stored file MIME type."
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"additionalProperties": false,
|
|
313
|
+
"required": [
|
|
314
|
+
"fileId",
|
|
315
|
+
"downloadUrl",
|
|
316
|
+
"sizeBytes",
|
|
317
|
+
"name",
|
|
318
|
+
"mimeType"
|
|
319
|
+
],
|
|
320
|
+
"description": "The downloaded file in transit storage."
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"additionalProperties": false,
|
|
324
|
+
"required": [
|
|
325
|
+
"fileId",
|
|
326
|
+
"file"
|
|
327
|
+
],
|
|
328
|
+
"description": "A Slack file downloaded into transit storage."
|
|
329
|
+
}
|
|
330
|
+
},
|
|
250
331
|
{
|
|
251
332
|
"id": "slackbot.get_channel_messages",
|
|
252
333
|
"service": "slackbot",
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
{
|
|
2
|
+
"service": "speak_ai",
|
|
3
|
+
"displayName": "Speak AI",
|
|
4
|
+
"description": "Submit and inspect media transcription and analysis jobs with Speak AI.",
|
|
5
|
+
"categories": [
|
|
6
|
+
"AI",
|
|
7
|
+
"Productivity"
|
|
8
|
+
],
|
|
9
|
+
"authTypes": [
|
|
10
|
+
"api_key"
|
|
11
|
+
],
|
|
12
|
+
"auth": [
|
|
13
|
+
{
|
|
14
|
+
"type": "api_key",
|
|
15
|
+
"label": "API Key",
|
|
16
|
+
"placeholder": "SPEAK_AI_API_KEY",
|
|
17
|
+
"description": "Speak AI API key used to obtain short-lived access tokens. Generate or manage keys at https://app.speakai.co/developers/apikeys.",
|
|
18
|
+
"extraFields": []
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"homepageUrl": "https://speakai.co",
|
|
22
|
+
"actions": [
|
|
23
|
+
{
|
|
24
|
+
"id": "speak_ai.get_media_insights",
|
|
25
|
+
"service": "speak_ai",
|
|
26
|
+
"name": "get_media_insights",
|
|
27
|
+
"description": "Retrieve AI-generated summaries, topics, sentiment, and other insights for processed Speak AI media.",
|
|
28
|
+
"operationType": "read",
|
|
29
|
+
"requiredScopes": [],
|
|
30
|
+
"providerPermissions": [],
|
|
31
|
+
"inputSchema": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"mediaId": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"minLength": 1,
|
|
37
|
+
"description": "The unique Speak AI media identifier."
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"description": "The Speak AI media item to retrieve."
|
|
42
|
+
},
|
|
43
|
+
"outputSchema": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"mediaId": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "The media identifier."
|
|
49
|
+
},
|
|
50
|
+
"insights": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {},
|
|
53
|
+
"additionalProperties": true,
|
|
54
|
+
"description": "A provider-defined object returned by Speak AI."
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"additionalProperties": false,
|
|
58
|
+
"description": "The analysis response returned by Speak AI."
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "speak_ai.get_media_status",
|
|
63
|
+
"service": "speak_ai",
|
|
64
|
+
"name": "get_media_status",
|
|
65
|
+
"description": "Get processing state and metadata for one Speak AI media item.",
|
|
66
|
+
"operationType": "read",
|
|
67
|
+
"requiredScopes": [],
|
|
68
|
+
"providerPermissions": [],
|
|
69
|
+
"inputSchema": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"mediaId": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"minLength": 1,
|
|
75
|
+
"description": "The unique Speak AI media identifier."
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"additionalProperties": false,
|
|
79
|
+
"description": "The Speak AI media item to retrieve."
|
|
80
|
+
},
|
|
81
|
+
"outputSchema": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"properties": {
|
|
84
|
+
"mediaId": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"description": "The media identifier."
|
|
87
|
+
},
|
|
88
|
+
"state": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"description": "The current processing state."
|
|
91
|
+
},
|
|
92
|
+
"media": {
|
|
93
|
+
"type": "object",
|
|
94
|
+
"properties": {},
|
|
95
|
+
"additionalProperties": true,
|
|
96
|
+
"description": "A provider-defined object returned by Speak AI."
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"additionalProperties": false,
|
|
100
|
+
"description": "The processing status returned by Speak AI."
|
|
101
|
+
},
|
|
102
|
+
"asyncLifecycle": {
|
|
103
|
+
"startActionId": "speak_ai.upload_media",
|
|
104
|
+
"statusActionId": "speak_ai.get_media_status"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": "speak_ai.get_transcript",
|
|
109
|
+
"service": "speak_ai",
|
|
110
|
+
"name": "get_transcript",
|
|
111
|
+
"description": "Retrieve the transcript, speakers, and timestamps for one Speak AI media item.",
|
|
112
|
+
"operationType": "read",
|
|
113
|
+
"requiredScopes": [],
|
|
114
|
+
"providerPermissions": [],
|
|
115
|
+
"inputSchema": {
|
|
116
|
+
"type": "object",
|
|
117
|
+
"properties": {
|
|
118
|
+
"mediaId": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"minLength": 1,
|
|
121
|
+
"description": "The unique Speak AI media identifier."
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"additionalProperties": false,
|
|
125
|
+
"description": "The Speak AI media item to retrieve."
|
|
126
|
+
},
|
|
127
|
+
"outputSchema": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"mediaId": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"description": "The media identifier."
|
|
133
|
+
},
|
|
134
|
+
"transcript": {
|
|
135
|
+
"type": "object",
|
|
136
|
+
"properties": {},
|
|
137
|
+
"additionalProperties": true,
|
|
138
|
+
"description": "A provider-defined object returned by Speak AI."
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"additionalProperties": false,
|
|
142
|
+
"description": "The transcript response returned by Speak AI."
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "speak_ai.list_folders",
|
|
147
|
+
"service": "speak_ai",
|
|
148
|
+
"name": "list_folders",
|
|
149
|
+
"description": "List folders available in the connected Speak AI workspace.",
|
|
150
|
+
"operationType": "read",
|
|
151
|
+
"requiredScopes": [],
|
|
152
|
+
"providerPermissions": [],
|
|
153
|
+
"inputSchema": {
|
|
154
|
+
"type": "object",
|
|
155
|
+
"properties": {
|
|
156
|
+
"page": {
|
|
157
|
+
"type": "integer",
|
|
158
|
+
"minimum": 1,
|
|
159
|
+
"description": "The one-based page number."
|
|
160
|
+
},
|
|
161
|
+
"pageSize": {
|
|
162
|
+
"type": "integer",
|
|
163
|
+
"minimum": 1,
|
|
164
|
+
"maximum": 500,
|
|
165
|
+
"description": "The number of folders to return."
|
|
166
|
+
},
|
|
167
|
+
"sortBy": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"description": "The upstream sort expression, such as createdAt:desc."
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"additionalProperties": false,
|
|
173
|
+
"description": "Pagination and sorting for Speak AI folders."
|
|
174
|
+
},
|
|
175
|
+
"outputSchema": {
|
|
176
|
+
"type": "object",
|
|
177
|
+
"properties": {
|
|
178
|
+
"totalCount": {
|
|
179
|
+
"type": "integer",
|
|
180
|
+
"description": "The total number of folders."
|
|
181
|
+
},
|
|
182
|
+
"folders": {
|
|
183
|
+
"type": "array",
|
|
184
|
+
"items": {
|
|
185
|
+
"type": "object",
|
|
186
|
+
"properties": {},
|
|
187
|
+
"additionalProperties": true,
|
|
188
|
+
"description": "A provider-defined object returned by Speak AI."
|
|
189
|
+
},
|
|
190
|
+
"description": "The folders returned for this page."
|
|
191
|
+
},
|
|
192
|
+
"pages": {
|
|
193
|
+
"anyOf": [
|
|
194
|
+
{
|
|
195
|
+
"type": "integer",
|
|
196
|
+
"description": "The page count."
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"type": "null",
|
|
200
|
+
"description": "No page count was returned."
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"description": "The provider pagination value."
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"additionalProperties": false,
|
|
207
|
+
"description": "A page of Speak AI folders."
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "speak_ai.list_media",
|
|
212
|
+
"service": "speak_ai",
|
|
213
|
+
"name": "list_media",
|
|
214
|
+
"description": "List and filter media items in the connected Speak AI workspace.",
|
|
215
|
+
"operationType": "read",
|
|
216
|
+
"requiredScopes": [],
|
|
217
|
+
"providerPermissions": [],
|
|
218
|
+
"inputSchema": {
|
|
219
|
+
"type": "object",
|
|
220
|
+
"properties": {
|
|
221
|
+
"mediaType": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"enum": [
|
|
224
|
+
"audio",
|
|
225
|
+
"video",
|
|
226
|
+
"text"
|
|
227
|
+
],
|
|
228
|
+
"description": "The media type to return."
|
|
229
|
+
},
|
|
230
|
+
"page": {
|
|
231
|
+
"type": "integer",
|
|
232
|
+
"minimum": 1,
|
|
233
|
+
"description": "The one-based page number to return."
|
|
234
|
+
},
|
|
235
|
+
"pageSize": {
|
|
236
|
+
"type": "integer",
|
|
237
|
+
"minimum": 1,
|
|
238
|
+
"maximum": 100,
|
|
239
|
+
"description": "The number of media items to return."
|
|
240
|
+
},
|
|
241
|
+
"sortBy": {
|
|
242
|
+
"type": "string",
|
|
243
|
+
"description": "The upstream sort expression, such as createdAt:desc."
|
|
244
|
+
},
|
|
245
|
+
"filterMedia": {
|
|
246
|
+
"type": "integer",
|
|
247
|
+
"minimum": 0,
|
|
248
|
+
"maximum": 2,
|
|
249
|
+
"description": "The ownership filter: 0 for uploaded, 1 for assigned, or 2 for both."
|
|
250
|
+
},
|
|
251
|
+
"filterName": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"description": "Text matched against media names and analyzed content."
|
|
254
|
+
},
|
|
255
|
+
"folderId": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"description": "The folder whose media items should be returned."
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"additionalProperties": false,
|
|
261
|
+
"description": "Filters and pagination for the Speak AI media library."
|
|
262
|
+
},
|
|
263
|
+
"outputSchema": {
|
|
264
|
+
"type": "object",
|
|
265
|
+
"properties": {
|
|
266
|
+
"totalCount": {
|
|
267
|
+
"type": "integer",
|
|
268
|
+
"description": "The total number of matching media items."
|
|
269
|
+
},
|
|
270
|
+
"pages": {
|
|
271
|
+
"type": "integer",
|
|
272
|
+
"description": "The number of available result pages."
|
|
273
|
+
},
|
|
274
|
+
"media": {
|
|
275
|
+
"type": "array",
|
|
276
|
+
"items": {
|
|
277
|
+
"type": "object",
|
|
278
|
+
"properties": {},
|
|
279
|
+
"additionalProperties": true,
|
|
280
|
+
"description": "A provider-defined object returned by Speak AI."
|
|
281
|
+
},
|
|
282
|
+
"description": "The media items returned for this page."
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"additionalProperties": false,
|
|
286
|
+
"description": "A page of Speak AI media items."
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"id": "speak_ai.upload_media",
|
|
291
|
+
"service": "speak_ai",
|
|
292
|
+
"name": "upload_media",
|
|
293
|
+
"description": "Submit a public audio or video URL to Speak AI for asynchronous transcription and analysis.",
|
|
294
|
+
"operationType": "write",
|
|
295
|
+
"requiredScopes": [],
|
|
296
|
+
"providerPermissions": [],
|
|
297
|
+
"inputSchema": {
|
|
298
|
+
"type": "object",
|
|
299
|
+
"properties": {
|
|
300
|
+
"name": {
|
|
301
|
+
"type": "string",
|
|
302
|
+
"minLength": 1,
|
|
303
|
+
"description": "The display name for the media item."
|
|
304
|
+
},
|
|
305
|
+
"mediaUrl": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"minLength": 1,
|
|
308
|
+
"description": "A public audio, video, or supported social-media URL that Speak AI can fetch.",
|
|
309
|
+
"format": "uri"
|
|
310
|
+
},
|
|
311
|
+
"mediaType": {
|
|
312
|
+
"type": "string",
|
|
313
|
+
"enum": [
|
|
314
|
+
"audio",
|
|
315
|
+
"video"
|
|
316
|
+
],
|
|
317
|
+
"description": "The media type when it is known; omit it to let Speak AI inspect the URL."
|
|
318
|
+
},
|
|
319
|
+
"description": {
|
|
320
|
+
"type": "string",
|
|
321
|
+
"description": "A description stored with the media item."
|
|
322
|
+
},
|
|
323
|
+
"sourceLanguage": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"description": "The transcription language as a BCP-47 language code, such as en-US."
|
|
326
|
+
},
|
|
327
|
+
"tags": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"description": "Comma-separated tags stored with the media item."
|
|
330
|
+
},
|
|
331
|
+
"folderId": {
|
|
332
|
+
"type": "string",
|
|
333
|
+
"description": "The Speak AI folder identifier that should contain the media item."
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"additionalProperties": false,
|
|
337
|
+
"required": [
|
|
338
|
+
"name",
|
|
339
|
+
"mediaUrl"
|
|
340
|
+
],
|
|
341
|
+
"description": "The public media URL and metadata to submit to Speak AI."
|
|
342
|
+
},
|
|
343
|
+
"outputSchema": {
|
|
344
|
+
"type": "object",
|
|
345
|
+
"properties": {
|
|
346
|
+
"mediaId": {
|
|
347
|
+
"type": "string",
|
|
348
|
+
"description": "The media identifier used to poll processing and retrieve results."
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"additionalProperties": false,
|
|
352
|
+
"description": "The accepted Speak AI media upload."
|
|
353
|
+
},
|
|
354
|
+
"asyncLifecycle": {
|
|
355
|
+
"startActionId": "speak_ai.upload_media",
|
|
356
|
+
"statusActionId": "speak_ai.get_media_status"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
]
|
|
360
|
+
}
|