@apteva/integrations 0.1.0

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 (42) hide show
  1. package/dist/apps/index.d.ts +25 -0
  2. package/dist/apps/index.d.ts.map +1 -0
  3. package/dist/apps/index.js +51 -0
  4. package/dist/apps/index.js.map +1 -0
  5. package/dist/http-executor.d.ts +21 -0
  6. package/dist/http-executor.d.ts.map +1 -0
  7. package/dist/http-executor.js +191 -0
  8. package/dist/http-executor.js.map +1 -0
  9. package/dist/index.d.ts +12 -0
  10. package/dist/index.d.ts.map +1 -0
  11. package/dist/index.js +13 -0
  12. package/dist/index.js.map +1 -0
  13. package/dist/mcp-generator.d.ts +8 -0
  14. package/dist/mcp-generator.d.ts.map +1 -0
  15. package/dist/mcp-generator.js +108 -0
  16. package/dist/mcp-generator.js.map +1 -0
  17. package/dist/oauth.d.ts +49 -0
  18. package/dist/oauth.d.ts.map +1 -0
  19. package/dist/oauth.js +119 -0
  20. package/dist/oauth.js.map +1 -0
  21. package/dist/providers/local.d.ts +55 -0
  22. package/dist/providers/local.d.ts.map +1 -0
  23. package/dist/providers/local.js +209 -0
  24. package/dist/providers/local.js.map +1 -0
  25. package/dist/triggers/local.d.ts +55 -0
  26. package/dist/triggers/local.d.ts.map +1 -0
  27. package/dist/triggers/local.js +103 -0
  28. package/dist/triggers/local.js.map +1 -0
  29. package/dist/types.d.ts +96 -0
  30. package/dist/types.d.ts.map +1 -0
  31. package/dist/types.js +3 -0
  32. package/dist/types.js.map +1 -0
  33. package/package.json +42 -0
  34. package/src/apps/github.json +96 -0
  35. package/src/apps/gmail.json +62 -0
  36. package/src/apps/google-calendar.json +68 -0
  37. package/src/apps/linear.json +85 -0
  38. package/src/apps/notion.json +102 -0
  39. package/src/apps/pushover.json +56 -0
  40. package/src/apps/sendgrid.json +63 -0
  41. package/src/apps/slack.json +74 -0
  42. package/src/apps/stripe.json +85 -0
@@ -0,0 +1,85 @@
1
+ {
2
+ "slug": "stripe",
3
+ "name": "Stripe",
4
+ "description": "Payment processing, subscriptions, and billing management",
5
+ "logo": null,
6
+ "categories": ["payments", "finance"],
7
+ "base_url": "https://api.stripe.com/v1",
8
+ "auth": {
9
+ "types": ["bearer"],
10
+ "headers": { "Authorization": "Bearer {{token}}", "Content-Type": "application/x-www-form-urlencoded" }
11
+ },
12
+ "tools": [
13
+ {
14
+ "name": "list_customers",
15
+ "description": "List customers",
16
+ "method": "GET",
17
+ "path": "/customers",
18
+ "input_schema": {
19
+ "type": "object",
20
+ "properties": {
21
+ "limit": { "type": "number", "description": "Max customers to return", "default": 10 },
22
+ "email": { "type": "string", "description": "Filter by email" }
23
+ }
24
+ }
25
+ },
26
+ {
27
+ "name": "create_customer",
28
+ "description": "Create a new customer",
29
+ "method": "POST",
30
+ "path": "/customers",
31
+ "input_schema": {
32
+ "type": "object",
33
+ "properties": {
34
+ "email": { "type": "string", "description": "Customer email" },
35
+ "name": { "type": "string", "description": "Customer name" },
36
+ "description": { "type": "string", "description": "Description" }
37
+ },
38
+ "required": ["email"]
39
+ }
40
+ },
41
+ {
42
+ "name": "list_charges",
43
+ "description": "List charges",
44
+ "method": "GET",
45
+ "path": "/charges",
46
+ "input_schema": {
47
+ "type": "object",
48
+ "properties": {
49
+ "limit": { "type": "number", "description": "Max charges to return", "default": 10 },
50
+ "customer": { "type": "string", "description": "Filter by customer ID" }
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "list_subscriptions",
56
+ "description": "List subscriptions",
57
+ "method": "GET",
58
+ "path": "/subscriptions",
59
+ "input_schema": {
60
+ "type": "object",
61
+ "properties": {
62
+ "limit": { "type": "number", "description": "Max subscriptions", "default": 10 },
63
+ "customer": { "type": "string", "description": "Filter by customer ID" },
64
+ "status": { "type": "string", "enum": ["active", "past_due", "canceled", "all"], "default": "all" }
65
+ }
66
+ }
67
+ },
68
+ {
69
+ "name": "create_payment_intent",
70
+ "description": "Create a payment intent",
71
+ "method": "POST",
72
+ "path": "/payment_intents",
73
+ "input_schema": {
74
+ "type": "object",
75
+ "properties": {
76
+ "amount": { "type": "number", "description": "Amount in smallest currency unit (e.g. cents)" },
77
+ "currency": { "type": "string", "description": "Three-letter currency code", "default": "usd" },
78
+ "customer": { "type": "string", "description": "Customer ID" },
79
+ "description": { "type": "string", "description": "Description" }
80
+ },
81
+ "required": ["amount", "currency"]
82
+ }
83
+ }
84
+ ]
85
+ }