@fairandsmart/consents-ce 3.1.2 → 3.1.3

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.2",
3
+ "version": "3.1.3",
4
4
  "description": "TypeScript mappings for the Fair&Smart's Right Consents Community features",
5
5
  "sideEffects": false,
6
6
  "scripts": {},
package/records/api.d.ts CHANGED
@@ -8,3 +8,4 @@ export declare function extractRecordsCsv(filter: ExtractionFilter, options?: RC
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
10
  export declare function listEntryRecords(filter: EntryRecordFilter, options?: RCApiOptions): Observable<CollectionPage<EntryRecord>>;
11
+ export declare function listRecordHistory(filter: RecordFilter, options?: RCApiOptions): Observable<RecordDto[]>;
package/records/api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.listEntryRecords = exports.exportRecordsCsv = exports.exportRecords = exports.extractRecordsCsv = exports.extractRecords = exports.listRecords = void 0;
3
+ exports.listRecordHistory = 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({
@@ -64,3 +64,12 @@ function listEntryRecords(filter, options) {
64
64
  });
65
65
  }
66
66
  exports.listEntryRecords = listEntryRecords;
67
+ function listRecordHistory(filter, options) {
68
+ return api_1.RightConsents.http({
69
+ method: 'GET',
70
+ url: "".concat(api_1.RightConsents.config.apiRoot, "/records/history"),
71
+ params: filter,
72
+ options: options
73
+ });
74
+ }
75
+ exports.listRecordHistory = listRecordHistory;
@@ -64,9 +64,12 @@ export interface EntryRecord {
64
64
  export interface EntryRecordFilter {
65
65
  subject: string;
66
66
  type: string;
67
+ status?: string;
67
68
  page?: number;
68
69
  size?: number;
69
70
  recordsOnly?: boolean;
71
+ order?: string;
72
+ direction?: SortDirection;
70
73
  }
71
74
  export interface OperatorLogElement {
72
75
  type: string;