@chevre/domain 23.1.0-alpha.11 → 23.1.0-alpha.12
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.
|
@@ -47,26 +47,9 @@ function verifyTicketTokenAsNeeded(params) {
|
|
|
47
47
|
}
|
|
48
48
|
if (authorizedObject.typeOf === 'OwnershipInfo') {
|
|
49
49
|
const { typeOfGood } = authorizedObject;
|
|
50
|
-
if (typeOfGood.typeOf === factory.permit.PermitType.Permit
|
|
50
|
+
if (typeOfGood.typeOf === factory.permit.PermitType.Permit) {
|
|
51
51
|
// discontinue(2025-11-14~)
|
|
52
52
|
throw new factory.errors.Argument('ticketToken', `typeOfGood.typeOf ${typeOfGood.typeOf} discontinued`);
|
|
53
|
-
// if (typeOfGood.issuedThrough?.typeOf !== paymentServiceType) {
|
|
54
|
-
// throw new factory.errors.Argument('ticketToken', 'paymentServiceType not matched');
|
|
55
|
-
// }
|
|
56
|
-
// // FaceToFace以外の場合、発行サービスIDを検証
|
|
57
|
-
// if (typeOfGood.issuedThrough.typeOf !== factory.service.paymentService.PaymentServiceType.FaceToFace) {
|
|
58
|
-
// if (typeOfGood.issuedThrough.id !== issuedThrough.id) {
|
|
59
|
-
// throw new factory.errors.Argument('ticketToken', 'issuedThrough.id not matched');
|
|
60
|
-
// }
|
|
61
|
-
// }
|
|
62
|
-
// if (typeOfGood.typeOf === factory.permit.PermitType.Permit) {
|
|
63
|
-
// permitOrInvoice = { identifier: typeOfGood.identifier, typeOf: factory.permit.PermitType.Permit };
|
|
64
|
-
// } else if (typeOfGood.typeOf === 'Invoice') {
|
|
65
|
-
// // support paymentServiceType.MovieTicket(2024-11-23~)
|
|
66
|
-
// permitOrInvoice = { paymentMethodId: typeOfGood.paymentMethodId, typeOf: 'Invoice' };
|
|
67
|
-
// } else {
|
|
68
|
-
// throw new factory.errors.Argument('ticketToken', 'must be Permit or Invoice');
|
|
69
|
-
// }
|
|
70
53
|
}
|
|
71
54
|
else if (typeOfGood.typeOf === factory.service.paymentService.PaymentServiceType.CreditCard
|
|
72
55
|
|| typeOfGood.typeOf === factory.service.paymentService.PaymentServiceType.MovieTicket
|
package/package.json
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@aws-sdk/client-cognito-identity-provider": "3.600.0",
|
|
13
13
|
"@aws-sdk/credential-providers": "3.600.0",
|
|
14
|
-
"@chevre/factory": "5.2.0
|
|
15
|
-
"@cinerino/sdk": "12.8.0
|
|
14
|
+
"@chevre/factory": "5.2.0",
|
|
15
|
+
"@cinerino/sdk": "12.8.0",
|
|
16
16
|
"@motionpicture/coa-service": "9.6.0",
|
|
17
17
|
"@motionpicture/gmo-service": "5.4.0-alpha.1",
|
|
18
18
|
"@sendgrid/client": "8.1.4",
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"postversion": "git push origin --tags",
|
|
116
116
|
"prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
|
|
117
117
|
},
|
|
118
|
-
"version": "23.1.0-alpha.
|
|
118
|
+
"version": "23.1.0-alpha.12"
|
|
119
119
|
}
|