@octonodes/sdk 0.2.8 → 0.2.10

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 (33) hide show
  1. package/README.md +15 -0
  2. package/dist/gen/index.d.ts +2 -2
  3. package/dist/gen/index.d.ts.map +1 -1
  4. package/dist/gen/index.js +10 -3
  5. package/dist/gen/index.js.map +1 -1
  6. package/dist/gen/sdk.gen.d.ts +126 -82
  7. package/dist/gen/sdk.gen.d.ts.map +1 -1
  8. package/dist/gen/sdk.gen.js +252 -151
  9. package/dist/gen/sdk.gen.js.map +1 -1
  10. package/dist/gen/types.gen.d.ts +445 -0
  11. package/dist/gen/types.gen.d.ts.map +1 -1
  12. package/dist/plugins/schema/app.d.ts +425 -0
  13. package/dist/plugins/schema/app.d.ts.map +1 -0
  14. package/dist/plugins/schema/app.js +136 -0
  15. package/dist/plugins/schema/app.js.map +1 -0
  16. package/dist/plugins/schema/plugin/execution.d.ts +424 -15
  17. package/dist/plugins/schema/plugin/execution.d.ts.map +1 -1
  18. package/dist/plugins/schema/plugin/plugin.d.ts +345 -6
  19. package/dist/plugins/schema/plugin/plugin.d.ts.map +1 -1
  20. package/dist/plugins/schema/plugin/plugin.js +14 -0
  21. package/dist/plugins/schema/plugin/plugin.js.map +1 -1
  22. package/dist/plugins/schema/plugin/publishing.d.ts +59 -59
  23. package/dist/plugins/schema/plugin-publishing.d.ts +59 -59
  24. package/dist/plugins/schema/plugin-sdk/index.d.ts +1 -0
  25. package/dist/plugins/schema/plugin-sdk/index.d.ts.map +1 -1
  26. package/dist/plugins/schema/plugin-sdk/index.js +1 -0
  27. package/dist/plugins/schema/plugin-sdk/index.js.map +1 -1
  28. package/dist/plugins/schema/plugin.d.ts +6 -6
  29. package/dist/plugins/sdk/plugins/index.d.ts +1 -0
  30. package/dist/plugins/sdk/plugins/index.d.ts.map +1 -1
  31. package/dist/plugins/sdk/plugins/index.js +17 -11
  32. package/dist/plugins/sdk/plugins/index.js.map +1 -1
  33. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  // This file is auto-generated by @hey-api/openapi-ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Query = exports.SourceSupport = exports.SourceIndex = exports.PackageExports = exports.Compile = exports.Files = exports.Content = exports.Cloud = exports.Search2 = exports.Catalog = exports.Trash = exports.Architectures = exports.Api9 = exports.ArchitectureId = exports.Github2 = exports.PullRequests = exports.Number_ = exports.ReviewThreads = exports.WorkflowDiff = exports.ReviewFile = exports.Github = exports.Api8 = exports.Jobs = exports.Id2 = exports.Repositories = exports.Social = exports.Api7 = exports.Notifications = exports.Conversations = exports.Id = exports.Messages = exports.Members = exports.Knowledge = exports.Api6 = exports.Search = exports.Profiles = exports.Api5 = exports.WorkspaceMembers = exports.UserId = exports.Avatar = exports.Profile = exports.Api4 = exports.Runs = exports.Api3 = exports.RunId = exports.Cancel = exports.Identity = exports.Api2 = exports.Capabilities = exports.Api = void 0;
