@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
|
@@ -0,0 +1,747 @@
|
|
|
1
|
+
{
|
|
2
|
+
"service": "peec",
|
|
3
|
+
"displayName": "Peec AI",
|
|
4
|
+
"description": "Inspect Peec AI projects, prompts, visibility, sources, and analytics.",
|
|
5
|
+
"categories": [
|
|
6
|
+
"Marketing",
|
|
7
|
+
"Data & Analytics"
|
|
8
|
+
],
|
|
9
|
+
"authTypes": [
|
|
10
|
+
"api_key"
|
|
11
|
+
],
|
|
12
|
+
"auth": [
|
|
13
|
+
{
|
|
14
|
+
"type": "api_key",
|
|
15
|
+
"label": "API Key",
|
|
16
|
+
"placeholder": "PEEC_API_KEY",
|
|
17
|
+
"description": "Peec AI Customer API key sent with the X-API-Key header. Create a company- or project-scoped key at https://app.peec.ai/api-keys."
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"homepageUrl": "https://peec.ai/",
|
|
21
|
+
"actions": [
|
|
22
|
+
{
|
|
23
|
+
"id": "peec.get_brands_report",
|
|
24
|
+
"service": "peec",
|
|
25
|
+
"name": "get_brands_report",
|
|
26
|
+
"description": "Get Peec brand visibility, sentiment, position, and share-of-voice report rows.",
|
|
27
|
+
"operationType": "read",
|
|
28
|
+
"requiredScopes": [],
|
|
29
|
+
"providerPermissions": [],
|
|
30
|
+
"inputSchema": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"projectId": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"minLength": 1,
|
|
36
|
+
"description": "Peec project ID. Required by upstream when the connection uses a company-scoped API key."
|
|
37
|
+
},
|
|
38
|
+
"limit": {
|
|
39
|
+
"type": "integer",
|
|
40
|
+
"minimum": 1,
|
|
41
|
+
"maximum": 10000,
|
|
42
|
+
"description": "Maximum number of rows to return."
|
|
43
|
+
},
|
|
44
|
+
"offset": {
|
|
45
|
+
"type": "integer",
|
|
46
|
+
"minimum": 0,
|
|
47
|
+
"maximum": 500000,
|
|
48
|
+
"description": "Number of rows to skip before returning results."
|
|
49
|
+
},
|
|
50
|
+
"startDate": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"description": "First date included in the report window, in YYYY-MM-DD format.",
|
|
53
|
+
"format": "date"
|
|
54
|
+
},
|
|
55
|
+
"endDate": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "Last date included in the report window, in YYYY-MM-DD format.",
|
|
58
|
+
"format": "date"
|
|
59
|
+
},
|
|
60
|
+
"dimensions": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"items": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"enum": [
|
|
65
|
+
"prompt_id",
|
|
66
|
+
"model_channel_id",
|
|
67
|
+
"tag_id",
|
|
68
|
+
"topic_id",
|
|
69
|
+
"date",
|
|
70
|
+
"week",
|
|
71
|
+
"month",
|
|
72
|
+
"country_code",
|
|
73
|
+
"chat_id"
|
|
74
|
+
],
|
|
75
|
+
"description": "A dimension used to split report rows."
|
|
76
|
+
},
|
|
77
|
+
"description": "Dimensions used to split report rows.",
|
|
78
|
+
"uniqueItems": true
|
|
79
|
+
},
|
|
80
|
+
"filters": {
|
|
81
|
+
"type": "array",
|
|
82
|
+
"items": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"properties": {
|
|
85
|
+
"field": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"minLength": 1,
|
|
88
|
+
"description": "The Peec field to filter."
|
|
89
|
+
},
|
|
90
|
+
"operator": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"minLength": 1,
|
|
93
|
+
"description": "The comparison operator accepted for the selected field."
|
|
94
|
+
},
|
|
95
|
+
"values": {
|
|
96
|
+
"type": "array",
|
|
97
|
+
"items": {
|
|
98
|
+
"description": "A predicate value."
|
|
99
|
+
},
|
|
100
|
+
"description": "Values for a set predicate.",
|
|
101
|
+
"minItems": 1
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"additionalProperties": true,
|
|
105
|
+
"required": [
|
|
106
|
+
"field",
|
|
107
|
+
"operator",
|
|
108
|
+
"values"
|
|
109
|
+
],
|
|
110
|
+
"description": "A Peec report predicate that compares a field with a set of values."
|
|
111
|
+
},
|
|
112
|
+
"description": "Pre-aggregation filters. These change both numerator and denominator values for ratio metrics."
|
|
113
|
+
},
|
|
114
|
+
"having": {
|
|
115
|
+
"type": "array",
|
|
116
|
+
"items": {
|
|
117
|
+
"oneOf": [
|
|
118
|
+
{
|
|
119
|
+
"type": "object",
|
|
120
|
+
"properties": {
|
|
121
|
+
"field": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"minLength": 1,
|
|
124
|
+
"description": "The Peec field to filter."
|
|
125
|
+
},
|
|
126
|
+
"operator": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"minLength": 1,
|
|
129
|
+
"description": "The comparison operator accepted for the selected field."
|
|
130
|
+
},
|
|
131
|
+
"values": {
|
|
132
|
+
"type": "array",
|
|
133
|
+
"items": {
|
|
134
|
+
"description": "A predicate value."
|
|
135
|
+
},
|
|
136
|
+
"description": "Values for a set predicate.",
|
|
137
|
+
"minItems": 1
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"additionalProperties": true,
|
|
141
|
+
"required": [
|
|
142
|
+
"field",
|
|
143
|
+
"operator",
|
|
144
|
+
"values"
|
|
145
|
+
],
|
|
146
|
+
"description": "A Peec report predicate that compares a field with a set of values."
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"type": "object",
|
|
150
|
+
"properties": {
|
|
151
|
+
"field": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"minLength": 1,
|
|
154
|
+
"description": "The Peec metric field to filter."
|
|
155
|
+
},
|
|
156
|
+
"operator": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"minLength": 1,
|
|
159
|
+
"description": "The comparison operator accepted for the selected metric."
|
|
160
|
+
},
|
|
161
|
+
"value": {
|
|
162
|
+
"type": "number",
|
|
163
|
+
"description": "The scalar metric value to compare."
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"additionalProperties": true,
|
|
167
|
+
"required": [
|
|
168
|
+
"field",
|
|
169
|
+
"operator",
|
|
170
|
+
"value"
|
|
171
|
+
],
|
|
172
|
+
"description": "A Peec report predicate that compares a metric with one scalar value."
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"description": "A documented Peec having predicate."
|
|
176
|
+
},
|
|
177
|
+
"description": "Post-aggregation predicates. Use these to select rows without changing ratio-metric denominators."
|
|
178
|
+
},
|
|
179
|
+
"orderBy": {
|
|
180
|
+
"type": "array",
|
|
181
|
+
"items": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"properties": {
|
|
184
|
+
"field": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"minLength": 1,
|
|
187
|
+
"description": "The report field to sort by."
|
|
188
|
+
},
|
|
189
|
+
"direction": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"enum": [
|
|
192
|
+
"asc",
|
|
193
|
+
"desc"
|
|
194
|
+
],
|
|
195
|
+
"description": "The sort direction."
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"additionalProperties": false,
|
|
199
|
+
"required": [
|
|
200
|
+
"field"
|
|
201
|
+
],
|
|
202
|
+
"description": "A Peec report sort instruction."
|
|
203
|
+
},
|
|
204
|
+
"description": "Sort instructions applied in order."
|
|
205
|
+
},
|
|
206
|
+
"previousStartDate": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"description": "First date of an explicit comparison window; provide it with previousEndDate.",
|
|
209
|
+
"format": "date"
|
|
210
|
+
},
|
|
211
|
+
"previousEndDate": {
|
|
212
|
+
"type": "string",
|
|
213
|
+
"description": "Last date of an explicit comparison window; provide it with previousStartDate.",
|
|
214
|
+
"format": "date"
|
|
215
|
+
},
|
|
216
|
+
"includePreviousPeriod": {
|
|
217
|
+
"type": "boolean",
|
|
218
|
+
"description": "Whether to include metrics for the adjacent equal-length comparison window."
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"additionalProperties": false,
|
|
222
|
+
"description": "Parameters for a Peec brands report."
|
|
223
|
+
},
|
|
224
|
+
"outputSchema": {
|
|
225
|
+
"type": "object",
|
|
226
|
+
"properties": {
|
|
227
|
+
"rows": {
|
|
228
|
+
"type": "array",
|
|
229
|
+
"items": {
|
|
230
|
+
"type": "object",
|
|
231
|
+
"properties": {},
|
|
232
|
+
"additionalProperties": true,
|
|
233
|
+
"description": "One Peec report row."
|
|
234
|
+
},
|
|
235
|
+
"description": "The report rows returned by Peec. Row fields depend on the report and requested dimensions."
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"additionalProperties": false,
|
|
239
|
+
"description": "A Peec analytics report response."
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"id": "peec.get_domains_report",
|
|
244
|
+
"service": "peec",
|
|
245
|
+
"name": "get_domains_report",
|
|
246
|
+
"description": "Get Peec source-domain retrieval and citation report rows.",
|
|
247
|
+
"operationType": "read",
|
|
248
|
+
"requiredScopes": [],
|
|
249
|
+
"providerPermissions": [],
|
|
250
|
+
"inputSchema": {
|
|
251
|
+
"type": "object",
|
|
252
|
+
"properties": {
|
|
253
|
+
"projectId": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"minLength": 1,
|
|
256
|
+
"description": "Peec project ID. Required by upstream when the connection uses a company-scoped API key."
|
|
257
|
+
},
|
|
258
|
+
"limit": {
|
|
259
|
+
"type": "integer",
|
|
260
|
+
"minimum": 1,
|
|
261
|
+
"maximum": 10000,
|
|
262
|
+
"description": "Maximum number of rows to return."
|
|
263
|
+
},
|
|
264
|
+
"offset": {
|
|
265
|
+
"type": "integer",
|
|
266
|
+
"minimum": 0,
|
|
267
|
+
"maximum": 500000,
|
|
268
|
+
"description": "Number of rows to skip before returning results."
|
|
269
|
+
},
|
|
270
|
+
"startDate": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"description": "First date included in the report window, in YYYY-MM-DD format.",
|
|
273
|
+
"format": "date"
|
|
274
|
+
},
|
|
275
|
+
"endDate": {
|
|
276
|
+
"type": "string",
|
|
277
|
+
"description": "Last date included in the report window, in YYYY-MM-DD format.",
|
|
278
|
+
"format": "date"
|
|
279
|
+
},
|
|
280
|
+
"dimensions": {
|
|
281
|
+
"type": "array",
|
|
282
|
+
"items": {
|
|
283
|
+
"type": "string",
|
|
284
|
+
"enum": [
|
|
285
|
+
"prompt_id",
|
|
286
|
+
"model_channel_id",
|
|
287
|
+
"tag_id",
|
|
288
|
+
"topic_id",
|
|
289
|
+
"date",
|
|
290
|
+
"week",
|
|
291
|
+
"month",
|
|
292
|
+
"country_code",
|
|
293
|
+
"chat_id"
|
|
294
|
+
],
|
|
295
|
+
"description": "A dimension used to split report rows."
|
|
296
|
+
},
|
|
297
|
+
"description": "Dimensions used to split report rows.",
|
|
298
|
+
"uniqueItems": true
|
|
299
|
+
},
|
|
300
|
+
"filters": {
|
|
301
|
+
"type": "array",
|
|
302
|
+
"items": {
|
|
303
|
+
"type": "object",
|
|
304
|
+
"properties": {
|
|
305
|
+
"field": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"minLength": 1,
|
|
308
|
+
"description": "The Peec field to filter."
|
|
309
|
+
},
|
|
310
|
+
"operator": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"minLength": 1,
|
|
313
|
+
"description": "The comparison operator accepted for the selected field."
|
|
314
|
+
},
|
|
315
|
+
"values": {
|
|
316
|
+
"type": "array",
|
|
317
|
+
"items": {
|
|
318
|
+
"description": "A predicate value."
|
|
319
|
+
},
|
|
320
|
+
"description": "Values for a set predicate.",
|
|
321
|
+
"minItems": 1
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"additionalProperties": true,
|
|
325
|
+
"required": [
|
|
326
|
+
"field",
|
|
327
|
+
"operator",
|
|
328
|
+
"values"
|
|
329
|
+
],
|
|
330
|
+
"description": "A Peec report predicate that compares a field with a set of values."
|
|
331
|
+
},
|
|
332
|
+
"description": "Pre-aggregation filters. These change both numerator and denominator values for ratio metrics."
|
|
333
|
+
},
|
|
334
|
+
"having": {
|
|
335
|
+
"type": "array",
|
|
336
|
+
"items": {
|
|
337
|
+
"oneOf": [
|
|
338
|
+
{
|
|
339
|
+
"type": "object",
|
|
340
|
+
"properties": {
|
|
341
|
+
"field": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"minLength": 1,
|
|
344
|
+
"description": "The Peec field to filter."
|
|
345
|
+
},
|
|
346
|
+
"operator": {
|
|
347
|
+
"type": "string",
|
|
348
|
+
"minLength": 1,
|
|
349
|
+
"description": "The comparison operator accepted for the selected field."
|
|
350
|
+
},
|
|
351
|
+
"values": {
|
|
352
|
+
"type": "array",
|
|
353
|
+
"items": {
|
|
354
|
+
"description": "A predicate value."
|
|
355
|
+
},
|
|
356
|
+
"description": "Values for a set predicate.",
|
|
357
|
+
"minItems": 1
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"additionalProperties": true,
|
|
361
|
+
"required": [
|
|
362
|
+
"field",
|
|
363
|
+
"operator",
|
|
364
|
+
"values"
|
|
365
|
+
],
|
|
366
|
+
"description": "A Peec report predicate that compares a field with a set of values."
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"type": "object",
|
|
370
|
+
"properties": {
|
|
371
|
+
"field": {
|
|
372
|
+
"type": "string",
|
|
373
|
+
"minLength": 1,
|
|
374
|
+
"description": "The Peec metric field to filter."
|
|
375
|
+
},
|
|
376
|
+
"operator": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"minLength": 1,
|
|
379
|
+
"description": "The comparison operator accepted for the selected metric."
|
|
380
|
+
},
|
|
381
|
+
"value": {
|
|
382
|
+
"type": "number",
|
|
383
|
+
"description": "The scalar metric value to compare."
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"additionalProperties": true,
|
|
387
|
+
"required": [
|
|
388
|
+
"field",
|
|
389
|
+
"operator",
|
|
390
|
+
"value"
|
|
391
|
+
],
|
|
392
|
+
"description": "A Peec report predicate that compares a metric with one scalar value."
|
|
393
|
+
}
|
|
394
|
+
],
|
|
395
|
+
"description": "A documented Peec having predicate."
|
|
396
|
+
},
|
|
397
|
+
"description": "Post-aggregation predicates. Use these to select rows without changing ratio-metric denominators."
|
|
398
|
+
},
|
|
399
|
+
"orderBy": {
|
|
400
|
+
"type": "array",
|
|
401
|
+
"items": {
|
|
402
|
+
"type": "object",
|
|
403
|
+
"properties": {
|
|
404
|
+
"field": {
|
|
405
|
+
"type": "string",
|
|
406
|
+
"minLength": 1,
|
|
407
|
+
"description": "The report field to sort by."
|
|
408
|
+
},
|
|
409
|
+
"direction": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"enum": [
|
|
412
|
+
"asc",
|
|
413
|
+
"desc"
|
|
414
|
+
],
|
|
415
|
+
"description": "The sort direction."
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"additionalProperties": false,
|
|
419
|
+
"required": [
|
|
420
|
+
"field"
|
|
421
|
+
],
|
|
422
|
+
"description": "A Peec report sort instruction."
|
|
423
|
+
},
|
|
424
|
+
"description": "Sort instructions applied in order."
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"additionalProperties": false,
|
|
428
|
+
"description": "Parameters for a Peec domains report."
|
|
429
|
+
},
|
|
430
|
+
"outputSchema": {
|
|
431
|
+
"type": "object",
|
|
432
|
+
"properties": {
|
|
433
|
+
"rows": {
|
|
434
|
+
"type": "array",
|
|
435
|
+
"items": {
|
|
436
|
+
"type": "object",
|
|
437
|
+
"properties": {},
|
|
438
|
+
"additionalProperties": true,
|
|
439
|
+
"description": "One Peec report row."
|
|
440
|
+
},
|
|
441
|
+
"description": "The report rows returned by Peec. Row fields depend on the report and requested dimensions."
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"additionalProperties": false,
|
|
445
|
+
"description": "A Peec analytics report response."
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"id": "peec.get_urls_report",
|
|
450
|
+
"service": "peec",
|
|
451
|
+
"name": "get_urls_report",
|
|
452
|
+
"description": "Get Peec source-URL retrieval and citation report rows.",
|
|
453
|
+
"operationType": "read",
|
|
454
|
+
"requiredScopes": [],
|
|
455
|
+
"providerPermissions": [],
|
|
456
|
+
"inputSchema": {
|
|
457
|
+
"type": "object",
|
|
458
|
+
"properties": {
|
|
459
|
+
"projectId": {
|
|
460
|
+
"type": "string",
|
|
461
|
+
"minLength": 1,
|
|
462
|
+
"description": "Peec project ID. Required by upstream when the connection uses a company-scoped API key."
|
|
463
|
+
},
|
|
464
|
+
"limit": {
|
|
465
|
+
"type": "integer",
|
|
466
|
+
"minimum": 1,
|
|
467
|
+
"maximum": 10000,
|
|
468
|
+
"description": "Maximum number of rows to return."
|
|
469
|
+
},
|
|
470
|
+
"offset": {
|
|
471
|
+
"type": "integer",
|
|
472
|
+
"minimum": 0,
|
|
473
|
+
"maximum": 500000,
|
|
474
|
+
"description": "Number of rows to skip before returning results."
|
|
475
|
+
},
|
|
476
|
+
"startDate": {
|
|
477
|
+
"type": "string",
|
|
478
|
+
"description": "First date included in the report window, in YYYY-MM-DD format.",
|
|
479
|
+
"format": "date"
|
|
480
|
+
},
|
|
481
|
+
"endDate": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"description": "Last date included in the report window, in YYYY-MM-DD format.",
|
|
484
|
+
"format": "date"
|
|
485
|
+
},
|
|
486
|
+
"dimensions": {
|
|
487
|
+
"type": "array",
|
|
488
|
+
"items": {
|
|
489
|
+
"type": "string",
|
|
490
|
+
"enum": [
|
|
491
|
+
"prompt_id",
|
|
492
|
+
"model_channel_id",
|
|
493
|
+
"tag_id",
|
|
494
|
+
"topic_id",
|
|
495
|
+
"date",
|
|
496
|
+
"week",
|
|
497
|
+
"month",
|
|
498
|
+
"country_code",
|
|
499
|
+
"chat_id"
|
|
500
|
+
],
|
|
501
|
+
"description": "A dimension used to split report rows."
|
|
502
|
+
},
|
|
503
|
+
"description": "Dimensions used to split report rows.",
|
|
504
|
+
"uniqueItems": true
|
|
505
|
+
},
|
|
506
|
+
"filters": {
|
|
507
|
+
"type": "array",
|
|
508
|
+
"items": {
|
|
509
|
+
"type": "object",
|
|
510
|
+
"properties": {
|
|
511
|
+
"field": {
|
|
512
|
+
"type": "string",
|
|
513
|
+
"minLength": 1,
|
|
514
|
+
"description": "The Peec field to filter."
|
|
515
|
+
},
|
|
516
|
+
"operator": {
|
|
517
|
+
"type": "string",
|
|
518
|
+
"minLength": 1,
|
|
519
|
+
"description": "The comparison operator accepted for the selected field."
|
|
520
|
+
},
|
|
521
|
+
"values": {
|
|
522
|
+
"type": "array",
|
|
523
|
+
"items": {
|
|
524
|
+
"description": "A predicate value."
|
|
525
|
+
},
|
|
526
|
+
"description": "Values for a set predicate.",
|
|
527
|
+
"minItems": 1
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
"additionalProperties": true,
|
|
531
|
+
"required": [
|
|
532
|
+
"field",
|
|
533
|
+
"operator",
|
|
534
|
+
"values"
|
|
535
|
+
],
|
|
536
|
+
"description": "A Peec report predicate that compares a field with a set of values."
|
|
537
|
+
},
|
|
538
|
+
"description": "Pre-aggregation filters. These change both numerator and denominator values for ratio metrics."
|
|
539
|
+
},
|
|
540
|
+
"having": {
|
|
541
|
+
"type": "array",
|
|
542
|
+
"items": {
|
|
543
|
+
"oneOf": [
|
|
544
|
+
{
|
|
545
|
+
"type": "object",
|
|
546
|
+
"properties": {
|
|
547
|
+
"field": {
|
|
548
|
+
"type": "string",
|
|
549
|
+
"minLength": 1,
|
|
550
|
+
"description": "The Peec field to filter."
|
|
551
|
+
},
|
|
552
|
+
"operator": {
|
|
553
|
+
"type": "string",
|
|
554
|
+
"minLength": 1,
|
|
555
|
+
"description": "The comparison operator accepted for the selected field."
|
|
556
|
+
},
|
|
557
|
+
"values": {
|
|
558
|
+
"type": "array",
|
|
559
|
+
"items": {
|
|
560
|
+
"description": "A predicate value."
|
|
561
|
+
},
|
|
562
|
+
"description": "Values for a set predicate.",
|
|
563
|
+
"minItems": 1
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
"additionalProperties": true,
|
|
567
|
+
"required": [
|
|
568
|
+
"field",
|
|
569
|
+
"operator",
|
|
570
|
+
"values"
|
|
571
|
+
],
|
|
572
|
+
"description": "A Peec report predicate that compares a field with a set of values."
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"type": "object",
|
|
576
|
+
"properties": {
|
|
577
|
+
"field": {
|
|
578
|
+
"type": "string",
|
|
579
|
+
"minLength": 1,
|
|
580
|
+
"description": "The Peec metric field to filter."
|
|
581
|
+
},
|
|
582
|
+
"operator": {
|
|
583
|
+
"type": "string",
|
|
584
|
+
"minLength": 1,
|
|
585
|
+
"description": "The comparison operator accepted for the selected metric."
|
|
586
|
+
},
|
|
587
|
+
"value": {
|
|
588
|
+
"type": "number",
|
|
589
|
+
"description": "The scalar metric value to compare."
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
"additionalProperties": true,
|
|
593
|
+
"required": [
|
|
594
|
+
"field",
|
|
595
|
+
"operator",
|
|
596
|
+
"value"
|
|
597
|
+
],
|
|
598
|
+
"description": "A Peec report predicate that compares a metric with one scalar value."
|
|
599
|
+
}
|
|
600
|
+
],
|
|
601
|
+
"description": "A documented Peec having predicate."
|
|
602
|
+
},
|
|
603
|
+
"description": "Post-aggregation predicates. Use these to select rows without changing ratio-metric denominators."
|
|
604
|
+
},
|
|
605
|
+
"orderBy": {
|
|
606
|
+
"type": "array",
|
|
607
|
+
"items": {
|
|
608
|
+
"type": "object",
|
|
609
|
+
"properties": {
|
|
610
|
+
"field": {
|
|
611
|
+
"type": "string",
|
|
612
|
+
"minLength": 1,
|
|
613
|
+
"description": "The report field to sort by."
|
|
614
|
+
},
|
|
615
|
+
"direction": {
|
|
616
|
+
"type": "string",
|
|
617
|
+
"enum": [
|
|
618
|
+
"asc",
|
|
619
|
+
"desc"
|
|
620
|
+
],
|
|
621
|
+
"description": "The sort direction."
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
"additionalProperties": false,
|
|
625
|
+
"required": [
|
|
626
|
+
"field"
|
|
627
|
+
],
|
|
628
|
+
"description": "A Peec report sort instruction."
|
|
629
|
+
},
|
|
630
|
+
"description": "Sort instructions applied in order."
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"additionalProperties": false,
|
|
634
|
+
"description": "Parameters for a Peec URLs report."
|
|
635
|
+
},
|
|
636
|
+
"outputSchema": {
|
|
637
|
+
"type": "object",
|
|
638
|
+
"properties": {
|
|
639
|
+
"rows": {
|
|
640
|
+
"type": "array",
|
|
641
|
+
"items": {
|
|
642
|
+
"type": "object",
|
|
643
|
+
"properties": {},
|
|
644
|
+
"additionalProperties": true,
|
|
645
|
+
"description": "One Peec report row."
|
|
646
|
+
},
|
|
647
|
+
"description": "The report rows returned by Peec. Row fields depend on the report and requested dimensions."
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
"additionalProperties": false,
|
|
651
|
+
"description": "A Peec analytics report response."
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"id": "peec.list_projects",
|
|
656
|
+
"service": "peec",
|
|
657
|
+
"name": "list_projects",
|
|
658
|
+
"description": "List Peec projects available to a company-scoped API key.",
|
|
659
|
+
"operationType": "read",
|
|
660
|
+
"requiredScopes": [],
|
|
661
|
+
"providerPermissions": [],
|
|
662
|
+
"inputSchema": {
|
|
663
|
+
"type": "object",
|
|
664
|
+
"properties": {
|
|
665
|
+
"limit": {
|
|
666
|
+
"type": "integer",
|
|
667
|
+
"minimum": 1,
|
|
668
|
+
"maximum": 10000,
|
|
669
|
+
"description": "Maximum number of rows to return."
|
|
670
|
+
},
|
|
671
|
+
"offset": {
|
|
672
|
+
"type": "integer",
|
|
673
|
+
"minimum": 0,
|
|
674
|
+
"maximum": 500000,
|
|
675
|
+
"description": "Number of rows to skip before returning results."
|
|
676
|
+
},
|
|
677
|
+
"externalId": {
|
|
678
|
+
"type": "string",
|
|
679
|
+
"minLength": 1,
|
|
680
|
+
"description": "Only return the project with this external ID."
|
|
681
|
+
},
|
|
682
|
+
"startDate": {
|
|
683
|
+
"type": "string",
|
|
684
|
+
"description": "Only return projects created on or after this date.",
|
|
685
|
+
"format": "date"
|
|
686
|
+
},
|
|
687
|
+
"endDate": {
|
|
688
|
+
"type": "string",
|
|
689
|
+
"description": "Only return projects created on or before this date.",
|
|
690
|
+
"format": "date"
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
"additionalProperties": false,
|
|
694
|
+
"description": "Filters for listing Peec projects."
|
|
695
|
+
},
|
|
696
|
+
"outputSchema": {
|
|
697
|
+
"type": "object",
|
|
698
|
+
"properties": {
|
|
699
|
+
"projects": {
|
|
700
|
+
"type": "array",
|
|
701
|
+
"items": {
|
|
702
|
+
"type": "object",
|
|
703
|
+
"properties": {
|
|
704
|
+
"id": {
|
|
705
|
+
"type": "string",
|
|
706
|
+
"minLength": 1,
|
|
707
|
+
"description": "The Peec project ID."
|
|
708
|
+
},
|
|
709
|
+
"name": {
|
|
710
|
+
"type": "string",
|
|
711
|
+
"minLength": 1,
|
|
712
|
+
"description": "The project display name."
|
|
713
|
+
},
|
|
714
|
+
"status": {
|
|
715
|
+
"type": "string",
|
|
716
|
+
"description": "The current project status."
|
|
717
|
+
},
|
|
718
|
+
"countryCode": {
|
|
719
|
+
"type": "string",
|
|
720
|
+
"description": "The project's ISO 3166-1 alpha-2 country code."
|
|
721
|
+
},
|
|
722
|
+
"languageCode": {
|
|
723
|
+
"type": "string",
|
|
724
|
+
"description": "The project's ISO 639-1 prompt language code."
|
|
725
|
+
},
|
|
726
|
+
"externalId": {
|
|
727
|
+
"type": "string",
|
|
728
|
+
"description": "The caller-defined external project ID."
|
|
729
|
+
},
|
|
730
|
+
"createdAt": {
|
|
731
|
+
"type": "string",
|
|
732
|
+
"description": "The project creation date.",
|
|
733
|
+
"format": "date"
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
"additionalProperties": true,
|
|
737
|
+
"description": "A Peec project available to the connected API key."
|
|
738
|
+
},
|
|
739
|
+
"description": "The returned Peec projects."
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"additionalProperties": false,
|
|
743
|
+
"description": "The projects visible to the connected API key."
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
]
|
|
747
|
+
}
|