@nsp-labs/agnostic-sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/LICENSE +15 -0
- package/README.md +195 -0
- package/package.json +47 -0
- package/src/generated/openapi.d.ts +1214 -0
- package/src/generated/openapi.js +7 -0
- package/src/index.d.ts +4 -0
- package/src/index.js +24 -0
- package/src/lib/context.d.ts +3 -0
- package/src/lib/context.js +70 -0
- package/src/lib/errors.d.ts +14 -0
- package/src/lib/errors.js +57 -0
- package/src/lib/http-client.d.ts +18 -0
- package/src/lib/http-client.js +65 -0
- package/src/lib/runtime-client.d.ts +91 -0
- package/src/lib/runtime-client.js +394 -0
- package/src/lib/types.d.ts +224 -0
- package/src/lib/types.js +3 -0
|
@@ -0,0 +1,1214 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/api/v1/runtime/auth/context": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/** Return the authenticated runtime identity context */
|
|
14
|
+
get: operations["runtimeAuthContext"];
|
|
15
|
+
put?: never;
|
|
16
|
+
post?: never;
|
|
17
|
+
delete?: never;
|
|
18
|
+
options?: never;
|
|
19
|
+
head?: never;
|
|
20
|
+
patch?: never;
|
|
21
|
+
trace?: never;
|
|
22
|
+
};
|
|
23
|
+
"/api/v1/runtime/data/tables/{tableName}/records": {
|
|
24
|
+
parameters: {
|
|
25
|
+
query?: never;
|
|
26
|
+
header?: never;
|
|
27
|
+
path?: never;
|
|
28
|
+
cookie?: never;
|
|
29
|
+
};
|
|
30
|
+
/** List Data records in the authenticated runtime context */
|
|
31
|
+
get: operations["runtimeDataListRecords"];
|
|
32
|
+
put?: never;
|
|
33
|
+
/** Create one Data record in the authenticated runtime context */
|
|
34
|
+
post: operations["runtimeDataCreateRecord"];
|
|
35
|
+
delete?: never;
|
|
36
|
+
options?: never;
|
|
37
|
+
head?: never;
|
|
38
|
+
patch?: never;
|
|
39
|
+
trace?: never;
|
|
40
|
+
};
|
|
41
|
+
"/api/v1/runtime/data/tables/{tableName}/records/{recordId}": {
|
|
42
|
+
parameters: {
|
|
43
|
+
query?: never;
|
|
44
|
+
header?: never;
|
|
45
|
+
path?: never;
|
|
46
|
+
cookie?: never;
|
|
47
|
+
};
|
|
48
|
+
get?: never;
|
|
49
|
+
put?: never;
|
|
50
|
+
post?: never;
|
|
51
|
+
/** Delete one Data record in the authenticated runtime context */
|
|
52
|
+
delete: operations["runtimeDataDeleteRecord"];
|
|
53
|
+
options?: never;
|
|
54
|
+
head?: never;
|
|
55
|
+
/** Update one Data record in the authenticated runtime context */
|
|
56
|
+
patch: operations["runtimeDataUpdateRecord"];
|
|
57
|
+
trace?: never;
|
|
58
|
+
};
|
|
59
|
+
"/api/v1/runtime/data/views/{viewId}/table/window": {
|
|
60
|
+
parameters: {
|
|
61
|
+
query?: never;
|
|
62
|
+
header?: never;
|
|
63
|
+
path?: never;
|
|
64
|
+
cookie?: never;
|
|
65
|
+
};
|
|
66
|
+
/** List one table view window in the runtime context */
|
|
67
|
+
get: operations["runtimeDataListTableViewWindow"];
|
|
68
|
+
put?: never;
|
|
69
|
+
post?: never;
|
|
70
|
+
delete?: never;
|
|
71
|
+
options?: never;
|
|
72
|
+
head?: never;
|
|
73
|
+
patch?: never;
|
|
74
|
+
trace?: never;
|
|
75
|
+
};
|
|
76
|
+
"/api/v1/runtime/events/{eventName}": {
|
|
77
|
+
parameters: {
|
|
78
|
+
query?: never;
|
|
79
|
+
header?: never;
|
|
80
|
+
path?: never;
|
|
81
|
+
cookie?: never;
|
|
82
|
+
};
|
|
83
|
+
get?: never;
|
|
84
|
+
put?: never;
|
|
85
|
+
/** Publish a runtime event into a project queue */
|
|
86
|
+
post: operations["runtimeEventsPublish"];
|
|
87
|
+
delete?: never;
|
|
88
|
+
options?: never;
|
|
89
|
+
head?: never;
|
|
90
|
+
patch?: never;
|
|
91
|
+
trace?: never;
|
|
92
|
+
};
|
|
93
|
+
"/api/v1/runtime/jobs/{jobName}": {
|
|
94
|
+
parameters: {
|
|
95
|
+
query?: never;
|
|
96
|
+
header?: never;
|
|
97
|
+
path?: never;
|
|
98
|
+
cookie?: never;
|
|
99
|
+
};
|
|
100
|
+
get?: never;
|
|
101
|
+
put?: never;
|
|
102
|
+
/** Enqueue a runtime job into a project queue */
|
|
103
|
+
post: operations["runtimeJobsEnqueue"];
|
|
104
|
+
delete?: never;
|
|
105
|
+
options?: never;
|
|
106
|
+
head?: never;
|
|
107
|
+
patch?: never;
|
|
108
|
+
trace?: never;
|
|
109
|
+
};
|
|
110
|
+
"/api/v1/runtime/gateway/{routeName}": {
|
|
111
|
+
parameters: {
|
|
112
|
+
query?: never;
|
|
113
|
+
header?: never;
|
|
114
|
+
path?: never;
|
|
115
|
+
cookie?: never;
|
|
116
|
+
};
|
|
117
|
+
get?: never;
|
|
118
|
+
put?: never;
|
|
119
|
+
/** Call a named gateway route in the runtime context */
|
|
120
|
+
post: operations["runtimeGatewayCall"];
|
|
121
|
+
delete?: never;
|
|
122
|
+
options?: never;
|
|
123
|
+
head?: never;
|
|
124
|
+
patch?: never;
|
|
125
|
+
trace?: never;
|
|
126
|
+
};
|
|
127
|
+
"/api/v1/runtime/workflows/{workflowSlug}/runs": {
|
|
128
|
+
parameters: {
|
|
129
|
+
query?: never;
|
|
130
|
+
header?: never;
|
|
131
|
+
path?: never;
|
|
132
|
+
cookie?: never;
|
|
133
|
+
};
|
|
134
|
+
get?: never;
|
|
135
|
+
put?: never;
|
|
136
|
+
/** Start a workflow run in the runtime context */
|
|
137
|
+
post: operations["runtimeWorkflowsStartRun"];
|
|
138
|
+
delete?: never;
|
|
139
|
+
options?: never;
|
|
140
|
+
head?: never;
|
|
141
|
+
patch?: never;
|
|
142
|
+
trace?: never;
|
|
143
|
+
};
|
|
144
|
+
"/api/v1/runtime/workflow-runs/{runId}": {
|
|
145
|
+
parameters: {
|
|
146
|
+
query?: never;
|
|
147
|
+
header?: never;
|
|
148
|
+
path?: never;
|
|
149
|
+
cookie?: never;
|
|
150
|
+
};
|
|
151
|
+
/** Get a workflow run in the runtime context */
|
|
152
|
+
get: operations["runtimeWorkflowRunsGet"];
|
|
153
|
+
put?: never;
|
|
154
|
+
post?: never;
|
|
155
|
+
delete?: never;
|
|
156
|
+
options?: never;
|
|
157
|
+
head?: never;
|
|
158
|
+
patch?: never;
|
|
159
|
+
trace?: never;
|
|
160
|
+
};
|
|
161
|
+
"/api/v1/runtime/workflow-runs/{runId}/steps": {
|
|
162
|
+
parameters: {
|
|
163
|
+
query?: never;
|
|
164
|
+
header?: never;
|
|
165
|
+
path?: never;
|
|
166
|
+
cookie?: never;
|
|
167
|
+
};
|
|
168
|
+
/** List workflow run steps in the runtime context */
|
|
169
|
+
get: operations["runtimeWorkflowRunsListSteps"];
|
|
170
|
+
put?: never;
|
|
171
|
+
post?: never;
|
|
172
|
+
delete?: never;
|
|
173
|
+
options?: never;
|
|
174
|
+
head?: never;
|
|
175
|
+
patch?: never;
|
|
176
|
+
trace?: never;
|
|
177
|
+
};
|
|
178
|
+
"/api/v1/runtime/app-auth/session/verify": {
|
|
179
|
+
parameters: {
|
|
180
|
+
query?: never;
|
|
181
|
+
header?: never;
|
|
182
|
+
path?: never;
|
|
183
|
+
cookie?: never;
|
|
184
|
+
};
|
|
185
|
+
get?: never;
|
|
186
|
+
put?: never;
|
|
187
|
+
/** Verify an App Auth session in the runtime context */
|
|
188
|
+
post: operations["runtimeAppAuthVerifySession"];
|
|
189
|
+
delete?: never;
|
|
190
|
+
options?: never;
|
|
191
|
+
head?: never;
|
|
192
|
+
patch?: never;
|
|
193
|
+
trace?: never;
|
|
194
|
+
};
|
|
195
|
+
"/api/v1/runtime/app-auth/users/{userId}": {
|
|
196
|
+
parameters: {
|
|
197
|
+
query?: never;
|
|
198
|
+
header?: never;
|
|
199
|
+
path?: never;
|
|
200
|
+
cookie?: never;
|
|
201
|
+
};
|
|
202
|
+
/** Read sanitized App Auth user claims in the runtime context */
|
|
203
|
+
get: operations["runtimeAppAuthGetUser"];
|
|
204
|
+
put?: never;
|
|
205
|
+
post?: never;
|
|
206
|
+
delete?: never;
|
|
207
|
+
options?: never;
|
|
208
|
+
head?: never;
|
|
209
|
+
patch?: never;
|
|
210
|
+
trace?: never;
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
export type webhooks = Record<string, never>;
|
|
214
|
+
export interface components {
|
|
215
|
+
schemas: {
|
|
216
|
+
CreateDataRecordDto: {
|
|
217
|
+
/**
|
|
218
|
+
* @description Optional record id; generated when omitted
|
|
219
|
+
* @example rec_123
|
|
220
|
+
*/
|
|
221
|
+
id?: string;
|
|
222
|
+
/**
|
|
223
|
+
* @example {
|
|
224
|
+
* "name": "Alex Martin",
|
|
225
|
+
* "email": "alex@example.com"
|
|
226
|
+
* }
|
|
227
|
+
*/
|
|
228
|
+
values: Record<string, never>;
|
|
229
|
+
};
|
|
230
|
+
DataFieldDto: {
|
|
231
|
+
/** @example status */
|
|
232
|
+
name: string;
|
|
233
|
+
/** @example Status */
|
|
234
|
+
displayName: string;
|
|
235
|
+
/**
|
|
236
|
+
* @example single_select
|
|
237
|
+
* @enum {string}
|
|
238
|
+
*/
|
|
239
|
+
type: "single_line_text" | "long_text" | "number" | "checkbox" | "date" | "date_time" | "email" | "url" | "phone" | "single_select" | "multi_select" | "json" | "id";
|
|
240
|
+
/** @example Utf8 */
|
|
241
|
+
storageType: string;
|
|
242
|
+
/** @example true */
|
|
243
|
+
nullable: boolean;
|
|
244
|
+
/** @example false */
|
|
245
|
+
required: boolean;
|
|
246
|
+
/** @example false */
|
|
247
|
+
primary: boolean;
|
|
248
|
+
/** @example false */
|
|
249
|
+
system: boolean;
|
|
250
|
+
/** @example false */
|
|
251
|
+
readonly: boolean;
|
|
252
|
+
/** @example false */
|
|
253
|
+
hidden: boolean;
|
|
254
|
+
metadata?: components["schemas"]["DataFieldMetadataDto"];
|
|
255
|
+
};
|
|
256
|
+
DataFieldMetadataDto: {
|
|
257
|
+
/** @example Customer lifecycle stage */
|
|
258
|
+
description?: string;
|
|
259
|
+
options?: components["schemas"]["DataFieldOptionDto"][];
|
|
260
|
+
};
|
|
261
|
+
DataFieldOptionDto: {
|
|
262
|
+
/** @example qualified */
|
|
263
|
+
id: string;
|
|
264
|
+
/** @example Qualified */
|
|
265
|
+
label: string;
|
|
266
|
+
/** @example green */
|
|
267
|
+
color?: string;
|
|
268
|
+
};
|
|
269
|
+
DataRecordDto: {
|
|
270
|
+
/** @example rec_123 */
|
|
271
|
+
id: string;
|
|
272
|
+
values: Record<string, never>;
|
|
273
|
+
};
|
|
274
|
+
DataRecordMutationDto: {
|
|
275
|
+
/** @example rec_123 */
|
|
276
|
+
id: string;
|
|
277
|
+
record?: components["schemas"]["DataRecordDto"];
|
|
278
|
+
/** @example 1 */
|
|
279
|
+
rowsAffected: number;
|
|
280
|
+
};
|
|
281
|
+
DataRecordsListDto: {
|
|
282
|
+
records: components["schemas"]["DataRecordDto"][];
|
|
283
|
+
/** @example 50 */
|
|
284
|
+
limit: number;
|
|
285
|
+
/** @example null */
|
|
286
|
+
nextCursor: string | null;
|
|
287
|
+
/** @example false */
|
|
288
|
+
hasMore: boolean;
|
|
289
|
+
/** @example 50 */
|
|
290
|
+
loadedCount: number;
|
|
291
|
+
/**
|
|
292
|
+
* @description Total records matching current search/filter query
|
|
293
|
+
* @example 128
|
|
294
|
+
*/
|
|
295
|
+
totalCount: number;
|
|
296
|
+
};
|
|
297
|
+
DataTableWindowDto: {
|
|
298
|
+
fields: components["schemas"]["DataFieldDto"][];
|
|
299
|
+
rows: components["schemas"]["DataRecordDto"][];
|
|
300
|
+
/** @example 200 */
|
|
301
|
+
limit: number;
|
|
302
|
+
/** @example null */
|
|
303
|
+
nextCursor: string | null;
|
|
304
|
+
/** @example false */
|
|
305
|
+
hasMore: boolean;
|
|
306
|
+
/** @example 200 */
|
|
307
|
+
loadedCount: number;
|
|
308
|
+
/** @example 128 */
|
|
309
|
+
totalCount: number;
|
|
310
|
+
viewState: components["schemas"]["DataViewStateDto"];
|
|
311
|
+
};
|
|
312
|
+
DataViewStateDto: {
|
|
313
|
+
/**
|
|
314
|
+
* @example [
|
|
315
|
+
* "id",
|
|
316
|
+
* "name",
|
|
317
|
+
* "status"
|
|
318
|
+
* ]
|
|
319
|
+
*/
|
|
320
|
+
fieldOrder: string[];
|
|
321
|
+
/**
|
|
322
|
+
* @example [
|
|
323
|
+
* "id"
|
|
324
|
+
* ]
|
|
325
|
+
*/
|
|
326
|
+
hiddenFields: string[];
|
|
327
|
+
/**
|
|
328
|
+
* @example {
|
|
329
|
+
* "name": 220
|
|
330
|
+
* }
|
|
331
|
+
*/
|
|
332
|
+
fieldWidths: Record<string, never>;
|
|
333
|
+
/**
|
|
334
|
+
* @example {
|
|
335
|
+
* "density": "comfortable"
|
|
336
|
+
* }
|
|
337
|
+
*/
|
|
338
|
+
settings: Record<string, never>;
|
|
339
|
+
};
|
|
340
|
+
Object: Record<string, never>;
|
|
341
|
+
RuntimeActorMetadataDto: {
|
|
342
|
+
/**
|
|
343
|
+
* @example app_user
|
|
344
|
+
* @enum {string}
|
|
345
|
+
*/
|
|
346
|
+
type: "app_user" | "platform_user" | "runtime" | "system";
|
|
347
|
+
/** @example app-user-123 */
|
|
348
|
+
id?: string;
|
|
349
|
+
/** @example tenant-123 */
|
|
350
|
+
tenantId?: string;
|
|
351
|
+
/** @example admin */
|
|
352
|
+
role?: string;
|
|
353
|
+
/**
|
|
354
|
+
* @example [
|
|
355
|
+
* "orders:read"
|
|
356
|
+
* ]
|
|
357
|
+
*/
|
|
358
|
+
scopes?: string[];
|
|
359
|
+
/**
|
|
360
|
+
* @example {
|
|
361
|
+
* "source": "app-backend"
|
|
362
|
+
* }
|
|
363
|
+
*/
|
|
364
|
+
metadata?: Record<string, never>;
|
|
365
|
+
};
|
|
366
|
+
RuntimeAppAuthActorDto: {
|
|
367
|
+
/** @example app_user */
|
|
368
|
+
type: string;
|
|
369
|
+
/** @example uuid */
|
|
370
|
+
id: string;
|
|
371
|
+
/** @example tenant-123 */
|
|
372
|
+
tenantId?: string;
|
|
373
|
+
/** @example owner */
|
|
374
|
+
role?: string;
|
|
375
|
+
/**
|
|
376
|
+
* @example [
|
|
377
|
+
* "orders:write"
|
|
378
|
+
* ]
|
|
379
|
+
*/
|
|
380
|
+
scopes?: string[];
|
|
381
|
+
};
|
|
382
|
+
RuntimeAppAuthCachePolicyDto: {
|
|
383
|
+
/** @example 30 */
|
|
384
|
+
ttlSeconds: number;
|
|
385
|
+
/** @example 2026-05-14T12:00:30.000Z */
|
|
386
|
+
expiresAt: string;
|
|
387
|
+
};
|
|
388
|
+
RuntimeAppAuthSessionClaimsDto: {
|
|
389
|
+
/** @example uuid */
|
|
390
|
+
id: string;
|
|
391
|
+
/** @example 2026-06-13T12:00:00.000Z */
|
|
392
|
+
expiresAt: string;
|
|
393
|
+
/** @example 2026-05-14T12:00:00.000Z */
|
|
394
|
+
createdAt: string;
|
|
395
|
+
/** @example Chrome on macOS */
|
|
396
|
+
device?: string | null;
|
|
397
|
+
/** @example 203.0.113.10 */
|
|
398
|
+
ipAddress?: string | null;
|
|
399
|
+
};
|
|
400
|
+
RuntimeAppAuthSessionVerifyDto: {
|
|
401
|
+
/**
|
|
402
|
+
* @description Opaque App Auth session token extracted from bearer auth or app session cookie.
|
|
403
|
+
* @example opaque-app-session-token
|
|
404
|
+
*/
|
|
405
|
+
sessionToken?: string;
|
|
406
|
+
};
|
|
407
|
+
RuntimeAppAuthSessionVerifyResponseDto: {
|
|
408
|
+
user: components["schemas"]["RuntimeAppAuthUserClaimsDto"];
|
|
409
|
+
session: components["schemas"]["RuntimeAppAuthSessionClaimsDto"];
|
|
410
|
+
actor: components["schemas"]["RuntimeAppAuthActorDto"];
|
|
411
|
+
/** @example 2026-05-14T12:00:00.000Z */
|
|
412
|
+
verifiedAt: string;
|
|
413
|
+
cache: components["schemas"]["RuntimeAppAuthCachePolicyDto"];
|
|
414
|
+
};
|
|
415
|
+
RuntimeAppAuthUserClaimsDto: {
|
|
416
|
+
/** @example uuid */
|
|
417
|
+
id: string;
|
|
418
|
+
/** @example uuid */
|
|
419
|
+
realmId: string;
|
|
420
|
+
/** @example user@example.com */
|
|
421
|
+
email: string;
|
|
422
|
+
/** @example true */
|
|
423
|
+
emailVerified: boolean;
|
|
424
|
+
/** @example Jane Doe */
|
|
425
|
+
displayName?: string | null;
|
|
426
|
+
/** @example https://example.com/a.png */
|
|
427
|
+
avatarUrl?: string | null;
|
|
428
|
+
/**
|
|
429
|
+
* @example active
|
|
430
|
+
* @enum {string}
|
|
431
|
+
*/
|
|
432
|
+
status: "active" | "disabled" | "suspended";
|
|
433
|
+
metadata: {
|
|
434
|
+
[key: string]: unknown;
|
|
435
|
+
};
|
|
436
|
+
/**
|
|
437
|
+
* @example [
|
|
438
|
+
* "orders:read"
|
|
439
|
+
* ]
|
|
440
|
+
*/
|
|
441
|
+
scopes: string[];
|
|
442
|
+
};
|
|
443
|
+
RuntimeAppAuthUserResponseDto: {
|
|
444
|
+
user: components["schemas"]["RuntimeAppAuthUserClaimsDto"];
|
|
445
|
+
actor: components["schemas"]["RuntimeAppAuthActorDto"];
|
|
446
|
+
};
|
|
447
|
+
RuntimeContextDto: {
|
|
448
|
+
/** @example uuid */
|
|
449
|
+
tokenId: string;
|
|
450
|
+
/** @example uuid */
|
|
451
|
+
projectId: string;
|
|
452
|
+
/** @example production */
|
|
453
|
+
environment: string;
|
|
454
|
+
/**
|
|
455
|
+
* @example service
|
|
456
|
+
* @enum {string}
|
|
457
|
+
*/
|
|
458
|
+
runtimeType: "service" | "worker" | "automation";
|
|
459
|
+
/** @example uuid */
|
|
460
|
+
serviceId?: string | null;
|
|
461
|
+
/** @example null */
|
|
462
|
+
workerId?: string | null;
|
|
463
|
+
/**
|
|
464
|
+
* @example [
|
|
465
|
+
* "runtime.read"
|
|
466
|
+
* ]
|
|
467
|
+
*/
|
|
468
|
+
capabilities: string[];
|
|
469
|
+
actor?: components["schemas"]["RuntimeActorMetadataDto"] | null;
|
|
470
|
+
};
|
|
471
|
+
RuntimeEnqueueJobDto: {
|
|
472
|
+
/**
|
|
473
|
+
* @example {
|
|
474
|
+
* "orderId": "order-123"
|
|
475
|
+
* }
|
|
476
|
+
*/
|
|
477
|
+
payload?: {
|
|
478
|
+
[key: string]: unknown;
|
|
479
|
+
};
|
|
480
|
+
/** @example 30 */
|
|
481
|
+
delaySeconds?: number;
|
|
482
|
+
/** @example jobs */
|
|
483
|
+
messageGroupId?: string;
|
|
484
|
+
/** @example send-receipt-order-123 */
|
|
485
|
+
messageDeduplicationId?: string;
|
|
486
|
+
};
|
|
487
|
+
RuntimeGatewayCallDto: {
|
|
488
|
+
/**
|
|
489
|
+
* @example {
|
|
490
|
+
* "orderId": "order-123"
|
|
491
|
+
* }
|
|
492
|
+
*/
|
|
493
|
+
payload?: {
|
|
494
|
+
[key: string]: unknown;
|
|
495
|
+
};
|
|
496
|
+
/**
|
|
497
|
+
* @example {
|
|
498
|
+
* "x-request-id": "req-123"
|
|
499
|
+
* }
|
|
500
|
+
*/
|
|
501
|
+
headers?: {
|
|
502
|
+
[key: string]: string;
|
|
503
|
+
};
|
|
504
|
+
/**
|
|
505
|
+
* @example {
|
|
506
|
+
* "preview": "true"
|
|
507
|
+
* }
|
|
508
|
+
*/
|
|
509
|
+
query?: {
|
|
510
|
+
[key: string]: string;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
RuntimeGatewayCallResultDto: {
|
|
514
|
+
/** @example health */
|
|
515
|
+
routeName: string;
|
|
516
|
+
/** @example /health */
|
|
517
|
+
routePath: string;
|
|
518
|
+
/** @example 200 */
|
|
519
|
+
status: number;
|
|
520
|
+
data: {
|
|
521
|
+
[key: string]: unknown;
|
|
522
|
+
};
|
|
523
|
+
/**
|
|
524
|
+
* @example {
|
|
525
|
+
* "content-type": "application/json"
|
|
526
|
+
* }
|
|
527
|
+
*/
|
|
528
|
+
headers: {
|
|
529
|
+
[key: string]: string;
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
RuntimePublishEventDto: {
|
|
533
|
+
/**
|
|
534
|
+
* @example {
|
|
535
|
+
* "orderId": "order-123"
|
|
536
|
+
* }
|
|
537
|
+
*/
|
|
538
|
+
payload?: {
|
|
539
|
+
[key: string]: unknown;
|
|
540
|
+
};
|
|
541
|
+
/** @example 5 */
|
|
542
|
+
delaySeconds?: number;
|
|
543
|
+
/** @example orders */
|
|
544
|
+
messageGroupId?: string;
|
|
545
|
+
/** @example order-123-created */
|
|
546
|
+
messageDeduplicationId?: string;
|
|
547
|
+
};
|
|
548
|
+
RuntimeQueuedMessageDto: {
|
|
549
|
+
/** @example order.created */
|
|
550
|
+
name: string;
|
|
551
|
+
/** @example uuid */
|
|
552
|
+
queueId: string;
|
|
553
|
+
/** @example order.created */
|
|
554
|
+
queueName: string;
|
|
555
|
+
/** @example production */
|
|
556
|
+
environment: string;
|
|
557
|
+
/** @example ymq-message-abc123 */
|
|
558
|
+
messageId: string;
|
|
559
|
+
/** @example md5-hash */
|
|
560
|
+
md5OfMessageBody?: string;
|
|
561
|
+
/** @example ymq-send-abc123 */
|
|
562
|
+
requestId?: string;
|
|
563
|
+
};
|
|
564
|
+
RuntimeStartWorkflowDto: {
|
|
565
|
+
/**
|
|
566
|
+
* @example {
|
|
567
|
+
* "orderId": "order-123"
|
|
568
|
+
* }
|
|
569
|
+
*/
|
|
570
|
+
inputPayload?: {
|
|
571
|
+
[key: string]: unknown;
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
StepRun: {
|
|
575
|
+
/** @example uuid */
|
|
576
|
+
id: string;
|
|
577
|
+
/** @example uuid */
|
|
578
|
+
workflowRunId: string;
|
|
579
|
+
/** @example llm_call_1 */
|
|
580
|
+
nodeId: string;
|
|
581
|
+
/** @example uuid */
|
|
582
|
+
parentStepRunId: string | null;
|
|
583
|
+
/** @example root */
|
|
584
|
+
tokenId: string;
|
|
585
|
+
/** @example default */
|
|
586
|
+
branchId: string;
|
|
587
|
+
/** @example null */
|
|
588
|
+
loopId: string | null;
|
|
589
|
+
/** @example null */
|
|
590
|
+
itemIndex: number | null;
|
|
591
|
+
/** @example null */
|
|
592
|
+
joinKey: string | null;
|
|
593
|
+
/** @example queued */
|
|
594
|
+
status: string;
|
|
595
|
+
/** @example 1 */
|
|
596
|
+
attempt: number;
|
|
597
|
+
/** @example null */
|
|
598
|
+
inputRef: string | null;
|
|
599
|
+
/** @example null */
|
|
600
|
+
outputRef: string | null;
|
|
601
|
+
inputSummary: {
|
|
602
|
+
[key: string]: unknown;
|
|
603
|
+
} | null;
|
|
604
|
+
outputSummary: {
|
|
605
|
+
[key: string]: unknown;
|
|
606
|
+
} | null;
|
|
607
|
+
/**
|
|
608
|
+
* Format: date-time
|
|
609
|
+
* @example null
|
|
610
|
+
*/
|
|
611
|
+
startedAt: string | null;
|
|
612
|
+
/**
|
|
613
|
+
* Format: date-time
|
|
614
|
+
* @example null
|
|
615
|
+
*/
|
|
616
|
+
finishedAt: string | null;
|
|
617
|
+
error: {
|
|
618
|
+
[key: string]: unknown;
|
|
619
|
+
} | null;
|
|
620
|
+
};
|
|
621
|
+
UpdateDataRecordDto: {
|
|
622
|
+
/**
|
|
623
|
+
* @example {
|
|
624
|
+
* "status": "qualified"
|
|
625
|
+
* }
|
|
626
|
+
*/
|
|
627
|
+
values?: Record<string, never>;
|
|
628
|
+
/**
|
|
629
|
+
* @example [
|
|
630
|
+
* "temporary_note"
|
|
631
|
+
* ]
|
|
632
|
+
*/
|
|
633
|
+
remove?: string[];
|
|
634
|
+
};
|
|
635
|
+
WorkflowRun: {
|
|
636
|
+
/** @example uuid */
|
|
637
|
+
id: string;
|
|
638
|
+
/** @example uuid */
|
|
639
|
+
workflowId: string;
|
|
640
|
+
/** @example uuid */
|
|
641
|
+
workflowVersionId: string | null;
|
|
642
|
+
/** @example uuid */
|
|
643
|
+
environmentId: string;
|
|
644
|
+
/** @example null */
|
|
645
|
+
triggerId: string | null;
|
|
646
|
+
/**
|
|
647
|
+
* @example queued
|
|
648
|
+
* @enum {string}
|
|
649
|
+
*/
|
|
650
|
+
status: "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
|
|
651
|
+
inputPayload: {
|
|
652
|
+
[key: string]: unknown;
|
|
653
|
+
};
|
|
654
|
+
testDefinition?: {
|
|
655
|
+
[key: string]: unknown;
|
|
656
|
+
} | null;
|
|
657
|
+
actorMetadata?: {
|
|
658
|
+
[key: string]: unknown;
|
|
659
|
+
} | null;
|
|
660
|
+
/**
|
|
661
|
+
* Format: date-time
|
|
662
|
+
* @example null
|
|
663
|
+
*/
|
|
664
|
+
startedAt: string | null;
|
|
665
|
+
/**
|
|
666
|
+
* Format: date-time
|
|
667
|
+
* @example null
|
|
668
|
+
*/
|
|
669
|
+
finishedAt: string | null;
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
responses: never;
|
|
673
|
+
parameters: never;
|
|
674
|
+
requestBodies: never;
|
|
675
|
+
headers: never;
|
|
676
|
+
pathItems: never;
|
|
677
|
+
}
|
|
678
|
+
export type $defs = Record<string, never>;
|
|
679
|
+
export interface operations {
|
|
680
|
+
runtimeAuthContext: {
|
|
681
|
+
parameters: {
|
|
682
|
+
query?: never;
|
|
683
|
+
header?: never;
|
|
684
|
+
path?: never;
|
|
685
|
+
cookie?: never;
|
|
686
|
+
};
|
|
687
|
+
requestBody?: never;
|
|
688
|
+
responses: {
|
|
689
|
+
200: {
|
|
690
|
+
headers: {
|
|
691
|
+
[name: string]: unknown;
|
|
692
|
+
};
|
|
693
|
+
content: {
|
|
694
|
+
"application/json": components["schemas"]["RuntimeContextDto"];
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
/** @description Invalid runtime token */
|
|
698
|
+
401: {
|
|
699
|
+
headers: {
|
|
700
|
+
[name: string]: unknown;
|
|
701
|
+
};
|
|
702
|
+
content?: never;
|
|
703
|
+
};
|
|
704
|
+
/** @description Missing runtime capability */
|
|
705
|
+
403: {
|
|
706
|
+
headers: {
|
|
707
|
+
[name: string]: unknown;
|
|
708
|
+
};
|
|
709
|
+
content?: never;
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
runtimeDataListRecords: {
|
|
714
|
+
parameters: {
|
|
715
|
+
query?: {
|
|
716
|
+
/** @description Project environment id. When provided, it takes precedence over environment. */
|
|
717
|
+
envId?: string;
|
|
718
|
+
/** @description Environment key or UI alias: production/prod, staging, development/dev. */
|
|
719
|
+
environment?: string;
|
|
720
|
+
limit?: number;
|
|
721
|
+
cursor?: string;
|
|
722
|
+
/** @description Search text applied across searchable text columns */
|
|
723
|
+
q?: string;
|
|
724
|
+
filter?: components["schemas"]["Object"];
|
|
725
|
+
sort?: string;
|
|
726
|
+
};
|
|
727
|
+
header?: never;
|
|
728
|
+
path: {
|
|
729
|
+
tableName: string;
|
|
730
|
+
};
|
|
731
|
+
cookie?: never;
|
|
732
|
+
};
|
|
733
|
+
requestBody?: never;
|
|
734
|
+
responses: {
|
|
735
|
+
200: {
|
|
736
|
+
headers: {
|
|
737
|
+
[name: string]: unknown;
|
|
738
|
+
};
|
|
739
|
+
content: {
|
|
740
|
+
"application/json": components["schemas"]["DataRecordsListDto"];
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
/** @description Invalid runtime token */
|
|
744
|
+
401: {
|
|
745
|
+
headers: {
|
|
746
|
+
[name: string]: unknown;
|
|
747
|
+
};
|
|
748
|
+
content?: never;
|
|
749
|
+
};
|
|
750
|
+
/** @description Missing runtime capability */
|
|
751
|
+
403: {
|
|
752
|
+
headers: {
|
|
753
|
+
[name: string]: unknown;
|
|
754
|
+
};
|
|
755
|
+
content?: never;
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
runtimeDataCreateRecord: {
|
|
760
|
+
parameters: {
|
|
761
|
+
query?: never;
|
|
762
|
+
header?: never;
|
|
763
|
+
path: {
|
|
764
|
+
tableName: string;
|
|
765
|
+
};
|
|
766
|
+
cookie?: never;
|
|
767
|
+
};
|
|
768
|
+
requestBody: {
|
|
769
|
+
content: {
|
|
770
|
+
"application/json": components["schemas"]["CreateDataRecordDto"];
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
responses: {
|
|
774
|
+
201: {
|
|
775
|
+
headers: {
|
|
776
|
+
[name: string]: unknown;
|
|
777
|
+
};
|
|
778
|
+
content: {
|
|
779
|
+
"application/json": components["schemas"]["DataRecordMutationDto"];
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
/** @description Invalid runtime token */
|
|
783
|
+
401: {
|
|
784
|
+
headers: {
|
|
785
|
+
[name: string]: unknown;
|
|
786
|
+
};
|
|
787
|
+
content?: never;
|
|
788
|
+
};
|
|
789
|
+
/** @description Missing runtime capability */
|
|
790
|
+
403: {
|
|
791
|
+
headers: {
|
|
792
|
+
[name: string]: unknown;
|
|
793
|
+
};
|
|
794
|
+
content?: never;
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
};
|
|
798
|
+
runtimeDataDeleteRecord: {
|
|
799
|
+
parameters: {
|
|
800
|
+
query?: never;
|
|
801
|
+
header?: never;
|
|
802
|
+
path: {
|
|
803
|
+
tableName: string;
|
|
804
|
+
recordId: string;
|
|
805
|
+
};
|
|
806
|
+
cookie?: never;
|
|
807
|
+
};
|
|
808
|
+
requestBody?: never;
|
|
809
|
+
responses: {
|
|
810
|
+
202: {
|
|
811
|
+
headers: {
|
|
812
|
+
[name: string]: unknown;
|
|
813
|
+
};
|
|
814
|
+
content: {
|
|
815
|
+
"application/json": components["schemas"]["DataRecordMutationDto"];
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
/** @description Invalid runtime token */
|
|
819
|
+
401: {
|
|
820
|
+
headers: {
|
|
821
|
+
[name: string]: unknown;
|
|
822
|
+
};
|
|
823
|
+
content?: never;
|
|
824
|
+
};
|
|
825
|
+
/** @description Missing runtime capability */
|
|
826
|
+
403: {
|
|
827
|
+
headers: {
|
|
828
|
+
[name: string]: unknown;
|
|
829
|
+
};
|
|
830
|
+
content?: never;
|
|
831
|
+
};
|
|
832
|
+
};
|
|
833
|
+
};
|
|
834
|
+
runtimeDataUpdateRecord: {
|
|
835
|
+
parameters: {
|
|
836
|
+
query?: never;
|
|
837
|
+
header?: never;
|
|
838
|
+
path: {
|
|
839
|
+
tableName: string;
|
|
840
|
+
recordId: string;
|
|
841
|
+
};
|
|
842
|
+
cookie?: never;
|
|
843
|
+
};
|
|
844
|
+
requestBody: {
|
|
845
|
+
content: {
|
|
846
|
+
"application/json": components["schemas"]["UpdateDataRecordDto"];
|
|
847
|
+
};
|
|
848
|
+
};
|
|
849
|
+
responses: {
|
|
850
|
+
200: {
|
|
851
|
+
headers: {
|
|
852
|
+
[name: string]: unknown;
|
|
853
|
+
};
|
|
854
|
+
content: {
|
|
855
|
+
"application/json": components["schemas"]["DataRecordMutationDto"];
|
|
856
|
+
};
|
|
857
|
+
};
|
|
858
|
+
/** @description Invalid runtime token */
|
|
859
|
+
401: {
|
|
860
|
+
headers: {
|
|
861
|
+
[name: string]: unknown;
|
|
862
|
+
};
|
|
863
|
+
content?: never;
|
|
864
|
+
};
|
|
865
|
+
/** @description Missing runtime capability */
|
|
866
|
+
403: {
|
|
867
|
+
headers: {
|
|
868
|
+
[name: string]: unknown;
|
|
869
|
+
};
|
|
870
|
+
content?: never;
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
runtimeDataListTableViewWindow: {
|
|
875
|
+
parameters: {
|
|
876
|
+
query?: {
|
|
877
|
+
/** @description Project environment id. When provided, it takes precedence over environment. */
|
|
878
|
+
envId?: string;
|
|
879
|
+
/** @description Environment key or UI alias: production/prod, staging, development/dev. */
|
|
880
|
+
environment?: string;
|
|
881
|
+
limit?: number;
|
|
882
|
+
cursor?: string;
|
|
883
|
+
};
|
|
884
|
+
header?: never;
|
|
885
|
+
path: {
|
|
886
|
+
viewId: string;
|
|
887
|
+
};
|
|
888
|
+
cookie?: never;
|
|
889
|
+
};
|
|
890
|
+
requestBody?: never;
|
|
891
|
+
responses: {
|
|
892
|
+
200: {
|
|
893
|
+
headers: {
|
|
894
|
+
[name: string]: unknown;
|
|
895
|
+
};
|
|
896
|
+
content: {
|
|
897
|
+
"application/json": components["schemas"]["DataTableWindowDto"];
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
/** @description Invalid runtime token */
|
|
901
|
+
401: {
|
|
902
|
+
headers: {
|
|
903
|
+
[name: string]: unknown;
|
|
904
|
+
};
|
|
905
|
+
content?: never;
|
|
906
|
+
};
|
|
907
|
+
/** @description Missing runtime capability */
|
|
908
|
+
403: {
|
|
909
|
+
headers: {
|
|
910
|
+
[name: string]: unknown;
|
|
911
|
+
};
|
|
912
|
+
content?: never;
|
|
913
|
+
};
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
runtimeEventsPublish: {
|
|
917
|
+
parameters: {
|
|
918
|
+
query?: never;
|
|
919
|
+
header?: never;
|
|
920
|
+
path: {
|
|
921
|
+
eventName: string;
|
|
922
|
+
};
|
|
923
|
+
cookie?: never;
|
|
924
|
+
};
|
|
925
|
+
requestBody: {
|
|
926
|
+
content: {
|
|
927
|
+
"application/json": components["schemas"]["RuntimePublishEventDto"];
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
responses: {
|
|
931
|
+
202: {
|
|
932
|
+
headers: {
|
|
933
|
+
[name: string]: unknown;
|
|
934
|
+
};
|
|
935
|
+
content: {
|
|
936
|
+
"application/json": components["schemas"]["RuntimeQueuedMessageDto"];
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
/** @description Invalid runtime token */
|
|
940
|
+
401: {
|
|
941
|
+
headers: {
|
|
942
|
+
[name: string]: unknown;
|
|
943
|
+
};
|
|
944
|
+
content?: never;
|
|
945
|
+
};
|
|
946
|
+
/** @description Missing runtime capability */
|
|
947
|
+
403: {
|
|
948
|
+
headers: {
|
|
949
|
+
[name: string]: unknown;
|
|
950
|
+
};
|
|
951
|
+
content?: never;
|
|
952
|
+
};
|
|
953
|
+
};
|
|
954
|
+
};
|
|
955
|
+
runtimeJobsEnqueue: {
|
|
956
|
+
parameters: {
|
|
957
|
+
query?: never;
|
|
958
|
+
header?: never;
|
|
959
|
+
path: {
|
|
960
|
+
jobName: string;
|
|
961
|
+
};
|
|
962
|
+
cookie?: never;
|
|
963
|
+
};
|
|
964
|
+
requestBody: {
|
|
965
|
+
content: {
|
|
966
|
+
"application/json": components["schemas"]["RuntimeEnqueueJobDto"];
|
|
967
|
+
};
|
|
968
|
+
};
|
|
969
|
+
responses: {
|
|
970
|
+
202: {
|
|
971
|
+
headers: {
|
|
972
|
+
[name: string]: unknown;
|
|
973
|
+
};
|
|
974
|
+
content: {
|
|
975
|
+
"application/json": components["schemas"]["RuntimeQueuedMessageDto"];
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
/** @description Invalid runtime token */
|
|
979
|
+
401: {
|
|
980
|
+
headers: {
|
|
981
|
+
[name: string]: unknown;
|
|
982
|
+
};
|
|
983
|
+
content?: never;
|
|
984
|
+
};
|
|
985
|
+
/** @description Missing runtime capability */
|
|
986
|
+
403: {
|
|
987
|
+
headers: {
|
|
988
|
+
[name: string]: unknown;
|
|
989
|
+
};
|
|
990
|
+
content?: never;
|
|
991
|
+
};
|
|
992
|
+
};
|
|
993
|
+
};
|
|
994
|
+
runtimeGatewayCall: {
|
|
995
|
+
parameters: {
|
|
996
|
+
query?: never;
|
|
997
|
+
header?: never;
|
|
998
|
+
path: {
|
|
999
|
+
routeName: string;
|
|
1000
|
+
};
|
|
1001
|
+
cookie?: never;
|
|
1002
|
+
};
|
|
1003
|
+
requestBody: {
|
|
1004
|
+
content: {
|
|
1005
|
+
"application/json": components["schemas"]["RuntimeGatewayCallDto"];
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
responses: {
|
|
1009
|
+
200: {
|
|
1010
|
+
headers: {
|
|
1011
|
+
[name: string]: unknown;
|
|
1012
|
+
};
|
|
1013
|
+
content: {
|
|
1014
|
+
"application/json": components["schemas"]["RuntimeGatewayCallResultDto"];
|
|
1015
|
+
};
|
|
1016
|
+
};
|
|
1017
|
+
/** @description Invalid runtime token */
|
|
1018
|
+
401: {
|
|
1019
|
+
headers: {
|
|
1020
|
+
[name: string]: unknown;
|
|
1021
|
+
};
|
|
1022
|
+
content?: never;
|
|
1023
|
+
};
|
|
1024
|
+
/** @description Missing runtime capability */
|
|
1025
|
+
403: {
|
|
1026
|
+
headers: {
|
|
1027
|
+
[name: string]: unknown;
|
|
1028
|
+
};
|
|
1029
|
+
content?: never;
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
};
|
|
1033
|
+
runtimeWorkflowsStartRun: {
|
|
1034
|
+
parameters: {
|
|
1035
|
+
query?: never;
|
|
1036
|
+
header?: never;
|
|
1037
|
+
path: {
|
|
1038
|
+
workflowSlug: string;
|
|
1039
|
+
};
|
|
1040
|
+
cookie?: never;
|
|
1041
|
+
};
|
|
1042
|
+
requestBody: {
|
|
1043
|
+
content: {
|
|
1044
|
+
"application/json": components["schemas"]["RuntimeStartWorkflowDto"];
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
responses: {
|
|
1048
|
+
201: {
|
|
1049
|
+
headers: {
|
|
1050
|
+
[name: string]: unknown;
|
|
1051
|
+
};
|
|
1052
|
+
content: {
|
|
1053
|
+
"application/json": components["schemas"]["WorkflowRun"];
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
/** @description Invalid runtime token */
|
|
1057
|
+
401: {
|
|
1058
|
+
headers: {
|
|
1059
|
+
[name: string]: unknown;
|
|
1060
|
+
};
|
|
1061
|
+
content?: never;
|
|
1062
|
+
};
|
|
1063
|
+
/** @description Missing runtime capability */
|
|
1064
|
+
403: {
|
|
1065
|
+
headers: {
|
|
1066
|
+
[name: string]: unknown;
|
|
1067
|
+
};
|
|
1068
|
+
content?: never;
|
|
1069
|
+
};
|
|
1070
|
+
};
|
|
1071
|
+
};
|
|
1072
|
+
runtimeWorkflowRunsGet: {
|
|
1073
|
+
parameters: {
|
|
1074
|
+
query?: never;
|
|
1075
|
+
header?: never;
|
|
1076
|
+
path: {
|
|
1077
|
+
runId: string;
|
|
1078
|
+
};
|
|
1079
|
+
cookie?: never;
|
|
1080
|
+
};
|
|
1081
|
+
requestBody?: never;
|
|
1082
|
+
responses: {
|
|
1083
|
+
200: {
|
|
1084
|
+
headers: {
|
|
1085
|
+
[name: string]: unknown;
|
|
1086
|
+
};
|
|
1087
|
+
content: {
|
|
1088
|
+
"application/json": components["schemas"]["WorkflowRun"];
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
/** @description Invalid runtime token */
|
|
1092
|
+
401: {
|
|
1093
|
+
headers: {
|
|
1094
|
+
[name: string]: unknown;
|
|
1095
|
+
};
|
|
1096
|
+
content?: never;
|
|
1097
|
+
};
|
|
1098
|
+
/** @description Missing runtime capability */
|
|
1099
|
+
403: {
|
|
1100
|
+
headers: {
|
|
1101
|
+
[name: string]: unknown;
|
|
1102
|
+
};
|
|
1103
|
+
content?: never;
|
|
1104
|
+
};
|
|
1105
|
+
};
|
|
1106
|
+
};
|
|
1107
|
+
runtimeWorkflowRunsListSteps: {
|
|
1108
|
+
parameters: {
|
|
1109
|
+
query?: never;
|
|
1110
|
+
header?: never;
|
|
1111
|
+
path: {
|
|
1112
|
+
runId: string;
|
|
1113
|
+
};
|
|
1114
|
+
cookie?: never;
|
|
1115
|
+
};
|
|
1116
|
+
requestBody?: never;
|
|
1117
|
+
responses: {
|
|
1118
|
+
200: {
|
|
1119
|
+
headers: {
|
|
1120
|
+
[name: string]: unknown;
|
|
1121
|
+
};
|
|
1122
|
+
content: {
|
|
1123
|
+
"application/json": components["schemas"]["StepRun"][];
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
/** @description Invalid runtime token */
|
|
1127
|
+
401: {
|
|
1128
|
+
headers: {
|
|
1129
|
+
[name: string]: unknown;
|
|
1130
|
+
};
|
|
1131
|
+
content?: never;
|
|
1132
|
+
};
|
|
1133
|
+
/** @description Missing runtime capability */
|
|
1134
|
+
403: {
|
|
1135
|
+
headers: {
|
|
1136
|
+
[name: string]: unknown;
|
|
1137
|
+
};
|
|
1138
|
+
content?: never;
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
runtimeAppAuthVerifySession: {
|
|
1143
|
+
parameters: {
|
|
1144
|
+
query?: never;
|
|
1145
|
+
header?: never;
|
|
1146
|
+
path?: never;
|
|
1147
|
+
cookie?: never;
|
|
1148
|
+
};
|
|
1149
|
+
requestBody: {
|
|
1150
|
+
content: {
|
|
1151
|
+
"application/json": components["schemas"]["RuntimeAppAuthSessionVerifyDto"];
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1154
|
+
responses: {
|
|
1155
|
+
200: {
|
|
1156
|
+
headers: {
|
|
1157
|
+
[name: string]: unknown;
|
|
1158
|
+
};
|
|
1159
|
+
content: {
|
|
1160
|
+
"application/json": components["schemas"]["RuntimeAppAuthSessionVerifyResponseDto"];
|
|
1161
|
+
};
|
|
1162
|
+
};
|
|
1163
|
+
/** @description Invalid app session */
|
|
1164
|
+
401: {
|
|
1165
|
+
headers: {
|
|
1166
|
+
[name: string]: unknown;
|
|
1167
|
+
};
|
|
1168
|
+
content?: never;
|
|
1169
|
+
};
|
|
1170
|
+
/** @description Missing capability or scope */
|
|
1171
|
+
403: {
|
|
1172
|
+
headers: {
|
|
1173
|
+
[name: string]: unknown;
|
|
1174
|
+
};
|
|
1175
|
+
content?: never;
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
};
|
|
1179
|
+
runtimeAppAuthGetUser: {
|
|
1180
|
+
parameters: {
|
|
1181
|
+
query?: never;
|
|
1182
|
+
header?: never;
|
|
1183
|
+
path: {
|
|
1184
|
+
userId: string;
|
|
1185
|
+
};
|
|
1186
|
+
cookie?: never;
|
|
1187
|
+
};
|
|
1188
|
+
requestBody?: never;
|
|
1189
|
+
responses: {
|
|
1190
|
+
200: {
|
|
1191
|
+
headers: {
|
|
1192
|
+
[name: string]: unknown;
|
|
1193
|
+
};
|
|
1194
|
+
content: {
|
|
1195
|
+
"application/json": components["schemas"]["RuntimeAppAuthUserResponseDto"];
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
/** @description Invalid runtime token */
|
|
1199
|
+
401: {
|
|
1200
|
+
headers: {
|
|
1201
|
+
[name: string]: unknown;
|
|
1202
|
+
};
|
|
1203
|
+
content?: never;
|
|
1204
|
+
};
|
|
1205
|
+
/** @description Missing capability or scope */
|
|
1206
|
+
403: {
|
|
1207
|
+
headers: {
|
|
1208
|
+
[name: string]: unknown;
|
|
1209
|
+
};
|
|
1210
|
+
content?: never;
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
}
|