integrate-sdk 0.8.30-dev.0 → 0.8.31-dev.1

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.
Files changed (60) hide show
  1. package/dist/adapters/auto-routes.js +466 -0
  2. package/dist/adapters/index.js +466 -0
  3. package/dist/adapters/nextjs.js +466 -0
  4. package/dist/adapters/node.js +466 -0
  5. package/dist/adapters/svelte-kit.js +466 -0
  6. package/dist/adapters/tanstack-start.js +466 -0
  7. package/dist/index.js +488 -0
  8. package/dist/oauth.js +466 -0
  9. package/dist/server.js +477 -0
  10. package/dist/src/client.d.ts +12 -1
  11. package/dist/src/client.d.ts.map +1 -1
  12. package/dist/src/index.d.ts +22 -0
  13. package/dist/src/index.d.ts.map +1 -1
  14. package/dist/src/integrations/calcom-client.d.ts +355 -0
  15. package/dist/src/integrations/calcom-client.d.ts.map +1 -0
  16. package/dist/src/integrations/calcom.d.ts +39 -0
  17. package/dist/src/integrations/calcom.d.ts.map +1 -0
  18. package/dist/src/integrations/cursor-client.d.ts +259 -0
  19. package/dist/src/integrations/cursor-client.d.ts.map +1 -0
  20. package/dist/src/integrations/cursor.d.ts +30 -0
  21. package/dist/src/integrations/cursor.d.ts.map +1 -0
  22. package/dist/src/integrations/figma-client.d.ts +327 -0
  23. package/dist/src/integrations/figma-client.d.ts.map +1 -0
  24. package/dist/src/integrations/figma.d.ts +37 -0
  25. package/dist/src/integrations/figma.d.ts.map +1 -0
  26. package/dist/src/integrations/gworkspace-client.d.ts +392 -0
  27. package/dist/src/integrations/gworkspace-client.d.ts.map +1 -0
  28. package/dist/src/integrations/gworkspace.d.ts +37 -0
  29. package/dist/src/integrations/gworkspace.d.ts.map +1 -0
  30. package/dist/src/integrations/hubspot-client.d.ts +367 -0
  31. package/dist/src/integrations/hubspot-client.d.ts.map +1 -0
  32. package/dist/src/integrations/hubspot.d.ts +37 -0
  33. package/dist/src/integrations/hubspot.d.ts.map +1 -0
  34. package/dist/src/integrations/intercom-client.d.ts +414 -0
  35. package/dist/src/integrations/intercom-client.d.ts.map +1 -0
  36. package/dist/src/integrations/intercom.d.ts +37 -0
  37. package/dist/src/integrations/intercom.d.ts.map +1 -0
  38. package/dist/src/integrations/onedrive-client.d.ts +338 -0
  39. package/dist/src/integrations/onedrive-client.d.ts.map +1 -0
  40. package/dist/src/integrations/onedrive.d.ts +37 -0
  41. package/dist/src/integrations/onedrive.d.ts.map +1 -0
  42. package/dist/src/integrations/polar-client.d.ts +297 -0
  43. package/dist/src/integrations/polar-client.d.ts.map +1 -0
  44. package/dist/src/integrations/polar.d.ts +39 -0
  45. package/dist/src/integrations/polar.d.ts.map +1 -0
  46. package/dist/src/integrations/ramp-client.d.ts +341 -0
  47. package/dist/src/integrations/ramp-client.d.ts.map +1 -0
  48. package/dist/src/integrations/ramp.d.ts +39 -0
  49. package/dist/src/integrations/ramp.d.ts.map +1 -0
  50. package/dist/src/integrations/whatsapp-client.d.ts +320 -0
  51. package/dist/src/integrations/whatsapp-client.d.ts.map +1 -0
  52. package/dist/src/integrations/whatsapp.d.ts +39 -0
  53. package/dist/src/integrations/whatsapp.d.ts.map +1 -0
  54. package/dist/src/integrations/youtube-client.d.ts +459 -0
  55. package/dist/src/integrations/youtube-client.d.ts.map +1 -0
  56. package/dist/src/integrations/youtube.d.ts +37 -0
  57. package/dist/src/integrations/youtube.d.ts.map +1 -0
  58. package/dist/src/server.d.ts +11 -0
  59. package/dist/src/server.d.ts.map +1 -1
  60. package/package.json +1 -1
