@shieldiot/ngx-pulseiot-lib 2.18.1286 → 2.18.1287
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/Integration.mjs +2 -1
- package/esm2022/lib/model/IntegrationTemplate.mjs +2 -1
- package/esm2022/lib/services/SysIntegrationTemplatesService.mjs +5 -2
- package/esm2022/lib/services/UsrIntegrationsService.mjs +1 -19
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs +6 -19
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs.map +1 -1
- package/lib/model/Integration.d.ts +3 -2
- package/lib/model/IntegrationTemplate.d.ts +3 -2
- package/lib/services/SysIntegrationTemplatesService.d.ts +1 -1
- package/lib/services/UsrIntegrationsService.d.ts +1 -16
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { IntegrationTypeCode } from './IntegrationTypeCode';
|
|
2
|
+
import { IntegrationTriggerCode } from './IntegrationTriggerCode';
|
|
1
3
|
import { HttpMethodCode } from './HttpMethodCode';
|
|
2
4
|
import { Tuple } from './Tuple';
|
|
3
5
|
import { EventTypeCode } from './EventTypeCode';
|
|
4
6
|
import { SeverityTypeCode } from './SeverityTypeCode';
|
|
5
7
|
import { DeviceActionCode } from './DeviceActionCode';
|
|
6
8
|
import { BaseEntity } from './BaseEntity';
|
|
7
|
-
import { IntegrationTypeCode } from './IntegrationTypeCode';
|
|
8
|
-
import { IntegrationTriggerCode } from './IntegrationTriggerCode';
|
|
9
9
|
import { ColumnDef } from './ColumnDef';
|
|
10
10
|
export declare class Integration extends BaseEntity {
|
|
11
11
|
accountId: string;
|
|
@@ -32,5 +32,6 @@ export declare class Integration extends BaseEntity {
|
|
|
32
32
|
templateId: string;
|
|
33
33
|
parameterValues: any;
|
|
34
34
|
collectionId: string;
|
|
35
|
+
isSystem: boolean;
|
|
35
36
|
}
|
|
36
37
|
export declare function GetIntegrationColumnsDef(): ColumnDef[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseEntity } from './BaseEntity';
|
|
2
|
-
import { IntegrationTypeCode } from './IntegrationTypeCode';
|
|
3
1
|
import { IntegrationTriggerCode } from './IntegrationTriggerCode';
|
|
4
2
|
import { TemplateParameter } from './TemplateParameter';
|
|
5
3
|
import { TemplateStep } from './TemplateStep';
|
|
4
|
+
import { BaseEntity } from './BaseEntity';
|
|
5
|
+
import { IntegrationTypeCode } from './IntegrationTypeCode';
|
|
6
6
|
import { ColumnDef } from './ColumnDef';
|
|
7
7
|
export declare class IntegrationTemplate extends BaseEntity {
|
|
8
8
|
name: string;
|
|
@@ -17,5 +17,6 @@ export declare class IntegrationTemplate extends BaseEntity {
|
|
|
17
17
|
logo: string;
|
|
18
18
|
favicon: string;
|
|
19
19
|
singleton: boolean;
|
|
20
|
+
isSystem: boolean;
|
|
20
21
|
}
|
|
21
22
|
export declare function GetIntegrationTemplateColumnsDef(): ColumnDef[];
|
|
@@ -29,7 +29,7 @@ export declare class SysIntegrationTemplatesService {
|
|
|
29
29
|
/**
|
|
30
30
|
* Find integration templates by query.
|
|
31
31
|
*/
|
|
32
|
-
find(search?: string, trigger?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<IntegrationTemplate>>;
|
|
32
|
+
find(search?: string, trigger?: number, isSystem?: boolean, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<IntegrationTemplate>>;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<SysIntegrationTemplatesService, never>;
|
|
34
34
|
static ɵprov: i0.ɵɵInjectableDeclaration<SysIntegrationTemplatesService>;
|
|
35
35
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import { Integration } from '../model';
|
|
4
3
|
import { EntityResponse } from '../model';
|
|
5
4
|
import { ActionResponse } from '../model';
|
|
6
5
|
import { EntitiesResponse } from '../model';
|
|
7
|
-
import { StixCollectionView } from '../model';
|
|
8
6
|
import { IntegrationTemplate } from '../model';
|
|
7
|
+
import { Integration } from '../model';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class UsrIntegrationsService {
|
|
11
10
|
private config;
|
|
@@ -41,20 +40,6 @@ export declare class UsrIntegrationsService {
|
|
|
41
40
|
* Test the integration with pseudo data
|
|
42
41
|
*/
|
|
43
42
|
test(body?: Integration): import("rxjs").Observable<EntityResponse<Integration>>;
|
|
44
|
-
/**
|
|
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.
|
|
49
|
-
*/
|
|
50
|
-
rotateToken(id?: string): import("rxjs").Observable<ActionResponse>;
|
|
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>>;
|
|
58
43
|
/**
|
|
59
44
|
* Find available integration templates (read-only for users).
|
|
60
45
|
*/
|