@shieldiot/ngx-pulseiot-lib 2.18.1287 → 2.18.1294

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.
@@ -1,10 +1,10 @@
1
- import { RegulatoryViolation } from './RegulatoryViolation';
2
- import { MitreAttackCategory } from './MitreAttackCategory';
3
1
  import { BaseEntity } from './BaseEntity';
4
2
  import { InsightTypeCode } from './InsightTypeCode';
5
3
  import { InsightStatusCode } from './InsightStatusCode';
6
4
  import { SeverityTypeCode } from './SeverityTypeCode';
7
5
  import { DirectionContextCode } from './DirectionContextCode';
6
+ import { RegulatoryViolation } from './RegulatoryViolation';
7
+ import { MitreAttackCategory } from './MitreAttackCategory';
8
8
  import { ColumnDef } from './ColumnDef';
9
9
  export declare class Insight extends BaseEntity {
10
10
  accountId: string;
@@ -0,0 +1,63 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { EntitiesResponse } from '../model';
4
+ import { StixCollectionView } from '../model';
5
+ import { IntegrationTemplate } from '../model';
6
+ import { Integration } from '../model';
7
+ import { EntityResponse } from '../model';
8
+ import { ActionResponse } from '../model';
9
+ import * as i0 from "@angular/core";
10
+ export declare class SysIntegrationsService {
11
+ private config;
12
+ private rest;
13
+ private baseUrl;
14
+ constructor(config: AppConfig, rest: RestUtils);
15
+ /**
16
+ * Create new integration configuration
17
+ */
18
+ create(body?: Integration): import("rxjs").Observable<EntityResponse<Integration>>;
19
+ /**
20
+ * Update existing integration configuration
21
+ */
22
+ update(body?: Integration): import("rxjs").Observable<EntityResponse<Integration>>;
23
+ /**
24
+ * Delete integration configuration
25
+ */
26
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
27
+ /**
28
+ * Get a single Integration by id
29
+ */
30
+ get(id?: string): import("rxjs").Observable<EntityResponse<Integration>>;
31
+ /**
32
+ * Find integrations by query
33
+ */
34
+ find(accountId?: string, streamId?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Integration>>;
35
+ /**
36
+ * Validate format of the templates in the fields
37
+ */
38
+ validate(body?: Integration): import("rxjs").Observable<EntityResponse<Integration>>;
39
+ /**
40
+ * Test the integration with pseudo data
41
+ */
42
+ test(body?: Integration): import("rxjs").Observable<EntityResponse<Integration>>;
43
+ /**
44
+ * Mint or rotate the system STIX/TAXII bearer token. The raw token is returned
45
+ * exactly once; only its bcrypt hash is persisted, so the caller MUST capture
46
+ * it immediately.
47
+ */
48
+ rotateToken(): import("rxjs").Observable<ActionResponse>;
49
+ /**
50
+ * Get the system STIX/TAXII collection view, including the firewall-polling URL.
51
+ */
52
+ getCollection(): import("rxjs").Observable<EntityResponse<StixCollectionView>>;
53
+ /**
54
+ * Find available integration templates.
55
+ */
56
+ findTemplates(search?: string, trigger?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<IntegrationTemplate>>;
57
+ /**
58
+ * Get a single integration template by id.
59
+ */
60
+ getTemplate(id?: string): import("rxjs").Observable<EntityResponse<IntegrationTemplate>>;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<SysIntegrationsService, never>;
62
+ static ɵprov: i0.ɵɵInjectableDeclaration<SysIntegrationsService>;
63
+ }
@@ -35,3 +35,4 @@ export * from './TaxiiDiscoveryService';
35
35
  export * from './TaxiiManifestService';
36
36
  export * from './TaxiiCollectionsService';
37
37
  export * from './TaxiiObjectsService';
38
+ export * from './SysIntegrationsService';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shieldiot/ngx-pulseiot-lib",
3
- "version": "2.18.1287",
3
+ "version": "2.18.1294",
4
4
  "description": "Angular client library for PulseIoT backend",
5
5
  "publishConfig": {
6
6
  "access": "public"