@privateaim/core-http-kit 0.8.6 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -40,7 +40,7 @@ class BaseAPI {
40
40
  * Author Peter Placzek (tada5hi)
41
41
  * For the full copyright and license information,
42
42
  * view the LICENSE file that was distributed with this source code.
43
- */ function asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, key, arg) {
43
+ */ function asyncGeneratorStep$f(gen, resolve, reject, _next, _throw, key, arg) {
44
44
  try {
45
45
  var info = gen[key](arg);
46
46
  var value = info.value;
@@ -54,16 +54,16 @@ class BaseAPI {
54
54
  Promise.resolve(value).then(_next, _throw);
55
55
  }
56
56
  }
57
- function _async_to_generator$e(fn) {
57
+ function _async_to_generator$f(fn) {
58
58
  return function() {
59
59
  var self = this, args = arguments;
60
60
  return new Promise(function(resolve, reject) {
61
61
  var gen = fn.apply(self, args);
62
62
  function _next(value) {
63
- asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, "next", value);
63
+ asyncGeneratorStep$f(gen, resolve, reject, _next, _throw, "next", value);
64
64
  }
65
65
  function _throw(err) {
66
- asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, "throw", err);
66
+ asyncGeneratorStep$f(gen, resolve, reject, _next, _throw, "throw", err);
67
67
  }
68
68
  _next(undefined);
69
69
  });
@@ -72,21 +72,21 @@ function _async_to_generator$e(fn) {
72
72
  class MasterImageGroupAPI extends BaseAPI {
73
73
  getMany(data) {
74
74
  var _this = this;
75
- return _async_to_generator$e(function*() {
75
+ return _async_to_generator$f(function*() {
76
76
  const response = yield _this.client.get(`master-image-groups${buildQuery(data)}`);
77
77
  return response.data;
78
78
  })();
79
79
  }
80
80
  getOne(id) {
81
81
  var _this = this;
82
- return _async_to_generator$e(function*() {
82
+ return _async_to_generator$f(function*() {
83
83
  const response = yield _this.client.delete(`master-image-groups/${id}`);
84
84
  return response.data;
85
85
  })();
86
86
  }
87
87
  delete(id) {
88
88
  var _this = this;
89
- return _async_to_generator$e(function*() {
89
+ return _async_to_generator$f(function*() {
90
90
  const response = yield _this.client.delete(`master-image-groups/${id}`);
91
91
  return response.data;
92
92
  })();
@@ -98,7 +98,7 @@ class MasterImageGroupAPI extends BaseAPI {
98
98
  * Author Peter Placzek (tada5hi)
99
99
  * For the full copyright and license information,
100
100
  * view the LICENSE file that was distributed with this source code.
101
- */ function asyncGeneratorStep$d(gen, resolve, reject, _next, _throw, key, arg) {
101
+ */ function asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, key, arg) {
102
102
  try {
103
103
  var info = gen[key](arg);
104
104
  var value = info.value;
@@ -112,16 +112,16 @@ class MasterImageGroupAPI extends BaseAPI {
112
112
  Promise.resolve(value).then(_next, _throw);
113
113
  }
114
114
  }
115
- function _async_to_generator$d(fn) {
115
+ function _async_to_generator$e(fn) {
116
116
  return function() {
117
117
  var self = this, args = arguments;
118
118
  return new Promise(function(resolve, reject) {
119
119
  var gen = fn.apply(self, args);
120
120
  function _next(value) {
121
- asyncGeneratorStep$d(gen, resolve, reject, _next, _throw, "next", value);
121
+ asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, "next", value);
122
122
  }
123
123
  function _throw(err) {
124
- asyncGeneratorStep$d(gen, resolve, reject, _next, _throw, "throw", err);
124
+ asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, "throw", err);
125
125
  }
126
126
  _next(undefined);
127
127
  });
@@ -158,28 +158,28 @@ function _object_spread$3(target) {
158
158
  class MasterImageAPI extends BaseAPI {
159
159
  getMany(data) {
160
160
  var _this = this;
161
- return _async_to_generator$d(function*() {
161
+ return _async_to_generator$e(function*() {
162
162
  const response = yield _this.client.get(`master-images${buildQuery(data)}`);
163
163
  return response.data;
164
164
  })();
165
165
  }
166
166
  getOne(id, data) {
167
167
  var _this = this;
168
- return _async_to_generator$d(function*() {
168
+ return _async_to_generator$e(function*() {
169
169
  const response = yield _this.client.get(`master-images/${id}${buildQuery(data)}`);
170
170
  return response.data;
171
171
  })();
172
172
  }
173
173
  delete(id) {
174
174
  var _this = this;
175
- return _async_to_generator$d(function*() {
175
+ return _async_to_generator$e(function*() {
176
176
  const response = yield _this.client.delete(`master-images/${id}`);
177
177
  return response.data;
178
178
  })();
179
179
  }
180
180
  runCommand(command, data = {}) {
181
181
  var _this = this;
182
- return _async_to_generator$d(function*() {
182
+ return _async_to_generator$e(function*() {
183
183
  const actionData = _object_spread$3({
184
184
  command
185
185
  }, data);
@@ -194,7 +194,7 @@ class MasterImageAPI extends BaseAPI {
194
194
  * Author Peter Placzek (tada5hi)
195
195
  * For the full copyright and license information,
196
196
  * view the LICENSE file that was distributed with this source code.
197
- */ function asyncGeneratorStep$c(gen, resolve, reject, _next, _throw, key, arg) {
197
+ */ function asyncGeneratorStep$d(gen, resolve, reject, _next, _throw, key, arg) {
198
198
  try {
199
199
  var info = gen[key](arg);
200
200
  var value = info.value;
@@ -208,16 +208,16 @@ class MasterImageAPI extends BaseAPI {
208
208
  Promise.resolve(value).then(_next, _throw);
209
209
  }
210
210
  }
211
- function _async_to_generator$c(fn) {
211
+ function _async_to_generator$d(fn) {
212
212
  return function() {
213
213
  var self = this, args = arguments;
214
214
  return new Promise(function(resolve, reject) {
215
215
  var gen = fn.apply(self, args);
216
216
  function _next(value) {
217
- asyncGeneratorStep$c(gen, resolve, reject, _next, _throw, "next", value);
217
+ asyncGeneratorStep$d(gen, resolve, reject, _next, _throw, "next", value);
218
218
  }
219
219
  function _throw(err) {
220
- asyncGeneratorStep$c(gen, resolve, reject, _next, _throw, "throw", err);
220
+ asyncGeneratorStep$d(gen, resolve, reject, _next, _throw, "throw", err);
221
221
  }
222
222
  _next(undefined);
223
223
  });
@@ -226,35 +226,35 @@ function _async_to_generator$c(fn) {
226
226
  class MasterImageEventLogAPI extends BaseAPI {
227
227
  getMany(options) {
228
228
  var _this = this;
229
- return _async_to_generator$c(function*() {
229
+ return _async_to_generator$d(function*() {
230
230
  const { data: response } = yield _this.client.get(`master-image-event-logs${buildQuery(options)}`);
231
231
  return response;
232
232
  })();
233
233
  }
234
234
  getOne(id) {
235
235
  var _this = this;
236
- return _async_to_generator$c(function*() {
236
+ return _async_to_generator$d(function*() {
237
237
  const { data: response } = yield _this.client.get(`master-image-event-logs/${id}`);
238
238
  return response;
239
239
  })();
240
240
  }
241
241
  delete(id) {
242
242
  var _this = this;
243
- return _async_to_generator$c(function*() {
243
+ return _async_to_generator$d(function*() {
244
244
  const { data: response } = yield _this.client.delete(`master-image-event-logs/${id}`);
245
245
  return response;
246
246
  })();
247
247
  }
248
248
  update(id, data) {
249
249
  var _this = this;
250
- return _async_to_generator$c(function*() {
250
+ return _async_to_generator$d(function*() {
251
251
  const { data: response } = yield _this.client.post(`master-image-event-logs/${id}`, data);
252
252
  return response;
253
253
  })();
254
254
  }
255
255
  create(data) {
256
256
  var _this = this;
257
- return _async_to_generator$c(function*() {
257
+ return _async_to_generator$d(function*() {
258
258
  const { data: response } = yield _this.client.post('master-image-event-logs', data);
259
259
  return response;
260
260
  })();
@@ -276,7 +276,7 @@ function nullifyEmptyObjectProperties(data) {
276
276
  * Author Peter Placzek (tada5hi)
277
277
  * For the full copyright and license information,
278
278
  * view the LICENSE file that was distributed with this source code.
279
- */ function asyncGeneratorStep$b(gen, resolve, reject, _next, _throw, key, arg) {
279
+ */ function asyncGeneratorStep$c(gen, resolve, reject, _next, _throw, key, arg) {
280
280
  try {
281
281
  var info = gen[key](arg);
282
282
  var value = info.value;
@@ -290,16 +290,16 @@ function nullifyEmptyObjectProperties(data) {
290
290
  Promise.resolve(value).then(_next, _throw);
291
291
  }
292
292
  }
293
- function _async_to_generator$b(fn) {
293
+ function _async_to_generator$c(fn) {
294
294
  return function() {
295
295
  var self = this, args = arguments;
296
296
  return new Promise(function(resolve, reject) {
297
297
  var gen = fn.apply(self, args);
298
298
  function _next(value) {
299
- asyncGeneratorStep$b(gen, resolve, reject, _next, _throw, "next", value);
299
+ asyncGeneratorStep$c(gen, resolve, reject, _next, _throw, "next", value);
300
300
  }
301
301
  function _throw(err) {
302
- asyncGeneratorStep$b(gen, resolve, reject, _next, _throw, "throw", err);
302
+ asyncGeneratorStep$c(gen, resolve, reject, _next, _throw, "throw", err);
303
303
  }
304
304
  _next(undefined);
305
305
  });
@@ -308,35 +308,35 @@ function _async_to_generator$b(fn) {
308
308
  class ProjectAPI extends BaseAPI {
309
309
  getMany(record) {
310
310
  var _this = this;
311
- return _async_to_generator$b(function*() {
311
+ return _async_to_generator$c(function*() {
312
312
  const response = yield _this.client.get(`projects${buildQuery(record)}`);
313
313
  return response.data;
314
314
  })();
315
315
  }
316
316
  getOne(id, requestRecord) {
317
317
  var _this = this;
318
- return _async_to_generator$b(function*() {
318
+ return _async_to_generator$c(function*() {
319
319
  const response = yield _this.client.get(`projects/${id}${buildQuery(requestRecord)}`);
320
320
  return response.data;
321
321
  })();
322
322
  }
323
323
  create(data) {
324
324
  var _this = this;
325
- return _async_to_generator$b(function*() {
325
+ return _async_to_generator$c(function*() {
326
326
  const response = yield _this.client.post('projects', nullifyEmptyObjectProperties(data));
327
327
  return response.data;
328
328
  })();
329
329
  }
330
330
  delete(id) {
331
331
  var _this = this;
332
- return _async_to_generator$b(function*() {
332
+ return _async_to_generator$c(function*() {
333
333
  const response = yield _this.client.delete(`projects/${id}`);
334
334
  return response.data;
335
335
  })();
336
336
  }
337
337
  update(id, data) {
338
338
  var _this = this;
339
- return _async_to_generator$b(function*() {
339
+ return _async_to_generator$c(function*() {
340
340
  const response = yield _this.client.post(`projects/${id}`, nullifyEmptyObjectProperties(data));
341
341
  return response.data;
342
342
  })();
@@ -348,7 +348,7 @@ class ProjectAPI extends BaseAPI {
348
348
  * Author Peter Placzek (tada5hi)
349
349
  * For the full copyright and license information,
350
350
  * view the LICENSE file that was distributed with this source code.
351
- */ function asyncGeneratorStep$a(gen, resolve, reject, _next, _throw, key, arg) {
351
+ */ function asyncGeneratorStep$b(gen, resolve, reject, _next, _throw, key, arg) {
352
352
  try {
353
353
  var info = gen[key](arg);
354
354
  var value = info.value;
@@ -362,16 +362,16 @@ class ProjectAPI extends BaseAPI {
362
362
  Promise.resolve(value).then(_next, _throw);
363
363
  }
364
364
  }
365
- function _async_to_generator$a(fn) {
365
+ function _async_to_generator$b(fn) {
366
366
  return function() {
367
367
  var self = this, args = arguments;
368
368
  return new Promise(function(resolve, reject) {
369
369
  var gen = fn.apply(self, args);
370
370
  function _next(value) {
371
- asyncGeneratorStep$a(gen, resolve, reject, _next, _throw, "next", value);
371
+ asyncGeneratorStep$b(gen, resolve, reject, _next, _throw, "next", value);
372
372
  }
373
373
  function _throw(err) {
374
- asyncGeneratorStep$a(gen, resolve, reject, _next, _throw, "throw", err);
374
+ asyncGeneratorStep$b(gen, resolve, reject, _next, _throw, "throw", err);
375
375
  }
376
376
  _next(undefined);
377
377
  });
@@ -380,35 +380,35 @@ function _async_to_generator$a(fn) {
380
380
  class ProjectNodeAPI extends BaseAPI {
381
381
  getMany(data) {
382
382
  var _this = this;
383
- return _async_to_generator$a(function*() {
383
+ return _async_to_generator$b(function*() {
384
384
  const response = yield _this.client.get(`project-nodes${buildQuery(data)}`);
385
385
  return response.data;
386
386
  })();
387
387
  }
388
388
  getOne(id, data) {
389
389
  var _this = this;
390
- return _async_to_generator$a(function*() {
390
+ return _async_to_generator$b(function*() {
391
391
  const response = yield _this.client.get(`project-nodes/${id}${buildQuery(data)}`);
392
392
  return response.data;
393
393
  })();
394
394
  }
395
395
  create(data) {
396
396
  var _this = this;
397
- return _async_to_generator$a(function*() {
397
+ return _async_to_generator$b(function*() {
398
398
  const response = yield _this.client.post('project-nodes', data);
399
399
  return response.data;
400
400
  })();
401
401
  }
402
402
  update(id, data) {
403
403
  var _this = this;
404
- return _async_to_generator$a(function*() {
404
+ return _async_to_generator$b(function*() {
405
405
  const response = yield _this.client.post(`project-nodes/${id}`, nullifyEmptyObjectProperties(data));
406
406
  return response.data;
407
407
  })();
408
408
  }
409
409
  delete(id) {
410
410
  var _this = this;
411
- return _async_to_generator$a(function*() {
411
+ return _async_to_generator$b(function*() {
412
412
  const response = yield _this.client.delete(`project-nodes/${id}`);
413
413
  return response.data;
414
414
  })();
@@ -420,7 +420,7 @@ class ProjectNodeAPI extends BaseAPI {
420
420
  * Author Peter Placzek (tada5hi)
421
421
  * For the full copyright and license information,
422
422
  * view the LICENSE file that was distributed with this source code.
423
- */ function asyncGeneratorStep$9(gen, resolve, reject, _next, _throw, key, arg) {
423
+ */ function asyncGeneratorStep$a(gen, resolve, reject, _next, _throw, key, arg) {
424
424
  try {
425
425
  var info = gen[key](arg);
426
426
  var value = info.value;
@@ -434,16 +434,16 @@ class ProjectNodeAPI extends BaseAPI {
434
434
  Promise.resolve(value).then(_next, _throw);
435
435
  }
436
436
  }
437
- function _async_to_generator$9(fn) {
437
+ function _async_to_generator$a(fn) {
438
438
  return function() {
439
439
  var self = this, args = arguments;
440
440
  return new Promise(function(resolve, reject) {
441
441
  var gen = fn.apply(self, args);
442
442
  function _next(value) {
443
- asyncGeneratorStep$9(gen, resolve, reject, _next, _throw, "next", value);
443
+ asyncGeneratorStep$a(gen, resolve, reject, _next, _throw, "next", value);
444
444
  }
445
445
  function _throw(err) {
446
- asyncGeneratorStep$9(gen, resolve, reject, _next, _throw, "throw", err);
446
+ asyncGeneratorStep$a(gen, resolve, reject, _next, _throw, "throw", err);
447
447
  }
448
448
  _next(undefined);
449
449
  });
@@ -452,35 +452,35 @@ function _async_to_generator$9(fn) {
452
452
  class RegistryAPI extends BaseAPI {
453
453
  getMany(options) {
454
454
  var _this = this;
455
- return _async_to_generator$9(function*() {
455
+ return _async_to_generator$a(function*() {
456
456
  const response = yield _this.client.get(`registries${buildQuery(options)}`);
457
457
  return response.data;
458
458
  })();
459
459
  }
460
460
  getOne(id, options) {
461
461
  var _this = this;
462
- return _async_to_generator$9(function*() {
462
+ return _async_to_generator$a(function*() {
463
463
  const response = yield _this.client.get(`registries/${id}${buildQuery(options)}`);
464
464
  return response.data;
465
465
  })();
466
466
  }
467
467
  create(data) {
468
468
  var _this = this;
469
- return _async_to_generator$9(function*() {
469
+ return _async_to_generator$a(function*() {
470
470
  const response = yield _this.client.post('registries', nullifyEmptyObjectProperties(data));
471
471
  return response.data;
472
472
  })();
473
473
  }
474
474
  update(id, data) {
475
475
  var _this = this;
476
- return _async_to_generator$9(function*() {
476
+ return _async_to_generator$a(function*() {
477
477
  const response = yield _this.client.post(`registries/${id}`, nullifyEmptyObjectProperties(data));
478
478
  return response.data;
479
479
  })();
480
480
  }
481
481
  delete(id) {
482
482
  var _this = this;
483
- return _async_to_generator$9(function*() {
483
+ return _async_to_generator$a(function*() {
484
484
  const response = yield _this.client.delete(`registries/${id}`);
485
485
  return response.data;
486
486
  })();
@@ -492,7 +492,7 @@ class RegistryAPI extends BaseAPI {
492
492
  * Author Peter Placzek (tada5hi)
493
493
  * For the full copyright and license information,
494
494
  * view the LICENSE file that was distributed with this source code.
495
- */ function asyncGeneratorStep$8(gen, resolve, reject, _next, _throw, key, arg) {
495
+ */ function asyncGeneratorStep$9(gen, resolve, reject, _next, _throw, key, arg) {
496
496
  try {
497
497
  var info = gen[key](arg);
498
498
  var value = info.value;
@@ -506,16 +506,16 @@ class RegistryAPI extends BaseAPI {
506
506
  Promise.resolve(value).then(_next, _throw);
507
507
  }
508
508
  }
509
- function _async_to_generator$8(fn) {
509
+ function _async_to_generator$9(fn) {
510
510
  return function() {
511
511
  var self = this, args = arguments;
512
512
  return new Promise(function(resolve, reject) {
513
513
  var gen = fn.apply(self, args);
514
514
  function _next(value) {
515
- asyncGeneratorStep$8(gen, resolve, reject, _next, _throw, "next", value);
515
+ asyncGeneratorStep$9(gen, resolve, reject, _next, _throw, "next", value);
516
516
  }
517
517
  function _throw(err) {
518
- asyncGeneratorStep$8(gen, resolve, reject, _next, _throw, "throw", err);
518
+ asyncGeneratorStep$9(gen, resolve, reject, _next, _throw, "throw", err);
519
519
  }
520
520
  _next(undefined);
521
521
  });
@@ -524,35 +524,35 @@ function _async_to_generator$8(fn) {
524
524
  class RegistryProjectAPI extends BaseAPI {
525
525
  getMany(options) {
526
526
  var _this = this;
527
- return _async_to_generator$8(function*() {
527
+ return _async_to_generator$9(function*() {
528
528
  const response = yield _this.client.get(`registry-projects${buildQuery(options)}`);
529
529
  return response.data;
530
530
  })();
531
531
  }
532
532
  getOne(id, options) {
533
533
  var _this = this;
534
- return _async_to_generator$8(function*() {
534
+ return _async_to_generator$9(function*() {
535
535
  const response = yield _this.client.get(`registry-projects/${id}${buildQuery(options)}`);
536
536
  return response.data;
537
537
  })();
538
538
  }
539
539
  create(data) {
540
540
  var _this = this;
541
- return _async_to_generator$8(function*() {
541
+ return _async_to_generator$9(function*() {
542
542
  const response = yield _this.client.post('registry-projects', nullifyEmptyObjectProperties(data));
543
543
  return response.data;
544
544
  })();
545
545
  }
546
546
  update(id, data) {
547
547
  var _this = this;
548
- return _async_to_generator$8(function*() {
548
+ return _async_to_generator$9(function*() {
549
549
  const response = yield _this.client.post(`registry-projects/${id}`, nullifyEmptyObjectProperties(data));
550
550
  return response.data;
551
551
  })();
552
552
  }
553
553
  delete(id) {
554
554
  var _this = this;
555
- return _async_to_generator$8(function*() {
555
+ return _async_to_generator$9(function*() {
556
556
  const response = yield _this.client.delete(`registry-projects/${id}`);
557
557
  return response.data;
558
558
  })();
@@ -564,7 +564,7 @@ class RegistryProjectAPI extends BaseAPI {
564
564
  * Author Peter Placzek (tada5hi)
565
565
  * For the full copyright and license information,
566
566
  * view the LICENSE file that was distributed with this source code.
567
- */ function asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, key, arg) {
567
+ */ function asyncGeneratorStep$8(gen, resolve, reject, _next, _throw, key, arg) {
568
568
  try {
569
569
  var info = gen[key](arg);
570
570
  var value = info.value;
@@ -578,16 +578,16 @@ class RegistryProjectAPI extends BaseAPI {
578
578
  Promise.resolve(value).then(_next, _throw);
579
579
  }
580
580
  }
581
- function _async_to_generator$7(fn) {
581
+ function _async_to_generator$8(fn) {
582
582
  return function() {
583
583
  var self = this, args = arguments;
584
584
  return new Promise(function(resolve, reject) {
585
585
  var gen = fn.apply(self, args);
586
586
  function _next(value) {
587
- asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, "next", value);
587
+ asyncGeneratorStep$8(gen, resolve, reject, _next, _throw, "next", value);
588
588
  }
589
589
  function _throw(err) {
590
- asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, "throw", err);
590
+ asyncGeneratorStep$8(gen, resolve, reject, _next, _throw, "throw", err);
591
591
  }
592
592
  _next(undefined);
593
593
  });
@@ -624,42 +624,42 @@ function _object_spread$2(target) {
624
624
  class NodeAPI extends BaseAPI {
625
625
  getMany(options) {
626
626
  var _this = this;
627
- return _async_to_generator$7(function*() {
627
+ return _async_to_generator$8(function*() {
628
628
  const response = yield _this.client.get(`nodes${buildQuery(options)}`);
629
629
  return response.data;
630
630
  })();
631
631
  }
632
632
  getOne(id, options) {
633
633
  var _this = this;
634
- return _async_to_generator$7(function*() {
634
+ return _async_to_generator$8(function*() {
635
635
  const response = yield _this.client.get(`nodes/${id}${buildQuery(options)}`);
636
636
  return response.data;
637
637
  })();
638
638
  }
639
639
  create(data) {
640
640
  var _this = this;
641
- return _async_to_generator$7(function*() {
641
+ return _async_to_generator$8(function*() {
642
642
  const response = yield _this.client.post('nodes', nullifyEmptyObjectProperties(data));
643
643
  return response.data;
644
644
  })();
645
645
  }
646
646
  update(id, data) {
647
647
  var _this = this;
648
- return _async_to_generator$7(function*() {
648
+ return _async_to_generator$8(function*() {
649
649
  const response = yield _this.client.post(`nodes/${id}`, nullifyEmptyObjectProperties(data));
650
650
  return response.data;
651
651
  })();
652
652
  }
653
653
  delete(id) {
654
654
  var _this = this;
655
- return _async_to_generator$7(function*() {
655
+ return _async_to_generator$8(function*() {
656
656
  const response = yield _this.client.delete(`nodes/${id}`);
657
657
  return response.data;
658
658
  })();
659
659
  }
660
660
  runCommand(id, task, data) {
661
661
  var _this = this;
662
- return _async_to_generator$7(function*() {
662
+ return _async_to_generator$8(function*() {
663
663
  const response = yield _this.client.post(`nodes/${id}/task`, _object_spread$2({
664
664
  task
665
665
  }, data));
@@ -673,7 +673,7 @@ class NodeAPI extends BaseAPI {
673
673
  * Author Peter Placzek (tada5hi)
674
674
  * For the full copyright and license information,
675
675
  * view the LICENSE file that was distributed with this source code.
676
- */ function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
676
+ */ function asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, key, arg) {
677
677
  try {
678
678
  var info = gen[key](arg);
679
679
  var value = info.value;
@@ -687,16 +687,16 @@ class NodeAPI extends BaseAPI {
687
687
  Promise.resolve(value).then(_next, _throw);
688
688
  }
689
689
  }
690
- function _async_to_generator$6(fn) {
690
+ function _async_to_generator$7(fn) {
691
691
  return function() {
692
692
  var self = this, args = arguments;
693
693
  return new Promise(function(resolve, reject) {
694
694
  var gen = fn.apply(self, args);
695
695
  function _next(value) {
696
- asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, "next", value);
696
+ asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, "next", value);
697
697
  }
698
698
  function _throw(err) {
699
- asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, "throw", err);
699
+ asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, "throw", err);
700
700
  }
701
701
  _next(undefined);
702
702
  });
@@ -746,42 +746,42 @@ class AnalysisAPI extends BaseAPI {
746
746
  }
747
747
  getMany(options) {
748
748
  var _this = this;
749
- return _async_to_generator$6(function*() {
749
+ return _async_to_generator$7(function*() {
750
750
  const { data: response } = yield _this.client.get(`analyses${buildQuery(options)}`);
751
751
  return response;
752
752
  })();
753
753
  }
754
754
  getOne(id, options, requestConfig) {
755
755
  var _this = this;
756
- return _async_to_generator$6(function*() {
756
+ return _async_to_generator$7(function*() {
757
757
  const { data: response } = yield _this.client.get(`analyses/${id}${buildQuery(options)}`, requestConfig);
758
758
  return response;
759
759
  })();
760
760
  }
761
761
  delete(id) {
762
762
  var _this = this;
763
- return _async_to_generator$6(function*() {
763
+ return _async_to_generator$7(function*() {
764
764
  const { data: response } = yield _this.client.delete(`analyses/${id}`);
765
765
  return response;
766
766
  })();
767
767
  }
768
768
  update(id, data) {
769
769
  var _this = this;
770
- return _async_to_generator$6(function*() {
770
+ return _async_to_generator$7(function*() {
771
771
  const { data: response } = yield _this.client.post(`analyses/${id}`, nullifyEmptyObjectProperties(data));
772
772
  return response;
773
773
  })();
774
774
  }
775
775
  create(data) {
776
776
  var _this = this;
777
- return _async_to_generator$6(function*() {
777
+ return _async_to_generator$7(function*() {
778
778
  const { data: response } = yield _this.client.post('analyses', nullifyEmptyObjectProperties(data));
779
779
  return response;
780
780
  })();
781
781
  }
782
782
  runCommand(id, command, data = {}) {
783
783
  var _this = this;
784
- return _async_to_generator$6(function*() {
784
+ return _async_to_generator$7(function*() {
785
785
  const actionData = _object_spread$1({
786
786
  command
787
787
  }, data);
@@ -791,7 +791,7 @@ class AnalysisAPI extends BaseAPI {
791
791
  }
792
792
  streamFiles(id) {
793
793
  var _this = this;
794
- return _async_to_generator$6(function*() {
794
+ return _async_to_generator$7(function*() {
795
795
  const response = yield _this.client.get(_this.getFilesDownloadPath(id), {
796
796
  responseType: 'stream'
797
797
  });
@@ -800,7 +800,7 @@ class AnalysisAPI extends BaseAPI {
800
800
  }
801
801
  downloadResult(id) {
802
802
  var _this = this;
803
- return _async_to_generator$6(function*() {
803
+ return _async_to_generator$7(function*() {
804
804
  const response = yield _this.client.get(_this.getResultDownloadPath(id), {
805
805
  responseType: 'stream'
806
806
  });
@@ -814,7 +814,7 @@ class AnalysisAPI extends BaseAPI {
814
814
  * Author Peter Placzek (tada5hi)
815
815
  * For the full copyright and license information,
816
816
  * view the LICENSE file that was distributed with this source code.
817
- */ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
817
+ */ function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
818
818
  try {
819
819
  var info = gen[key](arg);
820
820
  var value = info.value;
@@ -828,16 +828,16 @@ class AnalysisAPI extends BaseAPI {
828
828
  Promise.resolve(value).then(_next, _throw);
829
829
  }
830
830
  }
831
- function _async_to_generator$5(fn) {
831
+ function _async_to_generator$6(fn) {
832
832
  return function() {
833
833
  var self = this, args = arguments;
834
834
  return new Promise(function(resolve, reject) {
835
835
  var gen = fn.apply(self, args);
836
836
  function _next(value) {
837
- asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, "next", value);
837
+ asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, "next", value);
838
838
  }
839
839
  function _throw(err) {
840
- asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, "throw", err);
840
+ asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, "throw", err);
841
841
  }
842
842
  _next(undefined);
843
843
  });
@@ -846,41 +846,113 @@ function _async_to_generator$5(fn) {
846
846
  class AnalysisBucketFileAPI extends BaseAPI {
847
847
  getMany(options) {
848
848
  var _this = this;
849
- return _async_to_generator$5(function*() {
849
+ return _async_to_generator$6(function*() {
850
850
  const response = yield _this.client.get(`analysis-bucket-files${buildQuery(options)}`);
851
851
  return response.data;
852
852
  })();
853
853
  }
854
854
  getOne(id) {
855
855
  var _this = this;
856
- return _async_to_generator$5(function*() {
856
+ return _async_to_generator$6(function*() {
857
857
  const response = yield _this.client.get(`analysis-bucket-files/${id}`);
858
858
  return response.data;
859
859
  })();
860
860
  }
861
861
  delete(id) {
862
862
  var _this = this;
863
- return _async_to_generator$5(function*() {
863
+ return _async_to_generator$6(function*() {
864
864
  const response = yield _this.client.delete(`analysis-bucket-files/${id}`);
865
865
  return response.data;
866
866
  })();
867
867
  }
868
868
  update(id, data) {
869
869
  var _this = this;
870
- return _async_to_generator$5(function*() {
870
+ return _async_to_generator$6(function*() {
871
871
  const { data: response } = yield _this.client.post(`analysis-bucket-files/${id}`, nullifyEmptyObjectProperties(data));
872
872
  return response;
873
873
  })();
874
874
  }
875
875
  create(data) {
876
876
  var _this = this;
877
- return _async_to_generator$5(function*() {
877
+ return _async_to_generator$6(function*() {
878
878
  const { data: response } = yield _this.client.post('analysis-bucket-files', nullifyEmptyObjectProperties(data));
879
879
  return response;
880
880
  })();
881
881
  }
882
882
  }
883
883
 
884
+ /*
885
+ * Copyright (c) 2021-2024.
886
+ * Author Peter Placzek (tada5hi)
887
+ * For the full copyright and license information,
888
+ * view the LICENSE file that was distributed with this source code.
889
+ */ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
890
+ try {
891
+ var info = gen[key](arg);
892
+ var value = info.value;
893
+ } catch (error) {
894
+ reject(error);
895
+ return;
896
+ }
897
+ if (info.done) {
898
+ resolve(value);
899
+ } else {
900
+ Promise.resolve(value).then(_next, _throw);
901
+ }
902
+ }
903
+ function _async_to_generator$5(fn) {
904
+ return function() {
905
+ var self = this, args = arguments;
906
+ return new Promise(function(resolve, reject) {
907
+ var gen = fn.apply(self, args);
908
+ function _next(value) {
909
+ asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, "next", value);
910
+ }
911
+ function _throw(err) {
912
+ asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, "throw", err);
913
+ }
914
+ _next(undefined);
915
+ });
916
+ };
917
+ }
918
+ class AnalysisLogAPI extends BaseAPI {
919
+ getMany(options) {
920
+ var _this = this;
921
+ return _async_to_generator$5(function*() {
922
+ const { data: response } = yield _this.client.get(`analysis-logs${buildQuery(options)}`);
923
+ return response;
924
+ })();
925
+ }
926
+ getOne(id) {
927
+ var _this = this;
928
+ return _async_to_generator$5(function*() {
929
+ const { data: response } = yield _this.client.get(`analysis-logs/${id}`);
930
+ return response;
931
+ })();
932
+ }
933
+ delete(id) {
934
+ var _this = this;
935
+ return _async_to_generator$5(function*() {
936
+ const { data: response } = yield _this.client.delete(`analysis-logs/${id}`);
937
+ return response;
938
+ })();
939
+ }
940
+ update(id, data) {
941
+ var _this = this;
942
+ return _async_to_generator$5(function*() {
943
+ const { data: response } = yield _this.client.post(`analysis-logs/${id}`, data);
944
+ return response;
945
+ })();
946
+ }
947
+ create(data) {
948
+ var _this = this;
949
+ return _async_to_generator$5(function*() {
950
+ const { data: response } = yield _this.client.post('analysis-logs', data);
951
+ return response;
952
+ })();
953
+ }
954
+ }
955
+
884
956
  /*
885
957
  * Copyright (c) 2021-2024.
886
958
  * Author Peter Placzek (tada5hi)
@@ -915,39 +987,39 @@ function _async_to_generator$4(fn) {
915
987
  });
916
988
  };
917
989
  }
918
- class AnalysisLogAPI extends BaseAPI {
990
+ class TrainStationAPI extends BaseAPI {
919
991
  getMany(options) {
920
992
  var _this = this;
921
993
  return _async_to_generator$4(function*() {
922
- const { data: response } = yield _this.client.get(`analysis-logs${buildQuery(options)}`);
994
+ const { data: response } = yield _this.client.get(`analysis-nodes${buildQuery(options)}`);
923
995
  return response;
924
996
  })();
925
997
  }
926
998
  getOne(id) {
927
999
  var _this = this;
928
1000
  return _async_to_generator$4(function*() {
929
- const { data: response } = yield _this.client.get(`analysis-logs/${id}`);
1001
+ const { data: response } = yield _this.client.get(`analysis-nodes/${id}`);
930
1002
  return response;
931
1003
  })();
932
1004
  }
933
1005
  delete(id) {
934
1006
  var _this = this;
935
1007
  return _async_to_generator$4(function*() {
936
- const { data: response } = yield _this.client.delete(`analysis-logs/${id}`);
1008
+ const { data: response } = yield _this.client.delete(`analysis-nodes/${id}`);
937
1009
  return response;
938
1010
  })();
939
1011
  }
940
1012
  update(id, data) {
941
1013
  var _this = this;
942
1014
  return _async_to_generator$4(function*() {
943
- const { data: response } = yield _this.client.post(`analysis-logs/${id}`, data);
1015
+ const { data: response } = yield _this.client.post(`analysis-nodes/${id}`, data);
944
1016
  return response;
945
1017
  })();
946
1018
  }
947
1019
  create(data) {
948
1020
  var _this = this;
949
1021
  return _async_to_generator$4(function*() {
950
- const { data: response } = yield _this.client.post('analysis-logs', data);
1022
+ const { data: response } = yield _this.client.post('analysis-nodes', data);
951
1023
  return response;
952
1024
  })();
953
1025
  }
@@ -987,39 +1059,39 @@ function _async_to_generator$3(fn) {
987
1059
  });
988
1060
  };
989
1061
  }
990
- class TrainStationAPI extends BaseAPI {
1062
+ class AnalysisNodeLogAPI extends BaseAPI {
991
1063
  getMany(options) {
992
1064
  var _this = this;
993
1065
  return _async_to_generator$3(function*() {
994
- const { data: response } = yield _this.client.get(`analysis-nodes${buildQuery(options)}`);
1066
+ const { data: response } = yield _this.client.get(`analysis-node-logs${buildQuery(options)}`);
995
1067
  return response;
996
1068
  })();
997
1069
  }
998
1070
  getOne(id) {
999
1071
  var _this = this;
1000
1072
  return _async_to_generator$3(function*() {
1001
- const { data: response } = yield _this.client.get(`analysis-nodes/${id}`);
1073
+ const { data: response } = yield _this.client.get(`analysis-node-logs/${id}`);
1002
1074
  return response;
1003
1075
  })();
1004
1076
  }
1005
1077
  delete(id) {
1006
1078
  var _this = this;
1007
1079
  return _async_to_generator$3(function*() {
1008
- const { data: response } = yield _this.client.delete(`analysis-nodes/${id}`);
1080
+ const { data: response } = yield _this.client.delete(`analysis-node-logs/${id}`);
1009
1081
  return response;
1010
1082
  })();
1011
1083
  }
1012
1084
  update(id, data) {
1013
1085
  var _this = this;
1014
1086
  return _async_to_generator$3(function*() {
1015
- const { data: response } = yield _this.client.post(`analysis-nodes/${id}`, data);
1087
+ const { data: response } = yield _this.client.post(`analysis-node-logs/${id}`, data);
1016
1088
  return response;
1017
1089
  })();
1018
1090
  }
1019
1091
  create(data) {
1020
1092
  var _this = this;
1021
1093
  return _async_to_generator$3(function*() {
1022
- const { data: response } = yield _this.client.post('analysis-nodes', data);
1094
+ const { data: response } = yield _this.client.post('analysis-node-logs', data);
1023
1095
  return response;
1024
1096
  })();
1025
1097
  }
@@ -1263,7 +1335,7 @@ class AnalysisBucketAPI extends BaseAPI {
1263
1335
  }
1264
1336
  class Client extends Client$1 {
1265
1337
  constructor(config){
1266
- super(config), _define_property(this, "masterImage", void 0), _define_property(this, "masterImageGroup", void 0), _define_property(this, "masterImageEventLog", void 0), _define_property(this, "project", void 0), _define_property(this, "projectNode", void 0), _define_property(this, "registry", void 0), _define_property(this, "registryProject", void 0), _define_property(this, "node", void 0), _define_property(this, "analysis", void 0), _define_property(this, "analysisBucket", void 0), _define_property(this, "analysisBucketFile", void 0), _define_property(this, "analysisLog", void 0), _define_property(this, "analysisNode", void 0), _define_property(this, "analysisPermission", void 0), _define_property(this, "service", void 0);
1338
+ super(config), _define_property(this, "masterImage", void 0), _define_property(this, "masterImageGroup", void 0), _define_property(this, "masterImageEventLog", void 0), _define_property(this, "project", void 0), _define_property(this, "projectNode", void 0), _define_property(this, "registry", void 0), _define_property(this, "registryProject", void 0), _define_property(this, "node", void 0), _define_property(this, "analysis", void 0), _define_property(this, "analysisBucket", void 0), _define_property(this, "analysisBucketFile", void 0), _define_property(this, "analysisLog", void 0), _define_property(this, "analysisNode", void 0), _define_property(this, "analysisNodeLog", void 0), _define_property(this, "analysisPermission", void 0), _define_property(this, "service", void 0);
1267
1339
  this.masterImage = new MasterImageAPI({
1268
1340
  client: this
1269
1341
  });
@@ -1303,6 +1375,9 @@ class Client extends Client$1 {
1303
1375
  this.analysisNode = new TrainStationAPI({
1304
1376
  client: this
1305
1377
  });
1378
+ this.analysisNodeLog = new AnalysisNodeLogAPI({
1379
+ client: this
1380
+ });
1306
1381
  this.analysisPermission = new AnalysisPermissionAPI({
1307
1382
  client: this
1308
1383
  });
@@ -1318,5 +1393,5 @@ class Client extends Client$1 {
1318
1393
  }
1319
1394
  }
1320
1395
 
1321
- export { AnalysisAPI, AnalysisBucketFileAPI, AnalysisLogAPI, AnalysisPermissionAPI, Client, MasterImageAPI, MasterImageEventLogAPI, MasterImageGroupAPI, NodeAPI, ProjectAPI, ProjectNodeAPI, RegistryAPI, RegistryProjectAPI, ServiceAPI, TrainStationAPI };
1396
+ export { AnalysisAPI, AnalysisBucketFileAPI, AnalysisLogAPI, AnalysisNodeLogAPI, AnalysisPermissionAPI, Client, MasterImageAPI, MasterImageEventLogAPI, MasterImageGroupAPI, NodeAPI, ProjectAPI, ProjectNodeAPI, RegistryAPI, RegistryProjectAPI, ServiceAPI, TrainStationAPI };
1322
1397
  //# sourceMappingURL=index.mjs.map