@nordsym/apiclaw 1.5.18 → 1.5.19

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 (66) hide show
  1. package/convex/http.js.map +1 -1
  2. package/convex/http.ts +315 -0
  3. package/dist/credentials.d.ts.map +1 -1
  4. package/dist/credentials.js +123 -0
  5. package/dist/credentials.js.map +1 -1
  6. package/package.json +2 -2
  7. package/src/credentials.ts +131 -0
  8. package/convex/adminActivate.d.ts +0 -3
  9. package/convex/adminActivate.js +0 -47
  10. package/convex/adminStats.d.ts +0 -3
  11. package/convex/adminStats.js +0 -42
  12. package/convex/agents.d.ts +0 -54
  13. package/convex/agents.js +0 -499
  14. package/convex/analytics.d.ts +0 -5
  15. package/convex/analytics.js +0 -166
  16. package/convex/billing.d.ts +0 -88
  17. package/convex/billing.js +0 -655
  18. package/convex/capabilities.d.ts +0 -9
  19. package/convex/capabilities.js +0 -145
  20. package/convex/chains.d.ts +0 -67
  21. package/convex/chains.js +0 -1042
  22. package/convex/credits.d.ts +0 -25
  23. package/convex/credits.js +0 -186
  24. package/convex/crons.d.ts +0 -3
  25. package/convex/crons.js +0 -17
  26. package/convex/directCall.d.ts +0 -72
  27. package/convex/directCall.js +0 -627
  28. package/convex/earnProgress.d.ts +0 -58
  29. package/convex/earnProgress.js +0 -649
  30. package/convex/email.d.ts +0 -14
  31. package/convex/email.js +0 -300
  32. package/convex/feedback.d.ts +0 -7
  33. package/convex/feedback.js +0 -227
  34. package/convex/http.d.ts +0 -3
  35. package/convex/http.js +0 -1106
  36. package/convex/http.ts.bak +0 -934
  37. package/convex/logs.d.ts +0 -38
  38. package/convex/logs.js +0 -487
  39. package/convex/mou.d.ts +0 -6
  40. package/convex/mou.js +0 -82
  41. package/convex/providerKeys.d.ts +0 -31
  42. package/convex/providerKeys.js +0 -257
  43. package/convex/providers.d.ts +0 -29
  44. package/convex/providers.js +0 -756
  45. package/convex/purchases.d.ts +0 -7
  46. package/convex/purchases.js +0 -157
  47. package/convex/ratelimit.d.ts +0 -4
  48. package/convex/ratelimit.js +0 -91
  49. package/convex/searchLogs.d.ts +0 -4
  50. package/convex/searchLogs.js +0 -129
  51. package/convex/spendAlerts.d.ts +0 -36
  52. package/convex/spendAlerts.js +0 -380
  53. package/convex/stripeActions.d.ts +0 -19
  54. package/convex/stripeActions.js +0 -411
  55. package/convex/teams.d.ts +0 -21
  56. package/convex/teams.js +0 -215
  57. package/convex/telemetry.d.ts +0 -4
  58. package/convex/telemetry.js +0 -74
  59. package/convex/usage.d.ts +0 -27
  60. package/convex/usage.js +0 -229
  61. package/convex/waitlist.d.ts +0 -4
  62. package/convex/waitlist.js +0 -49
  63. package/convex/webhooks.d.ts +0 -12
  64. package/convex/webhooks.js +0 -410
  65. package/convex/workspaces.d.ts +0 -29
  66. package/convex/workspaces.js +0 -880
@@ -1,88 +0,0 @@
1
- /**
2
- * Link a Stripe customer to a workspace
3
- */
4
- export declare const linkCustomer: any;
5
- /**
6
- * Update subscription status for a workspace
7
- */
8
- export declare const updateSubscription: any;
9
- /**
10
- * Record daily usage for billing
11
- */
12
- export declare const recordUsage: any;
13
- /**
14
- * Process a successful payment (from webhook)
15
- */
16
- export declare const processPayment: any;
17
- /**
18
- * Increment credit balance (for prepaid credits)
19
- */
20
- export declare const incrementCredits: any;
21
- /**
22
- * Decrement credit balance (when using prepaid credits)
23
- */
24
- export declare const decrementCredits: any;
25
- /**
26
- * Mark usage as reported to Stripe
27
- */
28
- export declare const markUsageReported: any;
29
- /**
30
- * Update invoice status (from webhook)
31
- */
32
- export declare const updateInvoiceStatus: any;
33
- /**
34
- * Reset usage count on subscription cancellation
35
- * Gives user a clean slate when downgrading to free
36
- */
37
- export declare const resetUsageOnCancellation: any;
38
- /**
39
- * Update payment method info (from webhook)
40
- */
41
- export declare const updatePaymentMethodInfo: any;
42
- /**
43
- * Get billing info for a workspace
44
- */
45
- export declare const getInfo: any;
46
- /**
47
- * Get current period usage
48
- */
49
- export declare const getCurrentUsage: any;
50
- /**
51
- * Get invoices for a workspace
52
- */
53
- export declare const getInvoices: any;
54
- /**
55
- * Get unreported usage records (for cron job)
56
- */
57
- export declare const getUnreportedUsage: any;
58
- /**
59
- * Get workspace by Stripe customer ID
60
- */
61
- export declare const getByStripeCustomerId: any;
62
- /**
63
- * Get workspace by ID
64
- */
65
- export declare const getWorkspace: any;
66
- /**
67
- * Get all workspaces with active Stripe subscriptions (internal)
68
- */
69
- export declare const getActiveSubscriptions: any;
70
- /**
71
- * Get unreported usage records for a specific workspace (internal)
72
- */
73
- export declare const getUnreportedUsageForWorkspace: any;
74
- /**
75
- * Mark multiple usage records as reported (internal)
76
- */
77
- export declare const markUsageRecordsReported: any;
78
- /**
79
- * Report usage to Stripe for a single workspace
80
- * Internal action - called by the daily cron
81
- */
82
- export declare const reportUsageToStripe: any;
83
- /**
84
- * Daily cron job: Report all unreported usage to Stripe
85
- * Runs at 00:05 UTC
86
- */
87
- export declare const reportAllUsageToStripe: any;
88
- //# sourceMappingURL=billing.d.ts.map