@orchestration-ai/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.
Files changed (132) hide show
  1. package/README.md +316 -0
  2. package/dist/cjs/client/client.gen.d.ts +3 -0
  3. package/dist/cjs/client/client.gen.d.ts.map +1 -0
  4. package/dist/cjs/client/client.gen.js +143 -0
  5. package/dist/cjs/client/client.gen.js.map +1 -0
  6. package/dist/cjs/client/index.d.ts +9 -0
  7. package/dist/cjs/client/index.d.ts.map +1 -0
  8. package/dist/cjs/client/index.js +17 -0
  9. package/dist/cjs/client/index.js.map +1 -0
  10. package/dist/cjs/client/types.gen.d.ts +88 -0
  11. package/dist/cjs/client/types.gen.d.ts.map +1 -0
  12. package/dist/cjs/client/types.gen.js +4 -0
  13. package/dist/cjs/client/types.gen.js.map +1 -0
  14. package/dist/cjs/client/utils.gen.d.ts +15 -0
  15. package/dist/cjs/client/utils.gen.d.ts.map +1 -0
  16. package/dist/cjs/client/utils.gen.js +182 -0
  17. package/dist/cjs/client/utils.gen.js.map +1 -0
  18. package/dist/cjs/client.gen.d.ts +13 -0
  19. package/dist/cjs/client.gen.d.ts.map +1 -0
  20. package/dist/cjs/client.gen.js +7 -0
  21. package/dist/cjs/client.gen.js.map +1 -0
  22. package/dist/cjs/core/auth.gen.d.ts +19 -0
  23. package/dist/cjs/core/auth.gen.d.ts.map +1 -0
  24. package/dist/cjs/core/auth.gen.js +19 -0
  25. package/dist/cjs/core/auth.gen.js.map +1 -0
  26. package/dist/cjs/core/bodySerializer.gen.d.ts +26 -0
  27. package/dist/cjs/core/bodySerializer.gen.d.ts.map +1 -0
  28. package/dist/cjs/core/bodySerializer.gen.js +61 -0
  29. package/dist/cjs/core/bodySerializer.gen.js.map +1 -0
  30. package/dist/cjs/core/params.gen.d.ts +44 -0
  31. package/dist/cjs/core/params.gen.d.ts.map +1 -0
  32. package/dist/cjs/core/params.gen.js +105 -0
  33. package/dist/cjs/core/params.gen.js.map +1 -0
  34. package/dist/cjs/core/pathSerializer.gen.d.ts +34 -0
  35. package/dist/cjs/core/pathSerializer.gen.d.ts.map +1 -0
  36. package/dist/cjs/core/pathSerializer.gen.js +116 -0
  37. package/dist/cjs/core/pathSerializer.gen.js.map +1 -0
  38. package/dist/cjs/core/queryKeySerializer.gen.d.ts +19 -0
  39. package/dist/cjs/core/queryKeySerializer.gen.d.ts.map +1 -0
  40. package/dist/cjs/core/queryKeySerializer.gen.js +99 -0
  41. package/dist/cjs/core/queryKeySerializer.gen.js.map +1 -0
  42. package/dist/cjs/core/serverSentEvents.gen.d.ts +72 -0
  43. package/dist/cjs/core/serverSentEvents.gen.d.ts.map +1 -0
  44. package/dist/cjs/core/serverSentEvents.gen.js +137 -0
  45. package/dist/cjs/core/serverSentEvents.gen.js.map +1 -0
  46. package/dist/cjs/core/types.gen.d.ts +79 -0
  47. package/dist/cjs/core/types.gen.d.ts.map +1 -0
  48. package/dist/cjs/core/types.gen.js +4 -0
  49. package/dist/cjs/core/types.gen.js.map +1 -0
  50. package/dist/cjs/core/utils.gen.d.ts +20 -0
  51. package/dist/cjs/core/utils.gen.d.ts.map +1 -0
  52. package/dist/cjs/core/utils.gen.js +94 -0
  53. package/dist/cjs/core/utils.gen.js.map +1 -0
  54. package/dist/cjs/index.d.ts +3 -0
  55. package/dist/cjs/index.d.ts.map +1 -0
  56. package/dist/cjs/index.js +72 -0
  57. package/dist/cjs/index.js.map +1 -0
  58. package/dist/cjs/package.json +1 -0
  59. package/dist/cjs/sdk.gen.d.ts +81 -0
  60. package/dist/cjs/sdk.gen.d.ts.map +1 -0
  61. package/dist/cjs/sdk.gen.js +752 -0
  62. package/dist/cjs/sdk.gen.js.map +1 -0
  63. package/dist/cjs/types.gen.d.ts +3653 -0
  64. package/dist/cjs/types.gen.d.ts.map +1 -0
  65. package/dist/cjs/types.gen.js +4 -0
  66. package/dist/cjs/types.gen.js.map +1 -0
  67. package/dist/esm/client/client.gen.d.ts +3 -0
  68. package/dist/esm/client/client.gen.d.ts.map +1 -0
  69. package/dist/esm/client/client.gen.js +136 -0
  70. package/dist/esm/client/client.gen.js.map +1 -0
  71. package/dist/esm/client/index.d.ts +9 -0
  72. package/dist/esm/client/index.d.ts.map +1 -0
  73. package/dist/esm/client/index.js +7 -0
  74. package/dist/esm/client/index.js.map +1 -0
  75. package/dist/esm/client/types.gen.d.ts +88 -0
  76. package/dist/esm/client/types.gen.d.ts.map +1 -0
  77. package/dist/esm/client/types.gen.js +3 -0
  78. package/dist/esm/client/types.gen.js.map +1 -0
  79. package/dist/esm/client/utils.gen.d.ts +15 -0
  80. package/dist/esm/client/utils.gen.d.ts.map +1 -0
  81. package/dist/esm/client/utils.gen.js +173 -0
  82. package/dist/esm/client/utils.gen.js.map +1 -0
  83. package/dist/esm/client.gen.d.ts +13 -0
  84. package/dist/esm/client.gen.d.ts.map +1 -0
  85. package/dist/esm/client.gen.js +4 -0
  86. package/dist/esm/client.gen.js.map +1 -0
  87. package/dist/esm/core/auth.gen.d.ts +19 -0
  88. package/dist/esm/core/auth.gen.d.ts.map +1 -0
  89. package/dist/esm/core/auth.gen.js +15 -0
  90. package/dist/esm/core/auth.gen.js.map +1 -0
  91. package/dist/esm/core/bodySerializer.gen.d.ts +26 -0
  92. package/dist/esm/core/bodySerializer.gen.d.ts.map +1 -0
  93. package/dist/esm/core/bodySerializer.gen.js +58 -0
  94. package/dist/esm/core/bodySerializer.gen.js.map +1 -0
  95. package/dist/esm/core/params.gen.d.ts +44 -0
  96. package/dist/esm/core/params.gen.d.ts.map +1 -0
  97. package/dist/esm/core/params.gen.js +101 -0
  98. package/dist/esm/core/params.gen.js.map +1 -0
  99. package/dist/esm/core/pathSerializer.gen.d.ts +34 -0
  100. package/dist/esm/core/pathSerializer.gen.d.ts.map +1 -0
  101. package/dist/esm/core/pathSerializer.gen.js +107 -0
  102. package/dist/esm/core/pathSerializer.gen.js.map +1 -0
  103. package/dist/esm/core/queryKeySerializer.gen.d.ts +19 -0
  104. package/dist/esm/core/queryKeySerializer.gen.d.ts.map +1 -0
  105. package/dist/esm/core/queryKeySerializer.gen.js +93 -0
  106. package/dist/esm/core/queryKeySerializer.gen.js.map +1 -0
  107. package/dist/esm/core/serverSentEvents.gen.d.ts +72 -0
  108. package/dist/esm/core/serverSentEvents.gen.d.ts.map +1 -0
  109. package/dist/esm/core/serverSentEvents.gen.js +134 -0
  110. package/dist/esm/core/serverSentEvents.gen.js.map +1 -0
  111. package/dist/esm/core/types.gen.d.ts +79 -0
  112. package/dist/esm/core/types.gen.d.ts.map +1 -0
  113. package/dist/esm/core/types.gen.js +3 -0
  114. package/dist/esm/core/types.gen.js.map +1 -0
  115. package/dist/esm/core/utils.gen.d.ts +20 -0
  116. package/dist/esm/core/utils.gen.d.ts.map +1 -0
  117. package/dist/esm/core/utils.gen.js +88 -0
  118. package/dist/esm/core/utils.gen.js.map +1 -0
  119. package/dist/esm/index.d.ts +3 -0
  120. package/dist/esm/index.d.ts.map +1 -0
  121. package/dist/esm/index.js +3 -0
  122. package/dist/esm/index.js.map +1 -0
  123. package/dist/esm/package.json +1 -0
  124. package/dist/esm/sdk.gen.d.ts +81 -0
  125. package/dist/esm/sdk.gen.d.ts.map +1 -0
  126. package/dist/esm/sdk.gen.js +683 -0
  127. package/dist/esm/sdk.gen.js.map +1 -0
  128. package/dist/esm/types.gen.d.ts +3653 -0
  129. package/dist/esm/types.gen.d.ts.map +1 -0
  130. package/dist/esm/types.gen.js +3 -0
  131. package/dist/esm/types.gen.js.map +1 -0
  132. package/package.json +56 -0