5
- exports.Materialize = exports.Templates = exports.Api16 = exports.Plugins2 = exports.Api15 = exports.PluginId = exports.Nodes3 = exports.NodeId2 = exports.Add = exports.Nodes2 = exports.Search3 = exports.Marketplace = exports.Api14 = exports.Toolkits = exports.Analytics = exports.Plugins = exports.Id3 = exports.Executions2 = exports.Api13 = exports.RunId2 = exports.Cancel2 = exports.Events2 = exports.Workflows = exports.Api12 = exports.WorkflowId = exports.ValidateConnection = exports.Topology = exports.Run = exports.Graph = exports.NodeCatalog = exports.Executions = exports.Triggers = exports.TriggerId = exports.Events = exports.Nodes = exports.Api11 = exports.NodeId = exports.Source = exports.Signature = exports.Projects = exports.Api10 = exports.ProjectId = exports.DataTables = exports.TableId = exports.Rows = exports.Bulk = exports.RowId = exports.DataTableSchema = exports.Views = exports.ViewId = void 0;
6
- exports.OctonodeApi = exports.Workspaces = exports.Api18 = exports.Permissions = exports.NativeNodes = exports.Api17 = exports.CatalogId = void 0;
4
+ exports.ArchitectureId = exports.Github2 = exports.PullRequests = exports.Number_ = exports.ReviewThreads = exports.WorkflowDiff = exports.ReviewFile = exports.Github = exports.Api10 = exports.Jobs = exports.Id3 = exports.Repositories = exports.Social = exports.Api9 = exports.Notifications = exports.Conversations = exports.Id2 = exports.Messages = exports.Members = exports.Knowledge = exports.Api8 = exports.Search = exports.Profiles = exports.Api7 = exports.WorkspaceMembers = exports.UserId = exports.Avatar = exports.Profile = exports.Api6 = exports.Runs = exports.Api5 = exports.RunId = exports.Cancel = exports.Identity = exports.Api4 = exports.Capabilities = exports.Api3 = exports.Marketplace = exports.Api2 = exports.Toolkits = exports.Analytics = exports.Plugins = exports.Id = exports.Apps2 = exports.Apps = exports.Api = exports.Runtime = exports.Session = exports.Data = exports.Executions = void 0;
5
+ exports.NodeId2 = exports.Add = exports.Nodes2 = exports.Search3 = exports.Executions3 = exports.Api15 = exports.RunId2 = exports.Cancel2 = exports.Events2 = exports.Workflows = exports.Api14 = exports.WorkflowId = exports.ValidateConnection = exports.Topology = exports.Run = exports.Graph = exports.NodeCatalog = exports.Executions2 = exports.Triggers = exports.TriggerId = exports.Events = exports.Nodes = exports.Api13 = exports.NodeId = exports.Source = exports.Signature = exports.Projects = exports.Api12 = exports.ProjectId = exports.DataTables = exports.TableId = exports.Rows = exports.Bulk = exports.RowId = exports.DataTableSchema = exports.Views = exports.ViewId = exports.Query = exports.SourceSupport = exports.SourceIndex = exports.PackageExports = exports.Compile = exports.Files = exports.Content = exports.Cloud = exports.Search2 = exports.Catalog = exports.Trash = exports.Architectures = exports.Api11 = void 0;
6
+ exports.OctonodeApi = exports.Workspaces = exports.Api19 = exports.Permissions = exports.NativeNodes = exports.Api18 = exports.CatalogId = exports.Materialize = exports.Templates = exports.Api17 = exports.Plugins2 = exports.Api16 = exports.PluginId = exports.Nodes3 = void 0;
7
7
  const client_gen_1 = require("./client.gen");
8
8
  class HeyApiClient {
9
9
  client;
@@ -25,7 +25,186 @@ class HeyApiRegistry {
25
25
  this.instances.set(key ?? this.defaultKey, value);
26
26
  }
27
27
  }
