@privateaim/core-http-kit 0.8.11 → 0.8.13

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
@@ -71,19 +71,19 @@ function _async_to_generator$f(fn) {
71
71
  }
72
72
  class MasterImageGroupAPI extends BaseAPI {
73
73
  getMany(data) {
74
- return /*#__PURE__*/ _async_to_generator$f(function*() {
74
+ return _async_to_generator$f(function*() {
75
75
  const response = yield this.client.get(`master-image-groups${buildQuery(data)}`);
76
76
  return response.data;
77
77
  }).call(this);
78
78
  }
79
79
  getOne(id) {
80
- return /*#__PURE__*/ _async_to_generator$f(function*() {
80
+ return _async_to_generator$f(function*() {
81
81
  const response = yield this.client.delete(`master-image-groups/${id}`);
82
82
  return response.data;
83
83
  }).call(this);
84
84
  }
85
85
  delete(id) {
86
- return /*#__PURE__*/ _async_to_generator$f(function*() {
86
+ return _async_to_generator$f(function*() {
87
87
  const response = yield this.client.delete(`master-image-groups/${id}`);
88
88
  return response.data;
89
89
  }).call(this);
@@ -154,25 +154,25 @@ function _object_spread$3(target) {
154
154
  }
155
155
  class MasterImageAPI extends BaseAPI {
156
156
  getMany(data) {
157
- return /*#__PURE__*/ _async_to_generator$e(function*() {
157
+ return _async_to_generator$e(function*() {
158
158
  const response = yield this.client.get(`master-images${buildQuery(data)}`);
159
159
  return response.data;
160
160
  }).call(this);
161
161
  }
162
162
  getOne(id, data) {
163
- return /*#__PURE__*/ _async_to_generator$e(function*() {
163
+ return _async_to_generator$e(function*() {
164
164
  const response = yield this.client.get(`master-images/${id}${buildQuery(data)}`);
165
165
  return response.data;
166
166
  }).call(this);
167
167
  }
168
168
  delete(id) {
169
- return /*#__PURE__*/ _async_to_generator$e(function*() {
169
+ return _async_to_generator$e(function*() {
170
170
  const response = yield this.client.delete(`master-images/${id}`);
171
171
  return response.data;
172
172
  }).call(this);
173
173
  }
174
174
  runCommand(_0) {
175
- return /*#__PURE__*/ _async_to_generator$e(function*(command, data = {}) {
175
+ return _async_to_generator$e(function*(command, data = {}) {
176
176
  const actionData = _object_spread$3({
177
177
  command
178
178
  }, data);
@@ -218,31 +218,31 @@ function _async_to_generator$d(fn) {
218
218
  }
219
219
  class MasterImageEventLogAPI extends BaseAPI {
220
220
  getMany(options) {
221
- return /*#__PURE__*/ _async_to_generator$d(function*() {
221
+ return _async_to_generator$d(function*() {
222
222
  const { data: response } = yield this.client.get(`master-image-event-logs${buildQuery(options)}`);
223
223
  return response;
224
224
  }).call(this);
225
225
  }
226
226
  getOne(id) {
227
- return /*#__PURE__*/ _async_to_generator$d(function*() {
227
+ return _async_to_generator$d(function*() {
228
228
  const { data: response } = yield this.client.get(`master-image-event-logs/${id}`);
229
229
  return response;
230
230
  }).call(this);
231
231
  }
232
232
  delete(id) {
233
- return /*#__PURE__*/ _async_to_generator$d(function*() {
233
+ return _async_to_generator$d(function*() {
234
234
  const { data: response } = yield this.client.delete(`master-image-event-logs/${id}`);
235
235
  return response;
236
236
  }).call(this);
237
237
  }
238
238
  update(id, data) {
239
- return /*#__PURE__*/ _async_to_generator$d(function*() {
239
+ return _async_to_generator$d(function*() {
240
240
  const { data: response } = yield this.client.post(`master-image-event-logs/${id}`, data);
241
241
  return response;
242
242
  }).call(this);
243
243
  }
244
244
  create(data) {
245
- return /*#__PURE__*/ _async_to_generator$d(function*() {
245
+ return _async_to_generator$d(function*() {
246
246
  const { data: response } = yield this.client.post('master-image-event-logs', data);
247
247
  return response;
248
248
  }).call(this);
@@ -295,31 +295,31 @@ function _async_to_generator$c(fn) {
295
295
  }
296
296
  class ProjectAPI extends BaseAPI {
297
297
  getMany(record) {
298
- return /*#__PURE__*/ _async_to_generator$c(function*() {
298
+ return _async_to_generator$c(function*() {
299
299
  const response = yield this.client.get(`projects${buildQuery(record)}`);
300
300
  return response.data;
301
301
  }).call(this);
302
302
  }
303
303
  getOne(id, requestRecord) {
304
- return /*#__PURE__*/ _async_to_generator$c(function*() {
304
+ return _async_to_generator$c(function*() {
305
305
  const response = yield this.client.get(`projects/${id}${buildQuery(requestRecord)}`);
306
306
  return response.data;
307
307
  }).call(this);
308
308
  }
309
309
  create(data) {
310
- return /*#__PURE__*/ _async_to_generator$c(function*() {
310
+ return _async_to_generator$c(function*() {
311
311
  const response = yield this.client.post('projects', nullifyEmptyObjectProperties(data));
312
312
  return response.data;
313
313
  }).call(this);
314
314
  }
315
315
  delete(id) {
316
- return /*#__PURE__*/ _async_to_generator$c(function*() {
316
+ return _async_to_generator$c(function*() {
317
317
  const response = yield this.client.delete(`projects/${id}`);
318
318
  return response.data;
319
319
  }).call(this);
320
320
  }
321
321
  update(id, data) {
322
- return /*#__PURE__*/ _async_to_generator$c(function*() {
322
+ return _async_to_generator$c(function*() {
323
323
  const response = yield this.client.post(`projects/${id}`, nullifyEmptyObjectProperties(data));
324
324
  return response.data;
325
325
  }).call(this);
@@ -362,31 +362,31 @@ function _async_to_generator$b(fn) {
362
362
  }
363
363
  class ProjectNodeAPI extends BaseAPI {
364
364
  getMany(data) {
365
- return /*#__PURE__*/ _async_to_generator$b(function*() {
365
+ return _async_to_generator$b(function*() {
366
366
  const response = yield this.client.get(`project-nodes${buildQuery(data)}`);
367
367
  return response.data;
368
368
  }).call(this);
369
369
  }
370
370
  getOne(id, data) {
371
- return /*#__PURE__*/ _async_to_generator$b(function*() {
371
+ return _async_to_generator$b(function*() {
372
372
  const response = yield this.client.get(`project-nodes/${id}${buildQuery(data)}`);
373
373
  return response.data;
374
374
  }).call(this);
375
375
  }
376
376
  create(data) {
377
- return /*#__PURE__*/ _async_to_generator$b(function*() {
377
+ return _async_to_generator$b(function*() {
378
378
  const response = yield this.client.post('project-nodes', data);
379
379
  return response.data;
380
380
  }).call(this);
381
381
  }
382
382
  update(id, data) {
383
- return /*#__PURE__*/ _async_to_generator$b(function*() {
383
+ return _async_to_generator$b(function*() {
384
384
  const response = yield this.client.post(`project-nodes/${id}`, nullifyEmptyObjectProperties(data));
385
385
  return response.data;
386
386
  }).call(this);
387
387
  }
388
388
  delete(id) {
389
- return /*#__PURE__*/ _async_to_generator$b(function*() {
389
+ return _async_to_generator$b(function*() {
390
390
  const response = yield this.client.delete(`project-nodes/${id}`);
391
391
  return response.data;
392
392
  }).call(this);
@@ -429,31 +429,31 @@ function _async_to_generator$a(fn) {
429
429
  }
430
430
  class RegistryAPI extends BaseAPI {
431
431
  getMany(options) {
432
- return /*#__PURE__*/ _async_to_generator$a(function*() {
432
+ return _async_to_generator$a(function*() {
433
433
  const response = yield this.client.get(`registries${buildQuery(options)}`);
434
434
  return response.data;
435
435
  }).call(this);
436
436
  }
437
437
  getOne(id, options) {
438
- return /*#__PURE__*/ _async_to_generator$a(function*() {
438
+ return _async_to_generator$a(function*() {
439
439
  const response = yield this.client.get(`registries/${id}${buildQuery(options)}`);
440
440
  return response.data;
441
441
  }).call(this);
442
442
  }
443
443
  create(data) {
444
- return /*#__PURE__*/ _async_to_generator$a(function*() {
444
+ return _async_to_generator$a(function*() {
445
445
  const response = yield this.client.post('registries', nullifyEmptyObjectProperties(data));
446
446
  return response.data;
447
447
  }).call(this);
448
448
  }
449
449
  update(id, data) {
450
- return /*#__PURE__*/ _async_to_generator$a(function*() {
450
+ return _async_to_generator$a(function*() {
451
451
  const response = yield this.client.post(`registries/${id}`, nullifyEmptyObjectProperties(data));
452
452
  return response.data;
453
453
  }).call(this);
454
454
  }
455
455
  delete(id) {
456
- return /*#__PURE__*/ _async_to_generator$a(function*() {
456
+ return _async_to_generator$a(function*() {
457
457
  const response = yield this.client.delete(`registries/${id}`);
458
458
  return response.data;
459
459
  }).call(this);
@@ -496,31 +496,31 @@ function _async_to_generator$9(fn) {
496
496
  }
497
497
  class RegistryProjectAPI extends BaseAPI {
498
498
  getMany(options) {
499
- return /*#__PURE__*/ _async_to_generator$9(function*() {
499
+ return _async_to_generator$9(function*() {
500
500
  const response = yield this.client.get(`registry-projects${buildQuery(options)}`);
501
501
  return response.data;
502
502
  }).call(this);
503
503
  }
504
504
  getOne(id, options) {
505
- return /*#__PURE__*/ _async_to_generator$9(function*() {
505
+ return _async_to_generator$9(function*() {
506
506
  const response = yield this.client.get(`registry-projects/${id}${buildQuery(options)}`);
507
507
  return response.data;
508
508
  }).call(this);
509
509
  }
510
510
  create(data) {
511
- return /*#__PURE__*/ _async_to_generator$9(function*() {
511
+ return _async_to_generator$9(function*() {
512
512
  const response = yield this.client.post('registry-projects', nullifyEmptyObjectProperties(data));
513
513
  return response.data;
514
514
  }).call(this);
515
515
  }
516
516
  update(id, data) {
517
- return /*#__PURE__*/ _async_to_generator$9(function*() {
517
+ return _async_to_generator$9(function*() {
518
518
  const response = yield this.client.post(`registry-projects/${id}`, nullifyEmptyObjectProperties(data));
519
519
  return response.data;
520
520
  }).call(this);
521
521
  }
522
522
  delete(id) {
523
- return /*#__PURE__*/ _async_to_generator$9(function*() {
523
+ return _async_to_generator$9(function*() {
524
524
  const response = yield this.client.delete(`registry-projects/${id}`);
525
525
  return response.data;
526
526
  }).call(this);
@@ -591,37 +591,37 @@ function _object_spread$2(target) {
591
591
  }
592
592
  class NodeAPI extends BaseAPI {
593
593
  getMany(options) {
594
- return /*#__PURE__*/ _async_to_generator$8(function*() {
594
+ return _async_to_generator$8(function*() {
595
595
  const response = yield this.client.get(`nodes${buildQuery(options)}`);
596
596
  return response.data;
597
597
  }).call(this);
598
598
  }
599
599
  getOne(id, options) {
600
- return /*#__PURE__*/ _async_to_generator$8(function*() {
600
+ return _async_to_generator$8(function*() {
601
601
  const response = yield this.client.get(`nodes/${id}${buildQuery(options)}`);
602
602
  return response.data;
603
603
  }).call(this);
604
604
  }
605
605
  create(data) {
606
- return /*#__PURE__*/ _async_to_generator$8(function*() {
606
+ return _async_to_generator$8(function*() {
607
607
  const response = yield this.client.post('nodes', nullifyEmptyObjectProperties(data));
608
608
  return response.data;
609
609
  }).call(this);
610
610
  }
611
611
  update(id, data) {
612
- return /*#__PURE__*/ _async_to_generator$8(function*() {
612
+ return _async_to_generator$8(function*() {
613
613
  const response = yield this.client.post(`nodes/${id}`, nullifyEmptyObjectProperties(data));
614
614
  return response.data;
615
615
  }).call(this);
616
616
  }
617
617
  delete(id) {
618
- return /*#__PURE__*/ _async_to_generator$8(function*() {
618
+ return _async_to_generator$8(function*() {
619
619
  const response = yield this.client.delete(`nodes/${id}`);
620
620
  return response.data;
621
621
  }).call(this);
622
622
  }
623
623
  runCommand(id, task, data) {
624
- return /*#__PURE__*/ _async_to_generator$8(function*() {
624
+ return _async_to_generator$8(function*() {
625
625
  const response = yield this.client.post(`nodes/${id}/task`, _object_spread$2({
626
626
  task
627
627
  }, data));
@@ -707,37 +707,37 @@ class AnalysisAPI extends BaseAPI {
707
707
  return new URL(this.getFilesDownloadPath(id), this.client.getBaseURL()).href;
708
708
  }
709
709
  getMany(options) {
710
- return /*#__PURE__*/ _async_to_generator$7(function*() {
710
+ return _async_to_generator$7(function*() {
711
711
  const { data: response } = yield this.client.get(`analyses${buildQuery(options)}`);
712
712
  return response;
713
713
  }).call(this);
714
714
  }
715
715
  getOne(id, options, requestConfig) {
716
- return /*#__PURE__*/ _async_to_generator$7(function*() {
716
+ return _async_to_generator$7(function*() {
717
717
  const { data: response } = yield this.client.get(`analyses/${id}${buildQuery(options)}`, requestConfig);
718
718
  return response;
719
719
  }).call(this);
720
720
  }
721
721
  delete(id) {
722
- return /*#__PURE__*/ _async_to_generator$7(function*() {
722
+ return _async_to_generator$7(function*() {
723
723
  const { data: response } = yield this.client.delete(`analyses/${id}`);
724
724
  return response;
725
725
  }).call(this);
726
726
  }
727
727
  update(id, data) {
728
- return /*#__PURE__*/ _async_to_generator$7(function*() {
728
+ return _async_to_generator$7(function*() {
729
729
  const { data: response } = yield this.client.post(`analyses/${id}`, nullifyEmptyObjectProperties(data));
730
730
  return response;
731
731
  }).call(this);
732
732
  }
733
733
  create(data) {
734
- return /*#__PURE__*/ _async_to_generator$7(function*() {
734
+ return _async_to_generator$7(function*() {
735
735
  const { data: response } = yield this.client.post('analyses', nullifyEmptyObjectProperties(data));
736
736
  return response;
737
737
  }).call(this);
738
738
  }
739
739
  runCommand(_0, _1) {
740
- return /*#__PURE__*/ _async_to_generator$7(function*(id, command, data = {}) {
740
+ return _async_to_generator$7(function*(id, command, data = {}) {
741
741
  const actionData = _object_spread$1({
742
742
  command
743
743
  }, data);
@@ -746,7 +746,7 @@ class AnalysisAPI extends BaseAPI {
746
746
  }).apply(this, arguments);
747
747
  }
748
748
  streamFiles(id) {
749
- return /*#__PURE__*/ _async_to_generator$7(function*() {
749
+ return _async_to_generator$7(function*() {
750
750
  const response = yield this.client.get(this.getFilesDownloadPath(id), {
751
751
  responseType: 'stream'
752
752
  });
@@ -754,7 +754,7 @@ class AnalysisAPI extends BaseAPI {
754
754
  }).call(this);
755
755
  }
756
756
  downloadResult(id) {
757
- return /*#__PURE__*/ _async_to_generator$7(function*() {
757
+ return _async_to_generator$7(function*() {
758
758
  const response = yield this.client.get(this.getResultDownloadPath(id), {
759
759
  responseType: 'stream'
760
760
  });
@@ -799,31 +799,31 @@ function _async_to_generator$6(fn) {
799
799
  }
800
800
  class AnalysisBucketFileAPI extends BaseAPI {
801
801
  getMany(options) {
802
- return /*#__PURE__*/ _async_to_generator$6(function*() {
802
+ return _async_to_generator$6(function*() {
803
803
  const response = yield this.client.get(`analysis-bucket-files${buildQuery(options)}`);
804
804
  return response.data;
805
805
  }).call(this);
806
806
  }
807
807
  getOne(id) {
808
- return /*#__PURE__*/ _async_to_generator$6(function*() {
808
+ return _async_to_generator$6(function*() {
809
809
  const response = yield this.client.get(`analysis-bucket-files/${id}`);
810
810
  return response.data;
811
811
  }).call(this);
812
812
  }
813
813
  delete(id) {
814
- return /*#__PURE__*/ _async_to_generator$6(function*() {
814
+ return _async_to_generator$6(function*() {
815
815
  const response = yield this.client.delete(`analysis-bucket-files/${id}`);
816
816
  return response.data;
817
817
  }).call(this);
818
818
  }
819
819
  update(id, data) {
820
- return /*#__PURE__*/ _async_to_generator$6(function*() {
820
+ return _async_to_generator$6(function*() {
821
821
  const { data: response } = yield this.client.post(`analysis-bucket-files/${id}`, nullifyEmptyObjectProperties(data));
822
822
  return response;
823
823
  }).call(this);
824
824
  }
825
825
  create(data) {
826
- return /*#__PURE__*/ _async_to_generator$6(function*() {
826
+ return _async_to_generator$6(function*() {
827
827
  const { data: response } = yield this.client.post('analysis-bucket-files', nullifyEmptyObjectProperties(data));
828
828
  return response;
829
829
  }).call(this);
@@ -866,31 +866,31 @@ function _async_to_generator$5(fn) {
866
866
  }
867
867
  class AnalysisLogAPI extends BaseAPI {
868
868
  getMany(options) {
869
- return /*#__PURE__*/ _async_to_generator$5(function*() {
869
+ return _async_to_generator$5(function*() {
870
870
  const { data: response } = yield this.client.get(`analysis-logs${buildQuery(options)}`);
871
871
  return response;
872
872
  }).call(this);
873
873
  }
874
874
  getOne(id) {
875
- return /*#__PURE__*/ _async_to_generator$5(function*() {
875
+ return _async_to_generator$5(function*() {
876
876
  const { data: response } = yield this.client.get(`analysis-logs/${id}`);
877
877
  return response;
878
878
  }).call(this);
879
879
  }
880
880
  delete(id) {
881
- return /*#__PURE__*/ _async_to_generator$5(function*() {
881
+ return _async_to_generator$5(function*() {
882
882
  const { data: response } = yield this.client.delete(`analysis-logs/${id}`);
883
883
  return response;
884
884
  }).call(this);
885
885
  }
886
886
  update(id, data) {
887
- return /*#__PURE__*/ _async_to_generator$5(function*() {
887
+ return _async_to_generator$5(function*() {
888
888
  const { data: response } = yield this.client.post(`analysis-logs/${id}`, data);
889
889
  return response;
890
890
  }).call(this);
891
891
  }
892
892
  create(data) {
893
- return /*#__PURE__*/ _async_to_generator$5(function*() {
893
+ return _async_to_generator$5(function*() {
894
894
  const { data: response } = yield this.client.post('analysis-logs', data);
895
895
  return response;
896
896
  }).call(this);
@@ -933,31 +933,31 @@ function _async_to_generator$4(fn) {
933
933
  }
934
934
  class TrainStationAPI extends BaseAPI {
935
935
  getMany(options) {
936
- return /*#__PURE__*/ _async_to_generator$4(function*() {
936
+ return _async_to_generator$4(function*() {
937
937
  const { data: response } = yield this.client.get(`analysis-nodes${buildQuery(options)}`);
938
938
  return response;
939
939
  }).call(this);
940
940
  }
941
941
  getOne(id) {
942
- return /*#__PURE__*/ _async_to_generator$4(function*() {
942
+ return _async_to_generator$4(function*() {
943
943
  const { data: response } = yield this.client.get(`analysis-nodes/${id}`);
944
944
  return response;
945
945
  }).call(this);
946
946
  }
947
947
  delete(id) {
948
- return /*#__PURE__*/ _async_to_generator$4(function*() {
948
+ return _async_to_generator$4(function*() {
949
949
  const { data: response } = yield this.client.delete(`analysis-nodes/${id}`);
950
950
  return response;
951
951
  }).call(this);
952
952
  }
953
953
  update(id, data) {
954
- return /*#__PURE__*/ _async_to_generator$4(function*() {
954
+ return _async_to_generator$4(function*() {
955
955
  const { data: response } = yield this.client.post(`analysis-nodes/${id}`, data);
956
956
  return response;
957
957
  }).call(this);
958
958
  }
959
959
  create(data) {
960
- return /*#__PURE__*/ _async_to_generator$4(function*() {
960
+ return _async_to_generator$4(function*() {
961
961
  const { data: response } = yield this.client.post('analysis-nodes', data);
962
962
  return response;
963
963
  }).call(this);
@@ -1000,31 +1000,31 @@ function _async_to_generator$3(fn) {
1000
1000
  }
1001
1001
  class AnalysisNodeLogAPI extends BaseAPI {
1002
1002
  getMany(options) {
1003
- return /*#__PURE__*/ _async_to_generator$3(function*() {
1003
+ return _async_to_generator$3(function*() {
1004
1004
  const { data: response } = yield this.client.get(`analysis-node-logs${buildQuery(options)}`);
1005
1005
  return response;
1006
1006
  }).call(this);
1007
1007
  }
1008
1008
  getOne(id) {
1009
- return /*#__PURE__*/ _async_to_generator$3(function*() {
1009
+ return _async_to_generator$3(function*() {
1010
1010
  const { data: response } = yield this.client.get(`analysis-node-logs/${id}`);
1011
1011
  return response;
1012
1012
  }).call(this);
1013
1013
  }
1014
1014
  delete(id) {
1015
- return /*#__PURE__*/ _async_to_generator$3(function*() {
1015
+ return _async_to_generator$3(function*() {
1016
1016
  const { data: response } = yield this.client.delete(`analysis-node-logs/${id}`);
1017
1017
  return response;
1018
1018
  }).call(this);
1019
1019
  }
1020
1020
  update(id, data) {
1021
- return /*#__PURE__*/ _async_to_generator$3(function*() {
1021
+ return _async_to_generator$3(function*() {
1022
1022
  const { data: response } = yield this.client.post(`analysis-node-logs/${id}`, data);
1023
1023
  return response;
1024
1024
  }).call(this);
1025
1025
  }
1026
1026
  create(data) {
1027
- return /*#__PURE__*/ _async_to_generator$3(function*() {
1027
+ return _async_to_generator$3(function*() {
1028
1028
  const { data: response } = yield this.client.post('analysis-node-logs', data);
1029
1029
  return response;
1030
1030
  }).call(this);
@@ -1067,31 +1067,31 @@ function _async_to_generator$2(fn) {
1067
1067
  }
1068
1068
  class AnalysisPermissionAPI extends BaseAPI {
1069
1069
  getMany(options) {
1070
- return /*#__PURE__*/ _async_to_generator$2(function*() {
1070
+ return _async_to_generator$2(function*() {
1071
1071
  const { data: response } = yield this.client.get(`analysis-permissions${buildQuery(options)}`);
1072
1072
  return response;
1073
1073
  }).call(this);
1074
1074
  }
1075
1075
  getOne(id) {
1076
- return /*#__PURE__*/ _async_to_generator$2(function*() {
1076
+ return _async_to_generator$2(function*() {
1077
1077
  const { data: response } = yield this.client.get(`analysis-permissions/${id}`);
1078
1078
  return response;
1079
1079
  }).call(this);
1080
1080
  }
1081
1081
  delete(id) {
1082
- return /*#__PURE__*/ _async_to_generator$2(function*() {
1082
+ return _async_to_generator$2(function*() {
1083
1083
  const { data: response } = yield this.client.delete(`analysis-permissions/${id}`);
1084
1084
  return response;
1085
1085
  }).call(this);
1086
1086
  }
1087
1087
  update(id, data) {
1088
- return /*#__PURE__*/ _async_to_generator$2(function*() {
1088
+ return _async_to_generator$2(function*() {
1089
1089
  const { data: response } = yield this.client.post(`analysis-permissions/${id}`, data);
1090
1090
  return response;
1091
1091
  }).call(this);
1092
1092
  }
1093
1093
  create(data) {
1094
- return /*#__PURE__*/ _async_to_generator$2(function*() {
1094
+ return _async_to_generator$2(function*() {
1095
1095
  const { data: response } = yield this.client.post('analysis-permissions', data);
1096
1096
  return response;
1097
1097
  }).call(this);
@@ -1162,7 +1162,7 @@ function _object_spread(target) {
1162
1162
  }
1163
1163
  class ServiceAPI extends BaseAPI {
1164
1164
  runCommand(id, command, data) {
1165
- return /*#__PURE__*/ _async_to_generator$1(function*() {
1165
+ return _async_to_generator$1(function*() {
1166
1166
  data = data || {};
1167
1167
  const { data: resultData } = yield this.client.post(`services/${id}/command`, nullifyEmptyObjectProperties(_object_spread({
1168
1168
  command
@@ -1171,7 +1171,7 @@ class ServiceAPI extends BaseAPI {
1171
1171
  }).call(this);
1172
1172
  }
1173
1173
  runRegistryCommand(command, data) {
1174
- return /*#__PURE__*/ _async_to_generator$1(function*() {
1174
+ return _async_to_generator$1(function*() {
1175
1175
  return this.runCommand(ServiceID.REGISTRY, command, data);
1176
1176
  }).call(this);
1177
1177
  }
@@ -1213,25 +1213,25 @@ function _async_to_generator(fn) {
1213
1213
  }
1214
1214
  class AnalysisBucketAPI extends BaseAPI {
1215
1215
  getMany(options) {
1216
- return /*#__PURE__*/ _async_to_generator(function*() {
1216
+ return _async_to_generator(function*() {
1217
1217
  const response = yield this.client.get(`analysis-buckets${buildQuery(options)}`);
1218
1218
  return response.data;
1219
1219
  }).call(this);
1220
1220
  }
1221
1221
  getOne(id) {
1222
- return /*#__PURE__*/ _async_to_generator(function*() {
1222
+ return _async_to_generator(function*() {
1223
1223
  const response = yield this.client.get(`analysis-buckets/${id}`);
1224
1224
  return response.data;
1225
1225
  }).call(this);
1226
1226
  }
1227
1227
  create(data) {
1228
- return /*#__PURE__*/ _async_to_generator(function*() {
1228
+ return _async_to_generator(function*() {
1229
1229
  const { data: response } = yield this.client.post('analysis-buckets', data);
1230
1230
  return response;
1231
1231
  }).call(this);
1232
1232
  }
1233
1233
  delete(id) {
1234
- return /*#__PURE__*/ _async_to_generator(function*() {
1234
+ return _async_to_generator(function*() {
1235
1235
  const response = yield this.client.delete(`analysis-buckets/${id}`);
1236
1236
  return response.data;
1237
1237
  }).call(this);