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