@osaas/client-services 0.12.0 → 0.13.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 (76) hide show
  1. package/lib/generated/ablindberg-chaosmaker.d.ts +575 -0
  2. package/lib/generated/ablindberg-chaosmaker.d.ts.map +1 -0
  3. package/lib/generated/ablindberg-chaosmaker.js +86 -0
  4. package/lib/generated/ablindberg-chaosmaker.js.map +1 -0
  5. package/lib/generated/apache-couchdb.d.ts +1 -1
  6. package/lib/generated/apache-couchdb.js +1 -1
  7. package/lib/generated/birme-bucket-commander.d.ts +566 -0
  8. package/lib/generated/birme-bucket-commander.d.ts.map +1 -0
  9. package/lib/generated/birme-bucket-commander.js +87 -0
  10. package/lib/generated/birme-bucket-commander.js.map +1 -0
  11. package/lib/generated/birme-video-uploader.d.ts +4 -4
  12. package/lib/generated/birme-video-uploader.js +4 -4
  13. package/lib/generated/channel-engine.d.ts +4 -4
  14. package/lib/generated/eyevinn-channel-scheduler.d.ts +566 -0
  15. package/lib/generated/eyevinn-channel-scheduler.d.ts.map +1 -0
  16. package/lib/generated/eyevinn-channel-scheduler.js +87 -0
  17. package/lib/generated/eyevinn-channel-scheduler.js.map +1 -0
  18. package/lib/generated/eyevinn-encore-callback-listener.d.ts +231 -5
  19. package/lib/generated/eyevinn-encore-callback-listener.d.ts.map +1 -1
  20. package/lib/generated/eyevinn-encore-callback-listener.js.map +1 -1
  21. package/lib/generated/eyevinn-encore-packager.d.ts +7 -0
  22. package/lib/generated/eyevinn-encore-packager.d.ts.map +1 -1
  23. package/lib/generated/eyevinn-encore-packager.js +1 -0
  24. package/lib/generated/eyevinn-encore-packager.js.map +1 -1
  25. package/lib/generated/eyevinn-encore-ui.d.ts +7 -0
  26. package/lib/generated/eyevinn-encore-ui.d.ts.map +1 -1
  27. package/lib/generated/eyevinn-encore-ui.js +1 -0
  28. package/lib/generated/eyevinn-encore-ui.js.map +1 -1
  29. package/lib/generated/eyevinn-intercom-manager.d.ts +1 -1
  30. package/lib/generated/eyevinn-intercom-manager.js +1 -1
  31. package/lib/generated/eyevinn-player-analytics-eventsink.d.ts +113 -0
  32. package/lib/generated/eyevinn-player-analytics-eventsink.d.ts.map +1 -1
  33. package/lib/generated/eyevinn-player-analytics-eventsink.js.map +1 -1
  34. package/lib/generated/eyevinn-player-analytics-worker.d.ts +127 -0
  35. package/lib/generated/eyevinn-player-analytics-worker.d.ts.map +1 -1
  36. package/lib/generated/eyevinn-player-analytics-worker.js +2 -0
  37. package/lib/generated/eyevinn-player-analytics-worker.js.map +1 -1
  38. package/lib/generated/eyevinn-web-video-review.d.ts +601 -0
  39. package/lib/generated/eyevinn-web-video-review.d.ts.map +1 -0
  40. package/lib/generated/eyevinn-web-video-review.js +92 -0
  41. package/lib/generated/eyevinn-web-video-review.js.map +1 -0
  42. package/lib/generated/grafana-grafana.d.ts +221 -5
  43. package/lib/generated/grafana-grafana.d.ts.map +1 -1
  44. package/lib/generated/grafana-grafana.js +2 -0
  45. package/lib/generated/grafana-grafana.js.map +1 -1
  46. package/lib/generated/grusell-encore-profile-server.d.ts +631 -0
  47. package/lib/generated/grusell-encore-profile-server.d.ts.map +1 -0
  48. package/lib/generated/grusell-encore-profile-server.js +94 -0
  49. package/lib/generated/grusell-encore-profile-server.js.map +1 -0
  50. package/lib/generated/locustio-locust.d.ts +566 -0
  51. package/lib/generated/locustio-locust.d.ts.map +1 -0
  52. package/lib/generated/locustio-locust.js +87 -0
  53. package/lib/generated/locustio-locust.js.map +1 -0
  54. package/lib/generated/minio-minio.d.ts +25 -2
  55. package/lib/generated/minio-minio.d.ts.map +1 -1
  56. package/lib/generated/minio-minio.js +2 -2
  57. package/lib/generated/minio-minio.js.map +1 -1
  58. package/lib/generated/nextcloud-server.d.ts +580 -0
  59. package/lib/generated/nextcloud-server.d.ts.map +1 -0
  60. package/lib/generated/nextcloud-server.js +89 -0
  61. package/lib/generated/nextcloud-server.js.map +1 -0
  62. package/lib/generated/nolltre-lab-test-prep-quiz.d.ts +575 -0
  63. package/lib/generated/nolltre-lab-test-prep-quiz.d.ts.map +1 -0
  64. package/lib/generated/nolltre-lab-test-prep-quiz.js +86 -0
  65. package/lib/generated/nolltre-lab-test-prep-quiz.js.map +1 -0
  66. package/lib/generated/poundifdef-smoothmq.d.ts +245 -5
  67. package/lib/generated/poundifdef-smoothmq.d.ts.map +1 -1
  68. package/lib/generated/poundifdef-smoothmq.js.map +1 -1
  69. package/lib/generated/valkey-io-valkey.d.ts +227 -5
  70. package/lib/generated/valkey-io-valkey.d.ts.map +1 -1
  71. package/lib/generated/valkey-io-valkey.js.map +1 -1
  72. package/lib/index.d.ts +9 -2
  73. package/lib/index.d.ts.map +1 -1
  74. package/lib/index.js +44 -16
  75. package/lib/index.js.map +1 -1
  76. package/package.json +3 -3
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by openapi-typescript.
4
+ * Do not make direct changes to the file.
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.getGrusellEncoreProfileServerInstance = exports.removeGrusellEncoreProfileServerInstance = exports.createGrusellEncoreProfileServerInstance = void 0;
8
+ const client_core_1 = require("@osaas/client-core");
9
+ /**
10
+ * @namespace grusell-encore-profile-server
11
+ * @description Transform your video processing with the Encore Profile Server. Serve dynamic transcoding profiles directly from S3-compatible storage, seamlessly integrating AI capabilities for on-demand profile creation.
12
+ * @author Eyevinn Technology AB <osc@eyevinn.se>
13
+ * @copyright 2025 Eyevinn Technology AB
14
+ *
15
+ */
16
+ /**
17
+ * @typedef {Object} GrusellEncoreProfileServerConfig
18
+ * @property {string} name - Name of encore-profile-server
19
+ * @property {string} [s3Endpoint] - S3Endpoint
20
+ * @property {string} [s3Region] - S3Region
21
+ * @property {string} [s3AccessKey] - S3AccessKey
22
+ * @property {string} [s3SecretKey] - S3SecretKey
23
+ * @property {string} [s3Bucket] - S3Bucket
24
+ * @property {string} [s3Prefix] - S3Prefix
25
+ * @property {string} [anthropicApiKey] - AnthropicApiKey
26
+ * @property {string} [anthropicModel] - AnthropicModel
27
+
28
+ *
29
+ */
30
+ /**
31
+ * @typedef {Object} GrusellEncoreProfileServer
32
+ * @property {string} name - Name of the Encore Profile Server instance
33
+ * @property {string} url - URL of the Encore Profile Server instance
34
+ *
35
+ */
36
+ /**
37
+ * Create a new Encore Profile Server instance
38
+ *
39
+ * @memberOf grusell-encore-profile-server
40
+ * @async
41
+ * @param {Context} context - Open Source Cloud configuration context
42
+ * @param {GrusellEncoreProfileServerConfig} body - Service instance configuration
43
+ * @returns {GrusellEncoreProfileServer} - Service instance
44
+ * @example
45
+ * import { Context } from '@osaas/client-core';
46
+ * import { createGrusellEncoreProfileServerInstance } from '@osaas/client-services';
47
+ *
48
+ * const ctx = new Context();
49
+ * const body: GrusellEncoreProfileServerConfig = { name: 'myinstance', ... };
50
+ * const instance = await createGrusellEncoreProfileServerInstance(ctx, body);
51
+ * console.log(instance.url);
52
+ */
53
+ async function createGrusellEncoreProfileServerInstance(ctx, body) {
54
+ const serviceAccessToken = await ctx.getServiceAccessToken('grusell-encore-profile-server');
55
+ const instance = await (0, client_core_1.createInstance)(ctx, 'grusell-encore-profile-server', serviceAccessToken, body);
56
+ await (0, client_core_1.waitForInstanceReady)('grusell-encore-profile-server', instance.name, ctx);
57
+ return instance;
58
+ }
59
+ exports.createGrusellEncoreProfileServerInstance = createGrusellEncoreProfileServerInstance;
60
+ /**
61
+ * Remove a Encore Profile Server instance
62
+ *
63
+ * @memberOf grusell-encore-profile-server
64
+ * @async
65
+ * @param {Context} context - Open Source Cloud configuration context
66
+ * @param {string} name - Name of the encore-profile-server to be removed
67
+ */
68
+ async function removeGrusellEncoreProfileServerInstance(ctx, name) {
69
+ const serviceAccessToken = await ctx.getServiceAccessToken('grusell-encore-profile-server');
70
+ await (0, client_core_1.removeInstance)(ctx, 'grusell-encore-profile-server', name, serviceAccessToken);
71
+ }
72
+ exports.removeGrusellEncoreProfileServerInstance = removeGrusellEncoreProfileServerInstance;
73
+ /**
74
+ * Get a Encore Profile Server instance
75
+ *
76
+ * @memberOf grusell-encore-profile-server
77
+ * @async
78
+ * @param {Context} context - Open Source Cloud configuration context
79
+ * @param {string} name - Name of the encore-profile-server to be retrieved
80
+ * @returns {GrusellEncoreProfileServer} - Service instance
81
+ * @example
82
+ * import { Context } from '@osaas/client-core';
83
+ * import { getGrusellEncoreProfileServerInstance } from '@osaas/client-services';
84
+ *
85
+ * const ctx = new Context();
86
+ * const instance = await getGrusellEncoreProfileServerInstance(ctx, 'myinstance');
87
+ * console.log(instance.url);
88
+ */
89
+ async function getGrusellEncoreProfileServerInstance(ctx, name) {
90
+ const serviceAccessToken = await ctx.getServiceAccessToken('grusell-encore-profile-server');
91
+ return await (0, client_core_1.getInstance)(ctx, 'grusell-encore-profile-server', name, serviceAccessToken);
92
+ }
93
+ exports.getGrusellEncoreProfileServerInstance = getGrusellEncoreProfileServerInstance;
94
+ //# sourceMappingURL=grusell-encore-profile-server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grusell-encore-profile-server.js","sourceRoot":"","sources":["../../src/generated/grusell-encore-profile-server.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAijBH,oDAM4B;AAC5B;;;;;;GAMG;AAEH;;;;;;;;;;;;;GAaG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACI,KAAK,UAAU,wCAAwC,CAC5D,GAAY,EACZ,IAAsC;IAEtC,MAAM,kBAAkB,GAAG,MAAM,GAAG,CAAC,qBAAqB,CACxD,+BAA+B,CAChC,CAAC;IACF,MAAM,QAAQ,GAAG,MAAM,IAAA,4BAAc,EACnC,GAAG,EACH,+BAA+B,EAC/B,kBAAkB,EAClB,IAAI,CACL,CAAC;IACF,MAAM,IAAA,kCAAoB,EACxB,+BAA+B,EAC/B,QAAQ,CAAC,IAAI,EACb,GAAG,CACJ,CAAC;IACF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAnBD,4FAmBC;AAED;;;;;;;GAOG;AACI,KAAK,UAAU,wCAAwC,CAC5D,GAAY,EACZ,IAAY;IAEZ,MAAM,kBAAkB,GAAG,MAAM,GAAG,CAAC,qBAAqB,CACxD,+BAA+B,CAChC,CAAC;IACF,MAAM,IAAA,4BAAc,EAClB,GAAG,EACH,+BAA+B,EAC/B,IAAI,EACJ,kBAAkB,CACnB,CAAC;AACJ,CAAC;AAbD,4FAaC;AAED;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,qCAAqC,CACzD,GAAY,EACZ,IAAY;IAEZ,MAAM,kBAAkB,GAAG,MAAM,GAAG,CAAC,qBAAqB,CACxD,+BAA+B,CAChC,CAAC;IACF,OAAO,MAAM,IAAA,yBAAW,EACtB,GAAG,EACH,+BAA+B,EAC/B,IAAI,EACJ,kBAAkB,CACnB,CAAC;AACJ,CAAC;AAbD,sFAaC"}
@@ -0,0 +1,566 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export interface paths {
6
+ '/': {
7
+ /** Health check endpoint */
8
+ get: {
9
+ parameters: {
10
+ query: {
11
+ verbose?: boolean;
12
+ };
13
+ };
14
+ responses: {
15
+ /** Default Response */
16
+ 200: {
17
+ schema: Partial<string> & Partial<{
18
+ status: string;
19
+ versions: {
20
+ '@osaas/orchestrator': string;
21
+ };
22
+ environment: string;
23
+ _links: {
24
+ self: {
25
+ href: string;
26
+ };
27
+ api: {
28
+ href: string;
29
+ };
30
+ };
31
+ }>;
32
+ };
33
+ /** Default Response */
34
+ 500: {
35
+ schema: {
36
+ status: string;
37
+ reason: string;
38
+ };
39
+ };
40
+ };
41
+ };
42
+ };
43
+ '/locustinstance': {
44
+ /** List all running locust instances */
45
+ get: {
46
+ responses: {
47
+ /** Default Response */
48
+ 200: {
49
+ schema: ({
50
+ /** @description Name of the locust instance */
51
+ name: string;
52
+ /** @description URL to instance API */
53
+ url: string;
54
+ resources: {
55
+ license: {
56
+ /** @description URL to license information */
57
+ url: string;
58
+ };
59
+ apiDocs?: {
60
+ /** @description URL to instance API documentation */
61
+ url: string;
62
+ };
63
+ app?: {
64
+ /** @description URL to instance application (GUI) */
65
+ url: string;
66
+ };
67
+ };
68
+ LocustfileUrl: string;
69
+ } & {
70
+ _links: {
71
+ self: {
72
+ /** @description Instance resource */
73
+ href: string;
74
+ };
75
+ logs?: {
76
+ /** @description Get logs for this instance */
77
+ href: string;
78
+ };
79
+ health?: {
80
+ /** @description Get health status for this instance */
81
+ href: string;
82
+ };
83
+ ports?: {
84
+ /** @description Get exposed ports for this instance */
85
+ href: string;
86
+ };
87
+ restart?: {
88
+ /** @description Restart this instance */
89
+ href: string;
90
+ };
91
+ update?: {
92
+ /** @description Update this instance */
93
+ href: string;
94
+ };
95
+ };
96
+ })[];
97
+ };
98
+ /** Default Response */
99
+ 500: {
100
+ schema: {
101
+ /** @description Reason why something failed */
102
+ reason: string;
103
+ };
104
+ };
105
+ };
106
+ };
107
+ /** Launch a new locust instance */
108
+ post: {
109
+ parameters: {
110
+ body: {
111
+ body?: {
112
+ /** @description Name of the locust instance */
113
+ name: string;
114
+ LocustfileUrl: string;
115
+ };
116
+ };
117
+ };
118
+ responses: {
119
+ /** Default Response */
120
+ 200: {
121
+ schema: {
122
+ /** @description Name of the locust instance */
123
+ name: string;
124
+ /** @description URL to instance API */
125
+ url: string;
126
+ resources: {
127
+ license: {
128
+ /** @description URL to license information */
129
+ url: string;
130
+ };
131
+ apiDocs?: {
132
+ /** @description URL to instance API documentation */
133
+ url: string;
134
+ };
135
+ app?: {
136
+ /** @description URL to instance application (GUI) */
137
+ url: string;
138
+ };
139
+ };
140
+ LocustfileUrl: string;
141
+ } & {
142
+ _links: {
143
+ self: {
144
+ /** @description Instance resource */
145
+ href: string;
146
+ };
147
+ logs?: {
148
+ /** @description Get logs for this instance */
149
+ href: string;
150
+ };
151
+ health?: {
152
+ /** @description Get health status for this instance */
153
+ href: string;
154
+ };
155
+ ports?: {
156
+ /** @description Get exposed ports for this instance */
157
+ href: string;
158
+ };
159
+ restart?: {
160
+ /** @description Restart this instance */
161
+ href: string;
162
+ };
163
+ update?: {
164
+ /** @description Update this instance */
165
+ href: string;
166
+ };
167
+ };
168
+ };
169
+ };
170
+ /** Default Response */
171
+ 403: {
172
+ schema: {
173
+ /** @description Reason why something failed */
174
+ reason: string;
175
+ };
176
+ };
177
+ /** Default Response */
178
+ 409: {
179
+ schema: {
180
+ /** @description Reason why something failed */
181
+ reason: string;
182
+ };
183
+ };
184
+ /** Default Response */
185
+ 500: {
186
+ schema: {
187
+ /** @description Reason why something failed */
188
+ reason: string;
189
+ };
190
+ };
191
+ };
192
+ };
193
+ };
194
+ '/restart/{id}': {
195
+ /** Restart locust */
196
+ post: {
197
+ parameters: {
198
+ path: {
199
+ /** Name of the locust instance */
200
+ id: string;
201
+ };
202
+ };
203
+ responses: {
204
+ /** Default Response */
205
+ 204: {
206
+ schema: string;
207
+ };
208
+ /** Default Response */
209
+ 500: {
210
+ schema: {
211
+ /** @description Reason why something failed */
212
+ reason: string;
213
+ };
214
+ };
215
+ };
216
+ };
217
+ };
218
+ '/locustinstance/{id}': {
219
+ /** Obtain status and resource URLs for an locust instance */
220
+ get: {
221
+ parameters: {
222
+ path: {
223
+ /** Name of the locust instance */
224
+ id: string;
225
+ };
226
+ };
227
+ responses: {
228
+ /** Default Response */
229
+ 200: {
230
+ schema: {
231
+ /** @description Name of the locust instance */
232
+ name: string;
233
+ /** @description URL to instance API */
234
+ url: string;
235
+ resources: {
236
+ license: {
237
+ /** @description URL to license information */
238
+ url: string;
239
+ };
240
+ apiDocs?: {
241
+ /** @description URL to instance API documentation */
242
+ url: string;
243
+ };
244
+ app?: {
245
+ /** @description URL to instance application (GUI) */
246
+ url: string;
247
+ };
248
+ };
249
+ LocustfileUrl: string;
250
+ } & {
251
+ _links: {
252
+ self: {
253
+ /** @description Instance resource */
254
+ href: string;
255
+ };
256
+ logs?: {
257
+ /** @description Get logs for this instance */
258
+ href: string;
259
+ };
260
+ health?: {
261
+ /** @description Get health status for this instance */
262
+ href: string;
263
+ };
264
+ ports?: {
265
+ /** @description Get exposed ports for this instance */
266
+ href: string;
267
+ };
268
+ restart?: {
269
+ /** @description Restart this instance */
270
+ href: string;
271
+ };
272
+ update?: {
273
+ /** @description Update this instance */
274
+ href: string;
275
+ };
276
+ };
277
+ };
278
+ };
279
+ /** Default Response */
280
+ 404: {
281
+ schema: {
282
+ /** @description Reason why something failed */
283
+ reason: string;
284
+ };
285
+ };
286
+ /** Default Response */
287
+ 500: {
288
+ schema: {
289
+ /** @description Reason why something failed */
290
+ reason: string;
291
+ };
292
+ };
293
+ };
294
+ };
295
+ /** Stop and remove an locust instance */
296
+ delete: {
297
+ parameters: {
298
+ path: {
299
+ /** Name of the locust instance */
300
+ id: string;
301
+ };
302
+ };
303
+ responses: {
304
+ /** Default Response */
305
+ 204: {
306
+ schema: string;
307
+ };
308
+ /** Default Response */
309
+ 500: {
310
+ schema: {
311
+ /** @description Reason why something failed */
312
+ reason: string;
313
+ };
314
+ };
315
+ };
316
+ };
317
+ /** Patch locust instance with new parameters and restart */
318
+ patch: {
319
+ parameters: {
320
+ body: {
321
+ body?: {
322
+ /** @description Name of the locust instance */
323
+ name?: string;
324
+ LocustfileUrl?: string;
325
+ };
326
+ };
327
+ path: {
328
+ /** Name of the locust instance */
329
+ id: string;
330
+ };
331
+ };
332
+ responses: {
333
+ /** Default Response */
334
+ 200: {
335
+ schema: {
336
+ /** @description Name of the locust instance */
337
+ name: string;
338
+ /** @description URL to instance API */
339
+ url: string;
340
+ resources: {
341
+ license: {
342
+ /** @description URL to license information */
343
+ url: string;
344
+ };
345
+ apiDocs?: {
346
+ /** @description URL to instance API documentation */
347
+ url: string;
348
+ };
349
+ app?: {
350
+ /** @description URL to instance application (GUI) */
351
+ url: string;
352
+ };
353
+ };
354
+ LocustfileUrl: string;
355
+ } & {
356
+ _links: {
357
+ self: {
358
+ /** @description Instance resource */
359
+ href: string;
360
+ };
361
+ logs?: {
362
+ /** @description Get logs for this instance */
363
+ href: string;
364
+ };
365
+ health?: {
366
+ /** @description Get health status for this instance */
367
+ href: string;
368
+ };
369
+ ports?: {
370
+ /** @description Get exposed ports for this instance */
371
+ href: string;
372
+ };
373
+ restart?: {
374
+ /** @description Restart this instance */
375
+ href: string;
376
+ };
377
+ update?: {
378
+ /** @description Update this instance */
379
+ href: string;
380
+ };
381
+ };
382
+ };
383
+ };
384
+ /** Default Response */
385
+ 400: {
386
+ schema: {
387
+ /** @description Reason why something failed */
388
+ reason: string;
389
+ };
390
+ };
391
+ /** Default Response */
392
+ 404: {
393
+ schema: {
394
+ /** @description Reason why something failed */
395
+ reason: string;
396
+ };
397
+ };
398
+ /** Default Response */
399
+ 500: {
400
+ schema: {
401
+ /** @description Reason why something failed */
402
+ reason: string;
403
+ };
404
+ };
405
+ };
406
+ };
407
+ };
408
+ '/health/{id}': {
409
+ /** Return status of locust instance */
410
+ get: {
411
+ parameters: {
412
+ path: {
413
+ /** Name of the locust instance */
414
+ id: string;
415
+ };
416
+ };
417
+ responses: {
418
+ /** Default Response */
419
+ 200: {
420
+ schema: {
421
+ /** @enum {string} */
422
+ status: 'starting' | 'running' | 'stopped' | 'failed' | 'unknown';
423
+ images?: string[];
424
+ };
425
+ };
426
+ /** Default Response */
427
+ 500: {
428
+ schema: {
429
+ /** @description Reason why something failed */
430
+ reason: string;
431
+ };
432
+ };
433
+ };
434
+ };
435
+ };
436
+ '/logs/{id}': {
437
+ /** Return the latest logs from the locust instance */
438
+ get: {
439
+ parameters: {
440
+ query: {
441
+ timestamps?: boolean;
442
+ sinceSeconds?: number;
443
+ };
444
+ path: {
445
+ /** Name of the locust instance */
446
+ id: string;
447
+ };
448
+ };
449
+ responses: {
450
+ /** Default Response */
451
+ 200: {
452
+ schema: string;
453
+ };
454
+ /** Default Response */
455
+ 500: {
456
+ schema: {
457
+ /** @description Reason why something failed */
458
+ reason: string;
459
+ };
460
+ };
461
+ };
462
+ };
463
+ };
464
+ '/ports/{id}': {
465
+ /** Return the exposed extra ports for locust instance */
466
+ get: {
467
+ parameters: {
468
+ path: {
469
+ /** Name of the locust instance */
470
+ id: string;
471
+ };
472
+ };
473
+ responses: {
474
+ /** Default Response */
475
+ 200: {
476
+ schema: {
477
+ externalIp: string;
478
+ externalPort: number;
479
+ internalPort: number;
480
+ }[];
481
+ };
482
+ /** Default Response */
483
+ 500: {
484
+ schema: {
485
+ /** @description Reason why something failed */
486
+ reason: string;
487
+ };
488
+ };
489
+ };
490
+ };
491
+ };
492
+ }
493
+ export interface definitions {
494
+ }
495
+ export interface operations {
496
+ }
497
+ export interface external {
498
+ }
499
+ export type LocustioLocust = paths['/locustinstance/{id}']['get']['responses']['200']['schema'];
500
+ export type LocustioLocustConfig = paths['/locustinstance']['post']['parameters']['body']['body'];
501
+ import { Context } from '@osaas/client-core';
502
+ /**
503
+ * @namespace locustio-locust
504
+ * @description Boost your performance with Locust! This open-source tool empowers you to conduct efficient load testing using the simplicity of Python. Monitor in real-time with a friendly UI and scale effortlessly!
505
+ * @author Eyevinn Technology AB <osc@eyevinn.se>
506
+ * @copyright 2025 Eyevinn Technology AB
507
+ *
508
+ */
509
+ /**
510
+ * @typedef {Object} LocustioLocustConfig
511
+ * @property {string} name - Name of locust
512
+ * @property {string} LocustfileUrl - Url to the location of your locustfile.py
513
+
514
+ *
515
+ */
516
+ /**
517
+ * @typedef {Object} LocustioLocust
518
+ * @property {string} name - Name of the Locust instance
519
+ * @property {string} url - URL of the Locust instance
520
+ *
521
+ */
522
+ /**
523
+ * Create a new Locust instance
524
+ *
525
+ * @memberOf locustio-locust
526
+ * @async
527
+ * @param {Context} context - Open Source Cloud configuration context
528
+ * @param {LocustioLocustConfig} body - Service instance configuration
529
+ * @returns {LocustioLocust} - Service instance
530
+ * @example
531
+ * import { Context } from '@osaas/client-core';
532
+ * import { createLocustioLocustInstance } from '@osaas/client-services';
533
+ *
534
+ * const ctx = new Context();
535
+ * const body: LocustioLocustConfig = { name: 'myinstance', ... };
536
+ * const instance = await createLocustioLocustInstance(ctx, body);
537
+ * console.log(instance.url);
538
+ */
539
+ export declare function createLocustioLocustInstance(ctx: Context, body: LocustioLocustConfig): Promise<LocustioLocust>;
540
+ /**
541
+ * Remove a Locust instance
542
+ *
543
+ * @memberOf locustio-locust
544
+ * @async
545
+ * @param {Context} context - Open Source Cloud configuration context
546
+ * @param {string} name - Name of the locust to be removed
547
+ */
548
+ export declare function removeLocustioLocustInstance(ctx: Context, name: string): Promise<void>;
549
+ /**
550
+ * Get a Locust instance
551
+ *
552
+ * @memberOf locustio-locust
553
+ * @async
554
+ * @param {Context} context - Open Source Cloud configuration context
555
+ * @param {string} name - Name of the locust to be retrieved
556
+ * @returns {LocustioLocust} - Service instance
557
+ * @example
558
+ * import { Context } from '@osaas/client-core';
559
+ * import { getLocustioLocustInstance } from '@osaas/client-services';
560
+ *
561
+ * const ctx = new Context();
562
+ * const instance = await getLocustioLocustInstance(ctx, 'myinstance');
563
+ * console.log(instance.url);
564
+ */
565
+ export declare function getLocustioLocustInstance(ctx: Context, name: string): Promise<LocustioLocust>;
566
+ //# sourceMappingURL=locustio-locust.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locustio-locust.d.ts","sourceRoot":"","sources":["../../src/generated/locustio-locust.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,KAAK;IACpB,GAAG,EAAE;QACH,4BAA4B;QAC5B,GAAG,EAAE;YACH,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,OAAO,CAAC,EAAE,OAAO,CAAC;iBACnB,CAAC;aACH,CAAC;YACF,SAAS,EAAE;gBACT,uBAAuB;gBACvB,GAAG,EAAE;oBACH,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,GACrB,OAAO,CAAC;wBACN,MAAM,EAAE,MAAM,CAAC;wBACf,QAAQ,EAAE;4BACR,qBAAqB,EAAE,MAAM,CAAC;yBAC/B,CAAC;wBACF,WAAW,EAAE,MAAM,CAAC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