28
+ class Executions extends HeyApiClient {
29
+ /**
30
+ * Submit an installation-authorized workflow execution on the cloud gateway
31
+ */
32
+ post(options) {
33
+ return (options.client ?? this.client).post({
34
+ responseStyle: 'data',
35
+ security: [{ scheme: 'bearer', type: 'http' }],
36
+ url: '/api/apps/runtime/executions',
37
+ ...options,
38
+ headers: {
39
+ 'Content-Type': 'application/json',
40
+ ...options.headers
41
+ }
42
+ });
43
+ }
44
+ }
45
+ exports.Executions = Executions;
46
+ class Data extends HeyApiClient {
47
+ /**
48
+ * Access consented project data using an app session
49
+ */
50
+ post(options) {
51
+ return (options.client ?? this.client).post({
52
+ responseStyle: 'data',
53
+ security: [{ scheme: 'bearer', type: 'http' }],
54
+ url: '/api/apps/runtime/data',
55
+ ...options,
56
+ headers: {
57
+ 'Content-Type': 'application/json',
58
+ ...options.headers
59
+ }
60
+ });
61
+ }
62
+ }
63
+ exports.Data = Data;
64
+ class Session extends HeyApiClient {
65
+ /**
66
+ * Verify an installation-bound app session
67
+ */
68
+ get(options) {
69
+ return (options?.client ?? this.client).get({
70
+ responseStyle: 'data',
71
+ security: [{ scheme: 'bearer', type: 'http' }],
72
+ url: '/api/apps/runtime/session',
73
+ ...options
74
+ });
75
+ }
76
+ }
77
+ exports.Session = Session;
78
+ class Runtime extends HeyApiClient {
79
+ _executions;
80
+ get executions() {
81
+ return this._executions ??= new Executions({ client: this.client });
82
+ }
83
+ _data;
84
+ get data() {
85
+ return this._data ??= new Data({ client: this.client });
86
+ }
87
+ _session;
88
+ get session() {
89
+ return this._session ??= new Session({ client: this.client });
90
+ }
91
+ }
92
+ exports.Runtime = Runtime;
28
93
  class Api extends HeyApiClient {
94
+ _runtime;
95
+ get runtime() {
96
+ return this._runtime ??= new Runtime({ client: this.client });
97
+ }
98
+ }
99
+ exports.Api = Api;
100
+ class Apps extends HeyApiClient {
101
+ _api;
102
+ get api() {
103
+ return this._api ??= new Api({ client: this.client });
104
+ }
105
+ }
106
+ exports.Apps = Apps;
107
+ class Apps2 extends HeyApiClient {
108
+ /**
109
+ * List private apps available to a workspace
110
+ */
111
+ get(options) {
112
+ return (options.client ?? this.client).get({
113
+ responseStyle: 'data',
114
+ security: [{ scheme: 'bearer', type: 'http' }],
115
+ url: '/api/marketplace/apps',
116
+ ...options
117
+ });
118
+ }
119
+ }
120
+ exports.Apps2 = Apps2;
121
+ class Id extends HeyApiClient {
122
+ /**
123
+ * Inspect a marketplace plugin
124
+ */
125
+ get(options) {
126
+ return (options.client ?? this.client).get({
127
+ responseStyle: 'data',
128
+ security: [{ scheme: 'bearer', type: 'http' }],
129
+ url: '/api/marketplace/plugins/{id}',
130
+ ...options
131
+ });
132
+ }
133
+ }
134
+ exports.Id = Id;
135
+ class Plugins extends HeyApiClient {
136
+ _id;
137
+ get id() {
138
+ return this._id ??= new Id({ client: this.client });
139
+ }
140
+ }
141
+ exports.Plugins = Plugins;
142
+ class Analytics extends HeyApiClient {
143
+ /**
144
+ * Marketplace install/usage analytics
145
+ */
146
+ get(options) {
147
+ return (options?.client ?? this.client).get({
148
+ responseStyle: 'data',
149
+ security: [{ scheme: 'bearer', type: 'http' }],
150
+ url: '/api/marketplace/analytics',
151
+ ...options
152
+ });
153
+ }
154
+ }
155
+ exports.Analytics = Analytics;
156
+ class Toolkits extends HeyApiClient {
157
+ /**
158
+ * Search toolkits in D1
159
+ */
160
+ get(options) {
161
+ return (options?.client ?? this.client).get({
162
+ responseStyle: 'data',
163
+ security: [{ scheme: 'bearer', type: 'http' }],
164
+ url: '/api/marketplace/toolkits',
165
+ ...options
166
+ });
167
+ }
168
+ }
169
+ exports.Toolkits = Toolkits;
170
+ class Api2 extends HeyApiClient {
171
+ /**
172
+ * Search marketplace
173
+ */
174
+ get(options) {
175
+ return (options?.client ?? this.client).get({
176
+ responseStyle: 'data',
177
+ security: [{ scheme: 'bearer', type: 'http' }],
178
+ url: '/api/marketplace',
179
+ ...options
180
+ });
181
+ }
182
+ _apps;
183
+ get apps() {
184
+ return this._apps ??= new Apps2({ client: this.client });
185
+ }
186
+ _plugins;
187
+ get plugins() {
188
+ return this._plugins ??= new Plugins({ client: this.client });
189
+ }
190
+ _analytics;
191
+ get analytics() {
192
+ return this._analytics ??= new Analytics({ client: this.client });
193
+ }
194
+ _toolkits;
195
+ get toolkits() {
196
+ return this._toolkits ??= new Toolkits({ client: this.client });
197
+ }
198
+ }
199
+ exports.Api2 = Api2;
200
+ class Marketplace extends HeyApiClient {
201
+ _api;
202
+ get api() {
203
+ return this._api ??= new Api2({ client: this.client });
204
+ }
205
+ }
206
+ exports.Marketplace = Marketplace;
207
+ class Api3 extends HeyApiClient {
29
208
  /**
30
209
  * Get platform capabilities for this deployment
31
210
  */
@@ -38,15 +217,15 @@ class Api extends HeyApiClient {
38
217
  });
