@shieldiot/ngx-pulseiot-lib 2.18.1269 → 2.18.1270
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/esm2022/lib/model/IntegrationTemplate.mjs +2 -1
- package/esm2022/lib/model/IntegrationTriggerCode.mjs +2 -6
- package/esm2022/lib/model/StixCollectionView.mjs +21 -0
- package/esm2022/lib/model/index.mjs +2 -1
- package/esm2022/lib/services/UsrIntegrationsService.mjs +14 -4
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs +35 -9
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs.map +1 -1
- package/lib/model/IntegrationTemplate.d.ts +3 -1
- package/lib/model/IntegrationTriggerCode.d.ts +1 -2
- package/lib/model/StixCollectionView.d.ts +11 -0
- package/lib/model/index.d.ts +1 -0
- package/lib/services/UsrIntegrationsService.d.ts +12 -3
- package/package.json +1 -1
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { BaseEntity } from './BaseEntity';
|
|
2
|
+
import { IntegrationTypeCode } from './IntegrationTypeCode';
|
|
1
3
|
import { IntegrationTriggerCode } from './IntegrationTriggerCode';
|
|
2
4
|
import { TemplateParameter } from './TemplateParameter';
|
|
3
5
|
import { TemplateStep } from './TemplateStep';
|
|
4
|
-
import { BaseEntity } from './BaseEntity';
|
|
5
6
|
import { ColumnDef } from './ColumnDef';
|
|
6
7
|
export declare class IntegrationTemplate extends BaseEntity {
|
|
7
8
|
name: string;
|
|
8
9
|
vendor: string;
|
|
10
|
+
type: IntegrationTypeCode;
|
|
9
11
|
trigger: IntegrationTriggerCode;
|
|
10
12
|
description: string;
|
|
11
13
|
parameters: TemplateParameter[];
|
|
@@ -2,8 +2,7 @@ import { Tuple } from '.';
|
|
|
2
2
|
export declare enum IntegrationTriggerCode {
|
|
3
3
|
UNDEFINED = 0,
|
|
4
4
|
EVENT = 1,
|
|
5
|
-
ACTION = 2
|
|
6
|
-
COLLECTION = 3
|
|
5
|
+
ACTION = 2
|
|
7
6
|
}
|
|
8
7
|
export declare function GetIntegrationTriggerCodes(): Tuple<IntegrationTriggerCode, string>[];
|
|
9
8
|
export declare function MapIntegrationTriggerCodes(): Map<IntegrationTriggerCode, string>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseEntity } from './BaseEntity';
|
|
2
|
+
import { ColumnDef } from './ColumnDef';
|
|
3
|
+
export declare class StixCollectionView extends BaseEntity {
|
|
4
|
+
accountId: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
mediaTypes: string[];
|
|
8
|
+
apiRoot: string;
|
|
9
|
+
publicUrl: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function GetStixCollectionViewColumnsDef(): ColumnDef[];
|
package/lib/model/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { Integration } from '../model';
|
|
|
4
4
|
import { EntityResponse } from '../model';
|
|
5
5
|
import { ActionResponse } from '../model';
|
|
6
6
|
import { EntitiesResponse } from '../model';
|
|
7
|
+
import { StixCollectionView } from '../model';
|
|
7
8
|
import { IntegrationTemplate } from '../model';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class UsrIntegrationsService {
|
|
@@ -41,11 +42,19 @@ export declare class UsrIntegrationsService {
|
|
|
41
42
|
*/
|
|
42
43
|
test(body?: Integration): import("rxjs").Observable<EntityResponse<Integration>>;
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* is
|
|
45
|
+
* Issues a bearer token for the STIX/TAXII collection. Call once after
|
|
46
|
+
* provisioning to mint the initial token; call again to rotate. The raw
|
|
47
|
+
* token is returned only in this response; only its bcrypt hash is
|
|
48
|
+
* persisted, so the caller MUST capture it immediately.
|
|
47
49
|
*/
|
|
48
50
|
rotateToken(id?: string): import("rxjs").Observable<object>;
|
|
51
|
+
/**
|
|
52
|
+
* Get the StixCollection metadata associated with a STIX/TAXII integration.
|
|
53
|
+
* Used by the UI to display the firewall-polling URL and collection details
|
|
54
|
+
* alongside the integration form. Returns 404 if the integration is not of
|
|
55
|
+
* type STIX_TAXII or has no associated collection.
|
|
56
|
+
*/
|
|
57
|
+
getCollection(id?: string): import("rxjs").Observable<EntityResponse<StixCollectionView>>;
|
|
49
58
|
/**
|
|
50
59
|
* Find available integration templates (read-only for users).
|
|
51
60
|
*/
|