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