@vibexp/api-client 0.45.0 → 0.47.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.
@@ -882,34 +882,6 @@ export const restoreBlueprintVersion = (options) => (options.client ?? client).p
882
882
  url: '/api/v1/{team_id}/blueprints/{project_id}/{slug}/versions/{version_number}/restore',
883
883
  ...options
884
884
  });
885
- /**
886
- * Delete Claude Code session
887
- *
888
- * Deletes a specific Claude Code session and all associated hook data
889
- */
890
- export const deleteClaudeCodeSession = (options) => (options.client ?? client).delete({
891
- security: [{
892
- key: 'BearerAuth',
893
- scheme: 'bearer',
894
- type: 'http'
895
- }],
896
- url: '/api/v1/ai-tools/claude-code/sessions/{session_id}',
897
- ...options
898
- });
899
- /**
900
- * Delete Cursor IDE session
901
- *
902
- * Deletes a specific Cursor IDE session and all associated hook data
903
- */
904
- export const deleteCursorIdeSession = (options) => (options.client ?? client).delete({
905
- security: [{
906
- key: 'BearerAuth',
907
- scheme: 'bearer',
908
- type: 'http'
909
- }],
910
- url: '/api/v1/ai-tools/cursor-ide/sessions/{session_id}',
911
- ...options
912
- });
913
885
  /**
914
886
  * Get resource usage statistics
915
887
  *
@@ -2093,242 +2065,6 @@ export const listConversationExecutions = (options) => (options.client ?? client
2093
2065
  url: '/api/v1/{team_id}/agents/conversations/{conversation_id}/executions',
2094
2066
  ...options
2095
2067
  });
2096
- /**
2097
- * List Claude Code hook payloads
2098
- *
2099
- * Returns the authenticated user's stored Claude Code hook payloads with pagination and optional filters
2100
- */
2101
- export const listClaudeCodeHooks = (options) => (options?.client ?? client).get({
2102
- responseType: 'json',
2103
- security: [{
2104
- key: 'ApiKeyAuth',
2105
- scheme: 'bearer',
2106
- type: 'http'
2107
- }, {
2108
- in: 'cookie',
2109
- name: 'vx_session',
2110
- type: 'apiKey'
2111
- }],
2112
- url: '/api/v1/ai-tools/claude-code/hooks',
2113
- ...options
2114
- });
2115
- /**
2116
- * List Claude Code sessions
2117
- *
2118
- * Returns the authenticated user's Claude Code session summaries with pagination
2119
- */
2120
- export const listClaudeCodeSessions = (options) => (options?.client ?? client).get({
2121
- responseType: 'json',
2122
- security: [{
2123
- key: 'ApiKeyAuth',
2124
- scheme: 'bearer',
2125
- type: 'http'
2126
- }, {
2127
- in: 'cookie',
2128
- name: 'vx_session',
2129
- type: 'apiKey'
2130
- }],
2131
- url: '/api/v1/ai-tools/claude-code/sessions',
2132
- ...options
2133
- });
2134
- /**
2135
- * Get Claude Code session counts
2136
- *
2137
- * Returns the authenticated user's Claude Code session counts per day for the requested range
2138
- */
2139
- export const getClaudeCodeSessionCounts = (options) => (options?.client ?? client).get({
2140
- responseType: 'json',
2141
- security: [{
2142
- key: 'ApiKeyAuth',
2143
- scheme: 'bearer',
2144
- type: 'http'
2145
- }, {
2146
- in: 'cookie',
2147
- name: 'vx_session',
2148
- type: 'apiKey'
2149
- }],
2150
- url: '/api/v1/ai-tools/claude-code/session-counts',
2151
- ...options
2152
- });
2153
- /**
2154
- * Get Claude Code overview statistics
2155
- *
2156
- * Returns aggregated Claude Code usage statistics for the authenticated user's overview dashboard
2157
- */
2158
- export const getClaudeCodeOverviewStats = (options) => (options?.client ?? client).get({
2159
- responseType: 'json',
2160
- security: [{
2161
- key: 'ApiKeyAuth',
2162
- scheme: 'bearer',
2163
- type: 'http'
2164
- }, {
2165
- in: 'cookie',
2166
- name: 'vx_session',
2167
- type: 'apiKey'
2168
- }],
2169
- url: '/api/v1/ai-tools/claude-code/overview-stats',
2170
- ...options
2171
- });
2172
- /**
2173
- * List recent Claude Code activities
2174
- *
2175
- * Returns the authenticated user's recent Claude Code activities with pagination and optional filters
2176
- */
2177
- export const listClaudeCodeRecentActivities = (options) => (options?.client ?? client).get({
2178
- responseType: 'json',
2179
- security: [{
2180
- key: 'ApiKeyAuth',
2181
- scheme: 'bearer',
2182
- type: 'http'
2183
- }, {
2184
- in: 'cookie',
2185
- name: 'vx_session',
2186
- type: 'apiKey'
2187
- }],
2188
- url: '/api/v1/ai-tools/claude-code/recent-activities',
2189
- ...options
2190
- });
2191
- /**
2192
- * List Cursor IDE hook payloads
2193
- *
2194
- * Returns the authenticated user's stored Cursor IDE hook payloads with pagination and optional filters
2195
- */
2196
- export const listCursorIdeHooks = (options) => (options?.client ?? client).get({
2197
- responseType: 'json',
2198
- security: [{
2199
- key: 'ApiKeyAuth',
2200
- scheme: 'bearer',
2201
- type: 'http'
2202
- }, {
2203
- in: 'cookie',
2204
- name: 'vx_session',
2205
- type: 'apiKey'
2206
- }],
2207
- url: '/api/v1/ai-tools/cursor-ide/hooks',
2208
- ...options
2209
- });
2210
- /**
2211
- * List Cursor IDE sessions
2212
- *
2213
- * Returns the authenticated user's Cursor IDE session summaries with pagination
2214
- */
2215
- export const listCursorIdeSessions = (options) => (options?.client ?? client).get({
2216
- responseType: 'json',
2217
- security: [{
2218
- key: 'ApiKeyAuth',
2219
- scheme: 'bearer',
2220
- type: 'http'
2221
- }, {
2222
- in: 'cookie',
2223
- name: 'vx_session',
2224
- type: 'apiKey'
2225
- }],
2226
- url: '/api/v1/ai-tools/cursor-ide/sessions',
2227
- ...options
2228
- });
2229
- /**
2230
- * Get Cursor IDE session counts
2231
- *
2232
- * Returns the authenticated user's Cursor IDE session counts per day for the requested range
2233
- */
2234
- export const getCursorIdeSessionCounts = (options) => (options?.client ?? client).get({
2235
- responseType: 'json',
2236
- security: [{
2237
- key: 'ApiKeyAuth',
2238
- scheme: 'bearer',
2239
- type: 'http'
2240
- }, {
2241
- in: 'cookie',
2242
- name: 'vx_session',
2243
- type: 'apiKey'
2244
- }],
2245
- url: '/api/v1/ai-tools/cursor-ide/session-counts',
2246
- ...options
2247
- });
2248
- /**
2249
- * Get Cursor IDE overview statistics
2250
- *
2251
- * Returns aggregated Cursor IDE usage statistics for the authenticated user's overview dashboard
2252
- */
2253
- export const getCursorIdeOverviewStats = (options) => (options?.client ?? client).get({
2254
- responseType: 'json',
2255
- security: [{
2256
- key: 'ApiKeyAuth',
2257
- scheme: 'bearer',
2258
- type: 'http'
2259
- }, {
2260
- in: 'cookie',
2261
- name: 'vx_session',
2262
- type: 'apiKey'
2263
- }],
2264
- url: '/api/v1/ai-tools/cursor-ide/overview-stats',
2265
- ...options
2266
- });
2267
- /**
2268
- * List recent Cursor IDE activities
2269
- *
2270
- * Returns the authenticated user's recent Cursor IDE activities with pagination and optional filters
2271
- */
2272
- export const listCursorIdeRecentActivities = (options) => (options?.client ?? client).get({
2273
- responseType: 'json',
2274
- security: [{
2275
- key: 'ApiKeyAuth',
2276
- scheme: 'bearer',
2277
- type: 'http'
2278
- }, {
2279
- in: 'cookie',
2280
- name: 'vx_session',
2281
- type: 'apiKey'
2282
- }],
2283
- url: '/api/v1/ai-tools/cursor-ide/recent-activities',
2284
- ...options
2285
- });
2286
- /**
2287
- * Ingest Claude Code hook payload
2288
- *
2289
- * Stores a hook payload fired by the Claude Code CLI during an active coding session. Authenticated via API key (bearer) or session cookie; not IP-rate-limited. Responses use the legacy CLI-compatible `{status, message}` shape rather than the standard envelope. New sessions are checked against the user's `ai_session` resource limit (and `ai_tool` limit for the first-ever session), returning 403 when exceeded.
2290
- */
2291
- export const ingestClaudeCodeHook = (options) => (options.client ?? client).post({
2292
- responseType: 'json',
2293
- security: [{
2294
- key: 'ApiKeyAuth',
2295
- scheme: 'bearer',
2296
- type: 'http'
2297
- }, {
2298
- in: 'cookie',
2299
- name: 'vx_session',
2300
- type: 'apiKey'
2301
- }],
2302
- url: '/api/v1/claude-code/hooks',
2303
- ...options,
2304
- headers: {
2305
- 'Content-Type': 'application/json',
2306
- ...options.headers
2307
- }
2308
- });
2309
- /**
2310
- * Ingest Cursor IDE hook payload
2311
- *
2312
- * Stores a hook payload fired by Cursor IDE hooks. Authenticated via API key (bearer) or session cookie; not IP-rate-limited. When `session_id` is absent, `conversation_id` is used as the session identifier (one of the two is required). Responses use the legacy CLI-compatible `{status, message}` shape rather than the standard envelope. New sessions are checked against the user's `ai_session` resource limit (and `ai_tool` limit for the first-ever session), returning 403 when exceeded.
2313
- */
2314
- export const ingestCursorIdeHook = (options) => (options.client ?? client).post({
2315
- responseType: 'json',
2316
- security: [{
2317
- key: 'ApiKeyAuth',
2318
- scheme: 'bearer',
2319
- type: 'http'
2320
- }, {
2321
- in: 'cookie',
2322
- name: 'vx_session',
2323
- type: 'apiKey'
2324
- }],
2325
- url: '/api/v1/cursor-ide/hooks',
2326
- ...options,
2327
- headers: {
2328
- 'Content-Type': 'application/json',
2329
- ...options.headers
2330
- }
2331
- });
2332
2068
  /**
2333
2069
  * List teams
2334
2070
  *