@apteva/integrations 0.15.10 → 0.15.11
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/dist/http-executor.d.ts.map +1 -1
- package/dist/http-executor.js +62 -8
- package/dist/http-executor.js.map +1 -1
- package/dist/mcp-generator.js +24 -0
- package/dist/mcp-generator.js.map +1 -1
- package/dist/types.d.ts +4 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/apps/anthropic-admin.json +183 -0
- package/src/apps/aws-ses.json +1 -1
- package/src/apps/braintree.json +53 -0
- package/src/apps/bunny-stream.json +50 -28
- package/src/apps/ccbill.json +142 -0
- package/src/apps/close.json +238 -301
- package/src/apps/craftcloud.json +251 -202
- package/src/apps/dataforseo.json +1700 -2
- package/src/apps/deepgram.json +288 -1
- package/src/apps/elevenlabs.json +9 -0
- package/src/apps/gladia.json +158 -0
- package/src/apps/gmail.json +2 -5
- package/src/apps/gumroad.json +569 -0
- package/src/apps/imaterialise.json +171 -262
- package/src/apps/jlcpcb.json +43 -0
- package/src/apps/jungle-scout.json +166 -0
- package/src/apps/ko-fi.json +34 -0
- package/src/apps/lemon-squeezy.json +270 -0
- package/src/apps/mollie.json +219 -0
- package/src/apps/paddle.json +199 -9
- package/src/apps/payhip.json +162 -0
- package/src/apps/paystack.json +207 -0
- package/src/apps/pipedrive.json +221 -212
- package/src/apps/razorpay.json +207 -0
- package/src/apps/ringover.json +69 -0
- package/src/apps/runpod.json +727 -0
- package/src/apps/salesforce-crm.json +192 -233
- package/src/apps/sculpteo.json +98 -180
- package/src/apps/segpay.json +215 -0
- package/src/apps/shapeways.json +114 -136
- package/src/apps/slant3d.json +260 -168
- package/src/apps/soniox.json +194 -0
- package/src/apps/speechmatics.json +167 -0
- package/src/apps/stripe.json +1 -0
- package/src/apps/surfer.json +511 -0
- package/src/apps/twitter-api.json +14 -1
- package/src/apps/verotel.json +124 -0
- package/src/apps/whop.json +364 -0
- package/src/apps/zendesk-sell.json +248 -0
- package/src/apps/zendesk.json +190 -259
package/src/apps/close.json
CHANGED
|
@@ -1,359 +1,296 @@
|
|
|
1
1
|
{
|
|
2
2
|
"slug": "close",
|
|
3
3
|
"name": "Close CRM",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Close CRM API for leads, contacts, opportunities, activities, tasks, sequences, statuses, pipelines, custom fields, webhooks, and events.",
|
|
5
5
|
"logo": "https://www.google.com/s2/favicons?domain=close.com&sz=128",
|
|
6
|
-
"categories": [
|
|
7
|
-
"crm",
|
|
8
|
-
"close",
|
|
9
|
-
"sales",
|
|
10
|
-
"leads",
|
|
11
|
-
"opportunities"
|
|
12
|
-
],
|
|
6
|
+
"categories": ["crm", "close", "sales", "leads", "opportunities"],
|
|
13
7
|
"base_url": "https://api.close.com/api/v1",
|
|
14
8
|
"auth": {
|
|
15
|
-
"types": [
|
|
16
|
-
"bearer"
|
|
17
|
-
],
|
|
9
|
+
"types": ["basic"],
|
|
18
10
|
"headers": {
|
|
19
|
-
"Authorization": "
|
|
11
|
+
"Authorization": "Basic {{basic_auth}}"
|
|
20
12
|
},
|
|
21
13
|
"credential_fields": [
|
|
22
14
|
{
|
|
23
|
-
"name": "
|
|
24
|
-
"label": "API Key"
|
|
15
|
+
"name": "api_key",
|
|
16
|
+
"label": "API Key",
|
|
17
|
+
"type": "password",
|
|
18
|
+
"description": "Close API key. The runtime sends it using HTTP Basic auth as api_key followed by an empty password, per Close's API docs."
|
|
25
19
|
}
|
|
26
20
|
]
|
|
27
21
|
},
|
|
22
|
+
"health_check": {
|
|
23
|
+
"tool": "list_users"
|
|
24
|
+
},
|
|
28
25
|
"tools": [
|
|
29
26
|
{
|
|
30
27
|
"name": "list_leads",
|
|
31
|
-
"description": "List leads
|
|
28
|
+
"description": "List leads. Close supports Lucene-style filtering in query.",
|
|
32
29
|
"method": "GET",
|
|
33
|
-
"path": "/
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
"properties": {
|
|
37
|
-
"limit": {
|
|
38
|
-
"type": "number",
|
|
39
|
-
"description": "Maximum results",
|
|
40
|
-
"default": 100
|
|
41
|
-
},
|
|
42
|
-
"skip": {
|
|
43
|
-
"type": "number",
|
|
44
|
-
"description": "Results to skip"
|
|
45
|
-
},
|
|
46
|
-
"query": {
|
|
47
|
-
"type": "string",
|
|
48
|
-
"description": "Search query"
|
|
49
|
-
},
|
|
50
|
-
"fields": {
|
|
51
|
-
"type": "array",
|
|
52
|
-
"items": {
|
|
53
|
-
"type": "string"
|
|
54
|
-
},
|
|
55
|
-
"description": "Fields to return"
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
30
|
+
"path": "/lead/",
|
|
31
|
+
"query_params": ["limit", "skip", "query", "_fields"],
|
|
32
|
+
"input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "query": {"type": "string"}, "_fields": {"type": "string", "description": "Comma-separated fields to return."}}}
|
|
59
33
|
},
|
|
60
34
|
{
|
|
61
35
|
"name": "get_lead",
|
|
62
|
-
"description": "Get
|
|
36
|
+
"description": "Get one lead by ID.",
|
|
63
37
|
"method": "GET",
|
|
64
|
-
"path": "/
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
"properties": {
|
|
68
|
-
"leadId": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"description": "ID of the lead"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"required": [
|
|
74
|
-
"leadId"
|
|
75
|
-
]
|
|
76
|
-
}
|
|
38
|
+
"path": "/lead/{leadId}/",
|
|
39
|
+
"path_params": ["leadId"],
|
|
40
|
+
"input_schema": {"type": "object", "properties": {"leadId": {"type": "string"}}, "required": ["leadId"]}
|
|
77
41
|
},
|
|
78
42
|
{
|
|
79
43
|
"name": "create_lead",
|
|
80
|
-
"description": "Create a
|
|
44
|
+
"description": "Create a lead. Common fields include name, description, url, status_id, contacts, custom fields, and organization fields.",
|
|
81
45
|
"method": "POST",
|
|
82
|
-
"path": "/
|
|
83
|
-
"input_schema": {
|
|
84
|
-
"type": "object",
|
|
85
|
-
"properties": {
|
|
86
|
-
"name": {
|
|
87
|
-
"type": "string",
|
|
88
|
-
"description": "Lead name"
|
|
89
|
-
},
|
|
90
|
-
"description": {
|
|
91
|
-
"type": "string",
|
|
92
|
-
"description": "Lead description"
|
|
93
|
-
},
|
|
94
|
-
"url": {
|
|
95
|
-
"type": "string",
|
|
96
|
-
"description": "Website URL"
|
|
97
|
-
},
|
|
98
|
-
"status_id": {
|
|
99
|
-
"type": "string",
|
|
100
|
-
"description": "Status ID"
|
|
101
|
-
},
|
|
102
|
-
"contacts": {
|
|
103
|
-
"type": "array",
|
|
104
|
-
"description": "Array of contact objects"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
"required": [
|
|
108
|
-
"name"
|
|
109
|
-
]
|
|
110
|
-
}
|
|
46
|
+
"path": "/lead/",
|
|
47
|
+
"input_schema": {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "url": {"type": "string"}, "status_id": {"type": "string"}, "contacts": {"type": "array"}}, "required": ["name"]}
|
|
111
48
|
},
|
|
112
49
|
{
|
|
113
50
|
"name": "update_lead",
|
|
114
|
-
"description": "Update
|
|
51
|
+
"description": "Update a lead by ID.",
|
|
115
52
|
"method": "PUT",
|
|
116
|
-
"path": "/
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
},
|
|
128
|
-
"description": {
|
|
129
|
-
"type": "string",
|
|
130
|
-
"description": "Lead description"
|
|
131
|
-
},
|
|
132
|
-
"status_id": {
|
|
133
|
-
"type": "string",
|
|
134
|
-
"description": "Status ID"
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"required": [
|
|
138
|
-
"leadId"
|
|
139
|
-
]
|
|
140
|
-
}
|
|
53
|
+
"path": "/lead/{leadId}/",
|
|
54
|
+
"path_params": ["leadId"],
|
|
55
|
+
"input_schema": {"type": "object", "properties": {"leadId": {"type": "string"}, "name": {"type": "string"}, "description": {"type": "string"}, "url": {"type": "string"}, "status_id": {"type": "string"}}, "required": ["leadId"]}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "delete_lead",
|
|
59
|
+
"description": "Delete one lead by ID.",
|
|
60
|
+
"method": "DELETE",
|
|
61
|
+
"path": "/lead/{leadId}/",
|
|
62
|
+
"path_params": ["leadId"],
|
|
63
|
+
"input_schema": {"type": "object", "properties": {"leadId": {"type": "string"}}, "required": ["leadId"]}
|
|
141
64
|
},
|
|
142
65
|
{
|
|
143
66
|
"name": "list_contacts",
|
|
144
|
-
"description": "List contacts
|
|
67
|
+
"description": "List contacts, optionally filtered by lead_id or query.",
|
|
145
68
|
"method": "GET",
|
|
146
|
-
"path": "/
|
|
147
|
-
"
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
"description": "Results to skip"
|
|
158
|
-
},
|
|
159
|
-
"leadId": {
|
|
160
|
-
"type": "string",
|
|
161
|
-
"description": "Filter by lead ID"
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
69
|
+
"path": "/contact/",
|
|
70
|
+
"query_params": ["limit", "skip", "query", "lead_id", "_fields"],
|
|
71
|
+
"input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "query": {"type": "string"}, "lead_id": {"type": "string"}, "_fields": {"type": "string"}}}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "get_contact",
|
|
75
|
+
"description": "Get one contact by ID.",
|
|
76
|
+
"method": "GET",
|
|
77
|
+
"path": "/contact/{contactId}/",
|
|
78
|
+
"path_params": ["contactId"],
|
|
79
|
+
"input_schema": {"type": "object", "properties": {"contactId": {"type": "string"}}, "required": ["contactId"]}
|
|
165
80
|
},
|
|
166
81
|
{
|
|
167
82
|
"name": "create_contact",
|
|
168
|
-
"description": "Create a
|
|
83
|
+
"description": "Create a contact under a lead. Common fields include lead_id, name, title, emails, phones, urls, and custom fields.",
|
|
169
84
|
"method": "POST",
|
|
170
|
-
"path": "/
|
|
171
|
-
"input_schema": {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
"description": "Array of email objects"
|
|
189
|
-
},
|
|
190
|
-
"phones": {
|
|
191
|
-
"type": "array",
|
|
192
|
-
"description": "Array of phone objects"
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
"required": [
|
|
196
|
-
"lead_id",
|
|
197
|
-
"name"
|
|
198
|
-
]
|
|
199
|
-
}
|
|
85
|
+
"path": "/contact/",
|
|
86
|
+
"input_schema": {"type": "object", "properties": {"lead_id": {"type": "string"}, "name": {"type": "string"}, "title": {"type": "string"}, "emails": {"type": "array"}, "phones": {"type": "array"}, "urls": {"type": "array"}}, "required": ["lead_id", "name"]}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "update_contact",
|
|
90
|
+
"description": "Update a contact by ID.",
|
|
91
|
+
"method": "PUT",
|
|
92
|
+
"path": "/contact/{contactId}/",
|
|
93
|
+
"path_params": ["contactId"],
|
|
94
|
+
"input_schema": {"type": "object", "properties": {"contactId": {"type": "string"}, "name": {"type": "string"}, "title": {"type": "string"}, "emails": {"type": "array"}, "phones": {"type": "array"}, "urls": {"type": "array"}}, "required": ["contactId"]}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "delete_contact",
|
|
98
|
+
"description": "Delete one contact by ID.",
|
|
99
|
+
"method": "DELETE",
|
|
100
|
+
"path": "/contact/{contactId}/",
|
|
101
|
+
"path_params": ["contactId"],
|
|
102
|
+
"input_schema": {"type": "object", "properties": {"contactId": {"type": "string"}}, "required": ["contactId"]}
|
|
200
103
|
},
|
|
201
104
|
{
|
|
202
105
|
"name": "list_opportunities",
|
|
203
|
-
"description": "List opportunities
|
|
106
|
+
"description": "List opportunities, optionally filtered by lead, status, user, or query.",
|
|
204
107
|
"method": "GET",
|
|
205
|
-
"path": "/
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
"description": "Results to skip"
|
|
217
|
-
},
|
|
218
|
-
"leadId": {
|
|
219
|
-
"type": "string",
|
|
220
|
-
"description": "Filter by lead ID"
|
|
221
|
-
},
|
|
222
|
-
"statusId": {
|
|
223
|
-
"type": "string",
|
|
224
|
-
"description": "Filter by status ID"
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
108
|
+
"path": "/opportunity/",
|
|
109
|
+
"query_params": ["limit", "skip", "query", "lead_id", "status_id", "user_id", "_fields"],
|
|
110
|
+
"input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "query": {"type": "string"}, "lead_id": {"type": "string"}, "status_id": {"type": "string"}, "user_id": {"type": "string"}, "_fields": {"type": "string"}}}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "get_opportunity",
|
|
114
|
+
"description": "Get one opportunity by ID.",
|
|
115
|
+
"method": "GET",
|
|
116
|
+
"path": "/opportunity/{opportunityId}/",
|
|
117
|
+
"path_params": ["opportunityId"],
|
|
118
|
+
"input_schema": {"type": "object", "properties": {"opportunityId": {"type": "string"}}, "required": ["opportunityId"]}
|
|
228
119
|
},
|
|
229
120
|
{
|
|
230
121
|
"name": "create_opportunity",
|
|
231
|
-
"description": "Create
|
|
122
|
+
"description": "Create an opportunity. Common fields include lead_id, status_id, value, value_period, confidence, date_won, date_lost, note, and user_id.",
|
|
232
123
|
"method": "POST",
|
|
233
|
-
"path": "/
|
|
234
|
-
"input_schema": {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
124
|
+
"path": "/opportunity/",
|
|
125
|
+
"input_schema": {"type": "object", "properties": {"lead_id": {"type": "string"}, "status_id": {"type": "string"}, "value": {"type": "number"}, "value_period": {"type": "string"}, "confidence": {"type": "number"}, "date_won": {"type": "string"}, "date_lost": {"type": "string"}, "note": {"type": "string"}, "user_id": {"type": "string"}}, "required": ["lead_id", "status_id"]}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "update_opportunity",
|
|
129
|
+
"description": "Update an opportunity by ID.",
|
|
130
|
+
"method": "PUT",
|
|
131
|
+
"path": "/opportunity/{opportunityId}/",
|
|
132
|
+
"path_params": ["opportunityId"],
|
|
133
|
+
"input_schema": {"type": "object", "properties": {"opportunityId": {"type": "string"}, "status_id": {"type": "string"}, "value": {"type": "number"}, "value_period": {"type": "string"}, "confidence": {"type": "number"}, "date_won": {"type": "string"}, "date_lost": {"type": "string"}, "note": {"type": "string"}, "user_id": {"type": "string"}}, "required": ["opportunityId"]}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "delete_opportunity",
|
|
137
|
+
"description": "Delete one opportunity by ID.",
|
|
138
|
+
"method": "DELETE",
|
|
139
|
+
"path": "/opportunity/{opportunityId}/",
|
|
140
|
+
"path_params": ["opportunityId"],
|
|
141
|
+
"input_schema": {"type": "object", "properties": {"opportunityId": {"type": "string"}}, "required": ["opportunityId"]}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "list_tasks",
|
|
145
|
+
"description": "List tasks, optionally filtered by lead, user, status, type, or query.",
|
|
146
|
+
"method": "GET",
|
|
147
|
+
"path": "/task/",
|
|
148
|
+
"query_params": ["limit", "skip", "query", "lead_id", "assigned_to", "status", "type", "_fields"],
|
|
149
|
+
"input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "query": {"type": "string"}, "lead_id": {"type": "string"}, "assigned_to": {"type": "string"}, "status": {"type": "string"}, "type": {"type": "string"}, "_fields": {"type": "string"}}}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "create_task",
|
|
153
|
+
"description": "Create a task. Include type, lead_id, text, date, assigned_to, and related fields accepted by Close.",
|
|
154
|
+
"method": "POST",
|
|
155
|
+
"path": "/task/",
|
|
156
|
+
"input_schema": {"type": "object", "properties": {"type": {"type": "string"}, "lead_id": {"type": "string"}, "text": {"type": "string"}, "date": {"type": "string"}, "assigned_to": {"type": "string"}}, "required": ["type"]}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "update_task",
|
|
160
|
+
"description": "Update a task by ID.",
|
|
161
|
+
"method": "PUT",
|
|
162
|
+
"path": "/task/{taskId}/",
|
|
163
|
+
"path_params": ["taskId"],
|
|
164
|
+
"input_schema": {"type": "object", "properties": {"taskId": {"type": "string"}, "text": {"type": "string"}, "date": {"type": "string"}, "assigned_to": {"type": "string"}, "is_complete": {"type": "boolean"}}, "required": ["taskId"]}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "delete_task",
|
|
168
|
+
"description": "Delete one task by ID.",
|
|
169
|
+
"method": "DELETE",
|
|
170
|
+
"path": "/task/{taskId}/",
|
|
171
|
+
"path_params": ["taskId"],
|
|
172
|
+
"input_schema": {"type": "object", "properties": {"taskId": {"type": "string"}}, "required": ["taskId"]}
|
|
267
173
|
},
|
|
268
174
|
{
|
|
269
175
|
"name": "list_activities",
|
|
270
|
-
"description": "List activities
|
|
176
|
+
"description": "List activities across calls, emails, notes, SMS, meetings, and custom activities.",
|
|
271
177
|
"method": "GET",
|
|
272
|
-
"path": "/
|
|
273
|
-
"
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
"description": "Activity type"
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
}
|
|
178
|
+
"path": "/activity/",
|
|
179
|
+
"query_params": ["limit", "skip", "lead_id", "user_id", "type", "date_created__gte", "date_updated__gte", "_fields"],
|
|
180
|
+
"input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "lead_id": {"type": "string"}, "user_id": {"type": "string"}, "type": {"type": "string"}, "date_created__gte": {"type": "string"}, "date_updated__gte": {"type": "string"}, "_fields": {"type": "string"}}}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "list_calls",
|
|
184
|
+
"description": "List call activities.",
|
|
185
|
+
"method": "GET",
|
|
186
|
+
"path": "/activity/call/",
|
|
187
|
+
"query_params": ["limit", "skip", "lead_id", "user_id", "date_created__gte", "date_updated__gte", "_fields"],
|
|
188
|
+
"input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "lead_id": {"type": "string"}, "user_id": {"type": "string"}, "date_created__gte": {"type": "string"}, "date_updated__gte": {"type": "string"}, "_fields": {"type": "string"}}}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "list_emails",
|
|
192
|
+
"description": "List email activities.",
|
|
193
|
+
"method": "GET",
|
|
194
|
+
"path": "/activity/email/",
|
|
195
|
+
"query_params": ["limit", "skip", "lead_id", "user_id", "date_created__gte", "date_updated__gte", "_fields"],
|
|
196
|
+
"input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "lead_id": {"type": "string"}, "user_id": {"type": "string"}, "date_created__gte": {"type": "string"}, "date_updated__gte": {"type": "string"}, "_fields": {"type": "string"}}}
|
|
295
197
|
},
|
|
296
198
|
{
|
|
297
|
-
"name": "
|
|
298
|
-
"description": "Create a
|
|
199
|
+
"name": "create_note_activity",
|
|
200
|
+
"description": "Create a note activity linked to a lead or contact.",
|
|
299
201
|
"method": "POST",
|
|
300
|
-
"path": "/
|
|
301
|
-
"input_schema": {
|
|
302
|
-
"type": "object",
|
|
303
|
-
"properties": {
|
|
304
|
-
"type": {
|
|
305
|
-
"type": "string",
|
|
306
|
-
"description": "Activity type (Note, Call, Email, Meeting)"
|
|
307
|
-
},
|
|
308
|
-
"lead_id": {
|
|
309
|
-
"type": "string",
|
|
310
|
-
"description": "Lead ID to associate with"
|
|
311
|
-
},
|
|
312
|
-
"note": {
|
|
313
|
-
"type": "string",
|
|
314
|
-
"description": "Note content"
|
|
315
|
-
},
|
|
316
|
-
"subject": {
|
|
317
|
-
"type": "string",
|
|
318
|
-
"description": "Subject (for emails)"
|
|
319
|
-
},
|
|
320
|
-
"body_text": {
|
|
321
|
-
"type": "string",
|
|
322
|
-
"description": "Body text (for emails)"
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
|
-
"required": [
|
|
326
|
-
"type",
|
|
327
|
-
"lead_id"
|
|
328
|
-
]
|
|
329
|
-
}
|
|
202
|
+
"path": "/activity/note/",
|
|
203
|
+
"input_schema": {"type": "object", "properties": {"lead_id": {"type": "string"}, "contact_id": {"type": "string"}, "note": {"type": "string"}}, "required": ["lead_id", "note"]}
|
|
330
204
|
},
|
|
331
205
|
{
|
|
332
|
-
"name": "
|
|
333
|
-
"description": "
|
|
206
|
+
"name": "list_sequences",
|
|
207
|
+
"description": "List Close sequences.",
|
|
334
208
|
"method": "GET",
|
|
335
|
-
"path": "/
|
|
336
|
-
"
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
209
|
+
"path": "/sequence/",
|
|
210
|
+
"query_params": ["limit", "skip", "_fields"],
|
|
211
|
+
"input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "_fields": {"type": "string"}}}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "list_sequence_subscriptions",
|
|
215
|
+
"description": "List sequence subscriptions.",
|
|
216
|
+
"method": "GET",
|
|
217
|
+
"path": "/sequence_subscription/",
|
|
218
|
+
"query_params": ["limit", "skip", "lead_id", "contact_id", "sequence_id", "status", "_fields"],
|
|
219
|
+
"input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "lead_id": {"type": "string"}, "contact_id": {"type": "string"}, "sequence_id": {"type": "string"}, "status": {"type": "string"}, "_fields": {"type": "string"}}}
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "create_sequence_subscription",
|
|
223
|
+
"description": "Subscribe a contact to a sequence.",
|
|
224
|
+
"method": "POST",
|
|
225
|
+
"path": "/sequence_subscription/",
|
|
226
|
+
"input_schema": {"type": "object", "properties": {"sequence_id": {"type": "string"}, "contact_id": {"type": "string"}, "sender_account_id": {"type": "string"}, "user_id": {"type": "string"}}, "required": ["sequence_id", "contact_id"]}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "list_webhooks",
|
|
230
|
+
"description": "List Close webhooks.",
|
|
231
|
+
"method": "GET",
|
|
232
|
+
"path": "/webhook/",
|
|
233
|
+
"query_params": ["limit", "skip"],
|
|
234
|
+
"input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}}}
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "create_webhook",
|
|
238
|
+
"description": "Create a Close webhook subscription. Include url and events as documented by Close.",
|
|
239
|
+
"method": "POST",
|
|
240
|
+
"path": "/webhook/",
|
|
241
|
+
"input_schema": {"type": "object", "properties": {"url": {"type": "string"}, "events": {"type": "array"}, "is_active": {"type": "boolean"}}, "required": ["url", "events"]}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "list_events",
|
|
245
|
+
"description": "List Close event stream entries.",
|
|
246
|
+
"method": "GET",
|
|
247
|
+
"path": "/event/",
|
|
248
|
+
"query_params": ["limit", "skip", "object_type", "action", "date_created__gte", "_fields"],
|
|
249
|
+
"input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "object_type": {"type": "string"}, "action": {"type": "string"}, "date_created__gte": {"type": "string"}, "_fields": {"type": "string"}}}
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "list_custom_fields",
|
|
253
|
+
"description": "List custom fields for an object type, for example lead, contact, opportunity, activity, or user.",
|
|
254
|
+
"method": "GET",
|
|
255
|
+
"path": "/custom_field/{objectType}/",
|
|
256
|
+
"path_params": ["objectType"],
|
|
257
|
+
"input_schema": {"type": "object", "properties": {"objectType": {"type": "string"}}, "required": ["objectType"]}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "list_pipelines",
|
|
261
|
+
"description": "List opportunity pipelines.",
|
|
262
|
+
"method": "GET",
|
|
263
|
+
"path": "/pipeline/",
|
|
264
|
+
"input_schema": {"type": "object", "properties": {}}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "list_opportunity_statuses",
|
|
268
|
+
"description": "List opportunity statuses/stages.",
|
|
269
|
+
"method": "GET",
|
|
270
|
+
"path": "/status/opportunity/",
|
|
271
|
+
"input_schema": {"type": "object", "properties": {}}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "list_lead_statuses",
|
|
275
|
+
"description": "List lead statuses.",
|
|
276
|
+
"method": "GET",
|
|
277
|
+
"path": "/status/lead/",
|
|
278
|
+
"input_schema": {"type": "object", "properties": {}}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "list_users",
|
|
282
|
+
"description": "List Close users.",
|
|
283
|
+
"method": "GET",
|
|
284
|
+
"path": "/user/",
|
|
285
|
+
"query_params": ["limit", "skip", "_fields"],
|
|
286
|
+
"input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "_fields": {"type": "string"}}}
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "get_organization",
|
|
290
|
+
"description": "Get the current Close organization.",
|
|
291
|
+
"method": "GET",
|
|
292
|
+
"path": "/organization/",
|
|
293
|
+
"input_schema": {"type": "object", "properties": {}}
|
|
357
294
|
}
|
|
358
295
|
]
|
|
359
296
|
}
|