@privateaim/core-http-kit 0.8.15 → 0.8.17
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 +32 -0
- package/dist/client/module.d.ts +1 -2
- package/dist/client/module.d.ts.map +1 -1
- package/dist/domains/analysis-log/module.d.ts +2 -1
- package/dist/domains/analysis-log/module.d.ts.map +1 -1
- package/dist/domains/analysis-node-log/module.d.ts +3 -3
- package/dist/domains/analysis-node-log/module.d.ts.map +1 -1
- package/dist/domains/index.d.ts +0 -1
- package/dist/domains/index.d.ts.map +1 -1
- package/dist/index.cjs +17 -89
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +18 -89
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -3
- package/src/client/module.ts +0 -4
- package/src/domains/analysis-log/module.ts +2 -1
- package/src/domains/analysis-node-log/module.ts +5 -7
- package/src/domains/index.ts +0 -1
- package/tsconfig.json +2 -3
- package/dist/domains/event/index.d.ts +0 -2
- package/dist/domains/event/index.d.ts.map +0 -1
- package/dist/domains/event/module.d.ts +0 -12
- package/dist/domains/event/module.d.ts.map +0 -1
- package/src/domains/event/index.ts +0 -8
- package/src/domains/event/module.ts +0 -43
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.17](https://github.com/PrivateAIM/hub/compare/v0.8.16...v0.8.17) (2025-09-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* devDependencies
|
|
10
|
+
* @privateaim/core-kit bumped from ^0.8.16 to ^0.8.17
|
|
11
|
+
* @privateaim/telemetry-kit bumped from ^0.8.16 to ^0.8.17
|
|
12
|
+
* peerDependencies
|
|
13
|
+
* @privateaim/core-kit bumped from ^0.8.16 to ^0.8.17
|
|
14
|
+
* @privateaim/telemetry-kit bumped from ^0.8.16 to ^0.8.17
|
|
15
|
+
|
|
16
|
+
## [0.8.16](https://github.com/PrivateAIM/hub/compare/v0.8.15...v0.8.16) (2025-08-26)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* integrated telemetry service (kit + service) in server-core package ([2af7e01](https://github.com/PrivateAIM/hub/commit/2af7e0145e89884d3473568e3bbcee2911e2bb73))
|
|
22
|
+
* move log-store, loki setup etc. to telemetry service ([#1151](https://github.com/PrivateAIM/hub/issues/1151)) ([8b38b0e](https://github.com/PrivateAIM/hub/commit/8b38b0ee0fafafb121eb4efb0aaf548c27edcde4))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* devDependencies
|
|
29
|
+
* @privateaim/core-kit bumped from ^0.8.15 to ^0.8.16
|
|
30
|
+
* @privateaim/telemetry-kit bumped from ^0.8.15 to ^0.8.16
|
|
31
|
+
* peerDependencies
|
|
32
|
+
* @privateaim/core-kit bumped from ^0.8.15 to ^0.8.16
|
|
33
|
+
* @privateaim/telemetry-kit bumped from ^0.8.15 to ^0.8.16
|
|
34
|
+
|
|
3
35
|
## [0.8.15](https://github.com/PrivateAIM/hub/compare/v0.8.14...v0.8.15) (2025-07-30)
|
|
4
36
|
|
|
5
37
|
|
package/dist/client/module.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { RequestBaseOptions } from 'hapic';
|
|
2
2
|
import { Client as BaseClient } from 'hapic';
|
|
3
|
-
import { AnalysisAPI, AnalysisBucketAPI, AnalysisBucketFileAPI, AnalysisLogAPI, AnalysisNodeAPI, AnalysisNodeEventAPI, AnalysisNodeLogAPI, AnalysisPermissionAPI,
|
|
3
|
+
import { AnalysisAPI, AnalysisBucketAPI, AnalysisBucketFileAPI, AnalysisLogAPI, AnalysisNodeAPI, AnalysisNodeEventAPI, AnalysisNodeLogAPI, AnalysisPermissionAPI, MasterImageAPI, MasterImageGroupAPI, NodeAPI, ProjectAPI, ProjectNodeAPI, RegistryAPI, RegistryProjectAPI, ServiceAPI } from '../domains';
|
|
4
4
|
export declare class Client extends BaseClient {
|
|
5
5
|
readonly masterImage: MasterImageAPI;
|
|
6
6
|
readonly masterImageGroup: MasterImageGroupAPI;
|
|
7
|
-
readonly event: EventAPI;
|
|
8
7
|
readonly project: ProjectAPI;
|
|
9
8
|
readonly projectNode: ProjectNodeAPI;
|
|
10
9
|
readonly registry: RegistryAPI;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/client/module.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,UAAU,EAA2B,MAAM,OAAO,CAAC;AACtE,OAAO,EACH,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EAAE,cAAc,EACrC,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/client/module.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,UAAU,EAA2B,MAAM,OAAO,CAAC;AACtE,OAAO,EACH,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EAAE,cAAc,EACrC,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,cAAc,EACd,mBAAmB,EACnB,OAAO,EACP,UAAU,EACV,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,UAAU,EACb,MAAM,YAAY,CAAC;AAEpB,qBAAa,MAAO,SAAQ,UAAU;IAClC,SAAgB,WAAW,EAAG,cAAc,CAAC;IAE7C,SAAgB,gBAAgB,EAAG,mBAAmB,CAAC;IAEvD,SAAgB,OAAO,EAAG,UAAU,CAAC;IAErC,SAAgB,WAAW,EAAE,cAAc,CAAC;IAE5C,SAAgB,QAAQ,EAAG,WAAW,CAAC;IAEvC,SAAgB,eAAe,EAAG,kBAAkB,CAAC;IAErD,SAAgB,IAAI,EAAG,OAAO,CAAC;IAE/B,SAAgB,QAAQ,EAAG,WAAW,CAAC;IAEvC,SAAgB,cAAc,EAAG,iBAAiB,CAAC;IAEnD,SAAgB,kBAAkB,EAAG,qBAAqB,CAAC;IAE3D,SAAgB,WAAW,EAAE,cAAc,CAAC;IAE5C,SAAgB,YAAY,EAAG,eAAe,CAAC;IAE/C,SAAgB,iBAAiB,EAAE,oBAAoB,CAAC;IAExD,SAAgB,eAAe,EAAE,kBAAkB,CAAC;IAEpD,SAAgB,kBAAkB,EAAG,qBAAqB,CAAC;IAE3D,SAAgB,OAAO,EAAG,UAAU,CAAC;gBAEzB,MAAM,EAAE,kBAAkB;CAiCzC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type { Log } from '@privateaim/telemetry-kit';
|
|
1
2
|
import type { BuildInput } from 'rapiq';
|
|
2
3
|
import type { AnalysisLog } from '@privateaim/core-kit';
|
|
3
4
|
import { BaseAPI } from '../base';
|
|
4
5
|
import type { CollectionResourceResponse } from '../types-base';
|
|
5
6
|
export declare class AnalysisLogAPI extends BaseAPI {
|
|
6
|
-
getMany(options?: BuildInput<AnalysisLog>): Promise<CollectionResourceResponse<
|
|
7
|
+
getMany(options?: BuildInput<AnalysisLog>): Promise<CollectionResourceResponse<Log>>;
|
|
7
8
|
delete(options: BuildInput<AnalysisLog>): Promise<void>;
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/domains/analysis-log/module.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAEhE,qBAAa,cAAe,SAAQ,OAAO;IACjC,OAAO,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,0BAA0B,CAAC,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/domains/analysis-log/module.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAEhE,qBAAa,cAAe,SAAQ,OAAO;IACjC,OAAO,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,0BAA0B,CAAC,GAAG,CAAC,CAAC;IAKpF,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAGhE"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { BuildInput } from 'rapiq';
|
|
2
2
|
import type { AnalysisNodeLog } from '@privateaim/core-kit';
|
|
3
|
-
import type { Log } from '@privateaim/kit
|
|
3
|
+
import type { Log } from '@privateaim/telemetry-kit';
|
|
4
4
|
import { BaseAPI } from '../base';
|
|
5
|
-
import type { CollectionResourceResponse
|
|
5
|
+
import type { CollectionResourceResponse } from '../types-base';
|
|
6
6
|
export declare class AnalysisNodeLogAPI extends BaseAPI {
|
|
7
7
|
getMany(options?: BuildInput<AnalysisNodeLog>): Promise<CollectionResourceResponse<Log>>;
|
|
8
8
|
delete(options?: BuildInput<AnalysisNodeLog>): Promise<void>;
|
|
9
|
-
create(data: Partial<AnalysisNodeLog>): Promise<
|
|
9
|
+
create(data: Partial<AnalysisNodeLog>): Promise<void>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/domains/analysis-node-log/module.ts"],"names":[],"mappings":"AAOA,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/domains/analysis-node-log/module.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAEhE,qBAAa,kBAAmB,SAAQ,OAAO;IACrC,OAAO,CAAC,OAAO,GAAE,UAAU,CAAC,eAAe,CAAM,GAAG,OAAO,CAAC,0BAA0B,CAAC,GAAG,CAAC,CAAC;IAK5F,MAAM,CAAC,OAAO,GAAE,UAAU,CAAC,eAAe,CAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIhE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAG9D"}
|
package/dist/domains/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/domains/index.ts"],"names":[],"mappings":"AAOA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/domains/index.ts"],"names":[],"mappings":"AAOA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -41,7 +41,7 @@ class BaseAPI {
|
|
|
41
41
|
* Author Peter Placzek (tada5hi)
|
|
42
42
|
* For the full copyright and license information,
|
|
43
43
|
* view the LICENSE file that was distributed with this source code.
|
|
44
|
-
*/ function asyncGeneratorStep$
|
|
44
|
+
*/ function asyncGeneratorStep$f(gen, resolve, reject, _next, _throw, key, arg) {
|
|
45
45
|
try {
|
|
46
46
|
var info = gen[key](arg);
|
|
47
47
|
var value = info.value;
|
|
@@ -55,16 +55,16 @@ class BaseAPI {
|
|
|
55
55
|
Promise.resolve(value).then(_next, _throw);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function _async_to_generator$
|
|
58
|
+
function _async_to_generator$f(fn) {
|
|
59
59
|
return function() {
|
|
60
60
|
var self = this, args = arguments;
|
|
61
61
|
return new Promise(function(resolve, reject) {
|
|
62
62
|
var gen = fn.apply(self, args);
|
|
63
63
|
function _next(value) {
|
|
64
|
-
asyncGeneratorStep$
|
|
64
|
+
asyncGeneratorStep$f(gen, resolve, reject, _next, _throw, "next", value);
|
|
65
65
|
}
|
|
66
66
|
function _throw(err) {
|
|
67
|
-
asyncGeneratorStep$
|
|
67
|
+
asyncGeneratorStep$f(gen, resolve, reject, _next, _throw, "throw", err);
|
|
68
68
|
}
|
|
69
69
|
_next(undefined);
|
|
70
70
|
});
|
|
@@ -72,19 +72,19 @@ function _async_to_generator$g(fn) {
|
|
|
72
72
|
}
|
|
73
73
|
class MasterImageGroupAPI extends BaseAPI {
|
|
74
74
|
getMany(data) {
|
|
75
|
-
return _async_to_generator$
|
|
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 _async_to_generator$
|
|
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 _async_to_generator$
|
|
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);
|
|
@@ -96,7 +96,7 @@ class MasterImageGroupAPI extends BaseAPI {
|
|
|
96
96
|
* Author Peter Placzek (tada5hi)
|
|
97
97
|
* For the full copyright and license information,
|
|
98
98
|
* view the LICENSE file that was distributed with this source code.
|
|
99
|
-
*/ function asyncGeneratorStep$
|
|
99
|
+
*/ function asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, key, arg) {
|
|
100
100
|
try {
|
|
101
101
|
var info = gen[key](arg);
|
|
102
102
|
var value = info.value;
|
|
@@ -110,16 +110,16 @@ class MasterImageGroupAPI extends BaseAPI {
|
|
|
110
110
|
Promise.resolve(value).then(_next, _throw);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
function _async_to_generator$
|
|
113
|
+
function _async_to_generator$e(fn) {
|
|
114
114
|
return function() {
|
|
115
115
|
var self = this, args = arguments;
|
|
116
116
|
return new Promise(function(resolve, reject) {
|
|
117
117
|
var gen = fn.apply(self, args);
|
|
118
118
|
function _next(value) {
|
|
119
|
-
asyncGeneratorStep$
|
|
119
|
+
asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, "next", value);
|
|
120
120
|
}
|
|
121
121
|
function _throw(err) {
|
|
122
|
-
asyncGeneratorStep$
|
|
122
|
+
asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, "throw", err);
|
|
123
123
|
}
|
|
124
124
|
_next(undefined);
|
|
125
125
|
});
|
|
@@ -155,25 +155,25 @@ function _object_spread$3(target) {
|
|
|
155
155
|
}
|
|
156
156
|
class MasterImageAPI extends BaseAPI {
|
|
157
157
|
getMany(data) {
|
|
158
|
-
return _async_to_generator$
|
|
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 _async_to_generator$
|
|
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 _async_to_generator$
|
|
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 _async_to_generator$
|
|
176
|
+
return _async_to_generator$e(function*(command, data = {}) {
|
|
177
177
|
const actionData = _object_spread$3({
|
|
178
178
|
command
|
|
179
179
|
}, data);
|
|
@@ -183,73 +183,6 @@ class MasterImageAPI extends BaseAPI {
|
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
/*
|
|
187
|
-
* Copyright (c) 2021-2024.
|
|
188
|
-
* Author Peter Placzek (tada5hi)
|
|
189
|
-
* For the full copyright and license information,
|
|
190
|
-
* view the LICENSE file that was distributed with this source code.
|
|
191
|
-
*/ function asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, key, arg) {
|
|
192
|
-
try {
|
|
193
|
-
var info = gen[key](arg);
|
|
194
|
-
var value = info.value;
|
|
195
|
-
} catch (error) {
|
|
196
|
-
reject(error);
|
|
197
|
-
return;
|
|
198
|
-
}
|
|
199
|
-
if (info.done) {
|
|
200
|
-
resolve(value);
|
|
201
|
-
} else {
|
|
202
|
-
Promise.resolve(value).then(_next, _throw);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
function _async_to_generator$e(fn) {
|
|
206
|
-
return function() {
|
|
207
|
-
var self = this, args = arguments;
|
|
208
|
-
return new Promise(function(resolve, reject) {
|
|
209
|
-
var gen = fn.apply(self, args);
|
|
210
|
-
function _next(value) {
|
|
211
|
-
asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, "next", value);
|
|
212
|
-
}
|
|
213
|
-
function _throw(err) {
|
|
214
|
-
asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, "throw", err);
|
|
215
|
-
}
|
|
216
|
-
_next(undefined);
|
|
217
|
-
});
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
class EventAPI extends BaseAPI {
|
|
221
|
-
getMany(options) {
|
|
222
|
-
return _async_to_generator$e(function*() {
|
|
223
|
-
const { data: response } = yield this.client.get(`events${rapiq.buildQuery(options)}`);
|
|
224
|
-
return response;
|
|
225
|
-
}).call(this);
|
|
226
|
-
}
|
|
227
|
-
getOne(id) {
|
|
228
|
-
return _async_to_generator$e(function*() {
|
|
229
|
-
const { data: response } = yield this.client.get(`events/${id}`);
|
|
230
|
-
return response;
|
|
231
|
-
}).call(this);
|
|
232
|
-
}
|
|
233
|
-
delete(id) {
|
|
234
|
-
return _async_to_generator$e(function*() {
|
|
235
|
-
const { data: response } = yield this.client.delete(`events/${id}`);
|
|
236
|
-
return response;
|
|
237
|
-
}).call(this);
|
|
238
|
-
}
|
|
239
|
-
update(id, data) {
|
|
240
|
-
return _async_to_generator$e(function*() {
|
|
241
|
-
const { data: response } = yield this.client.post(`events/${id}`, data);
|
|
242
|
-
return response;
|
|
243
|
-
}).call(this);
|
|
244
|
-
}
|
|
245
|
-
create(data) {
|
|
246
|
-
return _async_to_generator$e(function*() {
|
|
247
|
-
const { data: response } = yield this.client.post('events', data);
|
|
248
|
-
return response;
|
|
249
|
-
}).call(this);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
186
|
function nullifyEmptyObjectProperties(data) {
|
|
254
187
|
const keys = Object.keys(data);
|
|
255
188
|
for(let i = 0; i < keys.length; i++){
|
|
@@ -1104,8 +1037,7 @@ class AnalysisNodeLogAPI extends BaseAPI {
|
|
|
1104
1037
|
}
|
|
1105
1038
|
create(data) {
|
|
1106
1039
|
return _async_to_generator$2(function*() {
|
|
1107
|
-
|
|
1108
|
-
return response;
|
|
1040
|
+
yield this.client.post('analysis-node-logs', data);
|
|
1109
1041
|
}).call(this);
|
|
1110
1042
|
}
|
|
1111
1043
|
}
|
|
@@ -1276,16 +1208,13 @@ class ServiceAPI extends BaseAPI {
|
|
|
1276
1208
|
}
|
|
1277
1209
|
class Client extends hapic.Client {
|
|
1278
1210
|
constructor(config){
|
|
1279
|
-
super(config), _define_property(this, "masterImage", void 0), _define_property(this, "masterImageGroup", void 0), _define_property(this, "
|
|
1211
|
+
super(config), _define_property(this, "masterImage", void 0), _define_property(this, "masterImageGroup", 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, "analysisNodeEvent", void 0), _define_property(this, "analysisNodeLog", void 0), _define_property(this, "analysisPermission", void 0), _define_property(this, "service", void 0);
|
|
1280
1212
|
this.masterImage = new MasterImageAPI({
|
|
1281
1213
|
client: this
|
|
1282
1214
|
});
|
|
1283
1215
|
this.masterImageGroup = new MasterImageGroupAPI({
|
|
1284
1216
|
client: this
|
|
1285
1217
|
});
|
|
1286
|
-
this.event = new EventAPI({
|
|
1287
|
-
client: this
|
|
1288
|
-
});
|
|
1289
1218
|
this.project = new ProjectAPI({
|
|
1290
1219
|
client: this
|
|
1291
1220
|
});
|
|
@@ -1354,7 +1283,6 @@ exports.AnalysisNodeEventAPI = AnalysisNodeEventAPI;
|
|
|
1354
1283
|
exports.AnalysisNodeLogAPI = AnalysisNodeLogAPI;
|
|
1355
1284
|
exports.AnalysisPermissionAPI = AnalysisPermissionAPI;
|
|
1356
1285
|
exports.Client = Client;
|
|
1357
|
-
exports.EventAPI = EventAPI;
|
|
1358
1286
|
exports.MasterImageAPI = MasterImageAPI;
|
|
1359
1287
|
exports.MasterImageGroupAPI = MasterImageGroupAPI;
|
|
1360
1288
|
exports.NodeAPI = NodeAPI;
|