@fairandsmart/consents-ce 3.1.2 → 3.1.4
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/consents/interfaces.d.ts +2 -0
- package/package.json +1 -1
- package/records/api.d.ts +1 -0
- package/records/api.js +10 -1
- package/records/interfaces.d.ts +3 -0
package/consents/interfaces.d.ts
CHANGED
|
@@ -78,6 +78,8 @@ export interface ConsentContext {
|
|
|
78
78
|
sendInvitation?: boolean;
|
|
79
79
|
/** used to tell where consent can be managed if needed */
|
|
80
80
|
managementUrl?: string;
|
|
81
|
+
/** Delay before redirecting the user to the callback URL (in milliseconds). */
|
|
82
|
+
callbackTriggerDelay?: number;
|
|
81
83
|
}
|
|
82
84
|
export interface ConsentTransaction {
|
|
83
85
|
id: string;
|
package/package.json
CHANGED
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;
|
package/records/interfaces.d.ts
CHANGED
|
@@ -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;
|