@octonodes/sdk 0.0.3
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.
- package/README.md +34 -0
- package/dist/constants.d.ts +2 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +5 -0
- package/dist/constants.js.map +1 -0
- package/dist/gen/client/client.gen.d.ts +3 -0
- package/dist/gen/client/client.gen.d.ts.map +1 -0
- package/dist/gen/client/client.gen.js +221 -0
- package/dist/gen/client/client.gen.js.map +1 -0
- package/dist/gen/client/index.d.ts +10 -0
- package/dist/gen/client/index.d.ts.map +1 -0
- package/dist/gen/client/index.js +18 -0
- package/dist/gen/client/index.js.map +1 -0
- package/dist/gen/client/types.gen.d.ts +121 -0
- package/dist/gen/client/types.gen.d.ts.map +1 -0
- package/dist/gen/client/types.gen.js +4 -0
- package/dist/gen/client/types.gen.js.map +1 -0
- package/dist/gen/client/utils.gen.d.ts +38 -0
- package/dist/gen/client/utils.gen.d.ts.map +1 -0
- package/dist/gen/client/utils.gen.js +240 -0
- package/dist/gen/client/utils.gen.js.map +1 -0
- package/dist/gen/client.gen.d.ts +13 -0
- package/dist/gen/client.gen.d.ts.map +1 -0
- package/dist/gen/client.gen.js +7 -0
- package/dist/gen/client.gen.js.map +1 -0
- package/dist/gen/core/auth.gen.d.ts +26 -0
- package/dist/gen/core/auth.gen.d.ts.map +1 -0
- package/dist/gen/core/auth.gen.js +19 -0
- package/dist/gen/core/auth.gen.js.map +1 -0
- package/dist/gen/core/bodySerializer.gen.d.ts +26 -0
- package/dist/gen/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/gen/core/bodySerializer.gen.js +61 -0
- package/dist/gen/core/bodySerializer.gen.js.map +1 -0
- package/dist/gen/core/params.gen.d.ts +44 -0
- package/dist/gen/core/params.gen.d.ts.map +1 -0
- package/dist/gen/core/params.gen.js +104 -0
- package/dist/gen/core/params.gen.js.map +1 -0
- package/dist/gen/core/pathSerializer.gen.d.ts +34 -0
- package/dist/gen/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/gen/core/pathSerializer.gen.js +116 -0
- package/dist/gen/core/pathSerializer.gen.js.map +1 -0
- package/dist/gen/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/gen/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/gen/core/queryKeySerializer.gen.js +99 -0
- package/dist/gen/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/gen/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/gen/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/gen/core/serverSentEvents.gen.js +136 -0
- package/dist/gen/core/serverSentEvents.gen.js.map +1 -0
- package/dist/gen/core/types.gen.d.ts +79 -0
- package/dist/gen/core/types.gen.d.ts.map +1 -0
- package/dist/gen/core/types.gen.js +4 -0
- package/dist/gen/core/types.gen.js.map +1 -0
- package/dist/gen/core/utils.gen.d.ts +20 -0
- package/dist/gen/core/utils.gen.d.ts.map +1 -0
- package/dist/gen/core/utils.gen.js +94 -0
- package/dist/gen/core/utils.gen.js.map +1 -0
- package/dist/gen/index.d.ts +3 -0
- package/dist/gen/index.d.ts.map +1 -0
- package/dist/gen/index.js +113 -0
- package/dist/gen/index.js.map +1 -0
- package/dist/gen/sdk.gen.d.ts +748 -0
- package/dist/gen/sdk.gen.d.ts.map +1 -0
- package/dist/gen/sdk.gen.js +1654 -0
- package/dist/gen/sdk.gen.js.map +1 -0
- package/dist/gen/types.gen.d.ts +4597 -0
- package/dist/gen/types.gen.d.ts.map +1 -0
- package/dist/gen/types.gen.js +4 -0
- package/dist/gen/types.gen.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/octonode-client.d.ts +11 -0
- package/dist/octonode-client.d.ts.map +1 -0
- package/dist/octonode-client.js +32 -0
- package/dist/octonode-client.js.map +1 -0
- package/package.json +21 -0
|
@@ -0,0 +1,1654 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ViewId = exports.Query = exports.SourceSupport = exports.SourceIndex = exports.PackageExports = exports.Compile = exports.Files = exports.Content = exports.Cloud = exports.Search2 = 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.Api17 = exports.CatalogId = 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.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 = void 0;
|
|
6
|
+
exports.OctonodeApi = exports.Workspaces = exports.Api18 = exports.Permissions = exports.NativeNodes = void 0;
|
|
7
|
+
const client_gen_1 = require("./client.gen");
|
|
8
|
+
class HeyApiClient {
|
|
9
|
+
client;
|
|
10
|
+
constructor(args) {
|
|
11
|
+
this.client = args?.client ?? client_gen_1.client;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
class HeyApiRegistry {
|
|
15
|
+
defaultKey = 'default';
|
|
16
|
+
instances = new Map();
|
|
17
|
+
get(key) {
|
|
18
|
+
const instance = this.instances.get(key ?? this.defaultKey);
|
|
19
|
+
if (!instance) {
|
|
20
|
+
throw new Error(`No SDK client found. Create one with "new OctonodeApi()" to fix this error.`);
|
|
21
|
+
}
|
|
22
|
+
return instance;
|
|
23
|
+
}
|
|
24
|
+
set(value, key) {
|
|
25
|
+
this.instances.set(key ?? this.defaultKey, value);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
class Api extends HeyApiClient {
|
|
29
|
+
/**
|
|
30
|
+
* Get platform capabilities for this deployment
|
|
31
|
+
*/
|
|
32
|
+
get(options) {
|
|
33
|
+
return (options?.client ?? this.client).get({
|
|
34
|
+
responseStyle: 'data',
|
|
35
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
36
|
+
url: '/api/capabilities',
|
|
37
|
+
...options
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.Api = Api;
|
|
42
|
+
class Capabilities extends HeyApiClient {
|
|
43
|
+
_api;
|
|
44
|
+
get api() {
|
|
45
|
+
return this._api ??= new Api({ client: this.client });
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.Capabilities = Capabilities;
|
|
49
|
+
class Api2 extends HeyApiClient {
|
|
50
|
+
/**
|
|
51
|
+
* Current identity
|
|
52
|
+
*/
|
|
53
|
+
get(options) {
|
|
54
|
+
return (options?.client ?? this.client).get({
|
|
55
|
+
responseStyle: 'data',
|
|
56
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
57
|
+
url: '/api/identity',
|
|
58
|
+
...options
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.Api2 = Api2;
|
|
63
|
+
class Identity extends HeyApiClient {
|
|
64
|
+
_api;
|
|
65
|
+
get api() {
|
|
66
|
+
return this._api ??= new Api2({ client: this.client });
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.Identity = Identity;
|
|
70
|
+
class Cancel extends HeyApiClient {
|
|
71
|
+
/**
|
|
72
|
+
* Idempotently cancel an active workflow execution
|
|
73
|
+
*/
|
|
74
|
+
post(options) {
|
|
75
|
+
return (options.client ?? this.client).post({
|
|
76
|
+
responseStyle: 'data',
|
|
77
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
78
|
+
url: '/api/runs/{runId}/cancel',
|
|
79
|
+
...options
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.Cancel = Cancel;
|
|
84
|
+
class RunId extends HeyApiClient {
|
|
85
|
+
/**
|
|
86
|
+
* Get a persisted workflow execution
|
|
87
|
+
*/
|
|
88
|
+
get(options) {
|
|
89
|
+
return (options.client ?? this.client).get({
|
|
90
|
+
responseStyle: 'data',
|
|
91
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
92
|
+
url: '/api/runs/{runId}',
|
|
93
|
+
...options
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
_cancel;
|
|
97
|
+
get cancel() {
|
|
98
|
+
return this._cancel ??= new Cancel({ client: this.client });
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.RunId = RunId;
|
|
102
|
+
class Api3 extends HeyApiClient {
|
|
103
|
+
/**
|
|
104
|
+
* List persisted workflow executions
|
|
105
|
+
*/
|
|
106
|
+
get(options) {
|
|
107
|
+
return (options?.client ?? this.client).get({
|
|
108
|
+
responseStyle: 'data',
|
|
109
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
110
|
+
url: '/api/runs',
|
|
111
|
+
...options
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
_runId;
|
|
115
|
+
get runId() {
|
|
116
|
+
return this._runId ??= new RunId({ client: this.client });
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.Api3 = Api3;
|
|
120
|
+
class Runs extends HeyApiClient {
|
|
121
|
+
_api;
|
|
122
|
+
get api() {
|
|
123
|
+
return this._api ??= new Api3({ client: this.client });
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.Runs = Runs;
|
|
127
|
+
class Api4 extends HeyApiClient {
|
|
128
|
+
/**
|
|
129
|
+
* Get the caller profile in a workspace
|
|
130
|
+
*/
|
|
131
|
+
get(options) {
|
|
132
|
+
return (options.client ?? this.client).get({
|
|
133
|
+
responseStyle: 'data',
|
|
134
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
135
|
+
url: '/api/profile',
|
|
136
|
+
...options
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.Api4 = Api4;
|
|
141
|
+
class Profile extends HeyApiClient {
|
|
142
|
+
_api;
|
|
143
|
+
get api() {
|
|
144
|
+
return this._api ??= new Api4({ client: this.client });
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
exports.Profile = Profile;
|
|
148
|
+
class Avatar extends HeyApiClient {
|
|
149
|
+
/**
|
|
150
|
+
* Read an authenticated workspace member avatar
|
|
151
|
+
*/
|
|
152
|
+
get(options) {
|
|
153
|
+
return (options.client ?? this.client).get({
|
|
154
|
+
responseStyle: 'data',
|
|
155
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
156
|
+
url: '/api/profiles/{userId}/avatar',
|
|
157
|
+
...options
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
exports.Avatar = Avatar;
|
|
162
|
+
class UserId extends HeyApiClient {
|
|
163
|
+
_avatar;
|
|
164
|
+
get avatar() {
|
|
165
|
+
return this._avatar ??= new Avatar({ client: this.client });
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
exports.UserId = UserId;
|
|
169
|
+
class WorkspaceMembers extends HeyApiClient {
|
|
170
|
+
/**
|
|
171
|
+
* Search profiles in the active workspace
|
|
172
|
+
*/
|
|
173
|
+
get(options) {
|
|
174
|
+
return (options.client ?? this.client).get({
|
|
175
|
+
responseStyle: 'data',
|
|
176
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
177
|
+
url: '/api/profiles/workspace-members',
|
|
178
|
+
...options
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
exports.WorkspaceMembers = WorkspaceMembers;
|
|
183
|
+
class Api5 extends HeyApiClient {
|
|
184
|
+
_userId;
|
|
185
|
+
get userId() {
|
|
186
|
+
return this._userId ??= new UserId({ client: this.client });
|
|
187
|
+
}
|
|
188
|
+
_workspaceMembers;
|
|
189
|
+
get workspaceMembers() {
|
|
190
|
+
return this._workspaceMembers ??= new WorkspaceMembers({ client: this.client });
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
exports.Api5 = Api5;
|
|
194
|
+
class Profiles extends HeyApiClient {
|
|
195
|
+
_api;
|
|
196
|
+
get api() {
|
|
197
|
+
return this._api ??= new Api5({ client: this.client });
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
exports.Profiles = Profiles;
|
|
201
|
+
class Search extends HeyApiClient {
|
|
202
|
+
/**
|
|
203
|
+
* Search the canonical Octonode knowledge corpus
|
|
204
|
+
*/
|
|
205
|
+
post(options) {
|
|
206
|
+
return (options.client ?? this.client).post({
|
|
207
|
+
responseStyle: 'data',
|
|
208
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
209
|
+
url: '/api/knowledge/search',
|
|
210
|
+
...options,
|
|
211
|
+
headers: {
|
|
212
|
+
'Content-Type': 'application/json',
|
|
213
|
+
...options.headers
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
exports.Search = Search;
|
|
219
|
+
class Api6 extends HeyApiClient {
|
|
220
|
+
_search;
|
|
221
|
+
get search() {
|
|
222
|
+
return this._search ??= new Search({ client: this.client });
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
exports.Api6 = Api6;
|
|
226
|
+
class Knowledge extends HeyApiClient {
|
|
227
|
+
_api;
|
|
228
|
+
get api() {
|
|
229
|
+
return this._api ??= new Api6({ client: this.client });
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
exports.Knowledge = Knowledge;
|
|
233
|
+
class Members extends HeyApiClient {
|
|
234
|
+
/**
|
|
235
|
+
* List conversation member ids
|
|
236
|
+
*/
|
|
237
|
+
get(options) {
|
|
238
|
+
return (options.client ?? this.client).get({
|
|
239
|
+
responseStyle: 'data',
|
|
240
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
241
|
+
url: '/api/social/conversations/{id}/members',
|
|
242
|
+
...options
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
exports.Members = Members;
|
|
247
|
+
class Messages extends HeyApiClient {
|
|
248
|
+
/**
|
|
249
|
+
* List messages with a keyset cursor
|
|
250
|
+
*/
|
|
251
|
+
get(options) {
|
|
252
|
+
return (options.client ?? this.client).get({
|
|
253
|
+
responseStyle: 'data',
|
|
254
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
255
|
+
url: '/api/social/conversations/{id}/messages',
|
|
256
|
+
...options
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
exports.Messages = Messages;
|
|
261
|
+
class Id extends HeyApiClient {
|
|
262
|
+
_members;
|
|
263
|
+
get members() {
|
|
264
|
+
return this._members ??= new Members({ client: this.client });
|
|
265
|
+
}
|
|
266
|
+
_messages;
|
|
267
|
+
get messages() {
|
|
268
|
+
return this._messages ??= new Messages({ client: this.client });
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
exports.Id = Id;
|
|
272
|
+
class Conversations extends HeyApiClient {
|
|
273
|
+
/**
|
|
274
|
+
* List active workspace conversations
|
|
275
|
+
*/
|
|
276
|
+
get(options) {
|
|
277
|
+
return (options.client ?? this.client).get({
|
|
278
|
+
responseStyle: 'data',
|
|
279
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
280
|
+
url: '/api/social/conversations',
|
|
281
|
+
...options
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
_id;
|
|
285
|
+
get id() {
|
|
286
|
+
return this._id ??= new Id({ client: this.client });
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
exports.Conversations = Conversations;
|
|
290
|
+
class Notifications extends HeyApiClient {
|
|
291
|
+
/**
|
|
292
|
+
* List workspace notifications and unread count
|
|
293
|
+
*/
|
|
294
|
+
get(options) {
|
|
295
|
+
return (options.client ?? this.client).get({
|
|
296
|
+
responseStyle: 'data',
|
|
297
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
298
|
+
url: '/api/social/notifications',
|
|
299
|
+
...options
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
exports.Notifications = Notifications;
|
|
304
|
+
class Api7 extends HeyApiClient {
|
|
305
|
+
_conversations;
|
|
306
|
+
get conversations() {
|
|
307
|
+
return this._conversations ??= new Conversations({ client: this.client });
|
|
308
|
+
}
|
|
309
|
+
_notifications;
|
|
310
|
+
get notifications() {
|
|
311
|
+
return this._notifications ??= new Notifications({ client: this.client });
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
exports.Api7 = Api7;
|
|
315
|
+
class Social extends HeyApiClient {
|
|
316
|
+
_api;
|
|
317
|
+
get api() {
|
|
318
|
+
return this._api ??= new Api7({ client: this.client });
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
exports.Social = Social;
|
|
322
|
+
class Repositories extends HeyApiClient {
|
|
323
|
+
/**
|
|
324
|
+
* List repositories visible to connected installations
|
|
325
|
+
*/
|
|
326
|
+
get(options) {
|
|
327
|
+
return (options.client ?? this.client).get({
|
|
328
|
+
responseStyle: 'data',
|
|
329
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
330
|
+
url: '/api/github/repositories',
|
|
331
|
+
...options
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
exports.Repositories = Repositories;
|
|
336
|
+
class Id2 extends HeyApiClient {
|
|
337
|
+
/**
|
|
338
|
+
* Read an asynchronous GitHub mutation job
|
|
339
|
+
*/
|
|
340
|
+
get(options) {
|
|
341
|
+
return (options.client ?? this.client).get({
|
|
342
|
+
responseStyle: 'data',
|
|
343
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
344
|
+
url: '/api/github/jobs/{id}',
|
|
345
|
+
...options
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
exports.Id2 = Id2;
|
|
350
|
+
class Jobs extends HeyApiClient {
|
|
351
|
+
_id;
|
|
352
|
+
get id() {
|
|
353
|
+
return this._id ??= new Id2({ client: this.client });
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
exports.Jobs = Jobs;
|
|
357
|
+
class Api8 extends HeyApiClient {
|
|
358
|
+
_repositories;
|
|
359
|
+
get repositories() {
|
|
360
|
+
return this._repositories ??= new Repositories({ client: this.client });
|
|
361
|
+
}
|
|
362
|
+
_jobs;
|
|
363
|
+
get jobs() {
|
|
364
|
+
return this._jobs ??= new Jobs({ client: this.client });
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
exports.Api8 = Api8;
|
|
368
|
+
class Github extends HeyApiClient {
|
|
369
|
+
_api;
|
|
370
|
+
get api() {
|
|
371
|
+
return this._api ??= new Api8({ client: this.client });
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
exports.Github = Github;
|
|
375
|
+
class ReviewFile extends HeyApiClient {
|
|
376
|
+
/**
|
|
377
|
+
* Read one bounded architecture GitHub file for code review
|
|
378
|
+
*/
|
|
379
|
+
get(options) {
|
|
380
|
+
return (options.client ?? this.client).get({
|
|
381
|
+
responseStyle: 'data',
|
|
382
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
383
|
+
url: '/api/architectures/{architectureId}/github/pull-requests/{number}/review-file',
|
|
384
|
+
...options
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
exports.ReviewFile = ReviewFile;
|
|
389
|
+
class WorkflowDiff extends HeyApiClient {
|
|
390
|
+
/**
|
|
391
|
+
* Project an architecture GitHub PR diff onto one contained project
|
|
392
|
+
*/
|
|
393
|
+
get(options) {
|
|
394
|
+
return (options.client ?? this.client).get({
|
|
395
|
+
responseStyle: 'data',
|
|
396
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
397
|
+
url: '/api/architectures/{architectureId}/github/pull-requests/{number}/workflow-diff',
|
|
398
|
+
...options
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
exports.WorkflowDiff = WorkflowDiff;
|
|
403
|
+
class ReviewThreads extends HeyApiClient {
|
|
404
|
+
/**
|
|
405
|
+
* List architecture GitHub review threads for one contained project
|
|
406
|
+
*/
|
|
407
|
+
get(options) {
|
|
408
|
+
return (options.client ?? this.client).get({
|
|
409
|
+
responseStyle: 'data',
|
|
410
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
411
|
+
url: '/api/architectures/{architectureId}/github/pull-requests/{number}/review-threads',
|
|
412
|
+
...options
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
exports.ReviewThreads = ReviewThreads;
|
|
417
|
+
class Number_ extends HeyApiClient {
|
|
418
|
+
/**
|
|
419
|
+
* Get an architecture GitHub pull request and project impact
|
|
420
|
+
*/
|
|
421
|
+
get(options) {
|
|
422
|
+
return (options.client ?? this.client).get({
|
|
423
|
+
responseStyle: 'data',
|
|
424
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
425
|
+
url: '/api/architectures/{architectureId}/github/pull-requests/{number}',
|
|
426
|
+
...options
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
_reviewFile;
|
|
430
|
+
get reviewFile() {
|
|
431
|
+
return this._reviewFile ??= new ReviewFile({ client: this.client });
|
|
432
|
+
}
|
|
433
|
+
_workflowDiff;
|
|
434
|
+
get workflowDiff() {
|
|
435
|
+
return this._workflowDiff ??= new WorkflowDiff({ client: this.client });
|
|
436
|
+
}
|
|
437
|
+
_reviewThreads;
|
|
438
|
+
get reviewThreads() {
|
|
439
|
+
return this._reviewThreads ??= new ReviewThreads({ client: this.client });
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
exports.Number_ = Number_;
|
|
443
|
+
class PullRequests extends HeyApiClient {
|
|
444
|
+
/**
|
|
445
|
+
* List architecture GitHub pull requests beside the actual default branch
|
|
446
|
+
*/
|
|
447
|
+
get(options) {
|
|
448
|
+
return (options.client ?? this.client).get({
|
|
449
|
+
responseStyle: 'data',
|
|
450
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
451
|
+
url: '/api/architectures/{architectureId}/github/pull-requests',
|
|
452
|
+
...options
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
_number;
|
|
456
|
+
get number() {
|
|
457
|
+
return this._number ??= new Number_({ client: this.client });
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
exports.PullRequests = PullRequests;
|
|
461
|
+
class Github2 extends HeyApiClient {
|
|
462
|
+
_pullRequests;
|
|
463
|
+
get pullRequests() {
|
|
464
|
+
return this._pullRequests ??= new PullRequests({ client: this.client });
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
exports.Github2 = Github2;
|
|
468
|
+
class ArchitectureId extends HeyApiClient {
|
|
469
|
+
_github;
|
|
470
|
+
get github() {
|
|
471
|
+
return this._github ??= new Github2({ client: this.client });
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
exports.ArchitectureId = ArchitectureId;
|
|
475
|
+
class Api9 extends HeyApiClient {
|
|
476
|
+
_architectureId;
|
|
477
|
+
get architectureId() {
|
|
478
|
+
return this._architectureId ??= new ArchitectureId({ client: this.client });
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
exports.Api9 = Api9;
|
|
482
|
+
class Architectures extends HeyApiClient {
|
|
483
|
+
_api;
|
|
484
|
+
get api() {
|
|
485
|
+
return this._api ??= new Api9({ client: this.client });
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
exports.Architectures = Architectures;
|
|
489
|
+
class Trash extends HeyApiClient {
|
|
490
|
+
/**
|
|
491
|
+
* List archived projects and projects in 30-day trash
|
|
492
|
+
*/
|
|
493
|
+
get(options) {
|
|
494
|
+
return (options?.client ?? this.client).get({
|
|
495
|
+
responseStyle: 'data',
|
|
496
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
497
|
+
url: '/api/projects/trash',
|
|
498
|
+
...options
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
exports.Trash = Trash;
|
|
503
|
+
class Search2 extends HeyApiClient {
|
|
504
|
+
/**
|
|
505
|
+
* Search and paginate workspace projects
|
|
506
|
+
*/
|
|
507
|
+
get(options) {
|
|
508
|
+
return (options?.client ?? this.client).get({
|
|
509
|
+
responseStyle: 'data',
|
|
510
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
511
|
+
url: '/api/projects/search',
|
|
512
|
+
...options
|
|
513
|
+
});
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
exports.Search2 = Search2;
|
|
517
|
+
class Cloud extends HeyApiClient {
|
|
518
|
+
/**
|
|
519
|
+
* List cloud projects not installed locally
|
|
520
|
+
*/
|
|
521
|
+
get(options) {
|
|
522
|
+
return (options?.client ?? this.client).get({
|
|
523
|
+
responseStyle: 'data',
|
|
524
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
525
|
+
url: '/api/projects/cloud',
|
|
526
|
+
...options
|
|
527
|
+
});
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
exports.Cloud = Cloud;
|
|
531
|
+
class Content extends HeyApiClient {
|
|
532
|
+
/**
|
|
533
|
+
* Read project file
|
|
534
|
+
*/
|
|
535
|
+
get(options) {
|
|
536
|
+
return (options.client ?? this.client).get({
|
|
537
|
+
responseStyle: 'data',
|
|
538
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
539
|
+
url: '/api/projects/{projectId}/files/content',
|
|
540
|
+
...options
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Create project file
|
|
545
|
+
*/
|
|
546
|
+
post(options) {
|
|
547
|
+
return (options.client ?? this.client).post({
|
|
548
|
+
responseStyle: 'data',
|
|
549
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
550
|
+
url: '/api/projects/{projectId}/files/content',
|
|
551
|
+
...options,
|
|
552
|
+
headers: {
|
|
553
|
+
'Content-Type': 'application/json',
|
|
554
|
+
...options.headers
|
|
555
|
+
}
|
|
556
|
+
});
|
|
557
|
+
}
|
|
558
|
+
/**
|
|
559
|
+
* Write project file
|
|
560
|
+
*/
|
|
561
|
+
put(options) {
|
|
562
|
+
return (options.client ?? this.client).put({
|
|
563
|
+
responseStyle: 'data',
|
|
564
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
565
|
+
url: '/api/projects/{projectId}/files/content',
|
|
566
|
+
...options,
|
|
567
|
+
headers: {
|
|
568
|
+
'Content-Type': 'application/json',
|
|
569
|
+
...options.headers
|
|
570
|
+
}
|
|
571
|
+
});
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
exports.Content = Content;
|
|
575
|
+
class Files extends HeyApiClient {
|
|
576
|
+
/**
|
|
577
|
+
* List editable project files
|
|
578
|
+
*/
|
|
579
|
+
get(options) {
|
|
580
|
+
return (options.client ?? this.client).get({
|
|
581
|
+
responseStyle: 'data',
|
|
582
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
583
|
+
url: '/api/projects/{projectId}/files',
|
|
584
|
+
...options
|
|
585
|
+
});
|
|
586
|
+
}
|
|
587
|
+
_content;
|
|
588
|
+
get content() {
|
|
589
|
+
return this._content ??= new Content({ client: this.client });
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
exports.Files = Files;
|
|
593
|
+
class Compile extends HeyApiClient {
|
|
594
|
+
/**
|
|
595
|
+
* Compile and synchronize project
|
|
596
|
+
*/
|
|
597
|
+
post(options) {
|
|
598
|
+
return (options.client ?? this.client).post({
|
|
599
|
+
responseStyle: 'data',
|
|
600
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
601
|
+
url: '/api/projects/{projectId}/compile',
|
|
602
|
+
...options
|
|
603
|
+
});
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
exports.Compile = Compile;
|
|
607
|
+
class PackageExports extends HeyApiClient {
|
|
608
|
+
/**
|
|
609
|
+
* Browse exports of a declared npm dependency
|
|
610
|
+
*/
|
|
611
|
+
get(options) {
|
|
612
|
+
return (options.client ?? this.client).get({
|
|
613
|
+
responseStyle: 'data',
|
|
614
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
615
|
+
url: '/api/projects/{projectId}/package-exports',
|
|
616
|
+
...options
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
exports.PackageExports = PackageExports;
|
|
621
|
+
class SourceIndex extends HeyApiClient {
|
|
622
|
+
/**
|
|
623
|
+
* Index workflow, type, constant, class, and service symbols
|
|
624
|
+
*/
|
|
625
|
+
get(options) {
|
|
626
|
+
return (options.client ?? this.client).get({
|
|
627
|
+
responseStyle: 'data',
|
|
628
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
629
|
+
url: '/api/projects/{projectId}/source-index',
|
|
630
|
+
...options
|
|
631
|
+
});
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
exports.SourceIndex = SourceIndex;
|
|
635
|
+
class SourceSupport extends HeyApiClient {
|
|
636
|
+
/**
|
|
637
|
+
* List exported project types and serializable constants
|
|
638
|
+
*/
|
|
639
|
+
get(options) {
|
|
640
|
+
return (options.client ?? this.client).get({
|
|
641
|
+
responseStyle: 'data',
|
|
642
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
643
|
+
url: '/api/projects/{projectId}/source-support',
|
|
644
|
+
...options
|
|
645
|
+
});
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
exports.SourceSupport = SourceSupport;
|
|
649
|
+
class Query extends HeyApiClient {
|
|
650
|
+
/**
|
|
651
|
+
* Query a saved view with server pagination
|
|
652
|
+
*/
|
|
653
|
+
post(options) {
|
|
654
|
+
return (options.client ?? this.client).post({
|
|
655
|
+
responseStyle: 'data',
|
|
656
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
657
|
+
url: '/api/projects/{projectId}/data-table-schema/views/{viewId}/query',
|
|
658
|
+
...options,
|
|
659
|
+
headers: {
|
|
660
|
+
'Content-Type': 'application/json',
|
|
661
|
+
...options.headers
|
|
662
|
+
}
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
exports.Query = Query;
|
|
667
|
+
class ViewId extends HeyApiClient {
|
|
668
|
+
_query;
|
|
669
|
+
get query() {
|
|
670
|
+
return this._query ??= new Query({ client: this.client });
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
exports.ViewId = ViewId;
|
|
674
|
+
class Views extends HeyApiClient {
|
|
675
|
+
_viewId;
|
|
676
|
+
get viewId() {
|
|
677
|
+
return this._viewId ??= new ViewId({ client: this.client });
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
exports.Views = Views;
|
|
681
|
+
class DataTableSchema extends HeyApiClient {
|
|
682
|
+
/**
|
|
683
|
+
* Get SQLite tables, relationships and saved views
|
|
684
|
+
*/
|
|
685
|
+
get(options) {
|
|
686
|
+
return (options.client ?? this.client).get({
|
|
687
|
+
responseStyle: 'data',
|
|
688
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
689
|
+
url: '/api/projects/{projectId}/data-table-schema',
|
|
690
|
+
...options
|
|
691
|
+
});
|
|
692
|
+
}
|
|
693
|
+
_views;
|
|
694
|
+
get views() {
|
|
695
|
+
return this._views ??= new Views({ client: this.client });
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
exports.DataTableSchema = DataTableSchema;
|
|
699
|
+
class RowId extends HeyApiClient {
|
|
700
|
+
/**
|
|
701
|
+
* Delete data table row
|
|
702
|
+
*/
|
|
703
|
+
delete(options) {
|
|
704
|
+
return (options.client ?? this.client).delete({
|
|
705
|
+
responseStyle: 'data',
|
|
706
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
707
|
+
url: '/api/projects/{projectId}/data-tables/{tableId}/rows/{rowId}',
|
|
708
|
+
...options
|
|
709
|
+
});
|
|
710
|
+
}
|
|
711
|
+
/**
|
|
712
|
+
* Update data table row
|
|
713
|
+
*/
|
|
714
|
+
patch(options) {
|
|
715
|
+
return (options.client ?? this.client).patch({
|
|
716
|
+
responseStyle: 'data',
|
|
717
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
718
|
+
url: '/api/projects/{projectId}/data-tables/{tableId}/rows/{rowId}',
|
|
719
|
+
...options,
|
|
720
|
+
headers: {
|
|
721
|
+
'Content-Type': 'application/json',
|
|
722
|
+
...options.headers
|
|
723
|
+
}
|
|
724
|
+
});
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
exports.RowId = RowId;
|
|
728
|
+
class Bulk extends HeyApiClient {
|
|
729
|
+
/**
|
|
730
|
+
* Mutate data table rows atomically
|
|
731
|
+
*/
|
|
732
|
+
post(options) {
|
|
733
|
+
return (options.client ?? this.client).post({
|
|
734
|
+
responseStyle: 'data',
|
|
735
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
736
|
+
url: '/api/projects/{projectId}/data-tables/{tableId}/rows/bulk',
|
|
737
|
+
...options,
|
|
738
|
+
headers: {
|
|
739
|
+
'Content-Type': 'application/json',
|
|
740
|
+
...options.headers
|
|
741
|
+
}
|
|
742
|
+
});
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
exports.Bulk = Bulk;
|
|
746
|
+
class Rows extends HeyApiClient {
|
|
747
|
+
/**
|
|
748
|
+
* List data table rows
|
|
749
|
+
*/
|
|
750
|
+
get(options) {
|
|
751
|
+
return (options.client ?? this.client).get({
|
|
752
|
+
responseStyle: 'data',
|
|
753
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
754
|
+
url: '/api/projects/{projectId}/data-tables/{tableId}/rows',
|
|
755
|
+
...options
|
|
756
|
+
});
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* Create data table row
|
|
760
|
+
*/
|
|
761
|
+
post(options) {
|
|
762
|
+
return (options.client ?? this.client).post({
|
|
763
|
+
responseStyle: 'data',
|
|
764
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
765
|
+
url: '/api/projects/{projectId}/data-tables/{tableId}/rows',
|
|
766
|
+
...options,
|
|
767
|
+
headers: {
|
|
768
|
+
'Content-Type': 'application/json',
|
|
769
|
+
...options.headers
|
|
770
|
+
}
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
_rowId;
|
|
774
|
+
get rowId() {
|
|
775
|
+
return this._rowId ??= new RowId({ client: this.client });
|
|
776
|
+
}
|
|
777
|
+
_bulk;
|
|
778
|
+
get bulk() {
|
|
779
|
+
return this._bulk ??= new Bulk({ client: this.client });
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
exports.Rows = Rows;
|
|
783
|
+
class TableId extends HeyApiClient {
|
|
784
|
+
/**
|
|
785
|
+
* Delete data table
|
|
786
|
+
*/
|
|
787
|
+
delete(options) {
|
|
788
|
+
return (options.client ?? this.client).delete({
|
|
789
|
+
responseStyle: 'data',
|
|
790
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
791
|
+
url: '/api/projects/{projectId}/data-tables/{tableId}',
|
|
792
|
+
...options
|
|
793
|
+
});
|
|
794
|
+
}
|
|
795
|
+
/**
|
|
796
|
+
* Get data table
|
|
797
|
+
*/
|
|
798
|
+
get(options) {
|
|
799
|
+
return (options.client ?? this.client).get({
|
|
800
|
+
responseStyle: 'data',
|
|
801
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
802
|
+
url: '/api/projects/{projectId}/data-tables/{tableId}',
|
|
803
|
+
...options
|
|
804
|
+
});
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* Update data table
|
|
808
|
+
*/
|
|
809
|
+
patch(options) {
|
|
810
|
+
return (options.client ?? this.client).patch({
|
|
811
|
+
responseStyle: 'data',
|
|
812
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
813
|
+
url: '/api/projects/{projectId}/data-tables/{tableId}',
|
|
814
|
+
...options,
|
|
815
|
+
headers: {
|
|
816
|
+
'Content-Type': 'application/json',
|
|
817
|
+
...options.headers
|
|
818
|
+
}
|
|
819
|
+
});
|
|
820
|
+
}
|
|
821
|
+
_rows;
|
|
822
|
+
get rows() {
|
|
823
|
+
return this._rows ??= new Rows({ client: this.client });
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
exports.TableId = TableId;
|
|
827
|
+
class DataTables extends HeyApiClient {
|
|
828
|
+
/**
|
|
829
|
+
* List data tables
|
|
830
|
+
*/
|
|
831
|
+
get(options) {
|
|
832
|
+
return (options.client ?? this.client).get({
|
|
833
|
+
responseStyle: 'data',
|
|
834
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
835
|
+
url: '/api/projects/{projectId}/data-tables',
|
|
836
|
+
...options
|
|
837
|
+
});
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
* Create data table
|
|
841
|
+
*/
|
|
842
|
+
post(options) {
|
|
843
|
+
return (options.client ?? this.client).post({
|
|
844
|
+
responseStyle: 'data',
|
|
845
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
846
|
+
url: '/api/projects/{projectId}/data-tables',
|
|
847
|
+
...options,
|
|
848
|
+
headers: {
|
|
849
|
+
'Content-Type': 'application/json',
|
|
850
|
+
...options.headers
|
|
851
|
+
}
|
|
852
|
+
});
|
|
853
|
+
}
|
|
854
|
+
_tableId;
|
|
855
|
+
get tableId() {
|
|
856
|
+
return this._tableId ??= new TableId({ client: this.client });
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
exports.DataTables = DataTables;
|
|
860
|
+
class ProjectId extends HeyApiClient {
|
|
861
|
+
/**
|
|
862
|
+
* Get project
|
|
863
|
+
*/
|
|
864
|
+
get(options) {
|
|
865
|
+
return (options.client ?? this.client).get({
|
|
866
|
+
responseStyle: 'data',
|
|
867
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
868
|
+
url: '/api/projects/{projectId}',
|
|
869
|
+
...options
|
|
870
|
+
});
|
|
871
|
+
}
|
|
872
|
+
_files;
|
|
873
|
+
get files() {
|
|
874
|
+
return this._files ??= new Files({ client: this.client });
|
|
875
|
+
}
|
|
876
|
+
_compile;
|
|
877
|
+
get compile() {
|
|
878
|
+
return this._compile ??= new Compile({ client: this.client });
|
|
879
|
+
}
|
|
880
|
+
_packageExports;
|
|
881
|
+
get packageExports() {
|
|
882
|
+
return this._packageExports ??= new PackageExports({ client: this.client });
|
|
883
|
+
}
|
|
884
|
+
_sourceIndex;
|
|
885
|
+
get sourceIndex() {
|
|
886
|
+
return this._sourceIndex ??= new SourceIndex({ client: this.client });
|
|
887
|
+
}
|
|
888
|
+
_sourceSupport;
|
|
889
|
+
get sourceSupport() {
|
|
890
|
+
return this._sourceSupport ??= new SourceSupport({ client: this.client });
|
|
891
|
+
}
|
|
892
|
+
_dataTableSchema;
|
|
893
|
+
get dataTableSchema() {
|
|
894
|
+
return this._dataTableSchema ??= new DataTableSchema({ client: this.client });
|
|
895
|
+
}
|
|
896
|
+
_dataTables;
|
|
897
|
+
get dataTables() {
|
|
898
|
+
return this._dataTables ??= new DataTables({ client: this.client });
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
exports.ProjectId = ProjectId;
|
|
902
|
+
class Api10 extends HeyApiClient {
|
|
903
|
+
/**
|
|
904
|
+
* List projects
|
|
905
|
+
*/
|
|
906
|
+
get(options) {
|
|
907
|
+
return (options?.client ?? this.client).get({
|
|
908
|
+
responseStyle: 'data',
|
|
909
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
910
|
+
url: '/api/store/projects',
|
|
911
|
+
...options
|
|
912
|
+
});
|
|
913
|
+
}
|
|
914
|
+
_trash;
|
|
915
|
+
get trash() {
|
|
916
|
+
return this._trash ??= new Trash({ client: this.client });
|
|
917
|
+
}
|
|
918
|
+
_search;
|
|
919
|
+
get search() {
|
|
920
|
+
return this._search ??= new Search2({ client: this.client });
|
|
921
|
+
}
|
|
922
|
+
_cloud;
|
|
923
|
+
get cloud() {
|
|
924
|
+
return this._cloud ??= new Cloud({ client: this.client });
|
|
925
|
+
}
|
|
926
|
+
_projectId;
|
|
927
|
+
get projectId() {
|
|
928
|
+
return this._projectId ??= new ProjectId({ client: this.client });
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
exports.Api10 = Api10;
|
|
932
|
+
class Projects extends HeyApiClient {
|
|
933
|
+
_api;
|
|
934
|
+
get api() {
|
|
935
|
+
return this._api ??= new Api10({ client: this.client });
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
exports.Projects = Projects;
|
|
939
|
+
class Signature extends HeyApiClient {
|
|
940
|
+
/**
|
|
941
|
+
* Write node input and output schemas
|
|
942
|
+
*/
|
|
943
|
+
put(options) {
|
|
944
|
+
return (options.client ?? this.client).put({
|
|
945
|
+
responseStyle: 'data',
|
|
946
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
947
|
+
url: '/api/nodes/{nodeId}/source/signature',
|
|
948
|
+
...options,
|
|
949
|
+
headers: {
|
|
950
|
+
'Content-Type': 'application/json',
|
|
951
|
+
...options.headers
|
|
952
|
+
}
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
exports.Signature = Signature;
|
|
957
|
+
class Source extends HeyApiClient {
|
|
958
|
+
/**
|
|
959
|
+
* Read node source
|
|
960
|
+
*/
|
|
961
|
+
get(options) {
|
|
962
|
+
return (options.client ?? this.client).get({
|
|
963
|
+
responseStyle: 'data',
|
|
964
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
965
|
+
url: '/api/nodes/{nodeId}/source',
|
|
966
|
+
...options
|
|
967
|
+
});
|
|
968
|
+
}
|
|
969
|
+
/**
|
|
970
|
+
* Write node source
|
|
971
|
+
*/
|
|
972
|
+
put(options) {
|
|
973
|
+
return (options.client ?? this.client).put({
|
|
974
|
+
responseStyle: 'data',
|
|
975
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
976
|
+
url: '/api/nodes/{nodeId}/source',
|
|
977
|
+
...options,
|
|
978
|
+
headers: {
|
|
979
|
+
'Content-Type': 'application/json',
|
|
980
|
+
...options.headers
|
|
981
|
+
}
|
|
982
|
+
});
|
|
983
|
+
}
|
|
984
|
+
_signature;
|
|
985
|
+
get signature() {
|
|
986
|
+
return this._signature ??= new Signature({ client: this.client });
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
exports.Source = Source;
|
|
990
|
+
class NodeId extends HeyApiClient {
|
|
991
|
+
_source;
|
|
992
|
+
get source() {
|
|
993
|
+
return this._source ??= new Source({ client: this.client });
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
exports.NodeId = NodeId;
|
|
997
|
+
class Api11 extends HeyApiClient {
|
|
998
|
+
/**
|
|
999
|
+
* Search and paginate project nodes
|
|
1000
|
+
*/
|
|
1001
|
+
get(options) {
|
|
1002
|
+
return (options?.client ?? this.client).get({
|
|
1003
|
+
responseStyle: 'data',
|
|
1004
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1005
|
+
url: '/api/nodes',
|
|
1006
|
+
...options
|
|
1007
|
+
});
|
|
1008
|
+
}
|
|
1009
|
+
_nodeId;
|
|
1010
|
+
get nodeId() {
|
|
1011
|
+
return this._nodeId ??= new NodeId({ client: this.client });
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
exports.Api11 = Api11;
|
|
1015
|
+
class Nodes extends HeyApiClient {
|
|
1016
|
+
_api;
|
|
1017
|
+
get api() {
|
|
1018
|
+
return this._api ??= new Api11({ client: this.client });
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
exports.Nodes = Nodes;
|
|
1022
|
+
class Events extends HeyApiClient {
|
|
1023
|
+
/**
|
|
1024
|
+
* Deliver an idempotent trigger event
|
|
1025
|
+
*/
|
|
1026
|
+
post(options) {
|
|
1027
|
+
return (options.client ?? this.client).post({
|
|
1028
|
+
responseStyle: 'data',
|
|
1029
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1030
|
+
url: '/api/workflows/{workflowId}/triggers/{triggerId}/events',
|
|
1031
|
+
...options,
|
|
1032
|
+
headers: {
|
|
1033
|
+
'Content-Type': 'application/json',
|
|
1034
|
+
...options.headers
|
|
1035
|
+
}
|
|
1036
|
+
});
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
exports.Events = Events;
|
|
1040
|
+
class TriggerId extends HeyApiClient {
|
|
1041
|
+
_events;
|
|
1042
|
+
get events() {
|
|
1043
|
+
return this._events ??= new Events({ client: this.client });
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
exports.TriggerId = TriggerId;
|
|
1047
|
+
class Triggers extends HeyApiClient {
|
|
1048
|
+
_triggerId;
|
|
1049
|
+
get triggerId() {
|
|
1050
|
+
return this._triggerId ??= new TriggerId({ client: this.client });
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
exports.Triggers = Triggers;
|
|
1054
|
+
class Executions extends HeyApiClient {
|
|
1055
|
+
/**
|
|
1056
|
+
* Queue a durable workflow execution
|
|
1057
|
+
*/
|
|
1058
|
+
post(options) {
|
|
1059
|
+
return (options.client ?? this.client).post({
|
|
1060
|
+
responseStyle: 'data',
|
|
1061
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1062
|
+
url: '/api/workflows/{workflowId}/executions',
|
|
1063
|
+
...options,
|
|
1064
|
+
headers: {
|
|
1065
|
+
'Content-Type': 'application/json',
|
|
1066
|
+
...options.headers
|
|
1067
|
+
}
|
|
1068
|
+
});
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
exports.Executions = Executions;
|
|
1072
|
+
class NodeCatalog extends HeyApiClient {
|
|
1073
|
+
/**
|
|
1074
|
+
* Search reusable nodes for a workflow
|
|
1075
|
+
*/
|
|
1076
|
+
get(options) {
|
|
1077
|
+
return (options.client ?? this.client).get({
|
|
1078
|
+
responseStyle: 'data',
|
|
1079
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1080
|
+
url: '/api/workflows/{workflowId}/node-catalog',
|
|
1081
|
+
...options
|
|
1082
|
+
});
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
exports.NodeCatalog = NodeCatalog;
|
|
1086
|
+
class Graph extends HeyApiClient {
|
|
1087
|
+
/**
|
|
1088
|
+
* Workflow graph (DAG)
|
|
1089
|
+
*/
|
|
1090
|
+
get(options) {
|
|
1091
|
+
return (options.client ?? this.client).get({
|
|
1092
|
+
responseStyle: 'data',
|
|
1093
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1094
|
+
url: '/api/workflows/{workflowId}/graph',
|
|
1095
|
+
...options
|
|
1096
|
+
});
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
exports.Graph = Graph;
|
|
1100
|
+
class Run extends HeyApiClient {
|
|
1101
|
+
/**
|
|
1102
|
+
* Run a workflow (SSE)
|
|
1103
|
+
*/
|
|
1104
|
+
post(options) {
|
|
1105
|
+
return (options.client ?? this.client).sse.post({
|
|
1106
|
+
responseStyle: 'data',
|
|
1107
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1108
|
+
url: '/api/workflows/{workflowId}/run',
|
|
1109
|
+
...options,
|
|
1110
|
+
headers: {
|
|
1111
|
+
'Content-Type': 'application/json',
|
|
1112
|
+
...options.headers
|
|
1113
|
+
}
|
|
1114
|
+
});
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
exports.Run = Run;
|
|
1118
|
+
class Topology extends HeyApiClient {
|
|
1119
|
+
/**
|
|
1120
|
+
* Save workflow draft
|
|
1121
|
+
*/
|
|
1122
|
+
post(options) {
|
|
1123
|
+
return (options.client ?? this.client).post({
|
|
1124
|
+
responseStyle: 'data',
|
|
1125
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1126
|
+
url: '/api/workflows/{workflowId}/topology',
|
|
1127
|
+
...options,
|
|
1128
|
+
headers: {
|
|
1129
|
+
'Content-Type': 'application/json',
|
|
1130
|
+
...options.headers
|
|
1131
|
+
}
|
|
1132
|
+
});
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
exports.Topology = Topology;
|
|
1136
|
+
class ValidateConnection extends HeyApiClient {
|
|
1137
|
+
/**
|
|
1138
|
+
* Validate a connection before wiring
|
|
1139
|
+
*/
|
|
1140
|
+
post(options) {
|
|
1141
|
+
return (options.client ?? this.client).post({
|
|
1142
|
+
responseStyle: 'data',
|
|
1143
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1144
|
+
url: '/api/workflows/{workflowId}/validate-connection',
|
|
1145
|
+
...options,
|
|
1146
|
+
headers: {
|
|
1147
|
+
'Content-Type': 'application/json',
|
|
1148
|
+
...options.headers
|
|
1149
|
+
}
|
|
1150
|
+
});
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
exports.ValidateConnection = ValidateConnection;
|
|
1154
|
+
class WorkflowId extends HeyApiClient {
|
|
1155
|
+
_triggers;
|
|
1156
|
+
get triggers() {
|
|
1157
|
+
return this._triggers ??= new Triggers({ client: this.client });
|
|
1158
|
+
}
|
|
1159
|
+
_executions;
|
|
1160
|
+
get executions() {
|
|
1161
|
+
return this._executions ??= new Executions({ client: this.client });
|
|
1162
|
+
}
|
|
1163
|
+
_nodeCatalog;
|
|
1164
|
+
get nodeCatalog() {
|
|
1165
|
+
return this._nodeCatalog ??= new NodeCatalog({ client: this.client });
|
|
1166
|
+
}
|
|
1167
|
+
_graph;
|
|
1168
|
+
get graph() {
|
|
1169
|
+
return this._graph ??= new Graph({ client: this.client });
|
|
1170
|
+
}
|
|
1171
|
+
_run;
|
|
1172
|
+
get run() {
|
|
1173
|
+
return this._run ??= new Run({ client: this.client });
|
|
1174
|
+
}
|
|
1175
|
+
_topology;
|
|
1176
|
+
get topology() {
|
|
1177
|
+
return this._topology ??= new Topology({ client: this.client });
|
|
1178
|
+
}
|
|
1179
|
+
_validateConnection;
|
|
1180
|
+
get validateConnection() {
|
|
1181
|
+
return this._validateConnection ??= new ValidateConnection({ client: this.client });
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
exports.WorkflowId = WorkflowId;
|
|
1185
|
+
class Api12 extends HeyApiClient {
|
|
1186
|
+
/**
|
|
1187
|
+
* List workflow summaries (searchable, sortable, paginated)
|
|
1188
|
+
*/
|
|
1189
|
+
get(options) {
|
|
1190
|
+
return (options?.client ?? this.client).get({
|
|
1191
|
+
responseStyle: 'data',
|
|
1192
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1193
|
+
url: '/api/workflows',
|
|
1194
|
+
...options
|
|
1195
|
+
});
|
|
1196
|
+
}
|
|
1197
|
+
/**
|
|
1198
|
+
* Create a workflow
|
|
1199
|
+
*/
|
|
1200
|
+
post(options) {
|
|
1201
|
+
return (options.client ?? this.client).post({
|
|
1202
|
+
responseStyle: 'data',
|
|
1203
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1204
|
+
url: '/api/workflows',
|
|
1205
|
+
...options,
|
|
1206
|
+
headers: {
|
|
1207
|
+
'Content-Type': 'application/json',
|
|
1208
|
+
...options.headers
|
|
1209
|
+
}
|
|
1210
|
+
});
|
|
1211
|
+
}
|
|
1212
|
+
_workflowId;
|
|
1213
|
+
get workflowId() {
|
|
1214
|
+
return this._workflowId ??= new WorkflowId({ client: this.client });
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
exports.Api12 = Api12;
|
|
1218
|
+
class Workflows extends HeyApiClient {
|
|
1219
|
+
_api;
|
|
1220
|
+
get api() {
|
|
1221
|
+
return this._api ??= new Api12({ client: this.client });
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
exports.Workflows = Workflows;
|
|
1225
|
+
class Events2 extends HeyApiClient {
|
|
1226
|
+
/**
|
|
1227
|
+
* Observe an execution without controlling its lifetime
|
|
1228
|
+
*/
|
|
1229
|
+
get(options) {
|
|
1230
|
+
return (options.client ?? this.client).sse.get({
|
|
1231
|
+
responseStyle: 'data',
|
|
1232
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1233
|
+
url: '/api/executions/{runId}/events',
|
|
1234
|
+
...options
|
|
1235
|
+
});
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
exports.Events2 = Events2;
|
|
1239
|
+
class Cancel2 extends HeyApiClient {
|
|
1240
|
+
/**
|
|
1241
|
+
* Cancel a queued or running execution
|
|
1242
|
+
*/
|
|
1243
|
+
post(options) {
|
|
1244
|
+
return (options.client ?? this.client).post({
|
|
1245
|
+
responseStyle: 'data',
|
|
1246
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1247
|
+
url: '/api/executions/{runId}/cancel',
|
|
1248
|
+
...options
|
|
1249
|
+
});
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
exports.Cancel2 = Cancel2;
|
|
1253
|
+
class RunId2 extends HeyApiClient {
|
|
1254
|
+
/**
|
|
1255
|
+
* Get execution progress and outcome
|
|
1256
|
+
*/
|
|
1257
|
+
get(options) {
|
|
1258
|
+
return (options.client ?? this.client).get({
|
|
1259
|
+
responseStyle: 'data',
|
|
1260
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1261
|
+
url: '/api/executions/{runId}',
|
|
1262
|
+
...options
|
|
1263
|
+
});
|
|
1264
|
+
}
|
|
1265
|
+
_events;
|
|
1266
|
+
get events() {
|
|
1267
|
+
return this._events ??= new Events2({ client: this.client });
|
|
1268
|
+
}
|
|
1269
|
+
_cancel;
|
|
1270
|
+
get cancel() {
|
|
1271
|
+
return this._cancel ??= new Cancel2({ client: this.client });
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
exports.RunId2 = RunId2;
|
|
1275
|
+
class Api13 extends HeyApiClient {
|
|
1276
|
+
_runId;
|
|
1277
|
+
get runId() {
|
|
1278
|
+
return this._runId ??= new RunId2({ client: this.client });
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
exports.Api13 = Api13;
|
|
1282
|
+
class Executions2 extends HeyApiClient {
|
|
1283
|
+
_api;
|
|
1284
|
+
get api() {
|
|
1285
|
+
return this._api ??= new Api13({ client: this.client });
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
exports.Executions2 = Executions2;
|
|
1289
|
+
class Id3 extends HeyApiClient {
|
|
1290
|
+
/**
|
|
1291
|
+
* Inspect a marketplace plugin
|
|
1292
|
+
*/
|
|
1293
|
+
get(options) {
|
|
1294
|
+
return (options.client ?? this.client).get({
|
|
1295
|
+
responseStyle: 'data',
|
|
1296
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1297
|
+
url: '/api/marketplace/plugins/{id}',
|
|
1298
|
+
...options
|
|
1299
|
+
});
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
exports.Id3 = Id3;
|
|
1303
|
+
class Plugins extends HeyApiClient {
|
|
1304
|
+
_id;
|
|
1305
|
+
get id() {
|
|
1306
|
+
return this._id ??= new Id3({ client: this.client });
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
exports.Plugins = Plugins;
|
|
1310
|
+
class Analytics extends HeyApiClient {
|
|
1311
|
+
/**
|
|
1312
|
+
* Marketplace install/usage analytics
|
|
1313
|
+
*/
|
|
1314
|
+
get(options) {
|
|
1315
|
+
return (options?.client ?? this.client).get({
|
|
1316
|
+
responseStyle: 'data',
|
|
1317
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1318
|
+
url: '/api/marketplace/analytics',
|
|
1319
|
+
...options
|
|
1320
|
+
});
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
exports.Analytics = Analytics;
|
|
1324
|
+
class Api14 extends HeyApiClient {
|
|
1325
|
+
/**
|
|
1326
|
+
* Search marketplace
|
|
1327
|
+
*/
|
|
1328
|
+
get(options) {
|
|
1329
|
+
return (options?.client ?? this.client).get({
|
|
1330
|
+
responseStyle: 'data',
|
|
1331
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1332
|
+
url: '/api/marketplace',
|
|
1333
|
+
...options
|
|
1334
|
+
});
|
|
1335
|
+
}
|
|
1336
|
+
_plugins;
|
|
1337
|
+
get plugins() {
|
|
1338
|
+
return this._plugins ??= new Plugins({ client: this.client });
|
|
1339
|
+
}
|
|
1340
|
+
_analytics;
|
|
1341
|
+
get analytics() {
|
|
1342
|
+
return this._analytics ??= new Analytics({ client: this.client });
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
exports.Api14 = Api14;
|
|
1346
|
+
class Marketplace extends HeyApiClient {
|
|
1347
|
+
_api;
|
|
1348
|
+
get api() {
|
|
1349
|
+
return this._api ??= new Api14({ client: this.client });
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
exports.Marketplace = Marketplace;
|
|
1353
|
+
class Search3 extends HeyApiClient {
|
|
1354
|
+
/**
|
|
1355
|
+
* Search and paginate installed plugins
|
|
1356
|
+
*/
|
|
1357
|
+
get(options) {
|
|
1358
|
+
return (options?.client ?? this.client).get({
|
|
1359
|
+
responseStyle: 'data',
|
|
1360
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1361
|
+
url: '/api/plugins/search',
|
|
1362
|
+
...options
|
|
1363
|
+
});
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
exports.Search3 = Search3;
|
|
1367
|
+
class Nodes2 extends HeyApiClient {
|
|
1368
|
+
/**
|
|
1369
|
+
* Search and paginate installed plugin nodes
|
|
1370
|
+
*/
|
|
1371
|
+
get(options) {
|
|
1372
|
+
return (options?.client ?? this.client).get({
|
|
1373
|
+
responseStyle: 'data',
|
|
1374
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1375
|
+
url: '/api/plugins/nodes',
|
|
1376
|
+
...options
|
|
1377
|
+
});
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
exports.Nodes2 = Nodes2;
|
|
1381
|
+
class Add extends HeyApiClient {
|
|
1382
|
+
/**
|
|
1383
|
+
* Add an installed plugin node to the project (and optionally a workflow)
|
|
1384
|
+
*/
|
|
1385
|
+
post(options) {
|
|
1386
|
+
return (options.client ?? this.client).post({
|
|
1387
|
+
responseStyle: 'data',
|
|
1388
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1389
|
+
url: '/api/plugins/{pluginId}/nodes/{nodeId}/add',
|
|
1390
|
+
...options,
|
|
1391
|
+
headers: {
|
|
1392
|
+
'Content-Type': 'application/json',
|
|
1393
|
+
...options.headers
|
|
1394
|
+
}
|
|
1395
|
+
});
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
exports.Add = Add;
|
|
1399
|
+
class NodeId2 extends HeyApiClient {
|
|
1400
|
+
_add;
|
|
1401
|
+
get add() {
|
|
1402
|
+
return this._add ??= new Add({ client: this.client });
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
exports.NodeId2 = NodeId2;
|
|
1406
|
+
class Nodes3 extends HeyApiClient {
|
|
1407
|
+
_nodeId;
|
|
1408
|
+
get nodeId() {
|
|
1409
|
+
return this._nodeId ??= new NodeId2({ client: this.client });
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
exports.Nodes3 = Nodes3;
|
|
1413
|
+
class PluginId extends HeyApiClient {
|
|
1414
|
+
/**
|
|
1415
|
+
* Inspect an installed plugin
|
|
1416
|
+
*/
|
|
1417
|
+
get(options) {
|
|
1418
|
+
return (options.client ?? this.client).get({
|
|
1419
|
+
responseStyle: 'data',
|
|
1420
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1421
|
+
url: '/api/plugins/{pluginId}',
|
|
1422
|
+
...options
|
|
1423
|
+
});
|
|
1424
|
+
}
|
|
1425
|
+
_nodes;
|
|
1426
|
+
get nodes() {
|
|
1427
|
+
return this._nodes ??= new Nodes3({ client: this.client });
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
exports.PluginId = PluginId;
|
|
1431
|
+
class Api15 extends HeyApiClient {
|
|
1432
|
+
/**
|
|
1433
|
+
* List installed plugins
|
|
1434
|
+
*/
|
|
1435
|
+
get(options) {
|
|
1436
|
+
return (options?.client ?? this.client).get({
|
|
1437
|
+
responseStyle: 'data',
|
|
1438
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1439
|
+
url: '/api/plugins',
|
|
1440
|
+
...options
|
|
1441
|
+
});
|
|
1442
|
+
}
|
|
1443
|
+
_search;
|
|
1444
|
+
get search() {
|
|
1445
|
+
return this._search ??= new Search3({ client: this.client });
|
|
1446
|
+
}
|
|
1447
|
+
_nodes;
|
|
1448
|
+
get nodes() {
|
|
1449
|
+
return this._nodes ??= new Nodes2({ client: this.client });
|
|
1450
|
+
}
|
|
1451
|
+
_pluginId;
|
|
1452
|
+
get pluginId() {
|
|
1453
|
+
return this._pluginId ??= new PluginId({ client: this.client });
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
exports.Api15 = Api15;
|
|
1457
|
+
class Plugins2 extends HeyApiClient {
|
|
1458
|
+
_api;
|
|
1459
|
+
get api() {
|
|
1460
|
+
return this._api ??= new Api15({ client: this.client });
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
exports.Plugins2 = Plugins2;
|
|
1464
|
+
class Api16 extends HeyApiClient {
|
|
1465
|
+
/**
|
|
1466
|
+
* List workflow templates
|
|
1467
|
+
*/
|
|
1468
|
+
get(options) {
|
|
1469
|
+
return (options?.client ?? this.client).get({
|
|
1470
|
+
responseStyle: 'data',
|
|
1471
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1472
|
+
url: '/api/templates',
|
|
1473
|
+
...options
|
|
1474
|
+
});
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
exports.Api16 = Api16;
|
|
1478
|
+
class Templates extends HeyApiClient {
|
|
1479
|
+
_api;
|
|
1480
|
+
get api() {
|
|
1481
|
+
return this._api ??= new Api16({ client: this.client });
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
exports.Templates = Templates;
|
|
1485
|
+
class Materialize extends HeyApiClient {
|
|
1486
|
+
/**
|
|
1487
|
+
* Materialize a native node
|
|
1488
|
+
*/
|
|
1489
|
+
post(options) {
|
|
1490
|
+
return (options.client ?? this.client).post({
|
|
1491
|
+
responseStyle: 'data',
|
|
1492
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1493
|
+
url: '/api/native-nodes/{catalogId}/materialize',
|
|
1494
|
+
...options,
|
|
1495
|
+
headers: {
|
|
1496
|
+
'Content-Type': 'application/json',
|
|
1497
|
+
...options.headers
|
|
1498
|
+
}
|
|
1499
|
+
});
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
exports.Materialize = Materialize;
|
|
1503
|
+
class CatalogId extends HeyApiClient {
|
|
1504
|
+
_materialize;
|
|
1505
|
+
get materialize() {
|
|
1506
|
+
return this._materialize ??= new Materialize({ client: this.client });
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
exports.CatalogId = CatalogId;
|
|
1510
|
+
class Api17 extends HeyApiClient {
|
|
1511
|
+
/**
|
|
1512
|
+
* List native nodes
|
|
1513
|
+
*/
|
|
1514
|
+
get(options) {
|
|
1515
|
+
return (options?.client ?? this.client).get({
|
|
1516
|
+
responseStyle: 'data',
|
|
1517
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1518
|
+
url: '/api/native-nodes',
|
|
1519
|
+
...options
|
|
1520
|
+
});
|
|
1521
|
+
}
|
|
1522
|
+
_catalogId;
|
|
1523
|
+
get catalogId() {
|
|
1524
|
+
return this._catalogId ??= new CatalogId({ client: this.client });
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
exports.Api17 = Api17;
|
|
1528
|
+
class NativeNodes extends HeyApiClient {
|
|
1529
|
+
_api;
|
|
1530
|
+
get api() {
|
|
1531
|
+
return this._api ??= new Api17({ client: this.client });
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
exports.NativeNodes = NativeNodes;
|
|
1535
|
+
class Permissions extends HeyApiClient {
|
|
1536
|
+
/**
|
|
1537
|
+
* The caller's role + effective permissions in a workspace (?workspace=kind:id)
|
|
1538
|
+
*/
|
|
1539
|
+
get(options) {
|
|
1540
|
+
return (options?.client ?? this.client).get({
|
|
1541
|
+
responseStyle: 'data',
|
|
1542
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1543
|
+
url: '/api/workspaces/permissions',
|
|
1544
|
+
...options
|
|
1545
|
+
});
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
exports.Permissions = Permissions;
|
|
1549
|
+
class Api18 extends HeyApiClient {
|
|
1550
|
+
/**
|
|
1551
|
+
* List the user's workspaces (personal + orgs with nested teams)
|
|
1552
|
+
*/
|
|
1553
|
+
get(options) {
|
|
1554
|
+
return (options?.client ?? this.client).get({
|
|
1555
|
+
responseStyle: 'data',
|
|
1556
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1557
|
+
url: '/api/workspaces',
|
|
1558
|
+
...options
|
|
1559
|
+
});
|
|
1560
|
+
}
|
|
1561
|
+
_permissions;
|
|
1562
|
+
get permissions() {
|
|
1563
|
+
return this._permissions ??= new Permissions({ client: this.client });
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
exports.Api18 = Api18;
|
|
1567
|
+
class Workspaces extends HeyApiClient {
|
|
1568
|
+
_api;
|
|
1569
|
+
get api() {
|
|
1570
|
+
return this._api ??= new Api18({ client: this.client });
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
exports.Workspaces = Workspaces;
|
|
1574
|
+
class OctonodeApi extends HeyApiClient {
|
|
1575
|
+
static __registry = new HeyApiRegistry();
|
|
1576
|
+
constructor(args) {
|
|
1577
|
+
super(args);
|
|
1578
|
+
OctonodeApi.__registry.set(this, args?.key);
|
|
1579
|
+
}
|
|
1580
|
+
_capabilities;
|
|
1581
|
+
get capabilities() {
|
|
1582
|
+
return this._capabilities ??= new Capabilities({ client: this.client });
|
|
1583
|
+
}
|
|
1584
|
+
_identity;
|
|
1585
|
+
get identity() {
|
|
1586
|
+
return this._identity ??= new Identity({ client: this.client });
|
|
1587
|
+
}
|
|
1588
|
+
_runs;
|
|
1589
|
+
get runs() {
|
|
1590
|
+
return this._runs ??= new Runs({ client: this.client });
|
|
1591
|
+
}
|
|
1592
|
+
_profile;
|
|
1593
|
+
get profile() {
|
|
1594
|
+
return this._profile ??= new Profile({ client: this.client });
|
|
1595
|
+
}
|
|
1596
|
+
_profiles;
|
|
1597
|
+
get profiles() {
|
|
1598
|
+
return this._profiles ??= new Profiles({ client: this.client });
|
|
1599
|
+
}
|
|
1600
|
+
_knowledge;
|
|
1601
|
+
get knowledge() {
|
|
1602
|
+
return this._knowledge ??= new Knowledge({ client: this.client });
|
|
1603
|
+
}
|
|
1604
|
+
_social;
|
|
1605
|
+
get social() {
|
|
1606
|
+
return this._social ??= new Social({ client: this.client });
|
|
1607
|
+
}
|
|
1608
|
+
_github;
|
|
1609
|
+
get github() {
|
|
1610
|
+
return this._github ??= new Github({ client: this.client });
|
|
1611
|
+
}
|
|
1612
|
+
_architectures;
|
|
1613
|
+
get architectures() {
|
|
1614
|
+
return this._architectures ??= new Architectures({ client: this.client });
|
|
1615
|
+
}
|
|
1616
|
+
_projects;
|
|
1617
|
+
get projects() {
|
|
1618
|
+
return this._projects ??= new Projects({ client: this.client });
|
|
1619
|
+
}
|
|
1620
|
+
_nodes;
|
|
1621
|
+
get nodes() {
|
|
1622
|
+
return this._nodes ??= new Nodes({ client: this.client });
|
|
1623
|
+
}
|
|
1624
|
+
_workflows;
|
|
1625
|
+
get workflows() {
|
|
1626
|
+
return this._workflows ??= new Workflows({ client: this.client });
|
|
1627
|
+
}
|
|
1628
|
+
_executions;
|
|
1629
|
+
get executions() {
|
|
1630
|
+
return this._executions ??= new Executions2({ client: this.client });
|
|
1631
|
+
}
|
|
1632
|
+
_marketplace;
|
|
1633
|
+
get marketplace() {
|
|
1634
|
+
return this._marketplace ??= new Marketplace({ client: this.client });
|
|
1635
|
+
}
|
|
1636
|
+
_plugins;
|
|
1637
|
+
get plugins() {
|
|
1638
|
+
return this._plugins ??= new Plugins2({ client: this.client });
|
|
1639
|
+
}
|
|
1640
|
+
_templates;
|
|
1641
|
+
get templates() {
|
|
1642
|
+
return this._templates ??= new Templates({ client: this.client });
|
|
1643
|
+
}
|
|
1644
|
+
_nativeNodes;
|
|
1645
|
+
get nativeNodes() {
|
|
1646
|
+
return this._nativeNodes ??= new NativeNodes({ client: this.client });
|
|
1647
|
+
}
|
|
1648
|
+
_workspaces;
|
|
1649
|
+
get workspaces() {
|
|
1650
|
+
return this._workspaces ??= new Workspaces({ client: this.client });
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
exports.OctonodeApi = OctonodeApi;
|
|
1654
|
+
//# sourceMappingURL=sdk.gen.js.map
|