@fairandsmart/consents-ce 3.1.0 → 3.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairandsmart/consents-ce",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "TypeScript mappings for the Fair&Smart's Right Consents Community features",
5
5
  "sideEffects": false,
6
6
  "scripts": {},
@@ -45,6 +45,7 @@
45
45
  "./subjects": "./subjects/index.js",
46
46
  "./system": "./system/index.js",
47
47
  "./tokens": "./tokens/index.js",
48
- "./users": "./users/index.js"
48
+ "./users": "./users/index.js",
49
+ "./transactions": "./transactions/index.js"
49
50
  }
50
51
  }
package/records/api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
- import { ExtractionFilter, ExtractionResultDto, RecordFilter, RecordsMap, RecordDto } from './interfaces';
2
+ import { ExtractionFilter, ExtractionResultDto, RecordFilter, RecordsMap, RecordDto, EntryRecord, EntryRecordFilter } from './interfaces';
3
3
  import { RCApiOptions } from '../http';
4
4
  import { CollectionPage } from '../common';
5
5
  export declare function listRecords(filter: RecordFilter, options?: RCApiOptions): Observable<RecordsMap>;
@@ -7,3 +7,4 @@ export declare function extractRecords(filter: ExtractionFilter, options?: RCApi
7
7
  export declare function extractRecordsCsv(filter: ExtractionFilter, options?: RCApiOptions): Observable<string>;
8
8
  export declare function exportRecords(filter: RecordFilter, options?: RCApiOptions): Observable<CollectionPage<RecordDto>>;
9
9
  export declare function exportRecordsCsv(filter: ExtractionFilter, options?: RCApiOptions): Observable<string>;
10
+ export declare function listEntryRecords(filter: EntryRecordFilter, options?: RCApiOptions): Observable<CollectionPage<EntryRecord>>;
package/records/api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.exportRecordsCsv = exports.exportRecords = exports.extractRecordsCsv = exports.extractRecords = exports.listRecords = void 0;
3
+ exports.listEntryRecords = exports.exportRecordsCsv = exports.exportRecords = exports.extractRecordsCsv = exports.extractRecords = exports.listRecords = void 0;
4
4
  var api_1 = require("../api");
5
5
  function listRecords(filter, options) {
6
6
  return api_1.RightConsents.http({
@@ -55,3 +55,12 @@ function exportRecordsCsv(filter, options) {
55
55
  });
56
56
  }
57
57
  exports.exportRecordsCsv = exportRecordsCsv;
58
+ function listEntryRecords(filter, options) {
59
+ return api_1.RightConsents.http({
60
+ method: 'GET',
61
+ url: "".concat(api_1.RightConsents.config.apiRoot, "/records/entryrecords"),
62
+ params: filter,
63
+ options: options
64
+ });
65
+ }
66
+ exports.listEntryRecords = listEntryRecords;
@@ -61,6 +61,13 @@ export interface EntryRecord {
61
61
  active: boolean;
62
62
  versionIndex: number;
63
63
  }
64
+ export interface EntryRecordFilter {
65
+ subject: string;
66
+ type: string;
67
+ page?: number;
68
+ size?: number;
69
+ recordsOnly?: boolean;
70
+ }
64
71
  export interface OperatorLogElement {
65
72
  type: string;
66
73
  key: string;
@@ -74,6 +81,7 @@ export declare enum ExtractionConfigOperator {
74
81
  export interface ExtractionConfigCondition {
75
82
  type: ModelDataType;
76
83
  key: string;
84
+ serial: string;
77
85
  value: string;
78
86
  regexpValue: boolean;
79
87
  }