39
218
  }
40
219
  }
41
- exports.Api = Api;
220
+ exports.Api3 = Api3;
42
221
  class Capabilities extends HeyApiClient {
43
222
  _api;
44
223
  get api() {
45
- return this._api ??= new Api({ client: this.client });
224
+ return this._api ??= new Api3({ client: this.client });
46
225
  }
47
226
  }
48
227
  exports.Capabilities = Capabilities;
49
- class Api2 extends HeyApiClient {
228
+ class Api4 extends HeyApiClient {
50
229
  /**
51
230
  * Current identity
52
231
  */
@@ -59,11 +238,11 @@ class Api2 extends HeyApiClient {
59
238
  });
60
239
  }
61
240
  }
62
- exports.Api2 = Api2;
241
+ exports.Api4 = Api4;
63
242
  class Identity extends HeyApiClient {
64
243
  _api;
65
244
  get api() {
66
- return this._api ??= new Api2({ client: this.client });
245
+ return this._api ??= new Api4({ client: this.client });
67
246
  }
68
247
  }
69
248
  exports.Identity = Identity;
@@ -99,7 +278,7 @@ class RunId extends HeyApiClient {
99
278
  }
100
279
  }
101
280
  exports.RunId = RunId;
102
- class Api3 extends HeyApiClient {
281
+ class Api5 extends HeyApiClient {
103
282
  /**
104
283
  * List persisted workflow executions
105
284
  */
@@ -116,15 +295,15 @@ class Api3 extends HeyApiClient {
116
295
  return this._runId ??= new RunId({ client: this.client });
117
296
  }
118
297
  }
119
- exports.Api3 = Api3;
298
+ exports.Api5 = Api5;
120
299
  class Runs extends HeyApiClient {
121
300
  _api;
122
301
  get api() {
123
- return this._api ??= new Api3({ client: this.client });
302
+ return this._api ??= new Api5({ client: this.client });
124
303
  }
125
304
  }
126
305
  exports.Runs = Runs;
127
- class Api4 extends HeyApiClient {
306
+ class Api6 extends HeyApiClient {
128
307
  /**
129
308
  * Get the caller profile in a workspace
130
309
  */
@@ -137,11 +316,11 @@ class Api4 extends HeyApiClient {
137
316
  });
138
317
  }
139
318
  }
140
- exports.Api4 = Api4;
319
+ exports.Api6 = Api6;
141
320
  class Profile extends HeyApiClient {
142
321
  _api;
143
322
  get api() {
144
- return this._api ??= new Api4({ client: this.client });
323
+ return this._api ??= new Api6({ client: this.client });
145
324
  }
146
325
  }
147
326
  exports.Profile = Profile;
@@ -180,7 +359,7 @@ class WorkspaceMembers extends HeyApiClient {
180
359
  }
181
360
  }
182
361
  exports.WorkspaceMembers = WorkspaceMembers;
