@renai-labs/sdk 0.1.0 → 0.1.2

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 (38) hide show
  1. package/dist/auth.d.ts +1 -0
  2. package/dist/auth.js +2 -1
  3. package/dist/client.js +12 -1
  4. package/dist/generated/@tanstack/react-query.gen.d.ts +1056 -1058
  5. package/dist/generated/@tanstack/react-query.gen.js +1455 -1390
  6. package/dist/generated/client/client.gen.d.ts +1 -1
  7. package/dist/generated/client/client.gen.js +44 -46
  8. package/dist/generated/client/index.d.ts +8 -8
  9. package/dist/generated/client/index.js +5 -5
  10. package/dist/generated/client/types.gen.d.ts +18 -18
  11. package/dist/generated/client/utils.gen.d.ts +3 -3
  12. package/dist/generated/client/utils.gen.js +33 -35
  13. package/dist/generated/client.gen.d.ts +2 -2
  14. package/dist/generated/client.gen.js +1 -1
  15. package/dist/generated/core/auth.gen.d.ts +3 -3
  16. package/dist/generated/core/auth.gen.js +3 -3
  17. package/dist/generated/core/bodySerializer.gen.d.ts +1 -1
  18. package/dist/generated/core/bodySerializer.gen.js +3 -3
  19. package/dist/generated/core/params.gen.d.ts +3 -3
  20. package/dist/generated/core/params.gen.js +11 -9
  21. package/dist/generated/core/pathSerializer.gen.d.ts +4 -4
  22. package/dist/generated/core/pathSerializer.gen.js +37 -37
  23. package/dist/generated/core/queryKeySerializer.gen.js +8 -7
  24. package/dist/generated/core/serverSentEvents.gen.d.ts +3 -3
  25. package/dist/generated/core/serverSentEvents.gen.js +19 -19
  26. package/dist/generated/core/types.gen.d.ts +4 -4
  27. package/dist/generated/core/utils.gen.d.ts +1 -1
  28. package/dist/generated/core/utils.gen.js +17 -17
  29. package/dist/generated/internal/types.gen.d.ts +664 -0
  30. package/dist/generated/internal/types.gen.js +2 -0
  31. package/dist/generated/sdk.gen.d.ts +386 -320
  32. package/dist/generated/sdk.gen.js +1193 -672
  33. package/dist/generated/types.gen.d.ts +4010 -2286
  34. package/dist/generated/zod.gen.d.ts +9431 -2312
  35. package/dist/generated/zod.gen.js +2231 -1088
  36. package/dist/index.d.ts +1 -1
  37. package/dist/index.js +1 -1
  38. package/package.json +11 -3
