@houlak/plexo-sdk 1.0.24 → 1.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.
package/lib/lib/logger.lib.d.ts
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
declare const logger: import("pino").Logger<
|
|
1
|
+
declare const logger: import("pino").Logger<{
|
|
2
|
+
level: string;
|
|
3
|
+
base: null;
|
|
4
|
+
nestedKey: string;
|
|
5
|
+
transport: any;
|
|
6
|
+
serializers: {
|
|
7
|
+
data: (data: any | Error) => any;
|
|
8
|
+
};
|
|
9
|
+
}>;
|
|
2
10
|
export default logger;
|
|
@@ -13,5 +13,5 @@ export declare class Authorization extends AuthorizationInfo {
|
|
|
13
13
|
optionalMetadata?: string;
|
|
14
14
|
promotionInfoIssuers?: Record<string, string>;
|
|
15
15
|
extendableInstrumentToken?: string;
|
|
16
|
-
constructor(action: ActionType, redirectUri: string, limitIssuers: string[], optionalCommerceId: number, type: AuthorizationType, metaReference: string, webFormSettings: WebFormSettings);
|
|
16
|
+
constructor(action: ActionType, redirectUri: string, limitIssuers: string[], optionalCommerceId: number, type: AuthorizationType, metaReference: string, webFormSettings: WebFormSettings, uniqueIDInformation?: boolean);
|
|
17
17
|
}
|
|
@@ -19,8 +19,8 @@ exports.Authorization = void 0;
|
|
|
19
19
|
var AuthorizationInfo_1 = require("./AuthorizationInfo");
|
|
20
20
|
var Authorization = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Authorization, _super);
|
|
22
|
-
function Authorization(action, redirectUri, limitIssuers, optionalCommerceId, type, metaReference, webFormSettings) {
|
|
23
|
-
var _this = _super.call(this, type, metaReference) || this;
|
|
22
|
+
function Authorization(action, redirectUri, limitIssuers, optionalCommerceId, type, metaReference, webFormSettings, uniqueIDInformation) {
|
|
23
|
+
var _this = _super.call(this, type, metaReference, uniqueIDInformation) || this;
|
|
24
24
|
_this.action = action;
|
|
25
25
|
_this.redirectUri = redirectUri;
|
|
26
26
|
_this.limitIssuers = limitIssuers;
|
|
@@ -2,5 +2,6 @@ import { AuthorizationType } from './AuthorizationType';
|
|
|
2
2
|
export declare class AuthorizationInfo {
|
|
3
3
|
type: AuthorizationType;
|
|
4
4
|
metaReference: string;
|
|
5
|
-
|
|
5
|
+
uniqueIDInformation?: boolean;
|
|
6
|
+
constructor(type: AuthorizationType, metaReference: string, uniqueIDInformation?: boolean);
|
|
6
7
|
}
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AuthorizationInfo = void 0;
|
|
4
4
|
var AuthorizationInfo = /** @class */ (function () {
|
|
5
|
-
function AuthorizationInfo(type, metaReference) {
|
|
5
|
+
function AuthorizationInfo(type, metaReference, uniqueIDInformation) {
|
|
6
6
|
this.type = type;
|
|
7
7
|
this.metaReference = metaReference;
|
|
8
|
+
this.uniqueIDInformation = uniqueIDInformation;
|
|
8
9
|
}
|
|
9
10
|
return AuthorizationInfo;
|
|
10
11
|
}());
|
package/lib/utils/case.util.js
CHANGED
|
@@ -8,6 +8,8 @@ var specialWords = [
|
|
|
8
8
|
{ word: 'UtcunixTimeExpiration', substitute: 'UTCUnixTimeExpiration' },
|
|
9
9
|
{ word: 'VatAmount', substitute: 'VATAmount' },
|
|
10
10
|
{ word: 'InstrumentExpirationUtc', substitute: 'InstrumentExpirationUTC' },
|
|
11
|
+
{ word: 'UniqueIdinformation', substitute: 'UniqueIDInformation' },
|
|
12
|
+
{ word: 'UniqueIdInformation', substitute: 'UniqueIDInformation' },
|
|
11
13
|
{ word: 'Mcc', substitute: 'MCC' },
|
|
12
14
|
{ word: 'CommerceRut', substitute: 'CommerceRUT' },
|
|
13
15
|
{ word: 'Ui', substitute: 'UI' },
|
|
@@ -20,6 +22,14 @@ var camelCaseSpecialWords = [
|
|
|
20
22
|
word: 'instrumentExpirationUtc',
|
|
21
23
|
substitute: 'instrumentExpirationUTC',
|
|
22
24
|
},
|
|
25
|
+
{
|
|
26
|
+
word: 'uniqueIdInformation',
|
|
27
|
+
substitute: 'uniqueIDInformation',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
word: 'uniqueIdinformation',
|
|
31
|
+
substitute: 'uniqueIDInformation',
|
|
32
|
+
},
|
|
23
33
|
];
|
|
24
34
|
var toCamelKeys = function (object) {
|
|
25
35
|
var parsedObject = (0, js_convert_case_1.camelKeys)(object, { recursive: true, recursiveInArray: true });
|