@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,683 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { client } from './client.gen.js';
3
+ export const accessFindByPrincipal = (options) => {
4
+ var _a;
5
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
6
+ responseType: 'json',
7
+ security: [{ scheme: 'bearer', type: 'http' }],
8
+ url: '/access/principal',
9
+ ...options
10
+ });
11
+ };
12
+ export const accessDeleteById = (options) => {
13
+ var _a;
14
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).delete({
15
+ responseType: 'json',
16
+ security: [{ scheme: 'bearer', type: 'http' }],
17
+ url: '/access/{id}',
18
+ ...options
19
+ });
20
+ };
21
+ export const accessFindById = (options) => {
22
+ var _a;
23
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
24
+ responseType: 'json',
25
+ security: [{ scheme: 'bearer', type: 'http' }],
26
+ url: '/access/{id}',
27
+ ...options
28
+ });
29
+ };
30
+ export const accessFind = (options) => {
31
+ var _a;
32
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
33
+ responseType: 'json',
34
+ security: [{ scheme: 'bearer', type: 'http' }],
35
+ url: '/access',
36
+ ...options
37
+ });
38
+ };
39
+ export const accessCreate = (options) => {
40
+ var _a;
41
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
42
+ responseType: 'json',
43
+ security: [{ scheme: 'bearer', type: 'http' }],
44
+ url: '/access',
45
+ ...options,
46
+ headers: {
47
+ 'Content-Type': 'application/json',
48
+ ...options === null || options === void 0 ? void 0 : options.headers
49
+ }
50
+ });
51
+ };
52
+ export const applicationFindVisibleById = (options) => {
53
+ var _a;
54
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
55
+ responseType: 'json',
56
+ security: [{ scheme: 'bearer', type: 'http' }],
57
+ url: '/applications/visible/{id}',
58
+ ...options
59
+ });
60
+ };
61
+ export const applicationFindVisible = (options) => {
62
+ var _a;
63
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
64
+ responseType: 'json',
65
+ security: [{ scheme: 'bearer', type: 'http' }],
66
+ url: '/applications/visible',
67
+ ...options
68
+ });
69
+ };
70
+ export const applicationDeleteById = (options) => {
71
+ var _a;
72
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).delete({
73
+ responseType: 'json',
74
+ security: [{ scheme: 'bearer', type: 'http' }],
75
+ url: '/applications/{id}',
76
+ ...options
77
+ });
78
+ };
79
+ export const applicationFindById = (options) => {
80
+ var _a;
81
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
82
+ responseType: 'json',
83
+ security: [{ scheme: 'bearer', type: 'http' }],
84
+ url: '/applications/{id}',
85
+ ...options
86
+ });
87
+ };
88
+ export const applicationUpdateById = (options) => {
89
+ var _a;
90
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).patch({
91
+ responseType: 'json',
92
+ security: [{ scheme: 'bearer', type: 'http' }],
93
+ url: '/applications/{id}',
94
+ ...options,
95
+ headers: {
96
+ 'Content-Type': 'application/json',
97
+ ...options.headers
98
+ }
99
+ });
100
+ };
101
+ export const applicationFind = (options) => {
102
+ var _a;
103
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
104
+ responseType: 'json',
105
+ security: [{ scheme: 'bearer', type: 'http' }],
106
+ url: '/applications',
107
+ ...options
108
+ });
109
+ };
110
+ export const applicationCreate = (options) => {
111
+ var _a;
112
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
113
+ responseType: 'json',
114
+ security: [{ scheme: 'bearer', type: 'http' }],
115
+ url: '/applications',
116
+ ...options,
117
+ headers: {
118
+ 'Content-Type': 'application/json',
119
+ ...options === null || options === void 0 ? void 0 : options.headers
120
+ }
121
+ });
122
+ };
123
+ export const authMintToken = (options) => {
124
+ var _a;
125
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).post({
126
+ responseType: 'text',
127
+ security: [{ scheme: 'bearer', type: 'http' }],
128
+ url: '/auth/mint-token/{uid}',
129
+ ...options
130
+ });
131
+ };
132
+ export const dayPassTransactionFind = (options) => {
133
+ var _a;
134
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
135
+ responseType: 'json',
136
+ security: [{ scheme: 'bearer', type: 'http' }],
137
+ url: '/day-pass-transactions',
138
+ ...options
139
+ });
140
+ };
141
+ export const llmKeysFindById = (options) => {
142
+ var _a;
143
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
144
+ responseType: 'json',
145
+ security: [{ scheme: 'bearer', type: 'http' }],
146
+ url: '/llm-keys/{id}',
147
+ ...options
148
+ });
149
+ };
150
+ export const llmKeysUpdateById = (options) => {
151
+ var _a;
152
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).patch({
153
+ responseType: 'json',
154
+ security: [{ scheme: 'bearer', type: 'http' }],
155
+ url: '/llm-keys/{id}',
156
+ ...options,
157
+ headers: {
158
+ 'Content-Type': 'application/json',
159
+ ...options.headers
160
+ }
161
+ });
162
+ };
163
+ export const llmKeysFind = (options) => {
164
+ var _a;
165
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
166
+ responseType: 'json',
167
+ security: [{ scheme: 'bearer', type: 'http' }],
168
+ url: '/llm-keys',
169
+ ...options
170
+ });
171
+ };
172
+ export const llmKeysCreate = (options) => {
173
+ var _a;
174
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
175
+ responseType: 'json',
176
+ security: [{ scheme: 'bearer', type: 'http' }],
177
+ url: '/llm-keys',
178
+ ...options,
179
+ headers: {
180
+ 'Content-Type': 'application/json',
181
+ ...options === null || options === void 0 ? void 0 : options.headers
182
+ }
183
+ });
184
+ };
185
+ export const llmFindById = (options) => {
186
+ var _a;
187
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
188
+ responseType: 'json',
189
+ security: [{ scheme: 'bearer', type: 'http' }],
190
+ url: '/llms/{id}',
191
+ ...options
192
+ });
193
+ };
194
+ export const llmFind = (options) => {
195
+ var _a;
196
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
197
+ responseType: 'json',
198
+ security: [{ scheme: 'bearer', type: 'http' }],
199
+ url: '/llms',
200
+ ...options
201
+ });
202
+ };
203
+ export const oAuthConsent = (options) => {
204
+ var _a;
205
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
206
+ responseType: 'json',
207
+ security: [{ scheme: 'bearer', type: 'http' }],
208
+ url: '/oauth/authorize/consent',
209
+ ...options,
210
+ headers: {
211
+ 'Content-Type': 'application/json',
212
+ ...options === null || options === void 0 ? void 0 : options.headers
213
+ }
214
+ });
215
+ };
216
+ export const oAuthForgotPassword = (options) => {
217
+ var _a;
218
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
219
+ responseType: 'json',
220
+ security: [{ scheme: 'bearer', type: 'http' }],
221
+ url: '/oauth/authorize/forgot-password',
222
+ ...options,
223
+ headers: {
224
+ 'Content-Type': 'application/json',
225
+ ...options === null || options === void 0 ? void 0 : options.headers
226
+ }
227
+ });
228
+ };
229
+ export const oAuthLogin = (options) => {
230
+ var _a;
231
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
232
+ responseType: 'json',
233
+ security: [{ scheme: 'bearer', type: 'http' }],
234
+ url: '/oauth/authorize/login',
235
+ ...options,
236
+ headers: {
237
+ 'Content-Type': 'application/json',
238
+ ...options === null || options === void 0 ? void 0 : options.headers
239
+ }
240
+ });
241
+ };
242
+ export const oAuthSignup = (options) => {
243
+ var _a;
244
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
245
+ responseType: 'json',
246
+ security: [{ scheme: 'bearer', type: 'http' }],
247
+ url: '/oauth/authorize/signup',
248
+ ...options,
249
+ headers: {
250
+ 'Content-Type': 'application/json',
251
+ ...options === null || options === void 0 ? void 0 : options.headers
252
+ }
253
+ });
254
+ };
255
+ export const oAuthAuthorize = (options) => {
256
+ var _a;
257
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
258
+ security: [{ scheme: 'bearer', type: 'http' }],
259
+ url: '/oauth/authorize',
260
+ ...options
261
+ });
262
+ };
263
+ export const oAuthToken = (options) => {
264
+ var _a;
265
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
266
+ responseType: 'json',
267
+ security: [{ scheme: 'bearer', type: 'http' }],
268
+ url: '/oauth/token',
269
+ ...options,
270
+ headers: {
271
+ 'Content-Type': 'application/json',
272
+ ...options === null || options === void 0 ? void 0 : options.headers
273
+ }
274
+ });
275
+ };
276
+ export const pingPing = (options) => {
277
+ var _a;
278
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
279
+ responseType: 'json',
280
+ security: [{ scheme: 'bearer', type: 'http' }],
281
+ url: '/ping',
282
+ ...options
283
+ });
284
+ };
285
+ export const serviceFindById = (options) => {
286
+ var _a;
287
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
288
+ responseType: 'json',
289
+ security: [{ scheme: 'bearer', type: 'http' }],
290
+ url: '/services/{id}',
291
+ ...options
292
+ });
293
+ };
294
+ export const serviceFind = (options) => {
295
+ var _a;
296
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
297
+ responseType: 'json',
298
+ security: [{ scheme: 'bearer', type: 'http' }],
299
+ url: '/services',
300
+ ...options
301
+ });
302
+ };
303
+ export const userGetCurrentUser = (options) => {
304
+ var _a;
305
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
306
+ responseType: 'json',
307
+ security: [{ scheme: 'bearer', type: 'http' }],
308
+ url: '/users/me',
309
+ ...options
310
+ });
311
+ };
312
+ export const endpointDeleteById = (options) => {
313
+ var _a;
314
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).delete({
315
+ responseType: 'json',
316
+ security: [{ scheme: 'bearer', type: 'http' }],
317
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/endpoints/{id}',
318
+ ...options
319
+ });
320
+ };
321
+ export const endpointFindById = (options) => {
322
+ var _a;
323
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
324
+ responseType: 'json',
325
+ security: [{ scheme: 'bearer', type: 'http' }],
326
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/endpoints/{id}',
327
+ ...options
328
+ });
329
+ };
330
+ export const endpointUpdateById = (options) => {
331
+ var _a;
332
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).patch({
333
+ responseType: 'json',
334
+ security: [{ scheme: 'bearer', type: 'http' }],
335
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/endpoints/{id}',
336
+ ...options,
337
+ headers: {
338
+ 'Content-Type': 'application/json',
339
+ ...options.headers
340
+ }
341
+ });
342
+ };
343
+ export const endpointFindByAgent = (options) => {
344
+ var _a;
345
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
346
+ responseType: 'json',
347
+ security: [{ scheme: 'bearer', type: 'http' }],
348
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/endpoints',
349
+ ...options
350
+ });
351
+ };
352
+ export const endpointCreate = (options) => {
353
+ var _a;
354
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).post({
355
+ responseType: 'json',
356
+ security: [{ scheme: 'bearer', type: 'http' }],
357
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/endpoints',
358
+ ...options,
359
+ headers: {
360
+ 'Content-Type': 'application/json',
361
+ ...options.headers
362
+ }
363
+ });
364
+ };
365
+ export const layerDeleteById = (options) => {
366
+ var _a;
367
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).delete({
368
+ responseType: 'json',
369
+ security: [{ scheme: 'bearer', type: 'http' }],
370
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{id}',
371
+ ...options
372
+ });
373
+ };
374
+ export const layerFindById = (options) => {
375
+ var _a;
376
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
377
+ responseType: 'json',
378
+ security: [{ scheme: 'bearer', type: 'http' }],
379
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{id}',
380
+ ...options
381
+ });
382
+ };
383
+ export const layerUpdateById = (options) => {
384
+ var _a;
385
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).patch({
386
+ responseType: 'json',
387
+ security: [{ scheme: 'bearer', type: 'http' }],
388
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{id}',
389
+ ...options,
390
+ headers: {
391
+ 'Content-Type': 'application/json',
392
+ ...options.headers
393
+ }
394
+ });
395
+ };
396
+ export const layerFindByAgent = (options) => {
397
+ var _a;
398
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
399
+ responseType: 'json',
400
+ security: [{ scheme: 'bearer', type: 'http' }],
401
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers',
402
+ ...options
403
+ });
404
+ };
405
+ export const layerCreate = (options) => {
406
+ var _a;
407
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).post({
408
+ responseType: 'json',
409
+ security: [{ scheme: 'bearer', type: 'http' }],
410
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers',
411
+ ...options,
412
+ headers: {
413
+ 'Content-Type': 'application/json',
414
+ ...options.headers
415
+ }
416
+ });
417
+ };
418
+ export const linkDeleteById = (options) => {
419
+ var _a;
420
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).delete({
421
+ responseType: 'json',
422
+ security: [{ scheme: 'bearer', type: 'http' }],
423
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/links/{id}',
424
+ ...options
425
+ });
426
+ };
427
+ export const linkFindById = (options) => {
428
+ var _a;
429
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
430
+ responseType: 'json',
431
+ security: [{ scheme: 'bearer', type: 'http' }],
432
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/links/{id}',
433
+ ...options
434
+ });
435
+ };
436
+ export const linkUpdateById = (options) => {
437
+ var _a;
438
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).patch({
439
+ responseType: 'json',
440
+ security: [{ scheme: 'bearer', type: 'http' }],
441
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/links/{id}',
442
+ ...options,
443
+ headers: {
444
+ 'Content-Type': 'application/json',
445
+ ...options.headers
446
+ }
447
+ });
448
+ };
449
+ export const linkFindByAgent = (options) => {
450
+ var _a;
451
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
452
+ responseType: 'json',
453
+ security: [{ scheme: 'bearer', type: 'http' }],
454
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/links',
455
+ ...options
456
+ });
457
+ };
458
+ export const linkCreate = (options) => {
459
+ var _a;
460
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).post({
461
+ responseType: 'json',
462
+ security: [{ scheme: 'bearer', type: 'http' }],
463
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/links',
464
+ ...options,
465
+ headers: {
466
+ 'Content-Type': 'application/json',
467
+ ...options.headers
468
+ }
469
+ });
470
+ };
471
+ export const settingDeleteById = (options) => {
472
+ var _a;
473
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).delete({
474
+ responseType: 'json',
475
+ security: [{ scheme: 'bearer', type: 'http' }],
476
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/settings/{id}',
477
+ ...options
478
+ });
479
+ };
480
+ export const settingFindById = (options) => {
481
+ var _a;
482
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
483
+ responseType: 'json',
484
+ security: [{ scheme: 'bearer', type: 'http' }],
485
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/settings/{id}',
486
+ ...options
487
+ });
488
+ };
489
+ export const settingUpdateById = (options) => {
490
+ var _a;
491
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).patch({
492
+ responseType: 'json',
493
+ security: [{ scheme: 'bearer', type: 'http' }],
494
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/settings/{id}',
495
+ ...options,
496
+ headers: {
497
+ 'Content-Type': 'application/json',
498
+ ...options.headers
499
+ }
500
+ });
501
+ };
502
+ export const settingFindByAgent = (options) => {
503
+ var _a;
504
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
505
+ responseType: 'json',
506
+ security: [{ scheme: 'bearer', type: 'http' }],
507
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/settings',
508
+ ...options
509
+ });
510
+ };
511
+ export const settingCreate = (options) => {
512
+ var _a;
513
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).post({
514
+ responseType: 'json',
515
+ security: [{ scheme: 'bearer', type: 'http' }],
516
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/settings',
517
+ ...options,
518
+ headers: {
519
+ 'Content-Type': 'application/json',
520
+ ...options.headers
521
+ }
522
+ });
523
+ };
524
+ export const agentDeleteById = (options) => {
525
+ var _a;
526
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).delete({
527
+ responseType: 'json',
528
+ security: [{ scheme: 'bearer', type: 'http' }],
529
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{id}',
530
+ ...options
531
+ });
532
+ };
533
+ export const agentFindById = (options) => {
534
+ var _a;
535
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
536
+ responseType: 'json',
537
+ security: [{ scheme: 'bearer', type: 'http' }],
538
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{id}',
539
+ ...options
540
+ });
541
+ };
542
+ export const agentUpdateById = (options) => {
543
+ var _a;
544
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).patch({
545
+ responseType: 'json',
546
+ security: [{ scheme: 'bearer', type: 'http' }],
547
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{id}',
548
+ ...options,
549
+ headers: {
550
+ 'Content-Type': 'application/json',
551
+ ...options.headers
552
+ }
553
+ });
554
+ };
555
+ export const agentFindByOrchestration = (options) => {
556
+ var _a;
557
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
558
+ responseType: 'json',
559
+ security: [{ scheme: 'bearer', type: 'http' }],
560
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents',
561
+ ...options
562
+ });
563
+ };
564
+ export const agentCreate = (options) => {
565
+ var _a;
566
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).post({
567
+ responseType: 'json',
568
+ security: [{ scheme: 'bearer', type: 'http' }],
569
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents',
570
+ ...options,
571
+ headers: {
572
+ 'Content-Type': 'application/json',
573
+ ...options.headers
574
+ }
575
+ });
576
+ };
577
+ export const orchestrationDeleteById = (options) => {
578
+ var _a;
579
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).delete({
580
+ responseType: 'json',
581
+ security: [{ scheme: 'bearer', type: 'http' }],
582
+ url: '/workspaces/{workspaceId}/orchestrations/{id}',
583
+ ...options
584
+ });
585
+ };
586
+ export const orchestrationFindById = (options) => {
587
+ var _a;
588
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
589
+ responseType: 'json',
590
+ security: [{ scheme: 'bearer', type: 'http' }],
591
+ url: '/workspaces/{workspaceId}/orchestrations/{id}',
592
+ ...options
593
+ });
594
+ };
595
+ export const orchestrationUpdateById = (options) => {
596
+ var _a;
597
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).patch({
598
+ responseType: 'json',
599
+ security: [{ scheme: 'bearer', type: 'http' }],
600
+ url: '/workspaces/{workspaceId}/orchestrations/{id}',
601
+ ...options,
602
+ headers: {
603
+ 'Content-Type': 'application/json',
604
+ ...options.headers
605
+ }
606
+ });
607
+ };
608
+ export const orchestrationFindByWorkspace = (options) => {
609
+ var _a;
610
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
611
+ responseType: 'json',
612
+ security: [{ scheme: 'bearer', type: 'http' }],
613
+ url: '/workspaces/{workspaceId}/orchestrations',
614
+ ...options
615
+ });
616
+ };
617
+ export const orchestrationCreate = (options) => {
618
+ var _a;
619
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).post({
620
+ responseType: 'json',
621
+ security: [{ scheme: 'bearer', type: 'http' }],
622
+ url: '/workspaces/{workspaceId}/orchestrations',
623
+ ...options,
624
+ headers: {
625
+ 'Content-Type': 'application/json',
626
+ ...options.headers
627
+ }
628
+ });
629
+ };
630
+ export const workspaceDeleteById = (options) => {
631
+ var _a;
632
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).delete({
633
+ responseType: 'json',
634
+ security: [{ scheme: 'bearer', type: 'http' }],
635
+ url: '/workspaces/{id}',
636
+ ...options
637
+ });
638
+ };
639
+ export const workspaceFindById = (options) => {
640
+ var _a;
641
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
642
+ responseType: 'json',
643
+ security: [{ scheme: 'bearer', type: 'http' }],
644
+ url: '/workspaces/{id}',
645
+ ...options
646
+ });
647
+ };
648
+ export const workspaceUpdateById = (options) => {
649
+ var _a;
650
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client).patch({
651
+ responseType: 'json',
652
+ security: [{ scheme: 'bearer', type: 'http' }],
653
+ url: '/workspaces/{id}',
654
+ ...options,
655
+ headers: {
656
+ 'Content-Type': 'application/json',
657
+ ...options.headers
658
+ }
659
+ });
660
+ };
661
+ export const workspaceFind = (options) => {
662
+ var _a;
663
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
664
+ responseType: 'json',
665
+ security: [{ scheme: 'bearer', type: 'http' }],
666
+ url: '/workspaces',
667
+ ...options
668
+ });
669
+ };
670
+ export const workspaceCreate = (options) => {
671
+ var _a;
672
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
673
+ responseType: 'json',
674
+ security: [{ scheme: 'bearer', type: 'http' }],
675
+ url: '/workspaces',
676
+ ...options,
677
+ headers: {
678
+ 'Content-Type': 'application/json',
679
+ ...options === null || options === void 0 ? void 0 : options.headers
680
+ }
681
+ });
682
+ };
683
+ //# sourceMappingURL=sdk.gen.js.map