@@ -0,0 +1,367 @@
1
+ /**
2
+ * HubSpot Integration Client Types
3
+ * Fully typed interface for HubSpot integration methods
4
+ */
5
+ import type { MCPToolCallResponse } from "../protocol/messages.js";
6
+ /**
7
+ * HubSpot Contact
8
+ */
9
+ export interface HubSpotContact {
10
+ id: string;
11
+ properties: {
12
+ createdate: string;
13
+ email?: string;
14
+ firstname?: string;
15
+ lastname?: string;
16
+ phone?: string;
17
+ company?: string;
18
+ website?: string;
19
+ lifecyclestage?: string;
20
+ hs_object_id: string;
21
+ lastmodifieddate: string;
22
+ [key: string]: any;
23
+ };
24
+ createdAt: string;
25
+ updatedAt: string;
26
+ archived: boolean;
27
+ }
28
+ /**
29
+ * HubSpot Company
30
+ */
31
+ export interface HubSpotCompany {
32
+ id: string;
33
+ properties: {
34
+ createdate: string;
35
+ domain?: string;
36
+ name?: string;
37
+ phone?: string;
38
+ city?: string;
39
+ state?: string;
40
+ country?: string;
41
+ industry?: string;
42
+ numberofemployees?: string;
43
+ annualrevenue?: string;
44
+ hs_object_id: string;
45
+ lastmodifieddate: string;
46
+ [key: string]: any;
47
+ };
48
+ createdAt: string;
49
+ updatedAt: string;
50
+ archived: boolean;
51
+ }
52
+ /**
53
+ * HubSpot Deal
54
+ */
55
+ export interface HubSpotDeal {
56
+ id: string;
57
+ properties: {
58
+ createdate: string;
59
+ dealname?: string;
60
+ dealstage?: string;
61
+ pipeline?: string;
62
+ amount?: string;
63
+ closedate?: string;
64
+ dealtype?: string;
65
+ description?: string;
66
+ hs_object_id: string;
67
+ lastmodifieddate: string;
68
+ [key: string]: any;
69
+ };
70
+ createdAt: string;
71
+ updatedAt: string;
72
+ archived: boolean;
73
+ }
74
+ /**
75
+ * HubSpot Ticket
76
+ */
77
+ export interface HubSpotTicket {
78
+ id: string;
79
+ properties: {
80
+ createdate: string;
81
+ subject?: string;
82
+ content?: string;
83
+ hs_pipeline?: string;
84
+ hs_pipeline_stage?: string;
85
+ hs_ticket_priority?: string;
86
+ hs_ticket_category?: string;
87
+ hs_object_id: string;
88
+ lastmodifieddate: string;
89
+ [key: string]: any;
90
+ };
91
+ createdAt: string;
92
+ updatedAt: string;
93
+ archived: boolean;
94
+ }
95
+ /**
96
+ * HubSpot Integration Client Interface
97
+ * Provides type-safe methods for all HubSpot operations
98
+ */
99
+ export interface HubSpotIntegrationClient {
100
+ /**
101
+ * List contacts
102
+ *
103
+ * @example
104
+ * ```typescript
105
+ * const contacts = await client.hubspot.listContacts({
106
+ * limit: 50,
107
+ * properties: ["email", "firstname", "lastname"]
108
+ * });
109
+ * ```
110
+ */
111
+ listContacts(params?: {
112
+ /** Maximum number of results */
113
+ limit?: number;
114
+ /** Pagination cursor */
115
+ after?: string;
116
+ /** Properties to return */
117
+ properties?: string[];
118
+ /** Associations to include */
119
+ associations?: string[];
120
+ }): Promise<MCPToolCallResponse>;
121
+ /**
122
+ * Get contact details
123
+ *
124
+ * @example
125
+ * ```typescript
126
+ * const contact = await client.hubspot.getContact({
127
+ * contact_id: "123456"
128
+ * });
129
+ * ```
130
+ */
131
+ getContact(params: {
132
+ /** Contact ID */
133
+ contact_id: string;
134
+ /** Properties to return */
135
+ properties?: string[];
136
+ /** Associations to include */
137
+ associations?: string[];
138
+ }): Promise<MCPToolCallResponse>;
139
+ /**
140
+ * Create a new contact
141
+ *
142
+ * @example
143
+ * ```typescript
144
+ * const contact = await client.hubspot.createContact({
145
+ * properties: {
146
+ * email: "user@example.com",
147
+ * firstname: "John",
148
+ * lastname: "Doe"
149
+ * }
150
+ * });
151
+ * ```
152
+ */
153
+ createContact(params: {
154
+ /** Contact properties */
155
+ properties: {
156
+ email?: string;
157
+ firstname?: string;
158
+ lastname?: string;
159
+ phone?: string;
160
+ company?: string;
161
+ website?: string;
162
+ lifecyclestage?: string;
163
+ [key: string]: any;
164
+ };
165
+ }): Promise<MCPToolCallResponse>;
166
+ /**
167
+ * Update a contact
168
+ *
169
+ * @example
170
+ * ```typescript
171
+ * await client.hubspot.updateContact({
172
+ * contact_id: "123456",
173
+ * properties: {
174
+ * phone: "+1234567890"
175
+ * }
176
+ * });
177
+ * ```
178
+ */
179
+ updateContact(params: {
180
+ /** Contact ID */
181
+ contact_id: string;
182
+ /** Properties to update */
183
+ properties: {
184
+ email?: string;
185
+ firstname?: string;
186
+ lastname?: string;
187
+ phone?: string;
188
+ company?: string;
189
+ website?: string;
190
+ lifecyclestage?: string;
191
+ [key: string]: any;
192
+ };
193
+ }): Promise<MCPToolCallResponse>;
194
+ /**
195
+ * List companies
196
+ *
197
+ * @example
198
+ * ```typescript
199
+ * const companies = await client.hubspot.listCompanies({
200
+ * limit: 50,
201
+ * properties: ["name", "domain"]
202
+ * });
203
+ * ```
204
+ */
205
+ listCompanies(params?: {
206
+ /** Maximum number of results */
207
+ limit?: number;
208
+ /** Pagination cursor */
209
+ after?: string;
210
+ /** Properties to return */
211
+ properties?: string[];
212
+ /** Associations to include */
213
+ associations?: string[];
214
+ }): Promise<MCPToolCallResponse>;
215
+ /**
216
+ * Get company details
217
+ *
218
+ * @example
219
+ * ```typescript
220
+ * const company = await client.hubspot.getCompany({
221
+ * company_id: "123456"
222
+ * });
223
+ * ```
224
+ */
225
+ getCompany(params: {
226
+ /** Company ID */
227
+ company_id: string;
228
+ /** Properties to return */
229
+ properties?: string[];
230
+ /** Associations to include */
231
+ associations?: string[];
232
+ }): Promise<MCPToolCallResponse>;
233
+ /**
234
+ * Create a new company
235
+ *
236
+ * @example
237
+ * ```typescript
238
+ * const company = await client.hubspot.createCompany({
239
+ * properties: {
240
+ * name: "Acme Corp",
241
+ * domain: "acme.com"
242
+ * }
243
+ * });
244
+ * ```
245
+ */
246
+ createCompany(params: {
247
+ /** Company properties */
248
+ properties: {
249
+ name?: string;
250
+ domain?: string;
251
+ phone?: string;
252
+ city?: string;
253
+ state?: string;
254
+ country?: string;
255
+ industry?: string;
256
+ numberofemployees?: string;
257
+ annualrevenue?: string;
258
+ [key: string]: any;
259
+ };
260
+ }): Promise<MCPToolCallResponse>;
261
+ /**
262
+ * List deals
263
+ *
264
+ * @example
265
+ * ```typescript
266
+ * const deals = await client.hubspot.listDeals({
267
+ * limit: 50,
268
+ * properties: ["dealname", "amount", "dealstage"]
269
+ * });
270
+ * ```
271
+ */
272
+ listDeals(params?: {
273
+ /** Maximum number of results */
274
+ limit?: number;
275
+ /** Pagination cursor */
276
+ after?: string;
277
+ /** Properties to return */
278
+ properties?: string[];
279
+ /** Associations to include */
280
+ associations?: string[];
281
+ }): Promise<MCPToolCallResponse>;
282
+ /**
283
+ * Get deal details
284
+ *
285
+ * @example
286
+ * ```typescript
287
+ * const deal = await client.hubspot.getDeal({
288
+ * deal_id: "123456"
289
+ * });
290
+ * ```
291
+ */
292
+ getDeal(params: {
293
+ /** Deal ID */
294
+ deal_id: string;
295
+ /** Properties to return */
296
+ properties?: string[];
297
+ /** Associations to include */
298
+ associations?: string[];
299
+ }): Promise<MCPToolCallResponse>;
300
+ /**
301
+ * Create a new deal
302
+ *
303
+ * @example
304
+ * ```typescript
305
+ * const deal = await client.hubspot.createDeal({
306
+ * properties: {
307
+ * dealname: "New Deal",
308
+ * amount: "10000",
309
+ * dealstage: "appointmentscheduled"
310
+ * }
311
+ * });
312
+ * ```
313
+ */
314
+ createDeal(params: {
315
+ /** Deal properties */
316
+ properties: {
317
+ dealname?: string;
318
+ dealstage?: string;
319
+ pipeline?: string;
320
+ amount?: string;
321
+ closedate?: string;
322
+ dealtype?: string;
323
+ description?: string;
324
+ [key: string]: any;
325
+ };
326
+ }): Promise<MCPToolCallResponse>;
327
+ /**
328
+ * List support tickets
329
+ *
330
+ * @example
331
+ * ```typescript
332
+ * const tickets = await client.hubspot.listTickets({
333
+ * limit: 50,
334
+ * properties: ["subject", "content", "hs_pipeline_stage"]
335
+ * });
336
+ * ```
337
+ */
338
+ listTickets(params?: {
339
+ /** Maximum number of results */
340
+ limit?: number;
341
+ /** Pagination cursor */
342
+ after?: string;
343
+ /** Properties to return */
344
+ properties?: string[];
345
+ /** Associations to include */
346
+ associations?: string[];
347
+ }): Promise<MCPToolCallResponse>;
348
+ /**
349
+ * Get ticket details
350
+ *
351
+ * @example
352
+ * ```typescript
353
+ * const ticket = await client.hubspot.getTicket({
354
+ * ticket_id: "123456"
355
+ * });
356
+ * ```
357
+ */
358
+ getTicket(params: {
359
+ /** Ticket ID */
360
+ ticket_id: string;
361
+ /** Properties to return */
362
+ properties?: string[];
363
+ /** Associations to include */
364
+ associations?: string[];
365
+ }): Promise<MCPToolCallResponse>;
366
+ }
367
+ //# sourceMappingURL=hubspot-client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hubspot-client.d.ts","sourceRoot":"","sources":["../../../src/integrations/hubspot-client.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE;QACV,UAAU,EAAE,MAAM,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;QACrB,gBAAgB,EAAE,MAAM,CAAC;QACzB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE;QACV,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,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GAAG,GAAG,CAAC;SACpB,CAAC;KACH,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAEjC;;;;;;;;;;OAUG;IACH,WAAW,CAAC,MAAM,CAAC,EAAE;QACnB,gCAAgC;QAChC,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,wBAAwB;QACxB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,2BAA2B;QAC3B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;QACtB,8BAA8B;QAC9B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;KACzB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAEjC;;;;;;;;;OASG;IACH,SAAS,CAAC,MAAM,EAAE;QAChB,gBAAgB;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,2BAA2B;QAC3B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;QACtB,8BAA8B;QAC9B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;KACzB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;CAClC"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * HubSpot Integration
3
+ * Enables HubSpot tools with OAuth configuration
4
+ */
5
+ import type { MCPIntegration } from "./types.js";
6
+ /**
7
+ * HubSpot integration configuration
8
+ *
9
+ * SERVER-SIDE: Automatically reads HUBSPOT_CLIENT_ID and HUBSPOT_CLIENT_SECRET from environment.
10
+ * You can override by providing explicit clientId and clientSecret values.
11
+ * CLIENT-SIDE: Omit clientId and clientSecret when using createMCPClient()
12
+ */
13
+ export interface HubSpotIntegrationConfig {
14
+ /** HubSpot OAuth client ID (defaults to HUBSPOT_CLIENT_ID env var) */
15
+ clientId?: string;
16
+ /** HubSpot OAuth client secret (defaults to HUBSPOT_CLIENT_SECRET env var) */
17
+ clientSecret?: string;
18
+ /** Additional OAuth scopes (default: CRM scopes for contacts, companies, deals, tickets) */
19
+ scopes?: string[];
20
+ /** OAuth redirect URI */
21
+ redirectUri?: string;
22
+ }
23
+ /**
24
+ * Default HubSpot tools that this integration enables
25
+ * These should match the tool names exposed by your MCP server
26
+ */
27
+ declare const HUBSPOT_TOOLS: readonly ["hubspot_list_contacts", "hubspot_get_contact", "hubspot_create_contact", "hubspot_update_contact", "hubspot_list_companies", "hubspot_get_company", "hubspot_create_company", "hubspot_list_deals", "hubspot_get_deal", "hubspot_create_deal", "hubspot_list_tickets", "hubspot_get_ticket"];
28
+ export declare function hubspotIntegration(config?: HubSpotIntegrationConfig): MCPIntegration<"hubspot">;
29
+ /**
30
+ * Export tool names for type inference
31
+ */
32
+ export type HubSpotTools = typeof HUBSPOT_TOOLS[number];
33
+ /**
34
+ * Export HubSpot client types
35
+ */
36
+ export type { HubSpotIntegrationClient } from "./hubspot-client.js";
37
+ //# sourceMappingURL=hubspot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hubspot.d.ts","sourceRoot":"","sources":["../../../src/integrations/hubspot.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,YAAY,CAAC;AAG9D;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACvC,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4FAA4F;IAC5F,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,yBAAyB;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,QAAA,MAAM,aAAa,ySAaT,CAAC;AAGX,wBAAgB,kBAAkB,CAAC,MAAM,GAAE,wBAA6B,GAAG,cAAc,CAAC,SAAS,CAAC,CAiCnG;AAED;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC;AAExD;;GAEG;AACH,YAAY,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC"}