183
- class Api5 extends HeyApiClient {
362
+ class Api7 extends HeyApiClient {
184
363
  _userId;
185
364
  get userId() {
186
365
  return this._userId ??= new UserId({ client: this.client });
@@ -190,11 +369,11 @@ class Api5 extends HeyApiClient {
190
369
  return this._workspaceMembers ??= new WorkspaceMembers({ client: this.client });
191
370
  }
192
371
  }
193
- exports.Api5 = Api5;
372
+ exports.Api7 = Api7;
194
373
  class Profiles extends HeyApiClient {
195
374
  _api;
196
375
  get api() {
197
- return this._api ??= new Api5({ client: this.client });
376
+ return this._api ??= new Api7({ client: this.client });
198
377
  }
199
378
  }
200
379
  exports.Profiles = Profiles;
@@ -216,17 +395,17 @@ class Search extends HeyApiClient {
216
395
  }
217
396
  }
218
397
  exports.Search = Search;
219
- class Api6 extends HeyApiClient {
398
+ class Api8 extends HeyApiClient {
220
399
  _search;
221
400
  get search() {
222
401
  return this._search ??= new Search({ client: this.client });
223
402
  }
224
403
  }
225
- exports.Api6 = Api6;
404
+ exports.Api8 = Api8;
226
405
  class Knowledge extends HeyApiClient {
227
406
  _api;
228
407
  get api() {
229
- return this._api ??= new Api6({ client: this.client });
408
+ return this._api ??= new Api8({ client: this.client });
230
409
  }
231
410
  }
232
411
  exports.Knowledge = Knowledge;
@@ -258,7 +437,7 @@ class Messages extends HeyApiClient {
258
437
  }
259
438
  }
260
439
  exports.Messages = Messages;
261
- class Id extends HeyApiClient {
440
+ class Id2 extends HeyApiClient {
262
441
  _members;
263
442
  get members() {
264
443
  return this._members ??= new Members({ client: this.client });
@@ -268,7 +447,7 @@ class Id extends HeyApiClient {
268
447
  return this._messages ??= new Messages({ client: this.client });
269
448
  }
270
449
  }
271
- exports.Id = Id;
450
+ exports.Id2 = Id2;
272
451
  class Conversations extends HeyApiClient {
273
452
  /**
274
453
  * List active workspace conversations
@@ -283,7 +462,7 @@ class Conversations extends HeyApiClient {
283
462
  }
284
463
  _id;
285
464
  get id() {
286
- return this._id ??= new Id({ client: this.client });
465
+ return this._id ??= new Id2({ client: this.client });
287
466
  }
288
467
  }
289
468
  exports.Conversations = Conversations;
@@ -301,7 +480,7 @@ class Notifications extends HeyApiClient {
301
480
  }
302
481
  }
303
482
  exports.Notifications = Notifications;
304
- class Api7 extends HeyApiClient {
483
+ class Api9 extends HeyApiClient {
305
484
  _conversations;
306
485
  get conversations() {
307
486
  return this._conversations ??= new Conversations({ client: this.client });
@@ -311,11 +490,11 @@ class Api7 extends HeyApiClient {
311
490
  return this._notifications ??= new Notifications({ client: this.client });
312
491
  }
313
492
  }
314
- exports.Api7 = Api7;
493
+ exports.Api9 = Api9;
315
494
  class Social extends HeyApiClient {
316
495
  _api;
317
496
  get api() {
318
- return this._api ??= new Api7({ client: this.client });
497
+ return this._api ??= new Api9({ client: this.client });
319
498
  }
320
499
  }
321
500
  exports.Social = Social;
@@ -333,7 +512,7 @@ class Repositories extends HeyApiClient {
333
512
  }
334
513
  }
335
514
  exports.Repositories = Repositories;
336
- class Id2 extends HeyApiClient {
515
+ class Id3 extends HeyApiClient {
337
516
  /**
338
517
  * Read an asynchronous GitHub mutation job
339
518
  */
@@ -346,15 +525,15 @@ class Id2 extends HeyApiClient {
346
525
  });
347
526
  }
348
527
  }
349
- exports.Id2 = Id2;
528
+ exports.Id3 = Id3;
350
529
  class Jobs extends HeyApiClient {
351
530
  _id;
352
531
  get id() {
353
- return this._id ??= new Id2({ client: this.client });
532
+ return this._id ??= new Id3({ client: this.client });
354
533
  }
355
534
  }
356
535
  exports.Jobs = Jobs;
357
- class Api8 extends HeyApiClient {
536
+ class Api10 extends HeyApiClient {
358
537
  _repositories;
359
538
  get repositories() {
360
539
  return this._repositories ??= new Repositories({ client: this.client });
@@ -364,11 +543,11 @@ class Api8 extends HeyApiClient {
364
543
  return this._jobs ??= new Jobs({ client: this.client });
365
544
  }
366
545
  }
367
- exports.Api8 = Api8;
546
+ exports.Api10 = Api10;
368
547
  class Github extends HeyApiClient {
369
548
  _api;
370
549
  get api() {
371
- return this._api ??= new Api8({ client: this.client });
550
+ return this._api ??= new Api10({ client: this.client });
372
551
  }
373
552
  }
374
553
  exports.Github = Github;
@@ -472,17 +651,17 @@ class ArchitectureId extends HeyApiClient {
472
651
  }
473
652
  }
474
653
  exports.ArchitectureId = ArchitectureId;
475
- class Api9 extends HeyApiClient {
654
+ class Api11 extends HeyApiClient {
476
655
  _architectureId;
477
656
  get architectureId() {
478
657
  return this._architectureId ??= new ArchitectureId({ client: this.client });
479
658
  }
480
659
  }
481
- exports.Api9 = Api9;
660
+ exports.Api11 = Api11;
482
661
  class Architectures extends HeyApiClient {
483
662
  _api;
484
663
  get api() {
485
- return this._api ??= new Api9({ client: this.client });
664
+ return this._api ??= new Api11({ client: this.client });
486
665
  }
487
666
  }
488
667
  exports.Architectures = Architectures;
@@ -913,7 +1092,7 @@ class ProjectId extends HeyApiClient {
913
1092
  }
914
1093
  }
915
1094
  exports.ProjectId = ProjectId;
916
- class Api10 extends HeyApiClient {
1095
+ class Api12 extends HeyApiClient {
917
1096
  /**
918
1097
  * List projects
919
1098
  */
@@ -946,11 +1125,11 @@ class Api10 extends HeyApiClient {
946
1125
  return this._projectId ??= new ProjectId({ client: this.client });
947
1126
  }
948
1127
  }
949
- exports.Api10 = Api10;
1128
+ exports.Api12 = Api12;
950
1129
  class Projects extends HeyApiClient {
951
1130
  _api;
952
1131
  get api() {
953
- return this._api ??= new Api10({ client: this.client });
1132
+ return this._api ??= new Api12({ client: this.client });
954
1133
  }
955
1134
  }
956
1135
  exports.Projects = Projects;
@@ -1012,7 +1191,7 @@ class NodeId extends HeyApiClient {
1012
1191
  }
1013
1192
  }
1014
1193
  exports.NodeId = NodeId;
1015
- class Api11 extends HeyApiClient {
1194
+ class Api13 extends HeyApiClient {
1016
1195
  /**
1017
1196
  * Search and paginate project nodes
1018
1197
  */
@@ -1029,11 +1208,11 @@ class Api11 extends HeyApiClient {
1029
1208
  return this._nodeId ??= new NodeId({ client: this.client });
1030
1209
  }
1031
1210
  }
1032
- exports.Api11 = Api11;
1211
+ exports.Api13 = Api13;
1033
1212
  class Nodes extends HeyApiClient {
1034
1213
  _api;
1035
1214
  get api() {
1036
- return this._api ??= new Api11({ client: this.client });
1215
+ return this._api ??= new Api13({ client: this.client });
1037
1216
  }
1038
1217
  }
1039
1218
  exports.Nodes = Nodes;
@@ -1069,7 +1248,7 @@ class Triggers extends HeyApiClient {
1069
1248
  }
1070
1249
  }
1071
1250
  exports.Triggers = Triggers;
1072
- class Executions extends HeyApiClient {
1251
+ class Executions2 extends HeyApiClient {
1073
1252
  /**
1074
1253
  * Queue a durable workflow execution
1075
1254
  */
@@ -1086,7 +1265,7 @@ class Executions extends HeyApiClient {
1086
1265
  });
1087
1266
  }
1088
1267
  }
1089
- exports.Executions = Executions;
1268
+ exports.Executions2 = Executions2;
1090
1269
  class NodeCatalog extends HeyApiClient {
1091
1270
  /**
1092
1271
  * Search reusable nodes for a workflow
@@ -1176,7 +1355,7 @@ class WorkflowId extends HeyApiClient {
1176
1355
  }
1177
1356
  _executions;
1178
1357
  get executions() {
1179
- return this._executions ??= new Executions({ client: this.client });
1358
+ return this._executions ??= new Executions2({ client: this.client });
1180
1359
  }
1181
1360
  _nodeCatalog;
1182
1361
  get nodeCatalog() {
@@ -1200,7 +1379,7 @@ class WorkflowId extends HeyApiClient {
1200
1379
  }
1201
1380
  }
1202
1381
  exports.WorkflowId = WorkflowId;
1203
- class Api12 extends HeyApiClient {
1382
+ class Api14 extends HeyApiClient {
1204
1383
  /**
1205
1384
  * List workflow summaries (searchable, sortable, paginated)
1206
1385
  */
@@ -1232,11 +1411,11 @@ class Api12 extends HeyApiClient {
1232
1411
  return this._workflowId ??= new WorkflowId({ client: this.client });
1233
1412
  }
1234
1413
  }
1235
- exports.Api12 = Api12;
1414
+ exports.Api14 = Api14;
1236
1415
  class Workflows extends HeyApiClient {
1237
1416
  _api;
1238
1417
  get api() {
1239
- return this._api ??= new Api12({ client: this.client });
1418
+ return this._api ??= new Api14({ client: this.client });
1240
1419
  }
1241
1420
  }
1242
1421
  exports.Workflows = Workflows;
@@ -1290,102 +1469,20 @@ class RunId2 extends HeyApiClient {
1290
1469
  }
1291
1470
  }