@@ -0,0 +1,3653 @@
1
+ export type ClientOptions = {
2
+ baseURL: 'https://api-dot-orchestration-ai-online-qa.ew.r.appspot.com' | (string & {});
3
+ };
4
+ /**
5
+ * User
6
+ */
7
+ export type User = {
8
+ uid?: string;
9
+ display_name: string;
10
+ email: string;
11
+ photo_url?: string;
12
+ created_time?: string;
13
+ };
14
+ /**
15
+ * Workspace
16
+ */
17
+ export type Workspace = {
18
+ id?: string;
19
+ workspace_name: string;
20
+ owner: User;
21
+ time_created?: string;
22
+ last_edited?: string;
23
+ };
24
+ /**
25
+ * NewWorkspace
26
+ *
27
+ * (tsType: Omit<Workspace, 'id' | 'time_created' | 'last_edited' | 'owner'>, schemaOptions: { title: 'NewWorkspace', exclude: [ 'id', 'time_created', 'last_edited', 'owner' ] })
28
+ */
29
+ export type NewWorkspace = {
30
+ workspace_name: string;
31
+ };
32
+ /**
33
+ * WorkspaceWithRelations
34
+ *
35
+ * (tsType: WorkspaceWithRelations, schemaOptions: { includeRelations: true })
36
+ */
37
+ export type WorkspaceWithRelations = {
38
+ id?: string;
39
+ workspace_name: string;
40
+ owner: User;
41
+ time_created?: string;
42
+ last_edited?: string;
43
+ };
44
+ /**
45
+ * WorkspacePartialExcluding_id-owner-time_created-last_edited_
46
+ *
47
+ * (tsType: Omit<Partial<Workspace>, 'id' | 'owner' | 'time_created' | 'last_edited'>, schemaOptions: { partial: true, exclude: [ 'id', 'owner', 'time_created', 'last_edited' ] })
48
+ */
49
+ export type WorkspacePartialExcludingIdOwnerTimeCreatedLastEdited = {
50
+ workspace_name?: string;
51
+ };
52
+ /**
53
+ * UserWithRelations
54
+ *
55
+ * (tsType: UserWithRelations, schemaOptions: { includeRelations: true })
56
+ */
57
+ export type UserWithRelations = {
58
+ uid?: string;
59
+ display_name: string;
60
+ email: string;
61
+ photo_url?: string;
62
+ created_time?: string;
63
+ };
64
+ /**
65
+ * Orchestration
66
+ */
67
+ export type Orchestration = {
68
+ id?: string;
69
+ orchestration_name: string;
70
+ orchestration_description: string;
71
+ workspace: Workspace;
72
+ };
73
+ /**
74
+ * Agent
75
+ */
76
+ export type Agent = {
77
+ id?: string;
78
+ agent_name: string;
79
+ agent_description: string;
80
+ orchestration?: Orchestration;
81
+ };
82
+ /**
83
+ * Application
84
+ */
85
+ export type Application = {
86
+ id?: string;
87
+ access_key: string;
88
+ application_description_md: string;
89
+ application_name: string;
90
+ application_url: string;
91
+ last_edited: string;
92
+ owner?: User;
93
+ private: boolean;
94
+ time_created: string;
95
+ visible: boolean;
96
+ };
97
+ /**
98
+ * Setting
99
+ */
100
+ export type Setting = {
101
+ id?: string;
102
+ agent?: Agent;
103
+ application?: Application;
104
+ boolean_value: boolean;
105
+ setting_description: string;
106
+ setting_name: string;
107
+ setting_type: string;
108
+ text_value: string;
109
+ };
110
+ /**
111
+ * NewSetting
112
+ *
113
+ * (tsType: Omit<Setting, 'id' | 'agent' | 'application'>, schemaOptions: { title: 'NewSetting', exclude: [ 'id', 'agent', 'application' ] })
114
+ */
115
+ export type NewSetting = {
116
+ boolean_value: boolean;
117
+ setting_description: string;
118
+ setting_name: string;
119
+ setting_type: string;
120
+ text_value: string;
121
+ };
122
+ /**
123
+ * SettingWithRelations
124
+ *
125
+ * (tsType: SettingWithRelations, schemaOptions: { includeRelations: true })
126
+ */
127
+ export type SettingWithRelations = {
128
+ id?: string;
129
+ agent?: Agent;
130
+ application?: Application;
131
+ boolean_value: boolean;
132
+ setting_description: string;
133
+ setting_name: string;
134
+ setting_type: string;
135
+ text_value: string;
136
+ };
137
+ /**
138
+ * SettingPartialExcluding_id-agent-application_
139
+ *
140
+ * (tsType: Omit<Partial<Setting>, 'id' | 'agent' | 'application'>, schemaOptions: { partial: true, exclude: [ 'id', 'agent', 'application' ] })
141
+ */
142
+ export type SettingPartialExcludingIdAgentApplication = {
143
+ boolean_value?: boolean;
144
+ setting_description?: string;
145
+ setting_name?: string;
146
+ setting_type?: string;
147
+ text_value?: string;
148
+ };
149
+ /**
150
+ * ServiceWithRelations
151
+ *
152
+ * (tsType: ServiceWithRelations, schemaOptions: { includeRelations: true })
153
+ */
154
+ export type ServiceWithRelations = {
155
+ id?: string;
156
+ application?: Application;
157
+ created_at: string;
158
+ doc_id: string;
159
+ owner?: User;
160
+ private: boolean;
161
+ service_description: string;
162
+ service_name: string;
163
+ unique_name: string;
164
+ visible?: boolean;
165
+ };
166
+ /**
167
+ * NewOrchestration
168
+ *
169
+ * (tsType: Omit<Orchestration, 'id' | 'workspace'>, schemaOptions: { title: 'NewOrchestration', exclude: [ 'id', 'workspace' ] })
170
+ */
171
+ export type NewOrchestration = {
172
+ orchestration_name: string;
173
+ orchestration_description: string;
174
+ };
175
+ /**
176
+ * OrchestrationWithRelations
177
+ *
178
+ * (tsType: OrchestrationWithRelations, schemaOptions: { includeRelations: true })
179
+ */
180
+ export type OrchestrationWithRelations = {
181
+ id?: string;
182
+ orchestration_name: string;
183
+ orchestration_description: string;
184
+ workspace: Workspace;
185
+ };
186
+ /**
187
+ * OrchestrationPartialExcluding_id-workspace_
188
+ *
189
+ * (tsType: Omit<Partial<Orchestration>, 'id' | 'workspace'>, schemaOptions: { partial: true, exclude: [ 'id', 'workspace' ] })
190
+ */
191
+ export type OrchestrationPartialExcludingIdWorkspace = {
192
+ orchestration_name?: string;
193
+ orchestration_description?: string;
194
+ };
195
+ /**
196
+ * LlmKeys
197
+ */
198
+ export type LlmKeys = {
199
+ id?: string;
200
+ client_id: string;
201
+ client_secret: string;
202
+ owner?: User;
203
+ provider: 'Google' | 'OpenAI' | 'Anthropic';
204
+ };
205
+ /**
206
+ * LlmWithRelations
207
+ *
208
+ * (tsType: LlmWithRelations, schemaOptions: { includeRelations: true })
209
+ */
210
+ export type LlmWithRelations = {
211
+ id?: string;
212
+ llm_keys?: LlmKeys;
213
+ llm_name: string;
214
+ owner?: User;
215
+ provider_llm_id: string;
216
+ };
217
+ /**
218
+ * LlmKeysExcluding_client_secret_
219
+ *
220
+ * (tsType: Omit<LlmKeys, 'client_secret'>, schemaOptions: { exclude: [ 'client_secret' ] })
221
+ */
222
+ export type LlmKeysExcludingClientSecret = {
223
+ id?: string;
224
+ client_id: string;
225
+ owner?: User;
226
+ provider: 'Google' | 'OpenAI' | 'Anthropic';
227
+ };
228
+ /**
229
+ * NewLlmKeys
230
+ *
231
+ * (tsType: Omit<LlmKeys, 'id' | 'owner'>, schemaOptions: { title: 'NewLlmKeys', exclude: [ 'id', 'owner' ] })
232
+ */
233
+ export type NewLlmKeys = {
234
+ client_id: string;
235
+ client_secret: string;
236
+ provider: 'Google' | 'OpenAI' | 'Anthropic';
237
+ };
238
+ /**
239
+ * LlmKeysExcluding_client_secret_WithRelations
240
+ *
241
+ * (tsType: Omit<LlmKeysWithRelations, 'client_secret'>, schemaOptions: { includeRelations: true, exclude: [ 'client_secret' ] })
242
+ */
243
+ export type LlmKeysExcludingClientSecretWithRelations = {
244
+ id?: string;
245
+ client_id: string;
246
+ owner?: User;
247
+ provider: 'Google' | 'OpenAI' | 'Anthropic';
248
+ };
249
+ /**
250
+ * LlmKeysPartialExcluding_id-owner_
251
+ *
252
+ * (tsType: Omit<Partial<LlmKeys>, 'id' | 'owner'>, schemaOptions: { partial: true, exclude: [ 'id', 'owner' ] })
253
+ */
254
+ export type LlmKeysPartialExcludingIdOwner = {
255
+ client_id?: string;
256
+ client_secret?: string;
257
+ provider?: 'Google' | 'OpenAI' | 'Anthropic';
258
+ };
259
+ /**
260
+ * Link
261
+ */
262
+ export type Link = {
263
+ id?: string;
264
+ agent?: Agent;
265
+ link_description: string;
266
+ link_name: string;
267
+ link_url: string;
268
+ };
269
+ /**
270
+ * NewLink
271
+ *
272
+ * (tsType: Omit<Link, 'id' | 'agent'>, schemaOptions: { title: 'NewLink', exclude: [ 'id', 'agent' ] })
273
+ */
274
+ export type NewLink = {
275
+ link_description: string;
276
+ link_name: string;
277
+ link_url: string;
278
+ };
279
+ /**
280
+ * LinkWithRelations
281
+ *
282
+ * (tsType: LinkWithRelations, schemaOptions: { includeRelations: true })
283
+ */
284
+ export type LinkWithRelations = {
285
+ id?: string;
286
+ agent?: Agent;
287
+ link_description: string;
288
+ link_name: string;
289
+ link_url: string;
290
+ };
291
+ /**
292
+ * LinkPartialExcluding_id-agent_
293
+ *
294
+ * (tsType: Omit<Partial<Link>, 'id' | 'agent'>, schemaOptions: { partial: true, exclude: [ 'id', 'agent' ] })
295
+ */
296
+ export type LinkPartialExcludingIdAgent = {
297
+ link_description?: string;
298
+ link_name?: string;
299
+ link_url?: string;
300
+ };
301
+ /**
302
+ * Llm
303
+ */
304
+ export type Llm = {
305
+ id?: string;
306
+ llm_keys?: LlmKeys;
307
+ llm_name: string;
308
+ owner?: User;
309
+ provider_llm_id: string;
310
+ };
311
+ /**
312
+ * Service
313
+ */
314
+ export type Service = {
315
+ id?: string;
316
+ application?: Application;
317
+ created_at: string;
318
+ doc_id: string;
319
+ owner?: User;
320
+ private: boolean;
321
+ service_description: string;
322
+ service_name: string;
323
+ unique_name: string;
324
+ visible?: boolean;
325
+ };
326
+ /**
327
+ * Layer
328
+ */
329
+ export type Layer = {
330
+ id?: string;
331
+ agent?: Agent;
332
+ context_md?: string;
333
+ created_at: string;
334
+ layer_name: string;
335
+ llm?: Llm;
336
+ services?: Array<Service>;
337
+ };
338
+ /**
339
+ * LayerWithRelations
340
+ *
341
+ * (tsType: LayerWithRelations, schemaOptions: { includeRelations: true })
342
+ */
343
+ export type LayerWithRelations = {
344
+ id?: string;
345
+ agent?: Agent;
346
+ context_md?: string;
347
+ created_at: string;
348
+ layer_name: string;
349
+ llm?: Llm;
350
+ services?: Array<Service>;
351
+ };
352
+ /**
353
+ * Endpoint
354
+ */
355
+ export type Endpoint = {
356
+ id?: string;
357
+ agent?: Agent;
358
+ description: string;
359
+ endpoint: string;
360
+ };
361
+ /**
362
+ * NewEndpoint
363
+ *
364
+ * (tsType: Omit<Endpoint, 'id' | 'agent'>, schemaOptions: { title: 'NewEndpoint', exclude: [ 'id', 'agent' ] })
365
+ */
366
+ export type NewEndpoint = {
367
+ description: string;
368
+ endpoint: string;
369
+ };
370
+ /**
371
+ * EndpointWithRelations
372
+ *
373
+ * (tsType: EndpointWithRelations, schemaOptions: { includeRelations: true })
374
+ */
375
+ export type EndpointWithRelations = {
376
+ id?: string;
377
+ agent?: Agent;
378
+ description: string;
379
+ endpoint: string;
380
+ };
381
+ /**
382
+ * EndpointPartialExcluding_id-agent_
383
+ *
384
+ * (tsType: Omit<Partial<Endpoint>, 'id' | 'agent'>, schemaOptions: { partial: true, exclude: [ 'id', 'agent' ] })
385
+ */
386
+ export type EndpointPartialExcludingIdAgent = {
387
+ description?: string;
388
+ endpoint?: string;
389
+ };
390
+ /**
391
+ * DayPassTransactionWithRelations
392
+ *
393
+ * (tsType: DayPassTransactionWithRelations, schemaOptions: { includeRelations: true })
394
+ */
395
+ export type DayPassTransactionWithRelations = {
396
+ id?: string;
397
+ balance: number;
398
+ charge_reason?: string;
399
+ customer_email: string;
400
+ transaction_date: string;
401
+ };
402
+ /**
403
+ * NewApplication
404
+ *
405
+ * (tsType: Omit<Application, 'id' | 'owner' | 'time_created' | 'last_edited'>, schemaOptions: { title: 'NewApplication', exclude: [ 'id', 'owner', 'time_created', 'last_edited' ] })
406
+ */
407
+ export type NewApplication = {
408
+ access_key: string;
409
+ application_description_md: string;
410
+ application_name: string;
411
+ application_url: string;
412
+ private: boolean;
413
+ visible: boolean;
414
+ };
415
+ /**
416
+ * ApplicationWithRelations
417
+ *
418
+ * (tsType: ApplicationWithRelations, schemaOptions: { includeRelations: true })
419
+ */
420
+ export type ApplicationWithRelations = {
421
+ id?: string;
422
+ access_key: string;
423
+ application_description_md: string;
424
+ application_name: string;
425
+ application_url: string;
426
+ last_edited: string;
427
+ owner?: User;
428
+ private: boolean;
429
+ time_created: string;
430
+ visible: boolean;
431
+ };
432
+ /**
433
+ * ApplicationPartialExcluding_id-owner-time_created-last_edited_
434
+ *
435
+ * (tsType: Omit<Partial<Application>, 'id' | 'owner' | 'time_created' | 'last_edited'>, schemaOptions: { partial: true, exclude: [ 'id', 'owner', 'time_created', 'last_edited' ] })
436
+ */
437
+ export type ApplicationPartialExcludingIdOwnerTimeCreatedLastEdited = {
438
+ access_key?: string;
439
+ application_description_md?: string;
440
+ application_name?: string;
441
+ application_url?: string;
442
+ private?: boolean;
443
+ visible?: boolean;
444
+ };
445
+ /**
446
+ * ApplicationExcluding_access_key_WithRelations
447
+ *
448
+ * (tsType: Omit<ApplicationWithRelations, 'access_key'>, schemaOptions: { includeRelations: true, exclude: [ 'access_key' ] })
449
+ */
450
+ export type ApplicationExcludingAccessKeyWithRelations = {
451
+ id?: string;
452
+ application_description_md: string;
453
+ application_name: string;
454
+ application_url: string;
455
+ last_edited: string;
456
+ owner?: User;
457
+ private: boolean;
458
+ time_created: string;
459
+ visible: boolean;
460
+ };
461
+ /**
462
+ * NewAgent
463
+ *
464
+ * (tsType: Omit<Agent, 'id' | 'orchestration'>, schemaOptions: { title: 'NewAgent', exclude: [ 'id', 'orchestration' ] })
465
+ */
466
+ export type NewAgent = {
467
+ agent_name: string;
468
+ agent_description: string;
469
+ };
470
+ /**
471
+ * AgentWithRelations
472
+ *
473
+ * (tsType: AgentWithRelations, schemaOptions: { includeRelations: true })
474
+ */
475
+ export type AgentWithRelations = {
476
+ id?: string;
477
+ agent_name: string;
478
+ agent_description: string;
479
+ orchestration?: Orchestration;
480
+ };
481
+ /**
482
+ * AgentPartialExcluding_id-orchestration_
483
+ *
484
+ * (tsType: Omit<Partial<Agent>, 'id' | 'orchestration'>, schemaOptions: { partial: true, exclude: [ 'id', 'orchestration' ] })
485
+ */
486
+ export type AgentPartialExcludingIdOrchestration = {
487
+ agent_name?: string;
488
+ agent_description?: string;
489
+ };
490
+ /**
491
+ * Access
492
+ */
493
+ export type Access = {
494
+ id?: string;
495
+ resource_id?: string;
496
+ on_behalf_of?: User;
497
+ principal_id: string;
498
+ principal_name: string;
499
+ principal_email: string;
500
+ role: string;
501
+ };
502
+ /**
503
+ * NewAccess
504
+ *
505
+ * (tsType: Omit<Access, 'id' | 'on_behalf_of'>, schemaOptions: { title: 'NewAccess', exclude: [ 'id', 'on_behalf_of' ] })
506
+ */
507
+ export type NewAccess = {
508
+ resource_id?: string;
509
+ principal_id: string;
510
+ principal_name: string;
511
+ principal_email: string;
512
+ role: string;
513
+ };
514
+ /**
515
+ * AccessWithRelations
516
+ *
517
+ * (tsType: AccessWithRelations, schemaOptions: { includeRelations: true })
518
+ */
519
+ export type AccessWithRelations = {
520
+ id?: string;
521
+ resource_id?: string;
522
+ on_behalf_of?: User;
523
+ principal_id: string;
524
+ principal_name: string;
525
+ principal_email: string;
526
+ role: string;
527
+ };
528
+ /**
529
+ * PingResponse
530
+ */
531
+ export type PingResponse = {
532
+ greeting?: string;
533
+ date?: string;
534
+ url?: string;
535
+ headers?: {
536
+ 'Content-Type'?: string;
537
+ [key: string]: unknown;
538
+ };
539
+ };
540
+ export type AccessFindByPrincipalData = {
541
+ body?: never;
542
+ path?: never;
543
+ query?: {
544
+ resourceId?: string;
545
+ limit?: number;
546
+ offset?: number;
547
+ };
548
+ url: '/access/principal';
549
+ };
550
+ export type AccessFindByPrincipalErrors = {
551
+ /**
552
+ * Unauthorized - Authentication required
553
+ */
554
+ 401: {
555
+ error?: {
556
+ statusCode?: number;
557
+ name?: string;
558
+ message?: string;
559
+ };
560
+ };
561
+ /**
562
+ * Forbidden - Access denied
563
+ */
564
+ 403: {
565
+ error?: {
566
+ statusCode?: number;
567
+ name?: string;
568
+ message?: string;
569
+ };
570
+ };
571
+ };
572
+ export type AccessFindByPrincipalError = AccessFindByPrincipalErrors[keyof AccessFindByPrincipalErrors];
573
+ export type AccessFindByPrincipalResponses = {
574
+ /**
575
+ * Array of Access model instances for principal with pagination
576
+ */
577
+ 200: {
578
+ access?: Array<AccessWithRelations>;
579
+ total?: number;
580
+ limit?: number;
581
+ offset?: number;
582
+ };
583
+ };
584
+ export type AccessFindByPrincipalResponse = AccessFindByPrincipalResponses[keyof AccessFindByPrincipalResponses];
585
+ export type AccessDeleteByIdData = {
586
+ body?: never;
587
+ path: {
588
+ id: string;
589
+ };
590
+ query?: never;
591
+ url: '/access/{id}';
592
+ };
593
+ export type AccessDeleteByIdErrors = {
594
+ /**
595
+ * Unauthorized - Authentication required
596
+ */
597
+ 401: {
598
+ error?: {
599
+ statusCode?: number;
600
+ name?: string;
601
+ message?: string;
602
+ };
603
+ };
604
+ /**
605
+ * Forbidden - Access denied
606
+ */
607
+ 403: {
608
+ error?: {
609
+ statusCode?: number;
610
+ name?: string;
611
+ message?: string;
612
+ };
613
+ };
614
+ /**
615
+ * Not Found - Access not found
616
+ */
617
+ 404: {
618
+ error?: {
619
+ statusCode?: number;
620
+ name?: string;
621
+ message?: string;
622
+ };
623
+ };
624
+ /**
625
+ * Unprocessable Entity - Cannot remove owner access
626
+ */
627
+ 422: {
628
+ error?: {
629
+ statusCode?: number;
630
+ name?: string;
631
+ message?: string;
632
+ };
633
+ };
634
+ };
635
+ export type AccessDeleteByIdError = AccessDeleteByIdErrors[keyof AccessDeleteByIdErrors];
636
+ export type AccessDeleteByIdResponses = {
637
+ /**
638
+ * Access DELETE success
639
+ */
640
+ 204: unknown;
641
+ };
642
+ export type AccessFindByIdData = {
643
+ body?: never;
644
+ path: {
645
+ id: string;
646
+ };
647
+ query?: never;
648
+ url: '/access/{id}';
649
+ };
650
+ export type AccessFindByIdErrors = {
651
+ /**
652
+ * Unauthorized - Authentication required
653
+ */
654
+ 401: {
655
+ error?: {
656
+ statusCode?: number;
657
+ name?: string;
658
+ message?: string;
659
+ };
660
+ };
661
+ /**
662
+ * Forbidden - Access denied
663
+ */
664
+ 403: {
665
+ error?: {
666
+ statusCode?: number;
667
+ name?: string;
668
+ message?: string;
669
+ };
670
+ };
671
+ /**
672
+ * Not Found - Access not found
673
+ */
674
+ 404: {
675
+ error?: {
676
+ statusCode?: number;
677
+ name?: string;
678
+ message?: string;
679
+ };
680
+ };
681
+ };
682
+ export type AccessFindByIdError = AccessFindByIdErrors[keyof AccessFindByIdErrors];
683
+ export type AccessFindByIdResponses = {
684
+ /**
685
+ * Access model instance
686
+ */
687
+ 200: AccessWithRelations;
688
+ };
689
+ export type AccessFindByIdResponse = AccessFindByIdResponses[keyof AccessFindByIdResponses];
690
+ export type AccessFindData = {
691
+ body?: never;
692
+ path?: never;
693
+ query?: {
694
+ resourceId?: string;
695
+ limit?: number;
696
+ offset?: number;
697
+ };
698
+ url: '/access';
699
+ };
700
+ export type AccessFindErrors = {
701
+ /**
702
+ * Unauthorized - Authentication required
703
+ */
704
+ 401: {
705
+ error?: {
706
+ statusCode?: number;
707
+ name?: string;
708
+ message?: string;
709
+ };
710
+ };
711
+ /**
712
+ * Forbidden - Access denied
713
+ */
714
+ 403: {
715
+ error?: {
716
+ statusCode?: number;
717
+ name?: string;
718
+ message?: string;
719
+ };
720
+ };
721
+ };
722
+ export type AccessFindError = AccessFindErrors[keyof AccessFindErrors];
723
+ export type AccessFindResponses = {
724
+ /**
725
+ * Array of Access model instances with pagination
726
+ */
727
+ 200: {
728
+ access?: Array<AccessWithRelations>;
729
+ total?: number;
730
+ limit?: number;
731
+ offset?: number;
732
+ };
733
+ };
734
+ export type AccessFindResponse = AccessFindResponses[keyof AccessFindResponses];
735
+ export type AccessCreateData = {
736
+ body?: NewAccess;
737
+ path?: never;
738
+ query?: never;
739
+ url: '/access';
740
+ };
741
+ export type AccessCreateErrors = {
742
+ /**
743
+ * Bad Request - Invalid input data
744
+ */
745
+ 400: {
746
+ error?: {
747
+ statusCode?: number;
748
+ name?: string;
749
+ message?: string;
750
+ };
751
+ };
752
+ /**
753
+ * Unauthorized - Authentication required
754
+ */
755
+ 401: {
756
+ error?: {
757
+ statusCode?: number;
758
+ name?: string;
759
+ message?: string;
760
+ };
761
+ };
762
+ /**
763
+ * Unprocessable Entity - Validation failed
764
+ */
765
+ 422: {
766
+ error?: {
767
+ statusCode?: number;
768
+ name?: string;
769
+ message?: string;
770
+ };
771
+ };
772
+ };
773
+ export type AccessCreateError = AccessCreateErrors[keyof AccessCreateErrors];
774
+ export type AccessCreateResponses = {
775
+ /**
776
+ * Access model instance
777
+ */
778
+ 200: Access;
779
+ };
780
+ export type AccessCreateResponse = AccessCreateResponses[keyof AccessCreateResponses];
781
+ export type ApplicationFindVisibleByIdData = {
782
+ body?: never;
783
+ path: {
784
+ id: string;
785
+ };
786
+ query?: never;
787
+ url: '/applications/visible/{id}';
788
+ };
789
+ export type ApplicationFindVisibleByIdErrors = {
790
+ /**
791
+ * Unauthorized - Authentication required
792
+ */
793
+ 401: {
794
+ error?: {
795
+ statusCode?: number;
796
+ name?: string;
797
+ message?: string;
798
+ };
799
+ };
800
+ /**
801
+ * Not Found - Application not found or not visible
802
+ */
803
+ 404: {
804
+ error?: {
805
+ statusCode?: number;
806
+ name?: string;
807
+ message?: string;
808
+ };
809
+ };
810
+ };
811
+ export type ApplicationFindVisibleByIdError = ApplicationFindVisibleByIdErrors[keyof ApplicationFindVisibleByIdErrors];
812
+ export type ApplicationFindVisibleByIdResponses = {
813
+ /**
814
+ * Visible Application model instance
815
+ */
816
+ 200: ApplicationExcludingAccessKeyWithRelations;
817
+ };
818
+ export type ApplicationFindVisibleByIdResponse = ApplicationFindVisibleByIdResponses[keyof ApplicationFindVisibleByIdResponses];
819
+ export type ApplicationFindVisibleData = {
820
+ body?: never;
821
+ path?: never;
822
+ query?: {
823
+ limit?: number;
824
+ offset?: number;
825
+ };
826
+ url: '/applications/visible';
827
+ };
828
+ export type ApplicationFindVisibleErrors = {
829
+ /**
830
+ * Unauthorized - Authentication required
831
+ */
832
+ 401: {
833
+ error?: {
834
+ statusCode?: number;
835
+ name?: string;
836
+ message?: string;
837
+ };
838
+ };
839
+ };
840
+ export type ApplicationFindVisibleError = ApplicationFindVisibleErrors[keyof ApplicationFindVisibleErrors];
841
+ export type ApplicationFindVisibleResponses = {
842
+ /**
843
+ * Array of visible Application model instances with pagination
844
+ */
845
+ 200: {
846
+ applications?: Array<ApplicationExcludingAccessKeyWithRelations>;
847
+ total?: number;
848
+ limit?: number;
849
+ offset?: number;
850
+ };
851
+ };
852
+ export type ApplicationFindVisibleResponse = ApplicationFindVisibleResponses[keyof ApplicationFindVisibleResponses];
853
+ export type ApplicationDeleteByIdData = {
854
+ body?: never;
855
+ path: {
856
+ id: string;
857
+ };
858
+ query?: never;
859
+ url: '/applications/{id}';
860
+ };
861
+ export type ApplicationDeleteByIdErrors = {
862
+ /**
863
+ * Unauthorized - Authentication required
864
+ */
865
+ 401: {
866
+ error?: {
867
+ statusCode?: number;
868
+ name?: string;
869
+ message?: string;
870
+ };
871
+ };
872
+ /**
873
+ * Forbidden - Access denied
874
+ */
875
+ 403: {
876
+ error?: {
877
+ statusCode?: number;
878
+ name?: string;
879
+ message?: string;
880
+ };
881
+ };
882
+ /**
883
+ * Not Found - Application not found
884
+ */
885
+ 404: {
886
+ error?: {
887
+ statusCode?: number;
888
+ name?: string;
889
+ message?: string;
890
+ };
891
+ };
892
+ };
893
+ export type ApplicationDeleteByIdError = ApplicationDeleteByIdErrors[keyof ApplicationDeleteByIdErrors];
894
+ export type ApplicationDeleteByIdResponses = {
895
+ /**
896
+ * Application DELETE success
897
+ */
898
+ 204: unknown;
899
+ };
900
+ export type ApplicationFindByIdData = {
901
+ body?: never;
902
+ path: {
903
+ id: string;
904
+ };
905
+ query?: never;
906
+ url: '/applications/{id}';
907
+ };
908
+ export type ApplicationFindByIdErrors = {
909
+ /**
910
+ * Unauthorized - Authentication required
911
+ */
912
+ 401: {
913
+ error?: {
914
+ statusCode?: number;
915
+ name?: string;
916
+ message?: string;
917
+ };
918
+ };
919
+ /**
920
+ * Forbidden - Access denied
921
+ */
922
+ 403: {
923
+ error?: {
924
+ statusCode?: number;
925
+ name?: string;
926
+ message?: string;
927
+ };
928
+ };
929
+ /**
930
+ * Not Found - Application not found
931
+ */
932
+ 404: {
933
+ error?: {
934
+ statusCode?: number;
935
+ name?: string;
936
+ message?: string;
937
+ };
938
+ };
939
+ };
940
+ export type ApplicationFindByIdError = ApplicationFindByIdErrors[keyof ApplicationFindByIdErrors];
941
+ export type ApplicationFindByIdResponses = {
942
+ /**
943
+ * Application model instance
944
+ */
945
+ 200: ApplicationWithRelations;
946
+ };
947
+ export type ApplicationFindByIdResponse = ApplicationFindByIdResponses[keyof ApplicationFindByIdResponses];
948
+ export type ApplicationUpdateByIdData = {
949
+ body?: ApplicationPartialExcludingIdOwnerTimeCreatedLastEdited;
950
+ path: {
951
+ id: string;
952
+ };
953
+ query?: never;
954
+ url: '/applications/{id}';
955
+ };
956
+ export type ApplicationUpdateByIdErrors = {
957
+ /**
958
+ * Bad Request - Invalid input data
959
+ */
960
+ 400: {
961
+ error?: {
962
+ statusCode?: number;
963
+ name?: string;
964
+ message?: string;
965
+ };
966
+ };
967
+ /**
968
+ * Unauthorized - Authentication required
969
+ */
970
+ 401: {
971
+ error?: {
972
+ statusCode?: number;
973
+ name?: string;
974
+ message?: string;
975
+ };
976
+ };
977
+ /**
978
+ * Forbidden - Access denied
979
+ */
980
+ 403: {
981
+ error?: {
982
+ statusCode?: number;
983
+ name?: string;
984
+ message?: string;
985
+ };
986
+ };
987
+ /**
988
+ * Not Found - Application not found
989
+ */
990
+ 404: {
991
+ error?: {
992
+ statusCode?: number;
993
+ name?: string;
994
+ message?: string;
995
+ };
996
+ };
997
+ /**
998
+ * Unprocessable Entity - Validation failed
999
+ */
1000
+ 422: {
1001
+ error?: {
1002
+ statusCode?: number;
1003
+ name?: string;
1004
+ message?: string;
1005
+ };
1006
+ };
1007
+ };
1008
+ export type ApplicationUpdateByIdError = ApplicationUpdateByIdErrors[keyof ApplicationUpdateByIdErrors];
1009
+ export type ApplicationUpdateByIdResponses = {
1010
+ /**
1011
+ * Application PATCH success
1012
+ */
1013
+ 204: unknown;
1014
+ };
1015
+ export type ApplicationFindData = {
1016
+ body?: never;
1017
+ path?: never;
1018
+ query?: {
1019
+ limit?: number;
1020
+ offset?: number;
1021
+ };
1022
+ url: '/applications';
1023
+ };
1024
+ export type ApplicationFindErrors = {
1025
+ /**
1026
+ * Unauthorized - Authentication required
1027
+ */
1028
+ 401: {
1029
+ error?: {
1030
+ statusCode?: number;
1031
+ name?: string;
1032
+ message?: string;
1033
+ };
1034
+ };
1035
+ /**
1036
+ * Forbidden - Access denied
1037
+ */
1038
+ 403: {
1039
+ error?: {
1040
+ statusCode?: number;
1041
+ name?: string;
1042
+ message?: string;
1043
+ };
1044
+ };
1045
+ };
1046
+ export type ApplicationFindError = ApplicationFindErrors[keyof ApplicationFindErrors];
1047
+ export type ApplicationFindResponses = {
1048
+ /**
1049
+ * Array of Application model instances with pagination
1050
+ */
1051
+ 200: {
1052
+ applications?: Array<ApplicationWithRelations>;
1053
+ total?: number;
1054
+ limit?: number;
1055
+ offset?: number;
1056
+ };
1057
+ };
1058
+ export type ApplicationFindResponse = ApplicationFindResponses[keyof ApplicationFindResponses];
1059
+ export type ApplicationCreateData = {
1060
+ body?: NewApplication;
1061
+ path?: never;
1062
+ query?: never;
1063
+ url: '/applications';
1064
+ };
1065
+ export type ApplicationCreateErrors = {
1066
+ /**
1067
+ * Bad Request - Invalid input data
1068
+ */
1069
+ 400: {
1070
+ error?: {
1071
+ statusCode?: number;
1072
+ name?: string;
1073
+ message?: string;
1074
+ };
1075
+ };
1076
+ /**
1077
+ * Unauthorized - Authentication required
1078
+ */
1079
+ 401: {
1080
+ error?: {
1081
+ statusCode?: number;
1082
+ name?: string;
1083
+ message?: string;
1084
+ };
1085
+ };
1086
+ /**
1087
+ * Unprocessable Entity - Validation failed
1088
+ */
1089
+ 422: {
1090
+ error?: {
1091
+ statusCode?: number;
1092
+ name?: string;
1093
+ message?: string;
1094
+ };
1095
+ };
1096
+ };
1097
+ export type ApplicationCreateError = ApplicationCreateErrors[keyof ApplicationCreateErrors];
1098
+ export type ApplicationCreateResponses = {
1099
+ /**
1100
+ * Application model instance
1101
+ */
1102
+ 200: Application;
1103
+ };
1104
+ export type ApplicationCreateResponse = ApplicationCreateResponses[keyof ApplicationCreateResponses];
1105
+ export type AuthMintTokenData = {
1106
+ body?: never;
1107
+ path: {
1108
+ uid: string;
1109
+ };
1110
+ query?: never;
1111
+ url: '/auth/mint-token/{uid}';
1112
+ };
1113
+ export type AuthMintTokenErrors = {
1114
+ /**
1115
+ * Unprocessable Entity - UID not allowed for token minting
1116
+ */
1117
+ 422: string;
1118
+ };
1119
+ export type AuthMintTokenError = AuthMintTokenErrors[keyof AuthMintTokenErrors];
1120
+ export type AuthMintTokenResponses = {
1121
+ /**
1122
+ * Mint JWT token for testing. For internal testing only.
1123
+ */
1124
+ 200: string;
1125
+ };
1126
+ export type AuthMintTokenResponse = AuthMintTokenResponses[keyof AuthMintTokenResponses];
1127
+ export type DayPassTransactionFindData = {
1128
+ body?: never;
1129
+ path?: never;
1130
+ query?: {
1131
+ limit?: number;
1132
+ offset?: number;
1133
+ };
1134
+ url: '/day-pass-transactions';
1135
+ };
1136
+ export type DayPassTransactionFindErrors = {
1137
+ /**
1138
+ * Unauthorized - Authentication required
1139
+ */
1140
+ 401: {
1141
+ error?: {
1142
+ statusCode?: number;
1143
+ name?: string;
1144
+ message?: string;
1145
+ };
1146
+ };
1147
+ };
1148
+ export type DayPassTransactionFindError = DayPassTransactionFindErrors[keyof DayPassTransactionFindErrors];
1149
+ export type DayPassTransactionFindResponses = {
1150
+ /**
1151
+ * Array of DayPassTransaction model instances with pagination
1152
+ */
1153
+ 200: {
1154
+ dayPassTransactions?: Array<DayPassTransactionWithRelations>;
1155
+ total?: number;
1156
+ limit?: number;
1157
+ offset?: number;
1158
+ };
1159
+ };
1160
+ export type DayPassTransactionFindResponse = DayPassTransactionFindResponses[keyof DayPassTransactionFindResponses];
1161
+ export type LlmKeysFindByIdData = {
1162
+ body?: never;
1163
+ path: {
1164
+ id: string;
1165
+ };
1166
+ query?: never;
1167
+ url: '/llm-keys/{id}';
1168
+ };
1169
+ export type LlmKeysFindByIdErrors = {
1170
+ /**
1171
+ * Unauthorized - Authentication required
1172
+ */
1173
+ 401: {
1174
+ error?: {
1175
+ statusCode?: number;
1176
+ name?: string;
1177
+ message?: string;
1178
+ };
1179
+ };
1180
+ /**
1181
+ * Forbidden - Access denied
1182
+ */
1183
+ 403: {
1184
+ error?: {
1185
+ statusCode?: number;
1186
+ name?: string;
1187
+ message?: string;
1188
+ };
1189
+ };
1190
+ /**
1191
+ * Not Found - LlmKeys not found
1192
+ */
1193
+ 404: {
1194
+ error?: {
1195
+ statusCode?: number;
1196
+ name?: string;
1197
+ message?: string;
1198
+ };
1199
+ };
1200
+ };
1201
+ export type LlmKeysFindByIdError = LlmKeysFindByIdErrors[keyof LlmKeysFindByIdErrors];
1202
+ export type LlmKeysFindByIdResponses = {
1203
+ /**
1204
+ * LlmKeys model instance
1205
+ */
1206
+ 200: LlmKeysExcludingClientSecretWithRelations;
1207
+ };
1208
+ export type LlmKeysFindByIdResponse = LlmKeysFindByIdResponses[keyof LlmKeysFindByIdResponses];
1209
+ export type LlmKeysUpdateByIdData = {
1210
+ body?: LlmKeysPartialExcludingIdOwner;
1211
+ path: {
1212
+ id: string;
1213
+ };
1214
+ query?: never;
1215
+ url: '/llm-keys/{id}';
1216
+ };
1217
+ export type LlmKeysUpdateByIdErrors = {
1218
+ /**
1219
+ * Bad Request - Invalid input data
1220
+ */
1221
+ 400: {
1222
+ error?: {
1223
+ statusCode?: number;
1224
+ name?: string;
1225
+ message?: string;
1226
+ };
1227
+ };
1228
+ /**
1229
+ * Unauthorized - Authentication required
1230
+ */
1231
+ 401: {
1232
+ error?: {
1233
+ statusCode?: number;
1234
+ name?: string;
1235
+ message?: string;
1236
+ };
1237
+ };
1238
+ /**
1239
+ * Forbidden - Access denied
1240
+ */
1241
+ 403: {
1242
+ error?: {
1243
+ statusCode?: number;
1244
+ name?: string;
1245
+ message?: string;
1246
+ };
1247
+ };
1248
+ /**
1249
+ * Not Found - LlmKeys not found
1250
+ */
1251
+ 404: {
1252
+ error?: {
1253
+ statusCode?: number;
1254
+ name?: string;
1255
+ message?: string;
1256
+ };
1257
+ };
1258
+ /**
1259
+ * Unprocessable Entity - Validation failed
1260
+ */
1261
+ 422: {
1262
+ error?: {
1263
+ statusCode?: number;
1264
+ name?: string;
1265
+ message?: string;
1266
+ };
1267
+ };
1268
+ };
1269
+ export type LlmKeysUpdateByIdError = LlmKeysUpdateByIdErrors[keyof LlmKeysUpdateByIdErrors];
1270
+ export type LlmKeysUpdateByIdResponses = {
1271
+ /**
1272
+ * LlmKeys PATCH success
1273
+ */
1274
+ 204: unknown;
1275
+ };
1276
+ export type LlmKeysFindData = {
1277
+ body?: never;
1278
+ path?: never;
1279
+ query?: {
1280
+ limit?: number;
1281
+ offset?: number;
1282
+ };
1283
+ url: '/llm-keys';
1284
+ };
1285
+ export type LlmKeysFindErrors = {
1286
+ /**
1287
+ * Unauthorized - Authentication required
1288
+ */
1289
+ 401: {
1290
+ error?: {
1291
+ statusCode?: number;
1292
+ name?: string;
1293
+ message?: string;
1294
+ };
1295
+ };
1296
+ /**
1297
+ * Forbidden - Access denied
1298
+ */
1299
+ 403: {
1300
+ error?: {
1301
+ statusCode?: number;
1302
+ name?: string;
1303
+ message?: string;
1304
+ };
1305
+ };
1306
+ };
1307
+ export type LlmKeysFindError = LlmKeysFindErrors[keyof LlmKeysFindErrors];
1308
+ export type LlmKeysFindResponses = {
1309
+ /**
1310
+ * Array of LlmKeys model instances with pagination
1311
+ */
1312
+ 200: {
1313
+ llmKeys?: Array<LlmKeysExcludingClientSecretWithRelations>;
1314
+ total?: number;
1315
+ limit?: number;
1316
+ offset?: number;
1317
+ };
1318
+ };
1319
+ export type LlmKeysFindResponse = LlmKeysFindResponses[keyof LlmKeysFindResponses];
1320
+ export type LlmKeysCreateData = {
1321
+ body?: NewLlmKeys;
1322
+ path?: never;
1323
+ query?: never;
1324
+ url: '/llm-keys';
1325
+ };
1326
+ export type LlmKeysCreateErrors = {
1327
+ /**
1328
+ * Bad Request - Invalid input data
1329
+ */
1330
+ 400: {
1331
+ error?: {
1332
+ statusCode?: number;
1333
+ name?: string;
1334
+ message?: string;
1335
+ };
1336
+ };
1337
+ /**
1338
+ * Unauthorized - Authentication required
1339
+ */
1340
+ 401: {
1341
+ error?: {
1342
+ statusCode?: number;
1343
+ name?: string;
1344
+ message?: string;
1345
+ };
1346
+ };
1347
+ /**
1348
+ * Unprocessable Entity - Validation failed
1349
+ */
1350
+ 422: {
1351
+ error?: {
1352
+ statusCode?: number;
1353
+ name?: string;
1354
+ message?: string;
1355
+ };
1356
+ };
1357
+ };
1358
+ export type LlmKeysCreateError = LlmKeysCreateErrors[keyof LlmKeysCreateErrors];
1359
+ export type LlmKeysCreateResponses = {
1360
+ /**
1361
+ * LlmKeys model instance
1362
+ */
1363
+ 200: LlmKeysExcludingClientSecret;
1364
+ };
1365
+ export type LlmKeysCreateResponse = LlmKeysCreateResponses[keyof LlmKeysCreateResponses];
1366
+ export type LlmFindByIdData = {
1367
+ body?: never;
1368
+ path: {
1369
+ id: string;
1370
+ };
1371
+ query?: never;
1372
+ url: '/llms/{id}';
1373
+ };
1374
+ export type LlmFindByIdErrors = {
1375
+ /**
1376
+ * Unauthorized - Authentication required
1377
+ */
1378
+ 401: {
1379
+ error?: {
1380
+ statusCode?: number;
1381
+ name?: string;
1382
+ message?: string;
1383
+ };
1384
+ };
1385
+ /**
1386
+ * Forbidden - Access denied
1387
+ */
1388
+ 403: {
1389
+ error?: {
1390
+ statusCode?: number;
1391
+ name?: string;
1392
+ message?: string;
1393
+ };
1394
+ };
1395
+ /**
1396
+ * Not Found - Llm not found
1397
+ */
1398
+ 404: {
1399
+ error?: {
1400
+ statusCode?: number;
1401
+ name?: string;
1402
+ message?: string;
1403
+ };
1404
+ };
1405
+ };
1406
+ export type LlmFindByIdError = LlmFindByIdErrors[keyof LlmFindByIdErrors];
1407
+ export type LlmFindByIdResponses = {
1408
+ /**
1409
+ * Llm model instance
1410
+ */
1411
+ 200: LlmWithRelations;
1412
+ };
1413
+ export type LlmFindByIdResponse = LlmFindByIdResponses[keyof LlmFindByIdResponses];
1414
+ export type LlmFindData = {
1415
+ body?: never;
1416
+ path?: never;
1417
+ query?: {
1418
+ limit?: number;
1419
+ offset?: number;
1420
+ };
1421
+ url: '/llms';
1422
+ };
1423
+ export type LlmFindErrors = {
1424
+ /**
1425
+ * Unauthorized - Authentication required
1426
+ */
1427
+ 401: {
1428
+ error?: {
1429
+ statusCode?: number;
1430
+ name?: string;
1431
+ message?: string;
1432
+ };
1433
+ };
1434
+ /**
1435
+ * Forbidden - Access denied
1436
+ */
1437
+ 403: {
1438
+ error?: {
1439
+ statusCode?: number;
1440
+ name?: string;
1441
+ message?: string;
1442
+ };
1443
+ };
1444
+ };
1445
+ export type LlmFindError = LlmFindErrors[keyof LlmFindErrors];
1446
+ export type LlmFindResponses = {
1447
+ /**
1448
+ * Array of Llm model instances with pagination
1449
+ */
1450
+ 200: {
1451
+ llms?: Array<LlmWithRelations>;
1452
+ total?: number;
1453
+ limit?: number;
1454
+ offset?: number;
1455
+ };
1456
+ };
1457
+ export type LlmFindResponse = LlmFindResponses[keyof LlmFindResponses];
1458
+ export type OAuthConsentData = {
1459
+ body?: {
1460
+ id_token: string;
1461
+ client_id: string;
1462
+ redirect_uri: string;
1463
+ scope: string;
1464
+ state: string;
1465
+ granted: boolean;
1466
+ };
1467
+ path?: never;
1468
+ query?: never;
1469
+ url: '/oauth/authorize/consent';
1470
+ };
1471
+ export type OAuthConsentErrors = {
1472
+ /**
1473
+ * Invalid request
1474
+ */
1475
+ 400: {
1476
+ error?: {
1477
+ statusCode?: number;
1478
+ name?: string;
1479
+ message?: string;
1480
+ };
1481
+ };
1482
+ /**
1483
+ * Invalid token
1484
+ */
1485
+ 401: {
1486
+ error?: {
1487
+ statusCode?: number;
1488
+ name?: string;
1489
+ message?: string;
1490
+ };
1491
+ };
1492
+ };
1493
+ export type OAuthConsentError = OAuthConsentErrors[keyof OAuthConsentErrors];
1494
+ export type OAuthConsentResponses = {
1495
+ /**
1496
+ * Consent processed
1497
+ */
1498
+ 200: {
1499
+ redirect_url?: string;
1500
+ };
1501
+ };
1502
+ export type OAuthConsentResponse = OAuthConsentResponses[keyof OAuthConsentResponses];
1503
+ export type OAuthForgotPasswordData = {
1504
+ body?: {
1505
+ email: string;
1506
+ };
1507
+ path?: never;
1508
+ query?: never;
1509
+ url: '/oauth/authorize/forgot-password';
1510
+ };
1511
+ export type OAuthForgotPasswordErrors = {
1512
+ /**
1513
+ * Failed to send reset email
1514
+ */
1515
+ 422: {
1516
+ error?: {
1517
+ statusCode?: number;
1518
+ name?: string;
1519
+ message?: string;
1520
+ };
1521
+ };
1522
+ };
1523
+ export type OAuthForgotPasswordError = OAuthForgotPasswordErrors[keyof OAuthForgotPasswordErrors];
1524
+ export type OAuthForgotPasswordResponses = {
1525
+ /**
1526
+ * Password reset email sent
1527
+ */
1528
+ 200: {
1529
+ message?: string;
1530
+ };
1531
+ };
1532
+ export type OAuthForgotPasswordResponse = OAuthForgotPasswordResponses[keyof OAuthForgotPasswordResponses];
1533
+ export type OAuthLoginData = {
1534
+ body?: {
1535
+ email: string;
1536
+ password: string;
1537
+ };
1538
+ path?: never;
1539
+ query?: never;
1540
+ url: '/oauth/authorize/login';
1541
+ };
1542
+ export type OAuthLoginErrors = {
1543
+ /**
1544
+ * Invalid credentials
1545
+ */
1546
+ 401: {
1547
+ error?: {
1548
+ statusCode?: number;
1549
+ name?: string;
1550
+ message?: string;
1551
+ };
1552
+ };
1553
+ };
1554
+ export type OAuthLoginError = OAuthLoginErrors[keyof OAuthLoginErrors];
1555
+ export type OAuthLoginResponses = {
1556
+ /**
1557
+ * Login successful
1558
+ */
1559
+ 200: {
1560
+ uid?: string;
1561
+ email?: string;
1562
+ display_name?: string;
1563
+ id_token?: string;
1564
+ };
1565
+ };
1566
+ export type OAuthLoginResponse = OAuthLoginResponses[keyof OAuthLoginResponses];
1567
+ export type OAuthSignupData = {
1568
+ body?: {
1569
+ email: string;
1570
+ password: string;
1571
+ display_name: string;
1572
+ };
1573
+ path?: never;
1574
+ query?: never;
1575
+ url: '/oauth/authorize/signup';
1576
+ };
1577
+ export type OAuthSignupErrors = {
1578
+ /**
1579
+ * Signup failed
1580
+ */
1581
+ 422: {
1582
+ error?: {
1583
+ statusCode?: number;
1584
+ name?: string;
1585
+ message?: string;
1586
+ };
1587
+ };
1588
+ };
1589
+ export type OAuthSignupError = OAuthSignupErrors[keyof OAuthSignupErrors];
1590
+ export type OAuthSignupResponses = {
1591
+ /**
1592
+ * Signup successful
1593
+ */
1594
+ 200: {
1595
+ uid?: string;
1596
+ email?: string;
1597
+ display_name?: string;
1598
+ id_token?: string;
1599
+ };
1600
+ };
1601
+ export type OAuthSignupResponse = OAuthSignupResponses[keyof OAuthSignupResponses];
1602
+ export type OAuthAuthorizeData = {
1603
+ body?: never;
1604
+ path?: never;
1605
+ query?: {
1606
+ response_type?: string;
1607
+ client_id?: string;
1608
+ redirect_uri?: string;
1609
+ scope?: string;
1610
+ state?: string;
1611
+ };
1612
+ url: '/oauth/authorize';
1613
+ };
1614
+ export type OAuthAuthorizeErrors = {
1615
+ /**
1616
+ * Invalid request parameters
1617
+ */
1618
+ 400: {
1619
+ error?: {
1620
+ statusCode?: number;
1621
+ name?: string;
1622
+ message?: string;
1623
+ };
1624
+ };
1625
+ };
1626
+ export type OAuthAuthorizeError = OAuthAuthorizeErrors[keyof OAuthAuthorizeErrors];
1627
+ export type OAuthTokenData = {
1628
+ body?: {
1629
+ grant_type: string;
1630
+ code?: string;
1631
+ refresh_token?: string;
1632
+ client_id: string;
1633
+ client_secret: string;
1634
+ redirect_uri?: string;
1635
+ };
1636
+ path?: never;
1637
+ query?: never;
1638
+ url: '/oauth/token';
1639
+ };
1640
+ export type OAuthTokenErrors = {
1641
+ /**
1642
+ * Invalid request
1643
+ */
1644
+ 400: {
1645
+ error?: {
1646
+ statusCode?: number;
1647
+ name?: string;
1648
+ message?: string;
1649
+ };
1650
+ };
1651
+ /**
1652
+ * Invalid client credentials
1653
+ */
1654
+ 401: {
1655
+ error?: {
1656
+ statusCode?: number;
1657
+ name?: string;
1658
+ message?: string;
1659
+ };
1660
+ };
1661
+ };
1662
+ export type OAuthTokenError = OAuthTokenErrors[keyof OAuthTokenErrors];
1663
+ export type OAuthTokenResponses = {
1664
+ /**
1665
+ * Token response
1666
+ */
1667
+ 200: {
1668
+ access_token?: string;
1669
+ token_type?: string;
1670
+ expires_in?: number;
1671
+ refresh_token?: string;
1672
+ scope?: string;
1673
+ };
1674
+ };
1675
+ export type OAuthTokenResponse = OAuthTokenResponses[keyof OAuthTokenResponses];
1676
+ export type PingPingData = {
1677
+ body?: never;
1678
+ path?: never;
1679
+ query?: never;
1680
+ url: '/ping';
1681
+ };
1682
+ export type PingPingResponses = {
1683
+ /**
1684
+ * Ping Response
1685
+ */
1686
+ 200: PingResponse;
1687
+ };
1688
+ export type PingPingResponse = PingPingResponses[keyof PingPingResponses];
1689
+ export type ServiceFindByIdData = {
1690
+ body?: never;
1691
+ path: {
1692
+ id: string;
1693
+ };
1694
+ query?: never;
1695
+ url: '/services/{id}';
1696
+ };
1697
+ export type ServiceFindByIdErrors = {
1698
+ /**
1699
+ * Unauthorized - Authentication required
1700
+ */
1701
+ 401: {
1702
+ error?: {
1703
+ statusCode?: number;
1704
+ name?: string;
1705
+ message?: string;
1706
+ };
1707
+ };
1708
+ /**
1709
+ * Forbidden - Access denied
1710
+ */
1711
+ 403: {
1712
+ error?: {
1713
+ statusCode?: number;
1714
+ name?: string;
1715
+ message?: string;
1716
+ };
1717
+ };
1718
+ /**
1719
+ * Not Found - Service not found
1720
+ */
1721
+ 404: {
1722
+ error?: {
1723
+ statusCode?: number;
1724
+ name?: string;
1725
+ message?: string;
1726
+ };
1727
+ };
1728
+ };
1729
+ export type ServiceFindByIdError = ServiceFindByIdErrors[keyof ServiceFindByIdErrors];
1730
+ export type ServiceFindByIdResponses = {
1731
+ /**
1732
+ * Service model instance
1733
+ */
1734
+ 200: ServiceWithRelations;
1735
+ };
1736
+ export type ServiceFindByIdResponse = ServiceFindByIdResponses[keyof ServiceFindByIdResponses];
1737
+ export type ServiceFindData = {
1738
+ body?: never;
1739
+ path?: never;
1740
+ query?: {
1741
+ limit?: number;
1742
+ offset?: number;
1743
+ };
1744
+ url: '/services';
1745
+ };
1746
+ export type ServiceFindErrors = {
1747
+ /**
1748
+ * Unauthorized - Authentication required
1749
+ */
1750
+ 401: {
1751
+ error?: {
1752
+ statusCode?: number;
1753
+ name?: string;
1754
+ message?: string;
1755
+ };
1756
+ };
1757
+ /**
1758
+ * Forbidden - Access denied
1759
+ */
1760
+ 403: {
1761
+ error?: {
1762
+ statusCode?: number;
1763
+ name?: string;
1764
+ message?: string;
1765
+ };
1766
+ };
1767
+ };
1768
+ export type ServiceFindError = ServiceFindErrors[keyof ServiceFindErrors];
1769
+ export type ServiceFindResponses = {
1770
+ /**
1771
+ * Array of Service model instances with pagination
1772
+ */
1773
+ 200: {
1774
+ services?: Array<ServiceWithRelations>;
1775
+ total?: number;
1776
+ limit?: number;
1777
+ offset?: number;
1778
+ };
1779
+ };
1780
+ export type ServiceFindResponse = ServiceFindResponses[keyof ServiceFindResponses];
1781
+ export type UserGetCurrentUserData = {
1782
+ body?: never;
1783
+ path?: never;
1784
+ query?: never;
1785
+ url: '/users/me';
1786
+ };
1787
+ export type UserGetCurrentUserResponses = {
1788
+ /**
1789
+ * Current authenticated user
1790
+ */
1791
+ 200: UserWithRelations;
1792
+ };
1793
+ export type UserGetCurrentUserResponse = UserGetCurrentUserResponses[keyof UserGetCurrentUserResponses];
1794
+ export type EndpointDeleteByIdData = {
1795
+ body?: never;
1796
+ path: {
1797
+ workspaceId: string;
1798
+ orchestrationId: string;
1799
+ agentId: string;
1800
+ id: string;
1801
+ };
1802
+ query?: never;
1803
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/endpoints/{id}';
1804
+ };
1805
+ export type EndpointDeleteByIdErrors = {
1806
+ /**
1807
+ * Unauthorized - Authentication required
1808
+ */
1809
+ 401: {
1810
+ error?: {
1811
+ statusCode?: number;
1812
+ name?: string;
1813
+ message?: string;
1814
+ };
1815
+ };
1816
+ /**
1817
+ * Forbidden - Access denied
1818
+ */
1819
+ 403: {
1820
+ error?: {
1821
+ statusCode?: number;
1822
+ name?: string;
1823
+ message?: string;
1824
+ };
1825
+ };
1826
+ /**
1827
+ * Not Found - Endpoint not found
1828
+ */
1829
+ 404: {
1830
+ error?: {
1831
+ statusCode?: number;
1832
+ name?: string;
1833
+ message?: string;
1834
+ };
1835
+ };
1836
+ };
1837
+ export type EndpointDeleteByIdError = EndpointDeleteByIdErrors[keyof EndpointDeleteByIdErrors];
1838
+ export type EndpointDeleteByIdResponses = {
1839
+ /**
1840
+ * Endpoint DELETE success
1841
+ */
1842
+ 204: unknown;
1843
+ };
1844
+ export type EndpointFindByIdData = {
1845
+ body?: never;
1846
+ path: {
1847
+ workspaceId: string;
1848
+ orchestrationId: string;
1849
+ agentId: string;
1850
+ id: string;
1851
+ };
1852
+ query?: never;
1853
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/endpoints/{id}';
1854
+ };
1855
+ export type EndpointFindByIdErrors = {
1856
+ /**
1857
+ * Unauthorized - Authentication required
1858
+ */
1859
+ 401: {
1860
+ error?: {
1861
+ statusCode?: number;
1862
+ name?: string;
1863
+ message?: string;
1864
+ };
1865
+ };
1866
+ /**
1867
+ * Forbidden - Access denied
1868
+ */
1869
+ 403: {
1870
+ error?: {
1871
+ statusCode?: number;
1872
+ name?: string;
1873
+ message?: string;
1874
+ };
1875
+ };
1876
+ /**
1877
+ * Not Found - Endpoint not found
1878
+ */
1879
+ 404: {
1880
+ error?: {
1881
+ statusCode?: number;
1882
+ name?: string;
1883
+ message?: string;
1884
+ };
1885
+ };
1886
+ };
1887
+ export type EndpointFindByIdError = EndpointFindByIdErrors[keyof EndpointFindByIdErrors];
1888
+ export type EndpointFindByIdResponses = {
1889
+ /**
1890
+ * Endpoint model instance
1891
+ */
1892
+ 200: EndpointWithRelations;
1893
+ };
1894
+ export type EndpointFindByIdResponse = EndpointFindByIdResponses[keyof EndpointFindByIdResponses];
1895
+ export type EndpointUpdateByIdData = {
1896
+ body?: EndpointPartialExcludingIdAgent;
1897
+ path: {
1898
+ workspaceId: string;
1899
+ orchestrationId: string;
1900
+ agentId: string;
1901
+ id: string;
1902
+ };
1903
+ query?: never;
1904
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/endpoints/{id}';
1905
+ };
1906
+ export type EndpointUpdateByIdErrors = {
1907
+ /**
1908
+ * Bad Request - Invalid input data
1909
+ */
1910
+ 400: {
1911
+ error?: {
1912
+ statusCode?: number;
1913
+ name?: string;
1914
+ message?: string;
1915
+ };
1916
+ };
1917
+ /**
1918
+ * Unauthorized - Authentication required
1919
+ */
1920
+ 401: {
1921
+ error?: {
1922
+ statusCode?: number;
1923
+ name?: string;
1924
+ message?: string;
1925
+ };
1926
+ };
1927
+ /**
1928
+ * Forbidden - Access denied
1929
+ */
1930
+ 403: {
1931
+ error?: {
1932
+ statusCode?: number;
1933
+ name?: string;
1934
+ message?: string;
1935
+ };
1936
+ };
1937
+ /**
1938
+ * Not Found - Endpoint not found
1939
+ */
1940
+ 404: {
1941
+ error?: {
1942
+ statusCode?: number;
1943
+ name?: string;
1944
+ message?: string;
1945
+ };
1946
+ };
1947
+ /**
1948
+ * Unprocessable Entity - Validation failed
1949
+ */
1950
+ 422: {
1951
+ error?: {
1952
+ statusCode?: number;
1953
+ name?: string;
1954
+ message?: string;
1955
+ };
1956
+ };
1957
+ };
1958
+ export type EndpointUpdateByIdError = EndpointUpdateByIdErrors[keyof EndpointUpdateByIdErrors];
1959
+ export type EndpointUpdateByIdResponses = {
1960
+ /**
1961
+ * Endpoint PATCH success
1962
+ */
1963
+ 204: unknown;
1964
+ };
1965
+ export type EndpointFindByAgentData = {
1966
+ body?: never;
1967
+ path: {
1968
+ workspaceId: string;
1969
+ orchestrationId: string;
1970
+ agentId: string;
1971
+ };
1972
+ query?: {
1973
+ limit?: number;
1974
+ offset?: number;
1975
+ };
1976
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/endpoints';
1977
+ };
1978
+ export type EndpointFindByAgentErrors = {
1979
+ /**
1980
+ * Unauthorized - Authentication required
1981
+ */
1982
+ 401: {
1983
+ error?: {
1984
+ statusCode?: number;
1985
+ name?: string;
1986
+ message?: string;
1987
+ };
1988
+ };
1989
+ /**
1990
+ * Forbidden - Access denied
1991
+ */
1992
+ 403: {
1993
+ error?: {
1994
+ statusCode?: number;
1995
+ name?: string;
1996
+ message?: string;
1997
+ };
1998
+ };
1999
+ };
2000
+ export type EndpointFindByAgentError = EndpointFindByAgentErrors[keyof EndpointFindByAgentErrors];
2001
+ export type EndpointFindByAgentResponses = {
2002
+ /**
2003
+ * Array of Endpoint model instances with pagination
2004
+ */
2005
+ 200: {
2006
+ endpoints?: Array<EndpointWithRelations>;
2007
+ total?: number;
2008
+ limit?: number;
2009
+ offset?: number;
2010
+ };
2011
+ };
2012
+ export type EndpointFindByAgentResponse = EndpointFindByAgentResponses[keyof EndpointFindByAgentResponses];
2013
+ export type EndpointCreateData = {
2014
+ body?: NewEndpoint;
2015
+ path: {
2016
+ workspaceId: string;
2017
+ orchestrationId: string;
2018
+ agentId: string;
2019
+ };
2020
+ query?: never;
2021
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/endpoints';
2022
+ };
2023
+ export type EndpointCreateErrors = {
2024
+ /**
2025
+ * Bad Request - Invalid input data
2026
+ */
2027
+ 400: {
2028
+ error?: {
2029
+ statusCode?: number;
2030
+ name?: string;
2031
+ message?: string;
2032
+ };
2033
+ };
2034
+ /**
2035
+ * Unauthorized - Authentication required
2036
+ */
2037
+ 401: {
2038
+ error?: {
2039
+ statusCode?: number;
2040
+ name?: string;
2041
+ message?: string;
2042
+ };
2043
+ };
2044
+ /**
2045
+ * Unprocessable Entity - Validation failed
2046
+ */
2047
+ 422: {
2048
+ error?: {
2049
+ statusCode?: number;
2050
+ name?: string;
2051
+ message?: string;
2052
+ };
2053
+ };
2054
+ };
2055
+ export type EndpointCreateError = EndpointCreateErrors[keyof EndpointCreateErrors];
2056
+ export type EndpointCreateResponses = {
2057
+ /**
2058
+ * Endpoint model instance
2059
+ */
2060
+ 200: Endpoint;
2061
+ };
2062
+ export type EndpointCreateResponse = EndpointCreateResponses[keyof EndpointCreateResponses];
2063
+ export type LayerDeleteByIdData = {
2064
+ body?: never;
2065
+ path: {
2066
+ workspaceId: string;
2067
+ orchestrationId: string;
2068
+ agentId: string;
2069
+ id: string;
2070
+ };
2071
+ query?: never;
2072
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{id}';
2073
+ };
2074
+ export type LayerDeleteByIdErrors = {
2075
+ /**
2076
+ * Unauthorized - Authentication required
2077
+ */
2078
+ 401: {
2079
+ error?: {
2080
+ statusCode?: number;
2081
+ name?: string;
2082
+ message?: string;
2083
+ };
2084
+ };
2085
+ /**
2086
+ * Forbidden - Access denied
2087
+ */
2088
+ 403: {
2089
+ error?: {
2090
+ statusCode?: number;
2091
+ name?: string;
2092
+ message?: string;
2093
+ };
2094
+ };
2095
+ /**
2096
+ * Not Found - Layer not found
2097
+ */
2098
+ 404: {
2099
+ error?: {
2100
+ statusCode?: number;
2101
+ name?: string;
2102
+ message?: string;
2103
+ };
2104
+ };
2105
+ };
2106
+ export type LayerDeleteByIdError = LayerDeleteByIdErrors[keyof LayerDeleteByIdErrors];
2107
+ export type LayerDeleteByIdResponses = {
2108
+ /**
2109
+ * Layer DELETE success
2110
+ */
2111
+ 204: unknown;
2112
+ };
2113
+ export type LayerFindByIdData = {
2114
+ body?: never;
2115
+ path: {
2116
+ workspaceId: string;
2117
+ orchestrationId: string;
2118
+ agentId: string;
2119
+ id: string;
2120
+ };
2121
+ query?: never;
2122
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{id}';
2123
+ };
2124
+ export type LayerFindByIdErrors = {
2125
+ /**
2126
+ * Unauthorized - Authentication required
2127
+ */
2128
+ 401: {
2129
+ error?: {
2130
+ statusCode?: number;
2131
+ name?: string;
2132
+ message?: string;
2133
+ };
2134
+ };
2135
+ /**
2136
+ * Forbidden - Access denied
2137
+ */
2138
+ 403: {
2139
+ error?: {
2140
+ statusCode?: number;
2141
+ name?: string;
2142
+ message?: string;
2143
+ };
2144
+ };
2145
+ /**
2146
+ * Not Found - Layer not found
2147
+ */
2148
+ 404: {
2149
+ error?: {
2150
+ statusCode?: number;
2151
+ name?: string;
2152
+ message?: string;
2153
+ };
2154
+ };
2155
+ };
2156
+ export type LayerFindByIdError = LayerFindByIdErrors[keyof LayerFindByIdErrors];
2157
+ export type LayerFindByIdResponses = {
2158
+ /**
2159
+ * Layer model instance
2160
+ */
2161
+ 200: LayerWithRelations;
2162
+ };
2163
+ export type LayerFindByIdResponse = LayerFindByIdResponses[keyof LayerFindByIdResponses];
2164
+ export type LayerUpdateByIdData = {
2165
+ body?: {
2166
+ context_md?: string;
2167
+ layer_name?: string;
2168
+ llm?: {
2169
+ id?: string;
2170
+ };
2171
+ services?: Array<{
2172
+ id?: string;
2173
+ }>;
2174
+ };
2175
+ path: {
2176
+ workspaceId: string;
2177
+ orchestrationId: string;
2178
+ agentId: string;
2179
+ id: string;
2180
+ };
2181
+ query?: never;
2182
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{id}';
2183
+ };
2184
+ export type LayerUpdateByIdErrors = {
2185
+ /**
2186
+ * Bad Request - Invalid input data
2187
+ */
2188
+ 400: {
2189
+ error?: {
2190
+ statusCode?: number;
2191
+ name?: string;
2192
+ message?: string;
2193
+ };
2194
+ };
2195
+ /**
2196
+ * Unauthorized - Authentication required
2197
+ */
2198
+ 401: {
2199
+ error?: {
2200
+ statusCode?: number;
2201
+ name?: string;
2202
+ message?: string;
2203
+ };
2204
+ };
2205
+ /**
2206
+ * Forbidden - Access denied
2207
+ */
2208
+ 403: {
2209
+ error?: {
2210
+ statusCode?: number;
2211
+ name?: string;
2212
+ message?: string;
2213
+ };
2214
+ };
2215
+ /**
2216
+ * Not Found - Layer not found
2217
+ */
2218
+ 404: {
2219
+ error?: {
2220
+ statusCode?: number;
2221
+ name?: string;
2222
+ message?: string;
2223
+ };
2224
+ };
2225
+ /**
2226
+ * Unprocessable Entity - Validation failed
2227
+ */
2228
+ 422: {
2229
+ error?: {
2230
+ statusCode?: number;
2231
+ name?: string;
2232
+ message?: string;
2233
+ };
2234
+ };
2235
+ };
2236
+ export type LayerUpdateByIdError = LayerUpdateByIdErrors[keyof LayerUpdateByIdErrors];
2237
+ export type LayerUpdateByIdResponses = {
2238
+ /**
2239
+ * Layer PATCH success
2240
+ */
2241
+ 204: unknown;
2242
+ };
2243
+ export type LayerFindByAgentData = {
2244
+ body?: never;
2245
+ path: {
2246
+ workspaceId: string;
2247
+ orchestrationId: string;
2248
+ agentId: string;
2249
+ };
2250
+ query?: {
2251
+ limit?: number;
2252
+ offset?: number;
2253
+ };
2254
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers';
2255
+ };
2256
+ export type LayerFindByAgentErrors = {
2257
+ /**
2258
+ * Unauthorized - Authentication required
2259
+ */
2260
+ 401: {
2261
+ error?: {
2262
+ statusCode?: number;
2263
+ name?: string;
2264
+ message?: string;
2265
+ };
2266
+ };
2267
+ /**
2268
+ * Forbidden - Access denied
2269
+ */
2270
+ 403: {
2271
+ error?: {
2272
+ statusCode?: number;
2273
+ name?: string;
2274
+ message?: string;
2275
+ };
2276
+ };
2277
+ };
2278
+ export type LayerFindByAgentError = LayerFindByAgentErrors[keyof LayerFindByAgentErrors];
2279
+ export type LayerFindByAgentResponses = {
2280
+ /**
2281
+ * Array of Layer model instances with pagination
2282
+ */
2283
+ 200: {
2284
+ layers?: Array<LayerWithRelations>;
2285
+ total?: number;
2286
+ limit?: number;
2287
+ offset?: number;
2288
+ };
2289
+ };
2290
+ export type LayerFindByAgentResponse = LayerFindByAgentResponses[keyof LayerFindByAgentResponses];
2291
+ export type LayerCreateData = {
2292
+ body?: {
2293
+ context_md?: string;
2294
+ layer_name: string;
2295
+ llm?: {
2296
+ id?: string;
2297
+ };
2298
+ services?: Array<{
2299
+ id?: string;
2300
+ }>;
2301
+ };
2302
+ path: {
2303
+ workspaceId: string;
2304
+ orchestrationId: string;
2305
+ agentId: string;
2306
+ };
2307
+ query?: never;
2308
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers';
2309
+ };
2310
+ export type LayerCreateErrors = {
2311
+ /**
2312
+ * Bad Request - Invalid input data
2313
+ */
2314
+ 400: {
2315
+ error?: {
2316
+ statusCode?: number;
2317
+ name?: string;
2318
+ message?: string;
2319
+ };
2320
+ };
2321
+ /**
2322
+ * Unauthorized - Authentication required
2323
+ */
2324
+ 401: {
2325
+ error?: {
2326
+ statusCode?: number;
2327
+ name?: string;
2328
+ message?: string;
2329
+ };
2330
+ };
2331
+ /**
2332
+ * Unprocessable Entity - Validation failed
2333
+ */
2334
+ 422: {
2335
+ error?: {
2336
+ statusCode?: number;
2337
+ name?: string;
2338
+ message?: string;
2339
+ };
2340
+ };
2341
+ };
2342
+ export type LayerCreateError = LayerCreateErrors[keyof LayerCreateErrors];
2343
+ export type LayerCreateResponses = {
2344
+ /**
2345
+ * Layer model instance
2346
+ */
2347
+ 200: Layer;
2348
+ };
2349
+ export type LayerCreateResponse = LayerCreateResponses[keyof LayerCreateResponses];
2350
+ export type LinkDeleteByIdData = {
2351
+ body?: never;
2352
+ path: {
2353
+ workspaceId: string;
2354
+ orchestrationId: string;
2355
+ agentId: string;
2356
+ id: string;
2357
+ };
2358
+ query?: never;
2359
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/links/{id}';
2360
+ };
2361
+ export type LinkDeleteByIdErrors = {
2362
+ /**
2363
+ * Unauthorized - Authentication required
2364
+ */
2365
+ 401: {
2366
+ error?: {
2367
+ statusCode?: number;
2368
+ name?: string;
2369
+ message?: string;
2370
+ };
2371
+ };
2372
+ /**
2373
+ * Forbidden - Access denied
2374
+ */
2375
+ 403: {
2376
+ error?: {
2377
+ statusCode?: number;
2378
+ name?: string;
2379
+ message?: string;
2380
+ };
2381
+ };
2382
+ /**
2383
+ * Not Found - Link not found
2384
+ */
2385
+ 404: {
2386
+ error?: {
2387
+ statusCode?: number;
2388
+ name?: string;
2389
+ message?: string;
2390
+ };
2391
+ };
2392
+ };
2393
+ export type LinkDeleteByIdError = LinkDeleteByIdErrors[keyof LinkDeleteByIdErrors];
2394
+ export type LinkDeleteByIdResponses = {
2395
+ /**
2396
+ * Link DELETE success
2397
+ */
2398
+ 204: unknown;
2399
+ };
2400
+ export type LinkFindByIdData = {
2401
+ body?: never;
2402
+ path: {
2403
+ workspaceId: string;
2404
+ orchestrationId: string;
2405
+ agentId: string;
2406
+ id: string;
2407
+ };
2408
+ query?: never;
2409
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/links/{id}';
2410
+ };
2411
+ export type LinkFindByIdErrors = {
2412
+ /**
2413
+ * Unauthorized - Authentication required
2414
+ */
2415
+ 401: {
2416
+ error?: {
2417
+ statusCode?: number;
2418
+ name?: string;
2419
+ message?: string;
2420
+ };
2421
+ };
2422
+ /**
2423
+ * Forbidden - Access denied
2424
+ */
2425
+ 403: {
2426
+ error?: {
2427
+ statusCode?: number;
2428
+ name?: string;
2429
+ message?: string;
2430
+ };
2431
+ };
2432
+ /**
2433
+ * Not Found - Link not found
2434
+ */
2435
+ 404: {
2436
+ error?: {
2437
+ statusCode?: number;
2438
+ name?: string;
2439
+ message?: string;
2440
+ };
2441
+ };
2442
+ };
2443
+ export type LinkFindByIdError = LinkFindByIdErrors[keyof LinkFindByIdErrors];
2444
+ export type LinkFindByIdResponses = {
2445
+ /**
2446
+ * Link model instance
2447
+ */
2448
+ 200: LinkWithRelations;
2449
+ };
2450
+ export type LinkFindByIdResponse = LinkFindByIdResponses[keyof LinkFindByIdResponses];
2451
+ export type LinkUpdateByIdData = {
2452
+ body?: LinkPartialExcludingIdAgent;
2453
+ path: {
2454
+ workspaceId: string;
2455
+ orchestrationId: string;
2456
+ agentId: string;
2457
+ id: string;
2458
+ };
2459
+ query?: never;
2460
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/links/{id}';
2461
+ };
2462
+ export type LinkUpdateByIdErrors = {
2463
+ /**
2464
+ * Bad Request - Invalid input data
2465
+ */
2466
+ 400: {
2467
+ error?: {
2468
+ statusCode?: number;
2469
+ name?: string;
2470
+ message?: string;
2471
+ };
2472
+ };
2473
+ /**
2474
+ * Unauthorized - Authentication required
2475
+ */
2476
+ 401: {
2477
+ error?: {
2478
+ statusCode?: number;
2479
+ name?: string;
2480
+ message?: string;
2481
+ };
2482
+ };
2483
+ /**
2484
+ * Forbidden - Access denied
2485
+ */
2486
+ 403: {
2487
+ error?: {
2488
+ statusCode?: number;
2489
+ name?: string;
2490
+ message?: string;
2491
+ };
2492
+ };
2493
+ /**
2494
+ * Not Found - Link not found
2495
+ */
2496
+ 404: {
2497
+ error?: {
2498
+ statusCode?: number;
2499
+ name?: string;
2500
+ message?: string;
2501
+ };
2502
+ };
2503
+ /**
2504
+ * Unprocessable Entity - Validation failed
2505
+ */
2506
+ 422: {
2507
+ error?: {
2508
+ statusCode?: number;
2509
+ name?: string;
2510
+ message?: string;
2511
+ };
2512
+ };
2513
+ };
2514
+ export type LinkUpdateByIdError = LinkUpdateByIdErrors[keyof LinkUpdateByIdErrors];
2515
+ export type LinkUpdateByIdResponses = {
2516
+ /**
2517
+ * Link PATCH success
2518
+ */
2519
+ 204: unknown;
2520
+ };
2521
+ export type LinkFindByAgentData = {
2522
+ body?: never;
2523
+ path: {
2524
+ workspaceId: string;
2525
+ orchestrationId: string;
2526
+ agentId: string;
2527
+ };
2528
+ query?: {
2529
+ limit?: number;
2530
+ offset?: number;
2531
+ };
2532
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/links';
2533
+ };
2534
+ export type LinkFindByAgentErrors = {
2535
+ /**
2536
+ * Unauthorized - Authentication required
2537
+ */
2538
+ 401: {
2539
+ error?: {
2540
+ statusCode?: number;
2541
+ name?: string;
2542
+ message?: string;
2543
+ };
2544
+ };
2545
+ /**
2546
+ * Forbidden - Access denied
2547
+ */
2548
+ 403: {
2549
+ error?: {
2550
+ statusCode?: number;
2551
+ name?: string;
2552
+ message?: string;
2553
+ };
2554
+ };
2555
+ };
2556
+ export type LinkFindByAgentError = LinkFindByAgentErrors[keyof LinkFindByAgentErrors];
2557
+ export type LinkFindByAgentResponses = {
2558
+ /**
2559
+ * Array of Link model instances with pagination
2560
+ */
2561
+ 200: {
2562
+ links?: Array<LinkWithRelations>;
2563
+ total?: number;
2564
+ limit?: number;
2565
+ offset?: number;
2566
+ };
2567
+ };
2568
+ export type LinkFindByAgentResponse = LinkFindByAgentResponses[keyof LinkFindByAgentResponses];
2569
+ export type LinkCreateData = {
2570
+ body?: NewLink;
2571
+ path: {
2572
+ workspaceId: string;
2573
+ orchestrationId: string;
2574
+ agentId: string;
2575
+ };
2576
+ query?: never;
2577
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/links';
2578
+ };
2579
+ export type LinkCreateErrors = {
2580
+ /**
2581
+ * Bad Request - Invalid input data
2582
+ */
2583
+ 400: {
2584
+ error?: {
2585
+ statusCode?: number;
2586
+ name?: string;
2587
+ message?: string;
2588
+ };
2589
+ };
2590
+ /**
2591
+ * Unauthorized - Authentication required
2592
+ */
2593
+ 401: {
2594
+ error?: {
2595
+ statusCode?: number;
2596
+ name?: string;
2597
+ message?: string;
2598
+ };
2599
+ };
2600
+ /**
2601
+ * Unprocessable Entity - Validation failed
2602
+ */
2603
+ 422: {
2604
+ error?: {
2605
+ statusCode?: number;
2606
+ name?: string;
2607
+ message?: string;
2608
+ };
2609
+ };
2610
+ };
2611
+ export type LinkCreateError = LinkCreateErrors[keyof LinkCreateErrors];
2612
+ export type LinkCreateResponses = {
2613
+ /**
2614
+ * Link model instance
2615
+ */
2616
+ 200: Link;
2617
+ };
2618
+ export type LinkCreateResponse = LinkCreateResponses[keyof LinkCreateResponses];
2619
+ export type SettingDeleteByIdData = {
2620
+ body?: never;
2621
+ path: {
2622
+ workspaceId: string;
2623
+ orchestrationId: string;
2624
+ agentId: string;
2625
+ id: string;
2626
+ };
2627
+ query?: never;
2628
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/settings/{id}';
2629
+ };
2630
+ export type SettingDeleteByIdErrors = {
2631
+ /**
2632
+ * Unauthorized - Authentication required
2633
+ */
2634
+ 401: {
2635
+ error?: {
2636
+ statusCode?: number;
2637
+ name?: string;
2638
+ message?: string;
2639
+ };
2640
+ };
2641
+ /**
2642
+ * Forbidden - Access denied
2643
+ */
2644
+ 403: {
2645
+ error?: {
2646
+ statusCode?: number;
2647
+ name?: string;
2648
+ message?: string;
2649
+ };
2650
+ };
2651
+ /**
2652
+ * Not Found - Setting not found
2653
+ */
2654
+ 404: {
2655
+ error?: {
2656
+ statusCode?: number;
2657
+ name?: string;
2658
+ message?: string;
2659
+ };
2660
+ };
2661
+ };
2662
+ export type SettingDeleteByIdError = SettingDeleteByIdErrors[keyof SettingDeleteByIdErrors];
2663
+ export type SettingDeleteByIdResponses = {
2664
+ /**
2665
+ * Setting DELETE success
2666
+ */
2667
+ 204: unknown;
2668
+ };
2669
+ export type SettingFindByIdData = {
2670
+ body?: never;
2671
+ path: {
2672
+ workspaceId: string;
2673
+ orchestrationId: string;
2674
+ agentId: string;
2675
+ id: string;
2676
+ };
2677
+ query?: never;
2678
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/settings/{id}';
2679
+ };
2680
+ export type SettingFindByIdErrors = {
2681
+ /**
2682
+ * Unauthorized - Authentication required
2683
+ */
2684
+ 401: {
2685
+ error?: {
2686
+ statusCode?: number;
2687
+ name?: string;
2688
+ message?: string;
2689
+ };
2690
+ };
2691
+ /**
2692
+ * Forbidden - Access denied
2693
+ */
2694
+ 403: {
2695
+ error?: {
2696
+ statusCode?: number;
2697
+ name?: string;
2698
+ message?: string;
2699
+ };
2700
+ };
2701
+ /**
2702
+ * Not Found - Setting not found
2703
+ */
2704
+ 404: {
2705
+ error?: {
2706
+ statusCode?: number;
2707
+ name?: string;
2708
+ message?: string;
2709
+ };
2710
+ };
2711
+ };
2712
+ export type SettingFindByIdError = SettingFindByIdErrors[keyof SettingFindByIdErrors];
2713
+ export type SettingFindByIdResponses = {
2714
+ /**
2715
+ * Setting model instance
2716
+ */
2717
+ 200: SettingWithRelations;
2718
+ };
2719
+ export type SettingFindByIdResponse = SettingFindByIdResponses[keyof SettingFindByIdResponses];
2720
+ export type SettingUpdateByIdData = {
2721
+ body?: SettingPartialExcludingIdAgentApplication;
2722
+ path: {
2723
+ workspaceId: string;
2724
+ orchestrationId: string;
2725
+ agentId: string;
2726
+ id: string;
2727
+ };
2728
+ query?: never;
2729
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/settings/{id}';
2730
+ };
2731
+ export type SettingUpdateByIdErrors = {
2732
+ /**
2733
+ * Bad Request - Invalid input data
2734
+ */
2735
+ 400: {
2736
+ error?: {
2737
+ statusCode?: number;
2738
+ name?: string;
2739
+ message?: string;
2740
+ };
2741
+ };
2742
+ /**
2743
+ * Unauthorized - Authentication required
2744
+ */
2745
+ 401: {
2746
+ error?: {
2747
+ statusCode?: number;
2748
+ name?: string;
2749
+ message?: string;
2750
+ };
2751
+ };
2752
+ /**
2753
+ * Forbidden - Access denied
2754
+ */
2755
+ 403: {
2756
+ error?: {
2757
+ statusCode?: number;
2758
+ name?: string;
2759
+ message?: string;
2760
+ };
2761
+ };
2762
+ /**
2763
+ * Not Found - Setting not found
2764
+ */
2765
+ 404: {
2766
+ error?: {
2767
+ statusCode?: number;
2768
+ name?: string;
2769
+ message?: string;
2770
+ };
2771
+ };
2772
+ /**
2773
+ * Unprocessable Entity - Validation failed
2774
+ */
2775
+ 422: {
2776
+ error?: {
2777
+ statusCode?: number;
2778
+ name?: string;
2779
+ message?: string;
2780
+ };
2781
+ };
2782
+ };
2783
+ export type SettingUpdateByIdError = SettingUpdateByIdErrors[keyof SettingUpdateByIdErrors];
2784
+ export type SettingUpdateByIdResponses = {
2785
+ /**
2786
+ * Setting PATCH success
2787
+ */
2788
+ 204: unknown;
2789
+ };
2790
+ export type SettingFindByAgentData = {
2791
+ body?: never;
2792
+ path: {
2793
+ workspaceId: string;
2794
+ orchestrationId: string;
2795
+ agentId: string;
2796
+ };
2797
+ query?: {
2798
+ limit?: number;
2799
+ offset?: number;
2800
+ };
2801
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/settings';
2802
+ };
2803
+ export type SettingFindByAgentErrors = {
2804
+ /**
2805
+ * Unauthorized - Authentication required
2806
+ */
2807
+ 401: {
2808
+ error?: {
2809
+ statusCode?: number;
2810
+ name?: string;
2811
+ message?: string;
2812
+ };
2813
+ };
2814
+ /**
2815
+ * Forbidden - Access denied
2816
+ */
2817
+ 403: {
2818
+ error?: {
2819
+ statusCode?: number;
2820
+ name?: string;
2821
+ message?: string;
2822
+ };
2823
+ };
2824
+ };
2825
+ export type SettingFindByAgentError = SettingFindByAgentErrors[keyof SettingFindByAgentErrors];
2826
+ export type SettingFindByAgentResponses = {
2827
+ /**
2828
+ * Array of Setting model instances with pagination
2829
+ */
2830
+ 200: {
2831
+ settings?: Array<SettingWithRelations>;
2832
+ total?: number;
2833
+ limit?: number;
2834
+ offset?: number;
2835
+ };
2836
+ };
2837
+ export type SettingFindByAgentResponse = SettingFindByAgentResponses[keyof SettingFindByAgentResponses];
2838
+ export type SettingCreateData = {
2839
+ body?: NewSetting;
2840
+ path: {
2841
+ workspaceId: string;
2842
+ orchestrationId: string;
2843
+ agentId: string;
2844
+ };
2845
+ query?: never;
2846
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/settings';
2847
+ };
2848
+ export type SettingCreateErrors = {
2849
+ /**
2850
+ * Bad Request - Invalid input data
2851
+ */
2852
+ 400: {
2853
+ error?: {
2854
+ statusCode?: number;
2855
+ name?: string;
2856
+ message?: string;
2857
+ };
2858
+ };
2859
+ /**
2860
+ * Unauthorized - Authentication required
2861
+ */
2862
+ 401: {
2863
+ error?: {
2864
+ statusCode?: number;
2865
+ name?: string;
2866
+ message?: string;
2867
+ };
2868
+ };
2869
+ /**
2870
+ * Unprocessable Entity - Validation failed
2871
+ */
2872
+ 422: {
2873
+ error?: {
2874
+ statusCode?: number;
2875
+ name?: string;
2876
+ message?: string;
2877
+ };
2878
+ };
2879
+ };
2880
+ export type SettingCreateError = SettingCreateErrors[keyof SettingCreateErrors];
2881
+ export type SettingCreateResponses = {
2882
+ /**
2883
+ * Setting model instance
2884
+ */
2885
+ 200: Setting;
2886
+ };
2887
+ export type SettingCreateResponse = SettingCreateResponses[keyof SettingCreateResponses];
2888
+ export type AgentDeleteByIdData = {
2889
+ body?: never;
2890
+ path: {
2891
+ workspaceId: string;
2892
+ orchestrationId: string;
2893
+ id: string;
2894
+ };
2895
+ query?: never;
2896
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{id}';
2897
+ };
2898
+ export type AgentDeleteByIdErrors = {
2899
+ /**
2900
+ * Unauthorized - Authentication required
2901
+ */
2902
+ 401: {
2903
+ error?: {
2904
+ statusCode?: number;
2905
+ name?: string;
2906
+ message?: string;
2907
+ };
2908
+ };
2909
+ /**
2910
+ * Forbidden - Access denied
2911
+ */
2912
+ 403: {
2913
+ error?: {
2914
+ statusCode?: number;
2915
+ name?: string;
2916
+ message?: string;
2917
+ };
2918
+ };
2919
+ /**
2920
+ * Not Found - Agent not found
2921
+ */
2922
+ 404: {
2923
+ error?: {
2924
+ statusCode?: number;
2925
+ name?: string;
2926
+ message?: string;
2927
+ };
2928
+ };
2929
+ };
2930
+ export type AgentDeleteByIdError = AgentDeleteByIdErrors[keyof AgentDeleteByIdErrors];
2931
+ export type AgentDeleteByIdResponses = {
2932
+ /**
2933
+ * Agent DELETE success
2934
+ */
2935
+ 204: unknown;
2936
+ };
2937
+ export type AgentFindByIdData = {
2938
+ body?: never;
2939
+ path: {
2940
+ workspaceId: string;
2941
+ orchestrationId: string;
2942
+ id: string;
2943
+ };
2944
+ query?: never;
2945
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{id}';
2946
+ };
2947
+ export type AgentFindByIdErrors = {
2948
+ /**
2949
+ * Unauthorized - Authentication required
2950
+ */
2951
+ 401: {
2952
+ error?: {
2953
+ statusCode?: number;
2954
+ name?: string;
2955
+ message?: string;
2956
+ };
2957
+ };
2958
+ /**
2959
+ * Forbidden - Access denied
2960
+ */
2961
+ 403: {
2962
+ error?: {
2963
+ statusCode?: number;
2964
+ name?: string;
2965
+ message?: string;
2966
+ };
2967
+ };
2968
+ /**
2969
+ * Not Found - Agent not found
2970
+ */
2971
+ 404: {
2972
+ error?: {
2973
+ statusCode?: number;
2974
+ name?: string;
2975
+ message?: string;
2976
+ };
2977
+ };
2978
+ };
2979
+ export type AgentFindByIdError = AgentFindByIdErrors[keyof AgentFindByIdErrors];
2980
+ export type AgentFindByIdResponses = {
2981
+ /**
2982
+ * Agent model instance
2983
+ */
2984
+ 200: AgentWithRelations;
2985
+ };
2986
+ export type AgentFindByIdResponse = AgentFindByIdResponses[keyof AgentFindByIdResponses];
2987
+ export type AgentUpdateByIdData = {
2988
+ body?: AgentPartialExcludingIdOrchestration;
2989
+ path: {
2990
+ workspaceId: string;
2991
+ orchestrationId: string;
2992
+ id: string;
2993
+ };
2994
+ query?: never;
2995
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{id}';
2996
+ };
2997
+ export type AgentUpdateByIdErrors = {
2998
+ /**
2999
+ * Bad Request - Invalid input data
3000
+ */
3001
+ 400: {
3002
+ error?: {
3003
+ statusCode?: number;
3004
+ name?: string;
3005
+ message?: string;
3006
+ };
3007
+ };
3008
+ /**
3009
+ * Unauthorized - Authentication required
3010
+ */
3011
+ 401: {
3012
+ error?: {
3013
+ statusCode?: number;
3014
+ name?: string;
3015
+ message?: string;
3016
+ };
3017
+ };
3018
+ /**
3019
+ * Forbidden - Access denied
3020
+ */
3021
+ 403: {
3022
+ error?: {
3023
+ statusCode?: number;
3024
+ name?: string;
3025
+ message?: string;
3026
+ };
3027
+ };
3028
+ /**
3029
+ * Not Found - Agent not found
3030
+ */
3031
+ 404: {
3032
+ error?: {
3033
+ statusCode?: number;
3034
+ name?: string;
3035
+ message?: string;
3036
+ };
3037
+ };
3038
+ /**
3039
+ * Unprocessable Entity - Validation failed
3040
+ */
3041
+ 422: {
3042
+ error?: {
3043
+ statusCode?: number;
3044
+ name?: string;
3045
+ message?: string;
3046
+ };
3047
+ };
3048
+ };
3049
+ export type AgentUpdateByIdError = AgentUpdateByIdErrors[keyof AgentUpdateByIdErrors];
3050
+ export type AgentUpdateByIdResponses = {
3051
+ /**
3052
+ * Agent PATCH success
3053
+ */
3054
+ 204: unknown;
3055
+ };
3056
+ export type AgentFindByOrchestrationData = {
3057
+ body?: never;
3058
+ path: {
3059
+ workspaceId: string;
3060
+ orchestrationId: string;
3061
+ };
3062
+ query?: {
3063
+ limit?: number;
3064
+ offset?: number;
3065
+ };
3066
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents';
3067
+ };
3068
+ export type AgentFindByOrchestrationErrors = {
3069
+ /**
3070
+ * Unauthorized - Authentication required
3071
+ */
3072
+ 401: {
3073
+ error?: {
3074
+ statusCode?: number;
3075
+ name?: string;
3076
+ message?: string;
3077
+ };
3078
+ };
3079
+ /**
3080
+ * Forbidden - Access denied
3081
+ */
3082
+ 403: {
3083
+ error?: {
3084
+ statusCode?: number;
3085
+ name?: string;
3086
+ message?: string;
3087
+ };
3088
+ };
3089
+ };
3090
+ export type AgentFindByOrchestrationError = AgentFindByOrchestrationErrors[keyof AgentFindByOrchestrationErrors];
3091
+ export type AgentFindByOrchestrationResponses = {
3092
+ /**
3093
+ * Array of Agent model instances with pagination
3094
+ */
3095
+ 200: {
3096
+ agents?: Array<AgentWithRelations>;
3097
+ total?: number;
3098
+ limit?: number;
3099
+ offset?: number;
3100
+ };
3101
+ };
3102
+ export type AgentFindByOrchestrationResponse = AgentFindByOrchestrationResponses[keyof AgentFindByOrchestrationResponses];
3103
+ export type AgentCreateData = {
3104
+ body?: NewAgent;
3105
+ path: {
3106
+ workspaceId: string;
3107
+ orchestrationId: string;
3108
+ };
3109
+ query?: never;
3110
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents';
3111
+ };
3112
+ export type AgentCreateErrors = {
3113
+ /**
3114
+ * Bad Request - Invalid input data
3115
+ */
3116
+ 400: {
3117
+ error?: {
3118
+ statusCode?: number;
3119
+ name?: string;
3120
+ message?: string;
3121
+ };
3122
+ };
3123
+ /**
3124
+ * Unauthorized - Authentication required
3125
+ */
3126
+ 401: {
3127
+ error?: {
3128
+ statusCode?: number;
3129
+ name?: string;
3130
+ message?: string;
3131
+ };
3132
+ };
3133
+ /**
3134
+ * Unprocessable Entity - Validation failed
3135
+ */
3136
+ 422: {
3137
+ error?: {
3138
+ statusCode?: number;
3139
+ name?: string;
3140
+ message?: string;
3141
+ };
3142
+ };
3143
+ };
3144
+ export type AgentCreateError = AgentCreateErrors[keyof AgentCreateErrors];
3145
+ export type AgentCreateResponses = {
3146
+ /**
3147
+ * Agent model instance
3148
+ */
3149
+ 200: Agent;
3150
+ };
3151
+ export type AgentCreateResponse = AgentCreateResponses[keyof AgentCreateResponses];
3152
+ export type OrchestrationDeleteByIdData = {
3153
+ body?: never;
3154
+ path: {
3155
+ workspaceId: string;
3156
+ id: string;
3157
+ };
3158
+ query?: never;
3159
+ url: '/workspaces/{workspaceId}/orchestrations/{id}';
3160
+ };
3161
+ export type OrchestrationDeleteByIdErrors = {
3162
+ /**
3163
+ * Unauthorized - Authentication required
3164
+ */
3165
+ 401: {
3166
+ error?: {
3167
+ statusCode?: number;
3168
+ name?: string;
3169
+ message?: string;
3170
+ };
3171
+ };
3172
+ /**
3173
+ * Forbidden - Access denied
3174
+ */
3175
+ 403: {
3176
+ error?: {
3177
+ statusCode?: number;
3178
+ name?: string;
3179
+ message?: string;
3180
+ };
3181
+ };
3182
+ /**
3183
+ * Not Found - Orchestration not found
3184
+ */
3185
+ 404: {
3186
+ error?: {
3187
+ statusCode?: number;
3188
+ name?: string;
3189
+ message?: string;
3190
+ };
3191
+ };
3192
+ };
3193
+ export type OrchestrationDeleteByIdError = OrchestrationDeleteByIdErrors[keyof OrchestrationDeleteByIdErrors];
3194
+ export type OrchestrationDeleteByIdResponses = {
3195
+ /**
3196
+ * Orchestration DELETE success
3197
+ */
3198
+ 204: unknown;
3199
+ };
3200
+ export type OrchestrationFindByIdData = {
3201
+ body?: never;
3202
+ path: {
3203
+ workspaceId: string;
3204
+ id: string;
3205
+ };
3206
+ query?: never;
3207
+ url: '/workspaces/{workspaceId}/orchestrations/{id}';
3208
+ };
3209
+ export type OrchestrationFindByIdErrors = {
3210
+ /**
3211
+ * Unauthorized - Authentication required
3212
+ */
3213
+ 401: {
3214
+ error?: {
3215
+ statusCode?: number;
3216
+ name?: string;
3217
+ message?: string;
3218
+ };
3219
+ };
3220
+ /**
3221
+ * Forbidden - Access denied
3222
+ */
3223
+ 403: {
3224
+ error?: {
3225
+ statusCode?: number;
3226
+ name?: string;
3227
+ message?: string;
3228
+ };
3229
+ };
3230
+ /**
3231
+ * Not Found - Orchestration not found
3232
+ */
3233
+ 404: {
3234
+ error?: {
3235
+ statusCode?: number;
3236
+ name?: string;
3237
+ message?: string;
3238
+ };
3239
+ };
3240
+ };
3241
+ export type OrchestrationFindByIdError = OrchestrationFindByIdErrors[keyof OrchestrationFindByIdErrors];
3242
+ export type OrchestrationFindByIdResponses = {
3243
+ /**
3244
+ * Orchestration model instance
3245
+ */
3246
+ 200: OrchestrationWithRelations;
3247
+ };
3248
+ export type OrchestrationFindByIdResponse = OrchestrationFindByIdResponses[keyof OrchestrationFindByIdResponses];
3249
+ export type OrchestrationUpdateByIdData = {
3250
+ body?: OrchestrationPartialExcludingIdWorkspace;
3251
+ path: {
3252
+ workspaceId: string;
3253
+ id: string;
3254
+ };
3255
+ query?: never;
3256
+ url: '/workspaces/{workspaceId}/orchestrations/{id}';
3257
+ };
3258
+ export type OrchestrationUpdateByIdErrors = {
3259
+ /**
3260
+ * Bad Request - Invalid input data
3261
+ */
3262
+ 400: {
3263
+ error?: {
3264
+ statusCode?: number;
3265
+ name?: string;
3266
+ message?: string;
3267
+ };
3268
+ };
3269
+ /**
3270
+ * Unauthorized - Authentication required
3271
+ */
3272
+ 401: {
3273
+ error?: {
3274
+ statusCode?: number;
3275
+ name?: string;
3276
+ message?: string;
3277
+ };
3278
+ };
3279
+ /**
3280
+ * Forbidden - Access denied
3281
+ */
3282
+ 403: {
3283
+ error?: {
3284
+ statusCode?: number;
3285
+ name?: string;
3286
+ message?: string;
3287
+ };
3288
+ };
3289
+ /**
3290
+ * Not Found - Orchestration not found
3291
+ */
3292
+ 404: {
3293
+ error?: {
3294
+ statusCode?: number;
3295
+ name?: string;
3296
+ message?: string;
3297
+ };
3298
+ };
3299
+ /**
3300
+ * Unprocessable Entity - Validation failed
3301
+ */
3302
+ 422: {
3303
+ error?: {
3304
+ statusCode?: number;
3305
+ name?: string;
3306
+ message?: string;
3307
+ };
3308
+ };
3309
+ };
3310
+ export type OrchestrationUpdateByIdError = OrchestrationUpdateByIdErrors[keyof OrchestrationUpdateByIdErrors];
3311
+ export type OrchestrationUpdateByIdResponses = {
3312
+ /**
3313
+ * Orchestration PATCH success
3314
+ */
3315
+ 204: unknown;
3316
+ };
3317
+ export type OrchestrationFindByWorkspaceData = {
3318
+ body?: never;
3319
+ path: {
3320
+ workspaceId: string;
3321
+ };
3322
+ query?: {
3323
+ limit?: number;
3324
+ offset?: number;
3325
+ };
3326
+ url: '/workspaces/{workspaceId}/orchestrations';
3327
+ };
3328
+ export type OrchestrationFindByWorkspaceErrors = {
3329
+ /**
3330
+ * Unauthorized - Authentication required
3331
+ */
3332
+ 401: {
3333
+ error?: {
3334
+ statusCode?: number;
3335
+ name?: string;
3336
+ message?: string;
3337
+ };
3338
+ };
3339
+ /**
3340
+ * Forbidden - Access denied
3341
+ */
3342
+ 403: {
3343
+ error?: {
3344
+ statusCode?: number;
3345
+ name?: string;
3346
+ message?: string;
3347
+ };
3348
+ };
3349
+ };
3350
+ export type OrchestrationFindByWorkspaceError = OrchestrationFindByWorkspaceErrors[keyof OrchestrationFindByWorkspaceErrors];
3351
+ export type OrchestrationFindByWorkspaceResponses = {
3352
+ /**
3353
+ * Array of Orchestration model instances with pagination
3354
+ */
3355
+ 200: {
3356
+ orchestrations?: Array<OrchestrationWithRelations>;
3357
+ total?: number;
3358
+ limit?: number;
3359
+ offset?: number;
3360
+ };
3361
+ };
3362
+ export type OrchestrationFindByWorkspaceResponse = OrchestrationFindByWorkspaceResponses[keyof OrchestrationFindByWorkspaceResponses];
3363
+ export type OrchestrationCreateData = {
3364
+ body?: NewOrchestration;
3365
+ path: {
3366
+ workspaceId: string;
3367
+ };
3368
+ query?: never;
3369
+ url: '/workspaces/{workspaceId}/orchestrations';
3370
+ };
3371
+ export type OrchestrationCreateErrors = {
3372
+ /**
3373
+ * Bad Request - Invalid input data
3374
+ */
3375
+ 400: {
3376
+ error?: {
3377
+ statusCode?: number;
3378
+ name?: string;
3379
+ message?: string;
3380
+ };
3381
+ };
3382
+ /**
3383
+ * Unauthorized - Authentication required
3384
+ */
3385
+ 401: {
3386
+ error?: {
3387
+ statusCode?: number;
3388
+ name?: string;
3389
+ message?: string;
3390
+ };
3391
+ };
3392
+ /**
3393
+ * Unprocessable Entity - Validation failed
3394
+ */
3395
+ 422: {
3396
+ error?: {
3397
+ statusCode?: number;
3398
+ name?: string;
3399
+ message?: string;
3400
+ };
3401
+ };
3402
+ };
3403
+ export type OrchestrationCreateError = OrchestrationCreateErrors[keyof OrchestrationCreateErrors];
3404
+ export type OrchestrationCreateResponses = {
3405
+ /**
3406
+ * Orchestration model instance
3407
+ */
3408
+ 200: Orchestration;
3409
+ };
3410
+ export type OrchestrationCreateResponse = OrchestrationCreateResponses[keyof OrchestrationCreateResponses];
3411
+ export type WorkspaceDeleteByIdData = {
3412
+ body?: never;
3413
+ path: {
3414
+ id: string;
3415
+ };
3416
+ query?: never;
3417
+ url: '/workspaces/{id}';
3418
+ };
3419
+ export type WorkspaceDeleteByIdErrors = {
3420
+ /**
3421
+ * Unauthorized - Authentication required
3422
+ */
3423
+ 401: {
3424
+ error?: {
3425
+ statusCode?: number;
3426
+ name?: string;
3427
+ message?: string;
3428
+ };
3429
+ };
3430
+ /**
3431
+ * Forbidden - Access denied
3432
+ */
3433
+ 403: {
3434
+ error?: {
3435
+ statusCode?: number;
3436
+ name?: string;
3437
+ message?: string;
3438
+ };
3439
+ };
3440
+ /**
3441
+ * Not Found - Workspace not found
3442
+ */
3443
+ 404: {
3444
+ error?: {
3445
+ statusCode?: number;
3446
+ name?: string;
3447
+ message?: string;
3448
+ };
3449
+ };
3450
+ };
3451
+ export type WorkspaceDeleteByIdError = WorkspaceDeleteByIdErrors[keyof WorkspaceDeleteByIdErrors];
3452
+ export type WorkspaceDeleteByIdResponses = {
3453
+ /**
3454
+ * Workspace DELETE success
3455
+ */
3456
+ 204: unknown;
3457
+ };
3458
+ export type WorkspaceFindByIdData = {
3459
+ body?: never;
3460
+ path: {
3461
+ id: string;
3462
+ };
3463
+ query?: never;
3464
+ url: '/workspaces/{id}';
3465
+ };
3466
+ export type WorkspaceFindByIdErrors = {
3467
+ /**
3468
+ * Unauthorized - Authentication required
3469
+ */
3470
+ 401: {
3471
+ error?: {
3472
+ statusCode?: number;
3473
+ name?: string;
3474
+ message?: string;
3475
+ };
3476
+ };
3477
+ /**
3478
+ * Forbidden - Access denied
3479
+ */
3480
+ 403: {
3481
+ error?: {
3482
+ statusCode?: number;
3483
+ name?: string;
3484
+ message?: string;
3485
+ };
3486
+ };
3487
+ /**
3488
+ * Not Found - Workspace not found
3489
+ */
3490
+ 404: {
3491
+ error?: {
3492
+ statusCode?: number;
3493
+ name?: string;
3494
+ message?: string;
3495
+ };
3496
+ };
3497
+ };
3498
+ export type WorkspaceFindByIdError = WorkspaceFindByIdErrors[keyof WorkspaceFindByIdErrors];
3499
+ export type WorkspaceFindByIdResponses = {
3500
+ /**
3501
+ * Workspace model instance
3502
+ */
3503
+ 200: WorkspaceWithRelations;
3504
+ };
3505
+ export type WorkspaceFindByIdResponse = WorkspaceFindByIdResponses[keyof WorkspaceFindByIdResponses];
3506
+ export type WorkspaceUpdateByIdData = {
3507
+ body?: WorkspacePartialExcludingIdOwnerTimeCreatedLastEdited;
3508
+ path: {
3509
+ id: string;
3510
+ };
3511
+ query?: never;
3512
+ url: '/workspaces/{id}';
3513
+ };
3514
+ export type WorkspaceUpdateByIdErrors = {
3515
+ /**
3516
+ * Bad Request - Invalid input data
3517
+ */
3518
+ 400: {
3519
+ error?: {
3520
+ statusCode?: number;
3521
+ name?: string;
3522
+ message?: string;
3523
+ };
3524
+ };
3525
+ /**
3526
+ * Unauthorized - Authentication required
3527
+ */
3528
+ 401: {
3529
+ error?: {
3530
+ statusCode?: number;
3531
+ name?: string;
3532
+ message?: string;
3533
+ };
3534
+ };
3535
+ /**
3536
+ * Forbidden - Access denied
3537
+ */
3538
+ 403: {
3539
+ error?: {
3540
+ statusCode?: number;
3541
+ name?: string;
3542
+ message?: string;
3543
+ };
3544
+ };
3545
+ /**
3546
+ * Not Found - Workspace not found
3547
+ */
3548
+ 404: {
3549
+ error?: {
3550
+ statusCode?: number;
3551
+ name?: string;
3552
+ message?: string;
3553
+ };
3554
+ };
3555
+ /**
3556
+ * Unprocessable Entity - Validation failed
3557
+ */
3558
+ 422: {
3559
+ error?: {
3560
+ statusCode?: number;
3561
+ name?: string;
3562
+ message?: string;
3563
+ };
3564
+ };
3565
+ };
3566
+ export type WorkspaceUpdateByIdError = WorkspaceUpdateByIdErrors[keyof WorkspaceUpdateByIdErrors];
3567
+ export type WorkspaceUpdateByIdResponses = {
3568
+ /**
3569
+ * Workspace PATCH success
3570
+ */
3571
+ 204: unknown;
3572
+ };
3573
+ export type WorkspaceFindData = {
3574
+ body?: never;
3575
+ path?: never;
3576
+ query?: {
3577
+ limit?: number;
3578
+ offset?: number;
3579
+ };
3580
+ url: '/workspaces';
3581
+ };
3582
+ export type WorkspaceFindErrors = {
3583
+ /**
3584
+ * Unauthorized - Authentication required
3585
+ */
3586
+ 401: {
3587
+ error?: {
3588
+ statusCode?: number;
3589
+ name?: string;
3590
+ message?: string;
3591
+ };
3592
+ };
3593
+ };
3594
+ export type WorkspaceFindError = WorkspaceFindErrors[keyof WorkspaceFindErrors];
3595
+ export type WorkspaceFindResponses = {
3596
+ /**
3597
+ * Array of Workspace model instances with pagination
3598
+ */
3599
+ 200: {
3600
+ workspaces?: Array<WorkspaceWithRelations>;
3601
+ total?: number;
3602
+ limit?: number;
3603
+ offset?: number;
3604
+ };
3605
+ };
3606
+ export type WorkspaceFindResponse = WorkspaceFindResponses[keyof WorkspaceFindResponses];
3607
+ export type WorkspaceCreateData = {
3608
+ body?: NewWorkspace;
3609
+ path?: never;
3610
+ query?: never;
3611
+ url: '/workspaces';
3612
+ };
3613
+ export type WorkspaceCreateErrors = {
3614
+ /**
3615
+ * Bad Request - Invalid input data
3616
+ */
3617
+ 400: {
3618
+ error?: {
3619
+ statusCode?: number;
3620
+ name?: string;
3621
+ message?: string;
3622
+ };
3623
+ };
3624
+ /**
3625
+ * Unauthorized - Authentication required
3626
+ */
3627
+ 401: {
3628
+ error?: {
3629
+ statusCode?: number;
3630
+ name?: string;
3631
+ message?: string;
3632
+ };
3633
+ };
3634
+ /**
3635
+ * Unprocessable Entity - Validation failed
3636
+ */
3637
+ 422: {
3638
+ error?: {
3639
+ statusCode?: number;
3640
+ name?: string;
3641
+ message?: string;
3642
+ };
3643
+ };
3644
+ };
3645
+ export type WorkspaceCreateError = WorkspaceCreateErrors[keyof WorkspaceCreateErrors];
3646
+ export type WorkspaceCreateResponses = {
3647
+ /**
3648
+ * Workspace model instance
3649
+ */
3650
+ 200: Workspace;
3651
+ };
3652
+ export type WorkspaceCreateResponse = WorkspaceCreateResponses[keyof WorkspaceCreateResponses];
3653
+ //# sourceMappingURL=types.gen.d.ts.map