@fairandsmart/consents-ce 2.0.5 → 2.0.6

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,4 +1,4 @@
1
- import { ConsentOrigin, FormLayout, PeerContext } from '../models';
1
+ import { ConsentOrigin, FormLayout } from '../models';
2
2
  export declare enum Confirmation {
3
3
  NONE = "NONE",
4
4
  FORM_CODE = "FORM_CODE",
@@ -75,8 +75,6 @@ export interface ConsentContext {
75
75
  notification?: string;
76
76
  /** Whether to send an invitation email upon transaction creation */
77
77
  sendInvitation?: boolean;
78
- /** The specific contexts parameters for peer transactions */
79
- peerContexts?: PeerContext[];
80
78
  }
81
79
  export interface ConsentTransaction {
82
80
  id: string;
@@ -163,18 +163,6 @@ export interface Notice extends ModelData {
163
163
  description: string;
164
164
  associatedProcessing: string[];
165
165
  }
166
- export interface PeerElements {
167
- peer: string;
168
- info?: string;
169
- elements: string[];
170
- defaultNotification?: string;
171
- connectionId?: string;
172
- }
173
- export interface PeerContext {
174
- peer: string;
175
- notification: string;
176
- theme: string;
177
- }
178
166
  export interface FormLayout extends ModelData {
179
167
  type: 'layout';
180
168
  info: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairandsmart/consents-ce",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "TypeScript mappings for the Fair&Smart's Right Consents Community features",
5
5
  "sideEffects": false,
6
6
  "scripts": {},
@@ -1,4 +1,5 @@
1
1
  import { SortDirection } from '../common';
2
+ import { ModelDataType } from '../models';
2
3
  export declare enum RecordStates {
3
4
  PENDING = "PENDING",
4
5
  COMMITTED = "COMMITTED",
@@ -66,6 +67,7 @@ export declare enum ExtractionConfigOperator {
66
67
  OR = "OR"
67
68
  }
68
69
  export interface ExtractionConfigCondition {
70
+ type: ModelDataType;
69
71
  key: string;
70
72
  value: string;
71
73
  regexpValue: boolean;
Binary file