1292
1471
  exports.RunId2 = RunId2;
1293
- class Api13 extends HeyApiClient {
1472
+ class Api15 extends HeyApiClient {
1294
1473
  _runId;
1295
1474
  get runId() {
1296
1475
  return this._runId ??= new RunId2({ client: this.client });
1297
1476
  }
1298
1477
  }
1299
- exports.Api13 = Api13;
1300
- class Executions2 extends HeyApiClient {
1301
- _api;
1302
- get api() {
1303
- return this._api ??= new Api13({ client: this.client });
1304
- }
1305
- }
1306
- exports.Executions2 = Executions2;
1307
- class Id3 extends HeyApiClient {
1308
- /**
1309
- * Inspect a marketplace plugin
1310
- */
1311
- get(options) {
1312
- return (options.client ?? this.client).get({
1313
- responseStyle: 'data',
1314
- security: [{ scheme: 'bearer', type: 'http' }],
1315
- url: '/api/marketplace/plugins/{id}',
1316
- ...options
1317
- });
1318
- }
1319
- }
1320
- exports.Id3 = Id3;
1321
- class Plugins extends HeyApiClient {
1322
- _id;
1323
- get id() {
1324
- return this._id ??= new Id3({ client: this.client });
1325
- }
1326
- }
1327
- exports.Plugins = Plugins;
1328
- class Analytics extends HeyApiClient {
1329
- /**
1330
- * Marketplace install/usage analytics
1331
- */
1332
- get(options) {
1333
- return (options?.client ?? this.client).get({
1334
- responseStyle: 'data',
1335
- security: [{ scheme: 'bearer', type: 'http' }],
1336
- url: '/api/marketplace/analytics',
1337
- ...options
1338
- });
1339
- }
1340
- }
1341
- exports.Analytics = Analytics;
1342
- class Toolkits extends HeyApiClient {
1343
- /**
1344
- * Search toolkits in D1
1345
- */
1346
- get(options) {
1347
- return (options?.client ?? this.client).get({
1348
- responseStyle: 'data',
1349
- security: [{ scheme: 'bearer', type: 'http' }],
1350
- url: '/api/marketplace/toolkits',
1351
- ...options
1352
- });
1353
- }
1354
- }
1355
- exports.Toolkits = Toolkits;
1356
- class Api14 extends HeyApiClient {
1357
- /**
1358
- * Search marketplace
1359
- */
1360
- get(options) {
1361
- return (options?.client ?? this.client).get({
1362
- responseStyle: 'data',
1363
- security: [{ scheme: 'bearer', type: 'http' }],
1364
- url: '/api/marketplace',
1365
- ...options
1366
- });
1367
- }
1368
- _plugins;
1369
- get plugins() {
1370
- return this._plugins ??= new Plugins({ client: this.client });
1371
- }
1372
- _analytics;
1373
- get analytics() {
1374
- return this._analytics ??= new Analytics({ client: this.client });
1375
- }
1376
- _toolkits;
1377
- get toolkits() {
1378
- return this._toolkits ??= new Toolkits({ client: this.client });
1379
- }
1380
- }
1381
- exports.Api14 = Api14;
1382
- class Marketplace extends HeyApiClient {
1478
+ exports.Api15 = Api15;
1479
+ class Executions3 extends HeyApiClient {
1383
1480
  _api;
1384
1481
  get api() {
1385
- return this._api ??= new Api14({ client: this.client });
1482
+ return this._api ??= new Api15({ client: this.client });
1386
1483
  }
1387
1484
  }
1388
- exports.Marketplace = Marketplace;
1485
+ exports.Executions3 = Executions3;
1389
1486
  class Search3 extends HeyApiClient {
1390
1487
  /**
1391
1488
  * Search and paginate installed plugins
@@ -1464,7 +1561,7 @@ class PluginId extends HeyApiClient {
1464
1561
  }
1465
1562
  }
1466
1563
  exports.PluginId = PluginId;
1467
- class Api15 extends HeyApiClient {
1564
+ class Api16 extends HeyApiClient {
1468
1565
  /**
1469
1566
  * List installed plugins
1470
1567
  */
@@ -1489,15 +1586,15 @@ class Api15 extends HeyApiClient {
1489
1586
  return this._pluginId ??= new PluginId({ client: this.client });
1490
1587
  }
1491
1588
  }
1492
- exports.Api15 = Api15;
1589
+ exports.Api16 = Api16;
1493
1590
  class Plugins2 extends HeyApiClient {
1494
1591
  _api;
1495
1592
  get api() {
1496
- return this._api ??= new Api15({ client: this.client });
1593
+ return this._api ??= new Api16({ client: this.client });
1497
1594
  }
1498
1595
  }
1499
1596
  exports.Plugins2 = Plugins2;
1500
- class Api16 extends HeyApiClient {
1597
+ class Api17 extends HeyApiClient {
1501
1598
  /**
1502
1599
  * List workflow templates
1503
1600
  */
@@ -1510,11 +1607,11 @@ class Api16 extends HeyApiClient {
1510
1607
  });
1511
1608
  }
1512
1609
  }
1513
- exports.Api16 = Api16;
1610
+ exports.Api17 = Api17;
1514
1611
  class Templates extends HeyApiClient {
1515
1612
  _api;
1516
1613
  get api() {
1517
- return this._api ??= new Api16({ client: this.client });
1614
+ return this._api ??= new Api17({ client: this.client });
1518
1615
  }
1519
1616
  }
1520
1617
  exports.Templates = Templates;
@@ -1543,7 +1640,7 @@ class CatalogId extends HeyApiClient {
1543
1640
  }
1544
1641
  }
