@chevre/domain 20.1.0-alpha.46 → 20.1.0-alpha.48
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.
|
@@ -160,7 +160,7 @@ function cancelReservation(actionAttributesList) {
|
|
|
160
160
|
limit: 1,
|
|
161
161
|
page: 1,
|
|
162
162
|
typeOf: factory.assetTransactionType.Reserve,
|
|
163
|
-
|
|
163
|
+
transactionNumber: { $eq: actionAttributes.object.reservationNumber }
|
|
164
164
|
});
|
|
165
165
|
const reserveTransaction = reserveTransactions.shift();
|
|
166
166
|
if (reserveTransaction === undefined) {
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NUM_TRY_INFORM_RESERVATION = exports.maskUnderName = void 0;
|
|
4
|
-
const reservedAgentIdentifireNames_1 = require("../../factory/reservedAgentIdentifireNames");
|
|
5
4
|
const MASKED_PROFILE = '****';
|
|
6
5
|
function maskUnderName(reservation) {
|
|
7
|
-
var _a, _b, _c;
|
|
8
6
|
// 予約後を隠蔽(2022-12-24~)
|
|
9
|
-
const underNameIdentifiers
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
// const underNameIdentifiers: factory.propertyValue.IPropertyValue<string>[] | undefined =
|
|
8
|
+
// (Array.isArray(reservation.underName?.identifier))
|
|
9
|
+
// ? reservation.underName?.identifier.filter((p) => {
|
|
10
|
+
// return !RESERVED_AGENT_IDENTIFIER_NAMES.includes(p.name);
|
|
11
|
+
// })
|
|
12
|
+
// : undefined;
|
|
13
|
+
var _a;
|
|
14
|
+
const underName = (typeof ((_a = reservation.underName) === null || _a === void 0 ? void 0 : _a.typeOf) === 'string')
|
|
15
|
+
? Object.assign(Object.assign({}, reservation.underName), { email: MASKED_PROFILE, telephone: MASKED_PROFILE, name: MASKED_PROFILE, familyName: MASKED_PROFILE, givenName: MASKED_PROFILE,
|
|
16
|
+
// ... (Array.isArray(underNameIdentifiers)) ? { identifier: underNameIdentifiers } : undefined,
|
|
17
|
+
// identifierも隠蔽(2022-12-27~)
|
|
18
|
+
identifier: [] }) : undefined;
|
|
16
19
|
return Object.assign(Object.assign({}, reservation), (underName !== undefined) ? { underName } : undefined);
|
|
17
20
|
}
|
|
18
21
|
exports.maskUnderName = maskUnderName;
|
package/package.json
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@chevre/factory": "4.280.0-alpha.
|
|
13
|
-
"@cinerino/sdk": "3.135.0-alpha.
|
|
12
|
+
"@chevre/factory": "4.280.0-alpha.11",
|
|
13
|
+
"@cinerino/sdk": "3.135.0-alpha.6",
|
|
14
14
|
"@motionpicture/coa-service": "9.2.0",
|
|
15
15
|
"@motionpicture/gmo-service": "5.2.0",
|
|
16
16
|
"@sendgrid/mail": "6.4.0",
|
|
@@ -120,5 +120,5 @@
|
|
|
120
120
|
"postversion": "git push origin --tags",
|
|
121
121
|
"prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
|
|
122
122
|
},
|
|
123
|
-
"version": "20.1.0-alpha.
|
|
123
|
+
"version": "20.1.0-alpha.48"
|
|
124
124
|
}
|