@konplit-services/common 1.0.235 → 1.0.237
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/build/helper/keys.js
CHANGED
|
@@ -150,7 +150,7 @@ exports.authData = authData;
|
|
|
150
150
|
const generateOrderId = () => {
|
|
151
151
|
const yyyymm = (0, timestamp_1.getYearMonth)();
|
|
152
152
|
const nanoid = (0, nanoid_1.customAlphabet)("0123456789", 24);
|
|
153
|
-
return `${yyyymm}${nanoid}`;
|
|
153
|
+
return `${yyyymm}${nanoid()}`;
|
|
154
154
|
};
|
|
155
155
|
exports.generateOrderId = generateOrderId;
|
|
156
156
|
/**
|
|
@@ -52,11 +52,12 @@ export interface ApprovalUrl {
|
|
|
52
52
|
active: boolean;
|
|
53
53
|
}
|
|
54
54
|
export declare enum RejectActions {
|
|
55
|
-
blackList = "blackList"
|
|
55
|
+
blackList = "blackList",
|
|
56
|
+
nothing = "nothing"
|
|
56
57
|
}
|
|
57
58
|
export interface Transfer {
|
|
58
59
|
approvalUrl: ApprovalUrl[];
|
|
59
60
|
notification: NotificationType[];
|
|
60
|
-
onReject: RejectActions
|
|
61
|
+
onReject: RejectActions;
|
|
61
62
|
otp: NotificationType[];
|
|
62
63
|
}
|