1545
1642
  exports.CatalogId = CatalogId;
1546
- class Api17 extends HeyApiClient {
1643
+ class Api18 extends HeyApiClient {
1547
1644
  /**
1548
1645
  * List native nodes
1549
1646
  */
@@ -1560,11 +1657,11 @@ class Api17 extends HeyApiClient {
1560
1657
  return this._catalogId ??= new CatalogId({ client: this.client });
1561
1658
  }
1562
1659
  }
1563
- exports.Api17 = Api17;
1660
+ exports.Api18 = Api18;
1564
1661
  class NativeNodes extends HeyApiClient {
1565
1662
  _api;
1566
1663
  get api() {
1567
- return this._api ??= new Api17({ client: this.client });
1664
+ return this._api ??= new Api18({ client: this.client });
1568
1665
  }
1569
1666
  }
1570
1667
  exports.NativeNodes = NativeNodes;
@@ -1582,7 +1679,7 @@ class Permissions extends HeyApiClient {
1582
1679
  }
1583
1680
  }
1584
1681
  exports.Permissions = Permissions;
1585
- class Api18 extends HeyApiClient {
1682
+ class Api19 extends HeyApiClient {
1586
1683
  /**
1587
1684
  * List the user's workspaces (personal + orgs with nested teams)
1588
1685
  */
@@ -1599,11 +1696,11 @@ class Api18 extends HeyApiClient {
1599
1696
  return this._permissions ??= new Permissions({ client: this.client });
1600
1697
  }
1601
1698
  }
1602
- exports.Api18 = Api18;
1699
+ exports.Api19 = Api19;
1603
1700
  class Workspaces extends HeyApiClient {
1604
1701
  _api;
1605
1702
  get api() {
1606
- return this._api ??= new Api18({ client: this.client });
1703
+ return this._api ??= new Api19({ client: this.client });
1607
1704
  }
1608
1705
  }
1609
1706
  exports.Workspaces = Workspaces;
@@ -1613,6 +1710,14 @@ class OctonodeApi extends HeyApiClient {
1613
1710
  super(args);
1614
1711
  OctonodeApi.__registry.set(this, args?.key);
1615
1712
  }
1713
+ _apps;
1714
+ get apps() {
1715
+ return this._apps ??= new Apps({ client: this.client });
1716
+ }
1717
+ _marketplace;
1718
+ get marketplace() {
1719
+ return this._marketplace ??= new Marketplace({ client: this.client });
1720
+ }
1616
1721
  _capabilities;
1617
1722
  get capabilities() {
1618
1723
  return this._capabilities ??= new Capabilities({ client: this.client });
@@ -1663,11 +1768,7 @@ class OctonodeApi extends HeyApiClient {
1663
1768
  }
1664
1769
  _executions;
1665
1770
  get executions() {
1666
- return this._executions ??= new Executions2({ client: this.client });
1667
- }
1668
- _marketplace;
1669
- get marketplace() {
1670
- return this._marketplace ??= new Marketplace({ client: this.client });
1771
+ return this._executions ??= new Executions3({ client: this.client });
1671
1772
  }
1672
1773
  _plugins;
1673
1774
  get plugins() {