@privateaim/client-vue 0.8.12 → 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.cjs CHANGED
@@ -524,13 +524,13 @@ function arrayBufferToBase64(arrayBuffer) {
524
524
  return btoa(String.fromCharCode.apply(null, new Uint8Array(arrayBuffer)));
525
525
  }
526
526
  function exportAsymmetricPublicKey(key) {
527
- return /*#__PURE__*/ _async_to_generator$2$1(function*() {
527
+ return _async_to_generator$2$1(function*() {
528
528
  const exported = yield crypto.subtle.exportKey('spki', key);
529
529
  return `-----BEGIN PUBLIC KEY-----\n${arrayBufferToBase64(exported)}\n-----END PUBLIC KEY-----`;
530
530
  })();
531
531
  }
532
532
  function exportAsymmetricPrivateKey(key) {
533
- return /*#__PURE__*/ _async_to_generator$2$1(function*() {
533
+ return _async_to_generator$2$1(function*() {
534
534
  const exported = yield crypto.subtle.exportKey('pkcs8', key);
535
535
  return `-----BEGIN PRIVATE KEY-----\n${arrayBufferToBase64(exported)}\n-----END PRIVATE KEY-----`;
536
536
  })();
@@ -634,7 +634,7 @@ class CryptoAsymmetricAlgorithm {
634
634
  throw new Error('Import params could not be created.');
635
635
  }
636
636
  generateKeyPair() {
637
- return /*#__PURE__*/ _async_to_generator$1$1(function*() {
637
+ return _async_to_generator$1$1(function*() {
638
638
  if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
639
639
  this.keyPair = yield crypto.subtle.generateKey(this.algorithm, true, [
640
640
  'encrypt',
@@ -652,7 +652,7 @@ class CryptoAsymmetricAlgorithm {
652
652
  }).call(this);
653
653
  }
654
654
  useKeyPair() {
655
- return /*#__PURE__*/ _async_to_generator$1$1(function*() {
655
+ return _async_to_generator$1$1(function*() {
656
656
  if (typeof this.keyPair !== 'undefined') {
657
657
  return this.keyPair;
658
658
  }
@@ -660,19 +660,19 @@ class CryptoAsymmetricAlgorithm {
660
660
  }).call(this);
661
661
  }
662
662
  exportPublicKey() {
663
- return /*#__PURE__*/ _async_to_generator$1$1(function*() {
663
+ return _async_to_generator$1$1(function*() {
664
664
  const keyPair = yield this.useKeyPair();
665
665
  return exportAsymmetricPublicKey(keyPair.publicKey);
666
666
  }).call(this);
667
667
  }
668
668
  exportPrivateKey() {
669
- return /*#__PURE__*/ _async_to_generator$1$1(function*() {
669
+ return _async_to_generator$1$1(function*() {
670
670
  const keyPair = yield this.useKeyPair();
671
671
  return exportAsymmetricPrivateKey(keyPair.privateKey);
672
672
  }).call(this);
673
673
  }
674
674
  encrypt(data, remoteKey) {
675
- return /*#__PURE__*/ _async_to_generator$1$1(function*() {
675
+ return _async_to_generator$1$1(function*() {
676
676
  const keyPair = yield this.useKeyPair();
677
677
  if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
678
678
  return crypto.subtle.encrypt({
@@ -709,7 +709,7 @@ class CryptoAsymmetricAlgorithm {
709
709
  }).call(this);
710
710
  }
711
711
  decrypt(data, remoteKey) {
712
- return /*#__PURE__*/ _async_to_generator$1$1(function*() {
712
+ return _async_to_generator$1$1(function*() {
713
713
  const keyPair = yield this.useKeyPair();
714
714
  if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
715
715
  return crypto.subtle.decrypt({
@@ -2232,19 +2232,19 @@ function _async_to_generator$f(fn) {
2232
2232
  }
2233
2233
  class MasterImageGroupAPI extends BaseAPI {
2234
2234
  getMany(data) {
2235
- return /*#__PURE__*/ _async_to_generator$f(function*() {
2235
+ return _async_to_generator$f(function*() {
2236
2236
  const response = yield this.client.get(`master-image-groups${rapiq.buildQuery(data)}`);
2237
2237
  return response.data;
2238
2238
  }).call(this);
2239
2239
  }
2240
2240
  getOne(id) {
2241
- return /*#__PURE__*/ _async_to_generator$f(function*() {
2241
+ return _async_to_generator$f(function*() {
2242
2242
  const response = yield this.client.delete(`master-image-groups/${id}`);
2243
2243
  return response.data;
2244
2244
  }).call(this);
2245
2245
  }
2246
2246
  delete(id) {
2247
- return /*#__PURE__*/ _async_to_generator$f(function*() {
2247
+ return _async_to_generator$f(function*() {
2248
2248
  const response = yield this.client.delete(`master-image-groups/${id}`);
2249
2249
  return response.data;
2250
2250
  }).call(this);
@@ -2314,25 +2314,25 @@ function _object_spread$3(target) {
2314
2314
  }
2315
2315
  class MasterImageAPI extends BaseAPI {
2316
2316
  getMany(data) {
2317
- return /*#__PURE__*/ _async_to_generator$e(function*() {
2317
+ return _async_to_generator$e(function*() {
2318
2318
  const response = yield this.client.get(`master-images${rapiq.buildQuery(data)}`);
2319
2319
  return response.data;
2320
2320
  }).call(this);
2321
2321
  }
2322
2322
  getOne(id, data) {
2323
- return /*#__PURE__*/ _async_to_generator$e(function*() {
2323
+ return _async_to_generator$e(function*() {
2324
2324
  const response = yield this.client.get(`master-images/${id}${rapiq.buildQuery(data)}`);
2325
2325
  return response.data;
2326
2326
  }).call(this);
2327
2327
  }
2328
2328
  delete(id) {
2329
- return /*#__PURE__*/ _async_to_generator$e(function*() {
2329
+ return _async_to_generator$e(function*() {
2330
2330
  const response = yield this.client.delete(`master-images/${id}`);
2331
2331
  return response.data;
2332
2332
  }).call(this);
2333
2333
  }
2334
2334
  runCommand(_0) {
2335
- return /*#__PURE__*/ _async_to_generator$e(function*(command, data = {}) {
2335
+ return _async_to_generator$e(function*(command, data = {}) {
2336
2336
  const actionData = _object_spread$3({
2337
2337
  command
2338
2338
  }, data);
@@ -2377,31 +2377,31 @@ function _async_to_generator$d(fn) {
2377
2377
  }
2378
2378
  class MasterImageEventLogAPI extends BaseAPI {
2379
2379
  getMany(options) {
2380
- return /*#__PURE__*/ _async_to_generator$d(function*() {
2380
+ return _async_to_generator$d(function*() {
2381
2381
  const { data: response } = yield this.client.get(`master-image-event-logs${rapiq.buildQuery(options)}`);
2382
2382
  return response;
2383
2383
  }).call(this);
2384
2384
  }
2385
2385
  getOne(id) {
2386
- return /*#__PURE__*/ _async_to_generator$d(function*() {
2386
+ return _async_to_generator$d(function*() {
2387
2387
  const { data: response } = yield this.client.get(`master-image-event-logs/${id}`);
2388
2388
  return response;
2389
2389
  }).call(this);
2390
2390
  }
2391
2391
  delete(id) {
2392
- return /*#__PURE__*/ _async_to_generator$d(function*() {
2392
+ return _async_to_generator$d(function*() {
2393
2393
  const { data: response } = yield this.client.delete(`master-image-event-logs/${id}`);
2394
2394
  return response;
2395
2395
  }).call(this);
2396
2396
  }
2397
2397
  update(id, data) {
2398
- return /*#__PURE__*/ _async_to_generator$d(function*() {
2398
+ return _async_to_generator$d(function*() {
2399
2399
  const { data: response } = yield this.client.post(`master-image-event-logs/${id}`, data);
2400
2400
  return response;
2401
2401
  }).call(this);
2402
2402
  }
2403
2403
  create(data) {
2404
- return /*#__PURE__*/ _async_to_generator$d(function*() {
2404
+ return _async_to_generator$d(function*() {
2405
2405
  const { data: response } = yield this.client.post('master-image-event-logs', data);
2406
2406
  return response;
2407
2407
  }).call(this);
@@ -2452,31 +2452,31 @@ function _async_to_generator$c(fn) {
2452
2452
  }
2453
2453
  class ProjectAPI extends BaseAPI {
2454
2454
  getMany(record) {
2455
- return /*#__PURE__*/ _async_to_generator$c(function*() {
2455
+ return _async_to_generator$c(function*() {
2456
2456
  const response = yield this.client.get(`projects${rapiq.buildQuery(record)}`);
2457
2457
  return response.data;
2458
2458
  }).call(this);
2459
2459
  }
2460
2460
  getOne(id, requestRecord) {
2461
- return /*#__PURE__*/ _async_to_generator$c(function*() {
2461
+ return _async_to_generator$c(function*() {
2462
2462
  const response = yield this.client.get(`projects/${id}${rapiq.buildQuery(requestRecord)}`);
2463
2463
  return response.data;
2464
2464
  }).call(this);
2465
2465
  }
2466
2466
  create(data) {
2467
- return /*#__PURE__*/ _async_to_generator$c(function*() {
2467
+ return _async_to_generator$c(function*() {
2468
2468
  const response = yield this.client.post('projects', nullifyEmptyObjectProperties(data));
2469
2469
  return response.data;
2470
2470
  }).call(this);
2471
2471
  }
2472
2472
  delete(id) {
2473
- return /*#__PURE__*/ _async_to_generator$c(function*() {
2473
+ return _async_to_generator$c(function*() {
2474
2474
  const response = yield this.client.delete(`projects/${id}`);
2475
2475
  return response.data;
2476
2476
  }).call(this);
2477
2477
  }
2478
2478
  update(id, data) {
2479
- return /*#__PURE__*/ _async_to_generator$c(function*() {
2479
+ return _async_to_generator$c(function*() {
2480
2480
  const response = yield this.client.post(`projects/${id}`, nullifyEmptyObjectProperties(data));
2481
2481
  return response.data;
2482
2482
  }).call(this);
@@ -2518,31 +2518,31 @@ function _async_to_generator$b(fn) {
2518
2518
  }
2519
2519
  class ProjectNodeAPI extends BaseAPI {
2520
2520
  getMany(data) {
2521
- return /*#__PURE__*/ _async_to_generator$b(function*() {
2521
+ return _async_to_generator$b(function*() {
2522
2522
  const response = yield this.client.get(`project-nodes${rapiq.buildQuery(data)}`);
2523
2523
  return response.data;
2524
2524
  }).call(this);
2525
2525
  }
2526
2526
  getOne(id, data) {
2527
- return /*#__PURE__*/ _async_to_generator$b(function*() {
2527
+ return _async_to_generator$b(function*() {
2528
2528
  const response = yield this.client.get(`project-nodes/${id}${rapiq.buildQuery(data)}`);
2529
2529
  return response.data;
2530
2530
  }).call(this);
2531
2531
  }
2532
2532
  create(data) {
2533
- return /*#__PURE__*/ _async_to_generator$b(function*() {
2533
+ return _async_to_generator$b(function*() {
2534
2534
  const response = yield this.client.post('project-nodes', data);
2535
2535
  return response.data;
2536
2536
  }).call(this);
2537
2537
  }
2538
2538
  update(id, data) {
2539
- return /*#__PURE__*/ _async_to_generator$b(function*() {
2539
+ return _async_to_generator$b(function*() {
2540
2540
  const response = yield this.client.post(`project-nodes/${id}`, nullifyEmptyObjectProperties(data));
2541
2541
  return response.data;
2542
2542
  }).call(this);
2543
2543
  }
2544
2544
  delete(id) {
2545
- return /*#__PURE__*/ _async_to_generator$b(function*() {
2545
+ return _async_to_generator$b(function*() {
2546
2546
  const response = yield this.client.delete(`project-nodes/${id}`);
2547
2547
  return response.data;
2548
2548
  }).call(this);
@@ -2584,31 +2584,31 @@ function _async_to_generator$a(fn) {
2584
2584
  }
2585
2585
  class RegistryAPI extends BaseAPI {
2586
2586
  getMany(options) {
2587
- return /*#__PURE__*/ _async_to_generator$a(function*() {
2587
+ return _async_to_generator$a(function*() {
2588
2588
  const response = yield this.client.get(`registries${rapiq.buildQuery(options)}`);
2589
2589
  return response.data;
2590
2590
  }).call(this);
2591
2591
  }
2592
2592
  getOne(id, options) {
2593
- return /*#__PURE__*/ _async_to_generator$a(function*() {
2593
+ return _async_to_generator$a(function*() {
2594
2594
  const response = yield this.client.get(`registries/${id}${rapiq.buildQuery(options)}`);
2595
2595
  return response.data;
2596
2596
  }).call(this);
2597
2597
  }
2598
2598
  create(data) {
2599
- return /*#__PURE__*/ _async_to_generator$a(function*() {
2599
+ return _async_to_generator$a(function*() {
2600
2600
  const response = yield this.client.post('registries', nullifyEmptyObjectProperties(data));
2601
2601
  return response.data;
2602
2602
  }).call(this);
2603
2603
  }
2604
2604
  update(id, data) {
2605
- return /*#__PURE__*/ _async_to_generator$a(function*() {
2605
+ return _async_to_generator$a(function*() {
2606
2606
  const response = yield this.client.post(`registries/${id}`, nullifyEmptyObjectProperties(data));
2607
2607
  return response.data;
2608
2608
  }).call(this);
2609
2609
  }
2610
2610
  delete(id) {
2611
- return /*#__PURE__*/ _async_to_generator$a(function*() {
2611
+ return _async_to_generator$a(function*() {
2612
2612
  const response = yield this.client.delete(`registries/${id}`);
2613
2613
  return response.data;
2614
2614
  }).call(this);
@@ -2650,31 +2650,31 @@ function _async_to_generator$9(fn) {
2650
2650
  }
2651
2651
  class RegistryProjectAPI extends BaseAPI {
2652
2652
  getMany(options) {
2653
- return /*#__PURE__*/ _async_to_generator$9(function*() {
2653
+ return _async_to_generator$9(function*() {
2654
2654
  const response = yield this.client.get(`registry-projects${rapiq.buildQuery(options)}`);
2655
2655
  return response.data;
2656
2656
  }).call(this);
2657
2657
  }
2658
2658
  getOne(id, options) {
2659
- return /*#__PURE__*/ _async_to_generator$9(function*() {
2659
+ return _async_to_generator$9(function*() {
2660
2660
  const response = yield this.client.get(`registry-projects/${id}${rapiq.buildQuery(options)}`);
2661
2661
  return response.data;
2662
2662
  }).call(this);
2663
2663
  }
2664
2664
  create(data) {
2665
- return /*#__PURE__*/ _async_to_generator$9(function*() {
2665
+ return _async_to_generator$9(function*() {
2666
2666
  const response = yield this.client.post('registry-projects', nullifyEmptyObjectProperties(data));
2667
2667
  return response.data;
2668
2668
  }).call(this);
2669
2669
  }
2670
2670
  update(id, data) {
2671
- return /*#__PURE__*/ _async_to_generator$9(function*() {
2671
+ return _async_to_generator$9(function*() {
2672
2672
  const response = yield this.client.post(`registry-projects/${id}`, nullifyEmptyObjectProperties(data));
2673
2673
  return response.data;
2674
2674
  }).call(this);
2675
2675
  }
2676
2676
  delete(id) {
2677
- return /*#__PURE__*/ _async_to_generator$9(function*() {
2677
+ return _async_to_generator$9(function*() {
2678
2678
  const response = yield this.client.delete(`registry-projects/${id}`);
2679
2679
  return response.data;
2680
2680
  }).call(this);
@@ -2744,37 +2744,37 @@ function _object_spread$2(target) {
2744
2744
  }
2745
2745
  class NodeAPI extends BaseAPI {
2746
2746
  getMany(options) {
2747
- return /*#__PURE__*/ _async_to_generator$8(function*() {
2747
+ return _async_to_generator$8(function*() {
2748
2748
  const response = yield this.client.get(`nodes${rapiq.buildQuery(options)}`);
2749
2749
  return response.data;
2750
2750
  }).call(this);
2751
2751
  }
2752
2752
  getOne(id, options) {
2753
- return /*#__PURE__*/ _async_to_generator$8(function*() {
2753
+ return _async_to_generator$8(function*() {
2754
2754
  const response = yield this.client.get(`nodes/${id}${rapiq.buildQuery(options)}`);
2755
2755
  return response.data;
2756
2756
  }).call(this);
2757
2757
  }
2758
2758
  create(data) {
2759
- return /*#__PURE__*/ _async_to_generator$8(function*() {
2759
+ return _async_to_generator$8(function*() {
2760
2760
  const response = yield this.client.post('nodes', nullifyEmptyObjectProperties(data));
2761
2761
  return response.data;
2762
2762
  }).call(this);
2763
2763
  }
2764
2764
  update(id, data) {
2765
- return /*#__PURE__*/ _async_to_generator$8(function*() {
2765
+ return _async_to_generator$8(function*() {
2766
2766
  const response = yield this.client.post(`nodes/${id}`, nullifyEmptyObjectProperties(data));
2767
2767
  return response.data;
2768
2768
  }).call(this);
2769
2769
  }
2770
2770
  delete(id) {
2771
- return /*#__PURE__*/ _async_to_generator$8(function*() {
2771
+ return _async_to_generator$8(function*() {
2772
2772
  const response = yield this.client.delete(`nodes/${id}`);
2773
2773
  return response.data;
2774
2774
  }).call(this);
2775
2775
  }
2776
2776
  runCommand(id, task, data) {
2777
- return /*#__PURE__*/ _async_to_generator$8(function*() {
2777
+ return _async_to_generator$8(function*() {
2778
2778
  const response = yield this.client.post(`nodes/${id}/task`, _object_spread$2({
2779
2779
  task
2780
2780
  }, data));
@@ -2859,37 +2859,37 @@ class AnalysisAPI extends BaseAPI {
2859
2859
  return new URL(this.getFilesDownloadPath(id), this.client.getBaseURL()).href;
2860
2860
  }
2861
2861
  getMany(options) {
2862
- return /*#__PURE__*/ _async_to_generator$7(function*() {
2862
+ return _async_to_generator$7(function*() {
2863
2863
  const { data: response } = yield this.client.get(`analyses${rapiq.buildQuery(options)}`);
2864
2864
  return response;
2865
2865
  }).call(this);
2866
2866
  }
2867
2867
  getOne(id, options, requestConfig) {
2868
- return /*#__PURE__*/ _async_to_generator$7(function*() {
2868
+ return _async_to_generator$7(function*() {
2869
2869
  const { data: response } = yield this.client.get(`analyses/${id}${rapiq.buildQuery(options)}`, requestConfig);
2870
2870
  return response;
2871
2871
  }).call(this);
2872
2872
  }
2873
2873
  delete(id) {
2874
- return /*#__PURE__*/ _async_to_generator$7(function*() {
2874
+ return _async_to_generator$7(function*() {
2875
2875
  const { data: response } = yield this.client.delete(`analyses/${id}`);
2876
2876
  return response;
2877
2877
  }).call(this);
2878
2878
  }
2879
2879
  update(id, data) {
2880
- return /*#__PURE__*/ _async_to_generator$7(function*() {
2880
+ return _async_to_generator$7(function*() {
2881
2881
  const { data: response } = yield this.client.post(`analyses/${id}`, nullifyEmptyObjectProperties(data));
2882
2882
  return response;
2883
2883
  }).call(this);
2884
2884
  }
2885
2885
  create(data) {
2886
- return /*#__PURE__*/ _async_to_generator$7(function*() {
2886
+ return _async_to_generator$7(function*() {
2887
2887
  const { data: response } = yield this.client.post('analyses', nullifyEmptyObjectProperties(data));
2888
2888
  return response;
2889
2889
  }).call(this);
2890
2890
  }
2891
2891
  runCommand(_0, _1) {
2892
- return /*#__PURE__*/ _async_to_generator$7(function*(id, command, data = {}) {
2892
+ return _async_to_generator$7(function*(id, command, data = {}) {
2893
2893
  const actionData = _object_spread$1({
2894
2894
  command
2895
2895
  }, data);
@@ -2898,7 +2898,7 @@ class AnalysisAPI extends BaseAPI {
2898
2898
  }).apply(this, arguments);
2899
2899
  }
2900
2900
  streamFiles(id) {
2901
- return /*#__PURE__*/ _async_to_generator$7(function*() {
2901
+ return _async_to_generator$7(function*() {
2902
2902
  const response = yield this.client.get(this.getFilesDownloadPath(id), {
2903
2903
  responseType: 'stream'
2904
2904
  });
@@ -2906,7 +2906,7 @@ class AnalysisAPI extends BaseAPI {
2906
2906
  }).call(this);
2907
2907
  }
2908
2908
  downloadResult(id) {
2909
- return /*#__PURE__*/ _async_to_generator$7(function*() {
2909
+ return _async_to_generator$7(function*() {
2910
2910
  const response = yield this.client.get(this.getResultDownloadPath(id), {
2911
2911
  responseType: 'stream'
2912
2912
  });
@@ -2950,31 +2950,31 @@ function _async_to_generator$6(fn) {
2950
2950
  }
2951
2951
  class AnalysisBucketFileAPI extends BaseAPI {
2952
2952
  getMany(options) {
2953
- return /*#__PURE__*/ _async_to_generator$6(function*() {
2953
+ return _async_to_generator$6(function*() {
2954
2954
  const response = yield this.client.get(`analysis-bucket-files${rapiq.buildQuery(options)}`);
2955
2955
  return response.data;
2956
2956
  }).call(this);
2957
2957
  }
2958
2958
  getOne(id) {
2959
- return /*#__PURE__*/ _async_to_generator$6(function*() {
2959
+ return _async_to_generator$6(function*() {
2960
2960
  const response = yield this.client.get(`analysis-bucket-files/${id}`);
2961
2961
  return response.data;
2962
2962
  }).call(this);
2963
2963
  }
2964
2964
  delete(id) {
2965
- return /*#__PURE__*/ _async_to_generator$6(function*() {
2965
+ return _async_to_generator$6(function*() {
2966
2966
  const response = yield this.client.delete(`analysis-bucket-files/${id}`);
2967
2967
  return response.data;
2968
2968
  }).call(this);
2969
2969
  }
2970
2970
  update(id, data) {
2971
- return /*#__PURE__*/ _async_to_generator$6(function*() {
2971
+ return _async_to_generator$6(function*() {
2972
2972
  const { data: response } = yield this.client.post(`analysis-bucket-files/${id}`, nullifyEmptyObjectProperties(data));
2973
2973
  return response;
2974
2974
  }).call(this);
2975
2975
  }
2976
2976
  create(data) {
2977
- return /*#__PURE__*/ _async_to_generator$6(function*() {
2977
+ return _async_to_generator$6(function*() {
2978
2978
  const { data: response } = yield this.client.post('analysis-bucket-files', nullifyEmptyObjectProperties(data));
2979
2979
  return response;
2980
2980
  }).call(this);
@@ -3016,31 +3016,31 @@ function _async_to_generator$5(fn) {
3016
3016
  }
3017
3017
  class AnalysisLogAPI extends BaseAPI {
3018
3018
  getMany(options) {
3019
- return /*#__PURE__*/ _async_to_generator$5(function*() {
3019
+ return _async_to_generator$5(function*() {
3020
3020
  const { data: response } = yield this.client.get(`analysis-logs${rapiq.buildQuery(options)}`);
3021
3021
  return response;
3022
3022
  }).call(this);
3023
3023
  }
3024
3024
  getOne(id) {
3025
- return /*#__PURE__*/ _async_to_generator$5(function*() {
3025
+ return _async_to_generator$5(function*() {
3026
3026
  const { data: response } = yield this.client.get(`analysis-logs/${id}`);
3027
3027
  return response;
3028
3028
  }).call(this);
3029
3029
  }
3030
3030
  delete(id) {
3031
- return /*#__PURE__*/ _async_to_generator$5(function*() {
3031
+ return _async_to_generator$5(function*() {
3032
3032
  const { data: response } = yield this.client.delete(`analysis-logs/${id}`);
3033
3033
  return response;
3034
3034
  }).call(this);
3035
3035
  }
3036
3036
  update(id, data) {
3037
- return /*#__PURE__*/ _async_to_generator$5(function*() {
3037
+ return _async_to_generator$5(function*() {
3038
3038
  const { data: response } = yield this.client.post(`analysis-logs/${id}`, data);
3039
3039
  return response;
3040
3040
  }).call(this);
3041
3041
  }
3042
3042
  create(data) {
3043
- return /*#__PURE__*/ _async_to_generator$5(function*() {
3043
+ return _async_to_generator$5(function*() {
3044
3044
  const { data: response } = yield this.client.post('analysis-logs', data);
3045
3045
  return response;
3046
3046
  }).call(this);
@@ -3082,31 +3082,31 @@ function _async_to_generator$4(fn) {
3082
3082
  }
3083
3083
  class TrainStationAPI extends BaseAPI {
3084
3084
  getMany(options) {
3085
- return /*#__PURE__*/ _async_to_generator$4(function*() {
3085
+ return _async_to_generator$4(function*() {
3086
3086
  const { data: response } = yield this.client.get(`analysis-nodes${rapiq.buildQuery(options)}`);
3087
3087
  return response;
3088
3088
  }).call(this);
3089
3089
  }
3090
3090
  getOne(id) {
3091
- return /*#__PURE__*/ _async_to_generator$4(function*() {
3091
+ return _async_to_generator$4(function*() {
3092
3092
  const { data: response } = yield this.client.get(`analysis-nodes/${id}`);
3093
3093
  return response;
3094
3094
  }).call(this);
3095
3095
  }
3096
3096
  delete(id) {
3097
- return /*#__PURE__*/ _async_to_generator$4(function*() {
3097
+ return _async_to_generator$4(function*() {
3098
3098
  const { data: response } = yield this.client.delete(`analysis-nodes/${id}`);
3099
3099
  return response;
3100
3100
  }).call(this);
3101
3101
  }
3102
3102
  update(id, data) {
3103
- return /*#__PURE__*/ _async_to_generator$4(function*() {
3103
+ return _async_to_generator$4(function*() {
3104
3104
  const { data: response } = yield this.client.post(`analysis-nodes/${id}`, data);
3105
3105
  return response;
3106
3106
  }).call(this);
3107
3107
  }
3108
3108
  create(data) {
3109
- return /*#__PURE__*/ _async_to_generator$4(function*() {
3109
+ return _async_to_generator$4(function*() {
3110
3110
  const { data: response } = yield this.client.post('analysis-nodes', data);
3111
3111
  return response;
3112
3112
  }).call(this);
@@ -3148,31 +3148,31 @@ function _async_to_generator$3(fn) {
3148
3148
  }
3149
3149
  class AnalysisNodeLogAPI extends BaseAPI {
3150
3150
  getMany(options) {
3151
- return /*#__PURE__*/ _async_to_generator$3(function*() {
3151
+ return _async_to_generator$3(function*() {
3152
3152
  const { data: response } = yield this.client.get(`analysis-node-logs${rapiq.buildQuery(options)}`);
3153
3153
  return response;
3154
3154
  }).call(this);
3155
3155
  }
3156
3156
  getOne(id) {
3157
- return /*#__PURE__*/ _async_to_generator$3(function*() {
3157
+ return _async_to_generator$3(function*() {
3158
3158
  const { data: response } = yield this.client.get(`analysis-node-logs/${id}`);
3159
3159
  return response;
3160
3160
  }).call(this);
3161
3161
  }
3162
3162
  delete(id) {
3163
- return /*#__PURE__*/ _async_to_generator$3(function*() {
3163
+ return _async_to_generator$3(function*() {
3164
3164
  const { data: response } = yield this.client.delete(`analysis-node-logs/${id}`);
3165
3165
  return response;
3166
3166
  }).call(this);
3167
3167
  }
3168
3168
  update(id, data) {
3169
- return /*#__PURE__*/ _async_to_generator$3(function*() {
3169
+ return _async_to_generator$3(function*() {
3170
3170
  const { data: response } = yield this.client.post(`analysis-node-logs/${id}`, data);
3171
3171
  return response;
3172
3172
  }).call(this);
3173
3173
  }
3174
3174
  create(data) {
3175
- return /*#__PURE__*/ _async_to_generator$3(function*() {
3175
+ return _async_to_generator$3(function*() {
3176
3176
  const { data: response } = yield this.client.post('analysis-node-logs', data);
3177
3177
  return response;
3178
3178
  }).call(this);
@@ -3214,31 +3214,31 @@ function _async_to_generator$2(fn) {
3214
3214
  }
3215
3215
  class AnalysisPermissionAPI extends BaseAPI {
3216
3216
  getMany(options) {
3217
- return /*#__PURE__*/ _async_to_generator$2(function*() {
3217
+ return _async_to_generator$2(function*() {
3218
3218
  const { data: response } = yield this.client.get(`analysis-permissions${rapiq.buildQuery(options)}`);
3219
3219
  return response;
3220
3220
  }).call(this);
3221
3221
  }
3222
3222
  getOne(id) {
3223
- return /*#__PURE__*/ _async_to_generator$2(function*() {
3223
+ return _async_to_generator$2(function*() {
3224
3224
  const { data: response } = yield this.client.get(`analysis-permissions/${id}`);
3225
3225
  return response;
3226
3226
  }).call(this);
3227
3227
  }
3228
3228
  delete(id) {
3229
- return /*#__PURE__*/ _async_to_generator$2(function*() {
3229
+ return _async_to_generator$2(function*() {
3230
3230
  const { data: response } = yield this.client.delete(`analysis-permissions/${id}`);
3231
3231
  return response;
3232
3232
  }).call(this);
3233
3233
  }
3234
3234
  update(id, data) {
3235
- return /*#__PURE__*/ _async_to_generator$2(function*() {
3235
+ return _async_to_generator$2(function*() {
3236
3236
  const { data: response } = yield this.client.post(`analysis-permissions/${id}`, data);
3237
3237
  return response;
3238
3238
  }).call(this);
3239
3239
  }
3240
3240
  create(data) {
3241
- return /*#__PURE__*/ _async_to_generator$2(function*() {
3241
+ return _async_to_generator$2(function*() {
3242
3242
  const { data: response } = yield this.client.post('analysis-permissions', data);
3243
3243
  return response;
3244
3244
  }).call(this);
@@ -3308,7 +3308,7 @@ function _object_spread(target) {
3308
3308
  }
3309
3309
  class ServiceAPI extends BaseAPI {
3310
3310
  runCommand(id, command, data) {
3311
- return /*#__PURE__*/ _async_to_generator$1(function*() {
3311
+ return _async_to_generator$1(function*() {
3312
3312
  data = data || {};
3313
3313
  const { data: resultData } = yield this.client.post(`services/${id}/command`, nullifyEmptyObjectProperties(_object_spread({
3314
3314
  command
@@ -3317,7 +3317,7 @@ class ServiceAPI extends BaseAPI {
3317
3317
  }).call(this);
3318
3318
  }
3319
3319
  runRegistryCommand(command, data) {
3320
- return /*#__PURE__*/ _async_to_generator$1(function*() {
3320
+ return _async_to_generator$1(function*() {
3321
3321
  return this.runCommand(coreKit.ServiceID.REGISTRY, command, data);
3322
3322
  }).call(this);
3323
3323
  }
@@ -3358,25 +3358,25 @@ function _async_to_generator(fn) {
3358
3358
  }
3359
3359
  class AnalysisBucketAPI extends BaseAPI {
3360
3360
  getMany(options) {
3361
- return /*#__PURE__*/ _async_to_generator(function*() {
3361
+ return _async_to_generator(function*() {
3362
3362
  const response = yield this.client.get(`analysis-buckets${rapiq.buildQuery(options)}`);
3363
3363
  return response.data;
3364
3364
  }).call(this);
3365
3365
  }
3366
3366
  getOne(id) {
3367
- return /*#__PURE__*/ _async_to_generator(function*() {
3367
+ return _async_to_generator(function*() {
3368
3368
  const response = yield this.client.get(`analysis-buckets/${id}`);
3369
3369
  return response.data;
3370
3370
  }).call(this);
3371
3371
  }
3372
3372
  create(data) {
3373
- return /*#__PURE__*/ _async_to_generator(function*() {
3373
+ return _async_to_generator(function*() {
3374
3374
  const { data: response } = yield this.client.post('analysis-buckets', data);
3375
3375
  return response;
3376
3376
  }).call(this);
3377
3377
  }
3378
3378
  delete(id) {
3379
- return /*#__PURE__*/ _async_to_generator(function*() {
3379
+ return _async_to_generator(function*() {
3380
3380
  const response = yield this.client.delete(`analysis-buckets/${id}`);
3381
3381
  return response.data;
3382
3382
  }).call(this);
@@ -10017,14 +10017,37 @@ const FAnalysisBucketFiles = vue.defineComponent({
10017
10017
  default: undefined
10018
10018
  }
10019
10019
  },
10020
- slots: Object,
10021
10020
  emits: defineListEvents(),
10021
+ slots: Object,
10022
10022
  setup (props, setup) {
10023
10023
  // todo: include sort
10024
+ const filters = vue.computed(()=>{
10025
+ if (props.query) {
10026
+ return props.query.filters;
10027
+ }
10028
+ return {};
10029
+ });
10030
+ const canHandleEventData = (item)=>{
10031
+ if (filters.value.bucket_id) {
10032
+ return item.bucket_id === filters.value.bucket_id;
10033
+ }
10034
+ if (filters.value.analysis_id) {
10035
+ return item.analysis_id === filters.value.analysis_id;
10036
+ }
10037
+ if (filters.value.realm_id) {
10038
+ return item.realm_id === filters.value.realm_id;
10039
+ }
10040
+ return true;
10041
+ };
10024
10042
  const { render, setDefaults } = createList({
10025
10043
  type: `${coreKit.DomainType.ANALYSIS_BUCKET_FILE}`,
10026
10044
  props,
10027
- setup
10045
+ setup,
10046
+ socket: {
10047
+ processEvent (event) {
10048
+ return canHandleEventData(event.data);
10049
+ }
10050
+ }
10028
10051
  });
10029
10052
  setDefaults({
10030
10053
  noMore: {