@fairandsmart/consents-ce 2.0.24 → 2.0.26

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.
@@ -193,6 +193,7 @@ export interface FormLayout extends ModelData {
193
193
  cancelVisible?: boolean;
194
194
  footerOnTop?: boolean;
195
195
  iFrameResizerVersion?: string;
196
+ theme?: string;
196
197
  }
197
198
  export interface FormLayoutBloc {
198
199
  parent: FormLayoutElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairandsmart/consents-ce",
3
- "version": "2.0.24",
3
+ "version": "2.0.26",
4
4
  "description": "TypeScript mappings for the Fair&Smart's Right Consents Community features",
5
5
  "sideEffects": false,
6
6
  "scripts": {},
@@ -2,5 +2,6 @@ import { Observable } from "rxjs";
2
2
  import { ConsentContext } from "../consents/interfaces";
3
3
  import { TransactionDto, TransactionFilter } from "./interfaces";
4
4
  import { CollectionPage } from "../common";
5
- export declare function listTransactions(filter: TransactionFilter): Observable<CollectionPage<TransactionDto>>;
6
- export declare function getTransactionContext(txid: string): Observable<ConsentContext>;
5
+ import { RCApiOptions } from "../http";
6
+ export declare function listTransactions(filter: TransactionFilter, options?: RCApiOptions): Observable<CollectionPage<TransactionDto>>;
7
+ export declare function getTransactionContext(txid: string, options?: RCApiOptions): Observable<ConsentContext>;
@@ -2,24 +2,26 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getTransactionContext = exports.listTransactions = void 0;
4
4
  var api_1 = require("../api");
5
- function listTransactions(filter) {
5
+ function listTransactions(filter, options) {
6
6
  return api_1.RightConsents.http({
7
- method: 'GET',
7
+ method: 'POST',
8
8
  url: "".concat(api_1.RightConsents.config.apiRoot, "/transactions"),
9
9
  headers: {
10
10
  'Content-Type': 'application/json',
11
11
  },
12
- body: filter
12
+ body: filter,
13
+ options: options
13
14
  });
14
15
  }
15
16
  exports.listTransactions = listTransactions;
16
- function getTransactionContext(txid) {
17
+ function getTransactionContext(txid, options) {
17
18
  return api_1.RightConsents.http({
18
19
  method: 'GET',
19
20
  url: "".concat(api_1.RightConsents.config.apiRoot, "/transactions/").concat(txid, "/context"),
20
21
  headers: {
21
22
  'Content-Type': 'application/json',
22
- }
23
+ },
24
+ options: options
23
25
  });
24
26
  }
25
27
  exports.getTransactionContext = getTransactionContext;