@@ -1,5 +1,6 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
- import { client } from './client.gen';
2
+ import { formDataBodySerializer } from "./client";
3
+ import { client } from "./client.gen";
3
4
  class HeyApiClient {
4
5
  client;
5
6
  constructor(args) {
@@ -7,7 +8,7 @@ class HeyApiClient {
7
8
  }
8
9
  }
9
10
  class HeyApiRegistry {
10
- defaultKey = 'default';
11
+ defaultKey = "default";
11
12
  instances = new Map();
12
13
  get(key) {
13
14
  const instance = this.instances.get(key ?? this.defaultKey);
@@ -20,156 +21,302 @@ class HeyApiRegistry {
20
21
  this.instances.set(key ?? this.defaultKey, value);
21
22
  }
22
23
  }
23
- export class Mcp extends HeyApiClient {
24
+ export class Version extends HeyApiClient {
24
25
  /**
25
- * List Composio MCPs
26
+ * List agent versions
26
27
  */
27
28
  list(options) {
28
- return (options?.client ?? this.client).get({ url: '/api/composio/mcps', ...options });
29
+ return (options.client ?? this.client).get({
30
+ url: "/api/agents/{id}/versions",
31
+ ...options,
32
+ });
33
+ }
34
+ /**
35
+ * Create an agent version
36
+ */
37
+ create(options) {
38
+ return (options.client ?? this.client).post({
39
+ url: "/api/agents/{id}/versions",
40
+ ...options,
41
+ headers: {
42
+ "Content-Type": "application/json",
43
+ ...options.headers,
44
+ },
45
+ });
29
46
  }
30
47
  /**
31
- * Get a Composio MCP
48
+ * Get an agent version
32
49
  */
33
50
  get(options) {
34
- return (options.client ?? this.client).get({ url: '/api/composio/mcps/{id}', ...options });
51
+ return (options.client ?? this.client).get({
52
+ url: "/api/agents/{id}/versions/{version}",
53
+ ...options,
54
+ });
55
+ }
56
+ /**
57
+ * Archive an agent version
58
+ */
59
+ archive(options) {
60
+ return (options.client ?? this.client).post({
61
+ url: "/api/agents/{id}/versions/{version}/archive",
62
+ ...options,
63
+ });
35
64
  }
36
65
  }
37
- export class Connection extends HeyApiClient {
66
+ export class Agent extends HeyApiClient {
38
67
  /**
39
- * List Composio connections for the owner
68
+ * List agents
40
69
  */
41
70
  list(options) {
42
- return (options?.client ?? this.client).get({ url: '/api/composio/connections', ...options });
71
+ return (options?.client ?? this.client).get({
72
+ url: "/api/agents",
73
+ ...options,
74
+ });
43
75
  }
44
76
  /**
45
- * Initiate a Composio connection (link + pending row, or reuse active)
77
+ * Create an agent
46
78
  */
47
- initiate(options) {
79
+ create(options) {
48
80
  return (options?.client ?? this.client).post({
49
- url: '/api/composio/connections',
81
+ url: "/api/agents",
50
82
  ...options,
51
83
  headers: {
52
- 'Content-Type': 'application/json',
53
- ...options?.headers
54
- }
84
+ "Content-Type": "application/json",
85
+ ...options?.headers,
86
+ },
55
87
  });
56
88
  }
57
89
  /**
58
- * Get a Composio connection
90
+ * Search agents across user, org, and registry scopes
59
91
  */
60
- get(options) {
61
- return (options.client ?? this.client).get({ url: '/api/composio/connections/{id}', ...options });
92
+ search(options) {
93
+ return (options?.client ?? this.client).post({
94
+ url: "/api/agents/search",
95
+ ...options,
96
+ headers: {
97
+ "Content-Type": "application/json",
98
+ ...options?.headers,
99
+ },
100
+ });
62
101
  }
63
102
  /**
64
- * Poll Composio and reconcile connection status (pending→active transition)
103
+ * Get an agent by slug
65
104
  */
66
- refresh(options) {
67
- return (options.client ?? this.client).post({ url: '/api/composio/connections/{id}/refresh', ...options });
105
+ getBySlug(options) {
106
+ return (options.client ?? this.client).get({
107
+ url: "/api/agents/slug/{slug}",
108
+ ...options,
109
+ });
68
110
  }
69
111
  /**
70
- * Archive a Composio connection (best-effort revoke + local archive)
112
+ * Get an agent
71
113
  */
72
- archive(options) {
73
- return (options.client ?? this.client).post({ url: '/api/composio/connections/{id}/archive', ...options });
74
- }
75
- }
76
- export class Composio extends HeyApiClient {
77
- _mcp;
78
- get mcp() {
79
- return this._mcp ??= new Mcp({ client: this.client });
114
+ get(options) {
115
+ return (options.client ?? this.client).get({
116
+ url: "/api/agents/{id}",
117
+ ...options,
118
+ });
80
119
  }
81
- _connection;
82
- get connection() {
83
- return this._connection ??= new Connection({ client: this.client });
120
+ /**
121
+ * Update agent metadata
122
+ */
123
+ update(options) {
124
+ return (options.client ?? this.client).patch({
125
+ url: "/api/agents/{id}",
126
+ ...options,
127
+ headers: {
128
+ "Content-Type": "application/json",
129
+ ...options.headers,
130
+ },
131
+ });
84
132
  }
85
- }
86
- export class Version extends HeyApiClient {
87
133
  /**
88
- * List agent versions
134
+ * Archive an agent
89
135
  */
90
- list(options) {
91
- return (options.client ?? this.client).get({ url: '/api/agents/{id}/versions', ...options });
136
+ archive(options) {
137
+ return (options.client ?? this.client).post({
138
+ url: "/api/agents/{id}/archive",
139
+ ...options,
140
+ });
92
141
  }
93
142
  /**
94
- * Create an agent version
143
+ * Publish an agent
95
144
  */
96
- create(options) {
145
+ publish(options) {
97
146
  return (options.client ?? this.client).post({
98
- url: '/api/agents/{id}/versions',
147
+ url: "/api/agents/{id}/publish",
99
148
  ...options,
100
- headers: {
101
- 'Content-Type': 'application/json',
102
- ...options.headers
103
- }
104
149
  });
105
150
  }
106
151
  /**
107
- * Get an agent version
152
+ * Deprecate an agent
108
153
  */
109
- get(options) {
110
- return (options.client ?? this.client).get({ url: '/api/agents/{id}/versions/{version}', ...options });
154
+ deprecate(options) {
155
+ return (options.client ?? this.client).post({
156
+ url: "/api/agents/{id}/deprecate",
157
+ ...options,
158
+ headers: {
159
+ "Content-Type": "application/json",
160
+ ...options.headers,
161
+ },
162
+ });
111
163
  }
112
164
  /**
113
- * Archive an agent version
165
+ * Undeprecate an agent
114
166
  */
115
- archive(options) {
116
- return (options.client ?? this.client).post({ url: '/api/agents/{id}/versions/{version}/archive', ...options });
167
+ undeprecate(options) {
168
+ return (options.client ?? this.client).post({
169
+ url: "/api/agents/{id}/undeprecate",
170
+ ...options,
171
+ });
172
+ }
173
+ _version;
174
+ get version() {
175
+ return (this._version ??= new Version({ client: this.client }));
117
176
  }
118
177
  }
119
- export class Agent extends HeyApiClient {
178
+ export class Blueprint extends HeyApiClient {
120
179
  /**
121
- * List agents
180
+ * List blueprints
122
181
  */
123
182
  list(options) {
124
- return (options?.client ?? this.client).get({ url: '/api/agents', ...options });
183
+ return (options?.client ?? this.client).get({
184
+ url: "/api/blueprints",
185
+ ...options,
186
+ });
125
187
  }
126
188
  /**
127
- * Create an agent
189
+ * Create a blueprint
128
190
  */
129
191
  create(options) {
130
192
  return (options?.client ?? this.client).post({
131
- url: '/api/agents',
193
+ url: "/api/blueprints",
132
194
  ...options,
133
195
  headers: {
134
- 'Content-Type': 'application/json',
135
- ...options?.headers
136
- }
196
+ "Content-Type": "application/json",
197
+ ...options?.headers,
198
+ },
137
199
  });
138
200
  }
139
201
  /**
140
- * Get an agent by slug
202
+ * Install a blueprint into a pod
141
203
  */
142
- getBySlug(options) {
143
- return (options.client ?? this.client).get({ url: '/api/agents/slug/{slug}', ...options });
204
+ install(options) {
205
+ return (options?.client ?? this.client).post({
206
+ url: "/api/blueprints/install",
207
+ ...options,
208
+ headers: {
209
+ "Content-Type": "application/json",
210
+ ...options?.headers,
211
+ },
212
+ });
144
213
  }
145
214
  /**
146
- * Get an agent
215
+ * Get a blueprint
147
216
  */
148
217
  get(options) {
149
- return (options.client ?? this.client).get({ url: '/api/agents/{id}', ...options });
218
+ return (options.client ?? this.client).get({
219
+ url: "/api/blueprints/{id}",
220
+ ...options,
221
+ });
150
222
  }
151
223
  /**
152
- * Update agent metadata
224
+ * Update a blueprint
153
225
  */
154
226
  update(options) {
155
227
  return (options.client ?? this.client).patch({
156
- url: '/api/agents/{id}',
228
+ url: "/api/blueprints/{id}",
157
229
  ...options,
158
230
  headers: {
159
- 'Content-Type': 'application/json',
160
- ...options.headers
161
- }
231
+ "Content-Type": "application/json",
232
+ ...options.headers,
233
+ },
162
234
  });
163
235
  }
164
236
  /**
165
- * Archive an agent
237
+ * Publish a blueprint
238
+ */
239
+ publish(options) {
240
+ return (options.client ?? this.client).post({
241
+ url: "/api/blueprints/{id}/publish",
242
+ ...options,
243
+ });
244
+ }
245
+ /**
246
+ * Deprecate a blueprint
247
+ */
248
+ deprecate(options) {
249
+ return (options.client ?? this.client).post({
250
+ url: "/api/blueprints/{id}/deprecate",
251
+ ...options,
252
+ headers: {
253
+ "Content-Type": "application/json",
254
+ ...options.headers,
255
+ },
256
+ });
257
+ }
258
+ /**
259
+ * Undeprecate a blueprint
260
+ */
261
+ undeprecate(options) {
262
+ return (options.client ?? this.client).post({ url: "/api/blueprints/{id}/undeprecate", ...options });
263
+ }
264
+ /**
265
+ * Archive a blueprint
166
266
  */
167
267
  archive(options) {
168
- return (options.client ?? this.client).post({ url: '/api/agents/{id}/archive', ...options });
268
+ return (options.client ?? this.client).post({
269
+ url: "/api/blueprints/{id}/archive",
270
+ ...options,
271
+ });
169
272
  }
170
- _version;
171
- get version() {
172
- return this._version ??= new Version({ client: this.client });
273
+ }
274
+ export class Billing extends HeyApiClient {
275
+ /**
276
+ * Get organization billing summary
277
+ */
278
+ get(options) {
279
+ return (options?.client ?? this.client).get({
280
+ url: "/api/billing",
281
+ ...options,
282
+ });
283
+ }
284
+ /**
285
+ * List invoices for the organization
286
+ */
287
+ invoices(options) {
288
+ return (options?.client ?? this.client).get({
289
+ url: "/api/billing/invoices",
290
+ ...options,
291
+ });
292
+ }
293
+ /**
294
+ * Daily credit usage
295
+ */
296
+ dailyUsage(options) {
297
+ return (options?.client ?? this.client).get({
298
+ url: "/api/billing/daily-usage",
299
+ ...options,
300
+ });
301
+ }
302
+ /**
303
+ * Get a payment URL for an invoice
304
+ */
305
+ invoicePaymentUrl(options) {
306
+ return (options.client ?? this.client).get({ url: "/api/billing/invoice-payment-url", ...options });
307
+ }
308
+ /**
309
+ * Change subscription plan
310
+ */
311
+ updatePlan(options) {
312
+ return (options?.client ?? this.client).post({
313
+ url: "/api/billing/plan",
314
+ ...options,
315
+ headers: {
316
+ "Content-Type": "application/json",
317
+ ...options?.headers,
318
+ },
319
+ });
173
320
  }
174
321
  }
175
322
  export class Dashboard extends HeyApiClient {
@@ -177,7 +324,10 @@ export class Dashboard extends HeyApiClient {
177
324
  * Get dashboard analytics
178
325
  */
179
326
  get(options) {
180
- return (options?.client ?? this.client).get({ url: '/api/dashboard', ...options });
327
+ return (options?.client ?? this.client).get({
328
+ url: "/api/dashboard",
329
+ ...options,
330
+ });
181
331
  }
182
332
  }
183
333
  export class Environment extends HeyApiClient {
@@ -185,51 +335,63 @@ export class Environment extends HeyApiClient {
185
335
  * List environments
186
336
  */
187
337
  list(options) {
188
- return (options?.client ?? this.client).get({ url: '/api/environments', ...options });
338
+ return (options?.client ?? this.client).get({
339
+ url: "/api/environments",
340
+ ...options,
341
+ });
189
342
  }
190
343
  /**
191
344
  * Create an environment
192
345
  */
193
346
  create(options) {
194
347
  return (options?.client ?? this.client).post({
195
- url: '/api/environments',
348
+ url: "/api/environments",
196
349
  ...options,
197
350
  headers: {
198
- 'Content-Type': 'application/json',
199
- ...options?.headers
200
- }
351
+ "Content-Type": "application/json",
352
+ ...options?.headers,
353
+ },
201
354
  });
202
355
  }
203
356
  /**
204
357
  * Delete an environment permanently
205
358
  */
206
359
  delete(options) {
207
- return (options.client ?? this.client).delete({ url: '/api/environments/{id}', ...options });
360
+ return (options.client ?? this.client).delete({
361
+ url: "/api/environments/{id}",
362
+ ...options,
363
+ });
208
364
  }
209
365
  /**
210
366
  * Get an environment
211
367
  */
212
368
  get(options) {
213
- return (options.client ?? this.client).get({ url: '/api/environments/{id}', ...options });
369
+ return (options.client ?? this.client).get({
370
+ url: "/api/environments/{id}",
371
+ ...options,
372
+ });
214
373
  }
215
374
  /**
216
375
  * Update an environment
217
376
  */
218
377
  update(options) {
219
378
  return (options.client ?? this.client).patch({
220
- url: '/api/environments/{id}',
379
+ url: "/api/environments/{id}",
221
380
  ...options,
222
381
  headers: {
223
- 'Content-Type': 'application/json',
224
- ...options.headers
225
- }
382
+ "Content-Type": "application/json",
383
+ ...options.headers,
384
+ },
226
385
  });
227
386
  }
228
387
  /**
229
388
  * Archive an environment
230
389
  */
231
390
  archive(options) {
232
- return (options.client ?? this.client).post({ url: '/api/environments/{id}/archive', ...options });
391
+ return (options.client ?? this.client).post({
392
+ url: "/api/environments/{id}/archive",
393
+ ...options,
394
+ });
233
395
  }
234
396
  }
235
397
  export class Files extends HeyApiClient {
@@ -237,52 +399,47 @@ export class Files extends HeyApiClient {
237
399
  * Delete a file
238
400
  */
239
401
  delete(options) {
240
- return (options.client ?? this.client).delete({ url: '/api/file-stores/{id}/files', ...options });
402
+ return (options.client ?? this.client).delete({ url: "/api/file-stores/{id}/files", ...options });
241
403
  }
242
404
  /**
243
405
  * List files in a file store
244
406
  */
245
407
  list(options) {
246
- return (options.client ?? this.client).get({ url: '/api/file-stores/{id}/files', ...options });
247
- }
248
- /**
249
- * Upload file(s) via multipart/form-data
250
- *
251
- * Form fields: `files` (one or many), optional `path` (to override a single file's path), optional `prefix` (to prepend to all file names). For files >100MB, use /files/presign-upload.
252
- */
253
- upload(options) {
254
- return (options.client ?? this.client).post({ url: '/api/file-stores/{id}/files', ...options });
408
+ return (options.client ?? this.client).get({
409
+ url: "/api/file-stores/{id}/files",
410
+ ...options,
411
+ });
255
412
  }
256
413
  /**
257
414
  * Get a presigned GET URL for a file
258
415
  */
259
416
  presignDownload(options) {
260
- return (options.client ?? this.client).get({ url: '/api/file-stores/{id}/files/presign-download', ...options });
417
+ return (options.client ?? this.client).get({ url: "/api/file-stores/{id}/files/presign-download", ...options });
261
418
  }
262
419
  /**
263
- * Rename or move a file
420
+ * Start a presigned upload
264
421
  */
265
- rename(options) {
422
+ startUpload(options) {
266
423
  return (options.client ?? this.client).post({
267
- url: '/api/file-stores/{id}/files/rename',
424
+ url: "/api/file-stores/{id}/files/uploads",
268
425
  ...options,
269
426
  headers: {
270
- 'Content-Type': 'application/json',
271
- ...options.headers
272
- }
427
+ "Content-Type": "application/json",
428
+ ...options.headers,
429
+ },
273
430
  });
274
431
  }
275
432
  /**
276
- * Get a presigned PUT URL for a file
433
+ * Finalize an upload
277
434
  */
278
- presignUpload(options) {
435
+ finalizeUpload(options) {
279
436
  return (options.client ?? this.client).post({
280
- url: '/api/file-stores/{id}/files/presign-upload',
437
+ url: "/api/file-stores/{id}/files/finalize",
281
438
  ...options,
282
439
  headers: {
283
- 'Content-Type': 'application/json',
284
- ...options.headers
285
- }
440
+ "Content-Type": "application/json",
441
+ ...options.headers,
442
+ },
286
443
  });
287
444
  }
288
445
  }
@@ -291,49 +448,105 @@ export class FileStore extends HeyApiClient {
291
448
  * List file stores
292
449
  */
293
450
  list(options) {
294
- return (options?.client ?? this.client).get({ url: '/api/file-stores', ...options });
451
+ return (options?.client ?? this.client).get({
452
+ url: "/api/file-stores",
453
+ ...options,
454
+ });
295
455
  }
296
456
  /**
297
457
  * Create a file store
298
458
  */
299
459
  create(options) {
300
460
  return (options?.client ?? this.client).post({
301
- url: '/api/file-stores',
461
+ url: "/api/file-stores",
302
462
  ...options,
303
463
  headers: {
304
- 'Content-Type': 'application/json',
305
- ...options?.headers
306
- }
464
+ "Content-Type": "application/json",
465
+ ...options?.headers,
466
+ },
307
467
  });
308
468
  }
309
469
  /**
310
470
  * Get a file store
311
471
  */
312
472
  get(options) {
313
- return (options.client ?? this.client).get({ url: '/api/file-stores/{id}', ...options });
473
+ return (options.client ?? this.client).get({
474
+ url: "/api/file-stores/{id}",
475
+ ...options,
476
+ });
314
477
  }
315
478
  /**
316
479
  * Update a file store
317
480
  */
318
481
  update(options) {
319
482
  return (options.client ?? this.client).patch({
320
- url: '/api/file-stores/{id}',
483
+ url: "/api/file-stores/{id}",
321
484
  ...options,
322
485
  headers: {
323
- 'Content-Type': 'application/json',
324
- ...options.headers
325
- }
486
+ "Content-Type": "application/json",
487
+ ...options.headers,
488
+ },
326
489
  });
327
490
  }
328
491
  /**
329
492
  * Archive a file store
330
493
  */
331
494
  archive(options) {
332
- return (options.client ?? this.client).post({ url: '/api/file-stores/{id}/archive', ...options });
495
+ return (options.client ?? this.client).post({
496
+ url: "/api/file-stores/{id}/archive",
497
+ ...options,
498
+ });
333
499
  }
334
500
  _files;
335
501
  get files() {
336
- return this._files ??= new Files({ client: this.client });
502
+ return (this._files ??= new Files({ client: this.client }));
503
+ }
504
+ }
505
+ export class Repos extends HeyApiClient {
506
+ /**
507
+ * Live-fetch repositories accessible to a GitHub App installation
508
+ */
509
+ list(options) {
510
+ return (options.client ?? this.client).get({ url: "/api/github/installations/{id}/repos", ...options });
511
+ }
512
+ }
513
+ export class Installation extends HeyApiClient {
514
+ /**
515
+ * List GitHub App installations for the caller's org
516
+ */
517
+ list(options) {
518
+ return (options?.client ?? this.client).get({ url: "/api/github/installations", ...options });
519
+ }
520
+ /**
521
+ * Re-fetch the installation's selected repositories from GitHub
522
+ */
523
+ refresh(options) {
524
+ return (options.client ?? this.client).post({ url: "/api/github/installations/{id}/refresh", ...options });
525
+ }
526
+ /**
527
+ * Disconnect a GitHub App installation
528
+ */
529
+ remove(options) {
530
+ return (options.client ?? this.client).delete({ url: "/api/github/installations/{id}", ...options });
531
+ }
532
+ _repos;
533
+ get repos() {
534
+ return (this._repos ??= new Repos({ client: this.client }));
535
+ }
536
+ }
537
+ export class Github extends HeyApiClient {
538
+ /**
539
+ * Report whether GitHub install + user OAuth are configured for the caller
540
+ */
541
+ status(options) {
542
+ return (options?.client ?? this.client).get({
543
+ url: "/api/github/status",
544
+ ...options,
545
+ });
546
+ }
547
+ _installation;
548
+ get installation() {
549
+ return (this._installation ??= new Installation({ client: this.client }));
337
550
  }
338
551
  }
339
552
  export class Oauth extends HeyApiClient {
@@ -342,62 +555,145 @@ export class Oauth extends HeyApiClient {
342
555
  */
343
556
  connect(options) {
344
557
  return (options.client ?? this.client).post({
345
- url: '/api/mcps/{id}/oauth/connect',
558
+ url: "/api/mcps/{id}/oauth/connect",
346
559
  ...options,
347
560
  headers: {
348
- 'Content-Type': 'application/json',
349
- ...options.headers
350
- }
561
+ "Content-Type": "application/json",
562
+ ...options.headers,
563
+ },
351
564
  });
352
565
  }
353
566
  /**
354
567
  * Poll an MCP OAuth session status
355
568
  */
356
569
  session(options) {
357
- return (options.client ?? this.client).get({ url: '/api/mcps/{id}/oauth/sessions/{sessionId}', ...options });
570
+ return (options.client ?? this.client).get({
571
+ url: "/api/mcps/{id}/oauth/sessions/{sessionId}",
572
+ ...options,
573
+ });
358
574
  }
359
575
  }
360
- export class Mcp2 extends HeyApiClient {
576
+ export class Mcp extends HeyApiClient {
361
577
  /**
362
578
  * List MCPs
363
579
  */
364
580
  list(options) {
365
- return (options?.client ?? this.client).get({ url: '/api/mcps', ...options });
581
+ return (options?.client ?? this.client).get({
582
+ url: "/api/mcps",
583
+ ...options,
584
+ });
366
585
  }
367
586
  /**
368
587
  * Create an MCP
369
588
  */
370
589
  create(options) {
371
590
  return (options?.client ?? this.client).post({
372
- url: '/api/mcps',
591
+ url: "/api/mcps",
592
+ ...options,
593
+ headers: {
594
+ "Content-Type": "application/json",
595
+ ...options?.headers,
596
+ },
597
+ });
598
+ }
599
+ /**
600
+ * Search MCPs across user, org, and registry scopes
601
+ */
602
+ search(options) {
603
+ return (options?.client ?? this.client).post({
604
+ url: "/api/mcps/search",
373
605
  ...options,
374
606
  headers: {
375
- 'Content-Type': 'application/json',
376
- ...options?.headers
377
- }
607
+ "Content-Type": "application/json",
608
+ ...options?.headers,
609
+ },
378
610
  });
379
611
  }
380
612
  /**
381
613
  * Get an MCP by slug
382
614
  */
383
615
  getBySlug(options) {
384
- return (options.client ?? this.client).get({ url: '/api/mcps/slug/{slug}', ...options });
616
+ return (options.client ?? this.client).get({
617
+ url: "/api/mcps/slug/{slug}",
618
+ ...options,
619
+ });
385
620
  }
386
621
  /**
387
622
  * Get an MCP
388
623
  */
389
624
  get(options) {
390
- return (options.client ?? this.client).get({ url: '/api/mcps/{id}', ...options });
625
+ return (options.client ?? this.client).get({
626
+ url: "/api/mcps/{id}",
627
+ ...options,
628
+ });
629
+ }
630
+ /**
631
+ * Update an MCP
632
+ */
633
+ update(options) {
634
+ return (options.client ?? this.client).patch({
635
+ url: "/api/mcps/{id}",
636
+ ...options,
637
+ headers: {
638
+ "Content-Type": "application/json",
639
+ ...options.headers,
640
+ },
641
+ });
391
642
  }
392
643
  /**
393
644
  * Archive an MCP
394
645
  */
395
646
  archive(options) {
396
- return (options.client ?? this.client).post({ url: '/api/mcps/{id}/archive', ...options });
647
+ return (options.client ?? this.client).post({
648
+ url: "/api/mcps/{id}/archive",
649
+ ...options,
650
+ });
651
+ }
652
+ /**
653
+ * Publish an MCP
654
+ */
655
+ publish(options) {
656
+ return (options.client ?? this.client).post({
657
+ url: "/api/mcps/{id}/publish",
658
+ ...options,
659
+ });
660
+ }
661
+ /**
662
+ * Deprecate an MCP
663
+ */
664
+ deprecate(options) {
665
+ return (options.client ?? this.client).post({
666
+ url: "/api/mcps/{id}/deprecate",
667
+ ...options,
668
+ headers: {
669
+ "Content-Type": "application/json",
670
+ ...options.headers,
671
+ },
672
+ });
673
+ }
674
+ /**
675
+ * Undeprecate an MCP
676
+ */
677
+ undeprecate(options) {
678
+ return (options.client ?? this.client).post({
679
+ url: "/api/mcps/{id}/undeprecate",
680
+ ...options,
681
+ });
397
682
  }
398
683
  _oauth;
399
684
  get oauth() {
400
- return this._oauth ??= new Oauth({ client: this.client });
685
+ return (this._oauth ??= new Oauth({ client: this.client }));
686
+ }
687
+ }
688
+ export class Me extends HeyApiClient {
689
+ /**
690
+ * Get the authenticated principal
691
+ */
692
+ get(options) {
693
+ return (options?.client ?? this.client).get({
694
+ url: "/api/me",
695
+ ...options,
696
+ });
401
697
  }
402
698
  }
403
699
  export class Files2 extends HeyApiClient {
@@ -405,39 +701,44 @@ export class Files2 extends HeyApiClient {
405
701
  * Delete a file
406
702
  */
407
703
  delete(options) {
408
- return (options.client ?? this.client).delete({ url: '/api/memory-stores/{id}/files', ...options });
704
+ return (options.client ?? this.client).delete({ url: "/api/memory-stores/{id}/files", ...options });
409
705
  }
410
706
  /**
411
707
  * List files in a memory store
412
708
  */
413
709
  list(options) {
414
- return (options.client ?? this.client).get({ url: '/api/memory-stores/{id}/files', ...options });
710
+ return (options.client ?? this.client).get({ url: "/api/memory-stores/{id}/files", ...options });
415
711
  }
416
712
  /**
417
- * Upload file(s) via multipart/form-data
418
- *
419
- * Form fields: `files` (one or many), optional `path` (to override a single file's path), optional `prefix` (to prepend to all file names). For files >100MB, use /files/presign-upload.
713
+ * Get a presigned GET URL for a file
420
714
  */
421
- upload(options) {
422
- return (options.client ?? this.client).post({ url: '/api/memory-stores/{id}/files', ...options });
715
+ presignDownload(options) {
716
+ return (options.client ?? this.client).get({ url: "/api/memory-stores/{id}/files/presign-download", ...options });
423
717
  }
424
718
  /**
425
- * Download a file (bytes proxied through API)
719
+ * Start a presigned upload
426
720
  */
427
- download(options) {
428
- return (options.client ?? this.client).get({ url: '/api/memory-stores/{id}/files/download', ...options });
721
+ startUpload(options) {
722
+ return (options.client ?? this.client).post({
723
+ url: "/api/memory-stores/{id}/files/uploads",
724
+ ...options,
725
+ headers: {
726
+ "Content-Type": "application/json",
727
+ ...options.headers,
728
+ },
729
+ });
429
730
  }
430
731
  /**
431
- * Rename or move a file
732
+ * Finalize an upload
432
733
  */
433
- rename(options) {
734
+ finalizeUpload(options) {
434
735
  return (options.client ?? this.client).post({
435
- url: '/api/memory-stores/{id}/files/rename',
736
+ url: "/api/memory-stores/{id}/files/finalize",
436
737
  ...options,
437
738
  headers: {
438
- 'Content-Type': 'application/json',
439
- ...options.headers
440
- }
739
+ "Content-Type": "application/json",
740
+ ...options.headers,
741
+ },
441
742
  });
442
743
  }
443
744
  }
@@ -446,49 +747,94 @@ export class MemoryStore extends HeyApiClient {
446
747
  * List memory stores
447
748
  */
448
749
  list(options) {
449
- return (options?.client ?? this.client).get({ url: '/api/memory-stores', ...options });
750
+ return (options?.client ?? this.client).get({
751
+ url: "/api/memory-stores",
752
+ ...options,
753
+ });
450
754
  }
451
755
  /**
452
756
  * Create a memory store
453
757
  */
454
758
  create(options) {
455
759
  return (options?.client ?? this.client).post({
456
- url: '/api/memory-stores',
760
+ url: "/api/memory-stores",
457
761
  ...options,
458
762
  headers: {
459
- 'Content-Type': 'application/json',
460
- ...options?.headers
461
- }
763
+ "Content-Type": "application/json",
764
+ ...options?.headers,
765
+ },
462
766
  });
463
767
  }
464
768
  /**
465
769
  * Get a memory store
466
770
  */
467
771
  get(options) {
468
- return (options.client ?? this.client).get({ url: '/api/memory-stores/{id}', ...options });
772
+ return (options.client ?? this.client).get({
773
+ url: "/api/memory-stores/{id}",
774
+ ...options,
775
+ });
469
776
  }
470
777
  /**
471
778
  * Update a memory store
472
779
  */
473
780
  update(options) {
474
781
  return (options.client ?? this.client).patch({
475
- url: '/api/memory-stores/{id}',
782
+ url: "/api/memory-stores/{id}",
476
783
  ...options,
477
784
  headers: {
478
- 'Content-Type': 'application/json',
479
- ...options.headers
480
- }
785
+ "Content-Type": "application/json",
786
+ ...options.headers,
787
+ },
481
788
  });
482
789
  }
483
790
  /**
484
791
  * Archive a memory store
485
792
  */
486
793
  archive(options) {
487
- return (options.client ?? this.client).post({ url: '/api/memory-stores/{id}/archive', ...options });
794
+ return (options.client ?? this.client).post({
795
+ url: "/api/memory-stores/{id}/archive",
796
+ ...options,
797
+ });
488
798
  }
489
799
  _files;
490
800
  get files() {
491
- return this._files ??= new Files2({ client: this.client });
801
+ return (this._files ??= new Files2({ client: this.client }));
802
+ }
803
+ }
804
+ export class Model extends HeyApiClient {
805
+ /**
806
+ * List available LLM models grouped by provider
807
+ */
808
+ list(options) {
809
+ return (options?.client ?? this.client).get({
810
+ url: "/api/models",
811
+ ...options,
812
+ });
813
+ }
814
+ }
815
+ export class Onboarding extends HeyApiClient {
816
+ /**
817
+ * Start onboarding chat with Ren agent
818
+ *
819
+ * Creates a session on the user's private pod Ren project and sends the initial prompt with selected MCP/skill context.
820
+ */
821
+ start(options) {
822
+ return (options?.client ?? this.client).post({
823
+ url: "/api/onboarding/start",
824
+ ...options,
825
+ headers: {
826
+ "Content-Type": "application/json",
827
+ ...options?.headers,
828
+ },
829
+ });
830
+ }
831
+ /**
832
+ * Set up personal organization
833
+ *
834
+ * Creates a personal organization for the authenticated user. Use when a new user has no membership yet — e.g. after skipping a pending invitation. Idempotent: returns the existing organization if the user already belongs to one. Name, slug, and logo are derived from the user's profile and email domain.
835
+ */
836
+ setupPersonalOrg(options) {
837
+ return (options?.client ?? this.client).post({ url: "/api/onboarding/setup-personal-org", ...options });
492
838
  }
493
839
  }
494
840
  export class Pat extends HeyApiClient {
@@ -496,26 +842,32 @@ export class Pat extends HeyApiClient {
496
842
  * List personal access tokens
497
843
  */
498
844
  list(options) {
499
- return (options?.client ?? this.client).get({ url: '/api/pats', ...options });
845
+ return (options?.client ?? this.client).get({
846
+ url: "/api/pats",
847
+ ...options,
848
+ });
500
849
  }
501
850
  /**
502
851
  * Create a personal access token
503
852
  */
504
853
  create(options) {
505
854
  return (options?.client ?? this.client).post({
506
- url: '/api/pats',
855
+ url: "/api/pats",
507
856
  ...options,
508
857
  headers: {
509
- 'Content-Type': 'application/json',
510
- ...options?.headers
511
- }
858
+ "Content-Type": "application/json",
859
+ ...options?.headers,
860
+ },
512
861
  });
513
862
  }
514
863
  /**
515
864
  * Revoke a personal access token
516
865
  */
517
866
  revoke(options) {
518
- return (options.client ?? this.client).post({ url: '/api/pats/{id}/revoke', ...options });
867
+ return (options.client ?? this.client).post({
868
+ url: "/api/pats/{id}/revoke",
869
+ ...options,
870
+ });
519
871
  }
520
872
  }
521
873
  export class Member extends HeyApiClient {
@@ -523,26 +875,32 @@ export class Member extends HeyApiClient {
523
875
  * List pod members
524
876
  */
525
877
  list(options) {
526
- return (options.client ?? this.client).get({ url: '/api/pods/{id}/members', ...options });
878
+ return (options.client ?? this.client).get({
879
+ url: "/api/pods/{id}/members",
880
+ ...options,
881
+ });
527
882
  }
528
883
  /**
529
884
  * Add a member to a pod
530
885
  */
531
886
  add(options) {
532
887
  return (options.client ?? this.client).post({
533
- url: '/api/pods/{id}/members',
888
+ url: "/api/pods/{id}/members",
534
889
  ...options,
535
890
  headers: {
536
- 'Content-Type': 'application/json',
537
- ...options.headers
538
- }
891
+ "Content-Type": "application/json",
892
+ ...options.headers,
893
+ },
539
894
  });
540
895
  }
541
896
  /**
542
897
  * Remove a member from a pod
543
898
  */
544
899
  remove(options) {
545
- return (options.client ?? this.client).delete({ url: '/api/pods/{id}/members/{userId}', ...options });
900
+ return (options.client ?? this.client).delete({
901
+ url: "/api/pods/{id}/members/{userId}",
902
+ ...options,
903
+ });
546
904
  }
547
905
  }
548
906
  export class Vault extends HeyApiClient {
@@ -550,145 +908,210 @@ export class Vault extends HeyApiClient {
550
908
  * List pod vaults (ordered by priority)
551
909
  */
552
910
  list(options) {
553
- return (options.client ?? this.client).get({ url: '/api/pods/{id}/vaults', ...options });
911
+ return (options.client ?? this.client).get({
912
+ url: "/api/pods/{id}/vaults",
913
+ ...options,
914
+ });
554
915
  }
555
916
  /**
556
917
  * Add a vault to a pod
557
918
  */
558
919
  add(options) {
559
920
  return (options.client ?? this.client).post({
560
- url: '/api/pods/{id}/vaults',
921
+ url: "/api/pods/{id}/vaults",
561
922
  ...options,
562
923
  headers: {
563
- 'Content-Type': 'application/json',
564
- ...options.headers
565
- }
924
+ "Content-Type": "application/json",
925
+ ...options.headers,
926
+ },
566
927
  });
567
928
  }
568
929
  /**
569
930
  * Remove a vault from a pod
570
931
  */
571
932
  remove(options) {
572
- return (options.client ?? this.client).delete({ url: '/api/pods/{id}/vaults/{vaultId}', ...options });
933
+ return (options.client ?? this.client).delete({
934
+ url: "/api/pods/{id}/vaults/{vaultId}",
935
+ ...options,
936
+ });
573
937
  }
574
938
  }
575
939
  export class Sandbox extends HeyApiClient {
576
940
  /**
577
- * Get the current sandbox for this pod
941
+ * Kick off provisioning for the pod's sandbox
942
+ *
943
+ * Starts a durable workflow that resumes the paused sandbox or provisions a fresh one. Idempotent: concurrent calls join the running workflow. Returns immediately; poll GET /status until status is 'ready'.
578
944
  */
579
- current(options) {
580
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/sandbox', ...options });
945
+ provision(options) {
946
+ return (options.client ?? this.client).post({
947
+ url: "/api/pods/{podId}/sandbox/provision",
948
+ ...options,
949
+ });
581
950
  }
582
951
  /**
583
- * Provision a sandbox for this pod (idempotent)
952
+ * Read the pod's sandbox provisioning status
584
953
  *
585
- * Returns the existing active sandbox if one is linked; otherwise creates one.
954
+ * Returns 'ready' once the sandbox is provisioned/resumed and credentials are available; 'provisioning' while the workflow is in flight; 'absent' if no workflow has been started and no sandbox is linked; 'failed' if the workflow terminated unhealthy.
586
955
  */
587
- provision(options) {
588
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/sandbox', ...options });
956
+ status(options) {
957
+ return (options.client ?? this.client).get({
958
+ url: "/api/pods/{podId}/sandbox/status",
959
+ ...options,
960
+ });
961
+ }
962
+ }
963
+ export class Pod extends HeyApiClient {
964
+ /**
965
+ * List pods
966
+ */
967
+ list(options) {
968
+ return (options?.client ?? this.client).get({
969
+ url: "/api/pods",
970
+ ...options,
971
+ });
972
+ }
973
+ /**
974
+ * Create a pod and provision its sandbox
975
+ */
976
+ create(options) {
977
+ return (options?.client ?? this.client).post({
978
+ url: "/api/pods",
979
+ ...options,
980
+ headers: {
981
+ "Content-Type": "application/json",
982
+ ...options?.headers,
983
+ },
984
+ });
985
+ }
986
+ /**
987
+ * Get a pod
988
+ */
989
+ get(options) {
990
+ return (options.client ?? this.client).get({
991
+ url: "/api/pods/{id}",
992
+ ...options,
993
+ });
994
+ }
995
+ /**
996
+ * Update a pod
997
+ */
998
+ update(options) {
999
+ return (options.client ?? this.client).patch({
1000
+ url: "/api/pods/{id}",
1001
+ ...options,
1002
+ headers: {
1003
+ "Content-Type": "application/json",
1004
+ ...options.headers,
1005
+ },
1006
+ });
1007
+ }
1008
+ /**
1009
+ * Archive a pod
1010
+ */
1011
+ archive(options) {
1012
+ return (options.client ?? this.client).post({
1013
+ url: "/api/pods/{id}/archive",
1014
+ ...options,
1015
+ });
1016
+ }
1017
+ _member;
1018
+ get member() {
1019
+ return (this._member ??= new Member({ client: this.client }));
1020
+ }
1021
+ _vault;
1022
+ get vault() {
1023
+ return (this._vault ??= new Vault({ client: this.client }));
1024
+ }
1025
+ _sandbox;
1026
+ get sandbox() {
1027
+ return (this._sandbox ??= new Sandbox({ client: this.client }));
589
1028
  }
590
1029
  }
591
1030
  export class Agent2 extends HeyApiClient {
592
1031
  /**
593
- * List project agents
1032
+ * List agents attached to a project
594
1033
  */
595
1034
  list(options) {
596
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/projects/{id}/agents', ...options });
1035
+ return (options.client ?? this.client).get({
1036
+ url: "/api/projects/{id}/agents",
1037
+ ...options,
1038
+ });
597
1039
  }
598
1040
  /**
599
- * Add an agent to a project
1041
+ * Attach an agent to a project
600
1042
  */
601
1043
  add(options) {
602
1044
  return (options.client ?? this.client).post({
603
- url: '/api/pods/{podId}/projects/{id}/agents',
1045
+ url: "/api/projects/{id}/agents",
604
1046
  ...options,
605
1047
  headers: {
606
- 'Content-Type': 'application/json',
607
- ...options.headers
608
- }
1048
+ "Content-Type": "application/json",
1049
+ ...options.headers,
1050
+ },
609
1051
  });
610
1052
  }
611
1053
  /**
612
- * Remove an agent from a project
1054
+ * Detach an agent from a project
613
1055
  */
614
1056
  remove(options) {
615
- return (options.client ?? this.client).delete({ url: '/api/pods/{podId}/projects/{id}/agents/{agentId}', ...options });
1057
+ return (options.client ?? this.client).delete({
1058
+ url: "/api/projects/{id}/agents/{agentId}",
1059
+ ...options,
1060
+ });
616
1061
  }
617
1062
  }
618
1063
  export class FileStore2 extends HeyApiClient {
619
1064
  /**
620
- * List project file stores
1065
+ * List file stores attached to a project
621
1066
  */
622
1067
  list(options) {
623
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/projects/{id}/file-stores', ...options });
1068
+ return (options.client ?? this.client).get({ url: "/api/projects/{id}/file-stores", ...options });
624
1069
  }
625
1070
  /**
626
1071
  * Attach a file store to a project
627
1072
  */
628
1073
  add(options) {
629
1074
  return (options.client ?? this.client).post({
630
- url: '/api/pods/{podId}/projects/{id}/file-stores',
1075
+ url: "/api/projects/{id}/file-stores",
631
1076
  ...options,
632
1077
  headers: {
633
- 'Content-Type': 'application/json',
634
- ...options.headers
635
- }
1078
+ "Content-Type": "application/json",
1079
+ ...options.headers,
1080
+ },
636
1081
  });
637
1082
  }
638
1083
  /**
639
1084
  * Detach a file store from a project
640
1085
  */
641
1086
  remove(options) {
642
- return (options.client ?? this.client).delete({ url: '/api/pods/{podId}/projects/{id}/file-stores/{fileStoreId}', ...options });
1087
+ return (options.client ?? this.client).delete({ url: "/api/projects/{id}/file-stores/{fileStoreId}", ...options });
643
1088
  }
644
1089
  }
645
1090
  export class MemoryStore2 extends HeyApiClient {
646
1091
  /**
647
- * List project memory stores
1092
+ * List memory stores attached to a project
648
1093
  */
649
1094
  list(options) {
650
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/projects/{id}/memory-stores', ...options });
1095
+ return (options.client ?? this.client).get({ url: "/api/projects/{id}/memory-stores", ...options });
651
1096
  }
652
1097
  /**
653
1098
  * Attach a memory store to a project
654
1099
  */
655
1100
  add(options) {
656
1101
  return (options.client ?? this.client).post({
657
- url: '/api/pods/{podId}/projects/{id}/memory-stores',
1102
+ url: "/api/projects/{id}/memory-stores",
658
1103
  ...options,
659
1104
  headers: {
660
- 'Content-Type': 'application/json',
661
- ...options.headers
662
- }
1105
+ "Content-Type": "application/json",
1106
+ ...options.headers,
1107
+ },
663
1108
  });
664
1109
  }
665
1110
  /**
666
1111
  * Detach a memory store from a project
667
1112
  */
668
1113
  remove(options) {
669
- return (options.client ?? this.client).delete({ url: '/api/pods/{podId}/projects/{id}/memory-stores/{memoryStoreId}', ...options });
670
- }
671
- }
672
- export class Routine extends HeyApiClient {
673
- /**
674
- * List routines for a project
675
- */
676
- list(options) {
677
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/projects/{id}/routines', ...options });
678
- }
679
- }
680
- export class Runs extends HeyApiClient {
681
- /**
682
- * List routine runs across a project
683
- */
684
- listAll(options) {
685
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/projects/{id}/routine-runs', ...options });
686
- }
687
- }
688
- export class Routines extends HeyApiClient {
689
- _runs;
690
- get runs() {
691
- return this._runs ??= new Runs({ client: this.client });
1114
+ return (options.client ?? this.client).delete({ url: "/api/projects/{id}/memory-stores/{memoryStoreId}", ...options });
692
1115
  }
693
1116
  }
694
1117
  export class Project extends HeyApiClient {
@@ -696,646 +1119,638 @@ export class Project extends HeyApiClient {
696
1119
  * List projects
697
1120
  */
698
1121
  list(options) {
699
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/projects', ...options });
1122
+ return (options?.client ?? this.client).get({
1123
+ url: "/api/projects",
1124
+ ...options,
1125
+ });
700
1126
  }
701
1127
  /**
702
1128
  * Create a project
703
1129
  */
704
1130
  create(options) {
705
- return (options.client ?? this.client).post({
706
- url: '/api/pods/{podId}/projects',
1131
+ return (options?.client ?? this.client).post({
1132
+ url: "/api/projects",
707
1133
  ...options,
708
1134
  headers: {
709
- 'Content-Type': 'application/json',
710
- ...options.headers
711
- }
1135
+ "Content-Type": "application/json",
1136
+ ...options?.headers,
1137
+ },
712
1138
  });
713
1139
  }
714
1140
  /**
715
1141
  * Get a project
716
1142
  */
717
1143
  get(options) {
718
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/projects/{id}', ...options });
1144
+ return (options.client ?? this.client).get({
1145
+ url: "/api/projects/{id}",
1146
+ ...options,
1147
+ });
719
1148
  }
720
1149
  /**
721
1150
  * Update a project
722
1151
  */
723
1152
  update(options) {
724
1153
  return (options.client ?? this.client).patch({
725
- url: '/api/pods/{podId}/projects/{id}',
1154
+ url: "/api/projects/{id}",
726
1155
  ...options,
727
1156
  headers: {
728
- 'Content-Type': 'application/json',
729
- ...options.headers
730
- }
1157
+ "Content-Type": "application/json",
1158
+ ...options.headers,
1159
+ },
731
1160
  });
732
1161
  }
733
1162
  /**
734
1163
  * Archive a project
735
1164
  */
736
1165
  archive(options) {
737
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/projects/{id}/archive', ...options });
1166
+ return (options.client ?? this.client).post({
1167
+ url: "/api/projects/{id}/archive",
1168
+ ...options,
1169
+ });
738
1170
  }
739
1171
  _agent;
740
1172
  get agent() {
741
- return this._agent ??= new Agent2({ client: this.client });
1173
+ return (this._agent ??= new Agent2({ client: this.client }));
742
1174
  }
743
1175
  _fileStore;
744
1176
  get fileStore() {
745
- return this._fileStore ??= new FileStore2({ client: this.client });
1177
+ return (this._fileStore ??= new FileStore2({ client: this.client }));
746
1178
  }
747
1179
  _memoryStore;
748
1180
  get memoryStore() {
749
- return this._memoryStore ??= new MemoryStore2({ client: this.client });
750
- }
751
- _routine;
752
- get routine() {
753
- return this._routine ??= new Routine({ client: this.client });
754
- }
755
- _routines;
756
- get routines() {
757
- return this._routines ??= new Routines({ client: this.client });
1181
+ return (this._memoryStore ??= new MemoryStore2({ client: this.client }));
758
1182
  }
759
1183
  }
760
- export class Message extends HeyApiClient {
1184
+ export class Publisher extends HeyApiClient {
761
1185
  /**
762
- * List session messages
1186
+ * Get the caller's accessible publishers
763
1187
  */
764
- list(options) {
765
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/sessions/{id}/messages', ...options });
766
- }
767
- }
768
- export class Session extends HeyApiClient {
769
- /**
770
- * List sessions
771
- */
772
- list(options) {
773
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/sessions', ...options });
1188
+ me(options) {
1189
+ return (options?.client ?? this.client).get({
1190
+ url: "/api/publishers/me",
1191
+ ...options,
1192
+ });
774
1193
  }
775
1194
  /**
776
- * Create a session
1195
+ * Claim the caller's org publisher handle
777
1196
  */
778
- create(options) {
779
- return (options.client ?? this.client).post({
780
- url: '/api/pods/{podId}/sessions',
1197
+ claimOrg(options) {
1198
+ return (options?.client ?? this.client).post({
1199
+ url: "/api/publishers/org",
781
1200
  ...options,
782
1201
  headers: {
783
- 'Content-Type': 'application/json',
784
- ...options.headers
785
- }
1202
+ "Content-Type": "application/json",
1203
+ ...options?.headers,
1204
+ },
786
1205
  });
787
1206
  }
788
1207
  /**
789
- * Get a session
1208
+ * Get a publisher
790
1209
  */
791
1210
  get(options) {
792
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/sessions/{id}', ...options });
1211
+ return (options.client ?? this.client).get({
1212
+ url: "/api/publishers/{id}",
1213
+ ...options,
1214
+ });
793
1215
  }
794
1216
  /**
795
- * Update a session
1217
+ * Update publisher metadata
796
1218
  */
797
1219
  update(options) {
798
1220
  return (options.client ?? this.client).patch({
799
- url: '/api/pods/{podId}/sessions/{id}',
1221
+ url: "/api/publishers/{id}",
800
1222
  ...options,
801
1223
  headers: {
802
- 'Content-Type': 'application/json',
803
- ...options.headers
804
- }
1224
+ "Content-Type": "application/json",
1225
+ ...options.headers,
1226
+ },
805
1227
  });
806
1228
  }
807
- /**
808
- * Archive a session
809
- */
810
- archive(options) {
811
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/sessions/{id}/archive', ...options });
812
- }
813
- _message;
814
- get message() {
815
- return this._message ??= new Message({ client: this.client });
816
- }
817
1229
  }
818
- export class CronTrigger extends HeyApiClient {
1230
+ export class Replay extends HeyApiClient {
819
1231
  /**
820
- * List cron triggers
1232
+ * List replays
821
1233
  */
822
1234
  list(options) {
823
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/routines/{id}/cron-triggers', ...options });
1235
+ return (options?.client ?? this.client).get({
1236
+ url: "/api/replays",
1237
+ ...options,
1238
+ });
824
1239
  }
825
1240
  /**
826
- * Create a cron trigger
1241
+ * Create a replay
827
1242
  */
828
1243
  create(options) {
829
- return (options.client ?? this.client).post({
830
- url: '/api/pods/{podId}/routines/{id}/cron-triggers',
1244
+ return (options?.client ?? this.client).post({
1245
+ url: "/api/replays",
831
1246
  ...options,
832
1247
  headers: {
833
- 'Content-Type': 'application/json',
834
- ...options.headers
835
- }
1248
+ "Content-Type": "application/json",
1249
+ ...options?.headers,
1250
+ },
836
1251
  });
837
1252
  }
838
1253
  /**
839
- * Get a cron trigger
1254
+ * Get a replay
840
1255
  */
841
1256
  get(options) {
842
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/routines/{id}/cron-triggers/{triggerId}', ...options });
1257
+ return (options.client ?? this.client).get({
1258
+ url: "/api/replays/{id}",
1259
+ ...options,
1260
+ });
843
1261
  }
844
1262
  /**
845
- * Update a cron trigger
1263
+ * Update a replay
846
1264
  */
847
1265
  update(options) {
848
1266
  return (options.client ?? this.client).patch({
849
- url: '/api/pods/{podId}/routines/{id}/cron-triggers/{triggerId}',
1267
+ url: "/api/replays/{id}",
850
1268
  ...options,
851
1269
  headers: {
852
- 'Content-Type': 'application/json',
853
- ...options.headers
854
- }
1270
+ "Content-Type": "application/json",
1271
+ ...options.headers,
1272
+ },
855
1273
  });
856
1274
  }
857
1275
  /**
858
- * Archive a cron trigger
1276
+ * Archive a replay
859
1277
  */
860
1278
  archive(options) {
861
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/routines/{id}/cron-triggers/{triggerId}/archive', ...options });
1279
+ return (options.client ?? this.client).post({
1280
+ url: "/api/replays/{id}/archive",
1281
+ ...options,
1282
+ });
862
1283
  }
863
- }
864
- export class WebhookTrigger extends HeyApiClient {
865
1284
  /**
866
- * List webhook triggers
1285
+ * Publish a replay
867
1286
  */
868
- list(options) {
869
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/routines/{id}/webhook-triggers', ...options });
1287
+ publish(options) {
1288
+ return (options.client ?? this.client).post({
1289
+ url: "/api/replays/{id}/publish",
1290
+ ...options,
1291
+ });
870
1292
  }
871
1293
  /**
872
- * Create a webhook trigger
1294
+ * Deprecate a replay
873
1295
  */
874
- create(options) {
1296
+ deprecate(options) {
875
1297
  return (options.client ?? this.client).post({
876
- url: '/api/pods/{podId}/routines/{id}/webhook-triggers',
1298
+ url: "/api/replays/{id}/deprecate",
877
1299
  ...options,
878
1300
  headers: {
879
- 'Content-Type': 'application/json',
880
- ...options.headers
881
- }
1301
+ "Content-Type": "application/json",
1302
+ ...options.headers,
1303
+ },
882
1304
  });
883
1305
  }
884
1306
  /**
885
- * Get a webhook trigger
1307
+ * Undeprecate a replay
886
1308
  */
887
- get(options) {
888
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/routines/{id}/webhook-triggers/{triggerId}', ...options });
1309
+ undeprecate(options) {
1310
+ return (options.client ?? this.client).post({
1311
+ url: "/api/replays/{id}/undeprecate",
1312
+ ...options,
1313
+ });
889
1314
  }
890
1315
  /**
891
- * Update a webhook trigger
1316
+ * Share a chat session as a public replay
892
1317
  */
893
- update(options) {
894
- return (options.client ?? this.client).patch({
895
- url: '/api/pods/{podId}/routines/{id}/webhook-triggers/{triggerId}',
1318
+ share(options) {
1319
+ return (options?.client ?? this.client).post({
1320
+ url: "/api/replays/share",
896
1321
  ...options,
897
1322
  headers: {
898
- 'Content-Type': 'application/json',
899
- ...options.headers
900
- }
1323
+ "Content-Type": "application/json",
1324
+ ...options?.headers,
1325
+ },
901
1326
  });
902
1327
  }
903
- /**
904
- * Archive a webhook trigger
905
- */
906
- archive(options) {
907
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/routines/{id}/webhook-triggers/{triggerId}/archive', ...options });
908
- }
909
1328
  }
910
- export class ApiTrigger extends HeyApiClient {
1329
+ export class Messages extends HeyApiClient {
911
1330
  /**
912
- * List API triggers
1331
+ * List a session's messages
913
1332
  */
914
1333
  list(options) {
915
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/routines/{id}/api-triggers', ...options });
1334
+ return (options.client ?? this.client).get({
1335
+ url: "/api/sessions/{id}/messages",
1336
+ ...options,
1337
+ });
916
1338
  }
1339
+ }
1340
+ export class Files3 extends HeyApiClient {
917
1341
  /**
918
- * Create an API trigger
919
- *
920
- * Server generates a single-use plaintext token. The token is returned ONCE in this response and never again — only its sha256 hash is stored.
1342
+ * Presign an upload URL for a file destined for the session's pod volume
921
1343
  */
922
- create(options) {
1344
+ presignUpload(options) {
923
1345
  return (options.client ?? this.client).post({
924
- url: '/api/pods/{podId}/routines/{id}/api-triggers',
1346
+ url: "/api/sessions/{id}/files/presign-upload",
925
1347
  ...options,
926
1348
  headers: {
927
- 'Content-Type': 'application/json',
928
- ...options.headers
929
- }
1349
+ "Content-Type": "application/json",
1350
+ ...options.headers,
1351
+ },
930
1352
  });
931
1353
  }
932
1354
  /**
933
- * Rotate an API trigger token
934
- *
935
- * Generates a new token, replaces the stored hash, returns the plaintext once.
936
- */
937
- rotate(options) {
938
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/routines/{id}/api-triggers/{triggerId}/rotate', ...options });
939
- }
940
- /**
941
- * Get an API trigger
1355
+ * Presign a download URL for a file in the session's pod volume
942
1356
  */
943
- get(options) {
944
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/routines/{id}/api-triggers/{triggerId}', ...options });
945
- }
946
- /**
947
- * Update an API trigger
948
- */
949
- update(options) {
950
- return (options.client ?? this.client).patch({
951
- url: '/api/pods/{podId}/routines/{id}/api-triggers/{triggerId}',
1357
+ presignDownload(options) {
1358
+ return (options.client ?? this.client).post({
1359
+ url: "/api/sessions/{id}/files/presign-download",
952
1360
  ...options,
953
1361
  headers: {
954
- 'Content-Type': 'application/json',
955
- ...options.headers
956
- }
1362
+ "Content-Type": "application/json",
1363
+ ...options.headers,
1364
+ },
957
1365
  });
958
1366
  }
959
- /**
960
- * Archive an API trigger
961
- */
962
- archive(options) {
963
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/routines/{id}/api-triggers/{triggerId}/archive', ...options });
964
- }
965
1367
  }
966
- export class Runs2 extends HeyApiClient {
1368
+ export class Session extends HeyApiClient {
967
1369
  /**
968
- * List routine runs
1370
+ * List sessions
969
1371
  */
970
1372
  list(options) {
971
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/routines/{id}/runs', ...options });
1373
+ return (options?.client ?? this.client).get({
1374
+ url: "/api/sessions",
1375
+ ...options,
1376
+ });
972
1377
  }
973
1378
  /**
974
- * Create a routine run
1379
+ * Create a session
975
1380
  */
976
1381
  create(options) {
977
- return (options.client ?? this.client).post({
978
- url: '/api/pods/{podId}/routines/{id}/runs',
1382
+ return (options?.client ?? this.client).post({
1383
+ url: "/api/sessions",
979
1384
  ...options,
980
1385
  headers: {
981
- 'Content-Type': 'application/json',
982
- ...options.headers
983
- }
1386
+ "Content-Type": "application/json",
1387
+ ...options?.headers,
1388
+ },
984
1389
  });
985
1390
  }
986
1391
  /**
987
- * Get a routine run
1392
+ * Get a session
988
1393
  */
989
1394
  get(options) {
990
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/routines/{id}/runs/{runId}', ...options });
1395
+ return (options.client ?? this.client).get({
1396
+ url: "/api/sessions/{id}",
1397
+ ...options,
1398
+ });
991
1399
  }
992
1400
  /**
993
- * Mark a routine run as started
1401
+ * Update a session
994
1402
  */
995
- start(options) {
996
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/routines/{id}/runs/{runId}/start', ...options });
1403
+ update(options) {
1404
+ return (options.client ?? this.client).patch({
1405
+ url: "/api/sessions/{id}",
1406
+ ...options,
1407
+ headers: {
1408
+ "Content-Type": "application/json",
1409
+ ...options.headers,
1410
+ },
1411
+ });
997
1412
  }
998
1413
  /**
999
- * Mark a routine run as completed
1414
+ * Compute MCP and skill credential requirements for a session
1000
1415
  */
1001
- complete(options) {
1002
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/routines/{id}/runs/{runId}/complete', ...options });
1416
+ authRequirements(options) {
1417
+ return (options.client ?? this.client).get({ url: "/api/sessions/{id}/auth-requirements", ...options });
1003
1418
  }
1004
1419
  /**
1005
- * Mark a routine run as failed
1420
+ * Archive a session
1006
1421
  */
1007
- fail(options) {
1422
+ archive(options) {
1008
1423
  return (options.client ?? this.client).post({
1009
- url: '/api/pods/{podId}/routines/{id}/runs/{runId}/fail',
1424
+ url: "/api/sessions/{id}/archive",
1010
1425
  ...options,
1011
- headers: {
1012
- 'Content-Type': 'application/json',
1013
- ...options.headers
1014
- }
1015
1426
  });
1016
1427
  }
1017
- /**
1018
- * Cancel a routine run
1019
- */
1020
- cancel(options) {
1021
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/routines/{id}/runs/{runId}/cancel', ...options });
1428
+ _messages;
1429
+ get messages() {
1430
+ return (this._messages ??= new Messages({ client: this.client }));
1431
+ }
1432
+ _files;
1433
+ get files() {
1434
+ return (this._files ??= new Files3({ client: this.client }));
1022
1435
  }
1023
1436
  }
1024
- export class Routine2 extends HeyApiClient {
1437
+ export class Version2 extends HeyApiClient {
1025
1438
  /**
1026
- * List routines
1439
+ * List skill versions
1027
1440
  */
1028
1441
  list(options) {
1029
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/routines', ...options });
1442
+ return (options.client ?? this.client).get({
1443
+ url: "/api/skills/{id}/versions",
1444
+ ...options,
1445
+ });
1030
1446
  }
1031
1447
  /**
1032
- * Create a routine
1448
+ * Create a skill version
1033
1449
  */
1034
1450
  create(options) {
1035
1451
  return (options.client ?? this.client).post({
1036
- url: '/api/pods/{podId}/routines',
1452
+ ...formDataBodySerializer,
1453
+ url: "/api/skills/{id}/versions",
1037
1454
  ...options,
1038
1455
  headers: {
1039
- 'Content-Type': 'application/json',
1040
- ...options.headers
1041
- }
1456
+ "Content-Type": null,
1457
+ ...options.headers,
1458
+ },
1042
1459
  });
1043
1460
  }
1044
1461
  /**
1045
- * Get a routine
1462
+ * Get a skill version
1046
1463
  */
1047
1464
  get(options) {
1048
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/routines/{id}', ...options });
1465
+ return (options.client ?? this.client).get({
1466
+ url: "/api/skills/{id}/versions/{version}",
1467
+ ...options,
1468
+ });
1049
1469
  }
1050
1470
  /**
1051
- * Update a routine
1471
+ * Read skill version data
1052
1472
  */
1053
- update(options) {
1054
- return (options.client ?? this.client).patch({
1055
- url: '/api/pods/{podId}/routines/{id}',
1473
+ data(options) {
1474
+ return (options.client ?? this.client).get({
1475
+ url: "/api/skills/{id}/versions/{version}/data",
1056
1476
  ...options,
1057
- headers: {
1058
- 'Content-Type': 'application/json',
1059
- ...options.headers
1060
- }
1061
1477
  });
1062
1478
  }
1063
1479
  /**
1064
- * Archive a routine
1480
+ * Archive a skill version
1065
1481
  */
1066
1482
  archive(options) {
1067
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/routines/{id}/archive', ...options });
1068
- }
1069
- /**
1070
- * Pause a routine
1071
- */
1072
- pause(options) {
1073
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/routines/{id}/pause', ...options });
1074
- }
1075
- /**
1076
- * Resume a routine
1077
- */
1078
- resume(options) {
1079
- return (options.client ?? this.client).post({ url: '/api/pods/{podId}/routines/{id}/resume', ...options });
1080
- }
1081
- _cronTrigger;
1082
- get cronTrigger() {
1083
- return this._cronTrigger ??= new CronTrigger({ client: this.client });
1084
- }
1085
- _webhookTrigger;
1086
- get webhookTrigger() {
1087
- return this._webhookTrigger ??= new WebhookTrigger({ client: this.client });
1088
- }
1089
- _apiTrigger;
1090
- get apiTrigger() {
1091
- return this._apiTrigger ??= new ApiTrigger({ client: this.client });
1092
- }
1093
- _runs;
1094
- get runs() {
1095
- return this._runs ??= new Runs2({ client: this.client });
1483
+ return (options.client ?? this.client).post({
1484
+ url: "/api/skills/{id}/versions/{version}/archive",
1485
+ ...options,
1486
+ });
1096
1487
  }
1097
1488
  }
1098
- export class Runs3 extends HeyApiClient {
1489
+ export class Skill extends HeyApiClient {
1099
1490
  /**
1100
- * List routine runs across pod
1491
+ * List skills
1101
1492
  */
1102
- listAll(options) {
1103
- return (options.client ?? this.client).get({ url: '/api/pods/{podId}/routine-runs', ...options });
1104
- }
1105
- }
1106
- export class Routines2 extends HeyApiClient {
1107
- _runs;
1108
- get runs() {
1109
- return this._runs ??= new Runs3({ client: this.client });
1493
+ list(options) {
1494
+ return (options?.client ?? this.client).get({
1495
+ url: "/api/skills",
1496
+ ...options,
1497
+ });
1110
1498
  }
1111
- }
1112
- export class Pod extends HeyApiClient {
1113
1499
  /**
1114
- * List pods
1500
+ * Create a skill
1115
1501
  */
1116
- list(options) {
1117
- return (options?.client ?? this.client).get({ url: '/api/pods', ...options });
1502
+ create(options) {
1503
+ return (options.client ?? this.client).post({
1504
+ ...formDataBodySerializer,
1505
+ url: "/api/skills",
1506
+ ...options,
1507
+ headers: {
1508
+ "Content-Type": null,
1509
+ ...options.headers,
1510
+ },
1511
+ });
1118
1512
  }
1119
1513
  /**
1120
- * Create a pod
1514
+ * Search skills across user, org, and registry scopes
1121
1515
  */
1122
- create(options) {
1516
+ search(options) {
1123
1517
  return (options?.client ?? this.client).post({
1124
- url: '/api/pods',
1518
+ url: "/api/skills/search",
1125
1519
  ...options,
1126
1520
  headers: {
1127
- 'Content-Type': 'application/json',
1128
- ...options?.headers
1129
- }
1521
+ "Content-Type": "application/json",
1522
+ ...options?.headers,
1523
+ },
1130
1524
  });
1131
1525
  }
1132
1526
  /**
1133
- * Get a pod
1527
+ * Get a skill by slug
1528
+ */
1529
+ getBySlug(options) {
1530
+ return (options.client ?? this.client).get({
1531
+ url: "/api/skills/slug/{slug}",
1532
+ ...options,
1533
+ });
1534
+ }
1535
+ /**
1536
+ * Get a skill
1134
1537
  */
1135
1538
  get(options) {
1136
- return (options.client ?? this.client).get({ url: '/api/pods/{id}', ...options });
1539
+ return (options.client ?? this.client).get({
1540
+ url: "/api/skills/{id}",
1541
+ ...options,
1542
+ });
1137
1543
  }
1138
1544
  /**
1139
- * Update a pod
1545
+ * Update skill metadata
1140
1546
  */
1141
1547
  update(options) {
1142
1548
  return (options.client ?? this.client).patch({
1143
- url: '/api/pods/{id}',
1549
+ url: "/api/skills/{id}",
1144
1550
  ...options,
1145
1551
  headers: {
1146
- 'Content-Type': 'application/json',
1147
- ...options.headers
1148
- }
1552
+ "Content-Type": "application/json",
1553
+ ...options.headers,
1554
+ },
1149
1555
  });
1150
1556
  }
1151
1557
  /**
1152
- * Archive a pod
1558
+ * Archive a skill
1153
1559
  */
1154
1560
  archive(options) {
1155
- return (options.client ?? this.client).post({ url: '/api/pods/{id}/archive', ...options });
1156
- }
1157
- _member;
1158
- get member() {
1159
- return this._member ??= new Member({ client: this.client });
1160
- }
1161
- _vault;
1162
- get vault() {
1163
- return this._vault ??= new Vault({ client: this.client });
1164
- }
1165
- _sandbox;
1166
- get sandbox() {
1167
- return this._sandbox ??= new Sandbox({ client: this.client });
1168
- }
1169
- _project;
1170
- get project() {
1171
- return this._project ??= new Project({ client: this.client });
1172
- }
1173
- _session;
1174
- get session() {
1175
- return this._session ??= new Session({ client: this.client });
1176
- }
1177
- _routine;
1178
- get routine() {
1179
- return this._routine ??= new Routine2({ client: this.client });
1180
- }
1181
- _routines;
1182
- get routines() {
1183
- return this._routines ??= new Routines2({ client: this.client });
1561
+ return (options.client ?? this.client).post({
1562
+ url: "/api/skills/{id}/archive",
1563
+ ...options,
1564
+ });
1184
1565
  }
1185
- }
1186
- export class Replay extends HeyApiClient {
1187
1566
  /**
1188
- * List replays
1567
+ * Publish a skill
1189
1568
  */
1190
- list(options) {
1191
- return (options?.client ?? this.client).get({ url: '/api/replays', ...options });
1569
+ publish(options) {
1570
+ return (options.client ?? this.client).post({
1571
+ url: "/api/skills/{id}/publish",
1572
+ ...options,
1573
+ });
1192
1574
  }
1193
1575
  /**
1194
- * Create a replay
1576
+ * Deprecate a skill
1195
1577
  */
1196
- create(options) {
1197
- return (options?.client ?? this.client).post({
1198
- url: '/api/replays',
1578
+ deprecate(options) {
1579
+ return (options.client ?? this.client).post({
1580
+ url: "/api/skills/{id}/deprecate",
1199
1581
  ...options,
1200
1582
  headers: {
1201
- 'Content-Type': 'application/json',
1202
- ...options?.headers
1203
- }
1583
+ "Content-Type": "application/json",
1584
+ ...options.headers,
1585
+ },
1204
1586
  });
1205
1587
  }
1206
1588
  /**
1207
- * Get a replay
1208
- */
1209
- get(options) {
1210
- return (options.client ?? this.client).get({ url: '/api/replays/{id}', ...options });
1211
- }
1212
- /**
1213
- * Archive a replay
1214
- */
1215
- archive(options) {
1216
- return (options.client ?? this.client).post({ url: '/api/replays/{id}/archive', ...options });
1217
- }
1218
- }
1219
- export class Runs4 extends HeyApiClient {
1220
- /**
1221
- * List routine runs across user
1589
+ * Undeprecate a skill
1222
1590
  */
1223
- listAll(options) {
1224
- return (options?.client ?? this.client).get({ url: '/api/routine-runs', ...options });
1225
- }
1226
- }
1227
- export class Routines3 extends HeyApiClient {
1228
- _runs;
1229
- get runs() {
1230
- return this._runs ??= new Runs4({ client: this.client });
1591
+ undeprecate(options) {
1592
+ return (options.client ?? this.client).post({
1593
+ url: "/api/skills/{id}/undeprecate",
1594
+ ...options,
1595
+ });
1231
1596
  }
1232
- }
1233
- export class Session2 extends HeyApiClient {
1234
1597
  /**
1235
- * List sessions across pods for the authenticated user
1598
+ * Copy a skill
1236
1599
  */
1237
- list(options) {
1238
- return (options?.client ?? this.client).get({ url: '/api/sessions', ...options });
1600
+ copy(options) {
1601
+ return (options.client ?? this.client).post({
1602
+ url: "/api/skills/{id}/copy",
1603
+ ...options,
1604
+ headers: {
1605
+ "Content-Type": "application/json",
1606
+ ...options.headers,
1607
+ },
1608
+ });
1239
1609
  }
1240
- /**
1241
- * Get a session by org scope
1242
- */
1243
- get(options) {
1244
- return (options.client ?? this.client).get({ url: '/api/sessions/{id}', ...options });
1610
+ _version;
1611
+ get version() {
1612
+ return (this._version ??= new Version2({ client: this.client }));
1245
1613
  }
1246
1614
  }
1247
- export class Version2 extends HeyApiClient {
1615
+ export class Trigger extends HeyApiClient {
1248
1616
  /**
1249
- * List skill versions
1617
+ * List cron triggers in a project
1250
1618
  */
1251
1619
  list(options) {
1252
- return (options.client ?? this.client).get({ url: '/api/skills/{id}/versions', ...options });
1620
+ return (options.client ?? this.client).get({
1621
+ url: "/api/triggers",
1622
+ ...options,
1623
+ });
1253
1624
  }
1254
1625
  /**
1255
- * Create a skill version
1626
+ * Create a cron trigger
1256
1627
  */
1257
1628
  create(options) {
1258
- return (options.client ?? this.client).post({ url: '/api/skills/{id}/versions', ...options });
1629
+ return (options?.client ?? this.client).post({
1630
+ url: "/api/triggers",
1631
+ ...options,
1632
+ headers: {
1633
+ "Content-Type": "application/json",
1634
+ ...options?.headers,
1635
+ },
1636
+ });
1259
1637
  }
1260
1638
  /**
1261
- * Get a skill version
1639
+ * Get a cron trigger
1262
1640
  */
1263
1641
  get(options) {
1264
- return (options.client ?? this.client).get({ url: '/api/skills/{id}/versions/{version}', ...options });
1642
+ return (options.client ?? this.client).get({
1643
+ url: "/api/triggers/{triggerId}",
1644
+ ...options,
1645
+ });
1265
1646
  }
1266
1647
  /**
1267
- * Read skill version data
1648
+ * Update a cron trigger
1268
1649
  */
1269
- data(options) {
1270
- return (options.client ?? this.client).get({ url: '/api/skills/{id}/versions/{version}/data', ...options });
1650
+ update(options) {
1651
+ return (options.client ?? this.client).patch({
1652
+ url: "/api/triggers/{triggerId}",
1653
+ ...options,
1654
+ headers: {
1655
+ "Content-Type": "application/json",
1656
+ ...options.headers,
1657
+ },
1658
+ });
1271
1659
  }
1272
1660
  /**
1273
- * Archive a skill version
1661
+ * Archive a cron trigger
1274
1662
  */
1275
1663
  archive(options) {
1276
- return (options.client ?? this.client).post({ url: '/api/skills/{id}/versions/{version}/archive', ...options });
1664
+ return (options.client ?? this.client).post({
1665
+ url: "/api/triggers/{triggerId}/archive",
1666
+ ...options,
1667
+ headers: {
1668
+ "Content-Type": "application/json",
1669
+ ...options.headers,
1670
+ },
1671
+ });
1277
1672
  }
1278
1673
  }
1279
- export class Skill extends HeyApiClient {
1674
+ export class WebhookTrigger extends HeyApiClient {
1280
1675
  /**
1281
- * List skills
1676
+ * List webhook triggers in a project
1282
1677
  */
1283
1678
  list(options) {
1284
- return (options?.client ?? this.client).get({ url: '/api/skills', ...options });
1679
+ return (options.client ?? this.client).get({
1680
+ url: "/api/webhook-triggers",
1681
+ ...options,
1682
+ });
1285
1683
  }
1286
1684
  /**
1287
- * Create a skill
1685
+ * Create a webhook trigger
1288
1686
  */
1289
1687
  create(options) {
1290
- return (options?.client ?? this.client).post({ url: '/api/skills', ...options });
1291
- }
1292
- /**
1293
- * Get a skill by slug
1294
- */
1295
- getBySlug(options) {
1296
- return (options.client ?? this.client).get({ url: '/api/skills/slug/{slug}', ...options });
1688
+ return (options?.client ?? this.client).post({
1689
+ url: "/api/webhook-triggers",
1690
+ ...options,
1691
+ headers: {
1692
+ "Content-Type": "application/json",
1693
+ ...options?.headers,
1694
+ },
1695
+ });
1297
1696
  }
1298
1697
  /**
1299
- * Get a skill
1698
+ * Get a webhook trigger
1300
1699
  */
1301
1700
  get(options) {
1302
- return (options.client ?? this.client).get({ url: '/api/skills/{id}', ...options });
1701
+ return (options.client ?? this.client).get({
1702
+ url: "/api/webhook-triggers/{triggerId}",
1703
+ ...options,
1704
+ });
1303
1705
  }
1304
1706
  /**
1305
- * Update skill metadata
1707
+ * Update a webhook trigger
1306
1708
  */
1307
1709
  update(options) {
1308
1710
  return (options.client ?? this.client).patch({
1309
- url: '/api/skills/{id}',
1711
+ url: "/api/webhook-triggers/{triggerId}",
1310
1712
  ...options,
1311
1713
  headers: {
1312
- 'Content-Type': 'application/json',
1313
- ...options.headers
1314
- }
1714
+ "Content-Type": "application/json",
1715
+ ...options.headers,
1716
+ },
1315
1717
  });
1316
1718
  }
1317
1719
  /**
1318
- * Archive a skill
1720
+ * Archive a webhook trigger
1319
1721
  */
1320
1722
  archive(options) {
1321
- return (options.client ?? this.client).post({ url: '/api/skills/{id}/archive', ...options });
1723
+ return (options.client ?? this.client).post({
1724
+ url: "/api/webhook-triggers/{triggerId}/archive",
1725
+ ...options,
1726
+ headers: {
1727
+ "Content-Type": "application/json",
1728
+ ...options.headers,
1729
+ },
1730
+ });
1322
1731
  }
1732
+ }
1733
+ export class Installation2 extends HeyApiClient {
1323
1734
  /**
1324
- * Copy a skill
1735
+ * Disconnect a Slack workspace installation
1325
1736
  */
1326
- copy(options) {
1327
- return (options.client ?? this.client).post({
1328
- url: '/api/skills/{id}/copy',
1737
+ remove(options) {
1738
+ return (options.client ?? this.client).delete({ url: "/api/slack/installations/{id}", ...options });
1739
+ }
1740
+ }
1741
+ export class Slack extends HeyApiClient {
1742
+ /**
1743
+ * Report whether Slack is installed for the caller's org
1744
+ */
1745
+ status(options) {
1746
+ return (options?.client ?? this.client).get({
1747
+ url: "/api/slack/status",
1329
1748
  ...options,
1330
- headers: {
1331
- 'Content-Type': 'application/json',
1332
- ...options.headers
1333
- }
1334
1749
  });
1335
1750
  }
1336
- _version;
1337
- get version() {
1338
- return this._version ??= new Version2({ client: this.client });
1751
+ _installation;
1752
+ get installation() {
1753
+ return (this._installation ??= new Installation2({ client: this.client }));
1339
1754
  }
1340
1755
  }
1341
1756
  export class Vault2 extends HeyApiClient {
@@ -1343,51 +1758,63 @@ export class Vault2 extends HeyApiClient {
1343
1758
  * List vaults
1344
1759
  */
1345
1760
  list(options) {
1346
- return (options?.client ?? this.client).get({ url: '/api/vaults', ...options });
1761
+ return (options?.client ?? this.client).get({
1762
+ url: "/api/vaults",
1763
+ ...options,
1764
+ });
1347
1765
  }
1348
1766
  /**
1349
1767
  * Create a vault
1350
1768
  */
1351
1769
  create(options) {
1352
1770
  return (options?.client ?? this.client).post({
1353
- url: '/api/vaults',
1771
+ url: "/api/vaults",
1354
1772
  ...options,
1355
1773
  headers: {
1356
- 'Content-Type': 'application/json',
1357
- ...options?.headers
1358
- }
1774
+ "Content-Type": "application/json",
1775
+ ...options?.headers,
1776
+ },
1359
1777
  });
1360
1778
  }
1361
1779
  /**
1362
1780
  * Delete a vault permanently
1363
1781
  */
1364
1782
  delete(options) {
1365
- return (options.client ?? this.client).delete({ url: '/api/vaults/{id}', ...options });
1783
+ return (options.client ?? this.client).delete({
1784
+ url: "/api/vaults/{id}",
1785
+ ...options,
1786
+ });
1366
1787
  }
1367
1788
  /**
1368
1789
  * Get a vault
1369
1790
  */
1370
1791
  get(options) {
1371
- return (options.client ?? this.client).get({ url: '/api/vaults/{id}', ...options });
1792
+ return (options.client ?? this.client).get({
1793
+ url: "/api/vaults/{id}",
1794
+ ...options,
1795
+ });
1372
1796
  }
1373
1797
  /**
1374
1798
  * Update a vault (name, description)
1375
1799
  */
1376
1800
  update(options) {
1377
1801
  return (options.client ?? this.client).patch({
1378
- url: '/api/vaults/{id}',
1802
+ url: "/api/vaults/{id}",
1379
1803
  ...options,
1380
1804
  headers: {
1381
- 'Content-Type': 'application/json',
1382
- ...options.headers
1383
- }
1805
+ "Content-Type": "application/json",
1806
+ ...options.headers,
1807
+ },
1384
1808
  });
1385
1809
  }
1386
1810
  /**
1387
1811
  * Archive a vault
1388
1812
  */
1389
1813
  archive(options) {
1390
- return (options.client ?? this.client).post({ url: '/api/vaults/{id}/archive', ...options });
1814
+ return (options.client ?? this.client).post({
1815
+ url: "/api/vaults/{id}/archive",
1816
+ ...options,
1817
+ });
1391
1818
  }
1392
1819
  }
1393
1820
  export class Oauth2 extends HeyApiClient {
@@ -1396,19 +1823,19 @@ export class Oauth2 extends HeyApiClient {
1396
1823
  */
1397
1824
  start(options) {
1398
1825
  return (options.client ?? this.client).post({
1399
- url: '/api/vaults/{vaultId}/credentials/oauth/start',
1826
+ url: "/api/vaults/{vaultId}/credentials/oauth/start",
1400
1827
  ...options,
1401
1828
  headers: {
1402
- 'Content-Type': 'application/json',
1403
- ...options.headers
1404
- }
1829
+ "Content-Type": "application/json",
1830
+ ...options.headers,
1831
+ },
1405
1832
  });
1406
1833
  }
1407
1834
  /**
1408
1835
  * Poll an OAuth session's status
1409
1836
  */
1410
1837
  session(options) {
1411
- return (options.client ?? this.client).get({ url: '/api/vaults/{vaultId}/oauth/sessions/{sessionId}', ...options });
1838
+ return (options.client ?? this.client).get({ url: "/api/vaults/{vaultId}/oauth/sessions/{sessionId}", ...options });
1412
1839
  }
1413
1840
  }
1414
1841
  export class Credential extends HeyApiClient {
@@ -1416,55 +1843,67 @@ export class Credential extends HeyApiClient {
1416
1843
  * List credentials
1417
1844
  */
1418
1845
  list(options) {
1419
- return (options.client ?? this.client).get({ url: '/api/vaults/{vaultId}/credentials', ...options });
1846
+ return (options.client ?? this.client).get({
1847
+ url: "/api/vaults/{vaultId}/credentials",
1848
+ ...options,
1849
+ });
1420
1850
  }
1421
1851
  /**
1422
1852
  * Create a credential
1423
1853
  */
1424
1854
  create(options) {
1425
1855
  return (options.client ?? this.client).post({
1426
- url: '/api/vaults/{vaultId}/credentials',
1856
+ url: "/api/vaults/{vaultId}/credentials",
1427
1857
  ...options,
1428
1858
  headers: {
1429
- 'Content-Type': 'application/json',
1430
- ...options.headers
1431
- }
1859
+ "Content-Type": "application/json",
1860
+ ...options.headers,
1861
+ },
1432
1862
  });
1433
1863
  }
1434
1864
  /**
1435
1865
  * Delete a credential permanently
1436
1866
  */
1437
1867
  delete(options) {
1438
- return (options.client ?? this.client).delete({ url: '/api/vaults/{vaultId}/credentials/{id}', ...options });
1868
+ return (options.client ?? this.client).delete({
1869
+ url: "/api/vaults/{vaultId}/credentials/{id}",
1870
+ ...options,
1871
+ });
1439
1872
  }
1440
1873
  /**
1441
1874
  * Get a credential
1442
1875
  */
1443
1876
  get(options) {
1444
- return (options.client ?? this.client).get({ url: '/api/vaults/{vaultId}/credentials/{id}', ...options });
1877
+ return (options.client ?? this.client).get({
1878
+ url: "/api/vaults/{vaultId}/credentials/{id}",
1879
+ ...options,
1880
+ });
1445
1881
  }
1446
1882
  /**
1447
1883
  * Update a credential (rename or rotate value)
1448
1884
  */
1449
1885
  update(options) {
1450
1886
  return (options.client ?? this.client).patch({
1451
- url: '/api/vaults/{vaultId}/credentials/{id}',
1887
+ url: "/api/vaults/{vaultId}/credentials/{id}",
1452
1888
  ...options,
1453
1889
  headers: {
1454
- 'Content-Type': 'application/json',
1455
- ...options.headers
1456
- }
1890
+ "Content-Type": "application/json",
1891
+ ...options.headers,
1892
+ },
1457
1893
  });
1458
1894
  }
1459
1895
  /**
1460
1896
  * Archive a credential
1461
1897
  */
1462
1898
  archive(options) {
1463
- return (options.client ?? this.client).post({ url: '/api/vaults/{vaultId}/credentials/{id}/archive', ...options });
1899
+ return (options.client ?? this.client).post({
1900
+ url: "/api/vaults/{vaultId}/credentials/{id}/archive",
1901
+ ...options,
1902
+ });
1464
1903
  }
1465
1904
  _oauth;
1466
1905
  get oauth() {
1467
- return this._oauth ??= new Oauth2({ client: this.client });
1906
+ return (this._oauth ??= new Oauth2({ client: this.client }));
1468
1907
  }
1469
1908
  }
1470
1909
  export class Agent3 extends HeyApiClient {
@@ -1472,13 +1911,19 @@ export class Agent3 extends HeyApiClient {
1472
1911
  * List registry agents
1473
1912
  */
1474
1913
  list(options) {
1475
- return (options?.client ?? this.client).get({ url: '/api/registry/agents', ...options });
1914
+ return (options?.client ?? this.client).get({
1915
+ url: "/api/registry/agents",
1916
+ ...options,
1917
+ });
1476
1918
  }
1477
1919
  /**
1478
1920
  * Get a registry agent
1479
1921
  */
1480
1922
  get(options) {
1481
- return (options.client ?? this.client).get({ url: '/api/registry/agents/{id}', ...options });
1923
+ return (options.client ?? this.client).get({
1924
+ url: "/api/registry/agents/{id}",
1925
+ ...options,
1926
+ });
1482
1927
  }
1483
1928
  }
1484
1929
  export class Skill2 extends HeyApiClient {
@@ -1486,59 +1931,99 @@ export class Skill2 extends HeyApiClient {
1486
1931
  * List registry skills
1487
1932
  */
1488
1933
  list(options) {
1489
- return (options?.client ?? this.client).get({ url: '/api/registry/skills', ...options });
1934
+ return (options?.client ?? this.client).get({
1935
+ url: "/api/registry/skills",
1936
+ ...options,
1937
+ });
1490
1938
  }
1491
1939
  /**
1492
1940
  * Get a registry skill
1493
1941
  */
1494
1942
  get(options) {
1495
- return (options.client ?? this.client).get({ url: '/api/registry/skills/{id}', ...options });
1943
+ return (options.client ?? this.client).get({
1944
+ url: "/api/registry/skills/{id}",
1945
+ ...options,
1946
+ });
1496
1947
  }
1497
1948
  }
1498
- export class Mcp3 extends HeyApiClient {
1949
+ export class Mcp2 extends HeyApiClient {
1499
1950
  /**
1500
1951
  * List registry MCPs
1501
1952
  */
1502
1953
  list(options) {
1503
- return (options?.client ?? this.client).get({ url: '/api/registry/mcps', ...options });
1954
+ return (options?.client ?? this.client).get({
1955
+ url: "/api/registry/mcps",
1956
+ ...options,
1957
+ });
1504
1958
  }
1505
1959
  /**
1506
1960
  * Get a registry MCP
1507
1961
  */
1508
1962
  get(options) {
1509
- return (options.client ?? this.client).get({ url: '/api/registry/mcps/{id}', ...options });
1963
+ return (options.client ?? this.client).get({
1964
+ url: "/api/registry/mcps/{id}",
1965
+ ...options,
1966
+ });
1510
1967
  }
1511
1968
  }
1512
- export class ComposioMcp extends HeyApiClient {
1969
+ export class Files4 extends HeyApiClient {
1513
1970
  /**
1514
- * List Composio MCPs
1971
+ * Presign a download URL for a public replay's pod-volume file
1515
1972
  */
1516
- list(options) {
1517
- return (options?.client ?? this.client).get({ url: '/api/registry/cmp-mcps', ...options });
1973
+ presignDownload(options) {
1974
+ return (options.client ?? this.client).post({
1975
+ url: "/api/registry/replays/{slug}/files/presign-download",
1976
+ ...options,
1977
+ headers: {
1978
+ "Content-Type": "application/json",
1979
+ ...options.headers,
1980
+ },
1981
+ });
1982
+ }
1983
+ }
1984
+ export class Replay2 extends HeyApiClient {
1985
+ /**
1986
+ * Get a public replay by slug
1987
+ */
1988
+ get(options) {
1989
+ return (options.client ?? this.client).get({
1990
+ url: "/api/registry/replays/{slug}",
1991
+ ...options,
1992
+ });
1518
1993
  }
1994
+ _files;
1995
+ get files() {
1996
+ return (this._files ??= new Files4({ client: this.client }));
1997
+ }
1998
+ }
1999
+ export class Blueprint2 extends HeyApiClient {
1519
2000
  /**
1520
- * Get a Composio MCP
2001
+ * Get a public blueprint by slug
1521
2002
  */
1522
2003
  get(options) {
1523
- return (options.client ?? this.client).get({ url: '/api/registry/cmp-mcps/{id}', ...options });
2004
+ return (options.client ?? this.client).get({ url: "/api/registry/blueprints/{slug}", ...options });
1524
2005
  }
1525
2006
  }
1526
2007
  export class Registry extends HeyApiClient {
1527
2008
  _agent;
1528
2009
  get agent() {
1529
- return this._agent ??= new Agent3({ client: this.client });
2010
+ return (this._agent ??= new Agent3({ client: this.client }));
1530
2011
  }
1531
2012
  _skill;
1532
2013
  get skill() {
1533
- return this._skill ??= new Skill2({ client: this.client });
2014
+ return (this._skill ??= new Skill2({ client: this.client }));
1534
2015
  }
1535
2016
  _mcp;
1536
2017
  get mcp() {
1537
- return this._mcp ??= new Mcp3({ client: this.client });
2018
+ return (this._mcp ??= new Mcp2({ client: this.client }));
1538
2019
  }
1539
- _composioMcp;
1540
- get composioMcp() {
1541
- return this._composioMcp ??= new ComposioMcp({ client: this.client });
2020
+ _replay;
2021
+ get replay() {
2022
+ return (this._replay ??= new Replay2({ client: this.client }));
2023
+ }
2024
+ _blueprint;
2025
+ get blueprint() {
2026
+ return (this._blueprint ??= new Blueprint2({ client: this.client }));
1542
2027
  }
1543
2028
  }
1544
2029
  export class RenClient extends HeyApiClient {
@@ -1547,68 +2032,104 @@ export class RenClient extends HeyApiClient {
1547
2032
  super(args);
1548
2033
  RenClient.__registry.set(this, args?.key);
1549
2034
  }
1550
- _composio;
1551
- get composio() {
1552
- return this._composio ??= new Composio({ client: this.client });
1553
- }
1554
2035
  _agent;
1555
2036
  get agent() {
1556
- return this._agent ??= new Agent({ client: this.client });
2037
+ return (this._agent ??= new Agent({ client: this.client }));
2038
+ }
2039
+ _blueprint;
2040
+ get blueprint() {
2041
+ return (this._blueprint ??= new Blueprint({ client: this.client }));
2042
+ }
2043
+ _billing;
2044
+ get billing() {
2045
+ return (this._billing ??= new Billing({ client: this.client }));
1557
2046
  }
1558
2047
  _dashboard;
1559
2048
  get dashboard() {
1560
- return this._dashboard ??= new Dashboard({ client: this.client });
2049
+ return (this._dashboard ??= new Dashboard({ client: this.client }));
1561
2050
  }
1562
2051
  _environment;
1563
2052
  get environment() {
1564
- return this._environment ??= new Environment({ client: this.client });
2053
+ return (this._environment ??= new Environment({ client: this.client }));
1565
2054
  }
1566
2055
  _fileStore;
1567
2056
  get fileStore() {
1568
- return this._fileStore ??= new FileStore({ client: this.client });
2057
+ return (this._fileStore ??= new FileStore({ client: this.client }));
2058
+ }
2059
+ _github;
2060
+ get github() {
2061
+ return (this._github ??= new Github({ client: this.client }));
1569
2062
  }
1570
2063
  _mcp;
1571
2064
  get mcp() {
1572
- return this._mcp ??= new Mcp2({ client: this.client });
2065
+ return (this._mcp ??= new Mcp({ client: this.client }));
2066
+ }
2067
+ _me;
2068
+ get me() {
2069
+ return (this._me ??= new Me({ client: this.client }));
1573
2070
  }
1574
2071
  _memoryStore;
1575
2072
  get memoryStore() {
1576
- return this._memoryStore ??= new MemoryStore({ client: this.client });
2073
+ return (this._memoryStore ??= new MemoryStore({ client: this.client }));
2074
+ }
2075
+ _model;
2076
+ get model() {
2077
+ return (this._model ??= new Model({ client: this.client }));
2078
+ }
2079
+ _onboarding;
2080
+ get onboarding() {
2081
+ return (this._onboarding ??= new Onboarding({ client: this.client }));
1577
2082
  }
1578
2083
  _pat;
1579
2084
  get pat() {
1580
- return this._pat ??= new Pat({ client: this.client });
2085
+ return (this._pat ??= new Pat({ client: this.client }));
1581
2086
  }
1582
2087
  _pod;
1583
2088
  get pod() {
1584
- return this._pod ??= new Pod({ client: this.client });
2089
+ return (this._pod ??= new Pod({ client: this.client }));
2090
+ }
2091
+ _project;
2092
+ get project() {
2093
+ return (this._project ??= new Project({ client: this.client }));
2094
+ }
2095
+ _publisher;
2096
+ get publisher() {
2097
+ return (this._publisher ??= new Publisher({ client: this.client }));
1585
2098
  }
1586
2099
  _replay;
1587
2100
  get replay() {
1588
- return this._replay ??= new Replay({ client: this.client });
1589
- }
1590
- _routines;
1591
- get routines() {
1592
- return this._routines ??= new Routines3({ client: this.client });
2101
+ return (this._replay ??= new Replay({ client: this.client }));
1593
2102
  }
1594
2103
  _session;
1595
2104
  get session() {
1596
- return this._session ??= new Session2({ client: this.client });
2105
+ return (this._session ??= new Session({ client: this.client }));
1597
2106
  }
1598
2107
  _skill;
1599
2108
  get skill() {
1600
- return this._skill ??= new Skill({ client: this.client });
2109
+ return (this._skill ??= new Skill({ client: this.client }));
2110
+ }
2111
+ _trigger;
2112
+ get trigger() {
2113
+ return (this._trigger ??= new Trigger({ client: this.client }));
2114
+ }
2115
+ _webhookTrigger;
2116
+ get webhookTrigger() {
2117
+ return (this._webhookTrigger ??= new WebhookTrigger({ client: this.client }));
2118
+ }
2119
+ _slack;
2120
+ get slack() {
2121
+ return (this._slack ??= new Slack({ client: this.client }));
1601
2122
  }
1602
2123
  _vault;
1603
2124
  get vault() {
1604
- return this._vault ??= new Vault2({ client: this.client });
2125
+ return (this._vault ??= new Vault2({ client: this.client }));
1605
2126
  }
1606
2127
  _credential;
1607
2128
  get credential() {
1608
- return this._credential ??= new Credential({ client: this.client });
2129
+ return (this._credential ??= new Credential({ client: this.client }));
1609
2130
  }
1610
2131
  _registry;
1611
2132
  get registry() {
1612
- return this._registry ??= new Registry({ client: this.client });
2133
+ return (this._registry ??= new Registry({ client: this.client }));
1613
2134
  }
1614
2135
  }