@shieldiot/ngx-pulseiot-lib 2.18.1263 → 2.18.1267

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.
@@ -0,0 +1,12 @@
1
+ import { BaseEntity } from './BaseEntity';
2
+ import { ColumnDef } from './ColumnDef';
3
+ export declare class StixCollection extends BaseEntity {
4
+ accountId: string;
5
+ title: string;
6
+ description: string;
7
+ mediaTypes: string[];
8
+ bearerTokenHash: string;
9
+ tokenPrefix: string;
10
+ apiRoot: string;
11
+ }
12
+ export declare function GetStixCollectionColumnsDef(): ColumnDef[];
@@ -0,0 +1,22 @@
1
+ import { BaseEntity } from './BaseEntity';
2
+ import { ColumnDef } from './ColumnDef';
3
+ export declare class StixIndicator extends BaseEntity {
4
+ accountId: string;
5
+ collectionId: string;
6
+ ipValue: string;
7
+ ipVersion: number;
8
+ pattern: string;
9
+ sourceEventId: string;
10
+ sourceDeviceId: string;
11
+ dateAdded: number;
12
+ modified: number;
13
+ validFrom: number;
14
+ validUntil: number;
15
+ revoked: boolean;
16
+ revokedAt: number;
17
+ version: number;
18
+ name: string;
19
+ description: string;
20
+ indicatorTypes: string;
21
+ }
22
+ export declare function GetStixIndicatorColumnsDef(): ColumnDef[];
@@ -188,3 +188,5 @@ export * from './AIRecommendedActions';
188
188
  export * from './BatchItem';
189
189
  export * from './AIRecommendedActions';
190
190
  export * from './BatchJob';
191
+ export * from './StixCollection';
192
+ export * from './StixIndicator';
@@ -0,0 +1,16 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ConfigService {
5
+ private config;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(config: AppConfig, rest: RestUtils);
9
+ /**
10
+ * getLogoImage returns the telco logo image as PNG
11
+ * Fallback logic: TELCO_LOGO -> TELCO_LOGO_DARK -> default system logo
12
+ */
13
+ getLogoImage(): import("rxjs").Observable<Blob>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
16
+ }
@@ -0,0 +1,15 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TaxiiApiRootService {
5
+ private config;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(config: AppConfig, rest: RestUtils);
9
+ /**
10
+ * apiRoot returns the TAXII 2.1 API Root information resource.
11
+ */
12
+ apiRoot(): import("rxjs").Observable<object>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaxiiApiRootService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<TaxiiApiRootService>;
15
+ }
@@ -0,0 +1,19 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TaxiiCollectionsService {
5
+ private config;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(config: AppConfig, rest: RestUtils);
9
+ /**
10
+ * list returns all collections visible to the authenticated caller (one in v1).
11
+ */
12
+ list(): import("rxjs").Observable<object>;
13
+ /**
14
+ * get returns the metadata for a single collection identified by id.
15
+ */
16
+ get(id?: string): import("rxjs").Observable<object>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaxiiCollectionsService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<TaxiiCollectionsService>;
19
+ }
@@ -0,0 +1,15 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TaxiiDiscoveryService {
5
+ private config;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(config: AppConfig, rest: RestUtils);
9
+ /**
10
+ * discovery returns the TAXII 2.1 Discovery resource.
11
+ */
12
+ discovery(): import("rxjs").Observable<object>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaxiiDiscoveryService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<TaxiiDiscoveryService>;
15
+ }
@@ -0,0 +1,17 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TaxiiManifestService {
5
+ private config;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(config: AppConfig, rest: RestUtils);
9
+ /**
10
+ * list returns the TAXII 2.1 manifest envelope for the indicators in this
11
+ * collection that match the given `added_after`, `limit`, `next`, and
12
+ * `match[*]` filters.
13
+ */
14
+ list(id?: string, added_after?: string, limit?: number, next?: string): import("rxjs").Observable<object>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaxiiManifestService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<TaxiiManifestService>;
17
+ }
@@ -0,0 +1,20 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TaxiiObjectsService {
5
+ private config;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(config: AppConfig, rest: RestUtils);
9
+ /**
10
+ * list returns a TAXII 2.1 envelope of STIX indicators added or modified
11
+ * after the given `added_after` timestamp, paginated via `limit` + `next`.
12
+ */
13
+ list(id?: string, added_after?: string, limit?: number, next?: string, matchType?: string, matchId?: string, matchSpecVersion?: string): import("rxjs").Observable<object>;
14
+ /**
15
+ * get returns a single STIX object by id.
16
+ */
17
+ get(id?: string, objectId?: string): import("rxjs").Observable<object>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaxiiObjectsService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<TaxiiObjectsService>;
20
+ }
@@ -40,6 +40,12 @@ export declare class UsrIntegrationsService {
40
40
  * Test the integration with pseudo data
41
41
  */
42
42
  test(body?: Integration): import("rxjs").Observable<EntityResponse<Integration>>;
43
+ /**
44
+ * Rotate the bearer token for a STIX/TAXII integration. Returns the new raw
45
+ * token in the response — the caller MUST capture it immediately because it
46
+ * is never re-readable from the server (only the bcrypt hash is stored).
47
+ */
48
+ rotateToken(id?: string): import("rxjs").Observable<object>;
43
49
  /**
44
50
  * Find available integration templates (read-only for users).
45
51
  */
@@ -29,3 +29,9 @@ export * from './SysIntegrationTemplatesService';
29
29
  export * from './SysUsersService';
30
30
  export * from './UsrReportsInstanceService';
31
31
  export * from './UsrAiExplainService';
32
+ export * from './ConfigService';
33
+ export * from './TaxiiApiRootService';
34
+ export * from './TaxiiDiscoveryService';
35
+ export * from './TaxiiManifestService';
36
+ export * from './TaxiiCollectionsService';
37
+ export * from './TaxiiObjectsService';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shieldiot/ngx-pulseiot-lib",
3
- "version": "2.18.1263",
3
+ "version": "2.18.1267",
4
4
  "description": "Angular client library for PulseIoT backend",
5
5
  "publishConfig": {
6
6
  "access": "public"