@shieldiot/ngx-pulseiot-lib 2.18.1269 → 2.18.1271

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,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[];
@@ -190,3 +190,4 @@ export * from './AIRecommendedActions';
190
190
  export * from './BatchJob';
191
191
  export * from './StixCollection';
192
192
  export * from './StixIndicator';
193
+ export * from './StixCollectionView';
@@ -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
- * 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).
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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shieldiot/ngx-pulseiot-lib",
3
- "version": "2.18.1269",
3
+ "version": "2.18.1271",
4
4
  "description": "Angular client library for PulseIoT backend",
5
5
  "publishConfig": {
6
6
  "access": "public"