@oomol-lab/open-connector 1.6.2 → 1.6.3
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/README.md +27 -0
- package/assets/open-connector/catalog/apps/assured_platform.json +218 -0
- package/assets/open-connector/catalog/apps/baixiao.json +1080 -0
- package/assets/open-connector/catalog/apps/benchmarkone.json +956 -0
- package/assets/open-connector/catalog/apps/bing_webmaster.json +3097 -0
- package/assets/open-connector/catalog/apps/buzzsprout.json +1979 -0
- package/assets/open-connector/catalog/apps/feishu.json +13 -19
- package/assets/open-connector/catalog/apps/feishu_app_bot.json +10 -17
- package/assets/open-connector/catalog/apps/linkfox.json +836 -0
- package/assets/open-connector/catalog/apps/metatraderapi.json +1077 -0
- package/assets/open-connector/catalog/apps/mktindex.json +2411 -0
- package/assets/open-connector/catalog/apps/mojo_helpdesk.json +660 -0
- package/assets/open-connector/catalog/apps/mumble.json +446 -0
- package/assets/open-connector/catalog/apps/notion.json +112 -3
- package/assets/open-connector/catalog/apps/omise.json +438 -0
- package/assets/open-connector/catalog/apps/panjiva.json +2858 -0
- package/assets/open-connector/catalog/apps/papertrail.json +449 -0
- package/assets/open-connector/catalog/apps/peec.json +747 -0
- package/assets/open-connector/catalog/apps/polygon_io.json +5156 -584
- package/assets/open-connector/catalog/apps/quant_data.json +1928 -0
- package/assets/open-connector/catalog/apps/riddle_quiz_maker.json +621 -0
- package/assets/open-connector/catalog/apps/slack.json +327 -4
- package/assets/open-connector/catalog/apps/slackbot.json +280 -3
- package/assets/open-connector/catalog/apps/templatedocs.json +438 -0
- package/assets/open-connector/catalog/apps/terminus_app.json +510 -0
- package/assets/open-connector/catalog/apps/ticket_tailor.json +584 -0
- package/assets/open-connector/catalog/apps/tongdaxin.json +2612 -79
- package/assets/open-connector/catalog/apps/veremark.json +514 -0
- package/assets/open-connector/catalog/apps/walletap.json +549 -0
- package/assets/open-connector/catalog/apps/xiaohongshu_store.json +955 -39
- package/assets/open-connector/catalog/apps-index.json +1 -1
- package/package.json +5 -1
- package/src/connection-service.d.ts +2 -0
- package/src/connection-service.js +8 -1
- package/src/core/provider-id.d.ts +5 -0
- package/src/core/provider-id.js +12 -0
- package/src/oauth/oauth-credential-refresh-service.js +2 -0
- package/src/oauth/oauth-flow-service.js +2 -0
- package/src/providers/action-contracts.generated.d.ts +27 -7
- package/src/providers/assured_platform/executors.d.ts +4 -0
- package/src/providers/assured_platform/executors.js +18 -0
- package/src/providers/assured_platform/runtime.d.ts +7 -0
- package/src/providers/assured_platform/runtime.js +108 -0
- package/src/providers/baixiao/actions.d.ts +2 -0
- package/src/providers/baixiao/actions.js +377 -0
- package/src/providers/baixiao/executors.d.ts +4 -0
- package/src/providers/baixiao/executors.js +106 -0
- package/src/providers/benchmarkone/executors.d.ts +4 -0
- package/src/providers/benchmarkone/executors.js +26 -0
- package/src/providers/benchmarkone/runtime.d.ts +12 -0
- package/src/providers/benchmarkone/runtime.js +113 -0
- package/src/providers/bing_webmaster/actions.d.ts +2 -0
- package/src/providers/bing_webmaster/actions.js +113 -0
- package/src/providers/bing_webmaster/executors.d.ts +4 -0
- package/src/providers/bing_webmaster/executors.js +104 -0
- package/src/providers/bing_webmaster/management-actions.d.ts +2 -0
- package/src/providers/bing_webmaster/management-actions.js +241 -0
- package/src/providers/bing_webmaster/reporting-actions.d.ts +2 -0
- package/src/providers/bing_webmaster/reporting-actions.js +300 -0
- package/src/providers/bing_webmaster/schemas.d.ts +33 -0
- package/src/providers/bing_webmaster/schemas.js +313 -0
- package/src/providers/buzzsprout/executors.d.ts +4 -0
- package/src/providers/buzzsprout/executors.js +21 -0
- package/src/providers/buzzsprout/runtime.d.ts +12 -0
- package/src/providers/buzzsprout/runtime.js +237 -0
- package/src/providers/feishu/shared/drive-actions.d.ts +1 -0
- package/src/providers/feishu/shared/drive-actions.js +13 -9
- package/src/providers/feishu/shared/drive-runtime.js +15 -3
- package/src/providers/feishu/shared/wiki-actions.js +4 -2
- package/src/providers/hithink_finance/runtime.js +39 -60
- package/src/providers/linkfox/actions.js +2 -0
- package/src/providers/linkfox/runtime.js +70 -1
- package/src/providers/linkfox/sif-actions.d.ts +10 -0
- package/src/providers/linkfox/sif-actions.js +193 -0
- package/src/providers/metatraderapi/executors.d.ts +4 -0
- package/src/providers/metatraderapi/executors.js +18 -0
- package/src/providers/metatraderapi/runtime.d.ts +7 -0
- package/src/providers/metatraderapi/runtime.js +216 -0
- package/src/providers/mktindex/actions-mmi.d.ts +2 -0
- package/src/providers/mktindex/actions-mmi.js +510 -0
- package/src/providers/mktindex/actions.d.ts +2 -0
- package/src/providers/mktindex/actions.js +2 -0
- package/src/providers/mktindex/executors.d.ts +4 -0
- package/src/providers/mktindex/executors.js +27 -0
- package/src/providers/mktindex/request.d.ts +17 -0
- package/src/providers/mktindex/request.js +48 -0
- package/src/providers/mktindex/runtime.d.ts +9 -0
- package/src/providers/mktindex/runtime.js +492 -0
- package/src/providers/mojo_helpdesk/executors.d.ts +4 -0
- package/src/providers/mojo_helpdesk/executors.js +18 -0
- package/src/providers/mojo_helpdesk/runtime.d.ts +7 -0
- package/src/providers/mojo_helpdesk/runtime.js +173 -0
- package/src/providers/mumble/executors.d.ts +4 -0
- package/src/providers/mumble/executors.js +99 -0
- package/src/providers/notion/executors.d.ts +9 -0
- package/src/providers/notion/executors.js +161 -6
- package/src/providers/omise/executors.d.ts +4 -0
- package/src/providers/omise/executors.js +120 -0
- package/src/providers/panjiva/actions.d.ts +14 -0
- package/src/providers/panjiva/actions.js +389 -0
- package/src/providers/panjiva/executors.d.ts +4 -0
- package/src/providers/panjiva/executors.js +136 -0
- package/src/providers/papertrail/executors.d.ts +4 -0
- package/src/providers/papertrail/executors.js +15 -0
- package/src/providers/papertrail/runtime.d.ts +7 -0
- package/src/providers/papertrail/runtime.js +167 -0
- package/src/providers/peec/executors.d.ts +4 -0
- package/src/providers/peec/executors.js +15 -0
- package/src/providers/peec/runtime.d.ts +7 -0
- package/src/providers/peec/runtime.js +128 -0
- package/src/providers/polygon_io/actions.d.ts +2 -0
- package/src/providers/polygon_io/actions.js +282 -0
- package/src/providers/polygon_io/expanded-actions.d.ts +2 -0
- package/src/providers/polygon_io/expanded-actions.js +375 -0
- package/src/providers/polygon_io/expanded-runtime.d.ts +16 -0
- package/src/providers/polygon_io/expanded-runtime.js +277 -0
- package/src/providers/polygon_io/runtime.js +21 -2
- package/src/providers/quant_data/executors.d.ts +4 -0
- package/src/providers/quant_data/executors.js +15 -0
- package/src/providers/quant_data/runtime.d.ts +7 -0
- package/src/providers/quant_data/runtime.js +118 -0
- package/src/providers/registry.generated.js +20 -0
- package/src/providers/riddle_quiz_maker/executors.d.ts +4 -0
- package/src/providers/riddle_quiz_maker/executors.js +15 -0
- package/src/providers/riddle_quiz_maker/runtime.d.ts +7 -0
- package/src/providers/riddle_quiz_maker/runtime.js +145 -0
- package/src/providers/slack/actions.js +106 -3
- package/src/providers/slack/runtime.js +260 -36
- package/src/providers/slackbot/actions.js +1 -1
- package/src/providers/templatedocs/executors.d.ts +4 -0
- package/src/providers/templatedocs/executors.js +18 -0
- package/src/providers/templatedocs/runtime.d.ts +13 -0
- package/src/providers/templatedocs/runtime.js +151 -0
- package/src/providers/terminus_app/executors.d.ts +4 -0
- package/src/providers/terminus_app/executors.js +15 -0
- package/src/providers/terminus_app/runtime.d.ts +7 -0
- package/src/providers/terminus_app/runtime.js +172 -0
- package/src/providers/ticket_tailor/executors.d.ts +4 -0
- package/src/providers/ticket_tailor/executors.js +15 -0
- package/src/providers/ticket_tailor/runtime.d.ts +7 -0
- package/src/providers/ticket_tailor/runtime.js +152 -0
- package/src/providers/tongdaxin/actions.d.ts +1 -0
- package/src/providers/tongdaxin/actions.js +6 -3
- package/src/providers/tongdaxin/executors.js +51 -10
- package/src/providers/tongdaxin/named-action-output.d.ts +1 -0
- package/src/providers/tongdaxin/named-action-output.js +149 -0
- package/src/providers/tongdaxin/named-action-routing.d.ts +9 -0
- package/src/providers/tongdaxin/named-action-routing.js +417 -0
- package/src/providers/tongdaxin/named-actions.d.ts +2 -0
- package/src/providers/tongdaxin/named-actions.js +378 -0
- package/src/providers/veremark/executors.d.ts +4 -0
- package/src/providers/veremark/executors.js +129 -0
- package/src/providers/walletap/executors.d.ts +4 -0
- package/src/providers/walletap/executors.js +15 -0
- package/src/providers/walletap/runtime.d.ts +7 -0
- package/src/providers/walletap/runtime.js +147 -0
- package/src/providers/weixin_official_account/access-token.js +31 -7
- package/src/providers/weixin_store/access-token.js +33 -7
- package/src/providers/xiaohongshu_store/executors.js +152 -3
- package/src/server/api/openapi.js +3 -0
- package/src/server/connector-assets.d.ts +4 -0
- package/src/server/connector-assets.js +12 -0
- package/src/server/connector-build.d.ts +33 -0
- package/src/server/connector-build.js +73 -0
- package/src/server/connector-runtime.d.ts +1 -2
- package/src/server/connector-runtime.js +2 -8
- package/src/server/server-assets.d.ts +0 -28
- package/src/server/server-assets.js +0 -50
package/README.md
CHANGED
|
@@ -130,6 +130,33 @@ For Bun executables, include `getConnectorAssetDirectory()` in
|
|
|
130
130
|
the asset directory named `open-connector`; package assets resolve
|
|
131
131
|
independently of the working directory.
|
|
132
132
|
|
|
133
|
+
To include only selected providers, use the build helper:
|
|
134
|
+
|
|
135
|
+
```ts
|
|
136
|
+
import { getConnectorBuildOptions } from "@oomol-lab/open-connector/build";
|
|
137
|
+
|
|
138
|
+
const prepared = await getConnectorBuildOptions({ providers: ["github", "slack"] });
|
|
139
|
+
try {
|
|
140
|
+
await Bun.build({
|
|
141
|
+
entrypoints: ["./server.ts"],
|
|
142
|
+
target: "bun",
|
|
143
|
+
format: "esm",
|
|
144
|
+
splitting: true,
|
|
145
|
+
plugins: prepared.plugins,
|
|
146
|
+
external: prepared.external,
|
|
147
|
+
compile: { outfile: "./app", assets: prepared.assets },
|
|
148
|
+
});
|
|
149
|
+
} finally {
|
|
150
|
+
await prepared.dispose();
|
|
151
|
+
}
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Omitting options or `providers` includes all providers; `providers: []` includes
|
|
155
|
+
none. Unknown IDs fail preparation. Selection includes each provider's complete
|
|
156
|
+
executor module and catalog entry, including authentication and action schemas.
|
|
157
|
+
Shared runtime code and migrations remain included. The runtime API is unchanged,
|
|
158
|
+
and the installed npm package still contains all providers.
|
|
159
|
+
|
|
133
160
|
## Documentation
|
|
134
161
|
|
|
135
162
|
- [Runtime API and MCP](https://github.com/oomol-lab/open-connector/blob/main/docs/runtime-api.md)
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
{
|
|
2
|
+
"service": "assured_platform",
|
|
3
|
+
"displayName": "Assured Platform",
|
|
4
|
+
"description": "Manage Assured Platform residents, communities, and operational records.",
|
|
5
|
+
"categories": [
|
|
6
|
+
"Productivity"
|
|
7
|
+
],
|
|
8
|
+
"authTypes": [
|
|
9
|
+
"api_key"
|
|
10
|
+
],
|
|
11
|
+
"auth": [
|
|
12
|
+
{
|
|
13
|
+
"type": "api_key",
|
|
14
|
+
"label": "API Key",
|
|
15
|
+
"placeholder": "ASSURED_PLATFORM_API_KEY",
|
|
16
|
+
"description": "Assured Platform account API key sent with the x-api-key header. Request a key from Assured Support at support@withassured.com; see https://developers.withassured.com/."
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"homepageUrl": "https://www.withassured.com",
|
|
20
|
+
"actions": [
|
|
21
|
+
{
|
|
22
|
+
"id": "assured_platform.get_current_user",
|
|
23
|
+
"service": "assured_platform",
|
|
24
|
+
"name": "get_current_user",
|
|
25
|
+
"description": "Get details for the user authenticated by the Assured Platform API key.",
|
|
26
|
+
"operationType": "read",
|
|
27
|
+
"requiredScopes": [],
|
|
28
|
+
"providerPermissions": [],
|
|
29
|
+
"inputSchema": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"properties": {},
|
|
32
|
+
"additionalProperties": false,
|
|
33
|
+
"description": "The input payload for retrieving the current Assured Platform user."
|
|
34
|
+
},
|
|
35
|
+
"outputSchema": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {
|
|
38
|
+
"user": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"properties": {},
|
|
41
|
+
"additionalProperties": true,
|
|
42
|
+
"description": "The authenticated user returned by Assured Platform."
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"description": "The current Assured Platform user response."
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "assured_platform.get_task",
|
|
51
|
+
"service": "assured_platform",
|
|
52
|
+
"name": "get_task",
|
|
53
|
+
"description": "Get detailed information about one Assured Platform task.",
|
|
54
|
+
"operationType": "read",
|
|
55
|
+
"requiredScopes": [],
|
|
56
|
+
"providerPermissions": [],
|
|
57
|
+
"inputSchema": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"taskId": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"description": "The UUID of the task to retrieve.",
|
|
63
|
+
"format": "uuid"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"additionalProperties": false,
|
|
67
|
+
"description": "The input payload for retrieving an Assured Platform task."
|
|
68
|
+
},
|
|
69
|
+
"outputSchema": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"task": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {},
|
|
75
|
+
"additionalProperties": true,
|
|
76
|
+
"description": "One task returned by Assured Platform."
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"additionalProperties": false,
|
|
80
|
+
"description": "The Assured Platform task detail response."
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "assured_platform.list_tasks",
|
|
85
|
+
"service": "assured_platform",
|
|
86
|
+
"name": "list_tasks",
|
|
87
|
+
"description": "List Assured Platform tasks with optional filtering and offset pagination.",
|
|
88
|
+
"operationType": "read",
|
|
89
|
+
"requiredScopes": [],
|
|
90
|
+
"providerPermissions": [],
|
|
91
|
+
"inputSchema": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"properties": {
|
|
94
|
+
"limit": {
|
|
95
|
+
"type": "integer",
|
|
96
|
+
"minimum": 1,
|
|
97
|
+
"description": "The maximum number of tasks to return."
|
|
98
|
+
},
|
|
99
|
+
"offset": {
|
|
100
|
+
"type": "integer",
|
|
101
|
+
"minimum": 0,
|
|
102
|
+
"description": "The zero-based result offset."
|
|
103
|
+
},
|
|
104
|
+
"search": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"minLength": 1,
|
|
107
|
+
"description": "The text used to search tasks."
|
|
108
|
+
},
|
|
109
|
+
"status": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"minLength": 1,
|
|
112
|
+
"description": "The task status used to filter results."
|
|
113
|
+
},
|
|
114
|
+
"taskType": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"enum": [
|
|
117
|
+
"APPLICATION_REVIEW",
|
|
118
|
+
"CREDENTIALING_REQUEST",
|
|
119
|
+
"ENROLLMENT_REQUEST",
|
|
120
|
+
"EXPIRABLE",
|
|
121
|
+
"GLOBAL",
|
|
122
|
+
"INFORMATION_REQUIRED",
|
|
123
|
+
"PROFILE_INCOMPLETE",
|
|
124
|
+
"PROVIDER_ONBOARDING_DOCUMENT",
|
|
125
|
+
"SIGNATURE"
|
|
126
|
+
],
|
|
127
|
+
"description": "The task type used to filter results."
|
|
128
|
+
},
|
|
129
|
+
"assigneeId": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"description": "The UUID of the task assignee.",
|
|
132
|
+
"format": "uuid"
|
|
133
|
+
},
|
|
134
|
+
"clientId": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"description": "The UUID of the client associated with the task.",
|
|
137
|
+
"format": "uuid"
|
|
138
|
+
},
|
|
139
|
+
"facilityId": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "The UUID of the facility associated with the task.",
|
|
142
|
+
"format": "uuid"
|
|
143
|
+
},
|
|
144
|
+
"createdAtAfter": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"description": "Return tasks created at or after this timestamp.",
|
|
147
|
+
"format": "date-time"
|
|
148
|
+
},
|
|
149
|
+
"createdAtBefore": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"description": "Return tasks created at or before this timestamp.",
|
|
152
|
+
"format": "date-time"
|
|
153
|
+
},
|
|
154
|
+
"dueOnAfter": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"description": "Return tasks due at or after this timestamp.",
|
|
157
|
+
"format": "date-time"
|
|
158
|
+
},
|
|
159
|
+
"dueOnBefore": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"description": "Return tasks due at or before this timestamp.",
|
|
162
|
+
"format": "date-time"
|
|
163
|
+
},
|
|
164
|
+
"ordering": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"minLength": 1,
|
|
167
|
+
"description": "The documented Assured Platform ordering expression."
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"additionalProperties": false,
|
|
171
|
+
"description": "The input payload for listing Assured Platform tasks."
|
|
172
|
+
},
|
|
173
|
+
"outputSchema": {
|
|
174
|
+
"type": "object",
|
|
175
|
+
"properties": {
|
|
176
|
+
"count": {
|
|
177
|
+
"type": "integer",
|
|
178
|
+
"description": "The total number of matching tasks."
|
|
179
|
+
},
|
|
180
|
+
"next": {
|
|
181
|
+
"anyOf": [
|
|
182
|
+
{
|
|
183
|
+
"type": "string",
|
|
184
|
+
"description": "The URL for the next result page when one exists."
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"type": "null"
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
"previous": {
|
|
192
|
+
"anyOf": [
|
|
193
|
+
{
|
|
194
|
+
"type": "string",
|
|
195
|
+
"description": "The URL for the previous result page when one exists."
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"type": "null"
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
"tasks": {
|
|
203
|
+
"type": "array",
|
|
204
|
+
"items": {
|
|
205
|
+
"type": "object",
|
|
206
|
+
"properties": {},
|
|
207
|
+
"additionalProperties": true,
|
|
208
|
+
"description": "One task returned by Assured Platform."
|
|
209
|
+
},
|
|
210
|
+
"description": "The tasks returned for this page."
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"additionalProperties": false,
|
|
214
|
+
"description": "The paginated Assured Platform task list."
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}
|